From d5e6f59f70542d5edfb429e71150dcfc4a382da7 Mon Sep 17 00:00:00 2001 From: Lucia Date: Mon, 29 Jul 2024 17:55:22 +0200 Subject: [PATCH] feat: vite build --- docs/assets/icon-instagram-DvpqE205.svg | 16 ++++++++ docs/assets/icon-max-DNhiK0-p.svg | 20 ++++++++++ docs/assets/index-B4yBRTER.js | 40 +++++++++++++++++++ ...{index-CnUnhEkZ.css => index-Du44pv6e.css} | 2 +- docs/assets/index-aW7PzaYF.js | 40 ------------------- docs/index.html | 4 +- 6 files changed, 79 insertions(+), 43 deletions(-) create mode 100644 docs/assets/icon-instagram-DvpqE205.svg create mode 100644 docs/assets/icon-max-DNhiK0-p.svg create mode 100644 docs/assets/index-B4yBRTER.js rename docs/assets/{index-CnUnhEkZ.css => index-Du44pv6e.css} (57%) delete mode 100644 docs/assets/index-aW7PzaYF.js diff --git a/docs/assets/icon-instagram-DvpqE205.svg b/docs/assets/icon-instagram-DvpqE205.svg new file mode 100644 index 0000000..db62568 --- /dev/null +++ b/docs/assets/icon-instagram-DvpqE205.svg @@ -0,0 +1,16 @@ + + + + icon_instagram + Created with Sketch. + + + + + + + + + + + \ No newline at end of file diff --git a/docs/assets/icon-max-DNhiK0-p.svg b/docs/assets/icon-max-DNhiK0-p.svg new file mode 100644 index 0000000..5544798 --- /dev/null +++ b/docs/assets/icon-max-DNhiK0-p.svg @@ -0,0 +1,20 @@ + + + + icon-max-normal + Created with Sketch. + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/assets/index-B4yBRTER.js b/docs/assets/index-B4yBRTER.js new file mode 100644 index 0000000..4ef92a2 --- /dev/null +++ b/docs/assets/index-B4yBRTER.js @@ -0,0 +1,40 @@ +(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={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * 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,Qi={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;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Dc=nt,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||!(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 Xe: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 Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Qo(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 $o(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},Qc=["Webkit","ms","Moz","O"];Object.keys(Sn).forEach(function(e){Qc.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 $c=Q({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($c[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-Te(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=et=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 $s(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$s(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&&$s(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 Q({},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 He=null,ul=!1,Ol=!1;function bs(e){He===null?He=[e]:He.push(e)}function r0(e){ul=!0,bs(e)}function ht(){if(!Ol&&He!==null){Ol=!0;var e=0,t=D;try{var n=He;for(D=1;e>=o,l-=o,Qe=1<<32-Te(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===Xe&&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 Xe: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,$t=null,so=null;function ao(){so=$t=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=$t=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},$t===null){if(Br===null)throw Error(v(308));$t=e,Br.dependencies={lanes:0,firstContext:e}}else $t=$t.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,Ge(e,r)}function Ge(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 Je=!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 Ve(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,Ge(e,n)}return l=r.interleaved,l===null?(t.next=t,fo(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ge(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;Je=!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=Q({},m,p);break e;case 2:Je=!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();Me(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,De(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(),Me(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 je().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=je();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=je();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=je();return e={current:e},t.memoizedState=e},useState:Cu,useDebugValue:Co,useDeferredValue:function(e){return je().memoizedState=e},useTransition:function(){var e=Cu(!1),t=e[0];return e=o0.bind(null,e[1]),je().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,l=je();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=je(),t=J.identifierPrefix;if(F){var n=$e,r=Qe;n=(r&~(1<<32-Te(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Bn++,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[Re]=t,e[Qn]=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){$(e,t,r)}else n.current=null}function Ti(e,t,n){try{n()}catch(r){$(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){$(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[Re],delete t[Qn],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 Ye(e,t,n){for(n=n.child;n!==null;)Qa(e,t,n),n=n.sibling}function Qa(e,t,n){if(Oe&&typeof Oe.onCommitFiberUnmount=="function")try{Oe.onCommitFiberUnmount(nl,n)}catch{}switch(n.tag){case 5:re||Vt(n,t);case 6:var r=q,l=ze;q=null,Ye(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,Ye(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)}Ye(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){$(n,t,u)}Ye(e,t,n);break;case 21:Ye(e,t,n);break;case 22:n.mode&1?(re=(r=re)||n.memoizedState!==null,Ye(e,t,n),re=r):Ye(e,t,n);break;default:Ye(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,tt===null)var r=!1;else{if(e=tt,tt=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=Ge(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,$r,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=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(De(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=Ve(-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 Xe: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"})})]})]})]})}),Q0="/assets/search-illustration-CvuEBC50.svg",$0="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";var nc={exports:{}},V0="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",B0=V0,W0=B0;function rc(){}function lc(){}lc.resetWarningCache=rc;var G0=function(){function e(r,l,i,o,u,s){if(s!==W0){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=G0();var el=nc.exports;const ic=({onNewCategory:e})=>{const[t,n]=nt.useState(""),r=i=>{n(i.target.value)},l=i=>{i.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:Q0,alt:"illustration",className:"Search-img"}),E.jsxs("form",{className:"Search-searchBar",onSubmit:l,"aria-label":"search",children:[E.jsx("label",{htmlFor:"searchbar",children:E.jsx("input",{type:"text",placeholder:"Search GIFs and more",value:t,onChange:r,className:"Search-searchBar-input"})}),E.jsx("img",{src:$0,alt:"gifos illustration",className:"Search-searchBar-img"})]}),E.jsxs("div",{className:"Search-trending",children:[E.jsx("h4",{className:"Search-trending-title",children:"Trending:"}),E.jsx("div",{className:"Search-trending-topics"})]})]})};ic.propTypes={onNewCategory:el.PropTypes.func.isRequired};const Z0="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",K0="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",Y0="/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:Z0,alt:"favourite",className:"Search-result-gif-overlay-wrapper-action"}),E.jsx("img",{src:K0,alt:"download",className:"Search-result-gif-overlay-wrapper-action"}),E.jsx("img",{src:Y0,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 X0="zM4AIGGgjSI9Y0dt8uMRODn1olAL2cKP",J0=10,q0=async e=>{const t=`https://api.giphy.com/v1/gifs/search?api_key=${X0}&q=${e}&limit=${J0}`,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}))},b0=e=>{const[t,n]=nt.useState([]),[r,l]=nt.useState(!0),i=async()=>{const o=await q0(e);n(o),l(!1)};return nt.useEffect(()=>{i()},[]),{gifs:t,isLoading:r}},uc=({category:e})=>{const{gifs:t,isLoading:n}=b0(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 ed="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",td="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",nd="/assets/icon-instagram-DvpqE205.svg",rd=()=>{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:ed,alt:"facebook",className:"Footer-social-icon"}),E.jsx("img",{src:td,alt:"twitter",className:"Footer-social-icon"}),E.jsx("img",{src:nd,alt:"instagram",className:"Footer-social-icon"})]})]}),E.jsxs("div",{className:"Footer-copyright",children:["© GIFOS ",e,". All rights reserved."]})]})},ld=()=>{const[e,t]=nt.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(rd,{})]})};Gl.createRoot(document.getElementById("root")).render(E.jsx(Ic.StrictMode,{children:E.jsx(ld,{})})); diff --git a/docs/assets/index-CnUnhEkZ.css b/docs/assets/index-Du44pv6e.css similarity index 57% rename from docs/assets/index-CnUnhEkZ.css rename to docs/assets/index-Du44pv6e.css index f25c6f8..34b9a5e 100644 --- a/docs/assets/index-CnUnhEkZ.css +++ b/docs/assets/index-Du44pv6e.css @@ -1 +1 @@ -*{border:0;box-sizing:border-box;margin:0;padding:0}html{max-width:100%;font-size:16px}body{color:#000;font-family:Montserrat,sans-serif}.Header{display:flex;justify-content:space-between;align-items:center;width:100%;border-top:5px solid hsl(253,78%,54%)}.Header-navbar{align-items:center;display:flex;justify-content:space-between;height:5.9375rem;width:100%}.Header-navbar-logo-container{margin-left:1.375rem}.Header-navbar-menu-button{margin-right:1.625rem}.Header-navbar-menu-item{display:none;list-style:none}.Search{align-items:center;display:flex;flex-direction:column;margin:0 1.625rem 0 1.375rem;text-align:center}.Search-title{margin-top:.4375rem;color:#562ee5;font-size:1.5625rem;font-weight:700;line-height:2.0625rem;text-align:center}.Search-title-newLine{display:inline-block}.Search-title-highlight{color:#50e2c3}.Search-img{margin-top:1.9375rem;width:17.0625rem}.Search-searchBar{align-items:center;display:flex;justify-content:space-between;height:3.125rem;width:100%;border:1px solid hsl(253,78%,54%);border-radius:1.6875rem}.Search-searchBar-img{margin-right:1.25rem}.Search-searchBar-input{margin-left:3.4375rem;color:#000;font-family:Roboto,sans-serif;font-size:1rem;text-align:left}.Search-wrapper{align-items:flex-start;display:flex;justify-content:space-evenly;flex-wrap:wrap;width:100%;max-width:100%}.Search-wrapper-title{margin:2.5rem 0;color:#562ee5;font-size:1.5625rem;font-weight:700;line-height:2.0625rem;text-align:center}.Search-result{width:40%;max-width:16.25rem;margin-bottom:1.5625rem}.Search-result-gif{width:100%;height:7.5rem}.Search-result-gif-overlay{display:none;width:7.5rem;height:16.25rem;background-color:#562ee5}.Search-result-gif-overlay :hover{display:block}.Search-trending{margin-top:1.9375rem}.Favourites{display:none}.Footer{display:flex;flex-direction:column;justify-content:space-between;align-items:center;width:100%;border-bottom:5px solid hsl(253,78%,54%)}.Footer-social{display:flex;flex-direction:column;align-items:center;width:100%}.Footer-social-text{margin-bottom:1.5rem}.Footer-social-network{align-items:center;display:flex;justify-content:space-between;max-width:8.75rem}.Footer-social-icon{margin:0 .625rem}.Footer-copyright{margin:2.875rem 0 1.4375rem} +*{border:0;box-sizing:border-box;margin:0;padding:0}html{max-width:100%;font-size:16px}body{color:#000;font-family:Montserrat,sans-serif}.Header{display:flex;justify-content:space-between;align-items:center;width:100%;border-top:5px solid hsl(253,78%,54%)}.Header-navbar{align-items:center;display:flex;justify-content:space-between;height:5.9375rem;width:100%}.Header-navbar-logo-container{margin-left:1.375rem}.Header-navbar-menu-button{margin-right:1.625rem}.Header-navbar-menu-item{display:none;list-style:none}.Search{align-items:center;display:flex;flex-direction:column;margin:0 1.625rem 0 1.375rem;text-align:center}.Search-title{margin-top:.4375rem;color:#562ee5;font-size:1.5625rem;font-weight:700;line-height:2.0625rem;text-align:center}.Search-title-newLine{display:inline-block}.Search-title-highlight{color:#50e2c3}.Search-img{margin-top:1.9375rem;width:17.0625rem}.Search-searchBar{align-items:center;display:flex;justify-content:space-between;height:3.125rem;width:100%;border:1px solid hsl(253,78%,54%);border-radius:1.6875rem}.Search-searchBar-img{margin-right:1.25rem}.Search-searchBar-input{margin-left:3.4375rem;color:#000;font-family:Roboto,sans-serif;font-size:1rem;text-align:left}.Search-wrapper{align-items:flex-start;display:flex;justify-content:space-evenly;flex-wrap:wrap;width:100%;max-width:100%}.Search-wrapper-title{margin:2.5rem 0;color:#562ee5;font-size:1.5625rem;font-weight:700;line-height:2.0625rem;text-align:center}.Search-result{width:40%;height:7.5rem;position:relative;max-width:16.25rem;margin-bottom:1.5625rem}.Search-result-gif{position:absolute;top:0;left:0;width:16.25rem;height:7.5rem}.Search-result-gif-overlay{display:none;flex-direction:column;justify-content:space-between;position:absolute;top:0;left:0;width:16.25rem;height:7.5rem;padding:.4375rem;background-color:#572ee599}.Search-result-gif-overlay-title{color:#fff;font-size:1rem;font-weight:700}.Search-result-gif-overlay-wrapper{align-self:flex-end;display:flex;justify-content:space-between;width:50%}.Search-result:hover div{display:flex}.Search-trending{margin-top:1.9375rem}.Favourites{display:none}.Footer{display:flex;flex-direction:column;justify-content:space-between;align-items:center;width:100%;border-bottom:5px solid hsl(253,78%,54%)}.Footer-social{display:flex;flex-direction:column;align-items:center;width:100%}.Footer-social-text{margin-bottom:1.5rem}.Footer-social-network{align-items:center;display:flex;justify-content:space-between;max-width:8.75rem}.Footer-social-icon{margin:0 .625rem}.Footer-copyright{margin:2.875rem 0 1.4375rem} diff --git a/docs/assets/index-aW7PzaYF.js b/docs/assets/index-aW7PzaYF.js deleted file mode 100644 index 3fb5e68..0000000 --- a/docs/assets/index-aW7PzaYF.js +++ /dev/null @@ -1,40 +0,0 @@ -(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.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 t(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=t(l);fetch(l.href,i)}})();function ac(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bu={exports:{}},nl={},Wu={exports:{}},L={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Kt=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 Sc(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 it(e,n,t){this.props=e,this.context=n,this.refs=Ku,this.updater=t||Gu}it.prototype.isReactComponent={};it.prototype.setState=function(e,n){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,n,"setState")};it.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Yu(){}Yu.prototype=it.prototype;function Ui(e,n,t){this.props=e,this.context=n,this.refs=Ku,this.updater=t||Gu}var Hi=Ui.prototype=new Yu;Hi.constructor=Ui;Zu(Hi,it.prototype);Hi.isPureReactComponent=!0;var Ro=Array.isArray,Xu=Object.prototype.hasOwnProperty,Qi={current:null},Ju={key:!0,ref:!0,__self:!0,__source:!0};function qu(e,n,t){var r,l={},i=null,o=null;if(n!=null)for(r in n.ref!==void 0&&(o=n.ref),n.key!==void 0&&(i=""+n.key),n)Xu.call(n,r)&&!Ju.hasOwnProperty(r)&&(l[r]=n[r]);var u=arguments.length-2;if(u===1)l.children=t;else if(1>>1,Y=x[B];if(0>>1;Bl(wl,P))ynl(er,wl)?(x[B]=er,x[yn]=P,B=yn):(x[B]=wl,x[vn]=P,B=vn);else if(ynl(er,P))x[B]=er,x[yn]=P,B=yn;else break e}}return z}function l(x,z){var P=x.sortIndex-z.sortIndex;return P!==0?P:x.id-z.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,S=!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 z=t(c);z!==null;){if(z.callback===null)r(c);else if(z.startTime<=x)r(c),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(c)}}function g(x){if(S=!1,d(x),!w)if(t(s)!==null)w=!0,vl(C);else{var z=t(c);z!==null&&yl(g,z.startTime-x)}}function C(x,z){w=!1,S&&(S=!1,f(_),_=-1),y=!0;var P=p;try{for(d(z),m=t(s);m!==null&&(!(m.expirationTime>z)||x&&!Ne());){var B=m.callback;if(typeof B=="function"){m.callback=null,p=m.priorityLevel;var Y=B(m.expirationTime<=z);z=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===t(s)&&r(s),d(z)}else r(s);m=t(s)}if(m!==null)var bt=!0;else{var vn=t(c);vn!==null&&yl(g,vn.startTime-z),bt=!1}return bt}finally{m=null,p=P,y=!1}}var E=!1,I=null,_=-1,V=5,T=-1;function Ne(){return!(e.unstable_now()-Tx||125B?(x.sortIndex=P,n(c,x),t(s)===null&&x===t(c)&&(S?(f(_),_=-1):S=!0,yl(g,P-B))):(x.sortIndex=Y,n(s,x),w||y||(w=!0,vl(C))),x},e.unstable_shouldYield=Ne,e.unstable_wrapCallback=function(x){var z=p;return function(){var P=p;p=z;try{return x.apply(this,arguments)}finally{p=P}}}})(rs);ts.exports=rs;var Mc=ts.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Dc=tn,ve=Mc;function v(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"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,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Oc(e,n,t,r){if(n===null||typeof n>"u"||Rc(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function se(e,n,t,r,l,i,o){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,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 n=e[0];ee[n]=new se(n,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 n=e.replace(Vi,Bi);ee[n]=new se(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Vi,Bi);ee[n]=new se(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Vi,Bi);ee[n]=new se(n,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,n,t,r){var l=ee.hasOwnProperty(n)?ee[n]: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{Cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?yt(e):""}function Fc(e){switch(e.tag){case 5:return yt(e.type);case 16:return yt("Lazy");case 13:return yt("Suspense");case 19:return yt("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 jn:return"Fragment";case An: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 n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ki:return n=e.displayName||null,n!==null?n:Jl(e.type)||"Memo";case Xe:n=e._payload,e=e._init;try{return Jl(e(n))}catch{}}return null}function Uc(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Jl(n);case 8:return n===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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function dn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ss(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Hc(e){var n=ss(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function rr(e){e._valueTracker||(e._valueTracker=Hc(e))}function as(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=ss(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Lr(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,n){var t=n.checked;return Q({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Qo(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=dn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function cs(e,n){n=n.checked,n!=null&&Wi(e,"checked",n,!1)}function bl(e,n){cs(e,n);var t=dn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?ei(e,n.type,t):n.hasOwnProperty("defaultValue")&&ei(e,n.type,dn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function $o(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function ei(e,n,t){(n!=="number"||Lr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var wt=Array.isArray;function Gn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=lr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Mt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Ct={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},Qc=["Webkit","ms","Moz","O"];Object.keys(Ct).forEach(function(e){Qc.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Ct[n]=Ct[e]})});function ms(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Ct.hasOwnProperty(e)&&Ct[e]?(""+n).trim():n+"px"}function hs(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=ms(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var $c=Q({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,n){if(n){if($c[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(v(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(v(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(v(61))}if(n.style!=null&&typeof n.style!="object")throw Error(v(62))}}function li(e,n){if(e.indexOf("-")===-1)return typeof n.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,Zn=null,Kn=null;function Wo(e){if(e=Jt(e)){if(typeof oi!="function")throw Error(v(280));var n=e.stateNode;n&&(n=ol(n),oi(e.stateNode,e.type,n))}}function gs(e){Zn?Kn?Kn.push(e):Kn=[e]:Zn=e}function vs(){if(Zn){var e=Zn,n=Kn;if(Kn=Zn=null,Wo(e),n)for(e=0;e>>=0,e===0?32:31-(bc(e)/ef|0)|0}var ir=64,or=4194304;function St(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 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,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=t&268435455;if(o!==0){var u=o&~l;u!==0?r=St(u):(i&=o,i!==0&&(r=St(i)))}else o=t&~l,o!==0?r=St(o):i!==0&&(r=St(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Yt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Te(n),e[n]=t}function lf(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Et),eu=" ",nu=!1;function Os(e,n){switch(e){case"keyup":return Df.indexOf(n.keyCode)!==-1;case"keydown":return n.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 Rn=!1;function jf(e,n){switch(e){case"compositionend":return Fs(n);case"keypress":return n.which!==32?null:(nu=!0,eu);case"textInput":return e=n.data,e===eu&&nu?null:e;default:return null}}function Rf(e,n){if(Rn)return e==="compositionend"||!ro&&Os(e,n)?(e=js(),kr=eo=en=null,Rn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=iu(t)}}function $s(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?$s(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Vs(){for(var e=window,n=Lr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Lr(e.document)}return n}function lo(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Wf(e){var n=Vs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&$s(t.ownerDocument.documentElement,t)){if(r!==null&&lo(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.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(t,i);var o=ou(t,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(o.node,o.offset)):(n.setEnd(o.node,o.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,On=null,di=null,Nt=null,pi=!1;function uu(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;pi||On==null||On!==Lr(r)||(r=On,"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}),Nt&&Ft(Nt,r)||(Nt=r,r=Or(di,"onSelect"),0Hn||(e.current=wi[Hn],wi[Hn]=null,Hn--)}function A(e,n){Hn++,wi[Hn]=e.current,e.current=n}var pn={},le=hn(pn),fe=hn(!1),Nn=pn;function bn(e,n){var t=e.type.contextTypes;if(!t)return pn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function de(e){return e=e.childContextTypes,e!=null}function Ur(){R(fe),R(le)}function mu(e,n,t){if(le.current!==pn)throw Error(v(168));A(le,n),A(fe,t)}function qs(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(v(108,Uc(e)||"Unknown",l));return Q({},t,r)}function Hr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,Nn=le.current,A(le,e),A(fe,fe.current),!0}function hu(e,n,t){var r=e.stateNode;if(!r)throw Error(v(169));t?(e=qs(e,n,Nn),r.__reactInternalMemoizedMergedChildContext=e,R(fe),R(le),A(le,e)):R(fe),A(fe,t)}var He=null,ul=!1,Ol=!1;function bs(e){He===null?He=[e]:He.push(e)}function rd(e){ul=!0,bs(e)}function gn(){if(!Ol&&He!==null){Ol=!0;var e=0,n=D;try{var t=He;for(D=1;e>=o,l-=o,Qe=1<<32-Te(n)+l|t<_?(V=I,I=null):V=I.sibling;var T=p(f,I,d[_],g);if(T===null){I===null&&(I=V);break}e&&I&&T.alternate===null&&n(f,I),a=i(T,a,_),E===null?C=T:E.sibling=T,E=T,I=V}if(_===d.length)return t(f,I),F&&wn(f,_),C;if(I===null){for(;__?(V=I,I=null):V=I.sibling;var Ne=p(f,I,T.value,g);if(Ne===null){I===null&&(I=V);break}e&&I&&Ne.alternate===null&&n(f,I),a=i(Ne,a,_),E===null?C=Ne:E.sibling=Ne,E=Ne,I=V}if(T.done)return t(f,I),F&&wn(f,_),C;if(I===null){for(;!T.done;_++,T=d.next())T=m(f,T.value,g),T!==null&&(a=i(T,a,_),E===null?C=T:E.sibling=T,E=T);return F&&wn(f,_),C}for(I=r(f,I);!T.done;_++,T=d.next())T=y(I,f,_,T.value,g),T!==null&&(e&&T.alternate!==null&&I.delete(T.key===null?_:T.key),a=i(T,a,_),E===null?C=T:E.sibling=T,E=T);return e&&I.forEach(function(st){return n(f,st)}),F&&wn(f,_),C}function O(f,a,d,g){if(typeof d=="object"&&d!==null&&d.type===jn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case tr:e:{for(var C=d.key,E=a;E!==null;){if(E.key===C){if(C=d.type,C===jn){if(E.tag===7){t(f,E.sibling),a=l(E,d.props.children),a.return=f,f=a;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Xe&&yu(C)===E.type){t(f,E.sibling),a=l(E,d.props),a.ref=ht(f,E,d),a.return=f,f=a;break e}t(f,E);break}else n(f,E);E=E.sibling}d.type===jn?(a=In(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=ht(f,a,d),g.return=f,f=g)}return o(f);case An:e:{for(E=d.key;a!==null;){if(a.key===E)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{t(f,a);break}else n(f,a);a=a.sibling}a=Wl(d,f.mode,g),a.return=f,f=a}return o(f);case Xe:return E=d._init,O(f,a,E(d._payload),g)}if(wt(d))return w(f,a,d,g);if(ct(d))return S(f,a,d,g);pr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(f,a.sibling),a=l(a,d),a.return=f,f=a):(t(f,a),a=Bl(d,f.mode,g),a.return=f,f=a),o(f)):t(f,a)}return O}var nt=ra(!0),la=ra(!1),Vr=hn(null),Br=null,Vn=null,so=null;function ao(){so=Vn=Br=null}function co(e){var n=Vr.current;R(Vr),e._currentValue=n}function Ci(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Xn(e,n){Br=e,so=Vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(ce=!0),e.firstContext=null)}function Ee(e){var n=e._currentValue;if(so!==e)if(e={context:e,memoizedValue:n,next:null},Vn===null){if(Br===null)throw Error(v(308));Vn=e,Br.dependencies={lanes:0,firstContext:e}}else Vn=Vn.next=e;return n}var Cn=null;function fo(e){Cn===null?Cn=[e]:Cn.push(e)}function ia(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,fo(n)):(t.next=l.next,l.next=t),n.interleaved=t,Ge(e,r)}function Ge(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Je=!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,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ve(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function sn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,M&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Ge(e,t)}return l=r.interleaved,l===null?(n.next=n,fo(r)):(n.next=l.next,l.next=n),r.interleaved=n,Ge(e,t)}function xr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Ji(e,t)}}function wu(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var o={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?l=i=o:i=i.next=o,t=t.next}while(t!==null);i===null?l=i=n:i=i.next=n}else l=i=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Wr(e,n,t,r){var l=e.updateQueue;Je=!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,S=u;switch(p=n,y=t,S.tag){case 1:if(w=S.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=S.payload,p=typeof w=="function"?w.call(y,m,p):w,p==null)break e;m=Q({},m,p);break e;case 2:Je=!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,n=l.shared.interleaved,n!==null){l=n;do o|=l.lane,l=l.next;while(l!==n)}else i===null&&(l.shared.lanes=0);Pn|=o,e.lanes=o,e.memoizedState=m}}function Su(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=Ul.transition;Ul.transition={};try{e(!1),n()}finally{D=t,Ul.transition=r}}function xa(){return Ie().memoizedState}function ud(e,n,t){var r=cn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Ea(e))Ia(n,t);else if(t=ia(e,n,t,r),t!==null){var l=oe();Me(t,e,r,l),Na(t,n,r)}}function sd(e,n,t){var r=cn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Ea(e))Ia(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var o=n.lastRenderedState,u=i(o,t);if(l.hasEagerState=!0,l.eagerState=u,De(u,o)){var s=n.interleaved;s===null?(l.next=l,fo(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=ia(e,n,l,r),t!==null&&(l=oe(),Me(t,e,r,l),Na(t,n,r))}}function Ea(e){var n=e.alternate;return e===H||n!==null&&n===H}function Ia(e,n){_t=Zr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Na(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Ji(e,t)}}var Kr={readContext:Ee,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},ad={readContext:Ee,useCallback:function(e,n){return je().memoizedState=[e,n===void 0?null:n],e},useContext:Ee,useEffect:Cu,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Ir(4194308,4,ya.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Ir(4194308,4,e,n)},useInsertionEffect:function(e,n){return Ir(4,2,e,n)},useMemo:function(e,n){var t=je();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=je();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=ud.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var n=je();return e={current:e},n.memoizedState=e},useState:ku,useDebugValue:ko,useDeferredValue:function(e){return je().memoizedState=e},useTransition:function(){var e=ku(!1),n=e[0];return e=od.bind(null,e[1]),je().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=H,l=je();if(F){if(t===void 0)throw Error(v(407));t=t()}else{if(t=n(),J===null)throw Error(v(349));zn&30||ca(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,Cu(da.bind(null,r,i,e),[e]),r.flags|=2048,Gt(9,fa.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=je(),n=J.identifierPrefix;if(F){var t=$e,r=Qe;t=(r&~(1<<32-Te(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Bt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(t,{is:r.is}):(e=o.createElement(t),t==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,t),e[Re]=n,e[Qt]=r,Ra(e,n,!1,!1),n.stateNode=e;e:{switch(o=li(t,r),t){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;llt&&(n.flags|=128,r=!0,gt(i,!1),n.lanes=4194304)}else{if(!r)if(e=Gr(o),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),gt(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!F)return te(n),null}else 2*W()-i.renderingStartTime>lt&&t!==1073741824&&(n.flags|=128,r=!0,gt(i,!1),n.lanes=4194304);i.isBackwards?(o.sibling=n.child,n.child=o):(t=i.last,t!==null?t.sibling=o:n.child=o,i.last=o)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=W(),n.sibling=null,t=U.current,A(U,r?t&1|2:t&1),n):(te(n),null);case 22:case 23:return _o(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?me&1073741824&&(te(n),n.subtreeFlags&6&&(n.flags|=8192)):te(n),null;case 24:return null;case 25:return null}throw Error(v(156,n.tag))}function vd(e,n){switch(oo(n),n.tag){case 1:return de(n.type)&&Ur(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return tt(),R(fe),R(le),go(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return ho(n),null;case 13:if(R(U),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(v(340));et()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return R(U),null;case 4:return tt(),null;case 10:return co(n.type._context),null;case 22:case 23:return _o(),null;case 24:return null;default:return null}}var hr=!1,re=!1,yd=typeof WeakSet=="function"?WeakSet:Set,k=null;function Bn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){$(e,n,r)}else t.current=null}function Ti(e,n,t){try{t()}catch(r){$(e,n,r)}}var Du=!1;function wd(e,n){if(mi=jr,e=Vs(),lo(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var o=0,u=-1,s=-1,c=0,h=0,m=e,p=null;n:for(;;){for(var y;m!==t||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 n;if(p===t&&++c===l&&(u=o),p===i&&++h===r&&(s=o),(y=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=y}t=u===-1||s===-1?null:{start:u,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(hi={focusedElem:e,selectionRange:t},jr=!1,k=n;k!==null;)if(n=k,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,k=e;else for(;k!==null;){n=k;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,O=w.memoizedState,f=n.stateNode,a=f.getSnapshotBeforeUpdate(n.elementType===n.type?S:ze(n.type,S),O);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.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){$(n,n.return,g)}if(e=n.sibling,e!==null){e.return=n.return,k=e;break}k=n.return}return w=Du,Du=!1,w}function zt(e,n,t){var r=n.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(n,t,i)}l=l.next}while(l!==r)}}function cl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Mi(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Ua(e){var n=e.alternate;n!==null&&(e.alternate=null,Ua(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[Qt],delete n[yi],delete n[nd],delete n[td])),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,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Fr));else if(r!==4&&(e=e.child,e!==null))for(Di(e,n,t),e=e.sibling;e!==null;)Di(e,n,t),e=e.sibling}function Ai(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ai(e,n,t),e=e.sibling;e!==null;)Ai(e,n,t),e=e.sibling}var q=null,Pe=!1;function Ye(e,n,t){for(t=t.child;t!==null;)Qa(e,n,t),t=t.sibling}function Qa(e,n,t){if(Oe&&typeof Oe.onCommitFiberUnmount=="function")try{Oe.onCommitFiberUnmount(tl,t)}catch{}switch(t.tag){case 5:re||Bn(t,n);case 6:var r=q,l=Pe;q=null,Ye(e,n,t),q=r,Pe=l,q!==null&&(Pe?(e=q,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):q.removeChild(t.stateNode));break;case 18:q!==null&&(Pe?(e=q,t=t.stateNode,e.nodeType===8?Rl(e.parentNode,t):e.nodeType===1&&Rl(e,t),Rt(e)):Rl(q,t.stateNode));break;case 4:r=q,l=Pe,q=t.stateNode.containerInfo,Pe=!0,Ye(e,n,t),q=r,Pe=l;break;case 0:case 11:case 14:case 15:if(!re&&(r=t.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(t,n,o),l=l.next}while(l!==r)}Ye(e,n,t);break;case 1:if(!re&&(Bn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){$(t,n,u)}Ye(e,n,t);break;case 21:Ye(e,n,t);break;case 22:t.mode&1?(re=(r=re)||t.memoizedState!==null,Ye(e,n,t),re=r):Ye(e,n,t);break;default:Ye(e,n,t)}}function ju(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new yd),n.forEach(function(r){var l=zd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function _e(e,n){var t=n.deletions;if(t!==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*kd(r/1960))-r,10e?16:e,nn===null)var r=!1;else{if(e=nn,nn=null,Jr=0,M&6)throw Error(v(331));var l=M;for(M|=4,k=e.current;k!==null;){var i=k,o=i.child;if(k.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sW()-Io?En(e,0):Eo|=t),pe(e,n)}function Ya(e,n){n===0&&(e.mode&1?(n=or,or<<=1,!(or&130023424)&&(or=4194304)):n=1);var t=oe();e=Ge(e,n),e!==null&&(Yt(e,n,t),pe(e,t))}function _d(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),Ya(e,t)}function zd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(v(314))}r!==null&&r.delete(n),Ya(e,t)}var Xa;Xa=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||fe.current)ce=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return ce=!1,hd(e,n,t);ce=!!(e.flags&131072)}else ce=!1,F&&n.flags&1048576&&ea(n,$r,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Nr(e,n),e=n.pendingProps;var l=bn(n,le.current);Xn(n,t),l=yo(null,n,r,e,l,t);var i=wo();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,de(r)?(i=!0,Hr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,po(n),l.updater=al,n.stateNode=l,l._reactInternals=n,Ei(n,r,e,t),n=_i(null,n,r,!0,i,t)):(n.tag=0,F&&i&&io(n),ie(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Nr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Ld(r),e=ze(r,e),l){case 0:n=Ni(null,n,r,e,t);break e;case 1:n=Lu(null,n,r,e,t);break e;case 11:n=zu(null,n,r,e,t);break e;case 14:n=Pu(null,n,r,ze(r.type,e),t);break e}throw Error(v(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),Ni(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),Lu(e,n,r,l,t);case 3:e:{if(Da(n),e===null)throw Error(v(387));r=n.pendingProps,i=n.memoizedState,l=i.element,oa(e,n),Wr(n,r,null,t);var o=n.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=rt(Error(v(423)),n),n=Tu(e,n,r,t,l);break e}else if(r!==l){l=rt(Error(v(424)),n),n=Tu(e,n,r,t,l);break e}else for(he=un(n.stateNode.containerInfo.firstChild),ge=n,F=!0,Le=null,t=la(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(et(),r===l){n=Ze(e,n,t);break e}ie(e,n,r,t)}n=n.child}return n;case 5:return ua(n),e===null&&ki(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,gi(r,l)?o=null:i!==null&&gi(r,i)&&(n.flags|=32),Ma(e,n),ie(e,n,o,t),n.child;case 6:return e===null&&ki(n),null;case 13:return Aa(e,n,t);case 4:return mo(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=nt(n,null,r,t):ie(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),zu(e,n,r,l,t);case 7:return ie(e,n,n.pendingProps,t),n.child;case 8:return ie(e,n,n.pendingProps.children,t),n.child;case 12:return ie(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,o=l.value,A(Vr,r._currentValue),r._currentValue=o,i!==null)if(De(i.value,o)){if(i.children===l.children&&!fe.current){n=Ze(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);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=Ve(-1,t&-t),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|=t,s=i.alternate,s!==null&&(s.lanes|=t),Ci(i.return,t,n),u.lanes|=t;break}s=s.next}}else if(i.tag===10)o=i.type===n.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(v(341));o.lanes|=t,u=o.alternate,u!==null&&(u.lanes|=t),Ci(o,t,n),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===n){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ie(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Xn(n,t),l=Ee(l),r=r(l),n.flags|=1,ie(e,n,r,t),n.child;case 14:return r=n.type,l=ze(r,n.pendingProps),l=ze(r.type,l),Pu(e,n,r,l,t);case 15:return La(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),Nr(e,n),n.tag=1,de(r)?(e=!0,Hr(n)):e=!1,Xn(n,t),_a(n,r,l),Ei(n,r,l,t),_i(null,n,r,!0,e,t);case 19:return ja(e,n,t);case 22:return Ta(e,n,t)}throw Error(v(156,n.tag))};function Ja(e,n){return Es(e,n)}function Pd(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,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 Ce(e,n,t,r){return new Pd(e,n,t,r)}function Po(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ld(e){if(typeof e=="function")return Po(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zi)return 11;if(e===Ki)return 14}return 2}function fn(e,n){var t=e.alternate;return t===null?(t=Ce(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Pr(e,n,t,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 jn:return In(t.children,l,i,n);case Gi:o=8,l|=8;break;case Kl:return e=Ce(12,t,n,l|2),e.elementType=Kl,e.lanes=i,e;case Yl:return e=Ce(13,t,n,l),e.elementType=Yl,e.lanes=i,e;case Xl:return e=Ce(19,t,n,l),e.elementType=Xl,e.lanes=i,e;case us:return dl(t,l,i,n);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 Xe:o=16,r=null;break e}throw Error(v(130,e==null?e:typeof e,""))}return n=Ce(o,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function In(e,n,t,r){return e=Ce(7,e,r,n),e.lanes=t,e}function dl(e,n,t,r){return e=Ce(22,e,r,n),e.elementType=us,e.lanes=t,e.stateNode={isHidden:!1},e}function Bl(e,n,t){return e=Ce(6,e,null,n),e.lanes=t,e}function Wl(e,n,t){return n=Ce(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Td(e,n,t,r,l){this.tag=n,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 Lo(e,n,t,r,l,i,o,u,s){return e=new Td(e,n,t,u,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=Ce(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},po(i),e}function Md(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(nc)}catch(e){console.error(e)}}nc(),ns.exports=ye;var Od=ns.exports,Vu=Od;Gl.createRoot=Vu.createRoot,Gl.hydrateRoot=Vu.hydrateRoot;const Fd="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjUzcHgiIGhlaWdodD0iNDlweCIgdmlld0JveD0iMCAwIDUzIDQ5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggNjMuMSAoOTI0NTIpIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPg0KICAgIDx0aXRsZT5sb2dvLW1vYmlsZTwvdGl0bGU+DQogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+DQogICAgPGRlZnM+DQogICAgICAgIDxwb2x5Z29uIGlkPSJwYXRoLTEiIHBvaW50cz0iMC44MzczNzkyNzIgMC45NDMzNDM0ODYgNDguNTI5NjEwNiAwLjk0MzM0MzQ4NiA0OC41Mjk2MTA2IDIwLjQ1OTk0NSAwLjgzNzM3OTI3MiAyMC40NTk5NDUiPjwvcG9seWdvbj4NCiAgICA8L2RlZnM+DQogICAgPGcgaWQ9IkdJRk9TIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4NCiAgICAgICAgPGcgaWQ9IjAwLVVJLUtpdCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM0Ny4wMDAwMDAsIC0yNDYzLjAwMDAwMCkiPg0KICAgICAgICAgICAgPGcgaWQ9ImxvZ28tbW9iaWxlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNDcuMDAwMDAwLCAyNDYzLjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC01Ij4NCiAgICAgICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9IkZpbGwtMSIgZmlsbD0iIzVFRDdDNiIgcG9pbnRzPSIwIC0wLjAwMDIgMCA0OC43OTEzMDM5IDQ4Ljc5MTUwMzkgNDguNzkxMzAzOSA0OC43OTE1MDM5IDM4LjMzNTk4MTYgNDUuMzA2Mzk2NSAzOC4zMzU5ODE2IDQ1LjMwNjM5NjUgNDUuMzA2MTk2NSAzLjQ4NTEwNzQyIDQ1LjMwNjE5NjUgMy40ODUxMDc0MiAzLjQ4NDkwNzQyIDM0Ljg1MTA3NDIgMy40ODQ5MDc0MiAzNC44NTEwNzQyIDEzLjk0MDIyOTcgNDUuMzA2Mzk2NSAxMy45NDAyMjk3IDQ1LjMwNjM5NjUgMjAuOTExMTQxNiA0OC43OTE1MDM5IDIwLjkxMTE0MTYgNDguNzkxNTAzOSAxMC40NTUxMjIzIDM4LjMzNjE4MTYgLTAuMDAwMiI+PC9wb2x5Z29uPg0KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNy4wMDAwMDAsIDE2LjAwMDAwMCkiPg0KICAgICAgICAgICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPg0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+DQogICAgICAgICAgICAgICAgICAgICAgICA8L21hc2s+DQogICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iQ2xpcC0zIj48L2c+DQogICAgICAgICAgICAgICAgICAgICAgICA8dGV4dCBpZD0iR0lGT1MiIG1hc2s9InVybCgjbWFzay0yKSIgZm9udC1mYW1pbHk9Ik1vbnRzZXJyYXQsc2Fucy1zZXJpZiIgZm9udC1zaXplPSIxNCIgZm9udC13ZWlnaHQ9IjcwMCIgZmlsbD0iIzU3MkVFNSI+DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRzcGFuIHg9IjEiIHk9IjIwIj5HSUZPUzwvdHNwYW4+DQogICAgICAgICAgICAgICAgICAgICAgICA8L3RleHQ+DQogICAgICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgICAgICA8L2c+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=",Ud="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",Hd=()=>N.jsx("header",{className:"Header",children:N.jsxs("nav",{className:"Header-navbar",children:[N.jsx("div",{className:"Header-navbar-logo-container",children:N.jsx("img",{src:Fd,alt:"logo",className:"Header-navbar-logo-img"})}),N.jsxs("div",{className:"Header-navbar-menu",children:[N.jsx("button",{className:"Header-navbar-menu-button",children:N.jsx("img",{src:Ud,alt:"boton menu",className:"Header-navbar-menu-icon","aria-label":"menu de navegacion"})}),N.jsxs("ul",{className:"Header-navbar-menu-list",children:[N.jsx("li",{className:"Header-navbar-menu-item",children:N.jsx("a",{href:"",children:"Dark Mode"})}),N.jsx("li",{className:"Header-navbar-menu-item",children:N.jsx("a",{href:"",children:"Favourites"})}),N.jsx("li",{className:"Header-navbar-menu-item",children:N.jsx("a",{href:"",children:"My gifos"})})]})]})]})}),Qd="/assets/search-illustration-CvuEBC50.svg",$d="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";var tc={exports:{}},Vd="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Bd=Vd,Wd=Bd;function rc(){}function lc(){}lc.resetWarningCache=rc;var Gd=function(){function e(r,l,i,o,u,s){if(s!==Wd){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 n(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:lc,resetWarningCache:rc};return t.PropTypes=t,t};tc.exports=Gd();var el=tc.exports;const ic=({onNewCategory:e})=>{const[n,t]=tn.useState(""),r=i=>{t(i.target.value)},l=i=>{i.preventDefault(),!(n.trim().length<=1)&&(e(n.trim()),t(""))};return N.jsxs("section",{className:"Search",children:[N.jsxs("h1",{className:"Search-title",children:["Get inspired, search,"," ",N.jsx("span",{className:"Search-title-newLine",children:"save, and create the "}),N.jsxs("span",{className:"Search-title-newLine",children:["best ",N.jsx("span",{className:"Search-title-highlight",children:"GIFOS"})]})]}),N.jsx("img",{src:Qd,alt:"illustration",className:"Search-img"}),N.jsxs("form",{className:"Search-searchBar",onSubmit:l,"aria-label":"search",children:[N.jsx("label",{htmlFor:"searchbar",children:N.jsx("input",{type:"text",placeholder:"Search GIFs and more",value:n,onChange:r,className:"Search-searchBar-input"})}),N.jsx("img",{src:$d,alt:"gifos illustration",className:"Search-searchBar-img"})]}),N.jsxs("div",{className:"Search-trending",children:[N.jsx("h4",{className:"Search-trending-title",children:"Trending:"}),N.jsx("div",{className:"Search-trending-topics"})]})]})};ic.propTypes={onNewCategory:el.PropTypes.func.isRequired};const oc=({title:e,url:n})=>N.jsxs("div",{className:"Search-result",children:[N.jsx("img",{src:n,alt:e,className:"Search-result-gif"}),N.jsx("div",{className:"Search-result-gif-overlay",children:N.jsx("p",{children:e})})]});oc.propTypes={title:el.PropTypes.string.isRequired,url:el.PropTypes.string.isRequired};const Zd="zM4AIGGgjSI9Y0dt8uMRODn1olAL2cKP",Kd=10,Yd=async e=>{const n=`https://api.giphy.com/v1/gifs/search?api_key=${Zd}&q=${e}&limit=${Kd}`,t=await fetch(n),{data:r}=await t.json();return r.map(i=>({id:i.id,title:i.title,url:i.images.downsized_medium.url}))},Xd=e=>{const[n,t]=tn.useState([]),[r,l]=tn.useState(!0),i=async()=>{const o=await Yd(e);t(o),l(!1)};return tn.useEffect(()=>{i()},[]),{gifs:n,isLoading:r}},uc=({category:e})=>{const{gifs:n,isLoading:t}=Xd(e);return N.jsxs(N.Fragment,{children:[N.jsx("h3",{className:"Search-wrapper-title",children:e}),t&&N.jsx("h2",{children:"Loading..."}),N.jsx("div",{className:"Search-wrapper",children:n==null?void 0:n.map(r=>N.jsx(oc,{...r},r.id))},e)]})};uc.propTypes={category:el.PropTypes.string.isRequired};const Jd="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",qd="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",bd=()=>{const e=new Date().getFullYear();return N.jsxs("footer",{className:"Footer",children:[N.jsxs("div",{className:"Footer-social",children:[N.jsx("span",{className:"Footer-social-text",children:"Share:"}),N.jsxs("span",{className:"Footer-social-networks",children:[N.jsx("img",{src:Jd,alt:"facebook",className:"Footer-social-icon"}),N.jsx("img",{src:qd,alt:"twitter",className:"Footer-social-icon"}),N.jsx("img",{src:"assets/icon_instagram.svg",alt:"",className:"Footer-social-icon"})]})]}),N.jsxs("div",{className:"Footer-copyright",children:["© GIFOS ",e,". All rights reserved."]})]})},ep=()=>{const[e,n]=tn.useState(["One Punch"]),t=r=>{e.includes(r)||n([r,...e])};return N.jsxs(N.Fragment,{children:[N.jsx(Hd,{}),N.jsxs("main",{className:"Main",children:[N.jsx(ic,{onNewCategory:t}),e.map(r=>N.jsx(uc,{category:r},r))]}),N.jsx(bd,{})]})};Gl.createRoot(document.getElementById("root")).render(N.jsx(Ic.StrictMode,{children:N.jsx(ep,{})})); diff --git a/docs/index.html b/docs/index.html index f11d822..7f74b4c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5,8 +5,8 @@ GIFOS - - + +