/home/bdqbpbxa/rc-subdomains/uniferx-rc.goodface.com.ua/static/js/main.80d2262f.js
/*! For license information please see main.80d2262f.js.LICENSE.txt */
(function(){var __webpack_modules__={599:function(e,t,r){"use strict";var n=r(704).default;e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var i,a,s;if(Array.isArray(t)){if((i=t.length)!=r.length)return!1;for(a=i;0!==a--;)if(!e(t[a],r[a]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;var o,l=n(t.entries());try{for(l.s();!(o=l.n()).done;)if(a=o.value,!r.has(a[0]))return!1}catch(h){l.e(h)}finally{l.f()}var c,u=n(t.entries());try{for(u.s();!(c=u.n()).done;)if(!e((a=c.value)[1],r.get(a[0])))return!1}catch(h){u.e(h)}finally{u.f()}return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;var f,d=n(t.entries());try{for(d.s();!(f=d.n()).done;)if(a=f.value,!r.has(a[0]))return!1}catch(h){d.e(h)}finally{d.f()}return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if((i=t.length)!=r.length)return!1;for(a=i;0!==a--;)if(t[a]!==r[a])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((i=(s=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(a=i;0!==a--;)if(!Object.prototype.hasOwnProperty.call(r,s[a]))return!1;for(a=i;0!==a--;){var p=s[a];if(("_owner"!==p||!t.$$typeof)&&!e(t[p],r[p]))return!1}return!0}return t!==t&&r!==r}},110:function(e,t,r){"use strict";var n=r(309),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function l(e){return n.isMemo(e)?s:o[e.$$typeof]||i}o[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[n.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!==typeof r){if(h){var i=p(r);i&&i!==h&&e(t,i,n)}var s=u(r);f&&(s=s.concat(f(r)));for(var o=l(t),m=l(r),v=0;v<s.length;++v){var g=s[v];if(!a[g]&&(!n||!n[g])&&(!m||!m[g])&&(!o||!o[g])){var y=d(r,g);try{c(t,g,y)}catch(b){}}}}return t}},746:function(e,t){"use strict";var r="function"===typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,o=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function _(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case a:case o:case s:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case v:case m:case l:return e;default:return t}}case i:return t}}}function w(e){return _(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=a,t.Lazy=v,t.Memo=m,t.Portal=i,t.Profiler=o,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return w(e)||_(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return _(e)===d},t.isFragment=function(e){return _(e)===a},t.isLazy=function(e){return _(e)===v},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===i},t.isProfiler=function(e){return _(e)===o},t.isStrictMode=function(e){return _(e)===s},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===f||e===o||e===s||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=_},309:function(e,t,r){"use strict";e.exports=r(746)},625:function(module,exports,__webpack_require__){var factory;"undefined"!==typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,n,i=e.length;for(r=0;r<i;r+=1)for(var a in n=e[r].prototype)Object.prototype.hasOwnProperty.call(n,a)&&(t.prototype[a]=n[a])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,r=this.audios.length;for(t=0;t<r;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var r,n=0,i=[];switch(e){case"int16":case"uint8c":r=1;break;default:r=1.1}for(n=0;n<t;n+=1)i.push(r);return i}return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?function(t,r){return"float32"===t?new Float32Array(r):"int16"===t?new Int16Array(r):"uint8c"===t?new Uint8ClampedArray(r):e(t,r)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return _typeof$6="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof$6(e)&&e.length){var t,r=createSizedArray(e.length),n=e.length;for(t=0;t<n;t+=1)r[t]=Math.abs(e[t]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}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,n){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,n){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=n<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}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}var createElementID=function(){var e=0;return function(){return idPrefix$1+"__lottie_element_"+(e+=1)}}();function HSVtoRGB(e,t,r){var n,i,a,s,o,l,c,u;switch(l=r*(1-t),c=r*(1-(o=6*e-(s=Math.floor(6*e)))*t),u=r*(1-(1-o)*t),s%6){case 0:n=r,i=u,a=l;break;case 1:n=c,i=r,a=l;break;case 2:n=l,i=r,a=u;break;case 3:n=l,i=c,a=r;break;case 4:n=u,i=l,a=r;break;case 5:n=r,i=l,a=c}return[n,i,a]}function RGBtoHSV(e,t,r){var n,i=Math.max(e,t,r),a=Math.min(e,t,r),s=i-a,o=0===i?0:s/i,l=i/255;switch(i){case a:n=0;break;case e:n=t-r+s*(t<r?6:0),n/=6*s;break;case t:n=r-e+2*s,n/=6*s;break;case r:n=e-t+4*s,n/=6*s}return[n,o,l]}function addSaturationToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);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(255*e[0],255*e[1],255*e[2]);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(255*e[0],255*e[1],255*e[2]);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(e=0;e<256;e+=1)t=e.toString(16),r[e]=1===t.length?"0"+t:t;return function(e,t,n){return e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),"#"+r[e]+r[t]+r[n]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(e)}var dataManager=function(){var e,t,r=1,n=[],i={onmessage:function(){},postMessage:function(t){e({data:t})}},a={postMessage:function(e){i.onmessage({data:e})}};function s(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),n=URL.createObjectURL(r);return new Worker(n)}return e=t,i}((function(e){if(a.dataManager||(a.dataManager=function(){function e(i,a){var s,o,l,c,f,d,p=i.length;for(o=0;o<p;o+=1)if("ks"in(s=i[o])&&!s.completed){if(s.completed=!0,s.hasMask){var h=s.masksProperties;for(c=h.length,l=0;l<c;l+=1)if(h[l].pt.k.i)n(h[l].pt.k);else for(d=h[l].pt.k.length,f=0;f<d;f+=1)h[l].pt.k[f].s&&n(h[l].pt.k[f].s[0]),h[l].pt.k[f].e&&n(h[l].pt.k[f].e[0])}0===s.ty?(s.layers=t(s.refId,a),e(s.layers,a)):4===s.ty?r(s.shapes):5===s.ty&&u(s)}}function t(e,t){var r=function(e,t){for(var r=0,n=t.length;r<n;){if(t[r].id===e)return t[r];r+=1}return null}(e,t);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(e){var t,i,a;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)n(e[t].ks.k);else for(a=e[t].ks.k.length,i=0;i<a;i+=1)e[t].ks.k[i].s&&n(e[t].ks.k[i].s[0]),e[t].ks.k[i].e&&n(e[t].ks.k[i].e[0]);else"gr"===e[t].ty&&r(e[t].it)}function n(e){var t,r=e.i.length;for(t=0;t<r;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function i(e,t){var r=t?t.split("."):[100,100,100];return e[0]>r[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&null))}var a=function(){var e=[4,4,14];function t(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)5===e[r].ty&&t(e[r])}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),s=function(){var e=[4,7,99];return function(t){if(t.chars&&!i(e,t.v)){var n,a=t.chars.length;for(n=0;n<a;n+=1){var s=t.chars[n];s.data&&s.data.shapes&&(r(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}},t.chars[n].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"})))}}}}(),o=function(){var e=[5,7,15];function t(e){var t=e.t.p;"number"===typeof t.a&&(t.a={a:0,k:t.a}),"number"===typeof t.p&&(t.p={a:0,k:t.p}),"number"===typeof t.r&&(t.r={a:0,k:t.r})}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)5===e[r].ty&&t(e[r])}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),l=function(){var e=[4,1,9];function t(e){var r,n,i,a=e.length;for(r=0;r<a;r+=1)if("gr"===e[r].ty)t(e[r].it);else if("fl"===e[r].ty||"st"===e[r].ty)if(e[r].c.k&&e[r].c.k[0].i)for(i=e[r].c.k.length,n=0;n<i;n+=1)e[r].c.k[n].s&&(e[r].c.k[n].s[0]/=255,e[r].c.k[n].s[1]/=255,e[r].c.k[n].s[2]/=255,e[r].c.k[n].s[3]/=255),e[r].c.k[n].e&&(e[r].c.k[n].e[0]/=255,e[r].c.k[n].e[1]/=255,e[r].c.k[n].e[2]/=255,e[r].c.k[n].e[3]/=255);else e[r].c.k[0]/=255,e[r].c.k[1]/=255,e[r].c.k[2]/=255,e[r].c.k[3]/=255}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)4===e[r].ty&&t(e[r].shapes)}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),c=function(){var e=[4,4,18];function t(e){var r,n,i;for(r=e.length-1;r>=0;r-=1)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(i=e[r].ks.k.length,n=0;n<i;n+=1)e[r].ks.k[n].s&&(e[r].ks.k[n].s[0].c=e[r].closed),e[r].ks.k[n].e&&(e[r].ks.k[n].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}function r(e){var r,n,i,a,s,o,l=e.length;for(n=0;n<l;n+=1){if((r=e[n]).hasMask){var c=r.masksProperties;for(a=c.length,i=0;i<a;i+=1)if(c[i].pt.k.i)c[i].pt.k.c=c[i].cl;else for(o=c[i].pt.k.length,s=0;s<o;s+=1)c[i].pt.k[s].s&&(c[i].pt.k[s].s[0].c=c[i].cl),c[i].pt.k[s].e&&(c[i].pt.k[s].e[0].c=c[i].cl)}4===r.ty&&t(r.shapes)}}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}();function u(e){0===e.t.a.length&&e.t.p}var f={completeData:function(r){r.__complete||(l(r),a(r),s(r),o(r),c(r),e(r.layers,r.assets),function(r,n){if(r){var i=0,a=r.length;for(i=0;i<a;i+=1)1===r[i].t&&(r[i].data.layers=t(r[i].data.refId,n),e(r[i].data.layers,n))}}(r.chars,r.assets),r.__complete=!0)}};return f.checkColors=l,f.checkChars=s,f.checkPathProperties=o,f.checkShapes=c,f.completeLayers=e,f}()),a.assetLoader||(a.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"===_typeof$5(e.response)?e.response:e.response&&"string"===typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,r,n,i){var a,s=new XMLHttpRequest;try{s.responseType="json"}catch(o){}s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status)a=e(s),n(a);else try{a=e(s),n(a)}catch(o){i&&i(o)}};try{s.open(["G","E","T"].join(""),t,!0)}catch(l){s.open(["G","E","T"].join(""),r+"/"+t,!0)}s.send()}}}()),"loadAnimation"===e.data.type)a.assetLoader.load(e.data.path,e.data.fullPath,(function(t){a.dataManager.completeData(t),a.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){a.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;a.dataManager.completeData(t),a.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&a.assetLoader.load(e.data.path,e.data.fullPath,(function(t){a.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){a.postMessage({id:e.data.id,status:"error"})}))})),t.onmessage=function(e){var t=e.data,r=t.id,i=n[r];n[r]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function o(e,t){var i="processId_"+(r+=1);return n[i]={onComplete:e,onError:t},i}return{loadAnimation:function(e,r,n){s();var i=o(r,n);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},loadData:function(e,r,n){s();var i=o(r,n);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},completeAnimation:function(e,r,n){s();var i=o(r,n);t.postMessage({type:"complete",animation:e,id:i})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();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 n(e,t,r){var n="";if(e.e)n=e.p;else if(t){var i=e.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),n=t+i}else n=r,n+=e.u?e.u:"",n+=e.p;return n}function i(e){var t=0,r=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(r)),t+=1}.bind(this),50)}function a(e){var t={assetData:e},r=n(e,this.assetsPath,this.path);return dataManager.loadData(r,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function s(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return s.prototype={loadAssets:function(e,t){var r;this.imagesLoadedCb=t;var n=e.length;for(r=0;r<n;r+=1)e[r].layers||(e[r].t&&"seq"!==e[r].t?3===e[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[r]))):(this.totalImages+=1,this.images.push(this._createImageData(e[r]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(e){for(var t=0,r=this.images.length;t<r;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var r=n(t,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){a.img=e,this._imageLoaded()}.bind(this),!1),i.src=r;var a={img:i,assetData:t};return a},createImageData:function(t){var r=n(t,this.assetsPath,this.path),i=createNS("image");isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){a.img=e,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var a={img:i,assetData:t};return a},imageLoaded:t,footageLoaded:r,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},s}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var r=this._cbs[e],n=0;n<r.length;n+=1)r[n](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var r=0,n=this._cbs[e].length;r<n;)this._cbs[e][r]===t&&(this._cbs[e].splice(r,1),r-=1,n-=1),r+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,r=e.split("\r\n"),n={},i=0,a=0;a<r.length;a+=1)2===(t=r[a].split(":")).length&&(n[t[0]]=t[1].trim(),i+=1);if(0===i)throw new Error;return n}return function(t){for(var r=[],n=0;n<t.length;n+=1){var i=t[n],a={time:i.tm,duration:i.dr};try{a.payload=JSON.parse(t[n].cm)}catch(s){try{a.payload=e(t[n].cm)}catch(o){a.payload={name:t[n].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,r=this.compositions.length;t<r;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};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){return _typeof$4="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_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||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?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&&"object"!==_typeof$4(t)&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},n=e.attributes;r.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",r.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var i=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";"false"===i?r.loop=!1:"true"===i?r.loop=!0:""!==i&&(r.loop=parseInt(i,10));var a=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;r.autoplay="false"!==a,r.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"","false"===(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")&&(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,r,n=this.animationData.layers,i=n.length,a=e.layers,s=a.length;for(r=0;r<s;r+=1)for(t=0;t<i;){if(n[t].id===a[r].id){n[t]=a[r];break}t+=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,t=0;t<i;t+=1)this.animationData.assets.push(e.assets[t]);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||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);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(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(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()||"canvas"!==this.renderer.rendererType)&&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="number"===typeof e?e:void 0,n="number"===typeof t?t:void 0;this.renderer.updateContainerSize(r,n)},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(!1!==this.isLoaded&&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||!0===this.isPaused&&(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||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?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]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!r||this.name===r){var n=Number(e);if(isNaN(n)){var i=this.getMarkerData(e);i&&this.goToAndStop(i.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 n=Number(e);if(isNaN(n)){var i=this.getMarkerData(e);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(n,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?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):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!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,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var r,n=e.length;for(r=0;r<n;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)},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;-1!==r.indexOf("images/")&&(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{this.renderer.getElementByPath(e).updateDocumentData(t,r)}catch(n){}},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)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&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,n=0,i=0,a=!0,s=!1;function o(e){for(var r=0,i=e.target;r<n;)t[r].animation===i&&(t.splice(r,1),r-=1,n-=1,i.isPaused||u()),r+=1}function l(e,r){if(!e)return null;for(var i=0;i<n;){if(t[i].elem===e&&null!==t[i].elem)return t[i].animation;i+=1}var a=new AnimationItem;return f(a,e),a.setData(e,r),a}function c(){i+=1,h()}function u(){i-=1}function f(e,r){e.addEventListener("destroy",o),e.addEventListener("_active",c),e.addEventListener("_idle",u),t.push({elem:r,animation:e}),n+=1}function d(e){var o,l=e-r;for(o=0;o<n;o+=1)t[o].animation.advanceTime(l);r=e,i&&!s?window.requestAnimationFrame(d):a=!0}function p(e){r=e,window.requestAnimationFrame(d)}function h(){!s&&i&&a&&(window.requestAnimationFrame(p),a=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return f(t,null),t.setParams(e),t},e.setSpeed=function(e,r){var i;for(i=0;i<n;i+=1)t[i].animation.setSpeed(e,r)},e.setDirection=function(e,r){var i;for(i=0;i<n;i+=1)t[i].animation.setDirection(e,r)},e.play=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.play(e)},e.pause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.pause(e)},e.stop=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.stop(e)},e.togglePause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.togglePause(e)},e.searchAnimations=function(e,t,r){var n,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=i.length;for(n=0;n<a;n+=1)r&&i[n].setAttribute("data-bm-type",r),l(i[n],e);if(t&&0===a){r||(r="svg");var s=document.getElementsByTagName("body")[0];s.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),s.appendChild(o),l(o,e)}},e.resize=function(){var e;for(e=0;e<n;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,r,i){var a;for(a=0;a<n;a+=1)t[a].animation.goToAndStop(e,r,i)},e.destroy=function(e){var r;for(r=n-1;r>=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){s=!0},e.unfreeze=function(){s=!1,h()},e.setVolume=function(e,r){var i;for(i=0;i<n;i+=1)t[i].animation.setVolume(e,r)},e.mute=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.mute(e)},e.unmute=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,r=t.length,n=[];for(e=0;e<r;e+=1)n.push(t[e].animation);return n},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,r,n,i,a){var s=a||("bez_"+e+"_"+r+"_"+n+"_"+i).replace(/\./g,"p");if(t[s])return t[s];var o=new u([e,r,n,i]);return t[s]=o,o}},t={},r=11,n=1/(r-1),i="function"===typeof Float32Array;function a(e,t){return 1-3*t+3*e}function s(e,t){return 3*t-6*e}function o(e){return 3*e}function l(e,t,r){return((a(t,r)*e+s(t,r))*e+o(t))*e}function c(e,t,r){return 3*a(t,r)*e*e+2*s(t,r)*e+o(t)}function u(e){this._p=e,this._mSampleValues=i?new Float32Array(r):new Array(r),this._precomputed=!1,this.get=this.get.bind(this)}return u.prototype={get:function(e){var t=this._p[0],r=this._p[1],n=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),t===r&&n===i?e:0===e?0:1===e?1:l(this._getTForX(e),r,i)},_precompute:function(){var e=this._p[0],t=this._p[1],r=this._p[2],n=this._p[3];this._precomputed=!0,e===t&&r===n||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],i=0;i<r;++i)this._mSampleValues[i]=l(i*n,e,t)},_getTForX:function(e){for(var t=this._p[0],i=this._p[2],a=this._mSampleValues,s=0,o=1,u=r-1;o!==u&&a[o]<=e;++o)s+=n;var f=s+(e-a[--o])/(a[o+1]-a[o])*n,d=c(f,t,i);return d>=.001?function(e,t,r,n){for(var i=0;i<4;++i){var a=c(t,r,n);if(0===a)return t;t-=(l(t,r,n)-e)/a}return t}(e,f,t,i):0===d?f:function(e,t,r,n,i){var a,s,o=0;do{(a=l(s=t+(r-t)/2,n,i)-e)>0?r=s:t=s}while(Math.abs(a)>1e-7&&++o<10);return s}(e,s,s+n,t,i)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,r){var n=0,i=e,a=createSizedArray(i);return{newElement:function(){return n?a[n-=1]:t()},release:function(e){n===i&&(a=pooling.double(a),i*=2),r&&r(e),a[n]=e,n+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,r=e.lengths.length;for(t=0;t<r;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,r,n,i,a){var s=e*n+t*i+r*a-i*n-a*e-r*t;return s>-.001&&s<.001}var r=function(e,t,r,n){var i,a,s,o,l,c,u=getDefaultCurveSegments(),f=0,d=[],p=[],h=bezierLengthPool.newElement();for(s=r.length,i=0;i<u;i+=1){for(l=i/(u-1),c=0,a=0;a<s;a+=1)o=bmPow(1-l,3)*e[a]+3*bmPow(1-l,2)*l*r[a]+3*(1-l)*bmPow(l,2)*n[a]+bmPow(l,3)*t[a],d[a]=o,null!==p[a]&&(c+=bmPow(d[a]-p[a],2)),p[a]=d[a];c&&(f+=c=bmSqrt(c)),h.percents[i]=l,h.lengths[i]=f}return h.addedLength=f,h};function n(e){this.segmentLength=0,this.points=new Array(e)}function i(e,t){this.partialLength=e,this.point=t}var a=function(){var e={};return function(r,a,s,o){var l=(r[0]+"_"+r[1]+"_"+a[0]+"_"+a[1]+"_"+s[0]+"_"+s[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!e[l]){var c,u,f,d,p,h,m,v=getDefaultCurveSegments(),g=0,y=null;2===r.length&&(r[0]!==a[0]||r[1]!==a[1])&&t(r[0],r[1],a[0],a[1],r[0]+s[0],r[1]+s[1])&&t(r[0],r[1],a[0],a[1],a[0]+o[0],a[1]+o[1])&&(v=2);var b=new n(v);for(f=s.length,c=0;c<v;c+=1){for(m=createSizedArray(f),p=c/(v-1),h=0,u=0;u<f;u+=1)d=bmPow(1-p,3)*r[u]+3*bmPow(1-p,2)*p*(r[u]+s[u])+3*(1-p)*bmPow(p,2)*(a[u]+o[u])+bmPow(p,3)*a[u],m[u]=d,null!==y&&(h+=bmPow(m[u]-y[u],2));g+=h=bmSqrt(h),b.points[c]=new i(h,m),y=m}b.segmentLength=g,e[l]=b}return e[l]}}();function s(e,t){var r=t.percents,n=t.lengths,i=r.length,a=bmFloor((i-1)*e),s=e*t.addedLength,o=0;if(a===i-1||0===a||s===n[a])return r[a];for(var l=n[a]>s?-1:1,c=!0;c;)if(n[a]<=s&&n[a+1]>s?(o=(s-n[a])/(n[a+1]-n[a]),c=!1):a+=l,a<0||a>=i-1){if(a===i-1)return r[a];c=!1}return r[a]+(r[a+1]-r[a])*o}var o=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,n=segmentsLengthPool.newElement(),i=e.c,a=e.v,s=e.o,o=e.i,l=e._length,c=n.lengths,u=0;for(t=0;t<l-1;t+=1)c[t]=r(a[t],a[t+1],s[t],o[t+1]),u+=c[t].addedLength;return i&&l&&(c[t]=r(a[t],a[0],s[t],o[0]),u+=c[t].addedLength),n.totalLength=u,n},getNewSegment:function(t,r,n,i,a,l,c){a<0?a=0:a>1&&(a=1);var u,f=s(a,c),d=s(l=l>1?1:l,c),p=t.length,h=1-f,m=1-d,v=h*h*h,g=f*h*h*3,y=f*f*h*3,b=f*f*f,x=h*h*m,_=f*h*m+h*f*m+h*h*d,w=f*f*m+h*f*d+f*h*d,S=f*f*d,k=h*m*m,E=f*m*m+h*d*m+h*m*d,C=f*d*m+h*d*d+f*m*d,P=f*d*d,T=m*m*m,M=d*m*m+m*d*m+m*m*d,j=d*d*m+m*d*d+d*m*d,A=d*d*d;for(u=0;u<p;u+=1)o[4*u]=e.round(1e3*(v*t[u]+g*n[u]+y*i[u]+b*r[u]))/1e3,o[4*u+1]=e.round(1e3*(x*t[u]+_*n[u]+w*i[u]+S*r[u]))/1e3,o[4*u+2]=e.round(1e3*(k*t[u]+E*n[u]+C*i[u]+P*r[u]))/1e3,o[4*u+3]=e.round(1e3*(T*t[u]+M*n[u]+j*i[u]+A*r[u]))/1e3;return o},getPointInSegment:function(t,r,n,i,a,o){var l=s(a,o),c=1-l;return[e.round(1e3*(c*c*c*t[0]+(l*c*c+c*l*c+c*c*l)*n[0]+(l*l*c+c*l*l+l*c*l)*i[0]+l*l*l*r[0]))/1e3,e.round(1e3*(c*c*c*t[1]+(l*c*c+c*l*c+c*c*l)*n[1]+(l*l*c+c*l*l+l*c*l)*i[1]+l*l*l*r[1]))/1e3]},buildBezierData:a,pointOnLine2D:t,pointOnLine3D:function(r,n,i,a,s,o,l,c,u){if(0===i&&0===o&&0===u)return t(r,n,a,s,l,c);var f,d=e.sqrt(e.pow(a-r,2)+e.pow(s-n,2)+e.pow(o-i,2)),p=e.sqrt(e.pow(l-r,2)+e.pow(c-n,2)+e.pow(u-i,2)),h=e.sqrt(e.pow(l-a,2)+e.pow(c-s,2)+e.pow(u-o,2));return(f=d>p?d>h?d-p-h:h-p-d:h>p?h-p-d:p-d-h)>-1e-4&&f<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r,n=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var i,a,s,o,l,c,u,f,d,p=t.lastIndex,h=p,m=this.keyframes.length-1,v=!0;v;){if(i=this.keyframes[h],a=this.keyframes[h+1],h===m-1&&e>=a.t-n){i.h&&(i=a),p=0;break}if(a.t-n>e){p=h;break}h<m-1?h+=1:(p=0,v=!1)}s=this.keyframesMetadata[h]||{};var g,y=a.t-n,b=i.t-n;if(i.to){s.bezierData||(s.bezierData=bez.buildBezierData(i.s,a.s||i.e,i.to,i.ti));var x=s.bezierData;if(e>=y||e<b){var _=e>=y?x.points.length-1:0;for(l=x.points[_].point.length,o=0;o<l;o+=1)r[o]=x.points[_].point[o]}else{s.__fnct?d=s.__fnct:(d=BezierFactory.getBezierEasing(i.o.x,i.o.y,i.i.x,i.i.y,i.n).get,s.__fnct=d),c=d((e-b)/(y-b));var w,S=x.segmentLength*c,k=t.lastFrame<e&&t._lastKeyframeIndex===h?t._lastAddedLength:0;for(f=t.lastFrame<e&&t._lastKeyframeIndex===h?t._lastPoint:0,v=!0,u=x.points.length;v;){if(k+=x.points[f].partialLength,0===S||0===c||f===x.points.length-1){for(l=x.points[f].point.length,o=0;o<l;o+=1)r[o]=x.points[f].point[o];break}if(S>=k&&S<k+x.points[f+1].partialLength){for(w=(S-k)/x.points[f+1].partialLength,l=x.points[f].point.length,o=0;o<l;o+=1)r[o]=x.points[f].point[o]+(x.points[f+1].point[o]-x.points[f].point[o])*w;break}f<u-1?f+=1:v=!1}t._lastPoint=f,t._lastAddedLength=k-x.points[f].partialLength,t._lastKeyframeIndex=h}}else{var E,C,P,T,M;if(m=i.s.length,g=a.s||i.e,this.sh&&1!==i.h)e>=y?(r[0]=g[0],r[1]=g[1],r[2]=g[2]):e<=b?(r[0]=i.s[0],r[1]=i.s[1],r[2]=i.s[2]):quaternionToEuler(r,slerp(createQuaternion(i.s),createQuaternion(g),(e-b)/(y-b)));else for(h=0;h<m;h+=1)1!==i.h&&(e>=y?c=1:e<b?c=0:(i.o.x.constructor===Array?(s.__fnct||(s.__fnct=[]),s.__fnct[h]?d=s.__fnct[h]:(E=void 0===i.o.x[h]?i.o.x[0]:i.o.x[h],C=void 0===i.o.y[h]?i.o.y[0]:i.o.y[h],P=void 0===i.i.x[h]?i.i.x[0]:i.i.x[h],T=void 0===i.i.y[h]?i.i.y[0]:i.i.y[h],d=BezierFactory.getBezierEasing(E,C,P,T).get,s.__fnct[h]=d)):s.__fnct?d=s.__fnct:(E=i.o.x,C=i.o.y,P=i.i.x,T=i.i.y,d=BezierFactory.getBezierEasing(E,C,P,T).get,i.keyframeMetadata=d),c=d((e-b)/(y-b)))),g=a.s||i.e,M=1===i.h?i.s[h]:i.s[h]+(g[h]-i.s[h])*c,"multidimensional"===this.propType?r[h]=M:r=M}return t.lastIndex=p,r}function slerp(e,t,r){var n,i,a,s,o,l=[],c=e[0],u=e[1],f=e[2],d=e[3],p=t[0],h=t[1],m=t[2],v=t[3];return(i=c*p+u*h+f*m+d*v)<0&&(i=-i,p=-p,h=-h,m=-m,v=-v),1-i>1e-6?(n=Math.acos(i),a=Math.sin(n),s=Math.sin((1-r)*n)/a,o=Math.sin(r*n)/a):(s=1-r,o=r),l[0]=s*c+o*p,l[1]=s*u+o*h,l[2]=s*f+o*m,l[3]=s*d+o*v,l}function quaternionToEuler(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],s=Math.atan2(2*n*a-2*r*i,1-2*n*n-2*i*i),o=Math.asin(2*r*n+2*i*a),l=Math.atan2(2*r*a-2*n*i,1-2*r*r-2*i*i);e[0]=s/degToRads,e[1]=o/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,i=Math.cos(t/2),a=Math.cos(r/2),s=Math.cos(n/2),o=Math.sin(t/2),l=Math.sin(r/2),c=Math.sin(n/2);return[o*l*s+i*a*c,o*a*s+i*l*c,i*l*s-o*a*c,i*a*s-o*l*c]}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 n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if("unidimensional"===this.propType)t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,n=this.v.length;r<n;)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);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var 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,n){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=n,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,n){var i;this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var a=t.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),i=0;i<a;i+=1)this.v[i]=t.k[i]*this.mult,this.pv[i]=t.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,r,n){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=n,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,n){var i;this.propType="multidimensional";var a,s,o,l,c=t.k.length;for(i=0;i<c-1;i+=1)t.k[i].to&&t.k[i].s&&t.k[i+1]&&t.k[i+1].s&&(a=t.k[i].s,s=t.k[i+1].s,o=t.k[i].to,l=t.k[i].ti,(2===a.length&&(a[0]!==s[0]||a[1]!==s[1])&&bez.pointOnLine2D(a[0],a[1],s[0],s[1],a[0]+o[0],a[1]+o[1])&&bez.pointOnLine2D(a[0],a[1],s[0],s[1],s[0]+l[0],s[1]+l[1])||3===a.length&&(a[0]!==s[0]||a[1]!==s[1]||a[2]!==s[2])&&bez.pointOnLine3D(a[0],a[1],a[2],s[0],s[1],s[2],a[0]+o[0],a[1]+o[1],a[2]+o[2])&&bez.pointOnLine3D(a[0],a[1],a[2],s[0],s[1],s[2],s[0]+l[0],s[1]+l[1],s[2]+l[2]))&&(t.k[i].to=null,t.k[i].ti=null),a[0]===s[0]&&a[1]===s[1]&&0===o[0]&&0===o[1]&&0===l[0]&&0===l[1]&&(2===a.length||a[2]===s[2]&&0===o[2]&&0===l[2])&&(t.k[i].to=null,t.k[i].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=n,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var u=t.k[0].s.length;for(this.v=createTypedArray("float32",u),this.pv=createTypedArray("float32",u),i=0;i<u;i+=1)this.v[i]=initFrame,this.pv[i]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",u)},this.addEffect=addEffect}var PropertyFactory={getProp:function(e,t,r,n,i){var a;if(t.sid&&(t=e.globalData.slotManager.getProp(t)),t.k.length)if("number"===typeof t.k[0])a=new MultiDimensionalProperty(e,t,n,i);else switch(r){case 0:a=new KeyframedValueProperty(e,t,n,i);break;case 1:a=new KeyframedMultidimensionalProperty(e,t,n,i)}else a=new ValueProperty(e,t,n,i);return a.effectsSequence.length&&i.addDynamicProperty(a),a}};function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(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,n,i){var a;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[n]||a[n]&&!i)&&(a[n]=pointPool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,i,a,s,o){this.setXYAt(e,t,"v",s,o),this.setXYAt(r,n,"o",s,o),this.setXYAt(i,a,"i",s,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),i=1);var a,s=this._length-1,o=this._length;for(a=i;a<o;a+=1)e.setTripleAt(t[s][0],t[s][1],n[s][0],n[s][1],r[s][0],r[s][1],a,!1),s-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){var e=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,r=e._length;for(t=0;t<r;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1}));return e.clone=function(t){var r,n=e.newElement(),i=void 0===t._length?t.v.length:t._length;for(n.setLength(i),n.c=t.c,r=0;r<i;r+=1)n.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],r);return n},e}();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:function(){return t?n[t-=1]:new ShapeCollection},release:function(e){var i,a=e._length;for(i=0;i<a;i+=1)shapePool.release(e.shapes[i]);e._length=0,t===r&&(n=pooling.double(n),r*=2),n[t]=e,t+=1}},t=0,r=4,n=createSizedArray(r);return e}(),ShapePropertyFactory=function(){var e=-999999;function t(e,t,r){var n,i,a,s,o,l,c,u,f,d=r.lastIndex,p=this.keyframes;if(e<p[0].t-this.offsetTime)n=p[0].s[0],a=!0,d=0;else if(e>=p[p.length-1].t-this.offsetTime)n=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],a=!0;else{for(var h,m,v,g=d,y=p.length-1,b=!0;b&&(h=p[g],!((m=p[g+1]).t-this.offsetTime>e));)g<y-1?g+=1:b=!1;if(v=this.keyframesMetadata[g]||{},d=g,!(a=1===h.h)){if(e>=m.t-this.offsetTime)u=1;else if(e<h.t-this.offsetTime)u=0;else{var x;v.__fnct?x=v.__fnct:(x=BezierFactory.getBezierEasing(h.o.x,h.o.y,h.i.x,h.i.y).get,v.__fnct=x),u=x((e-(h.t-this.offsetTime))/(m.t-this.offsetTime-(h.t-this.offsetTime)))}i=m.s?m.s[0]:h.e[0]}n=h.s[0]}for(l=t._length,c=n.i[0].length,r.lastIndex=d,s=0;s<l;s+=1)for(o=0;o<c;o+=1)f=a?n.i[s][o]:n.i[s][o]+(i.i[s][o]-n.i[s][o])*u,t.i[s][o]=f,f=a?n.o[s][o]:n.o[s][o]+(i.o[s][o]-n.o[s][o])*u,t.o[s][o]=f,f=a?n.v[s][o]:n.v[s][o]+(i.v[s][o]-n.v[s][o])*u,t.v[s][o]=f}function r(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==e&&(i<r&&t<r||i>n&&t>n)||(this._caching.lastIndex=i<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function n(){this.paths=this.localShapeCollection}function i(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var r,n=e._length;for(r=0;r<n;r+=1)if(e.v[r][0]!==t.v[r][0]||e.v[r][1]!==t.v[r][1]||e.o[r][0]!==t.o[r][0]||e.o[r][1]!==t.o[r][1]||e.i[r][0]!==t.i[r][0]||e.i[r][1]!==t.i[r][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),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)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(t=0;t<r;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(e,t,r){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===r?t.pt.k:t.ks.k;this.v=shapePool.clone(i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function o(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(t,i,a){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===a?i.pt.k:i.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var s=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,s),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}s.prototype.interpolateShape=t,s.prototype.getValue=a,s.prototype.setVValue=i,s.prototype.addEffect=o,l.prototype.getValue=a,l.prototype.interpolateShape=t,l.prototype.setVValue=i,l.prototype.addEffect=o;var c=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],r=this.p.v[1],n=this.s.v[0]/2,i=this.s.v[1]/2,a=3!==this.d,s=this.v;s.v[0][0]=t,s.v[0][1]=r-i,s.v[1][0]=a?t+n:t-n,s.v[1][1]=r,s.v[2][0]=t,s.v[2][1]=r+i,s.v[3][0]=a?t-n:t+n,s.v[3][1]=r,s.i[0][0]=a?t-n*e:t+n*e,s.i[0][1]=r-i,s.i[1][0]=a?t+n:t-n,s.i[1][1]=r-i*e,s.i[2][0]=a?t+n*e:t-n*e,s.i[2][1]=r+i,s.i[3][0]=a?t-n:t+n,s.i[3][1]=r+i*e,s.o[0][0]=a?t+n*e:t-n*e,s.o[0][1]=r-i,s.o[1][0]=a?t+n:t-n,s.o[1][1]=r+i*e,s.o[2][0]=a?t-n*e:t+n*e,s.o[2][1]=r+i,s.o[3][0]=a?t-n:t+n,s.o[3][1]=r-i*e}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.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 e.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,r,n,i=2*Math.floor(this.pt.v),a=2*Math.PI/i,s=!0,o=this.or.v,l=this.ir.v,c=this.os.v,u=this.is.v,f=2*Math.PI*o/(2*i),d=2*Math.PI*l/(2*i),p=-Math.PI/2;p+=this.r.v;var h=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<i;e+=1){r=s?c:u,n=s?f:d;var m=(t=s?o:l)*Math.cos(p),v=t*Math.sin(p),g=0===m&&0===v?0:v/Math.sqrt(m*m+v*v),y=0===m&&0===v?0:-m/Math.sqrt(m*m+v*v);m+=+this.p.v[0],v+=+this.p.v[1],this.v.setTripleAt(m,v,m-g*n*r*h,v-y*n*r*h,m+g*n*r*h,v+y*n*r*h,e,!0),s=!s,p+=a*h}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),r=2*Math.PI/t,n=this.or.v,i=this.os.v,a=2*Math.PI*n/(4*t),s=.5*-Math.PI,o=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=n*Math.cos(s),c=n*Math.sin(s),u=0===l&&0===c?0:c/Math.sqrt(l*l+c*c),f=0===l&&0===c?0:-l/Math.sqrt(l*l+c*c);l+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(l,c,l-u*a*i*o,c-f*a*i*o,l+u*a*i*o,c+f*a*i*o,e,!0),s+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),f=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,i=bmMin(r,n,this.r.v),a=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+r,t-n+i,e+r,t-n+i,e+r,t-n+a,0,!0),this.v.setTripleAt(e+r,t+n-i,e+r,t+n-a,e+r,t+n-i,1,!0),0!==i?(this.v.setTripleAt(e+r-i,t+n,e+r-i,t+n,e+r-a,t+n,2,!0),this.v.setTripleAt(e-r+i,t+n,e-r+a,t+n,e-r+i,t+n,3,!0),this.v.setTripleAt(e-r,t+n-i,e-r,t+n-i,e-r,t+n-a,4,!0),this.v.setTripleAt(e-r,t-n+i,e-r,t-n+a,e-r,t-n+i,5,!0),this.v.setTripleAt(e-r+i,t-n,e-r+i,t-n,e-r+a,t-n,6,!0),this.v.setTripleAt(e+r-i,t-n,e+r-a,t-n,e+r-i,t-n,7,!0)):(this.v.setTripleAt(e-r,t+n,e-r+a,t+n,e-r,t+n,2),this.v.setTripleAt(e-r,t-n,e-r,t-n+a,e-r,t-n,3))):(this.v.setTripleAt(e+r,t-n+i,e+r,t-n+a,e+r,t-n+i,0,!0),0!==i?(this.v.setTripleAt(e+r-i,t-n,e+r-i,t-n,e+r-a,t-n,1,!0),this.v.setTripleAt(e-r+i,t-n,e-r+a,t-n,e-r+i,t-n,2,!0),this.v.setTripleAt(e-r,t-n+i,e-r,t-n+i,e-r,t-n+a,3,!0),this.v.setTripleAt(e-r,t+n-i,e-r,t+n-a,e-r,t+n-i,4,!0),this.v.setTripleAt(e-r+i,t+n,e-r+i,t+n,e-r+a,t+n,5,!0),this.v.setTripleAt(e+r-i,t+n,e+r-a,t+n,e+r-i,t+n,6,!0),this.v.setTripleAt(e+r,t+n-i,e+r,t+n-i,e+r,t+n-a,7,!0)):(this.v.setTripleAt(e-r,t-n,e-r+a,t-n,e-r,t-n,1,!0),this.v.setTripleAt(e-r,t+n,e-r,t+n-a,e-r,t+n,2,!0),this.v.setTripleAt(e+r,t+n,e+r-a,t+n,e+r,t+n,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],e),e}(),d={getShapeProp:function(e,t,r){var n;return 3===r||4===r?n=(3===r?t.pt:t.ks).k.length?new l(e,t,r):new s(e,t,r):5===r?n=new f(e,t):6===r?n=new c(e,t):7===r&&(n=new u(e,t)),n.k&&e.addDynamicProperty(n),n},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return l}};return d}(),Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,n=Math.round;function i(){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 a(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function s(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(1,0,0,0,0,n,-i,0,0,i,n,0,0,0,0,1)}function o(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,0,i,0,0,1,0,0,-i,0,n,0,0,0,0,1)}function l(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function c(e,t){return this._t(1,t,e,1,0,0)}function u(e,t){return this.shear(r(e),r(t))}function f(n,i){var a=e(i),s=t(i);return this._t(a,s,0,0,-s,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(n),1,0,0,0,0,1,0,0,0,0,1)._t(a,-s,0,0,s,a,0,0,0,0,1,0,0,0,0,1)}function d(e,t,r){return r||0===r||(r=1),1===e&&1===t&&1===r?this:this._t(e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1)}function p(e,t,r,n,i,a,s,o,l,c,u,f,d,p,h,m){return this.props[0]=e,this.props[1]=t,this.props[2]=r,this.props[3]=n,this.props[4]=i,this.props[5]=a,this.props[6]=s,this.props[7]=o,this.props[8]=l,this.props[9]=c,this.props[10]=u,this.props[11]=f,this.props[12]=d,this.props[13]=p,this.props[14]=h,this.props[15]=m,this}function h(e,t,r){return r=r||0,0!==e||0!==t||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,r,1):this}function m(e,t,r,n,i,a,s,o,l,c,u,f,d,p,h,m){var v=this.props;if(1===e&&0===t&&0===r&&0===n&&0===i&&1===a&&0===s&&0===o&&0===l&&0===c&&1===u&&0===f)return v[12]=v[12]*e+v[15]*d,v[13]=v[13]*a+v[15]*p,v[14]=v[14]*u+v[15]*h,v[15]*=m,this._identityCalculated=!1,this;var g=v[0],y=v[1],b=v[2],x=v[3],_=v[4],w=v[5],S=v[6],k=v[7],E=v[8],C=v[9],P=v[10],T=v[11],M=v[12],j=v[13],A=v[14],O=v[15];return v[0]=g*e+y*i+b*l+x*d,v[1]=g*t+y*a+b*c+x*p,v[2]=g*r+y*s+b*u+x*h,v[3]=g*n+y*o+b*f+x*m,v[4]=_*e+w*i+S*l+k*d,v[5]=_*t+w*a+S*c+k*p,v[6]=_*r+w*s+S*u+k*h,v[7]=_*n+w*o+S*f+k*m,v[8]=E*e+C*i+P*l+T*d,v[9]=E*t+C*a+P*c+T*p,v[10]=E*r+C*s+P*u+T*h,v[11]=E*n+C*o+P*f+T*m,v[12]=M*e+j*i+A*l+O*d,v[13]=M*t+j*a+A*c+O*p,v[14]=M*r+j*s+A*u+O*h,v[15]=M*n+j*o+A*f+O*m,this._identityCalculated=!1,this}function v(e){var t=e.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function y(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function b(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function x(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function _(e,t,r){return{x:e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}}function w(e,t,r){return e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12]}function S(e,t,r){return e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13]}function k(e,t,r){return e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}function E(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,r=-this.props[1]/e,n=-this.props[4]/e,i=this.props[0]/e,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,o=new Matrix;return o.props[0]=t,o.props[1]=r,o.props[4]=n,o.props[5]=i,o.props[12]=a,o.props[13]=s,o}function C(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function P(e){var t,r=e.length,n=[];for(t=0;t<r;t+=1)n[t]=C(e[t]);return n}function T(e,t,r){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=e[0],n[1]=e[1],n[2]=t[0],n[3]=t[1],n[4]=r[0],n[5]=r[1];else{var i=this.props[0],a=this.props[1],s=this.props[4],o=this.props[5],l=this.props[12],c=this.props[13];n[0]=e[0]*i+e[1]*s+l,n[1]=e[0]*a+e[1]*o+c,n[2]=t[0]*i+t[1]*s+l,n[3]=t[0]*a+t[1]*o+c,n[4]=r[0]*i+r[1]*s+l,n[5]=r[0]*a+r[1]*o+c}return n}function M(e,t,r){return this.isIdentity()?[e,t,r]:[e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]]}function j(e,t){if(this.isIdentity())return e+","+t;var r=this.props;return Math.round(100*(e*r[0]+t*r[4]+r[12]))/100+","+Math.round(100*(e*r[1]+t*r[5]+r[13]))/100}function A(){for(var e=0,t=this.props,r="matrix3d(";e<16;)r+=n(1e4*t[e])/1e4,r+=15===e?")":",",e+=1;return r}function O(e){return e<1e-6&&e>0||e>-1e-6&&e<0?n(1e4*e)/1e4:e}function D(){var e=this.props;return"matrix("+O(e[0])+","+O(e[1])+","+O(e[4])+","+O(e[5])+","+O(e[12])+","+O(e[13])+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=u,this.skewFromAxis=f,this.shear=c,this.scale=d,this.setTransform=p,this.translate=h,this.transform=m,this.multiply=v,this.applyToPoint=_,this.applyToX=w,this.applyToY=S,this.applyToZ=k,this.applyToPointArray=M,this.applyToTriplePoints=T,this.applyToPointStringified=j,this.toCSS=A,this.to2dCSS=D,this.clone=b,this.cloneFromProps=x,this.equals=y,this.inversePoints=P,this.inversePoint=C,this.getInverseMatrix=E,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"===typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var n=t[r].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(err){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,r){t[e]||(t[e]=r)},e.getModifier=function(e,r,n){return new t[e](r,n)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}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),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,n,i){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var s,o,l=[],c=a.length;for(s=0;s<c;s+=1){var u,f;(o=a[s]).e*i<n||o.s*i>n+r||(u=o.s*i<=n?0:(o.s*i-n)/r,f=o.e*i>=n+r?1:(o.e*i-n)/r,l.push([u,f]))}return l.length||l.push([0,0]),l},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,n,i;if(this._mdf||e){var a=this.o.v%360/360;if(a<0&&(a+=1),(t=this.s.v>1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var s=t;t=r,r=s}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var o,l,c,u,f,d=this.shapes.length,p=0;if(r===t)for(i=0;i<d;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(1===r&&0===t||0===r&&1===t){if(this._mdf)for(i=0;i<d;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var h,m,v=[];for(i=0;i<d;i+=1)if((h=this.shapes[i]).shape._mdf||this._mdf||e||2===this.m){if(l=(n=h.shape.paths)._length,f=0,!h.shape._mdf&&h.pathsData.length)f=h.totalShapeLength;else{for(c=this.releasePathsData(h.pathsData),o=0;o<l;o+=1)u=bez.getSegmentsLength(n.shapes[o]),c.push(u),f+=u.totalLength;h.totalShapeLength=f,h.pathsData=c}p+=f,h.shape._mdf=!0}else h.shape.paths=h.localShapeCollection;var g,y=t,b=r,x=0;for(i=d-1;i>=0;i-=1)if((h=this.shapes[i]).shape._mdf){for((m=h.localShapeCollection).releaseShapes(),2===this.m&&d>1?(g=this.calculateShapeEdges(t,r,h.totalShapeLength,x,p),x+=h.totalShapeLength):g=[[y,b]],l=g.length,o=0;o<l;o+=1){y=g[o][0],b=g[o][1],v.length=0,b<=1?v.push({s:h.totalShapeLength*y,e:h.totalShapeLength*b}):y>=1?v.push({s:h.totalShapeLength*(y-1),e:h.totalShapeLength*(b-1)}):(v.push({s:h.totalShapeLength*y,e:h.totalShapeLength}),v.push({s:0,e:h.totalShapeLength*(b-1)}));var _=this.addShapes(h,v[0]);if(v[0].s!==v[0].e){if(v.length>1)if(h.shape.paths.shapes[h.shape.paths._length-1].c){var w=_.pop();this.addPaths(_,m),_=this.addShapes(h,v[1],w)}else this.addPaths(_,m),_=this.addShapes(h,v[1]);this.addPaths(_,m)}}h.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,n,i,a,s){i.setXYAt(t[0],t[1],"o",a),i.setXYAt(r[0],r[1],"i",a+1),s&&i.setXYAt(e[0],e[1],"v",a),i.setXYAt(n[0],n[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,n){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),n&&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 n,i,a,s,o,l,c,u,f=e.pathsData,d=e.shape.paths.shapes,p=e.shape.paths._length,h=0,m=[],v=!0;for(r?(o=r._length,u=r._length):(r=shapePool.newElement(),o=0,u=0),m.push(r),n=0;n<p;n+=1){for(l=f[n].lengths,r.c=d[n].c,a=d[n].c?l.length:l.length+1,i=1;i<a;i+=1)if(h+(s=l[i-1]).addedLength<t.s)h+=s.addedLength,r.c=!1;else{if(h>t.e){r.c=!1;break}t.s<=h&&t.e>=h+s.addedLength?(this.addSegment(d[n].v[i-1],d[n].o[i-1],d[n].i[i],d[n].v[i],r,o,v),v=!1):(c=bez.getNewSegment(d[n].v[i-1],d[n].v[i],d[n].o[i-1],d[n].i[i],(t.s-h)/s.addedLength,(t.e-h)/s.addedLength,l[i-1]),this.addSegmentFromArray(c,r,o,v),v=!1,r.c=!1),h+=s.addedLength,o+=1}if(d[n].c&&l.length){if(s=l[i-1],h<=t.e){var g=l[i-1].addedLength;t.s<=h&&t.e>=h+g?(this.addSegment(d[n].v[i-1],d[n].o[i-1],d[n].i[0],d[n].v[0],r,o,v),v=!1):(c=bez.getNewSegment(d[n].v[i-1],d[n].v[0],d[n].o[i-1],d[n].i[0],(t.s-h)/g,(t.e-h)/g,l[i-1]),this.addSegmentFromArray(c,r,o,v),v=!1,r.c=!1)}else r.c=!1;h+=s.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[u][0],r.v[u][1],"i",u),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),h>t.e)break;n<p-1&&(r=shapePool.newElement(),v=!0,m.push(r),o=0)}return m},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,n=[0,0],i=e._length,a=0;for(a=0;a<i;a+=1)n[0]+=e.v[a][0],n[1]+=e.v[a][1];n[0]/=i,n[1]/=i;var s,o,l,c,u,f,d=shapePool.newElement();for(d.c=e.c,a=0;a<i;a+=1)s=e.v[a][0]+(n[0]-e.v[a][0])*r,o=e.v[a][1]+(n[1]-e.v[a][1])*r,l=e.o[a][0]+(n[0]-e.o[a][0])*-r,c=e.o[a][1]+(n[1]-e.o[a][1])*-r,u=e.i[a][0]+(n[0]-e.i[a][0])*-r,f=e.i[a][1]+(n[1]-e.i[a][1])*-r,d.setTripleAt(s,o,l,c,u,f,a);return d},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.amount.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,r){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var n,i=t.or.k.length;for(n=0;n<i;n+=1)t.or.k[n].to=null,t.or.k[n].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.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?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var r;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 n,i;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(n=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(n=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],i=[];var a=this.px,s=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(n[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),n[1]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),i[0]=a.getValueAtTime(a.keyframes[0].t/r,0),i[1]=s.getValueAtTime(s.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(n[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),n[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),i[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),i[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0)):(n=[a.pv,s.pv],i[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),i[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime))}else n=i=e;this.v.rotate(-Math.atan2(n[1]-i[1],n[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,r,n){return new t(e,r,n)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(e,t){return 1e5*Math.abs(e-t)<=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(0===e)return[];var n=t*t-4*e*r;if(n<0)return[];var i=-t/(2*e);if(0===n)return[i];var a=Math.sqrt(n)/(2*e);return[i-a,i+a]}function polynomialCoefficients(e,t,r,n){return[3*t-e-3*r+n,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,n,i){i&&pointEqual(e,t)&&(t=lerpPoint(e,n,1/3)),i&&pointEqual(r,n)&&(r=lerpPoint(e,n,2/3));var a=polynomialCoefficients(e[0],t[0],r[0],n[0]),s=polynomialCoefficients(e[1],t[1],r[1],n[1]);this.a=[a[0],s[0]],this.b=[a[1],s[1]],this.c=[a[2],s[2]],this.d=[a[3],s[3]],this.points=[e,t,r,n]}function extrema(e,t){var r=e.points[0][t],n=e.points[e.points.length-1][t];if(r>n){var i=n;n=r,r=i}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),s=0;s<a.length;s+=1)if(a[s]>0&&a[s]<1){var o=e.point(a[s])[t];o<r?r=o:o>n&&(n=o)}return{min:r,max:n}}function intersectData(e,t,r){var n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.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 2*Math.abs(e.cx-t.cx)<e.width+t.width&&2*Math.abs(e.cy-t.cy)<e.height+t.height}function intersectsImpl(e,t,r,n,i,a){if(boxIntersect(e,t))if(r>=a||e.width<=n&&e.height<=n&&t.width<=n&&t.height<=n)i.push([e.t,t.t]);else{var s=splitData(e),o=splitData(t);intersectsImpl(s[0],o[0],r+1,n,i,a),intersectsImpl(s[0],o[1],r+1,n,i,a),intersectsImpl(s[1],o[0],r+1,n,i,a),intersectsImpl(s[1],o[1],r+1,n,i,a)}}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,n){var i=[e[0],e[1],1],a=[t[0],t[1],1],s=[r[0],r[1],1],o=[n[0],n[1],1],l=crossProduct(crossProduct(i,a),crossProduct(s,o));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[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(){}function setPoint(e,t,r,n,i,a,s){var o=r-Math.PI/2,l=r+Math.PI/2,c=t[0]+Math.cos(r)*n*i,u=t[1]-Math.sin(r)*n*i;e.setTripleAt(c,u,c+Math.cos(o)*a,u-Math.sin(o)*a,c+Math.cos(l)*s,u-Math.sin(l)*s,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],n=.5*-Math.PI;return[Math.cos(n)*r[0]-Math.sin(n)*r[1],Math.sin(n)*r[0]+Math.cos(n)*r[1]]}function getProjectingAngle(e,t){var r=0===t?e.length()-1:t-1,n=(t+1)%e.length(),i=getPerpendicularVector(e.v[r],e.v[n]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(e,t,r,n,i,a,s){var o=getProjectingAngle(t,r),l=t.v[r%t._length],c=t.v[0===r?t._length-1:r-1],u=t.v[(r+1)%t._length],f=2===a?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,d=2===a?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0;setPoint(e,t.v[r%t._length],o,s,n,d/(2*(i+1)),f/(2*(i+1)),a)}function zigZagSegment(e,t,r,n,i,a){for(var s=0;s<n;s+=1){var o=(s+1)/(n+1),l=2===i?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,c=t.normalAngle(o);setPoint(e,t.point(o),c,a,r,l/(2*(n+1)),l/(2*(n+1)),i),a=-a}return a}function linearOffset(e,t,r){var n=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,n,r),polarOffset(t,n,r)]}function offsetSegment(e,t){var r,n,i,a,s,o,l;r=(l=linearOffset(e.points[0],e.points[1],t))[0],n=l[1],i=(l=linearOffset(e.points[1],e.points[2],t))[0],a=l[1],s=(l=linearOffset(e.points[2],e.points[3],t))[0],o=l[1];var c=lineIntersection(r,n,i,a);null===c&&(c=n);var u=lineIntersection(s,o,i,a);return null===u&&(u=s),new PolynomialBezier(r,c,u,o)}function joinLines(e,t,r,n,i){var a=t.points[3],s=r.points[0];if(3===n)return a;if(pointEqual(a,s))return a;if(2===n){var o=-t.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,c=lineIntersection(a,polarOffset(a,o+Math.PI/2,100),s,polarOffset(s,o+Math.PI/2,100)),u=c?pointDistance(c,a):pointDistance(a,s)/2,f=polarOffset(a,o,2*u*roundCorner);return e.setXYAt(f[0],f[1],"o",e.length()-1),f=polarOffset(s,l,2*u*roundCorner),e.setTripleAt(s[0],s[1],s[0],s[1],f[0],f[1],e.length()),s}var d=lineIntersection(pointEqual(a,t.points[2])?t.points[0]:t.points[2],a,s,pointEqual(s,r.points[1])?r.points[3]:r.points[1]);return d&&pointDistance(d,a)<i?(e.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],e.length()),d):a}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(),n=t.slice(),i=getIntersection(e[e.length-1],t[0]);return i&&(r[e.length-1]=e[e.length-1].split(i[0])[0],n[0]=t[0].split(i[1])[1]),e.length>1&&t.length>1&&(i=getIntersection(e[0],t[t.length-1]))?[[e[0].split(i[0])[0]],[t[t.length-1].split(i[1])[1]]]:[r,n]}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,n,i,a,s=e.inflectionPoints();if(0===s.length)return[offsetSegment(e,t)];if(1===s.length||floatEqual(s[1],1))return r=(i=e.split(s[0]))[0],n=i[1],[offsetSegment(r,t),offsetSegment(n,t)];r=(i=e.split(s[0]))[0];var o=(s[1]-s[0])/(1-s[0]);return a=(i=i[1].split(o))[0],n=i[1],[offsetSegment(r,t),offsetSegment(a,t),offsetSegment(n,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",n="normal",i=t.length,a=0;a<i;a+=1)switch(t[a].toLowerCase()){case"italic":n="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"}return{style:n,weight:e.fWeight||r}}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,n,i,a){var s=a?-1:1,o=n.s.v[0]+(1-n.s.v[0])*(1-i),l=n.s.v[1]+(1-n.s.v[1])*(1-i);e.translate(n.p.v[0]*s*i,n.p.v[1]*s*i,n.p.v[2]),t.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),t.rotate(-n.r.v*s*i),t.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(a?1/o:o,a?1/l:l),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,n){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=n,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,"gr"===e[t].ty&&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,n=e.length;for(r=0;r<n;r+=1)e[r]._render=t,"gr"===e[r].ty&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,n,i,a,s=!1;if(this._mdf||e){var o,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.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,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),s=!0}for(a=0,n=0;n<=this._groups.length-1;n+=1){if(o=a<l,this._groups[n]._render=o,this.changeGroupRender(this._groups[n].it,o),!o){var u=this.elemsData[n].it,f=u[u.length-1];0!==f.transform.op.v?(f.transform.op._mdf=!0,f.transform.op.v=0):f.transform.op._mdf=!1}a+=1}this._currentCopies=l;var d=this.o.v,p=d%1,h=d>0?Math.floor(d):Math.ceil(d),m=this.pMatrix.props,v=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,b,x=0;if(d>0){for(;x<h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),x+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),x+=p)}else if(d<0){for(;x>h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),x-=p)}for(n=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==x){for((0!==n&&1===i||n!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),y=0;y<b;y+=1)r[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<b;y+=1)r[y]=this.matrix.props[y];x+=1,a-=1,n+=i}}else for(a=this._currentCopies,n=0,i=1;a;)r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,n+=i;return s},RepeaterModifier.prototype.addShape=function(){},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,n=shapePool.newElement();n.c=e.c;var i,a,s,o,l,c,u,f,d,p,h,m,v=e._length,g=0;for(r=0;r<v;r+=1)i=e.v[r],s=e.o[r],a=e.i[r],i[0]===s[0]&&i[1]===s[1]&&i[0]===a[0]&&i[1]===a[1]?0!==r&&r!==v-1||e.c?(o=0===r?e.v[v-1]:e.v[r-1],c=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,t)/l:0,u=h=i[0]+(o[0]-i[0])*c,f=m=i[1]-(i[1]-o[1])*c,d=u-(u-i[0])*roundCorner,p=f-(f-i[1])*roundCorner,n.setTripleAt(u,f,d,p,h,m,g),g+=1,o=r===v-1?e.v[0]:e.v[r+1],c=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,t)/l:0,u=d=i[0]+(o[0]-i[0])*c,f=p=i[1]+(o[1]-i[1])*c,h=u-(u-i[0])*roundCorner,m=f-(f-i[1])*roundCorner,n.setTripleAt(u,f,d,p,h,m,g),g+=1):(n.setTripleAt(i[0],i[1],s[0],s[1],a[0],a[1],g),g+=1):(n.setTripleAt(e.v[r][0],e.v[r][1],e.o[r][0],e.o[r][1],e.i[r][0],e.i[r][1],g),g+=1);return n},RoundCornersModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},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 n=Math.sqrt(r);return floatZero(n)?n>0&&n<1?[t]:[]:[t-n,t+n].filter((function(e){return e>0&&e<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),n=lerpPoint(this.points[2],this.points[3],e),i=lerpPoint(t,r,e),a=lerpPoint(r,n,e),s=lerpPoint(i,a,e);return[new PolynomialBezier(this.points[0],t,i,s,!0),new PolynomialBezier(s,a,n,this.points[3],!0)]},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}},PolynomialBezier.prototype.intersections=function(e,t,r){void 0===t&&(t=2),void 0===r&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,n,r),n},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)},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=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(e,t,r,n){var i=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(i-=1),0===i)return a;var s=-1,o=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,r,n,s);for(var l=0;l<i;l+=1)s=zigZagSegment(a,o,t,r,n,-s),o=l!==i-1||e.c?PolynomialBezier.shapeSegment(e,(l+1)%i):null,zigZagCorner(a,e,l+1,t,r,n,s);return a},ZigZagModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.amplitude.v,c=Math.max(0,Math.round(this.frequency.v)),u=this.pointsType.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l,c,u));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},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=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(e,t,r,n){var i=shapePool.newElement();i.c=e.c;var a,s,o,l=e.length();e.c||(l-=1);var c=[];for(a=0;a<l;a+=1)o=PolynomialBezier.shapeSegment(e,a),c.push(offsetSegmentSplit(o,t));if(!e.c)for(a=l-1;a>=0;a-=1)o=PolynomialBezier.shapeSegmentInverted(e,a),c.push(offsetSegmentSplit(o,t));c=pruneIntersections(c);var u=null,f=null;for(a=0;a<c.length;a+=1){var d=c[a];for(f&&(u=joinLines(i,f,d[0],r,n)),f=d[d.length-1],s=0;s<d.length;s+=1)o=d[s],u&&pointEqual(o.points[0],u)?i.setXYAt(o.points[1][0],o.points[1][1],"o",i.length()-1):i.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],i.length()),i.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],i.length()),u=o.points[3]}return c.length&&joinLines(i,f,c[0][0],r,n),i},OffsetPathModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.amount.v,c=this.miterLimit.v,u=this.lineJoin;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l,u,c));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.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 r=127988,n=127462,i=127487,a=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function s(e,t){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=t;var n=createTag("span");n.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(n),document.body.appendChild(r);var i=n.offsetWidth;return n.style.fontFamily=function(e){var t,r=e.split(","),n=r.length,i=[];for(t=0;t<n;t+=1)"sans-serif"!==r[t]&&"monospace"!==r[t]&&i.push(r[t]);return i.join(",")}(e)+", "+t,{node:n,w:i,parent:r}}function o(e,t){var r,n=document.body&&t?"svg":"canvas",i=getFontProperties(e);if("svg"===n){var a=createNS("text");a.style.fontSize="100px",a.setAttribute("font-family",e.fFamily),a.setAttribute("font-style",i.style),a.setAttribute("font-weight",i.weight),a.textContent="1",e.fClass?(a.style.fontFamily="inherit",a.setAttribute("class",e.fClass)):a.style.fontFamily=e.fFamily,t.appendChild(a),r=a}else{var s=new OffscreenCanvas(500,500).getContext("2d");s.font=i.style+" "+i.weight+" 100px "+e.fFamily,r=s}return{measureText:function(e){return"svg"===n?(r.textContent=e,r.getComputedTextLength()):r.measureText(e).width}}}function l(e){var t=0,r=e.charCodeAt(0);if(r>=55296&&r<=56319){var n=e.charCodeAt(1);n>=56320&&n<=57343&&(t=1024*(r-55296)+n-56320+65536)}return t}function c(e){var t=l(e);return t>=n&&t<=i}var u=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)};u.isModifier=function(e,t){var r=e.toString(16)+t.toString(16);return-1!==a.indexOf(r)},u.isZeroWidthJoiner=function(e){return 8205===e},u.isFlagEmoji=function(e){return c(e.substr(0,2))&&c(e.substr(2,2))},u.isRegionalCode=c,u.isCombinedCharacter=function(e){return-1!==t.indexOf(e)},u.isRegionalFlag=function(e,t){var n=l(e.substr(t,2));if(n!==r)return!1;var i=0;for(t+=2;i<5;){if((n=l(e.substr(t,2)))<917601||n>917626)return!1;i+=1,t+=2}return 917631===l(e.substr(t,2))},u.isVariationSelector=function(e){return 65039===e},u.BLACK_FLAG_CODE_POINT=r;var f={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var r,n,i=e.length,a=this.chars.length;for(t=0;t<i;t+=1){for(r=0,n=!1;r<a;)this.chars[r].style===e[t].style&&this.chars[r].fFamily===e[t].fFamily&&this.chars[r].ch===e[t].ch&&(n=!0),r+=1;n||(this.chars.push(e[t]),a+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);if(!document.body)return this.isLoaded=!0,e.list.forEach((function(e){e.helper=o(e),e.cache={}})),void(this.fonts=e.list);var r,n=e.list,i=n.length,a=i;for(r=0;r<i;r+=1){var l,c,u=!0;if(n[r].loaded=!1,n[r].monoCase=s(n[r].fFamily,"monospace"),n[r].sansCase=s(n[r].fFamily,"sans-serif"),n[r].fPath){if("p"===n[r].fOrigin||3===n[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[r].fFamily+'"], style[f-origin="3"][f-family="'+n[r].fFamily+'"]')).length>0&&(u=!1),u){var f=createTag("style");f.setAttribute("f-forigin",n[r].fOrigin),f.setAttribute("f-origin",n[r].origin),f.setAttribute("f-family",n[r].fFamily),f.type="text/css",f.innerText="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",t.appendChild(f)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<l.length;c+=1)-1!==l[c].href.indexOf(n[r].fPath)&&(u=!1);if(u){var d=createTag("link");d.setAttribute("f-forigin",n[r].fOrigin),d.setAttribute("f-origin",n[r].origin),d.type="text/css",d.rel="stylesheet",d.href=n[r].fPath,document.body.appendChild(d)}}else if("t"===n[r].fOrigin||2===n[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<l.length;c+=1)n[r].fPath===l[c].src&&(u=!1);if(u){var p=createTag("link");p.setAttribute("f-forigin",n[r].fOrigin),p.setAttribute("f-origin",n[r].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",n[r].fPath),t.appendChild(p)}}}else n[r].loaded=!0,a-=1;n[r].helper=o(n[r],t),n[r].cache={},this.fonts.push(n[r])}0===a?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,r,n){for(var i=0,a=this.chars.length;i<a;){if(this.chars[i].ch===t&&this.chars[i].style===r&&this.chars[i].fFamily===n)return this.chars[i];i+=1}return("string"===typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,r,n)),e},getFontByName:function(e){for(var t=0,r=this.fonts.length;t<r;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,r){var n=this.getFontByName(t),i=e;if(!n.cache[i]){var a=n.helper;if(" "===e){var s=a.measureText("|"+e+"|"),o=a.measureText("||");n.cache[i]=(s-o)/100}else n.cache[i]=a.measureText(e)/100}return n.cache[i]*r},checkLoadedFonts:function(){var e,t,r,n=this.fonts.length,i=n;for(e=0;e<n;e+=1)this.fonts[e].loaded?i-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,r=this.fonts[e].monoCase.w,t.offsetWidth!==r?(i-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,r=this.fonts[e].sansCase.w,t.offsetWidth!==r&&(i-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==i&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return u.prototype=f,u}();function SlotManager(e){this.animationData=e}function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},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(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var 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,n=e.ef||[];this.effectElements=[];var i,a=n.length;for(r=0;r<a;r+=1)i=new GroupEffect(n[r],t),this.effectElements.push(i)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}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)}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 n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),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)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var r;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var n,i=this.data.ef.length,a=this.data.ef;for(r=0;r<i;r+=1){switch(n=null,a[r].ty){case 0:n=new SliderEffect(a[r],t,this);break;case 1:n=new AngleEffect(a[r],t,this);break;case 2:n=new ColorEffect(a[r],t,this);break;case 3:n=new PointEffect(a[r],t,this);break;case 4:case 7:n=new CheckboxEffect(a[r],t,this);break;case 10:n=new LayerIndexEffect(a[r],t,this);break;case 11:n=new MaskIndexEffect(a[r],t,this);break;case 5:n=new EffectsManager(a[r],t,this);break;default:n=new NoValueEffect(a[r],t,this)}n&&this.effectElements.push(n)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var t=e("layer"),r=e("effects"),n=e("shape"),i=e("text"),a=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var s=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(s),0===this.data.ty||this.data.xt?this.compInterface=a(this):4===this.data.ty?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,r){this.globalData=t,this.comp=r,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var r,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(t||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},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},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(){},BaseRenderer.prototype.checkLayers=function(e){var t,r,n=this.layers.length;for(this.completeLayers=!0,t=n-1;t>=0;t-=1)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;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:default: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)}},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){var t;this.completeLayers=!1;var r,n=e.length,i=this.layers.length;for(t=0;t<n;t+=1)for(r=0;r<i;){if(this.layers[r].id===e[t].id){this.layers[r]=e[t];break}r+=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 n=this.elements,i=this.layers,a=0,s=i.length;a<s;)i[a].ind==t&&(n[a]&&!0!==n[a]?(r.push(n[a]),n[a].setAsParent(),void 0!==i[a].parent?this.buildElementParenting(e,i[a].parent,r):e.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(e))),a+=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 n=this.createComp(e[t]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},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,r=e.shift();if("number"===typeof r)t=this.elements[r];else{var n,i=this.elements.length;for(n=0;n<i;n+=1)if(this.elements[n].data.nm===r){t=this.elements[n];break}}return 0===e.length?t:t.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(){}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 n,i,a=this.globalData.defs,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var o,l,c,u,f,d,p=this.masksProperties,h=0,m=[],v=createElementID(),g="clipPath",y="clip-path";for(n=0;n<s;n+=1)if(("a"!==p[n].mode&&"n"!==p[n].mode||p[n].inv||100!==p[n].o.k||p[n].o.x)&&(g="mask",y="mask"),"s"!==p[n].mode&&"i"!==p[n].mode||0!==h?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),m.push(c)),i=createNS("path"),"n"===p[n].mode)this.viewData[n]={op:PropertyFactory.getProp(this.element,p[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[n],3),elem:i,lastPath:""},a.appendChild(i);else{var b;if(h+=1,i.setAttribute("fill","s"===p[n].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==p[n].x.k?(g="mask",y="mask",d=PropertyFactory.getProp(this.element,p[n].x,0,null,this.element),b=createElementID(),(u=createNS("filter")).setAttribute("id",b),(f=createNS("feMorphology")).setAttribute("operator","erode"),f.setAttribute("in","SourceGraphic"),f.setAttribute("radius","0"),u.appendChild(f),a.appendChild(u),i.setAttribute("stroke","s"===p[n].mode?"#000000":"#ffffff")):(f=null,d=null),this.storedData[n]={elem:i,x:d,expan:f,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===p[n].mode){l=m.length;var x=createNS("g");for(o=0;o<l;o+=1)x.appendChild(m[o]);var _=createNS("mask");_.setAttribute("mask-type","alpha"),_.setAttribute("id",v+"_"+h),_.appendChild(i),a.appendChild(_),x.setAttribute("mask","url("+getLocationHref()+"#"+v+"_"+h+")"),m.length=0,m.push(x)}else m.push(i);p[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,p[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[n],3),invRect:c},this.viewData[n].prop.k||this.drawPath(p[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(g),s=m.length,n=0;n<s;n+=1)this.maskElement.appendChild(m[n]);h>0&&(this.maskElement.setAttribute("id",v),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+v+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,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 e,t=this.finalTransform.mat,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<n;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),r=0;r<n;r+=1)t.multiply(this.hierarchy[r].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var e=0,t=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;e<t;)this.localTransforms[e]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[e]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),e+=1;if(this.finalTransform._localMatMdf){var r=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(r),e=1;e<t;e+=1){var n=this.localTransforms[e].matrix;r.multiply(n)}r.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var i=this.finalTransform.localOpacity;for(e=0;e<t;e+=1)i*=.01*this.localTransforms[e].opacity;this.finalTransform.localOpacity=i}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var e=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(e.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var t=0,r=e.length;for(t=0;t<r;t+=1)this.localTransforms.push(e[t])}}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var r,n=!0,i=this.comp;n;)i.finalTransform?(i.data.hasMask&&t.splice(0,0,i.finalTransform),i=i.comp):n=!1;var a,s=t.length;for(r=0;r<s;r+=1)a=t[r].mat.applyToPointArray(0,0,0),e=[e[0]-a[0],e[1]-a[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,r=this.element.finalTransform.mat,n=this.masksProperties.length;for(t=0;t<n;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var i=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),i.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},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+" "},MaskElement.prototype.drawPath=function(e,t,r){var n,i,a=" M"+t.v[0][0]+","+t.v[0][1];for(i=t._length,n=1;n<i;n+=1)a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&i>1&&(a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==a){var s="";r.elem&&(t.c&&(s=e.inv?this.solidPath+a:a),r.elem.setAttribute("d",s)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={createFilter:function(e,t){var r=createNS("filter");return r.setAttribute("id",e),!0!==t&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),e}};return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!==typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r,n="SourceGraphic",i=e.data.ef?e.data.ef.length:0,a=createElementID(),s=filtersFactory.createFilter(a,!0),o=0;for(this.filters=[],t=0;t<i;t+=1){r=null;var l=e.data.ef[t].ty;registeredEffects$1[l]&&(r=new(0,registeredEffects$1[l].effect)(s,e.effectsManager.effectElements[t],e,idPrefix+o,n),n=idPrefix+o,registeredEffects$1[l].countsAsEffect&&(o+=1)),r&&this.filters.push(r)}o&&(e.globalData.defs.appendChild(s),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+a+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect$1(e,t,r){registeredEffects$1[e]={effect:t,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function 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}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}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,n=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n},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 e=null;if(this.data.td){this.matteMasks={};var t=createNS("g");t.setAttribute("id",this.layerId),t.appendChild(this.layerElement),e=t,this.globalData.defs.appendChild(t)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var r=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var i=createElementID();if(r.setAttribute("id",i),r.appendChild(n),this.globalData.defs.appendChild(r),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),a.appendChild(this.layerElement),this.transformedElement=a,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,r,n,i,a=this.layerId+"_"+e;if(1===e||3===e){var s=createNS("mask");s.setAttribute("id",a),s.setAttribute("mask-type",3===e?"luminance":"alpha"),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(n),this.globalData.defs.appendChild(s),featureSupport.maskType||1!==e||(s.setAttribute("mask-type","luminance"),t=createElementID(),r=filtersFactory.createFilter(t),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(i=createNS("g")).appendChild(n),s.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===e){var o=createNS("mask");o.setAttribute("id",a),o.setAttribute("mask-type","alpha");var l=createNS("g");o.appendChild(l),t=createElementID(),r=filtersFactory.createFilter(t);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),r.appendChild(c);var u=createNS("feFuncA");u.setAttribute("type","table"),u.setAttribute("tableValues","1.0 0.0"),c.appendChild(u),this.globalData.defs.appendChild(r);var f=createNS("rect");f.setAttribute("width",this.comp.data.w),f.setAttribute("height",this.comp.data.h),f.setAttribute("x","0"),f.setAttribute("y","0"),f.setAttribute("fill","#ffffff"),f.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),l.appendChild(f),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(n),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),l.appendChild(f),i.appendChild(this.layerElement),l.appendChild(i)),this.globalData.defs.appendChild(o)}this.matteMasks[e]=a}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var 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},IShapeElement.prototype={addShapeToModifiers:function(e){var t,r=this.shapeModifiers.length;for(t=0;t<r;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,n=t.length;r<n;){if(t[r].elem===e)return t[r].pos;r+=1}return 0},addProcessedElement:function(e,t){for(var r=this.processedElements,n=r.length;n;)if(r[n-=1].elem===e)return void(r[n].pos=t);r.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,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 n=0,i=e.length;n<i;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,r,n){var 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(n);var a,s=t.length||0;for(i=0;i<s;i+=1)a=PropertyFactory.getProp(e,t[i].v,0,0,this),this.k=a.k||this.k,this.dataProps[i]={n:t[i].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}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}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}function SVGNoStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var n=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}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}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}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},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("svg"===this.renderer&&(this.dashStr=""),t=0;t<r;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?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),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,n=this.o.length/2;r<n;){if(Math.abs(e[4*r]-e[4*t+2*r])>.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,n,i=4*this.data.p;for(t=0;t<i;t+=1)r=t%4===0?100:255,n=Math.round(this.prop.v[t]*r),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=4*this.data.p;t<i;t+=1)r=t%2===0?100:1,n=t%2===0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==n&&(this.o[t-4*this.data.p]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),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(),n=createNS(1===t.t?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var i,a,s,o=[];for(s=4*t.g.p,a=0;a<s;a+=4)i=createNS("stop"),n.appendChild(i),o.push(i);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=n,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,i,a=createNS("mask"),s=createNS("path");a.appendChild(s);var o=createElementID(),l=createElementID();a.setAttribute("id",l);var c=createNS(1===e.t?"linearGradient":"radialGradient");c.setAttribute("id",o),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),i=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(n=4*e.g.p;n<i;n+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),u.push(r);s.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),"gs"===e.ty&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&s.setAttribute("stroke-miterlimit",e.ml)),this.of=c,this.ms=a,this.ost=u,this.maskId=l,t.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,r,n){if(0===t)return"";var i,a=e.o,s=e.i,o=e.v,l=" M"+n.applyToPointStringified(o[0][0],o[0][1]);for(i=1;i<t;i+=1)l+=" C"+n.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+n.applyToPointStringified(s[i][0],s[i][1])+" "+n.applyToPointStringified(o[i][0],o[i][1]);return r&&t&&(l+=" C"+n.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+n.applyToPointStringified(s[0][0],s[0][1])+" "+n.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function r(e,t,r){(r||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(r||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function n(){}function i(r,n,i){var a,s,o,l,c,u,f,d,p,h,m=n.styles.length,v=n.lvl;for(u=0;u<m;u+=1){if(l=n.sh._mdf||i,n.styles[u].lvl<v){for(d=t.reset(),p=v-n.styles[u].lvl,h=n.transformers.length-1;!l&&p>0;)l=n.transformers[h].mProps._mdf||l,p-=1,h-=1;if(l)for(p=v-n.styles[u].lvl,h=n.transformers.length-1;p>0;)d.multiply(n.transformers[h].mProps.v),p-=1,h-=1}else d=e;if(s=(f=n.sh.paths)._length,l){for(o="",a=0;a<s;a+=1)(c=f.shapes[a])&&c._length&&(o+=buildShapeString(c,c._length,c.c,d));n.caches[u]=o}else o=n.caches[u];n.styles[u].d+=!0===r.hd?"":o,n.styles[u]._mdf=l||n.styles[u]._mdf}}function a(e,t,r){var n=t.style;(t.c._mdf||r)&&n.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("fill-opacity",t.o.v)}function s(e,t,r){o(e,t,r),l(0,t,r)}function o(e,t,r){var n,i,a,s,o,l=t.gf,c=t.g._hasOpacity,u=t.s.v,f=t.e.v;if(t.o._mdf||r){var d="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(d,t.o.v)}if(t.s._mdf||r){var p=1===e.t?"x1":"cx",h="x1"===p?"y1":"cy";l.setAttribute(p,u[0]),l.setAttribute(h,u[1]),c&&!t.g._collapsable&&(t.of.setAttribute(p,u[0]),t.of.setAttribute(h,u[1]))}if(t.g._cmdf||r){n=t.cst;var m=t.g.c;for(a=n.length,i=0;i<a;i+=1)(s=n[i]).setAttribute("offset",m[4*i]+"%"),s.setAttribute("stop-color","rgb("+m[4*i+1]+","+m[4*i+2]+","+m[4*i+3]+")")}if(c&&(t.g._omdf||r)){var v=t.g.o;for(a=(n=t.g._collapsable?t.cst:t.ost).length,i=0;i<a;i+=1)s=n[i],t.g._collapsable||s.setAttribute("offset",v[2*i]+"%"),s.setAttribute("stop-opacity",v[2*i+1])}if(1===e.t)(t.e._mdf||r)&&(l.setAttribute("x2",f[0]),l.setAttribute("y2",f[1]),c&&!t.g._collapsable&&(t.of.setAttribute("x2",f[0]),t.of.setAttribute("y2",f[1])));else if((t.s._mdf||t.e._mdf||r)&&(o=Math.sqrt(Math.pow(u[0]-f[0],2)+Math.pow(u[1]-f[1],2)),l.setAttribute("r",o),c&&!t.g._collapsable&&t.of.setAttribute("r",o)),t.e._mdf||t.h._mdf||t.a._mdf||r){o||(o=Math.sqrt(Math.pow(u[0]-f[0],2)+Math.pow(u[1]-f[1],2)));var g=Math.atan2(f[1]-u[1],f[0]-u[0]),y=t.h.v;y>=1?y=.99:y<=-1&&(y=-.99);var b=o*y,x=Math.cos(g+t.a.v)*b+u[0],_=Math.sin(g+t.a.v)*b+u[1];l.setAttribute("fx",x),l.setAttribute("fy",_),c&&!t.g._collapsable&&(t.of.setAttribute("fx",x),t.of.setAttribute("fy",_))}}function l(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return a;case"gf":return o;case"gs":return s;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return r;case"no":return n;default:return null}}}}();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=[]}function LetterProps(e,t,r,n,i,a){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=i,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}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)}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,r,n,i=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r<a;r+=1){for(n=this.stylesList[r],o=!1,s.length=0,e=0;e<i;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(n)&&(s.push(t),o=t._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},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,n=new SVGStyleData(e,t),i=n.pElem;return"st"===e.ty?r=new SVGStrokeStyleData(this,e,n):"fl"===e.ty?r=new SVGFillStyleData(this,e,n):"gf"===e.ty||"gs"===e.ty?(r=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),i.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))):"no"===e.ty&&(r=new SVGNoStyleData(this,e,n)),"st"!==e.ty&&"gs"!==e.ty||(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),i.setAttribute("fill-opacity","0"),1===e.lj&&i.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&i.setAttribute("fill-rule","evenodd"),e.ln&&i.setAttribute("id",e.ln),e.cl&&i.setAttribute("class",e.cl),e.bm&&(i.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(n),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),n=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var n=4;"rc"===e.ty?n=5:"el"===e.ty?n=6:"sr"===e.ty&&(n=7);var i=new SVGShapeData(t,r,ShapePropertyFactory.getShapeProp(this,e,n,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,n=this.animatedContents.length;r<n;){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,r=e.styles,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||r.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var 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,n,i,a,s){var o,l,c,u,f,d,p=[].concat(a),h=e.length-1,m=[],v=[];for(o=h;o>=0;o-=1){if((d=this.searchProcessedElement(e[o]))?t[o]=r[d-1]:e[o]._render=s,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty||"no"===e[o].ty)d?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],i),e[o]._render&&t[o].style.pElem.parentNode!==n&&n.appendChild(t[o].style.pElem),m.push(t[o].style);else if("gr"===e[o].ty){if(d)for(c=t[o].it.length,l=0;l<c;l+=1)t[o].prevViewData[l]=t[o].it[l];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,t[o].gr,i+1,p,s),e[o]._render&&t[o].gr.parentNode!==n&&n.appendChild(t[o].gr)}else"tr"===e[o].ty?(d||(t[o]=this.createTransformElement(e[o],n)),u=t[o].transform,p.push(u)):"sh"===e[o].ty||"rc"===e[o].ty||"el"===e[o].ty||"sr"===e[o].ty?(d||(t[o]=this.createShapeElement(e[o],p,i)),this.setElementStyles(t[o])):"tm"===e[o].ty||"rd"===e[o].ty||"ms"===e[o].ty||"pb"===e[o].ty||"zz"===e[o].ty||"op"===e[o].ty?(d?(f=t[o]).closed=!1:((f=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=f,this.shapeModifiers.push(f)),v.push(f)):"rp"===e[o].ty&&(d?(f=t[o]).closed=!0:(f=ShapeModifiers.getModifier(e[o].ty),t[o]=f,f.init(this,e,o,t),this.shapeModifiers.push(f),s=!1),v.push(f));this.addProcessedElement(e[o],o+1)}for(h=m.length,o=0;o<h;o+=1)m[o].closed=!0;for(h=v.length,o=0;o<h;o+=1)v[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var 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,r=this.animatedContents.length;for(e=0;e<r;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,r,n,i,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,s=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,s=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,s=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,s=!0),s},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);else{var n;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(n=0;n<i;n+=1)a=r!==this.keysIndex?this.effectsSequence[n](a,a.t):this.effectsSequence[n](this.currentData,a.t);t!==a&&this.setCurrentData(a),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,n=e.length;r<=n-1&&!(r===n-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,n=[],i=0,a=e.length,s=!1,o=!1,l="";i<a;)s=o,o=!1,t=e.charCodeAt(i),l=e.charAt(i),FontManager.isCombinedCharacter(t)?s=!0:t>=55296&&t<=56319?FontManager.isRegionalFlag(e,i)?l=e.substr(i,14):(r=e.charCodeAt(i+1))>=56320&&r<=57343&&(FontManager.isModifier(t,r)?(l=e.substr(i,2),s=!0):l=FontManager.isFlagEmoji(e.substr(i,4))?e.substr(i,4):e.substr(i,2)):t>56319?(r=e.charCodeAt(i+1),FontManager.isVariationSelector(t)&&(s=!0)):FontManager.isZeroWidthJoiner(t)&&(s=!0,o=!0),s?(n[n.length-1]+=l,s=!1):n.push(l),i+=l.length;return n},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,n,i,a,s,o,l=this.elem.globalData.fontManager,c=this.data,u=[],f=0,d=c.m.g,p=0,h=0,m=0,v=[],g=0,y=0,b=l.getFontByName(e.f),x=0,_=getFontProperties(b);e.fWeight=_.weight,e.fStyle=_.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var w,S=e.tr/1e3*e.finalSize;if(e.sz)for(var k,E,C=!0,P=e.sz[0],T=e.sz[1];C;){k=0,g=0,r=(E=this.buildFinalText(e.t)).length,S=e.tr/1e3*e.finalSize;var M=-1;for(t=0;t<r;t+=1)w=E[t].charCodeAt(0),n=!1," "===E[t]?M=t:13!==w&&3!==w||(g=0,n=!0,k+=e.finalLineHeight||1.2*e.finalSize),l.chars?(o=l.getCharData(E[t],b.fStyle,b.fFamily),x=n?0:o.w*e.finalSize/100):x=l.measureText(E[t],e.f,e.finalSize),g+x>P&&" "!==E[t]?(-1===M?r+=1:t=M,k+=e.finalLineHeight||1.2*e.finalSize,E.splice(t,M===t?1:0,"\r"),M=-1,g=0):(g+=x,g+=S);k+=b.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&T<k?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=E,r=e.finalText.length,C=!1)}g=-S,x=0;var j,A=0;for(t=0;t<r;t+=1)if(n=!1,13===(w=(j=e.finalText[t]).charCodeAt(0))||3===w?(A=0,v.push(g),y=g>y?g:y,g=-2*S,i="",n=!0,m+=1):i=j,l.chars?(o=l.getCharData(j,b.fStyle,l.getFontByName(e.f).fFamily),x=n?0:o.w*e.finalSize/100):x=l.measureText(i,e.f,e.finalSize)," "===j?A+=x+S:(g+=x+S+A,A=0),u.push({l:x,an:x,add:p,n:n,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==d){if(p+=x,""===i||" "===i||t===r-1){for(""!==i&&" "!==i||(p-=x);h<=t;)u[h].an=p,u[h].ind=f,u[h].extra=x,h+=1;f+=1,p=0}}else if(3==d){if(p+=x,""===i||t===r-1){for(""===i&&(p-=x);h<=t;)u[h].an=p,u[h].ind=f,u[h].extra=x,h+=1;p=0,f+=1}}else u[f].ind=f,u[f].extra=0,f+=1;if(e.l=u,y=g>y?g:y,v.push(g),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=y,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=v;var O,D,N,I,F=c.a;s=F.length;var L=[];for(a=0;a<s;a+=1){for((O=F[a]).a.sc&&(e.strokeColorAnim=!0),O.a.sw&&(e.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(e.fillColorAnim=!0),I=0,N=O.s.b,t=0;t<r;t+=1)(D=u[t]).anIndexes[a]=I,(1==N&&""!==D.val||2==N&&""!==D.val&&" "!==D.val||3==N&&(D.n||" "==D.val||t==r-1)||4==N&&(D.n||t==r-1))&&(1===O.s.rn&&L.push(I),I+=1);c.a[a].s.totalChars=I;var R,B=-1;if(1===O.s.rn)for(t=0;t<r;t+=1)B!=(D=u[t]).anIndexes[a]&&(B=D.anIndexes[a],R=L.splice(Math.floor(Math.random()*L.length),1)[0]),D.anIndexes[a]=R}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=b.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?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 n(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,a=0,s=1,o=1;this.ne.v>0?i=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,a,s,o).get,c=0,u=this.finalS,f=this.finalE,d=this.data.sh;if(2===d)c=l(c=f===u?n>=f?1:0:e(0,t(.5/(f-u)+(n-u)/(f-u),1)));else if(3===d)c=l(c=f===u?n>=f?0:1:1-e(0,t(.5/(f-u)+(n-u)/(f-u),1)));else if(4===d)f===u?c=0:(c=e(0,t(.5/(f-u)+(n-u)/(f-u),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===d){if(f===u)c=0;else{var p=f-u,h=-p/2+(n=t(e(0,n+.5-u),f-u)),m=p/2;c=Math.sqrt(1-h*h/(m*m))}c=l(c)}else 6===d?(f===u?c=0:(n=t(e(0,n+.5-u),f-u),c=(1+Math.cos(Math.PI+2*Math.PI*n/(f-u)))/2),c=l(c)):(n>=r(u)&&(c=e(0,t(n-u<0?t(f,1)-(u-n):f-n,1))),c=l(c));if(100!==this.sm.v){var v=.01*this.sm.v;0===v&&(v=1e-8);var g=.5-.5*v;c<g?c=0:(c=(c-g)/v)>1&&(c=1)}return c*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/t,n=this.s.v/t+r,i=this.e.v/t+r;if(n>i){var a=n;n=i,i=a}this.finalS=n,this.finalE=i}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(e,t,r){return new n(e,t,r)}}}();function TextAnimatorDataProperty(e,t,r){var n={propType:!1},i=PropertyFactory.getProp,a=t.a;this.a={r:a.r?i(e,a.r,0,degToRads,r):n,rx:a.rx?i(e,a.rx,0,degToRads,r):n,ry:a.ry?i(e,a.ry,0,degToRads,r):n,sk:a.sk?i(e,a.sk,0,degToRads,r):n,sa:a.sa?i(e,a.sa,0,degToRads,r):n,s:a.s?i(e,a.s,1,.01,r):n,a:a.a?i(e,a.a,1,0,r):n,o:a.o?i(e,a.o,0,.01,r):n,p:a.p?i(e,a.p,1,0,r):n,sw:a.sw?i(e,a.sw,0,0,r):n,sc:a.sc?i(e,a.sc,1,0,r):n,fc:a.fc?i(e,a.fc,1,0,r):n,fh:a.fh?i(e,a.fh,0,0,r):n,fs:a.fs?i(e,a.fs,0,.01,r):n,fb:a.fb?i(e,a.fb,0,.01,r):n,t:a.t?i(e,a.t,0,0,r):n},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)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,n=PropertyFactory.getProp;for(e=0;e<r;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(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=n(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,n,i,a,s,o,l,c,u,f,d,p,h,m,v,g,y,b,x,_=this._moreOptions.alignment.v,w=this._animatorsData,S=this._textData,k=this.mHelper,E=this._renderType,C=this.renderedLetters.length,P=e.l;if(this._hasMaskedPath){if(x=this._pathData.m,!this._pathData.n||this._pathData._mdf){var T,M=x.v;for(this._pathData.r.v&&(M=M.reverse()),s={tLength:0,segments:[]},a=M._length-1,g=0,i=0;i<a;i+=1)T=bez.buildBezierData(M.v[i],M.v[i+1],[M.o[i][0]-M.v[i][0],M.o[i][1]-M.v[i][1]],[M.i[i+1][0]-M.v[i+1][0],M.i[i+1][1]-M.v[i+1][1]]),s.tLength+=T.segmentLength,s.segments.push(T),g+=T.segmentLength;i=a,x.v.c&&(T=bez.buildBezierData(M.v[i],M.v[0],[M.o[i][0]-M.v[i][0],M.o[i][1]-M.v[i][1]],[M.i[0][0]-M.v[0][0],M.i[0][1]-M.v[0][1]]),s.tLength+=T.segmentLength,s.segments.push(T),g+=T.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,o=this._pathData.f.v,d=0,f=1,c=0,u=!0,m=s.segments,o<0&&x.v.c)for(s.tLength<Math.abs(o)&&(o=-Math.abs(o)%s.tLength),f=(h=m[d=m.length-1].points).length-1;o<0;)o+=h[f].partialLength,(f-=1)<0&&(f=(h=m[d-=1].points).length-1);p=(h=m[d].points)[f-1],v=(l=h[f]).partialLength}a=P.length,r=0,n=0;var j,A,O,D,N,I=1.2*e.finalSize*.714,F=!0;O=w.length;var L,R,B,z,V,H,G,q,W,U,$,X,Y=-1,Z=o,J=d,K=f,Q=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var re=0,ne=0,ie=2===e.j?-.5:-1,ae=0,se=!0;for(i=0;i<a;i+=1)if(P[i].n){for(re&&(re+=ne);ae<i;)P[ae].animatorJustifyOffset=re,ae+=1;re=0,se=!0}else{for(A=0;A<O;A+=1)(j=w[A].a).t.propType&&(se&&2===e.j&&(ne+=j.t.v*ie),(N=w[A].s.getMult(P[i].anIndexes[A],S.a[A].s.totalChars)).length?re+=j.t.v*N[0]*ie:re+=j.t.v*N*ie);se=!1}for(re&&(re+=ne);ae<i;)P[ae].animatorJustifyOffset=re,ae+=1}for(i=0;i<a;i+=1){if(k.reset(),z=1,P[i].n)r=0,n+=e.yOffset,n+=F?1:0,o=Z,F=!1,this._hasMaskedPath&&(f=K,p=(h=m[d=J].points)[f-1],v=(l=h[f]).partialLength,c=0),ee="",$="",W="",X="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==P[i].line){switch(e.j){case 1:o+=g-e.lineWidths[P[i].line];break;case 2:o+=(g-e.lineWidths[P[i].line])/2}Q=P[i].line}Y!==P[i].ind&&(P[Y]&&(o+=P[Y].extra),o+=P[i].an/2,Y=P[i].ind),o+=_[0]*P[i].an*.005;var oe=0;for(A=0;A<O;A+=1)(j=w[A].a).p.propType&&((N=w[A].s.getMult(P[i].anIndexes[A],S.a[A].s.totalChars)).length?oe+=j.p.v[0]*N[0]:oe+=j.p.v[0]*N),j.a.propType&&((N=w[A].s.getMult(P[i].anIndexes[A],S.a[A].s.totalChars)).length?oe+=j.a.v[0]*N[0]:oe+=j.a.v[0]*N);for(u=!0,this._pathData.a.v&&(o=.5*P[0].an+(g-this._pathData.f.v-.5*P[0].an-.5*P[P.length-1].an)*Y/(a-1),o+=this._pathData.f.v);u;)c+v>=o+oe||!h?(y=(o+oe-c)/l.partialLength,R=p.point[0]+(l.point[0]-p.point[0])*y,B=p.point[1]+(l.point[1]-p.point[1])*y,k.translate(-_[0]*P[i].an*.005,-_[1]*I*.01),u=!1):h&&(c+=l.partialLength,(f+=1)>=h.length&&(f=0,m[d+=1]?h=m[d].points:x.v.c?(f=0,h=m[d=0].points):(c-=l.partialLength,h=null)),h&&(p=l,v=(l=h[f]).partialLength));L=P[i].an/2-P[i].add,k.translate(-L,0,0)}else L=P[i].an/2-P[i].add,k.translate(-L,0,0),k.translate(-_[0]*P[i].an*.005,-_[1]*I*.01,0);for(A=0;A<O;A+=1)(j=w[A].a).t.propType&&(N=w[A].s.getMult(P[i].anIndexes[A],S.a[A].s.totalChars),0===r&&0===e.j||(this._hasMaskedPath?N.length?o+=j.t.v*N[0]:o+=j.t.v*N:N.length?r+=j.t.v*N[0]:r+=j.t.v*N));for(e.strokeWidthAnim&&(H=e.sw||0),e.strokeColorAnim&&(V=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(G=[e.fc[0],e.fc[1],e.fc[2]]),A=0;A<O;A+=1)(j=w[A].a).a.propType&&((N=w[A].s.getMult(P[i].anIndexes[A],S.a[A].s.totalChars)).length?k.translate(-j.a.v[0]*N[0],-j.a.v[1]*N[1],j.a.v[2]*N[2]):k.translate(-j.a.v[0]*N,-j.a.v[1]*N,j.a.v[2]*N));for(A=0;A<O;A+=1)(j=w[A].a).s.propType&&((N=w[A].s.getMult(P[i].anIndexes[A],S.a[A].s.totalChars)).length?k.scale(1+(j.s.v[0]-1)*N[0],1+(j.s.v[1]-1)*N[1],1):k.scale(1+(j.s.v[0]-1)*N,1+(j.s.v[1]-1)*N,1));for(A=0;A<O;A+=1){if(j=w[A].a,N=w[A].s.getMult(P[i].anIndexes[A],S.a[A].s.totalChars),j.sk.propType&&(N.length?k.skewFromAxis(-j.sk.v*N[0],j.sa.v*N[1]):k.skewFromAxis(-j.sk.v*N,j.sa.v*N)),j.r.propType&&(N.length?k.rotateZ(-j.r.v*N[2]):k.rotateZ(-j.r.v*N)),j.ry.propType&&(N.length?k.rotateY(j.ry.v*N[1]):k.rotateY(j.ry.v*N)),j.rx.propType&&(N.length?k.rotateX(j.rx.v*N[0]):k.rotateX(j.rx.v*N)),j.o.propType&&(N.length?z+=(j.o.v*N[0]-z)*N[0]:z+=(j.o.v*N-z)*N),e.strokeWidthAnim&&j.sw.propType&&(N.length?H+=j.sw.v*N[0]:H+=j.sw.v*N),e.strokeColorAnim&&j.sc.propType)for(q=0;q<3;q+=1)N.length?V[q]+=(j.sc.v[q]-V[q])*N[0]:V[q]+=(j.sc.v[q]-V[q])*N;if(e.fillColorAnim&&e.fc){if(j.fc.propType)for(q=0;q<3;q+=1)N.length?G[q]+=(j.fc.v[q]-G[q])*N[0]:G[q]+=(j.fc.v[q]-G[q])*N;j.fh.propType&&(G=N.length?addHueToRGB(G,j.fh.v*N[0]):addHueToRGB(G,j.fh.v*N)),j.fs.propType&&(G=N.length?addSaturationToRGB(G,j.fs.v*N[0]):addSaturationToRGB(G,j.fs.v*N)),j.fb.propType&&(G=N.length?addBrightnessToRGB(G,j.fb.v*N[0]):addBrightnessToRGB(G,j.fb.v*N))}}for(A=0;A<O;A+=1)(j=w[A].a).p.propType&&(N=w[A].s.getMult(P[i].anIndexes[A],S.a[A].s.totalChars),this._hasMaskedPath?N.length?k.translate(0,j.p.v[1]*N[0],-j.p.v[2]*N[1]):k.translate(0,j.p.v[1]*N,-j.p.v[2]*N):N.length?k.translate(j.p.v[0]*N[0],j.p.v[1]*N[1],-j.p.v[2]*N[2]):k.translate(j.p.v[0]*N,j.p.v[1]*N,-j.p.v[2]*N));if(e.strokeWidthAnim&&(W=H<0?0:H),e.strokeColorAnim&&(U="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),e.fillColorAnim&&e.fc&&($="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),this._hasMaskedPath){if(k.translate(0,-e.ls),k.translate(0,_[1]*I*.01+n,0),this._pathData.p.v){b=(l.point[1]-p.point[1])/(l.point[0]-p.point[0]);var le=180*Math.atan(b)/Math.PI;l.point[0]<p.point[0]&&(le+=180),k.rotate(-le*Math.PI/180)}k.translate(R,B,0),o-=_[0]*P[i].an*.005,P[i+1]&&Y!==P[i+1].ind&&(o+=P[i].an/2,o+=.001*e.tr*e.finalSize)}else{switch(k.translate(r,n,0),e.ps&&k.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:k.translate(P[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[P[i].line]),0,0);break;case 2:k.translate(P[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[P[i].line])/2,0,0)}k.translate(0,-e.ls),k.translate(L,0,0),k.translate(_[0]*P[i].an*.005,_[1]*I*.01,0),r+=P[i].l+.001*e.tr*e.finalSize}"html"===E?ee=k.toCSS():"svg"===E?ee=k.to2dCSS():te=[k.props[0],k.props[1],k.props[2],k.props[3],k.props[4],k.props[5],k.props[6],k.props[7],k.props[8],k.props[9],k.props[10],k.props[11],k.props[12],k.props[13],k.props[14],k.props[15]],X=z}C<=i?(D=new LetterProps(X,W,U,$,ee,te),this.renderedLetters.push(D),C+=1,this.lettersChangedFlag=!0):(D=this.renderedLetters[i],this.lettersChangedFlag=D.update(X,W,U,$,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(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,n,i=t.length,a="";for(r=0;r<i;r+=1)"sh"===t[r].ty&&(n=t[r].ks.k,a+=buildShapeString(n,n.i.length,!0,e));return a},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,n,i){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)}t.translate(n,i,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}function ISolidElement(e,t,r){this.initElement(e,t,r)}function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}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}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var n=createNS("title"),i=createElementID();n.setAttribute("id",i),n.textContent=t.title,this.svgElement.appendChild(n),r+=i}if(t&&t.description){var a=createNS("desc"),s=createElementID();a.setAttribute("id",s),a.textContent=t.description,this.svgElement.appendChild(a),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),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||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,r=e.length,n=[],i="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(n.push(i),i=""):i+=e[t],t+=1;return n.push(i),n},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var n=r.it[r.it.length-1];n.s&&(n.s.k[0]=t,n.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var 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 n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var i=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",r.t);var s,o=r.l||[],l=!!this.globalData.fontManager.chars;t=o.length;var c=this.mHelper,u=this.data.singleShape,f=0,d=0,p=!0,h=.001*r.tr*r.finalSize;if(!u||l||r.sz){var m,v=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!u||0===e){if(s=v>e?this.textSpans[e].span:createNS(l?"g":"text"),v<=e){if(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=s,l){var g=createNS("g");s.appendChild(g),this.textSpans[e].childSpan=g}this.textSpans[e].span=s,this.layerElement.appendChild(s)}s.style.display="inherit"}if(c.reset(),u&&(o[e].n&&(f=-h,d+=r.yOffset,d+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(r,c,o[e].line,f,d),f+=o[e].l||0,f+=h),l){var y;if(1===(m=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)y=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,r.finalSize)),y=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[e].glyph){var x=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(x.layerElement),x.destroy()}this.textSpans[e].glyph=y,y._debug=!0,y.prepareFrame(0),y.renderFrame(),this.textSpans[e].childSpan.appendChild(y.layerElement),1===m.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else u&&s.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),s.textContent=o[e].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}u&&s&&s.setAttribute("d","")}else{var _=this.textContainer,w="start";switch(r.j){case 1:w="end";break;case 2:w="middle";break;default:w="start"}_.setAttribute("text-anchor",w),_.setAttribute("letter-spacing",h);var S=this.buildTextContents(r.finalText);for(t=S.length,d=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)(s=this.textSpans[e].span||createNS("tspan")).textContent=S[e],s.setAttribute("x",0),s.setAttribute("y",d),s.style.display="inherit",_.appendChild(s),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=s,d+=r.finalLineHeight;this.layerElement.appendChild(_)}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,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var r,n,i,a=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(t=s.length,e=0;e<t;e+=1)s[e].n||(r=a[e],n=this.textSpans[e].span,(i=this.textSpans[e].glyph)&&i.renderFrame(),r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("opacity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.setAttribute("fill",r.fc))}},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)},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),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),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var i=createElementID();r.setAttribute("id",i),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var 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]&&99!==this.layers[e].ty){t[e]=!0;var r=this.createItem(this.layers[e]);if(t[e]=r,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt){var n="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(-1===n)return;if(this.elements[n]&&!0!==this.elements[n]){var i=t[n].getMatte(this.layers[e].tt);r.setMatte(i)}else this.buildItem(n),this.addPendingElement(r)}}},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 n="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,i=this.elements[n].getMatte(this.layers[t].tt);e.setMatte(i);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var 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 n,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(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,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-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()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,r=e.length,n="_";for(t=0;t<r;t+=1)n+=e[t].transform.key+"_";var i=this.sequences[n];return i||(i={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=i,this.sequenceList.push(i)),i},processSequence:function(e,t){for(var r=0,n=e.transforms.length,i=t;r<n&&!t;){if(e.transforms[r].transform.mProps._mdf){i=!0;break}r+=1}if(i)for(e.finalTransform.reset(),r=n-1;r>=0;r-=1)e.finalTransform.multiply(e.transforms[r].transform.mProps.v);e._mdf=i},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t<r;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",t=null,r=null,n=null;function i(){t||(n=function(){var t=createNS("svg"),r=createNS("filter"),n=createNS("feColorMatrix");return r.setAttribute("id",e),n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.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"),r.appendChild(n),t.appendChild(r),t.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(t.style.display="none"),t}(),document.body.appendChild(n),t=createTag("canvas"),(r=t.getContext("2d")).filter="url(#"+e+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1))}return{load:i,get:function(n){return t||i(),t.width=n.width,t.height=n.height,r.filter="url(#"+e+")",t}}};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={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas},registeredEffects={};function CVEffects(e){var t,r,n=e.data.ef?e.data.ef.length:0;for(this.filters=[],t=0;t<n;t+=1){r=null;var i=e.data.ef[t].ty;registeredEffects[i]&&(r=new(0,registeredEffects[i].effect)(e.effectsManager.effectElements[t],e)),r&&this.filters.push(r)}this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){var r;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n=this.masksProperties.length,i=!1;for(r=0;r<n;r+=1)"n"!==this.masksProperties[r].mode&&(i=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVBaseElement(){}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,n=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,r,n,i=this.element.finalTransform.mat,a=this.element.canvasContext,s=this.masksProperties.length;for(a.beginPath(),e=0;e<s;e+=1)if("n"!==this.masksProperties[e].mode){var o;this.masksProperties[e].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),n=this.viewData[e].v,t=i.applyToPointArray(n.v[0][0],n.v[0][1],0),a.moveTo(t[0],t[1]);var l=n._length;for(o=1;o<l;o+=1)r=i.applyToTriplePoints(n.o[o-1],n.i[o],n.v[o]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=i.applyToTriplePoints(n.o[o-1],n.i[0],n.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(e,t,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,a=4;"rc"===t.ty?a=5:"el"===t.ty?a=6:"sr"===t.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,a,e);var s,o=r.length;for(i=0;i<o;i+=1)r[i].closed||(s={transforms:n.addTransformSequence(r[i].transforms),trNodes:[]},this.styledShapes.push(s),r[i].elements.push(s))}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)}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)}function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,r)}function CVSolidElement(e,t,r){this.initElement(e,t,r)}function CanvasRendererBase(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){var e;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,e=0;e<15;e+=1){var t=new CanvasContext;this.stack[e]=t}this._length=15,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}function CVCompElement(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}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,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||void 0===t.runExpressions||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))}function HBaseElement(){}function HSolidElement(e,t,r){this.initElement(e,t,r)}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}}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)}function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,e.pe,0,0,this),e.ks.p.s?(this.px=n(this,e.ks.p.x,1,0,this),this.py=n(this,e.ks.p.y,1,0,this),this.pz=n(this,e.ks.p.z,1,0,this)):this.p=n(this,e.ks.p,1,0,this),e.ks.a&&(this.a=n(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var i,a=e.ks.or.k.length;for(i=0;i<a;i+=1)e.ks.or.k[i].to=null,e.ks.or.k[i].ti=null}this.or=n(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,e.ks.rx,0,degToRads,this),this.ry=n(this,e.ks.ry,0,degToRads,this),this.rz=n(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}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&&!1===t.hideOnTransparent),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"}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}}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&&!1===t.hideOnTransparent),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||void 0===t.runExpressions||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"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,t=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(t);var r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r),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 e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},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(e){e.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 e=this.buffers[0].getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],t=e.getContext("2d");if(this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var r=assetLoader.getLumaCanvas(this.canvasContext.canvas);r.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,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(e){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},n={};if("fl"===e.ty||"st"===e.ty?(n.c=PropertyFactory.getProp(this,e.c,1,255,this),n.c.k||(r.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(n.s=PropertyFactory.getProp(this,e.s,1,null,this),n.e=PropertyFactory.getProp(this,e.e,1,null,this),n.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,e.g,this)),n.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],1==e.lj&&(r.ml=e.ml),n.w=PropertyFactory.getProp(this,e.w,0,null,this),n.w.k||(r.wi=n.w.v),e.d){var i=new DashProperty(this,e.d,"canvas",this);n.d=i,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},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(){var e;this._isFirstFrame=!0;var 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,n,i){var a,s,o,l,c,u,f=e.length-1,d=[],p=[],h=[].concat(i);for(a=f;a>=0;a-=1){if((l=this.searchProcessedElement(e[a]))?t[a]=r[l-1]:e[a]._shouldRender=n,"fl"===e[a].ty||"st"===e[a].ty||"gf"===e[a].ty||"gs"===e[a].ty)l?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],h),d.push(t[a].style);else if("gr"===e[a].ty){if(l)for(o=t[a].it.length,s=0;s<o;s+=1)t[a].prevViewData[s]=t[a].it[s];else t[a]=this.createGroupElement(e[a]);this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,n,h)}else"tr"===e[a].ty?(l||(u=this.createTransformElement(e[a]),t[a]=u),h.push(t[a]),this.addTransformToStyleList(t[a])):"sh"===e[a].ty||"rc"===e[a].ty||"el"===e[a].ty||"sr"===e[a].ty?l||(t[a]=this.createShapeElement(e[a])):"tm"===e[a].ty||"rd"===e[a].ty||"pb"===e[a].ty||"zz"===e[a].ty||"op"===e[a].ty?(l?(c=t[a]).closed=!1:((c=ShapeModifiers.getModifier(e[a].ty)).init(this,e[a]),t[a]=c,this.shapeModifiers.push(c)),p.push(c)):"rp"===e[a].ty&&(l?(c=t[a]).closed=!0:(c=ShapeModifiers.getModifier(e[a].ty),t[a]=c,c.init(this,e,a,t),this.shapeModifiers.push(c),n=!1),p.push(c));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),f=p.length,a=0;a<f;a+=1)p[a].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,r,n,i,a,s,o,l,c=this.stylesList.length,u=this.globalData.renderer,f=this.globalData.canvasContext;for(e=0;e<c;e+=1)if(("st"!==(o=(l=this.stylesList[e]).type)&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(u.save(),a=l.elements,"st"===o||"gs"===o?(u.ctxStrokeStyle("st"===o?l.co:l.grd),u.ctxLineWidth(l.wi),u.ctxLineCap(l.lc),u.ctxLineJoin(l.lj),u.ctxMiterLimit(l.ml||0)):u.ctxFillStyle("fl"===o?l.co:l.grd),u.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&f.beginPath(),u.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,t=0;t<r;t+=1){for("st"!==o&&"gs"!==o||(f.beginPath(),l.da&&(f.setLineDash(l.da),f.lineDashOffset=l.do)),i=(s=a[t].trNodes).length,n=0;n<i;n+=1)"m"===s[n].t?f.moveTo(s[n].p[0],s[n].p[1]):"c"===s[n].t?f.bezierCurveTo(s[n].pts[0],s[n].pts[1],s[n].pts[2],s[n].pts[3],s[n].pts[4],s[n].pts[5]):f.closePath();"st"!==o&&"gs"!==o||(u.ctxStroke(),l.da&&f.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&this.globalData.renderer.ctxFill(l.r),u.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,n){var i,a;for(a=e,i=t.length-1;i>=0;i-=1)"tr"===t[i].ty?(a=r[i].transform,this.renderShapeTransform(e,a)):"sh"===t[i].ty||"el"===t[i].ty||"rc"===t[i].ty||"sr"===t[i].ty?this.renderPath(t[i],r[i]):"fl"===t[i].ty?this.renderFill(t[i],r[i],a):"st"===t[i].ty?this.renderStroke(t[i],r[i],a):"gf"===t[i].ty||"gs"===t[i].ty?this.renderGradientFill(t[i],r[i],a):"gr"===t[i].ty?this.renderShape(a,t[i].it,r[i].it):t[i].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,n,i,a=e.trNodes,s=t.paths,o=s._length;a.length=0;var l=e.transforms.finalTransform;for(i=0;i<o;i+=1){var c=s.shapes[i];if(c&&c.v){for(n=c._length,r=1;r<n;r+=1)1===r&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===n&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&n&&(a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),a.push({t:"z"}))}}e.trNodes=a}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var r,n=t.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var n=t.style;(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var n,i=t.style;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var a,s=this.globalData.canvasContext,o=t.s.v,l=t.e.v;if(1===e.t)n=s.createLinearGradient(o[0],o[1],l[0],l[1]);else{var c=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),u=Math.atan2(l[1]-o[1],l[0]-o[0]),f=t.h.v;f>=1?f=.99:f<=-1&&(f=-.99);var d=c*f,p=Math.cos(u+t.a.v)*d+o[0],h=Math.sin(u+t.a.v)*d+o[1];n=s.createRadialGradient(p,h,0,o[0],o[1],c)}var m=e.g.p,v=t.g.c,g=1;for(a=0;a<m;a+=1)t.g._hasOpacity&&t.g._collapsable&&(g=t.g.o[2*a+1]),n.addColorStop(v[4*a]/100,"rgba("+v[4*a+1]+","+v[4*a+2]+","+v[4*a+3]+","+g+")");i.grd=n}i.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||this._isFirstFrame)&&(n.da=i.dashArray,n.do=i.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(n.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},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 n,i,a,s,o,l,c,u,f,d,p,h,m=this.globalData.fontManager.getFontByName(e.f),v=e.l,g=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,i=e.finalText.length;var y=this.data.singleShape,b=.001*e.tr*e.finalSize,x=0,_=0,w=!0,S=0;for(n=0;n<i;n+=1){s=(a=this.globalData.fontManager.getCharData(e.finalText[n],m.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&a.data||{},g.reset(),y&&v[n].n&&(x=-b,_+=e.yOffset,_+=w?1:0,w=!1),f=(c=s.shapes?s.shapes[0].it:[]).length,g.scale(e.finalSize/100,e.finalSize/100),y&&this.applyTextPropertiesToMatrix(e,g,v[n].line,x,_),p=createSizedArray(f-1);var k=0;for(u=0;u<f;u+=1)if("sh"===c[u].ty){for(l=c[u].ks.k.i.length,d=c[u].ks.k,h=[],o=1;o<l;o+=1)1===o&&h.push(g.applyToX(d.v[0][0],d.v[0][1],0),g.applyToY(d.v[0][0],d.v[0][1],0)),h.push(g.applyToX(d.o[o-1][0],d.o[o-1][1],0),g.applyToY(d.o[o-1][0],d.o[o-1][1],0),g.applyToX(d.i[o][0],d.i[o][1],0),g.applyToY(d.i[o][0],d.i[o][1],0),g.applyToX(d.v[o][0],d.v[o][1],0),g.applyToY(d.v[o][0],d.v[o][1],0));h.push(g.applyToX(d.o[o-1][0],d.o[o-1][1],0),g.applyToY(d.o[o-1][0],d.o[o-1][1],0),g.applyToX(d.i[0][0],d.i[0][1],0),g.applyToY(d.i[0][0],d.i[0][1],0),g.applyToX(d.v[0][0],d.v[0][1],0),g.applyToY(d.v[0][0],d.v[0][1],0)),p[k]=h,k+=1}y&&(x+=v[n].l,x+=b),this.textSpans[S]?this.textSpans[S].elem=p:this.textSpans[S]={elem:p},S+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,r,n,i,a;this.validateText(),this.canvasContext.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,o=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;t=l.length;var c,u,f=null,d=null,p=null,h=this.globalData.renderer;for(e=0;e<t;e+=1)if(!l[e].n){if((s=o[e])&&(h.save(),h.ctxTransform(s.p),h.ctxOpacity(s.o)),this.fill){for(s&&s.fc?f!==s.fc&&(h.ctxFillStyle(s.fc),f=s.fc):f!==this.values.fill&&(f=this.values.fill,h.ctxFillStyle(this.values.fill)),n=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(u=c[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(u[i],u[i+1],u[i+2],u[i+3],u[i+4],u[i+5]);this.globalData.canvasContext.closePath(),h.ctxFill()}if(this.stroke){for(s&&s.sw?p!==s.sw&&(p=s.sw,h.ctxLineWidth(s.sw)):p!==this.values.sWidth&&(p=this.values.sWidth,h.ctxLineWidth(this.values.sWidth)),s&&s.sc?d!==s.sc&&(d=s.sc,h.ctxStrokeStyle(s.sc)):d!==this.values.stroke&&(d=this.values.stroke,h.ctxStrokeStyle(this.values.stroke)),n=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(u=c[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(u[i],u[i+1],u[i+2],u[i+3],u[i+4],u[i+5]);this.globalData.canvasContext.closePath(),h.ctxStroke()}s&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,r,n=e.getContext("2d"),i=this.img.width,a=this.img.height,s=i/a,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>o&&"xMidYMid slice"===l||s<o&&"xMidYMid slice"!==l?t=(r=a)*o:r=(t=i)/o,n.drawImage(this.img,(i-t)/2,(a-r)/2,t,r,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},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(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){1===e[0]&&0===e[1]&&0===e[4]&&1===e[5]&&0===e[12]&&0===e[13]||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,n){this.canvasContext.fillRect(e,t,r,n)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){this.renderConfig.clearCanvas?(e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)):this.canvasContext.restore()},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){var r,n,i,a;if(this.reset(),e?(r=e,n=t,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=n):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,n=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=n*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var s=this.renderConfig.preserveAspectRatio.split(" "),o=s[1]||"meet",l=s[0]||"xMidYMid",c=l.substr(0,4),u=l.substr(4);i=r/n,(a=this.transformCanvas.w/this.transformCanvas.h)>i&&"meet"===o||a<i&&"slice"===o?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===c&&(a<i&&"meet"===o||a>i&&"slice"===o)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===c&&(a<i&&"meet"===o||a>i&&"slice"===o)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===u&&(a>i&&"meet"===o||a<i&&"slice"===o)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===u&&(a>i&&"meet"===o||a<i&&"slice"===o)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-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||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var r;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 n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var e=2*this._length,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,r=this.stack[this.cArrPos],n=r.transform,i=this.cTr.props;for(t=0;t<16;t+=1)i[t]=n[t];if(e){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),(e||-1!==r.opacity&&this.currentOpacity!==r.opacity)&&(this.nativeContext.globalAlpha=r.opacity,this.currentOpacity=r.opacity),this.currentFillStyle=r.fillStyle,this.currentStrokeStyle=r.strokeStyle,this.currentLineWidth=r.lineWidth,this.currentLineCap=r.lineCap,this.currentLineJoin=r.lineJoin,this.currentMiterLimit=r.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r,n=this.stack[this.cArrPos];for(r=0;r<16;r+=1)n.transform[r]=t[r];this.cArrPos+=1;var i=this.stack[this.cArrPos];i.opacity=n.opacity,i.fillStyle=n.fillStyle,i.strokeStyle=n.strokeStyle,i.lineWidth=n.lineWidth,i.lineCap=n.lineCap,i.lineJoin=n.lineJoin,i.miterLimit=n.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,n){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,r,n)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-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)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).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")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},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,n=e.length;for(r=0;r<n;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r,n,i,a,s,o=e.sh.v,l=e.transformers,c=o._length;if(!(c<=1)){for(r=0;r<c-1;r+=1)n=this.getTransformedPoint(l,o.v[r]),i=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[r+1]),s=this.getTransformedPoint(l,o.v[r+1]),this.checkBounds(n,i,a,s,t);o.c&&(n=this.getTransformedPoint(l,o.v[r]),i=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[0]),s=this.getTransformedPoint(l,o.v[0]),this.checkBounds(n,i,a,s,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,n,i){this.getBoundsOfCurve(e,t,r,n);var a=this.shapeBoundingBox;i.x=bmMin(a.left,i.x),i.xMax=bmMax(a.right,i.xMax),i.y=bmMin(a.top,i.y),i.yMax=bmMax(a.bottom,i.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,n){for(var i,a,s,o,l,c,u,f=[[e[0],n[0]],[e[1],n[1]]],d=0;d<2;++d)a=6*e[d]-12*t[d]+6*r[d],i=-3*e[d]+9*t[d]-9*r[d]+3*n[d],s=3*t[d]-3*e[d],a|=0,s|=0,0===(i|=0)&&0===a||(0===i?(o=-s/a)>0&&o<1&&f[d].push(this.calculateF(o,e,t,r,n,d)):(l=a*a-4*s*i)>=0&&((c=(-a+bmSqrt(l))/(2*i))>0&&c<1&&f[d].push(this.calculateF(c,e,t,r,n,d)),(u=(-a-bmSqrt(l))/(2*i))>0&&u<1&&f[d].push(this.calculateF(u,e,t,r,n,d))));this.shapeBoundingBox.left=bmMin.apply(null,f[0]),this.shapeBoundingBox.top=bmMin.apply(null,f[1]),this.shapeBoundingBox.right=bmMax.apply(null,f[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,f[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,i,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*r[a]+3*(1-e)*bmPow(e,2)*n[a]+bmPow(e,3)*i[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;r<n;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 n=0;n<e.keyframes.length;n+=1){var i=e.keyframes[n].s;i>r&&(r=i)}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 n=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";n.transform=i,n.webkitTransform=i}}},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 n,i,a=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{t.fontFamily=a.fFamily;var s=e.fWeight,o=e.fStyle;t.fontStyle=o,t.fontWeight=s}var l,c,u,f=e.l;i=f.length;var d,p=this.mHelper,h="",m=0;for(n=0;n<i;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?u=(c=this.textSpans[m]).children[0]:((c=createTag("div")).style.lineHeight=0,(u=createNS("svg")).appendChild(l),styleDiv(c)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(c=this.textSpans[m],l=this.textPaths[m]):(styleDiv(c=createTag("span")),styleDiv(l=createTag("span")),c.appendChild(l)),this.globalData.fontManager.chars){var v,g=this.globalData.fontManager.getCharData(e.finalText[n],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(v=g?g.data:null,p.reset(),v&&v.shapes&&v.shapes.length&&(d=v.shapes[0].it,p.scale(e.finalSize/100,e.finalSize/100),h=this.createPathShape(p,d),l.setAttribute("d",h)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(c),v&&v.shapes){document.body.appendChild(u);var y=u.getBBox();u.setAttribute("width",y.width+2),u.setAttribute("height",y.height+2),u.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2));var b=u.style,x="translate("+(y.x-1)+"px,"+(y.y-1)+"px)";b.transform=x,b.webkitTransform=x,f[n].yOffset=y.y-1}else u.setAttribute("width",1),u.setAttribute("height",1);c.appendChild(u)}}else if(l.textContent=f[n].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(c);var _=l.style,w="translate3d(0,"+-e.finalSize/1.2+"px,0)";_.transform=w,_.webkitTransform=w}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=c,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),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,n,i,a,s,o=0,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;for(n=c.length,r=0;r<n;r+=1)c[r].n?o+=1:(a=this.textSpans[r],s=this.textPaths[r],i=l[o],o+=1,i._mdf.m&&(this.isMasked?a.setAttribute("transform",i.m):(a.style.webkitTransform=i.m,a.style.transform=i.m)),a.style.opacity=i.o,i.sw&&i._mdf.sw&&s.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&s.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(s.setAttribute("fill",i.fc),s.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();if(this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height)),this.currentBBox.w!==u.width+2||this.currentBBox.h!==u.height+2||this.currentBBox.x!==u.x-1||this.currentBBox.y!==u.y-1){this.currentBBox.w=u.width+2,this.currentBBox.h=u.height+2,this.currentBBox.x=u.x-1,this.currentBBox.y=u.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var f="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=f,e.webkitTransform=f}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,r,n,i=this.comp.threeDElements.length;for(e=0;e<i;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){r=t.perspectiveElem.style,n=t.container.style;var a=this.pe.v+"px",s="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,n.transformOrigin=s,n.mozTransformOrigin=s,n.webkitTransformOrigin=s,r.transform=o,r.webkitTransform=o}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,r=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)r=this.hierarchy[e].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=t=this.hierarchy.length-1;e>=0;e-=1){var n=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.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 i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),s=[i[0]/a,i[1]/a,i[2]/a],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),c=Math.atan2(s[0],-s[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){var f,d,p;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(f=this.comp.threeDElements[e]).type){if(u){var h=this.mat.toCSS();(p=f.container.style).transform=h,p.webkitTransform=h}this.pe._mdf&&((d=f.perspectiveElem.style).perspective=this.pe.v+"px",d.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},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)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){var n=this.layers[t];if(n.ddd&&this.supports3d)this.addTo3dContainer(r,t);else if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var i,a,s=0;s<t;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s],i=(this.layers[s].ddd?this.getThreeDContainerByPos(s):a.getBaseElement())||i),s+=1;i?n.ddd&&this.supports3d||this.layerElement.insertBefore(r,i):n.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},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,n,i=createTag("div");styleDiv(i);var a=createTag("div");if(styleDiv(a),"3d"===t){(r=i.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var s="50% 50%";r.webkitTransformOrigin=s,r.mozTransformOrigin=s,r.transformOrigin=s;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(n=a.style).transform=o,n.webkitTransform=o}i.appendChild(a);var l={container:a,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,r=this.layers.length,n="";for(e=0;e<r;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==n&&(n="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==n&&(n="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(r=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;r<n;){if(t<=this.threeDElements[r].endPos){for(var i,a=this.threeDElements[r].startPos;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(i=this.elements[a].getBaseElement()),a+=1;i?this.threeDElements[r].container.insertBefore(e,i):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,n=t.style;n.width=e.w+"px",n.height=e.h+"px",this.resizerElem=t,styleDiv(t),n.transformStyle="flat",n.mozTransformStyle="flat",n.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),n.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var a=createNS("defs");i.appendChild(a),this.data=e,this.setupGlobalData(e,i),this.globalData.defs=a,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var 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,t,r,n,i=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,s=i/a;this.globalData.compSize.w/this.globalData.compSize.h>s?(e=i/this.globalData.compSize.w,t=i/this.globalData.compSize.w,r=0,n=(a-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(e=a/this.globalData.compSize.h,t=a/this.globalData.compSize.h,r=(i-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,n=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+n+",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,t=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(e=0;e<n;e+=1){var i=this.threeDElements[e].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(r,2))+"px",i.perspective=i.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,r=e.length,n=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var i=this.createComp(e[t],n,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},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,n=0;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(e,r):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},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(e){function t(t){for(var r=0,n=e.layers.length;r<n;){if(e.layers[r].nm===t||e.layers[r].ind===t)return e.elements[r].layerInterface;r+=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){return _typeof$2="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(e)}function seedRandom(e,t){var r,n=this,i=256,a="random",s=t.pow(i,6),o=t.pow(2,52),l=2*o,c=i-1;function u(e){var t,r=e.length,n=this,a=0,s=n.i=n.j=0,o=n.S=[];for(r||(e=[r++]);a<i;)o[a]=a++;for(a=0;a<i;a++)o[a]=o[s=c&s+e[a%r]+(t=o[a])],o[s]=t;n.g=function(e){for(var t,r=0,a=n.i,s=n.j,o=n.S;e--;)t=o[a=c&a+1],r=r*i+o[c&(o[a]=o[s=c&s+t])+(o[s]=t)];return n.i=a,n.j=s,r}}function f(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function d(e,t){var r,n=[],i=_typeof$2(e);if(t&&"object"==i)for(r in e)try{n.push(d(e[r],t-1))}catch(a){}return n.length?n:"string"==i?e:e+"\0"}function p(e,t){for(var r,n=e+"",i=0;i<n.length;)t[c&i]=c&(r^=19*t[c&i])+n.charCodeAt(i++);return h(t)}function h(e){return String.fromCharCode.apply(0,e)}t["seed"+a]=function(c,m,v){var g=[],y=p(d((m=!0===m?{entropy:!0}:m||{}).entropy?[c,h(e)]:null===c?function(){try{if(r)return h(r.randomBytes(i));var t=new Uint8Array(i);return(n.crypto||n.msCrypto).getRandomValues(t),h(t)}catch(o){var a=n.navigator,s=a&&a.plugins;return[+new Date,n,s,n.screen,h(e)]}}():c,3),g),b=new u(g),x=function(){for(var e=b.g(6),t=s,r=0;e<o;)e=(e+r)*i,t*=i,r=b.g(1);for(;e>=l;)e/=2,t/=2,r>>>=1;return(e+r)/t};return x.int32=function(){return 0|b.g(4)},x.quick=function(){return b.g(4)/4294967296},x.double=x,p(h(b.S),e),(m.pass||v||function(e,r,n,i){return i&&(i.S&&f(i,b),e.state=function(){return f(b,{})}),n?(t[a]=e,r):e})(x,y,"global"in m?m.global:this==t,m.state)},p(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){return _typeof$1="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||t instanceof Number||"boolean"===e||"string"===e}function $bm_neg(e){var t=_typeof$1(e);if("number"===t||e instanceof Number||"boolean"===t)return-e;if($bm_isInstanceOfArray(e)){var r,n=e.length,i=[];for(r=0;r<n;r+=1)i[r]=-e[r];return i}return e.propType?e.v:-e}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var r=_typeof$1(e),n=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(n,t)||"string"===r||"string"===n)return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,a=e.length,s=t.length,o=[];i<a||i<s;)("number"===typeof e[i]||e[i]instanceof Number)&&("number"===typeof t[i]||t[i]instanceof Number)?o[i]=e[i]+t[i]:o[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return o}return 0}var add=sum;function sub(e,t){var r=_typeof$1(e),n=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(n,t))return"string"===r&&(e=parseInt(e,10)),"string"===n&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,a=e.length,s=t.length,o=[];i<a||i<s;)("number"===typeof e[i]||e[i]instanceof Number)&&("number"===typeof t[i]||t[i]instanceof Number)?o[i]=e[i]-t[i]:o[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return o}return 0}function mul(e,t){var r,n,i,a=_typeof$1(e),s=_typeof$1(t);if(isNumerable(a,e)&&isNumerable(s,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e[n]*t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e*t[n];return r}return 0}function div(e,t){var r,n,i,a=_typeof$1(e),s=_typeof$1(t);if(isNumerable(a,e)&&isNumerable(s,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e[n]/t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e/t[n];return r}return 0}function mod(e,t){return"string"===typeof e&&(e=parseInt(e,10)),"string"===typeof t&&(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 n=r;r=t,t=n}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("number"===typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var r;t||(t=helperLengthArray);var n=Math.min(e.length,t.length),i=0;for(r=0;r<n;r+=1)i+=Math.pow(t[r]-e[r],2);return Math.sqrt(i)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,r,n=e[0],i=e[1],a=e[2],s=Math.max(n,i,a),o=Math.min(n,i,a),l=(s+o)/2;if(s===o)t=0,r=0;else{var c=s-o;switch(r=l>.5?c/(2-s-o):c/(s+o),s){case n:t=(i-a)/c+(i<a?6:0);break;case i:t=(a-n)/c+2;break;case a:t=(n-i)/c+4}t/=6}return[t,r,l,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t,r,n,i=e[0],a=e[1],s=e[2];if(0===a)t=s,n=s,r=s;else{var o=s<.5?s*(1+a):s+a-s*a,l=2*s-o;t=hue2rgb(l,o,i+1/3),r=hue2rgb(l,o,i),n=hue2rgb(l,o,i-1/3)}return[t,r,n,e[3]]}function linear(e,t,r,n,i){if(void 0!==n&&void 0!==i||(n=t,i=r,t=0,r=1),r<t){var a=r;r=t,t=a}if(e<=t)return n;if(e>=r)return i;var s,o=r===t?0:(e-t)/(r-t);if(!n.length)return n+(i-n)*o;var l=n.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=n[s]+(i[s]-n[s])*o;return c}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var r,n=t.length;e||(e=createTypedArray("float32",n));var i=createTypedArray("float32",n),a=BMMath.random();for(r=0;r<n;r+=1)i[r]=e[r]+a*(t[r]-e[r]);return i}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,r,n){var i,a=e.length,s=shapePool.newElement();s.setPathData(!!n,a);var o,l,c=[0,0];for(i=0;i<a;i+=1)o=t&&t[i]?t[i]:c,l=r&&r[i]?r[i]:c,s.setTripleAt(e[i][0],e[i][1],l[0]+e[i][0],l[1]+e[i][1],o[0]+e[i][0],o[1]+e[i][1],i,!0);return s}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=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var r,n,i=this.pv.length?this.pv.length:1,a=createTypedArray("float32",i),s=Math.floor(5*time);for(r=0,n=0;r<s;){for(n=0;n<i;n+=1)a[n]+=-t+2*t*BMMath.random();r+=1}var o=5*time,l=o-Math.floor(o),c=createTypedArray("float32",i);if(i>1){for(n=0;n<i;n+=1)c[n]=this.pv[n]+a[n]+(-t+2*t*BMMath.random())*l;return c}return this.pv+a[0]+(-t+2*t*BMMath.random())*l}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],n=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,n,0]}function easeOut(e,t,r,n,i){return applyEase(easeOutBez,e,t,r,n,i)}function easeIn(e,t,r,n,i){return applyEase(easeInBez,e,t,r,n,i)}function ease(e,t,r,n,i){return applyEase(easeInOutBez,e,t,r,n,i)}function applyEase(e,t,r,n,i,a){void 0===i?(i=r,a=n):t=(t-r)/(n-r),t>1?t=1:t<0&&(t=0);var s=e(t);if($bm_isInstanceOfArray(i)){var o,l=i.length,c=createTypedArray("float32",l);for(o=0;o<l;o+=1)c[o]=(a[o]-i[o])*s+i[o];return c}return(a-i)*s+i}function nearestKey(e){var t,r,n,i=data.k.length;if(data.k.length&&"number"!==typeof data.k[0])if(r=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,n=data.k[0].t;else{for(t=0;t<i-1;t+=1){if(e===data.k[t].t){r=t+1,n=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(r=t+2,n=data.k[t+1].t):(r=t+1,n=data.k[t].t);break}}-1===r&&(r=t+1,n=data.k[t].t)}else r=0,n=0;var a={};return a.index=r,a.time=n/elem.comp.globalData.frameRate,a}function key(e){var t,r,n;if(!data.k.length||"number"===typeof data.k[0])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 i=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=i.length,r=0;r<n;r+=1)t[r]=i[r],t.value[r]=i[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(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"string"===typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"===typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={initExpressions:function(e){var t=0,r=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0===(t-=1)&&function(){var e,t=r.length;for(e=0;e<t;e+=1)r[e].release();r.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===r.indexOf(e)&&r.push(e)}}};return e.resetFrame=ExpressionManager.resetFrame,e}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}return 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(),100*this._mask.op.v}}),function(t){var r,n=createSizedArray(t.viewData.length),i=t.viewData.length;for(r=0;r<i;r+=1)n[r]=new e(t.viewData[r],t.masksProperties[r]);return function(e){for(r=0;r<i;){if(t.masksProperties[r].nm===e)return n[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(e,t,r){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(n){if(!e.numKeys)return 0;var i="";i="s"in t.keyframes[n-1]?t.keyframes[n-1].s:"e"in t.keyframes[n-2]?t.keyframes[n-2].e:t.keyframes[n-2].s;var a="unidimensional"===r?new Number(i):Object.assign({},i);return a.time=t.keyframes[n-1].t/t.elem.comp.globalData.frameRate,a.value="unidimensional"===r?i[0]:i,a},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function n(){return e}return function(i){return i?"unidimensional"===i.propType?function(t){t&&"pv"in t||(t=e);var n=1/t.mult,i=t.pv*n,a=new Number(i);return a.value=i,r(a,t,"unidimensional"),function(){return t.k&&t.getValue(),i=t.v*n,a.value!==i&&((a=new Number(i)).value=i,r(a,t,"unidimensional")),a}}(i):function(e){e&&"pv"in e||(e=t);var n=1/e.mult,i=e.data&&e.data.l||e.pv.length,a=createTypedArray("float32",i),s=createTypedArray("float32",i);return a.value=s,r(a,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<i;t+=1)s[t]=e.v[t]*n,a[t]=s[t];return a}}(i):n}}(),TransformExpressionInterface=function(e){function t(e){switch(e){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}}var r,n,i,a;return 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)}),e.p?a=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),n=ExpressionPropertyInterface(e.py),e.pz&&(i=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[r(),n(),i?i():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(e){var t=new Matrix;return void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t),t}function t(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,e)}function r(e,t){var r=this.getMatrix(t);return this.applyPoint(r,e)}function n(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,e)}function i(e,t){var r=this.getMatrix(t);return this.invertPoint(r,e)}function a(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function s(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function o(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function l(){return[1,1,1,1]}return function(c){var u;function f(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return f.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return f.effect;case"ADBE Text Properties":return f.textInterface;default:return null}}f.getMatrix=e,f.invertPoint=s,f.applyPoint=a,f.toWorld=r,f.toWorldVec=t,f.fromWorld=i,f.fromWorldVec=n,f.toComp=r,f.fromComp=o,f.sampleImage=l,f.sourceRectAtTime=c.sourceRectAtTime.bind(c),f._elem=c;var d=getDescriptor(u=TransformExpressionInterface(c.finalTransform.mProp),"anchorPoint");return Object.defineProperties(f,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return u}},active:{get:function(){return c.isInRange}}}),f.startTime=c.data.st,f.index=c.data.ind,f.source=c.data.refId,f.height=0===c.data.ty?c.data.h:100,f.width=0===c.data.ty?c.data.w:100,f.inPoint=c.data.ip/c.comp.globalData.frameRate,f.outPoint=c.data.op/c.comp.globalData.frameRate,f._name=c.data.nm,f.registerMaskInterface=function(e){f.mask=new MaskManagerInterface(e,c)},f.registerEffectsInterface=function(e){f.effect=e},f}}(),propertyGroupFactory=function(e,t){return function(r){return(r=void 0===r?1:r)<=0?e:t(r-1)}},PropertyInterface=function(e,t){var r={_name:e};return function(e){return(e=void 0===e?1:e)<=0?r:t(e-1)}},EffectsExpressionInterface=function(){function e(r,n,i,a){function s(e){for(var t=r.ef,n=0,i=t.length;n<i;){if(e===t[n].nm||e===t[n].mn||e===t[n].ix)return 5===t[n].ty?c[n]:c[n]();n+=1}throw new Error}var o,l=propertyGroupFactory(s,i),c=[],u=r.ef.length;for(o=0;o<u;o+=1)5===r.ef[o].ty?c.push(e(r.ef[o],n.effectElements[o],n.effectElements[o].propertyGroup,a)):c.push(t(n.effectElements[o],r.ef[o].ty,a,l));return"ADBE Color Control"===r.mn&&Object.defineProperty(s,"color",{get:function(){return c[0]()}}),Object.defineProperties(s,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:l}}),s.enabled=0!==r.en,s.active=s.enabled,s}function t(e,t,r,n){var i=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",n)),function(){return 10===t?r.comp.compInterface(e.p.v):i()}}return{createEffectsInterface:function(t,r){if(t.effectsManager){var n,i=[],a=t.data.ef,s=t.effectsManager.effectElements.length;for(n=0;n<s;n+=1)i.push(e(a[n],t.effectsManager.effectElements[n],r,t));var o=t.data.ef||[],l=function(e){for(n=0,s=o.length;n<s;){if(e===o[n].nm||e===o[n].mn||e===o[n].ix)return i[n];n+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return o.length}}),l}return null}}}(),ShapePathInterface=function(e,t,r){var n=t.sh;function i(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?i.path:null}var a=propertyGroupFactory(i,r);return n.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(i,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:r}}),i},ShapeExpressionInterface=function(){function e(e,s,d){var p,h=[],m=e?e.length:0;for(p=0;p<m;p+=1)"gr"===e[p].ty?h.push(t(e[p],s[p],d)):"fl"===e[p].ty?h.push(r(e[p],s[p],d)):"st"===e[p].ty?h.push(i(e[p],s[p],d)):"tm"===e[p].ty?h.push(a(e[p],s[p],d)):"tr"===e[p].ty||("el"===e[p].ty?h.push(o(e[p],s[p],d)):"sr"===e[p].ty?h.push(l(e[p],s[p],d)):"sh"===e[p].ty?h.push(ShapePathInterface(e[p],s[p],d)):"rc"===e[p].ty?h.push(c(e[p],s[p],d)):"rd"===e[p].ty?h.push(u(e[p],s[p],d)):"rp"===e[p].ty?h.push(f(e[p],s[p],d)):"gf"===e[p].ty?h.push(n(e[p],s[p],d)):h.push((e[p],s[p],function(){return null})));return h}function t(t,r,n){var i=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=propertyGroupFactory(i,n);var a=function(t,r,n){var i,a=function(e){for(var t=0,r=i.length;t<r;){if(i[t]._name===e||i[t].mn===e||i[t].propertyIndex===e||i[t].ix===e||i[t].ind===e)return i[t];t+=1}return"number"===typeof e?i[e-1]:null};a.propertyGroup=propertyGroupFactory(a,n),i=e(t.it,r.it,a.propertyGroup),a.numProperties=i.length;var o=s(t.it[t.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.transform=o,a.propertyIndex=t.cix,a._name=t.nm,a}(t,r,i.propertyGroup),o=s(t.it[t.it.length-1],r.it[r.it.length-1],i.propertyGroup);return i.content=a,i.transform=o,Object.defineProperty(i,"_name",{get:function(){return t.nm}}),i.numProperties=t.np,i.propertyIndex=t.ix,i.nm=t.nm,i.mn=t.mn,i}function r(e,t,r){function n(e){return"Color"===e||"color"===e?n.color:"Opacity"===e||"opacity"===e?n.opacity:null}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function n(e,t,r){function n(e){return"Start Point"===e||"start point"===e?n.startPoint:"End Point"===e||"end point"===e?n.endPoint:"Opacity"===e||"opacity"===e?n.opacity:null}return Object.defineProperties(n,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",r)),t.e.setGroupProperty(PropertyInterface("End Point",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function i(e,t,r){var n,i=propertyGroupFactory(c,r),a=propertyGroupFactory(l,i);function s(r){Object.defineProperty(l,e.d[r].nm,{get:ExpressionPropertyInterface(t.d.dataProps[r].p)})}var o=e.d?e.d.length:0,l={};for(n=0;n<o;n+=1)s(n),t.d.dataProps[n].p.setGroupProperty(a);function c(e){return"Color"===e||"color"===e?c.color:"Opacity"===e||"opacity"===e?c.opacity:"Stroke Width"===e||"stroke width"===e?c.strokeWidth:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return l}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",i)),t.o.setGroupProperty(PropertyInterface("Opacity",i)),t.w.setGroupProperty(PropertyInterface("Stroke Width",i)),c}function a(e,t,r){function n(t){return t===e.e.ix||"End"===t||"end"===t?n.end:t===e.s.ix?n.start:t===e.o.ix?n.offset:null}var i=propertyGroupFactory(n,r);return n.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",i)),t.e.setGroupProperty(PropertyInterface("End",i)),t.o.setGroupProperty(PropertyInterface("Offset",i)),n.propertyIndex=e.ix,n.propertyGroup=r,Object.defineProperties(n,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),n.mn=e.mn,n}function s(e,t,r){function n(t){return e.a.ix===t||"Anchor Point"===t?n.anchorPoint:e.o.ix===t||"Opacity"===t?n.opacity:e.p.ix===t||"Position"===t?n.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?n.rotation:e.s.ix===t||"Scale"===t?n.scale:e.sk&&e.sk.ix===t||"Skew"===t?n.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?n.skewAxis:null}var i=propertyGroupFactory(n,r);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",i)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",i)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",i)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",i)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",i)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",i)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",i))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",i)),Object.defineProperties(n,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),n.ty="tr",n.mn=e.mn,n.propertyGroup=r,n}function o(e,t,r){function n(t){return e.p.ix===t?n.position:e.s.ix===t?n.size:null}var i=propertyGroupFactory(n,r);n.propertyIndex=e.ix;var a="tm"===t.sh.ty?t.sh.prop:t.sh;return a.s.setGroupProperty(PropertyInterface("Size",i)),a.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(n,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:e.nm}}),n.mn=e.mn,n}function l(e,t,r){function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.rotation:e.pt.ix===t?n.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?n.outerRadius:e.os.ix===t?n.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?n.innerRoundness:null:n.innerRadius}var i=propertyGroupFactory(n,r),a="tm"===t.sh.ty?t.sh.prop:t.sh;return n.propertyIndex=e.ix,a.or.setGroupProperty(PropertyInterface("Outer Radius",i)),a.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),a.pt.setGroupProperty(PropertyInterface("Points",i)),a.p.setGroupProperty(PropertyInterface("Position",i)),a.r.setGroupProperty(PropertyInterface("Rotation",i)),e.ir&&(a.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),a.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:e.nm}}),n.mn=e.mn,n}function c(e,t,r){function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?n.size:null}var i=propertyGroupFactory(n,r),a="tm"===t.sh.ty?t.sh.prop:t.sh;return n.propertyIndex=e.ix,a.p.setGroupProperty(PropertyInterface("Position",i)),a.s.setGroupProperty(PropertyInterface("Size",i)),a.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:e.nm}}),n.mn=e.mn,n}function u(e,t,r){function n(t){return e.r.ix===t||"Round Corners 1"===t?n.radius:null}var i=propertyGroupFactory(n,r),a=t;return n.propertyIndex=e.ix,a.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(n,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:e.nm}}),n.mn=e.mn,n}function f(e,t,r){function n(t){return e.c.ix===t||"Copies"===t?n.copies:e.o.ix===t||"Offset"===t?n.offset:null}var i=propertyGroupFactory(n,r),a=t;return n.propertyIndex=e.ix,a.c.setGroupProperty(PropertyInterface("Copies",i)),a.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(n,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:e.nm}}),n.mn=e.mn,n}return function(t,r,n){var i;function a(e){if("number"===typeof e)return 0===(e=void 0===e?1:e)?n:i[e-1];for(var t=0,r=i.length;t<r;){if(i[t]._name===e)return i[t];t+=1}return null}return a.propertyGroup=propertyGroupFactory(a,(function(){return n})),i=e(t,r,a.propertyGroup),a.numProperties=i.length,a._name="Contents",a}}(),TextExpressionInterface=function(e){var t;function r(e){return"ADBE Text Document"===e?r.sourceText:null}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var r=e.textProperty.currentData.t;return t&&r===t.value||((t=new String(r)).value=r||new String(r),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),r};function _typeof(e){return _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var FootageInterface=function(){var e=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",r=e.getFootageData();function n(e){if(r[e])return t=e,"object"===_typeof(r=r[e])?n:r;var i=e.indexOf(t);if(-1!==i){var a=parseInt(e.substr(i+t.length),10);return"object"===_typeof(r=r[a])?n:r}return""}return function(){return t="",r=e.getFootageData(),n}}(e),t};return function(t){function r(e){return"Data"===e?r.dataInterface:null}return r._name="Data",r.dataInterface=e(t),r}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers={searchExpressions:function(e,t,r){t.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(e,t,r).bind(r)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),r=this.getValueAtTime(e+-.01),n=0;if(t.length){var i;for(i=0;i<t.length;i+=1)n+=Math.pow(r[i]-t[i],2);n=100*Math.sqrt(n)}else n=0;return n},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,r,n=-.001,i=this.getValueAtTime(e),a=this.getValueAtTime(e+n);if(i.length)for(t=createTypedArray("float32",i.length),r=0;r<i.length;r+=1)t[r]=(a[r]-i[r])/n;else t=(a-i)/n;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,r){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var n,i,a,s,o,l=this.comp.renderedFrame,c=this.keyframes,u=c[c.length-1].t;if(l<=u)return this.pv;if(r?i=u-(n=t?Math.abs(u-this.elem.comp.globalData.frameRate*t):Math.max(0,u-this.elem.data.ip)):((!t||t>c.length-1)&&(t=c.length-1),n=u-(i=c[c.length-1-t].t)),"pingpong"===e){if(Math.floor((l-i)/n)%2!==0)return this.getValueAtTime((n-(l-i)%n+i)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var f=this.getValueAtTime(i/this.comp.globalData.frameRate,0),d=this.getValueAtTime(u/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0),h=Math.floor((l-i)/n);if(this.pv.length){for(s=(o=new Array(f.length)).length,a=0;a<s;a+=1)o[a]=(d[a]-f[a])*h+p[a];return o}return(d-f)*h+p}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),v=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-v[a])*((l-u)/this.comp.globalData.frameRate)/5e-4;return o}return m+(l-u)/.001*(m-v)}}return this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0)}function t(e,t,r){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var n,i,a,s,o,l=this.comp.renderedFrame,c=this.keyframes,u=c[0].t;if(l>=u)return this.pv;if(r?i=u+(n=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-u)):((!t||t>c.length-1)&&(t=c.length-1),n=(i=c[t].t)-u),"pingpong"===e){if(Math.floor((u-l)/n)%2===0)return this.getValueAtTime(((u-l)%n+u)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var f=this.getValueAtTime(u/this.comp.globalData.frameRate,0),d=this.getValueAtTime(i/this.comp.globalData.frameRate,0),p=this.getValueAtTime((n-(u-l)%n+u)/this.comp.globalData.frameRate,0),h=Math.floor((u-l)/n)+1;if(this.pv.length){for(s=(o=new Array(f.length)).length,a=0;a<s;a+=1)o[a]=p[a]-(d[a]-f[a])*h;return o}return p-(d-f)*h}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),v=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-v[a])*(u-l)/.001;return o}return m+(m-v)*(u-l)/.001}}return this.getValueAtTime((n-((u-l)%n+u))/this.comp.globalData.frameRate,0)}function r(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var r,n,i=this.comp.renderedFrame/this.comp.globalData.frameRate,a=i-e,s=t>1?(i+e-a)/(t-1):1,o=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;o<t;){if(n=this.getValueAtTime(a+o*s),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=n[l];else r+=n;o+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=t;else r/=t;return r}function n(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(e);t.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var n=this.s.getValueAtTime(e);t.scale(n[0]*this.s.mult,n[1]*this.s.mult,n[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var i=this.sk.getValueAtTime(e),a=this.sa.getValueAtTime(e);t.skewFromAxis(-i*this.sk.mult,a*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var s=this.r.getValueAtTime(e);t.rotate(-s*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(e),l=this.ry.getValueAtTime(e),c=this.rx.getValueAtTime(e),u=this.or.getValueAtTime(e);t.rotateZ(-o*this.rz.mult).rotateY(l*this.ry.mult).rotateX(c*this.rx.mult).rotateZ(-u[2]*this.or.mult).rotateY(u[1]*this.or.mult).rotateX(u[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var f=this.px.getValueAtTime(e),d=this.py.getValueAtTime(e);if(this.data.p.z){var p=this.pz.getValueAtTime(e);t.translate(f*this.px.mult,d*this.py.mult,-p*this.pz.mult)}else t.translate(f*this.px.mult,d*this.py.mult,0)}else{var h=this.p.getValueAtTime(e);t.translate(h[0]*this.p.mult,h[1]*this.p.mult,-h[2]*this.p.mult)}return t}function i(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,r){var s=a(e,t,r);return s.dynamicProperties.length?s.getValueAtTime=n.bind(s):s.getValueAtTime=i.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(n,i,a,o,l){var c=s(n,i,a,o,l);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=1===i.a?i.k.length:0,c.propertyIndex=i.ix;var u=0;return 0!==a&&(u=createTypedArray("float32",1===i.a?i.k[0].s.length:i.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(n,i,c),c.k&&l.addDynamicProperty(c),c};var o=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(e,t){this.k&&this.getValue();var r,n=this.v;void 0!==t&&(n=this.getValueAtTime(t,0));var i=n._length,a=n[e],s=n.v,o=createSizedArray(i);for(r=0;r<i;r+=1)o[r]="i"===e||"o"===e?[a[r][0]-s[r][0],a[r][1]-s[r][1]]:[a[r][0],a[r][1]];return o},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var n,i=this._segmentsLength,a=i.lengths,s=i.totalLength*e,o=0,l=a.length,c=0;o<l;){if(c+a[o].addedLength>s){var u=o,f=r.c&&o===l-1?0:o+1,d=(s-c)/a[o].addedLength;n=bez.getPointInSegment(r.v[u],r.v[f],r.o[u],r.i[f],d,a[o]);break}c+=a[o].addedLength,o+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(e,t,r){1==e?e=this.v.c:0==e&&(e=.999);var n=this.pointOnPath(e,t),i=this.pointOnPath(e+.001,t),a=i[0]-n[0],s=i[1]-n[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(s,2));return 0===o?[0,0]:"tangent"===r?[a/o,s/o]:[-s/o,a/o]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],o),extendPrototype([c],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var u=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,r,n,i){var a=u(e,t,r,n,i);return a.propertyIndex=t.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(e,t.pt,a):4===r&&expressionHelpers.searchExpressions(e,t.ks,a),a.k&&e.addDynamicProperty(a),a}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var r=this.calculateExpression(t);if(e.t!==r){var n={};return this.copyData(n,e),n.t=r.toString(),n.__complete=!1,n}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(e,t){var r,n,i=createNS("feMerge");for(i.setAttribute("result",e),n=0;n<t.length;n+=1)(r=createNS("feMergeNode")).setAttribute("in",t[n]),i.appendChild(r),i.appendChild(r);return i}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,r,n,i){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",n+"_tint_1"),e.appendChild(a),(a=createNS("feColorMatrix")).setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",n+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var s=this.createMergeNode(n,[i,n+"_tint_1",n+"_tint_2"]);e.appendChild(s)}function SVGFillFilter(e,t,r,n){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",n),e.appendChild(i),this.matrixFilter=i}function SVGStrokeEffect(e,t,r){this.initialized=!1,this.filterManager=t,this.elem=r,this.paths=[]}function SVGTritoneFilter(e,t,r,n){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.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(i);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",n),this.matrixFilter=a;var s=createNS("feFuncR");s.setAttribute("type","table"),a.appendChild(s),this.feFuncR=s;var o=createNS("feFuncG");o.setAttribute("type","table"),a.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,e.appendChild(a)}function SVGProLevelsFilter(e,t,r,n){this.filterManager=t;var i=this.filterManager.effectElements,a=createNS("feComponentTransfer");(i[10].p.k||0!==i[10].p.v||i[11].p.k||1!==i[11].p.v||i[12].p.k||1!==i[12].p.v||i[13].p.k||0!==i[13].p.v||i[14].p.k||1!==i[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(i[17].p.k||0!==i[17].p.v||i[18].p.k||1!==i[18].p.v||i[19].p.k||1!==i[19].p.v||i[20].p.k||0!==i[20].p.v||i[21].p.k||1!==i[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(i[24].p.k||0!==i[24].p.v||i[25].p.k||1!==i[25].p.v||i[26].p.k||1!==i[26].p.v||i[27].p.k||0!==i[27].p.v||i[28].p.k||1!==i[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(i[31].p.k||0!==i[31].p.v||i[32].p.k||1!==i[32].p.v||i[33].p.k||1!==i[33].p.v||i[34].p.k||0!==i[34].p.v||i[35].p.k||1!==i[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a)),(i[3].p.k||0!==i[3].p.v||i[4].p.k||1!==i[4].p.v||i[5].p.k||1!==i[5].p.v||i[6].p.k||0!==i[6].p.v||i[7].p.k||1!==i[7].p.v)&&((a=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",n),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}function SVGDropShadowEffect(e,t,r,n,i){var a=t.container.globalData.renderConfig.filterSize,s=t.data.fs||a;e.setAttribute("x",s.x||a.x),e.setAttribute("y",s.y||a.y),e.setAttribute("width",s.width||a.width),e.setAttribute("height",s.height||a.height),this.filterManager=t;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",n+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,e.appendChild(o);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",n+"_drop_shadow_1"),l.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=c,e.appendChild(c);var u=createNS("feComposite");u.setAttribute("in",n+"_drop_shadow_3"),u.setAttribute("in2",n+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",n+"_drop_shadow_4"),e.appendChild(u);var f=this.createMergeNode(n,[n+"_drop_shadow_4",i]);e.appendChild(f)}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,n=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+n+" 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")}},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")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,r,n,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,r=0):n=1+(r=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);r<n;r+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),s=createElementID();a.setAttribute("id",s),a.setAttribute("mask-type","alpha"),a.appendChild(t),this.elem.globalData.defs.appendChild(a);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+s+")");i[0];)o.appendChild(i[0]);this.elem.layerElement.appendChild(o),this.masker=a,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){var t;this.initialized||this.initialize();var r,n,i=this.paths.length;for(t=0;t<i;t+=1)if(-1!==this.paths[t].m&&(r=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&n.setAttribute("d",r.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||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var s=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=n.getTotalLength();a="0 0 0 "+l*s+" ";var c,u=l*(o-s),f=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(u/f);for(c=0;c<d;c+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var p=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*p[0])+","+bmFloor(255*p[1])+","+bmFloor(255*p[2])+")")}},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,n=this.filterManager.effectElements[2].p.v,i=n[0]+" "+r[0]+" "+t[0],a=n[1]+" "+r[1]+" "+t[1],s=n[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",s)}},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,n,i){for(var a,s,o=0,l=Math.min(e,t),c=Math.max(e,t),u=Array.call(null,{length:256}),f=0,d=i-n,p=t-e;o<=256;)s=(a=o/256)<=l?p<0?i:n:a>=c?p<0?n:i:n+d*Math.pow((a-e)/p,1/r),u[f]=s,f+=1,o+=256/255;return u.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))}},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(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}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,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=r*Math.cos(n),a=r*Math.sin(n);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",a)}}};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}function SVGGaussianBlurEffect(e,t,r,n){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var i=createNS("feGaussianBlur");i.setAttribute("result",n),e.appendChild(i),this.feGaussianBlur=i}function TransformEffect(){}function SVGTransformEffect(e,t){this.init(t)}function CVTransformEffect(e){this.init(e)}return 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 n,i=r.children,a=0,s=i.length;a<s&&i[a]!==e.layerElement;)a+=1;a<=s-2&&(n=i[a+1]);var o=createNS("use");o.setAttribute("href","#"+t),n?r.insertBefore(o,n):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),n=createNS("mask");n.setAttribute("id",t.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var i=e.globalData.defs;i.appendChild(n);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(t,r),a.appendChild(t.layerElement),i.appendChild(a);var s=createNS("use");s.setAttribute("href","#"+r),n.appendChild(s),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,n=t.length;r<n;)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()},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=3==r?0:t,i=2==r?0:t;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+i);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},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,n=t[1].p.v,i=1===t[2].p.v,a=t[3].p.v,s=i?a:t[4].p.v,o=t[5].p.v,l=t[6].p.v,c=t[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(.01*s,.01*a,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-o*degToRads,(l+90)*degToRads),this.matrix.translate(n[0],n[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie},module.exports=factory())},463:function(e,t,r){"use strict";var n=r(791),i=r(296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,o={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(o[e]=t,e=0;e<t.length;e++)s.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,r,n,i,a,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,r,n){var i=v.hasOwnProperty(t)?v[t]:null;(null!==i?0!==i.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null===t||"undefined"===typeof t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,i,n)&&(r=null),n||null===i?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=null===r?3!==i.type&&"":r:(t=i.attributeName,n=i.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(i=i.type)||4===i&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),w=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),P=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),O=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var D=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var N=Symbol.iterator;function I(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=N&&e[N]||e["@@iterator"])?e:null}var F,L=Object.assign;function R(e){if(void 0===F)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);F=t&&t[1]||""}return"\n"+F+e}var B=!1;function z(e,t){if(!e||B)return"";B=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}catch(c){if(c&&n&&"string"===typeof c.stack){for(var i=c.stack.split("\n"),a=n.stack.split("\n"),s=i.length-1,o=a.length-1;1<=s&&0<=o&&i[s]!==a[o];)o--;for(;1<=s&&0<=o;s--,o--)if(i[s]!==a[o]){if(1!==s||1!==o)do{if(s--,0>--o||i[s]!==a[o]){var l="\n"+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=s&&0<=o);break}}}finally{B=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?R(e):""}function V(e){switch(e.tag){case 5:return R(e.type);case 16:return R("Lazy");case 13:return R("Suspense");case 19:return R("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case S:return"Fragment";case w:return"Portal";case E:return"Profiler";case k:return"StrictMode";case M:return"Suspense";case j:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case A:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case O:t=e._payload,e=e._init;try{return H(e(t))}catch(r){}}return null}function G(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function U(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof r&&"function"===typeof r.get&&"function"===typeof r.set){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=W(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function X(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var r=t.checked;return L({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function Z(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=q(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function J(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function K(e,t){J(e,t);var r=q(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,r):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Q(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ee(e,t,r){"number"===t&&X(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var te=Array.isArray;function re(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+q(r),t=null,i=0;i<e.length;i++){if(e[i].value===r)return e[i].selected=!0,void(n&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return L({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(a(92));if(te(r)){if(1<r.length)throw Error(a(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:q(r)}}function ae(e,t){var r=q(t.value),n=q(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function oe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?oe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,fe=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return ue(e,t)}))}:ue);function de(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,r){return null==t||"boolean"===typeof t||""===t?"":r||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),i=me(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=L({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xe=null;function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,Se=null,ke=null;function Ee(e){if(e=bi(e)){if("function"!==typeof we)throw Error(a(280));var t=e.stateNode;t&&(t=_i(t),we(e.stateNode,e.type,t))}}function Ce(e){Se?ke?ke.push(e):ke=[e]:Se=e}function Pe(){if(Se){var e=Se,t=ke;if(ke=Se=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Te(e,t){return e(t)}function Me(){}var je=!1;function Ae(e,t,r){if(je)return e(t,r);je=!0;try{return Te(e,t,r)}finally{je=!1,(null!==Se||null!==ke)&&(Me(),Pe())}}function Oe(e,t){var r=e.stateNode;if(null===r)return null;var n=_i(r);if(null===n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!==typeof r)throw Error(a(231,t,typeof r));return r}var De=!1;if(u)try{var Ne={};Object.defineProperty(Ne,"passive",{get:function(){De=!0}}),window.addEventListener("test",Ne,Ne),window.removeEventListener("test",Ne,Ne)}catch(ue){De=!1}function Ie(e,t,r,n,i,a,s,o,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(u){this.onError(u)}}var Fe=!1,Le=null,Re=!1,Be=null,ze={onError:function(e){Fe=!0,Le=e}};function Ve(e,t,r,n,i,a,s,o,l){Fe=!1,Le=null,Ie.apply(ze,arguments)}function He(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function Ge(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(He(e)!==e)throw Error(a(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(a(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(null===i)break;var s=i.alternate;if(null===s){if(null!==(n=i.return)){r=n;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===r)return qe(i),e;if(s===n)return qe(i),t;s=s.sibling}throw Error(a(188))}if(r.return!==n.return)r=i,n=s;else{for(var o=!1,l=i.child;l;){if(l===r){o=!0,r=i,n=s;break}if(l===n){o=!0,n=i,r=s;break}l=l.sibling}if(!o){for(l=s.child;l;){if(l===r){o=!0,r=s,n=i;break}if(l===n){o=!0,n=s,r=i;break}l=l.sibling}if(!o)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?e:t}(e))?Ue(e):null}function Ue(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ue(e);if(null!==t)return t;e=e.sibling}return null}var $e=i.unstable_scheduleCallback,Xe=i.unstable_cancelCallback,Ye=i.unstable_shouldYield,Ze=i.unstable_requestPaint,Je=i.unstable_now,Ke=i.unstable_getCurrentPriorityLevel,Qe=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,rt=i.unstable_LowPriority,nt=i.unstable_IdlePriority,it=null,at=null;var st=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ot(e)/lt|0)|0},ot=Math.log,lt=Math.LN2;var ct=64,ut=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,i=e.suspendedLanes,a=e.pingedLanes,s=268435455&r;if(0!==s){var o=s&~i;0!==o?n=ft(o):0!==(a&=s)&&(n=ft(a))}else 0!==(s=r&~i)?n=ft(s):0!==a&&(n=ft(a));if(0===n)return 0;if(0!==t&&t!==n&&0===(t&i)&&((i=n&-n)>=(a=t&-t)||16===i&&0!==(4194240&a)))return t;if(0!==(4&n)&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)i=1<<(r=31-st(t)),n|=e[r],t&=~i;return n}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return 0===(4194240&(ct<<=1))&&(ct=64),e}function vt(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function gt(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-st(t)]=r}function yt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-st(r),i=1<<n;i&t|e[n]&t&&(e[n]|=t),r&=~i}}var bt=0;function xt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var _t,wt,St,kt,Et,Ct=!1,Pt=[],Tt=null,Mt=null,jt=null,At=new Map,Ot=new Map,Dt=[],Nt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":Mt=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":At.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ot.delete(t.pointerId)}}function Ft(e,t,r,n,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:a,targetContainers:[i]},null!==t&&(null!==(t=bi(t))&&wt(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Lt(e){var t=yi(e.target);if(null!==t){var r=He(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=Ge(r)))return e.blockedOn=t,void Et(e.priority,(function(){St(r)}))}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Rt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=bi(r))&&wt(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);xe=n,r.target.dispatchEvent(n),xe=null,t.shift()}return!0}function Bt(e,t,r){Rt(e)&&r.delete(t)}function zt(){Ct=!1,null!==Tt&&Rt(Tt)&&(Tt=null),null!==Mt&&Rt(Mt)&&(Mt=null),null!==jt&&Rt(jt)&&(jt=null),At.forEach(Bt),Ot.forEach(Bt)}function Vt(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,zt)))}function Ht(e){function t(t){return Vt(t,e)}if(0<Pt.length){Vt(Pt[0],e);for(var r=1;r<Pt.length;r++){var n=Pt[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==Tt&&Vt(Tt,e),null!==Mt&&Vt(Mt,e),null!==jt&&Vt(jt,e),At.forEach(t),Ot.forEach(t),r=0;r<Dt.length;r++)(n=Dt[r]).blockedOn===e&&(n.blockedOn=null);for(;0<Dt.length&&null===(r=Dt[0]).blockedOn;)Lt(r),null===r.blockedOn&&Dt.shift()}var Gt=x.ReactCurrentBatchConfig,qt=!0;function Wt(e,t,r,n){var i=bt,a=Gt.transition;Gt.transition=null;try{bt=1,$t(e,t,r,n)}finally{bt=i,Gt.transition=a}}function Ut(e,t,r,n){var i=bt,a=Gt.transition;Gt.transition=null;try{bt=4,$t(e,t,r,n)}finally{bt=i,Gt.transition=a}}function $t(e,t,r,n){if(qt){var i=Yt(e,t,r,n);if(null===i)qn(e,t,n,Xt,r),It(e,n);else if(function(e,t,r,n,i){switch(t){case"focusin":return Tt=Ft(Tt,e,t,r,n,i),!0;case"dragenter":return Mt=Ft(Mt,e,t,r,n,i),!0;case"mouseover":return jt=Ft(jt,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return At.set(a,Ft(At.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,Ot.set(a,Ft(Ot.get(a)||null,e,t,r,n,i)),!0}return!1}(i,e,t,r,n))n.stopPropagation();else if(It(e,n),4&t&&-1<Nt.indexOf(e)){for(;null!==i;){var a=bi(i);if(null!==a&&_t(a),null===(a=Yt(e,t,r,n))&&qn(e,t,n,Xt,r),a===i)break;i=a}null!==i&&n.stopPropagation()}else qn(e,t,n,null,r)}}var Xt=null;function Yt(e,t,r,n){if(Xt=null,null!==(e=yi(e=_e(n))))if(null===(t=He(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=Ge(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xt=e,null}function Zt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ke()){case Qe:return 1;case et:return 4;case tt:case rt:return 16;case nt:return 536870912;default:return 16}default:return 16}}var Jt=null,Kt=null,Qt=null;function er(){if(Qt)return Qt;var e,t,r=Kt,n=r.length,i="value"in Jt?Jt.value:Jt.textContent,a=i.length;for(e=0;e<n&&r[e]===i[e];e++);var s=n-e;for(t=1;t<=s&&r[n-t]===i[a-t];t++);return Qt=i.slice(e,1<t?1-t:void 0)}function tr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rr(){return!0}function nr(){return!1}function ir(e){function t(t,r,n,i,a){for(var s in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(s)&&(t=e[s],this[s]=t?t(i):i[s]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?rr:nr,this.isPropagationStopped=nr,this}return L(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rr)},persist:function(){},isPersistent:rr}),t}var ar,sr,or,lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cr=ir(lr),ur=L({},lr,{view:0,detail:0}),fr=ir(ur),dr=L({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==or&&(or&&"mousemove"===e.type?(ar=e.screenX-or.screenX,sr=e.screenY-or.screenY):sr=ar=0,or=e),ar)},movementY:function(e){return"movementY"in e?e.movementY:sr}}),pr=ir(dr),hr=ir(L({},dr,{dataTransfer:0})),mr=ir(L({},ur,{relatedTarget:0})),vr=ir(L({},lr,{animationName:0,elapsedTime:0,pseudoElement:0})),gr=L({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yr=ir(gr),br=ir(L({},lr,{data:0})),xr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_r={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wr[e])&&!!t[e]}function kr(){return Sr}var Er=L({},ur,{key:function(e){if(e.key){var t=xr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_r[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kr,charCode:function(e){return"keypress"===e.type?tr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Cr=ir(Er),Pr=ir(L({},dr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Tr=ir(L({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kr})),Mr=ir(L({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0})),jr=L({},dr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ar=ir(jr),Or=[9,13,27,32],Dr=u&&"CompositionEvent"in window,Nr=null;u&&"documentMode"in document&&(Nr=document.documentMode);var Ir=u&&"TextEvent"in window&&!Nr,Fr=u&&(!Dr||Nr&&8<Nr&&11>=Nr),Lr=String.fromCharCode(32),Rr=!1;function Br(e,t){switch(e){case"keyup":return-1!==Or.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zr(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Vr=!1;var Hr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hr[e.type]:"textarea"===t}function qr(e,t,r,n){Ce(n),0<(t=Un(t,"onChange")).length&&(r=new cr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Wr=null,Ur=null;function $r(e){Rn(e,0)}function Xr(e){if($(xi(e)))return e}function Yr(e,t){if("change"===e)return t}var Zr=!1;if(u){var Jr;if(u){var Kr="oninput"in document;if(!Kr){var Qr=document.createElement("div");Qr.setAttribute("oninput","return;"),Kr="function"===typeof Qr.oninput}Jr=Kr}else Jr=!1;Zr=Jr&&(!document.documentMode||9<document.documentMode)}function en(){Wr&&(Wr.detachEvent("onpropertychange",tn),Ur=Wr=null)}function tn(e){if("value"===e.propertyName&&Xr(Ur)){var t=[];qr(t,Ur,e,_e(e)),Ae($r,t)}}function rn(e,t,r){"focusin"===e?(en(),Ur=r,(Wr=t).attachEvent("onpropertychange",tn)):"focusout"===e&&en()}function nn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xr(Ur)}function an(e,t){if("click"===e)return Xr(t)}function sn(e,t){if("input"===e||"change"===e)return Xr(t)}var on="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ln(e,t){if(on(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var i=r[n];if(!f.call(t,i)||!on(e[i],t[i]))return!1}return!0}function cn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function un(e,t){var r,n=cn(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=cn(n)}}function fn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dn(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var r="string"===typeof t.contentWindow.location.href}catch(n){r=!1}if(!r)break;t=X((e=t.contentWindow).document)}return t}function pn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hn(e){var t=dn(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&fn(r.ownerDocument.documentElement,r)){if(null!==n&&pn(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=r.textContent.length,a=Math.min(n.start,i);n=void 0===n.end?a:Math.min(n.end,i),!e.extend&&a>n&&(i=n,n=a,a=i),i=un(r,a);var s=un(r,n);i&&s&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mn=u&&"documentMode"in document&&11>=document.documentMode,vn=null,gn=null,yn=null,bn=!1;function xn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;bn||null==vn||vn!==X(n)||("selectionStart"in(n=vn)&&pn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},yn&&ln(yn,n)||(yn=n,0<(n=Un(gn,"onSelect")).length&&(t=new cr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=vn)))}function _n(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var wn={animationend:_n("Animation","AnimationEnd"),animationiteration:_n("Animation","AnimationIteration"),animationstart:_n("Animation","AnimationStart"),transitionend:_n("Transition","TransitionEnd")},Sn={},kn={};function En(e){if(Sn[e])return Sn[e];if(!wn[e])return e;var t,r=wn[e];for(t in r)if(r.hasOwnProperty(t)&&t in kn)return Sn[e]=r[t];return e}u&&(kn=document.createElement("div").style,"AnimationEvent"in window||(delete wn.animationend.animation,delete wn.animationiteration.animation,delete wn.animationstart.animation),"TransitionEvent"in window||delete wn.transitionend.transition);var Cn=En("animationend"),Pn=En("animationiteration"),Tn=En("animationstart"),Mn=En("transitionend"),jn=new Map,An="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function On(e,t){jn.set(e,t),l(t,[e])}for(var Dn=0;Dn<An.length;Dn++){var Nn=An[Dn];On(Nn.toLowerCase(),"on"+(Nn[0].toUpperCase()+Nn.slice(1)))}On(Cn,"onAnimationEnd"),On(Pn,"onAnimationIteration"),On(Tn,"onAnimationStart"),On("dblclick","onDoubleClick"),On("focusin","onFocus"),On("focusout","onBlur"),On(Mn,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var In="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Fn=new Set("cancel close invalid load scroll toggle".split(" ").concat(In));function Ln(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,i,s,o,l,c){if(Ve.apply(this,arguments),Fe){if(!Fe)throw Error(a(198));var u=Le;Fe=!1,Le=null,Re||(Re=!0,Be=u)}}(n,t,void 0,e),e.currentTarget=null}function Rn(e,t){t=0!==(4&t);for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var s=n.length-1;0<=s;s--){var o=n[s],l=o.instance,c=o.currentTarget;if(o=o.listener,l!==a&&i.isPropagationStopped())break e;Ln(i,o,c),a=l}else for(s=0;s<n.length;s++){if(l=(o=n[s]).instance,c=o.currentTarget,o=o.listener,l!==a&&i.isPropagationStopped())break e;Ln(i,o,c),a=l}}}if(Re)throw e=Be,Re=!1,Be=null,e}function Bn(e,t){var r=t[mi];void 0===r&&(r=t[mi]=new Set);var n=e+"__bubble";r.has(n)||(Gn(t,e,2,!1),r.add(n))}function zn(e,t,r){var n=0;t&&(n|=4),Gn(r,e,n,t)}var Vn="_reactListening"+Math.random().toString(36).slice(2);function Hn(e){if(!e[Vn]){e[Vn]=!0,s.forEach((function(t){"selectionchange"!==t&&(Fn.has(t)||zn(t,!1,e),zn(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vn]||(t[Vn]=!0,zn("selectionchange",!1,t))}}function Gn(e,t,r,n){switch(Zt(t)){case 1:var i=Wt;break;case 4:i=Ut;break;default:i=$t}r=i.bind(null,t,r,e),i=void 0,!De||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),n?void 0!==i?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):void 0!==i?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function qn(e,t,r,n,i){var a=n;if(0===(1&t)&&0===(2&t)&&null!==n)e:for(;;){if(null===n)return;var s=n.tag;if(3===s||4===s){var o=n.stateNode.containerInfo;if(o===i||8===o.nodeType&&o.parentNode===i)break;if(4===s)for(s=n.return;null!==s;){var l=s.tag;if((3===l||4===l)&&((l=s.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;s=s.return}for(;null!==o;){if(null===(s=yi(o)))return;if(5===(l=s.tag)||6===l){n=a=s;continue e}o=o.parentNode}}n=n.return}Ae((function(){var n=a,i=_e(r),s=[];e:{var o=jn.get(e);if(void 0!==o){var l=cr,c=e;switch(e){case"keypress":if(0===tr(r))break e;case"keydown":case"keyup":l=Cr;break;case"focusin":c="focus",l=mr;break;case"focusout":c="blur",l=mr;break;case"beforeblur":case"afterblur":l=mr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=hr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Tr;break;case Cn:case Pn:case Tn:l=vr;break;case Mn:l=Mr;break;case"scroll":l=fr;break;case"wheel":l=Ar;break;case"copy":case"cut":case"paste":l=yr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Pr}var u=0!==(4&t),f=!u&&"scroll"===e,d=u?null!==o?o+"Capture":null:o;u=[];for(var p,h=n;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&(null!=(m=Oe(h,d))&&u.push(Wn(h,m,p)))),f)break;h=h.return}0<u.length&&(o=new l(o,c,null,r,i),s.push({event:o,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(o="mouseover"===e||"pointerover"===e)||r===xe||!(c=r.relatedTarget||r.fromElement)||!yi(c)&&!c[hi])&&(l||o)&&(o=i.window===i?i:(o=i.ownerDocument)?o.defaultView||o.parentWindow:window,l?(l=n,null!==(c=(c=r.relatedTarget||r.toElement)?yi(c):null)&&(c!==(f=He(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=n),l!==c)){if(u=pr,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Pr,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==l?o:xi(l),p=null==c?o:xi(c),(o=new u(m,h+"leave",l,r,i)).target=f,o.relatedTarget=p,m=null,yi(i)===n&&((u=new u(d,h+"enter",c,r,i)).target=p,u.relatedTarget=f,m=u),f=m,l&&c)e:{for(d=c,h=0,p=u=l;p;p=$n(p))h++;for(p=0,m=d;m;m=$n(m))p++;for(;0<h-p;)u=$n(u),h--;for(;0<p-h;)d=$n(d),p--;for(;h--;){if(u===d||null!==d&&u===d.alternate)break e;u=$n(u),d=$n(d)}u=null}else u=null;null!==l&&Xn(s,o,l,u,!1),null!==c&&null!==f&&Xn(s,f,c,u,!0)}if("select"===(l=(o=n?xi(n):window).nodeName&&o.nodeName.toLowerCase())||"input"===l&&"file"===o.type)var v=Yr;else if(Gr(o))if(Zr)v=sn;else{v=nn;var g=rn}else(l=o.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(v=an);switch(v&&(v=v(e,n))?qr(s,v,r,i):(g&&g(e,o,n),"focusout"===e&&(g=o._wrapperState)&&g.controlled&&"number"===o.type&&ee(o,"number",o.value)),g=n?xi(n):window,e){case"focusin":(Gr(g)||"true"===g.contentEditable)&&(vn=g,gn=n,yn=null);break;case"focusout":yn=gn=vn=null;break;case"mousedown":bn=!0;break;case"contextmenu":case"mouseup":case"dragend":bn=!1,xn(s,r,i);break;case"selectionchange":if(mn)break;case"keydown":case"keyup":xn(s,r,i)}var y;if(Dr)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Vr?Br(e,r)&&(b="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(b="onCompositionStart");b&&(Fr&&"ko"!==r.locale&&(Vr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vr&&(y=er()):(Kt="value"in(Jt=i)?Jt.value:Jt.textContent,Vr=!0)),0<(g=Un(n,b)).length&&(b=new br(b,e,null,r,i),s.push({event:b,listeners:g}),y?b.data=y:null!==(y=zr(r))&&(b.data=y))),(y=Ir?function(e,t){switch(e){case"compositionend":return zr(t);case"keypress":return 32!==t.which?null:(Rr=!0,Lr);case"textInput":return(e=t.data)===Lr&&Rr?null:e;default:return null}}(e,r):function(e,t){if(Vr)return"compositionend"===e||!Dr&&Br(e,t)?(e=er(),Qt=Kt=Jt=null,Vr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fr&&"ko"!==t.locale?null:t.data}}(e,r))&&(0<(n=Un(n,"onBeforeInput")).length&&(i=new br("onBeforeInput","beforeinput",null,r,i),s.push({event:i,listeners:n}),i.data=y))}Rn(s,t)}))}function Wn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Un(e,t){for(var r=t+"Capture",n=[];null!==e;){var i=e,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=Oe(e,r))&&n.unshift(Wn(e,a,i)),null!=(a=Oe(e,t))&&n.push(Wn(e,a,i))),e=e.return}return n}function $n(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Xn(e,t,r,n,i){for(var a=t._reactName,s=[];null!==r&&r!==n;){var o=r,l=o.alternate,c=o.stateNode;if(null!==l&&l===n)break;5===o.tag&&null!==c&&(o=c,i?null!=(l=Oe(r,a))&&s.unshift(Wn(r,l,o)):i||null!=(l=Oe(r,a))&&s.push(Wn(r,l,o))),r=r.return}0!==s.length&&e.push({event:t,listeners:s})}var Yn=/\r\n?/g,Zn=/\u0000|\uFFFD/g;function Jn(e){return("string"===typeof e?e:""+e).replace(Yn,"\n").replace(Zn,"")}function Kn(e,t,r){if(t=Jn(t),Jn(e)!==t&&r)throw Error(a(425))}function Qn(){}var ei=null,ti=null;function ri(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ni="function"===typeof setTimeout?setTimeout:void 0,ii="function"===typeof clearTimeout?clearTimeout:void 0,ai="function"===typeof Promise?Promise:void 0,si="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ai?function(e){return ai.resolve(null).then(e).catch(oi)}:ni;function oi(e){setTimeout((function(){throw e}))}function li(e,t){var r=t,n=0;do{var i=r.nextSibling;if(e.removeChild(r),i&&8===i.nodeType)if("/$"===(r=i.data)){if(0===n)return e.removeChild(i),void Ht(t);n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++;r=i}while(r);Ht(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ui(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var fi=Math.random().toString(36).slice(2),di="__reactFiber$"+fi,pi="__reactProps$"+fi,hi="__reactContainer$"+fi,mi="__reactEvents$"+fi,vi="__reactListeners$"+fi,gi="__reactHandles$"+fi;function yi(e){var t=e[di];if(t)return t;for(var r=e.parentNode;r;){if(t=r[hi]||r[di]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=ui(e);null!==e;){if(r=e[di])return r;e=ui(e)}return t}r=(e=r).parentNode}return null}function bi(e){return!(e=e[di]||e[hi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function xi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function _i(e){return e[pi]||null}var wi=[],Si=-1;function ki(e){return{current:e}}function Ei(e){0>Si||(e.current=wi[Si],wi[Si]=null,Si--)}function Ci(e,t){Si++,wi[Si]=e.current,e.current=t}var Pi={},Ti=ki(Pi),Mi=ki(!1),ji=Pi;function Ai(e,t){var r=e.type.contextTypes;if(!r)return Pi;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in r)a[i]=t[i];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Oi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Di(){Ei(Mi),Ei(Ti)}function Ni(e,t,r){if(Ti.current!==Pi)throw Error(a(168));Ci(Ti,t),Ci(Mi,r)}function Ii(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!==typeof n.getChildContext)return r;for(var i in n=n.getChildContext())if(!(i in t))throw Error(a(108,G(e)||"Unknown",i));return L({},r,n)}function Fi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pi,ji=Ti.current,Ci(Ti,e),Ci(Mi,Mi.current),!0}function Li(e,t,r){var n=e.stateNode;if(!n)throw Error(a(169));r?(e=Ii(e,t,ji),n.__reactInternalMemoizedMergedChildContext=e,Ei(Mi),Ei(Ti),Ci(Ti,e)):Ei(Mi),Ci(Mi,r)}var Ri=null,Bi=!1,zi=!1;function Vi(e){null===Ri?Ri=[e]:Ri.push(e)}function Hi(){if(!zi&&null!==Ri){zi=!0;var e=0,t=bt;try{var r=Ri;for(bt=1;e<r.length;e++){var n=r[e];do{n=n(!0)}while(null!==n)}Ri=null,Bi=!1}catch(i){throw null!==Ri&&(Ri=Ri.slice(e+1)),$e(Qe,Hi),i}finally{bt=t,zi=!1}}return null}var Gi=[],qi=0,Wi=null,Ui=0,$i=[],Xi=0,Yi=null,Zi=1,Ji="";function Ki(e,t){Gi[qi++]=Ui,Gi[qi++]=Wi,Wi=e,Ui=t}function Qi(e,t,r){$i[Xi++]=Zi,$i[Xi++]=Ji,$i[Xi++]=Yi,Yi=e;var n=Zi;e=Ji;var i=32-st(n)-1;n&=~(1<<i),r+=1;var a=32-st(t)+i;if(30<a){var s=i-i%5;a=(n&(1<<s)-1).toString(32),n>>=s,i-=s,Zi=1<<32-st(t)+i|r<<i|n,Ji=a+e}else Zi=1<<a|r<<i|n,Ji=e}function ea(e){null!==e.return&&(Ki(e,1),Qi(e,1,0))}function ta(e){for(;e===Wi;)Wi=Gi[--qi],Gi[qi]=null,Ui=Gi[--qi],Gi[qi]=null;for(;e===Yi;)Yi=$i[--Xi],$i[Xi]=null,Ji=$i[--Xi],$i[Xi]=null,Zi=$i[--Xi],$i[Xi]=null}var ra=null,na=null,ia=!1,aa=null;function sa(e,t){var r=Oc(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function oa(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ra=e,na=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ra=e,na=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Yi?{id:Zi,overflow:Ji}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=Oc(18,null,null,0)).stateNode=t,r.return=e,e.child=r,ra=e,na=null,!0);default:return!1}}function la(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function ca(e){if(ia){var t=na;if(t){var r=t;if(!oa(e,t)){if(la(e))throw Error(a(418));t=ci(r.nextSibling);var n=ra;t&&oa(e,t)?sa(n,r):(e.flags=-4097&e.flags|2,ia=!1,ra=e)}}else{if(la(e))throw Error(a(418));e.flags=-4097&e.flags|2,ia=!1,ra=e}}}function ua(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ra=e}function fa(e){if(e!==ra)return!1;if(!ia)return ua(e),ia=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ri(e.type,e.memoizedProps)),t&&(t=na)){if(la(e))throw da(),Error(a(418));for(;t;)sa(e,t),t=ci(t.nextSibling)}if(ua(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){na=ci(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}na=null}}else na=ra?ci(e.stateNode.nextSibling):null;return!0}function da(){for(var e=na;e;)e=ci(e.nextSibling)}function pa(){na=ra=null,ia=!1}function ha(e){null===aa?aa=[e]:aa.push(e)}var ma=x.ReactCurrentBatchConfig;function va(e,t){if(e&&e.defaultProps){for(var r in t=L({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}var ga=ki(null),ya=null,ba=null,xa=null;function _a(){xa=ba=ya=null}function wa(e){var t=ga.current;Ei(ga),e._currentValue=t}function Sa(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function ka(e,t){ya=e,xa=ba=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(xo=!0),e.firstContext=null)}function Ea(e){var t=e._currentValue;if(xa!==e)if(e={context:e,memoizedValue:t,next:null},null===ba){if(null===ya)throw Error(a(308));ba=e,ya.dependencies={lanes:0,firstContext:e}}else ba=ba.next=e;return t}var Ca=null;function Pa(e){null===Ca?Ca=[e]:Ca.push(e)}function Ta(e,t,r,n){var i=t.interleaved;return null===i?(r.next=r,Pa(t)):(r.next=i.next,i.next=r),t.interleaved=r,Ma(e,n)}function Ma(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var ja=!1;function Aa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Oa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Da(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Na(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,0!==(2&Ml)){var i=n.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),n.pending=t,Ma(e,r)}return null===(i=n.interleaved)?(t.next=t,Pa(n)):(t.next=i.next,i.next=t),n.interleaved=t,Ma(e,r)}function Ia(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&r))){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}function Fa(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var i=null,a=null;if(null!==(r=r.firstBaseUpdate)){do{var s={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===a?i=a=s:a=a.next=s,r=r.next}while(null!==r);null===a?i=a=t:a=a.next=t}else i=a=t;return r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function La(e,t,r,n){var i=e.updateQueue;ja=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,o=i.shared.pending;if(null!==o){i.shared.pending=null;var l=o,c=l.next;l.next=null,null===s?a=c:s.next=c,s=l;var u=e.alternate;null!==u&&((o=(u=u.updateQueue).lastBaseUpdate)!==s&&(null===o?u.firstBaseUpdate=c:o.next=c,u.lastBaseUpdate=l))}if(null!==a){var f=i.baseState;for(s=0,u=c=l=null,o=a;;){var d=o.lane,p=o.eventTime;if((n&d)===d){null!==u&&(u=u.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var h=e,m=o;switch(d=t,p=r,m.tag){case 1:if("function"===typeof(h=m.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(d="function"===typeof(h=m.payload)?h.call(p,f,d):h)||void 0===d)break e;f=L({},f,d);break e;case 2:ja=!0}}null!==o.callback&&0!==o.lane&&(e.flags|=64,null===(d=i.effects)?i.effects=[o]:d.push(o))}else p={eventTime:p,lane:d,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===u?(c=u=p,l=f):u=u.next=p,s|=d;if(null===(o=o.next)){if(null===(o=i.shared.pending))break;o=(d=o).next,d.next=null,i.lastBaseUpdate=d,i.shared.pending=null}}if(null===u&&(l=f),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved)){i=t;do{s|=i.lane,i=i.next}while(i!==t)}else null===a&&(i.shared.lanes=0);Ll|=s,e.lanes=s,e.memoizedState=f}}function Ra(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(null!==i){if(n.callback=null,n=r,"function"!==typeof i)throw Error(a(191,i));i.call(n)}}}var Ba=(new n.Component).refs;function za(e,t,r,n){r=null===(r=r(n,t=e.memoizedState))||void 0===r?t:L({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var Va={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=tc(),i=rc(e),a=Da(n,i);a.payload=t,void 0!==r&&null!==r&&(a.callback=r),null!==(t=Na(e,a,i))&&(nc(t,e,i,n),Ia(t,e,i))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=tc(),i=rc(e),a=Da(n,i);a.tag=1,a.payload=t,void 0!==r&&null!==r&&(a.callback=r),null!==(t=Na(e,a,i))&&(nc(t,e,i,n),Ia(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=tc(),n=rc(e),i=Da(r,n);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),null!==(t=Na(e,i,n))&&(nc(t,e,n,r),Ia(t,e,n))}};function Ha(e,t,r,n,i,a,s){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,a,s):!t.prototype||!t.prototype.isPureReactComponent||(!ln(r,n)||!ln(i,a))}function Ga(e,t,r){var n=!1,i=Pi,a=t.contextType;return"object"===typeof a&&null!==a?a=Ea(a):(i=Oi(t)?ji:Ti.current,a=(n=null!==(n=t.contextTypes)&&void 0!==n)?Ai(e,i):Pi),t=new t(r,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Va,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function qa(e,t,r,n){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Va.enqueueReplaceState(t,t.state,null)}function Wa(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=Ba,Aa(e);var a=t.contextType;"object"===typeof a&&null!==a?i.context=Ea(a):(a=Oi(t)?ji:Ti.current,i.context=Ai(e,a)),i.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(za(e,t,a,r),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Va.enqueueReplaceState(i,i.state,null),La(e,r,i,n),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4194308)}function Ua(e,t,r){if(null!==(e=r.ref)&&"function"!==typeof e&&"object"!==typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,e));var i=n,s=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===s?t.ref:(t=function(e){var t=i.refs;t===Ba&&(t=i.refs={}),null===e?delete t[s]:t[s]=e},t._stringRef=s,t)}if("string"!==typeof e)throw Error(a(284));if(!r._owner)throw Error(a(290,e))}return e}function $a(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xa(e){return(0,e._init)(e._payload)}function Ya(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Nc(e,t)).index=0,e.sibling=null,e}function s(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function o(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Rc(r,e.mode,n)).return=e,t):((t=i(t,r)).return=e,t)}function c(e,t,r,n){var a=r.type;return a===S?f(e,t,r.props.children,n,r.key):null!==t&&(t.elementType===a||"object"===typeof a&&null!==a&&a.$$typeof===O&&Xa(a)===t.type)?((n=i(t,r.props)).ref=Ua(e,t,r),n.return=e,n):((n=Ic(r.type,r.key,r.props,null,e.mode,n)).ref=Ua(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Bc(r,e.mode,n)).return=e,t):((t=i(t,r.children||[])).return=e,t)}function f(e,t,r,n,a){return null===t||7!==t.tag?((t=Fc(r,e.mode,n,a)).return=e,t):((t=i(t,r)).return=e,t)}function d(e,t,r){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=Rc(""+t,e.mode,r)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case _:return(r=Ic(t.type,t.key,t.props,null,e.mode,r)).ref=Ua(e,null,t),r.return=e,r;case w:return(t=Bc(t,e.mode,r)).return=e,t;case O:return d(e,(0,t._init)(t._payload),r)}if(te(t)||I(t))return(t=Fc(t,e.mode,r,null)).return=e,t;$a(e,t)}return null}function p(e,t,r,n){var i=null!==t?t.key:null;if("string"===typeof r&&""!==r||"number"===typeof r)return null!==i?null:l(e,t,""+r,n);if("object"===typeof r&&null!==r){switch(r.$$typeof){case _:return r.key===i?c(e,t,r,n):null;case w:return r.key===i?u(e,t,r,n):null;case O:return p(e,t,(i=r._init)(r._payload),n)}if(te(r)||I(r))return null!==i?null:f(e,t,r,n,null);$a(e,r)}return null}function h(e,t,r,n,i){if("string"===typeof n&&""!==n||"number"===typeof n)return l(t,e=e.get(r)||null,""+n,i);if("object"===typeof n&&null!==n){switch(n.$$typeof){case _:return c(t,e=e.get(null===n.key?r:n.key)||null,n,i);case w:return u(t,e=e.get(null===n.key?r:n.key)||null,n,i);case O:return h(e,t,r,(0,n._init)(n._payload),i)}if(te(n)||I(n))return f(t,e=e.get(r)||null,n,i,null);$a(t,n)}return null}function m(i,a,o,l){for(var c=null,u=null,f=a,m=a=0,v=null;null!==f&&m<o.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var g=p(i,f,o[m],l);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(i,f),a=s(g,a,m),null===u?c=g:u.sibling=g,u=g,f=v}if(m===o.length)return r(i,f),ia&&Ki(i,m),c;if(null===f){for(;m<o.length;m++)null!==(f=d(i,o[m],l))&&(a=s(f,a,m),null===u?c=f:u.sibling=f,u=f);return ia&&Ki(i,m),c}for(f=n(i,f);m<o.length;m++)null!==(v=h(f,i,m,o[m],l))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),a=s(v,a,m),null===u?c=v:u.sibling=v,u=v);return e&&f.forEach((function(e){return t(i,e)})),ia&&Ki(i,m),c}function v(i,o,l,c){var u=I(l);if("function"!==typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var f=u=null,m=o,v=o=0,g=null,y=l.next();null!==m&&!y.done;v++,y=l.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(i,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),o=s(b,o,v),null===f?u=b:f.sibling=b,f=b,m=g}if(y.done)return r(i,m),ia&&Ki(i,v),u;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=d(i,y.value,c))&&(o=s(y,o,v),null===f?u=y:f.sibling=y,f=y);return ia&&Ki(i,v),u}for(m=n(i,m);!y.done;v++,y=l.next())null!==(y=h(m,i,v,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),o=s(y,o,v),null===f?u=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(i,e)})),ia&&Ki(i,v),u}return function e(n,a,s,l){if("object"===typeof s&&null!==s&&s.type===S&&null===s.key&&(s=s.props.children),"object"===typeof s&&null!==s){switch(s.$$typeof){case _:e:{for(var c=s.key,u=a;null!==u;){if(u.key===c){if((c=s.type)===S){if(7===u.tag){r(n,u.sibling),(a=i(u,s.props.children)).return=n,n=a;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===O&&Xa(c)===u.type){r(n,u.sibling),(a=i(u,s.props)).ref=Ua(n,u,s),a.return=n,n=a;break e}r(n,u);break}t(n,u),u=u.sibling}s.type===S?((a=Fc(s.props.children,n.mode,l,s.key)).return=n,n=a):((l=Ic(s.type,s.key,s.props,null,n.mode,l)).ref=Ua(n,a,s),l.return=n,n=l)}return o(n);case w:e:{for(u=s.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===s.containerInfo&&a.stateNode.implementation===s.implementation){r(n,a.sibling),(a=i(a,s.children||[])).return=n,n=a;break e}r(n,a);break}t(n,a),a=a.sibling}(a=Bc(s,n.mode,l)).return=n,n=a}return o(n);case O:return e(n,a,(u=s._init)(s._payload),l)}if(te(s))return m(n,a,s,l);if(I(s))return v(n,a,s,l);$a(n,s)}return"string"===typeof s&&""!==s||"number"===typeof s?(s=""+s,null!==a&&6===a.tag?(r(n,a.sibling),(a=i(a,s)).return=n,n=a):(r(n,a),(a=Rc(s,n.mode,l)).return=n,n=a),o(n)):r(n,a)}}var Za=Ya(!0),Ja=Ya(!1),Ka={},Qa=ki(Ka),es=ki(Ka),ts=ki(Ka);function rs(e){if(e===Ka)throw Error(a(174));return e}function ns(e,t){switch(Ci(ts,t),Ci(es,e),Ci(Qa,Ka),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ei(Qa),Ci(Qa,t)}function is(){Ei(Qa),Ei(es),Ei(ts)}function as(e){rs(ts.current);var t=rs(Qa.current),r=le(t,e.type);t!==r&&(Ci(es,e),Ci(Qa,r))}function ss(e){es.current===e&&(Ei(Qa),Ei(es))}var os=ki(0);function ls(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cs=[];function us(){for(var e=0;e<cs.length;e++)cs[e]._workInProgressVersionPrimary=null;cs.length=0}var fs=x.ReactCurrentDispatcher,ds=x.ReactCurrentBatchConfig,ps=0,hs=null,ms=null,vs=null,gs=!1,ys=!1,bs=0,xs=0;function _s(){throw Error(a(321))}function ws(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!on(e[r],t[r]))return!1;return!0}function Ss(e,t,r,n,i,s){if(ps=s,hs=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fs.current=null===e||null===e.memoizedState?so:oo,e=r(n,i),ys){s=0;do{if(ys=!1,bs=0,25<=s)throw Error(a(301));s+=1,vs=ms=null,t.updateQueue=null,fs.current=lo,e=r(n,i)}while(ys)}if(fs.current=ao,t=null!==ms&&null!==ms.next,ps=0,vs=ms=hs=null,gs=!1,t)throw Error(a(300));return e}function ks(){var e=0!==bs;return bs=0,e}function Es(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===vs?hs.memoizedState=vs=e:vs=vs.next=e,vs}function Cs(){if(null===ms){var e=hs.alternate;e=null!==e?e.memoizedState:null}else e=ms.next;var t=null===vs?hs.memoizedState:vs.next;if(null!==t)vs=t,ms=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ms=e).memoizedState,baseState:ms.baseState,baseQueue:ms.baseQueue,queue:ms.queue,next:null},null===vs?hs.memoizedState=vs=e:vs=vs.next=e}return vs}function Ps(e,t){return"function"===typeof t?t(e):t}function Ts(e){var t=Cs(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=ms,i=n.baseQueue,s=r.pending;if(null!==s){if(null!==i){var o=i.next;i.next=s.next,s.next=o}n.baseQueue=i=s,r.pending=null}if(null!==i){s=i.next,n=n.baseState;var l=o=null,c=null,u=s;do{var f=u.lane;if((ps&f)===f)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var d={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=d,o=n):c=c.next=d,hs.lanes|=f,Ll|=f}u=u.next}while(null!==u&&u!==s);null===c?o=n:c.next=l,on(n,t.memoizedState)||(xo=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=c,r.lastRenderedState=n}if(null!==(e=r.interleaved)){i=e;do{s=i.lane,hs.lanes|=s,Ll|=s,i=i.next}while(i!==e)}else null===i&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Ms(e){var t=Cs(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,s=t.memoizedState;if(null!==i){r.pending=null;var o=i=i.next;do{s=e(s,o.action),o=o.next}while(o!==i);on(s,t.memoizedState)||(xo=!0),t.memoizedState=s,null===t.baseQueue&&(t.baseState=s),r.lastRenderedState=s}return[s,n]}function js(){}function As(e,t){var r=hs,n=Cs(),i=t(),s=!on(n.memoizedState,i);if(s&&(n.memoizedState=i,xo=!0),n=n.queue,Gs(Ns.bind(null,r,n,e),[e]),n.getSnapshot!==t||s||null!==vs&&1&vs.memoizedState.tag){if(r.flags|=2048,Rs(9,Ds.bind(null,r,n,i,t),void 0,null),null===jl)throw Error(a(349));0!==(30&ps)||Os(r,t,i)}return i}function Os(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=hs.updateQueue)?(t={lastEffect:null,stores:null},hs.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function Ds(e,t,r,n){t.value=r,t.getSnapshot=n,Is(t)&&Fs(e)}function Ns(e,t,r){return r((function(){Is(t)&&Fs(e)}))}function Is(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!on(e,r)}catch(n){return!0}}function Fs(e){var t=Ma(e,1);null!==t&&nc(t,e,1,-1)}function Ls(e){var t=Es();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ps,lastRenderedState:e},t.queue=e,e=e.dispatch=to.bind(null,hs,e),[t.memoizedState,e]}function Rs(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=hs.updateQueue)?(t={lastEffect:null,stores:null},hs.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function Bs(){return Cs().memoizedState}function zs(e,t,r,n){var i=Es();hs.flags|=e,i.memoizedState=Rs(1|t,r,void 0,void 0===n?null:n)}function Vs(e,t,r,n){var i=Cs();n=void 0===n?null:n;var a=void 0;if(null!==ms){var s=ms.memoizedState;if(a=s.destroy,null!==n&&ws(n,s.deps))return void(i.memoizedState=Rs(t,r,a,n))}hs.flags|=e,i.memoizedState=Rs(1|t,r,a,n)}function Hs(e,t){return zs(8390656,8,e,t)}function Gs(e,t){return Vs(2048,8,e,t)}function qs(e,t){return Vs(4,2,e,t)}function Ws(e,t){return Vs(4,4,e,t)}function Us(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function $s(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,Vs(4,4,Us.bind(null,t,e),r)}function Xs(){}function Ys(e,t){var r=Cs();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ws(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Zs(e,t){var r=Cs();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ws(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Js(e,t,r){return 0===(21&ps)?(e.baseState&&(e.baseState=!1,xo=!0),e.memoizedState=r):(on(r,t)||(r=mt(),hs.lanes|=r,Ll|=r,e.baseState=!0),t)}function Ks(e,t){var r=bt;bt=0!==r&&4>r?r:4,e(!0);var n=ds.transition;ds.transition={};try{e(!1),t()}finally{bt=r,ds.transition=n}}function Qs(){return Cs().memoizedState}function eo(e,t,r){var n=rc(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},ro(e))no(t,r);else if(null!==(r=Ta(e,t,r,n))){nc(r,e,n,tc()),io(r,t,n)}}function to(e,t,r){var n=rc(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(ro(e))no(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,o=a(s,r);if(i.hasEagerState=!0,i.eagerState=o,on(o,s)){var l=t.interleaved;return null===l?(i.next=i,Pa(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(c){}null!==(r=Ta(e,t,i,n))&&(nc(r,e,n,i=tc()),io(r,t,n))}}function ro(e){var t=e.alternate;return e===hs||null!==t&&t===hs}function no(e,t){ys=gs=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function io(e,t,r){if(0!==(4194240&r)){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,yt(e,r)}}var ao={readContext:Ea,useCallback:_s,useContext:_s,useEffect:_s,useImperativeHandle:_s,useInsertionEffect:_s,useLayoutEffect:_s,useMemo:_s,useReducer:_s,useRef:_s,useState:_s,useDebugValue:_s,useDeferredValue:_s,useTransition:_s,useMutableSource:_s,useSyncExternalStore:_s,useId:_s,unstable_isNewReconciler:!1},so={readContext:Ea,useCallback:function(e,t){return Es().memoizedState=[e,void 0===t?null:t],e},useContext:Ea,useEffect:Hs,useImperativeHandle:function(e,t,r){return r=null!==r&&void 0!==r?r.concat([e]):null,zs(4194308,4,Us.bind(null,t,e),r)},useLayoutEffect:function(e,t){return zs(4194308,4,e,t)},useInsertionEffect:function(e,t){return zs(4,2,e,t)},useMemo:function(e,t){var r=Es();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Es();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=eo.bind(null,hs,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},Es().memoizedState=e},useState:Ls,useDebugValue:Xs,useDeferredValue:function(e){return Es().memoizedState=e},useTransition:function(){var e=Ls(!1),t=e[0];return e=Ks.bind(null,e[1]),Es().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=hs,i=Es();if(ia){if(void 0===r)throw Error(a(407));r=r()}else{if(r=t(),null===jl)throw Error(a(349));0!==(30&ps)||Os(n,t,r)}i.memoizedState=r;var s={value:r,getSnapshot:t};return i.queue=s,Hs(Ns.bind(null,n,s,e),[e]),n.flags|=2048,Rs(9,Ds.bind(null,n,s,r,t),void 0,null),r},useId:function(){var e=Es(),t=jl.identifierPrefix;if(ia){var r=Ji;t=":"+t+"R"+(r=(Zi&~(1<<32-st(Zi)-1)).toString(32)+r),0<(r=bs++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=xs++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oo={readContext:Ea,useCallback:Ys,useContext:Ea,useEffect:Gs,useImperativeHandle:$s,useInsertionEffect:qs,useLayoutEffect:Ws,useMemo:Zs,useReducer:Ts,useRef:Bs,useState:function(){return Ts(Ps)},useDebugValue:Xs,useDeferredValue:function(e){return Js(Cs(),ms.memoizedState,e)},useTransition:function(){return[Ts(Ps)[0],Cs().memoizedState]},useMutableSource:js,useSyncExternalStore:As,useId:Qs,unstable_isNewReconciler:!1},lo={readContext:Ea,useCallback:Ys,useContext:Ea,useEffect:Gs,useImperativeHandle:$s,useInsertionEffect:qs,useLayoutEffect:Ws,useMemo:Zs,useReducer:Ms,useRef:Bs,useState:function(){return Ms(Ps)},useDebugValue:Xs,useDeferredValue:function(e){var t=Cs();return null===ms?t.memoizedState=e:Js(t,ms.memoizedState,e)},useTransition:function(){return[Ms(Ps)[0],Cs().memoizedState]},useMutableSource:js,useSyncExternalStore:As,useId:Qs,unstable_isNewReconciler:!1};function co(e,t){try{var r="",n=t;do{r+=V(n),n=n.return}while(n);var i=r}catch(a){i="\nError generating stack: "+a.message+"\n"+a.stack}return{value:e,source:t,stack:i,digest:null}}function uo(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function fo(e,t){try{console.error(t.value)}catch(r){setTimeout((function(){throw r}))}}var po="function"===typeof WeakMap?WeakMap:Map;function ho(e,t,r){(r=Da(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Wl||(Wl=!0,Ul=n),fo(0,t)},r}function mo(e,t,r){(r=Da(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"===typeof n){var i=t.value;r.payload=function(){return n(i)},r.callback=function(){fo(0,t)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(r.callback=function(){fo(0,t),"function"!==typeof n&&(null===$l?$l=new Set([this]):$l.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function vo(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new po;var i=new Set;n.set(t,i)}else void 0===(i=n.get(t))&&(i=new Set,n.set(t,i));i.has(r)||(i.add(r),e=Cc.bind(null,e,t,r),t.then(e,e))}function go(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function yo(e,t,r,n,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Da(-1,1)).tag=2,Na(r,t,1))),r.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var bo=x.ReactCurrentOwner,xo=!1;function _o(e,t,r,n){t.child=null===e?Ja(t,null,r,n):Za(t,e.child,r,n)}function wo(e,t,r,n,i){r=r.render;var a=t.ref;return ka(t,i),n=Ss(e,t,r,n,a,i),r=ks(),null===e||xo?(ia&&r&&ea(t),t.flags|=1,_o(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Wo(e,t,i))}function So(e,t,r,n,i){if(null===e){var a=r.type;return"function"!==typeof a||Dc(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Ic(r.type,null,n,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ko(e,t,a,n,i))}if(a=e.child,0===(e.lanes&i)){var s=a.memoizedProps;if((r=null!==(r=r.compare)?r:ln)(s,n)&&e.ref===t.ref)return Wo(e,t,i)}return t.flags|=1,(e=Nc(a,n)).ref=t.ref,e.return=t,t.child=e}function ko(e,t,r,n,i){if(null!==e){var a=e.memoizedProps;if(ln(a,n)&&e.ref===t.ref){if(xo=!1,t.pendingProps=n=a,0===(e.lanes&i))return t.lanes=e.lanes,Wo(e,t,i);0!==(131072&e.flags)&&(xo=!0)}}return Po(e,t,r,n,i)}function Eo(e,t,r){var n=t.pendingProps,i=n.children,a=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ci(Nl,Dl),Dl|=r;else{if(0===(1073741824&r))return e=null!==a?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ci(Nl,Dl),Dl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==a?a.baseLanes:r,Ci(Nl,Dl),Dl|=n}else null!==a?(n=a.baseLanes|r,t.memoizedState=null):n=r,Ci(Nl,Dl),Dl|=n;return _o(e,t,i,r),t.child}function Co(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Po(e,t,r,n,i){var a=Oi(r)?ji:Ti.current;return a=Ai(t,a),ka(t,i),r=Ss(e,t,r,n,a,i),n=ks(),null===e||xo?(ia&&n&&ea(t),t.flags|=1,_o(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Wo(e,t,i))}function To(e,t,r,n,i){if(Oi(r)){var a=!0;Fi(t)}else a=!1;if(ka(t,i),null===t.stateNode)qo(e,t),Ga(t,r,n),Wa(t,r,n,i),n=!0;else if(null===e){var s=t.stateNode,o=t.memoizedProps;s.props=o;var l=s.context,c=r.contextType;"object"===typeof c&&null!==c?c=Ea(c):c=Ai(t,c=Oi(r)?ji:Ti.current);var u=r.getDerivedStateFromProps,f="function"===typeof u||"function"===typeof s.getSnapshotBeforeUpdate;f||"function"!==typeof s.UNSAFE_componentWillReceiveProps&&"function"!==typeof s.componentWillReceiveProps||(o!==n||l!==c)&&qa(t,s,n,c),ja=!1;var d=t.memoizedState;s.state=d,La(t,n,s,i),l=t.memoizedState,o!==n||d!==l||Mi.current||ja?("function"===typeof u&&(za(t,r,u,n),l=t.memoizedState),(o=ja||Ha(t,r,o,n,d,l,c))?(f||"function"!==typeof s.UNSAFE_componentWillMount&&"function"!==typeof s.componentWillMount||("function"===typeof s.componentWillMount&&s.componentWillMount(),"function"===typeof s.UNSAFE_componentWillMount&&s.UNSAFE_componentWillMount()),"function"===typeof s.componentDidMount&&(t.flags|=4194308)):("function"===typeof s.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),s.props=n,s.state=l,s.context=c,n=o):("function"===typeof s.componentDidMount&&(t.flags|=4194308),n=!1)}else{s=t.stateNode,Oa(e,t),o=t.memoizedProps,c=t.type===t.elementType?o:va(t.type,o),s.props=c,f=t.pendingProps,d=s.context,"object"===typeof(l=r.contextType)&&null!==l?l=Ea(l):l=Ai(t,l=Oi(r)?ji:Ti.current);var p=r.getDerivedStateFromProps;(u="function"===typeof p||"function"===typeof s.getSnapshotBeforeUpdate)||"function"!==typeof s.UNSAFE_componentWillReceiveProps&&"function"!==typeof s.componentWillReceiveProps||(o!==f||d!==l)&&qa(t,s,n,l),ja=!1,d=t.memoizedState,s.state=d,La(t,n,s,i);var h=t.memoizedState;o!==f||d!==h||Mi.current||ja?("function"===typeof p&&(za(t,r,p,n),h=t.memoizedState),(c=ja||Ha(t,r,c,n,d,h,l)||!1)?(u||"function"!==typeof s.UNSAFE_componentWillUpdate&&"function"!==typeof s.componentWillUpdate||("function"===typeof s.componentWillUpdate&&s.componentWillUpdate(n,h,l),"function"===typeof s.UNSAFE_componentWillUpdate&&s.UNSAFE_componentWillUpdate(n,h,l)),"function"===typeof s.componentDidUpdate&&(t.flags|=4),"function"===typeof s.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof s.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof s.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=h),s.props=n,s.state=h,s.context=l,n=c):("function"!==typeof s.componentDidUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof s.getSnapshotBeforeUpdate||o===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),n=!1)}return Mo(e,t,r,n,a,i)}function Mo(e,t,r,n,i,a){Co(e,t);var s=0!==(128&t.flags);if(!n&&!s)return i&&Li(t,r,!1),Wo(e,t,a);n=t.stateNode,bo.current=t;var o=s&&"function"!==typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&s?(t.child=Za(t,e.child,null,a),t.child=Za(t,null,o,a)):_o(e,t,o,a),t.memoizedState=n.state,i&&Li(t,r,!0),t.child}function jo(e){var t=e.stateNode;t.pendingContext?Ni(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ni(0,t.context,!1),ns(e,t.containerInfo)}function Ao(e,t,r,n,i){return pa(),ha(i),t.flags|=256,_o(e,t,r,n),t.child}var Oo,Do,No,Io,Fo={dehydrated:null,treeContext:null,retryLane:0};function Lo(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ro(e,t,r){var n,i=t.pendingProps,s=os.current,o=!1,l=0!==(128&t.flags);if((n=l)||(n=(null===e||null!==e.memoizedState)&&0!==(2&s)),n?(o=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(s|=1),Ci(os,1&s),null===e)return ca(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=i.children,e=i.fallback,o?(i=t.mode,o=t.child,l={mode:"hidden",children:l},0===(1&i)&&null!==o?(o.childLanes=0,o.pendingProps=l):o=Lc(l,i,0,null),e=Fc(e,i,r,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Lo(r),t.memoizedState=Fo,e):Bo(t,l));if(null!==(s=e.memoizedState)&&null!==(n=s.dehydrated))return function(e,t,r,n,i,s,o){if(r)return 256&t.flags?(t.flags&=-257,zo(e,t,o,n=uo(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(s=n.fallback,i=t.mode,n=Lc({mode:"visible",children:n.children},i,0,null),(s=Fc(s,i,o,null)).flags|=2,n.return=t,s.return=t,n.sibling=s,t.child=n,0!==(1&t.mode)&&Za(t,e.child,null,o),t.child.memoizedState=Lo(o),t.memoizedState=Fo,s);if(0===(1&t.mode))return zo(e,t,o,null);if("$!"===i.data){if(n=i.nextSibling&&i.nextSibling.dataset)var l=n.dgst;return n=l,zo(e,t,o,n=uo(s=Error(a(419)),n,void 0))}if(l=0!==(o&e.childLanes),xo||l){if(null!==(n=jl)){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(n.suspendedLanes|o))?0:i)&&i!==s.retryLane&&(s.retryLane=i,Ma(e,i),nc(n,e,i,-1))}return vc(),zo(e,t,o,n=uo(Error(a(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Tc.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,na=ci(i.nextSibling),ra=t,ia=!0,aa=null,null!==e&&($i[Xi++]=Zi,$i[Xi++]=Ji,$i[Xi++]=Yi,Zi=e.id,Ji=e.overflow,Yi=t),t=Bo(t,n.children),t.flags|=4096,t)}(e,t,l,i,n,s,r);if(o){o=i.fallback,l=t.mode,n=(s=e.child).sibling;var c={mode:"hidden",children:i.children};return 0===(1&l)&&t.child!==s?((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null):(i=Nc(s,c)).subtreeFlags=14680064&s.subtreeFlags,null!==n?o=Nc(n,o):(o=Fc(o,l,r,null)).flags|=2,o.return=t,i.return=t,i.sibling=o,t.child=i,i=o,o=t.child,l=null===(l=e.child.memoizedState)?Lo(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~r,t.memoizedState=Fo,i}return e=(o=e.child).sibling,i=Nc(o,{mode:"visible",children:i.children}),0===(1&t.mode)&&(i.lanes=r),i.return=t,i.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=i,t.memoizedState=null,i}function Bo(e,t){return(t=Lc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zo(e,t,r,n){return null!==n&&ha(n),Za(t,e.child,null,r),(e=Bo(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Vo(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Sa(e.return,t,r)}function Ho(e,t,r,n,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i)}function Go(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(_o(e,t,n.children,r),0!==(2&(n=os.current)))n=1&n|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Vo(e,r,t);else if(19===e.tag)Vo(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Ci(os,n),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;null!==r;)null!==(e=r.alternate)&&null===ls(e)&&(i=r),r=r.sibling;null===(r=i)?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Ho(t,!1,i,r,a);break;case"backwards":for(r=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ls(e)){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Ho(t,!0,r,null,a);break;case"together":Ho(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qo(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wo(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Ll|=t.lanes,0===(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(r=Nc(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Nc(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Uo(e,t){if(!ia)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function $o(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var i=e.child;null!==i;)r|=i.lanes|i.childLanes,n|=14680064&i.subtreeFlags,n|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function Xo(e,t,r){var n=t.pendingProps;switch(ta(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $o(t),null;case 1:case 17:return Oi(t.type)&&Di(),$o(t),null;case 3:return n=t.stateNode,is(),Ei(Mi),Ei(Ti),us(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(fa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==aa&&(oc(aa),aa=null))),Do(e,t),$o(t),null;case 5:ss(t);var i=rs(ts.current);if(r=t.type,null!==e&&null!=t.stateNode)No(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(a(166));return $o(t),null}if(e=rs(Qa.current),fa(t)){n=t.stateNode,r=t.type;var s=t.memoizedProps;switch(n[di]=t,n[pi]=s,e=0!==(1&t.mode),r){case"dialog":Bn("cancel",n),Bn("close",n);break;case"iframe":case"object":case"embed":Bn("load",n);break;case"video":case"audio":for(i=0;i<In.length;i++)Bn(In[i],n);break;case"source":Bn("error",n);break;case"img":case"image":case"link":Bn("error",n),Bn("load",n);break;case"details":Bn("toggle",n);break;case"input":Z(n,s),Bn("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!s.multiple},Bn("invalid",n);break;case"textarea":ie(n,s),Bn("invalid",n)}for(var l in ye(r,s),i=null,s)if(s.hasOwnProperty(l)){var c=s[l];"children"===l?"string"===typeof c?n.textContent!==c&&(!0!==s.suppressHydrationWarning&&Kn(n.textContent,c,e),i=["children",c]):"number"===typeof c&&n.textContent!==""+c&&(!0!==s.suppressHydrationWarning&&Kn(n.textContent,c,e),i=["children",""+c]):o.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Bn("scroll",n)}switch(r){case"input":U(n),Q(n,s,!0);break;case"textarea":U(n),se(n);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(n.onclick=Qn)}n=i,t.updateQueue=n,null!==n&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=oe(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof n.is?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),"select"===r&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[di]=t,e[pi]=n,Oo(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(r,n),r){case"dialog":Bn("cancel",e),Bn("close",e),i=n;break;case"iframe":case"object":case"embed":Bn("load",e),i=n;break;case"video":case"audio":for(i=0;i<In.length;i++)Bn(In[i],e);i=n;break;case"source":Bn("error",e),i=n;break;case"img":case"image":case"link":Bn("error",e),Bn("load",e),i=n;break;case"details":Bn("toggle",e),i=n;break;case"input":Z(e,n),i=Y(e,n),Bn("invalid",e);break;case"option":default:i=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=L({},n,{value:void 0}),Bn("invalid",e);break;case"textarea":ie(e,n),i=ne(e,n),Bn("invalid",e)}for(s in ye(r,i),c=i)if(c.hasOwnProperty(s)){var u=c[s];"style"===s?ve(e,u):"dangerouslySetInnerHTML"===s?null!=(u=u?u.__html:void 0)&&fe(e,u):"children"===s?"string"===typeof u?("textarea"!==r||""!==u)&&de(e,u):"number"===typeof u&&de(e,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(o.hasOwnProperty(s)?null!=u&&"onScroll"===s&&Bn("scroll",e):null!=u&&b(e,s,u,l))}switch(r){case"input":U(e),Q(e,n,!1);break;case"textarea":U(e),se(e);break;case"option":null!=n.value&&e.setAttribute("value",""+q(n.value));break;case"select":e.multiple=!!n.multiple,null!=(s=n.value)?re(e,!!n.multiple,s,!1):null!=n.defaultValue&&re(e,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=Qn)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return $o(t),null;case 6:if(e&&null!=t.stateNode)Io(e,t,e.memoizedProps,n);else{if("string"!==typeof n&&null===t.stateNode)throw Error(a(166));if(r=rs(ts.current),rs(Qa.current),fa(t)){if(n=t.stateNode,r=t.memoizedProps,n[di]=t,(s=n.nodeValue!==r)&&null!==(e=ra))switch(e.tag){case 3:Kn(n.nodeValue,r,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Kn(n.nodeValue,r,0!==(1&e.mode))}s&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[di]=t,t.stateNode=n}return $o(t),null;case 13:if(Ei(os),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ia&&null!==na&&0!==(1&t.mode)&&0===(128&t.flags))da(),pa(),t.flags|=98560,s=!1;else if(s=fa(t),null!==n&&null!==n.dehydrated){if(null===e){if(!s)throw Error(a(318));if(!(s=null!==(s=t.memoizedState)?s.dehydrated:null))throw Error(a(317));s[di]=t}else pa(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;$o(t),s=!1}else null!==aa&&(oc(aa),aa=null),s=!0;if(!s)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=r,t):((n=null!==n)!==(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&os.current)?0===Il&&(Il=3):vc())),null!==t.updateQueue&&(t.flags|=4),$o(t),null);case 4:return is(),Do(e,t),null===e&&Hn(t.stateNode.containerInfo),$o(t),null;case 10:return wa(t.type._context),$o(t),null;case 19:if(Ei(os),null===(s=t.memoizedState))return $o(t),null;if(n=0!==(128&t.flags),null===(l=s.rendering))if(n)Uo(s,!1);else{if(0!==Il||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ls(e))){for(t.flags|=128,Uo(s,!1),null!==(n=l.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)e=n,(s=r).flags&=14680066,null===(l=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=l.childLanes,s.lanes=l.lanes,s.child=l.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=l.memoizedProps,s.memoizedState=l.memoizedState,s.updateQueue=l.updateQueue,s.type=l.type,e=l.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ci(os,1&os.current|2),t.child}e=e.sibling}null!==s.tail&&Je()>Gl&&(t.flags|=128,n=!0,Uo(s,!1),t.lanes=4194304)}else{if(!n)if(null!==(e=ls(l))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Uo(s,!0),null===s.tail&&"hidden"===s.tailMode&&!l.alternate&&!ia)return $o(t),null}else 2*Je()-s.renderingStartTime>Gl&&1073741824!==r&&(t.flags|=128,n=!0,Uo(s,!1),t.lanes=4194304);s.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=s.last)?r.sibling=l:t.child=l,s.last=l)}return null!==s.tail?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Je(),t.sibling=null,r=os.current,Ci(os,n?1&r|2:1&r),t):($o(t),null);case 22:case 23:return dc(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&0!==(1&t.mode)?0!==(1073741824&Dl)&&($o(t),6&t.subtreeFlags&&(t.flags|=8192)):$o(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Yo(e,t){switch(ta(t),t.tag){case 1:return Oi(t.type)&&Di(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return is(),Ei(Mi),Ei(Ti),us(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ss(t),null;case 13:if(Ei(os),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));pa()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ei(os),null;case 4:return is(),null;case 10:return wa(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Oo=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Do=function(){},No=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,rs(Qa.current);var a,s=null;switch(r){case"input":i=Y(e,i),n=Y(e,n),s=[];break;case"select":i=L({},i,{value:void 0}),n=L({},n,{value:void 0}),s=[];break;case"textarea":i=ne(e,i),n=ne(e,n),s=[];break;default:"function"!==typeof i.onClick&&"function"===typeof n.onClick&&(e.onclick=Qn)}for(u in ye(r,n),r=null,i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var l=i[u];for(a in l)l.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(o.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in n){var c=n[u];if(l=null!=i?i[u]:void 0,n.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(r||(r={}),r[a]=c[a])}else r||(s||(s=[]),s.push(u,r)),r=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(s=s||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(s=s||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(o.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Bn("scroll",e),s||l===c||(s=[])):(s=s||[]).push(u,c))}r&&(s=s||[]).push("style",r);var u=s;(t.updateQueue=u)&&(t.flags|=4)}},Io=function(e,t,r,n){r!==n&&(t.flags|=4)};var Zo=!1,Jo=!1,Ko="function"===typeof WeakSet?WeakSet:Set,Qo=null;function el(e,t){var r=e.ref;if(null!==r)if("function"===typeof r)try{r(null)}catch(n){Ec(e,t,n)}else r.current=null}function tl(e,t,r){try{r()}catch(n){Ec(e,t,n)}}var rl=!1;function nl(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var i=n=n.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&tl(t,r,a)}i=i.next}while(i!==n)}}function il(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function al(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"===typeof t?t(e):t.current=e}}function sl(e){var t=e.alternate;null!==t&&(e.alternate=null,sl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[di],delete t[pi],delete t[mi],delete t[vi],delete t[gi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ol(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ol(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cl(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!==(r=r._reactRootContainer)&&void 0!==r||null!==t.onclick||(t.onclick=Qn));else if(4!==n&&null!==(e=e.child))for(cl(e,t,r),e=e.sibling;null!==e;)cl(e,t,r),e=e.sibling}function ul(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(ul(e,t,r),e=e.sibling;null!==e;)ul(e,t,r),e=e.sibling}var fl=null,dl=!1;function pl(e,t,r){for(r=r.child;null!==r;)hl(e,t,r),r=r.sibling}function hl(e,t,r){if(at&&"function"===typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(it,r)}catch(o){}switch(r.tag){case 5:Jo||el(r,t);case 6:var n=fl,i=dl;fl=null,pl(e,t,r),dl=i,null!==(fl=n)&&(dl?(e=fl,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):fl.removeChild(r.stateNode));break;case 18:null!==fl&&(dl?(e=fl,r=r.stateNode,8===e.nodeType?li(e.parentNode,r):1===e.nodeType&&li(e,r),Ht(e)):li(fl,r.stateNode));break;case 4:n=fl,i=dl,fl=r.stateNode.containerInfo,dl=!0,pl(e,t,r),fl=n,dl=i;break;case 0:case 11:case 14:case 15:if(!Jo&&(null!==(n=r.updateQueue)&&null!==(n=n.lastEffect))){i=n=n.next;do{var a=i,s=a.destroy;a=a.tag,void 0!==s&&(0!==(2&a)||0!==(4&a))&&tl(r,t,s),i=i.next}while(i!==n)}pl(e,t,r);break;case 1:if(!Jo&&(el(r,t),"function"===typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(o){Ec(r,t,o)}pl(e,t,r);break;case 21:pl(e,t,r);break;case 22:1&r.mode?(Jo=(n=Jo)||null!==r.memoizedState,pl(e,t,r),Jo=n):pl(e,t,r);break;default:pl(e,t,r)}}function ml(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Ko),t.forEach((function(t){var n=Mc.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function vl(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var i=r[n];try{var s=e,o=t,l=o;e:for(;null!==l;){switch(l.tag){case 5:fl=l.stateNode,dl=!1;break e;case 3:case 4:fl=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===fl)throw Error(a(160));hl(s,o,i),fl=null,dl=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(u){Ec(i,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vl(t,e),yl(e),4&n){try{nl(3,e,e.return),il(3,e)}catch(v){Ec(e,e.return,v)}try{nl(5,e,e.return)}catch(v){Ec(e,e.return,v)}}break;case 1:vl(t,e),yl(e),512&n&&null!==r&&el(r,r.return);break;case 5:if(vl(t,e),yl(e),512&n&&null!==r&&el(r,r.return),32&e.flags){var i=e.stateNode;try{de(i,"")}catch(v){Ec(e,e.return,v)}}if(4&n&&null!=(i=e.stateNode)){var s=e.memoizedProps,o=null!==r?r.memoizedProps:s,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===s.type&&null!=s.name&&J(i,s),be(l,o);var u=be(l,s);for(o=0;o<c.length;o+=2){var f=c[o],d=c[o+1];"style"===f?ve(i,d):"dangerouslySetInnerHTML"===f?fe(i,d):"children"===f?de(i,d):b(i,f,d,u)}switch(l){case"input":K(i,s);break;case"textarea":ae(i,s);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var h=s.value;null!=h?re(i,!!s.multiple,h,!1):p!==!!s.multiple&&(null!=s.defaultValue?re(i,!!s.multiple,s.defaultValue,!0):re(i,!!s.multiple,s.multiple?[]:"",!1))}i[pi]=s}catch(v){Ec(e,e.return,v)}}break;case 6:if(vl(t,e),yl(e),4&n){if(null===e.stateNode)throw Error(a(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(v){Ec(e,e.return,v)}}break;case 3:if(vl(t,e),yl(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(v){Ec(e,e.return,v)}break;case 4:default:vl(t,e),yl(e);break;case 13:vl(t,e),yl(e),8192&(i=e.child).flags&&(s=null!==i.memoizedState,i.stateNode.isHidden=s,!s||null!==i.alternate&&null!==i.alternate.memoizedState||(Hl=Je())),4&n&&ml(e);break;case 22:if(f=null!==r&&null!==r.memoizedState,1&e.mode?(Jo=(u=Jo)||f,vl(t,e),Jo=u):vl(t,e),yl(e),8192&n){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!f&&0!==(1&e.mode))for(Qo=e,f=e.child;null!==f;){for(d=Qo=f;null!==Qo;){switch(h=(p=Qo).child,p.tag){case 0:case 11:case 14:case 15:nl(4,p,p.return);break;case 1:el(p,p.return);var m=p.stateNode;if("function"===typeof m.componentWillUnmount){n=p,r=p.return;try{t=n,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(v){Ec(n,r,v)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){wl(d);continue}}null!==h?(h.return=p,Qo=h):wl(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{i=d.stateNode,u?"function"===typeof(s=i.style).setProperty?s.setProperty("display","none","important"):s.display="none":(l=d.stateNode,o=void 0!==(c=d.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",o))}catch(v){Ec(e,e.return,v)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(v){Ec(e,e.return,v)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:vl(t,e),yl(e),4&n&&ml(e);case 21:}}function yl(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(ol(r)){var n=r;break e}r=r.return}throw Error(a(160))}switch(n.tag){case 5:var i=n.stateNode;32&n.flags&&(de(i,""),n.flags&=-33),ul(e,ll(e),i);break;case 3:case 4:var s=n.stateNode.containerInfo;cl(e,ll(e),s);break;default:throw Error(a(161))}}catch(o){Ec(e,e.return,o)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,r){Qo=e,xl(e,t,r)}function xl(e,t,r){for(var n=0!==(1&e.mode);null!==Qo;){var i=Qo,a=i.child;if(22===i.tag&&n){var s=null!==i.memoizedState||Zo;if(!s){var o=i.alternate,l=null!==o&&null!==o.memoizedState||Jo;o=Zo;var c=Jo;if(Zo=s,(Jo=l)&&!c)for(Qo=i;null!==Qo;)l=(s=Qo).child,22===s.tag&&null!==s.memoizedState?Sl(i):null!==l?(l.return=s,Qo=l):Sl(i);for(;null!==a;)Qo=a,xl(a,t,r),a=a.sibling;Qo=i,Zo=o,Jo=c}_l(e)}else 0!==(8772&i.subtreeFlags)&&null!==a?(a.return=i,Qo=a):_l(e)}}function _l(e){for(;null!==Qo;){var t=Qo;if(0!==(8772&t.flags)){var r=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Jo||il(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!Jo)if(null===r)n.componentDidMount();else{var i=t.elementType===t.type?r.memoizedProps:va(t.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;null!==s&&Ra(t,s,n);break;case 3:var o=t.updateQueue;if(null!==o){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Ra(t,o,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var f=u.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Ht(d)}}}break;default:throw Error(a(163))}Jo||512&t.flags&&al(t)}catch(p){Ec(t,t.return,p)}}if(t===e){Qo=null;break}if(null!==(r=t.sibling)){r.return=t.return,Qo=r;break}Qo=t.return}}function wl(e){for(;null!==Qo;){var t=Qo;if(t===e){Qo=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Qo=r;break}Qo=t.return}}function Sl(e){for(;null!==Qo;){var t=Qo;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{il(4,t)}catch(l){Ec(t,r,l)}break;case 1:var n=t.stateNode;if("function"===typeof n.componentDidMount){var i=t.return;try{n.componentDidMount()}catch(l){Ec(t,i,l)}}var a=t.return;try{al(t)}catch(l){Ec(t,a,l)}break;case 5:var s=t.return;try{al(t)}catch(l){Ec(t,s,l)}}}catch(l){Ec(t,t.return,l)}if(t===e){Qo=null;break}var o=t.sibling;if(null!==o){o.return=t.return,Qo=o;break}Qo=t.return}}var kl,El=Math.ceil,Cl=x.ReactCurrentDispatcher,Pl=x.ReactCurrentOwner,Tl=x.ReactCurrentBatchConfig,Ml=0,jl=null,Al=null,Ol=0,Dl=0,Nl=ki(0),Il=0,Fl=null,Ll=0,Rl=0,Bl=0,zl=null,Vl=null,Hl=0,Gl=1/0,ql=null,Wl=!1,Ul=null,$l=null,Xl=!1,Yl=null,Zl=0,Jl=0,Kl=null,Ql=-1,ec=0;function tc(){return 0!==(6&Ml)?Je():-1!==Ql?Ql:Ql=Je()}function rc(e){return 0===(1&e.mode)?1:0!==(2&Ml)&&0!==Ol?Ol&-Ol:null!==ma.transition?(0===ec&&(ec=mt()),ec):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Zt(e.type)}function nc(e,t,r,n){if(50<Jl)throw Jl=0,Kl=null,Error(a(185));gt(e,r,n),0!==(2&Ml)&&e===jl||(e===jl&&(0===(2&Ml)&&(Rl|=r),4===Il&&lc(e,Ol)),ic(e,n),1===r&&0===Ml&&0===(1&t.mode)&&(Gl=Je()+500,Bi&&Hi()))}function ic(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-st(a),o=1<<s,l=i[s];-1===l?0!==(o&r)&&0===(o&n)||(i[s]=pt(o,t)):l<=t&&(e.expiredLanes|=o),a&=~o}}(e,t);var n=dt(e,e===jl?Ol:0);if(0===n)null!==r&&Xe(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&Xe(r),1===t)0===e.tag?function(e){Bi=!0,Vi(e)}(cc.bind(null,e)):Vi(cc.bind(null,e)),si((function(){0===(6&Ml)&&Hi()})),r=null;else{switch(xt(n)){case 1:r=Qe;break;case 4:r=et;break;case 16:default:r=tt;break;case 536870912:r=nt}r=jc(r,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function ac(e,t){if(Ql=-1,ec=0,0!==(6&Ml))throw Error(a(327));var r=e.callbackNode;if(Sc()&&e.callbackNode!==r)return null;var n=dt(e,e===jl?Ol:0);if(0===n)return null;if(0!==(30&n)||0!==(n&e.expiredLanes)||t)t=gc(e,n);else{t=n;var i=Ml;Ml|=2;var s=mc();for(jl===e&&Ol===t||(ql=null,Gl=Je()+500,pc(e,t));;)try{bc();break}catch(l){hc(e,l)}_a(),Cl.current=s,Ml=i,null!==Al?t=0:(jl=null,Ol=0,t=Il)}if(0!==t){if(2===t&&(0!==(i=ht(e))&&(n=i,t=sc(e,i))),1===t)throw r=Fl,pc(e,0),lc(e,n),ic(e,Je()),r;if(6===t)lc(e,n);else{if(i=e.current.alternate,0===(30&n)&&!function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var i=r[n],a=i.getSnapshot;i=i.value;try{if(!on(a(),i))return!1}catch(o){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=gc(e,n))&&(0!==(s=ht(e))&&(n=s,t=sc(e,s))),1===t))throw r=Fl,pc(e,0),lc(e,n),ic(e,Je()),r;switch(e.finishedWork=i,e.finishedLanes=n,t){case 0:case 1:throw Error(a(345));case 2:case 5:wc(e,Vl,ql);break;case 3:if(lc(e,n),(130023424&n)===n&&10<(t=Hl+500-Je())){if(0!==dt(e,0))break;if(((i=e.suspendedLanes)&n)!==n){tc(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ni(wc.bind(null,e,Vl,ql),t);break}wc(e,Vl,ql);break;case 4:if(lc(e,n),(4194240&n)===n)break;for(t=e.eventTimes,i=-1;0<n;){var o=31-st(n);s=1<<o,(o=t[o])>i&&(i=o),n&=~s}if(n=i,10<(n=(120>(n=Je()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*El(n/1960))-n)){e.timeoutHandle=ni(wc.bind(null,e,Vl,ql),n);break}wc(e,Vl,ql);break;default:throw Error(a(329))}}}return ic(e,Je()),e.callbackNode===r?ac.bind(null,e):null}function sc(e,t){var r=zl;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Vl,Vl=r,null!==t&&oc(t)),e}function oc(e){null===Vl?Vl=e:Vl.push.apply(Vl,e)}function lc(e,t){for(t&=~Bl,t&=~Rl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-st(t),n=1<<r;e[r]=-1,t&=~n}}function cc(e){if(0!==(6&Ml))throw Error(a(327));Sc();var t=dt(e,0);if(0===(1&t))return ic(e,Je()),null;var r=gc(e,t);if(0!==e.tag&&2===r){var n=ht(e);0!==n&&(t=n,r=sc(e,n))}if(1===r)throw r=Fl,pc(e,0),lc(e,t),ic(e,Je()),r;if(6===r)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,Vl,ql),ic(e,Je()),null}function uc(e,t){var r=Ml;Ml|=1;try{return e(t)}finally{0===(Ml=r)&&(Gl=Je()+500,Bi&&Hi())}}function fc(e){null!==Yl&&0===Yl.tag&&0===(6&Ml)&&Sc();var t=Ml;Ml|=1;var r=Tl.transition,n=bt;try{if(Tl.transition=null,bt=1,e)return e()}finally{bt=n,Tl.transition=r,0===(6&(Ml=t))&&Hi()}}function dc(){Dl=Nl.current,Ei(Nl)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,ii(r)),null!==Al)for(r=Al.return;null!==r;){var n=r;switch(ta(n),n.tag){case 1:null!==(n=n.type.childContextTypes)&&void 0!==n&&Di();break;case 3:is(),Ei(Mi),Ei(Ti),us();break;case 5:ss(n);break;case 4:is();break;case 13:case 19:Ei(os);break;case 10:wa(n.type._context);break;case 22:case 23:dc()}r=r.return}if(jl=e,Al=e=Nc(e.current,null),Ol=Dl=t,Il=0,Fl=null,Bl=Rl=Ll=0,Vl=zl=null,null!==Ca){for(t=0;t<Ca.length;t++)if(null!==(n=(r=Ca[t]).interleaved)){r.interleaved=null;var i=n.next,a=r.pending;if(null!==a){var s=a.next;a.next=i,n.next=s}r.pending=n}Ca=null}return e}function hc(e,t){for(;;){var r=Al;try{if(_a(),fs.current=ao,gs){for(var n=hs.memoizedState;null!==n;){var i=n.queue;null!==i&&(i.pending=null),n=n.next}gs=!1}if(ps=0,vs=ms=hs=null,ys=!1,bs=0,Pl.current=null,null===r||null===r.return){Il=1,Fl=t,Al=null;break}e:{var s=e,o=r.return,l=r,c=t;if(t=Ol,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,f=l,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=go(o);if(null!==h){h.flags&=-257,yo(h,o,l,0,t),1&h.mode&&vo(s,u,t),c=u;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(c),t.updateQueue=v}else m.add(c);break e}if(0===(1&t)){vo(s,u,t),vc();break e}c=Error(a(426))}else if(ia&&1&l.mode){var g=go(o);if(null!==g){0===(65536&g.flags)&&(g.flags|=256),yo(g,o,l,0,t),ha(co(c,l));break e}}s=c=co(c,l),4!==Il&&(Il=2),null===zl?zl=[s]:zl.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t,Fa(s,ho(0,c,t));break e;case 1:l=c;var y=s.type,b=s.stateNode;if(0===(128&s.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===$l||!$l.has(b)))){s.flags|=65536,t&=-t,s.lanes|=t,Fa(s,mo(s,l,t));break e}}s=s.return}while(null!==s)}_c(r)}catch(x){t=x,Al===r&&null!==r&&(Al=r=r.return);continue}break}}function mc(){var e=Cl.current;return Cl.current=ao,null===e?ao:e}function vc(){0!==Il&&3!==Il&&2!==Il||(Il=4),null===jl||0===(268435455&Ll)&&0===(268435455&Rl)||lc(jl,Ol)}function gc(e,t){var r=Ml;Ml|=2;var n=mc();for(jl===e&&Ol===t||(ql=null,pc(e,t));;)try{yc();break}catch(i){hc(e,i)}if(_a(),Ml=r,Cl.current=n,null!==Al)throw Error(a(261));return jl=null,Ol=0,Il}function yc(){for(;null!==Al;)xc(Al)}function bc(){for(;null!==Al&&!Ye();)xc(Al)}function xc(e){var t=kl(e.alternate,e,Dl);e.memoizedProps=e.pendingProps,null===t?_c(e):Al=t,Pl.current=null}function _c(e){var t=e;do{var r=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(r=Xo(r,t,Dl)))return void(Al=r)}else{if(null!==(r=Yo(r,t)))return r.flags&=32767,void(Al=r);if(null===e)return Il=6,void(Al=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Al=t);Al=t=e}while(null!==t);0===Il&&(Il=5)}function wc(e,t,r){var n=bt,i=Tl.transition;try{Tl.transition=null,bt=1,function(e,t,r,n){do{Sc()}while(null!==Yl);if(0!==(6&Ml))throw Error(a(327));r=e.finishedWork;var i=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var s=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var i=31-st(r),a=1<<i;t[i]=0,n[i]=-1,e[i]=-1,r&=~a}}(e,s),e===jl&&(Al=jl=null,Ol=0),0===(2064&r.subtreeFlags)&&0===(2064&r.flags)||Xl||(Xl=!0,jc(tt,(function(){return Sc(),null}))),s=0!==(15990&r.flags),0!==(15990&r.subtreeFlags)||s){s=Tl.transition,Tl.transition=null;var o=bt;bt=1;var l=Ml;Ml|=4,Pl.current=null,function(e,t){if(ei=qt,pn(e=dn())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var i=n.anchorOffset,s=n.focusNode;n=n.focusOffset;try{r.nodeType,s.nodeType}catch(_){r=null;break e}var o=0,l=-1,c=-1,u=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==r||0!==i&&3!==d.nodeType||(l=o+i),d!==s||0!==n&&3!==d.nodeType||(c=o+n),3===d.nodeType&&(o+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===r&&++u===i&&(l=o),p===s&&++f===n&&(c=o),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}r=-1===l||-1===c?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(ti={focusedElem:e,selectionRange:r},qt=!1,Qo=t;null!==Qo;)if(e=(t=Qo).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Qo=e;else for(;null!==Qo;){t=Qo;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:va(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=t.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(a(163))}}catch(_){Ec(t,t.return,_)}if(null!==(e=t.sibling)){e.return=t.return,Qo=e;break}Qo=t.return}m=rl,rl=!1}(e,r),gl(r,e),hn(ti),qt=!!ei,ti=ei=null,e.current=r,bl(r,e,i),Ze(),Ml=l,bt=o,Tl.transition=s}else e.current=r;if(Xl&&(Xl=!1,Yl=e,Zl=i),s=e.pendingLanes,0===s&&($l=null),function(e){if(at&&"function"===typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(it,e,void 0,128===(128&e.current.flags))}catch(t){}}(r.stateNode),ic(e,Je()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)i=t[r],n(i.value,{componentStack:i.stack,digest:i.digest});if(Wl)throw Wl=!1,e=Ul,Ul=null,e;0!==(1&Zl)&&0!==e.tag&&Sc(),s=e.pendingLanes,0!==(1&s)?e===Kl?Jl++:(Jl=0,Kl=e):Jl=0,Hi()}(e,t,r,n)}finally{Tl.transition=i,bt=n}return null}function Sc(){if(null!==Yl){var e=xt(Zl),t=Tl.transition,r=bt;try{if(Tl.transition=null,bt=16>e?16:e,null===Yl)var n=!1;else{if(e=Yl,Yl=null,Zl=0,0!==(6&Ml))throw Error(a(331));var i=Ml;for(Ml|=4,Qo=e.current;null!==Qo;){var s=Qo,o=s.child;if(0!==(16&Qo.flags)){var l=s.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Qo=u;null!==Qo;){var f=Qo;switch(f.tag){case 0:case 11:case 15:nl(8,f,s)}var d=f.child;if(null!==d)d.return=f,Qo=d;else for(;null!==Qo;){var p=(f=Qo).sibling,h=f.return;if(sl(f),f===u){Qo=null;break}if(null!==p){p.return=h,Qo=p;break}Qo=h}}}var m=s.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Qo=s}}if(0!==(2064&s.subtreeFlags)&&null!==o)o.return=s,Qo=o;else e:for(;null!==Qo;){if(0!==(2048&(s=Qo).flags))switch(s.tag){case 0:case 11:case 15:nl(9,s,s.return)}var y=s.sibling;if(null!==y){y.return=s.return,Qo=y;break e}Qo=s.return}}var b=e.current;for(Qo=b;null!==Qo;){var x=(o=Qo).child;if(0!==(2064&o.subtreeFlags)&&null!==x)x.return=o,Qo=x;else e:for(o=b;null!==Qo;){if(0!==(2048&(l=Qo).flags))try{switch(l.tag){case 0:case 11:case 15:il(9,l)}}catch(w){Ec(l,l.return,w)}if(l===o){Qo=null;break e}var _=l.sibling;if(null!==_){_.return=l.return,Qo=_;break e}Qo=l.return}}if(Ml=i,Hi(),at&&"function"===typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(it,e)}catch(w){}n=!0}return n}finally{bt=r,Tl.transition=t}}return!1}function kc(e,t,r){e=Na(e,t=ho(0,t=co(r,t),1),1),t=tc(),null!==e&&(gt(e,1,t),ic(e,t))}function Ec(e,t,r){if(3===e.tag)kc(e,e,r);else for(;null!==t;){if(3===t.tag){kc(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof n.componentDidCatch&&(null===$l||!$l.has(n))){t=Na(t,e=mo(t,e=co(r,e),1),1),e=tc(),null!==t&&(gt(t,1,e),ic(t,e));break}}t=t.return}}function Cc(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=tc(),e.pingedLanes|=e.suspendedLanes&r,jl===e&&(Ol&r)===r&&(4===Il||3===Il&&(130023424&Ol)===Ol&&500>Je()-Hl?pc(e,0):Bl|=r),ic(e,t)}function Pc(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ut,0===(130023424&(ut<<=1))&&(ut=4194304)));var r=tc();null!==(e=Ma(e,t))&&(gt(e,t,r),ic(e,r))}function Tc(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Pc(e,r)}function Mc(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;null!==i&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(a(314))}null!==n&&n.delete(t),Pc(e,r)}function jc(e,t){return $e(e,t)}function Ac(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Oc(e,t,r,n){return new Ac(e,t,r,n)}function Dc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Nc(e,t){var r=e.alternate;return null===r?((r=Oc(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Ic(e,t,r,n,i,s){var o=2;if(n=e,"function"===typeof e)Dc(e)&&(o=1);else if("string"===typeof e)o=5;else e:switch(e){case S:return Fc(r.children,i,s,t);case k:o=8,i|=8;break;case E:return(e=Oc(12,r,t,2|i)).elementType=E,e.lanes=s,e;case M:return(e=Oc(13,r,t,i)).elementType=M,e.lanes=s,e;case j:return(e=Oc(19,r,t,i)).elementType=j,e.lanes=s,e;case D:return Lc(r,i,s,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case C:o=10;break e;case P:o=9;break e;case T:o=11;break e;case A:o=14;break e;case O:o=16,n=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Oc(o,r,t,i)).elementType=e,t.type=n,t.lanes=s,t}function Fc(e,t,r,n){return(e=Oc(7,e,n,t)).lanes=r,e}function Lc(e,t,r,n){return(e=Oc(22,e,n,t)).elementType=D,e.lanes=r,e.stateNode={isHidden:!1},e}function Rc(e,t,r){return(e=Oc(6,e,null,t)).lanes=r,e}function Bc(e,t,r){return(t=Oc(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zc(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Vc(e,t,r,n,i,a,s,o,l){return e=new zc(e,t,r,o,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Oc(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Aa(a),e}function Hc(e){if(!e)return Pi;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Oi(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var r=e.type;if(Oi(r))return Ii(e,r,t)}return t}function Gc(e,t,r,n,i,a,s,o,l){return(e=Vc(r,n,!0,e,0,a,0,o,l)).context=Hc(null),r=e.current,(a=Da(n=tc(),i=rc(r))).callback=void 0!==t&&null!==t?t:null,Na(r,a,i),e.current.lanes=i,gt(e,i,n),ic(e,n),e}function qc(e,t,r,n){var i=t.current,a=tc(),s=rc(i);return r=Hc(r),null===t.context?t.context=r:t.pendingContext=r,(t=Da(a,s)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=Na(i,t,s))&&(nc(e,i,s,a),Ia(e,i,s)),s}function Wc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Uc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function $c(e,t){Uc(e,t),(e=e.alternate)&&Uc(e,t)}kl=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Mi.current)xo=!0;else{if(0===(e.lanes&r)&&0===(128&t.flags))return xo=!1,function(e,t,r){switch(t.tag){case 3:jo(t),pa();break;case 5:as(t);break;case 1:Oi(t.type)&&Fi(t);break;case 4:ns(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,i=t.memoizedProps.value;Ci(ga,n._currentValue),n._currentValue=i;break;case 13:if(null!==(n=t.memoizedState))return null!==n.dehydrated?(Ci(os,1&os.current),t.flags|=128,null):0!==(r&t.child.childLanes)?Ro(e,t,r):(Ci(os,1&os.current),null!==(e=Wo(e,t,r))?e.sibling:null);Ci(os,1&os.current);break;case 19:if(n=0!==(r&t.childLanes),0!==(128&e.flags)){if(n)return Go(e,t,r);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ci(os,os.current),n)break;return null;case 22:case 23:return t.lanes=0,Eo(e,t,r)}return Wo(e,t,r)}(e,t,r);xo=0!==(131072&e.flags)}else xo=!1,ia&&0!==(1048576&t.flags)&&Qi(t,Ui,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;qo(e,t),e=t.pendingProps;var i=Ai(t,Ti.current);ka(t,r),i=Ss(null,t,n,e,i,r);var s=ks();return t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oi(n)?(s=!0,Fi(t)):s=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Aa(t),i.updater=Va,t.stateNode=i,i._reactInternals=t,Wa(t,n,e,r),t=Mo(null,t,n,!0,s,r)):(t.tag=0,ia&&s&&ea(t),_o(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(qo(e,t),e=t.pendingProps,n=(i=n._init)(n._payload),t.type=n,i=t.tag=function(e){if("function"===typeof e)return Dc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===T)return 11;if(e===A)return 14}return 2}(n),e=va(n,e),i){case 0:t=Po(null,t,n,e,r);break e;case 1:t=To(null,t,n,e,r);break e;case 11:t=wo(null,t,n,e,r);break e;case 14:t=So(null,t,n,va(n.type,e),r);break e}throw Error(a(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,Po(e,t,n,i=t.elementType===n?i:va(n,i),r);case 1:return n=t.type,i=t.pendingProps,To(e,t,n,i=t.elementType===n?i:va(n,i),r);case 3:e:{if(jo(t),null===e)throw Error(a(387));n=t.pendingProps,i=(s=t.memoizedState).element,Oa(e,t),La(t,n,null,r);var o=t.memoizedState;if(n=o.element,s.isDehydrated){if(s={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,256&t.flags){t=Ao(e,t,n,r,i=co(Error(a(423)),t));break e}if(n!==i){t=Ao(e,t,n,r,i=co(Error(a(424)),t));break e}for(na=ci(t.stateNode.containerInfo.firstChild),ra=t,ia=!0,aa=null,r=Ja(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(pa(),n===i){t=Wo(e,t,r);break e}_o(e,t,n,r)}t=t.child}return t;case 5:return as(t),null===e&&ca(t),n=t.type,i=t.pendingProps,s=null!==e?e.memoizedProps:null,o=i.children,ri(n,i)?o=null:null!==s&&ri(n,s)&&(t.flags|=32),Co(e,t),_o(e,t,o,r),t.child;case 6:return null===e&&ca(t),null;case 13:return Ro(e,t,r);case 4:return ns(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=Za(t,null,n,r):_o(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,wo(e,t,n,i=t.elementType===n?i:va(n,i),r);case 7:return _o(e,t,t.pendingProps,r),t.child;case 8:case 12:return _o(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,Ci(ga,n._currentValue),n._currentValue=o,null!==s)if(on(s.value,o)){if(s.children===i.children&&!Mi.current){t=Wo(e,t,r);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var l=s.dependencies;if(null!==l){o=s.child;for(var c=l.firstContext;null!==c;){if(c.context===n){if(1===s.tag){(c=Da(-1,r&-r)).tag=2;var u=s.updateQueue;if(null!==u){var f=(u=u.shared).pending;null===f?c.next=c:(c.next=f.next,f.next=c),u.pending=c}}s.lanes|=r,null!==(c=s.alternate)&&(c.lanes|=r),Sa(s.return,r,t),l.lanes|=r;break}c=c.next}}else if(10===s.tag)o=s.type===t.type?null:s.child;else if(18===s.tag){if(null===(o=s.return))throw Error(a(341));o.lanes|=r,null!==(l=o.alternate)&&(l.lanes|=r),Sa(o,r,t),o=s.sibling}else o=s.child;if(null!==o)o.return=s;else for(o=s;null!==o;){if(o===t){o=null;break}if(null!==(s=o.sibling)){s.return=o.return,o=s;break}o=o.return}s=o}_o(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,ka(t,r),n=n(i=Ea(i)),t.flags|=1,_o(e,t,n,r),t.child;case 14:return i=va(n=t.type,t.pendingProps),So(e,t,n,i=va(n.type,i),r);case 15:return ko(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:va(n,i),qo(e,t),t.tag=1,Oi(n)?(e=!0,Fi(t)):e=!1,ka(t,r),Ga(t,n,i),Wa(t,n,i,r),Mo(null,t,n,!0,e,r);case 19:return Go(e,t,r);case 22:return Eo(e,t,r)}throw Error(a(156,t.tag))};var Xc="function"===typeof reportError?reportError:function(e){console.error(e)};function Yc(e){this._internalRoot=e}function Zc(e){this._internalRoot=e}function Jc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Kc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Qc(){}function eu(e,t,r,n,i){var a=r._reactRootContainer;if(a){var s=a;if("function"===typeof i){var o=i;i=function(){var e=Wc(s);o.call(e)}}qc(t,s,e,i)}else s=function(e,t,r,n,i){if(i){if("function"===typeof n){var a=n;n=function(){var e=Wc(s);a.call(e)}}var s=Gc(t,n,e,0,null,!1,0,"",Qc);return e._reactRootContainer=s,e[hi]=s.current,Hn(8===e.nodeType?e.parentNode:e),fc(),s}for(;i=e.lastChild;)e.removeChild(i);if("function"===typeof n){var o=n;n=function(){var e=Wc(l);o.call(e)}}var l=Vc(e,0,!1,null,0,!1,0,"",Qc);return e._reactRootContainer=l,e[hi]=l.current,Hn(8===e.nodeType?e.parentNode:e),fc((function(){qc(t,l,r,n)})),l}(r,t,e,i,n);return Wc(s)}Zc.prototype.render=Yc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));qc(e,t,null,null)},Zc.prototype.unmount=Yc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fc((function(){qc(null,e,null,null)})),t[hi]=null}},Zc.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Dt.length&&0!==t&&t<Dt[r].priority;r++);Dt.splice(r,0,e),0===r&&Lt(e)}},_t=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=ft(t.pendingLanes);0!==r&&(yt(t,1|r),ic(t,Je()),0===(6&Ml)&&(Gl=Je()+500,Hi()))}break;case 13:fc((function(){var t=Ma(e,1);if(null!==t){var r=tc();nc(t,e,1,r)}})),$c(e,1)}},wt=function(e){if(13===e.tag){var t=Ma(e,134217728);if(null!==t)nc(t,e,134217728,tc());$c(e,134217728)}},St=function(e){if(13===e.tag){var t=rc(e),r=Ma(e,t);if(null!==r)nc(r,e,t,tc());$c(e,t)}},kt=function(){return bt},Et=function(e,t){var r=bt;try{return bt=e,t()}finally{bt=r}},we=function(e,t,r){switch(t){case"input":if(K(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=_i(n);if(!i)throw Error(a(90));$(n),K(n,i)}}}break;case"textarea":ae(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},Te=uc,Me=fc;var tu={usingClientEntryPoint:!1,Events:[bi,xi,_i,Ce,Pe,uc]},ru={findFiberByHostInstance:yi,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},nu={bundleType:ru.bundleType,version:ru.version,rendererPackageName:ru.rendererPackageName,rendererConfig:ru.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:ru.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var iu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!iu.isDisabled&&iu.supportsFiber)try{it=iu.inject(nu),at=iu}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Jc(t))throw Error(a(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:w,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},t.createRoot=function(e,t){if(!Jc(e))throw Error(a(299));var r=!1,n="",i=Xc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Vc(e,1,!1,null,0,r,0,n,i),e[hi]=t.current,Hn(8===e.nodeType?e.parentNode:e),new Yc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return fc(e)},t.hydrate=function(e,t,r){if(!Kc(t))throw Error(a(200));return eu(null,e,t,!0,r)},t.hydrateRoot=function(e,t,r){if(!Jc(e))throw Error(a(405));var n=null!=r&&r.hydratedSources||null,i=!1,s="",o=Xc;if(null!==r&&void 0!==r&&(!0===r.unstable_strictMode&&(i=!0),void 0!==r.identifierPrefix&&(s=r.identifierPrefix),void 0!==r.onRecoverableError&&(o=r.onRecoverableError)),t=Gc(t,null,e,1,null!=r?r:null,i,0,s,o),e[hi]=t.current,Hn(e),n)for(e=0;e<n.length;e++)i=(i=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,i]:t.mutableSourceEagerHydrationData.push(r,i);return new Zc(t)},t.render=function(e,t,r){if(!Kc(t))throw Error(a(200));return eu(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!Kc(e))throw Error(a(40));return!!e._reactRootContainer&&(fc((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null,e[hi]=null}))})),!0)},t.unstable_batchedUpdates=uc,t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Kc(r))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return eu(e,t,r,!1,n)},t.version="18.2.0-next-9e3b772b8-20220608"},250:function(e,t,r){"use strict";var n=r(164);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},164:function(e,t,r){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=r(463)},372:function(e,t){"use strict";var r,n=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),c=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen");function g(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case a:case o:case s:case d:case p:return e;default:switch(e=e&&e.$$typeof){case u:case c:case f:case m:case h:case l:return e;default:return t}}case i:return t}}}r=Symbol.for("react.module.reference")},441:function(e,t,r){"use strict";r(372)},905:function(e,t,r){var n;"undefined"!=typeof self&&self,n=function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([function(t,r){t.exports=e},function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,i=l(e);if(t){var a=l(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,r)}}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Background=t.Parallax=void 0;var u=c(r(0)),f=function(e){a(r,e);var t=o(r);function r(){return i(this,r),t.apply(this,arguments)}return r}(u.default.Component);t.Parallax=f;var d=function(e){a(r,e);var t=o(r);function r(){return i(this,r),t.apply(this,arguments)}return r}(u.default.Component);t.Background=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.getNodeHeight=t.isScrolledIntoView=t.getWindowHeight=void 0,t.getWindowHeight=function(e){if(!e)return 0;var t=window,r=document,n=r.documentElement,i=r.getElementsByTagName("body")[0];return t.innerHeight||n.clientHeight||i.clientHeight},t.isScrolledIntoView=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;if(!n)return!1;var i=e.getBoundingClientRect().top-r,a=e.getBoundingClientRect().bottom+r;return i<=t.getWindowHeight(n)&&a>=0},t.getNodeHeight=function(e,r){return e?r&&"clientHeight"in r?r.clientHeight:t.getWindowHeight(e):0},t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Background=t.Parallax=void 0;var i=n(r(4));t.Parallax=i.default;var a=n(r(7));t.Background=a.default},function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,i=o(e);if(t){var a=o(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,r)}}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=l(r(0)),u=r(1),f=r(5),d=r(2),p=l(r(6)),h={position:"absolute",left:"50%",WebkitTransform:"translate3d(-50%, 0, 0)",transform:"translate3d(-50%, 0, 0)",WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",MozBackfaceVisibility:"hidden",MsBackfaceVisibility:"hidden"},m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(r,e);var t=s(r);function r(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(n=t.call(this,e)).onWindowResize=function(){n.parentHeight=d.getNodeHeight(n.canUseDOM,n.parent),n.updatePosition()},n.onWindowLoad=function(){n.updatePosition()},n.onScroll=function(){if(n.canUseDOM){var e=Date.now();e-n.timestamp>=10&&d.isScrolledIntoView(n.node,100,n.canUseDOM)&&(window.requestAnimationFrame(n.updatePosition),n.timestamp=e)}},n.onContentMount=function(e){n.content=e},n.updatePosition=function(){if(n.content){var e=!1;n.contentHeight=n.content.getBoundingClientRect().height,n.contentWidth=n.node.getBoundingClientRect().width,n.img&&n.img.naturalWidth/n.img.naturalHeight<n.contentWidth/n.getImageHeight()&&(e=!0);var t=f.getRelativePosition(n.node,n.canUseDOM),r=!!n.img,i=n.bg&&n.state.splitChildren.bgChildren.length>0;r&&n.setImagePosition(t,e),i&&n.setBackgroundPosition(t),r||i||n.setState({percentage:t})}},n.state={bgImage:e.bgImage,bgImageSrcSet:e.bgImageSrcSet,bgImageSizes:e.bgImageSizes,imgStyle:h,bgStyle:Object.assign(Object.assign({},h),e.bgStyle),percentage:0,splitChildren:f.getSplitChildren(e)},n.canUseDOM=d.canUseDOM(),n.node=null,n.content=null,n.bgImageLoaded=!1,n.bgImageRef=void 0,n.parent=e.parent,n.parentHeight=d.getNodeHeight(n.canUseDOM,n.parent),n.timestamp=Date.now(),n.isDynamicBlur=f.getHasDynamicBlur(e.blur),n}return function(e,t,r){t&&i(e.prototype,t),r&&i(e,r)}(r,[{key:"componentDidMount",value:function(){var e=this.props.parent,t=this.state,r=t.bgImage,n=t.bgImageSrcSet,i=t.bgImageSizes;this.parent=e||document,this.addListeners(),r?this.loadImage(r,n,i):this.updatePosition()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.parent,n=t.bgImage,i=t.bgImageSrcSet,a=t.bgImageSizes,s=this.state.bgImage;e.parent!==r&&(this.removeListeners(this.parent),this.parent=r,r&&this.addListeners()),this.parentHeight=d.getNodeHeight(this.canUseDOM,this.parent),s!==n&&this.loadImage(n,i,a)}},{key:"componentWillUnmount",value:function(){this.removeListeners(this.parent),this.releaseImage()}},{key:"setBackgroundPosition",value:function(e){var t=this.props,r=t.disabled,n=t.strength,i=Object.assign({},this.state.bgStyle);if(!r){var a="translate3d(-50%, ".concat((n<0?n:0)-n*e,"px, 0)");i.WebkitTransform=a,i.transform=a}this.setState({bgStyle:i,percentage:e})}},{key:"setImagePosition",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.props,n=r.disabled,i=r.strength,a=r.blur,s=t?"auto":"".concat(this.getImageHeight(),"px"),o=t?"".concat(this.contentWidth,"px"):"auto",l=Object.assign(Object.assign({},this.state.imgStyle),{height:s,width:o});if(!n){var c="translate3d(-50%, ".concat((i<0?i:0)-i*e,"px, 0)"),u="none";a&&(u="blur(".concat(f.getBlurValue(this.isDynamicBlur,a,e),"px)")),l.WebkitTransform=c,l.transform=c,l.WebkitFilter=u,l.filter=u}this.setState({imgStyle:l,percentage:e})}},{key:"getImageHeight",value:function(){var e=this.props.strength,t=(e<0?2.5:1)*Math.abs(e);return Math.floor(this.contentHeight+t)}},{key:"loadImage",value:function(e,t,r){var n=this;this.releaseImage(),this.bgImageRef=new Image,this.bgImageRef.onload=function(i){n.setState({bgImage:e,bgImageSrcSet:t,bgImageSizes:r},(function(){return n.updatePosition()})),n.props.onLoad&&n.props.onLoad(i)},this.bgImageRef.onerror=this.bgImageRef.onload,this.bgImageRef.src=e,this.bgImageRef.srcset=t||"",this.bgImageRef.sizes=r||""}},{key:"releaseImage",value:function(){this.bgImageRef&&(this.bgImageRef.onload=null,this.bgImageRef.onerror=null,delete this.bgImageRef)}},{key:"addListeners",value:function(){this.canUseDOM&&this.parent&&(this.parent.addEventListener("scroll",this.onScroll,!1),window.addEventListener("resize",this.onWindowResize,!1),window.addEventListener("load",this.onWindowLoad,!1))}},{key:"removeListeners",value:function(e){this.canUseDOM&&(e&&e.removeEventListener("scroll",this.onScroll,!1),window.removeEventListener("resize",this.onWindowResize,!1),window.removeEventListener("load",this.onWindowLoad,!1))}},{key:"render",value:function(){var e=this,t=this.props,r=t.className,n=t.style,i=t.bgClassName,a=t.contentClassName,s=t.bgImageAlt,o=t.renderLayer,l=t.bgImageStyle,u=t.lazy,f=this.state,d=f.bgImage,h=f.bgImageSrcSet,m=f.bgImageSizes,v=f.percentage,g=f.imgStyle,y=f.bgStyle,b=f.splitChildren;return c.default.createElement("div",{className:"react-parallax ".concat(r),style:Object.assign({position:"relative",overflow:"hidden"},n),ref:function(t){e.node=t}},d?c.default.createElement("img",{className:i,src:d,srcSet:h,sizes:m,ref:function(t){e.img=t},alt:s,style:Object.assign(Object.assign({},g),l),loading:u?"lazy":"eager"}):null,o?o(-(v-1)):null,b.bgChildren.length>0?c.default.createElement("div",{className:"react-parallax-background-children",ref:function(t){e.bg=t},style:y},b.bgChildren):null,c.default.createElement(p.default,{onMount:this.onContentMount,className:a},b.children))}}],[{key:"getDerivedStateFromProps",value:function(e){return{splitChildren:f.getSplitChildren(e)}}}]),r}(u.Parallax);m.defaultProps={bgClassName:"react-parallax-bgimage",bgImageAlt:"",className:"",contentClassName:"",disabled:!1,strength:100},t.default=m},function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.setBlur=t.getBlurValue=t.getHasDynamicBlur=t.getSplitChildren=t.getRelativePosition=t.getPercentage=void 0;var i=r(0),a=r(2);t.getPercentage=function(e,t,r){return(r-e)/(t-e)||0},t.getRelativePosition=function(e,r){if(!r)return 0;var n=e.getBoundingClientRect(),i=n.top,s=n.height,o=a.getNodeHeight(r),l=s>o?s:o,c=Math.round(i>l?l:i);return t.getPercentage(0,l,c)},t.getSplitChildren=function(e){var t=[],r=i.Children.toArray(e.children);return r.forEach((function(e,n){var i=e;i.type&&i.type.isParallaxBackground&&(t=t.concat(r.splice(n,1)))})),{bgChildren:t,children:r}},t.getHasDynamicBlur=function(e){return"object"===n(e)&&void 0!==e.min&&void 0!==e.max},t.getBlurValue=function(e,t,r){return e?t.min+(1-r)*t.max:t},t.setBlur=function(e,t){e.style.webkitFilter="blur(".concat(t,"px)"),e.style.filter="blur(".concat(t,"px)")}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(0));t.default=function(e){var t=e.children,r=e.onMount,n=e.className;return i.default.createElement("div",{ref:function(e){return r(e)},className:n||"react-parallax-content",style:{position:"relative"}},t)}},function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,i=o(e);if(t){var a=o(this).constructor;r=Reflect.construct(i,arguments,a)}else r=i.apply(this,arguments);return function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,r)}}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var c=l(r(0)),u=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(r,e);var t=s(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),t.apply(this,arguments)}return function(e,t,r){t&&i(e.prototype,t),r&&i(e,r)}(r,[{key:"render",value:function(){var e=this.props,t=e.className,r=e.children;return c.default.createElement("div",{className:"react-parallax-background ".concat(t)},r)}}]),r}(r(1).Background);u.defaultProps={className:""},u.isParallaxBackground=!0,t.default=u}])},e.exports=n(r(791))},374:function(e,t,r){"use strict";var n=r(791),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,a={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:i,type:e,key:c,ref:u,props:a,_owner:o.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},117:function(e,t){"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,v={};function g(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||h}function y(){}function b(e,t,r){this.props=e,this.context=t,this.refs=v,this.updater=r||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var x=b.prototype=new y;x.constructor=b,m(x,g.prototype),x.isPureReactComponent=!0;var _=Array.isArray,w=Object.prototype.hasOwnProperty,S={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var i,a={},s=null,o=null;if(null!=t)for(i in void 0!==t.ref&&(o=t.ref),void 0!==t.key&&(s=""+t.key),t)w.call(t,i)&&!k.hasOwnProperty(i)&&(a[i]=t[i]);var l=arguments.length-2;if(1===l)a.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];a.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===a[i]&&(a[i]=l[i]);return{$$typeof:r,type:e,key:s,ref:o,props:a,_owner:S.current}}function C(e){return"object"===typeof e&&null!==e&&e.$$typeof===r}var P=/\/+/g;function T(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function M(e,t,i,a,s){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var l=!1;if(null===e)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case n:l=!0}}if(l)return s=s(l=e),e=""===a?"."+T(l,0):a,_(s)?(i="",null!=e&&(i=e.replace(P,"$&/")+"/"),M(s,t,i,"",(function(e){return e}))):null!=s&&(C(s)&&(s=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(s,i+(!s.key||l&&l.key===s.key?"":(""+s.key).replace(P,"$&/")+"/")+e)),t.push(s)),1;if(l=0,a=""===a?".":a+":",_(e))for(var c=0;c<e.length;c++){var u=a+T(o=e[c],c);l+=M(o,t,i,u,s)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(o=e.next()).done;)l+=M(o=o.value,t,i,u=a+T(o,c++),s);else if("object"===o)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function j(e,t,r){if(null==e)return e;var n=[],i=0;return M(e,n,"","",(function(e){return t.call(r,e,i++)})),n}function A(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var O={current:null},D={transition:null},N={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:D,ReactCurrentOwner:S};t.Children={map:j,forEach:function(e,t,r){j(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return j(e,(function(){t++})),t},toArray:function(e){return j(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=i,t.Profiler=s,t.PureComponent=b,t.StrictMode=a,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),a=e.key,s=e.ref,o=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,o=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)w.call(t,c)&&!k.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}return{$$typeof:r,type:e.type,key:a,ref:s,props:i,_owner:o}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:A}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=D.transition;D.transition={};try{e()}finally{D.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return O.current.useCallback(e,t)},t.useContext=function(e){return O.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return O.current.useDeferredValue(e)},t.useEffect=function(e,t){return O.current.useEffect(e,t)},t.useId=function(){return O.current.useId()},t.useImperativeHandle=function(e,t,r){return O.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return O.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return O.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return O.current.useMemo(e,t)},t.useReducer=function(e,t,r){return O.current.useReducer(e,t,r)},t.useRef=function(e){return O.current.useRef(e)},t.useState=function(e){return O.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return O.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return O.current.useTransition()},t.version="18.2.0"},791:function(e,t,r){"use strict";e.exports=r(117)},184:function(e,t,r){"use strict";e.exports=r(374)},980:function(e,t,r){"use strict";e.exports=r(460)()},460:function(e){"use strict";function t(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}e.exports=function(e){return(e=e||{}).circles?function(e){var r=[],n=[];return e.proto?function e(a){if("object"!==typeof a||null===a)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return i(a,e);if(a instanceof Map)return new Map(i(Array.from(a),e));if(a instanceof Set)return new Set(i(Array.from(a),e));var s={};for(var o in r.push(a),n.push(s),a){var l=a[o];if("object"!==typeof l||null===l)s[o]=l;else if(l instanceof Date)s[o]=new Date(l);else if(l instanceof Map)s[o]=new Map(i(Array.from(l),e));else if(l instanceof Set)s[o]=new Set(i(Array.from(l),e));else if(ArrayBuffer.isView(l))s[o]=t(l);else{var c=r.indexOf(l);s[o]=-1!==c?n[c]:e(l)}}return r.pop(),n.pop(),s}:function e(a){if("object"!==typeof a||null===a)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return i(a,e);if(a instanceof Map)return new Map(i(Array.from(a),e));if(a instanceof Set)return new Set(i(Array.from(a),e));var s={};for(var o in r.push(a),n.push(s),a)if(!1!==Object.hasOwnProperty.call(a,o)){var l=a[o];if("object"!==typeof l||null===l)s[o]=l;else if(l instanceof Date)s[o]=new Date(l);else if(l instanceof Map)s[o]=new Map(i(Array.from(l),e));else if(l instanceof Set)s[o]=new Set(i(Array.from(l),e));else if(ArrayBuffer.isView(l))s[o]=t(l);else{var c=r.indexOf(l);s[o]=-1!==c?n[c]:e(l)}}return r.pop(),n.pop(),s};function i(e,i){for(var a=Object.keys(e),s=new Array(a.length),o=0;o<a.length;o++){var l=a[o],c=e[l];if("object"!==typeof c||null===c)s[l]=c;else if(c instanceof Date)s[l]=new Date(c);else if(ArrayBuffer.isView(c))s[l]=t(c);else{var u=r.indexOf(c);s[l]=-1!==u?n[u]:i(c)}}return s}}(e):e.proto?function e(n){if("object"!==typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return r(n,e);if(n instanceof Map)return new Map(r(Array.from(n),e));if(n instanceof Set)return new Set(r(Array.from(n),e));var i={};for(var a in n){var s=n[a];"object"!==typeof s||null===s?i[a]=s:s instanceof Date?i[a]=new Date(s):s instanceof Map?i[a]=new Map(r(Array.from(s),e)):s instanceof Set?i[a]=new Set(r(Array.from(s),e)):ArrayBuffer.isView(s)?i[a]=t(s):i[a]=e(s)}return i}:function e(n){if("object"!==typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return r(n,e);if(n instanceof Map)return new Map(r(Array.from(n),e));if(n instanceof Set)return new Set(r(Array.from(n),e));var i={};for(var a in n)if(!1!==Object.hasOwnProperty.call(n,a)){var s=n[a];"object"!==typeof s||null===s?i[a]=s:s instanceof Date?i[a]=new Date(s):s instanceof Map?i[a]=new Map(r(Array.from(s),e)):s instanceof Set?i[a]=new Set(r(Array.from(s),e)):ArrayBuffer.isView(s)?i[a]=t(s):i[a]=e(s)}return i};function r(e,r){for(var n=Object.keys(e),i=new Array(n.length),a=0;a<n.length;a++){var s=n[a],o=e[s];"object"!==typeof o||null===o?i[s]=o:o instanceof Date?i[s]=new Date(o):ArrayBuffer.isView(o)?i[s]=t(o):i[s]=r(o)}return i}}},813:function(e,t){"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,i=e[n];if(!(0<a(i,t)))break e;e[n]=t,e[r]=i,r=n}}function n(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,i=e.length,s=i>>>1;n<s;){var o=2*(n+1)-1,l=e[o],c=o+1,u=e[c];if(0>a(l,r))c<i&&0>a(u,l)?(e[n]=u,e[c]=r,n=c):(e[n]=l,e[o]=r,n=o);else{if(!(c<i&&0>a(u,r)))break e;e[n]=u,e[c]=r,n=c}}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var o=Date,l=o.now();t.unstable_now=function(){return o.now()-l}}var c=[],u=[],f=1,d=null,p=3,h=!1,m=!1,v=!1,g="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(e){for(var t=n(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,r(c,t)}t=n(u)}}function _(e){if(v=!1,x(e),!m)if(null!==n(c))m=!0,D(w);else{var t=n(u);null!==t&&N(_,t.startTime-e)}}function w(e,r){m=!1,v&&(v=!1,y(C),C=-1),h=!0;var a=p;try{for(x(r),d=n(c);null!==d&&(!(d.expirationTime>r)||e&&!M());){var s=d.callback;if("function"===typeof s){d.callback=null,p=d.priorityLevel;var o=s(d.expirationTime<=r);r=t.unstable_now(),"function"===typeof o?d.callback=o:d===n(c)&&i(c),x(r)}else i(c);d=n(c)}if(null!==d)var l=!0;else{var f=n(u);null!==f&&N(_,f.startTime-r),l=!1}return l}finally{d=null,p=a,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,k=!1,E=null,C=-1,P=5,T=-1;function M(){return!(t.unstable_now()-T<P)}function j(){if(null!==E){var e=t.unstable_now();T=e;var r=!0;try{r=E(!0,e)}finally{r?S():(k=!1,E=null)}}else k=!1}if("function"===typeof b)S=function(){b(j)};else if("undefined"!==typeof MessageChannel){var A=new MessageChannel,O=A.port2;A.port1.onmessage=j,S=function(){O.postMessage(null)}}else S=function(){g(j,0)};function D(e){E=e,k||(k=!0,S())}function N(e,r){C=g((function(){e(t.unstable_now())}),r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||h||(m=!0,D(w))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return n(c)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var r=p;p=t;try{return e()}finally{p=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=p;p=e;try{return t()}finally{p=r}},t.unstable_scheduleCallback=function(e,i,a){var s=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return e={id:f++,callback:i,priorityLevel:e,startTime:a,expirationTime:o=a+o,sortIndex:-1},a>s?(e.sortIndex=a,r(u,e),null===n(c)&&e===n(u)&&(v?(y(C),C=-1):v=!0,N(_,a-s))):(e.sortIndex=o,r(c,e),m||h||(m=!0,D(w))),e},t.unstable_shouldYield=M,t.unstable_wrapCallback=function(e){var t=p;return function(){var r=p;p=t;try{return e.apply(this,arguments)}finally{p=r}}}},296:function(e,t,r){"use strict";e.exports=r(813)},561:function(e,t,r){"use strict";var n=r(791);var i="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},a=n.useState,s=n.useEffect,o=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(n){return!0}}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),i=n[0].inst,u=n[1];return o((function(){i.value=r,i.getSnapshot=t,c(i)&&u({inst:i})}),[e,r,t]),s((function(){return c(i)&&u({inst:i}),e((function(){c(i)&&u({inst:i})}))}),[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},595:function(e,t,r){"use strict";var n=r(791),i=r(248);var a="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},s=i.useSyncExternalStore,o=n.useRef,l=n.useEffect,c=n.useMemo,u=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var f=o(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=c((function(){function e(e){if(!l){if(l=!0,s=e,e=n(e),void 0!==i&&d.hasValue){var t=d.value;if(i(t,e))return o=t}return o=e}if(t=o,a(s,e))return t;var r=n(e);return void 0!==i&&i(t,r)?t:(s=e,o=r)}var s,o,l=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]}),[t,r,n,i]);var p=s(e,f[0],f[1]);return l((function(){d.hasValue=!0,d.value=p}),[p]),u(p),p}},248:function(e,t,r){"use strict";e.exports=r(561)},327:function(e,t,r){"use strict";e.exports=r(595)},897:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},704:function(e,t,r){var n=r(116);e.exports=function(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=n(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){l=!0,s=e},f:function(){try{o||null==r.return||r.return()}finally{if(l)throw s}}}},e.exports.__esModule=!0,e.exports.default=e.exports},116:function(e,t,r){var n=r(897);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.amdO={},__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};__webpack_require__.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"===typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"===typeof r.then)return r}var i=Object.create(null);__webpack_require__.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},__webpack_require__.d(i,a),i}}(),__webpack_require__.d=function(e,t){for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.p="/";var __webpack_exports__={};!function(){"use strict";var e={};__webpack_require__.r(e),__webpack_require__.d(e,{hasBrowserEnv:function(){return dr},hasStandardBrowserEnv:function(){return pr},hasStandardBrowserWebWorkerEnv:function(){return hr}});var t=__webpack_require__(791),r=__webpack_require__.t(t,2),n=__webpack_require__(250);function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function a(e){return!!e&&!!e[X]}function s(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var r=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return r===Object||"function"==typeof r&&Function.toString.call(r)===Y}(e)||Array.isArray(e)||!!e[$]||!!(null===(t=e.constructor)||void 0===t?void 0:t[$])||p(e)||h(e))}function o(e,t,r){void 0===r&&(r=!1),0===l(e)?(r?Object.keys:Z)(e).forEach((function(n){r&&"symbol"==typeof n||t(n,e[n],e)})):e.forEach((function(r,n){return t(n,r,e)}))}function l(e){var t=e[X];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:h(e)?3:0}function c(e,t){return 2===l(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){return 2===l(e)?e.get(t):e[t]}function f(e,t,r){var n=l(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return G&&e instanceof Map}function h(e){return q&&e instanceof Set}function m(e){return e.o||e.t}function v(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=J(e);delete t[X];for(var r=Z(t),n=0;n<r.length;n++){var i=r[n],a=t[i];!1===a.writable&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),b(e)||a(e)||!s(e)||(l(e)>1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&o(e,(function(e,t){return g(t,!0)}),!0)),e}function y(){i(2)}function b(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function x(e){var t=K[e];return t||i(18,e),t}function _(e,t){K[e]||(K[e]=t)}function w(){return V}function S(e,t){t&&(x("Patches"),e.u=[],e.s=[],e.v=t)}function k(e){E(e),e.p.forEach(P),e.p=null}function E(e){e===V&&(V=e.l)}function C(e){return V={p:[],l:V,h:e,m:!0,_:0}}function P(e){var t=e[X];0===t.i||1===t.i?t.j():t.g=!0}function T(e,t){t._=t.p.length;var r=t.p[0],n=void 0!==e&&e!==r;return t.h.O||x("ES5").S(t,e,n),n?(r[X].P&&(k(t),i(4)),s(e)&&(e=M(t,e),t.l||A(t,e)),t.u&&x("Patches").M(r[X].t,e,t.u,t.s)):e=M(t,r,[]),k(t),t.u&&t.v(t.u,t.s),e!==U?e:void 0}function M(e,t,r){if(b(t))return t;var n=t[X];if(!n)return o(t,(function(i,a){return j(e,n,t,i,a,r)}),!0),t;if(n.A!==e)return t;if(!n.P)return A(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=4===n.i||5===n.i?n.o=v(n.k):n.o,a=i,s=!1;3===n.i&&(a=new Set(i),i.clear(),s=!0),o(a,(function(t,a){return j(e,n,i,t,a,r,s)})),A(e,i,!1),r&&e.u&&x("Patches").N(n,r,e.u,e.s)}return n.o}function j(e,t,r,n,i,o,l){if(a(i)){var u=M(e,i,o&&t&&3!==t.i&&!c(t.R,n)?o.concat(n):void 0);if(f(r,n,u),!a(u))return;e.m=!1}else l&&r.add(i);if(s(i)&&!b(i)){if(!e.h.D&&e._<1)return;M(e,i),t&&t.A.l||A(e,i)}}function A(e,t,r){void 0===r&&(r=!1),!e.l&&e.h.D&&e.m&&g(t,r)}function O(e,t){var r=e[X];return(r?m(r):e)[t]}function D(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function N(e){e.P||(e.P=!0,e.l&&N(e.l))}function I(e){e.o||(e.o=v(e.t))}function F(e,t,r){var n=p(t)?x("MapSet").F(t,r):h(t)?x("MapSet").T(t,r):e.O?function(e,t){var r=Array.isArray(e),n={i:r?1:0,A:t?t.A:w(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=n,a=Q;r&&(i=[n],a=ee);var s=Proxy.revocable(i,a),o=s.revoke,l=s.proxy;return n.k=l,n.j=o,l}(t,r):x("ES5").J(t,r);return(r?r.A:w()).p.push(n),n}function L(e){return a(e)||i(22,e),function e(t){if(!s(t))return t;var r,n=t[X],i=l(t);if(n){if(!n.P&&(n.i<4||!x("ES5").K(n)))return n.t;n.I=!0,r=R(t,i),n.I=!1}else r=R(t,i);return o(r,(function(t,i){n&&u(n.t,t)===i||f(r,t,e(i))})),3===i?new Set(r):r}(e)}function R(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return v(e)}function B(){function e(e,t){var r=i[e];return r?r.enumerable=t:i[e]=r={configurable:!0,enumerable:t,get:function(){var t=this[X];return Q.get(t,e)},set:function(t){var r=this[X];Q.set(r,e,t)}},r}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][X];if(!i.P)switch(i.i){case 5:n(i)&&N(i);break;case 4:r(i)&&N(i)}}}function r(e){for(var t=e.t,r=e.k,n=Z(r),i=n.length-1;i>=0;i--){var a=n[i];if(a!==X){var s=t[a];if(void 0===s&&!c(t,a))return!0;var o=r[a],l=o&&o[X];if(l?l.t!==s:!d(o,s))return!0}}var u=!!t[X];return n.length!==Z(t).length+(u?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var r=Object.getOwnPropertyDescriptor(t,t.length-1);if(r&&!r.get)return!0;for(var n=0;n<t.length;n++)if(!t.hasOwnProperty(n))return!0;return!1}var i={};_("ES5",{J:function(t,r){var n=Array.isArray(t),i=function(t,r){if(t){for(var n=Array(r.length),i=0;i<r.length;i++)Object.defineProperty(n,""+i,e(i,!0));return n}var a=J(r);delete a[X];for(var s=Z(a),o=0;o<s.length;o++){var l=s[o];a[l]=e(l,t||!!a[l].enumerable)}return Object.create(Object.getPrototypeOf(r),a)}(n,t),a={i:n?5:4,A:r?r.A:w(),P:!1,I:!1,R:{},l:r,t:t,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,X,{value:a,writable:!0}),i},S:function(e,r,i){i?a(r)&&r[X].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var r=t[X];if(r){var i=r.t,a=r.k,s=r.R,l=r.i;if(4===l)o(a,(function(t){t!==X&&(void 0!==i[t]||c(i,t)?s[t]||e(a[t]):(s[t]=!0,N(r)))})),o(i,(function(e){void 0!==a[e]||c(a,e)||(s[e]=!1,N(r))}));else if(5===l){if(n(r)&&(N(r),s.length=!0),a.length<i.length)for(var u=a.length;u<i.length;u++)s[u]=!1;else for(var f=i.length;f<a.length;f++)s[f]=!0;for(var d=Math.min(a.length,i.length),p=0;p<d;p++)a.hasOwnProperty(p)||(s[p]=!0),void 0===s[p]&&e(a[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?r(e):n(e)}})}var z,V,H="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),G="undefined"!=typeof Map,q="undefined"!=typeof Set,W="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,U=H?Symbol.for("immer-nothing"):((z={})["immer-nothing"]=!0,z),$=H?Symbol.for("immer-draftable"):"__$immer_draftable",X=H?Symbol.for("immer-state"):"__$immer_state",Y=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Z="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,J=Object.getOwnPropertyDescriptors||function(e){var t={};return Z(e).forEach((function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)})),t},K={},Q={get:function(e,t){if(t===X)return e;var r=m(e);if(!c(r,t))return function(e,t,r){var n,i=D(t,r);return i?"value"in i?i.value:null===(n=i.get)||void 0===n?void 0:n.call(e.k):void 0}(e,r,t);var n=r[t];return e.I||!s(n)?n:n===O(e.t,t)?(I(e),e.o[t]=F(e.A.h,n,e)):n},has:function(e,t){return t in m(e)},ownKeys:function(e){return Reflect.ownKeys(m(e))},set:function(e,t,r){var n=D(m(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,r),!0;if(!e.P){var i=O(m(e),t),a=null==i?void 0:i[X];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(d(r,i)&&(void 0!==r||c(e.t,t)))return!0;I(e),N(e)}return e.o[t]===r&&(void 0!==r||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==O(e.t,t)||t in e.t?(e.R[t]=!1,I(e),N(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=m(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:r[t]}:n},defineProperty:function(){i(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){i(12)}},ee={};o(Q,(function(e,t){ee[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),ee.deleteProperty=function(e,t){return ee.set.call(this,e,t,void 0)},ee.set=function(e,t,r){return Q.set.call(this,e[0],t,r,e[0])};var te=function(){function e(e){var t=this;this.O=W,this.D=!0,this.produce=function(e,r,n){if("function"==typeof e&&"function"!=typeof r){var a=r;r=e;var o=t;return function(e){var t=this;void 0===e&&(e=a);for(var n=arguments.length,i=Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];return o.produce(e,(function(e){var n;return(n=r).call.apply(n,[t,e].concat(i))}))}}var l;if("function"!=typeof r&&i(6),void 0!==n&&"function"!=typeof n&&i(7),s(e)){var c=C(t),u=F(t,e,void 0),f=!0;try{l=r(u),f=!1}finally{f?k(c):E(c)}return"undefined"!=typeof Promise&&l instanceof Promise?l.then((function(e){return S(c,n),T(e,c)}),(function(e){throw k(c),e})):(S(c,n),T(l,c))}if(!e||"object"!=typeof e){if(void 0===(l=r(e))&&(l=e),l===U&&(l=void 0),t.D&&g(l,!0),n){var d=[],p=[];x("Patches").M(e,l,d,p),n(d,p)}return l}i(21,e)},this.produceWithPatches=function(e,r){if("function"==typeof e)return function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return t.produceWithPatches(r,(function(t){return e.apply(void 0,[t].concat(i))}))};var n,i,a=t.produce(e,r,(function(e,t){n=e,i=t}));return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return[e,n,i]})):[a,n,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){s(e)||i(8),a(e)&&(e=L(e));var t=C(this),r=F(this,e,void 0);return r[X].C=!0,E(t),r},t.finishDraft=function(e,t){var r=(e&&e[X]).A;return S(r,t),T(void 0,r)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!W&&i(20),this.O=e},t.applyPatches=function(e,t){var r;for(r=t.length-1;r>=0;r--){var n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));var i=x("Patches").$;return a(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),re=new te,ne=re.produce,ie=(re.produceWithPatches.bind(re),re.setAutoFreeze.bind(re),re.setUseProxies.bind(re),re.applyPatches.bind(re),re.createDraft.bind(re),re.finishDraft.bind(re),ne);function ae(e){return ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(e)}function se(e){var t=function(e,t){if("object"!==ae(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==ae(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ae(t)?t:String(t)}function oe(e,t,r){return(t=se(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function le(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?le(Object(r),!0).forEach((function(t){oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):le(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ue(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var fe="function"===typeof Symbol&&Symbol.observable||"@@observable",de=function(){return Math.random().toString(36).substring(7).split("").join(".")},pe={INIT:"@@redux/INIT"+de(),REPLACE:"@@redux/REPLACE"+de(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+de()}};function he(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function me(e,t,r){var n;if("function"===typeof t&&"function"===typeof r||"function"===typeof r&&"function"===typeof arguments[3])throw new Error(ue(0));if("function"===typeof t&&"undefined"===typeof r&&(r=t,t=void 0),"undefined"!==typeof r){if("function"!==typeof r)throw new Error(ue(1));return r(me)(e,t)}if("function"!==typeof e)throw new Error(ue(2));var i=e,a=t,s=[],o=s,l=!1;function c(){o===s&&(o=s.slice())}function u(){if(l)throw new Error(ue(3));return a}function f(e){if("function"!==typeof e)throw new Error(ue(4));if(l)throw new Error(ue(5));var t=!0;return c(),o.push(e),function(){if(t){if(l)throw new Error(ue(6));t=!1,c();var r=o.indexOf(e);o.splice(r,1),s=null}}}function d(e){if(!he(e))throw new Error(ue(7));if("undefined"===typeof e.type)throw new Error(ue(8));if(l)throw new Error(ue(9));try{l=!0,a=i(a,e)}finally{l=!1}for(var t=s=o,r=0;r<t.length;r++){(0,t[r])()}return e}return d({type:pe.INIT}),(n={dispatch:d,subscribe:f,getState:u,replaceReducer:function(e){if("function"!==typeof e)throw new Error(ue(10));i=e,d({type:pe.REPLACE})}})[fe]=function(){var e,t=f;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(ue(11));function r(){e.next&&e.next(u())}return r(),{unsubscribe:t(r)}}})[fe]=function(){return this},e},n}function ve(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];0,"function"===typeof e[i]&&(r[i]=e[i])}var a,s=Object.keys(r);try{!function(e){Object.keys(e).forEach((function(t){var r=e[t];if("undefined"===typeof r(void 0,{type:pe.INIT}))throw new Error(ue(12));if("undefined"===typeof r(void 0,{type:pe.PROBE_UNKNOWN_ACTION()}))throw new Error(ue(13))}))}(r)}catch(o){a=o}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var n=!1,i={},o=0;o<s.length;o++){var l=s[o],c=r[l],u=e[l],f=c(u,t);if("undefined"===typeof f){t&&t.type;throw new Error(ue(14))}i[l]=f,n=n||f!==u}return(n=n||s.length!==Object.keys(e).length)?i:e}}function ge(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function ye(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return function(){var r=e.apply(void 0,arguments),n=function(){throw new Error(ue(15))},i={getState:r.getState,dispatch:function(){return n.apply(void 0,arguments)}},a=t.map((function(e){return e(i)}));return n=ge.apply(void 0,a)(r.dispatch),ce(ce({},r),{},{dispatch:n})}}}function be(e){return function(t){var r=t.dispatch,n=t.getState;return function(t){return function(i){return"function"===typeof i?i(r,n,e):t(i)}}}}var xe=be();xe.withExtraArgument=be;var _e=xe,we=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),Se=function(e,t){var r,n,i,a,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(o){a=[6,o],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,o])}}},ke=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},Ee=Object.defineProperty,Ce=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Ae=function(e,t,r){return t in e?Ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},Oe=function(e,t){for(var r in t||(t={}))Me.call(t,r)&&Ae(e,r,t[r]);if(Te)for(var n=0,i=Te(t);n<i.length;n++){r=i[n];je.call(t,r)&&Ae(e,r,t[r])}return e},De=function(e,t){return Ce(e,Pe(t))},Ne=function(e,t,r){return new Promise((function(n,i){var a=function(e){try{o(r.next(e))}catch(t){i(t)}},s=function(e){try{o(r.throw(e))}catch(t){i(t)}},o=function(e){return e.done?n(e.value):Promise.resolve(e.value).then(a,s)};o((r=r.apply(e,t)).next())}))},Ie="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?ge:ge.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Fe(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var r=t;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return t===r}function Le(e,t){function r(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(t){var i=t.apply(void 0,r);if(!i)throw new Error("prepareAction did not return an object");return Oe(Oe({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:r[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(t){return t.type===e},r}var Re=function(e){function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return we(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,ke([void 0],e[0].concat(this)))):new(t.bind.apply(t,ke([void 0],e.concat(this))))},t}(Array),Be=function(e){function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return we(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,ke([void 0],e[0].concat(this)))):new(t.bind.apply(t,ke([void 0],e.concat(this))))},t}(Array);function ze(e){return s(e)?ie(e,(function(){})):e}function Ve(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,r=void 0===t||t,n=(e.immutableCheck,e.serializableCheck,e.actionCreatorCheck,new Re);r&&(!function(e){return"boolean"===typeof e}(r)?n.push(_e.withExtraArgument(r.extraArgument)):n.push(_e));0;return n}(e)}}function He(e){var t,r={},n=[],i={addCase:function(e,t){var n="string"===typeof e?e:e.type;if(!n)throw new Error("`builder.addCase` cannot be called with an empty action type");if(n in r)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return r[n]=t,i},addMatcher:function(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase:function(e){return t=e,i}};return e(i),[r,n,t]}function Ge(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var r,n="function"==typeof e.initialState?e.initialState:ze(e.initialState),i=e.reducers||{},o=Object.keys(i),l={},c={},u={};function f(){var t="function"===typeof e.extraReducers?He(e.extraReducers):[e.extraReducers],r=t[0],i=void 0===r?{}:r,o=t[1],l=void 0===o?[]:o,u=t[2],f=void 0===u?void 0:u,d=Oe(Oe({},i),c);return function(e,t,r,n){void 0===r&&(r=[]);var i,o="function"===typeof t?He(t):[t,r,n],l=o[0],c=o[1],u=o[2];if(function(e){return"function"===typeof e}(e))i=function(){return ze(e())};else{var f=ze(e);i=function(){return f}}function d(e,t){void 0===e&&(e=i());var r=ke([l[t.type]],c.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===r.filter((function(e){return!!e})).length&&(r=[u]),r.reduce((function(e,r){if(r){var n;if(a(e))return void 0===(n=r(e,t))?e:n;if(s(e))return ie(e,(function(e){return r(e,t)}));if(void 0===(n=r(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return e}),e)}return d.getInitialState=i,d}(n,(function(e){for(var t in d)e.addCase(t,d[t]);for(var r=0,n=l;r<n.length;r++){var i=n[r];e.addMatcher(i.matcher,i.reducer)}f&&e.addDefaultCase(f)}))}return o.forEach((function(e){var r,n,a=i[e],s=t+"/"+e;"reducer"in a?(r=a.reducer,n=a.prepare):r=a,l[e]=r,c[s]=r,u[e]=n?Le(s,n):Le(s)})),{name:t,reducer:function(e,t){return r||(r=f()),r(e,t)},actions:u,caseReducers:l,getInitialState:function(){return r||(r=f()),r.getInitialState()}}}var qe=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},We=["name","message","stack","code"],Ue=function(e,t){this.payload=e,this.meta=t},$e=function(e,t){this.payload=e,this.meta=t},Xe=function(e){if("object"===typeof e&&null!==e){for(var t={},r=0,n=We;r<n.length;r++){var i=n[r];"string"===typeof e[i]&&(t[i]=e[i])}return t}return{message:String(e)}},Ye=function(){function e(e,t,r){var n=Le(e+"/fulfilled",(function(e,t,r,n){return{payload:e,meta:De(Oe({},n||{}),{arg:r,requestId:t,requestStatus:"fulfilled"})}})),i=Le(e+"/pending",(function(e,t,r){return{payload:void 0,meta:De(Oe({},r||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),a=Le(e+"/rejected",(function(e,t,n,i,a){return{payload:i,error:(r&&r.serializeError||Xe)(e||"Rejected"),meta:De(Oe({},a||{}),{arg:n,requestId:t,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),s="undefined"!==typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign((function(e){return function(o,l,c){var u,f=(null==r?void 0:r.idGenerator)?r.idGenerator(e):qe(),d=new s;function p(e){u=e,d.abort()}var h=function(){return Ne(this,null,(function(){var s,h,m,v,g,y;return Se(this,(function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),v=null==(s=null==r?void 0:r.condition)?void 0:s.call(r,e,{getState:l,extra:c}),null===(x=v)||"object"!==typeof x||"function"!==typeof x.then?[3,2]:[4,v];case 1:v=b.sent(),b.label=2;case 2:if(!1===v||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return!0,g=new Promise((function(e,t){return d.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:u||"Aborted"})}))})),o(i(f,e,null==(h=null==r?void 0:r.getPendingMeta)?void 0:h.call(r,{requestId:f,arg:e},{getState:l,extra:c}))),[4,Promise.race([g,Promise.resolve(t(e,{dispatch:o,getState:l,extra:c,requestId:f,signal:d.signal,abort:p,rejectWithValue:function(e,t){return new Ue(e,t)},fulfillWithValue:function(e,t){return new $e(e,t)}})).then((function(t){if(t instanceof Ue)throw t;return t instanceof $e?n(t.payload,f,e,t.meta):n(t,f,e)}))])];case 3:return m=b.sent(),[3,5];case 4:return y=b.sent(),m=y instanceof Ue?a(null,f,e,y.payload,y.meta):a(y,f,e),[3,5];case 5:return r&&!r.dispatchConditionRejection&&a.match(m)&&m.meta.condition||o(m),[2,m]}var x}))}))}();return Object.assign(h,{abort:p,requestId:f,arg:e,unwrap:function(){return h.then(Ze)}})}}),{pending:i,rejected:a,fulfilled:n,typePrefix:e})}return e.withTypes=function(){return e},e}();function Ze(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}Object.assign;var Je="listenerMiddleware";Le(Je+"/add"),Le(Je+"/removeAll"),Le(Je+"/remove");"function"===typeof queueMicrotask&&queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof __webpack_require__.g?__webpack_require__.g:globalThis);var Ke,Qe=function(e){return function(t){setTimeout(t,e)}};"undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:Qe(10);B();var et="NOT_FOUND";var tt=function(e,t){return e===t};function rt(e,t){var r="object"===typeof t?t:{equalityCheck:t},n=r.equalityCheck,i=void 0===n?tt:n,a=r.maxSize,s=void 0===a?1:a,o=r.resultEqualityCheck,l=function(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;for(var n=t.length,i=0;i<n;i++)if(!e(t[i],r[i]))return!1;return!0}}(i),c=1===s?function(e){var t;return{get:function(r){return t&&e(t.key,r)?t.value:et},put:function(e,r){t={key:e,value:r}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}(l):function(e,t){var r=[];function n(e){var n=r.findIndex((function(r){return t(e,r.key)}));if(n>-1){var i=r[n];return n>0&&(r.splice(n,1),r.unshift(i)),i.value}return et}return{get:n,put:function(t,i){n(t)===et&&(r.unshift({key:t,value:i}),r.length>e&&r.pop())},getEntries:function(){return r},clear:function(){r=[]}}}(s,l);function u(){var t=c.get(arguments);if(t===et){if(t=e.apply(null,arguments),o){var r=c.getEntries().find((function(e){return o(e.value,t)}));r&&(t=r.value)}c.put(arguments,t)}return t}return u.clearCache=function(){return c.clear()},u}function nt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var a,s=0,o={memoizeOptions:void 0},l=n.pop();if("object"===typeof l&&(o=l,l=n.pop()),"function"!==typeof l)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var c=o.memoizeOptions,u=void 0===c?r:c,f=Array.isArray(u)?u:[u],d=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"===typeof e}))){var r=t.map((function(e){return"function"===typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+r+"]")}return t}(n),p=e.apply(void 0,[function(){return s++,l.apply(null,arguments)}].concat(f)),h=e((function(){for(var e=[],t=d.length,r=0;r<t;r++)e.push(d[r].apply(null,arguments));return a=p.apply(null,e)}));return Object.assign(h,{resultFunc:l,memoizedResultFunc:p,dependencies:d,lastResult:function(){return a},recomputations:function(){return s},resetRecomputations:function(){return s=0}}),h}}var it=nt(rt);function at(e,t){return function(){return e.apply(t,arguments)}}var st,ot=Object.prototype.toString,lt=Object.getPrototypeOf,ct=(st=Object.create(null),function(e){var t=ot.call(e);return st[t]||(st[t]=t.slice(8,-1).toLowerCase())}),ut=function(e){return e=e.toLowerCase(),function(t){return ct(t)===e}},ft=function(e){return function(t){return typeof t===e}},dt=Array.isArray,pt=ft("undefined");var ht=ut("ArrayBuffer");var mt=ft("string"),vt=ft("function"),gt=ft("number"),yt=function(e){return null!==e&&"object"===typeof e},bt=function(e){if("object"!==ct(e))return!1;var t=lt(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},xt=ut("Date"),_t=ut("File"),wt=ut("Blob"),St=ut("FileList"),kt=ut("URLSearchParams");function Et(e,t){var r,n,i=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).allOwnKeys,a=void 0!==i&&i;if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),dt(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{var s,o=a?Object.getOwnPropertyNames(e):Object.keys(e),l=o.length;for(r=0;r<l;r++)s=o[r],t.call(null,e[s],s,e)}}function Ct(e,t){t=t.toLowerCase();for(var r,n=Object.keys(e),i=n.length;i-- >0;)if(t===(r=n[i]).toLowerCase())return r;return null}var Pt="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,Tt=function(e){return!pt(e)&&e!==Pt};var Mt,jt=(Mt="undefined"!==typeof Uint8Array&<(Uint8Array),function(e){return Mt&&e instanceof Mt}),At=ut("HTMLFormElement"),Ot=function(e){var t=Object.prototype.hasOwnProperty;return function(e,r){return t.call(e,r)}}(),Dt=ut("RegExp"),Nt=function(e,t){var r=Object.getOwnPropertyDescriptors(e),n={};Et(r,(function(r,i){var a;!1!==(a=t(r,i,e))&&(n[i]=a||r)})),Object.defineProperties(e,n)},It="abcdefghijklmnopqrstuvwxyz",Ft="0123456789",Lt={DIGIT:Ft,ALPHA:It,ALPHA_DIGIT:It+It.toUpperCase()+Ft};var Rt=ut("AsyncFunction"),Bt={isArray:dt,isArrayBuffer:ht,isBuffer:function(e){return null!==e&&!pt(e)&&null!==e.constructor&&!pt(e.constructor)&&vt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"===typeof FormData&&e instanceof FormData||vt(e.append)&&("formdata"===(t=ct(e))||"object"===t&&vt(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ht(e.buffer)},isString:mt,isNumber:gt,isBoolean:function(e){return!0===e||!1===e},isObject:yt,isPlainObject:bt,isUndefined:pt,isDate:xt,isFile:_t,isBlob:wt,isRegExp:Dt,isFunction:vt,isStream:function(e){return yt(e)&&vt(e.pipe)},isURLSearchParams:kt,isTypedArray:jt,isFileList:St,forEach:Et,merge:function e(){for(var t=(Tt(this)&&this||{}).caseless,r={},n=function(n,i){var a=t&&Ct(r,i)||i;bt(r[a])&&bt(n)?r[a]=e(r[a],n):bt(n)?r[a]=e({},n):dt(n)?r[a]=n.slice():r[a]=n},i=0,a=arguments.length;i<a;i++)arguments[i]&&Et(arguments[i],n);return r},extend:function(e,t,r){return Et(t,(function(t,n){r&&vt(t)?e[n]=at(t,r):e[n]=t}),{allOwnKeys:(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).allOwnKeys}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r,n){var i,a,s,o={};if(t=t||{},null==e)return t;do{for(a=(i=Object.getOwnPropertyNames(e)).length;a-- >0;)s=i[a],n&&!n(s,e,t)||o[s]||(t[s]=e[s],o[s]=!0);e=!1!==r&<(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:ct,kindOfTest:ut,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;if(dt(e))return e;var t=e.length;if(!gt(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},forEachEntry:function(e,t){for(var r,n=(e&&e[Symbol.iterator]).call(e);(r=n.next())&&!r.done;){var i=r.value;t.call(e,i[0],i[1])}},matchAll:function(e,t){for(var r,n=[];null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:At,hasOwnProperty:Ot,hasOwnProp:Ot,reduceDescriptors:Nt,freezeMethods:function(e){Nt(e,(function(t,r){if(vt(e)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;var n=e[r];vt(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:function(e,t){var r={},n=function(e){e.forEach((function(e){r[e]=!0}))};return dt(e)?n(e):n(String(e).split(t)),r},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:Ct,global:Pt,isContextDefined:Tt,ALPHABET:Lt,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lt.ALPHA_DIGIT,r="",n=t.length;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&vt(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(r,n){if(yt(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[n]=r;var i=dt(r)?[]:{};return Et(r,(function(t,r){var a=e(t,n+1);!pt(a)&&(i[r]=a)})),t[n]=void 0,i}}return r}(e,0)},isAsyncFn:Rt,isThenable:function(e){return e&&(yt(e)||vt(e))&&vt(e.then)&&vt(e.catch)}};function zt(){zt=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var a=t&&t.prototype instanceof g?t:g,s=Object.create(a.prototype),o=new j(n||[]);return i(s,"_invoke",{value:C(e,r,o)}),s}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function g(){}function y(){}function b(){}var x={};c(x,s,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(A([])));w&&w!==r&&n.call(w,s)&&(x=w);var S=b.prototype=g.prototype=Object.create(x);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(i,a,s,o){var l=f(e[i],e,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==ae(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,s,o)}),(function(e){r("throw",e,s,o)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,o)}))}o(l.arg)}var a;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return a=a?a.then(i,i):i()}})}function C(t,r,n){var i=d;return function(a,s){if(i===h)throw new Error("Generator is already running");if(i===m){if("throw"===a)throw s;return{value:e,done:!0}}for(n.method=a,n.arg=s;;){var o=n.delegate;if(o){var l=P(o,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var c=f(t,r,n);if("normal"===c.type){if(i=n.done?m:p,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=m,n.method="throw",n.arg=c.arg)}}}function P(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,P(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=f(i,t.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var s=a.arg;return s?s.done?(r[t.resultName]=s.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):s:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function r(){for(;++i<t.length;)if(n.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}throw new TypeError(ae(t)+" is not iterable")}return y.prototype=b,i(S,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},k(E.prototype),c(E.prototype,o,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var s=new E(u(e,r,n,i),a);return t.isGeneratorFunction(r)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},k(S),c(S,l,"Generator"),c(S,s,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function i(n,i){return o.type="throw",o.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var s=this.tryEntries[a],o=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var l=n.call(s,"catchLoc"),c=n.call(s,"finallyLoc");if(l&&c){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=e,s.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),M(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;M(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}function Vt(e,t,r,n,i,a,s){try{var o=e[a](s),l=o.value}catch(c){return void r(c)}o.done?t(l):Promise.resolve(l).then(n,i)}function Ht(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var a=e.apply(t,r);function s(e){Vt(a,n,i,s,o,"next",e)}function o(e){Vt(a,n,i,s,o,"throw",e)}s(void 0)}))}}function Gt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,se(n.key),n)}}function Wt(e,t,r){return t&&qt(e.prototype,t),r&&qt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ut(e,t,r,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}Bt.inherits(Ut,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Bt.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var $t=Ut.prototype,Xt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){Xt[e]={value:e}})),Object.defineProperties(Ut,Xt),Object.defineProperty($t,"isAxiosError",{value:!0}),Ut.from=function(e,t,r,n,i,a){var s=Object.create($t);return Bt.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),Ut.call(s,e.message,t,r,n,i),s.cause=e,s.name=e.name,a&&Object.assign(s,a),s};var Yt=Ut;function Zt(e){return Bt.isPlainObject(e)||Bt.isArray(e)}function Jt(e){return Bt.endsWith(e,"[]")?e.slice(0,-2):e}function Kt(e,t,r){return e?e.concat(t).map((function(e,t){return e=Jt(e),!r&&t?"["+e+"]":e})).join(r?".":""):t}var Qt=Bt.toFlatObject(Bt,{},null,(function(e){return/^is[A-Z]/.test(e)}));var er=function(e,t,r){if(!Bt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var n=(r=Bt.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Bt.isUndefined(t[e])}))).metaTokens,i=r.visitor||c,a=r.dots,s=r.indexes,o=(r.Blob||"undefined"!==typeof Blob&&Blob)&&Bt.isSpecCompliantForm(t);if(!Bt.isFunction(i))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Bt.isDate(e))return e.toISOString();if(!o&&Bt.isBlob(e))throw new Yt("Blob is not supported. Use a Buffer instead.");return Bt.isArrayBuffer(e)||Bt.isTypedArray(e)?o&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,r,i){var o=e;if(e&&!i&&"object"===typeof e)if(Bt.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=JSON.stringify(e);else if(Bt.isArray(e)&&function(e){return Bt.isArray(e)&&!e.some(Zt)}(e)||(Bt.isFileList(e)||Bt.endsWith(r,"[]"))&&(o=Bt.toArray(e)))return r=Jt(r),o.forEach((function(e,n){!Bt.isUndefined(e)&&null!==e&&t.append(!0===s?Kt([r],n,a):null===s?r:r+"[]",l(e))})),!1;return!!Zt(e)||(t.append(Kt(i,r,a),l(e)),!1)}var u=[],f=Object.assign(Qt,{defaultVisitor:c,convertValue:l,isVisitable:Zt});if(!Bt.isObject(e))throw new TypeError("data must be an object");return function e(r,n){if(!Bt.isUndefined(r)){if(-1!==u.indexOf(r))throw Error("Circular reference detected in "+n.join("."));u.push(r),Bt.forEach(r,(function(r,a){!0===(!(Bt.isUndefined(r)||null===r)&&i.call(t,r,Bt.isString(a)?a.trim():a,n,f))&&e(r,n?n.concat(a):[a])})),u.pop()}}(e),t};function tr(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function rr(e,t){this._pairs=[],e&&er(e,this,t)}var nr=rr.prototype;nr.append=function(e,t){this._pairs.push([e,t])},nr.toString=function(e){var t=e?function(t){return e.call(this,t,tr)}:tr;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ir=rr;function ar(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function sr(e,t,r){if(!t)return e;var n,i=r&&r.encode||ar,a=r&&r.serialize;if(n=a?a(t,r):Bt.isURLSearchParams(t)?t.toString():new ir(t,r).toString(i)){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}var or,lr=function(){function e(){Gt(this,e),this.handlers=[]}return Wt(e,[{key:"use",value:function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){Bt.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),cr=lr,ur={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fr={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:ir,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},dr="undefined"!==typeof window&&"undefined"!==typeof document,pr=(or="undefined"!==typeof navigator&&navigator.product,dr&&["ReactNative","NativeScript","NS"].indexOf(or)<0),hr="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,mr=ce(ce({},e),fr);var vr=function(e){function t(e,r,n,i){var a=e[i++];if("__proto__"===a)return!0;var s=Number.isFinite(+a),o=i>=e.length;return a=!a&&Bt.isArray(n)?n.length:a,o?(Bt.hasOwnProp(n,a)?n[a]=[n[a],r]:n[a]=r,!s):(n[a]&&Bt.isObject(n[a])||(n[a]=[]),t(e,r,n[a],i)&&Bt.isArray(n[a])&&(n[a]=function(e){var t,r,n={},i=Object.keys(e),a=i.length;for(t=0;t<a;t++)n[r=i[t]]=e[r];return n}(n[a])),!s)}if(Bt.isFormData(e)&&Bt.isFunction(e.entries)){var r={};return Bt.forEachEntry(e,(function(e,n){t(function(e){return Bt.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),n,r,0)})),r}return null};var gr={transitional:ur,adapter:["xhr","http"],transformRequest:[function(e,t){var r,n=t.getContentType()||"",i=n.indexOf("application/json")>-1,a=Bt.isObject(e);if(a&&Bt.isHTMLForm(e)&&(e=new FormData(e)),Bt.isFormData(e))return i?JSON.stringify(vr(e)):e;if(Bt.isArrayBuffer(e)||Bt.isBuffer(e)||Bt.isStream(e)||Bt.isFile(e)||Bt.isBlob(e))return e;if(Bt.isArrayBufferView(e))return e.buffer;if(Bt.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return er(e,new mr.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return mr.isNode&&Bt.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((r=Bt.isFileList(e))||n.indexOf("multipart/form-data")>-1){var s=this.env&&this.env.FormData;return er(r?{"files[]":e}:e,s&&new s,this.formSerializer)}}return a||i?(t.setContentType("application/json",!1),function(e,t,r){if(Bt.isString(e))try{return(t||JSON.parse)(e),Bt.trim(e)}catch(n){if("SyntaxError"!==n.name)throw n}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||gr.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(e&&Bt.isString(e)&&(r&&!this.responseType||n)){var i=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(a){if(i){if("SyntaxError"===a.name)throw Yt.from(a,Yt.ERR_BAD_RESPONSE,this,null,this.response);throw a}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mr.classes.FormData,Blob:mr.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Bt.forEach(["delete","get","head","post","put","patch"],(function(e){gr.headers[e]={}}));var yr=gr;function br(e){if(Array.isArray(e))return e}function xr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _r(e,t){if(e){if("string"===typeof e)return xr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xr(e,t):void 0}}function wr(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Sr(e,t){return br(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return o}}(e,t)||_r(e,t)||wr()}var kr=Bt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Er=Symbol("internals");function Cr(e){return e&&String(e).trim().toLowerCase()}function Pr(e){return!1===e||null==e?e:Bt.isArray(e)?e.map(Pr):String(e)}function Tr(e,t,r,n,i){return Bt.isFunction(n)?n.call(this,t,r):(i&&(t=r),Bt.isString(t)?Bt.isString(n)?-1!==t.indexOf(n):Bt.isRegExp(n)?n.test(t):void 0:void 0)}var Mr=function(e,t){function r(e){Gt(this,r),e&&this.set(e)}return Wt(r,[{key:"set",value:function(e,t,r){var n=this;function i(e,t,r){var i=Cr(t);if(!i)throw new Error("header name must be a non-empty string");var a=Bt.findKey(n,i);(!a||void 0===n[a]||!0===r||void 0===r&&!1!==n[a])&&(n[a||t]=Pr(e))}var a=function(e,t){return Bt.forEach(e,(function(e,r){return i(e,r,t)}))};return Bt.isPlainObject(e)||e instanceof this.constructor?a(e,t):Bt.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?a(function(e){var t,r,n,i={};return e&&e.split("\n").forEach((function(e){n=e.indexOf(":"),t=e.substring(0,n).trim().toLowerCase(),r=e.substring(n+1).trim(),!t||i[t]&&kr[t]||("set-cookie"===t?i[t]?i[t].push(r):i[t]=[r]:i[t]=i[t]?i[t]+", "+r:r)})),i}(e),t):null!=e&&i(t,e,r),this}},{key:"get",value:function(e,t){if(e=Cr(e)){var r=Bt.findKey(this,e);if(r){var n=this[r];if(!t)return n;if(!0===t)return function(e){for(var t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=n.exec(e);)r[t[1]]=t[2];return r}(n);if(Bt.isFunction(t))return t.call(this,n,r);if(Bt.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Cr(e)){var r=Bt.findKey(this,e);return!(!r||void 0===this[r]||t&&!Tr(0,this[r],r,t))}return!1}},{key:"delete",value:function(e,t){var r=this,n=!1;function i(e){if(e=Cr(e)){var i=Bt.findKey(r,e);!i||t&&!Tr(0,r[i],i,t)||(delete r[i],n=!0)}}return Bt.isArray(e)?e.forEach(i):i(e),n}},{key:"clear",value:function(e){for(var t=Object.keys(this),r=t.length,n=!1;r--;){var i=t[r];e&&!Tr(0,this[i],i,e,!0)||(delete this[i],n=!0)}return n}},{key:"normalize",value:function(e){var t=this,r={};return Bt.forEach(this,(function(n,i){var a=Bt.findKey(r,i);if(a)return t[a]=Pr(n),void delete t[i];var s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))}(i):String(i).trim();s!==i&&delete t[i],t[s]=Pr(n),r[s]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=this.constructor).concat.apply(e,[this].concat(r))}},{key:"toJSON",value:function(e){var t=Object.create(null);return Bt.forEach(this,(function(r,n){null!=r&&!1!==r&&(t[n]=e&&Bt.isArray(r)?r.join(", "):r)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=Sr(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return n.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[Er]=this[Er]={accessors:{}}).accessors,r=this.prototype;function n(e){var n=Cr(e);t[n]||(!function(e,t){var r=Bt.toCamelCase(" "+t);["get","set","has"].forEach((function(n){Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})}))}(r,e),t[n]=!0)}return Bt.isArray(e)?e.forEach(n):n(e),this}}]),r}();Mr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Bt.reduceDescriptors(Mr.prototype,(function(e,t){var r=e.value,n=t[0].toUpperCase()+t.slice(1);return{get:function(){return r},set:function(e){this[n]=e}}})),Bt.freezeMethods(Mr);var jr=Mr;function Ar(e,t){var r=this||yr,n=t||r,i=jr.from(n.headers),a=n.data;return Bt.forEach(e,(function(e){a=e.call(r,a,i.normalize(),t?t.status:void 0)})),i.normalize(),a}function Or(e){return!(!e||!e.__CANCEL__)}function Dr(e,t,r){Yt.call(this,null==e?"canceled":e,Yt.ERR_CANCELED,t,r),this.name="CanceledError"}Bt.inherits(Dr,Yt,{__CANCEL__:!0});var Nr=Dr;function Ir(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Fr(e){return function(e){if(Array.isArray(e))return xr(e)}(e)||Ir(e)||_r(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lr(e){return br(e)||Ir(e)||_r(e)||wr()}var Rr=mr.hasStandardBrowserEnv?{write:function(e,t,r,n,i,a){var s=[e+"="+encodeURIComponent(t)];Bt.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),Bt.isString(n)&&s.push("path="+n),Bt.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Br(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var zr=mr.hasStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function n(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=n(window.location.href),function(t){var r=Bt.isString(t)?n(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0};var Vr=function(e,t){e=e||10;var r,n=new Array(e),i=new Array(e),a=0,s=0;return t=void 0!==t?t:1e3,function(o){var l=Date.now(),c=i[s];r||(r=l),n[a]=o,i[a]=l;for(var u=s,f=0;u!==a;)f+=n[u++],u%=e;if((a=(a+1)%e)===s&&(s=(s+1)%e),!(l-r<t)){var d=c&&l-c;return d?Math.round(1e3*f/d):void 0}}};function Hr(e,t){var r=0,n=Vr(50,250);return function(i){var a=i.loaded,s=i.lengthComputable?i.total:void 0,o=a-r,l=n(o);r=a;var c={loaded:a,total:s,progress:s?a/s:void 0,bytes:o,rate:l||void 0,estimated:l&&s&&a<=s?(s-a)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}var Gr={http:null,xhr:"undefined"!==typeof XMLHttpRequest&&function(e){return new Promise((function(t,r){var n,i,a=e.data,s=jr.from(e.headers).normalize(),o=e.responseType,l=e.withXSRFToken;function c(){e.cancelToken&&e.cancelToken.unsubscribe(n),e.signal&&e.signal.removeEventListener("abort",n)}if(Bt.isFormData(a))if(mr.hasStandardBrowserEnv||mr.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if(!1!==(i=s.getContentType())){var u=Lr(i?i.split(";").map((function(e){return e.trim()})).filter(Boolean):[]),f=u[0],d=u.slice(1);s.setContentType([f||"multipart/form-data"].concat(Fr(d)).join("; "))}var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(h+":"+m))}var v=Br(e.baseURL,e.url);function g(){if(p){var n=jr.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders());!function(e,t,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Yt("Request failed with status code "+r.status,[Yt.ERR_BAD_REQUEST,Yt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}((function(e){t(e),c()}),(function(e){r(e),c()}),{data:o&&"text"!==o&&"json"!==o?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:e,request:p}),p=null}}if(p.open(e.method.toUpperCase(),sr(v,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,"onloadend"in p?p.onloadend=g:p.onreadystatechange=function(){p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))&&setTimeout(g)},p.onabort=function(){p&&(r(new Yt("Request aborted",Yt.ECONNABORTED,e,p)),p=null)},p.onerror=function(){r(new Yt("Network Error",Yt.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||ur;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new Yt(t,n.clarifyTimeoutError?Yt.ETIMEDOUT:Yt.ECONNABORTED,e,p)),p=null},mr.hasStandardBrowserEnv&&(l&&Bt.isFunction(l)&&(l=l(e)),l||!1!==l&&zr(v))){var y=e.xsrfHeaderName&&e.xsrfCookieName&&Rr.read(e.xsrfCookieName);y&&s.set(e.xsrfHeaderName,y)}void 0===a&&s.setContentType(null),"setRequestHeader"in p&&Bt.forEach(s.toJSON(),(function(e,t){p.setRequestHeader(t,e)})),Bt.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),o&&"json"!==o&&(p.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&p.addEventListener("progress",Hr(e.onDownloadProgress,!0)),"function"===typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",Hr(e.onUploadProgress)),(e.cancelToken||e.signal)&&(n=function(t){p&&(r(!t||t.type?new Nr(null,e,p):t),p.abort(),p=null)},e.cancelToken&&e.cancelToken.subscribe(n),e.signal&&(e.signal.aborted?n():e.signal.addEventListener("abort",n)));var b=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(v);b&&-1===mr.protocols.indexOf(b)?r(new Yt("Unsupported protocol "+b+":",Yt.ERR_BAD_REQUEST,e)):p.send(a||null)}))}};Bt.forEach(Gr,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}}));var qr=function(e){return"- ".concat(e)},Wr=function(e){return Bt.isFunction(e)||null===e||!1===e},Ur=function(e){for(var t,r,n=(e=Bt.isArray(e)?e:[e]).length,i={},a=0;a<n;a++){var s=void 0;if(r=t=e[a],!Wr(t)&&void 0===(r=Gr[(s=String(t)).toLowerCase()]))throw new Yt("Unknown adapter '".concat(s,"'"));if(r)break;i[s||"#"+a]=r}if(!r){var o=Object.entries(i).map((function(e){var t=Sr(e,2),r=t[0],n=t[1];return"adapter ".concat(r," ")+(!1===n?"is not supported by the environment":"is not available in the build")})),l=n?o.length>1?"since :\n"+o.map(qr).join("\n"):" "+qr(o[0]):"as no adapter specified";throw new Yt("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return r};function $r(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Nr(null,e)}function Xr(e){return $r(e),e.headers=jr.from(e.headers),e.data=Ar.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ur(e.adapter||yr.adapter)(e).then((function(t){return $r(e),t.data=Ar.call(e,e.transformResponse,t),t.headers=jr.from(t.headers),t}),(function(t){return Or(t)||($r(e),t&&t.response&&(t.response.data=Ar.call(e,e.transformResponse,t.response),t.response.headers=jr.from(t.response.headers))),Promise.reject(t)}))}var Yr=function(e){return e instanceof jr?e.toJSON():e};function Zr(e,t){t=t||{};var r={};function n(e,t,r){return Bt.isPlainObject(e)&&Bt.isPlainObject(t)?Bt.merge.call({caseless:r},e,t):Bt.isPlainObject(t)?Bt.merge({},t):Bt.isArray(t)?t.slice():t}function i(e,t,r){return Bt.isUndefined(t)?Bt.isUndefined(e)?void 0:n(void 0,e,r):n(e,t,r)}function a(e,t){if(!Bt.isUndefined(t))return n(void 0,t)}function s(e,t){return Bt.isUndefined(t)?Bt.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function o(r,i,a){return a in t?n(r,i):a in e?n(void 0,r):void 0}var l={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:o,headers:function(e,t){return i(Yr(e),Yr(t),!0)}};return Bt.forEach(Object.keys(Object.assign({},e,t)),(function(n){var a=l[n]||i,s=a(e[n],t[n],n);Bt.isUndefined(s)&&a!==o||(r[n]=s)})),r}var Jr="1.6.7",Kr={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Kr[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var Qr={};Kr.transitional=function(e,t,r){function n(e,t){return"[Axios v1.6.7] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,i,a){if(!1===e)throw new Yt(n(i," has been removed"+(t?" in "+t:"")),Yt.ERR_DEPRECATED);return t&&!Qr[i]&&(Qr[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,a)}};var en={assertOptions:function(e,t,r){if("object"!==typeof e)throw new Yt("options must be an object",Yt.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],s=t[a];if(s){var o=e[a],l=void 0===o||s(o,a,e);if(!0!==l)throw new Yt("option "+a+" must be "+l,Yt.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Yt("Unknown option "+a,Yt.ERR_BAD_OPTION)}},validators:Kr},tn=en.validators,rn=function(){function e(t){Gt(this,e),this.defaults=t,this.interceptors={request:new cr,response:new cr}}return Wt(e,[{key:"request",value:function(){var e=Ht(zt().mark((function e(t,r){var n,i;return zt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._request(t,r);case 3:return e.abrupt("return",e.sent);case 6:throw e.prev=6,e.t0=e.catch(0),e.t0 instanceof Error&&(Error.captureStackTrace?Error.captureStackTrace(n={}):n=new Error,i=n.stack?n.stack.replace(/^.+\n/,""):"",e.t0.stack?i&&!String(e.t0.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(e.t0.stack+="\n"+i):e.t0.stack=i),e.t0;case 10:case"end":return e.stop()}}),e,this,[[0,6]])})));return function(t,r){return e.apply(this,arguments)}}()},{key:"_request",value:function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{};var r=t=Zr(this.defaults,t),n=r.transitional,i=r.paramsSerializer,a=r.headers;void 0!==n&&en.assertOptions(n,{silentJSONParsing:tn.transitional(tn.boolean),forcedJSONParsing:tn.transitional(tn.boolean),clarifyTimeoutError:tn.transitional(tn.boolean)},!1),null!=i&&(Bt.isFunction(i)?t.paramsSerializer={serialize:i}:en.assertOptions(i,{encode:tn.function,serialize:tn.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();var s=a&&Bt.merge(a.common,a[t.method]);a&&Bt.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete a[e]})),t.headers=jr.concat(s,a);var o=[],l=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}));var c,u=[];this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));var f,d=0;if(!l){var p=[Xr.bind(this),void 0];for(p.unshift.apply(p,o),p.push.apply(p,u),f=p.length,c=Promise.resolve(t);d<f;)c=c.then(p[d++],p[d++]);return c}f=o.length;var h=t;for(d=0;d<f;){var m=o[d++],v=o[d++];try{h=m(h)}catch(g){v.call(this,g);break}}try{c=Xr.call(this,h)}catch(g){return Promise.reject(g)}for(d=0,f=u.length;d<f;)c=c.then(u[d++],u[d++]);return c}},{key:"getUri",value:function(e){return sr(Br((e=Zr(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();Bt.forEach(["delete","get","head","options"],(function(e){rn.prototype[e]=function(t,r){return this.request(Zr(r||{},{method:e,url:t,data:(r||{}).data}))}})),Bt.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,i){return this.request(Zr(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}rn.prototype[e]=t(),rn.prototype[e+"Form"]=t(!0)}));var nn=rn,an=function(){function e(t){if(Gt(this,e),"function"!==typeof t)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(e){r=e}));var n=this;this.promise.then((function(e){if(n._listeners){for(var t=n._listeners.length;t-- >0;)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},t((function(e,t,i){n.reason||(n.reason=new Nr(e,t,i),r(n.reason))}))}return Wt(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t,r=new e((function(e){t=e}));return{token:r,cancel:t}}}]),e}(),sn=an;var on={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(on).forEach((function(e){var t=Sr(e,2),r=t[0],n=t[1];on[n]=r}));var ln=on;var cn=function e(t){var r=new nn(t),n=at(nn.prototype.request,r);return Bt.extend(n,nn.prototype,r,{allOwnKeys:!0}),Bt.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Zr(t,r))},n}(yr);cn.Axios=nn,cn.CanceledError=Nr,cn.CancelToken=sn,cn.isCancel=Or,cn.VERSION=Jr,cn.toFormData=er,cn.AxiosError=Yt,cn.Cancel=cn.CanceledError,cn.all=function(e){return Promise.all(e)},cn.spread=function(e){return function(t){return e.apply(null,t)}},cn.isAxiosError=function(e){return Bt.isObject(e)&&!0===e.isAxiosError},cn.mergeConfig=Zr,cn.AxiosHeaders=jr,cn.formToJSON=function(e){return vr(Bt.isHTMLForm(e)?new FormData(e):e)},cn.getAdapter=Ur,cn.HttpStatusCode=ln,cn.default=cn;var un=cn,fn=JSON.parse('{"L1":{"Jb":"/pages/resources","gX":"/vacancies/","L4":"/pages/career","df":"/pages/resources/crop-nutrition-programs","GG":"/pages/resources/trail-results","_n":"/pages/resources/information-materials","RB":"/pages/products","tJ":"/products/","Xh":"/pages/homepage","Jx":"/pages/contacts","Il":"/pages/terms-conditions","B8":"/pages/legal-info","tQ":"/pages/blog","ny":"/posts/","Wx":"/pages/about","xk":"/pages/general-translation"},"jm":"/vacancies","tb":"/products","CR":"/countries","aV":"/languages","xu":"/employees","BT":"/crops","tf":"/posts","yC":"/search","Ux":"/catalogs","Ld":"/subscribe","cr":"/form"}'),dn="nutrition",pn="trials",hn="https://api-rc-uniferx.goodface.com.ua/api",mn=function(e,t,r){return Ye(e,function(){var e=Ht(zt().mark((function e(r,n){var i,a,s,o;return zt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n.getState,a=i(),s=a.languageState,e.next=4,t(ce({language:s.language.code,country:s.country.code},r)).catch((function(e){throw e}));case 4:return o=e.sent,e.abrupt("return",o.data);case 6:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),{condition:r})},vn=mn("fetchResources",(function(e){return un.get("".concat(hn+fn.L1.Jb),{params:e})}),(function(e,t){return!(0,t.getState)().resourcesState.resources.data})),gn=Ge({name:"resourcesSlice",initialState:{resources:{}},reducers:{},extraReducers:function(e){e.addCase(vn.fulfilled,(function(e,t){e.resources=t.payload}))}}),yn=it([function(e){return e.resourcesState.resources}],(function(e){return e.data||{}})),bn=it([function(e){return e.resourcesState.resources}],(function(e){return"success"!==(null===e||void 0===e?void 0:e.status)})),xn=gn.reducer,_n=mn("fetchProducts",(function(e){return un.get("".concat(hn+fn.L1.RB),{params:e})}),(function(e,t){return!(0,t.getState)().productsState.products.data})),wn=mn("fetchProduct",(function(e){var t=e.slug,r=e.language,n=e.country;return un.get("".concat(hn+fn.L1.tJ+t),{params:{language:r,country:n}})})),Sn=mn("fetchMainProducts",(function(e){var t=e.language,r=e.country,n=e.page,i=void 0===n?1:n,a=e.limit,s=void 0===a?10:a;return un.get("".concat(hn+fn.tb),{params:{language:t,country:r,page:i,limit:s}})})),kn=mn("fetchRelatedProducts",(function(e){var t=e.slug,r=e.language,n=e.country,i=e.page,a=void 0===i?1:i,s=e.limit,o=void 0===s?8:s;return un.get("".concat(hn+fn.L1.tJ+t+"/related"),{params:{language:r,country:n,page:a,limit:o}})})),En=Ge({name:"productsSlice",initialState:{products:{},mainProducts:{},productContent:{},relatedProducts:{data:[],next:!1}},reducers:{},extraReducers:function(e){e.addCase(Sn.fulfilled,(function(e,t){e.mainProducts=t.payload})).addCase(_n.fulfilled,(function(e,t){e.products=t.payload})).addCase(kn.fulfilled,(function(e,t){var r,n=t.payload,i=t.meta;(e.relatedProducts.next=n.data.next,1===i.arg.page)?e.relatedProducts.data=n.data.data:(r=e.relatedProducts.data).push.apply(r,Fr(n.data.data))})).addCase(wn.pending,(function(e){e.productContent={},e.relatedProducts={data:[],next:!1}})).addCase(wn.fulfilled,(function(e,t){e.productContent=t.payload}))}}),Cn=it([function(e){return e.productsState.products}],(function(e){return e.data||{}})),Pn=it([function(e){return e.productsState.products}],(function(e){return"success"!==(null===e||void 0===e?void 0:e.status)})),Tn=it([function(e){return e.productsState.productContent}],(function(e){return e.data||{}})),Mn=it([function(e){return e.productsState.productContent}],(function(e){return"success"!==(null===e||void 0===e?void 0:e.status)})),jn=it([function(e){return e.productsState.mainProducts}],(function(e){return e.data||[]})),An=it([jn],(function(e){return(null===e||void 0===e?void 0:e.map((function(e){return{value:e.slug,name:e.preview_title}})))||[]})),On=it([function(e){return e.productsState.relatedProducts}],(function(e){return e||{}})),Dn=En.reducer,Nn=function(e){var t=e.slug,r=e.product,n=e.language,i=e.country,a=e.trials_country,s=e.type,o=e.page,l=void 0===o?1:o,c=e.limit,u=void 0===c?8:c,f=e.all;return un.get("".concat(hn+fn.BT),{params:{language:n,country:i,product:r,trials_country:a,type:s,page:l,slug:t,limit:u,all:f}})},In=mn("fetchTrialResults",(function(e){return un.get("".concat(hn+fn.L1.GG),{params:e})}),(function(e,t){return!(0,t.getState)().trialResultsState.trialResults.data})),Fn=mn("fetchTrialResultsFlyers",(function(e){var t=e.slug,r=e.language,n=e.country,i=e.page,a=void 0===i?1:i,s=e.limit,o=void 0===s?6:s,l=e.product,c=e.trials_country;return un.get("".concat(hn+fn.BT+"/"+t+"/flyers"),{params:{language:r,country:n,page:a,limit:o,product:l,trials_country:c}})})),Ln=mn("fetchTrialResultsForProductForCurrentCountry",Nn),Rn=mn("fetchTrialResultsForProductForOthers",Nn),Bn=mn("fetchTrialResultsPageList",Nn),zn=mn("fetchDetailTrialResults",(function(e){var t=e.slug,r=e.language,n=e.country,i=e.type,a=void 0===i?pn:i;return un.get("".concat(hn+fn.BT+"/"+t),{params:{language:r,country:n,type:a}})})),Vn=Ge({name:"trialResultsSlice",initialState:{trialResults:{},trialResultsDetails:{},trialResultsFlyers:{flyers:[],next:!1},trialResultsPageList:{},allCropTrialForFilter:{data:[]},trialResultsForProductForCurrentCountry:{data:[],next:!1},trialResultsForProductForOthers:{data:[],next:!1},currentProductFilter:null,currentCountryFilter:null},reducers:{setCurrentProductFilter:function(e,t){e.currentProductFilter=t.payload},setCurrentCountryFilter:function(e,t){e.currentCountryFilter=t.payload}},extraReducers:function(e){e.addCase(In.fulfilled,(function(e,t){e.trialResults=t.payload})).addCase(zn.pending,(function(e,t){e.trialResultsDetails={}})).addCase(zn.fulfilled,(function(e,t){e.trialResultsDetails=t.payload})).addCase(Bn.fulfilled,(function(e,t){e.trialResultsPageList=t.payload,e.allCropTrialForFilter.data.length||(e.allCropTrialForFilter=t.payload)})).addCase(Fn.fulfilled,(function(e,t){var r,n=t.payload,i=t.meta;(e.trialResultsFlyers.next=n.next,1===i.arg.page)?e.trialResultsFlyers.flyers=n.data:(r=e.trialResultsFlyers.flyers).push.apply(r,Fr(n.data))})).addCase(Ln.fulfilled,(function(e,t){var r,n=t.payload,i=t.meta;(e.trialResultsForProductForCurrentCountry.next=n.next,1===i.arg.page)?e.trialResultsForProductForCurrentCountry.data=n.data:(r=e.trialResultsForProductForCurrentCountry.data).push.apply(r,Fr(n.data))})).addCase(Rn.fulfilled,(function(e,t){var r,n=t.payload,i=t.meta;(e.trialResultsForProductForOthers.next=n.next,1===i.arg.page)?e.trialResultsForProductForOthers.data=n.data:(r=e.trialResultsForProductForOthers.data).push.apply(r,Fr(n.data))}))}}),Hn=it([function(e){return e.trialResultsState.trialResults}],(function(e){return e.data||{}})),Gn=it([function(e){return e.trialResultsState.trialResults}],(function(e){return"success"!==(null===e||void 0===e?void 0:e.status)})),qn=it([function(e){return e.trialResultsState.trialResultsFlyers}],(function(e){return e||{}})),Wn=it([function(e){return e.trialResultsState.trialResultsForProductForCurrentCountry}],(function(e){return e||{}})),Un=it([function(e){return e.trialResultsState.trialResultsForProductForOthers}],(function(e){return e||{}})),$n=it([function(e){return e.trialResultsState.trialResultsPageList}],(function(e){return e.data||[]})),Xn=it([function(e){return e.trialResultsState.trialResultsDetails}],(function(e){return e.data||{}})),Yn=it([function(e){return e.trialResultsState.trialResultsDetails}],(function(e){return"success"!==(null===e||void 0===e?void 0:e.status)})),Zn=it([function(e){return e.trialResultsState.allCropTrialForFilter}],(function(e){return e.data||[]})),Jn=(it([Zn],(function(e){return e.map((function(e){return{value:e.slug,name:e.title}}))})),it([function(e){return e.trialResultsState.currentProductFilter}],(function(e){return e||null}))),Kn=it([function(e){return e.trialResultsState.currentCountryFilter}],(function(e){return e||null})),Qn=Vn.actions,ei=Qn.setCurrentProductFilter,ti=Qn.setCurrentCountryFilter,ri=Vn.reducer,ni=mn("fetchCareer",(function(e){return un.get("".concat(hn+fn.L1.L4),{params:e})}),(function(e,t){return!(0,t.getState)().careerState.career.data})),ii=mn("fetchVacancies",(function(e){var t=e.language,r=e.country,n=e.page,i=void 0===n?1:n,a=e.limit,s=void 0===a?4:a;return un.get("".concat(hn+fn.jm),{params:{language:t,country:r,page:i,limit:s}})})),ai=mn("fetchVacancy",(function(e){var t=e.slug,r=e.language,n=e.country;return un.get("".concat(hn+fn.L1.gX+t),{params:{language:r,country:n}})})),si=Ge({name:"careerSlice",initialState:{career:{},vacanciesList:{data:[],next:!1},vacancyContent:{},vacanciesListIsLoading:!1},reducers:{},extraReducers:function(e){e.addCase(ii.pending,(function(e,t){e.vacanciesListIsLoading=!0})),e.addCase(ii.fulfilled,(function(e,t){var r,n=t.payload,i=t.meta;(e.vacanciesList.next=n.next,1===i.arg.page)?e.vacanciesList.data=n.data:(r=e.vacanciesList.data).push.apply(r,Fr(n.data));e.vacanciesListIsLoading=!1})).addCase(ni.fulfilled,(function(e,t){e.career=t.payload})).addCase(ai.pending,(function(e,t){e.vacancyContent={}})).addCase(ai.fulfilled,(function(e,t){e.vacancyContent=t.payload}))}}),oi=it([function(e){return e.careerState.career}],(function(e){return e.data||{}})),li=it([function(e){return e.careerState.career},function(e){return e.careerState.vacanciesListIsLoading}],(function(e,t){return"success"!==(null===e||void 0===e?void 0:e.status)&&t})),ci=it([function(e){return e.careerState.vacanciesList}],(function(e){return e||{}})),ui=it([function(e){return e.careerState.vacancyContent}],(function(e){return e.data||{}})),fi=it([function(e){return e.careerState.vacancyContent}],(function(e){return"success"!==(null===e||void 0===e?void 0:e.status)})),di=si.reducer,pi=mn("fetchHomepage",(function(e){return un.get("".concat(hn+fn.L1.Xh),{params:e})})),hi=Ge({name:"homepageSlice",initialState:{homepage:{},homepageIsLoading:!1},reducers:{},extraReducers:function(e){e.addCase(pi.pending,(function(e){e.homepageIsLoading=!0})),e.addCase(pi.fulfilled,(function(e,t){e.homepageIsLoading=!1,e.homepage=t.payload}))}}),mi=it([function(e){return e.homepageState.homepage}],(function(e){return e.data||{}})),vi=it([function(e){return e.homepageState.homepageIsLoading}],(function(e){return e})),gi=hi.reducer,yi=Ye("fetchLanguages",Ht(zt().mark((function e(){var t;return zt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,un.get("".concat(hn+fn.aV));case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}}),e)}))),{condition:function(e,t){if((0,t.getState)().languageState.languages.length)return!1}}),bi=Ye("fetchCountries",Ht(zt().mark((function e(){var t;return zt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,un.get("".concat(hn+fn.CR));case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}}),e)}))),{condition:function(e,t){if((0,t.getState)().languageState.countries.length)return!1}}),xi="language",_i="country",wi=Ge({name:"languageSlice",initialState:{language:{},country:{},languages:[],languagesIsLoading:!0,countriesIsLoading:!0,countries:[]},reducers:{changeLanguage:function(e,t){e.language=t.payload,localStorage.setItem(xi,JSON.stringify(t.payload))},changeCountry:function(e,t){e.country=t.payload,localStorage.setItem(_i,JSON.stringify(t.payload))}},extraReducers:function(e){e.addCase(yi.fulfilled,(function(e,t){e.languages=t.payload.data,localStorage.getItem(xi)?e.language=JSON.parse(localStorage.getItem(xi)):(localStorage.setItem(xi,JSON.stringify(t.payload.data[0])),e.language=t.payload.data[0]),e.languagesIsLoading=!1})),e.addCase(bi.fulfilled,(function(e,t){var r=t.payload.data.map((function(t){var r,n=JSON.parse(t.name).text[null===(r=e.language)||void 0===r?void 0:r.code];return ce(ce({},t),{},{name:n})}));e.countries=r,localStorage.getItem(_i)?e.country=JSON.parse(localStorage.getItem(_i)):(localStorage.setItem(_i,JSON.stringify(r[0])),e.country=r[0]),e.countriesIsLoading=!1}))}}),Si=it([function(e){return e.languageState}],(function(e){return e||{}})),ki=it([function(e){return e.languageState}],(function(e){return e.languagesIsLoading||e.countriesIsLoading})),Ei=it([function(e){return e.languageState}],(function(e){return e.country})),Ci=it([function(e){return e.languageState}],(function(e){return e.language})),Pi=it([Ei,Ci],(function(e,t){return{country:e,language:t}})),Ti=it([function(e){return e.languageState.countries}],(function(e){return e.map((function(e){return{name:e.name,value:e.code}}))})),Mi=wi.actions,ji=Mi.changeLanguage,Ai=Mi.changeCountry,Oi=wi.reducer,Di=function(e){var t=e.language,r=e.country,n=e.page,i=void 0===n?1:n,a=e.limit,s=void 0===a?9:a,o=e.tag;return un.get("".concat(hn+fn.tf),{params:{language:t,country:r,page:i,limit:s,tag:o}})},Ni=mn("fetchPost",(function(e){var t=e.slug,r=e.language,n=e.country;return un.get("".concat(hn+fn.L1.ny+t),{params:{language:r,country:n}})})),Ii=mn("fetchBlog",(function(e){return un.get("".concat(hn+fn.L1.tQ),{params:e})}),(function(e,t){return!(0,t.getState)().blogState.blog.data})),Fi=mn("fetchLatestPostsForHomepage",Di),Li=mn("fetchPostsForNews",Di),Ri=mn("fetchPostsSlider",Di,(function(e,t){return!(0,t.getState)().blogState.articleSliderPosts.data.length})),Bi=Ge({name:"blogSlice",initialState:{blog:{},latestPostHomepage:{},latestPostHomepageIsloading:!1,newsPagePosts:{data:[],next:!1},postContent:{},articleSliderPosts:{data:[],next:!1}},reducers:{},extraReducers:function(e){e.addCase(Fi.pending,(function(e){e.latestPostHomepageIsloading=!0})).addCase(Fi.fulfilled,(function(e,t){e.latestPostHomepage=t.payload,e.latestPostHomepageIsloading=!1})).addCase(Li.fulfilled,(function(e,t){var r,n=t.payload,i=t.meta;(e.newsPagePosts.next=n.next,1===i.arg.page)?e.newsPagePosts.data=n.data:(r=e.newsPagePosts.data).push.apply(r,Fr(n.data))})).addCase(Ii.fulfilled,(function(e,t){e.blog=t.payload})).addCase(Ni.pending,(function(e,t){e.postContent={}})).addCase(Ni.fulfilled,(function(e,t){e.postContent=t.payload})).addCase(Ri.fulfilled,(function(e,t){e.articleSliderPosts=t.payload}))}}),zi=it([function(e){return e.blogState.blog}],(function(e){return e.data||{}})),Vi=it([function(e){return e.blogState.latestPostHomepage}],(function(e){return e.data||[]})),Hi=it([function(e){return e.blogState.latestPostHomepageIsloading}],(function(e){return e})),Gi=it([function(e){return e.blogState.newsPagePosts}],(function(e){return e})),qi=it([function(e){return e.blogState.postContent}],(function(e){return(null===e||void 0===e?void 0:e.data)||{}})),Wi=it([function(e){return e.blogState.postContent}],(function(e){return"success"!==(null===e||void 0===e?void 0:e.status)})),Ui=it([function(e){return e.blogState.articleSliderPosts}],(function(e){return e.data||[]})),$i=it([function(e){return e.blogState.blog}],(function(e){return"success"!==(null===e||void 0===e?void 0:e.status)})),Xi=Bi.reducer,Yi=mn("fetchCropNutrition",(function(e){return un.get("".concat(hn+fn.L1.df),{params:e})}),(function(e,t){return!(0,t.getState)().cropNutritionState.cropNutritionPage.data})),Zi=mn("fetchCropNutritionDetail",(function(e){var t=e.slug,r=e.language,n=e.country,i=e.type,a=e.product;return un.get("".concat(hn+fn.BT+"/"+t),{params:{language:r,country:n,type:i,slug:t,product:a}})})),Ji=mn("fetchCropNutritionForProduct",Nn),Ki=mn("fetchCropNutritionPageCrops",Nn),Qi=Ge({name:"cropNutritionSlice",initialState:{cropNutritionPage:{},cropNutritionPageCrops:{},cropNutritionPageCropsIsLoading:!1,cropNutritionDetail:{},cropNutritionForProduct:{},allCropNutritionForFilter:{data:[]},currentProductFilter:null},reducers:{setCurrentProductFilter:function(e,t){e.currentProductFilter=t.payload}},extraReducers:function(e){e.addCase(Yi.fulfilled,(function(e,t){e.cropNutritionPage=t.payload})).addCase(Ki.pending,(function(e,t){e.cropNutritionPageCropsIsLoading=!0})).addCase(Ki.fulfilled,(function(e,t){e.cropNutritionPageCrops=t.payload,e.cropNutritionPageCropsIsLoading=!1,e.allCropNutritionForFilter.data.length||(e.allCropNutritionForFilter=t.payload)})).addCase(Zi.pending,(function(e,t){e.cropNutritionDetail={}})).addCase(Zi.fulfilled,(function(e,t){e.cropNutritionDetail=t.payload})).addCase(Ji.fulfilled,(function(e,t){var r,n=t.payload,i=t.meta;(e.cropNutritionForProduct.next=n.next,1===i.arg.page)?e.cropNutritionForProduct.data=n.data:(r=e.cropNutritionForProduct.data).push.apply(r,Fr(n.data))}))}}),ea=it([function(e){return e.cropNutritionState.cropNutritionPage}],(function(e){return e.data||{}})),ta=it([function(e){return e.cropNutritionState.cropNutritionPage},function(e){return e.cropNutritionState.cropNutritionPageCropsIsLoading}],(function(e,t){return"success"!==e.status&&t})),ra=it([function(e){return e.cropNutritionState.cropNutritionPageCrops}],(function(e){return e.data||[]})),na=it([function(e){return e.cropNutritionState.allCropNutritionForFilter}],(function(e){return e.data||[]})),ia=(it([na],(function(e){return e.map((function(e){return{value:e.slug,name:e.title}}))})),it([function(e){return e.cropNutritionState.cropNutritionDetail}],(function(e){return e.data||{}}))),aa=it([function(e){return e.cropNutritionState.cropNutritionDetail}],(function(e){return"success"!==(null===e||void 0===e?void 0:e.status)})),sa=it([function(e){return e.cropNutritionState.cropNutritionForProduct}],(function(e){return e||{}})),oa=it([function(e){return e.cropNutritionState.currentProductFilter}],(function(e){return e||null})),la=Qi.actions.setCurrentProductFilter,ca=Qi.reducer,ua=mn("fetchInformationMaterials",(function(e){return un.get("".concat(hn+fn.L1._n),{params:e})}),(function(e,t){return!(0,t.getState)().informationMaterialsState.informationMaterials.data})),fa=mn("fetchInformationMaterialsFlyers",(function(e){var t=e.id,r=e.language,n=e.country,i=e.page,a=void 0===i?1:i,s=e.limit,o=void 0===s?6:s;return un.get("".concat(hn+fn.L1._n+"/"+t+"/flyers"),{params:{language:r,country:n,page:a,limit:o}})})),da=mn("fetchFilteredInformationMaterials",(function(e){return un.get("".concat(hn+fn.Ux),{params:e})})),pa=Ge({name:"InformationMaterialsSlice",initialState:{informationMaterials:{},informationMaterialFlyers:{},informationMaterialFlyersIsLoading:!1},reducers:{},extraReducers:function(e){e.addCase(da.fulfilled,(function(e,t){e.informationMaterials.data.catalogs=t.payload.data})).addCase(ua.fulfilled,(function(e,t){e.informationMaterials=t.payload;var r=t.payload.data.catalogs.filter((function(e){return e.has_flyers})).reduce((function(e,t){return ce(ce({},e),{},oe({},t.id,{flyers:[],next:!1}))}),{});e.informationMaterialFlyers=r})).addCase(fa.pending,(function(e,t){e.informationMaterialFlyersIsLoading=!0})).addCase(fa.fulfilled,(function(e,t){var r=t.payload,n=t.meta;1===n.arg.page?e.informationMaterialFlyers[n.arg.id]={flyers:r.data,page:n.arg.page,next:r.next}:e.informationMaterialFlyers[n.arg.id]={flyers:[].concat(Fr(e.informationMaterialFlyers[n.arg.id].flyers),Fr(r.data)),page:n.arg.page,next:r.next},e.informationMaterialFlyersIsLoading=!1}))}}),ha=it([function(e){return e.informationMaterialsState.informationMaterials}],(function(e){return e.data||{}})),ma=it([function(e){return e.informationMaterialsState.informationMaterials}],(function(e){return"success"!==(null===e||void 0===e?void 0:e.status)})),va=it([function(e){return e.informationMaterialsState.informationMaterialFlyersIsLoading}],(function(e){return e})),ga=it([function(e){return e.informationMaterialsState.informationMaterialFlyers}],(function(e){return e||{}})),ya=pa.reducer,ba=mn("fetchLegalInfo",(function(e){return un.get("".concat(hn+fn.L1.B8),{params:e})}),(function(e,t){return!(0,t.getState)().additionalPagesState.lagalInfo.data})),xa=mn("fetchTermsConditions",(function(e){return un.get("".concat(hn+fn.L1.Il),{params:e})}),(function(e,t){return!(0,t.getState)().additionalPagesState.termsConditions.data})),_a=Ge({name:"additionalPagesSlice",initialState:{lagalInfo:{},termsConditions:{}},reducers:{},extraReducers:function(e){e.addCase(ba.fulfilled,(function(e,t){e.lagalInfo=t.payload})),e.addCase(xa.fulfilled,(function(e,t){e.termsConditions=t.payload}))}}),wa=it([function(e){return e.additionalPagesState.lagalInfo}],(function(e){return e.data||{}})),Sa=it([function(e){return e.additionalPagesState.termsConditions}],(function(e){return e.data||{}})),ka=it([function(e){return e.additionalPagesState.lagalInfo}],(function(e){return"success"!==e.status})),Ea=it([function(e){return e.additionalPagesState.termsConditions}],(function(e){return"success"!==e.status})),Ca=_a.reducer,Pa=mn("fetchContacts",(function(e){return un.get("".concat(hn+fn.L1.Jx),{params:e})}),(function(e,t){return!(0,t.getState)().contactsPagesState.contacts.data})),Ta=Ge({name:"contactsSlice",initialState:{contacts:{}},reducers:{},extraReducers:function(e){e.addCase(Pa.fulfilled,(function(e,t){e.contacts=t.payload}))}}),Ma=it([function(e){return e.contactsPagesState.contacts}],(function(e){return e.data||{}})),ja=it([function(e){return e.contactsPagesState.contacts}],(function(e){return"success"!==e.status})),Aa=Ta.reducer,Oa=mn("fetchAboutUs",(function(e){return un.get("".concat(hn+fn.L1.Wx),{params:e})}),(function(e,t){return!(0,t.getState)().aboutUsState.about.data})),Da=mn("fetchEmployees",(function(e){var t=e.page,r=e.limit,n=void 0===r?10:r,i=e.language,a=e.country;return un.get("".concat(hn+fn.xu),{params:{page:t,limit:n,language:i,country:a}})})),Na=Ge({name:"aboutUsSlice",initialState:{about:{},employees:{data:[],next:!1},employeesIsLoading:!1},reducers:{},extraReducers:function(e){e.addCase(Oa.fulfilled,(function(e,t){e.about=t.payload})),e.addCase(Da.pending,(function(e,t){e.employeesIsLoading=!0})),e.addCase(Da.fulfilled,(function(e,t){var r,n=t.payload,i=t.meta;(e.employees.next=n.next,1===i.arg.page)?e.employees.data=n.data:(r=e.employees.data).push.apply(r,Fr(n.data));e.employeesIsLoading=!1}))}}),Ia=it([function(e){return e.aboutUsState.about}],(function(e){return e.data||{}})),Fa=it([function(e){return e.aboutUsState.employees}],(function(e){return e})),La=it([function(e){return e.aboutUsState.employeesIsLoading}],(function(e){return e})),Ra=it([function(e){return e.aboutUsState.about}],(function(e){return"success"!==(null===e||void 0===e?void 0:e.status)})),Ba=Na.reducer,za=mn("fetchTranslations",(function(e){return un.get("".concat(hn+fn.L1.xk),{params:e})})),Va=Ge({name:"transltionsSlice",initialState:{data:{},translationsIsLoading:!1},reducers:{},extraReducers:function(e){e.addCase(za.pending,(function(e){e.translationsIsLoading=!0})),e.addCase(za.fulfilled,(function(e,t){e.data=t.payload,e.translationsIsLoading=!1}))}}),Ha=it([function(e){return e.translationsState.data}],(function(e){return e.data||{}})),Ga=it([function(e){return e.translationsState.translationsIsLoading}],(function(e){return e})),qa=it([function(e){return e.translationsState.data}],(function(e){var t=null===e||void 0===e?void 0:e.data;return{Article:t.blog_type_Article,Event:t.blog_type_Event,News:t.blog_type_News,Promo:t.blog_type_Promo,Research:t.blog_type_Research}})),Wa=Va.reducer,Ua=mn("fetchSearch",(function(e){var t=e.search,r=e.language,n=e.country;return un.get("".concat(hn+fn.yC),{params:{language:r,country:n,search:t}})})),$a={data:{products:[],cropsNutrition:[],cropsTrials:[],posts:[],catalogs:[],vacancies:[],flyers:[]}},Xa=Ge({name:"searchSlice",initialState:{searchData:$a,isSearchEnd:!0},reducers:{resetSearch:function(e){e.searchData=$a}},extraReducers:function(e){e.addCase(Ua.pending,(function(e){e.isSearchEnd=!1})).addCase(Ua.fulfilled,(function(e,t){e.isSearchEnd=!0,e.searchData=t.payload}))}}),Ya=it([function(e){return e.searchState.searchData}],(function(e){return e.data||{}})),Za=it([function(e){return e.searchState.isSearchEnd}],(function(e){return e})),Ja=Xa.actions.resetSearch,Ka=Xa.reducer,Qa=function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;window.scrollTo({top:(null===(t=document)||void 0===t||null===(r=t.querySelector(".".concat(e)))||void 0===r?void 0:r.getBoundingClientRect().top)+window.scrollY-n,behavior:"smooth"})},es=function(){var e=Ht(zt().mark((function e(t,r){var n,i;return zt().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t;case 2:n=e.sent,"Request failed with status code 404"===(null===(i=n.error)||void 0===i?void 0:i.message)&&r("/404");case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),ts=Ge({name:"uislice",initialState:{isNavigationItemHover:!1,isCookieAgree:function(e){for(var t=e+"=",r=decodeURIComponent(document.cookie).split(";"),n=0;n<r.length;n++){for(var i=r[n];" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return""}("cookieIsAgree")||!1,lastLocation:{pathname:null,state:{}}},reducers:{setLastLocation:function(e,t){e.lastLocation=t.payload},setNavigationItemHover:function(e,t){e.isNavigationItemHover=t.payload},setAgreeCookie:function(e){document.cookie="cookieIsAgree=true",e.isCookieAgree=!0}}}),rs=it([function(e){return e.ui}],(function(e){return e.isNavigationItemHover})),ns=it([function(e){return e.ui}],(function(e){return e.isCookieAgree})),is=it([function(e){return e.ui}],(function(e){return e.lastLocation})),as=ts.actions,ss=as.setNavigationItemHover,os=as.setAgreeCookie,ls=as.setLastLocation,cs=function(e){var t,r=Ve(),n=e||{},i=n.reducer,a=void 0===i?void 0:i,s=n.middleware,o=void 0===s?r():s,l=n.devTools,c=void 0===l||l,u=n.preloadedState,f=void 0===u?void 0:u,d=n.enhancers,p=void 0===d?void 0:d;if("function"===typeof a)t=a;else{if(!Fe(a))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=ve(a)}var h=o;"function"===typeof h&&(h=h(r));var m=ye.apply(void 0,h),v=ge;c&&(v=Ie(Oe({trace:!1},"object"===typeof c&&c)));var g=new Be(m),y=g;return Array.isArray(p)?y=ke([m],p):"function"===typeof p&&(y=p(g)),me(t,f,v.apply(void 0,y))}({reducer:{blogState:Xi,careerState:di,homepageState:gi,languageState:Oi,productsState:Dn,resourcesState:xn,trialResultsState:ri,cropNutritionState:ca,informationMaterialsState:ya,additionalPagesState:Ca,contactsPagesState:Aa,aboutUsState:Ba,translationsState:Wa,searchState:Ka,ui:ts.reducer}}),us=__webpack_require__(248),fs=__webpack_require__(327),ds=__webpack_require__(164);var ps=function(e){e()},hs=function(){return ps},ms=Symbol.for("react-redux-context"),vs="undefined"!==typeof globalThis?globalThis:{};function gs(){var e;if(!t.createContext)return{};var r=null!=(e=vs[ms])?e:vs[ms]=new Map,n=r.get(t.createContext);return n||(n=t.createContext(null),r.set(t.createContext,n)),n}var ys=gs();function bs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ys;return function(){return(0,t.useContext)(e)}}var xs=bs(),_s=function(){throw new Error("uSES not initialized!")},ws=function(e,t){return e===t};function Ss(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ys,r=e===ys?xs:bs(e);return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i="function"===typeof n?{equalityFn:n}:n,a=i.equalityFn,s=void 0===a?ws:a,o=i.stabilityCheck,l=void 0===o?void 0:o;i.noopCheck;var c=r(),u=c.store,f=c.subscription,d=c.getServerState,p=c.stabilityCheck,h=(c.noopCheck,(0,t.useRef)(!0),(0,t.useCallback)(oe({},e.name,(function(t){return e(t)}))[e.name],[e,p,l])),m=_s(f.addNestedSub,u.getState,d||u.getState,h,s);return(0,t.useDebugValue)(m),m}}var ks=Ss();__webpack_require__(110),__webpack_require__(441);var Es={notify:function(){},get:function(){return[]}};function Cs(e,t){var r,n=Es,i=0,a=!1;function s(){c.onStateChange&&c.onStateChange()}function o(){i++,r||(r=t?t.addNestedSub(s):e.subscribe(s),n=function(){var e=hs(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,i=r={callback:e,next:null,prev:r};return i.prev?i.prev.next=i:t=i,function(){n&&null!==t&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}function l(){i--,r&&0===i&&(r(),r=void 0,n.clear(),n=Es)}var c={addNestedSub:function(e){o();var t=n.subscribe(e),r=!1;return function(){r||(r=!0,t(),l())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:s,isSubscribed:function(){return a},trySubscribe:function(){a||(a=!0,o())},tryUnsubscribe:function(){a&&(a=!1,l())},getListeners:function(){return n}};return c}var Ps=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?t.useLayoutEffect:t.useEffect;var Ts=function(e){var r=e.store,n=e.context,i=e.children,a=e.serverState,s=e.stabilityCheck,o=void 0===s?"once":s,l=e.noopCheck,c=void 0===l?"once":l,u=t.useMemo((function(){var e=Cs(r);return{store:r,subscription:e,getServerState:a?function(){return a}:void 0,stabilityCheck:o,noopCheck:c}}),[r,a,o,c]),f=t.useMemo((function(){return r.getState()}),[r]);Ps((function(){var e=u.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),f!==r.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=void 0}}),[u,f]);var d=n||ys;return t.createElement(d.Provider,{value:u},i)};function Ms(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ys,t=e===ys?xs:bs(e);return function(){return t().store}}var js=Ms();function As(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ys,t=e===ys?js:Ms(e);return function(){return t().dispatch}}var Os,Ds,Ns=As();function Is(e,t){return Is=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Is(e,t)}function Fs(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Is(e,t)}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ls(e)}function Rs(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Bs(e,t){if(t&&("object"===ae(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function zs(e){var t=Rs();return function(){var r,n=Ls(e);if(t){var i=Ls(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Bs(this,r)}}function Vs(e,t,r){return Vs=Rs()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&Is(i,r.prototype),i},Vs.apply(null,arguments)}function Hs(e){var t="function"===typeof Map?new Map:void 0;return Hs=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Vs(e,arguments,Ls(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Is(r,e)},Hs(e)}function Gs(){return Gs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Gs.apply(this,arguments)}!function(e){_s=e}(fs.useSyncExternalStoreWithSelector),function(e){e}(us.useSyncExternalStore),Os=ds.unstable_batchedUpdates,ps=Os,function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(Ds||(Ds={}));var qs,Ws="popstate";function Us(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function $s(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(r){}}}function Xs(e,t){return{usr:e.state,key:e.key,idx:t}}function Ys(e,t,r,n){return void 0===r&&(r=null),Gs({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?Js(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function Zs(e){var t=e.pathname,r=void 0===t?"/":t,n=e.search,i=void 0===n?"":n,a=e.hash,s=void 0===a?"":a;return i&&"?"!==i&&(r+="?"===i.charAt(0)?i:"?"+i),s&&"#"!==s&&(r+="#"===s.charAt(0)?s:"#"+s),r}function Js(e){var t={};if(e){var r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));var n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function Ks(e,t,r,n){void 0===n&&(n={});var i=n,a=i.window,s=void 0===a?document.defaultView:a,o=i.v5Compat,l=void 0!==o&&o,c=s.history,u=Ds.Pop,f=null,d=p();function p(){return(c.state||{idx:null}).idx}function h(){u=Ds.Pop;var e=p(),t=null==e?null:e-d;d=e,f&&f({action:u,location:v.location,delta:t})}function m(e){var t="null"!==s.location.origin?s.location.origin:s.location.href,r="string"===typeof e?e:Zs(e);return Us(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==d&&(d=0,c.replaceState(Gs({},c.state,{idx:d}),""));var v={get action(){return u},get location(){return e(s,c)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(Ws,h),f=e,function(){s.removeEventListener(Ws,h),f=null}},createHref:function(e){return t(s,e)},createURL:m,encodeLocation:function(e){var t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){u=Ds.Push;var n=Ys(v.location,e,t);r&&r(n,e);var i=Xs(n,d=p()+1),a=v.createHref(n);try{c.pushState(i,"",a)}catch(o){if(o instanceof DOMException&&"DataCloneError"===o.name)throw o;s.location.assign(a)}l&&f&&f({action:u,location:v.location,delta:1})},replace:function(e,t){u=Ds.Replace;var n=Ys(v.location,e,t);r&&r(n,e);var i=Xs(n,d=p()),a=v.createHref(n);c.replaceState(i,"",a),l&&f&&f({action:u,location:v.location,delta:0})},go:function(e){return c.go(e)}};return v}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(qs||(qs={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function Qs(e,t,r){void 0===r&&(r="/");var n=ho(("string"===typeof t?Js(t):t).pathname||"/",r);if(null==n)return null;var i=eo(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var r=e.length===t.length&&e.slice(0,-1).every((function(e,r){return e===t[r]}));return r?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(i);for(var a=null,s=0;null==a&&s<i.length;++s)a=uo(i[s],po(n));return a}function eo(e,t,r,n){void 0===t&&(t=[]),void 0===r&&(r=[]),void 0===n&&(n="");var i=function(e,i,a){var s={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};s.relativePath.startsWith("/")&&(Us(s.relativePath.startsWith(n),'Absolute route path "'+s.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),s.relativePath=s.relativePath.slice(n.length));var o=yo([n,s.relativePath]),l=r.concat(s);e.children&&e.children.length>0&&(Us(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+o+'".'),eo(e.children,t,l,o)),(null!=e.path||e.index)&&t.push({path:o,score:co(o,e.index),routesMeta:l})};return e.forEach((function(e,t){var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?")){var n,a=function(e,t){var r="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=_r(e))||t&&e&&"number"===typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}(to(e.path));try{for(a.s();!(n=a.n()).done;){var s=n.value;i(e,t,s)}}catch(o){a.e(o)}finally{a.f()}}else i(e,t)})),t}function to(e){var t=e.split("/");if(0===t.length)return[];var r=Lr(t),n=r[0],i=r.slice(1),a=n.endsWith("?"),s=n.replace(/\?$/,"");if(0===i.length)return a?[s,""]:[s];var o=to(i.join("/")),l=[];return l.push.apply(l,Fr(o.map((function(e){return""===e?s:[s,e].join("/")})))),a&&l.push.apply(l,Fr(o)),l.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var ro=/^:\w+$/,no=3,io=2,ao=1,so=10,oo=-2,lo=function(e){return"*"===e};function co(e,t){var r=e.split("/"),n=r.length;return r.some(lo)&&(n+=oo),t&&(n+=io),r.filter((function(e){return!lo(e)})).reduce((function(e,t){return e+(ro.test(t)?no:""===t?ao:so)}),n)}function uo(e,t){for(var r=e.routesMeta,n={},i="/",a=[],s=0;s<r.length;++s){var o=r[s],l=s===r.length-1,c="/"===i?t:t.slice(i.length)||"/",u=fo({path:o.relativePath,caseSensitive:o.caseSensitive,end:l},c);if(!u)return null;Object.assign(n,u.params);var f=o.route;a.push({params:n,pathname:yo([i,u.pathname]),pathnameBase:bo(yo([i,u.pathnameBase])),route:f}),"/"!==u.pathnameBase&&(i=yo([i,u.pathnameBase]))}return a}function fo(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});var r=function(e,t,r){void 0===t&&(t=!1);void 0===r&&(r=!0);$s("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');var n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(function(e,t){return n.push(t),"/([^\\/]+)"}));e.endsWith("*")?(n.push("*"),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");var a=new RegExp(i,t?void 0:"i");return[a,n]}(e.path,e.caseSensitive,e.end),n=Sr(r,2),i=n[0],a=n[1],s=t.match(i);if(!s)return null;var o=s[0],l=o.replace(/(.)\/+$/,"$1"),c=s.slice(1);return{params:a.reduce((function(e,t,r){if("*"===t){var n=c[r]||"";l=o.slice(0,o.length-n.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(r){return $s(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),e}}(c[r]||"",t),e}),{}),pathname:o,pathnameBase:l,pattern:e}}function po(e){try{return decodeURI(e)}catch(t){return $s(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function ho(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;var r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function mo(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function vo(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function go(e,t,r,n){var i;void 0===n&&(n=!1),"string"===typeof e?i=Js(e):(Us(!(i=Gs({},e)).pathname||!i.pathname.includes("?"),mo("?","pathname","search",i)),Us(!i.pathname||!i.pathname.includes("#"),mo("#","pathname","hash",i)),Us(!i.search||!i.search.includes("#"),mo("#","search","hash",i)));var a,s=""===e||""===i.pathname,o=s?"/":i.pathname;if(n||null==o)a=r;else{var l=t.length-1;if(o.startsWith("..")){for(var c=o.split("/");".."===c[0];)c.shift(),l-=1;i.pathname=c.join("/")}a=l>=0?t[l]:"/"}var u=function(e,t){void 0===t&&(t="/");var r="string"===typeof e?Js(e):e,n=r.pathname,i=r.search,a=void 0===i?"":i,s=r.hash,o=void 0===s?"":s,l=n?n.startsWith("/")?n:function(e,t){var r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(n,t):t;return{pathname:l,search:xo(a),hash:_o(o)}}(i,a),f=o&&"/"!==o&&o.endsWith("/"),d=(s||"."===o)&&r.endsWith("/");return u.pathname.endsWith("/")||!f&&!d||(u.pathname+="/"),u}var yo=function(e){return e.join("/").replace(/\/\/+/g,"/")},bo=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},xo=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},_o=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},wo=function(e){Fs(r,e);var t=zs(r);function r(){return Gt(this,r),t.apply(this,arguments)}return Wt(r)}(Hs(Error));function So(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var ko=["post","put","patch","delete"],Eo=(new Set(ko),["get"].concat(ko));new Set(Eo),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function Co(){return Co=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Co.apply(this,arguments)}var Po=t.createContext(null);var To=t.createContext(null);var Mo=t.createContext(null);var jo=t.createContext(null);var Ao=t.createContext(null);var Oo=t.createContext({outlet:null,matches:[],isDataRoute:!1});var Do=t.createContext(null);function No(){return null!=t.useContext(Ao)}function Io(){return No()||Us(!1),t.useContext(Ao).location}function Fo(e){t.useContext(jo).static||t.useLayoutEffect(e)}function Lo(){return t.useContext(Oo).isDataRoute?function(){var e=Yo($o.UseNavigateStable).router,r=Jo(Xo.UseNavigateStable),n=t.useRef(!1);return Fo((function(){n.current=!0})),t.useCallback((function(t,i){void 0===i&&(i={}),n.current&&("number"===typeof t?e.navigate(t):e.navigate(t,Co({fromRouteId:r},i)))}),[e,r])}():function(){No()||Us(!1);var e=t.useContext(Po),r=t.useContext(jo),n=r.basename,i=r.navigator,a=t.useContext(Oo).matches,s=Io().pathname,o=JSON.stringify(vo(a).map((function(e){return e.pathnameBase}))),l=t.useRef(!1);return Fo((function(){l.current=!0})),t.useCallback((function(t,r){if(void 0===r&&(r={}),l.current)if("number"!==typeof t){var a=go(t,JSON.parse(o),s,"path"===r.relative);null==e&&"/"!==n&&(a.pathname="/"===a.pathname?n:yo([n,a.pathname])),(r.replace?i.replace:i.push)(a,r.state,r)}else i.go(t)}),[n,i,o,s,e])}()}var Ro=t.createContext(null);function Bo(){var e=t.useContext(Oo).matches,r=e[e.length-1];return r?r.params:{}}function zo(e,r){var n=(void 0===r?{}:r).relative,i=t.useContext(Oo).matches,a=Io().pathname,s=JSON.stringify(vo(i).map((function(e){return e.pathnameBase})));return t.useMemo((function(){return go(e,JSON.parse(s),a,"path"===n)}),[e,s,a,n])}function Vo(e,r,n){No()||Us(!1);var i,a=t.useContext(jo).navigator,s=t.useContext(Oo).matches,o=s[s.length-1],l=o?o.params:{},c=(o&&o.pathname,o?o.pathnameBase:"/"),u=(o&&o.route,Io());if(r){var f,d="string"===typeof r?Js(r):r;"/"===c||(null==(f=d.pathname)?void 0:f.startsWith(c))||Us(!1),i=d}else i=u;var p=i.pathname||"/",h=Qs(e,{pathname:"/"===c?p:p.slice(c.length)||"/"});var m=Uo(h&&h.map((function(e){return Object.assign({},e,{params:Object.assign({},l,e.params),pathname:yo([c,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:yo([c,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})})),s,n);return r&&m?t.createElement(Ao.Provider,{value:{location:Co({pathname:"/",search:"",hash:"",state:null,key:"default"},i),navigationType:Ds.Pop}},m):m}function Ho(){var e=function(){var e,r=t.useContext(Do),n=Zo(Xo.UseRouteError),i=Jo(Xo.UseRouteError);if(r)return r;return null==(e=n.errors)?void 0:e[i]}(),r=So(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},r),n?t.createElement("pre",{style:a},n):null,null)}var Go=t.createElement(Ho,null),qo=function(e){Fs(n,e);var r=zs(n);function n(e){var t;return Gt(this,n),(t=r.call(this,e)).state={location:e.location,revalidation:e.revalidation,error:e.error},t}return Wt(n,[{key:"componentDidCatch",value:function(e,t){console.error("React Router caught the following error during render",e,t)}},{key:"render",value:function(){return this.state.error?t.createElement(Oo.Provider,{value:this.props.routeContext},t.createElement(Do.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{error:e}}},{key:"getDerivedStateFromProps",value:function(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error||t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}}]),n}(t.Component);function Wo(e){var r=e.routeContext,n=e.match,i=e.children,a=t.useContext(Po);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),t.createElement(Oo.Provider,{value:r},i)}function Uo(e,r,n){var i;if(void 0===r&&(r=[]),void 0===n&&(n=null),null==e){var a;if(null==(a=n)||!a.errors)return null;e=n.matches}var s=e,o=null==(i=n)?void 0:i.errors;if(null!=o){var l=s.findIndex((function(e){return e.route.id&&(null==o?void 0:o[e.route.id])}));l>=0||Us(!1),s=s.slice(0,Math.min(s.length,l+1))}return s.reduceRight((function(e,i,a){var l=i.route.id?null==o?void 0:o[i.route.id]:null,c=null;n&&(c=i.route.errorElement||Go);var u=r.concat(s.slice(0,a+1)),f=function(){var r;return r=l?c:i.route.Component?t.createElement(i.route.Component,null):i.route.element?i.route.element:e,t.createElement(Wo,{match:i,routeContext:{outlet:e,matches:u,isDataRoute:null!=n},children:r})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===a)?t.createElement(qo,{location:n.location,revalidation:n.revalidation,component:c,error:l,children:f(),routeContext:{outlet:null,matches:u,isDataRoute:!0}}):f()}),null)}var $o=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}($o||{}),Xo=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Xo||{});function Yo(e){var r=t.useContext(Po);return r||Us(!1),r}function Zo(e){var r=t.useContext(To);return r||Us(!1),r}function Jo(e){var r=function(e){var r=t.useContext(Oo);return r||Us(!1),r}(),n=r.matches[r.matches.length-1];return n.route.id||Us(!1),n.route.id}r.startTransition;function Ko(e){return function(e){var r=t.useContext(Oo).outlet;return r?t.createElement(Ro.Provider,{value:e},r):r}(e.context)}function Qo(e){Us(!1)}function el(e){var r=e.basename,n=void 0===r?"/":r,i=e.children,a=void 0===i?null:i,s=e.location,o=e.navigationType,l=void 0===o?Ds.Pop:o,c=e.navigator,u=e.static,f=void 0!==u&&u;No()&&Us(!1);var d=n.replace(/^\/*/,"/"),p=t.useMemo((function(){return{basename:d,navigator:c,static:f}}),[d,c,f]);"string"===typeof s&&(s=Js(s));var h=s,m=h.pathname,v=void 0===m?"/":m,g=h.search,y=void 0===g?"":g,b=h.hash,x=void 0===b?"":b,_=h.state,w=void 0===_?null:_,S=h.key,k=void 0===S?"default":S,E=t.useMemo((function(){var e=ho(v,d);return null==e?null:{location:{pathname:e,search:y,hash:x,state:w,key:k},navigationType:l}}),[d,v,y,x,w,k,l]);return null==E?null:t.createElement(jo.Provider,{value:p},t.createElement(Ao.Provider,{children:a,value:E}))}function tl(e){var t=e.children,r=e.location;return Vo(il(t),r)}var rl=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(rl||{}),nl=new Promise((function(){}));t.Component;function il(e,r){void 0===r&&(r=[]);var n=[];return t.Children.forEach(e,(function(e,i){if(t.isValidElement(e)){var a=[].concat(Fr(r),[i]);if(e.type!==t.Fragment){e.type!==Qo&&Us(!1),e.props.index&&e.props.children&&Us(!1);var s={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=il(e.props.children,a)),n.push(s)}else n.push.apply(n,il(e.props.children,a))}})),n}function al(){return al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},al.apply(this,arguments)}function sl(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);var ol=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];var ll=r.startTransition;function cl(e){var r,n=e.basename,i=e.children,a=e.future,s=e.window,o=t.useRef();null==o.current&&(o.current=(void 0===(r={window:s,v5Compat:!0})&&(r={}),Ks((function(e,t){var r=e.location;return Ys("",{pathname:r.pathname,search:r.search,hash:r.hash},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:Zs(t)}),null,r)));var l=o.current,c=Sr(t.useState({action:l.action,location:l.location}),2),u=c[0],f=c[1],d=(a||{}).v7_startTransition,p=t.useCallback((function(e){d&&ll?ll((function(){return f(e)})):f(e)}),[f,d]);return t.useLayoutEffect((function(){return l.listen(p)}),[l,p]),t.createElement(el,{basename:n,children:i,location:u.location,navigationType:u.action,navigator:l})}var ul="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,fl=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,dl=t.forwardRef((function(e,r){var n,i=e.onClick,a=e.relative,s=e.reloadDocument,o=e.replace,l=e.state,c=e.target,u=e.to,f=e.preventScrollReset,d=sl(e,ol),p=t.useContext(jo).basename,h=!1;if("string"===typeof u&&fl.test(u)&&(n=u,ul))try{var m=new URL(window.location.href),v=u.startsWith("//")?new URL(m.protocol+u):new URL(u),g=ho(v.pathname,p);v.origin===m.origin&&null!=g?u=g+v.search+v.hash:h=!0}catch(x){}var y=function(e,r){var n=(void 0===r?{}:r).relative;No()||Us(!1);var i=t.useContext(jo),a=i.basename,s=i.navigator,o=zo(e,{relative:n}),l=o.hash,c=o.pathname,u=o.search,f=c;return"/"!==a&&(f="/"===c?a:yo([a,c])),s.createHref({pathname:f,search:u,hash:l})}(u,{relative:a}),b=function(e,r){var n=void 0===r?{}:r,i=n.target,a=n.replace,s=n.state,o=n.preventScrollReset,l=n.relative,c=Lo(),u=Io(),f=zo(e,{relative:l});return t.useCallback((function(t){if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,i)){t.preventDefault();var r=void 0!==a?a:Zs(u)===Zs(f);c(e,{replace:r,state:s,preventScrollReset:o,relative:l})}}),[u,c,f,a,s,i,e,o,l])}(u,{replace:o,state:l,target:c,preventScrollReset:f,relative:a});return t.createElement("a",al({},d,{href:n||y,onClick:h||s?i:function(e){i&&i(e),e.defaultPrevented||b(e)},ref:r,target:c}))}));var pl,hl;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(pl||(pl={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(hl||(hl={}));var ml,vl={base:"/",products:"/products",aboutProduct:"/about-product",relatedProduct:"/related-product",resources:"/resources",cropNutritionPrograms:"/resources/crop-nutrition-programs",trialResults:"/resources/trial-results",informationMaterials:"/resources/information-materials",news:"/blog",article:"/article",career:"/career",detailJob:"/detail-job",uiKit:"/ui-kit",aboutUs:"/about-us",termsAndConditions:"/terms-and-conditions",legalInfo:"/legal-info",contacts:"/contacts"},gl=["title","titleId"];function yl(){return yl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},yl.apply(this,arguments)}function bl(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function xl(e,r){var n=e.title,i=e.titleId,a=bl(e,gl);return t.createElement("svg",yl({width:125,height:64,viewBox:"0 0 125 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,ml||(ml=t.createElement("path",{d:"M8 0C3.58172 0 0 3.58172 0 8V64C0 59.5817 3.58172 56 8 56H75.8831C78.4667 56 80.8912 54.7523 82.3929 52.6499L117.607 3.35009C119.109 1.24773 121.533 0 124.117 0H8Z",fill:"white"})))}var _l=t.forwardRef(xl),wl=(__webpack_require__.p,__webpack_require__(905)),Sl=__webpack_require__(184),kl=function(e){var t=e.data,r=e.index,n=t.preview_title,i=t.preview_text,a=t.preview_link_text,s=t.preview_image,o=t.preview_new_image,l=t.slug,c=t.logo,u=t.preview_description,f=t.preview_button_text,d=String(r+1).padStart(2,"0"),p=i||u,h=a||f;return(0,Sl.jsxs)(dl,{to:l,className:"product-card ".concat(r%2!==0?"product-card--reverse":""),children:[(0,Sl.jsxs)("div",{className:"product-card__image","data-index":"\u2022 "+d,children:[(0,Sl.jsx)(_l,{}),(0,Sl.jsx)(wl.Parallax,{bgImage:s||o,className:"product-card__image-bg",strength:50,bgImageStyle:{height:"calc(100% + ".concat(50,"px)"),objectFit:"cover"}}),c&&(0,Sl.jsx)("div",{className:"product-card__image-logo",children:(0,Sl.jsx)("img",{src:c,alt:"product-logo"})})]}),(0,Sl.jsxs)("div",{className:"product-card__content",children:[(0,Sl.jsx)("h3",{children:n}),(0,Sl.jsx)("p",{className:"body1",children:p}),(0,Sl.jsxs)("button",{className:"button learn-more-arrow has-children",children:[(0,Sl.jsx)("div",{}),(0,Sl.jsx)("span",{children:h})]})]})]})},El=function(e){var t=e.data,r=void 0===t?[]:t;return(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsx)("div",{className:"inner-container type-2",children:(0,Sl.jsx)("div",{className:"product-card-container",children:r.map((function(e,t){return(0,Sl.jsx)(kl,{index:t,data:e},t)}))})})})};var Cl=__webpack_require__.p+"static/media/home.f5243e8a09fbdd40b794c9e28a6386c8.svg",Pl=function(e){var t=e.to,r=e.children,n=e.className,i=void 0===n?"":n;return(0,Sl.jsx)(dl,{to:t,className:i,children:r})},Tl=function(){var e,t=Io().pathname.split("/").filter((function(e){return""!==e})),r=ks(Ha),n=r.menu_products_text,i=r.menu_resources_text,a=r.menu_contacts_text,s=r.menu_about_text,o=r.menu_news_text,l=r.menu_career_text,c=r.menu_crop_nutrition_text,u=r.menu_trial_results_text,f=r.menu_information_materials_text,d=r.footer_terms_conditions_text,p=r.footer_legal_info_text,h=(oe(e={},vl.products,n),oe(e,vl.resources,i),oe(e,"/crop-nutrition-programs",c),oe(e,"/trial-results",u),oe(e,"/information-materials",f),oe(e,vl.news,o),oe(e,vl.career,l),oe(e,vl.aboutUs,s),oe(e,vl.termsAndConditions,d),oe(e,vl.legalInfo,p),oe(e,vl.contacts,a),e),m=ks(Tn).title,v=ks(ia).title,g=ks(Xn).title,y="products"===t[0]&&!!t[1],b="resources"===t[0]&&"crop-nutrition-programs"===t[1]&&!!t[2],x="resources"===t[0]&&"trial-results"===t[1]&&!!t[2],_=function(e){return y&&t[1]===e?m:b&&t[2]===e?v:x&&t[2]===e?g:h["/".concat(e)]};return(0,Sl.jsxs)("div",{className:"breadcrumbs",children:[(0,Sl.jsx)(Pl,{to:"/",children:(0,Sl.jsx)("img",{src:Cl,alt:"home"})}),(0,Sl.jsx)("div",{className:"breadcrumbs-dot"}),t.map((function(e,r){return(0,Sl.jsxs)("span",{className:"breadcrumbs-span",children:[(0,Sl.jsx)(Pl,{to:"/".concat(t.slice(0,r+1).join("/")),className:"body3",children:_(e)}),r<t.length-1&&(0,Sl.jsx)("div",{className:"breadcrumbs-dot margin-left"})]},e)}))]})},Ml=function(e){var t=e.type,r=void 0===t?"":t,n=e.href,i=void 0===n?"":n,a=e.children,s=void 0===a?"":a,o=e.className,l=void 0===o?"":o,c=e.onClick,u=void 0===c?void 0:c;return(0,Sl.jsxs)(dl,{to:i,className:"button ".concat(r," ").concat(l," ").concat(s&&"has-children"),onClick:u,children:[(0,Sl.jsx)("div",{}),(0,Sl.jsx)("span",{children:s})]})},jl=function(e){var t=e.title,r=void 0===t?"":t,n=e.image,i=e.buttonText,a=e.buttonType,s=void 0===a?"learn-more":a,o=e.children,l=void 0===o?void 0:o,c=e.withCrumbs,u=void 0===c||c,f=e.onClickButton,d=void 0===f?void 0:f,p=e.to,h=void 0===p?void 0:p;return(0,Sl.jsxs)("section",{className:"container",children:[(0,Sl.jsxs)("div",{className:"primary-section-wrapper",children:[(0,Sl.jsxs)("div",{className:"primary-section",children:[(0,Sl.jsxs)("div",{className:"left-side",children:[u&&(0,Sl.jsx)(Tl,{}),r?(0,Sl.jsx)("h2",{className:"banner-title",children:r}):(0,Sl.jsx)("div",{className:"left-side__content banner-title",children:l})]}),(0,Sl.jsxs)("div",{className:"button-wrapper",children:[(0,Sl.jsx)(Ml,{type:s,onClick:d,href:h,children:i}),(0,Sl.jsx)("div",{className:"smooth-corner1"}),(0,Sl.jsx)("div",{className:"smooth-corner2"})]})]}),(0,Sl.jsx)("div",{className:"banner-bg",children:(0,Sl.jsx)(wl.Parallax,{bgImage:n,bgImageAlt:r,strength:100,bgImageStyle:{height:"calc(100% + ".concat(100,"px)"),objectFit:"cover"}})})]}),s.includes("find")&&(0,Sl.jsx)(Ml,{type:"find-mobile",className:"banner-bottom",onClick:d,href:h,children:i}),s.includes("banner")&&(0,Sl.jsx)(Ml,{className:"banner-bottom",onClick:d,href:h,children:i})]})},Al=function(e){var t=e.children,r=e.size,n=void 0===r?"big":r,i=e.textColor,a=void 0===i?"black":i,s=e.className,o=void 0===s?"":s;return(0,Sl.jsx)("div",{className:"gradient-text gradient-text--".concat(n," gradient-text--").concat(a," ").concat(o),children:t})},Ol=function(e){var t=e.children;return(0,Sl.jsx)("div",{className:"label-button body3",children:(0,Sl.jsxs)("span",{children:[(0,Sl.jsx)("div",{}),t]})})};function Dl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nl(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Il,Fl,Ll,Rl,Bl,zl,Vl,Hl,Gl,ql,Wl,Ul={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},$l={duration:.5,overwrite:!1,delay:0},Xl=1e8,Yl=1e-8,Zl=2*Math.PI,Jl=Zl/4,Kl=0,Ql=Math.sqrt,ec=Math.cos,tc=Math.sin,rc=function(e){return"string"===typeof e},nc=function(e){return"function"===typeof e},ic=function(e){return"number"===typeof e},ac=function(e){return"undefined"===typeof e},sc=function(e){return"object"===typeof e},oc=function(e){return!1!==e},lc=function(){return"undefined"!==typeof window},cc=function(e){return nc(e)||rc(e)},uc="function"===typeof ArrayBuffer&&ArrayBuffer.isView||function(){},fc=Array.isArray,dc=/(?:-?\.?\d|\.)+/gi,pc=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,hc=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,mc=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,vc=/[+-]=-?[.\d]+/,gc=/[^,'"\[\]\s]+/gi,yc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,bc={},xc={},_c=function(e){return(xc=Zc(e,bc))&&Jf},wc=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Sc=function(e,t){return!t&&console.warn(e)},kc=function(e,t){return e&&(bc[e]=t)&&xc&&(xc[e]=t)||bc},Ec=function(){return 0},Cc={suppressEvents:!0,isStart:!0,kill:!1},Pc={suppressEvents:!0,kill:!1},Tc={suppressEvents:!0},Mc={},jc=[],Ac={},Oc={},Dc={},Nc=30,Ic=[],Fc="",Lc=function(e){var t,r,n=e[0];if(sc(n)||nc(n)||(e=[e]),!(t=(n._gsap||{}).harness)){for(r=Ic.length;r--&&!Ic[r].targetTest(n););t=Ic[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new ff(e[r],t)))||e.splice(r,1);return e},Rc=function(e){return e._gsap||Lc(Pu(e))[0]._gsap},Bc=function(e,t,r){return(r=e[t])&&nc(r)?e[t]():ac(r)&&e.getAttribute&&e.getAttribute(t)||r},zc=function(e,t){return(e=e.split(",")).forEach(t)||e},Vc=function(e){return Math.round(1e5*e)/1e5||0},Hc=function(e){return Math.round(1e7*e)/1e7||0},Gc=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),"+"===r?e+n:"-"===r?e-n:"*"===r?e*n:e/n},qc=function(e,t){for(var r=t.length,n=0;e.indexOf(t[n])<0&&++n<r;);return n<r},Wc=function(){var e,t,r=jc.length,n=jc.slice(0);for(Ac={},jc.length=0,e=0;e<r;e++)(t=n[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},Uc=function(e,t,r,n){jc.length&&!Fl&&Wc(),e.render(t,r,n||Fl&&t<0&&(e._initted||e._startAt)),jc.length&&!Fl&&Wc()},$c=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(gc).length<2?t:rc(e)?e.trim():e},Xc=function(e){return e},Yc=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Zc=function(e,t){for(var r in t)e[r]=t[r];return e},Jc=function e(t,r){for(var n in r)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(t[n]=sc(r[n])?e(t[n]||(t[n]={}),r[n]):r[n]);return t},Kc=function(e,t){var r,n={};for(r in e)r in t||(n[r]=e[r]);return n},Qc=function(e){var t,r=e.parent||Rl,n=e.keyframes?(t=fc(e.keyframes),function(e,r){for(var n in r)n in e||"duration"===n&&t||"ease"===n||(e[n]=r[n])}):Yc;if(oc(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},eu=function(e,t,r,n,i){void 0===r&&(r="_first"),void 0===n&&(n="_last");var a,s=e[n];if(i)for(a=t[i];s&&s[i]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=s,t.parent=t._dp=e,t},tu=function(e,t,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=t._prev,a=t._next;i?i._next=a:e[r]===t&&(e[r]=a),a?a._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},ru=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},nu=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},iu=function(e,t,r,n){return e._startAt&&(Fl?e._startAt.revert(Pc):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},au=function e(t){return!t||t._ts&&e(t.parent)},su=function(e){return e._repeat?ou(e._tTime,e=e.duration()+e._rDelay)*e:0},ou=function(e,t){var r=Math.floor(e/=t);return e&&r===e?r-1:r},lu=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},cu=function(e){return e._end=Hc(e._start+(e._tDur/Math.abs(e._ts||e._rts||Yl)||0))},uu=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Hc(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),cu(e),r._dirty||nu(r,e)),e},fu=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=lu(e.rawTime(),t),(!t._dur||Su(0,t.totalDuration(),r)-t._tTime>Yl)&&t.render(r,!0)),nu(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-1e-8}},du=function(e,t,r,n){return t.parent&&ru(t),t._start=Hc((ic(r)?r:r||e!==Rl?xu(e,r,t):e._time)+t._delay),t._end=Hc(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),eu(e,t,"_first","_last",e._sort?"_start":0),vu(t)||(e._recent=t),n||fu(e,t),e._ts<0&&uu(e,e._tTime),e},pu=function(e,t){return(bc.ScrollTrigger||wc("scrollTrigger",t))&&bc.ScrollTrigger.create(t,e)},hu=function(e,t,r,n,i){return bf(e,t,i),e._initted?!r&&e._pt&&!Fl&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&Gl!==Ju.frame?(jc.push(e),e._lazy=[i,n],1):void 0:1},mu=function e(t){var r=t.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||e(r))},vu=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},gu=function(e,t,r,n){var i=e._repeat,a=Hc(t)||0,s=e._tTime/e._tDur;return s&&!n&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:Hc(a*(i+1)+e._rDelay*i):a,s>0&&!n&&uu(e,e._tTime=e._tDur*s),e.parent&&cu(e),r||nu(e.parent,e),e},yu=function(e){return e instanceof pf?nu(e):gu(e,e._dur)},bu={_start:0,endTime:Ec,totalDuration:Ec},xu=function e(t,r,n){var i,a,s,o=t.labels,l=t._recent||bu,c=t.duration()>=Xl?l.endTime(!1):t._dur;return rc(r)&&(isNaN(r)||r in o)?(a=r.charAt(0),s="%"===r.substr(-1),i=r.indexOf("="),"<"===a||">"===a?(i>=0&&(r=r.replace(/=/,"")),("<"===a?l._start:l.endTime(l._repeat>=0))+(parseFloat(r.substr(1))||0)*(s?(i<0?l:n).totalDuration()/100:1)):i<0?(r in o||(o[r]=c),o[r]):(a=parseFloat(r.charAt(i-1)+r.substr(i+1)),s&&n&&(a=a/100*(fc(n)?n[0]:n).totalDuration()),i>1?e(t,r.substr(0,i-1),n)+a:c+a)):null==r?c:+r},_u=function(e,t,r){var n,i,a=ic(t[1]),s=(a?2:1)+(e<2?0:1),o=t[s];if(a&&(o.duration=t[1]),o.parent=r,e){for(n=o,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=oc(i.vars.inherit)&&i.parent;o.immediateRender=oc(n.immediateRender),e<2?o.runBackwards=1:o.startAt=t[s-1]}return new kf(t[0],o,t[s+1])},wu=function(e,t){return e||0===e?t(e):t},Su=function(e,t,r){return r<e?e:r>t?t:r},ku=function(e,t){return rc(e)&&(t=yc.exec(e))?t[1]:""},Eu=[].slice,Cu=function(e,t){return e&&sc(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&sc(e[0]))&&!e.nodeType&&e!==Bl},Pu=function(e,t,r){return Ll&&!t&&Ll.selector?Ll.selector(e):!rc(e)||r||!zl&&Ku()?fc(e)?function(e,t,r){return void 0===r&&(r=[]),e.forEach((function(e){var n;return rc(e)&&!t||Cu(e,1)?(n=r).push.apply(n,Pu(e)):r.push(e)}))||r}(e,r):Cu(e)?Eu.call(e,0):e?[e]:[]:Eu.call((t||Vl).querySelectorAll(e),0)},Tu=function(e){return e=Pu(e)[0]||Sc("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Pu(t,r.querySelectorAll?r:r===e?Sc("Invalid scope")||Vl.createElement("div"):e)}},Mu=function(e){return e.sort((function(){return.5-Math.random()}))},ju=function(e){if(nc(e))return e;var t=sc(e)?e:{each:e},r=sf(t.ease),n=t.from||0,i=parseFloat(t.base)||0,a={},s=n>0&&n<1,o=isNaN(n)||s,l=t.axis,c=n,u=n;return rc(n)?c=u={center:.5,edges:.5,end:1}[n]||0:!s&&o&&(c=n[0],u=n[1]),function(e,s,f){var d,p,h,m,v,g,y,b,x,_=(f||t).length,w=a[_];if(!w){if(!(x="auto"===t.grid?0:(t.grid||[1,Xl])[1])){for(y=-Xl;y<(y=f[x++].getBoundingClientRect().left)&&x<_;);x<_&&x--}for(w=a[_]=[],d=o?Math.min(x,_)*c-.5:n%x,p=x===Xl?0:o?_*u/x-.5:n/x|0,y=0,b=Xl,g=0;g<_;g++)h=g%x-d,m=p-(g/x|0),w[g]=v=l?Math.abs("y"===l?m:h):Ql(h*h+m*m),v>y&&(y=v),v<b&&(b=v);"random"===n&&Mu(w),w.max=y-b,w.min=b,w.v=_=(parseFloat(t.amount)||parseFloat(t.each)*(x>_?_-1:l?"y"===l?_/x:x:Math.max(x,_/x))||0)*("edges"===n?-1:1),w.b=_<0?i-_:i,w.u=ku(t.amount||t.each)||0,r=r&&_<0?nf(r):r}return _=(w[e]-w.min)/w.max||0,Hc(w.b+(r?r(_):_)*w.v)+w.u}},Au=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=Hc(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(ic(r)?0:ku(r))}},Ou=function(e,t){var r,n,i=fc(e);return!i&&sc(e)&&(r=i=e.radius||Xl,e.values?(e=Pu(e.values),(n=!ic(e[0]))&&(r*=r)):e=Au(e.increment)),wu(t,i?nc(e)?function(t){return n=e(t),Math.abs(n-t)<=r?n:t}:function(t){for(var i,a,s=parseFloat(n?t.x:t),o=parseFloat(n?t.y:0),l=Xl,c=0,u=e.length;u--;)(i=n?(i=e[u].x-s)*i+(a=e[u].y-o)*a:Math.abs(e[u]-s))<l&&(l=i,c=u);return c=!r||l<=r?e[c]:t,n||c===t||ic(t)?c:c+ku(t)}:Au(e))},Du=function(e,t,r,n){return wu(fc(e)?!t:!0===r?!!(r=0):!n,(function(){return fc(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(n=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+.99*r))/r)*r*n)/n}))},Nu=function(e,t,r){return wu(r,(function(r){return e[~~t(r)]}))},Iu=function(e){for(var t,r,n,i,a=0,s="";~(t=e.indexOf("random(",a));)n=e.indexOf(")",t),i="["===e.charAt(t+7),r=e.substr(t+7,n-t-7).match(i?gc:dc),s+=e.substr(a,t-a)+Du(i?r:+r[0],i?0:+r[1],+r[2]||1e-5),a=n+1;return s+e.substr(a,e.length-a)},Fu=function(e,t,r,n,i){var a=t-e,s=n-r;return wu(i,(function(t){return r+((t-e)/a*s||0)}))},Lu=function(e,t,r){var n,i,a,s=e.labels,o=Xl;for(n in s)(i=s[n]-t)<0===!!r&&i&&o>(i=Math.abs(i))&&(a=n,o=i);return a},Ru=function(e,t,r){var n,i,a,s=e.vars,o=s[t],l=Ll,c=e._ctx;if(o)return n=s[t+"Params"],i=s.callbackScope||e,r&&jc.length&&Wc(),c&&(Ll=c),a=n?o.apply(i,n):o.call(i),Ll=l,a},Bu=function(e){return ru(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Fl),e.progress()<1&&Ru(e,"onInterrupt"),e},zu=[],Vu=function(e){if(e)if(e=!e.name&&e.default||e,lc()||e.headless){var t=e.name,r=nc(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:Ec,render:Df,add:gf,kill:If,modifier:Nf,rawVars:0},a={targetTest:0,get:0,getSetter:Mf,aliases:{},register:0};if(Ku(),e!==n){if(Oc[t])return;Yc(n,Yc(Kc(e,i),a)),Zc(n.prototype,Zc(i,Kc(e,a))),Oc[n.prop=t]=n,e.targetTest&&(Ic.push(n),Mc[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}kc(t,n),e.register&&e.register(Jf,n,Rf)}else zu.push(e)},Hu=255,Gu={aqua:[0,Hu,Hu],lime:[0,Hu,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Hu],navy:[0,0,128],white:[Hu,Hu,Hu],olive:[128,128,0],yellow:[Hu,Hu,0],orange:[Hu,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Hu,0,0],pink:[Hu,192,203],cyan:[0,Hu,Hu],transparent:[Hu,Hu,Hu,0]},qu=function(e,t,r){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(r-t)*e*6:e<.5?r:3*e<2?t+(r-t)*(2/3-e)*6:t)*Hu+.5|0},Wu=function(e,t,r){var n,i,a,s,o,l,c,u,f,d,p=e?ic(e)?[e>>16,e>>8&Hu,e&Hu]:0:Gu.black;if(!p){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),Gu[e])p=Gu[e];else if("#"===e.charAt(0)){if(e.length<6&&(n=e.charAt(1),i=e.charAt(2),a=e.charAt(3),e="#"+n+n+i+i+a+a+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&Hu,p&Hu,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&Hu,e&Hu]}else if("hsl"===e.substr(0,3))if(p=d=e.match(dc),t){if(~e.indexOf("="))return p=e.match(pc),r&&p.length<4&&(p[3]=1),p}else s=+p[0]%360/360,o=+p[1]/100,n=2*(l=+p[2]/100)-(i=l<=.5?l*(o+1):l+o-l*o),p.length>3&&(p[3]*=1),p[0]=qu(s+1/3,n,i),p[1]=qu(s,n,i),p[2]=qu(s-1/3,n,i);else p=e.match(dc)||Gu.transparent;p=p.map(Number)}return t&&!d&&(n=p[0]/Hu,i=p[1]/Hu,a=p[2]/Hu,l=((c=Math.max(n,i,a))+(u=Math.min(n,i,a)))/2,c===u?s=o=0:(f=c-u,o=l>.5?f/(2-c-u):f/(c+u),s=c===n?(i-a)/f+(i<a?6:0):c===i?(a-n)/f+2:(n-i)/f+4,s*=60),p[0]=~~(s+.5),p[1]=~~(100*o+.5),p[2]=~~(100*l+.5)),r&&p.length<4&&(p[3]=1),p},Uu=function(e){var t=[],r=[],n=-1;return e.split(Xu).forEach((function(e){var i=e.match(hc)||[];t.push.apply(t,i),r.push(n+=i.length+1)})),t.c=r,t},$u=function(e,t,r){var n,i,a,s,o="",l=(e+o).match(Xu),c=t?"hsla(":"rgba(",u=0;if(!l)return e;if(l=l.map((function(e){return(e=Wu(e,t,1))&&c+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"})),r&&(a=Uu(e),(n=r.c).join(o)!==a.c.join(o)))for(s=(i=e.replace(Xu,"1").split(hc)).length-1;u<s;u++)o+=i[u]+(~n.indexOf(u)?l.shift()||c+"0,0,0,0)":(a.length?a:l.length?l:r).shift());if(!i)for(s=(i=e.split(Xu)).length-1;u<s;u++)o+=i[u]+l[u];return o+i[s]},Xu=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in Gu)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Yu=/hsl[a]?\(/,Zu=function(e){var t,r=e.join(" ");if(Xu.lastIndex=0,Xu.test(r))return t=Yu.test(r),e[1]=$u(e[1],t),e[0]=$u(e[0],t,Uu(e[1])),!0},Ju=function(){var e,t,r,n,i,a,s=Date.now,o=500,l=33,c=s(),u=c,f=1e3/240,d=f,p=[],h=function r(h){var m,v,g,y,b=s()-u,x=!0===h;if((b>o||b<0)&&(c+=b-l),((m=(g=(u+=b)-c)-d)>0||x)&&(y=++n.frame,i=g-1e3*n.time,n.time=g/=1e3,d+=m+(m>=f?4:f-m),v=1),x||(e=t(r)),v)for(a=0;a<p.length;a++)p[a](g,i,y,h)};return n={time:0,frame:0,tick:function(){h(!0)},deltaRatio:function(e){return i/(1e3/(e||60))},wake:function(){Hl&&(!zl&&lc()&&(Bl=zl=window,Vl=Bl.document||{},bc.gsap=Jf,(Bl.gsapVersions||(Bl.gsapVersions=[])).push(Jf.version),_c(xc||Bl.GreenSockGlobals||!Bl.gsap&&Bl||{}),zu.forEach(Vu)),r="undefined"!==typeof requestAnimationFrame&&requestAnimationFrame,e&&n.sleep(),t=r||function(e){return setTimeout(e,d-1e3*n.time+1|0)},Wl=1,h(2))},sleep:function(){(r?cancelAnimationFrame:clearTimeout)(e),Wl=0,t=Ec},lagSmoothing:function(e,t){o=e||1/0,l=Math.min(t||33,o)},fps:function(e){f=1e3/(e||240),d=1e3*n.time+f},add:function(e,t,r){var i=t?function(t,r,a,s){e(t,r,a,s),n.remove(i)}:e;return n.remove(e),p[r?"unshift":"push"](i),Ku(),i},remove:function(e,t){~(t=p.indexOf(e))&&p.splice(t,1)&&a>=t&&a--},_listeners:p},n}(),Ku=function(){return!Wl&&Ju.wake()},Qu={},ef=/^[\d.\-M][\d.\-,\s]/,tf=/["']/g,rf=function(e){for(var t,r,n,i={},a=e.substr(1,e.length-3).split(":"),s=a[0],o=1,l=a.length;o<l;o++)r=a[o],t=o!==l-1?r.lastIndexOf(","):r.length,n=r.substr(0,t),i[s]=isNaN(n)?n.replace(tf,"").trim():+n,s=r.substr(t+1).trim();return i},nf=function(e){return function(t){return 1-e(1-t)}},af=function e(t,r){for(var n,i=t._first;i;)i instanceof pf?e(i,r):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===r||(i.timeline?e(i.timeline,r):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=r)),i=i._next},sf=function(e,t){return e&&(nc(e)?e:Qu[e]||function(e){var t=(e+"").split("("),r=Qu[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[rf(t[1])]:function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)}(e).split(",").map($c)):Qu._CE&&ef.test(e)?Qu._CE("",e):r}(e))||t},of=function(e,t,r,n){void 0===r&&(r=function(e){return 1-t(1-e)}),void 0===n&&(n=function(e){return e<.5?t(2*e)/2:1-t(2*(1-e))/2});var i,a={easeIn:t,easeOut:r,easeInOut:n};return zc(e,(function(e){for(var t in Qu[e]=bc[e]=a,Qu[i=e.toLowerCase()]=r,a)Qu[i+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=Qu[e+"."+t]=a[t]})),a},lf=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}},cf=function e(t,r,n){var i=r>=1?r:1,a=(n||(t?.3:.45))/(r<1?r:1),s=a/Zl*(Math.asin(1/i)||0),o=function(e){return 1===e?1:i*Math.pow(2,-10*e)*tc((e-s)*a)+1},l="out"===t?o:"in"===t?function(e){return 1-o(1-e)}:lf(o);return a=Zl/a,l.config=function(r,n){return e(t,r,n)},l},uf=function e(t,r){void 0===r&&(r=1.70158);var n=function(e){return e?--e*e*((r+1)*e+r)+1:0},i="out"===t?n:"in"===t?function(e){return 1-n(1-e)}:lf(n);return i.config=function(r){return e(t,r)},i};zc("Linear,Quad,Cubic,Quart,Quint,Strong",(function(e,t){var r=t<5?t+1:t;of(e+",Power"+(r-1),t?function(e){return Math.pow(e,r)}:function(e){return e},(function(e){return 1-Math.pow(1-e,r)}),(function(e){return e<.5?Math.pow(2*e,r)/2:1-Math.pow(2*(1-e),r)/2}))})),Qu.Linear.easeNone=Qu.none=Qu.Linear.easeIn,of("Elastic",cf("in"),cf("out"),cf()),function(e,t){var r=1/t,n=function(n){return n<r?e*n*n:n<.7272727272727273?e*Math.pow(n-1.5/t,2)+.75:n<.9090909090909092?e*(n-=2.25/t)*n+.9375:e*Math.pow(n-2.625/t,2)+.984375};of("Bounce",(function(e){return 1-n(1-e)}),n)}(7.5625,2.75),of("Expo",(function(e){return e?Math.pow(2,10*(e-1)):0})),of("Circ",(function(e){return-(Ql(1-e*e)-1)})),of("Sine",(function(e){return 1===e?1:1-ec(e*Jl)})),of("Back",uf("in"),uf("out"),uf()),Qu.SteppedEase=Qu.steps=bc.SteppedEase={config:function(e,t){void 0===e&&(e=1);var r=1/e,n=e+(t?0:1),i=t?1:0;return function(e){return((n*Su(0,.99999999,e)|0)+i)*r}}},$l.ease=Qu["quad.out"],zc("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(e){return Fc+=e+","+e+"Params,"}));var ff=function(e,t){this.id=Kl++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:Bc,this.set=t?t.getSetter:Mf},df=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,gu(this,+e.duration,1,1),this.data=e.data,Ll&&(this._ctx=Ll,Ll.data.push(this)),Wl||Ju.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,gu(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(Ku(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(uu(this,e),!r._dp||r.parent||fu(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&du(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===Yl||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),Uc(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+su(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?e:1-e)+su(this),t):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(e,t){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*r,t):this._repeat?ou(this._tTime,r)+1:1},t.timeScale=function(e,t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var r=this.parent&&this._ts?lu(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(Su(-Math.abs(this._delay),this._tDur,r),!1!==t),cu(this),function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e}(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ku(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==Yl&&(this._tTime-=Yl)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&du(t,this,e-this._delay),this}return this._start},t.endTime=function(e){return this._start+(oc(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?lu(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=Tc);var t=Fl;return Fl=e,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),Fl=t,this},t.globalTime=function(e){for(var t=this,r=arguments.length?e:t.rawTime();t;)r=t._start+r/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):r},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,yu(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,yu(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(xu(this,e),oc(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,oc(t))},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,r=this._start;return!(t&&!(this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=r&&e<this.endTime(!0)-Yl))},t.eventCallback=function(e,t,r){var n=this.vars;return arguments.length>1?(t?(n[e]=t,r&&(n[e+"Params"]=r),"onUpdate"===e&&(this._onUpdate=t)):delete n[e],this):n[e]},t.then=function(e){var t=this;return new Promise((function(r){var n=nc(e)?e:Xc,i=function(){var e=t.then;t.then=null,nc(n)&&(n=n(t))&&(n.then||n===t)&&(t.then=e),r(n),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?i():t._prom=i}))},t.kill=function(){Bu(this)},e}();Yc(df.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var pf=function(e){function t(t,r){var n;return void 0===t&&(t={}),(n=e.call(this,t)||this).labels={},n.smoothChildTiming=!!t.smoothChildTiming,n.autoRemoveChildren=!!t.autoRemoveChildren,n._sort=oc(t.sortChildren),Rl&&du(t.parent||Rl,Dl(n),r),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&pu(Dl(n),t.scrollTrigger),n}Nl(t,e);var r=t.prototype;return r.to=function(e,t,r){return _u(0,arguments,this),this},r.from=function(e,t,r){return _u(1,arguments,this),this},r.fromTo=function(e,t,r,n){return _u(2,arguments,this),this},r.set=function(e,t,r){return t.duration=0,t.parent=this,Qc(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new kf(e,t,xu(this,r),1),this},r.call=function(e,t,r){return du(this,kf.delayedCall(0,e,t),r)},r.staggerTo=function(e,t,r,n,i,a,s){return r.duration=t,r.stagger=r.stagger||n,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new kf(e,r,xu(this,i)),this},r.staggerFrom=function(e,t,r,n,i,a,s){return r.runBackwards=1,Qc(r).immediateRender=oc(r.immediateRender),this.staggerTo(e,t,r,n,i,a,s)},r.staggerFromTo=function(e,t,r,n,i,a,s,o){return n.startAt=r,Qc(n).immediateRender=oc(n.immediateRender),this.staggerTo(e,t,n,i,a,s,o)},r.render=function(e,t,r){var n,i,a,s,o,l,c,u,f,d,p,h,m=this._time,v=this._dirty?this.totalDuration():this._tDur,g=this._dur,y=e<=0?0:Hc(e),b=this._zTime<0!==e<0&&(this._initted||!g);if(this!==Rl&&y>v&&e>=0&&(y=v),y!==this._tTime||r||b){if(m!==this._time&&g&&(y+=this._time-m,e+=this._time-m),n=y,f=this._start,l=!(u=this._ts),b&&(g||(m=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(p=this._yoyo,o=g+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*o+e,t,r);if(n=Hc(y%o),y===v?(s=this._repeat,n=g):((s=~~(y/o))&&s===y/o&&(n=g,s--),n>g&&(n=g)),d=ou(this._tTime,o),!m&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),p&&1&s&&(n=g-n,h=1),s!==d&&!this._lock){var x=p&&1&d,_=x===(p&&1&s);if(s<d&&(x=!x),m=x?0:y%g?g:y,this._lock=1,this.render(m||(h?0:Hc(s*o)),t,!g)._lock=0,this._tTime=y,!t&&this.parent&&Ru(this,"onRepeat"),this.vars.repeatRefresh&&!h&&(this.invalidate()._lock=1),m&&m!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,v=this._tDur,_&&(this._lock=2,m=x?g:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!h&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;af(this,h)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(c=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if("isPause"===n.data&&n._start<t)return n;n=n._prev}}(this,Hc(m),Hc(n)),c&&(y-=n-(n=c._start))),this._tTime=y,this._time=n,this._act=!u,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,m=0),!m&&n&&!t&&!s&&(Ru(this,"onStart"),this._tTime!==y))return this;if(n>=m&&e>=0)for(i=this._first;i;){if(a=i._next,(i._act||n>=i._start)&&i._ts&&c!==i){if(i.parent!==this)return this.render(e,t,r);if(i.render(i._ts>0?(n-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(n-i._start)*i._ts,t,r),n!==this._time||!this._ts&&!l){c=0,a&&(y+=this._zTime=-1e-8);break}}i=a}else{i=this._last;for(var w=e<0?e:n;i;){if(a=i._prev,(i._act||w<=i._end)&&i._ts&&c!==i){if(i.parent!==this)return this.render(e,t,r);if(i.render(i._ts>0?(w-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(w-i._start)*i._ts,t,r||Fl&&(i._initted||i._startAt)),n!==this._time||!this._ts&&!l){c=0,a&&(y+=this._zTime=w?-1e-8:Yl);break}}i=a}}if(c&&!t&&(this.pause(),c.render(n>=m?0:-1e-8)._zTime=n>=m?1:-1,this._ts))return this._start=f,cu(this),this.render(e,t,r);this._onUpdate&&!t&&Ru(this,"onUpdate",!0),(y===v&&this._tTime>=this.totalDuration()||!y&&m)&&(f!==this._start&&Math.abs(u)===Math.abs(this._ts)||this._lock||((e||!g)&&(y===v&&this._ts>0||!y&&this._ts<0)&&ru(this,1),t||e<0&&!m||!y&&!m&&v||(Ru(this,y===v&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<v&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(e,t){var r=this;if(ic(t)||(t=xu(this,t,e)),!(e instanceof df)){if(fc(e))return e.forEach((function(e){return r.add(e,t)})),this;if(rc(e))return this.addLabel(e,t);if(!nc(e))return this;e=kf.delayedCall(0,e)}return this!==e?du(this,e,t):this},r.getChildren=function(e,t,r,n){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===n&&(n=-Xl);for(var i=[],a=this._first;a;)a._start>=n&&(a instanceof kf?t&&i.push(a):(r&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,r)))),a=a._next;return i},r.getById=function(e){for(var t=this.getChildren(1,1,1),r=t.length;r--;)if(t[r].vars.id===e)return t[r]},r.remove=function(e){return rc(e)?this.removeLabel(e):nc(e)?this.killTweensOf(e):(tu(this,e),e===this._recent&&(this._recent=this._last),nu(this))},r.totalTime=function(t,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Hc(Ju.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,r),this._forcing=0,this):this._tTime},r.addLabel=function(e,t){return this.labels[e]=xu(this,t),this},r.removeLabel=function(e){return delete this.labels[e],this},r.addPause=function(e,t,r){var n=kf.delayedCall(0,t||Ec,r);return n.data="isPause",this._hasPause=1,du(this,n,xu(this,e))},r.removePause=function(e){var t=this._first;for(e=xu(this,e);t;)t._start===e&&"isPause"===t.data&&ru(t),t=t._next},r.killTweensOf=function(e,t,r){for(var n=this.getTweensOf(e,r),i=n.length;i--;)hf!==n[i]&&n[i].kill(e,t);return this},r.getTweensOf=function(e,t){for(var r,n=[],i=Pu(e),a=this._first,s=ic(t);a;)a instanceof kf?qc(a._targets,i)&&(s?(!hf||a._initted&&a._ts)&&a.globalTime(0)<=t&&a.globalTime(a.totalDuration())>t:!t||a.isActive())&&n.push(a):(r=a.getTweensOf(i,t)).length&&n.push.apply(n,r),a=a._next;return n},r.tweenTo=function(e,t){t=t||{};var r,n=this,i=xu(n,e),a=t,s=a.startAt,o=a.onStart,l=a.onStartParams,c=a.immediateRender,u=kf.to(n,Yc({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:t.duration||Math.abs((i-(s&&"time"in s?s.time:n._time))/n.timeScale())||Yl,onStart:function(){if(n.pause(),!r){var e=t.duration||Math.abs((i-(s&&"time"in s?s.time:n._time))/n.timeScale());u._dur!==e&&gu(u,e,0,1).render(u._time,!0,!0),r=1}o&&o.apply(u,l||[])}},t));return c?u.render(0):u},r.tweenFromTo=function(e,t,r){return this.tweenTo(t,Yc({startAt:{time:xu(this,e)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(e){return void 0===e&&(e=this._time),Lu(this,xu(this,e))},r.previousLabel=function(e){return void 0===e&&(e=this._time),Lu(this,xu(this,e),1)},r.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+Yl)},r.shiftChildren=function(e,t,r){void 0===r&&(r=0);for(var n,i=this._first,a=this.labels;i;)i._start>=r&&(i._start+=e,i._end+=e),i=i._next;if(t)for(n in a)a[n]>=r&&(a[n]+=e);return nu(this)},r.invalidate=function(t){var r=this._first;for(this._lock=0;r;)r.invalidate(t),r=r._next;return e.prototype.invalidate.call(this,t)},r.clear=function(e){void 0===e&&(e=!0);for(var t,r=this._first;r;)t=r._next,this.remove(r),r=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),nu(this)},r.totalDuration=function(e){var t,r,n,i=0,a=this,s=a._last,o=Xl;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-e:e));if(a._dirty){for(n=a.parent;s;)t=s._prev,s._dirty&&s.totalDuration(),(r=s._start)>o&&a._sort&&s._ts&&!a._lock?(a._lock=1,du(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(i-=r,(!n&&!a._dp||n&&n.smoothChildTiming)&&(a._start+=r/a._ts,a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>i&&s._ts&&(i=s._end),s=t;gu(a,a===Rl&&a._time>i?a._time:i,1,1),a._dirty=0}return a._tDur},t.updateRoot=function(e){if(Rl._ts&&(Uc(Rl,lu(e,Rl)),Gl=Ju.frame),Ju.frame>=Nc){Nc+=Ul.autoSleep||120;var t=Rl._first;if((!t||!t._ts)&&Ul.autoSleep&&Ju._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Ju.sleep()}}},t}(df);Yc(pf.prototype,{_lock:0,_hasPause:0,_forcing:0});var hf,mf,vf=function(e,t,r,n,i,a,s){var o,l,c,u,f,d,p,h,m=new Rf(this._pt,e,t,0,1,Of,null,i),v=0,g=0;for(m.b=r,m.e=n,r+="",(p=~(n+="").indexOf("random("))&&(n=Iu(n)),a&&(a(h=[r,n],e,t),r=h[0],n=h[1]),l=r.match(mc)||[];o=mc.exec(n);)u=o[0],f=n.substring(v,o.index),c?c=(c+1)%5:"rgba("===f.substr(-5)&&(c=1),u!==l[g++]&&(d=parseFloat(l[g-1])||0,m._pt={_next:m._pt,p:f||1===g?f:",",s:d,c:"="===u.charAt(1)?Gc(d,u)-d:parseFloat(u)-d,m:c&&c<4?Math.round:0},v=mc.lastIndex);return m.c=v<n.length?n.substring(v,n.length):"",m.fp=s,(vc.test(n)||p)&&(m.e=0),this._pt=m,m},gf=function(e,t,r,n,i,a,s,o,l,c){nc(n)&&(n=n(i||0,e,a));var u,f=e[t],d="get"!==r?r:nc(f)?l?e[t.indexOf("set")||!nc(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():f,p=nc(f)?l?Pf:Cf:Ef;if(rc(n)&&(~n.indexOf("random(")&&(n=Iu(n)),"="===n.charAt(1)&&((u=Gc(d,n)+(ku(d)||0))||0===u)&&(n=u)),!c||d!==n||mf)return isNaN(d*n)||""===n?(!f&&!(t in e)&&wc(t,n),vf.call(this,e,t,d,n,p,o||Ul.stringFilter,l)):(u=new Rf(this._pt,e,t,+d||0,n-(d||0),"boolean"===typeof f?Af:jf,0,p),l&&(u.fp=l),s&&u.modifier(s,this,e),this._pt=u)},yf=function(e,t,r,n,i,a){var s,o,l,c;if(Oc[e]&&!1!==(s=new Oc[e]).init(i,s.rawVars?t[e]:function(e,t,r,n,i){if(nc(e)&&(e=_f(e,i,t,r,n)),!sc(e)||e.style&&e.nodeType||fc(e)||uc(e))return rc(e)?_f(e,i,t,r,n):e;var a,s={};for(a in e)s[a]=_f(e[a],i,t,r,n);return s}(t[e],n,i,a,r),r,n,a)&&(r._pt=o=new Rf(r._pt,i,e,0,1,s.render,s,0,s.priority),r!==ql))for(l=r._ptLookup[r._targets.indexOf(i)],c=s._props.length;c--;)l[s._props[c]]=o;return s},bf=function e(t,r,n){var i,a,s,o,l,c,u,f,d,p,h,m,v,g=t.vars,y=g.ease,b=g.startAt,x=g.immediateRender,_=g.lazy,w=g.onUpdate,S=g.runBackwards,k=g.yoyoEase,E=g.keyframes,C=g.autoRevert,P=t._dur,T=t._startAt,M=t._targets,j=t.parent,A=j&&"nested"===j.data?j.vars.targets:M,O="auto"===t._overwrite&&!Il,D=t.timeline;if(D&&(!E||!y)&&(y="none"),t._ease=sf(y,$l.ease),t._yEase=k?nf(sf(!0===k?y:k,$l.ease)):0,k&&t._yoyo&&!t._repeat&&(k=t._yEase,t._yEase=t._ease,t._ease=k),t._from=!D&&!!g.runBackwards,!D||E&&!g.stagger){if(m=(f=M[0]?Rc(M[0]).harness:0)&&g[f.prop],i=Kc(g,Mc),T&&(T._zTime<0&&T.progress(1),r<0&&S&&x&&!C?T.render(-1,!0):T.revert(S&&P?Pc:Cc),T._lazy=0),b){if(ru(t._startAt=kf.set(M,Yc({data:"isStart",overwrite:!1,parent:j,immediateRender:!0,lazy:!T&&oc(_),startAt:null,delay:0,onUpdate:w&&function(){return Ru(t,"onUpdate")},stagger:0},b))),t._startAt._dp=0,t._startAt._sat=t,r<0&&(Fl||!x&&!C)&&t._startAt.revert(Pc),x&&P&&r<=0&&n<=0)return void(r&&(t._zTime=r))}else if(S&&P&&!T)if(r&&(x=!1),s=Yc({overwrite:!1,data:"isFromStart",lazy:x&&!T&&oc(_),immediateRender:x,stagger:0,parent:j},i),m&&(s[f.prop]=m),ru(t._startAt=kf.set(M,s)),t._startAt._dp=0,t._startAt._sat=t,r<0&&(Fl?t._startAt.revert(Pc):t._startAt.render(-1,!0)),t._zTime=r,x){if(!r)return}else e(t._startAt,Yl,Yl);for(t._pt=t._ptCache=0,_=P&&oc(_)||_&&!P,a=0;a<M.length;a++){if(u=(l=M[a])._gsap||Lc(M)[a]._gsap,t._ptLookup[a]=p={},Ac[u.id]&&jc.length&&Wc(),h=A===M?a:A.indexOf(l),f&&!1!==(d=new f).init(l,m||i,t,h,A)&&(t._pt=o=new Rf(t._pt,l,d.name,0,1,d.render,d,0,d.priority),d._props.forEach((function(e){p[e]=o})),d.priority&&(c=1)),!f||m)for(s in i)Oc[s]&&(d=yf(s,i,t,h,l,A))?d.priority&&(c=1):p[s]=o=gf.call(t,l,s,"get",i[s],h,A,0,g.stringFilter);t._op&&t._op[a]&&t.kill(l,t._op[a]),O&&t._pt&&(hf=t,Rl.killTweensOf(l,p,t.globalTime(r)),v=!t.parent,hf=0),t._pt&&_&&(Ac[u.id]=1)}c&&Lf(t),t._onInit&&t._onInit(t)}t._onUpdate=w,t._initted=(!t._op||t._pt)&&!v,E&&r<=0&&D.render(Xl,!0,!0)},xf=function(e,t,r,n){var i,a,s=t.ease||n||"power1.inOut";if(fc(t))a=r[e]||(r[e]=[]),t.forEach((function(e,r){return a.push({t:r/(t.length-1)*100,v:e,e:s})}));else for(i in t)a=r[i]||(r[i]=[]),"ease"===i||a.push({t:parseFloat(e),v:t[i],e:s})},_f=function(e,t,r,n,i){return nc(e)?e.call(t,r,n,i):rc(e)&&~e.indexOf("random(")?Iu(e):e},wf=Fc+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Sf={};zc(wf+",id,stagger,delay,duration,paused,scrollTrigger",(function(e){return Sf[e]=1}));var kf=function(e){function t(t,r,n,i){var a;"number"===typeof r&&(n.duration=r,r=n,n=null);var s,o,l,c,u,f,d,p,h=(a=e.call(this,i?r:Qc(r))||this).vars,m=h.duration,v=h.delay,g=h.immediateRender,y=h.stagger,b=h.overwrite,x=h.keyframes,_=h.defaults,w=h.scrollTrigger,S=h.yoyoEase,k=r.parent||Rl,E=(fc(t)||uc(t)?ic(t[0]):"length"in r)?[t]:Pu(t);if(a._targets=E.length?Lc(E):Sc("GSAP target "+t+" not found. https://gsap.com",!Ul.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=b,x||y||cc(m)||cc(v)){if(r=a.vars,(s=a.timeline=new pf({data:"nested",defaults:_||{},targets:k&&"nested"===k.data?k.vars.targets:E})).kill(),s.parent=s._dp=Dl(a),s._start=0,y||cc(m)||cc(v)){if(c=E.length,d=y&&ju(y),sc(y))for(u in y)~wf.indexOf(u)&&(p||(p={}),p[u]=y[u]);for(o=0;o<c;o++)(l=Kc(r,Sf)).stagger=0,S&&(l.yoyoEase=S),p&&Zc(l,p),f=E[o],l.duration=+_f(m,Dl(a),o,f,E),l.delay=(+_f(v,Dl(a),o,f,E)||0)-a._delay,!y&&1===c&&l.delay&&(a._delay=v=l.delay,a._start+=v,l.delay=0),s.to(f,l,d?d(o,f,E):0),s._ease=Qu.none;s.duration()?m=v=0:a.timeline=0}else if(x){Qc(Yc(s.vars.defaults,{ease:"none"})),s._ease=sf(x.ease||r.ease||"none");var C,P,T,M=0;if(fc(x))x.forEach((function(e){return s.to(E,e,">")})),s.duration();else{for(u in l={},x)"ease"===u||"easeEach"===u||xf(u,x[u],l,x.easeEach);for(u in l)for(C=l[u].sort((function(e,t){return e.t-t.t})),M=0,o=0;o<C.length;o++)(T={ease:(P=C[o]).e,duration:(P.t-(o?C[o-1].t:0))/100*m})[u]=P.v,s.to(E,T,M),M+=T.duration;s.duration()<m&&s.to({},{duration:m-s.duration()})}}m||a.duration(m=s.duration())}else a.timeline=0;return!0!==b||Il||(hf=Dl(a),Rl.killTweensOf(E),hf=0),du(k,Dl(a),n),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!m&&!x&&a._start===Hc(k._time)&&oc(g)&&au(Dl(a))&&"nested"!==k.data)&&(a._tTime=-1e-8,a.render(Math.max(0,-v)||0)),w&&pu(Dl(a),w),a}Nl(t,e);var r=t.prototype;return r.render=function(e,t,r){var n,i,a,s,o,l,c,u,f,d=this._time,p=this._tDur,h=this._dur,m=e<0,v=e>p-Yl&&!m?p:e<Yl?0:e;if(h){if(v!==this._tTime||!e||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m){if(n=v,u=this.timeline,this._repeat){if(s=h+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*s+e,t,r);if(n=Hc(v%s),v===p?(a=this._repeat,n=h):((a=~~(v/s))&&a===Hc(v/s)&&(n=h,a--),n>h&&(n=h)),(l=this._yoyo&&1&a)&&(f=this._yEase,n=h-n),o=ou(this._tTime,s),n===d&&!r&&this._initted&&a===o)return this._tTime=v,this;a!==o&&(u&&this._yEase&&af(u,l),this.vars.repeatRefresh&&!l&&!this._lock&&this._time!==s&&this._initted&&(this._lock=r=1,this.render(Hc(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(hu(this,m?e:n,r,t,v))return this._tTime=0,this;if(d!==this._time&&(!r||!this.vars.repeatRefresh||a===o))return this;if(h!==this._dur)return this.render(e,t,r)}if(this._tTime=v,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(f||this._ease)(n/h),this._from&&(this.ratio=c=1-c),n&&!d&&!t&&!a&&(Ru(this,"onStart"),this._tTime!==v))return this;for(i=this._pt;i;)i.r(c,i.d),i=i._next;u&&u.render(e<0?e:u._dur*u._ease(n/this._dur),t,r)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(m&&iu(this,e,0,r),Ru(this,"onUpdate")),this._repeat&&a!==o&&this.vars.onRepeat&&!t&&this.parent&&Ru(this,"onRepeat"),v!==this._tDur&&v||this._tTime!==v||(m&&!this._onUpdate&&iu(this,e,0,!0),(e||!h)&&(v===this._tDur&&this._ts>0||!v&&this._ts<0)&&ru(this,1),t||m&&!d||!(v||d||l)||(Ru(this,v===p?"onComplete":"onReverseComplete",!0),this._prom&&!(v<p&&this.timeScale()>0)&&this._prom()))}}else!function(e,t,r,n){var i,a,s,o=e.ratio,l=t<0||!t&&(!e._start&&mu(e)&&(e._initted||!vu(e))||(e._ts<0||e._dp._ts<0)&&!vu(e))?0:1,c=e._rDelay,u=0;if(c&&e._repeat&&(u=Su(0,e._tDur,t),a=ou(u,c),e._yoyo&&1&a&&(l=1-l),a!==ou(e._tTime,c)&&(o=1-l,e.vars.repeatRefresh&&e._initted&&e.invalidate())),l!==o||Fl||n||e._zTime===Yl||!t&&e._zTime){if(!e._initted&&hu(e,t,n,r,u))return;for(s=e._zTime,e._zTime=t||(r?Yl:0),r||(r=t&&!s),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=u,i=e._pt;i;)i.r(l,i.d),i=i._next;t<0&&iu(e,t,0,!0),e._onUpdate&&!r&&Ru(e,"onUpdate"),u&&e._repeat&&!r&&e.parent&&Ru(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===l&&(l&&ru(e,1),r||Fl||(Ru(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)}(this,e,t,r);return this},r.targets=function(){return this._targets},r.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},r.resetTo=function(e,t,r,n,i){Wl||Ju.wake(),this._ts||this.play();var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||bf(this,a),function(e,t,r,n,i,a,s,o){var l,c,u,f,d=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!d)for(d=e._ptCache[t]=[],u=e._ptLookup,f=e._targets.length;f--;){if((l=u[f][t])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return mf=1,e.vars[t]="+=0",bf(e,s),mf=0,o?Sc(t+" not eligible for reset"):1;d.push(l)}for(f=d.length;f--;)(l=(c=d[f])._pt||c).s=!n&&0!==n||i?l.s+(n||0)+a*l.c:n,l.c=r-l.s,c.e&&(c.e=Vc(r)+ku(c.e)),c.b&&(c.b=l.s+ku(c.b))}(this,e,t,r,n,this._ease(a/this._dur),a,i)?this.resetTo(e,t,r,n,1):(uu(this,0),this.parent||eu(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(e,t){if(void 0===t&&(t="all"),!e&&(!t||"all"===t))return this._lazy=this._pt=0,this.parent?Bu(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,hf&&!0!==hf.vars.overwrite)._first||Bu(this),this.parent&&r!==this.timeline.totalDuration()&&gu(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,a,s,o,l,c,u=this._targets,f=e?Pu(e):u,d=this._ptLookup,p=this._pt;if((!t||"all"===t)&&function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0}(u,f))return"all"===t&&(this._pt=0),Bu(this);for(n=this._op=this._op||[],"all"!==t&&(rc(t)&&(o={},zc(t,(function(e){return o[e]=1})),t=o),t=function(e,t){var r,n,i,a,s=e[0]?Rc(e[0]).harness:0,o=s&&s.aliases;if(!o)return t;for(n in r=Zc({},t),o)if(n in r)for(i=(a=o[n].split(",")).length;i--;)r[a[i]]=r[n];return r}(u,t)),c=u.length;c--;)if(~f.indexOf(u[c]))for(o in i=d[c],"all"===t?(n[c]=t,s=i,a={}):(a=n[c]=n[c]||{},s=t),s)(l=i&&i[o])&&("kill"in l.d&&!0!==l.d.kill(o)||tu(this,l,"_pt"),delete i[o]),"all"!==a&&(a[o]=1);return this._initted&&!this._pt&&p&&Bu(this),this},t.to=function(e,r){return new t(e,r,arguments[2])},t.from=function(e,t){return _u(1,arguments)},t.delayedCall=function(e,r,n,i){return new t(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},t.fromTo=function(e,t,r){return _u(2,arguments)},t.set=function(e,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new t(e,r)},t.killTweensOf=function(e,t,r){return Rl.killTweensOf(e,t,r)},t}(df);Yc(kf.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),zc("staggerTo,staggerFrom,staggerFromTo",(function(e){kf[e]=function(){var t=new pf,r=Eu.call(arguments,0);return r.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,r)}}));var Ef=function(e,t,r){return e[t]=r},Cf=function(e,t,r){return e[t](r)},Pf=function(e,t,r,n){return e[t](n.fp,r)},Tf=function(e,t,r){return e.setAttribute(t,r)},Mf=function(e,t){return nc(e[t])?Cf:ac(e[t])&&e.setAttribute?Tf:Ef},jf=function(e,t){return t.set(t.t,t.p,Math.round(1e6*(t.s+t.c*e))/1e6,t)},Af=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Of=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(1===e&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round(1e4*(r.s+r.c*e))/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},Df=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},Nf=function(e,t,r,n){for(var i,a=this._pt;a;)i=a._next,a.p===n&&a.modifier(e,t,r),a=i},If=function(e){for(var t,r,n=this._pt;n;)r=n._next,n.p===e&&!n.op||n.op===e?tu(this,n,"_pt"):n.dep||(t=1),n=r;return!t},Ff=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},Lf=function(e){for(var t,r,n,i,a=e._pt;a;){for(t=a._next,r=n;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:i)?a._prev._next=a:n=a,(a._next=r)?r._prev=a:i=a,a=t}e._pt=n},Rf=function(){function e(e,t,r,n,i,a,s,o,l){this.t=t,this.s=n,this.c=i,this.p=r,this.r=a||jf,this.d=s||this,this.set=o||Ef,this.pr=l||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,r){this.mSet=this.mSet||this.set,this.set=Ff,this.m=e,this.mt=r,this.tween=t},e}();zc(Fc+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(e){return Mc[e]=1})),bc.TweenMax=bc.TweenLite=kf,bc.TimelineLite=bc.TimelineMax=pf,Rl=new pf({sortChildren:!1,defaults:$l,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Ul.stringFilter=Zu;var Bf=[],zf={},Vf=[],Hf=0,Gf=0,qf=function(e){return(zf[e]||Vf).map((function(e){return e()}))},Wf=function(){var e=Date.now(),t=[];e-Hf>2&&(qf("matchMediaInit"),Bf.forEach((function(e){var r,n,i,a,s=e.queries,o=e.conditions;for(n in s)(r=Bl.matchMedia(s[n]).matches)&&(i=1),r!==o[n]&&(o[n]=r,a=1);a&&(e.revert(),i&&t.push(e))})),qf("matchMediaRevert"),t.forEach((function(e){return e.onMatch(e,(function(t){return e.add(null,t)}))})),Hf=e,qf("matchMedia"))},Uf=function(){function e(e,t){this.selector=t&&Tu(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Gf++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,r){nc(e)&&(r=t,t=e,e=nc);var n=this,i=function(){var e,i=Ll,a=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=Tu(r)),Ll=n,e=t.apply(n,arguments),nc(e)&&n._r.push(e),Ll=i,n.selector=a,n.isReverted=!1,e};return n.last=i,e===nc?i(n,(function(e){return n.add(null,e)})):e?n[e]=i:i},t.ignore=function(e){var t=Ll;Ll=null,e(this),Ll=t},t.getTweens=function(){var t=[];return this.data.forEach((function(r){return r instanceof e?t.push.apply(t,r.getTweens()):r instanceof kf&&!(r.parent&&"nested"===r.parent.data)&&t.push(r)})),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var r=this;if(e?function(){for(var t,n=r.getTweens(),i=r.data.length;i--;)"isFlip"===(t=r.data[i]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(e){return n.splice(n.indexOf(e),1)})));for(n.map((function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}})).sort((function(e,t){return t.g-e.g||-1/0})).forEach((function(t){return t.t.revert(e)})),i=r.data.length;i--;)(t=r.data[i])instanceof pf?"nested"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):!(t instanceof kf)&&t.revert&&t.revert(e);r._r.forEach((function(t){return t(e,r)})),r.isReverted=!0}():this.data.forEach((function(e){return e.kill&&e.kill()})),this.clear(),t)for(var n=Bf.length;n--;)Bf[n].id===this.id&&Bf.splice(n,1)},t.revert=function(e){this.kill(e||{})},e}(),$f=function(){function e(e){this.contexts=[],this.scope=e,Ll&&Ll.data.push(this)}var t=e.prototype;return t.add=function(e,t,r){sc(e)||(e={matches:e});var n,i,a,s=new Uf(0,r||this.scope),o=s.conditions={};for(i in Ll&&!s.selector&&(s.selector=Ll.selector),this.contexts.push(s),t=s.add("onMatch",t),s.queries=e,e)"all"===i?a=1:(n=Bl.matchMedia(e[i]))&&(Bf.indexOf(s)<0&&Bf.push(s),(o[i]=n.matches)&&(a=1),n.addListener?n.addListener(Wf):n.addEventListener("change",Wf));return a&&t(s,(function(e){return s.add(null,e)})),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach((function(t){return t.kill(e,!0)}))},e}(),Xf={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach((function(e){return Vu(e)}))},timeline:function(e){return new pf(e)},getTweensOf:function(e,t){return Rl.getTweensOf(e,t)},getProperty:function(e,t,r,n){rc(e)&&(e=Pu(e)[0]);var i=Rc(e||{}).get,a=r?Xc:$c;return"native"===r&&(r=""),e?t?a((Oc[t]&&Oc[t].get||i)(e,t,r,n)):function(t,r,n){return a((Oc[t]&&Oc[t].get||i)(e,t,r,n))}:e},quickSetter:function(e,t,r){if((e=Pu(e)).length>1){var n=e.map((function(e){return Jf.quickSetter(e,t,r)})),i=n.length;return function(e){for(var t=i;t--;)n[t](e)}}e=e[0]||{};var a=Oc[t],s=Rc(e),o=s.harness&&(s.harness.aliases||{})[t]||t,l=a?function(t){var n=new a;ql._pt=0,n.init(e,r?t+r:t,ql,0,[e]),n.render(1,n),ql._pt&&Df(1,ql)}:s.set(e,o);return a?l:function(t){return l(e,o,r?t+r:t,s,1)}},quickTo:function(e,t,r){var n,i=Jf.to(e,Zc(((n={})[t]="+=0.1",n.paused=!0,n),r||{})),a=function(e,r,n){return i.resetTo(t,e,r,n)};return a.tween=i,a},isTweening:function(e){return Rl.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=sf(e.ease,$l.ease)),Jc($l,e||{})},config:function(e){return Jc(Ul,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,a=e.extendTimeline;(n||"").split(",").forEach((function(e){return e&&!Oc[e]&&!bc[e]&&Sc(t+" effect requires "+e+" plugin.")})),Dc[t]=function(e,t,n){return r(Pu(e),Yc(t||{},i),n)},a&&(pf.prototype[t]=function(e,r,n){return this.add(Dc[t](e,sc(r)?r:(n=r)&&{},this),n)})},registerEase:function(e,t){Qu[e]=sf(t)},parseEase:function(e,t){return arguments.length?sf(e,t):Qu},getById:function(e){return Rl.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var r,n,i=new pf(e);for(i.smoothChildTiming=oc(e.smoothChildTiming),Rl.remove(i),i._dp=0,i._time=i._tTime=Rl._time,r=Rl._first;r;)n=r._next,!t&&!r._dur&&r instanceof kf&&r.vars.onComplete===r._targets[0]||du(i,r,r._start-r._delay),r=n;return du(Rl,i,0),i},context:function(e,t){return e?new Uf(e,t):Ll},matchMedia:function(e){return new $f(e)},matchMediaRefresh:function(){return Bf.forEach((function(e){var t,r,n=e.conditions;for(r in n)n[r]&&(n[r]=!1,t=1);t&&e.revert()}))||Wf()},addEventListener:function(e,t){var r=zf[e]||(zf[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=zf[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:function e(t,r,n){var i=r-t;return fc(t)?Nu(t,e(0,t.length),r):wu(n,(function(e){return(i+(e-t)%i)%i+t}))},wrapYoyo:function e(t,r,n){var i=r-t,a=2*i;return fc(t)?Nu(t,e(0,t.length-1),r):wu(n,(function(e){return t+((e=(a+(e-t)%a)%a||0)>i?a-e:e)}))},distribute:ju,random:Du,snap:Ou,normalize:function(e,t,r){return Fu(e,t,0,1,r)},getUnit:ku,clamp:function(e,t,r){return wu(r,(function(r){return Su(e,t,r)}))},splitColor:Wu,toArray:Pu,selector:Tu,mapRange:Fu,pipe:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return t.reduce((function(e,t){return t(e)}),e)}},unitize:function(e,t){return function(r){return e(parseFloat(r))+(t||ku(r))}},interpolate:function e(t,r,n,i){var a=isNaN(t+r)?0:function(e){return(1-e)*t+e*r};if(!a){var s,o,l,c,u,f=rc(t),d={};if(!0===n&&(i=1)&&(n=null),f)t={p:t},r={p:r};else if(fc(t)&&!fc(r)){for(l=[],c=t.length,u=c-2,o=1;o<c;o++)l.push(e(t[o-1],t[o]));c--,a=function(e){e*=c;var t=Math.min(u,~~e);return l[t](e-t)},n=r}else i||(t=Zc(fc(t)?[]:{},t));if(!l){for(s in r)gf.call(d,t,s,"get",r[s]);a=function(e){return Df(e,d)||(f?t.p:t)}}}return wu(n,a)},shuffle:Mu},install:_c,effects:Dc,ticker:Ju,updateRoot:pf.updateRoot,plugins:Oc,globalTimeline:Rl,core:{PropTween:Rf,globals:kc,Tween:kf,Timeline:pf,Animation:df,getCache:Rc,_removeLinkedListItem:tu,reverting:function(){return Fl},context:function(e){return e&&Ll&&(Ll.data.push(e),e._ctx=Ll),Ll},suppressOverwrites:function(e){return Il=e}}};zc("to,from,fromTo,delayedCall,set,killTweensOf",(function(e){return Xf[e]=kf[e]})),Ju.add(pf.updateRoot),ql=Xf.to({},{duration:0});var Yf=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},Zf=function(e,t){return{name:e,rawVars:1,init:function(e,r,n){n._onInit=function(e){var n,i;if(rc(r)&&(n={},zc(r,(function(e){return n[e]=1})),r=n),t){for(i in n={},r)n[i]=t(r[i]);r=n}!function(e,t){var r,n,i,a=e._targets;for(r in t)for(n=a.length;n--;)(i=e._ptLookup[n][r])&&(i=i.d)&&(i._pt&&(i=Yf(i,r)),i&&i.modifier&&i.modifier(t[r],e,a[n],r))}(e,r)}}}},Jf=Xf.registerPlugin({name:"attr",init:function(e,t,r,n,i){var a,s,o;for(a in this.tween=r,t)o=e.getAttribute(a)||"",(s=this.add(e,"setAttribute",(o||0)+"",t[a],n,i,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function(e,t){for(var r=t._pt;r;)Fl?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},Zf("roundProps",Au),Zf("modifiers"),Zf("snap",Ou))||Xf;kf.version=pf.version=Jf.version="3.12.5",Hl=1,lc()&&Ku();Qu.Power0,Qu.Power1,Qu.Power2,Qu.Power3,Qu.Power4,Qu.Linear,Qu.Quad,Qu.Cubic,Qu.Quart,Qu.Quint,Qu.Strong,Qu.Elastic,Qu.Back,Qu.SteppedEase,Qu.Bounce,Qu.Sine,Qu.Expo,Qu.Circ;var Kf,Qf,ed,td,rd,nd,id,ad,sd={},od=180/Math.PI,ld=Math.PI/180,cd=Math.atan2,ud=/([A-Z])/g,fd=/(left|right|width|margin|padding|x)/i,dd=/[\s,\(]\S/,pd={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},hd=function(e,t){return t.set(t.t,t.p,Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},md=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round(1e4*(t.s+t.c*e))/1e4+t.u,t)},vd=function(e,t){return t.set(t.t,t.p,e?Math.round(1e4*(t.s+t.c*e))/1e4+t.u:t.b,t)},gd=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},yd=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},bd=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},xd=function(e,t,r){return e.style[t]=r},_d=function(e,t,r){return e.style.setProperty(t,r)},wd=function(e,t,r){return e._gsap[t]=r},Sd=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},kd=function(e,t,r,n,i){var a=e._gsap;a.scaleX=a.scaleY=r,a.renderTransform(i,a)},Ed=function(e,t,r,n,i){var a=e._gsap;a[t]=r,a.renderTransform(i,a)},Cd="transform",Pd=Cd+"Origin",Td=function e(t,r){var n=this,i=this.target,a=i.style,s=i._gsap;if(t in sd&&a){if(this.tfm=this.tfm||{},"transform"===t)return pd.transform.split(",").forEach((function(t){return e.call(n,t,r)}));if(~(t=pd[t]||t).indexOf(",")?t.split(",").forEach((function(e){return n.tfm[e]=Ud(i,e)})):this.tfm[t]=s.x?s[t]:Ud(i,t),t===Pd&&(this.tfm.zOrigin=s.zOrigin),this.props.indexOf(Cd)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Pd,r,"")),t=Cd}(a||r)&&this.props.push(t,r,a[t])},Md=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},jd=function(){var e,t,r=this.props,n=this.target,i=n.style,a=n._gsap;for(e=0;e<r.length;e+=3)r[e+1]?n[r[e]]=r[e+2]:r[e+2]?i[r[e]]=r[e+2]:i.removeProperty("--"===r[e].substr(0,2)?r[e]:r[e].replace(ud,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)a[t]=this.tfm[t];a.svg&&(a.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(e=id())&&e.isStart||i[Cd]||(Md(i),a.zOrigin&&i[Pd]&&(i[Pd]+=" "+a.zOrigin+"px",a.zOrigin=0,a.renderTransform()),a.uncache=1)}},Ad=function(e,t){var r={target:e,props:[],revert:jd,save:Td};return e._gsap||Jf.core.getCache(e),t&&t.split(",").forEach((function(e){return r.save(e)})),r},Od=function(e,t){var r=Qf.createElementNS?Qf.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Qf.createElement(e);return r&&r.style?r:Qf.createElement(e)},Dd=function e(t,r,n){var i=getComputedStyle(t);return i[r]||i.getPropertyValue(r.replace(ud,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&e(t,Id(r)||r,1)||""},Nd="O,Moz,ms,Ms,Webkit".split(","),Id=function(e,t,r){var n=(t||rd).style,i=5;if(e in n&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(Nd[i]+e in n););return i<0?null:(3===i?"ms":i>=0?Nd[i]:"")+e},Fd=function(){"undefined"!==typeof window&&window.document&&(Kf=window,Qf=Kf.document,ed=Qf.documentElement,rd=Od("div")||{style:{}},Od("div"),Cd=Id(Cd),Pd=Cd+"Origin",rd.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ad=!!Id("perspective"),id=Jf.core.reverting,td=1)},Ld=function e(t){var r,n=Od("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,a=this.nextSibling,s=this.style.cssText;if(ed.appendChild(n),n.appendChild(this),this.style.display="block",t)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=e}catch(o){}else this._gsapBBox&&(r=this._gsapBBox());return i&&(a?i.insertBefore(this,a):i.appendChild(this)),ed.removeChild(n),this.style.cssText=s,r},Rd=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Bd=function(e){var t;try{t=e.getBBox()}catch(r){t=Ld.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Ld||(t=Ld.call(e,!0)),!t||t.width||t.x||t.y?t:{x:+Rd(e,["x","cx","x1"])||0,y:+Rd(e,["y","cy","y1"])||0,width:0,height:0}},zd=function(e){return!(!e.getCTM||e.parentNode&&!e.ownerSVGElement||!Bd(e))},Vd=function(e,t){if(t){var r,n=e.style;t in sd&&t!==Pd&&(t=Cd),n.removeProperty?("ms"!==(r=t.substr(0,2))&&"webkit"!==t.substr(0,6)||(t="-"+t),n.removeProperty("--"===r?t:t.replace(ud,"-$1").toLowerCase())):n.removeAttribute(t)}},Hd=function(e,t,r,n,i,a){var s=new Rf(e._pt,t,r,0,1,a?bd:yd);return e._pt=s,s.b=n,s.e=i,e._props.push(r),s},Gd={deg:1,rad:1,turn:1},qd={grid:1,flex:1},Wd=function e(t,r,n,i){var a,s,o,l,c=parseFloat(n)||0,u=(n+"").trim().substr((c+"").length)||"px",f=rd.style,d=fd.test(r),p="svg"===t.tagName.toLowerCase(),h=(p?"client":"offset")+(d?"Width":"Height"),m=100,v="px"===i,g="%"===i;if(i===u||!c||Gd[i]||Gd[u])return c;if("px"!==u&&!v&&(c=e(t,r,n,"px")),l=t.getCTM&&zd(t),(g||"%"===u)&&(sd[r]||~r.indexOf("adius")))return a=l?t.getBBox()[d?"width":"height"]:t[h],Vc(g?c/a*m:c/100*a);if(f[d?"width":"height"]=m+(v?u:i),s=~r.indexOf("adius")||"em"===i&&t.appendChild&&!p?t:t.parentNode,l&&(s=(t.ownerSVGElement||{}).parentNode),s&&s!==Qf&&s.appendChild||(s=Qf.body),(o=s._gsap)&&g&&o.width&&d&&o.time===Ju.time&&!o.uncache)return Vc(c/o.width*m);if(!g||"height"!==r&&"width"!==r)(g||"%"===u)&&!qd[Dd(s,"display")]&&(f.position=Dd(t,"position")),s===t&&(f.position="static"),s.appendChild(rd),a=rd[h],s.removeChild(rd),f.position="absolute";else{var y=t.style[r];t.style[r]=m+i,a=t[h],y?t.style[r]=y:Vd(t,r)}return d&&g&&((o=Rc(s)).time=Ju.time,o.width=s[h]),Vc(v?a*c/m:a&&c?m/a*c:0)},Ud=function(e,t,r,n){var i;return td||Fd(),t in pd&&"transform"!==t&&~(t=pd[t]).indexOf(",")&&(t=t.split(",")[0]),sd[t]&&"transform"!==t?(i=ip(e,n),i="transformOrigin"!==t?i[t]:i.svg?i.origin:ap(Dd(e,Pd))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=Jd[t]&&Jd[t](e,t,r)||Dd(e,t)||Bc(e,t)||("opacity"===t?1:0)),r&&!~(i+"").trim().indexOf(" ")?Wd(e,t,i,r)+r:i},$d=function(e,t,r,n){if(!r||"none"===r){var i=Id(t,e,1),a=i&&Dd(e,i,1);a&&a!==r?(t=i,r=a):"borderColor"===t&&(r=Dd(e,"borderTopColor"))}var s,o,l,c,u,f,d,p,h,m,v,g=new Rf(this._pt,e.style,t,0,1,Of),y=0,b=0;if(g.b=r,g.e=n,r+="","auto"===(n+="")&&(f=e.style[t],e.style[t]=n,n=Dd(e,t)||n,f?e.style[t]=f:Vd(e,t)),Zu(s=[r,n]),n=s[1],l=(r=s[0]).match(hc)||[],(n.match(hc)||[]).length){for(;o=hc.exec(n);)d=o[0],h=n.substring(y,o.index),u?u=(u+1)%5:"rgba("!==h.substr(-5)&&"hsla("!==h.substr(-5)||(u=1),d!==(f=l[b++]||"")&&(c=parseFloat(f)||0,v=f.substr((c+"").length),"="===d.charAt(1)&&(d=Gc(c,d)+v),p=parseFloat(d),m=d.substr((p+"").length),y=hc.lastIndex-m.length,m||(m=m||Ul.units[t]||v,y===n.length&&(n+=m,g.e+=m)),v!==m&&(c=Wd(e,t,f,m)||0),g._pt={_next:g._pt,p:h||1===b?h:",",s:c,c:p-c,m:u&&u<4||"zIndex"===t?Math.round:0});g.c=y<n.length?n.substring(y,n.length):""}else g.r="display"===t&&"none"===n?bd:yd;return vc.test(n)&&(g.e=0),this._pt=g,g},Xd={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Yd=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return"top"!==r&&"bottom"!==r&&"left"!==n&&"right"!==n||(e=r,r=n,n=e),t[0]=Xd[r]||r,t[1]=Xd[n]||n,t.join(" ")},Zd=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r,n,i,a=t.t,s=a.style,o=t.u,l=a._gsap;if("all"===o||!0===o)s.cssText="",n=1;else for(i=(o=o.split(",")).length;--i>-1;)r=o[i],sd[r]&&(n=1,r="transformOrigin"===r?Pd:Cd),Vd(a,r);n&&(Vd(a,Cd),l&&(l.svg&&a.removeAttribute("transform"),ip(a,1),l.uncache=1,Md(s)))}},Jd={clearProps:function(e,t,r,n,i){if("isFromStart"!==i.data){var a=e._pt=new Rf(e._pt,t,r,0,0,Zd);return a.u=n,a.pr=-10,a.tween=i,e._props.push(r),1}}},Kd=[1,0,0,1,0,0],Qd={},ep=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},tp=function(e){var t=Dd(e,Cd);return ep(t)?Kd:t.substr(7).match(pc).map(Vc)},rp=function(e,t){var r,n,i,a,s=e._gsap||Rc(e),o=e.style,l=tp(e);return s.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=e.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?Kd:l:(l!==Kd||e.offsetParent||e===ed||s.svg||(i=o.display,o.display="block",(r=e.parentNode)&&e.offsetParent||(a=1,n=e.nextElementSibling,ed.appendChild(e)),l=tp(e),i?o.display=i:Vd(e,"display"),a&&(n?r.insertBefore(e,n):r?r.appendChild(e):ed.removeChild(e))),t&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},np=function(e,t,r,n,i,a){var s,o,l,c=e._gsap,u=i||rp(e,!0),f=c.xOrigin||0,d=c.yOrigin||0,p=c.xOffset||0,h=c.yOffset||0,m=u[0],v=u[1],g=u[2],y=u[3],b=u[4],x=u[5],_=t.split(" "),w=parseFloat(_[0])||0,S=parseFloat(_[1])||0;r?u!==Kd&&(o=m*y-v*g)&&(l=w*(-v/o)+S*(m/o)-(m*x-v*b)/o,w=w*(y/o)+S*(-g/o)+(g*x-y*b)/o,S=l):(w=(s=Bd(e)).x+(~_[0].indexOf("%")?w/100*s.width:w),S=s.y+(~(_[1]||_[0]).indexOf("%")?S/100*s.height:S)),n||!1!==n&&c.smooth?(b=w-f,x=S-d,c.xOffset=p+(b*m+x*g)-b,c.yOffset=h+(b*v+x*y)-x):c.xOffset=c.yOffset=0,c.xOrigin=w,c.yOrigin=S,c.smooth=!!n,c.origin=t,c.originIsAbsolute=!!r,e.style[Pd]="0px 0px",a&&(Hd(a,c,"xOrigin",f,w),Hd(a,c,"yOrigin",d,S),Hd(a,c,"xOffset",p,c.xOffset),Hd(a,c,"yOffset",h,c.yOffset)),e.setAttribute("data-svg-origin",w+" "+S)},ip=function(e,t){var r=e._gsap||new ff(e);if("x"in r&&!t&&!r.uncache)return r;var n,i,a,s,o,l,c,u,f,d,p,h,m,v,g,y,b,x,_,w,S,k,E,C,P,T,M,j,A,O,D,N,I=e.style,F=r.scaleX<0,L="px",R="deg",B=getComputedStyle(e),z=Dd(e,Pd)||"0";return n=i=a=l=c=u=f=d=p=0,s=o=1,r.svg=!(!e.getCTM||!zd(e)),B.translate&&("none"===B.translate&&"none"===B.scale&&"none"===B.rotate||(I[Cd]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[Cd]?B[Cd]:"")),I.scale=I.rotate=I.translate="none"),v=rp(e,r.svg),r.svg&&(r.uncache?(P=e.getBBox(),z=r.xOrigin-P.x+"px "+(r.yOrigin-P.y)+"px",C=""):C=!t&&e.getAttribute("data-svg-origin"),np(e,C||z,!!C||r.originIsAbsolute,!1!==r.smooth,v)),h=r.xOrigin||0,m=r.yOrigin||0,v!==Kd&&(x=v[0],_=v[1],w=v[2],S=v[3],n=k=v[4],i=E=v[5],6===v.length?(s=Math.sqrt(x*x+_*_),o=Math.sqrt(S*S+w*w),l=x||_?cd(_,x)*od:0,(f=w||S?cd(w,S)*od+l:0)&&(o*=Math.abs(Math.cos(f*ld))),r.svg&&(n-=h-(h*x+m*w),i-=m-(h*_+m*S))):(N=v[6],O=v[7],M=v[8],j=v[9],A=v[10],D=v[11],n=v[12],i=v[13],a=v[14],c=(g=cd(N,A))*od,g&&(C=k*(y=Math.cos(-g))+M*(b=Math.sin(-g)),P=E*y+j*b,T=N*y+A*b,M=k*-b+M*y,j=E*-b+j*y,A=N*-b+A*y,D=O*-b+D*y,k=C,E=P,N=T),u=(g=cd(-w,A))*od,g&&(y=Math.cos(-g),D=S*(b=Math.sin(-g))+D*y,x=C=x*y-M*b,_=P=_*y-j*b,w=T=w*y-A*b),l=(g=cd(_,x))*od,g&&(C=x*(y=Math.cos(g))+_*(b=Math.sin(g)),P=k*y+E*b,_=_*y-x*b,E=E*y-k*b,x=C,k=P),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,u=180-u),s=Vc(Math.sqrt(x*x+_*_+w*w)),o=Vc(Math.sqrt(E*E+N*N)),g=cd(k,E),f=Math.abs(g)>2e-4?g*od:0,p=D?1/(D<0?-D:D):0),r.svg&&(C=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!ep(Dd(e,Cd)),C&&e.setAttribute("transform",C))),Math.abs(f)>90&&Math.abs(f)<270&&(F?(s*=-1,f+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),t=t||r.uncache,r.x=n-((r.xPercent=n&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-n)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+L,r.y=i-((r.yPercent=i&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+L,r.z=a+L,r.scaleX=Vc(s),r.scaleY=Vc(o),r.rotation=Vc(l)+R,r.rotationX=Vc(c)+R,r.rotationY=Vc(u)+R,r.skewX=f+R,r.skewY=d+R,r.transformPerspective=p+L,(r.zOrigin=parseFloat(z.split(" ")[2])||!t&&r.zOrigin||0)&&(I[Pd]=ap(z)),r.xOffset=r.yOffset=0,r.force3D=Ul.force3D,r.renderTransform=r.svg?dp:ad?fp:op,r.uncache=0,r},ap=function(e){return(e=e.split(" "))[0]+" "+e[1]},sp=function(e,t,r){var n=ku(t);return Vc(parseFloat(t)+parseFloat(Wd(e,"x",r+"px",n)))+n},op=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,fp(e,t)},lp="0deg",cp="0px",up=") ",fp=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,a=r.x,s=r.y,o=r.z,l=r.rotation,c=r.rotationY,u=r.rotationX,f=r.skewX,d=r.skewY,p=r.scaleX,h=r.scaleY,m=r.transformPerspective,v=r.force3D,g=r.target,y=r.zOrigin,b="",x="auto"===v&&e&&1!==e||!0===v;if(y&&(u!==lp||c!==lp)){var _,w=parseFloat(c)*ld,S=Math.sin(w),k=Math.cos(w);w=parseFloat(u)*ld,_=Math.cos(w),a=sp(g,a,S*_*-y),s=sp(g,s,-Math.sin(w)*-y),o=sp(g,o,k*_*-y+y)}m!==cp&&(b+="perspective("+m+up),(n||i)&&(b+="translate("+n+"%, "+i+"%) "),(x||a!==cp||s!==cp||o!==cp)&&(b+=o!==cp||x?"translate3d("+a+", "+s+", "+o+") ":"translate("+a+", "+s+up),l!==lp&&(b+="rotate("+l+up),c!==lp&&(b+="rotateY("+c+up),u!==lp&&(b+="rotateX("+u+up),f===lp&&d===lp||(b+="skew("+f+", "+d+up),1===p&&1===h||(b+="scale("+p+", "+h+up),g.style[Cd]=b||"translate(0, 0)"},dp=function(e,t){var r,n,i,a,s,o=t||this,l=o.xPercent,c=o.yPercent,u=o.x,f=o.y,d=o.rotation,p=o.skewX,h=o.skewY,m=o.scaleX,v=o.scaleY,g=o.target,y=o.xOrigin,b=o.yOrigin,x=o.xOffset,_=o.yOffset,w=o.forceCSS,S=parseFloat(u),k=parseFloat(f);d=parseFloat(d),p=parseFloat(p),(h=parseFloat(h))&&(p+=h=parseFloat(h),d+=h),d||p?(d*=ld,p*=ld,r=Math.cos(d)*m,n=Math.sin(d)*m,i=Math.sin(d-p)*-v,a=Math.cos(d-p)*v,p&&(h*=ld,s=Math.tan(p-h),i*=s=Math.sqrt(1+s*s),a*=s,h&&(s=Math.tan(h),r*=s=Math.sqrt(1+s*s),n*=s)),r=Vc(r),n=Vc(n),i=Vc(i),a=Vc(a)):(r=m,a=v,n=i=0),(S&&!~(u+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(S=Wd(g,"x",u,"px"),k=Wd(g,"y",f,"px")),(y||b||x||_)&&(S=Vc(S+y-(y*r+b*i)+x),k=Vc(k+b-(y*n+b*a)+_)),(l||c)&&(s=g.getBBox(),S=Vc(S+l/100*s.width),k=Vc(k+c/100*s.height)),s="matrix("+r+","+n+","+i+","+a+","+S+","+k+")",g.setAttribute("transform",s),w&&(g.style[Cd]=s)},pp=function(e,t,r,n,i){var a,s,o=360,l=rc(i),c=parseFloat(i)*(l&&~i.indexOf("rad")?od:1)-n,u=n+c+"deg";return l&&("short"===(a=i.split("_")[1])&&(c%=o)!==c%180&&(c+=c<0?o:-360),"cw"===a&&c<0?c=(c+36e9)%o-~~(c/o)*o:"ccw"===a&&c>0&&(c=(c-36e9)%o-~~(c/o)*o)),e._pt=s=new Rf(e._pt,t,r,n,c,md),s.e=u,s.u="deg",e._props.push(r),s},hp=function(e,t){for(var r in t)e[r]=t[r];return e},mp=function(e,t,r){var n,i,a,s,o,l,c,u=hp({},r._gsap),f=r.style;for(i in u.svg?(a=r.getAttribute("transform"),r.setAttribute("transform",""),f[Cd]=t,n=ip(r,1),Vd(r,Cd),r.setAttribute("transform",a)):(a=getComputedStyle(r)[Cd],f[Cd]=t,n=ip(r,1),f[Cd]=a),sd)(a=u[i])!==(s=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(o=ku(a)!==(c=ku(s))?Wd(r,i,a,c):parseFloat(a),l=parseFloat(s),e._pt=new Rf(e._pt,n,i,o,l-o,hd),e._pt.u=c||0,e._props.push(i));hp(n,u)};zc("padding,margin,Width,Radius",(function(e,t){var r="Top",n="Right",i="Bottom",a="Left",s=(t<3?[r,n,i,a]:[r+a,r+n,i+n,i+a]).map((function(r){return t<2?e+r:"border"+r+e}));Jd[t>1?"border"+e:e]=function(e,t,r,n,i){var a,o;if(arguments.length<4)return a=s.map((function(t){return Ud(e,t,r)})),5===(o=a.join(" ")).split(a[0]).length?a[0]:o;a=(n+"").split(" "),o={},s.forEach((function(e,t){return o[e]=a[t]=a[t]||a[(t-1)/2|0]})),e.init(t,o,i)}}));var vp={name:"css",register:Fd,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var a,s,o,l,c,u,f,d,p,h,m,v,g,y,b,x,_=this._props,w=e.style,S=r.vars.startAt;for(f in td||Fd(),this.styles=this.styles||Ad(e),x=this.styles.props,this.tween=r,t)if("autoRound"!==f&&(s=t[f],!Oc[f]||!yf(f,t,r,n,e,i)))if(c=typeof s,u=Jd[f],"function"===c&&(c=typeof(s=s.call(r,n,e,i))),"string"===c&&~s.indexOf("random(")&&(s=Iu(s)),u)u(this,e,f,s,r)&&(b=1);else if("--"===f.substr(0,2))a=(getComputedStyle(e).getPropertyValue(f)+"").trim(),s+="",Xu.lastIndex=0,Xu.test(a)||(d=ku(a),p=ku(s)),p?d!==p&&(a=Wd(e,f,a,p)+p):d&&(s+=d),this.add(w,"setProperty",a,s,n,i,0,0,f),_.push(f),x.push(f,0,w[f]);else if("undefined"!==c){if(S&&f in S?(a="function"===typeof S[f]?S[f].call(r,n,e,i):S[f],rc(a)&&~a.indexOf("random(")&&(a=Iu(a)),ku(a+"")||"auto"===a||(a+=Ul.units[f]||ku(Ud(e,f))||""),"="===(a+"").charAt(1)&&(a=Ud(e,f))):a=Ud(e,f),l=parseFloat(a),(h="string"===c&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),o=parseFloat(s),f in pd&&("autoAlpha"===f&&(1===l&&"hidden"===Ud(e,"visibility")&&o&&(l=0),x.push("visibility",0,w.visibility),Hd(this,w,"visibility",l?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==f&&"transform"!==f&&~(f=pd[f]).indexOf(",")&&(f=f.split(",")[0])),m=f in sd)if(this.styles.save(f),v||((g=e._gsap).renderTransform&&!t.parseTransform||ip(e,t.parseTransform),y=!1!==t.smoothOrigin&&g.smooth,(v=this._pt=new Rf(this._pt,w,Cd,0,1,g.renderTransform,g,0,-1)).dep=1),"scale"===f)this._pt=new Rf(this._pt,g,"scaleY",g.scaleY,(h?Gc(g.scaleY,h+o):o)-g.scaleY||0,hd),this._pt.u=0,_.push("scaleY",f),f+="X";else{if("transformOrigin"===f){x.push(Pd,0,w[Pd]),s=Yd(s),g.svg?np(e,s,0,y,0,this):((p=parseFloat(s.split(" ")[2])||0)!==g.zOrigin&&Hd(this,g,"zOrigin",g.zOrigin,p),Hd(this,w,f,ap(a),ap(s)));continue}if("svgOrigin"===f){np(e,s,1,y,0,this);continue}if(f in Qd){pp(this,g,f,l,h?Gc(l,h+s):s);continue}if("smoothOrigin"===f){Hd(this,g,"smooth",g.smooth,s);continue}if("force3D"===f){g[f]=s;continue}if("transform"===f){mp(this,s,e);continue}}else f in w||(f=Id(f)||f);if(m||(o||0===o)&&(l||0===l)&&!dd.test(s)&&f in w)o||(o=0),(d=(a+"").substr((l+"").length))!==(p=ku(s)||(f in Ul.units?Ul.units[f]:d))&&(l=Wd(e,f,a,p)),this._pt=new Rf(this._pt,m?g:w,f,l,(h?Gc(l,h+o):o)-l,m||"px"!==p&&"zIndex"!==f||!1===t.autoRound?hd:gd),this._pt.u=p||0,d!==p&&"%"!==p&&(this._pt.b=a,this._pt.r=vd);else if(f in w)$d.call(this,e,f,a,h?h+s:s);else if(f in e)this.add(e,f,a||e[f],h?h+s:s,n,i);else if("parseTransform"!==f){wc(f,s);continue}m||(f in w?x.push(f,0,w[f]):x.push(f,1,a||e[f])),_.push(f)}b&&Lf(this)},render:function(e,t){if(t.tween._time||!id())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Ud,aliases:pd,getSetter:function(e,t,r){var n=pd[t];return n&&n.indexOf(",")<0&&(t=n),t in sd&&t!==Pd&&(e._gsap.x||Ud(e,"x"))?r&&nd===r?"scale"===t?Sd:wd:(nd=r||{})&&("scale"===t?kd:Ed):e.style&&!ac(e.style[t])?xd:~t.indexOf("-")?_d:Mf(e,t)},core:{_removeProperty:Vd,_getMatrix:rp}};Jf.utils.checkPrefix=Id,Jf.core.getStyleSaver=Ad,function(e,t,r,n){var i=zc(e+","+t+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(e){sd[e]=1}));zc(t,(function(e){Ul.units[e]="deg",Qd[e]=1})),pd[i[13]]=e+","+t,zc("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(e){var t=e.split(":");pd[t[1]]=i[t[0]]}))}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY"),zc("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(e){Ul.units[e]="px"})),Jf.registerPlugin(vp);var gp=Jf.registerPlugin(vp)||Jf,yp=(gp.core.Tween,"undefined"!==typeof window?t.useLayoutEffect:t.useEffect),bp=function(e){return e&&!Array.isArray(e)&&"object"===typeof e},xp=[],_p={},wp=gp,Sp=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xp,n=_p;bp(e)?(n=e,e=null,r="dependencies"in n?n.dependencies:xp):bp(r)&&(r="dependencies"in(n=r)?n.dependencies:xp);var i=n,a=i.scope,s=i.revertOnUpdate,o=Sr((0,t.useState)(!1),2),l=o[0],c=o[1];e&&"function"!==typeof e&&console.warn("First parameter must be a function or config object");var u=wp.context((function(){}),a),f=function(){return u.revert()},d=r&&r.length&&!s;return yp((function(){if(e&&u.add(e,a),!d||!l)return f}),r),d&&yp((function(){return c(!0),f}),xp),{context:u,contextSafe:function(e){return u.add(null,e)}}};function kp(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}Sp.register=function(e){wp=e},Sp.headless=!0;var Ep,Cp,Pp,Tp,Mp,jp,Ap,Op,Dp,Np,Ip,Fp,Lp,Rp=function(){return Ep||"undefined"!==typeof window&&(Ep=window.gsap)&&Ep.registerPlugin&&Ep},Bp=1,zp=[],Vp=[],Hp=[],Gp=Date.now,qp=function(e,t){return t},Wp=function(e,t){return~Hp.indexOf(e)&&Hp[Hp.indexOf(e)+1][t]},Up=function(e){return!!~Np.indexOf(e)},$p=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!1!==n,capture:!!i})},Xp=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Yp="scrollLeft",Zp="scrollTop",Jp=function(){return Ip&&Ip.isPressed||Vp.cache++},Kp=function(e,t){var r=function r(n){if(n||0===n){Bp&&(Pp.history.scrollRestoration="manual");var i=Ip&&Ip.isPressed;n=r.v=Math.round(n)||(Ip&&Ip.iOS?1:0),e(n),r.cacheID=Vp.cache,i&&qp("ss",n)}else(t||Vp.cache!==r.cacheID||qp("ref"))&&(r.cacheID=Vp.cache,r.v=e());return r.v+r.offset};return r.offset=0,e&&r},Qp={s:Yp,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Kp((function(e){return arguments.length?Pp.scrollTo(e,eh.sc()):Pp.pageXOffset||Tp[Yp]||Mp[Yp]||jp[Yp]||0}))},eh={s:Zp,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Qp,sc:Kp((function(e){return arguments.length?Pp.scrollTo(Qp.sc(),e):Pp.pageYOffset||Tp[Zp]||Mp[Zp]||jp[Zp]||0}))},th=function(e,t){return(t&&t._ctx&&t._ctx.selector||Ep.utils.toArray)(e)[0]||("string"===typeof e&&!1!==Ep.config().nullTargetWarn?console.warn("Element not found:",e):null)},rh=function(e,t){var r=t.s,n=t.sc;Up(e)&&(e=Tp.scrollingElement||Mp);var i=Vp.indexOf(e),a=n===eh.sc?1:2;!~i&&(i=Vp.push(e)-1),Vp[i+a]||$p(e,"scroll",Jp);var s=Vp[i+a],o=s||(Vp[i+a]=Kp(Wp(e,r),!0)||(Up(e)?n:Kp((function(t){return arguments.length?e[r]=t:e[r]}))));return o.target=e,s||(o.smooth="smooth"===Ep.getProperty(e,"scrollBehavior")),o},nh=function(e,t,r){var n=e,i=e,a=Gp(),s=a,o=t||50,l=Math.max(500,3*o),c=function(e,t){var l=Gp();t||l-a>o?(i=n,n=e,s=a,a=l):r?n+=e:n=i+(e-i)/(l-s)*(a-s)};return{update:c,reset:function(){i=n=r?0:n,s=a=0},getVelocity:function(e){var t=s,o=i,u=Gp();return(e||0===e)&&e!==n&&c(e),a===s||u-s>l?0:(n+(r?o:-o))/((r?u:a)-t)*1e3}}},ih=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},ah=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},sh=function(){(Dp=Ep.core.globals().ScrollTrigger)&&Dp.core&&function(){var e=Dp.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,Vp),n.push.apply(n,Hp),Vp=r,Hp=n,qp=function(e,r){return t[e](r)}}()},oh=function(e){return Ep=e||Rp(),!Cp&&Ep&&"undefined"!==typeof document&&document.body&&(Pp=window,Tp=document,Mp=Tp.documentElement,jp=Tp.body,Np=[Pp,Tp,Mp,jp],Ep.utils.clamp,Lp=Ep.core.context||function(){},Op="onpointerenter"in jp?"pointer":"mouse",Ap=lh.isTouch=Pp.matchMedia&&Pp.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Pp||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Fp=lh.eventTypes=("ontouchstart"in Mp?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Mp?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return Bp=0}),500),sh(),Cp=1),Cp};Qp.op=eh,Vp.cache=0;var lh=function(){function e(e){this.init(e)}var t,r,n;return e.prototype.init=function(e){Cp||oh(Ep)||console.warn("Please gsap.registerPlugin(Observer)"),Dp||sh();var t=e.tolerance,r=e.dragMinimum,n=e.type,i=e.target,a=e.lineHeight,s=e.debounce,o=e.preventDefault,l=e.onStop,c=e.onStopDelay,u=e.ignore,f=e.wheelSpeed,d=e.event,p=e.onDragStart,h=e.onDragEnd,m=e.onDrag,v=e.onPress,g=e.onRelease,y=e.onRight,b=e.onLeft,x=e.onUp,_=e.onDown,w=e.onChangeX,S=e.onChangeY,k=e.onChange,E=e.onToggleX,C=e.onToggleY,P=e.onHover,T=e.onHoverEnd,M=e.onMove,j=e.ignoreCheck,A=e.isNormalizer,O=e.onGestureStart,D=e.onGestureEnd,N=e.onWheel,I=e.onEnable,F=e.onDisable,L=e.onClick,R=e.scrollSpeed,B=e.capture,z=e.allowClicks,V=e.lockAxis,H=e.onLockAxis;this.target=i=th(i)||Mp,this.vars=e,u&&(u=Ep.utils.toArray(u)),t=t||1e-9,r=r||0,f=f||1,R=R||1,n=n||"wheel,touch,pointer",s=!1!==s,a||(a=parseFloat(Pp.getComputedStyle(jp).lineHeight)||22);var G,q,W,U,$,X,Y,Z=this,J=0,K=0,Q=e.passive||!o,ee=rh(i,Qp),te=rh(i,eh),re=ee(),ne=te(),ie=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===Fp[0],ae=Up(i),se=i.ownerDocument||Tp,oe=[0,0,0],le=[0,0,0],ce=0,ue=function(){return ce=Gp()},fe=function(e,t){return(Z.event=e)&&u&&~u.indexOf(e.target)||t&&ie&&"touch"!==e.pointerType||j&&j(e,t)},de=function(){var e=Z.deltaX=ah(oe),r=Z.deltaY=ah(le),n=Math.abs(e)>=t,i=Math.abs(r)>=t;k&&(n||i)&&k(Z,e,r,oe,le),n&&(y&&Z.deltaX>0&&y(Z),b&&Z.deltaX<0&&b(Z),w&&w(Z),E&&Z.deltaX<0!==J<0&&E(Z),J=Z.deltaX,oe[0]=oe[1]=oe[2]=0),i&&(_&&Z.deltaY>0&&_(Z),x&&Z.deltaY<0&&x(Z),S&&S(Z),C&&Z.deltaY<0!==K<0&&C(Z),K=Z.deltaY,le[0]=le[1]=le[2]=0),(U||W)&&(M&&M(Z),W&&(m(Z),W=!1),U=!1),X&&!(X=!1)&&H&&H(Z),$&&(N(Z),$=!1),G=0},pe=function(e,t,r){oe[r]+=e,le[r]+=t,Z._vx.update(e),Z._vy.update(t),s?G||(G=requestAnimationFrame(de)):de()},he=function(e,t){V&&!Y&&(Z.axis=Y=Math.abs(e)>Math.abs(t)?"x":"y",X=!0),"y"!==Y&&(oe[2]+=e,Z._vx.update(e,!0)),"x"!==Y&&(le[2]+=t,Z._vy.update(t,!0)),s?G||(G=requestAnimationFrame(de)):de()},me=function(e){if(!fe(e,1)){var t=(e=ih(e,o)).clientX,n=e.clientY,i=t-Z.x,a=n-Z.y,s=Z.isDragging;Z.x=t,Z.y=n,(s||Math.abs(Z.startX-t)>=r||Math.abs(Z.startY-n)>=r)&&(m&&(W=!0),s||(Z.isDragging=!0),he(i,a),s||p&&p(Z))}},ve=Z.onPress=function(e){fe(e,1)||e&&e.button||(Z.axis=Y=null,q.pause(),Z.isPressed=!0,e=ih(e),J=K=0,Z.startX=Z.x=e.clientX,Z.startY=Z.y=e.clientY,Z._vx.reset(),Z._vy.reset(),$p(A?i:se,Fp[1],me,Q,!0),Z.deltaX=Z.deltaY=0,v&&v(Z))},ge=Z.onRelease=function(e){if(!fe(e,1)){Xp(A?i:se,Fp[1],me,!0);var t=!isNaN(Z.y-Z.startY),r=Z.isDragging,n=r&&(Math.abs(Z.x-Z.startX)>3||Math.abs(Z.y-Z.startY)>3),a=ih(e);!n&&t&&(Z._vx.reset(),Z._vy.reset(),o&&z&&Ep.delayedCall(.08,(function(){if(Gp()-ce>300&&!e.defaultPrevented)if(e.target.click)e.target.click();else if(se.createEvent){var t=se.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,Pp,1,a.screenX,a.screenY,a.clientX,a.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}))),Z.isDragging=Z.isGesturing=Z.isPressed=!1,l&&r&&!A&&q.restart(!0),h&&r&&h(Z),g&&g(Z,n)}},ye=function(e){return e.touches&&e.touches.length>1&&(Z.isGesturing=!0)&&O(e,Z.isDragging)},be=function(){return(Z.isGesturing=!1)||D(Z)},xe=function(e){if(!fe(e)){var t=ee(),r=te();pe((t-re)*R,(r-ne)*R,1),re=t,ne=r,l&&q.restart(!0)}},_e=function(e){if(!fe(e)){e=ih(e,o),N&&($=!0);var t=(1===e.deltaMode?a:2===e.deltaMode?Pp.innerHeight:1)*f;pe(e.deltaX*t,e.deltaY*t,0),l&&!A&&q.restart(!0)}},we=function(e){if(!fe(e)){var t=e.clientX,r=e.clientY,n=t-Z.x,i=r-Z.y;Z.x=t,Z.y=r,U=!0,l&&q.restart(!0),(n||i)&&he(n,i)}},Se=function(e){Z.event=e,P(Z)},ke=function(e){Z.event=e,T(Z)},Ee=function(e){return fe(e)||ih(e,o)&&L(Z)};q=Z._dc=Ep.delayedCall(c||.25,(function(){Z._vx.reset(),Z._vy.reset(),q.pause(),l&&l(Z)})).pause(),Z.deltaX=Z.deltaY=0,Z._vx=nh(0,50,!0),Z._vy=nh(0,50,!0),Z.scrollX=ee,Z.scrollY=te,Z.isDragging=Z.isGesturing=Z.isPressed=!1,Lp(this),Z.enable=function(e){return Z.isEnabled||($p(ae?se:i,"scroll",Jp),n.indexOf("scroll")>=0&&$p(ae?se:i,"scroll",xe,Q,B),n.indexOf("wheel")>=0&&$p(i,"wheel",_e,Q,B),(n.indexOf("touch")>=0&&Ap||n.indexOf("pointer")>=0)&&($p(i,Fp[0],ve,Q,B),$p(se,Fp[2],ge),$p(se,Fp[3],ge),z&&$p(i,"click",ue,!0,!0),L&&$p(i,"click",Ee),O&&$p(se,"gesturestart",ye),D&&$p(se,"gestureend",be),P&&$p(i,Op+"enter",Se),T&&$p(i,Op+"leave",ke),M&&$p(i,Op+"move",we)),Z.isEnabled=!0,e&&e.type&&ve(e),I&&I(Z)),Z},Z.disable=function(){Z.isEnabled&&(zp.filter((function(e){return e!==Z&&Up(e.target)})).length||Xp(ae?se:i,"scroll",Jp),Z.isPressed&&(Z._vx.reset(),Z._vy.reset(),Xp(A?i:se,Fp[1],me,!0)),Xp(ae?se:i,"scroll",xe,B),Xp(i,"wheel",_e,B),Xp(i,Fp[0],ve,B),Xp(se,Fp[2],ge),Xp(se,Fp[3],ge),Xp(i,"click",ue,!0),Xp(i,"click",Ee),Xp(se,"gesturestart",ye),Xp(se,"gestureend",be),Xp(i,Op+"enter",Se),Xp(i,Op+"leave",ke),Xp(i,Op+"move",we),Z.isEnabled=Z.isPressed=Z.isDragging=!1,F&&F(Z))},Z.kill=Z.revert=function(){Z.disable();var e=zp.indexOf(Z);e>=0&&zp.splice(e,1),Ip===Z&&(Ip=0)},zp.push(Z),A&&Up(i)&&(Ip=Z),Z.enable(d)},t=e,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&kp(t.prototype,r),n&&kp(t,n),e}();lh.version="3.12.5",lh.create=function(e){return new lh(e)},lh.register=oh,lh.getAll=function(){return zp.slice()},lh.getById=function(e){return zp.filter((function(t){return t.vars.id===e}))[0]},Rp()&&Ep.registerPlugin(lh);var ch,uh,fh,dh,ph,hh,mh,vh,gh,yh,bh,xh,_h,wh,Sh,kh,Eh,Ch,Ph,Th,Mh,jh,Ah,Oh,Dh,Nh,Ih,Fh,Lh,Rh,Bh,zh,Vh,Hh,Gh,qh,Wh,Uh,$h=1,Xh=Date.now,Yh=Xh(),Zh=0,Jh=0,Kh=function(e,t,r){var n=dm(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},Qh=function(e,t){return!t||dm(e)&&"clamp("===e.substr(0,6)?e:"clamp("+e+")"},em=function e(){return Jh&&requestAnimationFrame(e)},tm=function(){return wh=1},rm=function(){return wh=0},nm=function(e){return e},im=function(e){return Math.round(1e5*e)/1e5||0},am=function(){return"undefined"!==typeof window},sm=function(){return ch||am()&&(ch=window.gsap)&&ch.registerPlugin&&ch},om=function(e){return!!~mh.indexOf(e)},lm=function(e){return("Height"===e?Bh:fh["inner"+e])||ph["client"+e]||hh["client"+e]},cm=function(e){return Wp(e,"getBoundingClientRect")||(om(e)?function(){return wv.width=fh.innerWidth,wv.height=Bh,wv}:function(){return Im(e)})},um=function(e,t){var r=t.s,n=t.d2,i=t.d,a=t.a;return Math.max(0,(r="scroll"+n)&&(a=Wp(e,r))?a()-cm(e)()[i]:om(e)?(ph[r]||hh[r])-lm(n):e[r]-e["offset"+n])},fm=function(e,t){for(var r=0;r<Ph.length;r+=3)(!t||~t.indexOf(Ph[r+1]))&&e(Ph[r],Ph[r+1],Ph[r+2])},dm=function(e){return"string"===typeof e},pm=function(e){return"function"===typeof e},hm=function(e){return"number"===typeof e},mm=function(e){return"object"===typeof e},vm=function(e,t,r){return e&&e.progress(t?0:1)&&r&&e.pause()},gm=function(e,t){if(e.enabled){var r=e._ctx?e._ctx.add((function(){return t(e)})):t(e);r&&r.totalTime&&(e.callbackAnimation=r)}},ym=Math.abs,bm="left",xm="right",_m="bottom",wm="width",Sm="height",km="Right",Em="Left",Cm="Top",Pm="Bottom",Tm="padding",Mm="margin",jm="Width",Am="Height",Om="px",Dm=function(e){return fh.getComputedStyle(e)},Nm=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Im=function(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==Dm(e)[Sh]&&ch.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return r&&r.progress(0).kill(),n},Fm=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},Lm=function(e){var t,r=[],n=e.labels,i=e.duration();for(t in n)r.push(n[t]/i);return r},Rm=function(e){var t=ch.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort((function(e,t){return e-t}));return r?function(e,n,i){var a;if(void 0===i&&(i=.001),!n)return t(e);if(n>0){for(e-=i,a=0;a<r.length;a++)if(r[a]>=e)return r[a];return r[a-1]}for(a=r.length,e+=i;a--;)if(r[a]<=e)return r[a];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var a=t(r);return!n||Math.abs(a-r)<i||a-r<0===n<0?a:t(n<0?r-e:r+e)}},Bm=function(e,t,r,n){return r.split(",").forEach((function(r){return e(t,r,n)}))},zm=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},Vm=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},Hm=function(e,t,r){(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r))},Gm={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},qm={toggleActions:"play",anticipatePin:0},Wm={top:0,left:0,center:.5,bottom:1,right:1},Um=function(e,t){if(dm(e)){var r=e.indexOf("="),n=~r?+(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in Wm?Wm[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},$m=function(e,t,r,n,i,a,s,o){var l=i.startColor,c=i.endColor,u=i.fontSize,f=i.indent,d=i.fontWeight,p=dh.createElement("div"),h=om(r)||"fixed"===Wp(r,"pinType"),m=-1!==e.indexOf("scroller"),v=h?hh:r,g=-1!==e.indexOf("start"),y=g?l:c,b="border-color:"+y+";font-size:"+u+";color:"+y+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((m||o)&&h?"fixed;":"absolute;"),(m||o||!h)&&(b+=(n===eh?xm:_m)+":"+(a+parseFloat(f))+"px;"),s&&(b+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),p._isStart=g,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=b,p.innerText=t||0===t?e+"-"+t:e,v.children[0]?v.insertBefore(p,v.children[0]):v.appendChild(p),p._offset=p["offset"+n.op.d2],Xm(p,0,n,g),p},Xm=function(e,t,r,n){var i={display:"block"},a=r[n?"os2":"p2"],s=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+a+jm]=1,i["border"+s+jm]=0,i[r.p]=t+"px",ch.set(e,i)},Ym=[],Zm={},Jm=function(){return Xh()-Zh>34&&(Gh||(Gh=requestAnimationFrame(mv)))},Km=function(){(!Ah||!Ah.isPressed||Ah.startX>hh.clientWidth)&&(Vp.cache++,Ah?Gh||(Gh=requestAnimationFrame(mv)):mv(),Zh||iv("scrollStart"),Zh=Xh())},Qm=function(){Nh=fh.innerWidth,Dh=fh.innerHeight},ev=function(){Vp.cache++,!_h&&!jh&&!dh.fullscreenElement&&!dh.webkitFullscreenElement&&(!Oh||Nh!==fh.innerWidth||Math.abs(fh.innerHeight-Dh)>.25*fh.innerHeight)&&vh.restart(!0)},tv={},rv=[],nv=function e(){return Vm(Mv,"scrollEnd",e)||dv(!0)},iv=function(e){return tv[e]&&tv[e].map((function(e){return e()}))||rv},av=[],sv=function(e){for(var t=0;t<av.length;t+=5)(!e||av[t+4]&&av[t+4].query===e)&&(av[t].style.cssText=av[t+1],av[t].getBBox&&av[t].setAttribute("transform",av[t+2]||""),av[t+3].uncache=1)},ov=function(e,t){var r;for(kh=0;kh<Ym.length;kh++)!(r=Ym[kh])||t&&r._ctx!==t||(e?r.kill(1):r.revert(!0,!0));zh=!0,t&&sv(t),t||iv("revert")},lv=function(e,t){Vp.cache++,(t||!qh)&&Vp.forEach((function(e){return pm(e)&&e.cacheID++&&(e.rec=0)})),dm(e)&&(fh.history.scrollRestoration=Lh=e)},cv=0,uv=function(){hh.appendChild(Rh),Bh=!Ah&&Rh.offsetHeight||fh.innerHeight,hh.removeChild(Rh)},fv=function(e){return gh(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach((function(t){return t.style.display=e?"none":"block"}))},dv=function(e,t){if(!Zh||e||zh){uv(),qh=Mv.isRefreshing=!0,Vp.forEach((function(e){return pm(e)&&++e.cacheID&&(e.rec=e())}));var r=iv("refreshInit");Th&&Mv.sort(),t||ov(),Vp.forEach((function(e){pm(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))})),Ym.slice(0).forEach((function(e){return e.refresh()})),zh=!1,Ym.forEach((function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-r),e.refresh()}})),Vh=1,fv(!0),Ym.forEach((function(e){var t=um(e.scroller,e._dir),r="max"===e.vars.end||e._endClamp&&e.end>t,n=e._startClamp&&e.start>=t;(r||n)&&e.setPositions(n?t-1:e.start,r?Math.max(n?t:e.start+1,t):e.end,!0)})),fv(!1),Vh=0,r.forEach((function(e){return e&&e.render&&e.render(-1)})),Vp.forEach((function(e){pm(e)&&(e.smooth&&requestAnimationFrame((function(){return e.target.style.scrollBehavior="smooth"})),e.rec&&e(e.rec))})),lv(Lh,1),vh.pause(),cv++,qh=2,mv(2),Ym.forEach((function(e){return pm(e.vars.onRefresh)&&e.vars.onRefresh(e)})),qh=Mv.isRefreshing=!1,iv("refresh")}else zm(Mv,"scrollEnd",nv)},pv=0,hv=1,mv=function(e){if(2===e||!qh&&!zh){Mv.isUpdating=!0,Uh&&Uh.update(0);var t=Ym.length,r=Xh(),n=r-Yh>=50,i=t&&Ym[0].scroll();if(hv=pv>i?-1:1,qh||(pv=i),n&&(Zh&&!wh&&r-Zh>200&&(Zh=0,iv("scrollEnd")),bh=Yh,Yh=r),hv<0){for(kh=t;kh-- >0;)Ym[kh]&&Ym[kh].update(0,n);hv=1}else for(kh=0;kh<t;kh++)Ym[kh]&&Ym[kh].update(0,n);Mv.isUpdating=!1}Gh=0},vv=[bm,"top",_m,xm,Mm+Pm,Mm+km,Mm+Cm,Mm+Em,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],gv=vv.concat([wm,Sm,"boxSizing","max"+jm,"max"+Am,"position",Mm,Tm,Tm+Cm,Tm+km,Tm+Pm,Tm+Em]),yv=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i,a=vv.length,s=t.style,o=e.style;a--;)s[i=vv[a]]=r[i];s.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(s.display="inline-block"),o[_m]=o[xm]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[wm]=Fm(e,Qp)+Om,s[Sm]=Fm(e,eh)+Om,s[Tm]=o[Mm]=o.top=o[bm]="0",xv(n),o[wm]=o["max"+jm]=r[wm],o[Sm]=o["max"+Am]=r[Sm],o[Tm]=r[Tm],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},bv=/([A-Z])/g,xv=function(e){if(e){var t,r,n=e.t.style,i=e.length,a=0;for((e.t._gsap||ch.core.getCache(e.t)).uncache=1;a<i;a+=2)r=e[a+1],t=e[a],r?n[t]=r:n[t]&&n.removeProperty(t.replace(bv,"-$1").toLowerCase())}},_v=function(e){for(var t=gv.length,r=e.style,n=[],i=0;i<t;i++)n.push(gv[i],r[gv[i]]);return n.t=e,n},wv={left:0,top:0},Sv=function(e,t,r,n,i,a,s,o,l,c,u,f,d,p){pm(e)&&(e=e(o)),dm(e)&&"max"===e.substr(0,3)&&(e=f+("="===e.charAt(4)?Um("0"+e.substr(3),r):0));var h,m,v,g=d?d.time():0;if(d&&d.seek(0),isNaN(e)||(e=+e),hm(e))d&&(e=ch.utils.mapRange(d.scrollTrigger.start,d.scrollTrigger.end,0,f,e)),s&&Xm(s,r,n,!0);else{pm(t)&&(t=t(o));var y,b,x,_,w=(e||"0").split(" ");v=th(t,o)||hh,(y=Im(v)||{})&&(y.left||y.top)||"none"!==Dm(v).display||(_=v.style.display,v.style.display="block",y=Im(v),_?v.style.display=_:v.style.removeProperty("display")),b=Um(w[0],y[n.d]),x=Um(w[1]||"0",r),e=y[n.p]-l[n.p]-c+b+i-x,s&&Xm(s,x,n,r-x<20||s._isStart&&x>20),r-=r-x}if(p&&(o[p]=e||-.001,e<0&&(e=0)),a){var S=e+r,k=a._isStart;h="scroll"+n.d2,Xm(a,S,n,k&&S>20||!k&&(u?Math.max(hh[h],ph[h]):a.parentNode[h])<=S+1),u&&(l=Im(s),u&&(a.style[n.op.p]=l[n.op.p]-n.op.m-a._offset+Om))}return d&&v&&(h=Im(v),d.seek(f),m=Im(v),d._caScrollDist=h[n.p]-m[n.p],e=e/d._caScrollDist*f),d&&d.seek(g),d?e:Math.round(e)},kv=/(webkit|moz|length|cssText|inset)/i,Ev=function(e,t,r,n){if(e.parentNode!==t){var i,a,s=e.style;if(t===hh){for(i in e._stOrig=s.cssText,a=Dm(e))+i||kv.test(i)||!a[i]||"string"!==typeof s[i]||"0"===i||(s[i]=a[i]);s.top=r,s.left=n}else s.cssText=e._stOrig;ch.core.getCache(e).uncache=1,t.appendChild(e)}},Cv=function(e,t,r){var n=t,i=n;return function(t){var a=Math.round(e());return a!==n&&a!==i&&Math.abs(a-n)>3&&Math.abs(a-i)>3&&(t=a,r&&r()),i=n,n=t,t}},Pv=function(e,t,r){var n={};n[t.p]="+="+r,ch.set(e,n)},Tv=function(e,t){var r=rh(e,t),n="_scroll"+t.p2,i=function t(i,a,s,o,l){var c=t.tween,u=a.onComplete,f={};s=s||r();var d=Cv(r,s,(function(){c.kill(),t.tween=0}));return l=o&&l||0,o=o||i-s,c&&c.kill(),a[n]=i,a.inherit=!1,a.modifiers=f,f[n]=function(){return d(s+o*c.ratio+l*c.ratio*c.ratio)},a.onUpdate=function(){Vp.cache++,t.tween&&mv()},a.onComplete=function(){t.tween=0,u&&u.call(c)},c=t.tween=ch.to(e,a)};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},zm(e,"wheel",r.wheelHandler),Mv.isTouch&&zm(e,"touchmove",r.wheelHandler),i},Mv=function(){function e(t,r){uh||e.register(ch)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Fh(this),this.init(t,r)}return e.prototype.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Jh){var n,i,a,s,o,l,c,u,f,d,p,h,m,v,g,y,b,x,_,w,S,k,E,C,P,T,M,j,A,O,D,N,I,F,L,R,B,z,V,H,G=t=Nm(dm(t)||hm(t)||t.nodeType?{trigger:t}:t,qm),q=G.onUpdate,W=G.toggleClass,U=G.id,$=G.onToggle,X=G.onRefresh,Y=G.scrub,Z=G.trigger,J=G.pin,K=G.pinSpacing,Q=G.invalidateOnRefresh,ee=G.anticipatePin,te=G.onScrubComplete,re=G.onSnapComplete,ne=G.once,ie=G.snap,ae=G.pinReparent,se=G.pinSpacer,oe=G.containerAnimation,le=G.fastScrollEnd,ce=G.preventOverlaps,ue=t.horizontal||t.containerAnimation&&!1!==t.horizontal?Qp:eh,fe=!Y&&0!==Y,de=th(t.scroller||fh),pe=ch.core.getCache(de),he=om(de),me="fixed"===("pinType"in t?t.pinType:Wp(de,"pinType")||he&&"fixed"),ve=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],ge=fe&&t.toggleActions.split(" "),ye="markers"in t?t.markers:qm.markers,be=he?0:parseFloat(Dm(de)["border"+ue.p2+jm])||0,xe=this,_e=t.onRefreshInit&&function(){return t.onRefreshInit(xe)},we=function(e,t,r){var n=r.d,i=r.d2,a=r.a;return(a=Wp(e,"getBoundingClientRect"))?function(){return a()[n]}:function(){return(t?lm(i):e["client"+i])||0}}(de,he,ue),Se=function(e,t){return!t||~Hp.indexOf(e)?cm(e):function(){return wv}}(de,he),ke=0,Ee=0,Ce=0,Pe=rh(de,ue);if(xe._startClamp=xe._endClamp=!1,xe._dir=ue,ee*=45,xe.scroller=de,xe.scroll=oe?oe.time.bind(oe):Pe,s=Pe(),xe.vars=t,r=r||t.animation,"refreshPriority"in t&&(Th=1,-9999===t.refreshPriority&&(Uh=xe)),pe.tweenScroll=pe.tweenScroll||{top:Tv(de,eh),left:Tv(de,Qp)},xe.tweenTo=n=pe.tweenScroll[ue.p],xe.scrubDuration=function(e){(I=hm(e)&&e)?N?N.duration(e):N=ch.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:I,paused:!0,onComplete:function(){return te&&te(xe)}}):(N&&N.progress(1).kill(),N=0)},r&&(r.vars.lazy=!1,r._initted&&!xe.isReverted||!1!==r.vars.immediateRender&&!1!==t.immediateRender&&r.duration()&&r.render(0,!0,!0),xe.animation=r.pause(),r.scrollTrigger=xe,xe.scrubDuration(Y),O=0,U||(U=r.vars.id)),ie&&(mm(ie)&&!ie.push||(ie={snapTo:ie}),"scrollBehavior"in hh.style&&ch.set(he?[hh,ph]:de,{scrollBehavior:"auto"}),Vp.forEach((function(e){return pm(e)&&e.target===(he?dh.scrollingElement||ph:de)&&(e.smooth=!1)})),a=pm(ie.snapTo)?ie.snapTo:"labels"===ie.snapTo?function(e){return function(t){return ch.utils.snap(Lm(e),t)}}(r):"labelsDirectional"===ie.snapTo?(H=r,function(e,t){return Rm(Lm(H))(e,t.direction)}):!1!==ie.directional?function(e,t){return Rm(ie.snapTo)(e,Xh()-Ee<500?0:t.direction)}:ch.utils.snap(ie.snapTo),F=ie.duration||{min:.1,max:2},F=mm(F)?yh(F.min,F.max):yh(F,F),L=ch.delayedCall(ie.delay||I/2||.1,(function(){var e=Pe(),t=Xh()-Ee<500,i=n.tween;if(!(t||Math.abs(xe.getVelocity())<10)||i||wh||ke===e)xe.isActive&&ke!==e&&L.restart(!0);else{var s,o,u=(e-l)/v,f=r&&!fe?r.totalProgress():u,d=t?0:(f-D)/(Xh()-bh)*1e3||0,p=ch.utils.clamp(-u,1-u,ym(d/2)*d/.185),h=u+(!1===ie.inertia?0:p),m=ie,g=m.onStart,y=m.onInterrupt,b=m.onComplete;if(s=a(h,xe),hm(s)||(s=h),o=Math.round(l+s*v),e<=c&&e>=l&&o!==e){if(i&&!i._initted&&i.data<=ym(o-e))return;!1===ie.inertia&&(p=s-u),n(o,{duration:F(ym(.185*Math.max(ym(h-f),ym(s-f))/d/.05||0)),ease:ie.ease||"power3",data:ym(o-e),onInterrupt:function(){return L.restart(!0)&&y&&y(xe)},onComplete:function(){xe.update(),ke=Pe(),r&&(N?N.resetTo("totalProgress",s,r._tTime/r._tDur):r.progress(s)),O=D=r&&!fe?r.totalProgress():xe.progress,re&&re(xe),b&&b(xe)}},e,p*v,o-e-p*v),g&&g(xe,n.tween)}}})).pause()),U&&(Zm[U]=xe),(V=(Z=xe.trigger=th(Z||!0!==J&&J))&&Z._gsap&&Z._gsap.stRevert)&&(V=V(xe)),J=!0===J?Z:th(J),dm(W)&&(W={targets:Z,className:W}),J&&(!1===K||K===Mm||(K=!(!K&&J.parentNode&&J.parentNode.style&&"flex"===Dm(J.parentNode).display)&&Tm),xe.pin=J,(i=ch.core.getCache(J)).spacer?g=i.pinState:(se&&((se=th(se))&&!se.nodeType&&(se=se.current||se.nativeElement),i.spacerIsNative=!!se,se&&(i.spacerState=_v(se))),i.spacer=x=se||dh.createElement("div"),x.classList.add("pin-spacer"),U&&x.classList.add("pin-spacer-"+U),i.pinState=g=_v(J)),!1!==t.force3D&&ch.set(J,{force3D:!0}),xe.spacer=x=i.spacer,A=Dm(J),C=A[K+ue.os2],w=ch.getProperty(J),S=ch.quickSetter(J,ue.a,Om),yv(J,x,A),b=_v(J)),ye){h=mm(ye)?Nm(ye,Gm):Gm,d=$m("scroller-start",U,de,ue,h,0),p=$m("scroller-end",U,de,ue,h,0,d),_=d["offset"+ue.op.d2];var Te=th(Wp(de,"content")||de);u=this.markerStart=$m("start",U,Te,ue,h,_,0,oe),f=this.markerEnd=$m("end",U,Te,ue,h,_,0,oe),oe&&(z=ch.quickSetter([u,f],ue.a,Om)),me||Hp.length&&!0===Wp(de,"fixedMarkers")||(!function(e){var t=Dm(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"}(he?hh:de),ch.set([d,p],{force3D:!0}),T=ch.quickSetter(d,ue.a,Om),j=ch.quickSetter(p,ue.a,Om))}if(oe){var Me=oe.vars.onUpdate,je=oe.vars.onUpdateParams;oe.eventCallback("onUpdate",(function(){xe.update(0,0,1),Me&&Me.apply(oe,je||[])}))}if(xe.previous=function(){return Ym[Ym.indexOf(xe)-1]},xe.next=function(){return Ym[Ym.indexOf(xe)+1]},xe.revert=function(e,t){if(!t)return xe.kill(!0);var n=!1!==e||!xe.enabled,i=_h;n!==xe.isReverted&&(n&&(R=Math.max(Pe(),xe.scroll.rec||0),Ce=xe.progress,B=r&&r.progress()),u&&[u,f,d,p].forEach((function(e){return e.style.display=n?"none":"block"})),n&&(_h=xe,xe.update(n)),!J||ae&&xe.isActive||(n?function(e,t,r){xv(r);var n=e._gsap;if(n.spacerIsNative)xv(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1}(J,x,g):yv(J,x,Dm(J),P)),n||xe.update(n),_h=i,xe.isReverted=n)},xe.refresh=function(i,a,h,_){if(!_h&&xe.enabled||a)if(J&&i&&Zh)zm(e,"scrollEnd",nv);else{!qh&&_e&&_e(xe),_h=xe,n.tween&&!h&&(n.tween.kill(),n.tween=0),N&&N.pause(),Q&&r&&r.revert({kill:!1}).invalidate(),xe.isReverted||xe.revert(!0,!0),xe._subPinOffset=!1;var S,C,T,j,A,O,D,I,F,z,V,H,G,q=we(),W=Se(),U=oe?oe.duration():um(de,ue),$=v<=.01,Y=0,ee=_||0,te=mm(h)?h.end:t.end,re=t.endTrigger||Z,ne=mm(h)?h.start:t.start||(0!==t.start&&Z?J?"0 0":"0 100%":0),ie=xe.pinnedContainer=t.pinnedContainer&&th(t.pinnedContainer,xe),se=Z&&Math.max(0,Ym.indexOf(xe))||0,le=se;for(ye&&mm(h)&&(H=ch.getProperty(d,ue.p),G=ch.getProperty(p,ue.p));le--;)(O=Ym[le]).end||O.refresh(0,1)||(_h=xe),!(D=O.pin)||D!==Z&&D!==J&&D!==ie||O.isReverted||(z||(z=[]),z.unshift(O),O.revert(!0,!0)),O!==Ym[le]&&(se--,le--);for(pm(ne)&&(ne=ne(xe)),ne=Kh(ne,"start",xe),l=Sv(ne,Z,q,ue,Pe(),u,d,xe,W,be,me,U,oe,xe._startClamp&&"_startClamp")||(J?-.001:0),pm(te)&&(te=te(xe)),dm(te)&&!te.indexOf("+=")&&(~te.indexOf(" ")?te=(dm(ne)?ne.split(" ")[0]:"")+te:(Y=Um(te.substr(2),q),te=dm(ne)?ne:(oe?ch.utils.mapRange(0,oe.duration(),oe.scrollTrigger.start,oe.scrollTrigger.end,l):l)+Y,re=Z)),te=Kh(te,"end",xe),c=Math.max(l,Sv(te||(re?"100% 0":U),re,q,ue,Pe()+Y,f,p,xe,W,be,me,U,oe,xe._endClamp&&"_endClamp"))||-.001,Y=0,le=se;le--;)(D=(O=Ym[le]).pin)&&O.start-O._pinPush<=l&&!oe&&O.end>0&&(S=O.end-(xe._startClamp?Math.max(0,O.start):O.start),(D===Z&&O.start-O._pinPush<l||D===ie)&&isNaN(ne)&&(Y+=S*(1-O.progress)),D===J&&(ee+=S));if(l+=Y,c+=Y,xe._startClamp&&(xe._startClamp+=Y),xe._endClamp&&!qh&&(xe._endClamp=c||-.001,c=Math.min(c,um(de,ue))),v=c-l||(l-=.01)&&.001,$&&(Ce=ch.utils.clamp(0,1,ch.utils.normalize(l,c,R))),xe._pinPush=ee,u&&Y&&((S={})[ue.a]="+="+Y,ie&&(S[ue.p]="-="+Pe()),ch.set([u,f],S)),!J||Vh&&xe.end>=um(de,ue)){if(Z&&Pe()&&!oe)for(C=Z.parentNode;C&&C!==hh;)C._pinOffset&&(l-=C._pinOffset,c-=C._pinOffset),C=C.parentNode}else S=Dm(J),j=ue===eh,T=Pe(),k=parseFloat(w(ue.a))+ee,!U&&c>1&&(V={style:V=(he?dh.scrollingElement||ph:de).style,value:V["overflow"+ue.a.toUpperCase()]},he&&"scroll"!==Dm(hh)["overflow"+ue.a.toUpperCase()]&&(V.style["overflow"+ue.a.toUpperCase()]="scroll")),yv(J,x,S),b=_v(J),C=Im(J,!0),I=me&&rh(de,j?Qp:eh)(),K?((P=[K+ue.os2,v+ee+Om]).t=x,(le=K===Tm?Fm(J,ue)+v+ee:0)&&(P.push(ue.d,le+Om),"auto"!==x.style.flexBasis&&(x.style.flexBasis=le+Om)),xv(P),ie&&Ym.forEach((function(e){e.pin===ie&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)})),me&&Pe(R)):(le=Fm(J,ue))&&"auto"!==x.style.flexBasis&&(x.style.flexBasis=le+Om),me&&((A={top:C.top+(j?T-l:I)+Om,left:C.left+(j?I:T-l)+Om,boxSizing:"border-box",position:"fixed"})[wm]=A["max"+jm]=Math.ceil(C.width)+Om,A[Sm]=A["max"+Am]=Math.ceil(C.height)+Om,A[Mm]=A[Mm+Cm]=A[Mm+km]=A[Mm+Pm]=A[Mm+Em]="0",A[Tm]=S[Tm],A[Tm+Cm]=S[Tm+Cm],A[Tm+km]=S[Tm+km],A[Tm+Pm]=S[Tm+Pm],A[Tm+Em]=S[Tm+Em],y=function(e,t,r){for(var n,i=[],a=e.length,s=r?8:0;s<a;s+=2)n=e[s],i.push(n,n in t?t[n]:e[s+1]);return i.t=e.t,i}(g,A,ae),qh&&Pe(0)),r?(F=r._initted,Mh(1),r.render(r.duration(),!0,!0),E=w(ue.a)-k+v+ee,M=Math.abs(v-E)>1,me&&M&&y.splice(y.length-2,2),r.render(0,!0,!0),F||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),Mh(0)):E=v,V&&(V.value?V.style["overflow"+ue.a.toUpperCase()]=V.value:V.style.removeProperty("overflow-"+ue.a));z&&z.forEach((function(e){return e.revert(!1,!0)})),xe.start=l,xe.end=c,s=o=qh?R:Pe(),oe||qh||(s<R&&Pe(R),xe.scroll.rec=0),xe.revert(!1,!0),Ee=Xh(),L&&(ke=-1,L.restart(!0)),_h=0,r&&fe&&(r._initted||B)&&r.progress()!==B&&r.progress(B||0,!0).render(r.time(),!0,!0),($||Ce!==xe.progress||oe||Q)&&(r&&!fe&&r.totalProgress(oe&&l<-.001&&!Ce?ch.utils.normalize(l,c,0):Ce,!0),xe.progress=$||(s-l)/v===Ce?0:Ce),J&&K&&(x._pinOffset=Math.round(xe.progress*E)),N&&N.invalidate(),isNaN(H)||(H-=ch.getProperty(d,ue.p),G-=ch.getProperty(p,ue.p),Pv(d,ue,H),Pv(u,ue,H-(_||0)),Pv(p,ue,G),Pv(f,ue,G-(_||0))),$&&!qh&&xe.update(),!X||qh||m||(m=!0,X(xe),m=!1)}},xe.getVelocity=function(){return(Pe()-o)/(Xh()-bh)*1e3||0},xe.endAnimation=function(){vm(xe.callbackAnimation),r&&(N?N.progress(1):r.paused()?fe||vm(r,xe.direction<0,1):vm(r,r.reversed()))},xe.labelToScroll=function(e){return r&&r.labels&&(l||xe.refresh()||l)+r.labels[e]/r.duration()*v||0},xe.getTrailing=function(e){var t=Ym.indexOf(xe),r=xe.direction>0?Ym.slice(0,t).reverse():Ym.slice(t+1);return(dm(e)?r.filter((function(t){return t.vars.preventOverlaps===e})):r).filter((function(e){return xe.direction>0?e.end<=l:e.start>=c}))},xe.update=function(e,t,i){if(!oe||i||e){var a,u,f,p,h,m,g,_=!0===qh?R:xe.scroll(),w=e?0:(_-l)/v,P=w<0?0:w>1?1:w||0,A=xe.progress;if(t&&(o=s,s=oe?Pe():_,ie&&(D=O,O=r&&!fe?r.totalProgress():P)),ee&&J&&!_h&&!$h&&Zh&&(!P&&l<_+(_-o)/(Xh()-bh)*ee?P=1e-4:1===P&&c>_+(_-o)/(Xh()-bh)*ee&&(P=.9999)),P!==A&&xe.enabled){if(p=(h=(a=xe.isActive=!!P&&P<1)!==(!!A&&A<1))||!!P!==!!A,xe.direction=P>A?1:-1,xe.progress=P,p&&!_h&&(u=P&&!A?0:1===P?1:1===A?2:3,fe&&(f=!h&&"none"!==ge[u+1]&&ge[u+1]||ge[u],g=r&&("complete"===f||"reset"===f||f in r))),ce&&(h||g)&&(g||Y||!r)&&(pm(ce)?ce(xe):xe.getTrailing(ce).forEach((function(e){return e.endAnimation()}))),fe||(!N||_h||$h?r&&r.totalProgress(P,!(!_h||!Ee&&!e)):(N._dp._time-N._start!==N._time&&N.render(N._dp._time-N._start),N.resetTo?N.resetTo("totalProgress",P,r._tTime/r._tDur):(N.vars.totalProgress=P,N.invalidate().restart()))),J)if(e&&K&&(x.style[K+ue.os2]=C),me){if(p){if(m=!e&&P>A&&c+1>_&&_+1>=um(de,ue),ae)if(e||!a&&!m)Ev(J,x);else{var I=Im(J,!0),F=_-l;Ev(J,hh,I.top+(ue===eh?F:0)+Om,I.left+(ue===eh?0:F)+Om)}xv(a||m?y:b),M&&P<1&&a||S(k+(1!==P||m?0:E))}}else S(im(k+E*P));ie&&!n.tween&&!_h&&!$h&&L.restart(!0),W&&(h||ne&&P&&(P<1||!Hh))&&gh(W.targets).forEach((function(e){return e.classList[a||ne?"add":"remove"](W.className)})),q&&!fe&&!e&&q(xe),p&&!_h?(fe&&(g&&("complete"===f?r.pause().totalProgress(1):"reset"===f?r.restart(!0).pause():"restart"===f?r.restart(!0):r[f]()),q&&q(xe)),!h&&Hh||($&&h&&gm(xe,$),ve[u]&&gm(xe,ve[u]),ne&&(1===P?xe.kill(!1,1):ve[u]=0),h||ve[u=1===P?1:3]&&gm(xe,ve[u])),le&&!a&&Math.abs(xe.getVelocity())>(hm(le)?le:2500)&&(vm(xe.callbackAnimation),N?N.progress(1):vm(r,"reverse"===f?1:!P,1))):fe&&q&&!_h&&q(xe)}if(j){var B=oe?_/oe.duration()*(oe._caScrollDist||0):_;T(B+(d._isFlipped?1:0)),j(B)}z&&z(-_/oe.duration()*(oe._caScrollDist||0))}},xe.enable=function(t,r){xe.enabled||(xe.enabled=!0,zm(de,"resize",ev),he||zm(de,"scroll",Km),_e&&zm(e,"refreshInit",_e),!1!==t&&(xe.progress=Ce=0,s=o=ke=Pe()),!1!==r&&xe.refresh())},xe.getTween=function(e){return e&&n?n.tween:N},xe.setPositions=function(e,t,r,n){if(oe){var i=oe.scrollTrigger,a=oe.duration(),s=i.end-i.start;e=i.start+s*e/a,t=i.start+s*t/a}xe.refresh(!1,!1,{start:Qh(e,r&&!!xe._startClamp),end:Qh(t,r&&!!xe._endClamp)},n),xe.update()},xe.adjustPinSpacing=function(e){if(P&&e){var t=P.indexOf(ue.d)+1;P[t]=parseFloat(P[t])+e+Om,P[1]=parseFloat(P[1])+e+Om,xv(P)}},xe.disable=function(t,r){if(xe.enabled&&(!1!==t&&xe.revert(!0,!0),xe.enabled=xe.isActive=!1,r||N&&N.pause(),R=0,i&&(i.uncache=1),_e&&Vm(e,"refreshInit",_e),L&&(L.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!he)){for(var a=Ym.length;a--;)if(Ym[a].scroller===de&&Ym[a]!==xe)return;Vm(de,"resize",ev),he||Vm(de,"scroll",Km)}},xe.kill=function(e,n){xe.disable(e,n),N&&!n&&N.kill(),U&&delete Zm[U];var a=Ym.indexOf(xe);a>=0&&Ym.splice(a,1),a===kh&&hv>0&&kh--,a=0,Ym.forEach((function(e){return e.scroller===xe.scroller&&(a=1)})),a||qh||(xe.scroll.rec=0),r&&(r.scrollTrigger=null,e&&r.revert({kill:!1}),n||r.kill()),u&&[u,f,d,p].forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),Uh===xe&&(Uh=0),J&&(i&&(i.uncache=1),a=0,Ym.forEach((function(e){return e.pin===J&&a++})),a||(i.spacer=0)),t.onKill&&t.onKill(xe)},Ym.push(xe),xe.enable(!1,!1),V&&V(xe),r&&r.add&&!v){var Ae=xe.update;xe.update=function(){xe.update=Ae,l||c||xe.refresh()},ch.delayedCall(.01,xe.update),v=.01,l=c=0}else xe.refresh();J&&function(){if(Wh!==cv){var e=Wh=cv;requestAnimationFrame((function(){return e===cv&&dv(!0)}))}}()}else this.update=this.refresh=this.kill=nm},e.register=function(t){return uh||(ch=t||sm(),am()&&window.document&&e.enable(),uh=Jh),uh},e.defaults=function(e){if(e)for(var t in e)qm[t]=e[t];return qm},e.disable=function(e,t){Jh=0,Ym.forEach((function(r){return r[t?"kill":"disable"](e)})),Vm(fh,"wheel",Km),Vm(dh,"scroll",Km),clearInterval(xh),Vm(dh,"touchcancel",nm),Vm(hh,"touchstart",nm),Bm(Vm,dh,"pointerdown,touchstart,mousedown",tm),Bm(Vm,dh,"pointerup,touchend,mouseup",rm),vh.kill(),fm(Vm);for(var r=0;r<Vp.length;r+=3)Hm(Vm,Vp[r],Vp[r+1]),Hm(Vm,Vp[r],Vp[r+2])},e.enable=function(){if(fh=window,dh=document,ph=dh.documentElement,hh=dh.body,ch&&(gh=ch.utils.toArray,yh=ch.utils.clamp,Fh=ch.core.context||nm,Mh=ch.core.suppressOverwrites||nm,Lh=fh.history.scrollRestoration||"auto",pv=fh.pageYOffset,ch.core.globals("ScrollTrigger",e),hh)){Jh=1,(Rh=document.createElement("div")).style.height="100vh",Rh.style.position="absolute",uv(),em(),lh.register(ch),e.isTouch=lh.isTouch,Ih=lh.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Oh=1===lh.isTouch,zm(fh,"wheel",Km),mh=[fh,dh,ph,hh],ch.matchMedia?(e.matchMedia=function(e){var t,r=ch.matchMedia();for(t in e)r.add(t,e[t]);return r},ch.addEventListener("matchMediaInit",(function(){return ov()})),ch.addEventListener("matchMediaRevert",(function(){return sv()})),ch.addEventListener("matchMedia",(function(){dv(0,1),iv("matchMedia")})),ch.matchMedia("(orientation: portrait)",(function(){return Qm(),Qm}))):console.warn("Requires GSAP 3.11.0 or later"),Qm(),zm(dh,"scroll",Km);var t,r,n=hh.style,i=n.borderTopStyle,a=ch.core.Animation.prototype;for(a.revert||Object.defineProperty(a,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",t=Im(hh),eh.m=Math.round(t.top+eh.sc())||0,Qp.m=Math.round(t.left+Qp.sc())||0,i?n.borderTopStyle=i:n.removeProperty("border-top-style"),xh=setInterval(Jm,250),ch.delayedCall(.5,(function(){return $h=0})),zm(dh,"touchcancel",nm),zm(hh,"touchstart",nm),Bm(zm,dh,"pointerdown,touchstart,mousedown",tm),Bm(zm,dh,"pointerup,touchend,mouseup",rm),Sh=ch.utils.checkPrefix("transform"),gv.push(Sh),uh=Xh(),vh=ch.delayedCall(.2,dv).pause(),Ph=[dh,"visibilitychange",function(){var e=fh.innerWidth,t=fh.innerHeight;dh.hidden?(Eh=e,Ch=t):Eh===e&&Ch===t||ev()},dh,"DOMContentLoaded",dv,fh,"load",dv,fh,"resize",ev],fm(zm),Ym.forEach((function(e){return e.enable(0,1)})),r=0;r<Vp.length;r+=3)Hm(Vm,Vp[r],Vp[r+1]),Hm(Vm,Vp[r],Vp[r+2])}},e.config=function(t){"limitCallbacks"in t&&(Hh=!!t.limitCallbacks);var r=t.syncInterval;r&&clearInterval(xh)||(xh=r)&&setInterval(Jm,r),"ignoreMobileResize"in t&&(Oh=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(fm(Vm)||fm(zm,t.autoRefreshEvents||"none"),jh=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var r=th(e),n=Vp.indexOf(r),i=om(r);~n&&Vp.splice(n,i?6:2),t&&(i?Hp.unshift(fh,t,hh,t,ph,t):Hp.unshift(r,t))},e.clearMatchMedia=function(e){Ym.forEach((function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)}))},e.isInViewport=function(e,t,r){var n=(dm(e)?th(e):e).getBoundingClientRect(),i=n[r?wm:Sm]*t||0;return r?n.right-i>0&&n.left+i<fh.innerWidth:n.bottom-i>0&&n.top+i<fh.innerHeight},e.positionInViewport=function(e,t,r){dm(e)&&(e=th(e));var n=e.getBoundingClientRect(),i=n[r?wm:Sm],a=null==t?i/2:t in Wm?Wm[t]*i:~t.indexOf("%")?parseFloat(t)*i/100:parseFloat(t)||0;return r?(n.left+a)/fh.innerWidth:(n.top+a)/fh.innerHeight},e.killAll=function(e){if(Ym.slice(0).forEach((function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()})),!0!==e){var t=tv.killAll||[];tv={},t.forEach((function(e){return e()}))}},e}();Mv.version="3.12.5",Mv.saveStyles=function(e){return e?gh(e).forEach((function(e){if(e&&e.style){var t=av.indexOf(e);t>=0&&av.splice(t,5),av.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),ch.core.getCache(e),Fh())}})):av},Mv.revert=function(e,t){return ov(!e,t)},Mv.create=function(e,t){return new Mv(e,t)},Mv.refresh=function(e){return e?ev():(uh||Mv.register())&&dv(!0)},Mv.update=function(e){return++Vp.cache&&mv(!0===e?2:0)},Mv.clearScrollMemory=lv,Mv.maxScroll=function(e,t){return um(e,t?Qp:eh)},Mv.getScrollFunc=function(e,t){return rh(th(e),t?Qp:eh)},Mv.getById=function(e){return Zm[e]},Mv.getAll=function(){return Ym.filter((function(e){return"ScrollSmoother"!==e.vars.id}))},Mv.isScrolling=function(){return!!Zh},Mv.snapDirectional=Rm,Mv.addEventListener=function(e,t){var r=tv[e]||(tv[e]=[]);~r.indexOf(t)||r.push(t)},Mv.removeEventListener=function(e,t){var r=tv[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},Mv.batch=function(e,t){var r,n=[],i={},a=t.interval||.016,s=t.batchMax||1e9,o=function(e,t){var r=[],n=[],i=ch.delayedCall(a,(function(){t(r,n),r=[],n=[]})).pause();return function(e){r.length||i.restart(!0),r.push(e.trigger),n.push(e),s<=r.length&&i.progress(1)}};for(r in t)i[r]="on"===r.substr(0,2)&&pm(t[r])&&"onRefreshInit"!==r?o(0,t[r]):t[r];return pm(s)&&(s=s(),zm(Mv,"refresh",(function(){return s=t.batchMax()}))),gh(e).forEach((function(e){var t={};for(r in i)t[r]=i[r];t.trigger=e,n.push(Mv.create(t))})),n};var jv,Av=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},Ov=function e(t,r){!0===r?t.style.removeProperty("touch-action"):t.style.touchAction=!0===r?"auto":r?"pan-"+r+(lh.isTouch?" pinch-zoom":""):"none",t===ph&&e(hh,r)},Dv={auto:1,scroll:1},Nv=function(e){var t,r=e.event,n=e.target,i=e.axis,a=(r.changedTouches?r.changedTouches[0]:r).target,s=a._gsap||ch.core.getCache(a),o=Xh();if(!s._isScrollT||o-s._isScrollT>2e3){for(;a&&a!==hh&&(a.scrollHeight<=a.clientHeight&&a.scrollWidth<=a.clientWidth||!Dv[(t=Dm(a)).overflowY]&&!Dv[t.overflowX]);)a=a.parentNode;s._isScroll=a&&a!==n&&!om(a)&&(Dv[(t=Dm(a)).overflowY]||Dv[t.overflowX]),s._isScrollT=o}(s._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},Iv=function(e,t,r,n){return lh.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&Nv,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&zm(dh,lh.eventTypes[0],Lv,!1,!0)},onDisable:function(){return Vm(dh,lh.eventTypes[0],Lv,!0)}})},Fv=/(input|label|select|textarea)/i,Lv=function(e){var t=Fv.test(e.target.tagName);(t||jv)&&(e._gsapAllow=!0,jv=t)},Rv=function(e){mm(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,r,n,i,a,s,o,l,c=e,u=c.normalizeScrollX,f=c.momentum,d=c.allowNestedScroll,p=c.onRelease,h=th(e.target)||ph,m=ch.core.globals().ScrollSmoother,v=m&&m.get(),g=Ih&&(e.content&&th(e.content)||v&&!1!==e.content&&!v.smooth()&&v.content()),y=rh(h,eh),b=rh(h,Qp),x=1,_=(lh.isTouch&&fh.visualViewport?fh.visualViewport.scale*fh.visualViewport.width:fh.outerWidth)/fh.innerWidth,w=0,S=pm(f)?function(){return f(t)}:function(){return f||2.8},k=Iv(h,e.type,!0,d),E=function(){return i=!1},C=nm,P=nm,T=function(){r=um(h,eh),P=yh(Ih?1:0,r),u&&(C=yh(0,um(h,Qp))),n=cv},M=function(){g._gsap.y=im(parseFloat(g._gsap.y)+y.offset)+"px",g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(g._gsap.y)+", 0, 1)",y.offset=y.cacheID=0},j=function(){T(),a.isActive()&&a.vars.scrollY>r&&(y()>r?a.progress(1)&&y(r):a.resetTo("scrollY",r))};return g&&ch.set(g,{y:"+=0"}),e.ignoreCheck=function(e){return Ih&&"touchmove"===e.type&&function(){if(i){requestAnimationFrame(E);var e=im(t.deltaY/2),r=P(y.v-e);if(g&&r!==y.v+y.offset){y.offset=r-y.v;var n=im((parseFloat(g&&g._gsap.y)||0)-y.offset);g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",g._gsap.y=n+"px",y.cacheID=Vp.cache,mv()}return!0}y.offset&&M(),i=!0}()||x>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){i=!1;var e=x;x=im((fh.visualViewport&&fh.visualViewport.scale||1)/_),a.pause(),e!==x&&Ov(h,x>1.01||!u&&"x"),s=b(),o=y(),T(),n=cv},e.onRelease=e.onGestureStart=function(e,t){if(y.offset&&M(),t){Vp.cache++;var n,i,s=S();u&&(i=(n=b())+.05*s*-e.velocityX/.227,s*=Av(b,n,i,um(h,Qp)),a.vars.scrollX=C(i)),i=(n=y())+.05*s*-e.velocityY/.227,s*=Av(y,n,i,um(h,eh)),a.vars.scrollY=P(i),a.invalidate().duration(s).play(.01),(Ih&&a.vars.scrollY>=r||n>=r-1)&&ch.to({},{onUpdate:j,duration:s})}else l.restart(!0);p&&p(e)},e.onWheel=function(){a._ts&&a.pause(),Xh()-w>1e3&&(n=0,w=Xh())},e.onChange=function(e,t,r,i,a){if(cv!==n&&T(),t&&u&&b(C(i[2]===t?s+(e.startX-e.x):b()+t-i[1])),r){y.offset&&M();var l=a[2]===r,c=l?o+e.startY-e.y:y()+r-a[1],f=P(c);l&&c!==f&&(o+=f-c),y(f)}(r||t)&&mv()},e.onEnable=function(){Ov(h,!u&&"x"),Mv.addEventListener("refresh",j),zm(fh,"resize",j),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=b.smooth=!1),k.enable()},e.onDisable=function(){Ov(h,!0),Vm(fh,"resize",j),Mv.removeEventListener("refresh",j),k.kill()},e.lockAxis=!1!==e.lockAxis,(t=new lh(e)).iOS=Ih,Ih&&!y()&&y(1),Ih&&ch.ticker.add(nm),l=t._dc,a=ch.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Cv(y,y(),(function(){return a.pause()}))},onUpdate:mv,onComplete:l.vars.onComplete}),t};Mv.sort=function(e){return Ym.sort(e||function(e,t){return-1e6*(e.vars.refreshPriority||0)+e.start-(t.start+-1e6*(t.vars.refreshPriority||0))})},Mv.observe=function(e){return new lh(e)},Mv.normalizeScroll=function(e){if("undefined"===typeof e)return Ah;if(!0===e&&Ah)return Ah.enable();if(!1===e)return Ah&&Ah.kill(),void(Ah=e);var t=e instanceof lh?e:Rv(e);return Ah&&Ah.target===t.target&&Ah.kill(),om(t.target)&&(Ah=t),t},Mv.core={_getVelocityProp:nh,_inputObserver:Iv,_scrollers:Vp,_proxies:Hp,bridge:{ss:function(){Zh||iv("scrollStart"),Zh=Xh()},ref:function(){return _h}}},sm()&&ch.registerPlugin(Mv),gp.registerPlugin(Mv);var Bv=!1,zv="power1.in",Vv="top 75%",Hv=function(e){return gp.from(e,ce({y:e.classList.contains("label-button")?0:10,opacity:0,ease:zv,duration:.4,scrollTrigger:{trigger:e,start:Vv,end:"top",markers:Bv}},{}))},Gv=[".has-animation",".label-button",".form-section"],qv=function(e){var t=e.items,r=e.container,n=e.dependencies;Sp((function(){gp.utils.toArray([].concat(Gv,Fr(t))).forEach((function(e){return Hv(e)}))}),{dependencies:void 0===n?[]:n,scope:r,revertOnUpdate:!0})},Wv=function(e){var t=e.item,r=e.container,n=e.trigger,i=e.dependencies;Sp((function(){!function(e){var t=e.item,r=e.trigger;gp.from(t,ce({opacity:0,ease:zv,duration:.4,stagger:.15,scrollTrigger:{trigger:r,start:Vv,markers:Bv}},{}))}({item:t,trigger:n})}),{dependencies:void 0===i?[]:i,scope:r,revertOnUpdate:!0})},Uv=__webpack_require__(625),$v=__webpack_require__.n(Uv),Xv=__webpack_require__(599),Yv=__webpack_require__.n(Xv),Zv=__webpack_require__(980),Jv=__webpack_require__.n(Zv);function Kv(){return Kv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Kv.apply(this,arguments)}function Qv(e,t){return e(t={exports:{}},t.exports),t.exports}var eg="function"===typeof Symbol&&Symbol.for,tg=eg?Symbol.for("react.element"):60103,rg=eg?Symbol.for("react.portal"):60106,ng=eg?Symbol.for("react.fragment"):60107,ig=eg?Symbol.for("react.strict_mode"):60108,ag=eg?Symbol.for("react.profiler"):60114,sg=eg?Symbol.for("react.provider"):60109,og=eg?Symbol.for("react.context"):60110,lg=eg?Symbol.for("react.async_mode"):60111,cg=eg?Symbol.for("react.concurrent_mode"):60111,ug=eg?Symbol.for("react.forward_ref"):60112,fg=eg?Symbol.for("react.suspense"):60113,dg=eg?Symbol.for("react.suspense_list"):60120,pg=eg?Symbol.for("react.memo"):60115,hg=eg?Symbol.for("react.lazy"):60116,mg=eg?Symbol.for("react.block"):60121,vg=eg?Symbol.for("react.fundamental"):60117,gg=eg?Symbol.for("react.responder"):60118,yg=eg?Symbol.for("react.scope"):60119;function bg(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case tg:switch(e=e.type){case lg:case cg:case ng:case ag:case ig:case fg:return e;default:switch(e=e&&e.$$typeof){case og:case ug:case hg:case pg:case sg:return e;default:return t}}case rg:return t}}}function xg(e){return bg(e)===cg}var _g={AsyncMode:lg,ConcurrentMode:cg,ContextConsumer:og,ContextProvider:sg,Element:tg,ForwardRef:ug,Fragment:ng,Lazy:hg,Memo:pg,Portal:rg,Profiler:ag,StrictMode:ig,Suspense:fg,isAsyncMode:function(e){return xg(e)||bg(e)===lg},isConcurrentMode:xg,isContextConsumer:function(e){return bg(e)===og},isContextProvider:function(e){return bg(e)===sg},isElement:function(e){return"object"===typeof e&&null!==e&&e.$$typeof===tg},isForwardRef:function(e){return bg(e)===ug},isFragment:function(e){return bg(e)===ng},isLazy:function(e){return bg(e)===hg},isMemo:function(e){return bg(e)===pg},isPortal:function(e){return bg(e)===rg},isProfiler:function(e){return bg(e)===ag},isStrictMode:function(e){return bg(e)===ig},isSuspense:function(e){return bg(e)===fg},isValidElementType:function(e){return"string"===typeof e||"function"===typeof e||e===ng||e===cg||e===ag||e===ig||e===fg||e===dg||"object"===typeof e&&null!==e&&(e.$$typeof===hg||e.$$typeof===pg||e.$$typeof===sg||e.$$typeof===og||e.$$typeof===ug||e.$$typeof===vg||e.$$typeof===gg||e.$$typeof===yg||e.$$typeof===mg)},typeOf:bg},wg=(Qv((function(e,t){0})),Qv((function(e){e.exports=_g})),Object.getOwnPropertySymbols),Sg=Object.prototype.hasOwnProperty,kg=Object.prototype.propertyIsEnumerable;(function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==n.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(a){return!1}})()&&Object.assign;var Eg="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Function.call.bind(Object.prototype.hasOwnProperty);function Cg(e,t,r,n,i){}Cg.resetWarningCache=function(){0};function Pg(){}function Tg(){}Tg.resetWarningCache=Pg;var Mg=Qv((function(e){e.exports=function(){function e(e,t,r,n,i,a){if(a!==Eg){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Tg,resetWarningCache:Pg};return r.PropTypes=r,r}()})),jg={animationData:Mg.object,path:Mg.string,play:Mg.bool,goTo:Mg.number,speed:Mg.number,direction:Mg.number,loop:Mg.oneOfType([Mg.number,Mg.bool]),useSubframes:Mg.bool,segments:Mg.oneOfType([Mg.arrayOf(Mg.number),Mg.bool]),rendererSettings:Mg.object,renderer:Mg.string,audioFactory:Mg.func,onComplete:Mg.func,onLoopComplete:Mg.func,onEnterFrame:Mg.func,onSegmentStart:Mg.func},Ag={},Og=function(){},Dg=function(e){var r=e.loadAnimation,n=(0,t.memo)((0,t.forwardRef)((function(e,n){var i=e.animationData,a=void 0===i?null:i,s=e.path,o=void 0===s?null:s,l=e.play,c=void 0===l?null:l,u=e.speed,f=void 0===u?1:u,d=e.direction,p=void 0===d?1:d,h=e.segments,m=void 0===h?null:h,v=e.goTo,g=void 0===v?null:v,y=e.useSubframes,b=void 0===y||y,x=e.renderer,_=void 0===x?"svg":x,w=e.loop,S=void 0===w||w,k=e.rendererSettings,E=void 0===k?Ag:k,C=e.audioFactory,P=void 0===C?null:C,T=e.onLoad,M=void 0===T?Og:T,j=e.onComplete,A=void 0===j?Og:j,O=e.onLoopComplete,D=void 0===O?Og:O,N=e.onEnterFrame,I=void 0===N?Og:N,F=e.onSegmentStart,L=void 0===F?Og:F,R=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,["animationData","path","play","speed","direction","segments","goTo","useSubframes","renderer","loop","rendererSettings","audioFactory","onLoad","onComplete","onLoopComplete","onEnterFrame","onSegmentStart"]),B=(0,t.useRef)(),z=(0,t.useRef)(),V=(0,t.useState)(!1),H=V[0],G=V[1],q=(0,t.useState)(m),W=q[0],U=q[1];(0,t.useEffect)((function(){Yv()(W,m)||U(m)}),[m,W]);var $=(0,t.useState)(E),X=$[0],Y=$[1];(0,t.useEffect)((function(){Yv()(X,E)||Y(E)}),[E,X]),(0,t.useEffect)((function(){return function(){return z.current.removeEventListener("complete",A)}}),[A]),(0,t.useEffect)((function(){return function(){return z.current.removeEventListener("loopComplete",D)}}),[D]),(0,t.useEffect)((function(){return function(){return z.current.removeEventListener("enterFrame",I)}}),[I]),(0,t.useEffect)((function(){return function(){return z.current.removeEventListener("segmentStart",L)}}),[L]),(0,t.useEffect)((function(){return function(){return z.current.removeEventListener("DOMLoaded",M)}}),[M]);var Z=(0,t.useCallback)((function(e){z.current=e,"function"===typeof n?n(e):void 0!==n&&null!==n&&(n.current=e)}),[n]);(0,t.useEffect)((function(){var e=r({animationData:null==a||"object"!==typeof a?a:"object"===typeof a.default?Jv()(a.default):Jv()(a),path:o,container:B.current,renderer:_,loop:!1,autoplay:!1,rendererSettings:X,audioFactory:P});Z(e);var t=function(){return G(!0)};return z.current.addEventListener("DOMLoaded",t),function(){z.current.removeEventListener("DOMLoaded",t),G(!1),z.current.destroy(),Z(void 0)}}),[S,_,X,a,o,P,Z]),(0,t.useEffect)((function(){z.current.addEventListener("DOMLoaded",M)}),[M]),(0,t.useEffect)((function(){z.current.addEventListener("complete",A)}),[A]),(0,t.useEffect)((function(){z.current.addEventListener("loopComplete",D)}),[D]),(0,t.useEffect)((function(){z.current.addEventListener("enterFrame",I)}),[I]),(0,t.useEffect)((function(){z.current.addEventListener("segmentStart",L)}),[L]),(0,t.useEffect)((function(){H&&(z.current.loop=S)}),[H,S]);var J=(0,t.useRef)(!1);return(0,t.useEffect)((function(){if(H)if(!0===c){if(W){if(z.current.playSegments(W,true),J.current=!0,-1===p)e(W[1])}else if(J.current&&z.current.resetSegments(true),J.current=!1,-1===p)e(z.current.getDuration(!0));else z.current.play()}else!1===c&&z.current.pause();function e(e){z.current.goToAndPlay(e,!0),z.current.setDirection(p)}}),[c,W,H,p]),(0,t.useEffect)((function(){H&&(Number.isNaN(f)||z.current.setSpeed(f))}),[f,H]),(0,t.useEffect)((function(){H&&z.current.setDirection(p)}),[p,H]),(0,t.useEffect)((function(){if(H&&null!=g){c?z.current.goToAndPlay(g,true):z.current.goToAndStop(g,true)}}),[g,c,H]),(0,t.useEffect)((function(){z.current.setSubframe&&z.current.setSubframe(b)}),[b]),t.createElement("div",Kv({},R,{ref:B}))})));return n.propTypes=jg,n}($v()),Ng=Dg,Ig=JSON.parse('{"nm":"Preloader","v":"5.9.6","fr":60,"ip":0,"op":239,"w":1440,"h":800,"ddd":0,"markers":[],"assets":[{"nm":"Progress","fr":60,"id":"3567:24596","layers":[{"ty":3,"ddd":0,"ind":11,"hd":false,"nm":"Progress - Null","ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[608,440]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":4,"ddd":0,"ind":12,"hd":false,"nm":"Progress - Shape Mask","parent":11,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":true,"v":[[2,0],[222,0],[224,2],[224,2],[222,4],[2,4],[0,2],[0,2],[2,0],[2,0]],"i":[[0,0],[0,0],[0,-1.1046],[0,0],[1.1046,0],[0,0],[0,1.1046],[0,0],[-1.1046,0],[0,0]],"o":[[0,0],[1.1045699999999954,0],[0,0],[0,1.1045699999999998],[0,0],[-1.10457,0],[0,0],[0,-1.10457],[0,0],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[0,1,0,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]}]},{"nm":"[GROUP] Vector - Null / Vector / Vector - Null / Vector / Vector - Null / Vector / Vector - Null / Vector / Vector - Null / Vector / Vector - Null / Vector / Vector - Null / Vector","fr":60,"id":"lqwldr6djxkcaiduwd","layers":[{"ty":3,"ddd":0,"ind":13,"hd":false,"nm":"Logo UniferX - Null","ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[602,356]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":3,"ddd":0,"ind":14,"hd":false,"nm":"Text - Null","parent":13,"ks":{"a":{"a":0,"k":[83.8417,26.2013]},"o":{"a":0,"k":100},"p":{"a":1,"k":[{"t":6,"s":[178.0001,32.2013],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]},"ti":[0,0],"to":[0,0]},{"t":168,"s":[89.8417,32.2013]}]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":3,"ddd":0,"ind":15,"hd":false,"nm":"Vector - Null","parent":14,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":1,"k":[{"t":44.4,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":97.8,"s":[100]}]},"p":{"a":0,"k":[72.5802,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":4,"ddd":0,"ind":16,"hd":false,"nm":"Vector","parent":15,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":1,"k":[{"t":44.4,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":97.8,"s":[100]}]}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":true,"v":[[12.8398,6.2403],[6.4199,12.4806],[0,6.2404],[6.4199,0.0001],[12.8398,6.2404],[12.8398,6.2403]],"i":[[0,0],[3.5431,0],[0,3.4439],[-3.5431,0],[0,-3.4439],[0,0]],"o":[[0,3.4512799999999997],[-3.54307,0],[0,-3.44392],[3.54307,0],[0,0],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[1,1,1,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]},{"ty":3,"ddd":0,"ind":17,"hd":false,"nm":"Vector - Null","parent":14,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":1,"k":[{"t":44.4,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":97.8,"s":[100]}]},"p":{"a":0,"k":[72.8147,16.2925]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":4,"ddd":0,"ind":18,"hd":false,"nm":"Vector","parent":17,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":1,"k":[{"t":44.4,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":97.8,"s":[100]}]}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":true,"v":[[0,0],[12.3629,0],[12.3629,34.8366],[0,34.8366],[0,0]],"i":[[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[1,1,1,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]},{"ty":3,"ddd":0,"ind":19,"hd":false,"nm":"Vector - Null","parent":14,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":1,"k":[{"t":76.8,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":131.4,"s":[100]}]},"p":{"a":0,"k":[147.2047,15.6287]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":4,"ddd":0,"ind":20,"hd":false,"nm":"Vector","parent":19,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":1,"k":[{"t":76.8,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":131.4,"s":[100]}]}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":false,"v":[[0,2.7314],[0,35.5002],[12.3629,35.5002],[12.3629,9.0674],[17.9501,10.0977],[20.4787,0.2075],[0.0076,2.7316]],"i":[[0,0],[0,0],[0,0],[0,0],[-2.0668,-1.1627],[0,0],[4.4516,-2.0678]],"o":[[0,0],[0,0],[0,0],[1.59741,-0.3237900000000007],[0,0],[-10.84118,-0.70644],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[1,1,1,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]},{"ty":3,"ddd":0,"ind":21,"hd":false,"nm":"Vector - Null","parent":14,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":1,"k":[{"t":64.80000000000001,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":119.4,"s":[100]}]},"p":{"a":0,"k":[109.8808,15.5055]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":4,"ddd":0,"ind":22,"hd":false,"nm":"Vector","parent":21,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":1,"k":[{"t":64.80000000000001,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":119.4,"s":[100]}]}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":4,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":false,"v":[[32.6144,10.2508],[29.2606,4.5992],[17.0794,0],[10.6519,1.1995],[5.3449,4.7464],[1.4687,10.5819],[0,18.706],[1.1204,25.8514],[4.6407,31.6501],[10.3868,35.4987],[18.8054,36.8969],[22.5832,36.6982],[26.1112,36.2052],[29.1243,35.5135],[31.3425,34.7041],[31.7438,34.5054],[30.2145,25.5277],[29.5029,25.8368],[25.3542,26.9848],[20.1229,27.4558],[13.7106,25.8222],[11.2198,22.187],[33.4927,22.187],[33.5381,21.6425],[33.6744,19.8616],[33.7425,17.9851],[32.6221,10.2363]],"i":[[0,0],[1.4839,1.5233],[5.1026,0],[2.0744,-0.7947],[1.605,-1.5527],[0.969,-2.318],[0,-3.076],[-0.7419,-2.1929],[-1.5823,-1.6263],[-2.3923,-0.9272],[-3.2024,0],[-1.2567,0.1325],[-1.0977,0.1987],[-0.9009,0.2649],[-0.5602,0.2723],[0,0],[0,0],[0,0],[1.6958,-0.3091],[1.7715,0],[1.5671,1.0817],[0.318,1.5012],[0,0],[0,0],[-0.0454,0.6697],[0,0.5593],[0.7419,2.2371]],"o":[[-0.7495000000000012,-2.237070000000001],[-2.9828399999999995,-3.0539],[-2.18792,0],[-2.08193,0.8021099999999999],[-1.6049800000000003,1.5527100000000003],[-0.97662,2.3180200000000006],[0,2.546140000000001],[0.7570700000000001,2.2223599999999983],[1.5747,1.626290000000001],[2.38476,0.9272100000000023],[1.256730000000001,0],[1.2491599999999998,-0.1324600000000018],[1.0977500000000013,-0.19868999999999915],[0.9160499999999985,-0.2649199999999965],[0,0],[0,0],[0,0],[-1.0598899999999993,0.4488899999999987],[-1.7033999999999985,0.31643000000000043],[-2.6875800000000005,0],[-1.35515,-0.9345700000000008],[0,0],[0,0],[0.045420000000000016,-0.5224699999999984],[0.045420000000000016,-0.6843700000000013],[0,-2.9214400000000005],[0,0]]}}},{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":true,"v":[[11.2576,14.4306],[11.6512,11.7888],[17.1399,7.6532],[22.6059,11.7888],[22.9238,13.2606],[23.0298,14.4306],[11.2576,14.4306]],"i":[[0,0],[-0.4845,1.6263],[-3.4674,0],[-1.3551,-4.3417],[-0.0681,-0.5445],[0,-0.5961],[0,0]],"o":[[0,0],[0.5905100000000001,-1.9721600000000006],[0,0],[0.13626999999999967,0.4415300000000002],[0.06813999999999965,0.5003999999999991],[0,0],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[1,1,1,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]},{"ty":3,"ddd":0,"ind":23,"hd":false,"nm":"Vector - Null","parent":14,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":1,"k":[{"t":32.400000000000006,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":87,"s":[100]}]},"p":{"a":0,"k":[36.4073,15.6449]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":4,"ddd":0,"ind":24,"hd":false,"nm":"Vector","parent":23,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":1,"k":[{"t":32.400000000000006,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":87,"s":[100]}]}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":false,"v":[[15.5577,0],[0,2.6492],[0,35.4841],[12.3175,35.4841],[12.3175,9.0513],[15.2171,8.86],[19.8428,11.8329],[19.8428,35.4841],[32.3041,35.4841],[32.3041,11.7005],[15.5502,0]],"i":[[0,0],[3.9292,-1.5527],[0,0],[0,0],[0,0],[-0.8025,0],[0,-2.0825],[0,0],[0,0],[0,0],[12.9004,0]],"o":[[-6.91958,0],[0,0],[0,0],[0,0],[0.46937999999999924,-0.06622999999999912],[2.1954900000000013,0],[0,0],[0,0],[0,0],[0,-7.63107],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[1,1,1,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]},{"ty":3,"ddd":0,"ind":25,"hd":false,"nm":"Vector - Null","parent":14,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":1,"k":[{"t":22.2,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":76.8,"s":[100]}]},"p":{"a":0,"k":[0,16.2848]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":4,"ddd":0,"ind":26,"hd":false,"nm":"Vector","parent":25,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":1,"k":[{"t":22.2,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":76.8,"s":[100]}]}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":true,"v":[[19.9563,0.0074],[19.9563,21.0756],[16.2316,24.2399],[12.363,21.1419],[12.363,0.0074],[0.0001,0.0074],[0.0001,21.3332],[15.626,35.6167],[32.3041,21.2671],[32.3041,0.0002],[19.9412,0.0002],[19.9563,0.0074]],"i":[[0,0],[0,0],[1.7942,0],[0,2.3254],[0,0],[0,0],[0,0],[-9.5088,0],[0,9.4413],[0,0],[0,0],[0,0]],"o":[[0,0],[0,2.39161],[-1.79425,0],[0,0],[0,0],[0,0],[0,9.37511],[9.508749999999997,0],[0,0],[0,0],[0,0],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[1,1,1,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]},{"ty":3,"ddd":0,"ind":27,"hd":false,"nm":"Vector - Null","parent":14,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":1,"k":[{"t":54.6,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":108,"s":[100]}]},"p":{"a":0,"k":[88.623,0.1502]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":4,"ddd":0,"ind":28,"hd":false,"nm":"Vector","parent":27,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":1,"k":[{"t":54.6,"s":[0],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":108,"s":[100]}]}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":false,"v":[[20.5619,9.5047],[20.5619,0.3283],[3.4144,13.9715],[3.4144,16.1718],[0,16.1718],[0,25.672],[3.4144,25.672],[3.4144,51.0083],[15.7697,51.0083],[15.7697,25.672],[20.5543,25.672],[20.5543,16.1718],[15.7697,16.1718],[15.7697,13.0075],[20.5543,9.5194]],"i":[[0,0],[0,0],[0,-10.5378],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[-3.3917,-0.3238]],"o":[[0,0],[-11.49983,-1.67781],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,-3.1642799999999998],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[1,1,1,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]}]},{"nm":"[FRAME] Logo UniferX - Null / Mark - Null / Mark / Text","fr":60,"id":"lqwldr6amvv38mz5xzq","layers":[{"ty":3,"ddd":0,"ind":29,"hd":false,"nm":"Logo UniferX - Null","ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[602,356]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":3,"ddd":0,"ind":30,"hd":false,"nm":"Mark - Null","parent":29,"ks":{"a":{"a":0,"k":[28.9124,29.7663]},"o":{"a":0,"k":100},"p":{"a":1,"k":[{"t":6,"s":[118.0001,36.2363],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]},"ti":[0,0],"to":[0,0]},{"t":162,"s":[202.08239999999998,36.2363]}]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":4,"ddd":0,"ind":31,"hd":false,"nm":"Mark","parent":30,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":false,"v":[[34.8705,29.321],[57.5446,0.6511],[28.8367,21.2336],[0.4694,0.7026],[22.7651,29.3136],[0.0001,58.8812],[28.8368,37.4744],[57.8248,59.0283],[34.863,29.3135]],"i":[[0,0],[-7.9795,2.2591],[4.3001,-16.0569],[15.7848,-3.2084],[-14.4902,-4.327],[10.7655,-3.0686],[-3.967,15.5197],[-15.8605,2.7669],[14.0663,0]],"o":[[13.82403,-3.2452299999999994],[-16.557029999999997,-2.81106],[-4.2622800000000005,-15.79934],[8.5397,2.20764],[-11.17429,0],[16.85229,2.950879999999998],[4.065439999999999,15.497630000000001],[-10.56107,-1.0375900000000016],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[0,1,0,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]},{"ddd":0,"ind":32,"ty":0,"nm":"Text","refId":"lqwldr6djxkcaiduwd","sr":1,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"ao":0,"w":1440,"h":800,"ip":0,"op":240,"st":0,"hd":false,"bm":0}]},{"nm":"Progress","fr":60,"id":"lqwldr6qh5xpu4e8m4","layers":[{"ty":3,"ddd":0,"ind":40,"hd":false,"nm":"Progress - Null","ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[608,440]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":3,"ddd":0,"ind":34,"hd":false,"nm":"Rectangle - Null","parent":40,"ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":4,"ddd":0,"ind":35,"hd":false,"nm":"Rectangle","parent":34,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":1,"k":[{"t":0,"s":[{"c":true,"v":[[0,0],[0,0],[0,0],[0,4],[0,4],[0,4],[0,4],[0,0]],"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]}],"o":{"x":[0.3365],"y":[0.2115]},"i":{"x":[0.0237],"y":[0.9808]}},{"t":240,"s":[{"c":true,"v":[[0,0],[224,0],[224,0],[224,4],[224,4],[0,4],[0,4],[0,0]],"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]}]}]}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[0,1,0,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]},{"ty":4,"ddd":0,"ind":36,"hd":false,"nm":"Progress","parent":40,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":true,"v":[[2,0],[222,0],[224,2],[224,2],[222,4],[2,4],[0,2],[0,2],[2,0],[2,0]],"i":[[0,0],[0,0],[0,-1.1046],[0,0],[1.1046,0],[0,0],[0,1.1046],[0,0],[-1.1046,0],[0,0]],"o":[[0,0],[1.1045699999999954,0],[0,0],[0,1.1045699999999998],[0,0],[-1.10457,0],[0,0],[0,-1.10457],[0,0],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":20},"c":{"a":0,"k":[1,1,1,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]}]},{"nm":"Preloader","fr":60,"id":"lqwldr680ead7dvt8bwj","layers":[{"ty":3,"ddd":0,"ind":37,"hd":false,"nm":"Preloader - Null","ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ddd":0,"ind":38,"ty":0,"nm":"Logo UniferX","refId":"lqwldr6amvv38mz5xzq","sr":1,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"ao":0,"w":1440,"h":800,"ip":0,"op":240,"st":0,"hd":false,"bm":0},{"ty":3,"ddd":0,"ind":39,"hd":false,"nm":"Progress - Null","ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[608,440]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ty":3,"ddd":0,"ind":40,"hd":false,"nm":"Progress - Null","ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[608,440]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ddd":0,"ind":41,"ty":0,"nm":"Progress","td":1,"refId":"3567:24596","sr":1,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"ao":0,"w":1440,"h":800,"ip":0,"op":240,"st":0,"hd":false,"bm":0},{"ddd":0,"ind":42,"ty":0,"nm":"Progress","refId":"lqwldr6qh5xpu4e8m4","sr":1,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"ao":0,"w":1440,"h":800,"ip":0,"op":240,"st":0,"hd":false,"bm":0,"tt":1},{"ty":4,"ddd":0,"ind":43,"hd":false,"nm":"Preloader","parent":37,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":true,"v":[[0,0],[1440,0],[1440,0],[1440,800],[1440,800],[0,800],[0,800],[0,0]],"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]}}},{"ty":"gf","o":{"a":0,"k":100},"g":{"p":2,"k":{"a":0,"k":[0,0.09803921568627451,0.38823529411764707,0.4196078431372549,1,0,1,0,0,0,1,0.7]}},"s":{"a":0,"k":[722.2154258763405,-0.000003360184469825132]},"e":{"a":0,"k":[722.2154354442332,799.9999966398155]},"t":1,"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]},{"ty":4,"ddd":0,"ind":44,"hd":false,"nm":"Preloader","parent":37,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"st":0,"ip":0,"op":240,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":true,"v":[[0,0],[1440,0],[1440,0],[1440,800],[1440,800],[0,800],[0,800],[0,0]],"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[0.07058823529411765,0.08235294117647059,0.09019607843137255,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]}]}],"layers":[{"ty":3,"ddd":0,"ind":37,"hd":false,"nm":"Preloader - Null","ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":240,"bm":0,"sr":1},{"ddd":0,"ind":2,"ty":0,"nm":"Preloader","refId":"lqwldr680ead7dvt8bwj","sr":1,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"ao":0,"w":1440,"h":800,"ip":0,"op":240,"st":0,"hd":false,"bm":0}],"meta":{"a":"","d":"","tc":"","g":"Aninix"}}'),Fg=JSON.parse('{"nm":"Preloader X","v":"5.9.6","fr":60,"ip":0,"op":119,"w":1440,"h":800,"ddd":0,"markers":[],"assets":[{"nm":"Preloader X","fr":60,"id":"lr0iaaxxb3dp9w61bfq","layers":[{"ty":3,"ddd":0,"ind":5,"hd":false,"nm":"Preloader X - Null","ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":120,"bm":0,"sr":1},{"ty":3,"ddd":0,"ind":6,"hd":false,"nm":"Mark - Null","parent":5,"ks":{"a":{"a":0,"k":[40,40]},"o":{"a":0,"k":100},"p":{"a":0,"k":[725,405]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":120,"bm":0,"sr":1},{"ty":4,"ddd":0,"ind":7,"hd":false,"nm":"Mark","parent":6,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"st":0,"ip":0,"op":120,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":1,"k":[{"t":0,"s":[{"c":false,"v":[[47.2127,39.4764],[74.6609,5.7656],[39.9084,29.9671],[5.5682,5.8262],[32.5583,39.4678],[5,74.2342],[39.9084,49.0636],[75,74.4073],[47.2035,39.4678]],"i":[[0,0],[-9.6596,2.6564],[5.2055,-18.8801],[19.1084,-3.7726],[-17.5412,-5.0878],[13.0322,-3.6082],[-4.8023,18.2485],[-19.2,3.2534],[17.028,0]],"o":[[16.73475,-3.8158299999999983],[-20.0432,-3.30532],[-5.159729999999996,-18.57728],[10.337779999999999,2.5958000000000006],[-13.5271,0],[20.40063,3.4697199999999953],[4.921439999999997,18.22253],[-12.784759999999999,-1.2200299999999942],[0,0]]}],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":60,"s":[{"c":false,"v":[[48.243,39.4016],[79.6124,0.8749],[39.8953,28.5338],[0.6493,0.9442],[31.4952,39.3917],[0,79.1248],[39.8954,50.3583],[80.0001,79.3225],[48.2327,39.3917]],"i":[[0,0],[-11.0395,3.0358],[5.9492,-21.5773],[21.8382,-4.3115],[-20.0471,-5.8146],[14.894,-4.1236],[-5.4884,20.8554],[-21.9429,3.7182],[19.4606,0]],"o":[[19.12542,-4.3609500000000025],[-22.90652,-3.7775100000000004],[-5.896830000000001,-21.23118],[11.81461,2.96663],[-15.45954,0],[23.315,3.9654000000000025],[5.624510000000001,20.825739999999996],[-14.611149999999995,-1.3943199999999933],[0,0]]}],"o":{"x":[0.5],"y":[0.35]},"i":{"x":[0.15],"y":[1]}},{"t":120,"s":[{"c":false,"v":[[47.2127,39.4764],[74.6609,5.7656],[39.9084,29.9671],[5.5682,5.8262],[32.5583,39.4678],[5,74.2342],[39.9084,49.0636],[75,74.4073],[47.2035,39.4678]],"i":[[0,0],[-9.6596,2.6564],[5.2055,-18.8801],[19.1084,-3.7726],[-17.5412,-5.0878],[13.0322,-3.6082],[-4.8023,18.2485],[-19.2,3.2534],[17.028,0]],"o":[[16.73475,-3.8158299999999983],[-20.0432,-3.30532],[-5.159729999999996,-18.57728],[10.337779999999999,2.5958000000000006],[-13.5271,0],[20.40063,3.4697199999999953],[4.921439999999997,18.22253],[-12.784759999999999,-1.2200299999999942],[0,0]]}]}]}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[0,1,0,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]},{"ty":4,"ddd":0,"ind":8,"hd":false,"nm":"Preloader X","parent":5,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"st":0,"ip":0,"op":120,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":true,"v":[[0,0],[1440,0],[1440,0],[1440,800],[1440,800],[0,800],[0,800],[0,0]],"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]}}},{"ty":"gf","o":{"a":0,"k":100},"g":{"p":2,"k":{"a":0,"k":[0,0.09803921568627451,0.38823529411764707,0.4196078431372549,1,0,1,0,0,0,1,0.699999988079071]}},"s":{"a":0,"k":[722.2154258755136,-0.000003360373182693965]},"e":{"a":0,"k":[722.2154354452384,799.9999966396268]},"t":1,"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]},{"ty":4,"ddd":0,"ind":9,"hd":false,"nm":"Preloader X","parent":5,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"st":0,"ip":0,"op":120,"bm":0,"sr":1,"shapes":[{"ty":"gr","nm":"Group","hd":false,"np":3,"it":[{"ty":"sh","nm":"Path","hd":false,"ks":{"a":0,"k":{"c":true,"v":[[0,0],[1440,0],[1440,0],[1440,800],[1440,800],[0,800],[0,800],[0,0]],"i":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]}}},{"ty":"fl","o":{"a":0,"k":100},"c":{"a":0,"k":[0.07058823529411765,0.08235294117647059,0.09019607843137255,1]},"nm":"Fill","hd":false,"r":1},{"ty":"tr","a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}}]}]}]}],"layers":[{"ty":3,"ddd":0,"ind":5,"hd":false,"nm":"Preloader X - Null","ks":{"a":{"a":0,"k":[0,0]},"o":{"a":0,"k":100},"p":{"a":0,"k":[0,0]},"r":{"a":0,"k":0},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0}},"st":0,"ip":0,"op":120,"bm":0,"sr":1},{"ddd":0,"ind":2,"ty":0,"nm":"Preloader X","refId":"lr0iaaxxb3dp9w61bfq","sr":1,"ks":{"a":{"a":0,"k":[0,0]},"p":{"a":0,"k":[0,0]},"s":{"a":0,"k":[100,100]},"sk":{"a":0,"k":0},"sa":{"a":0,"k":0},"r":{"a":0,"k":0},"o":{"a":0,"k":100}},"ao":0,"w":1440,"h":800,"ip":0,"op":120,"st":0,"hd":false,"bm":0}],"meta":{"a":"","d":"","tc":"","g":"Aninix"}}'),Lg=function(e){var t=e.main;return void 0!==t&&t?(0,Sl.jsx)(Ng,{loop:!1,animationData:Ig,play:!0,speed:1,className:"preloader",rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):(0,Sl.jsx)(Ng,{loop:!0,animationData:Fg,play:!0,className:"preloader",rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})},Rg=function(){var e=Ns(),r=ks(jn),n=ks(Pn),i=ks(Cn),a=i.fs_title,s=i.fs_title_background,o=i.fs_view_button,l=i.agricultural_tag,c=i.agricultural_title,u=i.agricultural_description;(0,t.useEffect)((function(){e(_n())}),[e]);var f=(0,t.useRef)();return qv({items:[".product-card "],container:f,dependencies:[n]}),n?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:f,children:[(0,Sl.jsx)(jl,{title:a,image:s,buttonText:o,onClickButton:function(){return Qa("product-card-container",100)}}),(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsx)("div",{className:"inner-container type-2",children:(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:l}),(0,Sl.jsx)(Al,{className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:c}})}),(0,Sl.jsx)("div",{className:"offset-left-4 max-width-760",children:(0,Sl.jsx)(Al,{size:"super-small",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:u}})})})]})})}),(0,Sl.jsx)(El,{data:r})]})},Bg=function(){var e=Ns(),r=ks(bn);(0,t.useEffect)((function(){e(vn())}),[e]);var n=ks(yn),i=n.fs_title,a=n.fs_view_button,s=n.fs_title_background,o=n.agricultural_tag,l=n.agricultural_title,c=n.agricultural_description,u=n.crop_nutrition_programs,f=n.trial_results,d=n.information_materials,p=[ce({slug:vl.cropNutritionPrograms},u),ce({slug:vl.trialResults},f),ce({slug:vl.informationMaterials},d)],h=(0,t.useRef)();return qv({items:[".product-card"],container:h,dependencies:[r]}),r?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:h,children:[(0,Sl.jsx)(jl,{title:i,image:s,buttonText:a,onClickButton:function(){return Qa("product-card-container",100)}}),(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsx)("div",{className:"inner-container type-2",children:(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:o}),(0,Sl.jsx)(Al,{className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:l}})}),(0,Sl.jsx)("div",{className:"offset-left-4 max-width-760",children:(0,Sl.jsx)(Al,{size:"super-small",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:c}})})})]})})}),(0,Sl.jsx)(El,{data:p})]})};var zg,Vg,Hg=__webpack_require__.p+"static/media/GoodfaceLogo.d13214ff6ee9bfd14094468112bd4e1c.svg",Gg=function(e){var t=e.children,r=e.pathName,n=vl[r];return(0,Sl.jsx)(dl,{to:n,className:"button-text",children:t})},qg=function(){var e=ks(Ha).menu_logo;return(0,Sl.jsx)(dl,{to:"/",children:(0,Sl.jsx)("img",{src:e,alt:"",className:"main-logo-icon"})})},Wg=["title","titleId"];function Ug(){return Ug=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ug.apply(this,arguments)}function $g(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Xg(e,r){var n=e.title,i=e.titleId,a=$g(e,Wg);return t.createElement("svg",Ug({width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,zg||(zg=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.81858 6.71713C5.16627 6.40964 5.62012 6.25 6.07692 6.25H17.9231C18.3799 6.25 18.8337 6.40965 19.1814 6.71713C19.5321 7.02724 19.75 7.46906 19.75 7.95238V16.0476C19.75 16.5309 19.5321 16.9728 19.1814 17.2829C18.8337 17.5904 18.3799 17.75 17.9231 17.75H6.07692C5.62012 17.75 5.16626 17.5904 4.81858 17.2829C4.4679 16.9728 4.25 16.5309 4.25 16.0476V7.95238C4.25 7.46906 4.4679 7.02725 4.81858 6.71713ZM6.07692 7.75C5.96249 7.75 5.86851 7.79103 5.81227 7.84077C5.75902 7.88786 5.75 7.93053 5.75 7.95238V16.0476C5.75 16.0695 5.75902 16.1121 5.81227 16.1592C5.86851 16.209 5.96249 16.25 6.07692 16.25H17.9231C18.0375 16.25 18.1315 16.209 18.1877 16.1592C18.241 16.1121 18.25 16.0695 18.25 16.0476V7.95238C18.25 7.93053 18.241 7.88786 18.1877 7.84077C18.1315 7.79103 18.0375 7.75 17.9231 7.75H6.07692Z"})),Vg||(Vg=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.35852 7.61139C4.57314 7.25712 5.03433 7.14391 5.3886 7.35854L11.6955 11.1794C11.759 11.2164 11.8658 11.25 12 11.25C12.1342 11.25 12.241 11.2164 12.3044 11.1794L18.6114 7.35854C18.9657 7.14391 19.4268 7.25712 19.6415 7.61139C19.8561 7.96567 19.7429 8.42685 19.3886 8.64147L13.0719 12.4682C12.7474 12.6607 12.3683 12.75 12 12.75C11.6317 12.75 11.2526 12.6607 10.9281 12.4682L10.9221 12.4647L4.61138 8.64147C4.2571 8.42685 4.1439 7.96567 4.35852 7.61139Z"})))}var Yg,Zg,Jg=t.forwardRef(Xg),Kg=(__webpack_require__.p,["title","titleId"]);function Qg(){return Qg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qg.apply(this,arguments)}function ey(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ty(e,r){var n=e.title,i=e.titleId,a=ey(e,Kg);return t.createElement("svg",Qg({width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,Yg||(Yg=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.7852 4.81772C7.13185 4.45773 7.60818 4.25 8.11111 4.25H15.8889C16.3918 4.25 16.8681 4.45773 17.2148 4.81772C17.5605 5.17675 17.75 5.65786 17.75 6.15385V18.8462C17.75 19.3421 17.5605 19.8233 17.2148 20.1823C16.8681 20.5423 16.3918 20.75 15.8889 20.75H8.11111C7.60818 20.75 7.13185 20.5423 6.7852 20.1823C6.43947 19.8233 6.25 19.3421 6.25 18.8462V6.15385C6.25 5.65786 6.43947 5.17675 6.7852 4.81772ZM8.11111 5.75C8.02467 5.75 7.93577 5.7854 7.86568 5.85819C7.79466 5.93194 7.75 6.0378 7.75 6.15385V18.8462C7.75 18.9622 7.79466 19.0681 7.86568 19.1418C7.93577 19.2146 8.02467 19.25 8.11111 19.25H15.8889C15.9753 19.25 16.0642 19.2146 16.1343 19.1418C16.2053 19.0681 16.25 18.9622 16.25 18.8462V6.15385C16.25 6.0378 16.2053 5.93194 16.1343 5.85819C16.0642 5.7854 15.9753 5.75 15.8889 5.75H8.11111Z"})),Zg||(Zg=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.25 16C10.25 15.5858 10.5858 15.25 11 15.25H13C13.4142 15.25 13.75 15.5858 13.75 16C13.75 16.4142 13.4142 16.75 13 16.75H11C10.5858 16.75 10.25 16.4142 10.25 16Z"})))}var ry,ny,iy=t.forwardRef(ty),ay=(__webpack_require__.p,["title","titleId"]);function sy(){return sy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},sy.apply(this,arguments)}function oy(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ly(e,r){var n=e.title,i=e.titleId,a=oy(e,ay);return t.createElement("svg",sy({width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,ry||(ry=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 8.75C11.3096 8.75 10.75 9.30964 10.75 10C10.75 10.6904 11.3096 11.25 12 11.25C12.6904 11.25 13.25 10.6904 13.25 10C13.25 9.30964 12.6904 8.75 12 8.75ZM9.25 10C9.25 8.48122 10.4812 7.25 12 7.25C13.5188 7.25 14.75 8.48122 14.75 10C14.75 11.5188 13.5188 12.75 12 12.75C10.4812 12.75 9.25 11.5188 9.25 10Z"})),ny||(ny=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 4.75C10.6138 4.75 9.28047 5.3146 8.29436 6.32599C7.30762 7.33804 6.75 8.71462 6.75 10.1538C6.75 12.6596 8.11544 14.9508 9.57207 16.6688C10.292 17.5179 11.0136 18.2028 11.5554 18.6751C11.7232 18.8214 11.8733 18.9469 12 19.05C12.1267 18.9469 12.2768 18.8214 12.4446 18.6751C12.9864 18.2028 13.708 17.5179 14.4279 16.6688C15.8846 14.9508 17.25 12.6596 17.25 10.1538C17.25 8.71462 16.6924 7.33804 15.7056 6.32599C14.7195 5.3146 13.3862 4.75 12 4.75ZM12 20C11.5626 20.6092 11.5624 20.6091 11.5622 20.6089L11.5616 20.6085L11.56 20.6074L11.5553 20.604L11.5395 20.5924C11.5261 20.5826 11.5072 20.5687 11.4831 20.5506C11.435 20.5146 11.3661 20.4622 11.2795 20.3944C11.1063 20.2586 10.8618 20.0604 10.5696 19.8057C9.98636 19.2972 9.20803 18.559 8.42793 17.6389C6.88456 15.8185 5.25 13.1866 5.25 10.1538C5.25 8.32887 5.95667 6.57494 7.22036 5.27884C8.48468 3.9821 10.2036 3.25 12 3.25C13.7964 3.25 15.5153 3.9821 16.7796 5.27884C18.0433 6.57494 18.75 8.32887 18.75 10.1538C18.75 13.1866 17.1154 15.8185 15.5721 17.6389C14.792 18.559 14.0136 19.2972 13.4304 19.8057C13.1382 20.0604 12.8937 20.2586 12.7205 20.3944C12.6339 20.4622 12.565 20.5146 12.5169 20.5506C12.4928 20.5687 12.4739 20.5826 12.4605 20.5924L12.4447 20.604L12.44 20.6074L12.4384 20.6085L12.4378 20.6089C12.4376 20.6091 12.4374 20.6092 12 20ZM12 20L12.4374 20.6092L12 20.9233L11.5626 20.6092L12 20Z"})))}var cy,uy=t.forwardRef(ly),fy=(__webpack_require__.p,function(){var e=ks(jn),t=ks(Ha),r=t.footer_description_text,n=t.menu_company_text,i=t.menu_about_text,a=t.menu_news_text,s=t.menu_career_text,o=t.menu_contacts_text,l=t.menu_products_text,c=t.menu_resources_text,u=t.menu_crop_nutrition_text,f=t.menu_trial_results_text,d=t.menu_information_materials_text,p=t.footer_social_media_text,h=t.footer_contacts_email_text,m=t.footer_contacts_phone_text,v=t.footer_contacts_address_text,g=t.footer_copyright_text,y=t.footer_terms_conditions_text,b=t.footer_legal_info_text,x=t.footer_instagram_link,_=t.footer_facebook_link,w=t.footer_youtube_link,S=function(){return(0,Sl.jsxs)("div",{className:"new-footer-start",children:[(0,Sl.jsx)(qg,{}),(0,Sl.jsx)("p",{className:"description-medium",children:r})]})},k=function(){return(0,Sl.jsxs)("div",{className:"footer-links-block",children:[(0,Sl.jsx)("div",{className:"footer-title",children:n}),(0,Sl.jsx)(Gg,{pathName:"aboutUs",children:i}),(0,Sl.jsx)(Gg,{pathName:"news",children:a}),(0,Sl.jsx)(Gg,{pathName:"career",children:s}),(0,Sl.jsx)(Gg,{pathName:"contacts",children:o})]})},E=function(){return(0,Sl.jsxs)("div",{className:"footer-links-block",children:[(0,Sl.jsx)("div",{className:"footer-title",children:l}),e.map((function(e){return(0,Sl.jsx)(dl,{to:vl.products+"/"+e.slug,className:"button-text",children:e.preview_title},e.slug)}))]})},C=function(){return(0,Sl.jsxs)("div",{className:"footer-links-block",children:[(0,Sl.jsx)("div",{className:"footer-title",children:c}),(0,Sl.jsx)(Gg,{pathName:"cropNutritionPrograms",children:u}),(0,Sl.jsx)(Gg,{pathName:"trialResults",children:f}),(0,Sl.jsx)(Gg,{pathName:"informationMaterials",children:d})]})},P=function(){return(0,Sl.jsxs)("div",{children:[(0,Sl.jsx)("div",{className:"footer-title",children:p}),(0,Sl.jsxs)("div",{className:"footer-social",children:[(0,Sl.jsx)(dl,{target:"_blank",to:x,className:"button instagram"}),(0,Sl.jsx)(dl,{target:"_blank",to:_,className:"button facebook"}),(0,Sl.jsx)(dl,{target:"_blank",to:w,className:"button youtube"})]})]})},T=function(){return(0,Sl.jsxs)("div",{className:"footer-links-block",children:[(0,Sl.jsx)("div",{className:"footer-title",children:o}),(0,Sl.jsxs)("a",{href:"mailto:".concat(h),className:"footer-contact-link",children:[(0,Sl.jsx)(Jg,{}),(0,Sl.jsx)("span",{children:h})]}),(0,Sl.jsxs)("a",{href:"tel:".concat(m),className:"footer-contact-link",children:[(0,Sl.jsx)(iy,{}),(0,Sl.jsx)("span",{children:m})]}),(0,Sl.jsxs)("a",{href:"/#",className:"footer-contact-link",children:[(0,Sl.jsx)(uy,{}),(0,Sl.jsx)("span",{children:v})]})]})},M=function(){return(0,Sl.jsxs)("div",{className:"footer-copy",children:[(0,Sl.jsx)("p",{className:"copyright",children:g}),(0,Sl.jsxs)("div",{className:"policies",children:[(0,Sl.jsx)(Gg,{pathName:"termsAndConditions",children:y}),(0,Sl.jsx)(Gg,{pathName:"legalInfo",children:b})]}),(0,Sl.jsxs)("div",{className:"goodface-bar",children:[(0,Sl.jsx)("span",{className:"body1",children:"Created by"}),(0,Sl.jsxs)("a",{href:"https://goodface.agency",target:"_blank",rel:"noreferrer",className:"goodface-link",children:[(0,Sl.jsx)("span",{children:"Goodface"}),(0,Sl.jsx)("img",{src:Hg,alt:"Goodface logo"})]})]})]})};return(0,Sl.jsx)("footer",{className:"container",children:(0,Sl.jsxs)("div",{className:"new-footer",children:[(0,Sl.jsxs)("div",{className:"new-footer-row",children:[(0,Sl.jsx)(S,{}),(0,Sl.jsx)(k,{}),(0,Sl.jsx)(E,{}),(0,Sl.jsx)(C,{})]}),(0,Sl.jsxs)("div",{className:"new-footer-row",children:[(0,Sl.jsx)("div",{}),(0,Sl.jsx)(P,{}),(0,Sl.jsx)(T,{})]}),(0,Sl.jsx)(M,{})]})})}),dy=function(e){var r=Sr((0,t.useState)(!1),2),n=r[0],i=r[1];return(0,t.useEffect)((function(){var t=window.matchMedia("(".concat(e,")"));t.matches!==n&&i(t.matches);var r=function(){return i(t.matches)};return window.addEventListener("resize",r),function(){return window.removeEventListener("resize",r)}}),[n,e]),n},py=["title","titleId"];function hy(){return hy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hy.apply(this,arguments)}function my(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function vy(e,r){var n=e.title,i=e.titleId,a=my(e,py);return t.createElement("svg",hy({width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,cy||(cy=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00001 1.29291L16.7071 9.00001L9.00001 16.7071L7.5858 15.2929L12.8787 10H1.29291V8.00001H12.8787L7.5858 2.70712L9.00001 1.29291Z"})))}var gy,yy=t.forwardRef(vy),by=(__webpack_require__.p,function(e){var t=e.item;return(0,Sl.jsxs)(dl,{className:"header-navigation-card",to:t.link,children:[(0,Sl.jsx)("span",{className:"header-navigation-card__icons",children:t.icons.map((function(e,t){return(0,Sl.jsx)("img",{src:e,alt:"icon"},t)}))}),(0,Sl.jsxs)("span",{className:"header-navigation-card__title",children:[t.name,(0,Sl.jsx)(yy,{})]})]})}),xy=function(e){var r=e.items,n=e.button,i=Io(),a=Sr((0,t.useState)(!1),2),s=a[0],o=a[1];(0,t.useEffect)((function(){o(!0);var e=setTimeout((function(){o(!1)}),50);return function(){return clearTimeout(e)}}),[i]);var l=s?{display:"none"}:null;return(0,Sl.jsxs)("div",{className:"navigation-item__dropdown",style:l,children:[(0,Sl.jsx)("div",{className:"navigation-item__dropdown-items",children:r.map((function(e){return(0,Sl.jsx)(by,{item:e},e.link)}))}),n&&(0,Sl.jsx)("div",{className:"navigation-item__dropdown-button",children:(0,Sl.jsx)(Ml,{href:n.link,type:"learn-more-arrow white-text",children:n.name})})]})},_y=["title","titleId"];function wy(){return wy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wy.apply(this,arguments)}function Sy(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ky(e,r){var n=e.title,i=e.titleId,a=Sy(e,_y);return t.createElement("svg",wy({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,gy||(gy=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.51978 6.57616L2.48005 5.42383L7.99991 10.0237L13.5198 5.42383L14.4801 6.57616L7.99991 11.9763L1.51978 6.57616Z"})))}var Ey=t.forwardRef(ky),Cy=(__webpack_require__.p,function(e){var t=e.name,r=e.link,n=e.hasList,i=e.onClickMobile,a=void 0===i?void 0:i,s=e.mobileClassName,o=void 0===s?"":s;return n?(0,Sl.jsxs)("div",{className:"navigation-item__name ".concat(o),onClick:function(){return a(t)},children:[(0,Sl.jsx)("span",{children:t}),n&&(0,Sl.jsx)(Ey,{className:"navigation-item__name-arrow"})]}):(0,Sl.jsx)(dl,{to:r,className:"navigation-item__name",children:(0,Sl.jsx)("span",{children:t})})}),Py=function(e){var t,r=e.category,n=e.mobileState,i=e.onClick,a=Ns(),s=null===(t=n.find((function(e){return e.name===r.name})))||void 0===t?void 0:t.isOpen;return(0,Sl.jsxs)("div",{className:"navigation-item",onMouseOver:function(){return a(ss(!0))},onMouseLeave:function(){return a(ss(!1))},children:[(0,Sl.jsx)(Cy,{mobileClassName:s?"opened":"",onClickMobile:i,link:r.link,name:r.name,hasList:!!r.items}),r.items&&(0,Sl.jsx)(xy,{button:r.button,items:r.items})]})},Ty=function(){var e=ks(Ha),t=e.footer_instagram_link,r=e.footer_facebook_link,n=e.footer_youtube_link;return(0,Sl.jsxs)("div",{className:"social-media-section",children:[(0,Sl.jsx)("p",{children:"We're on social media"}),(0,Sl.jsxs)("div",{className:"social-media-wrapper",children:[(0,Sl.jsx)(dl,{target:"_blank",to:t,className:"button instagram"}),(0,Sl.jsx)(dl,{target:"_blank",to:r,className:"button facebook"}),(0,Sl.jsx)(dl,{target:"_blank",to:n,className:"button youtube"})]})]})};var My=__webpack_require__.p+"static/media/variant1.64445f5f4ad5602ca6f8f608ae4ccd6b.svg";var jy=__webpack_require__.p+"static/media/variant2.ab39f172278087a342a22625bcdfb611.svg";var Ay=__webpack_require__.p+"static/media/variant3.a0f5c767658cfe200b15a8430a9501f4.svg";var Oy=__webpack_require__.p+"static/media/variant4.a967d1c3055e1e96dfb1683193604458.svg";var Dy=__webpack_require__.p+"static/media/variant5.eeb9b8e215af824a0b7b0207d13c6f69.svg";var Ny=__webpack_require__.p+"static/media/variant6.5023db131f46ab9963fed588dea09c3b.svg";var Iy=__webpack_require__.p+"static/media/variant7.df06ba0f50204170b7028a809458d263.svg";var Fy,Ly=__webpack_require__.p+"static/media/variant8.10e57877d5c7fdd6232db935bd9a5da9.svg",Ry=function(){var e=dy("max-width: 1023px"),r=ks(jn),n=Io(),i=ks(Ha),a=i.menu_company_text,s=i.menu_products_text,o=i.menu_resources_text,l=i.menu_contacts_text,c=i.menu_about_text,u=i.menu_news_text,f=i.menu_career_text,d=i.menu_all_products_btn,p=i.menu_crop_nutrition_text,h=i.menu_trial_results_text,m=i.menu_information_materials_text,v=i.menu_all_resources_btn,g=r.map((function(e){return{icons:[e.logo],name:e.preview_title,link:vl.products+"/"+e.slug}})),y=function(e){var t=e.menu_company_text,r=e.menu_products_text,n=e.menu_resources_text,i=e.menu_contacts_text,a=e.menu_about_text,s=e.menu_news_text,o=e.menu_career_text,l=e.menu_all_products_btn,c=e.menu_crop_nutrition_text,u=e.menu_trial_results_text,f=e.menu_information_materials_text,d=e.menu_all_resources_btn,p=e.formated_products;return[{id:1,name:t,items:[{name:a,link:vl.aboutUs,icons:[My]},{name:s,link:vl.news,icons:[Ly,jy,Iy]},{name:o,link:vl.career,icons:[Ay]}]},{id:2,name:r,button:{name:l,link:vl.products},items:p},{id:3,name:n,button:{name:d,link:vl.resources},items:[{icons:[Oy],name:c,link:vl.cropNutritionPrograms},{icons:[Dy],name:u,link:vl.trialResults},{icons:[Ny],name:f,link:vl.informationMaterials}]},{id:4,name:i,link:vl.contacts}]}({menu_company_text:a,menu_products_text:s,menu_resources_text:o,menu_contacts_text:l,menu_about_text:c,menu_news_text:u,menu_career_text:f,menu_all_products_btn:d,menu_crop_nutrition_text:p,menu_trial_results_text:h,menu_information_materials_text:m,menu_all_resources_btn:v,formated_products:g}),b=y.filter((function(e){return!!e.items})).map((function(e){return{name:e.name,isOpen:!1}})),x=Sr((0,t.useState)(b),2),_=x[0],w=x[1],S=function(e){var t=_.map((function(t){return ce(ce({},t),{},{isOpen:t.name===e&&!t.isOpen})}));w(t)};return(0,t.useEffect)((function(){w(b)}),[n]),(0,Sl.jsxs)("div",{className:"header-nav",children:[y.map((function(e){return(0,Sl.jsx)(Py,{category:e,mobileState:_,onClick:S},e.id)})),e&&(0,Sl.jsx)(Ty,{})]})},By=function(e){var r=e.label,n=void 0===r?"":r,i=e.options,a=void 0===i?[]:i,s=e.onChange,o=void 0===s?void 0:s,l=e.selectedValue,c=ks(Ha).dropdown_not_selected_text,u=Sr((0,t.useState)(!1),2),f=u[0],d=u[1],p=(0,t.useRef)(null);(0,t.useEffect)((function(){var e=function(e){p.current&&!p.current.contains(e.target)&&d(!1)};return document.addEventListener("click",e),function(){document.removeEventListener("click",e)}}),[]);return(0,Sl.jsxs)("label",{className:"new-dropdown form-control-container",children:[n&&(0,Sl.jsx)("div",{className:"form-control__label",children:n}),(0,Sl.jsxs)("div",{className:"select-input ".concat(f?"-active":""," ").concat(l?"-selected":""),ref:p,children:[(0,Sl.jsx)("div",{className:"--dropdown__value",onClick:function(){d(!f)},children:(0,Sl.jsx)("span",{className:"--dropdown__value-text body1",children:null!==l&&void 0!==l&&l.name?(0,Sl.jsxs)("div",{className:"selected-item",children:[(null===l||void 0===l?void 0:l.icon)&&(0,Sl.jsx)("img",{src:null===l||void 0===l?void 0:l.icon,alt:null===l||void 0===l?void 0:l.name}),null===l||void 0===l?void 0:l.name]}):(0,Sl.jsx)("div",{children:c})})}),(0,Sl.jsx)("ul",{children:a.filter((function(e){return(null===e||void 0===e?void 0:e.name)!==(null===l||void 0===l?void 0:l.name)&&!(null===e||void 0===e||!e.name)})).map((function(e){return(0,Sl.jsxs)("li",{className:"body1",onClick:function(){return t=e,d(!1),void o(t);var t},children:[(null===e||void 0===e?void 0:e.icon)&&(0,Sl.jsx)("img",{src:null===e||void 0===e?void 0:e.icon,alt:e.name}),e.name]},e.name)}))})]})]})},zy=["title","titleId"];function Vy(){return Vy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vy.apply(this,arguments)}function Hy(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Gy(e,r){var n=e.title,i=e.titleId,a=Hy(e,zy);return t.createElement("svg",Vy({width:20,height:20,viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,Fy||(Fy=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5304 2.53044L19.0608 2.00011L18.0001 0.939453L17.4698 1.46978L10.0001 8.93945L2.53044 1.46978L2.00011 0.939453L0.939453 2.00011L1.46978 2.53044L8.93945 10.0001L1.46978 17.4698L0.939453 18.0001L2.00011 19.0608L2.53044 18.5304L10.0001 11.0608L17.4698 18.5304L18.0001 19.0608L19.0608 18.0001L18.5304 17.4698L11.0608 10.0001L18.5304 2.53044Z"})))}var qy,Wy,Uy=t.forwardRef(Gy),$y=(__webpack_require__.p,["title","titleId"]);function Xy(){return Xy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Xy.apply(this,arguments)}function Yy(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Zy(e,r){var n=e.title,i=e.titleId,a=Yy(e,$y);return t.createElement("svg",Xy({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,qy||(qy=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 4.25C7.27208 4.25 4.25 7.27208 4.25 11C4.25 14.7279 7.27208 17.75 11 17.75C14.7279 17.75 17.75 14.7279 17.75 11C17.75 7.27208 14.7279 4.25 11 4.25ZM2.75 11C2.75 6.44365 6.44365 2.75 11 2.75C15.5563 2.75 19.25 6.44365 19.25 11C19.25 15.5563 15.5563 19.25 11 19.25C6.44365 19.25 2.75 15.5563 2.75 11Z"})),Wy||(Wy=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.3048 15.2432L21.1155 20.0538L20.0548 21.1145L15.2441 16.3038L16.3048 15.2432Z"})))}var Jy,Ky,Qy,eb=t.forwardRef(Zy),tb=(__webpack_require__.p,["title","titleId"]);function rb(){return rb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rb.apply(this,arguments)}function nb(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ib(e,r){var n=e.title,i=e.titleId,a=nb(e,tb);return t.createElement("svg",rb({width:24,height:24,viewBox:"0 0 24 24",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,Jy||(Jy=t.createElement("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ky||(Ky=t.createElement("path",{d:"M8.25 12.0001C8.25 15.512 9.49969 18.6489 11.4637 20.7648C11.532 20.839 11.6149 20.8983 11.7072 20.9388C11.7995 20.9793 11.8992 21.0002 12 21.0002C12.1008 21.0002 12.2005 20.9793 12.2928 20.9388C12.3851 20.8983 12.468 20.839 12.5363 20.7648C14.5003 18.6489 15.75 15.512 15.75 12.0001C15.75 8.48824 14.5003 5.35137 12.5363 3.23543C12.468 3.16122 12.3851 3.10197 12.2928 3.06145C12.2005 3.02092 12.1008 3 12 3C11.8992 3 11.7995 3.02092 11.7072 3.06145C11.6149 3.10197 11.532 3.16122 11.4637 3.23543C9.49969 5.35137 8.25 8.48824 8.25 12.0001Z",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Qy||(Qy=t.createElement("path",{d:"M3 12H21",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}var ab=t.forwardRef(ib),sb=(__webpack_require__.p,function(e){return{close:(0,Sl.jsx)(Uy,{}),search:(0,Sl.jsx)(eb,{}),globe:(0,Sl.jsx)(ab,{})}[e]}),ob=function(e){var t=e.onClick,r=void 0===t?void 0:t,n=e.size,i=void 0===n?"":n,a=e.iconName,s=void 0===a?"close":a,o=e.text,l=void 0===o?"":o,c="header-button header-button-".concat(s," header-button--").concat(i);return(0,Sl.jsxs)("button",{className:c,onClick:r,children:[sb(s),l&&(0,Sl.jsx)("span",{children:l})]})},lb=function(e){var r=e.onClose,n=Ns(),i=ks(Si),a=i.country,s=i.language,o=i.languages,l=i.countries,c=ks(Ha),u=c.menu_change_country_text,f=c.menu_choose_country_text,d=c.menu_available_languages_text,p=c.menu_save_choice_text,h=Sr(t.useState({language:s,country:a}),2),m=h[0],v=h[1],g=Lo();return(0,Sl.jsxs)("div",{className:"country-selector-popup",children:[(0,Sl.jsx)("div",{className:"country-selector-popup__title",children:u}),(0,Sl.jsx)(ob,{onClick:r,size:"small"}),(0,Sl.jsxs)("div",{className:"country-selector-controls",children:[(0,Sl.jsx)(By,{label:f,selectedValue:m.country,options:l,onChange:function(e){return v(ce(ce({},m),{},{country:e}))}}),(0,Sl.jsx)(By,{label:d,selectedValue:m.language,options:o,onChange:function(e){return v(ce(ce({},m),{},{language:e}))}}),(0,Sl.jsx)(Ml,{onClick:function(){n(ji(m.language)),n(Ai(m.country)),r(),g(0)},type:"default",children:p})]})]})},cb=function(e){var r=e.isOpen,n=e.setIsOpen,i=ks(Ha).menu_change_country_text,a=(0,t.useRef)(null),s=function(){return n(!r)};return(0,t.useEffect)((function(){var e=function(e){var t=e.target.matches("li.body1");!a.current||a.current.contains(e.target)||t||n(!1)};return document.addEventListener("click",e),function(){document.removeEventListener("click",e)}}),[]),(0,Sl.jsxs)("div",{ref:a,className:"country-selector-container",children:[(0,Sl.jsx)(ob,{iconName:"globe",text:i,onClick:s}),r&&(0,Sl.jsx)(lb,{onClose:s})]})},ub=function(e){var t=e.value,r=e.onClear,n=e.onChange,i=e.inputRef,a=ks(Ha),s=a.menu_search_placeholder,o=a.menu_clear_button_text;return(0,Sl.jsxs)("label",{className:"search-control",children:[(0,Sl.jsx)(eb,{}),(0,Sl.jsx)("input",{ref:i,value:t,onChange:n,type:"text",placeholder:s,className:"body1 search-control__input"}),!!t&&(0,Sl.jsxs)("button",{className:"search-control__clear",onClick:r,children:[(0,Sl.jsx)("span",{children:o}),(0,Sl.jsx)(Uy,{})]})]})},fb=function(e){var t=e.title,r=e.slug,n=e.img,i=e.desc;return(0,Sl.jsxs)(dl,{to:r,className:"result-item-card",children:[n&&(0,Sl.jsx)("img",{src:n,alt:t}),(0,Sl.jsxs)("div",{className:"result-item-card__desc",children:[(0,Sl.jsx)("p",{children:t}),(0,Sl.jsx)("p",{children:i})]}),(0,Sl.jsx)("div",{className:"learn-more-arrow",children:(0,Sl.jsx)("div",{})})]})},db=function(e){var t=e.data,r=e.title,n=e.children,i=e.link,a=e.linkText;return!!t.length&&(0,Sl.jsxs)("div",{className:"result-category-block",children:[(0,Sl.jsx)("div",{className:"result-category-block__title",children:r}),(0,Sl.jsx)("div",{className:"result-category-block__content",children:n}),i&&(0,Sl.jsx)(Ml,{href:i,type:"learn-more-arrow",className:"result-category-block__button",children:a})]})};var pb=__webpack_require__.p+"static/media/pdf.97f7accb812c1c2a1929e053064cde0e.svg",hb=function(){var e=ks(Ya),t=ks(Za),r=ks(Ha),n=r.menu_search_results_text,i=r.menu_search_not_found_text,a=r.menu_search_products_text,s=r.menu_search_all_products_text,o=r.menu_search_resources_text,l=r.menu_search_all_resources_text,c=r.menu_search_nutrition_programs_text,u=r.menu_search_all_nutrition_programs_text,f=r.menu_search_trial_results_text,d=r.menu_search_all_trial_results_text,p=r.menu_search_posts_text,h=r.menu_search_all_posts_text,m=r.menu_search_vacancies_text,v=r.menu_search_all_vacancies_text,g=r.menu_crop_nutrition_text,y=r.menu_information_materials_text,b=r.menu_trial_results_text,x=r.menu_career_text,_=e.products,w=e.cropsNutrition,S=e.cropsTrials,k=e.posts,E=e.catalogs,C=e.vacancies,P=e.flyers,T=!(null!==_&&void 0!==_&&_.length)&&!(null!==w&&void 0!==w&&w.length)&&!(null!==S&&void 0!==S&&S.length)&&!(null!==k&&void 0!==k&&k.length)&&!(null!==E&&void 0!==E&&E.length)&&!(null!==P&&void 0!==P&&P.length)&&!(null!==C&&void 0!==C&&C.length),M=T&&t?i:t&&!T?n:"Searching...",j=[].concat(Fr(E),Fr(P));return(0,Sl.jsxs)("div",{className:"search-results",children:[(0,Sl.jsx)("div",{className:"search-results-title",children:M}),(0,Sl.jsxs)("div",{className:"search-results-content",children:[(0,Sl.jsx)(db,{data:_,title:a,link:vl.products,linkText:s,children:_.map((function(e){var t=e.slug,r=e.preview_title,n=e.logo;return(0,Sl.jsx)(fb,{title:r,slug:vl.products+"/"+t,img:n,desc:a},t)}))}),(0,Sl.jsx)(db,{data:w,title:c,link:vl.cropNutritionPrograms,linkText:u,children:w.map((function(e){var t=e.icon,r=e.slug,n=e.title;return(0,Sl.jsx)(fb,{title:n,slug:vl.cropNutritionPrograms+"/"+r,img:t,desc:g},r)}))}),(0,Sl.jsx)(db,{data:S,title:f,link:vl.trialResults,linkText:d,children:S.map((function(e){var t=e.icon,r=e.slug,n=e.title;return(0,Sl.jsx)(fb,{title:n,slug:vl.trialResults+"/"+r,img:t,desc:b},r)}))}),(0,Sl.jsx)(db,{data:k,title:p,link:vl.news,linkText:h,children:k.map((function(e){var t=e.slug,r=e.title,n=e.title_background,i=e.type;return(0,Sl.jsx)(fb,{title:r,slug:vl.news+"/"+t,img:n,desc:i},t)}))}),(0,Sl.jsx)(db,{data:C,title:m,link:vl.career,linkText:v,children:C.map((function(e){var t=e.slug,r=e.title,n=e.title_background;return(0,Sl.jsx)(fb,{title:r,slug:vl.career+"/"+t,img:n,desc:x},t)}))}),(0,Sl.jsxs)(db,{data:j,title:o,link:vl.informationMaterials,linkText:l,children:[null===E||void 0===E?void 0:E.map((function(e){var t=e.id,r=e.title,n=e.image;return(0,Sl.jsx)(fb,{title:r,slug:vl.informationMaterials,img:n,desc:y},t)})),null===P||void 0===P?void 0:P.map((function(e,t){var r=e.title;return(0,Sl.jsx)(fb,{title:r,slug:vl.informationMaterials,img:pb,desc:y},t)}))]})]})]})},mb=function(e,r){var n=Sr((0,t.useState)(e),2),i=n[0],a=n[1];return(0,t.useEffect)((function(){var t=setTimeout((function(){return a(e)}),r||500);return function(){clearTimeout(t)}}),[e,r]),i},vb=function(){var e=Ns(),r=Sr((0,t.useState)(""),2),n=r[0],i=r[1],a=mb(n),s=(0,t.useRef)(null);return(0,t.useEffect)((function(){s&&s.current.focus()}),[]),(0,t.useEffect)((function(){a&&e(Ua({search:a}))}),[e,a]),(0,Sl.jsxs)("div",{className:"search-component",children:[(0,Sl.jsx)(ub,{inputRef:s,value:n,onClear:function(){i(""),e(Ja())},onChange:function(e){return i(e.target.value)}}),!!n&&(0,Sl.jsx)(hb,{})]})},gb=function(e){var r=e.isOpen,n=e.setIsOpen,i=Ns(),a=Io();return(0,t.useEffect)((function(){n(!1),i(Ja())}),[i,a,n]),(0,Sl.jsxs)("div",{className:"search-container",children:[(0,Sl.jsx)(ob,{iconName:r?"close":"search",onClick:function(){n(!r),!1===r&&i(Ja())}}),r&&(0,Sl.jsx)("div",{className:"search-dropdown ".concat(r?"opened":""),children:(0,Sl.jsx)(vb,{})})]})},yb=function(){return(0,Sl.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"56",height:"40",viewBox:"0 0 56 40",fill:"none",children:[(0,Sl.jsx)("line",{x1:"16",y1:"15.25",x2:"41",y2:"15.25",stroke:"white",strokeWidth:"1.5"}),(0,Sl.jsx)("line",{x1:"16",y1:"23.25",x2:"41",y2:"23.25",stroke:"white",strokeWidth:"1.5"})]})},bb=function(){var e=Io(),r=Sr(t.useState(!1),2),n=r[0],i=r[1],a=Sr(t.useState(!1),2),s=a[0],o=a[1],l=Sr(t.useState(!1),2),c=l[0],u=l[1],f=function(){return i(!n)},d=ks(rs);return t.useEffect((function(){i(!1)}),[e]),t.useEffect((function(){c&&(o(!1),i(!1))}),[c]),t.useEffect((function(){s&&(u(!1),i(!1))}),[s]),t.useEffect((function(){d&&(u(!1),o(!1))}),[d]),t.useEffect((function(){n&&(u(!1),o(!1))}),[n]),(0,Sl.jsxs)(Sl.Fragment,{children:[!!n&&(0,Sl.jsx)("div",{className:"overlay",onClick:f}),(0,Sl.jsx)("header",{children:(0,Sl.jsx)("div",{className:"container",children:(0,Sl.jsx)("div",{className:"header ".concat(n?"mobile-menu-isOpen":""),children:(0,Sl.jsxs)("div",{className:"header__main",children:[(0,Sl.jsx)("div",{className:"header-logo",children:(0,Sl.jsx)(qg,{})}),(0,Sl.jsx)(Ry,{}),(0,Sl.jsxs)("div",{className:"header-finish",children:[(0,Sl.jsx)(cb,{isOpen:s,setIsOpen:o}),(0,Sl.jsx)(gb,{isOpen:c,setIsOpen:u}),(0,Sl.jsx)("button",{className:"burger-button",onClick:f,children:(0,Sl.jsx)(yb,{})})]})]})})})})]})},xb=function(){var e=ks(Pi).language;return(0,Sl.jsxs)(Sl.Fragment,{children:[(0,Sl.jsx)(bb,{}),(0,Sl.jsx)("main",{className:"lang-"+(null===e||void 0===e?void 0:e.code),children:(0,Sl.jsx)(Ko,{})}),(0,Sl.jsx)(fy,{})]})},_b=function(e){var t=e.Sidebar,r=e.children,n=e.mobileReversed,i=void 0!==n&&n,a=e.containerType,s=void 0===a?"":a,o=e.breakpoint,l=void 0===o?"xl":o;return(0,Sl.jsx)("div",{className:"inner-container ".concat(s),children:(0,Sl.jsxs)("div",{className:"with-sidebar-layout ".concat(i?"mobile-reverse":""," ").concat(l),children:[(0,Sl.jsx)("div",{className:"with-sidebar-layout__left",children:t}),(0,Sl.jsx)("div",{className:"with-sidebar-layout__right",children:r})]})})},wb=function(e){var t=e.sidebar,r=e.children,n=e.className,i=void 0===n?"":n;return(0,Sl.jsx)("section",{className:"container form-section ".concat(i),children:(0,Sl.jsx)(_b,{Sidebar:t,breakpoint:"lg",children:r})})},Sb=function(e){var t=e.children;return(0,Sl.jsxs)("div",{className:"new-form-sidebar",children:[(0,Sl.jsx)("div",{className:"new-form-sidebar-inner",children:t}),(0,Sl.jsx)("div",{className:"new-form-sidebar__gradient"})]})},kb=function(){var e=ks(Ha),t=e.cta_tag,r=e.cta_title,n=e.cta_image;return(0,Sl.jsxs)(Sb,{children:[(0,Sl.jsx)(Ol,{children:t}),(0,Sl.jsx)("div",{className:"pb-24",children:(0,Sl.jsx)(Al,{size:"middle",textColor:"white",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})})}),(0,Sl.jsx)("img",{src:n,alt:""})]})},Eb=function(e){return/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(e)},Cb=function(e){var r=e.value,n=e.onChange,i=e.label,a=e.placeholder,s=e.required,o=void 0!==s&&s,l=e.type,c=e.className,u=void 0===c?"":c,f=ks(Ha),d=f.cta_required_error,p=f.cta_invalid_error,h=Sr((0,t.useState)(""),2),m=h[0],v=h[1];return(0,Sl.jsx)("div",{className:"form-control-container ".concat(u),children:(0,Sl.jsxs)("label",{className:"form-control ".concat(m?"invalid":""),children:[i&&(0,Sl.jsxs)("span",{className:"form-control__label",children:[i,o?"*":""]}),(0,Sl.jsx)("input",{onBlur:function(){o&&v(""===r?d:""),"email"===l&&v(Eb(r)?"":p)},type:"text",placeholder:a,value:r,onChange:function(e){return n(e.target.value)},className:"form-control__input"}),m&&(0,Sl.jsx)("div",{className:"invalid-text",children:m})]})})},Pb=function(e){var t=e.value,r=e.onChange,n=e.label,i=e.placeholder;return(0,Sl.jsx)("div",{className:"form-control-container",children:(0,Sl.jsxs)("label",{className:"form-control",children:[(0,Sl.jsx)("span",{className:"form-control__label",children:n}),(0,Sl.jsx)("textarea",{className:"form-control__textarea",value:t,onChange:function(e){return r(e.target.value)},placeholder:i})]})})},Tb=function(e){var t=e.checked,r=e.onChange,n=e.children;return(0,Sl.jsxs)("div",{className:"checkbox-container",children:[(0,Sl.jsx)("div",{className:"checkbox",children:(0,Sl.jsx)("input",{className:t?"checked":"",type:"checkbox",checked:t,onChange:r})}),(0,Sl.jsx)("div",{className:"checkbox-label",children:n})]})},Mb=function(e){var t=e.onClick,r=e.disabled,n=void 0!==r&&r,i=ks(Ha).cta_submit_button;return(0,Sl.jsx)("button",{className:"button-submit",onClick:t,disabled:n,children:i})},jb=function(){var e=ks(Ha),t=e.cta_thanks_title,r=e.cta_thanks_description,n=e.cta_thanks_image,i=e.cta_thanks_social_text,a=e.footer_instagram_link,s=e.footer_facebook_link,o=e.footer_youtube_link;return(0,Sl.jsx)("div",{className:"thankyou-container",children:(0,Sl.jsx)("div",{className:"thankyou-wrapper",style:{backgroundImage:'url("'.concat(n,'")')},children:(0,Sl.jsxs)("div",{className:"thankyou-background",children:[(0,Sl.jsx)("h3",{children:t}),(0,Sl.jsx)("p",{className:"body1",children:r}),(0,Sl.jsx)("div",{className:"thankyou-bottom-wrapper",children:(0,Sl.jsxs)("div",{className:"thankyou-background-bottom",children:[(0,Sl.jsx)("p",{className:"body1",children:i}),(0,Sl.jsxs)("div",{className:"social-buttons",children:[(0,Sl.jsx)(dl,{target:"_blank",to:a,className:"button instagram"}),(0,Sl.jsx)(dl,{target:"_blank",to:s,className:"button facebook"}),(0,Sl.jsx)(dl,{target:"_blank",to:o,className:"button youtube"})]})]})})]})})})},Ab="feedback",Ob=function(e){var t=e.name,r=e.activeType,n=e.type,i=e.onClick;return(0,Sl.jsx)("button",{className:"form-type-change__item ".concat(r===n?"active":""),onClick:function(){return i(n)},children:t})},Db=function(e){var t=e.activeType,r=e.onClick,n=ks(Ha),i=n.cta_feedback_title,a=n.cta_anonymous_feedback_title;return(0,Sl.jsxs)("div",{className:"form-type-change",children:[(0,Sl.jsx)(Ob,{onClick:r,name:i,activeType:t,type:Ab}),(0,Sl.jsx)(Ob,{onClick:r,name:a,activeType:t,type:"anonymous"})]})},Nb=function(){var e=Io().pathname,r=Sr((0,t.useState)(""),2),n=r[0],i=r[1],a=Sr((0,t.useState)(!1),2),s=a[0],o=a[1],l=Sr((0,t.useState)(!1),2),c=l[0],u=l[1],f=Sr((0,t.useState)(null),2),d=f[0],p=f[1],h=Sr((0,t.useState)(""),2),m=h[0],v=h[1],g=Sr((0,t.useState)(""),2),y=g[0],b=g[1],x=Sr((0,t.useState)(Ab),2),_=x[0],w=x[1],S=Sr((0,t.useState)({name:"",email:"",phone:"",organization:""}),2),k=S[0],E=S[1],C=_===Ab,P=ks(Ha),T=P.cta_field_email_placeholder,M=P.cta_field_email_title,j=P.cta_field_message_placeholder,A=P.cta_field_message_title,O=P.cta_field_name_placeholder,D=P.cta_field_name_title,N=P.cta_field_organization_placeholder,I=P.cta_field_organization_title,F=P.cta_field_phone_placeholder,L=P.cta_field_phone_title,R=P.cta_field_sender_title,B=P.cta_policy_text,z=P.cta_field_sender_options,V=P.cta_field_subject_message_title,H=P.cta_field_subject_message_placeholder,G=[{name:"name",required:!0,label:D,placeholder:O},{name:"email",required:!0,label:M,placeholder:T},{name:"phone",label:L,placeholder:F},{name:"organization",label:I,placeholder:N}],q=null===z||void 0===z?void 0:z.map((function(e){return ce(ce({},e),{},{name:e.title})})),W=C?!c||""===k.name||""===k.email||s:!c||s||""===m||""===y;return"success"===n?(0,Sl.jsx)(jb,{}):(0,Sl.jsxs)("div",{className:"form-container form-type-".concat(_),children:[(0,Sl.jsxs)("div",{className:"form-body",children:[(0,Sl.jsx)(Db,{activeType:_,onClick:w}),C&&G.map((function(e){var t=e.placeholder,r=e.label,n=e.name,i=e.required;return(0,Sl.jsx)(Cb,{type:n,value:k[n],onChange:function(e){return E(ce(ce({},k),{},oe({},n,e)))},label:r,placeholder:t,required:i,className:"form-item-half"},n)})),(0,Sl.jsx)(By,{label:R,options:q,selectedValue:d,onChange:function(e){return p(e)}}),!C&&(0,Sl.jsx)(Cb,{value:y,onChange:b,label:V,placeholder:H,type:void 0}),(0,Sl.jsx)(Pb,{value:m,onChange:function(e){return v(e)},label:A,placeholder:j})]}),(0,Sl.jsxs)("div",{className:"form-footer",children:[(0,Sl.jsx)(Tb,{onChange:function(){return u(!c)},checked:c,children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:B}})}),(0,Sl.jsx)(Mb,{onClick:function(){if(!W){o(!0);var t=ce(ce({},k),{},{message:m,category:null===d||void 0===d?void 0:d.value,from_page:e}),r={message:m,subject:y,category:null===d||void 0===d?void 0:d.value,from_page:e};un.postForm("".concat(hn+fn.cr),C?t:r).then((function(e){i(e.data.status),o(!1)})).catch((function(e){console.log(e),o(!1)}))}},disabled:W})]})]})},Ib=function(){return(0,Sl.jsx)(wb,{sidebar:(0,Sl.jsx)(kb,{}),children:(0,Sl.jsx)(Nb,{})})},Fb=function(e){var t=e.item,r=e.index,n=e.withCustomContent,i=t.title,a=t.description,s=t.type,o=n?(0,Sl.jsx)("div",{dangerouslySetInnerHTML:{__html:t.description}}):(0,Sl.jsxs)(Sl.Fragment,{children:[i&&(0,Sl.jsx)("div",{className:"description-demibold benefit-card__title",children:i}),(0,Sl.jsx)("div",{className:"body1 opacity-80 benefit-card__text",children:a})]});return(0,Sl.jsxs)("div",{className:"benefit-card ".concat(s?"benefit-card__".concat(s):""),children:[(0,Sl.jsx)("div",{className:"gradient-number dark",children:(0,Sl.jsx)("span",{children:r+1})}),o]},i)},Lb=function(e){var t=e.data,r=e.withCustomContent,n=void 0!==r&&r;return(0,Sl.jsx)("div",{className:"benefits-container",children:null===t||void 0===t?void 0:t.map((function(e,t){return(0,Sl.jsx)(Fb,{item:e,index:t,withCustomContent:n},t)}))})},Rb=function(e){var t=e.title,r=e.data,n=e.children,i=void 0===n?void 0:n;return(0,Sl.jsxs)("div",{className:"box",children:[t&&(0,Sl.jsx)("h3",{children:t}),(0,Sl.jsx)(Lb,{data:r}),i]})},Bb=function(e){var t=e.children;return(0,Sl.jsx)("div",{className:"box general-info-box",children:t})},zb=function(e){var t=e.index,r=e.activeIndex,n=e.text,i=e.onClick;return(0,Sl.jsx)("div",{className:"navigation-sidebar__item ".concat(t===r?"navigation-sidebar__active":""),onClick:i,children:(0,Sl.jsx)("p",{className:"button-text",children:n})})},Vb=function(e){var t=e.items,r=e.activeIndex,n=e.refs,i=e.includesTitle,a=void 0===i?"":i;return(0,Sl.jsx)("div",{className:"navigation-sidebar",children:t.map((function(e,t){return e!==a&&(0,Sl.jsx)(zb,{index:t,activeIndex:r,text:e,onClick:function(){window.scrollTo({top:n[t].current.getBoundingClientRect().top+window.scrollY-100,behavior:"smooth"})}},t)}))})},Hb=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return Array.from({length:(t-e)/r+1},(function(t,i){return Number((e+i*r).toFixed(n))}))},Gb=function(e,r){var n=Sr(t.useState({isIntersecting:!1,ratio:0,width:0,height:0}),2),i=n[0],a=n[1];return t.useEffect((function(){var t=e.current,n=new IntersectionObserver((function(e){var t=Sr(e,1)[0];a((function(e){return ce(ce({},e),{},{isIntersecting:t.isIntersecting,ratio:Math.round(100*t.intersectionRatio),width:Math.round(t.intersectionRect.width),height:Math.round(t.intersectionRect.height)})}))}),r);return n.observe(t),function(){return n.unobserve(t)}}),[]),i},qb=function(e){var r=e.children,n=e.index,i=e.setData,a=t.useRef(null),s={threshold:Hb(0,1,.01,2)},o=Gb(a,ce({},s)).ratio;return t.useEffect((function(){i((function(e){return ce(ce({},e),{},oe({},n,o))}))}),[n,o,i]),(0,Sl.jsx)("div",{ref:a,children:r})},Wb=function(e){var t=0;for(var r in e)e[r]>50&&(t=Number(r));return t},Ub=function(e){var t=e.data;return(0,Sl.jsxs)("div",{className:"pdf-card",children:[(0,Sl.jsxs)("div",{className:"pdf-card__top",children:[(0,Sl.jsx)("img",{src:pb,alt:"pdf"}),(0,Sl.jsxs)("div",{className:"pdf-card__top__right-icons",children:[(0,Sl.jsx)(dl,{to:null===t||void 0===t?void 0:t.file,rel:"noopener noreferrer",target:"_blank",children:(0,Sl.jsx)("div",{className:"button view"})}),(0,Sl.jsx)(dl,{to:null===t||void 0===t?void 0:t.file,target:"_blank",rel:"noopener noreferrer",download:!0,children:(0,Sl.jsx)("div",{className:"button download"})})]})]}),(0,Sl.jsx)("p",{className:"body2",children:t.title})]})},$b=function(e){var t=e.title,r=void 0===t?"":t,n=e.data,i=e.children,a=void 0===i?void 0:i;return(0,Sl.jsxs)("div",{className:"box pdf-box",children:[r&&(0,Sl.jsx)("h3",{children:r}),(0,Sl.jsx)("div",{className:"pdf-items",children:null===n||void 0===n?void 0:n.map((function(e,t){return(0,Sl.jsx)(Ub,{data:e},t)}))}),a]})},Xb=function(e){var t=e.title,r=e.image,n=e.description,i=e.file;return(0,Sl.jsxs)("div",{className:"box product-box",children:[(0,Sl.jsx)("h3",{children:t}),(0,Sl.jsxs)("div",{className:"product-catalog",children:[(0,Sl.jsx)("img",{src:r,alt:t}),(0,Sl.jsx)("p",{className:"body1 product-catalog__text",children:n}),(0,Sl.jsxs)("div",{className:"product-catalog__buttons",children:[(0,Sl.jsxs)(dl,{to:i,rel:"noopener noreferrer",target:"_blank",className:"button button-eye has-children",children:[(0,Sl.jsx)("div",{}),(0,Sl.jsx)("div",{children:"VIEW CATALOG"})]}),(0,Sl.jsxs)(dl,{to:i,rel:"noopener noreferrer",target:"_blank",className:"button download-button has-children",download:!0,children:[(0,Sl.jsx)("div",{}),(0,Sl.jsx)("div",{children:"DOWNLOAD"})]})]})]})]})},Yb=function(e){var t=e.icon,r=e.slug,n=e.title;return(0,Sl.jsxs)(dl,{to:r,className:"product-item",children:[(0,Sl.jsx)("div",{className:"product-item__image",children:t&&(0,Sl.jsx)("img",{src:t,alt:n})}),(0,Sl.jsx)("div",{className:"product-item__name",children:(0,Sl.jsx)("p",{className:"body2",children:n})})]})},Zb=function(e){var t=e.data,r=e.baseRoute,n=e.withSixItems,i=void 0!==n&&n,a=null===t||void 0===t?void 0:t.map((function(e){return ce(ce({},e),{},{__slug:r+"/"+e.slug,__icon:e.logo||e.icon,__title:e.preview_title||e.title})}));return(0,Sl.jsx)("div",{className:"product-items ".concat(i?"six-items":""),children:null===a||void 0===a?void 0:a.map((function(e){var t=e.__slug,r=e.__icon,n=e.__title;return(0,Sl.jsx)(Yb,{icon:r,slug:t,title:n},t)}))})},Jb=function(e){var t=e.text,r=void 0===t?"":t,n=e.onClick,i=e.next,a=ks(Ha).other_show_more_button;return i&&(0,Sl.jsx)("button",{className:"button show-more full-width has-children",onClick:n,children:r||a})},Kb=function(e){var r=e.title,n=Ns(),i=Bo().slug,a=Sr((0,t.useState)(1),2),s=a[0],o=a[1],l=ks(sa),c=l.data,u=l.next;(0,t.useEffect)((function(){n(Ji({product:i,type:dn,page:s}))}),[n,i,s]);return(0,Sl.jsxs)("div",{className:"box product-box",children:[r&&(0,Sl.jsx)("h3",{children:r}),(null===c||void 0===c?void 0:c.length)&&(0,Sl.jsx)(Zb,{data:c,baseRoute:vl.cropNutritionPrograms}),(0,Sl.jsx)(Jb,{next:u,onClick:function(){return o(s+1)}})]})},Qb=function(e){var r=e.title,n=Sr((0,t.useState)(1),2),i=n[0],a=n[1],s=Ns(),o=Bo().slug,l=ks(On),c=l.data,u=l.next;(0,t.useEffect)((function(){s(kn({slug:o,page:i}))}),[s,o,i]);return(0,Sl.jsxs)("div",{className:"box product-box",children:[r&&(0,Sl.jsx)("h3",{children:r}),(null===c||void 0===c?void 0:c.length)>0&&(0,Sl.jsx)(Zb,{data:c,baseRoute:vl.products}),(0,Sl.jsx)(Jb,{next:u,onClick:function(){return a(i+1)}})]})},ex=function(e){var r=e.title,n=e.setSelectedTab,i=e.index,a=e.isActive,s=(0,t.useCallback)((function(){n(i)}),[n,i]);return(0,Sl.jsx)("button",{className:"tab-button ".concat(a?"active":""),onClick:s,children:r})},tx=function(e){var r=e.children,n=e.preSelectedTabIndex,i=void 0===n?0:n,a=Sr((0,t.useState)(i),2),s=a[0],o=a[1];return(0,Sl.jsxs)("div",{className:"tabs",children:[(0,Sl.jsx)("div",{className:"tabs-nav",children:r.map((function(e,t){return(0,Sl.jsx)(ex,{title:e.props.title,index:t,isActive:t===s,setSelectedTab:o},e.props.title)}))}),r[s]]})},rx=function(e){var t=e.title,r=e.children;return(0,Sl.jsx)("div",{className:"tab-pane","data-title":t,children:r})},nx=function(e){var r=e.title,n=Ns(),i=Bo().slug,a=Sr((0,t.useState)(1),2),s=a[0],o=a[1],l=Sr((0,t.useState)(1),2),c=l[0],u=l[1],f=ks(Wn),d=ks(Un),p=ks(Ei).code,h=ks(Tn),m=h.trial_in_country_tab,v=h.trial_in_other_country_tab;(0,t.useEffect)((function(){n(Ln({product:i,type:pn,trials_country:p,page:s}))}),[n,i,p,s]),(0,t.useEffect)((function(){n(Rn({product:i,type:pn,page:c}))}),[n,i,p,c]);var g=[{title:m,data:f.data||[],next:f.next,onClick:function(){return o(s+1)}},{title:v,data:d.data||[],next:d.next,onClick:function(){return u(c+1)}}];return(0,Sl.jsxs)("div",{className:"box product-box",children:[r&&(0,Sl.jsx)("h3",{children:r}),(0,Sl.jsx)(tx,{children:g.map((function(e){return(0,Sl.jsxs)(rx,{title:e.title,children:[(0,Sl.jsx)(Zb,{data:e.data,baseRoute:vl.trialResults}),(0,Sl.jsx)(Jb,{next:e.next,onClick:e.onClick})]},e.title)}))})]})};var ix,ax,sx,ox,lx,cx,ux=__webpack_require__.p+"static/media/uniferIcon.1bb5c3c02f5b2e23f6d3dc9f63e92ec4.svg",fx=function(e){var t=e.image,r=e.href,n=e.title,i=e.icon,a=void 0===i?ux:i;return r&&(0,Sl.jsxs)("div",{className:"youtube-link",children:[(0,Sl.jsxs)("div",{className:"youtube-link__title",children:[(0,Sl.jsx)("img",{src:a,alt:"uniferX icon"}),(0,Sl.jsx)("p",{className:"description-demibold",children:n})]}),(0,Sl.jsx)("a",{href:r,target:"_blank",className:"button youtube youtube-link_button",rel:"noreferrer"}),(0,Sl.jsx)("img",{src:t,alt:"Video Thumbnail",className:"youtube-link__image"})]})},dx=function(e,r){(0,t.useEffect)((function(){var t=setTimeout((function(){return e()}),r);return function(){return clearTimeout(t)}}),[r,e])},px=function(e){var t=e.title,r=e.table,n=e.description;return(0,Sl.jsxs)("div",{className:"box table-box",children:[t&&(0,Sl.jsx)("h3",{children:t}),(0,Sl.jsx)("div",{className:"table-box__table",dangerouslySetInnerHTML:{__html:r}}),!!n&&(0,Sl.jsx)("div",{className:"table-box__description",dangerouslySetInnerHTML:{__html:n}}),(0,Sl.jsx)("div",{className:"table-box__piece"})]})},hx=function(e){var t=e.title;return(0,Sl.jsxs)("div",{className:"box table-box table-box-without-table",children:[(0,Sl.jsx)(Al,{size:"middle",textColor:"white",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})}),(0,Sl.jsx)("div",{className:"table-box__piece"})]})},mx=function(e){var r=e.pageContentData,n=Sr((0,t.useState)({}),2),i=n[0],a=n[1],s=Sr((0,t.useState)(0),2),o=s[0],l=s[1],c=[],u=[],f=ks(Mn),d=Sr((0,t.useState)(!1),2),p=d[0],h=d[1];Object.entries(r).forEach((function(e){var t=Sr(e,2),r=t[0],n=t[1];(function(e,t){return"benefits_data"===e?null!==t:"table_data"===e?!(null===t||void 0===t||!t.formula_table):"text_block"===e?!(null===t||void 0===t||!t.text):"composition_compatibility"===e?(null===t||void 0===t||null===(r=t.composition_compatibility)||void 0===r?void 0:r.length)>0:"related_products"===e||"trial_results"===e||"nutrition_programs"===e?null===t||void 0===t?void 0:t.hasOwnProperty("main_title"):!e.startsWith("catalog_")||!(null===t||void 0===t||null===(n=t.data)||void 0===n||!n.file);var r,n})(r,n)&&(c.push(function(e,t){if("general_information"===e){var r=t.main_title,n=t.general_information;return(0,Sl.jsxs)(Bb,{children:[r&&(0,Sl.jsx)("h3",{children:r}),(0,Sl.jsx)("div",{dangerouslySetInnerHTML:{__html:n}})]})}if("table_data"===e){var i=t.main_title,a=t.formula_table,s=t.formula_description;return(0,Sl.jsx)(px,{title:i,table:a,description:s})}if("text_block"===e)return(0,Sl.jsx)(hx,{title:null===t||void 0===t?void 0:t.text});if("benefits_data"===e){var o=(null===t||void 0===t?void 0:t.video)||{},l=o.benefits_preview_video,c=o.benefits_preview_text,u=o.benefits_video;return(0,Sl.jsx)(Rb,{title:null===t||void 0===t?void 0:t.main_title,data:null===t||void 0===t?void 0:t.benefits,children:u&&(0,Sl.jsx)(fx,{image:l,href:u,title:c})})}if("composition_compatibility"===e){var f=t.main_title,d=t.composition_compatibility;return(0,Sl.jsx)($b,{title:f,data:d})}return"related_products"===e?(0,Sl.jsx)(Qb,{title:t.main_title}):"nutrition_programs"===e?(0,Sl.jsx)(Kb,{title:t.main_title}):"trial_results"===e?(0,Sl.jsx)(nx,{title:t.main_title}):e.startsWith(vx)?(0,Sl.jsx)(Xb,{file:t.data.file,title:t.main_title,image:t.data.image,description:t.data.description}):null}(r,n)),u.push(n.main_title))}));var m=c.length,v=Sr((0,t.useState)([]),2),g=v[0],y=v[1];(0,t.useEffect)((function(){y((function(e){return Array(m).fill().map((function(r,n){return e[n]||(0,t.createRef)()}))}))}),[m]),(0,t.useEffect)((function(){l(Wb(i))}),[i]),dx((function(){return h(!0)}),2e3);var b=(0,t.useRef)();return qv({items:[".box",".picture-component"],container:b,dependencies:[f,p]}),(0,Sl.jsx)("div",{ref:b,children:(0,Sl.jsx)(_b,{Sidebar:(0,Sl.jsx)(Vb,{activeIndex:o,refs:g,items:u,includesTitle:"formula_text"}),children:c.map((function(e,t){return(0,Sl.jsx)("div",{ref:g[t],children:(0,Sl.jsx)(qb,{index:t,setData:a,children:e})},t)}))})})},vx="catalog_",gx=function(){var e=Bo().slug,r=Ns(),n=Io(),i=ks(Mn),a=Lo(),s=ks(Tn),o=s.general_information,l=s.general_information_title,c=s.benefits_title,u=s.benefits,f=s.benefits_preview_video,d=s.benefits_video,p=s.benefits_preview_text,h=s.formula_description,m=s.formula_table,v=s.formula_title,g=s.formula_text,y=s.title,b=s.title_image,x=s.title_button,_=s.about_title,w=s.about_description,S=s.composition_compatibility,k=s.composition_compatibility_title,E=s.products_title,C=s.nutrition_programs_title,P=s.trial_results_title,T=s.has_related_products,M=s.has_nutrition_programs,j=s.has_trial_results,A=s.catalogs,O=s.group_slug;(0,t.useEffect)((function(){return function(){r(ls({pathname:n.pathname,state:O}))}}),[n,O]),(0,t.useEffect)((function(){es(r(wn({slug:e})),a)}),[r,e]);var D=ks(Ha),N=null===D||void 0===D?void 0:D.product_about_tag,I=null===D||void 0===D?void 0:D.benefits_title,F=u&&u.length||d?{main_title:c||I,benefits:u,video:d&&{benefits_preview_video:f,benefits_preview_text:p,benefits_video:d}}:null,L=T?{main_title:E}:null,R=M?{main_title:C}:null,B=j?{main_title:P}:null,z=null===A||void 0===A?void 0:A.reduce((function(e,t,r){return ce(ce({},e),{},oe({},"".concat(vx).concat(r),{main_title:t.title,data:t}))}),{}),V=ce({general_information:{general_information:o,main_title:l},table_data:{main_title:v,formula_table:m,formula_description:h},text_block:{main_title:"formula_text",text:g},benefits_data:F,related_products:L,composition_compatibility:{composition_compatibility:S,main_title:k},nutrition_programs:R,trial_results:B},z),H=(0,t.useRef)();return qv({items:[],container:H,dependencies:[i]}),i?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:H,children:[(0,Sl.jsx)(jl,{title:y,image:b,buttonText:x,buttonType:"find-desktop",to:vl.contacts+"#find"}),(0,Sl.jsxs)("section",{className:"container",children:[(0,Sl.jsx)("div",{className:"inner-container type-2",children:(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:N}),(0,Sl.jsx)(Al,{className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:_}})}),w&&(0,Sl.jsx)("div",{className:"offset-left-4 max-width-760",children:(0,Sl.jsx)(Al,{size:"super-small",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:w}})})})]})}),(0,Sl.jsx)(mx,{pageContentData:V})]}),(0,Sl.jsx)(Ib,{})]})},yx=function(){var e=Ns(),r=ks(ta),n=ks(ea),i=n.fs_title,a=n.fs_title_background,s=n.fs_view_button,o=n.agricultural_tag,l=n.agricultural_title,c=ks(ra);(0,t.useEffect)((function(){e(Yi()),e(Ki({type:dn,all:!0}))}),[e]);var u=(0,t.useRef)();return qv({items:[".with-sidebar-layout"],container:u,dependencies:[r]}),r?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:u,children:[(0,Sl.jsx)(jl,{title:i,image:a,buttonText:s,onClickButton:function(){return Qa("box",100)}}),(0,Sl.jsxs)("section",{className:"container",children:[(0,Sl.jsx)("div",{className:"inner-container type-3",children:(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:o}),(0,Sl.jsx)(Al,{className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:l}})})]})}),(0,Sl.jsx)("div",{className:"box",children:(0,Sl.jsx)(Zb,{data:c,baseRoute:vl.cropNutritionPrograms,withSixItems:!0})})]}),(0,Sl.jsx)(Ib,{})]})},bx=function(){var e=Ns(),r=ks(Gn),n=ks(Hn),i=n.fs_title,a=n.fs_title_background,s=n.fs_view_button,o=n.agricultural_tag,l=n.agricultural_title,c=n.agricultural_description,u=ks($n);(0,t.useEffect)((function(){e(Bn({all:!0,type:pn})),e(In())}),[e]);var f=(0,t.useRef)();return qv({items:[".with-sidebar-layout"],container:f,dependencies:[r]}),r?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:f,children:[(0,Sl.jsx)(jl,{title:i,image:a,buttonText:s,onClickButton:function(){return Qa("box",100)}}),(0,Sl.jsxs)("section",{className:"container",children:[(0,Sl.jsx)("div",{className:"inner-container type-2",children:(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:o}),(0,Sl.jsx)(Al,{className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:l}})}),(0,Sl.jsx)("div",{className:"offset-left-4 max-width-760",children:(0,Sl.jsx)(Al,{size:"super-small",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:c}})})})]})}),(0,Sl.jsx)("div",{className:"box",children:(0,Sl.jsx)(Zb,{data:u,baseRoute:vl.trialResults,withSixItems:!0})})]}),(0,Sl.jsx)(Ib,{})]})},xx=function(e){var t=e.title,r=e.data,n=e.baseRoute;return(0,Sl.jsxs)("div",{className:"product-sidebar",children:[(0,Sl.jsx)("div",{className:"description-demibold product-sidebar__title",children:t}),(0,Sl.jsx)("div",{className:"product-sidebar-cards",children:null===r||void 0===r?void 0:r.map((function(e){return(0,Sl.jsx)(dl,{to:n+"/"+e.slug,className:"product-sidebar-card",title:e.title,children:e.icon?(0,Sl.jsx)("img",{src:e.icon,alt:e.title}):(0,Sl.jsx)("span",{children:e.title})},n+"/"+e.slug)}))})]})},_x=["title","titleId"];function wx(){return wx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wx.apply(this,arguments)}function Sx(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function kx(e,r){var n=e.title,i=e.titleId,a=Sx(e,_x);return t.createElement("svg",wx({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,ix||(ix=t.createElement("path",{d:"M6.125 6.125C7.16053 6.125 8 5.28553 8 4.25C8 3.21447 7.16053 2.375 6.125 2.375C5.08947 2.375 4.25 3.21447 4.25 4.25C4.25 5.28553 5.08947 6.125 6.125 6.125Z",stroke:"white",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ax||(ax=t.createElement("path",{d:"M11.125 13.625C12.1605 13.625 13 12.7855 13 11.75C13 10.7145 12.1605 9.875 11.125 9.875C10.0895 9.875 9.25 10.7145 9.25 11.75C9.25 12.7855 10.0895 13.625 11.125 13.625Z",stroke:"white",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),sx||(sx=t.createElement("path",{d:"M8 4.25H14.875",stroke:"white",strokeWidth:1.5,strokeLinecap:"square",strokeLinejoin:"round"})),ox||(ox=t.createElement("path",{d:"M1.125 4.25H4.25",stroke:"white",strokeWidth:1.5,strokeLinecap:"square",strokeLinejoin:"round"})),lx||(lx=t.createElement("path",{d:"M13 11.75H14.875",stroke:"white",strokeWidth:1.5,strokeLinecap:"square",strokeLinejoin:"round"})),cx||(cx=t.createElement("path",{d:"M1.125 11.75H9.25",stroke:"white",strokeWidth:1.5,strokeLinecap:"square",strokeLinejoin:"round"})))}var Ex=t.forwardRef(kx),Cx=(__webpack_require__.p,function(e){var t=e.children,r=e.onReset,n=e.hasSelected,i=e.title,a=void 0===i?"Filter":i,s=e.withoutSticky,o=void 0!==s&&s,l=ks(Ha).reset_filter;return(0,Sl.jsxs)("div",{className:"filter-sidebar ".concat(o?"without-sticky":""),children:[(0,Sl.jsxs)("div",{className:"filter-sidebar__header",children:[(0,Sl.jsx)(Ex,{}),a]}),(0,Sl.jsx)("div",{className:"filter-sidebar__body",children:t}),n&&(0,Sl.jsx)("button",{className:"filter-sidebar-reset",onClick:r,children:l})]})}),Px=function(){var e,t=Ns(),r=ks(oa),n=ks(ea),i=n.filter_name,a=n.product_select,s=ks(An),o=ks(is);if(null===o||void 0===o||null===(e=o.pathname)||void 0===e?void 0:e.startsWith(vl.products)){var l=s.find((function(e){return e.value===o.state}));t(la(l))}return(0,Sl.jsx)(Cx,{onReset:function(){t(la(null)),t(ls(null))},hasSelected:r,title:i,withoutSticky:!0,children:(0,Sl.jsx)(By,{label:a,options:s,onChange:function(e){t(la(e)),t(ls(null))},selectedValue:r})})},Tx=function(){var e=Ns(),r=Bo().slug,n=Lo(),i=ks(ia),a=i.title,s=i.fs_view_button,o=i.fs_background,l=i.details,c=i.sidebar_text,u=ks(Ha).sidebar_text_crop_nutrition,f=ks(ra),d=ks(aa),p=ks(oa);(0,t.useEffect)((function(){e(Ki({type:dn,all:!0})),es(e(Zi({slug:r,type:dn,product:null===p||void 0===p?void 0:p.value})),n)}),[e,r,p]);var h=(0,t.useRef)();return qv({items:[".box"],container:h,dependencies:[d]}),d?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:h,children:[(0,Sl.jsx)(jl,{title:a,image:o,buttonText:s,onClickButton:function(){return Qa("this")}}),(0,Sl.jsx)("section",{className:"container this",children:(0,Sl.jsx)(_b,{containerType:"type-1",mobileReversed:!0,Sidebar:(0,Sl.jsxs)(Sl.Fragment,{children:[(0,Sl.jsx)(Px,{}),(0,Sl.jsx)(xx,{baseRoute:vl.cropNutritionPrograms,title:u||c,data:f})]}),children:null===l||void 0===l?void 0:l.map((function(e,t){var r=e.product,n=e.detailed_data,i=e.purpose_processing,a=e.purposes;return(0,Sl.jsxs)(Bb,{children:[r&&(0,Sl.jsx)("h3",{children:r}),(0,Sl.jsx)("div",{dangerouslySetInnerHTML:{__html:n}}),i&&(0,Sl.jsx)("h3",{children:i}),!(null===a||void 0===a||!a.length)&&(0,Sl.jsx)(Lb,{data:a,withCustomContent:!0})]},t)}))})})]})},Mx=function(){var e,t=Ns(),r=ks(Jn),n=ks(Kn),i=ks(Ti),a=ks(Hn),s=a.filter_name,o=a.product_select,l=a.country_select,c=ks(An),u=ks(is);if(null===u||void 0===u||null===(e=u.pathname)||void 0===e?void 0:e.startsWith(vl.products)){var f=c.find((function(e){return e.value===u.state}));t(ei(f))}return(0,Sl.jsxs)(Cx,{onReset:function(){t(ei(null)),t(ti(null)),t(ls(null))},hasSelected:r||n,title:s,withoutSticky:!0,children:[(0,Sl.jsx)(By,{label:o,options:c,onChange:function(e){t(ei(e)),t(ls(null))},selectedValue:r}),(0,Sl.jsx)(By,{label:l,options:i,onChange:function(e){t(ti(e))},selectedValue:n})]})},jx=function(){var e=Ns(),r=Lo(),n=Bo().slug,i=Sr((0,t.useState)(1),2),a=i[0],s=i[1],o=ks(qn),l=o.flyers,c=o.next,u=ks(Xn),f=ks($n),d=ks(Ha).sidebar_text_trials_result,p=ks(Yn),h=u.title,m=u.fs_background,v=u.fs_view_button,g=ks(Jn),y=ks(Kn);(0,t.useEffect)((function(){s(1),e(Bn({all:!0})),es(e(zn({slug:n})),r),e(In())}),[e,n]),(0,t.useEffect)((function(){s(1)}),[e,g,y]),(0,t.useEffect)((function(){e(Fn({slug:n,page:a,product:null===g||void 0===g?void 0:g.value,trials_country:null===y||void 0===y?void 0:y.value}))}),[e,a,n,g,y]);var b=(0,t.useRef)();return qv({items:[".box"],container:b,dependencies:[p]}),p?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:b,children:[(0,Sl.jsx)(jl,{title:h,image:m,buttonText:v,onClickButton:function(){return Qa("this")}}),(0,Sl.jsx)("section",{className:"container this",children:(0,Sl.jsx)(_b,{containerType:"type-1",mobileReversed:!0,Sidebar:(0,Sl.jsxs)(Sl.Fragment,{children:[(0,Sl.jsx)(Mx,{}),(0,Sl.jsx)(xx,{title:d,data:f,baseRoute:vl.trialResults})]}),children:(0,Sl.jsx)($b,{data:l,children:(0,Sl.jsx)(Jb,{onClick:function(){return s(a+1)},next:c})})})})]})},Ax=function(){var e=Ns(),r=ks(ma),n=ks(va),i=ks(ha),a=i.fs_title,s=i.fs_title_background,o=i.fs_view_button,l=i.agricultural_tag,c=i.agricultural_title,u=i.agricultural_description,f=i.catalogs,d=void 0===f?[]:f;(0,t.useEffect)((function(){e(ua())}),[e]);var p=ks(ga);(0,t.useEffect)((function(){Object.entries(p).forEach((function(t){var r=Sr(t,1)[0];e(fa({id:r,page:1}))}))}),[d]);var h=ks(An),m=Sr((0,t.useState)(null),2),v=m[0],g=m[1],y=function(e){return g(e)};(0,t.useEffect)((function(){v&&e(da({product:v.value}))}),[e,v]);var b=function(){g(null),e(ua())},x=function(){return(0,Sl.jsx)(Cx,{onReset:b,hasSelected:v,children:(0,Sl.jsx)(By,{label:"By products",options:h,onChange:y,selectedValue:v})})},_=(0,t.useRef)();return qv({items:[".box",".with-sidebar-layout__left"],container:_,dependencies:[r]}),r&&n?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:_,children:[(0,Sl.jsx)(jl,{title:a,image:s,buttonText:o,onClickButton:function(){return Qa("with-sidebar-layout__right",100)}}),(0,Sl.jsxs)("section",{className:"container",children:[(0,Sl.jsx)("div",{className:"inner-container type-2",children:(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:l}),(0,Sl.jsx)(Al,{className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:c}})}),(0,Sl.jsx)("div",{className:"offset-left-4 max-width-760",children:(0,Sl.jsx)(Al,{size:"super-small",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:u}})})})]})}),(0,Sl.jsx)(_b,{Sidebar:(0,Sl.jsx)(x,{}),children:d.map((function(r,n){var i=r.title,a=r.image,s=r.description,o=r.file,l=r.id;return(0,Sl.jsxs)(t.Fragment,{children:[(0,Sl.jsx)(Xb,{file:o,title:i,image:a,description:s}),p.hasOwnProperty(l)&&(0,Sl.jsx)($b,{data:p[l].flyers,children:(0,Sl.jsx)(Jb,{onClick:function(){return e(fa({id:l,page:p[l].page+1}))},next:p[l].next})})]},n)}))})]}),(0,Sl.jsx)(Ib,{})]})};var Ox=__webpack_require__.p+"static/media/headOfficePin.6e886e7a5ba1eeed4df677e8e03bf220.svg",Dx=function(e){var t=e.data,r=t.image,n=t.title,i=t.description;return(0,Sl.jsxs)("div",{className:"team-member-card",children:[(0,Sl.jsx)("div",{className:"team-member-card__img",children:(0,Sl.jsx)("img",{src:r,alt:n})}),(0,Sl.jsx)("div",{className:"description-demibold",children:n}),(0,Sl.jsx)("div",{className:"body1 opacity-80",children:i})]})};var Nx=__webpack_require__.p+"static/media/career-card.aca668808c3922bf33a141b062aafbd8.svg",Ix=function(){var e=ks(Ia),t=e.team_card_button,r=e.team_card_text,n=e.team_card_title;return(0,Sl.jsx)("div",{className:"team-career-card",children:(0,Sl.jsxs)("div",{className:"team-career-card-inner",children:[(0,Sl.jsx)("img",{className:"team-career-card__img",src:Nx,alt:""}),(0,Sl.jsxs)("div",{className:"team-career-card__content",children:[(0,Sl.jsxs)("div",{children:[(0,Sl.jsx)("div",{className:"h2",children:n}),(0,Sl.jsx)("p",{className:"body1 opacity-80",children:r})]}),(0,Sl.jsx)(Ml,{href:vl.career,type:"button-arrow",children:t})]})]})})};var Fx=__webpack_require__.p+"static/media/team-info-card.d643a6cd1284bbbbaf9b523aa78ffcd3.svg",Lx=function(e){var t=e.data,r=t.image,n=t.title,i=t.description;return(0,Sl.jsx)("div",{className:"team-info-card",children:(0,Sl.jsxs)("div",{className:"team-info-card-inner",children:[(0,Sl.jsx)("img",{className:"team-info-card__img",src:Fx,alt:""}),(0,Sl.jsxs)("div",{className:"team-info-card__content",children:[(0,Sl.jsx)("img",{className:"team-info-card__icon",src:r,alt:"icon"}),(0,Sl.jsxs)("div",{children:[(0,Sl.jsx)(Al,{textColor:"white",children:(0,Sl.jsx)("em",{children:n})}),(0,Sl.jsx)("div",{className:"body1 opacity-70",children:i})]})]})]})})},Rx=function(e){var t=e.showMore,r=ks(Ia).team_show_more,n=ks(Fa),i=n.data,a=void 0===i?[]:i,s=n.next;return(0,Sl.jsxs)(Sl.Fragment,{children:[(0,Sl.jsxs)("div",{className:"team",children:[a.map((function(e,t){return"info"===e.type?(0,Sl.jsx)(Lx,{data:e},t):(0,Sl.jsx)(Dx,{data:e},t)})),(0,Sl.jsx)(Ix,{})]}),(0,Sl.jsx)(Jb,{next:s,text:r,onClick:t})]})},Bx=function(e){var t=e.showMore,r=ks(Ia),n=r.team_title,i=r.team_tag;return(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsxs)("div",{className:"inner-container type-2",children:[(0,Sl.jsxs)("div",{className:"main-text-container with-absolute-label",children:[(0,Sl.jsx)(Ol,{children:i}),(0,Sl.jsx)("div",{className:"offset-left-4",children:(0,Sl.jsx)(Al,{size:"middle",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:n}})})})]}),(0,Sl.jsx)(Rx,{showMore:t})]})})};var zx=__webpack_require__.p+"static/media/mission-mask.46a257d5932de2a36b3fcf38b105693d.svg";gp.registerPlugin(Mv);var Vx,Hx=!1,Gx="power1.in",qx=function(e){var r=e.background,n=void 0===r?"":r,i=e.title,a=void 0===i?"":i,s=e.data,o=void 0===s?[]:s,l=e.loading,c={maskImage:"url('".concat(zx,"')"),WebkitMaskImage:"url('".concat(zx,"')")},u=(0,t.useRef)();return Sp((function(){gp.from(".mission-section__title",{y:10,opacity:0,ease:Gx,duration:.4,scrollTrigger:{trigger:".mission-section",start:"top 70%",markers:Hx}}),gp.from(".mission-section__mask",{y:10,opacity:0,ease:Gx,duration:.4,scrollTrigger:{trigger:".mission-section",start:"top 50%",markers:Hx}})}),{dependencies:[l,o],scope:u,revertOnUpdate:!0}),Sp((function(){o.length&&gp.timeline({scrollTrigger:{trigger:".mission-section",start:"top 8px",end:"+=100%",scrub:1,markers:Hx,pin:!0}}).fromTo(".mission-section__mask",{maskSize:30},{maskSize:100}).to(".mission-section__title",{opacity:0},0).fromTo(".values-card-wrapper",{yPercent:400},{yPercent:0,stagger:.1}).fromTo(".values-section",{yPercent:0},{yPercent:-50})}),{dependencies:[l,o],scope:u}),(0,Sl.jsx)("section",{className:"mission-values-section container",ref:u,children:(0,Sl.jsxs)("div",{className:"mission-section",children:[(0,Sl.jsx)("div",{className:"mission-section__gradient"}),(0,Sl.jsx)("div",{className:"mission-section__mask",style:c,children:(0,Sl.jsx)("img",{src:n,alt:"background"})}),(0,Sl.jsx)("div",{className:"mission-section__title",children:a}),(0,Sl.jsx)("div",{className:"values-section",children:null===o||void 0===o?void 0:o.map((function(e,t){return(0,Sl.jsxs)("div",{className:"values-card-wrapper",children:[(0,Sl.jsx)("div",{className:"angle-decor"}),(0,Sl.jsxs)("div",{className:"values-card",children:[(0,Sl.jsx)("div",{className:"gradient-number light",children:(0,Sl.jsx)("span",{children:t+1})}),e.title&&(0,Sl.jsx)("div",{className:"values-card__title",children:e.title}),e.text&&(0,Sl.jsx)("div",{className:"values-card__text",children:e.text})]})]},t)}))})]})})},Wx=__webpack_require__.p+"static/media/our-history.648bb5c2a84d93e9c0dd.jpg",Ux=function(e){var t=e.title,r=e.cards,n=(void 0===r?[]:r).filter((function(e){return!!e.title&&!!e.text}));return(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsxs)("div",{className:"our-history-section",style:{backgroundImage:'url("'.concat(Wx,'")')},children:[(0,Sl.jsx)("div",{className:"our-history-section-gradient"}),(0,Sl.jsxs)("div",{className:"our-history",children:[(0,Sl.jsx)("div",{className:"our-history__title h1 has-animation",children:t}),(0,Sl.jsx)("div",{className:"our-history-cards",children:n.map((function(e){return(0,Sl.jsxs)("div",{className:"history-card-wrapper",children:[(0,Sl.jsx)("div",{className:"angle-decor"}),(0,Sl.jsxs)("div",{className:"history-card",children:[(0,Sl.jsx)(Al,{textColor:"white",children:(0,Sl.jsx)("em",{children:e.title})}),(0,Sl.jsx)("div",{className:"body1 opacity-80",children:e.text})]})]},e.title)}))})]})]})})},$x=function(){var e=Ns(),r=ks(Ra),n=ks(La),i=Sr(t.useState(1),2),a=i[0],s=i[1],o=ks(Ia),l=o.fs_title,c=o.fs_background,u=o.fs_description,f=o.about_tag,d=o.about_title,p=o.about_text,h=o.about_card_text,m=o.about_card_image,v=o.mission_cards,g=o.history_title,y=o.histories_cards,b=o.histories_image,x=o.mission_background_image,_=o.mission_title;t.useEffect((function(){e(Oa())}),[e]),t.useEffect((function(){e(Da({page:a}))}),[e,a]);var w=(0,t.useRef)();return qv({items:[".team",".our-history-cards"],container:w,dependencies:[r,n]}),r||n?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:w,children:[(0,Sl.jsx)(jl,{image:c,buttonText:u,onClickButton:function(){return Qa("this",100)},children:(0,Sl.jsx)(Al,{size:"middle",textColor:"white",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:l}})})}),(0,Sl.jsx)("section",{className:"container this",children:(0,Sl.jsx)("div",{className:"inner-container type-2",children:(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:f}),(0,Sl.jsx)(Al,{className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:d}})}),(0,Sl.jsx)("div",{className:"offset-left-4 max-width-760",children:(0,Sl.jsx)(Al,{size:"small",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:p}})})})]})})}),(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsx)("div",{className:"inner-container type-2",children:(0,Sl.jsxs)("div",{className:"head-office has-animation",children:[(0,Sl.jsxs)("div",{className:"head-office__left",children:[(0,Sl.jsx)("img",{src:Ox,alt:"icon pin"}),(0,Sl.jsx)(Al,{size:"super-small",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:h}})})]}),(0,Sl.jsx)("div",{className:"head-office__right",children:(0,Sl.jsx)("img",{src:m,alt:"head office"})})]})})}),(0,Sl.jsx)(qx,{loading:r,background:x,title:_,data:v}),(0,Sl.jsx)(Bx,{showMore:function(){return s(a+1)}}),(0,Sl.jsx)(Ux,{title:g,cards:y}),b&&(0,Sl.jsx)("section",{className:"container about-us-photo",children:(0,Sl.jsx)("img",{src:b,alt:"",loading:"eager"})}),(0,Sl.jsx)(Ib,{})]})},Xx=function(e){var t=e.children;return(0,Sl.jsx)("div",{className:"label body3",children:t})},Yx=["title","titleId"];function Zx(){return Zx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Zx.apply(this,arguments)}function Jx(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Kx(e,r){var n=e.title,i=e.titleId,a=Jx(e,Yx);return t.createElement("svg",Zx({width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,Vx||(Vx=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.75 -0.25V0.75H10.25V-0.25H11.75V0.75H13.9091C14.6497 0.75 15.25 1.35034 15.25 2.09091V13.9091C15.25 14.6497 14.6497 15.25 13.9091 15.25H2.09091C1.35034 15.25 0.75 14.6497 0.75 13.9091V2.09091C0.75 1.35035 1.35035 0.75 2.09091 0.75H4.25V-0.25H5.75ZM4.25 2.25H2.25V4.75H13.75V2.25H11.75V3.25H10.25V2.25H5.75V3.25H4.25V2.25ZM13.75 6.25H2.25V13.75H13.75V6.25Z"})))}var Qx,e_=t.forwardRef(Kx),t_=(__webpack_require__.p,["title","titleId"]);function r_(){return r_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r_.apply(this,arguments)}function n_(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function i_(e,r){var n=e.title,i=e.titleId,a=n_(e,t_);return t.createElement("svg",r_({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,viewBox:"0 0 16 16",fill:"currentColor",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,Qx||(Qx=t.createElement("path",{d:"M8.75 4.5V3.75H7.25V4.5H8.75ZM8 8H7.25V8.75H8V8ZM11.5 8.75H12.25V7.25H11.5V8.75ZM13.75 8C13.75 11.1756 11.1756 13.75 8 13.75V15.25C12.0041 15.25 15.25 12.0041 15.25 8H13.75ZM8 13.75C4.82436 13.75 2.25 11.1756 2.25 8H0.75C0.75 12.0041 3.99594 15.25 8 15.25V13.75ZM2.25 8C2.25 4.82436 4.82436 2.25 8 2.25V0.75C3.99594 0.75 0.75 3.99594 0.75 8H2.25ZM8 2.25C11.1756 2.25 13.75 4.82436 13.75 8H15.25C15.25 3.99594 12.0041 0.75 8 0.75V2.25ZM7.25 4.5V8H8.75V4.5H7.25ZM8 8.75H11.5V7.25H8V8.75Z"})))}var a_=t.forwardRef(i_),s_=(__webpack_require__.p,function(e){return{calendar:(0,Sl.jsx)(e_,{}),clock:(0,Sl.jsx)(a_,{})}[e]}),o_=function(e){var t=e.iconName,r=e.text;return r&&(0,Sl.jsxs)("div",{className:"text-with-icon body3",children:[(0,Sl.jsx)("div",{className:"text-with-icon__icon",children:s_(t)}),(0,Sl.jsx)("div",{className:"text-with-icon__text",children:r})]})},l_=function(e){var t=e.data,r=e.big,n=void 0!==r&&r,i=t.title_background,a=t.title,s=t.type,o=t.slug,l=t.crated_at,c=t.time_to_read,u=ks(qa)[s];return(0,Sl.jsxs)(dl,{to:vl.news+"/"+o,className:"news-card ".concat(n?"news-card--big":""),children:[(0,Sl.jsx)("div",{className:"news-card__image",children:(0,Sl.jsx)("img",{src:i,alt:"news"})}),(0,Sl.jsxs)("div",{className:"news-card__content",children:[(0,Sl.jsx)("div",{className:"news-card-labels",children:(0,Sl.jsx)(Xx,{children:u})}),(0,Sl.jsx)("div",{className:"news-card__title description-demibold",children:a}),(0,Sl.jsxs)("div",{className:"news-card-date",children:[(0,Sl.jsx)(o_,{iconName:"calendar",text:l}),(0,Sl.jsx)(o_,{iconName:"clock",text:c})]})]})]})},c_=function(){return(0,Sl.jsx)("svg",{width:"287",height:"80",viewBox:"0 0 287 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,Sl.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M286.069 80V16C286.069 7.16345 278.906 0 270.069 0H0C3.9104 0 7.6853 1.43201 10.6119 4.02554L73.7448 59.9745C76.6714 62.568 80.4463 64 84.3567 64H270.069C278.906 64 286.069 71.1635 286.069 80Z",fill:"#ffffff"})})},u_=function(){var e=ks(zi),r=e.subscribe_title,n=e.subscribe_description,i=e.subscribe_policy_text,a=e.subscribe_thanks_description,s=e.subscribe_thanks_title,o=e.subscribe_tag,l=ks(Ha).cta_field_email_placeholder,c=Sr(t.useState(""),2),u=c[0],f=c[1],d=Sr(t.useState(""),2),p=d[0],h=d[1],m=Sr(t.useState(!0),2),v=m[0],g=m[1],y=Sr(t.useState(!1),2),b=y[0],x=y[1],_=""===u||!v||!Eb(u)||b;return(0,Sl.jsxs)("div",{className:"subscribe-card",children:[(0,Sl.jsxs)("div",{className:"subscribe-card__label",children:[(0,Sl.jsxs)("div",{className:"subscribe-card__label-label",children:["\u2022 ",o]}),(0,Sl.jsx)(c_,{})]}),"success"===p?(0,Sl.jsxs)("div",{className:"subscribe-card__content",children:[(0,Sl.jsx)("h2",{children:s}),(0,Sl.jsx)("p",{className:"body1 opacity-80",children:a})]}):(0,Sl.jsxs)("div",{className:"subscribe-card__content",children:[(0,Sl.jsx)("h2",{dangerouslySetInnerHTML:{__html:r}}),(0,Sl.jsx)("p",{className:"body1 opacity-80",children:n}),(0,Sl.jsxs)("div",{className:"subscribe-form",children:[(0,Sl.jsxs)("div",{className:"subscribe-form__input",children:[(0,Sl.jsx)(Cb,{value:u,onChange:function(e){return f(e)},label:void 0,placeholder:l,type:"email"}),(0,Sl.jsx)("button",{className:"button send ".concat(_?"disabled":""),onClick:function(){x(!0),un.post("".concat(hn+fn.Ld),{email:u}).then((function(e){h(e.data.status),x(!1)})).catch((function(e){console.log(e),x(!1)}))}})]}),(0,Sl.jsx)(Tb,{checked:v,onChange:function(){return g(!v)},children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:i}})})]})]})]})},f_=function(e){var t=e.posts,r=void 0===t?[]:t;return(0,Sl.jsxs)("div",{className:"news-cards",children:[r.map((function(e,t){return(0,Sl.jsx)(l_,{data:e,big:0===t},t)})),(0,Sl.jsx)(u_,{})]})},d_=function(e){var t=e.tag,r=e.onClick,n=e.selectedTag,i=(null===n||void 0===n?void 0:n.type)===(null===t||void 0===t?void 0:t.type);return(0,Sl.jsx)("button",{onClick:function(){return r(t)},className:"tag-item ".concat(i?"selected":""),children:t.name})},p_=function(e){var t=e.tags,r=void 0===t?[]:t,n=e.selectedTag,i=e.onClick;return(0,Sl.jsx)("div",{className:"tags-filter",children:r.map((function(e){return(0,Sl.jsx)(d_,{tag:e,selectedTag:n,onClick:i},e.type)}))})},h_=function(){var e=Ns(),r=Sr((0,t.useState)(void 0),2),n=r[0],i=r[1],a=Sr((0,t.useState)(1),2),s=a[0],o=a[1],l=ks($i),c=ks(zi),u=c.title,f=c.description,d=c.tags,p=c.title_background,h=c.show_all_button,m=c.show_more_button,v=c.fs_button_text,g=ks(qa),y=ks(Gi),b=y.data,x=y.next,_={type:"all",name:h};(0,t.useEffect)((function(){e(Ii()),i(_)}),[e,h]),(0,t.useEffect)((function(){e(Li({tag:"all"===(null===n||void 0===n?void 0:n.type)?null:null===n||void 0===n?void 0:n.type,page:s}))}),[e,n,s,h]);var w=null===d||void 0===d?void 0:d.map((function(e){return{type:e,name:g[e]}})),S=w?[_].concat(Fr(w)):[],k=(0,t.useRef)();return qv({items:[".news-heading",".news-cards"],container:k,dependencies:[l]}),l?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:k,children:[(0,Sl.jsx)(jl,{title:u,image:p,buttonText:v,onClickButton:function(){return Qa("subscribe-card",100)}}),(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsxs)("div",{className:"inner-container",children:[(0,Sl.jsxs)("div",{className:"news-heading",children:[(0,Sl.jsx)(Al,{size:"small",children:(0,Sl.jsx)("div",{className:"max-width-760",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:f}})})}),(0,Sl.jsx)(p_,{tags:S,selectedTag:n,onClick:function(e){o(1),i(e)}})]}),(0,Sl.jsx)(f_,{posts:b}),(0,Sl.jsx)(Jb,{next:x,text:m,onClick:function(){return o(s+1)}})]})})]})};function m_(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function v_(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function g_(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((function(r){"undefined"===typeof e[r]?e[r]=t[r]:v_(t[r])&&v_(e[r])&&Object.keys(t[r]).length>0&&g_(e[r],t[r])}))}var y_={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function b_(){var e="undefined"!==typeof document?document:{};return g_(e,y_),e}var x_,__,w_,S_={document:y_,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function k_(){var e="undefined"!==typeof window?window:{};return g_(e,S_),e}function E_(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function C_(){return Date.now()}function P_(e,t){void 0===t&&(t="x");var r,n,i,a=k_(),s=function(e){var t,r=k_();return r.getComputedStyle&&(t=r.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return a.WebKitCSSMatrix?((n=s.transform||s.webkitTransform).split(",").length>6&&(n=n.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),i=new a.WebKitCSSMatrix("none"===n?"":n)):r=(i=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=a.WebKitCSSMatrix?i.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(n=a.WebKitCSSMatrix?i.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),n||0}function T_(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function M_(){for(var e,t=Object(arguments.length<=0?void 0:arguments[0]),r=["__proto__","constructor","prototype"],n=1;n<arguments.length;n+=1){var i=n<0||arguments.length<=n?void 0:arguments[n];if(void 0!==i&&null!==i&&(e=i,!("undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType))))for(var a=Object.keys(Object(i)).filter((function(e){return r.indexOf(e)<0})),s=0,o=a.length;s<o;s+=1){var l=a[s],c=Object.getOwnPropertyDescriptor(i,l);void 0!==c&&c.enumerable&&(T_(t[l])&&T_(i[l])?i[l].__swiper__?t[l]=i[l]:M_(t[l],i[l]):!T_(t[l])&&T_(i[l])?(t[l]={},i[l].__swiper__?t[l]=i[l]:M_(t[l],i[l])):t[l]=i[l])}}return t}function j_(e,t,r){e.style.setProperty(t,r)}function A_(e){var t,r=e.swiper,n=e.targetPosition,i=e.side,a=k_(),s=-r.translate,o=null,l=r.params.speed;r.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(r.cssModeFrameID);var c=n>s?"next":"prev",u=function(e,t){return"next"===c&&e>=t||"prev"===c&&e<=t};!function e(){t=(new Date).getTime(),null===o&&(o=t);var c=Math.max(Math.min((t-o)/l,1),0),f=.5-Math.cos(c*Math.PI)/2,d=s+f*(n-s);if(u(d,n)&&(d=n),r.wrapperEl.scrollTo(oe({},i,d)),u(d,n))return r.wrapperEl.style.overflow="hidden",r.wrapperEl.style.scrollSnapType="",setTimeout((function(){r.wrapperEl.style.overflow="",r.wrapperEl.scrollTo(oe({},i,d))})),void a.cancelAnimationFrame(r.cssModeFrameID);r.cssModeFrameID=a.requestAnimationFrame(e)}()}function O_(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function D_(e,t){return void 0===t&&(t=""),Fr(e.children).filter((function(e){return e.matches(t)}))}function N_(e,t){var r;void 0===t&&(t=[]);var n=document.createElement(e);return(r=n.classList).add.apply(r,Fr(Array.isArray(t)?t:[t])),n}function I_(e,t){return k_().getComputedStyle(e,null).getPropertyValue(t)}function F_(e){var t,r=e;if(r){for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function L_(e,t){for(var r=[],n=e.parentElement;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function R_(e,t,r){var n=k_();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function B_(){return x_||(x_=function(){var e=k_(),t=b_();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),x_}function z_(e){return void 0===e&&(e={}),__||(__=function(e){var t=(void 0===e?{}:e).userAgent,r=B_(),n=k_(),i=n.navigator.platform,a=t||n.navigator.userAgent,s={ios:!1,android:!1},o=n.screen.width,l=n.screen.height,c=a.match(/(Android);?[\s\/]+([\d.]+)?/),u=a.match(/(iPad).*OS\s([\d_]+)/),f=a.match(/(iPod)(.*OS\s([\d_]+))?/),d=!u&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===i,h="MacIntel"===i;return!u&&h&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(o,"x").concat(l))>=0&&((u=a.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),h=!1),c&&!p&&(s.os="android",s.android=!0),(u||d||f)&&(s.os="ios",s.ios=!0),s}(e)),__}function V_(){return w_||(w_=function(){var e=k_(),t=!1;function r(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(r()){var n=String(e.navigator.userAgent);if(n.includes("Version/")){var i=Sr(n.split("Version/")[1].split(" ")[0].split(".").map((function(e){return Number(e)})),2),a=i[0],s=i[1];t=a<16||16===a&&s<2}}return{isSafari:t||r(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),w_}var H_={on:function(e,t,r){var n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof t)return n;var i=r?"unshift":"push";return e.split(" ").forEach((function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)})),n},once:function(e,t,r){var n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof t)return n;function i(){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];t.apply(n,a)}return i.__emitterProxy=t,n.on(e,i,r)},onAny:function(e,t){var r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof e)return r;var n=t?"unshift":"push";return r.eventsAnyListeners.indexOf(e)<0&&r.eventsAnyListeners[n](e),r},offAny:function(e){var t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;var r=t.eventsAnyListeners.indexOf(e);return r>=0&&t.eventsAnyListeners.splice(r,1),t},off:function(e,t){var r=this;return!r.eventsListeners||r.destroyed?r:r.eventsListeners?(e.split(" ").forEach((function(e){"undefined"===typeof t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach((function(n,i){(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(i,1)}))})),r):r},emit:function(){var e,t,r,n=this;if(!n.eventsListeners||n.destroyed)return n;if(!n.eventsListeners)return n;for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return"string"===typeof a[0]||Array.isArray(a[0])?(e=a[0],t=a.slice(1,a.length),r=n):(e=a[0].events,t=a[0].data,r=a[0].context||n),t.unshift(r),(Array.isArray(e)?e:e.split(" ")).forEach((function(e){n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach((function(n){n.apply(r,[e].concat(Fr(t)))})),n.eventsListeners&&n.eventsListeners[e]&&n.eventsListeners[e].forEach((function(e){e.apply(r,t)}))})),n}};var G_=function(e,t){if(e&&!e.destroyed&&e.params){var r=t.closest(e.isElement?"swiper-slide":".".concat(e.params.slideClass));if(r){var n=r.querySelector(".".concat(e.params.lazyPreloaderClass));!n&&e.isElement&&(r.shadowRoot?n=r.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)):requestAnimationFrame((function(){r.shadowRoot&&(n=r.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)))&&n.remove()}))),n&&n.remove()}}},q_=function(e,t){if(e.slides[t]){var r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")}},W_=function(e){if(e&&!e.destroyed&&e.params){var t=e.params.lazyPreloadPrevNext,r=e.slides.length;if(r&&t&&!(t<0)){t=Math.min(t,r);var n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){var a=i,s=[a-t];return s.push.apply(s,Fr(Array.from({length:t}).map((function(e,t){return a+n+t})))),void e.slides.forEach((function(t,r){s.includes(t.column)&&q_(e,r)}))}var o=i+n-1;if(e.params.rewind||e.params.loop)for(var l=i-t;l<=o+t;l+=1){var c=(l%r+r)%r;(c<i||c>o)&&q_(e,c)}else for(var u=Math.max(i-t,0);u<=Math.min(o+t,r-1);u+=1)u!==i&&(u>o||u<i)&&q_(e,u)}}};var U_={updateSize:function(){var e,t,r=this,n=r.el;e="undefined"!==typeof r.params.width&&null!==r.params.width?r.params.width:n.clientWidth,t="undefined"!==typeof r.params.height&&null!==r.params.height?r.params.height:n.clientHeight,0===e&&r.isHorizontal()||0===t&&r.isVertical()||(e=e-parseInt(I_(n,"padding-left")||0,10)-parseInt(I_(n,"padding-right")||0,10),t=t-parseInt(I_(n,"padding-top")||0,10)-parseInt(I_(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(r,{width:e,height:t,size:r.isHorizontal()?e:t}))},updateSlides:function(){var e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function r(e,r){return parseFloat(e.getPropertyValue(t(r))||0)}var n=e.params,i=e.wrapperEl,a=e.slidesEl,s=e.size,o=e.rtlTranslate,l=e.wrongRTL,c=e.virtual&&n.virtual.enabled,u=c?e.virtual.slides.length:e.slides.length,f=D_(a,".".concat(e.params.slideClass,", swiper-slide")),d=c?e.virtual.slides.length:f.length,p=[],h=[],m=[],v=n.slidesOffsetBefore;"function"===typeof v&&(v=n.slidesOffsetBefore.call(e));var g=n.slidesOffsetAfter;"function"===typeof g&&(g=n.slidesOffsetAfter.call(e));var y=e.snapGrid.length,b=e.slidesGrid.length,x=n.spaceBetween,_=-v,w=0,S=0;if("undefined"!==typeof s){"string"===typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*s:"string"===typeof x&&(x=parseFloat(x)),e.virtualSize=-x,f.forEach((function(e){o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),n.centeredSlides&&n.cssMode&&(j_(i,"--swiper-centered-offset-before",""),j_(i,"--swiper-centered-offset-after",""));var k,E=n.grid&&n.grid.rows>1&&e.grid;E&&e.grid.initSlides(d);for(var C="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((function(e){return"undefined"!==typeof n.breakpoints[e].slidesPerView})).length>0,P=0;P<d;P+=1){k=0;var T=void 0;if(f[P]&&(T=f[P]),E&&e.grid.updateSlide(P,T,d,t),!f[P]||"none"!==I_(T,"display")){if("auto"===n.slidesPerView){C&&(f[P].style[t("width")]="");var M=getComputedStyle(T),j=T.style.transform,A=T.style.webkitTransform;if(j&&(T.style.transform="none"),A&&(T.style.webkitTransform="none"),n.roundLengths)k=e.isHorizontal()?R_(T,"width",!0):R_(T,"height",!0);else{var O=r(M,"width"),D=r(M,"padding-left"),N=r(M,"padding-right"),I=r(M,"margin-left"),F=r(M,"margin-right"),L=M.getPropertyValue("box-sizing");if(L&&"border-box"===L)k=O+I+F;else{var R=T,B=R.clientWidth;k=O+D+N+I+F+(R.offsetWidth-B)}}j&&(T.style.transform=j),A&&(T.style.webkitTransform=A),n.roundLengths&&(k=Math.floor(k))}else k=(s-(n.slidesPerView-1)*x)/n.slidesPerView,n.roundLengths&&(k=Math.floor(k)),f[P]&&(f[P].style[t("width")]="".concat(k,"px"));f[P]&&(f[P].swiperSlideSize=k),m.push(k),n.centeredSlides?(_=_+k/2+w/2+x,0===w&&0!==P&&(_=_-s/2-x),0===P&&(_=_-s/2-x),Math.abs(_)<.001&&(_=0),n.roundLengths&&(_=Math.floor(_)),S%n.slidesPerGroup===0&&p.push(_),h.push(_)):(n.roundLengths&&(_=Math.floor(_)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup===0&&p.push(_),h.push(_),_=_+k+x),e.virtualSize+=k+x,w=k,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+g,o&&l&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width="".concat(e.virtualSize+x,"px")),n.setWrapperSize&&(i.style[t("width")]="".concat(e.virtualSize+x,"px")),E&&e.grid.updateWrapperSize(k,p,t),!n.centeredSlides){for(var z=[],V=0;V<p.length;V+=1){var H=p[V];n.roundLengths&&(H=Math.floor(H)),p[V]<=e.virtualSize-s&&z.push(H)}p=z,Math.floor(e.virtualSize-s)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-s)}if(c&&n.loop){var G=m[0]+x;if(n.slidesPerGroup>1)for(var q=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),W=G*n.slidesPerGroup,U=0;U<q;U+=1)p.push(p[p.length-1]+W);for(var $=0;$<e.virtual.slidesBefore+e.virtual.slidesAfter;$+=1)1===n.slidesPerGroup&&p.push(p[p.length-1]+G),h.push(h[h.length-1]+G),e.virtualSize+=G}if(0===p.length&&(p=[0]),0!==x){var X=e.isHorizontal()&&o?"marginLeft":t("marginRight");f.filter((function(e,t){return!(n.cssMode&&!n.loop)||t!==f.length-1})).forEach((function(e){e.style[X]="".concat(x,"px")}))}if(n.centeredSlides&&n.centeredSlidesBounds){var Y=0;m.forEach((function(e){Y+=e+(x||0)}));var Z=(Y-=x)-s;p=p.map((function(e){return e<=0?-v:e>Z?Z+g:e}))}if(n.centerInsufficientSlides){var J=0;if(m.forEach((function(e){J+=e+(x||0)})),(J-=x)<s){var K=(s-J)/2;p.forEach((function(e,t){p[t]=e-K})),h.forEach((function(e,t){h[t]=e+K}))}}if(Object.assign(e,{slides:f,snapGrid:p,slidesGrid:h,slidesSizesGrid:m}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){j_(i,"--swiper-centered-offset-before","".concat(-p[0],"px")),j_(i,"--swiper-centered-offset-after","".concat(e.size/2-m[m.length-1]/2,"px"));var Q=-e.snapGrid[0],ee=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((function(e){return e+Q})),e.slidesGrid=e.slidesGrid.map((function(e){return e+ee}))}if(d!==u&&e.emit("slidesLengthChange"),p.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!c&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){var te="".concat(n.containerModifierClass,"backface-hidden"),re=e.el.classList.contains(te);d<=n.maxBackfaceHiddenSlides?re||e.el.classList.add(te):re&&e.el.classList.remove(te)}}},updateAutoHeight:function(e){var t,r=this,n=[],i=r.virtual&&r.params.virtual.enabled,a=0;"number"===typeof e?r.setTransition(e):!0===e&&r.setTransition(r.params.speed);var s=function(e){return i?r.slides[r.getSlideIndexByData(e)]:r.slides[e]};if("auto"!==r.params.slidesPerView&&r.params.slidesPerView>1)if(r.params.centeredSlides)(r.visibleSlides||[]).forEach((function(e){n.push(e)}));else for(t=0;t<Math.ceil(r.params.slidesPerView);t+=1){var o=r.activeIndex+t;if(o>r.slides.length&&!i)break;n.push(s(o))}else n.push(s(r.activeIndex));for(t=0;t<n.length;t+=1)if("undefined"!==typeof n[t]){var l=n[t].offsetHeight;a=l>a?l:a}(a||0===a)&&(r.wrapperEl.style.height="".concat(a,"px"))},updateSlidesOffset:function(){for(var e=this,t=e.slides,r=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0,n=0;n<t.length;n+=1)t[n].swiperSlideOffset=(e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop)-r-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,r=t.params,n=t.slides,i=t.rtlTranslate,a=t.snapGrid;if(0!==n.length){"undefined"===typeof n[0].swiperSlideOffset&&t.updateSlidesOffset();var s=-e;i&&(s=e),n.forEach((function(e){e.classList.remove(r.slideVisibleClass)})),t.visibleSlidesIndexes=[],t.visibleSlides=[];var o=r.spaceBetween;"string"===typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:"string"===typeof o&&(o=parseFloat(o));for(var l=0;l<n.length;l+=1){var c=n[l],u=c.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(u-=n[0].swiperSlideOffset);var f=(s+(r.centeredSlides?t.minTranslate():0)-u)/(c.swiperSlideSize+o),d=(s-a[0]+(r.centeredSlides?t.minTranslate():0)-u)/(c.swiperSlideSize+o),p=-(s-u),h=p+t.slidesSizesGrid[l];(p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size)&&(t.visibleSlides.push(c),t.visibleSlidesIndexes.push(l),n[l].classList.add(r.slideVisibleClass)),c.progress=i?-f:f,c.originalProgress=i?-d:d}}},updateProgress:function(e){var t=this;if("undefined"===typeof e){var r=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*r||0}var n=t.params,i=t.maxTranslate()-t.minTranslate(),a=t.progress,s=t.isBeginning,o=t.isEnd,l=t.progressLoop,c=s,u=o;if(0===i)a=0,s=!0,o=!0;else{a=(e-t.minTranslate())/i;var f=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;s=f||a<=0,o=d||a>=1,f&&(a=0),d&&(a=1)}if(n.loop){var p=t.getSlideIndexByData(0),h=t.getSlideIndexByData(t.slides.length-1),m=t.slidesGrid[p],v=t.slidesGrid[h],g=t.slidesGrid[t.slidesGrid.length-1],y=Math.abs(e);(l=y>=m?(y-m)/g:(y+g-v)/g)>1&&(l-=1)}Object.assign(t,{progress:a,progressLoop:l,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!c&&t.emit("reachBeginning toEdge"),o&&!u&&t.emit("reachEnd toEdge"),(c&&!s||u&&!o)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){var e,t=this,r=t.slides,n=t.params,i=t.slidesEl,a=t.activeIndex,s=t.virtual&&n.virtual.enabled,o=function(e){return D_(i,".".concat(n.slideClass).concat(e,", swiper-slide").concat(e))[0]};if(r.forEach((function(e){e.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)})),s)if(n.loop){var l=a-t.virtual.slidesBefore;l<0&&(l=t.virtual.slides.length+l),l>=t.virtual.slides.length&&(l-=t.virtual.slides.length),e=o('[data-swiper-slide-index="'.concat(l,'"]'))}else e=o('[data-swiper-slide-index="'.concat(a,'"]'));else e=r[a];if(e){e.classList.add(n.slideActiveClass);var c=function(e,t){for(var r=[];e.nextElementSibling;){var n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}(e,".".concat(n.slideClass,", swiper-slide"))[0];n.loop&&!c&&(c=r[0]),c&&c.classList.add(n.slideNextClass);var u=function(e,t){for(var r=[];e.previousElementSibling;){var n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}(e,".".concat(n.slideClass,", swiper-slide"))[0];n.loop&&0===!u&&(u=r[r.length-1]),u&&u.classList.add(n.slidePrevClass)}t.emitSlidesClasses()},updateActiveIndex:function(e){var t,r,n=this,i=n.rtlTranslate?n.translate:-n.translate,a=n.snapGrid,s=n.params,o=n.activeIndex,l=n.realIndex,c=n.snapIndex,u=e,f=function(e){var t=e-n.virtual.slidesBefore;return t<0&&(t=n.virtual.slides.length+t),t>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t};if("undefined"===typeof u&&(u=function(e){for(var t,r=e.slidesGrid,n=e.params,i=e.rtlTranslate?e.translate:-e.translate,a=0;a<r.length;a+=1)"undefined"!==typeof r[a+1]?i>=r[a]&&i<r[a+1]-(r[a+1]-r[a])/2?t=a:i>=r[a]&&i<r[a+1]&&(t=a+1):i>=r[a]&&(t=a);return n.normalizeSlideIndex&&(t<0||"undefined"===typeof t)&&(t=0),t}(n)),a.indexOf(i)>=0)t=a.indexOf(i);else{var d=Math.min(s.slidesPerGroupSkip,u);t=d+Math.floor((u-d)/s.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),u===o)return t!==c&&(n.snapIndex=t,n.emit("snapIndexChange")),void(n.params.loop&&n.virtual&&n.params.virtual.enabled&&(n.realIndex=f(u)));r=n.virtual&&s.virtual.enabled&&s.loop?f(u):n.slides[u]?parseInt(n.slides[u].getAttribute("data-swiper-slide-index")||u,10):u,Object.assign(n,{previousSnapIndex:c,snapIndex:t,previousRealIndex:l,realIndex:r,previousIndex:o,activeIndex:u}),n.initialized&&W_(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(l!==r&&n.emit("realIndexChange"),n.emit("slideChange"))},updateClickedSlide:function(e,t){var r=this,n=r.params,i=e.closest(".".concat(n.slideClass,", swiper-slide"));!i&&r.isElement&&t&&t.length>1&&t.includes(e)&&Fr(t.slice(t.indexOf(e)+1,t.length)).forEach((function(e){!i&&e.matches&&e.matches(".".concat(n.slideClass,", swiper-slide"))&&(i=e)}));var a,s=!1;if(i)for(var o=0;o<r.slides.length;o+=1)if(r.slides[o]===i){s=!0,a=o;break}if(!i||!s)return r.clickedSlide=void 0,void(r.clickedIndex=void 0);r.clickedSlide=i,r.virtual&&r.params.virtual.enabled?r.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):r.clickedIndex=a,n.slideToClickedSlide&&void 0!==r.clickedIndex&&r.clickedIndex!==r.activeIndex&&r.slideToClickedSlide()}};var $_={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this,r=t.params,n=t.rtlTranslate,i=t.translate,a=t.wrapperEl;if(r.virtualTranslate)return n?-i:i;if(r.cssMode)return i;var s=P_(a,e);return s+=t.cssOverflowAdjustment(),n&&(s=-s),s||0},setTranslate:function(e,t){var r=this,n=r.rtlTranslate,i=r.params,a=r.wrapperEl,s=r.progress,o=0,l=0;r.isHorizontal()?o=n?-e:e:l=e,i.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?o:l,i.cssMode?a[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-o:-l:i.virtualTranslate||(r.isHorizontal()?o-=r.cssOverflowAdjustment():l-=r.cssOverflowAdjustment(),a.style.transform="translate3d(".concat(o,"px, ").concat(l,"px, ").concat(0,"px)"));var c=r.maxTranslate()-r.minTranslate();(0===c?0:(e-r.minTranslate())/c)!==s&&r.updateProgress(e),r.emit("setTranslate",r.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,r,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),void 0===n&&(n=!0);var a=this,s=a.params,o=a.wrapperEl;if(a.animating&&s.preventInteractionOnTransition)return!1;var l,c=a.minTranslate(),u=a.maxTranslate();if(l=n&&e>c?c:n&&e<u?u:e,a.updateProgress(l),s.cssMode){var f=a.isHorizontal();if(0===t)o[f?"scrollLeft":"scrollTop"]=-l;else{var d;if(!a.support.smoothScroll)return A_({swiper:a,targetPosition:-l,side:f?"left":"top"}),!0;o.scrollTo((oe(d={},f?"left":"top",-l),oe(d,"behavior","smooth"),d))}return!0}return 0===t?(a.setTransition(0),a.setTranslate(l),r&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(l),r&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,r&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}};function X_(e){var t=e.swiper,r=e.runCallbacks,n=e.direction,i=e.step,a=t.activeIndex,s=t.previousIndex,o=n;if(o||(o=a>s?"next":a<s?"prev":"reset"),t.emit("transition".concat(i)),r&&a!==s){if("reset"===o)return void t.emit("slideResetTransition".concat(i));t.emit("slideChangeTransition".concat(i)),"next"===o?t.emit("slideNextTransition".concat(i)):t.emit("slidePrevTransition".concat(i))}}var Y_={setTransition:function(e,t){var r=this;r.params.cssMode||(r.wrapperEl.style.transitionDuration="".concat(e,"ms"),r.wrapperEl.style.transitionDelay=0===e?"0ms":""),r.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var r=this,n=r.params;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),X_({swiper:r,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);var r=this,n=r.params;r.animating=!1,n.cssMode||(r.setTransition(0),X_({swiper:r,runCallbacks:e,direction:t,step:"End"}))}};var Z_={slideTo:function(e,t,r,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),"string"===typeof e&&(e=parseInt(e,10));var a=this,s=e;s<0&&(s=0);var o=a.params,l=a.snapGrid,c=a.slidesGrid,u=a.previousIndex,f=a.activeIndex,d=a.rtlTranslate,p=a.wrapperEl,h=a.enabled;if(a.animating&&o.preventInteractionOnTransition||!h&&!n&&!i)return!1;var m=Math.min(a.params.slidesPerGroupSkip,s),v=m+Math.floor((s-m)/a.params.slidesPerGroup);v>=l.length&&(v=l.length-1);var g,y=-l[v];if(o.normalizeSlideIndex)for(var b=0;b<c.length;b+=1){var x=-Math.floor(100*y),_=Math.floor(100*c[b]),w=Math.floor(100*c[b+1]);"undefined"!==typeof c[b+1]?x>=_&&x<w-(w-_)/2?s=b:x>=_&&x<w&&(s=b+1):x>=_&&(s=b)}if(a.initialized&&s!==f){if(!a.allowSlideNext&&(d?y>a.translate&&y>a.minTranslate():y<a.translate&&y<a.minTranslate()))return!1;if(!a.allowSlidePrev&&y>a.translate&&y>a.maxTranslate()&&(f||0)!==s)return!1}if(s!==(u||0)&&r&&a.emit("beforeSlideChangeStart"),a.updateProgress(y),g=s>f?"next":s<f?"prev":"reset",d&&-y===a.translate||!d&&y===a.translate)return a.updateActiveIndex(s),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(y),"reset"!==g&&(a.transitionStart(r,g),a.transitionEnd(r,g)),!1;if(o.cssMode){var S=a.isHorizontal(),k=d?y:-y;if(0===t){var E=a.virtual&&a.params.virtual.enabled;E&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),E&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((function(){p[S?"scrollLeft":"scrollTop"]=k}))):p[S?"scrollLeft":"scrollTop"]=k,E&&requestAnimationFrame((function(){a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}))}else{var C;if(!a.support.smoothScroll)return A_({swiper:a,targetPosition:k,side:S?"left":"top"}),!0;p.scrollTo((oe(C={},S?"left":"top",k),oe(C,"behavior","smooth"),C))}return!0}return a.setTransition(t),a.setTranslate(y),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(r,g),0===t?a.transitionEnd(r,g):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(r,g))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),"string"===typeof e&&(e=parseInt(e,10));var i=this,a=e;return i.params.loop&&(i.virtual&&i.params.virtual.enabled?a+=i.virtual.slidesBefore:a=i.getSlideIndexByData(a)),i.slideTo(a,t,r,n)},slideNext:function(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,i=n.enabled,a=n.params,s=n.animating;if(!i)return n;var o=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));var l=n.activeIndex<a.slidesPerGroupSkip?1:o,c=n.virtual&&a.virtual.enabled;if(a.loop){if(s&&!c&&a.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&a.cssMode)return requestAnimationFrame((function(){n.slideTo(n.activeIndex+l,e,t,r)})),!0}return a.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+l,e,t,r)},slidePrev:function(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,i=n.params,a=n.snapGrid,s=n.slidesGrid,o=n.rtlTranslate,l=n.enabled,c=n.animating;if(!l)return n;var u=n.virtual&&i.virtual.enabled;if(i.loop){if(c&&!u&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function f(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var d,p=f(o?n.translate:-n.translate),h=a.map((function(e){return f(e)})),m=a[h.indexOf(p)-1];"undefined"===typeof m&&i.cssMode&&(a.forEach((function(e,t){p>=e&&(d=t)})),"undefined"!==typeof d&&(m=a[d>0?d-1:d]));var v=0;if("undefined"!==typeof m&&((v=s.indexOf(m))<0&&(v=n.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(v=v-n.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),i.rewind&&n.isBeginning){var g=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(g,e,t,r)}return i.loop&&0===n.activeIndex&&i.cssMode?(requestAnimationFrame((function(){n.slideTo(v,e,t,r)})),!0):n.slideTo(v,e,t,r)},slideReset:function(e,t,r){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,r)},slideToClosest:function(e,t,r,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var i=this,a=i.activeIndex,s=Math.min(i.params.slidesPerGroupSkip,a),o=s+Math.floor((a-s)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[o]){var c=i.snapGrid[o];l-c>(i.snapGrid[o+1]-c)*n&&(a+=i.params.slidesPerGroup)}else{var u=i.snapGrid[o-1];l-u<=(i.snapGrid[o]-u)*n&&(a-=i.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,i.slidesGrid.length-1),i.slideTo(a,e,t,r)},slideToClickedSlide:function(){var e,t=this,r=t.params,n=t.slidesEl,i="auto"===r.slidesPerView?t.slidesPerViewDynamic():r.slidesPerView,a=t.clickedIndex,s=t.isElement?"swiper-slide":".".concat(r.slideClass);if(r.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),r.centeredSlides?a<t.loopedSlides-i/2||a>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),a=t.getSlideIndex(D_(n,"".concat(s,'[data-swiper-slide-index="').concat(e,'"]'))[0]),E_((function(){t.slideTo(a)}))):t.slideTo(a):a>t.slides.length-i?(t.loopFix(),a=t.getSlideIndex(D_(n,"".concat(s,'[data-swiper-slide-index="').concat(e,'"]'))[0]),E_((function(){t.slideTo(a)}))):t.slideTo(a)}else t.slideTo(a)}};var J_={loopCreate:function(e){var t=this,r=t.params,n=t.slidesEl;!r.loop||t.virtual&&t.params.virtual.enabled||(D_(n,".".concat(r.slideClass,", swiper-slide")).forEach((function(e,t){e.setAttribute("data-swiper-slide-index",t)})),t.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next"}))},loopFix:function(e){var t=void 0===e?{}:e,r=t.slideRealIndex,n=t.slideTo,i=void 0===n||n,a=t.direction,s=t.setTranslate,o=t.activeSlideIndex,l=t.byController,c=t.byMousewheel,u=this;if(u.params.loop){u.emit("beforeLoopFix");var f=u.slides,d=u.allowSlidePrev,p=u.allowSlideNext,h=u.slidesEl,m=u.params;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&m.virtual.enabled)return i&&(m.centeredSlides||0!==u.snapIndex?m.centeredSlides&&u.snapIndex<m.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=d,u.allowSlideNext=p,void u.emit("loopFix");var v="auto"===m.slidesPerView?u.slidesPerViewDynamic():Math.ceil(parseFloat(m.slidesPerView,10)),g=m.loopedSlides||v;g%m.slidesPerGroup!==0&&(g+=m.slidesPerGroup-g%m.slidesPerGroup),u.loopedSlides=g;var y=[],b=[],x=u.activeIndex;"undefined"===typeof o?o=u.getSlideIndex(u.slides.filter((function(e){return e.classList.contains(m.slideActiveClass)}))[0]):x=o;var _="next"===a||!a,w="prev"===a||!a,S=0,k=0;if(o<g){S=Math.max(g-o,m.slidesPerGroup);for(var E=0;E<g-o;E+=1){var C=E-Math.floor(E/f.length)*f.length;y.push(f.length-C-1)}}else if(o>u.slides.length-2*g){k=Math.max(o-(u.slides.length-2*g),m.slidesPerGroup);for(var P=0;P<k;P+=1){var T=P-Math.floor(P/f.length)*f.length;b.push(T)}}if(w&&y.forEach((function(e){u.slides[e].swiperLoopMoveDOM=!0,h.prepend(u.slides[e]),u.slides[e].swiperLoopMoveDOM=!1})),_&&b.forEach((function(e){u.slides[e].swiperLoopMoveDOM=!0,h.append(u.slides[e]),u.slides[e].swiperLoopMoveDOM=!1})),u.recalcSlides(),"auto"===m.slidesPerView&&u.updateSlides(),m.watchSlidesProgress&&u.updateSlidesOffset(),i)if(y.length>0&&w)if("undefined"===typeof r){var M=u.slidesGrid[x],j=u.slidesGrid[x+S]-M;c?u.setTranslate(u.translate-j):(u.slideTo(x+S,0,!1,!0),s&&(u.touches[u.isHorizontal()?"startX":"startY"]+=j,u.touchEventsData.currentTranslate=u.translate))}else s&&(u.slideToLoop(r,0,!1,!0),u.touchEventsData.currentTranslate=u.translate);else if(b.length>0&&_)if("undefined"===typeof r){var A=u.slidesGrid[x],O=u.slidesGrid[x-k]-A;c?u.setTranslate(u.translate-O):(u.slideTo(x-k,0,!1,!0),s&&(u.touches[u.isHorizontal()?"startX":"startY"]+=O,u.touchEventsData.currentTranslate=u.translate))}else u.slideToLoop(r,0,!1,!0);if(u.allowSlidePrev=d,u.allowSlideNext=p,u.controller&&u.controller.control&&!l){var D={slideRealIndex:r,direction:a,setTranslate:s,activeSlideIndex:o,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach((function(e){!e.destroyed&&e.params.loop&&e.loopFix(ce(ce({},D),{},{slideTo:e.params.slidesPerView===m.slidesPerView&&i}))})):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix(ce(ce({},D),{},{slideTo:u.controller.control.params.slidesPerView===m.slidesPerView&&i}))}u.emit("loopFix")}},loopDestroy:function(){var e=this,t=e.params,r=e.slidesEl;if(!(!t.loop||e.virtual&&e.params.virtual.enabled)){e.recalcSlides();var n=[];e.slides.forEach((function(e){var t="undefined"===typeof e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e})),e.slides.forEach((function(e){e.removeAttribute("data-swiper-slide-index")})),n.forEach((function(e){r.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}}};var K_={setGrabCursor:function(e){var t=this;if(!(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((function(){t.__preventObserver__=!1}))}},unsetGrabCursor:function(){var e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((function(){e.__preventObserver__=!1})))}};function Q_(e){var t=this,r=b_(),n=k_(),i=t.touchEventsData;i.evCache.push(e);var a=t.params,s=t.touches;if(t.enabled&&(a.simulateTouch||"mouse"!==e.pointerType)&&(!t.animating||!a.preventInteractionOnTransition)){!t.animating&&a.cssMode&&a.loop&&t.loopFix();var o=e;o.originalEvent&&(o=o.originalEvent);var l=o.target;if(("wrapper"!==a.touchEventsTarget||t.wrapperEl.contains(l))&&(!("which"in o)||3!==o.which)&&!("button"in o&&o.button>0)&&(!i.isTouched||!i.isMoved)){var c=!!a.noSwipingClass&&""!==a.noSwipingClass,u=e.composedPath?e.composedPath():e.path;c&&o.target&&o.target.shadowRoot&&u&&(l=u[0]);var f=a.noSwipingSelector?a.noSwipingSelector:".".concat(a.noSwipingClass),d=!(!o.target||!o.target.shadowRoot);if(a.noSwiping&&(d?function(e,t){return void 0===t&&(t=this),function t(r){if(!r||r===b_()||r===k_())return null;r.assignedSlot&&(r=r.assignedSlot);var n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null}(t)}(f,l):l.closest(f)))t.allowClick=!0;else if(!a.swipeHandler||l.closest(a.swipeHandler)){s.currentX=o.pageX,s.currentY=o.pageY;var p=s.currentX,h=s.currentY,m=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,v=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(m&&(p<=v||p>=n.innerWidth-v)){if("prevent"!==m)return;e.preventDefault()}Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=p,s.startY=h,i.touchStartTime=C_(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1);var g=!0;l.matches(i.focusableElements)&&(g=!1,"SELECT"===l.nodeName&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==l&&r.activeElement.blur();var y=g&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!y||l.isContentEditable||o.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",o)}}}}function ew(e){var t=b_(),r=this,n=r.touchEventsData,i=r.params,a=r.touches,s=r.rtlTranslate;if(r.enabled&&(i.simulateTouch||"mouse"!==e.pointerType)){var o=e;if(o.originalEvent&&(o=o.originalEvent),n.isTouched){var l=n.evCache.findIndex((function(e){return e.pointerId===o.pointerId}));l>=0&&(n.evCache[l]=o);var c=n.evCache.length>1?n.evCache[0]:o,u=c.pageX,f=c.pageY;if(o.preventedByNestedSwiper)return a.startX=u,void(a.startY=f);if(!r.allowTouchMove)return o.target.matches(n.focusableElements)||(r.allowClick=!1),void(n.isTouched&&(Object.assign(a,{startX:u,startY:f,prevX:r.touches.currentX,prevY:r.touches.currentY,currentX:u,currentY:f}),n.touchStartTime=C_()));if(i.touchReleaseOnEdges&&!i.loop)if(r.isVertical()){if(f<a.startY&&r.translate<=r.maxTranslate()||f>a.startY&&r.translate>=r.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(u<a.startX&&r.translate<=r.maxTranslate()||u>a.startX&&r.translate>=r.minTranslate())return;if(t.activeElement&&o.target===t.activeElement&&o.target.matches(n.focusableElements))return n.isMoved=!0,void(r.allowClick=!1);if(n.allowTouchCallbacks&&r.emit("touchMove",o),!(o.targetTouches&&o.targetTouches.length>1)){a.currentX=u,a.currentY=f;var d=a.currentX-a.startX,p=a.currentY-a.startY;if(!(r.params.threshold&&Math.sqrt(Math.pow(d,2)+Math.pow(p,2))<r.params.threshold)){var h;if("undefined"===typeof n.isScrolling)r.isHorizontal()&&a.currentY===a.startY||r.isVertical()&&a.currentX===a.startX?n.isScrolling=!1:d*d+p*p>=25&&(h=180*Math.atan2(Math.abs(p),Math.abs(d))/Math.PI,n.isScrolling=r.isHorizontal()?h>i.touchAngle:90-h>i.touchAngle);if(n.isScrolling&&r.emit("touchMoveOpposite",o),"undefined"===typeof n.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(n.startMoving=!0)),n.isScrolling||r.zoom&&r.params.zoom&&r.params.zoom.enabled&&n.evCache.length>1)n.isTouched=!1;else if(n.startMoving){r.allowClick=!1,!i.cssMode&&o.cancelable&&o.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&o.stopPropagation();var m=r.isHorizontal()?d:p,v=r.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;i.oneWayMovement&&(m=Math.abs(m)*(s?1:-1),v=Math.abs(v)*(s?1:-1)),a.diff=m,m*=i.touchRatio,s&&(m=-m,v=-v);var g=r.touchesDirection;r.swipeDirection=m>0?"prev":"next",r.touchesDirection=v>0?"prev":"next";var y,b=r.params.loop&&!i.cssMode,x="next"===r.swipeDirection&&r.allowSlideNext||"prev"===r.swipeDirection&&r.allowSlidePrev;if(!n.isMoved){if(b&&x&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){var _=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});r.wrapperEl.dispatchEvent(_)}n.allowMomentumBounce=!1,!i.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",o)}n.isMoved&&g!==r.touchesDirection&&b&&x&&Math.abs(m)>=1&&(r.loopFix({direction:r.swipeDirection,setTranslate:!0}),y=!0),r.emit("sliderMove",o),n.isMoved=!0,n.currentTranslate=m+n.startTranslate;var w=!0,S=i.resistanceRatio;if(i.touchReleaseOnEdges&&(S=0),m>0?(b&&x&&!y&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.size/2:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(w=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+Math.pow(-r.minTranslate()+n.startTranslate+m,S)))):m<0&&(b&&x&&!y&&n.currentTranslate<(i.centeredSlides?r.maxTranslate()+r.size/2:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-("auto"===i.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),n.currentTranslate<r.maxTranslate()&&(w=!1,i.resistance&&(n.currentTranslate=r.maxTranslate()+1-Math.pow(r.maxTranslate()-n.startTranslate-m,S)))),w&&(o.preventedByNestedSwiper=!0),!r.allowSlideNext&&"next"===r.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&"prev"===r.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),r.allowSlidePrev||r.allowSlideNext||(n.currentTranslate=n.startTranslate),i.threshold>0){if(!(Math.abs(m)>i.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,n.currentTranslate=n.startTranslate,void(a.diff=r.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&r.freeMode||i.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}}}}else n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",o)}}function tw(e){var t=this,r=t.touchEventsData,n=r.evCache.findIndex((function(t){return t.pointerId===e.pointerId}));if((n>=0&&r.evCache.splice(n,1),["pointercancel","pointerout","pointerleave","contextmenu"].includes(e.type))&&!(["pointercancel","contextmenu"].includes(e.type)&&(t.browser.isSafari||t.browser.isWebView)))return;var i=t.params,a=t.touches,s=t.rtlTranslate,o=t.slidesGrid;if(t.enabled&&(i.simulateTouch||"mouse"!==e.pointerType)){var l=e;if(l.originalEvent&&(l=l.originalEvent),r.allowTouchCallbacks&&t.emit("touchEnd",l),r.allowTouchCallbacks=!1,!r.isTouched)return r.isMoved&&i.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,void(r.startMoving=!1);i.grabCursor&&r.isMoved&&r.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,u=C_(),f=u-r.touchStartTime;if(t.allowClick){var d=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(d&&d[0]||l.target,d),t.emit("tap click",l),f<300&&u-r.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(r.lastClickTime=C_(),E_((function(){t.destroyed||(t.allowClick=!0)})),!r.isTouched||!r.isMoved||!t.swipeDirection||0===a.diff||r.currentTranslate===r.startTranslate)return r.isTouched=!1,r.isMoved=!1,void(r.startMoving=!1);if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,c=i.followFinger?s?t.translate:-t.translate:-r.currentTranslate,!i.cssMode)if(i.freeMode&&i.freeMode.enabled)t.freeMode.onTouchEnd({currentPos:c});else{for(var p=0,h=t.slidesSizesGrid[0],m=0;m<o.length;m+=m<i.slidesPerGroupSkip?1:i.slidesPerGroup){var v=m<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;"undefined"!==typeof o[m+v]?c>=o[m]&&c<o[m+v]&&(p=m,h=o[m+v]-o[m]):c>=o[m]&&(p=m,h=o[o.length-1]-o[o.length-2])}var g=null,y=null;i.rewind&&(t.isBeginning?y=i.virtual&&i.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));var b=(c-o[p])/h,x=p<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(f>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?g:p+x):t.slideTo(p)),"prev"===t.swipeDirection&&(b>1-i.longSwipesRatio?t.slideTo(p+x):null!==y&&b<0&&Math.abs(b)>i.longSwipesRatio?t.slideTo(y):t.slideTo(p))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(p+x):t.slideTo(p):("next"===t.swipeDirection&&t.slideTo(null!==g?g:p+x),"prev"===t.swipeDirection&&t.slideTo(null!==y?y:p))}}}}function rw(){var e=this,t=e.params,r=e.el;if(!r||0!==r.offsetWidth){t.breakpoints&&e.setBreakpoint();var n=e.allowSlideNext,i=e.allowSlidePrev,a=e.snapGrid,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();var o=s&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((function(){e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}}function nw(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function iw(){var e=this,t=e.wrapperEl,r=e.rtlTranslate;if(e.enabled){e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var n=e.maxTranslate()-e.minTranslate();(0===n?0:(e.translate-e.minTranslate())/n)!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}}function aw(e){var t=this;G_(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}var sw=!1;function ow(){}var lw=function(e,t){var r=b_(),n=e.params,i=e.el,a=e.wrapperEl,s=e.device,o=!!n.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;i[l]("pointerdown",e.onTouchStart,{passive:!1}),r[l]("pointermove",e.onTouchMove,{passive:!1,capture:o}),r[l]("pointerup",e.onTouchEnd,{passive:!0}),r[l]("pointercancel",e.onTouchEnd,{passive:!0}),r[l]("pointerout",e.onTouchEnd,{passive:!0}),r[l]("pointerleave",e.onTouchEnd,{passive:!0}),r[l]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[l]("click",e.onClick,!0),n.cssMode&&a[l]("scroll",e.onScroll),n.updateOnWindowResize?e[c](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",rw,!0):e[c]("observerUpdate",rw,!0),i[l]("load",e.onLoad,{capture:!0})};var cw={attachEvents:function(){var e=this,t=b_(),r=e.params;e.onTouchStart=Q_.bind(e),e.onTouchMove=ew.bind(e),e.onTouchEnd=tw.bind(e),r.cssMode&&(e.onScroll=iw.bind(e)),e.onClick=nw.bind(e),e.onLoad=aw.bind(e),sw||(t.addEventListener("touchstart",ow),sw=!0),lw(e,"on")},detachEvents:function(){lw(this,"off")}},uw=function(e,t){return e.grid&&t.grid&&t.grid.rows>1};var fw={setBreakpoint:function(){var e=this,t=e.realIndex,r=e.initialized,n=e.params,i=e.el,a=n.breakpoints;if(a&&(!a||0!==Object.keys(a).length)){var s=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(s&&e.currentBreakpoint!==s){var o=(s in a?a[s]:void 0)||e.originalParams,l=uw(e,n),c=uw(e,o),u=n.enabled;l&&!c?(i.classList.remove("".concat(n.containerModifierClass,"grid"),"".concat(n.containerModifierClass,"grid-column")),e.emitContainerClasses()):!l&&c&&(i.classList.add("".concat(n.containerModifierClass,"grid")),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===n.grid.fill)&&i.classList.add("".concat(n.containerModifierClass,"grid-column")),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((function(t){if("undefined"!==typeof o[t]){var r=n[t]&&n[t].enabled,i=o[t]&&o[t].enabled;r&&!i&&e[t].disable(),!r&&i&&e[t].enable()}}));var f=o.direction&&o.direction!==n.direction,d=n.loop&&(o.slidesPerView!==n.slidesPerView||f),p=n.loop;f&&r&&e.changeDirection(),M_(e.params,o);var h=e.params.enabled,m=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!h?e.disable():!u&&h&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",o),r&&(d?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!p&&m?(e.loopCreate(t),e.updateSlides()):p&&!m&&e.loopDestroy()),e.emit("breakpoint",o)}}},getBreakpoint:function(e,t,r){if(void 0===t&&(t="window"),e&&("container"!==t||r)){var n=!1,i=k_(),a="window"===t?i.innerHeight:r.clientHeight,s=Object.keys(e).map((function(e){if("string"===typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}}));s.sort((function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)}));for(var o=0;o<s.length;o+=1){var l=s[o],c=l.point,u=l.value;"window"===t?i.matchMedia("(min-width: ".concat(u,"px)")).matches&&(n=c):u<=r.clientWidth&&(n=c)}return n||"max"}}};var dw={addClasses:function(){var e,t=this,r=t.classNames,n=t.params,i=t.rtl,a=t.el,s=t.device,o=function(e,t){var r=[];return e.forEach((function(e){"object"===typeof e?Object.keys(e).forEach((function(n){e[n]&&r.push(t+n)})):"string"===typeof e&&r.push(t+e)})),r}(["initialized",n.direction,{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);r.push.apply(r,Fr(o)),(e=a.classList).add.apply(e,Fr(r)),t.emitContainerClasses()},removeClasses:function(){var e,t=this,r=t.el,n=t.classNames;(e=r.classList).remove.apply(e,Fr(n)),t.emitContainerClasses()}};var pw={checkOverflow:function(){var e=this,t=e.isLocked,r=e.params,n=r.slidesOffsetBefore;if(n){var i=e.slides.length-1,a=e.slidesGrid[i]+e.slidesSizesGrid[i]+2*n;e.isLocked=e.size>a}else e.isLocked=1===e.snapGrid.length;!0===r.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===r.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},hw={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function mw(e,t){return function(r){void 0===r&&(r={});var n=Object.keys(r)[0],i=r[n];"object"===typeof i&&null!==i?(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled"in i?("object"!==typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),M_(t,r)):M_(t,r)):M_(t,r)}}var vw={eventsEmitter:H_,update:U_,translate:$_,transition:Y_,slide:Z_,loop:J_,grabCursor:K_,events:cw,breakpoints:fw,checkOverflow:pw,classes:dw},gw={},yw=function(){function e(){var t,r;Gt(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?r=i[0]:(t=i[0],r=i[1]),r||(r={}),r=M_({},r),t&&!r.el&&(r.el=t);var s=b_();if(r.el&&"string"===typeof r.el&&s.querySelectorAll(r.el).length>1){var o=[];return s.querySelectorAll(r.el).forEach((function(t){var n=M_({},r,{el:t});o.push(new e(n))})),o}var l,c=this;(c.__swiper__=!0,c.support=B_(),c.device=z_({userAgent:r.userAgent}),c.browser=V_(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=Fr(c.__modules__),r.modules&&Array.isArray(r.modules))&&(l=c.modules).push.apply(l,Fr(r.modules));var u={};c.modules.forEach((function(e){e({params:r,swiper:c,extendParams:mw(r,u),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})}));var f=M_({},hw,u);return c.params=M_({},f,gw,r),c.originalParams=M_({},c.params),c.passedParams=M_({},r),c.params&&c.params.on&&Object.keys(c.params.on).forEach((function(e){c.on(e,c.params.on[e])})),c.params&&c.params.onAny&&c.onAny(c.params.onAny),Object.assign(c,{enabled:c.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===c.params.direction},isVertical:function(){return"vertical"===c.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment:function(){return Math.trunc(this.translate/Math.pow(2,23))*Math.pow(2,23)},allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}return Wt(e,[{key:"getSlideIndex",value:function(e){var t=this.slidesEl,r=this.params,n=F_(D_(t,".".concat(r.slideClass,", swiper-slide"))[0]);return F_(e)-n}},{key:"getSlideIndexByData",value:function(e){return this.getSlideIndex(this.slides.filter((function(t){return 1*t.getAttribute("data-swiper-slide-index")===e}))[0])}},{key:"recalcSlides",value:function(){var e=this,t=e.slidesEl,r=e.params;e.slides=D_(t,".".concat(r.slideClass,", swiper-slide"))}},{key:"enable",value:function(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}},{key:"disable",value:function(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}},{key:"setProgress",value:function(e,t){var r=this;e=Math.min(Math.max(e,0),1);var n=r.minTranslate(),i=(r.maxTranslate()-n)*e+n;r.translateTo(i,"undefined"===typeof t?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}},{key:"emitContainerClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter((function(t){return 0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)}));e.emit("_containerClasses",t.join(" "))}}},{key:"getSlideClasses",value:function(e){var t=this;return t.destroyed?"":e.className.split(" ").filter((function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)})).join(" ")}},{key:"emitSlidesClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.forEach((function(r){var n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)})),e.emit("_slideClasses",t)}}},{key:"slidesPerViewDynamic",value:function(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var r=this,n=r.params,i=r.slides,a=r.slidesGrid,s=r.slidesSizesGrid,o=r.size,l=r.activeIndex,c=1;if("number"===typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){for(var u,f=i[l]?i[l].swiperSlideSize:0,d=l+1;d<i.length;d+=1)i[d]&&!u&&(c+=1,(f+=i[d].swiperSlideSize)>o&&(u=!0));for(var p=l-1;p>=0;p-=1)i[p]&&!u&&(c+=1,(f+=i[p].swiperSlideSize)>o&&(u=!0))}else if("current"===e)for(var h=l+1;h<i.length;h+=1){(t?a[h]+s[h]-a[l]<o:a[h]-a[l]<o)&&(c+=1)}else for(var m=l-1;m>=0;m-=1){a[l]-a[m]<o&&(c+=1)}return c}},{key:"update",value:function(){var e=this;if(e&&!e.destroyed){var t,r=e.snapGrid,n=e.params;if(n.breakpoints&&e.setBreakpoint(),Fr(e.el.querySelectorAll('[loading="lazy"]')).forEach((function(t){t.complete&&G_(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)a(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){var i=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;t=e.slideTo(i.length-1,0,!1,!0)}else t=e.slideTo(e.activeIndex,0,!1,!0);t||a()}n.watchOverflow&&r!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function a(){var t=e.rtlTranslate?-1*e.translate:e.translate,r=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}}},{key:"changeDirection",value:function(e,t){void 0===t&&(t=!0);var r=this,n=r.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(r.el.classList.remove("".concat(r.params.containerModifierClass).concat(n)),r.el.classList.add("".concat(r.params.containerModifierClass).concat(e)),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach((function(t){"vertical"===e?t.style.width="":t.style.height=""})),r.emit("changeDirection"),t&&r.update()),r}},{key:"changeLanguageDirection",value:function(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="rtl"):(t.el.classList.remove("".concat(t.params.containerModifierClass,"rtl")),t.el.dir="ltr"),t.update())}},{key:"mount",value:function(e){var t=this;if(t.mounted)return!0;var r=e||t.params.el;if("string"===typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&"SWIPER-CONTAINER"===r.parentNode.host.nodeName&&(t.isElement=!0);var n=function(){return".".concat((t.params.wrapperClass||"").trim().split(" ").join("."))},i=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(n()):D_(r,n())[0];return!i&&t.params.createElements&&(i=N_("div",t.params.wrapperClass),r.append(i),D_(r,".".concat(t.params.slideClass)).forEach((function(e){i.append(e)}))),Object.assign(t,{el:r,wrapperEl:i,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:i,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===I_(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===I_(r,"direction")),wrongRTL:"-webkit-box"===I_(i,"display")}),!0}},{key:"init",value:function(e){var t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();var r=Fr(t.el.querySelectorAll('[loading="lazy"]'));return t.isElement&&r.push.apply(r,Fr(t.hostEl.querySelectorAll('[loading="lazy"]'))),r.forEach((function(e){e.complete?G_(t,e):e.addEventListener("load",(function(e){G_(t,e.target)}))})),W_(t),t.initialized=!0,W_(t),t.emit("init"),t.emit("afterInit"),t}},{key:"destroy",value:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var r=this,n=r.params,i=r.el,a=r.wrapperEl,s=r.slides;return"undefined"===typeof r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i.removeAttribute("style"),a.removeAttribute("style"),s&&s.length&&s.forEach((function(e){e.classList.remove(n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((function(e){r.off(e)})),!1!==e&&(r.el.swiper=null,function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(r){}try{delete t[e]}catch(r){}}))}(r)),r.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){M_(gw,e)}},{key:"extendedDefaults",get:function(){return gw}},{key:"defaults",get:function(){return hw}},{key:"installModule",value:function(t){e.prototype.__modules__||(e.prototype.__modules__=[]);var r=e.prototype.__modules__;"function"===typeof t&&r.indexOf(t)<0&&r.push(t)}},{key:"use",value:function(t){return Array.isArray(t)?(t.forEach((function(t){return e.installModule(t)})),e):(e.installModule(t),e)}}]),e}();Object.keys(vw).forEach((function(e){Object.keys(vw[e]).forEach((function(t){yw.prototype[t]=vw[e][t]}))})),yw.use([function(e){var t=e.swiper,r=e.on,n=e.emit,i=k_(),a=null,s=null,o=function(){t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},l=function(){t&&!t.destroyed&&t.initialized&&n("orientationchange")};r("init",(function(){t.params.resizeObserver&&"undefined"!==typeof i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((function(e){s=i.requestAnimationFrame((function(){var r=t.width,n=t.height,i=r,a=n;e.forEach((function(e){var r=e.contentBoxSize,n=e.contentRect,s=e.target;s&&s!==t.el||(i=n?n.width:(r[0]||r).inlineSize,a=n?n.height:(r[0]||r).blockSize)})),i===r&&a===n||o()}))}))).observe(t.el):(i.addEventListener("resize",o),i.addEventListener("orientationchange",l))})),r("destroy",(function(){s&&i.cancelAnimationFrame(s),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",l)}))},function(e){var t=e.swiper,r=e.extendParams,n=e.on,i=e.emit,a=[],s=k_(),o=function(e,r){void 0===r&&(r={});var n=new(s.MutationObserver||s.WebkitMutationObserver)((function(e){if(!t.__preventObserver__)if(1!==e.length){var r=function(){i("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(r):s.setTimeout(r,0)}else i("observerUpdate",e[0])}));n.observe(e,{attributes:"undefined"===typeof r.attributes||r.attributes,childList:"undefined"===typeof r.childList||r.childList,characterData:"undefined"===typeof r.characterData||r.characterData}),a.push(n)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(function(){if(t.params.observer){if(t.params.observeParents)for(var e=L_(t.hostEl),r=0;r<e.length;r+=1)o(e[r]);o(t.hostEl,{childList:t.params.observeSlideChildren}),o(t.wrapperEl,{attributes:!1})}})),n("destroy",(function(){a.forEach((function(e){e.disconnect()})),a.splice(0,a.length)}))}]);var bw=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function xw(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function _w(e,t){var r=["__proto__","constructor","prototype"];Object.keys(t).filter((function(e){return r.indexOf(e)<0})).forEach((function(r){"undefined"===typeof e[r]?e[r]=t[r]:xw(t[r])&&xw(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:_w(e[r],t[r]):e[r]=t[r]}))}function ww(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function Sw(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function kw(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function Ew(e){void 0===e&&(e="");var t=e.split(" ").map((function(e){return e.trim()})).filter((function(e){return!!e})),r=[];return t.forEach((function(e){r.indexOf(e)<0&&r.push(e)})),r.join(" ")}function Cw(e){return void 0===e&&(e=""),e?e.includes("swiper-wrapper")?e:"swiper-wrapper ".concat(e):"swiper-wrapper"}var Pw=["className","tag","wrapperTag","children","onSwiper"],Tw=["tag","children","className","swiper","zoom","lazy","virtualIndex","swiperSlideIndex"];function Mw(){return Mw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mw.apply(this,arguments)}function jw(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function Aw(e){var r=[];return t.Children.toArray(e).forEach((function(e){jw(e)?r.push(e):e.props&&e.props.children&&Aw(e.props.children).forEach((function(e){return r.push(e)}))})),r}function Ow(e){var r=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return t.Children.toArray(e).forEach((function(e){if(jw(e))r.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){var t=Aw(e.props.children);t.length>0?t.forEach((function(e){return r.push(e)})):n["container-end"].push(e)}else n["container-end"].push(e)})),{slides:r,slots:n}}function Dw(e,r){return"undefined"===typeof window?(0,t.useEffect)(e,r):(0,t.useLayoutEffect)(e,r)}var Nw=(0,t.createContext)(null),Iw=(0,t.createContext)(null),Fw=(0,t.forwardRef)((function(e,r){var n=void 0===e?{}:e,i=n.className,a=n.tag,s=void 0===a?"div":a,o=n.wrapperTag,l=void 0===o?"div":o,c=n.children,u=n.onSwiper,f=m_(n,Pw),d=!1,p=Sr((0,t.useState)("swiper"),2),h=p[0],m=p[1],v=Sr((0,t.useState)(null),2),g=v[0],y=v[1],b=Sr((0,t.useState)(!1),2),x=b[0],_=b[1],w=(0,t.useRef)(!1),S=(0,t.useRef)(null),k=(0,t.useRef)(null),E=(0,t.useRef)(null),C=(0,t.useRef)(null),P=(0,t.useRef)(null),T=(0,t.useRef)(null),M=(0,t.useRef)(null),j=(0,t.useRef)(null),A=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);var r={on:{}},n={},i={};_w(r,hw),r._emitClasses=!0,r.init=!1;var a={},s=bw.map((function(e){return e.replace(/_/,"")})),o=Object.assign({},e);return Object.keys(o).forEach((function(o){"undefined"!==typeof e[o]&&(s.indexOf(o)>=0?xw(e[o])?(r[o]={},i[o]={},_w(r[o],e[o]),_w(i[o],e[o])):(r[o]=e[o],i[o]=e[o]):0===o.search(/on[A-Z]/)&&"function"===typeof e[o]?t?n["".concat(o[2].toLowerCase()).concat(o.substr(3))]=e[o]:r.on["".concat(o[2].toLowerCase()).concat(o.substr(3))]=e[o]:a[o]=e[o])})),["navigation","pagination","scrollbar"].forEach((function(e){!0===r[e]&&(r[e]={}),!1===r[e]&&delete r[e]})),{params:r,passedParams:i,rest:a,events:n}}(f),O=A.params,D=A.passedParams,N=A.rest,I=A.events,F=Ow(c),L=F.slides,R=F.slots,B=function(){_(!x)};Object.assign(O.on,{_containerClasses:function(e,t){m(t)}});var z=function(){Object.assign(O.on,I),d=!0;var e=ce({},O);if(delete e.wrapperClass,k.current=new yw(e),k.current.virtual&&k.current.params.virtual.enabled){k.current.virtual.slides=L;var t={cache:!1,slides:L,renderExternal:y,renderExternalUpdate:!1};_w(k.current.params.virtual,t),_w(k.current.originalParams.virtual,t)}};S.current||z(),k.current&&k.current.on("_beforeBreakpoint",B);return(0,t.useEffect)((function(){return function(){k.current&&k.current.off("_beforeBreakpoint",B)}})),(0,t.useEffect)((function(){!w.current&&k.current&&(k.current.emitSlidesClasses(),w.current=!0)})),Dw((function(){if(r&&(r.current=S.current),S.current)return k.current.destroyed&&z(),function(e,t){var r=e.el,n=e.nextEl,i=e.prevEl,a=e.paginationEl,s=e.scrollbarEl,o=e.swiper;ww(t)&&n&&i&&(o.params.navigation.nextEl=n,o.originalParams.navigation.nextEl=n,o.params.navigation.prevEl=i,o.originalParams.navigation.prevEl=i),Sw(t)&&a&&(o.params.pagination.el=a,o.originalParams.pagination.el=a),kw(t)&&s&&(o.params.scrollbar.el=s,o.originalParams.scrollbar.el=s),o.init(r)}({el:S.current,nextEl:P.current,prevEl:T.current,paginationEl:M.current,scrollbarEl:j.current,swiper:k.current},O),u&&u(k.current),function(){k.current&&!k.current.destroyed&&k.current.destroy(!0,!1)}}),[]),Dw((function(){!d&&I&&k.current&&Object.keys(I).forEach((function(e){k.current.on(e,I[e])}));var e=function(e,t,r,n,i){var a=[];if(!t)return a;var s=function(e){a.indexOf(e)<0&&a.push(e)};if(r&&n){var o=n.map(i),l=r.map(i);o.join("")!==l.join("")&&s("children"),n.length!==r.length&&s("children")}return bw.filter((function(e){return"_"===e[0]})).map((function(e){return e.replace(/_/,"")})).forEach((function(r){if(r in e&&r in t)if(xw(e[r])&&xw(t[r])){var n=Object.keys(e[r]),i=Object.keys(t[r]);n.length!==i.length?s(r):(n.forEach((function(n){e[r][n]!==t[r][n]&&s(r)})),i.forEach((function(n){e[r][n]!==t[r][n]&&s(r)})))}else e[r]!==t[r]&&s(r)})),a}(D,E.current,L,C.current,(function(e){return e.key}));return E.current=D,C.current=L,e.length&&k.current&&!k.current.destroyed&&function(e){var t,r,n,i,a,s,o,l,c=e.swiper,u=e.slides,f=e.passedParams,d=e.changedParams,p=e.nextEl,h=e.prevEl,m=e.scrollbarEl,v=e.paginationEl,g=d.filter((function(e){return"children"!==e&&"direction"!==e&&"wrapperClass"!==e})),y=c.params,b=c.pagination,x=c.navigation,_=c.scrollbar,w=c.virtual,S=c.thumbs;d.includes("thumbs")&&f.thumbs&&f.thumbs.swiper&&y.thumbs&&!y.thumbs.swiper&&(t=!0),d.includes("controller")&&f.controller&&f.controller.control&&y.controller&&!y.controller.control&&(r=!0),d.includes("pagination")&&f.pagination&&(f.pagination.el||v)&&(y.pagination||!1===y.pagination)&&b&&!b.el&&(n=!0),d.includes("scrollbar")&&f.scrollbar&&(f.scrollbar.el||m)&&(y.scrollbar||!1===y.scrollbar)&&_&&!_.el&&(i=!0),d.includes("navigation")&&f.navigation&&(f.navigation.prevEl||h)&&(f.navigation.nextEl||p)&&(y.navigation||!1===y.navigation)&&x&&!x.prevEl&&!x.nextEl&&(a=!0);var k=function(e){c[e]&&(c[e].destroy(),"navigation"===e?(c.isElement&&(c[e].prevEl.remove(),c[e].nextEl.remove()),y[e].prevEl=void 0,y[e].nextEl=void 0,c[e].prevEl=void 0,c[e].nextEl=void 0):(c.isElement&&c[e].el.remove(),y[e].el=void 0,c[e].el=void 0))};d.includes("loop")&&c.isElement&&(y.loop&&!f.loop?s=!0:!y.loop&&f.loop?o=!0:l=!0),g.forEach((function(e){if(xw(y[e])&&xw(f[e]))_w(y[e],f[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in f[e])||f[e].enabled||k(e);else{var t=f[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?y[e]=f[e]:!1===t&&k(e)}})),g.includes("controller")&&!r&&c.controller&&c.controller.control&&y.controller&&y.controller.control&&(c.controller.control=y.controller.control),d.includes("children")&&u&&w&&y.virtual.enabled&&(w.slides=u,w.update(!0)),d.includes("children")&&u&&y.loop&&(l=!0),t&&S.init()&&S.update(!0),r&&(c.controller.control=y.controller.control),n&&(!c.isElement||v&&"string"!==typeof v||((v=document.createElement("div")).classList.add("swiper-pagination"),v.part.add("pagination"),c.el.appendChild(v)),v&&(y.pagination.el=v),b.init(),b.render(),b.update()),i&&(!c.isElement||m&&"string"!==typeof m||((m=document.createElement("div")).classList.add("swiper-scrollbar"),m.part.add("scrollbar"),c.el.appendChild(m)),m&&(y.scrollbar.el=m),_.init(),_.updateSize(),_.setTranslate()),a&&(c.isElement&&(p&&"string"!==typeof p||((p=document.createElement("div")).classList.add("swiper-button-next"),p.innerHTML=c.hostEl.constructor.nextButtonSvg,p.part.add("button-next"),c.el.appendChild(p)),h&&"string"!==typeof h||((h=document.createElement("div")).classList.add("swiper-button-prev"),h.innerHTML=c.hostEl.constructor.prevButtonSvg,h.part.add("button-prev"),c.el.appendChild(h))),p&&(y.navigation.nextEl=p),h&&(y.navigation.prevEl=h),x.init(),x.update()),d.includes("allowSlideNext")&&(c.allowSlideNext=f.allowSlideNext),d.includes("allowSlidePrev")&&(c.allowSlidePrev=f.allowSlidePrev),d.includes("direction")&&c.changeDirection(f.direction,!1),(s||l)&&c.loopDestroy(),(o||l)&&c.loopCreate(),c.update()}({swiper:k.current,slides:L,passedParams:D,changedParams:e,nextEl:P.current,prevEl:T.current,scrollbarEl:j.current,paginationEl:M.current}),function(){I&&k.current&&Object.keys(I).forEach((function(e){k.current.off(e,I[e])}))}})),Dw((function(){!function(e){!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}(k.current)}),[g]),t.createElement(s,Mw({ref:S,className:Ew("".concat(h).concat(i?" ".concat(i):""))},N),t.createElement(Iw.Provider,{value:k.current},R["container-start"],t.createElement(l,{className:Cw(O.wrapperClass)},R["wrapper-start"],O.virtual?function(e,r,n){if(!n)return null;for(var i=function(e){var t=e;return e<0?t=r.length+e:t>=r.length&&(t-=r.length),t},a=e.isHorizontal()?oe({},e.rtlTranslate?"right":"left","".concat(n.offset,"px")):{top:"".concat(n.offset,"px")},s=n.from,o=n.to,l=e.params.loop?-r.length:0,c=e.params.loop?2*r.length:r.length,u=[],f=l;f<c;f+=1)f>=s&&f<=o&&u.push(r[i(f)]);return u.map((function(r,n){return t.cloneElement(r,{swiper:e,style:a,key:"slide-".concat(n)})}))}(k.current,L,g):L.map((function(e,r){return t.cloneElement(e,{swiper:k.current,swiperSlideIndex:r})})),R["wrapper-end"]),ww(O)&&t.createElement(t.Fragment,null,t.createElement("div",{ref:T,className:"swiper-button-prev"}),t.createElement("div",{ref:P,className:"swiper-button-next"})),kw(O)&&t.createElement("div",{ref:j,className:"swiper-scrollbar"}),Sw(O)&&t.createElement("div",{ref:M,className:"swiper-pagination"}),R["container-end"]))}));Fw.displayName="Swiper";var Lw=(0,t.forwardRef)((function(e,r){var n=void 0===e?{}:e,i=n.tag,a=void 0===i?"div":i,s=n.children,o=n.className,l=void 0===o?"":o,c=n.swiper,u=n.zoom,f=n.lazy,d=n.virtualIndex,p=n.swiperSlideIndex,h=m_(n,Tw),m=(0,t.useRef)(null),v=Sr((0,t.useState)("swiper-slide"),2),g=v[0],y=v[1],b=Sr((0,t.useState)(!1),2),x=b[0],_=b[1];function w(e,t,r){t===m.current&&y(r)}Dw((function(){if("undefined"!==typeof p&&(m.current.swiperSlideIndex=p),r&&(r.current=m.current),m.current&&c){if(!c.destroyed)return c.on("_slideClass",w),function(){c&&c.off("_slideClass",w)};"swiper-slide"!==g&&y("swiper-slide")}})),Dw((function(){c&&m.current&&!c.destroyed&&y(c.getSlideClasses(m.current))}),[c]);var S={isActive:g.indexOf("swiper-slide-active")>=0,isVisible:g.indexOf("swiper-slide-visible")>=0,isPrev:g.indexOf("swiper-slide-prev")>=0,isNext:g.indexOf("swiper-slide-next")>=0},k=function(){return"function"===typeof s?s(S):s};return t.createElement(a,Mw({ref:m,className:Ew("".concat(g).concat(l?" ".concat(l):"")),"data-swiper-slide-index":d,onLoad:function(){_(!0)}},h),u&&t.createElement(Nw.Provider,{value:S},t.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof u?u:void 0},k(),f&&!x&&t.createElement("div",{className:"swiper-lazy-preloader"}))),!u&&t.createElement(Nw.Provider,{value:S},k(),f&&!x&&t.createElement("div",{className:"swiper-lazy-preloader"})))}));function Rw(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach((function(i){if(!r[i]&&!0===r.auto){var a=D_(e.el,".".concat(n[i]))[0];a||((a=N_("div",n[i])).className=n[i],e.el.append(a)),r[i]=a,t[i]=a}})),r}function Bw(e){var t=e.swiper,r=e.extendParams,n=e.on,i=e.emit;r({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};var a=function(e){return(Array.isArray(e)?e:[e]).filter((function(e){return!!e}))};function s(e){var r;return e&&"string"===typeof e&&t.isElement&&(r=t.el.querySelector(e))?r:(e&&("string"===typeof e&&(r=Fr(document.querySelectorAll(e))),t.params.uniqueNavElements&&"string"===typeof e&&r.length>1&&1===t.el.querySelectorAll(e).length&&(r=t.el.querySelector(e))),e&&!r?e:r)}function o(e,r){var n=t.params.navigation;(e=a(e)).forEach((function(e){var i;e&&((i=e.classList)[r?"add":"remove"].apply(i,Fr(n.disabledClass.split(" "))),"BUTTON"===e.tagName&&(e.disabled=r),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass))}))}function l(){var e=t.navigation,r=e.nextEl,n=e.prevEl;if(t.params.loop)return o(n,!1),void o(r,!1);o(n,t.isBeginning&&!t.params.rewind),o(r,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function f(){var e=t.params.navigation;if(t.params.navigation=Rw(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),e.nextEl||e.prevEl){var r=s(e.nextEl),n=s(e.prevEl);Object.assign(t.navigation,{nextEl:r,prevEl:n}),r=a(r),n=a(n);var i=function(r,n){var i;(r&&r.addEventListener("click","next"===n?u:c),!t.enabled&&r)&&(i=r.classList).add.apply(i,Fr(e.lockClass.split(" ")))};r.forEach((function(e){return i(e,"next")})),n.forEach((function(e){return i(e,"prev")}))}}function d(){var e=t.navigation,r=e.nextEl,n=e.prevEl;r=a(r),n=a(n);var i=function(e,r){var n;e.removeEventListener("click","next"===r?u:c),(n=e.classList).remove.apply(n,Fr(t.params.navigation.disabledClass.split(" ")))};r.forEach((function(e){return i(e,"next")})),n.forEach((function(e){return i(e,"prev")}))}n("init",(function(){!1===t.params.navigation.enabled?p():(f(),l())})),n("toEdge fromEdge lock unlock",(function(){l()})),n("destroy",(function(){d()})),n("enable disable",(function(){var e=t.navigation,r=e.nextEl,n=e.prevEl;r=a(r),n=a(n),t.enabled?l():[].concat(Fr(r),Fr(n)).filter((function(e){return!!e})).forEach((function(e){return e.classList.add(t.params.navigation.lockClass)}))})),n("click",(function(e,r){var n=t.navigation,s=n.nextEl,o=n.prevEl;s=a(s),o=a(o);var l=r.target;if(t.params.navigation.hideOnClick&&!o.includes(l)&&!s.includes(l)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===l||t.pagination.el.contains(l)))return;var c;s.length?c=s[0].classList.contains(t.params.navigation.hiddenClass):o.length&&(c=o[0].classList.contains(t.params.navigation.hiddenClass)),i(!0===c?"navigationShow":"navigationHide"),[].concat(Fr(s),Fr(o)).filter((function(e){return!!e})).forEach((function(e){return e.classList.toggle(t.params.navigation.hiddenClass)}))}}));var p=function(){var e;(e=t.el.classList).add.apply(e,Fr(t.params.navigation.navigationDisabledClass.split(" "))),d()};Object.assign(t.navigation,{enable:function(){var e;(e=t.el.classList).remove.apply(e,Fr(t.params.navigation.navigationDisabledClass.split(" "))),f(),l()},disable:p,update:l,init:f,destroy:d})}function zw(e){return void 0===e&&(e=""),".".concat(e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,"."))}function Vw(e){var t,r=e.swiper,n=e.extendParams,i=e.on,a=e.emit,s="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"".concat(s,"-bullet"),bulletActiveClass:"".concat(s,"-bullet-active"),modifierClass:"".concat(s,"-"),currentClass:"".concat(s,"-current"),totalClass:"".concat(s,"-total"),hiddenClass:"".concat(s,"-hidden"),progressbarFillClass:"".concat(s,"-progressbar-fill"),progressbarOppositeClass:"".concat(s,"-progressbar-opposite"),clickableClass:"".concat(s,"-clickable"),lockClass:"".concat(s,"-lock"),horizontalClass:"".concat(s,"-horizontal"),verticalClass:"".concat(s,"-vertical"),paginationDisabledClass:"".concat(s,"-disabled")}}),r.pagination={el:null,bullets:[]};var o=0,l=function(e){return(Array.isArray(e)?e:[e]).filter((function(e){return!!e}))};function c(){return!r.params.pagination.el||!r.pagination.el||Array.isArray(r.pagination.el)&&0===r.pagination.el.length}function u(e,t){var n=r.params.pagination.bulletActiveClass;e&&(e=e["".concat("prev"===t?"previous":"next","ElementSibling")])&&(e.classList.add("".concat(n,"-").concat(t)),(e=e["".concat("prev"===t?"previous":"next","ElementSibling")])&&e.classList.add("".concat(n,"-").concat(t,"-").concat(t)))}function f(e){var t=e.target.closest(zw(r.params.pagination.bulletClass));if(t){e.preventDefault();var n=F_(t)*r.params.slidesPerGroup;if(r.params.loop){if(r.realIndex===n)return;var i=r.realIndex,a=r.getSlideIndexByData(n),s=r.getSlideIndexByData(r.realIndex),o=function(e){var t=r.activeIndex;r.loopFix({direction:e,activeSlideIndex:a,slideTo:!1}),t===r.activeIndex&&r.slideToLoop(i,0,!1,!0)};if(a>r.slides.length-r.loopedSlides)o(a>s?"next":"prev");else if(r.params.centeredSlides){var l="auto"===r.params.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(r.params.slidesPerView,10));a<Math.floor(l/2)&&o("prev")}r.slideToLoop(n)}else r.slideTo(n)}}function d(){var e=r.rtl,n=r.params.pagination;if(!c()){var i,s,f=r.pagination.el;f=l(f);var d=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:r.slides.length,p=r.params.loop?Math.ceil(d/r.params.slidesPerGroup):r.snapGrid.length;if(r.params.loop?(s=r.previousRealIndex||0,i=r.params.slidesPerGroup>1?Math.floor(r.realIndex/r.params.slidesPerGroup):r.realIndex):"undefined"!==typeof r.snapIndex?(i=r.snapIndex,s=r.previousSnapIndex):(s=r.previousIndex||0,i=r.activeIndex||0),"bullets"===n.type&&r.pagination.bullets&&r.pagination.bullets.length>0){var h,m,v,g=r.pagination.bullets;if(n.dynamicBullets&&(t=R_(g[0],r.isHorizontal()?"width":"height",!0),f.forEach((function(e){e.style[r.isHorizontal()?"width":"height"]="".concat(t*(n.dynamicMainBullets+4),"px")})),n.dynamicMainBullets>1&&void 0!==s&&((o+=i-(s||0))>n.dynamicMainBullets-1?o=n.dynamicMainBullets-1:o<0&&(o=0)),h=Math.max(i-o,0),v=((m=h+(Math.min(g.length,n.dynamicMainBullets)-1))+h)/2),g.forEach((function(e){var t,r=Fr(["","-next","-next-next","-prev","-prev-prev","-main"].map((function(e){return"".concat(n.bulletActiveClass).concat(e)}))).map((function(e){return"string"===typeof e&&e.includes(" ")?e.split(" "):e})).flat();(t=e.classList).remove.apply(t,Fr(r))})),f.length>1)g.forEach((function(e){var t,a=F_(e);a===i?(t=e.classList).add.apply(t,Fr(n.bulletActiveClass.split(" "))):r.isElement&&e.setAttribute("part","bullet");if(n.dynamicBullets){var s;if(a>=h&&a<=m)(s=e.classList).add.apply(s,Fr("".concat(n.bulletActiveClass,"-main").split(" ")));a===h&&u(e,"prev"),a===m&&u(e,"next")}}));else{var y,b=g[i];if(b)(y=b.classList).add.apply(y,Fr(n.bulletActiveClass.split(" ")));if(r.isElement&&g.forEach((function(e,t){e.setAttribute("part",t===i?"bullet-active":"bullet")})),n.dynamicBullets){for(var x=g[h],_=g[m],w=h;w<=m;w+=1){var S;if(g[w])(S=g[w].classList).add.apply(S,Fr("".concat(n.bulletActiveClass,"-main").split(" ")))}u(x,"prev"),u(_,"next")}}if(n.dynamicBullets){var k=Math.min(g.length,n.dynamicMainBullets+4),E=(t*k-t)/2-v*t,C=e?"right":"left";g.forEach((function(e){e.style[r.isHorizontal()?C:"top"]="".concat(E,"px")}))}}f.forEach((function(e,t){if("fraction"===n.type&&(e.querySelectorAll(zw(n.currentClass)).forEach((function(e){e.textContent=n.formatFractionCurrent(i+1)})),e.querySelectorAll(zw(n.totalClass)).forEach((function(e){e.textContent=n.formatFractionTotal(p)}))),"progressbar"===n.type){var s;s=n.progressbarOpposite?r.isHorizontal()?"vertical":"horizontal":r.isHorizontal()?"horizontal":"vertical";var o=(i+1)/p,l=1,c=1;"horizontal"===s?l=o:c=o,e.querySelectorAll(zw(n.progressbarFillClass)).forEach((function(e){e.style.transform="translate3d(0,0,0) scaleX(".concat(l,") scaleY(").concat(c,")"),e.style.transitionDuration="".concat(r.params.speed,"ms")}))}"custom"===n.type&&n.renderCustom?(e.innerHTML=n.renderCustom(r,i+1,p),0===t&&a("paginationRender",e)):(0===t&&a("paginationRender",e),a("paginationUpdate",e)),r.params.watchOverflow&&r.enabled&&e.classList[r.isLocked?"add":"remove"](n.lockClass)}))}}function p(){var e=r.params.pagination;if(!c()){var t=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:r.slides.length,n=r.pagination.el;n=l(n);var i="";if("bullets"===e.type){var s=r.params.loop?Math.ceil(t/r.params.slidesPerGroup):r.snapGrid.length;r.params.freeMode&&r.params.freeMode.enabled&&s>t&&(s=t);for(var o=0;o<s;o+=1)e.renderBullet?i+=e.renderBullet.call(r,o,e.bulletClass):i+="<".concat(e.bulletElement," ").concat(r.isElement?'part="bullet"':"",' class="').concat(e.bulletClass,'"></').concat(e.bulletElement,">")}"fraction"===e.type&&(i=e.renderFraction?e.renderFraction.call(r,e.currentClass,e.totalClass):'<span class="'.concat(e.currentClass,'"></span>')+" / "+'<span class="'.concat(e.totalClass,'"></span>')),"progressbar"===e.type&&(i=e.renderProgressbar?e.renderProgressbar.call(r,e.progressbarFillClass):'<span class="'.concat(e.progressbarFillClass,'"></span>')),r.pagination.bullets=[],n.forEach((function(t){var n;("custom"!==e.type&&(t.innerHTML=i||""),"bullets"===e.type)&&(n=r.pagination.bullets).push.apply(n,Fr(t.querySelectorAll(zw(e.bulletClass))))})),"custom"!==e.type&&a("paginationRender",n[0])}}function h(){r.params.pagination=Rw(r,r.originalParams.pagination,r.params.pagination,{el:"swiper-pagination"});var e,t=r.params.pagination;t.el&&("string"===typeof t.el&&r.isElement&&(e=r.el.querySelector(t.el)),e||"string"!==typeof t.el||(e=Fr(document.querySelectorAll(t.el))),e||(e=t.el),e&&0!==e.length&&(r.params.uniqueNavElements&&"string"===typeof t.el&&Array.isArray(e)&&e.length>1&&(e=Fr(r.el.querySelectorAll(t.el))).length>1&&(e=e.filter((function(e){return L_(e,".swiper")[0]===r.el}))[0]),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(r.pagination,{el:e}),(e=l(e)).forEach((function(e){var n;"bullets"===t.type&&t.clickable&&(n=e.classList).add.apply(n,Fr((t.clickableClass||"").split(" ")));e.classList.add(t.modifierClass+t.type),e.classList.add(r.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add("".concat(t.modifierClass).concat(t.type,"-dynamic")),o=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",f),r.enabled||e.classList.add(t.lockClass)}))))}function m(){var e=r.params.pagination;if(!c()){var t=r.pagination.el;t&&(t=l(t)).forEach((function(t){var n;(t.classList.remove(e.hiddenClass),t.classList.remove(e.modifierClass+e.type),t.classList.remove(r.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable)&&((n=t.classList).remove.apply(n,Fr((e.clickableClass||"").split(" "))),t.removeEventListener("click",f))})),r.pagination.bullets&&r.pagination.bullets.forEach((function(t){var r;return(r=t.classList).remove.apply(r,Fr(e.bulletActiveClass.split(" ")))}))}}i("changeDirection",(function(){if(r.pagination&&r.pagination.el){var e=r.params.pagination,t=r.pagination.el;(t=l(t)).forEach((function(t){t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(r.isHorizontal()?e.horizontalClass:e.verticalClass)}))}})),i("init",(function(){!1===r.params.pagination.enabled?v():(h(),p(),d())})),i("activeIndexChange",(function(){"undefined"===typeof r.snapIndex&&d()})),i("snapIndexChange",(function(){d()})),i("snapGridLengthChange",(function(){p(),d()})),i("destroy",(function(){m()})),i("enable disable",(function(){var e=r.pagination.el;e&&(e=l(e)).forEach((function(e){return e.classList[r.enabled?"remove":"add"](r.params.pagination.lockClass)}))})),i("lock unlock",(function(){d()})),i("click",(function(e,t){var n=t.target,i=l(r.pagination.el);if(r.params.pagination.el&&r.params.pagination.hideOnClick&&i&&i.length>0&&!n.classList.contains(r.params.pagination.bulletClass)){if(r.navigation&&(r.navigation.nextEl&&n===r.navigation.nextEl||r.navigation.prevEl&&n===r.navigation.prevEl))return;var s=i[0].classList.contains(r.params.pagination.hiddenClass);a(!0===s?"paginationShow":"paginationHide"),i.forEach((function(e){return e.classList.toggle(r.params.pagination.hiddenClass)}))}}));var v=function(){r.el.classList.add(r.params.pagination.paginationDisabledClass);var e=r.pagination.el;e&&(e=l(e)).forEach((function(e){return e.classList.add(r.params.pagination.paginationDisabledClass)})),m()};Object.assign(r.pagination,{enable:function(){r.el.classList.remove(r.params.pagination.paginationDisabledClass);var e=r.pagination.el;e&&(e=l(e)).forEach((function(e){return e.classList.remove(r.params.pagination.paginationDisabledClass)})),h(),p(),d()},disable:v,render:p,update:d,init:h,destroy:m})}function Hw(e){var t,r,n=e.swiper,i=e.extendParams,a=e.on,s=e.emit,o=e.params;n.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});var l,c,u,f,d,p,h,m=o&&o.autoplay?o.autoplay.delay:3e3,v=o&&o.autoplay?o.autoplay.delay:3e3,g=(new Date).getTime;function y(e){n&&!n.destroyed&&n.wrapperEl&&e.target===n.wrapperEl&&(n.wrapperEl.removeEventListener("transitionend",y),k())}var b=function e(){if(!n.destroyed&&n.autoplay.running){n.autoplay.paused?c=!0:c&&(v=l,c=!1);var t=n.autoplay.paused?l:g+v-(new Date).getTime();n.autoplay.timeLeft=t,s("autoplayTimeLeft",t,t/m),r=requestAnimationFrame((function(){e()}))}},x=function e(i){if(!n.destroyed&&n.autoplay.running){cancelAnimationFrame(r),b();var a="undefined"===typeof i?n.params.autoplay.delay:i;m=n.params.autoplay.delay,v=n.params.autoplay.delay;var o=function(){var e;if(e=n.virtual&&n.params.virtual.enabled?n.slides.filter((function(e){return e.classList.contains("swiper-slide-active")}))[0]:n.slides[n.activeIndex])return parseInt(e.getAttribute("data-swiper-autoplay"),10)}();!Number.isNaN(o)&&o>0&&"undefined"===typeof i&&(a=o,m=o,v=o),l=a;var c=n.params.speed,u=function(){n&&!n.destroyed&&(n.params.autoplay.reverseDirection?!n.isBeginning||n.params.loop||n.params.rewind?(n.slidePrev(c,!0,!0),s("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(n.slides.length-1,c,!0,!0),s("autoplay")):!n.isEnd||n.params.loop||n.params.rewind?(n.slideNext(c,!0,!0),s("autoplay")):n.params.autoplay.stopOnLastSlide||(n.slideTo(0,c,!0,!0),s("autoplay")),n.params.cssMode&&(g=(new Date).getTime(),requestAnimationFrame((function(){e()}))))};return a>0?(clearTimeout(t),t=setTimeout((function(){u()}),a)):requestAnimationFrame((function(){u()})),a}},_=function(){n.autoplay.running=!0,x(),s("autoplayStart")},w=function(){n.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(r),s("autoplayStop")},S=function(e,r){if(!n.destroyed&&n.autoplay.running){clearTimeout(t),e||(h=!0);var i=function(){s("autoplayPause"),n.params.autoplay.waitForTransition?n.wrapperEl.addEventListener("transitionend",y):k()};if(n.autoplay.paused=!0,r)return p&&(l=n.params.autoplay.delay),p=!1,void i();var a=l||n.params.autoplay.delay;l=a-((new Date).getTime()-g),n.isEnd&&l<0&&!n.params.loop||(l<0&&(l=0),i())}},k=function(){n.isEnd&&l<0&&!n.params.loop||n.destroyed||!n.autoplay.running||(g=(new Date).getTime(),h?(h=!1,x(l)):x(),n.autoplay.paused=!1,s("autoplayResume"))},E=function(){if(!n.destroyed&&n.autoplay.running){var e=b_();"hidden"===e.visibilityState&&(h=!0,S(!0)),"visible"===e.visibilityState&&k()}},C=function(e){"mouse"===e.pointerType&&(h=!0,n.animating||n.autoplay.paused||S(!0))},P=function(e){"mouse"===e.pointerType&&n.autoplay.paused&&k()};a("init",(function(){n.params.autoplay.enabled&&(n.params.autoplay.pauseOnMouseEnter&&(n.el.addEventListener("pointerenter",C),n.el.addEventListener("pointerleave",P)),b_().addEventListener("visibilitychange",E),g=(new Date).getTime(),_())})),a("destroy",(function(){n.el.removeEventListener("pointerenter",C),n.el.removeEventListener("pointerleave",P),b_().removeEventListener("visibilitychange",E),n.autoplay.running&&w()})),a("beforeTransitionStart",(function(e,t,r){!n.destroyed&&n.autoplay.running&&(r||!n.params.autoplay.disableOnInteraction?S(!0,!0):w())})),a("sliderFirstMove",(function(){!n.destroyed&&n.autoplay.running&&(n.params.autoplay.disableOnInteraction?w():(u=!0,f=!1,h=!1,d=setTimeout((function(){h=!0,f=!0,S(!0)}),200)))})),a("touchEnd",(function(){if(!n.destroyed&&n.autoplay.running&&u){if(clearTimeout(d),clearTimeout(t),n.params.autoplay.disableOnInteraction)return f=!1,void(u=!1);f&&n.params.cssMode&&k(),f=!1,u=!1}})),a("slideChange",(function(){!n.destroyed&&n.autoplay.running&&(p=!0)})),Object.assign(n.autoplay,{start:_,stop:w,pause:S,resume:k})}function Gw(e,t){var r=O_(t);return r!==t&&(r.style.backfaceVisibility="hidden",r.style["-webkit-backface-visibility"]="hidden"),r}function qw(e){var t=e.swiper,r=e.duration,n=e.transformElements,i=e.allSlides,a=t.activeIndex;if(t.params.virtualTranslate&&0!==r){var s=!1;(i?n:n.filter((function(e){var r=e.classList.contains("swiper-slide-transform")?function(e){return e.parentElement?e.parentElement:t.slides.filter((function(t){return t.shadowRoot&&t.shadowRoot===e.parentNode}))[0]}(e):e;return t.getSlideIndex(r)===a}))).forEach((function(e){!function(e,t){t&&e.addEventListener("transitionend",(function r(n){n.target===e&&(t.call(e,n),e.removeEventListener("transitionend",r))}))}(e,(function(){if(!s&&t&&!t.destroyed){s=!0,t.animating=!1;var e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}}))}))}}function Ww(e){var t=e.swiper,r=e.extendParams,n=e.on;r({fadeEffect:{crossFade:!1}});!function(e){var t,r=e.effect,n=e.swiper,i=e.on,a=e.setTranslate,s=e.setTransition,o=e.overwriteParams,l=e.perspective,c=e.recreateShadows,u=e.getEffectParams;i("beforeInit",(function(){if(n.params.effect===r){n.classNames.push("".concat(n.params.containerModifierClass).concat(r)),l&&l()&&n.classNames.push("".concat(n.params.containerModifierClass,"3d"));var e=o?o():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)}})),i("setTranslate",(function(){n.params.effect===r&&a()})),i("setTransition",(function(e,t){n.params.effect===r&&s(t)})),i("transitionEnd",(function(){if(n.params.effect===r&&c){if(!u||!u().slideShadows)return;n.slides.forEach((function(e){e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((function(e){return e.remove()}))})),c()}})),i("virtualUpdate",(function(){n.params.effect===r&&(n.slides.length||(t=!0),requestAnimationFrame((function(){t&&n.slides&&n.slides.length&&(a(),t=!1)})))}))}({effect:"fade",swiper:t,on:n,setTranslate:function(){for(var e=t.slides,r=(t.params.fadeEffect,0);r<e.length;r+=1){var n=t.slides[r],i=-n.swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);var a=0;t.isHorizontal()||(a=i,i=0);var s=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(n.progress),0):1+Math.min(Math.max(n.progress,-1),0),o=Gw(0,n);o.style.opacity=s,o.style.transform="translate3d(".concat(i,"px, ").concat(a,"px, 0px)")}},setTransition:function(e){var r=t.slides.map((function(e){return O_(e)}));r.forEach((function(t){t.style.transitionDuration="".concat(e,"ms")})),qw({swiper:t,duration:e,transformElements:r,allSlides:!0})},overwriteParams:function(){return{slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode}}})}Lw.displayName="SwiperSlide";var Uw,$w,Xw=function(e){var t=e.prev,r=void 0!==t&&t,n=(r?"backwards":"")+" "+(r?"swiper-button-prev":"swiper-button-next");return(0,Sl.jsx)("button",{className:"button next ".concat(n)})},Yw=function(){var e=Bo().slug,r=Ns(),n=ks(Ui);t.useEffect((function(){r(Ri())}),[r,e]);var i=n.filter((function(t){return t.slug!==e})),a=[Bw,Vw];return!!i.length&&(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsxs)("div",{className:"news-slider-section",children:[(0,Sl.jsx)("h2",{children:"You may be interested"}),(0,Sl.jsxs)("div",{className:"news-slider",children:[(0,Sl.jsxs)("div",{className:"news-slider__navigation",children:[(0,Sl.jsx)(Xw,{prev:!0}),(0,Sl.jsx)(Xw,{})]}),(0,Sl.jsx)(Fw,{pagination:!0,modules:a,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{320:{slidesPerView:1},768:{slidesPerView:2},1024:{slidesPerView:3}},spaceBetween:8,children:i.map((function(e){return(0,Sl.jsx)(Lw,{children:(0,Sl.jsx)(l_,{data:e})},e.title)}))})]})]})})},Zw=function(){var e=Bo().slug,r=Ns(),n=ks(qi),i=ks(Wi),a=ks(qa),s=Lo(),o=Qa("article-content");t.useEffect((function(){es(r(Ni({slug:e})),s)}),[r,e]);var l=n.up_text,c=void 0===l?"":l,u=n.down_text,f=void 0===u?"":u,d=n.section_text,p=void 0===d?[]:d,h=n.title,m=n.title_background,v=n.type,g=n.crated_at,y=n.time_to_read,b=n.fs_button,x=p.map((function(e){return"<div class='box'><img src='".concat(e.image,"' alt='article-image' /><div>").concat(e.text,"</div></div>")})).join(""),_="".concat(c||"").concat(x).concat(f||""),w=a[v];return i?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)(Sl.Fragment,{children:[(0,Sl.jsxs)(jl,{image:m,buttonText:b,onClickButton:o,children:[(0,Sl.jsx)(Xx,{children:w}),(0,Sl.jsx)("h2",{children:h}),(0,Sl.jsxs)("div",{children:[(0,Sl.jsx)(o_,{iconName:"calendar",text:g}),(0,Sl.jsx)(o_,{iconName:"clock",text:y})]})]}),(0,Sl.jsx)("article",{className:"article-content",dangerouslySetInnerHTML:{__html:_}}),(0,Sl.jsx)(Yw,{})]})},Jw=function(e){var r=e.label,n=e.children,i=e.setFile,a=Sr((0,t.useState)(""),2),s=a[0],o=a[1],l=s?"file-attached":"";return(0,Sl.jsxs)("div",{className:"form-control-container",children:[(0,Sl.jsx)("span",{className:"form-control__label",children:r}),(0,Sl.jsx)("div",{className:"attach-file-wrapper",children:(0,Sl.jsxs)("label",{className:"button attach-file ".concat(l),children:[s||n,(0,Sl.jsx)("input",{type:"file",onChange:function(e){var t,r=e.target;o((null===r||void 0===r||null===(t=r.files[0])||void 0===t?void 0:t.name)||n),i(null===r||void 0===r?void 0:r.files[0])}})]})})]})},Kw=function(){var e=Io().pathname,r=Sr((0,t.useState)(""),2),n=r[0],i=r[1],a=Sr((0,t.useState)(!1),2),s=a[0],o=a[1],l=Sr((0,t.useState)(!1),2),c=l[0],u=l[1],f=Sr((0,t.useState)(""),2),d=f[0],p=f[1],h=Sr((0,t.useState)(null),2),m=h[0],v=h[1],g=Sr((0,t.useState)({name:"",email:"",phone:"",last_name:""}),2),y=g[0],b=g[1],x=ks(Ha),_=x.cta_field_email_placeholder,w=x.cta_field_email_title,S=x.cta_field_message_placeholder,k=x.cta_field_message_title,E=x.cta_field_name_placeholder,C=x.cta_field_name_title,P=x.cta_field_phone_placeholder,T=x.cta_field_phone_title,M=x.cta_field_file_title,j=x.cta_field_file_placeholder,A=x.cta_policy_careers_text,O=[{name:"name",required:!0,label:C,placeholder:E},{name:"last_name",required:!0,label:x.cta_field_last_name_title,placeholder:x.cta_field_last_name_placeholder},{name:"email",required:!0,label:w,placeholder:_},{name:"phone",label:T,placeholder:P}],D=!c||""===y.name||""===y.last_name||""===y.email||s;return"success"===n?(0,Sl.jsx)(jb,{}):(0,Sl.jsxs)("div",{className:"form-container",children:[(0,Sl.jsxs)("div",{className:"form-body",children:[O.map((function(e){var t=e.placeholder,r=e.label,n=e.name,i=e.required;return(0,Sl.jsx)(Cb,{type:n,value:y[n],onChange:function(e){return b(ce(ce({},y),{},oe({},n,e)))},label:r,placeholder:t,required:i,className:"form-item-half"},n)})),(0,Sl.jsx)(Pb,{value:d,onChange:function(e){return p(e)},label:k,placeholder:S}),(0,Sl.jsx)(Jw,{setFile:v,label:M,children:j})]}),(0,Sl.jsxs)("div",{className:"form-footer",children:[(0,Sl.jsx)(Tb,{onChange:function(){return u(!c)},checked:c,children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:A}})}),(0,Sl.jsx)(Mb,{onClick:function(){D||(o(!0),un.postForm("".concat(hn+fn.cr),ce(ce({},y),{},{message:d,from_page:e,file:m})).then((function(e){i(e.data.status),o(!1)})).catch((function(e){console.log(e),o(!1)})))},disabled:D})]})]})},Qw=function(){var e=ks(Ha).cta_description;return(0,Sl.jsx)(Sb,{children:(0,Sl.jsx)("div",{className:"career-form",children:(0,Sl.jsx)("p",{className:"description-medium",dangerouslySetInnerHTML:{__html:e}})})})},eS=function(){return(0,Sl.jsx)(wb,{sidebar:(0,Sl.jsx)(Qw,{}),className:"career-form-section",children:(0,Sl.jsx)(Kw,{})})},tS=["title","titleId"];function rS(){return rS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rS.apply(this,arguments)}function nS(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function iS(e,r){var n=e.title,i=e.titleId,a=nS(e,tS);return t.createElement("svg",rS({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,Uw||(Uw=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 6.9375C8.79289 6.9375 8.625 7.10539 8.625 7.3125C8.625 7.51961 8.79289 7.6875 9 7.6875C9.20711 7.6875 9.375 7.51961 9.375 7.3125C9.375 7.10539 9.20711 6.9375 9 6.9375ZM7.125 7.3125C7.125 6.27697 7.96447 5.4375 9 5.4375C10.0355 5.4375 10.875 6.27697 10.875 7.3125C10.875 8.34803 10.0355 9.1875 9 9.1875C7.96447 9.1875 7.125 8.34803 7.125 7.3125Z"})),$w||($w=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 2.4375C7.62099 2.4375 6.30538 2.95957 5.34089 3.87813C4.37765 4.79551 3.84375 6.0317 3.84375 7.3125C3.84375 9.5607 5.16578 11.6336 6.60074 13.2052C7.30744 13.9792 8.01637 14.604 8.54905 15.0352C8.72019 15.1738 8.87253 15.2919 9 15.388C9.12747 15.2919 9.27981 15.1738 9.45095 15.0352C9.98363 14.604 10.6926 13.9792 11.3993 13.2052C12.8342 11.6336 14.1562 9.5607 14.1562 7.3125C14.1562 6.0317 13.6224 4.79551 12.6591 3.87813C11.6946 2.95957 10.379 2.4375 9 2.4375ZM9 16.3125C8.58397 16.9365 8.58377 16.9364 8.58355 16.9363L8.58298 16.9359L8.58144 16.9348L8.57677 16.9317L8.56112 16.9211C8.54793 16.9121 8.52928 16.8993 8.50554 16.8828C8.45808 16.8498 8.3902 16.8019 8.30484 16.7398C8.13419 16.6156 7.89319 16.4342 7.60525 16.2011C7.03051 15.7358 6.26287 15.0598 5.49301 14.2166C3.97485 12.5539 2.34375 10.1268 2.34375 7.3125C2.34375 5.60961 3.05438 3.98433 4.30641 2.79192C5.55719 1.6007 7.24614 0.9375 9 0.9375C10.7539 0.9375 12.4428 1.6007 13.6936 2.79192C14.9456 3.98433 15.6562 5.60961 15.6562 7.3125C15.6562 10.1268 14.0252 12.5539 12.507 14.2166C11.7371 15.0598 10.9695 15.7358 10.3948 16.2011C10.1068 16.4342 9.86581 16.6156 9.69516 16.7398C9.6098 16.8019 9.54192 16.8498 9.49446 16.8828C9.47072 16.8993 9.45207 16.9121 9.43888 16.9211L9.42323 16.9317L9.41856 16.9348L9.41702 16.9359L9.41645 16.9363C9.41623 16.9364 9.41603 16.9365 9 16.3125ZM9 16.3125L9.41603 16.9365L9 17.2139L8.58397 16.9365L9 16.3125Z"})))}var aS,sS,oS,lS,cS,uS,fS,dS=t.forwardRef(iS),pS=(__webpack_require__.p,["title","titleId"]);function hS(){return hS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hS.apply(this,arguments)}function mS(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function vS(e,r){var n=e.title,i=e.titleId,a=mS(e,pS);return t.createElement("svg",hS({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,aS||(aS=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.93608 0.939394C9.17333 0.927825 9.40928 0.980859 9.61876 1.09284C9.82824 1.20482 10.0034 1.37155 10.1256 1.57526C10.2478 1.77897 10.3124 2.01201 10.3125 2.24955V2.25V15.1875H8.8125V2.60067L3.5625 6.10045V15.1875H2.0625V6.00172M8.93608 0.939394C8.69892 0.950958 8.46934 1.02664 8.27181 1.15837ZM9.10406 2.40631C9.10398 2.40636 9.1039 2.40642 9.10382 2.40647Z"})),sS||(sS=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.4375 6.9375H9.5625V5.4375H14.625C14.9731 5.4375 15.3069 5.57578 15.5531 5.82192C15.7992 6.06806 15.9375 6.4019 15.9375 6.75V15.1875H14.4375V6.9375Z"})),oS||(oS=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.875 15.9375H1.125V14.4375H16.875V15.9375Z"})),lS||(lS=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5625 9V7.875H8.0625V9H6.5625Z"})),cS||(cS=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.3125 9V7.875H5.8125V9H4.3125Z"})),uS||(uS=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.3125 12.9375V11.8125H5.8125V12.9375H4.3125Z"})),fS||(fS=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5625 12.9375V11.8125H8.0625V12.9375H6.5625Z"})))}var gS,yS,bS=t.forwardRef(vS),xS=(__webpack_require__.p,["title","titleId"]);function _S(){return _S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_S.apply(this,arguments)}function wS(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function SS(e,r){var n=e.title,i=e.titleId,a=wS(e,xS);return t.createElement("svg",_S({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"currentColor",ref:r,"aria-labelledby":i},a),n?t.createElement("title",{id:i},n):null,gS||(gS=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.7155 3.45704C7.50071 3.64211 7.23331 3.84465 6.91804 3.97516L6.91794 3.9752C6.60554 4.10447 6.27442 4.14598 5.99737 4.16395C5.81653 4.17567 5.60999 4.17889 5.42788 4.18173C5.34366 4.18304 5.26466 4.18427 5.19584 4.18622C4.64709 4.2018 4.44666 4.27244 4.35955 4.35955C4.27244 4.44666 4.2018 4.64709 4.18622 5.19584C4.18427 5.26466 4.18304 5.34366 4.18173 5.42788C4.17889 5.60999 4.17567 5.81653 4.16395 5.99737C4.14598 6.27442 4.10447 6.60554 3.9752 6.91794L3.97472 6.91909C3.84412 7.23324 3.64159 7.50002 3.45684 7.71426C3.33023 7.86107 3.18183 8.016 3.05159 8.15196C2.99838 8.2075 2.94821 8.25988 2.90379 8.30725C2.73133 8.49116 2.60793 8.63714 2.52692 8.76845C2.44894 8.89485 2.4375 8.96472 2.4375 9C2.4375 9.03528 2.44894 9.10515 2.52692 9.23155C2.60793 9.36286 2.73133 9.50884 2.90379 9.69275C2.94821 9.74012 2.99838 9.79249 3.05158 9.84803C3.18182 9.984 3.33023 10.1389 3.45684 10.2857C3.64159 10.5 3.84412 10.7668 3.97472 11.0809L3.97529 11.0823C4.10447 11.3947 4.14598 11.7258 4.16395 12.0029C4.17567 12.1838 4.17889 12.3903 4.18173 12.5724C4.18304 12.6566 4.18427 12.7356 4.18622 12.8044C4.20179 13.353 4.27241 13.5533 4.35955 13.6405C4.44666 13.7276 4.64709 13.7982 5.19584 13.8138C5.26465 13.8157 5.34365 13.817 5.42787 13.8183C5.60998 13.8211 5.81652 13.8243 5.99737 13.8361C6.27442 13.854 6.60554 13.8955 6.91794 14.0248L6.91909 14.0253C7.23324 14.1559 7.50002 14.3584 7.71426 14.5432C7.86108 14.6698 8.01601 14.8182 8.15197 14.9484C8.20751 15.0016 8.25988 15.0518 8.30725 15.0962C8.49116 15.2687 8.63714 15.3921 8.76845 15.4731C8.89485 15.5511 8.96472 15.5625 9 15.5625C9.03528 15.5625 9.10515 15.5511 9.23155 15.4731C9.36286 15.3921 9.50884 15.2687 9.69275 15.0962C9.74012 15.0518 9.79249 15.0016 9.84803 14.9484C9.98399 14.8182 10.1389 14.6698 10.2857 14.5432C10.5 14.3584 10.7668 14.1559 11.0809 14.0253L11.0823 14.0247C11.3947 13.8955 11.7258 13.854 12.0029 13.8361C12.1838 13.8243 12.3903 13.8211 12.5724 13.8183C12.6566 13.817 12.7356 13.8157 12.8044 13.8138C13.353 13.7982 13.5533 13.7276 13.6405 13.6405C13.7276 13.5533 13.7982 13.353 13.8138 12.8044C13.8157 12.7356 13.817 12.6566 13.8183 12.5724C13.8211 12.3903 13.8243 12.1838 13.8361 12.0029C13.854 11.7258 13.8955 11.3947 14.0247 11.0823L14.0253 11.0809C14.1559 10.7668 14.3584 10.5 14.5432 10.2857C14.6698 10.1389 14.8182 9.98399 14.9484 9.84803C15.0016 9.79249 15.0518 9.74012 15.0962 9.69275C15.2687 9.50884 15.3921 9.36286 15.4731 9.23155C15.5511 9.10515 15.5625 9.03528 15.5625 9C15.5625 8.96485 15.5511 8.89531 15.4733 8.76934C15.3924 8.63835 15.2691 8.49273 15.0965 8.30888C15.0526 8.26207 15.003 8.21042 14.9506 8.15567C14.8198 8.01924 14.6705 7.86354 14.543 7.7155C14.3579 7.50071 14.1554 7.23331 14.0248 6.91804L14.0247 6.91772C13.8955 6.60527 13.854 6.27418 13.8361 5.99707C13.8243 5.81621 13.8211 5.60968 13.8183 5.42759C13.817 5.34337 13.8157 5.26438 13.8138 5.19558C13.7982 4.647 13.7276 4.44669 13.6405 4.35955C13.5533 4.27241 13.353 4.20179 12.8044 4.18622C12.7356 4.18427 12.6566 4.18304 12.5724 4.18173C12.3903 4.17889 12.1838 4.17567 12.0029 4.16395C11.7258 4.14598 11.3947 4.10447 11.0823 3.97529L11.0809 3.97472C10.7668 3.84412 10.5 3.64159 10.2857 3.45684C10.1389 3.33023 9.984 3.18182 9.84803 3.05158C9.79249 2.99838 9.74012 2.94821 9.69275 2.90379C9.50884 2.73133 9.36286 2.60793 9.23155 2.52692C9.10515 2.44894 9.03528 2.4375 9 2.4375C8.96485 2.4375 8.89531 2.44886 8.76934 2.52668C8.63835 2.6076 8.49273 2.7309 8.30888 2.9035C8.26207 2.94744 8.21042 2.99696 8.15566 3.04945C8.01924 3.18024 7.86354 3.32949 7.7155 3.45704ZM7.98099 1.25055C8.25259 1.08276 8.5957 0.9375 9 0.9375C9.40418 0.9375 9.74739 1.08268 10.0191 1.25031C10.2859 1.41491 10.5231 1.62611 10.7188 1.80961C10.7926 1.87884 10.8591 1.94258 10.9217 2.00259C11.0424 2.11839 11.1487 2.22029 11.2653 2.32087C11.4346 2.46683 11.5593 2.54902 11.6561 2.58937C11.7416 2.62459 11.8788 2.65275 12.1 2.66709C12.2466 2.6766 12.3837 2.67857 12.5399 2.68082C12.6334 2.68217 12.7337 2.68361 12.847 2.68683C13.3387 2.70078 14.1414 2.73915 14.7011 3.29889C15.2608 3.85863 15.2992 4.66133 15.3132 5.15301C15.3164 5.26629 15.3178 5.36659 15.3192 5.46006C15.3214 5.61626 15.3234 5.75338 15.3329 5.90003C15.3473 6.12182 15.3756 6.25911 15.4109 6.34462L14.7178 6.63117L15.4108 6.3443C15.4511 6.44177 15.5334 6.56698 15.6793 6.7364C15.7803 6.85355 15.8828 6.96041 15.9995 7.08197C16.0588 7.14382 16.1218 7.20947 16.1901 7.28221C16.3735 7.47753 16.5848 7.71441 16.7494 7.98099C16.9172 8.25259 17.0625 8.5957 17.0625 9C17.0625 9.40418 16.9173 9.74739 16.7497 10.0191C16.5851 10.2859 16.3739 10.5231 16.1904 10.7188C16.1212 10.7926 16.0574 10.8591 15.9974 10.9217C15.8816 11.0424 15.7797 11.1487 15.6791 11.2653C15.5332 11.4345 15.451 11.5592 15.4107 11.656C15.3754 11.7415 15.3473 11.8787 15.3329 12.1C15.3234 12.2466 15.3214 12.3837 15.3192 12.5399C15.3178 12.6334 15.3164 12.7337 15.3132 12.847C15.2992 13.3387 15.2608 14.1414 14.7011 14.7011C14.1414 15.2608 13.3387 15.2992 12.847 15.3132C12.7337 15.3164 12.6334 15.3178 12.5399 15.3192C12.3837 15.3214 12.2466 15.3234 12.1 15.3329C11.8787 15.3473 11.7415 15.3754 11.656 15.4107C11.5592 15.451 11.4345 15.5332 11.2653 15.6791C11.1487 15.7797 11.0424 15.8816 10.9217 15.9974C10.8591 16.0574 10.7926 16.1212 10.7188 16.1904C10.5231 16.3739 10.2859 16.5851 10.0191 16.7497C9.74739 16.9173 9.40418 17.0625 9 17.0625C8.59582 17.0625 8.25261 16.9173 7.98089 16.7497C7.71407 16.5851 7.47689 16.3739 7.28121 16.1904C7.20738 16.1212 7.14091 16.0574 7.07833 15.9974C6.95758 15.8816 6.85132 15.7797 6.73467 15.6791C6.56542 15.5332 6.44065 15.451 6.34393 15.4106C6.25867 15.3755 6.12169 15.3473 5.90032 15.3329C5.75369 15.3234 5.61657 15.3214 5.46035 15.3192C5.36688 15.3178 5.26656 15.3164 5.15328 15.3132C4.66158 15.2992 3.85865 15.2609 3.29889 14.7011C2.73915 14.1414 2.70078 13.3387 2.68683 12.847C2.68361 12.7337 2.68217 12.6334 2.68082 12.5399C2.67857 12.3837 2.6766 12.2466 2.66709 12.1C2.65275 11.8788 2.62459 11.7416 2.58937 11.6561C2.54902 11.5593 2.46683 11.4346 2.32087 11.2653C2.22029 11.1487 2.11839 11.0424 2.00259 10.9217C1.94258 10.8591 1.87884 10.7926 1.80961 10.7188C1.62611 10.5231 1.41491 10.2859 1.25031 10.0191C1.08268 9.74739 0.9375 9.40418 0.9375 9C0.9375 8.59582 1.08268 8.25261 1.25031 7.98089C1.41491 7.71407 1.62611 7.47689 1.80961 7.28121C1.87883 7.20738 1.94258 7.14091 2.00259 7.07833C2.11839 6.95758 2.22029 6.85132 2.32087 6.73467C2.46688 6.56536 2.54908 6.44056 2.58942 6.34382C2.62457 6.25856 2.65274 6.1216 2.66709 5.90032C2.6766 5.75369 2.67857 5.61657 2.68082 5.46034C2.68217 5.36687 2.68361 5.26656 2.68683 5.15328C2.70078 4.66158 2.73913 3.85865 3.29889 3.29889C3.85865 2.73913 4.66158 2.70078 5.15328 2.68683C5.26656 2.68361 5.36687 2.68217 5.46034 2.68082C5.61657 2.67857 5.75369 2.6766 5.90032 2.66709C6.12202 2.65271 6.25908 2.62446 6.3443 2.58922M7.98099 1.25055C7.71441 1.41524 7.47753 1.62654 7.28221 1.8099ZM7.28221 1.8099C7.20947 1.8782 7.14382 1.94119 7.08197 2.00054ZM7.08197 2.00054C6.96041 2.11719 6.85355 2.21973 6.7364 2.32067ZM6.7364 2.32067C6.56704 2.46659 6.44186 2.54881 6.34441 2.58917Z"})),yS||(yS=t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3429 7.84283L7.87506 12.3107L5.65723 10.0928L6.71789 9.03217L7.87506 10.1893L11.2822 6.78217L12.3429 7.84283Z"})))}var kS=t.forwardRef(SS),ES=(__webpack_require__.p,function(e){var t=[{type:"experience",text:e.experience},{type:"locations",text:e.locations},{type:"work_type",text:e.work_type}].filter((function(e){return!!e.text}));return!!t.length&&(0,Sl.jsx)("div",{className:"job-labels",children:t.map((function(e,t){return(0,Sl.jsxs)("div",{className:"job-label body3",children:[(r=e.type,{locations:(0,Sl.jsx)(dS,{}),work_type:(0,Sl.jsx)(bS,{}),experience:(0,Sl.jsx)(kS,{})}[r]),(0,Sl.jsx)("div",{children:e.text})]},t);var r}))})}),CS=function(){var e=Bo().slug,r=Ns(),n=ks(ui),i=ks(fi),a=Lo();t.useEffect((function(){es(r(ai({slug:e})),a)}),[r,e]);var s=n.title,o=n.data,l=n.experience,c=n.locations,u=n.work_type,f=n.title_background,d=n.created_at,p=n.fs_button,h=(0,t.useRef)();return qv({items:[".article-content"],container:h,dependencies:[i]}),i?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:h,children:[(0,Sl.jsxs)(jl,{image:f,buttonText:p,onClickButton:function(){return Qa("form-section",100)},children:[(0,Sl.jsx)("h2",{children:s}),(0,Sl.jsx)(ES,{experience:l,locations:c,work_type:u}),(0,Sl.jsx)(o_,{iconName:"calendar",text:d})]}),(0,Sl.jsx)("article",{className:"article-content",dangerouslySetInnerHTML:{__html:o}}),(0,Sl.jsx)(eS,{})]})},PS=function(e){var t=e.item,r=t.slug,n=t.title,i=t.locations,a=t.experience,s=t.work_type,o=t.created_at,l=t.preview_description;return(0,Sl.jsxs)(dl,{to:"".concat(vl.career,"/").concat(r),className:"job-card",children:[(0,Sl.jsxs)("div",{className:"job-card__title",children:[(0,Sl.jsx)("span",{children:n}),(0,Sl.jsx)(yy,{})]}),(0,Sl.jsx)("div",{className:"job-card__description opacity-70 body1",children:l}),(0,Sl.jsx)(ES,{experience:a,locations:i,work_type:s}),(0,Sl.jsx)(o_,{iconName:"calendar",text:o})]})},TS=function(){var e=Sr((0,t.useState)(1),2),r=e[0],n=e[1],i=Ns(),a=ks(ci),s=a.data,o=a.next;(0,t.useEffect)((function(){i(ii({page:r}))}),[i,r]);return!!s.length&&(0,Sl.jsxs)(Sl.Fragment,{children:[(0,Sl.jsx)("div",{className:"job-cards",children:s.map((function(e){return(0,Sl.jsx)(PS,{item:e},e.title)}))}),(0,Sl.jsx)(Jb,{next:o,onClick:function(){return n(r+1)}})]})},MS=function(e){var r=e.list,n=e.time,i=e.toRight,a=void 0!==i&&i,s=t.useRef(null),o=t.useRef(null),l=Sr(t.useState(0),2),c=l[0],u=l[1],f=Sr(t.useState(r),2),d=f[0],p=f[1],h=Sr(t.useState(n),2),m=h[0],v=h[1];return t.useEffect((function(){var e=Math.floor(s.current.offsetWidth),t=Math.floor(464*r.length),i=Math.max(2,Math.ceil(2*e/t)),a=n*parseFloat((1856/e).toFixed(2));p(function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=[],n=0;n<t;n++)r.push.apply(r,Fr(e));return r}(r,i)),u(1856),v(a)}),[r,n]),(0,Sl.jsx)("div",{className:"marquee-container",ref:s,children:(0,Sl.jsx)("div",{className:"marquee-area",ref:o,style:{transform:"translateX(-".concat(c,"px)"),animationDuration:"".concat(m,"s"),animationDirection:"".concat(a?" reverse":"")},children:d.map((function(e,t){return(0,Sl.jsx)("div",{className:"marquee-item",style:{backgroundImage:'url("'.concat(e,'")')}},t)}))})})},jS=function(e){var t=e.images,r=void 0===t?[]:t,n=e.title,i=r.slice(0,r.length/2),a=r.slice(r.length/2);return r.length&&(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsxs)("div",{className:"marquee-gallery-section",children:[(0,Sl.jsx)("h2",{className:"has-animation",children:n}),(0,Sl.jsxs)("div",{className:"marquee-gallery",children:[(0,Sl.jsx)(MS,{list:i,time:35}),(0,Sl.jsx)(MS,{list:a,toRight:!0,time:50})]})]})})},AS=function(){var e=Ns(),r=ks(li),n=ks(oi),i=n.fs_title,a=n.about_tag,s=n.fs_title_background,o=n.about_title,l=n.about_description,c=n.open_jobs_tag,u=n.open_jobs_title,f=n.git_tag,d=n.git_title,p=n.git_text,h=n.team_gallery,m=n.team_title,v=n.mission_large_background,g=n.mission_text,y=n.mission_cards,b=n.fs_view_button;(0,t.useEffect)((function(){e(ni())}),[e]);var x=(0,t.useRef)();return qv({items:[".job-cards"],container:x,dependencies:[r]}),r?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:x,children:[(0,Sl.jsx)(jl,{image:s,buttonText:b,onClickButton:function(){return Qa("JobCards")},children:(0,Sl.jsx)(Al,{size:"middle",textColor:"white",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:i}})})}),(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsx)("div",{className:"inner-container type-2",children:(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:a}),(0,Sl.jsx)(Al,{className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:o}})}),(0,Sl.jsx)("div",{className:"offset-left-4 max-width-760",children:(0,Sl.jsx)(Al,{size:"super-small",className:"has-animation",children:l})})]})})}),(0,Sl.jsx)(qx,{loading:r,background:v,title:g,data:y}),(0,Sl.jsx)("section",{className:"container JobCards",children:(0,Sl.jsxs)("div",{className:"inner-container type-2",children:[(0,Sl.jsxs)("div",{className:"main-text-container with-absolute-label",children:[(0,Sl.jsx)(Ol,{children:c}),(0,Sl.jsx)("div",{className:"offset-left-4 max-width-760",children:(0,Sl.jsx)(Al,{size:"middle",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:u}})})})]}),(0,Sl.jsx)(TS,{})]})}),(0,Sl.jsx)(jS,{images:h,title:m}),(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsx)("div",{className:"inner-container type-3",children:(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:f}),(0,Sl.jsx)(Al,{size:"middle",className:"has-animation",children:(0,Sl.jsx)("p",{className:"max-width-1024 pb-40 ",dangerouslySetInnerHTML:{__html:d}})}),(0,Sl.jsx)("div",{className:"offset-left-4 max-width-760",children:(0,Sl.jsx)(Al,{size:"super-small",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:p}})})})]})})}),(0,Sl.jsx)(eS,{})]})},OS=function(e){var r=e.pageContentData,n=Sr((0,t.useState)({}),2),i=n[0],a=n[1],s=Sr((0,t.useState)(0),2),o=s[0],l=s[1],c=[],u=[];r.forEach((function(e){Object.entries(e).forEach((function(e){var t=Sr(e,2),r=t[0],n=t[1],i=n.title||n.policy_title;i&&(c.push(function(e,t){switch(e){case"block":return(0,Sl.jsxs)(Bb,{children:[t.title&&(0,Sl.jsx)("h3",{children:t.title}),(0,Sl.jsx)("div",{dangerouslySetInnerHTML:{__html:t.text}})]});case"pdf":var r=t.policy_title,n=t.flyers;return(0,Sl.jsx)($b,{title:r,data:n});default:return null}}(r,n)),u.push(i))}))}));var f=c.length,d=Sr((0,t.useState)([]),2),p=d[0],h=d[1];return(0,t.useEffect)((function(){h((function(e){return Array(f).fill().map((function(r,n){return e[n]||(0,t.createRef)()}))}))}),[f]),(0,t.useEffect)((function(){l(Wb(i))}),[i]),(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsx)(_b,{containerType:"type-1",Sidebar:(0,Sl.jsx)(Vb,{activeIndex:o,refs:p,items:u}),children:c.map((function(e,t){return(0,Sl.jsx)("div",{ref:p[t],children:(0,Sl.jsx)(qb,{index:t,setData:a,children:e})},t)}))})})},DS=function(e){var t=e.title,r=e.background,n=e.buttonText,i=e.pageContentData,a=e.pageRef;return(0,Sl.jsxs)("div",{ref:a,children:[(0,Sl.jsx)(jl,{title:t,image:r,buttonText:n,onClickButton:function(){return Qa("with-sidebar-layout",100)}}),(0,Sl.jsx)(OS,{pageContentData:i})]})},NS=function(){var e=Ns(),r=ks(Ea),n=ks(Sa),i=n.fs_title,a=n.fs_background,s=n.fs_description,o=n.blocks,l=void 0===o?[]:o,c=n.policy_title,u=n.flyers;t.useEffect((function(){e(xa())}),[e]);var f=l.map((function(e){return{block:e}})),d=[{pdf:{policy_title:c,flyers:u}}].concat(Fr(f)),p=(0,t.useRef)();return qv({items:[".with-sidebar-layout__left",".box"],container:p,dependencies:[r]}),r?(0,Sl.jsx)(Lg,{}):(0,Sl.jsx)(DS,{pageRef:p,title:i,background:a,buttonText:s,pageContentData:d})},IS=function(){var e=Ns(),r=ks(ka),n=ks(wa),i=n.fs_title,a=n.fs_background,s=n.fs_button,o=n.blocks,l=(void 0===o?[]:o).map((function(e){return{block:e}}));t.useEffect((function(){e(ba())}),[e]);var c=(0,t.useRef)();return qv({items:[".with-sidebar-layout__left",".box"],container:c,dependencies:[r]}),r?(0,Sl.jsx)(Lg,{}):(0,Sl.jsx)(DS,{pageRef:c,title:i,background:a,buttonText:s,pageContentData:l})},FS=__webpack_require__.p+"static/media/office.e823084fc37a2da3babe.jpg",LS=function(e){var t=e.data,r=t||{},n=r.sales_photo,i=r.sales_name,a=r.sales_description,s=r.sales_phone,o=r.sales_email;return t&&(0,Sl.jsxs)("div",{className:"distribution-contacts__contacts-wrapper__distributor",children:[n&&(0,Sl.jsx)("img",{src:n,alt:""}),i&&(0,Sl.jsx)("p",{className:"description-demibold",children:i}),a&&(0,Sl.jsx)("p",{className:"body1",children:a}),s&&(0,Sl.jsx)("a",{className:"distribution-contacts__contact button-text distributor-phone",href:"tel:".concat(s),children:s}),o&&(0,Sl.jsx)("a",{className:"distribution-contacts__contact button-text distributor-email",href:"mailto:".concat(o),children:o})]})},RS=function(e){var t=e.image;return(0,Sl.jsx)("img",{src:t||FS,alt:"map"})},BS=function(){var e=ks(Ma),r=e.countries,n=void 0===r?[]:r,i=e.country_description,a=e.country_select_text,s=e.region_select_text,o=Sr((0,t.useState)(void 0),2),l=o[0],c=o[1],u=Sr((0,t.useState)(void 0),2),f=u[0],d=u[1];(0,t.useEffect)((function(){c(n[0])}),[n]),(0,t.useEffect)((function(){d(null===l||void 0===l?void 0:l.regions[0])}),[l]);var p=dy("max-width: 1023px");return(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsxs)("div",{className:"distribution-contacts",children:[(0,Sl.jsxs)("div",{className:"distribution-contacts__contacts-wrapper",children:[(0,Sl.jsxs)("div",{className:"distribution-contacts__contacts-wrapper__contacts",children:[(0,Sl.jsx)("p",{className:"description-medium",children:i}),(0,Sl.jsxs)("div",{className:"dropdowns",children:[(0,Sl.jsx)(By,{label:a,options:n,selectedValue:l,onChange:function(e){return c(e)}}),!(null===l||void 0===l||!l.regions.length)&&(0,Sl.jsx)(By,{label:s,options:l.regions,selectedValue:f,onChange:function(e){return d(e)}})]})]}),!p&&(0,Sl.jsx)(LS,{data:f||l})]}),(0,Sl.jsx)(RS,{image:(null===f||void 0===f?void 0:f.image)||(null===l||void 0===l?void 0:l.image)}),p&&(0,Sl.jsx)(LS,{data:f||l})]})})},zS=function(e){var t=e.data,r=void 0===t?[]:t;return(0,Sl.jsx)("div",{className:"contacts-cards",children:r.map((function(e){var t=e.icon,r=e.title,n=e.text;return(0,Sl.jsxs)("div",{className:"contact-card",children:[(0,Sl.jsxs)("div",{className:"body3 contact-card__title",children:[(0,Sl.jsx)("img",{src:t,alt:"icon"}),r]}),(0,Sl.jsx)("div",{className:"description-demibold",children:n})]},r)}))})},VS=function(){var e=Ns(),r=Io(),n=ks(Ma),i=n.fs_title,a=n.fs_background,s=n.fs_button,o=n.international_tag,l=n.international_title,c=n.international_text,u=n.contacts,f=n.contact_tag,d=n.contact_title,p=ks(ja);t.useEffect((function(){e(Pa())}),[e]),t.useEffect((function(){"#find"===r.hash&&Qa("distribution-contacts",100)}),[r.hash]);var h=(0,t.useRef)();return qv({items:[".distribution-contacts",".contacts-cards"],container:h,dependencies:[p]}),p?(0,Sl.jsx)(Lg,{}):(0,Sl.jsxs)("div",{ref:h,children:[(0,Sl.jsx)(jl,{title:i,image:a,buttonText:s,onClickButton:function(){return Qa("form-section")}}),(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsx)("div",{className:"inner-container type-2",children:(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:o}),(0,Sl.jsx)(Al,{className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:l}})}),(0,Sl.jsx)("div",{className:"offset-left-4 max-width-760",children:(0,Sl.jsx)(Al,{size:"super-small",className:"has-animation",children:c})})]})})}),(0,Sl.jsx)(BS,{}),(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsxs)("div",{className:"inner-container type-3",children:[(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:f}),(0,Sl.jsx)("div",{className:"offset-left-4 max-width-760",children:(0,Sl.jsx)(Al,{size:"middle",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:d}})})})]}),(0,Sl.jsx)(zS,{data:u})]})}),(0,Sl.jsx)(Ib,{})]})},HS=__webpack_require__.p+"static/media/404-banner.77519085fc0e5d40bf62.jpg",GS=function(){var e=ks(Ha);return(0,Sl.jsx)("section",{className:"container page-404",children:(0,Sl.jsxs)(jl,{image:HS,buttonText:e["404_btn"],buttonType:"banner",withCrumbs:!1,children:[(0,Sl.jsx)("h2",{children:e["404_title"]}),(0,Sl.jsx)("p",{className:"body1 opacity-80",children:e["404_description"]})]})})},qS=function(e){var t=e.children,r=e.settings,n=void 0===r?{}:r,i=e.className,a=ce({slidesPerView:1,navigation:!1,loop:!0,speed:1e3,autoplay:{delay:5e3},effect:"fade"},n);return(0,Sl.jsx)(Fw,ce(ce({},a),{},{modules:[Hw,Ww,Vw],pagination:{clickable:!0},className:i,children:t}))},WS=function(e){var t=e.card,r=(e.array,t.slug),n=t.title,i=t.title_background,a=t.type,s=t.time_to_read,o=t.crated_at,l=ks(qa)[a];return(0,Sl.jsxs)(Sl.Fragment,{children:[(0,Sl.jsx)("img",{className:"news-wrapper-image",src:i,alt:"img"}),(0,Sl.jsxs)("div",{className:"news-box",children:[(0,Sl.jsxs)("div",{children:[(0,Sl.jsx)(Xx,{children:l}),(0,Sl.jsx)("p",{className:"description-demibold",children:n}),(0,Sl.jsxs)("div",{className:"news-time-data",children:[(0,Sl.jsx)(o_,{iconName:"calendar",text:o}),(0,Sl.jsx)(o_,{iconName:"clock",text:s})]})]}),(0,Sl.jsx)("div",{className:"news-box-bottom",children:(0,Sl.jsx)(Ml,{href:vl.news+"/"+r,type:"learn-more-arrow white-text",children:"LEARN MORE"})})]})]})},US=function(){var e=ks(mi),r=e.first_screen_title,n=e.banner_title,i=e.fs_title_background,a=ks(Vi),s=(0,t.useRef)(null);(0,t.useEffect)((function(){s&&s.current&&s.current.play().catch((function(e){console.error("Error attempting to play",e)}))}),[]);return(0,Sl.jsxs)("section",{className:"container",children:[(0,Sl.jsxs)("div",{className:"hero",children:[(0,Sl.jsx)("video",{playsInline:!0,loop:!0,muted:!0,src:i,ref:s}),(0,Sl.jsx)(Al,{textColor:"white",className:"has-animation",children:(0,Sl.jsx)("h1",{dangerouslySetInnerHTML:{__html:r}})})]}),(0,Sl.jsxs)("div",{className:"information-wrapper",children:[(0,Sl.jsxs)("div",{className:"information-wrapper__offer-section",children:[(0,Sl.jsx)(Al,{size:"super-small",textColor:"white",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:n}})}),(0,Sl.jsx)(Ml,{type:"white-arrow",onClick:function(){return Qa("solutions",100)}})]}),(0,Sl.jsx)("div",{className:"information-wrapper__box-for-border"}),(0,Sl.jsx)("div",{className:"information-wrapper__box-for-border radius16"}),(0,Sl.jsx)("div",{className:"information-wrapper__box-for-border location-left"}),(0,Sl.jsx)("div",{className:"information-wrapper__box-for-border location-left radius16"}),(0,Sl.jsx)("div",{className:"information-wrapper__news-wrapper",children:(0,Sl.jsx)(qS,{className:"slider-head",children:null===a||void 0===a?void 0:a.map((function(e){return(0,Sl.jsx)(Lw,{children:(0,Sl.jsx)(WS,{card:e,array:a})},e.slug)}))})})]})]})},$S=function(){var e=ks(mi),t=e.discover_information_description,r=e.discover_information_title,n=e.discover_nutrition_background,i=e.discover_nutrition_description,a=e.discover_nutrition_title,s=e.discover_trial_description,o=e.discover_trial_image,l=e.discover_trial_title,c=e.discover_title;return(0,Sl.jsx)(Sl.Fragment,{children:(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsxs)("div",{className:"trial-results",children:[(0,Sl.jsx)(Al,{size:"middle",textColor:"white",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:c}})}),(0,Sl.jsxs)("div",{className:"discover",children:[(0,Sl.jsxs)("div",{className:"discover-1 discover-item",children:[(0,Sl.jsx)("img",{src:o,alt:"charts"}),(0,Sl.jsxs)("div",{className:"discover-1-content",children:[(0,Sl.jsx)("div",{className:"discover-title",children:l}),(0,Sl.jsx)("p",{className:"discover-text",children:s}),(0,Sl.jsx)(Ml,{href:vl.trialResults,type:"learn-more-arrow"})]})]}),(0,Sl.jsxs)("div",{className:"discover-2 discover-item",style:{backgroundImage:'url("'.concat(n,'")')},children:[(0,Sl.jsx)("div",{className:"discover-title",children:a}),(0,Sl.jsx)("p",{className:"discover-text",children:i}),(0,Sl.jsx)(Ml,{href:vl.cropNutritionPrograms,type:"learn-more-arrow"})]}),(0,Sl.jsxs)("div",{className:"discover-3 discover-item",children:[(0,Sl.jsx)("div",{className:"discover-title",children:r}),(0,Sl.jsx)("p",{className:"discover-text",children:t}),(0,Sl.jsx)(Ml,{href:vl.informationMaterials,type:"learn-more-arrow"})]})]})]})})})},XS=function(){var e=ks(mi),t=e.news_button,r=e.news_description,n=e.news_tag,i=e.news_title,a=ks(Vi),s=[Vw],o=dy("max-width: 1023px");return(0,Sl.jsxs)("section",{className:"container",children:[(0,Sl.jsx)("div",{className:"inner-container type-3",children:(0,Sl.jsxs)("div",{className:"main-text-container with-absolute-label",children:[(0,Sl.jsx)(Ol,{children:n}),(0,Sl.jsx)("div",{className:"offset-left-4",children:(0,Sl.jsx)(Al,{size:"middle",className:"has-animation",children:(0,Sl.jsx)("h2",{children:i})})})]})}),(0,Sl.jsx)(_b,{containerType:"type-2",Sidebar:(0,Sl.jsxs)("div",{className:"homepage-news-text has-animation",children:[(0,Sl.jsx)(Al,{size:"super-small",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})}),(0,Sl.jsx)(Ml,{href:vl.news,type:"learn-more-arrow",children:t})]}),children:o?(0,Sl.jsx)("div",{className:"news-slider homepage-news-slider has-animation",children:(0,Sl.jsx)(Fw,{pagination:!0,modules:s,breakpoints:{320:{slidesPerView:1},768:{slidesPerView:2}},spaceBetween:8,children:a.map((function(e){return(0,Sl.jsx)(Lw,{children:(0,Sl.jsx)(l_,{data:e})},e.slug)}))})}):(0,Sl.jsx)("div",{className:"latest-cards-container has-animation",children:a.map((function(e){return(0,Sl.jsx)(l_,{data:e},e.slug)}))})})]})},YS=function(e){var t=e.image,r=e.numbers,n=e.description;return(0,Sl.jsxs)("div",{className:"solution-card",children:[(0,Sl.jsx)("img",{src:t,alt:t}),(0,Sl.jsx)("div",{className:"solution-card__title",children:r}),(0,Sl.jsx)("p",{className:"body1",children:n})]})};gp.registerPlugin(Mv);var ZS=function(){var e=ks(mi),r=e.banner_cards,n=void 0===r?[]:r,i=e.banner_title,a=(0,t.useRef)(),s=dy("max-width: 1023px")?[-250,-180,-220,-270]:[-300,-200,-150,-270];return Sp((function(){gp.utils.toArray([".solution-card"]).forEach((function(e,t){gp.to(e,{yPercent:s[t],ease:"none",scrollTrigger:{trigger:".solutions",scrub:1}})}))}),{scope:a}),(0,Sl.jsx)("section",{id:"information-wrapper",className:"container",ref:a,children:(0,Sl.jsxs)("div",{className:"solutions",children:[(0,Sl.jsx)(Al,{size:"super-small",textColor:"white",className:"has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:i}})}),(0,Sl.jsx)("div",{children:n.map((function(e){return(0,Sl.jsx)(YS,{image:e.icon,numbers:e.title,description:e.text},e.title)}))})]})})},JS=function(){var e=ks(mi),t=e.about_button,r=e.about_tag,n=e.about_text,i=e.about_title;return(0,Sl.jsx)("section",{className:"container",children:(0,Sl.jsx)("div",{className:"inner-container type-2",children:(0,Sl.jsxs)("div",{className:"main-text-container",children:[(0,Sl.jsx)(Ol,{children:r}),(0,Sl.jsx)(Al,{className:"has-animation",children:(0,Sl.jsx)("p",{dangerouslySetInnerHTML:{__html:i}})}),(0,Sl.jsxs)("div",{className:"offset-left-4 has-animation",children:[(0,Sl.jsx)(Al,{size:"small",children:(0,Sl.jsx)("p",{dangerouslySetInnerHTML:{__html:n}})}),(0,Sl.jsx)(Ml,{href:vl.aboutUs,type:"learn-more-arrow",className:"business-philosophy-button",children:t})]})]})})})},KS=function(e){var t=e.data,r=e.index,n=t.logo,i=t.preview_title,a=t.preview_image,s=t.slug;return(0,Sl.jsxs)(dl,{to:vl.products+"/"+s,className:"product-link",children:[(0,Sl.jsxs)("div",{className:"product-link__name",children:[i,(0,Sl.jsx)("div",{className:"gradient-number dark",children:(0,Sl.jsx)("span",{children:r+1})})]}),(0,Sl.jsx)("div",{className:"product-link__image",style:{backgroundImage:'url("'.concat(a,'")')},children:(0,Sl.jsx)("div",{className:"product-link__image-logo",children:(0,Sl.jsx)("img",{src:n,alt:"product-logo"})})}),(0,Sl.jsx)("div",{className:"button learn-more-arrow",children:(0,Sl.jsx)("div",{})})]})},QS=function(){var e=ks(mi),t=e.products_tag,r=e.products_title,n=ks(jn);return(0,Sl.jsxs)("section",{className:"container our-products",children:[(0,Sl.jsx)("div",{className:"inner-container type-3",children:(0,Sl.jsxs)("div",{className:"main-text-container with-absolute-label",children:[(0,Sl.jsx)(Ol,{children:t}),(0,Sl.jsx)("div",{className:"offset-left-4",children:(0,Sl.jsx)(Al,{size:"middle has-animation",children:(0,Sl.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})})})]})}),(0,Sl.jsx)(_b,{containerType:"type-2",Sidebar:(0,Sl.jsx)(Sl.Fragment,{}),breakpoint:"lg",children:(0,Sl.jsx)("div",{className:"homepage-product-items",children:n.map((function(e,t){return(0,Sl.jsx)(KS,{index:t,data:e},e.slug)}))})})]})};var ek=__webpack_require__.p+"static/media/heart.7f0d0494172e4d5ca95e16472d329a90.svg";var tk=__webpack_require__.p+"static/media/comment.a0080a94965b4a5f588fc8b43ef373ed.svg";var rk=__webpack_require__.p+"static/media/share.0ba99cc410690f8c77939ff15d8d46ad.svg";var nk=__webpack_require__.p+"static/media/bookmark.1a80f3d05501f22cc15e1f6e562c70dd.svg",ik=function(e){var t=e.image;return(0,Sl.jsxs)("div",{className:"instagram-card",children:[(0,Sl.jsx)("img",{src:t,alt:"instagram card"}),(0,Sl.jsxs)("div",{className:"icons-wrapper",children:[(0,Sl.jsxs)("div",{className:"left-icons-wrapper",children:[(0,Sl.jsx)("img",{src:ek,alt:"heart icon"}),(0,Sl.jsx)("img",{src:tk,alt:"comment icon"}),(0,Sl.jsx)("img",{src:rk,alt:"share icon"})]}),(0,Sl.jsx)("img",{src:nk,alt:"bookmark icon"})]})]})};var ak=__webpack_require__.p+"static/media/blackInstagram.3253bd5a30f342eac2856fea4729bfd4.svg";gp.registerPlugin(Mv);var sk=function(){var e=ks(mi),r=e.instagram_photo_1,n=e.instagram_photo_2,i=e.instagram_photo_3,a=e.instagram_photo_4,s=e.instagram_title,o=ks(Ha).footer_instagram_link,l=(0,t.useRef)(),c=dy("max-width: 1023px"),u=c?[-250,-180,-100,-150]:[-300,-230,-200,-270];return Sp((function(){gp.utils.toArray([".insta-anim-card"]).forEach((function(e,t){gp.to(e,{yPercent:u[t],ease:"none",scrollTrigger:{trigger:".instagram-news",scrub:1}})}))}),{scope:l}),Sp((function(){var e=gp.timeline({scrollTrigger:{trigger:".instagram-news",start:"top 70%",end:"top",scrub:1}});e.from(".h1",{opacity:0,y:10}),e.fromTo(".instagram-news",{backgroundSize:"0%"},{backgroundSize:c?"95%":"63%"})}),{scope:l}),(0,Sl.jsx)("section",{className:"container",ref:l,children:(0,Sl.jsxs)("div",{className:"instagram-news",children:[(0,Sl.jsxs)("div",{className:"instagram-image-wrapper",children:[(0,Sl.jsx)("div",{className:"h1",children:s}),(0,Sl.jsx)(dl,{target:"_blank",to:o,children:(0,Sl.jsx)("img",{src:ak,alt:"instagram"})})]}),(0,Sl.jsx)("div",{className:"first-instagram-card insta-anim-card",children:(0,Sl.jsx)(ik,{image:r})}),(0,Sl.jsx)("div",{className:"second-instagram-card insta-anim-card",children:(0,Sl.jsx)(ik,{image:n})}),(0,Sl.jsx)("div",{className:"third-instagram-card insta-anim-card",children:(0,Sl.jsx)(ik,{image:i})}),(0,Sl.jsx)("div",{className:"fourth-instagram-card insta-anim-card",children:(0,Sl.jsx)(ik,{image:a})})]})})},ok=function(){var e=ks(vi),r=ks(mi),n=r.mission_background_image,i=r.mission_cards,a=r.mission_title,s=(0,t.useRef)();return qv({items:[],container:s,dependencies:[e]}),Wv({item:".discover-item",trigger:".discover",container:s,dependencies:[e]}),Wv({item:".product-link",trigger:".homepage-product-items",container:s,dependencies:[e]}),(0,Sl.jsxs)("div",{ref:s,children:[(0,Sl.jsx)(US,{}),(0,Sl.jsx)(ZS,{}),(0,Sl.jsx)(JS,{}),(0,Sl.jsx)(qx,{loading:e,background:n,title:a,data:i}),(0,Sl.jsx)(QS,{}),(0,Sl.jsx)($S,{}),(0,Sl.jsx)(XS,{}),(0,Sl.jsx)(sk,{}),(0,Sl.jsx)(Ib,{})]})},lk=function(){var e=Ns(),r=ks(vi),n=ks(Ga),i=ks(Hi),a=ks(ki),s=Sr((0,t.useState)(!0),2),o=s[0],l=s[1],c=function(){var t=Ht(zt().mark((function t(){return zt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e(yi());case 2:return t.next=4,e(bi());case 4:e(za()),e(Fi({limit:4})),e(Sn()),e(pi());case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return dx((function(){l(!1)}),2e3),(0,t.useEffect)((function(){c()}),[e]),n||r||o||i||a?(0,Sl.jsx)(Lg,{main:!0}):(0,Sl.jsx)(Sl.Fragment,{children:(0,Sl.jsx)(tl,{children:(0,Sl.jsxs)(Qo,{path:vl.base,element:(0,Sl.jsx)(xb,{}),children:[(0,Sl.jsx)(Qo,{path:vl.base,element:(0,Sl.jsx)(ok,{})}),(0,Sl.jsx)(Qo,{path:vl.products,element:(0,Sl.jsx)(Rg,{})}),(0,Sl.jsx)(Qo,{path:vl.products+"/:slug",element:(0,Sl.jsx)(gx,{})}),(0,Sl.jsx)(Qo,{path:vl.resources,element:(0,Sl.jsx)(Bg,{})}),(0,Sl.jsx)(Qo,{path:vl.trialResults,element:(0,Sl.jsx)(bx,{})}),(0,Sl.jsx)(Qo,{path:vl.trialResults+"/:slug",element:(0,Sl.jsx)(jx,{})}),(0,Sl.jsx)(Qo,{path:vl.cropNutritionPrograms,element:(0,Sl.jsx)(yx,{})}),(0,Sl.jsx)(Qo,{path:vl.cropNutritionPrograms+"/:slug",element:(0,Sl.jsx)(Tx,{})}),(0,Sl.jsx)(Qo,{path:vl.informationMaterials,element:(0,Sl.jsx)(Ax,{})}),(0,Sl.jsx)(Qo,{path:vl.aboutUs,element:(0,Sl.jsx)($x,{})}),(0,Sl.jsx)(Qo,{path:vl.news,element:(0,Sl.jsx)(h_,{})}),(0,Sl.jsx)(Qo,{path:vl.news+"/:slug",element:(0,Sl.jsx)(Zw,{})}),(0,Sl.jsx)(Qo,{path:vl.career,element:(0,Sl.jsx)(AS,{})}),(0,Sl.jsx)(Qo,{path:vl.career+"/:slug",element:(0,Sl.jsx)(CS,{})}),(0,Sl.jsx)(Qo,{path:vl.termsAndConditions,element:(0,Sl.jsx)(NS,{})}),(0,Sl.jsx)(Qo,{path:vl.legalInfo,element:(0,Sl.jsx)(IS,{})}),(0,Sl.jsx)(Qo,{path:vl.contacts,element:(0,Sl.jsx)(VS,{})}),(0,Sl.jsx)(Qo,{path:"*",element:(0,Sl.jsx)(GS,{})})]})})})},ck=function(){var e=Io().pathname;return(0,t.useEffect)((function(){window.scrollTo(0,0)}),[e]),null},uk=function(){var e=Ns(),t=ks(Ha),r=t.cookie_icon,n=t.cookie_title,i=t.cookie_description,a=t.cookie_btn;return!ks(ns)&&(0,Sl.jsxs)("div",{className:"cookie-popup",children:[(0,Sl.jsxs)("div",{className:"cookie-popup-content",children:[(0,Sl.jsxs)("div",{className:"cookie-popup__title",children:[(0,Sl.jsx)("img",{src:r,alt:""}),n]}),(0,Sl.jsx)("div",{className:"cookie-popup__text",dangerouslySetInnerHTML:{__html:i}})]}),(0,Sl.jsx)("button",{className:"button-submit",onClick:function(){return e(os())},children:a})]})};n.createRoot(document.getElementById("root")).render((0,Sl.jsx)(Ts,{store:cs,children:(0,Sl.jsxs)(cl,{children:[(0,Sl.jsx)(ck,{}),(0,Sl.jsx)(lk,{}),(0,Sl.jsx)(uk,{})]})}))}()})();
//# sourceMappingURL=main.80d2262f.js.map