diff --git a/docs/assets/icon_instagram-DvpqE205.svg b/docs/assets/icon_instagram-DvpqE205.svg deleted file mode 100644 index db62568..0000000 --- a/docs/assets/icon_instagram-DvpqE205.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - icon_instagram - Created with Sketch. - - - - - - - - - - - \ No newline at end of file diff --git a/docs/assets/index-BVma_YY7.js b/docs/assets/index-D3GrQX06.js similarity index 74% rename from docs/assets/index-BVma_YY7.js rename to docs/assets/index-D3GrQX06.js index d25a799..42fd832 100644 --- a/docs/assets/index-BVma_YY7.js +++ b/docs/assets/index-D3GrQX06.js @@ -1,4 +1,4 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function ac(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bu={exports:{}},tl={},Wu={exports:{}},P={};/** +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function ac(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Wu={exports:{}},tl={},Qu={exports:{}},z={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Kn=Symbol.for("react.element"),cc=Symbol.for("react.portal"),fc=Symbol.for("react.fragment"),dc=Symbol.for("react.strict_mode"),pc=Symbol.for("react.profiler"),mc=Symbol.for("react.provider"),hc=Symbol.for("react.context"),gc=Symbol.for("react.forward_ref"),vc=Symbol.for("react.suspense"),yc=Symbol.for("react.memo"),wc=Symbol.for("react.lazy"),jo=Symbol.iterator;function kc(e){return e===null||typeof e!="object"?null:(e=jo&&e[jo]||e["@@iterator"],typeof e=="function"?e:null)}var Gu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zu=Object.assign,Ku={};function ln(e,t,n){this.props=e,this.context=t,this.refs=Ku,this.updater=n||Gu}ln.prototype.isReactComponent={};ln.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ln.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Yu(){}Yu.prototype=ln.prototype;function Ui(e,t,n){this.props=e,this.context=t,this.refs=Ku,this.updater=n||Gu}var Hi=Ui.prototype=new Yu;Hi.constructor=Ui;Zu(Hi,ln.prototype);Hi.isPureReactComponent=!0;var Ro=Array.isArray,Xu=Object.prototype.hasOwnProperty,$i={current:null},Ju={key:!0,ref:!0,__self:!0,__source:!0};function qu(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Xu.call(t,r)&&!Ju.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,Y=x[B];if(0>>1;Bl(wl,z))vtl(er,wl)?(x[B]=er,x[vt]=z,B=vt):(x[B]=wl,x[gt]=z,B=gt);else if(vtl(er,z))x[B]=er,x[vt]=z,B=vt;else break e}}return L}function l(x,L){var z=x.sortIndex-L.sortIndex;return z!==0?z:x.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],c=[],h=1,m=null,p=3,y=!1,w=!1,k=!1,O=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(x){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=x)r(c),L.sortIndex=L.expirationTime,t(s,L);else break;L=n(c)}}function g(x){if(k=!1,d(x),!w)if(n(s)!==null)w=!0,vl(S);else{var L=n(c);L!==null&&yl(g,L.startTime-x)}}function S(x,L){w=!1,k&&(k=!1,f(_),_=-1),y=!0;var z=p;try{for(d(L),m=n(s);m!==null&&(!(m.expirationTime>L)||x&&!Ne());){var B=m.callback;if(typeof B=="function"){m.callback=null,p=m.priorityLevel;var Y=B(m.expirationTime<=L);L=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===n(s)&&r(s),d(L)}else r(s);m=n(s)}if(m!==null)var bn=!0;else{var gt=n(c);gt!==null&&yl(g,gt.startTime-L),bn=!1}return bn}finally{m=null,p=z,y=!1}}var I=!1,N=null,_=-1,V=5,T=-1;function Ne(){return!(e.unstable_now()-Tx||125B?(x.sortIndex=z,t(c,x),n(s)===null&&x===n(c)&&(k?(f(_),_=-1):k=!0,yl(g,z-B))):(x.sortIndex=Y,t(s,x),w||y||(w=!0,vl(S))),x},e.unstable_shouldYield=Ne,e.unstable_wrapCallback=function(x){var L=p;return function(){var z=p;p=L;try{return x.apply(this,arguments)}finally{p=z}}}})(rs);ns.exports=rs;var Mc=ns.exports;/** + */(function(e){function t(x,L){var P=x.length;x.push(L);e:for(;0>>1,Y=x[W];if(0>>1;Wl(wl,P))vtl(er,wl)?(x[W]=er,x[vt]=P,W=vt):(x[W]=wl,x[gt]=P,W=gt);else if(vtl(er,P))x[W]=er,x[vt]=P,W=vt;else break e}}return L}function l(x,L){var P=x.sortIndex-L.sortIndex;return P!==0?P:x.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],c=[],h=1,m=null,p=3,y=!1,w=!1,k=!1,O=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(x){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=x)r(c),L.sortIndex=L.expirationTime,t(s,L);else break;L=n(c)}}function g(x){if(k=!1,d(x),!w)if(n(s)!==null)w=!0,vl(S);else{var L=n(c);L!==null&&yl(g,L.startTime-x)}}function S(x,L){w=!1,k&&(k=!1,f(_),_=-1),y=!0;var P=p;try{for(d(L),m=n(s);m!==null&&(!(m.expirationTime>L)||x&&!Ne());){var W=m.callback;if(typeof W=="function"){m.callback=null,p=m.priorityLevel;var Y=W(m.expirationTime<=L);L=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===n(s)&&r(s),d(L)}else r(s);m=n(s)}if(m!==null)var bn=!0;else{var gt=n(c);gt!==null&&yl(g,gt.startTime-L),bn=!1}return bn}finally{m=null,p=P,y=!1}}var I=!1,N=null,_=-1,V=5,T=-1;function Ne(){return!(e.unstable_now()-Tx||125W?(x.sortIndex=P,t(c,x),n(s)===null&&x===n(c)&&(k?(f(_),_=-1):k=!0,yl(g,P-W))):(x.sortIndex=Y,t(s,x),w||y||(w=!0,vl(S))),x},e.unstable_shouldYield=Ne,e.unstable_wrapCallback=function(x){var L=p;return function(){var P=p;p=L;try{return x.apply(this,arguments)}finally{p=P}}}})(rs);ns.exports=rs;var Mc=ns.exports;/** * @license React * react-dom.production.min.js * @@ -30,11 +30,11 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Dc=Te,ve=Mc;function v(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Zl=Object.prototype.hasOwnProperty,Ac=/^[: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]*$/,Fo={},Uo={};function jc(e){return Zl.call(Uo,e)?!0:Zl.call(Fo,e)?!1:Ac.test(e)?Uo[e]=!0:(Fo[e]=!0,!1)}function Rc(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Oc(e,t,n,r){if(t===null||typeof t>"u"||Rc(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function se(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ee[e]=new se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ee[t]=new se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ee[e]=new se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ee[e]=new se(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){ee[e]=new se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ee[e]=new se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ee[e]=new se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ee[e]=new se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ee[e]=new se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Vi=/[\-:]([a-z])/g;function Bi(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".split(" ").forEach(function(e){var t=e.replace(Vi,Bi);ee[t]=new se(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(Vi,Bi);ee[t]=new se(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(Vi,Bi);ee[t]=new se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ee[e]=new se(e,1,!1,e.toLowerCase(),null,!1,!1)});ee.xlinkHref=new se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ee[e]=new se(e,1,!1,e.toLowerCase(),null,!0,!0)});function Wi(e,t,n,r){var l=ee.hasOwnProperty(t)?ee[t]:null;(l!==null?l.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kl=Object.prototype.hasOwnProperty,Ac=/^[: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]*$/,Fo={},Uo={};function jc(e){return Kl.call(Uo,e)?!0:Kl.call(Fo,e)?!1:Ac.test(e)?Uo[e]=!0:(Fo[e]=!0,!1)}function Rc(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Oc(e,t,n,r){if(t===null||typeof t>"u"||Rc(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function se(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ee[e]=new se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ee[t]=new se(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ee[e]=new se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ee[e]=new se(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){ee[e]=new se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ee[e]=new se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ee[e]=new se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ee[e]=new se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ee[e]=new se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Vi=/[\-:]([a-z])/g;function Wi(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".split(" ").forEach(function(e){var t=e.replace(Vi,Wi);ee[t]=new se(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(Vi,Wi);ee[t]=new se(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(Vi,Wi);ee[t]=new se(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ee[e]=new se(e,1,!1,e.toLowerCase(),null,!1,!1)});ee.xlinkHref=new se("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ee[e]=new se(e,1,!1,e.toLowerCase(),null,!0,!0)});function Qi(e,t,n,r){var l=ee.hasOwnProperty(t)?ee[t]:null;(l!==null?l.type!==0:r||!(2u||l[o]!==i[u]){var s=` -`+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{Sl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yn(e):""}function Fc(e){switch(e.tag){case 5:return yn(e.type);case 16:return yn("Lazy");case 13:return yn("Suspense");case 19:return yn("SuspenseList");case 0:case 2:case 15:return e=xl(e.type,!1),e;case 11:return e=xl(e.type.render,!1),e;case 1:return e=xl(e.type,!0),e;default:return""}}function Jl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case At:return"Fragment";case Dt:return"Portal";case Kl:return"Profiler";case Gi:return"StrictMode";case Yl:return"Suspense";case Xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case os:return(e.displayName||"Context")+".Consumer";case is:return(e._context.displayName||"Context")+".Provider";case Zi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ki:return t=e.displayName||null,t!==null?t:Jl(e.type)||"Memo";case Je:t=e._payload,e=e._init;try{return Jl(e(t))}catch{}}return null}function Uc(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=t.render,e=e.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 Jl(t);case 8:return t===Gi?"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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ft(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ss(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hc(e){var t=ss(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function rr(e){e._valueTracker||(e._valueTracker=Hc(e))}function as(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ss(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Pr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ql(e,t){var n=t.checked;return $({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function $o(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ft(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function cs(e,t){t=t.checked,t!=null&&Wi(e,"checked",t,!1)}function bl(e,t){cs(e,t);var n=ft(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ei(e,t.type,n):t.hasOwnProperty("defaultValue")&&ei(e,t.type,ft(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Qo(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ei(e,t,n){(t!=="number"||Pr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var wn=Array.isArray;function Wt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Sn={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},$c=["Webkit","ms","Moz","O"];Object.keys(Sn).forEach(function(e){$c.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Sn[t]=Sn[e]})});function ms(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Sn.hasOwnProperty(e)&&Sn[e]?(""+t).trim():t+"px"}function hs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ms(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Qc=$({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 ri(e,t){if(t){if(Qc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(v(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(v(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(v(61))}if(t.style!=null&&typeof t.style!="object")throw Error(v(62))}}function li(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 ii=null;function Yi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oi=null,Gt=null,Zt=null;function Wo(e){if(e=Jn(e)){if(typeof oi!="function")throw Error(v(280));var t=e.stateNode;t&&(t=ol(t),oi(e.stateNode,e.type,t))}}function gs(e){Gt?Zt?Zt.push(e):Zt=[e]:Gt=e}function vs(){if(Gt){var e=Gt,t=Zt;if(Zt=Gt=null,Wo(e),t)for(e=0;e>>=0,e===0?32:31-(bc(e)/ef|0)|0}var ir=64,or=4194304;function kn(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ar(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=kn(u):(i&=o,i!==0&&(r=kn(i)))}else o=n&~l,o!==0?r=kn(o):i!==0&&(r=kn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Yn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Me(t),e[t]=n}function lf(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 r=e.eventTimes;for(e=e.expirationTimes;0=En),eu=" ",tu=!1;function Os(e,t){switch(e){case"keyup":return Df.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jt=!1;function jf(e,t){switch(e){case"compositionend":return Fs(t);case"keypress":return t.which!==32?null:(tu=!0,eu);case"textInput":return e=t.data,e===eu&&tu?null:e;default:return null}}function Rf(e,t){if(jt)return e==="compositionend"||!ro&&Os(e,t)?(e=js(),Cr=eo=tt=null,jt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=iu(n)}}function Qs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Qs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Vs(){for(var e=window,t=Pr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Pr(e.document)}return t}function lo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Wf(e){var t=Vs(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Qs(n.ownerDocument.documentElement,n)){if(r!==null&&lo(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=ou(n,i);var o=ou(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Rt=null,di=null,Nn=null,pi=!1;function uu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;pi||Rt==null||Rt!==Pr(r)||(r=Rt,"selectionStart"in r&&lo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Nn&&Fn(Nn,r)||(Nn=r,r=Or(di,"onSelect"),0Ut||(e.current=wi[Ut],wi[Ut]=null,Ut--)}function A(e,t){Ut++,wi[Ut]=e.current,e.current=t}var dt={},le=mt(dt),fe=mt(!1),It=dt;function qt(e,t){var n=e.type.contextTypes;if(!n)return dt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function de(e){return e=e.childContextTypes,e!=null}function Ur(){R(fe),R(le)}function mu(e,t,n){if(le.current!==dt)throw Error(v(168));A(le,t),A(fe,n)}function qs(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(v(108,Uc(e)||"Unknown",l));return $({},n,r)}function Hr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dt,It=le.current,A(le,e),A(fe,fe.current),!0}function hu(e,t,n){var r=e.stateNode;if(!r)throw Error(v(169));n?(e=qs(e,t,It),r.__reactInternalMemoizedMergedChildContext=e,R(fe),R(le),A(le,e)):R(fe),A(fe,n)}var $e=null,ul=!1,Ol=!1;function bs(e){$e===null?$e=[e]:$e.push(e)}function r0(e){ul=!0,bs(e)}function ht(){if(!Ol&&$e!==null){Ol=!0;var e=0,t=D;try{var n=$e;for(D=1;e>=o,l-=o,Qe=1<<32-Me(t)+l|n<_?(V=N,N=null):V=N.sibling;var T=p(f,N,d[_],g);if(T===null){N===null&&(N=V);break}e&&N&&T.alternate===null&&t(f,N),a=i(T,a,_),I===null?S=T:I.sibling=T,I=T,N=V}if(_===d.length)return n(f,N),F&&yt(f,_),S;if(N===null){for(;__?(V=N,N=null):V=N.sibling;var Ne=p(f,N,T.value,g);if(Ne===null){N===null&&(N=V);break}e&&N&&Ne.alternate===null&&t(f,N),a=i(Ne,a,_),I===null?S=Ne:I.sibling=Ne,I=Ne,N=V}if(T.done)return n(f,N),F&&yt(f,_),S;if(N===null){for(;!T.done;_++,T=d.next())T=m(f,T.value,g),T!==null&&(a=i(T,a,_),I===null?S=T:I.sibling=T,I=T);return F&&yt(f,_),S}for(N=r(f,N);!T.done;_++,T=d.next())T=y(N,f,_,T.value,g),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?_:T.key),a=i(T,a,_),I===null?S=T:I.sibling=T,I=T);return e&&N.forEach(function(sn){return t(f,sn)}),F&&yt(f,_),S}function O(f,a,d,g){if(typeof d=="object"&&d!==null&&d.type===At&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case nr:e:{for(var S=d.key,I=a;I!==null;){if(I.key===S){if(S=d.type,S===At){if(I.tag===7){n(f,I.sibling),a=l(I,d.props.children),a.return=f,f=a;break e}}else if(I.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Je&&yu(S)===I.type){n(f,I.sibling),a=l(I,d.props),a.ref=hn(f,I,d),a.return=f,f=a;break e}n(f,I);break}else t(f,I);I=I.sibling}d.type===At?(a=Et(d.props.children,f.mode,g,d.key),a.return=f,f=a):(g=zr(d.type,d.key,d.props,null,f.mode,g),g.ref=hn(f,a,d),g.return=f,f=g)}return o(f);case Dt:e:{for(I=d.key;a!==null;){if(a.key===I)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){n(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=Wl(d,f.mode,g),a.return=f,f=a}return o(f);case Je:return I=d._init,O(f,a,I(d._payload),g)}if(wn(d))return w(f,a,d,g);if(cn(d))return k(f,a,d,g);pr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(n(f,a.sibling),a=l(a,d),a.return=f,f=a):(n(f,a),a=Bl(d,f.mode,g),a.return=f,f=a),o(f)):n(f,a)}return O}var en=ra(!0),la=ra(!1),Vr=mt(null),Br=null,Qt=null,so=null;function ao(){so=Qt=Br=null}function co(e){var t=Vr.current;R(Vr),e._currentValue=t}function Si(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Yt(e,t){Br=e,so=Qt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ce=!0),e.firstContext=null)}function Ee(e){var t=e._currentValue;if(so!==e)if(e={context:e,memoizedValue:t,next:null},Qt===null){if(Br===null)throw Error(v(308));Qt=e,Br.dependencies={lanes:0,firstContext:e}}else Qt=Qt.next=e;return t}var Ct=null;function fo(e){Ct===null?Ct=[e]:Ct.push(e)}function ia(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,fo(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ze(e,r)}function Ze(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var qe=!1;function po(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Be(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ut(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,M&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ze(e,n)}return l=r.interleaved,l===null?(t.next=t,fo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ze(e,n)}function xr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ji(e,n)}}function wu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Wr(e,t,n,r){var l=e.updateQueue;qe=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,o===null?i=c:o.next=c,o=s;var h=e.alternate;h!==null&&(h=h.updateQueue,u=h.lastBaseUpdate,u!==o&&(u===null?h.firstBaseUpdate=c:u.next=c,h.lastBaseUpdate=s))}if(i!==null){var m=l.baseState;o=0,h=c=s=null,u=i;do{var p=u.lane,y=u.eventTime;if((r&p)===p){h!==null&&(h=h.next={eventTime:y,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var w=e,k=u;switch(p=t,y=n,k.tag){case 1:if(w=k.payload,typeof w=="function"){m=w.call(y,m,p);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,p=typeof w=="function"?w.call(y,m,p):w,p==null)break e;m=$({},m,p);break e;case 2:qe=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[u]:p.push(u))}else y={eventTime:y,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},h===null?(c=h=y,s=m):h=h.next=y,o|=p;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;p=u,u=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(h===null&&(s=m),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Lt|=o,e.lanes=o,e.memoizedState=m}}function ku(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Ul.transition;Ul.transition={};try{e(!1),t()}finally{D=n,Ul.transition=r}}function xa(){return Ie().memoizedState}function u0(e,t,n){var r=at(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ea(e))Ia(t,n);else if(n=ia(e,t,n,r),n!==null){var l=oe();De(n,e,r,l),Na(n,t,r)}}function s0(e,t,n){var r=at(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ea(e))Ia(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,Ae(u,o)){var s=t.interleaved;s===null?(l.next=l,fo(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=ia(e,t,l,r),n!==null&&(l=oe(),De(n,e,r,l),Na(n,t,r))}}function Ea(e){var t=e.alternate;return e===H||t!==null&&t===H}function Ia(e,t){_n=Zr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Na(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ji(e,n)}}var Kr={readContext:Ee,useCallback:te,useContext:te,useEffect:te,useImperativeHandle:te,useInsertionEffect:te,useLayoutEffect:te,useMemo:te,useReducer:te,useRef:te,useState:te,useDebugValue:te,useDeferredValue:te,useTransition:te,useMutableSource:te,useSyncExternalStore:te,useId:te,unstable_isNewReconciler:!1},a0={readContext:Ee,useCallback:function(e,t){return Re().memoizedState=[e,t===void 0?null:t],e},useContext:Ee,useEffect:Su,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ir(4194308,4,ya.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ir(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ir(4,2,e,t)},useMemo:function(e,t){var n=Re();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Re();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=u0.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=Re();return e={current:e},t.memoizedState=e},useState:Cu,useDebugValue:Co,useDeferredValue:function(e){return Re().memoizedState=e},useTransition:function(){var e=Cu(!1),t=e[0];return e=o0.bind(null,e[1]),Re().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,l=Re();if(F){if(n===void 0)throw Error(v(407));n=n()}else{if(n=t(),J===null)throw Error(v(349));_t&30||ca(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Su(da.bind(null,r,i,e),[e]),r.flags|=2048,Gn(9,fa.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Re(),t=J.identifierPrefix;if(F){var n=Ve,r=Qe;n=(r&~(1<<32-Me(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Bn++,0")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{Sl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yn(e):""}function Fc(e){switch(e.tag){case 5:return yn(e.type);case 16:return yn("Lazy");case 13:return yn("Suspense");case 19:return yn("SuspenseList");case 0:case 2:case 15:return e=xl(e.type,!1),e;case 11:return e=xl(e.type.render,!1),e;case 1:return e=xl(e.type,!0),e;default:return""}}function Jl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case At:return"Fragment";case Dt:return"Portal";case Zl:return"Profiler";case Gi:return"StrictMode";case Yl:return"Suspense";case Xl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case os:return(e.displayName||"Context")+".Consumer";case is:return(e._context.displayName||"Context")+".Provider";case Ki:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Zi:return t=e.displayName||null,t!==null?t:Jl(e.type)||"Memo";case Je:t=e._payload,e=e._init;try{return Jl(e(t))}catch{}}return null}function Uc(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=t.render,e=e.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 Jl(t);case 8:return t===Gi?"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(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ft(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ss(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hc(e){var t=ss(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function rr(e){e._valueTracker||(e._valueTracker=Hc(e))}function as(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ss(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function zr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ql(e,t){var n=t.checked;return $({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function $o(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ft(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function cs(e,t){t=t.checked,t!=null&&Qi(e,"checked",t,!1)}function bl(e,t){cs(e,t);var n=ft(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ei(e,t.type,n):t.hasOwnProperty("defaultValue")&&ei(e,t.type,ft(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Bo(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ei(e,t,n){(t!=="number"||zr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var wn=Array.isArray;function Qt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Sn={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},$c=["Webkit","ms","Moz","O"];Object.keys(Sn).forEach(function(e){$c.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Sn[t]=Sn[e]})});function ms(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Sn.hasOwnProperty(e)&&Sn[e]?(""+t).trim():t+"px"}function hs(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=ms(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Bc=$({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 ri(e,t){if(t){if(Bc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(v(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(v(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(v(61))}if(t.style!=null&&typeof t.style!="object")throw Error(v(62))}}function li(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 ii=null;function Yi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oi=null,Gt=null,Kt=null;function Qo(e){if(e=Jn(e)){if(typeof oi!="function")throw Error(v(280));var t=e.stateNode;t&&(t=ol(t),oi(e.stateNode,e.type,t))}}function gs(e){Gt?Kt?Kt.push(e):Kt=[e]:Gt=e}function vs(){if(Gt){var e=Gt,t=Kt;if(Kt=Gt=null,Qo(e),t)for(e=0;e>>=0,e===0?32:31-(bc(e)/ef|0)|0}var ir=64,or=4194304;function kn(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ar(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=kn(u):(i&=o,i!==0&&(r=kn(i)))}else o=n&~l,o!==0?r=kn(o):i!==0&&(r=kn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Yn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Me(t),e[t]=n}function lf(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 r=e.eventTimes;for(e=e.expirationTimes;0=En),eu=" ",tu=!1;function Os(e,t){switch(e){case"keyup":return Df.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jt=!1;function jf(e,t){switch(e){case"compositionend":return Fs(t);case"keypress":return t.which!==32?null:(tu=!0,eu);case"textInput":return e=t.data,e===eu&&tu?null:e;default:return null}}function Rf(e,t){if(jt)return e==="compositionend"||!ro&&Os(e,t)?(e=js(),Cr=eo=tt=null,jt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=iu(n)}}function Bs(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Bs(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Vs(){for(var e=window,t=zr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=zr(e.document)}return t}function lo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Qf(e){var t=Vs(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Bs(n.ownerDocument.documentElement,n)){if(r!==null&&lo(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=ou(n,i);var o=ou(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Rt=null,di=null,Nn=null,pi=!1;function uu(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;pi||Rt==null||Rt!==zr(r)||(r=Rt,"selectionStart"in r&&lo(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Nn&&Fn(Nn,r)||(Nn=r,r=Or(di,"onSelect"),0Ut||(e.current=wi[Ut],wi[Ut]=null,Ut--)}function A(e,t){Ut++,wi[Ut]=e.current,e.current=t}var dt={},le=mt(dt),fe=mt(!1),It=dt;function qt(e,t){var n=e.type.contextTypes;if(!n)return dt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function de(e){return e=e.childContextTypes,e!=null}function Ur(){R(fe),R(le)}function mu(e,t,n){if(le.current!==dt)throw Error(v(168));A(le,t),A(fe,n)}function qs(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(v(108,Uc(e)||"Unknown",l));return $({},n,r)}function Hr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dt,It=le.current,A(le,e),A(fe,fe.current),!0}function hu(e,t,n){var r=e.stateNode;if(!r)throw Error(v(169));n?(e=qs(e,t,It),r.__reactInternalMemoizedMergedChildContext=e,R(fe),R(le),A(le,e)):R(fe),A(fe,n)}var $e=null,ul=!1,Ol=!1;function bs(e){$e===null?$e=[e]:$e.push(e)}function r0(e){ul=!0,bs(e)}function ht(){if(!Ol&&$e!==null){Ol=!0;var e=0,t=D;try{var n=$e;for(D=1;e>=o,l-=o,Be=1<<32-Me(t)+l|n<_?(V=N,N=null):V=N.sibling;var T=p(f,N,d[_],g);if(T===null){N===null&&(N=V);break}e&&N&&T.alternate===null&&t(f,N),a=i(T,a,_),I===null?S=T:I.sibling=T,I=T,N=V}if(_===d.length)return n(f,N),F&&yt(f,_),S;if(N===null){for(;__?(V=N,N=null):V=N.sibling;var Ne=p(f,N,T.value,g);if(Ne===null){N===null&&(N=V);break}e&&N&&Ne.alternate===null&&t(f,N),a=i(Ne,a,_),I===null?S=Ne:I.sibling=Ne,I=Ne,N=V}if(T.done)return n(f,N),F&&yt(f,_),S;if(N===null){for(;!T.done;_++,T=d.next())T=m(f,T.value,g),T!==null&&(a=i(T,a,_),I===null?S=T:I.sibling=T,I=T);return F&&yt(f,_),S}for(N=r(f,N);!T.done;_++,T=d.next())T=y(N,f,_,T.value,g),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?_:T.key),a=i(T,a,_),I===null?S=T:I.sibling=T,I=T);return e&&N.forEach(function(sn){return t(f,sn)}),F&&yt(f,_),S}function O(f,a,d,g){if(typeof d=="object"&&d!==null&&d.type===At&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case nr:e:{for(var S=d.key,I=a;I!==null;){if(I.key===S){if(S=d.type,S===At){if(I.tag===7){n(f,I.sibling),a=l(I,d.props.children),a.return=f,f=a;break e}}else if(I.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Je&&yu(S)===I.type){n(f,I.sibling),a=l(I,d.props),a.ref=hn(f,I,d),a.return=f,f=a;break e}n(f,I);break}else t(f,I);I=I.sibling}d.type===At?(a=Et(d.props.children,f.mode,g,d.key),a.return=f,f=a):(g=Pr(d.type,d.key,d.props,null,f.mode,g),g.ref=hn(f,a,d),g.return=f,f=g)}return o(f);case Dt:e:{for(I=d.key;a!==null;){if(a.key===I)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){n(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=Ql(d,f.mode,g),a.return=f,f=a}return o(f);case Je:return I=d._init,O(f,a,I(d._payload),g)}if(wn(d))return w(f,a,d,g);if(cn(d))return k(f,a,d,g);pr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(n(f,a.sibling),a=l(a,d),a.return=f,f=a):(n(f,a),a=Wl(d,f.mode,g),a.return=f,f=a),o(f)):n(f,a)}return O}var en=ra(!0),la=ra(!1),Vr=mt(null),Wr=null,Bt=null,so=null;function ao(){so=Bt=Wr=null}function co(e){var t=Vr.current;R(Vr),e._currentValue=t}function Si(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Yt(e,t){Wr=e,so=Bt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ce=!0),e.firstContext=null)}function Ee(e){var t=e._currentValue;if(so!==e)if(e={context:e,memoizedValue:t,next:null},Bt===null){if(Wr===null)throw Error(v(308));Bt=e,Wr.dependencies={lanes:0,firstContext:e}}else Bt=Bt.next=e;return t}var Ct=null;function fo(e){Ct===null?Ct=[e]:Ct.push(e)}function ia(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,fo(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ke(e,r)}function Ke(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var qe=!1;function po(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function oa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function We(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ut(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,M&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ke(e,n)}return l=r.interleaved,l===null?(t.next=t,fo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ke(e,n)}function xr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ji(e,n)}}function wu(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Qr(e,t,n,r){var l=e.updateQueue;qe=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,o===null?i=c:o.next=c,o=s;var h=e.alternate;h!==null&&(h=h.updateQueue,u=h.lastBaseUpdate,u!==o&&(u===null?h.firstBaseUpdate=c:u.next=c,h.lastBaseUpdate=s))}if(i!==null){var m=l.baseState;o=0,h=c=s=null,u=i;do{var p=u.lane,y=u.eventTime;if((r&p)===p){h!==null&&(h=h.next={eventTime:y,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var w=e,k=u;switch(p=t,y=n,k.tag){case 1:if(w=k.payload,typeof w=="function"){m=w.call(y,m,p);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,p=typeof w=="function"?w.call(y,m,p):w,p==null)break e;m=$({},m,p);break e;case 2:qe=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[u]:p.push(u))}else y={eventTime:y,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},h===null?(c=h=y,s=m):h=h.next=y,o|=p;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;p=u,u=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(h===null&&(s=m),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Lt|=o,e.lanes=o,e.memoizedState=m}}function ku(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Ul.transition;Ul.transition={};try{e(!1),t()}finally{D=n,Ul.transition=r}}function xa(){return Ie().memoizedState}function u0(e,t,n){var r=at(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ea(e))Ia(t,n);else if(n=ia(e,t,n,r),n!==null){var l=oe();De(n,e,r,l),Na(n,t,r)}}function s0(e,t,n){var r=at(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ea(e))Ia(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,Ae(u,o)){var s=t.interleaved;s===null?(l.next=l,fo(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=ia(e,t,l,r),n!==null&&(l=oe(),De(n,e,r,l),Na(n,t,r))}}function Ea(e){var t=e.alternate;return e===H||t!==null&&t===H}function Ia(e,t){_n=Kr=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Na(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ji(e,n)}}var Zr={readContext:Ee,useCallback:te,useContext:te,useEffect:te,useImperativeHandle:te,useInsertionEffect:te,useLayoutEffect:te,useMemo:te,useReducer:te,useRef:te,useState:te,useDebugValue:te,useDeferredValue:te,useTransition:te,useMutableSource:te,useSyncExternalStore:te,useId:te,unstable_isNewReconciler:!1},a0={readContext:Ee,useCallback:function(e,t){return Re().memoizedState=[e,t===void 0?null:t],e},useContext:Ee,useEffect:Su,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ir(4194308,4,ya.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ir(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ir(4,2,e,t)},useMemo:function(e,t){var n=Re();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Re();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=u0.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=Re();return e={current:e},t.memoizedState=e},useState:Cu,useDebugValue:Co,useDeferredValue:function(e){return Re().memoizedState=e},useTransition:function(){var e=Cu(!1),t=e[0];return e=o0.bind(null,e[1]),Re().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,l=Re();if(F){if(n===void 0)throw Error(v(407));n=n()}else{if(n=t(),J===null)throw Error(v(349));_t&30||ca(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Su(da.bind(null,r,i,e),[e]),r.flags|=2048,Gn(9,fa.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Re(),t=J.identifierPrefix;if(F){var n=Ve,r=Be;n=(r&~(1<<32-Me(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Wn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Oe]=t,e[$n]=r,Ra(e,t,!1,!1),t.stateNode=e;e:{switch(o=li(n,r),n){case"dialog":j("cancel",e),j("close",e),l=r;break;case"iframe":case"object":case"embed":j("load",e),l=r;break;case"video":case"audio":for(l=0;lrn&&(t.flags|=128,r=!0,gn(i,!1),t.lanes=4194304)}else{if(!r)if(e=Gr(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),gn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!F)return ne(t),null}else 2*W()-i.renderingStartTime>rn&&n!==1073741824&&(t.flags|=128,r=!0,gn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=W(),t.sibling=null,n=U.current,A(U,r?n&1|2:n&1),t):(ne(t),null);case 22:case 23:return _o(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?me&1073741824&&(ne(t),t.subtreeFlags&6&&(t.flags|=8192)):ne(t),null;case 24:return null;case 25:return null}throw Error(v(156,t.tag))}function v0(e,t){switch(oo(t),t.tag){case 1:return de(t.type)&&Ur(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tn(),R(fe),R(le),go(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ho(t),null;case 13:if(R(U),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(v(340));bt()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return R(U),null;case 4:return tn(),null;case 10:return co(t.type._context),null;case 22:case 23:return _o(),null;case 24:return null;default:return null}}var hr=!1,re=!1,y0=typeof WeakSet=="function"?WeakSet:Set,C=null;function Vt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Q(e,t,r)}else n.current=null}function Ti(e,t,n){try{n()}catch(r){Q(e,t,r)}}var Du=!1;function w0(e,t){if(mi=jr,e=Vs(),lo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,c=0,h=0,m=e,p=null;t:for(;;){for(var y;m!==n||l!==0&&m.nodeType!==3||(u=o+l),m!==i||r!==0&&m.nodeType!==3||(s=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(y=m.firstChild)!==null;)p=m,m=y;for(;;){if(m===e)break t;if(p===n&&++c===l&&(u=o),p===i&&++h===r&&(s=o),(y=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=y}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(hi={focusedElem:e,selectionRange:n},jr=!1,C=t;C!==null;)if(t=C,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,C=e;else for(;C!==null;){t=C;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,O=w.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:Le(t.type,k),O);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(v(163))}}catch(g){Q(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,C=e;break}C=t.return}return w=Du,Du=!1,w}function Ln(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Ti(t,n,i)}l=l.next}while(l!==r)}}function cl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Mi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ua(e){var t=e.alternate;t!==null&&(e.alternate=null,Ua(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Oe],delete t[$n],delete t[yi],delete t[t0],delete t[n0])),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 Ha(e){return e.tag===5||e.tag===3||e.tag===4}function Au(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ha(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Di(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Fr));else if(r!==4&&(e=e.child,e!==null))for(Di(e,t,n),e=e.sibling;e!==null;)Di(e,t,n),e=e.sibling}function Ai(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ai(e,t,n),e=e.sibling;e!==null;)Ai(e,t,n),e=e.sibling}var q=null,ze=!1;function Xe(e,t,n){for(n=n.child;n!==null;)$a(e,t,n),n=n.sibling}function $a(e,t,n){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount(nl,n)}catch{}switch(n.tag){case 5:re||Vt(n,t);case 6:var r=q,l=ze;q=null,Xe(e,t,n),q=r,ze=l,q!==null&&(ze?(e=q,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):q.removeChild(n.stateNode));break;case 18:q!==null&&(ze?(e=q,n=n.stateNode,e.nodeType===8?Rl(e.parentNode,n):e.nodeType===1&&Rl(e,n),Rn(e)):Rl(q,n.stateNode));break;case 4:r=q,l=ze,q=n.stateNode.containerInfo,ze=!0,Xe(e,t,n),q=r,ze=l;break;case 0:case 11:case 14:case 15:if(!re&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Ti(n,t,o),l=l.next}while(l!==r)}Xe(e,t,n);break;case 1:if(!re&&(Vt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){Q(n,t,u)}Xe(e,t,n);break;case 21:Xe(e,t,n);break;case 22:n.mode&1?(re=(r=re)||n.memoizedState!==null,Xe(e,t,n),re=r):Xe(e,t,n);break;default:Xe(e,t,n)}}function ju(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new y0),t.forEach(function(r){var l=L0.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function _e(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=W()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*C0(r/1960))-r,10e?16:e,nt===null)var r=!1;else{if(e=nt,nt=null,Jr=0,M&6)throw Error(v(331));var l=M;for(M|=4,C=e.current;C!==null;){var i=C,o=i.child;if(C.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sW()-Io?xt(e,0):Eo|=n),pe(e,t)}function Ya(e,t){t===0&&(e.mode&1?(t=or,or<<=1,!(or&130023424)&&(or=4194304)):t=1);var n=oe();e=Ze(e,t),e!==null&&(Yn(e,t,n),pe(e,n))}function _0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ya(e,n)}function L0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(v(314))}r!==null&&r.delete(t),Ya(e,n)}var Xa;Xa=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||fe.current)ce=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ce=!1,h0(e,t,n);ce=!!(e.flags&131072)}else ce=!1,F&&t.flags&1048576&&ea(t,Qr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Nr(e,t),e=t.pendingProps;var l=qt(t,le.current);Yt(t,n),l=yo(null,t,r,e,l,n);var i=wo();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,de(r)?(i=!0,Hr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,po(t),l.updater=al,t.stateNode=l,l._reactInternals=t,Ei(t,r,e,n),t=_i(null,t,r,!0,i,n)):(t.tag=0,F&&i&&io(t),ie(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Nr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=P0(r),e=Le(r,e),l){case 0:t=Ni(null,t,r,e,n);break e;case 1:t=Pu(null,t,r,e,n);break e;case 11:t=Lu(null,t,r,e,n);break e;case 14:t=zu(null,t,r,Le(r.type,e),n);break e}throw Error(v(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Ni(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Pu(e,t,r,l,n);case 3:e:{if(Da(t),e===null)throw Error(v(387));r=t.pendingProps,i=t.memoizedState,l=i.element,oa(e,t),Wr(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=nn(Error(v(423)),t),t=Tu(e,t,r,n,l);break e}else if(r!==l){l=nn(Error(v(424)),t),t=Tu(e,t,r,n,l);break e}else for(he=ot(t.stateNode.containerInfo.firstChild),ge=t,F=!0,Pe=null,n=la(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(bt(),r===l){t=Ke(e,t,n);break e}ie(e,t,r,n)}t=t.child}return t;case 5:return ua(t),e===null&&Ci(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,gi(r,l)?o=null:i!==null&&gi(r,i)&&(t.flags|=32),Ma(e,t),ie(e,t,o,n),t.child;case 6:return e===null&&Ci(t),null;case 13:return Aa(e,t,n);case 4:return mo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=en(t,null,r,n):ie(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Lu(e,t,r,l,n);case 7:return ie(e,t,t.pendingProps,n),t.child;case 8:return ie(e,t,t.pendingProps.children,n),t.child;case 12:return ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,A(Vr,r._currentValue),r._currentValue=o,i!==null)if(Ae(i.value,o)){if(i.children===l.children&&!fe.current){t=Ke(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Be(-1,n&-n),s.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?s.next=s:(s.next=h.next,h.next=s),c.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Si(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(v(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Si(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ie(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Yt(t,n),l=Ee(l),r=r(l),t.flags|=1,ie(e,t,r,n),t.child;case 14:return r=t.type,l=Le(r,t.pendingProps),l=Le(r.type,l),zu(e,t,r,l,n);case 15:return Pa(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Nr(e,t),t.tag=1,de(r)?(e=!0,Hr(t)):e=!1,Yt(t,n),_a(t,r,l),Ei(t,r,l,n),_i(null,t,r,!0,e,n);case 19:return ja(e,t,n);case 22:return Ta(e,t,n)}throw Error(v(156,t.tag))};function Ja(e,t){return Es(e,t)}function z0(e,t,n,r){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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Se(e,t,n,r){return new z0(e,t,n,r)}function zo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function P0(e){if(typeof e=="function")return zo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zi)return 11;if(e===Ki)return 14}return 2}function ct(e,t){var n=e.alternate;return n===null?(n=Se(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")zo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case At:return Et(n.children,l,i,t);case Gi:o=8,l|=8;break;case Kl:return e=Se(12,n,t,l|2),e.elementType=Kl,e.lanes=i,e;case Yl:return e=Se(13,n,t,l),e.elementType=Yl,e.lanes=i,e;case Xl:return e=Se(19,n,t,l),e.elementType=Xl,e.lanes=i,e;case us:return dl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case is:o=10;break e;case os:o=9;break e;case Zi:o=11;break e;case Ki:o=14;break e;case Je:o=16,r=null;break e}throw Error(v(130,e==null?e:typeof e,""))}return t=Se(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Et(e,t,n,r){return e=Se(7,e,r,t),e.lanes=n,e}function dl(e,t,n,r){return e=Se(22,e,r,t),e.elementType=us,e.lanes=n,e.stateNode={isHidden:!1},e}function Bl(e,t,n){return e=Se(6,e,null,t),e.lanes=n,e}function Wl(e,t,n){return t=Se(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function T0(e,t,n,r,l){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=Il(0),this.expirationTimes=Il(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Il(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Po(e,t,n,r,l,i,o,u,s){return e=new T0(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Se(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},po(i),e}function M0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tc)}catch(e){console.error(e)}}tc(),ts.exports=ye;var O0=ts.exports,Vu=O0;Gl.createRoot=Vu.createRoot,Gl.hydrateRoot=Vu.hydrateRoot;const F0="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjUzcHgiIGhlaWdodD0iNDlweCIgdmlld0JveD0iMCAwIDUzIDQ5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNjMuMSAoOTI0NTIpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPg0KICAgIDx0aXRsZT5sb2dvLW1vYmlsZTwvdGl0bGU+DQogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+DQogICAgPGRlZnM+DQogICAgICAgIDxwb2x5Z29uIGlkPSJwYXRoLTEiIHBvaW50cz0iMC44MzczNzkyNzIgMC45NDMzNDM0ODYgNDguNTI5NjEwNiAwLjk0MzM0MzQ4NiA0OC41Mjk2MTA2IDIwLjQ1OTk0NSAwLjgzNzM3OTI3MiAyMC40NTk5NDUiPjwvcG9seWdvbj4NCiAgICA8L2RlZnM+DQogICAgPGcgaWQ9IkdJRk9TIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4NCiAgICAgICAgPGcgaWQ9IjAwLVVJLUtpdCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM0Ny4wMDAwMDAsIC0yNDYzLjAwMDAwMCkiPg0KICAgICAgICAgICAgPGcgaWQ9ImxvZ28tbW9iaWxlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNDcuMDAwMDAwLCAyNDYzLjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC01Ij4NCiAgICAgICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9IkZpbGwtMSIgZmlsbD0iIzVFRDdDNiIgcG9pbnRzPSIwIC0wLjAwMDIgMCA0OC43OTEzMDM5IDQ4Ljc5MTUwMzkgNDguNzkxMzAzOSA0OC43OTE1MDM5IDM4LjMzNTk4MTYgNDUuMzA2Mzk2NSAzOC4zMzU5ODE2IDQ1LjMwNjM5NjUgNDUuMzA2MTk2NSAzLjQ4NTEwNzQyIDQ1LjMwNjE5NjUgMy40ODUxMDc0MiAzLjQ4NDkwNzQyIDM0Ljg1MTA3NDIgMy40ODQ5MDc0MiAzNC44NTEwNzQyIDEzLjk0MDIyOTcgNDUuMzA2Mzk2NSAxMy45NDAyMjk3IDQ1LjMwNjM5NjUgMjAuOTExMTQxNiA0OC43OTE1MDM5IDIwLjkxMTE0MTYgNDguNzkxNTAzOSAxMC40NTUxMjIzIDM4LjMzNjE4MTYgLTAuMDAwMiI+PC9wb2x5Z29uPg0KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNy4wMDAwMDAsIDE2LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+DQogICAgICAgICAgICAgICAgICAgICAgICA8L21hc2s+DQogICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iQ2xpcC0zIj48L2c+DQogICAgICAgICAgICAgICAgICAgICAgICA8dGV4dCBpZD0iR0lGT1MiIG1hc2s9InVybCgjbWFzay0yKSIgZm9udC1mYW1pbHk9Ik1vbnRzZXJyYXQsc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjcwMCIgZmlsbD0iIzU3MkVFNSI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRzcGFuIHg9IjEiIHk9IjIwIj5HSUZPUzwvdHNwYW4+DQogICAgICAgICAgICAgICAgICAgICAgICA8L3RleHQ+DQogICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=",U0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='15px'%20height='14px'%20viewBox='0%200%2015%2014'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eburger%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cdefs%3e%3cpath%20d='M14,12%20C14.5522847,12%2015,12.4477153%2015,13%20C15,13.5522847%2014.5522847,14%2014,14%20L14,14%20L1,14%20C0.44771525,14%200,13.5522847%200,13%20C0,12.4477153%200.44771525,12%201,12%20L1,12%20Z%20M14,6%20C14.5522847,6%2015,6.44771525%2015,7%20C15,7.55228475%2014.5522847,8%2014,8%20L14,8%20L1,8%20C0.44771525,8%200,7.55228475%200,7%20C0,6.44771525%200.44771525,6%201,6%20L1,6%20Z%20M14,0%20C14.5522847,0%2015,0.44771525%2015,1%20C15,1.55228475%2014.5522847,2%2014,2%20L14,2%20L1,2%20C0.44771525,2%200,1.55228475%200,1%20C0,0.44771525%200.44771525,0%201,0%20L1,0%20Z'%20id='path-1'%3e%3c/path%3e%3c/defs%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-669.000000,%20-2948.000000)'%3e%3cg%20id='burger'%20transform='translate(669.000000,%202948.000000)'%3e%3cmask%20id='mask-2'%20fill='white'%3e%3cuse%20xlink:href='%23path-1'%3e%3c/use%3e%3c/mask%3e%3cuse%20id='Combined-Shape'%20fill='%23572EE5'%20fill-rule='nonzero'%20xlink:href='%23path-1'%3e%3c/use%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",H0=()=>E.jsx("header",{className:"Header",children:E.jsxs("nav",{className:"Header-navbar",children:[E.jsx("div",{className:"Header-navbar-logo-container",children:E.jsx("img",{src:F0,alt:"logo",className:"Header-navbar-logo-img"})}),E.jsxs("div",{className:"Header-navbar-menu",children:[E.jsx("button",{className:"Header-navbar-menu-button",children:E.jsx("img",{src:U0,alt:"boton menu",className:"Header-navbar-menu-icon","aria-label":"menu de navegacion"})}),E.jsxs("ul",{className:"Header-navbar-menu-list",children:[E.jsx("li",{className:"Header-navbar-menu-item",children:E.jsx("a",{href:"",children:"Dark Mode"})}),E.jsx("li",{className:"Header-navbar-menu-item",children:E.jsx("a",{href:"",children:"Favourites"})}),E.jsx("li",{className:"Header-navbar-menu-item",children:E.jsx("a",{href:"",children:"My gifos"})})]})]})]})}),$0="/assets/search-illustration-CvuEBC50.svg",Q0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='20px'%20height='20px'%20viewBox='0%200%2020%2020'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eicon-search%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cdefs%3e%3cpath%20d='M8.5,0%20C13.1944204,0%2017,3.80557963%2017,8.5%20C17,10.4865245%2016.3185332,12.3138839%2015.1766205,13.7610573%20L19.7071068,18.2928932%20C20.0976311,18.6834175%2020.0976311,19.3165825%2019.7071068,19.7071068%20C19.3165825,20.0976311%2018.6834175,20.0976311%2018.2928932,19.7071068%20L18.2928932,19.7071068%20L13.7610573,15.1766205%20C12.3138839,16.3185332%2010.4865245,17%208.5,17%20C3.80557963,17%200,13.1944204%200,8.5%20C0,3.80557963%203.80557963,0%208.5,0%20Z%20M8.5,2%20C4.91014913,2%202,4.91014913%202,8.5%20C2,12.0898509%204.91014913,15%208.5,15%20C10.2704128,15%2011.8755097,14.2921984%2013.0477521,13.1441339%20L13.0928932,13.0928932%20C13.1090201,13.0767663%2013.1255608,13.0613054%2013.1424811,13.0465104%20C14.2921984,11.8755097%2015,10.2704128%2015,8.5%20C15,4.91014913%2012.0898509,2%208.5,2%20Z'%20id='path-1'%3e%3c/path%3e%3c/defs%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-637.000000,%20-518.000000)'%3e%3cg%20id='-Nav-Desktop-Sticky'%20transform='translate(0.000000,%20479.000000)'%3e%3cg%20id='icon-search'%20transform='translate(637.000000,%2039.000000)'%3e%3cmask%20id='mask-2'%20fill='white'%3e%3cuse%20xlink:href='%23path-1'%3e%3c/use%3e%3c/mask%3e%3cuse%20fill='%23572EE5'%20fill-rule='nonzero'%20xlink:href='%23path-1'%3e%3c/use%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",V0="bolnsRrRHllszkkqaGJedWDYoBbT0CEG",B0=5,W0=async()=>{const e=`https://api.giphy.com/v1/trending/searches?api_key=${V0}`,t=await fetch(e),{data:n}=await t.json();return n==null?void 0:n.splice(0,B0).join(", ")},G0=()=>{const[e,t]=Te.useState([]),[n,r]=Te.useState(!0),l=async()=>{const o=await W0();t(o),r(!1)};return Te.useEffect(()=>{l()},[]),{topics:e,isLoading:n}};var nc={exports:{}},Z0="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",K0=Z0,Y0=K0;function rc(){}function lc(){}lc.resetWarningCache=rc;var X0=function(){function e(r,l,i,o,u,s){if(s!==Y0){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:lc,resetWarningCache:rc};return n.PropTypes=n,n};nc.exports=X0();var el=nc.exports;const ic=({onNewCategory:e})=>{const[t,n]=Te.useState(""),{topics:r}=G0(),l=o=>{n(o.target.value)},i=o=>{o.preventDefault(),!(t.trim().length<=1)&&(e(t.trim()),n(""))};return E.jsxs("section",{className:"Search",children:[E.jsxs("h1",{className:"Search-title",children:["Get inspired, search,"," ",E.jsx("span",{className:"Search-title-newLine",children:"save, and create the "}),E.jsxs("span",{className:"Search-title-newLine",children:["best ",E.jsx("span",{className:"Search-title-highlight",children:"GIFOS"})]})]}),E.jsx("img",{src:$0,alt:"illustration",className:"Search-img"}),E.jsxs("form",{className:"Search-searchBar",onSubmit:i,"aria-label":"search",children:[E.jsx("label",{htmlFor:"searchbar",children:E.jsx("input",{type:"text",placeholder:"Search GIFs and more",value:t,onChange:l,className:"Search-searchBar-input"})}),E.jsx("img",{src:Q0,alt:"gifos illustration",className:"Search-searchBar-img"})]}),E.jsxs("div",{className:"Search-trending",children:[E.jsx("h4",{className:"Search-trending-title",children:"Trending:"}),E.jsxs("div",{className:"Search-trending-topics",children:[r,"..."]})]})]})};ic.propTypes={onNewCategory:el.PropTypes.func.isRequired};const J0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='32px'%20height='32px'%20viewBox='0%200%2032%2032'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eicon-fav%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cdefs%3e%3cpath%20d='M16.277005,9.49708565%20C17.2350987,8.53854203%2018.5348228,8%2019.8900901,8%20C21.2453574,8%2022.5450815,8.53854203%2023.5031752,9.49708565%20C24.461458,10.4549185%2025,11.7546426%2025,13.1099099%20C25,14.4651772%2024.461458,15.7649013%2023.5030448,16.7228646%20L16.5555186,23.6703908%20C16.2485981,23.9773114%2015.7509815,23.9773114%2015.444061,23.6703908%20L8.49653479,16.7228646%20C6.50115505,14.7274848%206.50115507,11.492335%208.49653484,9.49695525%20C10.4919146,7.50157548%2013.7270644,7.50157545%2015.7224442,9.4969552%20L15.9997898,9.77430079%20L16.277005,9.49708565%20Z%20M15.9997898,22.0032043%20L21.5585127,16.4444814%20L22.3917176,15.6112765%20C23.0553247,14.9479809%2023.4281615,14.0481719%2023.4281615,13.1099099%20C23.4281615,12.1716479%2023.0553247,11.271839%2022.3917176,10.6085433%20C21.728161,9.94467529%2020.8283521,9.5718385%2019.8900901,9.5718385%20C18.9518281,9.5718385%2018.0520191,9.94467529%2017.388593,10.6084129%20L16.5555186,11.4414873%20C16.2485981,11.7484078%2015.7509815,11.7484078%2015.444061,11.4414873%20L14.6109866,10.6084129%20C13.2294479,9.22687423%2010.9895312,9.22687425%209.6079925,10.6084129%20C8.22645385,11.9899516%208.22645383,14.2298683%209.60799246,15.611407%20L15.9997898,22.0032043%20Z'%20id='path-1'%3e%3c/path%3e%3c/defs%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-816.000000,%20-2777.000000)'%3e%3cg%20id='icon-fav'%20transform='translate(816.000000,%202777.000000)'%3e%3crect%20id='Rectangle'%20fill='%23FFFFFF'%20fill-rule='nonzero'%20opacity='0.7'%20x='0'%20y='0'%20width='32'%20height='32'%20rx='6'%3e%3c/rect%3e%3cmask%20id='mask-2'%20fill='white'%3e%3cuse%20xlink:href='%23path-1'%3e%3c/use%3e%3c/mask%3e%3cuse%20fill-opacity='0.7'%20fill='%23572EE5'%20fill-rule='nonzero'%20xlink:href='%23path-1'%3e%3c/use%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",q0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='32px'%20height='32px'%20viewBox='0%200%2032%2032'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eicon-download%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cdefs%3e%3cpath%20d='M23.5,19.3333333%20C23.9602373,19.3333333%2024.3333333,19.7064294%2024.3333333,20.1666667%20L24.3333333,20.1666667%20L24.3333333,22.6666667%20C24.3333333,24.0473785%2023.2140452,25.1666667%2021.8333333,25.1666667%20L21.8333333,25.1666667%20L10.1666667,25.1666667%20C8.78595479,25.1666667%207.66666667,24.0473785%207.66666667,22.6666667%20L7.66666667,22.6666667%20L7.66666667,20.1666667%20C7.66666667,19.7064294%208.03976271,19.3333333%208.5,19.3333333%20C8.96023729,19.3333333%209.33333333,19.7064294%209.33333333,20.1666667%20L9.33333333,20.1666667%20L9.33333333,22.6666667%20C9.33333333,23.126904%209.70642938,23.5%2010.1666667,23.5%20L10.1666667,23.5%20L21.8333333,23.5%20C22.2935706,23.5%2022.6666667,23.126904%2022.6666667,22.6666667%20L22.6666667,22.6666667%20L22.6666667,20.1666667%20C22.6666667,19.7064294%2023.0397627,19.3333333%2023.5,19.3333333%20Z%20M16,6.83333333%20C16.4602373,6.83333333%2016.8333333,7.20642938%2016.8333333,7.66666667%20L16.8333333,7.66666667%20L16.8326667,17.3213333%20L18.7440777,15.4107443%20C19.0423948,15.1124272%2019.5106167,15.0875674%2019.8372513,15.3361651%20L19.922589,15.4107443%20C20.2480259,15.7361813%2020.2480259,16.2638187%2019.922589,16.5892557%20L19.922589,16.5892557%20L16.5892557,19.922589%20C16.5844698,19.9273748%2016.5796402,19.9320903%2016.5747682,19.9367354%20C16.5575683,19.9531417%2016.5392293,19.9691754%2016.5202088,19.984393%20C16.5115288,19.9913858%2016.5034395,19.9976103%2016.4952644,20.003666%20C16.472374,20.0205663%2016.4479317,20.036781%2016.4226325,20.0516974%20C16.4174579,20.0548288%2016.4120846,20.0579155%2016.4066847,20.0609374%20C16.3824377,20.074429%2016.3578886,20.0866225%2016.332691,20.0976064%20C16.3252234,20.1008705%2016.317454,20.1041127%2016.309647,20.1072321%20C16.2911687,20.1146333%2016.2726396,20.1212953%2016.2538198,20.1273066%20C16.0839816,20.1814152%2015.9001245,20.1797632%2015.7310626,20.1222745%20C15.7179263,20.1178256%2015.7057373,20.1133328%2015.693686,20.1085671%20C15.6796843,20.1030442%2015.6652017,20.0968635%2015.6508682,20.090254%20C15.6317619,20.0813811%2015.6135799,20.072131%2015.5957973,20.062249%20C15.5866928,20.0572743%2015.5772205,20.0517762%2015.5678364,20.0460761%20C15.5452714,20.0322541%2015.5239542,20.0178793%2015.5033674,20.0025772%20C15.4713593,19.9788748%2015.4402223,19.952067%2015.4107443,19.922589%20L15.4852935,19.9887574%20C15.4628265,19.9710895%2015.4412902,19.9522912%2015.4207704,19.9324483%20L15.4107443,19.922589%20L12.077411,16.5892557%20C11.7519741,16.2638187%2011.7519741,15.7361813%2012.077411,15.4107443%20C12.4028479,15.0853074%2012.9304854,15.0853074%2013.2559223,15.4107443%20L13.2559223,15.4107443%20L15.1666667,17.3213333%20L15.1666667,7.66666667%20C15.1666667,7.24183224%2015.484571,6.89124835%2015.8954684,6.83982618%20Z'%20id='path-1'%3e%3c/path%3e%3c/defs%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-816.000000,%20-2819.000000)'%3e%3cg%20id='icon-download'%20transform='translate(816.000000,%202819.000000)'%3e%3crect%20id='Rectangle-Copy'%20fill='%23FFFFFF'%20fill-rule='nonzero'%20opacity='0.7'%20x='0'%20y='0'%20width='32'%20height='32'%20rx='6'%3e%3c/rect%3e%3cmask%20id='mask-2'%20fill='white'%3e%3cuse%20xlink:href='%23path-1'%3e%3c/use%3e%3c/mask%3e%3cuse%20id='Combined-Shape'%20fill-opacity='0.7'%20fill='%23572EE5'%20fill-rule='nonzero'%20xlink:href='%23path-1'%3e%3c/use%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",b0="/assets/icon-max-DNhiK0-p.svg",oc=({title:e,url:t})=>E.jsxs("div",{className:"Search-result",children:[E.jsx("img",{src:t,alt:e,className:"Search-result-gif"}),E.jsxs("div",{className:"Search-result-gif-overlay",children:[E.jsxs("span",{className:"Search-result-gif-overlay-wrapper",children:[E.jsx("img",{src:J0,alt:"favourite",className:"Search-result-gif-overlay-wrapper-action"}),E.jsx("img",{src:q0,alt:"download",className:"Search-result-gif-overlay-wrapper-action"}),E.jsx("img",{src:b0,alt:"maximize",className:"Search-result-gif-overlay-wrapper-action"})]}),E.jsx("p",{className:"Search-result-gif-overlay-title",children:e})]})]});oc.propTypes={title:el.PropTypes.string.isRequired,url:el.PropTypes.string.isRequired};const ed="bolnsRrRHllszkkqaGJedWDYoBbT0CEG",td=10,nd=async e=>{const t=`https://api.giphy.com/v1/gifs/search?api_key=${ed}&q=${e}&limit=${td}`,n=await fetch(t),{data:r}=await n.json();return r.map(i=>({id:i.id,title:i.title,url:i.images.downsized_medium.url}))},rd=e=>{const[t,n]=Te.useState([]),[r,l]=Te.useState(!0),i=async()=>{const o=await nd(e);n(o),l(!1)};return Te.useEffect(()=>{i()},[]),{gifs:t,isLoading:r}},uc=({category:e})=>{const{gifs:t,isLoading:n}=rd(e);return E.jsxs(E.Fragment,{children:[E.jsx("h3",{className:"Search-wrapper-title",children:e}),n&&E.jsx("h2",{children:"Loading..."}),E.jsx("div",{className:"Search-wrapper",children:t==null?void 0:t.map(r=>E.jsx(oc,{...r},r.id))},e)]})};uc.propTypes={category:el.PropTypes.string.isRequired};const ld="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='8px'%20height='17px'%20viewBox='0%200%208%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eicon_facebook%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-1027.000000,%20-2780.000000)'%3e%3cg%20id='icon_facebook'%20transform='translate(1018.000000,%202778.000000)'%3e%3cg%3e%3c/g%3e%3cpath%20d='M10.715503,19%20L10.715503,10.4988913%20L9,10.4988913%20L9,7.56971739%20L10.715503,7.56971739%20L10.715503,5.81095652%20C10.715503,3.42171739%2011.6832226,2%2014.4354173,2%20L16.7259217,2%20L16.7259217,4.93028261%20L15.2944004,4.93028261%20C14.2232227,4.93028261%2014.1521393,5.3393913%2014.1521393,6.10365217%20L14.1475647,7.56971739%20L16.7417571,7.56971739%20L16.4380691,10.4988913%20L14.1475647,10.4988913%20L14.1475647,19%20L10.715503,19%20Z'%20id='Clip-4'%20fill='%23CDD6E0'%3e%3c/path%3e%3crect%20id='Rectangle'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",id="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eicon-twitter%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-1057.000000,%20-2780.000000)'%3e%3cg%20id='Footer'%20transform='translate(1056.000000,%202778.000000)'%3e%3cg%20id='icon-twitter'%3e%3crect%20id='Rectangle-Copy-9'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3c/rect%3e%3cpath%20d='M18.5024286,2.29975862%20C17.788,2.76875032%2016.999,3.10811669%2016.1568571,3.29175259%20C15.4848571,2.49599699%2014.5244286,2%2013.4615714,2%20C11.4224286,2%209.77028571,3.83140812%209.77028571,6.08994976%20C9.77028571,6.41086252%209.80071429,6.7232236%209.86414286,7.02163195%20C6.796,6.85059851%204.07542857,5.22398043%202.25314286,2.74759619%20C1.93514286,3.35386474%201.75342857,4.05600204%201.75342857,4.80494849%20C1.75342857,6.2236259%202.40528571,7.47577075%203.39614286,8.21031439%20C2.791,8.18961034%202.22142857,8.0032739%201.72257143,7.69901441%20L1.72257143,7.74942426%20C1.72257143,9.73161187%202.99457143,11.3852352%204.68614286,11.7597085%20C4.37542857,11.8555772%204.05014286,11.9037366%203.712,11.9037366%20C3.47457143,11.9037366%203.24185714,11.8789818%203.01814286,11.8312724%20C3.487,13.4556401%204.85114286,14.6398216%206.46771429,14.6713278%20C5.203,15.7690925%203.61085714,16.4221702%201.88114286,16.4221702%20C1.58328571,16.4221702%201.28842857,16.4046167%201,16.3659092%20C2.63457143,17.525786%204.57514286,18.2031684%206.661,18.2031684%20C13.4542857,18.2031684%2017.167,11.9703496%2017.167,6.56524271%20C17.167,6.38745794%2017.1648571,6.21057335%2017.1575714,6.03638929%20C17.8788571,5.45937646%2018.5067143,4.73833546%2019,3.91782502%20C18.3374286,4.24323865%2017.6255714,4.46333169%2016.8794286,4.56145088%20C17.6422857,4.05600204%2018.2277143,3.25439529%2018.5024286,2.29975862%20Z'%20fill='%23CDD6E0'%3e%3c/path%3e%3crect%20id='Rectangle-Copy-10'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",od="/assets/icon_instagram-DvpqE205.svg",ud=()=>{const e=new Date().getFullYear();return E.jsxs("footer",{className:"Footer",children:[E.jsxs("div",{className:"Footer-social",children:[E.jsx("span",{className:"Footer-social-text",children:"Share:"}),E.jsxs("span",{className:"Footer-social-networks",children:[E.jsx("img",{src:ld,alt:"facebook",className:"Footer-social-icon"}),E.jsx("img",{src:id,alt:"twitter",className:"Footer-social-icon"}),E.jsx("img",{src:od,alt:"instagram",className:"Footer-social-icon"})]})]}),E.jsxs("div",{className:"Footer-copyright",children:["© GIFOS ",e,". All rights reserved."]})]})},sd=()=>{const[e,t]=Te.useState(["One Punch"]),n=r=>{e.includes(r)||t([r,...e])};return E.jsxs(E.Fragment,{children:[E.jsx(H0,{}),E.jsxs("main",{className:"Main",children:[E.jsx(ic,{onNewCategory:n}),e.map(r=>E.jsx(uc,{category:r},r))]}),E.jsx(ud,{})]})};Gl.createRoot(document.getElementById("root")).render(E.jsx(Ic.StrictMode,{children:E.jsx(sd,{})})); +`+i.stack}return{value:e,source:t,stack:l,digest:null}}function Bl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ii(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var d0=typeof WeakMap=="function"?WeakMap:Map;function La(e,t,n){n=We(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xr||(Xr=!0,ji=r),Ii(e,t)},n}function Pa(e,t,n){n=We(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){Ii(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Ii(e,t),typeof r!="function"&&(st===null?st=new Set([this]):st.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Iu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new d0;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=N0.bind(null,e,t,n),t.then(e,e))}function Nu(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function _u(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=We(-1,1),t.tag=2,ut(n,t,1))),n.lanes|=1),e)}var p0=Ye.ReactCurrentOwner,ce=!1;function ie(e,t,n,r){t.child=e===null?la(t,null,n,r):en(t,e.child,n,r)}function Lu(e,t,n,r,l){n=n.render;var i=t.ref;return Yt(t,l),r=yo(e,t,n,r,i,l),n=wo(),e!==null&&!ce?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ze(e,t,l)):(F&&n&&io(t),t.flags|=1,ie(e,t,r,l),t.child)}function Pu(e,t,n,r,l){if(e===null){var i=n.type;return typeof i=="function"&&!Po(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,za(e,t,i,r,l)):(e=Pr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(n=n.compare,n=n!==null?n:Fn,n(o,r)&&e.ref===t.ref)return Ze(e,t,l)}return t.flags|=1,e=ct(i,r),e.ref=t.ref,e.return=t,t.child=e}function za(e,t,n,r,l){if(e!==null){var i=e.memoizedProps;if(Fn(i,r)&&e.ref===t.ref)if(ce=!1,t.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(ce=!0);else return t.lanes=e.lanes,Ze(e,t,l)}return Ni(e,t,n,r,l)}function Ta(e,t,n){var r=t.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},A(Wt,me),me|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,A(Wt,me),me|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,A(Wt,me),me|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,A(Wt,me),me|=r;return ie(e,t,l,n),t.child}function Ma(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ni(e,t,n,r,l){var i=de(n)?It:le.current;return i=qt(t,i),Yt(t,l),n=yo(e,t,n,r,i,l),r=wo(),e!==null&&!ce?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Ze(e,t,l)):(F&&r&&io(t),t.flags|=1,ie(e,t,n,l),t.child)}function zu(e,t,n,r,l){if(de(n)){var i=!0;Hr(t)}else i=!1;if(Yt(t,l),t.stateNode===null)Nr(e,t),_a(t,n,r),Ei(t,n,r,l),r=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var s=o.context,c=n.contextType;typeof c=="object"&&c!==null?c=Ee(c):(c=de(n)?It:le.current,c=qt(t,c));var h=n.getDerivedStateFromProps,m=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function";m||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||s!==c)&&Eu(t,o,r,c),qe=!1;var p=t.memoizedState;o.state=p,Qr(t,r,o,l),s=t.memoizedState,u!==r||p!==s||fe.current||qe?(typeof h=="function"&&(xi(t,n,h,r),s=t.memoizedState),(u=qe||xu(t,n,u,r,p,s,c))?(m||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=c,r=u):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,oa(e,t),u=t.memoizedProps,c=t.type===t.elementType?u:Le(t.type,u),o.props=c,m=t.pendingProps,p=o.context,s=n.contextType,typeof s=="object"&&s!==null?s=Ee(s):(s=de(n)?It:le.current,s=qt(t,s));var y=n.getDerivedStateFromProps;(h=typeof y=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==m||p!==s)&&Eu(t,o,r,s),qe=!1,p=t.memoizedState,o.state=p,Qr(t,r,o,l);var w=t.memoizedState;u!==m||p!==w||fe.current||qe?(typeof y=="function"&&(xi(t,n,y,r),w=t.memoizedState),(c=qe||xu(t,n,c,r,p,w,s)||!1)?(h||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,w,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,w,s)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),o.props=r,o.state=w,o.context=s,r=c):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return _i(e,t,n,r,i,l)}function _i(e,t,n,r,l,i){Ma(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return l&&hu(t,n,!1),Ze(e,t,i);r=t.stateNode,p0.current=t;var u=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=en(t,e.child,null,i),t.child=en(t,null,u,i)):ie(e,t,u,i),t.memoizedState=r.state,l&&hu(t,n,!0),t.child}function Da(e){var t=e.stateNode;t.pendingContext?mu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&mu(e,t.context,!1),mo(e,t.containerInfo)}function Tu(e,t,n,r,l){return bt(),uo(l),t.flags|=256,ie(e,t,n,r),t.child}var Li={dehydrated:null,treeContext:null,retryLane:0};function Pi(e){return{baseLanes:e,cachePool:null,transitions:null}}function Aa(e,t,n){var r=t.pendingProps,l=U.current,i=!1,o=(t.flags&128)!==0,u;if((u=o)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),A(U,l&1),e===null)return Ci(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,i?(r=t.mode,i=t.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=dl(o,r,0,null),e=Et(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Pi(n),t.memoizedState=Li,e):So(t,o));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return m0(e,t,o,r,u,l,n);if(i){i=r.fallback,o=t.mode,l=e.child,u=l.sibling;var s={mode:"hidden",children:r.children};return!(o&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=ct(l,s),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?i=ct(u,i):(i=Et(i,o,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,o=e.child.memoizedState,o=o===null?Pi(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~n,t.memoizedState=Li,r}return i=e.child,e=i.sibling,r=ct(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function So(e,t){return t=dl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function mr(e,t,n,r){return r!==null&&uo(r),en(t,e.child,null,n),e=So(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function m0(e,t,n,r,l,i,o){if(n)return t.flags&256?(t.flags&=-257,r=Bl(Error(v(422))),mr(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,l=t.mode,r=dl({mode:"visible",children:r.children},l,0,null),i=Et(i,l,o,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&en(t,e.child,null,o),t.child.memoizedState=Pi(o),t.memoizedState=Li,i);if(!(t.mode&1))return mr(e,t,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(v(419)),r=Bl(i,r,void 0),mr(e,t,o,r)}if(u=(o&e.childLanes)!==0,ce||u){if(r=J,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=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:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Ke(e,l),De(r,e,l,-1))}return Lo(),r=Bl(Error(v(421))),mr(e,t,o,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=_0.bind(null,e),l._reactRetry=t,null):(e=i.treeContext,he=ot(l.nextSibling),ge=t,F=!0,ze=null,e!==null&&(ke[Ce++]=Be,ke[Ce++]=Ve,ke[Ce++]=Nt,Be=e.id,Ve=e.overflow,Nt=t),t=So(t,r.children),t.flags|=4096,t)}function Mu(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Si(e.return,t,n)}function Vl(e,t,n,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=l)}function ja(e,t,n){var r=t.pendingProps,l=r.revealOrder,i=r.tail;if(ie(e,t,r.children,n),r=U.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Mu(e,n,t);else if(e.tag===19)Mu(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(A(U,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&Gr(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Vl(t,!1,l,n,i);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Gr(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Vl(t,!0,n,null,i);break;case"together":Vl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Nr(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ze(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Lt|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(v(153));if(t.child!==null){for(e=t.child,n=ct(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ct(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function h0(e,t,n){switch(t.tag){case 3:Da(t),bt();break;case 5:ua(t);break;case 1:de(t.type)&&Hr(t);break;case 4:mo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;A(Vr,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(A(U,U.current&1),t.flags|=128,null):n&t.child.childLanes?Aa(e,t,n):(A(U,U.current&1),e=Ze(e,t,n),e!==null?e.sibling:null);A(U,U.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ja(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),A(U,U.current),r)break;return null;case 22:case 23:return t.lanes=0,Ta(e,t,n)}return Ze(e,t,n)}var Ra,zi,Oa,Fa;Ra=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};zi=function(){};Oa=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,St(Ue.current);var i=null;switch(n){case"input":l=ql(e,l),r=ql(e,r),i=[];break;case"select":l=$({},l,{value:void 0}),r=$({},r,{value:void 0}),i=[];break;case"textarea":l=ti(e,l),r=ti(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Fr)}ri(n,r);var o;n=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var u=l[c];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Tn.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var s=r[c];if(u=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(s!=null||u!=null))if(c==="style")if(u){for(o in u)!u.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&u[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(i||(i=[]),i.push(c,n)),n=s;else c==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(i=i||[]).push(c,s)):c==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(c,""+s):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Tn.hasOwnProperty(c)?(s!=null&&c==="onScroll"&&j("scroll",e),i||u===s||(i=[])):(i=i||[]).push(c,s))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}};Fa=function(e,t,n,r){n!==r&&(t.flags|=4)};function gn(e,t){if(!F)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ne(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function g0(e,t,n){var r=t.pendingProps;switch(oo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ne(t),null;case 1:return de(t.type)&&Ur(),ne(t),null;case 3:return r=t.stateNode,tn(),R(fe),R(le),go(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(dr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ze!==null&&(Fi(ze),ze=null))),zi(e,t),ne(t),null;case 5:ho(t);var l=St(Vn.current);if(n=t.type,e!==null&&t.stateNode!=null)Oa(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(v(166));return ne(t),null}if(e=St(Ue.current),dr(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Oe]=t,r[$n]=i,e=(t.mode&1)!==0,n){case"dialog":j("cancel",r),j("close",r);break;case"iframe":case"object":case"embed":j("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Oe]=t,e[$n]=r,Ra(e,t,!1,!1),t.stateNode=e;e:{switch(o=li(n,r),n){case"dialog":j("cancel",e),j("close",e),l=r;break;case"iframe":case"object":case"embed":j("load",e),l=r;break;case"video":case"audio":for(l=0;lrn&&(t.flags|=128,r=!0,gn(i,!1),t.lanes=4194304)}else{if(!r)if(e=Gr(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),gn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!F)return ne(t),null}else 2*Q()-i.renderingStartTime>rn&&n!==1073741824&&(t.flags|=128,r=!0,gn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Q(),t.sibling=null,n=U.current,A(U,r?n&1|2:n&1),t):(ne(t),null);case 22:case 23:return _o(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?me&1073741824&&(ne(t),t.subtreeFlags&6&&(t.flags|=8192)):ne(t),null;case 24:return null;case 25:return null}throw Error(v(156,t.tag))}function v0(e,t){switch(oo(t),t.tag){case 1:return de(t.type)&&Ur(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return tn(),R(fe),R(le),go(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ho(t),null;case 13:if(R(U),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(v(340));bt()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return R(U),null;case 4:return tn(),null;case 10:return co(t.type._context),null;case 22:case 23:return _o(),null;case 24:return null;default:return null}}var hr=!1,re=!1,y0=typeof WeakSet=="function"?WeakSet:Set,C=null;function Vt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){B(e,t,r)}else n.current=null}function Ti(e,t,n){try{n()}catch(r){B(e,t,r)}}var Du=!1;function w0(e,t){if(mi=jr,e=Vs(),lo(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,c=0,h=0,m=e,p=null;t:for(;;){for(var y;m!==n||l!==0&&m.nodeType!==3||(u=o+l),m!==i||r!==0&&m.nodeType!==3||(s=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(y=m.firstChild)!==null;)p=m,m=y;for(;;){if(m===e)break t;if(p===n&&++c===l&&(u=o),p===i&&++h===r&&(s=o),(y=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=y}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(hi={focusedElem:e,selectionRange:n},jr=!1,C=t;C!==null;)if(t=C,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,C=e;else for(;C!==null;){t=C;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,O=w.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:Le(t.type,k),O);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(v(163))}}catch(g){B(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,C=e;break}C=t.return}return w=Du,Du=!1,w}function Ln(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Ti(t,n,i)}l=l.next}while(l!==r)}}function cl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Mi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Ua(e){var t=e.alternate;t!==null&&(e.alternate=null,Ua(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Oe],delete t[$n],delete t[yi],delete t[t0],delete t[n0])),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 Ha(e){return e.tag===5||e.tag===3||e.tag===4}function Au(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Ha(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Di(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Fr));else if(r!==4&&(e=e.child,e!==null))for(Di(e,t,n),e=e.sibling;e!==null;)Di(e,t,n),e=e.sibling}function Ai(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ai(e,t,n),e=e.sibling;e!==null;)Ai(e,t,n),e=e.sibling}var q=null,Pe=!1;function Xe(e,t,n){for(n=n.child;n!==null;)$a(e,t,n),n=n.sibling}function $a(e,t,n){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount(nl,n)}catch{}switch(n.tag){case 5:re||Vt(n,t);case 6:var r=q,l=Pe;q=null,Xe(e,t,n),q=r,Pe=l,q!==null&&(Pe?(e=q,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):q.removeChild(n.stateNode));break;case 18:q!==null&&(Pe?(e=q,n=n.stateNode,e.nodeType===8?Rl(e.parentNode,n):e.nodeType===1&&Rl(e,n),Rn(e)):Rl(q,n.stateNode));break;case 4:r=q,l=Pe,q=n.stateNode.containerInfo,Pe=!0,Xe(e,t,n),q=r,Pe=l;break;case 0:case 11:case 14:case 15:if(!re&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Ti(n,t,o),l=l.next}while(l!==r)}Xe(e,t,n);break;case 1:if(!re&&(Vt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){B(n,t,u)}Xe(e,t,n);break;case 21:Xe(e,t,n);break;case 22:n.mode&1?(re=(r=re)||n.memoizedState!==null,Xe(e,t,n),re=r):Xe(e,t,n);break;default:Xe(e,t,n)}}function ju(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new y0),t.forEach(function(r){var l=L0.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function _e(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*C0(r/1960))-r,10e?16:e,nt===null)var r=!1;else{if(e=nt,nt=null,Jr=0,M&6)throw Error(v(331));var l=M;for(M|=4,C=e.current;C!==null;){var i=C,o=i.child;if(C.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sQ()-Io?xt(e,0):Eo|=n),pe(e,t)}function Ya(e,t){t===0&&(e.mode&1?(t=or,or<<=1,!(or&130023424)&&(or=4194304)):t=1);var n=oe();e=Ke(e,t),e!==null&&(Yn(e,t,n),pe(e,n))}function _0(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ya(e,n)}function L0(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(v(314))}r!==null&&r.delete(t),Ya(e,n)}var Xa;Xa=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||fe.current)ce=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ce=!1,h0(e,t,n);ce=!!(e.flags&131072)}else ce=!1,F&&t.flags&1048576&&ea(t,Br,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Nr(e,t),e=t.pendingProps;var l=qt(t,le.current);Yt(t,n),l=yo(null,t,r,e,l,n);var i=wo();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,de(r)?(i=!0,Hr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,po(t),l.updater=al,t.stateNode=l,l._reactInternals=t,Ei(t,r,e,n),t=_i(null,t,r,!0,i,n)):(t.tag=0,F&&i&&io(t),ie(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Nr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=z0(r),e=Le(r,e),l){case 0:t=Ni(null,t,r,e,n);break e;case 1:t=zu(null,t,r,e,n);break e;case 11:t=Lu(null,t,r,e,n);break e;case 14:t=Pu(null,t,r,Le(r.type,e),n);break e}throw Error(v(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Ni(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),zu(e,t,r,l,n);case 3:e:{if(Da(t),e===null)throw Error(v(387));r=t.pendingProps,i=t.memoizedState,l=i.element,oa(e,t),Qr(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=nn(Error(v(423)),t),t=Tu(e,t,r,n,l);break e}else if(r!==l){l=nn(Error(v(424)),t),t=Tu(e,t,r,n,l);break e}else for(he=ot(t.stateNode.containerInfo.firstChild),ge=t,F=!0,ze=null,n=la(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(bt(),r===l){t=Ze(e,t,n);break e}ie(e,t,r,n)}t=t.child}return t;case 5:return ua(t),e===null&&Ci(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,gi(r,l)?o=null:i!==null&&gi(r,i)&&(t.flags|=32),Ma(e,t),ie(e,t,o,n),t.child;case 6:return e===null&&Ci(t),null;case 13:return Aa(e,t,n);case 4:return mo(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=en(t,null,r,n):ie(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Lu(e,t,r,l,n);case 7:return ie(e,t,t.pendingProps,n),t.child;case 8:return ie(e,t,t.pendingProps.children,n),t.child;case 12:return ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,A(Vr,r._currentValue),r._currentValue=o,i!==null)if(Ae(i.value,o)){if(i.children===l.children&&!fe.current){t=Ze(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=We(-1,n&-n),s.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?s.next=s:(s.next=h.next,h.next=s),c.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Si(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(v(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Si(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ie(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Yt(t,n),l=Ee(l),r=r(l),t.flags|=1,ie(e,t,r,n),t.child;case 14:return r=t.type,l=Le(r,t.pendingProps),l=Le(r.type,l),Pu(e,t,r,l,n);case 15:return za(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Nr(e,t),t.tag=1,de(r)?(e=!0,Hr(t)):e=!1,Yt(t,n),_a(t,r,l),Ei(t,r,l,n),_i(null,t,r,!0,e,n);case 19:return ja(e,t,n);case 22:return Ta(e,t,n)}throw Error(v(156,t.tag))};function Ja(e,t){return Es(e,t)}function P0(e,t,n,r){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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Se(e,t,n,r){return new P0(e,t,n,r)}function Po(e){return e=e.prototype,!(!e||!e.isReactComponent)}function z0(e){if(typeof e=="function")return Po(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ki)return 11;if(e===Zi)return 14}return 2}function ct(e,t){var n=e.alternate;return n===null?(n=Se(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Pr(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Po(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case At:return Et(n.children,l,i,t);case Gi:o=8,l|=8;break;case Zl:return e=Se(12,n,t,l|2),e.elementType=Zl,e.lanes=i,e;case Yl:return e=Se(13,n,t,l),e.elementType=Yl,e.lanes=i,e;case Xl:return e=Se(19,n,t,l),e.elementType=Xl,e.lanes=i,e;case us:return dl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case is:o=10;break e;case os:o=9;break e;case Ki:o=11;break e;case Zi:o=14;break e;case Je:o=16,r=null;break e}throw Error(v(130,e==null?e:typeof e,""))}return t=Se(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Et(e,t,n,r){return e=Se(7,e,r,t),e.lanes=n,e}function dl(e,t,n,r){return e=Se(22,e,r,t),e.elementType=us,e.lanes=n,e.stateNode={isHidden:!1},e}function Wl(e,t,n){return e=Se(6,e,null,t),e.lanes=n,e}function Ql(e,t,n){return t=Se(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function T0(e,t,n,r,l){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=Il(0),this.expirationTimes=Il(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Il(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function zo(e,t,n,r,l,i,o,u,s){return e=new T0(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Se(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},po(i),e}function M0(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tc)}catch(e){console.error(e)}}tc(),ts.exports=ye;var O0=ts.exports,Vu=O0;Gl.createRoot=Vu.createRoot,Gl.hydrateRoot=Vu.hydrateRoot;const F0="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjUzcHgiIGhlaWdodD0iNDlweCIgdmlld0JveD0iMCAwIDUzIDQ5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNjMuMSAoOTI0NTIpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPg0KICAgIDx0aXRsZT5sb2dvLW1vYmlsZTwvdGl0bGU+DQogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+DQogICAgPGRlZnM+DQogICAgICAgIDxwb2x5Z29uIGlkPSJwYXRoLTEiIHBvaW50cz0iMC44MzczNzkyNzIgMC45NDMzNDM0ODYgNDguNTI5NjEwNiAwLjk0MzM0MzQ4NiA0OC41Mjk2MTA2IDIwLjQ1OTk0NSAwLjgzNzM3OTI3MiAyMC40NTk5NDUiPjwvcG9seWdvbj4NCiAgICA8L2RlZnM+DQogICAgPGcgaWQ9IkdJRk9TIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4NCiAgICAgICAgPGcgaWQ9IjAwLVVJLUtpdCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM0Ny4wMDAwMDAsIC0yNDYzLjAwMDAwMCkiPg0KICAgICAgICAgICAgPGcgaWQ9ImxvZ28tbW9iaWxlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNDcuMDAwMDAwLCAyNDYzLjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC01Ij4NCiAgICAgICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9IkZpbGwtMSIgZmlsbD0iIzVFRDdDNiIgcG9pbnRzPSIwIC0wLjAwMDIgMCA0OC43OTEzMDM5IDQ4Ljc5MTUwMzkgNDguNzkxMzAzOSA0OC43OTE1MDM5IDM4LjMzNTk4MTYgNDUuMzA2Mzk2NSAzOC4zMzU5ODE2IDQ1LjMwNjM5NjUgNDUuMzA2MTk2NSAzLjQ4NTEwNzQyIDQ1LjMwNjE5NjUgMy40ODUxMDc0MiAzLjQ4NDkwNzQyIDM0Ljg1MTA3NDIgMy40ODQ5MDc0MiAzNC44NTEwNzQyIDEzLjk0MDIyOTcgNDUuMzA2Mzk2NSAxMy45NDAyMjk3IDQ1LjMwNjM5NjUgMjAuOTExMTQxNiA0OC43OTE1MDM5IDIwLjkxMTE0MTYgNDguNzkxNTAzOSAxMC40NTUxMjIzIDM4LjMzNjE4MTYgLTAuMDAwMiI+PC9wb2x5Z29uPg0KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNy4wMDAwMDAsIDE2LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+DQogICAgICAgICAgICAgICAgICAgICAgICA8L21hc2s+DQogICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iQ2xpcC0zIj48L2c+DQogICAgICAgICAgICAgICAgICAgICAgICA8dGV4dCBpZD0iR0lGT1MiIG1hc2s9InVybCgjbWFzay0yKSIgZm9udC1mYW1pbHk9IlJvYm90by1CbGFjaywgUm9ib3RvIiBmb250LXNpemU9IjE2IiBmb250LXdlaWdodD0iNzAwIiBmaWxsPSIjNTcyRUU1Ij4NCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dHNwYW4geD0iMSIgeT0iMjAiPkdJRk9TPC90c3Bhbj4NCiAgICAgICAgICAgICAgICAgICAgICAgIDwvdGV4dD4NCiAgICAgICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgIDwvZz4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg==",U0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='15px'%20height='14px'%20viewBox='0%200%2015%2014'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eburger%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cdefs%3e%3cpath%20d='M14,12%20C14.5522847,12%2015,12.4477153%2015,13%20C15,13.5522847%2014.5522847,14%2014,14%20L14,14%20L1,14%20C0.44771525,14%200,13.5522847%200,13%20C0,12.4477153%200.44771525,12%201,12%20L1,12%20Z%20M14,6%20C14.5522847,6%2015,6.44771525%2015,7%20C15,7.55228475%2014.5522847,8%2014,8%20L14,8%20L1,8%20C0.44771525,8%200,7.55228475%200,7%20C0,6.44771525%200.44771525,6%201,6%20L1,6%20Z%20M14,0%20C14.5522847,0%2015,0.44771525%2015,1%20C15,1.55228475%2014.5522847,2%2014,2%20L14,2%20L1,2%20C0.44771525,2%200,1.55228475%200,1%20C0,0.44771525%200.44771525,0%201,0%20L1,0%20Z'%20id='path-1'%3e%3c/path%3e%3c/defs%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-669.000000,%20-2948.000000)'%3e%3cg%20id='burger'%20transform='translate(669.000000,%202948.000000)'%3e%3cmask%20id='mask-2'%20fill='white'%3e%3cuse%20xlink:href='%23path-1'%3e%3c/use%3e%3c/mask%3e%3cuse%20id='Combined-Shape'%20fill='%23572EE5'%20fill-rule='nonzero'%20xlink:href='%23path-1'%3e%3c/use%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",H0=()=>E.jsx("header",{className:"Header",children:E.jsxs("nav",{className:"Header-navbar",children:[E.jsx("div",{className:"Header-navbar-logo-container",children:E.jsx("img",{src:F0,alt:"logo",className:"Header-navbar-logo-img"})}),E.jsxs("div",{className:"Header-navbar-menu",children:[E.jsx("button",{className:"Header-navbar-menu-button",children:E.jsx("img",{src:U0,alt:"boton menu",className:"Header-navbar-menu-icon","aria-label":"menu de navegacion"})}),E.jsxs("ul",{className:"Header-navbar-menu-list",children:[E.jsx("li",{className:"Header-navbar-menu-item",children:E.jsx("a",{href:"",children:"Dark Mode"})}),E.jsx("li",{className:"Header-navbar-menu-item",children:E.jsx("a",{href:"",children:"Favourites"})}),E.jsx("li",{className:"Header-navbar-menu-item",children:E.jsx("a",{href:"",children:"My gifos"})})]})]})]})}),$0="/assets/ilustra_header-CvuEBC50.svg",B0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='20px'%20height='20px'%20viewBox='0%200%2020%2020'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eicon-search%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cdefs%3e%3cpath%20d='M8.5,0%20C13.1944204,0%2017,3.80557963%2017,8.5%20C17,10.4865245%2016.3185332,12.3138839%2015.1766205,13.7610573%20L19.7071068,18.2928932%20C20.0976311,18.6834175%2020.0976311,19.3165825%2019.7071068,19.7071068%20C19.3165825,20.0976311%2018.6834175,20.0976311%2018.2928932,19.7071068%20L18.2928932,19.7071068%20L13.7610573,15.1766205%20C12.3138839,16.3185332%2010.4865245,17%208.5,17%20C3.80557963,17%200,13.1944204%200,8.5%20C0,3.80557963%203.80557963,0%208.5,0%20Z%20M8.5,2%20C4.91014913,2%202,4.91014913%202,8.5%20C2,12.0898509%204.91014913,15%208.5,15%20C10.2704128,15%2011.8755097,14.2921984%2013.0477521,13.1441339%20L13.0928932,13.0928932%20C13.1090201,13.0767663%2013.1255608,13.0613054%2013.1424811,13.0465104%20C14.2921984,11.8755097%2015,10.2704128%2015,8.5%20C15,4.91014913%2012.0898509,2%208.5,2%20Z'%20id='path-1'%3e%3c/path%3e%3c/defs%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-637.000000,%20-518.000000)'%3e%3cg%20id='-Nav-Desktop-Sticky'%20transform='translate(0.000000,%20479.000000)'%3e%3cg%20id='icon-search'%20transform='translate(637.000000,%2039.000000)'%3e%3cmask%20id='mask-2'%20fill='white'%3e%3cuse%20xlink:href='%23path-1'%3e%3c/use%3e%3c/mask%3e%3cuse%20fill='%23572EE5'%20fill-rule='nonzero'%20xlink:href='%23path-1'%3e%3c/use%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",V0="bolnsRrRHllszkkqaGJedWDYoBbT0CEG",W0=5,Q0=async()=>{const e=`https://api.giphy.com/v1/trending/searches?api_key=${V0}`,t=await fetch(e),{data:n}=await t.json();return n==null?void 0:n.splice(0,W0).join(", ")},G0=()=>{const[e,t]=Te.useState([]),[n,r]=Te.useState(!0),l=async()=>{const o=await Q0();t(o),r(!1)};return Te.useEffect(()=>{l()},[]),{topics:e,isLoading:n}};var nc={exports:{}},K0="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Z0=K0,Y0=Z0;function rc(){}function lc(){}lc.resetWarningCache=rc;var X0=function(){function e(r,l,i,o,u,s){if(s!==Y0){var c=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 c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:lc,resetWarningCache:rc};return n.PropTypes=n,n};nc.exports=X0();var el=nc.exports;const ic=({onNewCategory:e})=>{const[t,n]=Te.useState(""),{topics:r}=G0(),l=o=>{n(o.target.value)},i=o=>{o.preventDefault(),!(t.trim().length<=1)&&(e(t.trim()),n(""))};return E.jsxs("section",{className:"Search",children:[E.jsxs("h1",{className:"Search-title",children:["Get inspired, search,"," ",E.jsx("span",{className:"Search-title-newLine",children:"save, and create the "}),E.jsxs("span",{className:"Search-title-newLine",children:["best ",E.jsx("span",{className:"Search-title-highlight",children:"GIFOS"})]})]}),E.jsx("img",{src:$0,alt:"illustration",className:"Search-img"}),E.jsxs("form",{className:"Search-searchBar",onSubmit:i,"aria-label":"search",children:[E.jsx("label",{htmlFor:"searchbar",children:E.jsx("input",{type:"text",placeholder:"Search GIFs and more",value:t,onChange:l,className:"Search-searchBar-input"})}),E.jsx("img",{src:B0,alt:"gifos illustration",className:"Search-searchBar-img"})]}),E.jsxs("div",{className:"Search-trending",children:[E.jsx("h4",{className:"Search-trending-title",children:"Trending:"}),E.jsxs("div",{className:"Search-trending-topics",children:[r,"..."]})]})]})};ic.propTypes={onNewCategory:el.PropTypes.func.isRequired};const J0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='32px'%20height='32px'%20viewBox='0%200%2032%2032'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eicon-fav%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cdefs%3e%3cpath%20d='M16.277005,9.49708565%20C17.2350987,8.53854203%2018.5348228,8%2019.8900901,8%20C21.2453574,8%2022.5450815,8.53854203%2023.5031752,9.49708565%20C24.461458,10.4549185%2025,11.7546426%2025,13.1099099%20C25,14.4651772%2024.461458,15.7649013%2023.5030448,16.7228646%20L16.5555186,23.6703908%20C16.2485981,23.9773114%2015.7509815,23.9773114%2015.444061,23.6703908%20L8.49653479,16.7228646%20C6.50115505,14.7274848%206.50115507,11.492335%208.49653484,9.49695525%20C10.4919146,7.50157548%2013.7270644,7.50157545%2015.7224442,9.4969552%20L15.9997898,9.77430079%20L16.277005,9.49708565%20Z%20M15.9997898,22.0032043%20L21.5585127,16.4444814%20L22.3917176,15.6112765%20C23.0553247,14.9479809%2023.4281615,14.0481719%2023.4281615,13.1099099%20C23.4281615,12.1716479%2023.0553247,11.271839%2022.3917176,10.6085433%20C21.728161,9.94467529%2020.8283521,9.5718385%2019.8900901,9.5718385%20C18.9518281,9.5718385%2018.0520191,9.94467529%2017.388593,10.6084129%20L16.5555186,11.4414873%20C16.2485981,11.7484078%2015.7509815,11.7484078%2015.444061,11.4414873%20L14.6109866,10.6084129%20C13.2294479,9.22687423%2010.9895312,9.22687425%209.6079925,10.6084129%20C8.22645385,11.9899516%208.22645383,14.2298683%209.60799246,15.611407%20L15.9997898,22.0032043%20Z'%20id='path-1'%3e%3c/path%3e%3c/defs%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-816.000000,%20-2777.000000)'%3e%3cg%20id='icon-fav'%20transform='translate(816.000000,%202777.000000)'%3e%3crect%20id='Rectangle'%20fill='%23FFFFFF'%20fill-rule='nonzero'%20opacity='0.7'%20x='0'%20y='0'%20width='32'%20height='32'%20rx='6'%3e%3c/rect%3e%3cmask%20id='mask-2'%20fill='white'%3e%3cuse%20xlink:href='%23path-1'%3e%3c/use%3e%3c/mask%3e%3cuse%20fill-opacity='0.7'%20fill='%23572EE5'%20fill-rule='nonzero'%20xlink:href='%23path-1'%3e%3c/use%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",q0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='32px'%20height='32px'%20viewBox='0%200%2032%2032'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eicon-download%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cdefs%3e%3cpath%20d='M23.5,19.3333333%20C23.9602373,19.3333333%2024.3333333,19.7064294%2024.3333333,20.1666667%20L24.3333333,20.1666667%20L24.3333333,22.6666667%20C24.3333333,24.0473785%2023.2140452,25.1666667%2021.8333333,25.1666667%20L21.8333333,25.1666667%20L10.1666667,25.1666667%20C8.78595479,25.1666667%207.66666667,24.0473785%207.66666667,22.6666667%20L7.66666667,22.6666667%20L7.66666667,20.1666667%20C7.66666667,19.7064294%208.03976271,19.3333333%208.5,19.3333333%20C8.96023729,19.3333333%209.33333333,19.7064294%209.33333333,20.1666667%20L9.33333333,20.1666667%20L9.33333333,22.6666667%20C9.33333333,23.126904%209.70642938,23.5%2010.1666667,23.5%20L10.1666667,23.5%20L21.8333333,23.5%20C22.2935706,23.5%2022.6666667,23.126904%2022.6666667,22.6666667%20L22.6666667,22.6666667%20L22.6666667,20.1666667%20C22.6666667,19.7064294%2023.0397627,19.3333333%2023.5,19.3333333%20Z%20M16,6.83333333%20C16.4602373,6.83333333%2016.8333333,7.20642938%2016.8333333,7.66666667%20L16.8333333,7.66666667%20L16.8326667,17.3213333%20L18.7440777,15.4107443%20C19.0423948,15.1124272%2019.5106167,15.0875674%2019.8372513,15.3361651%20L19.922589,15.4107443%20C20.2480259,15.7361813%2020.2480259,16.2638187%2019.922589,16.5892557%20L19.922589,16.5892557%20L16.5892557,19.922589%20C16.5844698,19.9273748%2016.5796402,19.9320903%2016.5747682,19.9367354%20C16.5575683,19.9531417%2016.5392293,19.9691754%2016.5202088,19.984393%20C16.5115288,19.9913858%2016.5034395,19.9976103%2016.4952644,20.003666%20C16.472374,20.0205663%2016.4479317,20.036781%2016.4226325,20.0516974%20C16.4174579,20.0548288%2016.4120846,20.0579155%2016.4066847,20.0609374%20C16.3824377,20.074429%2016.3578886,20.0866225%2016.332691,20.0976064%20C16.3252234,20.1008705%2016.317454,20.1041127%2016.309647,20.1072321%20C16.2911687,20.1146333%2016.2726396,20.1212953%2016.2538198,20.1273066%20C16.0839816,20.1814152%2015.9001245,20.1797632%2015.7310626,20.1222745%20C15.7179263,20.1178256%2015.7057373,20.1133328%2015.693686,20.1085671%20C15.6796843,20.1030442%2015.6652017,20.0968635%2015.6508682,20.090254%20C15.6317619,20.0813811%2015.6135799,20.072131%2015.5957973,20.062249%20C15.5866928,20.0572743%2015.5772205,20.0517762%2015.5678364,20.0460761%20C15.5452714,20.0322541%2015.5239542,20.0178793%2015.5033674,20.0025772%20C15.4713593,19.9788748%2015.4402223,19.952067%2015.4107443,19.922589%20L15.4852935,19.9887574%20C15.4628265,19.9710895%2015.4412902,19.9522912%2015.4207704,19.9324483%20L15.4107443,19.922589%20L12.077411,16.5892557%20C11.7519741,16.2638187%2011.7519741,15.7361813%2012.077411,15.4107443%20C12.4028479,15.0853074%2012.9304854,15.0853074%2013.2559223,15.4107443%20L13.2559223,15.4107443%20L15.1666667,17.3213333%20L15.1666667,7.66666667%20C15.1666667,7.24183224%2015.484571,6.89124835%2015.8954684,6.83982618%20Z'%20id='path-1'%3e%3c/path%3e%3c/defs%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-816.000000,%20-2819.000000)'%3e%3cg%20id='icon-download'%20transform='translate(816.000000,%202819.000000)'%3e%3crect%20id='Rectangle-Copy'%20fill='%23FFFFFF'%20fill-rule='nonzero'%20opacity='0.7'%20x='0'%20y='0'%20width='32'%20height='32'%20rx='6'%3e%3c/rect%3e%3cmask%20id='mask-2'%20fill='white'%3e%3cuse%20xlink:href='%23path-1'%3e%3c/use%3e%3c/mask%3e%3cuse%20id='Combined-Shape'%20fill-opacity='0.7'%20fill='%23572EE5'%20fill-rule='nonzero'%20xlink:href='%23path-1'%3e%3c/use%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",b0="/assets/icon-max-normal-DNhiK0-p.svg",oc=({title:e,url:t})=>E.jsxs("div",{className:"Search-result",children:[E.jsx("img",{src:t,alt:e,className:"Search-result-gif"}),E.jsxs("div",{className:"Search-result-gif-overlay",children:[E.jsxs("span",{className:"Search-result-gif-overlay-wrapper",children:[E.jsx("img",{src:J0,alt:"favourite",className:"Search-result-gif-overlay-wrapper-action"}),E.jsx("img",{src:q0,alt:"download",className:"Search-result-gif-overlay-wrapper-action"}),E.jsx("img",{src:b0,alt:"maximize",className:"Search-result-gif-overlay-wrapper-action"})]}),E.jsx("p",{className:"Search-result-gif-overlay-title",children:e})]})]});oc.propTypes={title:el.PropTypes.string.isRequired,url:el.PropTypes.string.isRequired};const ed="bolnsRrRHllszkkqaGJedWDYoBbT0CEG",td=10,nd=async e=>{const t=`https://api.giphy.com/v1/gifs/search?api_key=${ed}&q=${e}&limit=${td}`,n=await fetch(t),{data:r}=await n.json();return r.map(i=>({id:i.id,title:i.title,url:i.images.downsized_medium.url}))},rd=e=>{const[t,n]=Te.useState([]),[r,l]=Te.useState(!0),i=async()=>{const o=await nd(e);n(o),l(!1)};return Te.useEffect(()=>{i()},[]),{gifs:t,isLoading:r}},uc=({category:e})=>{const{gifs:t,isLoading:n}=rd(e);return E.jsxs(E.Fragment,{children:[E.jsx("h3",{className:"Search-wrapper-title",children:e}),n&&E.jsx("h2",{children:"Loading..."}),E.jsx("div",{className:"Search-wrapper",children:t==null?void 0:t.map(r=>E.jsx(oc,{...r},r.id))},e)]})};uc.propTypes={category:el.PropTypes.string.isRequired};const ld="/assets/icon_instagram-DvpqE205.svg",id="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='8px'%20height='17px'%20viewBox='0%200%208%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eicon_facebook%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-1027.000000,%20-2780.000000)'%3e%3cg%20id='icon_facebook'%20transform='translate(1018.000000,%202778.000000)'%3e%3cg%3e%3c/g%3e%3cpath%20d='M10.715503,19%20L10.715503,10.4988913%20L9,10.4988913%20L9,7.56971739%20L10.715503,7.56971739%20L10.715503,5.81095652%20C10.715503,3.42171739%2011.6832226,2%2014.4354173,2%20L16.7259217,2%20L16.7259217,4.93028261%20L15.2944004,4.93028261%20C14.2232227,4.93028261%2014.1521393,5.3393913%2014.1521393,6.10365217%20L14.1475647,7.56971739%20L16.7417571,7.56971739%20L16.4380691,10.4988913%20L14.1475647,10.4988913%20L14.1475647,19%20L10.715503,19%20Z'%20id='Clip-4'%20fill='%23CDD6E0'%3e%3c/path%3e%3crect%20id='Rectangle'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",od="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3c!--%20Generator:%20Sketch%2063.1%20(92452)%20-%20https://sketch.com%20--%3e%3ctitle%3eicon-twitter%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cg%20id='GIFOS'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='00-UI-Kit'%20transform='translate(-1057.000000,%20-2780.000000)'%3e%3cg%20id='Footer'%20transform='translate(1056.000000,%202778.000000)'%3e%3cg%20id='icon-twitter'%3e%3crect%20id='Rectangle-Copy-9'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3c/rect%3e%3cpath%20d='M18.5024286,2.29975862%20C17.788,2.76875032%2016.999,3.10811669%2016.1568571,3.29175259%20C15.4848571,2.49599699%2014.5244286,2%2013.4615714,2%20C11.4224286,2%209.77028571,3.83140812%209.77028571,6.08994976%20C9.77028571,6.41086252%209.80071429,6.7232236%209.86414286,7.02163195%20C6.796,6.85059851%204.07542857,5.22398043%202.25314286,2.74759619%20C1.93514286,3.35386474%201.75342857,4.05600204%201.75342857,4.80494849%20C1.75342857,6.2236259%202.40528571,7.47577075%203.39614286,8.21031439%20C2.791,8.18961034%202.22142857,8.0032739%201.72257143,7.69901441%20L1.72257143,7.74942426%20C1.72257143,9.73161187%202.99457143,11.3852352%204.68614286,11.7597085%20C4.37542857,11.8555772%204.05014286,11.9037366%203.712,11.9037366%20C3.47457143,11.9037366%203.24185714,11.8789818%203.01814286,11.8312724%20C3.487,13.4556401%204.85114286,14.6398216%206.46771429,14.6713278%20C5.203,15.7690925%203.61085714,16.4221702%201.88114286,16.4221702%20C1.58328571,16.4221702%201.28842857,16.4046167%201,16.3659092%20C2.63457143,17.525786%204.57514286,18.2031684%206.661,18.2031684%20C13.4542857,18.2031684%2017.167,11.9703496%2017.167,6.56524271%20C17.167,6.38745794%2017.1648571,6.21057335%2017.1575714,6.03638929%20C17.8788571,5.45937646%2018.5067143,4.73833546%2019,3.91782502%20C18.3374286,4.24323865%2017.6255714,4.46333169%2016.8794286,4.56145088%20C17.6422857,4.05600204%2018.2277143,3.25439529%2018.5024286,2.29975862%20Z'%20fill='%23CDD6E0'%3e%3c/path%3e%3crect%20id='Rectangle-Copy-10'%20x='0'%20y='0'%20width='20'%20height='20'%3e%3c/rect%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",ud=()=>{const e=new Date().getFullYear();return E.jsxs("footer",{className:"Footer",children:[E.jsxs("div",{className:"Footer-social",children:[E.jsx("span",{className:"Footer-social-text",children:"Share:"}),E.jsxs("span",{className:"Footer-social-networks",children:[E.jsx("img",{src:ld,alt:"instagram",className:"Footer-social-icon"}),E.jsx("img",{src:id,alt:"facebook",className:"Footer-social-icon"}),E.jsx("img",{src:od,alt:"twitter",className:"Footer-social-icon"})]})]}),E.jsxs("div",{className:"Footer-copyright",children:["© GIFOS ",e,". All rights reserved."]})]})},sd=()=>{const[e,t]=Te.useState(["One Punch"]),n=r=>{e.includes(r)||t([r,...e])};return E.jsxs(E.Fragment,{children:[E.jsx(H0,{}),E.jsxs("main",{className:"Main",children:[E.jsx(ic,{onNewCategory:n}),e.map(r=>E.jsx(uc,{category:r},r))]}),E.jsx(ud,{})]})};Gl.createRoot(document.getElementById("root")).render(E.jsx(Ic.StrictMode,{children:E.jsx(sd,{})})); diff --git a/docs/index.html b/docs/index.html index 495336d..70649ce 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,11 +5,10 @@ GIFOS - - + +
- diff --git a/docs/assets/icon-max-DNhiK0-p.svg b/src/assets/imgs/icon-max-normal.svg similarity index 100% rename from docs/assets/icon-max-DNhiK0-p.svg rename to src/assets/imgs/icon-max-normal.svg diff --git a/src/assets/imgs/icon-max.svg b/src/assets/imgs/icon-max.svg deleted file mode 100644 index 5544798..0000000 --- a/src/assets/imgs/icon-max.svg +++ /dev/null @@ -1,20 +0,0 @@ - - - - icon-max-normal - Created with Sketch. - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/assets/imgs/icon-facebook.svg b/src/assets/imgs/icon_facebook.svg similarity index 100% rename from src/assets/imgs/icon-facebook.svg rename to src/assets/imgs/icon_facebook.svg diff --git a/docs/assets/search-illustration-CvuEBC50.svg b/src/assets/imgs/ilustra_header.svg similarity index 100% rename from docs/assets/search-illustration-CvuEBC50.svg rename to src/assets/imgs/ilustra_header.svg diff --git a/src/assets/imgs/logo-mobile.svg b/src/assets/imgs/logo-mobile.svg index 0cdad77..6792f1c 100644 --- a/src/assets/imgs/logo-mobile.svg +++ b/src/assets/imgs/logo-mobile.svg @@ -16,7 +16,7 @@ - + GIFOS diff --git a/src/assets/imgs/search-illustration.svg b/src/assets/imgs/search-illustration.svg deleted file mode 100644 index 57f9947..0000000 --- a/src/assets/imgs/search-illustration.svg +++ /dev/null @@ -1,283 +0,0 @@ - - - - ilustra_header - Created with Sketch. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index 998d8aa..1e3032a 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -1,6 +1,6 @@ -import facebook from "../assets/imgs/icon-facebook.svg"; -import twitter from "../assets/imgs/icon-twitter.svg"; import instagram from "../assets/imgs/icon_instagram.svg"; +import facebook from "../assets/imgs/icon_facebook.svg"; +import twitter from "../assets/imgs/icon-twitter.svg"; const Footer = () => { const currentYear = new Date().getFullYear(); @@ -9,9 +9,9 @@ const Footer = () => {
Share: + instagram facebook twitter - instagram
diff --git a/src/components/GifItem.jsx b/src/components/GifItem.jsx index 259a42b..a4da750 100644 --- a/src/components/GifItem.jsx +++ b/src/components/GifItem.jsx @@ -1,7 +1,7 @@ import { PropTypes } from "prop-types"; import favourite from "../assets/imgs/icon-fav.svg"; import download from "../assets/imgs/icon-download.svg"; -import maximize from "../assets/imgs/icon-max.svg"; +import maximize from "../assets/imgs/icon-max-normal.svg"; const GifItem = ({ title, url }) => { return ( diff --git a/src/components/Search.jsx b/src/components/Search.jsx index bc3e867..317343e 100644 --- a/src/components/Search.jsx +++ b/src/components/Search.jsx @@ -1,4 +1,4 @@ -import illustration from "../assets/imgs/search-illustration.svg"; +import illustration from "../assets/imgs/ilustra_header.svg"; import search from "../assets/imgs/icon-search.svg"; import { useFetchTrending } from "../hooks/useFetchTrending"; import { useState } from "react"; diff --git a/vite.config.js b/vite.config.js index 5a33944..87ec83b 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,4 +4,6 @@ import react from '@vitejs/plugin-react' // https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], + assetsInclude: ['**/*.svg'], + logLevel: 'info' })