rfesarfwe
C||125K?(C.sortIndex=R,t(c,C),n(u)===null&&C===n(c)&&(k?(f(z),z=-1):k=!0,Ol(v,R-K))):(C.sortIndex=J,t(u,C),w||x||(w=!0,Ml(S))),C},e.unstable_shouldYield=ze,e.unstable_wrapCallback=function(C){var L=g;return function(){var R=g;g=L;try{return C.apply(this,arguments)}finally{g=R}}}})(Ia);Ta.exports=Ia;var wd=Ta.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 kd=E,we=wd;function y(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"),uo=Object.prototype.hasOwnProperty,Sd=/^[: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]*$/,is={},ss={};function Nd(e){return uo.call(ss,e)?!0:uo.call(is,e)?!1:Sd.test(e)?ss[e]=!0:(is[e]=!0,!1)}function jd(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 Cd(e,t,n,r){if(t===null||typeof t>"u"||jd(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 ce(e,t,n,r,l,o,i){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=o,this.removeEmptyString=i}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ce(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){ne[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var ci=/[\-:]([a-z])/g;function di(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(ci,di);ne[t]=new ce(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(ci,di);ne[t]=new ce(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(ci,di);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function fi(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2s||l[i]!==o[s]){var u=` `+l[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=s);break}}}finally{Al=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?En(e):""}function Ed(e){switch(e.tag){case 5:return En(e.type);case 16:return En("Lazy");case 13:return En("Suspense");case 19:return En("SuspenseList");case 0:case 2:case 15:return e=$l(e.type,!1),e;case 11:return e=$l(e.type.render,!1),e;case 1:return e=$l(e.type,!0),e;default:return""}}function mo(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 $t:return"Fragment";case At:return"Portal";case co:return"Profiler";case pi:return"StrictMode";case fo:return"Suspense";case po:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Fa:return(e.displayName||"Context")+".Consumer";case Oa:return(e._context.displayName||"Context")+".Provider";case mi:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case hi:return t=e.displayName||null,t!==null?t:mo(e.type)||"Memo";case be:t=e._payload,e=e._init;try{return mo(e(t))}catch{}}return null}function _d(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 mo(t);case 8:return t===pi?"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 ht(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ua(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Pd(e){var t=Ua(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function fr(e){e._valueTracker||(e._valueTracker=Pd(e))}function Aa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ua(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $r(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 ho(e,t){var n=t.checked;return V({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function us(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ht(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 $a(e,t){t=t.checked,t!=null&&fi(e,"checked",t,!1)}function go(e,t){$a(e,t);var n=ht(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")?vo(e,t.type,n):t.hasOwnProperty("defaultValue")&&vo(e,t.type,ht(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function cs(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 vo(e,t,n){(t!=="number"||$r(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _n=Array.isArray;function Jt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=pr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function $n(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ln={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},zd=["Webkit","ms","Moz","O"];Object.keys(Ln).forEach(function(e){zd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ln[t]=Ln[e]})});function Wa(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ln.hasOwnProperty(e)&&Ln[e]?(""+t).trim():t+"px"}function Qa(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Wa(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Ld=V({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 wo(e,t){if(t){if(Ld[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(y(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(y(61))}if(t.style!=null&&typeof t.style!="object")throw Error(y(62))}}function ko(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 So=null;function gi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var No=null,qt=null,bt=null;function ps(e){if(e=ir(e)){if(typeof No!="function")throw Error(y(280));var t=e.stateNode;t&&(t=vl(t),No(e.stateNode,e.type,t))}}function Ka(e){qt?bt?bt.push(e):bt=[e]:qt=e}function Ya(){if(qt){var e=qt,t=bt;if(bt=qt=null,ps(e),t)for(e=0;e>>=0,e===0?32:31-(Bd(e)/Hd|0)|0}var mr=64,hr=4194304;function Pn(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 Wr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~l;s!==0?r=Pn(s):(o&=i,o!==0&&(r=Pn(o)))}else i=n&~l,i!==0?r=Pn(i):o!==0&&(r=Pn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&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 lr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Me(t),e[t]=n}function Kd(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=Tn),Ss=" ",Ns=!1;function pu(e,t){switch(e){case"keyup":return kf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function mu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Bt=!1;function Nf(e,t){switch(e){case"compositionend":return mu(t);case"keypress":return t.which!==32?null:(Ns=!0,Ss);case"textInput":return e=t.data,e===Ss&&Ns?null:e;default:return null}}function jf(e,t){if(Bt)return e==="compositionend"||!ji&&pu(e,t)?(e=du(),Lr=ki=lt=null,Bt=!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=_s(n)}}function yu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xu(){for(var e=window,t=$r();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$r(e.document)}return t}function Ci(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 If(e){var t=xu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&yu(n.ownerDocument.documentElement,n)){if(r!==null&&Ci(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,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Ps(n,o);var i=Ps(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)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,Ht=null,zo=null,Mn=null,Lo=!1;function zs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Lo||Ht==null||Ht!==$r(r)||(r=Ht,"selectionStart"in r&&Ci(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}),Mn&&Kn(Mn,r)||(Mn=r,r=Yr(zo,"onSelect"),0Qt||(e.current=Fo[Qt],Fo[Qt]=null,Qt--)}function F(e,t){Qt++,Fo[Qt]=e.current,e.current=t}var gt={},ie=yt(gt),pe=yt(!1),Rt=gt;function sn(e,t){var n=e.type.contextTypes;if(!n)return gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function me(e){return e=e.childContextTypes,e!=null}function Gr(){U(pe),U(ie)}function Fs(e,t,n){if(ie.current!==gt)throw Error(y(168));F(ie,t),F(pe,n)}function Pu(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(y(108,_d(e)||"Unknown",l));return V({},n,r)}function Zr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gt,Rt=ie.current,F(ie,e),F(pe,pe.current),!0}function Ds(e,t,n){var r=e.stateNode;if(!r)throw Error(y(169));n?(e=Pu(e,t,Rt),r.__reactInternalMemoizedMergedChildContext=e,U(pe),U(ie),F(ie,e)):U(pe),F(pe,n)}var Ve=null,yl=!1,eo=!1;function zu(e){Ve===null?Ve=[e]:Ve.push(e)}function Qf(e){yl=!0,zu(e)}function xt(){if(!eo&&Ve!==null){eo=!0;var e=0,t=O;try{var n=Ve;for(O=1;e>=i,l-=i,We=1<<32-Me(t)+l|n<z?(Q=P,P=null):Q=P.sibling;var I=g(f,P,p[z],v);if(I===null){P===null&&(P=Q);break}e&&P&&I.alternate===null&&t(f,P),d=o(I,d,z),_===null?S=I:_.sibling=I,_=I,P=Q}if(z===p.length)return n(f,P),$&&St(f,z),S;if(P===null){for(;zz?(Q=P,P=null):Q=P.sibling;var ze=g(f,P,I.value,v);if(ze===null){P===null&&(P=Q);break}e&&P&&ze.alternate===null&&t(f,P),d=o(ze,d,z),_===null?S=ze:_.sibling=ze,_=ze,P=Q}if(I.done)return n(f,P),$&&St(f,z),S;if(P===null){for(;!I.done;z++,I=p.next())I=h(f,I.value,v),I!==null&&(d=o(I,d,z),_===null?S=I:_.sibling=I,_=I);return $&&St(f,z),S}for(P=r(f,P);!I.done;z++,I=p.next())I=x(P,f,z,I.value,v),I!==null&&(e&&I.alternate!==null&&P.delete(I.key===null?z:I.key),d=o(I,d,z),_===null?S=I:_.sibling=I,_=I);return e&&P.forEach(function(gn){return t(f,gn)}),$&&St(f,z),S}function j(f,d,p,v){if(typeof p=="object"&&p!==null&&p.type===$t&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case dr:e:{for(var S=p.key,_=d;_!==null;){if(_.key===S){if(S=p.type,S===$t){if(_.tag===7){n(f,_.sibling),d=l(_,p.props.children),d.return=f,f=d;break e}}else if(_.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===be&&$s(S)===_.type){n(f,_.sibling),d=l(_,p.props),d.ref=Nn(f,_,p),d.return=f,f=d;break e}n(f,_);break}else t(f,_);_=_.sibling}p.type===$t?(d=Lt(p.props.children,f.mode,v,p.key),d.return=f,f=d):(v=Ur(p.type,p.key,p.props,null,f.mode,v),v.ref=Nn(f,d,p),v.return=f,f=v)}return i(f);case At:e:{for(_=p.key;d!==null;){if(d.key===_)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(f,d.sibling),d=l(d,p.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=ao(p,f.mode,v),d.return=f,f=d}return i(f);case be:return _=p._init,j(f,d,_(p._payload),v)}if(_n(p))return w(f,d,p,v);if(yn(p))return k(f,d,p,v);Sr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,p),d.return=f,f=d):(n(f,d),d=so(p,f.mode,v),d.return=f,f=d),i(f)):n(f,d)}return j}var un=Iu(!0),Mu=Iu(!1),br=yt(null),el=null,Xt=null,zi=null;function Li(){zi=Xt=el=null}function Ri(e){var t=br.current;U(br),e._currentValue=t}function Ao(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 tn(e,t){el=e,zi=Xt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(fe=!0),e.firstContext=null)}function _e(e){var t=e._currentValue;if(zi!==e)if(e={context:e,memoizedValue:t,next:null},Xt===null){if(el===null)throw Error(y(308));Xt=e,el.dependencies={lanes:0,firstContext:e}}else Xt=Xt.next=e;return t}var _t=null;function Ti(e){_t===null?_t=[e]:_t.push(e)}function Ou(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Ti(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 et=!1;function Ii(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fu(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 Ke(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function dt(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,Ti(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ge(e,n)}function Tr(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,yi(e,n)}}function Bs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,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 tl(e,t,n,r){var l=e.updateQueue;et=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var u=s,c=u.next;u.next=null,i===null?o=c:i.next=c,i=u;var m=e.alternate;m!==null&&(m=m.updateQueue,s=m.lastBaseUpdate,s!==i&&(s===null?m.firstBaseUpdate=c:s.next=c,m.lastBaseUpdate=u))}if(o!==null){var h=l.baseState;i=0,m=c=u=null,s=o;do{var g=s.lane,x=s.eventTime;if((r&g)===g){m!==null&&(m=m.next={eventTime:x,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,k=s;switch(g=t,x=n,k.tag){case 1:if(w=k.payload,typeof w=="function"){h=w.call(x,h,g);break e}h=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,g=typeof w=="function"?w.call(x,h,g):w,g==null)break e;h=V({},h,g);break e;case 2:et=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,g=l.effects,g===null?l.effects=[s]:g.push(s))}else x={eventTime:x,lane:g,tag:s.tag,payload:s.payload,callback:s.callback,next:null},m===null?(c=m=x,u=h):m=m.next=x,i|=g;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;g=s,s=g.next,g.next=null,l.lastBaseUpdate=g,l.shared.pending=null}}while(!0);if(m===null&&(u=h),l.baseState=u,l.firstBaseUpdate=c,l.lastBaseUpdate=m,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Mt|=i,e.lanes=i,e.memoizedState=h}}function Hs(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=no.transition;no.transition={};try{e(!1),t()}finally{O=n,no.transition=r}}function bu(){return Pe().memoizedState}function Gf(e,t,n){var r=pt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ec(e))tc(t,n);else if(n=Ou(e,t,n,r),n!==null){var l=ae();Oe(n,e,r,l),nc(n,t,r)}}function Zf(e,t,n){var r=pt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ec(e))tc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,n);if(l.hasEagerState=!0,l.eagerState=s,Fe(s,i)){var u=t.interleaved;u===null?(l.next=l,Ti(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Ou(e,t,l,r),n!==null&&(l=ae(),Oe(n,e,r,l),nc(n,t,r))}}function ec(e){var t=e.alternate;return e===H||t!==null&&t===H}function tc(e,t){On=rl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,yi(e,n)}}var ll={readContext:_e,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},Jf={readContext:_e,useCallback:function(e,t){return Ue().memoizedState=[e,t===void 0?null:t],e},useContext:_e,useEffect:Ws,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Mr(4194308,4,Xu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Mr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Mr(4,2,e,t)},useMemo:function(e,t){var n=Ue();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ue();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=Gf.bind(null,H,e),[r.memoizedState,e]},useRef:function(e){var t=Ue();return e={current:e},t.memoizedState=e},useState:Vs,useDebugValue:Bi,useDeferredValue:function(e){return Ue().memoizedState=e},useTransition:function(){var e=Vs(!1),t=e[0];return e=Xf.bind(null,e[1]),Ue().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=H,l=Ue();if($){if(n===void 0)throw Error(y(407));n=n()}else{if(n=t(),b===null)throw Error(y(349));It&30||$u(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,Ws(Hu.bind(null,r,o,e),[e]),r.flags|=2048,er(9,Bu.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ue(),t=b.identifierPrefix;if($){var n=Qe,r=We;n=(r&~(1<<32-Me(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ae]=t,e[Gn]=r,fc(e,t,!1,!1),t.stateNode=e;e:{switch(i=ko(n,r),n){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;lfn&&(t.flags|=128,r=!0,jn(o,!1),t.lanes=4194304)}else{if(!r)if(e=nl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),jn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!$)return le(t),null}else 2*Y()-o.renderingStartTime>fn&&n!==1073741824&&(t.flags|=128,r=!0,jn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Y(),t.sibling=null,n=B.current,F(B,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return Yi(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ve&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(y(156,t.tag))}function op(e,t){switch(_i(t),t.tag){case 1:return me(t.type)&&Gr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return cn(),U(pe),U(ie),Fi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Oi(t),null;case 13:if(U(B),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(y(340));an()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(B),null;case 4:return cn(),null;case 10:return Ri(t.type._context),null;case 22:case 23:return Yi(),null;case 24:return null;default:return null}}var jr=!1,oe=!1,ip=typeof WeakSet=="function"?WeakSet:Set,N=null;function Gt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){W(e,t,r)}else n.current=null}function Xo(e,t,n){try{n()}catch(r){W(e,t,r)}}var ta=!1;function sp(e,t){if(Ro=Qr,e=xu(),Ci(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,s=-1,u=-1,c=0,m=0,h=e,g=null;t:for(;;){for(var x;h!==n||l!==0&&h.nodeType!==3||(s=i+l),h!==o||r!==0&&h.nodeType!==3||(u=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(x=h.firstChild)!==null;)g=h,h=x;for(;;){if(h===e)break t;if(g===n&&++c===l&&(s=i),g===o&&++m===r&&(u=i),(x=h.nextSibling)!==null)break;h=g,g=h.parentNode}h=x}n=s===-1||u===-1?null:{start:s,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(To={focusedElem:e,selectionRange:n},Qr=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;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,j=w.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:Re(t.type,k),j);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(v){W(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return w=ta,ta=!1,w}function Fn(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 o=l.destroy;l.destroy=void 0,o!==void 0&&Xo(t,n,o)}l=l.next}while(l!==r)}}function kl(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 Go(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 hc(e){var t=e.alternate;t!==null&&(e.alternate=null,hc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ae],delete t[Gn],delete t[Oo],delete t[Vf],delete t[Wf])),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 gc(e){return e.tag===5||e.tag===3||e.tag===4}function na(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gc(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 Zo(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=Xr));else if(r!==4&&(e=e.child,e!==null))for(Zo(e,t,n),e=e.sibling;e!==null;)Zo(e,t,n),e=e.sibling}function Jo(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(Jo(e,t,n),e=e.sibling;e!==null;)Jo(e,t,n),e=e.sibling}var ee=null,Te=!1;function qe(e,t,n){for(n=n.child;n!==null;)vc(e,t,n),n=n.sibling}function vc(e,t,n){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(pl,n)}catch{}switch(n.tag){case 5:oe||Gt(n,t);case 6:var r=ee,l=Te;ee=null,qe(e,t,n),ee=r,Te=l,ee!==null&&(Te?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Te?(e=ee,n=n.stateNode,e.nodeType===8?bl(e.parentNode,n):e.nodeType===1&&bl(e,n),Wn(e)):bl(ee,n.stateNode));break;case 4:r=ee,l=Te,ee=n.stateNode.containerInfo,Te=!0,qe(e,t,n),ee=r,Te=l;break;case 0:case 11:case 14:case 15:if(!oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&Xo(n,t,i),l=l.next}while(l!==r)}qe(e,t,n);break;case 1:if(!oe&&(Gt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){W(n,t,s)}qe(e,t,n);break;case 21:qe(e,t,n);break;case 22:n.mode&1?(oe=(r=oe)||n.memoizedState!==null,qe(e,t,n),oe=r):qe(e,t,n);break;default:qe(e,t,n)}}function ra(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new ip),t.forEach(function(r){var l=gp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Le(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~o}if(r=l,r=Y()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*up(r/1960))-r,10e?16:e,ot===null)var r=!1;else{if(e=ot,ot=null,sl=0,M&6)throw Error(y(331));var l=M;for(M|=4,N=e.current;N!==null;){var o=N,i=o.child;if(N.flags&16){var s=o.deletions;if(s!==null){for(var u=0;uY()-Qi?zt(e,0):Wi|=n),he(e,t)}function Cc(e,t){t===0&&(e.mode&1?(t=hr,hr<<=1,!(hr&130023424)&&(hr=4194304)):t=1);var n=ae();e=Ge(e,t),e!==null&&(lr(e,t,n),he(e,n))}function hp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Cc(e,n)}function gp(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(y(314))}r!==null&&r.delete(t),Cc(e,n)}var Ec;Ec=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)fe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return fe=!1,rp(e,t,n);fe=!!(e.flags&131072)}else fe=!1,$&&t.flags&1048576&&Lu(t,qr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Or(e,t),e=t.pendingProps;var l=sn(t,ie.current);tn(t,n),l=Ui(null,t,r,e,l,n);var o=Ai();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,me(r)?(o=!0,Zr(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ii(t),l.updater=wl,t.stateNode=l,l._reactInternals=t,Bo(t,r,e,n),t=Wo(null,t,r,!0,o,n)):(t.tag=0,$&&o&&Ei(t),se(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Or(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=yp(r),e=Re(r,e),l){case 0:t=Vo(null,t,r,e,n);break e;case 1:t=qs(null,t,r,e,n);break e;case 11:t=Zs(null,t,r,e,n);break e;case 14:t=Js(null,t,r,Re(r.type,e),n);break e}throw Error(y(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Vo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),qs(e,t,r,l,n);case 3:e:{if(uc(t),e===null)throw Error(y(387));r=t.pendingProps,o=t.memoizedState,l=o.element,Fu(e,t),tl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=dn(Error(y(423)),t),t=bs(e,t,r,n,l);break e}else if(r!==l){l=dn(Error(y(424)),t),t=bs(e,t,r,n,l);break e}else for(ye=ct(t.stateNode.containerInfo.firstChild),xe=t,$=!0,Ie=null,n=Mu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(an(),r===l){t=Ze(e,t,n);break e}se(e,t,r,n)}t=t.child}return t;case 5:return Du(t),e===null&&Uo(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Io(r,l)?i=null:o!==null&&Io(r,o)&&(t.flags|=32),ac(e,t),se(e,t,i,n),t.child;case 6:return e===null&&Uo(t),null;case 13:return cc(e,t,n);case 4:return Mi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=un(t,null,r,n):se(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Zs(e,t,r,l,n);case 7:return se(e,t,t.pendingProps,n),t.child;case 8:return se(e,t,t.pendingProps.children,n),t.child;case 12:return se(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,F(br,r._currentValue),r._currentValue=i,o!==null)if(Fe(o.value,i)){if(o.children===l.children&&!pe.current){t=Ze(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var u=s.firstContext;u!==null;){if(u.context===r){if(o.tag===1){u=Ke(-1,n&-n),u.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?u.next=u:(u.next=m.next,m.next=u),c.pending=u}}o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Ao(o.return,n,t),s.lanes|=n;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(y(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),Ao(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}se(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,tn(t,n),l=_e(l),r=r(l),t.flags|=1,se(e,t,r,n),t.child;case 14:return r=t.type,l=Re(r,t.pendingProps),l=Re(r.type,l),Js(e,t,r,l,n);case 15:return ic(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Or(e,t),t.tag=1,me(r)?(e=!0,Zr(t)):e=!1,tn(t,n),rc(t,r,l),Bo(t,r,l,n),Wo(null,t,r,!0,e,n);case 19:return dc(e,t,n);case 22:return sc(e,t,n)}throw Error(y(156,t.tag))};function _c(e,t){return eu(e,t)}function vp(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 Ce(e,t,n,r){return new vp(e,t,n,r)}function Gi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function yp(e){if(typeof e=="function")return Gi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===mi)return 11;if(e===hi)return 14}return 2}function mt(e,t){var n=e.alternate;return n===null?(n=Ce(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 Ur(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")Gi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case $t:return Lt(n.children,l,o,t);case pi:i=8,l|=8;break;case co:return e=Ce(12,n,t,l|2),e.elementType=co,e.lanes=o,e;case fo:return e=Ce(13,n,t,l),e.elementType=fo,e.lanes=o,e;case po:return e=Ce(19,n,t,l),e.elementType=po,e.lanes=o,e;case Da:return Nl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Oa:i=10;break e;case Fa:i=9;break e;case mi:i=11;break e;case hi:i=14;break e;case be:i=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return t=Ce(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Lt(e,t,n,r){return e=Ce(7,e,r,t),e.lanes=n,e}function Nl(e,t,n,r){return e=Ce(22,e,r,t),e.elementType=Da,e.lanes=n,e.stateNode={isHidden:!1},e}function so(e,t,n){return e=Ce(6,e,null,t),e.lanes=n,e}function ao(e,t,n){return t=Ce(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function xp(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=Hl(0),this.expirationTimes=Hl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Zi(e,t,n,r,l,o,i,s,u){return e=new xp(e,t,n,s,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ce(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ii(o),e}function wp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Rc)}catch(e){console.error(e)}}Rc(),Ra.exports=ke;var Cp=Ra.exports,Tc,da=Cp;Tc=da.createRoot,da.hydrateRoot;/** * @remix-run/router v1.23.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function cl(){return cl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ic(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function _p(){return Math.random().toString(36).substr(2,8)}function pa(e,t){return{usr:e.state,key:e.key,idx:t}}function ni(e,t,n,r){return n===void 0&&(n=null),cl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Pl(t):t,{state:n,key:t&&t.key||r||_p()})}function Mc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Pl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Pp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:o=!1}=r,i=l.history,s=it.Pop,u=null,c=m();c==null&&(c=0,i.replaceState(cl({},i.state,{idx:c}),""));function m(){return(i.state||{idx:null}).idx}function h(){s=it.Pop;let j=m(),f=j==null?null:j-c;c=j,u&&u({action:s,location:k.location,delta:f})}function g(j,f){s=it.Push;let d=ni(k.location,j,f);c=m()+1;let p=pa(d,c),v=k.createHref(d);try{i.pushState(p,"",v)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;l.location.assign(v)}o&&u&&u({action:s,location:k.location,delta:1})}function x(j,f){s=it.Replace;let d=ni(k.location,j,f);c=m();let p=pa(d,c),v=k.createHref(d);i.replaceState(p,"",v),o&&u&&u({action:s,location:k.location,delta:0})}function w(j){let f=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof j=="string"?j:Mc(j);return d=d.replace(/ $/,"%20"),ge(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let k={get action(){return s},get location(){return e(l,i)},listen(j){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(fa,h),u=j,()=>{l.removeEventListener(fa,h),u=null}},createHref(j){return t(l,j)},createURL:w,encodeLocation(j){let f=w(j);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:g,replace:x,go(j){return i.go(j)}};return k}var ma;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ma||(ma={}));function zp(e,t,n){return n===void 0&&(n="/"),Lp(e,t,n,!1)}function Lp(e,t,n,r){let l=typeof t=="string"?Pl(t):t,o=Dc(l.pathname||"/",n);if(o==null)return null;let i=Oc(e);Rp(i);let s=null;for(let u=0;s==null&&u{let u={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};u.relativePath.startsWith("/")&&(ge(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=rn([r,u.relativePath]),m=n.concat(u);o.children&&o.children.length>0&&(ge(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Oc(o.children,t,m,c)),!(o.path==null&&!o.index)&&t.push({path:c,score:Up(c,o.index),routesMeta:m})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))l(o,i);else for(let u of Fc(o.path))l(o,i,u)}),t}function Fc(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return l?[o,""]:[o];let i=Fc(r.join("/")),s=[];return s.push(...i.map(u=>u===""?o:[o,u].join("/"))),l&&s.push(...i),s.map(u=>e.startsWith("/")&&u===""?"/":u)}function Rp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Ap(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Tp=/^:[\w-]+$/,Ip=3,Mp=2,Op=1,Fp=10,Dp=-2,ha=e=>e==="*";function Up(e,t){let n=e.split("/"),r=n.length;return n.some(ha)&&(r+=Dp),t&&(r+=Mp),n.filter(l=>!ha(l)).reduce((l,o)=>l+(Tp.test(o)?Ip:o===""?Op:Fp),r)}function Ap(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function $p(e,t,n){let{routesMeta:r}=e,l={},o="/",i=[];for(let s=0;s{let{paramName:g,isOptional:x}=m;if(g==="*"){let k=s[h]||"";i=o.slice(0,o.length-k.length).replace(/(.)\/+$/,"$1")}const w=s[h];return x&&!w?c[g]=void 0:c[g]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:o,pathnameBase:i,pattern:e}}function Bp(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ic(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,u)=>(r.push({paramName:s,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Hp(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ic(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Dc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const rn=e=>e.join("/").replace(/\/\/+/g,"/"),Vp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function Wp(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Uc=["post","put","patch","delete"];new Set(Uc);const Qp=["get",...Uc];new Set(Qp);/** * React Router v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function dl(){return dl=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},j,{params:Object.assign({},s,j.params),pathname:rn([u,l.encodeLocation?l.encodeLocation(j.pathname).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?u:rn([u,l.encodeLocation?l.encodeLocation(j.pathnameBase).pathname:j.pathnameBase])})),o,n,r);return t&&k?E.createElement(zl.Provider,{value:{location:dl({pathname:"/",search:"",hash:"",state:null,key:"default"},m),navigationType:it.Pop}},k):k}function Jp(){let e=om(),t=Wp(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),n?E.createElement("pre",{style:l},n):null,null)}const qp=E.createElement(Jp,null);class bp extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?E.createElement(Ll.Provider,{value:this.props.routeContext},E.createElement($c.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function em(e){let{routeContext:t,match:n,children:r}=e,l=E.useContext(Kp);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(Ll.Provider,{value:t},r)}function tm(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=(l=n)==null?void 0:l.errors;if(s!=null){let m=i.findIndex(h=>h.route.id&&(s==null?void 0:s[h.route.id])!==void 0);m>=0||ge(!1),i=i.slice(0,Math.min(i.length,m+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let m=0;m=0?i=i.slice(0,c+1):i=[i[0]];break}}}return i.reduceRight((m,h,g)=>{let x,w=!1,k=null,j=null;n&&(x=s&&h.route.id?s[h.route.id]:void 0,k=h.route.errorElement||qp,u&&(c<0&&g===0?(w=!0,j=null):c===g&&(w=!0,j=h.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,g+1)),d=()=>{let p;return x?p=k:w?p=j:h.route.Component?p=E.createElement(h.route.Component,null):h.route.element?p=h.route.element:p=m,E.createElement(em,{match:h,routeContext:{outlet:m,matches:f,isDataRoute:n!=null},children:p})};return n&&(h.route.ErrorBoundary||h.route.errorElement||g===0)?E.createElement(bp,{location:n.location,revalidation:n.revalidation,component:k,error:x,children:d(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):d()},null)}var ri=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(ri||{});function nm(e){let t=E.useContext(Yp);return t||ge(!1),t}function rm(e){let t=E.useContext(Ll);return t||ge(!1),t}function lm(e){let t=rm(),n=t.matches[t.matches.length-1];return n.route.id||ge(!1),n.route.id}function om(){var e;let t=E.useContext($c),n=nm(ri.UseRouteError),r=lm(ri.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function im(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function li(e){ge(!1)}function sm(e){let{basename:t="/",children:n=null,location:r,navigationType:l=it.Pop,navigator:o,static:i=!1,future:s}=e;es()&&ge(!1);let u=t.replace(/^\/*/,"/"),c=E.useMemo(()=>({basename:u,navigator:o,static:i,future:dl({v7_relativeSplatPath:!1},s)}),[u,s,o,i]);typeof r=="string"&&(r=Pl(r));let{pathname:m="/",search:h="",hash:g="",state:x=null,key:w="default"}=r,k=E.useMemo(()=>{let j=Dc(m,u);return j==null?null:{location:{pathname:j,search:h,hash:g,state:x,key:w},navigationType:l}},[u,m,h,g,x,w,l]);return k==null?null:E.createElement(Ac.Provider,{value:c},E.createElement(zl.Provider,{children:n,value:k}))}function am(e){let{children:t,location:n}=e;return Gp(oi(t),n)}new Promise(()=>{});function oi(e,t){t===void 0&&(t=[]);let n=[];return E.Children.forEach(e,(r,l)=>{if(!E.isValidElement(r))return;let o=[...t,l];if(r.type===E.Fragment){n.push.apply(n,oi(r.props.children,o));return}r.type!==li&&ge(!1),!r.props.index||!r.props.children||ge(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=oi(r.props.children,o)),n.push(i)}),n}/** * React Router DOM v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */const um="6";try{window.__reactRouterVersion=um}catch{}const cm="startTransition",va=pd[cm];function dm(e){let{basename:t,children:n,future:r,window:l}=e,o=E.useRef();o.current==null&&(o.current=Ep({window:l,v5Compat:!0}));let i=o.current,[s,u]=E.useState({action:i.action,location:i.location}),{v7_startTransition:c}=r||{},m=E.useCallback(h=>{c&&va?va(()=>u(h)):u(h)},[u,c]);return E.useLayoutEffect(()=>i.listen(m),[i,m]),E.useEffect(()=>im(r),[r]),E.createElement(sm,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}var ya;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(ya||(ya={}));var xa;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(xa||(xa={}));/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var fm={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const pm=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),A=(e,t)=>{const n=E.forwardRef(({color:r="currentColor",size:l=24,strokeWidth:o=2,absoluteStrokeWidth:i,className:s="",children:u,...c},m)=>E.createElement("svg",{ref:m,...fm,width:l,height:l,stroke:r,strokeWidth:i?Number(o)*24/Number(l):o,className:["lucide",`lucide-${pm(e)}`,s].join(" "),...c},[...t.map(([h,g])=>E.createElement(h,g)),...Array.isArray(u)?u:[u]]));return n.displayName=`${e}`,n};/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const mm=A("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const hm=A("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ar=A("Bath",[["path",{d:"M9 6 6.5 3.5a1.5 1.5 0 0 0-1-.5C4.683 3 4 3.683 4 4.5V17a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"1r8yf5"}],["line",{x1:"10",x2:"8",y1:"5",y2:"7",key:"h5g8z4"}],["line",{x1:"2",x2:"22",y1:"12",y2:"12",key:"1dnqot"}],["line",{x1:"7",x2:"7",y1:"19",y2:"21",key:"16jp00"}],["line",{x1:"17",x2:"17",y1:"19",y2:"21",key:"1pxrnk"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const rt=A("Bed",[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const gm=A("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Rl=A("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Tl=A("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Bc=A("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Hc=A("Coffee",[["path",{d:"M17 8h1a4 4 0 1 1 0 8h-1",key:"jx4kbh"}],["path",{d:"M3 8h14v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4Z",key:"1bxrl0"}],["line",{x1:"6",x2:"6",y1:"2",y2:"4",key:"1cr9l3"}],["line",{x1:"10",x2:"10",y1:"2",y2:"4",key:"170wym"}],["line",{x1:"14",x2:"14",y1:"2",y2:"4",key:"1c5f70"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const jt=A("Droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Vc=A("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wc=A("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Qc=A("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ts=A("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Il=A("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const vm=A("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const nr=A("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ym=A("Quote",[["path",{d:"M3 21c3 0 7-1 7-8V5c0-1.25-.756-2.017-2-2H4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V20c0 1 0 1 1 1z",key:"4rm80e"}],["path",{d:"M15 21c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2h-4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v3c0 1 0 1 1 1z",key:"10za9r"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ln=A("Snowflake",[["line",{x1:"2",x2:"22",y1:"12",y2:"12",key:"1dnqot"}],["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"m20 16-4-4 4-4",key:"rquw4f"}],["path",{d:"m4 8 4 4-4 4",key:"12s3z9"}],["path",{d:"m16 4-4 4-4-4",key:"1tumq1"}],["path",{d:"m8 20 4-4 4 4",key:"9p200w"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const xm=A("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Kc=A("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const wm=A("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ct=A("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const km=A("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** * @license lucide-react v0.344.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Yc=A("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]),Sm=()=>{const[e,t]=E.useState(!1),[n,r]=E.useState(!1);E.useEffect(()=>{const i=()=>{r(window.scrollY>50)};return window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)},[]);const l=[{name:"Home",href:"#home"},{name:"Rooms",href:"#accommodation"},{name:"Facilities",href:"#facilities"},{name:"Attractions",href:"#attractions"},{name:"Contact",href:"#contact"}],o=i=>{const s=document.querySelector(i);s&&s.scrollIntoView({behavior:"smooth"}),t(!1)};return a.jsxs("nav",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${n?"bg-white/95 backdrop-blur-md shadow-lg":"bg-transparent"}`,children:[a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:a.jsxs("div",{className:"flex justify-between items-center h-16",children:[a.jsx("div",{className:"flex-shrink-0",children:a.jsx("img",{src:"/logo.png",alt:"Hotel Logo",className:"h-44 w-40"})}),a.jsx("div",{className:"hidden md:block",children:a.jsx("div",{className:"ml-10 flex items-baseline space-x-8",children:l.map(i=>a.jsx("button",{onClick:()=>o(i.href),className:`px-3 py-2 text-sm font-medium transition-colors hover:text-yellow-400 ${n?"text-gray-700":"text-white"}`,children:i.name},i.name))})}),a.jsx("div",{className:"hidden lg:flex items-center space-x-4",children:a.jsxs("div",{className:`flex items-center space-x-1 text-sm ${n?"text-gray-600":"text-white/80"}`,children:[a.jsx(nr,{className:"w-4 h-4"}),a.jsx("span",{children:"+92 (300) 494-0451"})]})}),a.jsx("div",{className:"md:hidden",children:a.jsx("button",{onClick:()=>t(!e),className:`p-2 rounded-md ${n?"text-gray-700":"text-white"}`,children:e?a.jsx(km,{className:"w-6 h-6"}):a.jsx(vm,{className:"w-6 h-6"})})})]})}),e&&a.jsx("div",{className:"md:hidden bg-white/95 backdrop-blur-md",children:a.jsx("div",{className:"px-2 pt-2 pb-3 space-y-1",children:l.map(i=>a.jsx("button",{onClick:()=>o(i.href),className:"block px-3 py-2 text-base font-medium text-gray-700 hover:text-yellow-600 w-full text-left",children:i.name},i.name))})})]})},Nm=()=>{const[e,t]=E.useState(!1),n=[{icon:Vc,href:"#",label:"Facebook"},{icon:Qc,href:"#",label:"Instagram"},{icon:Kc,href:"#",label:"Twitter"},{icon:Yc,href:"#",label:"YouTube"}],r=()=>{const o=document.querySelector("#accommodation");o&&o.scrollIntoView({behavior:"smooth"})},l=o=>{const i=document.querySelector(o);i&&i.scrollIntoView({behavior:"smooth"}),t(!1)};return a.jsxs("section",{id:"home",className:"relative h-screen overflow-hidden",children:[a.jsxs("div",{className:"absolute inset-0",children:[a.jsxs("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:"w-full h-full object-cover",children:[a.jsx("source",{src:"/reel.mp4",type:"video/mp4"}),a.jsx("div",{className:"w-full h-full bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url(https://images.pexels.com/photos/258154/pexels-photo-258154.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop)"}})]}),a.jsx("div",{className:"absolute inset-0 bg-black/40"})]}),a.jsx("div",{className:"absolute left-6 top-1/2 transform -translate-y-1/2 z-20",children:a.jsxs("div",{className:"flex flex-col space-y-4",children:[a.jsx("div",{className:"w-px h-16 bg-white/30 mx-auto"}),n.map(({icon:o,href:i,label:s})=>a.jsx("a",{href:i,className:"p-3 bg-white/10 backdrop-blur-sm rounded-full text-white hover:bg-yellow-500 hover:scale-110 transition-all duration-300","aria-label":s,children:a.jsx(o,{className:"w-5 h-5"})},s)),a.jsx("div",{className:"w-px h-16 bg-white/30 mx-auto"})]})}),a.jsx("div",{className:"relative z-10 h-full flex items-center justify-center text-center text-white",children:a.jsxs("div",{className:"max-w-4xl mx-auto px-4",children:[a.jsx("div",{className:"mb-6 animate-fade-in-up",children:a.jsx("span",{className:"inline-block px-4 py-2 bg-yellow-500/20 backdrop-blur-sm rounded-full text-yellow-300 text-sm font-medium mb-4",children:"Welcome to Rgonsa"})}),a.jsxs("h1",{className:"text-5xl md:text-7xl font-bold mb-6 animate-fade-in-up animation-delay-200",children:["Rgonsa",a.jsx("span",{className:"block text-yellow-400",children:"Hotel"})]}),a.jsx("p",{className:"text-xl md:text-2xl text-gray-200 mb-8 max-w-2xl mx-auto animate-fade-in-up animation-delay-400",children:"Experience luxury and comfort in the heart of paradise. Your unforgettable journey begins here."}),a.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center animate-fade-in-up animation-delay-600",children:[a.jsx("button",{onClick:()=>l("#contact"),className:"px-8 py-4 bg-yellow-500 text-white font-semibold rounded-lg hover:bg-yellow-600 transform hover:scale-105 transition-all duration-300 shadow-lg",children:"Book Now"}),a.jsx("button",{onClick:()=>l("#accommodation"),className:"px-8 py-4 bg-white/20 backdrop-blur-sm text-white font-semibold rounded-lg border border-white/30 hover:bg-white/30 transition-all duration-300",children:"Explore Rooms"})]})]})}),a.jsx("button",{onClick:r,className:"absolute bottom-8 left-1/2 transform -translate-x-1/2 text-white animate-bounce",children:a.jsx(mm,{className:"w-6 h-6"})})]})},jm=()=>{const[e,t]=E.useState({}),n=[{id:"101",name:"Executive Room",roomNumber:"101",images:["/room101.jpeg"],description:"Luxurious executive room with modern amenities and air conditioning.",price:22e3,bedConfiguration:"1 Double Bed",features:["AC (Inverter)","Hot Water","Free Wi-Fi","Heaters"],amenities:[ln,jt,Ct,rt],capacity:2,hasAC:!0},{id:"102",name:"Deluxe Room",roomNumber:"102",images:["/room102.jpeg"],description:"Spacious executive room with double and single bed, featuring air conditioning.",price:18e3,bedConfiguration:"1 Double Bed, 1 Single Bed",features:["AC (Inverter)","Hot Water","Free Wi-Fi","Heaters"],amenities:[ln,jt,Ct,rt],capacity:3,hasAC:!0},{id:"103",name:"Classic Room",roomNumber:"103",images:["classic.jpeg"],description:"Comfortable deluxe room with essential amenities for a pleasant stay.",price:18e3,bedConfiguration:"1 Double Bed",features:["Hot Water","Free Wi-Fi","Heaters","Extra Mattresses"],amenities:[jt,Ct,rt,Ar],capacity:2,hasAC:!1},{id:"104",name:"Classic Room",roomNumber:"104",images:["room104.jpeg"],description:"Enhanced deluxe room with double and single bed configuration.",price:15e3,bedConfiguration:"1 Double Bed, 1 Single Bed",features:["Hot Water","Free Wi-Fi","Heaters","Extra Mattresses"],amenities:[jt,Ct,rt,Ar],capacity:3,hasAC:!1},{id:"105",name:"Classic Room",roomNumber:"105",images:["room105.jpeg"],description:"Cozy deluxe room with double bed and all essential amenities.",price:12500,bedConfiguration:"1 Double Bed",features:["Hot Water","Free Wi-Fi","Heaters","Extra Mattresses"],amenities:[jt,Ct,rt,Ar],capacity:2,hasAC:!1}],r=o=>{const i={...o,image:o.images[e[o.id]||0]};localStorage.setItem("selectedRoom",JSON.stringify(i)),window.location.href=`/room-details?room=${o.id}`},l=(o,i,s,u)=>{u.stopPropagation();const c=e[o]||0;let m;i==="next"?m=(c+1)%s:m=c===0?s-1:c-1,t(h=>({...h,[o]:m}))};return a.jsx("section",{id:"accommodation",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("span",{className:"inline-block px-4 py-2 bg-yellow-100 text-yellow-800 rounded-full text-sm font-medium mb-4",children:"Our Rooms"}),a.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"Comfortable Accommodation"}),a.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Choose from our carefully designed rooms, each offering comfort and essential amenities for your perfect stay."})]}),a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:n.map(o=>{const i=e[o.id]||0,s=o.images[i];return a.jsxs("div",{onClick:()=>r(o),className:"bg-white rounded-2xl shadow-lg overflow-hidden hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2 cursor-pointer",children:[a.jsxs("div",{className:"relative group",children:[a.jsx("img",{src:s,alt:o.name,className:"w-full h-64 object-cover transition-all duration-300"}),a.jsx("button",{onClick:u=>l(o.id,"prev",o.images.length,u),className:"absolute left-2 top-1/2 transform -translate-y-1/2 bg-black/50 hover:bg-black/70 text-white p-2 rounded-full opacity-0 group-hover:opacity-100 transition-all duration-300",children:a.jsx(Rl,{className:"w-4 h-4"})}),a.jsx("button",{onClick:u=>l(o.id,"next",o.images.length,u),className:"absolute right-2 top-1/2 transform -translate-y-1/2 bg-black/50 hover:bg-black/70 text-white p-2 rounded-full opacity-0 group-hover:opacity-100 transition-all duration-300",children:a.jsx(Tl,{className:"w-4 h-4"})}),a.jsx("div",{className:"absolute bottom-2 left-1/2 transform -translate-x-1/2 flex space-x-1",children:o.images.map((u,c)=>a.jsx("div",{className:`w-2 h-2 rounded-full transition-all duration-300 ${c===i?"bg-white":"bg-white/50"}`},c))}),a.jsxs("div",{className:"absolute top-4 left-4 bg-gray-900 text-white px-3 py-1 rounded-full text-sm font-semibold",children:["Room ",o.roomNumber]}),a.jsxs("div",{className:"absolute top-4 right-4 bg-yellow-500 text-white px-3 py-1 rounded-full text-sm font-semibold",children:[o.price,"/night"]}),o.hasAC&&a.jsxs("div",{className:"absolute top-16 right-4 bg-blue-500 text-white px-2 py-1 rounded-full text-xs font-semibold flex items-center",children:[a.jsx(ln,{className:"w-3 h-3 mr-1"}),"AC"]})]}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:o.name}),a.jsx("p",{className:"text-gray-600 mb-2",children:o.bedConfiguration}),a.jsx("p",{className:"text-gray-600 mb-4",children:o.description}),a.jsxs("div",{className:"flex items-center mb-4",children:[o.amenities.map((u,c)=>a.jsx("div",{className:"flex items-center mr-4",children:a.jsx(u,{className:"w-5 h-5 text-yellow-500 mr-1"})},c)),a.jsxs("span",{className:"text-sm text-gray-500",children:["Up to ",o.capacity," guests"]})]}),a.jsx("div",{className:"mb-6",children:a.jsx("div",{className:"flex flex-wrap gap-2",children:o.features.map((u,c)=>a.jsx("span",{className:"px-3 py-1 bg-gray-100 text-gray-700 rounded-full text-sm",children:u},c))})}),a.jsxs("div",{className:"flex justify-between items-center",children:[a.jsxs("div",{className:"text-3xl font-bold text-gray-900",children:[o.price,"pkr",a.jsx("span",{className:"text-base font-normal text-gray-500",children:"/night"})]}),a.jsx("button",{className:"px-6 py-3 bg-yellow-500 text-white font-semibold rounded-lg hover:bg-yellow-600 transform hover:scale-105 transition-all duration-300",children:"View Details"})]})]})]},o.id)})})]})})},Cm=()=>{const e=E.useRef(null),t=[{icon:jt,name:"Hot Water",description:"24/7 hot water supply in all rooms",image:"https://images.pexels.com/photos/6969831/pexels-photo-6969831.jpeg?auto=compress&cs=tinysrgb&w=400"},{icon:ln,name:"AC (Inverter)",description:"Air conditioning available in rooms 101 & 102",image:"https://images.pexels.com/photos/4050344/pexels-photo-4050344.jpeg?auto=compress&cs=tinysrgb&w=400"},{icon:Wc,name:"Heaters",description:"Room heaters for comfortable stay",image:"https://images.pexels.com/photos/6969826/pexels-photo-6969826.jpeg?auto=compress&cs=tinysrgb&w=400"},{icon:Ct,name:"Free Wi-Fi",description:"High-speed internet throughout the property",image:"https://images.pexels.com/photos/4050344/pexels-photo-4050344.jpeg?auto=compress&cs=tinysrgb&w=400"},{icon:rt,name:"Extra Mattresses",description:"Additional bedding available on request",image:"https://images.pexels.com/photos/1743229/pexels-photo-1743229.jpeg?auto=compress&cs=tinysrgb&w=400"},{icon:Hc,name:"Breakfast",description:"Complimentary breakfast service",image:"https://images.pexels.com/photos/302899/pexels-photo-302899.jpeg?auto=compress&cs=tinysrgb&w=400"}],n=r=>{e.current&&e.current.scrollBy({left:r==="left"?-320:320,behavior:"smooth"})};return a.jsx("section",{id:"facilities",className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("span",{className:"inline-block px-4 py-2 bg-yellow-100 text-yellow-800 rounded-full text-sm font-medium mb-4",children:"Services"}),a.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"Our Services"}),a.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Discover our essential services designed to make your stay comfortable and memorable."})]}),a.jsxs("div",{className:"relative",children:[a.jsx("button",{onClick:()=>n("left"),className:"absolute left-0 top-1/2 transform -translate-y-1/2 z-10 bg-white shadow-lg rounded-full p-3 hover:bg-gray-50 transition-colors",children:a.jsx(Rl,{className:"w-6 h-6 text-gray-600"})}),a.jsx("button",{onClick:()=>n("right"),className:"absolute right-0 top-1/2 transform -translate-y-1/2 z-10 bg-white shadow-lg rounded-full p-3 hover:bg-gray-50 transition-colors",children:a.jsx(Tl,{className:"w-6 h-6 text-gray-600"})}),a.jsx("div",{ref:e,className:"flex space-x-6 overflow-x-auto scrollbar-hide pb-4",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:t.map((r,l)=>{const o=r.icon;return a.jsxs("div",{className:"flex-none w-80 bg-white rounded-2xl shadow-lg overflow-hidden hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2",children:[a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:r.image,alt:r.name,className:"w-full h-48 object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"}),a.jsx("div",{className:"absolute bottom-4 left-4",children:a.jsx("div",{className:"bg-yellow-500 p-3 rounded-full mb-2",children:a.jsx(o,{className:"w-6 h-6 text-white"})})})]}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:r.name}),a.jsx("p",{className:"text-gray-600",children:r.description})]})]},l)})})]})]})})},Em=()=>{const[e,t]=E.useState(0),n=[{id:1,name:"Sarah Johnson",location:"New York, USA",image:"https://images.pexels.com/photos/1239291/pexels-photo-1239291.jpeg?auto=compress&cs=tinysrgb&w=200",rating:5,text:"An absolutely magical experience! The staff was incredibly attentive, the rooms were luxurious, and the ocean view was breathtaking. This is definitely a place I would return to."},{id:2,name:"Michael Chen",location:"Singapore",image:"https://images.pexels.com/photos/1043471/pexels-photo-1043471.jpeg?auto=compress&cs=tinysrgb&w=200",rating:5,text:"The Paradise Hotel exceeded all my expectations. From the moment I arrived, I felt like royalty. The spa treatments were world-class and the dining experience was unforgettable."},{id:3,name:"Emma Williams",location:"London, UK",image:"https://images.pexels.com/photos/1181686/pexels-photo-1181686.jpeg?auto=compress&cs=tinysrgb&w=200",rating:5,text:"Perfect honeymoon destination! The private beach access, romantic dinners, and impeccable service made our stay truly special. We are already planning our anniversary trip back."},{id:4,name:"David Rodriguez",location:"Madrid, Spain",image:"https://images.pexels.com/photos/1222271/pexels-photo-1222271.jpeg?auto=compress&cs=tinysrgb&w=200",rating:5,text:"Outstanding luxury hotel with attention to every detail. The facilities are top-notch, the location is perfect, and the staff goes above and beyond to ensure a memorable stay."},{id:5,name:"Lisa Thompson",location:"Sydney, Australia",image:"https://images.pexels.com/photos/1130626/pexels-photo-1130626.jpeg?auto=compress&cs=tinysrgb&w=200",rating:5,text:"A five-star experience from start to finish. The sunset views from our suite were incredible, and the concierge helped us discover amazing local attractions. Highly recommended!"}];E.useEffect(()=>{const l=setInterval(()=>{t(o=>(o+1)%n.length)},5e3);return()=>clearInterval(l)},[n.length]);const r=()=>{const l=[];for(let o=0;o<3;o++){const i=(e+o)%n.length;l.push(n[i])}return l};return a.jsx("section",{className:"py-20 bg-gradient-to-br from-yellow-50 to-orange-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("span",{className:"inline-block px-4 py-2 bg-yellow-100 text-yellow-800 rounded-full text-sm font-medium mb-4",children:"Testimonials"}),a.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"What Our Guests Say"}),a.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Don't just take our word for it. Here's what our valued guests have to say about their experience."})]}),a.jsx("div",{className:"relative overflow-hidden",children:a.jsx("div",{className:"flex transition-transform duration-500 ease-in-out",children:a.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 w-full",children:r().map(l=>a.jsxs("div",{className:"bg-white rounded-2xl p-8 shadow-lg hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2",children:[a.jsxs("div",{className:"flex items-center mb-6",children:[a.jsx("img",{src:l.image,alt:l.name,className:"w-16 h-16 rounded-full object-cover mr-4"}),a.jsxs("div",{children:[a.jsx("h4",{className:"text-lg font-bold text-gray-900",children:l.name}),a.jsx("p",{className:"text-gray-600 text-sm",children:l.location})]})]}),a.jsx("div",{className:"flex items-center mb-4",children:[...Array(l.rating)].map((o,i)=>a.jsx(xm,{className:"w-5 h-5 text-yellow-400 fill-current"},i))}),a.jsxs("div",{className:"relative",children:[a.jsx(ym,{className:"absolute -top-2 -left-2 w-8 h-8 text-yellow-200"}),a.jsx("p",{className:"text-gray-700 italic leading-relaxed pl-6",children:l.text})]})]},l.id))})})}),a.jsx("div",{className:"flex justify-center mt-12 space-x-2",children:n.map((l,o)=>a.jsx("button",{onClick:()=>t(o),className:`w-3 h-3 rounded-full transition-all duration-300 ${o===e?"bg-yellow-500 w-8":"bg-gray-300"}`},o))})]})})},_m=()=>{const e=E.useRef(null),t=[{id:1,name:"Paradise Beach",image:"https://images.pexels.com/photos/457882/pexels-photo-457882.jpeg?auto=compress&cs=tinysrgb&w=600",description:"Crystal clear waters and white sandy beaches perfect for swimming and sunbathing.",distance:"2 minutes walk",duration:"2-3 hours",highlights:["Snorkeling","Beach Volleyball","Sunset Views"]},{id:2,name:"Coral Reef Diving",image:"https://images.pexels.com/photos/1076758/pexels-photo-1076758.jpeg?auto=compress&cs=tinysrgb&w=600",description:"Explore vibrant coral reefs and tropical marine life in pristine waters.",distance:"10 minutes boat ride",duration:"Half day",highlights:["Scuba Diving","Snorkeling","Marine Photography"]},{id:3,name:"Tropical Rainforest",image:"https://images.pexels.com/photos/1563356/pexels-photo-1563356.jpeg?auto=compress&cs=tinysrgb&w=600",description:"Lush rainforest trails with exotic wildlife and breathtaking waterfalls.",distance:"30 minutes drive",duration:"Full day",highlights:["Hiking","Wildlife Spotting","Waterfall Swimming"]},{id:4,name:"Historic Old Town",image:"https://images.pexels.com/photos/1659438/pexels-photo-1659438.jpeg?auto=compress&cs=tinysrgb&w=600",description:"Charming colonial architecture and local markets with traditional crafts.",distance:"15 minutes drive",duration:"3-4 hours",highlights:["Architecture","Shopping","Local Cuisine"]},{id:5,name:"Sunset Cruise",image:"https://images.pexels.com/photos/1117210/pexels-photo-1117210.jpeg?auto=compress&cs=tinysrgb&w=600",description:"Romantic sunset sailing with champagne and panoramic ocean views.",distance:"5 minutes walk to marina",duration:"2 hours",highlights:["Sailing","Sunset Views","Dolphin Watching"]},{id:6,name:"Mountain Observatory",image:"https://images.pexels.com/photos/1624496/pexels-photo-1624496.jpeg?auto=compress&cs=tinysrgb&w=600",description:"Panoramic island views and stargazing experience at the highest peak.",distance:"45 minutes drive",duration:"Half day",highlights:["Panoramic Views","Stargazing","Photography"]}],n=r=>{e.current&&e.current.scrollBy({left:r==="left"?-320:320,behavior:"smooth"})};return a.jsx("section",{id:"attractions",className:"py-20 bg-gray-50",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("span",{className:"inline-block px-4 py-2 bg-yellow-100 text-yellow-800 rounded-full text-sm font-medium mb-4",children:"Explore"}),a.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"Nearby Attractions"}),a.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Discover the beauty and adventure that surrounds our paradise location."})]}),a.jsxs("div",{className:"relative",children:[a.jsx("button",{onClick:()=>n("left"),className:"absolute left-0 top-1/2 transform -translate-y-1/2 z-10 bg-white shadow-lg rounded-full p-3 hover:bg-gray-50 transition-colors",children:a.jsx(Rl,{className:"w-6 h-6 text-gray-600"})}),a.jsx("button",{onClick:()=>n("right"),className:"absolute right-0 top-1/2 transform -translate-y-1/2 z-10 bg-white shadow-lg rounded-full p-3 hover:bg-gray-50 transition-colors",children:a.jsx(Tl,{className:"w-6 h-6 text-gray-600"})}),a.jsx("div",{ref:e,className:"flex space-x-6 overflow-x-auto scrollbar-hide pb-4",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:t.map(r=>a.jsxs("div",{className:"flex-none w-80 bg-white rounded-2xl shadow-lg overflow-hidden hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2",children:[a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:r.image,alt:r.name,className:"w-full h-48 object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"}),a.jsx("div",{className:"absolute top-4 right-4 bg-white/90 backdrop-blur-sm px-3 py-1 rounded-full",children:a.jsxs("div",{className:"flex items-center space-x-1 text-sm text-gray-700",children:[a.jsx(Il,{className:"w-4 h-4"}),a.jsx("span",{children:r.distance})]})}),a.jsx("div",{className:"absolute bottom-4 left-4 bg-yellow-500 px-3 py-1 rounded-full",children:a.jsxs("div",{className:"flex items-center space-x-1 text-sm text-white font-medium",children:[a.jsx(Bc,{className:"w-4 h-4"}),a.jsx("span",{children:r.duration})]})})]}),a.jsxs("div",{className:"p-6",children:[a.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:r.name}),a.jsx("p",{className:"text-gray-600 mb-4",children:r.description}),a.jsxs("div",{className:"mb-4",children:[a.jsx("h4",{className:"text-sm font-semibold text-gray-800 mb-2",children:"Highlights:"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:r.highlights.map((l,o)=>a.jsx("span",{className:"px-3 py-1 bg-yellow-100 text-yellow-800 rounded-full text-xs",children:l},o))})]}),a.jsxs("button",{className:"w-full flex items-center justify-center space-x-2 px-4 py-3 bg-gray-900 text-white font-semibold rounded-lg hover:bg-gray-800 transition-colors",children:[a.jsx(gm,{className:"w-4 h-4"}),a.jsx("span",{children:"Learn More"})]})]})]},r.id))})]})]})})},Pm=()=>a.jsx("section",{className:"py-20 bg-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[a.jsxs("div",{className:"text-center mb-16",children:[a.jsx("span",{className:"inline-block px-4 py-2 bg-yellow-100 text-yellow-800 rounded-full text-sm font-medium mb-4",children:"Location"}),a.jsx("h2",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:"Find Rgonsa Hotel"}),a.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Located in the heart of paradise, our hotel offers easy access to all major attractions and stunning natural beauty."})]}),a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8 items-start",children:[a.jsx("div",{className:"lg:col-span-1",children:a.jsxs("div",{className:"bg-gray-50 rounded-2xl p-8",children:[a.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-6",children:"Contact Information"}),a.jsxs("div",{className:"space-y-6",children:[a.jsxs("div",{className:"flex items-start space-x-4",children:[a.jsx("div",{className:"bg-yellow-500 p-3 rounded-full",children:a.jsx(Il,{className:"w-6 h-6 text-white"})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-gray-900",children:"Address"}),a.jsx("p",{className:"text-gray-600",children:"Skardu - Lower Kachura Hotel"})]})]}),a.jsxs("div",{className:"flex items-start space-x-4",children:[a.jsx("div",{className:"bg-yellow-500 p-3 rounded-full",children:a.jsx(nr,{className:"w-6 h-6 text-white"})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-gray-900",children:"Phone"}),a.jsx("p",{className:"text-gray-600",children:"+92 (300) 494-0451"})]})]}),a.jsxs("div",{className:"flex items-start space-x-4",children:[a.jsx("div",{className:"bg-yellow-500 p-3 rounded-full",children:a.jsx(ts,{className:"w-6 h-6 text-white"})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-gray-900",children:"Email"}),a.jsx("p",{className:"text-gray-600",children:"info@rgonsahotel.com"})]})]}),a.jsxs("div",{className:"flex items-start space-x-4",children:[a.jsx("div",{className:"bg-yellow-500 p-3 rounded-full",children:a.jsx(Bc,{className:"w-6 h-6 text-white"})}),a.jsxs("div",{children:[a.jsx("h4",{className:"font-semibold text-gray-900",children:"Reception Hours"}),a.jsx("p",{className:"text-gray-600",children:"24/7 Front Desk Service"})]})]})]}),a.jsxs("div",{className:"mt-8 pt-8 border-t border-gray-200",children:[a.jsx("h4",{className:"font-semibold text-gray-900 mb-4",children:"Getting Here"}),a.jsxs("ul",{className:"space-y-2 text-sm text-gray-600",children:[a.jsx("li",{children:"• Complimentary shuttle service available"}),a.jsx("li",{children:"• Taxi and ride-sharing services"}),a.jsx("li",{children:"• Car rental available on-site"})]})]})]})}),a.jsx("div",{className:"lg:col-span-2",children:a.jsx("div",{className:"bg-gray-100 rounded-2xl overflow-hidden h-96 lg:h-full min-h-[400px] relative",children:a.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3251.2120396096007!2d75.45114157638454!3d35.42477704401813!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x38e443bd233b2659%3A0xdefa94b17b7527ea!2sRGONSA!5e0!3m2!1sen!2s!4v1751305110993!5m2!1sen!2s",width:"100%",height:"450",loading:"lazy"})})})]})]})}),zm=()=>{const e=["About Us","Rooms & Suites","Dining","Spa & Wellness","Activities","Events"],t=["Airport Transfer","Concierge","Room Service","Laundry","Business Center","Pet Services"],n=[{icon:Vc,href:"#",label:"Facebook"},{icon:Qc,href:"#",label:"Instagram"},{icon:Kc,href:"#",label:"Twitter"},{icon:Yc,href:"#",label:"YouTube"}];return a.jsx("footer",{id:"contact",className:"bg-gray-900 text-white",children:a.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16",children:[a.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[a.jsxs("div",{className:"lg:col-span-1",children:[a.jsxs("div",{className:"flex items-center space-x-2 mb-6",children:[a.jsx("img",{src:"/logo.png",alt:"Hotel Logo",className:"h-44 w-40"}),a.jsx("span",{className:"text-2xl font-bold",children:"Rgonsa Hotel"})]}),a.jsx("p",{className:"text-gray-300 mb-6 leading-relaxed",children:"Experience luxury and comfort in paradise. Your unforgettable journey begins at Paradise Hotel, where every detail is crafted for your perfect getaway."}),a.jsxs("div",{className:"space-y-3",children:[a.jsxs("div",{className:"flex items-center space-x-3",children:[a.jsx(Il,{className:"w-5 h-5 text-yellow-400"}),"Skardu - Lower Kachura Hotel",a.jsx("span",{className:"text-gray-300"})]}),a.jsxs("div",{className:"flex items-center space-x-3",children:[a.jsx(nr,{className:"w-5 h-5 text-yellow-400"}),a.jsx("span",{className:"text-gray-300",children:"+92 (300) 494-0451"})]}),a.jsxs("div",{className:"flex items-center space-x-3",children:[a.jsx(ts,{className:"w-5 h-5 text-yellow-400"}),a.jsx("span",{className:"text-gray-300",children:"info@paradisehotel.com"})]})]})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-bold mb-6",children:"Quick Links"}),a.jsx("ul",{className:"space-y-3",children:e.map(r=>a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-gray-300 hover:text-yellow-400 transition-colors",children:r})},r))})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-bold mb-6",children:"Services"}),a.jsx("ul",{className:"space-y-3",children:t.map(r=>a.jsx("li",{children:a.jsx("a",{href:"#",className:"text-gray-300 hover:text-yellow-400 transition-colors",children:r})},r))})]}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl font-bold mb-6",children:"Stay Connected"}),a.jsx("p",{className:"text-gray-300 mb-6",children:"Subscribe to our newsletter for exclusive offers and updates."}),a.jsxs("div",{className:"mt-8",children:[a.jsx("h4",{className:"font-semibold mb-4",children:"Follow Us"}),a.jsx("div",{className:"flex space-x-4",children:n.map(({icon:r,href:l,label:o})=>a.jsx("a",{href:l,className:"bg-gray-800 p-3 rounded-full hover:bg-yellow-500 transition-colors","aria-label":o,children:a.jsx(r,{className:"w-5 h-5"})},o))})]})]})]}),a.jsx("div",{className:"border-t border-gray-800 mt-12 pt-8",children:a.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center space-y-4 md:space-y-0",children:[a.jsx("div",{className:"text-gray-400 text-sm",children:"© 2024 Rgonsa Hotel. All rights reserved."}),a.jsxs("div",{className:"flex space-x-6 text-sm",children:[a.jsx("a",{href:"#",className:"text-gray-400 hover:text-yellow-400 transition-colors",children:"Privacy Policy"}),a.jsx("a",{href:"#",className:"text-gray-400 hover:text-yellow-400 transition-colors",children:"Terms of Service"}),a.jsx("a",{href:"#",className:"text-gray-400 hover:text-yellow-400 transition-colors",children:"Cookie Policy"})]})]})})]})})},Lm=()=>{const[e,t]=E.useState(null),[n,r]=E.useState(0);E.useEffect(()=>{const c=localStorage.getItem("selectedRoom");if(c){const m=JSON.parse(c);m.images||(m.images=[m.image||"https://images.pexels.com/photos/164595/pexels-photo-164595.jpeg?auto=compress&cs=tinysrgb&w=800","https://images.pexels.com/photos/271618/pexels-photo-271618.jpeg?auto=compress&cs=tinysrgb&w=800","https://images.pexels.com/photos/1743231/pexels-photo-1743231.jpeg?auto=compress&cs=tinysrgb&w=800","https://images.pexels.com/photos/1457842/pexels-photo-1457842.jpeg?auto=compress&cs=tinysrgb&w=800","https://images.pexels.com/photos/1029599/pexels-photo-1029599.jpeg?auto=compress&cs=tinysrgb&w=800"]),t(m)}},[]);const l=()=>{window.history.back()},o=()=>{alert("Contact functionality - you can integrate with your booking system or contact form")},i=c=>{e&&r(c==="next"?m=>(m+1)%e.images.length:m=>m===0?e.images.length-1:m-1)},s=c=>{r(c)};if(!e)return a.jsx("div",{className:"min-h-screen flex items-center justify-center",children:a.jsxs("div",{className:"text-center",children:[a.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-4",children:"Room not found"}),a.jsx("button",{onClick:l,className:"px-6 py-3 bg-yellow-500 text-white font-semibold rounded-lg hover:bg-yellow-600 transition-colors",children:"Go Back"})]})});const u={"AC (Inverter)":ln,"Hot Water":jt,"Free Wi-Fi":Ct,Heaters:Wc,"Extra Mattresses":rt,Breakfast:Hc};return a.jsxs("div",{className:"min-h-screen bg-gray-50",children:[a.jsx("div",{className:"bg-white shadow-sm",children:a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:a.jsxs("button",{onClick:l,className:"flex items-center space-x-2 text-gray-600 hover:text-gray-900 transition-colors",children:[a.jsx(hm,{className:"w-5 h-5"}),a.jsx("span",{children:"Back to Rooms"})]})})}),a.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:a.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12",children:[a.jsxs("div",{className:"space-y-4",children:[a.jsxs("div",{className:"relative group",children:[a.jsx("img",{src:e.images[n],alt:`${e.name} - Image ${n+1}`,className:"w-full h-96 object-cover rounded-2xl transition-all duration-500"}),a.jsx("button",{onClick:()=>i("prev"),className:"absolute left-4 top-1/2 transform -translate-y-1/2 bg-black/50 hover:bg-black/70 text-white p-3 rounded-full opacity-0 group-hover:opacity-100 transition-all duration-300",children:a.jsx(Rl,{className:"w-6 h-6"})}),a.jsx("button",{onClick:()=>i("next"),className:"absolute right-4 top-1/2 transform -translate-y-1/2 bg-black/50 hover:bg-black/70 text-white p-3 rounded-full opacity-0 group-hover:opacity-100 transition-all duration-300",children:a.jsx(Tl,{className:"w-6 h-6"})}),a.jsxs("div",{className:"absolute bottom-4 right-4 bg-black/70 text-white px-3 py-1 rounded-full text-sm",children:[n+1," / ",e.images.length]}),a.jsxs("div",{className:"absolute top-4 left-4 bg-gray-900 text-white px-3 py-1 rounded-full text-sm font-semibold",children:["Room ",e.roomNumber]}),e.hasAC&&a.jsxs("div",{className:"absolute top-4 right-4 bg-blue-500 text-white px-3 py-1 rounded-full text-sm font-semibold flex items-center",children:[a.jsx(ln,{className:"w-4 h-4 mr-1"}),"AC Available"]}),a.jsx("div",{className:"absolute bottom-4 left-1/2 transform -translate-x-1/2 flex space-x-2",children:e.images.map((c,m)=>a.jsx("button",{onClick:()=>s(m),className:`w-3 h-3 rounded-full transition-all duration-300 ${m===n?"bg-white":"bg-white/50 hover:bg-white/75"}`},m))})]}),a.jsx("div",{className:"grid grid-cols-5 gap-2",children:e.images.map((c,m)=>a.jsxs("button",{onClick:()=>s(m),className:`relative overflow-hidden rounded-lg transition-all duration-300 ${m===n?"ring-2 ring-yellow-500 ring-offset-2":"hover:opacity-75"}`,children:[a.jsx("img",{src:c,alt:`Room view ${m+1}`,className:"w-full h-16 object-cover"}),m===n&&a.jsx("div",{className:"absolute inset-0 bg-yellow-500/20"})]},m))})]}),a.jsxs("div",{className:"space-y-8",children:[a.jsxs("div",{children:[a.jsx("h1",{className:"text-4xl font-bold text-gray-900 mb-2",children:e.name}),a.jsx("p",{className:"text-xl text-gray-600 mb-4",children:e.bedConfiguration}),a.jsx("p",{className:"text-gray-700 leading-relaxed",children:e.description})]}),a.jsxs("div",{className:"bg-white rounded-2xl p-6 shadow-lg",children:[a.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-4",children:"Room Information"}),a.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(wm,{className:"w-5 h-5 text-yellow-500"}),a.jsxs("span",{className:"text-gray-700",children:["Up to ",e.capacity," guests"]})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(rt,{className:"w-5 h-5 text-yellow-500"}),a.jsx("span",{className:"text-gray-700",children:e.bedConfiguration})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Ar,{className:"w-5 h-5 text-yellow-500"}),a.jsx("span",{className:"text-gray-700",children:"Private Bathroom"})]}),a.jsxs("div",{className:"flex items-center space-x-2",children:[a.jsx(Il,{className:"w-5 h-5 text-yellow-500"}),a.jsxs("span",{className:"text-gray-700",children:["Room ",e.roomNumber]})]})]})]}),a.jsxs("div",{className:"bg-white rounded-2xl p-6 shadow-lg",children:[a.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-4",children:"Available Services"}),a.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:e.features.map((c,m)=>{const h=u[c];return a.jsxs("div",{className:"flex items-center space-x-3 p-3 bg-gray-50 rounded-lg",children:[h&&a.jsx(h,{className:"w-5 h-5 text-yellow-500"}),a.jsx("span",{className:"text-gray-700 font-medium",children:c})]},m)})})]}),a.jsxs("div",{className:"bg-white rounded-2xl p-6 shadow-lg",children:[a.jsx("div",{className:"flex justify-between items-center mb-6",children:a.jsxs("div",{children:[a.jsxs("div",{className:"text-3xl font-bold text-gray-900",children:["₹",e.price,a.jsx("span",{className:"text-base font-normal text-gray-500",children:"/night"})]}),a.jsx("p",{className:"text-gray-600",children:"Best rate guaranteed"})]})}),a.jsxs("div",{className:"space-y-4",children:[a.jsxs("button",{onClick:o,className:"w-full px-6 py-4 bg-yellow-500 text-white font-semibold rounded-lg hover:bg-yellow-600 transform hover:scale-105 transition-all duration-300 flex items-center justify-center space-x-2",children:[a.jsx(nr,{className:"w-5 h-5"}),a.jsx("span",{children:"Contact for Booking"})]}),a.jsxs("div",{className:"text-center text-gray-600",children:[a.jsx("p",{className:"mb-2",children:"For reservations and inquiries:"}),a.jsxs("div",{className:"flex items-center justify-center space-x-4 text-sm",children:[a.jsxs("div",{className:"flex items-center space-x-1",children:[a.jsx(nr,{className:"w-4 h-4"}),a.jsx("span",{children:"+92 (300) 494-0451"})]}),a.jsxs("div",{className:"flex items-center space-x-1",children:[a.jsx(ts,{className:"w-4 h-4"}),a.jsx("span",{children:"info@rgonsahotel.com"})]})]})]})]})]})]})]})})]})};function Rm(){return a.jsxs("div",{className:"min-h-screen",children:[a.jsx(Sm,{}),a.jsx(Nm,{}),a.jsx(jm,{}),a.jsx(Cm,{}),a.jsx(Em,{}),a.jsx(_m,{}),a.jsx(Pm,{}),a.jsx(zm,{})]})}function Tm(){return a.jsx(dm,{children:a.jsxs(am,{children:[a.jsx(li,{path:"/",element:a.jsx(Rm,{})}),a.jsx(li,{path:"/room-details",element:a.jsx(Lm,{})})]})})}Tc(document.getElementById("root")).render(a.jsx(E.StrictMode,{children:a.jsx(Tm,{})}));