@adoptaunabuelo/react-components 0.1.16 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -71,7 +71,7 @@
71
71
  font-family: 'Poppins';
72
72
  margin: 0px;
73
73
  color: ${Color.text.full};
74
- `,P=e=>{const{style:t,type:n,children:a,weight:r}=e,o=__rest(e,["style","type","children","weight"]);return jsxRuntime.jsx(PStyled,Object.assign({style:Object.assign({fontSize:"p"===n?15:"p2"===n?14:"c1"===n?12:10,fontWeight:"semibold"===r?600:"medium"===r?500:400},t)},o,{children:a}))},Text=e=>"h1"===e.type||"h2"===e.type||"h3"===e.type||"h4"===e.type||"h5"===e.type||"h6"===e.type?jsxRuntime.jsx(Header,Object.assign({role:"header"},e,{children:e.children})):jsxRuntime.jsx(P,Object.assign({role:"paragraph"},e,{children:e.children})),Container$8=qe.div`
74
+ `,P=e=>{const{style:t,type:n,children:a,weight:r}=e,o=__rest(e,["style","type","children","weight"]);return jsxRuntime.jsx(PStyled,Object.assign({style:Object.assign({fontSize:"p"===n?15:"p2"===n?14:"c1"===n?12:10,fontWeight:"semibold"===r?600:"medium"===r?500:400},t)},o,{children:a}))},Text$1=e=>"h1"===e.type||"h2"===e.type||"h3"===e.type||"h4"===e.type||"h5"===e.type||"h6"===e.type?jsxRuntime.jsx(Header,Object.assign({role:"header"},e,{children:e.children})):jsxRuntime.jsx(P,Object.assign({role:"paragraph"},e,{children:e.children})),Container$8=qe.div`
75
75
  display: flex;
76
76
  flex: 1;
77
77
  height: 6px;
@@ -103,7 +103,7 @@
103
103
  flex-direction: row;
104
104
  align-items: center;
105
105
  margin: 16px;
106
- `,FeedBack=e=>{var{type:t="success",isVisible:n=!1}=e,a=__rest(e,["type","isVisible"]);const[r,o]=React.useState(!1);return React.useEffect((()=>{o(n),setTimeout((()=>{a.onClose&&a.onClose(),o(!1)}),3e3)}),[n]),r?jsxRuntime.jsx(Container$7,Object.assign({type:t},a,{role:"feedback"},{children:jsxRuntime.jsxs(View,{children:["success"===t?jsxRuntime.jsx(Check,{style:{marginRight:12},color:"white",height:24,width:24}):jsxRuntime.jsx(X,{style:{marginRight:12},color:"white",height:24,width:24}),jsxRuntime.jsx(Text,Object.assign({type:"p",style:{display:"flex",flex:1,color:"white"}},{children:a.text}))]})})):null};
106
+ `,FeedBack=e=>{var{type:t="success",isVisible:n=!1}=e,a=__rest(e,["type","isVisible"]);const[r,o]=React.useState(!1);return React.useEffect((()=>{o(n),setTimeout((()=>{a.onClose&&a.onClose(),o(!1)}),3e3)}),[n]),r?jsxRuntime.jsx(Container$7,Object.assign({type:t},a,{role:"feedback"},{children:jsxRuntime.jsxs(View,{children:["success"===t?jsxRuntime.jsx(Check,{style:{marginRight:12},color:"white",height:24,width:24}):jsxRuntime.jsx(X,{style:{marginRight:12},color:"white",height:24,width:24}),jsxRuntime.jsx(Text$1,Object.assign({type:"p",style:{display:"flex",flex:1,color:"white"}},{children:a.text}))]})})):null};
107
107
  /*! *****************************************************************************
108
108
  Copyright (c) Microsoft Corporation.
109
109
 
@@ -118,7 +118,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
118
118
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
119
119
  PERFORMANCE OF THIS SOFTWARE.
120
120
  ***************************************************************************** */
121
- var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function __extends(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var __assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function __awaiter(e,t,n,a){return new(n||(n=Promise))((function(r,o){function i(e){try{s(a.next(e))}catch(e){o(e)}}function l(e){try{s(a.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((a=a.apply(e,t||[])).next())}))}function __generator(e,t){var n,a,r,o,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,a&&(r=2&o[0]?a.return:o[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;switch(a=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,a=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!((r=(r=i.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(6===o[0]&&i.label<r[1]){i.label=r[1],r=o;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(o);break}r[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],a=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var lottie=createCommonjsModule((function(module,exports){var e;"undefined"!=typeof navigator&&(e=function(){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 n,a,r=e.length;for(n=0;n<r;n+=1)for(var o in a=e[n].prototype)Object.prototype.hasOwnProperty.call(a,o)&&(t.prototype[o]=a[o])}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,n=this.audios.length;for(t=0;t<n;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 n,a=0,r=[];switch(e){case"int16":case"uint8c":n=1;break;default:n=1.1}for(a=0;a<t;a+=1)r.push(n);return r}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,n){return"float32"===t?new Float32Array(n):"int16"===t?new Int16Array(n):"uint8c"===t?new Uint8ClampedArray(n):e(t,n)}: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})(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};!function(){var e,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"],n=t.length;for(e=0;e<n;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,n=createSizedArray(e.length),a=e.length;for(t=0;t<a;t+=1)n[t]=Math.abs(e[t]);return n}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,n,a){this.type=e,this.currentTime=t,this.totalTime=n,this.direction=a<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,n,a){this.type=e,this.currentLoop=n,this.totalLoops=t,this.direction=a<0?-1:1}function BMSegmentStartEvent(e,t,n){this.type=e,this.firstFrame=t,this.totalFrames=n}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(e,t,n){var a,r,o,i,l,s,d,c;switch(s=n*(1-t),d=n*(1-(l=6*e-(i=Math.floor(6*e)))*t),c=n*(1-(1-l)*t),i%6){case 0:a=n,r=c,o=s;break;case 1:a=d,r=n,o=s;break;case 2:a=s,r=n,o=c;break;case 3:a=s,r=d,o=n;break;case 4:a=c,r=s,o=n;break;case 5:a=n,r=s,o=d}return[a,r,o]}function RGBtoHSV(e,t,n){var a,r=Math.max(e,t,n),o=Math.min(e,t,n),i=r-o,l=0===r?0:i/r,s=r/255;switch(r){case o:a=0;break;case e:a=t-n+i*(t<n?6:0),a/=6*i;break;case t:a=n-e+2*i,a/=6*i;break;case n:a=e-t+4*i,a/=6*i}return[a,l,s]}function addSaturationToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[1]+=t,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[2]+=t,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[0]+=t/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var e,t,n=[];for(e=0;e<256;e+=1)t=e.toString(16),n[e]=1===t.length?"0"+t:t;return function(e,t,a){return e<0&&(e=0),t<0&&(t=0),a<0&&(a=0),"#"+n[e]+n[t]+n[a]}}(),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};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})(e)}var dataManager=function(){var e,t,n=1,a=[],r={onmessage:function(){},postMessage:function(t){e({data:t})}},o={postMessage:function(e){r.onmessage({data:e})}};function i(){t||((t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),a=URL.createObjectURL(n);return new Worker(a)}return e=t,r}((function(e){if(o.dataManager||(o.dataManager=function(){function e(r,o){var i,l,s,d,c,h,p=r.length;for(l=0;l<p;l+=1)if("ks"in(i=r[l])&&!i.completed){if(i.completed=!0,i.hasMask){var f=i.masksProperties;for(d=f.length,s=0;s<d;s+=1)if(f[s].pt.k.i)a(f[s].pt.k);else for(h=f[s].pt.k.length,c=0;c<h;c+=1)f[s].pt.k[c].s&&a(f[s].pt.k[c].s[0]),f[s].pt.k[c].e&&a(f[s].pt.k[c].e[0])}0===i.ty?(i.layers=t(i.refId,o),e(i.layers,o)):4===i.ty?n(i.shapes):5===i.ty&&u(i)}}function t(e,t){var n=function(e,t){for(var n=0,a=t.length;n<a;){if(t[n].id===e)return t[n];n+=1}return null}(e,t);return n?n.layers.__used?JSON.parse(JSON.stringify(n.layers)):(n.layers.__used=!0,n.layers):null}function n(e){var t,r,o;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)a(e[t].ks.k);else for(o=e[t].ks.k.length,r=0;r<o;r+=1)e[t].ks.k[r].s&&a(e[t].ks.k[r].s[0]),e[t].ks.k[r].e&&a(e[t].ks.k[r].e[0]);else"gr"===e[t].ty&&n(e[t].it)}function a(e){var t,n=e.i.length;for(t=0;t<n;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 r(e,t){var n=t?t.split("."):[100,100,100];return e[0]>n[0]||!(n[0]>e[0])&&(e[1]>n[1]||!(n[1]>e[1])&&(e[2]>n[2]||!(n[2]>e[2])&&null))}var o,i=function(){var e=[4,4,14];function t(e){var t,n,a,r=e.length;for(t=0;t<r;t+=1)5===e[t].ty&&(a=(n=e[t]).t.d,n.t.d={k:[{s:a,t:0}]})}return function(n){if(r(e,n.v)&&(t(n.layers),n.assets)){var a,o=n.assets.length;for(a=0;a<o;a+=1)n.assets[a].layers&&t(n.assets[a].layers)}}}(),l=(o=[4,7,99],function(e){if(e.chars&&!r(o,e.v)){var t,a=e.chars.length;for(t=0;t<a;t+=1){var i=e.chars[t];i.data&&i.data.shapes&&(n(i.data.shapes),i.data.ip=0,i.data.op=99999,i.data.st=0,i.data.sr=1,i.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[t].t||(i.data.shapes.push({ty:"no"}),i.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"})))}}}),s=function(){var e=[5,7,15];function t(e){var t,n,a=e.length;for(t=0;t<a;t+=1)5===e[t].ty&&(n=void 0,"number"==typeof(n=e[t].t.p).a&&(n.a={a:0,k:n.a}),"number"==typeof n.p&&(n.p={a:0,k:n.p}),"number"==typeof n.r&&(n.r={a:0,k:n.r}))}return function(n){if(r(e,n.v)&&(t(n.layers),n.assets)){var a,o=n.assets.length;for(a=0;a<o;a+=1)n.assets[a].layers&&t(n.assets[a].layers)}}}(),d=function(){var e=[4,1,9];function t(e){var n,a,r,o=e.length;for(n=0;n<o;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(r=e[n].c.k.length,a=0;a<r;a+=1)e[n].c.k[a].s&&(e[n].c.k[a].s[0]/=255,e[n].c.k[a].s[1]/=255,e[n].c.k[a].s[2]/=255,e[n].c.k[a].s[3]/=255),e[n].c.k[a].e&&(e[n].c.k[a].e[0]/=255,e[n].c.k[a].e[1]/=255,e[n].c.k[a].e[2]/=255,e[n].c.k[a].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}function n(e){var n,a=e.length;for(n=0;n<a;n+=1)4===e[n].ty&&t(e[n].shapes)}return function(t){if(r(e,t.v)&&(n(t.layers),t.assets)){var a,o=t.assets.length;for(a=0;a<o;a+=1)t.assets[a].layers&&n(t.assets[a].layers)}}}(),c=function(){var e=[4,4,18];function t(e){var n,a,r;for(n=e.length-1;n>=0;n-=1)if("sh"===e[n].ty)if(e[n].ks.k.i)e[n].ks.k.c=e[n].closed;else for(r=e[n].ks.k.length,a=0;a<r;a+=1)e[n].ks.k[a].s&&(e[n].ks.k[a].s[0].c=e[n].closed),e[n].ks.k[a].e&&(e[n].ks.k[a].e[0].c=e[n].closed);else"gr"===e[n].ty&&t(e[n].it)}function n(e){var n,a,r,o,i,l,s=e.length;for(a=0;a<s;a+=1){if((n=e[a]).hasMask){var d=n.masksProperties;for(o=d.length,r=0;r<o;r+=1)if(d[r].pt.k.i)d[r].pt.k.c=d[r].cl;else for(l=d[r].pt.k.length,i=0;i<l;i+=1)d[r].pt.k[i].s&&(d[r].pt.k[i].s[0].c=d[r].cl),d[r].pt.k[i].e&&(d[r].pt.k[i].e[0].c=d[r].cl)}4===n.ty&&t(n.shapes)}}return function(t){if(r(e,t.v)&&(n(t.layers),t.assets)){var a,o=t.assets.length;for(a=0;a<o;a+=1)t.assets[a].layers&&n(t.assets[a].layers)}}}();function u(e){0===e.t.a.length&&e.t.p}var h={completeData:function(n){n.__complete||(d(n),i(n),l(n),s(n),c(n),e(n.layers,n.assets),function(n,a){if(n){var r=0,o=n.length;for(r=0;r<o;r+=1)1===n[r].t&&(n[r].data.layers=t(n[r].data.refId,a),e(n[r].data.layers,a))}}(n.chars,n.assets),n.__complete=!0)}};return h.checkColors=d,h.checkChars=l,h.checkPathProperties=s,h.checkShapes=c,h.completeLayers=e,h}()),o.assetLoader||(o.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,n,a,r){var o,i=new XMLHttpRequest;try{i.responseType="json"}catch(e){}i.onreadystatechange=function(){if(4===i.readyState)if(200===i.status)o=e(i),a(o);else try{o=e(i),a(o)}catch(e){r&&r(e)}};try{i.open(["G","E","T"].join(""),t,!0)}catch(e){i.open(["G","E","T"].join(""),n+"/"+t,!0)}i.send()}}}()),"loadAnimation"===e.data.type)o.assetLoader.load(e.data.path,e.data.fullPath,(function(t){o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){o.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&o.assetLoader.load(e.data.path,e.data.fullPath,(function(t){o.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){o.postMessage({id:e.data.id,status:"error"})}))}))).onmessage=function(e){var t=e.data,n=t.id,r=a[n];a[n]=null,"success"===t.status?r.onComplete(t.payload):r.onError&&r.onError()})}function l(e,t){var r="processId_"+(n+=1);return a[r]={onComplete:e,onError:t},r}return{loadAnimation:function(e,n,a){i();var r=l(n,a);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:r})},loadData:function(e,n,a){i();var r=l(n,a);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:r})},completeAnimation:function(e,n,a){i();var r=l(n,a);t.postMessage({type:"complete",animation:e,id:r})}}}(),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 n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(e,t,n){var a="";if(e.e)a=e.p;else if(t){var r=e.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),a=t+r}else a=n,a+=e.u?e.u:"",a+=e.p;return a}function r(e){var t=0,n=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(n)),t+=1}.bind(this),50)}function o(e){var t={assetData:e},n=a(e,this.assetsPath,this.path);return dataManager.loadData(n,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function i(){this._imageLoaded=t.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=r.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return i.prototype={loadAssets:function(e,t){var n;this.imagesLoadedCb=t;var a=e.length;for(n=0;n<a;n+=1)e[n].layers||(e[n].t&&"seq"!==e[n].t?3===e[n].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[n]))):(this.totalImages+=1,this.images.push(this._createImageData(e[n]))))},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,n=this.images.length;t<n;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var n=a(t,this.assetsPath,this.path),r=createTag("img");r.crossOrigin="anonymous",r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),r.src=n;var o={img:r,assetData:t};return o},createImageData:function(t){var n=a(t,this.assetsPath,this.path),r=createNS("image");isSafari?this.testImageLoaded(r):r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),r.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this._elementHelper.append?this._elementHelper.append(r):this._elementHelper.appendChild(r);var o={img:r,assetData:t};return o},imageLoaded:t,footageLoaded:n,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},i}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var n=this._cbs[e],a=0;a<n.length;a+=1)n[a](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 n=0,a=this._cbs[e].length;n<a;)this._cbs[e][n]===t&&(this._cbs[e].splice(n,1),n-=1,a-=1),n+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,n=e.split("\r\n"),a={},r=0,o=0;o<n.length;o+=1)2===(t=n[o].split(":")).length&&(a[t[0]]=t[1].trim(),r+=1);if(0===r)throw new Error;return a}return function(t){for(var n=[],a=0;a<t.length;a+=1){var r=t[a],o={time:r.tm,duration:r.dr};try{o.payload=JSON.parse(t[a].cm)}catch(n){try{o.payload=e(t[a].cm)}catch(e){o.payload={name:t[a].cm}}}n.push(o)}return n}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,n=this.compositions.length;t<n;){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 _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})(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)};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 n=getRenderer(t);this.renderer=new n(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 n={wrapper:e,animationData:t},a=e.attributes;n.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",n.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:"canvas";var r=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";"false"===r?n.loop=!1:"true"===r?n.loop=!0:""!==r&&(n.loop=parseInt(r,10));var o=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:!a.getNamedItem("bm-autoplay")||a.getNamedItem("bm-autoplay").value;n.autoplay="false"!==o,n.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"","false"===(a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),this.setParams(n)},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,n,a=this.animationData.layers,r=a.length,o=e.layers,i=o.length;for(n=0;n<i;n+=1)for(t=0;t<r;){if(a[t].id===o[n].id){a[t]=o[n];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(r=e.assets.length,t=0;t<r;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 n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(n,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(e){this.triggerConfigError(e)}},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 n="number"==typeof e?e:void 0,a="number"==typeof t?t:void 0;this.renderer.updateContainerSize(n,a)},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.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("_pause"),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("_play"),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,n=0;n<this.markers.length;n+=1)if((t=this.markers[n]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,n){if(!n||this.name===n){var a=Number(e);if(isNaN(a)){var r=this.getMarkerData(e);r&&this.goToAndStop(r.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,n){if(!n||this.name===n){var a=Number(e);if(isNaN(a)){var r=this.getMarkerData(e);r&&(r.duration?this.playSegments([r.time,r.time+r.duration],!0):this.goToAndStop(r.time,!0))}else this.goToAndStop(a,t,n);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,n=!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)||(n=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),n&&(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 n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?n=e:this.currentRawFrame+this.firstFrame>t&&(n=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var n,a=e.length;for(n=0;n<a;n+=1)this.segments.push(e[n])}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.renderer=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 n=e.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),t=this.assetsPath+n}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,n=this.assets.length;t<n;){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,n){try{this.renderer.getElementByPath(e).updateDocumentData(t,n)}catch(e){}},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=[],n=0,a=0,r=0,o=!0,i=!1;function l(e){for(var n=0,r=e.target;n<a;)t[n].animation===r&&(t.splice(n,1),n-=1,a-=1,r.isPaused||c()),n+=1}function s(e,n){if(!e)return null;for(var r=0;r<a;){if(t[r].elem===e&&null!==t[r].elem)return t[r].animation;r+=1}var o=new AnimationItem;return u(o,e),o.setData(e,n),o}function d(){r+=1,f()}function c(){r-=1}function u(e,n){e.addEventListener("destroy",l),e.addEventListener("_active",d),e.addEventListener("_idle",c),t.push({elem:n,animation:e}),a+=1}function h(e){var l,s=e-n;for(l=0;l<a;l+=1)t[l].animation.advanceTime(s);n=e,r&&!i?window.requestAnimationFrame(h):o=!0}function p(e){n=e,window.requestAnimationFrame(h)}function f(){!i&&r&&o&&(window.requestAnimationFrame(p),o=!1)}return e.registerAnimation=s,e.loadAnimation=function(e){var t=new AnimationItem;return u(t,null),t.setParams(e),t},e.setSpeed=function(e,n){var r;for(r=0;r<a;r+=1)t[r].animation.setSpeed(e,n)},e.setDirection=function(e,n){var r;for(r=0;r<a;r+=1)t[r].animation.setDirection(e,n)},e.play=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.play(e)},e.pause=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.pause(e)},e.stop=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.stop(e)},e.togglePause=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.togglePause(e)},e.searchAnimations=function(e,t,n){var a,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=r.length;for(a=0;a<o;a+=1)n&&r[a].setAttribute("data-bm-type",n),s(r[a],e);if(t&&0===o){n||(n="svg");var i=document.getElementsByTagName("body")[0];i.innerText="";var l=createTag("div");l.style.width="100%",l.style.height="100%",l.setAttribute("data-bm-type",n),i.appendChild(l),s(l,e)}},e.resize=function(){var e;for(e=0;e<a;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,n,r){var o;for(o=0;o<a;o+=1)t[o].animation.goToAndStop(e,n,r)},e.destroy=function(e){var n;for(n=a-1;n>=0;n-=1)t[n].animation.destroy(e)},e.freeze=function(){i=!0},e.unfreeze=function(){i=!1,f()},e.setVolume=function(e,n){var r;for(r=0;r<a;r+=1)t[r].animation.setVolume(e,n)},e.mute=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.mute(e)},e.unmute=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,n=t.length,a=[];for(e=0;e<n;e+=1)a.push(t[e].animation);return a},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,n,a,r,o){var i=o||("bez_"+e+"_"+n+"_"+a+"_"+r).replace(/\./g,"p");if(t[i])return t[i];var l=new s([e,n,a,r]);return t[i]=l,l}},t={},n="function"==typeof Float32Array;function a(e,t){return 1-3*t+3*e}function r(e,t){return 3*t-6*e}function o(e){return 3*e}function i(e,t,n){return((a(t,n)*e+r(t,n))*e+o(t))*e}function l(e,t,n){return 3*a(t,n)*e*e+2*r(t,n)*e+o(t)}function s(e){this._p=e,this._mSampleValues=n?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return s.prototype={get:function(e){var t=this._p[0],n=this._p[1],a=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),t===n&&a===r?e:0===e?0:1===e?1:i(this._getTForX(e),n,r)},_precompute:function(){var e=this._p[0],t=this._p[1],n=this._p[2],a=this._p[3];this._precomputed=!0,e===t&&n===a||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],n=0;n<11;++n)this._mSampleValues[n]=i(.1*n,e,t)},_getTForX:function(e){for(var t=this._p[0],n=this._p[2],a=this._mSampleValues,r=0,o=1;10!==o&&a[o]<=e;++o)r+=.1;var s=r+(e-a[--o])/(a[o+1]-a[o])*.1,d=l(s,t,n);return d>=.001?function(e,t,n,a){for(var r=0;r<4;++r){var o=l(t,n,a);if(0===o)return t;t-=(i(t,n,a)-e)/o}return t}(e,s,t,n):0===d?s:function(e,t,n,a,r){var o,l,s=0;do{(o=i(l=t+(n-t)/2,a,r)-e)>0?n=l:t=l}while(Math.abs(o)>1e-7&&++s<10);return l}(e,r,r+.1,t,n)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,n){var a=0,r=e,o=createSizedArray(r);return{newElement:function(){return a?o[a-=1]:t()},release:function(e){a===r&&(o=pooling.double(o),r*=2),n&&n(e),o[a]=e,a+=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,n=e.lengths.length;for(t=0;t<n;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,n,a,r,o){var i=e*a+t*r+n*o-r*a-o*e-n*t;return i>-.001&&i<.001}var n=function(e,t,n,a){var r,o,i,l,s,d,c=getDefaultCurveSegments(),u=0,h=[],p=[],f=bezierLengthPool.newElement();for(i=n.length,r=0;r<c;r+=1){for(s=r/(c-1),d=0,o=0;o<i;o+=1)l=bmPow(1-s,3)*e[o]+3*bmPow(1-s,2)*s*n[o]+3*(1-s)*bmPow(s,2)*a[o]+bmPow(s,3)*t[o],h[o]=l,null!==p[o]&&(d+=bmPow(h[o]-p[o],2)),p[o]=h[o];d&&(u+=d=bmSqrt(d)),f.percents[r]=s,f.lengths[r]=u}return f.addedLength=u,f};function a(e){this.segmentLength=0,this.points=new Array(e)}function r(e,t){this.partialLength=e,this.point=t}var o,i=(o={},function(e,n,i,l){var s=(e[0]+"_"+e[1]+"_"+n[0]+"_"+n[1]+"_"+i[0]+"_"+i[1]+"_"+l[0]+"_"+l[1]).replace(/\./g,"p");if(!o[s]){var d,c,u,h,p,f,m,g=getDefaultCurveSegments(),y=0,v=null;2===e.length&&(e[0]!==n[0]||e[1]!==n[1])&&t(e[0],e[1],n[0],n[1],e[0]+i[0],e[1]+i[1])&&t(e[0],e[1],n[0],n[1],n[0]+l[0],n[1]+l[1])&&(g=2);var _=new a(g);for(u=i.length,d=0;d<g;d+=1){for(m=createSizedArray(u),p=d/(g-1),f=0,c=0;c<u;c+=1)h=bmPow(1-p,3)*e[c]+3*bmPow(1-p,2)*p*(e[c]+i[c])+3*(1-p)*bmPow(p,2)*(n[c]+l[c])+bmPow(p,3)*n[c],m[c]=h,null!==v&&(f+=bmPow(m[c]-v[c],2));y+=f=bmSqrt(f),_.points[d]=new r(f,m),v=m}_.segmentLength=y,o[s]=_}return o[s]});function l(e,t){var n=t.percents,a=t.lengths,r=n.length,o=bmFloor((r-1)*e),i=e*t.addedLength,l=0;if(o===r-1||0===o||i===a[o])return n[o];for(var s=a[o]>i?-1:1,d=!0;d;)if(a[o]<=i&&a[o+1]>i?(l=(i-a[o])/(a[o+1]-a[o]),d=!1):o+=s,o<0||o>=r-1){if(o===r-1)return n[o];d=!1}return n[o]+(n[o+1]-n[o])*l}var s=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,a=segmentsLengthPool.newElement(),r=e.c,o=e.v,i=e.o,l=e.i,s=e._length,d=a.lengths,c=0;for(t=0;t<s-1;t+=1)d[t]=n(o[t],o[t+1],i[t],l[t+1]),c+=d[t].addedLength;return r&&s&&(d[t]=n(o[t],o[0],i[t],l[0]),c+=d[t].addedLength),a.totalLength=c,a},getNewSegment:function(t,n,a,r,o,i,d){o<0?o=0:o>1&&(o=1);var c,u=l(o,d),h=l(i=i>1?1:i,d),p=t.length,f=1-u,m=1-h,g=f*f*f,y=u*f*f*3,v=u*u*f*3,_=u*u*u,b=f*f*m,x=u*f*m+f*u*m+f*f*h,k=u*u*m+f*u*h+u*f*h,E=u*u*h,M=f*m*m,S=u*m*m+f*h*m+f*m*h,w=u*h*m+f*h*h+u*m*h,$=u*h*h,R=m*m*m,C=h*m*m+m*h*m+m*m*h,P=h*h*m+m*h*h+h*m*h,T=h*h*h;for(c=0;c<p;c+=1)s[4*c]=e.round(1e3*(g*t[c]+y*a[c]+v*r[c]+_*n[c]))/1e3,s[4*c+1]=e.round(1e3*(b*t[c]+x*a[c]+k*r[c]+E*n[c]))/1e3,s[4*c+2]=e.round(1e3*(M*t[c]+S*a[c]+w*r[c]+$*n[c]))/1e3,s[4*c+3]=e.round(1e3*(R*t[c]+C*a[c]+P*r[c]+T*n[c]))/1e3;return s},getPointInSegment:function(t,n,a,r,o,i){var s=l(o,i),d=1-s;return[e.round(1e3*(d*d*d*t[0]+(s*d*d+d*s*d+d*d*s)*a[0]+(s*s*d+d*s*s+s*d*s)*r[0]+s*s*s*n[0]))/1e3,e.round(1e3*(d*d*d*t[1]+(s*d*d+d*s*d+d*d*s)*a[1]+(s*s*d+d*s*s+s*d*s)*r[1]+s*s*s*n[1]))/1e3]},buildBezierData:i,pointOnLine2D:t,pointOnLine3D:function(n,a,r,o,i,l,s,d,c){if(0===r&&0===l&&0===c)return t(n,a,o,i,s,d);var u,h=e.sqrt(e.pow(o-n,2)+e.pow(i-a,2)+e.pow(l-r,2)),p=e.sqrt(e.pow(s-n,2)+e.pow(d-a,2)+e.pow(c-r,2)),f=e.sqrt(e.pow(s-o,2)+e.pow(d-i,2)+e.pow(c-l,2));return(u=h>p?h>f?h-p-f:f-p-h:f>p?f-p-h:p-h-f)>-1e-4&&u<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function n(e,t){var n,r=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var o,i,l,s,d,c,u,h,p,f=t.lastIndex,m=f,g=this.keyframes.length-1,y=!0;y;){if(o=this.keyframes[m],i=this.keyframes[m+1],m===g-1&&e>=i.t-r){o.h&&(o=i),f=0;break}if(i.t-r>e){f=m;break}m<g-1?m+=1:(f=0,y=!1)}l=this.keyframesMetadata[m]||{};var v,_=i.t-r,b=o.t-r;if(o.to){l.bezierData||(l.bezierData=bez.buildBezierData(o.s,i.s||o.e,o.to,o.ti));var x=l.bezierData;if(e>=_||e<b){var k=e>=_?x.points.length-1:0;for(d=x.points[k].point.length,s=0;s<d;s+=1)n[s]=x.points[k].point[s]}else{l.__fnct?p=l.__fnct:(p=BezierFactory.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y,o.n).get,l.__fnct=p),c=p((e-b)/(_-b));var E,M=x.segmentLength*c,S=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastAddedLength:0;for(h=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastPoint:0,y=!0,u=x.points.length;y;){if(S+=x.points[h].partialLength,0===M||0===c||h===x.points.length-1){for(d=x.points[h].point.length,s=0;s<d;s+=1)n[s]=x.points[h].point[s];break}if(M>=S&&M<S+x.points[h+1].partialLength){for(E=(M-S)/x.points[h+1].partialLength,d=x.points[h].point.length,s=0;s<d;s+=1)n[s]=x.points[h].point[s]+(x.points[h+1].point[s]-x.points[h].point[s])*E;break}h<u-1?h+=1:y=!1}t._lastPoint=h,t._lastAddedLength=S-x.points[h].partialLength,t._lastKeyframeIndex=m}}else{var w,$,R,C,P;if(g=o.s.length,v=i.s||o.e,this.sh&&1!==o.h)e>=_?(n[0]=v[0],n[1]=v[1],n[2]=v[2]):e<=b?(n[0]=o.s[0],n[1]=o.s[1],n[2]=o.s[2]):function(e,t){var n=t[0],a=t[1],r=t[2],o=t[3],i=Math.atan2(2*a*o-2*n*r,1-2*a*a-2*r*r),l=Math.asin(2*n*a+2*r*o),s=Math.atan2(2*n*o-2*a*r,1-2*n*n-2*r*r);e[0]=i/degToRads,e[1]=l/degToRads,e[2]=s/degToRads}(n,function(e,t,n){var a,r,o,i,l,s=[],d=e[0],c=e[1],u=e[2],h=e[3],p=t[0],f=t[1],m=t[2],g=t[3];return(r=d*p+c*f+u*m+h*g)<0&&(r=-r,p=-p,f=-f,m=-m,g=-g),1-r>1e-6?(a=Math.acos(r),o=Math.sin(a),i=Math.sin((1-n)*a)/o,l=Math.sin(n*a)/o):(i=1-n,l=n),s[0]=i*d+l*p,s[1]=i*c+l*f,s[2]=i*u+l*m,s[3]=i*h+l*g,s}(a(o.s),a(v),(e-b)/(_-b)));else for(m=0;m<g;m+=1)1!==o.h&&(e>=_?c=1:e<b?c=0:(o.o.x.constructor===Array?(l.__fnct||(l.__fnct=[]),l.__fnct[m]?p=l.__fnct[m]:(w=void 0===o.o.x[m]?o.o.x[0]:o.o.x[m],$=void 0===o.o.y[m]?o.o.y[0]:o.o.y[m],R=void 0===o.i.x[m]?o.i.x[0]:o.i.x[m],C=void 0===o.i.y[m]?o.i.y[0]:o.i.y[m],p=BezierFactory.getBezierEasing(w,$,R,C).get,l.__fnct[m]=p)):l.__fnct?p=l.__fnct:(w=o.o.x,$=o.o.y,R=o.i.x,C=o.i.y,p=BezierFactory.getBezierEasing(w,$,R,C).get,o.keyframeMetadata=p),c=p((e-b)/(_-b)))),v=i.s||o.e,P=1===o.h?o.s[m]:o.s[m]+(v[m]-o.s[m])*c,"multidimensional"===this.propType?n[m]=P:n=P}return t.lastIndex=f,n}function a(e){var t=e[0]*degToRads,n=e[1]*degToRads,a=e[2]*degToRads,r=Math.cos(t/2),o=Math.cos(n/2),i=Math.cos(a/2),l=Math.sin(t/2),s=Math.sin(n/2),d=Math.sin(a/2);return[l*s*i+r*o*d,l*o*i+r*s*d,r*s*i-l*o*d,r*o*i-l*s*d]}function r(){var t=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,a=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==e&&(this._caching.lastFrame>=a&&t>=a||this._caching.lastFrame<n&&t<n))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(t,this._caching);this.pv=r}return this._caching.lastFrame=t,this.pv}function o(e){var n;if("unidimensional"===this.propType)n=e*this.mult,t(this.v-n)>1e-5&&(this.v=n,this._mdf=!0);else for(var a=0,r=this.v.length;a<r;)n=e[a]*this.mult,t(this.v[a]-n)>1e-5&&(this.v[a]=n,this._mdf=!0),a+=1}function i(){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,n=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)n=this.effectsSequence[e](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function l(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function s(e,t,n,a){this.propType="unidimensional",this.mult=n||1,this.data=t,this.v=n?t.k*n:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=a,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=i,this.setVValue=o,this.addEffect=l}function d(e,t,n,a){var r;this.propType="multidimensional",this.mult=n||1,this.data=t,this._mdf=!1,this.elem=e,this.container=a,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var s=t.k.length;for(this.v=createTypedArray("float32",s),this.pv=createTypedArray("float32",s),this.vel=createTypedArray("float32",s),r=0;r<s;r+=1)this.v[r]=t.k[r]*this.mult,this.pv[r]=t.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=i,this.setVValue=o,this.addEffect=l}function c(t,a,s,d){this.propType="unidimensional",this.keyframes=a.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:e,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=a,this.mult=s||1,this.elem=t,this.container=d,this.comp=t.comp,this.v=e,this.pv=e,this._isFirstFrame=!0,this.getValue=i,this.setVValue=o,this.interpolateValue=n,this.effectsSequence=[r.bind(this)],this.addEffect=l}function u(t,a,s,d){var c;this.propType="multidimensional";var u,h,p,f,m=a.k.length;for(c=0;c<m-1;c+=1)a.k[c].to&&a.k[c].s&&a.k[c+1]&&a.k[c+1].s&&(u=a.k[c].s,h=a.k[c+1].s,p=a.k[c].to,f=a.k[c].ti,(2===u.length&&(u[0]!==h[0]||u[1]!==h[1])&&bez.pointOnLine2D(u[0],u[1],h[0],h[1],u[0]+p[0],u[1]+p[1])&&bez.pointOnLine2D(u[0],u[1],h[0],h[1],h[0]+f[0],h[1]+f[1])||3===u.length&&(u[0]!==h[0]||u[1]!==h[1]||u[2]!==h[2])&&bez.pointOnLine3D(u[0],u[1],u[2],h[0],h[1],h[2],u[0]+p[0],u[1]+p[1],u[2]+p[2])&&bez.pointOnLine3D(u[0],u[1],u[2],h[0],h[1],h[2],h[0]+f[0],h[1]+f[1],h[2]+f[2]))&&(a.k[c].to=null,a.k[c].ti=null),u[0]===h[0]&&u[1]===h[1]&&0===p[0]&&0===p[1]&&0===f[0]&&0===f[1]&&(2===u.length||u[2]===h[2]&&0===p[2]&&0===f[2])&&(a.k[c].to=null,a.k[c].ti=null));this.effectsSequence=[r.bind(this)],this.data=a,this.keyframes=a.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=s||1,this.elem=t,this.container=d,this.comp=t.comp,this.getValue=i,this.setVValue=o,this.interpolateValue=n,this.frameId=-1;var g=a.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),c=0;c<g;c+=1)this.v[c]=e,this.pv[c]=e;this._caching={lastFrame:e,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=l}return{getProp:function(e,t,n,a,r){var o;if(t.k.length)if("number"==typeof t.k[0])o=new d(e,t,a,r);else switch(n){case 0:o=new c(e,t,a,r);break;case 1:o=new u(e,t,a,r)}else o=new s(e,t,a,r);return o.effectsSequence.length&&r.addDynamicProperty(o),o}}}();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 n=0;n<t;)this.v[n]=pointPool.newElement(),this.o[n]=pointPool.newElement(),this.i[n]=pointPool.newElement(),n+=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,n,a,r){var o;switch(this._length=Math.max(this._length,a+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[]}(!o[a]||o[a]&&!r)&&(o[a]=pointPool.newElement()),o[a][0]=e,o[a][1]=t},ShapePath.prototype.setTripleAt=function(e,t,n,a,r,o,i,l){this.setXYAt(e,t,"v",i,l),this.setXYAt(n,a,"o",i,l),this.setXYAt(r,o,"i",i,l)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,n=this.o,a=this.i,r=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],a[0][0],a[0][1],n[0][0],n[0][1],0,!1),r=1);var o,i=this._length-1,l=this._length;for(o=r;o<l;o+=1)e.setTripleAt(t[i][0],t[i][1],a[i][0],a[i][1],n[i][0],n[i][1],o,!1),i-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,n=e._length;for(t=0;t<n;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})),factory.clone=function(e){var t,n=factory.newElement(),a=void 0===e._length?e.v.length:e._length;for(n.setLength(a),n.c=e.c,t=0;t<a;t+=1)n.setTripleAt(e.v[t][0],e.v[t][1],e.o[t][0],e.o[t][1],e.i[t][0],e.i[t][1],t);return n},factory),factory;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=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(e){var t,n=e._length;for(t=0;t<n;t+=1)shapePool.release(e.shapes[t]);e._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=e,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){function e(e,t,n){var a,r,o,i,l,s,d,c,u,h=n.lastIndex,p=this.keyframes;if(e<p[0].t-this.offsetTime)a=p[0].s[0],o=!0,h=0;else if(e>=p[p.length-1].t-this.offsetTime)a=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],o=!0;else{for(var f,m,g,y=h,v=p.length-1,_=!0;_&&(f=p[y],!((m=p[y+1]).t-this.offsetTime>e));)y<v-1?y+=1:_=!1;if(g=this.keyframesMetadata[y]||{},h=y,!(o=1===f.h)){if(e>=m.t-this.offsetTime)c=1;else if(e<f.t-this.offsetTime)c=0;else{var b;g.__fnct?b=g.__fnct:(b=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,g.__fnct=b),c=b((e-(f.t-this.offsetTime))/(m.t-this.offsetTime-(f.t-this.offsetTime)))}r=m.s?m.s[0]:f.e[0]}a=f.s[0]}for(s=t._length,d=a.i[0].length,n.lastIndex=h,i=0;i<s;i+=1)for(l=0;l<d;l+=1)u=o?a.i[i][l]:a.i[i][l]+(r.i[i][l]-a.i[i][l])*c,t.i[i][l]=u,u=o?a.o[i][l]:a.o[i][l]+(r.o[i][l]-a.o[i][l])*c,t.o[i][l]=u,u=o?a.v[i][l]:a.v[i][l]+(r.v[i][l]-a.v[i][l])*c,t.v[i][l]=u}function t(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,a=this._caching.lastFrame;return-999999!==a&&(a<t&&e<t||a>n&&e>n)||(this._caching.lastIndex=a<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function n(){this.paths=this.localShapeCollection}function a(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var n,a=e._length;for(n=0;n<a;n+=1)if(e.v[n][0]!==t.v[n][0]||e.v[n][1]!==t.v[n][1]||e.o[n][0]!==t.o[n][0]||e.o[n][1]!==t.o[n][1]||e.i[n][0]!==t.i[n][0]||e.i[n][1]!==t.i[n][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 r(){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 n=this.effectsSequence.length;for(t=0;t<n;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function o(e,t,a){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 r=3===a?t.pt.k:t.ks.k;this.v=shapePool.clone(r),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 i(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(e,a,r){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===r?a.pt.k:a.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var o=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,o),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=-999999,this.reset=n,this._caching={lastFrame:-999999,lastIndex:0},this.effectsSequence=[t.bind(this)]}o.prototype.interpolateShape=e,o.prototype.getValue=r,o.prototype.setVValue=a,o.prototype.addEffect=i,l.prototype.getValue=r,l.prototype.interpolateShape=e,l.prototype.setVValue=a,l.prototype.addEffect=i;var s=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],n=this.p.v[1],a=this.s.v[0]/2,r=this.s.v[1]/2,o=3!==this.d,i=this.v;i.v[0][0]=t,i.v[0][1]=n-r,i.v[1][0]=o?t+a:t-a,i.v[1][1]=n,i.v[2][0]=t,i.v[2][1]=n+r,i.v[3][0]=o?t-a:t+a,i.v[3][1]=n,i.i[0][0]=o?t-a*e:t+a*e,i.i[0][1]=n-r,i.i[1][0]=o?t+a:t-a,i.i[1][1]=n-r*e,i.i[2][0]=o?t+a*e:t-a*e,i.i[2][1]=n+r,i.i[3][0]=o?t-a:t+a,i.i[3][1]=n+r*e,i.o[0][0]=o?t+a*e:t-a*e,i.o[0][1]=n-r,i.o[1][0]=o?t+a:t-a,i.o[1][1]=n+r*e,i.o[2][0]=o?t-a*e:t+a*e,i.o[2][1]=n+r,i.o[3][0]=o?t-a:t+a,i.o[3][1]=n-r*e}},extendPrototype([DynamicPropertyContainer],t),t}(),d=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,n,a,r=2*Math.floor(this.pt.v),o=2*Math.PI/r,i=!0,l=this.or.v,s=this.ir.v,d=this.os.v,c=this.is.v,u=2*Math.PI*l/(2*r),h=2*Math.PI*s/(2*r),p=-Math.PI/2;p+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<r;e+=1){n=i?d:c,a=i?u:h;var m=(t=i?l:s)*Math.cos(p),g=t*Math.sin(p),y=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),v=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-y*a*n*f,g-v*a*n*f,m+y*a*n*f,g+v*a*n*f,e,!0),i=!i,p+=o*f}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),n=2*Math.PI/t,a=this.or.v,r=this.os.v,o=2*Math.PI*a/(4*t),i=.5*-Math.PI,l=3===this.data.d?-1:1;for(i+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var s=a*Math.cos(i),d=a*Math.sin(i),c=0===s&&0===d?0:d/Math.sqrt(s*s+d*d),u=0===s&&0===d?0:-s/Math.sqrt(s*s+d*d);s+=+this.p.v[0],d+=+this.p.v[1],this.v.setTripleAt(s,d,s-c*o*r*l,d-u*o*r*l,s+c*o*r*l,d+u*o*r*l,e,!0),i+=n*l}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),c=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],n=this.s.v[0]/2,a=this.s.v[1]/2,r=bmMin(n,a,this.r.v),o=r*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+n,t-a+r,e+n,t-a+r,e+n,t-a+o,0,!0),this.v.setTripleAt(e+n,t+a-r,e+n,t+a-o,e+n,t+a-r,1,!0),0!==r?(this.v.setTripleAt(e+n-r,t+a,e+n-r,t+a,e+n-o,t+a,2,!0),this.v.setTripleAt(e-n+r,t+a,e-n+o,t+a,e-n+r,t+a,3,!0),this.v.setTripleAt(e-n,t+a-r,e-n,t+a-r,e-n,t+a-o,4,!0),this.v.setTripleAt(e-n,t-a+r,e-n,t-a+o,e-n,t-a+r,5,!0),this.v.setTripleAt(e-n+r,t-a,e-n+r,t-a,e-n+o,t-a,6,!0),this.v.setTripleAt(e+n-r,t-a,e+n-o,t-a,e+n-r,t-a,7,!0)):(this.v.setTripleAt(e-n,t+a,e-n+o,t+a,e-n,t+a,2),this.v.setTripleAt(e-n,t-a,e-n,t-a+o,e-n,t-a,3))):(this.v.setTripleAt(e+n,t-a+r,e+n,t-a+o,e+n,t-a+r,0,!0),0!==r?(this.v.setTripleAt(e+n-r,t-a,e+n-r,t-a,e+n-o,t-a,1,!0),this.v.setTripleAt(e-n+r,t-a,e-n+o,t-a,e-n+r,t-a,2,!0),this.v.setTripleAt(e-n,t-a+r,e-n,t-a+r,e-n,t-a+o,3,!0),this.v.setTripleAt(e-n,t+a-r,e-n,t+a-o,e-n,t+a-r,4,!0),this.v.setTripleAt(e-n+r,t+a,e-n+r,t+a,e-n+o,t+a,5,!0),this.v.setTripleAt(e+n-r,t+a,e+n-o,t+a,e+n-r,t+a,6,!0),this.v.setTripleAt(e+n,t+a-r,e+n,t+a-r,e+n,t+a-o,7,!0)):(this.v.setTripleAt(e-n,t-a,e-n+o,t-a,e-n,t-a,1,!0),this.v.setTripleAt(e-n,t+a,e-n,t+a-o,e-n,t+a,2,!0),this.v.setTripleAt(e+n,t+a,e+n-o,t+a,e+n,t+a,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}(),u={getShapeProp:function(e,t,n){var a;return 3===n||4===n?a=(3===n?t.pt:t.ks).k.length?new l(e,t,n):new o(e,t,n):5===n?a=new c(e,t):6===n?a=new s(e,t):7===n&&(a=new d(e,t)),a.k&&e.addDynamicProperty(a),a},getConstructorFunction:function(){return o},getKeyframedConstructorFunction:function(){return l}};return u}(),Matrix=function(){var e=Math.cos,t=Math.sin,n=Math.tan,a=Math.round;function r(){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 o(n){if(0===n)return this;var a=e(n),r=t(n);return this._t(a,-r,0,0,r,a,0,0,0,0,1,0,0,0,0,1)}function i(n){if(0===n)return this;var a=e(n),r=t(n);return this._t(1,0,0,0,0,a,-r,0,0,r,a,0,0,0,0,1)}function l(n){if(0===n)return this;var a=e(n),r=t(n);return this._t(a,0,r,0,0,1,0,0,-r,0,a,0,0,0,0,1)}function s(n){if(0===n)return this;var a=e(n),r=t(n);return this._t(a,-r,0,0,r,a,0,0,0,0,1,0,0,0,0,1)}function d(e,t){return this._t(1,t,e,1,0,0)}function c(e,t){return this.shear(n(e),n(t))}function u(a,r){var o=e(r),i=t(r);return this._t(o,i,0,0,-i,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(a),1,0,0,0,0,1,0,0,0,0,1)._t(o,-i,0,0,i,o,0,0,0,0,1,0,0,0,0,1)}function h(e,t,n){return n||0===n||(n=1),1===e&&1===t&&1===n?this:this._t(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1)}function p(e,t,n,a,r,o,i,l,s,d,c,u,h,p,f,m){return this.props[0]=e,this.props[1]=t,this.props[2]=n,this.props[3]=a,this.props[4]=r,this.props[5]=o,this.props[6]=i,this.props[7]=l,this.props[8]=s,this.props[9]=d,this.props[10]=c,this.props[11]=u,this.props[12]=h,this.props[13]=p,this.props[14]=f,this.props[15]=m,this}function f(e,t,n){return n=n||0,0!==e||0!==t||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,n,1):this}function m(e,t,n,a,r,o,i,l,s,d,c,u,h,p,f,m){var g=this.props;if(1===e&&0===t&&0===n&&0===a&&0===r&&1===o&&0===i&&0===l&&0===s&&0===d&&1===c&&0===u)return g[12]=g[12]*e+g[15]*h,g[13]=g[13]*o+g[15]*p,g[14]=g[14]*c+g[15]*f,g[15]*=m,this._identityCalculated=!1,this;var y=g[0],v=g[1],_=g[2],b=g[3],x=g[4],k=g[5],E=g[6],M=g[7],S=g[8],w=g[9],$=g[10],R=g[11],C=g[12],P=g[13],T=g[14],L=g[15];return g[0]=y*e+v*r+_*s+b*h,g[1]=y*t+v*o+_*d+b*p,g[2]=y*n+v*i+_*c+b*f,g[3]=y*a+v*l+_*u+b*m,g[4]=x*e+k*r+E*s+M*h,g[5]=x*t+k*o+E*d+M*p,g[6]=x*n+k*i+E*c+M*f,g[7]=x*a+k*l+E*u+M*m,g[8]=S*e+w*r+$*s+R*h,g[9]=S*t+w*o+$*d+R*p,g[10]=S*n+w*i+$*c+R*f,g[11]=S*a+w*l+$*u+R*m,g[12]=C*e+P*r+T*s+L*h,g[13]=C*t+P*o+T*d+L*p,g[14]=C*n+P*i+T*c+L*f,g[15]=C*a+P*l+T*u+L*m,this._identityCalculated=!1,this}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function y(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function v(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function _(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function b(e,t,n){return{x:e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}}function x(e,t,n){return e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12]}function k(e,t,n){return e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13]}function E(e,t,n){return e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}function M(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,n=-this.props[1]/e,a=-this.props[4]/e,r=this.props[0]/e,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,i=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,l=new Matrix;return l.props[0]=t,l.props[1]=n,l.props[4]=a,l.props[5]=r,l.props[12]=o,l.props[13]=i,l}function S(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function w(e){var t,n=e.length,a=[];for(t=0;t<n;t+=1)a[t]=S(e[t]);return a}function $(e,t,n){var a=createTypedArray("float32",6);if(this.isIdentity())a[0]=e[0],a[1]=e[1],a[2]=t[0],a[3]=t[1],a[4]=n[0],a[5]=n[1];else{var r=this.props[0],o=this.props[1],i=this.props[4],l=this.props[5],s=this.props[12],d=this.props[13];a[0]=e[0]*r+e[1]*i+s,a[1]=e[0]*o+e[1]*l+d,a[2]=t[0]*r+t[1]*i+s,a[3]=t[0]*o+t[1]*l+d,a[4]=n[0]*r+n[1]*i+s,a[5]=n[0]*o+n[1]*l+d}return a}function R(e,t,n){return this.isIdentity()?[e,t,n]:[e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]]}function C(e,t){if(this.isIdentity())return e+","+t;var n=this.props;return Math.round(100*(e*n[0]+t*n[4]+n[12]))/100+","+Math.round(100*(e*n[1]+t*n[5]+n[13]))/100}function P(){for(var e=0,t=this.props,n="matrix3d(";e<16;)n+=a(1e4*t[e])/1e4,n+=15===e?")":",",e+=1;return n}function T(e){return e<1e-6&&e>0||e>-1e-6&&e<0?a(1e4*e)/1e4:e}function L(){var e=this.props;return"matrix("+T(e[0])+","+T(e[1])+","+T(e[4])+","+T(e[5])+","+T(e[12])+","+T(e[13])+")"}return function(){this.reset=r,this.rotate=o,this.rotateX=i,this.rotateY=l,this.rotateZ=s,this.skew=c,this.skewFromAxis=u,this.shear=d,this.scale=h,this.setTransform=p,this.translate=f,this.transform=m,this.applyToPoint=b,this.applyToX=x,this.applyToY=k,this.applyToZ=E,this.applyToPointArray=R,this.applyToTriplePoints=$,this.applyToPointStringified=C,this.toCSS=P,this.to2dCSS=L,this.clone=v,this.cloneFromProps=_,this.equals=y,this.inversePoints=w,this.inversePoint=S,this.getInverseMatrix=M,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})(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if("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)}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("&"),n=0;n<t.length;n+=1){var a=t[n].split("=");if(decodeURIComponent(a[0])==e)return decodeURIComponent(a[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.10.2";var queryString="",scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer");var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=(t={},e={},t.registerModifier=function(t,n){e[t]||(e[t]=n)},t.getModifier=function(t,n,a){return new e[t](n,a)},t),t,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,n,a,r){var o=[];t<=1?o.push({s:e,e:t}):e>=1?o.push({s:e-1,e:t-1}):(o.push({s:e,e:1}),o.push({s:0,e:t-1}));var i,l,s=[],d=o.length;for(i=0;i<d;i+=1){var c,u;(l=o[i]).e*r<a||l.s*r>a+n||(c=l.s*r<=a?0:(l.s*r-a)/n,u=l.e*r>=a+n?1:(l.e*r-a)/n,s.push([c,u]))}return s.length||s.push([0,0]),s},TrimModifier.prototype.releasePathsData=function(e){var t,n=e.length;for(t=0;t<n;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,n,a,r;if(this._mdf||e){var o=this.o.v%360/360;if(o<0&&(o+=1),(t=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o)>(n=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o)){var i=t;t=n,n=i}t=1e-4*Math.round(1e4*t),n=1e-4*Math.round(1e4*n),this.sValue=t,this.eValue=n}else t=this.sValue,n=this.eValue;var l,s,d,c,u,h=this.shapes.length,p=0;if(n===t)for(r=0;r<h;r+=1)this.shapes[r].localShapeCollection.releaseShapes(),this.shapes[r].shape._mdf=!0,this.shapes[r].shape.paths=this.shapes[r].localShapeCollection,this._mdf&&(this.shapes[r].pathsData.length=0);else if(1===n&&0===t||0===n&&1===t){if(this._mdf)for(r=0;r<h;r+=1)this.shapes[r].pathsData.length=0,this.shapes[r].shape._mdf=!0}else{var f,m,g=[];for(r=0;r<h;r+=1)if((f=this.shapes[r]).shape._mdf||this._mdf||e||2===this.m){if(s=(a=f.shape.paths)._length,u=0,!f.shape._mdf&&f.pathsData.length)u=f.totalShapeLength;else{for(d=this.releasePathsData(f.pathsData),l=0;l<s;l+=1)c=bez.getSegmentsLength(a.shapes[l]),d.push(c),u+=c.totalLength;f.totalShapeLength=u,f.pathsData=d}p+=u,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var y,v=t,_=n,b=0;for(r=h-1;r>=0;r-=1)if((f=this.shapes[r]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),2===this.m&&h>1?(y=this.calculateShapeEdges(t,n,f.totalShapeLength,b,p),b+=f.totalShapeLength):y=[[v,_]],s=y.length,l=0;l<s;l+=1){v=y[l][0],_=y[l][1],g.length=0,_<=1?g.push({s:f.totalShapeLength*v,e:f.totalShapeLength*_}):v>=1?g.push({s:f.totalShapeLength*(v-1),e:f.totalShapeLength*(_-1)}):(g.push({s:f.totalShapeLength*v,e:f.totalShapeLength}),g.push({s:0,e:f.totalShapeLength*(_-1)}));var x=this.addShapes(f,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var k=x.pop();this.addPaths(x,m),x=this.addShapes(f,g[1],k)}else this.addPaths(x,m),x=this.addShapes(f,g[1]);this.addPaths(x,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var n,a=e.length;for(n=0;n<a;n+=1)t.addShape(e[n])},TrimModifier.prototype.addSegment=function(e,t,n,a,r,o,i){r.setXYAt(t[0],t[1],"o",o),r.setXYAt(n[0],n[1],"i",o+1),i&&r.setXYAt(e[0],e[1],"v",o),r.setXYAt(a[0],a[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,n,a){t.setXYAt(e[1],e[5],"o",n),t.setXYAt(e[2],e[6],"i",n+1),a&&t.setXYAt(e[0],e[4],"v",n),t.setXYAt(e[3],e[7],"v",n+1)},TrimModifier.prototype.addShapes=function(e,t,n){var a,r,o,i,l,s,d,c,u=e.pathsData,h=e.shape.paths.shapes,p=e.shape.paths._length,f=0,m=[],g=!0;for(n?(l=n._length,c=n._length):(n=shapePool.newElement(),l=0,c=0),m.push(n),a=0;a<p;a+=1){for(s=u[a].lengths,n.c=h[a].c,o=h[a].c?s.length:s.length+1,r=1;r<o;r+=1)if(f+(i=s[r-1]).addedLength<t.s)f+=i.addedLength,n.c=!1;else{if(f>t.e){n.c=!1;break}t.s<=f&&t.e>=f+i.addedLength?(this.addSegment(h[a].v[r-1],h[a].o[r-1],h[a].i[r],h[a].v[r],n,l,g),g=!1):(d=bez.getNewSegment(h[a].v[r-1],h[a].v[r],h[a].o[r-1],h[a].i[r],(t.s-f)/i.addedLength,(t.e-f)/i.addedLength,s[r-1]),this.addSegmentFromArray(d,n,l,g),g=!1,n.c=!1),f+=i.addedLength,l+=1}if(h[a].c&&s.length){if(i=s[r-1],f<=t.e){var y=s[r-1].addedLength;t.s<=f&&t.e>=f+y?(this.addSegment(h[a].v[r-1],h[a].o[r-1],h[a].i[0],h[a].v[0],n,l,g),g=!1):(d=bez.getNewSegment(h[a].v[r-1],h[a].v[0],h[a].o[r-1],h[a].i[0],(t.s-f)/y,(t.e-f)/y,s[r-1]),this.addSegmentFromArray(d,n,l,g),g=!1,n.c=!1)}else n.c=!1;f+=i.addedLength,l+=1}if(n._length&&(n.setXYAt(n.v[c][0],n.v[c][1],"i",c),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),f>t.e)break;a<p-1&&(n=shapePool.newElement(),g=!0,m.push(n),l=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 n=t/100,a=[0,0],r=e._length,o=0;for(o=0;o<r;o+=1)a[0]+=e.v[o][0],a[1]+=e.v[o][1];a[0]/=r,a[1]/=r;var i,l,s,d,c,u,h=shapePool.newElement();for(h.c=e.c,o=0;o<r;o+=1)i=e.v[o][0]+(a[0]-e.v[o][0])*n,l=e.v[o][1]+(a[1]-e.v[o][1])*n,s=e.o[o][0]+(a[0]-e.o[o][0])*-n,d=e.o[o][1]+(a[1]-e.o[o][1])*-n,c=e.i[o][0]+(a[0]-e.i[o][0])*-n,u=e.i[o][1]+(a[1]-e.i[o][1])*-n,h.setTripleAt(i,l,s,d,c,u,o);return h},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,n,a,r,o,i,l=this.shapes.length,s=this.amount.v;if(0!==s)for(n=0;n<l;n+=1){if(i=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,r=o.shape.paths._length,a=0;a<r;a+=1)i.addShape(this.processPath(t[a],s));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,n){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(n||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 a,r=t.or.k.length;for(a=0;a<r;a+=1)t.or.k[a].to=null,t.or.k[a].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 n;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 a,r;if(n=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(a=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),r=this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(a=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),r=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(a=this.p.pv,r=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){a=[],r=[];var o=this.px,i=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(a[0]=o.getValueAtTime((o.keyframes[0].t+.01)/n,0),a[1]=i.getValueAtTime((i.keyframes[0].t+.01)/n,0),r[0]=o.getValueAtTime(o.keyframes[0].t/n,0),r[1]=i.getValueAtTime(i.keyframes[0].t/n,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(a[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/n,0),a[1]=i.getValueAtTime(i.keyframes[i.keyframes.length-1].t/n,0),r[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/n,0),r[1]=i.getValueAtTime((i.keyframes[i.keyframes.length-1].t-.01)/n,0)):(a=[o.pv,i.pv],r[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/n,o.offsetTime),r[1]=i.getValueAtTime((i._caching.lastFrame+i.offsetTime-.01)/n,i.offsetTime))}else a=r=e;this.v.rotate(-Math.atan2(a[1]-r[1],a[0]-r[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}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,n,a){return new t(e,n,a)}}}();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,n){return e*(1-n)+t*n}function lerpPoint(e,t,n){return[lerp(e[0],t[0],n),lerp(e[1],t[1],n)]}function quadRoots(e,t,n){if(0===e)return[];var a=t*t-4*e*n;if(a<0)return[];var r=-t/(2*e);if(0===a)return[r];var o=Math.sqrt(a)/(2*e);return[r-o,r+o]}function polynomialCoefficients(e,t,n,a){return[3*t-e-3*n+a,3*e-6*t+3*n,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,n,a,r){r&&pointEqual(e,t)&&(t=lerpPoint(e,a,1/3)),r&&pointEqual(n,a)&&(n=lerpPoint(e,a,2/3));var o=polynomialCoefficients(e[0],t[0],n[0],a[0]),i=polynomialCoefficients(e[1],t[1],n[1],a[1]);this.a=[o[0],i[0]],this.b=[o[1],i[1]],this.c=[o[2],i[2]],this.d=[o[3],i[3]],this.points=[e,t,n,a]}function extrema(e,t){var n=e.points[0][t],a=e.points[e.points.length-1][t];if(n>a){var r=a;a=n,n=r}for(var o=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),i=0;i<o.length;i+=1)if(o[i]>0&&o[i]<1){var l=e.point(o[i])[t];l<n?n=l:l>a&&(a=l)}return{min:n,max:a}}function intersectData(e,t,n){var a=e.boundingBox();return{cx:a.cx,cy:a.cy,width:a.width,height:a.height,bez:e,t:(t+n)/2,t1:t,t2:n}}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,n,a,r,o){if(boxIntersect(e,t))if(n>=o||e.width<=a&&e.height<=a&&t.width<=a&&t.height<=a)r.push([e.t,t.t]);else{var i=splitData(e),l=splitData(t);intersectsImpl(i[0],l[0],n+1,a,r,o),intersectsImpl(i[0],l[1],n+1,a,r,o),intersectsImpl(i[1],l[0],n+1,a,r,o),intersectsImpl(i[1],l[1],n+1,a,r,o)}}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,n,a){var r=[e[0],e[1],1],o=[t[0],t[1],1],i=[n[0],n[1],1],l=[a[0],a[1],1],s=crossProduct(crossProduct(r,o),crossProduct(i,l));return floatZero(s[2])?null:[s[0]/s[2],s[1]/s[2]]}function polarOffset(e,t,n){return[e[0]+Math.cos(t)*n,e[1]-Math.sin(t)*n]}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,n,a,r,o,i){var l=n-Math.PI/2,s=n+Math.PI/2,d=t[0]+Math.cos(n)*a*r,c=t[1]-Math.sin(n)*a*r;e.setTripleAt(d,c,d+Math.cos(l)*o,c-Math.sin(l)*o,d+Math.cos(s)*i,c-Math.sin(s)*i,e.length())}function getPerpendicularVector(e,t){var n=[t[0]-e[0],t[1]-e[1]],a=.5*-Math.PI;return[Math.cos(a)*n[0]-Math.sin(a)*n[1],Math.sin(a)*n[0]+Math.cos(a)*n[1]]}function getProjectingAngle(e,t){var n=0===t?e.length()-1:t-1,a=(t+1)%e.length(),r=getPerpendicularVector(e.v[n],e.v[a]);return Math.atan2(0,1)-Math.atan2(r[1],r[0])}function zigZagCorner(e,t,n,a,r,o,i){var l=getProjectingAngle(t,n),s=t.v[n%t._length],d=t.v[0===n?t._length-1:n-1],c=t.v[(n+1)%t._length],u=2===o?Math.sqrt(Math.pow(s[0]-d[0],2)+Math.pow(s[1]-d[1],2)):0,h=2===o?Math.sqrt(Math.pow(s[0]-c[0],2)+Math.pow(s[1]-c[1],2)):0;setPoint(e,t.v[n%t._length],l,i,a,h/(2*(r+1)),u/(2*(r+1)))}function zigZagSegment(e,t,n,a,r,o){for(var i=0;i<a;i+=1){var l=(i+1)/(a+1),s=2===r?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,d=t.normalAngle(l);setPoint(e,t.point(l),d,o,n,s/(2*(a+1)),s/(2*(a+1))),o=-o}return o}function linearOffset(e,t,n){var a=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,a,n),polarOffset(t,a,n)]}function offsetSegment(e,t){var n,a,r,o,i,l,s;n=(s=linearOffset(e.points[0],e.points[1],t))[0],a=s[1],r=(s=linearOffset(e.points[1],e.points[2],t))[0],o=s[1],i=(s=linearOffset(e.points[2],e.points[3],t))[0],l=s[1];var d=lineIntersection(n,a,r,o);null===d&&(d=a);var c=lineIntersection(i,l,r,o);return null===c&&(c=i),new PolynomialBezier(n,d,c,l)}function joinLines(e,t,n,a,r){var o=t.points[3],i=n.points[0];if(3===a)return o;if(pointEqual(o,i))return o;if(2===a){var l=-t.tangentAngle(1),s=-n.tangentAngle(0)+Math.PI,d=lineIntersection(o,polarOffset(o,l+Math.PI/2,100),i,polarOffset(i,l+Math.PI/2,100)),c=d?pointDistance(d,o):pointDistance(o,i)/2,u=polarOffset(o,l,2*c*roundCorner);return e.setXYAt(u[0],u[1],"o",e.length()-1),u=polarOffset(i,s,2*c*roundCorner),e.setTripleAt(i[0],i[1],i[0],i[1],u[0],u[1],e.length()),i}var h=lineIntersection(pointEqual(o,t.points[2])?t.points[0]:t.points[2],o,i,pointEqual(i,n.points[1])?n.points[3]:n.points[1]);return h&&pointDistance(h,o)<r?(e.setTripleAt(h[0],h[1],h[0],h[1],h[0],h[1],e.length()),h):o}function getIntersection(e,t){var n=e.intersections(t);return n.length&&floatEqual(n[0][0],1)&&n.shift(),n.length?n[0]:null}function pruneSegmentIntersection(e,t){var n=e.slice(),a=t.slice(),r=getIntersection(e[e.length-1],t[0]);return r&&(n[e.length-1]=e[e.length-1].split(r[0])[0],a[0]=t[0].split(r[1])[1]),e.length>1&&t.length>1&&(r=getIntersection(e[0],t[t.length-1]))?[[e[0].split(r[0])[0]],[t[t.length-1].split(r[1])[1]]]:[n,a]}function pruneIntersections(e){for(var t,n=1;n<e.length;n+=1)t=pruneSegmentIntersection(e[n-1],e[n]),e[n-1]=t[0],e[n]=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 n,a,r,o,i=e.inflectionPoints();if(0===i.length)return[offsetSegment(e,t)];if(1===i.length||floatEqual(i[1],1))return n=(r=e.split(i[0]))[0],a=r[1],[offsetSegment(n,t),offsetSegment(a,t)];n=(r=e.split(i[0]))[0];var l=(i[1]-i[0])/(1-i[0]);return o=(r=r[1].split(l))[0],a=r[1],[offsetSegment(n,t),offsetSegment(o,t),offsetSegment(a,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],n="normal",a="normal",r=t.length,o=0;o<r;o+=1)switch(t[o].toLowerCase()){case"italic":a="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200"}return{style:a,weight:e.fWeight||n}}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,n,a,r,o){var i=o?-1:1,l=a.s.v[0]+(1-a.s.v[0])*(1-r),s=a.s.v[1]+(1-a.s.v[1])*(1-r);e.translate(a.p.v[0]*i*r,a.p.v[1]*i*r,a.p.v[2]),t.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),t.rotate(-a.r.v*i*r),t.translate(a.a.v[0],a.a.v[1],a.a.v[2]),n.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),n.scale(o?1/l:l,o?1/s:s),n.translate(a.a.v[0],a.a.v[1],a.a.v[2])},RepeaterModifier.prototype.init=function(e,t,n,a){for(this.elem=e,this.arr=t,this.pos=n,this.elemsData=a,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[n]);n>0;)n-=1,this._elements.unshift(t[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,n=e.length;for(t=0;t<n;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 n,a=e.length;for(n=0;n<a;n+=1)e[n]._render=t,"gr"===e[n].ty&&this.changeGroupRender(e[n].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,n,a,r,o,i=!1;if(this._mdf||e){var l,s=Math.ceil(this.c.v);if(this._groups.length<s){for(;this._groups.length<s;){var d={it:this.cloneElements(this._elements),ty:"gr"};d.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,d),this._groups.splice(0,0,d),this._currentCopies+=1}this.elem.reloadShapes(),i=!0}for(o=0,a=0;a<=this._groups.length-1;a+=1){if(l=o<s,this._groups[a]._render=l,this.changeGroupRender(this._groups[a].it,l),!l){var c=this.elemsData[a].it,u=c[c.length-1];0!==u.transform.op.v?(u.transform.op._mdf=!0,u.transform.op.v=0):u.transform.op._mdf=!1}o+=1}this._currentCopies=s;var h=this.o.v,p=h%1,f=h>0?Math.floor(h):Math.ceil(h),m=this.pMatrix.props,g=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,_,b=0;if(h>0){for(;b<f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),b+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),b+=p)}else if(h<0){for(;b>f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),b-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),b-=p)}for(a=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,o=this._currentCopies;o;){if(_=(n=(t=this.elemsData[a].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)*(a/(this._currentCopies-1)),0!==b){for((0!==a&&1===r||a!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<_;v+=1)n[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<_;v+=1)n[v]=this.matrix.props[v];b+=1,o-=1,a+=r}}else for(o=this._currentCopies,a=0,r=1;o;)n=(t=this.elemsData[a].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,o-=1,a+=r;return i},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 n,a=shapePool.newElement();a.c=e.c;var r,o,i,l,s,d,c,u,h,p,f,m,g=e._length,y=0;for(n=0;n<g;n+=1)r=e.v[n],i=e.o[n],o=e.i[n],r[0]===i[0]&&r[1]===i[1]&&r[0]===o[0]&&r[1]===o[1]?0!==n&&n!==g-1||e.c?(l=0===n?e.v[g-1]:e.v[n-1],d=(s=Math.sqrt(Math.pow(r[0]-l[0],2)+Math.pow(r[1]-l[1],2)))?Math.min(s/2,t)/s:0,c=f=r[0]+(l[0]-r[0])*d,u=m=r[1]-(r[1]-l[1])*d,h=c-(c-r[0])*roundCorner,p=u-(u-r[1])*roundCorner,a.setTripleAt(c,u,h,p,f,m,y),y+=1,l=n===g-1?e.v[0]:e.v[n+1],d=(s=Math.sqrt(Math.pow(r[0]-l[0],2)+Math.pow(r[1]-l[1],2)))?Math.min(s/2,t)/s:0,c=h=r[0]+(l[0]-r[0])*d,u=p=r[1]+(l[1]-r[1])*d,f=c-(c-r[0])*roundCorner,m=u-(u-r[1])*roundCorner,a.setTripleAt(c,u,h,p,f,m,y),y+=1):(a.setTripleAt(r[0],r[1],i[0],i[1],o[0],o[1],y),y+=1):(a.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],y),y+=1);return a},RoundCornersModifier.prototype.processShapes=function(e){var t,n,a,r,o,i,l=this.shapes.length,s=this.rd.v;if(0!==s)for(n=0;n<l;n+=1){if(i=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,r=o.shape.paths._length,a=0;a<r;a+=1)i.addShape(this.processPath(t[a],s));o.shape.paths=o.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,n=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(n<0)return[];var a=Math.sqrt(n);return floatZero(a)?a>0&&a<1?[t]:[]:[t-a,t+a].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),n=lerpPoint(this.points[1],this.points[2],e),a=lerpPoint(this.points[2],this.points[3],e),r=lerpPoint(t,n,e),o=lerpPoint(n,a,e),i=lerpPoint(r,o,e);return[new PolynomialBezier(this.points[0],t,r,i,!0),new PolynomialBezier(i,o,a,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,n){void 0===t&&(t=2),void 0===n&&(n=7);var a=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,a,n),a},PolynomialBezier.shapeSegment=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[n],e.v[n],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[n],e.i[n],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,n,a){var r=e._length,o=shapePool.newElement();if(o.c=e.c,e.c||(r-=1),0===r)return o;var i=-1,l=PolynomialBezier.shapeSegment(e,0);zigZagCorner(o,e,0,t,n,a,i);for(var s=0;s<r;s+=1)i=zigZagSegment(o,l,t,n,a,-i),l=s!==r-1||e.c?PolynomialBezier.shapeSegment(e,(s+1)%r):null,zigZagCorner(o,e,s+1,t,n,a,i);return o},ZigZagModifier.prototype.processShapes=function(e){var t,n,a,r,o,i,l=this.shapes.length,s=this.amplitude.v,d=Math.max(0,Math.round(this.frequency.v)),c=this.pointsType.v;if(0!==s)for(n=0;n<l;n+=1){if(i=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,r=o.shape.paths._length,a=0;a<r;a+=1)i.addShape(this.processPath(t[a],s,d,c));o.shape.paths=o.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,n,a){var r=shapePool.newElement();r.c=e.c;var o,i,l,s=e.length();e.c||(s-=1);var d=[];for(o=0;o<s;o+=1)l=PolynomialBezier.shapeSegment(e,o),d.push(offsetSegmentSplit(l,t));if(!e.c)for(o=s-1;o>=0;o-=1)l=PolynomialBezier.shapeSegmentInverted(e,o),d.push(offsetSegmentSplit(l,t));d=pruneIntersections(d);var c=null,u=null;for(o=0;o<d.length;o+=1){var h=d[o];for(u&&(c=joinLines(r,u,h[0],n,a)),u=h[h.length-1],i=0;i<h.length;i+=1)l=h[i],c&&pointEqual(l.points[0],c)?r.setXYAt(l.points[1][0],l.points[1][1],"o",r.length()-1):r.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],r.length()),r.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],r.length()),c=l.points[3]}return d.length&&joinLines(r,u,d[0][0],n,a),r},OffsetPathModifier.prototype.processShapes=function(e){var t,n,a,r,o,i,l=this.shapes.length,s=this.amount.v,d=this.miterLimit.v,c=this.lineJoin;if(0!==s)for(n=0;n<l;n+=1){if(i=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,r=o.shape.paths._length,a=0;a<r;a+=1)i.addShape(this.processPath(t[a],s,c,d));o.shape.paths=o.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 n=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],a=[65039,8205];function r(e,t){var n=createTag("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=t;var a=createTag("span");a.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(a),document.body.appendChild(n);var r=a.offsetWidth;return a.style.fontFamily=function(e){var t,n=e.split(","),a=n.length,r=[];for(t=0;t<a;t+=1)"sans-serif"!==n[t]&&"monospace"!==n[t]&&r.push(n[t]);return r.join(",")}(e)+", "+t,{node:a,w:r,parent:n}}function o(e,t){var n,a=document.body&&t?"svg":"canvas",r=getFontProperties(e);if("svg"===a){var o=createNS("text");o.style.fontSize="100px",o.setAttribute("font-family",e.fFamily),o.setAttribute("font-style",r.style),o.setAttribute("font-weight",r.weight),o.textContent="1",e.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",e.fClass)):o.style.fontFamily=e.fFamily,t.appendChild(o),n=o}else{var i=new OffscreenCanvas(500,500).getContext("2d");i.font=r.style+" "+r.weight+" 100px "+e.fFamily,n=i}return{measureText:function(e){return"svg"===a?(n.textContent=e,n.getComputedTextLength()):n.measureText(e).width}}}var i=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)};return i.isModifier=function(e,t){var a=e.toString(16)+t.toString(16);return-1!==n.indexOf(a)},i.isZeroWidthJoiner=function(e,t){return t?e===a[0]&&t===a[1]:e===a[1]},i.isCombinedCharacter=function(e){return-1!==t.indexOf(e)},i.prototype={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var n,a,r=e.length,o=this.chars.length;for(t=0;t<r;t+=1){for(n=0,a=!1;n<o;)this.chars[n].style===e[t].style&&this.chars[n].fFamily===e[t].fFamily&&this.chars[n].ch===e[t].ch&&(a=!0),n+=1;a||(this.chars.push(e[t]),o+=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 n,a=e.list,i=a.length,l=i;for(n=0;n<i;n+=1){var s,d,c=!0;if(a[n].loaded=!1,a[n].monoCase=r(a[n].fFamily,"monospace"),a[n].sansCase=r(a[n].fFamily,"sans-serif"),a[n].fPath){if("p"===a[n].fOrigin||3===a[n].origin){if((s=document.querySelectorAll('style[f-forigin="p"][f-family="'+a[n].fFamily+'"], style[f-origin="3"][f-family="'+a[n].fFamily+'"]')).length>0&&(c=!1),c){var u=createTag("style");u.setAttribute("f-forigin",a[n].fOrigin),u.setAttribute("f-origin",a[n].origin),u.setAttribute("f-family",a[n].fFamily),u.type="text/css",u.innerText="@font-face {font-family: "+a[n].fFamily+"; font-style: normal; src: url('"+a[n].fPath+"');}",t.appendChild(u)}}else if("g"===a[n].fOrigin||1===a[n].origin){for(s=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),d=0;d<s.length;d+=1)-1!==s[d].href.indexOf(a[n].fPath)&&(c=!1);if(c){var h=createTag("link");h.setAttribute("f-forigin",a[n].fOrigin),h.setAttribute("f-origin",a[n].origin),h.type="text/css",h.rel="stylesheet",h.href=a[n].fPath,document.body.appendChild(h)}}else if("t"===a[n].fOrigin||2===a[n].origin){for(s=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),d=0;d<s.length;d+=1)a[n].fPath===s[d].src&&(c=!1);if(c){var p=createTag("link");p.setAttribute("f-forigin",a[n].fOrigin),p.setAttribute("f-origin",a[n].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",a[n].fPath),t.appendChild(p)}}}else a[n].loaded=!0,l-=1;a[n].helper=o(a[n],t),a[n].cache={},this.fonts.push(a[n])}0===l?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,n,a){for(var r=0,o=this.chars.length;r<o;){if(this.chars[r].ch===t&&this.chars[r].style===n&&this.chars[r].fFamily===a)return this.chars[r];r+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0),e},getFontByName:function(e){for(var t=0,n=this.fonts.length;t<n;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,n){var a=this.getFontByName(t),r=e.charCodeAt(0);if(!a.cache[r+1]){var o=a.helper;if(" "===e){var i=o.measureText("|"+e+"|"),l=o.measureText("||");a.cache[r+1]=(i-l)/100}else a.cache[r+1]=o.measureText(e)/100}return a.cache[r+1]*n},checkLoadedFonts:function(){var e,t,n,a=this.fonts.length,r=a;for(e=0;e<a;e+=1)this.fonts[e].loaded?r-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,n=this.fonts[e].monoCase.w,t.offsetWidth!==n?(r-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,n=this.fonts[e].sansCase.w,t.offsetWidth!==n&&(r-=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!==r&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}},i}();function RenderableElement(){}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=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(e){return blendModeEnums[e]||""}),blendModeEnums;function SliderEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function AngleEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function ColorEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function PointEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function LayerIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function MaskIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function CheckboxEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var n,a=e.ef||[];this.effectElements=[];var r,o=a.length;for(n=0;n<o;n+=1)r=new GroupEffect(a[n],t),this.effectElements.push(r)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function FootageElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,n)}function AudioElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,n),this._isPlaying=!1,this._canPlay=!1;var a=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(a),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(){}function TransformElement(){}function MaskElement(e,t,n){this.data=e,this.element=t,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var a,r,o=this.globalData.defs,i=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(i),this.solidPath="";var l,s,d,c,u,h,p=this.masksProperties,f=0,m=[],g=createElementID(),y="clipPath",v="clip-path";for(a=0;a<i;a+=1)if(("a"!==p[a].mode&&"n"!==p[a].mode||p[a].inv||100!==p[a].o.k||p[a].o.x)&&(y="mask",v="mask"),"s"!==p[a].mode&&"i"!==p[a].mode||0!==f?d=null:((d=createNS("rect")).setAttribute("fill","#ffffff"),d.setAttribute("width",this.element.comp.data.w||0),d.setAttribute("height",this.element.comp.data.h||0),m.push(d)),r=createNS("path"),"n"===p[a].mode)this.viewData[a]={op:PropertyFactory.getProp(this.element,p[a].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[a],3),elem:r,lastPath:""},o.appendChild(r);else{var _;if(f+=1,r.setAttribute("fill","s"===p[a].mode?"#000000":"#ffffff"),r.setAttribute("clip-rule","nonzero"),0!==p[a].x.k?(y="mask",v="mask",h=PropertyFactory.getProp(this.element,p[a].x,0,null,this.element),_=createElementID(),(c=createNS("filter")).setAttribute("id",_),(u=createNS("feMorphology")).setAttribute("operator","erode"),u.setAttribute("in","SourceGraphic"),u.setAttribute("radius","0"),c.appendChild(u),o.appendChild(c),r.setAttribute("stroke","s"===p[a].mode?"#000000":"#ffffff")):(u=null,h=null),this.storedData[a]={elem:r,x:h,expan:u,lastPath:"",lastOperator:"",filterId:_,lastRadius:0},"i"===p[a].mode){s=m.length;var b=createNS("g");for(l=0;l<s;l+=1)b.appendChild(m[l]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",g+"_"+f),x.appendChild(r),o.appendChild(x),b.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+f+")"),m.length=0,m.push(b)}else m.push(r);p[a].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[a]={elem:r,lastPath:"",op:PropertyFactory.getProp(this.element,p[a].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[a],3),invRect:d},this.viewData[a].prop.k||this.drawPath(p[a],this.viewData[a].prop.v,this.viewData[a])}for(this.maskElement=createNS(y),i=m.length,a=0;a<i;a+=1)this.maskElement.appendChild(m[a]);f>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var n;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var a,r=this.data.ef.length,o=this.data.ef;for(n=0;n<r;n+=1){switch(a=null,o[n].ty){case 0:a=new SliderEffect(o[n],t,this);break;case 1:a=new AngleEffect(o[n],t,this);break;case 2:a=new ColorEffect(o[n],t,this);break;case 3:a=new PointEffect(o[n],t,this);break;case 4:case 7:a=new CheckboxEffect(o[n],t,this);break;case 10:a=new LayerIndexEffect(o[n],t,this);break;case 11:a=new MaskIndexEffect(o[n],t,this);break;case 5:a=new EffectsManager(o[n],t);break;default:a=new NoValueEffect(o[n])}a&&this.effectElements.push(a)}},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"),n=e("effects"),a=e("shape"),r=e("text"),o=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var i=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(i),0===this.data.ty||this.data.xt?this.compInterface=o(this):4===this.data.ty?(this.layerInterface.shapeInterface=a(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=r(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,n){this.globalData=t,this.comp=n,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 n,a=this.dynamicProperties.length;for(n=0;n<a;n+=1)(t||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._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 n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},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,n,a=this.layers.length;for(this.completeLayers=!0,t=a-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t]).ip-n.st<=e-this.layers[t].st&&n.op-n.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 n,a=e.length,r=this.layers.length;for(t=0;t<a;t+=1)for(n=0;n<r;){if(this.layers[n].id===e[t].id){this.layers[n]=e[t];break}n+=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,n){for(var a=this.elements,r=this.layers,o=0,i=r.length;o<i;)r[o].ind==t&&(a[o]&&!0!==a[o]?(n.push(a[o]),a[o].setAsParent(),void 0!==r[o].parent?this.buildElementParenting(e,r[o].parent,n):e.setHierarchy(n)):(this.buildItem(o),this.addPendingElement(e))),o+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,n=e.length;for(t=0;t<n;t+=1)if(e[t].xt){var a=this.createComp(e[t]);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},BaseRenderer.prototype.getElementById=function(e){var t,n=this.elements.length;for(t=0;t<n;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t,n=e.shift();if("number"==typeof n)t=this.elements[n];else{var a,r=this.elements.length;for(a=0;a<r;a+=1)if(this.elements[a].data.nm===n){t=this.elements[a];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,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}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,n=0,a=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<a;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),n=0;n<a;n+=1)e=this.hierarchy[n].finalTransform.mProp.v.props,t.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var n,a=!0,r=this.comp;a;)r.finalTransform?(r.data.hasMask&&t.splice(0,0,r.finalTransform),r=r.comp):a=!1;var o,i=t.length;for(n=0;n<i;n+=1)o=t[n].mat.applyToPointArray(0,0,0),e=[e[0]-o[0],e[1]-o[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,n=this.element.finalTransform.mat,a=this.masksProperties.length;for(t=0;t<a;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",n.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var r=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+")")),r.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)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,n){var a,r,o=" M"+t.v[0][0]+","+t.v[0][1];for(r=t._length,a=1;a<r;a+=1)o+=" C"+t.o[a-1][0]+","+t.o[a-1][1]+" "+t.i[a][0]+","+t.i[a][1]+" "+t.v[a][0]+","+t.v[a][1];if(t.c&&r>1&&(o+=" C"+t.o[a-1][0]+","+t.o[a-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),n.lastPath!==o){var i="";n.elem&&(t.c&&(i=e.inv?this.solidPath+o:o),n.elem.setAttribute("d",i)),n.lastPath=o}},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 n=createNS("filter");return n.setAttribute("id",e),!0!==t&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n},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={},idPrefix="filter_result_";function SVGEffects(e){var t,n,a="SourceGraphic",r=e.data.ef?e.data.ef.length:0,o=createElementID(),i=filtersFactory.createFilter(o,!0),l=0;for(this.filters=[],t=0;t<r;t+=1){n=null;var s=e.data.ef[t].ty;registeredEffects[s]&&(n=new registeredEffects[s].effect(i,e.effectsManager.effectElements[t],e,idPrefix+l,a),a=idPrefix+l,registeredEffects[s].countsAsEffect&&(l+=1)),n&&this.filters.push(n)}l&&(e.globalData.defs.appendChild(i),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t,n){registeredEffects[e]={effect:t,countsAsEffect:n}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n),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,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},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 n=createNS("clipPath"),a=createNS("path");a.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var r=createElementID();if(n.setAttribute("id",r),n.appendChild(a),this.globalData.defs.appendChild(n),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")"),o.appendChild(this.layerElement),this.transformedElement=o,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,n,a,r,o=this.layerId+"_"+e;if(1===e||3===e){var i=createNS("mask");i.setAttribute("id",o),i.setAttribute("mask-type",3===e?"luminance":"alpha"),(a=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),i.appendChild(a),this.globalData.defs.appendChild(i),featureSupport.maskType||1!==e||(i.setAttribute("mask-type","luminance"),t=createElementID(),n=filtersFactory.createFilter(t),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(r=createNS("g")).appendChild(a),i.appendChild(r),r.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===e){var l=createNS("mask");l.setAttribute("id",o),l.setAttribute("mask-type","alpha");var s=createNS("g");l.appendChild(s),t=createElementID(),n=filtersFactory.createFilter(t);var d=createNS("feComponentTransfer");d.setAttribute("in","SourceGraphic"),n.appendChild(d);var c=createNS("feFuncA");c.setAttribute("type","table"),c.setAttribute("tableValues","1.0 0.0"),d.appendChild(c),this.globalData.defs.appendChild(n);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),s.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),s.appendChild(u),(a=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(a),featureSupport.maskType||(l.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),s.appendChild(u),r.appendChild(this.layerElement),s.appendChild(r)),this.globalData.defs.appendChild(l)}this.matteMasks[e]=o}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,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),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.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,n=this.shapeModifiers.length;for(t=0;t<n;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,n=0,a=t.length;n<a;){if(t[n].elem===e)return t[n].pos;n+=1}return 0},addProcessedElement:function(e,t){for(var n=this.processedElements,a=n.length;a;)if(n[a-=1].elem===e)return void(n[a].pos=t);n.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,n){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=n,this.lvl=t,this._isAnimated=!!n.k;for(var a=0,r=e.length;a<r;){if(e[a].mProps.dynamicProperties.length){this._isAnimated=!0;break}a+=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,n,a){var r;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(a);var o,i=t.length||0;for(r=0;r<i;r+=1)o=PropertyFactory.getProp(e,t[r].v,0,0,this),this.k=o.k||this.k,this.dataProps[r]={n:t[r].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,n){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=n,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,n){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=n}function SVGNoStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=n}function GradientProperty(e,t,n){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var a=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",a),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=a,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,n)}function SVGGradientStrokeStyleData(e,t,n){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,n),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,n){this.transform={mProps:e,op:t,container:n},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,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<n;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 n=0,a=this.o.length/2;n<a;){if(Math.abs(e[4*n]-e[4*t+2*n])>.01)return!1;n+=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,n,a,r=4*this.data.p;for(t=0;t<r;t+=1)n=t%4==0?100:255,a=Math.round(this.prop.v[t]*n),this.c[t]!==a&&(this.c[t]=a,this._cmdf=!e);if(this.o.length)for(r=this.prop.v.length,t=4*this.data.p;t<r;t+=1)n=t%2==0?100:1,a=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==a&&(this.o[t-4*this.data.p]=a,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,n){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=n,this.stops=[],this.setGradientData(n.pElem,t),this.setGradientOpacity(t,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var n=createElementID(),a=createNS(1===t.t?"linearGradient":"radialGradient");a.setAttribute("id",n),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse");var r,o,i,l=[];for(i=4*t.g.p,o=0;o<i;o+=4)r=createNS("stop"),a.appendChild(r),l.push(r);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+n+")"),this.gf=a,this.cst=l},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var n,a,r,o=createNS("mask"),i=createNS("path");o.appendChild(i);var l=createElementID(),s=createElementID();o.setAttribute("id",s);var d=createNS(1===e.t?"linearGradient":"radialGradient");d.setAttribute("id",l),d.setAttribute("spreadMethod","pad"),d.setAttribute("gradientUnits","userSpaceOnUse"),r=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var c=this.stops;for(a=4*e.g.p;a<r;a+=2)(n=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),d.appendChild(n),c.push(n);i.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+l+")"),"gs"===e.ty&&(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&i.setAttribute("stroke-miterlimit",e.ml)),this.of=d,this.ms=o,this.ost=c,this.maskId=s,t.msElem=i}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,n,a){if(0===t)return"";var r,o=e.o,i=e.i,l=e.v,s=" M"+a.applyToPointStringified(l[0][0],l[0][1]);for(r=1;r<t;r+=1)s+=" C"+a.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+a.applyToPointStringified(i[r][0],i[r][1])+" "+a.applyToPointStringified(l[r][0],l[r][1]);return n&&t&&(s+=" C"+a.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+a.applyToPointStringified(i[0][0],i[0][1])+" "+a.applyToPointStringified(l[0][0],l[0][1]),s+="z"),s},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function n(e,t,n){(n||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(n||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function a(){}function r(n,a,r){var o,i,l,s,d,c,u,h,p,f,m,g=a.styles.length,y=a.lvl;for(c=0;c<g;c+=1){if(s=a.sh._mdf||r,a.styles[c].lvl<y){for(h=t.reset(),f=y-a.styles[c].lvl,m=a.transformers.length-1;!s&&f>0;)s=a.transformers[m].mProps._mdf||s,f-=1,m-=1;if(s)for(f=y-a.styles[c].lvl,m=a.transformers.length-1;f>0;)p=a.transformers[m].mProps.v.props,h.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),f-=1,m-=1}else h=e;if(i=(u=a.sh.paths)._length,s){for(l="",o=0;o<i;o+=1)(d=u.shapes[o])&&d._length&&(l+=buildShapeString(d,d._length,d.c,h));a.caches[c]=l}else l=a.caches[c];a.styles[c].d+=!0===n.hd?"":l,a.styles[c]._mdf=s||a.styles[c]._mdf}}function o(e,t,n){var a=t.style;(t.c._mdf||n)&&a.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&a.pElem.setAttribute("fill-opacity",t.o.v)}function i(e,t,n){l(e,t,n),s(0,t,n)}function l(e,t,n){var a,r,o,i,l,s=t.gf,d=t.g._hasOpacity,c=t.s.v,u=t.e.v;if(t.o._mdf||n){var h="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(h,t.o.v)}if(t.s._mdf||n){var p=1===e.t?"x1":"cx",f="x1"===p?"y1":"cy";s.setAttribute(p,c[0]),s.setAttribute(f,c[1]),d&&!t.g._collapsable&&(t.of.setAttribute(p,c[0]),t.of.setAttribute(f,c[1]))}if(t.g._cmdf||n){a=t.cst;var m=t.g.c;for(o=a.length,r=0;r<o;r+=1)(i=a[r]).setAttribute("offset",m[4*r]+"%"),i.setAttribute("stop-color","rgb("+m[4*r+1]+","+m[4*r+2]+","+m[4*r+3]+")")}if(d&&(t.g._omdf||n)){var g=t.g.o;for(o=(a=t.g._collapsable?t.cst:t.ost).length,r=0;r<o;r+=1)i=a[r],t.g._collapsable||i.setAttribute("offset",g[2*r]+"%"),i.setAttribute("stop-opacity",g[2*r+1])}if(1===e.t)(t.e._mdf||n)&&(s.setAttribute("x2",u[0]),s.setAttribute("y2",u[1]),d&&!t.g._collapsable&&(t.of.setAttribute("x2",u[0]),t.of.setAttribute("y2",u[1])));else if((t.s._mdf||t.e._mdf||n)&&(l=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)),s.setAttribute("r",l),d&&!t.g._collapsable&&t.of.setAttribute("r",l)),t.e._mdf||t.h._mdf||t.a._mdf||n){l||(l=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)));var y=Math.atan2(u[1]-c[1],u[0]-c[0]),v=t.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var _=l*v,b=Math.cos(y+t.a.v)*_+c[0],x=Math.sin(y+t.a.v)*_+c[1];s.setAttribute("fx",b),s.setAttribute("fy",x),d&&!t.g._collapsable&&(t.of.setAttribute("fx",b),t.of.setAttribute("fy",x))}}function s(e,t,n){var a=t.style,r=t.d;r&&(r._mdf||n)&&r.dashStr&&(a.pElem.setAttribute("stroke-dasharray",r.dashStr),a.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),t.c&&(t.c._mdf||n)&&a.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&a.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||n)&&(a.pElem.setAttribute("stroke-width",t.w.v),a.msElem&&a.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return o;case"gf":return l;case"gs":return i;case"st":return s;case"sh":case"el":case"rc":case"sr":return r;case"tr":return n;case"no":return a;default:return null}}}}();function SVGShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,n),this.prevViewData=[]}function LetterProps(e,t,n,a,r,o){this.o=e,this.sw=t,this.sc=n,this.fc=a,this.m=r,this.p=o,this._mdf={o:!0,sw:!!t,sc:!!n,fc:!!a,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,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,n,a,r=this.shapes.length,o=this.stylesList.length,i=[],l=!1;for(n=0;n<o;n+=1){for(a=this.stylesList[n],l=!1,i.length=0,e=0;e<r;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(a)&&(i.push(t),l=t._isAnimated||l);i.length>1&&l&&this.setShapesAsAnimated(i)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var n,a=new SVGStyleData(e,t),r=a.pElem;return"st"===e.ty?n=new SVGStrokeStyleData(this,e,a):"fl"===e.ty?n=new SVGFillStyleData(this,e,a):"gf"===e.ty||"gs"===e.ty?(n=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,a),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),r.setAttribute("mask","url("+getLocationHref()+"#"+n.maskId+")"))):"no"===e.ty&&(n=new SVGNoStyleData(this,e,a)),"st"!==e.ty&&"gs"!==e.ty||(r.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),r.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),r.setAttribute("fill-opacity","0"),1===e.lj&&r.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&r.setAttribute("fill-rule","evenodd"),e.ln&&r.setAttribute("id",e.ln),e.cl&&r.setAttribute("class",e.cl),e.bm&&(r.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(a),this.addToAnimatedContents(e,n),n},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 n=TransformPropertyFactory.getTransformProperty(this,e,this),a=new SVGTransformData(n,n.o,t);return this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.createShapeElement=function(e,t,n){var a=4;"rc"===e.ty?a=5:"el"===e.ty?a=6:"sr"===e.ty&&(a=7);var r=new SVGShapeData(t,n,ShapePropertyFactory.getShapeProp(this,e,a,this));return this.shapes.push(r),this.addShapeToModifiers(r),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var n=0,a=this.animatedContents.length;n<a;){if(this.animatedContents[n].element===t)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,n=e.styles,a=this.stylesList.length;for(t=0;t<a;t+=1)this.stylesList[t].closed||n.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,n,a,r,o,i){var l,s,d,c,u,h,p=[].concat(o),f=e.length-1,m=[],g=[];for(l=f;l>=0;l-=1){if((h=this.searchProcessedElement(e[l]))?t[l]=n[h-1]:e[l]._render=i,"fl"===e[l].ty||"st"===e[l].ty||"gf"===e[l].ty||"gs"===e[l].ty||"no"===e[l].ty)h?t[l].style.closed=!1:t[l]=this.createStyleElement(e[l],r),e[l]._render&&t[l].style.pElem.parentNode!==a&&a.appendChild(t[l].style.pElem),m.push(t[l].style);else if("gr"===e[l].ty){if(h)for(d=t[l].it.length,s=0;s<d;s+=1)t[l].prevViewData[s]=t[l].it[s];else t[l]=this.createGroupElement(e[l]);this.searchShapes(e[l].it,t[l].it,t[l].prevViewData,t[l].gr,r+1,p,i),e[l]._render&&t[l].gr.parentNode!==a&&a.appendChild(t[l].gr)}else"tr"===e[l].ty?(h||(t[l]=this.createTransformElement(e[l],a)),c=t[l].transform,p.push(c)):"sh"===e[l].ty||"rc"===e[l].ty||"el"===e[l].ty||"sr"===e[l].ty?(h||(t[l]=this.createShapeElement(e[l],p,r)),this.setElementStyles(t[l])):"tm"===e[l].ty||"rd"===e[l].ty||"ms"===e[l].ty||"pb"===e[l].ty||"zz"===e[l].ty||"op"===e[l].ty?(h?(u=t[l]).closed=!1:((u=ShapeModifiers.getModifier(e[l].ty)).init(this,e[l]),t[l]=u,this.shapeModifiers.push(u)),g.push(u)):"rp"===e[l].ty&&(h?(u=t[l]).closed=!0:(u=ShapeModifiers.getModifier(e[l].ty),t[l]=u,u.init(this,e,l,t),this.shapeModifiers.push(u),i=!1),g.push(u));this.addProcessedElement(e[l],l+1)}for(f=m.length,l=0;l<f;l+=1)m[l].closed=!0;for(f=g.length,l=0;l<f;l+=1)g[l].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,n=this.animatedContents.length;for(e=0;e<n;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,n,a,r,o){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 i=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,i=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,i=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,i=!0),this.fc!==a&&(this.fc=a,this._mdf.fc=!0,i=!0),this.m!==r&&(this.m=r,this._mdf.m=!0,i=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,i=!0),i},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);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,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var a;this.lock=!0,this._mdf=!1;var r=this.effectsSequence.length,o=e||this.data.d.k[this.keysIndex].s;for(a=0;a<r;a+=1)o=n!==this.keysIndex?this.effectsSequence[a](o,o.t):this.effectsSequence[a](this.currentData,o.t);t!==o&&this.setCurrentData(o),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,n=0,a=e.length;n<=a-1&&!(n===a-1||e[n+1].t>t);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,n,a=[],r=0,o=e.length,i=!1;r<o;)t=e.charCodeAt(r),FontManager.isCombinedCharacter(t)?a[a.length-1]+=e.charAt(r):t>=55296&&t<=56319?(n=e.charCodeAt(r+1))>=56320&&n<=57343?(i||FontManager.isModifier(t,n)?(a[a.length-1]+=e.substr(r,2),i=!1):a.push(e.substr(r,2)),r+=1):a.push(e.charAt(r)):t>56319?(n=e.charCodeAt(r+1),FontManager.isZeroWidthJoiner(t,n)?(i=!0,a[a.length-1]+=e.substr(r,2),r+=1):a.push(e.charAt(r))):FontManager.isZeroWidthJoiner(t)?(a[a.length-1]+=e.charAt(r),i=!0):a.push(e.charAt(r)),r+=1;return a},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,n,a,r,o,i,l,s=this.elem.globalData.fontManager,d=this.data,c=[],u=0,h=d.m.g,p=0,f=0,m=0,g=[],y=0,v=0,_=s.getFontByName(e.f),b=0,x=getFontProperties(_);e.fWeight=x.weight,e.fStyle=x.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),n=e.finalText.length,e.finalLineHeight=e.lh;var k,E=e.tr/1e3*e.finalSize;if(e.sz)for(var M,S,w=!0,$=e.sz[0],R=e.sz[1];w;){M=0,y=0,n=(S=this.buildFinalText(e.t)).length,E=e.tr/1e3*e.finalSize;var C=-1;for(t=0;t<n;t+=1)k=S[t].charCodeAt(0),a=!1," "===S[t]?C=t:13!==k&&3!==k||(y=0,a=!0,M+=e.finalLineHeight||1.2*e.finalSize),s.chars?(l=s.getCharData(S[t],_.fStyle,_.fFamily),b=a?0:l.w*e.finalSize/100):b=s.measureText(S[t],e.f,e.finalSize),y+b>$&&" "!==S[t]?(-1===C?n+=1:t=C,M+=e.finalLineHeight||1.2*e.finalSize,S.splice(t,C===t?1:0,"\r"),C=-1,y=0):(y+=b,y+=E);M+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&R<M?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=S,n=e.finalText.length,w=!1)}y=-E,b=0;var P,T=0;for(t=0;t<n;t+=1)if(a=!1,13===(k=(P=e.finalText[t]).charCodeAt(0))||3===k?(T=0,g.push(y),v=y>v?y:v,y=-2*E,r="",a=!0,m+=1):r=P,s.chars?(l=s.getCharData(P,_.fStyle,s.getFontByName(e.f).fFamily),b=a?0:l.w*e.finalSize/100):b=s.measureText(r,e.f,e.finalSize)," "===P?T+=b+E:(y+=b+E+T,T=0),c.push({l:b,an:b,add:p,n:a,anIndexes:[],val:r,line:m,animatorJustifyOffset:0}),2==h){if(p+=b,""===r||" "===r||t===n-1){for(""!==r&&" "!==r||(p-=b);f<=t;)c[f].an=p,c[f].ind=u,c[f].extra=b,f+=1;u+=1,p=0}}else if(3==h){if(p+=b,""===r||t===n-1){for(""===r&&(p-=b);f<=t;)c[f].an=p,c[f].ind=u,c[f].extra=b,f+=1;p=0,u+=1}}else c[u].ind=u,c[u].extra=0,u+=1;if(e.l=c,v=y>v?y:v,g.push(y),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=v,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=g;var L,A,I,N,F=d.a;i=F.length;var z=[];for(o=0;o<i;o+=1){for((L=F[o]).a.sc&&(e.strokeColorAnim=!0),L.a.sw&&(e.strokeWidthAnim=!0),(L.a.fc||L.a.fh||L.a.fs||L.a.fb)&&(e.fillColorAnim=!0),N=0,I=L.s.b,t=0;t<n;t+=1)(A=c[t]).anIndexes[o]=N,(1==I&&""!==A.val||2==I&&""!==A.val&&" "!==A.val||3==I&&(A.n||" "==A.val||t==n-1)||4==I&&(A.n||t==n-1))&&(1===L.s.rn&&z.push(N),N+=1);d.a[o].s.totalChars=N;var D,O=-1;if(1===L.s.rn)for(t=0;t<n;t+=1)O!=(A=c[t]).anIndexes[o]&&(O=A.anIndexes[o],D=z.splice(Math.floor(Math.random()*z.length),1)[0]),A.anIndexes[o]=D}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var n=this.copyData({},this.data.d.k[t].s);n=this.copyData(n,e),this.data.d.k[t].s=n,this.recalculate(t),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,n=Math.floor;function a(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 a.prototype={getMult:function(a){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var r=0,o=0,i=1,l=1;this.ne.v>0?r=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?i=1-this.xe.v/100:l=1+this.xe.v/100;var s=BezierFactory.getBezierEasing(r,o,i,l).get,d=0,c=this.finalS,u=this.finalE,h=this.data.sh;if(2===h)d=s(d=u===c?a>=u?1:0:e(0,t(.5/(u-c)+(a-c)/(u-c),1)));else if(3===h)d=s(d=u===c?a>=u?0:1:1-e(0,t(.5/(u-c)+(a-c)/(u-c),1)));else if(4===h)u===c?d=0:(d=e(0,t(.5/(u-c)+(a-c)/(u-c),1)))<.5?d*=2:d=1-2*(d-.5),d=s(d);else if(5===h){if(u===c)d=0;else{var p=u-c,f=-p/2+(a=t(e(0,a+.5-c),u-c)),m=p/2;d=Math.sqrt(1-f*f/(m*m))}d=s(d)}else 6===h?(u===c?d=0:(a=t(e(0,a+.5-c),u-c),d=(1+Math.cos(Math.PI+2*Math.PI*a/(u-c)))/2),d=s(d)):(a>=n(c)&&(d=e(0,t(a-c<0?t(u,1)-(c-a):u-a,1))),d=s(d));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;d<y?d=0:(d=(d-y)/g)>1&&(d=1)}return d*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,n=this.o.v/t,a=this.s.v/t+n,r=this.e.v/t+n;if(a>r){var o=a;a=r,r=o}this.finalS=a,this.finalE=r}},extendPrototype([DynamicPropertyContainer],a),{getTextSelectorProp:function(e,t,n){return new a(e,t)}}}();function TextAnimatorDataProperty(e,t,n){var a={propType:!1},r=PropertyFactory.getProp,o=t.a;this.a={r:o.r?r(e,o.r,0,degToRads,n):a,rx:o.rx?r(e,o.rx,0,degToRads,n):a,ry:o.ry?r(e,o.ry,0,degToRads,n):a,sk:o.sk?r(e,o.sk,0,degToRads,n):a,sa:o.sa?r(e,o.sa,0,degToRads,n):a,s:o.s?r(e,o.s,1,.01,n):a,a:o.a?r(e,o.a,1,0,n):a,o:o.o?r(e,o.o,0,.01,n):a,p:o.p?r(e,o.p,1,0,n):a,sw:o.sw?r(e,o.sw,0,0,n):a,sc:o.sc?r(e,o.sc,1,0,n):a,fc:o.fc?r(e,o.fc,1,0,n):a,fh:o.fh?r(e,o.fh,0,0,n):a,fs:o.fs?r(e,o.fs,0,.01,n):a,fb:o.fb?r(e,o.fb,0,.01,n):a,t:o.t?r(e,o.t,0,0,n):a},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,n),this.s.t=t.s.t}function TextAnimatorProperty(e,t,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,n=this._textData.a.length,a=PropertyFactory.getProp;for(e=0;e<n;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:a(this._elem,this._textData.p.a,0,0,this),f:a(this._elem,this._textData.p.f,0,0,this),l:a(this._elem,this._textData.p.l,0,0,this),r:a(this._elem,this._textData.p.r,0,0,this),p:a(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=a(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 n,a,r,o,i,l,s,d,c,u,h,p,f,m,g,y,v,_,b,x=this._moreOptions.alignment.v,k=this._animatorsData,E=this._textData,M=this.mHelper,S=this._renderType,w=this.renderedLetters.length,$=e.l;if(this._hasMaskedPath){if(b=this._pathData.m,!this._pathData.n||this._pathData._mdf){var R,C=b.v;for(this._pathData.r.v&&(C=C.reverse()),i={tLength:0,segments:[]},o=C._length-1,y=0,r=0;r<o;r+=1)R=bez.buildBezierData(C.v[r],C.v[r+1],[C.o[r][0]-C.v[r][0],C.o[r][1]-C.v[r][1]],[C.i[r+1][0]-C.v[r+1][0],C.i[r+1][1]-C.v[r+1][1]]),i.tLength+=R.segmentLength,i.segments.push(R),y+=R.segmentLength;r=o,b.v.c&&(R=bez.buildBezierData(C.v[r],C.v[0],[C.o[r][0]-C.v[r][0],C.o[r][1]-C.v[r][1]],[C.i[0][0]-C.v[0][0],C.i[0][1]-C.v[0][1]]),i.tLength+=R.segmentLength,i.segments.push(R),y+=R.segmentLength),this._pathData.pi=i}if(i=this._pathData.pi,l=this._pathData.f.v,h=0,u=1,d=0,c=!0,m=i.segments,l<0&&b.v.c)for(i.tLength<Math.abs(l)&&(l=-Math.abs(l)%i.tLength),u=(f=m[h=m.length-1].points).length-1;l<0;)l+=f[u].partialLength,(u-=1)<0&&(u=(f=m[h-=1].points).length-1);p=(f=m[h].points)[u-1],g=(s=f[u]).partialLength}o=$.length,n=0,a=0;var P,T,L,A,I,N=1.2*e.finalSize*.714,F=!0;L=k.length;var z,D,O,H,V,j,B,U,G,W,q,Y,Z=-1,K=l,X=h,Q=u,J=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var ne=0,ae=0,re=2===e.j?-.5:-1,oe=0,ie=!0;for(r=0;r<o;r+=1)if($[r].n){for(ne&&(ne+=ae);oe<r;)$[oe].animatorJustifyOffset=ne,oe+=1;ne=0,ie=!0}else{for(T=0;T<L;T+=1)(P=k[T].a).t.propType&&(ie&&2===e.j&&(ae+=P.t.v*re),(I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars)).length?ne+=P.t.v*I[0]*re:ne+=P.t.v*I*re);ie=!1}for(ne&&(ne+=ae);oe<r;)$[oe].animatorJustifyOffset=ne,oe+=1}for(r=0;r<o;r+=1){if(M.reset(),H=1,$[r].n)n=0,a+=e.yOffset,a+=F?1:0,l=K,F=!1,this._hasMaskedPath&&(u=Q,p=(f=m[h=X].points)[u-1],g=(s=f[u]).partialLength,d=0),ee="",q="",G="",Y="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==$[r].line){switch(e.j){case 1:l+=y-e.lineWidths[$[r].line];break;case 2:l+=(y-e.lineWidths[$[r].line])/2}J=$[r].line}Z!==$[r].ind&&($[Z]&&(l+=$[Z].extra),l+=$[r].an/2,Z=$[r].ind),l+=x[0]*$[r].an*.005;var le=0;for(T=0;T<L;T+=1)(P=k[T].a).p.propType&&((I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars)).length?le+=P.p.v[0]*I[0]:le+=P.p.v[0]*I),P.a.propType&&((I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars)).length?le+=P.a.v[0]*I[0]:le+=P.a.v[0]*I);for(c=!0,this._pathData.a.v&&(l=.5*$[0].an+(y-this._pathData.f.v-.5*$[0].an-.5*$[$.length-1].an)*Z/(o-1),l+=this._pathData.f.v);c;)d+g>=l+le||!f?(v=(l+le-d)/s.partialLength,D=p.point[0]+(s.point[0]-p.point[0])*v,O=p.point[1]+(s.point[1]-p.point[1])*v,M.translate(-x[0]*$[r].an*.005,-x[1]*N*.01),c=!1):f&&(d+=s.partialLength,(u+=1)>=f.length&&(u=0,m[h+=1]?f=m[h].points:b.v.c?(u=0,f=m[h=0].points):(d-=s.partialLength,f=null)),f&&(p=s,g=(s=f[u]).partialLength));z=$[r].an/2-$[r].add,M.translate(-z,0,0)}else z=$[r].an/2-$[r].add,M.translate(-z,0,0),M.translate(-x[0]*$[r].an*.005,-x[1]*N*.01,0);for(T=0;T<L;T+=1)(P=k[T].a).t.propType&&(I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars),0===n&&0===e.j||(this._hasMaskedPath?I.length?l+=P.t.v*I[0]:l+=P.t.v*I:I.length?n+=P.t.v*I[0]:n+=P.t.v*I));for(e.strokeWidthAnim&&(j=e.sw||0),e.strokeColorAnim&&(V=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(B=[e.fc[0],e.fc[1],e.fc[2]]),T=0;T<L;T+=1)(P=k[T].a).a.propType&&((I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars)).length?M.translate(-P.a.v[0]*I[0],-P.a.v[1]*I[1],P.a.v[2]*I[2]):M.translate(-P.a.v[0]*I,-P.a.v[1]*I,P.a.v[2]*I));for(T=0;T<L;T+=1)(P=k[T].a).s.propType&&((I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars)).length?M.scale(1+(P.s.v[0]-1)*I[0],1+(P.s.v[1]-1)*I[1],1):M.scale(1+(P.s.v[0]-1)*I,1+(P.s.v[1]-1)*I,1));for(T=0;T<L;T+=1){if(P=k[T].a,I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars),P.sk.propType&&(I.length?M.skewFromAxis(-P.sk.v*I[0],P.sa.v*I[1]):M.skewFromAxis(-P.sk.v*I,P.sa.v*I)),P.r.propType&&(I.length?M.rotateZ(-P.r.v*I[2]):M.rotateZ(-P.r.v*I)),P.ry.propType&&(I.length?M.rotateY(P.ry.v*I[1]):M.rotateY(P.ry.v*I)),P.rx.propType&&(I.length?M.rotateX(P.rx.v*I[0]):M.rotateX(P.rx.v*I)),P.o.propType&&(I.length?H+=(P.o.v*I[0]-H)*I[0]:H+=(P.o.v*I-H)*I),e.strokeWidthAnim&&P.sw.propType&&(I.length?j+=P.sw.v*I[0]:j+=P.sw.v*I),e.strokeColorAnim&&P.sc.propType)for(U=0;U<3;U+=1)I.length?V[U]+=(P.sc.v[U]-V[U])*I[0]:V[U]+=(P.sc.v[U]-V[U])*I;if(e.fillColorAnim&&e.fc){if(P.fc.propType)for(U=0;U<3;U+=1)I.length?B[U]+=(P.fc.v[U]-B[U])*I[0]:B[U]+=(P.fc.v[U]-B[U])*I;P.fh.propType&&(B=I.length?addHueToRGB(B,P.fh.v*I[0]):addHueToRGB(B,P.fh.v*I)),P.fs.propType&&(B=I.length?addSaturationToRGB(B,P.fs.v*I[0]):addSaturationToRGB(B,P.fs.v*I)),P.fb.propType&&(B=I.length?addBrightnessToRGB(B,P.fb.v*I[0]):addBrightnessToRGB(B,P.fb.v*I))}}for(T=0;T<L;T+=1)(P=k[T].a).p.propType&&(I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars),this._hasMaskedPath?I.length?M.translate(0,P.p.v[1]*I[0],-P.p.v[2]*I[1]):M.translate(0,P.p.v[1]*I,-P.p.v[2]*I):I.length?M.translate(P.p.v[0]*I[0],P.p.v[1]*I[1],-P.p.v[2]*I[2]):M.translate(P.p.v[0]*I,P.p.v[1]*I,-P.p.v[2]*I));if(e.strokeWidthAnim&&(G=j<0?0:j),e.strokeColorAnim&&(W="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),e.fillColorAnim&&e.fc&&(q="rgb("+Math.round(255*B[0])+","+Math.round(255*B[1])+","+Math.round(255*B[2])+")"),this._hasMaskedPath){if(M.translate(0,-e.ls),M.translate(0,x[1]*N*.01+a,0),this._pathData.p.v){_=(s.point[1]-p.point[1])/(s.point[0]-p.point[0]);var se=180*Math.atan(_)/Math.PI;s.point[0]<p.point[0]&&(se+=180),M.rotate(-se*Math.PI/180)}M.translate(D,O,0),l-=x[0]*$[r].an*.005,$[r+1]&&Z!==$[r+1].ind&&(l+=$[r].an/2,l+=.001*e.tr*e.finalSize)}else{switch(M.translate(n,a,0),e.ps&&M.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:M.translate($[r].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[$[r].line]),0,0);break;case 2:M.translate($[r].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[$[r].line])/2,0,0)}M.translate(0,-e.ls),M.translate(z,0,0),M.translate(x[0]*$[r].an*.005,x[1]*N*.01,0),n+=$[r].l+.001*e.tr*e.finalSize}"html"===S?ee=M.toCSS():"svg"===S?ee=M.to2dCSS():te=[M.props[0],M.props[1],M.props[2],M.props[3],M.props[4],M.props[5],M.props[6],M.props[7],M.props[8],M.props[9],M.props[10],M.props[11],M.props[12],M.props[13],M.props[14],M.props[15]],Y=H}w<=r?(A=new LetterProps(Y,G,W,q,ee,te),this.renderedLetters.push(A),w+=1,this.lettersChangedFlag=!0):(A=this.renderedLetters[r],this.lettersChangedFlag=A.update(Y,G,W,q,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,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,n),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,n),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),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var n,a,r=t.length,o="";for(n=0;n<r;n+=1)"sh"===t[n].ty&&(a=t[n].ks.k,o+=buildShapeString(a,a.i.length,!0,e));return o},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,n,a,r){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[n]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n])/2,0,0)}t.translate(a,r,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(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,n){this.textSpans=[],this.renderType="svg",this.initElement(e,t,n)}function ISolidElement(e,t,n){this.initElement(e,t,n)}function NullElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initFrame(),this.initTransform(e,t,n),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,n){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),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 n="";if(t&&t.title){var a=createNS("title"),r=createElementID();a.setAttribute("id",r),a.textContent=t.title,this.svgElement.appendChild(a),n+=r}if(t&&t.description){var o=createNS("desc"),i=createElementID();o.setAttribute("id",i),o.textContent=t.description,this.svgElement.appendChild(o),n+=" "+i}n&&this.svgElement.setAttribute("aria-labelledby",n);var l=createNS("defs");this.svgElement.appendChild(l);var s=createNS("g");this.svgElement.appendChild(s),this.layerElement=s,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:l,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var e;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}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,n=e.length,a=[],r="";t<n;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(a.push(r),r=""):r+=e[t],t+=1;return a.push(r),a},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var n=e.shapes[0];if(n.it){var a=n.it[n.it.length-1];a.s&&(a.s.k[0]=t,a.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var a=this.globalData.fontManager.getFontByName(n.f);if(a.fClass)this.layerElement.setAttribute("class",a.fClass);else{this.layerElement.setAttribute("font-family",a.fFamily);var r=n.fWeight,o=n.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",r)}this.layerElement.setAttribute("aria-label",n.t);var i,l=n.l||[],s=!!this.globalData.fontManager.chars;t=l.length;var d=this.mHelper,c=this.data.singleShape,u=0,h=0,p=!0,f=.001*n.tr*n.finalSize;if(!c||s||n.sz){var m,g=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!s||!c||0===e){if(i=g>e?this.textSpans[e].span:createNS(s?"g":"text"),g<=e){if(i.setAttribute("stroke-linecap","butt"),i.setAttribute("stroke-linejoin","round"),i.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=i,s){var y=createNS("g");i.appendChild(y),this.textSpans[e].childSpan=y}this.textSpans[e].span=i,this.layerElement.appendChild(i)}i.style.display="inherit"}if(d.reset(),c&&(l[e].n&&(u=-f,h+=n.yOffset,h+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(n,d,l[e].line,u,h),u+=l[e].l||0,u+=f),s){var v;if(1===(m=this.globalData.fontManager.getCharData(n.finalText[e],a.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var _=emptyShapeData;m.data&&m.data.shapes&&(_=this.buildShapeData(m.data,n.finalSize)),v=new SVGShapeElement(_,this.globalData,this)}if(this.textSpans[e].glyph){var b=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(b.layerElement),b.destroy()}this.textSpans[e].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[e].childSpan.appendChild(v.layerElement),1===m.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else c&&i.setAttribute("transform","translate("+d.props[12]+","+d.props[13]+")"),i.textContent=l[e].val,i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}c&&i&&i.setAttribute("d","")}else{var x=this.textContainer,k="start";switch(n.j){case 1:k="end";break;case 2:k="middle";break;default:k="start"}x.setAttribute("text-anchor",k),x.setAttribute("letter-spacing",f);var E=this.buildTextContents(n.finalText);for(t=E.length,h=n.ps?n.ps[1]+n.ascent:0,e=0;e<t;e+=1)(i=this.textSpans[e].span||createNS("tspan")).textContent=E[e],i.setAttribute("x",0),i.setAttribute("y",h),i.style.display="inherit",x.appendChild(i),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=i,h+=n.finalLineHeight;this.layerElement.appendChild(x)}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,n=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<n;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.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var n,a,r,o=this.textAnimator.renderedLetters,i=this.textProperty.currentData.l;for(t=i.length,e=0;e<t;e+=1)i[e].n||(n=o[e],a=this.textSpans[e].span,(r=this.textSpans[e].glyph)&&r.renderFrame(),n._mdf.m&&a.setAttribute("transform",n.m),n._mdf.o&&a.setAttribute("opacity",n.o),n._mdf.sw&&a.setAttribute("stroke-width",n.sw),n._mdf.sc&&a.setAttribute("stroke",n.sc),n._mdf.fc&&a.setAttribute("fill",n.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 n=createNS("clipPath"),a=createNS("rect");a.setAttribute("width",e.w),a.setAttribute("height",e.h),a.setAttribute("x",0),a.setAttribute("y",0);var r=createElementID();n.setAttribute("id",r),n.appendChild(a),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")"),t.appendChild(n),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.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,n=this.layers.length;for(t=0;t<n;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 n=this.createItem(this.layers[e]);if(t[e]=n,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,e),this.layers[e].tt){var a="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(-1===a)return;if(this.elements[a]&&!0!==this.elements[a]){var r=t[a].getMatte(this.layers[e].tt);n.setMatte(r)}else this.buildItem(a),this.addPendingElement(n)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,n=this.elements.length;t<n;){if(this.elements[t]===e){var a="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,r=this.elements[a].getMatte(this.layers[t].tt);e.setMatte(r);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 n=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=n-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<n;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){for(var a,r=0;r<t;)this.elements[r]&&!0!==this.elements[r]&&this.elements[r].getBaseElement()&&(a=this.elements[r].getBaseElement()),r+=1;a?this.layerElement.insertBefore(n,a):this.layerElement.appendChild(n)}},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,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),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 n,a=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=a-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._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)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var n=0;for(n=this._length;n<e;n+=1)this.saved[n]=createTypedArray("float32",16);this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVContextData.prototype.popTransform=function(){var e,t=this.saved[this.cArrPos],n=this.cTr.props;for(e=0;e<16;e+=1)n[e]=t[e];return t},CVContextData.prototype.popOpacity=function(){var e=this.savedOp[this.cArrPos];return this.cO=e,e},CVContextData.prototype.pop=function(){return this.cArrPos-=1,{transform:this.popTransform(),opacity:this.popOpacity()}},CVContextData.prototype.push=function(){var e,t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var n=this.saved[this.cArrPos];for(e=0;e<16;e+=1)n[e]=t[e];this.savedOp[this.cArrPos]=this.cO,this.cArrPos+=1},CVContextData.prototype.getTransform=function(){return this.cTr},CVContextData.prototype.getOpacity=function(){return this.cO},CVContextData.prototype.setOpacity=function(e){this.cO=e},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,n=e.length,a="_";for(t=0;t<n;t+=1)a+=e[t].transform.key+"_";var r=this.sequences[a];return r||(r={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[a]=r,this.sequenceList.push(r)),r},processSequence:function(e,t){for(var n,a=0,r=e.transforms.length,o=t;a<r&&!t;){if(e.transforms[a].transform.mProps._mdf){o=!0;break}a+=1}if(o)for(e.finalTransform.reset(),a=r-1;a>=0;a-=1)n=e.transforms[a].transform.mProps.v.props,e.finalTransform.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]);e._mdf=o},processSequences:function(e){var t,n=this.sequenceList.length;for(t=0;t<n;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,n=null,a=null;function r(){var r,o,i;t||(r=createNS("svg"),o=createNS("filter"),i=createNS("feColorMatrix"),o.setAttribute("id",e),i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),o.appendChild(i),r.appendChild(o),r.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(r.style.display="none"),a=r,document.body.appendChild(a),t=createTag("canvas"),(n=t.getContext("2d")).filter="url(#"+e+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}return{load:r,get:function(a){return t||r(),t.width=a.width,t.height=a.height,n.filter="url(#"+e+")",t}}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var n=createTag("canvas");return n.width=e,n.height=t,n}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas};function CVEffects(){}function CVMaskElement(e,t){var n;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var a=this.masksProperties.length,r=!1;for(n=0;n<a;n+=1)"n"!==this.masksProperties[n].mode&&(r=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=r,r&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,n,a,r=this.element.finalTransform.mat,o=this.element.canvasContext,i=this.masksProperties.length;for(o.beginPath(),e=0;e<i;e+=1)if("n"!==this.masksProperties[e].mode){var l;this.masksProperties[e].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),a=this.viewData[e].v,t=r.applyToPointArray(a.v[0][0],a.v[0][1],0),o.moveTo(t[0],t[1]);var s=a._length;for(l=1;l<s;l+=1)n=r.applyToTriplePoints(a.o[l-1],a.i[l],a.v[l]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=r.applyToTriplePoints(a.o[l-1],a.i[0],a.v[0]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5])}this.element.globalData.renderer.save(!0),o.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,n,a){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var r,o=4;"rc"===t.ty?o=5:"el"===t.ty?o=6:"sr"===t.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,o,e);var i,l=n.length;for(r=0;r<l;r+=1)n[r].closed||(i={transforms:a.addTransformSequence(n[r].transforms),trNodes:[]},this.styledShapes.push(i),n[r].elements.push(i))}function CVShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,n)}function CVTextElement(e,t,n){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,n)}function CVImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,n)}function CVSolidElement(e,t,n){this.initElement(e,t,n)}function CanvasRendererBase(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||""},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"}function CVCompElement(e,t,n){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,n),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"}function HBaseElement(){}function HSolidElement(e,t,n){this.initElement(e,t,n)}function HShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,n)}function HCameraElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initHierarchy();var a=PropertyFactory.getProp;if(this.pe=a(this,e.pe,0,0,this),e.ks.p.s?(this.px=a(this,e.ks.p.x,1,0,this),this.py=a(this,e.ks.p.y,1,0,this),this.pz=a(this,e.ks.p.z,1,0,this)):this.p=a(this,e.ks.p,1,0,this),e.ks.a&&(this.a=a(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var r,o=e.ks.or.k.length;for(r=0;r<o;r+=1)e.ks.or.k[r].to=null,e.ks.or.k[r].ti=null}this.or=a(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=a(this,e.ks.rx,0,degToRads,this),this.ry=a(this,e.ks.ry,0,degToRads,this),this.rz=a(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,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n)}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,n){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,n),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 n=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(n),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects},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)},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 n=assetLoader.getLumaCanvas(this.canvasContext.canvas);n.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,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.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.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 n={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},a={};if("fl"===e.ty||"st"===e.ty?(a.c=PropertyFactory.getProp(this,e.c,1,255,this),a.c.k||(n.co="rgb("+bmFloor(a.c.v[0])+","+bmFloor(a.c.v[1])+","+bmFloor(a.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(a.s=PropertyFactory.getProp(this,e.s,1,null,this),a.e=PropertyFactory.getProp(this,e.e,1,null,this),a.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),a.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),a.g=new GradientProperty(this,e.g,this)),a.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(n.lc=lineCapEnum[e.lc||2],n.lj=lineJoinEnum[e.lj||2],1==e.lj&&(n.ml=e.ml),a.w=PropertyFactory.getProp(this,e.w,0,null,this),a.w.k||(n.wi=a.w.v),e.d){var r=new DashProperty(this,e.d,"canvas",this);a.d=r,a.d.k||(n.da=a.d.dashArray,n.do=a.d.dashoffset[0])}}else n.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(n),a.style=n,a},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,n=this.stylesList.length;for(t=0;t<n;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,n=e.length;for(t=0;t<n;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,n,a,r){var o,i,l,s,d,c,u=e.length-1,h=[],p=[],f=[].concat(r);for(o=u;o>=0;o-=1){if((s=this.searchProcessedElement(e[o]))?t[o]=n[s-1]:e[o]._shouldRender=a,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty)s?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],f),h.push(t[o].style);else if("gr"===e[o].ty){if(s)for(l=t[o].it.length,i=0;i<l;i+=1)t[o].prevViewData[i]=t[o].it[i];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,a,f)}else"tr"===e[o].ty?(s||(c=this.createTransformElement(e[o]),t[o]=c),f.push(t[o]),this.addTransformToStyleList(t[o])):"sh"===e[o].ty||"rc"===e[o].ty||"el"===e[o].ty||"sr"===e[o].ty?s||(t[o]=this.createShapeElement(e[o])):"tm"===e[o].ty||"rd"===e[o].ty||"pb"===e[o].ty||"zz"===e[o].ty||"op"===e[o].ty?(s?(d=t[o]).closed=!1:((d=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=d,this.shapeModifiers.push(d)),p.push(d)):"rp"===e[o].ty&&(s?(d=t[o]).closed=!0:(d=ShapeModifiers.getModifier(e[o].ty),t[o]=d,d.init(this,e,o,t),this.shapeModifiers.push(d),a=!1),p.push(d));this.addProcessedElement(e[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(h),u=p.length,o=0;o<u;o+=1)p[o].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,n,a,r,o,i,l,s,d=this.stylesList.length,c=this.globalData.renderer,u=this.globalData.canvasContext;for(e=0;e<d;e+=1)if(("st"!==(l=(s=this.stylesList[e]).type)&&"gs"!==l||0!==s.wi)&&s.data._shouldRender&&0!==s.coOp&&0!==this.globalData.currentGlobalAlpha){for(c.save(),o=s.elements,"st"===l||"gs"===l?(u.strokeStyle="st"===l?s.co:s.grd,u.lineWidth=s.wi,u.lineCap=s.lc,u.lineJoin=s.lj,u.miterLimit=s.ml||0):u.fillStyle="fl"===l?s.co:s.grd,c.ctxOpacity(s.coOp),"st"!==l&&"gs"!==l&&u.beginPath(),c.ctxTransform(s.preTransforms.finalTransform.props),n=o.length,t=0;t<n;t+=1){for("st"!==l&&"gs"!==l||(u.beginPath(),s.da&&(u.setLineDash(s.da),u.lineDashOffset=s.do)),r=(i=o[t].trNodes).length,a=0;a<r;a+=1)"m"===i[a].t?u.moveTo(i[a].p[0],i[a].p[1]):"c"===i[a].t?u.bezierCurveTo(i[a].pts[0],i[a].pts[1],i[a].pts[2],i[a].pts[3],i[a].pts[4],i[a].pts[5]):u.closePath();"st"!==l&&"gs"!==l||(u.stroke(),s.da&&u.setLineDash(this.dashResetter))}"st"!==l&&"gs"!==l&&u.fill(s.r),c.restore()}},CVShapeElement.prototype.renderShape=function(e,t,n,a){var r,o;for(o=e,r=t.length-1;r>=0;r-=1)"tr"===t[r].ty?(o=n[r].transform,this.renderShapeTransform(e,o)):"sh"===t[r].ty||"el"===t[r].ty||"rc"===t[r].ty||"sr"===t[r].ty?this.renderPath(t[r],n[r]):"fl"===t[r].ty?this.renderFill(t[r],n[r],o):"st"===t[r].ty?this.renderStroke(t[r],n[r],o):"gf"===t[r].ty||"gs"===t[r].ty?this.renderGradientFill(t[r],n[r],o):"gr"===t[r].ty?this.renderShape(o,t[r].it,n[r].it):t[r].ty;a&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var n,a,r,o=e.trNodes,i=t.paths,l=i._length;o.length=0;var s=e.transforms.finalTransform;for(r=0;r<l;r+=1){var d=i.shapes[r];if(d&&d.v){for(a=d._length,n=1;n<a;n+=1)1===n&&o.push({t:"m",p:s.applyToPointArray(d.v[0][0],d.v[0][1],0)}),o.push({t:"c",pts:s.applyToTriplePoints(d.o[n-1],d.i[n],d.v[n])});1===a&&o.push({t:"m",p:s.applyToPointArray(d.v[0][0],d.v[0][1],0)}),d.c&&a&&(o.push({t:"c",pts:s.applyToTriplePoints(d.o[n-1],d.i[0],d.v[0])}),o.push({t:"z"}))}}e.trNodes=o}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var n,a=t.styledShapes.length;for(n=0;n<a;n+=1)this.renderStyledShape(t.styledShapes[n],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,n){var a=t.style;(t.c._mdf||this._isFirstFrame)&&(a.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(a.coOp=t.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,n){var a,r=t.style;if(!r.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var o,i=this.globalData.canvasContext,l=t.s.v,s=t.e.v;if(1===e.t)a=i.createLinearGradient(l[0],l[1],s[0],s[1]);else{var d=Math.sqrt(Math.pow(l[0]-s[0],2)+Math.pow(l[1]-s[1],2)),c=Math.atan2(s[1]-l[1],s[0]-l[0]),u=t.h.v;u>=1?u=.99:u<=-1&&(u=-.99);var h=d*u,p=Math.cos(c+t.a.v)*h+l[0],f=Math.sin(c+t.a.v)*h+l[1];a=i.createRadialGradient(p,f,0,l[0],l[1],d)}var m=e.g.p,g=t.g.c,y=1;for(o=0;o<m;o+=1)t.g._hasOpacity&&t.g._collapsable&&(y=t.g.o[2*o+1]),a.addColorStop(g[4*o]/100,"rgba("+g[4*o+1]+","+g[4*o+2]+","+g[4*o+3]+","+y+")");r.grd=a}r.coOp=t.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(e,t,n){var a=t.style,r=t.d;r&&(r._mdf||this._isFirstFrame)&&(a.da=r.dashArray,a.do=r.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(a.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(a.coOp=t.o.v*n.opacity),(t.w._mdf||this._isFirstFrame)&&(a.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 n=!1;e.sc&&(n=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var a,r,o,i,l,s,d,c,u,h,p,f,m=this.globalData.fontManager.getFontByName(e.f),g=e.l,y=this.mHelper;this.stroke=n,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,r=e.finalText.length;var v=this.data.singleShape,_=.001*e.tr*e.finalSize,b=0,x=0,k=!0,E=0;for(a=0;a<r;a+=1){i=(o=this.globalData.fontManager.getCharData(e.finalText[a],m.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&o.data||{},y.reset(),v&&g[a].n&&(b=-_,x+=e.yOffset,x+=k?1:0,k=!1),u=(d=i.shapes?i.shapes[0].it:[]).length,y.scale(e.finalSize/100,e.finalSize/100),v&&this.applyTextPropertiesToMatrix(e,y,g[a].line,b,x),p=createSizedArray(u-1);var M=0;for(c=0;c<u;c+=1)if("sh"===d[c].ty){for(s=d[c].ks.k.i.length,h=d[c].ks.k,f=[],l=1;l<s;l+=1)1===l&&f.push(y.applyToX(h.v[0][0],h.v[0][1],0),y.applyToY(h.v[0][0],h.v[0][1],0)),f.push(y.applyToX(h.o[l-1][0],h.o[l-1][1],0),y.applyToY(h.o[l-1][0],h.o[l-1][1],0),y.applyToX(h.i[l][0],h.i[l][1],0),y.applyToY(h.i[l][0],h.i[l][1],0),y.applyToX(h.v[l][0],h.v[l][1],0),y.applyToY(h.v[l][0],h.v[l][1],0));f.push(y.applyToX(h.o[l-1][0],h.o[l-1][1],0),y.applyToY(h.o[l-1][0],h.o[l-1][1],0),y.applyToX(h.i[0][0],h.i[0][1],0),y.applyToY(h.i[0][0],h.i[0][1],0),y.applyToX(h.v[0][0],h.v[0][1],0),y.applyToY(h.v[0][0],h.v[0][1],0)),p[M]=f,M+=1}v&&(b+=g[a].l,b+=_),this.textSpans[E]?this.textSpans[E].elem=p:this.textSpans[E]={elem:p},E+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,n,a,r,o,i=this.canvasContext;i.font=this.values.fValue,i.lineCap="butt",i.lineJoin="miter",i.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var l,s=this.textAnimator.renderedLetters,d=this.textProperty.currentData.l;t=d.length;var c,u,h=null,p=null,f=null;for(e=0;e<t;e+=1)if(!d[e].n){if((l=s[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(l.p),this.globalData.renderer.ctxOpacity(l.o)),this.fill){for(l&&l.fc?h!==l.fc&&(h=l.fc,i.fillStyle=l.fc):h!==this.values.fill&&(h=this.values.fill,i.fillStyle=this.values.fill),a=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<a;n+=1)for(o=(u=c[n]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),r=2;r<o;r+=6)this.globalData.canvasContext.bezierCurveTo(u[r],u[r+1],u[r+2],u[r+3],u[r+4],u[r+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(l&&l.sw?f!==l.sw&&(f=l.sw,i.lineWidth=l.sw):f!==this.values.sWidth&&(f=this.values.sWidth,i.lineWidth=this.values.sWidth),l&&l.sc?p!==l.sc&&(p=l.sc,i.strokeStyle=l.sc):p!==this.values.stroke&&(p=this.values.stroke,i.strokeStyle=this.values.stroke),a=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<a;n+=1)for(o=(u=c[n]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),r=2;r<o;r+=6)this.globalData.canvasContext.bezierCurveTo(u[r],u[r+1],u[r+2],u[r+3],u[r+4],u[r+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}l&&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,n,a=e.getContext("2d"),r=this.img.width,o=this.img.height,i=r/o,l=this.assetData.w/this.assetData.h,s=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;i>l&&"xMidYMid slice"===s||i<l&&"xMidYMid slice"!==s?t=(n=o)*l:n=(t=r)/l,a.drawImage(this.img,(r-t)/2,(o-n)/2,t,n,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(){var e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(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){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.getTransform(),n=t.props;this.transformMat.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]),t.cloneFromProps(this.transformMat.props);var a=t.props;this.canvasContext.setTransform(a[0],a[1],a[4],a[5],a[12],a[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){var t=this.contextData.getOpacity();if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=t);t*=e<0?0:e,this.contextData.setOpacity(t),this.globalData.currentGlobalAlpha!==t&&(this.canvasContext.globalAlpha=t,this.globalData.currentGlobalAlpha=t)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(e){this.renderConfig.clearCanvas?(e&&this.canvasContext.save(),this.contextData.push()):this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over");var t=this.contextData.pop(),n=t.transform,a=t.opacity;this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),this.globalData.currentGlobalAlpha!==a&&(this.canvasContext.globalAlpha=a,this.globalData.currentGlobalAlpha=a)}else 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 n="0px 0px 0px";t.transformOrigin=n,t.mozTransformOrigin=n,t.webkitTransformOrigin=n,t["-webkit-transform"]=n,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.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 n,a,r,o;if(this.reset(),e?(n=e,a=t,this.canvasContext.canvas.width=n,this.canvasContext.canvas.height=a):(this.animationItem.wrapper&&this.animationItem.container?(n=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight):(n=this.canvasContext.canvas.width,a=this.canvasContext.canvas.height),this.canvasContext.canvas.width=n*this.renderConfig.dpr,this.canvasContext.canvas.height=a*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var i=this.renderConfig.preserveAspectRatio.split(" "),l=i[1]||"meet",s=i[0]||"xMidYMid",d=s.substr(0,4),c=s.substr(4);r=n/a,(o=this.transformCanvas.w/this.transformCanvas.h)>r&&"meet"===l||o<r&&"slice"===l?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=a/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=a/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===d&&(o<r&&"meet"===l||o>r&&"slice"===l)?(n-this.transformCanvas.w*(a/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===d&&(o<r&&"meet"===l||o>r&&"slice"===l)?(n-this.transformCanvas.w*(a/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===c&&(o>r&&"meet"===l||o<r&&"slice"===l)?(a-this.transformCanvas.h*(n/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===c&&(o>r&&"meet"===l||o<r&&"slice"===l)?(a-this.transformCanvas.h*(n/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=a/(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.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 n;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 a=this.layers.length;for(this.completeLayers||this.checkLayers(e),n=0;n<a;n+=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(e-this.layers[n].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=a-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].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 n=this.createItem(this.layers[e],this,this.globalData);t[e]=n,n.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"},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.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 n,a=e.length;for(n=0;n<a;n+=1)t=e[n].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var n,a,r,o,i,l=e.sh.v,s=e.transformers,d=l._length;if(!(d<=1)){for(n=0;n<d-1;n+=1)a=this.getTransformedPoint(s,l.v[n]),r=this.getTransformedPoint(s,l.o[n]),o=this.getTransformedPoint(s,l.i[n+1]),i=this.getTransformedPoint(s,l.v[n+1]),this.checkBounds(a,r,o,i,t);l.c&&(a=this.getTransformedPoint(s,l.v[n]),r=this.getTransformedPoint(s,l.o[n]),o=this.getTransformedPoint(s,l.i[0]),i=this.getTransformedPoint(s,l.v[0]),this.checkBounds(a,r,o,i,t))}},HShapeElement.prototype.checkBounds=function(e,t,n,a,r){this.getBoundsOfCurve(e,t,n,a);var o=this.shapeBoundingBox;r.x=bmMin(o.left,r.x),r.xMax=bmMax(o.right,r.xMax),r.y=bmMin(o.top,r.y),r.yMax=bmMax(o.bottom,r.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,n,a){for(var r,o,i,l,s,d,c,u=[[e[0],a[0]],[e[1],a[1]]],h=0;h<2;++h)o=6*e[h]-12*t[h]+6*n[h],r=-3*e[h]+9*t[h]-9*n[h]+3*a[h],i=3*t[h]-3*e[h],o|=0,i|=0,0==(r|=0)&&0===o||(0===r?(l=-i/o)>0&&l<1&&u[h].push(this.calculateF(l,e,t,n,a,h)):(s=o*o-4*i*r)>=0&&((d=(-o+bmSqrt(s))/(2*r))>0&&d<1&&u[h].push(this.calculateF(d,e,t,n,a,h)),(c=(-o-bmSqrt(s))/(2*r))>0&&c<1&&u[h].push(this.calculateF(c,e,t,n,a,h))));this.shapeBoundingBox.left=bmMin.apply(null,u[0]),this.shapeBoundingBox.top=bmMin.apply(null,u[1]),this.shapeBoundingBox.right=bmMax.apply(null,u[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,u[1])},HShapeElement.prototype.calculateF=function(e,t,n,a,r,o){return bmPow(1-e,3)*t[o]+3*bmPow(1-e,2)*e*n[o]+3*(1-e)*bmPow(e,2)*a[o]+bmPow(e,3)*r[o]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var n,a=e.length;for(n=0;n<a;n+=1)e[n]&&e[n].sh?this.calculateShapeBoundingBox(e[n],t):e[n]&&e[n].it?this.calculateBoundingBox(e[n].it,t):e[n]&&e[n].style&&e[n].w&&this.expandStrokeBoundingBox(e[n].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var n=0;if(e.keyframes){for(var a=0;a<e.keyframes.length;a+=1){var r=e.keyframes[a].s;r>n&&(n=r)}n*=e.mult}else n=e.v*e.mult;t.x-=n,t.xMax+=n,t.y-=n,t.yMax+=n},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 n=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),n=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),n=!0),n||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 a=this.shapeCont.style,r="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";a.transform=r,a.webkitTransform=r}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,n=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=n,t.color=n,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var a,r,o=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{t.fontFamily=o.fFamily;var i=e.fWeight,l=e.fStyle;t.fontStyle=l,t.fontWeight=i}var s,d,c,u=e.l;r=u.length;var h,p=this.mHelper,f="",m=0;for(a=0;a<r;a+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?s=this.textPaths[m]:((s=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),s.setAttribute("stroke-linejoin",lineJoinEnum[2]),s.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?c=(d=this.textSpans[m]).children[0]:((d=createTag("div")).style.lineHeight=0,(c=createNS("svg")).appendChild(s),styleDiv(d)))):this.isMasked?s=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(d=this.textSpans[m],s=this.textPaths[m]):(styleDiv(d=createTag("span")),styleDiv(s=createTag("span")),d.appendChild(s)),this.globalData.fontManager.chars){var g,y=this.globalData.fontManager.getCharData(e.finalText[a],o.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(g=y?y.data:null,p.reset(),g&&g.shapes&&g.shapes.length&&(h=g.shapes[0].it,p.scale(e.finalSize/100,e.finalSize/100),f=this.createPathShape(p,h),s.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(s);else{if(this.innerElem.appendChild(d),g&&g.shapes){document.body.appendChild(c);var v=c.getBBox();c.setAttribute("width",v.width+2),c.setAttribute("height",v.height+2),c.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var _=c.style,b="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";_.transform=b,_.webkitTransform=b,u[a].yOffset=v.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);d.appendChild(c)}}else if(s.textContent=u[a].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(s);else{this.innerElem.appendChild(d);var x=s.style,k="translate3d(0,"+-e.finalSize/1.2+"px,0)";x.transform=k,x.webkitTransform=k}this.isMasked?this.textSpans[m]=s:this.textSpans[m]=d,this.textSpans[m].style.display="block",this.textPaths[m]=s,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var n,a,r,o,i,l=0,s=this.textAnimator.renderedLetters,d=this.textProperty.currentData.l;for(a=d.length,n=0;n<a;n+=1)d[n].n?l+=1:(o=this.textSpans[n],i=this.textPaths[n],r=s[l],l+=1,r._mdf.m&&(this.isMasked?o.setAttribute("transform",r.m):(o.style.webkitTransform=r.m,o.style.transform=r.m)),o.style.opacity=r.o,r.sw&&r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r.sc&&r._mdf.sc&&i.setAttribute("stroke",r.sc),r.fc&&r._mdf.fc&&(i.setAttribute("fill",r.fc),i.style.color=r.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var c=this.innerElem.getBBox();if(this.currentBBox.w!==c.width&&(this.currentBBox.w=c.width,this.svgElement.setAttribute("width",c.width)),this.currentBBox.h!==c.height&&(this.currentBBox.h=c.height,this.svgElement.setAttribute("height",c.height)),this.currentBBox.w!==c.width+2||this.currentBBox.h!==c.height+2||this.currentBBox.x!==c.x-1||this.currentBBox.y!==c.y-1){this.currentBBox.w=c.width+2,this.currentBBox.h=c.height+2,this.currentBBox.x=c.x-1,this.currentBBox.y=c.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=u,e.webkitTransform=u}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,n,a,r=this.comp.threeDElements.length;for(e=0;e<r;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){n=t.perspectiveElem.style,a=t.container.style;var o=this.pe.v+"px",i="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.perspective=o,n.webkitPerspective=o,a.transformOrigin="0px 0px 0px",a.mozTransformOrigin="0px 0px 0px",a.webkitTransformOrigin="0px 0px 0px",n.transform=i,n.webkitTransform=i}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,n=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)n=this.hierarchy[e].finalTransform.mProp._mdf||n;if(n||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 a=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-a.p.v[0],-a.p.v[1],a.p.v[2]),this.mat.rotateX(-a.or.v[0]).rotateY(-a.or.v[1]).rotateZ(a.or.v[2]),this.mat.rotateX(-a.rx.v).rotateY(-a.ry.v).rotateZ(a.rz.v),this.mat.scale(1/a.s.v[0],1/a.s.v[1],1/a.s.v[2]),this.mat.translate(a.a.v[0],a.a.v[1],a.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 r;r=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 o=Math.sqrt(Math.pow(r[0],2)+Math.pow(r[1],2)+Math.pow(r[2],2)),i=[r[0]/o,r[1]/o,r[2]/o],l=Math.sqrt(i[2]*i[2]+i[0]*i[0]),s=Math.atan2(i[1],l),d=Math.atan2(i[0],-i[2]);this.mat.rotateY(d).rotateX(-s)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var u,h,p;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(u=this.comp.threeDElements[e]).type){if(c){var f=this.mat.toCSS();(p=u.container.style).transform=f,p.webkitTransform=f}this.pe._mdf&&((h=u.perspectiveElem.style).perspective=this.pe.v+"px",h.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 n=e.getBaseElement();if(n){var a=this.layers[t];if(a.ddd&&this.supports3d)this.addTo3dContainer(n,t);else if(this.threeDElements)this.addTo3dContainer(n,t);else{for(var r,o,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement&&(o=this.elements[i],r=(this.layers[i].ddd?this.getThreeDContainerByPos(i):o.getBaseElement())||r),i+=1;r?a.ddd&&this.supports3d||this.layerElement.insertBefore(n,r):a.ddd&&this.supports3d||this.layerElement.appendChild(n)}}},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,n=this.threeDElements.length;t<n;){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 n,a,r=createTag("div");styleDiv(r);var o=createTag("div");if(styleDiv(o),"3d"===t){(n=r.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px",n.webkitTransformOrigin="50% 50%",n.mozTransformOrigin="50% 50%",n.transformOrigin="50% 50%";var i="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(a=o.style).transform=i,a.webkitTransform=i}r.appendChild(o);var l={container:o,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,n=this.layers.length,a="";for(e=0;e<n;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==a&&(a="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==a&&(a="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(n=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var n=0,a=this.threeDElements.length;n<a;){if(t<=this.threeDElements[n].endPos){for(var r,o=this.threeDElements[n].startPos;o<t;)this.elements[o]&&this.elements[o].getBaseElement&&(r=this.elements[o].getBaseElement()),o+=1;r?this.threeDElements[n].container.insertBefore(e,r):this.threeDElements[n].container.appendChild(e);break}n+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),n=this.animationItem.wrapper,a=t.style;a.width=e.w+"px",a.height=e.h+"px",this.resizerElem=t,styleDiv(t),a.transformStyle="flat",a.mozTransformStyle="flat",a.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),n.appendChild(t),a.overflow="hidden";var r=createNS("svg");r.setAttribute("width","1"),r.setAttribute("height","1"),styleDiv(r),this.resizerElem.appendChild(r);var o=createNS("defs");r.appendChild(o),this.data=e,this.setupGlobalData(e,r),this.globalData.defs=o,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].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,n,a,r=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight,i=r/o;this.globalData.compSize.w/this.globalData.compSize.h>i?(e=r/this.globalData.compSize.w,t=r/this.globalData.compSize.w,n=0,a=(o-this.globalData.compSize.h*(r/this.globalData.compSize.w))/2):(e=o/this.globalData.compSize.h,t=o/this.globalData.compSize.h,n=(r-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,a=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+n+","+a+",0,1)",l.transform=l.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,n=this.globalData.compSize.h,a=this.threeDElements.length;for(e=0;e<a;e+=1){var r=this.threeDElements[e].perspectiveElem.style;r.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(n,2))+"px",r.perspective=r.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,n=e.length,a=createTag("div");for(t=0;t<n;t+=1)if(e[t].xt){var r=this.createComp(e[t],a,this.globalData.comp,null);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},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 n,a=0;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(n=this.elements[a].getBaseElement()),a+=1;n?this.layerElement.insertBefore(e,n):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 n=0,a=e.layers.length;n<a;){if(e.layers[n].nm===t||e.layers[n].ind===t)return e.elements[n].layerInterface;n+=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},Expressions=function(){var e={initExpressions:function(e){var t=0,n=[];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=n.length;for(e=0;e<t;e+=1)n[e].release();n.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===n.indexOf(e)&&n.push(e)}}};return 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 n,a=createSizedArray(t.viewData.length),r=t.viewData.length;for(n=0;n<r;n+=1)a[n]=new e(t.viewData[n],t.masksProperties[n]);return function(e){for(n=0;n<r;){if(t.masksProperties[n].nm===e)return a[n];n+=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 n(e,t,n){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(a){if(!e.numKeys)return 0;var r;r="s"in t.keyframes[a-1]?t.keyframes[a-1].s:"e"in t.keyframes[a-2]?t.keyframes[a-2].e:t.keyframes[a-2].s;var o="unidimensional"===n?new Number(r):Object.assign({},r);return o.time=t.keyframes[a-1].t/t.elem.comp.globalData.frameRate,o.value="unidimensional"===n?r[0]:r,o},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function a(){return e}return function(r){return r?"unidimensional"===r.propType?function(t){t&&"pv"in t||(t=e);var a=1/t.mult,r=t.pv*a,o=new Number(r);return o.value=r,n(o,t,"unidimensional"),function(){return t.k&&t.getValue(),r=t.v*a,o.value!==r&&((o=new Number(r)).value=r,n(o,t,"unidimensional")),o}}(r):function(e){e&&"pv"in e||(e=t);var a=1/e.mult,r=e.data&&e.data.l||e.pv.length,o=createTypedArray("float32",r),i=createTypedArray("float32",r);return o.value=i,n(o,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<r;t+=1)i[t]=e.v[t]*a,o[t]=i[t];return o}}(r):a}}(),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 n,a,r,o;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?o=ExpressionPropertyInterface(e.p):(n=ExpressionPropertyInterface(e.px),a=ExpressionPropertyInterface(e.py),e.pz&&(r=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?o():[n(),a(),r?r():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 n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.applyPoint(n,e)}function n(e,t){var n=this.getMatrix(t);return this.applyPoint(n,e)}function a(e,t){var n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.invertPoint(n,e)}function r(e,t){var n=this.getMatrix(t);return this.invertPoint(n,e)}function o(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,a=this._elem.hierarchy.length;for(n=0;n<a;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function i(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,a=this._elem.hierarchy.length;for(n=0;n<a;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function l(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var n,a=this._elem.hierarchy.length;for(n=0;n<a;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function s(){return[1,1,1,1]}return function(d){var c;function u(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return u.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return c;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return u.effect;case"ADBE Text Properties":return u.textInterface;default:return null}}u.getMatrix=e,u.invertPoint=i,u.applyPoint=o,u.toWorld=n,u.toWorldVec=t,u.fromWorld=r,u.fromWorldVec=a,u.toComp=n,u.fromComp=l,u.sampleImage=s,u.sourceRectAtTime=d.sourceRectAtTime.bind(d),u._elem=d;var h=getDescriptor(c=TransformExpressionInterface(d.finalTransform.mProp),"anchorPoint");return Object.defineProperties(u,{hasParent:{get:function(){return d.hierarchy.length}},parent:{get:function(){return d.hierarchy[0].layerInterface}},rotation:getDescriptor(c,"rotation"),scale:getDescriptor(c,"scale"),position:getDescriptor(c,"position"),opacity:getDescriptor(c,"opacity"),anchorPoint:h,anchor_point:h,transform:{get:function(){return c}},active:{get:function(){return d.isInRange}}}),u.startTime=d.data.st,u.index=d.data.ind,u.source=d.data.refId,u.height=0===d.data.ty?d.data.h:100,u.width=0===d.data.ty?d.data.w:100,u.inPoint=d.data.ip/d.comp.globalData.frameRate,u.outPoint=d.data.op/d.comp.globalData.frameRate,u._name=d.data.nm,u.registerMaskInterface=function(e){u.mask=new MaskManagerInterface(e,d)},u.registerEffectsInterface=function(e){u.effect=e},u}}(),propertyGroupFactory=function(e,t){return function(n){return(n=void 0===n?1:n)<=0?e:t(n-1)}},PropertyInterface=function(e,t){var n={_name:e};return function(e){return(e=void 0===e?1:e)<=0?n:t(e-1)}},EffectsExpressionInterface=function(){function e(n,a,r,o){function i(e){for(var t=n.ef,a=0,r=t.length;a<r;){if(e===t[a].nm||e===t[a].mn||e===t[a].ix)return 5===t[a].ty?d[a]:d[a]();a+=1}throw new Error}var l,s=propertyGroupFactory(i,r),d=[],c=n.ef.length;for(l=0;l<c;l+=1)5===n.ef[l].ty?d.push(e(n.ef[l],a.effectElements[l],a.effectElements[l].propertyGroup,o)):d.push(t(a.effectElements[l],n.ef[l].ty,o,s));return"ADBE Color Control"===n.mn&&Object.defineProperty(i,"color",{get:function(){return d[0]()}}),Object.defineProperties(i,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:s}}),i.enabled=0!==n.en,i.active=i.enabled,i}function t(e,t,n,a){var r=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",a)),function(){return 10===t?n.comp.compInterface(e.p.v):r()}}return{createEffectsInterface:function(t,n){if(t.effectsManager){var a,r=[],o=t.data.ef,i=t.effectsManager.effectElements.length;for(a=0;a<i;a+=1)r.push(e(o[a],t.effectsManager.effectElements[a],n,t));var l=t.data.ef||[],s=function(e){for(a=0,i=l.length;a<i;){if(e===l[a].nm||e===l[a].mn||e===l[a].ix)return r[a];a+=1}return null};return Object.defineProperty(s,"numProperties",{get:function(){return l.length}}),s}return null}}}(),ShapePathInterface=function(e,t,n){var a=t.sh;function r(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?r.path:null}var o=propertyGroupFactory(r,n);return a.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(r,{path:{get:function(){return a.k&&a.getValue(),a}},shape:{get:function(){return a.k&&a.getValue(),a}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:n}}),r},ShapeExpressionInterface=function(){function e(e,i,h){var p,f=[],m=e?e.length:0;for(p=0;p<m;p+=1)"gr"===e[p].ty?f.push(t(e[p],i[p],h)):"fl"===e[p].ty?f.push(n(e[p],i[p],h)):"st"===e[p].ty?f.push(r(e[p],i[p],h)):"tm"===e[p].ty?f.push(o(e[p],i[p],h)):"tr"===e[p].ty||("el"===e[p].ty?f.push(l(e[p],i[p],h)):"sr"===e[p].ty?f.push(s(e[p],i[p],h)):"sh"===e[p].ty?f.push(ShapePathInterface(e[p],i[p],h)):"rc"===e[p].ty?f.push(d(e[p],i[p],h)):"rd"===e[p].ty?f.push(c(e[p],i[p],h)):"rp"===e[p].ty?f.push(u(e[p],i[p],h)):"gf"===e[p].ty?f.push(a(e[p],i[p],h)):f.push((e[p],i[p],function(){return null})));return f}function t(t,n,a){var r=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return r.content;default:return r.transform}};r.propertyGroup=propertyGroupFactory(r,a);var o=function(t,n,a){var r,o=function(e){for(var t=0,n=r.length;t<n;){if(r[t]._name===e||r[t].mn===e||r[t].propertyIndex===e||r[t].ix===e||r[t].ind===e)return r[t];t+=1}return"number"==typeof e?r[e-1]:null};o.propertyGroup=propertyGroupFactory(o,a),r=e(t.it,n.it,o.propertyGroup),o.numProperties=r.length;var l=i(t.it[t.it.length-1],n.it[n.it.length-1],o.propertyGroup);return o.transform=l,o.propertyIndex=t.cix,o._name=t.nm,o}(t,n,r.propertyGroup),l=i(t.it[t.it.length-1],n.it[n.it.length-1],r.propertyGroup);return r.content=o,r.transform=l,Object.defineProperty(r,"_name",{get:function(){return t.nm}}),r.numProperties=t.np,r.propertyIndex=t.ix,r.nm=t.nm,r.mn=t.mn,r}function n(e,t,n){function a(e){return"Color"===e||"color"===e?a.color:"Opacity"===e||"opacity"===e?a.opacity:null}return Object.defineProperties(a,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),a}function a(e,t,n){function a(e){return"Start Point"===e||"start point"===e?a.startPoint:"End Point"===e||"end point"===e?a.endPoint:"Opacity"===e||"opacity"===e?a.opacity:null}return Object.defineProperties(a,{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",n)),t.e.setGroupProperty(PropertyInterface("End Point",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),a}function r(e,t,n){var a,r=propertyGroupFactory(d,n),o=propertyGroupFactory(s,r);function i(n){Object.defineProperty(s,e.d[n].nm,{get:ExpressionPropertyInterface(t.d.dataProps[n].p)})}var l=e.d?e.d.length:0,s={};for(a=0;a<l;a+=1)i(a),t.d.dataProps[a].p.setGroupProperty(o);function d(e){return"Color"===e||"color"===e?d.color:"Opacity"===e||"opacity"===e?d.opacity:"Stroke Width"===e||"stroke width"===e?d.strokeWidth:null}return Object.defineProperties(d,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return s}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),t.w.setGroupProperty(PropertyInterface("Stroke Width",r)),d}function o(e,t,n){function a(t){return t===e.e.ix||"End"===t||"end"===t?a.end:t===e.s.ix?a.start:t===e.o.ix?a.offset:null}var r=propertyGroupFactory(a,n);return a.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",r)),t.e.setGroupProperty(PropertyInterface("End",r)),t.o.setGroupProperty(PropertyInterface("Offset",r)),a.propertyIndex=e.ix,a.propertyGroup=n,Object.defineProperties(a,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),a.mn=e.mn,a}function i(e,t,n){function a(t){return e.a.ix===t||"Anchor Point"===t?a.anchorPoint:e.o.ix===t||"Opacity"===t?a.opacity:e.p.ix===t||"Position"===t?a.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?a.rotation:e.s.ix===t||"Scale"===t?a.scale:e.sk&&e.sk.ix===t||"Skew"===t?a.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?a.skewAxis:null}var r=propertyGroupFactory(a,n);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",r)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",r)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",r)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",r)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",r)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",r)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",r))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",r)),Object.defineProperties(a,{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}}),a.ty="tr",a.mn=e.mn,a.propertyGroup=n,a}function l(e,t,n){function a(t){return e.p.ix===t?a.position:e.s.ix===t?a.size:null}var r=propertyGroupFactory(a,n);a.propertyIndex=e.ix;var o="tm"===t.sh.ty?t.sh.prop:t.sh;return o.s.setGroupProperty(PropertyInterface("Size",r)),o.p.setGroupProperty(PropertyInterface("Position",r)),Object.defineProperties(a,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:e.nm}}),a.mn=e.mn,a}function s(e,t,n){function a(t){return e.p.ix===t?a.position:e.r.ix===t?a.rotation:e.pt.ix===t?a.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?a.outerRadius:e.os.ix===t?a.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?a.innerRoundness:null:a.innerRadius}var r=propertyGroupFactory(a,n),o="tm"===t.sh.ty?t.sh.prop:t.sh;return a.propertyIndex=e.ix,o.or.setGroupProperty(PropertyInterface("Outer Radius",r)),o.os.setGroupProperty(PropertyInterface("Outer Roundness",r)),o.pt.setGroupProperty(PropertyInterface("Points",r)),o.p.setGroupProperty(PropertyInterface("Position",r)),o.r.setGroupProperty(PropertyInterface("Rotation",r)),e.ir&&(o.ir.setGroupProperty(PropertyInterface("Inner Radius",r)),o.is.setGroupProperty(PropertyInterface("Inner Roundness",r))),Object.defineProperties(a,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:e.nm}}),a.mn=e.mn,a}function d(e,t,n){function a(t){return e.p.ix===t?a.position:e.r.ix===t?a.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?a.size:null}var r=propertyGroupFactory(a,n),o="tm"===t.sh.ty?t.sh.prop:t.sh;return a.propertyIndex=e.ix,o.p.setGroupProperty(PropertyInterface("Position",r)),o.s.setGroupProperty(PropertyInterface("Size",r)),o.r.setGroupProperty(PropertyInterface("Rotation",r)),Object.defineProperties(a,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:e.nm}}),a.mn=e.mn,a}function c(e,t,n){function a(t){return e.r.ix===t||"Round Corners 1"===t?a.radius:null}var r=propertyGroupFactory(a,n),o=t;return a.propertyIndex=e.ix,o.rd.setGroupProperty(PropertyInterface("Radius",r)),Object.defineProperties(a,{radius:{get:ExpressionPropertyInterface(o.rd)},_name:{value:e.nm}}),a.mn=e.mn,a}function u(e,t,n){function a(t){return e.c.ix===t||"Copies"===t?a.copies:e.o.ix===t||"Offset"===t?a.offset:null}var r=propertyGroupFactory(a,n),o=t;return a.propertyIndex=e.ix,o.c.setGroupProperty(PropertyInterface("Copies",r)),o.o.setGroupProperty(PropertyInterface("Offset",r)),Object.defineProperties(a,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:e.nm}}),a.mn=e.mn,a}return function(t,n,a){var r;function o(e){if("number"==typeof e)return 0===(e=void 0===e?1:e)?a:r[e-1];for(var t=0,n=r.length;t<n;){if(r[t]._name===e)return r[t];t+=1}return null}return o.propertyGroup=propertyGroupFactory(o,(function(){return a})),r=e(t,n,o.propertyGroup),o.numProperties=r.length,o._name="Contents",o}}(),TextExpressionInterface=function(e){var t,n;function a(e){return"ADBE Text Document"===e?a.sourceText:null}return Object.defineProperty(a,"sourceText",{get:function(){e.textProperty.getValue();var a=e.textProperty.currentData.t;return a!==t&&(t=e.textProperty.currentData.t,(n=new String(a)).value=a||new String(a),Object.defineProperty(n,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),n}}),a};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})(e)}var FootageInterface=(dataInterfaceFactory=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",n=e.getFootageData();function a(e){if(n[e])return t=e,"object"===_typeof$2(n=n[e])?a:n;var r=e.indexOf(t);if(-1!==r){var o=parseInt(e.substr(r+t.length),10);return"object"===_typeof$2(n=n[o])?a:n}return""}return function(){return t="",n=e.getFootageData(),a}}(e),t},function(e){function t(e){return"Data"===e?t.dataInterface:null}return t._name="Data",t.dataInterface=dataInterfaceFactory(e),t}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}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})(e)}function seedRandom(e,t){var n=this,a=t.pow(256,6),r=t.pow(2,52),o=2*r;function i(e){var t,n=e.length,a=this,r=0,o=a.i=a.j=0,i=a.S=[];for(n||(e=[n++]);r<256;)i[r]=r++;for(r=0;r<256;r++)i[r]=i[o=255&o+e[r%n]+(t=i[r])],i[o]=t;a.g=function(e){for(var t,n=0,r=a.i,o=a.j,i=a.S;e--;)t=i[r=255&r+1],n=256*n+i[255&(i[r]=i[o=255&o+t])+(i[o]=t)];return a.i=r,a.j=o,n}}function l(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function s(e,t){for(var n,a=e+"",r=0;r<a.length;)t[255&r]=255&(n^=19*t[255&r])+a.charCodeAt(r++);return d(t)}function d(e){return String.fromCharCode.apply(0,e)}t.seedrandom=function(c,u,h){var p=[],f=s(function e(t,n){var a,r=[],o=_typeof$1(t);if(n&&"object"==o)for(a in t)try{r.push(e(t[a],n-1))}catch(e){}return r.length?r:"string"==o?t:t+"\0"}((u=!0===u?{entropy:!0}:u||{}).entropy?[c,d(e)]:null===c?function(){try{var t=new Uint8Array(256);return(n.crypto||n.msCrypto).getRandomValues(t),d(t)}catch(t){var a=n.navigator,r=a&&a.plugins;return[+new Date,n,r,n.screen,d(e)]}}():c,3),p),m=new i(p),g=function(){for(var e=m.g(6),t=a,n=0;e<r;)e=256*(e+n),t*=256,n=m.g(1);for(;e>=o;)e/=2,t/=2,n>>>=1;return(e+n)/t};return g.int32=function(){return 0|m.g(4)},g.quick=function(){return m.g(4)/4294967296},g.double=g,s(d(m.S),e),(u.pass||h||function(e,n,a,r){return r&&(r.S&&l(r,m),e.state=function(){return l(m,{})}),a?(t.random=e,n):e})(g,f,"global"in u?u.global:this==t,u.state)},s(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};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})(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var n,a=e.length,r=[];for(n=0;n<a;n+=1)r[n]=-e[n];return r}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 n=_typeof(e),a=_typeof(t);if("string"===n||"string"===a)return e+t;if(isNumerable(n,e)&&isNumerable(a,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var r=0,o=e.length,i=t.length,l=[];r<o||r<i;)("number"==typeof e[r]||e[r]instanceof Number)&&("number"==typeof t[r]||t[r]instanceof Number)?l[r]=e[r]+t[r]:l[r]=void 0===t[r]?e[r]:e[r]||t[r],r+=1;return l}return 0}var add=sum;function sub(e,t){var n=_typeof(e),a=_typeof(t);if(isNumerable(n,e)&&isNumerable(a,t))return"string"===n&&(e=parseInt(e,10)),"string"===a&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var r=0,o=e.length,i=t.length,l=[];r<o||r<i;)("number"==typeof e[r]||e[r]instanceof Number)&&("number"==typeof t[r]||t[r]instanceof Number)?l[r]=e[r]-t[r]:l[r]=void 0===t[r]?e[r]:e[r]||t[r],r+=1;return l}return 0}function mul(e,t){var n,a,r,o=_typeof(e),i=_typeof(t);if(isNumerable(o,e)&&isNumerable(i,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(r=e.length,n=createTypedArray("float32",r),a=0;a<r;a+=1)n[a]=e[a]*t;return n}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(r=t.length,n=createTypedArray("float32",r),a=0;a<r;a+=1)n[a]=e*t[a];return n}return 0}function div(e,t){var n,a,r,o=_typeof(e),i=_typeof(t);if(isNumerable(o,e)&&isNumerable(i,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(r=e.length,n=createTypedArray("float32",r),a=0;a<r;a+=1)n[a]=e[a]/t;return n}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(r=t.length,n=createTypedArray("float32",r),a=0;a<r;a+=1)n[a]=e/t[a];return n}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,n){if(t>n){var a=n;n=t,t=a}return Math.min(Math.max(e,t),n)}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 n;t||(t=helperLengthArray);var a=Math.min(e.length,t.length),r=0;for(n=0;n<a;n+=1)r+=Math.pow(t[n]-e[n],2);return Math.sqrt(r)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,n,a=e[0],r=e[1],o=e[2],i=Math.max(a,r,o),l=Math.min(a,r,o),s=(i+l)/2;if(i===l)t=0,n=0;else{var d=i-l;switch(n=s>.5?d/(2-i-l):d/(i+l),i){case a:t=(r-o)/d+(r<o?6:0);break;case r:t=(o-a)/d+2;break;case o:t=(a-r)/d+4}t/=6}return[t,n,s,e[3]]}function hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslToRgb(e){var t,n,a,r=e[0],o=e[1],i=e[2];if(0===o)t=i,a=i,n=i;else{var l=i<.5?i*(1+o):i+o-i*o,s=2*i-l;t=hue2rgb(s,l,r+1/3),n=hue2rgb(s,l,r),a=hue2rgb(s,l,r-1/3)}return[t,n,a,e[3]]}function linear(e,t,n,a,r){if(void 0!==a&&void 0!==r||(a=t,r=n,t=0,n=1),n<t){var o=n;n=t,t=o}if(e<=t)return a;if(e>=n)return r;var i,l=n===t?0:(e-t)/(n-t);if(!a.length)return a+(r-a)*l;var s=a.length,d=createTypedArray("float32",s);for(i=0;i<s;i+=1)d[i]=a[i]+(r[i]-a[i])*l;return d}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var n,a=t.length;e||(e=createTypedArray("float32",a));var r=createTypedArray("float32",a),o=BMMath.random();for(n=0;n<a;n+=1)r[n]=e[n]+o*(t[n]-e[n]);return r}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,n,a){var r,o=e.length,i=shapePool.newElement();i.setPathData(!!a,o);var l,s,d=[0,0];for(r=0;r<o;r+=1)l=t&&t[r]?t[r]:d,s=n&&n[r]?n[r]:d,i.setTripleAt(e[r][0],e[r][1],s[0]+e[r][0],s[1]+e[r][1],l[0]+e[r][0],l[1]+e[r][1],r,!0);return i}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 n,a,r=this.pv.length?this.pv.length:1,o=createTypedArray("float32",r),i=Math.floor(5*time);for(n=0,a=0;n<i;){for(a=0;a<r;a+=1)o[a]+=-t+2*t*BMMath.random();n+=1}var l=5*time,s=l-Math.floor(l),d=createTypedArray("float32",r);if(r>1){for(a=0;a<r;a+=1)d[a]=this.pv[a]+o[a]+(-t+2*t*BMMath.random())*s;return d}return this.pv+o[0]+(-t+2*t*BMMath.random())*s}.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 n=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],a=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads;return[-Math.atan2(n[1],n[2])/degToRads,a,0]}function easeOut(e,t,n,a,r){return applyEase(easeOutBez,e,t,n,a,r)}function easeIn(e,t,n,a,r){return applyEase(easeInBez,e,t,n,a,r)}function ease(e,t,n,a,r){return applyEase(easeInOutBez,e,t,n,a,r)}function applyEase(e,t,n,a,r,o){void 0===r?(r=n,o=a):t=(t-n)/(a-n),t>1?t=1:t<0&&(t=0);var i=e(t);if($bm_isInstanceOfArray(r)){var l,s=r.length,d=createTypedArray("float32",s);for(l=0;l<s;l+=1)d[l]=(o[l]-r[l])*i+r[l];return d}return(o-r)*i+r}function nearestKey(e){var t,n,a,r=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(n=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)n=1,a=data.k[0].t;else{for(t=0;t<r-1;t+=1){if(e===data.k[t].t){n=t+1,a=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?(n=t+2,a=data.k[t+1].t):(n=t+1,a=data.k[t].t);break}}-1===n&&(n=t+1,a=data.k[t].t)}else n=0,a=0;var o={};return o.index=n,o.time=a/elem.comp.globalData.frameRate,o}function key(e){var t,n,a;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 r=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(a=r.length,n=0;n<a;n+=1)t[n]=r[n],t.value[n]=r[n];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;elem.hierarchy&&elem.hierarchy.length;var 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)),!(!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],ob}(),expressionHelpers={searchExpressions:function(e,t,n){t.x&&(n.k=!0,n.x=!0,n.initiateExpression=ExpressionManager.initiateExpression,n.effectsSequence.push(n.initiateExpression(e,t,n).bind(n)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),n=this.getValueAtTime(e+-.01),a=0;if(t.length){var r;for(r=0;r<t.length;r+=1)a+=Math.pow(n[r]-t[r],2);a=100*Math.sqrt(a)}else a=0;return a},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,n,a=this.getValueAtTime(e),r=this.getValueAtTime(e+-.001);if(a.length)for(t=createTypedArray("float32",a.length),n=0;n<a.length;n+=1)t[n]=(r[n]-a[n])/-.001;else t=(r-a)/-.001;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,n){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var a,r,o,i,l,s=this.comp.renderedFrame,d=this.keyframes,c=d[d.length-1].t;if(s<=c)return this.pv;if(n?r=c-(a=t?Math.abs(c-this.elem.comp.globalData.frameRate*t):Math.max(0,c-this.elem.data.ip)):((!t||t>d.length-1)&&(t=d.length-1),a=c-(r=d[d.length-1-t].t)),"pingpong"===e){if(Math.floor((s-r)/a)%2!=0)return this.getValueAtTime((a-(s-r)%a+r)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var u=this.getValueAtTime(r/this.comp.globalData.frameRate,0),h=this.getValueAtTime(c/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((s-r)%a+r)/this.comp.globalData.frameRate,0),f=Math.floor((s-r)/a);if(this.pv.length){for(i=(l=new Array(u.length)).length,o=0;o<i;o+=1)l[o]=(h[o]-u[o])*f+p[o];return l}return(h-u)*f+p}if("continue"===e){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(i=(l=new Array(m.length)).length,o=0;o<i;o+=1)l[o]=m[o]+(m[o]-g[o])*((s-c)/this.comp.globalData.frameRate)/5e-4;return l}return m+(s-c)/.001*(m-g)}}return this.getValueAtTime(((s-r)%a+r)/this.comp.globalData.frameRate,0)}function t(e,t,n){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var a,r,o,i,l,s=this.comp.renderedFrame,d=this.keyframes,c=d[0].t;if(s>=c)return this.pv;if(n?r=c+(a=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-c)):((!t||t>d.length-1)&&(t=d.length-1),a=(r=d[t].t)-c),"pingpong"===e){if(Math.floor((c-s)/a)%2==0)return this.getValueAtTime(((c-s)%a+c)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var u=this.getValueAtTime(c/this.comp.globalData.frameRate,0),h=this.getValueAtTime(r/this.comp.globalData.frameRate,0),p=this.getValueAtTime((a-(c-s)%a+c)/this.comp.globalData.frameRate,0),f=Math.floor((c-s)/a)+1;if(this.pv.length){for(i=(l=new Array(u.length)).length,o=0;o<i;o+=1)l[o]=p[o]-(h[o]-u[o])*f;return l}return p-(h-u)*f}if("continue"===e){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(i=(l=new Array(m.length)).length,o=0;o<i;o+=1)l[o]=m[o]+(m[o]-g[o])*(c-s)/.001;return l}return m+(m-g)*(c-s)/.001}}return this.getValueAtTime((a-((c-s)%a+c))/this.comp.globalData.frameRate,0)}function n(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var n,a,r=this.comp.renderedFrame/this.comp.globalData.frameRate,o=r-e,i=t>1?(r+e-o)/(t-1):1,l=0,s=0;for(n=this.pv.length?createTypedArray("float32",this.pv.length):0;l<t;){if(a=this.getValueAtTime(o+l*i),this.pv.length)for(s=0;s<this.pv.length;s+=1)n[s]+=a[s];else n+=a;l+=1}if(this.pv.length)for(s=0;s<this.pv.length;s+=1)n[s]/=t;else n/=t;return n}function a(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var n=this.a.getValueAtTime(e);t.translate(-n[0]*this.a.mult,-n[1]*this.a.mult,n[2]*this.a.mult)}if(this.appliedTransformations<2){var a=this.s.getValueAtTime(e);t.scale(a[0]*this.s.mult,a[1]*this.s.mult,a[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var r=this.sk.getValueAtTime(e),o=this.sa.getValueAtTime(e);t.skewFromAxis(-r*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var i=this.r.getValueAtTime(e);t.rotate(-i*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var l=this.rz.getValueAtTime(e),s=this.ry.getValueAtTime(e),d=this.rx.getValueAtTime(e),c=this.or.getValueAtTime(e);t.rotateZ(-l*this.rz.mult).rotateY(s*this.ry.mult).rotateX(d*this.rx.mult).rotateZ(-c[2]*this.or.mult).rotateY(c[1]*this.or.mult).rotateX(c[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var u=this.px.getValueAtTime(e),h=this.py.getValueAtTime(e);if(this.data.p.z){var p=this.pz.getValueAtTime(e);t.translate(u*this.px.mult,h*this.py.mult,-p*this.pz.mult)}else t.translate(u*this.px.mult,h*this.py.mult,0)}else{var f=this.p.getValueAtTime(e);t.translate(f[0]*this.p.mult,f[1]*this.p.mult,-f[2]*this.p.mult)}return t}function r(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,n){var i=o(e,t,n);return i.dynamicProperties.length?i.getValueAtTime=a.bind(i):i.getValueAtTime=r.bind(i),i.setGroupProperty=expressionHelpers.setGroupProperty,i};var i=PropertyFactory.getProp;PropertyFactory.getProp=function(a,r,o,l,s){var d=i(a,r,o,l,s);d.kf?d.getValueAtTime=expressionHelpers.getValueAtTime.bind(d):d.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(d),d.setGroupProperty=expressionHelpers.setGroupProperty,d.loopOut=e,d.loopIn=t,d.smooth=n,d.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(d),d.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(d),d.numKeys=1===r.a?r.k.length:0,d.propertyIndex=r.ix;var c=0;return 0!==o&&(c=createTypedArray("float32",1===r.a?r.k[0].s.length:r.k.length)),d._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:c},expressionHelpers.searchExpressions(a,r,d),d.k&&s.addDynamicProperty(d),d};var l=ShapePropertyFactory.getConstructorFunction(),s=ShapePropertyFactory.getKeyframedConstructorFunction();function d(){}d.prototype={vertices:function(e,t){this.k&&this.getValue();var n,a=this.v;void 0!==t&&(a=this.getValueAtTime(t,0));var r=a._length,o=a[e],i=a.v,l=createSizedArray(r);for(n=0;n<r;n+=1)l[n]="i"===e||"o"===e?[o[n][0]-i[n][0],o[n][1]-i[n][1]]:[o[n][0],o[n][1]];return l},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 n=this.v;void 0!==t&&(n=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(n));for(var a,r=this._segmentsLength,o=r.lengths,i=r.totalLength*e,l=0,s=o.length,d=0;l<s;){if(d+o[l].addedLength>i){var c=l,u=n.c&&l===s-1?0:l+1,h=(i-d)/o[l].addedLength;a=bez.getPointInSegment(n.v[c],n.v[u],n.o[c],n.i[u],h,o[l]);break}d+=o[l].addedLength,l+=1}return a||(a=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),a},vectorOnPath:function(e,t,n){1==e?e=this.v.c:0==e&&(e=.999);var a=this.pointOnPath(e,t),r=this.pointOnPath(e+.001,t),o=r[0]-a[0],i=r[1]-a[1],l=Math.sqrt(Math.pow(o,2)+Math.pow(i,2));return 0===l?[0,0]:"tangent"===n?[o/l,i/l]:[-i/l,o/l]},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([d],l),extendPrototype([d],s),s.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},s.prototype.initiateExpression=ExpressionManager.initiateExpression;var c=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,n,a,r){var o=c(e,t,n,a,r);return o.propertyIndex=t.ix,o.lock=!1,3===n?expressionHelpers.searchExpressions(e,t.pt,o):4===n&&expressionHelpers.searchExpressions(e,t.ks,o),o.k&&e.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var n=this.calculateExpression(t);if(e.t!==n){var a={};return this.copyData(a,e),a.t=n.toString(),a.__complete=!1,a}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 n,a,r=createNS("feMerge");for(r.setAttribute("result",e),a=0;a<t.length;a+=1)(n=createNS("feMergeNode")).setAttribute("in",t[a]),r.appendChild(n),r.appendChild(n);return r}};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,n,a,r){this.filterManager=t;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=o,o.setAttribute("result",a+"_tint_1"),e.appendChild(o),(o=createNS("feColorMatrix")).setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",a+"_tint_2"),e.appendChild(o),this.matrixFilter=o;var i=this.createMergeNode(a,[r,a+"_tint_1",a+"_tint_2"]);e.appendChild(i)}function SVGFillFilter(e,t,n,a){this.filterManager=t;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result",a),e.appendChild(r),this.matrixFilter=r}function SVGStrokeEffect(e,t,n){this.initialized=!1,this.filterManager=t,this.elem=n,this.paths=[]}function SVGTritoneFilter(e,t,n,a){this.filterManager=t;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(r);var o=createNS("feComponentTransfer");o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",a),this.matrixFilter=o;var i=createNS("feFuncR");i.setAttribute("type","table"),o.appendChild(i),this.feFuncR=i;var l=createNS("feFuncG");l.setAttribute("type","table"),o.appendChild(l),this.feFuncG=l;var s=createNS("feFuncB");s.setAttribute("type","table"),o.appendChild(s),this.feFuncB=s,e.appendChild(o)}function SVGProLevelsFilter(e,t,n,a){this.filterManager=t;var r=this.filterManager.effectElements,o=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",o)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",o)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",o)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",o)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(o.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(o)),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&((o=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",a),e.appendChild(o),this.feFuncRComposed=this.createFeFunc("feFuncR",o),this.feFuncGComposed=this.createFeFunc("feFuncG",o),this.feFuncBComposed=this.createFeFunc("feFuncB",o))}function SVGDropShadowEffect(e,t,n,a,r){var o=t.container.globalData.renderConfig.filterSize,i=t.data.fs||o;e.setAttribute("x",i.x||o.x),e.setAttribute("y",i.y||o.y),e.setAttribute("width",i.width||o.width),e.setAttribute("height",i.height||o.height),this.filterManager=t;var l=createNS("feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("result",a+"_drop_shadow_1"),l.setAttribute("stdDeviation","0"),this.feGaussianBlur=l,e.appendChild(l);var s=createNS("feOffset");s.setAttribute("dx","25"),s.setAttribute("dy","0"),s.setAttribute("in",a+"_drop_shadow_1"),s.setAttribute("result",a+"_drop_shadow_2"),this.feOffset=s,e.appendChild(s);var d=createNS("feFlood");d.setAttribute("flood-color","#00ff00"),d.setAttribute("flood-opacity","1"),d.setAttribute("result",a+"_drop_shadow_3"),this.feFlood=d,e.appendChild(d);var c=createNS("feComposite");c.setAttribute("in",a+"_drop_shadow_3"),c.setAttribute("in2",a+"_drop_shadow_2"),c.setAttribute("operator","in"),c.setAttribute("result",a+"_drop_shadow_4"),e.appendChild(c);var u=this.createMergeNode(a,[a+"_drop_shadow_4",r]);e.appendChild(u)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,a=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+a+" 0"),this.matrixFilter.setAttribute("values",n[0]-t[0]+" 0 0 0 "+t[0]+" "+(n[1]-t[1])+" 0 0 0 "+t[1]+" "+(n[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,n=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 "+n+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,n,a,r=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(a=this.elem.maskManager.masksProperties.length,n=0):a=1+(n=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);n<a;n+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:n});if(3===this.filterManager.effectElements[10].p.v){var o=createNS("mask"),i=createElementID();o.setAttribute("id",i),o.setAttribute("mask-type","alpha"),o.appendChild(t),this.elem.globalData.defs.appendChild(o);var l=createNS("g");for(l.setAttribute("mask","url("+getLocationHref()+"#"+i+")");r[0];)l.appendChild(r[0]);this.elem.layerElement.appendChild(l),this.masker=o,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(r=this.elem.layerElement.children||this.elem.layerElement.childNodes;r.length;)this.elem.layerElement.removeChild(r[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 n,a,r=this.paths.length;for(t=0;t<r;t+=1)if(-1!==this.paths[t].m&&(n=this.elem.maskManager.viewData[this.paths[t].m],a=this.paths[t].p,(e||this.filterManager._mdf||n.prop._mdf)&&a.setAttribute("d",n.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||n.prop._mdf)){var o;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var i=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=a.getTotalLength();o="0 0 0 "+s*i+" ";var d,c=s*(l-i),u=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,h=Math.floor(c/u);for(d=0;d<h;d+=1)o+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";o+="0 "+10*s+" 0 0"}else o="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;a.setAttribute("stroke-dasharray",o)}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,n=this.filterManager.effectElements[1].p.v,a=this.filterManager.effectElements[2].p.v,r=a[0]+" "+n[0]+" "+t[0],o=a[1]+" "+n[1]+" "+t[1],i=a[2]+" "+n[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",r),this.feFuncG.setAttribute("tableValues",o),this.feFuncB.setAttribute("tableValues",i)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var n=createNS(e);return n.setAttribute("type","table"),t.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(e,t,n,a,r){for(var o,i,l=0,s=Math.min(e,t),d=Math.max(e,t),c=Array.call(null,{length:256}),u=0,h=r-a,p=t-e;l<=256;)i=(o=l/256)<=s?p<0?r:a:o>=d?p<0?a:r:a+h*Math.pow((o-e)/p,1/n),c[u]=i,u+=1,l+=256/255;return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,n=this.filterManager.effectElements;this.feFuncRComposed&&(e||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(t=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(t=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(t=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(t=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(t=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[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 n=this.filterManager.effectElements[3].p.v,a=(this.filterManager.effectElements[2].p.v-90)*degToRads,r=n*Math.cos(a),o=n*Math.sin(a);this.feOffset.setAttribute("dx",r),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,n){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGGaussianBlurEffect(e,t,n,a){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var r=createNS("feGaussianBlur");r.setAttribute("result",a),e.appendChild(r),this.feGaussianBlur=r}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,n=_svgMatteSymbols.length;t<n;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var n=e.layerElement.parentNode;if(n){for(var a,r=n.children,o=0,i=r.length;o<i&&r[o]!==e.layerElement;)o+=1;o<=i-2&&(a=r[o+1]);var l=createNS("use");l.setAttribute("href","#"+t),a?n.insertBefore(l,a):n.appendChild(l)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var n=createElementID(),a=createNS("mask");a.setAttribute("id",t.layerId),a.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var r=e.globalData.defs;r.appendChild(a);var o=createNS("symbol");o.setAttribute("id",n),this.replaceInParent(t,n),o.appendChild(t.layerElement),r.appendChild(o);var i=createNS("use");i.setAttribute("href","#"+n),a.appendChild(i),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,n=0,a=t.length;n<a;)t[n]&&t[n].data.ind===e&&this.setElementAsMask(this.elem,t[n]),n+=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,n=this.filterManager.effectElements[1].p.v,a=3==n?0:t,r=2==n?0:t;this.feGaussianBlur.setAttribute("stdDeviation",a+" "+r);var o=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}},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(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie},module.exports=e())})),REACT_LOTTIE_PLAYER_VERSION="3.5.3",LOTTIE_WEB_VERSION="^5.10.2",PlayerState,PlayerEvent,t;function parseSrc(e){if("object"==typeof e)return e;try{return JSON.parse(e)}catch(e){}try{return new URL(e).toString()}catch(e){}return e}t=PlayerState||(PlayerState={}),t.Loading="loading",t.Playing="playing",t.Paused="paused",t.Stopped="stopped",t.Frozen="frozen",t.Error="error",function(e){e.Load="load",e.InstanceSaved="instanceSaved",e.Error="error",e.Ready="ready",e.Play="play",e.Pause="pause",e.Stop="stop",e.Freeze="freeze",e.Loop="loop",e.Complete="complete",e.Frame="frame"}(PlayerEvent||(PlayerEvent={}));var defaultOptions={clearCanvas:!1,hideOnTransparent:!0,progressiveLoad:!0},Player=function(e){function t(t){var n=e.call(this,t)||this;return n.container=null,n.unmounted=!1,n.handleBgChange=function(e){n.setState({background:e})},n.triggerDownload=function(e,t){var n=document.createElement("a");n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n)},n.snapshot=function(e){var t;void 0===e&&(e=!0);var a=n.props.id?n.props.id:"lottie",r=document.getElementById(a);if("svg"===n.props.renderer){if(r){var o=r.querySelector("svg");if(o){var i=(new XMLSerializer).serializeToString(o);t="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(i)}}e&&n.triggerDownload(t,"snapshot.svg")}else if("canvas"===n.props.renderer){if(r){var l=r.querySelector("canvas");l&&(t=l.toDataURL("image/png"))}e&&n.triggerDownload(t,"snapshot.png")}return t},"undefined"!=typeof window&&(window.lottie=lottie),n.state={animationData:null,background:"transparent",containerRef:React__namespace.createRef(),debug:!0,instance:null,playerState:PlayerState.Loading,seeker:0},n}return __extends(t,e),t.getDerivedStateFromProps=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return e.background!==t.background?[2,{background:e.background}]:[2,null]}))}))},t.prototype.getVersions=function(){return{lottieWebVersion:LOTTIE_WEB_VERSION,lottiePlayerVersion:REACT_LOTTIE_PLAYER_VERSION}},t.prototype.componentDidMount=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return this.unmounted?[3,2]:[4,this.createLottie()];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},t.prototype.componentWillUnmount=function(){this.unmounted=!0,this.state.instance&&this.state.instance.destroy()},t.prototype.componentDidUpdate=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return this.props.src===e.src?[3,2]:(this.state.instance&&this.state.instance.destroy(),[4,this.createLottie()]);case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},t.prototype.render=function(){var e=this,t=this.props,n=t.children,a=t.loop,r=t.style,o=t.onBackgroundChange,i=t.className,l=this.state,s=l.animationData,d=l.instance,c=l.playerState,u=l.seeker,h=l.debug,p=l.background;return React__namespace.createElement("div",{className:"lf-player-container"},this.state.playerState===PlayerState.Error?React__namespace.createElement("div",{className:"lf-error"},React__namespace.createElement("span",{"aria-label":"error-symbol",role:"img"},"⚠️")):React__namespace.createElement("div",{id:this.props.id?this.props.id:"lottie",ref:function(t){return e.container=t},style:__assign({background:p,margin:"0 auto",outline:"none",overflow:"hidden"},r),className:i}),React__namespace.Children.map(n,(function(t){return React__namespace.isValidElement(t)?React__namespace.cloneElement(t,{animationData:s,background:p,debug:h,instance:d,loop:a,pause:function(){return e.pause()},play:function(){return e.play()},playerState:c,seeker:u,setBackground:function(t){e.setState({background:t}),"function"==typeof o&&o(t)},setSeeker:function(t,n){return e.setSeeker(t,n)},stop:function(){return e.stop()},toggleDebug:function(){return e.toggleDebug()},setLoop:function(t){return e.setLoop(t)},colorChangedEvent:function(t){e.handleBgChange(t)},snapshot:function(){e.snapshot()}}):null})))},t.prototype.toggleDebug=function(){this.setState({debug:!this.state.debug})},t.prototype.createLottie=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,a,r,o,i,l,s,d,c,u,h,p,f=this;return __generator(this,(function(m){switch(m.label){case 0:if(e=this.props,t=e.autoplay,n=e.direction,a=e.loop,r=e.lottieRef,o=e.renderer,i=e.speed,l=e.src,s=e.background,d=e.rendererSettings,c=e.hover,u=this.state.instance,!l||!this.container)return[2];m.label=1;case 1:return m.trys.push([1,5,,6]),"string"!=typeof(h=parseSrc(l))?[3,4]:[4,fetch(h).catch((function(){throw f.setState({playerState:PlayerState.Error}),f.triggerEvent(PlayerEvent.Error),new Error("@LottieFiles/lottie-react: Animation data could not be fetched.")}))];case 2:return[4,m.sent().json().catch((function(){throw f.setState({playerState:PlayerState.Error}),f.triggerEvent(PlayerEvent.Error),new Error("@LottieFiles/lottie-react: Animation data could not be fetched.")}))];case 3:h=m.sent(),m.label=4;case 4:return u&&u.destroy(),p=lottie.loadAnimation({rendererSettings:d||defaultOptions,animationData:h,autoplay:t||!1,container:this.container,loop:a||!1,renderer:o}),i&&p.setSpeed(i),this.setState({animationData:h}),this.setState({instance:p},(function(){f.triggerEvent(PlayerEvent.InstanceSaved),"function"==typeof r&&r(p),t&&f.play()})),p.addEventListener("enterFrame",(function(){f.triggerEvent(PlayerEvent.Frame),f.setState({seeker:Math.floor(p.currentFrame)})})),p.addEventListener("DOMLoaded",(function(){f.triggerEvent(PlayerEvent.Load)})),p.addEventListener("data_ready",(function(){f.triggerEvent(PlayerEvent.Ready)})),p.addEventListener("data_failed",(function(){f.setState({playerState:PlayerState.Error}),f.triggerEvent(PlayerEvent.Error)})),p.addEventListener("loopComplete",(function(){f.triggerEvent(PlayerEvent.Loop)})),p.addEventListener("complete",(function(){f.triggerEvent(PlayerEvent.Complete),f.setState({playerState:PlayerState.Paused}),f.props.keepLastFrame&&!f.props.loop||f.setSeeker(0)})),this.container&&(this.container.addEventListener("mouseenter",(function(){c&&f.state.playerState!==PlayerState.Playing&&(f.props.keepLastFrame&&f.stop(),f.play())})),this.container.addEventListener("mouseleave",(function(){c&&f.state.playerState===PlayerState.Playing&&f.stop()}))),i&&this.setPlayerSpeed(i),n&&this.setPlayerDirection(n),s&&this.setState({background:s}),[3,6];case 5:return m.sent(),this.setState({playerState:PlayerState.Error}),this.triggerEvent(PlayerEvent.Error),[3,6];case 6:return[2]}}))}))},t.prototype.play=function(){var e=this.state.instance;e&&(this.triggerEvent(PlayerEvent.Play),e.play(),this.setState({playerState:PlayerState.Playing}))},t.prototype.pause=function(){var e=this.state.instance;e&&(this.triggerEvent(PlayerEvent.Pause),e.pause(),this.setState({playerState:PlayerState.Paused}))},t.prototype.stop=function(){var e=this.state.instance;e&&(this.triggerEvent(PlayerEvent.Stop),e.stop(),this.setState({playerState:PlayerState.Stopped}))},t.prototype.setPlayerSpeed=function(e){var t=this.state.instance;t&&t.setSpeed(e)},t.prototype.setPlayerDirection=function(e){var t=this.state.instance;t&&t.setDirection(e)},t.prototype.setSeeker=function(e,t){void 0===t&&(t=!1);var n=this.state,a=n.instance,r=n.playerState;a&&(t&&r===PlayerState.Playing?a.goToAndPlay(e,!0):(a.goToAndStop(e,!0),this.triggerEvent(PlayerEvent.Pause),this.setState({playerState:PlayerState.Paused})))},t.prototype.setLoop=function(e){var t=this.state.instance;t&&(t.loop=e,this.setState({instance:t}))},t.prototype.triggerEvent=function(e){var t=this.props.onEvent;t&&t(e)},t.defaultProps={loop:!1},t}(React__namespace.Component);function styleInject(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&a.firstChild?a.insertBefore(r,a.firstChild):a.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}var css_248z=".lf-progress {\n -webkit-appearance: none;\n -moz-apperance: none;\n width: 100%;\n /* margin: 0 10px; */\n height: 4px;\n border-radius: 3px;\n cursor: pointer;\n}\n.lf-progress:focus {\n outline: none;\n border: none;\n}\n.lf-progress::-moz-range-track {\n cursor: pointer;\n background: none;\n border: none;\n outline: none;\n}\n.lf-progress::-webkit-slider-thumb {\n -webkit-appearance: none !important;\n height: 13px;\n width: 13px;\n border: 0;\n border-radius: 50%;\n background: #0fccce;\n cursor: pointer;\n}\n.lf-progress::-moz-range-thumb {\n -moz-appearance: none !important;\n height: 13px;\n width: 13px;\n border: 0;\n border-radius: 50%;\n background: #0fccce;\n cursor: pointer;\n}\n.lf-progress::-ms-track {\n width: 100%;\n height: 3px;\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n color: transparent;\n}\n.lf-progress::-ms-fill-lower {\n background: #ccc;\n border-radius: 3px;\n}\n.lf-progress::-ms-fill-upper {\n background: #ccc;\n border-radius: 3px;\n}\n.lf-progress::-ms-thumb {\n border: 0;\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: #0fccce;\n cursor: pointer;\n}\n.lf-progress:focus::-ms-fill-lower {\n background: #ccc;\n}\n.lf-progress:focus::-ms-fill-upper {\n background: #ccc;\n}\n.lf-player-container :focus {\n outline: 0;\n}\n.lf-popover {\n position: relative;\n}\n\n.lf-popover-content {\n display: inline-block;\n position: absolute;\n opacity: 1;\n visibility: visible;\n transform: translate(0, -10px);\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);\n transition: all 0.3s cubic-bezier(0.75, -0.02, 0.2, 0.97);\n}\n\n.lf-popover-content.hidden {\n opacity: 0;\n visibility: hidden;\n transform: translate(0, 0px);\n}\n\n.lf-player-btn-container {\n display: flex;\n align-items: center;\n}\n.lf-player-btn {\n cursor: pointer;\n fill: #999;\n width: 14px;\n}\n\n.lf-player-btn.active {\n fill: #555;\n}\n\n.lf-popover {\n position: relative;\n}\n\n.lf-popover-content {\n display: inline-block;\n position: absolute;\n background-color: #ffffff;\n opacity: 1;\n\n transform: translate(0, -10px);\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);\n transition: all 0.3s cubic-bezier(0.75, -0.02, 0.2, 0.97);\n padding: 10px;\n}\n\n.lf-popover-content.hidden {\n opacity: 0;\n visibility: hidden;\n transform: translate(0, 0px);\n}\n\n.lf-arrow {\n position: absolute;\n z-index: -1;\n content: '';\n bottom: -9px;\n border-style: solid;\n border-width: 10px 10px 0px 10px;\n}\n\n.lf-left-align,\n.lf-left-align .lfarrow {\n left: 0;\n right: unset;\n}\n\n.lf-right-align,\n.lf-right-align .lf-arrow {\n right: 0;\n left: unset;\n}\n\n.lf-text-input {\n border: 1px #ccc solid;\n border-radius: 5px;\n padding: 3px;\n width: 60px;\n margin: 0;\n}\n\n.lf-color-picker {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n height: 90px;\n}\n\n.lf-color-selectors {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n\n.lf-color-component {\n display: flex;\n flex-direction: row;\n font-size: 12px;\n align-items: center;\n justify-content: center;\n}\n\n.lf-color-component strong {\n width: 40px;\n}\n\n.lf-color-component input[type='range'] {\n margin: 0 0 0 10px;\n}\n\n.lf-color-component input[type='number'] {\n width: 50px;\n margin: 0 0 0 10px;\n}\n\n.lf-color-preview {\n font-size: 12px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n padding-left: 5px;\n}\n\n.lf-preview {\n height: 60px;\n width: 60px;\n}\n\n.lf-popover-snapshot {\n width: 150px;\n}\n.lf-popover-snapshot h5 {\n margin: 5px 0 10px 0;\n font-size: 0.75rem;\n}\n.lf-popover-snapshot a {\n display: block;\n text-decoration: none;\n}\n.lf-popover-snapshot a:before {\n content: '⥼';\n margin-right: 5px;\n}\n.lf-popover-snapshot .lf-note {\n display: block;\n margin-top: 10px;\n color: #999;\n}\n.lf-player-controls > div {\n margin-right: 5px;\n margin-left: 5px;\n}\n.lf-player-controls > div:first-child {\n margin-left: 0px;\n}\n.lf-player-controls > div:last-child {\n margin-right: 0px;\n}\n";styleInject(css_248z);var ColorPicker=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={red:0,green:0,blue:0,rgba:null,hex:"#000000",colorComponents:[]},t.handleChange=function(e,n){if("r"===e){var a="#"+(256|n).toString(16).slice(1)+(256|t.state.green).toString(16).slice(1)+(256|t.state.blue).toString(16).slice(1);t.setState({hex:a})}else"g"===e?(a="#"+(256|t.state.red).toString(16).slice(1)+(256|n).toString(16).slice(1)+(256|t.state.blue).toString(16).slice(1),t.setState({hex:a})):"b"===e&&(a="#"+(256|t.state.red).toString(16).slice(1)+(256|t.state.green).toString(16).slice(1)+(256|n).toString(16).slice(1),t.setState({hex:a}))},t.parseColor=function(e){var n;if("string"==typeof e){if("#"===e[0]){var a=4===e.length?[e.slice(1,2),e.slice(2,3),e.slice(3,4)].map((function(e){return parseInt(""+e+e,16)})):[e.slice(1,3),e.slice(3,5),e.slice(5,7)].map((function(e){return parseInt(e,16)}));t.setState({colorComponents:a})}else e.startsWith("rgb")&&void 0!==(a=null===(n=e.match(/\d+/g))||void 0===n?void 0:n.map((function(e){return parseInt(e)})))&&t.setState({colorComponents:a});t.state.colorComponents.length&&(t.setState({red:t.state.colorComponents[0]}),t.setState({green:t.state.colorComponents[1]}),t.setState({blue:t.state.colorComponents[2]}))}},t}return __extends(t,e),t.prototype.componentDidUpdate=function(e,t){return this.props.colorChangedEvent&&this.state.hex!==t.hex&&this.props.colorChangedEvent(this.state.hex),!0},t.prototype.render=function(){var e=this;return React__namespace.createElement("div",{className:"lf-color-picker"},React__namespace.createElement("div",{className:"lf-color-selectors"},React__namespace.createElement("div",{className:"lf-color-component"},React__namespace.createElement("strong",null,"Red"),React__namespace.createElement("input",{type:"range",min:"0",max:"255",value:this.state.red,onChange:function(t){e.setState({red:t.target.value}),e.handleChange("r",t.target.value)}}),React__namespace.createElement("input",{className:"lf-text-input",type:"number",min:"0",max:"255",value:this.state.red,onChange:function(t){e.setState({red:t.target.value}),e.handleChange("r",t.target.value)}})),React__namespace.createElement("div",{className:"lf-color-component"},React__namespace.createElement("strong",null,"Green"),React__namespace.createElement("input",{type:"range",min:"0",max:"255",value:this.state.green,onChange:function(t){e.setState({green:t.target.value}),e.handleChange("g",t.target.value)}}),React__namespace.createElement("input",{className:"lf-text-input",type:"number",min:"0",max:"255",value:this.state.green,onChange:function(t){e.setState({green:t.target.value}),e.handleChange("g",t.target.value)}})),React__namespace.createElement("div",{className:"lf-color-component"},React__namespace.createElement("strong",null,"Blue"),React__namespace.createElement("input",{type:"range",min:"0",max:"255",value:this.state.blue,onChange:function(t){e.setState({blue:t.target.value}),e.handleChange("b",t.target.value)}}),React__namespace.createElement("input",{className:"lf-text-input",type:"number",min:"0",max:"255",value:this.state.blue,onChange:function(t){e.setState({blue:t.target.value}),e.handleChange("b",t.target.value)}}))),React__namespace.createElement("div",{className:"lf-color-preview"},React__namespace.createElement("div",{className:"lf-preview",style:{background:"rgb("+this.state.red+", "+this.state.green+", "+this.state.blue+")"}}),React__namespace.createElement("div",null,React__namespace.createElement("input",{className:"lf-text-input",type:"text",value:this.state.hex,onChange:function(t){e.setState({hex:t.target.value}),e.parseColor(t.target.value)}}))))},t}(React__namespace.Component),Popover=function(e){var t=e.children,n=e.icon,a=React.useState(null),r=a[0],o=a[1],i=React.useState(null),l=i[0],s=i[1],d=React.useState(null),c=d[0],u=d[1],h=React.useState(!1),p=h[0],f=h[1];return React.useEffect((function(){if(r&&l){var e=r.getBoundingClientRect(),t=l.getBoundingClientRect(),n=e.left+t.width>window.innerWidth?-1:0;u(n)}}),[c,l,r]),React__namespace.createElement("div",{className:"lf-popover",onMouseOver:function(){f(!0)},onMouseLeave:function(){f(!1)},ref:function(e){o(e)}},React__namespace.createElement("div",{className:" lf-player-btn"},n),React__namespace.createElement("div",{className:"lf-popover-content",ref:function(e){s(e)},style:{bottom:"22px",right:"0px",zIndex:2,visibility:p?"visible":"hidden"}},t))},Seeker=function(e){function t(t){var n=e.call(this,t)||this;return n.inputRef=React__namespace.createRef(),n.handleChange=function(){return function(e){var t=e.target.value,a=Math.floor(t/100*n.props.max);n.props.onChange(a)}},n.state={value:0},n}return __extends(t,e),t.prototype.render=function(){var e=this.props.value/this.props.max*100,t={backgroundImage:"-webkit-gradient(linear, left top, right top, color-stop("+e+"%, rgba(15, 204, 206, 0.4)), color-stop("+e+"%, #DAE1E7))"},n={position:"absolute",left:0,marginTop:"8px",width:"20px",display:"block",border:"0px",backgroundColor:this.props.darkTheme?"#505050":"rgb(218, 225, 231)",color:this.props.darkTheme?"#B9B9B9":"#555",padding:"2px",textAlign:"center",borderRadius:"3px",fontSize:"8px",fontWeight:"bold"},a={position:"absolute",right:0,marginTop:"8px",width:"20px",display:"block",border:"0px",backgroundColor:this.props.darkTheme?"#505050":"rgb(218, 225, 231)",color:this.props.darkTheme?"#B9B9B9":"#555",padding:"2px",textAlign:"center",borderRadius:"3px",fontSize:"8px",fontWeight:"bold"};return React__namespace.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",width:"100%",marginRight:"5px",marginLeft:"5px",position:"relative"}},React__namespace.createElement("input",{ref:this.inputRef,id:"track",className:"lf-progress",name:"progress","aria-label":"progress",type:"range",min:"0",max:"100",step:"0.1",value:e,onInput:this.handleChange(),onChange:this.handleChange(),style:t}),this.props.showLabels&&React__namespace.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},React__namespace.createElement("div",{style:n},this.props.min),React__namespace.createElement("div",{style:a},this.props.max)))},t}(React__namespace.Component),ControlButtonStyle={display:"inline-flex",cursor:"pointer"};!function(e){function t(t){var n=e.call(this,t)||this;return n.state={activeFrame:0,mouseDown:!1},n}__extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.instance,a=t.playerState,r=t.seeker,o=t.setLoop,i=t.setSeeker,l=t.play,s=t.pause,d=t.stop,c=t.visible,u=t.buttons;if(!n)return null;if(!c)return null;var h=!u||u.includes("play"),p=!u||u.includes("stop"),f=!u||u.includes("repeat"),m=!u||u.includes("frame"),g=!u||u.includes("background"),y=!u||u.includes("snapshot"),v={width:14,height:14,viewBox:"0 0 24 24"},_=Math.round(n.currentFrame);return React__namespace.createElement("div",{className:"lf-player-controls",style:{display:"flex",justifyContent:"space-between",height:"60px",alignItems:"center",backgroundColor:this.props.transparentTheme?"transparent":this.props.darkTheme?"#3C3C3C":"#ffffff",paddingLeft:"10px",paddingRight:"10px"}},h&&React__namespace.createElement("div",{role:"button","aria-label":a===PlayerState.Playing?PlayerEvent.Pause:PlayerEvent.Play,tabIndex:0,onClick:function(){a===PlayerState.Playing?"function"==typeof s&&s():"function"==typeof l&&l()},onKeyDown:function(){a===PlayerState.Playing?"function"==typeof s&&s():"function"==typeof l&&l()},className:"lf-player-btn",style:ControlButtonStyle},a===PlayerState.Playing?React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("rect",{height:"22.9",rx:"1.9",width:"7.6",x:"14",y:".5"}),React__namespace.createElement("rect",{height:"22.9",rx:"1.9",width:"7.6",x:"2",y:".5"})):React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M2 3.4C2 1.9 3.5 1 4.8 1.8l16.5 9.6c1.2.7 1.2 2.5 0 3.2L4.8 24.2C3.5 25 2 24.1 2 22.6V3.4z"}))),p&&React__namespace.createElement("div",{tabIndex:0,role:"button","aria-label":PlayerEvent.Stop,onClick:function(){return d&&d()},onKeyDown:function(){return d&&d()},className:a===PlayerState.Stopped?"lf-player-btn active":"lf-player-btn",style:ControlButtonStyle},React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M2 3.667A1.67 1.67 0 0 1 3.667 2h16.666A1.67 1.67 0 0 1 22 3.667v16.666A1.67 1.67 0 0 1 20.333\n 22H3.667A1.67 1.67 0 0 1 2 20.333z"}))),React__namespace.createElement(Seeker,{min:0,step:1,max:n?n.totalFrames:1,value:r||0,onChange:function(t){i&&e.setState({activeFrame:t},(function(){i(t,!1)}))},onChangeEnd:function(t){i&&e.setState({activeFrame:t},(function(){i(t,!1)}))},showLabels:this.props.showLabels,darkTheme:this.props.darkTheme}),m&&React__namespace.createElement("div",{role:"button",className:"lf-player-btn-container"},React__namespace.createElement("input",{style:{outline:"none",border:this.props.darkTheme?"1px #505050 solid":"1px #ccc solid",borderRadius:"3px",width:"40px",textAlign:"center",backgroundColor:this.props.darkTheme?"#505050":"#ffffff",color:this.props.darkTheme?"#B9B9B9":"#999",fontSize:"0.7rem",padding:"0",fontFamily:"inherit"},type:"text",value:_,readOnly:!0})),f&&React__namespace.createElement("div",{role:"button","aria-label":PlayerEvent.Loop,tabIndex:0,onClick:function(){n&&o&&o(!n.loop)},onKeyDown:function(){n&&o&&o(!n.loop)},className:n.loop?"lf-player-btn active":"lf-player-btn",style:ControlButtonStyle},React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M12.5 16.8137h-.13v1.8939h4.9696c3.6455 0 6.6113-2.9658 6.6113-6.6116\n 0-3.64549-2.9658-6.61131-6.6113-6.61131-.5231 0-.947.42391-.947.94696 0 .52304.4239.94696.947.94696 2.6011 0\n 4.7174 2.11634 4.7174 4.71739 0 2.6014-2.1166 4.7177-4.7174 4.7177H12.5zM13.6025\n 5.61469v-.13H7.48137C3.83582 5.48469.87 8.45051.87 12.096c0 3.6509 3.17269 6.6117 6.81304 6.6117.52304 0\n .94696-.424.94696-.947 0-.5231-.42392-.947-.94696-.947-2.60804 0-4.91907-2.1231-4.91907-4.7176 0-2.60115\n 2.11634-4.71744 4.7174-4.71744h6.12113V5.61469z",stroke:"#8795A1",strokeWidth:".26"}),React__namespace.createElement("path",{d:"M11.1482\n 2.20355h0l-.001-.00116c-.3412-.40061-.9405-.44558-1.33668-.0996h-.00001c-.39526.34519-.43936.94795-.09898\n 1.34767l2.51487 3.03683-2.51894 3.06468c-.33872.40088-.29282 1.00363.10347\n 1.34723l.08517-.0982-.08517.0982c.17853.1549.39807.2308.61647.2308.2671 0 .5328-.114.72-.3347h0l.0011-.0014\n 3.0435-3.68655.0006-.00068c.3035-.35872.3025-.88754-.0019-1.24526l-3.0425-3.65786zM13.9453\n 21.7965h0l.001.0011c.3413.4006.9407.4456 1.337.0996h0c.3953-.3452.4395-.9479.099-1.3477l-2.5154-3.0368\n 2.5195-3.0647c.3388-.4008.2929-1.0036-.1035-1.3472l-.0852.0982.0852-.0982c-.1786-.1549-.3981-.2308-.6166-.2308-.2671\n 0-.5329.114-.7202.3347h0l-.0011.0014-3.0442\n 3.6865c-.0001.0003-.0003.0005-.0005.0007-.3036.3587-.3027.8876.0019 1.2453l3.0431 3.6579z",fill:"#8795A1",stroke:"#8795A1",strokeWidth:".26"}))),g&&React__namespace.createElement(Popover,{icon:React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M12 3.1L6.1 8.6a7.6 7.6 0 00-2.2 4 7.2 7.2 0 00.4 4.4 7.9 7.9 0 003 3.5 8.7 8.7 0 004.7 1.3c1.6 0\n 3.2-.5 4.6-1.3s2.4-2 3-3.5a7.2 7.2 0 00.5-4.5 7.6 7.6 0 00-2.2-4L12 3.2zM12 0l7.5 7a9.8 9.8 0 013 5.1\n 9.3 9.3 0 01-.6 5.8c-.9 1.8-2.2 3.3-4 4.4A11.2 11.2 0 0112 24a11.2 11.2 0\n 01-6-1.7c-1.7-1-3-2.6-3.9-4.4a9.3 9.3 0 01-.6-5.8c.4-2 1.5-3.7 3-5L12 0zM6 14h12c0 1.5-.7 3-1.8 4s-2.6\n 1.6-4.2 1.6S9 19 7.8 18s-1.7-2.5-1.7-4z"}))},React__namespace.createElement("div",{slot:"content",className:"lf-popover popover-background"},React__namespace.createElement(ColorPicker,{colorChangedEvent:this.props.colorChangedEvent}))),y&&React__namespace.createElement(Popover,{icon:React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{clipRule:"evenodd",d:"M0 3.01A2.983 2.983 0 012.983.027H16.99a2.983 2.983 0 012.983 2.983v14.008a2.982 2.982 0 01-2.983\n 2.983H2.983A2.983 2.983 0 010 17.018zm2.983-.941a.941.941 0 00-.942.94v14.01c0\n .52.422.94.942.94H16.99a.94.94 0 00.941-.94V3.008a.941.941 0 00-.94-.94H2.981z",fillRule:"evenodd"}),React__namespace.createElement("path",{d:"M12.229 7.945l-2.07 4.598-2.586-2.605-2.414 2.758v2.146h9.656V11.93z"}),React__namespace.createElement("circle",{cx:"7.444",cy:"6.513",r:"2.032"}),React__namespace.createElement("path",{d:"M9.561 23.916h11.25a2.929 2.929 0 002.926-2.927V9.954a1.06 1.06 0 10-2.122 0v11.035a.805.805 0\n 01-.803.804H9.562a1.061 1.061 0 100 2.123z",stroke:"#8795a1",strokeWidth:".215"}))},React__namespace.createElement("div",{slot:"content",className:"lf-popover lf-popover-snapshot",onWheel:function(e){i&&i(_+(e.deltaY>0?-1:1),!1)}},React__namespace.createElement("h5",null,"Frame ",_),React__namespace.createElement("div",{style:{cursor:"pointer",color:"#0FCCCE"},onClick:this.props.snapshot},"Download SVG"),React__namespace.createElement("div",{style:{cursor:"pointer",color:"#0FCCCE"},onClick:this.props.snapshot},"Download PNG"),React__namespace.createElement("i",{className:"lf-note"},"Scroll with mousewheel to find exact frame"))))}}(React__namespace.Component);var nm$2="Check",mn$2="",layers$2=[{ty:4,nm:"Check 2",mn:"",sr:1,st:0,op:75,ip:20,hd:!1,cl:"",ln:"",ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:0,k:[100,83.687,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{a:0,k:[75,74.604,0],ix:2},r:{a:0,k:0,ix:10},sa:{a:0,k:0},o:{a:0,k:100,ix:11}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Grupo 1",ix:1,cix:2,np:3,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Caminho 1",ix:1,d:1,ks:{a:0,k:{c:!1,i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-50,.396],[-17.209,33.687],[50,-33.687]]},ix:2}},{ty:"tm",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Filter - Trim",nm:"Aparar caminhos 1",ix:2,e:{a:1,k:[{o:{x:.599,y:0},i:{x:.188,y:1},s:[0],t:20},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[100],t:45}],ix:2},o:{a:0,k:0,ix:3},s:{a:0,k:0,ix:1},m:1},{ty:"st",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Stroke",nm:"Traçado 1",lc:2,lj:2,ml:1,o:{a:0,k:100,ix:4},w:{a:0,k:20,ix:5},d:[],c:{a:0,k:[1,1,1],ix:3}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[100,83.686],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:1},{ty:3,mn:"",sr:1,st:0,op:91.2,ip:75,hd:!1,cl:"",ln:"",ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:0,k:[100,83.687,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{a:0,k:[75,74.604,0],ix:2},r:{a:0,k:0,ix:10},sa:{a:0,k:0},o:{a:0,k:100,ix:11}},ind:2},{ty:3,mn:"",sr:1,st:0,op:40,ip:0,hd:!1,cl:"",ln:"",ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:0,k:[100,83.687,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{a:0,k:[75,74.604,0],ix:2},r:{a:0,k:0,ix:10},sa:{a:0,k:0},o:{a:0,k:100,ix:11}},ind:3}],ddd$2=0,h$2=150,w$2=150,meta$2={a:"",k:"",d:"",g:"@lottiefiles/toolkit-js 0.22.1",tc:"#000000"},v$2="5.1.3",fr$2=60,op$2=70,ip$2=0,assets$2=[],AnimationCheck={nm:nm$2,mn:mn$2,layers:layers$2,ddd:ddd$2,h:h$2,w:w$2,meta:meta$2,v:v$2,fr:fr$2,op:op$2,ip:ip$2,assets:assets$2},nm$1="Comp 1",mn$1="",layers$1=[{ty:0,nm:"Pre-comp 1",mn:"",sr:1,st:0,op:211,ip:0,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[150,150,0],ix:1},s:{a:0,k:[41,41,100],ix:6},sk:{a:0,k:0},p:{a:0,k:[150,150,0],ix:2},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],w:300,h:300,refId:"comp_0",ind:0}],ddd$1=0,h$1=300,w$1=300,meta$1={a:"",k:"",d:"",g:"LottieFiles AE 1.0.0",tc:"#000000"},v$1="4.8.0",fr$1=60,op$1=41,ip$1=9,assets$1=[{nm:"",mn:"",layers:[{ty:4,nm:"ball4",mn:"",sr:1,st:25,op:71,ip:40,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:223,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:25},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:40},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:55},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:70}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:0},{ty:4,nm:"ball 4",mn:"",sr:1,st:20,op:66,ip:35,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:150,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:20},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:35},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:50},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:65}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:1},{ty:4,nm:"ball 3",mn:"",sr:1,st:15,op:61,ip:30,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:77,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:15},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:30},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:45},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:60}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:2},{ty:4,nm:"ball3",mn:"",sr:1,st:-6,op:40,ip:9,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:223,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:-6},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:9},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:24},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:39}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:3},{ty:4,nm:"ball 2",mn:"",sr:1,st:-11,op:35,ip:4,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:150,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:-11},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:4},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:19},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:34}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:4},{ty:4,nm:"ball 1",mn:"",sr:1,st:-16,op:30,ip:-1,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:77,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:-16},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:-1},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:14},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:29}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:5}],id:"comp_0",fr:30}],AnimationLoading={nm:nm$1,mn:mn$1,layers:layers$1,ddd:ddd$1,h:h$1,w:w$1,meta:meta$1,v:v$1,fr:fr$1,op:op$1,ip:ip$1,assets:assets$1};const ButtonPrimary=qe.button`
121
+ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function __extends(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var __assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function __awaiter(e,t,n,a){return new(n||(n=Promise))((function(r,o){function i(e){try{s(a.next(e))}catch(e){o(e)}}function l(e){try{s(a.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((a=a.apply(e,t||[])).next())}))}function __generator(e,t){var n,a,r,o,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,a&&(r=2&o[0]?a.return:o[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;switch(a=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,a=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!((r=(r=i.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(6===o[0]&&i.label<r[1]){i.label=r[1],r=o;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(o);break}r[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],a=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var lottie=createCommonjsModule((function(module,exports){var e;"undefined"!=typeof navigator&&(e=function(){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 n,a,r=e.length;for(n=0;n<r;n+=1)for(var o in a=e[n].prototype)Object.prototype.hasOwnProperty.call(a,o)&&(t.prototype[o]=a[o])}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,n=this.audios.length;for(t=0;t<n;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 n,a=0,r=[];switch(e){case"int16":case"uint8c":n=1;break;default:n=1.1}for(a=0;a<t;a+=1)r.push(n);return r}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,n){return"float32"===t?new Float32Array(n):"int16"===t?new Int16Array(n):"uint8c"===t?new Uint8ClampedArray(n):e(t,n)}: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})(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};!function(){var e,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"],n=t.length;for(e=0;e<n;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,n=createSizedArray(e.length),a=e.length;for(t=0;t<a;t+=1)n[t]=Math.abs(e[t]);return n}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,n,a){this.type=e,this.currentTime=t,this.totalTime=n,this.direction=a<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,n,a){this.type=e,this.currentLoop=n,this.totalLoops=t,this.direction=a<0?-1:1}function BMSegmentStartEvent(e,t,n){this.type=e,this.firstFrame=t,this.totalFrames=n}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(e,t,n){var a,r,o,i,l,s,d,c;switch(s=n*(1-t),d=n*(1-(l=6*e-(i=Math.floor(6*e)))*t),c=n*(1-(1-l)*t),i%6){case 0:a=n,r=c,o=s;break;case 1:a=d,r=n,o=s;break;case 2:a=s,r=n,o=c;break;case 3:a=s,r=d,o=n;break;case 4:a=c,r=s,o=n;break;case 5:a=n,r=s,o=d}return[a,r,o]}function RGBtoHSV(e,t,n){var a,r=Math.max(e,t,n),o=Math.min(e,t,n),i=r-o,l=0===r?0:i/r,s=r/255;switch(r){case o:a=0;break;case e:a=t-n+i*(t<n?6:0),a/=6*i;break;case t:a=n-e+2*i,a/=6*i;break;case n:a=e-t+4*i,a/=6*i}return[a,l,s]}function addSaturationToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[1]+=t,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[2]+=t,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[0]+=t/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var e,t,n=[];for(e=0;e<256;e+=1)t=e.toString(16),n[e]=1===t.length?"0"+t:t;return function(e,t,a){return e<0&&(e=0),t<0&&(t=0),a<0&&(a=0),"#"+n[e]+n[t]+n[a]}}(),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};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})(e)}var dataManager=function(){var e,t,n=1,a=[],r={onmessage:function(){},postMessage:function(t){e({data:t})}},o={postMessage:function(e){r.onmessage({data:e})}};function i(){t||((t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),a=URL.createObjectURL(n);return new Worker(a)}return e=t,r}((function(e){if(o.dataManager||(o.dataManager=function(){function e(r,o){var i,l,s,d,c,h,p=r.length;for(l=0;l<p;l+=1)if("ks"in(i=r[l])&&!i.completed){if(i.completed=!0,i.hasMask){var f=i.masksProperties;for(d=f.length,s=0;s<d;s+=1)if(f[s].pt.k.i)a(f[s].pt.k);else for(h=f[s].pt.k.length,c=0;c<h;c+=1)f[s].pt.k[c].s&&a(f[s].pt.k[c].s[0]),f[s].pt.k[c].e&&a(f[s].pt.k[c].e[0])}0===i.ty?(i.layers=t(i.refId,o),e(i.layers,o)):4===i.ty?n(i.shapes):5===i.ty&&u(i)}}function t(e,t){var n=function(e,t){for(var n=0,a=t.length;n<a;){if(t[n].id===e)return t[n];n+=1}return null}(e,t);return n?n.layers.__used?JSON.parse(JSON.stringify(n.layers)):(n.layers.__used=!0,n.layers):null}function n(e){var t,r,o;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)a(e[t].ks.k);else for(o=e[t].ks.k.length,r=0;r<o;r+=1)e[t].ks.k[r].s&&a(e[t].ks.k[r].s[0]),e[t].ks.k[r].e&&a(e[t].ks.k[r].e[0]);else"gr"===e[t].ty&&n(e[t].it)}function a(e){var t,n=e.i.length;for(t=0;t<n;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 r(e,t){var n=t?t.split("."):[100,100,100];return e[0]>n[0]||!(n[0]>e[0])&&(e[1]>n[1]||!(n[1]>e[1])&&(e[2]>n[2]||!(n[2]>e[2])&&null))}var o,i=function(){var e=[4,4,14];function t(e){var t,n,a,r=e.length;for(t=0;t<r;t+=1)5===e[t].ty&&(a=(n=e[t]).t.d,n.t.d={k:[{s:a,t:0}]})}return function(n){if(r(e,n.v)&&(t(n.layers),n.assets)){var a,o=n.assets.length;for(a=0;a<o;a+=1)n.assets[a].layers&&t(n.assets[a].layers)}}}(),l=(o=[4,7,99],function(e){if(e.chars&&!r(o,e.v)){var t,a=e.chars.length;for(t=0;t<a;t+=1){var i=e.chars[t];i.data&&i.data.shapes&&(n(i.data.shapes),i.data.ip=0,i.data.op=99999,i.data.st=0,i.data.sr=1,i.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[t].t||(i.data.shapes.push({ty:"no"}),i.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"})))}}}),s=function(){var e=[5,7,15];function t(e){var t,n,a=e.length;for(t=0;t<a;t+=1)5===e[t].ty&&(n=void 0,"number"==typeof(n=e[t].t.p).a&&(n.a={a:0,k:n.a}),"number"==typeof n.p&&(n.p={a:0,k:n.p}),"number"==typeof n.r&&(n.r={a:0,k:n.r}))}return function(n){if(r(e,n.v)&&(t(n.layers),n.assets)){var a,o=n.assets.length;for(a=0;a<o;a+=1)n.assets[a].layers&&t(n.assets[a].layers)}}}(),d=function(){var e=[4,1,9];function t(e){var n,a,r,o=e.length;for(n=0;n<o;n+=1)if("gr"===e[n].ty)t(e[n].it);else if("fl"===e[n].ty||"st"===e[n].ty)if(e[n].c.k&&e[n].c.k[0].i)for(r=e[n].c.k.length,a=0;a<r;a+=1)e[n].c.k[a].s&&(e[n].c.k[a].s[0]/=255,e[n].c.k[a].s[1]/=255,e[n].c.k[a].s[2]/=255,e[n].c.k[a].s[3]/=255),e[n].c.k[a].e&&(e[n].c.k[a].e[0]/=255,e[n].c.k[a].e[1]/=255,e[n].c.k[a].e[2]/=255,e[n].c.k[a].e[3]/=255);else e[n].c.k[0]/=255,e[n].c.k[1]/=255,e[n].c.k[2]/=255,e[n].c.k[3]/=255}function n(e){var n,a=e.length;for(n=0;n<a;n+=1)4===e[n].ty&&t(e[n].shapes)}return function(t){if(r(e,t.v)&&(n(t.layers),t.assets)){var a,o=t.assets.length;for(a=0;a<o;a+=1)t.assets[a].layers&&n(t.assets[a].layers)}}}(),c=function(){var e=[4,4,18];function t(e){var n,a,r;for(n=e.length-1;n>=0;n-=1)if("sh"===e[n].ty)if(e[n].ks.k.i)e[n].ks.k.c=e[n].closed;else for(r=e[n].ks.k.length,a=0;a<r;a+=1)e[n].ks.k[a].s&&(e[n].ks.k[a].s[0].c=e[n].closed),e[n].ks.k[a].e&&(e[n].ks.k[a].e[0].c=e[n].closed);else"gr"===e[n].ty&&t(e[n].it)}function n(e){var n,a,r,o,i,l,s=e.length;for(a=0;a<s;a+=1){if((n=e[a]).hasMask){var d=n.masksProperties;for(o=d.length,r=0;r<o;r+=1)if(d[r].pt.k.i)d[r].pt.k.c=d[r].cl;else for(l=d[r].pt.k.length,i=0;i<l;i+=1)d[r].pt.k[i].s&&(d[r].pt.k[i].s[0].c=d[r].cl),d[r].pt.k[i].e&&(d[r].pt.k[i].e[0].c=d[r].cl)}4===n.ty&&t(n.shapes)}}return function(t){if(r(e,t.v)&&(n(t.layers),t.assets)){var a,o=t.assets.length;for(a=0;a<o;a+=1)t.assets[a].layers&&n(t.assets[a].layers)}}}();function u(e){0===e.t.a.length&&e.t.p}var h={completeData:function(n){n.__complete||(d(n),i(n),l(n),s(n),c(n),e(n.layers,n.assets),function(n,a){if(n){var r=0,o=n.length;for(r=0;r<o;r+=1)1===n[r].t&&(n[r].data.layers=t(n[r].data.refId,a),e(n[r].data.layers,a))}}(n.chars,n.assets),n.__complete=!0)}};return h.checkColors=d,h.checkChars=l,h.checkPathProperties=s,h.checkShapes=c,h.completeLayers=e,h}()),o.assetLoader||(o.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,n,a,r){var o,i=new XMLHttpRequest;try{i.responseType="json"}catch(e){}i.onreadystatechange=function(){if(4===i.readyState)if(200===i.status)o=e(i),a(o);else try{o=e(i),a(o)}catch(e){r&&r(e)}};try{i.open(["G","E","T"].join(""),t,!0)}catch(e){i.open(["G","E","T"].join(""),n+"/"+t,!0)}i.send()}}}()),"loadAnimation"===e.data.type)o.assetLoader.load(e.data.path,e.data.fullPath,(function(t){o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){o.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&o.assetLoader.load(e.data.path,e.data.fullPath,(function(t){o.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){o.postMessage({id:e.data.id,status:"error"})}))}))).onmessage=function(e){var t=e.data,n=t.id,r=a[n];a[n]=null,"success"===t.status?r.onComplete(t.payload):r.onError&&r.onError()})}function l(e,t){var r="processId_"+(n+=1);return a[r]={onComplete:e,onError:t},r}return{loadAnimation:function(e,n,a){i();var r=l(n,a);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:r})},loadData:function(e,n,a){i();var r=l(n,a);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:r})},completeAnimation:function(e,n,a){i();var r=l(n,a);t.postMessage({type:"complete",animation:e,id:r})}}}(),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 n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(e,t,n){var a="";if(e.e)a=e.p;else if(t){var r=e.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),a=t+r}else a=n,a+=e.u?e.u:"",a+=e.p;return a}function r(e){var t=0,n=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(n)),t+=1}.bind(this),50)}function o(e){var t={assetData:e},n=a(e,this.assetsPath,this.path);return dataManager.loadData(n,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function i(){this._imageLoaded=t.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=r.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return i.prototype={loadAssets:function(e,t){var n;this.imagesLoadedCb=t;var a=e.length;for(n=0;n<a;n+=1)e[n].layers||(e[n].t&&"seq"!==e[n].t?3===e[n].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[n]))):(this.totalImages+=1,this.images.push(this._createImageData(e[n]))))},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,n=this.images.length;t<n;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var n=a(t,this.assetsPath,this.path),r=createTag("img");r.crossOrigin="anonymous",r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),r.src=n;var o={img:r,assetData:t};return o},createImageData:function(t){var n=a(t,this.assetsPath,this.path),r=createNS("image");isSafari?this.testImageLoaded(r):r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),r.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this._elementHelper.append?this._elementHelper.append(r):this._elementHelper.appendChild(r);var o={img:r,assetData:t};return o},imageLoaded:t,footageLoaded:n,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},i}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var n=this._cbs[e],a=0;a<n.length;a+=1)n[a](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 n=0,a=this._cbs[e].length;n<a;)this._cbs[e][n]===t&&(this._cbs[e].splice(n,1),n-=1,a-=1),n+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,n=e.split("\r\n"),a={},r=0,o=0;o<n.length;o+=1)2===(t=n[o].split(":")).length&&(a[t[0]]=t[1].trim(),r+=1);if(0===r)throw new Error;return a}return function(t){for(var n=[],a=0;a<t.length;a+=1){var r=t[a],o={time:r.tm,duration:r.dr};try{o.payload=JSON.parse(t[a].cm)}catch(n){try{o.payload=e(t[a].cm)}catch(e){o.payload={name:t[a].cm}}}n.push(o)}return n}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,n=this.compositions.length;t<n;){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 _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})(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)};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 n=getRenderer(t);this.renderer=new n(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 n={wrapper:e,animationData:t},a=e.attributes;n.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",n.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:"canvas";var r=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";"false"===r?n.loop=!1:"true"===r?n.loop=!0:""!==r&&(n.loop=parseInt(r,10));var o=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:!a.getNamedItem("bm-autoplay")||a.getNamedItem("bm-autoplay").value;n.autoplay="false"!==o,n.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"","false"===(a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),this.setParams(n)},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,n,a=this.animationData.layers,r=a.length,o=e.layers,i=o.length;for(n=0;n<i;n+=1)for(t=0;t<r;){if(a[t].id===o[n].id){a[t]=o[n];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(r=e.assets.length,t=0;t<r;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 n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(n,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(e){this.triggerConfigError(e)}},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 n="number"==typeof e?e:void 0,a="number"==typeof t?t:void 0;this.renderer.updateContainerSize(n,a)},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.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("_pause"),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("_play"),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,n=0;n<this.markers.length;n+=1)if((t=this.markers[n]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,n){if(!n||this.name===n){var a=Number(e);if(isNaN(a)){var r=this.getMarkerData(e);r&&this.goToAndStop(r.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,n){if(!n||this.name===n){var a=Number(e);if(isNaN(a)){var r=this.getMarkerData(e);r&&(r.duration?this.playSegments([r.time,r.time+r.duration],!0):this.goToAndStop(r.time,!0))}else this.goToAndStop(a,t,n);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,n=!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)||(n=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),n&&(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 n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?n=e:this.currentRawFrame+this.firstFrame>t&&(n=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var n,a=e.length;for(n=0;n<a;n+=1)this.segments.push(e[n])}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.renderer=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 n=e.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),t=this.assetsPath+n}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,n=this.assets.length;t<n;){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,n){try{this.renderer.getElementByPath(e).updateDocumentData(t,n)}catch(e){}},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=[],n=0,a=0,r=0,o=!0,i=!1;function l(e){for(var n=0,r=e.target;n<a;)t[n].animation===r&&(t.splice(n,1),n-=1,a-=1,r.isPaused||c()),n+=1}function s(e,n){if(!e)return null;for(var r=0;r<a;){if(t[r].elem===e&&null!==t[r].elem)return t[r].animation;r+=1}var o=new AnimationItem;return u(o,e),o.setData(e,n),o}function d(){r+=1,f()}function c(){r-=1}function u(e,n){e.addEventListener("destroy",l),e.addEventListener("_active",d),e.addEventListener("_idle",c),t.push({elem:n,animation:e}),a+=1}function h(e){var l,s=e-n;for(l=0;l<a;l+=1)t[l].animation.advanceTime(s);n=e,r&&!i?window.requestAnimationFrame(h):o=!0}function p(e){n=e,window.requestAnimationFrame(h)}function f(){!i&&r&&o&&(window.requestAnimationFrame(p),o=!1)}return e.registerAnimation=s,e.loadAnimation=function(e){var t=new AnimationItem;return u(t,null),t.setParams(e),t},e.setSpeed=function(e,n){var r;for(r=0;r<a;r+=1)t[r].animation.setSpeed(e,n)},e.setDirection=function(e,n){var r;for(r=0;r<a;r+=1)t[r].animation.setDirection(e,n)},e.play=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.play(e)},e.pause=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.pause(e)},e.stop=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.stop(e)},e.togglePause=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.togglePause(e)},e.searchAnimations=function(e,t,n){var a,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=r.length;for(a=0;a<o;a+=1)n&&r[a].setAttribute("data-bm-type",n),s(r[a],e);if(t&&0===o){n||(n="svg");var i=document.getElementsByTagName("body")[0];i.innerText="";var l=createTag("div");l.style.width="100%",l.style.height="100%",l.setAttribute("data-bm-type",n),i.appendChild(l),s(l,e)}},e.resize=function(){var e;for(e=0;e<a;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,n,r){var o;for(o=0;o<a;o+=1)t[o].animation.goToAndStop(e,n,r)},e.destroy=function(e){var n;for(n=a-1;n>=0;n-=1)t[n].animation.destroy(e)},e.freeze=function(){i=!0},e.unfreeze=function(){i=!1,f()},e.setVolume=function(e,n){var r;for(r=0;r<a;r+=1)t[r].animation.setVolume(e,n)},e.mute=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.mute(e)},e.unmute=function(e){var n;for(n=0;n<a;n+=1)t[n].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,n=t.length,a=[];for(e=0;e<n;e+=1)a.push(t[e].animation);return a},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,n,a,r,o){var i=o||("bez_"+e+"_"+n+"_"+a+"_"+r).replace(/\./g,"p");if(t[i])return t[i];var l=new s([e,n,a,r]);return t[i]=l,l}},t={},n="function"==typeof Float32Array;function a(e,t){return 1-3*t+3*e}function r(e,t){return 3*t-6*e}function o(e){return 3*e}function i(e,t,n){return((a(t,n)*e+r(t,n))*e+o(t))*e}function l(e,t,n){return 3*a(t,n)*e*e+2*r(t,n)*e+o(t)}function s(e){this._p=e,this._mSampleValues=n?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return s.prototype={get:function(e){var t=this._p[0],n=this._p[1],a=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),t===n&&a===r?e:0===e?0:1===e?1:i(this._getTForX(e),n,r)},_precompute:function(){var e=this._p[0],t=this._p[1],n=this._p[2],a=this._p[3];this._precomputed=!0,e===t&&n===a||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],n=0;n<11;++n)this._mSampleValues[n]=i(.1*n,e,t)},_getTForX:function(e){for(var t=this._p[0],n=this._p[2],a=this._mSampleValues,r=0,o=1;10!==o&&a[o]<=e;++o)r+=.1;var s=r+(e-a[--o])/(a[o+1]-a[o])*.1,d=l(s,t,n);return d>=.001?function(e,t,n,a){for(var r=0;r<4;++r){var o=l(t,n,a);if(0===o)return t;t-=(i(t,n,a)-e)/o}return t}(e,s,t,n):0===d?s:function(e,t,n,a,r){var o,l,s=0;do{(o=i(l=t+(n-t)/2,a,r)-e)>0?n=l:t=l}while(Math.abs(o)>1e-7&&++s<10);return l}(e,r,r+.1,t,n)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,n){var a=0,r=e,o=createSizedArray(r);return{newElement:function(){return a?o[a-=1]:t()},release:function(e){a===r&&(o=pooling.double(o),r*=2),n&&n(e),o[a]=e,a+=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,n=e.lengths.length;for(t=0;t<n;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,n,a,r,o){var i=e*a+t*r+n*o-r*a-o*e-n*t;return i>-.001&&i<.001}var n=function(e,t,n,a){var r,o,i,l,s,d,c=getDefaultCurveSegments(),u=0,h=[],p=[],f=bezierLengthPool.newElement();for(i=n.length,r=0;r<c;r+=1){for(s=r/(c-1),d=0,o=0;o<i;o+=1)l=bmPow(1-s,3)*e[o]+3*bmPow(1-s,2)*s*n[o]+3*(1-s)*bmPow(s,2)*a[o]+bmPow(s,3)*t[o],h[o]=l,null!==p[o]&&(d+=bmPow(h[o]-p[o],2)),p[o]=h[o];d&&(u+=d=bmSqrt(d)),f.percents[r]=s,f.lengths[r]=u}return f.addedLength=u,f};function a(e){this.segmentLength=0,this.points=new Array(e)}function r(e,t){this.partialLength=e,this.point=t}var o,i=(o={},function(e,n,i,l){var s=(e[0]+"_"+e[1]+"_"+n[0]+"_"+n[1]+"_"+i[0]+"_"+i[1]+"_"+l[0]+"_"+l[1]).replace(/\./g,"p");if(!o[s]){var d,c,u,h,p,f,m,g=getDefaultCurveSegments(),y=0,v=null;2===e.length&&(e[0]!==n[0]||e[1]!==n[1])&&t(e[0],e[1],n[0],n[1],e[0]+i[0],e[1]+i[1])&&t(e[0],e[1],n[0],n[1],n[0]+l[0],n[1]+l[1])&&(g=2);var _=new a(g);for(u=i.length,d=0;d<g;d+=1){for(m=createSizedArray(u),p=d/(g-1),f=0,c=0;c<u;c+=1)h=bmPow(1-p,3)*e[c]+3*bmPow(1-p,2)*p*(e[c]+i[c])+3*(1-p)*bmPow(p,2)*(n[c]+l[c])+bmPow(p,3)*n[c],m[c]=h,null!==v&&(f+=bmPow(m[c]-v[c],2));y+=f=bmSqrt(f),_.points[d]=new r(f,m),v=m}_.segmentLength=y,o[s]=_}return o[s]});function l(e,t){var n=t.percents,a=t.lengths,r=n.length,o=bmFloor((r-1)*e),i=e*t.addedLength,l=0;if(o===r-1||0===o||i===a[o])return n[o];for(var s=a[o]>i?-1:1,d=!0;d;)if(a[o]<=i&&a[o+1]>i?(l=(i-a[o])/(a[o+1]-a[o]),d=!1):o+=s,o<0||o>=r-1){if(o===r-1)return n[o];d=!1}return n[o]+(n[o+1]-n[o])*l}var s=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,a=segmentsLengthPool.newElement(),r=e.c,o=e.v,i=e.o,l=e.i,s=e._length,d=a.lengths,c=0;for(t=0;t<s-1;t+=1)d[t]=n(o[t],o[t+1],i[t],l[t+1]),c+=d[t].addedLength;return r&&s&&(d[t]=n(o[t],o[0],i[t],l[0]),c+=d[t].addedLength),a.totalLength=c,a},getNewSegment:function(t,n,a,r,o,i,d){o<0?o=0:o>1&&(o=1);var c,u=l(o,d),h=l(i=i>1?1:i,d),p=t.length,f=1-u,m=1-h,g=f*f*f,y=u*f*f*3,v=u*u*f*3,_=u*u*u,b=f*f*m,x=u*f*m+f*u*m+f*f*h,k=u*u*m+f*u*h+u*f*h,E=u*u*h,M=f*m*m,S=u*m*m+f*h*m+f*m*h,w=u*h*m+f*h*h+u*m*h,$=u*h*h,R=m*m*m,C=h*m*m+m*h*m+m*m*h,P=h*h*m+m*h*h+h*m*h,T=h*h*h;for(c=0;c<p;c+=1)s[4*c]=e.round(1e3*(g*t[c]+y*a[c]+v*r[c]+_*n[c]))/1e3,s[4*c+1]=e.round(1e3*(b*t[c]+x*a[c]+k*r[c]+E*n[c]))/1e3,s[4*c+2]=e.round(1e3*(M*t[c]+S*a[c]+w*r[c]+$*n[c]))/1e3,s[4*c+3]=e.round(1e3*(R*t[c]+C*a[c]+P*r[c]+T*n[c]))/1e3;return s},getPointInSegment:function(t,n,a,r,o,i){var s=l(o,i),d=1-s;return[e.round(1e3*(d*d*d*t[0]+(s*d*d+d*s*d+d*d*s)*a[0]+(s*s*d+d*s*s+s*d*s)*r[0]+s*s*s*n[0]))/1e3,e.round(1e3*(d*d*d*t[1]+(s*d*d+d*s*d+d*d*s)*a[1]+(s*s*d+d*s*s+s*d*s)*r[1]+s*s*s*n[1]))/1e3]},buildBezierData:i,pointOnLine2D:t,pointOnLine3D:function(n,a,r,o,i,l,s,d,c){if(0===r&&0===l&&0===c)return t(n,a,o,i,s,d);var u,h=e.sqrt(e.pow(o-n,2)+e.pow(i-a,2)+e.pow(l-r,2)),p=e.sqrt(e.pow(s-n,2)+e.pow(d-a,2)+e.pow(c-r,2)),f=e.sqrt(e.pow(s-o,2)+e.pow(d-i,2)+e.pow(c-l,2));return(u=h>p?h>f?h-p-f:f-p-h:f>p?f-p-h:p-h-f)>-1e-4&&u<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function n(e,t){var n,r=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var o,i,l,s,d,c,u,h,p,f=t.lastIndex,m=f,g=this.keyframes.length-1,y=!0;y;){if(o=this.keyframes[m],i=this.keyframes[m+1],m===g-1&&e>=i.t-r){o.h&&(o=i),f=0;break}if(i.t-r>e){f=m;break}m<g-1?m+=1:(f=0,y=!1)}l=this.keyframesMetadata[m]||{};var v,_=i.t-r,b=o.t-r;if(o.to){l.bezierData||(l.bezierData=bez.buildBezierData(o.s,i.s||o.e,o.to,o.ti));var x=l.bezierData;if(e>=_||e<b){var k=e>=_?x.points.length-1:0;for(d=x.points[k].point.length,s=0;s<d;s+=1)n[s]=x.points[k].point[s]}else{l.__fnct?p=l.__fnct:(p=BezierFactory.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y,o.n).get,l.__fnct=p),c=p((e-b)/(_-b));var E,M=x.segmentLength*c,S=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastAddedLength:0;for(h=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastPoint:0,y=!0,u=x.points.length;y;){if(S+=x.points[h].partialLength,0===M||0===c||h===x.points.length-1){for(d=x.points[h].point.length,s=0;s<d;s+=1)n[s]=x.points[h].point[s];break}if(M>=S&&M<S+x.points[h+1].partialLength){for(E=(M-S)/x.points[h+1].partialLength,d=x.points[h].point.length,s=0;s<d;s+=1)n[s]=x.points[h].point[s]+(x.points[h+1].point[s]-x.points[h].point[s])*E;break}h<u-1?h+=1:y=!1}t._lastPoint=h,t._lastAddedLength=S-x.points[h].partialLength,t._lastKeyframeIndex=m}}else{var w,$,R,C,P;if(g=o.s.length,v=i.s||o.e,this.sh&&1!==o.h)e>=_?(n[0]=v[0],n[1]=v[1],n[2]=v[2]):e<=b?(n[0]=o.s[0],n[1]=o.s[1],n[2]=o.s[2]):function(e,t){var n=t[0],a=t[1],r=t[2],o=t[3],i=Math.atan2(2*a*o-2*n*r,1-2*a*a-2*r*r),l=Math.asin(2*n*a+2*r*o),s=Math.atan2(2*n*o-2*a*r,1-2*n*n-2*r*r);e[0]=i/degToRads,e[1]=l/degToRads,e[2]=s/degToRads}(n,function(e,t,n){var a,r,o,i,l,s=[],d=e[0],c=e[1],u=e[2],h=e[3],p=t[0],f=t[1],m=t[2],g=t[3];return(r=d*p+c*f+u*m+h*g)<0&&(r=-r,p=-p,f=-f,m=-m,g=-g),1-r>1e-6?(a=Math.acos(r),o=Math.sin(a),i=Math.sin((1-n)*a)/o,l=Math.sin(n*a)/o):(i=1-n,l=n),s[0]=i*d+l*p,s[1]=i*c+l*f,s[2]=i*u+l*m,s[3]=i*h+l*g,s}(a(o.s),a(v),(e-b)/(_-b)));else for(m=0;m<g;m+=1)1!==o.h&&(e>=_?c=1:e<b?c=0:(o.o.x.constructor===Array?(l.__fnct||(l.__fnct=[]),l.__fnct[m]?p=l.__fnct[m]:(w=void 0===o.o.x[m]?o.o.x[0]:o.o.x[m],$=void 0===o.o.y[m]?o.o.y[0]:o.o.y[m],R=void 0===o.i.x[m]?o.i.x[0]:o.i.x[m],C=void 0===o.i.y[m]?o.i.y[0]:o.i.y[m],p=BezierFactory.getBezierEasing(w,$,R,C).get,l.__fnct[m]=p)):l.__fnct?p=l.__fnct:(w=o.o.x,$=o.o.y,R=o.i.x,C=o.i.y,p=BezierFactory.getBezierEasing(w,$,R,C).get,o.keyframeMetadata=p),c=p((e-b)/(_-b)))),v=i.s||o.e,P=1===o.h?o.s[m]:o.s[m]+(v[m]-o.s[m])*c,"multidimensional"===this.propType?n[m]=P:n=P}return t.lastIndex=f,n}function a(e){var t=e[0]*degToRads,n=e[1]*degToRads,a=e[2]*degToRads,r=Math.cos(t/2),o=Math.cos(n/2),i=Math.cos(a/2),l=Math.sin(t/2),s=Math.sin(n/2),d=Math.sin(a/2);return[l*s*i+r*o*d,l*o*i+r*s*d,r*s*i-l*o*d,r*o*i-l*s*d]}function r(){var t=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,a=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==e&&(this._caching.lastFrame>=a&&t>=a||this._caching.lastFrame<n&&t<n))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(t,this._caching);this.pv=r}return this._caching.lastFrame=t,this.pv}function o(e){var n;if("unidimensional"===this.propType)n=e*this.mult,t(this.v-n)>1e-5&&(this.v=n,this._mdf=!0);else for(var a=0,r=this.v.length;a<r;)n=e[a]*this.mult,t(this.v[a]-n)>1e-5&&(this.v[a]=n,this._mdf=!0),a+=1}function i(){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,n=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)n=this.effectsSequence[e](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function l(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function s(e,t,n,a){this.propType="unidimensional",this.mult=n||1,this.data=t,this.v=n?t.k*n:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=a,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=i,this.setVValue=o,this.addEffect=l}function d(e,t,n,a){var r;this.propType="multidimensional",this.mult=n||1,this.data=t,this._mdf=!1,this.elem=e,this.container=a,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var s=t.k.length;for(this.v=createTypedArray("float32",s),this.pv=createTypedArray("float32",s),this.vel=createTypedArray("float32",s),r=0;r<s;r+=1)this.v[r]=t.k[r]*this.mult,this.pv[r]=t.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=i,this.setVValue=o,this.addEffect=l}function c(t,a,s,d){this.propType="unidimensional",this.keyframes=a.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:e,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=a,this.mult=s||1,this.elem=t,this.container=d,this.comp=t.comp,this.v=e,this.pv=e,this._isFirstFrame=!0,this.getValue=i,this.setVValue=o,this.interpolateValue=n,this.effectsSequence=[r.bind(this)],this.addEffect=l}function u(t,a,s,d){var c;this.propType="multidimensional";var u,h,p,f,m=a.k.length;for(c=0;c<m-1;c+=1)a.k[c].to&&a.k[c].s&&a.k[c+1]&&a.k[c+1].s&&(u=a.k[c].s,h=a.k[c+1].s,p=a.k[c].to,f=a.k[c].ti,(2===u.length&&(u[0]!==h[0]||u[1]!==h[1])&&bez.pointOnLine2D(u[0],u[1],h[0],h[1],u[0]+p[0],u[1]+p[1])&&bez.pointOnLine2D(u[0],u[1],h[0],h[1],h[0]+f[0],h[1]+f[1])||3===u.length&&(u[0]!==h[0]||u[1]!==h[1]||u[2]!==h[2])&&bez.pointOnLine3D(u[0],u[1],u[2],h[0],h[1],h[2],u[0]+p[0],u[1]+p[1],u[2]+p[2])&&bez.pointOnLine3D(u[0],u[1],u[2],h[0],h[1],h[2],h[0]+f[0],h[1]+f[1],h[2]+f[2]))&&(a.k[c].to=null,a.k[c].ti=null),u[0]===h[0]&&u[1]===h[1]&&0===p[0]&&0===p[1]&&0===f[0]&&0===f[1]&&(2===u.length||u[2]===h[2]&&0===p[2]&&0===f[2])&&(a.k[c].to=null,a.k[c].ti=null));this.effectsSequence=[r.bind(this)],this.data=a,this.keyframes=a.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=s||1,this.elem=t,this.container=d,this.comp=t.comp,this.getValue=i,this.setVValue=o,this.interpolateValue=n,this.frameId=-1;var g=a.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),c=0;c<g;c+=1)this.v[c]=e,this.pv[c]=e;this._caching={lastFrame:e,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=l}return{getProp:function(e,t,n,a,r){var o;if(t.k.length)if("number"==typeof t.k[0])o=new d(e,t,a,r);else switch(n){case 0:o=new c(e,t,a,r);break;case 1:o=new u(e,t,a,r)}else o=new s(e,t,a,r);return o.effectsSequence.length&&r.addDynamicProperty(o),o}}}();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 n=0;n<t;)this.v[n]=pointPool.newElement(),this.o[n]=pointPool.newElement(),this.i[n]=pointPool.newElement(),n+=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,n,a,r){var o;switch(this._length=Math.max(this._length,a+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[]}(!o[a]||o[a]&&!r)&&(o[a]=pointPool.newElement()),o[a][0]=e,o[a][1]=t},ShapePath.prototype.setTripleAt=function(e,t,n,a,r,o,i,l){this.setXYAt(e,t,"v",i,l),this.setXYAt(n,a,"o",i,l),this.setXYAt(r,o,"i",i,l)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,n=this.o,a=this.i,r=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],a[0][0],a[0][1],n[0][0],n[0][1],0,!1),r=1);var o,i=this._length-1,l=this._length;for(o=r;o<l;o+=1)e.setTripleAt(t[i][0],t[i][1],a[i][0],a[i][1],n[i][0],n[i][1],o,!1),i-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,n=e._length;for(t=0;t<n;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})),factory.clone=function(e){var t,n=factory.newElement(),a=void 0===e._length?e.v.length:e._length;for(n.setLength(a),n.c=e.c,t=0;t<a;t+=1)n.setTripleAt(e.v[t][0],e.v[t][1],e.o[t][0],e.o[t][1],e.i[t][0],e.i[t][1],t);return n},factory),factory;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=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(e){var t,n=e._length;for(t=0;t<n;t+=1)shapePool.release(e.shapes[t]);e._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=e,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){function e(e,t,n){var a,r,o,i,l,s,d,c,u,h=n.lastIndex,p=this.keyframes;if(e<p[0].t-this.offsetTime)a=p[0].s[0],o=!0,h=0;else if(e>=p[p.length-1].t-this.offsetTime)a=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],o=!0;else{for(var f,m,g,y=h,v=p.length-1,_=!0;_&&(f=p[y],!((m=p[y+1]).t-this.offsetTime>e));)y<v-1?y+=1:_=!1;if(g=this.keyframesMetadata[y]||{},h=y,!(o=1===f.h)){if(e>=m.t-this.offsetTime)c=1;else if(e<f.t-this.offsetTime)c=0;else{var b;g.__fnct?b=g.__fnct:(b=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,g.__fnct=b),c=b((e-(f.t-this.offsetTime))/(m.t-this.offsetTime-(f.t-this.offsetTime)))}r=m.s?m.s[0]:f.e[0]}a=f.s[0]}for(s=t._length,d=a.i[0].length,n.lastIndex=h,i=0;i<s;i+=1)for(l=0;l<d;l+=1)u=o?a.i[i][l]:a.i[i][l]+(r.i[i][l]-a.i[i][l])*c,t.i[i][l]=u,u=o?a.o[i][l]:a.o[i][l]+(r.o[i][l]-a.o[i][l])*c,t.o[i][l]=u,u=o?a.v[i][l]:a.v[i][l]+(r.v[i][l]-a.v[i][l])*c,t.v[i][l]=u}function t(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,a=this._caching.lastFrame;return-999999!==a&&(a<t&&e<t||a>n&&e>n)||(this._caching.lastIndex=a<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function n(){this.paths=this.localShapeCollection}function a(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var n,a=e._length;for(n=0;n<a;n+=1)if(e.v[n][0]!==t.v[n][0]||e.v[n][1]!==t.v[n][1]||e.o[n][0]!==t.o[n][0]||e.o[n][1]!==t.o[n][1]||e.i[n][0]!==t.i[n][0]||e.i[n][1]!==t.i[n][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 r(){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 n=this.effectsSequence.length;for(t=0;t<n;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function o(e,t,a){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 r=3===a?t.pt.k:t.ks.k;this.v=shapePool.clone(r),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 i(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(e,a,r){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===r?a.pt.k:a.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var o=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,o),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=-999999,this.reset=n,this._caching={lastFrame:-999999,lastIndex:0},this.effectsSequence=[t.bind(this)]}o.prototype.interpolateShape=e,o.prototype.getValue=r,o.prototype.setVValue=a,o.prototype.addEffect=i,l.prototype.getValue=r,l.prototype.interpolateShape=e,l.prototype.setVValue=a,l.prototype.addEffect=i;var s=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],n=this.p.v[1],a=this.s.v[0]/2,r=this.s.v[1]/2,o=3!==this.d,i=this.v;i.v[0][0]=t,i.v[0][1]=n-r,i.v[1][0]=o?t+a:t-a,i.v[1][1]=n,i.v[2][0]=t,i.v[2][1]=n+r,i.v[3][0]=o?t-a:t+a,i.v[3][1]=n,i.i[0][0]=o?t-a*e:t+a*e,i.i[0][1]=n-r,i.i[1][0]=o?t+a:t-a,i.i[1][1]=n-r*e,i.i[2][0]=o?t+a*e:t-a*e,i.i[2][1]=n+r,i.i[3][0]=o?t-a:t+a,i.i[3][1]=n+r*e,i.o[0][0]=o?t+a*e:t-a*e,i.o[0][1]=n-r,i.o[1][0]=o?t+a:t-a,i.o[1][1]=n+r*e,i.o[2][0]=o?t-a*e:t+a*e,i.o[2][1]=n+r,i.o[3][0]=o?t-a:t+a,i.o[3][1]=n-r*e}},extendPrototype([DynamicPropertyContainer],t),t}(),d=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,n,a,r=2*Math.floor(this.pt.v),o=2*Math.PI/r,i=!0,l=this.or.v,s=this.ir.v,d=this.os.v,c=this.is.v,u=2*Math.PI*l/(2*r),h=2*Math.PI*s/(2*r),p=-Math.PI/2;p+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<r;e+=1){n=i?d:c,a=i?u:h;var m=(t=i?l:s)*Math.cos(p),g=t*Math.sin(p),y=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),v=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-y*a*n*f,g-v*a*n*f,m+y*a*n*f,g+v*a*n*f,e,!0),i=!i,p+=o*f}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),n=2*Math.PI/t,a=this.or.v,r=this.os.v,o=2*Math.PI*a/(4*t),i=.5*-Math.PI,l=3===this.data.d?-1:1;for(i+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var s=a*Math.cos(i),d=a*Math.sin(i),c=0===s&&0===d?0:d/Math.sqrt(s*s+d*d),u=0===s&&0===d?0:-s/Math.sqrt(s*s+d*d);s+=+this.p.v[0],d+=+this.p.v[1],this.v.setTripleAt(s,d,s-c*o*r*l,d-u*o*r*l,s+c*o*r*l,d+u*o*r*l,e,!0),i+=n*l}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),c=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],n=this.s.v[0]/2,a=this.s.v[1]/2,r=bmMin(n,a,this.r.v),o=r*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+n,t-a+r,e+n,t-a+r,e+n,t-a+o,0,!0),this.v.setTripleAt(e+n,t+a-r,e+n,t+a-o,e+n,t+a-r,1,!0),0!==r?(this.v.setTripleAt(e+n-r,t+a,e+n-r,t+a,e+n-o,t+a,2,!0),this.v.setTripleAt(e-n+r,t+a,e-n+o,t+a,e-n+r,t+a,3,!0),this.v.setTripleAt(e-n,t+a-r,e-n,t+a-r,e-n,t+a-o,4,!0),this.v.setTripleAt(e-n,t-a+r,e-n,t-a+o,e-n,t-a+r,5,!0),this.v.setTripleAt(e-n+r,t-a,e-n+r,t-a,e-n+o,t-a,6,!0),this.v.setTripleAt(e+n-r,t-a,e+n-o,t-a,e+n-r,t-a,7,!0)):(this.v.setTripleAt(e-n,t+a,e-n+o,t+a,e-n,t+a,2),this.v.setTripleAt(e-n,t-a,e-n,t-a+o,e-n,t-a,3))):(this.v.setTripleAt(e+n,t-a+r,e+n,t-a+o,e+n,t-a+r,0,!0),0!==r?(this.v.setTripleAt(e+n-r,t-a,e+n-r,t-a,e+n-o,t-a,1,!0),this.v.setTripleAt(e-n+r,t-a,e-n+o,t-a,e-n+r,t-a,2,!0),this.v.setTripleAt(e-n,t-a+r,e-n,t-a+r,e-n,t-a+o,3,!0),this.v.setTripleAt(e-n,t+a-r,e-n,t+a-o,e-n,t+a-r,4,!0),this.v.setTripleAt(e-n+r,t+a,e-n+r,t+a,e-n+o,t+a,5,!0),this.v.setTripleAt(e+n-r,t+a,e+n-o,t+a,e+n-r,t+a,6,!0),this.v.setTripleAt(e+n,t+a-r,e+n,t+a-r,e+n,t+a-o,7,!0)):(this.v.setTripleAt(e-n,t-a,e-n+o,t-a,e-n,t-a,1,!0),this.v.setTripleAt(e-n,t+a,e-n,t+a-o,e-n,t+a,2,!0),this.v.setTripleAt(e+n,t+a,e+n-o,t+a,e+n,t+a,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}(),u={getShapeProp:function(e,t,n){var a;return 3===n||4===n?a=(3===n?t.pt:t.ks).k.length?new l(e,t,n):new o(e,t,n):5===n?a=new c(e,t):6===n?a=new s(e,t):7===n&&(a=new d(e,t)),a.k&&e.addDynamicProperty(a),a},getConstructorFunction:function(){return o},getKeyframedConstructorFunction:function(){return l}};return u}(),Matrix=function(){var e=Math.cos,t=Math.sin,n=Math.tan,a=Math.round;function r(){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 o(n){if(0===n)return this;var a=e(n),r=t(n);return this._t(a,-r,0,0,r,a,0,0,0,0,1,0,0,0,0,1)}function i(n){if(0===n)return this;var a=e(n),r=t(n);return this._t(1,0,0,0,0,a,-r,0,0,r,a,0,0,0,0,1)}function l(n){if(0===n)return this;var a=e(n),r=t(n);return this._t(a,0,r,0,0,1,0,0,-r,0,a,0,0,0,0,1)}function s(n){if(0===n)return this;var a=e(n),r=t(n);return this._t(a,-r,0,0,r,a,0,0,0,0,1,0,0,0,0,1)}function d(e,t){return this._t(1,t,e,1,0,0)}function c(e,t){return this.shear(n(e),n(t))}function u(a,r){var o=e(r),i=t(r);return this._t(o,i,0,0,-i,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(a),1,0,0,0,0,1,0,0,0,0,1)._t(o,-i,0,0,i,o,0,0,0,0,1,0,0,0,0,1)}function h(e,t,n){return n||0===n||(n=1),1===e&&1===t&&1===n?this:this._t(e,0,0,0,0,t,0,0,0,0,n,0,0,0,0,1)}function p(e,t,n,a,r,o,i,l,s,d,c,u,h,p,f,m){return this.props[0]=e,this.props[1]=t,this.props[2]=n,this.props[3]=a,this.props[4]=r,this.props[5]=o,this.props[6]=i,this.props[7]=l,this.props[8]=s,this.props[9]=d,this.props[10]=c,this.props[11]=u,this.props[12]=h,this.props[13]=p,this.props[14]=f,this.props[15]=m,this}function f(e,t,n){return n=n||0,0!==e||0!==t||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,n,1):this}function m(e,t,n,a,r,o,i,l,s,d,c,u,h,p,f,m){var g=this.props;if(1===e&&0===t&&0===n&&0===a&&0===r&&1===o&&0===i&&0===l&&0===s&&0===d&&1===c&&0===u)return g[12]=g[12]*e+g[15]*h,g[13]=g[13]*o+g[15]*p,g[14]=g[14]*c+g[15]*f,g[15]*=m,this._identityCalculated=!1,this;var y=g[0],v=g[1],_=g[2],b=g[3],x=g[4],k=g[5],E=g[6],M=g[7],S=g[8],w=g[9],$=g[10],R=g[11],C=g[12],P=g[13],T=g[14],L=g[15];return g[0]=y*e+v*r+_*s+b*h,g[1]=y*t+v*o+_*d+b*p,g[2]=y*n+v*i+_*c+b*f,g[3]=y*a+v*l+_*u+b*m,g[4]=x*e+k*r+E*s+M*h,g[5]=x*t+k*o+E*d+M*p,g[6]=x*n+k*i+E*c+M*f,g[7]=x*a+k*l+E*u+M*m,g[8]=S*e+w*r+$*s+R*h,g[9]=S*t+w*o+$*d+R*p,g[10]=S*n+w*i+$*c+R*f,g[11]=S*a+w*l+$*u+R*m,g[12]=C*e+P*r+T*s+L*h,g[13]=C*t+P*o+T*d+L*p,g[14]=C*n+P*i+T*c+L*f,g[15]=C*a+P*l+T*u+L*m,this._identityCalculated=!1,this}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function y(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function v(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function _(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function b(e,t,n){return{x:e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}}function x(e,t,n){return e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12]}function k(e,t,n){return e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13]}function E(e,t,n){return e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]}function M(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,n=-this.props[1]/e,a=-this.props[4]/e,r=this.props[0]/e,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,i=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,l=new Matrix;return l.props[0]=t,l.props[1]=n,l.props[4]=a,l.props[5]=r,l.props[12]=o,l.props[13]=i,l}function S(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function w(e){var t,n=e.length,a=[];for(t=0;t<n;t+=1)a[t]=S(e[t]);return a}function $(e,t,n){var a=createTypedArray("float32",6);if(this.isIdentity())a[0]=e[0],a[1]=e[1],a[2]=t[0],a[3]=t[1],a[4]=n[0],a[5]=n[1];else{var r=this.props[0],o=this.props[1],i=this.props[4],l=this.props[5],s=this.props[12],d=this.props[13];a[0]=e[0]*r+e[1]*i+s,a[1]=e[0]*o+e[1]*l+d,a[2]=t[0]*r+t[1]*i+s,a[3]=t[0]*o+t[1]*l+d,a[4]=n[0]*r+n[1]*i+s,a[5]=n[0]*o+n[1]*l+d}return a}function R(e,t,n){return this.isIdentity()?[e,t,n]:[e*this.props[0]+t*this.props[4]+n*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+n*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+n*this.props[10]+this.props[14]]}function C(e,t){if(this.isIdentity())return e+","+t;var n=this.props;return Math.round(100*(e*n[0]+t*n[4]+n[12]))/100+","+Math.round(100*(e*n[1]+t*n[5]+n[13]))/100}function P(){for(var e=0,t=this.props,n="matrix3d(";e<16;)n+=a(1e4*t[e])/1e4,n+=15===e?")":",",e+=1;return n}function T(e){return e<1e-6&&e>0||e>-1e-6&&e<0?a(1e4*e)/1e4:e}function L(){var e=this.props;return"matrix("+T(e[0])+","+T(e[1])+","+T(e[4])+","+T(e[5])+","+T(e[12])+","+T(e[13])+")"}return function(){this.reset=r,this.rotate=o,this.rotateX=i,this.rotateY=l,this.rotateZ=s,this.skew=c,this.skewFromAxis=u,this.shear=d,this.scale=h,this.setTransform=p,this.translate=f,this.transform=m,this.applyToPoint=b,this.applyToX=x,this.applyToY=k,this.applyToZ=E,this.applyToPointArray=R,this.applyToTriplePoints=$,this.applyToPointStringified=C,this.toCSS=P,this.to2dCSS=L,this.clone=v,this.cloneFromProps=_,this.equals=y,this.inversePoints=w,this.inversePoint=S,this.getInverseMatrix=M,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})(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if("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)}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("&"),n=0;n<t.length;n+=1){var a=t[n].split("=");if(decodeURIComponent(a[0])==e)return decodeURIComponent(a[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.10.2";var queryString="",scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer");var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=(t={},e={},t.registerModifier=function(t,n){e[t]||(e[t]=n)},t.getModifier=function(t,n,a){return new e[t](n,a)},t),t,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,n,a,r){var o=[];t<=1?o.push({s:e,e:t}):e>=1?o.push({s:e-1,e:t-1}):(o.push({s:e,e:1}),o.push({s:0,e:t-1}));var i,l,s=[],d=o.length;for(i=0;i<d;i+=1){var c,u;(l=o[i]).e*r<a||l.s*r>a+n||(c=l.s*r<=a?0:(l.s*r-a)/n,u=l.e*r>=a+n?1:(l.e*r-a)/n,s.push([c,u]))}return s.length||s.push([0,0]),s},TrimModifier.prototype.releasePathsData=function(e){var t,n=e.length;for(t=0;t<n;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,n,a,r;if(this._mdf||e){var o=this.o.v%360/360;if(o<0&&(o+=1),(t=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o)>(n=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o)){var i=t;t=n,n=i}t=1e-4*Math.round(1e4*t),n=1e-4*Math.round(1e4*n),this.sValue=t,this.eValue=n}else t=this.sValue,n=this.eValue;var l,s,d,c,u,h=this.shapes.length,p=0;if(n===t)for(r=0;r<h;r+=1)this.shapes[r].localShapeCollection.releaseShapes(),this.shapes[r].shape._mdf=!0,this.shapes[r].shape.paths=this.shapes[r].localShapeCollection,this._mdf&&(this.shapes[r].pathsData.length=0);else if(1===n&&0===t||0===n&&1===t){if(this._mdf)for(r=0;r<h;r+=1)this.shapes[r].pathsData.length=0,this.shapes[r].shape._mdf=!0}else{var f,m,g=[];for(r=0;r<h;r+=1)if((f=this.shapes[r]).shape._mdf||this._mdf||e||2===this.m){if(s=(a=f.shape.paths)._length,u=0,!f.shape._mdf&&f.pathsData.length)u=f.totalShapeLength;else{for(d=this.releasePathsData(f.pathsData),l=0;l<s;l+=1)c=bez.getSegmentsLength(a.shapes[l]),d.push(c),u+=c.totalLength;f.totalShapeLength=u,f.pathsData=d}p+=u,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var y,v=t,_=n,b=0;for(r=h-1;r>=0;r-=1)if((f=this.shapes[r]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),2===this.m&&h>1?(y=this.calculateShapeEdges(t,n,f.totalShapeLength,b,p),b+=f.totalShapeLength):y=[[v,_]],s=y.length,l=0;l<s;l+=1){v=y[l][0],_=y[l][1],g.length=0,_<=1?g.push({s:f.totalShapeLength*v,e:f.totalShapeLength*_}):v>=1?g.push({s:f.totalShapeLength*(v-1),e:f.totalShapeLength*(_-1)}):(g.push({s:f.totalShapeLength*v,e:f.totalShapeLength}),g.push({s:0,e:f.totalShapeLength*(_-1)}));var x=this.addShapes(f,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var k=x.pop();this.addPaths(x,m),x=this.addShapes(f,g[1],k)}else this.addPaths(x,m),x=this.addShapes(f,g[1]);this.addPaths(x,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var n,a=e.length;for(n=0;n<a;n+=1)t.addShape(e[n])},TrimModifier.prototype.addSegment=function(e,t,n,a,r,o,i){r.setXYAt(t[0],t[1],"o",o),r.setXYAt(n[0],n[1],"i",o+1),i&&r.setXYAt(e[0],e[1],"v",o),r.setXYAt(a[0],a[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,n,a){t.setXYAt(e[1],e[5],"o",n),t.setXYAt(e[2],e[6],"i",n+1),a&&t.setXYAt(e[0],e[4],"v",n),t.setXYAt(e[3],e[7],"v",n+1)},TrimModifier.prototype.addShapes=function(e,t,n){var a,r,o,i,l,s,d,c,u=e.pathsData,h=e.shape.paths.shapes,p=e.shape.paths._length,f=0,m=[],g=!0;for(n?(l=n._length,c=n._length):(n=shapePool.newElement(),l=0,c=0),m.push(n),a=0;a<p;a+=1){for(s=u[a].lengths,n.c=h[a].c,o=h[a].c?s.length:s.length+1,r=1;r<o;r+=1)if(f+(i=s[r-1]).addedLength<t.s)f+=i.addedLength,n.c=!1;else{if(f>t.e){n.c=!1;break}t.s<=f&&t.e>=f+i.addedLength?(this.addSegment(h[a].v[r-1],h[a].o[r-1],h[a].i[r],h[a].v[r],n,l,g),g=!1):(d=bez.getNewSegment(h[a].v[r-1],h[a].v[r],h[a].o[r-1],h[a].i[r],(t.s-f)/i.addedLength,(t.e-f)/i.addedLength,s[r-1]),this.addSegmentFromArray(d,n,l,g),g=!1,n.c=!1),f+=i.addedLength,l+=1}if(h[a].c&&s.length){if(i=s[r-1],f<=t.e){var y=s[r-1].addedLength;t.s<=f&&t.e>=f+y?(this.addSegment(h[a].v[r-1],h[a].o[r-1],h[a].i[0],h[a].v[0],n,l,g),g=!1):(d=bez.getNewSegment(h[a].v[r-1],h[a].v[0],h[a].o[r-1],h[a].i[0],(t.s-f)/y,(t.e-f)/y,s[r-1]),this.addSegmentFromArray(d,n,l,g),g=!1,n.c=!1)}else n.c=!1;f+=i.addedLength,l+=1}if(n._length&&(n.setXYAt(n.v[c][0],n.v[c][1],"i",c),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),f>t.e)break;a<p-1&&(n=shapePool.newElement(),g=!0,m.push(n),l=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 n=t/100,a=[0,0],r=e._length,o=0;for(o=0;o<r;o+=1)a[0]+=e.v[o][0],a[1]+=e.v[o][1];a[0]/=r,a[1]/=r;var i,l,s,d,c,u,h=shapePool.newElement();for(h.c=e.c,o=0;o<r;o+=1)i=e.v[o][0]+(a[0]-e.v[o][0])*n,l=e.v[o][1]+(a[1]-e.v[o][1])*n,s=e.o[o][0]+(a[0]-e.o[o][0])*-n,d=e.o[o][1]+(a[1]-e.o[o][1])*-n,c=e.i[o][0]+(a[0]-e.i[o][0])*-n,u=e.i[o][1]+(a[1]-e.i[o][1])*-n,h.setTripleAt(i,l,s,d,c,u,o);return h},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,n,a,r,o,i,l=this.shapes.length,s=this.amount.v;if(0!==s)for(n=0;n<l;n+=1){if(i=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,r=o.shape.paths._length,a=0;a<r;a+=1)i.addShape(this.processPath(t[a],s));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,n){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(n||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 a,r=t.or.k.length;for(a=0;a<r;a+=1)t.or.k[a].to=null,t.or.k[a].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 n;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 a,r;if(n=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(a=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),r=this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(a=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),r=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(a=this.p.pv,r=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){a=[],r=[];var o=this.px,i=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(a[0]=o.getValueAtTime((o.keyframes[0].t+.01)/n,0),a[1]=i.getValueAtTime((i.keyframes[0].t+.01)/n,0),r[0]=o.getValueAtTime(o.keyframes[0].t/n,0),r[1]=i.getValueAtTime(i.keyframes[0].t/n,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(a[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/n,0),a[1]=i.getValueAtTime(i.keyframes[i.keyframes.length-1].t/n,0),r[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/n,0),r[1]=i.getValueAtTime((i.keyframes[i.keyframes.length-1].t-.01)/n,0)):(a=[o.pv,i.pv],r[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/n,o.offsetTime),r[1]=i.getValueAtTime((i._caching.lastFrame+i.offsetTime-.01)/n,i.offsetTime))}else a=r=e;this.v.rotate(-Math.atan2(a[1]-r[1],a[0]-r[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}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,n,a){return new t(e,n,a)}}}();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,n){return e*(1-n)+t*n}function lerpPoint(e,t,n){return[lerp(e[0],t[0],n),lerp(e[1],t[1],n)]}function quadRoots(e,t,n){if(0===e)return[];var a=t*t-4*e*n;if(a<0)return[];var r=-t/(2*e);if(0===a)return[r];var o=Math.sqrt(a)/(2*e);return[r-o,r+o]}function polynomialCoefficients(e,t,n,a){return[3*t-e-3*n+a,3*e-6*t+3*n,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,n,a,r){r&&pointEqual(e,t)&&(t=lerpPoint(e,a,1/3)),r&&pointEqual(n,a)&&(n=lerpPoint(e,a,2/3));var o=polynomialCoefficients(e[0],t[0],n[0],a[0]),i=polynomialCoefficients(e[1],t[1],n[1],a[1]);this.a=[o[0],i[0]],this.b=[o[1],i[1]],this.c=[o[2],i[2]],this.d=[o[3],i[3]],this.points=[e,t,n,a]}function extrema(e,t){var n=e.points[0][t],a=e.points[e.points.length-1][t];if(n>a){var r=a;a=n,n=r}for(var o=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),i=0;i<o.length;i+=1)if(o[i]>0&&o[i]<1){var l=e.point(o[i])[t];l<n?n=l:l>a&&(a=l)}return{min:n,max:a}}function intersectData(e,t,n){var a=e.boundingBox();return{cx:a.cx,cy:a.cy,width:a.width,height:a.height,bez:e,t:(t+n)/2,t1:t,t2:n}}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,n,a,r,o){if(boxIntersect(e,t))if(n>=o||e.width<=a&&e.height<=a&&t.width<=a&&t.height<=a)r.push([e.t,t.t]);else{var i=splitData(e),l=splitData(t);intersectsImpl(i[0],l[0],n+1,a,r,o),intersectsImpl(i[0],l[1],n+1,a,r,o),intersectsImpl(i[1],l[0],n+1,a,r,o),intersectsImpl(i[1],l[1],n+1,a,r,o)}}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,n,a){var r=[e[0],e[1],1],o=[t[0],t[1],1],i=[n[0],n[1],1],l=[a[0],a[1],1],s=crossProduct(crossProduct(r,o),crossProduct(i,l));return floatZero(s[2])?null:[s[0]/s[2],s[1]/s[2]]}function polarOffset(e,t,n){return[e[0]+Math.cos(t)*n,e[1]-Math.sin(t)*n]}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,n,a,r,o,i){var l=n-Math.PI/2,s=n+Math.PI/2,d=t[0]+Math.cos(n)*a*r,c=t[1]-Math.sin(n)*a*r;e.setTripleAt(d,c,d+Math.cos(l)*o,c-Math.sin(l)*o,d+Math.cos(s)*i,c-Math.sin(s)*i,e.length())}function getPerpendicularVector(e,t){var n=[t[0]-e[0],t[1]-e[1]],a=.5*-Math.PI;return[Math.cos(a)*n[0]-Math.sin(a)*n[1],Math.sin(a)*n[0]+Math.cos(a)*n[1]]}function getProjectingAngle(e,t){var n=0===t?e.length()-1:t-1,a=(t+1)%e.length(),r=getPerpendicularVector(e.v[n],e.v[a]);return Math.atan2(0,1)-Math.atan2(r[1],r[0])}function zigZagCorner(e,t,n,a,r,o,i){var l=getProjectingAngle(t,n),s=t.v[n%t._length],d=t.v[0===n?t._length-1:n-1],c=t.v[(n+1)%t._length],u=2===o?Math.sqrt(Math.pow(s[0]-d[0],2)+Math.pow(s[1]-d[1],2)):0,h=2===o?Math.sqrt(Math.pow(s[0]-c[0],2)+Math.pow(s[1]-c[1],2)):0;setPoint(e,t.v[n%t._length],l,i,a,h/(2*(r+1)),u/(2*(r+1)))}function zigZagSegment(e,t,n,a,r,o){for(var i=0;i<a;i+=1){var l=(i+1)/(a+1),s=2===r?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,d=t.normalAngle(l);setPoint(e,t.point(l),d,o,n,s/(2*(a+1)),s/(2*(a+1))),o=-o}return o}function linearOffset(e,t,n){var a=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,a,n),polarOffset(t,a,n)]}function offsetSegment(e,t){var n,a,r,o,i,l,s;n=(s=linearOffset(e.points[0],e.points[1],t))[0],a=s[1],r=(s=linearOffset(e.points[1],e.points[2],t))[0],o=s[1],i=(s=linearOffset(e.points[2],e.points[3],t))[0],l=s[1];var d=lineIntersection(n,a,r,o);null===d&&(d=a);var c=lineIntersection(i,l,r,o);return null===c&&(c=i),new PolynomialBezier(n,d,c,l)}function joinLines(e,t,n,a,r){var o=t.points[3],i=n.points[0];if(3===a)return o;if(pointEqual(o,i))return o;if(2===a){var l=-t.tangentAngle(1),s=-n.tangentAngle(0)+Math.PI,d=lineIntersection(o,polarOffset(o,l+Math.PI/2,100),i,polarOffset(i,l+Math.PI/2,100)),c=d?pointDistance(d,o):pointDistance(o,i)/2,u=polarOffset(o,l,2*c*roundCorner);return e.setXYAt(u[0],u[1],"o",e.length()-1),u=polarOffset(i,s,2*c*roundCorner),e.setTripleAt(i[0],i[1],i[0],i[1],u[0],u[1],e.length()),i}var h=lineIntersection(pointEqual(o,t.points[2])?t.points[0]:t.points[2],o,i,pointEqual(i,n.points[1])?n.points[3]:n.points[1]);return h&&pointDistance(h,o)<r?(e.setTripleAt(h[0],h[1],h[0],h[1],h[0],h[1],e.length()),h):o}function getIntersection(e,t){var n=e.intersections(t);return n.length&&floatEqual(n[0][0],1)&&n.shift(),n.length?n[0]:null}function pruneSegmentIntersection(e,t){var n=e.slice(),a=t.slice(),r=getIntersection(e[e.length-1],t[0]);return r&&(n[e.length-1]=e[e.length-1].split(r[0])[0],a[0]=t[0].split(r[1])[1]),e.length>1&&t.length>1&&(r=getIntersection(e[0],t[t.length-1]))?[[e[0].split(r[0])[0]],[t[t.length-1].split(r[1])[1]]]:[n,a]}function pruneIntersections(e){for(var t,n=1;n<e.length;n+=1)t=pruneSegmentIntersection(e[n-1],e[n]),e[n-1]=t[0],e[n]=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 n,a,r,o,i=e.inflectionPoints();if(0===i.length)return[offsetSegment(e,t)];if(1===i.length||floatEqual(i[1],1))return n=(r=e.split(i[0]))[0],a=r[1],[offsetSegment(n,t),offsetSegment(a,t)];n=(r=e.split(i[0]))[0];var l=(i[1]-i[0])/(1-i[0]);return o=(r=r[1].split(l))[0],a=r[1],[offsetSegment(n,t),offsetSegment(o,t),offsetSegment(a,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],n="normal",a="normal",r=t.length,o=0;o<r;o+=1)switch(t[o].toLowerCase()){case"italic":a="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200"}return{style:a,weight:e.fWeight||n}}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,n,a,r,o){var i=o?-1:1,l=a.s.v[0]+(1-a.s.v[0])*(1-r),s=a.s.v[1]+(1-a.s.v[1])*(1-r);e.translate(a.p.v[0]*i*r,a.p.v[1]*i*r,a.p.v[2]),t.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),t.rotate(-a.r.v*i*r),t.translate(a.a.v[0],a.a.v[1],a.a.v[2]),n.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),n.scale(o?1/l:l,o?1/s:s),n.translate(a.a.v[0],a.a.v[1],a.a.v[2])},RepeaterModifier.prototype.init=function(e,t,n,a){for(this.elem=e,this.arr=t,this.pos=n,this.elemsData=a,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[n]);n>0;)n-=1,this._elements.unshift(t[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,n=e.length;for(t=0;t<n;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 n,a=e.length;for(n=0;n<a;n+=1)e[n]._render=t,"gr"===e[n].ty&&this.changeGroupRender(e[n].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,n,a,r,o,i=!1;if(this._mdf||e){var l,s=Math.ceil(this.c.v);if(this._groups.length<s){for(;this._groups.length<s;){var d={it:this.cloneElements(this._elements),ty:"gr"};d.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,d),this._groups.splice(0,0,d),this._currentCopies+=1}this.elem.reloadShapes(),i=!0}for(o=0,a=0;a<=this._groups.length-1;a+=1){if(l=o<s,this._groups[a]._render=l,this.changeGroupRender(this._groups[a].it,l),!l){var c=this.elemsData[a].it,u=c[c.length-1];0!==u.transform.op.v?(u.transform.op._mdf=!0,u.transform.op.v=0):u.transform.op._mdf=!1}o+=1}this._currentCopies=s;var h=this.o.v,p=h%1,f=h>0?Math.floor(h):Math.ceil(h),m=this.pMatrix.props,g=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,_,b=0;if(h>0){for(;b<f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),b+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),b+=p)}else if(h<0){for(;b>f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),b-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),b-=p)}for(a=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,o=this._currentCopies;o;){if(_=(n=(t=this.elemsData[a].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)*(a/(this._currentCopies-1)),0!==b){for((0!==a&&1===r||a!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<_;v+=1)n[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<_;v+=1)n[v]=this.matrix.props[v];b+=1,o-=1,a+=r}}else for(o=this._currentCopies,a=0,r=1;o;)n=(t=this.elemsData[a].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,o-=1,a+=r;return i},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 n,a=shapePool.newElement();a.c=e.c;var r,o,i,l,s,d,c,u,h,p,f,m,g=e._length,y=0;for(n=0;n<g;n+=1)r=e.v[n],i=e.o[n],o=e.i[n],r[0]===i[0]&&r[1]===i[1]&&r[0]===o[0]&&r[1]===o[1]?0!==n&&n!==g-1||e.c?(l=0===n?e.v[g-1]:e.v[n-1],d=(s=Math.sqrt(Math.pow(r[0]-l[0],2)+Math.pow(r[1]-l[1],2)))?Math.min(s/2,t)/s:0,c=f=r[0]+(l[0]-r[0])*d,u=m=r[1]-(r[1]-l[1])*d,h=c-(c-r[0])*roundCorner,p=u-(u-r[1])*roundCorner,a.setTripleAt(c,u,h,p,f,m,y),y+=1,l=n===g-1?e.v[0]:e.v[n+1],d=(s=Math.sqrt(Math.pow(r[0]-l[0],2)+Math.pow(r[1]-l[1],2)))?Math.min(s/2,t)/s:0,c=h=r[0]+(l[0]-r[0])*d,u=p=r[1]+(l[1]-r[1])*d,f=c-(c-r[0])*roundCorner,m=u-(u-r[1])*roundCorner,a.setTripleAt(c,u,h,p,f,m,y),y+=1):(a.setTripleAt(r[0],r[1],i[0],i[1],o[0],o[1],y),y+=1):(a.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],y),y+=1);return a},RoundCornersModifier.prototype.processShapes=function(e){var t,n,a,r,o,i,l=this.shapes.length,s=this.rd.v;if(0!==s)for(n=0;n<l;n+=1){if(i=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,r=o.shape.paths._length,a=0;a<r;a+=1)i.addShape(this.processPath(t[a],s));o.shape.paths=o.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,n=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(n<0)return[];var a=Math.sqrt(n);return floatZero(a)?a>0&&a<1?[t]:[]:[t-a,t+a].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),n=lerpPoint(this.points[1],this.points[2],e),a=lerpPoint(this.points[2],this.points[3],e),r=lerpPoint(t,n,e),o=lerpPoint(n,a,e),i=lerpPoint(r,o,e);return[new PolynomialBezier(this.points[0],t,r,i,!0),new PolynomialBezier(i,o,a,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,n){void 0===t&&(t=2),void 0===n&&(n=7);var a=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,a,n),a},PolynomialBezier.shapeSegment=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[n],e.v[n],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[n],e.i[n],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,n,a){var r=e._length,o=shapePool.newElement();if(o.c=e.c,e.c||(r-=1),0===r)return o;var i=-1,l=PolynomialBezier.shapeSegment(e,0);zigZagCorner(o,e,0,t,n,a,i);for(var s=0;s<r;s+=1)i=zigZagSegment(o,l,t,n,a,-i),l=s!==r-1||e.c?PolynomialBezier.shapeSegment(e,(s+1)%r):null,zigZagCorner(o,e,s+1,t,n,a,i);return o},ZigZagModifier.prototype.processShapes=function(e){var t,n,a,r,o,i,l=this.shapes.length,s=this.amplitude.v,d=Math.max(0,Math.round(this.frequency.v)),c=this.pointsType.v;if(0!==s)for(n=0;n<l;n+=1){if(i=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,r=o.shape.paths._length,a=0;a<r;a+=1)i.addShape(this.processPath(t[a],s,d,c));o.shape.paths=o.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,n,a){var r=shapePool.newElement();r.c=e.c;var o,i,l,s=e.length();e.c||(s-=1);var d=[];for(o=0;o<s;o+=1)l=PolynomialBezier.shapeSegment(e,o),d.push(offsetSegmentSplit(l,t));if(!e.c)for(o=s-1;o>=0;o-=1)l=PolynomialBezier.shapeSegmentInverted(e,o),d.push(offsetSegmentSplit(l,t));d=pruneIntersections(d);var c=null,u=null;for(o=0;o<d.length;o+=1){var h=d[o];for(u&&(c=joinLines(r,u,h[0],n,a)),u=h[h.length-1],i=0;i<h.length;i+=1)l=h[i],c&&pointEqual(l.points[0],c)?r.setXYAt(l.points[1][0],l.points[1][1],"o",r.length()-1):r.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],r.length()),r.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],r.length()),c=l.points[3]}return d.length&&joinLines(r,u,d[0][0],n,a),r},OffsetPathModifier.prototype.processShapes=function(e){var t,n,a,r,o,i,l=this.shapes.length,s=this.amount.v,d=this.miterLimit.v,c=this.lineJoin;if(0!==s)for(n=0;n<l;n+=1){if(i=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||e)for(i.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,r=o.shape.paths._length,a=0;a<r;a+=1)i.addShape(this.processPath(t[a],s,c,d));o.shape.paths=o.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 n=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],a=[65039,8205];function r(e,t){var n=createTag("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=t;var a=createTag("span");a.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(a),document.body.appendChild(n);var r=a.offsetWidth;return a.style.fontFamily=function(e){var t,n=e.split(","),a=n.length,r=[];for(t=0;t<a;t+=1)"sans-serif"!==n[t]&&"monospace"!==n[t]&&r.push(n[t]);return r.join(",")}(e)+", "+t,{node:a,w:r,parent:n}}function o(e,t){var n,a=document.body&&t?"svg":"canvas",r=getFontProperties(e);if("svg"===a){var o=createNS("text");o.style.fontSize="100px",o.setAttribute("font-family",e.fFamily),o.setAttribute("font-style",r.style),o.setAttribute("font-weight",r.weight),o.textContent="1",e.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",e.fClass)):o.style.fontFamily=e.fFamily,t.appendChild(o),n=o}else{var i=new OffscreenCanvas(500,500).getContext("2d");i.font=r.style+" "+r.weight+" 100px "+e.fFamily,n=i}return{measureText:function(e){return"svg"===a?(n.textContent=e,n.getComputedTextLength()):n.measureText(e).width}}}var i=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)};return i.isModifier=function(e,t){var a=e.toString(16)+t.toString(16);return-1!==n.indexOf(a)},i.isZeroWidthJoiner=function(e,t){return t?e===a[0]&&t===a[1]:e===a[1]},i.isCombinedCharacter=function(e){return-1!==t.indexOf(e)},i.prototype={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var n,a,r=e.length,o=this.chars.length;for(t=0;t<r;t+=1){for(n=0,a=!1;n<o;)this.chars[n].style===e[t].style&&this.chars[n].fFamily===e[t].fFamily&&this.chars[n].ch===e[t].ch&&(a=!0),n+=1;a||(this.chars.push(e[t]),o+=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 n,a=e.list,i=a.length,l=i;for(n=0;n<i;n+=1){var s,d,c=!0;if(a[n].loaded=!1,a[n].monoCase=r(a[n].fFamily,"monospace"),a[n].sansCase=r(a[n].fFamily,"sans-serif"),a[n].fPath){if("p"===a[n].fOrigin||3===a[n].origin){if((s=document.querySelectorAll('style[f-forigin="p"][f-family="'+a[n].fFamily+'"], style[f-origin="3"][f-family="'+a[n].fFamily+'"]')).length>0&&(c=!1),c){var u=createTag("style");u.setAttribute("f-forigin",a[n].fOrigin),u.setAttribute("f-origin",a[n].origin),u.setAttribute("f-family",a[n].fFamily),u.type="text/css",u.innerText="@font-face {font-family: "+a[n].fFamily+"; font-style: normal; src: url('"+a[n].fPath+"');}",t.appendChild(u)}}else if("g"===a[n].fOrigin||1===a[n].origin){for(s=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),d=0;d<s.length;d+=1)-1!==s[d].href.indexOf(a[n].fPath)&&(c=!1);if(c){var h=createTag("link");h.setAttribute("f-forigin",a[n].fOrigin),h.setAttribute("f-origin",a[n].origin),h.type="text/css",h.rel="stylesheet",h.href=a[n].fPath,document.body.appendChild(h)}}else if("t"===a[n].fOrigin||2===a[n].origin){for(s=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),d=0;d<s.length;d+=1)a[n].fPath===s[d].src&&(c=!1);if(c){var p=createTag("link");p.setAttribute("f-forigin",a[n].fOrigin),p.setAttribute("f-origin",a[n].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",a[n].fPath),t.appendChild(p)}}}else a[n].loaded=!0,l-=1;a[n].helper=o(a[n],t),a[n].cache={},this.fonts.push(a[n])}0===l?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,n,a){for(var r=0,o=this.chars.length;r<o;){if(this.chars[r].ch===t&&this.chars[r].style===n&&this.chars[r].fFamily===a)return this.chars[r];r+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0),e},getFontByName:function(e){for(var t=0,n=this.fonts.length;t<n;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,n){var a=this.getFontByName(t),r=e.charCodeAt(0);if(!a.cache[r+1]){var o=a.helper;if(" "===e){var i=o.measureText("|"+e+"|"),l=o.measureText("||");a.cache[r+1]=(i-l)/100}else a.cache[r+1]=o.measureText(e)/100}return a.cache[r+1]*n},checkLoadedFonts:function(){var e,t,n,a=this.fonts.length,r=a;for(e=0;e<a;e+=1)this.fonts[e].loaded?r-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,n=this.fonts[e].monoCase.w,t.offsetWidth!==n?(r-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,n=this.fonts[e].sansCase.w,t.offsetWidth!==n&&(r-=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!==r&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}},i}();function RenderableElement(){}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=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(e){return blendModeEnums[e]||""}),blendModeEnums;function SliderEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function AngleEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function ColorEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function PointEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,1,0,n)}function LayerIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function MaskIndexEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function CheckboxEffect(e,t,n){this.p=PropertyFactory.getProp(t,e.v,0,0,n)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var n,a=e.ef||[];this.effectElements=[];var r,o=a.length;for(n=0;n<o;n+=1)r=new GroupEffect(a[n],t),this.effectElements.push(r)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function FootageElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,n)}function AudioElement(e,t,n){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,n),this._isPlaying=!1,this._canPlay=!1;var a=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(a),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(){}function TransformElement(){}function MaskElement(e,t,n){this.data=e,this.element=t,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var a,r,o=this.globalData.defs,i=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(i),this.solidPath="";var l,s,d,c,u,h,p=this.masksProperties,f=0,m=[],g=createElementID(),y="clipPath",v="clip-path";for(a=0;a<i;a+=1)if(("a"!==p[a].mode&&"n"!==p[a].mode||p[a].inv||100!==p[a].o.k||p[a].o.x)&&(y="mask",v="mask"),"s"!==p[a].mode&&"i"!==p[a].mode||0!==f?d=null:((d=createNS("rect")).setAttribute("fill","#ffffff"),d.setAttribute("width",this.element.comp.data.w||0),d.setAttribute("height",this.element.comp.data.h||0),m.push(d)),r=createNS("path"),"n"===p[a].mode)this.viewData[a]={op:PropertyFactory.getProp(this.element,p[a].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[a],3),elem:r,lastPath:""},o.appendChild(r);else{var _;if(f+=1,r.setAttribute("fill","s"===p[a].mode?"#000000":"#ffffff"),r.setAttribute("clip-rule","nonzero"),0!==p[a].x.k?(y="mask",v="mask",h=PropertyFactory.getProp(this.element,p[a].x,0,null,this.element),_=createElementID(),(c=createNS("filter")).setAttribute("id",_),(u=createNS("feMorphology")).setAttribute("operator","erode"),u.setAttribute("in","SourceGraphic"),u.setAttribute("radius","0"),c.appendChild(u),o.appendChild(c),r.setAttribute("stroke","s"===p[a].mode?"#000000":"#ffffff")):(u=null,h=null),this.storedData[a]={elem:r,x:h,expan:u,lastPath:"",lastOperator:"",filterId:_,lastRadius:0},"i"===p[a].mode){s=m.length;var b=createNS("g");for(l=0;l<s;l+=1)b.appendChild(m[l]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",g+"_"+f),x.appendChild(r),o.appendChild(x),b.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+f+")"),m.length=0,m.push(b)}else m.push(r);p[a].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[a]={elem:r,lastPath:"",op:PropertyFactory.getProp(this.element,p[a].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[a],3),invRect:d},this.viewData[a].prop.k||this.drawPath(p[a],this.viewData[a].prop.v,this.viewData[a])}for(this.maskElement=createNS(y),i=m.length,a=0;a<i;a+=1)this.maskElement.appendChild(m[a]);f>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var n;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var a,r=this.data.ef.length,o=this.data.ef;for(n=0;n<r;n+=1){switch(a=null,o[n].ty){case 0:a=new SliderEffect(o[n],t,this);break;case 1:a=new AngleEffect(o[n],t,this);break;case 2:a=new ColorEffect(o[n],t,this);break;case 3:a=new PointEffect(o[n],t,this);break;case 4:case 7:a=new CheckboxEffect(o[n],t,this);break;case 10:a=new LayerIndexEffect(o[n],t,this);break;case 11:a=new MaskIndexEffect(o[n],t,this);break;case 5:a=new EffectsManager(o[n],t);break;default:a=new NoValueEffect(o[n])}a&&this.effectElements.push(a)}},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"),n=e("effects"),a=e("shape"),r=e("text"),o=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var i=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(i),0===this.data.ty||this.data.xt?this.compInterface=o(this):4===this.data.ty?(this.layerInterface.shapeInterface=a(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=r(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,n){this.globalData=t,this.comp=n,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 n,a=this.dynamicProperties.length;for(n=0;n<a;n+=1)(t||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._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 n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},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,n,a=this.layers.length;for(this.completeLayers=!0,t=a-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t]).ip-n.st<=e-this.layers[t].st&&n.op-n.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 n,a=e.length,r=this.layers.length;for(t=0;t<a;t+=1)for(n=0;n<r;){if(this.layers[n].id===e[t].id){this.layers[n]=e[t];break}n+=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,n){for(var a=this.elements,r=this.layers,o=0,i=r.length;o<i;)r[o].ind==t&&(a[o]&&!0!==a[o]?(n.push(a[o]),a[o].setAsParent(),void 0!==r[o].parent?this.buildElementParenting(e,r[o].parent,n):e.setHierarchy(n)):(this.buildItem(o),this.addPendingElement(e))),o+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,n=e.length;for(t=0;t<n;t+=1)if(e[t].xt){var a=this.createComp(e[t]);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},BaseRenderer.prototype.getElementById=function(e){var t,n=this.elements.length;for(t=0;t<n;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t,n=e.shift();if("number"==typeof n)t=this.elements[n];else{var a,r=this.elements.length;for(a=0;a<r;a+=1)if(this.elements[a].data.nm===n){t=this.elements[a];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,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}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,n=0,a=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<a;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),n=0;n<a;n+=1)e=this.hierarchy[n].finalTransform.mProp.v.props,t.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var n,a=!0,r=this.comp;a;)r.finalTransform?(r.data.hasMask&&t.splice(0,0,r.finalTransform),r=r.comp):a=!1;var o,i=t.length;for(n=0;n<i;n+=1)o=t[n].mat.applyToPointArray(0,0,0),e=[e[0]-o[0],e[1]-o[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,n=this.element.finalTransform.mat,a=this.masksProperties.length;for(t=0;t<a;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",n.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var r=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+")")),r.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)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,n){var a,r,o=" M"+t.v[0][0]+","+t.v[0][1];for(r=t._length,a=1;a<r;a+=1)o+=" C"+t.o[a-1][0]+","+t.o[a-1][1]+" "+t.i[a][0]+","+t.i[a][1]+" "+t.v[a][0]+","+t.v[a][1];if(t.c&&r>1&&(o+=" C"+t.o[a-1][0]+","+t.o[a-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),n.lastPath!==o){var i="";n.elem&&(t.c&&(i=e.inv?this.solidPath+o:o),n.elem.setAttribute("d",i)),n.lastPath=o}},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 n=createNS("filter");return n.setAttribute("id",e),!0!==t&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n},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={},idPrefix="filter_result_";function SVGEffects(e){var t,n,a="SourceGraphic",r=e.data.ef?e.data.ef.length:0,o=createElementID(),i=filtersFactory.createFilter(o,!0),l=0;for(this.filters=[],t=0;t<r;t+=1){n=null;var s=e.data.ef[t].ty;registeredEffects[s]&&(n=new registeredEffects[s].effect(i,e.effectsManager.effectElements[t],e,idPrefix+l,a),a=idPrefix+l,registeredEffects[s].countsAsEffect&&(l+=1)),n&&this.filters.push(n)}l&&(e.globalData.defs.appendChild(i),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t,n){registeredEffects[e]={effect:t,countsAsEffect:n}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n),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,n=this.filters.length;for(t=0;t<n;t+=1)this.filters[t].renderFrame(e)},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 n=createNS("clipPath"),a=createNS("path");a.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var r=createElementID();if(n.setAttribute("id",r),n.appendChild(a),this.globalData.defs.appendChild(n),this.checkMasks()){var o=createNS("g");o.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")"),o.appendChild(this.layerElement),this.transformedElement=o,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,n,a,r,o=this.layerId+"_"+e;if(1===e||3===e){var i=createNS("mask");i.setAttribute("id",o),i.setAttribute("mask-type",3===e?"luminance":"alpha"),(a=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),i.appendChild(a),this.globalData.defs.appendChild(i),featureSupport.maskType||1!==e||(i.setAttribute("mask-type","luminance"),t=createElementID(),n=filtersFactory.createFilter(t),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(r=createNS("g")).appendChild(a),i.appendChild(r),r.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===e){var l=createNS("mask");l.setAttribute("id",o),l.setAttribute("mask-type","alpha");var s=createNS("g");l.appendChild(s),t=createElementID(),n=filtersFactory.createFilter(t);var d=createNS("feComponentTransfer");d.setAttribute("in","SourceGraphic"),n.appendChild(d);var c=createNS("feFuncA");c.setAttribute("type","table"),c.setAttribute("tableValues","1.0 0.0"),d.appendChild(c),this.globalData.defs.appendChild(n);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),s.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),s.appendChild(u),(a=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(a),featureSupport.maskType||(l.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),s.appendChild(u),r.appendChild(this.layerElement),s.appendChild(r)),this.globalData.defs.appendChild(l)}this.matteMasks[e]=o}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,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),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.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,n=this.shapeModifiers.length;for(t=0;t<n;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,n=0,a=t.length;n<a;){if(t[n].elem===e)return t[n].pos;n+=1}return 0},addProcessedElement:function(e,t){for(var n=this.processedElements,a=n.length;a;)if(n[a-=1].elem===e)return void(n[a].pos=t);n.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,n){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=n,this.lvl=t,this._isAnimated=!!n.k;for(var a=0,r=e.length;a<r;){if(e[a].mProps.dynamicProperties.length){this._isAnimated=!0;break}a+=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,n,a){var r;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(a);var o,i=t.length||0;for(r=0;r<i;r+=1)o=PropertyFactory.getProp(e,t[r].v,0,0,this),this.k=o.k||this.k,this.dataProps[r]={n:t[r].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,n){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=n,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,n){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=n}function SVGNoStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=n}function GradientProperty(e,t,n){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var a=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",a),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=a,this.initDynamicPropertyContainer(n),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,n){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,n)}function SVGGradientStrokeStyleData(e,t,n){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,n),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,n){this.transform={mProps:e,op:t,container:n},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,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<n;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 n=0,a=this.o.length/2;n<a;){if(Math.abs(e[4*n]-e[4*t+2*n])>.01)return!1;n+=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,n,a,r=4*this.data.p;for(t=0;t<r;t+=1)n=t%4==0?100:255,a=Math.round(this.prop.v[t]*n),this.c[t]!==a&&(this.c[t]=a,this._cmdf=!e);if(this.o.length)for(r=this.prop.v.length,t=4*this.data.p;t<r;t+=1)n=t%2==0?100:1,a=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==a&&(this.o[t-4*this.data.p]=a,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,n){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=n,this.stops=[],this.setGradientData(n.pElem,t),this.setGradientOpacity(t,n),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var n=createElementID(),a=createNS(1===t.t?"linearGradient":"radialGradient");a.setAttribute("id",n),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse");var r,o,i,l=[];for(i=4*t.g.p,o=0;o<i;o+=4)r=createNS("stop"),a.appendChild(r),l.push(r);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+n+")"),this.gf=a,this.cst=l},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var n,a,r,o=createNS("mask"),i=createNS("path");o.appendChild(i);var l=createElementID(),s=createElementID();o.setAttribute("id",s);var d=createNS(1===e.t?"linearGradient":"radialGradient");d.setAttribute("id",l),d.setAttribute("spreadMethod","pad"),d.setAttribute("gradientUnits","userSpaceOnUse"),r=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var c=this.stops;for(a=4*e.g.p;a<r;a+=2)(n=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),d.appendChild(n),c.push(n);i.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+l+")"),"gs"===e.ty&&(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&i.setAttribute("stroke-miterlimit",e.ml)),this.of=d,this.ms=o,this.ost=c,this.maskId=s,t.msElem=i}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,n,a){if(0===t)return"";var r,o=e.o,i=e.i,l=e.v,s=" M"+a.applyToPointStringified(l[0][0],l[0][1]);for(r=1;r<t;r+=1)s+=" C"+a.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+a.applyToPointStringified(i[r][0],i[r][1])+" "+a.applyToPointStringified(l[r][0],l[r][1]);return n&&t&&(s+=" C"+a.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+a.applyToPointStringified(i[0][0],i[0][1])+" "+a.applyToPointStringified(l[0][0],l[0][1]),s+="z"),s},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function n(e,t,n){(n||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(n||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function a(){}function r(n,a,r){var o,i,l,s,d,c,u,h,p,f,m,g=a.styles.length,y=a.lvl;for(c=0;c<g;c+=1){if(s=a.sh._mdf||r,a.styles[c].lvl<y){for(h=t.reset(),f=y-a.styles[c].lvl,m=a.transformers.length-1;!s&&f>0;)s=a.transformers[m].mProps._mdf||s,f-=1,m-=1;if(s)for(f=y-a.styles[c].lvl,m=a.transformers.length-1;f>0;)p=a.transformers[m].mProps.v.props,h.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),f-=1,m-=1}else h=e;if(i=(u=a.sh.paths)._length,s){for(l="",o=0;o<i;o+=1)(d=u.shapes[o])&&d._length&&(l+=buildShapeString(d,d._length,d.c,h));a.caches[c]=l}else l=a.caches[c];a.styles[c].d+=!0===n.hd?"":l,a.styles[c]._mdf=s||a.styles[c]._mdf}}function o(e,t,n){var a=t.style;(t.c._mdf||n)&&a.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&a.pElem.setAttribute("fill-opacity",t.o.v)}function i(e,t,n){l(e,t,n),s(0,t,n)}function l(e,t,n){var a,r,o,i,l,s=t.gf,d=t.g._hasOpacity,c=t.s.v,u=t.e.v;if(t.o._mdf||n){var h="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(h,t.o.v)}if(t.s._mdf||n){var p=1===e.t?"x1":"cx",f="x1"===p?"y1":"cy";s.setAttribute(p,c[0]),s.setAttribute(f,c[1]),d&&!t.g._collapsable&&(t.of.setAttribute(p,c[0]),t.of.setAttribute(f,c[1]))}if(t.g._cmdf||n){a=t.cst;var m=t.g.c;for(o=a.length,r=0;r<o;r+=1)(i=a[r]).setAttribute("offset",m[4*r]+"%"),i.setAttribute("stop-color","rgb("+m[4*r+1]+","+m[4*r+2]+","+m[4*r+3]+")")}if(d&&(t.g._omdf||n)){var g=t.g.o;for(o=(a=t.g._collapsable?t.cst:t.ost).length,r=0;r<o;r+=1)i=a[r],t.g._collapsable||i.setAttribute("offset",g[2*r]+"%"),i.setAttribute("stop-opacity",g[2*r+1])}if(1===e.t)(t.e._mdf||n)&&(s.setAttribute("x2",u[0]),s.setAttribute("y2",u[1]),d&&!t.g._collapsable&&(t.of.setAttribute("x2",u[0]),t.of.setAttribute("y2",u[1])));else if((t.s._mdf||t.e._mdf||n)&&(l=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)),s.setAttribute("r",l),d&&!t.g._collapsable&&t.of.setAttribute("r",l)),t.e._mdf||t.h._mdf||t.a._mdf||n){l||(l=Math.sqrt(Math.pow(c[0]-u[0],2)+Math.pow(c[1]-u[1],2)));var y=Math.atan2(u[1]-c[1],u[0]-c[0]),v=t.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var _=l*v,b=Math.cos(y+t.a.v)*_+c[0],x=Math.sin(y+t.a.v)*_+c[1];s.setAttribute("fx",b),s.setAttribute("fy",x),d&&!t.g._collapsable&&(t.of.setAttribute("fx",b),t.of.setAttribute("fy",x))}}function s(e,t,n){var a=t.style,r=t.d;r&&(r._mdf||n)&&r.dashStr&&(a.pElem.setAttribute("stroke-dasharray",r.dashStr),a.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),t.c&&(t.c._mdf||n)&&a.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&a.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||n)&&(a.pElem.setAttribute("stroke-width",t.w.v),a.msElem&&a.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return o;case"gf":return l;case"gs":return i;case"st":return s;case"sh":case"el":case"rc":case"sr":return r;case"tr":return n;case"no":return a;default:return null}}}}();function SVGShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,n),this.prevViewData=[]}function LetterProps(e,t,n,a,r,o){this.o=e,this.sw=t,this.sc=n,this.fc=a,this.m=r,this.p=o,this._mdf={o:!0,sw:!!t,sc:!!n,fc:!!a,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,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,n,a,r=this.shapes.length,o=this.stylesList.length,i=[],l=!1;for(n=0;n<o;n+=1){for(a=this.stylesList[n],l=!1,i.length=0,e=0;e<r;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(a)&&(i.push(t),l=t._isAnimated||l);i.length>1&&l&&this.setShapesAsAnimated(i)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,n=e.length;for(t=0;t<n;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var n,a=new SVGStyleData(e,t),r=a.pElem;return"st"===e.ty?n=new SVGStrokeStyleData(this,e,a):"fl"===e.ty?n=new SVGFillStyleData(this,e,a):"gf"===e.ty||"gs"===e.ty?(n=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,a),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),r.setAttribute("mask","url("+getLocationHref()+"#"+n.maskId+")"))):"no"===e.ty&&(n=new SVGNoStyleData(this,e,a)),"st"!==e.ty&&"gs"!==e.ty||(r.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),r.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),r.setAttribute("fill-opacity","0"),1===e.lj&&r.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&r.setAttribute("fill-rule","evenodd"),e.ln&&r.setAttribute("id",e.ln),e.cl&&r.setAttribute("class",e.cl),e.bm&&(r.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(a),this.addToAnimatedContents(e,n),n},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 n=TransformPropertyFactory.getTransformProperty(this,e,this),a=new SVGTransformData(n,n.o,t);return this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.createShapeElement=function(e,t,n){var a=4;"rc"===e.ty?a=5:"el"===e.ty?a=6:"sr"===e.ty&&(a=7);var r=new SVGShapeData(t,n,ShapePropertyFactory.getShapeProp(this,e,a,this));return this.shapes.push(r),this.addShapeToModifiers(r),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var n=0,a=this.animatedContents.length;n<a;){if(this.animatedContents[n].element===t)return;n+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,n=e.styles,a=this.stylesList.length;for(t=0;t<a;t+=1)this.stylesList[t].closed||n.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,n,a,r,o,i){var l,s,d,c,u,h,p=[].concat(o),f=e.length-1,m=[],g=[];for(l=f;l>=0;l-=1){if((h=this.searchProcessedElement(e[l]))?t[l]=n[h-1]:e[l]._render=i,"fl"===e[l].ty||"st"===e[l].ty||"gf"===e[l].ty||"gs"===e[l].ty||"no"===e[l].ty)h?t[l].style.closed=!1:t[l]=this.createStyleElement(e[l],r),e[l]._render&&t[l].style.pElem.parentNode!==a&&a.appendChild(t[l].style.pElem),m.push(t[l].style);else if("gr"===e[l].ty){if(h)for(d=t[l].it.length,s=0;s<d;s+=1)t[l].prevViewData[s]=t[l].it[s];else t[l]=this.createGroupElement(e[l]);this.searchShapes(e[l].it,t[l].it,t[l].prevViewData,t[l].gr,r+1,p,i),e[l]._render&&t[l].gr.parentNode!==a&&a.appendChild(t[l].gr)}else"tr"===e[l].ty?(h||(t[l]=this.createTransformElement(e[l],a)),c=t[l].transform,p.push(c)):"sh"===e[l].ty||"rc"===e[l].ty||"el"===e[l].ty||"sr"===e[l].ty?(h||(t[l]=this.createShapeElement(e[l],p,r)),this.setElementStyles(t[l])):"tm"===e[l].ty||"rd"===e[l].ty||"ms"===e[l].ty||"pb"===e[l].ty||"zz"===e[l].ty||"op"===e[l].ty?(h?(u=t[l]).closed=!1:((u=ShapeModifiers.getModifier(e[l].ty)).init(this,e[l]),t[l]=u,this.shapeModifiers.push(u)),g.push(u)):"rp"===e[l].ty&&(h?(u=t[l]).closed=!0:(u=ShapeModifiers.getModifier(e[l].ty),t[l]=u,u.init(this,e,l,t),this.shapeModifiers.push(u),i=!1),g.push(u));this.addProcessedElement(e[l],l+1)}for(f=m.length,l=0;l<f;l+=1)m[l].closed=!0;for(f=g.length,l=0;l<f;l+=1)g[l].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,n=this.animatedContents.length;for(e=0;e<n;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,n,a,r,o){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 i=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,i=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,i=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,i=!0),this.fc!==a&&(this.fc=a,this._mdf.fc=!0,i=!0),this.m!==r&&(this.m=r,this._mdf.m=!0,i=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,i=!0),i},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);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,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var a;this.lock=!0,this._mdf=!1;var r=this.effectsSequence.length,o=e||this.data.d.k[this.keysIndex].s;for(a=0;a<r;a+=1)o=n!==this.keysIndex?this.effectsSequence[a](o,o.t):this.effectsSequence[a](this.currentData,o.t);t!==o&&this.setCurrentData(o),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,n=0,a=e.length;n<=a-1&&!(n===a-1||e[n+1].t>t);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,n,a=[],r=0,o=e.length,i=!1;r<o;)t=e.charCodeAt(r),FontManager.isCombinedCharacter(t)?a[a.length-1]+=e.charAt(r):t>=55296&&t<=56319?(n=e.charCodeAt(r+1))>=56320&&n<=57343?(i||FontManager.isModifier(t,n)?(a[a.length-1]+=e.substr(r,2),i=!1):a.push(e.substr(r,2)),r+=1):a.push(e.charAt(r)):t>56319?(n=e.charCodeAt(r+1),FontManager.isZeroWidthJoiner(t,n)?(i=!0,a[a.length-1]+=e.substr(r,2),r+=1):a.push(e.charAt(r))):FontManager.isZeroWidthJoiner(t)?(a[a.length-1]+=e.charAt(r),i=!0):a.push(e.charAt(r)),r+=1;return a},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,n,a,r,o,i,l,s=this.elem.globalData.fontManager,d=this.data,c=[],u=0,h=d.m.g,p=0,f=0,m=0,g=[],y=0,v=0,_=s.getFontByName(e.f),b=0,x=getFontProperties(_);e.fWeight=x.weight,e.fStyle=x.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),n=e.finalText.length,e.finalLineHeight=e.lh;var k,E=e.tr/1e3*e.finalSize;if(e.sz)for(var M,S,w=!0,$=e.sz[0],R=e.sz[1];w;){M=0,y=0,n=(S=this.buildFinalText(e.t)).length,E=e.tr/1e3*e.finalSize;var C=-1;for(t=0;t<n;t+=1)k=S[t].charCodeAt(0),a=!1," "===S[t]?C=t:13!==k&&3!==k||(y=0,a=!0,M+=e.finalLineHeight||1.2*e.finalSize),s.chars?(l=s.getCharData(S[t],_.fStyle,_.fFamily),b=a?0:l.w*e.finalSize/100):b=s.measureText(S[t],e.f,e.finalSize),y+b>$&&" "!==S[t]?(-1===C?n+=1:t=C,M+=e.finalLineHeight||1.2*e.finalSize,S.splice(t,C===t?1:0,"\r"),C=-1,y=0):(y+=b,y+=E);M+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&R<M?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=S,n=e.finalText.length,w=!1)}y=-E,b=0;var P,T=0;for(t=0;t<n;t+=1)if(a=!1,13===(k=(P=e.finalText[t]).charCodeAt(0))||3===k?(T=0,g.push(y),v=y>v?y:v,y=-2*E,r="",a=!0,m+=1):r=P,s.chars?(l=s.getCharData(P,_.fStyle,s.getFontByName(e.f).fFamily),b=a?0:l.w*e.finalSize/100):b=s.measureText(r,e.f,e.finalSize)," "===P?T+=b+E:(y+=b+E+T,T=0),c.push({l:b,an:b,add:p,n:a,anIndexes:[],val:r,line:m,animatorJustifyOffset:0}),2==h){if(p+=b,""===r||" "===r||t===n-1){for(""!==r&&" "!==r||(p-=b);f<=t;)c[f].an=p,c[f].ind=u,c[f].extra=b,f+=1;u+=1,p=0}}else if(3==h){if(p+=b,""===r||t===n-1){for(""===r&&(p-=b);f<=t;)c[f].an=p,c[f].ind=u,c[f].extra=b,f+=1;p=0,u+=1}}else c[u].ind=u,c[u].extra=0,u+=1;if(e.l=c,v=y>v?y:v,g.push(y),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=v,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=g;var L,A,I,N,F=d.a;i=F.length;var z=[];for(o=0;o<i;o+=1){for((L=F[o]).a.sc&&(e.strokeColorAnim=!0),L.a.sw&&(e.strokeWidthAnim=!0),(L.a.fc||L.a.fh||L.a.fs||L.a.fb)&&(e.fillColorAnim=!0),N=0,I=L.s.b,t=0;t<n;t+=1)(A=c[t]).anIndexes[o]=N,(1==I&&""!==A.val||2==I&&""!==A.val&&" "!==A.val||3==I&&(A.n||" "==A.val||t==n-1)||4==I&&(A.n||t==n-1))&&(1===L.s.rn&&z.push(N),N+=1);d.a[o].s.totalChars=N;var D,O=-1;if(1===L.s.rn)for(t=0;t<n;t+=1)O!=(A=c[t]).anIndexes[o]&&(O=A.anIndexes[o],D=z.splice(Math.floor(Math.random()*z.length),1)[0]),A.anIndexes[o]=D}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var n=this.copyData({},this.data.d.k[t].s);n=this.copyData(n,e),this.data.d.k[t].s=n,this.recalculate(t),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,n=Math.floor;function a(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 a.prototype={getMult:function(a){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var r=0,o=0,i=1,l=1;this.ne.v>0?r=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?i=1-this.xe.v/100:l=1+this.xe.v/100;var s=BezierFactory.getBezierEasing(r,o,i,l).get,d=0,c=this.finalS,u=this.finalE,h=this.data.sh;if(2===h)d=s(d=u===c?a>=u?1:0:e(0,t(.5/(u-c)+(a-c)/(u-c),1)));else if(3===h)d=s(d=u===c?a>=u?0:1:1-e(0,t(.5/(u-c)+(a-c)/(u-c),1)));else if(4===h)u===c?d=0:(d=e(0,t(.5/(u-c)+(a-c)/(u-c),1)))<.5?d*=2:d=1-2*(d-.5),d=s(d);else if(5===h){if(u===c)d=0;else{var p=u-c,f=-p/2+(a=t(e(0,a+.5-c),u-c)),m=p/2;d=Math.sqrt(1-f*f/(m*m))}d=s(d)}else 6===h?(u===c?d=0:(a=t(e(0,a+.5-c),u-c),d=(1+Math.cos(Math.PI+2*Math.PI*a/(u-c)))/2),d=s(d)):(a>=n(c)&&(d=e(0,t(a-c<0?t(u,1)-(c-a):u-a,1))),d=s(d));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;d<y?d=0:(d=(d-y)/g)>1&&(d=1)}return d*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,n=this.o.v/t,a=this.s.v/t+n,r=this.e.v/t+n;if(a>r){var o=a;a=r,r=o}this.finalS=a,this.finalE=r}},extendPrototype([DynamicPropertyContainer],a),{getTextSelectorProp:function(e,t,n){return new a(e,t)}}}();function TextAnimatorDataProperty(e,t,n){var a={propType:!1},r=PropertyFactory.getProp,o=t.a;this.a={r:o.r?r(e,o.r,0,degToRads,n):a,rx:o.rx?r(e,o.rx,0,degToRads,n):a,ry:o.ry?r(e,o.ry,0,degToRads,n):a,sk:o.sk?r(e,o.sk,0,degToRads,n):a,sa:o.sa?r(e,o.sa,0,degToRads,n):a,s:o.s?r(e,o.s,1,.01,n):a,a:o.a?r(e,o.a,1,0,n):a,o:o.o?r(e,o.o,0,.01,n):a,p:o.p?r(e,o.p,1,0,n):a,sw:o.sw?r(e,o.sw,0,0,n):a,sc:o.sc?r(e,o.sc,1,0,n):a,fc:o.fc?r(e,o.fc,1,0,n):a,fh:o.fh?r(e,o.fh,0,0,n):a,fs:o.fs?r(e,o.fs,0,.01,n):a,fb:o.fb?r(e,o.fb,0,.01,n):a,t:o.t?r(e,o.t,0,0,n):a},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,n),this.s.t=t.s.t}function TextAnimatorProperty(e,t,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,n=this._textData.a.length,a=PropertyFactory.getProp;for(e=0;e<n;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:a(this._elem,this._textData.p.a,0,0,this),f:a(this._elem,this._textData.p.f,0,0,this),l:a(this._elem,this._textData.p.l,0,0,this),r:a(this._elem,this._textData.p.r,0,0,this),p:a(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=a(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 n,a,r,o,i,l,s,d,c,u,h,p,f,m,g,y,v,_,b,x=this._moreOptions.alignment.v,k=this._animatorsData,E=this._textData,M=this.mHelper,S=this._renderType,w=this.renderedLetters.length,$=e.l;if(this._hasMaskedPath){if(b=this._pathData.m,!this._pathData.n||this._pathData._mdf){var R,C=b.v;for(this._pathData.r.v&&(C=C.reverse()),i={tLength:0,segments:[]},o=C._length-1,y=0,r=0;r<o;r+=1)R=bez.buildBezierData(C.v[r],C.v[r+1],[C.o[r][0]-C.v[r][0],C.o[r][1]-C.v[r][1]],[C.i[r+1][0]-C.v[r+1][0],C.i[r+1][1]-C.v[r+1][1]]),i.tLength+=R.segmentLength,i.segments.push(R),y+=R.segmentLength;r=o,b.v.c&&(R=bez.buildBezierData(C.v[r],C.v[0],[C.o[r][0]-C.v[r][0],C.o[r][1]-C.v[r][1]],[C.i[0][0]-C.v[0][0],C.i[0][1]-C.v[0][1]]),i.tLength+=R.segmentLength,i.segments.push(R),y+=R.segmentLength),this._pathData.pi=i}if(i=this._pathData.pi,l=this._pathData.f.v,h=0,u=1,d=0,c=!0,m=i.segments,l<0&&b.v.c)for(i.tLength<Math.abs(l)&&(l=-Math.abs(l)%i.tLength),u=(f=m[h=m.length-1].points).length-1;l<0;)l+=f[u].partialLength,(u-=1)<0&&(u=(f=m[h-=1].points).length-1);p=(f=m[h].points)[u-1],g=(s=f[u]).partialLength}o=$.length,n=0,a=0;var P,T,L,A,I,N=1.2*e.finalSize*.714,F=!0;L=k.length;var z,D,O,H,V,j,B,U,G,q,W,Y,Z=-1,K=l,X=h,Q=u,J=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var ne=0,ae=0,re=2===e.j?-.5:-1,oe=0,ie=!0;for(r=0;r<o;r+=1)if($[r].n){for(ne&&(ne+=ae);oe<r;)$[oe].animatorJustifyOffset=ne,oe+=1;ne=0,ie=!0}else{for(T=0;T<L;T+=1)(P=k[T].a).t.propType&&(ie&&2===e.j&&(ae+=P.t.v*re),(I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars)).length?ne+=P.t.v*I[0]*re:ne+=P.t.v*I*re);ie=!1}for(ne&&(ne+=ae);oe<r;)$[oe].animatorJustifyOffset=ne,oe+=1}for(r=0;r<o;r+=1){if(M.reset(),H=1,$[r].n)n=0,a+=e.yOffset,a+=F?1:0,l=K,F=!1,this._hasMaskedPath&&(u=Q,p=(f=m[h=X].points)[u-1],g=(s=f[u]).partialLength,d=0),ee="",W="",G="",Y="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==$[r].line){switch(e.j){case 1:l+=y-e.lineWidths[$[r].line];break;case 2:l+=(y-e.lineWidths[$[r].line])/2}J=$[r].line}Z!==$[r].ind&&($[Z]&&(l+=$[Z].extra),l+=$[r].an/2,Z=$[r].ind),l+=x[0]*$[r].an*.005;var le=0;for(T=0;T<L;T+=1)(P=k[T].a).p.propType&&((I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars)).length?le+=P.p.v[0]*I[0]:le+=P.p.v[0]*I),P.a.propType&&((I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars)).length?le+=P.a.v[0]*I[0]:le+=P.a.v[0]*I);for(c=!0,this._pathData.a.v&&(l=.5*$[0].an+(y-this._pathData.f.v-.5*$[0].an-.5*$[$.length-1].an)*Z/(o-1),l+=this._pathData.f.v);c;)d+g>=l+le||!f?(v=(l+le-d)/s.partialLength,D=p.point[0]+(s.point[0]-p.point[0])*v,O=p.point[1]+(s.point[1]-p.point[1])*v,M.translate(-x[0]*$[r].an*.005,-x[1]*N*.01),c=!1):f&&(d+=s.partialLength,(u+=1)>=f.length&&(u=0,m[h+=1]?f=m[h].points:b.v.c?(u=0,f=m[h=0].points):(d-=s.partialLength,f=null)),f&&(p=s,g=(s=f[u]).partialLength));z=$[r].an/2-$[r].add,M.translate(-z,0,0)}else z=$[r].an/2-$[r].add,M.translate(-z,0,0),M.translate(-x[0]*$[r].an*.005,-x[1]*N*.01,0);for(T=0;T<L;T+=1)(P=k[T].a).t.propType&&(I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars),0===n&&0===e.j||(this._hasMaskedPath?I.length?l+=P.t.v*I[0]:l+=P.t.v*I:I.length?n+=P.t.v*I[0]:n+=P.t.v*I));for(e.strokeWidthAnim&&(j=e.sw||0),e.strokeColorAnim&&(V=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(B=[e.fc[0],e.fc[1],e.fc[2]]),T=0;T<L;T+=1)(P=k[T].a).a.propType&&((I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars)).length?M.translate(-P.a.v[0]*I[0],-P.a.v[1]*I[1],P.a.v[2]*I[2]):M.translate(-P.a.v[0]*I,-P.a.v[1]*I,P.a.v[2]*I));for(T=0;T<L;T+=1)(P=k[T].a).s.propType&&((I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars)).length?M.scale(1+(P.s.v[0]-1)*I[0],1+(P.s.v[1]-1)*I[1],1):M.scale(1+(P.s.v[0]-1)*I,1+(P.s.v[1]-1)*I,1));for(T=0;T<L;T+=1){if(P=k[T].a,I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars),P.sk.propType&&(I.length?M.skewFromAxis(-P.sk.v*I[0],P.sa.v*I[1]):M.skewFromAxis(-P.sk.v*I,P.sa.v*I)),P.r.propType&&(I.length?M.rotateZ(-P.r.v*I[2]):M.rotateZ(-P.r.v*I)),P.ry.propType&&(I.length?M.rotateY(P.ry.v*I[1]):M.rotateY(P.ry.v*I)),P.rx.propType&&(I.length?M.rotateX(P.rx.v*I[0]):M.rotateX(P.rx.v*I)),P.o.propType&&(I.length?H+=(P.o.v*I[0]-H)*I[0]:H+=(P.o.v*I-H)*I),e.strokeWidthAnim&&P.sw.propType&&(I.length?j+=P.sw.v*I[0]:j+=P.sw.v*I),e.strokeColorAnim&&P.sc.propType)for(U=0;U<3;U+=1)I.length?V[U]+=(P.sc.v[U]-V[U])*I[0]:V[U]+=(P.sc.v[U]-V[U])*I;if(e.fillColorAnim&&e.fc){if(P.fc.propType)for(U=0;U<3;U+=1)I.length?B[U]+=(P.fc.v[U]-B[U])*I[0]:B[U]+=(P.fc.v[U]-B[U])*I;P.fh.propType&&(B=I.length?addHueToRGB(B,P.fh.v*I[0]):addHueToRGB(B,P.fh.v*I)),P.fs.propType&&(B=I.length?addSaturationToRGB(B,P.fs.v*I[0]):addSaturationToRGB(B,P.fs.v*I)),P.fb.propType&&(B=I.length?addBrightnessToRGB(B,P.fb.v*I[0]):addBrightnessToRGB(B,P.fb.v*I))}}for(T=0;T<L;T+=1)(P=k[T].a).p.propType&&(I=k[T].s.getMult($[r].anIndexes[T],E.a[T].s.totalChars),this._hasMaskedPath?I.length?M.translate(0,P.p.v[1]*I[0],-P.p.v[2]*I[1]):M.translate(0,P.p.v[1]*I,-P.p.v[2]*I):I.length?M.translate(P.p.v[0]*I[0],P.p.v[1]*I[1],-P.p.v[2]*I[2]):M.translate(P.p.v[0]*I,P.p.v[1]*I,-P.p.v[2]*I));if(e.strokeWidthAnim&&(G=j<0?0:j),e.strokeColorAnim&&(q="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),e.fillColorAnim&&e.fc&&(W="rgb("+Math.round(255*B[0])+","+Math.round(255*B[1])+","+Math.round(255*B[2])+")"),this._hasMaskedPath){if(M.translate(0,-e.ls),M.translate(0,x[1]*N*.01+a,0),this._pathData.p.v){_=(s.point[1]-p.point[1])/(s.point[0]-p.point[0]);var se=180*Math.atan(_)/Math.PI;s.point[0]<p.point[0]&&(se+=180),M.rotate(-se*Math.PI/180)}M.translate(D,O,0),l-=x[0]*$[r].an*.005,$[r+1]&&Z!==$[r+1].ind&&(l+=$[r].an/2,l+=.001*e.tr*e.finalSize)}else{switch(M.translate(n,a,0),e.ps&&M.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:M.translate($[r].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[$[r].line]),0,0);break;case 2:M.translate($[r].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[$[r].line])/2,0,0)}M.translate(0,-e.ls),M.translate(z,0,0),M.translate(x[0]*$[r].an*.005,x[1]*N*.01,0),n+=$[r].l+.001*e.tr*e.finalSize}"html"===S?ee=M.toCSS():"svg"===S?ee=M.to2dCSS():te=[M.props[0],M.props[1],M.props[2],M.props[3],M.props[4],M.props[5],M.props[6],M.props[7],M.props[8],M.props[9],M.props[10],M.props[11],M.props[12],M.props[13],M.props[14],M.props[15]],Y=H}w<=r?(A=new LetterProps(Y,G,q,W,ee,te),this.renderedLetters.push(A),w+=1,this.lettersChangedFlag=!0):(A=this.renderedLetters[r],this.lettersChangedFlag=A.update(Y,G,q,W,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,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,n),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,n),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),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var n,a,r=t.length,o="";for(n=0;n<r;n+=1)"sh"===t[n].ty&&(a=t[n].ks.k,o+=buildShapeString(a,a.i.length,!0,e));return o},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,n,a,r){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[n]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[n])/2,0,0)}t.translate(a,r,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(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,n){this.textSpans=[],this.renderType="svg",this.initElement(e,t,n)}function ISolidElement(e,t,n){this.initElement(e,t,n)}function NullElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initFrame(),this.initTransform(e,t,n),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,n){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,n),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 n="";if(t&&t.title){var a=createNS("title"),r=createElementID();a.setAttribute("id",r),a.textContent=t.title,this.svgElement.appendChild(a),n+=r}if(t&&t.description){var o=createNS("desc"),i=createElementID();o.setAttribute("id",i),o.textContent=t.description,this.svgElement.appendChild(o),n+=" "+i}n&&this.svgElement.setAttribute("aria-labelledby",n);var l=createNS("defs");this.svgElement.appendChild(l);var s=createNS("g");this.svgElement.appendChild(s),this.layerElement=s,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:l,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var e;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}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,n=e.length,a=[],r="";t<n;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(a.push(r),r=""):r+=e[t],t+=1;return a.push(r),a},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var n=e.shapes[0];if(n.it){var a=n.it[n.it.length-1];a.s&&(a.s.k[0]=t,a.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var n=this.textProperty.currentData;this.renderedLetters=createSizedArray(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var a=this.globalData.fontManager.getFontByName(n.f);if(a.fClass)this.layerElement.setAttribute("class",a.fClass);else{this.layerElement.setAttribute("font-family",a.fFamily);var r=n.fWeight,o=n.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",r)}this.layerElement.setAttribute("aria-label",n.t);var i,l=n.l||[],s=!!this.globalData.fontManager.chars;t=l.length;var d=this.mHelper,c=this.data.singleShape,u=0,h=0,p=!0,f=.001*n.tr*n.finalSize;if(!c||s||n.sz){var m,g=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!s||!c||0===e){if(i=g>e?this.textSpans[e].span:createNS(s?"g":"text"),g<=e){if(i.setAttribute("stroke-linecap","butt"),i.setAttribute("stroke-linejoin","round"),i.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=i,s){var y=createNS("g");i.appendChild(y),this.textSpans[e].childSpan=y}this.textSpans[e].span=i,this.layerElement.appendChild(i)}i.style.display="inherit"}if(d.reset(),c&&(l[e].n&&(u=-f,h+=n.yOffset,h+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(n,d,l[e].line,u,h),u+=l[e].l||0,u+=f),s){var v;if(1===(m=this.globalData.fontManager.getCharData(n.finalText[e],a.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var _=emptyShapeData;m.data&&m.data.shapes&&(_=this.buildShapeData(m.data,n.finalSize)),v=new SVGShapeElement(_,this.globalData,this)}if(this.textSpans[e].glyph){var b=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(b.layerElement),b.destroy()}this.textSpans[e].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[e].childSpan.appendChild(v.layerElement),1===m.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else c&&i.setAttribute("transform","translate("+d.props[12]+","+d.props[13]+")"),i.textContent=l[e].val,i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}c&&i&&i.setAttribute("d","")}else{var x=this.textContainer,k="start";switch(n.j){case 1:k="end";break;case 2:k="middle";break;default:k="start"}x.setAttribute("text-anchor",k),x.setAttribute("letter-spacing",f);var E=this.buildTextContents(n.finalText);for(t=E.length,h=n.ps?n.ps[1]+n.ascent:0,e=0;e<t;e+=1)(i=this.textSpans[e].span||createNS("tspan")).textContent=E[e],i.setAttribute("x",0),i.setAttribute("y",h),i.style.display="inherit",x.appendChild(i),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=i,h+=n.finalLineHeight;this.layerElement.appendChild(x)}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,n=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<n;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.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var n,a,r,o=this.textAnimator.renderedLetters,i=this.textProperty.currentData.l;for(t=i.length,e=0;e<t;e+=1)i[e].n||(n=o[e],a=this.textSpans[e].span,(r=this.textSpans[e].glyph)&&r.renderFrame(),n._mdf.m&&a.setAttribute("transform",n.m),n._mdf.o&&a.setAttribute("opacity",n.o),n._mdf.sw&&a.setAttribute("stroke-width",n.sw),n._mdf.sc&&a.setAttribute("stroke",n.sc),n._mdf.fc&&a.setAttribute("fill",n.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 n=createNS("clipPath"),a=createNS("rect");a.setAttribute("width",e.w),a.setAttribute("height",e.h),a.setAttribute("x",0),a.setAttribute("y",0);var r=createElementID();n.setAttribute("id",r),n.appendChild(a),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+r+")"),t.appendChild(n),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.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,n=this.layers.length;for(t=0;t<n;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 n=this.createItem(this.layers[e]);if(t[e]=n,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,e),this.layers[e].tt){var a="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(-1===a)return;if(this.elements[a]&&!0!==this.elements[a]){var r=t[a].getMatte(this.layers[e].tt);n.setMatte(r)}else this.buildItem(a),this.addPendingElement(n)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,n=this.elements.length;t<n;){if(this.elements[t]===e){var a="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,r=this.elements[a].getMatte(this.layers[t].tt);e.setMatte(r);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 n=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=n-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<n;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var n=e.getBaseElement();if(n){for(var a,r=0;r<t;)this.elements[r]&&!0!==this.elements[r]&&this.elements[r].getBaseElement()&&(a=this.elements[r].getBaseElement()),r+=1;a?this.layerElement.insertBefore(n,a):this.layerElement.appendChild(n)}},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,n){this.initFrame(),this.initBaseData(e,t,n),this.initTransform(e,t,n),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 n,a=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=a-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._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)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var n=0;for(n=this._length;n<e;n+=1)this.saved[n]=createTypedArray("float32",16);this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVContextData.prototype.popTransform=function(){var e,t=this.saved[this.cArrPos],n=this.cTr.props;for(e=0;e<16;e+=1)n[e]=t[e];return t},CVContextData.prototype.popOpacity=function(){var e=this.savedOp[this.cArrPos];return this.cO=e,e},CVContextData.prototype.pop=function(){return this.cArrPos-=1,{transform:this.popTransform(),opacity:this.popOpacity()}},CVContextData.prototype.push=function(){var e,t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var n=this.saved[this.cArrPos];for(e=0;e<16;e+=1)n[e]=t[e];this.savedOp[this.cArrPos]=this.cO,this.cArrPos+=1},CVContextData.prototype.getTransform=function(){return this.cTr},CVContextData.prototype.getOpacity=function(){return this.cO},CVContextData.prototype.setOpacity=function(e){this.cO=e},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,n=e.length,a="_";for(t=0;t<n;t+=1)a+=e[t].transform.key+"_";var r=this.sequences[a];return r||(r={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[a]=r,this.sequenceList.push(r)),r},processSequence:function(e,t){for(var n,a=0,r=e.transforms.length,o=t;a<r&&!t;){if(e.transforms[a].transform.mProps._mdf){o=!0;break}a+=1}if(o)for(e.finalTransform.reset(),a=r-1;a>=0;a-=1)n=e.transforms[a].transform.mProps.v.props,e.finalTransform.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]);e._mdf=o},processSequences:function(e){var t,n=this.sequenceList.length;for(t=0;t<n;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,n=null,a=null;function r(){var r,o,i;t||(r=createNS("svg"),o=createNS("filter"),i=createNS("feColorMatrix"),o.setAttribute("id",e),i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),o.appendChild(i),r.appendChild(o),r.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(r.style.display="none"),a=r,document.body.appendChild(a),t=createTag("canvas"),(n=t.getContext("2d")).filter="url(#"+e+")",n.fillStyle="rgba(0,0,0,0)",n.fillRect(0,0,1,1))}return{load:r,get:function(a){return t||r(),t.width=a.width,t.height=a.height,n.filter="url(#"+e+")",t}}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var n=createTag("canvas");return n.width=e,n.height=t,n}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas};function CVEffects(){}function CVMaskElement(e,t){var n;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var a=this.masksProperties.length,r=!1;for(n=0;n<a;n+=1)"n"!==this.masksProperties[n].mode&&(r=!0),this.viewData[n]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[n],3);this.hasMasks=r,r&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,n,a,r=this.element.finalTransform.mat,o=this.element.canvasContext,i=this.masksProperties.length;for(o.beginPath(),e=0;e<i;e+=1)if("n"!==this.masksProperties[e].mode){var l;this.masksProperties[e].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),a=this.viewData[e].v,t=r.applyToPointArray(a.v[0][0],a.v[0][1],0),o.moveTo(t[0],t[1]);var s=a._length;for(l=1;l<s;l+=1)n=r.applyToTriplePoints(a.o[l-1],a.i[l],a.v[l]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);n=r.applyToTriplePoints(a.o[l-1],a.i[0],a.v[0]),o.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5])}this.element.globalData.renderer.save(!0),o.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,n,a){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var r,o=4;"rc"===t.ty?o=5:"el"===t.ty?o=6:"sr"===t.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,o,e);var i,l=n.length;for(r=0;r<l;r+=1)n[r].closed||(i={transforms:a.addTransformSequence(n[r].transforms),trNodes:[]},this.styledShapes.push(i),n[r].elements.push(i))}function CVShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,n)}function CVTextElement(e,t,n){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,n)}function CVImageElement(e,t,n){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,n)}function CVSolidElement(e,t,n){this.initElement(e,t,n)}function CanvasRendererBase(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||""},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"}function CVCompElement(e,t,n){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,n),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"}function HBaseElement(){}function HSolidElement(e,t,n){this.initElement(e,t,n)}function HShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,n),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,n){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,n)}function HCameraElement(e,t,n){this.initFrame(),this.initBaseData(e,t,n),this.initHierarchy();var a=PropertyFactory.getProp;if(this.pe=a(this,e.pe,0,0,this),e.ks.p.s?(this.px=a(this,e.ks.p.x,1,0,this),this.py=a(this,e.ks.p.y,1,0,this),this.pz=a(this,e.ks.p.z,1,0,this)):this.p=a(this,e.ks.p,1,0,this),e.ks.a&&(this.a=a(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var r,o=e.ks.or.k.length;for(r=0;r<o;r+=1)e.ks.or.k[r].to=null,e.ks.or.k[r].ti=null}this.or=a(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=a(this,e.ks.rx,0,degToRads,this),this.ry=a(this,e.ks.ry,0,degToRads,this),this.rz=a(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,n){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,n)}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,n){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,n),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 n=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(n),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects},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)},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 n=assetLoader.getLumaCanvas(this.canvasContext.canvas);n.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,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.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.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 n={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},a={};if("fl"===e.ty||"st"===e.ty?(a.c=PropertyFactory.getProp(this,e.c,1,255,this),a.c.k||(n.co="rgb("+bmFloor(a.c.v[0])+","+bmFloor(a.c.v[1])+","+bmFloor(a.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(a.s=PropertyFactory.getProp(this,e.s,1,null,this),a.e=PropertyFactory.getProp(this,e.e,1,null,this),a.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),a.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),a.g=new GradientProperty(this,e.g,this)),a.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(n.lc=lineCapEnum[e.lc||2],n.lj=lineJoinEnum[e.lj||2],1==e.lj&&(n.ml=e.ml),a.w=PropertyFactory.getProp(this,e.w,0,null,this),a.w.k||(n.wi=a.w.v),e.d){var r=new DashProperty(this,e.d,"canvas",this);a.d=r,a.d.k||(n.da=a.d.dashArray,n.do=a.d.dashoffset[0])}}else n.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(n),a.style=n,a},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,n=this.stylesList.length;for(t=0;t<n;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,n=e.length;for(t=0;t<n;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,n,a,r){var o,i,l,s,d,c,u=e.length-1,h=[],p=[],f=[].concat(r);for(o=u;o>=0;o-=1){if((s=this.searchProcessedElement(e[o]))?t[o]=n[s-1]:e[o]._shouldRender=a,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty)s?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],f),h.push(t[o].style);else if("gr"===e[o].ty){if(s)for(l=t[o].it.length,i=0;i<l;i+=1)t[o].prevViewData[i]=t[o].it[i];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,a,f)}else"tr"===e[o].ty?(s||(c=this.createTransformElement(e[o]),t[o]=c),f.push(t[o]),this.addTransformToStyleList(t[o])):"sh"===e[o].ty||"rc"===e[o].ty||"el"===e[o].ty||"sr"===e[o].ty?s||(t[o]=this.createShapeElement(e[o])):"tm"===e[o].ty||"rd"===e[o].ty||"pb"===e[o].ty||"zz"===e[o].ty||"op"===e[o].ty?(s?(d=t[o]).closed=!1:((d=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=d,this.shapeModifiers.push(d)),p.push(d)):"rp"===e[o].ty&&(s?(d=t[o]).closed=!0:(d=ShapeModifiers.getModifier(e[o].ty),t[o]=d,d.init(this,e,o,t),this.shapeModifiers.push(d),a=!1),p.push(d));this.addProcessedElement(e[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(h),u=p.length,o=0;o<u;o+=1)p[o].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,n,a,r,o,i,l,s,d=this.stylesList.length,c=this.globalData.renderer,u=this.globalData.canvasContext;for(e=0;e<d;e+=1)if(("st"!==(l=(s=this.stylesList[e]).type)&&"gs"!==l||0!==s.wi)&&s.data._shouldRender&&0!==s.coOp&&0!==this.globalData.currentGlobalAlpha){for(c.save(),o=s.elements,"st"===l||"gs"===l?(u.strokeStyle="st"===l?s.co:s.grd,u.lineWidth=s.wi,u.lineCap=s.lc,u.lineJoin=s.lj,u.miterLimit=s.ml||0):u.fillStyle="fl"===l?s.co:s.grd,c.ctxOpacity(s.coOp),"st"!==l&&"gs"!==l&&u.beginPath(),c.ctxTransform(s.preTransforms.finalTransform.props),n=o.length,t=0;t<n;t+=1){for("st"!==l&&"gs"!==l||(u.beginPath(),s.da&&(u.setLineDash(s.da),u.lineDashOffset=s.do)),r=(i=o[t].trNodes).length,a=0;a<r;a+=1)"m"===i[a].t?u.moveTo(i[a].p[0],i[a].p[1]):"c"===i[a].t?u.bezierCurveTo(i[a].pts[0],i[a].pts[1],i[a].pts[2],i[a].pts[3],i[a].pts[4],i[a].pts[5]):u.closePath();"st"!==l&&"gs"!==l||(u.stroke(),s.da&&u.setLineDash(this.dashResetter))}"st"!==l&&"gs"!==l&&u.fill(s.r),c.restore()}},CVShapeElement.prototype.renderShape=function(e,t,n,a){var r,o;for(o=e,r=t.length-1;r>=0;r-=1)"tr"===t[r].ty?(o=n[r].transform,this.renderShapeTransform(e,o)):"sh"===t[r].ty||"el"===t[r].ty||"rc"===t[r].ty||"sr"===t[r].ty?this.renderPath(t[r],n[r]):"fl"===t[r].ty?this.renderFill(t[r],n[r],o):"st"===t[r].ty?this.renderStroke(t[r],n[r],o):"gf"===t[r].ty||"gs"===t[r].ty?this.renderGradientFill(t[r],n[r],o):"gr"===t[r].ty?this.renderShape(o,t[r].it,n[r].it):t[r].ty;a&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var n,a,r,o=e.trNodes,i=t.paths,l=i._length;o.length=0;var s=e.transforms.finalTransform;for(r=0;r<l;r+=1){var d=i.shapes[r];if(d&&d.v){for(a=d._length,n=1;n<a;n+=1)1===n&&o.push({t:"m",p:s.applyToPointArray(d.v[0][0],d.v[0][1],0)}),o.push({t:"c",pts:s.applyToTriplePoints(d.o[n-1],d.i[n],d.v[n])});1===a&&o.push({t:"m",p:s.applyToPointArray(d.v[0][0],d.v[0][1],0)}),d.c&&a&&(o.push({t:"c",pts:s.applyToTriplePoints(d.o[n-1],d.i[0],d.v[0])}),o.push({t:"z"}))}}e.trNodes=o}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var n,a=t.styledShapes.length;for(n=0;n<a;n+=1)this.renderStyledShape(t.styledShapes[n],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,n){var a=t.style;(t.c._mdf||this._isFirstFrame)&&(a.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(a.coOp=t.o.v*n.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,n){var a,r=t.style;if(!r.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var o,i=this.globalData.canvasContext,l=t.s.v,s=t.e.v;if(1===e.t)a=i.createLinearGradient(l[0],l[1],s[0],s[1]);else{var d=Math.sqrt(Math.pow(l[0]-s[0],2)+Math.pow(l[1]-s[1],2)),c=Math.atan2(s[1]-l[1],s[0]-l[0]),u=t.h.v;u>=1?u=.99:u<=-1&&(u=-.99);var h=d*u,p=Math.cos(c+t.a.v)*h+l[0],f=Math.sin(c+t.a.v)*h+l[1];a=i.createRadialGradient(p,f,0,l[0],l[1],d)}var m=e.g.p,g=t.g.c,y=1;for(o=0;o<m;o+=1)t.g._hasOpacity&&t.g._collapsable&&(y=t.g.o[2*o+1]),a.addColorStop(g[4*o]/100,"rgba("+g[4*o+1]+","+g[4*o+2]+","+g[4*o+3]+","+y+")");r.grd=a}r.coOp=t.o.v*n.opacity},CVShapeElement.prototype.renderStroke=function(e,t,n){var a=t.style,r=t.d;r&&(r._mdf||this._isFirstFrame)&&(a.da=r.dashArray,a.do=r.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(a.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n._opMdf||this._isFirstFrame)&&(a.coOp=t.o.v*n.opacity),(t.w._mdf||this._isFirstFrame)&&(a.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 n=!1;e.sc&&(n=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var a,r,o,i,l,s,d,c,u,h,p,f,m=this.globalData.fontManager.getFontByName(e.f),g=e.l,y=this.mHelper;this.stroke=n,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,r=e.finalText.length;var v=this.data.singleShape,_=.001*e.tr*e.finalSize,b=0,x=0,k=!0,E=0;for(a=0;a<r;a+=1){i=(o=this.globalData.fontManager.getCharData(e.finalText[a],m.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&o.data||{},y.reset(),v&&g[a].n&&(b=-_,x+=e.yOffset,x+=k?1:0,k=!1),u=(d=i.shapes?i.shapes[0].it:[]).length,y.scale(e.finalSize/100,e.finalSize/100),v&&this.applyTextPropertiesToMatrix(e,y,g[a].line,b,x),p=createSizedArray(u-1);var M=0;for(c=0;c<u;c+=1)if("sh"===d[c].ty){for(s=d[c].ks.k.i.length,h=d[c].ks.k,f=[],l=1;l<s;l+=1)1===l&&f.push(y.applyToX(h.v[0][0],h.v[0][1],0),y.applyToY(h.v[0][0],h.v[0][1],0)),f.push(y.applyToX(h.o[l-1][0],h.o[l-1][1],0),y.applyToY(h.o[l-1][0],h.o[l-1][1],0),y.applyToX(h.i[l][0],h.i[l][1],0),y.applyToY(h.i[l][0],h.i[l][1],0),y.applyToX(h.v[l][0],h.v[l][1],0),y.applyToY(h.v[l][0],h.v[l][1],0));f.push(y.applyToX(h.o[l-1][0],h.o[l-1][1],0),y.applyToY(h.o[l-1][0],h.o[l-1][1],0),y.applyToX(h.i[0][0],h.i[0][1],0),y.applyToY(h.i[0][0],h.i[0][1],0),y.applyToX(h.v[0][0],h.v[0][1],0),y.applyToY(h.v[0][0],h.v[0][1],0)),p[M]=f,M+=1}v&&(b+=g[a].l,b+=_),this.textSpans[E]?this.textSpans[E].elem=p:this.textSpans[E]={elem:p},E+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,n,a,r,o,i=this.canvasContext;i.font=this.values.fValue,i.lineCap="butt",i.lineJoin="miter",i.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var l,s=this.textAnimator.renderedLetters,d=this.textProperty.currentData.l;t=d.length;var c,u,h=null,p=null,f=null;for(e=0;e<t;e+=1)if(!d[e].n){if((l=s[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(l.p),this.globalData.renderer.ctxOpacity(l.o)),this.fill){for(l&&l.fc?h!==l.fc&&(h=l.fc,i.fillStyle=l.fc):h!==this.values.fill&&(h=this.values.fill,i.fillStyle=this.values.fill),a=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<a;n+=1)for(o=(u=c[n]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),r=2;r<o;r+=6)this.globalData.canvasContext.bezierCurveTo(u[r],u[r+1],u[r+2],u[r+3],u[r+4],u[r+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(l&&l.sw?f!==l.sw&&(f=l.sw,i.lineWidth=l.sw):f!==this.values.sWidth&&(f=this.values.sWidth,i.lineWidth=this.values.sWidth),l&&l.sc?p!==l.sc&&(p=l.sc,i.strokeStyle=l.sc):p!==this.values.stroke&&(p=this.values.stroke,i.strokeStyle=this.values.stroke),a=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),n=0;n<a;n+=1)for(o=(u=c[n]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),r=2;r<o;r+=6)this.globalData.canvasContext.bezierCurveTo(u[r],u[r+1],u[r+2],u[r+3],u[r+4],u[r+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}l&&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,n,a=e.getContext("2d"),r=this.img.width,o=this.img.height,i=r/o,l=this.assetData.w/this.assetData.h,s=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;i>l&&"xMidYMid slice"===s||i<l&&"xMidYMid slice"!==s?t=(n=o)*l:n=(t=r)/l,a.drawImage(this.img,(r-t)/2,(o-n)/2,t,n,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(){var e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(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){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.getTransform(),n=t.props;this.transformMat.transform(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]),t.cloneFromProps(this.transformMat.props);var a=t.props;this.canvasContext.setTransform(a[0],a[1],a[4],a[5],a[12],a[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){var t=this.contextData.getOpacity();if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=t);t*=e<0?0:e,this.contextData.setOpacity(t),this.globalData.currentGlobalAlpha!==t&&(this.canvasContext.globalAlpha=t,this.globalData.currentGlobalAlpha=t)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(e){this.renderConfig.clearCanvas?(e&&this.canvasContext.save(),this.contextData.push()):this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over");var t=this.contextData.pop(),n=t.transform,a=t.opacity;this.canvasContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),this.globalData.currentGlobalAlpha!==a&&(this.canvasContext.globalAlpha=a,this.globalData.currentGlobalAlpha=a)}else 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 n="0px 0px 0px";t.transformOrigin=n,t.mozTransformOrigin=n,t.webkitTransformOrigin=n,t["-webkit-transform"]=n,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.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 n,a,r,o;if(this.reset(),e?(n=e,a=t,this.canvasContext.canvas.width=n,this.canvasContext.canvas.height=a):(this.animationItem.wrapper&&this.animationItem.container?(n=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight):(n=this.canvasContext.canvas.width,a=this.canvasContext.canvas.height),this.canvasContext.canvas.width=n*this.renderConfig.dpr,this.canvasContext.canvas.height=a*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var i=this.renderConfig.preserveAspectRatio.split(" "),l=i[1]||"meet",s=i[0]||"xMidYMid",d=s.substr(0,4),c=s.substr(4);r=n/a,(o=this.transformCanvas.w/this.transformCanvas.h)>r&&"meet"===l||o<r&&"slice"===l?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=a/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=a/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===d&&(o<r&&"meet"===l||o>r&&"slice"===l)?(n-this.transformCanvas.w*(a/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===d&&(o<r&&"meet"===l||o>r&&"slice"===l)?(n-this.transformCanvas.w*(a/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===c&&(o>r&&"meet"===l||o<r&&"slice"===l)?(a-this.transformCanvas.h*(n/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===c&&(o>r&&"meet"===l||o<r&&"slice"===l)?(a-this.transformCanvas.h*(n/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=n/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=a/(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.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 n;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 a=this.layers.length;for(this.completeLayers||this.checkLayers(e),n=0;n<a;n+=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(e-this.layers[n].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=a-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].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 n=this.createItem(this.layers[e],this,this.globalData);t[e]=n,n.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"},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.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 n,a=e.length;for(n=0;n<a;n+=1)t=e[n].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var n,a,r,o,i,l=e.sh.v,s=e.transformers,d=l._length;if(!(d<=1)){for(n=0;n<d-1;n+=1)a=this.getTransformedPoint(s,l.v[n]),r=this.getTransformedPoint(s,l.o[n]),o=this.getTransformedPoint(s,l.i[n+1]),i=this.getTransformedPoint(s,l.v[n+1]),this.checkBounds(a,r,o,i,t);l.c&&(a=this.getTransformedPoint(s,l.v[n]),r=this.getTransformedPoint(s,l.o[n]),o=this.getTransformedPoint(s,l.i[0]),i=this.getTransformedPoint(s,l.v[0]),this.checkBounds(a,r,o,i,t))}},HShapeElement.prototype.checkBounds=function(e,t,n,a,r){this.getBoundsOfCurve(e,t,n,a);var o=this.shapeBoundingBox;r.x=bmMin(o.left,r.x),r.xMax=bmMax(o.right,r.xMax),r.y=bmMin(o.top,r.y),r.yMax=bmMax(o.bottom,r.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,n,a){for(var r,o,i,l,s,d,c,u=[[e[0],a[0]],[e[1],a[1]]],h=0;h<2;++h)o=6*e[h]-12*t[h]+6*n[h],r=-3*e[h]+9*t[h]-9*n[h]+3*a[h],i=3*t[h]-3*e[h],o|=0,i|=0,0==(r|=0)&&0===o||(0===r?(l=-i/o)>0&&l<1&&u[h].push(this.calculateF(l,e,t,n,a,h)):(s=o*o-4*i*r)>=0&&((d=(-o+bmSqrt(s))/(2*r))>0&&d<1&&u[h].push(this.calculateF(d,e,t,n,a,h)),(c=(-o-bmSqrt(s))/(2*r))>0&&c<1&&u[h].push(this.calculateF(c,e,t,n,a,h))));this.shapeBoundingBox.left=bmMin.apply(null,u[0]),this.shapeBoundingBox.top=bmMin.apply(null,u[1]),this.shapeBoundingBox.right=bmMax.apply(null,u[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,u[1])},HShapeElement.prototype.calculateF=function(e,t,n,a,r,o){return bmPow(1-e,3)*t[o]+3*bmPow(1-e,2)*e*n[o]+3*(1-e)*bmPow(e,2)*a[o]+bmPow(e,3)*r[o]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var n,a=e.length;for(n=0;n<a;n+=1)e[n]&&e[n].sh?this.calculateShapeBoundingBox(e[n],t):e[n]&&e[n].it?this.calculateBoundingBox(e[n].it,t):e[n]&&e[n].style&&e[n].w&&this.expandStrokeBoundingBox(e[n].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var n=0;if(e.keyframes){for(var a=0;a<e.keyframes.length;a+=1){var r=e.keyframes[a].s;r>n&&(n=r)}n*=e.mult}else n=e.v*e.mult;t.x-=n,t.xMax+=n,t.y-=n,t.yMax+=n},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 n=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),n=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),n=!0),n||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 a=this.shapeCont.style,r="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";a.transform=r,a.webkitTransform=r}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,n=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=n,t.color=n,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var a,r,o=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{t.fontFamily=o.fFamily;var i=e.fWeight,l=e.fStyle;t.fontStyle=l,t.fontWeight=i}var s,d,c,u=e.l;r=u.length;var h,p=this.mHelper,f="",m=0;for(a=0;a<r;a+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?s=this.textPaths[m]:((s=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),s.setAttribute("stroke-linejoin",lineJoinEnum[2]),s.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?c=(d=this.textSpans[m]).children[0]:((d=createTag("div")).style.lineHeight=0,(c=createNS("svg")).appendChild(s),styleDiv(d)))):this.isMasked?s=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(d=this.textSpans[m],s=this.textPaths[m]):(styleDiv(d=createTag("span")),styleDiv(s=createTag("span")),d.appendChild(s)),this.globalData.fontManager.chars){var g,y=this.globalData.fontManager.getCharData(e.finalText[a],o.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(g=y?y.data:null,p.reset(),g&&g.shapes&&g.shapes.length&&(h=g.shapes[0].it,p.scale(e.finalSize/100,e.finalSize/100),f=this.createPathShape(p,h),s.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(s);else{if(this.innerElem.appendChild(d),g&&g.shapes){document.body.appendChild(c);var v=c.getBBox();c.setAttribute("width",v.width+2),c.setAttribute("height",v.height+2),c.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var _=c.style,b="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";_.transform=b,_.webkitTransform=b,u[a].yOffset=v.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);d.appendChild(c)}}else if(s.textContent=u[a].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(s);else{this.innerElem.appendChild(d);var x=s.style,k="translate3d(0,"+-e.finalSize/1.2+"px,0)";x.transform=k,x.webkitTransform=k}this.isMasked?this.textSpans[m]=s:this.textSpans[m]=d,this.textSpans[m].style.display="block",this.textPaths[m]=s,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var n,a,r,o,i,l=0,s=this.textAnimator.renderedLetters,d=this.textProperty.currentData.l;for(a=d.length,n=0;n<a;n+=1)d[n].n?l+=1:(o=this.textSpans[n],i=this.textPaths[n],r=s[l],l+=1,r._mdf.m&&(this.isMasked?o.setAttribute("transform",r.m):(o.style.webkitTransform=r.m,o.style.transform=r.m)),o.style.opacity=r.o,r.sw&&r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r.sc&&r._mdf.sc&&i.setAttribute("stroke",r.sc),r.fc&&r._mdf.fc&&(i.setAttribute("fill",r.fc),i.style.color=r.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var c=this.innerElem.getBBox();if(this.currentBBox.w!==c.width&&(this.currentBBox.w=c.width,this.svgElement.setAttribute("width",c.width)),this.currentBBox.h!==c.height&&(this.currentBBox.h=c.height,this.svgElement.setAttribute("height",c.height)),this.currentBBox.w!==c.width+2||this.currentBBox.h!==c.height+2||this.currentBBox.x!==c.x-1||this.currentBBox.y!==c.y-1){this.currentBBox.w=c.width+2,this.currentBBox.h=c.height+2,this.currentBBox.x=c.x-1,this.currentBBox.y=c.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=u,e.webkitTransform=u}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,n,a,r=this.comp.threeDElements.length;for(e=0;e<r;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){n=t.perspectiveElem.style,a=t.container.style;var o=this.pe.v+"px",i="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.perspective=o,n.webkitPerspective=o,a.transformOrigin="0px 0px 0px",a.mozTransformOrigin="0px 0px 0px",a.webkitTransformOrigin="0px 0px 0px",n.transform=i,n.webkitTransform=i}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,n=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)n=this.hierarchy[e].finalTransform.mProp._mdf||n;if(n||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 a=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-a.p.v[0],-a.p.v[1],a.p.v[2]),this.mat.rotateX(-a.or.v[0]).rotateY(-a.or.v[1]).rotateZ(a.or.v[2]),this.mat.rotateX(-a.rx.v).rotateY(-a.ry.v).rotateZ(a.rz.v),this.mat.scale(1/a.s.v[0],1/a.s.v[1],1/a.s.v[2]),this.mat.translate(a.a.v[0],a.a.v[1],a.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 r;r=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 o=Math.sqrt(Math.pow(r[0],2)+Math.pow(r[1],2)+Math.pow(r[2],2)),i=[r[0]/o,r[1]/o,r[2]/o],l=Math.sqrt(i[2]*i[2]+i[0]*i[0]),s=Math.atan2(i[1],l),d=Math.atan2(i[0],-i[2]);this.mat.rotateY(d).rotateX(-s)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var u,h,p;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(u=this.comp.threeDElements[e]).type){if(c){var f=this.mat.toCSS();(p=u.container.style).transform=f,p.webkitTransform=f}this.pe._mdf&&((h=u.perspectiveElem.style).perspective=this.pe.v+"px",h.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 n=e.getBaseElement();if(n){var a=this.layers[t];if(a.ddd&&this.supports3d)this.addTo3dContainer(n,t);else if(this.threeDElements)this.addTo3dContainer(n,t);else{for(var r,o,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement&&(o=this.elements[i],r=(this.layers[i].ddd?this.getThreeDContainerByPos(i):o.getBaseElement())||r),i+=1;r?a.ddd&&this.supports3d||this.layerElement.insertBefore(n,r):a.ddd&&this.supports3d||this.layerElement.appendChild(n)}}},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,n=this.threeDElements.length;t<n;){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 n,a,r=createTag("div");styleDiv(r);var o=createTag("div");if(styleDiv(o),"3d"===t){(n=r.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px",n.webkitTransformOrigin="50% 50%",n.mozTransformOrigin="50% 50%",n.transformOrigin="50% 50%";var i="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(a=o.style).transform=i,a.webkitTransform=i}r.appendChild(o);var l={container:o,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,n=this.layers.length,a="";for(e=0;e<n;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==a&&(a="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==a&&(a="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(n=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var n=0,a=this.threeDElements.length;n<a;){if(t<=this.threeDElements[n].endPos){for(var r,o=this.threeDElements[n].startPos;o<t;)this.elements[o]&&this.elements[o].getBaseElement&&(r=this.elements[o].getBaseElement()),o+=1;r?this.threeDElements[n].container.insertBefore(e,r):this.threeDElements[n].container.appendChild(e);break}n+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),n=this.animationItem.wrapper,a=t.style;a.width=e.w+"px",a.height=e.h+"px",this.resizerElem=t,styleDiv(t),a.transformStyle="flat",a.mozTransformStyle="flat",a.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),n.appendChild(t),a.overflow="hidden";var r=createNS("svg");r.setAttribute("width","1"),r.setAttribute("height","1"),styleDiv(r),this.resizerElem.appendChild(r);var o=createNS("defs");r.appendChild(o),this.data=e,this.setupGlobalData(e,r),this.globalData.defs=o,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].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,n,a,r=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight,i=r/o;this.globalData.compSize.w/this.globalData.compSize.h>i?(e=r/this.globalData.compSize.w,t=r/this.globalData.compSize.w,n=0,a=(o-this.globalData.compSize.h*(r/this.globalData.compSize.w))/2):(e=o/this.globalData.compSize.h,t=o/this.globalData.compSize.h,n=(r-this.globalData.compSize.w*(o/this.globalData.compSize.h))/2,a=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+n+","+a+",0,1)",l.transform=l.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,n=this.globalData.compSize.h,a=this.threeDElements.length;for(e=0;e<a;e+=1){var r=this.threeDElements[e].perspectiveElem.style;r.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(n,2))+"px",r.perspective=r.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,n=e.length,a=createTag("div");for(t=0;t<n;t+=1)if(e[t].xt){var r=this.createComp(e[t],a,this.globalData.comp,null);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},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 n,a=0;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(n=this.elements[a].getBaseElement()),a+=1;n?this.layerElement.insertBefore(e,n):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 n=0,a=e.layers.length;n<a;){if(e.layers[n].nm===t||e.layers[n].ind===t)return e.elements[n].layerInterface;n+=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},Expressions=function(){var e={initExpressions:function(e){var t=0,n=[];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=n.length;for(e=0;e<t;e+=1)n[e].release();n.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===n.indexOf(e)&&n.push(e)}}};return 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 n,a=createSizedArray(t.viewData.length),r=t.viewData.length;for(n=0;n<r;n+=1)a[n]=new e(t.viewData[n],t.masksProperties[n]);return function(e){for(n=0;n<r;){if(t.masksProperties[n].nm===e)return a[n];n+=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 n(e,t,n){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(a){if(!e.numKeys)return 0;var r;r="s"in t.keyframes[a-1]?t.keyframes[a-1].s:"e"in t.keyframes[a-2]?t.keyframes[a-2].e:t.keyframes[a-2].s;var o="unidimensional"===n?new Number(r):Object.assign({},r);return o.time=t.keyframes[a-1].t/t.elem.comp.globalData.frameRate,o.value="unidimensional"===n?r[0]:r,o},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function a(){return e}return function(r){return r?"unidimensional"===r.propType?function(t){t&&"pv"in t||(t=e);var a=1/t.mult,r=t.pv*a,o=new Number(r);return o.value=r,n(o,t,"unidimensional"),function(){return t.k&&t.getValue(),r=t.v*a,o.value!==r&&((o=new Number(r)).value=r,n(o,t,"unidimensional")),o}}(r):function(e){e&&"pv"in e||(e=t);var a=1/e.mult,r=e.data&&e.data.l||e.pv.length,o=createTypedArray("float32",r),i=createTypedArray("float32",r);return o.value=i,n(o,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<r;t+=1)i[t]=e.v[t]*a,o[t]=i[t];return o}}(r):a}}(),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 n,a,r,o;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?o=ExpressionPropertyInterface(e.p):(n=ExpressionPropertyInterface(e.px),a=ExpressionPropertyInterface(e.py),e.pz&&(r=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?o():[n(),a(),r?r():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 n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.applyPoint(n,e)}function n(e,t){var n=this.getMatrix(t);return this.applyPoint(n,e)}function a(e,t){var n=this.getMatrix(t);return n.props[12]=0,n.props[13]=0,n.props[14]=0,this.invertPoint(n,e)}function r(e,t){var n=this.getMatrix(t);return this.invertPoint(n,e)}function o(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,a=this._elem.hierarchy.length;for(n=0;n<a;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function i(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var n,a=this._elem.hierarchy.length;for(n=0;n<a;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function l(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var n,a=this._elem.hierarchy.length;for(n=0;n<a;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function s(){return[1,1,1,1]}return function(d){var c;function u(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return u.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return c;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return u.effect;case"ADBE Text Properties":return u.textInterface;default:return null}}u.getMatrix=e,u.invertPoint=i,u.applyPoint=o,u.toWorld=n,u.toWorldVec=t,u.fromWorld=r,u.fromWorldVec=a,u.toComp=n,u.fromComp=l,u.sampleImage=s,u.sourceRectAtTime=d.sourceRectAtTime.bind(d),u._elem=d;var h=getDescriptor(c=TransformExpressionInterface(d.finalTransform.mProp),"anchorPoint");return Object.defineProperties(u,{hasParent:{get:function(){return d.hierarchy.length}},parent:{get:function(){return d.hierarchy[0].layerInterface}},rotation:getDescriptor(c,"rotation"),scale:getDescriptor(c,"scale"),position:getDescriptor(c,"position"),opacity:getDescriptor(c,"opacity"),anchorPoint:h,anchor_point:h,transform:{get:function(){return c}},active:{get:function(){return d.isInRange}}}),u.startTime=d.data.st,u.index=d.data.ind,u.source=d.data.refId,u.height=0===d.data.ty?d.data.h:100,u.width=0===d.data.ty?d.data.w:100,u.inPoint=d.data.ip/d.comp.globalData.frameRate,u.outPoint=d.data.op/d.comp.globalData.frameRate,u._name=d.data.nm,u.registerMaskInterface=function(e){u.mask=new MaskManagerInterface(e,d)},u.registerEffectsInterface=function(e){u.effect=e},u}}(),propertyGroupFactory=function(e,t){return function(n){return(n=void 0===n?1:n)<=0?e:t(n-1)}},PropertyInterface=function(e,t){var n={_name:e};return function(e){return(e=void 0===e?1:e)<=0?n:t(e-1)}},EffectsExpressionInterface=function(){function e(n,a,r,o){function i(e){for(var t=n.ef,a=0,r=t.length;a<r;){if(e===t[a].nm||e===t[a].mn||e===t[a].ix)return 5===t[a].ty?d[a]:d[a]();a+=1}throw new Error}var l,s=propertyGroupFactory(i,r),d=[],c=n.ef.length;for(l=0;l<c;l+=1)5===n.ef[l].ty?d.push(e(n.ef[l],a.effectElements[l],a.effectElements[l].propertyGroup,o)):d.push(t(a.effectElements[l],n.ef[l].ty,o,s));return"ADBE Color Control"===n.mn&&Object.defineProperty(i,"color",{get:function(){return d[0]()}}),Object.defineProperties(i,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:s}}),i.enabled=0!==n.en,i.active=i.enabled,i}function t(e,t,n,a){var r=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",a)),function(){return 10===t?n.comp.compInterface(e.p.v):r()}}return{createEffectsInterface:function(t,n){if(t.effectsManager){var a,r=[],o=t.data.ef,i=t.effectsManager.effectElements.length;for(a=0;a<i;a+=1)r.push(e(o[a],t.effectsManager.effectElements[a],n,t));var l=t.data.ef||[],s=function(e){for(a=0,i=l.length;a<i;){if(e===l[a].nm||e===l[a].mn||e===l[a].ix)return r[a];a+=1}return null};return Object.defineProperty(s,"numProperties",{get:function(){return l.length}}),s}return null}}}(),ShapePathInterface=function(e,t,n){var a=t.sh;function r(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?r.path:null}var o=propertyGroupFactory(r,n);return a.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(r,{path:{get:function(){return a.k&&a.getValue(),a}},shape:{get:function(){return a.k&&a.getValue(),a}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:n}}),r},ShapeExpressionInterface=function(){function e(e,i,h){var p,f=[],m=e?e.length:0;for(p=0;p<m;p+=1)"gr"===e[p].ty?f.push(t(e[p],i[p],h)):"fl"===e[p].ty?f.push(n(e[p],i[p],h)):"st"===e[p].ty?f.push(r(e[p],i[p],h)):"tm"===e[p].ty?f.push(o(e[p],i[p],h)):"tr"===e[p].ty||("el"===e[p].ty?f.push(l(e[p],i[p],h)):"sr"===e[p].ty?f.push(s(e[p],i[p],h)):"sh"===e[p].ty?f.push(ShapePathInterface(e[p],i[p],h)):"rc"===e[p].ty?f.push(d(e[p],i[p],h)):"rd"===e[p].ty?f.push(c(e[p],i[p],h)):"rp"===e[p].ty?f.push(u(e[p],i[p],h)):"gf"===e[p].ty?f.push(a(e[p],i[p],h)):f.push((e[p],i[p],function(){return null})));return f}function t(t,n,a){var r=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return r.content;default:return r.transform}};r.propertyGroup=propertyGroupFactory(r,a);var o=function(t,n,a){var r,o=function(e){for(var t=0,n=r.length;t<n;){if(r[t]._name===e||r[t].mn===e||r[t].propertyIndex===e||r[t].ix===e||r[t].ind===e)return r[t];t+=1}return"number"==typeof e?r[e-1]:null};o.propertyGroup=propertyGroupFactory(o,a),r=e(t.it,n.it,o.propertyGroup),o.numProperties=r.length;var l=i(t.it[t.it.length-1],n.it[n.it.length-1],o.propertyGroup);return o.transform=l,o.propertyIndex=t.cix,o._name=t.nm,o}(t,n,r.propertyGroup),l=i(t.it[t.it.length-1],n.it[n.it.length-1],r.propertyGroup);return r.content=o,r.transform=l,Object.defineProperty(r,"_name",{get:function(){return t.nm}}),r.numProperties=t.np,r.propertyIndex=t.ix,r.nm=t.nm,r.mn=t.mn,r}function n(e,t,n){function a(e){return"Color"===e||"color"===e?a.color:"Opacity"===e||"opacity"===e?a.opacity:null}return Object.defineProperties(a,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),a}function a(e,t,n){function a(e){return"Start Point"===e||"start point"===e?a.startPoint:"End Point"===e||"end point"===e?a.endPoint:"Opacity"===e||"opacity"===e?a.opacity:null}return Object.defineProperties(a,{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",n)),t.e.setGroupProperty(PropertyInterface("End Point",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),a}function r(e,t,n){var a,r=propertyGroupFactory(d,n),o=propertyGroupFactory(s,r);function i(n){Object.defineProperty(s,e.d[n].nm,{get:ExpressionPropertyInterface(t.d.dataProps[n].p)})}var l=e.d?e.d.length:0,s={};for(a=0;a<l;a+=1)i(a),t.d.dataProps[a].p.setGroupProperty(o);function d(e){return"Color"===e||"color"===e?d.color:"Opacity"===e||"opacity"===e?d.opacity:"Stroke Width"===e||"stroke width"===e?d.strokeWidth:null}return Object.defineProperties(d,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return s}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),t.w.setGroupProperty(PropertyInterface("Stroke Width",r)),d}function o(e,t,n){function a(t){return t===e.e.ix||"End"===t||"end"===t?a.end:t===e.s.ix?a.start:t===e.o.ix?a.offset:null}var r=propertyGroupFactory(a,n);return a.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",r)),t.e.setGroupProperty(PropertyInterface("End",r)),t.o.setGroupProperty(PropertyInterface("Offset",r)),a.propertyIndex=e.ix,a.propertyGroup=n,Object.defineProperties(a,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),a.mn=e.mn,a}function i(e,t,n){function a(t){return e.a.ix===t||"Anchor Point"===t?a.anchorPoint:e.o.ix===t||"Opacity"===t?a.opacity:e.p.ix===t||"Position"===t?a.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?a.rotation:e.s.ix===t||"Scale"===t?a.scale:e.sk&&e.sk.ix===t||"Skew"===t?a.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?a.skewAxis:null}var r=propertyGroupFactory(a,n);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",r)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",r)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",r)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",r)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",r)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",r)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",r))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",r)),Object.defineProperties(a,{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}}),a.ty="tr",a.mn=e.mn,a.propertyGroup=n,a}function l(e,t,n){function a(t){return e.p.ix===t?a.position:e.s.ix===t?a.size:null}var r=propertyGroupFactory(a,n);a.propertyIndex=e.ix;var o="tm"===t.sh.ty?t.sh.prop:t.sh;return o.s.setGroupProperty(PropertyInterface("Size",r)),o.p.setGroupProperty(PropertyInterface("Position",r)),Object.defineProperties(a,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:e.nm}}),a.mn=e.mn,a}function s(e,t,n){function a(t){return e.p.ix===t?a.position:e.r.ix===t?a.rotation:e.pt.ix===t?a.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?a.outerRadius:e.os.ix===t?a.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?a.innerRoundness:null:a.innerRadius}var r=propertyGroupFactory(a,n),o="tm"===t.sh.ty?t.sh.prop:t.sh;return a.propertyIndex=e.ix,o.or.setGroupProperty(PropertyInterface("Outer Radius",r)),o.os.setGroupProperty(PropertyInterface("Outer Roundness",r)),o.pt.setGroupProperty(PropertyInterface("Points",r)),o.p.setGroupProperty(PropertyInterface("Position",r)),o.r.setGroupProperty(PropertyInterface("Rotation",r)),e.ir&&(o.ir.setGroupProperty(PropertyInterface("Inner Radius",r)),o.is.setGroupProperty(PropertyInterface("Inner Roundness",r))),Object.defineProperties(a,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:e.nm}}),a.mn=e.mn,a}function d(e,t,n){function a(t){return e.p.ix===t?a.position:e.r.ix===t?a.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?a.size:null}var r=propertyGroupFactory(a,n),o="tm"===t.sh.ty?t.sh.prop:t.sh;return a.propertyIndex=e.ix,o.p.setGroupProperty(PropertyInterface("Position",r)),o.s.setGroupProperty(PropertyInterface("Size",r)),o.r.setGroupProperty(PropertyInterface("Rotation",r)),Object.defineProperties(a,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:e.nm}}),a.mn=e.mn,a}function c(e,t,n){function a(t){return e.r.ix===t||"Round Corners 1"===t?a.radius:null}var r=propertyGroupFactory(a,n),o=t;return a.propertyIndex=e.ix,o.rd.setGroupProperty(PropertyInterface("Radius",r)),Object.defineProperties(a,{radius:{get:ExpressionPropertyInterface(o.rd)},_name:{value:e.nm}}),a.mn=e.mn,a}function u(e,t,n){function a(t){return e.c.ix===t||"Copies"===t?a.copies:e.o.ix===t||"Offset"===t?a.offset:null}var r=propertyGroupFactory(a,n),o=t;return a.propertyIndex=e.ix,o.c.setGroupProperty(PropertyInterface("Copies",r)),o.o.setGroupProperty(PropertyInterface("Offset",r)),Object.defineProperties(a,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:e.nm}}),a.mn=e.mn,a}return function(t,n,a){var r;function o(e){if("number"==typeof e)return 0===(e=void 0===e?1:e)?a:r[e-1];for(var t=0,n=r.length;t<n;){if(r[t]._name===e)return r[t];t+=1}return null}return o.propertyGroup=propertyGroupFactory(o,(function(){return a})),r=e(t,n,o.propertyGroup),o.numProperties=r.length,o._name="Contents",o}}(),TextExpressionInterface=function(e){var t,n;function a(e){return"ADBE Text Document"===e?a.sourceText:null}return Object.defineProperty(a,"sourceText",{get:function(){e.textProperty.getValue();var a=e.textProperty.currentData.t;return a!==t&&(t=e.textProperty.currentData.t,(n=new String(a)).value=a||new String(a),Object.defineProperty(n,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),n}}),a};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})(e)}var FootageInterface=(dataInterfaceFactory=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",n=e.getFootageData();function a(e){if(n[e])return t=e,"object"===_typeof$2(n=n[e])?a:n;var r=e.indexOf(t);if(-1!==r){var o=parseInt(e.substr(r+t.length),10);return"object"===_typeof$2(n=n[o])?a:n}return""}return function(){return t="",n=e.getFootageData(),a}}(e),t},function(e){function t(e){return"Data"===e?t.dataInterface:null}return t._name="Data",t.dataInterface=dataInterfaceFactory(e),t}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}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})(e)}function seedRandom(e,t){var n=this,a=t.pow(256,6),r=t.pow(2,52),o=2*r;function i(e){var t,n=e.length,a=this,r=0,o=a.i=a.j=0,i=a.S=[];for(n||(e=[n++]);r<256;)i[r]=r++;for(r=0;r<256;r++)i[r]=i[o=255&o+e[r%n]+(t=i[r])],i[o]=t;a.g=function(e){for(var t,n=0,r=a.i,o=a.j,i=a.S;e--;)t=i[r=255&r+1],n=256*n+i[255&(i[r]=i[o=255&o+t])+(i[o]=t)];return a.i=r,a.j=o,n}}function l(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function s(e,t){for(var n,a=e+"",r=0;r<a.length;)t[255&r]=255&(n^=19*t[255&r])+a.charCodeAt(r++);return d(t)}function d(e){return String.fromCharCode.apply(0,e)}t.seedrandom=function(c,u,h){var p=[],f=s(function e(t,n){var a,r=[],o=_typeof$1(t);if(n&&"object"==o)for(a in t)try{r.push(e(t[a],n-1))}catch(e){}return r.length?r:"string"==o?t:t+"\0"}((u=!0===u?{entropy:!0}:u||{}).entropy?[c,d(e)]:null===c?function(){try{var t=new Uint8Array(256);return(n.crypto||n.msCrypto).getRandomValues(t),d(t)}catch(t){var a=n.navigator,r=a&&a.plugins;return[+new Date,n,r,n.screen,d(e)]}}():c,3),p),m=new i(p),g=function(){for(var e=m.g(6),t=a,n=0;e<r;)e=256*(e+n),t*=256,n=m.g(1);for(;e>=o;)e/=2,t/=2,n>>>=1;return(e+n)/t};return g.int32=function(){return 0|m.g(4)},g.quick=function(){return m.g(4)/4294967296},g.double=g,s(d(m.S),e),(u.pass||h||function(e,n,a,r){return r&&(r.S&&l(r,m),e.state=function(){return l(m,{})}),a?(t.random=e,n):e})(g,f,"global"in u?u.global:this==t,u.state)},s(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};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})(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var n,a=e.length,r=[];for(n=0;n<a;n+=1)r[n]=-e[n];return r}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 n=_typeof(e),a=_typeof(t);if("string"===n||"string"===a)return e+t;if(isNumerable(n,e)&&isNumerable(a,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var r=0,o=e.length,i=t.length,l=[];r<o||r<i;)("number"==typeof e[r]||e[r]instanceof Number)&&("number"==typeof t[r]||t[r]instanceof Number)?l[r]=e[r]+t[r]:l[r]=void 0===t[r]?e[r]:e[r]||t[r],r+=1;return l}return 0}var add=sum;function sub(e,t){var n=_typeof(e),a=_typeof(t);if(isNumerable(n,e)&&isNumerable(a,t))return"string"===n&&(e=parseInt(e,10)),"string"===a&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(a,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(n,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var r=0,o=e.length,i=t.length,l=[];r<o||r<i;)("number"==typeof e[r]||e[r]instanceof Number)&&("number"==typeof t[r]||t[r]instanceof Number)?l[r]=e[r]-t[r]:l[r]=void 0===t[r]?e[r]:e[r]||t[r],r+=1;return l}return 0}function mul(e,t){var n,a,r,o=_typeof(e),i=_typeof(t);if(isNumerable(o,e)&&isNumerable(i,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(r=e.length,n=createTypedArray("float32",r),a=0;a<r;a+=1)n[a]=e[a]*t;return n}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(r=t.length,n=createTypedArray("float32",r),a=0;a<r;a+=1)n[a]=e*t[a];return n}return 0}function div(e,t){var n,a,r,o=_typeof(e),i=_typeof(t);if(isNumerable(o,e)&&isNumerable(i,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(r=e.length,n=createTypedArray("float32",r),a=0;a<r;a+=1)n[a]=e[a]/t;return n}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(r=t.length,n=createTypedArray("float32",r),a=0;a<r;a+=1)n[a]=e/t[a];return n}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,n){if(t>n){var a=n;n=t,t=a}return Math.min(Math.max(e,t),n)}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 n;t||(t=helperLengthArray);var a=Math.min(e.length,t.length),r=0;for(n=0;n<a;n+=1)r+=Math.pow(t[n]-e[n],2);return Math.sqrt(r)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,n,a=e[0],r=e[1],o=e[2],i=Math.max(a,r,o),l=Math.min(a,r,o),s=(i+l)/2;if(i===l)t=0,n=0;else{var d=i-l;switch(n=s>.5?d/(2-i-l):d/(i+l),i){case a:t=(r-o)/d+(r<o?6:0);break;case r:t=(o-a)/d+2;break;case o:t=(a-r)/d+4}t/=6}return[t,n,s,e[3]]}function hue2rgb(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslToRgb(e){var t,n,a,r=e[0],o=e[1],i=e[2];if(0===o)t=i,a=i,n=i;else{var l=i<.5?i*(1+o):i+o-i*o,s=2*i-l;t=hue2rgb(s,l,r+1/3),n=hue2rgb(s,l,r),a=hue2rgb(s,l,r-1/3)}return[t,n,a,e[3]]}function linear(e,t,n,a,r){if(void 0!==a&&void 0!==r||(a=t,r=n,t=0,n=1),n<t){var o=n;n=t,t=o}if(e<=t)return a;if(e>=n)return r;var i,l=n===t?0:(e-t)/(n-t);if(!a.length)return a+(r-a)*l;var s=a.length,d=createTypedArray("float32",s);for(i=0;i<s;i+=1)d[i]=a[i]+(r[i]-a[i])*l;return d}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var n,a=t.length;e||(e=createTypedArray("float32",a));var r=createTypedArray("float32",a),o=BMMath.random();for(n=0;n<a;n+=1)r[n]=e[n]+o*(t[n]-e[n]);return r}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,n,a){var r,o=e.length,i=shapePool.newElement();i.setPathData(!!a,o);var l,s,d=[0,0];for(r=0;r<o;r+=1)l=t&&t[r]?t[r]:d,s=n&&n[r]?n[r]:d,i.setTripleAt(e[r][0],e[r][1],s[0]+e[r][0],s[1]+e[r][1],l[0]+e[r][0],l[1]+e[r][1],r,!0);return i}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 n,a,r=this.pv.length?this.pv.length:1,o=createTypedArray("float32",r),i=Math.floor(5*time);for(n=0,a=0;n<i;){for(a=0;a<r;a+=1)o[a]+=-t+2*t*BMMath.random();n+=1}var l=5*time,s=l-Math.floor(l),d=createTypedArray("float32",r);if(r>1){for(a=0;a<r;a+=1)d[a]=this.pv[a]+o[a]+(-t+2*t*BMMath.random())*s;return d}return this.pv+o[0]+(-t+2*t*BMMath.random())*s}.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 n=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],a=Math.atan2(n[0],Math.sqrt(n[1]*n[1]+n[2]*n[2]))/degToRads;return[-Math.atan2(n[1],n[2])/degToRads,a,0]}function easeOut(e,t,n,a,r){return applyEase(easeOutBez,e,t,n,a,r)}function easeIn(e,t,n,a,r){return applyEase(easeInBez,e,t,n,a,r)}function ease(e,t,n,a,r){return applyEase(easeInOutBez,e,t,n,a,r)}function applyEase(e,t,n,a,r,o){void 0===r?(r=n,o=a):t=(t-n)/(a-n),t>1?t=1:t<0&&(t=0);var i=e(t);if($bm_isInstanceOfArray(r)){var l,s=r.length,d=createTypedArray("float32",s);for(l=0;l<s;l+=1)d[l]=(o[l]-r[l])*i+r[l];return d}return(o-r)*i+r}function nearestKey(e){var t,n,a,r=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(n=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)n=1,a=data.k[0].t;else{for(t=0;t<r-1;t+=1){if(e===data.k[t].t){n=t+1,a=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?(n=t+2,a=data.k[t+1].t):(n=t+1,a=data.k[t].t);break}}-1===n&&(n=t+1,a=data.k[t].t)}else n=0,a=0;var o={};return o.index=n,o.time=a/elem.comp.globalData.frameRate,o}function key(e){var t,n,a;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 r=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(a=r.length,n=0;n<a;n+=1)t[n]=r[n],t.value[n]=r[n];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;elem.hierarchy&&elem.hierarchy.length;var 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)),!(!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],ob}(),expressionHelpers={searchExpressions:function(e,t,n){t.x&&(n.k=!0,n.x=!0,n.initiateExpression=ExpressionManager.initiateExpression,n.effectsSequence.push(n.initiateExpression(e,t,n).bind(n)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),n=this.getValueAtTime(e+-.01),a=0;if(t.length){var r;for(r=0;r<t.length;r+=1)a+=Math.pow(n[r]-t[r],2);a=100*Math.sqrt(a)}else a=0;return a},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,n,a=this.getValueAtTime(e),r=this.getValueAtTime(e+-.001);if(a.length)for(t=createTypedArray("float32",a.length),n=0;n<a.length;n+=1)t[n]=(r[n]-a[n])/-.001;else t=(r-a)/-.001;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,n){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var a,r,o,i,l,s=this.comp.renderedFrame,d=this.keyframes,c=d[d.length-1].t;if(s<=c)return this.pv;if(n?r=c-(a=t?Math.abs(c-this.elem.comp.globalData.frameRate*t):Math.max(0,c-this.elem.data.ip)):((!t||t>d.length-1)&&(t=d.length-1),a=c-(r=d[d.length-1-t].t)),"pingpong"===e){if(Math.floor((s-r)/a)%2!=0)return this.getValueAtTime((a-(s-r)%a+r)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var u=this.getValueAtTime(r/this.comp.globalData.frameRate,0),h=this.getValueAtTime(c/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((s-r)%a+r)/this.comp.globalData.frameRate,0),f=Math.floor((s-r)/a);if(this.pv.length){for(i=(l=new Array(u.length)).length,o=0;o<i;o+=1)l[o]=(h[o]-u[o])*f+p[o];return l}return(h-u)*f+p}if("continue"===e){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(i=(l=new Array(m.length)).length,o=0;o<i;o+=1)l[o]=m[o]+(m[o]-g[o])*((s-c)/this.comp.globalData.frameRate)/5e-4;return l}return m+(s-c)/.001*(m-g)}}return this.getValueAtTime(((s-r)%a+r)/this.comp.globalData.frameRate,0)}function t(e,t,n){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var a,r,o,i,l,s=this.comp.renderedFrame,d=this.keyframes,c=d[0].t;if(s>=c)return this.pv;if(n?r=c+(a=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-c)):((!t||t>d.length-1)&&(t=d.length-1),a=(r=d[t].t)-c),"pingpong"===e){if(Math.floor((c-s)/a)%2==0)return this.getValueAtTime(((c-s)%a+c)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var u=this.getValueAtTime(c/this.comp.globalData.frameRate,0),h=this.getValueAtTime(r/this.comp.globalData.frameRate,0),p=this.getValueAtTime((a-(c-s)%a+c)/this.comp.globalData.frameRate,0),f=Math.floor((c-s)/a)+1;if(this.pv.length){for(i=(l=new Array(u.length)).length,o=0;o<i;o+=1)l[o]=p[o]-(h[o]-u[o])*f;return l}return p-(h-u)*f}if("continue"===e){var m=this.getValueAtTime(c/this.comp.globalData.frameRate,0),g=this.getValueAtTime((c+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(i=(l=new Array(m.length)).length,o=0;o<i;o+=1)l[o]=m[o]+(m[o]-g[o])*(c-s)/.001;return l}return m+(m-g)*(c-s)/.001}}return this.getValueAtTime((a-((c-s)%a+c))/this.comp.globalData.frameRate,0)}function n(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var n,a,r=this.comp.renderedFrame/this.comp.globalData.frameRate,o=r-e,i=t>1?(r+e-o)/(t-1):1,l=0,s=0;for(n=this.pv.length?createTypedArray("float32",this.pv.length):0;l<t;){if(a=this.getValueAtTime(o+l*i),this.pv.length)for(s=0;s<this.pv.length;s+=1)n[s]+=a[s];else n+=a;l+=1}if(this.pv.length)for(s=0;s<this.pv.length;s+=1)n[s]/=t;else n/=t;return n}function a(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var n=this.a.getValueAtTime(e);t.translate(-n[0]*this.a.mult,-n[1]*this.a.mult,n[2]*this.a.mult)}if(this.appliedTransformations<2){var a=this.s.getValueAtTime(e);t.scale(a[0]*this.s.mult,a[1]*this.s.mult,a[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var r=this.sk.getValueAtTime(e),o=this.sa.getValueAtTime(e);t.skewFromAxis(-r*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var i=this.r.getValueAtTime(e);t.rotate(-i*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var l=this.rz.getValueAtTime(e),s=this.ry.getValueAtTime(e),d=this.rx.getValueAtTime(e),c=this.or.getValueAtTime(e);t.rotateZ(-l*this.rz.mult).rotateY(s*this.ry.mult).rotateX(d*this.rx.mult).rotateZ(-c[2]*this.or.mult).rotateY(c[1]*this.or.mult).rotateX(c[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var u=this.px.getValueAtTime(e),h=this.py.getValueAtTime(e);if(this.data.p.z){var p=this.pz.getValueAtTime(e);t.translate(u*this.px.mult,h*this.py.mult,-p*this.pz.mult)}else t.translate(u*this.px.mult,h*this.py.mult,0)}else{var f=this.p.getValueAtTime(e);t.translate(f[0]*this.p.mult,f[1]*this.p.mult,-f[2]*this.p.mult)}return t}function r(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,n){var i=o(e,t,n);return i.dynamicProperties.length?i.getValueAtTime=a.bind(i):i.getValueAtTime=r.bind(i),i.setGroupProperty=expressionHelpers.setGroupProperty,i};var i=PropertyFactory.getProp;PropertyFactory.getProp=function(a,r,o,l,s){var d=i(a,r,o,l,s);d.kf?d.getValueAtTime=expressionHelpers.getValueAtTime.bind(d):d.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(d),d.setGroupProperty=expressionHelpers.setGroupProperty,d.loopOut=e,d.loopIn=t,d.smooth=n,d.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(d),d.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(d),d.numKeys=1===r.a?r.k.length:0,d.propertyIndex=r.ix;var c=0;return 0!==o&&(c=createTypedArray("float32",1===r.a?r.k[0].s.length:r.k.length)),d._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:c},expressionHelpers.searchExpressions(a,r,d),d.k&&s.addDynamicProperty(d),d};var l=ShapePropertyFactory.getConstructorFunction(),s=ShapePropertyFactory.getKeyframedConstructorFunction();function d(){}d.prototype={vertices:function(e,t){this.k&&this.getValue();var n,a=this.v;void 0!==t&&(a=this.getValueAtTime(t,0));var r=a._length,o=a[e],i=a.v,l=createSizedArray(r);for(n=0;n<r;n+=1)l[n]="i"===e||"o"===e?[o[n][0]-i[n][0],o[n][1]-i[n][1]]:[o[n][0],o[n][1]];return l},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 n=this.v;void 0!==t&&(n=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(n));for(var a,r=this._segmentsLength,o=r.lengths,i=r.totalLength*e,l=0,s=o.length,d=0;l<s;){if(d+o[l].addedLength>i){var c=l,u=n.c&&l===s-1?0:l+1,h=(i-d)/o[l].addedLength;a=bez.getPointInSegment(n.v[c],n.v[u],n.o[c],n.i[u],h,o[l]);break}d+=o[l].addedLength,l+=1}return a||(a=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),a},vectorOnPath:function(e,t,n){1==e?e=this.v.c:0==e&&(e=.999);var a=this.pointOnPath(e,t),r=this.pointOnPath(e+.001,t),o=r[0]-a[0],i=r[1]-a[1],l=Math.sqrt(Math.pow(o,2)+Math.pow(i,2));return 0===l?[0,0]:"tangent"===n?[o/l,i/l]:[-i/l,o/l]},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([d],l),extendPrototype([d],s),s.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},s.prototype.initiateExpression=ExpressionManager.initiateExpression;var c=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,n,a,r){var o=c(e,t,n,a,r);return o.propertyIndex=t.ix,o.lock=!1,3===n?expressionHelpers.searchExpressions(e,t.pt,o):4===n&&expressionHelpers.searchExpressions(e,t.ks,o),o.k&&e.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var n=this.calculateExpression(t);if(e.t!==n){var a={};return this.copyData(a,e),a.t=n.toString(),a.__complete=!1,a}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 n,a,r=createNS("feMerge");for(r.setAttribute("result",e),a=0;a<t.length;a+=1)(n=createNS("feMergeNode")).setAttribute("in",t[a]),r.appendChild(n),r.appendChild(n);return r}};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,n,a,r){this.filterManager=t;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=o,o.setAttribute("result",a+"_tint_1"),e.appendChild(o),(o=createNS("feColorMatrix")).setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",a+"_tint_2"),e.appendChild(o),this.matrixFilter=o;var i=this.createMergeNode(a,[r,a+"_tint_1",a+"_tint_2"]);e.appendChild(i)}function SVGFillFilter(e,t,n,a){this.filterManager=t;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result",a),e.appendChild(r),this.matrixFilter=r}function SVGStrokeEffect(e,t,n){this.initialized=!1,this.filterManager=t,this.elem=n,this.paths=[]}function SVGTritoneFilter(e,t,n,a){this.filterManager=t;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(r);var o=createNS("feComponentTransfer");o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",a),this.matrixFilter=o;var i=createNS("feFuncR");i.setAttribute("type","table"),o.appendChild(i),this.feFuncR=i;var l=createNS("feFuncG");l.setAttribute("type","table"),o.appendChild(l),this.feFuncG=l;var s=createNS("feFuncB");s.setAttribute("type","table"),o.appendChild(s),this.feFuncB=s,e.appendChild(o)}function SVGProLevelsFilter(e,t,n,a){this.filterManager=t;var r=this.filterManager.effectElements,o=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",o)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",o)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",o)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",o)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(o.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(o)),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&((o=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("result",a),e.appendChild(o),this.feFuncRComposed=this.createFeFunc("feFuncR",o),this.feFuncGComposed=this.createFeFunc("feFuncG",o),this.feFuncBComposed=this.createFeFunc("feFuncB",o))}function SVGDropShadowEffect(e,t,n,a,r){var o=t.container.globalData.renderConfig.filterSize,i=t.data.fs||o;e.setAttribute("x",i.x||o.x),e.setAttribute("y",i.y||o.y),e.setAttribute("width",i.width||o.width),e.setAttribute("height",i.height||o.height),this.filterManager=t;var l=createNS("feGaussianBlur");l.setAttribute("in","SourceAlpha"),l.setAttribute("result",a+"_drop_shadow_1"),l.setAttribute("stdDeviation","0"),this.feGaussianBlur=l,e.appendChild(l);var s=createNS("feOffset");s.setAttribute("dx","25"),s.setAttribute("dy","0"),s.setAttribute("in",a+"_drop_shadow_1"),s.setAttribute("result",a+"_drop_shadow_2"),this.feOffset=s,e.appendChild(s);var d=createNS("feFlood");d.setAttribute("flood-color","#00ff00"),d.setAttribute("flood-opacity","1"),d.setAttribute("result",a+"_drop_shadow_3"),this.feFlood=d,e.appendChild(d);var c=createNS("feComposite");c.setAttribute("in",a+"_drop_shadow_3"),c.setAttribute("in2",a+"_drop_shadow_2"),c.setAttribute("operator","in"),c.setAttribute("result",a+"_drop_shadow_4"),e.appendChild(c);var u=this.createMergeNode(a,[a+"_drop_shadow_4",r]);e.appendChild(u)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,n=this.filterManager.effectElements[1].p.v,a=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+a+" 0"),this.matrixFilter.setAttribute("values",n[0]-t[0]+" 0 0 0 "+t[0]+" "+(n[1]-t[1])+" 0 0 0 "+t[1]+" "+(n[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,n=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 "+n+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,n,a,r=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(a=this.elem.maskManager.masksProperties.length,n=0):a=1+(n=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);n<a;n+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:n});if(3===this.filterManager.effectElements[10].p.v){var o=createNS("mask"),i=createElementID();o.setAttribute("id",i),o.setAttribute("mask-type","alpha"),o.appendChild(t),this.elem.globalData.defs.appendChild(o);var l=createNS("g");for(l.setAttribute("mask","url("+getLocationHref()+"#"+i+")");r[0];)l.appendChild(r[0]);this.elem.layerElement.appendChild(l),this.masker=o,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(r=this.elem.layerElement.children||this.elem.layerElement.childNodes;r.length;)this.elem.layerElement.removeChild(r[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 n,a,r=this.paths.length;for(t=0;t<r;t+=1)if(-1!==this.paths[t].m&&(n=this.elem.maskManager.viewData[this.paths[t].m],a=this.paths[t].p,(e||this.filterManager._mdf||n.prop._mdf)&&a.setAttribute("d",n.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||n.prop._mdf)){var o;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var i=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=a.getTotalLength();o="0 0 0 "+s*i+" ";var d,c=s*(l-i),u=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,h=Math.floor(c/u);for(d=0;d<h;d+=1)o+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";o+="0 "+10*s+" 0 0"}else o="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;a.setAttribute("stroke-dasharray",o)}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,n=this.filterManager.effectElements[1].p.v,a=this.filterManager.effectElements[2].p.v,r=a[0]+" "+n[0]+" "+t[0],o=a[1]+" "+n[1]+" "+t[1],i=a[2]+" "+n[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",r),this.feFuncG.setAttribute("tableValues",o),this.feFuncB.setAttribute("tableValues",i)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var n=createNS(e);return n.setAttribute("type","table"),t.appendChild(n),n},SVGProLevelsFilter.prototype.getTableValue=function(e,t,n,a,r){for(var o,i,l=0,s=Math.min(e,t),d=Math.max(e,t),c=Array.call(null,{length:256}),u=0,h=r-a,p=t-e;l<=256;)i=(o=l/256)<=s?p<0?r:a:o>=d?p<0?a:r:a+h*Math.pow((o-e)/p,1/n),c[u]=i,u+=1,l+=256/255;return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,n=this.filterManager.effectElements;this.feFuncRComposed&&(e||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(t=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(t=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(t=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(t=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(t=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[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 n=this.filterManager.effectElements[3].p.v,a=(this.filterManager.effectElements[2].p.v-90)*degToRads,r=n*Math.cos(a),o=n*Math.sin(a);this.feOffset.setAttribute("dx",r),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,n){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGGaussianBlurEffect(e,t,n,a){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var r=createNS("feGaussianBlur");r.setAttribute("result",a),e.appendChild(r),this.feGaussianBlur=r}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,n=_svgMatteSymbols.length;t<n;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var n=e.layerElement.parentNode;if(n){for(var a,r=n.children,o=0,i=r.length;o<i&&r[o]!==e.layerElement;)o+=1;o<=i-2&&(a=r[o+1]);var l=createNS("use");l.setAttribute("href","#"+t),a?n.insertBefore(l,a):n.appendChild(l)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var n=createElementID(),a=createNS("mask");a.setAttribute("id",t.layerId),a.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var r=e.globalData.defs;r.appendChild(a);var o=createNS("symbol");o.setAttribute("id",n),this.replaceInParent(t,n),o.appendChild(t.layerElement),r.appendChild(o);var i=createNS("use");i.setAttribute("href","#"+n),a.appendChild(i),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,n=0,a=t.length;n<a;)t[n]&&t[n].data.ind===e&&this.setElementAsMask(this.elem,t[n]),n+=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,n=this.filterManager.effectElements[1].p.v,a=3==n?0:t,r=2==n?0:t;this.feGaussianBlur.setAttribute("stdDeviation",a+" "+r);var o=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o)}},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(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie},module.exports=e())})),REACT_LOTTIE_PLAYER_VERSION="3.5.3",LOTTIE_WEB_VERSION="^5.10.2",PlayerState,PlayerEvent,t;function parseSrc(e){if("object"==typeof e)return e;try{return JSON.parse(e)}catch(e){}try{return new URL(e).toString()}catch(e){}return e}t=PlayerState||(PlayerState={}),t.Loading="loading",t.Playing="playing",t.Paused="paused",t.Stopped="stopped",t.Frozen="frozen",t.Error="error",function(e){e.Load="load",e.InstanceSaved="instanceSaved",e.Error="error",e.Ready="ready",e.Play="play",e.Pause="pause",e.Stop="stop",e.Freeze="freeze",e.Loop="loop",e.Complete="complete",e.Frame="frame"}(PlayerEvent||(PlayerEvent={}));var defaultOptions={clearCanvas:!1,hideOnTransparent:!0,progressiveLoad:!0},Player=function(e){function t(t){var n=e.call(this,t)||this;return n.container=null,n.unmounted=!1,n.handleBgChange=function(e){n.setState({background:e})},n.triggerDownload=function(e,t){var n=document.createElement("a");n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n)},n.snapshot=function(e){var t;void 0===e&&(e=!0);var a=n.props.id?n.props.id:"lottie",r=document.getElementById(a);if("svg"===n.props.renderer){if(r){var o=r.querySelector("svg");if(o){var i=(new XMLSerializer).serializeToString(o);t="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(i)}}e&&n.triggerDownload(t,"snapshot.svg")}else if("canvas"===n.props.renderer){if(r){var l=r.querySelector("canvas");l&&(t=l.toDataURL("image/png"))}e&&n.triggerDownload(t,"snapshot.png")}return t},"undefined"!=typeof window&&(window.lottie=lottie),n.state={animationData:null,background:"transparent",containerRef:React__namespace.createRef(),debug:!0,instance:null,playerState:PlayerState.Loading,seeker:0},n}return __extends(t,e),t.getDerivedStateFromProps=function(e,t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(n){return e.background!==t.background?[2,{background:e.background}]:[2,null]}))}))},t.prototype.getVersions=function(){return{lottieWebVersion:LOTTIE_WEB_VERSION,lottiePlayerVersion:REACT_LOTTIE_PLAYER_VERSION}},t.prototype.componentDidMount=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return this.unmounted?[3,2]:[4,this.createLottie()];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},t.prototype.componentWillUnmount=function(){this.unmounted=!0,this.state.instance&&this.state.instance.destroy()},t.prototype.componentDidUpdate=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return this.props.src===e.src?[3,2]:(this.state.instance&&this.state.instance.destroy(),[4,this.createLottie()]);case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},t.prototype.render=function(){var e=this,t=this.props,n=t.children,a=t.loop,r=t.style,o=t.onBackgroundChange,i=t.className,l=this.state,s=l.animationData,d=l.instance,c=l.playerState,u=l.seeker,h=l.debug,p=l.background;return React__namespace.createElement("div",{className:"lf-player-container"},this.state.playerState===PlayerState.Error?React__namespace.createElement("div",{className:"lf-error"},React__namespace.createElement("span",{"aria-label":"error-symbol",role:"img"},"⚠️")):React__namespace.createElement("div",{id:this.props.id?this.props.id:"lottie",ref:function(t){return e.container=t},style:__assign({background:p,margin:"0 auto",outline:"none",overflow:"hidden"},r),className:i}),React__namespace.Children.map(n,(function(t){return React__namespace.isValidElement(t)?React__namespace.cloneElement(t,{animationData:s,background:p,debug:h,instance:d,loop:a,pause:function(){return e.pause()},play:function(){return e.play()},playerState:c,seeker:u,setBackground:function(t){e.setState({background:t}),"function"==typeof o&&o(t)},setSeeker:function(t,n){return e.setSeeker(t,n)},stop:function(){return e.stop()},toggleDebug:function(){return e.toggleDebug()},setLoop:function(t){return e.setLoop(t)},colorChangedEvent:function(t){e.handleBgChange(t)},snapshot:function(){e.snapshot()}}):null})))},t.prototype.toggleDebug=function(){this.setState({debug:!this.state.debug})},t.prototype.createLottie=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,n,a,r,o,i,l,s,d,c,u,h,p,f=this;return __generator(this,(function(m){switch(m.label){case 0:if(e=this.props,t=e.autoplay,n=e.direction,a=e.loop,r=e.lottieRef,o=e.renderer,i=e.speed,l=e.src,s=e.background,d=e.rendererSettings,c=e.hover,u=this.state.instance,!l||!this.container)return[2];m.label=1;case 1:return m.trys.push([1,5,,6]),"string"!=typeof(h=parseSrc(l))?[3,4]:[4,fetch(h).catch((function(){throw f.setState({playerState:PlayerState.Error}),f.triggerEvent(PlayerEvent.Error),new Error("@LottieFiles/lottie-react: Animation data could not be fetched.")}))];case 2:return[4,m.sent().json().catch((function(){throw f.setState({playerState:PlayerState.Error}),f.triggerEvent(PlayerEvent.Error),new Error("@LottieFiles/lottie-react: Animation data could not be fetched.")}))];case 3:h=m.sent(),m.label=4;case 4:return u&&u.destroy(),p=lottie.loadAnimation({rendererSettings:d||defaultOptions,animationData:h,autoplay:t||!1,container:this.container,loop:a||!1,renderer:o}),i&&p.setSpeed(i),this.setState({animationData:h}),this.setState({instance:p},(function(){f.triggerEvent(PlayerEvent.InstanceSaved),"function"==typeof r&&r(p),t&&f.play()})),p.addEventListener("enterFrame",(function(){f.triggerEvent(PlayerEvent.Frame),f.setState({seeker:Math.floor(p.currentFrame)})})),p.addEventListener("DOMLoaded",(function(){f.triggerEvent(PlayerEvent.Load)})),p.addEventListener("data_ready",(function(){f.triggerEvent(PlayerEvent.Ready)})),p.addEventListener("data_failed",(function(){f.setState({playerState:PlayerState.Error}),f.triggerEvent(PlayerEvent.Error)})),p.addEventListener("loopComplete",(function(){f.triggerEvent(PlayerEvent.Loop)})),p.addEventListener("complete",(function(){f.triggerEvent(PlayerEvent.Complete),f.setState({playerState:PlayerState.Paused}),f.props.keepLastFrame&&!f.props.loop||f.setSeeker(0)})),this.container&&(this.container.addEventListener("mouseenter",(function(){c&&f.state.playerState!==PlayerState.Playing&&(f.props.keepLastFrame&&f.stop(),f.play())})),this.container.addEventListener("mouseleave",(function(){c&&f.state.playerState===PlayerState.Playing&&f.stop()}))),i&&this.setPlayerSpeed(i),n&&this.setPlayerDirection(n),s&&this.setState({background:s}),[3,6];case 5:return m.sent(),this.setState({playerState:PlayerState.Error}),this.triggerEvent(PlayerEvent.Error),[3,6];case 6:return[2]}}))}))},t.prototype.play=function(){var e=this.state.instance;e&&(this.triggerEvent(PlayerEvent.Play),e.play(),this.setState({playerState:PlayerState.Playing}))},t.prototype.pause=function(){var e=this.state.instance;e&&(this.triggerEvent(PlayerEvent.Pause),e.pause(),this.setState({playerState:PlayerState.Paused}))},t.prototype.stop=function(){var e=this.state.instance;e&&(this.triggerEvent(PlayerEvent.Stop),e.stop(),this.setState({playerState:PlayerState.Stopped}))},t.prototype.setPlayerSpeed=function(e){var t=this.state.instance;t&&t.setSpeed(e)},t.prototype.setPlayerDirection=function(e){var t=this.state.instance;t&&t.setDirection(e)},t.prototype.setSeeker=function(e,t){void 0===t&&(t=!1);var n=this.state,a=n.instance,r=n.playerState;a&&(t&&r===PlayerState.Playing?a.goToAndPlay(e,!0):(a.goToAndStop(e,!0),this.triggerEvent(PlayerEvent.Pause),this.setState({playerState:PlayerState.Paused})))},t.prototype.setLoop=function(e){var t=this.state.instance;t&&(t.loop=e,this.setState({instance:t}))},t.prototype.triggerEvent=function(e){var t=this.props.onEvent;t&&t(e)},t.defaultProps={loop:!1},t}(React__namespace.Component);function styleInject(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var a=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&a.firstChild?a.insertBefore(r,a.firstChild):a.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}var css_248z=".lf-progress {\n -webkit-appearance: none;\n -moz-apperance: none;\n width: 100%;\n /* margin: 0 10px; */\n height: 4px;\n border-radius: 3px;\n cursor: pointer;\n}\n.lf-progress:focus {\n outline: none;\n border: none;\n}\n.lf-progress::-moz-range-track {\n cursor: pointer;\n background: none;\n border: none;\n outline: none;\n}\n.lf-progress::-webkit-slider-thumb {\n -webkit-appearance: none !important;\n height: 13px;\n width: 13px;\n border: 0;\n border-radius: 50%;\n background: #0fccce;\n cursor: pointer;\n}\n.lf-progress::-moz-range-thumb {\n -moz-appearance: none !important;\n height: 13px;\n width: 13px;\n border: 0;\n border-radius: 50%;\n background: #0fccce;\n cursor: pointer;\n}\n.lf-progress::-ms-track {\n width: 100%;\n height: 3px;\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n color: transparent;\n}\n.lf-progress::-ms-fill-lower {\n background: #ccc;\n border-radius: 3px;\n}\n.lf-progress::-ms-fill-upper {\n background: #ccc;\n border-radius: 3px;\n}\n.lf-progress::-ms-thumb {\n border: 0;\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: #0fccce;\n cursor: pointer;\n}\n.lf-progress:focus::-ms-fill-lower {\n background: #ccc;\n}\n.lf-progress:focus::-ms-fill-upper {\n background: #ccc;\n}\n.lf-player-container :focus {\n outline: 0;\n}\n.lf-popover {\n position: relative;\n}\n\n.lf-popover-content {\n display: inline-block;\n position: absolute;\n opacity: 1;\n visibility: visible;\n transform: translate(0, -10px);\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);\n transition: all 0.3s cubic-bezier(0.75, -0.02, 0.2, 0.97);\n}\n\n.lf-popover-content.hidden {\n opacity: 0;\n visibility: hidden;\n transform: translate(0, 0px);\n}\n\n.lf-player-btn-container {\n display: flex;\n align-items: center;\n}\n.lf-player-btn {\n cursor: pointer;\n fill: #999;\n width: 14px;\n}\n\n.lf-player-btn.active {\n fill: #555;\n}\n\n.lf-popover {\n position: relative;\n}\n\n.lf-popover-content {\n display: inline-block;\n position: absolute;\n background-color: #ffffff;\n opacity: 1;\n\n transform: translate(0, -10px);\n box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);\n transition: all 0.3s cubic-bezier(0.75, -0.02, 0.2, 0.97);\n padding: 10px;\n}\n\n.lf-popover-content.hidden {\n opacity: 0;\n visibility: hidden;\n transform: translate(0, 0px);\n}\n\n.lf-arrow {\n position: absolute;\n z-index: -1;\n content: '';\n bottom: -9px;\n border-style: solid;\n border-width: 10px 10px 0px 10px;\n}\n\n.lf-left-align,\n.lf-left-align .lfarrow {\n left: 0;\n right: unset;\n}\n\n.lf-right-align,\n.lf-right-align .lf-arrow {\n right: 0;\n left: unset;\n}\n\n.lf-text-input {\n border: 1px #ccc solid;\n border-radius: 5px;\n padding: 3px;\n width: 60px;\n margin: 0;\n}\n\n.lf-color-picker {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n height: 90px;\n}\n\n.lf-color-selectors {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n\n.lf-color-component {\n display: flex;\n flex-direction: row;\n font-size: 12px;\n align-items: center;\n justify-content: center;\n}\n\n.lf-color-component strong {\n width: 40px;\n}\n\n.lf-color-component input[type='range'] {\n margin: 0 0 0 10px;\n}\n\n.lf-color-component input[type='number'] {\n width: 50px;\n margin: 0 0 0 10px;\n}\n\n.lf-color-preview {\n font-size: 12px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n padding-left: 5px;\n}\n\n.lf-preview {\n height: 60px;\n width: 60px;\n}\n\n.lf-popover-snapshot {\n width: 150px;\n}\n.lf-popover-snapshot h5 {\n margin: 5px 0 10px 0;\n font-size: 0.75rem;\n}\n.lf-popover-snapshot a {\n display: block;\n text-decoration: none;\n}\n.lf-popover-snapshot a:before {\n content: '⥼';\n margin-right: 5px;\n}\n.lf-popover-snapshot .lf-note {\n display: block;\n margin-top: 10px;\n color: #999;\n}\n.lf-player-controls > div {\n margin-right: 5px;\n margin-left: 5px;\n}\n.lf-player-controls > div:first-child {\n margin-left: 0px;\n}\n.lf-player-controls > div:last-child {\n margin-right: 0px;\n}\n";styleInject(css_248z);var ColorPicker=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={red:0,green:0,blue:0,rgba:null,hex:"#000000",colorComponents:[]},t.handleChange=function(e,n){if("r"===e){var a="#"+(256|n).toString(16).slice(1)+(256|t.state.green).toString(16).slice(1)+(256|t.state.blue).toString(16).slice(1);t.setState({hex:a})}else"g"===e?(a="#"+(256|t.state.red).toString(16).slice(1)+(256|n).toString(16).slice(1)+(256|t.state.blue).toString(16).slice(1),t.setState({hex:a})):"b"===e&&(a="#"+(256|t.state.red).toString(16).slice(1)+(256|t.state.green).toString(16).slice(1)+(256|n).toString(16).slice(1),t.setState({hex:a}))},t.parseColor=function(e){var n;if("string"==typeof e){if("#"===e[0]){var a=4===e.length?[e.slice(1,2),e.slice(2,3),e.slice(3,4)].map((function(e){return parseInt(""+e+e,16)})):[e.slice(1,3),e.slice(3,5),e.slice(5,7)].map((function(e){return parseInt(e,16)}));t.setState({colorComponents:a})}else e.startsWith("rgb")&&void 0!==(a=null===(n=e.match(/\d+/g))||void 0===n?void 0:n.map((function(e){return parseInt(e)})))&&t.setState({colorComponents:a});t.state.colorComponents.length&&(t.setState({red:t.state.colorComponents[0]}),t.setState({green:t.state.colorComponents[1]}),t.setState({blue:t.state.colorComponents[2]}))}},t}return __extends(t,e),t.prototype.componentDidUpdate=function(e,t){return this.props.colorChangedEvent&&this.state.hex!==t.hex&&this.props.colorChangedEvent(this.state.hex),!0},t.prototype.render=function(){var e=this;return React__namespace.createElement("div",{className:"lf-color-picker"},React__namespace.createElement("div",{className:"lf-color-selectors"},React__namespace.createElement("div",{className:"lf-color-component"},React__namespace.createElement("strong",null,"Red"),React__namespace.createElement("input",{type:"range",min:"0",max:"255",value:this.state.red,onChange:function(t){e.setState({red:t.target.value}),e.handleChange("r",t.target.value)}}),React__namespace.createElement("input",{className:"lf-text-input",type:"number",min:"0",max:"255",value:this.state.red,onChange:function(t){e.setState({red:t.target.value}),e.handleChange("r",t.target.value)}})),React__namespace.createElement("div",{className:"lf-color-component"},React__namespace.createElement("strong",null,"Green"),React__namespace.createElement("input",{type:"range",min:"0",max:"255",value:this.state.green,onChange:function(t){e.setState({green:t.target.value}),e.handleChange("g",t.target.value)}}),React__namespace.createElement("input",{className:"lf-text-input",type:"number",min:"0",max:"255",value:this.state.green,onChange:function(t){e.setState({green:t.target.value}),e.handleChange("g",t.target.value)}})),React__namespace.createElement("div",{className:"lf-color-component"},React__namespace.createElement("strong",null,"Blue"),React__namespace.createElement("input",{type:"range",min:"0",max:"255",value:this.state.blue,onChange:function(t){e.setState({blue:t.target.value}),e.handleChange("b",t.target.value)}}),React__namespace.createElement("input",{className:"lf-text-input",type:"number",min:"0",max:"255",value:this.state.blue,onChange:function(t){e.setState({blue:t.target.value}),e.handleChange("b",t.target.value)}}))),React__namespace.createElement("div",{className:"lf-color-preview"},React__namespace.createElement("div",{className:"lf-preview",style:{background:"rgb("+this.state.red+", "+this.state.green+", "+this.state.blue+")"}}),React__namespace.createElement("div",null,React__namespace.createElement("input",{className:"lf-text-input",type:"text",value:this.state.hex,onChange:function(t){e.setState({hex:t.target.value}),e.parseColor(t.target.value)}}))))},t}(React__namespace.Component),Popover=function(e){var t=e.children,n=e.icon,a=React.useState(null),r=a[0],o=a[1],i=React.useState(null),l=i[0],s=i[1],d=React.useState(null),c=d[0],u=d[1],h=React.useState(!1),p=h[0],f=h[1];return React.useEffect((function(){if(r&&l){var e=r.getBoundingClientRect(),t=l.getBoundingClientRect(),n=e.left+t.width>window.innerWidth?-1:0;u(n)}}),[c,l,r]),React__namespace.createElement("div",{className:"lf-popover",onMouseOver:function(){f(!0)},onMouseLeave:function(){f(!1)},ref:function(e){o(e)}},React__namespace.createElement("div",{className:" lf-player-btn"},n),React__namespace.createElement("div",{className:"lf-popover-content",ref:function(e){s(e)},style:{bottom:"22px",right:"0px",zIndex:2,visibility:p?"visible":"hidden"}},t))},Seeker=function(e){function t(t){var n=e.call(this,t)||this;return n.inputRef=React__namespace.createRef(),n.handleChange=function(){return function(e){var t=e.target.value,a=Math.floor(t/100*n.props.max);n.props.onChange(a)}},n.state={value:0},n}return __extends(t,e),t.prototype.render=function(){var e=this.props.value/this.props.max*100,t={backgroundImage:"-webkit-gradient(linear, left top, right top, color-stop("+e+"%, rgba(15, 204, 206, 0.4)), color-stop("+e+"%, #DAE1E7))"},n={position:"absolute",left:0,marginTop:"8px",width:"20px",display:"block",border:"0px",backgroundColor:this.props.darkTheme?"#505050":"rgb(218, 225, 231)",color:this.props.darkTheme?"#B9B9B9":"#555",padding:"2px",textAlign:"center",borderRadius:"3px",fontSize:"8px",fontWeight:"bold"},a={position:"absolute",right:0,marginTop:"8px",width:"20px",display:"block",border:"0px",backgroundColor:this.props.darkTheme?"#505050":"rgb(218, 225, 231)",color:this.props.darkTheme?"#B9B9B9":"#555",padding:"2px",textAlign:"center",borderRadius:"3px",fontSize:"8px",fontWeight:"bold"};return React__namespace.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",width:"100%",marginRight:"5px",marginLeft:"5px",position:"relative"}},React__namespace.createElement("input",{ref:this.inputRef,id:"track",className:"lf-progress",name:"progress","aria-label":"progress",type:"range",min:"0",max:"100",step:"0.1",value:e,onInput:this.handleChange(),onChange:this.handleChange(),style:t}),this.props.showLabels&&React__namespace.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},React__namespace.createElement("div",{style:n},this.props.min),React__namespace.createElement("div",{style:a},this.props.max)))},t}(React__namespace.Component),ControlButtonStyle={display:"inline-flex",cursor:"pointer"};!function(e){function t(t){var n=e.call(this,t)||this;return n.state={activeFrame:0,mouseDown:!1},n}__extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.instance,a=t.playerState,r=t.seeker,o=t.setLoop,i=t.setSeeker,l=t.play,s=t.pause,d=t.stop,c=t.visible,u=t.buttons;if(!n)return null;if(!c)return null;var h=!u||u.includes("play"),p=!u||u.includes("stop"),f=!u||u.includes("repeat"),m=!u||u.includes("frame"),g=!u||u.includes("background"),y=!u||u.includes("snapshot"),v={width:14,height:14,viewBox:"0 0 24 24"},_=Math.round(n.currentFrame);return React__namespace.createElement("div",{className:"lf-player-controls",style:{display:"flex",justifyContent:"space-between",height:"60px",alignItems:"center",backgroundColor:this.props.transparentTheme?"transparent":this.props.darkTheme?"#3C3C3C":"#ffffff",paddingLeft:"10px",paddingRight:"10px"}},h&&React__namespace.createElement("div",{role:"button","aria-label":a===PlayerState.Playing?PlayerEvent.Pause:PlayerEvent.Play,tabIndex:0,onClick:function(){a===PlayerState.Playing?"function"==typeof s&&s():"function"==typeof l&&l()},onKeyDown:function(){a===PlayerState.Playing?"function"==typeof s&&s():"function"==typeof l&&l()},className:"lf-player-btn",style:ControlButtonStyle},a===PlayerState.Playing?React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("rect",{height:"22.9",rx:"1.9",width:"7.6",x:"14",y:".5"}),React__namespace.createElement("rect",{height:"22.9",rx:"1.9",width:"7.6",x:"2",y:".5"})):React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M2 3.4C2 1.9 3.5 1 4.8 1.8l16.5 9.6c1.2.7 1.2 2.5 0 3.2L4.8 24.2C3.5 25 2 24.1 2 22.6V3.4z"}))),p&&React__namespace.createElement("div",{tabIndex:0,role:"button","aria-label":PlayerEvent.Stop,onClick:function(){return d&&d()},onKeyDown:function(){return d&&d()},className:a===PlayerState.Stopped?"lf-player-btn active":"lf-player-btn",style:ControlButtonStyle},React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M2 3.667A1.67 1.67 0 0 1 3.667 2h16.666A1.67 1.67 0 0 1 22 3.667v16.666A1.67 1.67 0 0 1 20.333\n 22H3.667A1.67 1.67 0 0 1 2 20.333z"}))),React__namespace.createElement(Seeker,{min:0,step:1,max:n?n.totalFrames:1,value:r||0,onChange:function(t){i&&e.setState({activeFrame:t},(function(){i(t,!1)}))},onChangeEnd:function(t){i&&e.setState({activeFrame:t},(function(){i(t,!1)}))},showLabels:this.props.showLabels,darkTheme:this.props.darkTheme}),m&&React__namespace.createElement("div",{role:"button",className:"lf-player-btn-container"},React__namespace.createElement("input",{style:{outline:"none",border:this.props.darkTheme?"1px #505050 solid":"1px #ccc solid",borderRadius:"3px",width:"40px",textAlign:"center",backgroundColor:this.props.darkTheme?"#505050":"#ffffff",color:this.props.darkTheme?"#B9B9B9":"#999",fontSize:"0.7rem",padding:"0",fontFamily:"inherit"},type:"text",value:_,readOnly:!0})),f&&React__namespace.createElement("div",{role:"button","aria-label":PlayerEvent.Loop,tabIndex:0,onClick:function(){n&&o&&o(!n.loop)},onKeyDown:function(){n&&o&&o(!n.loop)},className:n.loop?"lf-player-btn active":"lf-player-btn",style:ControlButtonStyle},React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M12.5 16.8137h-.13v1.8939h4.9696c3.6455 0 6.6113-2.9658 6.6113-6.6116\n 0-3.64549-2.9658-6.61131-6.6113-6.61131-.5231 0-.947.42391-.947.94696 0 .52304.4239.94696.947.94696 2.6011 0\n 4.7174 2.11634 4.7174 4.71739 0 2.6014-2.1166 4.7177-4.7174 4.7177H12.5zM13.6025\n 5.61469v-.13H7.48137C3.83582 5.48469.87 8.45051.87 12.096c0 3.6509 3.17269 6.6117 6.81304 6.6117.52304 0\n .94696-.424.94696-.947 0-.5231-.42392-.947-.94696-.947-2.60804 0-4.91907-2.1231-4.91907-4.7176 0-2.60115\n 2.11634-4.71744 4.7174-4.71744h6.12113V5.61469z",stroke:"#8795A1",strokeWidth:".26"}),React__namespace.createElement("path",{d:"M11.1482\n 2.20355h0l-.001-.00116c-.3412-.40061-.9405-.44558-1.33668-.0996h-.00001c-.39526.34519-.43936.94795-.09898\n 1.34767l2.51487 3.03683-2.51894 3.06468c-.33872.40088-.29282 1.00363.10347\n 1.34723l.08517-.0982-.08517.0982c.17853.1549.39807.2308.61647.2308.2671 0 .5328-.114.72-.3347h0l.0011-.0014\n 3.0435-3.68655.0006-.00068c.3035-.35872.3025-.88754-.0019-1.24526l-3.0425-3.65786zM13.9453\n 21.7965h0l.001.0011c.3413.4006.9407.4456 1.337.0996h0c.3953-.3452.4395-.9479.099-1.3477l-2.5154-3.0368\n 2.5195-3.0647c.3388-.4008.2929-1.0036-.1035-1.3472l-.0852.0982.0852-.0982c-.1786-.1549-.3981-.2308-.6166-.2308-.2671\n 0-.5329.114-.7202.3347h0l-.0011.0014-3.0442\n 3.6865c-.0001.0003-.0003.0005-.0005.0007-.3036.3587-.3027.8876.0019 1.2453l3.0431 3.6579z",fill:"#8795A1",stroke:"#8795A1",strokeWidth:".26"}))),g&&React__namespace.createElement(Popover,{icon:React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M12 3.1L6.1 8.6a7.6 7.6 0 00-2.2 4 7.2 7.2 0 00.4 4.4 7.9 7.9 0 003 3.5 8.7 8.7 0 004.7 1.3c1.6 0\n 3.2-.5 4.6-1.3s2.4-2 3-3.5a7.2 7.2 0 00.5-4.5 7.6 7.6 0 00-2.2-4L12 3.2zM12 0l7.5 7a9.8 9.8 0 013 5.1\n 9.3 9.3 0 01-.6 5.8c-.9 1.8-2.2 3.3-4 4.4A11.2 11.2 0 0112 24a11.2 11.2 0\n 01-6-1.7c-1.7-1-3-2.6-3.9-4.4a9.3 9.3 0 01-.6-5.8c.4-2 1.5-3.7 3-5L12 0zM6 14h12c0 1.5-.7 3-1.8 4s-2.6\n 1.6-4.2 1.6S9 19 7.8 18s-1.7-2.5-1.7-4z"}))},React__namespace.createElement("div",{slot:"content",className:"lf-popover popover-background"},React__namespace.createElement(ColorPicker,{colorChangedEvent:this.props.colorChangedEvent}))),y&&React__namespace.createElement(Popover,{icon:React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{clipRule:"evenodd",d:"M0 3.01A2.983 2.983 0 012.983.027H16.99a2.983 2.983 0 012.983 2.983v14.008a2.982 2.982 0 01-2.983\n 2.983H2.983A2.983 2.983 0 010 17.018zm2.983-.941a.941.941 0 00-.942.94v14.01c0\n .52.422.94.942.94H16.99a.94.94 0 00.941-.94V3.008a.941.941 0 00-.94-.94H2.981z",fillRule:"evenodd"}),React__namespace.createElement("path",{d:"M12.229 7.945l-2.07 4.598-2.586-2.605-2.414 2.758v2.146h9.656V11.93z"}),React__namespace.createElement("circle",{cx:"7.444",cy:"6.513",r:"2.032"}),React__namespace.createElement("path",{d:"M9.561 23.916h11.25a2.929 2.929 0 002.926-2.927V9.954a1.06 1.06 0 10-2.122 0v11.035a.805.805 0\n 01-.803.804H9.562a1.061 1.061 0 100 2.123z",stroke:"#8795a1",strokeWidth:".215"}))},React__namespace.createElement("div",{slot:"content",className:"lf-popover lf-popover-snapshot",onWheel:function(e){i&&i(_+(e.deltaY>0?-1:1),!1)}},React__namespace.createElement("h5",null,"Frame ",_),React__namespace.createElement("div",{style:{cursor:"pointer",color:"#0FCCCE"},onClick:this.props.snapshot},"Download SVG"),React__namespace.createElement("div",{style:{cursor:"pointer",color:"#0FCCCE"},onClick:this.props.snapshot},"Download PNG"),React__namespace.createElement("i",{className:"lf-note"},"Scroll with mousewheel to find exact frame"))))}}(React__namespace.Component);var nm$2="Check",mn$2="",layers$2=[{ty:4,nm:"Check 2",mn:"",sr:1,st:0,op:75,ip:20,hd:!1,cl:"",ln:"",ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:0,k:[100,83.687,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{a:0,k:[75,74.604,0],ix:2},r:{a:0,k:0,ix:10},sa:{a:0,k:0},o:{a:0,k:100,ix:11}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Grupo 1",ix:1,cix:2,np:3,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Caminho 1",ix:1,d:1,ks:{a:0,k:{c:!1,i:[[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0]],v:[[-50,.396],[-17.209,33.687],[50,-33.687]]},ix:2}},{ty:"tm",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Filter - Trim",nm:"Aparar caminhos 1",ix:2,e:{a:1,k:[{o:{x:.599,y:0},i:{x:.188,y:1},s:[0],t:20},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[100],t:45}],ix:2},o:{a:0,k:0,ix:3},s:{a:0,k:0,ix:1},m:1},{ty:"st",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Stroke",nm:"Traçado 1",lc:2,lj:2,ml:1,o:{a:0,k:100,ix:4},w:{a:0,k:20,ix:5},d:[],c:{a:0,k:[1,1,1],ix:3}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[100,83.686],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:1},{ty:3,mn:"",sr:1,st:0,op:91.2,ip:75,hd:!1,cl:"",ln:"",ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:0,k:[100,83.687,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{a:0,k:[75,74.604,0],ix:2},r:{a:0,k:0,ix:10},sa:{a:0,k:0},o:{a:0,k:100,ix:11}},ind:2},{ty:3,mn:"",sr:1,st:0,op:40,ip:0,hd:!1,cl:"",ln:"",ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:0,k:[100,83.687,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{a:0,k:[75,74.604,0],ix:2},r:{a:0,k:0,ix:10},sa:{a:0,k:0},o:{a:0,k:100,ix:11}},ind:3}],ddd$2=0,h$2=150,w$2=150,meta$2={a:"",k:"",d:"",g:"@lottiefiles/toolkit-js 0.22.1",tc:"#000000"},v$2="5.1.3",fr$2=60,op$2=70,ip$2=0,assets$2=[],AnimationCheck={nm:nm$2,mn:mn$2,layers:layers$2,ddd:ddd$2,h:h$2,w:w$2,meta:meta$2,v:v$2,fr:fr$2,op:op$2,ip:ip$2,assets:assets$2},nm$1="Comp 1",mn$1="",layers$1=[{ty:0,nm:"Pre-comp 1",mn:"",sr:1,st:0,op:211,ip:0,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[150,150,0],ix:1},s:{a:0,k:[41,41,100],ix:6},sk:{a:0,k:0},p:{a:0,k:[150,150,0],ix:2},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],w:300,h:300,refId:"comp_0",ind:0}],ddd$1=0,h$1=300,w$1=300,meta$1={a:"",k:"",d:"",g:"LottieFiles AE 1.0.0",tc:"#000000"},v$1="4.8.0",fr$1=60,op$1=41,ip$1=9,assets$1=[{nm:"",mn:"",layers:[{ty:4,nm:"ball4",mn:"",sr:1,st:25,op:71,ip:40,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:223,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:25},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:40},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:55},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:70}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:0},{ty:4,nm:"ball 4",mn:"",sr:1,st:20,op:66,ip:35,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:150,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:20},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:35},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:50},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:65}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:1},{ty:4,nm:"ball 3",mn:"",sr:1,st:15,op:61,ip:30,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:77,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:15},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:30},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:45},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:60}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:2},{ty:4,nm:"ball3",mn:"",sr:1,st:-6,op:40,ip:9,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:223,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:-6},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:9},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:24},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:39}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:3},{ty:4,nm:"ball 2",mn:"",sr:1,st:-11,op:35,ip:4,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:150,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:-11},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:4},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:19},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:34}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:4},{ty:4,nm:"ball 1",mn:"",sr:1,st:-16,op:30,ip:-1,hd:!1,cl:"",ln:"",ddd:0,bm:0,tt:0,hasMask:!1,td:0,ao:0,ks:{a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{s:!0,x:{a:0,k:77,ix:3},y:{a:1,k:[{o:{x:.534,y:0},i:{x:.465,y:1},s:[169.5],t:-16},{o:{x:.514,y:0},i:{x:.424,y:1},s:[129.5],t:-1},{o:{x:.054,y:0},i:{x:.465,y:1},s:[169.5],t:14},{o:{x:.167,y:.167},i:{x:.833,y:.833},s:[129.5],t:29}],ix:4}},sa:{a:0,k:0},o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10}},ef:[],shapes:[{ty:"gr",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-14.359],[14.359,0],[0,14.359],[-14.359,0]],o:[[0,14.359],[-14.359,0],[0,-14.359],[14.359,0]],v:[[26,0],[0,26],[-26,0],[0,-26]]},ix:2}},{ty:"fl",bm:0,cl:"",ln:"",hd:!1,mn:"ADBE Vector Graphic - Fill",nm:"Fill 1",c:{a:0,k:[1,1,1],ix:4},r:1,o:{a:0,k:100,ix:5}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[0,0],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]}],ind:5}],id:"comp_0",fr:30}],AnimationLoading={nm:nm$1,mn:mn$1,layers:layers$1,ddd:ddd$1,h:h$1,w:w$1,meta:meta$1,v:v$1,fr:fr$1,op:op$1,ip:ip$1,assets:assets$1};const ButtonPrimary=qe.button`
122
122
  display: flex;
123
123
  flex-direction: row;
124
124
  align-items: center;
@@ -139,7 +139,7 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
139
139
  :active {
140
140
  transform: ${e=>e.disabled||e.loading?"none":"scale(0.95)"};
141
141
  }
142
- `,Label$2=qe(Text)`
142
+ `,Label$2=qe(Text$1)`
143
143
  font-size: ${e=>"small"===e.size?"14px":"15px"};
144
144
  width: 100%;
145
145
  margin-left: ${e=>e.icon?6:0};
@@ -165,7 +165,7 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
165
165
  :active {
166
166
  transform: ${e=>e.disabled||e.loading?"none":"scale(0.95)"};
167
167
  }
168
- `,Label$1=qe(Text)`
168
+ `,Label$1=qe(Text$1)`
169
169
  font-size: ${e=>"small"===e.size?"14px":"15px"};
170
170
  width: 100%;
171
171
  color: white;
@@ -214,10 +214,10 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
214
214
  }
215
215
  `,ChildrenView$1=qe.div`
216
216
  margin-top: 4px;
217
- `,Icon$1=qe.img`
217
+ `,Icon$2=qe.img`
218
218
  height: 24px;
219
219
  width: 24px;
220
- `,ButtonImage=e=>jsxRuntime.jsxs(Container$6,Object.assign({role:"button"},e,{disabled:e.disabled||e.loading,onClick:t=>e.onClick&&!e.loading&&!e.disabled&&e.onClick(t)},{children:[e.icon?e.icon:jsxRuntime.jsx(Icon$1,{src:e.src}),jsxRuntime.jsx(ChildrenView$1,{children:e.children})]})),CallToActionStyled=qe.button`
220
+ `,ButtonImage=e=>jsxRuntime.jsxs(Container$6,Object.assign({role:"button"},e,{disabled:e.disabled||e.loading,onClick:t=>e.onClick&&!e.loading&&!e.disabled&&e.onClick(t)},{children:[e.icon?e.icon:jsxRuntime.jsx(Icon$2,{src:e.src}),jsxRuntime.jsx(ChildrenView$1,{children:e.children})]})),CallToActionStyled=qe.button`
221
221
  display: flex;
222
222
  gap: 8px;
223
223
  align-items: center;
@@ -288,20 +288,20 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
288
288
  :hover{
289
289
  background-color: ${Color.background.soft};
290
290
  }
291
- `,Icon=qe.div`
291
+ `,Icon$1=qe.div`
292
292
  display: flex;
293
293
  align-items: center;
294
294
  justify-content: center;
295
295
  height: 24px;
296
296
  width: 24px;
297
297
  margin-right: 8px;
298
- `,Title$1=qe(Text)`
298
+ `,Title$1=qe(Text$1)`
299
299
  flex: 1;
300
300
  color: ${e=>e.color?e.color:Color.text.full};
301
301
  margin-left: 6px;
302
302
  margin-top: ${e=>e.focus?"15px":"0px"};
303
303
  transition: margin-top 0.1s ease-out;
304
- `,Select$1=e=>{var t;const n=Flags,[a,r]=React.useState(!1),[o,i]=React.useState(void 0),[l,s]=React.useState(e.options),[d,c]=React.useState(void 0);React.useEffect((()=>{if(e.options){const t=e.options.sort(((e,t)=>e.esCountry.localeCompare(t.esCountry)));c(new Fuse(t,{keys:["esCountry","enCountry","prefix"]})),i(Object.assign(Object.assign({},e.options[0]),{flag:n[e.options[0].countryCode]})),s(t)}}),[e.options]),React.useEffect((()=>(window.addEventListener("mousedown",(e=>u(e))),window.removeEventListener("mousedown",(()=>{})))),[]),React.useEffect((()=>{e.selectedItem&&i(Object.assign(Object.assign({},e.selectedItem),{flag:n[e.selectedItem.countryCode]}))}),[e.selectedItem]);const u=t=>{const n=document.getElementById(e.id);n&&(n.contains(t.target)||r(!1))};return jsxRuntime.jsxs(Container$5,{children:[jsxRuntime.jsx(SelectStyled$1,Object.assign({role:"select",style:e.style,showMenu:a,onClick:e=>{if(!e)e=window.event;e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),r(!a)}},{children:o&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(Icon,{children:jsxRuntime.jsx(o.flag,{height:24,width:24})}),a?jsxRuntime.jsx(ChevronUp,{height:20,width:20,color:Color.text.high}):jsxRuntime.jsx(ChevronDown,{height:20,width:20,color:Color.text.high}),jsxRuntime.jsx(Title$1,Object.assign({type:"p",focus:e.focus,color:null===(t=e.style)||void 0===t?void 0:t.color},{children:o.prefix}))]})})),a&&jsxRuntime.jsxs(OptionsView$1,Object.assign({role:"menu",id:e.id,style:e.optionStyle},{children:[jsxRuntime.jsx(SearchBar,{id:"phone-search-bar",placeholder:"Buscar",type:"small",style:{padding:"8px 16px",position:"sticky",backgroundColor:"white",top:0,borderBottom:"1px solid "+Color.line.soft,height:30},design:"secondary",onChange:t=>{const n=t.target.value;if(n){const e=d.search(n).map((e=>e.item));s(e)}else s(e.options)}}),l&&l.map(((t,a)=>{const o=n[t.countryCode];return jsxRuntime.jsxs(Option$1,Object.assign({role:"country"+a,onClick:a=>((t,a)=>{a||(a=window.event);a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation(),i(Object.assign(Object.assign({},t),{flag:n[t.countryCode]})),r(!1),s(e.options),e.onChange&&e.onChange(t)})(t,a)},{children:[jsxRuntime.jsx(Icon,{children:jsxRuntime.jsx(o,{height:24,width:24})}),jsxRuntime.jsxs(Text,Object.assign({type:"p",style:{fontSize:14,display:"flex",alignItems:"center"}},{children:[t.esCountry,jsxRuntime.jsxs("span",Object.assign({style:{marginLeft:4}},{children:["(",t.prefix,")"]}))]}))]}),"country"+a)}))]}))]})},Input$1=qe.input`
304
+ `,Select$1=e=>{var t;const n=Flags,[a,r]=React.useState(!1),[o,i]=React.useState(void 0),[l,s]=React.useState(e.options),[d,c]=React.useState(void 0);React.useEffect((()=>{if(e.options){const t=e.options.sort(((e,t)=>e.esCountry.localeCompare(t.esCountry)));c(new Fuse(t,{keys:["esCountry","enCountry","prefix"]})),i(Object.assign(Object.assign({},e.options[0]),{flag:n[e.options[0].countryCode]})),s(t)}}),[e.options]),React.useEffect((()=>(window.addEventListener("mousedown",(e=>u(e))),window.removeEventListener("mousedown",(()=>{})))),[]),React.useEffect((()=>{e.selectedItem&&i(Object.assign(Object.assign({},e.selectedItem),{flag:n[e.selectedItem.countryCode]}))}),[e.selectedItem]);const u=t=>{const n=document.getElementById(e.id);n&&(n.contains(t.target)||r(!1))};return jsxRuntime.jsxs(Container$5,{children:[jsxRuntime.jsx(SelectStyled$1,Object.assign({role:"select",style:e.style,showMenu:a,onClick:e=>{if(!e)e=window.event;e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),r(!a)}},{children:o&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(Icon$1,{children:jsxRuntime.jsx(o.flag,{height:24,width:24})}),a?jsxRuntime.jsx(ChevronUp,{height:20,width:20,color:Color.text.high}):jsxRuntime.jsx(ChevronDown,{height:20,width:20,color:Color.text.high}),jsxRuntime.jsx(Title$1,Object.assign({type:"p",focus:e.focus,color:null===(t=e.style)||void 0===t?void 0:t.color},{children:o.prefix}))]})})),a&&jsxRuntime.jsxs(OptionsView$1,Object.assign({role:"menu",id:e.id,style:e.optionStyle},{children:[jsxRuntime.jsx(SearchBar,{id:"phone-search-bar",placeholder:"Buscar",type:"small",style:{padding:"8px 16px",position:"sticky",backgroundColor:"white",top:0,borderBottom:"1px solid "+Color.line.soft,height:30},design:"secondary",onChange:t=>{const n=t.target.value;if(n){const e=d.search(n).map((e=>e.item));s(e)}else s(e.options)}}),l&&l.map(((t,a)=>{const o=n[t.countryCode];return jsxRuntime.jsxs(Option$1,Object.assign({role:"country"+a,onClick:a=>((t,a)=>{a||(a=window.event);a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation(),i(Object.assign(Object.assign({},t),{flag:n[t.countryCode]})),r(!1),s(e.options),e.onChange&&e.onChange(t)})(t,a)},{children:[jsxRuntime.jsx(Icon$1,{children:jsxRuntime.jsx(o,{height:24,width:24})}),jsxRuntime.jsxs(Text$1,Object.assign({type:"p",style:{fontSize:14,display:"flex",alignItems:"center"}},{children:[t.esCountry,jsxRuntime.jsxs("span",Object.assign({style:{marginLeft:4}},{children:["(",t.prefix,")"]}))]}))]}),"country"+a)}))]}))]})},Input$1=qe.input`
305
305
  font-family: 'Poppins';
306
306
  font-size: 15px;
307
307
  border: none;
@@ -349,7 +349,7 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
349
349
  flex-direction: column;
350
350
  `,IconView$2=qe.div`
351
351
  margin-right: 8px;
352
- `,InputPrimary=e=>{const t=GLPN.PhoneNumberUtil.getInstance(),[n,a]=React.useState(void 0),[r,o]=React.useState(Country[0]),[i,l]=React.useState(!1);React.useEffect((()=>{a(e.value)}),[e.value]),React.useEffect((()=>{if(e.country){const t=Country.filter((t=>t.countryCode===e.country));o(t[0])}}),[e.country]);return jsxRuntime.jsxs(Container$4,Object.assign({style:e.containerStyle},{children:[jsxRuntime.jsxs(InputContainer$1,Object.assign({error:!!e.error,style:e.style,focus:i},{children:[e.icon?jsxRuntime.jsx(IconView$2,{children:e.icon}):"tel"===e.type?jsxRuntime.jsx(IconView$2,{children:jsxRuntime.jsx(Select$1,{optionStyle:{top:45},selectedItem:r,onChange:a=>(a=>{o(a);const r=a.prefix+(n||"");e.onPhoneChange&&e.onPhoneChange({country:a.prefix,value:n,isValid:r.length>=6&&r.length<18&&t.isValidNumberForRegion(t.parse(r,a.countryCode),a.countryCode)})})(a),id:"country",options:Country,focus:!1})}):null,jsxRuntime.jsx(Column$1,{children:jsxRuntime.jsx(InputStyled$1,Object.assign({},e,{value:n,onChange:n=>{if(a(n.target.value),e.onChange&&e.onChange(n),"tel"===e.type){const a=r.prefix+n.target.value;e.onPhoneChange&&e.onPhoneChange({country:r.prefix,value:n.target.value,isValid:a.length>8&&a.length<18&&t.isValidNumberForRegion(t.parse(a,r.countryCode),r.countryCode)})}},onFocus:t=>{l(!0),e.onFocus&&e.onFocus(t)},onBlur:t=>{l(!1),e.onBlur&&e.onBlur(t)}}))})]})),e.error&&jsxRuntime.jsx(ErrorDiv$1,Object.assign({role:"error"},{children:jsxRuntime.jsx(Text,Object.assign({type:"p",style:{color:Color.status.color.error,marginTop:8,fontSize:14,lineHeight:"18px"}},{children:e.error}))}))]}))},Container$3=qe.div`
352
+ `,InputPrimary=e=>{const t=GLPN.PhoneNumberUtil.getInstance(),[n,a]=React.useState(void 0),[r,o]=React.useState(Country[0]),[i,l]=React.useState(!1);React.useEffect((()=>{a(e.value)}),[e.value]),React.useEffect((()=>{if(e.country){const t=Country.filter((t=>t.countryCode===e.country));o(t[0])}}),[e.country]);return jsxRuntime.jsxs(Container$4,Object.assign({style:e.containerStyle},{children:[jsxRuntime.jsxs(InputContainer$1,Object.assign({error:!!e.error,style:e.style,focus:i},{children:[e.icon?jsxRuntime.jsx(IconView$2,{children:e.icon}):"tel"===e.type?jsxRuntime.jsx(IconView$2,{children:jsxRuntime.jsx(Select$1,{optionStyle:{top:45},selectedItem:r,onChange:a=>(a=>{o(a);const r=a.prefix+(n||"");e.onPhoneChange&&e.onPhoneChange({country:a.prefix,value:n,isValid:r.length>=6&&r.length<18&&t.isValidNumberForRegion(t.parse(r,a.countryCode),a.countryCode)})})(a),id:"country",options:Country,focus:!1})}):null,jsxRuntime.jsx(Column$1,{children:jsxRuntime.jsx(InputStyled$1,Object.assign({},e,{value:n,onChange:n=>{if(a(n.target.value),e.onChange&&e.onChange(n),"tel"===e.type){const a=r.prefix+n.target.value;e.onPhoneChange&&e.onPhoneChange({country:r.prefix,value:n.target.value,isValid:a.length>8&&a.length<18&&t.isValidNumberForRegion(t.parse(a,r.countryCode),r.countryCode)})}},onFocus:t=>{l(!0),e.onFocus&&e.onFocus(t)},onBlur:t=>{l(!1),e.onBlur&&e.onBlur(t)}}))})]})),e.error&&jsxRuntime.jsx(ErrorDiv$1,Object.assign({role:"error"},{children:jsxRuntime.jsx(Text$1,Object.assign({type:"p",style:{color:Color.status.color.error,marginTop:8,fontSize:14,lineHeight:"18px"}},{children:e.error}))}))]}))},Container$3=qe.div`
353
353
  `,InputContainer=qe.div`
354
354
  position: relative;
355
355
  display: flex;
@@ -378,14 +378,14 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
378
378
  flex-direction: column;
379
379
  `,IconView$1=qe.div`
380
380
  margin-right: 8px;
381
- `,Placeholder=qe(Text)`
381
+ `,Placeholder=qe(Text$1)`
382
382
  position: absolute;
383
383
  top: ${e=>e.focus?"8px":"16px"};
384
384
  left: ${e=>e.phone?e.focus?"74px":"112px":"unset"};
385
385
  color: ${e=>e.error?Color.status.color.error:Color.text.high};
386
386
  font-size: ${e=>e.focus?"12px":"15px"} !important;
387
387
  transition: top 0.1s ease-out, font-size 0.1s ease-out;
388
- `,InputSecondary=e=>{const t=GLPN.PhoneNumberUtil.getInstance(),n=React.useRef(null),[a,r]=React.useState(void 0),[o,i]=React.useState(Country[0]),[l,s]=React.useState(!1);React.useEffect((()=>{r(e.value)}),[e.value]),React.useEffect((()=>{if(e.country){const t=Country.filter((t=>t.countryCode===e.country));i(t[0])}}),[e.country]);return jsxRuntime.jsxs(Container$3,Object.assign({style:e.containerStyle},{children:[jsxRuntime.jsxs(InputContainer,Object.assign({error:!!e.error,style:e.style,focus:l,onClick:()=>{var e;return null===(e=n.current)||void 0===e?void 0:e.focus()}},{children:[e.icon?jsxRuntime.jsx(IconView$1,{children:e.icon}):"tel"===e.type?jsxRuntime.jsx(IconView$1,{children:jsxRuntime.jsx(Select$1,{selectedItem:o,onChange:n=>(n=>{i(n);const r=n.prefix+(a||"");e.onPhoneChange&&e.onPhoneChange({country:n.prefix,value:a,isValid:r.length>=6&&r.length<18&&t.isValidNumberForRegion(t.parse(r,n.countryCode),n.countryCode)})})(n),id:"country",options:Country,focus:!(!l&&!a)})}):null,jsxRuntime.jsxs(Column,{children:[jsxRuntime.jsx(Placeholder,Object.assign({role:"placeholder",type:"p",phone:"tel"===e.type,focus:!!(l||a||e.defaultValue),error:!!e.error},{children:e.placeholder})),jsxRuntime.jsx(InputStyled$1,Object.assign({ref:n},e,{value:e.value?e.value:a,placeholder:"",style:Object.assign({marginTop:14,opacity:"date"===e.type||"time"===e.type?l||a||e.defaultValue?1:0:1},e.style),onChange:n=>{if(r(n.target.value),e.onChange&&e.onChange(n),"tel"===e.type){const a=o.prefix+n.target.value;e.onPhoneChange&&e.onPhoneChange({country:o.prefix,value:n.target.value,isValid:a.length>8&&a.length<18&&t.isValidNumberForRegion(t.parse(a,o.countryCode),o.countryCode)})}},onFocus:t=>{s(!0),e.onFocus&&e.onFocus(t)},onBlur:t=>{s(!1),e.onBlur&&e.onBlur(t)}}))]})]})),e.error&&jsxRuntime.jsx(ErrorDiv,Object.assign({role:"error"},{children:jsxRuntime.jsx(Text,Object.assign({type:"p",style:{color:Color.status.color.error,marginTop:8,fontSize:14,lineHeight:"18px"}},{children:e.error}))}))]}))},Container$2=qe.div`
388
+ `,InputSecondary=e=>{const t=GLPN.PhoneNumberUtil.getInstance(),n=React.useRef(null),[a,r]=React.useState(void 0),[o,i]=React.useState(Country[0]),[l,s]=React.useState(!1);React.useEffect((()=>{r(e.value)}),[e.value]),React.useEffect((()=>{if(e.country){const t=Country.filter((t=>t.countryCode===e.country));i(t[0])}}),[e.country]);return jsxRuntime.jsxs(Container$3,Object.assign({style:e.containerStyle},{children:[jsxRuntime.jsxs(InputContainer,Object.assign({error:!!e.error,style:e.style,focus:l,onClick:()=>{var e;return null===(e=n.current)||void 0===e?void 0:e.focus()}},{children:[e.icon?jsxRuntime.jsx(IconView$1,{children:e.icon}):"tel"===e.type?jsxRuntime.jsx(IconView$1,{children:jsxRuntime.jsx(Select$1,{selectedItem:o,onChange:n=>(n=>{i(n);const r=n.prefix+(a||"");e.onPhoneChange&&e.onPhoneChange({country:n.prefix,value:a,isValid:r.length>=6&&r.length<18&&t.isValidNumberForRegion(t.parse(r,n.countryCode),n.countryCode)})})(n),id:"country",options:Country,focus:!(!l&&!a)})}):null,jsxRuntime.jsxs(Column,{children:[jsxRuntime.jsx(Placeholder,Object.assign({role:"placeholder",type:"p",phone:"tel"===e.type,focus:!!(l||a||e.defaultValue),error:!!e.error},{children:e.placeholder})),jsxRuntime.jsx(InputStyled$1,Object.assign({ref:n},e,{value:e.value?e.value:a,placeholder:"",style:Object.assign({marginTop:14,opacity:"date"===e.type||"time"===e.type?l||a||e.defaultValue?1:0:1},e.style),onChange:n=>{if(r(n.target.value),e.onChange&&e.onChange(n),"tel"===e.type){const a=o.prefix+n.target.value;e.onPhoneChange&&e.onPhoneChange({country:o.prefix,value:n.target.value,isValid:a.length>8&&a.length<18&&t.isValidNumberForRegion(t.parse(a,o.countryCode),o.countryCode)})}},onFocus:t=>{s(!0),e.onFocus&&e.onFocus(t)},onBlur:t=>{s(!1),e.onBlur&&e.onBlur(t)}}))]})]})),e.error&&jsxRuntime.jsx(ErrorDiv,Object.assign({role:"error"},{children:jsxRuntime.jsx(Text$1,Object.assign({type:"p",style:{color:Color.status.color.error,marginTop:8,fontSize:14,lineHeight:"18px"}},{children:e.error}))}))]}))},Container$2=qe.div`
389
389
  display: flex;
390
390
  flex-direction: column;
391
391
  position: relative;
@@ -475,7 +475,7 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
475
475
  flex-direction: row;
476
476
  justify-content: space-between;
477
477
  margin-top: 8px;
478
- `,InputRange=e=>{const t=React.createRef(),[n,a]=React.useState(e.value&&"number"==typeof e.value?e.value:e.defaultValue&&"number"==typeof e.defaultValue?e.defaultValue:0),[r,o]=React.useState(0),{style:i}=e,l=__rest(e,["style"]);React.useEffect((()=>{e.value&&"number"==typeof e.value&&a(e.value)}),[e.value]),React.useEffect((()=>{t.current&&o(t.current.offsetWidth)}),[t.current]);return jsxRuntime.jsxs(Container$2,Object.assign({ref:t,style:i},{children:[!e.hideRange&&jsxRuntime.jsx(RangeValue,Object.assign({role:"range",id:"bubbleHeight",value:e.min&&e.max?(n-e.min)/(e.max-e.min)*r:n/100*r},{children:jsxRuntime.jsx(RangeValueSpan,{children:n})})),jsxRuntime.jsx(InputStyled,Object.assign({role:"input"},l,{id:"rangeHeight",type:"range",backValue:e.min&&e.max?(n-e.min)/(e.max-e.min)*r:n/100*r,onChange:t=>{a(parseInt(t.target.value)),e.onChange&&e.onChange(t)}})),e.min&&e.max?jsxRuntime.jsxs(BottomRow,{children:[jsxRuntime.jsxs(Text,Object.assign({type:"p2",style:{color:Color.text.high}},{children:[e.min," ",e.unit]})),jsxRuntime.jsxs(Text,Object.assign({type:"p2",style:{color:Color.text.high}},{children:[e.max," ",e.unit]}))]}):null]}))};var dist={},PlacesAutocomplete$1={},propTypes={exports:{}},objectAssign,hasRequiredObjectAssign,ReactPropTypesSecret_1,hasRequiredReactPropTypesSecret,has,hasRequiredHas,checkPropTypes_1,hasRequiredCheckPropTypes,factoryWithTypeCheckers,hasRequiredFactoryWithTypeCheckers,factoryWithThrowingShims,hasRequiredFactoryWithThrowingShims;function requireObjectAssign(){if(hasRequiredObjectAssign)return objectAssign;hasRequiredObjectAssign=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return objectAssign=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={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(a,r){for(var o,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(a),s=1;s<arguments.length;s++){for(var d in o=Object(arguments[s]))t.call(o,d)&&(l[d]=o[d]);if(e){i=e(o);for(var c=0;c<i.length;c++)n.call(o,i[c])&&(l[i[c]]=o[i[c]])}}return l},objectAssign}function requireReactPropTypesSecret(){if(hasRequiredReactPropTypesSecret)return ReactPropTypesSecret_1;hasRequiredReactPropTypesSecret=1;return ReactPropTypesSecret_1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function requireHas(){return hasRequiredHas?has:(hasRequiredHas=1,has=Function.call.bind(Object.prototype.hasOwnProperty))}function requireCheckPropTypes(){if(hasRequiredCheckPropTypes)return checkPropTypes_1;hasRequiredCheckPropTypes=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=requireReactPropTypesSecret(),n={},a=requireHas();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,o,i,l,s){if("production"!==process.env.NODE_ENV)for(var d in r)if(a(r,d)){var c;try{if("function"!=typeof r[d]){var u=Error((l||"React class")+": "+i+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}c=r[d](o,d,l,i,null,t)}catch(e){c=e}if(!c||c instanceof Error||e((l||"React class")+": type specification of "+i+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in n)){n[c.message]=!0;var h=s?s():"";e("Failed "+i+" type: "+c.message+(null!=h?h:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},checkPropTypes_1=r}function requireFactoryWithTypeCheckers(){if(hasRequiredFactoryWithTypeCheckers)return factoryWithTypeCheckers;hasRequiredFactoryWithTypeCheckers=1;var e=reactIs$1.exports,t=requireObjectAssign(),n=requireReactPropTypesSecret(),a=requireHas(),r=requireCheckPropTypes(),o=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),factoryWithTypeCheckers=function(l,s){var d="function"==typeof Symbol&&Symbol.iterator,c="@@iterator";var u="<<anonymous>>",h={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:m(i),arrayOf:function(e){return m((function(t,a,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[a];if(!Array.isArray(l))return new f("Invalid "+o+" `"+i+"` of type `"+_(l)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<l.length;s++){var d=e(l,s,r,o,i+"["+s+"]",n);if(d instanceof Error)return d}return null}))},element:m((function(e,t,n,a,r){var o=e[t];return l(o)?null:new f("Invalid "+a+" `"+r+"` of type `"+_(o)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,a,r,o){var i=t[n];return e.isValidElementType(i)?null:new f("Invalid "+r+" `"+o+"` of type `"+_(i)+"` supplied to `"+a+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,a,r,o){if(!(t[n]instanceof e)){var i=e.name||u;return new f("Invalid "+r+" `"+o+"` of type `"+(((l=t[n]).constructor&&l.constructor.name?l.constructor.name:u)+"` supplied to `")+a+"`, expected instance of `"+i+"`.")}var l;return null}))},node:m((function(e,t,n,a,r){return v(e[t])?null:new f("Invalid "+a+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,r,o,i,l){if("function"!=typeof e)return new f("Property `"+l+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var s=t[r],d=_(s);if("object"!==d)return new f("Invalid "+i+" `"+l+"` of type `"+d+"` supplied to `"+o+"`, expected an object.");for(var c in s)if(a(s,c)){var u=e(s,c,o,i,l+"."+c,n);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i;return m((function(t,n,a,r,o){for(var i=t[n],l=0;l<e.length;l++)if(p(i,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===b(t)?String(t):t}));return new f("Invalid "+r+" `"+o+"` of value `"+String(i)+"` supplied to `"+a+"`, expected one of "+s+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(r)+" at index "+t+"."),i}return m((function(t,r,o,i,l){for(var s=[],d=0;d<e.length;d++){var c=(0,e[d])(t,r,o,i,l,n);if(null==c)return null;c.data&&a(c.data,"expectedType")&&s.push(c.data.expectedType)}return new f("Invalid "+i+" `"+l+"` supplied to `"+o+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,a,r,o,i){var l=t[a],s=_(l);if("object"!==s)return new f("Invalid "+o+" `"+i+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var d in e){var c=e[d];if("function"!=typeof c)return y(r,o,i,d,b(c));var u=c(l,d,r,o,i+"."+d,n);if(u)return u}return null}))},exact:function(e){return m((function(r,o,i,l,s){var d=r[o],c=_(d);if("object"!==c)return new f("Invalid "+l+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected `object`.");var u=t({},r[o],e);for(var h in u){var p=e[h];if(a(e,h)&&"function"!=typeof p)return y(i,l,s,h,b(p));if(!p)return new f("Invalid "+l+" `"+s+"` key `"+h+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(r[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=p(d,h,i,l,s+"."+h,n);if(m)return m}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},a=0;function r(r,i,l,d,c,h,p){if(d=d||u,h=h||l,p!==n){if(s){var m=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 m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=d+":"+l;!t[g]&&a<3&&(o("You are manually calling a React.PropTypes validation function for the `"+h+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,a++)}}return null==i[l]?r?null===i[l]?new f("The "+c+" `"+h+"` is marked as required in `"+d+"`, but its value is `null`."):new f("The "+c+" `"+h+"` is marked as required in `"+d+"`, but its value is `undefined`."):null:e(i,l,d,c,h)}var i=r.bind(null,!1);return i.isRequired=r.bind(null,!0),i}function g(e){return m((function(t,n,a,r,o,i){var l=t[n];return _(l)!==e?new f("Invalid "+r+" `"+o+"` of type `"+b(l)+"` supplied to `"+a+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,t,n,a,r){return new f((e||"React class")+": "+t+" type `"+n+"."+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||l(e))return!0;var t=function(e){var t=e&&(d&&e[d]||e[c]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,a=t.call(e);if(t!==e.entries){for(;!(n=a.next()).done;)if(!v(n.value))return!1}else for(;!(n=a.next()).done;){var r=n.value;if(r&&!v(r[1]))return!1}return!0;default:return!1}}function _(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function b(e){if(null==e)return""+e;var t=_(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=b(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,h.checkPropTypes=r,h.resetWarningCache=r.resetWarningCache,h.PropTypes=h,h},factoryWithTypeCheckers}function requireFactoryWithThrowingShims(){if(hasRequiredFactoryWithThrowingShims)return factoryWithThrowingShims;hasRequiredFactoryWithThrowingShims=1;var e=requireReactPropTypesSecret();function t(){}function n(){}return n.resetWarningCache=t,factoryWithThrowingShims=function(){function a(t,n,a,r,o,i){if(i!==e){var l=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 l.name="Invariant Violation",l}}function r(){return a}a.isRequired=a;var o={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:r,element:a,elementType:a,instanceOf:r,node:a,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}}if("production"!==process.env.NODE_ENV){var ReactIs=reactIs$1.exports,throwOnDirectAccess=!0;propTypes.exports=requireFactoryWithTypeCheckers()(ReactIs.isElement,throwOnDirectAccess)}else propTypes.exports=requireFactoryWithThrowingShims()();var FUNC_ERROR_TEXT="Expected a function",NAN=NaN,symbolTag="[object Symbol]",reTrim=/^\s+|\s+$/g,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt,freeGlobal="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),objectProto=Object.prototype,objectToString=objectProto.toString,nativeMax=Math.max,nativeMin=Math.min,now=function(){return root.Date.now()};function debounce(e,t,n){var a,r,o,i,l,s,d=0,c=!1,u=!1,h=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);function p(t){var n=a,o=r;return a=r=void 0,d=t,i=e.apply(o,n)}function f(e){var n=e-s;return void 0===s||n>=t||n<0||u&&e-d>=o}function m(){var e=now();if(f(e))return g(e);l=setTimeout(m,function(e){var n=t-(e-s);return u?nativeMin(n,o-(e-d)):n}(e))}function g(e){return l=void 0,h&&a?p(e):(a=r=void 0,i)}function y(){var e=now(),n=f(e);if(a=arguments,r=this,s=e,n){if(void 0===l)return function(e){return d=e,l=setTimeout(m,t),c?p(e):i}(s);if(u)return l=setTimeout(m,t),p(s)}return void 0===l&&(l=setTimeout(m,t)),i}return t=toNumber(t)||0,isObject(n)&&(c=!!n.leading,o=(u="maxWait"in n)?nativeMax(toNumber(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),y.cancel=function(){void 0!==l&&clearTimeout(l),d=0,a=s=r=l=void 0},y.flush=function(){return void 0===l?i:g(now())},y}function isObject(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function isObjectLike(e){return!!e&&"object"==typeof e}function isSymbol(e){return"symbol"==typeof e||isObjectLike(e)&&objectToString.call(e)==symbolTag}function toNumber(e){if("number"==typeof e)return e;if(isSymbol(e))return NAN;if(isObject(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=isObject(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(reTrim,"");var n=reIsBinary.test(e);return n||reIsOctal.test(e)?freeParseInt(e.slice(2),n?2:8):reIsBadHex.test(e)?NAN:+e}var lodash_debounce=debounce,helpers={};Object.defineProperty(helpers,"__esModule",{value:!0}),helpers.compose=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=Array(e),a=0;a<e;a++)n[a]=arguments[a];t.forEach((function(e){return e&&e.apply(void 0,n)}))}},helpers.pick=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return n.reduce((function(t,n){return e&&e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})},Object.defineProperty(PlacesAutocomplete$1,"__esModule",{value:!0});var _extends$1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_createClass$1=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),_react$1=React__default.default,_react2$1=_interopRequireDefault$6(_react$1),_propTypes$1=propTypes.exports,_propTypes2$1=_interopRequireDefault$6(_propTypes$1),_lodash=lodash_debounce,_lodash2=_interopRequireDefault$6(_lodash),_helpers=helpers;function _interopRequireDefault$6(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck$2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn$1(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _inherits$1(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var formattedSuggestion=function(e){return{mainText:e.main_text,secondaryText:e.secondary_text}},PlacesAutocomplete=function(e){function t(e){_classCallCheck$2(this,t);var n=_possibleConstructorReturn$1(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.init=function(){if(!window.google)throw new Error("[react-places-autocomplete]: Google Maps JavaScript API library must be loaded. See: https://github.com/kenny-hibino/react-places-autocomplete#load-google-library");if(!window.google.maps.places)throw new Error("[react-places-autocomplete]: Google Maps Places library must be loaded. Please add `libraries=places` to the src URL. See: https://github.com/kenny-hibino/react-places-autocomplete#load-google-library");n.autocompleteService=new window.google.maps.places.AutocompleteService,n.autocompleteOK=window.google.maps.places.PlacesServiceStatus.OK,n.setState((function(e){return e.ready?null:{ready:!0}}))},n.autocompleteCallback=function(e,t){if(n.setState({loading:!1}),t===n.autocompleteOK){var a=n.props.highlightFirstSuggestion;n.setState({suggestions:e.map((function(e,t){return{id:e.id,description:e.description,placeId:e.place_id,active:!(!a||0!==t),index:t,formattedSuggestion:formattedSuggestion(e.structured_formatting),matchedSubstrings:e.matched_substrings,terms:e.terms,types:e.types}}))})}else n.props.onError(t,n.clearSuggestions)},n.fetchPredictions=function(){var e=n.props.value;e.length&&(n.setState({loading:!0}),n.autocompleteService.getPlacePredictions(_extends$1({},n.props.searchOptions,{input:e}),n.autocompleteCallback))},n.clearSuggestions=function(){n.setState({suggestions:[]})},n.clearActive=function(){n.setState({suggestions:n.state.suggestions.map((function(e){return _extends$1({},e,{active:!1})}))})},n.handleSelect=function(e,t,a){n.clearSuggestions(),n.props.onSelect?n.props.onSelect(e,t,a):n.props.onChange(e)},n.getActiveSuggestion=function(){return n.state.suggestions.find((function(e){return e.active}))},n.selectActiveAtIndex=function(e){var t=n.state.suggestions.find((function(t){return t.index===e})).description;n.setActiveAtIndex(e),n.props.onChange(t)},n.selectUserInputValue=function(){n.clearActive(),n.props.onChange(n.state.userInputValue)},n.handleEnterKey=function(){var e=n.getActiveSuggestion();void 0===e?n.handleSelect(n.props.value,null,null):n.handleSelect(e.description,e.placeId,e)},n.handleDownKey=function(){if(0!==n.state.suggestions.length){var e=n.getActiveSuggestion();void 0===e?n.selectActiveAtIndex(0):e.index===n.state.suggestions.length-1?n.selectUserInputValue():n.selectActiveAtIndex(e.index+1)}},n.handleUpKey=function(){if(0!==n.state.suggestions.length){var e=n.getActiveSuggestion();void 0===e?n.selectActiveAtIndex(n.state.suggestions.length-1):0===e.index?n.selectUserInputValue():n.selectActiveAtIndex(e.index-1)}},n.handleInputKeyDown=function(e){switch(e.key){case"Enter":e.preventDefault(),n.handleEnterKey();break;case"ArrowDown":e.preventDefault(),n.handleDownKey();break;case"ArrowUp":e.preventDefault(),n.handleUpKey();break;case"Escape":n.clearSuggestions()}},n.setActiveAtIndex=function(e){n.setState({suggestions:n.state.suggestions.map((function(t,n){return _extends$1({},t,n===e?{active:!0}:{active:!1})}))})},n.handleInputChange=function(e){var t=e.target.value;n.props.onChange(t),n.setState({userInputValue:t}),t?n.props.shouldFetchSuggestions&&n.debouncedFetchPredictions():n.clearSuggestions()},n.handleInputOnBlur=function(){n.mousedownOnSuggestion||n.clearSuggestions()},n.getActiveSuggestionId=function(){var e=n.getActiveSuggestion();return e?"PlacesAutocomplete__suggestion-"+e.placeId:void 0},n.getIsExpanded=function(){return n.state.suggestions.length>0},n.getInputProps=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.hasOwnProperty("value"))throw new Error("[react-places-autocomplete]: getInputProps does not accept `value`. Use `value` prop instead");if(e.hasOwnProperty("onChange"))throw new Error("[react-places-autocomplete]: getInputProps does not accept `onChange`. Use `onChange` prop instead");var t={type:"text",autoComplete:"off",role:"combobox","aria-autocomplete":"list","aria-expanded":n.getIsExpanded(),"aria-activedescendant":n.getActiveSuggestionId(),disabled:!n.state.ready};return _extends$1({},t,e,{onKeyDown:(0,_helpers.compose)(n.handleInputKeyDown,e.onKeyDown),onBlur:(0,_helpers.compose)(n.handleInputOnBlur,e.onBlur),value:n.props.value,onChange:function(e){n.handleInputChange(e)}})},n.getSuggestionItemProps=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.handleSuggestionMouseEnter.bind(n,e.index),r=n.handleSuggestionClick.bind(n,e);return _extends$1({},t,{key:e.id,id:n.getActiveSuggestionId(),role:"option",onMouseEnter:(0,_helpers.compose)(a,t.onMouseEnter),onMouseLeave:(0,_helpers.compose)(n.handleSuggestionMouseLeave,t.onMouseLeave),onMouseDown:(0,_helpers.compose)(n.handleSuggestionMouseDown,t.onMouseDown),onMouseUp:(0,_helpers.compose)(n.handleSuggestionMouseUp,t.onMouseUp),onTouchStart:(0,_helpers.compose)(n.handleSuggestionTouchStart,t.onTouchStart),onTouchEnd:(0,_helpers.compose)(n.handleSuggestionMouseUp,t.onTouchEnd),onClick:(0,_helpers.compose)(r,t.onClick)})},n.handleSuggestionMouseEnter=function(e){n.setActiveAtIndex(e)},n.handleSuggestionMouseLeave=function(){n.mousedownOnSuggestion=!1,n.clearActive()},n.handleSuggestionMouseDown=function(e){e.preventDefault(),n.mousedownOnSuggestion=!0},n.handleSuggestionTouchStart=function(){n.mousedownOnSuggestion=!0},n.handleSuggestionMouseUp=function(){n.mousedownOnSuggestion=!1},n.handleSuggestionClick=function(e,t){t&&t.preventDefault&&t.preventDefault();var a=e.description,r=e.placeId;n.handleSelect(a,r,e),setTimeout((function(){n.mousedownOnSuggestion=!1}))},n.state={loading:!1,suggestions:[],userInputValue:e.value,ready:!e.googleCallbackName},n.debouncedFetchPredictions=(0,_lodash2.default)(n.fetchPredictions,e.debounce),n}return _inherits$1(t,_react2$1.default.Component),_createClass$1(t,[{key:"componentDidMount",value:function(){var e=this.props.googleCallbackName;e?window.google&&window.google.maps&&window.google.maps.places?this.init():window[e]=this.init:this.init()}},{key:"componentWillUnmount",value:function(){var e=this.props.googleCallbackName;e&&window[e]&&delete window[e]}},{key:"render",value:function(){return this.props.children({getInputProps:this.getInputProps,getSuggestionItemProps:this.getSuggestionItemProps,loading:this.state.loading,suggestions:this.state.suggestions})}}]),t}();PlacesAutocomplete.propTypes={onChange:_propTypes2$1.default.func.isRequired,value:_propTypes2$1.default.string.isRequired,children:_propTypes2$1.default.func.isRequired,onError:_propTypes2$1.default.func,onSelect:_propTypes2$1.default.func,searchOptions:_propTypes2$1.default.shape({bounds:_propTypes2$1.default.object,componentRestrictions:_propTypes2$1.default.object,location:_propTypes2$1.default.object,offset:_propTypes2$1.default.oneOfType([_propTypes2$1.default.number,_propTypes2$1.default.string]),radius:_propTypes2$1.default.oneOfType([_propTypes2$1.default.number,_propTypes2$1.default.string]),types:_propTypes2$1.default.array}),debounce:_propTypes2$1.default.number,highlightFirstSuggestion:_propTypes2$1.default.bool,shouldFetchSuggestions:_propTypes2$1.default.bool,googleCallbackName:_propTypes2$1.default.string},PlacesAutocomplete.defaultProps={onError:function(e,t){return console.error("[react-places-autocomplete]: error happened when fetching data from Google Maps API.\nPlease check the docs here (https://developers.google.com/maps/documentation/javascript/places#place_details_responses)\nStatus: ",e)},searchOptions:{},debounce:200,highlightFirstSuggestion:!1,shouldFetchSuggestions:!0},PlacesAutocomplete$1.default=PlacesAutocomplete;var utils={};Object.defineProperty(utils,"__esModule",{value:!0}),utils.geocodeByAddress=function(e){var t=new window.google.maps.Geocoder,n=window.google.maps.GeocoderStatus.OK;return new Promise((function(a,r){t.geocode({address:e},(function(e,t){t!==n&&r(t),a(e)}))}))},utils.getLatLng=function(e){return new Promise((function(t,n){try{t({lat:e.geometry.location.lat(),lng:e.geometry.location.lng()})}catch(e){n(e)}}))},utils.geocodeByPlaceId=function(e){var t=new window.google.maps.Geocoder,n=window.google.maps.GeocoderStatus.OK;return new Promise((function(a,r){t.geocode({placeId:e},(function(e,t){t!==n&&r(t),a(e)}))}))},Object.defineProperty(dist,"__esModule",{value:!0});var getLatLng=dist.getLatLng=dist.geocodeByPlaceId=geocodeByAddress=dist.geocodeByAddress=void 0,_PlacesAutocomplete=PlacesAutocomplete$1,_PlacesAutocomplete2=_interopRequireDefault$5(_PlacesAutocomplete),_utils=utils;function _interopRequireDefault$5(e){return e&&e.__esModule?e:{default:e}}var geocodeByAddress=dist.geocodeByAddress=_utils.geocodeByAddress;dist.geocodeByPlaceId=_utils.geocodeByPlaceId,getLatLng=dist.getLatLng=_utils.getLatLng;var _default=dist.default=_PlacesAutocomplete2.default;const SearchView=qe.div`
478
+ `,InputRange=e=>{const t=React.createRef(),[n,a]=React.useState(e.value&&"number"==typeof e.value?e.value:e.defaultValue&&"number"==typeof e.defaultValue?e.defaultValue:0),[r,o]=React.useState(0),{style:i}=e,l=__rest(e,["style"]);React.useEffect((()=>{e.value&&"number"==typeof e.value&&a(e.value)}),[e.value]),React.useEffect((()=>{t.current&&o(t.current.offsetWidth)}),[t.current]);return jsxRuntime.jsxs(Container$2,Object.assign({ref:t,style:i},{children:[!e.hideRange&&jsxRuntime.jsx(RangeValue,Object.assign({role:"range",id:"bubbleHeight",value:e.min&&e.max?(n-e.min)/(e.max-e.min)*r:n/100*r},{children:jsxRuntime.jsx(RangeValueSpan,{children:n})})),jsxRuntime.jsx(InputStyled,Object.assign({role:"input"},l,{id:"rangeHeight",type:"range",backValue:e.min&&e.max?(n-e.min)/(e.max-e.min)*r:n/100*r,onChange:t=>{a(parseInt(t.target.value)),e.onChange&&e.onChange(t)}})),e.min&&e.max?jsxRuntime.jsxs(BottomRow,{children:[jsxRuntime.jsxs(Text$1,Object.assign({type:"p2",style:{color:Color.text.high}},{children:[e.min," ",e.unit]})),jsxRuntime.jsxs(Text$1,Object.assign({type:"p2",style:{color:Color.text.high}},{children:[e.max," ",e.unit]}))]}):null]}))};var dist={},PlacesAutocomplete$1={},propTypes={exports:{}},objectAssign,hasRequiredObjectAssign,ReactPropTypesSecret_1,hasRequiredReactPropTypesSecret,has,hasRequiredHas,checkPropTypes_1,hasRequiredCheckPropTypes,factoryWithTypeCheckers,hasRequiredFactoryWithTypeCheckers,factoryWithThrowingShims,hasRequiredFactoryWithThrowingShims;function requireObjectAssign(){if(hasRequiredObjectAssign)return objectAssign;hasRequiredObjectAssign=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return objectAssign=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={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(a,r){for(var o,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(a),s=1;s<arguments.length;s++){for(var d in o=Object(arguments[s]))t.call(o,d)&&(l[d]=o[d]);if(e){i=e(o);for(var c=0;c<i.length;c++)n.call(o,i[c])&&(l[i[c]]=o[i[c]])}}return l},objectAssign}function requireReactPropTypesSecret(){if(hasRequiredReactPropTypesSecret)return ReactPropTypesSecret_1;hasRequiredReactPropTypesSecret=1;return ReactPropTypesSecret_1="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function requireHas(){return hasRequiredHas?has:(hasRequiredHas=1,has=Function.call.bind(Object.prototype.hasOwnProperty))}function requireCheckPropTypes(){if(hasRequiredCheckPropTypes)return checkPropTypes_1;hasRequiredCheckPropTypes=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=requireReactPropTypesSecret(),n={},a=requireHas();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function r(r,o,i,l,s){if("production"!==process.env.NODE_ENV)for(var d in r)if(a(r,d)){var c;try{if("function"!=typeof r[d]){var u=Error((l||"React class")+": "+i+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}c=r[d](o,d,l,i,null,t)}catch(e){c=e}if(!c||c instanceof Error||e((l||"React class")+": type specification of "+i+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in n)){n[c.message]=!0;var h=s?s():"";e("Failed "+i+" type: "+c.message+(null!=h?h:""))}}}return r.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},checkPropTypes_1=r}function requireFactoryWithTypeCheckers(){if(hasRequiredFactoryWithTypeCheckers)return factoryWithTypeCheckers;hasRequiredFactoryWithTypeCheckers=1;var e=reactIs$1.exports,t=requireObjectAssign(),n=requireReactPropTypesSecret(),a=requireHas(),r=requireCheckPropTypes(),o=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(o=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),factoryWithTypeCheckers=function(l,s){var d="function"==typeof Symbol&&Symbol.iterator,c="@@iterator";var u="<<anonymous>>",h={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:m(i),arrayOf:function(e){return m((function(t,a,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var l=t[a];if(!Array.isArray(l))return new f("Invalid "+o+" `"+i+"` of type `"+_(l)+"` supplied to `"+r+"`, expected an array.");for(var s=0;s<l.length;s++){var d=e(l,s,r,o,i+"["+s+"]",n);if(d instanceof Error)return d}return null}))},element:m((function(e,t,n,a,r){var o=e[t];return l(o)?null:new f("Invalid "+a+" `"+r+"` of type `"+_(o)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,a,r,o){var i=t[n];return e.isValidElementType(i)?null:new f("Invalid "+r+" `"+o+"` of type `"+_(i)+"` supplied to `"+a+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,a,r,o){if(!(t[n]instanceof e)){var i=e.name||u;return new f("Invalid "+r+" `"+o+"` of type `"+(((l=t[n]).constructor&&l.constructor.name?l.constructor.name:u)+"` supplied to `")+a+"`, expected instance of `"+i+"`.")}var l;return null}))},node:m((function(e,t,n,a,r){return v(e[t])?null:new f("Invalid "+a+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,r,o,i,l){if("function"!=typeof e)return new f("Property `"+l+"` of component `"+o+"` has invalid PropType notation inside objectOf.");var s=t[r],d=_(s);if("object"!==d)return new f("Invalid "+i+" `"+l+"` of type `"+d+"` supplied to `"+o+"`, expected an object.");for(var c in s)if(a(s,c)){var u=e(s,c,o,i,l+"."+c,n);if(u instanceof Error)return u}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i;return m((function(t,n,a,r,o){for(var i=t[n],l=0;l<e.length;l++)if(p(i,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===b(t)?String(t):t}));return new f("Invalid "+r+" `"+o+"` of value `"+String(i)+"` supplied to `"+a+"`, expected one of "+s+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(r)+" at index "+t+"."),i}return m((function(t,r,o,i,l){for(var s=[],d=0;d<e.length;d++){var c=(0,e[d])(t,r,o,i,l,n);if(null==c)return null;c.data&&a(c.data,"expectedType")&&s.push(c.data.expectedType)}return new f("Invalid "+i+" `"+l+"` supplied to `"+o+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,a,r,o,i){var l=t[a],s=_(l);if("object"!==s)return new f("Invalid "+o+" `"+i+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var d in e){var c=e[d];if("function"!=typeof c)return y(r,o,i,d,b(c));var u=c(l,d,r,o,i+"."+d,n);if(u)return u}return null}))},exact:function(e){return m((function(r,o,i,l,s){var d=r[o],c=_(d);if("object"!==c)return new f("Invalid "+l+" `"+s+"` of type `"+c+"` supplied to `"+i+"`, expected `object`.");var u=t({},r[o],e);for(var h in u){var p=e[h];if(a(e,h)&&"function"!=typeof p)return y(i,l,s,h,b(p));if(!p)return new f("Invalid "+l+" `"+s+"` key `"+h+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(r[o],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=p(d,h,i,l,s+"."+h,n);if(m)return m}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function f(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},a=0;function r(r,i,l,d,c,h,p){if(d=d||u,h=h||l,p!==n){if(s){var m=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 m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var g=d+":"+l;!t[g]&&a<3&&(o("You are manually calling a React.PropTypes validation function for the `"+h+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[g]=!0,a++)}}return null==i[l]?r?null===i[l]?new f("The "+c+" `"+h+"` is marked as required in `"+d+"`, but its value is `null`."):new f("The "+c+" `"+h+"` is marked as required in `"+d+"`, but its value is `undefined`."):null:e(i,l,d,c,h)}var i=r.bind(null,!1);return i.isRequired=r.bind(null,!0),i}function g(e){return m((function(t,n,a,r,o,i){var l=t[n];return _(l)!==e?new f("Invalid "+r+" `"+o+"` of type `"+b(l)+"` supplied to `"+a+"`, expected `"+e+"`.",{expectedType:e}):null}))}function y(e,t,n,a,r){return new f((e||"React class")+": "+t+" type `"+n+"."+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+r+"`.")}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||l(e))return!0;var t=function(e){var t=e&&(d&&e[d]||e[c]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,a=t.call(e);if(t!==e.entries){for(;!(n=a.next()).done;)if(!v(n.value))return!1}else for(;!(n=a.next()).done;){var r=n.value;if(r&&!v(r[1]))return!1}return!0;default:return!1}}function _(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function b(e){if(null==e)return""+e;var t=_(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=b(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return f.prototype=Error.prototype,h.checkPropTypes=r,h.resetWarningCache=r.resetWarningCache,h.PropTypes=h,h},factoryWithTypeCheckers}function requireFactoryWithThrowingShims(){if(hasRequiredFactoryWithThrowingShims)return factoryWithThrowingShims;hasRequiredFactoryWithThrowingShims=1;var e=requireReactPropTypesSecret();function t(){}function n(){}return n.resetWarningCache=t,factoryWithThrowingShims=function(){function a(t,n,a,r,o,i){if(i!==e){var l=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 l.name="Invariant Violation",l}}function r(){return a}a.isRequired=a;var o={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:r,element:a,elementType:a,instanceOf:r,node:a,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o}}if("production"!==process.env.NODE_ENV){var ReactIs=reactIs$1.exports,throwOnDirectAccess=!0;propTypes.exports=requireFactoryWithTypeCheckers()(ReactIs.isElement,throwOnDirectAccess)}else propTypes.exports=requireFactoryWithThrowingShims()();var FUNC_ERROR_TEXT="Expected a function",NAN=NaN,symbolTag="[object Symbol]",reTrim=/^\s+|\s+$/g,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt,freeGlobal="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),objectProto=Object.prototype,objectToString=objectProto.toString,nativeMax=Math.max,nativeMin=Math.min,now=function(){return root.Date.now()};function debounce(e,t,n){var a,r,o,i,l,s,d=0,c=!1,u=!1,h=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);function p(t){var n=a,o=r;return a=r=void 0,d=t,i=e.apply(o,n)}function f(e){var n=e-s;return void 0===s||n>=t||n<0||u&&e-d>=o}function m(){var e=now();if(f(e))return g(e);l=setTimeout(m,function(e){var n=t-(e-s);return u?nativeMin(n,o-(e-d)):n}(e))}function g(e){return l=void 0,h&&a?p(e):(a=r=void 0,i)}function y(){var e=now(),n=f(e);if(a=arguments,r=this,s=e,n){if(void 0===l)return function(e){return d=e,l=setTimeout(m,t),c?p(e):i}(s);if(u)return l=setTimeout(m,t),p(s)}return void 0===l&&(l=setTimeout(m,t)),i}return t=toNumber(t)||0,isObject(n)&&(c=!!n.leading,o=(u="maxWait"in n)?nativeMax(toNumber(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h),y.cancel=function(){void 0!==l&&clearTimeout(l),d=0,a=s=r=l=void 0},y.flush=function(){return void 0===l?i:g(now())},y}function isObject(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function isObjectLike(e){return!!e&&"object"==typeof e}function isSymbol(e){return"symbol"==typeof e||isObjectLike(e)&&objectToString.call(e)==symbolTag}function toNumber(e){if("number"==typeof e)return e;if(isSymbol(e))return NAN;if(isObject(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=isObject(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(reTrim,"");var n=reIsBinary.test(e);return n||reIsOctal.test(e)?freeParseInt(e.slice(2),n?2:8):reIsBadHex.test(e)?NAN:+e}var lodash_debounce=debounce,helpers={};Object.defineProperty(helpers,"__esModule",{value:!0}),helpers.compose=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=Array(e),a=0;a<e;a++)n[a]=arguments[a];t.forEach((function(e){return e&&e.apply(void 0,n)}))}},helpers.pick=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return n.reduce((function(t,n){return e&&e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})},Object.defineProperty(PlacesAutocomplete$1,"__esModule",{value:!0});var _extends$1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},_createClass$1=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),_react$1=React__default.default,_react2$1=_interopRequireDefault$6(_react$1),_propTypes$1=propTypes.exports,_propTypes2$1=_interopRequireDefault$6(_propTypes$1),_lodash=lodash_debounce,_lodash2=_interopRequireDefault$6(_lodash),_helpers=helpers;function _interopRequireDefault$6(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck$2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn$1(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _inherits$1(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var formattedSuggestion=function(e){return{mainText:e.main_text,secondaryText:e.secondary_text}},PlacesAutocomplete=function(e){function t(e){_classCallCheck$2(this,t);var n=_possibleConstructorReturn$1(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.init=function(){if(!window.google)throw new Error("[react-places-autocomplete]: Google Maps JavaScript API library must be loaded. See: https://github.com/kenny-hibino/react-places-autocomplete#load-google-library");if(!window.google.maps.places)throw new Error("[react-places-autocomplete]: Google Maps Places library must be loaded. Please add `libraries=places` to the src URL. See: https://github.com/kenny-hibino/react-places-autocomplete#load-google-library");n.autocompleteService=new window.google.maps.places.AutocompleteService,n.autocompleteOK=window.google.maps.places.PlacesServiceStatus.OK,n.setState((function(e){return e.ready?null:{ready:!0}}))},n.autocompleteCallback=function(e,t){if(n.setState({loading:!1}),t===n.autocompleteOK){var a=n.props.highlightFirstSuggestion;n.setState({suggestions:e.map((function(e,t){return{id:e.id,description:e.description,placeId:e.place_id,active:!(!a||0!==t),index:t,formattedSuggestion:formattedSuggestion(e.structured_formatting),matchedSubstrings:e.matched_substrings,terms:e.terms,types:e.types}}))})}else n.props.onError(t,n.clearSuggestions)},n.fetchPredictions=function(){var e=n.props.value;e.length&&(n.setState({loading:!0}),n.autocompleteService.getPlacePredictions(_extends$1({},n.props.searchOptions,{input:e}),n.autocompleteCallback))},n.clearSuggestions=function(){n.setState({suggestions:[]})},n.clearActive=function(){n.setState({suggestions:n.state.suggestions.map((function(e){return _extends$1({},e,{active:!1})}))})},n.handleSelect=function(e,t,a){n.clearSuggestions(),n.props.onSelect?n.props.onSelect(e,t,a):n.props.onChange(e)},n.getActiveSuggestion=function(){return n.state.suggestions.find((function(e){return e.active}))},n.selectActiveAtIndex=function(e){var t=n.state.suggestions.find((function(t){return t.index===e})).description;n.setActiveAtIndex(e),n.props.onChange(t)},n.selectUserInputValue=function(){n.clearActive(),n.props.onChange(n.state.userInputValue)},n.handleEnterKey=function(){var e=n.getActiveSuggestion();void 0===e?n.handleSelect(n.props.value,null,null):n.handleSelect(e.description,e.placeId,e)},n.handleDownKey=function(){if(0!==n.state.suggestions.length){var e=n.getActiveSuggestion();void 0===e?n.selectActiveAtIndex(0):e.index===n.state.suggestions.length-1?n.selectUserInputValue():n.selectActiveAtIndex(e.index+1)}},n.handleUpKey=function(){if(0!==n.state.suggestions.length){var e=n.getActiveSuggestion();void 0===e?n.selectActiveAtIndex(n.state.suggestions.length-1):0===e.index?n.selectUserInputValue():n.selectActiveAtIndex(e.index-1)}},n.handleInputKeyDown=function(e){switch(e.key){case"Enter":e.preventDefault(),n.handleEnterKey();break;case"ArrowDown":e.preventDefault(),n.handleDownKey();break;case"ArrowUp":e.preventDefault(),n.handleUpKey();break;case"Escape":n.clearSuggestions()}},n.setActiveAtIndex=function(e){n.setState({suggestions:n.state.suggestions.map((function(t,n){return _extends$1({},t,n===e?{active:!0}:{active:!1})}))})},n.handleInputChange=function(e){var t=e.target.value;n.props.onChange(t),n.setState({userInputValue:t}),t?n.props.shouldFetchSuggestions&&n.debouncedFetchPredictions():n.clearSuggestions()},n.handleInputOnBlur=function(){n.mousedownOnSuggestion||n.clearSuggestions()},n.getActiveSuggestionId=function(){var e=n.getActiveSuggestion();return e?"PlacesAutocomplete__suggestion-"+e.placeId:void 0},n.getIsExpanded=function(){return n.state.suggestions.length>0},n.getInputProps=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.hasOwnProperty("value"))throw new Error("[react-places-autocomplete]: getInputProps does not accept `value`. Use `value` prop instead");if(e.hasOwnProperty("onChange"))throw new Error("[react-places-autocomplete]: getInputProps does not accept `onChange`. Use `onChange` prop instead");var t={type:"text",autoComplete:"off",role:"combobox","aria-autocomplete":"list","aria-expanded":n.getIsExpanded(),"aria-activedescendant":n.getActiveSuggestionId(),disabled:!n.state.ready};return _extends$1({},t,e,{onKeyDown:(0,_helpers.compose)(n.handleInputKeyDown,e.onKeyDown),onBlur:(0,_helpers.compose)(n.handleInputOnBlur,e.onBlur),value:n.props.value,onChange:function(e){n.handleInputChange(e)}})},n.getSuggestionItemProps=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.handleSuggestionMouseEnter.bind(n,e.index),r=n.handleSuggestionClick.bind(n,e);return _extends$1({},t,{key:e.id,id:n.getActiveSuggestionId(),role:"option",onMouseEnter:(0,_helpers.compose)(a,t.onMouseEnter),onMouseLeave:(0,_helpers.compose)(n.handleSuggestionMouseLeave,t.onMouseLeave),onMouseDown:(0,_helpers.compose)(n.handleSuggestionMouseDown,t.onMouseDown),onMouseUp:(0,_helpers.compose)(n.handleSuggestionMouseUp,t.onMouseUp),onTouchStart:(0,_helpers.compose)(n.handleSuggestionTouchStart,t.onTouchStart),onTouchEnd:(0,_helpers.compose)(n.handleSuggestionMouseUp,t.onTouchEnd),onClick:(0,_helpers.compose)(r,t.onClick)})},n.handleSuggestionMouseEnter=function(e){n.setActiveAtIndex(e)},n.handleSuggestionMouseLeave=function(){n.mousedownOnSuggestion=!1,n.clearActive()},n.handleSuggestionMouseDown=function(e){e.preventDefault(),n.mousedownOnSuggestion=!0},n.handleSuggestionTouchStart=function(){n.mousedownOnSuggestion=!0},n.handleSuggestionMouseUp=function(){n.mousedownOnSuggestion=!1},n.handleSuggestionClick=function(e,t){t&&t.preventDefault&&t.preventDefault();var a=e.description,r=e.placeId;n.handleSelect(a,r,e),setTimeout((function(){n.mousedownOnSuggestion=!1}))},n.state={loading:!1,suggestions:[],userInputValue:e.value,ready:!e.googleCallbackName},n.debouncedFetchPredictions=(0,_lodash2.default)(n.fetchPredictions,e.debounce),n}return _inherits$1(t,_react2$1.default.Component),_createClass$1(t,[{key:"componentDidMount",value:function(){var e=this.props.googleCallbackName;e?window.google&&window.google.maps&&window.google.maps.places?this.init():window[e]=this.init:this.init()}},{key:"componentWillUnmount",value:function(){var e=this.props.googleCallbackName;e&&window[e]&&delete window[e]}},{key:"render",value:function(){return this.props.children({getInputProps:this.getInputProps,getSuggestionItemProps:this.getSuggestionItemProps,loading:this.state.loading,suggestions:this.state.suggestions})}}]),t}();PlacesAutocomplete.propTypes={onChange:_propTypes2$1.default.func.isRequired,value:_propTypes2$1.default.string.isRequired,children:_propTypes2$1.default.func.isRequired,onError:_propTypes2$1.default.func,onSelect:_propTypes2$1.default.func,searchOptions:_propTypes2$1.default.shape({bounds:_propTypes2$1.default.object,componentRestrictions:_propTypes2$1.default.object,location:_propTypes2$1.default.object,offset:_propTypes2$1.default.oneOfType([_propTypes2$1.default.number,_propTypes2$1.default.string]),radius:_propTypes2$1.default.oneOfType([_propTypes2$1.default.number,_propTypes2$1.default.string]),types:_propTypes2$1.default.array}),debounce:_propTypes2$1.default.number,highlightFirstSuggestion:_propTypes2$1.default.bool,shouldFetchSuggestions:_propTypes2$1.default.bool,googleCallbackName:_propTypes2$1.default.string},PlacesAutocomplete.defaultProps={onError:function(e,t){return console.error("[react-places-autocomplete]: error happened when fetching data from Google Maps API.\nPlease check the docs here (https://developers.google.com/maps/documentation/javascript/places#place_details_responses)\nStatus: ",e)},searchOptions:{},debounce:200,highlightFirstSuggestion:!1,shouldFetchSuggestions:!0},PlacesAutocomplete$1.default=PlacesAutocomplete;var utils={};Object.defineProperty(utils,"__esModule",{value:!0}),utils.geocodeByAddress=function(e){var t=new window.google.maps.Geocoder,n=window.google.maps.GeocoderStatus.OK;return new Promise((function(a,r){t.geocode({address:e},(function(e,t){t!==n&&r(t),a(e)}))}))},utils.getLatLng=function(e){return new Promise((function(t,n){try{t({lat:e.geometry.location.lat(),lng:e.geometry.location.lng()})}catch(e){n(e)}}))},utils.geocodeByPlaceId=function(e){var t=new window.google.maps.Geocoder,n=window.google.maps.GeocoderStatus.OK;return new Promise((function(a,r){t.geocode({placeId:e},(function(e,t){t!==n&&r(t),a(e)}))}))},Object.defineProperty(dist,"__esModule",{value:!0});var getLatLng=dist.getLatLng=dist.geocodeByPlaceId=geocodeByAddress=dist.geocodeByAddress=void 0,_PlacesAutocomplete=PlacesAutocomplete$1,_PlacesAutocomplete2=_interopRequireDefault$5(_PlacesAutocomplete),_utils=utils;function _interopRequireDefault$5(e){return e&&e.__esModule?e:{default:e}}var geocodeByAddress=dist.geocodeByAddress=_utils.geocodeByAddress;dist.geocodeByPlaceId=_utils.geocodeByPlaceId,getLatLng=dist.getLatLng=_utils.getLatLng;var _default=dist.default=_PlacesAutocomplete2.default;const SearchView=qe.div`
479
479
  position: relative;
480
480
  display: flex;
481
481
  flex: 1;
@@ -499,7 +499,7 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
499
499
  :hover{
500
500
  background-color: ${Color.background.soft};
501
501
  }
502
- `,InputLocation=e=>{const[t,n]=React.useState(void 0);return jsxRuntime.jsx(_default,Object.assign({value:t,onChange:e=>{n(e)},onSelect:t=>__awaiter$1(void 0,void 0,void 0,(function*(){n(t);const a=yield geocodeByAddress(t),r=yield getLatLng(a[0]);e.onLocationChange&&e.onLocationChange({address:t,geocoder:a[0],location:r})})),searchOptions:{types:["geocode"]}},{children:({getInputProps:n,suggestions:a,getSuggestionItemProps:r})=>jsxRuntime.jsxs(SearchView,{children:[jsxRuntime.jsx(InputSecondary,Object.assign({},n({className:"location-search-input",placeholder:e.placeholder}),{containerStyle:{flex:1},value:t})),a.length>0&&jsxRuntime.jsx(DropdownMenu,Object.assign({role:"menu"},{children:a.map(((e,t)=>jsxRuntime.jsx(SuggestionView,Object.assign({},r(e),{role:"cell"+t},{children:jsxRuntime.jsx(Text,Object.assign({type:"p2",style:{textOverflow:"ellipsis"}},{children:e.description}))}))))}))]})}))},Input=e=>"range"===e.type?jsxRuntime.jsx(InputRange,Object.assign({},e)):"location"===e.type?jsxRuntime.jsx(InputLocation,Object.assign({},e)):"secondary"===e.design?jsxRuntime.jsx(InputSecondary,Object.assign({},e)):jsxRuntime.jsx(InputPrimary,Object.assign({},e)),Container$1=qe.div`
502
+ `,InputLocation=e=>{const[t,n]=React.useState(void 0);return jsxRuntime.jsx(_default,Object.assign({value:t,onChange:e=>{n(e)},onSelect:t=>__awaiter$1(void 0,void 0,void 0,(function*(){n(t);const a=yield geocodeByAddress(t),r=yield getLatLng(a[0]);e.onLocationChange&&e.onLocationChange({address:t,geocoder:a[0],location:r})})),searchOptions:{types:["geocode"]}},{children:({getInputProps:n,suggestions:a,getSuggestionItemProps:r})=>jsxRuntime.jsxs(SearchView,{children:[jsxRuntime.jsx(InputSecondary,Object.assign({},n({className:"location-search-input",placeholder:e.placeholder}),{containerStyle:{flex:1},value:t})),a.length>0&&jsxRuntime.jsx(DropdownMenu,Object.assign({role:"menu"},{children:a.map(((e,t)=>jsxRuntime.jsx(SuggestionView,Object.assign({},r(e),{role:"cell"+t},{children:jsxRuntime.jsx(Text$1,Object.assign({type:"p2",style:{textOverflow:"ellipsis"}},{children:e.description}))}))))}))]})}))},Input=e=>"range"===e.type?jsxRuntime.jsx(InputRange,Object.assign({},e)):"location"===e.type?jsxRuntime.jsx(InputLocation,Object.assign({},e)):"secondary"===e.design?jsxRuntime.jsx(InputSecondary,Object.assign({},e)):jsxRuntime.jsx(InputPrimary,Object.assign({},e)),Container$1=qe.div`
503
503
  position: relative;
504
504
  `,SelectStyled=qe.div`
505
505
  display: flex;
@@ -534,14 +534,7 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
534
534
  :hover{
535
535
  background-color: ${Color.background.soft};
536
536
  }
537
- `;qe.div`
538
- display: flex;
539
- align-items: center;
540
- justify-content: center;
541
- height: 24px;
542
- width: 24px;
543
- margin-right: 8px;
544
- `;const Select=e=>{const[t,n]=React.useState(!1),[a,r]=React.useState(e.options&&e.options[0]);React.useEffect((()=>(window.addEventListener("click",(e=>o(e))),window.removeEventListener("click",(()=>{})))),[]),React.useEffect((()=>{e.selectedItem&&r(e.selectedItem)}),[e.selectedItem]);const o=t=>{const a=document.getElementById(e.id);null!==a&&(a.contains(t.target)||n(!1))};return jsxRuntime.jsxs(Container$1,Object.assign({style:e.style},{children:[jsxRuntime.jsxs(SelectStyled,Object.assign({role:"select",id:e.id,showMenu:t,onClick:e=>{if(!e)e=window.event;e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),n(!t)}},{children:[null==a?void 0:a.icon,!e.hideTitle&&jsxRuntime.jsx(Text,Object.assign({type:"p",style:{flex:1,fontSize:14,color:e.style?e.style.color:Color.text.full}},{children:null==a?void 0:a.label})),t?jsxRuntime.jsx(ChevronUp,{height:20,width:20}):jsxRuntime.jsx(ChevronDown,{height:20,width:20})]})),t&&jsxRuntime.jsx(OptionsView,Object.assign({role:"menu",style:e.optionStyle},{children:e.options.map(((t,a)=>jsxRuntime.jsxs(Option,Object.assign({role:"cell-"+a,onClick:a=>((t,a)=>{a||(a=window.event);a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation(),r(t),n(!1),e.onChange&&e.onChange(t)})(t,a)},{children:[t.icon,jsxRuntime.jsx(Text,Object.assign({type:"p"},{children:t.label}))]}),e.id+"-cell-"+a)))}))]}))};var lib={exports:{}},Modal$2={},reactDom={exports:{}},reactDom_production_min={},scheduler={exports:{}},scheduler_production_min={},hasRequiredScheduler_production_min;function requireScheduler_production_min(){return hasRequiredScheduler_production_min||(hasRequiredScheduler_production_min=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var a=n-1>>>1,o=e[a];if(!(0<r(o,t)))break e;e[a]=t,e[n]=o,n=a}}function n(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var a=0,o=e.length,i=o>>>1;a<i;){var l=2*(a+1)-1,s=e[l],d=l+1,c=e[d];if(0>r(s,n))d<o&&0>r(c,s)?(e[a]=c,e[d]=n,a=d):(e[a]=s,e[l]=n,a=l);else{if(!(d<o&&0>r(c,n)))break e;e[a]=c,e[d]=n,a=d}}}return t}function r(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],d=[],c=1,u=null,h=3,p=!1,f=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function _(e){for(var r=n(d);null!==r;){if(null===r.callback)a(d);else{if(!(r.startTime<=e))break;a(d),r.sortIndex=r.expirationTime,t(s,r)}r=n(d)}}function b(e){if(m=!1,_(e),!f)if(null!==n(s))f=!0,L(x);else{var t=n(d);null!==t&&A(b,t.startTime-e)}}function x(t,r){f=!1,m&&(m=!1,y(S),S=-1),p=!0;var o=h;try{for(_(r),u=n(s);null!==u&&(!(u.expirationTime>r)||t&&!R());){var i=u.callback;if("function"==typeof i){u.callback=null,h=u.priorityLevel;var l=i(u.expirationTime<=r);r=e.unstable_now(),"function"==typeof l?u.callback=l:u===n(s)&&a(s),_(r)}else a(s);u=n(s)}if(null!==u)var c=!0;else{var g=n(d);null!==g&&A(b,g.startTime-r),c=!1}return c}finally{u=null,h=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,E=!1,M=null,S=-1,w=5,$=-1;function R(){return!(e.unstable_now()-$<w)}function C(){if(null!==M){var t=e.unstable_now();$=t;var n=!0;try{n=M(!0,t)}finally{n?k():(E=!1,M=null)}}else E=!1}if("function"==typeof v)k=function(){v(C)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,T=P.port2;P.port1.onmessage=C,k=function(){T.postMessage(null)}}else k=function(){g(C,0)};function L(e){M=e,E||(E=!0,k())}function A(t,n){S=g((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){f||p||(f=!0,L(x))},e.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"):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},e.unstable_scheduleCallback=function(a,r,o){var i=e.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,a){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return a={id:c++,callback:r,priorityLevel:a,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>i?(a.sortIndex=o,t(d,a),null===n(s)&&a===n(d)&&(m?(y(S),S=-1):m=!0,A(b,o-i))):(a.sortIndex=l,t(s,a),f||p||(f=!0,L(x))),a},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}}(scheduler_production_min)),scheduler_production_min}var scheduler_development={},hasRequiredScheduler_development,hasRequiredScheduler,hasRequiredReactDom_production_min;
537
+ `,Select=e=>{const[t,n]=React.useState(!1),[a,r]=React.useState(e.options&&e.options[0]);React.useEffect((()=>(window.addEventListener("click",(e=>o(e))),window.removeEventListener("click",(()=>{})))),[]),React.useEffect((()=>{e.selectedItem&&r(e.selectedItem)}),[e.selectedItem]);const o=t=>{const a=document.getElementById(e.id);null!==a&&(a.contains(t.target)||n(!1))};return jsxRuntime.jsxs(Container$1,{children:[jsxRuntime.jsxs(SelectStyled,Object.assign({role:"select",id:e.id,showMenu:t,style:e.style,onClick:e=>{if(!e)e=window.event;e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),n(!t)}},{children:[null==a?void 0:a.icon,!e.hideTitle&&jsxRuntime.jsx(Text$1,Object.assign({type:"p",style:{flex:1,fontSize:14,color:e.style?e.style.color:Color.text.full}},{children:null==a?void 0:a.label})),t?jsxRuntime.jsx(ChevronUp,{height:20,width:20}):jsxRuntime.jsx(ChevronDown,{height:20,width:20})]})),t&&jsxRuntime.jsx(OptionsView,Object.assign({role:"menu",style:e.optionStyle},{children:e.options.map(((t,a)=>jsxRuntime.jsxs(Option,Object.assign({role:"cell-"+a,onClick:a=>((t,a)=>{a||(a=window.event);a.cancelBubble=!0,a.stopPropagation&&a.stopPropagation(),r(t),n(!1),e.onChange&&e.onChange(t)})(t,a)},{children:[t.icon,jsxRuntime.jsx(Text$1,Object.assign({type:"p"},{children:t.label}))]}),e.id+"-cell-"+a)))}))]})};var lib={exports:{}},Modal$2={},reactDom={exports:{}},reactDom_production_min={},scheduler={exports:{}},scheduler_production_min={},hasRequiredScheduler_production_min;function requireScheduler_production_min(){return hasRequiredScheduler_production_min||(hasRequiredScheduler_production_min=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var a=n-1>>>1,o=e[a];if(!(0<r(o,t)))break e;e[a]=t,e[n]=o,n=a}}function n(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var a=0,o=e.length,i=o>>>1;a<i;){var l=2*(a+1)-1,s=e[l],d=l+1,c=e[d];if(0>r(s,n))d<o&&0>r(c,s)?(e[a]=c,e[d]=n,a=d):(e[a]=s,e[l]=n,a=l);else{if(!(d<o&&0>r(c,n)))break e;e[a]=c,e[d]=n,a=d}}}return t}function r(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],d=[],c=1,u=null,h=3,p=!1,f=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function _(e){for(var r=n(d);null!==r;){if(null===r.callback)a(d);else{if(!(r.startTime<=e))break;a(d),r.sortIndex=r.expirationTime,t(s,r)}r=n(d)}}function b(e){if(m=!1,_(e),!f)if(null!==n(s))f=!0,L(x);else{var t=n(d);null!==t&&A(b,t.startTime-e)}}function x(t,r){f=!1,m&&(m=!1,y(S),S=-1),p=!0;var o=h;try{for(_(r),u=n(s);null!==u&&(!(u.expirationTime>r)||t&&!R());){var i=u.callback;if("function"==typeof i){u.callback=null,h=u.priorityLevel;var l=i(u.expirationTime<=r);r=e.unstable_now(),"function"==typeof l?u.callback=l:u===n(s)&&a(s),_(r)}else a(s);u=n(s)}if(null!==u)var c=!0;else{var g=n(d);null!==g&&A(b,g.startTime-r),c=!1}return c}finally{u=null,h=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,E=!1,M=null,S=-1,w=5,$=-1;function R(){return!(e.unstable_now()-$<w)}function C(){if(null!==M){var t=e.unstable_now();$=t;var n=!0;try{n=M(!0,t)}finally{n?k():(E=!1,M=null)}}else E=!1}if("function"==typeof v)k=function(){v(C)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,T=P.port2;P.port1.onmessage=C,k=function(){T.postMessage(null)}}else k=function(){g(C,0)};function L(e){M=e,E||(E=!0,k())}function A(t,n){S=g((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){f||p||(f=!0,L(x))},e.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"):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},e.unstable_scheduleCallback=function(a,r,o){var i=e.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,a){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return a={id:c++,callback:r,priorityLevel:a,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>i?(a.sortIndex=o,t(d,a),null===n(s)&&a===n(d)&&(m?(y(S),S=-1):m=!0,A(b,o-i))):(a.sortIndex=l,t(s,a),f||p||(f=!0,L(x))),a},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}}(scheduler_production_min)),scheduler_production_min}var scheduler_development={},hasRequiredScheduler_development,hasRequiredScheduler,hasRequiredReactDom_production_min;
545
538
  /**
546
539
  * @license React
547
540
  * scheduler.development.js
@@ -559,7 +552,7 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
559
552
  *
560
553
  * This source code is licensed under the MIT license found in the
561
554
  * LICENSE file in the root directory of this source tree.
562
- */function requireReactDom_production_min(){if(hasRequiredReactDom_production_min)return reactDom_production_min;hasRequiredReactDom_production_min=1;var e=React__default.default,t=requireScheduler();function n(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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 a=new Set,r={};function o(e,t){i(e,t),i(e+"Capture",t)}function i(e,t){for(r[e]=t,e=0;e<t.length;e++)a.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s=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]*$/,c={},u={};function h(e,t,n,a,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){p[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];p[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){p[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){p[e]=new h(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){p[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){p[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){p[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){p[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){p[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var f=/[\-:]([a-z])/g;function m(e){return e[1].toUpperCase()}function g(e,t,n,a){var r=p.hasOwnProperty(t)?p[t]:null;(null!==r?0!==r.type:a||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,a){if(null==t||function(e,t,n,a){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!a&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,a))return!0;if(a)return!1;if(null!==n)switch(n.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,n,r,a)&&(n=null),a||null===r?function(e){return!!s.call(u,e)||!s.call(c,e)&&(d.test(e)?u[e]=!0:(c[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,a=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,a?e.setAttributeNS(a,t,n):e.setAttribute(t,n))))}"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(f,m);p[t]=new h(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(f,m);p[t]=new h(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(f,m);p[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){p[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),p.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){p[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,v=Symbol.for("react.element"),_=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),M=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),T=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=T&&e[T]||e["@@iterator"])?e:null}var A,I=Object.assign;function N(e){if(void 0===A)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);A=t&&t[1]||""}return"\n"+A+e}var F=!1;function z(e,t){if(!e||F)return"";F=!0;var n=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(e){var a=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){a=e}e.call(t.prototype)}else{try{throw Error()}catch(e){a=e}e()}}catch(t){if(t&&a&&"string"==typeof t.stack){for(var r=t.stack.split("\n"),o=a.stack.split("\n"),i=r.length-1,l=o.length-1;1<=i&&0<=l&&r[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(r[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||r[i]!==o[l]){var s="\n"+r[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?N(e):""}function D(e){switch(e.tag){case 5:return N(e.type);case 16:return N("Lazy");case 13:return N("Suspense");case 19:return N("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 O(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 b:return"Fragment";case _:return"Portal";case k:return"Profiler";case x:return"StrictMode";case w:return"Suspense";case $:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case M:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:O(e.type)||"Memo";case C:t=e._payload,e=e._init;try{return O(e(t))}catch(e){}}return null}function H(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 O(t);case 8:return t===x?"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 V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function j(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function B(e){e._valueTracker||(e._valueTracker=function(e){var t=j(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){a=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function U(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=j(e)?e.checked?"true":"false":e.value),(e=a)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function W(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function q(e,t){var n=null==t.defaultValue?"":t.defaultValue,a=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:a,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&g(e,"checked",t,!1)}function Z(e,t){Y(e,t);var n=V(t.value),a=t.type;if(null!=n)"number"===a?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===a||"reset"===a)return void e.removeAttribute("value");t.hasOwnProperty("value")?X(e,t.type,n):t.hasOwnProperty("defaultValue")&&X(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function K(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!("submit"!==a&&"reset"!==a||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function X(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Q=Array.isArray;function J(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(a&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function ee(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function te(e,t){var a=t.value;if(null==a){if(a=t.children,t=t.defaultValue,null!=a){if(null!=t)throw Error(n(92));if(Q(a)){if(1<a.length)throw Error(n(93));a=a[0]}t=a}null==t&&(t=""),a=t}e._wrapperState={initialValue:V(a)}}function ne(e,t){var n=V(t.value),a=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=a&&(e.defaultValue=""+a)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function re(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 oe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?re(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ie,le,se=(le=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ie=ie||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ie.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,a){MSApp.execUnsafeLocalFunction((function(){return le(e,t)}))}:le);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ce={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},ue=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ce.hasOwnProperty(e)&&ce[e]?(""+t).trim():t+"px"}function pe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var a=0===n.indexOf("--"),r=he(n,t[n],a);"float"===n&&(n="cssFloat"),a?e.setProperty(n,r):e[n]=r}}Object.keys(ce).forEach((function(e){ue.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ce[t]=ce[e]}))}));var fe=I({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 me(e,t){if(t){if(fe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function ge(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 ye=null;function ve(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,be=null,xe=null;function ke(e){if(e=gr(e)){if("function"!=typeof _e)throw Error(n(280));var t=e.stateNode;t&&(t=vr(t),_e(e.stateNode,e.type,t))}}function Ee(e){be?xe?xe.push(e):xe=[e]:be=e}function Me(){if(be){var e=be,t=xe;if(xe=be=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Se(e,t){return e(t)}function we(){}var $e=!1;function Re(e,t,n){if($e)return e(t,n);$e=!0;try{return Se(e,t,n)}finally{$e=!1,(null!==be||null!==xe)&&(we(),Me())}}function Ce(e,t){var a=e.stateNode;if(null===a)return null;var r=vr(a);if(null===r)return null;a=r[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":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(a&&"function"!=typeof a)throw Error(n(231,t,typeof a));return a}var Pe=!1;if(l)try{var Te={};Object.defineProperty(Te,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Te,Te),window.removeEventListener("test",Te,Te)}catch(le){Pe=!1}function Le(e,t,n,a,r,o,i,l,s){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(e){this.onError(e)}}var Ae=!1,Ie=null,Ne=!1,Fe=null,ze={onError:function(e){Ae=!0,Ie=e}};function De(e,t,n,a,r,o,i,l,s){Ae=!1,Ie=null,Le.apply(ze,arguments)}function Oe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(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 Ve(e){if(Oe(e)!==e)throw Error(n(188))}function je(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=Oe(e)))throw Error(n(188));return t!==e?null:e}for(var a=e,r=t;;){var o=a.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){a=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===a)return Ve(o),e;if(i===r)return Ve(o),t;i=i.sibling}throw Error(n(188))}if(a.return!==r.return)a=o,r=i;else{for(var l=!1,s=o.child;s;){if(s===a){l=!0,a=o,r=i;break}if(s===r){l=!0,r=o,a=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===a){l=!0,a=i,r=o;break}if(s===r){l=!0,r=i,a=o;break}s=s.sibling}if(!l)throw Error(n(189))}}if(a.alternate!==r)throw Error(n(190))}if(3!==a.tag)throw Error(n(188));return a.stateNode.current===a?e:t}(e),null!==e?Be(e):null}function Be(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Be(e);if(null!==t)return t;e=e.sibling}return null}var Ue=t.unstable_scheduleCallback,Ge=t.unstable_cancelCallback,We=t.unstable_shouldYield,qe=t.unstable_requestPaint,Ye=t.unstable_now,Ze=t.unstable_getCurrentPriorityLevel,Ke=t.unstable_ImmediatePriority,Xe=t.unstable_UserBlockingPriority,Qe=t.unstable_NormalPriority,Je=t.unstable_LowPriority,et=t.unstable_IdlePriority,tt=null,nt=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(rt(e)/ot|0)|0},rt=Math.log,ot=Math.LN2;var it=64,lt=4194304;function st(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 n=e.pendingLanes;if(0===n)return 0;var a=0,r=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~r;0!==l?a=st(l):0!==(o&=i)&&(a=st(o))}else 0!==(i=n&~r)?a=st(i):0!==o&&(a=st(o));if(0===a)return 0;if(0!==t&&t!==a&&0==(t&r)&&((r=a&-a)>=(o=t&-t)||16===r&&0!=(4194240&o)))return t;if(0!=(4&a)&&(a|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=a;0<t;)r=1<<(n=31-at(t)),a|=e[n],t&=~r;return a}function ct(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 ut(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=it;return 0==(4194240&(it<<=1))&&(it=64),e}function pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ft(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function mt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-at(n),r=1<<a;r&t|e[a]&t&&(e[a]|=t),n&=~r}}var gt=0;function yt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var vt,_t,bt,xt,kt,Et=!1,Mt=[],St=null,wt=null,$t=null,Rt=new Map,Ct=new Map,Pt=[],Tt="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 Lt(e,t){switch(e){case"focusin":case"focusout":St=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":$t=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ct.delete(t.pointerId)}}function At(e,t,n,a,r,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:o,targetContainers:[r]},null!==t&&(null!==(t=gr(t))&&_t(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function It(e){var t=mr(e.target);if(null!==t){var n=Oe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void kt(e.priority,(function(){bt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Nt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Wt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=gr(n))&&_t(t),e.blockedOn=n,!1;var a=new(n=e.nativeEvent).constructor(n.type,n);ye=a,n.target.dispatchEvent(a),ye=null,t.shift()}return!0}function Ft(e,t,n){Nt(e)&&n.delete(t)}function zt(){Et=!1,null!==St&&Nt(St)&&(St=null),null!==wt&&Nt(wt)&&(wt=null),null!==$t&&Nt($t)&&($t=null),Rt.forEach(Ft),Ct.forEach(Ft)}function Dt(e,n){e.blockedOn===n&&(e.blockedOn=null,Et||(Et=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,zt)))}function Ot(e){function t(t){return Dt(t,e)}if(0<Mt.length){Dt(Mt[0],e);for(var n=1;n<Mt.length;n++){var a=Mt[n];a.blockedOn===e&&(a.blockedOn=null)}}for(null!==St&&Dt(St,e),null!==wt&&Dt(wt,e),null!==$t&&Dt($t,e),Rt.forEach(t),Ct.forEach(t),n=0;n<Pt.length;n++)(a=Pt[n]).blockedOn===e&&(a.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)It(n),null===n.blockedOn&&Pt.shift()}var Ht=y.ReactCurrentBatchConfig,Vt=!0;function jt(e,t,n,a){var r=gt,o=Ht.transition;Ht.transition=null;try{gt=1,Ut(e,t,n,a)}finally{gt=r,Ht.transition=o}}function Bt(e,t,n,a){var r=gt,o=Ht.transition;Ht.transition=null;try{gt=4,Ut(e,t,n,a)}finally{gt=r,Ht.transition=o}}function Ut(e,t,n,a){if(Vt){var r=Wt(e,t,n,a);if(null===r)Va(e,t,a,Gt,n),Lt(e,a);else if(function(e,t,n,a,r){switch(t){case"focusin":return St=At(St,e,t,n,a,r),!0;case"dragenter":return wt=At(wt,e,t,n,a,r),!0;case"mouseover":return $t=At($t,e,t,n,a,r),!0;case"pointerover":var o=r.pointerId;return Rt.set(o,At(Rt.get(o)||null,e,t,n,a,r)),!0;case"gotpointercapture":return o=r.pointerId,Ct.set(o,At(Ct.get(o)||null,e,t,n,a,r)),!0}return!1}(r,e,t,n,a))a.stopPropagation();else if(Lt(e,a),4&t&&-1<Tt.indexOf(e)){for(;null!==r;){var o=gr(r);if(null!==o&&vt(o),null===(o=Wt(e,t,n,a))&&Va(e,t,a,Gt,n),o===r)break;r=o}null!==r&&a.stopPropagation()}else Va(e,t,a,null,n)}}var Gt=null;function Wt(e,t,n,a){if(Gt=null,null!==(e=mr(e=ve(a))))if(null===(t=Oe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function qt(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(Ze()){case Ke:return 1;case Xe:return 4;case Qe:case Je:return 16;case et:return 536870912;default:return 16}default:return 16}}var Yt=null,Zt=null,Kt=null;function Xt(){if(Kt)return Kt;var e,t,n=Zt,a=n.length,r="value"in Yt?Yt.value:Yt.textContent,o=r.length;for(e=0;e<a&&n[e]===r[e];e++);var i=a-e;for(t=1;t<=i&&n[a-t]===r[o-t];t++);return Kt=r.slice(e,1<t?1-t:void 0)}function Qt(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 Jt(){return!0}function en(){return!1}function tn(e){function t(t,n,a,r,o){for(var i in this._reactName=t,this._targetInst=a,this.type=n,this.nativeEvent=r,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(r):r[i]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?Jt:en,this.isPropagationStopped=en,this}return I(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=Jt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Jt)},persist:function(){},isPersistent:Jt}),t}var nn,an,rn,on={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=tn(on),sn=I({},on,{view:0,detail:0}),dn=tn(sn),cn=I({},sn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,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!==rn&&(rn&&"mousemove"===e.type?(nn=e.screenX-rn.screenX,an=e.screenY-rn.screenY):an=nn=0,rn=e),nn)},movementY:function(e){return"movementY"in e?e.movementY:an}}),un=tn(cn),hn=tn(I({},cn,{dataTransfer:0})),pn=tn(I({},sn,{relatedTarget:0})),fn=tn(I({},on,{animationName:0,elapsedTime:0,pseudoElement:0})),mn=I({},on,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gn=tn(mn),yn=tn(I({},on,{data:0})),vn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={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"},bn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=bn[e])&&!!t[e]}function kn(){return xn}var En=I({},sn,{key:function(e){if(e.key){var t=vn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Qt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?Qt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Qt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Mn=tn(En),Sn=tn(I({},cn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),wn=tn(I({},sn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),$n=tn(I({},on,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=I({},cn,{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}),Cn=tn(Rn),Pn=[9,13,27,32],Tn=l&&"CompositionEvent"in window,Ln=null;l&&"documentMode"in document&&(Ln=document.documentMode);var An=l&&"TextEvent"in window&&!Ln,In=l&&(!Tn||Ln&&8<Ln&&11>=Ln),Nn=String.fromCharCode(32),Fn=!1;function zn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var On=!1;var Hn={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 Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function jn(e,t,n,a){Ee(a),0<(t=Ba(t,"onChange")).length&&(n=new ln("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var Bn=null,Un=null;function Gn(e){Na(e,0)}function Wn(e){if(U(yr(e)))return e}function qn(e,t){if("change"===e)return t}var Yn=!1;if(l){var Zn;if(l){var Kn="oninput"in document;if(!Kn){var Xn=document.createElement("div");Xn.setAttribute("oninput","return;"),Kn="function"==typeof Xn.oninput}Zn=Kn}else Zn=!1;Yn=Zn&&(!document.documentMode||9<document.documentMode)}function Qn(){Bn&&(Bn.detachEvent("onpropertychange",Jn),Un=Bn=null)}function Jn(e){if("value"===e.propertyName&&Wn(Un)){var t=[];jn(t,Un,e,ve(e)),Re(Gn,t)}}function ea(e,t,n){"focusin"===e?(Qn(),Un=n,(Bn=t).attachEvent("onpropertychange",Jn)):"focusout"===e&&Qn()}function ta(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Wn(Un)}function na(e,t){if("click"===e)return Wn(t)}function aa(e,t){if("input"===e||"change"===e)return Wn(t)}var ra="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function oa(e,t){if(ra(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var r=n[a];if(!s.call(t,r)||!ra(e[r],t[r]))return!1}return!0}function ia(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function la(e,t){var n,a=ia(e);for(e=0;a;){if(3===a.nodeType){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=ia(a)}}function sa(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?sa(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function da(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function ca(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 ua(e){var t=da(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sa(n.ownerDocument.documentElement,n)){if(null!==a&&ca(n))if(t=a.start,void 0===(e=a.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var r=n.textContent.length,o=Math.min(a.start,r);a=void 0===a.end?o:Math.min(a.end,r),!e.extend&&o>a&&(r=a,a=o,o=r),r=la(n,o);var i=la(n,a);r&&i&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),o>a?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var ha=l&&"documentMode"in document&&11>=document.documentMode,pa=null,fa=null,ma=null,ga=!1;function ya(e,t,n){var a=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ga||null==pa||pa!==G(a)||("selectionStart"in(a=pa)&&ca(a)?a={start:a.selectionStart,end:a.selectionEnd}:a={anchorNode:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset},ma&&oa(ma,a)||(ma=a,0<(a=Ba(fa,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=pa)))}function va(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _a={animationend:va("Animation","AnimationEnd"),animationiteration:va("Animation","AnimationIteration"),animationstart:va("Animation","AnimationStart"),transitionend:va("Transition","TransitionEnd")},ba={},xa={};function ka(e){if(ba[e])return ba[e];if(!_a[e])return e;var t,n=_a[e];for(t in n)if(n.hasOwnProperty(t)&&t in xa)return ba[e]=n[t];return e}l&&(xa=document.createElement("div").style,"AnimationEvent"in window||(delete _a.animationend.animation,delete _a.animationiteration.animation,delete _a.animationstart.animation),"TransitionEvent"in window||delete _a.transitionend.transition);var Ea=ka("animationend"),Ma=ka("animationiteration"),Sa=ka("animationstart"),wa=ka("transitionend"),$a=new Map,Ra="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 Ca(e,t){$a.set(e,t),o(t,[e])}for(var Pa=0;Pa<Ra.length;Pa++){var Ta=Ra[Pa];Ca(Ta.toLowerCase(),"on"+(Ta[0].toUpperCase()+Ta.slice(1)))}Ca(Ea,"onAnimationEnd"),Ca(Ma,"onAnimationIteration"),Ca(Sa,"onAnimationStart"),Ca("dblclick","onDoubleClick"),Ca("focusin","onFocus"),Ca("focusout","onBlur"),Ca(wa,"onTransitionEnd"),i("onMouseEnter",["mouseout","mouseover"]),i("onMouseLeave",["mouseout","mouseover"]),i("onPointerEnter",["pointerout","pointerover"]),i("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var La="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(" "),Aa=new Set("cancel close invalid load scroll toggle".split(" ").concat(La));function Ia(e,t,a){var r=e.type||"unknown-event";e.currentTarget=a,function(e,t,a,r,o,i,l,s,d){if(De.apply(this,arguments),Ae){if(!Ae)throw Error(n(198));var c=Ie;Ae=!1,Ie=null,Ne||(Ne=!0,Fe=c)}}(r,t,void 0,e),e.currentTarget=null}function Na(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var a=e[n],r=a.event;a=a.listeners;e:{var o=void 0;if(t)for(var i=a.length-1;0<=i;i--){var l=a[i],s=l.instance,d=l.currentTarget;if(l=l.listener,s!==o&&r.isPropagationStopped())break e;Ia(r,l,d),o=s}else for(i=0;i<a.length;i++){if(s=(l=a[i]).instance,d=l.currentTarget,l=l.listener,s!==o&&r.isPropagationStopped())break e;Ia(r,l,d),o=s}}}if(Ne)throw e=Fe,Ne=!1,Fe=null,e}function Fa(e,t){var n=t[hr];void 0===n&&(n=t[hr]=new Set);var a=e+"__bubble";n.has(a)||(Ha(t,e,2,!1),n.add(a))}function za(e,t,n){var a=0;t&&(a|=4),Ha(n,e,a,t)}var Da="_reactListening"+Math.random().toString(36).slice(2);function Oa(e){if(!e[Da]){e[Da]=!0,a.forEach((function(t){"selectionchange"!==t&&(Aa.has(t)||za(t,!1,e),za(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Da]||(t[Da]=!0,za("selectionchange",!1,t))}}function Ha(e,t,n,a){switch(qt(t)){case 1:var r=jt;break;case 4:r=Bt;break;default:r=Ut}n=r.bind(null,t,n,e),r=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(r=!0),a?void 0!==r?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):void 0!==r?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Va(e,t,n,a,r){var o=a;if(0==(1&t)&&0==(2&t)&&null!==a)e:for(;;){if(null===a)return;var i=a.tag;if(3===i||4===i){var l=a.stateNode.containerInfo;if(l===r||8===l.nodeType&&l.parentNode===r)break;if(4===i)for(i=a.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===r||8===s.nodeType&&s.parentNode===r))return;i=i.return}for(;null!==l;){if(null===(i=mr(l)))return;if(5===(s=i.tag)||6===s){a=o=i;continue e}l=l.parentNode}}a=a.return}Re((function(){var a=o,r=ve(n),i=[];e:{var l=$a.get(e);if(void 0!==l){var s=ln,d=e;switch(e){case"keypress":if(0===Qt(n))break e;case"keydown":case"keyup":s=Mn;break;case"focusin":d="focus",s=pn;break;case"focusout":d="blur",s=pn;break;case"beforeblur":case"afterblur":s=pn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=un;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=wn;break;case Ea:case Ma:case Sa:s=fn;break;case wa:s=$n;break;case"scroll":s=dn;break;case"wheel":s=Cn;break;case"copy":case"cut":case"paste":s=gn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Sn}var c=0!=(4&t),u=!c&&"scroll"===e,h=c?null!==l?l+"Capture":null:l;c=[];for(var p,f=a;null!==f;){var m=(p=f).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==h&&(null!=(m=Ce(f,h))&&c.push(ja(f,m,p)))),u)break;f=f.return}0<c.length&&(l=new s(l,d,null,n,r),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===ye||!(d=n.relatedTarget||n.fromElement)||!mr(d)&&!d[ur])&&(s||l)&&(l=r.window===r?r:(l=r.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=a,null!==(d=(d=n.relatedTarget||n.toElement)?mr(d):null)&&(d!==(u=Oe(d))||5!==d.tag&&6!==d.tag)&&(d=null)):(s=null,d=a),s!==d)){if(c=un,m="onMouseLeave",h="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(c=Sn,m="onPointerLeave",h="onPointerEnter",f="pointer"),u=null==s?l:yr(s),p=null==d?l:yr(d),(l=new c(m,f+"leave",s,n,r)).target=u,l.relatedTarget=p,m=null,mr(r)===a&&((c=new c(h,f+"enter",d,n,r)).target=p,c.relatedTarget=u,m=c),u=m,s&&d)e:{for(h=d,f=0,p=c=s;p;p=Ua(p))f++;for(p=0,m=h;m;m=Ua(m))p++;for(;0<f-p;)c=Ua(c),f--;for(;0<p-f;)h=Ua(h),p--;for(;f--;){if(c===h||null!==h&&c===h.alternate)break e;c=Ua(c),h=Ua(h)}c=null}else c=null;null!==s&&Ga(i,l,s,c,!1),null!==d&&null!==u&&Ga(i,u,d,c,!0)}if("select"===(s=(l=a?yr(a):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=qn;else if(Vn(l))if(Yn)g=aa;else{g=ta;var y=ea}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=na);switch(g&&(g=g(e,a))?jn(i,g,n,r):(y&&y(e,l,a),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&X(l,"number",l.value)),y=a?yr(a):window,e){case"focusin":(Vn(y)||"true"===y.contentEditable)&&(pa=y,fa=a,ma=null);break;case"focusout":ma=fa=pa=null;break;case"mousedown":ga=!0;break;case"contextmenu":case"mouseup":case"dragend":ga=!1,ya(i,n,r);break;case"selectionchange":if(ha)break;case"keydown":case"keyup":ya(i,n,r)}var v;if(Tn)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else On?zn(e,n)&&(_="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(_="onCompositionStart");_&&(In&&"ko"!==n.locale&&(On||"onCompositionStart"!==_?"onCompositionEnd"===_&&On&&(v=Xt()):(Zt="value"in(Yt=r)?Yt.value:Yt.textContent,On=!0)),0<(y=Ba(a,_)).length&&(_=new yn(_,e,null,n,r),i.push({event:_,listeners:y}),v?_.data=v:null!==(v=Dn(n))&&(_.data=v))),(v=An?function(e,t){switch(e){case"compositionend":return Dn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Nn);case"textInput":return(e=t.data)===Nn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(On)return"compositionend"===e||!Tn&&zn(e,t)?(e=Xt(),Kt=Zt=Yt=null,On=!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 In&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(a=Ba(a,"onBeforeInput")).length&&(r=new yn("onBeforeInput","beforeinput",null,n,r),i.push({event:r,listeners:a}),r.data=v))}Na(i,t)}))}function ja(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ba(e,t){for(var n=t+"Capture",a=[];null!==e;){var r=e,o=r.stateNode;5===r.tag&&null!==o&&(r=o,null!=(o=Ce(e,n))&&a.unshift(ja(e,o,r)),null!=(o=Ce(e,t))&&a.push(ja(e,o,r))),e=e.return}return a}function Ua(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ga(e,t,n,a,r){for(var o=t._reactName,i=[];null!==n&&n!==a;){var l=n,s=l.alternate,d=l.stateNode;if(null!==s&&s===a)break;5===l.tag&&null!==d&&(l=d,r?null!=(s=Ce(n,o))&&i.unshift(ja(n,s,l)):r||null!=(s=Ce(n,o))&&i.push(ja(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Wa=/\r\n?/g,qa=/\u0000|\uFFFD/g;function Ya(e){return("string"==typeof e?e:""+e).replace(Wa,"\n").replace(qa,"")}function Za(e,t,a){if(t=Ya(t),Ya(e)!==t&&a)throw Error(n(425))}function Ka(){}var Xa=null,Qa=null;function Ja(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 er="function"==typeof setTimeout?setTimeout:void 0,tr="function"==typeof clearTimeout?clearTimeout:void 0,nr="function"==typeof Promise?Promise:void 0,ar="function"==typeof queueMicrotask?queueMicrotask:void 0!==nr?function(e){return nr.resolve(null).then(e).catch(rr)}:er;function rr(e){setTimeout((function(){throw e}))}function or(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===a)return e.removeChild(r),void Ot(t);a--}else"$"!==n&&"$?"!==n&&"$!"!==n||a++;n=r}while(n);Ot(t)}function ir(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 lr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var sr=Math.random().toString(36).slice(2),dr="__reactFiber$"+sr,cr="__reactProps$"+sr,ur="__reactContainer$"+sr,hr="__reactEvents$"+sr,pr="__reactListeners$"+sr,fr="__reactHandles$"+sr;function mr(e){var t=e[dr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ur]||n[dr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=lr(e);null!==e;){if(n=e[dr])return n;e=lr(e)}return t}n=(e=n).parentNode}return null}function gr(e){return!(e=e[dr]||e[ur])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function yr(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function vr(e){return e[cr]||null}var _r=[],br=-1;function xr(e){return{current:e}}function kr(e){0>br||(e.current=_r[br],_r[br]=null,br--)}function Er(e,t){br++,_r[br]=e.current,e.current=t}var Mr={},Sr=xr(Mr),wr=xr(!1),$r=Mr;function Rr(e,t){var n=e.type.contextTypes;if(!n)return Mr;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var r,o={};for(r in n)o[r]=t[r];return a&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Cr(e){return null!=(e=e.childContextTypes)}function Pr(){kr(wr),kr(Sr)}function Tr(e,t,a){if(Sr.current!==Mr)throw Error(n(168));Er(Sr,t),Er(wr,a)}function Lr(e,t,a){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return a;for(var o in r=r.getChildContext())if(!(o in t))throw Error(n(108,H(e)||"Unknown",o));return I({},a,r)}function Ar(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mr,$r=Sr.current,Er(Sr,e),Er(wr,wr.current),!0}function Ir(e,t,a){var r=e.stateNode;if(!r)throw Error(n(169));a?(e=Lr(e,t,$r),r.__reactInternalMemoizedMergedChildContext=e,kr(wr),kr(Sr),Er(Sr,e)):kr(wr),Er(wr,a)}var Nr=null,Fr=!1,zr=!1;function Dr(e){null===Nr?Nr=[e]:Nr.push(e)}function Or(){if(!zr&&null!==Nr){zr=!0;var e=0,t=gt;try{var n=Nr;for(gt=1;e<n.length;e++){var a=n[e];do{a=a(!0)}while(null!==a)}Nr=null,Fr=!1}catch(t){throw null!==Nr&&(Nr=Nr.slice(e+1)),Ue(Ke,Or),t}finally{gt=t,zr=!1}}return null}var Hr=[],Vr=0,jr=null,Br=0,Ur=[],Gr=0,Wr=null,qr=1,Yr="";function Zr(e,t){Hr[Vr++]=Br,Hr[Vr++]=jr,jr=e,Br=t}function Kr(e,t,n){Ur[Gr++]=qr,Ur[Gr++]=Yr,Ur[Gr++]=Wr,Wr=e;var a=qr;e=Yr;var r=32-at(a)-1;a&=~(1<<r),n+=1;var o=32-at(t)+r;if(30<o){var i=r-r%5;o=(a&(1<<i)-1).toString(32),a>>=i,r-=i,qr=1<<32-at(t)+r|n<<r|a,Yr=o+e}else qr=1<<o|n<<r|a,Yr=e}function Xr(e){null!==e.return&&(Zr(e,1),Kr(e,1,0))}function Qr(e){for(;e===jr;)jr=Hr[--Vr],Hr[Vr]=null,Br=Hr[--Vr],Hr[Vr]=null;for(;e===Wr;)Wr=Ur[--Gr],Ur[Gr]=null,Yr=Ur[--Gr],Ur[Gr]=null,qr=Ur[--Gr],Ur[Gr]=null}var Jr=null,eo=null,to=!1,no=null;function ao(e,t){var n=Cd(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ro(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Jr=e,eo=ir(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Jr=e,eo=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Wr?{id:qr,overflow:Yr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Cd(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Jr=e,eo=null,!0);default:return!1}}function oo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function io(e){if(to){var t=eo;if(t){var a=t;if(!ro(e,t)){if(oo(e))throw Error(n(418));t=ir(a.nextSibling);var r=Jr;t&&ro(e,t)?ao(r,a):(e.flags=-4097&e.flags|2,to=!1,Jr=e)}}else{if(oo(e))throw Error(n(418));e.flags=-4097&e.flags|2,to=!1,Jr=e}}}function lo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Jr=e}function so(e){if(e!==Jr)return!1;if(!to)return lo(e),to=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Ja(e.type,e.memoizedProps)),t&&(t=eo)){if(oo(e))throw co(),Error(n(418));for(;t;)ao(e,t),t=ir(t.nextSibling)}if(lo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var a=e.data;if("/$"===a){if(0===t){eo=ir(e.nextSibling);break e}t--}else"$"!==a&&"$!"!==a&&"$?"!==a||t++}e=e.nextSibling}eo=null}}else eo=Jr?ir(e.stateNode.nextSibling):null;return!0}function co(){for(var e=eo;e;)e=ir(e.nextSibling)}function uo(){eo=Jr=null,to=!1}function ho(e){null===no?no=[e]:no.push(e)}var po=y.ReactCurrentBatchConfig;function fo(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var mo=xr(null),go=null,yo=null,vo=null;function _o(){vo=yo=go=null}function bo(e){var t=mo.current;kr(mo),e._currentValue=t}function xo(e,t,n){for(;null!==e;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==a&&(a.childLanes|=t)):null!==a&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function ko(e,t){go=e,vo=yo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(yl=!0),e.firstContext=null)}function Eo(e){var t=e._currentValue;if(vo!==e)if(e={context:e,memoizedValue:t,next:null},null===yo){if(null===go)throw Error(n(308));yo=e,go.dependencies={lanes:0,firstContext:e}}else yo=yo.next=e;return t}var Mo=null;function So(e){null===Mo?Mo=[e]:Mo.push(e)}function wo(e,t,n,a){var r=t.interleaved;return null===r?(n.next=n,So(t)):(n.next=r.next,r.next=n),t.interleaved=n,$o(e,a)}function $o(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ro=!1;function Co(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Po(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 To(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Lo(e,t,n){var a=e.updateQueue;if(null===a)return null;if(a=a.shared,0!=(2&ws)){var r=a.pending;return null===r?t.next=t:(t.next=r.next,r.next=t),a.pending=t,$o(e,n)}return null===(r=a.interleaved)?(t.next=t,So(a)):(t.next=r.next,r.next=t),a.interleaved=t,$o(e,n)}function Ao(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var a=t.lanes;n|=a&=e.pendingLanes,t.lanes=n,mt(e,n)}}function Io(e,t){var n=e.updateQueue,a=e.alternate;if(null!==a&&n===(a=a.updateQueue)){var r=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?r=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?r=o=t:o=o.next=t}else r=o=t;return n={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:a.shared,effects:a.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function No(e,t,n,a){var r=e.updateQueue;Ro=!1;var o=r.firstBaseUpdate,i=r.lastBaseUpdate,l=r.shared.pending;if(null!==l){r.shared.pending=null;var s=l,d=s.next;s.next=null,null===i?o=d:i.next=d,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=d:l.next=d,c.lastBaseUpdate=s))}if(null!==o){var u=r.baseState;for(i=0,c=d=s=null,l=o;;){var h=l.lane,p=l.eventTime;if((a&h)===h){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var f=e,m=l;switch(h=t,p=n,m.tag){case 1:if("function"==typeof(f=m.payload)){u=f.call(p,u,h);break e}u=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null==(h="function"==typeof(f=m.payload)?f.call(p,u,h):f))break e;u=I({},u,h);break e;case 2:Ro=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(h=r.effects)?r.effects=[l]:h.push(l))}else p={eventTime:p,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(d=c=p,s=u):c=c.next=p,i|=h;if(null===(l=l.next)){if(null===(l=r.shared.pending))break;l=(h=l).next,h.next=null,r.lastBaseUpdate=h,r.shared.pending=null}}if(null===c&&(s=u),r.baseState=s,r.firstBaseUpdate=d,r.lastBaseUpdate=c,null!==(t=r.shared.interleaved)){r=t;do{i|=r.lane,r=r.next}while(r!==t)}else null===o&&(r.shared.lanes=0);Is|=i,e.lanes=i,e.memoizedState=u}}function Fo(e,t,a){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=a,"function"!=typeof o)throw Error(n(191,o));o.call(r)}}}var zo=(new e.Component).refs;function Do(e,t,n,a){n=null==(n=n(a,t=e.memoizedState))?t:I({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Oo={isMounted:function(e){return!!(e=e._reactInternals)&&Oe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Qs(),r=Js(e),o=To(a,r);o.payload=t,null!=n&&(o.callback=n),null!==(t=Lo(e,o,r))&&(ed(t,e,r,a),Ao(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Qs(),r=Js(e),o=To(a,r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Lo(e,o,r))&&(ed(t,e,r,a),Ao(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Qs(),a=Js(e),r=To(n,a);r.tag=2,null!=t&&(r.callback=t),null!==(t=Lo(e,r,a))&&(ed(t,e,a,n),Ao(t,e,a))}};function Ho(e,t,n,a,r,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(a,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!oa(n,a)||!oa(r,o))}function Vo(e,t,n){var a=!1,r=Mr,o=t.contextType;return"object"==typeof o&&null!==o?o=Eo(o):(r=Cr(t)?$r:Sr.current,o=(a=null!=(a=t.contextTypes))?Rr(e,r):Mr),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Oo,e.stateNode=t,t._reactInternals=e,a&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=o),t}function jo(e,t,n,a){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&Oo.enqueueReplaceState(t,t.state,null)}function Bo(e,t,n,a){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs=zo,Co(e);var o=t.contextType;"object"==typeof o&&null!==o?r.context=Eo(o):(o=Cr(t)?$r:Sr.current,r.context=Rr(e,o)),r.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(Do(e,t,o,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&Oo.enqueueReplaceState(r,r.state,null),No(e,n,r,a),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.flags|=4194308)}function Uo(e,t,a){if(null!==(e=a.ref)&&"function"!=typeof e&&"object"!=typeof e){if(a._owner){if(a=a._owner){if(1!==a.tag)throw Error(n(309));var r=a.stateNode}if(!r)throw Error(n(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===zo&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(n(284));if(!a._owner)throw Error(n(290,e))}return e}function Go(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Wo(e){return(0,e._init)(e._payload)}function qo(e){function t(t,n){if(e){var a=t.deletions;null===a?(t.deletions=[n],t.flags|=16):a.push(n)}}function a(n,a){if(!e)return null;for(;null!==a;)t(n,a),a=a.sibling;return null}function r(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 o(e,t){return(e=Td(e,t)).index=0,e.sibling=null,e}function i(t,n,a){return t.index=a,e?null!==(a=t.alternate)?(a=a.index)<n?(t.flags|=2,n):a:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,a){return null===t||6!==t.tag?((t=Nd(n,e.mode,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n,a){var r=n.type;return r===b?u(e,t,n.props.children,a,n.key):null!==t&&(t.elementType===r||"object"==typeof r&&null!==r&&r.$$typeof===C&&Wo(r)===t.type)?((a=o(t,n.props)).ref=Uo(e,t,n),a.return=e,a):((a=Ld(n.type,n.key,n.props,null,e.mode,a)).ref=Uo(e,t,n),a.return=e,a)}function c(e,t,n,a){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fd(n,e.mode,a)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function u(e,t,n,a,r){return null===t||7!==t.tag?((t=Ad(n,e.mode,a,r)).return=e,t):((t=o(t,n)).return=e,t)}function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Nd(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case v:return(n=Ld(t.type,t.key,t.props,null,e.mode,n)).ref=Uo(e,null,t),n.return=e,n;case _:return(t=Fd(t,e.mode,n)).return=e,t;case C:return h(e,(0,t._init)(t._payload),n)}if(Q(t)||L(t))return(t=Ad(t,e.mode,n,null)).return=e,t;Go(e,t)}return null}function p(e,t,n,a){var r=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==r?null:s(e,t,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case v:return n.key===r?d(e,t,n,a):null;case _:return n.key===r?c(e,t,n,a):null;case C:return p(e,t,(r=n._init)(n._payload),a)}if(Q(n)||L(n))return null!==r?null:u(e,t,n,a,null);Go(e,n)}return null}function f(e,t,n,a,r){if("string"==typeof a&&""!==a||"number"==typeof a)return s(t,e=e.get(n)||null,""+a,r);if("object"==typeof a&&null!==a){switch(a.$$typeof){case v:return d(t,e=e.get(null===a.key?n:a.key)||null,a,r);case _:return c(t,e=e.get(null===a.key?n:a.key)||null,a,r);case C:return f(e,t,n,(0,a._init)(a._payload),r)}if(Q(a)||L(a))return u(t,e=e.get(n)||null,a,r,null);Go(t,a)}return null}function m(n,o,l,s){for(var d=null,c=null,u=o,m=o=0,g=null;null!==u&&m<l.length;m++){u.index>m?(g=u,u=null):g=u.sibling;var y=p(n,u,l[m],s);if(null===y){null===u&&(u=g);break}e&&u&&null===y.alternate&&t(n,u),o=i(y,o,m),null===c?d=y:c.sibling=y,c=y,u=g}if(m===l.length)return a(n,u),to&&Zr(n,m),d;if(null===u){for(;m<l.length;m++)null!==(u=h(n,l[m],s))&&(o=i(u,o,m),null===c?d=u:c.sibling=u,c=u);return to&&Zr(n,m),d}for(u=r(n,u);m<l.length;m++)null!==(g=f(u,n,m,l[m],s))&&(e&&null!==g.alternate&&u.delete(null===g.key?m:g.key),o=i(g,o,m),null===c?d=g:c.sibling=g,c=g);return e&&u.forEach((function(e){return t(n,e)})),to&&Zr(n,m),d}function g(o,l,s,d){var c=L(s);if("function"!=typeof c)throw Error(n(150));if(null==(s=c.call(s)))throw Error(n(151));for(var u=c=null,m=l,g=l=0,y=null,v=s.next();null!==m&&!v.done;g++,v=s.next()){m.index>g?(y=m,m=null):y=m.sibling;var _=p(o,m,v.value,d);if(null===_){null===m&&(m=y);break}e&&m&&null===_.alternate&&t(o,m),l=i(_,l,g),null===u?c=_:u.sibling=_,u=_,m=y}if(v.done)return a(o,m),to&&Zr(o,g),c;if(null===m){for(;!v.done;g++,v=s.next())null!==(v=h(o,v.value,d))&&(l=i(v,l,g),null===u?c=v:u.sibling=v,u=v);return to&&Zr(o,g),c}for(m=r(o,m);!v.done;g++,v=s.next())null!==(v=f(m,o,g,v.value,d))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),l=i(v,l,g),null===u?c=v:u.sibling=v,u=v);return e&&m.forEach((function(e){return t(o,e)})),to&&Zr(o,g),c}return function e(n,r,i,s){if("object"==typeof i&&null!==i&&i.type===b&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case v:e:{for(var d=i.key,c=r;null!==c;){if(c.key===d){if((d=i.type)===b){if(7===c.tag){a(n,c.sibling),(r=o(c,i.props.children)).return=n,n=r;break e}}else if(c.elementType===d||"object"==typeof d&&null!==d&&d.$$typeof===C&&Wo(d)===c.type){a(n,c.sibling),(r=o(c,i.props)).ref=Uo(n,c,i),r.return=n,n=r;break e}a(n,c);break}t(n,c),c=c.sibling}i.type===b?((r=Ad(i.props.children,n.mode,s,i.key)).return=n,n=r):((s=Ld(i.type,i.key,i.props,null,n.mode,s)).ref=Uo(n,r,i),s.return=n,n=s)}return l(n);case _:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){a(n,r.sibling),(r=o(r,i.children||[])).return=n,n=r;break e}a(n,r);break}t(n,r),r=r.sibling}(r=Fd(i,n.mode,s)).return=n,n=r}return l(n);case C:return e(n,r,(c=i._init)(i._payload),s)}if(Q(i))return m(n,r,i,s);if(L(i))return g(n,r,i,s);Go(n,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==r&&6===r.tag?(a(n,r.sibling),(r=o(r,i)).return=n,n=r):(a(n,r),(r=Nd(i,n.mode,s)).return=n,n=r),l(n)):a(n,r)}}var Yo=qo(!0),Zo=qo(!1),Ko={},Xo=xr(Ko),Qo=xr(Ko),Jo=xr(Ko);function ei(e){if(e===Ko)throw Error(n(174));return e}function ti(e,t){switch(Er(Jo,t),Er(Qo,e),Er(Xo,Ko),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:oe(null,"");break;default:t=oe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}kr(Xo),Er(Xo,t)}function ni(){kr(Xo),kr(Qo),kr(Jo)}function ai(e){ei(Jo.current);var t=ei(Xo.current),n=oe(t,e.type);t!==n&&(Er(Qo,e),Er(Xo,n))}function ri(e){Qo.current===e&&(kr(Xo),kr(Qo))}var oi=xr(0);function ii(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.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 li=[];function si(){for(var e=0;e<li.length;e++)li[e]._workInProgressVersionPrimary=null;li.length=0}var di=y.ReactCurrentDispatcher,ci=y.ReactCurrentBatchConfig,ui=0,hi=null,pi=null,fi=null,mi=!1,gi=!1,yi=0,vi=0;function _i(){throw Error(n(321))}function bi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ra(e[n],t[n]))return!1;return!0}function xi(e,t,a,r,o,i){if(ui=i,hi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,di.current=null===e||null===e.memoizedState?rl:ol,e=a(r,o),gi){i=0;do{if(gi=!1,yi=0,25<=i)throw Error(n(301));i+=1,fi=pi=null,t.updateQueue=null,di.current=il,e=a(r,o)}while(gi)}if(di.current=al,t=null!==pi&&null!==pi.next,ui=0,fi=pi=hi=null,mi=!1,t)throw Error(n(300));return e}function ki(){var e=0!==yi;return yi=0,e}function Ei(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===fi?hi.memoizedState=fi=e:fi=fi.next=e,fi}function Mi(){if(null===pi){var e=hi.alternate;e=null!==e?e.memoizedState:null}else e=pi.next;var t=null===fi?hi.memoizedState:fi.next;if(null!==t)fi=t,pi=e;else{if(null===e)throw Error(n(310));e={memoizedState:(pi=e).memoizedState,baseState:pi.baseState,baseQueue:pi.baseQueue,queue:pi.queue,next:null},null===fi?hi.memoizedState=fi=e:fi=fi.next=e}return fi}function Si(e,t){return"function"==typeof t?t(e):t}function wi(e){var t=Mi(),a=t.queue;if(null===a)throw Error(n(311));a.lastRenderedReducer=e;var r=pi,o=r.baseQueue,i=a.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,a.pending=null}if(null!==o){i=o.next,r=r.baseState;var s=l=null,d=null,c=i;do{var u=c.lane;if((ui&u)===u)null!==d&&(d=d.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var h={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===d?(s=d=h,l=r):d=d.next=h,hi.lanes|=u,Is|=u}c=c.next}while(null!==c&&c!==i);null===d?l=r:d.next=s,ra(r,t.memoizedState)||(yl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=d,a.lastRenderedState=r}if(null!==(e=a.interleaved)){o=e;do{i=o.lane,hi.lanes|=i,Is|=i,o=o.next}while(o!==e)}else null===o&&(a.lanes=0);return[t.memoizedState,a.dispatch]}function $i(e){var t=Mi(),a=t.queue;if(null===a)throw Error(n(311));a.lastRenderedReducer=e;var r=a.dispatch,o=a.pending,i=t.memoizedState;if(null!==o){a.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);ra(i,t.memoizedState)||(yl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),a.lastRenderedState=i}return[i,r]}function Ri(){}function Ci(e,t){var a=hi,r=Mi(),o=t(),i=!ra(r.memoizedState,o);if(i&&(r.memoizedState=o,yl=!0),r=r.queue,Vi(Li.bind(null,a,r,e),[e]),r.getSnapshot!==t||i||null!==fi&&1&fi.memoizedState.tag){if(a.flags|=2048,Fi(9,Ti.bind(null,a,r,o,t),void 0,null),null===$s)throw Error(n(349));0!=(30&ui)||Pi(a,t,o)}return o}function Pi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ti(e,t,n,a){t.value=n,t.getSnapshot=a,Ai(t)&&Ii(e)}function Li(e,t,n){return n((function(){Ai(t)&&Ii(e)}))}function Ai(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ra(e,n)}catch(e){return!0}}function Ii(e){var t=$o(e,1);null!==t&&ed(t,e,1,-1)}function Ni(e){var t=Ei();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Si,lastRenderedState:e},t.queue=e,e=e.dispatch=Ji.bind(null,hi,e),[t.memoizedState,e]}function Fi(e,t,n,a){return e={tag:e,create:t,destroy:n,deps:a,next:null},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function zi(){return Mi().memoizedState}function Di(e,t,n,a){var r=Ei();hi.flags|=e,r.memoizedState=Fi(1|t,n,void 0,void 0===a?null:a)}function Oi(e,t,n,a){var r=Mi();a=void 0===a?null:a;var o=void 0;if(null!==pi){var i=pi.memoizedState;if(o=i.destroy,null!==a&&bi(a,i.deps))return void(r.memoizedState=Fi(t,n,o,a))}hi.flags|=e,r.memoizedState=Fi(1|t,n,o,a)}function Hi(e,t){return Di(8390656,8,e,t)}function Vi(e,t){return Oi(2048,8,e,t)}function ji(e,t){return Oi(4,2,e,t)}function Bi(e,t){return Oi(4,4,e,t)}function Ui(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Gi(e,t,n){return n=null!=n?n.concat([e]):null,Oi(4,4,Ui.bind(null,t,e),n)}function Wi(){}function qi(e,t){var n=Mi();t=void 0===t?null:t;var a=n.memoizedState;return null!==a&&null!==t&&bi(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=Mi();t=void 0===t?null:t;var a=n.memoizedState;return null!==a&&null!==t&&bi(t,a[1])?a[0]:(e=e(),n.memoizedState=[e,t],e)}function Zi(e,t,n){return 0==(21&ui)?(e.baseState&&(e.baseState=!1,yl=!0),e.memoizedState=n):(ra(n,t)||(n=ht(),hi.lanes|=n,Is|=n,e.baseState=!0),t)}function Ki(e,t){var n=gt;gt=0!==n&&4>n?n:4,e(!0);var a=ci.transition;ci.transition={};try{e(!1),t()}finally{gt=n,ci.transition=a}}function Xi(){return Mi().memoizedState}function Qi(e,t,n){var a=Js(e);if(n={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null},el(e))tl(t,n);else if(null!==(n=wo(e,t,n,a))){ed(n,e,a,Qs()),nl(n,t,a)}}function Ji(e,t,n){var a=Js(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(el(e))tl(t,r);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(r.hasEagerState=!0,r.eagerState=l,ra(l,i)){var s=t.interleaved;return null===s?(r.next=r,So(t)):(r.next=s.next,s.next=r),void(t.interleaved=r)}}catch(e){}null!==(n=wo(e,t,r,a))&&(ed(n,e,a,r=Qs()),nl(n,t,a))}}function el(e){var t=e.alternate;return e===hi||null!==t&&t===hi}function tl(e,t){gi=mi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nl(e,t,n){if(0!=(4194240&n)){var a=t.lanes;n|=a&=e.pendingLanes,t.lanes=n,mt(e,n)}}var al={readContext:Eo,useCallback:_i,useContext:_i,useEffect:_i,useImperativeHandle:_i,useInsertionEffect:_i,useLayoutEffect:_i,useMemo:_i,useReducer:_i,useRef:_i,useState:_i,useDebugValue:_i,useDeferredValue:_i,useTransition:_i,useMutableSource:_i,useSyncExternalStore:_i,useId:_i,unstable_isNewReconciler:!1},rl={readContext:Eo,useCallback:function(e,t){return Ei().memoizedState=[e,void 0===t?null:t],e},useContext:Eo,useEffect:Hi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Di(4194308,4,Ui.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Di(4194308,4,e,t)},useInsertionEffect:function(e,t){return Di(4,2,e,t)},useMemo:function(e,t){var n=Ei();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var a=Ei();return t=void 0!==n?n(t):t,a.memoizedState=a.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},a.queue=e,e=e.dispatch=Qi.bind(null,hi,e),[a.memoizedState,e]},useRef:function(e){return e={current:e},Ei().memoizedState=e},useState:Ni,useDebugValue:Wi,useDeferredValue:function(e){return Ei().memoizedState=e},useTransition:function(){var e=Ni(!1),t=e[0];return e=Ki.bind(null,e[1]),Ei().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,a){var r=hi,o=Ei();if(to){if(void 0===a)throw Error(n(407));a=a()}else{if(a=t(),null===$s)throw Error(n(349));0!=(30&ui)||Pi(r,t,a)}o.memoizedState=a;var i={value:a,getSnapshot:t};return o.queue=i,Hi(Li.bind(null,r,i,e),[e]),r.flags|=2048,Fi(9,Ti.bind(null,r,i,a,t),void 0,null),a},useId:function(){var e=Ei(),t=$s.identifierPrefix;if(to){var n=Yr;t=":"+t+"R"+(n=(qr&~(1<<32-at(qr)-1)).toString(32)+n),0<(n=yi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=vi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ol={readContext:Eo,useCallback:qi,useContext:Eo,useEffect:Vi,useImperativeHandle:Gi,useInsertionEffect:ji,useLayoutEffect:Bi,useMemo:Yi,useReducer:wi,useRef:zi,useState:function(){return wi(Si)},useDebugValue:Wi,useDeferredValue:function(e){return Zi(Mi(),pi.memoizedState,e)},useTransition:function(){return[wi(Si)[0],Mi().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ci,useId:Xi,unstable_isNewReconciler:!1},il={readContext:Eo,useCallback:qi,useContext:Eo,useEffect:Vi,useImperativeHandle:Gi,useInsertionEffect:ji,useLayoutEffect:Bi,useMemo:Yi,useReducer:$i,useRef:zi,useState:function(){return $i(Si)},useDebugValue:Wi,useDeferredValue:function(e){var t=Mi();return null===pi?t.memoizedState=e:Zi(t,pi.memoizedState,e)},useTransition:function(){return[$i(Si)[0],Mi().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ci,useId:Xi,unstable_isNewReconciler:!1};function ll(e,t){try{var n="",a=t;do{n+=D(a),a=a.return}while(a);var r=n}catch(e){r="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:r,digest:null}}function sl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var cl="function"==typeof WeakMap?WeakMap:Map;function ul(e,t,n){(n=To(-1,n)).tag=3,n.payload={element:null};var a=t.value;return n.callback=function(){js||(js=!0,Bs=a),dl(0,t)},n}function hl(e,t,n){(n=To(-1,n)).tag=3;var a=e.type.getDerivedStateFromError;if("function"==typeof a){var r=t.value;n.payload=function(){return a(r)},n.callback=function(){dl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!=typeof a&&(null===Us?Us=new Set([this]):Us.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function pl(e,t,n){var a=e.pingCache;if(null===a){a=e.pingCache=new cl;var r=new Set;a.set(t,r)}else void 0===(r=a.get(t))&&(r=new Set,a.set(t,r));r.has(n)||(r.add(n),e=Ed.bind(null,e,t,n),t.then(e,e))}function fl(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 ml(e,t,n,a,r){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=To(-1,1)).tag=2,Lo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=r,e)}var gl=y.ReactCurrentOwner,yl=!1;function vl(e,t,n,a){t.child=null===e?Zo(t,null,n,a):Yo(t,e.child,n,a)}function _l(e,t,n,a,r){n=n.render;var o=t.ref;return ko(t,r),a=xi(e,t,n,a,o,r),n=ki(),null===e||yl?(to&&n&&Xr(t),t.flags|=1,vl(e,t,a,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,jl(e,t,r))}function bl(e,t,n,a,r){if(null===e){var o=n.type;return"function"!=typeof o||Pd(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ld(n.type,null,a,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,xl(e,t,o,a,r))}if(o=e.child,0==(e.lanes&r)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:oa)(i,a)&&e.ref===t.ref)return jl(e,t,r)}return t.flags|=1,(e=Td(o,a)).ref=t.ref,e.return=t,t.child=e}function xl(e,t,n,a,r){if(null!==e){var o=e.memoizedProps;if(oa(o,a)&&e.ref===t.ref){if(yl=!1,t.pendingProps=a=o,0==(e.lanes&r))return t.lanes=e.lanes,jl(e,t,r);0!=(131072&e.flags)&&(yl=!0)}}return Ml(e,t,n,a,r)}function kl(e,t,n){var a=t.pendingProps,r=a.children,o=null!==e?e.memoizedState:null;if("hidden"===a.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Er(Ts,Ps),Ps|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Er(Ts,Ps),Ps|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=null!==o?o.baseLanes:n,Er(Ts,Ps),Ps|=a}else null!==o?(a=o.baseLanes|n,t.memoizedState=null):a=n,Er(Ts,Ps),Ps|=a;return vl(e,t,r,n),t.child}function El(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ml(e,t,n,a,r){var o=Cr(n)?$r:Sr.current;return o=Rr(t,o),ko(t,r),n=xi(e,t,n,a,o,r),a=ki(),null===e||yl?(to&&a&&Xr(t),t.flags|=1,vl(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,jl(e,t,r))}function Sl(e,t,n,a,r){if(Cr(n)){var o=!0;Ar(t)}else o=!1;if(ko(t,r),null===t.stateNode)Vl(e,t),Vo(t,n,a),Bo(t,n,a,r),a=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,d=n.contextType;"object"==typeof d&&null!==d?d=Eo(d):d=Rr(t,d=Cr(n)?$r:Sr.current);var c=n.getDerivedStateFromProps,u="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;u||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==a||s!==d)&&jo(t,i,a,d),Ro=!1;var h=t.memoizedState;i.state=h,No(t,a,i,r),s=t.memoizedState,l!==a||h!==s||wr.current||Ro?("function"==typeof c&&(Do(t,n,c,a),s=t.memoizedState),(l=Ro||Ho(t,n,l,a,h,s,d))?(u||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=s),i.props=a,i.state=s,i.context=d,a=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),a=!1)}else{i=t.stateNode,Po(e,t),l=t.memoizedProps,d=t.type===t.elementType?l:fo(t.type,l),i.props=d,u=t.pendingProps,h=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Eo(s):s=Rr(t,s=Cr(n)?$r:Sr.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==u||h!==s)&&jo(t,i,a,s),Ro=!1,h=t.memoizedState,i.state=h,No(t,a,i,r);var f=t.memoizedState;l!==u||h!==f||wr.current||Ro?("function"==typeof p&&(Do(t,n,p,a),f=t.memoizedState),(d=Ro||Ho(t,n,d,a,h,f,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(a,f,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(a,f,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=f),i.props=a,i.state=f,i.context=s,a=d):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),a=!1)}return wl(e,t,n,a,o,r)}function wl(e,t,n,a,r,o){El(e,t);var i=0!=(128&t.flags);if(!a&&!i)return r&&Ir(t,n,!1),jl(e,t,o);a=t.stateNode,gl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:a.render();return t.flags|=1,null!==e&&i?(t.child=Yo(t,e.child,null,o),t.child=Yo(t,null,l,o)):vl(e,t,l,o),t.memoizedState=a.state,r&&Ir(t,n,!0),t.child}function $l(e){var t=e.stateNode;t.pendingContext?Tr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Tr(0,t.context,!1),ti(e,t.containerInfo)}function Rl(e,t,n,a,r){return uo(),ho(r),t.flags|=256,vl(e,t,n,a),t.child}var Cl,Pl,Tl,Ll,Al={dehydrated:null,treeContext:null,retryLane:0};function Il(e){return{baseLanes:e,cachePool:null,transitions:null}}function Nl(e,t,a){var r,o=t.pendingProps,i=oi.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Er(oi,1&i),null===e)return io(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):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Id(s,o,0,null),e=Ad(e,o,a,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Il(a),t.memoizedState=Al,e):Fl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,a,r,o,i,l){if(a)return 256&t.flags?(t.flags&=-257,zl(e,t,l,r=sl(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Id({mode:"visible",children:r.children},o,0,null),(i=Ad(i,o,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Yo(t,e.child,null,l),t.child.memoizedState=Il(l),t.memoizedState=Al,i);if(0==(1&t.mode))return zl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,zl(e,t,l,r=sl(i=Error(n(419)),r,void 0))}if(s=0!=(l&e.childLanes),yl||s){if(null!==(r=$s)){switch(l&-l){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|l))?0:o)&&o!==i.retryLane&&(i.retryLane=o,$o(e,o),ed(r,e,o,-1))}return pd(),zl(e,t,l,r=sl(Error(n(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Sd.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,eo=ir(o.nextSibling),Jr=t,to=!0,no=null,null!==e&&(Ur[Gr++]=qr,Ur[Gr++]=Yr,Ur[Gr++]=Wr,qr=e.id,Yr=e.overflow,Wr=t),t=Fl(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,i,a);if(l){l=o.fallback,s=t.mode,r=(i=e.child).sibling;var d={mode:"hidden",children:o.children};return 0==(1&s)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=d,t.deletions=null):(o=Td(i,d)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Td(r,l):(l=Ad(l,s,a,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Il(a):{baseLanes:s.baseLanes|a,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~a,t.memoizedState=Al,o}return e=(l=e.child).sibling,o=Td(l,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=a),o.return=t,o.sibling=null,null!==e&&(null===(a=t.deletions)?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=o,t.memoizedState=null,o}function Fl(e,t){return(t=Id({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zl(e,t,n,a){return null!==a&&ho(a),Yo(t,e.child,null,n),(e=Fl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Dl(e,t,n){e.lanes|=t;var a=e.alternate;null!==a&&(a.lanes|=t),xo(e.return,t,n)}function Ol(e,t,n,a,r){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=n,o.tailMode=r)}function Hl(e,t,n){var a=t.pendingProps,r=a.revealOrder,o=a.tail;if(vl(e,t,a.children,n),0!=(2&(a=oi.current)))a=1&a|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&&Dl(e,n,t);else if(19===e.tag)Dl(e,n,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}a&=1}if(Er(oi,a),0==(1&t.mode))t.memoizedState=null;else switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===ii(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Ol(t,!1,r,n,o);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===ii(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Ol(t,!0,n,null,o);break;case"together":Ol(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function jl(e,t,a){if(null!==e&&(t.dependencies=e.dependencies),Is|=t.lanes,0==(a&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(a=Td(e=t.child,e.pendingProps),t.child=a,a.return=t;null!==e.sibling;)e=e.sibling,(a=a.sibling=Td(e,e.pendingProps)).return=t;a.sibling=null}return t.child}function Bl(e,t){if(!to)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;null!==n;)null!==n.alternate&&(a=n),n=n.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Ul(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,a=0;if(t)for(var r=e.child;null!==r;)n|=r.lanes|r.childLanes,a|=14680064&r.subtreeFlags,a|=14680064&r.flags,r.return=e,r=r.sibling;else for(r=e.child;null!==r;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags,a|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function Gl(e,t,a){var o=t.pendingProps;switch(Qr(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ul(t),null;case 1:case 17:return Cr(t.type)&&Pr(),Ul(t),null;case 3:return o=t.stateNode,ni(),kr(wr),kr(Sr),si(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(so(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==no&&(rd(no),no=null))),Pl(e,t),Ul(t),null;case 5:ri(t);var i=ei(Jo.current);if(a=t.type,null!==e&&null!=t.stateNode)Tl(e,t,a,o,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(null===t.stateNode)throw Error(n(166));return Ul(t),null}if(e=ei(Xo.current),so(t)){o=t.stateNode,a=t.type;var l=t.memoizedProps;switch(o[dr]=t,o[cr]=l,e=0!=(1&t.mode),a){case"dialog":Fa("cancel",o),Fa("close",o);break;case"iframe":case"object":case"embed":Fa("load",o);break;case"video":case"audio":for(i=0;i<La.length;i++)Fa(La[i],o);break;case"source":Fa("error",o);break;case"img":case"image":case"link":Fa("error",o),Fa("load",o);break;case"details":Fa("toggle",o);break;case"input":q(o,l),Fa("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!l.multiple},Fa("invalid",o);break;case"textarea":te(o,l),Fa("invalid",o)}for(var s in me(a,l),i=null,l)if(l.hasOwnProperty(s)){var d=l[s];"children"===s?"string"==typeof d?o.textContent!==d&&(!0!==l.suppressHydrationWarning&&Za(o.textContent,d,e),i=["children",d]):"number"==typeof d&&o.textContent!==""+d&&(!0!==l.suppressHydrationWarning&&Za(o.textContent,d,e),i=["children",""+d]):r.hasOwnProperty(s)&&null!=d&&"onScroll"===s&&Fa("scroll",o)}switch(a){case"input":B(o),K(o,l,!0);break;case"textarea":B(o),ae(o);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(o.onclick=Ka)}o=i,t.updateQueue=o,null!==o&&(t.flags|=4)}else{s=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=re(a)),"http://www.w3.org/1999/xhtml"===e?"script"===a?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=s.createElement(a,{is:o.is}):(e=s.createElement(a),"select"===a&&(s=e,o.multiple?s.multiple=!0:o.size&&(s.size=o.size))):e=s.createElementNS(e,a),e[dr]=t,e[cr]=o,Cl(e,t,!1,!1),t.stateNode=e;e:{switch(s=ge(a,o),a){case"dialog":Fa("cancel",e),Fa("close",e),i=o;break;case"iframe":case"object":case"embed":Fa("load",e),i=o;break;case"video":case"audio":for(i=0;i<La.length;i++)Fa(La[i],e);i=o;break;case"source":Fa("error",e),i=o;break;case"img":case"image":case"link":Fa("error",e),Fa("load",e),i=o;break;case"details":Fa("toggle",e),i=o;break;case"input":q(e,o),i=W(e,o),Fa("invalid",e);break;case"option":default:i=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},i=I({},o,{value:void 0}),Fa("invalid",e);break;case"textarea":te(e,o),i=ee(e,o),Fa("invalid",e)}for(l in me(a,i),d=i)if(d.hasOwnProperty(l)){var c=d[l];"style"===l?pe(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&se(e,c):"children"===l?"string"==typeof c?("textarea"!==a||""!==c)&&de(e,c):"number"==typeof c&&de(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(r.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Fa("scroll",e):null!=c&&g(e,l,c,s))}switch(a){case"input":B(e),K(e,o,!1);break;case"textarea":B(e),ae(e);break;case"option":null!=o.value&&e.setAttribute("value",""+V(o.value));break;case"select":e.multiple=!!o.multiple,null!=(l=o.value)?J(e,!!o.multiple,l,!1):null!=o.defaultValue&&J(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Ka)}switch(a){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ul(t),null;case 6:if(e&&null!=t.stateNode)Ll(e,t,e.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(n(166));if(a=ei(Jo.current),ei(Xo.current),so(t)){if(o=t.stateNode,a=t.memoizedProps,o[dr]=t,(l=o.nodeValue!==a)&&null!==(e=Jr))switch(e.tag){case 3:Za(o.nodeValue,a,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Za(o.nodeValue,a,0!=(1&e.mode))}l&&(t.flags|=4)}else(o=(9===a.nodeType?a:a.ownerDocument).createTextNode(o))[dr]=t,t.stateNode=o}return Ul(t),null;case 13:if(kr(oi),o=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(to&&null!==eo&&0!=(1&t.mode)&&0==(128&t.flags))co(),uo(),t.flags|=98560,l=!1;else if(l=so(t),null!==o&&null!==o.dehydrated){if(null===e){if(!l)throw Error(n(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(n(317));l[dr]=t}else uo(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ul(t),l=!1}else null!==no&&(rd(no),no=null),l=!0;if(!l)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=a,t):((o=null!==o)!==(null!==e&&null!==e.memoizedState)&&o&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&oi.current)?0===Ls&&(Ls=3):pd())),null!==t.updateQueue&&(t.flags|=4),Ul(t),null);case 4:return ni(),Pl(e,t),null===e&&Oa(t.stateNode.containerInfo),Ul(t),null;case 10:return bo(t.type._context),Ul(t),null;case 19:if(kr(oi),null===(l=t.memoizedState))return Ul(t),null;if(o=0!=(128&t.flags),null===(s=l.rendering))if(o)Bl(l,!1);else{if(0!==Ls||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ii(e))){for(t.flags|=128,Bl(l,!1),null!==(o=s.updateQueue)&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=a,a=t.child;null!==a;)e=o,(l=a).flags&=14680066,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),a=a.sibling;return Er(oi,1&oi.current|2),t.child}e=e.sibling}null!==l.tail&&Ye()>Hs&&(t.flags|=128,o=!0,Bl(l,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=ii(s))){if(t.flags|=128,o=!0,null!==(a=e.updateQueue)&&(t.updateQueue=a,t.flags|=4),Bl(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!to)return Ul(t),null}else 2*Ye()-l.renderingStartTime>Hs&&1073741824!==a&&(t.flags|=128,o=!0,Bl(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(null!==(a=l.last)?a.sibling=s:t.child=s,l.last=s)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ye(),t.sibling=null,a=oi.current,Er(oi,o?1&a|2:1&a),t):(Ul(t),null);case 22:case 23:return dd(),o=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==o&&(t.flags|=8192),o&&0!=(1&t.mode)?0!=(1073741824&Ps)&&(Ul(t),6&t.subtreeFlags&&(t.flags|=8192)):Ul(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Wl(e,t){switch(Qr(t),t.tag){case 1:return Cr(t.type)&&Pr(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ni(),kr(wr),kr(Sr),si(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ri(t),null;case 13:if(kr(oi),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));uo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return kr(oi),null;case 4:return ni(),null;case 10:return bo(t.type._context),null;case 22:case 23:return dd(),null;default:return null}}Cl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Pl=function(){},Tl=function(e,t,n,a){var o=e.memoizedProps;if(o!==a){e=t.stateNode,ei(Xo.current);var i,l=null;switch(n){case"input":o=W(e,o),a=W(e,a),l=[];break;case"select":o=I({},o,{value:void 0}),a=I({},a,{value:void 0}),l=[];break;case"textarea":o=ee(e,o),a=ee(e,a),l=[];break;default:"function"!=typeof o.onClick&&"function"==typeof a.onClick&&(e.onclick=Ka)}for(c in me(n,a),n=null,o)if(!a.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(r.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in a){var d=a[c];if(s=null!=o?o[c]:void 0,a.hasOwnProperty(c)&&d!==s&&(null!=d||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||d&&d.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in d)d.hasOwnProperty(i)&&s[i]!==d[i]&&(n||(n={}),n[i]=d[i])}else n||(l||(l=[]),l.push(c,n)),n=d;else"dangerouslySetInnerHTML"===c?(d=d?d.__html:void 0,s=s?s.__html:void 0,null!=d&&s!==d&&(l=l||[]).push(c,d)):"children"===c?"string"!=typeof d&&"number"!=typeof d||(l=l||[]).push(c,""+d):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(r.hasOwnProperty(c)?(null!=d&&"onScroll"===c&&Fa("scroll",e),l||s===d||(l=[])):(l=l||[]).push(c,d))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},Ll=function(e,t,n,a){n!==a&&(t.flags|=4)};var ql=!1,Yl=!1,Zl="function"==typeof WeakSet?WeakSet:Set,Kl=null;function Xl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){kd(e,t,n)}else n.current=null}function Ql(e,t,n){try{n()}catch(n){kd(e,t,n)}}var Jl=!1;function es(e,t,n){var a=t.updateQueue;if(null!==(a=null!==a?a.lastEffect:null)){var r=a=a.next;do{if((r.tag&e)===e){var o=r.destroy;r.destroy=void 0,void 0!==o&&Ql(t,n,o)}r=r.next}while(r!==a)}}function ts(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var a=n.create;n.destroy=a()}n=n.next}while(n!==t)}}function ns(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[dr],delete t[cr],delete t[hr],delete t[pr],delete t[fr])),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 rs(e){return 5===e.tag||3===e.tag||4===e.tag}function os(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||rs(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 is(e,t,n){var a=e.tag;if(5===a||6===a)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Ka));else if(4!==a&&null!==(e=e.child))for(is(e,t,n),e=e.sibling;null!==e;)is(e,t,n),e=e.sibling}function ls(e,t,n){var a=e.tag;if(5===a||6===a)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==a&&null!==(e=e.child))for(ls(e,t,n),e=e.sibling;null!==e;)ls(e,t,n),e=e.sibling}var ss=null,ds=!1;function cs(e,t,n){for(n=n.child;null!==n;)us(e,t,n),n=n.sibling}function us(e,t,n){if(nt&&"function"==typeof nt.onCommitFiberUnmount)try{nt.onCommitFiberUnmount(tt,n)}catch(e){}switch(n.tag){case 5:Yl||Xl(n,t);case 6:var a=ss,r=ds;ss=null,cs(e,t,n),ds=r,null!==(ss=a)&&(ds?(e=ss,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ss.removeChild(n.stateNode));break;case 18:null!==ss&&(ds?(e=ss,n=n.stateNode,8===e.nodeType?or(e.parentNode,n):1===e.nodeType&&or(e,n),Ot(e)):or(ss,n.stateNode));break;case 4:a=ss,r=ds,ss=n.stateNode.containerInfo,ds=!0,cs(e,t,n),ss=a,ds=r;break;case 0:case 11:case 14:case 15:if(!Yl&&(null!==(a=n.updateQueue)&&null!==(a=a.lastEffect))){r=a=a.next;do{var o=r,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)||0!=(4&o))&&Ql(n,t,i),r=r.next}while(r!==a)}cs(e,t,n);break;case 1:if(!Yl&&(Xl(n,t),"function"==typeof(a=n.stateNode).componentWillUnmount))try{a.props=n.memoizedProps,a.state=n.memoizedState,a.componentWillUnmount()}catch(e){kd(n,t,e)}cs(e,t,n);break;case 21:cs(e,t,n);break;case 22:1&n.mode?(Yl=(a=Yl)||null!==n.memoizedState,cs(e,t,n),Yl=a):cs(e,t,n);break;default:cs(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zl),t.forEach((function(t){var a=wd.bind(null,e,t);n.has(t)||(n.add(t),t.then(a,a))}))}}function ps(e,t){var a=t.deletions;if(null!==a)for(var r=0;r<a.length;r++){var o=a[r];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ss=s.stateNode,ds=!1;break e;case 3:case 4:ss=s.stateNode.containerInfo,ds=!0;break e}s=s.return}if(null===ss)throw Error(n(160));us(i,l,o),ss=null,ds=!1;var d=o.alternate;null!==d&&(d.return=null),o.return=null}catch(e){kd(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)fs(t,e),t=t.sibling}function fs(e,t){var a=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ps(t,e),ms(e),4&r){try{es(3,e,e.return),ts(3,e)}catch(t){kd(e,e.return,t)}try{es(5,e,e.return)}catch(t){kd(e,e.return,t)}}break;case 1:ps(t,e),ms(e),512&r&&null!==a&&Xl(a,a.return);break;case 5:if(ps(t,e),ms(e),512&r&&null!==a&&Xl(a,a.return),32&e.flags){var o=e.stateNode;try{de(o,"")}catch(t){kd(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,l=null!==a?a.memoizedProps:i,s=e.type,d=e.updateQueue;if(e.updateQueue=null,null!==d)try{"input"===s&&"radio"===i.type&&null!=i.name&&Y(o,i),ge(s,l);var c=ge(s,i);for(l=0;l<d.length;l+=2){var u=d[l],h=d[l+1];"style"===u?pe(o,h):"dangerouslySetInnerHTML"===u?se(o,h):"children"===u?de(o,h):g(o,u,h,c)}switch(s){case"input":Z(o,i);break;case"textarea":ne(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;null!=f?J(o,!!i.multiple,f,!1):p!==!!i.multiple&&(null!=i.defaultValue?J(o,!!i.multiple,i.defaultValue,!0):J(o,!!i.multiple,i.multiple?[]:"",!1))}o[cr]=i}catch(t){kd(e,e.return,t)}}break;case 6:if(ps(t,e),ms(e),4&r){if(null===e.stateNode)throw Error(n(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){kd(e,e.return,t)}}break;case 3:if(ps(t,e),ms(e),4&r&&null!==a&&a.memoizedState.isDehydrated)try{Ot(t.containerInfo)}catch(t){kd(e,e.return,t)}break;case 4:default:ps(t,e),ms(e);break;case 13:ps(t,e),ms(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Os=Ye())),4&r&&hs(e);break;case 22:if(u=null!==a&&null!==a.memoizedState,1&e.mode?(Yl=(c=Yl)||u,ps(t,e),Yl=c):ps(t,e),ms(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!u&&0!=(1&e.mode))for(Kl=e,u=e.child;null!==u;){for(h=Kl=u;null!==Kl;){switch(f=(p=Kl).child,p.tag){case 0:case 11:case 14:case 15:es(4,p,p.return);break;case 1:Xl(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,a=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){kd(r,a,e)}}break;case 5:Xl(p,p.return);break;case 22:if(null!==p.memoizedState){_s(h);continue}}null!==f?(f.return=p,Kl=f):_s(h)}u=u.sibling}e:for(u=null,h=e;;){if(5===h.tag){if(null===u){u=h;try{o=h.stateNode,c?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=h.stateNode,l=null!=(d=h.memoizedProps.style)&&d.hasOwnProperty("display")?d.display:null,s.style.display=he("display",l))}catch(t){kd(e,e.return,t)}}}else if(6===h.tag){if(null===u)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(t){kd(e,e.return,t)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;u===h&&(u=null),h=h.return}u===h&&(u=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ps(t,e),ms(e),4&r&&hs(e);case 21:}}function ms(e){var t=e.flags;if(2&t){try{e:{for(var a=e.return;null!==a;){if(rs(a)){var r=a;break e}a=a.return}throw Error(n(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(de(o,""),r.flags&=-33),ls(e,os(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;is(e,os(e),i);break;default:throw Error(n(161))}}catch(t){kd(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function gs(e,t,n){Kl=e,ys(e)}function ys(e,t,n){for(var a=0!=(1&e.mode);null!==Kl;){var r=Kl,o=r.child;if(22===r.tag&&a){var i=null!==r.memoizedState||ql;if(!i){var l=r.alternate,s=null!==l&&null!==l.memoizedState||Yl;l=ql;var d=Yl;if(ql=i,(Yl=s)&&!d)for(Kl=r;null!==Kl;)s=(i=Kl).child,22===i.tag&&null!==i.memoizedState?bs(r):null!==s?(s.return=i,Kl=s):bs(r);for(;null!==o;)Kl=o,ys(o),o=o.sibling;Kl=r,ql=l,Yl=d}vs(e)}else 0!=(8772&r.subtreeFlags)&&null!==o?(o.return=r,Kl=o):vs(e)}}function vs(e){for(;null!==Kl;){var t=Kl;if(0!=(8772&t.flags)){var a=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Yl||ts(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yl)if(null===a)r.componentDidMount();else{var o=t.elementType===t.type?a.memoizedProps:fo(t.type,a.memoizedProps);r.componentDidUpdate(o,a.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Fo(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(a=null,null!==t.child)switch(t.child.tag){case 5:case 1:a=t.child.stateNode}Fo(t,l,a)}break;case 5:var s=t.stateNode;if(null===a&&4&t.flags){a=s;var d=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":d.autoFocus&&a.focus();break;case"img":d.src&&(a.src=d.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 c=t.alternate;if(null!==c){var u=c.memoizedState;if(null!==u){var h=u.dehydrated;null!==h&&Ot(h)}}}break;default:throw Error(n(163))}Yl||512&t.flags&&ns(t)}catch(e){kd(t,t.return,e)}}if(t===e){Kl=null;break}if(null!==(a=t.sibling)){a.return=t.return,Kl=a;break}Kl=t.return}}function _s(e){for(;null!==Kl;){var t=Kl;if(t===e){Kl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Kl=n;break}Kl=t.return}}function bs(e){for(;null!==Kl;){var t=Kl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ts(4,t)}catch(e){kd(t,n,e)}break;case 1:var a=t.stateNode;if("function"==typeof a.componentDidMount){var r=t.return;try{a.componentDidMount()}catch(e){kd(t,r,e)}}var o=t.return;try{ns(t)}catch(e){kd(t,o,e)}break;case 5:var i=t.return;try{ns(t)}catch(e){kd(t,i,e)}}}catch(e){kd(t,t.return,e)}if(t===e){Kl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Kl=l;break}Kl=t.return}}var xs,ks=Math.ceil,Es=y.ReactCurrentDispatcher,Ms=y.ReactCurrentOwner,Ss=y.ReactCurrentBatchConfig,ws=0,$s=null,Rs=null,Cs=0,Ps=0,Ts=xr(0),Ls=0,As=null,Is=0,Ns=0,Fs=0,zs=null,Ds=null,Os=0,Hs=1/0,Vs=null,js=!1,Bs=null,Us=null,Gs=!1,Ws=null,qs=0,Ys=0,Zs=null,Ks=-1,Xs=0;function Qs(){return 0!=(6&ws)?Ye():-1!==Ks?Ks:Ks=Ye()}function Js(e){return 0==(1&e.mode)?1:0!=(2&ws)&&0!==Cs?Cs&-Cs:null!==po.transition?(0===Xs&&(Xs=ht()),Xs):0!==(e=gt)?e:e=void 0===(e=window.event)?16:qt(e.type)}function ed(e,t,a,r){if(50<Ys)throw Ys=0,Zs=null,Error(n(185));ft(e,a,r),0!=(2&ws)&&e===$s||(e===$s&&(0==(2&ws)&&(Ns|=a),4===Ls&&od(e,Cs)),td(e,r),1===a&&0===ws&&0==(1&t.mode)&&(Hs=Ye()+500,Fr&&Or()))}function td(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-at(o),l=1<<i,s=r[i];-1===s?0!=(l&n)&&0==(l&a)||(r[i]=ct(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var a=dt(e,e===$s?Cs:0);if(0===a)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Fr=!0,Dr(e)}(id.bind(null,e)):Dr(id.bind(null,e)),ar((function(){0==(6&ws)&&Or()})),n=null;else{switch(yt(a)){case 1:n=Ke;break;case 4:n=Xe;break;case 16:default:n=Qe;break;case 536870912:n=et}n=$d(n,nd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function nd(e,t){if(Ks=-1,Xs=0,0!=(6&ws))throw Error(n(327));var a=e.callbackNode;if(bd()&&e.callbackNode!==a)return null;var r=dt(e,e===$s?Cs:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=fd(e,r);else{t=r;var o=ws;ws|=2;var i=hd();for($s===e&&Cs===t||(Vs=null,Hs=Ye()+500,cd(e,t));;)try{gd();break}catch(t){ud(e,t)}_o(),Es.current=i,ws=o,null!==Rs?t=0:($s=null,Cs=0,t=Ls)}if(0!==t){if(2===t&&(0!==(o=ut(e))&&(r=o,t=ad(e,o))),1===t)throw a=As,cd(e,0),od(e,r),td(e,Ye()),a;if(6===t)od(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var a=0;a<n.length;a++){var r=n[a],o=r.getSnapshot;r=r.value;try{if(!ra(o(),r))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;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}(o)&&(2===(t=fd(e,r))&&(0!==(i=ut(e))&&(r=i,t=ad(e,i))),1===t))throw a=As,cd(e,0),od(e,r),td(e,Ye()),a;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(n(345));case 2:case 5:_d(e,Ds,Vs);break;case 3:if(od(e,r),(130023424&r)===r&&10<(t=Os+500-Ye())){if(0!==dt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Qs(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=er(_d.bind(null,e,Ds,Vs),t);break}_d(e,Ds,Vs);break;case 4:if(od(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);i=1<<l,(l=t[l])>o&&(o=l),r&=~i}if(r=o,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ks(r/1960))-r)){e.timeoutHandle=er(_d.bind(null,e,Ds,Vs),r);break}_d(e,Ds,Vs);break;default:throw Error(n(329))}}}return td(e,Ye()),e.callbackNode===a?nd.bind(null,e):null}function ad(e,t){var n=zs;return e.current.memoizedState.isDehydrated&&(cd(e,t).flags|=256),2!==(e=fd(e,t))&&(t=Ds,Ds=n,null!==t&&rd(t)),e}function rd(e){null===Ds?Ds=e:Ds.push.apply(Ds,e)}function od(e,t){for(t&=~Fs,t&=~Ns,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),a=1<<n;e[n]=-1,t&=~a}}function id(e){if(0!=(6&ws))throw Error(n(327));bd();var t=dt(e,0);if(0==(1&t))return td(e,Ye()),null;var a=fd(e,t);if(0!==e.tag&&2===a){var r=ut(e);0!==r&&(t=r,a=ad(e,r))}if(1===a)throw a=As,cd(e,0),od(e,t),td(e,Ye()),a;if(6===a)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_d(e,Ds,Vs),td(e,Ye()),null}function ld(e,t){var n=ws;ws|=1;try{return e(t)}finally{0===(ws=n)&&(Hs=Ye()+500,Fr&&Or())}}function sd(e){null!==Ws&&0===Ws.tag&&0==(6&ws)&&bd();var t=ws;ws|=1;var n=Ss.transition,a=gt;try{if(Ss.transition=null,gt=1,e)return e()}finally{gt=a,Ss.transition=n,0==(6&(ws=t))&&Or()}}function dd(){Ps=Ts.current,kr(Ts)}function cd(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,tr(n)),null!==Rs)for(n=Rs.return;null!==n;){var a=n;switch(Qr(a),a.tag){case 1:null!=(a=a.type.childContextTypes)&&Pr();break;case 3:ni(),kr(wr),kr(Sr),si();break;case 5:ri(a);break;case 4:ni();break;case 13:case 19:kr(oi);break;case 10:bo(a.type._context);break;case 22:case 23:dd()}n=n.return}if($s=e,Rs=e=Td(e.current,null),Cs=Ps=t,Ls=0,As=null,Fs=Ns=Is=0,Ds=zs=null,null!==Mo){for(t=0;t<Mo.length;t++)if(null!==(a=(n=Mo[t]).interleaved)){n.interleaved=null;var r=a.next,o=n.pending;if(null!==o){var i=o.next;o.next=r,a.next=i}n.pending=a}Mo=null}return e}function ud(e,t){for(;;){var a=Rs;try{if(_o(),di.current=al,mi){for(var r=hi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}mi=!1}if(ui=0,fi=pi=hi=null,gi=!1,yi=0,Ms.current=null,null===a||null===a.return){Ls=1,As=t,Rs=null;break}e:{var i=e,l=a.return,s=a,d=t;if(t=Cs,s.flags|=32768,null!==d&&"object"==typeof d&&"function"==typeof d.then){var c=d,u=s,h=u.tag;if(0==(1&u.mode)&&(0===h||11===h||15===h)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=fl(l);if(null!==f){f.flags&=-257,ml(f,l,s,0,t),1&f.mode&&pl(i,c,t),d=c;var m=(t=f).updateQueue;if(null===m){var g=new Set;g.add(d),t.updateQueue=g}else m.add(d);break e}if(0==(1&t)){pl(i,c,t),pd();break e}d=Error(n(426))}else if(to&&1&s.mode){var y=fl(l);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),ml(y,l,s,0,t),ho(ll(d,s));break e}}i=d=ll(d,s),4!==Ls&&(Ls=2),null===zs?zs=[i]:zs.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Io(i,ul(0,d,t));break e;case 1:s=d;var v=i.type,_=i.stateNode;if(0==(128&i.flags)&&("function"==typeof v.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===Us||!Us.has(_)))){i.flags|=65536,t&=-t,i.lanes|=t,Io(i,hl(i,s,t));break e}}i=i.return}while(null!==i)}vd(a)}catch(e){t=e,Rs===a&&null!==a&&(Rs=a=a.return);continue}break}}function hd(){var e=Es.current;return Es.current=al,null===e?al:e}function pd(){0!==Ls&&3!==Ls&&2!==Ls||(Ls=4),null===$s||0==(268435455&Is)&&0==(268435455&Ns)||od($s,Cs)}function fd(e,t){var a=ws;ws|=2;var r=hd();for($s===e&&Cs===t||(Vs=null,cd(e,t));;)try{md();break}catch(t){ud(e,t)}if(_o(),ws=a,Es.current=r,null!==Rs)throw Error(n(261));return $s=null,Cs=0,Ls}function md(){for(;null!==Rs;)yd(Rs)}function gd(){for(;null!==Rs&&!We();)yd(Rs)}function yd(e){var t=xs(e.alternate,e,Ps);e.memoizedProps=e.pendingProps,null===t?vd(e):Rs=t,Ms.current=null}function vd(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Gl(n,t,Ps)))return void(Rs=n)}else{if(null!==(n=Wl(n,t)))return n.flags&=32767,void(Rs=n);if(null===e)return Ls=6,void(Rs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Rs=t);Rs=t=e}while(null!==t);0===Ls&&(Ls=5)}function _d(e,t,a){var r=gt,o=Ss.transition;try{Ss.transition=null,gt=1,function(e,t,a,r){do{bd()}while(null!==Ws);if(0!=(6&ws))throw Error(n(327));a=e.finishedWork;var o=e.finishedLanes;if(null===a)return null;if(e.finishedWork=null,e.finishedLanes=0,a===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var i=a.lanes|a.childLanes;if(function(e,t){var n=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 a=e.eventTimes;for(e=e.expirationTimes;0<n;){var r=31-at(n),o=1<<r;t[r]=0,a[r]=-1,e[r]=-1,n&=~o}}(e,i),e===$s&&(Rs=$s=null,Cs=0),0==(2064&a.subtreeFlags)&&0==(2064&a.flags)||Gs||(Gs=!0,$d(Qe,(function(){return bd(),null}))),i=0!=(15990&a.flags),0!=(15990&a.subtreeFlags)||i){i=Ss.transition,Ss.transition=null;var l=gt;gt=1;var s=ws;ws|=4,Ms.current=null,function(e,t){if(Xa=Vt,ca(e=da())){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(a=(a=e.ownerDocument)&&a.defaultView||window).getSelection&&a.getSelection();if(r&&0!==r.rangeCount){a=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{a.nodeType,i.nodeType}catch(e){a=null;break e}var l=0,s=-1,d=-1,c=0,u=0,h=e,p=null;t:for(;;){for(var f;h!==a||0!==o&&3!==h.nodeType||(s=l+o),h!==i||0!==r&&3!==h.nodeType||(d=l+r),3===h.nodeType&&(l+=h.nodeValue.length),null!==(f=h.firstChild);)p=h,h=f;for(;;){if(h===e)break t;if(p===a&&++c===o&&(s=l),p===i&&++u===r&&(d=l),null!==(f=h.nextSibling))break;p=(h=p).parentNode}h=f}a=-1===s||-1===d?null:{start:s,end:d}}else a=null}a=a||{start:0,end:0}}else a=null;for(Qa={focusedElem:e,selectionRange:a},Vt=!1,Kl=t;null!==Kl;)if(e=(t=Kl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Kl=e;else for(;null!==Kl;){t=Kl;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 g=m.memoizedProps,y=m.memoizedState,v=t.stateNode,_=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:fo(t.type,g),y);v.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(n(163))}}catch(e){kd(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Kl=e;break}Kl=t.return}m=Jl,Jl=!1}(e,a),fs(a,e),ua(Qa),Vt=!!Xa,Qa=Xa=null,e.current=a,gs(a),qe(),ws=s,gt=l,Ss.transition=i}else e.current=a;if(Gs&&(Gs=!1,Ws=e,qs=o),i=e.pendingLanes,0===i&&(Us=null),function(e){if(nt&&"function"==typeof nt.onCommitFiberRoot)try{nt.onCommitFiberRoot(tt,e,void 0,128==(128&e.current.flags))}catch(e){}}(a.stateNode),td(e,Ye()),null!==t)for(r=e.onRecoverableError,a=0;a<t.length;a++)o=t[a],r(o.value,{componentStack:o.stack,digest:o.digest});if(js)throw js=!1,e=Bs,Bs=null,e;0!=(1&qs)&&0!==e.tag&&bd(),i=e.pendingLanes,0!=(1&i)?e===Zs?Ys++:(Ys=0,Zs=e):Ys=0,Or()}(e,t,a,r)}finally{Ss.transition=o,gt=r}return null}function bd(){if(null!==Ws){var e=yt(qs),t=Ss.transition,a=gt;try{if(Ss.transition=null,gt=16>e?16:e,null===Ws)var r=!1;else{if(e=Ws,Ws=null,qs=0,0!=(6&ws))throw Error(n(331));var o=ws;for(ws|=4,Kl=e.current;null!==Kl;){var i=Kl,l=i.child;if(0!=(16&Kl.flags)){var s=i.deletions;if(null!==s){for(var d=0;d<s.length;d++){var c=s[d];for(Kl=c;null!==Kl;){var u=Kl;switch(u.tag){case 0:case 11:case 15:es(8,u,i)}var h=u.child;if(null!==h)h.return=u,Kl=h;else for(;null!==Kl;){var p=(u=Kl).sibling,f=u.return;if(as(u),u===c){Kl=null;break}if(null!==p){p.return=f,Kl=p;break}Kl=f}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}Kl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Kl=l;else e:for(;null!==Kl;){if(0!=(2048&(i=Kl).flags))switch(i.tag){case 0:case 11:case 15:es(9,i,i.return)}var v=i.sibling;if(null!==v){v.return=i.return,Kl=v;break e}Kl=i.return}}var _=e.current;for(Kl=_;null!==Kl;){var b=(l=Kl).child;if(0!=(2064&l.subtreeFlags)&&null!==b)b.return=l,Kl=b;else e:for(l=_;null!==Kl;){if(0!=(2048&(s=Kl).flags))try{switch(s.tag){case 0:case 11:case 15:ts(9,s)}}catch(e){kd(s,s.return,e)}if(s===l){Kl=null;break e}var x=s.sibling;if(null!==x){x.return=s.return,Kl=x;break e}Kl=s.return}}if(ws=o,Or(),nt&&"function"==typeof nt.onPostCommitFiberRoot)try{nt.onPostCommitFiberRoot(tt,e)}catch(e){}r=!0}return r}finally{gt=a,Ss.transition=t}}return!1}function xd(e,t,n){e=Lo(e,t=ul(0,t=ll(n,t),1),1),t=Qs(),null!==e&&(ft(e,1,t),td(e,t))}function kd(e,t,n){if(3===e.tag)xd(e,e,n);else for(;null!==t;){if(3===t.tag){xd(t,e,n);break}if(1===t.tag){var a=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof a.componentDidCatch&&(null===Us||!Us.has(a))){t=Lo(t,e=hl(t,e=ll(n,e),1),1),e=Qs(),null!==t&&(ft(t,1,e),td(t,e));break}}t=t.return}}function Ed(e,t,n){var a=e.pingCache;null!==a&&a.delete(t),t=Qs(),e.pingedLanes|=e.suspendedLanes&n,$s===e&&(Cs&n)===n&&(4===Ls||3===Ls&&(130023424&Cs)===Cs&&500>Ye()-Os?cd(e,0):Fs|=n),td(e,t)}function Md(e,t){0===t&&(0==(1&e.mode)?t=1:(t=lt,0==(130023424&(lt<<=1))&&(lt=4194304)));var n=Qs();null!==(e=$o(e,t))&&(ft(e,t,n),td(e,n))}function Sd(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Md(e,n)}function wd(e,t){var a=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(a=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(n(314))}null!==r&&r.delete(t),Md(e,a)}function $d(e,t){return Ue(e,t)}function Rd(e,t,n,a){this.tag=e,this.key=n,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=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Cd(e,t,n,a){return new Rd(e,t,n,a)}function Pd(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Td(e,t){var n=e.alternate;return null===n?((n=Cd(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ld(e,t,a,r,o,i){var l=2;if(r=e,"function"==typeof e)Pd(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case b:return Ad(a.children,o,i,t);case x:l=8,o|=8;break;case k:return(e=Cd(12,a,t,2|o)).elementType=k,e.lanes=i,e;case w:return(e=Cd(13,a,t,o)).elementType=w,e.lanes=i,e;case $:return(e=Cd(19,a,t,o)).elementType=$,e.lanes=i,e;case P:return Id(a,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case E:l=10;break e;case M:l=9;break e;case S:l=11;break e;case R:l=14;break e;case C:l=16,r=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Cd(l,a,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Ad(e,t,n,a){return(e=Cd(7,e,a,t)).lanes=n,e}function Id(e,t,n,a){return(e=Cd(22,e,a,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Nd(e,t,n){return(e=Cd(6,e,null,t)).lanes=n,e}function Fd(e,t,n){return(t=Cd(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zd(e,t,n,a,r){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=pt(0),this.expirationTimes=pt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.identifierPrefix=a,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Dd(e,t,n,a,r,o,i,l,s){return e=new zd(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Cd(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Co(o),e}function Od(e){if(!e)return Mr;e:{if(Oe(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Cr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var a=e.type;if(Cr(a))return Lr(e,a,t)}return t}function Hd(e,t,n,a,r,o,i,l,s){return(e=Dd(n,a,!0,e,0,o,0,l,s)).context=Od(null),n=e.current,(o=To(a=Qs(),r=Js(n))).callback=null!=t?t:null,Lo(n,o,r),e.current.lanes=r,ft(e,r,a),td(e,a),e}function Vd(e,t,n,a){var r=t.current,o=Qs(),i=Js(r);return n=Od(n),null===t.context?t.context=n:t.pendingContext=n,(t=To(o,i)).payload={element:e},null!==(a=void 0===a?null:a)&&(t.callback=a),null!==(e=Lo(r,t,i))&&(ed(e,r,i,o),Ao(e,r,i)),i}function jd(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Bd(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ud(e,t){Bd(e,t),(e=e.alternate)&&Bd(e,t)}xs=function(e,t,a){if(null!==e)if(e.memoizedProps!==t.pendingProps||wr.current)yl=!0;else{if(0==(e.lanes&a)&&0==(128&t.flags))return yl=!1,function(e,t,n){switch(t.tag){case 3:$l(t),uo();break;case 5:ai(t);break;case 1:Cr(t.type)&&Ar(t);break;case 4:ti(t,t.stateNode.containerInfo);break;case 10:var a=t.type._context,r=t.memoizedProps.value;Er(mo,a._currentValue),a._currentValue=r;break;case 13:if(null!==(a=t.memoizedState))return null!==a.dehydrated?(Er(oi,1&oi.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Nl(e,t,n):(Er(oi,1&oi.current),null!==(e=jl(e,t,n))?e.sibling:null);Er(oi,1&oi.current);break;case 19:if(a=0!=(n&t.childLanes),0!=(128&e.flags)){if(a)return Hl(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),Er(oi,oi.current),a)break;return null;case 22:case 23:return t.lanes=0,kl(e,t,n)}return jl(e,t,n)}(e,t,a);yl=0!=(131072&e.flags)}else yl=!1,to&&0!=(1048576&t.flags)&&Kr(t,Br,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vl(e,t),e=t.pendingProps;var o=Rr(t,Sr.current);ko(t,a),o=xi(null,t,r,e,o,a);var i=ki();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Cr(r)?(i=!0,Ar(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Co(t),o.updater=Oo,t.stateNode=o,o._reactInternals=t,Bo(t,r,e,a),t=wl(null,t,r,!0,i,a)):(t.tag=0,to&&i&&Xr(t),vl(null,t,o,a),t=t.child),t;case 16:r=t.elementType;e:{switch(Vl(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Pd(e)?1:0;if(null!=e){if((e=e.$$typeof)===S)return 11;if(e===R)return 14}return 2}(r),e=fo(r,e),o){case 0:t=Ml(null,t,r,e,a);break e;case 1:t=Sl(null,t,r,e,a);break e;case 11:t=_l(null,t,r,e,a);break e;case 14:t=bl(null,t,r,fo(r.type,e),a);break e}throw Error(n(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ml(e,t,r,o=t.elementType===r?o:fo(r,o),a);case 1:return r=t.type,o=t.pendingProps,Sl(e,t,r,o=t.elementType===r?o:fo(r,o),a);case 3:e:{if($l(t),null===e)throw Error(n(387));r=t.pendingProps,o=(i=t.memoizedState).element,Po(e,t),No(t,r,null,a);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Rl(e,t,r,a,o=ll(Error(n(423)),t));break e}if(r!==o){t=Rl(e,t,r,a,o=ll(Error(n(424)),t));break e}for(eo=ir(t.stateNode.containerInfo.firstChild),Jr=t,to=!0,no=null,a=Zo(t,null,r,a),t.child=a;a;)a.flags=-3&a.flags|4096,a=a.sibling}else{if(uo(),r===o){t=jl(e,t,a);break e}vl(e,t,r,a)}t=t.child}return t;case 5:return ai(t),null===e&&io(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,Ja(r,o)?l=null:null!==i&&Ja(r,i)&&(t.flags|=32),El(e,t),vl(e,t,l,a),t.child;case 6:return null===e&&io(t),null;case 13:return Nl(e,t,a);case 4:return ti(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Yo(t,null,r,a):vl(e,t,r,a),t.child;case 11:return r=t.type,o=t.pendingProps,_l(e,t,r,o=t.elementType===r?o:fo(r,o),a);case 7:return vl(e,t,t.pendingProps,a),t.child;case 8:case 12:return vl(e,t,t.pendingProps.children,a),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Er(mo,r._currentValue),r._currentValue=l,null!==i)if(ra(i.value,l)){if(i.children===o.children&&!wr.current){t=jl(e,t,a);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var d=s.firstContext;null!==d;){if(d.context===r){if(1===i.tag){(d=To(-1,a&-a)).tag=2;var c=i.updateQueue;if(null!==c){var u=(c=c.shared).pending;null===u?d.next=d:(d.next=u.next,u.next=d),c.pending=d}}i.lanes|=a,null!==(d=i.alternate)&&(d.lanes|=a),xo(i.return,a,t),s.lanes|=a;break}d=d.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(n(341));l.lanes|=a,null!==(s=l.alternate)&&(s.lanes|=a),xo(l,a,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}vl(e,t,o.children,a),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ko(t,a),r=r(o=Eo(o)),t.flags|=1,vl(e,t,r,a),t.child;case 14:return o=fo(r=t.type,t.pendingProps),bl(e,t,r,o=fo(r.type,o),a);case 15:return xl(e,t,t.type,t.pendingProps,a);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:fo(r,o),Vl(e,t),t.tag=1,Cr(r)?(e=!0,Ar(t)):e=!1,ko(t,a),Vo(t,r,o),Bo(t,r,o,a),wl(null,t,r,!0,e,a);case 19:return Hl(e,t,a);case 22:return kl(e,t,a)}throw Error(n(156,t.tag))};var Gd="function"==typeof reportError?reportError:function(e){console.error(e)};function Wd(e){this._internalRoot=e}function qd(e){this._internalRoot=e}function Yd(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zd(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Kd(){}function Xd(e,t,n,a,r){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof r){var l=r;r=function(){var e=jd(i);l.call(e)}}Vd(t,i,e,r)}else i=function(e,t,n,a,r){if(r){if("function"==typeof a){var o=a;a=function(){var e=jd(i);o.call(e)}}var i=Hd(t,a,e,0,null,!1,0,"",Kd);return e._reactRootContainer=i,e[ur]=i.current,Oa(8===e.nodeType?e.parentNode:e),sd(),i}for(;r=e.lastChild;)e.removeChild(r);if("function"==typeof a){var l=a;a=function(){var e=jd(s);l.call(e)}}var s=Dd(e,0,!1,null,0,!1,0,"",Kd);return e._reactRootContainer=s,e[ur]=s.current,Oa(8===e.nodeType?e.parentNode:e),sd((function(){Vd(t,s,n,a)})),s}(n,t,e,r,a);return jd(i)}qd.prototype.render=Wd.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Vd(e,t,null,null)},qd.prototype.unmount=Wd.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;sd((function(){Vd(null,e,null,null)})),t[ur]=null}},qd.prototype.unstable_scheduleHydration=function(e){if(e){var t=xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&It(e)}},vt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=st(t.pendingLanes);0!==n&&(mt(t,1|n),td(t,Ye()),0==(6&ws)&&(Hs=Ye()+500,Or()))}break;case 13:sd((function(){var t=$o(e,1);if(null!==t){var n=Qs();ed(t,e,1,n)}})),Ud(e,1)}},_t=function(e){if(13===e.tag){var t=$o(e,134217728);if(null!==t)ed(t,e,134217728,Qs());Ud(e,134217728)}},bt=function(e){if(13===e.tag){var t=Js(e),n=$o(e,t);if(null!==n)ed(n,e,t,Qs());Ud(e,t)}},xt=function(){return gt},kt=function(e,t){var n=gt;try{return gt=e,t()}finally{gt=n}},_e=function(e,t,a){switch(t){case"input":if(Z(e,a),t=a.name,"radio"===a.type&&null!=t){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<a.length;t++){var r=a[t];if(r!==e&&r.form===e.form){var o=vr(r);if(!o)throw Error(n(90));U(r),Z(r,o)}}}break;case"textarea":ne(e,a);break;case"select":null!=(t=a.value)&&J(e,!!a.multiple,t,!1)}},Se=ld,we=sd;var Qd={usingClientEntryPoint:!1,Events:[gr,yr,vr,Ee,Me,ld]},Jd={findFiberByHostInstance:mr,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ec={bundleType:Jd.bundleType,version:Jd.version,rendererPackageName:Jd.rendererPackageName,rendererConfig:Jd.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=je(e))?null:e.stateNode},findFiberByHostInstance:Jd.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 tc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tc.isDisabled&&tc.supportsFiber)try{tt=tc.inject(ec),nt=tc}catch(le){}}return reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qd,reactDom_production_min.createPortal=function(e,t){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yd(t))throw Error(n(200));return function(e,t,n){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_,key:null==a?null:""+a,children:e,containerInfo:t,implementation:n}}(e,t,null,a)},reactDom_production_min.createRoot=function(e,t){if(!Yd(e))throw Error(n(299));var a=!1,r="",o=Gd;return null!=t&&(!0===t.unstable_strictMode&&(a=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Dd(e,1,!1,null,0,a,0,r,o),e[ur]=t.current,Oa(8===e.nodeType?e.parentNode:e),new Wd(t)},reactDom_production_min.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(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return e=null===(e=je(t))?null:e.stateNode},reactDom_production_min.flushSync=function(e){return sd(e)},reactDom_production_min.hydrate=function(e,t,a){if(!Zd(t))throw Error(n(200));return Xd(null,e,t,!0,a)},reactDom_production_min.hydrateRoot=function(e,t,a){if(!Yd(e))throw Error(n(405));var r=null!=a&&a.hydratedSources||null,o=!1,i="",l=Gd;if(null!=a&&(!0===a.unstable_strictMode&&(o=!0),void 0!==a.identifierPrefix&&(i=a.identifierPrefix),void 0!==a.onRecoverableError&&(l=a.onRecoverableError)),t=Hd(t,null,e,1,null!=a?a:null,o,0,i,l),e[ur]=t.current,Oa(e),r)for(e=0;e<r.length;e++)o=(o=(a=r[e])._getVersion)(a._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[a,o]:t.mutableSourceEagerHydrationData.push(a,o);return new qd(t)},reactDom_production_min.render=function(e,t,a){if(!Zd(t))throw Error(n(200));return Xd(null,e,t,!1,a)},reactDom_production_min.unmountComponentAtNode=function(e){if(!Zd(e))throw Error(n(40));return!!e._reactRootContainer&&(sd((function(){Xd(null,null,e,!1,(function(){e._reactRootContainer=null,e[ur]=null}))})),!0)},reactDom_production_min.unstable_batchedUpdates=ld,reactDom_production_min.unstable_renderSubtreeIntoContainer=function(e,t,a,r){if(!Zd(a))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return Xd(e,t,a,!1,r)},reactDom_production_min.version="18.2.0-next-9e3b772b8-20220608",reactDom_production_min}var reactDom_development={},hasRequiredReactDom_development;
555
+ */function requireReactDom_production_min(){if(hasRequiredReactDom_production_min)return reactDom_production_min;hasRequiredReactDom_production_min=1;var e=React__default.default,t=requireScheduler();function n(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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 a=new Set,r={};function o(e,t){i(e,t),i(e+"Capture",t)}function i(e,t){for(r[e]=t,e=0;e<t.length;e++)a.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s=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]*$/,c={},u={};function h(e,t,n,a,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){p[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];p[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){p[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){p[e]=new h(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){p[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){p[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){p[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){p[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){p[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var f=/[\-:]([a-z])/g;function m(e){return e[1].toUpperCase()}function g(e,t,n,a){var r=p.hasOwnProperty(t)?p[t]:null;(null!==r?0!==r.type:a||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,a){if(null==t||function(e,t,n,a){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!a&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,a))return!0;if(a)return!1;if(null!==n)switch(n.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,n,r,a)&&(n=null),a||null===r?function(e){return!!s.call(u,e)||!s.call(c,e)&&(d.test(e)?u[e]=!0:(c[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,a=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,a?e.setAttributeNS(a,t,n):e.setAttribute(t,n))))}"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(f,m);p[t]=new h(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(f,m);p[t]=new h(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(f,m);p[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){p[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),p.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){p[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var y=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,v=Symbol.for("react.element"),_=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),M=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),T=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=T&&e[T]||e["@@iterator"])?e:null}var A,I=Object.assign;function N(e){if(void 0===A)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);A=t&&t[1]||""}return"\n"+A+e}var F=!1;function z(e,t){if(!e||F)return"";F=!0;var n=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(e){var a=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){a=e}e.call(t.prototype)}else{try{throw Error()}catch(e){a=e}e()}}catch(t){if(t&&a&&"string"==typeof t.stack){for(var r=t.stack.split("\n"),o=a.stack.split("\n"),i=r.length-1,l=o.length-1;1<=i&&0<=l&&r[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(r[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||r[i]!==o[l]){var s="\n"+r[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?N(e):""}function D(e){switch(e.tag){case 5:return N(e.type);case 16:return N("Lazy");case 13:return N("Suspense");case 19:return N("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 O(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 b:return"Fragment";case _:return"Portal";case k:return"Profiler";case x:return"StrictMode";case w:return"Suspense";case $:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case M:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:O(e.type)||"Memo";case C:t=e._payload,e=e._init;try{return O(e(t))}catch(e){}}return null}function H(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 O(t);case 8:return t===x?"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 V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function j(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function B(e){e._valueTracker||(e._valueTracker=function(e){var t=j(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){a=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function U(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=j(e)?e.checked?"true":"false":e.value),(e=a)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function q(e,t){var n=t.checked;return I({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function W(e,t){var n=null==t.defaultValue?"":t.defaultValue,a=null!=t.checked?t.checked:t.defaultChecked;n=V(null!=t.value?t.value:n),e._wrapperState={initialChecked:a,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&g(e,"checked",t,!1)}function Z(e,t){Y(e,t);var n=V(t.value),a=t.type;if(null!=n)"number"===a?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===a||"reset"===a)return void e.removeAttribute("value");t.hasOwnProperty("value")?X(e,t.type,n):t.hasOwnProperty("defaultValue")&&X(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function K(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!("submit"!==a&&"reset"!==a||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function X(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Q=Array.isArray;function J(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+V(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(a&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function ee(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return I({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function te(e,t){var a=t.value;if(null==a){if(a=t.children,t=t.defaultValue,null!=a){if(null!=t)throw Error(n(92));if(Q(a)){if(1<a.length)throw Error(n(93));a=a[0]}t=a}null==t&&(t=""),a=t}e._wrapperState={initialValue:V(a)}}function ne(e,t){var n=V(t.value),a=V(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=a&&(e.defaultValue=""+a)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function re(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 oe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?re(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ie,le,se=(le=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ie=ie||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ie.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,a){MSApp.execUnsafeLocalFunction((function(){return le(e,t)}))}:le);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ce={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},ue=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ce.hasOwnProperty(e)&&ce[e]?(""+t).trim():t+"px"}function pe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var a=0===n.indexOf("--"),r=he(n,t[n],a);"float"===n&&(n="cssFloat"),a?e.setProperty(n,r):e[n]=r}}Object.keys(ce).forEach((function(e){ue.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ce[t]=ce[e]}))}));var fe=I({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 me(e,t){if(t){if(fe[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function ge(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 ye=null;function ve(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var _e=null,be=null,xe=null;function ke(e){if(e=gr(e)){if("function"!=typeof _e)throw Error(n(280));var t=e.stateNode;t&&(t=vr(t),_e(e.stateNode,e.type,t))}}function Ee(e){be?xe?xe.push(e):xe=[e]:be=e}function Me(){if(be){var e=be,t=xe;if(xe=be=null,ke(e),t)for(e=0;e<t.length;e++)ke(t[e])}}function Se(e,t){return e(t)}function we(){}var $e=!1;function Re(e,t,n){if($e)return e(t,n);$e=!0;try{return Se(e,t,n)}finally{$e=!1,(null!==be||null!==xe)&&(we(),Me())}}function Ce(e,t){var a=e.stateNode;if(null===a)return null;var r=vr(a);if(null===r)return null;a=r[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":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(a&&"function"!=typeof a)throw Error(n(231,t,typeof a));return a}var Pe=!1;if(l)try{var Te={};Object.defineProperty(Te,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Te,Te),window.removeEventListener("test",Te,Te)}catch(le){Pe=!1}function Le(e,t,n,a,r,o,i,l,s){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(e){this.onError(e)}}var Ae=!1,Ie=null,Ne=!1,Fe=null,ze={onError:function(e){Ae=!0,Ie=e}};function De(e,t,n,a,r,o,i,l,s){Ae=!1,Ie=null,Le.apply(ze,arguments)}function Oe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(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 Ve(e){if(Oe(e)!==e)throw Error(n(188))}function je(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=Oe(e)))throw Error(n(188));return t!==e?null:e}for(var a=e,r=t;;){var o=a.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){a=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===a)return Ve(o),e;if(i===r)return Ve(o),t;i=i.sibling}throw Error(n(188))}if(a.return!==r.return)a=o,r=i;else{for(var l=!1,s=o.child;s;){if(s===a){l=!0,a=o,r=i;break}if(s===r){l=!0,r=o,a=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===a){l=!0,a=i,r=o;break}if(s===r){l=!0,r=i,a=o;break}s=s.sibling}if(!l)throw Error(n(189))}}if(a.alternate!==r)throw Error(n(190))}if(3!==a.tag)throw Error(n(188));return a.stateNode.current===a?e:t}(e),null!==e?Be(e):null}function Be(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Be(e);if(null!==t)return t;e=e.sibling}return null}var Ue=t.unstable_scheduleCallback,Ge=t.unstable_cancelCallback,qe=t.unstable_shouldYield,We=t.unstable_requestPaint,Ye=t.unstable_now,Ze=t.unstable_getCurrentPriorityLevel,Ke=t.unstable_ImmediatePriority,Xe=t.unstable_UserBlockingPriority,Qe=t.unstable_NormalPriority,Je=t.unstable_LowPriority,et=t.unstable_IdlePriority,tt=null,nt=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(rt(e)/ot|0)|0},rt=Math.log,ot=Math.LN2;var it=64,lt=4194304;function st(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 n=e.pendingLanes;if(0===n)return 0;var a=0,r=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~r;0!==l?a=st(l):0!==(o&=i)&&(a=st(o))}else 0!==(i=n&~r)?a=st(i):0!==o&&(a=st(o));if(0===a)return 0;if(0!==t&&t!==a&&0==(t&r)&&((r=a&-a)>=(o=t&-t)||16===r&&0!=(4194240&o)))return t;if(0!=(4&a)&&(a|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=a;0<t;)r=1<<(n=31-at(t)),a|=e[n],t&=~r;return a}function ct(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 ut(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=it;return 0==(4194240&(it<<=1))&&(it=64),e}function pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ft(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function mt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-at(n),r=1<<a;r&t|e[a]&t&&(e[a]|=t),n&=~r}}var gt=0;function yt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var vt,_t,bt,xt,kt,Et=!1,Mt=[],St=null,wt=null,$t=null,Rt=new Map,Ct=new Map,Pt=[],Tt="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 Lt(e,t){switch(e){case"focusin":case"focusout":St=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":$t=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ct.delete(t.pointerId)}}function At(e,t,n,a,r,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:o,targetContainers:[r]},null!==t&&(null!==(t=gr(t))&&_t(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function It(e){var t=mr(e.target);if(null!==t){var n=Oe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void kt(e.priority,(function(){bt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Nt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=gr(n))&&_t(t),e.blockedOn=n,!1;var a=new(n=e.nativeEvent).constructor(n.type,n);ye=a,n.target.dispatchEvent(a),ye=null,t.shift()}return!0}function Ft(e,t,n){Nt(e)&&n.delete(t)}function zt(){Et=!1,null!==St&&Nt(St)&&(St=null),null!==wt&&Nt(wt)&&(wt=null),null!==$t&&Nt($t)&&($t=null),Rt.forEach(Ft),Ct.forEach(Ft)}function Dt(e,n){e.blockedOn===n&&(e.blockedOn=null,Et||(Et=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,zt)))}function Ot(e){function t(t){return Dt(t,e)}if(0<Mt.length){Dt(Mt[0],e);for(var n=1;n<Mt.length;n++){var a=Mt[n];a.blockedOn===e&&(a.blockedOn=null)}}for(null!==St&&Dt(St,e),null!==wt&&Dt(wt,e),null!==$t&&Dt($t,e),Rt.forEach(t),Ct.forEach(t),n=0;n<Pt.length;n++)(a=Pt[n]).blockedOn===e&&(a.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)It(n),null===n.blockedOn&&Pt.shift()}var Ht=y.ReactCurrentBatchConfig,Vt=!0;function jt(e,t,n,a){var r=gt,o=Ht.transition;Ht.transition=null;try{gt=1,Ut(e,t,n,a)}finally{gt=r,Ht.transition=o}}function Bt(e,t,n,a){var r=gt,o=Ht.transition;Ht.transition=null;try{gt=4,Ut(e,t,n,a)}finally{gt=r,Ht.transition=o}}function Ut(e,t,n,a){if(Vt){var r=qt(e,t,n,a);if(null===r)Va(e,t,a,Gt,n),Lt(e,a);else if(function(e,t,n,a,r){switch(t){case"focusin":return St=At(St,e,t,n,a,r),!0;case"dragenter":return wt=At(wt,e,t,n,a,r),!0;case"mouseover":return $t=At($t,e,t,n,a,r),!0;case"pointerover":var o=r.pointerId;return Rt.set(o,At(Rt.get(o)||null,e,t,n,a,r)),!0;case"gotpointercapture":return o=r.pointerId,Ct.set(o,At(Ct.get(o)||null,e,t,n,a,r)),!0}return!1}(r,e,t,n,a))a.stopPropagation();else if(Lt(e,a),4&t&&-1<Tt.indexOf(e)){for(;null!==r;){var o=gr(r);if(null!==o&&vt(o),null===(o=qt(e,t,n,a))&&Va(e,t,a,Gt,n),o===r)break;r=o}null!==r&&a.stopPropagation()}else Va(e,t,a,null,n)}}var Gt=null;function qt(e,t,n,a){if(Gt=null,null!==(e=mr(e=ve(a))))if(null===(t=Oe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Wt(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(Ze()){case Ke:return 1;case Xe:return 4;case Qe:case Je:return 16;case et:return 536870912;default:return 16}default:return 16}}var Yt=null,Zt=null,Kt=null;function Xt(){if(Kt)return Kt;var e,t,n=Zt,a=n.length,r="value"in Yt?Yt.value:Yt.textContent,o=r.length;for(e=0;e<a&&n[e]===r[e];e++);var i=a-e;for(t=1;t<=i&&n[a-t]===r[o-t];t++);return Kt=r.slice(e,1<t?1-t:void 0)}function Qt(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 Jt(){return!0}function en(){return!1}function tn(e){function t(t,n,a,r,o){for(var i in this._reactName=t,this._targetInst=a,this.type=n,this.nativeEvent=r,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(r):r[i]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?Jt:en,this.isPropagationStopped=en,this}return I(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=Jt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Jt)},persist:function(){},isPersistent:Jt}),t}var nn,an,rn,on={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=tn(on),sn=I({},on,{view:0,detail:0}),dn=tn(sn),cn=I({},sn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kn,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!==rn&&(rn&&"mousemove"===e.type?(nn=e.screenX-rn.screenX,an=e.screenY-rn.screenY):an=nn=0,rn=e),nn)},movementY:function(e){return"movementY"in e?e.movementY:an}}),un=tn(cn),hn=tn(I({},cn,{dataTransfer:0})),pn=tn(I({},sn,{relatedTarget:0})),fn=tn(I({},on,{animationName:0,elapsedTime:0,pseudoElement:0})),mn=I({},on,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gn=tn(mn),yn=tn(I({},on,{data:0})),vn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={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"},bn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=bn[e])&&!!t[e]}function kn(){return xn}var En=I({},sn,{key:function(e){if(e.key){var t=vn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Qt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kn,charCode:function(e){return"keypress"===e.type?Qt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Qt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Mn=tn(En),Sn=tn(I({},cn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),wn=tn(I({},sn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kn})),$n=tn(I({},on,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=I({},cn,{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}),Cn=tn(Rn),Pn=[9,13,27,32],Tn=l&&"CompositionEvent"in window,Ln=null;l&&"documentMode"in document&&(Ln=document.documentMode);var An=l&&"TextEvent"in window&&!Ln,In=l&&(!Tn||Ln&&8<Ln&&11>=Ln),Nn=String.fromCharCode(32),Fn=!1;function zn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Dn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var On=!1;var Hn={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 Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function jn(e,t,n,a){Ee(a),0<(t=Ba(t,"onChange")).length&&(n=new ln("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var Bn=null,Un=null;function Gn(e){Na(e,0)}function qn(e){if(U(yr(e)))return e}function Wn(e,t){if("change"===e)return t}var Yn=!1;if(l){var Zn;if(l){var Kn="oninput"in document;if(!Kn){var Xn=document.createElement("div");Xn.setAttribute("oninput","return;"),Kn="function"==typeof Xn.oninput}Zn=Kn}else Zn=!1;Yn=Zn&&(!document.documentMode||9<document.documentMode)}function Qn(){Bn&&(Bn.detachEvent("onpropertychange",Jn),Un=Bn=null)}function Jn(e){if("value"===e.propertyName&&qn(Un)){var t=[];jn(t,Un,e,ve(e)),Re(Gn,t)}}function ea(e,t,n){"focusin"===e?(Qn(),Un=n,(Bn=t).attachEvent("onpropertychange",Jn)):"focusout"===e&&Qn()}function ta(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qn(Un)}function na(e,t){if("click"===e)return qn(t)}function aa(e,t){if("input"===e||"change"===e)return qn(t)}var ra="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function oa(e,t){if(ra(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var r=n[a];if(!s.call(t,r)||!ra(e[r],t[r]))return!1}return!0}function ia(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function la(e,t){var n,a=ia(e);for(e=0;a;){if(3===a.nodeType){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=ia(a)}}function sa(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?sa(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function da(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function ca(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 ua(e){var t=da(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sa(n.ownerDocument.documentElement,n)){if(null!==a&&ca(n))if(t=a.start,void 0===(e=a.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var r=n.textContent.length,o=Math.min(a.start,r);a=void 0===a.end?o:Math.min(a.end,r),!e.extend&&o>a&&(r=a,a=o,o=r),r=la(n,o);var i=la(n,a);r&&i&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),o>a?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var ha=l&&"documentMode"in document&&11>=document.documentMode,pa=null,fa=null,ma=null,ga=!1;function ya(e,t,n){var a=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;ga||null==pa||pa!==G(a)||("selectionStart"in(a=pa)&&ca(a)?a={start:a.selectionStart,end:a.selectionEnd}:a={anchorNode:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset},ma&&oa(ma,a)||(ma=a,0<(a=Ba(fa,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=pa)))}function va(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _a={animationend:va("Animation","AnimationEnd"),animationiteration:va("Animation","AnimationIteration"),animationstart:va("Animation","AnimationStart"),transitionend:va("Transition","TransitionEnd")},ba={},xa={};function ka(e){if(ba[e])return ba[e];if(!_a[e])return e;var t,n=_a[e];for(t in n)if(n.hasOwnProperty(t)&&t in xa)return ba[e]=n[t];return e}l&&(xa=document.createElement("div").style,"AnimationEvent"in window||(delete _a.animationend.animation,delete _a.animationiteration.animation,delete _a.animationstart.animation),"TransitionEvent"in window||delete _a.transitionend.transition);var Ea=ka("animationend"),Ma=ka("animationiteration"),Sa=ka("animationstart"),wa=ka("transitionend"),$a=new Map,Ra="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 Ca(e,t){$a.set(e,t),o(t,[e])}for(var Pa=0;Pa<Ra.length;Pa++){var Ta=Ra[Pa];Ca(Ta.toLowerCase(),"on"+(Ta[0].toUpperCase()+Ta.slice(1)))}Ca(Ea,"onAnimationEnd"),Ca(Ma,"onAnimationIteration"),Ca(Sa,"onAnimationStart"),Ca("dblclick","onDoubleClick"),Ca("focusin","onFocus"),Ca("focusout","onBlur"),Ca(wa,"onTransitionEnd"),i("onMouseEnter",["mouseout","mouseover"]),i("onMouseLeave",["mouseout","mouseover"]),i("onPointerEnter",["pointerout","pointerover"]),i("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var La="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(" "),Aa=new Set("cancel close invalid load scroll toggle".split(" ").concat(La));function Ia(e,t,a){var r=e.type||"unknown-event";e.currentTarget=a,function(e,t,a,r,o,i,l,s,d){if(De.apply(this,arguments),Ae){if(!Ae)throw Error(n(198));var c=Ie;Ae=!1,Ie=null,Ne||(Ne=!0,Fe=c)}}(r,t,void 0,e),e.currentTarget=null}function Na(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var a=e[n],r=a.event;a=a.listeners;e:{var o=void 0;if(t)for(var i=a.length-1;0<=i;i--){var l=a[i],s=l.instance,d=l.currentTarget;if(l=l.listener,s!==o&&r.isPropagationStopped())break e;Ia(r,l,d),o=s}else for(i=0;i<a.length;i++){if(s=(l=a[i]).instance,d=l.currentTarget,l=l.listener,s!==o&&r.isPropagationStopped())break e;Ia(r,l,d),o=s}}}if(Ne)throw e=Fe,Ne=!1,Fe=null,e}function Fa(e,t){var n=t[hr];void 0===n&&(n=t[hr]=new Set);var a=e+"__bubble";n.has(a)||(Ha(t,e,2,!1),n.add(a))}function za(e,t,n){var a=0;t&&(a|=4),Ha(n,e,a,t)}var Da="_reactListening"+Math.random().toString(36).slice(2);function Oa(e){if(!e[Da]){e[Da]=!0,a.forEach((function(t){"selectionchange"!==t&&(Aa.has(t)||za(t,!1,e),za(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Da]||(t[Da]=!0,za("selectionchange",!1,t))}}function Ha(e,t,n,a){switch(Wt(t)){case 1:var r=jt;break;case 4:r=Bt;break;default:r=Ut}n=r.bind(null,t,n,e),r=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(r=!0),a?void 0!==r?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):void 0!==r?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Va(e,t,n,a,r){var o=a;if(0==(1&t)&&0==(2&t)&&null!==a)e:for(;;){if(null===a)return;var i=a.tag;if(3===i||4===i){var l=a.stateNode.containerInfo;if(l===r||8===l.nodeType&&l.parentNode===r)break;if(4===i)for(i=a.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===r||8===s.nodeType&&s.parentNode===r))return;i=i.return}for(;null!==l;){if(null===(i=mr(l)))return;if(5===(s=i.tag)||6===s){a=o=i;continue e}l=l.parentNode}}a=a.return}Re((function(){var a=o,r=ve(n),i=[];e:{var l=$a.get(e);if(void 0!==l){var s=ln,d=e;switch(e){case"keypress":if(0===Qt(n))break e;case"keydown":case"keyup":s=Mn;break;case"focusin":d="focus",s=pn;break;case"focusout":d="blur",s=pn;break;case"beforeblur":case"afterblur":s=pn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=un;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=wn;break;case Ea:case Ma:case Sa:s=fn;break;case wa:s=$n;break;case"scroll":s=dn;break;case"wheel":s=Cn;break;case"copy":case"cut":case"paste":s=gn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Sn}var c=0!=(4&t),u=!c&&"scroll"===e,h=c?null!==l?l+"Capture":null:l;c=[];for(var p,f=a;null!==f;){var m=(p=f).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==h&&(null!=(m=Ce(f,h))&&c.push(ja(f,m,p)))),u)break;f=f.return}0<c.length&&(l=new s(l,d,null,n,r),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===ye||!(d=n.relatedTarget||n.fromElement)||!mr(d)&&!d[ur])&&(s||l)&&(l=r.window===r?r:(l=r.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=a,null!==(d=(d=n.relatedTarget||n.toElement)?mr(d):null)&&(d!==(u=Oe(d))||5!==d.tag&&6!==d.tag)&&(d=null)):(s=null,d=a),s!==d)){if(c=un,m="onMouseLeave",h="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(c=Sn,m="onPointerLeave",h="onPointerEnter",f="pointer"),u=null==s?l:yr(s),p=null==d?l:yr(d),(l=new c(m,f+"leave",s,n,r)).target=u,l.relatedTarget=p,m=null,mr(r)===a&&((c=new c(h,f+"enter",d,n,r)).target=p,c.relatedTarget=u,m=c),u=m,s&&d)e:{for(h=d,f=0,p=c=s;p;p=Ua(p))f++;for(p=0,m=h;m;m=Ua(m))p++;for(;0<f-p;)c=Ua(c),f--;for(;0<p-f;)h=Ua(h),p--;for(;f--;){if(c===h||null!==h&&c===h.alternate)break e;c=Ua(c),h=Ua(h)}c=null}else c=null;null!==s&&Ga(i,l,s,c,!1),null!==d&&null!==u&&Ga(i,u,d,c,!0)}if("select"===(s=(l=a?yr(a):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Wn;else if(Vn(l))if(Yn)g=aa;else{g=ta;var y=ea}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=na);switch(g&&(g=g(e,a))?jn(i,g,n,r):(y&&y(e,l,a),"focusout"===e&&(y=l._wrapperState)&&y.controlled&&"number"===l.type&&X(l,"number",l.value)),y=a?yr(a):window,e){case"focusin":(Vn(y)||"true"===y.contentEditable)&&(pa=y,fa=a,ma=null);break;case"focusout":ma=fa=pa=null;break;case"mousedown":ga=!0;break;case"contextmenu":case"mouseup":case"dragend":ga=!1,ya(i,n,r);break;case"selectionchange":if(ha)break;case"keydown":case"keyup":ya(i,n,r)}var v;if(Tn)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else On?zn(e,n)&&(_="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(_="onCompositionStart");_&&(In&&"ko"!==n.locale&&(On||"onCompositionStart"!==_?"onCompositionEnd"===_&&On&&(v=Xt()):(Zt="value"in(Yt=r)?Yt.value:Yt.textContent,On=!0)),0<(y=Ba(a,_)).length&&(_=new yn(_,e,null,n,r),i.push({event:_,listeners:y}),v?_.data=v:null!==(v=Dn(n))&&(_.data=v))),(v=An?function(e,t){switch(e){case"compositionend":return Dn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Nn);case"textInput":return(e=t.data)===Nn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(On)return"compositionend"===e||!Tn&&zn(e,t)?(e=Xt(),Kt=Zt=Yt=null,On=!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 In&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(a=Ba(a,"onBeforeInput")).length&&(r=new yn("onBeforeInput","beforeinput",null,n,r),i.push({event:r,listeners:a}),r.data=v))}Na(i,t)}))}function ja(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ba(e,t){for(var n=t+"Capture",a=[];null!==e;){var r=e,o=r.stateNode;5===r.tag&&null!==o&&(r=o,null!=(o=Ce(e,n))&&a.unshift(ja(e,o,r)),null!=(o=Ce(e,t))&&a.push(ja(e,o,r))),e=e.return}return a}function Ua(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Ga(e,t,n,a,r){for(var o=t._reactName,i=[];null!==n&&n!==a;){var l=n,s=l.alternate,d=l.stateNode;if(null!==s&&s===a)break;5===l.tag&&null!==d&&(l=d,r?null!=(s=Ce(n,o))&&i.unshift(ja(n,s,l)):r||null!=(s=Ce(n,o))&&i.push(ja(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var qa=/\r\n?/g,Wa=/\u0000|\uFFFD/g;function Ya(e){return("string"==typeof e?e:""+e).replace(qa,"\n").replace(Wa,"")}function Za(e,t,a){if(t=Ya(t),Ya(e)!==t&&a)throw Error(n(425))}function Ka(){}var Xa=null,Qa=null;function Ja(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 er="function"==typeof setTimeout?setTimeout:void 0,tr="function"==typeof clearTimeout?clearTimeout:void 0,nr="function"==typeof Promise?Promise:void 0,ar="function"==typeof queueMicrotask?queueMicrotask:void 0!==nr?function(e){return nr.resolve(null).then(e).catch(rr)}:er;function rr(e){setTimeout((function(){throw e}))}function or(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0===a)return e.removeChild(r),void Ot(t);a--}else"$"!==n&&"$?"!==n&&"$!"!==n||a++;n=r}while(n);Ot(t)}function ir(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 lr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var sr=Math.random().toString(36).slice(2),dr="__reactFiber$"+sr,cr="__reactProps$"+sr,ur="__reactContainer$"+sr,hr="__reactEvents$"+sr,pr="__reactListeners$"+sr,fr="__reactHandles$"+sr;function mr(e){var t=e[dr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ur]||n[dr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=lr(e);null!==e;){if(n=e[dr])return n;e=lr(e)}return t}n=(e=n).parentNode}return null}function gr(e){return!(e=e[dr]||e[ur])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function yr(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function vr(e){return e[cr]||null}var _r=[],br=-1;function xr(e){return{current:e}}function kr(e){0>br||(e.current=_r[br],_r[br]=null,br--)}function Er(e,t){br++,_r[br]=e.current,e.current=t}var Mr={},Sr=xr(Mr),wr=xr(!1),$r=Mr;function Rr(e,t){var n=e.type.contextTypes;if(!n)return Mr;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var r,o={};for(r in n)o[r]=t[r];return a&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Cr(e){return null!=(e=e.childContextTypes)}function Pr(){kr(wr),kr(Sr)}function Tr(e,t,a){if(Sr.current!==Mr)throw Error(n(168));Er(Sr,t),Er(wr,a)}function Lr(e,t,a){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return a;for(var o in r=r.getChildContext())if(!(o in t))throw Error(n(108,H(e)||"Unknown",o));return I({},a,r)}function Ar(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mr,$r=Sr.current,Er(Sr,e),Er(wr,wr.current),!0}function Ir(e,t,a){var r=e.stateNode;if(!r)throw Error(n(169));a?(e=Lr(e,t,$r),r.__reactInternalMemoizedMergedChildContext=e,kr(wr),kr(Sr),Er(Sr,e)):kr(wr),Er(wr,a)}var Nr=null,Fr=!1,zr=!1;function Dr(e){null===Nr?Nr=[e]:Nr.push(e)}function Or(){if(!zr&&null!==Nr){zr=!0;var e=0,t=gt;try{var n=Nr;for(gt=1;e<n.length;e++){var a=n[e];do{a=a(!0)}while(null!==a)}Nr=null,Fr=!1}catch(t){throw null!==Nr&&(Nr=Nr.slice(e+1)),Ue(Ke,Or),t}finally{gt=t,zr=!1}}return null}var Hr=[],Vr=0,jr=null,Br=0,Ur=[],Gr=0,qr=null,Wr=1,Yr="";function Zr(e,t){Hr[Vr++]=Br,Hr[Vr++]=jr,jr=e,Br=t}function Kr(e,t,n){Ur[Gr++]=Wr,Ur[Gr++]=Yr,Ur[Gr++]=qr,qr=e;var a=Wr;e=Yr;var r=32-at(a)-1;a&=~(1<<r),n+=1;var o=32-at(t)+r;if(30<o){var i=r-r%5;o=(a&(1<<i)-1).toString(32),a>>=i,r-=i,Wr=1<<32-at(t)+r|n<<r|a,Yr=o+e}else Wr=1<<o|n<<r|a,Yr=e}function Xr(e){null!==e.return&&(Zr(e,1),Kr(e,1,0))}function Qr(e){for(;e===jr;)jr=Hr[--Vr],Hr[Vr]=null,Br=Hr[--Vr],Hr[Vr]=null;for(;e===qr;)qr=Ur[--Gr],Ur[Gr]=null,Yr=Ur[--Gr],Ur[Gr]=null,Wr=Ur[--Gr],Ur[Gr]=null}var Jr=null,eo=null,to=!1,no=null;function ao(e,t){var n=Cd(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ro(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Jr=e,eo=ir(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Jr=e,eo=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==qr?{id:Wr,overflow:Yr}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Cd(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Jr=e,eo=null,!0);default:return!1}}function oo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function io(e){if(to){var t=eo;if(t){var a=t;if(!ro(e,t)){if(oo(e))throw Error(n(418));t=ir(a.nextSibling);var r=Jr;t&&ro(e,t)?ao(r,a):(e.flags=-4097&e.flags|2,to=!1,Jr=e)}}else{if(oo(e))throw Error(n(418));e.flags=-4097&e.flags|2,to=!1,Jr=e}}}function lo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Jr=e}function so(e){if(e!==Jr)return!1;if(!to)return lo(e),to=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Ja(e.type,e.memoizedProps)),t&&(t=eo)){if(oo(e))throw co(),Error(n(418));for(;t;)ao(e,t),t=ir(t.nextSibling)}if(lo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var a=e.data;if("/$"===a){if(0===t){eo=ir(e.nextSibling);break e}t--}else"$"!==a&&"$!"!==a&&"$?"!==a||t++}e=e.nextSibling}eo=null}}else eo=Jr?ir(e.stateNode.nextSibling):null;return!0}function co(){for(var e=eo;e;)e=ir(e.nextSibling)}function uo(){eo=Jr=null,to=!1}function ho(e){null===no?no=[e]:no.push(e)}var po=y.ReactCurrentBatchConfig;function fo(e,t){if(e&&e.defaultProps){for(var n in t=I({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var mo=xr(null),go=null,yo=null,vo=null;function _o(){vo=yo=go=null}function bo(e){var t=mo.current;kr(mo),e._currentValue=t}function xo(e,t,n){for(;null!==e;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==a&&(a.childLanes|=t)):null!==a&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function ko(e,t){go=e,vo=yo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(yl=!0),e.firstContext=null)}function Eo(e){var t=e._currentValue;if(vo!==e)if(e={context:e,memoizedValue:t,next:null},null===yo){if(null===go)throw Error(n(308));yo=e,go.dependencies={lanes:0,firstContext:e}}else yo=yo.next=e;return t}var Mo=null;function So(e){null===Mo?Mo=[e]:Mo.push(e)}function wo(e,t,n,a){var r=t.interleaved;return null===r?(n.next=n,So(t)):(n.next=r.next,r.next=n),t.interleaved=n,$o(e,a)}function $o(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ro=!1;function Co(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Po(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 To(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Lo(e,t,n){var a=e.updateQueue;if(null===a)return null;if(a=a.shared,0!=(2&ws)){var r=a.pending;return null===r?t.next=t:(t.next=r.next,r.next=t),a.pending=t,$o(e,n)}return null===(r=a.interleaved)?(t.next=t,So(a)):(t.next=r.next,r.next=t),a.interleaved=t,$o(e,n)}function Ao(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var a=t.lanes;n|=a&=e.pendingLanes,t.lanes=n,mt(e,n)}}function Io(e,t){var n=e.updateQueue,a=e.alternate;if(null!==a&&n===(a=a.updateQueue)){var r=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?r=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?r=o=t:o=o.next=t}else r=o=t;return n={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:a.shared,effects:a.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function No(e,t,n,a){var r=e.updateQueue;Ro=!1;var o=r.firstBaseUpdate,i=r.lastBaseUpdate,l=r.shared.pending;if(null!==l){r.shared.pending=null;var s=l,d=s.next;s.next=null,null===i?o=d:i.next=d,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=d:l.next=d,c.lastBaseUpdate=s))}if(null!==o){var u=r.baseState;for(i=0,c=d=s=null,l=o;;){var h=l.lane,p=l.eventTime;if((a&h)===h){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var f=e,m=l;switch(h=t,p=n,m.tag){case 1:if("function"==typeof(f=m.payload)){u=f.call(p,u,h);break e}u=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null==(h="function"==typeof(f=m.payload)?f.call(p,u,h):f))break e;u=I({},u,h);break e;case 2:Ro=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(h=r.effects)?r.effects=[l]:h.push(l))}else p={eventTime:p,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(d=c=p,s=u):c=c.next=p,i|=h;if(null===(l=l.next)){if(null===(l=r.shared.pending))break;l=(h=l).next,h.next=null,r.lastBaseUpdate=h,r.shared.pending=null}}if(null===c&&(s=u),r.baseState=s,r.firstBaseUpdate=d,r.lastBaseUpdate=c,null!==(t=r.shared.interleaved)){r=t;do{i|=r.lane,r=r.next}while(r!==t)}else null===o&&(r.shared.lanes=0);Is|=i,e.lanes=i,e.memoizedState=u}}function Fo(e,t,a){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=a,"function"!=typeof o)throw Error(n(191,o));o.call(r)}}}var zo=(new e.Component).refs;function Do(e,t,n,a){n=null==(n=n(a,t=e.memoizedState))?t:I({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Oo={isMounted:function(e){return!!(e=e._reactInternals)&&Oe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var a=Qs(),r=Js(e),o=To(a,r);o.payload=t,null!=n&&(o.callback=n),null!==(t=Lo(e,o,r))&&(ed(t,e,r,a),Ao(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=Qs(),r=Js(e),o=To(a,r);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Lo(e,o,r))&&(ed(t,e,r,a),Ao(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Qs(),a=Js(e),r=To(n,a);r.tag=2,null!=t&&(r.callback=t),null!==(t=Lo(e,r,a))&&(ed(t,e,a,n),Ao(t,e,a))}};function Ho(e,t,n,a,r,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(a,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!oa(n,a)||!oa(r,o))}function Vo(e,t,n){var a=!1,r=Mr,o=t.contextType;return"object"==typeof o&&null!==o?o=Eo(o):(r=Cr(t)?$r:Sr.current,o=(a=null!=(a=t.contextTypes))?Rr(e,r):Mr),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Oo,e.stateNode=t,t._reactInternals=e,a&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=o),t}function jo(e,t,n,a){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&Oo.enqueueReplaceState(t,t.state,null)}function Bo(e,t,n,a){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs=zo,Co(e);var o=t.contextType;"object"==typeof o&&null!==o?r.context=Eo(o):(o=Cr(t)?$r:Sr.current,r.context=Rr(e,o)),r.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(Do(e,t,o,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&Oo.enqueueReplaceState(r,r.state,null),No(e,n,r,a),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.flags|=4194308)}function Uo(e,t,a){if(null!==(e=a.ref)&&"function"!=typeof e&&"object"!=typeof e){if(a._owner){if(a=a._owner){if(1!==a.tag)throw Error(n(309));var r=a.stateNode}if(!r)throw Error(n(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===zo&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(n(284));if(!a._owner)throw Error(n(290,e))}return e}function Go(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function qo(e){return(0,e._init)(e._payload)}function Wo(e){function t(t,n){if(e){var a=t.deletions;null===a?(t.deletions=[n],t.flags|=16):a.push(n)}}function a(n,a){if(!e)return null;for(;null!==a;)t(n,a),a=a.sibling;return null}function r(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 o(e,t){return(e=Td(e,t)).index=0,e.sibling=null,e}function i(t,n,a){return t.index=a,e?null!==(a=t.alternate)?(a=a.index)<n?(t.flags|=2,n):a:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,a){return null===t||6!==t.tag?((t=Nd(n,e.mode,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n,a){var r=n.type;return r===b?u(e,t,n.props.children,a,n.key):null!==t&&(t.elementType===r||"object"==typeof r&&null!==r&&r.$$typeof===C&&qo(r)===t.type)?((a=o(t,n.props)).ref=Uo(e,t,n),a.return=e,a):((a=Ld(n.type,n.key,n.props,null,e.mode,a)).ref=Uo(e,t,n),a.return=e,a)}function c(e,t,n,a){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Fd(n,e.mode,a)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function u(e,t,n,a,r){return null===t||7!==t.tag?((t=Ad(n,e.mode,a,r)).return=e,t):((t=o(t,n)).return=e,t)}function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Nd(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case v:return(n=Ld(t.type,t.key,t.props,null,e.mode,n)).ref=Uo(e,null,t),n.return=e,n;case _:return(t=Fd(t,e.mode,n)).return=e,t;case C:return h(e,(0,t._init)(t._payload),n)}if(Q(t)||L(t))return(t=Ad(t,e.mode,n,null)).return=e,t;Go(e,t)}return null}function p(e,t,n,a){var r=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==r?null:s(e,t,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case v:return n.key===r?d(e,t,n,a):null;case _:return n.key===r?c(e,t,n,a):null;case C:return p(e,t,(r=n._init)(n._payload),a)}if(Q(n)||L(n))return null!==r?null:u(e,t,n,a,null);Go(e,n)}return null}function f(e,t,n,a,r){if("string"==typeof a&&""!==a||"number"==typeof a)return s(t,e=e.get(n)||null,""+a,r);if("object"==typeof a&&null!==a){switch(a.$$typeof){case v:return d(t,e=e.get(null===a.key?n:a.key)||null,a,r);case _:return c(t,e=e.get(null===a.key?n:a.key)||null,a,r);case C:return f(e,t,n,(0,a._init)(a._payload),r)}if(Q(a)||L(a))return u(t,e=e.get(n)||null,a,r,null);Go(t,a)}return null}function m(n,o,l,s){for(var d=null,c=null,u=o,m=o=0,g=null;null!==u&&m<l.length;m++){u.index>m?(g=u,u=null):g=u.sibling;var y=p(n,u,l[m],s);if(null===y){null===u&&(u=g);break}e&&u&&null===y.alternate&&t(n,u),o=i(y,o,m),null===c?d=y:c.sibling=y,c=y,u=g}if(m===l.length)return a(n,u),to&&Zr(n,m),d;if(null===u){for(;m<l.length;m++)null!==(u=h(n,l[m],s))&&(o=i(u,o,m),null===c?d=u:c.sibling=u,c=u);return to&&Zr(n,m),d}for(u=r(n,u);m<l.length;m++)null!==(g=f(u,n,m,l[m],s))&&(e&&null!==g.alternate&&u.delete(null===g.key?m:g.key),o=i(g,o,m),null===c?d=g:c.sibling=g,c=g);return e&&u.forEach((function(e){return t(n,e)})),to&&Zr(n,m),d}function g(o,l,s,d){var c=L(s);if("function"!=typeof c)throw Error(n(150));if(null==(s=c.call(s)))throw Error(n(151));for(var u=c=null,m=l,g=l=0,y=null,v=s.next();null!==m&&!v.done;g++,v=s.next()){m.index>g?(y=m,m=null):y=m.sibling;var _=p(o,m,v.value,d);if(null===_){null===m&&(m=y);break}e&&m&&null===_.alternate&&t(o,m),l=i(_,l,g),null===u?c=_:u.sibling=_,u=_,m=y}if(v.done)return a(o,m),to&&Zr(o,g),c;if(null===m){for(;!v.done;g++,v=s.next())null!==(v=h(o,v.value,d))&&(l=i(v,l,g),null===u?c=v:u.sibling=v,u=v);return to&&Zr(o,g),c}for(m=r(o,m);!v.done;g++,v=s.next())null!==(v=f(m,o,g,v.value,d))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),l=i(v,l,g),null===u?c=v:u.sibling=v,u=v);return e&&m.forEach((function(e){return t(o,e)})),to&&Zr(o,g),c}return function e(n,r,i,s){if("object"==typeof i&&null!==i&&i.type===b&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case v:e:{for(var d=i.key,c=r;null!==c;){if(c.key===d){if((d=i.type)===b){if(7===c.tag){a(n,c.sibling),(r=o(c,i.props.children)).return=n,n=r;break e}}else if(c.elementType===d||"object"==typeof d&&null!==d&&d.$$typeof===C&&qo(d)===c.type){a(n,c.sibling),(r=o(c,i.props)).ref=Uo(n,c,i),r.return=n,n=r;break e}a(n,c);break}t(n,c),c=c.sibling}i.type===b?((r=Ad(i.props.children,n.mode,s,i.key)).return=n,n=r):((s=Ld(i.type,i.key,i.props,null,n.mode,s)).ref=Uo(n,r,i),s.return=n,n=s)}return l(n);case _:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){a(n,r.sibling),(r=o(r,i.children||[])).return=n,n=r;break e}a(n,r);break}t(n,r),r=r.sibling}(r=Fd(i,n.mode,s)).return=n,n=r}return l(n);case C:return e(n,r,(c=i._init)(i._payload),s)}if(Q(i))return m(n,r,i,s);if(L(i))return g(n,r,i,s);Go(n,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==r&&6===r.tag?(a(n,r.sibling),(r=o(r,i)).return=n,n=r):(a(n,r),(r=Nd(i,n.mode,s)).return=n,n=r),l(n)):a(n,r)}}var Yo=Wo(!0),Zo=Wo(!1),Ko={},Xo=xr(Ko),Qo=xr(Ko),Jo=xr(Ko);function ei(e){if(e===Ko)throw Error(n(174));return e}function ti(e,t){switch(Er(Jo,t),Er(Qo,e),Er(Xo,Ko),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:oe(null,"");break;default:t=oe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}kr(Xo),Er(Xo,t)}function ni(){kr(Xo),kr(Qo),kr(Jo)}function ai(e){ei(Jo.current);var t=ei(Xo.current),n=oe(t,e.type);t!==n&&(Er(Qo,e),Er(Xo,n))}function ri(e){Qo.current===e&&(kr(Xo),kr(Qo))}var oi=xr(0);function ii(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.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 li=[];function si(){for(var e=0;e<li.length;e++)li[e]._workInProgressVersionPrimary=null;li.length=0}var di=y.ReactCurrentDispatcher,ci=y.ReactCurrentBatchConfig,ui=0,hi=null,pi=null,fi=null,mi=!1,gi=!1,yi=0,vi=0;function _i(){throw Error(n(321))}function bi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ra(e[n],t[n]))return!1;return!0}function xi(e,t,a,r,o,i){if(ui=i,hi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,di.current=null===e||null===e.memoizedState?rl:ol,e=a(r,o),gi){i=0;do{if(gi=!1,yi=0,25<=i)throw Error(n(301));i+=1,fi=pi=null,t.updateQueue=null,di.current=il,e=a(r,o)}while(gi)}if(di.current=al,t=null!==pi&&null!==pi.next,ui=0,fi=pi=hi=null,mi=!1,t)throw Error(n(300));return e}function ki(){var e=0!==yi;return yi=0,e}function Ei(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===fi?hi.memoizedState=fi=e:fi=fi.next=e,fi}function Mi(){if(null===pi){var e=hi.alternate;e=null!==e?e.memoizedState:null}else e=pi.next;var t=null===fi?hi.memoizedState:fi.next;if(null!==t)fi=t,pi=e;else{if(null===e)throw Error(n(310));e={memoizedState:(pi=e).memoizedState,baseState:pi.baseState,baseQueue:pi.baseQueue,queue:pi.queue,next:null},null===fi?hi.memoizedState=fi=e:fi=fi.next=e}return fi}function Si(e,t){return"function"==typeof t?t(e):t}function wi(e){var t=Mi(),a=t.queue;if(null===a)throw Error(n(311));a.lastRenderedReducer=e;var r=pi,o=r.baseQueue,i=a.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,a.pending=null}if(null!==o){i=o.next,r=r.baseState;var s=l=null,d=null,c=i;do{var u=c.lane;if((ui&u)===u)null!==d&&(d=d.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var h={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===d?(s=d=h,l=r):d=d.next=h,hi.lanes|=u,Is|=u}c=c.next}while(null!==c&&c!==i);null===d?l=r:d.next=s,ra(r,t.memoizedState)||(yl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=d,a.lastRenderedState=r}if(null!==(e=a.interleaved)){o=e;do{i=o.lane,hi.lanes|=i,Is|=i,o=o.next}while(o!==e)}else null===o&&(a.lanes=0);return[t.memoizedState,a.dispatch]}function $i(e){var t=Mi(),a=t.queue;if(null===a)throw Error(n(311));a.lastRenderedReducer=e;var r=a.dispatch,o=a.pending,i=t.memoizedState;if(null!==o){a.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);ra(i,t.memoizedState)||(yl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),a.lastRenderedState=i}return[i,r]}function Ri(){}function Ci(e,t){var a=hi,r=Mi(),o=t(),i=!ra(r.memoizedState,o);if(i&&(r.memoizedState=o,yl=!0),r=r.queue,Vi(Li.bind(null,a,r,e),[e]),r.getSnapshot!==t||i||null!==fi&&1&fi.memoizedState.tag){if(a.flags|=2048,Fi(9,Ti.bind(null,a,r,o,t),void 0,null),null===$s)throw Error(n(349));0!=(30&ui)||Pi(a,t,o)}return o}function Pi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ti(e,t,n,a){t.value=n,t.getSnapshot=a,Ai(t)&&Ii(e)}function Li(e,t,n){return n((function(){Ai(t)&&Ii(e)}))}function Ai(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ra(e,n)}catch(e){return!0}}function Ii(e){var t=$o(e,1);null!==t&&ed(t,e,1,-1)}function Ni(e){var t=Ei();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Si,lastRenderedState:e},t.queue=e,e=e.dispatch=Ji.bind(null,hi,e),[t.memoizedState,e]}function Fi(e,t,n,a){return e={tag:e,create:t,destroy:n,deps:a,next:null},null===(t=hi.updateQueue)?(t={lastEffect:null,stores:null},hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function zi(){return Mi().memoizedState}function Di(e,t,n,a){var r=Ei();hi.flags|=e,r.memoizedState=Fi(1|t,n,void 0,void 0===a?null:a)}function Oi(e,t,n,a){var r=Mi();a=void 0===a?null:a;var o=void 0;if(null!==pi){var i=pi.memoizedState;if(o=i.destroy,null!==a&&bi(a,i.deps))return void(r.memoizedState=Fi(t,n,o,a))}hi.flags|=e,r.memoizedState=Fi(1|t,n,o,a)}function Hi(e,t){return Di(8390656,8,e,t)}function Vi(e,t){return Oi(2048,8,e,t)}function ji(e,t){return Oi(4,2,e,t)}function Bi(e,t){return Oi(4,4,e,t)}function Ui(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Gi(e,t,n){return n=null!=n?n.concat([e]):null,Oi(4,4,Ui.bind(null,t,e),n)}function qi(){}function Wi(e,t){var n=Mi();t=void 0===t?null:t;var a=n.memoizedState;return null!==a&&null!==t&&bi(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=Mi();t=void 0===t?null:t;var a=n.memoizedState;return null!==a&&null!==t&&bi(t,a[1])?a[0]:(e=e(),n.memoizedState=[e,t],e)}function Zi(e,t,n){return 0==(21&ui)?(e.baseState&&(e.baseState=!1,yl=!0),e.memoizedState=n):(ra(n,t)||(n=ht(),hi.lanes|=n,Is|=n,e.baseState=!0),t)}function Ki(e,t){var n=gt;gt=0!==n&&4>n?n:4,e(!0);var a=ci.transition;ci.transition={};try{e(!1),t()}finally{gt=n,ci.transition=a}}function Xi(){return Mi().memoizedState}function Qi(e,t,n){var a=Js(e);if(n={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null},el(e))tl(t,n);else if(null!==(n=wo(e,t,n,a))){ed(n,e,a,Qs()),nl(n,t,a)}}function Ji(e,t,n){var a=Js(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(el(e))tl(t,r);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(r.hasEagerState=!0,r.eagerState=l,ra(l,i)){var s=t.interleaved;return null===s?(r.next=r,So(t)):(r.next=s.next,s.next=r),void(t.interleaved=r)}}catch(e){}null!==(n=wo(e,t,r,a))&&(ed(n,e,a,r=Qs()),nl(n,t,a))}}function el(e){var t=e.alternate;return e===hi||null!==t&&t===hi}function tl(e,t){gi=mi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nl(e,t,n){if(0!=(4194240&n)){var a=t.lanes;n|=a&=e.pendingLanes,t.lanes=n,mt(e,n)}}var al={readContext:Eo,useCallback:_i,useContext:_i,useEffect:_i,useImperativeHandle:_i,useInsertionEffect:_i,useLayoutEffect:_i,useMemo:_i,useReducer:_i,useRef:_i,useState:_i,useDebugValue:_i,useDeferredValue:_i,useTransition:_i,useMutableSource:_i,useSyncExternalStore:_i,useId:_i,unstable_isNewReconciler:!1},rl={readContext:Eo,useCallback:function(e,t){return Ei().memoizedState=[e,void 0===t?null:t],e},useContext:Eo,useEffect:Hi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Di(4194308,4,Ui.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Di(4194308,4,e,t)},useInsertionEffect:function(e,t){return Di(4,2,e,t)},useMemo:function(e,t){var n=Ei();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var a=Ei();return t=void 0!==n?n(t):t,a.memoizedState=a.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},a.queue=e,e=e.dispatch=Qi.bind(null,hi,e),[a.memoizedState,e]},useRef:function(e){return e={current:e},Ei().memoizedState=e},useState:Ni,useDebugValue:qi,useDeferredValue:function(e){return Ei().memoizedState=e},useTransition:function(){var e=Ni(!1),t=e[0];return e=Ki.bind(null,e[1]),Ei().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,a){var r=hi,o=Ei();if(to){if(void 0===a)throw Error(n(407));a=a()}else{if(a=t(),null===$s)throw Error(n(349));0!=(30&ui)||Pi(r,t,a)}o.memoizedState=a;var i={value:a,getSnapshot:t};return o.queue=i,Hi(Li.bind(null,r,i,e),[e]),r.flags|=2048,Fi(9,Ti.bind(null,r,i,a,t),void 0,null),a},useId:function(){var e=Ei(),t=$s.identifierPrefix;if(to){var n=Yr;t=":"+t+"R"+(n=(Wr&~(1<<32-at(Wr)-1)).toString(32)+n),0<(n=yi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=vi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ol={readContext:Eo,useCallback:Wi,useContext:Eo,useEffect:Vi,useImperativeHandle:Gi,useInsertionEffect:ji,useLayoutEffect:Bi,useMemo:Yi,useReducer:wi,useRef:zi,useState:function(){return wi(Si)},useDebugValue:qi,useDeferredValue:function(e){return Zi(Mi(),pi.memoizedState,e)},useTransition:function(){return[wi(Si)[0],Mi().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ci,useId:Xi,unstable_isNewReconciler:!1},il={readContext:Eo,useCallback:Wi,useContext:Eo,useEffect:Vi,useImperativeHandle:Gi,useInsertionEffect:ji,useLayoutEffect:Bi,useMemo:Yi,useReducer:$i,useRef:zi,useState:function(){return $i(Si)},useDebugValue:qi,useDeferredValue:function(e){var t=Mi();return null===pi?t.memoizedState=e:Zi(t,pi.memoizedState,e)},useTransition:function(){return[$i(Si)[0],Mi().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ci,useId:Xi,unstable_isNewReconciler:!1};function ll(e,t){try{var n="",a=t;do{n+=D(a),a=a.return}while(a);var r=n}catch(e){r="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:r,digest:null}}function sl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function dl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var cl="function"==typeof WeakMap?WeakMap:Map;function ul(e,t,n){(n=To(-1,n)).tag=3,n.payload={element:null};var a=t.value;return n.callback=function(){js||(js=!0,Bs=a),dl(0,t)},n}function hl(e,t,n){(n=To(-1,n)).tag=3;var a=e.type.getDerivedStateFromError;if("function"==typeof a){var r=t.value;n.payload=function(){return a(r)},n.callback=function(){dl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){dl(0,t),"function"!=typeof a&&(null===Us?Us=new Set([this]):Us.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function pl(e,t,n){var a=e.pingCache;if(null===a){a=e.pingCache=new cl;var r=new Set;a.set(t,r)}else void 0===(r=a.get(t))&&(r=new Set,a.set(t,r));r.has(n)||(r.add(n),e=Ed.bind(null,e,t,n),t.then(e,e))}function fl(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 ml(e,t,n,a,r){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=To(-1,1)).tag=2,Lo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=r,e)}var gl=y.ReactCurrentOwner,yl=!1;function vl(e,t,n,a){t.child=null===e?Zo(t,null,n,a):Yo(t,e.child,n,a)}function _l(e,t,n,a,r){n=n.render;var o=t.ref;return ko(t,r),a=xi(e,t,n,a,o,r),n=ki(),null===e||yl?(to&&n&&Xr(t),t.flags|=1,vl(e,t,a,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,jl(e,t,r))}function bl(e,t,n,a,r){if(null===e){var o=n.type;return"function"!=typeof o||Pd(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ld(n.type,null,a,t,t.mode,r)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,xl(e,t,o,a,r))}if(o=e.child,0==(e.lanes&r)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:oa)(i,a)&&e.ref===t.ref)return jl(e,t,r)}return t.flags|=1,(e=Td(o,a)).ref=t.ref,e.return=t,t.child=e}function xl(e,t,n,a,r){if(null!==e){var o=e.memoizedProps;if(oa(o,a)&&e.ref===t.ref){if(yl=!1,t.pendingProps=a=o,0==(e.lanes&r))return t.lanes=e.lanes,jl(e,t,r);0!=(131072&e.flags)&&(yl=!0)}}return Ml(e,t,n,a,r)}function kl(e,t,n){var a=t.pendingProps,r=a.children,o=null!==e?e.memoizedState:null;if("hidden"===a.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Er(Ts,Ps),Ps|=n;else{if(0==(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Er(Ts,Ps),Ps|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=null!==o?o.baseLanes:n,Er(Ts,Ps),Ps|=a}else null!==o?(a=o.baseLanes|n,t.memoizedState=null):a=n,Er(Ts,Ps),Ps|=a;return vl(e,t,r,n),t.child}function El(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ml(e,t,n,a,r){var o=Cr(n)?$r:Sr.current;return o=Rr(t,o),ko(t,r),n=xi(e,t,n,a,o,r),a=ki(),null===e||yl?(to&&a&&Xr(t),t.flags|=1,vl(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r,jl(e,t,r))}function Sl(e,t,n,a,r){if(Cr(n)){var o=!0;Ar(t)}else o=!1;if(ko(t,r),null===t.stateNode)Vl(e,t),Vo(t,n,a),Bo(t,n,a,r),a=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,d=n.contextType;"object"==typeof d&&null!==d?d=Eo(d):d=Rr(t,d=Cr(n)?$r:Sr.current);var c=n.getDerivedStateFromProps,u="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;u||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==a||s!==d)&&jo(t,i,a,d),Ro=!1;var h=t.memoizedState;i.state=h,No(t,a,i,r),s=t.memoizedState,l!==a||h!==s||wr.current||Ro?("function"==typeof c&&(Do(t,n,c,a),s=t.memoizedState),(l=Ro||Ho(t,n,l,a,h,s,d))?(u||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=s),i.props=a,i.state=s,i.context=d,a=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),a=!1)}else{i=t.stateNode,Po(e,t),l=t.memoizedProps,d=t.type===t.elementType?l:fo(t.type,l),i.props=d,u=t.pendingProps,h=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=Eo(s):s=Rr(t,s=Cr(n)?$r:Sr.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==u||h!==s)&&jo(t,i,a,s),Ro=!1,h=t.memoizedState,i.state=h,No(t,a,i,r);var f=t.memoizedState;l!==u||h!==f||wr.current||Ro?("function"==typeof p&&(Do(t,n,p,a),f=t.memoizedState),(d=Ro||Ho(t,n,d,a,h,f,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(a,f,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(a,f,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=f),i.props=a,i.state=f,i.context=s,a=d):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),a=!1)}return wl(e,t,n,a,o,r)}function wl(e,t,n,a,r,o){El(e,t);var i=0!=(128&t.flags);if(!a&&!i)return r&&Ir(t,n,!1),jl(e,t,o);a=t.stateNode,gl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:a.render();return t.flags|=1,null!==e&&i?(t.child=Yo(t,e.child,null,o),t.child=Yo(t,null,l,o)):vl(e,t,l,o),t.memoizedState=a.state,r&&Ir(t,n,!0),t.child}function $l(e){var t=e.stateNode;t.pendingContext?Tr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Tr(0,t.context,!1),ti(e,t.containerInfo)}function Rl(e,t,n,a,r){return uo(),ho(r),t.flags|=256,vl(e,t,n,a),t.child}var Cl,Pl,Tl,Ll,Al={dehydrated:null,treeContext:null,retryLane:0};function Il(e){return{baseLanes:e,cachePool:null,transitions:null}}function Nl(e,t,a){var r,o=t.pendingProps,i=oi.current,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Er(oi,1&i),null===e)return io(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):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Id(s,o,0,null),e=Ad(e,o,a,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Il(a),t.memoizedState=Al,e):Fl(t,s));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,a,r,o,i,l){if(a)return 256&t.flags?(t.flags&=-257,zl(e,t,l,r=sl(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Id({mode:"visible",children:r.children},o,0,null),(i=Ad(i,o,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Yo(t,e.child,null,l),t.child.memoizedState=Il(l),t.memoizedState=Al,i);if(0==(1&t.mode))return zl(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var s=r.dgst;return r=s,zl(e,t,l,r=sl(i=Error(n(419)),r,void 0))}if(s=0!=(l&e.childLanes),yl||s){if(null!==(r=$s)){switch(l&-l){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|l))?0:o)&&o!==i.retryLane&&(i.retryLane=o,$o(e,o),ed(r,e,o,-1))}return pd(),zl(e,t,l,r=sl(Error(n(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Sd.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,eo=ir(o.nextSibling),Jr=t,to=!0,no=null,null!==e&&(Ur[Gr++]=Wr,Ur[Gr++]=Yr,Ur[Gr++]=qr,Wr=e.id,Yr=e.overflow,qr=t),t=Fl(t,r.children),t.flags|=4096,t)}(e,t,s,o,r,i,a);if(l){l=o.fallback,s=t.mode,r=(i=e.child).sibling;var d={mode:"hidden",children:o.children};return 0==(1&s)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=d,t.deletions=null):(o=Td(i,d)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Td(r,l):(l=Ad(l,s,a,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Il(a):{baseLanes:s.baseLanes|a,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~a,t.memoizedState=Al,o}return e=(l=e.child).sibling,o=Td(l,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=a),o.return=t,o.sibling=null,null!==e&&(null===(a=t.deletions)?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=o,t.memoizedState=null,o}function Fl(e,t){return(t=Id({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zl(e,t,n,a){return null!==a&&ho(a),Yo(t,e.child,null,n),(e=Fl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Dl(e,t,n){e.lanes|=t;var a=e.alternate;null!==a&&(a.lanes|=t),xo(e.return,t,n)}function Ol(e,t,n,a,r){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=n,o.tailMode=r)}function Hl(e,t,n){var a=t.pendingProps,r=a.revealOrder,o=a.tail;if(vl(e,t,a.children,n),0!=(2&(a=oi.current)))a=1&a|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&&Dl(e,n,t);else if(19===e.tag)Dl(e,n,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}a&=1}if(Er(oi,a),0==(1&t.mode))t.memoizedState=null;else switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===ii(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Ol(t,!1,r,n,o);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===ii(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Ol(t,!0,n,null,o);break;case"together":Ol(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function jl(e,t,a){if(null!==e&&(t.dependencies=e.dependencies),Is|=t.lanes,0==(a&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(a=Td(e=t.child,e.pendingProps),t.child=a,a.return=t;null!==e.sibling;)e=e.sibling,(a=a.sibling=Td(e,e.pendingProps)).return=t;a.sibling=null}return t.child}function Bl(e,t){if(!to)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;null!==n;)null!==n.alternate&&(a=n),n=n.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Ul(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,a=0;if(t)for(var r=e.child;null!==r;)n|=r.lanes|r.childLanes,a|=14680064&r.subtreeFlags,a|=14680064&r.flags,r.return=e,r=r.sibling;else for(r=e.child;null!==r;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags,a|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function Gl(e,t,a){var o=t.pendingProps;switch(Qr(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ul(t),null;case 1:case 17:return Cr(t.type)&&Pr(),Ul(t),null;case 3:return o=t.stateNode,ni(),kr(wr),kr(Sr),si(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(so(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==no&&(rd(no),no=null))),Pl(e,t),Ul(t),null;case 5:ri(t);var i=ei(Jo.current);if(a=t.type,null!==e&&null!=t.stateNode)Tl(e,t,a,o,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(null===t.stateNode)throw Error(n(166));return Ul(t),null}if(e=ei(Xo.current),so(t)){o=t.stateNode,a=t.type;var l=t.memoizedProps;switch(o[dr]=t,o[cr]=l,e=0!=(1&t.mode),a){case"dialog":Fa("cancel",o),Fa("close",o);break;case"iframe":case"object":case"embed":Fa("load",o);break;case"video":case"audio":for(i=0;i<La.length;i++)Fa(La[i],o);break;case"source":Fa("error",o);break;case"img":case"image":case"link":Fa("error",o),Fa("load",o);break;case"details":Fa("toggle",o);break;case"input":W(o,l),Fa("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!l.multiple},Fa("invalid",o);break;case"textarea":te(o,l),Fa("invalid",o)}for(var s in me(a,l),i=null,l)if(l.hasOwnProperty(s)){var d=l[s];"children"===s?"string"==typeof d?o.textContent!==d&&(!0!==l.suppressHydrationWarning&&Za(o.textContent,d,e),i=["children",d]):"number"==typeof d&&o.textContent!==""+d&&(!0!==l.suppressHydrationWarning&&Za(o.textContent,d,e),i=["children",""+d]):r.hasOwnProperty(s)&&null!=d&&"onScroll"===s&&Fa("scroll",o)}switch(a){case"input":B(o),K(o,l,!0);break;case"textarea":B(o),ae(o);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(o.onclick=Ka)}o=i,t.updateQueue=o,null!==o&&(t.flags|=4)}else{s=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=re(a)),"http://www.w3.org/1999/xhtml"===e?"script"===a?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=s.createElement(a,{is:o.is}):(e=s.createElement(a),"select"===a&&(s=e,o.multiple?s.multiple=!0:o.size&&(s.size=o.size))):e=s.createElementNS(e,a),e[dr]=t,e[cr]=o,Cl(e,t,!1,!1),t.stateNode=e;e:{switch(s=ge(a,o),a){case"dialog":Fa("cancel",e),Fa("close",e),i=o;break;case"iframe":case"object":case"embed":Fa("load",e),i=o;break;case"video":case"audio":for(i=0;i<La.length;i++)Fa(La[i],e);i=o;break;case"source":Fa("error",e),i=o;break;case"img":case"image":case"link":Fa("error",e),Fa("load",e),i=o;break;case"details":Fa("toggle",e),i=o;break;case"input":W(e,o),i=q(e,o),Fa("invalid",e);break;case"option":default:i=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},i=I({},o,{value:void 0}),Fa("invalid",e);break;case"textarea":te(e,o),i=ee(e,o),Fa("invalid",e)}for(l in me(a,i),d=i)if(d.hasOwnProperty(l)){var c=d[l];"style"===l?pe(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&se(e,c):"children"===l?"string"==typeof c?("textarea"!==a||""!==c)&&de(e,c):"number"==typeof c&&de(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(r.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Fa("scroll",e):null!=c&&g(e,l,c,s))}switch(a){case"input":B(e),K(e,o,!1);break;case"textarea":B(e),ae(e);break;case"option":null!=o.value&&e.setAttribute("value",""+V(o.value));break;case"select":e.multiple=!!o.multiple,null!=(l=o.value)?J(e,!!o.multiple,l,!1):null!=o.defaultValue&&J(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Ka)}switch(a){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ul(t),null;case 6:if(e&&null!=t.stateNode)Ll(e,t,e.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(n(166));if(a=ei(Jo.current),ei(Xo.current),so(t)){if(o=t.stateNode,a=t.memoizedProps,o[dr]=t,(l=o.nodeValue!==a)&&null!==(e=Jr))switch(e.tag){case 3:Za(o.nodeValue,a,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Za(o.nodeValue,a,0!=(1&e.mode))}l&&(t.flags|=4)}else(o=(9===a.nodeType?a:a.ownerDocument).createTextNode(o))[dr]=t,t.stateNode=o}return Ul(t),null;case 13:if(kr(oi),o=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(to&&null!==eo&&0!=(1&t.mode)&&0==(128&t.flags))co(),uo(),t.flags|=98560,l=!1;else if(l=so(t),null!==o&&null!==o.dehydrated){if(null===e){if(!l)throw Error(n(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(n(317));l[dr]=t}else uo(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ul(t),l=!1}else null!==no&&(rd(no),no=null),l=!0;if(!l)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=a,t):((o=null!==o)!==(null!==e&&null!==e.memoizedState)&&o&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&oi.current)?0===Ls&&(Ls=3):pd())),null!==t.updateQueue&&(t.flags|=4),Ul(t),null);case 4:return ni(),Pl(e,t),null===e&&Oa(t.stateNode.containerInfo),Ul(t),null;case 10:return bo(t.type._context),Ul(t),null;case 19:if(kr(oi),null===(l=t.memoizedState))return Ul(t),null;if(o=0!=(128&t.flags),null===(s=l.rendering))if(o)Bl(l,!1);else{if(0!==Ls||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ii(e))){for(t.flags|=128,Bl(l,!1),null!==(o=s.updateQueue)&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=a,a=t.child;null!==a;)e=o,(l=a).flags&=14680066,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),a=a.sibling;return Er(oi,1&oi.current|2),t.child}e=e.sibling}null!==l.tail&&Ye()>Hs&&(t.flags|=128,o=!0,Bl(l,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=ii(s))){if(t.flags|=128,o=!0,null!==(a=e.updateQueue)&&(t.updateQueue=a,t.flags|=4),Bl(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!to)return Ul(t),null}else 2*Ye()-l.renderingStartTime>Hs&&1073741824!==a&&(t.flags|=128,o=!0,Bl(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(null!==(a=l.last)?a.sibling=s:t.child=s,l.last=s)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ye(),t.sibling=null,a=oi.current,Er(oi,o?1&a|2:1&a),t):(Ul(t),null);case 22:case 23:return dd(),o=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==o&&(t.flags|=8192),o&&0!=(1&t.mode)?0!=(1073741824&Ps)&&(Ul(t),6&t.subtreeFlags&&(t.flags|=8192)):Ul(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function ql(e,t){switch(Qr(t),t.tag){case 1:return Cr(t.type)&&Pr(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ni(),kr(wr),kr(Sr),si(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ri(t),null;case 13:if(kr(oi),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));uo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return kr(oi),null;case 4:return ni(),null;case 10:return bo(t.type._context),null;case 22:case 23:return dd(),null;default:return null}}Cl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Pl=function(){},Tl=function(e,t,n,a){var o=e.memoizedProps;if(o!==a){e=t.stateNode,ei(Xo.current);var i,l=null;switch(n){case"input":o=q(e,o),a=q(e,a),l=[];break;case"select":o=I({},o,{value:void 0}),a=I({},a,{value:void 0}),l=[];break;case"textarea":o=ee(e,o),a=ee(e,a),l=[];break;default:"function"!=typeof o.onClick&&"function"==typeof a.onClick&&(e.onclick=Ka)}for(c in me(n,a),n=null,o)if(!a.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(r.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in a){var d=a[c];if(s=null!=o?o[c]:void 0,a.hasOwnProperty(c)&&d!==s&&(null!=d||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||d&&d.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in d)d.hasOwnProperty(i)&&s[i]!==d[i]&&(n||(n={}),n[i]=d[i])}else n||(l||(l=[]),l.push(c,n)),n=d;else"dangerouslySetInnerHTML"===c?(d=d?d.__html:void 0,s=s?s.__html:void 0,null!=d&&s!==d&&(l=l||[]).push(c,d)):"children"===c?"string"!=typeof d&&"number"!=typeof d||(l=l||[]).push(c,""+d):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(r.hasOwnProperty(c)?(null!=d&&"onScroll"===c&&Fa("scroll",e),l||s===d||(l=[])):(l=l||[]).push(c,d))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},Ll=function(e,t,n,a){n!==a&&(t.flags|=4)};var Wl=!1,Yl=!1,Zl="function"==typeof WeakSet?WeakSet:Set,Kl=null;function Xl(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){kd(e,t,n)}else n.current=null}function Ql(e,t,n){try{n()}catch(n){kd(e,t,n)}}var Jl=!1;function es(e,t,n){var a=t.updateQueue;if(null!==(a=null!==a?a.lastEffect:null)){var r=a=a.next;do{if((r.tag&e)===e){var o=r.destroy;r.destroy=void 0,void 0!==o&&Ql(t,n,o)}r=r.next}while(r!==a)}}function ts(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var a=n.create;n.destroy=a()}n=n.next}while(n!==t)}}function ns(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function as(e){var t=e.alternate;null!==t&&(e.alternate=null,as(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[dr],delete t[cr],delete t[hr],delete t[pr],delete t[fr])),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 rs(e){return 5===e.tag||3===e.tag||4===e.tag}function os(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||rs(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 is(e,t,n){var a=e.tag;if(5===a||6===a)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Ka));else if(4!==a&&null!==(e=e.child))for(is(e,t,n),e=e.sibling;null!==e;)is(e,t,n),e=e.sibling}function ls(e,t,n){var a=e.tag;if(5===a||6===a)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==a&&null!==(e=e.child))for(ls(e,t,n),e=e.sibling;null!==e;)ls(e,t,n),e=e.sibling}var ss=null,ds=!1;function cs(e,t,n){for(n=n.child;null!==n;)us(e,t,n),n=n.sibling}function us(e,t,n){if(nt&&"function"==typeof nt.onCommitFiberUnmount)try{nt.onCommitFiberUnmount(tt,n)}catch(e){}switch(n.tag){case 5:Yl||Xl(n,t);case 6:var a=ss,r=ds;ss=null,cs(e,t,n),ds=r,null!==(ss=a)&&(ds?(e=ss,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ss.removeChild(n.stateNode));break;case 18:null!==ss&&(ds?(e=ss,n=n.stateNode,8===e.nodeType?or(e.parentNode,n):1===e.nodeType&&or(e,n),Ot(e)):or(ss,n.stateNode));break;case 4:a=ss,r=ds,ss=n.stateNode.containerInfo,ds=!0,cs(e,t,n),ss=a,ds=r;break;case 0:case 11:case 14:case 15:if(!Yl&&(null!==(a=n.updateQueue)&&null!==(a=a.lastEffect))){r=a=a.next;do{var o=r,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)||0!=(4&o))&&Ql(n,t,i),r=r.next}while(r!==a)}cs(e,t,n);break;case 1:if(!Yl&&(Xl(n,t),"function"==typeof(a=n.stateNode).componentWillUnmount))try{a.props=n.memoizedProps,a.state=n.memoizedState,a.componentWillUnmount()}catch(e){kd(n,t,e)}cs(e,t,n);break;case 21:cs(e,t,n);break;case 22:1&n.mode?(Yl=(a=Yl)||null!==n.memoizedState,cs(e,t,n),Yl=a):cs(e,t,n);break;default:cs(e,t,n)}}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Zl),t.forEach((function(t){var a=wd.bind(null,e,t);n.has(t)||(n.add(t),t.then(a,a))}))}}function ps(e,t){var a=t.deletions;if(null!==a)for(var r=0;r<a.length;r++){var o=a[r];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ss=s.stateNode,ds=!1;break e;case 3:case 4:ss=s.stateNode.containerInfo,ds=!0;break e}s=s.return}if(null===ss)throw Error(n(160));us(i,l,o),ss=null,ds=!1;var d=o.alternate;null!==d&&(d.return=null),o.return=null}catch(e){kd(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)fs(t,e),t=t.sibling}function fs(e,t){var a=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ps(t,e),ms(e),4&r){try{es(3,e,e.return),ts(3,e)}catch(t){kd(e,e.return,t)}try{es(5,e,e.return)}catch(t){kd(e,e.return,t)}}break;case 1:ps(t,e),ms(e),512&r&&null!==a&&Xl(a,a.return);break;case 5:if(ps(t,e),ms(e),512&r&&null!==a&&Xl(a,a.return),32&e.flags){var o=e.stateNode;try{de(o,"")}catch(t){kd(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,l=null!==a?a.memoizedProps:i,s=e.type,d=e.updateQueue;if(e.updateQueue=null,null!==d)try{"input"===s&&"radio"===i.type&&null!=i.name&&Y(o,i),ge(s,l);var c=ge(s,i);for(l=0;l<d.length;l+=2){var u=d[l],h=d[l+1];"style"===u?pe(o,h):"dangerouslySetInnerHTML"===u?se(o,h):"children"===u?de(o,h):g(o,u,h,c)}switch(s){case"input":Z(o,i);break;case"textarea":ne(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;null!=f?J(o,!!i.multiple,f,!1):p!==!!i.multiple&&(null!=i.defaultValue?J(o,!!i.multiple,i.defaultValue,!0):J(o,!!i.multiple,i.multiple?[]:"",!1))}o[cr]=i}catch(t){kd(e,e.return,t)}}break;case 6:if(ps(t,e),ms(e),4&r){if(null===e.stateNode)throw Error(n(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){kd(e,e.return,t)}}break;case 3:if(ps(t,e),ms(e),4&r&&null!==a&&a.memoizedState.isDehydrated)try{Ot(t.containerInfo)}catch(t){kd(e,e.return,t)}break;case 4:default:ps(t,e),ms(e);break;case 13:ps(t,e),ms(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Os=Ye())),4&r&&hs(e);break;case 22:if(u=null!==a&&null!==a.memoizedState,1&e.mode?(Yl=(c=Yl)||u,ps(t,e),Yl=c):ps(t,e),ms(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!u&&0!=(1&e.mode))for(Kl=e,u=e.child;null!==u;){for(h=Kl=u;null!==Kl;){switch(f=(p=Kl).child,p.tag){case 0:case 11:case 14:case 15:es(4,p,p.return);break;case 1:Xl(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,a=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){kd(r,a,e)}}break;case 5:Xl(p,p.return);break;case 22:if(null!==p.memoizedState){_s(h);continue}}null!==f?(f.return=p,Kl=f):_s(h)}u=u.sibling}e:for(u=null,h=e;;){if(5===h.tag){if(null===u){u=h;try{o=h.stateNode,c?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=h.stateNode,l=null!=(d=h.memoizedProps.style)&&d.hasOwnProperty("display")?d.display:null,s.style.display=he("display",l))}catch(t){kd(e,e.return,t)}}}else if(6===h.tag){if(null===u)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(t){kd(e,e.return,t)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;u===h&&(u=null),h=h.return}u===h&&(u=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ps(t,e),ms(e),4&r&&hs(e);case 21:}}function ms(e){var t=e.flags;if(2&t){try{e:{for(var a=e.return;null!==a;){if(rs(a)){var r=a;break e}a=a.return}throw Error(n(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(de(o,""),r.flags&=-33),ls(e,os(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;is(e,os(e),i);break;default:throw Error(n(161))}}catch(t){kd(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function gs(e,t,n){Kl=e,ys(e)}function ys(e,t,n){for(var a=0!=(1&e.mode);null!==Kl;){var r=Kl,o=r.child;if(22===r.tag&&a){var i=null!==r.memoizedState||Wl;if(!i){var l=r.alternate,s=null!==l&&null!==l.memoizedState||Yl;l=Wl;var d=Yl;if(Wl=i,(Yl=s)&&!d)for(Kl=r;null!==Kl;)s=(i=Kl).child,22===i.tag&&null!==i.memoizedState?bs(r):null!==s?(s.return=i,Kl=s):bs(r);for(;null!==o;)Kl=o,ys(o),o=o.sibling;Kl=r,Wl=l,Yl=d}vs(e)}else 0!=(8772&r.subtreeFlags)&&null!==o?(o.return=r,Kl=o):vs(e)}}function vs(e){for(;null!==Kl;){var t=Kl;if(0!=(8772&t.flags)){var a=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Yl||ts(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yl)if(null===a)r.componentDidMount();else{var o=t.elementType===t.type?a.memoizedProps:fo(t.type,a.memoizedProps);r.componentDidUpdate(o,a.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Fo(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(a=null,null!==t.child)switch(t.child.tag){case 5:case 1:a=t.child.stateNode}Fo(t,l,a)}break;case 5:var s=t.stateNode;if(null===a&&4&t.flags){a=s;var d=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":d.autoFocus&&a.focus();break;case"img":d.src&&(a.src=d.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 c=t.alternate;if(null!==c){var u=c.memoizedState;if(null!==u){var h=u.dehydrated;null!==h&&Ot(h)}}}break;default:throw Error(n(163))}Yl||512&t.flags&&ns(t)}catch(e){kd(t,t.return,e)}}if(t===e){Kl=null;break}if(null!==(a=t.sibling)){a.return=t.return,Kl=a;break}Kl=t.return}}function _s(e){for(;null!==Kl;){var t=Kl;if(t===e){Kl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Kl=n;break}Kl=t.return}}function bs(e){for(;null!==Kl;){var t=Kl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ts(4,t)}catch(e){kd(t,n,e)}break;case 1:var a=t.stateNode;if("function"==typeof a.componentDidMount){var r=t.return;try{a.componentDidMount()}catch(e){kd(t,r,e)}}var o=t.return;try{ns(t)}catch(e){kd(t,o,e)}break;case 5:var i=t.return;try{ns(t)}catch(e){kd(t,i,e)}}}catch(e){kd(t,t.return,e)}if(t===e){Kl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Kl=l;break}Kl=t.return}}var xs,ks=Math.ceil,Es=y.ReactCurrentDispatcher,Ms=y.ReactCurrentOwner,Ss=y.ReactCurrentBatchConfig,ws=0,$s=null,Rs=null,Cs=0,Ps=0,Ts=xr(0),Ls=0,As=null,Is=0,Ns=0,Fs=0,zs=null,Ds=null,Os=0,Hs=1/0,Vs=null,js=!1,Bs=null,Us=null,Gs=!1,qs=null,Ws=0,Ys=0,Zs=null,Ks=-1,Xs=0;function Qs(){return 0!=(6&ws)?Ye():-1!==Ks?Ks:Ks=Ye()}function Js(e){return 0==(1&e.mode)?1:0!=(2&ws)&&0!==Cs?Cs&-Cs:null!==po.transition?(0===Xs&&(Xs=ht()),Xs):0!==(e=gt)?e:e=void 0===(e=window.event)?16:Wt(e.type)}function ed(e,t,a,r){if(50<Ys)throw Ys=0,Zs=null,Error(n(185));ft(e,a,r),0!=(2&ws)&&e===$s||(e===$s&&(0==(2&ws)&&(Ns|=a),4===Ls&&od(e,Cs)),td(e,r),1===a&&0===ws&&0==(1&t.mode)&&(Hs=Ye()+500,Fr&&Or()))}function td(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-at(o),l=1<<i,s=r[i];-1===s?0!=(l&n)&&0==(l&a)||(r[i]=ct(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var a=dt(e,e===$s?Cs:0);if(0===a)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=a&-a,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Fr=!0,Dr(e)}(id.bind(null,e)):Dr(id.bind(null,e)),ar((function(){0==(6&ws)&&Or()})),n=null;else{switch(yt(a)){case 1:n=Ke;break;case 4:n=Xe;break;case 16:default:n=Qe;break;case 536870912:n=et}n=$d(n,nd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function nd(e,t){if(Ks=-1,Xs=0,0!=(6&ws))throw Error(n(327));var a=e.callbackNode;if(bd()&&e.callbackNode!==a)return null;var r=dt(e,e===$s?Cs:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=fd(e,r);else{t=r;var o=ws;ws|=2;var i=hd();for($s===e&&Cs===t||(Vs=null,Hs=Ye()+500,cd(e,t));;)try{gd();break}catch(t){ud(e,t)}_o(),Es.current=i,ws=o,null!==Rs?t=0:($s=null,Cs=0,t=Ls)}if(0!==t){if(2===t&&(0!==(o=ut(e))&&(r=o,t=ad(e,o))),1===t)throw a=As,cd(e,0),od(e,r),td(e,Ye()),a;if(6===t)od(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var a=0;a<n.length;a++){var r=n[a],o=r.getSnapshot;r=r.value;try{if(!ra(o(),r))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;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}(o)&&(2===(t=fd(e,r))&&(0!==(i=ut(e))&&(r=i,t=ad(e,i))),1===t))throw a=As,cd(e,0),od(e,r),td(e,Ye()),a;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(n(345));case 2:case 5:_d(e,Ds,Vs);break;case 3:if(od(e,r),(130023424&r)===r&&10<(t=Os+500-Ye())){if(0!==dt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){Qs(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=er(_d.bind(null,e,Ds,Vs),t);break}_d(e,Ds,Vs);break;case 4:if(od(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-at(r);i=1<<l,(l=t[l])>o&&(o=l),r&=~i}if(r=o,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ks(r/1960))-r)){e.timeoutHandle=er(_d.bind(null,e,Ds,Vs),r);break}_d(e,Ds,Vs);break;default:throw Error(n(329))}}}return td(e,Ye()),e.callbackNode===a?nd.bind(null,e):null}function ad(e,t){var n=zs;return e.current.memoizedState.isDehydrated&&(cd(e,t).flags|=256),2!==(e=fd(e,t))&&(t=Ds,Ds=n,null!==t&&rd(t)),e}function rd(e){null===Ds?Ds=e:Ds.push.apply(Ds,e)}function od(e,t){for(t&=~Fs,t&=~Ns,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),a=1<<n;e[n]=-1,t&=~a}}function id(e){if(0!=(6&ws))throw Error(n(327));bd();var t=dt(e,0);if(0==(1&t))return td(e,Ye()),null;var a=fd(e,t);if(0!==e.tag&&2===a){var r=ut(e);0!==r&&(t=r,a=ad(e,r))}if(1===a)throw a=As,cd(e,0),od(e,t),td(e,Ye()),a;if(6===a)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_d(e,Ds,Vs),td(e,Ye()),null}function ld(e,t){var n=ws;ws|=1;try{return e(t)}finally{0===(ws=n)&&(Hs=Ye()+500,Fr&&Or())}}function sd(e){null!==qs&&0===qs.tag&&0==(6&ws)&&bd();var t=ws;ws|=1;var n=Ss.transition,a=gt;try{if(Ss.transition=null,gt=1,e)return e()}finally{gt=a,Ss.transition=n,0==(6&(ws=t))&&Or()}}function dd(){Ps=Ts.current,kr(Ts)}function cd(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,tr(n)),null!==Rs)for(n=Rs.return;null!==n;){var a=n;switch(Qr(a),a.tag){case 1:null!=(a=a.type.childContextTypes)&&Pr();break;case 3:ni(),kr(wr),kr(Sr),si();break;case 5:ri(a);break;case 4:ni();break;case 13:case 19:kr(oi);break;case 10:bo(a.type._context);break;case 22:case 23:dd()}n=n.return}if($s=e,Rs=e=Td(e.current,null),Cs=Ps=t,Ls=0,As=null,Fs=Ns=Is=0,Ds=zs=null,null!==Mo){for(t=0;t<Mo.length;t++)if(null!==(a=(n=Mo[t]).interleaved)){n.interleaved=null;var r=a.next,o=n.pending;if(null!==o){var i=o.next;o.next=r,a.next=i}n.pending=a}Mo=null}return e}function ud(e,t){for(;;){var a=Rs;try{if(_o(),di.current=al,mi){for(var r=hi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}mi=!1}if(ui=0,fi=pi=hi=null,gi=!1,yi=0,Ms.current=null,null===a||null===a.return){Ls=1,As=t,Rs=null;break}e:{var i=e,l=a.return,s=a,d=t;if(t=Cs,s.flags|=32768,null!==d&&"object"==typeof d&&"function"==typeof d.then){var c=d,u=s,h=u.tag;if(0==(1&u.mode)&&(0===h||11===h||15===h)){var p=u.alternate;p?(u.updateQueue=p.updateQueue,u.memoizedState=p.memoizedState,u.lanes=p.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=fl(l);if(null!==f){f.flags&=-257,ml(f,l,s,0,t),1&f.mode&&pl(i,c,t),d=c;var m=(t=f).updateQueue;if(null===m){var g=new Set;g.add(d),t.updateQueue=g}else m.add(d);break e}if(0==(1&t)){pl(i,c,t),pd();break e}d=Error(n(426))}else if(to&&1&s.mode){var y=fl(l);if(null!==y){0==(65536&y.flags)&&(y.flags|=256),ml(y,l,s,0,t),ho(ll(d,s));break e}}i=d=ll(d,s),4!==Ls&&(Ls=2),null===zs?zs=[i]:zs.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Io(i,ul(0,d,t));break e;case 1:s=d;var v=i.type,_=i.stateNode;if(0==(128&i.flags)&&("function"==typeof v.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===Us||!Us.has(_)))){i.flags|=65536,t&=-t,i.lanes|=t,Io(i,hl(i,s,t));break e}}i=i.return}while(null!==i)}vd(a)}catch(e){t=e,Rs===a&&null!==a&&(Rs=a=a.return);continue}break}}function hd(){var e=Es.current;return Es.current=al,null===e?al:e}function pd(){0!==Ls&&3!==Ls&&2!==Ls||(Ls=4),null===$s||0==(268435455&Is)&&0==(268435455&Ns)||od($s,Cs)}function fd(e,t){var a=ws;ws|=2;var r=hd();for($s===e&&Cs===t||(Vs=null,cd(e,t));;)try{md();break}catch(t){ud(e,t)}if(_o(),ws=a,Es.current=r,null!==Rs)throw Error(n(261));return $s=null,Cs=0,Ls}function md(){for(;null!==Rs;)yd(Rs)}function gd(){for(;null!==Rs&&!qe();)yd(Rs)}function yd(e){var t=xs(e.alternate,e,Ps);e.memoizedProps=e.pendingProps,null===t?vd(e):Rs=t,Ms.current=null}function vd(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Gl(n,t,Ps)))return void(Rs=n)}else{if(null!==(n=ql(n,t)))return n.flags&=32767,void(Rs=n);if(null===e)return Ls=6,void(Rs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Rs=t);Rs=t=e}while(null!==t);0===Ls&&(Ls=5)}function _d(e,t,a){var r=gt,o=Ss.transition;try{Ss.transition=null,gt=1,function(e,t,a,r){do{bd()}while(null!==qs);if(0!=(6&ws))throw Error(n(327));a=e.finishedWork;var o=e.finishedLanes;if(null===a)return null;if(e.finishedWork=null,e.finishedLanes=0,a===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var i=a.lanes|a.childLanes;if(function(e,t){var n=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 a=e.eventTimes;for(e=e.expirationTimes;0<n;){var r=31-at(n),o=1<<r;t[r]=0,a[r]=-1,e[r]=-1,n&=~o}}(e,i),e===$s&&(Rs=$s=null,Cs=0),0==(2064&a.subtreeFlags)&&0==(2064&a.flags)||Gs||(Gs=!0,$d(Qe,(function(){return bd(),null}))),i=0!=(15990&a.flags),0!=(15990&a.subtreeFlags)||i){i=Ss.transition,Ss.transition=null;var l=gt;gt=1;var s=ws;ws|=4,Ms.current=null,function(e,t){if(Xa=Vt,ca(e=da())){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(a=(a=e.ownerDocument)&&a.defaultView||window).getSelection&&a.getSelection();if(r&&0!==r.rangeCount){a=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{a.nodeType,i.nodeType}catch(e){a=null;break e}var l=0,s=-1,d=-1,c=0,u=0,h=e,p=null;t:for(;;){for(var f;h!==a||0!==o&&3!==h.nodeType||(s=l+o),h!==i||0!==r&&3!==h.nodeType||(d=l+r),3===h.nodeType&&(l+=h.nodeValue.length),null!==(f=h.firstChild);)p=h,h=f;for(;;){if(h===e)break t;if(p===a&&++c===o&&(s=l),p===i&&++u===r&&(d=l),null!==(f=h.nextSibling))break;p=(h=p).parentNode}h=f}a=-1===s||-1===d?null:{start:s,end:d}}else a=null}a=a||{start:0,end:0}}else a=null;for(Qa={focusedElem:e,selectionRange:a},Vt=!1,Kl=t;null!==Kl;)if(e=(t=Kl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Kl=e;else for(;null!==Kl;){t=Kl;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 g=m.memoizedProps,y=m.memoizedState,v=t.stateNode,_=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:fo(t.type,g),y);v.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(n(163))}}catch(e){kd(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Kl=e;break}Kl=t.return}m=Jl,Jl=!1}(e,a),fs(a,e),ua(Qa),Vt=!!Xa,Qa=Xa=null,e.current=a,gs(a),We(),ws=s,gt=l,Ss.transition=i}else e.current=a;if(Gs&&(Gs=!1,qs=e,Ws=o),i=e.pendingLanes,0===i&&(Us=null),function(e){if(nt&&"function"==typeof nt.onCommitFiberRoot)try{nt.onCommitFiberRoot(tt,e,void 0,128==(128&e.current.flags))}catch(e){}}(a.stateNode),td(e,Ye()),null!==t)for(r=e.onRecoverableError,a=0;a<t.length;a++)o=t[a],r(o.value,{componentStack:o.stack,digest:o.digest});if(js)throw js=!1,e=Bs,Bs=null,e;0!=(1&Ws)&&0!==e.tag&&bd(),i=e.pendingLanes,0!=(1&i)?e===Zs?Ys++:(Ys=0,Zs=e):Ys=0,Or()}(e,t,a,r)}finally{Ss.transition=o,gt=r}return null}function bd(){if(null!==qs){var e=yt(Ws),t=Ss.transition,a=gt;try{if(Ss.transition=null,gt=16>e?16:e,null===qs)var r=!1;else{if(e=qs,qs=null,Ws=0,0!=(6&ws))throw Error(n(331));var o=ws;for(ws|=4,Kl=e.current;null!==Kl;){var i=Kl,l=i.child;if(0!=(16&Kl.flags)){var s=i.deletions;if(null!==s){for(var d=0;d<s.length;d++){var c=s[d];for(Kl=c;null!==Kl;){var u=Kl;switch(u.tag){case 0:case 11:case 15:es(8,u,i)}var h=u.child;if(null!==h)h.return=u,Kl=h;else for(;null!==Kl;){var p=(u=Kl).sibling,f=u.return;if(as(u),u===c){Kl=null;break}if(null!==p){p.return=f,Kl=p;break}Kl=f}}}var m=i.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var y=g.sibling;g.sibling=null,g=y}while(null!==g)}}Kl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Kl=l;else e:for(;null!==Kl;){if(0!=(2048&(i=Kl).flags))switch(i.tag){case 0:case 11:case 15:es(9,i,i.return)}var v=i.sibling;if(null!==v){v.return=i.return,Kl=v;break e}Kl=i.return}}var _=e.current;for(Kl=_;null!==Kl;){var b=(l=Kl).child;if(0!=(2064&l.subtreeFlags)&&null!==b)b.return=l,Kl=b;else e:for(l=_;null!==Kl;){if(0!=(2048&(s=Kl).flags))try{switch(s.tag){case 0:case 11:case 15:ts(9,s)}}catch(e){kd(s,s.return,e)}if(s===l){Kl=null;break e}var x=s.sibling;if(null!==x){x.return=s.return,Kl=x;break e}Kl=s.return}}if(ws=o,Or(),nt&&"function"==typeof nt.onPostCommitFiberRoot)try{nt.onPostCommitFiberRoot(tt,e)}catch(e){}r=!0}return r}finally{gt=a,Ss.transition=t}}return!1}function xd(e,t,n){e=Lo(e,t=ul(0,t=ll(n,t),1),1),t=Qs(),null!==e&&(ft(e,1,t),td(e,t))}function kd(e,t,n){if(3===e.tag)xd(e,e,n);else for(;null!==t;){if(3===t.tag){xd(t,e,n);break}if(1===t.tag){var a=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof a.componentDidCatch&&(null===Us||!Us.has(a))){t=Lo(t,e=hl(t,e=ll(n,e),1),1),e=Qs(),null!==t&&(ft(t,1,e),td(t,e));break}}t=t.return}}function Ed(e,t,n){var a=e.pingCache;null!==a&&a.delete(t),t=Qs(),e.pingedLanes|=e.suspendedLanes&n,$s===e&&(Cs&n)===n&&(4===Ls||3===Ls&&(130023424&Cs)===Cs&&500>Ye()-Os?cd(e,0):Fs|=n),td(e,t)}function Md(e,t){0===t&&(0==(1&e.mode)?t=1:(t=lt,0==(130023424&(lt<<=1))&&(lt=4194304)));var n=Qs();null!==(e=$o(e,t))&&(ft(e,t,n),td(e,n))}function Sd(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Md(e,n)}function wd(e,t){var a=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(a=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(n(314))}null!==r&&r.delete(t),Md(e,a)}function $d(e,t){return Ue(e,t)}function Rd(e,t,n,a){this.tag=e,this.key=n,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=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Cd(e,t,n,a){return new Rd(e,t,n,a)}function Pd(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Td(e,t){var n=e.alternate;return null===n?((n=Cd(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ld(e,t,a,r,o,i){var l=2;if(r=e,"function"==typeof e)Pd(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case b:return Ad(a.children,o,i,t);case x:l=8,o|=8;break;case k:return(e=Cd(12,a,t,2|o)).elementType=k,e.lanes=i,e;case w:return(e=Cd(13,a,t,o)).elementType=w,e.lanes=i,e;case $:return(e=Cd(19,a,t,o)).elementType=$,e.lanes=i,e;case P:return Id(a,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case E:l=10;break e;case M:l=9;break e;case S:l=11;break e;case R:l=14;break e;case C:l=16,r=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Cd(l,a,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Ad(e,t,n,a){return(e=Cd(7,e,a,t)).lanes=n,e}function Id(e,t,n,a){return(e=Cd(22,e,a,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Nd(e,t,n){return(e=Cd(6,e,null,t)).lanes=n,e}function Fd(e,t,n){return(t=Cd(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zd(e,t,n,a,r){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=pt(0),this.expirationTimes=pt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.identifierPrefix=a,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function Dd(e,t,n,a,r,o,i,l,s){return e=new zd(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Cd(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Co(o),e}function Od(e){if(!e)return Mr;e:{if(Oe(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Cr(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var a=e.type;if(Cr(a))return Lr(e,a,t)}return t}function Hd(e,t,n,a,r,o,i,l,s){return(e=Dd(n,a,!0,e,0,o,0,l,s)).context=Od(null),n=e.current,(o=To(a=Qs(),r=Js(n))).callback=null!=t?t:null,Lo(n,o,r),e.current.lanes=r,ft(e,r,a),td(e,a),e}function Vd(e,t,n,a){var r=t.current,o=Qs(),i=Js(r);return n=Od(n),null===t.context?t.context=n:t.pendingContext=n,(t=To(o,i)).payload={element:e},null!==(a=void 0===a?null:a)&&(t.callback=a),null!==(e=Lo(r,t,i))&&(ed(e,r,i,o),Ao(e,r,i)),i}function jd(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Bd(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ud(e,t){Bd(e,t),(e=e.alternate)&&Bd(e,t)}xs=function(e,t,a){if(null!==e)if(e.memoizedProps!==t.pendingProps||wr.current)yl=!0;else{if(0==(e.lanes&a)&&0==(128&t.flags))return yl=!1,function(e,t,n){switch(t.tag){case 3:$l(t),uo();break;case 5:ai(t);break;case 1:Cr(t.type)&&Ar(t);break;case 4:ti(t,t.stateNode.containerInfo);break;case 10:var a=t.type._context,r=t.memoizedProps.value;Er(mo,a._currentValue),a._currentValue=r;break;case 13:if(null!==(a=t.memoizedState))return null!==a.dehydrated?(Er(oi,1&oi.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Nl(e,t,n):(Er(oi,1&oi.current),null!==(e=jl(e,t,n))?e.sibling:null);Er(oi,1&oi.current);break;case 19:if(a=0!=(n&t.childLanes),0!=(128&e.flags)){if(a)return Hl(e,t,n);t.flags|=128}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),Er(oi,oi.current),a)break;return null;case 22:case 23:return t.lanes=0,kl(e,t,n)}return jl(e,t,n)}(e,t,a);yl=0!=(131072&e.flags)}else yl=!1,to&&0!=(1048576&t.flags)&&Kr(t,Br,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Vl(e,t),e=t.pendingProps;var o=Rr(t,Sr.current);ko(t,a),o=xi(null,t,r,e,o,a);var i=ki();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Cr(r)?(i=!0,Ar(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Co(t),o.updater=Oo,t.stateNode=o,o._reactInternals=t,Bo(t,r,e,a),t=wl(null,t,r,!0,i,a)):(t.tag=0,to&&i&&Xr(t),vl(null,t,o,a),t=t.child),t;case 16:r=t.elementType;e:{switch(Vl(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return Pd(e)?1:0;if(null!=e){if((e=e.$$typeof)===S)return 11;if(e===R)return 14}return 2}(r),e=fo(r,e),o){case 0:t=Ml(null,t,r,e,a);break e;case 1:t=Sl(null,t,r,e,a);break e;case 11:t=_l(null,t,r,e,a);break e;case 14:t=bl(null,t,r,fo(r.type,e),a);break e}throw Error(n(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ml(e,t,r,o=t.elementType===r?o:fo(r,o),a);case 1:return r=t.type,o=t.pendingProps,Sl(e,t,r,o=t.elementType===r?o:fo(r,o),a);case 3:e:{if($l(t),null===e)throw Error(n(387));r=t.pendingProps,o=(i=t.memoizedState).element,Po(e,t),No(t,r,null,a);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Rl(e,t,r,a,o=ll(Error(n(423)),t));break e}if(r!==o){t=Rl(e,t,r,a,o=ll(Error(n(424)),t));break e}for(eo=ir(t.stateNode.containerInfo.firstChild),Jr=t,to=!0,no=null,a=Zo(t,null,r,a),t.child=a;a;)a.flags=-3&a.flags|4096,a=a.sibling}else{if(uo(),r===o){t=jl(e,t,a);break e}vl(e,t,r,a)}t=t.child}return t;case 5:return ai(t),null===e&&io(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,Ja(r,o)?l=null:null!==i&&Ja(r,i)&&(t.flags|=32),El(e,t),vl(e,t,l,a),t.child;case 6:return null===e&&io(t),null;case 13:return Nl(e,t,a);case 4:return ti(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Yo(t,null,r,a):vl(e,t,r,a),t.child;case 11:return r=t.type,o=t.pendingProps,_l(e,t,r,o=t.elementType===r?o:fo(r,o),a);case 7:return vl(e,t,t.pendingProps,a),t.child;case 8:case 12:return vl(e,t,t.pendingProps.children,a),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Er(mo,r._currentValue),r._currentValue=l,null!==i)if(ra(i.value,l)){if(i.children===o.children&&!wr.current){t=jl(e,t,a);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var d=s.firstContext;null!==d;){if(d.context===r){if(1===i.tag){(d=To(-1,a&-a)).tag=2;var c=i.updateQueue;if(null!==c){var u=(c=c.shared).pending;null===u?d.next=d:(d.next=u.next,u.next=d),c.pending=d}}i.lanes|=a,null!==(d=i.alternate)&&(d.lanes|=a),xo(i.return,a,t),s.lanes|=a;break}d=d.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(n(341));l.lanes|=a,null!==(s=l.alternate)&&(s.lanes|=a),xo(l,a,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}vl(e,t,o.children,a),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,ko(t,a),r=r(o=Eo(o)),t.flags|=1,vl(e,t,r,a),t.child;case 14:return o=fo(r=t.type,t.pendingProps),bl(e,t,r,o=fo(r.type,o),a);case 15:return xl(e,t,t.type,t.pendingProps,a);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:fo(r,o),Vl(e,t),t.tag=1,Cr(r)?(e=!0,Ar(t)):e=!1,ko(t,a),Vo(t,r,o),Bo(t,r,o,a),wl(null,t,r,!0,e,a);case 19:return Hl(e,t,a);case 22:return kl(e,t,a)}throw Error(n(156,t.tag))};var Gd="function"==typeof reportError?reportError:function(e){console.error(e)};function qd(e){this._internalRoot=e}function Wd(e){this._internalRoot=e}function Yd(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Zd(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Kd(){}function Xd(e,t,n,a,r){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof r){var l=r;r=function(){var e=jd(i);l.call(e)}}Vd(t,i,e,r)}else i=function(e,t,n,a,r){if(r){if("function"==typeof a){var o=a;a=function(){var e=jd(i);o.call(e)}}var i=Hd(t,a,e,0,null,!1,0,"",Kd);return e._reactRootContainer=i,e[ur]=i.current,Oa(8===e.nodeType?e.parentNode:e),sd(),i}for(;r=e.lastChild;)e.removeChild(r);if("function"==typeof a){var l=a;a=function(){var e=jd(s);l.call(e)}}var s=Dd(e,0,!1,null,0,!1,0,"",Kd);return e._reactRootContainer=s,e[ur]=s.current,Oa(8===e.nodeType?e.parentNode:e),sd((function(){Vd(t,s,n,a)})),s}(n,t,e,r,a);return jd(i)}Wd.prototype.render=qd.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));Vd(e,t,null,null)},Wd.prototype.unmount=qd.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;sd((function(){Vd(null,e,null,null)})),t[ur]=null}},Wd.prototype.unstable_scheduleHydration=function(e){if(e){var t=xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&It(e)}},vt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=st(t.pendingLanes);0!==n&&(mt(t,1|n),td(t,Ye()),0==(6&ws)&&(Hs=Ye()+500,Or()))}break;case 13:sd((function(){var t=$o(e,1);if(null!==t){var n=Qs();ed(t,e,1,n)}})),Ud(e,1)}},_t=function(e){if(13===e.tag){var t=$o(e,134217728);if(null!==t)ed(t,e,134217728,Qs());Ud(e,134217728)}},bt=function(e){if(13===e.tag){var t=Js(e),n=$o(e,t);if(null!==n)ed(n,e,t,Qs());Ud(e,t)}},xt=function(){return gt},kt=function(e,t){var n=gt;try{return gt=e,t()}finally{gt=n}},_e=function(e,t,a){switch(t){case"input":if(Z(e,a),t=a.name,"radio"===a.type&&null!=t){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<a.length;t++){var r=a[t];if(r!==e&&r.form===e.form){var o=vr(r);if(!o)throw Error(n(90));U(r),Z(r,o)}}}break;case"textarea":ne(e,a);break;case"select":null!=(t=a.value)&&J(e,!!a.multiple,t,!1)}},Se=ld,we=sd;var Qd={usingClientEntryPoint:!1,Events:[gr,yr,vr,Ee,Me,ld]},Jd={findFiberByHostInstance:mr,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ec={bundleType:Jd.bundleType,version:Jd.version,rendererPackageName:Jd.rendererPackageName,rendererConfig:Jd.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=je(e))?null:e.stateNode},findFiberByHostInstance:Jd.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 tc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tc.isDisabled&&tc.supportsFiber)try{tt=tc.inject(ec),nt=tc}catch(le){}}return reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qd,reactDom_production_min.createPortal=function(e,t){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yd(t))throw Error(n(200));return function(e,t,n){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_,key:null==a?null:""+a,children:e,containerInfo:t,implementation:n}}(e,t,null,a)},reactDom_production_min.createRoot=function(e,t){if(!Yd(e))throw Error(n(299));var a=!1,r="",o=Gd;return null!=t&&(!0===t.unstable_strictMode&&(a=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Dd(e,1,!1,null,0,a,0,r,o),e[ur]=t.current,Oa(8===e.nodeType?e.parentNode:e),new qd(t)},reactDom_production_min.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(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return e=null===(e=je(t))?null:e.stateNode},reactDom_production_min.flushSync=function(e){return sd(e)},reactDom_production_min.hydrate=function(e,t,a){if(!Zd(t))throw Error(n(200));return Xd(null,e,t,!0,a)},reactDom_production_min.hydrateRoot=function(e,t,a){if(!Yd(e))throw Error(n(405));var r=null!=a&&a.hydratedSources||null,o=!1,i="",l=Gd;if(null!=a&&(!0===a.unstable_strictMode&&(o=!0),void 0!==a.identifierPrefix&&(i=a.identifierPrefix),void 0!==a.onRecoverableError&&(l=a.onRecoverableError)),t=Hd(t,null,e,1,null!=a?a:null,o,0,i,l),e[ur]=t.current,Oa(e),r)for(e=0;e<r.length;e++)o=(o=(a=r[e])._getVersion)(a._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[a,o]:t.mutableSourceEagerHydrationData.push(a,o);return new Wd(t)},reactDom_production_min.render=function(e,t,a){if(!Zd(t))throw Error(n(200));return Xd(null,e,t,!1,a)},reactDom_production_min.unmountComponentAtNode=function(e){if(!Zd(e))throw Error(n(40));return!!e._reactRootContainer&&(sd((function(){Xd(null,null,e,!1,(function(){e._reactRootContainer=null,e[ur]=null}))})),!0)},reactDom_production_min.unstable_batchedUpdates=ld,reactDom_production_min.unstable_renderSubtreeIntoContainer=function(e,t,a,r){if(!Zd(a))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return Xd(e,t,a,!1,r)},reactDom_production_min.version="18.2.0-next-9e3b772b8-20220608",reactDom_production_min}var reactDom_development={},hasRequiredReactDom_development;
563
556
  /**
564
557
  * @license React
565
558
  * react-dom.development.js
@@ -568,7 +561,7 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
568
561
  *
569
562
  * This source code is licensed under the MIT license found in the
570
563
  * LICENSE file in the root directory of this source tree.
571
- */function requireReactDom_development(){return hasRequiredReactDom_development||(hasRequiredReactDom_development=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=React__default.default,t=requireScheduler(),n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,a=!1;function r(e){if(!a){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i("warn",e,n)}}function o(e){if(!a){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i("error",e,n)}}function i(e,t,a){var r=n.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",a=a.concat([r]));var o=a.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}var l=0,s=1,d=2,c=3,u=4,h=5,p=6,f=7,m=8,g=9,y=10,v=11,_=12,b=13,x=14,k=15,E=16,M=17,S=18,w=19,$=21,R=22,C=23,P=24,T=25,L=!0,A=!1,I=!1,N=!1,F=!1,z=!0,D=!1,O=!1,H=!0,V=!0,j=!0,B=new Set,U={},G={};function W(e,t){q(e,t),q(e+"Capture",t)}function q(e,t){U[e]&&o("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),U[e]=t;var n=e.toLowerCase();G[n]=e,"onDoubleClick"===e&&(G.ondblclick=e);for(var a=0;a<t.length;a++)B.add(t[a])}var Y=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Z=Object.prototype.hasOwnProperty;function K(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function X(e){try{return Q(e),!1}catch(e){return!0}}function Q(e){return""+e}function J(e,t){if(X(e))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,K(e)),Q(e)}function ee(e){if(X(e))return o("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",K(e)),Q(e)}var te=0,ne=3,ae=4,re=5,oe=6,ie=":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",le=ie+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",se=new RegExp("^["+ie+"]["+le+"]*$"),de={},ce={};function ue(e){return!!Z.call(ce,e)||!Z.call(de,e)&&(se.test(e)?(ce[e]=!0,!0):(de[e]=!0,o("Invalid attribute name: `%s`",e),!1))}function he(e,t,n){return null!==t?t.type===te:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function pe(e,t,n,a){if(null!==n&&n.type===te)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(a)return!1;if(null!==n)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return"data-"!==r&&"aria-"!==r;default:return!1}}function fe(e,t,n,a){if(null==t)return!0;if(pe(e,t,n,a))return!0;if(a)return!1;if(null!==n)switch(n.type){case ne:return!t;case ae:return!1===t;case re:return isNaN(t);case oe:return isNaN(t)||t<1}return!1}function me(e){return ye.hasOwnProperty(e)?ye[e]:null}function ge(e,t,n,a,r,o,i){this.acceptsBooleans=2===t||t===ne||t===ae,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ye={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){ye[e]=new ge(e,te,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0],n=e[1];ye[t]=new ge(t,1,!1,n,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ye[e]=new ge(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ye[e]=new ge(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"].forEach((function(e){ye[e]=new ge(e,ne,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ye[e]=new ge(e,ne,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ye[e]=new ge(e,ae,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ye[e]=new ge(e,oe,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ye[e]=new ge(e,re,!1,e.toLowerCase(),null,!1,!1)}));var ve=/[\-\:]([a-z])/g,_e=function(e){return e[1].toUpperCase()};["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"].forEach((function(e){var t=e.replace(ve,_e);ye[t]=new ge(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(ve,_e);ye[t]=new ge(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(ve,_e);ye[t]=new ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){ye[e]=new ge(e,1,!1,e.toLowerCase(),null,!1,!1)}));ye.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){ye[e]=new ge(e,1,!1,e.toLowerCase(),null,!0,!0)}));var be=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,xe=!1;function ke(e){!xe&&be.test(e)&&(xe=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ee(e,t,n,a){if(a.mustUseProperty)return e[a.propertyName];J(n,t),a.sanitizeURL&&ke(""+n);var r=a.attributeName,o=null;if(a.type===ae){if(e.hasAttribute(r)){var i=e.getAttribute(r);return""===i||(fe(t,n,a,!1)?i:i===""+n?n:i)}}else if(e.hasAttribute(r)){if(fe(t,n,a,!1))return e.getAttribute(r);if(a.type===ne)return n;o=e.getAttribute(r)}return fe(t,n,a,!1)?null===o?n:o:o===""+n?n:o}function Me(e,t,n,a){if(ue(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var r=e.getAttribute(t);return J(n,t),r===""+n?n:r}}function Se(e,t,n,a){var r=me(t);if(!he(t,r,a))if(fe(t,n,r,a)&&(n=null),a||null===r){if(ue(t)){var o=t;null===n?e.removeAttribute(o):(J(n,t),e.setAttribute(o,""+n))}}else if(r.mustUseProperty){var i=r.propertyName;if(null===n){var l=r.type;e[i]=l!==ne&&""}else e[i]=n}else{var s=r.attributeName,d=r.attributeNamespace;if(null===n)e.removeAttribute(s);else{var c,u=r.type;u===ne||u===ae&&!0===n?c="":(J(n,s),c=""+n,r.sanitizeURL&&ke(c.toString())),d?e.setAttributeNS(d,s,c):e.setAttribute(s,c)}}}var we=Symbol.for("react.element"),$e=Symbol.for("react.portal"),Re=Symbol.for("react.fragment"),Ce=Symbol.for("react.strict_mode"),Pe=Symbol.for("react.profiler"),Te=Symbol.for("react.provider"),Le=Symbol.for("react.context"),Ae=Symbol.for("react.forward_ref"),Ie=Symbol.for("react.suspense"),Ne=Symbol.for("react.suspense_list"),Fe=Symbol.for("react.memo"),ze=Symbol.for("react.lazy"),De=(Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode"),Symbol.for("react.offscreen")),Oe=(Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker"),Symbol.iterator),He="@@iterator";function Ve(e){if(null===e||"object"!=typeof e)return null;var t=Oe&&e[Oe]||e[He];return"function"==typeof t?t:null}var je,Be,Ue,Ge,We,qe,Ye,Ze=Object.assign,Ke=0;function Xe(){}Xe.__reactDisabledLog=!0;var Qe,Je=n.ReactCurrentDispatcher;function et(e,t,n){if(void 0===Qe)try{throw Error()}catch(e){var a=e.stack.trim().match(/\n( *(at )?)/);Qe=a&&a[1]||""}return"\n"+Qe+e}var tt,nt=!1,at="function"==typeof WeakMap?WeakMap:Map;function rt(e,t){if(!e||nt)return"";var n,a=tt.get(e);if(void 0!==a)return a;nt=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=Je.current,Je.current=null,function(){if(0===Ke){je=console.log,Be=console.info,Ue=console.warn,Ge=console.error,We=console.group,qe=console.groupCollapsed,Ye=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Xe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ke++}();try{if(t){var l=function(){throw Error()};if(Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(l,[])}catch(e){n=e}Reflect.construct(e,[],l)}else{try{l.call()}catch(e){n=e}e.call(l.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),d=n.stack.split("\n"),c=s.length-1,u=d.length-1;c>=1&&u>=0&&s[c]!==d[u];)u--;for(;c>=1&&u>=0;c--,u--)if(s[c]!==d[u]){if(1!==c||1!==u)do{if(c--,--u<0||s[c]!==d[u]){var h="\n"+s[c].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),"function"==typeof e&&tt.set(e,h),h}}while(c>=1&&u>=0);break}}}finally{nt=!1,Je.current=r,function(){if(0==--Ke){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ze({},e,{value:je}),info:Ze({},e,{value:Be}),warn:Ze({},e,{value:Ue}),error:Ze({},e,{value:Ge}),group:Ze({},e,{value:We}),groupCollapsed:Ze({},e,{value:qe}),groupEnd:Ze({},e,{value:Ye})})}Ke<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",f=p?et(p):"";return"function"==typeof e&&tt.set(e,f),f}function ot(e,t,n){return rt(e,!1)}function it(e,t,n){if(null==e)return"";if("function"==typeof e)return rt(e,!(!(a=e.prototype)||!a.isReactComponent));var a;if("string"==typeof e)return et(e);switch(e){case Ie:return et("Suspense");case Ne:return et("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case Ae:return ot(e.render);case Fe:return it(e.type,t,n);case ze:var r=e,o=r._payload,i=r._init;try{return it(i(o),t,n)}catch(e){}}return""}function lt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case h:return et(e.type);case E:return et("Lazy");case b:return et("Suspense");case w:return et("SuspenseList");case l:case d:case k:return ot(e.type);case v:return ot(e.type.render);case s:return rt(e.type,!0);default:return""}}function st(e){try{var t="",n=e;do{t+=lt(n),n=n.return}while(n);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function dt(e){return e.displayName||"Context"}function ct(e){if(null==e)return null;if("number"==typeof e.tag&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Re:return"Fragment";case $e:return"Portal";case Pe:return"Profiler";case Ce:return"StrictMode";case Ie:return"Suspense";case Ne:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Le:return dt(e)+".Consumer";case Te:return dt(e._context)+".Provider";case Ae:return function(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case Fe:var t=e.displayName||null;return null!==t?t:ct(e.type)||"Memo";case ze:var n=e,a=n._payload,r=n._init;try{return ct(r(a))}catch(e){return null}}return null}function ut(e){return e.displayName||"Context"}function ht(e){var t,n,a,r,o=e.tag,i=e.type;switch(o){case P:return"Cache";case g:return ut(i)+".Consumer";case y:return ut(i._context)+".Provider";case S:return"DehydratedFragment";case v:return t=i,n=i.render,a="ForwardRef",r=n.displayName||n.name||"",t.displayName||(""!==r?a+"("+r+")":a);case f:return"Fragment";case h:return i;case u:return"Portal";case c:return"Root";case p:return"Text";case E:return ct(i);case m:return i===Ce?"StrictMode":"Mode";case R:return"Offscreen";case _:return"Profiler";case $:return"Scope";case b:return"Suspense";case w:return"SuspenseList";case T:return"TracingMarker";case s:case l:case M:case d:case x:case k:if("function"==typeof i)return i.displayName||i.name||null;if("string"==typeof i)return i}return null}tt=new at;var pt=n.ReactDebugCurrentFrame,ft=null,mt=!1;function gt(){if(null===ft)return null;var e=ft._debugOwner;return null!=e?ht(e):null}function yt(){return null===ft?"":st(ft)}function vt(){pt.getCurrentStack=null,ft=null,mt=!1}function _t(e){pt.getCurrentStack=null===e?null:yt,ft=e,mt=!1}function bt(e){mt=e}function xt(e){return""+e}function kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return ee(e),e;default:return""}}var Et={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Mt(e,t){Et[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||null==t.checked||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function St(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function wt(e){return e._valueTracker}function $t(e){wt(e)||(e._valueTracker=function(e){var t=St(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);ee(e[t]);var a=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,o=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){ee(e),a=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var i={getValue:function(){return a},setValue:function(e){ee(e),a=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}};return i}}(e))}function Rt(e){if(!e)return!1;var t=wt(e);if(!t)return!0;var n=t.getValue(),a=function(e){var t="";return e?t=St(e)?e.checked?"true":"false":e.value:t}(e);return a!==n&&(t.setValue(a),!0)}function Ct(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var Pt=!1,Tt=!1,Lt=!1,At=!1;function It(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function Nt(e,t){var n=e,a=t.checked;return Ze({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=a?a:n._wrapperState.initialChecked})}function Ft(e,t){Mt(0,t),void 0===t.checked||void 0===t.defaultChecked||Tt||(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",gt()||"A component",t.type),Tt=!0),void 0===t.value||void 0===t.defaultValue||Pt||(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",gt()||"A component",t.type),Pt=!0);var n=e,a=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:kt(null!=t.value?t.value:a),controlled:It(t)}}function zt(e,t){var n=e,a=t.checked;null!=a&&Se(n,"checked",a,!1)}function Dt(e,t){var n=e,a=It(t);n._wrapperState.controlled||!a||At||(o("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),At=!0),!n._wrapperState.controlled||a||Lt||(o("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Lt=!0),zt(e,t);var r=kt(t.value),i=t.type;if(null!=r)"number"===i?(0===r&&""===n.value||n.value!=r)&&(n.value=xt(r)):n.value!==xt(r)&&(n.value=xt(r));else if("submit"===i||"reset"===i)return void n.removeAttribute("value");t.hasOwnProperty("value")?Vt(n,t.type,r):t.hasOwnProperty("defaultValue")&&Vt(n,t.type,kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function Ot(e,t,n){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&(void 0===t.value||null===t.value))return;var o=xt(a._wrapperState.initialValue);n||o!==a.value&&(a.value=o),a.defaultValue=o}var i=a.name;""!==i&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,""!==i&&(a.name=i)}function Ht(e,t){var n=e;Dt(n,t),function(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var a=e;a.parentNode;)a=a.parentNode;J(n,"name");for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),o=0;o<r.length;o++){var i=r[o];if(i!==e&&i.form===e.form){var l=Gc(i);if(!l)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Rt(i),Dt(i,l)}}}}(n,t)}function Vt(e,t,n){"number"===t&&Ct(e.ownerDocument)===e||(null==n?e.defaultValue=xt(e._wrapperState.initialValue):e.defaultValue!==xt(n)&&(e.defaultValue=xt(n)))}var jt=!1,Bt=!1,Ut=!1;function Gt(t,n){null==n.value&&("object"==typeof n.children&&null!==n.children?e.Children.forEach(n.children,(function(e){null!=e&&"string"!=typeof e&&"number"!=typeof e&&(Bt||(Bt=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))})):null!=n.dangerouslySetInnerHTML&&(Ut||(Ut=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),null==n.selected||jt||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),jt=!0)}var Wt,qt=Array.isArray;function Yt(e){return qt(e)}function Zt(){var e=gt();return e?"\n\nCheck the render method of `"+e+"`.":""}Wt=!1;var Kt=["value","defaultValue"];function Xt(e,t,n,a){var r=e.options;if(t){for(var o=n,i={},l=0;l<o.length;l++)i["$"+o[l]]=!0;for(var s=0;s<r.length;s++){var d=i.hasOwnProperty("$"+r[s].value);r[s].selected!==d&&(r[s].selected=d),d&&a&&(r[s].defaultSelected=!0)}}else{for(var c=xt(kt(n)),u=null,h=0;h<r.length;h++){if(r[h].value===c)return r[h].selected=!0,void(a&&(r[h].defaultSelected=!0));null!==u||r[h].disabled||(u=r[h])}null!==u&&(u.selected=!0)}}function Qt(e,t){return Ze({},t,{value:void 0})}function Jt(e,t){var n=e;!function(e){Mt(0,e);for(var t=0;t<Kt.length;t++){var n=Kt[t];if(null!=e[n]){var a=Yt(e[n]);e.multiple&&!a?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Zt()):!e.multiple&&a&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Zt())}}}(t),n._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||Wt||(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Wt=!0)}var en=!1;function tn(e,t){var n=e;if(null!=t.dangerouslySetInnerHTML)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");return Ze({},t,{value:void 0,defaultValue:void 0,children:xt(n._wrapperState.initialValue)})}function nn(e,t){var n=e;Mt(0,t),void 0===t.value||void 0===t.defaultValue||en||(o("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",gt()||"A component"),en=!0);var a=t.value;if(null==a){var r=t.children,i=t.defaultValue;if(null!=r){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=i)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Yt(r)){if(r.length>1)throw new Error("<textarea> can only have at most one child.");r=r[0]}i=r}null==i&&(i=""),a=i}n._wrapperState={initialValue:kt(a)}}function an(e,t){var n=e,a=kt(t.value),r=kt(t.defaultValue);if(null!=a){var o=xt(a);o!==n.value&&(n.value=o),null==t.defaultValue&&n.defaultValue!==o&&(n.defaultValue=o)}null!=r&&(n.defaultValue=xt(r))}function rn(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&""!==a&&null!==a&&(n.value=a)}var on="http://www.w3.org/1999/xhtml",ln="http://www.w3.org/1998/Math/MathML",sn="http://www.w3.org/2000/svg";function dn(e){switch(e){case"svg":return sn;case"math":return ln;default:return on}}function cn(e,t){return null==e||e===on?dn(t):e===sn&&"foreignObject"===t?on:e}var un,hn,pn=(hn=function(e,t){if(e.namespaceURI!==sn||"innerHTML"in e)e.innerHTML=t;else{(un=un||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=un.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,a){MSApp.execUnsafeLocalFunction((function(){return hn(e,t,n,a)}))}:hn),fn=1,mn=3,gn=8,yn=9,vn=11,_n=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===mn)return void(n.nodeValue=t)}e.textContent=t},bn={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},xn={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};var kn=["Webkit","ms","Moz","O"];function En(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||xn.hasOwnProperty(e)&&xn[e]?(function(e,t){if(X(e))o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,K(e)),Q(e)}(t,e),(""+t).trim()):t+"px"}Object.keys(xn).forEach((function(e){kn.forEach((function(t){xn[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=xn[e]}))}));var Mn=/([A-Z])/g,Sn=/^ms-/;var wn=/^(?:webkit|moz|o)[A-Z]/,$n=/^-ms-/,Rn=/-(.)/g,Cn=/;\s*$/,Pn={},Tn={},Ln=!1,An=!1,In=function(e){Pn.hasOwnProperty(e)&&Pn[e]||(Pn[e]=!0,o("Unsupported style property %s. Did you mean %s?",e,e.replace($n,"ms-").replace(Rn,(function(e,t){return t.toUpperCase()}))))},Nn=function(e,t){e.indexOf("-")>-1?In(e):wn.test(e)?function(e){Pn.hasOwnProperty(e)&&Pn[e]||(Pn[e]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):Cn.test(t)&&function(e,t){Tn.hasOwnProperty(t)&&Tn[t]||(Tn[t]=!0,o('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(Cn,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e,t){Ln||(Ln=!0,o("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e,t){An||(An=!0,o("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))};function Fn(e){var t="",n="";for(var a in e)if(e.hasOwnProperty(a)){var r=e[a];if(null!=r){var o=0===a.indexOf("--");t+=n+(o?a:a.replace(Mn,"-$1").toLowerCase().replace(Sn,"-ms-"))+":",t+=En(a,r,o),n=";"}}return t||null}function zn(e,t){var n=e.style;for(var a in t)if(t.hasOwnProperty(a)){var r=0===a.indexOf("--");r||Nn(a,t[a]);var o=En(a,t[a],r);"float"===a&&(a="cssFloat"),r?n.setProperty(a,o):n[a]=o}}function Dn(e){var t={};for(var n in e)for(var a=bn[n]||[n],r=0;r<a.length;r++)t[a[r]]=n;return t}var On=Ze({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}),Hn="__html";function Vn(e,t){if(t){if(On[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!=typeof t.dangerouslySetInnerHTML||!(Hn in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style)throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function jn(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 Bn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Un={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Gn={},Wn=new RegExp("^(aria)-["+le+"]*$"),qn=new RegExp("^(aria)[A-Z]["+le+"]*$");function Yn(e,t){if(Z.call(Gn,t)&&Gn[t])return!0;if(qn.test(t)){var n="aria-"+t.slice(4).toLowerCase(),a=Un.hasOwnProperty(n)?n:null;if(null==a)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Gn[t]=!0,!0;if(t!==a)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),Gn[t]=!0,!0}if(Wn.test(t)){var r=t.toLowerCase(),i=Un.hasOwnProperty(r)?r:null;if(null==i)return Gn[t]=!0,!1;if(t!==i)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),Gn[t]=!0,!0}return!0}function Zn(e,t){jn(e,t)||function(e,t){var n=[];for(var a in t)Yn(0,a)||n.push(a);var r=n.map((function(e){return"`"+e+"`"})).join(", ");1===n.length?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",r,e):n.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",r,e)}(e,t)}var Kn=!1;var Xn,Qn={},Jn=/^on./,ea=/^on[^A-Z]/,ta=new RegExp("^(aria)-["+le+"]*$"),na=new RegExp("^(aria)[A-Z]["+le+"]*$");Xn=function(e,t,n,a){if(Z.call(Qn,t)&&Qn[t])return!0;var r=t.toLowerCase();if("onfocusin"===r||"onfocusout"===r)return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Qn[t]=!0,!0;if(null!=a){var i=a.registrationNameDependencies,l=a.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var s=l.hasOwnProperty(r)?l[r]:null;if(null!=s)return o("Invalid event handler property `%s`. Did you mean `%s`?",t,s),Qn[t]=!0,!0;if(Jn.test(t))return o("Unknown event handler property `%s`. It will be ignored.",t),Qn[t]=!0,!0}else if(Jn.test(t))return ea.test(t)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Qn[t]=!0,!0;if(ta.test(t)||na.test(t))return!0;if("innerhtml"===r)return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Qn[t]=!0,!0;if("aria"===r)return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Qn[t]=!0,!0;if("is"===r&&null!=n&&"string"!=typeof n)return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Qn[t]=!0,!0;if("number"==typeof n&&isNaN(n))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Qn[t]=!0,!0;var d=me(t),c=null!==d&&d.type===te;if(Bn.hasOwnProperty(r)){var u=Bn[r];if(u!==t)return o("Invalid DOM property `%s`. Did you mean `%s`?",t,u),Qn[t]=!0,!0}else if(!c&&t!==r)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,r),Qn[t]=!0,!0;return"boolean"==typeof n&&pe(t,n,d,!1)?(n?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Qn[t]=!0,!0):!!c||(pe(t,n,d,!1)?(Qn[t]=!0,!1):("false"!==n&&"true"!==n||null===d||d.type!==ne||(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Qn[t]=!0),!0))};function aa(e,t,n){jn(e,t)||function(e,t,n){var a=[];for(var r in t)Xn(0,r,t[r],n)||a.push(r);var i=a.map((function(e){return"`"+e+"`"})).join(", ");1===a.length?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e):a.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e)}(e,t,n)}var ra=1,oa=2,ia=4,la=ra|oa|ia,sa=null;function da(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===mn?t.parentNode:t}var ca=null,ua=null,ha=null;function pa(e){var t=Bc(e);if(t){if("function"!=typeof ca)throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var a=Gc(n);ca(t.stateNode,t.type,a)}}}function fa(e){ua?ha?ha.push(e):ha=[e]:ua=e}function ma(){if(ua){var e=ua,t=ha;if(ua=null,ha=null,pa(e),t)for(var n=0;n<t.length;n++)pa(t[n])}}var ga=function(e,t){return e(t)},ya=function(){},va=!1;function _a(){(null!==ua||null!==ha)&&(ya(),ma())}function ba(e,t,n){if(va)return e(t,n);va=!0;try{return ga(e,t,n)}finally{va=!1,_a()}}function xa(e,t){var n=e.stateNode;if(null===n)return null;var a=Gc(n);if(null===a)return null;var r=a[t];if(function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(a=t,"button"!==a&&"input"!==a&&"select"!==a&&"textarea"!==a));default:return!1}var a}(t,e.type,a))return null;if(r&&"function"!=typeof r)throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}var ka=!1;if(Y)try{var Ea={};Object.defineProperty(Ea,"passive",{get:function(){ka=!0}}),window.addEventListener("test",Ea,Ea),window.removeEventListener("test",Ea,Ea)}catch(e){ka=!1}function Ma(e,t,n,a,r,o,i,l,s){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(e){this.onError(e)}}var Sa=Ma;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var wa=document.createElement("react");Sa=function(e,t,n,a,r,o,i,l,s){if("undefined"==typeof document||null===document)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var d=document.createEvent("Event"),c=!1,u=!0,h=window.event,p=Object.getOwnPropertyDescriptor(window,"event");function f(){wa.removeEventListener(x,y,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=h)}var m,g=Array.prototype.slice.call(arguments,3);function y(){c=!0,f(),t.apply(n,g),u=!1}var v=!1,_=!1;function b(e){if(m=e.error,v=!0,null===m&&0===e.colno&&0===e.lineno&&(_=!0),e.defaultPrevented&&null!=m&&"object"==typeof m)try{m._suppressLogging=!0}catch(e){}}var x="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",b),wa.addEventListener(x,y,!1),d.initEvent(x,!1,!1),wa.dispatchEvent(d),p&&Object.defineProperty(window,"event",p),c&&u&&(v?_&&(m=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):m=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(m)),window.removeEventListener("error",b),!c)return f(),Ma.apply(this,arguments)}}var $a=Sa,Ra=!1,Ca=null,Pa=!1,Ta=null,La={onError:function(e){Ra=!0,Ca=e}};function Aa(e,t,n,a,r,o,i,l,s){Ra=!1,Ca=null,$a.apply(La,arguments)}function Ia(){if(Ra){var e=Ca;return Ra=!1,Ca=null,e}throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Na(e){return e._reactInternals}var Fa=0,za=1,Da=2,Oa=4,Ha=16,Va=32,ja=64,Ba=128,Ua=256,Ga=512,Wa=1024,qa=2048,Ya=4096,Za=8192,Ka=16384,Xa=qa|Oa|ja|Ga|Wa|Ka,Qa=32767,Ja=32768,er=65536,tr=131072,nr=1048576,ar=2097152,rr=4194304,or=8388608,ir=16777216,lr=33554432,sr=Oa|Wa|0,dr=Da|Oa|Ha|Va|Ga|Ya|Za,cr=Oa|ja|Ga|Za,ur=qa|Ha,hr=rr|or|ar,pr=n.ReactCurrentOwner;function fr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var a=t;do{((t=a).flags&(Da|Ya))!==Fa&&(n=t.return),a=t.return}while(a)}return t.tag===c?n:null}function mr(e){if(e.tag===b){var t=e.memoizedState;if(null===t){var n=e.alternate;null!==n&&(t=n.memoizedState)}if(null!==t)return t.dehydrated}return null}function gr(e){return e.tag===c?e.stateNode.containerInfo:null}function yr(e){if(fr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function vr(e){var t=e.alternate;if(!t){var n=fr(e);if(null===n)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var a=e,r=t;;){var o=a.return;if(null===o)break;var i=o.alternate;if(null===i){var l=o.return;if(null!==l){a=r=l;continue}break}if(o.child===i.child){for(var s=o.child;s;){if(s===a)return yr(o),e;if(s===r)return yr(o),t;s=s.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==r.return)a=o,r=i;else{for(var d=!1,u=o.child;u;){if(u===a){d=!0,a=o,r=i;break}if(u===r){d=!0,r=o,a=i;break}u=u.sibling}if(!d){for(u=i.child;u;){if(u===a){d=!0,a=i,r=o;break}if(u===r){d=!0,r=i,a=o;break}u=u.sibling}if(!d)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==r)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==c)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function _r(e){var t=vr(e);return null!==t?br(t):null}function br(e){if(e.tag===h||e.tag===p)return e;for(var t=e.child;null!==t;){var n=br(t);if(null!==n)return n;t=t.sibling}return null}function xr(e){var t=vr(e);return null!==t?kr(t):null}function kr(e){if(e.tag===h||e.tag===p)return e;for(var t=e.child;null!==t;){if(t.tag!==u){var n=kr(t);if(null!==n)return n}t=t.sibling}return null}var Er=t.unstable_scheduleCallback,Mr=t.unstable_cancelCallback,Sr=t.unstable_shouldYield,wr=t.unstable_requestPaint,$r=t.unstable_now,Rr=t.unstable_getCurrentPriorityLevel,Cr=t.unstable_ImmediatePriority,Pr=t.unstable_UserBlockingPriority,Tr=t.unstable_NormalPriority,Lr=t.unstable_LowPriority,Ar=t.unstable_IdlePriority,Ir=t.unstable_yieldValue,Nr=t.unstable_setDisableYieldValue,Fr=null,zr=null,Dr=null,Or=!1,Hr="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function Vr(e){if("function"==typeof Ir&&(Nr(e),a=e),zr&&"function"==typeof zr.setStrictMode)try{zr.setStrictMode(Fr,e)}catch(e){Or||(Or=!0,o("React instrumentation encountered an error: %s",e))}}function jr(e){Dr=e}function Br(){for(var e=new Map,t=1,n=0;n<co;n++){var a=Yo(t);e.set(t,a),t*=2}return e}function Ur(){null!==Dr&&"function"==typeof Dr.markCommitStopped&&Dr.markCommitStopped()}function Gr(e){null!==Dr&&"function"==typeof Dr.markComponentRenderStarted&&Dr.markComponentRenderStarted(e)}function Wr(){null!==Dr&&"function"==typeof Dr.markComponentRenderStopped&&Dr.markComponentRenderStopped()}function qr(e){null!==Dr&&"function"==typeof Dr.markComponentLayoutEffectMountStarted&&Dr.markComponentLayoutEffectMountStarted(e)}function Yr(e){null!==Dr&&"function"==typeof Dr.markComponentLayoutEffectUnmountStarted&&Dr.markComponentLayoutEffectUnmountStarted(e)}function Zr(){null!==Dr&&"function"==typeof Dr.markComponentLayoutEffectUnmountStopped&&Dr.markComponentLayoutEffectUnmountStopped()}function Kr(e,t,n){null!==Dr&&"function"==typeof Dr.markComponentErrored&&Dr.markComponentErrored(e,t,n)}function Xr(e,t,n){null!==Dr&&"function"==typeof Dr.markComponentSuspended&&Dr.markComponentSuspended(e,t,n)}function Qr(e){null!==Dr&&"function"==typeof Dr.markRenderStarted&&Dr.markRenderStarted(e)}function Jr(){null!==Dr&&"function"==typeof Dr.markRenderStopped&&Dr.markRenderStopped()}function eo(e,t){null!==Dr&&"function"==typeof Dr.markStateUpdateScheduled&&Dr.markStateUpdateScheduled(e,t)}var to=0,no=1,ao=2,ro=8,oo=16,io=Math.clz32?Math.clz32:function(e){var t=e>>>0;if(0===t)return 32;return 31-(lo(t)/so|0)|0},lo=Math.log,so=Math.LN2;var co=31,uo=0,ho=0,po=1,fo=2,mo=4,go=8,yo=16,vo=32,_o=4194240,bo=64,xo=128,ko=256,Eo=512,Mo=1024,So=2048,wo=4096,$o=8192,Ro=16384,Co=32768,Po=65536,To=131072,Lo=262144,Ao=524288,Io=1048576,No=2097152,Fo=130023424,zo=4194304,Do=8388608,Oo=16777216,Ho=33554432,Vo=67108864,jo=zo,Bo=134217728,Uo=268435455,Go=268435456,Wo=536870912,qo=1073741824;function Yo(e){return e&po?"Sync":e&fo?"InputContinuousHydration":e&mo?"InputContinuous":e&go?"DefaultHydration":e&yo?"Default":e&vo?"TransitionHydration":e&_o?"Transition":e&Fo?"Retry":e&Bo?"SelectiveHydration":e&Go?"IdleHydration":e&Wo?"Idle":e&qo?"Offscreen":void 0}var Zo=-1,Ko=bo,Xo=zo;function Qo(e){switch(li(e)){case po:return po;case fo:return fo;case mo:return mo;case go:return go;case yo:return yo;case vo:return vo;case bo:case xo:case ko:case Eo:case Mo:case So:case wo:case $o:case Ro:case Co:case Po:case To:case Lo:case Ao:case Io:case No:return e&_o;case zo:case Do:case Oo:case Ho:case Vo:return e&Fo;case Bo:return Bo;case Go:return Go;case Wo:return Wo;case qo:return qo;default:return o("Should have found matching lanes. This is a bug in React."),e}}function Jo(e,t){var n=e.pendingLanes;if(n===uo)return uo;var a=uo,r=e.suspendedLanes,o=e.pingedLanes,i=n&Uo;if(i!==uo){var l=i&~r;if(l!==uo)a=Qo(l);else{var s=i&o;s!==uo&&(a=Qo(s))}}else{var d=n&~r;d!==uo?a=Qo(d):o!==uo&&(a=Qo(o))}if(a===uo)return uo;if(t!==uo&&t!==a&&(t&r)===uo){var c=li(a),u=li(t);if(c>=u||c===yo&&(u&_o)!==uo)return t}(a&mo)!==uo&&(a|=n&yo);var h=e.entangledLanes;if(h!==uo)for(var p=e.entanglements,f=a&h;f>0;){var m=di(f),g=1<<m;a|=p[m],f&=~g}return a}function ei(e,t){switch(e){case po:case fo:case mo:return t+250;case go:case yo:case vo:case bo:case xo:case ko:case Eo:case Mo:case So:case wo:case $o:case Ro:case Co:case Po:case To:case Lo:case Ao:case Io:case No:return t+5e3;case zo:case Do:case Oo:case Ho:case Vo:case Bo:case Go:case Wo:case qo:return Zo;default:return o("Should have found matching lanes. This is a bug in React."),Zo}}function ti(e){var t=e.pendingLanes&~qo;return t!==uo?t:t&qo?qo:uo}function ni(e){return(e&Uo)!==uo}function ai(e){return(e&Fo)===e}function ri(e,t){return(t&(fo|mo|go|yo))!==uo}function oi(e){return(e&_o)!==uo}function ii(){var e=Ko;return((Ko<<=1)&_o)===uo&&(Ko=bo),e}function li(e){return e&-e}function si(e){return li(e)}function di(e){return 31-io(e)}function ci(e){return di(e)}function ui(e,t){return(e&t)!==uo}function hi(e,t){return(e&t)===t}function pi(e,t){return e|t}function fi(e,t){return e&~t}function mi(e,t){return e&t}function gi(e){for(var t=[],n=0;n<co;n++)t.push(e);return t}function yi(e,t,n){e.pendingLanes|=t,t!==Wo&&(e.suspendedLanes=uo,e.pingedLanes=uo),e.eventTimes[ci(t)]=n}function vi(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function _i(e,t){for(var n=e.entangledLanes|=t,a=e.entanglements,r=n;r;){var o=di(r),i=1<<o;i&t|a[o]&t&&(a[o]|=t),r&=~i}}function bi(e,t,n){if(Hr)for(var a=e.pendingUpdatersLaneMap;n>0;){var r=ci(n),o=1<<r;a[r].add(t),n&=~o}}function xi(e,t){if(Hr)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var r=ci(t),o=1<<r,i=n[r];i.size>0&&(i.forEach((function(e){var t=e.alternate;null!==t&&a.has(t)||a.add(e)})),i.clear()),t&=~o}}var ki,Ei,Mi,Si,wi,$i=po,Ri=mo,Ci=yo,Pi=Wo,Ti=ho;function Li(){return Ti}function Ai(e){Ti=e}function Ii(e,t){return 0!==e&&e<t}function Ni(e){var t=li(e);return Ii($i,t)?Ii(Ri,t)?ni(t)?Ci:Pi:Ri:$i}function Fi(e){return e.current.memoizedState.isDehydrated}function zi(e){ki(e)}var Di=!1,Oi=[],Hi=null,Vi=null,ji=null,Bi=new Map,Ui=new Map,Gi=[],Wi=["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"];function qi(e,t){switch(e){case"focusin":case"focusout":Hi=null;break;case"dragenter":case"dragleave":Vi=null;break;case"mouseover":case"mouseout":ji=null;break;case"pointerover":case"pointerout":var n=t.pointerId;Bi.delete(n);break;case"gotpointercapture":case"lostpointercapture":var a=t.pointerId;Ui.delete(a)}}function Yi(e,t,n,a,r,o){if(null===e||e.nativeEvent!==o){var i=function(e,t,n,a,r){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:r,targetContainers:[a]}}(t,n,a,r,o);if(null!==t){var l=Bc(t);null!==l&&Ei(l)}return i}e.eventSystemFlags|=a;var s=e.targetContainers;return null!==r&&-1===s.indexOf(r)&&s.push(r),e}function Zi(e){var t=jc(e.target);if(null!==t){var n=fr(t);if(null!==n){var a=n.tag;if(a===b){var r=mr(n);if(null!==r)return e.blockedOn=r,void wi(e.priority,(function(){Mi(n)}))}else if(a===c){if(Fi(n.stateNode))return void(e.blockedOn=gr(n))}}}e.blockedOn=null}function Ki(e){if(null!==e.blockedOn)return!1;for(var t,n=e.targetContainers;n.length>0;){var a=n[0],r=sl(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(null!==r){var i=Bc(r);return null!==i&&Ei(i),e.blockedOn=r,!1}var l=e.nativeEvent,s=new l.constructor(l.type,l);t=s,null!==sa&&o("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),sa=t,l.target.dispatchEvent(s),null===sa&&o("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),sa=null,n.shift()}return!0}function Xi(e,t,n){Ki(e)&&n.delete(t)}function Qi(){Di=!1,null!==Hi&&Ki(Hi)&&(Hi=null),null!==Vi&&Ki(Vi)&&(Vi=null),null!==ji&&Ki(ji)&&(ji=null),Bi.forEach(Xi),Ui.forEach(Xi)}function Ji(e,n){e.blockedOn===n&&(e.blockedOn=null,Di||(Di=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Qi)))}function el(e){if(Oi.length>0){Ji(Oi[0],e);for(var t=1;t<Oi.length;t++){var n=Oi[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==Hi&&Ji(Hi,e),null!==Vi&&Ji(Vi,e),null!==ji&&Ji(ji,e);var a=function(t){return Ji(t,e)};Bi.forEach(a),Ui.forEach(a);for(var r=0;r<Gi.length;r++){var o=Gi[r];o.blockedOn===e&&(o.blockedOn=null)}for(;Gi.length>0;){var i=Gi[0];if(null!==i.blockedOn)break;Zi(i),null===i.blockedOn&&Gi.shift()}}var tl=n.ReactCurrentBatchConfig,nl=!0;function al(e){nl=!!e}function rl(e,t,n,a){var r=Li(),o=tl.transition;tl.transition=null;try{Ai($i),il(e,t,n,a)}finally{Ai(r),tl.transition=o}}function ol(e,t,n,a){var r=Li(),o=tl.transition;tl.transition=null;try{Ai(Ri),il(e,t,n,a)}finally{Ai(r),tl.transition=o}}function il(e,t,n,a){nl&&function(e,t,n,a){var r=sl(e,t,n,a);if(null===r)return fd(e,t,a,ll,n),void qi(e,a);if(function(e,t,n,a,r){switch(t){case"focusin":return Hi=Yi(Hi,e,t,n,a,r),!0;case"dragenter":return Vi=Yi(Vi,e,t,n,a,r),!0;case"mouseover":return ji=Yi(ji,e,t,n,a,r),!0;case"pointerover":var o=r,i=o.pointerId;return Bi.set(i,Yi(Bi.get(i)||null,e,t,n,a,o)),!0;case"gotpointercapture":var l=r,s=l.pointerId;return Ui.set(s,Yi(Ui.get(s)||null,e,t,n,a,l)),!0}return!1}(r,e,t,n,a))return void a.stopPropagation();if(qi(e,a),t&ia&&function(e){return Wi.indexOf(e)>-1}(e)){for(;null!==r;){var o=Bc(r);null!==o&&zi(o);var i=sl(e,t,n,a);if(null===i&&fd(e,t,a,ll,n),i===r)break;r=i}return void(null!==r&&a.stopPropagation())}fd(e,t,a,null,n)}(e,t,n,a)}var ll=null;function sl(e,t,n,a){ll=null;var r=jc(da(a));if(null!==r){var o=fr(r);if(null===o)r=null;else{var i=o.tag;if(i===b){var l=mr(o);if(null!==l)return l;r=null}else if(i===c){if(Fi(o.stateNode))return gr(o);r=null}else o!==r&&(r=null)}}return ll=r,null}function dl(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 $i;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 Ri;case"message":switch(Rr()){case Cr:return $i;case Pr:return Ri;case Tr:case Lr:return Ci;case Ar:return Pi;default:return Ci}default:return Ci}}var cl=null,ul=null,hl=null;function pl(){if(hl)return hl;var e,t,n=ul,a=n.length,r=fl(),o=r.length;for(e=0;e<a&&n[e]===r[e];e++);var i=a-e;for(t=1;t<=i&&n[a-t]===r[o-t];t++);var l=t>1?1-t:void 0;return hl=r.slice(e,l)}function fl(){return"value"in cl?cl.value:cl.textContent}function ml(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}function gl(){return!0}function yl(){return!1}function vl(e){function t(t,n,a,r,o){for(var i in this._reactName=t,this._targetInst=a,this.type=n,this.nativeEvent=r,this.target=o,this.currentTarget=null,e)if(e.hasOwnProperty(i)){var l=e[i];this[i]=l?l(r):r[i]}var s=null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue;return this.isDefaultPrevented=s?gl:yl,this.isPropagationStopped=yl,this}return Ze(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=gl)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=gl)},persist:function(){},isPersistent:gl}),t}var _l,bl,xl,kl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},El=vl(kl),Ml=Ze({},kl,{view:0,detail:0}),Sl=vl(Ml);var wl=Ze({},Ml,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dl,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:(function(e){e!==xl&&(xl&&"mousemove"===e.type?(_l=e.screenX-xl.screenX,bl=e.screenY-xl.screenY):(_l=0,bl=0),xl=e)}(e),_l)},movementY:function(e){return"movementY"in e?e.movementY:bl}}),$l=vl(wl),Rl=vl(Ze({},wl,{dataTransfer:0})),Cl=vl(Ze({},Ml,{relatedTarget:0})),Pl=vl(Ze({},kl,{animationName:0,elapsedTime:0,pseudoElement:0})),Tl=vl(Ze({},kl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Ll=vl(Ze({},kl,{data:0})),Al=Ll,Il={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nl={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"};var Fl={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zl(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Fl[e];return!!n&&!!t[n]}function Dl(e){return zl}var Ol=vl(Ze({},Ml,{key:function(e){if(e.key){var t=Il[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=ml(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?Nl[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dl,charCode:function(e){return"keypress"===e.type?ml(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ml(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Hl=vl(Ze({},wl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Vl=vl(Ze({},Ml,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dl})),jl=vl(Ze({},kl,{propertyName:0,elapsedTime:0,pseudoElement:0})),Bl=vl(Ze({},wl,{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})),Ul=[9,13,27,32],Gl=229,Wl=Y&&"CompositionEvent"in window,ql=null;Y&&"documentMode"in document&&(ql=document.documentMode);var Yl=Y&&"TextEvent"in window&&!ql,Zl=Y&&(!Wl||ql&&ql>8&&ql<=11),Kl=32,Xl=String.fromCharCode(Kl);var Ql=!1;function Jl(e,t){switch(e){case"keyup":return-1!==Ul.indexOf(t.keyCode);case"keydown":return t.keyCode!==Gl;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function es(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function ts(e){return"ko"===e.locale}var ns=!1;function as(e,t,n,a,r){var o,i;if(Wl?o=function(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}(t):ns?Jl(t,a)&&(o="onCompositionEnd"):function(e,t){return"keydown"===e&&t.keyCode===Gl}(t,a)&&(o="onCompositionStart"),!o)return null;Zl&&!ts(a)&&(ns||"onCompositionStart"!==o?"onCompositionEnd"===o&&ns&&(i=pl()):ns=function(e){return cl=e,ul=fl(),!0}(r));var l=gd(n,o);if(l.length>0){var s=new Ll(o,t,null,a,r);if(e.push({event:s,listeners:l}),i)s.data=i;else{var d=es(a);null!==d&&(s.data=d)}}}function rs(e,t){if(ns){if("compositionend"===e||!Wl&&Jl(e,t)){var n=pl();return cl=null,ul=null,hl=null,ns=!1,n}return null}switch(e){case"paste":default:return null;case"keypress":if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Zl&&!ts(t)?null:t.data}}function os(e,t,n,a,r){var o;if(!(o=Yl?function(e,t){switch(e){case"compositionend":return es(t);case"keypress":return t.which!==Kl?null:(Ql=!0,Xl);case"textInput":var n=t.data;return n===Xl&&Ql?null:n;default:return null}}(t,a):rs(t,a)))return null;var i=gd(n,"onBeforeInput");if(i.length>0){var l=new Al("onBeforeInput","beforeinput",null,a,r);e.push({event:l,listeners:i}),l.data=o}}var is={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 ls(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!is[e.type]:"textarea"===t}
564
+ */function requireReactDom_development(){return hasRequiredReactDom_development||(hasRequiredReactDom_development=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=React__default.default,t=requireScheduler(),n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,a=!1;function r(e){if(!a){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i("warn",e,n)}}function o(e){if(!a){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i("error",e,n)}}function i(e,t,a){var r=n.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",a=a.concat([r]));var o=a.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}var l=0,s=1,d=2,c=3,u=4,h=5,p=6,f=7,m=8,g=9,y=10,v=11,_=12,b=13,x=14,k=15,E=16,M=17,S=18,w=19,$=21,R=22,C=23,P=24,T=25,L=!0,A=!1,I=!1,N=!1,F=!1,z=!0,D=!1,O=!1,H=!0,V=!0,j=!0,B=new Set,U={},G={};function q(e,t){W(e,t),W(e+"Capture",t)}function W(e,t){U[e]&&o("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),U[e]=t;var n=e.toLowerCase();G[n]=e,"onDoubleClick"===e&&(G.ondblclick=e);for(var a=0;a<t.length;a++)B.add(t[a])}var Y=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Z=Object.prototype.hasOwnProperty;function K(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function X(e){try{return Q(e),!1}catch(e){return!0}}function Q(e){return""+e}function J(e,t){if(X(e))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,K(e)),Q(e)}function ee(e){if(X(e))return o("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",K(e)),Q(e)}var te=0,ne=3,ae=4,re=5,oe=6,ie=":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",le=ie+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",se=new RegExp("^["+ie+"]["+le+"]*$"),de={},ce={};function ue(e){return!!Z.call(ce,e)||!Z.call(de,e)&&(se.test(e)?(ce[e]=!0,!0):(de[e]=!0,o("Invalid attribute name: `%s`",e),!1))}function he(e,t,n){return null!==t?t.type===te:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function pe(e,t,n,a){if(null!==n&&n.type===te)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(a)return!1;if(null!==n)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return"data-"!==r&&"aria-"!==r;default:return!1}}function fe(e,t,n,a){if(null==t)return!0;if(pe(e,t,n,a))return!0;if(a)return!1;if(null!==n)switch(n.type){case ne:return!t;case ae:return!1===t;case re:return isNaN(t);case oe:return isNaN(t)||t<1}return!1}function me(e){return ye.hasOwnProperty(e)?ye[e]:null}function ge(e,t,n,a,r,o,i){this.acceptsBooleans=2===t||t===ne||t===ae,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ye={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){ye[e]=new ge(e,te,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0],n=e[1];ye[t]=new ge(t,1,!1,n,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){ye[e]=new ge(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){ye[e]=new ge(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"].forEach((function(e){ye[e]=new ge(e,ne,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){ye[e]=new ge(e,ne,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){ye[e]=new ge(e,ae,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){ye[e]=new ge(e,oe,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){ye[e]=new ge(e,re,!1,e.toLowerCase(),null,!1,!1)}));var ve=/[\-\:]([a-z])/g,_e=function(e){return e[1].toUpperCase()};["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"].forEach((function(e){var t=e.replace(ve,_e);ye[t]=new ge(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(ve,_e);ye[t]=new ge(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(ve,_e);ye[t]=new ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){ye[e]=new ge(e,1,!1,e.toLowerCase(),null,!1,!1)}));ye.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){ye[e]=new ge(e,1,!1,e.toLowerCase(),null,!0,!0)}));var be=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,xe=!1;function ke(e){!xe&&be.test(e)&&(xe=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Ee(e,t,n,a){if(a.mustUseProperty)return e[a.propertyName];J(n,t),a.sanitizeURL&&ke(""+n);var r=a.attributeName,o=null;if(a.type===ae){if(e.hasAttribute(r)){var i=e.getAttribute(r);return""===i||(fe(t,n,a,!1)?i:i===""+n?n:i)}}else if(e.hasAttribute(r)){if(fe(t,n,a,!1))return e.getAttribute(r);if(a.type===ne)return n;o=e.getAttribute(r)}return fe(t,n,a,!1)?null===o?n:o:o===""+n?n:o}function Me(e,t,n,a){if(ue(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var r=e.getAttribute(t);return J(n,t),r===""+n?n:r}}function Se(e,t,n,a){var r=me(t);if(!he(t,r,a))if(fe(t,n,r,a)&&(n=null),a||null===r){if(ue(t)){var o=t;null===n?e.removeAttribute(o):(J(n,t),e.setAttribute(o,""+n))}}else if(r.mustUseProperty){var i=r.propertyName;if(null===n){var l=r.type;e[i]=l!==ne&&""}else e[i]=n}else{var s=r.attributeName,d=r.attributeNamespace;if(null===n)e.removeAttribute(s);else{var c,u=r.type;u===ne||u===ae&&!0===n?c="":(J(n,s),c=""+n,r.sanitizeURL&&ke(c.toString())),d?e.setAttributeNS(d,s,c):e.setAttribute(s,c)}}}var we=Symbol.for("react.element"),$e=Symbol.for("react.portal"),Re=Symbol.for("react.fragment"),Ce=Symbol.for("react.strict_mode"),Pe=Symbol.for("react.profiler"),Te=Symbol.for("react.provider"),Le=Symbol.for("react.context"),Ae=Symbol.for("react.forward_ref"),Ie=Symbol.for("react.suspense"),Ne=Symbol.for("react.suspense_list"),Fe=Symbol.for("react.memo"),ze=Symbol.for("react.lazy"),De=(Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode"),Symbol.for("react.offscreen")),Oe=(Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker"),Symbol.iterator),He="@@iterator";function Ve(e){if(null===e||"object"!=typeof e)return null;var t=Oe&&e[Oe]||e[He];return"function"==typeof t?t:null}var je,Be,Ue,Ge,qe,We,Ye,Ze=Object.assign,Ke=0;function Xe(){}Xe.__reactDisabledLog=!0;var Qe,Je=n.ReactCurrentDispatcher;function et(e,t,n){if(void 0===Qe)try{throw Error()}catch(e){var a=e.stack.trim().match(/\n( *(at )?)/);Qe=a&&a[1]||""}return"\n"+Qe+e}var tt,nt=!1,at="function"==typeof WeakMap?WeakMap:Map;function rt(e,t){if(!e||nt)return"";var n,a=tt.get(e);if(void 0!==a)return a;nt=!0;var r,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,r=Je.current,Je.current=null,function(){if(0===Ke){je=console.log,Be=console.info,Ue=console.warn,Ge=console.error,qe=console.group,We=console.groupCollapsed,Ye=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Xe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ke++}();try{if(t){var l=function(){throw Error()};if(Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(l,[])}catch(e){n=e}Reflect.construct(e,[],l)}else{try{l.call()}catch(e){n=e}e.call(l.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),d=n.stack.split("\n"),c=s.length-1,u=d.length-1;c>=1&&u>=0&&s[c]!==d[u];)u--;for(;c>=1&&u>=0;c--,u--)if(s[c]!==d[u]){if(1!==c||1!==u)do{if(c--,--u<0||s[c]!==d[u]){var h="\n"+s[c].replace(" at new "," at ");return e.displayName&&h.includes("<anonymous>")&&(h=h.replace("<anonymous>",e.displayName)),"function"==typeof e&&tt.set(e,h),h}}while(c>=1&&u>=0);break}}}finally{nt=!1,Je.current=r,function(){if(0==--Ke){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ze({},e,{value:je}),info:Ze({},e,{value:Be}),warn:Ze({},e,{value:Ue}),error:Ze({},e,{value:Ge}),group:Ze({},e,{value:qe}),groupCollapsed:Ze({},e,{value:We}),groupEnd:Ze({},e,{value:Ye})})}Ke<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",f=p?et(p):"";return"function"==typeof e&&tt.set(e,f),f}function ot(e,t,n){return rt(e,!1)}function it(e,t,n){if(null==e)return"";if("function"==typeof e)return rt(e,!(!(a=e.prototype)||!a.isReactComponent));var a;if("string"==typeof e)return et(e);switch(e){case Ie:return et("Suspense");case Ne:return et("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case Ae:return ot(e.render);case Fe:return it(e.type,t,n);case ze:var r=e,o=r._payload,i=r._init;try{return it(i(o),t,n)}catch(e){}}return""}function lt(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case h:return et(e.type);case E:return et("Lazy");case b:return et("Suspense");case w:return et("SuspenseList");case l:case d:case k:return ot(e.type);case v:return ot(e.type.render);case s:return rt(e.type,!0);default:return""}}function st(e){try{var t="",n=e;do{t+=lt(n),n=n.return}while(n);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function dt(e){return e.displayName||"Context"}function ct(e){if(null==e)return null;if("number"==typeof e.tag&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Re:return"Fragment";case $e:return"Portal";case Pe:return"Profiler";case Ce:return"StrictMode";case Ie:return"Suspense";case Ne:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Le:return dt(e)+".Consumer";case Te:return dt(e._context)+".Provider";case Ae:return function(e,t,n){var a=e.displayName;if(a)return a;var r=t.displayName||t.name||"";return""!==r?n+"("+r+")":n}(e,e.render,"ForwardRef");case Fe:var t=e.displayName||null;return null!==t?t:ct(e.type)||"Memo";case ze:var n=e,a=n._payload,r=n._init;try{return ct(r(a))}catch(e){return null}}return null}function ut(e){return e.displayName||"Context"}function ht(e){var t,n,a,r,o=e.tag,i=e.type;switch(o){case P:return"Cache";case g:return ut(i)+".Consumer";case y:return ut(i._context)+".Provider";case S:return"DehydratedFragment";case v:return t=i,n=i.render,a="ForwardRef",r=n.displayName||n.name||"",t.displayName||(""!==r?a+"("+r+")":a);case f:return"Fragment";case h:return i;case u:return"Portal";case c:return"Root";case p:return"Text";case E:return ct(i);case m:return i===Ce?"StrictMode":"Mode";case R:return"Offscreen";case _:return"Profiler";case $:return"Scope";case b:return"Suspense";case w:return"SuspenseList";case T:return"TracingMarker";case s:case l:case M:case d:case x:case k:if("function"==typeof i)return i.displayName||i.name||null;if("string"==typeof i)return i}return null}tt=new at;var pt=n.ReactDebugCurrentFrame,ft=null,mt=!1;function gt(){if(null===ft)return null;var e=ft._debugOwner;return null!=e?ht(e):null}function yt(){return null===ft?"":st(ft)}function vt(){pt.getCurrentStack=null,ft=null,mt=!1}function _t(e){pt.getCurrentStack=null===e?null:yt,ft=e,mt=!1}function bt(e){mt=e}function xt(e){return""+e}function kt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return ee(e),e;default:return""}}var Et={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Mt(e,t){Et[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||null==t.checked||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function St(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function wt(e){return e._valueTracker}function $t(e){wt(e)||(e._valueTracker=function(e){var t=St(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);ee(e[t]);var a=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,o=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){ee(e),a=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var i={getValue:function(){return a},setValue:function(e){ee(e),a=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}};return i}}(e))}function Rt(e){if(!e)return!1;var t=wt(e);if(!t)return!0;var n=t.getValue(),a=function(e){var t="";return e?t=St(e)?e.checked?"true":"false":e.value:t}(e);return a!==n&&(t.setValue(a),!0)}function Ct(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var Pt=!1,Tt=!1,Lt=!1,At=!1;function It(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function Nt(e,t){var n=e,a=t.checked;return Ze({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=a?a:n._wrapperState.initialChecked})}function Ft(e,t){Mt(0,t),void 0===t.checked||void 0===t.defaultChecked||Tt||(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",gt()||"A component",t.type),Tt=!0),void 0===t.value||void 0===t.defaultValue||Pt||(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",gt()||"A component",t.type),Pt=!0);var n=e,a=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:kt(null!=t.value?t.value:a),controlled:It(t)}}function zt(e,t){var n=e,a=t.checked;null!=a&&Se(n,"checked",a,!1)}function Dt(e,t){var n=e,a=It(t);n._wrapperState.controlled||!a||At||(o("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),At=!0),!n._wrapperState.controlled||a||Lt||(o("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Lt=!0),zt(e,t);var r=kt(t.value),i=t.type;if(null!=r)"number"===i?(0===r&&""===n.value||n.value!=r)&&(n.value=xt(r)):n.value!==xt(r)&&(n.value=xt(r));else if("submit"===i||"reset"===i)return void n.removeAttribute("value");t.hasOwnProperty("value")?Vt(n,t.type,r):t.hasOwnProperty("defaultValue")&&Vt(n,t.type,kt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function Ot(e,t,n){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(("submit"===r||"reset"===r)&&(void 0===t.value||null===t.value))return;var o=xt(a._wrapperState.initialValue);n||o!==a.value&&(a.value=o),a.defaultValue=o}var i=a.name;""!==i&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!!a._wrapperState.initialChecked,""!==i&&(a.name=i)}function Ht(e,t){var n=e;Dt(n,t),function(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var a=e;a.parentNode;)a=a.parentNode;J(n,"name");for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),o=0;o<r.length;o++){var i=r[o];if(i!==e&&i.form===e.form){var l=Gc(i);if(!l)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Rt(i),Dt(i,l)}}}}(n,t)}function Vt(e,t,n){"number"===t&&Ct(e.ownerDocument)===e||(null==n?e.defaultValue=xt(e._wrapperState.initialValue):e.defaultValue!==xt(n)&&(e.defaultValue=xt(n)))}var jt=!1,Bt=!1,Ut=!1;function Gt(t,n){null==n.value&&("object"==typeof n.children&&null!==n.children?e.Children.forEach(n.children,(function(e){null!=e&&"string"!=typeof e&&"number"!=typeof e&&(Bt||(Bt=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))})):null!=n.dangerouslySetInnerHTML&&(Ut||(Ut=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),null==n.selected||jt||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),jt=!0)}var qt,Wt=Array.isArray;function Yt(e){return Wt(e)}function Zt(){var e=gt();return e?"\n\nCheck the render method of `"+e+"`.":""}qt=!1;var Kt=["value","defaultValue"];function Xt(e,t,n,a){var r=e.options;if(t){for(var o=n,i={},l=0;l<o.length;l++)i["$"+o[l]]=!0;for(var s=0;s<r.length;s++){var d=i.hasOwnProperty("$"+r[s].value);r[s].selected!==d&&(r[s].selected=d),d&&a&&(r[s].defaultSelected=!0)}}else{for(var c=xt(kt(n)),u=null,h=0;h<r.length;h++){if(r[h].value===c)return r[h].selected=!0,void(a&&(r[h].defaultSelected=!0));null!==u||r[h].disabled||(u=r[h])}null!==u&&(u.selected=!0)}}function Qt(e,t){return Ze({},t,{value:void 0})}function Jt(e,t){var n=e;!function(e){Mt(0,e);for(var t=0;t<Kt.length;t++){var n=Kt[t];if(null!=e[n]){var a=Yt(e[n]);e.multiple&&!a?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Zt()):!e.multiple&&a&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Zt())}}}(t),n._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||qt||(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),qt=!0)}var en=!1;function tn(e,t){var n=e;if(null!=t.dangerouslySetInnerHTML)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");return Ze({},t,{value:void 0,defaultValue:void 0,children:xt(n._wrapperState.initialValue)})}function nn(e,t){var n=e;Mt(0,t),void 0===t.value||void 0===t.defaultValue||en||(o("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",gt()||"A component"),en=!0);var a=t.value;if(null==a){var r=t.children,i=t.defaultValue;if(null!=r){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=i)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Yt(r)){if(r.length>1)throw new Error("<textarea> can only have at most one child.");r=r[0]}i=r}null==i&&(i=""),a=i}n._wrapperState={initialValue:kt(a)}}function an(e,t){var n=e,a=kt(t.value),r=kt(t.defaultValue);if(null!=a){var o=xt(a);o!==n.value&&(n.value=o),null==t.defaultValue&&n.defaultValue!==o&&(n.defaultValue=o)}null!=r&&(n.defaultValue=xt(r))}function rn(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&""!==a&&null!==a&&(n.value=a)}var on="http://www.w3.org/1999/xhtml",ln="http://www.w3.org/1998/Math/MathML",sn="http://www.w3.org/2000/svg";function dn(e){switch(e){case"svg":return sn;case"math":return ln;default:return on}}function cn(e,t){return null==e||e===on?dn(t):e===sn&&"foreignObject"===t?on:e}var un,hn,pn=(hn=function(e,t){if(e.namespaceURI!==sn||"innerHTML"in e)e.innerHTML=t;else{(un=un||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=un.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,a){MSApp.execUnsafeLocalFunction((function(){return hn(e,t,n,a)}))}:hn),fn=1,mn=3,gn=8,yn=9,vn=11,_n=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===mn)return void(n.nodeValue=t)}e.textContent=t},bn={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},xn={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};var kn=["Webkit","ms","Moz","O"];function En(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||xn.hasOwnProperty(e)&&xn[e]?(function(e,t){if(X(e))o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,K(e)),Q(e)}(t,e),(""+t).trim()):t+"px"}Object.keys(xn).forEach((function(e){kn.forEach((function(t){xn[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=xn[e]}))}));var Mn=/([A-Z])/g,Sn=/^ms-/;var wn=/^(?:webkit|moz|o)[A-Z]/,$n=/^-ms-/,Rn=/-(.)/g,Cn=/;\s*$/,Pn={},Tn={},Ln=!1,An=!1,In=function(e){Pn.hasOwnProperty(e)&&Pn[e]||(Pn[e]=!0,o("Unsupported style property %s. Did you mean %s?",e,e.replace($n,"ms-").replace(Rn,(function(e,t){return t.toUpperCase()}))))},Nn=function(e,t){e.indexOf("-")>-1?In(e):wn.test(e)?function(e){Pn.hasOwnProperty(e)&&Pn[e]||(Pn[e]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):Cn.test(t)&&function(e,t){Tn.hasOwnProperty(t)&&Tn[t]||(Tn[t]=!0,o('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(Cn,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e,t){Ln||(Ln=!0,o("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e,t){An||(An=!0,o("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))};function Fn(e){var t="",n="";for(var a in e)if(e.hasOwnProperty(a)){var r=e[a];if(null!=r){var o=0===a.indexOf("--");t+=n+(o?a:a.replace(Mn,"-$1").toLowerCase().replace(Sn,"-ms-"))+":",t+=En(a,r,o),n=";"}}return t||null}function zn(e,t){var n=e.style;for(var a in t)if(t.hasOwnProperty(a)){var r=0===a.indexOf("--");r||Nn(a,t[a]);var o=En(a,t[a],r);"float"===a&&(a="cssFloat"),r?n.setProperty(a,o):n[a]=o}}function Dn(e){var t={};for(var n in e)for(var a=bn[n]||[n],r=0;r<a.length;r++)t[a[r]]=n;return t}var On=Ze({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}),Hn="__html";function Vn(e,t){if(t){if(On[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!=typeof t.dangerouslySetInnerHTML||!(Hn in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style)throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function jn(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 Bn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Un={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Gn={},qn=new RegExp("^(aria)-["+le+"]*$"),Wn=new RegExp("^(aria)[A-Z]["+le+"]*$");function Yn(e,t){if(Z.call(Gn,t)&&Gn[t])return!0;if(Wn.test(t)){var n="aria-"+t.slice(4).toLowerCase(),a=Un.hasOwnProperty(n)?n:null;if(null==a)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Gn[t]=!0,!0;if(t!==a)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,a),Gn[t]=!0,!0}if(qn.test(t)){var r=t.toLowerCase(),i=Un.hasOwnProperty(r)?r:null;if(null==i)return Gn[t]=!0,!1;if(t!==i)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),Gn[t]=!0,!0}return!0}function Zn(e,t){jn(e,t)||function(e,t){var n=[];for(var a in t)Yn(0,a)||n.push(a);var r=n.map((function(e){return"`"+e+"`"})).join(", ");1===n.length?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",r,e):n.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",r,e)}(e,t)}var Kn=!1;var Xn,Qn={},Jn=/^on./,ea=/^on[^A-Z]/,ta=new RegExp("^(aria)-["+le+"]*$"),na=new RegExp("^(aria)[A-Z]["+le+"]*$");Xn=function(e,t,n,a){if(Z.call(Qn,t)&&Qn[t])return!0;var r=t.toLowerCase();if("onfocusin"===r||"onfocusout"===r)return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Qn[t]=!0,!0;if(null!=a){var i=a.registrationNameDependencies,l=a.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var s=l.hasOwnProperty(r)?l[r]:null;if(null!=s)return o("Invalid event handler property `%s`. Did you mean `%s`?",t,s),Qn[t]=!0,!0;if(Jn.test(t))return o("Unknown event handler property `%s`. It will be ignored.",t),Qn[t]=!0,!0}else if(Jn.test(t))return ea.test(t)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Qn[t]=!0,!0;if(ta.test(t)||na.test(t))return!0;if("innerhtml"===r)return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Qn[t]=!0,!0;if("aria"===r)return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Qn[t]=!0,!0;if("is"===r&&null!=n&&"string"!=typeof n)return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),Qn[t]=!0,!0;if("number"==typeof n&&isNaN(n))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Qn[t]=!0,!0;var d=me(t),c=null!==d&&d.type===te;if(Bn.hasOwnProperty(r)){var u=Bn[r];if(u!==t)return o("Invalid DOM property `%s`. Did you mean `%s`?",t,u),Qn[t]=!0,!0}else if(!c&&t!==r)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,r),Qn[t]=!0,!0;return"boolean"==typeof n&&pe(t,n,d,!1)?(n?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),Qn[t]=!0,!0):!!c||(pe(t,n,d,!1)?(Qn[t]=!0,!1):("false"!==n&&"true"!==n||null===d||d.type!==ne||(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),Qn[t]=!0),!0))};function aa(e,t,n){jn(e,t)||function(e,t,n){var a=[];for(var r in t)Xn(0,r,t[r],n)||a.push(r);var i=a.map((function(e){return"`"+e+"`"})).join(", ");1===a.length?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e):a.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e)}(e,t,n)}var ra=1,oa=2,ia=4,la=ra|oa|ia,sa=null;function da(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===mn?t.parentNode:t}var ca=null,ua=null,ha=null;function pa(e){var t=Bc(e);if(t){if("function"!=typeof ca)throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var a=Gc(n);ca(t.stateNode,t.type,a)}}}function fa(e){ua?ha?ha.push(e):ha=[e]:ua=e}function ma(){if(ua){var e=ua,t=ha;if(ua=null,ha=null,pa(e),t)for(var n=0;n<t.length;n++)pa(t[n])}}var ga=function(e,t){return e(t)},ya=function(){},va=!1;function _a(){(null!==ua||null!==ha)&&(ya(),ma())}function ba(e,t,n){if(va)return e(t,n);va=!0;try{return ga(e,t,n)}finally{va=!1,_a()}}function xa(e,t){var n=e.stateNode;if(null===n)return null;var a=Gc(n);if(null===a)return null;var r=a[t];if(function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(a=t,"button"!==a&&"input"!==a&&"select"!==a&&"textarea"!==a));default:return!1}var a}(t,e.type,a))return null;if(r&&"function"!=typeof r)throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}var ka=!1;if(Y)try{var Ea={};Object.defineProperty(Ea,"passive",{get:function(){ka=!0}}),window.addEventListener("test",Ea,Ea),window.removeEventListener("test",Ea,Ea)}catch(e){ka=!1}function Ma(e,t,n,a,r,o,i,l,s){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(e){this.onError(e)}}var Sa=Ma;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var wa=document.createElement("react");Sa=function(e,t,n,a,r,o,i,l,s){if("undefined"==typeof document||null===document)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var d=document.createEvent("Event"),c=!1,u=!0,h=window.event,p=Object.getOwnPropertyDescriptor(window,"event");function f(){wa.removeEventListener(x,y,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=h)}var m,g=Array.prototype.slice.call(arguments,3);function y(){c=!0,f(),t.apply(n,g),u=!1}var v=!1,_=!1;function b(e){if(m=e.error,v=!0,null===m&&0===e.colno&&0===e.lineno&&(_=!0),e.defaultPrevented&&null!=m&&"object"==typeof m)try{m._suppressLogging=!0}catch(e){}}var x="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",b),wa.addEventListener(x,y,!1),d.initEvent(x,!1,!1),wa.dispatchEvent(d),p&&Object.defineProperty(window,"event",p),c&&u&&(v?_&&(m=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):m=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(m)),window.removeEventListener("error",b),!c)return f(),Ma.apply(this,arguments)}}var $a=Sa,Ra=!1,Ca=null,Pa=!1,Ta=null,La={onError:function(e){Ra=!0,Ca=e}};function Aa(e,t,n,a,r,o,i,l,s){Ra=!1,Ca=null,$a.apply(La,arguments)}function Ia(){if(Ra){var e=Ca;return Ra=!1,Ca=null,e}throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Na(e){return e._reactInternals}var Fa=0,za=1,Da=2,Oa=4,Ha=16,Va=32,ja=64,Ba=128,Ua=256,Ga=512,qa=1024,Wa=2048,Ya=4096,Za=8192,Ka=16384,Xa=Wa|Oa|ja|Ga|qa|Ka,Qa=32767,Ja=32768,er=65536,tr=131072,nr=1048576,ar=2097152,rr=4194304,or=8388608,ir=16777216,lr=33554432,sr=Oa|qa|0,dr=Da|Oa|Ha|Va|Ga|Ya|Za,cr=Oa|ja|Ga|Za,ur=Wa|Ha,hr=rr|or|ar,pr=n.ReactCurrentOwner;function fr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var a=t;do{((t=a).flags&(Da|Ya))!==Fa&&(n=t.return),a=t.return}while(a)}return t.tag===c?n:null}function mr(e){if(e.tag===b){var t=e.memoizedState;if(null===t){var n=e.alternate;null!==n&&(t=n.memoizedState)}if(null!==t)return t.dehydrated}return null}function gr(e){return e.tag===c?e.stateNode.containerInfo:null}function yr(e){if(fr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function vr(e){var t=e.alternate;if(!t){var n=fr(e);if(null===n)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var a=e,r=t;;){var o=a.return;if(null===o)break;var i=o.alternate;if(null===i){var l=o.return;if(null!==l){a=r=l;continue}break}if(o.child===i.child){for(var s=o.child;s;){if(s===a)return yr(o),e;if(s===r)return yr(o),t;s=s.sibling}throw new Error("Unable to find node on an unmounted component.")}if(a.return!==r.return)a=o,r=i;else{for(var d=!1,u=o.child;u;){if(u===a){d=!0,a=o,r=i;break}if(u===r){d=!0,r=o,a=i;break}u=u.sibling}if(!d){for(u=i.child;u;){if(u===a){d=!0,a=i,r=o;break}if(u===r){d=!0,r=i,a=o;break}u=u.sibling}if(!d)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==r)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==c)throw new Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function _r(e){var t=vr(e);return null!==t?br(t):null}function br(e){if(e.tag===h||e.tag===p)return e;for(var t=e.child;null!==t;){var n=br(t);if(null!==n)return n;t=t.sibling}return null}function xr(e){var t=vr(e);return null!==t?kr(t):null}function kr(e){if(e.tag===h||e.tag===p)return e;for(var t=e.child;null!==t;){if(t.tag!==u){var n=kr(t);if(null!==n)return n}t=t.sibling}return null}var Er=t.unstable_scheduleCallback,Mr=t.unstable_cancelCallback,Sr=t.unstable_shouldYield,wr=t.unstable_requestPaint,$r=t.unstable_now,Rr=t.unstable_getCurrentPriorityLevel,Cr=t.unstable_ImmediatePriority,Pr=t.unstable_UserBlockingPriority,Tr=t.unstable_NormalPriority,Lr=t.unstable_LowPriority,Ar=t.unstable_IdlePriority,Ir=t.unstable_yieldValue,Nr=t.unstable_setDisableYieldValue,Fr=null,zr=null,Dr=null,Or=!1,Hr="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function Vr(e){if("function"==typeof Ir&&(Nr(e),a=e),zr&&"function"==typeof zr.setStrictMode)try{zr.setStrictMode(Fr,e)}catch(e){Or||(Or=!0,o("React instrumentation encountered an error: %s",e))}}function jr(e){Dr=e}function Br(){for(var e=new Map,t=1,n=0;n<co;n++){var a=Yo(t);e.set(t,a),t*=2}return e}function Ur(){null!==Dr&&"function"==typeof Dr.markCommitStopped&&Dr.markCommitStopped()}function Gr(e){null!==Dr&&"function"==typeof Dr.markComponentRenderStarted&&Dr.markComponentRenderStarted(e)}function qr(){null!==Dr&&"function"==typeof Dr.markComponentRenderStopped&&Dr.markComponentRenderStopped()}function Wr(e){null!==Dr&&"function"==typeof Dr.markComponentLayoutEffectMountStarted&&Dr.markComponentLayoutEffectMountStarted(e)}function Yr(e){null!==Dr&&"function"==typeof Dr.markComponentLayoutEffectUnmountStarted&&Dr.markComponentLayoutEffectUnmountStarted(e)}function Zr(){null!==Dr&&"function"==typeof Dr.markComponentLayoutEffectUnmountStopped&&Dr.markComponentLayoutEffectUnmountStopped()}function Kr(e,t,n){null!==Dr&&"function"==typeof Dr.markComponentErrored&&Dr.markComponentErrored(e,t,n)}function Xr(e,t,n){null!==Dr&&"function"==typeof Dr.markComponentSuspended&&Dr.markComponentSuspended(e,t,n)}function Qr(e){null!==Dr&&"function"==typeof Dr.markRenderStarted&&Dr.markRenderStarted(e)}function Jr(){null!==Dr&&"function"==typeof Dr.markRenderStopped&&Dr.markRenderStopped()}function eo(e,t){null!==Dr&&"function"==typeof Dr.markStateUpdateScheduled&&Dr.markStateUpdateScheduled(e,t)}var to=0,no=1,ao=2,ro=8,oo=16,io=Math.clz32?Math.clz32:function(e){var t=e>>>0;if(0===t)return 32;return 31-(lo(t)/so|0)|0},lo=Math.log,so=Math.LN2;var co=31,uo=0,ho=0,po=1,fo=2,mo=4,go=8,yo=16,vo=32,_o=4194240,bo=64,xo=128,ko=256,Eo=512,Mo=1024,So=2048,wo=4096,$o=8192,Ro=16384,Co=32768,Po=65536,To=131072,Lo=262144,Ao=524288,Io=1048576,No=2097152,Fo=130023424,zo=4194304,Do=8388608,Oo=16777216,Ho=33554432,Vo=67108864,jo=zo,Bo=134217728,Uo=268435455,Go=268435456,qo=536870912,Wo=1073741824;function Yo(e){return e&po?"Sync":e&fo?"InputContinuousHydration":e&mo?"InputContinuous":e&go?"DefaultHydration":e&yo?"Default":e&vo?"TransitionHydration":e&_o?"Transition":e&Fo?"Retry":e&Bo?"SelectiveHydration":e&Go?"IdleHydration":e&qo?"Idle":e&Wo?"Offscreen":void 0}var Zo=-1,Ko=bo,Xo=zo;function Qo(e){switch(li(e)){case po:return po;case fo:return fo;case mo:return mo;case go:return go;case yo:return yo;case vo:return vo;case bo:case xo:case ko:case Eo:case Mo:case So:case wo:case $o:case Ro:case Co:case Po:case To:case Lo:case Ao:case Io:case No:return e&_o;case zo:case Do:case Oo:case Ho:case Vo:return e&Fo;case Bo:return Bo;case Go:return Go;case qo:return qo;case Wo:return Wo;default:return o("Should have found matching lanes. This is a bug in React."),e}}function Jo(e,t){var n=e.pendingLanes;if(n===uo)return uo;var a=uo,r=e.suspendedLanes,o=e.pingedLanes,i=n&Uo;if(i!==uo){var l=i&~r;if(l!==uo)a=Qo(l);else{var s=i&o;s!==uo&&(a=Qo(s))}}else{var d=n&~r;d!==uo?a=Qo(d):o!==uo&&(a=Qo(o))}if(a===uo)return uo;if(t!==uo&&t!==a&&(t&r)===uo){var c=li(a),u=li(t);if(c>=u||c===yo&&(u&_o)!==uo)return t}(a&mo)!==uo&&(a|=n&yo);var h=e.entangledLanes;if(h!==uo)for(var p=e.entanglements,f=a&h;f>0;){var m=di(f),g=1<<m;a|=p[m],f&=~g}return a}function ei(e,t){switch(e){case po:case fo:case mo:return t+250;case go:case yo:case vo:case bo:case xo:case ko:case Eo:case Mo:case So:case wo:case $o:case Ro:case Co:case Po:case To:case Lo:case Ao:case Io:case No:return t+5e3;case zo:case Do:case Oo:case Ho:case Vo:case Bo:case Go:case qo:case Wo:return Zo;default:return o("Should have found matching lanes. This is a bug in React."),Zo}}function ti(e){var t=e.pendingLanes&~Wo;return t!==uo?t:t&Wo?Wo:uo}function ni(e){return(e&Uo)!==uo}function ai(e){return(e&Fo)===e}function ri(e,t){return(t&(fo|mo|go|yo))!==uo}function oi(e){return(e&_o)!==uo}function ii(){var e=Ko;return((Ko<<=1)&_o)===uo&&(Ko=bo),e}function li(e){return e&-e}function si(e){return li(e)}function di(e){return 31-io(e)}function ci(e){return di(e)}function ui(e,t){return(e&t)!==uo}function hi(e,t){return(e&t)===t}function pi(e,t){return e|t}function fi(e,t){return e&~t}function mi(e,t){return e&t}function gi(e){for(var t=[],n=0;n<co;n++)t.push(e);return t}function yi(e,t,n){e.pendingLanes|=t,t!==qo&&(e.suspendedLanes=uo,e.pingedLanes=uo),e.eventTimes[ci(t)]=n}function vi(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function _i(e,t){for(var n=e.entangledLanes|=t,a=e.entanglements,r=n;r;){var o=di(r),i=1<<o;i&t|a[o]&t&&(a[o]|=t),r&=~i}}function bi(e,t,n){if(Hr)for(var a=e.pendingUpdatersLaneMap;n>0;){var r=ci(n),o=1<<r;a[r].add(t),n&=~o}}function xi(e,t){if(Hr)for(var n=e.pendingUpdatersLaneMap,a=e.memoizedUpdaters;t>0;){var r=ci(t),o=1<<r,i=n[r];i.size>0&&(i.forEach((function(e){var t=e.alternate;null!==t&&a.has(t)||a.add(e)})),i.clear()),t&=~o}}var ki,Ei,Mi,Si,wi,$i=po,Ri=mo,Ci=yo,Pi=qo,Ti=ho;function Li(){return Ti}function Ai(e){Ti=e}function Ii(e,t){return 0!==e&&e<t}function Ni(e){var t=li(e);return Ii($i,t)?Ii(Ri,t)?ni(t)?Ci:Pi:Ri:$i}function Fi(e){return e.current.memoizedState.isDehydrated}function zi(e){ki(e)}var Di=!1,Oi=[],Hi=null,Vi=null,ji=null,Bi=new Map,Ui=new Map,Gi=[],qi=["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"];function Wi(e,t){switch(e){case"focusin":case"focusout":Hi=null;break;case"dragenter":case"dragleave":Vi=null;break;case"mouseover":case"mouseout":ji=null;break;case"pointerover":case"pointerout":var n=t.pointerId;Bi.delete(n);break;case"gotpointercapture":case"lostpointercapture":var a=t.pointerId;Ui.delete(a)}}function Yi(e,t,n,a,r,o){if(null===e||e.nativeEvent!==o){var i=function(e,t,n,a,r){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:r,targetContainers:[a]}}(t,n,a,r,o);if(null!==t){var l=Bc(t);null!==l&&Ei(l)}return i}e.eventSystemFlags|=a;var s=e.targetContainers;return null!==r&&-1===s.indexOf(r)&&s.push(r),e}function Zi(e){var t=jc(e.target);if(null!==t){var n=fr(t);if(null!==n){var a=n.tag;if(a===b){var r=mr(n);if(null!==r)return e.blockedOn=r,void wi(e.priority,(function(){Mi(n)}))}else if(a===c){if(Fi(n.stateNode))return void(e.blockedOn=gr(n))}}}e.blockedOn=null}function Ki(e){if(null!==e.blockedOn)return!1;for(var t,n=e.targetContainers;n.length>0;){var a=n[0],r=sl(e.domEventName,e.eventSystemFlags,a,e.nativeEvent);if(null!==r){var i=Bc(r);return null!==i&&Ei(i),e.blockedOn=r,!1}var l=e.nativeEvent,s=new l.constructor(l.type,l);t=s,null!==sa&&o("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),sa=t,l.target.dispatchEvent(s),null===sa&&o("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),sa=null,n.shift()}return!0}function Xi(e,t,n){Ki(e)&&n.delete(t)}function Qi(){Di=!1,null!==Hi&&Ki(Hi)&&(Hi=null),null!==Vi&&Ki(Vi)&&(Vi=null),null!==ji&&Ki(ji)&&(ji=null),Bi.forEach(Xi),Ui.forEach(Xi)}function Ji(e,n){e.blockedOn===n&&(e.blockedOn=null,Di||(Di=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Qi)))}function el(e){if(Oi.length>0){Ji(Oi[0],e);for(var t=1;t<Oi.length;t++){var n=Oi[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==Hi&&Ji(Hi,e),null!==Vi&&Ji(Vi,e),null!==ji&&Ji(ji,e);var a=function(t){return Ji(t,e)};Bi.forEach(a),Ui.forEach(a);for(var r=0;r<Gi.length;r++){var o=Gi[r];o.blockedOn===e&&(o.blockedOn=null)}for(;Gi.length>0;){var i=Gi[0];if(null!==i.blockedOn)break;Zi(i),null===i.blockedOn&&Gi.shift()}}var tl=n.ReactCurrentBatchConfig,nl=!0;function al(e){nl=!!e}function rl(e,t,n,a){var r=Li(),o=tl.transition;tl.transition=null;try{Ai($i),il(e,t,n,a)}finally{Ai(r),tl.transition=o}}function ol(e,t,n,a){var r=Li(),o=tl.transition;tl.transition=null;try{Ai(Ri),il(e,t,n,a)}finally{Ai(r),tl.transition=o}}function il(e,t,n,a){nl&&function(e,t,n,a){var r=sl(e,t,n,a);if(null===r)return fd(e,t,a,ll,n),void Wi(e,a);if(function(e,t,n,a,r){switch(t){case"focusin":return Hi=Yi(Hi,e,t,n,a,r),!0;case"dragenter":return Vi=Yi(Vi,e,t,n,a,r),!0;case"mouseover":return ji=Yi(ji,e,t,n,a,r),!0;case"pointerover":var o=r,i=o.pointerId;return Bi.set(i,Yi(Bi.get(i)||null,e,t,n,a,o)),!0;case"gotpointercapture":var l=r,s=l.pointerId;return Ui.set(s,Yi(Ui.get(s)||null,e,t,n,a,l)),!0}return!1}(r,e,t,n,a))return void a.stopPropagation();if(Wi(e,a),t&ia&&function(e){return qi.indexOf(e)>-1}(e)){for(;null!==r;){var o=Bc(r);null!==o&&zi(o);var i=sl(e,t,n,a);if(null===i&&fd(e,t,a,ll,n),i===r)break;r=i}return void(null!==r&&a.stopPropagation())}fd(e,t,a,null,n)}(e,t,n,a)}var ll=null;function sl(e,t,n,a){ll=null;var r=jc(da(a));if(null!==r){var o=fr(r);if(null===o)r=null;else{var i=o.tag;if(i===b){var l=mr(o);if(null!==l)return l;r=null}else if(i===c){if(Fi(o.stateNode))return gr(o);r=null}else o!==r&&(r=null)}}return ll=r,null}function dl(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 $i;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 Ri;case"message":switch(Rr()){case Cr:return $i;case Pr:return Ri;case Tr:case Lr:return Ci;case Ar:return Pi;default:return Ci}default:return Ci}}var cl=null,ul=null,hl=null;function pl(){if(hl)return hl;var e,t,n=ul,a=n.length,r=fl(),o=r.length;for(e=0;e<a&&n[e]===r[e];e++);var i=a-e;for(t=1;t<=i&&n[a-t]===r[o-t];t++);var l=t>1?1-t:void 0;return hl=r.slice(e,l)}function fl(){return"value"in cl?cl.value:cl.textContent}function ml(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}function gl(){return!0}function yl(){return!1}function vl(e){function t(t,n,a,r,o){for(var i in this._reactName=t,this._targetInst=a,this.type=n,this.nativeEvent=r,this.target=o,this.currentTarget=null,e)if(e.hasOwnProperty(i)){var l=e[i];this[i]=l?l(r):r[i]}var s=null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue;return this.isDefaultPrevented=s?gl:yl,this.isPropagationStopped=yl,this}return Ze(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=gl)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=gl)},persist:function(){},isPersistent:gl}),t}var _l,bl,xl,kl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},El=vl(kl),Ml=Ze({},kl,{view:0,detail:0}),Sl=vl(Ml);var wl=Ze({},Ml,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dl,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:(function(e){e!==xl&&(xl&&"mousemove"===e.type?(_l=e.screenX-xl.screenX,bl=e.screenY-xl.screenY):(_l=0,bl=0),xl=e)}(e),_l)},movementY:function(e){return"movementY"in e?e.movementY:bl}}),$l=vl(wl),Rl=vl(Ze({},wl,{dataTransfer:0})),Cl=vl(Ze({},Ml,{relatedTarget:0})),Pl=vl(Ze({},kl,{animationName:0,elapsedTime:0,pseudoElement:0})),Tl=vl(Ze({},kl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Ll=vl(Ze({},kl,{data:0})),Al=Ll,Il={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nl={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"};var Fl={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zl(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Fl[e];return!!n&&!!t[n]}function Dl(e){return zl}var Ol=vl(Ze({},Ml,{key:function(e){if(e.key){var t=Il[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=ml(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?Nl[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dl,charCode:function(e){return"keypress"===e.type?ml(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ml(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Hl=vl(Ze({},wl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Vl=vl(Ze({},Ml,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dl})),jl=vl(Ze({},kl,{propertyName:0,elapsedTime:0,pseudoElement:0})),Bl=vl(Ze({},wl,{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})),Ul=[9,13,27,32],Gl=229,ql=Y&&"CompositionEvent"in window,Wl=null;Y&&"documentMode"in document&&(Wl=document.documentMode);var Yl=Y&&"TextEvent"in window&&!Wl,Zl=Y&&(!ql||Wl&&Wl>8&&Wl<=11),Kl=32,Xl=String.fromCharCode(Kl);var Ql=!1;function Jl(e,t){switch(e){case"keyup":return-1!==Ul.indexOf(t.keyCode);case"keydown":return t.keyCode!==Gl;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function es(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function ts(e){return"ko"===e.locale}var ns=!1;function as(e,t,n,a,r){var o,i;if(ql?o=function(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}(t):ns?Jl(t,a)&&(o="onCompositionEnd"):function(e,t){return"keydown"===e&&t.keyCode===Gl}(t,a)&&(o="onCompositionStart"),!o)return null;Zl&&!ts(a)&&(ns||"onCompositionStart"!==o?"onCompositionEnd"===o&&ns&&(i=pl()):ns=function(e){return cl=e,ul=fl(),!0}(r));var l=gd(n,o);if(l.length>0){var s=new Ll(o,t,null,a,r);if(e.push({event:s,listeners:l}),i)s.data=i;else{var d=es(a);null!==d&&(s.data=d)}}}function rs(e,t){if(ns){if("compositionend"===e||!ql&&Jl(e,t)){var n=pl();return cl=null,ul=null,hl=null,ns=!1,n}return null}switch(e){case"paste":default:return null;case"keypress":if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Zl&&!ts(t)?null:t.data}}function os(e,t,n,a,r){var o;if(!(o=Yl?function(e,t){switch(e){case"compositionend":return es(t);case"keypress":return t.which!==Kl?null:(Ql=!0,Xl);case"textInput":var n=t.data;return n===Xl&&Ql?null:n;default:return null}}(t,a):rs(t,a)))return null;var i=gd(n,"onBeforeInput");if(i.length>0){var l=new Al("onBeforeInput","beforeinput",null,a,r);e.push({event:l,listeners:i}),l.data=o}}var is={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 ls(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!is[e.type]:"textarea"===t}
572
565
  /**
573
566
  * Checks if an event is supported in the current execution environment.
574
567
  *
@@ -581,7 +574,7 @@ var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__p
581
574
  * @return {boolean} True if the event is supported.
582
575
  * @internal
583
576
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
584
- */function ss(e,t,n,a){fa(a);var r=gd(t,"onChange");if(r.length>0){var o=new El("onChange","change",null,n,a);e.push({event:o,listeners:r})}}var ds=null,cs=null;function us(e){ld(e,0)}function hs(e){if(Rt(Uc(e)))return e}function ps(e,t){if("change"===e)return t}var fs=!1;function ms(){ds&&(ds.detachEvent("onpropertychange",gs),ds=null,cs=null)}function gs(e){"value"===e.propertyName&&hs(cs)&&function(e){var t=[];ss(t,cs,e,da(e)),ba(us,t)}(e)}function ys(e,t,n){"focusin"===e?(ms(),function(e,t){cs=t,(ds=e).attachEvent("onpropertychange",gs)}(t,n)):"focusout"===e&&ms()}function vs(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return hs(cs)}function _s(e,t){if("click"===e)return hs(t)}function bs(e,t){if("input"===e||"change"===e)return hs(t)}function xs(e,t,n,a,r,o,i){var l,s,d,c,u,h,p=n?Uc(n):window;if("select"===(c=(d=p).nodeName&&d.nodeName.toLowerCase())||"input"===c&&"file"===d.type?l=ps:ls(p)?fs?l=bs:(l=vs,s=ys):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(p)&&(l=_s),l){var f=l(t,n);if(f)return void ss(e,f,a,r)}s&&s(t,p,n),"focusout"===t&&(h=(u=p)._wrapperState)&&h.controlled&&"number"===u.type&&Vt(u,"number",u.value)}function ks(e,t,n,a,r,o,i){var l="mouseover"===t||"pointerover"===t,s="mouseout"===t||"pointerout"===t;if(l&&a!==sa){var d=a.relatedTarget||a.fromElement;if(d&&(jc(d)||Vc(d)))return}if(s||l){var c,u,f;if(r.window===r)c=r;else{var m=r.ownerDocument;c=m?m.defaultView||m.parentWindow:window}if(s){var g=a.relatedTarget||a.toElement;if(u=n,null!==(f=g?jc(g):null))(f!==fr(f)||f.tag!==h&&f.tag!==p)&&(f=null)}else u=null,f=n;if(u!==f){var y=$l,v="onMouseLeave",_="onMouseEnter",b="mouse";"pointerout"!==t&&"pointerover"!==t||(y=Hl,v="onPointerLeave",_="onPointerEnter",b="pointer");var x=null==u?c:Uc(u),k=null==f?c:Uc(f),E=new y(v,b+"leave",u,a,r);E.target=x,E.relatedTarget=k;var M=null;if(jc(r)===n){var S=new y(_,b+"enter",f,a,r);S.target=k,S.relatedTarget=x,M=S}!function(e,t,n,a,r){var o=a&&r?function(e,t){for(var n=e,a=t,r=0,o=n;o;o=yd(o))r++;for(var i=0,l=a;l;l=yd(l))i++;for(;r-i>0;)n=yd(n),r--;for(;i-r>0;)a=yd(a),i--;var s=r;for(;s--;){if(n===a||null!==a&&n===a.alternate)return n;n=yd(n),a=yd(a)}return null}(a,r):null;null!==a&&vd(e,t,a,o,!1);null!==r&&null!==n&&vd(e,n,r,o,!0)}(e,E,M,u,f)}}}Y&&(fs=function(e){if(!Y)return!1;var t="on"+e,n=t in document;if(!n){var a=document.createElement("div");a.setAttribute(t,"return;"),n="function"==typeof a[t]}return n}("input")&&(!document.documentMode||document.documentMode>9));var Es="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Ms(e,t){if(Es(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var r=0;r<n.length;r++){var o=n[r];if(!Z.call(t,o)||!Es(e[o],t[o]))return!1}return!0}function Ss(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ws(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function $s(e,t){for(var n=Ss(e),a=0,r=0;n;){if(n.nodeType===mn){if(r=a+n.textContent.length,a<=t&&r>=t)return{node:n,offset:t-a};a=r}n=Ss(ws(n))}}function Rs(e){var t=e.ownerDocument,n=t&&t.defaultView||window,a=n.getSelection&&n.getSelection();if(!a||0===a.rangeCount)return null;var r=a.anchorNode,o=a.anchorOffset,i=a.focusNode,l=a.focusOffset;try{r.nodeType,i.nodeType}catch(e){return null}return function(e,t,n,a,r){var o=0,i=-1,l=-1,s=0,d=0,c=e,u=null;e:for(;;){for(var h=null;c!==t||0!==n&&c.nodeType!==mn||(i=o+n),c!==a||0!==r&&c.nodeType!==mn||(l=o+r),c.nodeType===mn&&(o+=c.nodeValue.length),null!==(h=c.firstChild);)u=c,c=h;for(;;){if(c===e)break e;if(u===t&&++s===n&&(i=o),u===a&&++d===r&&(l=o),null!==(h=c.nextSibling))break;u=(c=u).parentNode}c=h}if(-1===i||-1===l)return null;return{start:i,end:l}}(e,r,o,i,l)}function Cs(e){return e&&e.nodeType===mn}function Ps(e,t){return!(!e||!t)&&(e===t||!Cs(e)&&(Cs(t)?Ps(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ts(e){return e&&e.ownerDocument&&Ps(e.ownerDocument.documentElement,e)}function Ls(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}function As(){for(var e=window,t=Ct();t instanceof e.HTMLIFrameElement;){if(!Ls(t))return t;t=Ct((e=t.contentWindow).document)}return t}function Is(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 Ns(e){var t=As(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&Ts(n)){null!==a&&Is(n)&&function(e,t){var n=t.start,a=t.end;void 0===a&&(a=n);"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(a,e.value.length)):function(e,t){var n=e.ownerDocument||document,a=n&&n.defaultView||window;if(a.getSelection){var r=a.getSelection(),o=e.textContent.length,i=Math.min(t.start,o),l=void 0===t.end?i:Math.min(t.end,o);if(!r.extend&&i>l){var s=l;l=i,i=s}var d=$s(e,i),c=$s(e,l);if(d&&c){if(1===r.rangeCount&&r.anchorNode===d.node&&r.anchorOffset===d.offset&&r.focusNode===c.node&&r.focusOffset===c.offset)return;var u=n.createRange();u.setStart(d.node,d.offset),r.removeAllRanges(),i>l?(r.addRange(u),r.extend(c.node,c.offset)):(u.setEnd(c.node,c.offset),r.addRange(u))}}}(e,t)}(n,a);for(var r=[],o=n;o=o.parentNode;)o.nodeType===fn&&r.push({element:o,left:o.scrollLeft,top:o.scrollTop});"function"==typeof n.focus&&n.focus();for(var i=0;i<r.length;i++){var l=r[i];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}function Fs(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:Rs(e))||{start:0,end:0}}var zs=Y&&"documentMode"in document&&document.documentMode<=11;var Ds=null,Os=null,Hs=null,Vs=!1;function js(e,t,n){var a,r=(a=n).window===a?a.document:a.nodeType===yn?a:a.ownerDocument;if(!Vs&&null!=Ds&&Ds===Ct(r)){var o=function(e){if("selectionStart"in e&&Is(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(Ds);if(!Hs||!Ms(Hs,o)){Hs=o;var i=gd(Os,"onSelect");if(i.length>0){var l=new El("onSelect","select",null,t,n);e.push({event:l,listeners:i}),l.target=Ds}}}}function Bs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Us={animationend:Bs("Animation","AnimationEnd"),animationiteration:Bs("Animation","AnimationIteration"),animationstart:Bs("Animation","AnimationStart"),transitionend:Bs("Transition","TransitionEnd")},Gs={},Ws={};function qs(e){if(Gs[e])return Gs[e];if(!Us[e])return e;var t=Us[e];for(var n in t)if(t.hasOwnProperty(n)&&n in Ws)return Gs[e]=t[n];return e}Y&&(Ws=document.createElement("div").style,"AnimationEvent"in window||(delete Us.animationend.animation,delete Us.animationiteration.animation,delete Us.animationstart.animation),"TransitionEvent"in window||delete Us.transitionend.transition);var Ys=qs("animationend"),Zs=qs("animationiteration"),Ks=qs("animationstart"),Xs=qs("transitionend"),Qs=new Map,Js=["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"];function ed(e,t){Qs.set(e,t),W(t,[e])}function td(e,t,n,a,r,o,i){var l=Qs.get(t);if(void 0!==l){var s=El,d=t;switch(t){case"keypress":if(0===ml(a))return;case"keydown":case"keyup":s=Ol;break;case"focusin":d="focus",s=Cl;break;case"focusout":d="blur",s=Cl;break;case"beforeblur":case"afterblur":s=Cl;break;case"click":if(2===a.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=$l;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Rl;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Vl;break;case Ys:case Zs:case Ks:s=Pl;break;case Xs:s=jl;break;case"scroll":s=Sl;break;case"wheel":s=Bl;break;case"copy":case"cut":case"paste":s=Tl;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Hl}var c=0!=(o&ia),u=!c&&"scroll"===t,p=function(e,t,n,a,r,o){var i=null!==t?t+"Capture":null,l=a?i:t,s=[],d=e,c=null;for(;null!==d;){var u=d,p=u.stateNode;if(u.tag===h&&null!==p&&(c=p,null!==l)){var f=xa(d,l);null!=f&&s.push(md(d,f,c))}if(r)break;d=d.return}return s}(n,l,a.type,c,u);if(p.length>0){var f=new s(l,d,null,a,r);e.push({event:f,listeners:p})}}}function nd(e,t,n,a,r,o,i){td(e,t,n,a,r,o),0==(o&la)&&(ks(e,t,n,a,r),xs(e,t,n,a,r),function(e,t,n,a,r,o,i){var l=n?Uc(n):window;switch(t){case"focusin":(ls(l)||"true"===l.contentEditable)&&(Ds=l,Os=n,Hs=null);break;case"focusout":Ds=null,Os=null,Hs=null;break;case"mousedown":Vs=!0;break;case"contextmenu":case"mouseup":case"dragend":Vs=!1,js(e,a,r);break;case"selectionchange":if(zs)break;case"keydown":case"keyup":js(e,a,r)}}(e,t,n,a,r),function(e,t,n,a,r,o,i){as(e,t,n,a,r),os(e,t,n,a,r)}(e,t,n,a,r))}!function(){for(var e=0;e<Js.length;e++){var t=Js[e];ed(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}ed(Ys,"onAnimationEnd"),ed(Zs,"onAnimationIteration"),ed(Ks,"onAnimationStart"),ed("dblclick","onDoubleClick"),ed("focusin","onFocus"),ed("focusout","onBlur"),ed(Xs,"onTransitionEnd")}(),q("onMouseEnter",["mouseout","mouseover"]),q("onMouseLeave",["mouseout","mouseover"]),q("onPointerEnter",["pointerout","pointerover"]),q("onPointerLeave",["pointerout","pointerover"]),W("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),W("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),W("onBeforeInput",["compositionend","keypress","textInput","paste"]),W("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),W("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),W("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var ad=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],rd=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(ad));function od(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,a,r,o,i,l,s){if(Aa.apply(this,arguments),Ra){var d=Ia();Pa||(Pa=!0,Ta=d)}}(a,t,void 0,e),e.currentTarget=null}function id(e,t,n){var a;if(n)for(var r=t.length-1;r>=0;r--){var o=t[r],i=o.instance,l=o.currentTarget,s=o.listener;if(i!==a&&e.isPropagationStopped())return;od(e,s,l),a=i}else for(var d=0;d<t.length;d++){var c=t[d],u=c.instance,h=c.currentTarget,p=c.listener;if(u!==a&&e.isPropagationStopped())return;od(e,p,h),a=u}}function ld(e,t){for(var n=0!=(t&ia),a=0;a<e.length;a++){var r=e[a];id(r.event,r.listeners,n)}!function(){if(Pa){var e=Ta;throw Pa=!1,Ta=null,e}}()}function sd(e,t){rd.has(e)||o('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=function(e){var t=e[Nc];void 0===t&&(t=e[Nc]=new Set);return t}(t),a=function(e,t){return e+"__"+(t?"capture":"bubble")}(e,false);n.has(a)||(hd(t,e,oa,false),n.add(a))}function dd(e,t,n){rd.has(e)&&!t&&o('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=ia),hd(n,e,a,t)}var cd="_reactListening"+Math.random().toString(36).slice(2);function ud(e){if(!e[cd]){e[cd]=!0,B.forEach((function(t){"selectionchange"!==t&&(rd.has(t)||dd(t,!1,e),dd(t,!0,e))}));var t=e.nodeType===yn?e:e.ownerDocument;null!==t&&(t[cd]||(t[cd]=!0,dd("selectionchange",!1,t)))}}function hd(e,t,n,a,r){var o=function(e,t,n){var a;switch(dl(t)){case $i:a=rl;break;case Ri:a=ol;break;default:a=il}return a.bind(null,t,n,e)}(e,t,n),i=void 0;ka&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0)),a?void 0!==i?function(e,t,n,a){e.addEventListener(t,n,{capture:!0,passive:a})}(e,t,o,i):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,o):void 0!==i?function(e,t,n,a){e.addEventListener(t,n,{passive:a})}(e,t,o,i):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,o)}function pd(e,t){return e===t||e.nodeType===gn&&e.parentNode===t}function fd(e,t,n,a,r){var o=a;if(0==(t&ra)&&0==(t&oa)){var i=r;if(null!==a){var l=a;e:for(;;){if(null===l)return;var s=l.tag;if(s===c||s===u){var d=l.stateNode.containerInfo;if(pd(d,i))break;if(s===u)for(var f=l.return;null!==f;){var m=f.tag;if(m===c||m===u)if(pd(f.stateNode.containerInfo,i))return;f=f.return}for(;null!==d;){var g=jc(d);if(null===g)return;var y=g.tag;if(y===h||y===p){l=o=g;continue e}d=d.parentNode}}l=l.return}}}ba((function(){return function(e,t,n,a,r){var o=[];nd(o,e,a,n,da(n),t),ld(o,t)}(e,t,n,o)}))}function md(e,t,n){return{instance:e,listener:t,currentTarget:n}}function gd(e,t){for(var n=t+"Capture",a=[],r=e;null!==r;){var o=r,i=o.stateNode;if(o.tag===h&&null!==i){var l=i,s=xa(r,n);null!=s&&a.unshift(md(r,s,l));var d=xa(r,t);null!=d&&a.push(md(r,d,l))}r=r.return}return a}function yd(e){if(null===e)return null;do{e=e.return}while(e&&e.tag!==h);return e||null}function vd(e,t,n,a,r){for(var o=t._reactName,i=[],l=n;null!==l&&l!==a;){var s=l,d=s.alternate,c=s.stateNode,u=s.tag;if(null!==d&&d===a)break;if(u===h&&null!==c){var p=c;if(r){var f=xa(l,o);null!=f&&i.unshift(md(l,f,p))}else if(!r){var m=xa(l,o);null!=m&&i.push(md(l,m,p))}}l=l.return}0!==i.length&&e.push({event:t,listeners:i})}var _d,bd,xd,kd,Ed,Md,Sd,wd=!1,$d="dangerouslySetInnerHTML",Rd="suppressContentEditableWarning",Cd="suppressHydrationWarning",Pd="autoFocus",Td="children",Ld="style",Ad="__html";_d={dialog:!0,webview:!0},bd=function(e,t){Zn(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||Kn||(Kn=!0,"select"===e&&t.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),aa(e,t,{registrationNameDependencies:U,possibleRegistrationNames:G})},Md=Y&&!document.documentMode,xd=function(e,t,n){if(!wd){var a=Fd(n),r=Fd(t);r!==a&&(wd=!0,o("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(r),JSON.stringify(a)))}},kd=function(e){if(!wd){wd=!0;var t=[];e.forEach((function(e){t.push(e)})),o("Extra attributes from the server: %s",t)}},Ed=function(e,t){!1===t?o("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):o("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Sd=function(e,t){var n=e.namespaceURI===on?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Id=/\r\n?/g,Nd=/\u0000|\uFFFD/g;function Fd(e){return function(e){if(X(e))o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",K(e)),Q(e)}(e),("string"==typeof e?e:""+e).replace(Id,"\n").replace(Nd,"")}function zd(e,t,n,a){var r=Fd(t),i=Fd(e);if(i!==r&&(a&&(wd||(wd=!0,o('Text content did not match. Server: "%s" Client: "%s"',i,r))),n&&L))throw new Error("Text content does not match server-rendered HTML.")}function Dd(e){return e.nodeType===yn?e:e.ownerDocument}function Od(){}function Hd(e){e.onclick=Od}function Vd(e,t,n,a){var r,o=jn(t,n);switch(bd(t,n),t){case"dialog":sd("cancel",e),sd("close",e),r=n;break;case"iframe":case"object":case"embed":sd("load",e),r=n;break;case"video":case"audio":for(var i=0;i<ad.length;i++)sd(ad[i],e);r=n;break;case"source":sd("error",e),r=n;break;case"img":case"image":case"link":sd("error",e),sd("load",e),r=n;break;case"details":sd("toggle",e),r=n;break;case"input":Ft(e,n),r=Nt(e,n),sd("invalid",e);break;case"option":Gt(0,n),r=n;break;case"select":Jt(e,n),r=Qt(0,n),sd("invalid",e);break;case"textarea":nn(e,n),r=tn(e,n),sd("invalid",e);break;default:r=n}switch(Vn(t,r),function(e,t,n,a,r){for(var o in a)if(a.hasOwnProperty(o)){var i=a[o];if(o===Ld)i&&Object.freeze(i),zn(t,i);else if(o===$d){var l=i?i[Ad]:void 0;null!=l&&pn(t,l)}else o===Td?"string"==typeof i?("textarea"!==e||""!==i)&&_n(t,i):"number"==typeof i&&_n(t,""+i):o===Rd||o===Cd||o===Pd||(U.hasOwnProperty(o)?null!=i&&("function"!=typeof i&&Ed(o,i),"onScroll"===o&&sd("scroll",t)):null!=i&&Se(t,o,i,r))}}(t,e,0,r,o),t){case"input":$t(e),Ot(e,n,!1);break;case"textarea":$t(e),rn(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",xt(kt(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var a=t.value;null!=a?Xt(n,!!t.multiple,a,!1):null!=t.defaultValue&&Xt(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof r.onClick&&Hd(e)}}function jd(e,t,n,a,r){bd(t,a);var i,l,s,d,c=null;switch(t){case"input":i=Nt(e,n),l=Nt(e,a),c=[];break;case"select":i=Qt(0,n),l=Qt(0,a),c=[];break;case"textarea":i=tn(e,n),l=tn(e,a),c=[];break;default:l=a,"function"!=typeof(i=n).onClick&&"function"==typeof l.onClick&&Hd(e)}Vn(t,l);var u=null;for(s in i)if(!l.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if(s===Ld){var h=i[s];for(d in h)h.hasOwnProperty(d)&&(u||(u={}),u[d]="")}else s===$d||s===Td||s===Rd||s===Cd||s===Pd||(U.hasOwnProperty(s)?c||(c=[]):(c=c||[]).push(s,null));for(s in l){var p=l[s],f=null!=i?i[s]:void 0;if(l.hasOwnProperty(s)&&p!==f&&(null!=p||null!=f))if(s===Ld)if(p&&Object.freeze(p),f){for(d in f)!f.hasOwnProperty(d)||p&&p.hasOwnProperty(d)||(u||(u={}),u[d]="");for(d in p)p.hasOwnProperty(d)&&f[d]!==p[d]&&(u||(u={}),u[d]=p[d])}else u||(c||(c=[]),c.push(s,u)),u=p;else if(s===$d){var m=p?p[Ad]:void 0,g=f?f[Ad]:void 0;null!=m&&g!==m&&(c=c||[]).push(s,m)}else s===Td?"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(s,""+p):s===Rd||s===Cd||(U.hasOwnProperty(s)?(null!=p&&("function"!=typeof p&&Ed(s,p),"onScroll"===s&&sd("scroll",e)),c||f===p||(c=[])):(c=c||[]).push(s,p))}return u&&(!function(e,t){if(t){var n,a=Dn(e),r=Dn(t),i={};for(var l in a){var s=a[l],d=r[l];if(d&&s!==d){var c=s+","+d;if(i[c])continue;i[c]=!0,o("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(n=e[s])||"boolean"==typeof n||""===n?"Removing":"Updating",s,d)}}}}(u,l[Ld]),(c=c||[]).push(Ld,u)),c}function Bd(e,t,n,a,r){"input"===n&&"radio"===r.type&&null!=r.name&&zt(e,r);jn(n,a);switch(function(e,t,n,a){for(var r=0;r<t.length;r+=2){var o=t[r],i=t[r+1];o===Ld?zn(e,i):o===$d?pn(e,i):o===Td?_n(e,i):Se(e,o,i,a)}}(e,t,0,jn(n,r)),n){case"input":Dt(e,r);break;case"textarea":an(e,r);break;case"select":!function(e,t){var n=e,a=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var r=t.value;null!=r?Xt(n,!!t.multiple,r,!1):a!==!!t.multiple&&(null!=t.defaultValue?Xt(n,!!t.multiple,t.defaultValue,!0):Xt(n,!!t.multiple,t.multiple?[]:"",!1))}(e,r)}}function Ud(e,t){wd||(wd=!0,o("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Gd(e,t){wd||(wd=!0,o('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function Wd(e,t,n){wd||(wd=!0,o("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function qd(e,t){""!==t&&(wd||(wd=!0,o('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}var Yd=function(){},Zd=function(){},Kd=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Xd=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Qd=Xd.concat(["button"]),Jd=["dd","dt","li","option","optgroup","p","rp","rt"],ec={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Zd=function(e,t){var n=Ze({},e||ec),a={tag:t};return-1!==Xd.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==Qd.indexOf(t)&&(n.pTagInButtonScope=null),-1!==Kd.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=a,"form"===t&&(n.formTag=a),"a"===t&&(n.aTagInScope=a),"button"===t&&(n.buttonTagInScope=a),"nobr"===t&&(n.nobrTagInScope=a),"p"===t&&(n.pTagInButtonScope=a),"li"===t&&(n.listItemTagAutoclosing=a),"dd"!==t&&"dt"!==t||(n.dlItemTagAutoclosing=a),n};var tc={};Yd=function(e,t,n){var a=(n=n||ec).current,r=a&&a.tag;null!=t&&(null!=e&&o("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===Jd.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,r)?null:a,l=i?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),s=i||l;if(s){var d=s.tag,c=!!i+"|"+e+"|"+d;if(!tc[c]){tc[c]=!0;var u=e,h="";if("#text"===e?/\S/.test(t)?u="Text nodes":(u="Whitespace text nodes",h=" Make sure you don't have any extra whitespace between tags on each line of your source code."):u="<"+e+">",i){var p="";"table"===d&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),o("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",u,d,h,p)}else o("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",u,d)}}};var nc="suppressHydrationWarning",ac="$",rc="/$",oc="$?",ic="$!",lc="style",sc=null,dc=null;function cc(e){var t;sc=nl,t=As(),dc={focusedElem:t,selectionRange:Is(t)?Fs(t):null};return al(!1),null}function uc(e,t,n,a,r){var i=a;if(Yd(e,null,i.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var l=""+t.children,s=Zd(i.ancestorInfo,e);Yd(null,l,s)}var d=function(e,t,n,a){var r,i,l=Dd(n),s=a;if(s===on&&(s=dn(e)),s===on){if((r=jn(e,t))||e===e.toLowerCase()||o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var d=l.createElement("div");d.innerHTML="<script><\/script>";var c=d.firstChild;i=d.removeChild(c)}else if("string"==typeof t.is)i=l.createElement(e,{is:t.is});else if(i=l.createElement(e),"select"===e){var u=i;t.multiple?u.multiple=!0:t.size&&(u.size=t.size)}}else i=l.createElementNS(s,e);return s===on&&(r||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(i)||Z.call(_d,e)||(_d[e]=!0,o("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),i}(e,t,n,i.namespace);return Dc(r,d),Wc(d,t),d}function hc(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}function pc(e,t,n,a){Yd(null,e,n.ancestorInfo);var r=function(e,t){return Dd(t).createTextNode(e)}(e,t);return Dc(a,r),r}var fc="function"==typeof setTimeout?setTimeout:void 0,mc="function"==typeof clearTimeout?clearTimeout:void 0,gc=-1,yc="function"==typeof Promise?Promise:void 0,vc="function"==typeof queueMicrotask?queueMicrotask:void 0!==yc?function(e){return yc.resolve(null).then(e).catch(_c)}:fc;function _c(e){setTimeout((function(){throw e}))}function bc(e){_n(e,"")}function xc(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===gn){var o=r.data;if(o===rc){if(0===a)return e.removeChild(r),void el(t);a--}else o!==ac&&o!==oc&&o!==ic||a++}n=r}while(n);el(t)}function kc(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function Ec(e,t){var n=t[lc],a=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=En("display",a)}function Mc(e,t){e.nodeValue=t}function Sc(e){return e.data===oc}function wc(e){return e.data===ic}function $c(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(t===fn||t===mn)break;if(t===gn){var n=e.data;if(n===ac||n===ic||n===oc)break;if(n===rc)return null}}return e}function Rc(e){return $c(e.nextSibling)}function Cc(e,t,n,a,r,o,i){return Dc(o,e),Wc(e,n),function(e,t,n,a,r,o,i){var l,s;switch(l=jn(t,n),bd(t,n),t){case"dialog":sd("cancel",e),sd("close",e);break;case"iframe":case"object":case"embed":sd("load",e);break;case"video":case"audio":for(var d=0;d<ad.length;d++)sd(ad[d],e);break;case"source":sd("error",e);break;case"img":case"image":case"link":sd("error",e),sd("load",e);break;case"details":sd("toggle",e);break;case"input":Ft(e,n),sd("invalid",e);break;case"option":Gt(0,n);break;case"select":Jt(e,n),sd("invalid",e);break;case"textarea":nn(e,n),sd("invalid",e)}Vn(t,n),s=new Set;for(var c=e.attributes,u=0;u<c.length;u++)switch(c[u].name.toLowerCase()){case"value":case"checked":case"selected":break;default:s.add(c[u].name)}var h,p=null;for(var f in n)if(n.hasOwnProperty(f)){var m=n[f];if(f===Td)"string"==typeof m?e.textContent!==m&&(!0!==n[Cd]&&zd(e.textContent,m,o,i),p=[Td,m]):"number"==typeof m&&e.textContent!==""+m&&(!0!==n[Cd]&&zd(e.textContent,m,o,i),p=[Td,""+m]);else if(U.hasOwnProperty(f))null!=m&&("function"!=typeof m&&Ed(f,m),"onScroll"===f&&sd("scroll",e));else if(i&&"boolean"==typeof l){var g=void 0,y=l&&D?null:me(f);if(!0===n[Cd]);else if(f===Rd||f===Cd||"value"===f||"checked"===f||"selected"===f);else if(f===$d){var v=e.innerHTML,_=m?m[Ad]:void 0;if(null!=_){var b=Sd(e,_);b!==v&&xd(f,v,b)}}else if(f===Ld){if(s.delete(f),Md){var x=Fn(m);x!==(g=e.getAttribute("style"))&&xd(f,g,x)}}else if(l&&!D)s.delete(f.toLowerCase()),m!==(g=Me(e,f,m))&&xd(f,g,m);else if(!he(f,y,l)&&!fe(f,m,y,l)){var k=!1;if(null!==y)s.delete(y.attributeName),g=Ee(e,f,m,y);else{var E=a;if(E===on&&(E=dn(t)),E===on)s.delete(f.toLowerCase());else{var M=(h=void 0,h=f.toLowerCase(),Bn.hasOwnProperty(h)&&Bn[h]||null);null!==M&&M!==f&&(k=!0,s.delete(M)),s.delete(f)}g=Me(e,f,m)}D||m===g||k||xd(f,g,m)}}}switch(i&&s.size>0&&!0!==n[Cd]&&kd(s),t){case"input":$t(e),Ot(e,n,!0);break;case"textarea":$t(e),rn(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&Hd(e)}return p}(e,t,n,r.namespace,0,(o.mode&no)!==to,i)}function Pc(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===gn){var a=t.data;if(a===ac||a===ic||a===oc){if(0===n)return t;n--}else a===rc&&n++}t=t.previousSibling}return null}var Tc=Math.random().toString(36).slice(2),Lc="__reactFiber$"+Tc,Ac="__reactProps$"+Tc,Ic="__reactContainer$"+Tc,Nc="__reactEvents$"+Tc,Fc="__reactListeners$"+Tc,zc="__reactHandles$"+Tc;function Dc(e,t){t[Lc]=e}function Oc(e,t){t[Ic]=e}function Hc(e){e[Ic]=null}function Vc(e){return!!e[Ic]}function jc(e){var t=e[Lc];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ic]||n[Lc]){var a=t.alternate;if(null!==t.child||null!==a&&null!==a.child)for(var r=Pc(e);null!==r;){var o=r[Lc];if(o)return o;r=Pc(r)}return t}n=(e=n).parentNode}return null}function Bc(e){var t=e[Lc]||e[Ic];return t&&(t.tag===h||t.tag===p||t.tag===b||t.tag===c)?t:null}function Uc(e){if(e.tag===h||e.tag===p)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Gc(e){return e[Ac]||null}function Wc(e,t){e[Ac]=t}var qc={},Yc=n.ReactDebugCurrentFrame;function Zc(e){if(e){var t=e._owner,n=it(e.type,e._source,t?t.type:null);Yc.setExtraStackFrame(n)}else Yc.setExtraStackFrame(null)}function Kc(e,t,n,a,r){var i=Function.call.bind(Z);for(var l in e)if(i(e,l)){var s=void 0;try{if("function"!=typeof e[l]){var d=Error((a||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}s=e[l](t,l,a,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(Zc(r),o("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",n,l,typeof s),Zc(null)),s instanceof Error&&!(s.message in qc)&&(qc[s.message]=!0,Zc(r),o("Failed %s type: %s",n,s.message),Zc(null))}}var Xc,Qc=[];Xc=[];var Jc,eu=-1;function tu(e){return{current:e}}function nu(e,t){eu<0?o("Unexpected pop."):(t!==Xc[eu]&&o("Unexpected Fiber popped."),e.current=Qc[eu],Qc[eu]=null,Xc[eu]=null,eu--)}function au(e,t,n){eu++,Qc[eu]=e.current,Xc[eu]=n,e.current=t}Jc={};var ru={};Object.freeze(ru);var ou=tu(ru),iu=tu(!1),lu=ru;function su(e,t,n){return n&&hu(t)?lu:ou.current}function du(e,t,n){var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=n}function cu(e,t){var n=e.type.contextTypes;if(!n)return ru;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var r={};for(var o in n)r[o]=t[o];return Kc(n,r,"context",ht(e)||"Unknown"),a&&du(e,t,r),r}function uu(){return iu.current}function hu(e){var t=e.childContextTypes;return null!=t}function pu(e){nu(iu,e),nu(ou,e)}function fu(e){nu(iu,e),nu(ou,e)}function mu(e,t,n){if(ou.current!==ru)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");au(ou,t,e),au(iu,n,e)}function gu(e,t,n){var a=e.stateNode,r=t.childContextTypes;if("function"!=typeof a.getChildContext){var i=ht(e)||"Unknown";return Jc[i]||(Jc[i]=!0,o("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i)),n}var l=a.getChildContext();for(var s in l)if(!(s in r))throw new Error((ht(e)||"Unknown")+'.getChildContext(): key "'+s+'" is not defined in childContextTypes.');return Kc(r,l,"child context",ht(e)||"Unknown"),Ze({},n,l)}function yu(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ru;return lu=ou.current,au(ou,n,e),au(iu,iu.current,e),!0}function vu(e,t,n){var a=e.stateNode;if(!a)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var r=gu(e,t,lu);a.__reactInternalMemoizedMergedChildContext=r,nu(iu,e),nu(ou,e),au(ou,r,e),au(iu,n,e)}else nu(iu,e),au(iu,n,e)}function _u(e){if(!function(e){return fr(e)===e}(e)||e.tag!==s)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case c:return t.stateNode.context;case s:if(hu(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var bu=0,xu=1,ku=null,Eu=!1,Mu=!1;function Su(e){null===ku?ku=[e]:ku.push(e)}function wu(){Eu&&$u()}function $u(){if(!Mu&&null!==ku){Mu=!0;var e=0,t=Li();try{var n=ku;for(Ai($i);e<n.length;e++){var a=n[e];do{a=a(true)}while(null!==a)}ku=null,Eu=!1}catch(t){throw null!==ku&&(ku=ku.slice(e+1)),Er(Cr,$u),t}finally{Ai(t),Mu=!1}}return null}var Ru=[],Cu=0,Pu=null,Tu=0,Lu=[],Au=0,Iu=null,Nu=1,Fu="";function zu(){var e=Fu;return(Nu&~function(e){return 1<<Vu(e)-1}(Nu)).toString(32)+e}function Du(e,t){Bu(),Ru[Cu++]=Tu,Ru[Cu++]=Pu,Pu=e,Tu=t}function Ou(e,t,n){Bu(),Lu[Au++]=Nu,Lu[Au++]=Fu,Lu[Au++]=Iu,Iu=e;var a=Nu,r=Fu,o=Vu(a)-1,i=a&~(1<<o),l=n+1,s=Vu(t)+o;if(s>30){var d=o-o%5,c=(i&(1<<d)-1).toString(32),u=i>>d,h=o-d,p=Vu(t)+h;Nu=1<<p|(l<<h|u),Fu=c+r}else{Nu=1<<s|(l<<o|i),Fu=r}}function Hu(e){if(Bu(),null!==e.return){Du(e,1),Ou(e,1,0)}}function Vu(e){return 32-io(e)}function ju(e){for(;e===Pu;)Pu=Ru[--Cu],Ru[Cu]=null,Tu=Ru[--Cu],Ru[Cu]=null;for(;e===Iu;)Iu=Lu[--Au],Lu[Au]=null,Fu=Lu[--Au],Lu[Au]=null,Nu=Lu[--Au],Lu[Au]=null}function Bu(){mh()||o("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Uu=null,Gu=null,Wu=!1,qu=!1,Yu=null;function Zu(){Wu&&o("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Ku(){qu=!0}function Xu(e){var t=e.stateNode.containerInfo;return Gu=$c(t.firstChild),Uu=e,Wu=!0,Yu=null,qu=!1,!0}function Qu(e,t,n){return Gu=$c(t.nextSibling),Uu=e,Wu=!0,Yu=null,qu=!1,null!==n&&function(e,t){Bu(),Lu[Au++]=Nu,Lu[Au++]=Fu,Lu[Au++]=Iu,Nu=t.id,Fu=t.overflow,Iu=e}(e,n),!0}function Ju(e,t){switch(e.tag){case c:!function(e,t){t.nodeType===fn?Ud(e,t):t.nodeType===gn||Gd(e,t)}(e.stateNode.containerInfo,t);break;case h:var n=(e.mode&no)!==to;!function(e,t,n,a,r){(r||!0!==t[nc])&&(a.nodeType===fn?Ud(n,a):a.nodeType===gn||Gd(n,a))}(e.type,e.memoizedProps,e.stateNode,t,n);break;case b:var a=e.memoizedState;null!==a.dehydrated&&function(e,t){var n=e.parentNode;null!==n&&(t.nodeType===fn?Ud(n,t):t.nodeType===gn||Gd(n,t))}(a.dehydrated,t)}}function eh(e,t){Ju(e,t);var n,a=((n=ax(h,null,null,to)).elementType="DELETED",n);a.stateNode=t,a.return=e;var r=e.deletions;null===r?(e.deletions=[a],e.flags|=Ha):r.push(a)}function th(e,t){if(!qu)switch(e.tag){case c:var n=e.stateNode.containerInfo;switch(t.tag){case h:var a=t.type;t.pendingProps,function(e,t,n){Wd(e,t)}(n,a);break;case p:!function(e,t){qd(e,t)}(n,t.pendingProps)}break;case h:e.type;var r=e.memoizedProps,o=e.stateNode;switch(t.tag){case h:var i=t.type;t.pendingProps;!function(e,t,n,a,r,o){(o||!0!==t[nc])&&Wd(n,a)}(0,r,o,i,0,(e.mode&no)!==to);break;case p:!function(e,t,n,a,r){(r||!0!==t[nc])&&qd(n,a)}(0,r,o,t.pendingProps,(e.mode&no)!==to)}break;case b:var l=e.memoizedState.dehydrated;if(null!==l)switch(t.tag){case h:var s=t.type;t.pendingProps,function(e,t,n){var a=e.parentNode;null!==a&&Wd(a,t)}(l,s);break;case p:!function(e,t){var n=e.parentNode;null!==n&&qd(n,t)}(l,t.pendingProps)}break;default:return}}function nh(e,t){t.flags=t.flags&~Ya|Da,th(e,t)}function ah(e,t){switch(e.tag){case h:var n=e.type;e.pendingProps;var a=function(e,t,n){return e.nodeType!==fn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n);return null!==a&&(e.stateNode=a,Uu=e,Gu=$c(a.firstChild),!0);case p:var r=function(e,t){return""===t||e.nodeType!==mn?null:e}(t,e.pendingProps);return null!==r&&(e.stateNode=r,Uu=e,Gu=null,!0);case b:var o=function(e){return e.nodeType!==gn?null:e}(t);if(null!==o){var i={dehydrated:o,treeContext:(Bu(),null!==Iu?{id:Nu,overflow:Fu}:null),retryLane:qo};e.memoizedState=i;var l=function(e){var t=ax(S,null,null,to);return t.stateNode=e,t}(o);return l.return=e,e.child=l,Uu=e,Gu=null,!0}return!1;default:return!1}}function rh(e){return(e.mode&no)!==to&&(e.flags&Ba)===Fa}function oh(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function ih(e){if(Wu){var t=Gu;if(!t)return rh(e)&&(th(Uu,e),oh()),nh(Uu,e),Wu=!1,void(Uu=e);var n=t;if(!ah(e,t)){rh(e)&&(th(Uu,e),oh()),t=Rc(n);var a=Uu;if(!t||!ah(e,t))return nh(Uu,e),Wu=!1,void(Uu=e);eh(a,n)}}}function lh(e){var t=e.stateNode,n=e.memoizedProps,a=function(e,t,n,a){return Dc(n,e),n.mode,function(e,t,n){return e.nodeValue!==t}(e,t)}(t,n,e);if(a){var r=Uu;if(null!==r)switch(r.tag){case c:r.stateNode.containerInfo;!function(e,t,n,a){zd(t.nodeValue,n,a,!0)}(0,t,n,(r.mode&no)!==to);break;case h:r.type;var o=r.memoizedProps;r.stateNode;!function(e,t,n,a,r,o){!0!==t[nc]&&zd(a.nodeValue,r,o,!0)}(0,o,0,t,n,(r.mode&no)!==to)}}return a}function sh(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");!function(e,t){Dc(t,e)}(n,e)}function dh(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===gn){var a=t.data;if(a===rc){if(0===n)return Rc(t);n--}else a!==ac&&a!==ic&&a!==oc||n++}t=t.nextSibling}return null}(n)}function ch(e){for(var t=e.return;null!==t&&t.tag!==h&&t.tag!==c&&t.tag!==b;)t=t.return;Uu=t}function uh(e){if(e!==Uu)return!1;if(!Wu)return ch(e),Wu=!0,!1;if(e.tag!==c&&(e.tag!==h||"head"!==(n=e.type)&&"body"!==n&&!hc(e.type,e.memoizedProps))){var t=Gu;if(t)if(rh(e))hh(e),oh();else for(;t;)eh(e,t),t=Rc(t)}var n;return ch(e),Gu=e.tag===b?dh(e):Uu?Rc(e.stateNode):null,!0}function hh(e){for(var t=Gu;t;)Ju(e,t),t=Rc(t)}function ph(){Uu=null,Gu=null,Wu=!1,qu=!1}function fh(){null!==Yu&&(J_(Yu),Yu=null)}function mh(){return Wu}function gh(e){null===Yu?Yu=[e]:Yu.push(e)}var yh=n.ReactCurrentBatchConfig,vh=null;var _h={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},bh=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t.sort().join(", ")},xh=[],kh=[],Eh=[],Mh=[],Sh=[],wh=[],$h=new Set;_h.recordUnsafeLifecycleWarnings=function(e,t){$h.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&xh.push(e),e.mode&ro&&"function"==typeof t.UNSAFE_componentWillMount&&kh.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Eh.push(e),e.mode&ro&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&Mh.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Sh.push(e),e.mode&ro&&"function"==typeof t.UNSAFE_componentWillUpdate&&wh.push(e))},_h.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;xh.length>0&&(xh.forEach((function(t){e.add(ht(t)||"Component"),$h.add(t.type)})),xh=[]);var t=new Set;kh.length>0&&(kh.forEach((function(e){t.add(ht(e)||"Component"),$h.add(e.type)})),kh=[]);var n=new Set;Eh.length>0&&(Eh.forEach((function(e){n.add(ht(e)||"Component"),$h.add(e.type)})),Eh=[]);var a=new Set;Mh.length>0&&(Mh.forEach((function(e){a.add(ht(e)||"Component"),$h.add(e.type)})),Mh=[]);var i=new Set;Sh.length>0&&(Sh.forEach((function(e){i.add(ht(e)||"Component"),$h.add(e.type)})),Sh=[]);var l=new Set;(wh.length>0&&(wh.forEach((function(e){l.add(ht(e)||"Component"),$h.add(e.type)})),wh=[]),t.size>0)&&o("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",bh(t));a.size>0&&o("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s",bh(a));l.size>0&&o("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",bh(l));e.size>0&&r("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",bh(e));n.size>0&&r("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",bh(n));i.size>0&&r("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",bh(i))};var Rh=new Map,Ch=new Set;function Ph(e,t){if(e&&e.defaultProps){var n=Ze({},t),a=e.defaultProps;for(var r in a)void 0===n[r]&&(n[r]=a[r]);return n}return t}_h.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)n.mode&ro&&(t=n),n=n.return;return t}(e);if(null!==n){if(!Ch.has(e.type)){var a=Rh.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===a&&(a=[],Rh.set(n,a)),a.push(e))}}else o("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},_h.flushLegacyContextWarning=function(){Rh.forEach((function(e,t){if(0!==e.length){var n=e[0],a=new Set;e.forEach((function(e){a.add(ht(e)||"Component"),Ch.add(e.type)}));var r=bh(a);try{_t(n),o("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",r)}finally{vt()}}}))},_h.discardPendingWarnings=function(){xh=[],kh=[],Eh=[],Mh=[],Sh=[],wh=[],Rh=new Map};var Th,Lh=tu(null);Th={};var Ah=null,Ih=null,Nh=null,Fh=!1;function zh(){Ah=null,Ih=null,Nh=null,Fh=!1}function Dh(){Fh=!0}function Oh(){Fh=!1}function Hh(e,t,n){au(Lh,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Th&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Th}function Vh(e,t){var n=Lh.current;nu(Lh,t),e._currentValue=n}function jh(e,t,n){for(var a=e;null!==a;){var r=a.alternate;if(hi(a.childLanes,t)?null===r||hi(r.childLanes,t)||(r.childLanes=pi(r.childLanes,t)):(a.childLanes=pi(a.childLanes,t),null!==r&&(r.childLanes=pi(r.childLanes,t))),a===n)break;a=a.return}a!==n&&o("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Bh(e,t,n){!function(e,t,n){var a=e.child;null!==a&&(a.return=e);for(;null!==a;){var r=void 0,o=a.dependencies;if(null!==o){r=a.child;for(var i=o.firstContext;null!==i;){if(i.context===t){if(a.tag===s){var l=si(n),d=lp(Zo,l);d.tag=np;var c=a.updateQueue;if(null===c);else{var u=c.shared,h=u.pending;null===h?d.next=d:(d.next=h.next,h.next=d),u.pending=d}}a.lanes=pi(a.lanes,n);var p=a.alternate;null!==p&&(p.lanes=pi(p.lanes,n)),jh(a.return,n,e),o.lanes=pi(o.lanes,n);break}i=i.next}}else if(a.tag===y)r=a.type===e.type?null:a.child;else if(a.tag===S){var f=a.return;if(null===f)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");f.lanes=pi(f.lanes,n);var m=f.alternate;null!==m&&(m.lanes=pi(m.lanes,n)),jh(f,n,e),r=a.sibling}else r=a.child;if(null!==r)r.return=a;else for(r=a;null!==r;){if(r===e){r=null;break}var g=r.sibling;if(null!==g){g.return=r.return,r=g;break}r=r.return}a=r}}(e,t,n)}function Uh(e,t){Ah=e,Ih=null,Nh=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(ui(n.lanes,t)&&Ey(),n.firstContext=null))}function Gh(e){Fh&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(Nh===e);else{var n={context:e,memoizedValue:t,next:null};if(null===Ih){if(null===Ah)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Ih=n,Ah.dependencies={lanes:uo,firstContext:n}}else Ih=Ih.next=n}return t}var Wh=null;function qh(e){null===Wh?Wh=[e]:Wh.push(e)}function Yh(e,t,n,a){var r=t.interleaved;return null===r?(n.next=n,qh(t)):(n.next=r.next,r.next=n),t.interleaved=n,Xh(e,a)}function Zh(e,t){return Xh(e,t)}var Kh=Xh;function Xh(e,t){e.lanes=pi(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=pi(n.lanes,t)),null===n&&(e.flags&(Da|Ya))!==Fa&&Lb(e);for(var a=e,r=e.return;null!==r;)r.childLanes=pi(r.childLanes,t),null!==(n=r.alternate)?n.childLanes=pi(n.childLanes,t):(r.flags&(Da|Ya))!==Fa&&Lb(e),a=r,r=r.return;return a.tag===c?a.stateNode:null}var Qh,Jh,ep=0,tp=1,np=2,ap=3,rp=!1;function op(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:uo},effects:null};e.updateQueue=t}function ip(e,t){var n=t.updateQueue,a=e.updateQueue;if(n===a){var r={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects};t.updateQueue=r}}function lp(e,t){return{eventTime:e,lane:t,tag:ep,payload:null,callback:null,next:null}}function sp(e,t,n){var a=e.updateQueue;if(null===a)return null;var r=a.shared;if(Jh!==r||Qh||(o("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Qh=!0),(i_&Xv)!==Zv){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Kh(e,n)}return function(e,t,n,a){var r=t.interleaved;return null===r?(n.next=n,qh(t)):(n.next=r.next,r.next=n),t.interleaved=n,Xh(e,a)}(e,r,t,n)}function dp(e,t,n){var a=t.updateQueue;if(null!==a){var r=a.shared;if(oi(n)){var o=r.lanes,i=pi(o=mi(o,e.pendingLanes),n);r.lanes=i,_i(e,i)}}}function cp(e,t){var n=e.updateQueue,a=e.alternate;if(null!==a){var r=a.updateQueue;if(n===r){var o=null,i=null,l=n.firstBaseUpdate;if(null!==l){var s=l;do{var d={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};null===i?o=i=d:(i.next=d,i=d),s=s.next}while(null!==s);null===i?o=i=t:(i.next=t,i=t)}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}}var c=n.lastBaseUpdate;null===c?n.firstBaseUpdate=t:c.next=t,n.lastBaseUpdate=t}function up(e,t,n,a,r,o){switch(n.tag){case tp:var i=n.payload;if("function"==typeof i){Dh();var l=i.call(o,a,r);if(e.mode&ro){Vr(!0);try{i.call(o,a,r)}finally{Vr(!1)}}return Oh(),l}return i;case ap:e.flags=e.flags&~er|Ba;case ep:var s,d=n.payload;if("function"==typeof d){if(Dh(),s=d.call(o,a,r),e.mode&ro){Vr(!0);try{d.call(o,a,r)}finally{Vr(!1)}}Oh()}else s=d;return null==s?a:Ze({},a,s);case np:return rp=!0,a}return a}function hp(e,t,n,a){var r=e.updateQueue;rp=!1,Jh=r.shared;var o=r.firstBaseUpdate,i=r.lastBaseUpdate,l=r.shared.pending;if(null!==l){r.shared.pending=null;var s=l,d=s.next;s.next=null,null===i?o=d:i.next=d,i=s;var c=e.alternate;if(null!==c){var u=c.updateQueue,h=u.lastBaseUpdate;h!==i&&(null===h?u.firstBaseUpdate=d:h.next=d,u.lastBaseUpdate=s)}}if(null!==o){for(var p=r.baseState,f=uo,m=null,g=null,y=null,v=o;;){var _=v.lane,b=v.eventTime;if(hi(a,_)){if(null!==y){var x={eventTime:b,lane:ho,tag:v.tag,payload:v.payload,callback:v.callback,next:null};y=y.next=x}if(p=up(e,0,v,p,t,n),null!==v.callback&&v.lane!==ho){e.flags|=ja;var k=r.effects;null===k?r.effects=[v]:k.push(v)}}else{var E={eventTime:b,lane:_,tag:v.tag,payload:v.payload,callback:v.callback,next:null};null===y?(g=y=E,m=p):y=y.next=E,f=pi(f,_)}if(null===(v=v.next)){if(null===(l=r.shared.pending))break;var M=l,S=M.next;M.next=null,v=S,r.lastBaseUpdate=M,r.shared.pending=null}}null===y&&(m=p),r.baseState=m,r.firstBaseUpdate=g,r.lastBaseUpdate=y;var w=r.shared.interleaved;if(null!==w){var $=w;do{f=pi(f,$.lane),$=$.next}while($!==w)}else null===o&&(r.shared.lanes=uo);ub(f),e.lanes=f,e.memoizedState=p}Jh=null}function pp(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function fp(){rp=!1}function mp(){return rp}function gp(e,t,n){var a=t.effects;if(t.effects=null,null!==a)for(var r=0;r<a.length;r++){var o=a[r],i=o.callback;null!==i&&(o.callback=null,pp(i,n))}}Qh=!1,Jh=null;var yp,vp,_p,bp,xp,kp,Ep,Mp,Sp,wp,$p={},Rp=(new e.Component).refs;yp=new Set,vp=new Set,_p=new Set,bp=new Set,Mp=new Set,xp=new Set,Sp=new Set,wp=new Set;var Cp=new Set;function Pp(e,t,n,a){var r=e.memoizedState,o=n(a,r);if(e.mode&ro){Vr(!0);try{o=n(a,r)}finally{Vr(!1)}}kp(t,o);var i=null==o?r:Ze({},r,o);(e.memoizedState=i,e.lanes===uo)&&(e.updateQueue.baseState=i)}Ep=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;Cp.has(n)||(Cp.add(n),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},kp=function(e,t){if(void 0===t){var n=ct(e)||"Component";xp.has(n)||(xp.add(n),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty($p,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze($p);var Tp,Lp,Ap,Ip,Np,Fp={isMounted:function(e){var t=pr.current;if(null!==t&&t.tag===s){var n=t,a=n.stateNode;a._warnedAboutRefsInRender||o("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ht(n)||"A component"),a._warnedAboutRefsInRender=!0}var r=Na(e);return!!r&&fr(r)===r},enqueueSetState:function(e,t,n){var a=Na(e),r=W_(),o=q_(a),i=lp(r,o);i.payload=t,null!=n&&(Ep(n,"setState"),i.callback=n);var l=sp(a,i,o);null!==l&&(Z_(l,a,o,r),dp(l,a,o)),eo(a,o)},enqueueReplaceState:function(e,t,n){var a=Na(e),r=W_(),o=q_(a),i=lp(r,o);i.tag=tp,i.payload=t,null!=n&&(Ep(n,"replaceState"),i.callback=n);var l=sp(a,i,o);null!==l&&(Z_(l,a,o,r),dp(l,a,o)),eo(a,o)},enqueueForceUpdate:function(e,t){var n=Na(e),a=W_(),r=q_(n),o=lp(a,r);o.tag=np,null!=t&&(Ep(t,"forceUpdate"),o.callback=t);var i=sp(n,o,r);null!==i&&(Z_(i,n,r,a),dp(i,n,r)),function(e,t){null!==Dr&&"function"==typeof Dr.markForceUpdateScheduled&&Dr.markForceUpdateScheduled(e,t)}(n,r)}};function zp(e,t,n,a,r,i,l){var s=e.stateNode;if("function"==typeof s.shouldComponentUpdate){var d=s.shouldComponentUpdate(a,i,l);if(e.mode&ro){Vr(!0);try{d=s.shouldComponentUpdate(a,i,l)}finally{Vr(!1)}}return void 0===d&&o("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ct(t)||"Component"),d}return!t.prototype||!t.prototype.isPureReactComponent||(!Ms(n,a)||!Ms(r,i))}function Dp(e,t){var n;t.updater=Fp,e.stateNode=t,n=e,t._reactInternals=n,t._reactInternalInstance=$p}function Op(e,t,n){var a=!1,r=ru,i=ru,l=t.contextType;if("contextType"in t&&(!(null===l||void 0!==l&&l.$$typeof===Le&&void 0===l._context)&&!wp.has(t))){wp.add(t);var s="";s=void 0===l?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof l?" However, it is set to a "+typeof l+".":l.$$typeof===Te?" Did you accidentally pass the Context.Provider instead?":void 0!==l._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ct(t)||"Component",s)}if("object"==typeof l&&null!==l)i=Gh(l);else{r=su(0,t,!0);var d=t.contextTypes;i=(a=null!=d)?cu(e,r):ru}var c=new t(n,i);if(e.mode&ro){Vr(!0);try{c=new t(n,i)}finally{Vr(!1)}}var u=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if(Dp(e,c),"function"==typeof t.getDerivedStateFromProps&&null===u){var h=ct(t)||"Component";vp.has(h)||(vp.add(h),o("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",h,null===c.state?"null":"undefined",h))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof c.getSnapshotBeforeUpdate){var p=null,f=null,m=null;if("function"==typeof c.componentWillMount&&!0!==c.componentWillMount.__suppressDeprecationWarning?p="componentWillMount":"function"==typeof c.UNSAFE_componentWillMount&&(p="UNSAFE_componentWillMount"),"function"==typeof c.componentWillReceiveProps&&!0!==c.componentWillReceiveProps.__suppressDeprecationWarning?f="componentWillReceiveProps":"function"==typeof c.UNSAFE_componentWillReceiveProps&&(f="UNSAFE_componentWillReceiveProps"),"function"==typeof c.componentWillUpdate&&!0!==c.componentWillUpdate.__suppressDeprecationWarning?m="componentWillUpdate":"function"==typeof c.UNSAFE_componentWillUpdate&&(m="UNSAFE_componentWillUpdate"),null!==p||null!==f||null!==m){var g=ct(t)||"Component",y="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";bp.has(g)||(bp.add(g),o("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles",g,y,null!==p?"\n "+p:"",null!==f?"\n "+f:"",null!==m?"\n "+m:""))}}return a&&du(e,r,i),c}function Hp(e,t,n,a){var r=t.state;if("function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==r){var i=ht(e)||"Component";yp.has(i)||(yp.add(i),o("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i)),Fp.enqueueReplaceState(t,t.state,null)}}function Vp(e,t,n,a){!function(e,t,n){var a=e.stateNode,r=ct(t)||"Component";a.render||(t.prototype&&"function"==typeof t.prototype.render?o("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",r):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",r)),!a.getInitialState||a.getInitialState.isReactClassApproved||a.state||o("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",r),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&o("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",r),a.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",r),a.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",r),a.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",r),t.contextType&&t.contextTypes&&!Sp.has(t)&&(Sp.add(t),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",r)),"function"==typeof a.componentShouldUpdate&&o("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",r),t.prototype&&t.prototype.isPureReactComponent&&void 0!==a.shouldComponentUpdate&&o("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ct(t)||"A pure component"),"function"==typeof a.componentDidUnmount&&o("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",r),"function"==typeof a.componentDidReceiveProps&&o("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",r),"function"==typeof a.componentWillRecieveProps&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",r),"function"==typeof a.UNSAFE_componentWillRecieveProps&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",r);var i=a.props!==n;void 0!==a.props&&i&&o("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",r,r),a.defaultProps&&o("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",r,r),"function"!=typeof a.getSnapshotBeforeUpdate||"function"==typeof a.componentDidUpdate||_p.has(t)||(_p.add(t),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ct(t))),"function"==typeof a.getDerivedStateFromProps&&o("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),"function"==typeof a.getDerivedStateFromError&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),"function"==typeof t.getSnapshotBeforeUpdate&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",r);var l=a.state;l&&("object"!=typeof l||Yt(l))&&o("%s.state: must be set to an object or null",r),"function"==typeof a.getChildContext&&"object"!=typeof t.childContextTypes&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",r)}(e,t,n);var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs=Rp,op(e);var i=t.contextType;if("object"==typeof i&&null!==i)r.context=Gh(i);else{var l=su(0,t,!0);r.context=cu(e,l)}if(r.state===n){var s=ct(t)||"Component";Mp.has(s)||(Mp.add(s),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",s))}e.mode&ro&&_h.recordLegacyContextWarning(e,r),_h.recordUnsafeLifecycleWarnings(e,r),r.state=e.memoizedState;var d=t.getDerivedStateFromProps;if("function"==typeof d&&(Pp(e,t,d,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(!function(e,t){var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),n!==t.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ht(e)||"Component"),Fp.enqueueReplaceState(t,t.state,null))}(e,r),hp(e,n,r,a),r.state=e.memoizedState),"function"==typeof r.componentDidMount){var c=Oa;c|=rr,(e.mode&oo)!==to&&(c|=ir),e.flags|=c}}var jp;function Bp(e,t,n){var a=n.ref;if(null!==a&&"function"!=typeof a&&"object"!=typeof a){if((e.mode&ro||O)&&(!n._owner||!n._self||n._owner.stateNode===n._self)){var r=ht(e)||"Component";Ap[r]||(o('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',a),Ap[r]=!0)}if(n._owner){var i,l=n._owner;if(l){var d=l;if(d.tag!==s)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");i=d.stateNode}if(!i)throw new Error("Missing owner for string ref "+a+". This error is likely caused by a bug in React. Please file an issue.");var c=i;!function(e,t){if(X(e))o("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,K(e)),Q(e)}(a,"ref");var u=""+a;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===u)return t.ref;var h=function(e){var t=c.refs;t===Rp&&(t=c.refs={}),null===e?delete t[u]:t[u]=e};return h._stringRef=u,h}if("string"!=typeof a)throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+a+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.")}return a}function Up(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Gp(e){var t=ht(e)||"Component";Np[t]||(Np[t]=!0,o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function Wp(e){var t=e._payload;return(0,e._init)(t)}function qp(e){function t(t,n){if(e){var a=t.deletions;null===a?(t.deletions=[n],t.flags|=Ha):a.push(n)}}function n(n,a){if(!e)return null;for(var r=a;null!==r;)t(n,r),r=r.sibling;return null}function a(e,t){for(var n=new Map,a=t;null!==a;)null!==a.key?n.set(a.key,a):n.set(a.index,a),a=a.sibling;return n}function r(e,t){var n=ox(e,t);return n.index=0,n.sibling=null,n}function i(t,n,a){if(t.index=a,!e)return t.flags|=nr,n;var r=t.alternate;if(null!==r){var o=r.index;return o<n?(t.flags|=Da,n):o}return t.flags|=Da,n}function l(t){return e&&null===t.alternate&&(t.flags|=Da),t}function s(e,t,n,a){if(null===t||t.tag!==p){var o=ux(n,e.mode,a);return o.return=e,o}var i=r(t,n);return i.return=e,i}function d(e,t,n,a){var o=n.type;if(o===Re)return h(e,t,n.props.children,a,n.key);if(null!==t&&(t.elementType===o||qb(t,n)||"object"==typeof o&&null!==o&&o.$$typeof===ze&&Wp(o)===t.type)){var i=r(t,n.props);return i.ref=Bp(e,t,n),i.return=e,i._debugSource=n._source,i._debugOwner=n._owner,i}var l=sx(n,e.mode,a);return l.ref=Bp(e,t,n),l.return=e,l}function c(e,t,n,a){if(null===t||t.tag!==u||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var o=hx(n,e.mode,a);return o.return=e,o}var i=r(t,n.children||[]);return i.return=e,i}function h(e,t,n,a,o){if(null===t||t.tag!==f){var i=dx(n,e.mode,a,o);return i.return=e,i}var l=r(t,n);return l.return=e,l}function m(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t){var a=ux(""+t,e.mode,n);return a.return=e,a}if("object"==typeof t&&null!==t){switch(t.$$typeof){case we:var r=sx(t,e.mode,n);return r.ref=Bp(e,null,t),r.return=e,r;case $e:var o=hx(t,e.mode,n);return o.return=e,o;case ze:var i=t._payload;return m(e,(0,t._init)(i),n)}if(Yt(t)||Ve(t)){var l=dx(t,e.mode,n,null);return l.return=e,l}Up(0,t)}return"function"==typeof t&&Gp(e),null}function g(e,t,n,a){var r=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==r?null:s(e,t,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case we:return n.key===r?d(e,t,n,a):null;case $e:return n.key===r?c(e,t,n,a):null;case ze:var o=n._payload;return g(e,t,(0,n._init)(o),a)}if(Yt(n)||Ve(n))return null!==r?null:h(e,t,n,a,null);Up(0,n)}return"function"==typeof n&&Gp(e),null}function y(e,t,n,a,r){if("string"==typeof a&&""!==a||"number"==typeof a)return s(t,e.get(n)||null,""+a,r);if("object"==typeof a&&null!==a){switch(a.$$typeof){case we:return d(t,e.get(null===a.key?n:a.key)||null,a,r);case $e:return c(t,e.get(null===a.key?n:a.key)||null,a,r);case ze:var o=a._payload;return y(e,t,n,(0,a._init)(o),r)}if(Yt(a)||Ve(a))return h(t,e.get(n)||null,a,r,null);Up(0,a)}return"function"==typeof a&&Gp(t),null}function v(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case we:case $e:jp(e,n);var a=e.key;if("string"!=typeof a)break;if(null===t){(t=new Set).add(a);break}if(!t.has(a)){t.add(a);break}o("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",a);break;case ze:var r=e._payload;v((0,e._init)(r),t,n)}return t}return function s(d,c,h,_){if("object"==typeof h&&null!==h&&h.type===Re&&null===h.key&&(h=h.props.children),"object"==typeof h&&null!==h){switch(h.$$typeof){case we:return l(function(e,a,o,i){for(var l=o.key,s=a;null!==s;){if(s.key===l){var d=o.type;if(d===Re){if(s.tag===f){n(e,s.sibling);var c=r(s,o.props.children);return c.return=e,c._debugSource=o._source,c._debugOwner=o._owner,c}}else if(s.elementType===d||qb(s,o)||"object"==typeof d&&null!==d&&d.$$typeof===ze&&Wp(d)===s.type){n(e,s.sibling);var u=r(s,o.props);return u.ref=Bp(e,s,o),u.return=e,u._debugSource=o._source,u._debugOwner=o._owner,u}n(e,s);break}t(e,s),s=s.sibling}if(o.type===Re){var h=dx(o.props.children,e.mode,i,o.key);return h.return=e,h}var p=sx(o,e.mode,i);return p.ref=Bp(e,a,o),p.return=e,p}(d,c,h,_));case $e:return l(function(e,a,o,i){for(var l=o.key,s=a;null!==s;){if(s.key===l){if(s.tag===u&&s.stateNode.containerInfo===o.containerInfo&&s.stateNode.implementation===o.implementation){n(e,s.sibling);var d=r(s,o.children||[]);return d.return=e,d}n(e,s);break}t(e,s),s=s.sibling}var c=hx(o,e.mode,i);return c.return=e,c}(d,c,h,_));case ze:var b=h._payload;return s(d,c,(0,h._init)(b),_)}if(Yt(h))return function(r,o,l,s){for(var d=null,c=0;c<l.length;c++)d=v(l[c],d,r);for(var u=null,h=null,p=o,f=0,_=0,b=null;null!==p&&_<l.length;_++){p.index>_?(b=p,p=null):b=p.sibling;var x=g(r,p,l[_],s);if(null===x){null===p&&(p=b);break}e&&p&&null===x.alternate&&t(r,p),f=i(x,f,_),null===h?u=x:h.sibling=x,h=x,p=b}if(_===l.length)return n(r,p),mh()&&Du(r,_),u;if(null===p){for(;_<l.length;_++){var k=m(r,l[_],s);null!==k&&(f=i(k,f,_),null===h?u=k:h.sibling=k,h=k)}return mh()&&Du(r,_),u}for(var E=a(0,p);_<l.length;_++){var M=y(E,r,_,l[_],s);null!==M&&(e&&null!==M.alternate&&E.delete(null===M.key?_:M.key),f=i(M,f,_),null===h?u=M:h.sibling=M,h=M)}return e&&E.forEach((function(e){return t(r,e)})),mh()&&Du(r,_),u}(d,c,h,_);if(Ve(h))return function(r,l,s,d){var c=Ve(s);if("function"!=typeof c)throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===s[Symbol.toStringTag]&&(Lp||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Lp=!0),s.entries===c&&(Tp||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Tp=!0);var u=c.call(s);if(u)for(var h=null,p=u.next();!p.done;p=u.next())h=v(p.value,h,r);var f=c.call(s);if(null==f)throw new Error("An iterable object provided no iterator.");for(var _=null,b=null,x=l,k=0,E=0,M=null,S=f.next();null!==x&&!S.done;E++,S=f.next()){x.index>E?(M=x,x=null):M=x.sibling;var w=g(r,x,S.value,d);if(null===w){null===x&&(x=M);break}e&&x&&null===w.alternate&&t(r,x),k=i(w,k,E),null===b?_=w:b.sibling=w,b=w,x=M}if(S.done)return n(r,x),mh()&&Du(r,E),_;if(null===x){for(;!S.done;E++,S=f.next()){var $=m(r,S.value,d);null!==$&&(k=i($,k,E),null===b?_=$:b.sibling=$,b=$)}return mh()&&Du(r,E),_}for(var R=a(0,x);!S.done;E++,S=f.next()){var C=y(R,r,E,S.value,d);null!==C&&(e&&null!==C.alternate&&R.delete(null===C.key?E:C.key),k=i(C,k,E),null===b?_=C:b.sibling=C,b=C)}return e&&R.forEach((function(e){return t(r,e)})),mh()&&Du(r,E),_}(d,c,h,_);Up(0,h)}return"string"==typeof h&&""!==h||"number"==typeof h?l(function(e,t,a,o){if(null!==t&&t.tag===p){n(e,t.sibling);var i=r(t,a);return i.return=e,i}n(e,t);var l=ux(a,e.mode,o);return l.return=e,l}(d,c,""+h,_)):("function"==typeof h&&Gp(d),n(d,c))}}Tp=!1,Lp=!1,Ap={},Ip={},Np={},jp=function(e,t){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=ht(t)||"Component";Ip[n]||(Ip[n]=!0,o('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var Yp=qp(!0),Zp=qp(!1);function Kp(e,t){for(var n=e.child;null!==n;)ix(n,t),n=n.sibling}var Xp={},Qp=tu(Xp),Jp=tu(Xp),ef=tu(Xp);function tf(e){if(e===Xp)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function nf(){return tf(ef.current)}function af(e,t){au(ef,t,e),au(Jp,e,e),au(Qp,Xp,e);var n=function(e){var t,n,a=e.nodeType;switch(a){case yn:case vn:t=a===yn?"#document":"#fragment";var r=e.documentElement;n=r?r.namespaceURI:cn(null,"");break;default:var o=a===gn?e.parentNode:e;n=cn(o.namespaceURI||null,t=o.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:Zd(null,i)}}(t);nu(Qp,e),au(Qp,n,e)}function rf(e){nu(Qp,e),nu(Jp,e),nu(ef,e)}function of(){return tf(Qp.current)}function lf(e){tf(ef.current);var t,n,a,r=tf(Qp.current),o=(t=r,n=e.type,{namespace:cn((a=t).namespace,n),ancestorInfo:Zd(a.ancestorInfo,n)});r!==o&&(au(Jp,e,e),au(Qp,o,e))}function sf(e){Jp.current===e&&(nu(Qp,e),nu(Jp,e))}var df=1,cf=1,uf=2,hf=tu(0);function pf(e,t){return 0!=(e&t)}function ff(e){return e&df}function mf(e,t){return e&df|t}function gf(e,t){au(hf,t,e)}function yf(e){nu(hf,e)}function vf(e,t){var n=e.memoizedState;return null!==n?null!==n.dehydrated:(e.memoizedProps,!0)}function _f(e){for(var t=e;null!==t;){if(t.tag===b){var n=t.memoizedState;if(null!==n){var a=n.dehydrated;if(null===a||Sc(a)||wc(a))return t}}else if(t.tag===w&&void 0!==t.memoizedProps.revealOrder){if((t.flags&Ba)!==Fa)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;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 bf=0,xf=1,kf=2,Ef=4,Mf=8,Sf=[];function wf(){for(var e=0;e<Sf.length;e++){Sf[e]._workInProgressVersionPrimary=null}Sf.length=0}function $f(e,t){var n=(0,t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)}var Rf,Cf,Pf=n.ReactCurrentDispatcher,Tf=n.ReactCurrentBatchConfig;Rf=new Set;var Lf=uo,Af=null,If=null,Nf=null,Ff=!1,zf=!1,Df=0,Of=0,Hf=25,Vf=null,jf=null,Bf=-1,Uf=!1;function Gf(){var e=Vf;null===jf?jf=[e]:jf.push(e)}function Wf(){var e=Vf;null!==jf&&(Bf++,jf[Bf]!==e&&function(e){var t=ht(Af);if(!Rf.has(t)&&(Rf.add(t),null!==jf)){for(var n="",a=30,r=0;r<=Bf;r++){for(var i=jf[r],l=r===Bf?e:i,s=r+1+". "+i;s.length<a;)s+=" ";n+=s+=l+"\n"}o("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e))}function qf(e){null==e||Yt(e)||o("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Vf,typeof e)}function Yf(){throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.")}function Zf(e,t){if(Uf)return!1;if(null===t)return o("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Vf),!1;e.length!==t.length&&o("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",Vf,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Es(e[n],t[n]))return!1;return!0}function Kf(e,t,n,a,r,i){Lf=i,Af=t,jf=null!==e?e._debugHookTypes:null,Bf=-1,Uf=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=uo,null!==e&&null!==e.memoizedState?Pf.current=ng:Pf.current=null!==jf?tg:eg;var l=n(a,r);if(zf){var s=0;do{if(zf=!1,Df=0,s>=Hf)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");s+=1,Uf=!1,If=null,Nf=null,t.updateQueue=null,Bf=-1,Pf.current=ag,l=n(a,r)}while(zf)}Pf.current=Jm,t._debugHookTypes=jf;var d=null!==If&&null!==If.next;if(Lf=uo,Af=null,If=null,Nf=null,Vf=null,jf=null,Bf=-1,null!==e&&(e.flags&hr)!=(t.flags&hr)&&(e.mode&no)!==to&&o("Internal React error: Expected static flag was missing. Please notify the React team."),Ff=!1,d)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return l}function Xf(){var e=0!==Df;return Df=0,e}function Qf(e,t,n){t.updateQueue=e.updateQueue,(t.mode&oo)!==to?t.flags&=~(lr|ir|qa|Oa):t.flags&=~(qa|Oa),e.lanes=fi(e.lanes,n)}function Jf(){if(Pf.current=Jm,Ff){for(var e=Af.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Ff=!1}Lf=uo,Af=null,If=null,Nf=null,jf=null,Bf=-1,Vf=null,Um=!1,zf=!1,Df=0}function em(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Nf?Af.memoizedState=Nf=e:Nf=Nf.next=e,Nf}function tm(){var e,t;if(null===If){var n=Af.alternate;e=null!==n?n.memoizedState:null}else e=If.next;if(null!==(t=null===Nf?Af.memoizedState:Nf.next))t=(Nf=t).next,If=e;else{if(null===e)throw new Error("Rendered more hooks than during the previous render.");var a={memoizedState:(If=e).memoizedState,baseState:If.baseState,baseQueue:If.baseQueue,queue:If.queue,next:null};null===Nf?Af.memoizedState=Nf=a:Nf=Nf.next=a}return Nf}function nm(e,t){return"function"==typeof t?t(e):t}function am(e,t,n){var a,r=em();a=void 0!==n?n(t):t,r.memoizedState=r.baseState=a;var o={pending:null,interleaved:null,lanes:uo,dispatch:null,lastRenderedReducer:e,lastRenderedState:a};r.queue=o;var i=o.dispatch=qm.bind(null,Af,o);return[r.memoizedState,i]}function rm(e,t,n){var a=tm(),r=a.queue;if(null===r)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=If,l=i.baseQueue,s=r.pending;if(null!==s){if(null!==l){var d=l.next,c=s.next;l.next=c,s.next=d}i.baseQueue!==l&&o("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=l=s,r.pending=null}if(null!==l){var u=l.next,h=i.baseState,p=null,f=null,m=null,g=u;do{var y=g.lane;if(hi(Lf,y)){if(null!==m){var v={lane:ho,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};m=m.next=v}if(g.hasEagerState)h=g.eagerState;else h=e(h,g.action)}else{var _={lane:y,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};null===m?(f=m=_,p=h):m=m.next=_,Af.lanes=pi(Af.lanes,y),ub(y)}g=g.next}while(null!==g&&g!==u);null===m?p=h:m.next=f,Es(h,a.memoizedState)||Ey(),a.memoizedState=h,a.baseState=p,a.baseQueue=m,r.lastRenderedState=h}var b=r.interleaved;if(null!==b){var x=b;do{var k=x.lane;Af.lanes=pi(Af.lanes,k),ub(k),x=x.next}while(x!==b)}else null===l&&(r.lanes=uo);var E=r.dispatch;return[a.memoizedState,E]}function om(e,t,n){var a=tm(),r=a.queue;if(null===r)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var o=r.dispatch,i=r.pending,l=a.memoizedState;if(null!==i){r.pending=null;var s=i.next,d=s;do{l=e(l,d.action),d=d.next}while(d!==s);Es(l,a.memoizedState)||Ey(),a.memoizedState=l,null===a.baseQueue&&(a.baseState=l),r.lastRenderedState=l}return[l,o]}function im(e,t,n){var a,r=Af,i=em();if(mh()){if(void 0===n)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=n(),Cf||a!==n()&&(o("The result of getServerSnapshot should be cached to avoid an infinite loop"),Cf=!0)}else{if(a=t(),!Cf){var l=t();Es(a,l)||(o("The result of getSnapshot should be cached to avoid an infinite loop"),Cf=!0)}var s=G_();if(null===s)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ri(0,Lf)||sm(r,t,a)}i.memoizedState=a;var d={value:a,getSnapshot:t};return i.queue=d,xm(cm.bind(null,r,d,e),[e]),r.flags|=qa,gm(xf|Mf,dm.bind(null,r,d,a,t),void 0,null),a}function lm(e,t,n){var a=Af,r=tm(),i=t();if(!Cf){var l=t();Es(i,l)||(o("The result of getSnapshot should be cached to avoid an infinite loop"),Cf=!0)}var s=r.memoizedState,d=!Es(s,i);d&&(r.memoizedState=i,Ey());var c=r.queue;if(km(cm.bind(null,a,c,e),[e]),c.getSnapshot!==t||d||null!==Nf&&Nf.memoizedState.tag&xf){a.flags|=qa,gm(xf|Mf,dm.bind(null,a,c,i,t),void 0,null);var u=G_();if(null===u)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ri(0,Lf)||sm(a,t,i)}return i}function sm(e,t,n){e.flags|=Ka;var a={getSnapshot:t,value:n},r=Af.updateQueue;if(null===r)r={lastEffect:null,stores:null},Af.updateQueue=r,r.stores=[a];else{var o=r.stores;null===o?r.stores=[a]:o.push(a)}}function dm(e,t,n,a){t.value=n,t.getSnapshot=a,um(t)&&hm(e)}function cm(e,t,n){return n((function(){um(t)&&hm(e)}))}function um(e){var t=e.getSnapshot,n=e.value;try{var a=t();return!Es(n,a)}catch(e){return!0}}function hm(e){var t=Zh(e,po);null!==t&&Z_(t,e,po,Zo)}function pm(e){var t=em();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:uo,dispatch:null,lastRenderedReducer:nm,lastRenderedState:e};t.queue=n;var a=n.dispatch=Ym.bind(null,Af,n);return[t.memoizedState,a]}function fm(e){return rm(nm)}function mm(e){return om(nm)}function gm(e,t,n,a){var r={tag:e,create:t,destroy:n,deps:a,next:null},o=Af.updateQueue;if(null===o)o={lastEffect:null,stores:null},Af.updateQueue=o,o.lastEffect=r.next=r;else{var i=o.lastEffect;if(null===i)o.lastEffect=r.next=r;else{var l=i.next;i.next=r,r.next=l,o.lastEffect=r}}return r}function ym(e){var t={current:e};return em().memoizedState=t,t}function vm(e){return tm().memoizedState}function _m(e,t,n,a){var r=em(),o=void 0===a?null:a;Af.flags|=e,r.memoizedState=gm(xf|t,n,void 0,o)}function bm(e,t,n,a){var r=tm(),o=void 0===a?null:a,i=void 0;if(null!==If){var l=If.memoizedState;if(i=l.destroy,null!==o)if(Zf(o,l.deps))return void(r.memoizedState=gm(t,n,i,o))}Af.flags|=e,r.memoizedState=gm(xf|t,n,i,o)}function xm(e,t){return(Af.mode&oo)!==to?_m(lr|qa|or,Mf,e,t):_m(qa|or,Mf,e,t)}function km(e,t){return bm(qa,Mf,e,t)}function Em(e,t){return _m(Oa,kf,e,t)}function Mm(e,t){return bm(Oa,kf,e,t)}function Sm(e,t){var n=Oa;return n|=rr,(Af.mode&oo)!==to&&(n|=ir),_m(n,Ef,e,t)}function wm(e,t){return bm(Oa,Ef,e,t)}function $m(e,t){if("function"==typeof t){var n=t,a=e();return n(a),function(){n(null)}}if(null!=t){var r=t;r.hasOwnProperty("current")||o("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(r).join(", ")+"}");var i=e();return r.current=i,function(){r.current=null}}}function Rm(e,t,n){"function"!=typeof t&&o("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var a=null!=n?n.concat([e]):null,r=Oa;return r|=rr,(Af.mode&oo)!==to&&(r|=ir),_m(r,Ef,$m.bind(null,t,e),a)}function Cm(e,t,n){"function"!=typeof t&&o("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var a=null!=n?n.concat([e]):null;return bm(Oa,Ef,$m.bind(null,t,e),a)}function Pm(e,t){}var Tm=Pm;function Lm(e,t){var n=void 0===t?null:t;return em().memoizedState=[e,n],e}function Am(e,t){var n=tm(),a=void 0===t?null:t,r=n.memoizedState;if(null!==r&&(null!==a&&Zf(a,r[1])))return r[0];return n.memoizedState=[e,a],e}function Im(e,t){var n=em(),a=void 0===t?null:t,r=e();return n.memoizedState=[r,a],r}function Nm(e,t){var n=tm(),a=void 0===t?null:t,r=n.memoizedState;if(null!==r&&(null!==a&&Zf(a,r[1])))return r[0];var o=e();return n.memoizedState=[o,a],o}function Fm(e){return em().memoizedState=e,e}function zm(e){return Om(tm(),If.memoizedState,e)}function Dm(e){var t=tm();return null===If?(t.memoizedState=e,e):Om(t,If.memoizedState,e)}function Om(e,t,n){if(!((Lf&(po|mo|yo))===uo)){if(!Es(n,t)){var a=ii();Af.lanes=pi(Af.lanes,a),ub(a),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,Ey()),e.memoizedState=n,n}function Hm(e,t,n){var a=Li();Ai(function(e,t){return 0!==e&&e<t?e:t}(a,Ri)),e(!0);var o=Tf.transition;Tf.transition={};var i=Tf.transition;Tf.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Ai(a),Tf.transition=o,null===o&&i._updatedFibers)i._updatedFibers.size>10&&r("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),i._updatedFibers.clear()}}function Vm(){var e=pm(!1),t=e[0],n=e[1],a=Hm.bind(null,n);return em().memoizedState=a,[t,a]}function jm(){return[fm()[0],tm().memoizedState]}function Bm(){return[mm()[0],tm().memoizedState]}var Um=!1;function Gm(){var e,t=em(),n=G_().identifierPrefix;if(mh()){e=":"+n+"R"+zu();var a=Df++;a>0&&(e+="H"+a.toString(32)),e+=":"}else{e=":"+n+"r"+(Of++).toString(32)+":"}return t.memoizedState=e,e}function Wm(){return tm().memoizedState}function qm(e,t,n){"function"==typeof arguments[3]&&o("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=q_(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Zm(e))Km(t,r);else{var i=Yh(e,t,r,a);if(null!==i)Z_(i,e,a,W_()),Xm(i,t,a)}Qm(e,a)}function Ym(e,t,n){"function"==typeof arguments[3]&&o("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=q_(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Zm(e))Km(t,r);else{var i=e.alternate;if(e.lanes===uo&&(null===i||i.lanes===uo)){var l=t.lastRenderedReducer;if(null!==l){var s;s=Pf.current,Pf.current=og;try{var d=t.lastRenderedState,c=l(d,n);if(r.hasEagerState=!0,r.eagerState=c,Es(c,d))return void function(e,t,n,a){var r=t.interleaved;null===r?(n.next=n,qh(t)):(n.next=r.next,r.next=n),t.interleaved=n}(0,t,r)}catch(e){}finally{Pf.current=s}}}var u=Yh(e,t,r,a);if(null!==u)Z_(u,e,a,W_()),Xm(u,t,a)}Qm(e,a)}function Zm(e){var t=e.alternate;return e===Af||null!==t&&t===Af}function Km(e,t){zf=Ff=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xm(e,t,n){if(oi(n)){var a=t.lanes,r=pi(a=mi(a,e.pendingLanes),n);t.lanes=r,_i(e,r)}}function Qm(e,t,n){eo(e,t)}var Jm={readContext:Gh,useCallback:Yf,useContext:Yf,useEffect:Yf,useImperativeHandle:Yf,useInsertionEffect:Yf,useLayoutEffect:Yf,useMemo:Yf,useReducer:Yf,useRef:Yf,useState:Yf,useDebugValue:Yf,useDeferredValue:Yf,useTransition:Yf,useMutableSource:Yf,useSyncExternalStore:Yf,useId:Yf,unstable_isNewReconciler:A},eg=null,tg=null,ng=null,ag=null,rg=null,og=null,ig=null,lg=function(){o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},sg=function(){o("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};eg={readContext:function(e){return Gh(e)},useCallback:function(e,t){return Vf="useCallback",Gf(),qf(t),Lm(e,t)},useContext:function(e){return Vf="useContext",Gf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",Gf(),qf(t),xm(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",Gf(),qf(n),Rm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",Gf(),qf(t),Em(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",Gf(),qf(t),Sm(e,t)},useMemo:function(e,t){Vf="useMemo",Gf(),qf(t);var n=Pf.current;Pf.current=rg;try{return Im(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",Gf();var a=Pf.current;Pf.current=rg;try{return am(e,t,n)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",Gf(),ym(e)},useState:function(e){Vf="useState",Gf();var t=Pf.current;Pf.current=rg;try{return pm(e)}finally{Pf.current=t}},useDebugValue:function(e,t){Vf="useDebugValue",Gf()},useDeferredValue:function(e){return Vf="useDeferredValue",Gf(),Fm(e)},useTransition:function(){return Vf="useTransition",Gf(),Vm()},useMutableSource:function(e,t,n){Vf="useMutableSource",Gf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",Gf(),im(e,t,n)},useId:function(){return Vf="useId",Gf(),Gm()},unstable_isNewReconciler:A},tg={readContext:function(e){return Gh(e)},useCallback:function(e,t){return Vf="useCallback",Wf(),Lm(e,t)},useContext:function(e){return Vf="useContext",Wf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",Wf(),xm(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",Wf(),Rm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",Wf(),Em(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",Wf(),Sm(e,t)},useMemo:function(e,t){Vf="useMemo",Wf();var n=Pf.current;Pf.current=rg;try{return Im(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",Wf();var a=Pf.current;Pf.current=rg;try{return am(e,t,n)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",Wf(),ym(e)},useState:function(e){Vf="useState",Wf();var t=Pf.current;Pf.current=rg;try{return pm(e)}finally{Pf.current=t}},useDebugValue:function(e,t){Vf="useDebugValue",Wf()},useDeferredValue:function(e){return Vf="useDeferredValue",Wf(),Fm(e)},useTransition:function(){return Vf="useTransition",Wf(),Vm()},useMutableSource:function(e,t,n){Vf="useMutableSource",Wf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",Wf(),im(e,t,n)},useId:function(){return Vf="useId",Wf(),Gm()},unstable_isNewReconciler:A},ng={readContext:function(e){return Gh(e)},useCallback:function(e,t){return Vf="useCallback",Wf(),Am(e,t)},useContext:function(e){return Vf="useContext",Wf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",Wf(),km(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",Wf(),Cm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",Wf(),Mm(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",Wf(),wm(e,t)},useMemo:function(e,t){Vf="useMemo",Wf();var n=Pf.current;Pf.current=og;try{return Nm(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",Wf();var a=Pf.current;Pf.current=og;try{return rm(e)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",Wf(),vm()},useState:function(e){Vf="useState",Wf();var t=Pf.current;Pf.current=og;try{return fm()}finally{Pf.current=t}},useDebugValue:function(e,t){return Vf="useDebugValue",Wf(),Tm()},useDeferredValue:function(e){return Vf="useDeferredValue",Wf(),zm(e)},useTransition:function(){return Vf="useTransition",Wf(),jm()},useMutableSource:function(e,t,n){Vf="useMutableSource",Wf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",Wf(),lm(e,t)},useId:function(){return Vf="useId",Wf(),Wm()},unstable_isNewReconciler:A},ag={readContext:function(e){return Gh(e)},useCallback:function(e,t){return Vf="useCallback",Wf(),Am(e,t)},useContext:function(e){return Vf="useContext",Wf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",Wf(),km(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",Wf(),Cm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",Wf(),Mm(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",Wf(),wm(e,t)},useMemo:function(e,t){Vf="useMemo",Wf();var n=Pf.current;Pf.current=ig;try{return Nm(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",Wf();var a=Pf.current;Pf.current=ig;try{return om(e)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",Wf(),vm()},useState:function(e){Vf="useState",Wf();var t=Pf.current;Pf.current=ig;try{return mm()}finally{Pf.current=t}},useDebugValue:function(e,t){return Vf="useDebugValue",Wf(),Tm()},useDeferredValue:function(e){return Vf="useDeferredValue",Wf(),Dm(e)},useTransition:function(){return Vf="useTransition",Wf(),Bm()},useMutableSource:function(e,t,n){Vf="useMutableSource",Wf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",Wf(),lm(e,t)},useId:function(){return Vf="useId",Wf(),Wm()},unstable_isNewReconciler:A},rg={readContext:function(e){return lg(),Gh(e)},useCallback:function(e,t){return Vf="useCallback",sg(),Gf(),Lm(e,t)},useContext:function(e){return Vf="useContext",sg(),Gf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",sg(),Gf(),xm(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",sg(),Gf(),Rm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",sg(),Gf(),Em(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",sg(),Gf(),Sm(e,t)},useMemo:function(e,t){Vf="useMemo",sg(),Gf();var n=Pf.current;Pf.current=rg;try{return Im(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",sg(),Gf();var a=Pf.current;Pf.current=rg;try{return am(e,t,n)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",sg(),Gf(),ym(e)},useState:function(e){Vf="useState",sg(),Gf();var t=Pf.current;Pf.current=rg;try{return pm(e)}finally{Pf.current=t}},useDebugValue:function(e,t){Vf="useDebugValue",sg(),Gf()},useDeferredValue:function(e){return Vf="useDeferredValue",sg(),Gf(),Fm(e)},useTransition:function(){return Vf="useTransition",sg(),Gf(),Vm()},useMutableSource:function(e,t,n){Vf="useMutableSource",sg(),Gf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",sg(),Gf(),im(e,t,n)},useId:function(){return Vf="useId",sg(),Gf(),Gm()},unstable_isNewReconciler:A},og={readContext:function(e){return lg(),Gh(e)},useCallback:function(e,t){return Vf="useCallback",sg(),Wf(),Am(e,t)},useContext:function(e){return Vf="useContext",sg(),Wf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",sg(),Wf(),km(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",sg(),Wf(),Cm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",sg(),Wf(),Mm(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",sg(),Wf(),wm(e,t)},useMemo:function(e,t){Vf="useMemo",sg(),Wf();var n=Pf.current;Pf.current=og;try{return Nm(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",sg(),Wf();var a=Pf.current;Pf.current=og;try{return rm(e)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",sg(),Wf(),vm()},useState:function(e){Vf="useState",sg(),Wf();var t=Pf.current;Pf.current=og;try{return fm()}finally{Pf.current=t}},useDebugValue:function(e,t){return Vf="useDebugValue",sg(),Wf(),Tm()},useDeferredValue:function(e){return Vf="useDeferredValue",sg(),Wf(),zm(e)},useTransition:function(){return Vf="useTransition",sg(),Wf(),jm()},useMutableSource:function(e,t,n){Vf="useMutableSource",sg(),Wf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",sg(),Wf(),lm(e,t)},useId:function(){return Vf="useId",sg(),Wf(),Wm()},unstable_isNewReconciler:A},ig={readContext:function(e){return lg(),Gh(e)},useCallback:function(e,t){return Vf="useCallback",sg(),Wf(),Am(e,t)},useContext:function(e){return Vf="useContext",sg(),Wf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",sg(),Wf(),km(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",sg(),Wf(),Cm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",sg(),Wf(),Mm(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",sg(),Wf(),wm(e,t)},useMemo:function(e,t){Vf="useMemo",sg(),Wf();var n=Pf.current;Pf.current=og;try{return Nm(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",sg(),Wf();var a=Pf.current;Pf.current=og;try{return om(e)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",sg(),Wf(),vm()},useState:function(e){Vf="useState",sg(),Wf();var t=Pf.current;Pf.current=og;try{return mm()}finally{Pf.current=t}},useDebugValue:function(e,t){return Vf="useDebugValue",sg(),Wf(),Tm()},useDeferredValue:function(e){return Vf="useDeferredValue",sg(),Wf(),Dm(e)},useTransition:function(){return Vf="useTransition",sg(),Wf(),Bm()},useMutableSource:function(e,t,n){Vf="useMutableSource",sg(),Wf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",sg(),Wf(),lm(e,t)},useId:function(){return Vf="useId",sg(),Wf(),Wm()},unstable_isNewReconciler:A};var dg=t.unstable_now,cg=0,ug=-1,hg=-1,pg=-1,fg=!1,mg=!1;function gg(){return fg}function yg(){return cg}function vg(){cg=dg()}function _g(e){hg=dg(),e.actualStartTime<0&&(e.actualStartTime=dg())}function bg(e){hg=-1}function xg(e,t){if(hg>=0){var n=dg()-hg;e.actualDuration+=n,t&&(e.selfBaseDuration=n),hg=-1}}function kg(e){if(ug>=0){var t=dg()-ug;ug=-1;for(var n=e.return;null!==n;){switch(n.tag){case c:return void(n.stateNode.effectDuration+=t);case _:return void(n.stateNode.effectDuration+=t)}n=n.return}}}function Eg(e){if(pg>=0){var t=dg()-pg;pg=-1;for(var n=e.return;null!==n;){switch(n.tag){case c:var a=n.stateNode;return void(null!==a&&(a.passiveEffectDuration+=t));case _:var r=n.stateNode;return void(null!==r&&(r.passiveEffectDuration+=t))}n=n.return}}}function Mg(){ug=dg()}function Sg(){pg=dg()}function wg(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function $g(e,t){return{value:e,source:t,stack:st(t),digest:null}}function Rg(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Cg(e,t){try{0;var n=t.value,a=t.source,r=t.stack,o=null!==r?r:"";if(null!=n&&n._suppressLogging){if(e.tag===s)return;console.error(n)}var i=a?ht(a):null,l=(i?"The above error occurred in the <"+i+"> component:":"The above error occurred in one of your React components:")+"\n"+o+"\n\n"+(e.tag===c?"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.":"React will try to recreate this component tree from scratch using the error boundary you provided, "+(ht(e)||"Anonymous")+".");console.error(l)}catch(e){setTimeout((function(){throw e}))}}var Pg="function"==typeof WeakMap?WeakMap:Map;function Tg(e,t,n){var a=lp(Zo,n);a.tag=ap,a.payload={element:null};var r=t.value;return a.callback=function(){xb(r),Cg(e,t)},a}function Lg(e,t,n){var a=lp(Zo,n);a.tag=ap;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;a.payload=function(){return r(i)},a.callback=function(){Yb(e),Cg(e,t)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(a.callback=function(){var n;Yb(e),Cg(e,t),"function"!=typeof r&&(n=this,null===R_?R_=new Set([n]):R_.add(n));var a=t.value,i=t.stack;this.componentDidCatch(a,{componentStack:null!==i?i:""}),"function"!=typeof r&&(ui(e.lanes,po)||o("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ht(e)||"Unknown"))}),a}function Ag(e,t,n){var a,r=e.pingCache;if(null===r?(r=e.pingCache=new Pg,a=new Set,r.set(t,a)):void 0===(a=r.get(t))&&(a=new Set,r.set(t,a)),!a.has(n)){a.add(n);var o=Mb.bind(null,e,t,n);Hr&&Nb(e,n),t.then(o,o)}}function Ig(e){var t=e;do{if(t.tag===b&&vf(t))return t;t=t.return}while(null!==t);return null}function Ng(e,t,n,a,r){if((e.mode&no)===to){if(e===t)e.flags|=er;else{if(e.flags|=Ba,n.flags|=tr,n.flags&=~(Xa|Ja),n.tag===s)if(null===n.alternate)n.tag=M;else{var o=lp(Zo,po);o.tag=np,sp(n,o,po)}n.lanes=pi(n.lanes,po)}return e}return e.flags|=er,e.lanes=r,e}function Fg(e,t,n,a,r){if(n.flags|=Ja,Hr&&Nb(e,r),null!==a&&"object"==typeof a&&"function"==typeof a.then){var o=a;!function(e,t){var n=e.tag;if((e.mode&no)===to&&(n===l||n===v||n===k)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}(n),mh()&&n.mode&no&&Ku();var i=Ig(t);if(null!==i)return i.flags&=~Ua,Ng(i,t,n,0,r),i.mode&no&&Ag(e,o,r),void function(e,t,n,a){var r=e.updateQueue;if(null===r){var o=new Set;o.add(n),e.updateQueue=o}else r.add(n)}(i,0,o);if((r&po)===uo)return Ag(e,o,r),void hb();a=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.")}else if(mh()&&n.mode&no){Ku();var d=Ig(t);if(null!==d)return(d.flags&er)===Fa&&(d.flags|=Ua),Ng(d,t,n,0,r),void gh($g(a,n))}!function(e){h_!==a_&&(h_=t_);null===y_?y_=[e]:y_.push(e)}(a=$g(a,n));var u=t;do{switch(u.tag){case c:var h=a;u.flags|=er;var p=si(r);return u.lanes=pi(u.lanes,p),void cp(u,Tg(u,h,p));case s:var f=a,m=u.type,g=u.stateNode;if((u.flags&Ba)===Fa&&("function"==typeof m.getDerivedStateFromError||null!==g&&"function"==typeof g.componentDidCatch&&!bb(g))){u.flags|=er;var y=si(r);return u.lanes=pi(u.lanes,y),void cp(u,Lg(u,f,y))}}u=u.return}while(null!==u)}var zg,Dg,Og,Hg,Vg,jg,Bg,Ug,Gg=n.ReactCurrentOwner,Wg=!1;function qg(e,t,n,a){t.child=null===e?Zp(t,null,n,a):Yp(t,e.child,n,a)}function Yg(e,t,n,a,r){if(t.type!==t.elementType){var o=n.propTypes;o&&Kc(o,a,"prop",ct(n))}var i,l,s=n.render,d=t.ref;if(Uh(t,r),Gr(t),Gg.current=t,bt(!0),i=Kf(e,t,s,a,d,r),l=Xf(),t.mode&ro){Vr(!0);try{i=Kf(e,t,s,a,d,r),l=Xf()}finally{Vr(!1)}}return bt(!1),Wr(),null===e||Wg?(mh()&&l&&Hu(t),t.flags|=za,qg(e,t,i,r),t.child):(Qf(e,t,r),Sy(e,t,r))}function Zg(e,t,n,a,r){if(null===e){var o=n.type;if(function(e){return"function"==typeof e&&!rx(e)&&void 0===e.defaultProps}(o)&&null===n.compare&&void 0===n.defaultProps){var i;return i=Ub(o),t.tag=k,t.type=i,oy(t,o),Kg(e,t,i,a,r)}var l=o.propTypes;l&&Kc(l,a,"prop",ct(o));var s=lx(n.type,null,a,t,t.mode,r);return s.ref=t.ref,s.return=t,t.child=s,s}var d=n.type,c=d.propTypes;c&&Kc(c,a,"prop",ct(d));var u=e.child;if(!wy(e,r)){var h=u.memoizedProps,p=n.compare;if((p=null!==p?p:Ms)(h,a)&&e.ref===t.ref)return Sy(e,t,r)}t.flags|=za;var f=ox(u,a);return f.ref=t.ref,f.return=t,t.child=f,f}function Kg(e,t,n,a,r){if(t.type!==t.elementType){var o=t.elementType;if(o.$$typeof===ze){var i=o,l=i._payload,s=i._init;try{o=s(l)}catch(e){o=null}var d=o&&o.propTypes;d&&Kc(d,a,"prop",ct(o))}}if(null!==e){var c=e.memoizedProps;if(Ms(c,a)&&e.ref===t.ref&&t.type===e.type){if(Wg=!1,t.pendingProps=a=c,!wy(e,r))return t.lanes=e.lanes,Sy(e,t,r);(e.flags&tr)!==Fa&&(Wg=!0)}}return Jg(e,t,n,a,r)}function Xg(e,t,n){var a,r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||N)if((t.mode&no)===to){var l={baseLanes:uo,cachePool:null,transitions:null};t.memoizedState=l,ob(t,n)}else{if(!ui(n,qo)){var s;if(null!==i)s=pi(i.baseLanes,n);else s=n;t.lanes=t.childLanes=qo;var d={baseLanes:s,cachePool:null,transitions:null};return t.memoizedState=d,t.updateQueue=null,ob(t,s),null}var c={baseLanes:uo,cachePool:null,transitions:null};t.memoizedState=c,ob(t,null!==i?i.baseLanes:n)}else null!==i?(a=pi(i.baseLanes,n),t.memoizedState=null):a=n,ob(t,a);return qg(e,t,o,n),t.child}function Qg(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=Ga,t.flags|=ar)}function Jg(e,t,n,a,r){if(t.type!==t.elementType){var o=n.propTypes;o&&Kc(o,a,"prop",ct(n))}var i,l,s;if(i=cu(t,su(0,n,!0)),Uh(t,r),Gr(t),Gg.current=t,bt(!0),l=Kf(e,t,n,a,i,r),s=Xf(),t.mode&ro){Vr(!0);try{l=Kf(e,t,n,a,i,r),s=Xf()}finally{Vr(!1)}}return bt(!1),Wr(),null===e||Wg?(mh()&&s&&Hu(t),t.flags|=za,qg(e,t,l,r),t.child):(Qf(e,t,r),Sy(e,t,r))}function ey(e,t,n,a,r){switch(Rx(t)){case!1:var i=t.stateNode,l=new(0,t.type)(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,l,null);break;case!0:t.flags|=Ba,t.flags|=er;var s=new Error("Simulated error coming from DevTools"),d=si(r);t.lanes=pi(t.lanes,d),cp(t,Lg(t,$g(s,t),d))}if(t.type!==t.elementType){var c=n.propTypes;c&&Kc(c,a,"prop",ct(n))}var u,h;hu(n)?(u=!0,yu(t)):u=!1,Uh(t,r),null===t.stateNode?(My(e,t),Op(t,n,a),Vp(t,n,a,r),h=!0):h=null===e?function(e,t,n,a){var r=e.stateNode,o=e.memoizedProps;r.props=o;var i=r.context,l=t.contextType,s=ru;s="object"==typeof l&&null!==l?Gh(l):cu(e,su(0,t,!0));var d=t.getDerivedStateFromProps,c="function"==typeof d||"function"==typeof r.getSnapshotBeforeUpdate;c||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||o===n&&i===s||Hp(e,r,n,s),fp();var u=e.memoizedState,h=r.state=u;if(hp(e,n,r,a),h=e.memoizedState,o===n&&u===h&&!uu()&&!mp()){if("function"==typeof r.componentDidMount){var p=Oa;p|=rr,(e.mode&oo)!==to&&(p|=ir),e.flags|=p}return!1}"function"==typeof d&&(Pp(e,t,d,n),h=e.memoizedState);var f=mp()||zp(e,t,o,n,u,h,s);if(f){if(c||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||("function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount()),"function"==typeof r.componentDidMount){var m=Oa;m|=rr,(e.mode&oo)!==to&&(m|=ir),e.flags|=m}}else{if("function"==typeof r.componentDidMount){var g=Oa;g|=rr,(e.mode&oo)!==to&&(g|=ir),e.flags|=g}e.memoizedProps=n,e.memoizedState=h}return r.props=n,r.state=h,r.context=s,f}(t,n,a,r):function(e,t,n,a,r){var o=t.stateNode;ip(e,t);var i=t.memoizedProps,l=t.type===t.elementType?i:Ph(t.type,i);o.props=l;var s=t.pendingProps,d=o.context,c=n.contextType,u=ru;u="object"==typeof c&&null!==c?Gh(c):cu(t,su(0,n,!0));var h=n.getDerivedStateFromProps,p="function"==typeof h||"function"==typeof o.getSnapshotBeforeUpdate;p||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||i===s&&d===u||Hp(t,o,a,u),fp();var f=t.memoizedState,m=o.state=f;if(hp(t,a,o,r),m=t.memoizedState,i===s&&f===m&&!uu()&&!mp()&&!I)return"function"==typeof o.componentDidUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.flags|=Oa)),"function"==typeof o.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.flags|=Wa)),!1;"function"==typeof h&&(Pp(t,n,h,a),m=t.memoizedState);var g=mp()||zp(t,n,l,a,f,m,u)||I;return g?(p||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(a,m,u),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(a,m,u)),"function"==typeof o.componentDidUpdate&&(t.flags|=Oa),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=Wa)):("function"==typeof o.componentDidUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.flags|=Oa)),"function"==typeof o.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.flags|=Wa)),t.memoizedProps=a,t.memoizedState=m),o.props=a,o.state=m,o.context=u,g}(e,t,n,a,r);var p=ty(e,t,n,h,u,r),f=t.stateNode;return h&&f.props!==a&&(jg||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ht(t)||"a component"),jg=!0),p}function ty(e,t,n,a,r,o){Qg(e,t);var i=(t.flags&Ba)!==Fa;if(!a&&!i)return r&&vu(t,n,!1),Sy(e,t,o);var l,s=t.stateNode;if(Gg.current=t,i&&"function"!=typeof n.getDerivedStateFromError)l=null,bg();else{if(Gr(t),bt(!0),l=s.render(),t.mode&ro){Vr(!0);try{s.render()}finally{Vr(!1)}}bt(!1),Wr()}return t.flags|=za,null!==e&&i?function(e,t,n,a){t.child=Yp(t,e.child,null,a),t.child=Yp(t,null,n,a)}(e,t,l,o):qg(e,t,l,o),t.memoizedState=s.state,r&&vu(t,n,!0),t.child}function ny(e){var t=e.stateNode;t.pendingContext?mu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&mu(e,t.context,!1),af(e,t.containerInfo)}function ay(e,t,n,a,r){return ph(),gh(r),t.flags|=Ua,qg(e,t,n,a),t.child}function ry(e,t,n,a){My(e,t);var r=t.pendingProps,o=n,i=o._payload,c=(0,o._init)(i);t.type=c;var u=t.tag=function(e){if("function"==typeof e)return rx(e)?s:l;if(null!=e){var t=e.$$typeof;if(t===Ae)return v;if(t===Fe)return x}return d}(c),h=Ph(c,r);switch(u){case l:return oy(t,c),t.type=c=Ub(c),Jg(null,t,c,h,a);case s:return t.type=c=Gb(c),ey(null,t,c,h,a);case v:return t.type=c=Wb(c),Yg(null,t,c,h,a);case x:if(t.type!==t.elementType){var p=c.propTypes;p&&Kc(p,h,"prop",ct(c))}return Zg(null,t,c,Ph(c.type,h),a)}var f="";throw null!==c&&"object"==typeof c&&c.$$typeof===ze&&(f=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+c+". Lazy element type must resolve to a class or function."+f)}function oy(e,t){if(t&&t.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",a=gt();a&&(n+="\n\nCheck the render method of `"+a+"`.");var r=a||"",i=e._debugSource;i&&(r=i.fileName+":"+i.lineNumber),Vg[r]||(Vg[r]=!0,o("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if("function"==typeof t.getDerivedStateFromProps){var l=ct(t)||"Unknown";Hg[l]||(o("%s: Function components do not support getDerivedStateFromProps.",l),Hg[l]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var s=ct(t)||"Unknown";Og[s]||(o("%s: Function components do not support contextType.",s),Og[s]=!0)}}zg={},Dg={},Og={},Hg={},Vg={},jg=!1,Bg={},Ug={};var iy={dehydrated:null,treeContext:null,retryLane:ho};function ly(e){return{baseLanes:e,cachePool:null,transitions:null}}function sy(e,t,n){var a=t.pendingProps;Cx(t)&&(t.flags|=Ba);var r=hf.current,i=!1,l=(t.flags&Ba)!==Fa;if(l||function(e,t,n,a){return(null===t||null!==t.memoizedState)&&pf(e,uf)}(r,e)?(i=!0,t.flags&=~Ba):null!==e&&null===e.memoizedState||(r=r|cf),gf(t,r=ff(r)),null===e){ih(t);var s=t.memoizedState;if(null!==s){var d=s.dehydrated;if(null!==d)return function(e,t,n){(e.mode&no)===to?(o("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=po):wc(t)?e.lanes=go:e.lanes=qo;return null}(t,d)}var c=a.children,u=a.fallback;if(i){var h=function(e,t,n,a){var r,o,i=e.mode,l=e.child,s={mode:"hidden",children:t};(i&no)===to&&null!==l?((r=l).childLanes=uo,r.pendingProps=s,e.mode&ao&&(r.actualDuration=0,r.actualStartTime=-1,r.selfBaseDuration=0,r.treeBaseDuration=0),o=dx(n,i,a,null)):(r=cy(s,i),o=dx(n,i,a,null));return r.return=e,o.return=e,r.sibling=o,e.child=r,o}(t,c,u,n);return t.child.memoizedState=ly(n),t.memoizedState=iy,h}return dy(t,c)}var p=e.memoizedState;if(null!==p){var f=p.dehydrated;if(null!==f)return function(e,t,n,a,r,o,i){if(n){if(t.flags&Ua)return t.flags&=~Ua,hy(e,t,i,Rg(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")));if(null!==t.memoizedState)return t.child=e.child,t.flags|=Ba,null;var l=function(e,t,n,a,r){var o=t.mode,i={mode:"visible",children:n},l=cy(i,o),s=dx(a,o,r,null);s.flags|=Da,l.return=t,s.return=t,l.sibling=s,t.child=l,(t.mode&no)!==to&&Yp(t,e.child,null,r);return s}(e,t,a.children,a.fallback,i);return t.child.memoizedState=ly(i),t.memoizedState=iy,l}if(Zu(),(t.mode&no)===to)return hy(e,t,i,null);if(wc(r)){var s,d,c,u=function(e){var t,n,a,r=e.nextSibling&&e.nextSibling.dataset;return r&&(t=r.dgst,n=r.msg,a=r.stck),{message:n,digest:t,stack:a}}(r);return s=u.digest,d=u.message,c=u.stack,hy(e,t,i,Rg(d?new Error(d):new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),s,c))}var h=ui(i,e.childLanes);if(Wg||h){var p=G_();if(null!==p){var f=function(e,t){var n;switch(li(t)){case mo:n=fo;break;case yo:n=go;break;case bo:case xo:case ko:case Eo:case Mo:case So:case wo:case $o:case Ro:case Co:case Po:case To:case Lo:case Ao:case Io:case No:case zo:case Do:case Oo:case Ho:case Vo:n=vo;break;case Wo:n=Go;break;default:n=ho}return(n&(e.suspendedLanes|t))!==ho?ho:n}(p,i);if(f!==ho&&f!==o.retryLane){o.retryLane=f;var m=Zo;Zh(e,f),Z_(p,e,f,m)}}return hb(),hy(e,t,i,Rg(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")))}if(Sc(r)){t.flags|=Ba,t.child=e.child;var g=wb.bind(null,e);return v=g,r._reactRetry=v,null}Qu(t,r,o.treeContext);var y=dy(t,a.children);return y.flags|=Ya,y;var v}(e,t,l,a,f,p,n)}if(i){var m=a.fallback,g=function(e,t,n,a,r){var o,i,l=t.mode,s=e.child,d=s.sibling,c={mode:"hidden",children:n};if((l&no)===to&&t.child!==s){(o=t.child).childLanes=uo,o.pendingProps=c,t.mode&ao&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=s.selfBaseDuration,o.treeBaseDuration=s.treeBaseDuration),t.deletions=null}else(o=uy(s,c)).subtreeFlags=s.subtreeFlags&hr;null!==d?i=ox(d,a):(i=dx(a,l,r,null)).flags|=Da;return i.return=t,o.return=t,o.sibling=i,t.child=o,i}(e,t,a.children,m,n),y=t.child,v=e.child.memoizedState;return y.memoizedState=null===v?ly(n):function(e,t){return{baseLanes:pi(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(v,n),y.childLanes=function(e,t){return fi(e.childLanes,t)}(e,n),t.memoizedState=iy,g}var _=function(e,t,n,a){var r=e.child,o=r.sibling,i=uy(r,{mode:"visible",children:n});(t.mode&no)===to&&(i.lanes=a);if(i.return=t,i.sibling=null,null!==o){var l=t.deletions;null===l?(t.deletions=[o],t.flags|=Ha):l.push(o)}return t.child=i,i}(e,t,a.children,n);return t.memoizedState=null,_}function dy(e,t,n){var a=cy({mode:"visible",children:t},e.mode);return a.return=e,e.child=a,a}function cy(e,t,n){return cx(e,t,uo,null)}function uy(e,t){return ox(e,t)}function hy(e,t,n,a){null!==a&&gh(a),Yp(t,e.child,null,n);var r=dy(t,t.pendingProps.children);return r.flags|=Da,t.memoizedState=null,r}function py(e,t,n){e.lanes=pi(e.lanes,t);var a=e.alternate;null!==a&&(a.lanes=pi(a.lanes,t)),jh(e.return,t,n)}function fy(e,t){var n=Yt(e),a=!n&&"function"==typeof Ve(e);if(n||a){var r=n?"array":"iterable";return o("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",r,t,r),!1}return!0}function my(e,t,n,a,r){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=n,o.tailMode=r)}function gy(e,t,n){var a=t.pendingProps,r=a.revealOrder,i=a.tail,l=a.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!Bg[e])if(Bg[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":o('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":o('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:o('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else o('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(r),function(e,t){void 0===e||Ug[e]||("collapsed"!==e&&"hidden"!==e?(Ug[e]=!0,o('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(Ug[e]=!0,o('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(i,r),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(Yt(e)){for(var n=0;n<e.length;n++)if(!fy(e[n],n))return}else{var a=Ve(e);if("function"==typeof a){var r=a.call(e);if(r)for(var i=r.next(),l=0;!i.done;i=r.next()){if(!fy(i.value,l))return;l++}}else o('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(l,r),qg(e,t,l,n);var s=hf.current;pf(s,uf)?(s=mf(s,uf),t.flags|=Ba):(null!==e&&(e.flags&Ba)!==Fa&&function(e,t,n){for(var a=t;null!==a;){if(a.tag===b)null!==a.memoizedState&&py(a,n,e);else if(a.tag===w)py(a,n,e);else if(null!==a.child){a.child.return=a,a=a.child;continue}if(a===e)return;for(;null===a.sibling;){if(null===a.return||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}}(t,t.child,n),s=ff(s));if(gf(t,s),(t.mode&no)===to)t.memoizedState=null;else switch(r){case"forwards":var d,c=function(e){for(var t=e,n=null;null!==t;){var a=t.alternate;null!==a&&null===_f(a)&&(n=t),t=t.sibling}return n}(t.child);null===c?(d=t.child,t.child=null):(d=c.sibling,c.sibling=null),my(t,!1,d,c,i);break;case"backwards":var u=null,h=t.child;for(t.child=null;null!==h;){var p=h.alternate;if(null!==p&&null===_f(p)){t.child=h;break}var f=h.sibling;h.sibling=u,u=h,h=f}my(t,!0,u,null,i);break;case"together":my(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}var yy=!1;var vy,_y,by,xy,ky=!1;function Ey(){Wg=!0}function My(e,t){(t.mode&no)===to&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=Da)}function Sy(e,t,n){return null!==e&&(t.dependencies=e.dependencies),bg(),ub(t.lanes),ui(n,t.childLanes)?(function(e,t){if(null!==e&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,a=ox(n,n.pendingProps);for(t.child=a,a.return=t;null!==n.sibling;)n=n.sibling,(a=a.sibling=ox(n,n.pendingProps)).return=t;a.sibling=null}}(e,t),t.child):null}function wy(e,t){return!!ui(e.lanes,t)}function $y(e,t,n){if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var a=t.return;if(null===a)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===a.child)a.child=n;else{var r=a.child;if(null===r)throw new Error("Expected parent to have a child.");for(;r.sibling!==t;)if(null===(r=r.sibling))throw new Error("Expected to find the previous sibling.");r.sibling=n}var o=a.deletions;return null===o?(a.deletions=[e],a.flags|=Ha):o.push(e),n.flags|=Da,n}(e,t,lx(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(null!==e)if(e.memoizedProps!==t.pendingProps||uu()||t.type!==e.type)Wg=!0;else{if(!wy(e,n)&&(t.flags&Ba)===Fa)return Wg=!1,function(e,t,n){switch(t.tag){case c:ny(t),t.stateNode,ph();break;case h:lf(t);break;case s:hu(t.type)&&yu(t);break;case u:af(t,t.stateNode.containerInfo);break;case y:var a=t.memoizedProps.value;Hh(t,t.type._context,a);break;case _:ui(n,t.childLanes)&&(t.flags|=Oa);var r=t.stateNode;r.effectDuration=0,r.passiveEffectDuration=0;break;case b:var o=t.memoizedState;if(null!==o){if(null!==o.dehydrated)return gf(t,ff(hf.current)),t.flags|=Ba,null;if(ui(n,t.child.childLanes))return sy(e,t,n);gf(t,ff(hf.current));var i=Sy(e,t,n);return null!==i?i.sibling:null}gf(t,ff(hf.current));break;case w:var l=(e.flags&Ba)!==Fa,d=ui(n,t.childLanes);if(l){if(d)return gy(e,t,n);t.flags|=Ba}var p=t.memoizedState;if(null!==p&&(p.rendering=null,p.tail=null,p.lastEffect=null),gf(t,hf.current),d)break;return null;case R:case C:return t.lanes=uo,Xg(e,t,n)}return Sy(e,t,n)}(e,t,n);Wg=(e.flags&tr)!==Fa}else if(Wg=!1,mh()&&function(e){return Bu(),(e.flags&nr)!==Fa}(t)){var a=t.index;Ou(t,(Bu(),Tu),a)}switch(t.lanes=uo,t.tag){case d:return function(e,t,n,a){My(e,t);var r,i,d,c=t.pendingProps;if(r=cu(t,su(0,n,!1)),Uh(t,a),Gr(t),n.prototype&&"function"==typeof n.prototype.render){var u=ct(n)||"Unknown";zg[u]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",u,u),zg[u]=!0)}if(t.mode&ro&&_h.recordLegacyContextWarning(t,null),bt(!0),Gg.current=t,i=Kf(null,t,n,c,r,a),d=Xf(),bt(!1),Wr(),t.flags|=za,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var h=ct(n)||"Unknown";Dg[h]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",h,h,h),Dg[h]=!0)}if("object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var p=ct(n)||"Unknown";Dg[p]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",p,p,p),Dg[p]=!0),t.tag=s,t.memoizedState=null,t.updateQueue=null;var f=!1;return hu(n)?(f=!0,yu(t)):f=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,op(t),Dp(t,i),Vp(t,n,c,a),ty(null,t,n,!0,f,a)}if(t.tag=l,t.mode&ro){Vr(!0);try{i=Kf(null,t,n,c,r,a),d=Xf()}finally{Vr(!1)}}return mh()&&d&&Hu(t),qg(null,t,i,a),oy(t,n),t.child}(e,t,t.type,n);case E:return ry(e,t,t.elementType,n);case l:var r=t.type,i=t.pendingProps;return Jg(e,t,r,t.elementType===r?i:Ph(r,i),n);case s:var S=t.type,P=t.pendingProps;return ey(e,t,S,t.elementType===S?P:Ph(S,P),n);case c:return function(e,t,n){if(ny(t),null===e)throw new Error("Should have a current fiber. This is a bug in React.");var a=t.pendingProps,r=t.memoizedState,o=r.element;ip(e,t),hp(t,a,null,n);var i=t.memoizedState;t.stateNode;var l=i.element;if(r.isDehydrated){var s={element:l,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions};if(t.updateQueue.baseState=s,t.memoizedState=s,t.flags&Ua)return ay(e,t,l,n,$g(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t));if(l!==o)return ay(e,t,l,n,$g(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t));Xu(t);var d=Zp(t,null,l,n);t.child=d;for(var c=d;c;)c.flags=c.flags&~Da|Ya,c=c.sibling}else{if(ph(),l===o)return Sy(e,t,n);qg(e,t,l,n)}return t.child}(e,t,n);case h:return function(e,t,n){lf(t),null===e&&ih(t);var a=t.type,r=t.pendingProps,o=null!==e?e.memoizedProps:null,i=r.children;return hc(a,r)?i=null:null!==o&&hc(a,o)&&(t.flags|=Va),Qg(e,t),qg(e,t,i,n),t.child}(e,t,n);case p:return function(e,t){return null===e&&ih(t),null}(e,t);case b:return sy(e,t,n);case u:return function(e,t,n){af(t,t.stateNode.containerInfo);var a=t.pendingProps;return null===e?t.child=Yp(t,null,a,n):qg(e,t,a,n),t.child}(e,t,n);case v:var T=t.type,L=t.pendingProps;return Yg(e,t,T,t.elementType===T?L:Ph(T,L),n);case f:return function(e,t,n){return qg(e,t,t.pendingProps,n),t.child}(e,t,n);case m:return function(e,t,n){return qg(e,t,t.pendingProps.children,n),t.child}(e,t,n);case _:return function(e,t,n){t.flags|=Oa;var a=t.stateNode;return a.effectDuration=0,a.passiveEffectDuration=0,qg(e,t,t.pendingProps.children,n),t.child}(e,t,n);case y:return function(e,t,n){var a=t.type._context,r=t.pendingProps,i=t.memoizedProps,l=r.value;"value"in r||yy||(yy=!0,o("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var s=t.type.propTypes;if(s&&Kc(s,r,"prop","Context.Provider"),Hh(t,a,l),null!==i){var d=i.value;if(Es(d,l)){if(i.children===r.children&&!uu())return Sy(e,t,n)}else Bh(t,a,n)}return qg(e,t,r.children,n),t.child}(e,t,n);case g:return function(e,t,n){var a=t.type;void 0===a._context?a!==a.Consumer&&(ky||(ky=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):a=a._context;var r=t.pendingProps.children;"function"!=typeof r&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Uh(t,n);var i,l=Gh(a);return Gr(t),Gg.current=t,bt(!0),i=r(l),bt(!1),Wr(),t.flags|=za,qg(e,t,i,n),t.child}(e,t,n);case x:var A=t.type,I=Ph(A,t.pendingProps);if(t.type!==t.elementType){var N=A.propTypes;N&&Kc(N,I,"prop",ct(A))}return Zg(e,t,A,I=Ph(A.type,I),n);case k:return Kg(e,t,t.type,t.pendingProps,n);case M:var F=t.type,z=t.pendingProps;return function(e,t,n,a,r){var o;return My(e,t),t.tag=s,hu(n)?(o=!0,yu(t)):o=!1,Uh(t,r),Op(t,n,a),Vp(t,n,a,r),ty(null,t,n,!0,o,r)}(e,t,F,t.elementType===F?z:Ph(F,z),n);case w:return gy(e,t,n);case $:break;case R:return Xg(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ry(e){e.flags|=Oa}function Cy(e){e.flags|=Ga,e.flags|=ar}function Py(e,t){if(!mh())switch(e.tailMode){case"hidden":for(var n=e.tail,a=null;null!==n;)null!==n.alternate&&(a=n),n=n.sibling;null===a?e.tail=null:a.sibling=null;break;case"collapsed":for(var r=e.tail,o=null;null!==r;)null!==r.alternate&&(o=r),r=r.sibling;null===o?t||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Ty(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=uo,a=Fa;if(t){if((e.mode&ao)!==to){for(var r=e.selfBaseDuration,o=e.child;null!==o;)n=pi(n,pi(o.lanes,o.childLanes)),a|=o.subtreeFlags&hr,a|=o.flags&hr,r+=o.treeBaseDuration,o=o.sibling;e.treeBaseDuration=r}else for(var i=e.child;null!==i;)n=pi(n,pi(i.lanes,i.childLanes)),a|=i.subtreeFlags&hr,a|=i.flags&hr,i.return=e,i=i.sibling;e.subtreeFlags|=a}else{if((e.mode&ao)!==to){for(var l=e.actualDuration,s=e.selfBaseDuration,d=e.child;null!==d;)n=pi(n,pi(d.lanes,d.childLanes)),a|=d.subtreeFlags,a|=d.flags,l+=d.actualDuration,s+=d.treeBaseDuration,d=d.sibling;e.actualDuration=l,e.treeBaseDuration=s}else for(var c=e.child;null!==c;)n=pi(n,pi(c.lanes,c.childLanes)),a|=c.subtreeFlags,a|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=a}return e.childLanes=n,t}function Ly(e,t,n){if(Wu&&null!==Gu&&(t.mode&no)!==to&&(t.flags&Ba)===Fa)return hh(t),ph(),t.flags|=Ua|Ja|er,!1;var a=uh(t);if(null!==n&&null!==n.dehydrated){if(null===e){if(!a)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(sh(t),Ty(t),(t.mode&ao)!==to)if(null!==n){var r=t.child;null!==r&&(t.treeBaseDuration-=r.treeBaseDuration)}return!1}if(ph(),(t.flags&Ba)===Fa&&(t.memoizedState=null),t.flags|=Oa,Ty(t),(t.mode&ao)!==to&&null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}return fh(),!0}function Ay(e,t,n){var a=t.pendingProps;switch(ju(t),t.tag){case d:case E:case k:case l:case v:case f:case m:case _:case g:case x:return Ty(t),null;case s:return hu(t.type)&&pu(t),Ty(t),null;case c:var r=t.stateNode;if(rf(t),fu(t),wf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null===e||null===e.child)if(uh(t))Ry(t);else if(null!==e)e.memoizedState.isDehydrated&&(t.flags&Ua)===Fa||(t.flags|=Wa,fh());return _y(e,t),Ty(t),null;case h:sf(t);var o=nf(),i=t.type;if(null!==e&&null!=t.stateNode)by(e,t,i,a,o),e.ref!==t.ref&&Cy(t);else{if(!a){if(null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Ty(t),null}var S=of();if(uh(t))(function(e,t,n){var a=e.stateNode,r=!qu,o=Cc(a,e.type,e.memoizedProps,0,n,e,r);return e.updateQueue=o,null!==o})(t,0,S)&&Ry(t);else{var L=uc(i,a,o,S,t);vy(L,t,!1,!1),t.stateNode=L,function(e,t,n,a,r){switch(Vd(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(L,i,a)&&Ry(t)}null!==t.ref&&Cy(t)}return Ty(t),null;case p:var A=a;if(e&&null!=t.stateNode){var I=e.memoizedProps;xy(e,t,I,A)}else{if("string"!=typeof A&&null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var z=nf(),D=of();uh(t)?lh(t)&&Ry(t):t.stateNode=pc(A,z,D,t)}return Ty(t),null;case b:yf(t);var O=t.memoizedState;if(null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)if(!Ly(e,t,O))return t.flags&er?t:null;if((t.flags&Ba)!==Fa)return t.lanes=n,(t.mode&ao)!==to&&wg(t),t;var H=null!==O;if(H!==(null!==e&&null!==e.memoizedState))if(H)if(t.child.flags|=Za,(t.mode&no)!==to)null===e&&(!0!==t.memoizedProps.unstable_avoidThisFallback||!F)||pf(hf.current,cf)?h_===Jv&&(h_=n_):hb();if(null!==t.updateQueue&&(t.flags|=Oa),Ty(t),(t.mode&ao)!==to&&H){var V=t.child;null!==V&&(t.treeBaseDuration-=V.treeBaseDuration)}return null;case u:return rf(t),_y(e,t),null===e&&ud(t.stateNode.containerInfo),Ty(t),null;case y:return Vh(t.type._context,t),Ty(t),null;case M:return hu(t.type)&&pu(t),Ty(t),null;case w:yf(t);var j=t.memoizedState;if(null===j)return Ty(t),null;var B=(t.flags&Ba)!==Fa,U=j.rendering;if(null===U)if(B)Py(j,!1);else{if(!(h_===Jv&&(null===e||(e.flags&Ba)===Fa)))for(var G=t.child;null!==G;){var W=_f(G);if(null!==W){B=!0,t.flags|=Ba,Py(j,!1);var q=W.updateQueue;return null!==q&&(t.updateQueue=q,t.flags|=Oa),t.subtreeFlags=Fa,Kp(t,n),gf(t,mf(hf.current,uf)),t.child}G=G.sibling}null!==j.tail&&$r()>S_()&&(t.flags|=Ba,B=!0,Py(j,!1),t.lanes=jo)}else{if(!B){var Y=_f(U);if(null!==Y){t.flags|=Ba,B=!0;var Z=Y.updateQueue;if(null!==Z&&(t.updateQueue=Z,t.flags|=Oa),Py(j,!0),null===j.tail&&"hidden"===j.tailMode&&!U.alternate&&!mh())return Ty(t),null}else 2*$r()-j.renderingStartTime>S_()&&n!==qo&&(t.flags|=Ba,B=!0,Py(j,!1),t.lanes=jo)}if(j.isBackwards)U.sibling=t.child,t.child=U;else{var K=j.last;null!==K?K.sibling=U:t.child=U,j.last=U}}if(null!==j.tail){var X=j.tail;j.rendering=X,j.tail=X.sibling,j.renderingStartTime=$r(),X.sibling=null;var Q=hf.current;return gf(t,Q=B?mf(Q,uf):ff(Q)),X}return Ty(t),null;case $:break;case R:case C:ib(t);var J=null!==t.memoizedState;if(null!==e)null!==e.memoizedState===J||N||(t.flags|=Za);return J&&(t.mode&no)!==to?ui(c_,qo)&&(Ty(t),t.subtreeFlags&(Da|Oa)&&(t.flags|=Za)):Ty(t),null;case P:case T:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Iy(e,t,n){switch(ju(t),t.tag){case s:hu(t.type)&&pu(t);var a=t.flags;return a&er?(t.flags=a&~er|Ba,(t.mode&ao)!==to&&wg(t),t):null;case c:t.stateNode,rf(t),fu(t),wf();var r=t.flags;return(r&er)!==Fa&&(r&Ba)===Fa?(t.flags=r&~er|Ba,t):null;case h:return sf(t),null;case b:yf(t);var o=t.memoizedState;if(null!==o&&null!==o.dehydrated){if(null===t.alternate)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ph()}var i=t.flags;return i&er?(t.flags=i&~er|Ba,(t.mode&ao)!==to&&wg(t),t):null;case w:return yf(t),null;case u:return rf(t),null;case y:return Vh(t.type._context,t),null;case R:case C:return ib(t),null;default:return null}}function Ny(e,t,n){switch(ju(t),t.tag){case s:var a=t.type.childContextTypes;null!=a&&pu(t);break;case c:t.stateNode,rf(t),fu(t),wf();break;case h:sf(t);break;case u:rf(t);break;case b:case w:yf(t);break;case y:Vh(t.type._context,t);break;case R:case C:ib(t)}}vy=function(e,t,n,a){for(var r,o,i=t.child;null!==i;){if(i.tag===h||i.tag===p)r=e,o=i.stateNode,r.appendChild(o);else if(i.tag===u);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)return;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},_y=function(e,t){},by=function(e,t,n,a,r){var o=e.memoizedProps;if(o!==a){var i=function(e,t,n,a,r,o){var i=o;if(typeof a.children!=typeof n.children&&("string"==typeof a.children||"number"==typeof a.children)){var l=""+a.children,s=Zd(i.ancestorInfo,t);Yd(null,l,s)}return jd(e,t,n,a)}(t.stateNode,n,o,a,0,of());t.updateQueue=i,i&&Ry(t)}},xy=function(e,t,n,a){n!==a&&Ry(t)};var Fy=null;Fy=new Set;var zy=!1,Dy=!1,Oy="function"==typeof WeakSet?WeakSet:Set,Hy=null,Vy=null,jy=null;var By=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&ao)try{Mg(),t.componentWillUnmount()}finally{kg(e)}else t.componentWillUnmount()};function Uy(e,t){try{ev(Ef,e)}catch(n){Eb(e,t,n)}}function Gy(e,t,n){try{By(e,n)}catch(n){Eb(e,t,n)}}function Wy(e,t){try{rv(e)}catch(n){Eb(e,t,n)}}function qy(e,t){var n=e.ref;if(null!==n)if("function"==typeof n){var a;try{if(V&&j&&e.mode&ao)try{Mg(),a=n(null)}finally{kg(e)}else a=n(null)}catch(n){Eb(e,t,n)}"function"==typeof a&&o("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ht(e))}else n.current=null}function Yy(e,t,n){try{n()}catch(n){Eb(e,t,n)}}var Zy=!1;function Ky(e,t){cc(e.containerInfo),Hy=t,function(){for(;null!==Hy;){var e=Hy,t=e.child;(e.subtreeFlags&sr)!==Fa&&null!==t?(t.return=e,Hy=t):Xy()}}();var n=Zy;return Zy=!1,n}function Xy(){for(;null!==Hy;){var e=Hy;_t(e);try{Qy(e)}catch(t){Eb(e,e.return,t)}vt();var t=e.sibling;if(null!==t)return t.return=e.return,void(Hy=t);Hy=e.return}}function Qy(e){var t,n=e.alternate;if((e.flags&Wa)!==Fa){switch(_t(e),e.tag){case l:case v:case k:break;case s:if(null!==n){var a=n.memoizedProps,r=n.memoizedState,i=e.stateNode;e.type!==e.elementType||jg||(i.props!==e.memoizedProps&&o("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(e)||"instance"),i.state!==e.memoizedState&&o("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(e)||"instance"));var d=i.getSnapshotBeforeUpdate(e.elementType===e.type?a:Ph(e.type,a),r),f=Fy;void 0!==d||f.has(e.type)||(f.add(e.type),o("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ht(e))),i.__reactInternalSnapshotBeforeUpdate=d}break;case c:var m=e.stateNode;(t=m.containerInfo).nodeType===fn?t.textContent="":t.nodeType===yn&&t.documentElement&&t.removeChild(t.documentElement);break;case h:case p:case u:case M:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}vt()}}function Jy(e,t,n){var a,r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next,l=i;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,void 0!==s&&((e&Mf)!==bf?(a=t,null!==Dr&&"function"==typeof Dr.markComponentPassiveEffectUnmountStarted&&Dr.markComponentPassiveEffectUnmountStarted(a)):(e&Ef)!==bf&&Yr(t),(e&kf)!==bf&&Hb(!0),Yy(t,n,s),(e&kf)!==bf&&Hb(!1),(e&Mf)!==bf?null!==Dr&&"function"==typeof Dr.markComponentPassiveEffectUnmountStopped&&Dr.markComponentPassiveEffectUnmountStopped():(e&Ef)!==bf&&Zr())}l=l.next}while(l!==i)}}function ev(e,t){var n,a=t.updateQueue,r=null!==a?a.lastEffect:null;if(null!==r){var i=r.next,l=i;do{if((l.tag&e)===e){(e&Mf)!==bf?(n=t,null!==Dr&&"function"==typeof Dr.markComponentPassiveEffectMountStarted&&Dr.markComponentPassiveEffectMountStarted(n)):(e&Ef)!==bf&&qr(t);var s=l.create;(e&kf)!==bf&&Hb(!0),l.destroy=s(),(e&kf)!==bf&&Hb(!1),(e&Mf)!==bf?null!==Dr&&"function"==typeof Dr.markComponentPassiveEffectMountStopped&&Dr.markComponentPassiveEffectMountStopped():(e&Ef)!==bf&&null!==Dr&&"function"==typeof Dr.markComponentLayoutEffectMountStopped&&Dr.markComponentLayoutEffectMountStopped();var d=l.destroy;if(void 0!==d&&"function"!=typeof d){var c=void 0;o("%s must not return anything besides a function, which is used for clean-up.%s",c=(l.tag&Ef)!==Fa?"useLayoutEffect":(l.tag&kf)!==Fa?"useInsertionEffect":"useEffect",null===d?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof d.then?"\n\nIt looks like you wrote "+c+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+c+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching":" You returned: "+d)}}l=l.next}while(l!==i)}}function tv(e,t){if((t.flags&Oa)!==Fa&&t.tag===_){var n=t.stateNode.passiveEffectDuration,a=t.memoizedProps,r=a.id,o=a.onPostCommit,i=yg(),l=null===t.alternate?"mount":"update";gg()&&(l="nested-update"),"function"==typeof o&&o(r,l,n,i);var s=t.return;e:for(;null!==s;){switch(s.tag){case c:s.stateNode.passiveEffectDuration+=n;break e;case _:s.stateNode.passiveEffectDuration+=n;break e}s=s.return}}}function nv(e,t,n,a){if((n.flags&cr)!==Fa)switch(n.tag){case l:case v:case k:if(!Dy)if(n.mode&ao)try{Mg(),ev(Ef|xf,n)}finally{kg(n)}else ev(Ef|xf,n);break;case s:var r=n.stateNode;if(n.flags&Oa&&!Dy)if(null===t)if(n.type!==n.elementType||jg||(r.props!==n.memoizedProps&&o("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),r.state!==n.memoizedState&&o("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),n.mode&ao)try{Mg(),r.componentDidMount()}finally{kg(n)}else r.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:Ph(n.type,t.memoizedProps),d=t.memoizedState;if(n.type!==n.elementType||jg||(r.props!==n.memoizedProps&&o("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),r.state!==n.memoizedState&&o("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),n.mode&ao)try{Mg(),r.componentDidUpdate(i,d,r.__reactInternalSnapshotBeforeUpdate)}finally{kg(n)}else r.componentDidUpdate(i,d,r.__reactInternalSnapshotBeforeUpdate)}var f=n.updateQueue;null!==f&&(n.type!==n.elementType||jg||(r.props!==n.memoizedProps&&o("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),r.state!==n.memoizedState&&o("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),gp(0,f,r));break;case c:var m=n.updateQueue;if(null!==m){var g=null;if(null!==n.child)switch(n.child.tag){case h:case s:g=n.child.stateNode}gp(0,m,g)}break;case h:var y=n.stateNode;if(null===t&&n.flags&Oa)!function(e,t,n,a){switch(t){case"button":case"input":case"select":case"textarea":return void(n.autoFocus&&e.focus());case"img":n.src&&(e.src=n.src)}}(y,n.type,n.memoizedProps);break;case p:case u:break;case _:var x=n.memoizedProps,E=x.onCommit,S=x.onRender,P=n.stateNode.effectDuration,L=yg(),A=null===t?"mount":"update";gg()&&(A="nested-update"),"function"==typeof S&&S(n.memoizedProps.id,A,n.actualDuration,n.treeBaseDuration,n.actualStartTime,L),"function"==typeof E&&E(n.memoizedProps.id,A,P,L),N=n,L_.push(N),C_||(C_=!0,zb(Tr,(function(){return _b(),null})));var I=n.return;e:for(;null!==I;){switch(I.tag){case c:I.stateNode.effectDuration+=P;break e;case _:I.stateNode.effectDuration+=P;break e}I=I.return}break;case b:!function(e,t){var n=t.memoizedState;if(null===n){var a=t.alternate;if(null!==a){var r=a.memoizedState;if(null!==r){var o=r.dehydrated;null!==o&&function(e){el(e)}(o)}}}}(0,n);break;case w:case M:case $:case R:case C:case T:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}var N;Dy||n.flags&Ga&&rv(n)}function av(e){switch(e.tag){case l:case v:case k:if(e.mode&ao)try{Mg(),Uy(e,e.return)}finally{kg(e)}else Uy(e,e.return);break;case s:var t=e.stateNode;"function"==typeof t.componentDidMount&&function(e,t,n){try{n.componentDidMount()}catch(n){Eb(e,t,n)}}(e,e.return,t),Wy(e,e.return);break;case h:Wy(e,e.return)}}function rv(e){var t=e.ref;if(null!==t){var n,a=e.stateNode;if(e.tag,n=a,"function"==typeof t){var r;if(e.mode&ao)try{Mg(),r=t(n)}finally{kg(e)}else r=t(n);"function"==typeof r&&o("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ht(e))}else t.hasOwnProperty("current")||o("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ht(e)),t.current=n}}function ov(e){var t,n=e.alternate;if(null!==n&&(e.alternate=null,ov(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===h){var a=e.stateNode;null!==a&&(delete(t=a)[Lc],delete t[Ac],delete t[Nc],delete t[Fc],delete t[zc])}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function iv(e){return e.tag===h||e.tag===c||e.tag===u}function lv(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||iv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==h&&t.tag!==p&&t.tag!==S;){if(t.flags&Da)continue e;if(null===t.child||t.tag===u)continue e;t.child.return=t,t=t.child}if(!(t.flags&Da))return t.stateNode}}function sv(e){var t=function(e){for(var t=e.return;null!==t;){if(iv(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e);switch(t.tag){case h:var n=t.stateNode;t.flags&Va&&(bc(n),t.flags&=~Va),cv(e,lv(e),n);break;case c:case u:var a=t.stateNode.containerInfo;dv(e,lv(e),a);break;default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function dv(e,t,n){var a=e.tag;if(a===h||a===p){var r=e.stateNode;t?function(e,t,n){e.nodeType===gn?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(n,r,t):function(e,t){var n;e.nodeType===gn?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t),null==e._reactRootContainer&&null===n.onclick&&Hd(n)}(n,r)}else if(a===u);else{var o=e.child;if(null!==o){dv(o,t,n);for(var i=o.sibling;null!==i;)dv(i,t,n),i=i.sibling}}}function cv(e,t,n){var a=e.tag;if(a===h||a===p){var r=e.stateNode;t?function(e,t,n){e.insertBefore(t,n)}(n,r,t):function(e,t){e.appendChild(t)}(n,r)}else if(a===u);else{var o=e.child;if(null!==o){cv(o,t,n);for(var i=o.sibling;null!==i;)cv(i,t,n),i=i.sibling}}}var uv=null,hv=!1;function pv(e,t,n){var a,r,o=t;e:for(;null!==o;){switch(o.tag){case h:uv=o.stateNode,hv=!1;break e;case c:case u:uv=o.stateNode.containerInfo,hv=!0;break e}o=o.return}if(null===uv)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");mv(e,t,n),uv=null,hv=!1,null!==(r=(a=n).alternate)&&(r.return=null),a.return=null}function fv(e,t,n){for(var a=n.child;null!==a;)mv(e,t,a),a=a.sibling}function mv(e,t,n){switch(function(e){if(zr&&"function"==typeof zr.onCommitFiberUnmount)try{zr.onCommitFiberUnmount(Fr,e)}catch(e){Or||(Or=!0,o("React instrumentation encountered an error: %s",e))}}(n),n.tag){case h:Dy||qy(n,t);case p:var a=uv,r=hv;return uv=null,fv(e,t,n),hv=r,void(null!==(uv=a)&&(hv?(w=uv,C=n.stateNode,w.nodeType===gn?w.parentNode.removeChild(C):w.removeChild(C)):function(e,t){e.removeChild(t)}(uv,n.stateNode)));case S:return void(null!==uv&&(hv?function(e,t){e.nodeType===gn?xc(e.parentNode,t):e.nodeType===fn&&xc(e,t),el(e)}(uv,n.stateNode):xc(uv,n.stateNode)));case u:var i=uv,d=hv;return uv=n.stateNode.containerInfo,hv=!0,fv(e,t,n),uv=i,void(hv=d);case l:case v:case x:case k:if(!Dy){var c=n.updateQueue;if(null!==c){var f=c.lastEffect;if(null!==f){var m=f.next,g=m;do{var y=g,_=y.destroy,b=y.tag;void 0!==_&&((b&kf)!==bf?Yy(n,t,_):(b&Ef)!==bf&&(Yr(n),n.mode&ao?(Mg(),Yy(n,t,_),kg(n)):Yy(n,t,_),Zr())),g=g.next}while(g!==m)}}}return void fv(e,t,n);case s:if(!Dy){qy(n,t);var E=n.stateNode;"function"==typeof E.componentWillUnmount&&Gy(n,t,E)}return void fv(e,t,n);case $:return void fv(e,t,n);case R:if(n.mode&no){var M=Dy;Dy=M||null!==n.memoizedState,fv(e,t,n),Dy=M}else fv(e,t,n);break;default:return void fv(e,t,n)}var w,C}function gv(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Oy),t.forEach((function(t){var a=$b.bind(null,e,t);if(!n.has(t)){if(n.add(t),Hr){if(null===Vy||null===jy)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Nb(jy,Vy)}t.then(a,a)}}))}}function yv(e,t,n){var a=t.deletions;if(null!==a)for(var r=0;r<a.length;r++){var o=a[r];try{pv(e,t,o)}catch(e){Eb(o,t,e)}}var i=ft;if(t.subtreeFlags&dr)for(var l=t.child;null!==l;)_t(l),vv(l,e),l=l.sibling;_t(i)}function vv(e,t,n){var a=e.alternate,r=e.flags;switch(e.tag){case l:case v:case x:case k:if(yv(t,e),_v(e),r&Oa){try{Jy(kf|xf,e,e.return),ev(kf|xf,e)}catch(t){Eb(e,e.return,t)}if(e.mode&ao){try{Mg(),Jy(Ef|xf,e,e.return)}catch(t){Eb(e,e.return,t)}kg(e)}else try{Jy(Ef|xf,e,e.return)}catch(t){Eb(e,e.return,t)}}return;case s:return yv(t,e),_v(e),void(r&Ga&&null!==a&&qy(a,a.return));case h:if(yv(t,e),_v(e),r&Ga&&null!==a&&qy(a,a.return),e.flags&Va){var o=e.stateNode;try{bc(o)}catch(t){Eb(e,e.return,t)}}if(r&Oa){var i=e.stateNode;if(null!=i){var d=e.memoizedProps,f=null!==a?a.memoizedProps:d,m=e.type,g=e.updateQueue;if(e.updateQueue=null,null!==g)try{!function(e,t,n,a,r,o){Bd(e,t,n,a,r),Wc(e,r)}(i,g,m,f,d)}catch(t){Eb(e,e.return,t)}}}return;case p:if(yv(t,e),_v(e),r&Oa){if(null===e.stateNode)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var y=e.stateNode,_=e.memoizedProps;null!==a&&a.memoizedProps;try{!function(e,t,n){e.nodeValue=n}(y,0,_)}catch(t){Eb(e,e.return,t)}}return;case c:if(yv(t,e),_v(e),r&Oa)if(null!==a)if(a.memoizedState.isDehydrated)try{el(t.containerInfo)}catch(t){Eb(e,e.return,t)}return;case u:return yv(t,e),void _v(e);case b:yv(t,e),_v(e);var E=e.child;if(E.flags&Za){var M=E.stateNode,S=null!==E.memoizedState;if(M.isHidden=S,S)null!==E.alternate&&null!==E.alternate.memoizedState||(__=$r())}if(r&Oa){try{!function(e){e.memoizedState}(e)}catch(t){Eb(e,e.return,t)}gv(e)}return;case R:var P=null!==a&&null!==a.memoizedState;if(e.mode&no){var T=Dy;Dy=T||P,yv(t,e),Dy=T}else yv(t,e);if(_v(e),r&Za){var L=e.stateNode,A=null!==e.memoizedState,I=e;if(L.isHidden=A,A&&!P&&(I.mode&no)!==to){Hy=I;for(var N=I.child;null!==N;)Hy=N,Ev(N),N=N.sibling}!function(e,t){for(var n=null,a=e;;){if(a.tag===h){if(null===n){n=a;try{var r=a.stateNode;t?kc(r):Ec(a.stateNode,a.memoizedProps)}catch(t){Eb(e,e.return,t)}}}else if(a.tag===p){if(null===n)try{var o=a.stateNode;t?o.nodeValue="":Mc(o,a.memoizedProps)}catch(t){Eb(e,e.return,t)}}else if((a.tag!==R&&a.tag!==C||null===a.memoizedState||a===e)&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===e)return;for(;null===a.sibling;){if(null===a.return||a.return===e)return;n===a&&(n=null),a=a.return}n===a&&(n=null),a.sibling.return=a.return,a=a.sibling}}(I,A)}return;case w:return yv(t,e),_v(e),void(r&Oa&&gv(e));case $:return;default:return yv(t,e),void _v(e)}}function _v(e){var t=e.flags;if(t&Da){try{sv(e)}catch(t){Eb(e,e.return,t)}e.flags&=~Da}t&Ya&&(e.flags&=~Ya)}function bv(e,t,n){Vy=n,jy=t,Hy=e,xv(e,t,n),Vy=null,jy=null}function xv(e,t,n){for(var a=(e.mode&no)!==to;null!==Hy;){var r=Hy,o=r.child;if(r.tag===R&&a){var i=null!==r.memoizedState||zy;if(i){kv(e,t,n);continue}var l=r.alternate,s=null!==l&&null!==l.memoizedState,d=zy,c=Dy;zy=i,(Dy=s||Dy)&&!c&&(Hy=r,Sv(r));for(var u=o;null!==u;)Hy=u,xv(u,t,n),u=u.sibling;Hy=r,zy=d,Dy=c,kv(e,t,n)}else(r.subtreeFlags&cr)!==Fa&&null!==o?(o.return=r,Hy=o):kv(e,t,n)}}function kv(e,t,n){for(;null!==Hy;){var a=Hy;if((a.flags&cr)!==Fa){var r=a.alternate;_t(a);try{nv(0,r,a)}catch(e){Eb(a,a.return,e)}vt()}if(a===e)return void(Hy=null);var o=a.sibling;if(null!==o)return o.return=a.return,void(Hy=o);Hy=a.return}}function Ev(e){for(;null!==Hy;){var t=Hy,n=t.child;switch(t.tag){case l:case v:case x:case k:if(t.mode&ao)try{Mg(),Jy(Ef,t,t.return)}finally{kg(t)}else Jy(Ef,t,t.return);break;case s:qy(t,t.return);var a=t.stateNode;"function"==typeof a.componentWillUnmount&&Gy(t,t.return,a);break;case h:qy(t,t.return);break;case R:if(null!==t.memoizedState){Mv(e);continue}}null!==n?(n.return=t,Hy=n):Mv(e)}}function Mv(e){for(;null!==Hy;){var t=Hy;if(t===e)return void(Hy=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Hy=n);Hy=t.return}}function Sv(e){for(;null!==Hy;){var t=Hy,n=t.child;if(t.tag===R)if(null!==t.memoizedState){wv(e);continue}null!==n?(n.return=t,Hy=n):wv(e)}}function wv(e){for(;null!==Hy;){var t=Hy;_t(t);try{av(t)}catch(e){Eb(t,t.return,e)}if(vt(),t===e)return void(Hy=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Hy=n);Hy=t.return}}function $v(e,t,n,a){Hy=t,function(e,t,n,a){for(;null!==Hy;){var r=Hy,o=r.child;(r.subtreeFlags&ur)!==Fa&&null!==o?(o.return=r,Hy=o):Rv(e,t,n,a)}}(t,e,n,a)}function Rv(e,t,n,a){for(;null!==Hy;){var r=Hy;if((r.flags&qa)!==Fa){_t(r);try{Cv(t,r,n,a)}catch(e){Eb(r,r.return,e)}vt()}if(r===e)return void(Hy=null);var o=r.sibling;if(null!==o)return o.return=r.return,void(Hy=o);Hy=r.return}}function Cv(e,t,n,a){switch(t.tag){case l:case v:case k:if(t.mode&ao){Sg();try{ev(Mf|xf,t)}finally{Eg(t)}}else ev(Mf|xf,t)}}function Pv(e){Hy=e,function(){for(;null!==Hy;){var e=Hy,t=e.child;if((Hy.flags&Ha)!==Fa){var n=e.deletions;if(null!==n){for(var a=0;a<n.length;a++){var r=n[a];Hy=r,Av(r,e)}var o=e.alternate;if(null!==o){var i=o.child;if(null!==i){o.child=null;do{var l=i.sibling;i.sibling=null,i=l}while(null!==i)}}Hy=e}}(e.subtreeFlags&ur)!==Fa&&null!==t?(t.return=e,Hy=t):Tv()}}()}function Tv(){for(;null!==Hy;){var e=Hy;(e.flags&qa)!==Fa&&(_t(e),Lv(e),vt());var t=e.sibling;if(null!==t)return t.return=e.return,void(Hy=t);Hy=e.return}}function Lv(e){switch(e.tag){case l:case v:case k:e.mode&ao?(Sg(),Jy(Mf|xf,e,e.return),Eg(e)):Jy(Mf|xf,e,e.return)}}function Av(e,t){for(;null!==Hy;){var n=Hy;_t(n),Nv(n,t),vt();var a=n.child;null!==a?(a.return=n,Hy=a):Iv(e)}}function Iv(e){for(;null!==Hy;){var t=Hy,n=t.sibling,a=t.return;if(ov(t),t===e)return void(Hy=null);if(null!==n)return n.return=a,void(Hy=n);Hy=a}}function Nv(e,t){switch(e.tag){case l:case v:case k:e.mode&ao?(Sg(),Jy(Mf,e,t),Eg(e)):Jy(Mf,e,t)}}function Fv(e){switch(e.tag){case l:case v:case k:try{ev(Ef|xf,e)}catch(t){Eb(e,e.return,t)}break;case s:var t=e.stateNode;try{t.componentDidMount()}catch(t){Eb(e,e.return,t)}}}function zv(e){switch(e.tag){case l:case v:case k:try{ev(Mf|xf,e)}catch(t){Eb(e,e.return,t)}}}function Dv(e){switch(e.tag){case l:case v:case k:try{Jy(Ef|xf,e,e.return)}catch(t){Eb(e,e.return,t)}break;case s:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&Gy(e,e.return,t)}}function Ov(e){switch(e.tag){case l:case v:case k:try{Jy(Mf|xf,e,e.return)}catch(t){Eb(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var Hv=Symbol.for;Hv("selector.component"),Hv("selector.has_pseudo_class"),Hv("selector.role"),Hv("selector.test_id"),Hv("selector.text")}var Vv=[];var jv=n.ReactCurrentActQueue;function Bv(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===jv.current||o("The current testing environment is not configured to support act(...)"),e}var Uv=Math.ceil,Gv=n.ReactCurrentDispatcher,Wv=n.ReactCurrentOwner,qv=n.ReactCurrentBatchConfig,Yv=n.ReactCurrentActQueue,Zv=0,Kv=1,Xv=2,Qv=4,Jv=0,e_=1,t_=2,n_=3,a_=4,r_=5,o_=6,i_=Zv,l_=null,s_=null,d_=uo,c_=uo,u_=tu(uo),h_=Jv,p_=null,f_=uo,m_=uo,g_=uo,y_=null,v_=null,__=0,b_=500,x_=1/0,k_=500,E_=null;function M_(){x_=$r()+k_}function S_(){return x_}var w_=!1,$_=null,R_=null,C_=!1,P_=null,T_=uo,L_=[],A_=null,I_=50,N_=0,F_=null,z_=!1,D_=!1,O_=50,H_=0,V_=null,j_=Zo,B_=uo,U_=!1;function G_(){return l_}function W_(){return(i_&(Xv|Qv))!==Zv?$r():j_!==Zo?j_:j_=$r()}function q_(e){if((e.mode&no)===to)return po;if((i_&Xv)!==Zv&&d_!==uo)return si(d_);if(yh.transition!==vh){if(null!==qv.transition){var t=qv.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return B_===ho&&(B_=ii()),B_}var n,a=Li();return a!==ho?a:void 0===(n=window.event)?Ci:dl(n.type)}function Y_(e){var t;return(e.mode&no)===to?po:(t=Xo,((Xo<<=1)&Fo)===uo&&(Xo=zo),t)}function Z_(e,t,n,a){!function(){if(N_>I_)throw N_=0,F_=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");H_>O_&&(H_=0,V_=null,o("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),U_&&o("useInsertionEffect must not schedule updates."),z_&&(D_=!0),yi(e,n,a),(i_&Xv)!==uo&&e===l_?function(e){if(mt&&!Um)switch(e.tag){case l:case v:case k:var t=s_&&ht(s_)||"Unknown",n=t;if(!Ab.has(n))Ab.add(n),o("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",ht(e)||"Unknown",t,t);break;case s:Ib||(o("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Ib=!0)}}(t):(Hr&&bi(e,t,n),function(e){if(e.mode&no){if(!Bv())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(i_!==Zv)return;if(e.tag!==l&&e.tag!==v&&e.tag!==k)return}var t;if(null===Yv.current){var n=ft;try{_t(e),o("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act",ht(e))}finally{n?_t(e):vt()}}}(t),e===l_&&((i_&Xv)===Zv&&(m_=pi(m_,n)),h_===a_&&eb(e,d_)),K_(e,a),n!==po||i_!==Zv||(t.mode&no)!==to||Yv.isBatchingLegacy||(M_(),wu()))}function K_(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,a=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=n;i>0;){var l=di(i),s=1<<l,d=o[l];d===Zo?(s&a)!==uo&&(s&r)===uo||(o[l]=ei(s,t)):d<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var a=Jo(e,e===l_?d_:uo);if(a===uo)return null!==n&&Db(n),e.callbackNode=null,void(e.callbackPriority=ho);var r=li(a),i=e.callbackPriority;if(i!==r||null!==Yv.current&&n!==Fb){var l,s;if(null!=n&&Db(n),r===po)e.tag===bu?(null!==Yv.isBatchingLegacy&&(Yv.didScheduleLegacyUpdate=!0),s=tb.bind(null,e),Eu=!0,Su(s)):Su(tb.bind(null,e)),null!==Yv.current?Yv.current.push($u):vc((function(){(i_&(Xv|Qv))===Zv&&$u()})),l=null;else{var d;switch(Ni(a)){case $i:d=Cr;break;case Ri:d=Pr;break;case Ci:d=Tr;break;case Pi:d=Ar;break;default:d=Tr}l=zb(d,X_.bind(null,e))}e.callbackPriority=r,e.callbackNode=l}else null==n&&i!==po&&o("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function X_(e,t){if(fg=!1,mg=!1,j_=Zo,B_=uo,(i_&(Xv|Qv))!==Zv)throw new Error("Should not already be working.");var n=e.callbackNode;if(_b()&&e.callbackNode!==n)return null;var a=Jo(e,e===l_?d_:uo);if(a===uo)return null;var r=!ri(0,a)&&!function(e,t){return(t&e.expiredLanes)!==uo}(e,a)&&!t,o=r?function(e,t){var n=i_;i_|=Xv;var a=db();if(l_!==e||d_!==t){if(Hr){var r=e.memoizedUpdaters;r.size>0&&(Nb(e,d_),r.clear()),xi(e,t)}E_=null,M_(),lb(e,t)}Qr(t);for(;;)try{mb();break}catch(t){sb(e,t)}return zh(),cb(a),i_=n,null!==s_?(null!==Dr&&"function"==typeof Dr.markRenderYielded&&Dr.markRenderYielded(),Jv):(Jr(),l_=null,d_=uo,h_)}(e,a):pb(e,a);if(o!==Jv){if(o===t_){var i=ti(e);i!==uo&&(a=i,o=Q_(e,i))}if(o===e_){var l=p_;throw lb(e,uo),eb(e,a),K_(e,$r()),l}if(o===o_)eb(e,a);else{var s=!ri(0,a),d=e.current.alternate;if(s&&!function(e){var t=e;for(;;){if(t.flags&Ka){var n=t.updateQueue;if(null!==n){var a=n.stores;if(null!==a)for(var r=0;r<a.length;r++){var o=a[r],i=o.getSnapshot,l=o.value;try{if(!Es(i(),l))return!1}catch(e){return!1}}}}var s=t.child;if(t.subtreeFlags&Ka&&null!==s)s.return=t,t=s;else{if(t===e)return!0;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}(d)){if((o=pb(e,a))===t_){var c=ti(e);c!==uo&&(a=c,o=Q_(e,c))}if(o===e_){var u=p_;throw lb(e,uo),eb(e,a),K_(e,$r()),u}}e.finishedWork=d,e.finishedLanes=a,function(e,t,n){switch(t){case Jv:case e_:throw new Error("Root did not complete. This is a bug in React.");case t_:vb(e,v_,E_);break;case n_:if(eb(e,n),ai(n)&&!Ob()){var a=__+b_-$r();if(a>10){if(Jo(e,uo)!==uo)break;var r=e.suspendedLanes;if(!hi(r,n)){W_(),vi(e,r);break}e.timeoutHandle=fc(vb.bind(null,e,v_,E_),a);break}}vb(e,v_,E_);break;case a_:if(eb(e,n),function(e){return(e&_o)===e}(n))break;if(!Ob()){var o=function(e,t){for(var n=e.eventTimes,a=Zo;t>0;){var r=di(t),o=1<<r,i=n[r];i>a&&(a=i),t&=~o}return a}(e,n),i=o,l=$r()-i,s=((d=l)<120?120:d<480?480:d<1080?1080:d<1920?1920:d<3e3?3e3:d<4320?4320:1960*Uv(d/1960))-l;if(s>10){e.timeoutHandle=fc(vb.bind(null,e,v_,E_),s);break}}vb(e,v_,E_);break;case r_:vb(e,v_,E_);break;default:throw new Error("Unknown root exit status.")}var d}(e,o,a)}}return K_(e,$r()),e.callbackNode===n?X_.bind(null,e):null}function Q_(e,t){var n=y_;Fi(e)&&(lb(e,t).flags|=Ua,o("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase()));var a=pb(e,t);if(a!==t_){var r=v_;v_=n,null!==r&&J_(r)}return a}function J_(e){null===v_?v_=e:v_.push.apply(v_,e)}function eb(e,t){t=fi(t,g_),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,a=t;a>0;){var r=di(a),o=1<<r;n[r]=Zo,a&=~o}}(e,t=fi(t,m_))}function tb(e){if(fg=mg,mg=!1,(i_&(Xv|Qv))!==Zv)throw new Error("Should not already be working.");_b();var t=Jo(e,uo);if(!ui(t,po))return K_(e,$r()),null;var n=pb(e,t);if(e.tag!==bu&&n===t_){var a=ti(e);a!==uo&&(t=a,n=Q_(e,a))}if(n===e_){var r=p_;throw lb(e,uo),eb(e,t),K_(e,$r()),r}if(n===o_)throw new Error("Root did not complete. This is a bug in React.");var o=e.current.alternate;return e.finishedWork=o,e.finishedLanes=t,vb(e,v_,E_),K_(e,$r()),null}function nb(e,t){var n=i_;i_|=Kv;try{return e(t)}finally{(i_=n)!==Zv||Yv.isBatchingLegacy||(M_(),wu())}}function ab(e){null!==P_&&P_.tag===bu&&(i_&(Xv|Qv))===Zv&&_b();var t=i_;i_|=Kv;var n=qv.transition,a=Li();try{return qv.transition=null,Ai($i),e?e():void 0}finally{Ai(a),qv.transition=n,((i_=t)&(Xv|Qv))===Zv&&$u()}}function rb(){return(i_&(Xv|Qv))!==Zv}function ob(e,t){au(u_,c_,e),c_=pi(c_,t)}function ib(e){c_=u_.current,nu(u_,e)}function lb(e,t){e.finishedWork=null,e.finishedLanes=uo;var n=e.timeoutHandle;if(n!==gc&&(e.timeoutHandle=gc,mc(n)),null!==s_)for(var a=s_.return;null!==a;){a.alternate;Ny(0,a),a=a.return}l_=e;var r=ox(e.current,null);return s_=r,d_=c_=t,h_=Jv,p_=null,f_=uo,m_=uo,g_=uo,y_=null,v_=null,function(){if(null!==Wh){for(var e=0;e<Wh.length;e++){var t=Wh[e],n=t.interleaved;if(null!==n){t.interleaved=null;var a=n.next,r=t.pending;if(null!==r){var o=r.next;r.next=a,n.next=o}t.pending=n}}Wh=null}}(),_h.discardPendingWarnings(),r}function sb(e,t){for(;;){var n=s_;try{if(zh(),Jf(),vt(),Wv.current=null,null===n||null===n.return)return h_=e_,p_=t,void(s_=null);if(V&&n.mode&ao&&xg(n,!0),H)if(Wr(),null!==t&&"object"==typeof t&&"function"==typeof t.then)Xr(n,t,d_);else Kr(n,t,d_);Fg(e,n.return,n,t,d_),yb(n)}catch(e){t=e,s_===n&&null!==n?(n=n.return,s_=n):n=s_;continue}return}}function db(){var e=Gv.current;return Gv.current=Jm,null===e?Jm:e}function cb(e){Gv.current=e}function ub(e){f_=pi(e,f_)}function hb(){h_!==Jv&&h_!==n_&&h_!==t_||(h_=a_),null!==l_&&(ni(f_)||ni(m_))&&eb(l_,d_)}function pb(e,t){var n=i_;i_|=Xv;var a=db();if(l_!==e||d_!==t){if(Hr){var r=e.memoizedUpdaters;r.size>0&&(Nb(e,d_),r.clear()),xi(e,t)}E_=null,lb(e,t)}for(Qr(t);;)try{fb();break}catch(t){sb(e,t)}if(zh(),i_=n,cb(a),null!==s_)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Jr(),l_=null,d_=uo,h_}function fb(){for(;null!==s_;)gb(s_)}function mb(){for(;null!==s_&&!Sr();)gb(s_)}function gb(e){var t,n=e.alternate;_t(e),(e.mode&ao)!==to?(_g(e),t=Pb(n,e,c_),xg(e,!0)):t=Pb(n,e,c_),vt(),e.memoizedProps=e.pendingProps,null===t?yb(e):s_=t,Wv.current=null}function yb(e){var t=e;do{var n=t.alternate,a=t.return;if((t.flags&Ja)===Fa){_t(t);var r=void 0;if((t.mode&ao)===to?r=Ay(n,t,c_):(_g(t),r=Ay(n,t,c_),xg(t,!1)),vt(),null!==r)return void(s_=r)}else{var o=Iy(0,t);if(null!==o)return o.flags&=Qa,void(s_=o);if((t.mode&ao)!==to){xg(t,!1);for(var i=t.actualDuration,l=t.child;null!==l;)i+=l.actualDuration,l=l.sibling;t.actualDuration=i}if(null===a)return h_=o_,void(s_=null);a.flags|=Ja,a.subtreeFlags=Fa,a.deletions=null}var s=t.sibling;if(null!==s)return void(s_=s);s_=t=a}while(null!==t);h_===Jv&&(h_=r_)}function vb(e,t,n){var a=Li(),r=qv.transition;try{qv.transition=null,Ai($i),function(e,t,n,a){do{_b()}while(null!==P_);if(function(){_h.flushLegacyContextWarning(),_h.flushPendingUnsafeLifecycleWarnings()}(),(i_&(Xv|Qv))!==Zv)throw new Error("Should not already be working.");var r=e.finishedWork,i=e.finishedLanes;if(function(e){null!==Dr&&"function"==typeof Dr.markCommitStarted&&Dr.markCommitStarted(e)}(i),null===r)return Ur(),null;i===uo&&o("root.finishedLanes should not be empty during a commit. This is a bug in React.");if(e.finishedWork=null,e.finishedLanes=uo,r===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=ho;var l=pi(r.lanes,r.childLanes);(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=uo,e.pingedLanes=uo,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var a=e.entanglements,r=e.eventTimes,o=e.expirationTimes,i=n;i>0;){var l=di(i),s=1<<l;a[l]=uo,r[l]=Zo,o[l]=Zo,i&=~s}})(e,l),e===l_&&(l_=null,s_=null,d_=uo);(r.subtreeFlags&ur)===Fa&&(r.flags&ur)===Fa||C_||(C_=!0,A_=n,zb(Tr,(function(){return _b(),null})));var s=(r.subtreeFlags&(sr|dr|cr|ur))!==Fa,d=(r.flags&(sr|dr|cr|ur))!==Fa;if(s||d){var c=qv.transition;qv.transition=null;var u=Li();Ai($i);var h=i_;i_|=Qv,Wv.current=null,Ky(e,r),vg(),function(e,t,n){Vy=n,jy=e,_t(t),vv(t,e),_t(t),Vy=null,jy=null}(e,r,i),e.containerInfo,Ns(dc),al(sc),sc=null,dc=null,e.current=r,function(e){null!==Dr&&"function"==typeof Dr.markLayoutEffectsStarted&&Dr.markLayoutEffectsStarted(e)}(i),bv(r,e,i),null!==Dr&&"function"==typeof Dr.markLayoutEffectsStopped&&Dr.markLayoutEffectsStopped(),wr(),i_=h,Ai(u),qv.transition=c}else e.current=r,vg();var p=C_;C_?(C_=!1,P_=e,T_=i):(H_=0,V_=null);l=e.pendingLanes,l===uo&&(R_=null);p||Rb(e.current,!1);(function(e,t){if(zr&&"function"==typeof zr.onCommitFiberRoot)try{var n=(e.current.flags&Ba)===Ba;if(V){var a;switch(t){case $i:a=Cr;break;case Ri:a=Pr;break;case Ci:a=Tr;break;case Pi:a=Ar;break;default:a=Tr}zr.onCommitFiberRoot(Fr,e,a,n)}}catch(e){Or||(Or=!0,o("React instrumentation encountered an error: %s",e))}})(r.stateNode,a),Hr&&e.memoizedUpdaters.clear();if(function(){Vv.forEach((function(e){return e()}))}(),K_(e,$r()),null!==t)for(var f=e.onRecoverableError,m=0;m<t.length;m++){var g=t[m],y=g.stack,v=g.digest;f(g.value,{componentStack:y,digest:v})}if(w_){w_=!1;var _=$_;throw $_=null,_}ui(T_,po)&&e.tag!==bu&&_b();l=e.pendingLanes,ui(l,po)?(mg=!0,e===F_?N_++:(N_=0,F_=e)):N_=0;$u(),Ur()}(e,t,n,a)}finally{qv.transition=r,Ai(a)}return null}function _b(){if(null!==P_){var e=Ni(T_),t=function(e,t){return 0===e||e>t?e:t}(Ci,e),n=qv.transition,a=Li();try{return qv.transition=null,Ai(t),function(){if(null===P_)return!1;var e=A_;A_=null;var t=P_,n=T_;if(P_=null,T_=uo,(i_&(Xv|Qv))!==Zv)throw new Error("Cannot flush passive effects while already rendering.");z_=!0,D_=!1,function(e){null!==Dr&&"function"==typeof Dr.markPassiveEffectsStarted&&Dr.markPassiveEffectsStarted(e)}(n);var a=i_;i_|=Qv,Pv(t.current),$v(t,t.current,n,e);var r=L_;L_=[];for(var i=0;i<r.length;i++){tv(0,r[i])}void(null!==Dr&&"function"==typeof Dr.markPassiveEffectsStopped&&Dr.markPassiveEffectsStopped()),Rb(t.current,!0),i_=a,$u(),D_?t===V_?H_++:(H_=0,V_=t):H_=0;z_=!1,D_=!1,function(e){if(zr&&"function"==typeof zr.onPostCommitFiberRoot)try{zr.onPostCommitFiberRoot(Fr,e)}catch(e){Or||(Or=!0,o("React instrumentation encountered an error: %s",e))}}(t);var l=t.current.stateNode;return l.effectDuration=0,l.passiveEffectDuration=0,!0}()}finally{Ai(a),qv.transition=n}}return!1}function bb(e){return null!==R_&&R_.has(e)}var xb=function(e){w_||(w_=!0,$_=e)};function kb(e,t,n){var a=sp(e,Tg(e,$g(n,t),po),po),r=W_();null!==a&&(yi(a,po,r),K_(a,r))}function Eb(e,t,n){if(function(e){Aa(null,(function(){throw e})),Ia()}(n),Hb(!1),e.tag!==c){var a=null;for(a=t;null!==a;){if(a.tag===c)return void kb(a,e,n);if(a.tag===s){var r=a.type,i=a.stateNode;if("function"==typeof r.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&!bb(i)){var l=sp(a,Lg(a,$g(n,e),po),po),d=W_();return void(null!==l&&(yi(l,po,d),K_(l,d)))}}a=a.return}o("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}else kb(e,e,n)}function Mb(e,t,n){var a=e.pingCache;null!==a&&a.delete(t);var r=W_();vi(e,n),function(e){e.tag!==bu&&Bv()&&null===Yv.current&&o("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act")}(e),l_===e&&hi(d_,n)&&(h_===a_||h_===n_&&ai(d_)&&$r()-__<b_?lb(e,uo):g_=pi(g_,n)),K_(e,r)}function Sb(e,t){t===ho&&(t=Y_(e));var n=W_(),a=Zh(e,t);null!==a&&(yi(a,t,n),K_(a,n))}function wb(e){var t=e.memoizedState,n=ho;null!==t&&(n=t.retryLane),Sb(e,n)}function $b(e,t){var n,a=ho;switch(e.tag){case b:n=e.stateNode;var r=e.memoizedState;null!==r&&(a=r.retryLane);break;case w:n=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==n&&n.delete(t),Sb(e,a)}function Rb(e,t){_t(e),Cb(e,ir,Dv),t&&Cb(e,lr,Ov),Cb(e,ir,Fv),t&&Cb(e,lr,zv),vt()}function Cb(e,t,n){for(var a=e,r=null;null!==a;){var o=a.subtreeFlags&t;a!==r&&null!==a.child&&o!==Fa?a=a.child:((a.flags&t)!==Fa&&n(a),a=null!==a.sibling?a.sibling:r=a.return)}}var Pb,Tb=null;function Lb(e){if((i_&Xv)===Zv&&e.mode&no){var t=e.tag;if(t===d||t===c||t===s||t===l||t===v||t===x||t===k){var n=ht(e)||"default";if(null!==Tb){if(Tb.has(n))return;Tb.add(n)}else Tb=new Set([n]);var a=ft;try{_t(e),o("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{a?_t(e):vt()}}}}Pb=function(e,t,n){var a=px(null,t);try{return $y(e,t,n)}catch(o){if(qu||null!==o&&"object"==typeof o&&"function"==typeof o.then)throw o;if(zh(),Jf(),Ny(0,t),px(t,a),t.mode&ao&&_g(t),Aa(null,$y,null,e,t,n),Ra){var r=Ia();"object"==typeof r&&null!==r&&r._suppressLogging&&"object"==typeof o&&null!==o&&!o._suppressLogging&&(o._suppressLogging=!0)}throw o}};var Ab,Ib=!1;function Nb(e,t){Hr&&e.memoizedUpdaters.forEach((function(n){bi(e,n,t)}))}Ab=new Set;var Fb={};function zb(e,t){var n=Yv.current;return null!==n?(n.push(t),Fb):Er(e,t)}function Db(e){if(e!==Fb)return Mr(e)}function Ob(){return null!==Yv.current}function Hb(e){U_=e}var Vb=null,jb=null,Bb=function(e){Vb=e};function Ub(e){if(null===Vb)return e;var t=Vb(e);return void 0===t?e:t.current}function Gb(e){return Ub(e)}function Wb(e){if(null===Vb)return e;var t=Vb(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=Ub(e.render);if(e.render!==n){var a={$$typeof:Ae,render:n};return void 0!==e.displayName&&(a.displayName=e.displayName),a}}return e}return t.current}function qb(e,t){if(null===Vb)return!1;var n=e.elementType,a=t.type,r=!1,o="object"==typeof a&&null!==a?a.$$typeof:null;switch(e.tag){case s:"function"==typeof a&&(r=!0);break;case l:("function"==typeof a||o===ze)&&(r=!0);break;case v:(o===Ae||o===ze)&&(r=!0);break;case x:case k:(o===Fe||o===ze)&&(r=!0);break;default:return!1}if(r){var i=Vb(n);if(void 0!==i&&i===Vb(a))return!0}return!1}function Yb(e){null!==Vb&&"function"==typeof WeakSet&&(null===jb&&(jb=new WeakSet),jb.add(e))}var Zb=function(e,t){if(null!==Vb){var n=t.staleFamilies,a=t.updatedFamilies;_b(),ab((function(){Xb(e.current,a,n)}))}},Kb=function(e,t){e.context===ru&&(_b(),ab((function(){Ex(t,e,null,null)})))};function Xb(e,t,n){var a=e.alternate,r=e.child,o=e.sibling,i=e.tag,d=e.type,c=null;switch(i){case l:case k:case s:c=d;break;case v:c=d.render}if(null===Vb)throw new Error("Expected resolveFamily to be set during hot reload.");var u=!1,h=!1;if(null!==c){var p=Vb(c);void 0!==p&&(n.has(p)?h=!0:t.has(p)&&(i===s?h=!0:u=!0))}if(null!==jb&&(jb.has(e)||null!==a&&jb.has(a))&&(h=!0),h&&(e._debugNeedsRemount=!0),h||u){var f=Zh(e,po);null!==f&&Z_(f,e,po,Zo)}null===r||h||Xb(r,t,n),null!==o&&Xb(o,t,n)}var Qb,Jb=function(e,t){var n=new Set,a=new Set(t.map((function(e){return e.current})));return ex(e.current,a,n),n};function ex(e,t,n){var a=e.child,r=e.sibling,o=e.tag,i=e.type,d=null;switch(o){case l:case k:case s:d=i;break;case v:d=i.render}var p=!1;null!==d&&t.has(d)&&(p=!0),p?function(e,t){var n=function(e,t){var n=e,a=!1;for(;;){if(n.tag===h)a=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return a;for(;null===n.sibling;){if(null===n.return||n.return===e)return a;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t);if(n)return;var a=e;for(;;){switch(a.tag){case h:return void t.add(a.stateNode);case u:case c:return void t.add(a.stateNode.containerInfo)}if(null===a.return)throw new Error("Expected to reach root first.");a=a.return}}(e,n):null!==a&&ex(a,t,n),null!==r&&ex(r,t,n)}Qb=!1;try{var tx=Object.preventExtensions({});new Map([[tx,null]]),new Set([tx])}catch(e){Qb=!0}function nx(e,t,n,a){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=a,this.flags=Fa,this.subtreeFlags=Fa,this.deletions=null,this.lanes=uo,this.childLanes=uo,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Qb||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var ax=function(e,t,n,a){return new nx(e,t,n,a)};function rx(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function ox(e,t){var n=e.alternate;null===n?((n=ax(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=Fa,n.subtreeFlags=Fa,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&hr,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var a=e.dependencies;switch(n.dependencies=null===a?null:{lanes:a.lanes,firstContext:a.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case d:case l:case k:n.type=Ub(e.type);break;case s:n.type=Gb(e.type);break;case v:n.type=Wb(e.type)}return n}function ix(e,t){e.flags&=hr|Da;var n=e.alternate;if(null===n)e.childLanes=uo,e.lanes=t,e.child=null,e.subtreeFlags=Fa,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=Fa,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var a=n.dependencies;e.dependencies=null===a?null:{lanes:a.lanes,firstContext:a.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function lx(e,t,n,a,r,i){var l=d,c=e;if("function"==typeof e)rx(e)?(l=s,c=Gb(c)):c=Ub(c);else if("string"==typeof e)l=h;else e:switch(e){case Re:return dx(n.children,r,i,t);case Ce:l=m,((r|=ro)&no)!==to&&(r|=oo);break;case Pe:return function(e,t,n,a){"string"!=typeof e.id&&o('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var r=ax(_,e,a,t|ao);return r.elementType=Pe,r.lanes=n,r.stateNode={effectDuration:0,passiveEffectDuration:0},r}(n,r,i,t);case Ie:return function(e,t,n,a){var r=ax(b,e,a,t);return r.elementType=Ie,r.lanes=n,r}(n,r,i,t);case Ne:return function(e,t,n,a){var r=ax(w,e,a,t);return r.elementType=Ne,r.lanes=n,r}(n,r,i,t);case De:return cx(n,r,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Te:l=y;break e;case Le:l=g;break e;case Ae:l=v,c=Wb(c);break e;case Fe:l=x;break e;case ze:l=E,c=null;break e}var u="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(u+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var p=a?ht(a):null;throw p&&(u+="\n\nCheck the render method of `"+p+"`."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+u)}var f=ax(l,n,t,r);return f.elementType=e,f.type=c,f.lanes=i,f._debugOwner=a,f}function sx(e,t,n){var a;a=e._owner;var r=lx(e.type,e.key,e.props,a,t,n);return r._debugSource=e._source,r._debugOwner=e._owner,r}function dx(e,t,n,a){var r=ax(f,e,a,t);return r.lanes=n,r}function cx(e,t,n,a){var r=ax(R,e,a,t);r.elementType=De,r.lanes=n;return r.stateNode={isHidden:!1},r}function ux(e,t,n){var a=ax(p,e,null,t);return a.lanes=n,a}function hx(e,t,n){var a=null!==e.children?e.children:[],r=ax(u,a,e.key,t);return r.lanes=n,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function px(e,t){return null===e&&(e=ax(d,null,null,to)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function fx(e,t,n,a,r){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=gc,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=ho,this.eventTimes=gi(uo),this.expirationTimes=gi(Zo),this.pendingLanes=uo,this.suspendedLanes=uo,this.pingedLanes=uo,this.expiredLanes=uo,this.mutableReadLanes=uo,this.finishedLanes=uo,this.entangledLanes=uo,this.entanglements=gi(uo),this.identifierPrefix=a,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var o=this.pendingUpdatersLaneMap=[],i=0;i<co;i++)o.push(new Set);switch(t){case xu:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case bu:this._debugRootType=n?"hydrate()":"render()"}}function mx(e,t,n,a,r,o,i,l,s,d){var u=new fx(e,t,n,l,s),h=function(e,t,n){var a;return e===xu?(a=no,!0===t&&(a|=ro,a|=oo)):a=to,Hr&&(a|=ao),ax(c,null,null,a)}(t,o);u.current=h,h.stateNode=u;var p={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};return h.memoizedState=p,op(h),u}var gx,yx,vx="18.2.0";function _x(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return function(e){if(X(e))o("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",K(e)),Q(e)}(a),{$$typeof:$e,key:null==a?null:""+a,children:e,containerInfo:t,implementation:n}}function bx(e){if(!e)return ru;var t=Na(e),n=_u(t);if(t.tag===s){var a=t.type;if(hu(a))return gu(t,a,n)}return n}function xx(e,t,n,a,r,o,i,l){return mx(e,t,!1,null,0,a,0,o,i)}function kx(e,t,n,a,r,o,i,l,s,d){var c=mx(n,a,!0,e,0,o,0,l,s);c.context=bx(null);var u=c.current,h=W_(),p=q_(u),f=lp(h,p);return f.callback=null!=t?t:null,sp(u,f,p),function(e,t,n){e.current.lanes=t,yi(e,t,n),K_(e,n)}(c,p,h),c}function Ex(e,t,n,a){!function(e,t){if(zr&&"function"==typeof zr.onScheduleFiberRoot)try{zr.onScheduleFiberRoot(Fr,e,t)}catch(e){Or||(Or=!0,o("React instrumentation encountered an error: %s",e))}}(t,e);var r=t.current,i=W_(),l=q_(r);!function(e){null!==Dr&&"function"==typeof Dr.markRenderScheduled&&Dr.markRenderScheduled(e)}(l);var s=bx(n);null===t.context?t.context=s:t.pendingContext=s,mt&&null!==ft&&!gx&&(gx=!0,o("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",ht(ft)||"Unknown"));var d=lp(i,l);d.payload={element:e},null!==(a=void 0===a?null:a)&&("function"!=typeof a&&o("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),d.callback=a);var c=sp(r,d,l);return null!==c&&(Z_(c,r,l,i),dp(c,r,l)),l}function Mx(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function Sx(e,t){var n=e.memoizedState;null!==n&&null!==n.dehydrated&&(n.retryLane=function(e,t){return e!==ho&&e<t?e:t}(n.retryLane,t))}function wx(e,t){Sx(e,t);var n=e.alternate;n&&Sx(n,t)}function $x(e){var t=xr(e);return null===t?null:t.stateNode}gx=!1,yx={};var Rx=function(e){return null};var Cx=function(e){return!1};var Px,Tx,Lx,Ax,Ix,Nx,Fx,zx,Dx,Ox=function(e,t,n){var a=t[n],r=Yt(e)?e.slice():Ze({},e);return n+1===t.length?(Yt(r)?r.splice(a,1):delete r[a],r):(r[a]=Ox(e[a],t,n+1),r)},Hx=function(e,t){return Ox(e,t,0)},Vx=function(e,t,n,a){var r=t[a],o=Yt(e)?e.slice():Ze({},e);a+1===t.length?(o[n[a]]=o[r],Yt(o)?o.splice(r,1):delete o[r]):o[r]=Vx(e[r],t,n,a+1);return o},jx=function(e,t,n){if(t.length===n.length){for(var a=0;a<n.length-1;a++)if(t[a]!==n[a])return void r("copyWithRename() expects paths to be the same except for the deepest key");return Vx(e,t,n,0)}r("copyWithRename() expects paths of the same length")},Bx=function(e,t,n,a){if(n>=t.length)return a;var r=t[n],o=Yt(e)?e.slice():Ze({},e);return o[r]=Bx(e[r],t,n+1,a),o},Ux=function(e,t,n){return Bx(e,t,0,n)},Gx=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function Wx(e){var t=_r(e);return null===t?null:t.stateNode}function qx(e){return null}function Yx(){return ft}Px=function(e,t,n,a){var r=Gx(e,t);if(null!==r){var o=Ux(r.memoizedState,n,a);r.memoizedState=o,r.baseState=o,e.memoizedProps=Ze({},e.memoizedProps);var i=Zh(e,po);null!==i&&Z_(i,e,po,Zo)}},Tx=function(e,t,n){var a=Gx(e,t);if(null!==a){var r=Hx(a.memoizedState,n);a.memoizedState=r,a.baseState=r,e.memoizedProps=Ze({},e.memoizedProps);var o=Zh(e,po);null!==o&&Z_(o,e,po,Zo)}},Lx=function(e,t,n,a){var r=Gx(e,t);if(null!==r){var o=jx(r.memoizedState,n,a);r.memoizedState=o,r.baseState=o,e.memoizedProps=Ze({},e.memoizedProps);var i=Zh(e,po);null!==i&&Z_(i,e,po,Zo)}},Ax=function(e,t,n){e.pendingProps=Ux(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Zh(e,po);null!==a&&Z_(a,e,po,Zo)},Ix=function(e,t){e.pendingProps=Hx(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=Zh(e,po);null!==n&&Z_(n,e,po,Zo)},Nx=function(e,t,n){e.pendingProps=jx(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Zh(e,po);null!==a&&Z_(a,e,po,Zo)},Fx=function(e){var t=Zh(e,po);null!==t&&Z_(t,e,po,Zo)},zx=function(e){Rx=e},Dx=function(e){Cx=e};var Zx="function"==typeof reportError?reportError:function(e){console.error(e)};function Kx(e){this._internalRoot=e}function Xx(e){this._internalRoot=e}function Qx(e){return!(!e||e.nodeType!==fn&&e.nodeType!==yn&&e.nodeType!==vn&&z)}function Jx(e){return!(!e||e.nodeType!==fn&&e.nodeType!==yn&&e.nodeType!==vn&&(e.nodeType!==gn||" react-mount-point-unstable "!==e.nodeValue))}function ek(e){e.nodeType===fn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&o("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Vc(e)&&(e._reactRootContainer?o("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):o("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}Xx.prototype.render=Kx.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?o("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Qx(arguments[1])?o("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==arguments[1]&&o("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==gn){var a=$x(t.current);a&&a.parentNode!==n&&o("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}Ex(e,t,null,null)},Xx.prototype.unmount=Kx.prototype.unmount=function(){"function"==typeof arguments[0]&&o("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;rb()&&o("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),ab((function(){Ex(null,e,null,null)})),Hc(t)}},Xx.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=Si(),n={blockedOn:null,target:e,priority:t},a=0;a<Gi.length&&Ii(t,Gi[a].priority);a++);Gi.splice(a,0,n),0===a&&Zi(n)}(e)};var tk,nk,ak=n.ReactCurrentOwner;function rk(e){return e?e.nodeType===yn?e.documentElement:e.firstChild:null}function ok(){}function ik(e,t,n,a,r){tk(n),function(e,t){null!==e&&"function"!=typeof e&&o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===r?null:r,"render");var i,l=n._reactRootContainer;if(l){if("function"==typeof r){var s=r;r=function(){var e=Mx(i);s.call(e)}}Ex(t,i=l,e,r)}else i=function(e,t,n,a,r){if(r){if("function"==typeof a){var o=a;a=function(){var e=Mx(i);o.call(e)}}var i=kx(t,a,e,bu,0,!1,0,"",ok);return e._reactRootContainer=i,Oc(i.current,e),ud(e.nodeType===gn?e.parentNode:e),ab(),i}for(var l;l=e.lastChild;)e.removeChild(l);if("function"==typeof a){var s=a;a=function(){var e=Mx(d);s.call(e)}}var d=xx(e,bu,0,!1,0,"",ok);return e._reactRootContainer=d,Oc(d.current,e),ud(e.nodeType===gn?e.parentNode:e),ab((function(){Ex(t,d,n,a)})),d}(n,t,e,r,a);return Mx(i)}tk=function(e){if(e._reactRootContainer&&e.nodeType!==gn){var t=$x(e._reactRootContainer.current);t&&t.parentNode!==e&&o("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,a=rk(e);!(!a||!Bc(a))&&!n&&o("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===fn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&o("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")},nk=function(e){switch(e.tag){case c:var t=e.stateNode;if(Fi(t)){var n=function(e){return Qo(e.pendingLanes)}(t);!function(e,t){t!==uo&&(_i(e,pi(t,po)),K_(e,$r()),(i_&(Xv|Qv))===Zv&&(M_(),$u()))}(t,n)}break;case b:ab((function(){var t=Zh(e,po);if(null!==t){var n=W_();Z_(t,e,po,n)}})),wx(e,po)}},ki=nk,function(e){Ei=e}((function(e){if(e.tag===b){var t=Bo,n=Zh(e,t);if(null!==n)Z_(n,e,t,W_());wx(e,t)}})),function(e){Mi=e}((function(e){if(e.tag===b){var t=q_(e),n=Zh(e,t);if(null!==n)Z_(n,e,t,W_());wx(e,t)}})),function(e){Si=e}(Li),function(e){wi=e}((function(e,t){var n=Ti;try{return Ti=e,t()}finally{Ti=n}})),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||o("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),ca=function(e,t,n){switch(t){case"input":return void Ht(e,n);case"textarea":return void function(e,t){an(e,t)}(e,n);case"select":return void function(e,t){var n=e,a=t.value;null!=a&&Xt(n,!!t.multiple,a,!1)}(e,n)}},ga=nb,ya=ab;var lk={usingClientEntryPoint:!1,Events:[Bc,Uc,Gc,fa,ma,nb]};var sk=function(e){var t=e.findFiberByHostInstance,a=n.ReactCurrentDispatcher;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return o("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{H&&(e=Ze({},e,{getLaneLabelMap:Br,injectProfilingHooks:jr})),Fr=t.inject(e),zr=t}catch(e){o("React instrumentation encountered an error: %s.",e)}return!!t.checkDCE}({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Px,overrideHookStateDeletePath:Tx,overrideHookStateRenamePath:Lx,overrideProps:Ax,overridePropsDeletePath:Ix,overridePropsRenamePath:Nx,setErrorHandler:zx,setSuspenseHandler:Dx,scheduleUpdate:Fx,currentDispatcherRef:a,findHostInstanceByFiber:Wx,findFiberByHostInstance:t||qx,findHostInstancesForRefresh:Jb,scheduleRefresh:Zb,scheduleRoot:Kb,setRefreshHandler:Bb,getCurrentFiber:Yx,reconcilerVersion:vx})}({findFiberByHostInstance:jc,bundleType:1,version:vx,rendererPackageName:"react-dom"});if(!sk&&Y&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var dk=window.location.protocol;/^(https?|file):$/.test(dk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===dk?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}reactDom_development.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lk,reactDom_development.createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!Qx(t))throw new Error("Target container is not a DOM element.");return _x(e,t,null,n)},reactDom_development.createRoot=function(e,t){return lk.usingClientEntryPoint||o('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!Qx(e))throw new Error("createRoot(...): Target container is not a DOM element.");ek(e);var n=!1,a="",i=Zx;null!=t&&(t.hydrate?r("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===we&&o("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var l=xx(e,xu,0,n,0,a,i);return Oc(l.current,e),ud(e.nodeType===gn?e.parentNode:e),new Kx(l)}(e,t)},reactDom_development.findDOMNode=function(e){var t=ak.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||o("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ct(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:e.nodeType===fn?e:function(e,t){var n=Na(e);if(void 0===n){if("function"==typeof e.render)throw new Error("Unable to find node on an unmounted component.");var a=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+a)}var r=_r(n);if(null===r)return null;if(r.mode&ro){var i=ht(n)||"Component";if(!yx[i]){yx[i]=!0;var l=ft;try{_t(r),n.mode&ro?o("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):o("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{l?_t(l):vt()}}}return r.stateNode}(e,"findDOMNode")},reactDom_development.flushSync=function(e){return rb()&&o("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),ab(e)},reactDom_development.hydrate=function(e,t,n){if(o("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Jx(t))throw new Error("Target container is not a DOM element.");return Vc(t)&&void 0===t._reactRootContainer&&o("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?"),ik(null,e,t,!0,n)},reactDom_development.hydrateRoot=function(e,t,n){return lk.usingClientEntryPoint||o('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t,n){if(!Qx(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");ek(e),void 0===t&&o("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=null!=n&&n.hydratedSources||null,r=!1,i="",l=Zx;null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError));var s=kx(t,null,e,xu,0,r,0,i,l);if(Oc(s.current,e),ud(e),a)for(var d=0;d<a.length;d++)$f(s,a[d]);return new Xx(s)}(e,t,n)},reactDom_development.render=function(e,t,n){if(o("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Jx(t))throw new Error("Target container is not a DOM element.");return Vc(t)&&void 0===t._reactRootContainer&&o("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?"),ik(null,e,t,!1,n)},reactDom_development.unmountComponentAtNode=function(e){if(!Jx(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(Vc(e)&&void 0===e._reactRootContainer&&o("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=rk(e);return t&&!Bc(t)&&o("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),ab((function(){ik(null,null,e,!1,(function(){e._reactRootContainer=null,Hc(e)}))})),!0}var n=rk(e),a=!(!n||!Bc(n)),r=e.nodeType===fn&&Jx(e.parentNode)&&!!e.parentNode._reactRootContainer;return a&&o("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",r?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},reactDom_development.unstable_batchedUpdates=nb,reactDom_development.unstable_renderSubtreeIntoContainer=function(e,t,n,a){return function(e,t,n,a){if(o("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Jx(n))throw new Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternals)throw new Error("parentComponent must be a valid React Component");return ik(e,t,n,!1,a)}(e,t,n,a)},reactDom_development.version=vx,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),reactDom_development}!function(e){"production"===process.env.NODE_ENV?(!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==process.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=requireReactDom_production_min()):e.exports=requireReactDom_development()}(reactDom);var ModalPortal={exports:{}},focusManager={},tabbable={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]);return n.filter(l)};
577
+ */function ss(e,t,n,a){fa(a);var r=gd(t,"onChange");if(r.length>0){var o=new El("onChange","change",null,n,a);e.push({event:o,listeners:r})}}var ds=null,cs=null;function us(e){ld(e,0)}function hs(e){if(Rt(Uc(e)))return e}function ps(e,t){if("change"===e)return t}var fs=!1;function ms(){ds&&(ds.detachEvent("onpropertychange",gs),ds=null,cs=null)}function gs(e){"value"===e.propertyName&&hs(cs)&&function(e){var t=[];ss(t,cs,e,da(e)),ba(us,t)}(e)}function ys(e,t,n){"focusin"===e?(ms(),function(e,t){cs=t,(ds=e).attachEvent("onpropertychange",gs)}(t,n)):"focusout"===e&&ms()}function vs(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return hs(cs)}function _s(e,t){if("click"===e)return hs(t)}function bs(e,t){if("input"===e||"change"===e)return hs(t)}function xs(e,t,n,a,r,o,i){var l,s,d,c,u,h,p=n?Uc(n):window;if("select"===(c=(d=p).nodeName&&d.nodeName.toLowerCase())||"input"===c&&"file"===d.type?l=ps:ls(p)?fs?l=bs:(l=vs,s=ys):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(p)&&(l=_s),l){var f=l(t,n);if(f)return void ss(e,f,a,r)}s&&s(t,p,n),"focusout"===t&&(h=(u=p)._wrapperState)&&h.controlled&&"number"===u.type&&Vt(u,"number",u.value)}function ks(e,t,n,a,r,o,i){var l="mouseover"===t||"pointerover"===t,s="mouseout"===t||"pointerout"===t;if(l&&a!==sa){var d=a.relatedTarget||a.fromElement;if(d&&(jc(d)||Vc(d)))return}if(s||l){var c,u,f;if(r.window===r)c=r;else{var m=r.ownerDocument;c=m?m.defaultView||m.parentWindow:window}if(s){var g=a.relatedTarget||a.toElement;if(u=n,null!==(f=g?jc(g):null))(f!==fr(f)||f.tag!==h&&f.tag!==p)&&(f=null)}else u=null,f=n;if(u!==f){var y=$l,v="onMouseLeave",_="onMouseEnter",b="mouse";"pointerout"!==t&&"pointerover"!==t||(y=Hl,v="onPointerLeave",_="onPointerEnter",b="pointer");var x=null==u?c:Uc(u),k=null==f?c:Uc(f),E=new y(v,b+"leave",u,a,r);E.target=x,E.relatedTarget=k;var M=null;if(jc(r)===n){var S=new y(_,b+"enter",f,a,r);S.target=k,S.relatedTarget=x,M=S}!function(e,t,n,a,r){var o=a&&r?function(e,t){for(var n=e,a=t,r=0,o=n;o;o=yd(o))r++;for(var i=0,l=a;l;l=yd(l))i++;for(;r-i>0;)n=yd(n),r--;for(;i-r>0;)a=yd(a),i--;var s=r;for(;s--;){if(n===a||null!==a&&n===a.alternate)return n;n=yd(n),a=yd(a)}return null}(a,r):null;null!==a&&vd(e,t,a,o,!1);null!==r&&null!==n&&vd(e,n,r,o,!0)}(e,E,M,u,f)}}}Y&&(fs=function(e){if(!Y)return!1;var t="on"+e,n=t in document;if(!n){var a=document.createElement("div");a.setAttribute(t,"return;"),n="function"==typeof a[t]}return n}("input")&&(!document.documentMode||document.documentMode>9));var Es="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Ms(e,t){if(Es(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var r=0;r<n.length;r++){var o=n[r];if(!Z.call(t,o)||!Es(e[o],t[o]))return!1}return!0}function Ss(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ws(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function $s(e,t){for(var n=Ss(e),a=0,r=0;n;){if(n.nodeType===mn){if(r=a+n.textContent.length,a<=t&&r>=t)return{node:n,offset:t-a};a=r}n=Ss(ws(n))}}function Rs(e){var t=e.ownerDocument,n=t&&t.defaultView||window,a=n.getSelection&&n.getSelection();if(!a||0===a.rangeCount)return null;var r=a.anchorNode,o=a.anchorOffset,i=a.focusNode,l=a.focusOffset;try{r.nodeType,i.nodeType}catch(e){return null}return function(e,t,n,a,r){var o=0,i=-1,l=-1,s=0,d=0,c=e,u=null;e:for(;;){for(var h=null;c!==t||0!==n&&c.nodeType!==mn||(i=o+n),c!==a||0!==r&&c.nodeType!==mn||(l=o+r),c.nodeType===mn&&(o+=c.nodeValue.length),null!==(h=c.firstChild);)u=c,c=h;for(;;){if(c===e)break e;if(u===t&&++s===n&&(i=o),u===a&&++d===r&&(l=o),null!==(h=c.nextSibling))break;u=(c=u).parentNode}c=h}if(-1===i||-1===l)return null;return{start:i,end:l}}(e,r,o,i,l)}function Cs(e){return e&&e.nodeType===mn}function Ps(e,t){return!(!e||!t)&&(e===t||!Cs(e)&&(Cs(t)?Ps(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ts(e){return e&&e.ownerDocument&&Ps(e.ownerDocument.documentElement,e)}function Ls(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}function As(){for(var e=window,t=Ct();t instanceof e.HTMLIFrameElement;){if(!Ls(t))return t;t=Ct((e=t.contentWindow).document)}return t}function Is(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 Ns(e){var t=As(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&Ts(n)){null!==a&&Is(n)&&function(e,t){var n=t.start,a=t.end;void 0===a&&(a=n);"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(a,e.value.length)):function(e,t){var n=e.ownerDocument||document,a=n&&n.defaultView||window;if(a.getSelection){var r=a.getSelection(),o=e.textContent.length,i=Math.min(t.start,o),l=void 0===t.end?i:Math.min(t.end,o);if(!r.extend&&i>l){var s=l;l=i,i=s}var d=$s(e,i),c=$s(e,l);if(d&&c){if(1===r.rangeCount&&r.anchorNode===d.node&&r.anchorOffset===d.offset&&r.focusNode===c.node&&r.focusOffset===c.offset)return;var u=n.createRange();u.setStart(d.node,d.offset),r.removeAllRanges(),i>l?(r.addRange(u),r.extend(c.node,c.offset)):(u.setEnd(c.node,c.offset),r.addRange(u))}}}(e,t)}(n,a);for(var r=[],o=n;o=o.parentNode;)o.nodeType===fn&&r.push({element:o,left:o.scrollLeft,top:o.scrollTop});"function"==typeof n.focus&&n.focus();for(var i=0;i<r.length;i++){var l=r[i];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}function Fs(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:Rs(e))||{start:0,end:0}}var zs=Y&&"documentMode"in document&&document.documentMode<=11;var Ds=null,Os=null,Hs=null,Vs=!1;function js(e,t,n){var a,r=(a=n).window===a?a.document:a.nodeType===yn?a:a.ownerDocument;if(!Vs&&null!=Ds&&Ds===Ct(r)){var o=function(e){if("selectionStart"in e&&Is(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(Ds);if(!Hs||!Ms(Hs,o)){Hs=o;var i=gd(Os,"onSelect");if(i.length>0){var l=new El("onSelect","select",null,t,n);e.push({event:l,listeners:i}),l.target=Ds}}}}function Bs(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Us={animationend:Bs("Animation","AnimationEnd"),animationiteration:Bs("Animation","AnimationIteration"),animationstart:Bs("Animation","AnimationStart"),transitionend:Bs("Transition","TransitionEnd")},Gs={},qs={};function Ws(e){if(Gs[e])return Gs[e];if(!Us[e])return e;var t=Us[e];for(var n in t)if(t.hasOwnProperty(n)&&n in qs)return Gs[e]=t[n];return e}Y&&(qs=document.createElement("div").style,"AnimationEvent"in window||(delete Us.animationend.animation,delete Us.animationiteration.animation,delete Us.animationstart.animation),"TransitionEvent"in window||delete Us.transitionend.transition);var Ys=Ws("animationend"),Zs=Ws("animationiteration"),Ks=Ws("animationstart"),Xs=Ws("transitionend"),Qs=new Map,Js=["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"];function ed(e,t){Qs.set(e,t),q(t,[e])}function td(e,t,n,a,r,o,i){var l=Qs.get(t);if(void 0!==l){var s=El,d=t;switch(t){case"keypress":if(0===ml(a))return;case"keydown":case"keyup":s=Ol;break;case"focusin":d="focus",s=Cl;break;case"focusout":d="blur",s=Cl;break;case"beforeblur":case"afterblur":s=Cl;break;case"click":if(2===a.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=$l;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Rl;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Vl;break;case Ys:case Zs:case Ks:s=Pl;break;case Xs:s=jl;break;case"scroll":s=Sl;break;case"wheel":s=Bl;break;case"copy":case"cut":case"paste":s=Tl;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Hl}var c=0!=(o&ia),u=!c&&"scroll"===t,p=function(e,t,n,a,r,o){var i=null!==t?t+"Capture":null,l=a?i:t,s=[],d=e,c=null;for(;null!==d;){var u=d,p=u.stateNode;if(u.tag===h&&null!==p&&(c=p,null!==l)){var f=xa(d,l);null!=f&&s.push(md(d,f,c))}if(r)break;d=d.return}return s}(n,l,a.type,c,u);if(p.length>0){var f=new s(l,d,null,a,r);e.push({event:f,listeners:p})}}}function nd(e,t,n,a,r,o,i){td(e,t,n,a,r,o),0==(o&la)&&(ks(e,t,n,a,r),xs(e,t,n,a,r),function(e,t,n,a,r,o,i){var l=n?Uc(n):window;switch(t){case"focusin":(ls(l)||"true"===l.contentEditable)&&(Ds=l,Os=n,Hs=null);break;case"focusout":Ds=null,Os=null,Hs=null;break;case"mousedown":Vs=!0;break;case"contextmenu":case"mouseup":case"dragend":Vs=!1,js(e,a,r);break;case"selectionchange":if(zs)break;case"keydown":case"keyup":js(e,a,r)}}(e,t,n,a,r),function(e,t,n,a,r,o,i){as(e,t,n,a,r),os(e,t,n,a,r)}(e,t,n,a,r))}!function(){for(var e=0;e<Js.length;e++){var t=Js[e];ed(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}ed(Ys,"onAnimationEnd"),ed(Zs,"onAnimationIteration"),ed(Ks,"onAnimationStart"),ed("dblclick","onDoubleClick"),ed("focusin","onFocus"),ed("focusout","onBlur"),ed(Xs,"onTransitionEnd")}(),W("onMouseEnter",["mouseout","mouseover"]),W("onMouseLeave",["mouseout","mouseover"]),W("onPointerEnter",["pointerout","pointerover"]),W("onPointerLeave",["pointerout","pointerover"]),q("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),q("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),q("onBeforeInput",["compositionend","keypress","textInput","paste"]),q("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),q("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),q("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var ad=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],rd=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(ad));function od(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,a,r,o,i,l,s){if(Aa.apply(this,arguments),Ra){var d=Ia();Pa||(Pa=!0,Ta=d)}}(a,t,void 0,e),e.currentTarget=null}function id(e,t,n){var a;if(n)for(var r=t.length-1;r>=0;r--){var o=t[r],i=o.instance,l=o.currentTarget,s=o.listener;if(i!==a&&e.isPropagationStopped())return;od(e,s,l),a=i}else for(var d=0;d<t.length;d++){var c=t[d],u=c.instance,h=c.currentTarget,p=c.listener;if(u!==a&&e.isPropagationStopped())return;od(e,p,h),a=u}}function ld(e,t){for(var n=0!=(t&ia),a=0;a<e.length;a++){var r=e[a];id(r.event,r.listeners,n)}!function(){if(Pa){var e=Ta;throw Pa=!1,Ta=null,e}}()}function sd(e,t){rd.has(e)||o('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=function(e){var t=e[Nc];void 0===t&&(t=e[Nc]=new Set);return t}(t),a=function(e,t){return e+"__"+(t?"capture":"bubble")}(e,false);n.has(a)||(hd(t,e,oa,false),n.add(a))}function dd(e,t,n){rd.has(e)&&!t&&o('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var a=0;t&&(a|=ia),hd(n,e,a,t)}var cd="_reactListening"+Math.random().toString(36).slice(2);function ud(e){if(!e[cd]){e[cd]=!0,B.forEach((function(t){"selectionchange"!==t&&(rd.has(t)||dd(t,!1,e),dd(t,!0,e))}));var t=e.nodeType===yn?e:e.ownerDocument;null!==t&&(t[cd]||(t[cd]=!0,dd("selectionchange",!1,t)))}}function hd(e,t,n,a,r){var o=function(e,t,n){var a;switch(dl(t)){case $i:a=rl;break;case Ri:a=ol;break;default:a=il}return a.bind(null,t,n,e)}(e,t,n),i=void 0;ka&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0)),a?void 0!==i?function(e,t,n,a){e.addEventListener(t,n,{capture:!0,passive:a})}(e,t,o,i):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,o):void 0!==i?function(e,t,n,a){e.addEventListener(t,n,{passive:a})}(e,t,o,i):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,o)}function pd(e,t){return e===t||e.nodeType===gn&&e.parentNode===t}function fd(e,t,n,a,r){var o=a;if(0==(t&ra)&&0==(t&oa)){var i=r;if(null!==a){var l=a;e:for(;;){if(null===l)return;var s=l.tag;if(s===c||s===u){var d=l.stateNode.containerInfo;if(pd(d,i))break;if(s===u)for(var f=l.return;null!==f;){var m=f.tag;if(m===c||m===u)if(pd(f.stateNode.containerInfo,i))return;f=f.return}for(;null!==d;){var g=jc(d);if(null===g)return;var y=g.tag;if(y===h||y===p){l=o=g;continue e}d=d.parentNode}}l=l.return}}}ba((function(){return function(e,t,n,a,r){var o=[];nd(o,e,a,n,da(n),t),ld(o,t)}(e,t,n,o)}))}function md(e,t,n){return{instance:e,listener:t,currentTarget:n}}function gd(e,t){for(var n=t+"Capture",a=[],r=e;null!==r;){var o=r,i=o.stateNode;if(o.tag===h&&null!==i){var l=i,s=xa(r,n);null!=s&&a.unshift(md(r,s,l));var d=xa(r,t);null!=d&&a.push(md(r,d,l))}r=r.return}return a}function yd(e){if(null===e)return null;do{e=e.return}while(e&&e.tag!==h);return e||null}function vd(e,t,n,a,r){for(var o=t._reactName,i=[],l=n;null!==l&&l!==a;){var s=l,d=s.alternate,c=s.stateNode,u=s.tag;if(null!==d&&d===a)break;if(u===h&&null!==c){var p=c;if(r){var f=xa(l,o);null!=f&&i.unshift(md(l,f,p))}else if(!r){var m=xa(l,o);null!=m&&i.push(md(l,m,p))}}l=l.return}0!==i.length&&e.push({event:t,listeners:i})}var _d,bd,xd,kd,Ed,Md,Sd,wd=!1,$d="dangerouslySetInnerHTML",Rd="suppressContentEditableWarning",Cd="suppressHydrationWarning",Pd="autoFocus",Td="children",Ld="style",Ad="__html";_d={dialog:!0,webview:!0},bd=function(e,t){Zn(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||Kn||(Kn=!0,"select"===e&&t.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),aa(e,t,{registrationNameDependencies:U,possibleRegistrationNames:G})},Md=Y&&!document.documentMode,xd=function(e,t,n){if(!wd){var a=Fd(n),r=Fd(t);r!==a&&(wd=!0,o("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(r),JSON.stringify(a)))}},kd=function(e){if(!wd){wd=!0;var t=[];e.forEach((function(e){t.push(e)})),o("Extra attributes from the server: %s",t)}},Ed=function(e,t){!1===t?o("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):o("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},Sd=function(e,t){var n=e.namespaceURI===on?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Id=/\r\n?/g,Nd=/\u0000|\uFFFD/g;function Fd(e){return function(e){if(X(e))o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",K(e)),Q(e)}(e),("string"==typeof e?e:""+e).replace(Id,"\n").replace(Nd,"")}function zd(e,t,n,a){var r=Fd(t),i=Fd(e);if(i!==r&&(a&&(wd||(wd=!0,o('Text content did not match. Server: "%s" Client: "%s"',i,r))),n&&L))throw new Error("Text content does not match server-rendered HTML.")}function Dd(e){return e.nodeType===yn?e:e.ownerDocument}function Od(){}function Hd(e){e.onclick=Od}function Vd(e,t,n,a){var r,o=jn(t,n);switch(bd(t,n),t){case"dialog":sd("cancel",e),sd("close",e),r=n;break;case"iframe":case"object":case"embed":sd("load",e),r=n;break;case"video":case"audio":for(var i=0;i<ad.length;i++)sd(ad[i],e);r=n;break;case"source":sd("error",e),r=n;break;case"img":case"image":case"link":sd("error",e),sd("load",e),r=n;break;case"details":sd("toggle",e),r=n;break;case"input":Ft(e,n),r=Nt(e,n),sd("invalid",e);break;case"option":Gt(0,n),r=n;break;case"select":Jt(e,n),r=Qt(0,n),sd("invalid",e);break;case"textarea":nn(e,n),r=tn(e,n),sd("invalid",e);break;default:r=n}switch(Vn(t,r),function(e,t,n,a,r){for(var o in a)if(a.hasOwnProperty(o)){var i=a[o];if(o===Ld)i&&Object.freeze(i),zn(t,i);else if(o===$d){var l=i?i[Ad]:void 0;null!=l&&pn(t,l)}else o===Td?"string"==typeof i?("textarea"!==e||""!==i)&&_n(t,i):"number"==typeof i&&_n(t,""+i):o===Rd||o===Cd||o===Pd||(U.hasOwnProperty(o)?null!=i&&("function"!=typeof i&&Ed(o,i),"onScroll"===o&&sd("scroll",t)):null!=i&&Se(t,o,i,r))}}(t,e,0,r,o),t){case"input":$t(e),Ot(e,n,!1);break;case"textarea":$t(e),rn(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",xt(kt(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var a=t.value;null!=a?Xt(n,!!t.multiple,a,!1):null!=t.defaultValue&&Xt(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof r.onClick&&Hd(e)}}function jd(e,t,n,a,r){bd(t,a);var i,l,s,d,c=null;switch(t){case"input":i=Nt(e,n),l=Nt(e,a),c=[];break;case"select":i=Qt(0,n),l=Qt(0,a),c=[];break;case"textarea":i=tn(e,n),l=tn(e,a),c=[];break;default:l=a,"function"!=typeof(i=n).onClick&&"function"==typeof l.onClick&&Hd(e)}Vn(t,l);var u=null;for(s in i)if(!l.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if(s===Ld){var h=i[s];for(d in h)h.hasOwnProperty(d)&&(u||(u={}),u[d]="")}else s===$d||s===Td||s===Rd||s===Cd||s===Pd||(U.hasOwnProperty(s)?c||(c=[]):(c=c||[]).push(s,null));for(s in l){var p=l[s],f=null!=i?i[s]:void 0;if(l.hasOwnProperty(s)&&p!==f&&(null!=p||null!=f))if(s===Ld)if(p&&Object.freeze(p),f){for(d in f)!f.hasOwnProperty(d)||p&&p.hasOwnProperty(d)||(u||(u={}),u[d]="");for(d in p)p.hasOwnProperty(d)&&f[d]!==p[d]&&(u||(u={}),u[d]=p[d])}else u||(c||(c=[]),c.push(s,u)),u=p;else if(s===$d){var m=p?p[Ad]:void 0,g=f?f[Ad]:void 0;null!=m&&g!==m&&(c=c||[]).push(s,m)}else s===Td?"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(s,""+p):s===Rd||s===Cd||(U.hasOwnProperty(s)?(null!=p&&("function"!=typeof p&&Ed(s,p),"onScroll"===s&&sd("scroll",e)),c||f===p||(c=[])):(c=c||[]).push(s,p))}return u&&(!function(e,t){if(t){var n,a=Dn(e),r=Dn(t),i={};for(var l in a){var s=a[l],d=r[l];if(d&&s!==d){var c=s+","+d;if(i[c])continue;i[c]=!0,o("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(n=e[s])||"boolean"==typeof n||""===n?"Removing":"Updating",s,d)}}}}(u,l[Ld]),(c=c||[]).push(Ld,u)),c}function Bd(e,t,n,a,r){"input"===n&&"radio"===r.type&&null!=r.name&&zt(e,r);jn(n,a);switch(function(e,t,n,a){for(var r=0;r<t.length;r+=2){var o=t[r],i=t[r+1];o===Ld?zn(e,i):o===$d?pn(e,i):o===Td?_n(e,i):Se(e,o,i,a)}}(e,t,0,jn(n,r)),n){case"input":Dt(e,r);break;case"textarea":an(e,r);break;case"select":!function(e,t){var n=e,a=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var r=t.value;null!=r?Xt(n,!!t.multiple,r,!1):a!==!!t.multiple&&(null!=t.defaultValue?Xt(n,!!t.multiple,t.defaultValue,!0):Xt(n,!!t.multiple,t.multiple?[]:"",!1))}(e,r)}}function Ud(e,t){wd||(wd=!0,o("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Gd(e,t){wd||(wd=!0,o('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function qd(e,t,n){wd||(wd=!0,o("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function Wd(e,t){""!==t&&(wd||(wd=!0,o('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}var Yd=function(){},Zd=function(){},Kd=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Xd=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Qd=Xd.concat(["button"]),Jd=["dd","dt","li","option","optgroup","p","rp","rt"],ec={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Zd=function(e,t){var n=Ze({},e||ec),a={tag:t};return-1!==Xd.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==Qd.indexOf(t)&&(n.pTagInButtonScope=null),-1!==Kd.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=a,"form"===t&&(n.formTag=a),"a"===t&&(n.aTagInScope=a),"button"===t&&(n.buttonTagInScope=a),"nobr"===t&&(n.nobrTagInScope=a),"p"===t&&(n.pTagInButtonScope=a),"li"===t&&(n.listItemTagAutoclosing=a),"dd"!==t&&"dt"!==t||(n.dlItemTagAutoclosing=a),n};var tc={};Yd=function(e,t,n){var a=(n=n||ec).current,r=a&&a.tag;null!=t&&(null!=e&&o("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===Jd.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,r)?null:a,l=i?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),s=i||l;if(s){var d=s.tag,c=!!i+"|"+e+"|"+d;if(!tc[c]){tc[c]=!0;var u=e,h="";if("#text"===e?/\S/.test(t)?u="Text nodes":(u="Whitespace text nodes",h=" Make sure you don't have any extra whitespace between tags on each line of your source code."):u="<"+e+">",i){var p="";"table"===d&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),o("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",u,d,h,p)}else o("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",u,d)}}};var nc="suppressHydrationWarning",ac="$",rc="/$",oc="$?",ic="$!",lc="style",sc=null,dc=null;function cc(e){var t;sc=nl,t=As(),dc={focusedElem:t,selectionRange:Is(t)?Fs(t):null};return al(!1),null}function uc(e,t,n,a,r){var i=a;if(Yd(e,null,i.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var l=""+t.children,s=Zd(i.ancestorInfo,e);Yd(null,l,s)}var d=function(e,t,n,a){var r,i,l=Dd(n),s=a;if(s===on&&(s=dn(e)),s===on){if((r=jn(e,t))||e===e.toLowerCase()||o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var d=l.createElement("div");d.innerHTML="<script><\/script>";var c=d.firstChild;i=d.removeChild(c)}else if("string"==typeof t.is)i=l.createElement(e,{is:t.is});else if(i=l.createElement(e),"select"===e){var u=i;t.multiple?u.multiple=!0:t.size&&(u.size=t.size)}}else i=l.createElementNS(s,e);return s===on&&(r||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(i)||Z.call(_d,e)||(_d[e]=!0,o("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),i}(e,t,n,i.namespace);return Dc(r,d),qc(d,t),d}function hc(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}function pc(e,t,n,a){Yd(null,e,n.ancestorInfo);var r=function(e,t){return Dd(t).createTextNode(e)}(e,t);return Dc(a,r),r}var fc="function"==typeof setTimeout?setTimeout:void 0,mc="function"==typeof clearTimeout?clearTimeout:void 0,gc=-1,yc="function"==typeof Promise?Promise:void 0,vc="function"==typeof queueMicrotask?queueMicrotask:void 0!==yc?function(e){return yc.resolve(null).then(e).catch(_c)}:fc;function _c(e){setTimeout((function(){throw e}))}function bc(e){_n(e,"")}function xc(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===gn){var o=r.data;if(o===rc){if(0===a)return e.removeChild(r),void el(t);a--}else o!==ac&&o!==oc&&o!==ic||a++}n=r}while(n);el(t)}function kc(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function Ec(e,t){var n=t[lc],a=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=En("display",a)}function Mc(e,t){e.nodeValue=t}function Sc(e){return e.data===oc}function wc(e){return e.data===ic}function $c(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(t===fn||t===mn)break;if(t===gn){var n=e.data;if(n===ac||n===ic||n===oc)break;if(n===rc)return null}}return e}function Rc(e){return $c(e.nextSibling)}function Cc(e,t,n,a,r,o,i){return Dc(o,e),qc(e,n),function(e,t,n,a,r,o,i){var l,s;switch(l=jn(t,n),bd(t,n),t){case"dialog":sd("cancel",e),sd("close",e);break;case"iframe":case"object":case"embed":sd("load",e);break;case"video":case"audio":for(var d=0;d<ad.length;d++)sd(ad[d],e);break;case"source":sd("error",e);break;case"img":case"image":case"link":sd("error",e),sd("load",e);break;case"details":sd("toggle",e);break;case"input":Ft(e,n),sd("invalid",e);break;case"option":Gt(0,n);break;case"select":Jt(e,n),sd("invalid",e);break;case"textarea":nn(e,n),sd("invalid",e)}Vn(t,n),s=new Set;for(var c=e.attributes,u=0;u<c.length;u++)switch(c[u].name.toLowerCase()){case"value":case"checked":case"selected":break;default:s.add(c[u].name)}var h,p=null;for(var f in n)if(n.hasOwnProperty(f)){var m=n[f];if(f===Td)"string"==typeof m?e.textContent!==m&&(!0!==n[Cd]&&zd(e.textContent,m,o,i),p=[Td,m]):"number"==typeof m&&e.textContent!==""+m&&(!0!==n[Cd]&&zd(e.textContent,m,o,i),p=[Td,""+m]);else if(U.hasOwnProperty(f))null!=m&&("function"!=typeof m&&Ed(f,m),"onScroll"===f&&sd("scroll",e));else if(i&&"boolean"==typeof l){var g=void 0,y=l&&D?null:me(f);if(!0===n[Cd]);else if(f===Rd||f===Cd||"value"===f||"checked"===f||"selected"===f);else if(f===$d){var v=e.innerHTML,_=m?m[Ad]:void 0;if(null!=_){var b=Sd(e,_);b!==v&&xd(f,v,b)}}else if(f===Ld){if(s.delete(f),Md){var x=Fn(m);x!==(g=e.getAttribute("style"))&&xd(f,g,x)}}else if(l&&!D)s.delete(f.toLowerCase()),m!==(g=Me(e,f,m))&&xd(f,g,m);else if(!he(f,y,l)&&!fe(f,m,y,l)){var k=!1;if(null!==y)s.delete(y.attributeName),g=Ee(e,f,m,y);else{var E=a;if(E===on&&(E=dn(t)),E===on)s.delete(f.toLowerCase());else{var M=(h=void 0,h=f.toLowerCase(),Bn.hasOwnProperty(h)&&Bn[h]||null);null!==M&&M!==f&&(k=!0,s.delete(M)),s.delete(f)}g=Me(e,f,m)}D||m===g||k||xd(f,g,m)}}}switch(i&&s.size>0&&!0!==n[Cd]&&kd(s),t){case"input":$t(e),Ot(e,n,!0);break;case"textarea":$t(e),rn(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&Hd(e)}return p}(e,t,n,r.namespace,0,(o.mode&no)!==to,i)}function Pc(e){for(var t=e.previousSibling,n=0;t;){if(t.nodeType===gn){var a=t.data;if(a===ac||a===ic||a===oc){if(0===n)return t;n--}else a===rc&&n++}t=t.previousSibling}return null}var Tc=Math.random().toString(36).slice(2),Lc="__reactFiber$"+Tc,Ac="__reactProps$"+Tc,Ic="__reactContainer$"+Tc,Nc="__reactEvents$"+Tc,Fc="__reactListeners$"+Tc,zc="__reactHandles$"+Tc;function Dc(e,t){t[Lc]=e}function Oc(e,t){t[Ic]=e}function Hc(e){e[Ic]=null}function Vc(e){return!!e[Ic]}function jc(e){var t=e[Lc];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ic]||n[Lc]){var a=t.alternate;if(null!==t.child||null!==a&&null!==a.child)for(var r=Pc(e);null!==r;){var o=r[Lc];if(o)return o;r=Pc(r)}return t}n=(e=n).parentNode}return null}function Bc(e){var t=e[Lc]||e[Ic];return t&&(t.tag===h||t.tag===p||t.tag===b||t.tag===c)?t:null}function Uc(e){if(e.tag===h||e.tag===p)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Gc(e){return e[Ac]||null}function qc(e,t){e[Ac]=t}var Wc={},Yc=n.ReactDebugCurrentFrame;function Zc(e){if(e){var t=e._owner,n=it(e.type,e._source,t?t.type:null);Yc.setExtraStackFrame(n)}else Yc.setExtraStackFrame(null)}function Kc(e,t,n,a,r){var i=Function.call.bind(Z);for(var l in e)if(i(e,l)){var s=void 0;try{if("function"!=typeof e[l]){var d=Error((a||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}s=e[l](t,l,a,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(Zc(r),o("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",a||"React class",n,l,typeof s),Zc(null)),s instanceof Error&&!(s.message in Wc)&&(Wc[s.message]=!0,Zc(r),o("Failed %s type: %s",n,s.message),Zc(null))}}var Xc,Qc=[];Xc=[];var Jc,eu=-1;function tu(e){return{current:e}}function nu(e,t){eu<0?o("Unexpected pop."):(t!==Xc[eu]&&o("Unexpected Fiber popped."),e.current=Qc[eu],Qc[eu]=null,Xc[eu]=null,eu--)}function au(e,t,n){eu++,Qc[eu]=e.current,Xc[eu]=n,e.current=t}Jc={};var ru={};Object.freeze(ru);var ou=tu(ru),iu=tu(!1),lu=ru;function su(e,t,n){return n&&hu(t)?lu:ou.current}function du(e,t,n){var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=n}function cu(e,t){var n=e.type.contextTypes;if(!n)return ru;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var r={};for(var o in n)r[o]=t[o];return Kc(n,r,"context",ht(e)||"Unknown"),a&&du(e,t,r),r}function uu(){return iu.current}function hu(e){var t=e.childContextTypes;return null!=t}function pu(e){nu(iu,e),nu(ou,e)}function fu(e){nu(iu,e),nu(ou,e)}function mu(e,t,n){if(ou.current!==ru)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");au(ou,t,e),au(iu,n,e)}function gu(e,t,n){var a=e.stateNode,r=t.childContextTypes;if("function"!=typeof a.getChildContext){var i=ht(e)||"Unknown";return Jc[i]||(Jc[i]=!0,o("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i)),n}var l=a.getChildContext();for(var s in l)if(!(s in r))throw new Error((ht(e)||"Unknown")+'.getChildContext(): key "'+s+'" is not defined in childContextTypes.');return Kc(r,l,"child context",ht(e)||"Unknown"),Ze({},n,l)}function yu(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||ru;return lu=ou.current,au(ou,n,e),au(iu,iu.current,e),!0}function vu(e,t,n){var a=e.stateNode;if(!a)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var r=gu(e,t,lu);a.__reactInternalMemoizedMergedChildContext=r,nu(iu,e),nu(ou,e),au(ou,r,e),au(iu,n,e)}else nu(iu,e),au(iu,n,e)}function _u(e){if(!function(e){return fr(e)===e}(e)||e.tag!==s)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case c:return t.stateNode.context;case s:if(hu(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var bu=0,xu=1,ku=null,Eu=!1,Mu=!1;function Su(e){null===ku?ku=[e]:ku.push(e)}function wu(){Eu&&$u()}function $u(){if(!Mu&&null!==ku){Mu=!0;var e=0,t=Li();try{var n=ku;for(Ai($i);e<n.length;e++){var a=n[e];do{a=a(true)}while(null!==a)}ku=null,Eu=!1}catch(t){throw null!==ku&&(ku=ku.slice(e+1)),Er(Cr,$u),t}finally{Ai(t),Mu=!1}}return null}var Ru=[],Cu=0,Pu=null,Tu=0,Lu=[],Au=0,Iu=null,Nu=1,Fu="";function zu(){var e=Fu;return(Nu&~function(e){return 1<<Vu(e)-1}(Nu)).toString(32)+e}function Du(e,t){Bu(),Ru[Cu++]=Tu,Ru[Cu++]=Pu,Pu=e,Tu=t}function Ou(e,t,n){Bu(),Lu[Au++]=Nu,Lu[Au++]=Fu,Lu[Au++]=Iu,Iu=e;var a=Nu,r=Fu,o=Vu(a)-1,i=a&~(1<<o),l=n+1,s=Vu(t)+o;if(s>30){var d=o-o%5,c=(i&(1<<d)-1).toString(32),u=i>>d,h=o-d,p=Vu(t)+h;Nu=1<<p|(l<<h|u),Fu=c+r}else{Nu=1<<s|(l<<o|i),Fu=r}}function Hu(e){if(Bu(),null!==e.return){Du(e,1),Ou(e,1,0)}}function Vu(e){return 32-io(e)}function ju(e){for(;e===Pu;)Pu=Ru[--Cu],Ru[Cu]=null,Tu=Ru[--Cu],Ru[Cu]=null;for(;e===Iu;)Iu=Lu[--Au],Lu[Au]=null,Fu=Lu[--Au],Lu[Au]=null,Nu=Lu[--Au],Lu[Au]=null}function Bu(){mh()||o("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Uu=null,Gu=null,qu=!1,Wu=!1,Yu=null;function Zu(){qu&&o("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Ku(){Wu=!0}function Xu(e){var t=e.stateNode.containerInfo;return Gu=$c(t.firstChild),Uu=e,qu=!0,Yu=null,Wu=!1,!0}function Qu(e,t,n){return Gu=$c(t.nextSibling),Uu=e,qu=!0,Yu=null,Wu=!1,null!==n&&function(e,t){Bu(),Lu[Au++]=Nu,Lu[Au++]=Fu,Lu[Au++]=Iu,Nu=t.id,Fu=t.overflow,Iu=e}(e,n),!0}function Ju(e,t){switch(e.tag){case c:!function(e,t){t.nodeType===fn?Ud(e,t):t.nodeType===gn||Gd(e,t)}(e.stateNode.containerInfo,t);break;case h:var n=(e.mode&no)!==to;!function(e,t,n,a,r){(r||!0!==t[nc])&&(a.nodeType===fn?Ud(n,a):a.nodeType===gn||Gd(n,a))}(e.type,e.memoizedProps,e.stateNode,t,n);break;case b:var a=e.memoizedState;null!==a.dehydrated&&function(e,t){var n=e.parentNode;null!==n&&(t.nodeType===fn?Ud(n,t):t.nodeType===gn||Gd(n,t))}(a.dehydrated,t)}}function eh(e,t){Ju(e,t);var n,a=((n=ax(h,null,null,to)).elementType="DELETED",n);a.stateNode=t,a.return=e;var r=e.deletions;null===r?(e.deletions=[a],e.flags|=Ha):r.push(a)}function th(e,t){if(!Wu)switch(e.tag){case c:var n=e.stateNode.containerInfo;switch(t.tag){case h:var a=t.type;t.pendingProps,function(e,t,n){qd(e,t)}(n,a);break;case p:!function(e,t){Wd(e,t)}(n,t.pendingProps)}break;case h:e.type;var r=e.memoizedProps,o=e.stateNode;switch(t.tag){case h:var i=t.type;t.pendingProps;!function(e,t,n,a,r,o){(o||!0!==t[nc])&&qd(n,a)}(0,r,o,i,0,(e.mode&no)!==to);break;case p:!function(e,t,n,a,r){(r||!0!==t[nc])&&Wd(n,a)}(0,r,o,t.pendingProps,(e.mode&no)!==to)}break;case b:var l=e.memoizedState.dehydrated;if(null!==l)switch(t.tag){case h:var s=t.type;t.pendingProps,function(e,t,n){var a=e.parentNode;null!==a&&qd(a,t)}(l,s);break;case p:!function(e,t){var n=e.parentNode;null!==n&&Wd(n,t)}(l,t.pendingProps)}break;default:return}}function nh(e,t){t.flags=t.flags&~Ya|Da,th(e,t)}function ah(e,t){switch(e.tag){case h:var n=e.type;e.pendingProps;var a=function(e,t,n){return e.nodeType!==fn||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n);return null!==a&&(e.stateNode=a,Uu=e,Gu=$c(a.firstChild),!0);case p:var r=function(e,t){return""===t||e.nodeType!==mn?null:e}(t,e.pendingProps);return null!==r&&(e.stateNode=r,Uu=e,Gu=null,!0);case b:var o=function(e){return e.nodeType!==gn?null:e}(t);if(null!==o){var i={dehydrated:o,treeContext:(Bu(),null!==Iu?{id:Nu,overflow:Fu}:null),retryLane:Wo};e.memoizedState=i;var l=function(e){var t=ax(S,null,null,to);return t.stateNode=e,t}(o);return l.return=e,e.child=l,Uu=e,Gu=null,!0}return!1;default:return!1}}function rh(e){return(e.mode&no)!==to&&(e.flags&Ba)===Fa}function oh(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function ih(e){if(qu){var t=Gu;if(!t)return rh(e)&&(th(Uu,e),oh()),nh(Uu,e),qu=!1,void(Uu=e);var n=t;if(!ah(e,t)){rh(e)&&(th(Uu,e),oh()),t=Rc(n);var a=Uu;if(!t||!ah(e,t))return nh(Uu,e),qu=!1,void(Uu=e);eh(a,n)}}}function lh(e){var t=e.stateNode,n=e.memoizedProps,a=function(e,t,n,a){return Dc(n,e),n.mode,function(e,t,n){return e.nodeValue!==t}(e,t)}(t,n,e);if(a){var r=Uu;if(null!==r)switch(r.tag){case c:r.stateNode.containerInfo;!function(e,t,n,a){zd(t.nodeValue,n,a,!0)}(0,t,n,(r.mode&no)!==to);break;case h:r.type;var o=r.memoizedProps;r.stateNode;!function(e,t,n,a,r,o){!0!==t[nc]&&zd(a.nodeValue,r,o,!0)}(0,o,0,t,n,(r.mode&no)!==to)}}return a}function sh(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");!function(e,t){Dc(t,e)}(n,e)}function dh(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(t.nodeType===gn){var a=t.data;if(a===rc){if(0===n)return Rc(t);n--}else a!==ac&&a!==ic&&a!==oc||n++}t=t.nextSibling}return null}(n)}function ch(e){for(var t=e.return;null!==t&&t.tag!==h&&t.tag!==c&&t.tag!==b;)t=t.return;Uu=t}function uh(e){if(e!==Uu)return!1;if(!qu)return ch(e),qu=!0,!1;if(e.tag!==c&&(e.tag!==h||"head"!==(n=e.type)&&"body"!==n&&!hc(e.type,e.memoizedProps))){var t=Gu;if(t)if(rh(e))hh(e),oh();else for(;t;)eh(e,t),t=Rc(t)}var n;return ch(e),Gu=e.tag===b?dh(e):Uu?Rc(e.stateNode):null,!0}function hh(e){for(var t=Gu;t;)Ju(e,t),t=Rc(t)}function ph(){Uu=null,Gu=null,qu=!1,Wu=!1}function fh(){null!==Yu&&(J_(Yu),Yu=null)}function mh(){return qu}function gh(e){null===Yu?Yu=[e]:Yu.push(e)}var yh=n.ReactCurrentBatchConfig,vh=null;var _h={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},bh=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t.sort().join(", ")},xh=[],kh=[],Eh=[],Mh=[],Sh=[],wh=[],$h=new Set;_h.recordUnsafeLifecycleWarnings=function(e,t){$h.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&xh.push(e),e.mode&ro&&"function"==typeof t.UNSAFE_componentWillMount&&kh.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&Eh.push(e),e.mode&ro&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&Mh.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&Sh.push(e),e.mode&ro&&"function"==typeof t.UNSAFE_componentWillUpdate&&wh.push(e))},_h.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;xh.length>0&&(xh.forEach((function(t){e.add(ht(t)||"Component"),$h.add(t.type)})),xh=[]);var t=new Set;kh.length>0&&(kh.forEach((function(e){t.add(ht(e)||"Component"),$h.add(e.type)})),kh=[]);var n=new Set;Eh.length>0&&(Eh.forEach((function(e){n.add(ht(e)||"Component"),$h.add(e.type)})),Eh=[]);var a=new Set;Mh.length>0&&(Mh.forEach((function(e){a.add(ht(e)||"Component"),$h.add(e.type)})),Mh=[]);var i=new Set;Sh.length>0&&(Sh.forEach((function(e){i.add(ht(e)||"Component"),$h.add(e.type)})),Sh=[]);var l=new Set;(wh.length>0&&(wh.forEach((function(e){l.add(ht(e)||"Component"),$h.add(e.type)})),wh=[]),t.size>0)&&o("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",bh(t));a.size>0&&o("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s",bh(a));l.size>0&&o("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",bh(l));e.size>0&&r("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",bh(e));n.size>0&&r("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",bh(n));i.size>0&&r("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",bh(i))};var Rh=new Map,Ch=new Set;function Ph(e,t){if(e&&e.defaultProps){var n=Ze({},t),a=e.defaultProps;for(var r in a)void 0===n[r]&&(n[r]=a[r]);return n}return t}_h.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)n.mode&ro&&(t=n),n=n.return;return t}(e);if(null!==n){if(!Ch.has(e.type)){var a=Rh.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===a&&(a=[],Rh.set(n,a)),a.push(e))}}else o("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},_h.flushLegacyContextWarning=function(){Rh.forEach((function(e,t){if(0!==e.length){var n=e[0],a=new Set;e.forEach((function(e){a.add(ht(e)||"Component"),Ch.add(e.type)}));var r=bh(a);try{_t(n),o("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",r)}finally{vt()}}}))},_h.discardPendingWarnings=function(){xh=[],kh=[],Eh=[],Mh=[],Sh=[],wh=[],Rh=new Map};var Th,Lh=tu(null);Th={};var Ah=null,Ih=null,Nh=null,Fh=!1;function zh(){Ah=null,Ih=null,Nh=null,Fh=!1}function Dh(){Fh=!0}function Oh(){Fh=!1}function Hh(e,t,n){au(Lh,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Th&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Th}function Vh(e,t){var n=Lh.current;nu(Lh,t),e._currentValue=n}function jh(e,t,n){for(var a=e;null!==a;){var r=a.alternate;if(hi(a.childLanes,t)?null===r||hi(r.childLanes,t)||(r.childLanes=pi(r.childLanes,t)):(a.childLanes=pi(a.childLanes,t),null!==r&&(r.childLanes=pi(r.childLanes,t))),a===n)break;a=a.return}a!==n&&o("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Bh(e,t,n){!function(e,t,n){var a=e.child;null!==a&&(a.return=e);for(;null!==a;){var r=void 0,o=a.dependencies;if(null!==o){r=a.child;for(var i=o.firstContext;null!==i;){if(i.context===t){if(a.tag===s){var l=si(n),d=lp(Zo,l);d.tag=np;var c=a.updateQueue;if(null===c);else{var u=c.shared,h=u.pending;null===h?d.next=d:(d.next=h.next,h.next=d),u.pending=d}}a.lanes=pi(a.lanes,n);var p=a.alternate;null!==p&&(p.lanes=pi(p.lanes,n)),jh(a.return,n,e),o.lanes=pi(o.lanes,n);break}i=i.next}}else if(a.tag===y)r=a.type===e.type?null:a.child;else if(a.tag===S){var f=a.return;if(null===f)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");f.lanes=pi(f.lanes,n);var m=f.alternate;null!==m&&(m.lanes=pi(m.lanes,n)),jh(f,n,e),r=a.sibling}else r=a.child;if(null!==r)r.return=a;else for(r=a;null!==r;){if(r===e){r=null;break}var g=r.sibling;if(null!==g){g.return=r.return,r=g;break}r=r.return}a=r}}(e,t,n)}function Uh(e,t){Ah=e,Ih=null,Nh=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(ui(n.lanes,t)&&Ey(),n.firstContext=null))}function Gh(e){Fh&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(Nh===e);else{var n={context:e,memoizedValue:t,next:null};if(null===Ih){if(null===Ah)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Ih=n,Ah.dependencies={lanes:uo,firstContext:n}}else Ih=Ih.next=n}return t}var qh=null;function Wh(e){null===qh?qh=[e]:qh.push(e)}function Yh(e,t,n,a){var r=t.interleaved;return null===r?(n.next=n,Wh(t)):(n.next=r.next,r.next=n),t.interleaved=n,Xh(e,a)}function Zh(e,t){return Xh(e,t)}var Kh=Xh;function Xh(e,t){e.lanes=pi(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=pi(n.lanes,t)),null===n&&(e.flags&(Da|Ya))!==Fa&&Lb(e);for(var a=e,r=e.return;null!==r;)r.childLanes=pi(r.childLanes,t),null!==(n=r.alternate)?n.childLanes=pi(n.childLanes,t):(r.flags&(Da|Ya))!==Fa&&Lb(e),a=r,r=r.return;return a.tag===c?a.stateNode:null}var Qh,Jh,ep=0,tp=1,np=2,ap=3,rp=!1;function op(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:uo},effects:null};e.updateQueue=t}function ip(e,t){var n=t.updateQueue,a=e.updateQueue;if(n===a){var r={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,effects:a.effects};t.updateQueue=r}}function lp(e,t){return{eventTime:e,lane:t,tag:ep,payload:null,callback:null,next:null}}function sp(e,t,n){var a=e.updateQueue;if(null===a)return null;var r=a.shared;if(Jh!==r||Qh||(o("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Qh=!0),(i_&Xv)!==Zv){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Kh(e,n)}return function(e,t,n,a){var r=t.interleaved;return null===r?(n.next=n,Wh(t)):(n.next=r.next,r.next=n),t.interleaved=n,Xh(e,a)}(e,r,t,n)}function dp(e,t,n){var a=t.updateQueue;if(null!==a){var r=a.shared;if(oi(n)){var o=r.lanes,i=pi(o=mi(o,e.pendingLanes),n);r.lanes=i,_i(e,i)}}}function cp(e,t){var n=e.updateQueue,a=e.alternate;if(null!==a){var r=a.updateQueue;if(n===r){var o=null,i=null,l=n.firstBaseUpdate;if(null!==l){var s=l;do{var d={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};null===i?o=i=d:(i.next=d,i=d),s=s.next}while(null!==s);null===i?o=i=t:(i.next=t,i=t)}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}}var c=n.lastBaseUpdate;null===c?n.firstBaseUpdate=t:c.next=t,n.lastBaseUpdate=t}function up(e,t,n,a,r,o){switch(n.tag){case tp:var i=n.payload;if("function"==typeof i){Dh();var l=i.call(o,a,r);if(e.mode&ro){Vr(!0);try{i.call(o,a,r)}finally{Vr(!1)}}return Oh(),l}return i;case ap:e.flags=e.flags&~er|Ba;case ep:var s,d=n.payload;if("function"==typeof d){if(Dh(),s=d.call(o,a,r),e.mode&ro){Vr(!0);try{d.call(o,a,r)}finally{Vr(!1)}}Oh()}else s=d;return null==s?a:Ze({},a,s);case np:return rp=!0,a}return a}function hp(e,t,n,a){var r=e.updateQueue;rp=!1,Jh=r.shared;var o=r.firstBaseUpdate,i=r.lastBaseUpdate,l=r.shared.pending;if(null!==l){r.shared.pending=null;var s=l,d=s.next;s.next=null,null===i?o=d:i.next=d,i=s;var c=e.alternate;if(null!==c){var u=c.updateQueue,h=u.lastBaseUpdate;h!==i&&(null===h?u.firstBaseUpdate=d:h.next=d,u.lastBaseUpdate=s)}}if(null!==o){for(var p=r.baseState,f=uo,m=null,g=null,y=null,v=o;;){var _=v.lane,b=v.eventTime;if(hi(a,_)){if(null!==y){var x={eventTime:b,lane:ho,tag:v.tag,payload:v.payload,callback:v.callback,next:null};y=y.next=x}if(p=up(e,0,v,p,t,n),null!==v.callback&&v.lane!==ho){e.flags|=ja;var k=r.effects;null===k?r.effects=[v]:k.push(v)}}else{var E={eventTime:b,lane:_,tag:v.tag,payload:v.payload,callback:v.callback,next:null};null===y?(g=y=E,m=p):y=y.next=E,f=pi(f,_)}if(null===(v=v.next)){if(null===(l=r.shared.pending))break;var M=l,S=M.next;M.next=null,v=S,r.lastBaseUpdate=M,r.shared.pending=null}}null===y&&(m=p),r.baseState=m,r.firstBaseUpdate=g,r.lastBaseUpdate=y;var w=r.shared.interleaved;if(null!==w){var $=w;do{f=pi(f,$.lane),$=$.next}while($!==w)}else null===o&&(r.shared.lanes=uo);ub(f),e.lanes=f,e.memoizedState=p}Jh=null}function pp(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function fp(){rp=!1}function mp(){return rp}function gp(e,t,n){var a=t.effects;if(t.effects=null,null!==a)for(var r=0;r<a.length;r++){var o=a[r],i=o.callback;null!==i&&(o.callback=null,pp(i,n))}}Qh=!1,Jh=null;var yp,vp,_p,bp,xp,kp,Ep,Mp,Sp,wp,$p={},Rp=(new e.Component).refs;yp=new Set,vp=new Set,_p=new Set,bp=new Set,Mp=new Set,xp=new Set,Sp=new Set,wp=new Set;var Cp=new Set;function Pp(e,t,n,a){var r=e.memoizedState,o=n(a,r);if(e.mode&ro){Vr(!0);try{o=n(a,r)}finally{Vr(!1)}}kp(t,o);var i=null==o?r:Ze({},r,o);(e.memoizedState=i,e.lanes===uo)&&(e.updateQueue.baseState=i)}Ep=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;Cp.has(n)||(Cp.add(n),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},kp=function(e,t){if(void 0===t){var n=ct(e)||"Component";xp.has(n)||(xp.add(n),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty($p,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze($p);var Tp,Lp,Ap,Ip,Np,Fp={isMounted:function(e){var t=pr.current;if(null!==t&&t.tag===s){var n=t,a=n.stateNode;a._warnedAboutRefsInRender||o("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ht(n)||"A component"),a._warnedAboutRefsInRender=!0}var r=Na(e);return!!r&&fr(r)===r},enqueueSetState:function(e,t,n){var a=Na(e),r=q_(),o=W_(a),i=lp(r,o);i.payload=t,null!=n&&(Ep(n,"setState"),i.callback=n);var l=sp(a,i,o);null!==l&&(Z_(l,a,o,r),dp(l,a,o)),eo(a,o)},enqueueReplaceState:function(e,t,n){var a=Na(e),r=q_(),o=W_(a),i=lp(r,o);i.tag=tp,i.payload=t,null!=n&&(Ep(n,"replaceState"),i.callback=n);var l=sp(a,i,o);null!==l&&(Z_(l,a,o,r),dp(l,a,o)),eo(a,o)},enqueueForceUpdate:function(e,t){var n=Na(e),a=q_(),r=W_(n),o=lp(a,r);o.tag=np,null!=t&&(Ep(t,"forceUpdate"),o.callback=t);var i=sp(n,o,r);null!==i&&(Z_(i,n,r,a),dp(i,n,r)),function(e,t){null!==Dr&&"function"==typeof Dr.markForceUpdateScheduled&&Dr.markForceUpdateScheduled(e,t)}(n,r)}};function zp(e,t,n,a,r,i,l){var s=e.stateNode;if("function"==typeof s.shouldComponentUpdate){var d=s.shouldComponentUpdate(a,i,l);if(e.mode&ro){Vr(!0);try{d=s.shouldComponentUpdate(a,i,l)}finally{Vr(!1)}}return void 0===d&&o("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ct(t)||"Component"),d}return!t.prototype||!t.prototype.isPureReactComponent||(!Ms(n,a)||!Ms(r,i))}function Dp(e,t){var n;t.updater=Fp,e.stateNode=t,n=e,t._reactInternals=n,t._reactInternalInstance=$p}function Op(e,t,n){var a=!1,r=ru,i=ru,l=t.contextType;if("contextType"in t&&(!(null===l||void 0!==l&&l.$$typeof===Le&&void 0===l._context)&&!wp.has(t))){wp.add(t);var s="";s=void 0===l?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof l?" However, it is set to a "+typeof l+".":l.$$typeof===Te?" Did you accidentally pass the Context.Provider instead?":void 0!==l._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ct(t)||"Component",s)}if("object"==typeof l&&null!==l)i=Gh(l);else{r=su(0,t,!0);var d=t.contextTypes;i=(a=null!=d)?cu(e,r):ru}var c=new t(n,i);if(e.mode&ro){Vr(!0);try{c=new t(n,i)}finally{Vr(!1)}}var u=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if(Dp(e,c),"function"==typeof t.getDerivedStateFromProps&&null===u){var h=ct(t)||"Component";vp.has(h)||(vp.add(h),o("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",h,null===c.state?"null":"undefined",h))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof c.getSnapshotBeforeUpdate){var p=null,f=null,m=null;if("function"==typeof c.componentWillMount&&!0!==c.componentWillMount.__suppressDeprecationWarning?p="componentWillMount":"function"==typeof c.UNSAFE_componentWillMount&&(p="UNSAFE_componentWillMount"),"function"==typeof c.componentWillReceiveProps&&!0!==c.componentWillReceiveProps.__suppressDeprecationWarning?f="componentWillReceiveProps":"function"==typeof c.UNSAFE_componentWillReceiveProps&&(f="UNSAFE_componentWillReceiveProps"),"function"==typeof c.componentWillUpdate&&!0!==c.componentWillUpdate.__suppressDeprecationWarning?m="componentWillUpdate":"function"==typeof c.UNSAFE_componentWillUpdate&&(m="UNSAFE_componentWillUpdate"),null!==p||null!==f||null!==m){var g=ct(t)||"Component",y="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";bp.has(g)||(bp.add(g),o("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles",g,y,null!==p?"\n "+p:"",null!==f?"\n "+f:"",null!==m?"\n "+m:""))}}return a&&du(e,r,i),c}function Hp(e,t,n,a){var r=t.state;if("function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==r){var i=ht(e)||"Component";yp.has(i)||(yp.add(i),o("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i)),Fp.enqueueReplaceState(t,t.state,null)}}function Vp(e,t,n,a){!function(e,t,n){var a=e.stateNode,r=ct(t)||"Component";a.render||(t.prototype&&"function"==typeof t.prototype.render?o("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",r):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",r)),!a.getInitialState||a.getInitialState.isReactClassApproved||a.state||o("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",r),a.getDefaultProps&&!a.getDefaultProps.isReactClassApproved&&o("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",r),a.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",r),a.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",r),a.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",r),t.contextType&&t.contextTypes&&!Sp.has(t)&&(Sp.add(t),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",r)),"function"==typeof a.componentShouldUpdate&&o("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",r),t.prototype&&t.prototype.isPureReactComponent&&void 0!==a.shouldComponentUpdate&&o("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",ct(t)||"A pure component"),"function"==typeof a.componentDidUnmount&&o("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",r),"function"==typeof a.componentDidReceiveProps&&o("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",r),"function"==typeof a.componentWillRecieveProps&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",r),"function"==typeof a.UNSAFE_componentWillRecieveProps&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",r);var i=a.props!==n;void 0!==a.props&&i&&o("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",r,r),a.defaultProps&&o("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",r,r),"function"!=typeof a.getSnapshotBeforeUpdate||"function"==typeof a.componentDidUpdate||_p.has(t)||(_p.add(t),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ct(t))),"function"==typeof a.getDerivedStateFromProps&&o("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),"function"==typeof a.getDerivedStateFromError&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",r),"function"==typeof t.getSnapshotBeforeUpdate&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",r);var l=a.state;l&&("object"!=typeof l||Yt(l))&&o("%s.state: must be set to an object or null",r),"function"==typeof a.getChildContext&&"object"!=typeof t.childContextTypes&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",r)}(e,t,n);var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs=Rp,op(e);var i=t.contextType;if("object"==typeof i&&null!==i)r.context=Gh(i);else{var l=su(0,t,!0);r.context=cu(e,l)}if(r.state===n){var s=ct(t)||"Component";Mp.has(s)||(Mp.add(s),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",s))}e.mode&ro&&_h.recordLegacyContextWarning(e,r),_h.recordUnsafeLifecycleWarnings(e,r),r.state=e.memoizedState;var d=t.getDerivedStateFromProps;if("function"==typeof d&&(Pp(e,t,d,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(!function(e,t){var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),n!==t.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ht(e)||"Component"),Fp.enqueueReplaceState(t,t.state,null))}(e,r),hp(e,n,r,a),r.state=e.memoizedState),"function"==typeof r.componentDidMount){var c=Oa;c|=rr,(e.mode&oo)!==to&&(c|=ir),e.flags|=c}}var jp;function Bp(e,t,n){var a=n.ref;if(null!==a&&"function"!=typeof a&&"object"!=typeof a){if((e.mode&ro||O)&&(!n._owner||!n._self||n._owner.stateNode===n._self)){var r=ht(e)||"Component";Ap[r]||(o('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',a),Ap[r]=!0)}if(n._owner){var i,l=n._owner;if(l){var d=l;if(d.tag!==s)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");i=d.stateNode}if(!i)throw new Error("Missing owner for string ref "+a+". This error is likely caused by a bug in React. Please file an issue.");var c=i;!function(e,t){if(X(e))o("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,K(e)),Q(e)}(a,"ref");var u=""+a;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===u)return t.ref;var h=function(e){var t=c.refs;t===Rp&&(t=c.refs={}),null===e?delete t[u]:t[u]=e};return h._stringRef=u,h}if("string"!=typeof a)throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+a+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.")}return a}function Up(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function Gp(e){var t=ht(e)||"Component";Np[t]||(Np[t]=!0,o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function qp(e){var t=e._payload;return(0,e._init)(t)}function Wp(e){function t(t,n){if(e){var a=t.deletions;null===a?(t.deletions=[n],t.flags|=Ha):a.push(n)}}function n(n,a){if(!e)return null;for(var r=a;null!==r;)t(n,r),r=r.sibling;return null}function a(e,t){for(var n=new Map,a=t;null!==a;)null!==a.key?n.set(a.key,a):n.set(a.index,a),a=a.sibling;return n}function r(e,t){var n=ox(e,t);return n.index=0,n.sibling=null,n}function i(t,n,a){if(t.index=a,!e)return t.flags|=nr,n;var r=t.alternate;if(null!==r){var o=r.index;return o<n?(t.flags|=Da,n):o}return t.flags|=Da,n}function l(t){return e&&null===t.alternate&&(t.flags|=Da),t}function s(e,t,n,a){if(null===t||t.tag!==p){var o=ux(n,e.mode,a);return o.return=e,o}var i=r(t,n);return i.return=e,i}function d(e,t,n,a){var o=n.type;if(o===Re)return h(e,t,n.props.children,a,n.key);if(null!==t&&(t.elementType===o||Wb(t,n)||"object"==typeof o&&null!==o&&o.$$typeof===ze&&qp(o)===t.type)){var i=r(t,n.props);return i.ref=Bp(e,t,n),i.return=e,i._debugSource=n._source,i._debugOwner=n._owner,i}var l=sx(n,e.mode,a);return l.ref=Bp(e,t,n),l.return=e,l}function c(e,t,n,a){if(null===t||t.tag!==u||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var o=hx(n,e.mode,a);return o.return=e,o}var i=r(t,n.children||[]);return i.return=e,i}function h(e,t,n,a,o){if(null===t||t.tag!==f){var i=dx(n,e.mode,a,o);return i.return=e,i}var l=r(t,n);return l.return=e,l}function m(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t){var a=ux(""+t,e.mode,n);return a.return=e,a}if("object"==typeof t&&null!==t){switch(t.$$typeof){case we:var r=sx(t,e.mode,n);return r.ref=Bp(e,null,t),r.return=e,r;case $e:var o=hx(t,e.mode,n);return o.return=e,o;case ze:var i=t._payload;return m(e,(0,t._init)(i),n)}if(Yt(t)||Ve(t)){var l=dx(t,e.mode,n,null);return l.return=e,l}Up(0,t)}return"function"==typeof t&&Gp(e),null}function g(e,t,n,a){var r=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==r?null:s(e,t,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case we:return n.key===r?d(e,t,n,a):null;case $e:return n.key===r?c(e,t,n,a):null;case ze:var o=n._payload;return g(e,t,(0,n._init)(o),a)}if(Yt(n)||Ve(n))return null!==r?null:h(e,t,n,a,null);Up(0,n)}return"function"==typeof n&&Gp(e),null}function y(e,t,n,a,r){if("string"==typeof a&&""!==a||"number"==typeof a)return s(t,e.get(n)||null,""+a,r);if("object"==typeof a&&null!==a){switch(a.$$typeof){case we:return d(t,e.get(null===a.key?n:a.key)||null,a,r);case $e:return c(t,e.get(null===a.key?n:a.key)||null,a,r);case ze:var o=a._payload;return y(e,t,n,(0,a._init)(o),r)}if(Yt(a)||Ve(a))return h(t,e.get(n)||null,a,r,null);Up(0,a)}return"function"==typeof a&&Gp(t),null}function v(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case we:case $e:jp(e,n);var a=e.key;if("string"!=typeof a)break;if(null===t){(t=new Set).add(a);break}if(!t.has(a)){t.add(a);break}o("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",a);break;case ze:var r=e._payload;v((0,e._init)(r),t,n)}return t}return function s(d,c,h,_){if("object"==typeof h&&null!==h&&h.type===Re&&null===h.key&&(h=h.props.children),"object"==typeof h&&null!==h){switch(h.$$typeof){case we:return l(function(e,a,o,i){for(var l=o.key,s=a;null!==s;){if(s.key===l){var d=o.type;if(d===Re){if(s.tag===f){n(e,s.sibling);var c=r(s,o.props.children);return c.return=e,c._debugSource=o._source,c._debugOwner=o._owner,c}}else if(s.elementType===d||Wb(s,o)||"object"==typeof d&&null!==d&&d.$$typeof===ze&&qp(d)===s.type){n(e,s.sibling);var u=r(s,o.props);return u.ref=Bp(e,s,o),u.return=e,u._debugSource=o._source,u._debugOwner=o._owner,u}n(e,s);break}t(e,s),s=s.sibling}if(o.type===Re){var h=dx(o.props.children,e.mode,i,o.key);return h.return=e,h}var p=sx(o,e.mode,i);return p.ref=Bp(e,a,o),p.return=e,p}(d,c,h,_));case $e:return l(function(e,a,o,i){for(var l=o.key,s=a;null!==s;){if(s.key===l){if(s.tag===u&&s.stateNode.containerInfo===o.containerInfo&&s.stateNode.implementation===o.implementation){n(e,s.sibling);var d=r(s,o.children||[]);return d.return=e,d}n(e,s);break}t(e,s),s=s.sibling}var c=hx(o,e.mode,i);return c.return=e,c}(d,c,h,_));case ze:var b=h._payload;return s(d,c,(0,h._init)(b),_)}if(Yt(h))return function(r,o,l,s){for(var d=null,c=0;c<l.length;c++)d=v(l[c],d,r);for(var u=null,h=null,p=o,f=0,_=0,b=null;null!==p&&_<l.length;_++){p.index>_?(b=p,p=null):b=p.sibling;var x=g(r,p,l[_],s);if(null===x){null===p&&(p=b);break}e&&p&&null===x.alternate&&t(r,p),f=i(x,f,_),null===h?u=x:h.sibling=x,h=x,p=b}if(_===l.length)return n(r,p),mh()&&Du(r,_),u;if(null===p){for(;_<l.length;_++){var k=m(r,l[_],s);null!==k&&(f=i(k,f,_),null===h?u=k:h.sibling=k,h=k)}return mh()&&Du(r,_),u}for(var E=a(0,p);_<l.length;_++){var M=y(E,r,_,l[_],s);null!==M&&(e&&null!==M.alternate&&E.delete(null===M.key?_:M.key),f=i(M,f,_),null===h?u=M:h.sibling=M,h=M)}return e&&E.forEach((function(e){return t(r,e)})),mh()&&Du(r,_),u}(d,c,h,_);if(Ve(h))return function(r,l,s,d){var c=Ve(s);if("function"!=typeof c)throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===s[Symbol.toStringTag]&&(Lp||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Lp=!0),s.entries===c&&(Tp||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Tp=!0);var u=c.call(s);if(u)for(var h=null,p=u.next();!p.done;p=u.next())h=v(p.value,h,r);var f=c.call(s);if(null==f)throw new Error("An iterable object provided no iterator.");for(var _=null,b=null,x=l,k=0,E=0,M=null,S=f.next();null!==x&&!S.done;E++,S=f.next()){x.index>E?(M=x,x=null):M=x.sibling;var w=g(r,x,S.value,d);if(null===w){null===x&&(x=M);break}e&&x&&null===w.alternate&&t(r,x),k=i(w,k,E),null===b?_=w:b.sibling=w,b=w,x=M}if(S.done)return n(r,x),mh()&&Du(r,E),_;if(null===x){for(;!S.done;E++,S=f.next()){var $=m(r,S.value,d);null!==$&&(k=i($,k,E),null===b?_=$:b.sibling=$,b=$)}return mh()&&Du(r,E),_}for(var R=a(0,x);!S.done;E++,S=f.next()){var C=y(R,r,E,S.value,d);null!==C&&(e&&null!==C.alternate&&R.delete(null===C.key?E:C.key),k=i(C,k,E),null===b?_=C:b.sibling=C,b=C)}return e&&R.forEach((function(e){return t(r,e)})),mh()&&Du(r,E),_}(d,c,h,_);Up(0,h)}return"string"==typeof h&&""!==h||"number"==typeof h?l(function(e,t,a,o){if(null!==t&&t.tag===p){n(e,t.sibling);var i=r(t,a);return i.return=e,i}n(e,t);var l=ux(a,e.mode,o);return l.return=e,l}(d,c,""+h,_)):("function"==typeof h&&Gp(d),n(d,c))}}Tp=!1,Lp=!1,Ap={},Ip={},Np={},jp=function(e,t){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=ht(t)||"Component";Ip[n]||(Ip[n]=!0,o('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var Yp=Wp(!0),Zp=Wp(!1);function Kp(e,t){for(var n=e.child;null!==n;)ix(n,t),n=n.sibling}var Xp={},Qp=tu(Xp),Jp=tu(Xp),ef=tu(Xp);function tf(e){if(e===Xp)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function nf(){return tf(ef.current)}function af(e,t){au(ef,t,e),au(Jp,e,e),au(Qp,Xp,e);var n=function(e){var t,n,a=e.nodeType;switch(a){case yn:case vn:t=a===yn?"#document":"#fragment";var r=e.documentElement;n=r?r.namespaceURI:cn(null,"");break;default:var o=a===gn?e.parentNode:e;n=cn(o.namespaceURI||null,t=o.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:Zd(null,i)}}(t);nu(Qp,e),au(Qp,n,e)}function rf(e){nu(Qp,e),nu(Jp,e),nu(ef,e)}function of(){return tf(Qp.current)}function lf(e){tf(ef.current);var t,n,a,r=tf(Qp.current),o=(t=r,n=e.type,{namespace:cn((a=t).namespace,n),ancestorInfo:Zd(a.ancestorInfo,n)});r!==o&&(au(Jp,e,e),au(Qp,o,e))}function sf(e){Jp.current===e&&(nu(Qp,e),nu(Jp,e))}var df=1,cf=1,uf=2,hf=tu(0);function pf(e,t){return 0!=(e&t)}function ff(e){return e&df}function mf(e,t){return e&df|t}function gf(e,t){au(hf,t,e)}function yf(e){nu(hf,e)}function vf(e,t){var n=e.memoizedState;return null!==n?null!==n.dehydrated:(e.memoizedProps,!0)}function _f(e){for(var t=e;null!==t;){if(t.tag===b){var n=t.memoizedState;if(null!==n){var a=n.dehydrated;if(null===a||Sc(a)||wc(a))return t}}else if(t.tag===w&&void 0!==t.memoizedProps.revealOrder){if((t.flags&Ba)!==Fa)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;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 bf=0,xf=1,kf=2,Ef=4,Mf=8,Sf=[];function wf(){for(var e=0;e<Sf.length;e++){Sf[e]._workInProgressVersionPrimary=null}Sf.length=0}function $f(e,t){var n=(0,t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)}var Rf,Cf,Pf=n.ReactCurrentDispatcher,Tf=n.ReactCurrentBatchConfig;Rf=new Set;var Lf=uo,Af=null,If=null,Nf=null,Ff=!1,zf=!1,Df=0,Of=0,Hf=25,Vf=null,jf=null,Bf=-1,Uf=!1;function Gf(){var e=Vf;null===jf?jf=[e]:jf.push(e)}function qf(){var e=Vf;null!==jf&&(Bf++,jf[Bf]!==e&&function(e){var t=ht(Af);if(!Rf.has(t)&&(Rf.add(t),null!==jf)){for(var n="",a=30,r=0;r<=Bf;r++){for(var i=jf[r],l=r===Bf?e:i,s=r+1+". "+i;s.length<a;)s+=" ";n+=s+=l+"\n"}o("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e))}function Wf(e){null==e||Yt(e)||o("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Vf,typeof e)}function Yf(){throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.")}function Zf(e,t){if(Uf)return!1;if(null===t)return o("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Vf),!1;e.length!==t.length&&o("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",Vf,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!Es(e[n],t[n]))return!1;return!0}function Kf(e,t,n,a,r,i){Lf=i,Af=t,jf=null!==e?e._debugHookTypes:null,Bf=-1,Uf=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=uo,null!==e&&null!==e.memoizedState?Pf.current=ng:Pf.current=null!==jf?tg:eg;var l=n(a,r);if(zf){var s=0;do{if(zf=!1,Df=0,s>=Hf)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");s+=1,Uf=!1,If=null,Nf=null,t.updateQueue=null,Bf=-1,Pf.current=ag,l=n(a,r)}while(zf)}Pf.current=Jm,t._debugHookTypes=jf;var d=null!==If&&null!==If.next;if(Lf=uo,Af=null,If=null,Nf=null,Vf=null,jf=null,Bf=-1,null!==e&&(e.flags&hr)!=(t.flags&hr)&&(e.mode&no)!==to&&o("Internal React error: Expected static flag was missing. Please notify the React team."),Ff=!1,d)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return l}function Xf(){var e=0!==Df;return Df=0,e}function Qf(e,t,n){t.updateQueue=e.updateQueue,(t.mode&oo)!==to?t.flags&=~(lr|ir|Wa|Oa):t.flags&=~(Wa|Oa),e.lanes=fi(e.lanes,n)}function Jf(){if(Pf.current=Jm,Ff){for(var e=Af.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Ff=!1}Lf=uo,Af=null,If=null,Nf=null,jf=null,Bf=-1,Vf=null,Um=!1,zf=!1,Df=0}function em(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Nf?Af.memoizedState=Nf=e:Nf=Nf.next=e,Nf}function tm(){var e,t;if(null===If){var n=Af.alternate;e=null!==n?n.memoizedState:null}else e=If.next;if(null!==(t=null===Nf?Af.memoizedState:Nf.next))t=(Nf=t).next,If=e;else{if(null===e)throw new Error("Rendered more hooks than during the previous render.");var a={memoizedState:(If=e).memoizedState,baseState:If.baseState,baseQueue:If.baseQueue,queue:If.queue,next:null};null===Nf?Af.memoizedState=Nf=a:Nf=Nf.next=a}return Nf}function nm(e,t){return"function"==typeof t?t(e):t}function am(e,t,n){var a,r=em();a=void 0!==n?n(t):t,r.memoizedState=r.baseState=a;var o={pending:null,interleaved:null,lanes:uo,dispatch:null,lastRenderedReducer:e,lastRenderedState:a};r.queue=o;var i=o.dispatch=Wm.bind(null,Af,o);return[r.memoizedState,i]}function rm(e,t,n){var a=tm(),r=a.queue;if(null===r)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var i=If,l=i.baseQueue,s=r.pending;if(null!==s){if(null!==l){var d=l.next,c=s.next;l.next=c,s.next=d}i.baseQueue!==l&&o("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=l=s,r.pending=null}if(null!==l){var u=l.next,h=i.baseState,p=null,f=null,m=null,g=u;do{var y=g.lane;if(hi(Lf,y)){if(null!==m){var v={lane:ho,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};m=m.next=v}if(g.hasEagerState)h=g.eagerState;else h=e(h,g.action)}else{var _={lane:y,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null};null===m?(f=m=_,p=h):m=m.next=_,Af.lanes=pi(Af.lanes,y),ub(y)}g=g.next}while(null!==g&&g!==u);null===m?p=h:m.next=f,Es(h,a.memoizedState)||Ey(),a.memoizedState=h,a.baseState=p,a.baseQueue=m,r.lastRenderedState=h}var b=r.interleaved;if(null!==b){var x=b;do{var k=x.lane;Af.lanes=pi(Af.lanes,k),ub(k),x=x.next}while(x!==b)}else null===l&&(r.lanes=uo);var E=r.dispatch;return[a.memoizedState,E]}function om(e,t,n){var a=tm(),r=a.queue;if(null===r)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");r.lastRenderedReducer=e;var o=r.dispatch,i=r.pending,l=a.memoizedState;if(null!==i){r.pending=null;var s=i.next,d=s;do{l=e(l,d.action),d=d.next}while(d!==s);Es(l,a.memoizedState)||Ey(),a.memoizedState=l,null===a.baseQueue&&(a.baseState=l),r.lastRenderedState=l}return[l,o]}function im(e,t,n){var a,r=Af,i=em();if(mh()){if(void 0===n)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=n(),Cf||a!==n()&&(o("The result of getServerSnapshot should be cached to avoid an infinite loop"),Cf=!0)}else{if(a=t(),!Cf){var l=t();Es(a,l)||(o("The result of getSnapshot should be cached to avoid an infinite loop"),Cf=!0)}var s=G_();if(null===s)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ri(0,Lf)||sm(r,t,a)}i.memoizedState=a;var d={value:a,getSnapshot:t};return i.queue=d,xm(cm.bind(null,r,d,e),[e]),r.flags|=Wa,gm(xf|Mf,dm.bind(null,r,d,a,t),void 0,null),a}function lm(e,t,n){var a=Af,r=tm(),i=t();if(!Cf){var l=t();Es(i,l)||(o("The result of getSnapshot should be cached to avoid an infinite loop"),Cf=!0)}var s=r.memoizedState,d=!Es(s,i);d&&(r.memoizedState=i,Ey());var c=r.queue;if(km(cm.bind(null,a,c,e),[e]),c.getSnapshot!==t||d||null!==Nf&&Nf.memoizedState.tag&xf){a.flags|=Wa,gm(xf|Mf,dm.bind(null,a,c,i,t),void 0,null);var u=G_();if(null===u)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");ri(0,Lf)||sm(a,t,i)}return i}function sm(e,t,n){e.flags|=Ka;var a={getSnapshot:t,value:n},r=Af.updateQueue;if(null===r)r={lastEffect:null,stores:null},Af.updateQueue=r,r.stores=[a];else{var o=r.stores;null===o?r.stores=[a]:o.push(a)}}function dm(e,t,n,a){t.value=n,t.getSnapshot=a,um(t)&&hm(e)}function cm(e,t,n){return n((function(){um(t)&&hm(e)}))}function um(e){var t=e.getSnapshot,n=e.value;try{var a=t();return!Es(n,a)}catch(e){return!0}}function hm(e){var t=Zh(e,po);null!==t&&Z_(t,e,po,Zo)}function pm(e){var t=em();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:uo,dispatch:null,lastRenderedReducer:nm,lastRenderedState:e};t.queue=n;var a=n.dispatch=Ym.bind(null,Af,n);return[t.memoizedState,a]}function fm(e){return rm(nm)}function mm(e){return om(nm)}function gm(e,t,n,a){var r={tag:e,create:t,destroy:n,deps:a,next:null},o=Af.updateQueue;if(null===o)o={lastEffect:null,stores:null},Af.updateQueue=o,o.lastEffect=r.next=r;else{var i=o.lastEffect;if(null===i)o.lastEffect=r.next=r;else{var l=i.next;i.next=r,r.next=l,o.lastEffect=r}}return r}function ym(e){var t={current:e};return em().memoizedState=t,t}function vm(e){return tm().memoizedState}function _m(e,t,n,a){var r=em(),o=void 0===a?null:a;Af.flags|=e,r.memoizedState=gm(xf|t,n,void 0,o)}function bm(e,t,n,a){var r=tm(),o=void 0===a?null:a,i=void 0;if(null!==If){var l=If.memoizedState;if(i=l.destroy,null!==o)if(Zf(o,l.deps))return void(r.memoizedState=gm(t,n,i,o))}Af.flags|=e,r.memoizedState=gm(xf|t,n,i,o)}function xm(e,t){return(Af.mode&oo)!==to?_m(lr|Wa|or,Mf,e,t):_m(Wa|or,Mf,e,t)}function km(e,t){return bm(Wa,Mf,e,t)}function Em(e,t){return _m(Oa,kf,e,t)}function Mm(e,t){return bm(Oa,kf,e,t)}function Sm(e,t){var n=Oa;return n|=rr,(Af.mode&oo)!==to&&(n|=ir),_m(n,Ef,e,t)}function wm(e,t){return bm(Oa,Ef,e,t)}function $m(e,t){if("function"==typeof t){var n=t,a=e();return n(a),function(){n(null)}}if(null!=t){var r=t;r.hasOwnProperty("current")||o("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(r).join(", ")+"}");var i=e();return r.current=i,function(){r.current=null}}}function Rm(e,t,n){"function"!=typeof t&&o("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var a=null!=n?n.concat([e]):null,r=Oa;return r|=rr,(Af.mode&oo)!==to&&(r|=ir),_m(r,Ef,$m.bind(null,t,e),a)}function Cm(e,t,n){"function"!=typeof t&&o("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var a=null!=n?n.concat([e]):null;return bm(Oa,Ef,$m.bind(null,t,e),a)}function Pm(e,t){}var Tm=Pm;function Lm(e,t){var n=void 0===t?null:t;return em().memoizedState=[e,n],e}function Am(e,t){var n=tm(),a=void 0===t?null:t,r=n.memoizedState;if(null!==r&&(null!==a&&Zf(a,r[1])))return r[0];return n.memoizedState=[e,a],e}function Im(e,t){var n=em(),a=void 0===t?null:t,r=e();return n.memoizedState=[r,a],r}function Nm(e,t){var n=tm(),a=void 0===t?null:t,r=n.memoizedState;if(null!==r&&(null!==a&&Zf(a,r[1])))return r[0];var o=e();return n.memoizedState=[o,a],o}function Fm(e){return em().memoizedState=e,e}function zm(e){return Om(tm(),If.memoizedState,e)}function Dm(e){var t=tm();return null===If?(t.memoizedState=e,e):Om(t,If.memoizedState,e)}function Om(e,t,n){if(!((Lf&(po|mo|yo))===uo)){if(!Es(n,t)){var a=ii();Af.lanes=pi(Af.lanes,a),ub(a),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,Ey()),e.memoizedState=n,n}function Hm(e,t,n){var a=Li();Ai(function(e,t){return 0!==e&&e<t?e:t}(a,Ri)),e(!0);var o=Tf.transition;Tf.transition={};var i=Tf.transition;Tf.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(Ai(a),Tf.transition=o,null===o&&i._updatedFibers)i._updatedFibers.size>10&&r("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),i._updatedFibers.clear()}}function Vm(){var e=pm(!1),t=e[0],n=e[1],a=Hm.bind(null,n);return em().memoizedState=a,[t,a]}function jm(){return[fm()[0],tm().memoizedState]}function Bm(){return[mm()[0],tm().memoizedState]}var Um=!1;function Gm(){var e,t=em(),n=G_().identifierPrefix;if(mh()){e=":"+n+"R"+zu();var a=Df++;a>0&&(e+="H"+a.toString(32)),e+=":"}else{e=":"+n+"r"+(Of++).toString(32)+":"}return t.memoizedState=e,e}function qm(){return tm().memoizedState}function Wm(e,t,n){"function"==typeof arguments[3]&&o("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=W_(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Zm(e))Km(t,r);else{var i=Yh(e,t,r,a);if(null!==i)Z_(i,e,a,q_()),Xm(i,t,a)}Qm(e,a)}function Ym(e,t,n){"function"==typeof arguments[3]&&o("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var a=W_(e),r={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Zm(e))Km(t,r);else{var i=e.alternate;if(e.lanes===uo&&(null===i||i.lanes===uo)){var l=t.lastRenderedReducer;if(null!==l){var s;s=Pf.current,Pf.current=og;try{var d=t.lastRenderedState,c=l(d,n);if(r.hasEagerState=!0,r.eagerState=c,Es(c,d))return void function(e,t,n,a){var r=t.interleaved;null===r?(n.next=n,Wh(t)):(n.next=r.next,r.next=n),t.interleaved=n}(0,t,r)}catch(e){}finally{Pf.current=s}}}var u=Yh(e,t,r,a);if(null!==u)Z_(u,e,a,q_()),Xm(u,t,a)}Qm(e,a)}function Zm(e){var t=e.alternate;return e===Af||null!==t&&t===Af}function Km(e,t){zf=Ff=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Xm(e,t,n){if(oi(n)){var a=t.lanes,r=pi(a=mi(a,e.pendingLanes),n);t.lanes=r,_i(e,r)}}function Qm(e,t,n){eo(e,t)}var Jm={readContext:Gh,useCallback:Yf,useContext:Yf,useEffect:Yf,useImperativeHandle:Yf,useInsertionEffect:Yf,useLayoutEffect:Yf,useMemo:Yf,useReducer:Yf,useRef:Yf,useState:Yf,useDebugValue:Yf,useDeferredValue:Yf,useTransition:Yf,useMutableSource:Yf,useSyncExternalStore:Yf,useId:Yf,unstable_isNewReconciler:A},eg=null,tg=null,ng=null,ag=null,rg=null,og=null,ig=null,lg=function(){o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},sg=function(){o("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};eg={readContext:function(e){return Gh(e)},useCallback:function(e,t){return Vf="useCallback",Gf(),Wf(t),Lm(e,t)},useContext:function(e){return Vf="useContext",Gf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",Gf(),Wf(t),xm(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",Gf(),Wf(n),Rm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",Gf(),Wf(t),Em(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",Gf(),Wf(t),Sm(e,t)},useMemo:function(e,t){Vf="useMemo",Gf(),Wf(t);var n=Pf.current;Pf.current=rg;try{return Im(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",Gf();var a=Pf.current;Pf.current=rg;try{return am(e,t,n)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",Gf(),ym(e)},useState:function(e){Vf="useState",Gf();var t=Pf.current;Pf.current=rg;try{return pm(e)}finally{Pf.current=t}},useDebugValue:function(e,t){Vf="useDebugValue",Gf()},useDeferredValue:function(e){return Vf="useDeferredValue",Gf(),Fm(e)},useTransition:function(){return Vf="useTransition",Gf(),Vm()},useMutableSource:function(e,t,n){Vf="useMutableSource",Gf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",Gf(),im(e,t,n)},useId:function(){return Vf="useId",Gf(),Gm()},unstable_isNewReconciler:A},tg={readContext:function(e){return Gh(e)},useCallback:function(e,t){return Vf="useCallback",qf(),Lm(e,t)},useContext:function(e){return Vf="useContext",qf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",qf(),xm(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",qf(),Rm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",qf(),Em(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",qf(),Sm(e,t)},useMemo:function(e,t){Vf="useMemo",qf();var n=Pf.current;Pf.current=rg;try{return Im(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",qf();var a=Pf.current;Pf.current=rg;try{return am(e,t,n)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",qf(),ym(e)},useState:function(e){Vf="useState",qf();var t=Pf.current;Pf.current=rg;try{return pm(e)}finally{Pf.current=t}},useDebugValue:function(e,t){Vf="useDebugValue",qf()},useDeferredValue:function(e){return Vf="useDeferredValue",qf(),Fm(e)},useTransition:function(){return Vf="useTransition",qf(),Vm()},useMutableSource:function(e,t,n){Vf="useMutableSource",qf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",qf(),im(e,t,n)},useId:function(){return Vf="useId",qf(),Gm()},unstable_isNewReconciler:A},ng={readContext:function(e){return Gh(e)},useCallback:function(e,t){return Vf="useCallback",qf(),Am(e,t)},useContext:function(e){return Vf="useContext",qf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",qf(),km(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",qf(),Cm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",qf(),Mm(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",qf(),wm(e,t)},useMemo:function(e,t){Vf="useMemo",qf();var n=Pf.current;Pf.current=og;try{return Nm(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",qf();var a=Pf.current;Pf.current=og;try{return rm(e)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",qf(),vm()},useState:function(e){Vf="useState",qf();var t=Pf.current;Pf.current=og;try{return fm()}finally{Pf.current=t}},useDebugValue:function(e,t){return Vf="useDebugValue",qf(),Tm()},useDeferredValue:function(e){return Vf="useDeferredValue",qf(),zm(e)},useTransition:function(){return Vf="useTransition",qf(),jm()},useMutableSource:function(e,t,n){Vf="useMutableSource",qf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",qf(),lm(e,t)},useId:function(){return Vf="useId",qf(),qm()},unstable_isNewReconciler:A},ag={readContext:function(e){return Gh(e)},useCallback:function(e,t){return Vf="useCallback",qf(),Am(e,t)},useContext:function(e){return Vf="useContext",qf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",qf(),km(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",qf(),Cm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",qf(),Mm(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",qf(),wm(e,t)},useMemo:function(e,t){Vf="useMemo",qf();var n=Pf.current;Pf.current=ig;try{return Nm(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",qf();var a=Pf.current;Pf.current=ig;try{return om(e)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",qf(),vm()},useState:function(e){Vf="useState",qf();var t=Pf.current;Pf.current=ig;try{return mm()}finally{Pf.current=t}},useDebugValue:function(e,t){return Vf="useDebugValue",qf(),Tm()},useDeferredValue:function(e){return Vf="useDeferredValue",qf(),Dm(e)},useTransition:function(){return Vf="useTransition",qf(),Bm()},useMutableSource:function(e,t,n){Vf="useMutableSource",qf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",qf(),lm(e,t)},useId:function(){return Vf="useId",qf(),qm()},unstable_isNewReconciler:A},rg={readContext:function(e){return lg(),Gh(e)},useCallback:function(e,t){return Vf="useCallback",sg(),Gf(),Lm(e,t)},useContext:function(e){return Vf="useContext",sg(),Gf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",sg(),Gf(),xm(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",sg(),Gf(),Rm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",sg(),Gf(),Em(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",sg(),Gf(),Sm(e,t)},useMemo:function(e,t){Vf="useMemo",sg(),Gf();var n=Pf.current;Pf.current=rg;try{return Im(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",sg(),Gf();var a=Pf.current;Pf.current=rg;try{return am(e,t,n)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",sg(),Gf(),ym(e)},useState:function(e){Vf="useState",sg(),Gf();var t=Pf.current;Pf.current=rg;try{return pm(e)}finally{Pf.current=t}},useDebugValue:function(e,t){Vf="useDebugValue",sg(),Gf()},useDeferredValue:function(e){return Vf="useDeferredValue",sg(),Gf(),Fm(e)},useTransition:function(){return Vf="useTransition",sg(),Gf(),Vm()},useMutableSource:function(e,t,n){Vf="useMutableSource",sg(),Gf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",sg(),Gf(),im(e,t,n)},useId:function(){return Vf="useId",sg(),Gf(),Gm()},unstable_isNewReconciler:A},og={readContext:function(e){return lg(),Gh(e)},useCallback:function(e,t){return Vf="useCallback",sg(),qf(),Am(e,t)},useContext:function(e){return Vf="useContext",sg(),qf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",sg(),qf(),km(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",sg(),qf(),Cm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",sg(),qf(),Mm(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",sg(),qf(),wm(e,t)},useMemo:function(e,t){Vf="useMemo",sg(),qf();var n=Pf.current;Pf.current=og;try{return Nm(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",sg(),qf();var a=Pf.current;Pf.current=og;try{return rm(e)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",sg(),qf(),vm()},useState:function(e){Vf="useState",sg(),qf();var t=Pf.current;Pf.current=og;try{return fm()}finally{Pf.current=t}},useDebugValue:function(e,t){return Vf="useDebugValue",sg(),qf(),Tm()},useDeferredValue:function(e){return Vf="useDeferredValue",sg(),qf(),zm(e)},useTransition:function(){return Vf="useTransition",sg(),qf(),jm()},useMutableSource:function(e,t,n){Vf="useMutableSource",sg(),qf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",sg(),qf(),lm(e,t)},useId:function(){return Vf="useId",sg(),qf(),qm()},unstable_isNewReconciler:A},ig={readContext:function(e){return lg(),Gh(e)},useCallback:function(e,t){return Vf="useCallback",sg(),qf(),Am(e,t)},useContext:function(e){return Vf="useContext",sg(),qf(),Gh(e)},useEffect:function(e,t){return Vf="useEffect",sg(),qf(),km(e,t)},useImperativeHandle:function(e,t,n){return Vf="useImperativeHandle",sg(),qf(),Cm(e,t,n)},useInsertionEffect:function(e,t){return Vf="useInsertionEffect",sg(),qf(),Mm(e,t)},useLayoutEffect:function(e,t){return Vf="useLayoutEffect",sg(),qf(),wm(e,t)},useMemo:function(e,t){Vf="useMemo",sg(),qf();var n=Pf.current;Pf.current=og;try{return Nm(e,t)}finally{Pf.current=n}},useReducer:function(e,t,n){Vf="useReducer",sg(),qf();var a=Pf.current;Pf.current=og;try{return om(e)}finally{Pf.current=a}},useRef:function(e){return Vf="useRef",sg(),qf(),vm()},useState:function(e){Vf="useState",sg(),qf();var t=Pf.current;Pf.current=og;try{return mm()}finally{Pf.current=t}},useDebugValue:function(e,t){return Vf="useDebugValue",sg(),qf(),Tm()},useDeferredValue:function(e){return Vf="useDeferredValue",sg(),qf(),Dm(e)},useTransition:function(){return Vf="useTransition",sg(),qf(),Bm()},useMutableSource:function(e,t,n){Vf="useMutableSource",sg(),qf()},useSyncExternalStore:function(e,t,n){return Vf="useSyncExternalStore",sg(),qf(),lm(e,t)},useId:function(){return Vf="useId",sg(),qf(),qm()},unstable_isNewReconciler:A};var dg=t.unstable_now,cg=0,ug=-1,hg=-1,pg=-1,fg=!1,mg=!1;function gg(){return fg}function yg(){return cg}function vg(){cg=dg()}function _g(e){hg=dg(),e.actualStartTime<0&&(e.actualStartTime=dg())}function bg(e){hg=-1}function xg(e,t){if(hg>=0){var n=dg()-hg;e.actualDuration+=n,t&&(e.selfBaseDuration=n),hg=-1}}function kg(e){if(ug>=0){var t=dg()-ug;ug=-1;for(var n=e.return;null!==n;){switch(n.tag){case c:return void(n.stateNode.effectDuration+=t);case _:return void(n.stateNode.effectDuration+=t)}n=n.return}}}function Eg(e){if(pg>=0){var t=dg()-pg;pg=-1;for(var n=e.return;null!==n;){switch(n.tag){case c:var a=n.stateNode;return void(null!==a&&(a.passiveEffectDuration+=t));case _:var r=n.stateNode;return void(null!==r&&(r.passiveEffectDuration+=t))}n=n.return}}}function Mg(){ug=dg()}function Sg(){pg=dg()}function wg(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function $g(e,t){return{value:e,source:t,stack:st(t),digest:null}}function Rg(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function Cg(e,t){try{0;var n=t.value,a=t.source,r=t.stack,o=null!==r?r:"";if(null!=n&&n._suppressLogging){if(e.tag===s)return;console.error(n)}var i=a?ht(a):null,l=(i?"The above error occurred in the <"+i+"> component:":"The above error occurred in one of your React components:")+"\n"+o+"\n\n"+(e.tag===c?"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.":"React will try to recreate this component tree from scratch using the error boundary you provided, "+(ht(e)||"Anonymous")+".");console.error(l)}catch(e){setTimeout((function(){throw e}))}}var Pg="function"==typeof WeakMap?WeakMap:Map;function Tg(e,t,n){var a=lp(Zo,n);a.tag=ap,a.payload={element:null};var r=t.value;return a.callback=function(){xb(r),Cg(e,t)},a}function Lg(e,t,n){var a=lp(Zo,n);a.tag=ap;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;a.payload=function(){return r(i)},a.callback=function(){Yb(e),Cg(e,t)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(a.callback=function(){var n;Yb(e),Cg(e,t),"function"!=typeof r&&(n=this,null===R_?R_=new Set([n]):R_.add(n));var a=t.value,i=t.stack;this.componentDidCatch(a,{componentStack:null!==i?i:""}),"function"!=typeof r&&(ui(e.lanes,po)||o("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ht(e)||"Unknown"))}),a}function Ag(e,t,n){var a,r=e.pingCache;if(null===r?(r=e.pingCache=new Pg,a=new Set,r.set(t,a)):void 0===(a=r.get(t))&&(a=new Set,r.set(t,a)),!a.has(n)){a.add(n);var o=Mb.bind(null,e,t,n);Hr&&Nb(e,n),t.then(o,o)}}function Ig(e){var t=e;do{if(t.tag===b&&vf(t))return t;t=t.return}while(null!==t);return null}function Ng(e,t,n,a,r){if((e.mode&no)===to){if(e===t)e.flags|=er;else{if(e.flags|=Ba,n.flags|=tr,n.flags&=~(Xa|Ja),n.tag===s)if(null===n.alternate)n.tag=M;else{var o=lp(Zo,po);o.tag=np,sp(n,o,po)}n.lanes=pi(n.lanes,po)}return e}return e.flags|=er,e.lanes=r,e}function Fg(e,t,n,a,r){if(n.flags|=Ja,Hr&&Nb(e,r),null!==a&&"object"==typeof a&&"function"==typeof a.then){var o=a;!function(e,t){var n=e.tag;if((e.mode&no)===to&&(n===l||n===v||n===k)){var a=e.alternate;a?(e.updateQueue=a.updateQueue,e.memoizedState=a.memoizedState,e.lanes=a.lanes):(e.updateQueue=null,e.memoizedState=null)}}(n),mh()&&n.mode&no&&Ku();var i=Ig(t);if(null!==i)return i.flags&=~Ua,Ng(i,t,n,0,r),i.mode&no&&Ag(e,o,r),void function(e,t,n,a){var r=e.updateQueue;if(null===r){var o=new Set;o.add(n),e.updateQueue=o}else r.add(n)}(i,0,o);if((r&po)===uo)return Ag(e,o,r),void hb();a=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.")}else if(mh()&&n.mode&no){Ku();var d=Ig(t);if(null!==d)return(d.flags&er)===Fa&&(d.flags|=Ua),Ng(d,t,n,0,r),void gh($g(a,n))}!function(e){h_!==a_&&(h_=t_);null===y_?y_=[e]:y_.push(e)}(a=$g(a,n));var u=t;do{switch(u.tag){case c:var h=a;u.flags|=er;var p=si(r);return u.lanes=pi(u.lanes,p),void cp(u,Tg(u,h,p));case s:var f=a,m=u.type,g=u.stateNode;if((u.flags&Ba)===Fa&&("function"==typeof m.getDerivedStateFromError||null!==g&&"function"==typeof g.componentDidCatch&&!bb(g))){u.flags|=er;var y=si(r);return u.lanes=pi(u.lanes,y),void cp(u,Lg(u,f,y))}}u=u.return}while(null!==u)}var zg,Dg,Og,Hg,Vg,jg,Bg,Ug,Gg=n.ReactCurrentOwner,qg=!1;function Wg(e,t,n,a){t.child=null===e?Zp(t,null,n,a):Yp(t,e.child,n,a)}function Yg(e,t,n,a,r){if(t.type!==t.elementType){var o=n.propTypes;o&&Kc(o,a,"prop",ct(n))}var i,l,s=n.render,d=t.ref;if(Uh(t,r),Gr(t),Gg.current=t,bt(!0),i=Kf(e,t,s,a,d,r),l=Xf(),t.mode&ro){Vr(!0);try{i=Kf(e,t,s,a,d,r),l=Xf()}finally{Vr(!1)}}return bt(!1),qr(),null===e||qg?(mh()&&l&&Hu(t),t.flags|=za,Wg(e,t,i,r),t.child):(Qf(e,t,r),Sy(e,t,r))}function Zg(e,t,n,a,r){if(null===e){var o=n.type;if(function(e){return"function"==typeof e&&!rx(e)&&void 0===e.defaultProps}(o)&&null===n.compare&&void 0===n.defaultProps){var i;return i=Ub(o),t.tag=k,t.type=i,oy(t,o),Kg(e,t,i,a,r)}var l=o.propTypes;l&&Kc(l,a,"prop",ct(o));var s=lx(n.type,null,a,t,t.mode,r);return s.ref=t.ref,s.return=t,t.child=s,s}var d=n.type,c=d.propTypes;c&&Kc(c,a,"prop",ct(d));var u=e.child;if(!wy(e,r)){var h=u.memoizedProps,p=n.compare;if((p=null!==p?p:Ms)(h,a)&&e.ref===t.ref)return Sy(e,t,r)}t.flags|=za;var f=ox(u,a);return f.ref=t.ref,f.return=t,t.child=f,f}function Kg(e,t,n,a,r){if(t.type!==t.elementType){var o=t.elementType;if(o.$$typeof===ze){var i=o,l=i._payload,s=i._init;try{o=s(l)}catch(e){o=null}var d=o&&o.propTypes;d&&Kc(d,a,"prop",ct(o))}}if(null!==e){var c=e.memoizedProps;if(Ms(c,a)&&e.ref===t.ref&&t.type===e.type){if(qg=!1,t.pendingProps=a=c,!wy(e,r))return t.lanes=e.lanes,Sy(e,t,r);(e.flags&tr)!==Fa&&(qg=!0)}}return Jg(e,t,n,a,r)}function Xg(e,t,n){var a,r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||N)if((t.mode&no)===to){var l={baseLanes:uo,cachePool:null,transitions:null};t.memoizedState=l,ob(t,n)}else{if(!ui(n,Wo)){var s;if(null!==i)s=pi(i.baseLanes,n);else s=n;t.lanes=t.childLanes=Wo;var d={baseLanes:s,cachePool:null,transitions:null};return t.memoizedState=d,t.updateQueue=null,ob(t,s),null}var c={baseLanes:uo,cachePool:null,transitions:null};t.memoizedState=c,ob(t,null!==i?i.baseLanes:n)}else null!==i?(a=pi(i.baseLanes,n),t.memoizedState=null):a=n,ob(t,a);return Wg(e,t,o,n),t.child}function Qg(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=Ga,t.flags|=ar)}function Jg(e,t,n,a,r){if(t.type!==t.elementType){var o=n.propTypes;o&&Kc(o,a,"prop",ct(n))}var i,l,s;if(i=cu(t,su(0,n,!0)),Uh(t,r),Gr(t),Gg.current=t,bt(!0),l=Kf(e,t,n,a,i,r),s=Xf(),t.mode&ro){Vr(!0);try{l=Kf(e,t,n,a,i,r),s=Xf()}finally{Vr(!1)}}return bt(!1),qr(),null===e||qg?(mh()&&s&&Hu(t),t.flags|=za,Wg(e,t,l,r),t.child):(Qf(e,t,r),Sy(e,t,r))}function ey(e,t,n,a,r){switch(Rx(t)){case!1:var i=t.stateNode,l=new(0,t.type)(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,l,null);break;case!0:t.flags|=Ba,t.flags|=er;var s=new Error("Simulated error coming from DevTools"),d=si(r);t.lanes=pi(t.lanes,d),cp(t,Lg(t,$g(s,t),d))}if(t.type!==t.elementType){var c=n.propTypes;c&&Kc(c,a,"prop",ct(n))}var u,h;hu(n)?(u=!0,yu(t)):u=!1,Uh(t,r),null===t.stateNode?(My(e,t),Op(t,n,a),Vp(t,n,a,r),h=!0):h=null===e?function(e,t,n,a){var r=e.stateNode,o=e.memoizedProps;r.props=o;var i=r.context,l=t.contextType,s=ru;s="object"==typeof l&&null!==l?Gh(l):cu(e,su(0,t,!0));var d=t.getDerivedStateFromProps,c="function"==typeof d||"function"==typeof r.getSnapshotBeforeUpdate;c||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||o===n&&i===s||Hp(e,r,n,s),fp();var u=e.memoizedState,h=r.state=u;if(hp(e,n,r,a),h=e.memoizedState,o===n&&u===h&&!uu()&&!mp()){if("function"==typeof r.componentDidMount){var p=Oa;p|=rr,(e.mode&oo)!==to&&(p|=ir),e.flags|=p}return!1}"function"==typeof d&&(Pp(e,t,d,n),h=e.memoizedState);var f=mp()||zp(e,t,o,n,u,h,s);if(f){if(c||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||("function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount()),"function"==typeof r.componentDidMount){var m=Oa;m|=rr,(e.mode&oo)!==to&&(m|=ir),e.flags|=m}}else{if("function"==typeof r.componentDidMount){var g=Oa;g|=rr,(e.mode&oo)!==to&&(g|=ir),e.flags|=g}e.memoizedProps=n,e.memoizedState=h}return r.props=n,r.state=h,r.context=s,f}(t,n,a,r):function(e,t,n,a,r){var o=t.stateNode;ip(e,t);var i=t.memoizedProps,l=t.type===t.elementType?i:Ph(t.type,i);o.props=l;var s=t.pendingProps,d=o.context,c=n.contextType,u=ru;u="object"==typeof c&&null!==c?Gh(c):cu(t,su(0,n,!0));var h=n.getDerivedStateFromProps,p="function"==typeof h||"function"==typeof o.getSnapshotBeforeUpdate;p||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||i===s&&d===u||Hp(t,o,a,u),fp();var f=t.memoizedState,m=o.state=f;if(hp(t,a,o,r),m=t.memoizedState,i===s&&f===m&&!uu()&&!mp()&&!I)return"function"==typeof o.componentDidUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.flags|=Oa)),"function"==typeof o.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.flags|=qa)),!1;"function"==typeof h&&(Pp(t,n,h,a),m=t.memoizedState);var g=mp()||zp(t,n,l,a,f,m,u)||I;return g?(p||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(a,m,u),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(a,m,u)),"function"==typeof o.componentDidUpdate&&(t.flags|=Oa),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=qa)):("function"==typeof o.componentDidUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.flags|=Oa)),"function"==typeof o.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&f===e.memoizedState||(t.flags|=qa)),t.memoizedProps=a,t.memoizedState=m),o.props=a,o.state=m,o.context=u,g}(e,t,n,a,r);var p=ty(e,t,n,h,u,r),f=t.stateNode;return h&&f.props!==a&&(jg||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ht(t)||"a component"),jg=!0),p}function ty(e,t,n,a,r,o){Qg(e,t);var i=(t.flags&Ba)!==Fa;if(!a&&!i)return r&&vu(t,n,!1),Sy(e,t,o);var l,s=t.stateNode;if(Gg.current=t,i&&"function"!=typeof n.getDerivedStateFromError)l=null,bg();else{if(Gr(t),bt(!0),l=s.render(),t.mode&ro){Vr(!0);try{s.render()}finally{Vr(!1)}}bt(!1),qr()}return t.flags|=za,null!==e&&i?function(e,t,n,a){t.child=Yp(t,e.child,null,a),t.child=Yp(t,null,n,a)}(e,t,l,o):Wg(e,t,l,o),t.memoizedState=s.state,r&&vu(t,n,!0),t.child}function ny(e){var t=e.stateNode;t.pendingContext?mu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&mu(e,t.context,!1),af(e,t.containerInfo)}function ay(e,t,n,a,r){return ph(),gh(r),t.flags|=Ua,Wg(e,t,n,a),t.child}function ry(e,t,n,a){My(e,t);var r=t.pendingProps,o=n,i=o._payload,c=(0,o._init)(i);t.type=c;var u=t.tag=function(e){if("function"==typeof e)return rx(e)?s:l;if(null!=e){var t=e.$$typeof;if(t===Ae)return v;if(t===Fe)return x}return d}(c),h=Ph(c,r);switch(u){case l:return oy(t,c),t.type=c=Ub(c),Jg(null,t,c,h,a);case s:return t.type=c=Gb(c),ey(null,t,c,h,a);case v:return t.type=c=qb(c),Yg(null,t,c,h,a);case x:if(t.type!==t.elementType){var p=c.propTypes;p&&Kc(p,h,"prop",ct(c))}return Zg(null,t,c,Ph(c.type,h),a)}var f="";throw null!==c&&"object"==typeof c&&c.$$typeof===ze&&(f=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+c+". Lazy element type must resolve to a class or function."+f)}function oy(e,t){if(t&&t.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",a=gt();a&&(n+="\n\nCheck the render method of `"+a+"`.");var r=a||"",i=e._debugSource;i&&(r=i.fileName+":"+i.lineNumber),Vg[r]||(Vg[r]=!0,o("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if("function"==typeof t.getDerivedStateFromProps){var l=ct(t)||"Unknown";Hg[l]||(o("%s: Function components do not support getDerivedStateFromProps.",l),Hg[l]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var s=ct(t)||"Unknown";Og[s]||(o("%s: Function components do not support contextType.",s),Og[s]=!0)}}zg={},Dg={},Og={},Hg={},Vg={},jg=!1,Bg={},Ug={};var iy={dehydrated:null,treeContext:null,retryLane:ho};function ly(e){return{baseLanes:e,cachePool:null,transitions:null}}function sy(e,t,n){var a=t.pendingProps;Cx(t)&&(t.flags|=Ba);var r=hf.current,i=!1,l=(t.flags&Ba)!==Fa;if(l||function(e,t,n,a){return(null===t||null!==t.memoizedState)&&pf(e,uf)}(r,e)?(i=!0,t.flags&=~Ba):null!==e&&null===e.memoizedState||(r=r|cf),gf(t,r=ff(r)),null===e){ih(t);var s=t.memoizedState;if(null!==s){var d=s.dehydrated;if(null!==d)return function(e,t,n){(e.mode&no)===to?(o("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=po):wc(t)?e.lanes=go:e.lanes=Wo;return null}(t,d)}var c=a.children,u=a.fallback;if(i){var h=function(e,t,n,a){var r,o,i=e.mode,l=e.child,s={mode:"hidden",children:t};(i&no)===to&&null!==l?((r=l).childLanes=uo,r.pendingProps=s,e.mode&ao&&(r.actualDuration=0,r.actualStartTime=-1,r.selfBaseDuration=0,r.treeBaseDuration=0),o=dx(n,i,a,null)):(r=cy(s,i),o=dx(n,i,a,null));return r.return=e,o.return=e,r.sibling=o,e.child=r,o}(t,c,u,n);return t.child.memoizedState=ly(n),t.memoizedState=iy,h}return dy(t,c)}var p=e.memoizedState;if(null!==p){var f=p.dehydrated;if(null!==f)return function(e,t,n,a,r,o,i){if(n){if(t.flags&Ua)return t.flags&=~Ua,hy(e,t,i,Rg(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")));if(null!==t.memoizedState)return t.child=e.child,t.flags|=Ba,null;var l=function(e,t,n,a,r){var o=t.mode,i={mode:"visible",children:n},l=cy(i,o),s=dx(a,o,r,null);s.flags|=Da,l.return=t,s.return=t,l.sibling=s,t.child=l,(t.mode&no)!==to&&Yp(t,e.child,null,r);return s}(e,t,a.children,a.fallback,i);return t.child.memoizedState=ly(i),t.memoizedState=iy,l}if(Zu(),(t.mode&no)===to)return hy(e,t,i,null);if(wc(r)){var s,d,c,u=function(e){var t,n,a,r=e.nextSibling&&e.nextSibling.dataset;return r&&(t=r.dgst,n=r.msg,a=r.stck),{message:n,digest:t,stack:a}}(r);return s=u.digest,d=u.message,c=u.stack,hy(e,t,i,Rg(d?new Error(d):new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),s,c))}var h=ui(i,e.childLanes);if(qg||h){var p=G_();if(null!==p){var f=function(e,t){var n;switch(li(t)){case mo:n=fo;break;case yo:n=go;break;case bo:case xo:case ko:case Eo:case Mo:case So:case wo:case $o:case Ro:case Co:case Po:case To:case Lo:case Ao:case Io:case No:case zo:case Do:case Oo:case Ho:case Vo:n=vo;break;case qo:n=Go;break;default:n=ho}return(n&(e.suspendedLanes|t))!==ho?ho:n}(p,i);if(f!==ho&&f!==o.retryLane){o.retryLane=f;var m=Zo;Zh(e,f),Z_(p,e,f,m)}}return hb(),hy(e,t,i,Rg(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")))}if(Sc(r)){t.flags|=Ba,t.child=e.child;var g=wb.bind(null,e);return v=g,r._reactRetry=v,null}Qu(t,r,o.treeContext);var y=dy(t,a.children);return y.flags|=Ya,y;var v}(e,t,l,a,f,p,n)}if(i){var m=a.fallback,g=function(e,t,n,a,r){var o,i,l=t.mode,s=e.child,d=s.sibling,c={mode:"hidden",children:n};if((l&no)===to&&t.child!==s){(o=t.child).childLanes=uo,o.pendingProps=c,t.mode&ao&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=s.selfBaseDuration,o.treeBaseDuration=s.treeBaseDuration),t.deletions=null}else(o=uy(s,c)).subtreeFlags=s.subtreeFlags&hr;null!==d?i=ox(d,a):(i=dx(a,l,r,null)).flags|=Da;return i.return=t,o.return=t,o.sibling=i,t.child=o,i}(e,t,a.children,m,n),y=t.child,v=e.child.memoizedState;return y.memoizedState=null===v?ly(n):function(e,t){return{baseLanes:pi(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(v,n),y.childLanes=function(e,t){return fi(e.childLanes,t)}(e,n),t.memoizedState=iy,g}var _=function(e,t,n,a){var r=e.child,o=r.sibling,i=uy(r,{mode:"visible",children:n});(t.mode&no)===to&&(i.lanes=a);if(i.return=t,i.sibling=null,null!==o){var l=t.deletions;null===l?(t.deletions=[o],t.flags|=Ha):l.push(o)}return t.child=i,i}(e,t,a.children,n);return t.memoizedState=null,_}function dy(e,t,n){var a=cy({mode:"visible",children:t},e.mode);return a.return=e,e.child=a,a}function cy(e,t,n){return cx(e,t,uo,null)}function uy(e,t){return ox(e,t)}function hy(e,t,n,a){null!==a&&gh(a),Yp(t,e.child,null,n);var r=dy(t,t.pendingProps.children);return r.flags|=Da,t.memoizedState=null,r}function py(e,t,n){e.lanes=pi(e.lanes,t);var a=e.alternate;null!==a&&(a.lanes=pi(a.lanes,t)),jh(e.return,t,n)}function fy(e,t){var n=Yt(e),a=!n&&"function"==typeof Ve(e);if(n||a){var r=n?"array":"iterable";return o("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",r,t,r),!1}return!0}function my(e,t,n,a,r){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=n,o.tailMode=r)}function gy(e,t,n){var a=t.pendingProps,r=a.revealOrder,i=a.tail,l=a.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!Bg[e])if(Bg[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":o('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":o('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:o('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else o('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(r),function(e,t){void 0===e||Ug[e]||("collapsed"!==e&&"hidden"!==e?(Ug[e]=!0,o('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(Ug[e]=!0,o('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(i,r),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(Yt(e)){for(var n=0;n<e.length;n++)if(!fy(e[n],n))return}else{var a=Ve(e);if("function"==typeof a){var r=a.call(e);if(r)for(var i=r.next(),l=0;!i.done;i=r.next()){if(!fy(i.value,l))return;l++}}else o('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(l,r),Wg(e,t,l,n);var s=hf.current;pf(s,uf)?(s=mf(s,uf),t.flags|=Ba):(null!==e&&(e.flags&Ba)!==Fa&&function(e,t,n){for(var a=t;null!==a;){if(a.tag===b)null!==a.memoizedState&&py(a,n,e);else if(a.tag===w)py(a,n,e);else if(null!==a.child){a.child.return=a,a=a.child;continue}if(a===e)return;for(;null===a.sibling;){if(null===a.return||a.return===e)return;a=a.return}a.sibling.return=a.return,a=a.sibling}}(t,t.child,n),s=ff(s));if(gf(t,s),(t.mode&no)===to)t.memoizedState=null;else switch(r){case"forwards":var d,c=function(e){for(var t=e,n=null;null!==t;){var a=t.alternate;null!==a&&null===_f(a)&&(n=t),t=t.sibling}return n}(t.child);null===c?(d=t.child,t.child=null):(d=c.sibling,c.sibling=null),my(t,!1,d,c,i);break;case"backwards":var u=null,h=t.child;for(t.child=null;null!==h;){var p=h.alternate;if(null!==p&&null===_f(p)){t.child=h;break}var f=h.sibling;h.sibling=u,u=h,h=f}my(t,!0,u,null,i);break;case"together":my(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}var yy=!1;var vy,_y,by,xy,ky=!1;function Ey(){qg=!0}function My(e,t){(t.mode&no)===to&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=Da)}function Sy(e,t,n){return null!==e&&(t.dependencies=e.dependencies),bg(),ub(t.lanes),ui(n,t.childLanes)?(function(e,t){if(null!==e&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,a=ox(n,n.pendingProps);for(t.child=a,a.return=t;null!==n.sibling;)n=n.sibling,(a=a.sibling=ox(n,n.pendingProps)).return=t;a.sibling=null}}(e,t),t.child):null}function wy(e,t){return!!ui(e.lanes,t)}function $y(e,t,n){if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var a=t.return;if(null===a)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===a.child)a.child=n;else{var r=a.child;if(null===r)throw new Error("Expected parent to have a child.");for(;r.sibling!==t;)if(null===(r=r.sibling))throw new Error("Expected to find the previous sibling.");r.sibling=n}var o=a.deletions;return null===o?(a.deletions=[e],a.flags|=Ha):o.push(e),n.flags|=Da,n}(e,t,lx(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(null!==e)if(e.memoizedProps!==t.pendingProps||uu()||t.type!==e.type)qg=!0;else{if(!wy(e,n)&&(t.flags&Ba)===Fa)return qg=!1,function(e,t,n){switch(t.tag){case c:ny(t),t.stateNode,ph();break;case h:lf(t);break;case s:hu(t.type)&&yu(t);break;case u:af(t,t.stateNode.containerInfo);break;case y:var a=t.memoizedProps.value;Hh(t,t.type._context,a);break;case _:ui(n,t.childLanes)&&(t.flags|=Oa);var r=t.stateNode;r.effectDuration=0,r.passiveEffectDuration=0;break;case b:var o=t.memoizedState;if(null!==o){if(null!==o.dehydrated)return gf(t,ff(hf.current)),t.flags|=Ba,null;if(ui(n,t.child.childLanes))return sy(e,t,n);gf(t,ff(hf.current));var i=Sy(e,t,n);return null!==i?i.sibling:null}gf(t,ff(hf.current));break;case w:var l=(e.flags&Ba)!==Fa,d=ui(n,t.childLanes);if(l){if(d)return gy(e,t,n);t.flags|=Ba}var p=t.memoizedState;if(null!==p&&(p.rendering=null,p.tail=null,p.lastEffect=null),gf(t,hf.current),d)break;return null;case R:case C:return t.lanes=uo,Xg(e,t,n)}return Sy(e,t,n)}(e,t,n);qg=(e.flags&tr)!==Fa}else if(qg=!1,mh()&&function(e){return Bu(),(e.flags&nr)!==Fa}(t)){var a=t.index;Ou(t,(Bu(),Tu),a)}switch(t.lanes=uo,t.tag){case d:return function(e,t,n,a){My(e,t);var r,i,d,c=t.pendingProps;if(r=cu(t,su(0,n,!1)),Uh(t,a),Gr(t),n.prototype&&"function"==typeof n.prototype.render){var u=ct(n)||"Unknown";zg[u]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",u,u),zg[u]=!0)}if(t.mode&ro&&_h.recordLegacyContextWarning(t,null),bt(!0),Gg.current=t,i=Kf(null,t,n,c,r,a),d=Xf(),bt(!1),qr(),t.flags|=za,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var h=ct(n)||"Unknown";Dg[h]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",h,h,h),Dg[h]=!0)}if("object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var p=ct(n)||"Unknown";Dg[p]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",p,p,p),Dg[p]=!0),t.tag=s,t.memoizedState=null,t.updateQueue=null;var f=!1;return hu(n)?(f=!0,yu(t)):f=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,op(t),Dp(t,i),Vp(t,n,c,a),ty(null,t,n,!0,f,a)}if(t.tag=l,t.mode&ro){Vr(!0);try{i=Kf(null,t,n,c,r,a),d=Xf()}finally{Vr(!1)}}return mh()&&d&&Hu(t),Wg(null,t,i,a),oy(t,n),t.child}(e,t,t.type,n);case E:return ry(e,t,t.elementType,n);case l:var r=t.type,i=t.pendingProps;return Jg(e,t,r,t.elementType===r?i:Ph(r,i),n);case s:var S=t.type,P=t.pendingProps;return ey(e,t,S,t.elementType===S?P:Ph(S,P),n);case c:return function(e,t,n){if(ny(t),null===e)throw new Error("Should have a current fiber. This is a bug in React.");var a=t.pendingProps,r=t.memoizedState,o=r.element;ip(e,t),hp(t,a,null,n);var i=t.memoizedState;t.stateNode;var l=i.element;if(r.isDehydrated){var s={element:l,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions};if(t.updateQueue.baseState=s,t.memoizedState=s,t.flags&Ua)return ay(e,t,l,n,$g(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t));if(l!==o)return ay(e,t,l,n,$g(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t));Xu(t);var d=Zp(t,null,l,n);t.child=d;for(var c=d;c;)c.flags=c.flags&~Da|Ya,c=c.sibling}else{if(ph(),l===o)return Sy(e,t,n);Wg(e,t,l,n)}return t.child}(e,t,n);case h:return function(e,t,n){lf(t),null===e&&ih(t);var a=t.type,r=t.pendingProps,o=null!==e?e.memoizedProps:null,i=r.children;return hc(a,r)?i=null:null!==o&&hc(a,o)&&(t.flags|=Va),Qg(e,t),Wg(e,t,i,n),t.child}(e,t,n);case p:return function(e,t){return null===e&&ih(t),null}(e,t);case b:return sy(e,t,n);case u:return function(e,t,n){af(t,t.stateNode.containerInfo);var a=t.pendingProps;return null===e?t.child=Yp(t,null,a,n):Wg(e,t,a,n),t.child}(e,t,n);case v:var T=t.type,L=t.pendingProps;return Yg(e,t,T,t.elementType===T?L:Ph(T,L),n);case f:return function(e,t,n){return Wg(e,t,t.pendingProps,n),t.child}(e,t,n);case m:return function(e,t,n){return Wg(e,t,t.pendingProps.children,n),t.child}(e,t,n);case _:return function(e,t,n){t.flags|=Oa;var a=t.stateNode;return a.effectDuration=0,a.passiveEffectDuration=0,Wg(e,t,t.pendingProps.children,n),t.child}(e,t,n);case y:return function(e,t,n){var a=t.type._context,r=t.pendingProps,i=t.memoizedProps,l=r.value;"value"in r||yy||(yy=!0,o("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var s=t.type.propTypes;if(s&&Kc(s,r,"prop","Context.Provider"),Hh(t,a,l),null!==i){var d=i.value;if(Es(d,l)){if(i.children===r.children&&!uu())return Sy(e,t,n)}else Bh(t,a,n)}return Wg(e,t,r.children,n),t.child}(e,t,n);case g:return function(e,t,n){var a=t.type;void 0===a._context?a!==a.Consumer&&(ky||(ky=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):a=a._context;var r=t.pendingProps.children;"function"!=typeof r&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Uh(t,n);var i,l=Gh(a);return Gr(t),Gg.current=t,bt(!0),i=r(l),bt(!1),qr(),t.flags|=za,Wg(e,t,i,n),t.child}(e,t,n);case x:var A=t.type,I=Ph(A,t.pendingProps);if(t.type!==t.elementType){var N=A.propTypes;N&&Kc(N,I,"prop",ct(A))}return Zg(e,t,A,I=Ph(A.type,I),n);case k:return Kg(e,t,t.type,t.pendingProps,n);case M:var F=t.type,z=t.pendingProps;return function(e,t,n,a,r){var o;return My(e,t),t.tag=s,hu(n)?(o=!0,yu(t)):o=!1,Uh(t,r),Op(t,n,a),Vp(t,n,a,r),ty(null,t,n,!0,o,r)}(e,t,F,t.elementType===F?z:Ph(F,z),n);case w:return gy(e,t,n);case $:break;case R:return Xg(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Ry(e){e.flags|=Oa}function Cy(e){e.flags|=Ga,e.flags|=ar}function Py(e,t){if(!mh())switch(e.tailMode){case"hidden":for(var n=e.tail,a=null;null!==n;)null!==n.alternate&&(a=n),n=n.sibling;null===a?e.tail=null:a.sibling=null;break;case"collapsed":for(var r=e.tail,o=null;null!==r;)null!==r.alternate&&(o=r),r=r.sibling;null===o?t||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Ty(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=uo,a=Fa;if(t){if((e.mode&ao)!==to){for(var r=e.selfBaseDuration,o=e.child;null!==o;)n=pi(n,pi(o.lanes,o.childLanes)),a|=o.subtreeFlags&hr,a|=o.flags&hr,r+=o.treeBaseDuration,o=o.sibling;e.treeBaseDuration=r}else for(var i=e.child;null!==i;)n=pi(n,pi(i.lanes,i.childLanes)),a|=i.subtreeFlags&hr,a|=i.flags&hr,i.return=e,i=i.sibling;e.subtreeFlags|=a}else{if((e.mode&ao)!==to){for(var l=e.actualDuration,s=e.selfBaseDuration,d=e.child;null!==d;)n=pi(n,pi(d.lanes,d.childLanes)),a|=d.subtreeFlags,a|=d.flags,l+=d.actualDuration,s+=d.treeBaseDuration,d=d.sibling;e.actualDuration=l,e.treeBaseDuration=s}else for(var c=e.child;null!==c;)n=pi(n,pi(c.lanes,c.childLanes)),a|=c.subtreeFlags,a|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=a}return e.childLanes=n,t}function Ly(e,t,n){if(qu&&null!==Gu&&(t.mode&no)!==to&&(t.flags&Ba)===Fa)return hh(t),ph(),t.flags|=Ua|Ja|er,!1;var a=uh(t);if(null!==n&&null!==n.dehydrated){if(null===e){if(!a)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(sh(t),Ty(t),(t.mode&ao)!==to)if(null!==n){var r=t.child;null!==r&&(t.treeBaseDuration-=r.treeBaseDuration)}return!1}if(ph(),(t.flags&Ba)===Fa&&(t.memoizedState=null),t.flags|=Oa,Ty(t),(t.mode&ao)!==to&&null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}return fh(),!0}function Ay(e,t,n){var a=t.pendingProps;switch(ju(t),t.tag){case d:case E:case k:case l:case v:case f:case m:case _:case g:case x:return Ty(t),null;case s:return hu(t.type)&&pu(t),Ty(t),null;case c:var r=t.stateNode;if(rf(t),fu(t),wf(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null===e||null===e.child)if(uh(t))Ry(t);else if(null!==e)e.memoizedState.isDehydrated&&(t.flags&Ua)===Fa||(t.flags|=qa,fh());return _y(e,t),Ty(t),null;case h:sf(t);var o=nf(),i=t.type;if(null!==e&&null!=t.stateNode)by(e,t,i,a,o),e.ref!==t.ref&&Cy(t);else{if(!a){if(null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Ty(t),null}var S=of();if(uh(t))(function(e,t,n){var a=e.stateNode,r=!Wu,o=Cc(a,e.type,e.memoizedProps,0,n,e,r);return e.updateQueue=o,null!==o})(t,0,S)&&Ry(t);else{var L=uc(i,a,o,S,t);vy(L,t,!1,!1),t.stateNode=L,function(e,t,n,a,r){switch(Vd(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(L,i,a)&&Ry(t)}null!==t.ref&&Cy(t)}return Ty(t),null;case p:var A=a;if(e&&null!=t.stateNode){var I=e.memoizedProps;xy(e,t,I,A)}else{if("string"!=typeof A&&null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var z=nf(),D=of();uh(t)?lh(t)&&Ry(t):t.stateNode=pc(A,z,D,t)}return Ty(t),null;case b:yf(t);var O=t.memoizedState;if(null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)if(!Ly(e,t,O))return t.flags&er?t:null;if((t.flags&Ba)!==Fa)return t.lanes=n,(t.mode&ao)!==to&&wg(t),t;var H=null!==O;if(H!==(null!==e&&null!==e.memoizedState))if(H)if(t.child.flags|=Za,(t.mode&no)!==to)null===e&&(!0!==t.memoizedProps.unstable_avoidThisFallback||!F)||pf(hf.current,cf)?h_===Jv&&(h_=n_):hb();if(null!==t.updateQueue&&(t.flags|=Oa),Ty(t),(t.mode&ao)!==to&&H){var V=t.child;null!==V&&(t.treeBaseDuration-=V.treeBaseDuration)}return null;case u:return rf(t),_y(e,t),null===e&&ud(t.stateNode.containerInfo),Ty(t),null;case y:return Vh(t.type._context,t),Ty(t),null;case M:return hu(t.type)&&pu(t),Ty(t),null;case w:yf(t);var j=t.memoizedState;if(null===j)return Ty(t),null;var B=(t.flags&Ba)!==Fa,U=j.rendering;if(null===U)if(B)Py(j,!1);else{if(!(h_===Jv&&(null===e||(e.flags&Ba)===Fa)))for(var G=t.child;null!==G;){var q=_f(G);if(null!==q){B=!0,t.flags|=Ba,Py(j,!1);var W=q.updateQueue;return null!==W&&(t.updateQueue=W,t.flags|=Oa),t.subtreeFlags=Fa,Kp(t,n),gf(t,mf(hf.current,uf)),t.child}G=G.sibling}null!==j.tail&&$r()>S_()&&(t.flags|=Ba,B=!0,Py(j,!1),t.lanes=jo)}else{if(!B){var Y=_f(U);if(null!==Y){t.flags|=Ba,B=!0;var Z=Y.updateQueue;if(null!==Z&&(t.updateQueue=Z,t.flags|=Oa),Py(j,!0),null===j.tail&&"hidden"===j.tailMode&&!U.alternate&&!mh())return Ty(t),null}else 2*$r()-j.renderingStartTime>S_()&&n!==Wo&&(t.flags|=Ba,B=!0,Py(j,!1),t.lanes=jo)}if(j.isBackwards)U.sibling=t.child,t.child=U;else{var K=j.last;null!==K?K.sibling=U:t.child=U,j.last=U}}if(null!==j.tail){var X=j.tail;j.rendering=X,j.tail=X.sibling,j.renderingStartTime=$r(),X.sibling=null;var Q=hf.current;return gf(t,Q=B?mf(Q,uf):ff(Q)),X}return Ty(t),null;case $:break;case R:case C:ib(t);var J=null!==t.memoizedState;if(null!==e)null!==e.memoizedState===J||N||(t.flags|=Za);return J&&(t.mode&no)!==to?ui(c_,Wo)&&(Ty(t),t.subtreeFlags&(Da|Oa)&&(t.flags|=Za)):Ty(t),null;case P:case T:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Iy(e,t,n){switch(ju(t),t.tag){case s:hu(t.type)&&pu(t);var a=t.flags;return a&er?(t.flags=a&~er|Ba,(t.mode&ao)!==to&&wg(t),t):null;case c:t.stateNode,rf(t),fu(t),wf();var r=t.flags;return(r&er)!==Fa&&(r&Ba)===Fa?(t.flags=r&~er|Ba,t):null;case h:return sf(t),null;case b:yf(t);var o=t.memoizedState;if(null!==o&&null!==o.dehydrated){if(null===t.alternate)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");ph()}var i=t.flags;return i&er?(t.flags=i&~er|Ba,(t.mode&ao)!==to&&wg(t),t):null;case w:return yf(t),null;case u:return rf(t),null;case y:return Vh(t.type._context,t),null;case R:case C:return ib(t),null;default:return null}}function Ny(e,t,n){switch(ju(t),t.tag){case s:var a=t.type.childContextTypes;null!=a&&pu(t);break;case c:t.stateNode,rf(t),fu(t),wf();break;case h:sf(t);break;case u:rf(t);break;case b:case w:yf(t);break;case y:Vh(t.type._context,t);break;case R:case C:ib(t)}}vy=function(e,t,n,a){for(var r,o,i=t.child;null!==i;){if(i.tag===h||i.tag===p)r=e,o=i.stateNode,r.appendChild(o);else if(i.tag===u);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)return;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},_y=function(e,t){},by=function(e,t,n,a,r){var o=e.memoizedProps;if(o!==a){var i=function(e,t,n,a,r,o){var i=o;if(typeof a.children!=typeof n.children&&("string"==typeof a.children||"number"==typeof a.children)){var l=""+a.children,s=Zd(i.ancestorInfo,t);Yd(null,l,s)}return jd(e,t,n,a)}(t.stateNode,n,o,a,0,of());t.updateQueue=i,i&&Ry(t)}},xy=function(e,t,n,a){n!==a&&Ry(t)};var Fy=null;Fy=new Set;var zy=!1,Dy=!1,Oy="function"==typeof WeakSet?WeakSet:Set,Hy=null,Vy=null,jy=null;var By=function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,e.mode&ao)try{Mg(),t.componentWillUnmount()}finally{kg(e)}else t.componentWillUnmount()};function Uy(e,t){try{ev(Ef,e)}catch(n){Eb(e,t,n)}}function Gy(e,t,n){try{By(e,n)}catch(n){Eb(e,t,n)}}function qy(e,t){try{rv(e)}catch(n){Eb(e,t,n)}}function Wy(e,t){var n=e.ref;if(null!==n)if("function"==typeof n){var a;try{if(V&&j&&e.mode&ao)try{Mg(),a=n(null)}finally{kg(e)}else a=n(null)}catch(n){Eb(e,t,n)}"function"==typeof a&&o("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ht(e))}else n.current=null}function Yy(e,t,n){try{n()}catch(n){Eb(e,t,n)}}var Zy=!1;function Ky(e,t){cc(e.containerInfo),Hy=t,function(){for(;null!==Hy;){var e=Hy,t=e.child;(e.subtreeFlags&sr)!==Fa&&null!==t?(t.return=e,Hy=t):Xy()}}();var n=Zy;return Zy=!1,n}function Xy(){for(;null!==Hy;){var e=Hy;_t(e);try{Qy(e)}catch(t){Eb(e,e.return,t)}vt();var t=e.sibling;if(null!==t)return t.return=e.return,void(Hy=t);Hy=e.return}}function Qy(e){var t,n=e.alternate;if((e.flags&qa)!==Fa){switch(_t(e),e.tag){case l:case v:case k:break;case s:if(null!==n){var a=n.memoizedProps,r=n.memoizedState,i=e.stateNode;e.type!==e.elementType||jg||(i.props!==e.memoizedProps&&o("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(e)||"instance"),i.state!==e.memoizedState&&o("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(e)||"instance"));var d=i.getSnapshotBeforeUpdate(e.elementType===e.type?a:Ph(e.type,a),r),f=Fy;void 0!==d||f.has(e.type)||(f.add(e.type),o("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ht(e))),i.__reactInternalSnapshotBeforeUpdate=d}break;case c:var m=e.stateNode;(t=m.containerInfo).nodeType===fn?t.textContent="":t.nodeType===yn&&t.documentElement&&t.removeChild(t.documentElement);break;case h:case p:case u:case M:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}vt()}}function Jy(e,t,n){var a,r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next,l=i;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,void 0!==s&&((e&Mf)!==bf?(a=t,null!==Dr&&"function"==typeof Dr.markComponentPassiveEffectUnmountStarted&&Dr.markComponentPassiveEffectUnmountStarted(a)):(e&Ef)!==bf&&Yr(t),(e&kf)!==bf&&Hb(!0),Yy(t,n,s),(e&kf)!==bf&&Hb(!1),(e&Mf)!==bf?null!==Dr&&"function"==typeof Dr.markComponentPassiveEffectUnmountStopped&&Dr.markComponentPassiveEffectUnmountStopped():(e&Ef)!==bf&&Zr())}l=l.next}while(l!==i)}}function ev(e,t){var n,a=t.updateQueue,r=null!==a?a.lastEffect:null;if(null!==r){var i=r.next,l=i;do{if((l.tag&e)===e){(e&Mf)!==bf?(n=t,null!==Dr&&"function"==typeof Dr.markComponentPassiveEffectMountStarted&&Dr.markComponentPassiveEffectMountStarted(n)):(e&Ef)!==bf&&Wr(t);var s=l.create;(e&kf)!==bf&&Hb(!0),l.destroy=s(),(e&kf)!==bf&&Hb(!1),(e&Mf)!==bf?null!==Dr&&"function"==typeof Dr.markComponentPassiveEffectMountStopped&&Dr.markComponentPassiveEffectMountStopped():(e&Ef)!==bf&&null!==Dr&&"function"==typeof Dr.markComponentLayoutEffectMountStopped&&Dr.markComponentLayoutEffectMountStopped();var d=l.destroy;if(void 0!==d&&"function"!=typeof d){var c=void 0;o("%s must not return anything besides a function, which is used for clean-up.%s",c=(l.tag&Ef)!==Fa?"useLayoutEffect":(l.tag&kf)!==Fa?"useInsertionEffect":"useEffect",null===d?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof d.then?"\n\nIt looks like you wrote "+c+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+c+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching":" You returned: "+d)}}l=l.next}while(l!==i)}}function tv(e,t){if((t.flags&Oa)!==Fa&&t.tag===_){var n=t.stateNode.passiveEffectDuration,a=t.memoizedProps,r=a.id,o=a.onPostCommit,i=yg(),l=null===t.alternate?"mount":"update";gg()&&(l="nested-update"),"function"==typeof o&&o(r,l,n,i);var s=t.return;e:for(;null!==s;){switch(s.tag){case c:s.stateNode.passiveEffectDuration+=n;break e;case _:s.stateNode.passiveEffectDuration+=n;break e}s=s.return}}}function nv(e,t,n,a){if((n.flags&cr)!==Fa)switch(n.tag){case l:case v:case k:if(!Dy)if(n.mode&ao)try{Mg(),ev(Ef|xf,n)}finally{kg(n)}else ev(Ef|xf,n);break;case s:var r=n.stateNode;if(n.flags&Oa&&!Dy)if(null===t)if(n.type!==n.elementType||jg||(r.props!==n.memoizedProps&&o("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),r.state!==n.memoizedState&&o("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),n.mode&ao)try{Mg(),r.componentDidMount()}finally{kg(n)}else r.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:Ph(n.type,t.memoizedProps),d=t.memoizedState;if(n.type!==n.elementType||jg||(r.props!==n.memoizedProps&&o("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),r.state!==n.memoizedState&&o("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),n.mode&ao)try{Mg(),r.componentDidUpdate(i,d,r.__reactInternalSnapshotBeforeUpdate)}finally{kg(n)}else r.componentDidUpdate(i,d,r.__reactInternalSnapshotBeforeUpdate)}var f=n.updateQueue;null!==f&&(n.type!==n.elementType||jg||(r.props!==n.memoizedProps&&o("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ht(n)||"instance"),r.state!==n.memoizedState&&o("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ht(n)||"instance")),gp(0,f,r));break;case c:var m=n.updateQueue;if(null!==m){var g=null;if(null!==n.child)switch(n.child.tag){case h:case s:g=n.child.stateNode}gp(0,m,g)}break;case h:var y=n.stateNode;if(null===t&&n.flags&Oa)!function(e,t,n,a){switch(t){case"button":case"input":case"select":case"textarea":return void(n.autoFocus&&e.focus());case"img":n.src&&(e.src=n.src)}}(y,n.type,n.memoizedProps);break;case p:case u:break;case _:var x=n.memoizedProps,E=x.onCommit,S=x.onRender,P=n.stateNode.effectDuration,L=yg(),A=null===t?"mount":"update";gg()&&(A="nested-update"),"function"==typeof S&&S(n.memoizedProps.id,A,n.actualDuration,n.treeBaseDuration,n.actualStartTime,L),"function"==typeof E&&E(n.memoizedProps.id,A,P,L),N=n,L_.push(N),C_||(C_=!0,zb(Tr,(function(){return _b(),null})));var I=n.return;e:for(;null!==I;){switch(I.tag){case c:I.stateNode.effectDuration+=P;break e;case _:I.stateNode.effectDuration+=P;break e}I=I.return}break;case b:!function(e,t){var n=t.memoizedState;if(null===n){var a=t.alternate;if(null!==a){var r=a.memoizedState;if(null!==r){var o=r.dehydrated;null!==o&&function(e){el(e)}(o)}}}}(0,n);break;case w:case M:case $:case R:case C:case T:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}var N;Dy||n.flags&Ga&&rv(n)}function av(e){switch(e.tag){case l:case v:case k:if(e.mode&ao)try{Mg(),Uy(e,e.return)}finally{kg(e)}else Uy(e,e.return);break;case s:var t=e.stateNode;"function"==typeof t.componentDidMount&&function(e,t,n){try{n.componentDidMount()}catch(n){Eb(e,t,n)}}(e,e.return,t),qy(e,e.return);break;case h:qy(e,e.return)}}function rv(e){var t=e.ref;if(null!==t){var n,a=e.stateNode;if(e.tag,n=a,"function"==typeof t){var r;if(e.mode&ao)try{Mg(),r=t(n)}finally{kg(e)}else r=t(n);"function"==typeof r&&o("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ht(e))}else t.hasOwnProperty("current")||o("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ht(e)),t.current=n}}function ov(e){var t,n=e.alternate;if(null!==n&&(e.alternate=null,ov(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===h){var a=e.stateNode;null!==a&&(delete(t=a)[Lc],delete t[Ac],delete t[Nc],delete t[Fc],delete t[zc])}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function iv(e){return e.tag===h||e.tag===c||e.tag===u}function lv(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||iv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==h&&t.tag!==p&&t.tag!==S;){if(t.flags&Da)continue e;if(null===t.child||t.tag===u)continue e;t.child.return=t,t=t.child}if(!(t.flags&Da))return t.stateNode}}function sv(e){var t=function(e){for(var t=e.return;null!==t;){if(iv(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e);switch(t.tag){case h:var n=t.stateNode;t.flags&Va&&(bc(n),t.flags&=~Va),cv(e,lv(e),n);break;case c:case u:var a=t.stateNode.containerInfo;dv(e,lv(e),a);break;default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function dv(e,t,n){var a=e.tag;if(a===h||a===p){var r=e.stateNode;t?function(e,t,n){e.nodeType===gn?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(n,r,t):function(e,t){var n;e.nodeType===gn?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t),null==e._reactRootContainer&&null===n.onclick&&Hd(n)}(n,r)}else if(a===u);else{var o=e.child;if(null!==o){dv(o,t,n);for(var i=o.sibling;null!==i;)dv(i,t,n),i=i.sibling}}}function cv(e,t,n){var a=e.tag;if(a===h||a===p){var r=e.stateNode;t?function(e,t,n){e.insertBefore(t,n)}(n,r,t):function(e,t){e.appendChild(t)}(n,r)}else if(a===u);else{var o=e.child;if(null!==o){cv(o,t,n);for(var i=o.sibling;null!==i;)cv(i,t,n),i=i.sibling}}}var uv=null,hv=!1;function pv(e,t,n){var a,r,o=t;e:for(;null!==o;){switch(o.tag){case h:uv=o.stateNode,hv=!1;break e;case c:case u:uv=o.stateNode.containerInfo,hv=!0;break e}o=o.return}if(null===uv)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");mv(e,t,n),uv=null,hv=!1,null!==(r=(a=n).alternate)&&(r.return=null),a.return=null}function fv(e,t,n){for(var a=n.child;null!==a;)mv(e,t,a),a=a.sibling}function mv(e,t,n){switch(function(e){if(zr&&"function"==typeof zr.onCommitFiberUnmount)try{zr.onCommitFiberUnmount(Fr,e)}catch(e){Or||(Or=!0,o("React instrumentation encountered an error: %s",e))}}(n),n.tag){case h:Dy||Wy(n,t);case p:var a=uv,r=hv;return uv=null,fv(e,t,n),hv=r,void(null!==(uv=a)&&(hv?(w=uv,C=n.stateNode,w.nodeType===gn?w.parentNode.removeChild(C):w.removeChild(C)):function(e,t){e.removeChild(t)}(uv,n.stateNode)));case S:return void(null!==uv&&(hv?function(e,t){e.nodeType===gn?xc(e.parentNode,t):e.nodeType===fn&&xc(e,t),el(e)}(uv,n.stateNode):xc(uv,n.stateNode)));case u:var i=uv,d=hv;return uv=n.stateNode.containerInfo,hv=!0,fv(e,t,n),uv=i,void(hv=d);case l:case v:case x:case k:if(!Dy){var c=n.updateQueue;if(null!==c){var f=c.lastEffect;if(null!==f){var m=f.next,g=m;do{var y=g,_=y.destroy,b=y.tag;void 0!==_&&((b&kf)!==bf?Yy(n,t,_):(b&Ef)!==bf&&(Yr(n),n.mode&ao?(Mg(),Yy(n,t,_),kg(n)):Yy(n,t,_),Zr())),g=g.next}while(g!==m)}}}return void fv(e,t,n);case s:if(!Dy){Wy(n,t);var E=n.stateNode;"function"==typeof E.componentWillUnmount&&Gy(n,t,E)}return void fv(e,t,n);case $:return void fv(e,t,n);case R:if(n.mode&no){var M=Dy;Dy=M||null!==n.memoizedState,fv(e,t,n),Dy=M}else fv(e,t,n);break;default:return void fv(e,t,n)}var w,C}function gv(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Oy),t.forEach((function(t){var a=$b.bind(null,e,t);if(!n.has(t)){if(n.add(t),Hr){if(null===Vy||null===jy)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Nb(jy,Vy)}t.then(a,a)}}))}}function yv(e,t,n){var a=t.deletions;if(null!==a)for(var r=0;r<a.length;r++){var o=a[r];try{pv(e,t,o)}catch(e){Eb(o,t,e)}}var i=ft;if(t.subtreeFlags&dr)for(var l=t.child;null!==l;)_t(l),vv(l,e),l=l.sibling;_t(i)}function vv(e,t,n){var a=e.alternate,r=e.flags;switch(e.tag){case l:case v:case x:case k:if(yv(t,e),_v(e),r&Oa){try{Jy(kf|xf,e,e.return),ev(kf|xf,e)}catch(t){Eb(e,e.return,t)}if(e.mode&ao){try{Mg(),Jy(Ef|xf,e,e.return)}catch(t){Eb(e,e.return,t)}kg(e)}else try{Jy(Ef|xf,e,e.return)}catch(t){Eb(e,e.return,t)}}return;case s:return yv(t,e),_v(e),void(r&Ga&&null!==a&&Wy(a,a.return));case h:if(yv(t,e),_v(e),r&Ga&&null!==a&&Wy(a,a.return),e.flags&Va){var o=e.stateNode;try{bc(o)}catch(t){Eb(e,e.return,t)}}if(r&Oa){var i=e.stateNode;if(null!=i){var d=e.memoizedProps,f=null!==a?a.memoizedProps:d,m=e.type,g=e.updateQueue;if(e.updateQueue=null,null!==g)try{!function(e,t,n,a,r,o){Bd(e,t,n,a,r),qc(e,r)}(i,g,m,f,d)}catch(t){Eb(e,e.return,t)}}}return;case p:if(yv(t,e),_v(e),r&Oa){if(null===e.stateNode)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var y=e.stateNode,_=e.memoizedProps;null!==a&&a.memoizedProps;try{!function(e,t,n){e.nodeValue=n}(y,0,_)}catch(t){Eb(e,e.return,t)}}return;case c:if(yv(t,e),_v(e),r&Oa)if(null!==a)if(a.memoizedState.isDehydrated)try{el(t.containerInfo)}catch(t){Eb(e,e.return,t)}return;case u:return yv(t,e),void _v(e);case b:yv(t,e),_v(e);var E=e.child;if(E.flags&Za){var M=E.stateNode,S=null!==E.memoizedState;if(M.isHidden=S,S)null!==E.alternate&&null!==E.alternate.memoizedState||(__=$r())}if(r&Oa){try{!function(e){e.memoizedState}(e)}catch(t){Eb(e,e.return,t)}gv(e)}return;case R:var P=null!==a&&null!==a.memoizedState;if(e.mode&no){var T=Dy;Dy=T||P,yv(t,e),Dy=T}else yv(t,e);if(_v(e),r&Za){var L=e.stateNode,A=null!==e.memoizedState,I=e;if(L.isHidden=A,A&&!P&&(I.mode&no)!==to){Hy=I;for(var N=I.child;null!==N;)Hy=N,Ev(N),N=N.sibling}!function(e,t){for(var n=null,a=e;;){if(a.tag===h){if(null===n){n=a;try{var r=a.stateNode;t?kc(r):Ec(a.stateNode,a.memoizedProps)}catch(t){Eb(e,e.return,t)}}}else if(a.tag===p){if(null===n)try{var o=a.stateNode;t?o.nodeValue="":Mc(o,a.memoizedProps)}catch(t){Eb(e,e.return,t)}}else if((a.tag!==R&&a.tag!==C||null===a.memoizedState||a===e)&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===e)return;for(;null===a.sibling;){if(null===a.return||a.return===e)return;n===a&&(n=null),a=a.return}n===a&&(n=null),a.sibling.return=a.return,a=a.sibling}}(I,A)}return;case w:return yv(t,e),_v(e),void(r&Oa&&gv(e));case $:return;default:return yv(t,e),void _v(e)}}function _v(e){var t=e.flags;if(t&Da){try{sv(e)}catch(t){Eb(e,e.return,t)}e.flags&=~Da}t&Ya&&(e.flags&=~Ya)}function bv(e,t,n){Vy=n,jy=t,Hy=e,xv(e,t,n),Vy=null,jy=null}function xv(e,t,n){for(var a=(e.mode&no)!==to;null!==Hy;){var r=Hy,o=r.child;if(r.tag===R&&a){var i=null!==r.memoizedState||zy;if(i){kv(e,t,n);continue}var l=r.alternate,s=null!==l&&null!==l.memoizedState,d=zy,c=Dy;zy=i,(Dy=s||Dy)&&!c&&(Hy=r,Sv(r));for(var u=o;null!==u;)Hy=u,xv(u,t,n),u=u.sibling;Hy=r,zy=d,Dy=c,kv(e,t,n)}else(r.subtreeFlags&cr)!==Fa&&null!==o?(o.return=r,Hy=o):kv(e,t,n)}}function kv(e,t,n){for(;null!==Hy;){var a=Hy;if((a.flags&cr)!==Fa){var r=a.alternate;_t(a);try{nv(0,r,a)}catch(e){Eb(a,a.return,e)}vt()}if(a===e)return void(Hy=null);var o=a.sibling;if(null!==o)return o.return=a.return,void(Hy=o);Hy=a.return}}function Ev(e){for(;null!==Hy;){var t=Hy,n=t.child;switch(t.tag){case l:case v:case x:case k:if(t.mode&ao)try{Mg(),Jy(Ef,t,t.return)}finally{kg(t)}else Jy(Ef,t,t.return);break;case s:Wy(t,t.return);var a=t.stateNode;"function"==typeof a.componentWillUnmount&&Gy(t,t.return,a);break;case h:Wy(t,t.return);break;case R:if(null!==t.memoizedState){Mv(e);continue}}null!==n?(n.return=t,Hy=n):Mv(e)}}function Mv(e){for(;null!==Hy;){var t=Hy;if(t===e)return void(Hy=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Hy=n);Hy=t.return}}function Sv(e){for(;null!==Hy;){var t=Hy,n=t.child;if(t.tag===R)if(null!==t.memoizedState){wv(e);continue}null!==n?(n.return=t,Hy=n):wv(e)}}function wv(e){for(;null!==Hy;){var t=Hy;_t(t);try{av(t)}catch(e){Eb(t,t.return,e)}if(vt(),t===e)return void(Hy=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(Hy=n);Hy=t.return}}function $v(e,t,n,a){Hy=t,function(e,t,n,a){for(;null!==Hy;){var r=Hy,o=r.child;(r.subtreeFlags&ur)!==Fa&&null!==o?(o.return=r,Hy=o):Rv(e,t,n,a)}}(t,e,n,a)}function Rv(e,t,n,a){for(;null!==Hy;){var r=Hy;if((r.flags&Wa)!==Fa){_t(r);try{Cv(t,r,n,a)}catch(e){Eb(r,r.return,e)}vt()}if(r===e)return void(Hy=null);var o=r.sibling;if(null!==o)return o.return=r.return,void(Hy=o);Hy=r.return}}function Cv(e,t,n,a){switch(t.tag){case l:case v:case k:if(t.mode&ao){Sg();try{ev(Mf|xf,t)}finally{Eg(t)}}else ev(Mf|xf,t)}}function Pv(e){Hy=e,function(){for(;null!==Hy;){var e=Hy,t=e.child;if((Hy.flags&Ha)!==Fa){var n=e.deletions;if(null!==n){for(var a=0;a<n.length;a++){var r=n[a];Hy=r,Av(r,e)}var o=e.alternate;if(null!==o){var i=o.child;if(null!==i){o.child=null;do{var l=i.sibling;i.sibling=null,i=l}while(null!==i)}}Hy=e}}(e.subtreeFlags&ur)!==Fa&&null!==t?(t.return=e,Hy=t):Tv()}}()}function Tv(){for(;null!==Hy;){var e=Hy;(e.flags&Wa)!==Fa&&(_t(e),Lv(e),vt());var t=e.sibling;if(null!==t)return t.return=e.return,void(Hy=t);Hy=e.return}}function Lv(e){switch(e.tag){case l:case v:case k:e.mode&ao?(Sg(),Jy(Mf|xf,e,e.return),Eg(e)):Jy(Mf|xf,e,e.return)}}function Av(e,t){for(;null!==Hy;){var n=Hy;_t(n),Nv(n,t),vt();var a=n.child;null!==a?(a.return=n,Hy=a):Iv(e)}}function Iv(e){for(;null!==Hy;){var t=Hy,n=t.sibling,a=t.return;if(ov(t),t===e)return void(Hy=null);if(null!==n)return n.return=a,void(Hy=n);Hy=a}}function Nv(e,t){switch(e.tag){case l:case v:case k:e.mode&ao?(Sg(),Jy(Mf,e,t),Eg(e)):Jy(Mf,e,t)}}function Fv(e){switch(e.tag){case l:case v:case k:try{ev(Ef|xf,e)}catch(t){Eb(e,e.return,t)}break;case s:var t=e.stateNode;try{t.componentDidMount()}catch(t){Eb(e,e.return,t)}}}function zv(e){switch(e.tag){case l:case v:case k:try{ev(Mf|xf,e)}catch(t){Eb(e,e.return,t)}}}function Dv(e){switch(e.tag){case l:case v:case k:try{Jy(Ef|xf,e,e.return)}catch(t){Eb(e,e.return,t)}break;case s:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&Gy(e,e.return,t)}}function Ov(e){switch(e.tag){case l:case v:case k:try{Jy(Mf|xf,e,e.return)}catch(t){Eb(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var Hv=Symbol.for;Hv("selector.component"),Hv("selector.has_pseudo_class"),Hv("selector.role"),Hv("selector.test_id"),Hv("selector.text")}var Vv=[];var jv=n.ReactCurrentActQueue;function Bv(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===jv.current||o("The current testing environment is not configured to support act(...)"),e}var Uv=Math.ceil,Gv=n.ReactCurrentDispatcher,qv=n.ReactCurrentOwner,Wv=n.ReactCurrentBatchConfig,Yv=n.ReactCurrentActQueue,Zv=0,Kv=1,Xv=2,Qv=4,Jv=0,e_=1,t_=2,n_=3,a_=4,r_=5,o_=6,i_=Zv,l_=null,s_=null,d_=uo,c_=uo,u_=tu(uo),h_=Jv,p_=null,f_=uo,m_=uo,g_=uo,y_=null,v_=null,__=0,b_=500,x_=1/0,k_=500,E_=null;function M_(){x_=$r()+k_}function S_(){return x_}var w_=!1,$_=null,R_=null,C_=!1,P_=null,T_=uo,L_=[],A_=null,I_=50,N_=0,F_=null,z_=!1,D_=!1,O_=50,H_=0,V_=null,j_=Zo,B_=uo,U_=!1;function G_(){return l_}function q_(){return(i_&(Xv|Qv))!==Zv?$r():j_!==Zo?j_:j_=$r()}function W_(e){if((e.mode&no)===to)return po;if((i_&Xv)!==Zv&&d_!==uo)return si(d_);if(yh.transition!==vh){if(null!==Wv.transition){var t=Wv.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return B_===ho&&(B_=ii()),B_}var n,a=Li();return a!==ho?a:void 0===(n=window.event)?Ci:dl(n.type)}function Y_(e){var t;return(e.mode&no)===to?po:(t=Xo,((Xo<<=1)&Fo)===uo&&(Xo=zo),t)}function Z_(e,t,n,a){!function(){if(N_>I_)throw N_=0,F_=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");H_>O_&&(H_=0,V_=null,o("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),U_&&o("useInsertionEffect must not schedule updates."),z_&&(D_=!0),yi(e,n,a),(i_&Xv)!==uo&&e===l_?function(e){if(mt&&!Um)switch(e.tag){case l:case v:case k:var t=s_&&ht(s_)||"Unknown",n=t;if(!Ab.has(n))Ab.add(n),o("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",ht(e)||"Unknown",t,t);break;case s:Ib||(o("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Ib=!0)}}(t):(Hr&&bi(e,t,n),function(e){if(e.mode&no){if(!Bv())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(i_!==Zv)return;if(e.tag!==l&&e.tag!==v&&e.tag!==k)return}var t;if(null===Yv.current){var n=ft;try{_t(e),o("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act",ht(e))}finally{n?_t(e):vt()}}}(t),e===l_&&((i_&Xv)===Zv&&(m_=pi(m_,n)),h_===a_&&eb(e,d_)),K_(e,a),n!==po||i_!==Zv||(t.mode&no)!==to||Yv.isBatchingLegacy||(M_(),wu()))}function K_(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,a=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=n;i>0;){var l=di(i),s=1<<l,d=o[l];d===Zo?(s&a)!==uo&&(s&r)===uo||(o[l]=ei(s,t)):d<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var a=Jo(e,e===l_?d_:uo);if(a===uo)return null!==n&&Db(n),e.callbackNode=null,void(e.callbackPriority=ho);var r=li(a),i=e.callbackPriority;if(i!==r||null!==Yv.current&&n!==Fb){var l,s;if(null!=n&&Db(n),r===po)e.tag===bu?(null!==Yv.isBatchingLegacy&&(Yv.didScheduleLegacyUpdate=!0),s=tb.bind(null,e),Eu=!0,Su(s)):Su(tb.bind(null,e)),null!==Yv.current?Yv.current.push($u):vc((function(){(i_&(Xv|Qv))===Zv&&$u()})),l=null;else{var d;switch(Ni(a)){case $i:d=Cr;break;case Ri:d=Pr;break;case Ci:d=Tr;break;case Pi:d=Ar;break;default:d=Tr}l=zb(d,X_.bind(null,e))}e.callbackPriority=r,e.callbackNode=l}else null==n&&i!==po&&o("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function X_(e,t){if(fg=!1,mg=!1,j_=Zo,B_=uo,(i_&(Xv|Qv))!==Zv)throw new Error("Should not already be working.");var n=e.callbackNode;if(_b()&&e.callbackNode!==n)return null;var a=Jo(e,e===l_?d_:uo);if(a===uo)return null;var r=!ri(0,a)&&!function(e,t){return(t&e.expiredLanes)!==uo}(e,a)&&!t,o=r?function(e,t){var n=i_;i_|=Xv;var a=db();if(l_!==e||d_!==t){if(Hr){var r=e.memoizedUpdaters;r.size>0&&(Nb(e,d_),r.clear()),xi(e,t)}E_=null,M_(),lb(e,t)}Qr(t);for(;;)try{mb();break}catch(t){sb(e,t)}return zh(),cb(a),i_=n,null!==s_?(null!==Dr&&"function"==typeof Dr.markRenderYielded&&Dr.markRenderYielded(),Jv):(Jr(),l_=null,d_=uo,h_)}(e,a):pb(e,a);if(o!==Jv){if(o===t_){var i=ti(e);i!==uo&&(a=i,o=Q_(e,i))}if(o===e_){var l=p_;throw lb(e,uo),eb(e,a),K_(e,$r()),l}if(o===o_)eb(e,a);else{var s=!ri(0,a),d=e.current.alternate;if(s&&!function(e){var t=e;for(;;){if(t.flags&Ka){var n=t.updateQueue;if(null!==n){var a=n.stores;if(null!==a)for(var r=0;r<a.length;r++){var o=a[r],i=o.getSnapshot,l=o.value;try{if(!Es(i(),l))return!1}catch(e){return!1}}}}var s=t.child;if(t.subtreeFlags&Ka&&null!==s)s.return=t,t=s;else{if(t===e)return!0;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}(d)){if((o=pb(e,a))===t_){var c=ti(e);c!==uo&&(a=c,o=Q_(e,c))}if(o===e_){var u=p_;throw lb(e,uo),eb(e,a),K_(e,$r()),u}}e.finishedWork=d,e.finishedLanes=a,function(e,t,n){switch(t){case Jv:case e_:throw new Error("Root did not complete. This is a bug in React.");case t_:vb(e,v_,E_);break;case n_:if(eb(e,n),ai(n)&&!Ob()){var a=__+b_-$r();if(a>10){if(Jo(e,uo)!==uo)break;var r=e.suspendedLanes;if(!hi(r,n)){q_(),vi(e,r);break}e.timeoutHandle=fc(vb.bind(null,e,v_,E_),a);break}}vb(e,v_,E_);break;case a_:if(eb(e,n),function(e){return(e&_o)===e}(n))break;if(!Ob()){var o=function(e,t){for(var n=e.eventTimes,a=Zo;t>0;){var r=di(t),o=1<<r,i=n[r];i>a&&(a=i),t&=~o}return a}(e,n),i=o,l=$r()-i,s=((d=l)<120?120:d<480?480:d<1080?1080:d<1920?1920:d<3e3?3e3:d<4320?4320:1960*Uv(d/1960))-l;if(s>10){e.timeoutHandle=fc(vb.bind(null,e,v_,E_),s);break}}vb(e,v_,E_);break;case r_:vb(e,v_,E_);break;default:throw new Error("Unknown root exit status.")}var d}(e,o,a)}}return K_(e,$r()),e.callbackNode===n?X_.bind(null,e):null}function Q_(e,t){var n=y_;Fi(e)&&(lb(e,t).flags|=Ua,o("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase()));var a=pb(e,t);if(a!==t_){var r=v_;v_=n,null!==r&&J_(r)}return a}function J_(e){null===v_?v_=e:v_.push.apply(v_,e)}function eb(e,t){t=fi(t,g_),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,a=t;a>0;){var r=di(a),o=1<<r;n[r]=Zo,a&=~o}}(e,t=fi(t,m_))}function tb(e){if(fg=mg,mg=!1,(i_&(Xv|Qv))!==Zv)throw new Error("Should not already be working.");_b();var t=Jo(e,uo);if(!ui(t,po))return K_(e,$r()),null;var n=pb(e,t);if(e.tag!==bu&&n===t_){var a=ti(e);a!==uo&&(t=a,n=Q_(e,a))}if(n===e_){var r=p_;throw lb(e,uo),eb(e,t),K_(e,$r()),r}if(n===o_)throw new Error("Root did not complete. This is a bug in React.");var o=e.current.alternate;return e.finishedWork=o,e.finishedLanes=t,vb(e,v_,E_),K_(e,$r()),null}function nb(e,t){var n=i_;i_|=Kv;try{return e(t)}finally{(i_=n)!==Zv||Yv.isBatchingLegacy||(M_(),wu())}}function ab(e){null!==P_&&P_.tag===bu&&(i_&(Xv|Qv))===Zv&&_b();var t=i_;i_|=Kv;var n=Wv.transition,a=Li();try{return Wv.transition=null,Ai($i),e?e():void 0}finally{Ai(a),Wv.transition=n,((i_=t)&(Xv|Qv))===Zv&&$u()}}function rb(){return(i_&(Xv|Qv))!==Zv}function ob(e,t){au(u_,c_,e),c_=pi(c_,t)}function ib(e){c_=u_.current,nu(u_,e)}function lb(e,t){e.finishedWork=null,e.finishedLanes=uo;var n=e.timeoutHandle;if(n!==gc&&(e.timeoutHandle=gc,mc(n)),null!==s_)for(var a=s_.return;null!==a;){a.alternate;Ny(0,a),a=a.return}l_=e;var r=ox(e.current,null);return s_=r,d_=c_=t,h_=Jv,p_=null,f_=uo,m_=uo,g_=uo,y_=null,v_=null,function(){if(null!==qh){for(var e=0;e<qh.length;e++){var t=qh[e],n=t.interleaved;if(null!==n){t.interleaved=null;var a=n.next,r=t.pending;if(null!==r){var o=r.next;r.next=a,n.next=o}t.pending=n}}qh=null}}(),_h.discardPendingWarnings(),r}function sb(e,t){for(;;){var n=s_;try{if(zh(),Jf(),vt(),qv.current=null,null===n||null===n.return)return h_=e_,p_=t,void(s_=null);if(V&&n.mode&ao&&xg(n,!0),H)if(qr(),null!==t&&"object"==typeof t&&"function"==typeof t.then)Xr(n,t,d_);else Kr(n,t,d_);Fg(e,n.return,n,t,d_),yb(n)}catch(e){t=e,s_===n&&null!==n?(n=n.return,s_=n):n=s_;continue}return}}function db(){var e=Gv.current;return Gv.current=Jm,null===e?Jm:e}function cb(e){Gv.current=e}function ub(e){f_=pi(e,f_)}function hb(){h_!==Jv&&h_!==n_&&h_!==t_||(h_=a_),null!==l_&&(ni(f_)||ni(m_))&&eb(l_,d_)}function pb(e,t){var n=i_;i_|=Xv;var a=db();if(l_!==e||d_!==t){if(Hr){var r=e.memoizedUpdaters;r.size>0&&(Nb(e,d_),r.clear()),xi(e,t)}E_=null,lb(e,t)}for(Qr(t);;)try{fb();break}catch(t){sb(e,t)}if(zh(),i_=n,cb(a),null!==s_)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return Jr(),l_=null,d_=uo,h_}function fb(){for(;null!==s_;)gb(s_)}function mb(){for(;null!==s_&&!Sr();)gb(s_)}function gb(e){var t,n=e.alternate;_t(e),(e.mode&ao)!==to?(_g(e),t=Pb(n,e,c_),xg(e,!0)):t=Pb(n,e,c_),vt(),e.memoizedProps=e.pendingProps,null===t?yb(e):s_=t,qv.current=null}function yb(e){var t=e;do{var n=t.alternate,a=t.return;if((t.flags&Ja)===Fa){_t(t);var r=void 0;if((t.mode&ao)===to?r=Ay(n,t,c_):(_g(t),r=Ay(n,t,c_),xg(t,!1)),vt(),null!==r)return void(s_=r)}else{var o=Iy(0,t);if(null!==o)return o.flags&=Qa,void(s_=o);if((t.mode&ao)!==to){xg(t,!1);for(var i=t.actualDuration,l=t.child;null!==l;)i+=l.actualDuration,l=l.sibling;t.actualDuration=i}if(null===a)return h_=o_,void(s_=null);a.flags|=Ja,a.subtreeFlags=Fa,a.deletions=null}var s=t.sibling;if(null!==s)return void(s_=s);s_=t=a}while(null!==t);h_===Jv&&(h_=r_)}function vb(e,t,n){var a=Li(),r=Wv.transition;try{Wv.transition=null,Ai($i),function(e,t,n,a){do{_b()}while(null!==P_);if(function(){_h.flushLegacyContextWarning(),_h.flushPendingUnsafeLifecycleWarnings()}(),(i_&(Xv|Qv))!==Zv)throw new Error("Should not already be working.");var r=e.finishedWork,i=e.finishedLanes;if(function(e){null!==Dr&&"function"==typeof Dr.markCommitStarted&&Dr.markCommitStarted(e)}(i),null===r)return Ur(),null;i===uo&&o("root.finishedLanes should not be empty during a commit. This is a bug in React.");if(e.finishedWork=null,e.finishedLanes=uo,r===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=ho;var l=pi(r.lanes,r.childLanes);(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=uo,e.pingedLanes=uo,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t;for(var a=e.entanglements,r=e.eventTimes,o=e.expirationTimes,i=n;i>0;){var l=di(i),s=1<<l;a[l]=uo,r[l]=Zo,o[l]=Zo,i&=~s}})(e,l),e===l_&&(l_=null,s_=null,d_=uo);(r.subtreeFlags&ur)===Fa&&(r.flags&ur)===Fa||C_||(C_=!0,A_=n,zb(Tr,(function(){return _b(),null})));var s=(r.subtreeFlags&(sr|dr|cr|ur))!==Fa,d=(r.flags&(sr|dr|cr|ur))!==Fa;if(s||d){var c=Wv.transition;Wv.transition=null;var u=Li();Ai($i);var h=i_;i_|=Qv,qv.current=null,Ky(e,r),vg(),function(e,t,n){Vy=n,jy=e,_t(t),vv(t,e),_t(t),Vy=null,jy=null}(e,r,i),e.containerInfo,Ns(dc),al(sc),sc=null,dc=null,e.current=r,function(e){null!==Dr&&"function"==typeof Dr.markLayoutEffectsStarted&&Dr.markLayoutEffectsStarted(e)}(i),bv(r,e,i),null!==Dr&&"function"==typeof Dr.markLayoutEffectsStopped&&Dr.markLayoutEffectsStopped(),wr(),i_=h,Ai(u),Wv.transition=c}else e.current=r,vg();var p=C_;C_?(C_=!1,P_=e,T_=i):(H_=0,V_=null);l=e.pendingLanes,l===uo&&(R_=null);p||Rb(e.current,!1);(function(e,t){if(zr&&"function"==typeof zr.onCommitFiberRoot)try{var n=(e.current.flags&Ba)===Ba;if(V){var a;switch(t){case $i:a=Cr;break;case Ri:a=Pr;break;case Ci:a=Tr;break;case Pi:a=Ar;break;default:a=Tr}zr.onCommitFiberRoot(Fr,e,a,n)}}catch(e){Or||(Or=!0,o("React instrumentation encountered an error: %s",e))}})(r.stateNode,a),Hr&&e.memoizedUpdaters.clear();if(function(){Vv.forEach((function(e){return e()}))}(),K_(e,$r()),null!==t)for(var f=e.onRecoverableError,m=0;m<t.length;m++){var g=t[m],y=g.stack,v=g.digest;f(g.value,{componentStack:y,digest:v})}if(w_){w_=!1;var _=$_;throw $_=null,_}ui(T_,po)&&e.tag!==bu&&_b();l=e.pendingLanes,ui(l,po)?(mg=!0,e===F_?N_++:(N_=0,F_=e)):N_=0;$u(),Ur()}(e,t,n,a)}finally{Wv.transition=r,Ai(a)}return null}function _b(){if(null!==P_){var e=Ni(T_),t=function(e,t){return 0===e||e>t?e:t}(Ci,e),n=Wv.transition,a=Li();try{return Wv.transition=null,Ai(t),function(){if(null===P_)return!1;var e=A_;A_=null;var t=P_,n=T_;if(P_=null,T_=uo,(i_&(Xv|Qv))!==Zv)throw new Error("Cannot flush passive effects while already rendering.");z_=!0,D_=!1,function(e){null!==Dr&&"function"==typeof Dr.markPassiveEffectsStarted&&Dr.markPassiveEffectsStarted(e)}(n);var a=i_;i_|=Qv,Pv(t.current),$v(t,t.current,n,e);var r=L_;L_=[];for(var i=0;i<r.length;i++){tv(0,r[i])}void(null!==Dr&&"function"==typeof Dr.markPassiveEffectsStopped&&Dr.markPassiveEffectsStopped()),Rb(t.current,!0),i_=a,$u(),D_?t===V_?H_++:(H_=0,V_=t):H_=0;z_=!1,D_=!1,function(e){if(zr&&"function"==typeof zr.onPostCommitFiberRoot)try{zr.onPostCommitFiberRoot(Fr,e)}catch(e){Or||(Or=!0,o("React instrumentation encountered an error: %s",e))}}(t);var l=t.current.stateNode;return l.effectDuration=0,l.passiveEffectDuration=0,!0}()}finally{Ai(a),Wv.transition=n}}return!1}function bb(e){return null!==R_&&R_.has(e)}var xb=function(e){w_||(w_=!0,$_=e)};function kb(e,t,n){var a=sp(e,Tg(e,$g(n,t),po),po),r=q_();null!==a&&(yi(a,po,r),K_(a,r))}function Eb(e,t,n){if(function(e){Aa(null,(function(){throw e})),Ia()}(n),Hb(!1),e.tag!==c){var a=null;for(a=t;null!==a;){if(a.tag===c)return void kb(a,e,n);if(a.tag===s){var r=a.type,i=a.stateNode;if("function"==typeof r.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&!bb(i)){var l=sp(a,Lg(a,$g(n,e),po),po),d=q_();return void(null!==l&&(yi(l,po,d),K_(l,d)))}}a=a.return}o("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}else kb(e,e,n)}function Mb(e,t,n){var a=e.pingCache;null!==a&&a.delete(t);var r=q_();vi(e,n),function(e){e.tag!==bu&&Bv()&&null===Yv.current&&o("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act")}(e),l_===e&&hi(d_,n)&&(h_===a_||h_===n_&&ai(d_)&&$r()-__<b_?lb(e,uo):g_=pi(g_,n)),K_(e,r)}function Sb(e,t){t===ho&&(t=Y_(e));var n=q_(),a=Zh(e,t);null!==a&&(yi(a,t,n),K_(a,n))}function wb(e){var t=e.memoizedState,n=ho;null!==t&&(n=t.retryLane),Sb(e,n)}function $b(e,t){var n,a=ho;switch(e.tag){case b:n=e.stateNode;var r=e.memoizedState;null!==r&&(a=r.retryLane);break;case w:n=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==n&&n.delete(t),Sb(e,a)}function Rb(e,t){_t(e),Cb(e,ir,Dv),t&&Cb(e,lr,Ov),Cb(e,ir,Fv),t&&Cb(e,lr,zv),vt()}function Cb(e,t,n){for(var a=e,r=null;null!==a;){var o=a.subtreeFlags&t;a!==r&&null!==a.child&&o!==Fa?a=a.child:((a.flags&t)!==Fa&&n(a),a=null!==a.sibling?a.sibling:r=a.return)}}var Pb,Tb=null;function Lb(e){if((i_&Xv)===Zv&&e.mode&no){var t=e.tag;if(t===d||t===c||t===s||t===l||t===v||t===x||t===k){var n=ht(e)||"default";if(null!==Tb){if(Tb.has(n))return;Tb.add(n)}else Tb=new Set([n]);var a=ft;try{_t(e),o("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{a?_t(e):vt()}}}}Pb=function(e,t,n){var a=px(null,t);try{return $y(e,t,n)}catch(o){if(Wu||null!==o&&"object"==typeof o&&"function"==typeof o.then)throw o;if(zh(),Jf(),Ny(0,t),px(t,a),t.mode&ao&&_g(t),Aa(null,$y,null,e,t,n),Ra){var r=Ia();"object"==typeof r&&null!==r&&r._suppressLogging&&"object"==typeof o&&null!==o&&!o._suppressLogging&&(o._suppressLogging=!0)}throw o}};var Ab,Ib=!1;function Nb(e,t){Hr&&e.memoizedUpdaters.forEach((function(n){bi(e,n,t)}))}Ab=new Set;var Fb={};function zb(e,t){var n=Yv.current;return null!==n?(n.push(t),Fb):Er(e,t)}function Db(e){if(e!==Fb)return Mr(e)}function Ob(){return null!==Yv.current}function Hb(e){U_=e}var Vb=null,jb=null,Bb=function(e){Vb=e};function Ub(e){if(null===Vb)return e;var t=Vb(e);return void 0===t?e:t.current}function Gb(e){return Ub(e)}function qb(e){if(null===Vb)return e;var t=Vb(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=Ub(e.render);if(e.render!==n){var a={$$typeof:Ae,render:n};return void 0!==e.displayName&&(a.displayName=e.displayName),a}}return e}return t.current}function Wb(e,t){if(null===Vb)return!1;var n=e.elementType,a=t.type,r=!1,o="object"==typeof a&&null!==a?a.$$typeof:null;switch(e.tag){case s:"function"==typeof a&&(r=!0);break;case l:("function"==typeof a||o===ze)&&(r=!0);break;case v:(o===Ae||o===ze)&&(r=!0);break;case x:case k:(o===Fe||o===ze)&&(r=!0);break;default:return!1}if(r){var i=Vb(n);if(void 0!==i&&i===Vb(a))return!0}return!1}function Yb(e){null!==Vb&&"function"==typeof WeakSet&&(null===jb&&(jb=new WeakSet),jb.add(e))}var Zb=function(e,t){if(null!==Vb){var n=t.staleFamilies,a=t.updatedFamilies;_b(),ab((function(){Xb(e.current,a,n)}))}},Kb=function(e,t){e.context===ru&&(_b(),ab((function(){Ex(t,e,null,null)})))};function Xb(e,t,n){var a=e.alternate,r=e.child,o=e.sibling,i=e.tag,d=e.type,c=null;switch(i){case l:case k:case s:c=d;break;case v:c=d.render}if(null===Vb)throw new Error("Expected resolveFamily to be set during hot reload.");var u=!1,h=!1;if(null!==c){var p=Vb(c);void 0!==p&&(n.has(p)?h=!0:t.has(p)&&(i===s?h=!0:u=!0))}if(null!==jb&&(jb.has(e)||null!==a&&jb.has(a))&&(h=!0),h&&(e._debugNeedsRemount=!0),h||u){var f=Zh(e,po);null!==f&&Z_(f,e,po,Zo)}null===r||h||Xb(r,t,n),null!==o&&Xb(o,t,n)}var Qb,Jb=function(e,t){var n=new Set,a=new Set(t.map((function(e){return e.current})));return ex(e.current,a,n),n};function ex(e,t,n){var a=e.child,r=e.sibling,o=e.tag,i=e.type,d=null;switch(o){case l:case k:case s:d=i;break;case v:d=i.render}var p=!1;null!==d&&t.has(d)&&(p=!0),p?function(e,t){var n=function(e,t){var n=e,a=!1;for(;;){if(n.tag===h)a=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return a;for(;null===n.sibling;){if(null===n.return||n.return===e)return a;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t);if(n)return;var a=e;for(;;){switch(a.tag){case h:return void t.add(a.stateNode);case u:case c:return void t.add(a.stateNode.containerInfo)}if(null===a.return)throw new Error("Expected to reach root first.");a=a.return}}(e,n):null!==a&&ex(a,t,n),null!==r&&ex(r,t,n)}Qb=!1;try{var tx=Object.preventExtensions({});new Map([[tx,null]]),new Set([tx])}catch(e){Qb=!0}function nx(e,t,n,a){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=a,this.flags=Fa,this.subtreeFlags=Fa,this.deletions=null,this.lanes=uo,this.childLanes=uo,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Qb||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var ax=function(e,t,n,a){return new nx(e,t,n,a)};function rx(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function ox(e,t){var n=e.alternate;null===n?((n=ax(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=Fa,n.subtreeFlags=Fa,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&hr,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var a=e.dependencies;switch(n.dependencies=null===a?null:{lanes:a.lanes,firstContext:a.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case d:case l:case k:n.type=Ub(e.type);break;case s:n.type=Gb(e.type);break;case v:n.type=qb(e.type)}return n}function ix(e,t){e.flags&=hr|Da;var n=e.alternate;if(null===n)e.childLanes=uo,e.lanes=t,e.child=null,e.subtreeFlags=Fa,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=Fa,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var a=n.dependencies;e.dependencies=null===a?null:{lanes:a.lanes,firstContext:a.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function lx(e,t,n,a,r,i){var l=d,c=e;if("function"==typeof e)rx(e)?(l=s,c=Gb(c)):c=Ub(c);else if("string"==typeof e)l=h;else e:switch(e){case Re:return dx(n.children,r,i,t);case Ce:l=m,((r|=ro)&no)!==to&&(r|=oo);break;case Pe:return function(e,t,n,a){"string"!=typeof e.id&&o('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var r=ax(_,e,a,t|ao);return r.elementType=Pe,r.lanes=n,r.stateNode={effectDuration:0,passiveEffectDuration:0},r}(n,r,i,t);case Ie:return function(e,t,n,a){var r=ax(b,e,a,t);return r.elementType=Ie,r.lanes=n,r}(n,r,i,t);case Ne:return function(e,t,n,a){var r=ax(w,e,a,t);return r.elementType=Ne,r.lanes=n,r}(n,r,i,t);case De:return cx(n,r,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Te:l=y;break e;case Le:l=g;break e;case Ae:l=v,c=qb(c);break e;case Fe:l=x;break e;case ze:l=E,c=null;break e}var u="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(u+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var p=a?ht(a):null;throw p&&(u+="\n\nCheck the render method of `"+p+"`."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+u)}var f=ax(l,n,t,r);return f.elementType=e,f.type=c,f.lanes=i,f._debugOwner=a,f}function sx(e,t,n){var a;a=e._owner;var r=lx(e.type,e.key,e.props,a,t,n);return r._debugSource=e._source,r._debugOwner=e._owner,r}function dx(e,t,n,a){var r=ax(f,e,a,t);return r.lanes=n,r}function cx(e,t,n,a){var r=ax(R,e,a,t);r.elementType=De,r.lanes=n;return r.stateNode={isHidden:!1},r}function ux(e,t,n){var a=ax(p,e,null,t);return a.lanes=n,a}function hx(e,t,n){var a=null!==e.children?e.children:[],r=ax(u,a,e.key,t);return r.lanes=n,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function px(e,t){return null===e&&(e=ax(d,null,null,to)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function fx(e,t,n,a,r){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=gc,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=ho,this.eventTimes=gi(uo),this.expirationTimes=gi(Zo),this.pendingLanes=uo,this.suspendedLanes=uo,this.pingedLanes=uo,this.expiredLanes=uo,this.mutableReadLanes=uo,this.finishedLanes=uo,this.entangledLanes=uo,this.entanglements=gi(uo),this.identifierPrefix=a,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var o=this.pendingUpdatersLaneMap=[],i=0;i<co;i++)o.push(new Set);switch(t){case xu:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case bu:this._debugRootType=n?"hydrate()":"render()"}}function mx(e,t,n,a,r,o,i,l,s,d){var u=new fx(e,t,n,l,s),h=function(e,t,n){var a;return e===xu?(a=no,!0===t&&(a|=ro,a|=oo)):a=to,Hr&&(a|=ao),ax(c,null,null,a)}(t,o);u.current=h,h.stateNode=u;var p={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};return h.memoizedState=p,op(h),u}var gx,yx,vx="18.2.0";function _x(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return function(e){if(X(e))o("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",K(e)),Q(e)}(a),{$$typeof:$e,key:null==a?null:""+a,children:e,containerInfo:t,implementation:n}}function bx(e){if(!e)return ru;var t=Na(e),n=_u(t);if(t.tag===s){var a=t.type;if(hu(a))return gu(t,a,n)}return n}function xx(e,t,n,a,r,o,i,l){return mx(e,t,!1,null,0,a,0,o,i)}function kx(e,t,n,a,r,o,i,l,s,d){var c=mx(n,a,!0,e,0,o,0,l,s);c.context=bx(null);var u=c.current,h=q_(),p=W_(u),f=lp(h,p);return f.callback=null!=t?t:null,sp(u,f,p),function(e,t,n){e.current.lanes=t,yi(e,t,n),K_(e,n)}(c,p,h),c}function Ex(e,t,n,a){!function(e,t){if(zr&&"function"==typeof zr.onScheduleFiberRoot)try{zr.onScheduleFiberRoot(Fr,e,t)}catch(e){Or||(Or=!0,o("React instrumentation encountered an error: %s",e))}}(t,e);var r=t.current,i=q_(),l=W_(r);!function(e){null!==Dr&&"function"==typeof Dr.markRenderScheduled&&Dr.markRenderScheduled(e)}(l);var s=bx(n);null===t.context?t.context=s:t.pendingContext=s,mt&&null!==ft&&!gx&&(gx=!0,o("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",ht(ft)||"Unknown"));var d=lp(i,l);d.payload={element:e},null!==(a=void 0===a?null:a)&&("function"!=typeof a&&o("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),d.callback=a);var c=sp(r,d,l);return null!==c&&(Z_(c,r,l,i),dp(c,r,l)),l}function Mx(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function Sx(e,t){var n=e.memoizedState;null!==n&&null!==n.dehydrated&&(n.retryLane=function(e,t){return e!==ho&&e<t?e:t}(n.retryLane,t))}function wx(e,t){Sx(e,t);var n=e.alternate;n&&Sx(n,t)}function $x(e){var t=xr(e);return null===t?null:t.stateNode}gx=!1,yx={};var Rx=function(e){return null};var Cx=function(e){return!1};var Px,Tx,Lx,Ax,Ix,Nx,Fx,zx,Dx,Ox=function(e,t,n){var a=t[n],r=Yt(e)?e.slice():Ze({},e);return n+1===t.length?(Yt(r)?r.splice(a,1):delete r[a],r):(r[a]=Ox(e[a],t,n+1),r)},Hx=function(e,t){return Ox(e,t,0)},Vx=function(e,t,n,a){var r=t[a],o=Yt(e)?e.slice():Ze({},e);a+1===t.length?(o[n[a]]=o[r],Yt(o)?o.splice(r,1):delete o[r]):o[r]=Vx(e[r],t,n,a+1);return o},jx=function(e,t,n){if(t.length===n.length){for(var a=0;a<n.length-1;a++)if(t[a]!==n[a])return void r("copyWithRename() expects paths to be the same except for the deepest key");return Vx(e,t,n,0)}r("copyWithRename() expects paths of the same length")},Bx=function(e,t,n,a){if(n>=t.length)return a;var r=t[n],o=Yt(e)?e.slice():Ze({},e);return o[r]=Bx(e[r],t,n+1,a),o},Ux=function(e,t,n){return Bx(e,t,0,n)},Gx=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function qx(e){var t=_r(e);return null===t?null:t.stateNode}function Wx(e){return null}function Yx(){return ft}Px=function(e,t,n,a){var r=Gx(e,t);if(null!==r){var o=Ux(r.memoizedState,n,a);r.memoizedState=o,r.baseState=o,e.memoizedProps=Ze({},e.memoizedProps);var i=Zh(e,po);null!==i&&Z_(i,e,po,Zo)}},Tx=function(e,t,n){var a=Gx(e,t);if(null!==a){var r=Hx(a.memoizedState,n);a.memoizedState=r,a.baseState=r,e.memoizedProps=Ze({},e.memoizedProps);var o=Zh(e,po);null!==o&&Z_(o,e,po,Zo)}},Lx=function(e,t,n,a){var r=Gx(e,t);if(null!==r){var o=jx(r.memoizedState,n,a);r.memoizedState=o,r.baseState=o,e.memoizedProps=Ze({},e.memoizedProps);var i=Zh(e,po);null!==i&&Z_(i,e,po,Zo)}},Ax=function(e,t,n){e.pendingProps=Ux(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Zh(e,po);null!==a&&Z_(a,e,po,Zo)},Ix=function(e,t){e.pendingProps=Hx(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=Zh(e,po);null!==n&&Z_(n,e,po,Zo)},Nx=function(e,t,n){e.pendingProps=jx(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var a=Zh(e,po);null!==a&&Z_(a,e,po,Zo)},Fx=function(e){var t=Zh(e,po);null!==t&&Z_(t,e,po,Zo)},zx=function(e){Rx=e},Dx=function(e){Cx=e};var Zx="function"==typeof reportError?reportError:function(e){console.error(e)};function Kx(e){this._internalRoot=e}function Xx(e){this._internalRoot=e}function Qx(e){return!(!e||e.nodeType!==fn&&e.nodeType!==yn&&e.nodeType!==vn&&z)}function Jx(e){return!(!e||e.nodeType!==fn&&e.nodeType!==yn&&e.nodeType!==vn&&(e.nodeType!==gn||" react-mount-point-unstable "!==e.nodeValue))}function ek(e){e.nodeType===fn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&o("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Vc(e)&&(e._reactRootContainer?o("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):o("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}Xx.prototype.render=Kx.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?o("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):Qx(arguments[1])?o("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==arguments[1]&&o("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(n.nodeType!==gn){var a=$x(t.current);a&&a.parentNode!==n&&o("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}Ex(e,t,null,null)},Xx.prototype.unmount=Kx.prototype.unmount=function(){"function"==typeof arguments[0]&&o("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;rb()&&o("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),ab((function(){Ex(null,e,null,null)})),Hc(t)}},Xx.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=Si(),n={blockedOn:null,target:e,priority:t},a=0;a<Gi.length&&Ii(t,Gi[a].priority);a++);Gi.splice(a,0,n),0===a&&Zi(n)}(e)};var tk,nk,ak=n.ReactCurrentOwner;function rk(e){return e?e.nodeType===yn?e.documentElement:e.firstChild:null}function ok(){}function ik(e,t,n,a,r){tk(n),function(e,t){null!==e&&"function"!=typeof e&&o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===r?null:r,"render");var i,l=n._reactRootContainer;if(l){if("function"==typeof r){var s=r;r=function(){var e=Mx(i);s.call(e)}}Ex(t,i=l,e,r)}else i=function(e,t,n,a,r){if(r){if("function"==typeof a){var o=a;a=function(){var e=Mx(i);o.call(e)}}var i=kx(t,a,e,bu,0,!1,0,"",ok);return e._reactRootContainer=i,Oc(i.current,e),ud(e.nodeType===gn?e.parentNode:e),ab(),i}for(var l;l=e.lastChild;)e.removeChild(l);if("function"==typeof a){var s=a;a=function(){var e=Mx(d);s.call(e)}}var d=xx(e,bu,0,!1,0,"",ok);return e._reactRootContainer=d,Oc(d.current,e),ud(e.nodeType===gn?e.parentNode:e),ab((function(){Ex(t,d,n,a)})),d}(n,t,e,r,a);return Mx(i)}tk=function(e){if(e._reactRootContainer&&e.nodeType!==gn){var t=$x(e._reactRootContainer.current);t&&t.parentNode!==e&&o("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,a=rk(e);!(!a||!Bc(a))&&!n&&o("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===fn&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&o("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")},nk=function(e){switch(e.tag){case c:var t=e.stateNode;if(Fi(t)){var n=function(e){return Qo(e.pendingLanes)}(t);!function(e,t){t!==uo&&(_i(e,pi(t,po)),K_(e,$r()),(i_&(Xv|Qv))===Zv&&(M_(),$u()))}(t,n)}break;case b:ab((function(){var t=Zh(e,po);if(null!==t){var n=q_();Z_(t,e,po,n)}})),wx(e,po)}},ki=nk,function(e){Ei=e}((function(e){if(e.tag===b){var t=Bo,n=Zh(e,t);if(null!==n)Z_(n,e,t,q_());wx(e,t)}})),function(e){Mi=e}((function(e){if(e.tag===b){var t=W_(e),n=Zh(e,t);if(null!==n)Z_(n,e,t,q_());wx(e,t)}})),function(e){Si=e}(Li),function(e){wi=e}((function(e,t){var n=Ti;try{return Ti=e,t()}finally{Ti=n}})),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||o("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),ca=function(e,t,n){switch(t){case"input":return void Ht(e,n);case"textarea":return void function(e,t){an(e,t)}(e,n);case"select":return void function(e,t){var n=e,a=t.value;null!=a&&Xt(n,!!t.multiple,a,!1)}(e,n)}},ga=nb,ya=ab;var lk={usingClientEntryPoint:!1,Events:[Bc,Uc,Gc,fa,ma,nb]};var sk=function(e){var t=e.findFiberByHostInstance,a=n.ReactCurrentDispatcher;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return o("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{H&&(e=Ze({},e,{getLaneLabelMap:Br,injectProfilingHooks:jr})),Fr=t.inject(e),zr=t}catch(e){o("React instrumentation encountered an error: %s.",e)}return!!t.checkDCE}({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Px,overrideHookStateDeletePath:Tx,overrideHookStateRenamePath:Lx,overrideProps:Ax,overridePropsDeletePath:Ix,overridePropsRenamePath:Nx,setErrorHandler:zx,setSuspenseHandler:Dx,scheduleUpdate:Fx,currentDispatcherRef:a,findHostInstanceByFiber:qx,findFiberByHostInstance:t||Wx,findHostInstancesForRefresh:Jb,scheduleRefresh:Zb,scheduleRoot:Kb,setRefreshHandler:Bb,getCurrentFiber:Yx,reconcilerVersion:vx})}({findFiberByHostInstance:jc,bundleType:1,version:vx,rendererPackageName:"react-dom"});if(!sk&&Y&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var dk=window.location.protocol;/^(https?|file):$/.test(dk)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===dk?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}reactDom_development.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lk,reactDom_development.createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!Qx(t))throw new Error("Target container is not a DOM element.");return _x(e,t,null,n)},reactDom_development.createRoot=function(e,t){return lk.usingClientEntryPoint||o('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!Qx(e))throw new Error("createRoot(...): Target container is not a DOM element.");ek(e);var n=!1,a="",i=Zx;null!=t&&(t.hydrate?r("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===we&&o("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var l=xx(e,xu,0,n,0,a,i);return Oc(l.current,e),ud(e.nodeType===gn?e.parentNode:e),new Kx(l)}(e,t)},reactDom_development.findDOMNode=function(e){var t=ak.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||o("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ct(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:e.nodeType===fn?e:function(e,t){var n=Na(e);if(void 0===n){if("function"==typeof e.render)throw new Error("Unable to find node on an unmounted component.");var a=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+a)}var r=_r(n);if(null===r)return null;if(r.mode&ro){var i=ht(n)||"Component";if(!yx[i]){yx[i]=!0;var l=ft;try{_t(r),n.mode&ro?o("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):o("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{l?_t(l):vt()}}}return r.stateNode}(e,"findDOMNode")},reactDom_development.flushSync=function(e){return rb()&&o("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),ab(e)},reactDom_development.hydrate=function(e,t,n){if(o("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Jx(t))throw new Error("Target container is not a DOM element.");return Vc(t)&&void 0===t._reactRootContainer&&o("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?"),ik(null,e,t,!0,n)},reactDom_development.hydrateRoot=function(e,t,n){return lk.usingClientEntryPoint||o('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t,n){if(!Qx(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");ek(e),void 0===t&&o("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var a=null!=n&&n.hydratedSources||null,r=!1,i="",l=Zx;null!=n&&(!0===n.unstable_strictMode&&(r=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError));var s=kx(t,null,e,xu,0,r,0,i,l);if(Oc(s.current,e),ud(e),a)for(var d=0;d<a.length;d++)$f(s,a[d]);return new Xx(s)}(e,t,n)},reactDom_development.render=function(e,t,n){if(o("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Jx(t))throw new Error("Target container is not a DOM element.");return Vc(t)&&void 0===t._reactRootContainer&&o("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?"),ik(null,e,t,!1,n)},reactDom_development.unmountComponentAtNode=function(e){if(!Jx(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(Vc(e)&&void 0===e._reactRootContainer&&o("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=rk(e);return t&&!Bc(t)&&o("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),ab((function(){ik(null,null,e,!1,(function(){e._reactRootContainer=null,Hc(e)}))})),!0}var n=rk(e),a=!(!n||!Bc(n)),r=e.nodeType===fn&&Jx(e.parentNode)&&!!e.parentNode._reactRootContainer;return a&&o("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",r?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},reactDom_development.unstable_batchedUpdates=nb,reactDom_development.unstable_renderSubtreeIntoContainer=function(e,t,n,a){return function(e,t,n,a){if(o("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!Jx(n))throw new Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternals)throw new Error("parentComponent must be a valid React Component");return ik(e,t,n,!1,a)}(e,t,n,a)},reactDom_development.version=vx,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),reactDom_development}!function(e){"production"===process.env.NODE_ENV?(!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==process.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=requireReactDom_production_min()):e.exports=requireReactDom_development()}(reactDom);var ModalPortal={exports:{}},focusManager={},tabbable={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]);return n.filter(l)};
585
578
  /*!
586
579
  * Adapted from jQuery UI core
587
580
  *
@@ -648,7 +641,7 @@ var n="none",a="contents",r=/input|select|textarea|button|object|iframe/;functio
648
641
  background-color: ${Color.background.redLow};
649
642
  padding: 12px 24px;
650
643
  margin-top: 24px;
651
- `,ModalComponent=React.forwardRef(((e,t)=>{const[n,a]=React.useState(e.isVisible),[r,o]=React.useState(!1);React.useImperativeHandle(t,(()=>({close(){l()}}))),React.useEffect((()=>{e.isVisible?(a(!0),i(100).then((()=>{o(!0)}))):(o(!1),i(500).then((()=>{a(!1)})))}),[e.isVisible]);const i=e=>new Promise((t=>setTimeout(t,e))),l=()=>{o(!1),i(300).then((()=>{a(!1),e.onClose&&e.onClose()}))};return jsxRuntime.jsxs(Modal,Object.assign({role:"modal",isOpen:n,ariaHideApp:!1,style:{content:Object.assign({position:"absolute",width:"full-screen"===e.design?"100%":500,maxWidth:"full-screen"===e.design?"100%":"calc(100% - 24px)",maxHeight:"calc(100% - 24px)",background:"#FFFFFF",boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.1)",borderRadius:"full-screen"===e.design?"12px 12px 0px 0px":12,top:"full-screen"!==e.design?r?"50%":"150%":"unset",bottom:"full-screen"===e.design?r?"0px":"-100vh":"unset",transition:"top 0.3s ease-out, bottom 0.3s ease-out, transform 0.3s ease-in-out",left:"50%",transform:"full-screen"===e.design?"translate(-50%, 0%)":"translate(-50%, -50%) scale("+(r?1:.2)+")",overflow:"hidden",overflowY:"auto",border:"none",padding:0},e.style),overlay:{backgroundColor:"rgba(0, 0, 0, "+(r?.6:0)+")",transition:" background-color 0.3s ease-out",zIndex:1e3}}},{children:[!e.hideHeader&&jsxRuntime.jsxs(TitleView,{children:[!e.hideClose&&jsxRuntime.jsx(Button,{style:{position:"absolute",alignSelf:"flex-end",cursor:"pointer"},icon:jsxRuntime.jsx(X,{height:20,width:20,color:Color.text.full}),design:"image",onClick:l}),e.title&&jsxRuntime.jsx(Title,{children:e.title}),e.subtitle&&jsxRuntime.jsx(Subtitle,{children:e.subtitle}),e.Header]}),jsxRuntime.jsx(ChildrenView,Object.assign({style:e.contentStyle},{children:e.children})),e.error&&jsxRuntime.jsx(ErrorView,{children:jsxRuntime.jsx(Text,Object.assign({type:"p",style:{color:Color.status.color.error,fontSize:12}},{children:e.error}))}),e.buttonProps&&jsxRuntime.jsxs(Buttons,{children:[e.Bottom,e.buttonProps&&jsxRuntime.jsx(Button,Object.assign({},e.buttonProps,{children:e.buttonProps.children?e.buttonProps.children:"Guardar"}))]})]}))})),Container=qe.div`
644
+ `,ModalComponent=React.forwardRef(((e,t)=>{const[n,a]=React.useState(e.isVisible),[r,o]=React.useState(!1);React.useImperativeHandle(t,(()=>({close(){l()}}))),React.useEffect((()=>{e.isVisible?(a(!0),i(100).then((()=>{o(!0)}))):(o(!1),i(500).then((()=>{a(!1)})))}),[e.isVisible]);const i=e=>new Promise((t=>setTimeout(t,e))),l=()=>{o(!1),i(300).then((()=>{a(!1),e.onClose&&e.onClose()}))};return jsxRuntime.jsxs(Modal,Object.assign({role:"modal",isOpen:n,ariaHideApp:!1,style:{content:Object.assign({position:"absolute",width:"full-screen"===e.design?"100%":500,maxWidth:"full-screen"===e.design?"100%":"calc(100% - 24px)",maxHeight:"calc(100% - 24px)",background:"#FFFFFF",boxShadow:"0px 4px 8px rgba(0, 0, 0, 0.1)",borderRadius:"full-screen"===e.design?"12px 12px 0px 0px":12,top:"full-screen"!==e.design?r?"50%":"150%":"unset",bottom:"full-screen"===e.design?r?"0px":"-100vh":"unset",transition:"top 0.3s ease-out, bottom 0.3s ease-out, transform 0.3s ease-in-out",left:"50%",transform:"full-screen"===e.design?"translate(-50%, 0%)":"translate(-50%, -50%) scale("+(r?1:.2)+")",overflow:"hidden",overflowY:"auto",border:"none",padding:0},e.style),overlay:{backgroundColor:"rgba(0, 0, 0, "+(r?.6:0)+")",transition:" background-color 0.3s ease-out",zIndex:1e3}}},{children:[!e.hideHeader&&jsxRuntime.jsxs(TitleView,{children:[!e.hideClose&&jsxRuntime.jsx(Button,{style:{position:"absolute",alignSelf:"flex-end",cursor:"pointer"},icon:jsxRuntime.jsx(X,{height:20,width:20,color:Color.text.full}),design:"image",onClick:l}),e.title&&jsxRuntime.jsx(Title,{children:e.title}),e.subtitle&&jsxRuntime.jsx(Subtitle,{children:e.subtitle}),e.Header]}),jsxRuntime.jsx(ChildrenView,Object.assign({style:e.contentStyle},{children:e.children})),e.error&&jsxRuntime.jsx(ErrorView,{children:jsxRuntime.jsx(Text$1,Object.assign({type:"p",style:{color:Color.status.color.error,fontSize:12}},{children:e.error}))}),e.buttonProps&&jsxRuntime.jsxs(Buttons,{children:[e.Bottom,e.buttonProps&&jsxRuntime.jsx(Button,Object.assign({},e.buttonProps,{children:e.buttonProps.children?e.buttonProps.children:"Guardar"}))]})]}))})),Container=qe.div`
652
645
  position: relative;
653
646
  `,FilterView=qe.div`
654
647
  position: absolute;
@@ -683,7 +676,7 @@ var n="none",a="contents",r=/input|select|textarea|button|object|iframe/;functio
683
676
  :hover{
684
677
  background-color: ${Color.status.neutral.hover};
685
678
  }
686
- `,MenuList=React.forwardRef(((e,t)=>{const[n,a]=React.useState(!1);React.useImperativeHandle(t,(()=>({close(){a(!1)}}))),React.useEffect((()=>(document.addEventListener("mousedown",(t=>{const a=document.getElementById(e.id);null!==a&&(a.contains(t.target)||n&&r(t))})),document.removeEventListener("mousedown",r))));const r=t=>{t.stopPropagation(),n?(a(!1),e.onChange&&e.onChange(!1)):(a(!0),e.onChange&&e.onChange(!0))};return jsxRuntime.jsxs(Container,Object.assign({id:e.id,role:"menu",style:e.style},{children:[e.Icon?jsxRuntime.jsx(IconView,Object.assign({onClick:r},{children:e.Icon})):jsxRuntime.jsx(Button,{style:{backgroundColor:n?Color.status.neutral.active:void 0},design:"image",icon:e.icon?e.icon:jsxRuntime.jsx(MoreVertical,{}),onClick:r}),jsxRuntime.jsxs(FilterView,Object.assign({padding:!e.options,position:e.position,style:e.menuStyle,show:n},{children:[e.children,e.options&&e.options.map(((t,n)=>{var r;return jsxRuntime.jsxs(MenuCell,Object.assign({style:{borderBottom:n+1===(null===(r=e.options)||void 0===r?void 0:r.length)?"none":"1px solid "+Color.line.soft},onClick:n=>((t,n)=>{t.stopPropagation(),a(!1),e.onClick&&e.onClick(n)})(n,t)},{children:[t.icon,jsxRuntime.jsx(Text,Object.assign({type:"p"},{children:t.label}))]}),"action"+n)}))]}))]}))})),LabelStyled=qe.div`
679
+ `,MenuList=React.forwardRef(((e,t)=>{const[n,a]=React.useState(!1);React.useImperativeHandle(t,(()=>({close(){a(!1)}}))),React.useEffect((()=>(document.addEventListener("mousedown",(t=>{const a=document.getElementById(e.id);null!==a&&(a.contains(t.target)||n&&r(t))})),document.removeEventListener("mousedown",r))));const r=t=>{t.stopPropagation(),n?(a(!1),e.onChange&&e.onChange(!1)):(a(!0),e.onChange&&e.onChange(!0))};return jsxRuntime.jsxs(Container,Object.assign({id:e.id,role:"menu",style:e.style},{children:[e.Icon?jsxRuntime.jsx(IconView,Object.assign({onClick:r},{children:e.Icon})):jsxRuntime.jsx(Button,{style:{backgroundColor:n?Color.status.neutral.active:void 0},design:"image",icon:e.icon?e.icon:jsxRuntime.jsx(MoreVertical,{}),onClick:r}),jsxRuntime.jsxs(FilterView,Object.assign({padding:!e.options,position:e.position,style:e.menuStyle,show:n},{children:[e.children,e.options&&e.options.map(((t,n)=>{var r;return jsxRuntime.jsxs(MenuCell,Object.assign({style:{borderBottom:n+1===(null===(r=e.options)||void 0===r?void 0:r.length)?"none":"1px solid "+Color.line.soft},onClick:n=>((t,n)=>{t.stopPropagation(),a(!1),e.onClick&&e.onClick(n)})(n,t)},{children:[t.icon,jsxRuntime.jsx(Text$1,Object.assign({type:"p"},{children:t.label}))]}),"action"+n)}))]}))]}))})),LabelStyled=qe.div`
687
680
  display: flex;
688
681
  flex-direction: row;
689
682
  justify-content: center;
@@ -692,5 +685,32 @@ var n="none",a="contents",r=/input|select|textarea|button|object|iframe/;functio
692
685
  width: fit-content;
693
686
  height: 28px;
694
687
  border-radius: 3px;
695
- `,Label=e=>{var t,n;const[a,r]=React.useState(void 0);React.useEffect((()=>{r(o())}),[e.text]);const o=()=>{switch(e.text){case"inRegister":return{color:"#2D7FD9",backgroundColor:"#E5F1FC",text:"En registro"};case"registered":return{color:"#2D7FD9",backgroundColor:"#E5F1FC",text:"Registrado"};case"waiting":return{color:"#2D7FD9",backgroundColor:"#E5F1FC",text:"Pendiente de match"};case"training":return{color:"#2D7FD9",backgroundColor:"#E5F1FC",text:"Formación en proceso"};case"match":return{color:"#59C183",backgroundColor:"#E7F6ED",text:"Match"};case"shutdown":return{color:"#FF5A5A",backgroundColor:"#FCEDF1",text:"Baja"};case"banned":return{color:"#FF5A5A",backgroundColor:"#FCEDF1",text:"Bloqueado"};case"exVolunteer":return{color:"#FF5A5A",backgroundColor:"#FCEDF1",text:"Ex-voluntario"};case"paused":return{color:"#828282",backgroundColor:"#F2F2F2",text:"Pausa"};case"inProgress":case"En proceso":return{color:"#FF8854",backgroundColor:"#FFF6E5",text:"En proceso"};case"pending":case"Pendiente":return{color:"#0000008F",backgroundColor:"#F2F2F2",text:"Pendiente"};case"canceled":return{color:Color.text.red,backgroundColor:Color.background.redLow,text:"Cancelado"};case"No resuelto":return{color:Color.text.red,backgroundColor:Color.background.redLow,text:"No resuelto"};case"done":case"Resuelto":return{color:"#448B6D",backgroundColor:"#E4F8EE",text:"Resuelto"}}};return a?jsxRuntime.jsx(LabelStyled,Object.assign({role:"label",id:"Label"},e,{style:Object.assign({background:a.backgroundColor},e.style)},{children:jsxRuntime.jsx(Text,Object.assign({type:"p",style:{fontSize:(null===(t=e.style)||void 0===t?void 0:t.fontSize)?e.style.fontSize:14,fontWeight:500,color:a.color}},{children:a.text}))})):jsxRuntime.jsx(LabelStyled,Object.assign({role:"label",id:"Label"},e,{style:Object.assign({background:e.backgroundColor?e.backgroundColor:Color.background.soft},e.style)},{children:jsxRuntime.jsx(Text,Object.assign({type:"p",style:{fontSize:(null===(n=e.style)||void 0===n?void 0:n.fontSize)?e.style.fontSize:14,fontWeight:500,color:e.color}},{children:e.text}))}))};exports.BreadCrumb=BreadCrumb,exports.Button=Button,exports.Color=Color,exports.Feedback=FeedBack,exports.Input=Input,exports.Label=Label,exports.Menu=MenuList,exports.Modal=ModalComponent,exports.ProgressBar=ProgressBar,exports.SearchBar=SearchBar,exports.Select=Select,exports.Text=Text;
688
+ `,Label=e=>{var t,n;const[a,r]=React.useState(void 0);React.useEffect((()=>{r(o())}),[e.text]);const o=()=>{switch(e.text){case"inRegister":return{color:"#2D7FD9",backgroundColor:"#E5F1FC",text:"En registro"};case"registered":return{color:"#2D7FD9",backgroundColor:"#E5F1FC",text:"Registrado"};case"waiting":return{color:"#2D7FD9",backgroundColor:"#E5F1FC",text:"Pendiente de match"};case"training":return{color:"#2D7FD9",backgroundColor:"#E5F1FC",text:"Formación en proceso"};case"match":return{color:"#59C183",backgroundColor:"#E7F6ED",text:"Match"};case"shutdown":return{color:"#FF5A5A",backgroundColor:"#FCEDF1",text:"Baja"};case"banned":return{color:"#FF5A5A",backgroundColor:"#FCEDF1",text:"Bloqueado"};case"exVolunteer":return{color:"#FF5A5A",backgroundColor:"#FCEDF1",text:"Ex-voluntario"};case"paused":return{color:"#828282",backgroundColor:"#F2F2F2",text:"Pausa"};case"inProgress":case"En proceso":return{color:"#FF8854",backgroundColor:"#FFF6E5",text:"En proceso"};case"pending":case"Pendiente":return{color:"#0000008F",backgroundColor:"#F2F2F2",text:"Pendiente"};case"canceled":return{color:Color.text.red,backgroundColor:Color.background.redLow,text:"Cancelado"};case"No resuelto":return{color:Color.text.red,backgroundColor:Color.background.redLow,text:"No resuelto"};case"done":case"Resuelto":return{color:"#448B6D",backgroundColor:"#E4F8EE",text:"Resuelto"}}};return a?jsxRuntime.jsx(LabelStyled,Object.assign({role:"label",id:"Label"},e,{style:Object.assign({background:a.backgroundColor},e.style)},{children:jsxRuntime.jsx(Text$1,Object.assign({type:"p",style:{fontSize:(null===(t=e.style)||void 0===t?void 0:t.fontSize)?e.style.fontSize:14,fontWeight:500,color:a.color}},{children:a.text}))})):jsxRuntime.jsx(LabelStyled,Object.assign({role:"label",id:"Label"},e,{style:Object.assign({background:e.backgroundColor?e.backgroundColor:Color.background.soft},e.style)},{children:jsxRuntime.jsx(Text$1,Object.assign({type:"p",style:{fontSize:(null===(n=e.style)||void 0===n?void 0:n.fontSize)?e.style.fontSize:14,fontWeight:500,color:e.color}},{children:e.text}))}))},AvatarContainer=qe.div`
689
+ width: 50px;
690
+ height: 50px;
691
+ display: flex;
692
+ justify-content: center;
693
+ align-items: center;
694
+ text-align: center;
695
+ border-radius: 50%;
696
+ background-color: ${Color.background.primaryLow};
697
+ cursor: ${e=>e.editable||e.clickable?"pointer":"default"};
698
+ `,Text=qe.p`
699
+ font-family: Poppins;
700
+ font-style: normal;
701
+ font-weight: 500;
702
+ font-size: 25.4545px;
703
+ line-height: 40px;
704
+ color: ${Color.text.primary};
705
+ text-align: center;
706
+ `,Icon=qe.img`
707
+ height: 100%;
708
+ width: 100%;
709
+ object-fit: cover;
710
+ border-radius: 50%;
711
+ `,BigIcon=qe.img`
712
+ width: 100%;
713
+ height: 100%;
714
+ object-fit: cover;
715
+ `,Avatar=e=>{var t;const n=React.useRef(null),[a,r]=React.useState(!1),o=e=>new Promise(((t,n)=>{const a=new FileReader;a.readAsDataURL(e),a.onload=()=>t(a.result),a.onerror=e=>n(e)}));return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(ModalComponent,Object.assign({isVisible:a,onClose:()=>r(!1),contentStyle:{padding:0,backgroundColor:"black"},hideHeader:!0,buttonProps:{children:"Cerrar",onClick:()=>r(!1)}},{children:jsxRuntime.jsx(BigIcon,{src:e.icon})})),jsxRuntime.jsxs(AvatarContainer,Object.assign({role:"avatar",style:e.style,editable:e.editable,clickable:e.clickable,onClick:()=>{var t;e.editable?null===(t=n.current)||void 0===t||t.click():e.clickable&&r(!0)}},{children:[jsxRuntime.jsx("input",{ref:n,id:"file",type:"file",accept:"image/x-png,image/gif,image/jpeg",style:{display:"none"},onChange:t=>__awaiter$1(void 0,void 0,void 0,(function*(){if(t.target&&t.target.files&&t.target.files[0])if(t.target.files[0].name.match(/\.(jpg|jpeg|png|gif)$/)){const n=yield o(t.target.files[0]);e.onChange&&e.onChange(n)}else alert("Debes seleccionar una imagen")}))}),e.icon?jsxRuntime.jsx(Icon,{src:e.icon}):e.name?jsxRuntime.jsx(Text,Object.assign({style:{fontSize:(null===(t=e.style)||void 0===t?void 0:t.fontSize)?e.style.fontSize:24,fontWeight:600}},{children:e.name.substring(0,1).toLocaleUpperCase()})):null]}))]})};exports.Avatar=Avatar,exports.BreadCrumb=BreadCrumb,exports.Button=Button,exports.Color=Color,exports.Feedback=FeedBack,exports.Input=Input,exports.Label=Label,exports.Menu=MenuList,exports.Modal=ModalComponent,exports.ProgressBar=ProgressBar,exports.SearchBar=SearchBar,exports.Select=Select,exports.Text=Text$1;
696
716
  //# sourceMappingURL=index.js.map