1(()=>{"use strict";var e={645:function(e,t,a){var r,n=a(708),l=a(198),s=a(935);function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(a=t.return),e=t.return;while(e)}return 3===t.tag?a:null}function c(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function u(e){if(o(e)!==e)throw Error(i(188))}var d=Object.assign,m=Symbol.for("react.element"),p=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),y=Symbol.for("react.consumer"),v=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),S=Symbol.for("react.lazy");Symbol.for("react.scope");var C=Symbol.for("react.activity");Symbol.for("react.legacy_hidden"),Symbol.for("react.tracing_marker");var E=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var P=Symbol.iterator;function M(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}var T=Symbol.for("react.client.reference"),D=Array.isArray,L=l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,z={pending:!1,data:null,method:null,action:null},F=[],O=-1;function _(e){return{current:e}}function R(e){0>O||(e.current=F[O],F[O]=null,O--)}function I(e,t){F[++O]=e.current,e.current=t}var q=_(null),V=_(null),U=_(null),H=_(null);function $(e,t){switch(I(U,t),I(V,e),I(q,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?cl(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=cs(t=cl(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}R(q),I(q,e)}function B(){R(q),R(V),R(U)}function W(e){null!==e.memoizedState&&I(H,e);var t=q.current,a=cs(t,e.type);t!==a&&(I(V,e),I(q,a))}function Q(e){V.current===e&&(R(q),R(V)),H.current===e&&(R(H),cG._currentValue=z)}var Y=Object.prototype.hasOwnProperty,G=n.unstable_scheduleCallback,K=n.unstable_cancelCallback,Z=n.unstable_shouldYield,J=n.unstable_requestPaint,X=n.unstable_now,ee=n.unstable_getCurrentPriorityLevel,et=n.unstable_ImmediatePriority,ea=n.unstable_UserBlockingPriority,er=n.unstable_NormalPriority,en=n.unstable_LowPriority,el=n.unstable_IdlePriority,es=n.log,ei=n.unstable_setDisableYieldValue,eo=null,ec=null;function eu(e){if("function"==typeof es&&ei(e),ec&&"function"==typeof ec.setStrictMode)try{ec.setStrictMode(eo,e)}catch(e){}}var ed=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(em(e)/ep|0)|0},em=Math.log,ep=Math.LN2,ef=256,eh=4194304;function ex(e){var t=42&e;if(0!==t)return t;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:return 64;case 128:return 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 4194048&e;case 4194304:case 8388608:case 0x1000000:case 0x2000000:return 0x3c00000&e;case 0x4000000:return 0x4000000;case 0x8000000:return 0x8000000;case 0x10000000:return 0x10000000;case 0x20000000:return 0x20000000;case 0x40000000:return 0;default:return e}}function eg(e,t,a){var r=e.pendingLanes;if(0===r)return 0;var n=0,l=e.suspendedLanes,s=e.pingedLanes;e=e.warmLanes;var i=0x7ffffff&r;return 0!==i?0!=(r=i&~l)?n=ex(r):0!=(s&=i)?n=ex(s):a||0!=(a=i&~e)&&(n=ex(a)):0!=(i=r&~l)?n=ex(i):0!==s?n=ex(s):a||0!=(a=r&~e)&&(n=ex(a)),0===n?0:0!==t&&t!==n&&0==(t&l)&&((l=n&-n)>=(a=t&-t)||32===l&&0!=(4194048&a))?t:n}function eb(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function ey(){var e=ef;return 0==(4194048&(ef<<=1))&&(ef=256),e}function ev(){var e=eh;return 0==(0x3c00000&(eh<<=1))&&(eh=4194304),e}function ej(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}
vendor: 7,274 bytes, line 1
1function ew(e,t){e.pendingLanes|=t,0x10000000!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eN(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ed(t);e.entangledLanes|=t,e.entanglements[r]=0x40000000|e.entanglements[r]|4194090&a}function ek(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var r=31-ed(a),n=1<<r;n&t|e[r]&t&&(e[r]|=t),a&=~n}}function eS(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 0x1000000:case 0x2000000:e=128;break;case 0x10000000:e=0x8000000;break;default:e=0}return e}function eC(e){return 2<(e&=-e)?8<e?0!=(0x7ffffff&e)?32:0x10000000:8:2}function eE(){var e=A.p;return 0!==e?e:void 0===(e=window.event)?32:c7(e.type)}var eP=Math.random().toString(36).slice(2),eM="__reactFiber$"+eP,eT="__reactProps$"+eP,eD="__reactContainer$"+eP,eL="__reactEvents$"+eP,eA="__reactListeners$"+eP,ez="__reactHandles$"+eP,eF="__reactResources$"+eP,eO="__reactMarker$"+eP;function e_(e){delete e[eM],delete e[eT],delete e[eL],delete e[eA],delete e[ez]}function eR(e){var t=e[eM];if(t)return t;for(var a=e.parentNode;a;){if(t=a[eD]||a[eM]){if(a=t.alternate,null!==t.child||null!==a&&null!==a.child)for(e=cv(e);null!==e;){if(a=e[eM])return a;e=cv(e)}return t}a=(e=a).parentNode}return null}function eI(e){if(e=e[eM]||e[eD]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function eq(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(i(33))}function eV(e){var t=e[eF];return t||(t=e[eF]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function eU(e){e[eO]=!0}var eH=new Set,e$={};function eB(e,t){eW(e,t),eW(e+"Capture",t)}function eW(e,t){for(e$[e]=t,e=0;e<t.length;e++)eH.add(t[e])}var eQ=RegExp("^[: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]*$"),eY={},eG={};function eK(e,t,a){if(Y.call(eG,t)||!Y.call(eY,t)&&(eQ.test(t)?eG[t]=!0:(eY[t]=!0,!1)))if(null===a)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+a)}}function eZ(e,t,a){if(null===a)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function eJ(e,t,a,r){if(null===r)e.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+r)}}function eX(e){if(void 0===tA)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tA=t&&t[1]||"",tz=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+tA+e+tz}var e0=!1;function e1(e,t){if(!e||e0)return"";e0=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var a=function(){throw Error()};if(Object.defineProperty(a.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(a,[])}catch(e){var r=e}Reflect.construct(e,[],a)}else{try{a.call()}catch(e){r=e}e.call(a.prototype)}}else{try{throw Error()}catch(e){r=e}(a=e())&&"function"==typeof a.catch&&a.catch(function(){})}}catch(e){if(e&&r&&"string"==typeof e.stack)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var l=r.DetermineComponentFrameRoot(),s=l[0],i=l[1];if(s&&i){var o=s.split("\n"),c=i.split("\n");for(n=r=0;r<o.length&&!o[r].includes("DetermineComponentFrameRoot");)r++;for(;n<c.length&&!c[n].includes("DetermineComponentFrameRoot");)n++;if(r===o.length||n===c.length)for(r=o.length-1,n=c.length-1;1<=r&&0<=n&&o[r]!==c[n];)n--;for(;1<=r&&0<=n;r--,n--)if(o[r]!==c[n]){if(1!==r||1!==n)do if(r--,n--,0>n||o[r]!==c[n]){var u="\n"+o[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=r&&0<=n);break}}}finally{e0=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?eX(a):""}function e2(e){try{var t="";do t+=function(e){switch(e.tag){case 26:case 27:case 5:return eX(e.type);case 16:return eX("Lazy");case 13:return eX("Suspense");case 19:return eX("SuspenseList");case 0:case 15:return e1(e.type,!1);case 11:return e1(e.type.render,!1);case 1:return e1(e.type,!0);case 31:return eX("Activity");default:return""}}(e),e=e.return;while(e);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function e4(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function e3(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function e5(e){e._valueTracker||(e._valueTracker=function(e){var t=e3(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==a&&"function"==typeof a.get&&"function"==typeof a.set){var n=a.get,l=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(e){r=""+e,l.call(this,e)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function e6(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),r="";return e&&(r=e3(e)?e.checked?"true":"false":e.value),(e=r)!==a&&(t.setValue(e),!0)}function e8(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var e7=/[\n"\\]/g;function e9(e){return e.replace(e7,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function te(e,t,a,r,n,l,s,i){e.name="",null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.type=s:e.removeAttribute("type"),null!=t?"number"===s?(0===t&&""===e.value||e.value!=t)&&(e.value=""+e4(t)):e.value!==""+e4(t)&&(e.value=""+e4(t)):"submit"!==s&&"reset"!==s||e.removeAttribute("value"),null!=t?ta(e,s,e4(t)):null!=a?ta(e,s,e4(a)):null!=r&&e.removeAttribute("value"),null==n&&null!=l&&(e.defaultChecked=!!l),null!=n&&(e.checked=n&&"function"!=typeof n&&"symbol"!=typeof n),null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.name=""+e4(i):e.removeAttribute("name")}function tt(e,t,a,r,n,l,s,i){if(null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l&&(e.type=l),null!=t||null!=a){if
1(("submit"===l||"reset"===l)&&null==t)return;a=null!=a?""+e4(a):"",t=null!=t?""+e4(t):a,i||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:n)&&"symbol"!=typeof r&&!!r,e.checked=i?e.checked:!!r,e.defaultChecked=!!r,null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s&&(e.name=s)}function ta(e,t,a){"number"===t&&e8(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function tr(e,t,a,r){if(e=e.options,t){t={};for(var n=0;n<a.length;n++)t["$"+a[n]]=!0;for(a=0;a<e.length;a++)n=t.hasOwnProperty("$"+e[a].value),e[a].selected!==n&&(e[a].selected=n),n&&r&&(e[a].defaultSelected=!0)}else{for(n=0,a=""+e4(a),t=null;n<e.length;n++){if(e[n].value===a){e[n].selected=!0,r&&(e[n].defaultSelected=!0);return}null!==t||e[n].disabled||(t=e[n])}null!==t&&(t.selected=!0)}}function tn(e,t,a){if(null!=t&&((t=""+e4(t))!==e.value&&(e.value=t),null==a)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=null!=a?""+e4(a):""}function tl(e,t,a,r){if(null==t){if(null!=r){if(null!=a)throw Error(i(92));if(D(r)){if(1<r.length)throw Error(i(93));r=r[0]}a=r}null==a&&(a=""),t=a}e.defaultValue=a=e4(t),(r=e.textContent)===a&&""!==r&&null!==r&&(e.value=r)}function ts(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&3===a.nodeType){a.nodeValue=t;return}}e.textContent=t}var ti=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function to(e,t,a){var r=0===t.indexOf("--");null==a||"boolean"==typeof a||""===a?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,a):"number"!=typeof a||0===a||ti.has(t)?"float"===t?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function tc(e,t,a){if(null!=t&&"object"!=typeof t)throw Error(i(62));if(e=e.style,null!=a){for(var r in a)!a.hasOwnProperty(r)||null!=t&&t.hasOwnProperty(r)||(0===r.indexOf("--")?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="");for(var n in t)r=t[n],t.hasOwnProperty(n)&&a[n]!==r&&to(e,n,r)}else for(var l in t)t.hasOwnProperty(l)&&to(e,l,t[l])}function tu(e){if(-1===e.indexOf("-"))return!1;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 td=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
1-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),tm=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tp(e){return tm.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var tf=null;function th(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var tx=null,tg=null;function tb(e){var t=eI(e);if(t&&(e=t.stateNode)){var a=e[eT]||null;switch(e=t.stateNode,t.type){case"input":if(te(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,"radio"===a.type&&null!=t){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+e9(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var r=a[t];if(r!==e&&r.form===e.form){var n=r[eT]||null;if(!n)throw Error(i(90));te(r,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<a.length;t++)(r=a[t]).form===e.form&&e6(r)}break;case"textarea":tn(e,a.value,a.defaultValue);break;case"select":null!=(t=a.value)&&tr(e,!!a.multiple,t,!1)}}}var ty=!1;function tv(e,t,a){if(ty)return e(t,a);ty=!0;try{return e(t)}finally{if(ty=!1,(null!==tx||null!==tg)&&(oe(),tx&&(t=tx,e=tg,tg=tx=null,tb(t),e)))for(t=0;t<e.length;t++)tb(e[t])}}function tj(e,t){var a=e.stateNode;if(null===a)return null;var r=a[eT]||null;if(null===r)return null;switch(a=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r="button"!==(e=e.type)&&"input"!==e&&"select"!==e&&"textarea"!==e),e=!r;break;default:e=!1}if(e)return null;if(a&&"function"!=typeof a)throw Error(i(231,t,typeof a));return a}var tw="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,tN=!1;if(tw)try{var tk={};Object.defineProperty(tk,"passive",{get:function(){tN=!0}}),window.addEventListener("test",tk,tk),window.removeEventListener("test",tk,tk)}catch(e){tN=!1}var tS=null,tC=null,tE=null;function tP(){if(tE)return tE;var e,t,a=tC,r=a.length,n="value"in tS?tS.value:tS.textContent,l=n.length;for(e=0;e<r&&a[e]===n[e];e++);var s=r-e;for(t=1;t<=s&&a[r-t]===n[l-t];t++);return tE=n.slice(e,1<t?1-t:void 0)}function tM(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tT(){return!0}function tD(){return!1}function tL(e){function t(t,a,r,n,l){for(var s in this._reactName=t,this._targetInst=r,this.type=a,this.nativeEvent=n,this.target=l,this.currentTarget=null,e)e.hasOwnProperty(s)&&(t=e[s],this[s]=t?t(n):n[s]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?tT:tD,this.isPropagationStopped=tD,this}return d(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tT)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tT)},persist:function(){},isPersistent:tT}),t}var tA,tz,tF,tO,t_,tR={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tI=tL(tR),tq=d({},tR,{view:0,detail:0}),tV=tL(tq),tU=d({},tq,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tX,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,359 bytes, line 1
1Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==t_&&(t_&&"mousemove"===e.type?(tF=e.screenX-t_.screenX,tO=e.screenY-t_.screenY):tO=tF=0,t_=e),tF)},movementY:function(e){return"movementY"in e?e.movementY:tO}}),tH=tL(tU),t$=tL(d({},tU,{dataTransfer:0})),tB=tL(d({},tq,{relatedTarget:0})),tW=tL(d({},tR,{animationName:0,elapsedTime:0,pseudoElement:0})),tQ=tL(d({},tR,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),tY=tL(d({},tR,{data:0})),tG={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tK={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},tZ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tJ(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=tZ[e])&&!!t[e]}function tX(){return tJ}var t0=tL(d({},tq,{key:function(e){if(e.key){var t=tG[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tM(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?tK[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tX,charCode:function(e){return"keypress"===e.type?tM(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tM(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),t1=tL(d({},tU,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),t2=tL(d({},tq,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tX})),t4=tL(d({},tR,{propertyName:0,elapsedTime:0,pseudoElement:0})),t3=tL(d({},tU,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),t5=tL(d({},tR,{newState:0,oldState:0})),t6=[9,13,27,32],t8=tw&&"CompositionEvent"in window,t7=null;tw&&"documentMode"in document&&(t7=document.documentMode);var t9=tw&&"TextEvent"in window&&!t7,ae=tw&&(!t8||t7&&8<t7&&11>=t7),at=!1;function aa(e,t){switch(e){case"keyup":return -1!==t6.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ar(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var an=!1,al={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function as(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!al[e.type]:"textarea"===t}function ai(e,t,a,r){tx?tg?tg.push(r):tg=[r]:tx=r,0<(t=o1(t,"onChange")).length&&(a=new tI("onChange","change",null,a,r),e.push({event:a,listeners:t}))}var ao=null,ac=null;function au(e){oQ(e,0)}function ad(e){if(e6(eq(e)))return e}function am(e,t){if("change"===e)return t}var ap=!1;if(tw){if(tw){var af="oninput"in document;if(!af){var ah=document.createElement("div");ah.setAttribute("oninput","return;"),af="function"==typeof ah.oninput}r=af}else r=!1;ap=r&&(!document.documentMode||9<document.documentMode)}function ax(){ao&&(ao.detachEvent("onpropertychange",ag),ac=ao=null)}function ag(e){if("value"===e.propertyName&&ad(ac)){var t=[];ai(t,ac,e,th(e)),tv(au,t)}}function ab(e,t,a){"focusin"===e?(ax(),ao=t,ac=a,ao.attachEvent("onpropertychange",ag)):"focusout"===e&&ax()}function ay(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return ad(ac)}function av(e,t){if("click"===e)return ad(t)}function aj(e,t){if("input"===e||"change"===e)return ad(t)}var aw="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function aN(e,t){if(aw(e,t))return!0;
vendor: 9,137 bytes, line 1
1if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var a=Object.keys(e),r=Object.keys(t);if(a.length!==r.length)return!1;for(r=0;r<a.length;r++){var n=a[r];if(!Y.call(t,n)||!aw(e[n],t[n]))return!1}return!0}function ak(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function aS(e,t){var a,r=ak(e);for(e=0;r;){if(3===r.nodeType){if(a=e+r.textContent.length,e<=t&&a>=t)return{node:r,offset:t-e};e=a}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ak(r)}}function aC(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var t=e8(e.document);t instanceof e.HTMLIFrameElement;){try{var a="string"==typeof t.contentWindow.location.href}catch(e){a=!1}if(a)e=t.contentWindow;else break;t=e8(e.document)}return t}function aE(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var aP=tw&&"documentMode"in document&&11>=document.documentMode,aM=null,aT=null,aD=null,aL=!1;function aA(e,t,a){var r=a.window===a?a.document:9===a.nodeType?a:a.ownerDocument;aL||null==aM||aM!==e8(r)||(r="selectionStart"in(r=aM)&&aE(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},aD&&aN(aD,r)||(aD=r,0<(r=o1(aT,"onSelect")).length&&(t=new tI("onSelect","select",null,t,a),e.push({event:t,listeners:r}),t.target=aM)))}function az(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var aF={animationend:az("Animation","AnimationEnd"),animationiteration:az("Animation","AnimationIteration"),animationstart:az("Animation","AnimationStart"),transitionrun:az("Transition","TransitionRun"),transitionstart:az("Transition","TransitionStart"),transitioncancel:az("Transition","TransitionCancel"),transitionend:az("Transition","TransitionEnd")},aO={},a_={};function aR(e){if(aO[e])return aO[e];if(!aF[e])return e;var t,a=aF[e];for(t in a)if(a.hasOwnProperty(t)&&t in a_)return aO[e]=a[t];return e}tw&&(a_=document.createElement("div").style,"AnimationEvent"in window||(delete aF.animationend.animation,delete aF.animationiteration.animation,delete aF.animationstart.animation),"TransitionEvent"in window||delete aF.transitionend.transition);var aI=aR("animationend"),aq=aR("animationiteration"),aV=aR("animationstart"),aU=aR("transitionrun"),aH=aR("transitionstart"),a$=aR("transitioncancel"),aB=aR("transitionend"),aW=new Map,aQ="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function aY(e,t){aW.set(e,t),eB(t,[e])}aQ.push("scrollEnd");var aG=new WeakMap;function aK(e,t){if("object"==typeof e&&null!==e){var a=aG.get(e);return void 0!==a?a:(t={value:e,source:t,stack:e2(t)},aG.set(e,t),t)}return{value:e,source:t,stack:e2(t)}}var aZ=[],aJ=0,aX=0;function a0(){for(var e=aJ,t=aX=aJ=0;t<e;){var a=aZ[t];aZ[t++]=null;var r=aZ[t];aZ[t++]=null;var n=aZ[t];aZ[t++]=null;var l=aZ[t];if(aZ[t++]=null,null!==r&&null!==n){var s=r.pending;null===s?n.next=n:(n.next=s.next,s.next=n),r.pending=n}0!==l&&a3(a,n,l)}}function a1(e,t,a,r){aZ[aJ++]=e,aZ[aJ++]=t,aZ[aJ++]=a,aZ[aJ++]=r,aX|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function a2(e,t,a,r){return a1(e,t,a,r),a5(e)}function a4(e,t){return a1(e,null,null,t),a5(e)}function a3(e,t,a){e.lanes|=a;var r=e.alternate;null!==r&&(r.lanes|=a);for(var n=!1,l=e.return;null!==l;)l.childLanes|=a,null!==(r=l.alternate)&&(r.childLanes|=a),22===l.tag&&(null===(e=l.stateNode)||1&e._visibility||(n=!0)),e=l,l=l.return;return 3===e.tag?(l=e.stateNode,n&&null!==t&&(n=31-ed(a),null===(r=(e=l.hiddenUpdates)[n])?e[n]=[t]:r.push(t),t.lane=0x20000000|a),l):null}function a5(e){if(50<i2)throw i2=0,i4=null,Error(i(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var a6={};function a8(e,t,a,r){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=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 a7(e,t,a,r){return new a8(e,t,a,r)}function a9(e){return!(!(e=e.prototype)||!e.isReactComponent)}function re(e,t){var a=e.alternate;return null===a?((a=a7(e.tag,t,e.key,e.mode)).elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=0x3e00000&e.flags,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function rt(e,t){e.flags&=0x3e00002;var a=e.alternate;return null===a?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,e.dependencies=null===(t=a.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ra(e,t,a,r,n,l){var s=0;if(r=e,"function"==typeof e)a9(e)&&(s=1);else if("string"==typeof e)s=!function(e,t,a){if(1===a||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;if("stylesheet"===t.rel)return e=t.disabled,"string"==typeof t.precedence&&null==e;return!0;case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,a,q.current)?"html"===e||"head"===e||"body"===e?27:5:26;else e:switch(e){case C:return(e=a7(31,a,t,n)).elementType=C,e.lanes=l,e;case h:return rr(a.children,n,l,t);case x:s=8,n|=24;break;case g:return(e=a7(12,a,t,2|n)).elementType=g,e.lanes=l,e;case w:return(e=a7(13,a,t,n)).elementType=w,e.lanes=l,e;case N:return(e=a7(19,a,t,n)).elementType=N,e.lanes=l,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case b:case v:s=10;break e;case y:s=9;break e;case j:s=11;break e;case k:s=14;break e;case S:s=16,r=null;break e}s=29,a=Error(i(130,null===e?"null":typeof e,"")),r=null}return(t=a7(s,a,t,n)).elementType=e,t.type=r,t.lanes=l,t}function rr(e,t,a,r){return(e=a7(7,e,r,t)).lanes=a,e}function rn(e,t,a){return(e=a7(6,e,null,t)).lanes=a,e}function rl(e,t,a){return(t=a7(4,null!==e.children?e.children:[],e.key,t)).lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var rs=[],ri=0,ro=null,rc=0,ru=[],rd=0,rm=null,rp=1,rf="";function rh(e,t){rs[ri++]=rc,rs[ri++]=ro,ro=e,rc=t}function rx(e,t,a){ru[rd++]=rp,ru[rd++]=rf,ru[rd++]=rm,rm=e;var r=rp;e=rf;var n=32-ed(r)-1;r&=~(1<<n),a+=1;var l=32-ed(t)+n;if(30<l){var s=n-n%5;l=(r&(1<<s)-1).toString(32),r>>=s,n-=s,rp=1<<32-ed(t)+n|a<<n|r,rf=l+e}else rp=1<<l|a<<n|r,rf=e}function rg(e){null!==e.return&&(rh(e,1),rx(e,1,0))}function rb(e){for(;e===ro;)ro=rs[--ri],rs[ri]=null,rc=rs[--ri],rs[ri]=null;for(;e===rm;)rm=ru[--rd],ru[rd]=null,rf=ru[--rd],ru[rd]=null,rp=ru[--rd],ru[rd]=null}var ry=null,rv=null,rj=!1,rw=null,rN=!1,rk=Error(i(519));function rS(e){throw rD(aK(Error(i(418,"")),e)),rk}function rC(e){var t=e.stateNode,a=e.type,r=e.memoizedProps;switch(t[eM]=e,t[eT]=r,a){case"dialog":oY("cancel",t),oY("close",t);break;case"iframe":case"object":case"embed":oY("load",t);break;case"video":case"audio":for(a=0;a<oB.length;a++)oY(oB[a],t);break;case"source":oY("error",t);break;case"img":case"image":case"link":oY("error",t),oY("load",t);break;case"details":oY("toggle",t);break;case"input":oY("invalid",t),tt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),e5(t);break;case"select":oY("invalid",t);break;case"textarea":oY("invalid",t),tl(t,r.value,r.defaultValue,r.children),e5(t)}"string"!=typeof(a=r.children)&&"number"!=typeof a&&"bigint"!=typeof a||t.textContent===""+a||!0===r.
1suppressHydrationWarning||o8(t.textContent,a)?(null!=r.popover&&(oY("beforetoggle",t),oY("toggle",t)),null!=r.onScroll&&oY("scroll",t),null!=r.onScrollEnd&&oY("scrollend",t),null!=r.onClick&&(t.onclick=o7),t=!0):t=!1,t||rS(e)}function rE(e){for(ry=e.return;ry;)switch(ry.tag){case 5:case 13:rN=!1;return;case 27:case 3:rN=!0;return;default:ry=ry.return}}function rP(e){if(e!==ry)return!1;if(!rj)return rE(e),rj=!0,!1;var t,a=e.tag;if((t=3!==a&&27!==a)&&((t=5===a)&&(t="form"===(t=e.type)||"button"===t||ci(e.type,e.memoizedProps)),t=!t),t&&rv&&rS(e),rE(e),13===a){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(a=0,e=e.nextSibling;e;){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===a){rv=cb(e.nextSibling);break e}a--}else"$"!==t&&"$!"!==t&&"$?"!==t||a++;e=e.nextSibling}rv=null}}else 27===a?(a=rv,cf(e.type)?(e=cy,cy=null,rv=e):rv=a):rv=ry?cb(e.stateNode.nextSibling):null;return!0}function rM(){rv=ry=null,rj=!1}function rT(){var e=rw;return null!==e&&(null===iH?iH=e:iH.push.apply(iH,e),rw=null),e}function rD(e){null===rw?rw=[e]:rw.push(e)}var rL=_(null),rA=null,rz=null;function rF(e,t,a){I(rL,t._currentValue),t._currentValue=a}function rO(e){e._currentValue=rL.current,R(rL)}function r_(e,t,a){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===a)break;e=e.return}}function rR(e,t,a,r){var n=e.child;for(null!==n&&(n.return=e);null!==n;){var l=n.dependencies;if(null!==l){var s=n.child;l=l.firstContext;e:for(;null!==l;){var o=l;l=n;for(var c=0;c<t.length;c++)if(o.context===t[c]){l.lanes|=a,null!==(o=l.alternate)&&(o.lanes|=a),r_(l.return,a,e),r||(s=null);break e}l=o.next}}else if(18===n.tag){if(null===(s=n.return))throw Error(i(341));s.lanes|=a,null!==(l=s.alternate)&&(l.lanes|=a),r_(s,a,e),s=null}else s=n.child;if(null!==s)s.return=n;else for(s=n;null!==s;){if(s===e){s=null;break}if(null!==(n=s.sibling)){n.return=s.return,s=n;break}s=s.return}n=s}}function rI(e,t,a,r){e=null;for(var n=t,l=!1;null!==n;){if(!l){if(0!=(524288&n.flags))l=!0;else if(0!=(262144&n.flags))break}if(10===n.tag){var s=n.alternate;if(null===s)throw Error(i(387));if(null!==(s=s.memoizedProps)){var o=n.type;aw(n.pendingProps.value,s.value)||(null!==e?e.push(o):e=[o])}}else if(n===H.current){if(null===(s=n.alternate))throw Error(i(387));s.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(null!==e?e.push(cG):e=[cG])}n=n.return}null!==e&&rR(t,e,a,r),t.flags|=262144}function rq(e){for(e=e.firstContext;null!==e;){if(!aw(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
vendor: 8,611 bytes, line 1
1function rV(e){rA=e,rz=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function rU(e){return r$(rA,e)}function rH(e,t){return null===rA&&rV(e),r$(e,t)}function r$(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},null===rz){if(null===e)throw Error(i(308));rz=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else rz=rz.next=t;return a}var rB="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},rW=n.unstable_scheduleCallback,rQ=n.unstable_NormalPriority,rY={$$typeof:v,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function rG(){return{controller:new rB,data:new Map,refCount:0}}function rK(e){e.refCount--,0===e.refCount&&rW(rQ,function(){e.controller.abort()})}var rZ=null,rJ=0,rX=0,r0=null;function r1(){if(0==--rJ&&null!==rZ){null!==r0&&(r0.status="fulfilled");var e=rZ;rZ=null,rX=0,r0=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var r2=L.S;L.S=function(e,t){"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===rZ){var a=rZ=[];rJ=0,rX=oq(),r0={status:"pending",value:void 0,then:function(e){a.push(e)}}}rJ++,t.then(r1,r1)}(0,t),null!==r2&&r2(e,t)};var r4=_(null);function r3(){var e=r4.current;return null!==e?e:iE.pooledCache}function r5(e,t){null===t?I(r4,r4.current):I(r4,t.pool)}function r6(){var e=r3();return null===e?null:{parent:rY._currentValue,pool:e}}var r8=Error(i(460)),r7=Error(i(474)),r9=Error(i(542)),ne={then:function(){}};function nt(e){return"fulfilled"===(e=e.status)||"rejected"===e}function na(){}function nr(e,t,a){switch(void 0===(a=e[a])?e.push(t):a!==t&&(t.then(na,na),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw ns(e=t.reason),e;default:if("string"==typeof t.status)t.then(na,na);else{if(null!==(e=iE)&&100<e.shellSuspendCounter)throw Error(i(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var a=t;a.status="fulfilled",a.value=e}},function(e){if("pending"===t.status){var a=t;a.status="rejected",a.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw ns(e=t.reason),e}throw nn=t,r8}}var nn=null;function nl(){if(null===nn)throw Error(i(459));var e=nn;return nn=null,e}function ns(e){if(e===r8||e===r9)throw Error(i(483))}var ni=!1;function no(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function nc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function nu(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function nd(e,t,a){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&iC)){var n=r.pending;return null===n?t.next=t:(t.next=n.next,n.next=t),r.pending=t,t=a5(e),a3(e,null,a),t}return a1(e,r,t,a),a5(e)}function nm(e,t,a){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194048&a))){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,ek(e,a)}}function np(e,t){var a=e.updateQueue,r=e.alternate;if(null!==r&&a===(r=r.updateQueue)){var n=null,l=null;if(null!==(a=a.firstBaseUpdate)){do{var s={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};null===l?n=l=s:l=l.next=s,a=a.next}while(null!==a);null===l?n=l=t:l=l.next=t}else n=l=t;a={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:l,shared:r.shared,callbacks:r.callbacks},e.updateQueue=a;return}null===(e=a.lastBaseUpdate)?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var nf=!1;function nh(){if(nf){var e=r0;if(null!==e)throw e}}function nx(e,t,a,r){nf=!1;var n=e.updateQueue;ni=!1;var l=n.firstBaseUpdate,s=n.lastBaseUpdate,i=n.shared.pending;if(null!==i){n.shared.pending=null;var o=i,c=o.next;o.next=null,null===s?l=c:s.next=c,s=o;var u=e.alternate;null!==u&&(i=(u=u.updateQueue).lastBaseUpdate)!==s&&(null===i?u.firstBaseUpdate=c:i.next=c,u.lastBaseUpdate=o)}if(null!==l){var m=n.baseState;for(s=0,u=c=o=null,i=l;;){var p=-0x20000001&i.lane,f=p!==i.lane;if(f?(iM&p)===p:(r&p)===p){0!==p&&p===rX&&(nf=!0),null!==u&&(u=u.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});e:{var h=e,x=i;switch(p=t,x.tag){case 1:if("function"==typeof(h=x.payload)){m=h.call(a,m,p);break e}m=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(p="function"==typeof(h=x.payload)?h.call(a,m,p):h))break e;m=d({},m,p);break e;case 2:ni=!0}}null!==(p=i.callback)&&(e.flags|=64,f&&(e.flags|=8192),null===(f=n.callbacks)?n.callbacks=[p]:f.push(p))}else f={lane:p,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===u?(c=u=f,o=m):u=u.next=f,s|=p;if(null===(i=i.next))if(null===(i=n.shared.pending))break;else i=(f=i).next,f.next=null,n.lastBaseUpdate=f,n.shared.pending=null}null===u&&(o=m),n.baseState=o,n.firstBaseUpdate=c,n.lastBaseUpdate=u,null===l&&(n.shared.lanes=0),i_|=s,e.lanes=s,e.memoizedState=m}}function ng(e,t){if("function"!=typeof e)throw Error(i(191,e));e.call(t)}function nb(e,t){var a=e.callbacks;if(null!==a)for(e.callbacks=null,e=0;e<a.length;e++)ng(a[e],t)}var ny=_(null),nv=_(0);function nj(e,t){I(nv,e=iF),I(ny,t),iF=e|t.baseLanes}function nw(){I(nv,iF),I(ny,ny.current)}function nN(){iF=nv.current,R(ny),R(nv)}var nk=0,nS=null,nC=null,nE=null,nP=!1,nM=!1,nT=!1,nD=0,nL=0,nA=null,nz=0;function nF(){throw Error(i(321))}function nO(e,t){if(null===t)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!aw(e[a],t[a]))return!1;return!0}function n_(e,t,a,r,n,l){return nk=l,nS=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=null===e||null===e.memoizedState?lH:l$,nT=!1,l=a(r,n),nT=!1,nM&&(l=nI(t,a,r,n)),nR(e),l}function nR(e){L.H=lU;var t=null!==nC&&null!==nC.next;if(nk=0,nE=nC=nS=null,nP=!1,nL=0,nA=null,t)throw Error(i(300));null===e||sf||null!==(e=e.dependencies)&&rq(e)&&(sf=!0)}function nI(e,t,a,r){nS=e;var n=0;do{if(nM&&(nA=null),nL=0,nM=!1,25<=n)throw Error(i(301));if(n+=1,nE=nC=null,null!=e.updateQueue){var l=e.updateQueue;l.lastEffect=null,l.events=null,l.stores=null,null!=l.memoCache&&(l.memoCache.index=0)}L.H=lB,l=t(a,r)}while(nM);return l}function nq(){var e=L.H,t=e.useState()[0];return t="function"==typeof t.then?nQ(t):t,e=e.useState()[0],(null!==nC?nC.memoizedState:null)!==e&&(nS.flags|=1024),t}function nV(){var e=0!==nD;return nD=0,e}function nU(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function nH(e){if(nP){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}nP=!1}nk=0,nE=nC=nS=null,nM=!1,nL=nD=0,nA=null}function n$(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===nE?nS.memoizedState=nE=e:nE=nE.next=e,nE}function nB(){if(null===nC){var e=nS.alternate;e=null!==e?e.memoizedState:null}else e=nC.next;var t=null===nE?nS.memoizedState:nE.next;if(null!==t)nE=t,nC=e;else{if(null===e){if(null===nS.alternate)throw Error(i(467));throw Error(i(310))}e={memoizedState:(nC=e).memoizedState,baseState:nC.baseState,baseQueue:nC.baseQueue,queue:nC.queue,next:null},null===nE?nS.memoizedState=nE=e:nE=nE.next=e}return nE}function nW(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function nQ(e){var t=nL;return nL+=1,null===nA&&(nA=[]),e=nr(nA,e,t),t=nS,null===(null===nE?t.memoizedState:nE.next)&&(L.H=null===(t=t.alternate)||null===t.memoizedState?lH:l$),e}function nY(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return nQ(e);if(e.$$typeof===v)return rU(e)}throw Error(i(438,String(e)))}function nG(e){var t=null,a=nS.updateQueue;if(null!==a&&(t=a.memoCache),null==t){var r=nS.alternate;null!==r&&null!==(r=r.updateQueue)&&null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===a&&(a=nW(),nS.updateQueue=a),a.memoCache=t,void 0===(a=t.data[t.index]))for(a=t.data[t.index]=Array(e),r=0;r<e;r++)a[r]=E;return t.index++,a}function nK(e,t){return"function"==typeof t?t(e):t}function nZ(e){return nJ(nB(),nC,e)}function nJ(e,t,a){var r=e.queue;if(null===r)throw Error(i(311));r.lastRenderedReducer=a;var n=e.baseQueue,l=r.pending;if(null!==l){if(null!==n){var s=n.next;n.next=l.next,l.next=s}t.baseQueue=n=l,r.pending=null}if(l=e.baseState,null===n)e.memoizedState=l;else{t=n.next;var o=s=null,c=null,u=t,d=!1;do{var m=-0x20000001&u.lane;if(m!==u.lane?(iM&m)===m:(nk&m)===m){var p=u.revertLane;if(0===p)null!==c&&(c=c.next={lane:0,revertLane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),m===rX&&(d=!0);
1else if((nk&p)===p){u=u.next,p===rX&&(d=!0);continue}else m={lane:0,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(o=c=m,s=l):c=c.next=m,nS.lanes|=p,i_|=p;m=u.action,nT&&a(l,m),l=u.hasEagerState?u.eagerState:a(l,m)}else p={lane:m,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(o=c=p,s=l):c=c.next=p,nS.lanes|=m,i_|=m;u=u.next}while(null!==u&&u!==t);if(null===c?s=l:c.next=o,!aw(l,e.memoizedState)&&(sf=!0,d&&null!==(a=r0)))throw a;e.memoizedState=l,e.baseState=s,e.baseQueue=c,r.lastRenderedState=l}return null===n&&(r.lanes=0),[e.memoizedState,r.dispatch]}function nX(e){var t=nB(),a=t.queue;if(null===a)throw Error(i(311));a.lastRenderedReducer=e;var r=a.dispatch,n=a.pending,l=t.memoizedState;if(null!==n){a.pending=null;var s=n=n.next;do l=e(l,s.action),s=s.next;while(s!==n);aw(l,t.memoizedState)||(sf=!0),t.memoizedState=l,null===t.baseQueue&&(t.baseState=l),a.lastRenderedState=l}return[l,r]}function n0(e,t,a){var r=nS,n=nB(),l=rj;if(l){if(void 0===a)throw Error(i(407));a=a()}else a=t();var s=!aw((nC||n).memoizedState,a);if(s&&(n.memoizedState=a,sf=!0),n=n.queue,lf(2048,8,n4.bind(null,r,n,e),[e]),n.getSnapshot!==t||s||null!==nE&&1&nE.memoizedState.tag){if(r.flags|=2048,lu(9,ld(),n2.bind(null,r,n,a,t),null),null===iE)throw Error(i(349));l||0!=(124&nk)||n1(r,t,a)}return a}function n1(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},null===(t=nS.updateQueue)?(t=nW(),nS.updateQueue=t,t.stores=[e]):null===(a=t.stores)?t.stores=[e]:a.push(e)}function n2(e,t,a,r){t.value=a,t.getSnapshot=r,n3(t)&&n5(e)}function n4(e,t,a){return a(function(){n3(t)&&n5(e)})}function n3(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!aw(e,a)}catch(e){return!0}}function n5(e){var t=a4(e,2);null!==t&&i6(t,e,2)}function n6(e){var t=n$();if("function"==typeof e){var a=e;if(e=a(),nT){eu(!0);try{a()}finally{eu(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:nK,lastRenderedState:e},t}function n8(e,t,a,r){return e.baseState=a,nJ(e,nC,"function"==typeof r?r:nK)}function n7(e,t,a,r,n){if(lI(e))throw Error(i(485));if(null!==(e=t.action)){var l={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){l.listeners.push(e)}};null!==L.T?a(!0):l.isTransition=!1,r(l),null===(a=t.pending)?(l.next=t.pending=l,n9(t,l)):(l.next=a.next,t.pending=a.next=l)}}function n9(e,t){var a=t.action,r=t.payload,n=e.state;if(t.isTransition){var l=L.T,s={};L.T=s;try{var i=a(n,r),o=L.S;null!==o&&o(s,i),le(e,t,i)}catch(a){la(e,t,a)}finally{L.T=l}}else try{l=a(n,r),le(e,t,l)}catch(a){la(e,t,a)}}function le(e,t,a){null!==a&&"object"==typeof a&&"function"==typeof a.then?a.then(function(a){lt(e,t,a)},function(a){return la(e,t,a)}):lt(e,t,a)}function lt(e,t,a){t.status="fulfilled",t.value=a,lr(t),e.state=a,null!==(t=e.pending)&&((a=t.next)===t?e.pending=null:(a=a.next,t.next=a,n9(e,a)))}function la(e,t,a){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do t.status="rejected",t.reason=a,lr(t),t=t.next;while(t!==r)}e.action=null}function lr(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ln(e,t){return t}function ll(e,t){if(rj){var a=iE.formState;if(null!==a){e:{var r=nS;if(rj){if(rv){t:{for(var n=rv,l=rN;8!==n.nodeType;)if(!l||null===(n=cb(n.nextSibling))){n=null;break t}n="F!"===(l=n.data)||"F"===l?n:null}if(n){rv=cb(n.nextSibling),r="F!"===n.data;break e}}rS(r)}r=!1}r&&(t=a[0])}}return(a=n$()).memoizedState=a.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ln,lastRenderedState:t},a.queue=r,a=lO.bind(null,nS,r),r.dispatch=a,r=n6(!1),l=lR.bind(null,nS,!1,r.queue),r=n$(),n={state:t,dispatch:null,action:e,pending:null},r.queue=n,a=n7.bind(null,nS,n,l,a),n.dispatch=a,r.memoizedState=e,[t,a,!1]}function ls(e){return li(nB(),nC,e)}function li(e,t,a){if(t=nJ(e,t,ln)[0],e=nZ(nK)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=nQ(t)}catch(e){if(e===r8)throw r9;throw e}else r=t;var n=(t=nB()).queue,l=n.dispatch;return a!==t.memoizedState&&(nS.flags|=2048,lu(9,ld(),lo.bind(null,n,a),null)),[r,l,e]}function lo(e,t){e.action=t}function lc(e){var t=nB(),a=nC;if(null!==a)return li(t,a,e);nB(),t=t.memoizedState;var r=(a=nB()).queue.dispatch;return a.memoizedState=e,[t,r,!1]}function lu(e,t,a,r){return e={tag:e,create:a,deps:r,inst:t,next:null},null===(t=nS.updateQueue)&&(t=nW(),nS.updateQueue=t),null===(a=t.lastEffect)?t.lastEffect=e.next=e:(r=a.next,a.next=e,e.next=r,t.lastEffect=e),e}function ld(){return{destroy:void 0,resource:void 0}}function lm(){return nB().memoizedState}function lp(e,t,a,r){var n=n$();r=void 0===r?null:r,nS.flags|=e,n.memoizedState=lu(1|t,ld(),a,r)}function lf(e,t,a,r){var n=nB();r=void 0===r?null:r;var l=n.memoizedState.inst;null!==nC&&null!==r&&nO(r,nC.memoizedState.deps)?n.memoizedState=lu(t,l,a,r):(nS.flags|=e,n.memoizedState=lu(1|t,l,a,r))}function lh(e,t){lp(8390656,8,e,t)}function lx(e,t){lf(2048,8,e,t)}function lg(e,t){return lf(4,2,e,t)}function lb(e,t){return lf(4,4,e,t)}function ly(e,t){if("function"==typeof t){var a=t(e=e());return function(){"function"==typeof a?a():t(null)}}if(null!=t)return t.current=e=e(),function(){t.current=null}}function lv(e,t,a){a=null!=a?a.concat([e]):null,lf(4,4,ly.bind(null,t,e),a)}function lj(){}function lw(e,t){var a=nB();t=void 0===t?null:t;var r=a.memoizedState;return null!==t&&nO(t,r[1])?r[0]:(a.memoizedState=[e,t],e)}function lN(e,t){var a=nB();t=void 0===t?null:t;var r=a.memoizedState;if(null!==t&&nO(t,r[1]))return r[0];if(r=e(),nT){eu(!0);try{e()}finally{eu(!1)}}return a.memoizedState=[r,t],r}function lk(e,t,a){return void 0===a||0!=(0x40000000&nk)?e.memoizedState=t:(e.memoizedState=a,e=i5(),nS.lanes|=e,i_|=e,a)}function lS(e,t,a,r){return aw(a,t)?a:null!==ny.current?(aw(e=lk(e,a,r),t)||(sf=!0),e):0==(42&nk)?(sf=!0,e.memoizedState=a):(e=i5(),nS.lanes|=e,i_|=e,t)}function lC(e,t,a,r,n){var l=A.p;A.p=0!==l&&8>l?l:8;var s=L.T,i={};L.T=i,lR(e,!1,t,a);try{var o=n(),c=L.S;if(null!==c&&c(i,o),null!==o&&"object"==typeof o&&"function"==typeof o.then){var u,d,m=(u=[],d={status:"pending",value:null,reason:null,then:function(e){u.push(e)}},o.then(function(){d.status="fulfilled",d.value=r;
1for(var e=0;e<u.length;e++)(0,u[e])(r)},function(e){for(d.status="rejected",d.reason=e,e=0;e<u.length;e++)(0,u[e])(void 0)}),d);l_(e,t,m,i3(e))}else l_(e,t,r,i3(e))}catch(a){l_(e,t,{then:function(){},status:"rejected",reason:a},i3())}finally{A.p=l,L.T=s}}function lE(){}function lP(e,t,a,r){if(5!==e.tag)throw Error(i(476));var n=lM(e).queue;lC(e,n,t,z,null===a?lE:function(){return lT(e),a(r)})}function lM(e){var t=e.memoizedState;if(null!==t)return t;var a={};return(t={memoizedState:z,baseState:z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nK,lastRenderedState:z},next:null}).next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nK,lastRenderedState:a},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function lT(e){var t=lM(e).next.queue;l_(e,t,{},i3())}function lD(){return rU(cG)}function lL(){return nB().memoizedState}function lA(){return nB().memoizedState}function lz(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var a=i3(),r=nd(t,e=nu(a),a);null!==r&&(i6(r,t,a),nm(r,t,a)),t={cache:rG()},e.payload=t;return}t=t.return}}function lF(e,t,a){var r=i3();a={lane:r,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},lI(e)?lq(t,a):null!==(a=a2(e,t,a,r))&&(i6(a,e,r),lV(a,t,r))}function lO(e,t,a){l_(e,t,a,i3())}function l_(e,t,a,r){var n={lane:r,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(lI(e))lq(t,n);else{var l=e.alternate;if(0===e.lanes&&(null===l||0===l.lanes)&&null!==(l=t.lastRenderedReducer))try{var s=t.lastRenderedState,i=l(s,a);if(n.hasEagerState=!0,n.eagerState=i,aw(i,s))return a1(e,t,n,0),null===iE&&a0(),!1}catch(e){}finally{}if(null!==(a=a2(e,t,n,r)))return i6(a,e,r),lV(a,t,r),!0}return!1}function lR(e,t,a,r){if(r={lane:2,revertLane:oq(),action:r,hasEagerState:!1,eagerState:null,next:null},lI(e)){if(t)throw Error(i(479))}else null!==(t=a2(e,a,r,2))&&i6(t,e,2)}function lI(e){var t=e.alternate;return e===nS||null!==t&&t===nS}function lq(e,t){nM=nP=!0;var a=e.pending;null===a?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function lV(e,t,a){if(0!=(4194048&a)){var r=t.lanes;r&=e.pendingLanes,t.lanes=a|=r,ek(e,a)}}var lU={readContext:rU,use:nY,useCallback:nF,useContext:nF,useEffect:nF,useImperativeHandle:nF,useLayoutEffect:nF,useInsertionEffect:nF,useMemo:nF,useReducer:nF,useRef:nF,useState:nF,useDebugValue:nF,useDeferredValue:nF,useTransition:nF,useSyncExternalStore:nF,useId:nF,useHostTransitionStatus:nF,useFormState:nF,useActionState:nF,useOptimistic:nF,useMemoCache:nF,useCacheRefresh:nF},lH={readContext:rU,use:nY,useCallback:function(e,t){return n$().memoizedState=[e,void 0===t?null:t],e},useContext:rU,useEffect:lh,useImperativeHandle:function(e,t,a){a=null!=a?a.concat([e]):null,lp(4194308,4,ly.bind(null,t,e),a)},useLayoutEffect:function(e,t){return lp(4194308,4,e,t)},useInsertionEffect:function(e,t){lp(4,2,e,t)},useMemo:function(e,t){var a=n$();t=void 0===t?null:t;var r=e();if(nT){eu(!0);try{e()}finally{eu(!1)}}return a.memoizedState=[r,t],r},useReducer:function(e,t,a){var r=n$();if(void 0!==a){var n=a(t);if(nT){eu(!0);try{a(t)}finally{eu(!1)}}}else n=t;return r.memoizedState=r.baseState=n,r.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},e=e.dispatch=lF.bind(null,nS,e),[r.memoizedState,e]},useRef:function(e){return n$().memoizedState={current:e}},useState:function(e){var t=(e=n6(e)).queue,a=lO.bind(null,nS,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:lj,useDeferredValue:function(e,t){return lk(n$(),e,t)},useTransition:function(){var e=n6(!1);return e=lC.bind(null,nS,e.queue,!0,!1),n$().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var r=nS,n=n$();if(rj){if(void 0===a)throw Error(i(407));a=a()}else{if(a=t(),null===iE)throw Error(i(349));0!=(124&iM)||n1(r,t,a)}n.memoizedState=a;var l={value:a,getSnapshot:t};return n.queue=l,lh(n4.bind(null,r,l,e),[e]),r.flags|=2048,lu(9,ld(),n2.bind(null,r,l,a,t),null),a},useId:function(){var e=n$(),t=iE.identifierPrefix;if(rj){var a=rf,r=rp;t="\xab"+t+"R"+(a=(r&~(1<<32-ed(r)-1)).toString(32)+a),0<(a=nD++)&&(t+="H"+a.toString(32)),t+="\xbb"}else t="\xab"+t+"r"+(a=nz++).toString(32)+"\xbb";return e.memoizedState=t},useHostTransitionStatus:lD,useFormState:ll,useActionState:ll,useOptimistic:function(e){var t=n$();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=lR.bind(null,nS,!0,a),a.dispatch=t,[e,t]},useMemoCache:nG,useCacheRefresh:function(){return n$().memoizedState=lz.b
1ind(null,nS)}},l$={readContext:rU,use:nY,useCallback:lw,useContext:rU,useEffect:lx,useImperativeHandle:lv,useInsertionEffect:lg,useLayoutEffect:lb,useMemo:lN,useReducer:nZ,useRef:lm,useState:function(){return nZ(nK)},useDebugValue:lj,useDeferredValue:function(e,t){return lS(nB(),nC.memoizedState,e,t)},useTransition:function(){var e=nZ(nK)[0],t=nB().memoizedState;return["boolean"==typeof e?e:nQ(e),t]},useSyncExternalStore:n0,useId:lL,useHostTransitionStatus:lD,useFormState:ls,useActionState:ls,useOptimistic:function(e,t){return n8(nB(),nC,e,t)},useMemoCache:nG,useCacheRefresh:lA},lB={readContext:rU,use:nY,useCallback:lw,useContext:rU,useEffect:lx,useImperativeHandle:lv,useInsertionEffect:lg,useLayoutEffect:lb,useMemo:lN,useReducer:nX,useRef:lm,useState:function(){return nX(nK)},useDebugValue:lj,useDeferredValue:function(e,t){var a=nB();return null===nC?lk(a,e,t):lS(a,nC.memoizedState,e,t)},useTransition:function(){var e=nX(nK)[0],t=nB().memoizedState;return["boolean"==typeof e?e:nQ(e),t]},useSyncExternalStore:n0,useId:lL,useHostTransitionStatus:lD,useFormState:lc,useActionState:lc,useOptimistic:function(e,t){var a=nB();return null!==nC?n8(a,nC,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:nG,useCacheRefresh:lA},lW=null,lQ=0;function lY(e){var t=lQ;return lQ+=1,null===lW&&(lW=[]),nr(lW,e,t)}function lG(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function lK(e,t){if(t.$$typeof===m)throw Error(i(525));throw Error(i(31,"[object Object]"===(e=Object.prototype.toString.call(t))?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function lZ(e){return(0,e._init)(e._payload)}function lJ(e){function t(t,a){if(e){var r=t.deletions;null===r?(t.deletions=[a],t.flags|=16):r.push(a)}}function a(a,r){if(!e)return null;for(;null!==r;)t(a,r),r=r.sibling;return null}function r(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function n(e,t){return(e=re(e,t)).index=0,e.sibling=null,e}function l(t,a,r){return(t.index=r,e)?null!==(r=t.alternate)?(r=r.index)<a?(t.flags|=0x4000002,a):r:(t.flags|=0x4000002,a):(t.flags|=1048576,a)}function s(t){return e&&null===t.alternate&&(t.flags|=0x4000002),t}function o(e,t,a,r){return null===t||6!==t.tag?(t=rn(a,e.mode,r)).return=e:(t=n(t,a)).return=e,t}function c(e,t,a,r){var l=a.type;return l===h?d(e,t,a.props.children,r,a.key):(null!==t&&(t.elementType===l||"object"==typeof l&&null!==l&&l.$$typeof===S&&lZ(l)===t.type)?lG(t=n(t,a.props),a):lG(t=ra(a.type,a.key,a.props,null,e.mode,r),a),t.return=e,t)}function u(e,t,a,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==a.containerInfo||t.stateNode.implementation!==a.implementation?(t=rl(a,e.mode,r)).return=e:(t=n(t,a.children||[])).return=e,t}function d(e,t,a,r,l){return null===t||7!==t.tag?(t=rr(a,e.mode,r,l)).return=e:(t=n(t,a)).return=e,t}function m(e,t,a){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=rn(""+t,e.mode,a)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case p:return lG(a=ra(t.type,t.key,t.props,null,e.mode,a),t),a.return=e,a;case f:return(t=rl(t,e.mode,a)).return=e,t;case S:return m(e,t=(0,t._init)(t._payload),a)}if(D(t)||M(t))return(t=rr(t,e.mode,a,null)).return=e,t;if("function"==typeof t.then)return m(e,lY(t),a);if(t.$$typeof===v)return m(e,rH(e,t),a);lK(e,t)}return null}function x(e,t,a,r){var n=null!==t?t.key:null;if("string"==typeof a&&""!==a||"number"==typeof a||"bigint"==typeof a)return null!==n?null:o(e,t,""+a,r);if("object"==typeof a&&null!==a){switch(a.$$typeof){case p:return a.key===n?c(e,t,a,r):null;case f:return a.key===n?u(e,t,a,r):null;case S:return x(e,t,a=(n=a._init)(a._payload),r)}if(D(a)||M(a))return null!==n?null:d(e,t,a,r,null);if("function"==typeof a.then)return x(e,t,lY(a),r);if(a.$$typeof===v)return x(e,t,rH(e,a),r);lK(e,a)}return null}function g(e,t,a,r,n){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return o(t,e=e.get(a)||null,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case p:return c(t,e=e.get(null===r.key?a:r.key)||null,r,n);case f:return u(t,e=e.get(null===r.key?a:r.key)||null,r,n);case S:return g(e,t,a,r=(0,r._init)(r._payload),n)}if(D(r)||M(r))return d(t,e=e.get(a)||null,r,n,null);if("function"==typeof r.then)return g(e,t,a,lY(r),n);if(r.$$typeof===v)return g(e,t,a,rH(t,r),n);lK(t,r)}return null}return function(o,c,u,d){try{lQ=0;var b=function o(c,u,d,b){if("object"==typeof d&&null!==d&&d.type===h&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case p:e:{for(var y=d.key;null!==u;){if(u.key===y){if((y=d.type)===h){if(7===u.tag){a(c,u.sibling),(b=n(u,d.props.children)).return=c,c=b;break e}}else if(u.elementType===y||"object"==typeof y&&null!==y&&y.$$typeof===S&&lZ(y)===u.type){a(c,u.sibling),lG(b=n(u,d.props),d),b.return=c,c=b;break e}a(c,u);break}t(c,u),u=u.sibling}d.type===h?(b=rr(d.props.children,c.mode,b,d.key)).return=c:(lG(b=ra(d.type,d.key,d.props,null,c.mode,b),d),b.return=c),c=b}return s(c);case f:e:{for(y=d.key;null!==u;){if(u.key===y)if(4===u.tag&&u.stateNode.containerInfo===d.containerInfo&&u.stateNode.implementation===d.implementation){a(c,u.sibling),(b=n(u,d.children||[])).return=c,c=b;break e}else{a(c,u);break}t(c,u),u=u.sibling}(b=rl(d,c.mode,b)).return=c,c=b}return s(c);case S:return o(c,u,d=(y=d._init)(d._payload),b)}if(D(d))return function(n,s,i,o){for(var c=null,u=null,d=s,p=s=0,f=null;null!==d&&p<i.length;p++){d.index>p?(f=d,d=null):f=d.sibling;var h=x(n,d,i[p],o);if(null===h){null===d&&(d=f);break}e&&d&&null===h.alternate&&t(n,d),s=l(h,s,p),null===u?c=h:u.sibling=h,u=h,d=f}if(p===i.length)return a(n,d),rj&&rh(n,p),c;if(null===d){for(;p<i.length;p++)null!==(d=m(n,i[p],o))&&(s=l(d,s,p),null===u?c=d:u.sibling=d,u=d);return rj&&rh(n,p),c}for(d=r(d);p<i.length;p++)null!==(f=g(d,n,p,i[p],o))&&(e&&null!==f.alternate&&d.delete(null===f.key?p:f.key),s=l(f,s,p),null===u?c=f:u.sibling=f,u=f);return e&&d.forEach(function(e){return t(n,e)}),rj&&rh(n,p),c}(c,u,d,b);
vendor: 5,381 bytes, line 1
1if(M(d)){if("function"!=typeof(y=M(d)))throw Error(i(150));return function(n,s,o,c){if(null==o)throw Error(i(151));for(var u=null,d=null,p=s,f=s=0,h=null,b=o.next();null!==p&&!b.done;f++,b=o.next()){p.index>f?(h=p,p=null):h=p.sibling;var y=x(n,p,b.value,c);if(null===y){null===p&&(p=h);break}e&&p&&null===y.alternate&&t(n,p),s=l(y,s,f),null===d?u=y:d.sibling=y,d=y,p=h}if(b.done)return a(n,p),rj&&rh(n,f),u;if(null===p){for(;!b.done;f++,b=o.next())null!==(b=m(n,b.value,c))&&(s=l(b,s,f),null===d?u=b:d.sibling=b,d=b);return rj&&rh(n,f),u}for(p=r(p);!b.done;f++,b=o.next())null!==(b=g(p,n,f,b.value,c))&&(e&&null!==b.alternate&&p.delete(null===b.key?f:b.key),s=l(b,s,f),null===d?u=b:d.sibling=b,d=b);return e&&p.forEach(function(e){return t(n,e)}),rj&&rh(n,f),u}(c,u,d=y.call(d),b)}if("function"==typeof d.then)return o(c,u,lY(d),b);if(d.$$typeof===v)return o(c,u,rH(c,d),b);lK(c,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==u&&6===u.tag?(a(c,u.sibling),(b=n(u,d)).return=c):(a(c,u),(b=rn(d,c.mode,b)).return=c),s(c=b)):a(c,u)}(o,c,u,d);return lW=null,b}catch(e){if(e===r8||e===r9)throw e;var y=a7(29,e,null,o.mode);return y.lanes=d,y.return=o,y}finally{}}}var lX=lJ(!0),l0=lJ(!1),l1=_(null),l2=null;function l4(e){var t=e.alternate;I(l8,1&l8.current),I(l1,e),null===l2&&(null===t||null!==ny.current?l2=e:null!==t.memoizedState&&(l2=e))}function l3(e){if(22===e.tag){if(I(l8,l8.current),I(l1,e),null===l2){var t=e.alternate;null!==t&&null!==t.memoizedState&&(l2=e)}}else l5(e)}function l5(){I(l8,l8.current),I(l1,l1.current)}function l6(e){R(l1),l2===e&&(l2=null),R(l8)}var l8=_(0);function l7(e){for(var t=e;null!==t;){if(13===t.tag){var a=t.memoizedState;if(null!==a&&(null===(a=a.dehydrated)||"$?"===a.data||cg(a)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function l9(e,t,a,r){a=null==(a=a(r,t=e.memoizedState))?t:d({},t,a),e.memoizedState=a,0===e.lanes&&(e.updateQueue.baseState=a)}var se={enqueueSetState:function(e,t,a){e=e._reactInternals;var r=i3(),n=nu(r);n.payload=t,null!=a&&(n.callback=a),null!==(t=nd(e,n,r))&&(i6(t,e,r),nm(t,e,r))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var r=i3(),n=nu(r);n.tag=1,n.payload=t,null!=a&&(n.callback=a),null!==(t=nd(e,n,r))&&(i6(t,e,r),nm(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=i3(),r=nu(a);r.tag=2,null!=t&&(r.callback=t),null!==(t=nd(e,r,a))&&(i6(t,e,a),nm(t,e,a))}};function st(e,t,a,r,n,l,s){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,l,s):!t.prototype||!t.prototype.isPureReactComponent||!aN(a,r)||!aN(n,l)}function sa(e,t,a,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(a,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(a,r),t.state!==e&&se.enqueueReplaceState(t,t.state,null)}function sr(e,t){var a=t;if("ref"in t)for(var r in a={},t)"ref"!==r&&(a[r]=t[r]);if(e=e.defaultProps)for(var n in a===t&&(a=d({},a)),e)void 0===a[n]&&(a[n]=e[n]);return a}var sn="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function sl(e){sn(e)}function ss(e){console.error(e)}function si(e){sn(e)}function so(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function sc(e,t,a){try{(0,e.onCaughtError)(a.value,{componentStack:a.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function su(e,t,a){return(a=nu(a)).tag=3,a.payload={element:null},a.callback=function(){so(e,t)},a}function sd(e){return(e=nu(e)).tag=3,e}function sm(e,t,a,r){var n=a.type.getDerivedStateFromError;if("function"==typeof n){var l=r.value;e.payload=function(){return n(l)},e.callback=function(){sc(t,a,r)}}var s=a.stateNode;null!==s&&"function"==typeof s.componentDidCatch&&(e.callback=function(){sc(t,a,r),"function"!=typeof n&&(null===iY?iY=new Set([this]):iY.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var sp=Error(i(461)),sf=!1;function sh(e,t,a,r){t.child=null===e?l0(t,null,a,r):lX(t,e.child,a,r)}function sx(e,t,a,r,n){a=a.render;var l=t.ref;if("ref"in r){var s={};for(var i in r)"ref"!==i&&(s[i]=r[i])}else s=r;return(rV(t),r=n_(e,t,a,s,l,n),i=nV(),null===e||sf)?(rj&&i&&rg(t),t.flags|=1,sh(e,t,r,n),t.child):(nU(e,t,n),sO(e,t,n))}function sg(e,t,a,r,n){if(null===e){var l=a.type;return"function"!=typeof l||a9(l)||void 0!==l.defaultProps||null!==a.compare?((e=ra(a.type,null,r,t,t.mode,n)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=l,sb(e,t,l,r,n))}if(l=e.child,!s_(e,n)){var s=l.memoizedProps;if((a=null!==(a=a.compare)?a:aN)(s,r)&&e.ref===t.ref)return sO(e,t,n)}return t.flags|=1,(e=re(l,r)).ref=t.ref,e.return=t,t.child=e}
1function sb(e,t,a,r,n){if(null!==e){var l=e.memoizedProps;if(aN(l,r)&&e.ref===t.ref)if(sf=!1,t.pendingProps=r=l,!s_(e,n))return t.lanes=e.lanes,sO(e,t,n);else 0!=(131072&e.flags)&&(sf=!0)}return sw(e,t,a,r,n)}function sy(e,t,a){var r=t.pendingProps,n=r.children,l=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(0!=(128&t.flags)){if(r=null!==l?l.baseLanes|a:a,null!==e){for(l=0,n=t.child=e.child;null!==n;)l=l|n.lanes|n.childLanes,n=n.sibling;t.childLanes=l&~r}else t.childLanes=0,t.child=null;return sv(e,t,r,a)}if(0==(0x20000000&a))return t.lanes=t.childLanes=0x20000000,sv(e,t,null!==l?l.baseLanes|a:a,a);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&r5(t,null!==l?l.cachePool:null),null!==l?nj(t,l):nw(),l3(t)}else null!==l?(r5(t,l.cachePool),nj(t,l),l5(t),t.memoizedState=null):(null!==e&&r5(t,null),nw(),l5(t));return sh(e,t,n,a),t.child}function sv(e,t,a,r){var n=r3();return t.memoizedState={baseLanes:a,cachePool:n=null===n?null:{parent:rY._currentValue,pool:n}},null!==e&&r5(t,null),nw(),l3(t),null!==e&&rI(e,t,r,!0),null}function sj(e,t){var a=t.ref;if(null===a)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof a&&"object"!=typeof a)throw Error(i(284));(null===e||e.ref!==a)&&(t.flags|=4194816)}}function sw(e,t,a,r,n){return(rV(t),a=n_(e,t,a,r,void 0,n),r=nV(),null===e||sf)?(rj&&r&&rg(t),t.flags|=1,sh(e,t,a,n),t.child):(nU(e,t,n),sO(e,t,n))}function sN(e,t,a,r,n,l){return(rV(t),t.updateQueue=null,a=nI(t,r,a,n),nR(e),r=nV(),null===e||sf)?(rj&&r&&rg(t),t.flags|=1,sh(e,t,a,l),t.child):(nU(e,t,l),sO(e,t,l))}function sk(e,t,a,r,n){if(rV(t),null===t.stateNode){var l=a6,s=a.contextType;"object"==typeof s&&null!==s&&(l=rU(s)),t.memoizedState=null!==(l=new a(r,l)).state&&void 0!==l.state?l.state:null,l.updater=se,t.stateNode=l,l._reactInternals=t,(l=t.stateNode).props=r,l.state=t.memoizedState,l.refs={},no(t),s=a.contextType,l.context="object"==typeof s&&null!==s?rU(s):a6,l.state=t.memoizedState,"function"==typeof(s=a.getDerivedStateFromProps)&&(l9(t,a,s,r),l.state=t.memoizedState),"function"==typeof a.getDerivedStateFromProps||"function"==typeof l.getSnapshotBeforeUpdate||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||(s=l.state,"function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount(),s!==l.state&&se.enqueueReplaceState(l,l.state,null),nx(t,r,l,n),nh(),l.state=t.memoizedState),"function"==typeof l.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){l=t.stateNode;var i=t.memoizedProps,o=sr(a,i);l.props=o;var c=l.context,u=a.contextType;s=a6,"object"==typeof u&&null!==u&&(s=rU(u));var d=a.getDerivedStateFromProps;u="function"==typeof d||"function"==typeof l.getSnapshotBeforeUpdate,i=t.pendingProps!==i,u||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(i||c!==s)&&sa(t,l,r,s),ni=!1;var m=t.memoizedState;l.state=m,nx(t,r,l,n),nh(),c=t.memoizedState,i||m!==c||ni?("function"==typeof d&&(l9(t,a,d,r),c=t.memoizedState),(o=ni||st(t,a,o,r,m,c,s))?(u||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(t.flags|=4194308)):("function"==typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),l.props=r,l.state=c,l.context=s,r=o):("function"==typeof l.componentDidMount&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,nc(e,t),u=sr(a,s=t.memoizedProps),l.props=u,d=t.pendingProps,m=l.context,c=a.contextType,o=a6,"object"==typeof c&&null!==c&&(o=rU(c)),(c="function"==typeof(i=a.getDerivedStateFromProps)||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(s!==d||m!==o)&&sa(t,l,r,o),ni=!1,m=t.memoizedState,l.state=m,nx(t,r,l,n),nh();var p=t.memoizedState;
1s!==d||m!==p||ni||null!==e&&null!==e.dependencies&&rq(e.dependencies)?("function"==typeof i&&(l9(t,a,i,r),p=t.memoizedState),(u=ni||st(t,a,u,r,m,p,o)||null!==e&&null!==e.dependencies&&rq(e.dependencies))?(c||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(r,p,o),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,p,o)),"function"==typeof l.componentDidUpdate&&(t.flags|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof l.componentDidUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),l.props=r,l.state=p,l.context=o,r=u):("function"!=typeof l.componentDidUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),"function"!=typeof l.getSnapshotBeforeUpdate||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return l=r,sj(e,t),r=0!=(128&t.flags),l||r?(l=t.stateNode,a=r&&"function"!=typeof a.getDerivedStateFromError?null:l.render(),t.flags|=1,null!==e&&r?(t.child=lX(t,e.child,null,n),t.child=lX(t,null,a,n)):sh(e,t,a,n),t.memoizedState=l.state,e=t.child):e=sO(e,t,n),e}function sS(e,t,a,r){return rM(),t.flags|=256,sh(e,t,a,r),t.child}var sC={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function sE(e){return{baseLanes:e,cachePool:r6()}}function sP(e,t,a){return e=null!==e?e.childLanes&~a:0,t&&(e|=iq),e}function sM(e,t,a){var r,n=t.pendingProps,l=!1,s=0!=(128&t.flags);if((r=s)||(r=(null===e||null!==e.memoizedState)&&0!=(2&l8.current)),r&&(l=!0,t.flags&=-129),r=0!=(32&t.flags),t.flags&=-33,null===e){if(rj){if(l?l4(t):l5(t),rj){var o,c=rv;if(o=c){a:{for(o=c,c=rN;8!==o.nodeType;)if(!c||null===(o=cb(o.nextSibling))){c=null;break a}c=o}null!==c?(t.memoizedState={dehydrated:c,treeContext:null!==rm?{id:rp,overflow:rf}:null,retryLane:0x20000000,hydrationErrors:null},(o=a7(18,null,null,0)).stateNode=c,o.return=t,t.child=o,ry=t,rv=null,o=!0):o=!1}o||rS(t)}if(null!==(c=t.memoizedState)&&null!==(c=c.dehydrated))return cg(c)?t.lanes=32:t.lanes=0x20000000,null;l6(t)}return(c=n.children,n=n.fallback,l)?(l5(t),c=sD({mode:"hidden",children:c}
1,l=t.mode),n=rr(n,l,a,null),c.return=t,n.return=t,c.sibling=n,t.child=c,(l=t.child).memoizedState=sE(a),l.childLanes=sP(e,r,a),t.memoizedState=sC,n):(l4(t),sT(t,c))}if(null!==(o=e.memoizedState)&&null!==(c=o.dehydrated)){if(s)256&t.flags?(l4(t),t.flags&=-257,t=sL(e,t,a)):null!==t.memoizedState?(l5(t),t.child=e.child,t.flags|=128,t=null):(l5(t),l=n.fallback,c=t.mode,n=sD({mode:"visible",children:n.children},c),l=rr(l,c,a,null),l.flags|=2,n.return=t,l.return=t,n.sibling=l,t.child=n,lX(t,e.child,null,a),(n=t.child).memoizedState=sE(a),n.childLanes=sP(e,r,a),t.memoizedState=sC,t=l);else if(l4(t),cg(c)){if(r=c.nextSibling&&c.nextSibling.dataset)var u=r.dgst;r=u,(n=Error(i(419))).stack="",n.digest=r,rD({value:n,source:null,stack:null}),t=sL(e,t,a)}else if(sf||rI(e,t,a,!1),r=0!=(a&e.childLanes),sf||r){if(null!==(r=iE)&&0!==(n=0!=((n=0!=(42&(n=a&-a))?1:eS(n))&(r.suspendedLanes|a))?0:n)&&n!==o.retryLane)throw o.retryLane=n,a4(e,n),i6(r,e,n),sp;"$?"===c.data||os(),t=sL(e,t,a)}else"$?"===c.data?(t.flags|=192,t.child=e.child,t=null):(e=o.treeContext,rv=cb(c.nextSibling),ry=t,rj=!0,rw=null,rN=!1,null!==e&&(ru[rd++]=rp,ru[rd++]=rf,ru[rd++]=rm,rp=e.id,rf=e.overflow,rm=t),t=sT(t,n.children),t.flags|=4096);return t}return l?(l5(t),l=n.fallback,c=t.mode,u=(o=e.child).sibling,(n=re(o,{mode:"hidden",children:n.children})).subtreeFlags=0x3e00000&o.subtreeFlags,null!==u?l=re(u,l):(l=rr(l,c,a,null),l.flags|=2),l.return=t,n.return=t,n.sibling=l,t.child=n,n=l,l=t.child,null===(c=e.child.memoizedState)?c=sE(a):(null!==(o=c.cachePool)?(u=rY._currentValue,o=o.parent!==u?{parent:u,pool:u}:o):o=r6(),c={baseLanes:c.baseLanes|a,cachePool:o}),l.memoizedState=c,l.childLanes=sP(e,r,a),t.memoizedState=sC,n):(l4(t),e=(a=e.child).sibling,(a=re(a,{mode:"visible",children:n.children})).return=t,a.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a)}function sT(e,t){return(t=sD({mode:"visible",children:t},e.mode)).return=e,e.child=t}function sD(e,t){return(e=a7(22,e,null,t)).lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function sL(e,t,a){return lX(t,e.child,null,a),e=sT(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function sA(e,t,a){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),r_(e.return,t,a)}function sz(e,t,a,r,n){var l=e.memoizedState;null===l?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:a,tailMode:n}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=a,l.tailMode=n)}function sF(e,t,a){var r=t.pendingProps,n=r.revealOrder,l=r.tail;if(sh(e,t,r.children,a),0!=(2&(r=l8.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&sA(e,a,t);else if(19===e.tag)sA(e,a,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(I(l8,r),n){case"forwards":for(n=null,a=t.child;null!==a;)null!==(e=a.alternate)&&null===l7(e)&&(n=a),a=a.sibling;null===(a=n)?(n=t.child,t.child=null):(n=a.sibling,a.sibling=null),sz(t,!1,n,a,l);break;case"backwards":for(a=null,n=t.child,t.child=null;null!==n;){if(null!==(e=n.alternate)&&null===l7(e)){t.child=n;break}e=n.sibling,n.sibling=a,a=n,n=e}sz(t,!0,a,null,l);break;case"together":sz(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function sO(e,t,a){if(null!==e&&(t.dependencies=e.dependencies),i_|=t.lanes,0==(a&t.childLanes)){if(null===e)return null;else if(rI(e,t,a,!1),0==(a&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(a=re(e=t.child,e.pendingProps),t.child=a,a.return=t;null!==e.sibling;
1)e=e.sibling,(a=a.sibling=re(e,e.pendingProps)).return=t;a.sibling=null}return t.child}function s_(e,t){return 0!=(e.lanes&t)||!!(null!==(e=e.dependencies)&&rq(e))}function sR(e,t,a){if(null!==e)if(e.memoizedProps!==t.pendingProps)sf=!0;else{if(!s_(e,a)&&0==(128&t.flags))return sf=!1,function(e,t,a){switch(t.tag){case 3:$(t,t.stateNode.containerInfo),rF(t,rY,e.memoizedState.cache),rM();break;case 27:case 5:W(t);break;case 4:$(t,t.stateNode.containerInfo);break;case 10:rF(t,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r){if(null!==r.dehydrated)return l4(t),t.flags|=128,null;if(0!=(a&t.child.childLanes))return sM(e,t,a);return l4(t),null!==(e=sO(e,t,a))?e.sibling:null}l4(t);break;case 19:var n=0!=(128&e.flags);if((r=0!=(a&t.childLanes))||(rI(e,t,a,!1),r=0!=(a&t.childLanes)),n){if(r)return sF(e,t,a);t.flags|=128}if(null!==(n=t.memoizedState)&&(n.rendering=null,n.tail=null,n.lastEffect=null),I(l8,l8.current),!r)return null;break;case 22:case 23:return t.lanes=0,sy(e,t,a);case 24:rF(t,rY,e.memoizedState.cache)}return sO(e,t,a)}(e,t,a);sf=0!=(131072&e.flags)}else sf=!1,rj&&0!=(1048576&t.flags)&&rx(t,rc,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var r=t.elementType,n=r._init;if(r=n(r._payload),t.type=r,"function"==typeof r)a9(r)?(e=sr(r,e),t.tag=1,t=sk(null,t,r,e,a)):(t.tag=0,t=sw(null,t,r,e,a));else{if(null!=r){if((n=r.$$typeof)===j){t.tag=11,t=sx(null,t,r,e,a);break e}else if(n===k){t.tag=14,t=sg(null,t,r,e,a);break e}}throw Error(i(306,t=function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===T?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case h:return"Fragment";case g:return"Profiler";case x:return"StrictMode";case w:return"Suspense";case N:return"SuspenseList";case C:return"Activity"}if("object"==typeof t)switch(t.$$typeof){case f:return"Portal";case v:return(t.displayName||"Context")+".Provider";case y:return(t._context.displayName||"Context")+".Consumer";case j:var a=t.render;return(t=t.displayName)||(t=""!==(t=a.displayName||a.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case k:return null!==(a=t.displayName||null)?a:e(t.type)||"Memo";case S:a=t._payload,t=t._init;try{return e(t(a))}catch(e){}}return null}(r)||r,""))}}return t;case 0:return sw(e,t,t.type,t.pendingProps,a);case 1:return n=sr(r=t.type,t.pendingProps),sk(e,t,r,n,a);case 3:e:{if($(t,t.stateNode.containerInfo),null===e)throw Error(i(387));r=t.pendingProps;var l=t.memoizedState;n=l.element,nc(e,t),nx(t,r,null,a);var s=t.memoizedState;if(rF(t,rY,r=s.cache),r!==l.cache&&rR(t,[rY],a,!0),nh(),r=s.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=l,t.memoizedState=l,256&t.flags){t=sS(e,t,r,a);break e}else if(r!==n){rD(n=aK(Error(i(424)),t)),t=sS(e,t,r,a);break e}else for(rv=cb((e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e).firstChild),ry=t,rj=!0,rw=null,rN=!0,a=l0(t,null,r,a),t.child=a;a;)a.flags=-3&a.flags|4096,a=a.sibling;else{if(rM(),r===n){t=sO(e,t,a);break e}sh(e,t,r,a)}t=t.child}return t;case 26:return sj(e,t),null===e?(a=cM(t.type,null,t.pendingProps,null))?t.memoizedState=a:rj||(a=t.type,e=t.pendingProps,(r=cn(U.current).createElement(a))[eM]=t,r[eT]=e,ct(r,a,e),eU(r),t.stateNode=r):t.memoizedState=cM(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return W(t),null===e&&rj&&(r=t.stateNode=cj(t.type,t.pendingProps,U.current),ry=t,rN=!0,n=rv,cf(t.type)?(cy=n,rv=cb(r.firstChild)):rv=n),sh(e,t,t.pendingProps.children,a),sj(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&rj&&((n=r=rv)&&(null!==(r=function(e,t,a,r){for(;1===e.nodeType;){if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[eO])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(n=e.getAttribute("rel"))&&e.hasAttribute("data-precedence")||n!==a.rel||e.getAttribute("href")!==(null==a.href||""===a.href?null:a.href)||e.getAttribute("crossorigin")!==(null==a.crossOrigin?null:a.crossOrigin)||e.getAttribute("title")!==(null==a.title?null:a.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((n=e.getAttribute("src"))!==(null==a.src?null:a.src)||e.getAttribute("type")!==(null==a.type?null:a.type)||e.getAttribute("crossorigin")!==(null==a.crossOrigin?null:a.crossOrigin))&&n&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}
1else{if("input"!==t||"hidden"!==e.type)return e;var n=null==a.name?null:""+a.name;if("hidden"===a.type&&e.getAttribute("name")===n)return e}if(null===(e=cb(e.nextSibling)))break}return null}(r,t.type,t.pendingProps,rN))?(t.stateNode=r,ry=t,rv=cb(r.firstChild),rN=!1,n=!0):n=!1),n||rS(t)),W(t),n=t.type,l=t.pendingProps,s=null!==e?e.memoizedProps:null,r=l.children,ci(n,l)?r=null:null!==s&&ci(n,s)&&(t.flags|=32),null!==t.memoizedState&&(cG._currentValue=n=n_(e,t,nq,null,null,a)),sj(e,t),sh(e,t,r,a),t.child;case 6:return null===e&&rj&&((e=a=rv)&&(null!==(a=function(e,t,a){if(""===t)return null;for(;3!==e.nodeType;)if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!a||null===(e=cb(e.nextSibling)))return null;return e}(a,t.pendingProps,rN))?(t.stateNode=a,ry=t,rv=null,e=!0):e=!1),e||rS(t)),null;case 13:return sM(e,t,a);case 4:return $(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=lX(t,null,r,a):sh(e,t,r,a),t.child;case 11:return sx(e,t,t.type,t.pendingProps,a);case 7:return sh(e,t,t.pendingProps,a),t.child;case 8:case 12:return sh(e,t,t.pendingProps.children,a),t.child;case 10:return r=t.pendingProps,rF(t,t.type,r.value),sh(e,t,r.children,a),t.child;case 9:return n=t.type._context,r=t.pendingProps.children,rV(t),r=r(n=rU(n)),t.flags|=1,sh(e,t,r,a),t.child;case 14:return sg(e,t,t.type,t.pendingProps,a);case 15:return sb(e,t,t.type,t.pendingProps,a);case 19:return sF(e,t,a);case 31:return r=t.pendingProps,a=t.mode,r={mode:r.mode,children:r.children},null===e?(a=sD(r,a)).ref=t.ref:(a=re(e.child,r)).ref=t.ref,t.child=a,a.return=t,t=a;case 22:return sy(e,t,a);case 24:return rV(t),r=rU(rY),null===e?(null===(n=r3())&&(n=iE,l=rG(),n.pooledCache=l,l.refCount++,null!==l&&(n.pooledCacheLanes|=a),n=l),t.memoizedState={parent:r,cache:n},no(t),rF(t,rY,n)):(0!=(e.lanes&a)&&(nc(e,t),nx(t,null,null,a),nh()),n=e.memoizedState,l=t.memoizedState,n.parent!==r?(n={parent:r,cache:r},t.memoizedState=n,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=n),rF(t,rY,r)):(rF(t,rY,r=l.cache),r!==n.cache&&rR(t,[rY],a,!0))),sh(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function sI(e){e.flags|=4}function sq(e,t){if("stylesheet"!==t.type||0!=(4&t.state.loading))e.flags&=-0x1000001;else if(e.flags|=0x1000000,!cU(t)){if(null!==(t=l1.current)&&((4194048&iM)===iM?null!==l2:(0x3c00000&iM)!==iM&&0==(0x20000000&iM)||t!==l2))throw nn=ne,r7;e.flags|=8192}}function sV(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?ev():0x20000000,e.lanes|=t,iV|=t)}function sU(e,t){if(!rj)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;null!==t;)null!==t.alternate&&(a=t),t=t.sibling;null===a?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var r=null;null!==a;)null!==a.alternate&&(r=a),a=a.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function sH(e){var t=null!==e.alternate&&e.alternate.child===e.child,a=0,r=0;if(t)for(var n=e.child;null!==n;)a|=n.lanes|n.childLanes,r|=0x3e00000&n.subtreeFlags,r|=0x3e00000&n.flags,n.return=e,n=n.sibling;else for(n=e.child;null!==n;)a|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=a,t}function s$(e,t){switch(rb(t),t.tag){case 3:rO(rY),B();break;case 26:case 27:case 5:Q(t);break;case 4:B();break;case 13:l6(t);break;case 19:R(l8);break;case 10:rO(t.type);break;case 22:case 23:l6(t),nN(),null!==e&&R(r4);break;case 24:rO(rY)}}function sB(e,t){try{var a=t.updateQueue,r=null!==a?a.lastEffect:null;if(null!==r){var n=r.next;a=n;do{if((a.tag&e)===e){r=void 0;var l=a.create;a.inst.destroy=r=l()}a=a.next}while(a!==n)}}catch(e){oj(t,t.return,e)}}function sW(e,t,a){try{var r=t.updateQueue,n=null!==r?r.lastEffect:null;if(null!==n){var l=n.next;r=l;do{if((r.tag&e)===e){var s=r.inst,i=s.destroy;if(void 0!==i){s.destroy=void 0,n=t;try{i()}catch(e){oj(n,a,e)}}}r=r.next}while(r!==l)}}catch(e){oj(t,t.return,e)}}function sQ(e){var t=e.updateQueue;if(null!==t){var a=e.stateNode;try{nb(t,a)}catch(t){oj(e,e.return,t)}}}function sY(e,t,a){a.props=sr(e.type,e.memoizedProps),a.state=e.memoizedState;
vendor: 11,421 bytes, line 1
1try{a.componentWillUnmount()}catch(a){oj(e,t,a)}}function sG(e,t){try{var a=e.ref;if(null!==a){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof a?e.refCleanup=a(r):a.current=r}}catch(a){oj(e,t,a)}}function sK(e,t){var a=e.ref,r=e.refCleanup;if(null!==a)if("function"==typeof r)try{r()}catch(a){oj(e,t,a)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof a)try{a(null)}catch(a){oj(e,t,a)}else a.current=null}function sZ(e){var t=e.type,a=e.memoizedProps,r=e.stateNode;try{switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&r.focus();break;case"img":a.src?r.src=a.src:a.srcSet&&(r.srcset=a.srcSet)}}catch(t){oj(e,e.return,t)}}function sJ(e,t,a){try{var r=e.stateNode;(function(e,t,a,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,l=null,s=null,o=null,c=null,u=null,d=null;for(f in a){var m=a[f];if(a.hasOwnProperty(f)&&null!=m)switch(f){case"checked":case"value":break;case"defaultValue":c=m;default:r.hasOwnProperty(f)||o9(e,t,f,null,r,m)}}for(var p in r){var f=r[p];if(m=a[p],r.hasOwnProperty(p)&&(null!=f||null!=m))switch(p){case"type":l=f;break;case"name":n=f;break;case"checked":u=f;break;case"defaultChecked":d=f;break;case"value":s=f;break;case"defaultValue":o=f;break;case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(i(137,t));break;default:f!==m&&o9(e,t,p,f,r,m)}}te(e,s,o,c,u,d,l,n);return;case"select":for(l in f=s=o=p=null,a)if(c=a[l],a.hasOwnProperty(l)&&null!=c)switch(l){case"value":break;case"multiple":f=c;default:r.hasOwnProperty(l)||o9(e,t,l,null,r,c)}for(n in r)if(l=r[n],c=a[n],r.hasOwnProperty(n)&&(null!=l||null!=c))switch(n){case"value":p=l;break;case"defaultValue":o=l;break;case"multiple":s=l;default:l!==c&&o9(e,t,n,l,r,c)}t=o,a=s,r=f,null!=p?tr(e,!!a,p,!1):!!r!=!!a&&(null!=t?tr(e,!!a,t,!0):tr(e,!!a,a?[]:"",!1));return;case"textarea":for(o in f=p=null,a)if(n=a[o],a.hasOwnProperty(o)&&null!=n&&!r.hasOwnProperty(o))switch(o){case"value":case"children":break;default:o9(e,t,o,null,r,n)}for(s in r)if(n=r[s],l=a[s],r.hasOwnProperty(s)&&(null!=n||null!=l))switch(s){case"value":p=n;break;case"defaultValue":f=n;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=n)throw Error(i(91));break;default:n!==l&&o9(e,t,s,n,r,l)}tn(e,p,f);return;case"option":for(var h in a)p=a[h],a.hasOwnProperty(h)&&null!=p&&!r.hasOwnProperty(h)&&("selected"===h?e.selected=!1:o9(e,t,h,null,r,p));for(c in r)p=r[c],f=a[c],r.hasOwnProperty(c)&&p!==f&&(null!=p||null!=f)&&("selected"===c?e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p:o9(e,t,c,p,r,f));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var x in a)p=a[x],a.hasOwnProperty(x)&&null!=p&&!r.hasOwnProperty(x)&&o9(e,t,x,null,r,p);for(u in r)if(p=r[u],f=a[u],r.hasOwnProperty(u)&&p!==f&&(null!=p||null!=f))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(i(137,t));break;default:o9(e,t,u,p,r,f)}return;default:if(tu(t)){for(var g in a)p=a[g],a.hasOwnProperty(g)&&void 0!==p&&!r.hasOwnProperty(g)&&ce(e,t,g,void 0,r,p);for(d in r)p=r[d],f=a[d],r.hasOwnProperty(d)&&p!==f&&(void 0!==p||void 0!==f)&&ce(e,t,d,p,r,f);return}}for(var b in a)p=a[b],a.hasOwnProperty(b)&&null!=p&&!r.hasOwnProperty(b)&&o9(e,t,b,null,r,p);for(m in r)p=r[m],f=a[m],r.hasOwnProperty(m)&&p!==f&&(null!=p||null!=f)&&o9(e,t,m,p,r,f)})(r,e.type,a,t),r[eT]=t}catch(t){oj(e,e.return,t)}}function sX(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&cf(e.type)||4===e.tag}function s0(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sX(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&cf(e.type)||2&e.flags||null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function s1(e,t,a){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(4!==r&&(27===r&&cf(e.type)&&(a=e.stateNode),null!==(e=e.child)))for(s1(e,t,a),e=e.sibling;null!==e;)s1(e,t,a),e=e.sibling}function s2(e){var t=e.stateNode,a=e.memoizedProps;try{for(var r=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);ct(t,r,a),t[eM]=e,t[eT]=a}catch(t){oj(e,e.return,t)}}var s4=!1,s3=!1,s5=!1,s6="function"==typeof WeakSet?WeakSet:Set,s8=null;function s7(e,t,a){var r=a.flags;switch(a.tag){case 0:case 11:case 15:iu(e,a),4&r&&sB(5,a);break;case 1:if(iu(e,a),4&r)if(e=a.stateNode,null===t)try{e.componentDidMount()}catch(e){oj(a,a.return,e)}else{var n=sr(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){oj(a,a.return,e)}}64&r&&sQ(a),512&r&&sG(a,a.return);break;case 3:if(iu(e,a),64&r&&null!==(e=a.updateQueue)){if(t=null,null!==a.child)switch(a.child.tag){case 27:case 5:case 1:t=a.child.stateNode}try{nb(e,t)}catch(e){oj(a,a.return,e)}}break;case 27:null===t&&4&r&&s2(a);case 26:case 5:iu(e,a),null===t&&4&r&&sZ(a),512&r&&sG(a,a.return);break;case 12:default:iu(e,a);break;case 13:iu(e,a),4&r&&ir(e,a),64&r&&null!==(e=a.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var a=e.ownerDocument;if("$?"!==e.data||"complete"===a.readyState)t();else{var r=function(){t(),a.removeEventListener("DOMContentLoaded",r)};a.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,a=oS.bind(null,a));break;case 22:if(!(r=null!==a.memoizedState||s4)){t=null!==t&&null!==t.memoizedState||s3,n=s4;var l=s3;s4=r,(s3=t)&&!l?function e(t,a,r){for(r=r&&0!=(8772&a.subtreeFlags),a=a.child;null!==a;){var n=a.alternate,l=t,s=a,i=s.flags;switch(s.tag){case 0:case 11:case 15:e(l,s,r),sB(4,s);break;case 1:if(e(l,s,r),"function"==typeof(l=(n=s).stateNode).componentDidMount)try{l.componentDidMount()}catch(e){oj(n,n.return,e)}if(null!==(l=(n=s).updateQueue)){var o=n.stateNode;try{var c=l.shared.hiddenCallbacks;if(null!==c)for(l.shared.hiddenCallbacks=null,l=0;l<c.length;l++)ng(c[l],o)}catch(e){oj(n,n.return,e)}}r&&64&i&&sQ(s),sG(s,s.return);break;case 27:s2(s);case 26:case 5:e(l,s,r),r&&null===n&&4&i&&sZ(s),sG(s,s.return);break;case 12:default:e(l,s,r);break;case 13:e(l,s,r),r&&4&i&&ir(l,s);break;case 22:null===s.memoizedState&&e(l,s,r),sG(s,s.return);case 30:}a=a.sibling}}(e,a,0!=(8772&a.subtreeFlags)):iu(e,a),s4=n,s3=l}case 30:}}var s9=null,ie=!1;function it(e,t,a){for(a=a.child;null!==a;)ia(e,t,a),a=a.sibling}function ia(e,t,a){if(ec&&"function"==typeof ec.onCommitFiberUnmount)try{ec.onCommitFiberUnmount(eo,a)}catch(e){}switch(a.tag){case 26:s3||sK(a,t),it(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode).parentNode.removeChild(a);break;case 27:s3||sK(a,t);var r=s9,n=ie;cf(a.type)&&(s9=a.stateNode,ie=!1),it(e,t,a),cw(a.stateNode),s9=r,ie=n;break;case 5:s3||sK(a,t);case 6:if(r=s9,n=ie,s9=null,it(e,t,a),s9=r,ie=n,null!==s9)if(ie)try{(9===s9.nodeType?s9.body:"HTML"===s9.nodeName?s9.ownerDocument.body:s9).removeChild(a.stateNode)}catch(e){oj(a,t,e)}else try{s9.removeChild(a.stateNode)}catch(e){oj(a,t,e)}break;case 18:null!==s9&&(ie?(ch(9===(e=s9).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,a.stateNode),ux(e)):ch(s9,a.stateNode));break;case 4:r=s9,n=ie,s9=a.stateNode.containerInfo,ie=!0,it(e,t,a),s9=r,ie=n;break;case 0:case 11:case 14:case 15:s3||sW(2,a,t),s3||sW(4,a,t),it(e,t,a);break;case 1:s3||(sK(a,t),"function"==typeof(r=a.stateNode).componentWillUnmount&&sY(a,t,r)),it(e,t,a);break;case 21:default:it(e,t,a);break;case 22:s3=(r=s3)||null!==a.memoizedState,it(e,t,a),s3=r}}function ir(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{ux(e)}catch(e){oj(t,t.return,e)}}function il(e,t){var a=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new s6),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new s6),t;default:throw Error(i(435,e.tag))}}(e);t.forEach(function(t){var r=oC.bind(null,e,t);a.has(t)||(a.add(t),t.then(r,r))})}function is(e,t){var a=t.deletions;if(null!==a)for(var r=0;r<a.length;r++){var n=a[r],l=e,s=t,o=s;e:for(;null!==o;){switch(o.tag){case 27:if(cf(o.type)){s9=o.stateNode,ie=!1;break e}break;case 5:s9=o.stateNode,ie=!1;break e;case 3:case 4:s9=o.stateNode.containerInfo,ie=!0;break e}o=o.return}if(null===s9)throw Error(i(160));ia(l,s,n),s9=null,ie=!1,null!==(l=n.alternate)&&(l.return=null),n.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)io(t,e),t=t.sibling}var ii=null;function io(e,t){var a=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:is(t,e),ic(e),4&r&&(sW(3,e,e.return),sB(3,e),sW(5,e,e.return));break;case 1:is(t,e),ic(e),512&r&&(s3||null===a||sK(a,a.return)),64&r&&s4&&null!==(e=e.updateQueue)&&null!==(r=e.callbacks)&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===a?r:a.concat(r));break;case 26:var n=ii;if(is(t,e),ic(e),512&r&&(s3||null===a||sK(a,a.return)),4&r){var l=null!==a?a.memoizedState:null;if(r=e.memoizedState,null===a)if(null===r)if(null===e.stateNode){e:{r=e.type,a=e.memoizedProps,n=n.ownerDocument||n;t:switch(r){case"title":(!(l=n.getElementsByTagName("title")[0])||l[eO]||l[eM]||"http://www.w3.org/2000/svg"===l.namespaceURI||l.hasAttribute("itemprop"))&&(l=n.createElement(r),n.head.insertBefore(l,n.querySelector("head > title"))),ct(l,r,a),l[eM]=e,eU(l),r=l;break e;case"link":var s=cq("link","href",n).get(r+(a.href||""));if(s){for(var o=0;o<s.length;o++)if((l=s[o]).getAttribute("href")===(null==a.href||""===a.href?null:a.href)&&l.getAttribute("rel")===(null==a.rel?null:a.rel)&&l.getAttribute("title")===(null==a.title?null:a.title)&&l.getAttribute("crossorigin")===(null==a.crossOrigin?null:a.crossOrigin)){s.splice(o,1);break t}}ct(l=n.createElement(r),r,a),n.head.appendChild(l);break;case"meta":if(s=cq("meta","content",n).get(r+(a.content||""))){for(o=0;o<s.length;o++)if((l=s[o]).getAttribute("content")===(null==a.content?null:""+a.content)&&l.getAttribute("name")===(null==a.name?null:a.name)&&l.getAttribute("property")===(null==a.property?null:a.property)&&l.getAttribute("http-equiv")===(null==a.httpEquiv?null:a.httpEquiv)&&l.getAttribute("charset")===(null==a.charSet?null:a.charSet)){s.splice(o,1);break t}}ct(l=n.createElement(r),r,a),n.head.appendChild(l);break;default:throw Error(i(468,r))}l[eM]=e,eU(l),r=l}e.stateNode=r}else cV(n,e.type,e.stateNode);else e.stateNode=cF(n,r,e.memoizedProps);else l!==r?(null===l?null!==a.stateNode&&(a=a.stateNode).parentNode.removeChild(a):l.count--,null===r?cV(n,e.type,e.stateNode):cF(n,r,e.memoizedProps)):null===r&&null!==e.stateNode&&sJ(e,e.memoizedProps,a.memoizedProps)}break;case 27:is(t,e),ic(e),512&r&&(s3||null===a||sK(a,a.return)),null!==a&&4&r&&sJ(e,e.memoizedProps,a.memoizedProps);break;case 5:if(is(t,e),ic(e),512&r&&(s3||null===a||sK(a,a.return)),32&e.flags){n=e.stateNode;try{ts(n,"")}catch(t){oj(e,e.return,t)}}4&r&&null!=e.stateNode&&(n=e.memoizedProps,sJ(e,n,null!==a?a.memoizedProps:n)),1024&r&&(s5=!0);break;case 6:if(is(t,e),ic(e),4&r){if(null===e.stateNode)throw Error(i(162));r=e.memoizedProps,a=e.stateNode;try{a.nodeValue=r}catch(t){oj(e,e.return,t)}}break;case 3:if(cI=null,n=ii,ii=cS(t.containerInfo),is(t,e),ii=n,ic(e),4&r&&null!==a&&a.memoizedState.isDehydrated)try{ux(t.containerInfo)}catch(t){oj(e,e.return,t)}
1s5&&(s5=!1,function e(t){if(1024&t.subtreeFlags)for(t=t.child;null!==t;){var a=t;e(a),5===a.tag&&1024&a.flags&&a.stateNode.reset(),t=t.sibling}}(e));break;case 4:r=ii,ii=cS(e.stateNode.containerInfo),is(t,e),ic(e),ii=r;break;case 12:default:is(t,e),ic(e);break;case 13:is(t,e),ic(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==a&&null!==a.memoizedState)&&(iB=X()),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,il(e,r));break;case 22:n=null!==e.memoizedState;var c=null!==a&&null!==a.memoizedState,u=s4,d=s3;if(s4=u||n,s3=d||c,is(t,e),s3=d,s4=u,ic(e),8192&r)e:for((t=e.stateNode)._visibility=n?-2&t._visibility:1|t._visibility,n&&(null===a||c||s4||s3||function e(t){for(t=t.child;null!==t;){var a=t;switch(a.tag){case 0:case 11:case 14:case 15:sW(4,a,a.return),e(a);break;case 1:sK(a,a.return);var r=a.stateNode;"function"==typeof r.componentWillUnmount&&sY(a,a.return,r),e(a);break;case 27:cw(a.stateNode);case 26:case 5:sK(a,a.return),e(a);break;case 22:null===a.memoizedState&&e(a);break;default:e(a)}t=t.sibling}}(e)),a=null,t=e;;){if(5===t.tag||26===t.tag){if(null===a){c=a=t;try{if(l=c.stateNode,n)s=l.style,"function"==typeof s.setProperty?s.setProperty("display","none","important"):s.display="none";else{o=c.stateNode;var m=c.memoizedProps.style,p=null!=m&&m.hasOwnProperty("display")?m.display:null;o.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(e){oj(c,c.return,e)}}}else if(6===t.tag){if(null===a){c=t;try{c.stateNode.nodeValue=n?"":c.memoizedProps}catch(e){oj(c,c.return,e)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}4&r&&null!==(r=e.updateQueue)&&null!==(a=r.retryQueue)&&(r.retryQueue=null,il(e,a));break;case 19:is(t,e),ic(e),4&r&&null!==(r=e.updateQueue)&&(e.updateQueue=null,il(e,r));case 30:case 21:}}function ic(e){var t=e.flags;if(2&t){try{for(var a,r=e.return;null!==r;){if(sX(r)){a=r;break}r=r.return}if(null==a)throw Error(i(160));switch(a.tag){case 27:var n=a.stateNode,l=s0(e);s1(e,l,n);break;case 5:var s=a.stateNode;32&a.flags&&(ts(s,""),a.flags&=-33);var o=s0(e);s1(e,o,s);break;case 3:case 4:var c=a.stateNode.containerInfo,u=s0(e);!function e(t,a,r){var n=t.tag;if(5===n||6===n)t=t.stateNode,a?(9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).insertBefore(t,a):((a=9===r.nodeType?r.body:"HTML"===r.nodeName?r.ownerDocument.body:r).appendChild(t),null!=(r=r._reactRootContainer)||null!==a.onclick||(a.onclick=o7));else if(4!==n&&(27===n&&cf(t.type)&&(r=t.stateNode,a=null),null!==(t=t.child)))for(e(t,a,r),t=t.sibling;null!==t;)e(t,a,r),t=t.sibling}(e,u,c);break;default:throw Error(i(161))}}catch(t){oj(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function iu(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)s7(e,t.alternate,t),t=t.sibling}function id(e,t){var a=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(a=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==a&&(null!=e&&e.refCount++,null!=a&&rK(a))}function im(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&rK(e))}function ip(e,t,a,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)ih(e,t,a,r),t=t.sibling}function ih(e,t,a,r){var n=t.flags;switch(t.tag){case 0:case 11:case 15:ip(e,t,a,r),2048&n&&sB(9,t);break;case 1:case 13:default:ip(e,t,a,r);break;case 3:ip(e,t,a,r),2048&n&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&rK(e)));break;case 12:if(2048&n){ip(e,t,a,r),e=t.stateNode;try{var l=t.memoizedProps,s=l.id,i=l.onPostCommit;"function"==typeof i&&i(s,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(e){oj(t,t.return,e)}}else ip(e,t,a,r);break;case 23:break;case 22:l=t.stateNode,s=t.alternate,null!==t.memoizedState?2&l._visibility?ip(e,t,a,r):ix(e,t):2&l._visibility?ip(e,t,a,r):(l._visibility|=2,function e(t,a,r,n,l){for(l=l&&0!=(10256&a.subtreeFlags),a=a.child;null!==a;){var s=a,i=s.flags;switch(s.tag){case 0:case 11:case 15:e(t,s,r,n,l),sB(8,s);break;case 23:break;case 22:var o=s.stateNode;null!==s.memoizedState?2&o._visibility?e(t,s,r,n,l):ix(t,s):(o._visibility|=2,e(t,s,r,n,l)),l&&2048&i&&id(s.alternate,s);break;case 24:e(t,s,r,n,l),l&&2048&i&&im(s.alternate,s);break;default:e(t,s,r,n,l)}a=a.sibling}}(e,t,a,r,0!=(10256&t.subtreeFlags))),2048&n&&id(s,t);break;case 24:ip(e,t,a,r),2048&n&&im(t.alternate,t)}}function ix(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var a=t,r=a.flags;switch(a.tag){case 22:ix(e,a),2048&r&&id(a.alternate,a);break;case 24:ix(e,a),2048&r&&im(a.alternate,a);break;default:ix(e,a)}t=t.sibling}}var ig=8192;function ib(e){if(e.subtreeFlags&ig)for(e=e.child;null!==e;)iy(e),e=e.sibling}function iy(e){switch(e.tag){case 26:ib(e),e.flags&ig&&null!==e.memoizedState&&function(e,t,a){if(null===cH)throw Error(i(475));var r=cH;if("stylesheet"===t.type&&("string"!=typeof a.media||!1!==matchMedia(a.media).matches)&&0==(4&t.state.loading)){if(null===t.instance){var n=cT(a.href),l=e.querySelector(cD(n));if(l){null!==(e=l._p)&&"object"==typeof e&&"function"==typeof e.then&&(r.count++,r=cB.bind(r),e.then(r,r)),t.state.loading|=4,t.instance=l,eU(l);return}l=e.ownerDocument||e,a=cL(a),(n=cN.get(n))&&c_(a,n),eU(l=l.createElement("link"));var s=l;s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),ct(l,"link",a),t.instance=l}null===r.stylesheets&&(r.stylesheets=new Map),r.stylesheets.set(t,e),(e=t.state.preload)&&0==(3&t.state.loading)&&(r.count++,t=cB.bind(r),e.addEventListener("load",t),e.addEventListener("error",t))}}(ii,e.memoizedState,e.memoizedProps);break;case 5:default:ib(e);break;case 3:case 4:var t=ii;ii=cS(e.stateNode.containerInfo),ib(e),ii=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=ig,ig=0x1000000,ib(e),ig=t):ib(e))}}function iv(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(null!==e)}}function ij(e){var t=e.deletions;if(0!=(16&e.flags)){if(null!==t)for(var a=0;a<t.length;a++){var r=t[a];s8=r,iN(r,e)}iv(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)iw(e),e=e.sibling}function iw(e){switch(e.tag){case 0:case 11:case 15:ij(e),2048&e.flags&&sW(9,e,e.return);break;case 3:case 12:default:ij(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,function e(t){var a=t.deletions;if(0!=(16&t.flags)){if(null!==a)for(var r=0;r<a.length;r++){var n=a[r];s8=n,iN(n,t)}iv(t)}for(t=t.child;null!==t;){switch((a=t).tag){case 0:case 11:case 15:sW(8,a,a.return),e(a);break;case 22:2&(r=a.stateNode)._visibility&&(r._visibility&=-3,e(a));break;default:e(a)}t=t.sibling}}(e)):ij(e)}}function iN(e,t){for(;null!==s8;){var a=s8;switch(a.tag){case 0:case 11:case 15:sW(8,a,t);break;case 23:case 22:if(null!==a.memoizedState&&null!==a.memoizedState.cachePool){var r=a.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:rK(a.memoizedState.cache)}if(null!==(r=a.child))r.return=a,s8=r;else for(a=e;null!==s8;){var n=(r=s8).sibling,l=r.return;if(!function e(t){var a=t.alternate;null!==a&&(t.alternate=null,e(a)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&null!==(a=t.stateNode)&&e_(a),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}(r),r===a){s8=null;break}if(null!==n){n.return=l,s8=n;break}s8=l}}}var ik={getCacheForType:function(e){var t=rU(rY),a=t.data.get(e);return void 0===a&&(a=e(),t.data.set(e,a)),a}},iS="function"==typeof WeakMap?WeakMap:Map,iC=0,iE=null,iP=null,iM=0,iT=0,iD=null,iL=!1,iA=!1,iz=!1,iF=0,iO=0,i_=0,iR=0,iI=0,iq=0,iV=0,iU=null,iH=null,i$=!1,iB=0,iW=1/0,iQ=null,iY=null,iG=0,iK=null,iZ=null,iJ=0,iX=0,i0=null,i1=null,i2=0,i4=null;function i3(){if(0!=(2&iC)&&0!==iM)return iM&-iM;if(null!==L.T){var e=rX;return 0!==e?e:oq()}return eE()}function i5(){0===iq&&(iq=0==(0x20000000&iM)||rj?ey():0x20000000);var e=l1.current;return null!==e&&(e.flags|=32),iq}function i6(e,t,a){(e===iE&&(2===iT||9===iT)||null!==e.cancelPendingCommit)&&(oa(e,0),i9(e,iM,iq,!1)),ew(e,a),(0==(2&iC)||e!==iE)&&(e===iE&&(0==(2&iC)&&(iR|=a),4===iO&&i9(e,iM,iq,!1)),oA(e))}function i8(e,t,a){if(0!=(6&iC))throw Error(i(327));for(var r=!a&&0==(124&t)&&0==(t&e.expiredLanes)||eb(e,t),n=r?function(e,t){var a=iC;iC|=2;var r=on(),n=ol();
1iE!==e||iM!==t?(iQ=null,iW=X()+500,oa(e,t)):iA=eb(e,t);e:for(;;)try{if(0!==iT&&null!==iP){t=iP;var l=iD;t:switch(iT){case 1:iT=0,iD=null,ou(e,t,l,1);break;case 2:case 9:if(nt(l)){iT=0,iD=null,oc(t);break}t=function(){2!==iT&&9!==iT||iE!==e||(iT=7),oA(e)},l.then(t,t);break e;case 3:iT=7;break e;case 4:iT=5;break e;case 7:nt(l)?(iT=0,iD=null,oc(t)):(iT=0,iD=null,ou(e,t,l,7));break;case 5:var s=null;switch(iP.tag){case 26:s=iP.memoizedState;case 5:case 27:var o=iP;if(s?cU(s):1){iT=0,iD=null;var c=o.sibling;if(null!==c)iP=c;else{var u=o.return;null!==u?(iP=u,od(u)):iP=null}break t}}iT=0,iD=null,ou(e,t,l,5);break;case 6:iT=0,iD=null,ou(e,t,l,6);break;case 8:ot(),iO=6;break e;default:throw Error(i(462))}}for(;null!==iP&&!Z();)oo(iP);break}catch(t){or(e,t)}return(rz=rA=null,L.H=r,L.A=n,iC=a,null!==iP)?0:(iE=null,iM=0,a0(),iO)}(e,t):oi(e,t,!0),l=r;;){if(0===n)iA&&!r&&i9(e,t,0,!1);else{if(a=e.current.alternate,l&&!function(e){for(var t=e;;){var a=t.tag;if((0===a||11===a||15===a)&&16384&t.flags&&null!==(a=t.updateQueue)&&null!==(a=a.stores))for(var r=0;r<a.length;r++){var n=a[r],l=n.getSnapshot;n=n.value;try{if(!aw(l(),n))return!1}catch(e){return!1}}if(a=t.child,16384&t.subtreeFlags&&null!==a)a.return=t,t=a;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)){n=oi(e,t,!1),l=!1;continue}if(2===n){if(l=t,e.errorRecoveryDisabledLanes&l)var s=0;else s=0!=(s=-0x20000001&e.pendingLanes)?s:0x20000000&s?0x20000000:0;if(0!==s){t=s;e:{n=iU;var o=e.current.memoizedState.isDehydrated;if(o&&(oa(e,s).flags|=256),2!==(s=oi(e,s,!1))){if(iz&&!o){e.errorRecoveryDisabledLanes|=l,iR|=l,n=4;break e}l=iH,iH=n,null!==l&&(null===iH?iH=l:iH.push.apply(iH,l))}n=s}if(l=!1,2!==n)continue}}if(1===n){oa(e,0),i9(e,t,0,!0);break}e:{switch(r=e,l=n){case 0:case 1:throw Error(i(345));case 4:if((4194048&t)!==t)break;case 6:i9(r,t,iq,!iL);break e;case 2:iH=null;break;case 3:case 5:break;default:throw Error(i(329))}if((0x3c00000&t)===t&&10<(n=iB+300-X())){if(i9(r,t,iq,!iL),0!==eg(r,0,!0))break e;r.timeoutHandle=cc(i7.bind(null,r,a,iH,iQ,i$,t,iq,iR,iV,iL,l,2,-0,0),n);break e}i7(r,a,iH,iQ,i$,t,iq,iR,iV,iL,l,0,-0,0)}}break}oA(e)}function i7(e,t,a,r,n,l,s,o,c,u,d,m,p,f){if(e.timeoutHandle=-1,(8192&(m=t.subtreeFlags)||0x1002000==(0x1002000&m))&&(cH={stylesheets:null,count:0,unsuspend:c$},iy(t),null!==(m=function(){if(null===cH)throw Error(i(475));var e=cH;return e.stylesheets&&0===e.count&&cQ(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&cQ(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}()))){e.cancelPendingCommit=m(op.bind(null,e,t,l,a,r,n,s,o,c,d,1,p,f)),i9(e,l,s,!u);return}op(e,t,l,a,r,n,s,o,c)}function i9(e,t,a,r){t&=~iI,t&=~iR,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var n=t;0<n;){var l=31-ed(n),s=1<<l;r[l]=-1,n&=~s}0!==a&&eN(e,a,t)}function oe(){return 0!=(6&iC)||(oz(0,!1),!1)}function ot(){if(null!==iP){if(0===iT)var e=iP.return;else e=iP,rz=rA=null,nH(e),lW=null,lQ=0,e=iP;for(;null!==e;)s$(e.alternate,e),e=e.return;iP=null}}function oa(e,t){var a=e.timeoutHandle;-1!==a&&(e.timeoutHandle=-1,cu(a)),null!==(a=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,a()),ot(),iE=e,iP=a=re(e.current,null),iM=t,iT=0,iD=null,iL=!1,iA=eb(e,t),iz=!1,iV=iq=iI=iR=i_=iO=0,iH=iU=null,i$=!1,0!=(8&t)&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var n=31-ed(r),l=1<<n;t|=e[n],r&=~l}return iF=t,a0(),a}function or(e,t){nS=null,L.H=lU,t===r8||t===r9?(t=nl(),iT=3):t===r7?(t=nl(),iT=4):iT=t===sp?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,iD=t,null===iP&&(iO=1,so(e,aK(t,e.current)))}function on(){var e=L.H;return L.H=lU,null===e?lU:e}function ol(){var e=L.A;return L.A=ik,e}function os(){iO=4,iL||(4194048&iM)!==iM&&null!==l1.current||(iA=!0),0==(0x7ffffff&i_)&&0==(0x7ffffff&iR)||null===iE||i9(iE,iM,iq,!1)}function oi(e,t,a){var r=iC;iC|=2;var n=on(),l=ol();(iE!==e||iM!==t)&&(iQ=null,oa(e,t)),t=!1;var s=iO;e:for(;;)try{if(0!==iT&&null!==iP){var i=iP,o=iD;switch(iT){case 8:ot(),s=6;break e;case 3:case 2:case 9:case 6:null===l1.current&&(t=!0);var c=iT;if(iT=0,iD=null,ou(e,i,o,c),a&&iA){s=0;break e}break;default:c=iT,iT=0,iD=null,ou(e,i,o,c)}}(function(){for(;null!==iP;)oo(iP)})(),s=iO;break}catch(t){or(e,t)}return t&&e.shellSuspendCounter++,rz=rA=null,iC=r,L.H=n,L.A=l,null===iP&&(iE=null,iM=0,a0()),s}function oo(e){var t=sR(e.alternate,e,iF);e.memoizedProps=e.pendingProps,null===t?od(e):iP=t}function oc(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=sN(a,t,t.pendingProps,t.type,void 0,iM);break;case 11:t=sN(a,t,t.pendingProps,t.type.render,t.ref,iM);break;case 5:nH(t);default:s$(a,t),t=sR(a,t=iP=rt(t,iF),iF)}e.memoizedProps=e.pendingProps,null===t?od(e):iP=t}function ou(e,t,a,r){rz=rA=null,nH(t),lW=null,lQ=0;var n=t.return;try{if(function(e,t,a,r,n){if(a.flags|=32768,null!==r&&"object"==typeof r&&"function"==typeof r.then){if(null!==(t=a.alternate)&&rI(t,a,n,!0),null!==(a=l1.current)){switch(a.tag){case 13:return null===l2?os():null===a.alternate&&0===iO&&(iO=3),a.flags&=-257,a.flags|=65536,a.lanes=n,r===ne?a.flags|=16384:(null===(t=a.updateQueue)?a.updateQueue=new Set([r]):t.add(r),ow(e,r,n)),!1;case 22:return a.flags|=65536,r===ne?a.flags|=16384:(null===(t=a.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},a.updateQueue=t):null===(a=t.retryQueue)?t.retryQueue=new Set([r]):a.add(r),ow(e,r,n)),!1}throw Error(i(435,a.tag))}return ow(e,r,n),os(),!1}if(rj)return null!==(t=l1.current)?(0==(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=n,r!==rk&&rD(aK(e=Error(i(422),{cause:r}),a))):(r!==rk&&rD(aK(t=Error(i(423),{cause:r}),a)),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,r=aK(r,a),n=su(e.stateNode,r,n),np(e,n),4!==iO&&(iO=2)),!1;var l=Error(i(520),{cause:r});if(l=aK(l,a),null===iU?iU=[l]:iU.push(l),4!==iO&&(iO=2),null===t)return!0;r=aK(r,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=n&-n,a.lanes|=e,e=su(a.stateNode,r,e),np(a,e),!1;case 1:if(t=a.type,l=a.stateNode,0==(128&a.flags)&&("function"==typeof t.getDerivedStateFromError||null!==l&&"function"==typeof l.componentDidCatch&&(null===iY||!iY.has(l))))return a.flags|=65536,n&=-n,a.lanes|=n,sm(n=sd(n),e,a,r),np(a,n),!1}a=a.return}while(null!==a);return!1}(e,n,t,a,iM)){iO=1,so(e,aK(a,e.current)),iP=null;return}}catch(t){if(null!==n)throw iP=n,t;iO=1,so(e,aK(a,e.current)),iP=null;return}32768&t.flags?(rj||1===r?e=!0:iA||0!=(0x20000000&iM)?e=!1:(iL=e=!0,(2===r||9===r||3===r||6===r)&&null!==(r=l1.current)&&13===r.tag&&(r.flags|=16384)),om(t,e)):od(t)}function od(e){var t=e;do{if(0!=(32768&t.flags))return void om(t,iL);e=t.return;var a=function(e,t,a){var r=t.pendingProps;switch(rb(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return sH(t),null;case 3:return a=t.stateNode,r=null,null!==e&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),rO(rY),B(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(null===e||null===e.child)&&(rP(t)?sI(t):null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,rT())),sH(t),null;case 26:return a=t.memoizedState,null===e?(sI(t),null!==a?(sH(t),sq(t,a)):(sH(t),t.flags&=-0x1000001)):a?a!==e.memoizedState?(sI(t),sH(t),sq(t,a)):(sH(t),t.flags&=-0x1000001):(e.memoizedProps!==r&&sI(t),sH(t),t.flags&=-0x1000001),null;case 27:Q(t),a=U.current;var n=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==r&&sI(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return sH(t),null}e=q.current,rP(t)?rC(t,e):(e=cj(n,r,a),t.stateNode=e,sI(t))}return sH(t),null;case 5:if(Q(t),a=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==r&&sI(t);else{if(!r){if(null===t.stateNode)throw Error(i(166));return sH(t),null}if(e=q.current,rP(t))rC(t,e);else{switch(n=cn(U.current),e){case 1:e=n.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:e=n.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":e=n.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":e=n.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":(e=n.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof r.is?n.createElement("select",{is:r.is}
1):n.createElement("select"),r.multiple?e.multiple=!0:r.size&&(e.size=r.size);break;default:e="string"==typeof r.is?n.createElement(a,{is:r.is}):n.createElement(a)}}e[eM]=t,e[eT]=r;e:for(n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&27!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(t.stateNode=e,ct(e,a,r),a){case"button":case"input":case"select":case"textarea":e=!!r.autoFocus;break;case"img":e=!0;break;default:e=!1}e&&sI(t)}}return sH(t),t.flags&=-0x1000001,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&sI(t);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(e=U.current,rP(t)){if(e=t.stateNode,a=t.memoizedProps,r=null,null!==(n=ry))switch(n.tag){case 27:case 5:r=n.memoizedProps}e[eM]=t,(e=!!(e.nodeValue===a||null!==r&&!0===r.suppressHydrationWarning||o8(e.nodeValue,a)))||rS(t)}else(e=cn(e).createTextNode(r))[eM]=t,t.stateNode=e}return sH(t),null;case 13:if(r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(n=rP(t),null!==r&&null!==r.dehydrated){if(null===e){if(!n)throw Error(i(318));if(!(n=null!==(n=t.memoizedState)?n.dehydrated:null))throw Error(i(317));n[eM]=t}else rM(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;sH(t),n=!1}else n=rT(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n){if(256&t.flags)return l6(t),t;return l6(t),null}}if(l6(t),0!=(128&t.flags))return t.lanes=a,t;if(a=null!==r,e=null!==e&&null!==e.memoizedState,a){r=t.child,n=null,null!==r.alternate&&null!==r.alternate.memoizedState&&null!==r.alternate.memoizedState.cachePool&&(n=r.alternate.memoizedState.cachePool.pool);var l=null;null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(l=r.memoizedState.cachePool.pool),l!==n&&(r.flags|=2048)}return a!==e&&a&&(t.child.flags|=8192),sV(t,t.updateQueue),sH(t),null;case 4:return B(),null===e&&oZ(t.stateNode.containerInfo),sH(t),null;case 10:return rO(t.type),sH(t),null;case 19:if(R(l8),null===(n=t.memoizedState))return sH(t),null;if(r=0!=(128&t.flags),null===(l=n.rendering))if(r)sU(n,!1);else{if(0!==iO||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=l7(e))){for(t.flags|=128,sU(n,!1),e=l.updateQueue,t.updateQueue=e,sV(t,e),t.subtreeFlags=0,e=a,a=t.child;null!==a;)rt(a,e),a=a.sibling;return I(l8,1&l8.current|2),t.child}e=e.sibling}null!==n.tail&&X()>iW&&(t.flags|=128,r=!0,sU(n,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=l7(l))){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,sV(t,e),sU(n,!0),null===n.tail&&"hidden"===n.tailMode&&!l.alternate&&!rj)return sH(t),null}else 2*X()-n.renderingStartTime>iW&&0x20000000!==a&&(t.flags|=128,r=!0,sU(n,!1),t.lanes=4194304);n.isBackwards?(l.sibling=t.child,t.child=l):(null!==(e=n.last)?e.sibling=l:t.child=l,n.last=l)}if(null!==n.tail)return t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=X(),t.sibling=null,e=l8.current,I(l8,r?1&e|2:1&e),t;return sH(t),null;case 22:case 23:return l6(t),nN(),r=null!==t.memoizedState,null!==e?null!==e.memoizedState!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?0!=(0x20000000&a)&&0==(128&t.flags)&&(sH(t),6&t.subtreeFlags&&(t.flags|=8192)):sH(t),null!==(a=t.updateQueue)&&sV(t,a.retryQueue),a=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(a=e.memoizedState.cachePool.pool),r=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(r=t.memoizedState.cachePool.pool),r!==a&&(t.flags|=2048),null!==e&&R(r4),null;case 24:return a=null,null!==e&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),rO(rY),sH(t),null;case 25:case 30:return null}throw Error(i(156,t.tag))}(t.alternate,t,iF);if(null!==a){iP=a;return}if(null!==(t=t.sibling)){iP=t;return}iP=t=e}while(null!==t);0===iO&&(iO=5)}function om(e,t){do{var a=function(e,t){switch(rb(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return rO(rY),B(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return Q(t),null;case 13:if(l6(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));rM()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return R(l8),null;case 4:return B(),null;case 10:return rO(t.type),null;case 22:case 23:return l6(t),nN(),null!==e&&R(r4),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return rO(rY),null;default:return null}}(e.alternate,e);if(null!==a){a.flags&=32767,iP=a;return}if(null!==(a=e.return)&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&null!==(e=e.sibling)){iP=e;return}iP=e=a}while(null!==e);iO=6,iP=null}function op(e,t,a,r,n,l,s,o,c){e.cancelPendingCommit=null;do ob();while(0!==iG);if(0!=(6&iC))throw Error(i(327));if(null!==t){if(t===e.current)throw Error(i(177));if(!function(e,t,a,r,n,l){var s=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var i=e.entanglements,o=e.expirationTimes,c=e.hiddenUpdates;for(a=s&~a;0<a;){var u=31-ed(a),d=1<<u;i[u]=0,o[u]=-1;var m=c[u];if(null!==m)for(c[u]=null,u=0;u<m.length;u++){var p=m[u];null!==p&&(p.lane&=-0x20000001)}a&=~d}0!==r&&eN(e,r,0),0!==l&&0===n&&0!==e.tag&&(e.suspendedLanes|=l&~(s&~t))}(e,a,l=t.lanes|t.childLanes|aX,s,o,c),e===iE&&(iP=iE=null,iM=0),iZ=t,iK=e,iJ=a,iX=l,i0=n,i1=r,0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?(e.callbackNode=null,e.callbackPriority=0,G(er,function(){return oy(!0),null})):(e.callbackNode=null,e.callbackPriority=0),r=0!=(13878&t.flags),0!=(13878&t.subtreeFlags)||r){r=L.T,L.T=null,n=A.p,A.p=2,s=iC,iC|=4;try{!function(e,t){if(e=e.containerInfo,ca=c1,aE(e=aC(e))){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(a=(a=e.ownerDocument)&&a.defaultView||window).getSelection&&a.getSelection();if(r&&0!==r.rangeCount){a=r.anchorNode;var n,l=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{a.nodeType,s.nodeType}catch(e){a=null;break e}var o=0,c=-1,u=-1,d=0,m=0,p=e,f=null;t:for(;;){for(;p!==a||0!==l&&3!==p.nodeType||(c=o+l),p!==s||0!==r&&3!==p.nodeType||(u=o+r),3===p.nodeType&&(o+=p.nodeValue.length),null!==(n=p.firstChild);)f=p,p=n;for(;;){if(p===e)break t;if(f===a&&++d===l&&(c=o),f===s&&++m===r&&(u=o),null!==(n=p.nextSibling))break;
1f=(p=f).parentNode}p=n}a=-1===c||-1===u?null:{start:c,end:u}}else a=null}a=a||{start:0,end:0}}else a=null;for(cr={focusedElem:e,selectionRange:a},c1=!1,s8=t;null!==s8;)if(e=(t=s8).child,0!=(1024&t.subtreeFlags)&&null!==e)e.return=t,s8=e;else for(;null!==s8;){switch(s=(t=s8).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!=(1024&e)&&null!==s){e=void 0,a=t,l=s.memoizedProps,s=s.memoizedState,r=a.stateNode;try{var h=sr(a.type,l,a.elementType===a.type);e=r.getSnapshotBeforeUpdate(h,s),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){oj(a,a.return,e)}}break;case 3:if(0!=(1024&e)){if(9===(a=(e=t.stateNode.containerInfo).nodeType))cx(e);else if(1===a)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":cx(e);break;default:e.textContent=""}}break;default:if(0!=(1024&e))throw Error(i(163))}if(null!==(e=t.sibling)){e.return=t.return,s8=e;break}s8=t.return}}(e,t,a)}finally{iC=s,A.p=n,L.T=r}}iG=1,of(),oh(),ox()}}function of(){if(1===iG){iG=0;var e=iK,t=iZ,a=0!=(13878&t.flags);if(0!=(13878&t.subtreeFlags)||a){a=L.T,L.T=null;var r=A.p;A.p=2;var n=iC;iC|=4;try{io(t,e);var l=cr,s=aC(e.containerInfo),i=l.focusedElem,o=l.selectionRange;if(s!==i&&i&&i.ownerDocument&&function e(t,a){return!!t&&!!a&&(t===a||(!t||3!==t.nodeType)&&(a&&3===a.nodeType?e(t,a.parentNode):"contains"in t?t.contains(a):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(a))))}(i.ownerDocument.documentElement,i)){if(null!==o&&aE(i)){var c=o.start,u=o.end;if(void 0===u&&(u=c),"selectionStart"in i)i.selectionStart=c,i.selectionEnd=Math.min(u,i.value.length);else{var d=i.ownerDocument||document,m=d&&d.defaultView||window;if(m.getSelection){var p=m.getSelection(),f=i.textContent.length,h=Math.min(o.start,f),x=void 0===o.end?h:Math.min(o.end,f);!p.extend&&h>x&&(s=x,x=h,h=s);var g=aS(i,h),b=aS(i,x);if(g&&b&&(1!==p.rangeCount||p.anchorNode!==g.node||p.anchorOffset!==g.offset||p.focusNode!==b.node||p.focusOffset!==b.offset)){var y=d.createRange();y.setStart(g.node,g.offset),p.removeAllRanges(),h>x?(p.addRange(y),p.extend(b.node,b.offset)):(y.setEnd(b.node,b.offset),p.addRange(y))}}}}for(d=[],p=i;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof i.focus&&i.focus(),i=0;i<d.length;i++){var v=d[i];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}c1=!!ca,cr=ca=null}finally{iC=n,A.p=r,L.T=a}}e.current=t,iG=2}}function oh(){if(2===iG){iG=0;var e=iK,t=iZ,a=0!=(8772&t.flags);if(0!=(8772&t.subtreeFlags)||a){a=L.T,L.T=null;var r=A.p;A.p=2;var n=iC;iC|=4;try{s7(e,t.alternate,t)}finally{iC=n,A.p=r,L.T=a}}iG=3}}function ox(){if(4===iG||3===iG){iG=0,J();var e=iK,t=iZ,a=iJ,r=i1;0!=(10256&t.subtreeFlags)||0!=(10256&t.flags)?iG=5:(iG=0,iZ=iK=null,og(e,e.pen
1dingLanes));var n=e.pendingLanes;if(0===n&&(iY=null),eC(a),t=t.stateNode,ec&&"function"==typeof ec.onCommitFiberRoot)try{ec.onCommitFiberRoot(eo,t,void 0,128==(128&t.current.flags))}catch(e){}if(null!==r){t=L.T,n=A.p,A.p=2,L.T=null;try{for(var l=e.onRecoverableError,s=0;s<r.length;s++){var i=r[s];l(i.value,{componentStack:i.stack})}}finally{L.T=t,A.p=n}}0!=(3&iJ)&&ob(),oA(e),n=e.pendingLanes,0!=(4194090&a)&&0!=(42&n)?e===i4?i2++:(i2=0,i4=e):i2=0,oz(0,!1)}}function og(e,t){0==(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,rK(t))}function ob(e){return of(),oh(),ox(),oy(e)}function oy(){if(5!==iG)return!1;var e=iK,t=iX;iX=0;var a=eC(iJ),r=L.T,n=A.p;try{A.p=32>a?32:a,L.T=null,a=i0,i0=null;var l=iK,s=iJ;if(iG=0,iZ=iK=null,iJ=0,0!=(6&iC))throw Error(i(331));var o=iC;if(iC|=4,iw(l.current),ih(l,l.current,s,a),iC=o,oz(0,!1),ec&&"function"==typeof ec.onPostCommitFiberRoot)try{ec.onPostCommitFiberRoot(eo,l)}catch(e){}return!0}finally{A.p=n,L.T=r,og(e,t)}}function ov(e,t,a){t=aK(a,t),t=su(e.stateNode,t,2),null!==(e=nd(e,t,2))&&(ew(e,2),oA(e))}function oj(e,t,a){if(3===e.tag)ov(e,e,a);else for(;null!==t;){if(3===t.tag){ov(t,e,a);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===iY||!iY.has(r))){e=aK(a,e),null!==(r=nd(t,a=sd(2),2))&&(sm(a,r,t,e),ew(r,2),oA(r));break}}t=t.return}}function ow(e,t,a){var r=e.pingCache;if(null===r){r=e.pingCache=new iS;var n=new Set;r.set(t,n)}else void 0===(n=r.get(t))&&(n=new Set,r.set(t,n));n.has(a)||(iz=!0,n.add(a),e=oN.bind(null,e,t,a),t.then(e,e))}function oN(e,t,a){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,iE===e&&(iM&a)===a&&(4===iO||3===iO&&(0x3c00000&iM)===iM&&300>X()-iB?0==(2&iC)&&oa(e,0):iI|=a,iV===iM&&(iV=0)),oA(e)}function ok(e,t){0===t&&(t=ev()),null!==(e=a4(e,t))&&(ew(e,t),oA(e))}function oS(e){var t=e.memoizedState,a=0;null!==t&&(a=t.retryLane),ok(e,a)}function oC(e,t){var a=0;switch(e.tag){case 13:var r=e.stateNode,n=e.memoizedState;null!==n&&(a=n.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}null!==r&&r.delete(t),ok(e,a)}var oE=null,oP=null,oM=!1,oT=!1,oD=!1,oL=0;function oA(e){e!==oP&&null===e.next&&(null===oP?oE=oP=e:oP=oP.next=e),oT=!0,oM||(oM=!0,cm(function(){0!=(6&iC)?G(et,oF):oO()}))}function oz(e,t){if(!oD&&oT){oD=!0;do for(var a=!1,r=oE;null!==r;){if(!t)if(0!==e){var n=r.pendingLanes;if(0===n)var l=0;else{var s=r.suspendedLanes,i=r.pingedLanes;l=0xc000095&(l=(1<<31-ed(42|e)+1)-1&(n&~(s&~i)))?0xc000095&l|1:l?2|l:0}0!==l&&(a=!0,oI(r,l))}else l=iM,0==(3&(l=eg(r,r===iE?l:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eb(r,l)||(a=!0,oI(r,l));r=r.next}while(a);oD=!1}}function oF(){oO()}function oO(){oT=oM=!1;var e,t=0;0!==oL&&(((e=window.event)&&"popstate"===e.type?e===co||(co=e,0):(co=null,1))||(t=oL),oL=0);for(var a=X(),r=null,n=oE;null!==n;){var l=n.next,s=o_(n,a);0===s?(n.next=null,null===r?oE=l:r.next=l,null===l&&(oP=r)):(r=n,(0!==t||0!=(3&s))&&(oT=!0)),n=l}oz(t,!1)}function o_(e,t){for(var a=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,l=-0x3c00001&e.pendingLanes;0<l;){var s=31-ed(l),i=1<<s,o=n[s];-1===o?(0==(i&a)||0!=(i&r))&&(n[s]=function(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return -1}}(i,t)):o<=t&&(e.expiredLanes|=i),l&=~i}if(t=iE,a=iM,a=eg(e,e===t?a:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===a||e===t&&(2===iT||9===iT)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&K(r),e.callbackNode=null,e.callbackPriority=0;if(0==(3&a)||eb(e,a)){if((t=a&-a)===e.callbackPriority)return t;switch(null!==r&&K(r),eC(a)){case 2:case 8:a=ea;break;case 32:default:a=er;break;case 0x10000000:a=el}return a=G(a,r=oR.bind(null,e)),e.callbackPriority=t,e.callbackNode=a,t}return null!==r&&null!==r&&K(r),e.callbackPriority=2,e.callbackNode=null,2}function oR(e,t){if(0!==iG&&5!==iG)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(ob(!0)&&e.callbackNode!==a)return null;var r=iM;return 0===(r=eg(e,e===iE?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(i8(e,r,t),o_(e,X()),null!=e.callbackNode&&e.callbackNode===a?oR.bind(null,e):null)}function oI(e,t){if(ob())return null;i8(e,t,!0)}function oq(){return 0===oL&&(oL=ey()),oL}function oV(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:tp(""+e)}function oU(e,t){var a=t.ownerDocument.createElement("input");
vendor: 5,017 bytes, line 1
1return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}for(var oH=0;oH<aQ.length;oH++){var o$=aQ[oH];aY(o$.toLowerCase(),"on"+(o$[0].toUpperCase()+o$.slice(1)))}aY(aI,"onAnimationEnd"),aY(aq,"onAnimationIteration"),aY(aV,"onAnimationStart"),aY("dblclick","onDoubleClick"),aY("focusin","onFocus"),aY("focusout","onBlur"),aY(aU,"onTransitionRun"),aY(aH,"onTransitionStart"),aY(a$,"onTransitionCancel"),aY(aB,"onTransitionEnd"),eW("onMouseEnter",["mouseout","mouseover"]),eW("onMouseLeave",["mouseout","mouseover"]),eW("onPointerEnter",["pointerout","pointerover"]),eW("onPointerLeave",["pointerout","pointerover"]),eB("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),eB("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),eB("onBeforeInput",["compositionend","keypress","textInput","paste"]),eB("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),eB("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),eB("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var oB="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),oW=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(oB));function oQ(e,t){t=0!=(4&t);for(var a=0;a<e.length;a++){var r=e[a],n=r.event;r=r.listeners;e:{var l=void 0;if(t)for(var s=r.length-1;0<=s;s--){var i=r[s],o=i.instance,c=i.currentTarget;if(i=i.listener,o!==l&&n.isPropagationStopped())break e;l=i,n.currentTarget=c;try{l(n)}catch(e){sn(e)}n.currentTarget=null,l=o}else for(s=0;s<r.length;s++){if(o=(i=r[s]).instance,c=i.currentTarget,i=i.listener,o!==l&&n.isPropagationStopped())break e;l=i,n.currentTarget=c;try{l(n)}catch(e){sn(e)}n.currentTarget=null,l=o}}}}function oY(e,t){var a=t[eL];void 0===a&&(a=t[eL]=new Set);var r=e+"__bubble";a.has(r)||(oJ(t,e,2,!1),a.add(r))}function oG(e,t,a){var r=0;t&&(r|=4),oJ(a,e,r,t)}var oK="_reactListening"+Math.random().toString(36).slice(2);function oZ(e){if(!e[oK]){e[oK]=!0,eH.forEach(function(t){"selectionchange"!==t&&(oW.has(t)||oG(t,!1,e),oG(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[oK]||(t[oK]=!0,oG("selectionchange",!1,t))}}function oJ(e,t,a,r){switch(c7(t)){case 2:var n=c2;break;case 8:n=c4;break;default:n=c3}a=n.bind(null,t,a,e),n=void 0,tN&&("touchstart"===t||"touchmove"===t||"wheel"===t)&&(n=!0),r?void 0!==n?e.addEventListener(t,a,{capture:!0,passive:n}):e.addEventListener(t,a,!0):void 0!==n?e.addEventListener(t,a,{passive:n}):e.addEventListener(t,a,!1)}function oX(e,t,a,r,n){var l=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var i=r.stateNode.containerInfo;if(i===n)break;if(4===s)for(s=r.return;null!==s;){var c=s.tag;if((3===c||4===c)&&s.stateNode.containerInfo===n)return;s=s.return}for(;null!==i;){if(null===(s=eR(i)))return;if(5===(c=s.tag)||6===c||26===c||27===c){r=l=s;continue e}i=i.parentNode}}r=r.return}tv(function(){var r=l,n=th(a),s=[];e:{var i=aW.get(e);if(void 0!==i){var c=tI,u=e;switch(e){case"keypress":if(0===tM(a))break e;case"keydown":case"keyup":c=t0;break;case"focusin":u="focus",c=tB;break;case"focusout":u="blur",c=tB;break;case"beforeblur":case"afterblur":c=tB;break;case"click":if(2===a.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=tH;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=t$;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=t2;break;case aI:case aq:case aV:c=tW;break;case aB:c=t4;break;case"scroll":case"scrollend":c=tV;break;case"wheel":c=t3;break;case"copy":case"cut":case"paste":c=tQ;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=t1;break;case"toggle":case"beforetoggle":c=t5}var d=0!=(4&t),m=!d&&("scroll"===e||"scrollend"===e),p=d?null!==i?i+"Capture":null:i;d=[];for(var f,h=r;null!==h;){var x=h;if(f=x.stateNode,5!==(x=x.tag)&&26!==x&&27!==x||null===f||null===p||null!=(x=tj(h,p))&&d.push(o0(h,x,f)),m)break;h=h.return}0<d.length&&(i=new c(i,u,null,a,n),s.push({event:i,listeners:d}))}}if(0==(7&t)){if((i="mouseover"===e||"pointerover"===e,c="mouseout"===e||"pointerout"===e,!(i&&a!==tf&&(u=a.relatedTarget||a.fromElement)&&(eR(u)||u[eD])))&&(c||i)&&(i=n.window===n?n:(i=n.ownerDocument)?i.defaultView||i.parentWindow:window,c?(u=a.relatedTarget||a.toElement,c=r,null!==(u=u?eR(u):null)&&(m=o(u),d=u.tag,u!==m||5!==d&&27!==d&&6!==d)&&(u=null)):(c=null,u=r),c!==u)){
1if(d=tH,x="onMouseLeave",p="onMouseEnter",h="mouse",("pointerout"===e||"pointerover"===e)&&(d=t1,x="onPointerLeave",p="onPointerEnter",h="pointer"),m=null==c?i:eq(c),f=null==u?i:eq(u),(i=new d(x,h+"leave",c,a,n)).target=m,i.relatedTarget=f,x=null,eR(n)===r&&((d=new d(p,h+"enter",u,a,n)).target=f,d.relatedTarget=m,x=d),m=x,c&&u)t:{for(d=c,p=u,h=0,f=d;f;f=o2(f))h++;for(f=0,x=p;x;x=o2(x))f++;for(;0<h-f;)d=o2(d),h--;for(;0<f-h;)p=o2(p),f--;for(;h--;){if(d===p||null!==p&&d===p.alternate)break t;d=o2(d),p=o2(p)}d=null}else d=null;null!==c&&o4(s,i,c,d,!1),null!==u&&null!==m&&o4(s,m,u,d,!0)}e:{if("select"===(c=(i=r?eq(r):window).nodeName&&i.nodeName.toLowerCase())||"input"===c&&"file"===i.type)var g,b=am;else if(as(i))if(ap)b=aj;else{b=ay;var y=ab}else(c=i.nodeName)&&"input"===c.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)?b=av:r&&tu(r.elementType)&&(b=am);if(b&&(b=b(e,r))){ai(s,b,a,n);break e}y&&y(e,i,r),"focusout"===e&&r&&"number"===i.type&&null!=r.memoizedProps.value&&ta(i,"number",i.value)}switch(y=r?eq(r):window,e){case"focusin":(as(y)||"true"===y.contentEditable)&&(aM=y,aT=r,aD=null);break;case"focusout":aD=aT=aM=null;break;case"mousedown":aL=!0;break;case"contextmenu":case"mouseup":case"dragend":aL=!1,aA(s,a,n);break;case"selectionchange":if(aP)break;case"keydown":case"keyup":aA(s,a,n)}if(t8)t:{switch(e){case"compositionstart":var v="onCompositionStart";break t;case"compositionend":v="onCompositionEnd";break t;case"compositionupdate":v="onCompositionUpdate";break t}v=void 0}else an?aa(e,a)&&(v="onCompositionEnd"):"keydown"===e&&229===a.keyCode&&(v="onCompositionStart");v&&(ae&&"ko"!==a.locale&&(an||"onCompositionStart"!==v?"onCompositionEnd"===v&&an&&(g=tP()):(tC="value"in(tS=n)?tS.value:tS.textContent,an=!0)),0<(y=o1(r,v)).length&&(v=new tY(v,e,null,a,n),s.push({event:v,listeners:y}),g?v.data=g:null!==(g=ar(a))&&(v.data=g))),(g=t9?function(e,t){switch(e){case"compositionend":return ar(t);case"keypress":if(32!==t.which)return null;return at=!0," ";case"textInput":return" "===(e=t.data)&&at?null:e;default:return null}}(e,a):function(e,t){if(an)return"compositionend"===e||!t8&&aa(e,t)?(e=tP(),tE=tC=tS=null,an=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ae&&"ko"!==t.locale?null:t.data}}(e,a))&&0<(v=o1(r,"onBeforeInput")).length&&(y=new tY("onBeforeInput","beforeinput",null,a,n),s.push({event:y,listeners:v}),y.data=g);var j=e;if("submit"===j&&r&&r.stateNode===n){var w=oV((n[eT]||null).action),N=a.submitter;N&&null!==(j=(j=N[eT]||null)?oV(j.formAction):N.getAttribute("formAction"))&&(w=j,N=null);var k=new tI("action","action",null,a,n);s.push({event:k,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(0!==oL){var e=N?oU(n,N):new FormData(n);lP(r,{pending:!0,data:e,method:n.method,action:w},null,e)}}else"function"==typeof w&&(k.preventDefault(),lP(r,{pending:!0,data:e=N?oU(n,N):new FormData(n),method:n.method,action:w},w,e))},currentTarget:n}]})}}oQ(s,t)})}function o0(e,t,a){return{instance:e,listener:t,currentTarget:a}}function o1(e,t){for(var a=t+"Capture",r=[];null!==e;){var n=e,l=n.stateNode;if(5!==(n=n.tag)&&26!==n&&27!==n||null===l||(null!=(n=tj(e,a))&&r.unshift(o0(e,n,l)),null!=(n=tj(e,t))&&r.push(o0(e,n,l))),3===e.tag)return r;e=e.return}return[]}function o2(e){if(null===e)return null;do e=e.return;while(e&&5!==e.tag&&27!==e.tag);return e||null}function o4(e,t,a,r,n){for(var l=t._reactName,s=[];null!==a&&a!==r;){var i=a,o=i.alternate,c=i.stateNode;if(i=i.tag,null!==o&&o===r)break;5!==i&&26!==i&&27!==i||null===c||(o=c,n?null!=(c=tj(a,l))&&s.unshift(o0(a,c,o)):n||null!=(c=tj(a,l))&&s.push(o0(a,c,o))),a=a.return}0!==s.length&&e.push({event:t,listeners:s})}var o3=/\r\n?/g,o5=/\u0000|\uFFFD/g;function o6(e){return("string"==typeof e?e:""+e).replace(o3,"\n").replace(o5,"")}function o8(e,t){return t=o6(t),o6(e)===t}function o7(){}function o9(e,t,a,r,n,l){switch(a){case"children":"string"==typeof r?"body"===t||"textarea"===t&&""===r||ts(e,r):("number"==typeof r||"bigint"==typeof r)&&"body"!==t&&ts(e,""+r);break;case"className":eZ(e,"class",r);break;case"tabIndex":eZ(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":eZ(e,a,r);break;case"style":tc(e,r,l);break;case"data":if("object"!==t){eZ(e,"data",r);break}case"src":case"href":if(""===r&&("a"!==t||"href"!==a)||null==r||"function"==typeof r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(a);break}r=tp(""+r),e.setAttribute(a,r);break;case"action":case"formAction":if("function"==typeof r){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof l&&("formAction"===a?("input"!==t&&o9(e,t,"name",n.name,n,null),o9(e,t,"formEncType",n.formEncType,n,null),o9(e,t,"formMethod",n.formMethod,n,null),o9(e,t,"formTarget",n.formTarget,n,null)):(o9(e,t,"encType",n.encType,n,null),o9(e,t,"method",n.method,n,null),o9(e,t,"target",n.target,n,null))),null==r||"symbol"==typeof r||"boolean"==typeof r){e.removeAttribute(a);break}r=tp(""+r),e.setAttribute(a,r);break;case"onClick":null!=r&&(e.onclick=o7);break;case"onScroll":null!=r&&oY("scroll",e);break;case"onScrollEnd":null!=r&&oY("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(a=r.__html)){if(null!=n.children)throw Error(i(60));e.innerHTML=a}}break;case"multiple":e.multiple=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"muted":e.muted=r&&"function"!=typeof r&&"symbol"!=typeof r;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":case"innerText":case"textContent":break;case"xlinkHref":if(null==r||"function"==typeof r||"boolean"==typeof r||"symbol"==typeof r){e.removeAttribute("xlink:href");break}a=tp(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(a,""+r):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
1ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":!0===r?e.setAttribute(a,""):!1!==r&&null!=r&&"function"!=typeof r&&"symbol"!=typeof r?e.setAttribute(a,r):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&!isNaN(r)&&1<=r?e.setAttribute(a,r):e.removeAttribute(a);break;case"rowSpan":case"start":null==r||"function"==typeof r||"symbol"==typeof r||isNaN(r)?e.removeAttribute(a):e.setAttribute(a,r);break;case"popover":oY("beforetoggle",e),oY("toggle",e),eK(e,"popover",r);break;case"xlinkActuate":eJ(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":eJ(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":eJ(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":eJ(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":eJ(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":eJ(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":eJ(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":eJ(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":eJ(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":eK(e,"is",r);break;default:2<a.length&&("o"===a[0]||"O"===a[0])&&("n"===a[1]||"N"===a[1])||eK(e,a=td.get(a)||a,r)}}function ce(e,t,a,r,n,l){switch(a){case"style":tc(e,r,l);break;case"dangerouslySetInnerHTML":if(null!=r){if("object"!=typeof r||!("__html"in r))throw Error(i(61));if(null!=(a=r.__html)){if(null!=n.children)throw Error(i(60));e.innerHTML=a}}break;case"children":"string"==typeof r?ts(e,r):("number"==typeof r||"bigint"==typeof r)&&ts(e,""+r);break;case"onScroll":null!=r&&oY("scroll",e);break;case"onScrollEnd":null!=r&&oY("scrollend",e);break;case"onClick":null!=r&&(e.onclick=o7);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:if(!e$.hasOwnProperty(a))e:{if("o"===a[0]&&"n"===a[1]&&(n=a.endsWith("Capture"),t=a.slice(2,n?a.length-7:void 0),"function"==typeof(l=null!=(l=e[eT]||null)?l[a]:null)&&e.removeEventListener(t,l,n),"function"==typeof r)){"function"!=typeof l&&null!==l&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,r,n);break e}a in e?e[a]=r:!0===r?e.setAttribute(a,""):eK(e,a,r)}}}function ct(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":oY("error",e),oY("load",e);var r,n=!1,l=!1;for(r in a)if(a.hasOwnProperty(r)){var s=a[r];if(null!=s)switch(r){case"src":n=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:o9(e,t,r,s,a,null)}}l&&o9(e,t,"srcSet",a.srcSet,a,null),n&&o9(e,t,"src",a.src,a,null);return;case"input":oY("invalid",e);var o=r=s=l=null,c=null,u=null;for(n in a)if(a.hasOwnProperty(n)){var d=a[n];if(null!=d)switch(n){case"name":l=d;break;case"type":s=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":r=d;break;case"defaultValue":o=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(i(137,t));break;default:o9(e,t,n,d,a,null)}}tt(e,r,o,c,u,s,l,!1),e5(e);return;case"select":for(l in oY("invalid",e),n=s=r=null,a)if(a.hasOwnProperty(l)&&null!=(o=a[l]))switch(l){case"value":r=o;break;case"defaultValue":s=o;break;case"multiple":n=o;default:o9(e,t,l,o,a,null)}t=r,a=s,e.multiple=!!n,null!=t?tr(e,!!n,t,!1):null!=a&&tr(e,!!n,a,!0);return;case"textarea":for(s in oY("invalid",e),r=l=n=null,a)if(a.hasOwnProperty(s)&&null!=(o=a[s]))switch(s){case"value":n=o;break;case"defaultValue":l=o;break;case"children":r=o;break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(i(91));break;default:o9(e,t,s,o,a,null)}tl(e,n,l,r),e5(e);return;case"option":for(c in a)a.hasOwnProperty(c)&&null!=(n=a[c])&&("selected"===c?e.selected=n&&"function"!=typeof n&&"symbol"!=typeof n:o9(e,t,c,n,a,null));return;case"dialog":oY("beforetoggle",e),oY("toggle",e),oY("cancel",e),oY("close",e);break;case"iframe":case"object":oY("load",e);break;case"video":case"audio":for(n=0;n<oB.length;n++)oY(oB[n],e);break;case"image":oY("error",e),oY("load",e);break;case"details":oY("toggle",e);break;case"embed":case"source":case"link":oY("error",e),oY("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in a)if(a.hasOwnProperty(u)&&null!=(n=a[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:o9(e,t,u,n,a,null)}return;default:if(tu(t)){for(d in a)a.hasOwnProperty(d)&&void 0!==(n=a[d])&&ce(e,t,d,n,a,void 0);return}}for(o in a)a.hasOwnProperty(o)&&null!=(n=a[o])&&o9(e,t,o,n,a,null)}var ca=null,cr=null;
vendor: 5,276 bytes, line 1
1function cn(e){return 9===e.nodeType?e:e.ownerDocument}function cl(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function cs(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function ci(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var co=null,cc="function"==typeof setTimeout?setTimeout:void 0,cu="function"==typeof clearTimeout?clearTimeout:void 0,cd="function"==typeof Promise?Promise:void 0,cm="function"==typeof queueMicrotask?queueMicrotask:void 0!==cd?function(e){return cd.resolve(null).then(e).catch(cp)}:cc;function cp(e){setTimeout(function(){throw e})}function cf(e){return"head"===e}function ch(e,t){var a=t,r=0,n=0;do{var l=a.nextSibling;if(e.removeChild(a),l&&8===l.nodeType)if("/$"===(a=l.data)){if(0<r&&8>r){a=r;var s=e.ownerDocument;if(1&a&&cw(s.documentElement),2&a&&cw(s.body),4&a)for(cw(a=s.head),s=a.firstChild;s;){var i=s.nextSibling,o=s.nodeName;s[eO]||"SCRIPT"===o||"STYLE"===o||"LINK"===o&&"stylesheet"===s.rel.toLowerCase()||a.removeChild(s),s=i}}if(0===n){e.removeChild(l),ux(t);return}n--}else"$"===a||"$?"===a||"$!"===a?n++:r=a.charCodeAt(0)-48;else r=0;a=l}while(a);ux(t)}function cx(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":cx(a),e_(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===a.rel.toLowerCase())continue}e.removeChild(a)}}function cg(e){return"$!"===e.data||"$?"===e.data&&"complete"===e.ownerDocument.readyState}function cb(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}var cy=null;function cv(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var a=e.data;if("$"===a||"$!"===a||"$?"===a){if(0===t)return e;t--}else"/$"===a&&t++}e=e.previousSibling}return null}function cj(e,t,a){switch(t=cn(a),e){case"html":if(!(e=t.documentElement))throw Error(i(452));return e;case"head":if(!(e=t.head))throw Error(i(453));return e;case"body":if(!(e=t.body))throw Error(i(454));return e;default:throw Error(i(451))}}function cw(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);e_(e)}var cN=new Map,ck=new Set;function cS(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var cC=A.d;A.d={f:function(){var e=cC.f(),t=oe();return e||t},r:function(e){var t=eI(e);null!==t&&5===t.tag&&"form"===t.type?lT(t):cC.r(e)},D:function(e){cC.D(e),cP("dns-prefetch",e,null)},C:function(e,t){cC.C(e,t),cP("preconnect",e,t)},L:function(e,t,a){if(cC.L(e,t,a),cE&&e&&t){var r='link[rel="preload"][as="'+e9(t)+'"]';"image"===t&&a&&a.imageSrcSet?(r+='[imagesrcset="'+e9(a.imageSrcSet)+'"]',"string"==typeof a.imageSizes&&(r+='[imagesizes="'+e9(a.imageSizes)+'"]')):r+='[href="'+e9(e)+'"]';var n=r;switch(t){case"style":n=cT(e);break;case"script":n=cA(e)}cN.has(n)||(e=d({rel:"preload",href:"image"===t&&a&&a.imageSrcSet?void 0:e,as:t},a),cN.set(n,e),null!==cE.querySelector(r)||"style"===t&&cE.querySelector(cD(n))||"script"===t&&cE.querySelector(cz(n))||(ct(t=cE.createElement("link"),"link",e),eU(t),cE.head.appendChild(t)))}},m:function(e,t){if(cC.m(e,t),cE&&e){var a=t&&"string"==typeof t.as?t.as:"script",r='link[rel="modulepreload"][as="'+e9(a)+'"][href="'+e9(e)+'"]',n=r;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=cA(e)}if(!cN.has(n)&&(e=d({rel:"modulepreload",href:e},t),cN.set(n,e),null===cE.querySelector(r))){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(cE.querySelector(cz(n)))return}ct(a=cE.createElement("link"),"link",e),eU(a),cE.head.appendChild(a)}}},X:function(e,t){if(cC.X(e,t),cE&&e){var a=eV(cE).hoistableScripts,r=cA(e),n=a.get(r);n||((n=cE.querySelector(cz(r)))||(e=d({src:e,async:!0},t),(t=cN.get(r))&&cR(e,t),eU(n=cE.createElement("script")),ct(n,"link",e),cE.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(r,n))}},S:function(e,t,a){if(cC.S(e,t,a),cE&&e){var r=eV(cE).hoistableStyles,n=cT(e);t=t||"default";var l=r.get(n);if(!l){var s={loading:0,preload:null};if(l=cE.querySelector(cD(n)))s.loading=5;else{e=d({rel:"stylesheet",href:e,"data-precedence":t},a),(a=cN.get(n))&&c_(e,a);var i=l=cE.createElement("link");eU(i),ct(i,"link",e),i._p=new Promise(function(e,t){i.onload=e,i.onerror=t}),i.addEventListener("load",function(){s.loading|=1}),i.addEventListener("error",function(){s.loading|=2}),s.loading|=4,cO(l,t,cE)}l={type:"stylesheet",instance:l,count:1,state:s},r.set(n,l)}}},M:function(e,t){if(cC.M(e,t),cE&&e){var a=eV(cE).hoistableScripts,r=cA(e),n=a.get(r);n||((n=cE.querySelector(cz(r)))||(e=d({src:e,async:!0,type:"module"},t),(t=cN.get(r))&&cR(e,t),eU(n=cE.createElement("script")),ct(n,"link",e),cE.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(r,n))}}};
1var cE="undefined"==typeof document?null:document;function cP(e,t,a){if(cE&&"string"==typeof t&&t){var r=e9(t);r='link[rel="'+e+'"][href="'+r+'"]',"string"==typeof a&&(r+='[crossorigin="'+a+'"]'),ck.has(r)||(ck.add(r),e={rel:e,crossOrigin:a,href:t},null===cE.querySelector(r)&&(ct(t=cE.createElement("link"),"link",e),eU(t),cE.head.appendChild(t)))}}function cM(e,t,a,r){var n=(n=U.current)?cS(n):null;if(!n)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof a.precedence&&"string"==typeof a.href?(t=cT(a.href),(r=(a=eV(n).hoistableStyles).get(t))||(r={type:"style",instance:null,count:0,state:null},a.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===a.rel&&"string"==typeof a.href&&"string"==typeof a.precedence){e=cT(a.href);var l,s,o,c,u=eV(n).hoistableStyles,d=u.get(e);if(d||(n=n.ownerDocument||n,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=n.querySelector(cD(e)))&&!u._p&&(d.instance=u,d.state.loading=5),cN.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},cN.set(e,a),u||(l=n,s=e,o=a,c=d.state,l.querySelector('link[rel="preload"][as="style"]['+s+"]")?c.loading=1:(c.preload=s=l.createElement("link"),s.addEventListener("load",function(){return c.loading|=1}),s.addEventListener("error",function(){return c.loading|=2}),ct(s,"link",o),eU(s),l.head.appendChild(s))))),t&&null===r)throw Error(i(528,""));return d}if(t&&null!==r)throw Error(i(529,""));return null;case"script":return t=a.async,"string"==typeof(a=a.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=cA(a),(r=(a=eV(n).hoistableScripts).get(t))||(r={type:"script",instance:null,count:0,state:null},a.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function cT(e){return'href="'+e9(e)+'"'}function cD(e){return'link[rel="stylesheet"]['+e+"]"}function cL(e){return d({},e,{"data-precedence":e.precedence,precedence:null})}function cA(e){return'[src="'+e9(e)+'"]'}function cz(e){return"script[async]"+e}function cF(e,t,a){if(t.count++,null===t.instance)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+e9(a.href)+'"]');if(r)return t.instance=r,eU(r),r;var n=d({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return eU(r=(e.ownerDocument||e).createElement("style")),ct(r,"style",n),cO(r,a.precedence,e),t.instance=r;case"stylesheet":n=cT(a.href);var l=e.querySelector(cD(n));if(l)return t.state.loading|=4,t.instance=l,eU(l),l;r=cL(a),(n=cN.get(n))&&c_(r,n),eU(l=(e.ownerDocument||e).createElement("link"));var s=l;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),ct(l,"link",r),t.state.loading|=4,cO(l,a.precedence,e),t.instance=l;case"script":if(l=cA(a.src),n=e.querySelector(cz(l)))return t.instance=n,eU(n),n;return r=a,(n=cN.get(l))&&cR(r=d({},a),n),eU(n=(e=e.ownerDocument||e).createElement("script")),ct(n,"link",r),e.head.appendChild(n),t.instance=n;case"void":return null;default:throw Error(i(443,t.type))}return"stylesheet"===t.type&&0==(4&t.state.loading)&&(r=t.instance,t.state.loading|=4,cO(r,a.precedence,e)),t.instance}function cO(e,t,a){for(var r=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=r.length?r[r.length-1]:null,l=n,s=0;s<r.length;s++){var i=r[s];if(i.dataset.precedence===t)l=i;else if(l!==n)break}l?l.parentNode.insertBefore(e,l.nextSibling):(t=9===a.nodeType?a.head:a).insertBefore(e,t.firstChild)}function c_(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function cR(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var cI=null;function cq(e,t,a){if(null===cI){var r=new Map,n=cI=new Map;n.set(a,r)}else(r=(n=cI).get(a))||(r=new Map,n.set(a,r));if(r.has(e))return r;for(r.set(e,null),a=a.getElementsByTagName(e),n=0;n<a.length;n++){var l=a[n];if(!(l[eO]||l[eM]||"link"===e&&"stylesheet"===l.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==l.namespaceURI){var s=l.getAttribute(t)||"";s=e+s;var i=r.get(s);i?i.push(l):r.set(s,[l])}}return r}function cV(e,t,a){(e=e.ownerDocument||e).head.insertBefore(a,"title"===t?e.querySelector("head > title"):null)}function cU(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var cH=null;function c$(){}function cB(){if(this.count--,0===this.count){if(this.stylesheets)cQ(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var cW=null;function cQ(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,cW=new Map,t.forEach(cY,e),cW=null,cB.call(e))}function cY(e,t){if(!(4&t.state.loading)){var a=cW.get(e);if(a)var r=a.get(null);
vendor: 5,659 bytes, line 1
1else{a=new Map,cW.set(e,a);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),l=0;l<n.length;l++){var s=n[l];("LINK"===s.nodeName||"not all"!==s.getAttribute("media"))&&(a.set(s.dataset.precedence,s),r=s)}r&&a.set(null,r)}s=(n=t.instance).getAttribute("data-precedence"),(l=a.get(s)||r)===r&&a.set(null,n),a.set(s,n),this.count++,r=cB.bind(this),n.addEventListener("load",r),n.addEventListener("error",r),l?l.parentNode.insertBefore(n,l.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(n,e.firstChild),t.state.loading|=4}}var cG={$$typeof:v,Provider:null,Consumer:null,_currentValue:z,_currentValue2:z,_threadCount:0};function cK(e,t,a,r,n,l,s,i){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ej(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ej(0),this.hiddenUpdates=ej(null),this.identifierPrefix=r,this.onUncaughtError=n,this.onCaughtError=l,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=i,this.incompleteTransitions=new Map}function cZ(e,t,a,r,n,l){n=n?a6:a6,null===r.context?r.context=n:r.pendingContext=n,(r=nu(t)).payload={element:a},null!==(l=void 0===l?null:l)&&(r.callback=l),null!==(a=nd(e,r,t))&&(i6(a,e,t),nm(a,e,t))}function cJ(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var a=e.retryLane;e.retryLane=0!==a&&a<t?a:t}}function cX(e,t){cJ(e,t),(e=e.alternate)&&cJ(e,t)}function c0(e){if(13===e.tag){var t=a4(e,0x4000000);null!==t&&i6(t,e,0x4000000),cX(e,0x4000000)}}var c1=!0;function c2(e,t,a,r){var n=L.T;L.T=null;var l=A.p;try{A.p=2,c3(e,t,a,r)}finally{A.p=l,L.T=n}}function c4(e,t,a,r){var n=L.T;L.T=null;var l=A.p;try{A.p=8,c3(e,t,a,r)}finally{A.p=l,L.T=n}}function c3(e,t,a,r){if(c1){var n=c5(r);if(null===n)oX(e,t,r,c6,a),ui(e,r);else if(function(e,t,a,r,n){switch(t){case"focusin":return ue=uo(ue,e,t,a,r,n),!0;case"dragenter":return ut=uo(ut,e,t,a,r,n),!0;case"mouseover":return ua=uo(ua,e,t,a,r,n),!0;case"pointerover":var l=n.pointerId;return ur.set(l,uo(ur.get(l)||null,e,t,a,r,n)),!0;case"gotpointercapture":return l=n.pointerId,un.set(l,uo(un.get(l)||null,e,t,a,r,n)),!0}return!1}(n,e,t,a,r))r.stopPropagation();else if(ui(e,r),4&t&&-1<us.indexOf(e)){for(;null!==n;){var l=eI(n);if(null!==l)switch(l.tag){case 3:if((l=l.stateNode).current.memoizedState.isDehydrated){var s=ex(l.pendingLanes);if(0!==s){var i=l;for(i.pendingLanes|=2,i.entangledLanes|=2;s;){var o=1<<31-ed(s);i.entanglements[1]|=o,s&=~o}oA(l),0==(6&iC)&&(iW=X()+500,oz(0,!1))}}break;case 13:null!==(i=a4(l,2))&&i6(i,l,2),oe(),cX(l,2)}if(null===(l=c5(r))&&oX(e,t,r,c6,a),l===n)break;n=l}null!==n&&r.stopPropagation()}else oX(e,t,r,null,a)}}function c5(e){return c8(e=th(e))}var c6=null;function c8(e){if(c6=null,null!==(e=eR(e))){var t=o(e);if(null===t)e=null;else{var a=t.tag;if(13===a){if(null!==(e=c(t)))return e;e=null}else if(3===a){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return c6=e,null}function c7(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ee()){case et:return 2;case ea:return 8;case er:case en:return 32;case el:return 0x10000000;default:return 32}default:return 32}}var c9=!1,ue=null,ut=null,ua=null,ur=new Map,un=new Map,ul=[],us="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function ui(e,t){switch(e){case"focusin":case"focusout":ue=null;break;case"dragenter":case"dragleave":ut=null;break;case"mouseover":case"mouseout":ua=null;break;case"pointerover":case"pointerout":ur.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":un.delete(t.pointerId)}}function uo(e,t,a,r,n,l){return null===e||e.nativeEvent!==l?(e={blockedOn:t,domEventName:a,eventSystemFlags:r,nativeEvent:l,targetContainers:[n]},null!==t&&null!==(t=eI(t))&&c0(t)):(e.eventSystemFlags|=r,t=e.targetContainers,null!==n&&-1===t.indexOf(n)&&t.push(n)),e}function uc(e){var t=eR(e.target);if(null!==t){var a=o(t);if(null!==a){if(13===(t=a.tag)){if(null!==(t=c(a))){e.blockedOn=t,function(e,t){var a=A.p;try{return A.p=e,t()}finally{A.p=a}}
1(e.priority,function(){if(13===a.tag){var e=i3(),t=a4(a,e=eS(e));null!==t&&i6(t,a,e),cX(a,e)}});return}}else if(3===t&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=3===a.tag?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function uu(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var a=c5(e.nativeEvent);if(null!==a)return null!==(t=eI(a))&&c0(t),e.blockedOn=a,!1;var r=new(a=e.nativeEvent).constructor(a.type,a);tf=r,a.target.dispatchEvent(r),tf=null,t.shift()}return!0}function ud(e,t,a){uu(e)&&a.delete(t)}function um(){c9=!1,null!==ue&&uu(ue)&&(ue=null),null!==ut&&uu(ut)&&(ut=null),null!==ua&&uu(ua)&&(ua=null),ur.forEach(ud),un.forEach(ud)}function up(e,t){e.blockedOn===t&&(e.blockedOn=null,c9||(c9=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,um)))}var uf=null;function uh(e){uf!==e&&(uf=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){uf===e&&(uf=null);for(var t=0;t<e.length;t+=3){var a=e[t],r=e[t+1],n=e[t+2];if("function"!=typeof r)if(null===c8(r||a))continue;else break;var l=eI(a);null!==l&&(e.splice(t,3),t-=3,lP(l,{pending:!0,data:n,method:a.method,action:r},r,n))}}))}function ux(e){function t(t){return up(t,e)}null!==ue&&up(ue,e),null!==ut&&up(ut,e),null!==ua&&up(ua,e),ur.forEach(t),un.forEach(t);for(var a=0;a<ul.length;a++){var r=ul[a];r.blockedOn===e&&(r.blockedOn=null)}for(;0<ul.length&&null===(a=ul[0]).blockedOn;)uc(a),null===a.blockedOn&&ul.shift();if(null!=(a=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<a.length;r+=3){var n=a[r],l=a[r+1],s=n[eT]||null;if("function"==typeof l)s||uh(a);else if(s){var i=null;if(l&&l.hasAttribute("formAction")){if(n=l,s=l[eT]||null)i=s.formAction;else if(null!==c8(n))continue}else i=s.action;"function"==typeof i?a[r+1]=i:(a.splice(r,3),r-=3),uh(a)}}}function ug(e){this._internalRoot=e}function ub(e){this._internalRoot=e}ub.prototype.render=ug.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));cZ(t.current,i3(),e,t,null,null)},ub.prototype.unmount=ug.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;cZ(e.current,2,null,e,null,null),oe(),t[eD]=null}},ub.prototype.unstable_scheduleHydration=function(e){if(e){var t=eE();e={blockedOn:null,target:e,priority:t};for(var a=0;a<ul.length&&0!==t&&t<ul[a].priority;a++);ul.splice(a,0,e),0===a&&uc(e)}};var uy=l.version;if("19.1.1"!==uy)throw Error(i(527,uy,"19.1.1"));if(A.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw Error(i(268,e=Object.keys(e).join(",")))}return null===(e=null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=o(e)))throw Error(i(188));return t!==e?null:e}for(var a=e,r=t;;){var n=a.return;if(null===n)break;var l=n.alternate;if(null===l){if(null!==(r=n.return)){a=r;continue}break}if(n.child===l.child){for(l=n.child;l;){if(l===a)return u(n),e;if(l===r)return u(n),t;l=l.sibling}throw Error(i(188))}if(a.return!==r.return)a=n,r=l;else{for(var s=!1,c=n.child;c;){if(c===a){s=!0,a=n,r=l;break}if(c===r){s=!0,r=n,a=l;break}c=c.sibling}if(!s){for(c=l.child;c;){if(c===a){s=!0,a=l,r=n;break}if(c===r){s=!0,r=l,a=n;break}c=c.sibling}if(!s)throw Error(i(189))}}if(a.alternate!==r)throw Error(i(190))}if(3!==a.tag)throw Error(i(188));return a.stateNode.current===a?e:t}(t))?function e(t){var a=t.tag;if(5===a||26===a||27===a||6===a)return t;for(t=t.child;null!==t;){if(null!==(a=e(t)))return a;t=t.sibling}return null}(e):null)?null:e.stateNode},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var uv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!uv.isDisabled&&uv.supportsFiber)try{eo=uv.inject({bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.1"}),ec=uv}catch(e){}}t.createRoot=function(e,t){if(!(a=e)||1!==a.nodeType&&9!==a.nodeType&&11!==a.nodeType)throw Error(i(299));var a,r,n,l,s,o,c,u,d,m=!1,p="",f=sl,h=ss,x=si,g=null;return null!=t&&(!0===t.unstable_strictMode&&(m=!0),void 0!==t.identifierPrefix&&(p=t.identifierPrefix),void 0!==t.onUncaughtError&&(f=t.onUncaughtError),void 0!==t.onCaughtError&&(h=t.onCaughtError),void 0!==t.onRecoverableError&&(x=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&(g=t.unstable_transitionCallbacks)),r=e,n=1,l=!1,s=null,o=0,c=m,u=0,d=null,r=new cK(r,n,l,p,f,h,x,null),n=1,!0===c&&(n|=24),c=a7(3,null,null,n),r.current=c,c.stateNode=r,n=rG(),n.refCount++,r.pooledCache=n,n.refCount++,c.memoizedState={element:null,isDehydrated:l,cache:n},no(c),t=r,e[eD]=t.current,oZ(e),new ug(t)}},287:function(e,t,a){var r=a(198);function n(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var s={d:{f:l,r:function(){throw Error(n(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},i=Symbol.for("react.portal"),o=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,t.createPortal=function(e,t){var a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(n(299));return function(e,t,a){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:i,key:null==r?null:""+r,children:e,containerInfo:t,implementation:a}}(e,t,null,a)},t.flushSync=function(e){var t=o.T,a=s.p;try{if(o.T=null,s.p=2,e)return e()}finally{o.T=t,s.p=a,s.d.f()}},t.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,s.d.C(e,t))},t.prefetchDNS=function(e){"string"==typeof e&&s.d.D(e)},t.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var a=t.as,r=c(a,t.crossOrigin),n="string"==typeof t.integrity?t.integrity:void 0,l="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===a?s.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:n,fetchPriority:l}):"script"===a&&s.d.X(e,{crossOrigin:r,integrity:n,fetchPriority:l,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},t.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var a=c(t.as,t.crossOrigin);s.d.M(e,{crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&s.d.M(e)},t.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var a=t.as,r=c(a,t.crossOrigin);s.d.L(e,a,{crossOrigin:r,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"str
1ing"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},t.preloadModule=function(e,t){if("string"==typeof e)if(t){var a=c(t.as,t.crossOrigin);s.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else s.d.m(e)},t.requestFormReset=function(e){s.d.r(e)},t.unstable_batchedUpdates=function(e,t){return e(t)},t.useFormState=function(e,t,a){return o.H.useFormState(e,t,a)},t.useFormStatus=function(){return o.H.useHostTransitionStatus()},t.version="19.1.1"},528:function(e,t,a){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=a(645)},935:function(e,t,a){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=a(287)},668:function(e,t){var a=Symbol.for("react.transitional.element");function r(e,t,r){var n=null;if(void 0!==r&&(n=""+r),void 0!==t.key&&(n=""+t.key),"key"in t)for(var l in r={},t)"key"!==l&&(r[l]=t[l]);else r=t;return{$$typeof:a,type:e,key:n,ref:void 0!==(t=r.ref)?t:null,props:r}}t.Fragment=Symbol.for("react.fragment"),t.jsx=r,t.jsxs=r},175:function(e,t){var a=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),o=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.iterator,f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,x={};function g(e,t,a){this.props=e,this.context=t,this.refs=x,this.updater=a||f}function b(){}function y(e,t,a){this.props=e,this.context=t,this.refs=x,this.updater=a||f}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=g.prototype;var v=y.prototype=new b;v.constructor=y,h(v,g.prototype),v.isPureReactComponent=!0;var j=Array.isArray,w={H:null,A:null,T:null,S:null,V:null},N=Object.prototype.hasOwnProperty;function k(e,t,r,n,l,s){return{$$typeof:a,type:e,key:t,ref:void 0!==(r=s.ref)?r:null,props:s}}function S(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var C=/\/+/g;function E(e,t){var a,r;return"object"==typeof e&&null!==e&&null!=e.key?(a=""+e.key,r={"=":"=0",":":"=2"},"$"+a.replace(/[=:]/g,function(e){return r[e]})):t.toString(36)}function P(){}function M(e,t,n){if(null==e)return e;var l=[],s=0;return!function e(t,n,l,s,i){var o,c,u,d=typeof t;("undefined"===d||"boolean"===d)&&(t=null);var f=!1;if(null===t)f=!0;else switch(d){case"bigint":case"string":case"number":f=!0;break;case"object":switch(t.$$typeof){case a:case r:f=!0;break;case m:return e((f=t._init)(t._payload),n,l,s,i)}}if(f)return i=i(t),f=""===s?"."+E(t,0):s,j(i)?(l="",null!=f&&(l=f.replace(C,"$&/")+"/"),e(i,n,l,"",function(e){return e})):null!=i&&(S(i)&&(o=i,c=l+(null==i.key||t&&t.key===i.key?"":(""+i.key).replace(C,"$&/")+"/")+f,i=k(o.type,c,void 0,void 0,void 0,o.props)),n.push(i)),1;f=0;var h=""===s?".":s+":";if(j(t))for(var x=0;x<t.length;x++)d=h+E(s=t[x],x),f+=e(s,n,l,d,i);else if("function"==typeof(x=null===(u=t)||"object"!=typeof u?null:"function"==typeof(u=p&&u[p]||u["@@iterator"])?u:null))for(t=x.call(t),x=0;!(s=t.next()).done;)d=h+E(s=s.value,x++),f+=e(s,n,l,d,i);else if("object"===d){if("function"==typeof t.then)return e(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(P,P):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),n,l,s,i);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===(n=String(t))?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return f}(e,l,"","",function(e){return t.call(n,e,s++)}),l}function T(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function L(){}
1t.Children={map:M,forEach:function(e,t,a){M(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=n,t.Profiler=s,t.PureComponent=y,t.StrictMode=l,t.Suspense=u,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,t.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cloneElement=function(e,t,a){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var r=h({},e.props),n=e.key,l=void 0;if(null!=t)for(s in void 0!==t.ref&&(l=void 0),void 0!==t.key&&(n=""+t.key),t)N.call(t,s)&&"key"!==s&&"__self"!==s&&"__source"!==s&&("ref"!==s||void 0!==t.ref)&&(r[s]=t[s]);var s=arguments.length-2;if(1===s)r.children=a;else if(1<s){for(var i=Array(s),o=0;o<s;o++)i[o]=arguments[o+2];r.children=i}return k(e.type,n,void 0,void 0,l,r)},t.createContext=function(e){return(e={$$typeof:o,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:i,_context:e},e},t.createElement=function(e,t,a){var r,n={},l=null;if(null!=t)for(r in void 0!==t.key&&(l=""+t.key),t)N.call(t,r)&&"key"!==r&&"__self"!==r&&"__source"!==r&&(n[r]=t[r]);var s=arguments.length-2;if(1===s)n.children=a;else if(1<s){for(var i=Array(s),o=0;o<s;o++)i[o]=arguments[o+2];n.children=i}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===n[r]&&(n[r]=s[r]);return k(e,l,void 0,void 0,null,n)},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=S,t.lazy=function(e){return{$$typeof:m,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=w.T,a={};w.T=a;try{var r=e(),n=w.S;null!==n&&n(a,r),"object"==typeof r&&null!==r&&"function"==typeof r.then&&r.then(L,D)}catch(e){D(e)}finally{w.T=t}},t.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},t.use=function(e){return w.H.use(e)},t.useActionState=function(e,t,a){return w.H.useActionState(e,t,a)},t.useCallback=function(e,t){return w.H.useCallback(e,t)},t.useContext=function(e){return w.H.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},t.useEffect=function(e,t,a){var r=w.H;if("function"==typeof a)throw Error("useEffect CRUD overload is not enabled in this build of React.");return r.useEffect(e,t)},t.useId=function(){return w.H.useId()},t.useImperativeHandle=function(e,t,a){return w.H.useImperativeHandle(e,t,a)},t.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},t.useMemo=function(e,t){return w.H.useMemo(e,t)},t.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},t.useReducer=function(e,t,a){return w.H.useReducer(e,t,a)},t.useRef=function(e){return w.H.useRef(e)},t.useState=function(e){return w.H.useState(e)},t.useSyncExternalStore=function(e,t,a){return w.H.useSyncExternalStore(e,t,a)},t.useTransition=function(){return w.H.useTransition()},t.version="19.1.1"},198:function(e,t,a){e.exports=a(175)},670:function(e,t,a){e.exports=a(668)},903:function(e,t){function a(e,t){var a=e.length;for(e.push(t);0<a;){var r=a-1>>>1,n=e[r];if(0<l(n,t))e[r]=t,e[a]=n,a=r;else break}}function r(e){return 0===e.length?null:e[0]}function n(e){if(0===e.length)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;for(var r=0,n=e.length,s=n>>>1;r<s;){var i=2*(r+1)-1,o=e[i],c=i+1,u=e[c];if(0>l(o,a))c<n&&0>l(u,o)?(e[r]=u,e[c]=a,r=c):(e[r]=o,e[i]=a,r=i);else if(c<n&&0>l(u,a))e[r]=u,e[c]=a,r=c;else break}}return t}function l(e,t){var a=e.sortIndex-t.sortIndex;return 0!==a?a:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var s,i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,c=o.now();t.unstable_now=function(){return o.now()-c}}var u=[],d=[],m=1,p=null,f=3,h=!1,x=!1,g=!1,b=!1,y="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,j="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(d);null!==t;){if(null===t.callback)n(d);else if(t.startTime<=e)n(d),t.sortIndex=t.expirationTime,a(u,t);else break;t=r(d)}}
1function N(e){if(g=!1,w(e),!x)if(null!==r(u))x=!0,k||(k=!0,s());else{var t=r(d);null!==t&&L(N,t.startTime-e)}}var k=!1,S=-1,C=5,E=-1;function P(){return!!b||!(t.unstable_now()-E<C)}function M(){if(b=!1,k){var e=t.unstable_now();E=e;var a=!0;try{e:{x=!1,g&&(g=!1,v(S),S=-1),h=!0;var l=f;try{t:{for(w(e),p=r(u);null!==p&&!(p.expirationTime>e&&P());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var o=i(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof o){p.callback=o,w(e),a=!0;break t}p===r(u)&&n(u),w(e)}else n(u);p=r(u)}if(null!==p)a=!0;else{var c=r(d);null!==c&&L(N,c.startTime-e),a=!1}}break e}finally{p=null,f=l,h=!1}}}finally{a?s():k=!1}}}if("function"==typeof j)s=function(){j(M)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,D=T.port2;T.port1.onmessage=M,s=function(){D.postMessage(null)}}else s=function(){y(M,0)};function L(e,a){S=y(function(){e(t.unstable_now())},a)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var a=f;f=t;try{return e()}finally{f=a}},t.unstable_requestPaint=function(){b=!0},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=f;f=e;try{return t()}finally{f=a}},t.unstable_scheduleCallback=function(e,n,l){var i=t.unstable_now();switch(l="object"==typeof l&&null!==l&&"number"==typeof(l=l.delay)&&0<l?i+l:i,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=0x3fffffff;break;case 4:o=1e4;break;default:o=5e3}return o=l+o,e={id:m++,callback:n,priorityLevel:e,startTime:l,expirationTime:o,sortIndex:-1},l>i?(e.sortIndex=l,a(d,e),null===r(u)&&e===r(d)&&(g?(v(S),S=-1):g=!0,L(N,l-i))):(e.sortIndex=o,a(u,e),x||h||(x=!0,k||(k=!0,s()))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=f;return function(){var a=f;f=t;try{return e.apply(this,arguments)}finally{f=a}}}},708:function(e,t,a){e.exports=a(903)},117:function(e,t,a){e.exports={}}},t={};function a(r){var n=t[r];if(void 0!==n)return n.exports;var l=t[r]={exports:{}};return e[r](l,l.exports,a),l.exports}a.m=e,a.k=e=>""+e+".css",a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.p="./",a.rv=()=>"1.5.1",a.ruid="[email protected]",(()=>{var e=a(670),t=a(198),r=a(528);a(117);let n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,a)=>a?a.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},l=(...e)=>e.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim();var s={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"};let i=(0,t.forwardRef)(({color:e="currentColor",size:a=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:i="",children:o,iconNode:c,...u},d)=>(0,t.createElement)("svg",{ref:d,...s,width:a,height:a,stroke:e,strokeWidth:n?24*Number(r)/Number(a):r,className:l("lucide",i),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(u)&&{"aria-hidden":"true"},...u},[...c.map(([e,a])=>(0,t.createElement)(e,a)),...Array.isArray(o)?o:[o]])),o=(e,a)=>{let r=(0,t.forwardRef)(({className:r,...s},o)=>(0,t.createElement)(i,{ref:o,iconNode:a,className:l(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...s}));return r.displayName=n(e),r},c=o("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]),u=o("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),d=o("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
1y:"oel41y"}]]),m=o("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]),p=o("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),f=o("menu",[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]]),h=({onOurWorkClick:a,onRentalClick:r,onServicesClick:n,onHomeClick:l,onQuoteModalOpen:s,onAdminClick:i})=>{let[o,h]=(0,t.useState)(!1),x=()=>{a(),h(!1)},g=()=>{r(),h(!1)},b=()=>{n(),h(!1)},y=()=>{l(),h(!1)},v=()=>{s(),h(!1)},j=()=>{i(),h(!1)};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{className:"bg-gradient-to-r from-emerald-800 to-green-700 text-white py-2 px-4 hover:from-emerald-900 hover:to-green-800 transition-all duration-300",children:(0,e.jsxs)("div",{className:"max-w-7xl mx-auto flex flex-col sm:flex-row justify-between items-center text-sm",children:[(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row items-center gap-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 hover:scale-105 transition-transform duration-300 cursor-pointer",children:[(0,e.jsx)(c,{className:"w-4 h-4"}),(0,e.jsx)("span",{children:"UAE: +971 4 123 4567"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2 hover:scale-105 transition-transform duration-300 cursor-pointer",children:[(0,e.jsx)(c,{className:"w-4 h-4"}),(0,e.jsx)("span",{children:"Morocco: +212 5 123 4567"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2 hover:scale-105 transition-transform duration-300 cursor-pointer",children:[(0,e.jsx)(u,{className:"w-4 h-4"}),(0,e.jsx)("span",{children:"[email protected]"})]})]}),(0,e.jsxs)("div",{className:"flex items-center gap-4",children:[(0,e.jsx)("div",{className:"text-sm font-medium hover:scale-105 transition-transform duration-300 cursor-default",children:"Exhibition & Event Solutions | UAE & Morocco"}),(0,e.jsxs)("button",{onClick:j,className:"flex items-center gap-1 text-white/80 hover:text-white transition-colors duration-300 text-xs",title:"Admin Access",children:[(0,e.jsx)(d,{className:"w-3 h-3"}),"Admin"]})]})]})}),(0,e.jsx)("header",{className:"bg-white shadow-sm sticky top-0 z-50",children:(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,e.jsxs)("div",{className:"flex justify-between items-center h-16",children:[(0,e.jsxs)("div",{className:"flex items-center hover:scale-105 transition-transform duration-300 cursor-pointer",onClick:y,children:[(0,e.jsx)("div",{className:"w-8 h-8 bg-gradient-to-br from-emerald-700 to-green-600 rounded flex items-center justify-center mr-3 hover:from-emerald-800 hover:to-green-700 transition-colors duration-300",children:(0,e.jsx)(m,{className:"w-5 h-5 text-white"})}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h1",{className:"text-xl font-bold bg-gradient-to-r from-emerald-700 to-green-600 bg-clip-text text-transparent",children:"evention"}),(0,e.jsx)("p",{className:"text-xs text-gray-600",children:"Exhibition & Event Solutions"})]})]}),(0,e.jsxs)("nav",{className:"hidden md:flex space-x-8",children:[(0,e.jsx)("button",{onClick:y,className:"text-emerald-700 hover:text-emerald-800 hover:scale-110 transition-all duration-300 font-medium relative after:absolute after:bottom-0 after:left-0 after:w-0 after:h-0.5 after:bg-emerald-700 hover:after:w-full after:transition-all after:duration-300",children:"Home"}),(0,e.jsx)("button",{onClick:b,className:"text-gray-700 hover:text-emerald-700 hover:scale-110 transition-all duration-300 font-medium relative after:absolute after:bottom-0 after:left-0 after:w-0 after:h-0.5 after:bg-emerald-700 hover:after:w-full after:transition-all after:duration-300",children:"Services"}),(0,e.jsx)("button",{onClick:x,className:"text-gray-700 hover:text-emerald-700 hover:scale-110 transition-all duration-300 font-medium relative after:absolute after:bottom-0 after:left-0 after:w-0 after:h-0.5 after:bg-emerald-700 hover:after:w-full after:transition-all after:duration-300",children:"Our Work"}),(0,e.jsx)("button",{onClick:g,className:"text-gray-700 hover:text-emerald-700 hover:scale-110 transition-all duration-300 font-medium relative after:absolute after:bottom-0 after:left-0 after:w-0 after:h-0.5 after:bg-emerald-700 hover:after:w-full after:transition-all after:duration-300",children:"Rental Catalogue"})]}),(0,e.jsxs)("div",{className:"hidden lg:flex items-center space-x-3",children:[(0,e.jsx)("button",{onClick:x,className:"bg-white text-emerald-700 border-2 border-emerald-700 px-4 py-2 rounded font-bold hover:bg-emerald-50 hover:border-emerald-800 hover:text-emerald-800 hover:scale-105 hover:shadow-lg transition-all duration-300 transform active:scale-95",children:"View Portfolio"}),(0,e.jsx)("button",{onClick:v,className:"bg-gradient-to-r from-orange-500 to-orange-600 text-white px-4 py-2 rounded font-bold hover:shadow-lg hover:from-orange-600 hover:to-orange-700 hover:scale-105 transition-all duration-300 transform active:scale-95",children:"Request Quote"})]}),(0,e.jsx)("div",{className:"md:hidden",children:(0,e.jsx)("button",{onClick:()=>h(!o),className:"text-gray-700 hover:text-emerald-700 hover:scale-110 transition-all duration-300",children:o?(0,e.jsx)(p,{className:"w-6 h-6"}):(0,e.jsx)(f,{className:"w-6 h-6"})})})]}),o&&(0,e.jsx)("div",{className:"md:hidden",children:(0,e.jsxs)("div",{className:"px-2 pt-2 pb-3 space-y-1 bg-white border-t",children:[(0,e.jsx)("button",{onClick:y,className:"block w-full text-left px-3 py-2 text-emerald-700 hover:bg-emerald-50 hover:scale-105 rounded-md transition-all duration-300",children:"Home"}),(0,e.jsx)("button",{onClick:b,className:"block w-full text-left px-3 py-2 text-gray-700 hover:text-emerald-700 hover:bg-gray-50 hover:scale-105 rounded-md transition-all duration-300",children:"Services"}),(0,e.jsx)("button",{onClick:x,className:"block w-full text-left px-3 py-2 text-gray-700 hover:text-emerald-700 hover:bg-gray-50 hover:scale-105 rounded-md transition-all duration-300",children:"Our Work"}),(0,e.jsx)("button",{onClick:g,className:"block w-full text-left px-3 py-2 text-gray-700 hover:text-emerald-700 hover:bg-gray-50 hover:scale-105 rounded-md transition-all duration-300",children:"Rental Catalogue"}),(0,e.jsxs)("button",{onClick:j,className:"block w-full text-left px-3 py-2 text-gray-700 hover:text-emerald-700 hover:bg-gray-50 hover:scale-105 rounded-md transition-all duration-300 flex items-center gap-2",children:[(0,e.jsx)(d,{className:"w-4 h-4"}),"Admin Panel"]}),(0,e.jsxs)("div",{className:"px-3 py-2 space-y-2",children:[(0,e.jsx)("button",{onClick:x,className:"w-full bg-white text-emerald-700 border-2 border-emerald-700 px-4 py-2 rounded font-bold hover:bg-emerald-50 hover:border-emerald-800 hover:text-emerald-800 hover:scale-105 transition-all duration-300 transform active:scale-95",children:"View Portfolio"}),(0,e.jsx)("button",{onClick:v,className:"w-full bg-gradient-to-r from-orange-500 to-orange-600 text-white px-4 py-2 rounded font-bold hover:shadow-lg hover:from-orange-600 hover:to-orange-700 hover:scale-105 transition-all duration-300 transform active:scale-95",children:"Request Quote"})]})]})})]})})]})},x=o("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),g=o("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]),b=o("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),y=()=>(0,e.jsx)("section",{id:"home",className:"bg-gradient-to-br from-emerald-50 via-green-50 to-orange-50 py-24",children:(0,e.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,e.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-start",children:[(0,e.jsxs)("div",{className:"space-y-8",children:[(0,e.jsxs)("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-gray-900 leading-tight",children:["Exhibition & Event Solutions,"," ",(0,e.jsx)("span",{className:"bg-gradient-to-r from-emerald-700 to-green-600 bg-clip-text text-transparent",children:"Built In-House"})]}),(0,e.jsx)("p",{className:"text-xl text-gray-600 leading-relaxed",children:"Turnkey exhibition stands, rentals, and event services in UAE & Morocco."}),(0,e.jsxs)("div",{className:"flex flex-wrap gap-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 bg-emerald-50 text-emerald-700 px-4 py-2 rounded-full hover:bg-emerald-100 hover:scale-105 transition-all duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-4 h-4"}),(0,e.jsx)("span",{className:"text-sm font-medium",children:"4+ Years in Business"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2 bg-emerald-50 text-emerald-700 px-4 py-2 rounded-full hover:bg-emerald-100 hover:scale-105 transition-all duration-300 cursor-default",children:[(0,e.jsx)(g,{className:"w-4 h-4"}),(0,e.jsx)("span",{className:"text-sm font-medium",children:"20+ In-House Experts"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2 bg-emerald-50 text-emerald-700 px-4 py-2 rounded-full hover:bg-emerald-100 hover:scale-105 transition-all duration-300 cursor-default",children:[(0,e.jsx)(b,{className:"w-4 h-4"}),(0,e.jsx)("span",{className:"text-sm font-medium",children:"UAE & Morocco Presence"})]})]}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4",children:[(0,e.jsx)("button",{onClick:()=>(e=>{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth"})})("contact"),className:"bg-gradient-to-r from-orange-500 to-orange-600 text-white px-8 py-4 rounded-lg font-bold text-lg hover:shadow-2xl hover:scale-105 hover:from-orange-600 hover:to-orange-700 transition-all duration-300 transform active:scale-95",children:"Request a Quote"}),(0,e.jsx)("button",{onClick:()=>{let e=new CustomEvent("navigateToOurWork");window.dispatchEvent(e)},className:"bg-white text-emerald-700 border-2 border-emerald-700 px-8 py-4 rounded-lg font-bold text-lg hover:bg-emerald-50 hover:border-emerald-800 hover:text-emerald-800 hover:scale-105 transition-all duration-300 transform active:scale-95",children:"View Portfolio"})]}),(0,e.jsxs)("div",{className:"grid grid-cols-3 gap-6 pt-8 border-t border-gray-200",children:[(0,e.jsx)("div",{className:"text-center hover:scale-105 transition-transform duration-300 cursor-default",children:(0,e.jsxs)("div",{className:"flex items-center justify-center gap-2 mb-2",children:[(0,e.jsx)(b,{className:"w-5 h-5 text-emerald-700"}),(0,e.jsx)("span",{className:"text-sm text-gray-600",children:"UAE & Morocco Operations"})]})}),(0,e.jsx)("div",{className:"text-center hover:scale-105 transition-transform duration-300 cursor-default",children:(0,e.jsxs)("div",{className:"flex items-center justify-center gap-2 mb-2",children:[(0,e.jsx)(g,{className:"w-5 h-5 text-emerald-700"}),(0,e.jsx)("span",{className:"text-sm text-gray-600",children:"20+ In-House Experts"})]})}),(0,e.jsx)("div",{className:"text-center hover:scale-105 transition-transform duration-300 cursor-default",children:(0,e.jsxs)("div",{className:"flex items-center justify-center gap-2 mb-2",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-emerald-700"}),(0,e.jsx)("span",{className:"text-sm text-gray-600",children:"Turnkey Solutions"})]})})]})]}),(0,e.jsx)("div",{className:"space-y-8",children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("div",{className:"relative bg-gradient-to-br from-emerald-600 via-green-600 to-orange-500 rounded-3xl p-1 shadow-2xl hover:shadow-3xl hover:scale-105 transition-all duration-500",children:(0,e.jsxs)("div",{className:"bg-white rounded-3xl p-8 relative overflow-hidden",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-8 relative z-10",children:[(0,e.jsx)("h3",{className:"text-xl font-semibold text-gray-900",children:"Our Capabilities"}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("div",{className:"w-3 h-3 bg-green-500 rounded-full animate-pulse"}),(0,e.jsx)("span",{className:"text-sm text-gray-600",children:"In-House Production"})]})]}),(0,e.jsxs)("div",{className:"absolute top-6 right-6 text-right hover:scale-110 transition-transform duration-300 cursor-default z-10",children:[(0,e.jsx)("div",{className:"text-4xl font-bold text-green-500",children:"100%"}),(0,e.jsx)("div",{className:"text-sm text-gray-600 font-medium",children:"In-House"})]}),(0,e.jsxs)("div",{className:"space-y-8 mt-4 relative z-10",children:[(0,e.jsxs)("div",{className:"bg-emerald-50 rounded-2xl p-6 hover:bg-emerald-100 hover:scale-105 transition-all duration-300 cursor-default relative overflow-hidden group",children:[(0,e.jsx)("div",{className:"absolute inset-0 opacity-0 group-hover:opacity-10 transition-opacity duration-500",children:(0,e.jsx)("img",{src:"https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",alt:"Exhibition Stand",className:"w-full h-full object-cover rounded-2xl"})}),(0,e.jsxs)("div",{className:"relative z-10",children:[(0,e.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-semibold text-gray-900 text-lg",children:"Exhibition Stands"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Design & Build"})]}),(0,e.jsx)("div",{className:"text-4xl font-bold text-emerald-700",children:"95%"})]}),(0,e.jsx)("div",{className:"w-full bg-emerald-200 rounded-full h-3",children:(0,e.jsx)("div",{className:"bg-emerald-700 h-3 rounded-full hover:bg-emerald-800 transition-colors duration-300",style:{width:"95%"}})})]})]}),(0,e.jsxs)("div",{className:"bg-green-50 rounded-2xl p-6 hover:bg-green-100 hover:scale-105 transition-all duration-300 cursor-default relative overflow-hidden group",children:[(0,e.jsx)("div",{className:"absolute inset-0 opacity-0 group-hover:opacity-10 transition-opacity duration-500",children:(0,e.jsx)("img",{src:"https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",alt:"Custom Furniture",className:"w-full h-full object-cover rounded-2xl"})}),(0,e.jsxs)("div",{className:"relative z-10",children:[(0,e.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-semibold text-gray-900 text-lg",children:"Custom Carpe
1ntry"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Furniture & Fabrication"})]}),(0,e.jsx)("div",{className:"text-4xl font-bold text-green-700",children:"90%"})]}),(0,e.jsx)("div",{className:"w-full bg-green-200 rounded-full h-3",children:(0,e.jsx)("div",{className:"bg-green-700 h-3 rounded-full hover:bg-green-800 transition-colors duration-300",style:{width:"90%"}})})]})]}),(0,e.jsxs)("div",{className:"bg-orange-50 rounded-2xl p-6 hover:bg-orange-100 hover:scale-105 transition-all duration-300 cursor-default relative overflow-hidden group",children:[(0,e.jsx)("div",{className:"absolute inset-0 opacity-0 group-hover:opacity-10 transition-opacity duration-500",children:(0,e.jsx)("img",{src:"https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",alt:"Printing Services",className:"w-full h-full object-cover rounded-2xl"})}),(0,e.jsxs)("div",{className:"relative z-10",children:[(0,e.jsxs)("div",{className:"flex justify-between items-center mb-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-semibold text-gray-900 text-lg",children:"Printing & CNC"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Large Format & UV"})]}),(0,e.jsx)("div",{className:"text-4xl font-bold text-orange-600",children:"98%"})]}),(0,e.jsx)("div",{className:"w-full bg-orange-200 rounded-full h-3",children:(0,e.jsx)("div",{className:"bg-orange-600 h-3 rounded-full hover:bg-orange-700 transition-colors duration-300",style:{width:"98%"}})})]})]})]})]})}),(0,e.jsx)("div",{className:"absolute -bottom-6 -left-6 bg-white rounded-xl shadow-lg p-4 border border-gray-100 hover:shadow-xl hover:scale-110 transition-all duration-300 cursor-default",children:(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(b,{className:"w-5 h-5 text-emerald-700"}),(0,e.jsx)("div",{children:(0,e.jsx)("div",{className:"font-semibold text-gray-900",children:"UAE & Morocco"})})]})}),(0,e.jsx)("div",{className:"absolute -bottom-6 left-20 bg-white rounded-xl shadow-lg p-4 border border-gray-100 hover:shadow-xl hover:scale-110 transition-all duration-300 cursor-default",children:(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(g,{className:"w-5 h-5 text-emerald-700"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"text-2xl font-bold text-emerald-700",children:"20+"}),(0,e.jsx)("div",{className:"text-sm text-gray-600",children:"Team Members"})]})]})})]})})]})})}),v=o("building-2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]),j=o("sofa",[["path",{d:"M20 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v3",key:"1dgpiv"}],["path",{d:"M2 16a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"xacw8m"}],["path",{d:"M4 18v2",key:"jwo5n2"}],["path",{d:"M20 18v2",key:"1ar1qi"}],["path",{d:"M12 4v9",key:"oqhhn3"}]]),w=o("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]]),N=o("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),k=o("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]),S=o("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]),C=o("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),E=()=>{let t=[{icon:v,title:"Exhibition Stand Design & Build",description:"Complete turnkey exhibition stands from concept to installation. Our in-house design team creates stunning, functional spaces that captivate your audience.",features:["3D Design & Visualization","Custom Build Solutions","On-site Installation","Project Management"],
1color:"emerald",image:"https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80"},{icon:m,title:"Events",description:"Complete event management and production services. From corporate conferences to product launches, we handle every detail to ensure your event is memorable.",features:["Event Planning & Coordination","Venue Setup & Management","Audio Visual Solutions","Complete Event Production"],color:"green",image:"https://images.unsplash.com/photo-1492684223066-81342ee5ff30?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80"},{icon:j,title:"Furniture and Plants",description:"Premium furniture rental and plant decoration services. Transform your space with our curated collection of high-quality furniture and lush greenery.",features:["Premium Furniture Rental","Plant & D\xe9cor Solutions","Custom Arrangements","Professional Installation"],color:"green",image:"https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80"},{icon:w,title:"Interior Design",description:"Professional interior design services for commercial and residential spaces. Our designers create functional and aesthetically pleasing environments.",features:["Space Planning & Design","Color & Material Selection","3D Visualization","Project Implementation"],color:"orange",image:"https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80"},{icon:g,title:"Hostess Services",description:"Professional hostess and promotional staff services. Our trained personnel ensure your events run smoothly and your guests receive exceptional service.",features:["Professional Hostess Staff","Event Reception Services","Promotional Personnel","Multilingual Support"],color:"orange",image:"https://images.unsplash.com/photo-1559223607-b4d0555ae227?ixlib=rb-4.0.3&auto=format&fit=crop&w=600&q=80"}];return(0,e.jsx)("section",{id:"services",className:"py-24 bg-white",children:(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,e.jsxs)("div",{className:"text-center mb-16",children:[(0,e.jsxs)("div",{className:"inline-flex items-center gap-2 bg-orange-50 text-orange-600 px-4 py-2 rounded-full mb-6 hover:bg-orange-100 hover:scale-105 transition-all duration-300 cursor-default",children:[(0,e.jsx)(v,{className:"w-4 h-4"}),(0,e.jsx)("span",{className:"text-sm font-medium",children:"Our Key Services"})]}),(0,e.jsxs)("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-6",children:["Complete"," ",(0,e.jsx)("span",{className:"bg-gradient-to-r from-emerald-700 to-green-600 bg-clip-text text-transparent",children:"Event Solutions"})]}),(0,e.jsx)("p",{className:"text-xl text-gray-600 max-w-4xl mx-auto",children:"From exhibition stands to complete event management, interior design to professional staffing - we provide comprehensive solutions for all your event and design needs."})]}),(0,e.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-16",children:t.map((t,a)=>{let r=t.icon;return(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg hover:shadow-2xl transition-all duration-500 transform hover:scale-105 hover:-translate-y-2 overflow-hidden border border-gray-100 group cursor-pointer",children:[(0,e.jsxs)("div",{className:"relative h-48 overflow-hidden",children:[(0,e.jsx)("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-500"}),(0,e.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),(0,e.jsx)("div",{className:`absolute top-4 left-4 w-12 h-12 ${{emerald:"bg-emerald-100 text-emerald-700 hover:bg-emerald-200",green:"bg-green-100 text-green-700 hover:bg-green-200",orange:"bg-orange-100 text-orange-600 hover:bg-orange-200"}[t.color]} rounded-xl flex items-center justify-center transition-all duration-300 group-hover:scale-110`,children:(0,e.jsx)(r,{className:"w-6 h-6"})})]}),(0,e.jsxs)("div",{className:"p-6",children:[(0,e.jsx)("h3",{className:"text-lg font-bold text-gray-900 mb-3 group-hover:text-emerald-700 transition-colors duration-300",children:t.title}),(0,e.jsx)("p",{className:"text-gray-600 mb-4 leading-relaxed text-sm",children:t.description}),(0,e.jsx)("ul",{className:"space-y-2 mb-4",children:t.features.map((t,a)=>(0,e.jsxs)("li",{className:"flex items-start gap-2 group-hover:scale-105 transition-transform duration-300",children:[(0,e.jsx)(x,{className:"w-4 h-4 text-green-500 mt-0.5 flex-shrink-0"}),(0,e.jsx)("span",{className:"text-gray-700 text-sm",children:t})]},a))}),(0,e.jsxs)("button",{className:"text-emerald-700 font-semibold hover:text-emerald-800 hover:scale-110 transition-all duration-300 flex items-center gap-2 group-hover:gap-4 text-sm",children:["Learn More",(0,e.jsx)(N,{className:"w-4 h-4 transition-all duration-300"})]})]})]},a)})}),(0,e.jsxs)("div",{className:"bg-gradient-to-r from-emerald-700 to-green-600 rounded-2xl p-8 mb-16 text-white hover:shadow-2xl transition-all duration-300",children:[(0,e.jsxs)("div",{className:"text-center mb-12",children:[(0,e.jsx)("h3",{className:"text-2xl md:text-3xl font-bold mb-4",children:"Recent Projects"}),(0,e.jsx)("p",{className:"text-white/90 text-lg max-w-3xl mx-auto",children:"Showcasing our latest successful projects across UAE & Morocco with exceptional results and client satisfaction"})]}),(0,e.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8",children:[{id:1,title:"Dubai Tech Summit 2024",client:"TechCorp Middle East",category:"Exhibition Stand",year:"2024",location:"Dubai World Trade Centre",image:"https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",description:"Modern tech exhibition stand with interactive displays and LED integration"},{id:2,title:"Emirates Luxury Hotel",client:"Emirates Hotels Group",category:"Interior Design",year:"2024",location:"Dubai Marina",image:"https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",description:"Luxury hotel interior design with custom furniture and elegant d\xe9cor"},{id:3,title:"ADNOC Energy Expo",client:"Abu Dhabi National Oil Company",category:"Events",year:"2023",location:"Abu Dhabi National Exhibition Centre",image:"https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",description:"Large-scale corporate event with complete production and hostess services"},{id:4,title:"Corporate Office Design",client:"Dubai Business Hub",category:"Furniture & Plants",year:"2023",location:"Dubai",image:"https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",description:"Modern office space with premium furniture and green plant installations"}].map(t=>(0,e.jsxs)("div",{className:"bg-white/10 backdrop-blur-sm rounded-xl overflow-hidden hover:bg-white/20 transition-all duration-300 hover:scale-105 group",children:[(0,e.jsxs)("div",{className:"relative h-32 overflow-hidden",children:[(0,e.jsx)("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-500"}),(0,e.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"}),(0,e.jsx)("div",{className:"absolute bottom-2 left-2",children:(0,e.jsx)("span",{className:"bg-white/20 backdrop-blur-sm text-white px-2 py-1 rounded-full text-xs font-medium",children:t.category})}),(0,e.jsx)("div",{className:"absolute top-2 right-2",children:(0,e.jsx)("span",{className:"bg-orange-600 text-white px-2 py-1 rounded-full text-xs font-bold",children:t.year})})]}),(0,e.jsxs)("div",{className:"p-4",children:[(0,e.jsx)("h4",{className:"font-semibold text-white mb-1 text-sm group-hover:text-yellow-300 transition-colors duration-300",children:t.title}),(0,e.jsx)("p",{className:"text-white/80 text-xs mb-2",children:t.client}),(0,e.jsxs)("div",{className:"flex items-center gap-1 text-white/70 text-xs mb-2",children:[(0,e.jsx)(b,{className:"w-3 h-3"}),(0,e.jsx)("span",{children:t.location})]}),(0,e.jsx)("p",{className:"text-white/70 text-xs leading-relaxed",children:t.description})]})]},t.id))}),(0,e.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8 text-center",children:[(0,e.jsxs)("div",{className:"group hover:scale-110 transition-transform duration-300",children:[(0,e.jsx)(k,{className:"w-8 h-8 mx-auto mb-3 opacity-90 group-hover:opacity-100"}),(0,e.jsx)("div",{className:"text-3xl md:text-4xl font-bold mb-2",children:"100+"}),(0,e.jsx)("p",{className:"text-sm font-medium mb-1",children:"Projects Completed"}),(0,e.jsx)("p",{className:"text-xs opacity-75 text-center",children:"Successfully delivered across UAE & Morocco"})]}),(0,e.jsxs)("div",{className:"group hover:scale-110 transition-transform duration-300",children:[(0,e.jsx)(S,{className:"w-8 h-8 mx-auto mb-3 opacity-90 group-hover:opacity-100"}),(0,e.jsx)("div",{className:"text-3xl md:text-4xl font-bold mb-2",children:"98%"}),(0,e.jsx)("p",{className:"text-sm font-medium mb-1",children:"Client Satisfaction"}),(0,e.jsx)("p",{className:"text-xs opacity-75 text-center",children:"Based on post-project surveys"})]}),(0,e.jsxs)("div",{className:"group hover:scale-110 transition-transform duration-300",children:[(0,e.jsx)(v,{className:"w-8 h-8 mx-auto mb-3 opacity-90 group-hover:opacity-100"}),(0,e.jsx)("div",{className:"text-3xl md:text-4xl font-bold mb-2",children:"50+"}),(0,e.jsx)("p",{className:"text-sm font-medium mb-1",children:"Trusted Partners"}),(0,e.jsx)("p",{className:"text-xs opacity-75 text-center",children:"Long-term client relationships"})]}),(0,e.jsxs)("div",{className:"group hover:scale-110 transition-transform duration-300",children:[(0,e.jsx)(m,{className:"w-8 h-8 mx-auto mb-3 opacity-90 group-hover:opacity-100"}),(0,e.jsx)("div",{className:"text-3xl md:text-4xl font-bold mb-2",children:"4"}),(0,e.jsx)("p",{className:"text-sm font-medium mb-1",children:"Years of Excellence"}),(0,e.jsx)("p",{className:"text-xs opacity-75 text-center",children:"Consistent quality since 2020"})]})]}),(0,e.jsx)("div",{className:"text-center mt-8",children:(0,e.jsxs)("button",{onClick:()=>{let e=new CustomEvent("navigateToOurWork");window.dispatchEvent(e)},className:"bg-white/20 backdrop-blur-sm text-white border border-white/30 px-8 py-3 rounded-lg font-bold hover:bg-white/30 hover:scale-110 hover:shadow-lg transition-all duration-300 transform active:scale-95 flex items-center justify-center gap-2 mx-auto",children:[(0,e.jsx)(k,{className:"w-5 h-5"}),"View All Projects"]})})]}),(0,e.jsxs)("div",{className:"relative bg-gradient-to-r from-orange-500 to-orange-600 rounded-2xl p-8 text-center text-white hover:from-orange-600 hover:to-orange-700 hover:scale-105 hover:shadow-2xl transition-all duration-500 overflow-hidden",children:[(0,e.jsx)("div",{className:"absolute inset-0 opacity-10",children:(0,e.jsx)("img",{src:"https://images.unsplash.com/photo-1559223607-b4d0555ae227?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80",alt:"Backgroun
1d",className:"w-full h-full object-cover"})}),(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("h3",{className:"text-2xl md:text-3xl font-bold mb-4",children:"Ready to Bring Your Vision to Life?"}),(0,e.jsx)("p",{className:"text-lg mb-8 opacity-90 max-w-2xl mx-auto",children:"Get a free consultation with our experts. We'll discuss your project requirements and provide a detailed quote within 24 hours."}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 mb-8",children:[(0,e.jsxs)("div",{className:"flex items-center justify-center gap-2 hover:scale-110 transition-transform duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-green-300"}),(0,e.jsx)("span",{className:"text-sm",children:"Free consultation with experts"})]}),(0,e.jsxs)("div",{className:"flex items-center justify-center gap-2 hover:scale-110 transition-transform duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-green-300"}),(0,e.jsx)("span",{className:"text-sm",children:"Custom quote within 24 hours"})]}),(0,e.jsxs)("div",{className:"flex items-center justify-center gap-2 hover:scale-110 transition-transform duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-green-300"}),(0,e.jsx)("span",{className:"text-sm",children:"Complete project management"})]})]}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[(0,e.jsx)("button",{onClick:()=>{let e=document.getElementById("contact");e&&e.scrollIntoView({behavior:"smooth"})},className:"bg-white text-orange-600 px-8 py-3 rounded-lg font-bold hover:bg-gray-100 hover:scale-110 hover:shadow-lg transition-all duration-300 transform active:scale-95",children:"Request Custom Quote"}),(0,e.jsxs)("button",{className:"bg-white/20 backdrop-blur-sm text-white border border-white/30 px-8 py-3 rounded-lg font-bold hover:bg-white/30 hover:scale-110 hover:shadow-lg transition-all duration-300 transform active:scale-95 flex items-center justify-center gap-2",children:[(0,e.jsx)(C,{className:"w-5 h-5"}),"Download Company Profile"]})]})]})]})]})})},P=o("award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]),M=o("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]),T=()=>{let[a,r]=(0,t.useState)(0),n=[{name:"Emirates NBD",logo:"EMIRATES NBD",industry:"Banking & Finance",color:"from-blue-600 to-blue-700",textColor:"text-blue-700",bgColor:"bg-blue-50"},{name:"ADNOC",logo:"ADNOC",industry:"Oil & Gas",color:"from-green-600 to-green-700",textColor:"text-green-700",bgColor:"bg-green-50"},{name:"Etisalat",logo:"ETISALAT",industry:"Telecommunications",color:"from-purple-600 to-purple-700",textColor:"text-purple-700",bgColor:"bg-purple-50"},{name:"Dubai Municipality",logo:"DUBAI MUNICIPALITY",industry:"Government",color:"from-orange-600 to-orange-700",textColor:"text-orange-700",bgColor:"bg-orange-50"},{name:"DP World",logo:"DP WORLD",industry:"Logistics & Ports",color:"from-red-600 to-red-700",textColor:"text-red-700",bgColor:"bg-red-50"},{name:"Jumeirah Group",logo:"JUMEIRAH",industry:"Hospitality",color:"from-teal-600 to-teal-700",textColor:"text-teal-700",bgColor:"bg-teal-50"},{name:"Dubai Health Authority",logo:"DHA",industry:"Healthcare",color:"from-indigo-600 to-indigo-700",textColor:"text-indigo-700",bgColor:"bg-indigo-50"},{name:"TechCorp ME",logo:"TECHCORP",industry:"Technology",color:"from-cyan-600 to-cyan-700",textColor:"text-cyan-700",bgColor:"bg-cyan-50"}];(0,t.useEffect)(()=>{let e=setInterval(()=>{r(e=>(e+1)%n.length)},3e3);return()=>clearInterval(e)},[n.length]);let l=(()=>{let e=[];for(let t=0;t<3;t++){let r=(a+t)%n.length;e.push({...n[r],position:t})}return e})();return(0,e.jsx)("div",{className:"py-16 bg-gradient-to-br from-gray-50 via-white to-blue-50",children:(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,e.jsxs)("div",{className:"text-center mb-12",children:[(0,e.jsxs)("div",{className:"inline-flex items-center gap-2 bg-emerald-50 text-emerald-700 px-4 py-2 rounded-full mb-6 hover:bg-emerald-100 hover:scale-105 transition-all duration-300 cursor-default",children:[(0,e.jsx)(P,{className:"w-4 h-4"}),(0,e.jsx)("span",{className:"text-sm font-medium",children:"Trusted Partners"})]}),(0,e.jsxs)("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:["Proud to work with"," ",(0,e.jsx)("span",{className:"bg-gradient-to-r from-emerald-700 to-green-600 bg-clip-text text-transparent",children:"industry leaders"})]}),(0,e.jsx)("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Building lasting partnerships through exceptional service and outstanding results across the Middle East."})]}),(0,e.jsxs)("div",{className:"relative mb-12",children:[(0,e.jsx)("div",{className:"flex justify-center items-center gap-8 min-h-[200px]",children:l.map((t,r)=>(0,e.jsx)("div",{className:` 2 transition-all duration-700 ease-in-out transform 3 ${0===r?"scale-110 z-20":1===r?"scale-100 z-10":"scale-90 z-0"} 4 ${0===r?"opacity-100":"opacity-70"} 5 `,children:(0,e.jsxs)("div",{className:` 6 relative group cursor-pointer 7 ${0===r?"w-80 h-48":"w-64 h-40"} 8 transition-all duration-700 9 `,children:[(0,e.jsx)("div",{className:` 10 w-full h-full rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-500 11 bg-gradient-to-br ${t.color} p-1 12 group-hover:scale-105 13 `,children:(0,e.jsxs)("div",{className:"w-full h-full bg-white rounded-2xl p-6 flex flex-col justify-center items-center relative overflow-hidden",children:[(0,e.jsxs)("div",{className:"absolute inset-0 opacity-5",children:[(0,e.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-gray-900 to-transparent"}),(0,e.jsx)(v,{className:"absolute top-4 right-4 w-16 h-16 text-gray-400"})]}),(0,e.jsxs)("div",{className:"relative z-10 text-center",children:[(0,e.jsx)("div",{className:` 14 text-2xl md:text-3xl font-bold mb-2 15 bg-gradient-to-r ${t.color} bg-clip-text text-transparent 16 group-hover:scale-110 transition-transform duration-300 17 `,children:t.logo}),(0,e.jsx)("div",{className:` 18 text-sm font-medium ${t.textColor} opacity-80 19 group-hover:opacity-100 transition-opacity duration-300 20 `,children:t.industry}),0===r&&(0,e.jsx)("div",{className:"flex justify-center mt-3 gap-1",children:[void 0,void 0,void 0,void 0,void 0].map((t,a)=>(0,e.jsx)(S,{className:"w-4 h-4 text-yellow-400 fill-current"},a))})]}),(0,e.jsx)("div",{className:` 21 absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-300 22 bg-gradient-to-br ${t.color} bg-opacity-5 23 `})]})}),0===r&&(0,e.jsx)("div",{className:"absolute -top-3 -right-3 bg-yellow-500 text-white px-3 py-1 rounded-full text-xs font-bold shadow-lg animate-pulse",children:"Featured"})]})},`${t.name}-${a}`))}),(0,e.jsx)("div",{className:"flex justify-center mt-8 gap-2",children:n.map((t,n)=>(0,e.jsx)("button",{onClick:()=>r(n),className:` 24 w-3 h-3 rounded-full transition-all duration-300 25 ${n===a?"bg-emerald-600 scale-125":"bg-gray-300 hover:bg-gray-400"} 26 `},n))})]}),(0,e.jsx)("div",{className:"bg-gradient-to-r from-emerald-600 via-green-600 to-orange-500 rounded-2xl p-8 text-white",children:(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8 text-center",children:[(0,e.jsxs)("div",{className:"group hover:scale-110 transition-transform duration-300",children:[(0,e.jsx)("div",{className:"flex items-center justify-center mb-3",children:(0,e.jsx)(v,{className:"w-8 h-8 opacity-90 group-hover:opacity-100"})}),(0,e.jsx)("div",{className:"text-3xl md:text-4xl font-bold mb-2",children:"50+"}),(0,e.jsx)("p",{className:"text-sm font-medium mb-1",children:"Trusted Partners"}),(0,e.jsx)("p",{className:"text-xs opacity-75",children:"Long-term relationships"})]}),(0,e.jsxs)("div",{className:"group hover:scale-110 transition-transform duration-300",children:[(0,e.jsx)("div",{className:"flex items-center justify-center mb-3",children:(0,e.jsx)(S,{className:"w-8 h-8 opacity-90 group-hover:opacity-100"})}),(0,e.jsx)("div",{className:"text-3xl md:text-4xl font-bold mb-2",children:"98%"}),(0,e.jsx)("p",{className:"text-sm font-medium mb-1",children:"Client Satisfaction"}),(0,e.jsx)("p",{className:"text-xs opacity-75",children:"Based on project reviews"})]}),(0,e.jsxs)("div",{className:"group hover:scale-110 transition-transform duration-300",children:[(0,e.jsx)("div",{className:"flex items-center justify-center mb-3",children:(0,e.jsx)(M,{className:"w-8 h-8 opacity-90 group-hover:opacity-100"})}),(0,e.jsx)("div",{className:"text-3xl md:text-4xl font-bold mb-2",children:"100+"}),(0,e.jsx)("p",{className:"text-sm font-medium mb-1",children:"Projects Delivered"}),(0,e.jsx)("p",{className:"text-xs opacity-75",children:"Across UAE & Morocco"})]}),(0,e.jsxs)("div",{className:"group hover:scale-110 transition-transform duration-300",children:[(0,e.jsx)("div",{className:"flex items-center justify-center mb-3",children:(0,e.jsx)(P,{className:"w-8 h-8 opacity-90 group-hover:opacity-100"})}),(0,e.jsx)("div",{className:"text-3xl md:text-4xl font-bold mb-2",children:"4+"}),(0,e.jsx)("p",{className:"text-sm font-medium mb-1",children:"Years Excellence"}),(0,e.jsx)("p",{className:"text-xs opacity-75",children:"Consistent quality delivery"})]})]})}),(0,e.jsxs)("div",{className:"mt-16",children:[(0,e.jsx)("h3",{className:"text-xl font-bold text-gray-900 text-center mb-8",children:"All Our Valued Partners"}),(0,e.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 lg:grid-cols-8 gap-4",children:n.map((t,a)=>(0,e.jsx)("div",{className:` 27 ${t.bgColor} rounded-lg p-4 hover:shadow-md transition-all duration-300 28 flex items-center justify-center h-20 group cursor-pointer 29 hover:scale-105 hover:-translate-y-1 30 `,style:{animationDelay:`${100*a}ms`},children:(0,e.jsx)("span",{className:` 31 ${t.textColor} font-semibold text-xs text-center 32 group-hover:scale-110 transition-transform duration-300 33 `,children:t.name})},t.name))})]}),(0,e.jsx)("div",{className:"mt-16 text-center",children:(0,e.jsxs)("div",{className:"bg-gradient-to-r from-emerald-50 via-green-50 to-orange-50 rounded-2xl p-8",children:[(0,e.jsx)("h3",{className:"text-2xl md:text-3xl font-bold text-gray-900 mb-4",children:"Ready to Join Our Success Stories?"}),(0,e.jsx)("p",{className:"text-gray-600 mb-8 max-w-2xl mx-auto text-lg",children:"Let's discuss how we
33can bring your vision to life with the same dedication and excellence our partners have experienced."}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[(0,e.jsx)("button",{onClick:()=>{let e=document.getElementById("contact");e&&e.scrollIntoView({behavior:"smooth"})},className:"bg-gradient-to-r from-orange-500 to-orange-600 text-white px-8 py-4 rounded-lg font-bold text-lg hover:shadow-2xl hover:scale-105 hover:from-orange-600 hover:to-orange-700 transition-all duration-300 transform active:scale-95",children:"Start Your Project"}),(0,e.jsx)("button",{className:"bg-white text-emerald-700 border-2 border-emerald-700 px-8 py-4 rounded-lg font-bold text-lg hover:bg-emerald-50 hover:border-emerald-800 hover:text-emerald-800 hover:scale-105 transition-all duration-300 transform active:scale-95",children:"View Our Portfolio"})]})]})})]})})},D=()=>(0,e.jsx)("section",{id:"clients",className:"bg-white",children:(0,e.jsx)(T,{})}),L=o("message-square",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]),A=o("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]),z=()=>{let[a,r]=(0,t.useState)({fullName:"",company:"",email:"",phone:"",serviceType:"",eventDate:"",eventLocation:"",budgetRange:"",additionalMessage:""}),n=e=>{let{name:t,value:a}=e.target;r(e=>({...e,[t]:a}))};return(0,e.jsx)("section",{id:"contact",className:"py-24 bg-gradient-to-br from-emerald-600 via-green-600 to-orange-500",children:(0,e.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,e.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16 items-center",children:[(0,e.jsxs)("div",{className:"text-white space-y-8",children:[(0,e.jsxs)("div",{className:"inline-flex items-center gap-2 bg-white/20 backdrop-blur-sm text-white px-4 py-2 rounded-full hover:bg-white/30 hover:scale-105 transition-all duration-300 cursor-default",children:[(0,e.jsx)(L,{className:"w-4 h-4"}),(0,e.jsx)("span",{className:"text-sm font-medium",children:"Get Your Free Consultation"})]}),(0,e.jsxs)("h2",{className:"text-3xl md:text-4xl font-bold",children:["Ready to Bring Your"," ",(0,e.jsx)("span",{className:"text-yellow-300 hover:text-yellow-200 transition-colors duration-300",children:"Vision to Life?"})]}),(0,e.jsx)("p",{className:"text-lg opacity-90 leading-relaxed",children:"Get a free consultation with our in-house experts. We'll discuss your project requirements and provide a detailed quote within 24 hours."}),(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-3 hover:scale-105 transition-transform duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-green-300 flex-shrink-0"}),(0,e.jsx)("span",{children:"Free consultation with design experts"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3 hover:scale-105 transition-transform duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-green-300 flex-shrink-0"}),(0,e.jsx)("span",{children:"Custom quote within 24 hours"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3 hover:scale-105 transition-transform duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-green-300 flex-shrink-0"}),(0,e.jsx)("span",{children:"In-house production capabilities"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3 hover:scale-105 transition-transform duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-green-300 flex-shrink-0"}),(0,e.jsx)("span",{children:"Complete project management"})]})]}),(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-3 hover:scale-105 transition-transform duration-300 cursor-pointer",children:[(0,e.jsx)(c,{className:"w-5 h-5 text-white/80"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"font-semibold",children:"Call Us"}),(0,e.jsx)("div",{className:"text-white/80",children:"+971 4 123 4567"})]})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3 hover:scale-105 transition-transform duration-300 cursor-pointer",children:[(0,e.jsx)(u,{className:"w-5 h-5 text-white/80"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"font-semibold",children:"Email Us"}),(0,e.jsx)("div",{className:"text-white/80",children:"[email protected]"})]})]})]})]}),(0,e.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl p-8 hover:shadow-3xl hover:scale-105 transition-all duration-500",children:[(0,e.jsx)("h3",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Get Your Project Quote"}),(0,e.jsx)("p",{className:"text-gray-600 mb-8",children:"Fill out the form below and we'll get back to you within 24 hours with a detailed proposal"}),(0,e.jsxs)("form",{onSubmit:e=>{e.preventDefault(),console.log("Form submitted:",a),alert("Thank y
33ou for your inquiry! We'll get back to you within 24 hours with a detailed proposal.")},className:"space-y-6",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"fullName",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDC64"}),"Full Name *"]}),(0,e.jsx)("input",{type:"text",id:"fullName",name:"fullName",required:!0,value:a.fullName,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-transparent hover:border-emerald-300 transition-all duration-300",placeholder:"Your full name"})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"company",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83C\uDFE2"}),"Company"]}),(0,e.jsx)("input",{type:"text",id:"company",name:"company",value:a.company,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-transparent hover:border-emerald-300 transition-all duration-300",placeholder:"Your company name"})]})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"email",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"âï¸"}),"Email Address *"]}),(0,e.jsx)("input",{type:"email",id:"email",name:"email",required:!0,value:a.email,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-transparent hover:border-emerald-300 transition-all duration-300",placeholder:"[email protected]"})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"phone",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDCDE"}),"Phone Number *"]}),(0,e.jsx)("input",{type:"tel",id:"phone",name:"phone",required:!0,value:a.p
33hone,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-transparent hover:border-emerald-300 transition-all duration-300",placeholder:"+971 50 123 4567"})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"serviceType",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDEE0ï¸"}),"Service Type"]}),(0,e.jsxs)("select",{id:"serviceType",name:"serviceType",value:a.serviceType,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-transparent hover:border-emerald-300 transition-all duration-300",children:[(0,e.jsx)("option",{value:"",children:"Select a service"}),["Exhibition Stand Design & Build","Custom Carpentry & Furniture","Printing & Branding","Rental Services","Event Technicals","Complete Event Package"].map((t,a)=>(0,e.jsx)("option",{value:t,children:t},a))]})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"eventDate",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDCC5"}),"Event Date"]}),(0,e.jsx)("input",{type:"date",id:"eventDate",name:"eventDate",value:a.eventDate,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-transparent hover:border-emerald-300 transition-all duration-300"})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"eventLocation",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDCCD"}),"Event Location"]}),(0,e.jsx)("input",{type:"text",id:"eventLocation",name:"eventLocation",value:a.eventLocation,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-transparent hover:border-emerald-300 transition-all duration-300",placeholder:"Dubai, UAE"})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"budgetRange",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDCB0"}),"Budget Range"]}),(0,e.jsxs)("select",{id:"budgetRange",name:"budgetRange",value:a.budgetRange,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-transparent hover:border-emerald-300 transition-all duration-300",children:[(0,e.jsx)("option",{value:"",children:"Select budget range"}),["Under AED 10,000","AED 10,000 - 25,000","AED 25,000 - 50,000","AED 50,000 - 100,000","Over AED 100,000"].map((t,a)=>(0,e.jsx)("option",{value:t,children:t},a))]})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"additionalMessage",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDCAC"}),"Additional Message"]}),(0,e.jsx)("textarea",{id:"additionalMessage",name:"additionalMessage",rows:4,value:a.additionalMessage,onChange:n,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-transparent hover:border-emerald-300 transition-all duration-300 resize-none",placeholder:"Tell us more about your project requirements, expected number of attendees, venue preferences, and any specific needs..."})]}),(0,e.jsxs)("button",{type:"submit",className:"w-full bg-gradient-to-r from-orange-500 to-orange-600 text-white px-8 py-4 rounded-lg font-bold text-lg hover:shadow-2xl hover:scale-105 hover:from-orange-600 hover:to-orange-700 transition-all duration-300 transform active:scale-95 flex items-center justify-center gap-2",children:[(0,e.jsx)(A,{className:"w-5 h-5"}),"Submit Request"]}),(0,e.jsx)("p",{className:"text-sm text-gray-600 text-center hover:text-gray-800 transition-colors duration-300",children:"We'll respond within 24 hours with a detailed quote and project timeline."})]})]})]})})})},F=o("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),O=o("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"}]]),_=o("linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]),R=o("facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]),I=o("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]),q=()=>{let[a,r]=(0,t.useState)(""),n=e=>{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth"})};return(0,e.jsx)("footer",{className:"bg-gray-900 text-white",children:(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:[(0,e.jsxs)("div",{className:"lg:col-span-1",children:[(0,e.jsx)("h3",{className:"text-2xl font-bold bg-gradient-to-r from-emerald-400 to-green-400 bg-clip-text text-transparent mb-4",children:"Evention"}),(0,e.jsx)("p",{className:"text-gray-300 mb-6 leading-relaxed",children:"Premium exhibition and event solutions crafted in-house with precision, quality, and reliability across UAE and Morocco."}),(0,e.jsxs)("button",{className:"bg-gradient-to-r from-emerald-600 to-green-600 text-white px-6 py-3 rounded-lg font-semibold hover:shadow-lg hover:from-emerald-700 hover:to-green-700 transition-all duration-300 flex items-center gap-2",children:[(0,e.jsx)(C,{className:"w-4 h-4"}),"Download Profile"]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"text-lg font-semibold mb-4",children:"Qu
33ick Links"}),(0,e.jsxs)("ul",{className:"space-y-3",children:[(0,e.jsx)("li",{children:(0,e.jsx)("button",{onClick:()=>n("about"),className:"text-gray-300 hover:text-white transition-colors",children:"About Us"})}),(0,e.jsx)("li",{children:(0,e.jsx)("button",{onClick:()=>n("services"),className:"text-gray-300 hover:text-white transition-colors",children:"Services"})}),(0,e.jsx)("li",{children:(0,e.jsx)("button",{onClick:()=>n("portfolio"),className:"text-gray-300 hover:text-white transition-colors",children:"Portfolio"})}),(0,e.jsx)("li",{children:(0,e.jsx)("button",{onClick:()=>n("rental"),className:"text-gray-300 hover:text-white transition-colors",children:"Catalogue"})}),(0,e.jsx)("li",{children:(0,e.jsx)("button",{onClick:()=>n("contact"),className:"text-gray-300 hover:text-white transition-colors",children:"Contact"})})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"text-lg font-semibold mb-4",children:"Contact Info"}),(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h5",{className:"font-medium text-emerald-400 mb-2",children:"UAE Office"}),(0,e.jsxs)("div",{className:"space-y-2 text-sm",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(c,{className:"w-4 h-4 text-emerald-400"}),(0,e.jsx)("span",{className:"text-gray-300",children:"+971 50 123 4567"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(u,{className:"w-4 h-4 text-emerald-400"}),(0,e.jsx)("span",{className:"text-gray-300",children:"[email protected]"})]}),(0,e.jsxs)("div",{className:"flex items-start gap-2",children:[(0,e.jsx)(b,{className:"w-4 h-4 text-emerald-400 mt-0.5"}),(0,e.jsx)("span",{className:"text-gray-300",children:"Business Bay, Dubai"})]})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h5",{className:"font-medium text-green-400 mb-2",children:"Morocco Office"}),(0,e.jsxs)("div",{className:"space-y-2 text-sm",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(c,{className:"w-4 h-4 text-green-400"}),(0,e.jsx)("span",{className:"text-gray-300",children:"+212 522 123 456"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(u,{className:"w-4 h-4 text-green-400"}),(0,e.jsx)("span",{className:"text-gray-300",children:"[email protected]"})]}),(0,e.jsxs)("div",{className:"flex items-start gap-2",children:[(0,e.jsx)(b,{className:"w-4 h-4 text-green-400 mt-0.5"}),(0,e.jsx)("span",{className:"text-gray-300",children:"Maarif, Casablanca"})]})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,e.jsx)(F,{className:"w-4 h-4 text-orange-400"}),(0,e.jsx)("h5",{className:"font-medium text-orange-400",children:"Business Hours"})]}),(0,e.jsxs)("div",{className:"text-sm text-gray-300",children:[(0,e.jsx)("p",{children:"Mon-Fri: 8:00 AM - 6:00 PM"}
33),(0,e.jsx)("p",{children:"Sat: 9:00 AM - 2:00 PM"})]})]})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"text-lg font-semibold mb-4",children:"Stay Updated"}),(0,e.jsx)("p",{className:"text-gray-300 text-sm mb-4",children:"Subscribe to our newsletter for the latest updates and exclusive offers."}),(0,e.jsx)("form",{onSubmit:e=>{e.preventDefault(),console.log("Newsletter subscription:",a),alert("Thank you for subscribing to our newsletter!"),r("")},className:"mb-6",children:(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,e.jsx)("input",{type:"email",value:a,onChange:e=>r(e.target.value),placeholder:"Enter your email",required:!0,className:"flex-1 px-4 py-2 bg-gray-800 border border-gray-700 rounded-lg focus:ring-2 focus:ring-emerald-500 focus:border-transparent text-white placeholder-gray-400"}),(0,e.jsxs)("button",{type:"submit",className:"bg-gradient-to-r from-emerald-600 to-green-600 text-white px-4 py-2 rounded-lg font-semibold hover:shadow-lg hover:from-emerald-700 hover:to-green-700 transition-all duration-300 flex items-center justify-center gap-2",children:[(0,e.jsx)(A,{className:"w-4 h-4"}),"Subscribe"]})]})}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h5",{className:"font-medium mb-3",children:"Follow Us"}),(0,e.jsxs)("div",{className:"flex space-x-4",children:[(0,e.jsx)("a",{href:"#",className:"w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-emerald-600 transition-colors",children:(0,e.jsx)(O,{className:"w-5 h-5"})}),(0,e.jsx)("a",{href:"#",className:"w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-green-600 transition-colors",children:(0,e.jsx)(_,{className:"w-5 h-5"})}),(0,e.jsx)("a",{href:"#",className:"w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-blue-500 transition-colors",children:(0,e.jsx)(R,{className:"w-5 h-5"})}),(0,e.jsx)("a",{href:"#",className:"w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-orange-600 transition-colors",children:(0,e.jsx)(L,{className:"w-5 h-5"})})]})]})]})]}),(0,e.jsx)("div",{className:"border-t border-gray-800 mt-12 pt-8",children:(0,e.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center",children:[(0,e.jsx)("div",{className:"text-gray-400 text-sm mb-4 md:mb-0",children:(0,e.jsx)("p",{children:"\xa9 2024 Evention. All rights reserved."})}),(0,e.jsxs)("div",{className:"flex items-center space-x-6",children:[(0,e.jsx)("a",{href:"#",className:"text-gray-400 hover:text-white text-sm transition-colors",children:"Privacy Policy"}),(0,e.jsx)("a",{href:"#",className:"text-gray-400 hover:text-white text-sm transition-colors",children:"Terms of Service"}),(0,e.jsx)("button",{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:"bg-gradient-to-r from-emerald-600 to-green-600 text-white p-2 rounded-full hover:shadow-lg hover:from-emerald-700 hover:to-green-700 transition-all duration-300 transform hover:scale-110",children:(0,e.jsx)(I,{className:"w-4 h-4"})})]})]})})]})})},V=o("message-circle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]),U=o("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]),H=o("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),$=()=>{let[a,r]=(0,t.useState)(!1),[n,l]=(0,t.useState)([{id:1,text:"Hello! Welcome to Evention. I'm here to help you with your exhibition and event needs. How can I assist you today?",sender:"agent",timestamp:new Date}]),[s,i]=(0,t.useState)(""),[o,d]=(0,t.useState)(!1),[m,f]=(0,t.useState)(0),h=(0,t.useRef)(null);(0,t.useEffect)(()=>{h.current?.scrollIntoView({behavior:"smooth"})},[n]),(0,t.useEffect)(()=>{!a&&n.length>1?f(n.filter(e=>"agent"===e.sender).length-1):f(0)},[a,n]);let x=["I need a quote for an exhibition stand","Tell me about your rental services","What's your pricing for custom carpentry?","I want to see your portfolio","Do you work in Morocco?","What's your turnaround time?"],g=["I'd be happy to help you with a quote! Could you tell me more about your exhibition requirements - size, location, and date?","We offer premium furniture, plants, counters, and AV equipment rentals. What type of event are you planning?","Our custom carpentry services include bespoke furniture design and fabrication. Let me connect you with our specialist for detailed pricing.","You can view our portfolio on this page, or I can show you specific projects. What industry or type of exhibition interests you?","Yes! We have office
33s in both Dubai, UAE and Casablanca, Morocco. Which location would you like to work with?","Our typical turnaround is 2-3 weeks for custom builds, but we can accommodate rush orders. When is your event date?"],b=()=>{if(""===s.trim())return;let e={id:n.length+1,text:s,sender:"user",timestamp:new Date};l(t=>[...t,e]),i(""),d(!0),setTimeout(()=>{let e=g[Math.floor(Math.random()*g.length)],t={id:n.length+2,text:e,sender:"agent",timestamp:new Date};l(e=>[...e,t]),d(!1)},1500)};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{className:"fixed bottom-6 right-6 z-50",children:(0,e.jsx)("button",{onClick:()=>r(!a),className:"relative bg-gradient-to-r from-purple-600 to-blue-600 text-white p-4 rounded-full shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-110",children:a?(0,e.jsx)(p,{className:"w-6 h-6"}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(V,{className:"w-6 h-6"}),m>0&&(0,e.jsx)("span",{className:"absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full w-6 h-6 flex items-center justify-center font-bold",children:m})]})})}),a&&(0,e.jsxs)("div",{className:"fixed bottom-24 right-6 w-80 h-96 bg-white rounded-lg shadow-2xl z-50 flex flex-col border border-gray-200",children:[(0,e.jsx)("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 text-white p-4 rounded-t-lg",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)("div",{className:"w-10 h-10 bg-white/20 rounded-full flex items-center justify-center",children:(0,e.jsx)(U,{className:"w-5 h-5"})}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h3",{className:"font-semibold",children:"Evention Support"}),(0,e.jsx)("p",{className:"text-xs opacity-90",children:"Online now"})]})]}),(0,e.jsx)("button",{onClick:()=>r(!1),className:"text-white/80 hover:text-white transition-colors",children:(0,e.jsx)(p,{className:"w-5 h-5"})})]})}),(0,e.jsxs)("div",{className:"flex-1 overflow-y-auto p-4 space-y-4",children:[n.map(t=>(0,e.jsxs)("div",{className:`flex ${"user"===t.sender?"justify-end":"justify-start"}`,children:[(0,e.jsxs)("div",{className:`max-w-xs ${"user"===t.sender?"order-2":"order-1"}`,children:[(0,e.jsx)("div",{className:`p-3 rounded-lg ${"user"===t.sender?"bg-gradient-to-r from-purple-600 to-blue-600 text-white":"bg-gray-100 text-gray-800"}`,children:(0,e.jsx)("p",{className:"text-sm",children:t.text})}),(0,e.jsx)("p",{className:"text-xs text-gray-500 mt-1 px-1",children:t.timestamp.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!1})})]}),(0,e.jsx)("div",{className:`w-8 h-8 rounded-full flex items-center justify-center ${"user"===t.sender?"order-1 mr-2 bg-purple-100":"order-2 ml-2 bg-gray-200"}`,children:"user"===t.sender?(0,e.jsx)(H,{className:"w-4 h-4 text-purple-600"}):(0,e.jsx)(U,{className:"w-4 h-4 text-gray-600"})})]},t.id)),o&&(0,e.jsxs)("div",{className:"flex justify-start",children:[(0,e.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center bg-gray-200 mr-2",children:(0,e.jsx)(U,{className:"w-4 h-4 text-gray-600"})}),(0,e.jsx)("div",{className:"bg-gray-100 p-3 rounded-lg",children:(0,e.jsxs)("div",{className:"flex space-x-1",children:[(0,e.jsx)("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce"}),(0,e.jsx)("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),(0,e.jsx)("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})})]}),1===n.length&&(0,e.jsxs)("div",{className:"space-y-2",children:[(0,e.jsx)("p",{className:"text-xs text-gray-500 px-1",children:"Quick replies:"}),(0,e.jsx)("div",{className:"flex flex-wrap gap-2",children:x.slice(0,3).map((t,a)=>(0,e.jsx)("button",{onClick:()=>(e=>{let t={id:n.length+1,text:e,sender:"user",timestamp:new Date};l(e=>[...e,t]),d(!0),setTimeout(()=>{let t=g[x.indexOf(e)]||"Thank you for your message. Let me get you the information you need.",a={id:n.length+2,text:t,sender:"agent",timestamp:new Date};l(e=>[...e,a]),d(!1)},1500)})(t),className:"text-xs bg-purple-50 text-purple-600 px-3 py-2 rounded-full hover:bg-purple-100 transition-colors",children:t},a))})]}),(0,e.jsx)("div",{ref:h})]}),(0,e.jsxs)("div",{className:"p-4 border-t border-gray-200",children:[(0,e.jsxs)("div",{className:"flex gap-2",children:[(0,e.jsx)("input",{type:"text",value:s,onChange:e=>i(e.target.value),onKeyPress:e=>"Enter"===e.key&&b(),placeholder:"Type your message...",className:"flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent text-sm"}),(0,e.jsx)("button",{onClick:b,disabled:""===s.trim(),className:"bg-gradient-to-r from-purple-600 to-blue-600 text-white p-2 rounded-lg hover:shadow-lg transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed",children:(0,e.jsx)(A,{className:"w-4 h-4"})})]}),(0,e.jsxs)("div",{className:"mt-3 flex justify-center space-x-4 text-xs text-gray-500",children:[(0,e.jsxs)("div",{className:"flex items-center gap-1",children:[(0,e.jsx)(c,{className:"w-3 h-3"}),(0,e.jsx)("span",{children:"+971 50 123 4567"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-1",children:[(0,e.jsx)(u,{className:"w-3 h-3"}),(0,e.jsx)("span",{children:"[email protected]"})]})]})]})]}),a&&(0,e.jsx)("div",{className:"fixed bottom-6 right-96 bg-white rounded-lg shadow-lg p-4 border border-gray-200 max-w-xs",children:(0,e.jsxs)("div",{className:"flex items-start gap-3",children:[(0,e.jsx)("div",{className:"w-8 h-8 bg-green-100 rounded-full flex items-center justify-center",children:(0,e.jsx)(F,{className:"w-4 h-4 text-green-600"})}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-semibold text-gray-900 text-sm",children:"We're Online!"}),(0,e.jsx)("p",{className:"text-xs text-gray-600 mt-1",children:"Our team is available Mon-Fri, 8AM-6PM (UAE time). For urgent matters, call our 24/7 emergency line."})]})]})})]})},B=()=>{let[a,r]=(0,t.useState)(!1),n=()=>{window.pageYOffset>600?r(!0):r(!1)};return(0,t.useEffect)(()=>(window.addEventListener("scroll",n),()=>{window.removeEventListener("scroll",n)}),[]),(0,e.jsx)(e.Fragment,{children:a&&(0,e.jsxs)("button",{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:"fixed bottom-8 right-24 z-50 bg-gradient-to-r from-purple-600 to-blue-600 text-white p-4 rounded-full shadow-lg hover:shadow-2xl hover:scale-110 hover:from-purple-700 hover:to-blue-700 transition-all duration-300 transform active:scale-95 group","aria-label":"Scroll to top",children:[(0,e.jsx)(I,{className:"w-6 h-6 group-hover:animate-bounce"}),(0,e.jsxs)("span",{className:"absolute bottom-16 right-0 bg-gray-900 text-white px-3 py-2 rounded-lg text-sm font-medium opacity-0 group-hover:opacity-100 transition-opacity duration-300 whitespace-nowrap pointer-events-none",children:["Back to Top",(0,e.jsx)("div",{className:"absolute top-full right-4 w-2 h-2 bg-gray-900 rotate-45 transform -translate-y-1"})]})]})})},W=()=>{let t=[{icon:O,color:"bg-gradient-to-br from-pink-500 to-purple-600",href:"https://instagram.com/evention",label:"Instagram"},{icon:R,color:"bg-blue-600",href:"https://facebook.com/evention",label:"Facebook"},{icon:_,color:"bg-blue-700",href:"https://linkedin.com/company/evention",label:"LinkedIn"},{icon:V,color:"bg-green-500",href:"https://wa.me/971501234567",label:"WhatsApp"}
33,{icon:c,color:"bg-blue-500",href:"tel:+971412345567",label:"Call Us"},{icon:u,color:"bg-purple-600",href:"mailto:[email protected]",label:"Email Us"}];return(0,e.jsx)("div",{className:"fixed right-6 top-1/2 transform -translate-y-1/2 z-40 hidden lg:block",children:(0,e.jsx)("div",{className:"flex flex-col space-y-4",children:t.map((t,a)=>{let r=t.icon;return(0,e.jsxs)("a",{href:t.href,target:t.href.startsWith("mailto:")||t.href.startsWith("tel:")?"_self":"_blank",rel:"noopener noreferrer",className:`${t.color} w-12 h-12 rounded-full flex items-center justify-center text-white hover:scale-110 transition-all duration-300 shadow-lg hover:shadow-xl group`,title:t.label,children:[(0,e.jsx)(r,{className:"w-6 h-6"}),(0,e.jsxs)("span",{className:"absolute right-16 bg-gray-900 text-white px-3 py-2 rounded-lg text-sm font-medium opacity-0 group-hover:opacity-100 transition-opacity duration-300 whitespace-nowrap pointer-events-none",children:[t.label,(0,e.jsx)("div",{className:"absolute right-0 top-1/2 transform -translate-y-1/2 translate-x-1 w-2 h-2 bg-gray-900 rotate-45"})]})]},a)})})})},Q=o("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),Y=({onBack:a})=>{let[r,n]=(0,t.useState)("all"),[l,s]=(0,t.useState)("all"),i=[{id:1,title:"Dubai Tech Summit 2024",category:"exhibitions",year:"2024",date:"March 2024",location:"Dubai World Trade Centre",description:"Modern tech exhibition stand with interactive displays, custom LED integration, and immersive product showcase areas.",image:"https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",gradient:"from-blue-500 to-blue-700",featured:!0,tags:["exhibitions"]},{id:2,title:"Emirates Luxury Hotel Furniture",category:"furniture",year:"2024",date:"February 2024",location:"Dubai Marina",description:"Bespoke luxury furniture collection for 5-star hotel lobby including custom reception desk, lounge seating, and decorative elements.",image:"https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",gradient:"from-purple-500 to-purple-700",featured:!0,tags:["furniture"]},{id:3,title:"Healthcare Innovation Forum",category:"events",year:"2023",date:"November 2023",location:"Dubai International Convention Centre",description:"Complete event setup including stage design, seating arrangements, branding, and technical support for 500+ attendees.",image:"https://images.unsplash.com/photo-1559223607-b4d0555ae227?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",gradient:"from-green-500 to-green-700",featured:!1,tags:["Events"]},{id:4,title:"ADNOC Energy Expo Stand",category:"exhibitions",year:"2023",date:"October 2023",location:"Abu Dhabi National Exhibition Centre",description:"Large-scale exhibition stand featuring sustainable materials, interactive zones, and premium meeting areas.",image:"https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",gradient:"from-blue-600 to-indigo-700",featured:!1,tags:["exhibitions"]},{id:5,title:"Etisalat Corporate Branding",category:"printing",year:"2023",date:"September 2023",location:"Dubai",description:"Comprehensive branding solution including large format printing, custom signage, and UV printed materials.",image:"https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",gradient:"from-orange-500 to-red-600",featured:!1,tags:["Printing & Signage"]},{id:6,title:"Jumeirah Group Event Setup",category:"events",year:"2022",date:"December 2022",location:"Jumeirah Beach Hotel",description:"Luxury event setup with custom furniture, lighting design, and premium d\xe9cor for exclusive corporate gathering.",image:"https://images.unsplash.com/photo-1492684223066-81342ee5ff30?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",gradient:"from-teal-500 to-cyan-600",featured:!1,tags:["Events"]},{id:7,title:"Dubai Municipality Conference",category:"events",year:"2024",date:"January 2024",location:"Dubai Municipality Building",description:"Professional conference setup with custom staging, AV integration, and branded materials for government event.",image:"https://images.unsplash.com/photo-1505373877841-8d25f7d46678?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",gradient:"from-indigo-500 to-purple-600",featured:!1,tags:["Events"]},{id:8,title:"DP World Trade Exhibition",category:"exhibitions",year:"2023",date:"August 2023",location:"Dubai World Trade Centre",description:"Maritime-themed exhibition stand with interactive shipping displays and premium client meeting areas.",image:"https://images.unsplash.com/photo-1560472354-b33ff0c44a43?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",gradient:"from-cyan-500 to-blue-600",featured:!1,tags:["exhibitions"]},{id:9,title:"Emirates NBD Banking Expo",category:"exhibitions",year:"2022",date:"November 2022",location:"Abu Dhabi National Exhibition Centre",description:"Premium banking exhibition stand with digital displays, c
33onsultation areas, and modern branding elements.",image:"https://images.unsplash.com/photo-1551818255-e6e10975cd17?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",gradient:"from-emerald-500 to-teal-600",featured:!1,tags:["exhibitions"]}].filter(e=>{let t="all"===r||e.year===r,a="all"===l||e.category===l;return t&&a});return(0,e.jsx)("div",{className:"min-h-screen bg-gray-50",children:(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-8 pb-12",children:[(0,e.jsxs)("button",{onClick:a,className:"flex items-center gap-2 text-purple-600 hover:text-purple-700 font-semibold mb-8 hover:scale-105 transition-all duration-300",children:[(0,e.jsx)(Q,{className:"w-5 h-5"}),"Back to Home"]}),(0,e.jsxs)("div",{className:"text-center mb-16",children:[(0,e.jsxs)("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-4",children:["Our Work"," ",(0,e.jsx)("span",{className:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600 bg-clip-text text-transparent",children:"Across the Years"})]}),(0,e.jsx)("p",{className:"text-xl text-gray-600 max-w-4xl mx-auto",children:"Explore our portfolio of successful projects from 2021 to 2024. Each project represents our commitment to excellence and innovation in exhibition and event solutions."})]}),(0,e.jsxs)("div",{className:"mb-12",children:[(0,e.jsxs)("div",{className:"mb-6",children:[(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filter by Year:"}),(0,e.jsxs)("div",{className:"flex flex-wrap gap-3",children:[[{id:"all",label:"All Years"},{id:"2024",label:"2024"},{id:"2023",label:"2023"},{id:"2022",label:"2022"},{id:"2021",label:"2021"}].map(t=>(0,e.jsx)("button",{onClick:()=>n(t.id),className:`px-6 py-3 rounded-full font-semibold transition-all duration-300 ${r===t.id?"bg-blue-600 text-white shadow-lg hover:bg-blue-700":"bg-white text-gray-600 border border-gray-300 hover:border-blue-300 hover:text-blue-600"}`,children:t.label},t.id)),(0,e.jsxs)("button",{className:"bg-blue-600 text-white px-6 py-3 rounded-full font-semibold hover:bg-blue-700 transition-all duration-300 flex items-center gap-2 ml-auto",children:[(0,e.jsx)(C,{className:"w-4 h-4"}),"Download Portfolio PDF"]})]})]}),(0,e.jsxs)("div",{className:"mb-8",children:[(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900 mb-4",children:"Filter by Category:"}),(0,e.jsx)("div",{className:"flex flex-wrap gap-3",children:[{id:"all",label:"All Projects (48)",count:48},{id:"exhibitions",label:"Exhibition Stands (18)",count:18},{id:"furniture",label:"Custom Furniture (12)",count:12},{id:"events",label:"Corporate Events (10)",count:10},{id:"printing",label:"Printing & Signage (8)",count:8}].map(t=>(0,e.jsx)("button",{onClick:()=>s(t.id),className:`px-6 py-3 rounded-full font-semibold transition-all duration-300 ${l===t.id?"bg-blue-600 text-white shadow-lg hover:bg-blue-700":"bg-white text-gray-600 border border-gray-300 hover:border-blue-300 hover:text-blue-600"}`,children:t.label},t.id))})]})]}),(0,e.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:i.map(t=>(0,e.jsxs)("div",{className:"bg-white rounded-2xl shadow-lg hover:shadow-2xl transition-all duration-500 transform hover:scale-105 overflow-hidden group",children:[(0,e.jsxs)("div",{className:"relative h-64 overflow-hidden",children:[(0,e.jsx)("div",{className:`absolute inset-0 bg-gradient-to-br ${t.gradient} opacity-90`}),(0,e.jsx)("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover group-hover:scale-110 transition-transform duration-500"}),t.featured&&(0,e.jsxs)("div",{className:"absolute top-4 left-4 bg-yellow-500 text-white px-3 py-1 rounded-full text-sm font-semibold flex items-center gap-1",children:[(0,e.jsx)(S,{className:"w-4 h-4 fill-current"}),"Featured"]}),(0,e.jsxs)("div",{className:"absolute bottom-4 left-4 flex gap-2",children:[t.tags.map((t,a)=>(0,e.jsx)("span",{className:"bg-white/20 backdrop-blur-sm text-white px-3 py-1 rounded-full text-sm font-medium",children:t},a)),(0,e.jsx)("span",{className:"bg-blue-600 text-white px-3 py-1 rounded-full text-sm font-bold",children:t.year})]})]}),(0,e.jsxs)("div",{className:"p-6",children:[(0,e.jsx)("h3",{className:"text-xl font-bold text-gray-900 mb-3 group-hover:text-purple-600 transition-colors duration-300",children:t.title}),(0,e.jsxs)("div",{className:"flex items-center gap-4 mb-4 text-sm text-gray-600",children:[(0,e.jsxs)("div",{className:"flex items-center gap-1",children:[(0,e.jsx)(m,{className:"w-4 h-4"}),(0,e.jsx)("span",{children:t.date})]}),(0,e.jsxs)("div",{className:"flex items-center gap-1",children:[(0,e.jsx)(b,{className:"w-4 h-4"}),(0,e.jsx)("span",{children:t.location})]})]}),(0,e.jsx)("p",{className:"text-gray-600 text-sm leading-relaxed mb-4",children:t.description}),(0,e.jsx)("button",{className:"w-full bg-gradient-to-r from-purple-600 to-blue-600 text-white py-3 rounded-lg font-semibold hover:shadow-lg hover:from-purple-700 hover:to-blue-700 transition-all duration-300 transform hover:scale-105",children:"View Project Details"})]})]},t.id))}),(0,e.jsx)("div",{className:"text-center mt-12",children:(0,e.jsx)("button",{className:"bg-white text-purple-600 border-2 border-purple-600 px-8 py-4 rounded-lg font-bold text-lg hover:bg-purple-50 hover:border-purple-700 hover:text-purple-700 hover:scale-105 transition-all duration-300",children:"Load More Projects"})})]})})},G=o("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]),K=o("leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]]),Z=o("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]),J=o("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]),X=o("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]),ee=o("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),et=o("heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]),ea=o("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),er=o("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),en=o("shopping-cart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}
33],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]),el=({onBack:a})=>{let[r,n]=(0,t.useState)("all"),[l,s]=(0,t.useState)(""),[i,o]=(0,t.useState)("all"),[c,u]=(0,t.useState)({}),[d,m]=(0,t.useState)("grid"),p=[{id:"all",label:"All Items",icon:G,color:"from-purple-500 to-purple-600",count:48},{id:"furniture",label:"Furniture",icon:j,color:"from-blue-500 to-blue-600",count:18},{id:"plants",label:"Plants & D\xe9cor",icon:K,color:"from-green-500 to-green-600",count:12},{id:"counters",label:"Counters & Displays",icon:G,color:"from-orange-500 to-orange-600",count:10},{id:"av",label:"AV Equipment",icon:Z,color:"from-indigo-500 to-indigo-600",count:8}],f=[{id:1,name:"Executive Lounge Set",category:"furniture",description:"Premium leather seating for VIP areas with modern design and comfort",image:"https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:500,unit:"day",features:["Premium Leather","4-Seater","Modern Design","VIP Areas"],availability:"Available",rating:4.9,popular:!0},{id:2,name:"Modern Conference Table",category:"furniture",description:"Sleek design for professional meetings with integrated cable management",image:"https://images.unsplash.com/photo-1541558869434-2840d308329a?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:300,unit:"day",features:["Cable Management","8-10 Seater","Professional","Modern"],availability:"Available",rating:4.8},{id:3,name:"Designer Bar Stools",category:"furniture",description:"Contemporary seating for reception areas and networking zones",image:"https://images.unsplash.com/photo-1506439773649-6e0eb8cfb237?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:150,unit:"day",features:["Contemporary","Adjustable Height","Reception Areas","Set of 4"],availability:"Limited",rating:4.7},{id:4,name:"Luxury Reception Desk",category:"furniture",description:"Premium welcome desk with integrated storage and branding space",image:"https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:400,unit:"day",features:["Integrated Storage","Branding Space","Premium Finish","Welcome Areas"],availability:"Available",rating:4.9,popular:!0},{id:5,name:"Modular Seating System",category:"furniture",description:"Flexible seating arrangement for various event configurations",image:"https://images.unsplash.com/photo-1555041469-a586c61ea9bc?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:250,unit:"day",features:["Modular Design","Flexible","Various Colors","Easy Setup"],availability:"Available",rating:4.6},{id:6,name:"Executive Office Chairs",category:"furniture",description:"Ergonomic high-back chairs for executive meetings and conferences",image:"https://images.unsplash.com/photo-1541558869434-2840d308329a?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:80,unit:"day",features:["Ergonomic","High-Back","Leather Finish","Set of 6"],availability:"Available",rating:4.5},{id:7,name:"Tropical Plant Collection",category:"plants",description:"Lush greenery for natural ambiance and fresh atmosphere",image:"https://images.unsplash.com/photo-1416879595882-3373a0480b5b?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:100,unit:"day",features:["Natural Ambiance","Fresh Air","Low Maintenance","Various Sizes"],availability:"Available",rating:4.8},{id:8,name:"Executive Planters",category:"plants",description:"Premium planters with seasonal flowers and decorative elements",image:"https://images.unsplash.com/photo-1485955900006-10f4d324d411?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:200,unit:"day",features:["Seasonal Flowers","Premium Planters","Decorative","Custom Arrangements"],availability:"Available",rating:4.7},{id:9,name:"Artificial Green Wall",category:"plants",description:"Stunning backdrop with artificial greenery for photo opportunities",image:"https://images.unsplash.com/photo-1463320726281-696a485928c7?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:350,unit:"day",features:["Photo Backdrop","N
33o Maintenance","Stunning Visual","Various Sizes"],availability:"Limited",rating:4.9,popular:!0},{id:10,name:"Decorative Palm Trees",category:"plants",description:"Large artificial palm trees for creating tropical atmosphere",image:"https://images.unsplash.com/photo-1416879595882-3373a0480b5b?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:180,unit:"day",features:["Tropical Theme","Large Size","Realistic Look","Easy Setup"],availability:"Available",rating:4.6},{id:11,name:"Reception Counter",category:"counters",description:"Professional welcome desk with storage and branding options",image:"https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:400,unit:"day",features:["Professional Design","Storage Space","Branding Options","Welcome Areas"],availability:"Available",rating:4.8},{id:12,name:"Display Counter",category:"counters",description:"Glass showcase for product displays with LED lighting",image:"https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:350,unit:"day",features:["Glass Showcase","LED Lighting","Product Display","Secure Storage"],availability:"Available",rating:4.7},{id:13,name:"Information Kiosk",category:"counters",description:"Interactive information point with digital display integration",image:"https://images.unsplash.com/photo-1560472354-b33ff0c44a43?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:450,unit:"day",features:["Digital Display","Interactive","Information Point","Modern Design"],availability:"Limited",rating:4.9},{id:14,name:"Product Display Stands",category:"counters",description:"Adjustable stands for showcasing products and brochures",image:"https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:120,unit:"day",features:["Adjustable Height","Product Showcase","Brochure Display","Set of 3"],availability:"Available",rating:4.5},{id:15,name:"LED Display Package",category:"av",description:"High-resolution screens for presentations and digital content",image:"https://images.unsplash.com/photo-1598300042247-d088f8ab3a91?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:800,unit:"day",features:["High Resolution","Various Sizes","Digital Content","Professional Setup"],availability:"Available",rating:4.9,popular:!0},{id:16,name:"Sound System",category:"av",description:"Professional audio equipment with wireless microphones",image:"https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:600,unit:"day",features:["Wireless Mics","Professional Audio","Event Coverage","Technical Support"],availability:"Available",rating:4.8},{id:17,name:"Lighting Package",category:"av",description:"Complete lighting solution for events and exhibitions",image:"https://images.unsplash.com/photo-1492684223066-81342ee5ff30?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:700,unit:"day",features:["Complete Solution","Various Effects","Professional Setup","Event Lighting"],availability:"Available",rating:4.7},{id:18,name:"Projector & Screen Set",category:"av",description:"High-definition projector with large portable screen",image:"https://images.unsplash.com/photo-1598300042247-d088f8ab3a91?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80",price:400,unit:"day",features:["HD Quality","Large Screen","Portable","Easy Setup"],availability:"Available",rating:4.6}],h=f.filter(e=>{let t="all"===r||e.category===r,a=e.name.toLowerCase().includes(l.toLowerCase())||e.description.toLowerCase().includes(l.toLowerCase()),n=!0;if("all"!==i){let[t,a]=i.split("-").map(e=>e.replace("+",""));n=a?e.price>=parseInt(t)&&e.price<=parseInt(a):e.price>=parseInt(t)}return t&&a&&n}),x=e=>{u(t=>({...t,[e]:(t[e]||0)+1}))},g=()=>Object.values(c).reduce((e,t)=>e+t,0);return(0,e.jsx)("div",{className:"min-h-screen bg-gray-50",children:(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-8 pb-12",children:[(0,e.jsxs)("button",{onClick:a,className:"flex items-center gap-2 text-purple-600 hover:text-purple-700 font-semibold mb-8 hover:scale-105 transition-all duration-300",children:[(0,e.jsx)(Q,{className:"w-5 h-5"}),"Back to Home"]}),(0,e.jsxs)("div",{className:"text-center mb-16",children:[(0,e.jsxs)("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-4",children:["Premium"," ",(0,e.jsx)("span",{className:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600 bg-clip-text text-transparent",children:"Rental Catalogue"})]}),(0,e.jsx)("p",{className:"text-xl text-gray-600 max-w-4xl mx-auto",children:"Discover our extensive collection of premium furniture, d\xe9cor, and equipment rentals. Build your perfect event setup with our high-quality items."})]}),(0,e.jsx)("div",{className:"mb-12 bg-white rounded-2xl shadow-lg p-6",children:(0,e.jsxs)("div",{className:"flex flex-col lg:flex-row gap-4 items-center",children:[(0,e.jsxs)("div",{className:"flex-1 relative",children:[(0,e.jsx)(J,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-5 h-5"}),(0,e.jsx)("input",{type:"text",placeholder:"Search items by name or description...",value:l,onCh
33ange:e=>s(e.target.value),className:"w-full pl-10 pr-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent"})]}),(0,e.jsx)("select",{value:i,onChange:e=>o(e.target.value),className:"px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:[{value:"all",label:"All Prices"},{value:"0-200",label:"Under AED 200"},{value:"200-400",label:"AED 200 - 400"},{value:"400-600",label:"AED 400 - 600"},{value:"600+",label:"Over AED 600"}].map(t=>(0,e.jsx)("option",{value:t.value,children:t.label},t.value))}),(0,e.jsxs)("div",{className:"flex gap-2",children:[(0,e.jsx)("button",{onClick:()=>m("grid"),className:`p-3 rounded-lg transition-colors ${"grid"===d?"bg-purple-100 text-purple-600":"text-gray-400 hover:text-gray-600"}`,children:(0,e.jsx)(G,{className:"w-5 h-5"})}),(0,e.jsx)("button",{onClick:()=>m("list"),className:`p-3 rounded-lg transition-colors ${"list"===d?"bg-purple-100 text-purple-600":"text-gray-400 hover:text-gray-600"}`,children:(0,e.jsx)(X,{className:"w-5 h-5"})})]}),(0,e.jsxs)("button",{className:"bg-blue-600 text-white px-6 py-3 rounded-lg font-semibold hover:bg-blue-700 transition-all duration-300 flex items-center gap-2",children:[(0,e.jsx)(C,{className:"w-4 h-4"}),"Download PDF"]})]})}),(0,e.jsxs)("div",{className:"mb-12",children:[(0,e.jsxs)("h3",{className:"text-lg font-semibold text-gray-900 mb-6 flex items-center gap-2",children:[(0,e.jsx)(X,{className:"w-5 h-5"}),"Browse by Category:"]}),(0,e.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-4",children:p.map(t=>{let a=t.icon;return(0,e.jsxs)("button",{onClick:()=>n(t.id),className:`p-6 rounded-xl transition-all duration-300 transform hover:scale-105 ${r===t.id?`bg-gradient-to-br ${t.color} text-white shadow-lg`:"bg-white text-gray-600 hover:shadow-md border border-gray-200"}`,children:[(0,e.jsx)(a,{className:"w-8 h-8 mx-auto mb-3"}),(0,e.jsx)("h4",{className:"font-semibold text-sm mb-1",children:t.label}),(0,e.jsxs)("p",{className:"text-xs opacity-75",children:["(",t.count," items)"]})]},t.id)})})]}),g()>0&&(0,e.jsx)("div",{className:"mb-8 bg-gradient-to-r from-purple-600 to-blue-600 text-white rounded-2xl p-6",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h3",{className:"text-lg font-semibold mb-1",children:"Quote Summary"}),(0,e.jsxs)("p",{className:"text-white/90",children:[g()," items selected"]})]}),(0,e.jsxs)("div",{className:"text-right",children:[(0,e.jsxs)("p",{className:"text-2xl font-bold",children:["AED ",Object.entries(c).reduce((e,[t,a])=>{let r=f.find(e=>e.id===parseInt(t));return e+(r?r.price*a:0)},0),"/day"]}),(0,e.jsx)("button",{className:"bg-white text-purple-600 px-6 py-2 rounded-lg font-semibold hover:bg-gray-100 transition-colors mt-2",children:"Request Quote"})]})]})}),(0,e.jsx)("div",{className:`grid gap-8 mb-12 ${"grid"===d?"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4":"grid-cols-1"}`,children:h.map(t=>{let a;return(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg hover:shadow-2xl transition-all duration-500 transform hover:scale-105 overflow-hidden group",children:[(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("img",{src:t.image,alt:t.name,className:"w-full h-48 object-cover group-hover:scale-110 transition-transform duration-500"}),(0,e.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-end",children:(0,e.jsx)("div",{className:"p-4",children:(0,e.jsxs)("button",{className:"bg-white text-purple-600 px-4 py-2 rounded-lg font-semibold hover:bg-gray-100 transition-colors flex items-center gap-2",children:[(0,e.jsx)(ee,{className:"w-4 h-4"}),"Quick View"]})})}),(0,e.jsxs)("div",{className:"absolute top-4 left-4 flex flex-col gap-2",children:[t.popular&&(0,e.jsxs)("span",{className:"bg-red-500 text-white px-2 py-1 rounded-full text-xs font-semibold flex items-center gap-1",children:[(0,e.jsx)(et,{className:"w-3 h-3 fill-current"}),"Popular"]}),(0,e.jsx)("span",{className:`px-2 py-1 rounded-full text-xs font-semibold ${"Available"===t.availability?"bg-green-500 text-white":"bg-yellow-500 text-white"}`,children:t.availability})]})]}),(0,e.jsxs)("div",{className:"p-6",children:[(0,e.jsxs)("div",{className:"flex items-start justify-between mb-2",children:[(0,e.jsx)("h3",{className:"text-lg font-bold text-gray-900 group-hover:text-purple-600 transition-colors duration-300",children:t.name}),(0,e.jsxs)("div",{className:"flex items-center gap-1",children:[(a=t.rating,Array.from({length:5},(t,r)=>(0,e.jsx)(S,{className:`w-4 h-4 ${r<Math.floor(a)?"text-yellow-400 fill-current":"text-gray-300"}`},r))),(0,e.jsxs)("span",{className:"text-sm text-gray-500 ml-1",children:["(",t.rating,")"]})]})]}),(0,e.jsx)("p",{className:"text-gray-600 text-sm mb-4 leading-relaxed",children:t.description}),(0,e.jsxs)("div",{className:"flex flex-wrap gap-1 mb-4",children:[t.features.slice(0,2).map((t,a)=>(0,e.jsx)("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 rounded-full text-xs",children:t},a)),t.features.length>2&&(0,e.jsxs)("span",{className:"px-2 py-1 bg-gray-100 text-gray-600 rounded-full text-xs",children:["+",t.features.length-2," more"]})]}),(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("span",{className:"text-2xl font-bold text-purple-600",children:["AED ",t.price]}),(0,e.jsxs)("span",{className:"text-gray-500 text-sm",children:["/",t.unit]})]}),(0,e.jsx)("div",{className:"flex items-center gap-2",children:c[t.id]?(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("button",{onClick:()=>(e=>{u(t=>{let a={...t};return a[e]>1?a[e]--:delete a[e],a})})(t.id),className:"p-2 bg-gray-100 text-gray-600 rounded-lg hover:bg-gray-200 transition-colors",children:(0,e.jsx)(ea,{className:"w-4 h-4"})}),(0,e.jsx)("span",{className:"font-semibold text-purple-600 min-w-[2rem] text-center",children:c[t.id]}),(0,e.jsx)("button",{onClick:()=>x(t.id),className:"p-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors",children:(0,e.jsx)(er,{className:"w-4 h-4"})})]}):(0,e.jsxs)("button",{onClick:()=>x(t.id),className:"bg-gradient-to-r from-purple-600 to-blue-600 text-white px-4 py-2 rounded-lg font-semibold hover:shadow-lg hover:from-purple-700 hover:to-blue-700 transition-all duration-300 transform hover:scale-105 flex items-center gap-2",children:[(0,e.jsx)(en,{className:"w-4 h-4"}),"Add to Quote"]})})]})]})]},t.id)})}),(0,e.jsxs)("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 rounded-2xl p-8 text-center text-white",children:[(0,e.jsx)("h3",{className:"text-2xl md:text-3xl font-bold mb-4",children:"Need Custom Rental Solutions?"}),(0,e.jsx)("p",{className:"text-lg mb-6 opacity-90 max-w-2xl mx-auto",children:"Can't find what you're looking for? We offer custom rental packages tailored to your specific event needs and budget requirements."}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[(0,e.jsx)("button",{className:"bg-white text-purple-600 px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 transition-all duration-300",children:"Request Custom Quote"}),(0,e.jsx)("button",{className:"bg-white/20 backdrop-blur-sm text-white border border-white/30 px-8 py-3 rounded-lg font-semibold hover:bg-white/30 transition-all duration-300",children:"Contact Our Team"})]})]})]})})},es=o("hammer",[["path",{d:"m15 12-8.373 8.373a1 1 0 1 1-3-3L12 9",key:"eefl8a"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172V7l-2.26-2.26a6 6 0 0 0-4.202-1.756L9 2.96l.92.82A6.18 6.18 0 0 1 12 8.4V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"b7pghm"}]]),ei=o("printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]),eo=o("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]),ec=o("quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]),eu=({onBack:t})=>{let a=[{icon:v,title:"Exhibition Stand Design & Build",description:"Complete turnkey exhibition stands from concept to installation. Our in-house design team creates stunning, functional spaces that captivate your audience and drive engagement.",features:["3D Design & Visualization","Custom Build Solutions","On-site Installation","Project Management","Brand Integration","Interactive Elements"],color:"blue",gradient:"from-blue-500 to-blue-600",projects:"50+ Projects",satisfaction:"98% Success Rate",testimonials:[{name:"Sarah Al-Mansouri",position:"Event Manager",company:"TechCorp Middle East",text:"Evention delivered an exceptional exhibition stand that perfectly captured our brand identity. The 3D visualization helped us see exactly what we were getting, and the final result exceeded our expectations.",avatar:"https://images.unsplash.com/photo-1494790108755-2616b612b786?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",rating:5,projectDetails:"Dubai Tech Summit 2024 - 12m x 8m Stand"},{name:"Ahmed Hassan",position:"Marketing Director",company:"Emirates Energy Corp",text:"The exhibition stand design was innovative and drew significant foot traffic to our booth. The team managed the entire project seamlessly from design to installation.",avatar:"https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",rating:5,projectDetails:"ADIPEC 2023 - Custom Interactive Stand"}]}
33,{icon:es,title:"Custom Carpentry & Furniture Fabrication",description:"Precision-crafted furniture and custom carpentry solutions. Our skilled carpenters bring your unique designs to life with exceptional quality and attention to detail.",features:["Bespoke Furniture Design","High-Quality Materials","Expert Craftsmanship","Custom Finishes","Sustainable Materials","Precision Engineering"],color:"purple",gradient:"from-purple-500 to-purple-600",projects:"200+ Pieces",satisfaction:"100% Quality",testimonials:[{name:"Fatima Al-Zahra",position:"Interior Designer",company:"Luxury Hotels Group",text:"The custom furniture pieces created by Evention are absolutely stunning. The craftsmanship is impeccable, and they perfectly match our luxury hotel aesthetic. Every detail was executed flawlessly.",avatar:"https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",rating:5,projectDetails:"Emirates Palace Hotel - Custom Reception Desk"},{name:"Omar Al-Rashid",position:"CEO",company:"Modern Office Solutions",text:"Evention transformed our office space with beautiful custom carpentry work. The attention to detail and quality of materials used exceeded our expectations. Highly professional team.",avatar:"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",rating:5,projectDetails:"Corporate Office Fit-out - Custom Workstations"}]},{icon:ei,title:"Printing & Branding (Large Format, CNC, UV)",description:"State-of-the-art printing services including large format, CNC cutting, and UV printing for all your branding and signage needs with vibrant colors and durability.",features:["Large Format Printing","CNC Cutting Services","UV Printing Technology","Custom Signage","Digital Graphics","Weather Resistant"],color:"green",gradient:"from-green-500 to-green-600",projects:"1000+ Prints",satisfaction:"99% Precision",testimonials:[{name:"Layla Mohammed",position:"Brand Manager",company:"Dubai Shopping Festival",text:"The large format printing quality is outstanding! Colors are vibrant, materials are durable, and the CNC cutting precision is perfect. Our festival branding looked amazing across all venues.",avatar:"https://images.unsplash.com/photo-1534528741775-53994a69daeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",rating:5,projectDetails:"DSF 2024 - Large Format Banners & Signage"},{name:"Khalid Al-Mansoori",position:"Operations Manager",company:"Retail Chain UAE",text:"Evention handled all our store signage with UV printing technology. The quality is exceptional and has maintained its appearance even after months of exposure. Professional service throughout.",avatar:"https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",rating:5,projectDetails:"50+ Retail Stores - UV Printed Signage"}]}],r=[{icon:G,title:"Rental Services",subtitle:"Furniture, Plants, Counters, AV Equipment",description:"Premium rental solutions for events and exhibitions with flexible packages and professional delivery.",features:["Premium Furniture Rental","Plant & D\xe9cor Rental","Counter & Display Rental","AV Equipment Rental","Flexible Packages","Professional Delivery"],color:"from-blue-500 to-purple-500",testimonials:[{name:"Mariam Al-Zaabi",position:"Event Coordinator",company:"Dubai Chamber of Commerce",text:"The rental furniture was in perfect condition and exactly what we needed for our corporate event. Delivery was on time and the team was very professional in setup.",avatar:"https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",rating:5}]},{icon:eo,title:"Event Technicals",subtitle:"Lighting, Painting, Finishing",description:"Complete technical support for events including professional lighting, painting services, and quality finishing.",features:["Professional Lighting","Painting Services","Quality Finishing","Technical Support","Setup & Installation","On-site Management"],color:"from-purple-500 to-pink-500",testimonials:[{name:"Hassan Al-Maktoum",position:"Event Producer",company:"Dubai Events Company",text:"The lighting setup was spectacular and really enhanced the ambiance of our event. The technical team was knowledgeable and handled everything professionally.",avatar:"https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",rating:5}]},{icon:w,title:"Design & Consultation",subtitle:"3D Visualization, Concept Development",description:"Creative design services with 3D visualization and comprehensive consultation for your project needs.",features:["3D Visualization","Concept Development","Brand Integration","Space Planning","Design Consultation","Creative Solutions"],color:"from-indigo-500 to-blue-500",testimonials:[{name:"Nadia Al-R
33ashid",position:"Creative Director",company:"Innovation Hub Dubai",text:"The 3D visualization helped us perfect our design before construction. The creative team understood our vision and brought it to life beautifully.",avatar:"https://images.unsplash.com/photo-1544005313-94ddf0286df2?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",rating:5}]},{icon:P,title:"Project Management",subtitle:"End-to-End Project Delivery",description:"Complete project management services ensuring timely delivery and quality execution from start to finish.",features:["Timeline Management","Quality Control","Budget Management","Vendor Coordination","Progress Reporting","Risk Management"],color:"from-emerald-500 to-teal-500",testimonials:[{name:"Abdullah Al-Suwaidi",position:"Project Director",company:"Abu Dhabi National Oil Company",text:"Exceptional project management from start to finish. Every milestone was met on time and within budget. The team kept us informed throughout the entire process.",avatar:"https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80",rating:5}]}],n=[{step:"01",title:"Consultation & Brief",description:"We start with understanding your requirements, objectives, and vision for the project.",icon:g},{step:"02",title:"Design & Planning",description:"Our design team creates detailed 3D visualizations and comprehensive project plans.",icon:w},{step:"03",title:"Production & Build",description:"In-house production ensures quality control and timely delivery of all components.",icon:es},{step:"04",title:"Installation & Support",description:"Professional installation and ongoing support throughout your event or exhibition.",icon:x}],l=[{icon:v,title:"100% In-House Production",description:"Complete control over quality, timeline, and costs with our integrated facilities."},{icon:P,title:"4+ Years of Excellence",description:"Proven track record with 100+ successful projects across UAE and Morocco."},{icon:g,title:"20+ Expert Team",description:"Skilled professionals across design, carpentry, printing, and project management."},{icon:S,title:"98% Client Satisfaction",description:"Consistently exceeding expectations with quality service and reliable delivery."}],s=t=>Array.from({length:5},(a,r)=>(0,e.jsx)(S,{className:`w-4 h-4 ${r<t?"text-yellow-400 fill-current":"text-gray-300"}`},r));return(0,e.jsx)("div",{className:"min-h-screen bg-gray-50",children:(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-8 pb-12",children:[(0,e.jsxs)("button",{onClick:t,className:"flex items-center gap-2 text-purple-600 hover:text-purple-700 font-semibold mb-8 hover:scale-105 transition-all duration-300",children:[(0,e.jsx)(Q,{className:"w-5 h-5"}),"Back to Home"]}),(0,e.jsxs)("div",{className:"text-center mb-16",children:[(0,e.jsxs)("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-6",children:["Our"," ",(0,e.jsx)("span",{className:"bg-gradient-to-r from-blue-600 via-purple-600 to-pink-600 bg-clip-text text-transparent",children:"Services"})]}),(0,e.jsx)("p",{className:"text-xl text-gray-600 max-w-4xl mx-auto",children:"Comprehensive exhibition and event solutions delivered through our integrated in-house capabilities. From initial concept to final installation, we handle every aspect of your project with precision and expertise."})]}),(0,e.jsxs)("div",{className:"mb-20",children:[(0,e.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-gray-900 text-center mb-12",children:"Core Services"}),(0,e.jsx)("div",{className:"space-y-16",children:a.map((t,a)=>{let r=t.icon;return(0,e.jsx)("div",{className:"bg-white rounded-2xl shadow-lg overflow-hidden",children:(0,e.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[(0,e.jsxs)("div",{className:"p-8",children:[(0,e.jsx)("div",{className:`bg-gradient-to-r ${t.gradient} p-4 rounded-xl inline-block mb-6`,children:(0,e.jsx)(r,{className:"w-8 h-8 text-white"})}),(0,e.jsx)("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:t.title}),(0,e.jsx)("p",{className:"text-gray-600 mb-6 leading-relaxed",children:t.description}),(0,e.jsxs)("div",{className:"grid grid-cols-2 gap-4 mb-6",children:[(0,e.jsxs)("div",{className:"text-center p-3 bg-gray-50 rounded-lg",children:[(0,e.jsx)("div",{className:"text-2xl font-bold text-purple-600",children:t.projects}),(0,e.jsx)("div",{className:"text-sm text-gray-600",children:"Completed"})]}),(0,e.jsxs)("div",{className:"text-center p-3 bg-gray-50 rounded-lg",children:[(0,e.jsx)("div",{className:"text-2xl font-bold text-green-600",children:t.satisfaction}),(0,e.jsx)("div",{className:"text-sm text-gray-600",children:"Quality"})]})]}),(0,e.jsx)("ul",{className:"space-y-2 mb-6",children:t.features.map((t,a)=>(0,e.jsxs)("li",{className:"flex items-center gap-3",children:[(0,e.jsx)(x,{className:"w-4 h-4 text-green-500 flex-shrink-0"}),(0,e.jsx)("span",{className:"text-gray-700 text-sm",children:t})]},a))}),(0,e.jsxs)("button",{className:"bg-gradient-to-r from-purple-600 to-blue-600 text-white px-6 py-3 rounded-lg font-semibold hover:shadow-lg hover:from-purple-700 hover:to-blue-700 transition-all duration-300 transform hover:scale-105 flex items-center gap-2",children:["Get Quote for This Service",(0,e.jsx)(N,{className:"w-4 h-4"})]})]}),(0,e.jsxs)("div",{className:"p-8 bg-gradient-to-br from-gray-50 to-blue-50",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 mb-6",children:[(0,e.jsx)(ec,{className:"w-6 h-6 text-purple-600"}),(0,e.jsx)("h4",{className:"text-lg font-bold text-gray-900",children:"Client Success Stories"})]}),(0,e.jsx)("div",{className:"space-y-6",children:t.testimonials.map((t,a)=>(0,e.jsxs)("div",{className:"bg-white rounded-xl p-6 shadow-sm hover:shadow-md transition-all duration-300",children:[(0,e.jsx)("div",{className:"flex items-center mb-3",children:s(t.rating)}),(0,e.jsxs)("p",{className:"text-gray-600 mb-4 leading-relaxed text-sm",children:['"',t.text,'"']}),(0,e.jsx)("div",{className:"bg-purple-50 rounded-lg p-3 mb-4",children:(0,e.jsxs)("p",{className:"text-purple-700 text-xs font-medium",children:["Project: ",t.projectDetails]})}),(0,e.jsxs)("div",{className:"flex items-center",children:[(0,e.jsx)("img",{src:t.avatar,alt:t.name,className:"w-10 h-10 rounded-full object-cover mr-3"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h5",{className:"font-semibold text-gray-900 text-sm",children:t.name}),(0,e.jsx)("p",{className:"text-xs text-gray-600",children:t.position}),(0,e.jsx)("p",{className:"text-xs text-purple-600 font-medium",children:t.company})]})]})]},a))})]})]})},a)})})]}),(0,e.jsxs)("div",{className:"mb-20",children:[(0,e.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-gray-900 text-center mb-12",children:"Additional Services"}),(0,e.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:r.map((t,a)=>{let r=t.icon;return(0,e.jsx)("div",{className:"bg-white rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105 overflow-hidden group",children:(0,e.jsxs)("div",{className:"p-8",children:[(0,e.jsx)("div",{className:`w-16 h-16 bg-gradient-to-r ${t.color} rounded-xl flex items-center justify-center mb-6 group-hover:scale-110 transition-transform duration-300`,children:(0,e.jsx)(r,{className:"w-8 h-8 text-white"})}),(0,e.jsx)("h3",{className:"text-xl font-bold text-gray-900 mb-2 group-hover:text-purple-600 transition-colors duration-300",children:t.title}),(0,e.jsx)("p",{className:"text-purple-600 font-medium text-sm mb-4",children:t.subtitle}),(0,e.jsx)("p",{className:"text-gray-600 mb-6 leading-relaxed",children:t.description}),(0,e.jsx)("ul",{className:"space-y-2 mb-6",children:t.features.map((t,a)=>(0,e.jsxs)("li",{className:"flex items-center gap-2 text-sm",children:[(0,e.jsx)(x,{className:"w-4 h-4 text-green-500"}),(0,e.jsx)("span",{className:"text-gray-700",children:t})]},a))}),t.testimonials&&t.testimonials.length>0&&(0,e.jsxs)("div",{className:"bg-gradient-to-r from-purple-50 to-blue-50 rounded-lg p-4 mb-6",children:[(0,e.jsx)("div",{className:"flex items-center mb-2",children:s(t.testimonials[0].rating)}),(0,e.jsxs)("p",{className:"text-gray-600 text-sm mb-3 leading-relaxed",children:['"',t.testimonials[0].text,'"']}),(0,e.jsxs)("div",{className:"flex items-center",children:[(0,e.jsx)("img",{src:t.testimonials[0].avatar,alt:t.testimonials[0].name,className:"w-8 h-8 rounded-full object-cover mr-2"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-semibold text-gray-900 text-xs",children:t.testimonials[0].name}),(0,e.jsx)("p",{className:"text-purple-600 text-xs",children:t.testimonials[0].c
33ompany})]})]})]}),(0,e.jsxs)("button",{className:"text-blue-600 font-semibold hover:text-blue-700 hover:scale-110 transition-all duration-300 flex items-center gap-2 group-hover:gap-4",children:["Learn More",(0,e.jsx)(N,{className:"w-4 h-4 transition-all duration-300"})]})]})},a)})})]}),(0,e.jsxs)("div",{className:"mb-20",children:[(0,e.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-gray-900 text-center mb-12",children:"Our Process"}),(0,e.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:n.map((t,a)=>{let r=t.icon;return(0,e.jsxs)("div",{className:"text-center group",children:[(0,e.jsxs)("div",{className:"relative mb-6",children:[(0,e.jsx)("div",{className:"w-20 h-20 bg-gradient-to-r from-purple-600 to-blue-600 rounded-full flex items-center justify-center mx-auto mb-4 group-hover:scale-110 transition-transform duration-300",children:(0,e.jsx)(r,{className:"w-10 h-10 text-white"})}),(0,e.jsx)("div",{className:"absolute -top-2 -right-2 w-8 h-8 bg-yellow-400 rounded-full flex items-center justify-center text-sm font-bold text-gray-900",children:t.step})]}),(0,e.jsx)("h3",{className:"text-lg font-bold text-gray-900 mb-3 group-hover:text-purple-600 transition-colors duration-300",children:t.title}),(0,e.jsx)("p",{className:"text-gray-600 text-sm leading-relaxed",children:t.description})]},a)})})]}),(0,e.jsxs)("div",{className:"mb-20",children:[(0,e.jsx)("h2",{className:"text-2xl md:text-3xl font-bold text-gray-900 text-center mb-12",children:"Why Choose Evention"}),(0,e.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8",children:l.map((t,a)=>{let r=t.icon;return(0,e.jsxs)("div",{className:"text-center bg-white rounded-xl p-6 shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105",children:[(0,e.jsx)("div",{className:"w-16 h-16 bg-gradient-to-r from-purple-600 to-blue-600 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,e.jsx)(r,{className:"w-8 h-8 text-white"})}),(0,e.jsx)("h3",{className:"text-lg font-bold text-gray-900 mb-3",children:t.title}),(0,e.jsx)("p",{className:"text-gray-600 text-sm leading-relaxed",children:t.description})]},a)})})]}),(0,e.jsxs)("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 rounded-2xl p-8 text-center text-white",children:[(0,e.jsx)("h3",{className:"text-2xl md:text-3xl font-bold mb-4",children:"Ready to Start Your Project?"}),(0,e.jsx)("p",{className:"text-lg mb-8 opacity-90 max-w-2xl mx-auto",children:"Get a free consultation with our experts. We'll discuss your requirements and provide a detailed quote within 24 hours."}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4 mb-8",children:[(0,e.jsxs)("div",{className:"flex items-center justify-center gap-2 hover:scale-110 transition-transform duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-green-300"}),(0,e.jsx)("span",{className:"text-sm",children:"Free Consultation"})]}),(0,e.jsxs)("div",{className:"flex items-center justify-center gap-2 hover:scale-110 transition-transform duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-green-300"}),(0,e.jsx)("span",{className:"text-sm",children:"24-Hour Response"})]}),(0,e.jsxs)("div",{className:"flex items-center justify-center gap-2 hover:scale-110 transition-transform duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-green-300"}),(0,e.jsx)("span",{className:"text-sm",children:"In-House Production"})]}),(0,e.jsxs)("div",{className:"flex items-center justify-center gap-2 hover:scale-110 transition-transform duration-300 cursor-default",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-green-300"}),(0,e.jsx)("span",{className:"text-sm",children:"Project Management"})]})]}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[(0,e.jsx)("button",{className:"bg-white text-purple-600 px-8 py-4 rounded-lg font-bold text-lg hover:bg-gray-100 hover:scale-110 hover:shadow-lg transition-all duration-300 transform active:scale-95",children:"Request Custom Quote"}),(0,e.jsxs)("button",{className:"bg-white/20 backdrop-blur-sm text-white border border-white/30 px-8 py-4 rounded-lg font-bold text-lg hover:bg-white/30 hover:scale-110 hover:shadow-lg transition-all duration-300 transform active:scale-95 flex items-center justify-center gap-2",children:[(0,e.jsx)(C,{className:"w-5 h-5"}),"Download Service Brochure"]})]})]})]})})},ed=o("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]),em=o("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]),ep=o("settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}
33]]),ef=o("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]),eh=o("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]),ex=o("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]),eg=o("loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]),eb=o("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]),ey=o("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]),ev=o("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]),ej=({onNotification:a})=>{let[r,n]=(0,t.useState)(null),[l,s]=(0,t.useState)(!0),[i,o]=(0,t.useState)(!1),[c,u]=(0,t.useState)(!1),[d,m]=(0,t.useState)({}),p=async()=>{s(!0);try{let e=await fetch("/api/taskade/projects/q2twhNeWqnQmdSJf/nodes"),t=await e.json();if(t.ok&&t.payload.nodes.length>0){let e=t.payload.nodes[0],a={id:e.id,companyName:e.fieldValues["/attributes/@comp1"]||"",description:e.fieldValues["/attributes/@comp2"]||"",missionStatement:e.fieldValues["/attributes/@comp3"]||"",uaeOfficeAddress:e.fieldValues["/attributes/@comp4"]||"",uaePhone:e.fieldValues["/attributes/@comp5"]||"",uaeEmail:e.fieldValues["/attributes/@comp6"]||"",moroccoOfficeAddress:e.fieldValues["/attributes/@comp7"]||"",moroccoPhone:e.fieldValues["/attributes/@comp8"]||"",moroccoEmail:e.fieldValues["/attributes/@comp9"]||"",businessHours:e.fieldValues["/attributes/@comp10"]||"",socialMediaLinks:e.fieldValues["/attributes/@comp11"]||"",lastUpdated:e.fieldValues["/attributes/@comp12"]||new Date().toISOString()};n(a),m(a)}}catch(e){console.error("Error fetching company info:",e),a("error","Failed to load company information")}finally{s(!1)}},f=async()=>{if(r&&d){u(!0);try{let e={"/attributes/@comp1":d.companyName||"","/attributes/@comp2":d.description||"","/attributes/@comp3":d.missionStatement||"","/attributes/@comp4":d.uaeOfficeAddress||"","/attributes/@comp5":d.uaePhone||"","/attributes/@comp6":d.uaeEmail||"","/attributes/@comp7":d.moroccoOfficeAddress||"","/attributes/@comp8":d.moroccoPhone||"","/attributes/@comp9":d.moroccoEmail||"","/attributes/@comp10":d.businessHours||"","/attributes/@comp11":d.socialMediaLinks||"","/attributes/@comp12":new Date().toISOString()};if((await fetch(`/api/taskade/projects/q2twhNeWqnQmdSJf/nodes/${r.id}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok)n({...r,...d,lastUpdated:new Date().toISOString()}),o(!1),a("success","Company information updated successfully");else throw Error("Failed to update company information")}catch(e){console.error("Error saving company info:",e),a("error","Failed to save company information")}finally{u(!1)}}},h=(e,t)=>{m(a=>({...a,[e]:t}))};return((0,t.useEffect)(()=>{p()},[]),l)?(0,e.jsxs)("div",{className:"flex items-center justify-center py-12",children:[(0,e.jsx)(eg,{className:"w-8 h-8 animate-spin text-purple-600"}),(0,e.jsx)("span",{className:"ml-2 text-gray-600",children:"Loading company information..."})]}):r?(0,e.jsxs)("div",{className:"space-y-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h2",{className:"text-2xl font-bold text-gray-900",children:"Company Information"}),(0,e.jsx)("p",{className:"text-gray-600",children:"Manage your company details and contact information"})]}),(0,e.jsx)("div",{className:"flex items-center gap-3",children:i?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("button",{onClick:()=>{m(r||{}),o(!1)}
33,disabled:c,className:"px-4 py-2 text-gray-600 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors disabled:opacity-50",children:"Cancel"}),(0,e.jsx)("button",{onClick:f,disabled:c,className:"px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors disabled:opacity-50 flex items-center gap-2",children:c?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(eg,{className:"w-4 h-4 animate-spin"}),"Saving..."]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(eb,{className:"w-4 h-4"}),"Save Changes"]})})]}):(0,e.jsxs)("button",{onClick:()=>o(!0),className:"px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors flex items-center gap-2",children:[(0,e.jsx)(ey,{className:"w-4 h-4"}),"Edit Information"]})})]}),(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[(0,e.jsxs)("div",{className:"space-y-6",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,e.jsx)(v,{className:"w-5 h-5 text-purple-600"}),(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:"Basic Information"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Company Name"}),i?(0,e.jsx)("input",{type:"text",value:d.companyName||"",onChange:e=>h("companyName",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Enter company name"}):(0,e.jsx)("p",{className:"text-gray-900 font-medium",children:r.companyName||"Not set"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Description"}),i?(0,e.jsx)("textarea",{value:d.description||"",onChange:e=>h("description",e.target.value),rows:4,className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent resize-none",placeholder:"Enter company description"}):(0,e.jsx)("p",{className:"text-gray-700",children:r.description||"Not set"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Mission Statement"}),i?(0,e.jsx)("textarea",{value:d.missionStatement||"",onChange:e=>h("missionStatement",e.target.value),rows:3,className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent resize-none",placeholder:"Enter mission statement"}):(0,e.jsx)("p",{className:"text-gray-700",children:r.missionStatement||"Not set"})]})]}),(0,e.jsxs)("div",{className:"space-y-6",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 mb-4",children:[(0,e.jsx)(b,{className:"w-5 h-5 text-purple-600"}),(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:"Contact Information"})]}),(0,e.jsxs)("div",{className:"bg-blue-50 rounded-lg p-4",children:[(0,e.jsx)("h4",{className:"font-semibold text-blue-900 mb-3",children:"UAE Office"}),(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Address"}),i?(0,e.jsx)("input",{type:"text",value:d.uaeOfficeAddress||"",onChange:e=>h("uaeOfficeAddress",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"UAE office address"}):(0,e.jsx)("p",{className:"text-gray-700",children:r.uaeOfficeAddress||"Not set"})]}),(0,e.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Phone"}),i?(0,e.jsx)("input",{type:"text",value:d.uaePhone||"",onChange:e=>h("uaePhone",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"UAE phone"}):(0,e.jsx)("p",{className:"text-gray-700",children:r.uaePhone||"Not set"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Email"}),i?(0,e.jsx)("input",{type:"email",value:d.uaeEmail||"",onChange:e=>h("uaeEmail",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"UAE email"}):(0,e.jsx)("p",{className:"text-gray-700",children:r.uaeEmail||"Not set"})]})]})]})]}),(0,e.jsxs)("div",{className:"bg-green-50 rounded-lg p-4",children:[(0,e.jsx)("h4",{className:"font-semibold text-green-900 mb-3",children:"Morocco Office"}),(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Address"}),i?(0,e.jsx)("input",{type:"text",value:d.moroccoOfficeAddress||"",onChange:e=>h("moroccoOfficeAddress",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Morocco office address"}):(0,e.jsx)("p",{className:"text-gray-700",children:r.moroccoOfficeAddress||"Not set"})]}),(0,e.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Phone"}),i?(0,e.jsx)("input",{type:"text",value:d.moroccoPhone||"",onChange:e=>h("moroccoPhone",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Morocco phone"}):(0,e.jsx)("p",{className:"text-gray-700",children:r.moroccoPhone||"Not set"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"Email"}),i?(0,e.jsx)("input",{type:"email",value:d.moroccoEmail||"",onChange:e=>h("moroccoEmail",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Morocco email"}):(0,e.jsx)("p",{className:"text-gray-700",children:r.moroccoEmail||"Not set"})]})]})]})]}),(0,e.jsxs)("div",{className:"space-y-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)(F,{className:"w-4 h-4 inline mr-1"}),"Business Hours"]}),i?(0,e.jsx)("input",{type:"text",value:d.businessHours||"",onChange:e=>h("businessHours",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"e.g., Mon-Fri: 8:00 AM - 6:00 PM"}):(0,e.jsx)("p",{className:"text-gray-700",children:r.businessHours||"Not set"})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)(ev,{className:"w-4 h-4 inline mr-1"}),"Social Media Links"]}),i?(0,e.jsx)("textarea",{value:d.socialMediaLinks||"",onChange:e=>h("socialMediaLinks",e.target.value),rows:3,className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent resize-none",placeholder:"Enter social media links (one per line)"}):(0,e.jsx)("p",{className:"text-gray-700",children:r.socialMediaLinks||"Not set"})]})]})]})]}),(0,e.jsx)("div",{className:"mt-6 pt-6 border-t border-gray-200",children:(0,e.jsxs)("div",{className:"flex items-center gap-2 text-sm text-gray-500",children:[(0,e.jsx)(x,{className:"w-4 h-4"}),(0,e.jsxs)("span",{children:["Last updated: ",new Date(r.lastUpdated).toLocaleStr
33ing()]})]})})]})]}):(0,e.jsxs)("div",{className:"text-center py-12",children:[(0,e.jsx)(eh,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"No Company Information Found"}),(0,e.jsx)("p",{className:"text-gray-600",children:"Please check your data source or try again later."})]})},ew=o("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]),eN=o("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]),ek=o("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),eS=o("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]),eC=o("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"}]]),eE=o("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]),eP=o("file",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]),eM=o("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]),eT=o("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]),eD=o("music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]),eL=o("archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]),eA=o("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]]),ez=o("grid-3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]),eF=o("list",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]),eO=o("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]),e_=({onNotification:a,onFileSelect:r,selectionMode:n=!1})=>{let[l,s]=(0,t.useState)([]),[i,o]=(0,t.useState)(!1),[c,u]=(0,t.useState)(!1),[d,m]=(0,t.useState)(""),[f,h]=(0,t.useState)("all"),[g,b]=(0,t.useState)("all"),[y,v]=(0,t.useState)("grid"),[j,w]=(0,t.useState)([]),[N,S]=(0,t.useState)("root"),[E,P]=(0,t.useState)(!1),[M,T]=(0,t.useState)(""),[D,L]=(0,t.useState)(null),[A,z]=(0,t.useState)(!1),F=(0,t.useRef)(null),O=(0,t.useRef)(null),_=[{id:"1",name:"dubai-tech-summit-2024.jpg",type:"image/jpeg",size:2048576,url:"https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",uploadDate:"2024-01-15T10:30:00Z",category:"image",folder:"projects",thumbnail:"https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80"},{id:"2",name:"company-profile.pdf",type:"application/pdf",size:5242880,url:"/documents/company-profile.pdf",uploadDate:"2024-01-14T15:45:00Z",category:"document",folder:"documents"},{id:"3",name:"emirates-hotel-furniture.jpg",type:"image/jpeg",size:1536e3,url:"https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",uploadDate:"2024-01-13T09:20:00Z",category:"image",folder:"projects",thumbnail:"https://images.unsplash.com/photo-1586023492125-27b2c045efd7?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80"},{id:"4",name:"testimonial-video.mp4",type:"video/mp4",size:0xf00000,url:"/videos/testimonial-video.mp4",uploadDate:"2024-01-12T14:15:00Z",category:"video",folder:"testimonials"}],R=[{value:"all",label:"All Files",icon:eP},{value:"image",label:"Images",icon:em},{value:"document",label:"Documents",icon:eM},{value:"video",label:"Videos",icon:eT},{value:"audio",label:"Audio",icon:eD},{value:"other",label:"Other",icon:eL}];(0,t.useEffect)(()=>{s(_)},[]);let I=async e=>{u(!0);try{let t=[];for(let r=0;r<e.length;r++){let n=e[r];if(n.size>0xa00000){a("error",`File ${n.name} is too large (max 10MB)`);continue}
33let l={id:Date.now().toString()+r,name:n.name,type:n.type,size:n.size,url:URL.createObjectURL(n),uploadDate:new Date().toISOString(),category:q(n.type),folder:N,thumbnail:n.type.startsWith("image/")?URL.createObjectURL(n):void 0};t.push(l)}s(e=>[...e,...t]),a("success",`${t.length} file(s) uploaded successfully`)}catch(e){console.error("Upload error:",e),a("error","Failed to upload files")}finally{u(!1)}},q=e=>e.startsWith("image/")?"image":e.startsWith("video/")?"video":e.startsWith("audio/")?"audio":e.includes("pdf")||e.includes("document")||e.includes("text")?"document":"other",V=e=>{if(0===e)return"0 Bytes";let t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(2))+" "+["Bytes","KB","MB","GB"][t]},U=e=>{switch(e){case"image":return em;case"video":return eT;case"audio":return eD;case"document":return eM;default:return eP}},H=e=>{confirm("Are you sure you want to delete this file?")&&(s(t=>t.filter(t=>t.id!==e)),a("success","File deleted successfully"))},$=e=>{navigator.clipboard.writeText(e),a("success","File URL copied to clipboard")},B=l.filter(e=>{let t=e.name.toLowerCase().includes(d.toLowerCase()),a="all"===f||e.category===f,r="all"===g||e.folder===g;return t&&a&&r});return(0,e.jsxs)("div",{className:"space-y-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h2",{className:"text-2xl font-bold text-gray-900",children:"Media Manager"}),(0,e.jsx)("p",{className:"text-gray-600",children:"Upload and manage images, documents, and other files"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsxs)("button",{onClick:()=>P(!0),className:"px-4 py-2 text-gray-600 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors flex items-center gap-2",children:[(0,e.jsx)(eA,{className:"w-4 h-4"}),"New Folder"]}),(0,e.jsx)("button",{onClick:()=>F.current?.click(),disabled:c,className:"px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors flex items-center gap-2 disabled:opacity-50",children:c?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(eg,{className:"w-4 h-4 animate-spin"}),"Uploading..."]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(ef,{className:"w-4 h-4"}),"Upload Files"]})})]})]}),(0,e.jsxs)("div",{ref:O,onDragOver:e=>{e.preventDefault(),z(!0)},onDragLeave:e=>{e.preventDefault(),z(!1)},onDrop:e=>{e.preventDefault(),z(!1);let t=e.dataTransfer.files;t.length>0&&I(t)},className:`border-2 border-dashed rounded-xl p-8 text-center transition-all duration-300 ${A?"border-purple-500 bg-purple-50":"border-gray-300 hover:border-purple-400 hover:bg-gray-50"}`,children:[(0,e.jsx)(ef,{className:"w-12 h-12 text-gray-400 mx-auto mb-4"}),(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"Drop files here or click to upload"}),(0,e.jsx)("p",{className:"text-gray-600 mb-4",children:"Support for images, documents, videos, and more (max 10MB per file)"}),(0,e.jsx)("button",{onClick:()=>F.current?.click(),className:"px-6 py-3 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors",children:"Choose Files"})]}),(0,e.jsx)("input",{ref:F,type:"file",multiple:!0,className:"hidden",onChange:e=>e.target.files&&I(e.target.files),accept:"image/*,video/*,audio/*,.pdf,.doc,.docx,.txt,.zip,.rar"}),(0,e.jsx)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-5 gap-4 items-center",children:[(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)(J,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-4 h-4"}),(0,e.jsx)("input",{type:"text",placeholder:"Search files...",value:d,onChange:e=>m(e.target.value),className:"w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent"})]}),(0,e.jsx)("select",{value:f,onChange:e=>h(e.target.value),className:"px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:R.map(t=>(0,e.jsx)("option",{value:t.value,children:t.label},t.value))}),(0,e.jsxs)("select",{value:g,onChange:e=>b(e.target.value),className:"px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:[(0,e.jsx)("option",{value:"all",children:"All Folders"}),["root","projects","documents","testimonials","marketing"].map(t=>(0,e.jsx)("option",{value:t,children:t},t))]}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("button",{onClick:()=>v("grid"),className:`p-2 rounded-lg transition-colors ${"grid"===y?"bg-purple-100 text-purple-600":"text-gray-400 hover:text-gray-600"}`,children:(0,e.jsx)(ez,{className:"w-4 h-4"})}),(0,e.jsx)("button",{onClick:()=>v("list"),className:`p-2 rounded-lg transition-colors ${"list"===y?"bg-purple-100 text-purple-600":"text-gray-400 hover:text-gray-600"}`,children:(0,e.jsx)(eF,{className:"w-4 h-4"})})]}),(0,e.jsxs)("div",{className:"text-sm text-gray-600 flex items-center",children:[(0,e.jsx)(X,{className:"w-4 h-4 mr-1"}),B.length," of ",l.length," files"]})]})}),"grid"===y?(0,e.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 gap-4",children:B.map(t=>{let a=U(t.category),l=j.includes(t.id);return(0,e.jsxs)("div",{className:`bg-white rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105 overflow-hidden cursor-pointer ${l?"ring-2 ring-purple-500":""} ${n?"hover:ring-2 hover:ring-purple-300":""}`,onClick:()=>{n?(e=>{w(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])})(t.id):r&&r(t)},children:[(0,e.jsxs)("div",{className:"relative h-32 bg-gray-100 flex items-center justify-center",children:[t.thumbnail?(0,e.jsx)("img",{src:t.thumbnail,alt:t.name,className:"w-full h-full object-cover"}):(0,e.jsx)(a,{className:"w-12 h-12 text-gray-400"}),n&&(0,e.jsx)("div",{className:`absolute top-2 right-2 w-5 h-5 rounded-full border-2 flex items-center justify-center ${l?"bg-purple-600 border-purple-600":"bg-white border-gray-300"}`,children:l&&(0,e.jsx)(x,{className:"w-3 h-3 text-white"})})]}),(0,e.jsxs)("div",{className:"p-3",children:[(0,e.jsx)("h3",{className:"font-medium text-gray-900 text-sm truncate mb-1",children:t.name}),(0,e.jsx)("p",{className:"text-xs text-gray-500 mb-2",children:V(t.size)}),!n&&(0,e.jsxs)("div",{className:"flex justify-between items-center",children:[(0,e.jsx)("span",{className:"text-xs text-purple-600 font-medium",children:t.folder}),(0,e.jsxs)("div",{className:"flex gap-1",children:[(0,e.jsx)("button",{onClick:e=>{e.stopPropagation(),L(t)},className:"p-1 text-gray-400 hover:text-blue-600 transition-colors",title:"Preview",children:(0,e.jsx)(ee,{className:"w-3 h-3"})}),(0,e.jsx)("button",{onClick:e=>{e.stopPropagation(),$(t.url)},className:"p-1 text-gray-400 hover:text-green-600 transition-colors",title:"Copy URL",children:(0,e.jsx)(eO,{className:"w-3 h-3"})}),(0,e.jsx)("button",{onClick:e=>{e.stopPropagation(),H(t.id)},className:"p-1 text-gray-400 hover:text-red-600 transition-colors",title:"Delete",children:(0,e.jsx)(eN,{
33className:"w-3 h-3"})})]})]})]})]},t.id)})}):(0,e.jsx)("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden",children:(0,e.jsx)("div",{className:"overflow-x-auto",children:(0,e.jsxs)("table",{className:"w-full",children:[(0,e.jsx)("thead",{className:"bg-gray-50",children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"File"}),(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Size"}),(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Type"}),(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Folder"}),(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Uploaded"}),(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Actions"})]})}),(0,e.jsx)("tbody",{className:"bg-white divide-y divide-gray-200",children:B.map(t=>{let a=U(t.category);return(0,e.jsxs)("tr",{className:"hover:bg-gray-50",children:[(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",children:(0,e.jsxs)("div",{className:"flex items-center",children:[(0,e.jsx)("div",{className:"w-10 h-10 bg-gray-100 rounded-lg flex items-center justify-center mr-3",children:(0,e.jsx)(a,{className:"w-5 h-5 text-gray-400"})}),(0,e.jsx)("div",{children:(0,e.jsx)("div",{className:"text-sm font-medium text-gray-900",children:t.name})})]})}),(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:V(t.size)}),(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:t.type}),(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",children:(0,e.jsx)("span",{className:"px-2 py-1 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800",children:t.folder})}),(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:new Date(t.uploadDate).toLocaleDateString()}),(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium",children:(0,e.jsxs)("div",{className:"flex space-x-2",children:[(0,e.jsx)("button",{onClick:()=>L(t),className:"text-blue-600 hover:text-blue-900",title:"Preview",children:(0,e.jsx)(ee,{className:"w-4 h-4"})}),(0,e.jsx)("button",{onClick:()=>$(t.url),className:"text-green-600 hover:text-green-900",title:"Copy URL",children:(0,e.jsx)(eO,{className:"w-4 h-4"})}),(0,e.jsx)("a",{href:t.url,download:t.name,className:"text-purple-600 hover:text-purple-900",title:"Download",children:(0,e.jsx)(C,{className:"w-4 h-4"})}),(0,e.jsx)("button",{onClick:()=>H(t.id),className:"text-red-600 hover:text-red-900",title:"Delete",children:(0,e.jsx)(eN,{className:"w-4 h-4"})})]})})]},t.id)})})]})})}),0===B.length&&(0,e.jsxs)("div",{className:"text-center py-12",children:[(0,e.jsx)(ef,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"No Files Found"}),(0,e.jsx)("p",{className:"text-gray-600",children:d||"all"!==f||"all"!==g?"Try adjusting your filters or search terms.":"Upload your first file to get started."})]}),E&&(0,e.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",children:(0,e.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl max-w-md w-full",children:[(0,e.jsx)("div",{className:"p-6 border-b border-gray-200",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:"Create New Folder"}),(0,e.jsx)("button",{onClick:()=>P(!1),className:"text-gray-400 hover:text-gray-600",children:(0,e.jsx)(p,{className:"w-6 h-6"})})]})}),(0,e.jsxs)("div",{className:"p-6",children:[(0,e.jsxs)("div",{className:"mb-4",children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Folder Name"}),(0,e.jsx)("input",{type:"text",value:M,onChange:e=>T(e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Enter folder name",autoFocus:!0})]}),(0,e.jsxs)("div",{className:"flex justify-end gap-3",children:[(0,e.jsx)("button",{onClick:()=>P(!1),className:"px-4 py-2 text-gray-600 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors",children:"Cancel"}),(0,e.jsxs)("button",{onClick:()=>{M.trim()&&(a("success",`Folder "${M}" created`),T(""),P(!1))},disabled:!M.trim(),className:"px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors disabled:opacity-50 flex items-center gap-2",children:[(0,e.jsx)(k,{className:"w-4 h-4"}),"Create Folder"]})]})]})]})}),(0,e.jsx)(()=>D?(0,e.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75 z-50 flex items-center justify-center p-4",children:(0,e.jsxs)("div",{className:"bg-white rounded-2xl max-w-4xl w-full max-h-[90vh] overflow-hidden",children:[(0,e.jsxs)("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:D.name}),(0,e.jsx)("button",{onClick:()=>L(null),className:"text-gray-400 hover:text-gray-600",children:(0,e.jsx)(p,{className:"w-6 h-6"})})]}),(0,e.jsxs)("div",{className:"p-6",children:["image"===D.category?(0,e.jsx)("img",{src:D.url,alt:D.name,className:"max-w-full max-h-96 mx-auto rounded-lg"}):(0,e.jsxs)("div",{className:"text-center py-12",children:[(0,e.jsx)("div",{className:"w-24 h-24 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-4",children:t.createElement(U(D.category),{className:"w-12 h-12 text-gray-400"})}),(0,e.jsx)("p",{className:"text-gray-600",children:"Preview not available for this file type"}),(0,e.jsxs)("a",{href:D.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 mt-4 px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors",children:[(0,e.jsx)(C,{className:"w-4 h-4"}),"Download File"]})]}),(0,e.jsxs)("div",{className:"mt-6 grid grid-cols-2 gap-4 text-sm",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{className:"font-medium text-gray-700",children:"File Size:"}),(0,e.jsx)("span",{className:"ml-2 text-gray-600",children:V(D.size)})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{className:"font-medium text-gray-700",children:"Type:"}),(0,e.jsx)("span",{className:"ml-2 text-gray-600",children:D.type})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{className:"font-medium text-gray-700",children:"Uploaded:"}),(0,e.jsx)("span",{className:"ml-2 text-gray-600",children:new Date(D.uploadDate).toLocaleDateString()})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("span",{className:"font-medium text-gray-700",children:"Folder:"}),(0,e.jsx)("span",{className:"ml-2 text-gray-600",children:D.folder})]})]})]})]})}):null,{})]})},eR=({isOpen:a,onClose:r,onFileSelect:n,acceptedTypes:l=[],title:s="Select File",multiple:i=!1})=>{let[o,c]=(0,t.useState)([]);return a?(0,e.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",children:(0,e.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl max-w-6xl w-full max-h-[90vh] overflow-hidden",children:[(0,e.jsx)("div",{className:"p-6 border-b border-gray-200",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h3",{className:"text-xl font-bold text-gray-900",children:s}),(0,e.jsx)("p",{className:"text-gray-600 text-sm",children:l.length>0?`Accepted types: ${l.join(", ")}`:"All file types accepted"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[i&&o.length>0&&(0,e.jsxs)("button",{onClick:()=>{i&&o.length>
330&&(o.forEach(e=>n(e)),c([]),r())},className:"px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors flex items-center gap-2",children:[(0,e.jsx)(x,{className:"w-4 h-4"}),"Select ",o.length," File",1!==o.length?"s":""]}),(0,e.jsx)("button",{onClick:r,className:"text-gray-400 hover:text-gray-600 transition-colors",children:(0,e.jsx)(p,{className:"w-6 h-6"})})]})]})}),(0,e.jsx)("div",{className:"p-6 overflow-y-auto max-h-[calc(90vh-120px)]",children:(0,e.jsx)(e_,{onNotification:()=>{},onFileSelect:e=>{i?c(t=>t.find(t=>t.id===e.id)?t.filter(t=>t.id!==e.id):[...t,e]):(n(e),r())},selectionMode:!0})})]})}):null},eI=({value:a,onChange:r,multiple:n=!1,maxFiles:l=5,maxSize:s=10,acceptedTypes:i=["image/*"],label:o,placeholder:c="Upload images or enter URL",required:u=!1,className:d="",onNotification:m})=>{let[f,h]=(0,t.useState)(!1),[x,g]=(0,t.useState)(!1),[b,y]=(0,t.useState)(!1),[v,j]=(0,t.useState)(""),[w,N]=(0,t.useState)(!1),[k,S]=(0,t.useState)(null),C=(0,t.useRef)(null),E=(0,t.useRef)(null),P=n&&Array.isArray(a)?a:a?[a]:[],M=async e=>{if(n&&P.length+e.length>l)return void m?.("error",`Maximum ${l} files allowed`);h(!0);try{let t=[];for(let a=0;a<e.length;a++){let r=e[a];if(r.size>1024*s*1024){m?.("error",`File ${r.name} is too large (max ${s}MB)`);continue}if(!i.some(e=>"image/*"===e?r.type.startsWith("image/"):r.type===e)){m?.("error",`File ${r.name} is not a supported type`);continue}let n=URL.createObjectURL(r);t.push(n)}t.length>0&&(n?r([...P,...t]):r(t[0]),m?.("success",`${t.length} file(s) uploaded successfully`))}catch(e){console.error("Upload error:",e),m?.("error","Failed to upload files")}finally{h(!1)}};return(0,e.jsxs)("div",{className:`space-y-4 ${d}`,children:[o&&(0,e.jsxs)("label",{className:"block text-sm font-medium text-gray-700",children:[o," ",u&&(0,e.jsx)("span",{className:"text-red-500",children:"*"})]}),P.length>0&&(0,e.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:P.map((t,a)=>(0,e.jsxs)("div",{className:"relative group",children:[(0,e.jsx)("div",{className:"aspect-square bg-gray-100 rounded-lg overflow-hidden",children:(0,e.jsx)("img",{src:t,alt:`Upload ${a+1}`,className:"w-full h-full object-cover",onError:e=>{e.target.src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIiBmaWxsPSIjRjNGNEY2Ii8+CjxwYXRoIGQ9Ik0xMDAgMTAwTDEwMCAxMDBaIiBzdHJva2U9IiM5Q0EzQUYiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K"}})}),(0,e.jsx)("div",{className:"absolute inset-0 bg-black bg-opacity-50 opacity-0 group-hover:opacity-100 transition-opacity duration-200 rounded-lg flex items-center justify-center",children:(0,e.jsxs)("div",{className:"flex gap-2",children:[(0,e.jsx)("button",{onClick:()=>S(t),className:"p-2 bg-white rounded-full text-gray-700 hover:bg-gray-100 transition-colors",title:"Preview",children:(0,e.jsx)(ee,{className:"w-4 h-4"})}),(0,e.jsx)("button",{onClick:()=>{n?r(P.filter((e,t)=>t!==a)):r("")},className:"p-2 bg-white rounded-full text-red-600 hover:bg-red-50 transition-colors",title:"Remove",children:(0,e.jsx)(eN,{className:"w-4 h-4"})})]})})]},a))}),(!n||P.length<l)&&(0,e.jsx)("div",{ref:E,onDragOver:e=>{e.preventDefault(),g(!0)},onDragLeave:e=>{e.preventDefault(),g(!1)},onDrop:e=>{e.preventDefault(),g(!1);let t=e.dataTransfer.files;t.length>0&&M(t)},className:`border-2 border-dashed rounded-xl p-6 text-center transition-all duration-300 ${x?"border-purple-500 bg-purple-50":"border-gray-300 hover:border-purple-400 hover:bg-gray-50"}`,children:(0,e.jsx)("div",{className:"flex flex-col items-center",children:f?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(eg,{className:"w-8 h-8 text-purple-600 animate-spin mb-3"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Uploading..."})]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{className:"w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center mb-3",children:(0,e.jsx)(em,{className:"w-6 h-6 text-gray-400"})}),(0,e.jsx)("p",{className:"text-sm font-medium text-gray-900 mb-1",children:c}),(0,e.jsxs)("p",{className:"text-xs text-gray-500 mb-4",children:[i.join(", ")," up to ",s,"MB",n&&` (max ${l} files)`]}),(0,e.jsxs)("div",{className:"flex flex-wrap gap-2 justify-center",children:[(0,e.jsxs)("button",{type:"button",onClick:()=>C.current?.click(),className:"px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors flex items-center gap-2 text-sm",children:[(0,e.jsx)(ef,{className:"w-4 h-4"}),"Upload Files"]}),(0,e.jsxs)("button",{type:"button",onClick:()=>y(!0),className:"px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors flex items-center gap-2 text-sm",children:[(0,e.jsx)(eC,{className:"w-4 h-4"}),"Media Library"]}),(0,e.jsxs)("button",{type:"button",onClick:()=>N(!0),className:"px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition-colors flex items-center gap-2 text-sm",children:[(0,e.jsx)(eE,{className:"w-4 h-4"}
33),"Add URL"]})]})]})})}),w&&(0,e.jsx)("div",{className:"bg-gray-50 rounded-lg p-4",children:(0,e.jsxs)("div",{className:"flex gap-2",children:[(0,e.jsx)("input",{type:"url",value:v,onChange:e=>j(e.target.value),placeholder:"Enter image URL",className:"flex-1 px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent"}),(0,e.jsxs)("button",{type:"button",onClick:()=>{if(v.trim()){if(n){if(P.length>=l)return void m?.("error",`Maximum ${l} files allowed`);r([...P,v.trim()])}else r(v.trim());j(""),N(!1),m?.("success","Image URL added successfully")}},disabled:!v.trim(),className:"px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors disabled:opacity-50 flex items-center gap-2",children:[(0,e.jsx)(er,{className:"w-4 h-4"}),"Add"]}),(0,e.jsx)("button",{type:"button",onClick:()=>{N(!1),j("")},className:"px-4 py-2 text-gray-600 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors",children:"Cancel"})]})}),(0,e.jsx)("input",{ref:C,type:"file",multiple:n,accept:i.join(","),className:"hidden",onChange:e=>e.target.files&&M(e.target.files)}),(0,e.jsx)(eR,{isOpen:b,onClose:()=>y(!1),onFileSelect:e=>{if(n){if(P.length>=l)return void m?.("error",`Maximum ${l} files allowed`);r([...P,e.url])}else r(e.url);m?.("success","Image selected from media library")},acceptedTypes:i,title:"Select Image from Media Library",multiple:!1}),k&&(0,e.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-75 z-50 flex items-center justify-center p-4",children:(0,e.jsxs)("div",{className:"relative max-w-4xl max-h-[90vh]",children:[(0,e.jsx)("img",{src:k,alt:"Preview",className:"max-w-full max-h-full object-contain rounded-lg"}),(0,e.jsx)("button",{onClick:()=>S(null),className:"absolute top-4 right-4 p-2 bg-white rounded-full text-gray-700 hover:bg-gray-100 transition-colors",children:(0,e.jsx)(p,{className:"w-5 h-5"})})]})})]})},eq=({onNotification:a})=>{let[r,n]=(0,t.useState)([]),[l,s]=(0,t.useState)(!0),[i,o]=(0,t.useState)(""),[c,u]=(0,t.useState)("all"),[d,f]=(0,t.useState)("all"),[h,x]=(0,t.useState)(!1),[g,y]=(0,t.useState)(!1),[j,w]=(0,t.useState)(null),[N,k]=(0,t.useState)(null),[S,C]=(0,t.useState)(!1),[E,P]=(0,t.useState)({title:"",category:"",year:new Date().getFullYear().toString(),client:"",description:"",imageUrl:"",projectValue:"",status:"draft",location:"",projectDate:new Date().toISOString().split("T")[0]}),M=[{value:"exhibitions",label:"Exhibition Stands"},{value:"furniture",label:"Custom Furniture"},{value:"events",label:"Corporate Events"},{value:"printing",label:"Printing & Signage"},{value:"rental",label:"Rental Services"}],T=[{value:"published",label:"Published",color:"bg-green-100 text-green-800"},{value:"draft",label:"Draft",color:"bg-yellow-100 text-yellow-800"},{value:"archived",label:"Archived",color:"bg-gray-100 text-gray-800"}],D=e=>e?e.replace(/AED\s*/gi,"").replace(/[^\d,]/g,"").trim():"",L=async()=>{s(!0);try{let e=await fetch("/api/taskade/projects/yTqTUgZYu9bQnMJM/nodes"),t=await e.json();if(t.ok){let e=t.payload.nodes.map(e=>({id:e.id,title:e.fieldValues["/attributes/@proj1"]||e.fieldValues["/text"]||"Untitled Project",category:e.fieldValues["/attributes/@proj2"]||"",year:e.fieldValues["/attributes/@proj3"]||"",client:e.fieldValues["/attributes/@proj4"]||"",description:e.fieldValues["/attributes/@proj5"]||"",imageUrl:e.fieldValues["/attributes/@proj6"]||"",projectValue:e.fieldValues["/attributes/@proj7"]||"",status:e.fieldValues["/attributes/@proj8"]||"draft",location:e.fieldValues["/attributes/@proj9"]||"",projectDate:e.fieldValues["/attributes/@proj10"]||""}));n(e)}}catch(e){console.error("Error fetching projects:",e),a("error","Failed to load projects")}finally{s(!1)}},A=async()=>{C(!0);try{let e={"/text":E.title||"Untitled Project","/attributes/@proj1":E.title||"","/attributes/@proj2":E.category||"","/attributes/@proj3":E.year||"","/attributes/@proj4":E.client||"","/attributes/@proj5":E.description||"","/attributes/@proj6":E.imageUrl||"","/attributes/@proj7":E.projectValue||"","/attributes/@proj8":E.status||"draft","/attributes/@proj9":E.location||"","/attributes/@proj10":E.projectDate||""};if((j?await fetch(`/api/taskade/projects/yTqTUgZYu9bQnMJM/nodes/${j.id}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}):await fetch("/api/taskade/projects/yTqTUgZYu9bQnMJM/nodes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok)await L(),_(),a("success",j?"Project updated successfully":"Project created successfully");else throw Error("Failed to save project")}catch(e){console.error("Error saving project:",e),a("error","Failed to save project")}finally{C(!1)}},z=async e=>{if(confirm("Are you sure you want to delete this project?"))try{a("info","Delete functionality not yet implemented in API")}catch(e){console.error("Error deleting project:",e),a("error","Failed to delete project")}},O=e=>{e?(w(e),P(e)):(w(null),P({title:"",category:"",year:new Date().getFullYear().toString(),client:"",description:"",imageUrl:"",projectValue:"",status:"draft",location:"",projectDate:new Date().toISOString().split("T")[0]})),x(!0)},_=()=>{x(!1),w(null),P({})},R=()=>{y(!1),k(null)},I=(e,t)=>{P(a=>({...a,[e]:t}))},q=r.filter(e=>{let t=e.title.toLowerCase().includes(i.toLowerCase())||e.client.toLowerCase().includes(i.toLowerCase())||e.description.toLowerCase().includes(i.toLowerCase()),a="all"===c||e.status===c,r="all"===d||e.category===d;return t&&a&&r});return((0,t.useEffect)(()=>{L()},[]),l)?(0,e.jsxs)("div",{className:"flex items-center justify-center py-12",children:[(0,e.jsx)(eg,{className:"w-8 h-8 animate-spin text-purple-600"}),(0,e.jsx)("span",{className:"ml-2 text-gray-600",children:"Loading projects..."})]}):(0,e.jsxs)("div",{className:"space-y-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h2",{className:"text-2xl font-bold text-gray-900",children:"Projects Management"}),(0,e.jsx)("p",{className:"text-gray-600",children:"Manage your portfolio projects and showcase work"})]}),(0,e.jsxs)("button",{onClick:()=>O(),className:"bg-purple-600 text-white px-4 py-2 rounded-lg font-semibold hover:bg-purple-700 transition-colors flex items-center gap-2",children:[(0,e.jsx)(er,{className:"w-4 h-4"}),"Add Project"]})]}),(0,e.jsx)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)(J,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-4 h-4"}),(0,e.jsx)("input",{type:"text",placeholder:"Search projects...",value:i,onChange:e=>o(e.target.value),className:"w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent"})]}),(0,e.jsxs)("select",{value:c,onChange:e=>u(e.target.value),className:"px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:[(0,e.jsx)("option",{value:"all",children:"All Status"}),T.map(t=>(0,e.jsx)("option",{value:t.value,children:t.label},t.value))]}),(0,e.jsxs)("select",{value:d,onChange:e=>f(e.target.value),className:"px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:[(0,e.jsx)("option",{value:"all",children:"All Categories"}),M.map(t=>(0,e.jsx)("option",{value:t.value,children:t.label},t.value))]}),(0,e.jsxs)("div",{className:"text-sm text-gray-600 flex items-center",children:[(0,e.jsx)(X,{className:"w-4 h-4 mr-1"}),q.length," of ",r.length," projects"]})]})}),(0,e.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:q.map(t=>(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-xl transition-all duration-300",children:[(0,e.jsxs)("div",{className:"relative h-48",children:[t.imageUrl?(0,e.jsx)("img",{src:t.imageUrl,alt:t.title,className:"w-full h-full object-cover"}):(0,e.jsx)("div",{className:"w-full h-full bg-gray-200 flex items-center justify-center",children:(0,e.jsx)(em,{className:"w-12 h-12 text-gray-400"})}),(0,e.jsx)("div",{className:"absolute top-4 right-4",children:(0,e.jsx)("span",{className:`px-2 py-1 rounded-full text-xs font-semibold ${T.find(e=>e.value===t.status)?.color||"bg-gray-100 text-gray-800"}`,children:T.find(e=>e.value===t.status)?.label||t.status})})]}),(0,e.jsxs)("div",{className:"p-6",children:[(0,e.jsx)("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:t.title}),(0,e.jsx)("p",{className:"text-sm text-purple-600 font-medium mb-2",children:t.client}),(0,e.jsx)("p",{className:"text-gray-600 text-sm mb-4 line-clamp-2",children:t.description}),(0,e.jsxs)("div",{className:"space-y-2 mb-4",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 text-sm text-gray-500",children:[(0,e.jsx)(m,{className:"w-4 h-4"}),(0,e.jsx)("span",{children:t.year})]}),t.location&&(0,e.jsxs)("div",{className:"flex items-center gap-2 text-sm text-gray-500",children:[(0,e.jsx)(b,{className:"w-4 h-4"}),(0,e.jsx)("span",{children:t.location})]}),t.projectValue&&(0,e.jsxs)("div",{className:"flex items-center gap-2 text-sm text-gray-500",children:[(0,e.jsx)(ew,{className:"w-4 h-4"}),(0,e.jsx)("span",{children:D(t.projectValue)})]})]}),(0,e.jsxs)("div",{className:"flex justify-between items-center",children:[(0,e.jsx)("span",{className:"text-xs text-gray-500",children:M.find(e=>e.value===t.category)?.label||t.category}),(0,e.jsxs)("div",{className:"flex gap-2",children:[(0,e.jsx)("button",{onClick:()=>O(t),className:"p-2 text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",title:"Edit",children:(0,e.jsx)(ey,{className:"w-4 h-4"})}),(0,e.jsx)("button",{onClick:()=>{k(t),y(!0)},className:"p-2 text-green-600 hover:bg-green-50 rounded-lg transition-colors",title:"View Details",children:(0,e.jsx)(ee,{className:"w-4 h-4"})}),(0,e.jsx)("button",{onClick:()=>z(t.id),className:"p-2 text-red-600 hover:bg-red-50 rounded-lg transition-colors",title:"Delete",children:(0,e.jsx)(eN,{
33className:"w-4 h-4"})})]})]})]})]},t.id))}),0===q.length&&(0,e.jsxs)("div",{className:"text-center py-12",children:[(0,e.jsx)(v,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"No Projects Found"}),(0,e.jsx)("p",{className:"text-gray-600",children:i||"all"!==c||"all"!==d?"Try adjusting your filters or search terms.":"Get started by adding your first project."})]}),g&&N&&(0,e.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",children:(0,e.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl max-w-4xl w-full max-h-[90vh] overflow-y-auto",children:[(0,e.jsx)("div",{className:"p-6 border-b border-gray-200",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)("h3",{className:"text-2xl font-bold text-gray-900",children:N.title}),(0,e.jsx)("span",{className:`px-3 py-1 rounded-full text-sm font-semibold ${T.find(e=>e.value===N.status)?.color||"bg-gray-100 text-gray-800"}`,children:T.find(e=>e.value===N.status)?.label||N.status})]}),(0,e.jsx)("button",{onClick:R,className:"text-gray-400 hover:text-gray-600 transition-colors",children:(0,e.jsx)(p,{className:"w-6 h-6"})})]})}),(0,e.jsxs)("div",{className:"p-6",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[(0,e.jsx)("div",{children:N.imageUrl?(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("img",{src:N.imageUrl,alt:N.title,className:"w-full h-64 object-cover rounded-lg shadow-lg"}),(0,e.jsx)("button",{onClick:()=>window.open(N.imageUrl,"_blank"),className:"absolute top-4 right-4 p-2 bg-white rounded-full shadow-lg hover:bg-gray-50 transition-colors",title:"View Full Size",children:(0,e.jsx)(ek,{className:"w-4 h-4 text-gray-600"})})]}):(0,e.jsx)("div",{className:"w-full h-64 bg-gray-200 rounded-lg flex items-center justify-center",children:(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)(em,{className:"w-16 h-16 text-gray-400 mx-auto mb-2"}),(0,e.jsx)("p",{className:"text-gray-500",children:"No image available"})]})})}),(0,e.jsxs)("div",{className:"space-y-6",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("h4",{className:"text-lg font-semibold text-gray-900 mb-3 flex items-center gap-2",children:[(0,e.jsx)(H,{className:"w-5 h-5 text-purple-600"}),"Client Information"]}),(0,e.jsx)("div",{className:"bg-gray-50 rounded-lg p-4",children:(0,e.jsx)("p",{className:"text-lg font-medium text-purple-600",children:N.client})})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("h4",{className:"text-lg font-semibold text-gray-900 mb-3 flex items-center gap-2",children:[(0,e.jsx)(v,{className:"w-5 h-5 text-purple-600"}),"Project Details"]}),(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)(eS,{className:"w-4 h-4 text-gray-400"}),(0,e.jsx)("span",{className:"text-sm text-gray-600",children:"Category:"}),(0,e.jsx)("span",{className:"font-medium",children:M.find(e=>e.value===N.category)?.label||N.category||"Not specified"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)(m,{className:"w-4 h-4 text-gray-400"}),(0,e.jsx)("span",{className:"text-sm text-gray-600",children:"Year:"}),(0,e.jsx)("span",{className:"font-medium",children:N.year||"Not specified"})]}),N.location&&(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)(b,{className:"w-4 h-4 text-gray-400"}),(0,e.jsx)("span",{className:"text-sm text-gray-600",children:"Location:"}),(0,e.jsx)("span",{className:"font-medium",children:N.location})]}),N.projectValue&&(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)(ew,{className:"w-4 h-4 text-gray-400"}),(0,e.jsx)("span",{className:"text-sm text-gray-600",children:"Project Value:"}),(0,e.jsx)("span",{className:"font-medium",children:D(N.projectValue)})]}),N.projectDate&&(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)(F,{className:"w-4 h-4 text-gray-400"}),(0,e.jsx)("span",{className:"text-sm text-gray-600",children:"Project Date:"}),(0,e.jsx)("span",{className:"font-medium",children:(e=>{if(!e)return"Not specified";try{return new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}catch{return e}})(N.projectDate)})]})]})]})]})]}),N.description&&(0,e.jsxs)("div",{className:"mt-8",children:[(0,e.jsx)("h4",{className:"text-lg font-semibold text-gray-900 mb-3",children:"Description"}),(0,e.jsx)("div",{className:"bg-gray-50 rounded-lg p-4",children:(0,e.jsx)("p",{className:"text-gray-700 leading-relaxed",children:N.description})})]}),(0,e.jsxs)("div",{className:"mt-8 flex justify-end gap-3",children:[(0,e.jsxs)("button",{onClick:()=>{R(),O(N)},className:"px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors flex items-center gap-2",children:[(0,e.jsx)(ey,{className:"w-4 h-4"}),"Edit Project"]}),(0,e.jsx)("button",{onClick:R,className:"px-4 py-2 text-gray-600 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors",children:"Close"})]})]})]})}),h&&(0,e.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",children:(0,e.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl max-w-4xl w-full max-h-[90vh] overflow-y-auto",children:[(0,e.jsx)("div",{className:"p-6 border-b border-gray-200",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsx)("h3",{className:"text-xl font-bold text-gray-900",children:j?"Edit Project":"Add New Project"}),(0,e.jsx)("button",{onClick:_,className:"text-gray-400 hover:text-gray-600 transition-colors",children:(0,e.jsx)(p,{className:"w-6 h-6"})})]})}),(0,e.jsxs)("div",{className:"p-6 space-y-6",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Project Title *"}),(0,e.jsx)("input",{type:"text",value:E.title||"",onChange:e=>I("title",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Enter project title",required:!0})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Client *"}),(0,e.jsx)("input",{type:"text",value:E.client||"",onChange:e=>I("client",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Enter client name",required:!0})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Description"}),(0,e.jsx)("textarea",{value:E.description||"",onChange:e=>I("description",e.target.value),rows:4,className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent resize-none",placeholder:"Enter project description"})]}),(0,e.jsx)("div",{children:(0,e.jsx)(eI,{label:"Project Image",value:E.imageUrl||"",onChange:e=>I("imageUrl",e),acceptedTypes:["image/*"],placeholder:"Upload project image or enter URL",onNotification:a})}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Category"}),(0,e.jsxs)("select",{value:E.category||"",onChange:e=>I("category",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:[(0,e.jsx)("option",{value:"",children:"Select category"}),M.map(t=>(0,e.jsx)("option",{value:t.value,children:t.label},t.value))]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Year"}),(0,e.jsx)("input",{type:"text",value:E.year||"",onChange:e=>I("year",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"2024"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Status"}),(0,e.jsx)("select",{value:E.status||"draft",onChange:e=>I("status",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:T.map(t=>(0,e.jsx)("option",{value:t.value,children:t.label},t.value))})]})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Location"}),(0,e.jsx)("input",{type:"text",value:E.location||"",onChange:e=>I("location",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Dubai, UAE"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Project Value"}
33),(0,e.jsx)("input",{type:"text",value:E.projectValue||"",onChange:e=>I("projectValue",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"50,000"})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Project Date"}),(0,e.jsx)("input",{type:"date",value:E.projectDate||"",onChange:e=>I("projectDate",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent"})]})]}),(0,e.jsxs)("div",{className:"p-6 border-t border-gray-200 flex justify-end gap-3",children:[(0,e.jsx)("button",{onClick:_,disabled:S,className:"px-4 py-2 text-gray-600 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors disabled:opacity-50",children:"Cancel"}),(0,e.jsx)("button",{onClick:A,disabled:S||!E.title||!E.client,className:"px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors disabled:opacity-50 flex items-center gap-2",children:S?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(eg,{className:"w-4 h-4 animate-spin"}),"Saving..."]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(eb,{className:"w-4 h-4"}),j?"Update Project":"Create Project"]})})]})]})})]})},eV=o("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]),eU=({onNotification:a})=>{let[r,n]=(0,t.useState)([]),[l,s]=(0,t.useState)(!0),[i,o]=(0,t.useState)(""),[c,u]=(0,t.useState)("all"),[d,m]=(0,t.useState)("all"),[f,h]=(0,t.useState)(!1),[x,g]=(0,t.useState)(null),[b,y]=(0,t.useState)(!1),[j,w]=(0,t.useState)({name:"",position:"",company:"",rating:5,testimonialText:"",status:"draft",serviceType:"",avatarUrl:"",projectDetails:""}),N=[{value:"published",label:"Published",color:"bg-green-100 text-green-800"},{value:"draft",label:"Draft",color:"bg-yellow-100 text-yellow-800"},{value:"pending",label:"Pending Review",color:"bg-blue-100 text-blue-800"}],k=async()=>{s(!0);try{let e=await fetch("/api/taskade/projects/uVzHs2GStidL1n7C/nodes"),t=await e.json();if(t.ok){let e=t.payload.nodes.map(e=>({id:e.id,name:e.fieldValues["/attributes/@test1"]||"",position:e.fieldValues["/attributes/@test2"]||"",company:e.fieldValues["/attributes/@test3"]||"",rating:parseInt(e.fieldValues["/attributes/@test4"])||5,testimonialText:e.fieldValues["/attributes/@test5"]||"",status:e.fieldValues["/attributes/@test6"]||"draft",serviceType:e.fieldValues["/attributes/@test7"]||"",avatarUrl:e.fieldValues["/attributes/@test8"]||"",projectDetails:e.fieldValues["/attributes/@test9"]||""}));n(e)}}catch(e){console.error("Error fetching testimonials:",e),a("error","Failed to load testimonials")}finally{s(!1)}},C=async()=>{y(!0);try{let e={"/text":j.name||"Testimonial","/attributes/@test1":j.name||"","/attributes/@test2":j.position||"","/attributes/@test3":j.company||"","/attributes/@test4":j.rating||5,"/attributes/@test5":j.testimonialText||"","/attributes/@test6":j.status||"draft","/attributes/@test7":j.serviceType||"","/attributes/@test8":j.avatarUrl||"","/attributes/@test9":j.projectDetails||""};if((x?await fetch(`/api/taskade/projects/uVzHs2GStidL1n7C/nodes/${x.id}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}):await fetch("/api/taskade/projects/uVzHs2GStidL1n7C/nodes",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)})).ok)await k(),M(),a("success",x?"Testimonial updated successfully":"Testimonial created successfully");else throw Error("Failed to save testimonial")}catch(e){console.error("Error saving testimonial:",e),a("error","Failed to save testimonial")}finally{y(!1)}},E=async e=>{let t="published"===e.status?"draft":"published";try{if((await fetch(`/api/taskade/projects/uVzHs2GStidL1n7C/nodes/${e.id}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({"/attributes/@test6":t})})).ok)await k(),a("success",`Testimonial ${"published"===t?"published":"unpublished"} successfully`);else throw Error("Failed to update status")}catch(e){console.error("Error updating status:",e),a("error","Failed to update testimonial status")}},P=e=>{e?(g(e),w(e)):(g(null),w({name:"",position:"",company:"",rating:5,testimonialText:"",status:"draft",serviceType:"",avatarUrl:"",projectDetails:""})),h(!0)},M=()=>{h(!1),g(null),w({})},T=(e,t)=>
33{w(a=>({...a,[e]:t}))},D=(t,a=!1,r)=>Array.from({length:5},(n,l)=>(0,e.jsx)(S,{className:`w-5 h-5 ${l<t?"text-yellow-400 fill-current":"text-gray-300"} ${a?"cursor-pointer hover:text-yellow-400":""}`,onClick:a&&r?()=>r(l+1):void 0},l)),A=r.filter(e=>{let t=e.name.toLowerCase().includes(i.toLowerCase())||e.company.toLowerCase().includes(i.toLowerCase())||e.testimonialText.toLowerCase().includes(i.toLowerCase()),a="all"===c||e.status===c,r="all"===d||e.rating.toString()===d;return t&&a&&r});return((0,t.useEffect)(()=>{k()},[]),l)?(0,e.jsxs)("div",{className:"flex items-center justify-center py-12",children:[(0,e.jsx)(eg,{className:"w-8 h-8 animate-spin text-purple-600"}),(0,e.jsx)("span",{className:"ml-2 text-gray-600",children:"Loading testimonials..."})]}):(0,e.jsxs)("div",{className:"space-y-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h2",{className:"text-2xl font-bold text-gray-900",children:"Testimonials Management"}),(0,e.jsx)("p",{className:"text-gray-600",children:"Manage client testimonials and reviews"})]}),(0,e.jsxs)("button",{onClick:()=>P(),className:"bg-purple-600 text-white px-4 py-2 rounded-lg font-semibold hover:bg-purple-700 transition-colors flex items-center gap-2",children:[(0,e.jsx)(er,{className:"w-4 h-4"}),"Add Testimonial"]})]}),(0,e.jsx)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)(J,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-4 h-4"}),(0,e.jsx)("input",{type:"text",placeholder:"Search testimonials...",value:i,onChange:e=>o(e.target.value),className:"w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent"})]}),(0,e.jsxs)("select",{value:c,onChange:e=>u(e.target.value),className:"px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:[(0,e.jsx)("option",{value:"all",children:"All Status"}),N.map(t=>(0,e.jsx)("option",{value:t.value,children:t.label},t.value))]}),(0,e.jsxs)("select",{value:d,onChange:e=>m(e.target.value),className:"px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:[(0,e.jsx)("option",{value:"all",children:"All Ratings"}),(0,e.jsx)("option",{value:"5",children:"5 Stars"}),(0,e.jsx)("option",{value:"4",children:"4 Stars"}),(0,e.jsx)("option",{value:"3",children:"3 Stars"}),(0,e.jsx)("option",{value:"2",children:"2 Stars"}),(0,e.jsx)("option",{value:"1",children:"1 Star"})]}),(0,e.jsxs)("div",{className:"text-sm text-gray-600 flex items-center",children:[(0,e.jsx)(X,{className:"w-4 h-4 mr-1"}),A.length," of ",r.length," testimonials"]})]})}),(0,e.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:A.map(t=>(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition-all duration-300",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,e.jsx)("div",{className:"flex items-center",children:D(t.rating)}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)("span",{className:`px-2 py-1 rounded-full text-xs font-semibold ${N.find(e=>e.value===t.status)?.color||"bg-gray-100 text-gray-800"}`,children:N.find(e=>e.value===t.status)?.label||t.status}),(0,e.jsx)("button",{onClick:()=>E(t),className:"p-1 text-gray-400 hover:text-gray-600 transition-colors",title:"published"===t.status?"Unpublish":"Publish",children:"published"===t.status?(0,e.jsx)(eV,{className:"w-4 h-4"}):(0,e.jsx)(ee,{className:"w-4 h-4"})})]})]}),(0,e.jsxs)("div",{className:"flex items-start gap-4 mb-4",children:[t.avatarUrl?(0,e.jsx)("img",{src:t.avatarUrl,alt:t.name,className:"w-12 h-12 rounded-full object-cover"}):(0,e.jsx)("div",{className:"w-12 h-12 bg-gray-200 rounded-full flex items-center justify-center",children:(0,e.jsx)(H,{className:"w-6 h-6 text-gray-400"})}),(0,e.jsxs)("div",{className:"flex-1",children:[(0,e.jsx)("h3",{className:"font-semibold text-gray-900",children:t.name}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:t.position}),(0,e.jsx)("p",{className:"text-sm text-purple-600 font-medium",children:t.company})]})]}),(0,e.jsxs)("p",{className:"text-gray-600 text-sm mb-4 line-clamp-3",children:['"',t.testimonialText,'"']}),t.serviceType&&(0,e.jsx)("div",{className:"mb-4",children:(0,e.jsxs)("span",{className:"inline-flex items-center px-2 py-1 rounded-full text-xs font-medium bg-blue-100 text-blue-800",children:[(0,e.jsx)(v,{className:"w-3 h-3 mr-1"}),t.serviceType]})}),t.projectDetails&&(0,e.jsxs)("div",{className:"mb-4 p-3 bg-gray-50 rounded-lg",children:[(0,e.jsx)("p",{className:"text-xs text-gray-600 font-medium",children:"Project Details:"}),(0,e.jsx)("p",{className:"text-xs text-gray-700",children:t.projectDetails})]}),(0,e.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,e.jsx)("button",{onClick:()=>P(t),className:"p-2 text-blue-600 hover:bg-blue-50 rounded-lg transition-colors",title:"Edit",children:(0,e.jsx)(ey,{className:"w-4 h-4"})}),(0,e.jsx)("button",{className:"p-2 text-red-600 hover:bg-red-50 rounded-lg transition-colors",title:"Delete",children:(0,e.jsx)(eN,{
33className:"w-4 h-4"})})]})]},t.id))}),0===A.length&&(0,e.jsxs)("div",{className:"text-center py-12",children:[(0,e.jsx)(L,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"No Testimonials Found"}),(0,e.jsx)("p",{className:"text-gray-600",children:i||"all"!==c||"all"!==d?"Try adjusting your filters or search terms.":"Get started by adding your first testimonial."})]}),f&&(0,e.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",children:(0,e.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl max-w-2xl w-full max-h-[90vh] overflow-y-auto",children:[(0,e.jsx)("div",{className:"p-6 border-b border-gray-200",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsx)("h3",{className:"text-xl font-bold text-gray-900",children:x?"Edit Testimonial":"Add New Testimonial"}),(0,e.jsx)("button",{onClick:M,className:"text-gray-400 hover:text-gray-600 transition-colors",children:(0,e.jsx)(p,{className:"w-6 h-6"})})]})}),(0,e.jsxs)("div",{className:"p-6 space-y-6",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Name *"}),(0,e.jsx)("input",{type:"text",value:j.name||"",onChange:e=>T("name",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Client name",required:!0})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Position"}),(0,e.jsx)("input",{type:"text",value:j.position||"",onChange:e=>T("position",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Job title"})]})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Company *"}),(0,e.jsx)("input",{type:"text",value:j.company||"",onChange:e=>T("company",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Company name",required:!0})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Service Type"}),(0,e.jsxs)("select",{value:j.serviceType||"",onChange:e=>T("serviceType",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:[(0,e.jsx)("option",{value:"",children:"Select service"}),["Exhibition Stand Design","Custom Furniture","Printing & Branding","Rental Services","Event Technicals","Complete Event Package"].map(t=>(0,e.jsx)("option",{value:t,children:t},t))]})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Rating *"}),(0,e.jsxs)("div",{className:"flex items-center gap-1",children:[D(j.rating||5,!0,e=>T("rating",e)),(0,e.jsxs)("span",{className:"ml-2 text-sm text-gray-600",children:["(",j.rating||5," stars)"]})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Testimonial Text *"}),(0,e.jsx)("textarea",{value:j.testimonialText||"",onChange:e=>T("testimonialText",e.target.value),rows:4,className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent resize-none",placeholder:"Enter the testimonial text...",required:!0})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Project Details"}),(0,e.jsx)("input",{type:"text",value:j.projectDetails||"",onChange:e=>T("projectDetails",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Brief project description"})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Avatar URL"}),(0,e.jsx)("input",{type:"url",value:j.avatarUrl||"",onChange:e=>T("avatarUrl",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"https://example.com/avatar.jpg"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Status"}),(0,e.jsx)("select",{value:j.status||"draft",onChange:e=>T("status",e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:N.map(t=>(0,e.jsx)("option",{value:t.value,children:t.label},t.value))})]})]})]}),(0,e.jsxs)("div",{className:"p-6 border-t border-gray-200 flex justify-end gap-3",children:[(0,e.jsx)("button",{onClick:M,disabled:b,className:"px-4 py-2 text-gray-600 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors disabled:opacity-50",children:"Cancel"}),(0,e.jsx)("button",{onClick:C,disabled:b||!j.name||!j.company||!j.testimonialText,className:"px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors disabled:opacity-50 flex items-center gap-2",children:b?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(eg,{className:"w-4 h-4 animate-spin"}),"Saving..."]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(eb,{className:"w-4 h-4"}),x?"Update Testimonial":"Create Testimonial"]})})]})]})})]})},eH=o("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),e$=({onNotification:a})=>{let[r,n]=(0,t.useState)([]),[l,s]=(0,t.useState)(!0),[i,o]=(0,t.useState)(""),[d,m]=(0,t.useState)("all"),[f,h]=(0,t.useState)("all"),[g,b]=(0,t.useState)(null),[y,j]=(0,t.useState)(!1),[w,N]=(0,t.useState)(!1),k=[{value:"new",label:"New",color:"bg-blue-100 text-blue-800",icon:"\uD83C\uDD95"},{value:"contacted",label:"Contacted",color:"bg-yellow-100 text-yellow-800",icon:"\uD83D\uDCDE"}
33,{value:"qualified",label:"Qualified",color:"bg-green-100 text-green-800",icon:"â
"},{value:"closed",label:"Closed",color:"bg-gray-100 text-gray-800",icon:"\uD83D\uDD12"}],S=async()=>{s(!0);try{let e=await fetch("/api/taskade/projects/MDXJb7DTvPMAVh72/nodes"),t=await e.json();if(t.ok){let e=t.payload.nodes.map(e=>({id:e.id,name:e.fieldValues["/attributes/@cont1"]||"",email:e.fieldValues["/attributes/@cont2"]||"",phone:e.fieldValues["/attributes/@cont3"]||"",company:e.fieldValues["/attributes/@cont4"]||"",serviceType:e.fieldValues["/attributes/@cont5"]||"",message:e.fieldValues["/attributes/@cont6"]||"",inquiryDate:e.fieldValues["/attributes/@cont7"]||new Date().toISOString(),status:e.fieldValues["/attributes/@cont8"]||"new",budgetRange:e.fieldValues["/attributes/@cont9"]||"",eventLocation:e.fieldValues["/attributes/@cont10"]||""}));n(e)}}catch(e){console.error("Error fetching contacts:",e),a("error","Failed to load contact inquiries")}finally{s(!1)}},E=async(e,t)=>{N(!0);try{if((await fetch(`/api/taskade/projects/MDXJb7DTvPMAVh72/nodes/${e}`,{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({"/attributes/@cont8":t})})).ok)await S(),a("success",`Contact status updated to ${t}`),g&&g.id===e&&b({...g,status:t});else throw Error("Failed to update status")}catch(e){console.error("Error updating status:",e),a("error","Failed to update contact status")}finally{N(!1)}},P=e=>{try{return new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}catch{return"Invalid date"}},M=e=>k.find(t=>t.value===e)||k[0],T=r.filter(e=>{let t=e.name.toLowerCase().includes(i.toLowerCase())||e.email.toLowerCase().includes(i.toLowerCase())||e.company.toLowerCase().includes(i.toLowerCase())||e.message.toLowerCase().includes(i.toLowerCase()),a="all"===d||e.status===d,r="all"===f||e.serviceType===f;return t&&a&&r}),D={total:r.length,new:r.filter(e=>"new"===e.status).length,contacted:r.filter(e=>"contacted"===e.status).length,qualified:r.filter(e=>"qualified"===e.status).length,closed:r.filter(e=>"closed"===e.status).length};return((0,t.useEffect)(()=>{S()},[]),l)?(0,e.jsxs)("div",{className:"flex items-center justify-center py-12",children:[(0,e.jsx)(eg,{className:"w-8 h-8 animate-spin text-purple-600"}),(0,e.jsx)("span",{className:"ml-2 text-gray-600",children:"Loading contact inquiries..."})]}):(0,e.jsxs)("div",{className:"space-y-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h2",{className:"text-2xl font-bold text-gray-900",children:"Contact Inquiries"}),(0,e.jsx)("p",{className:"text-gray-600",children:"Manage and track customer inquiries and leads"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsxs)("button",{onClick:S,disabled:l,className:"px-4 py-2 text-gray-600 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors disabled:opacity-50 flex items-center gap-2",children:[(0,e.jsx)(eH,{className:`w-4 h-4 ${l?"animate-spin":""}`}),"Refresh"]}),(0,e.jsxs)("button",{onClick:()=>{let e=new Blob([["Name,Email,Phone,Company,Service Type,Status,Budget Range,Inquiry Date,Message",...T.map(e=>[e.name,e.email,e.phone,e.company,e.serviceType,e.status,e.budgetRange,P(e.inquiryDate),`"${e.message.replace(/"/g,'""')}"`].join(","))].join("\n")],{type:"text/csv"}),t=window.URL.createObjectURL(e),r=document.createElement("a");r.href=t,r.download=`contacts-${new Date().toISOString().split("T")[0]}.csv`,r.click(),window.URL.revokeObjectURL(t),a("success","Contacts exported successfully")},className:"px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition-colors flex items-center gap-2",children:[(0,e.jsx)(C,{className:"w-4 h-4"}),"Export CSV"]})]})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-5 gap-4",children:[(0,e.jsx)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-gray-600 text-sm",children:"Total Inquiries"}),(0,e.jsx)("p",{className:"text-2xl font-bold text-gray-900",children:D.total})]}),(0,e.jsx)(L,{className:"w-8 h-8 text-gray-400"})]})}),k.map(t=>(0,e.jsx)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-gray-600 text-sm",children:t.label}),(0,e.jsx)("p",{className:"text-2xl font-bold text-gray-900",children:D[t.value]})]}),(0,e.jsx)("span",{className:"text-2xl",children:t.icon})]})},t.value))]}),(0,e.jsx)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)(J,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-4 h-4"}),(0,e.jsx)("input",{type:"text",placeholder:"Search inquiries...",value:i,onChange:e=>o(e.target.value),className:"w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent"})]}),(0,e.jsxs)("select",{value:d,onChange:e=>m(e.target.value),className:"px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:[(0,e.jsx)("option",{value:"all",children:"All Status"}),k.map(t=>(0,e.jsx)("option",{value:t.value,children:t.label},t.value))]}),(0,e.jsxs)("select",{value:f,onChange:e=>h(e.target.value),className:"px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:[(0,e.jsx)("option",{value:"all",children:"All Services"}
33),["Exhibition Stand Design & Build","Custom Carpentry & Furniture","Printing & Branding","Rental Services","Event Technicals","Complete Event Package"].map(t=>(0,e.jsx)("option",{value:t,children:t},t))]}),(0,e.jsxs)("div",{className:"text-sm text-gray-600 flex items-center",children:[(0,e.jsx)(X,{className:"w-4 h-4 mr-1"}),T.length," of ",r.length," inquiries"]})]})}),(0,e.jsx)("div",{className:"bg-white rounded-xl shadow-lg overflow-hidden",children:(0,e.jsx)("div",{className:"overflow-x-auto",children:(0,e.jsxs)("table",{className:"w-full",children:[(0,e.jsx)("thead",{className:"bg-gray-50",children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Contact"}),(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Service"}),(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Budget"}),(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Date"}),(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Status"}),(0,e.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Actions"})]})}),(0,e.jsx)("tbody",{className:"bg-white divide-y divide-gray-200",children:T.map(t=>{let a=M(t.status);return(0,e.jsxs)("tr",{className:"hover:bg-gray-50",children:[(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",children:(0,e.jsxs)("div",{className:"flex items-center",children:[(0,e.jsx)("div",{className:"w-10 h-10 bg-purple-100 rounded-full flex items-center justify-center mr-3",children:(0,e.jsx)(H,{className:"w-5 h-5 text-purple-600"})}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"text-sm font-medium text-gray-900",children:t.name}),(0,e.jsx)("div",{className:"text-sm text-gray-500",children:t.email}),(0,e.jsx)("div",{className:"text-sm text-gray-500",children:t.phone}),(0,e.jsx)("div",{className:"text-sm text-gray-500",children:t.company})]})]})}),(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",children:(0,e.jsx)("span",{className:"px-2 py-1 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800",children:t.serviceType})}),(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-900",children:t.budgetRange||"Not specified"}),(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:P(t.inquiryDate)}),(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",children:(0,e.jsx)("select",{value:t.status,onChange:e=>E(t.id,e.target.value),disabled:w,className:`px-2 py-1 text-xs font-semibold rounded-full border-0 focus:ring-2 focus:ring-purple-500 ${a.color}`,children:k.map(t=>(0,e.jsx)("option",{value:t.value,children:t.label},t.value))})}),(0,e.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium",children:(0,e.jsxs)("div",{className:"flex space-x-2",children:[(0,e.jsx)("button",{onClick:()=>{b(t),j(!0)},className:"text-blue-600 hover:text-blue-900",title:"View Details",children:(0,e.jsx)(ee,{className:"w-4 h-4"})}),(0,e.jsx)("a",{href:`mailto:${t.email}`,className:"text-green-600 hover:text-green-900",title:"Send Email",children:(0,e.jsx)(u,{className:"w-4 h-4"})}),(0,e.jsx)("a",{href:`tel:${t.phone}`,className:"text-purple-600 hover:text-purple-900",title:"Call",children:(0,e.jsx)(c,{className:"w-4 h-4"})}),(0,e.jsx)("button",{className:"text-red-600 hover:text-red-900",title:"Delete",children:(0,e.jsx)(eN,{className:"w-4 h-4"})})]})})]},t.id)})})]})})}),0===T.length&&(0,e.jsxs)("div",{className:"text-center py-12",children:[(0,e.jsx)(L,{className:"w-16 h-16 text-gray-400 mx-auto mb-4"}),(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"No Inquiries Found"}),(0,e.jsx)("p",{className:"text-gray-600",children:i||"all"!==d||"all"!==f?"Try adjusting your filters or search terms.":"No contact inquiries have been received yet."})]}),y&&g&&(0,e.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",children:(0,e.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl max-w-2xl w-full max-h-[90vh] overflow-y-auto",children:[(0,e.jsx)("div",{className:"p-6 border-b border-gray-200",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsx)("h3",{className:"text-xl font-bold text-gray-900",children:"Contact Details"}),(0,e.jsx)("button",{onClick:()=>{b(null),j(!1)},className:"text-gray-400 hover:text-gray-600 transition-colors",children:(0,e.jsx)(p,{className:"w-6 h-6"})})]})}),(0,e.jsxs)("div",{className:"p-6 space-y-6",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("h4",{className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[(0,e.jsx)(H,{className:"w-5 h-5 text-purple-600"}),"Contact Information"]}),(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"text-sm font-medium text-gray-700",children:"Name"}),(0,e.jsx)("p",{className:"text-gray-900",children:g.name})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"text-sm font-medium text-gray-700",children:"Email"}),(0,e.jsx)("p",{className:"text-gray-900",children:g.email})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"text-sm font-medium text-gray-700",children:"Phone"}),(0,e.jsx)("p",{className:"text-gray-900",children:g.phone})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"text-sm font-medium text-gray-700",children:"Company"}),(0,e.jsx)("p",{className:"text-gray-900",children:g.company})]})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("h4",{className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[(0,e.jsx)(v,{className:"w-5 h-5 text-purple-600"}),"Project Details"]}
33),(0,e.jsxs)("div",{className:"space-y-3",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"text-sm font-medium text-gray-700",children:"Service Type"}),(0,e.jsx)("p",{className:"text-gray-900",children:g.serviceType})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"text-sm font-medium text-gray-700",children:"Budget Range"}),(0,e.jsx)("p",{className:"text-gray-900",children:g.budgetRange||"Not specified"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"text-sm font-medium text-gray-700",children:"Event Location"}),(0,e.jsx)("p",{className:"text-gray-900",children:g.eventLocation||"Not specified"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{className:"text-sm font-medium text-gray-700",children:"Inquiry Date"}),(0,e.jsx)("p",{className:"text-gray-900",children:P(g.inquiryDate)})]})]})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("h4",{className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[(0,e.jsx)(L,{className:"w-5 h-5 text-purple-600"}),"Message"]}),(0,e.jsx)("div",{className:"bg-gray-50 rounded-lg p-4",children:(0,e.jsx)("p",{className:"text-gray-700 leading-relaxed",children:g.message})})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("h4",{className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[(0,e.jsx)(x,{className:"w-5 h-5 text-purple-600"}),"Status Management"]}),(0,e.jsxs)("div",{className:"flex items-center gap-4",children:[(0,e.jsx)("span",{className:"text-sm font-medium text-gray-700",children:"Current Status:"}),(0,e.jsx)("select",{value:g.status,onChange:e=>E(g.id,e.target.value),disabled:w,className:`px-3 py-2 text-sm font-semibold rounded-lg border focus:ring-2 focus:ring-purple-500 ${M(g.status).color}`,children:k.map(t=>(0,e.jsx)("option",{value:t.value,children:t.label},t.value))}),w&&(0,e.jsx)(eg,{className:"w-4 h-4 animate-spin text-purple-600"})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-semibold text-gray-900 mb-4",children:"Quick Actions"}),(0,e.jsxs)("div",{className:"flex gap-3",children:[(0,e.jsxs)("a",{href:`mailto:${g.email}?subject=Re: Your inquiry about ${g.serviceType}&body=Dear ${g.name},%0D%0A%0D%0AThank you for your inquiry about ${g.serviceType}.%0D%0A%0D%0ABest regards,%0D%0AEvention Team`,className:"px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors flex items-center gap-2",children:[(0,e.jsx)(u,{className:"w-4 h-4"}),"Send Email"]}),(0,e.jsxs)("a",{href:`tel:${g.phone}`,className:"px-4 py-2 bg-green-600 text-white rounded-lg hover:bg-green-700 transition-colors flex items-center gap-2",children:[(0,e.jsx)(c,{className:"w-4 h-4"}),"Call Now"]})]})]})]})]})})]})},eB=({onNavigateToSection:t})=>{let a=[{id:"company",title:"Company Information",description:"Manage company details, contact info, and office locations",icon:v,color:"from-blue-500 to-blue-600",features:["UAE & Morocco offices","Contact details","Business hours","Social media"],status:"active",lastUpdated:"2 days ago"},{id:"projects",title:"Projects Management",description:"Manage portfolio projects and showcase work",icon:v,color:"from-purple-500 to-purple-600",features:["Project gallery","Client information","Categories & filters","Status management"],status:"active",lastUpdated:"1 day ago"},{id:"testimonials",title:"Testimonials Management",description:"Manage client testimonials and reviews",icon:L,color:"from-green-500 to-green-600",features:["Star ratings","Client details","Service categories","Publish/draft status"],status:"active",lastUpdated:"3 days ago"},{id:"contacts",title:"Contact Inquiries",description:"Manage and track customer inquiries and leads",icon:u,color:"from-orange-500 to-orange-600",features:["Lead tracking","Status updates","Export capabilities","Response management"],status:"active",lastUpdated:"5 hours ago"},{id:"media",title:"Media Manager",description:"Upload and manage images, documents, and other files",icon:em,color:"from-indigo-500 to-indigo-600",features:["File upload","Basic organization","Preview capabilities","URL copying"],status:"active",lastUpdated:"1 week ago"}];return(0,e.jsxs)("div",{className:"space-y-8",children:[(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("h1",{className:"text-3xl font-bold text-gray-900 mb-4",children:"Admin Dashboard Overview"}),(0,e.jsx)("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Current system structure and capabilities for your Evention admin panel"})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("h2",{className:"text-2xl font-bold text-gray-900 mb-6 flex items-center gap-2",children:[(0,e.jsx)(d,{className:"w-6 h-6 text-purple-600"}),"Current Admin Sections"]}),(0,e.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:a.map(a=>{let r=a.icon;return(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-105 overflow-hidden border border-gray-100",children:[(0,e.jsx)("div",{className:`h-2 bg-gradient-to-r ${a.color}`}),(0,e.jsxs)("div",{className:"p-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,e.jsx)("div",{className:`w-12 h-12 bg-gradient-to-r ${a.color} rounded-lg flex items-center justify-center`,children:(0,e.jsx)(r,{className:"w-6 h-6 text-white"})}),(0,e.jsx)("span",{className:`px-2 py-1 rounded-full text-xs font-semibold ${(e=>{switch(e){case"active":return"bg-green-100 text-green-800";
33case"needs_improvement":return"bg-yellow-100 text-yellow-800";case"inactive":return"bg-gray-100 text-gray-800";default:return"bg-blue-100 text-blue-800"}})(a.status)}`,children:a.status.replace("_"," ")})]}),(0,e.jsx)("h3",{className:"text-lg font-bold text-gray-900 mb-2",children:a.title}),(0,e.jsx)("p",{className:"text-gray-600 text-sm mb-4",children:a.description}),(0,e.jsxs)("div",{className:"space-y-2 mb-4",children:[(0,e.jsx)("h4",{className:"text-sm font-semibold text-gray-700",children:"Current Features:"}),(0,e.jsx)("ul",{className:"space-y-1",children:a.features.map((t,a)=>(0,e.jsxs)("li",{className:"flex items-center gap-2 text-xs text-gray-600",children:[(0,e.jsx)(x,{className:"w-3 h-3 text-green-500"}),t]},a))})]}),(0,e.jsx)("div",{className:"flex items-center justify-between text-xs text-gray-500 mb-4",children:(0,e.jsxs)("div",{className:"flex items-center gap-1",children:[(0,e.jsx)(F,{className:"w-3 h-3"}),"Updated ",a.lastUpdated]})}),(0,e.jsxs)("button",{onClick:()=>t(a.id),className:"w-full bg-gray-100 text-gray-700 py-2 rounded-lg hover:bg-gray-200 transition-colors flex items-center justify-center gap-2",children:[(0,e.jsx)(ee,{className:"w-4 h-4"}),"View Section"]})]})]},a.id)})})]}),(0,e.jsxs)("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 rounded-2xl p-8 text-white",children:[(0,e.jsxs)("h2",{className:"text-2xl font-bold mb-6 flex items-center gap-2",children:[(0,e.jsx)(ed,{className:"w-6 h-6"}),"Current System Statistics"]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:[(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:"text-3xl font-bold mb-2",children:"5"}),(0,e.jsx)("p",{className:"text-white/90",children:"Active Admin Sections"})]}),(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:"text-3xl font-bold mb-2",children:"4"}),(0,e.jsx)("p",{className:"text-white/90",children:"Database Connections"})]}),(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:"text-3xl font-bold mb-2",children:"20+"}),(0,e.jsx)("p",{className:"text-white/90",children:"Management Features"})]}),(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:"text-3xl font-bold mb-2",children:"100%"}),(0,e.jsx)("p",{className:"text-white/90",children:"API Integration"})]})]}),(0,e.jsxs)("div",{className:"mt-8 p-4 bg-white/10 backdrop-blur-sm rounded-lg",children:[(0,e.jsx)("h3",{className:"font-semibold mb-2",children:"Connected Taskade Projects:"}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-2 text-sm",children:[(0,e.jsx)("div",{children:"⢠Company Information (q2twhNeWqnQmdSJf)"}),(0,e.jsx)("div",{children:"⢠Contact Inquiries (MDXJb7DTvPMAVh72)"}),(0,e.jsx)("div",{children:"⢠Testimonials Database (uVzHs2GStidL1n7C)"}),(0,e.jsx)("div",{children:"⢠Projects Database (yTqTUgZYu9bQnMJM)"})]})]})]}),(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:[(0,e.jsx)("h2",{className:"text-xl font-bold text-gray-900 mb-4",children:"Quick Actions"}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[(0,e.jsxs)("button",{onClick:()=>t("media"),className:"p-4 bg-indigo-50 rounded-lg hover:bg-indigo-100 transition-colors text-left",children:[(0,e.jsx)(em,{className:"w-8 h-8 text-indigo-600 mb-2"}),(0,e.jsx)("h3",{className:"font-semibold text-gray-900",children:"Manage Media"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Upload and organize files"})]}),(0,e.jsxs)("button",{onClick:()=>t("projects"),className:"p-4 bg-purple-50 rounded-lg hover:bg-purple-100 transition-colors text-left",children:[(0,e.jsx)(v,{className:"w-8 h-8 text-purple-600 mb-2"}),(0,e.jsx)("h3",{className:"font-semibold text-gray-900",children:"Add Project"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Create new portfolio project"})]}),(0,e.jsxs)("button",{onClick:()=>t("contacts"),className:"p-4 bg-orange-50 rounded-lg hover:bg-orange-100 transition-colors text-left",children:[(0,e.jsx)(u,{className:"w-8 h-8 text-orange-600 mb-2"}),(0,e.jsx)("h3",{className:"font-semibold text-gray-900",children:"View Inquiries"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Manage contact requests"})]})]})]})]})},eW=o("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l
33-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]),eQ=o("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]),eY=o("target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]),eG=o("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),eK=o("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]),eZ=o("chart-pie",[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]]),eJ=o("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]),eX=({onNotification:a})=>{let[r,n]=(0,t.useState)(!1),[l,s]=(0,t.useState)("30d"),[i,o]=(0,t.useState)("overview"),c={overview:{totalVisitors:{value:12847,change:15.3,trend:"up"},pageViews:{value:34521,change:8.7,trend:"up"},bounceRate:{value:32.4,change:-5.2,trend:"down"},avgSessionDuration:{value:"3m 42s",change:12.1,trend:"up"}},leads:{totalInquiries:{value:156,change:23.5,trend:"up"},qualifiedLeads:{value:89,change:18.2,trend:"up"},conversionRate:{value:57.1,change:4.3,trend:"up"},avgResponseTime:{value:"2.3h",change:-15.7,trend:"down"}},projects:{totalProjects:{value:48,change:12.5,trend:"up"},completedProjects:{value:42,change:8.9,trend:"up"},activeProjects:{value:6,change:50,trend:"up"},avgProjectValue:{value:"AED 85K",change:7.2,trend:"up"}},performance:{pageLoadTime:{value:"1.8s",change:-12.3,trend:"down"},uptime:{value:"99.9%",change:.1,trend:"up"},errorRate:{value:"0.02%",change:-25,trend:"down"},apiResponseTime:{value:"245ms",change:-8.5,trend:"down"}}},d=[{type:"inquiry",message:"New contact inquiry from TechCorp ME",time:"5 minutes ago",icon:u},{type:"project",message:'Project "Dubai Expo 2024" marked as completed',time:"1 hour ago",icon:v},{type:"testimonial",message:"New 5-star testimonial from Emirates Hotels",time:"2 hours ago",icon:S},{type:"visitor",message:"Traffic spike detected on services page",time:"3 hours ago",icon:M},{type:"system",message:"Weekly backup completed successfully",time:"6 hours ago",icon:eW}],m=e=>e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toString(),p=({title:a,value:r,change:n,trend:l,icon:s,suffix:i=""})=>(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition-all duration-300",children:[(0,e.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)("div",{className:"w-12 h-12 bg-gradient-to-r from-purple-600 to-blue-600 rounded-lg flex items-center justify-center",children:(0,e.jsx)(s,{className:"w-6 h-6 text-white"})}),(0,e.jsx)("h3",{className:"text-sm font-medium text-gray-600",children:a})]})}),(0,e.jsxs)("div",{className:"flex items-end justify-between",children:[(0,e.jsx)("div",{children:(0,e.jsxs)("p",{className:"text-3xl font-bold text-gray-900",children:[r,i]})}),(0,e.jsxs)("div",{className:`flex items-center gap-1 ${"up"===l?"text-green-600":"text-red-600"}`,children:[t.createElement("up"===l?I:eQ,{className:"w-4 h-4"}),(0,e.jsxs)("span",{className:"text-sm font-medium",children:[Math.abs(n),"%"]})]})]})]});return(0,e.jsxs)("div",{className:"space-y-8",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h2",{className:"text-2xl font-bold text-gray-900",children:"Analytics Dashboard"}),(0,e.jsx)("p",{className:"text-gray-600",children:"Comprehensive insights into your website and business performance"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsxs)("select",{value:l,onChange:e=>s(e.target.value),className:"px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",children:[(0,e.jsx)("option",{value:"7d",children:"Last 7 days"}),(0,e.jsx)("option",{value:"30d",children:"Last 30 days"}),(0,e.jsx)("option",{value:"90d",children:"Last 90 days"}),(0,e.jsx)("option",{value:"1y",children:"Last year"})]}),(0,e.jsxs)("button",{onClick:()=>{n(!0),setTimeout(()=>{n(!1),a("success","Analytics data refreshed successfully")},1500)},disabled:r,className:"px-4 py-2 text-gray-600 border border-gray-300 rounded-lg hover:bg-gray-50 transition-colors disabled:opacity-50 flex items-center gap-2",children:[(0,e.jsx)(eH,{className:`w-4 h-4 ${r?"animate-spin":""}`}),"Refresh"]}),(0,e.jsxs)("button",{onClick:()=>{a("info","Analytics report export started. You will receive an email when ready.")},className:"px-4 py-2 bg-purple-600 text-white rounded-lg hover:bg-purple-700 transition-colors flex items-center gap-2",children:[(0,e.jsx)(C,{className:"w-4 h-4"}),"Export"]})]})]}),(0,e.jsx)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:(0,e.jsx)("div",{className:"flex flex-wrap gap-2",children:[{id:"overview",label:"Website Overview",icon:ev},{id:"leads",label:"Lead Generation",icon:eY},{id:"projects",label:"Project Metrics",icon:v},{id:"performance",label:"Performance",icon:eG}].map(t=>{let a=t.icon;return(0,e.jsxs)("button",{onClick:()=>o(t.id),className:`flex items-center gap-2 px-4 py-2 rounded-lg font-medium transition-all duration-300 ${i===t.id?"bg-purple-600 text-white shadow-lg":"text-gray-600 hover:bg-gray-100"}`,children:[(0,e.jsx)(a,{className:"w-4 h-4"}),t.label]},t.id)})})}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:["overview"===i&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(p,{title:"Total Visitors",value:m(c.overview.totalVisitors.value),
33change:c.overview.totalVisitors.change,trend:c.overview.totalVisitors.trend,icon:g}),(0,e.jsx)(p,{title:"Page Views",value:m(c.overview.pageViews.value),change:c.overview.pageViews.change,trend:c.overview.pageViews.trend,icon:ee}),(0,e.jsx)(p,{title:"Bounce Rate",value:c.overview.bounceRate.value,change:c.overview.bounceRate.change,trend:c.overview.bounceRate.trend,icon:eK,suffix:"%"}),(0,e.jsx)(p,{title:"Avg Session Duration",value:c.overview.avgSessionDuration.value,change:c.overview.avgSessionDuration.change,trend:c.overview.avgSessionDuration.trend,icon:F})]}),"leads"===i&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(p,{title:"Total Inquiries",value:c.leads.totalInquiries.value,change:c.leads.totalInquiries.change,trend:c.leads.totalInquiries.trend,icon:u}),(0,e.jsx)(p,{title:"Qualified Leads",value:c.leads.qualifiedLeads.value,change:c.leads.qualifiedLeads.change,trend:c.leads.qualifiedLeads.trend,icon:eY}),(0,e.jsx)(p,{title:"Conversion Rate",value:c.leads.conversionRate.value,change:c.leads.conversionRate.change,trend:c.leads.conversionRate.trend,icon:M,suffix:"%"}),(0,e.jsx)(p,{title:"Avg Response Time",value:c.leads.avgResponseTime.value,change:c.leads.avgResponseTime.change,trend:c.leads.avgResponseTime.trend,icon:F})]}),"projects"===i&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(p,{title:"Total Projects",value:c.projects.totalProjects.value,change:c.projects.totalProjects.change,trend:c.projects.totalProjects.trend,icon:v}),(0,e.jsx)(p,{title:"Completed Projects",value:c.projects.completedProjects.value,change:c.projects.completedProjects.change,trend:c.projects.completedProjects.trend,icon:v}),(0,e.jsx)(p,{title:"Active Projects",value:c.projects.activeProjects.value,change:c.projects.activeProjects.change,trend:c.projects.activeProjects.trend,icon:eW}),(0,e.jsx)(p,{title:"Avg Project Value",value:c.projects.avgProjectValue.value,change:c.projects.avgProjectValue.change,trend:c.projects.avgProjectValue.trend,icon:ew})]}),"performance"===i&&(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(p,{title:"Page Load Time",value:c.performance.pageLoadTime.value,change:c.performance.pageLoadTime.change,trend:c.performance.pageLoadTime.trend,icon:eG}),(0,e.jsx)(p,{title:"Uptime",value:c.performance.uptime.value,change:c.performance.uptime.change,trend:c.performance.uptime.trend,icon:eW}),(0,e.jsx)(p,{title:"Error Rate",value:c.performance.errorRate.value,change:c.performance.errorRate.change,trend:c.performance.errorRate.trend,icon:eK}),(0,e.jsx)(p,{title:"API Response Time",value:c.performance.apiResponseTime.value,change:c.performance.apiResponseTime.change,trend:c.performance.apiResponseTime.trend,icon:eG})]})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,e.jsxs)("h3",{className:"text-lg font-bold text-gray-900 flex items-center gap-2",children:[(0,e.jsx)(ed,{className:"w-5 h-5 text-purple-600"}),"Top Pages"]}),(0,e.jsx)("span",{className:"text-sm text-gray-500",children:"Last 30 days"})]}),(0,e.jsx)("div",{className:"space-y-4",children:[{page:"/services",views:8945,change:12.3},{page:"/",views:7234,change:8.7},{page:"/our-work",views:5678,change:15.2},{page:"/rental-catalogue",views:4321,change:22.1},{page:"/contact",views:3456,change:18.9}].map((t,a)=>(0,e.jsxs)("div",{className:"flex items-center justify-between p-3 bg-gray-50 rounded-lg hover:bg-gray-100 transition-colors",children:[(0,e.jsxs)("div",{className:"flex-1",children:[(0,e.jsx)("p",{className:"font-medium text-gray-900",children:t.page}),(0,e.jsxs)("p",{className:"text-sm text-gray-600",children:[m(t.views)," views"]})]}),(0,e.jsxs)("div",{className:`flex items-center gap-1 ${t.change>0?"text-green-600":"text-red-600"}`,children:[t.change>0?(0,e.jsx)(I,{className:"w-4 h-4"}):(0,e.jsx)(eQ,{className:"w-4 h-4"}),(0,e.jsxs)("span",{className:"text-sm font-medium",children:[Math.abs(t.change),"%"]})]})]},a))})]}),(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,e.jsxs)("h3",{className:"text-lg font-bold text-gray-900 flex items-center gap-2",children:[(0,e.jsx)(eZ,{className:"w-5 h-5 text-purple-600"}),"Traffic Sources"]}),(0,e.jsx)("span",{className:"text-sm text-gray-500",children:"Last 30 days"})]}),(0,e.jsx)("div",{className:"space-y-4",children:[{source:"Organic Search",visitors:5234,percentage:40.7,change:8.3},{source:"Direct",visitors:3456,percentage:26.9,change:12.1},{source:"Social Media",visitors:2345,percentage:18.3,change:25.4},{source:"Referral",visitors:1234,percentage:9.6,change:-3.2},{source:"Email",visitors:578,percentage:4.5,change:15.7}].map((t,a)=>(0,e.jsx)("div",{className:"flex items-center justify-between",children:(0,e.jsxs)("div",{className:"flex-1",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,e.jsx)("p",{className:"font-medium text-gray-900",children:t.source}),(0,e.jsxs)("span",{className:"text-sm text-gray-600",children:[t.percentage,"%"]})]}),(0,e.jsx)("div",{className:"w-full bg-gray-200 rounded-full h-2",children:(0,e.jsx)("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 h-2 rounded-full transition-all duration-500",style:{width:`${t.percentage}%`}})}),(0,e.jsxs)("div",{className:"flex items-center justify-between mt-1",children:[(0,e.jsxs)("p",{className:"text-sm text-gray-600",children:[m(t.visitors)," visitors"]}),(0,e.jsxs)("div",{className:`flex items-center gap-1 ${t.change>0?"text-green-600":"text-red-600"}`,children:[t.change>0?(0,e.jsx)(I,{className:"w-3 h-3"}):(0,e.jsx)(eQ,{className:"w-3 h-3"}),(0,e.jsxs)("span",{className:"text-xs",children:[Math.abs(t.change),"%"]})]})]})]})},a))})]}),(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,e.jsxs)("h3",{className:"text-lg font-bold text-gray-900 flex items-center gap-2",children:[(0,e.jsx)(Z,{className:"w-5 h-5 text-purple-600"}),"Device Breakdown"]}),(0,e.jsx)("span",{className:"text-sm text-gray-500",children:"Last 30 days"})]}),(0,e.jsx)("div",{className:"space-y-4",children:[{device:"Desktop",percentage:52.3,visitors:6720},{device:"Mobile",percentage:38.7,visitors:4970},{device:"Tablet",percentage:9,visitors:1157}].map((t,a)=>{let r="Desktop"===t.device?Z:"Mobile"===t.device?eJ:Z;return(0,e.jsxs)("div",{className:"flex items-center gap-4",children:[(0,e.jsx)("div",{className:"w-10 h-10 bg-gray-100 rounded-lg flex items-center justify-center",children:(0,e.jsx)(r,{className:"w-5 h-5 text-gray-600"})}),(0,e.jsxs)("div",{className:"flex-1",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,e.jsx)("p",{className:"font-medium text-gray-900",children:t.device}),(0,e.jsxs)("span",{className:"text-sm text-gray-600",children:[t.percentage,"%"]})]}),(0,e.jsx)("div",{className:"w-full bg-gray-200 rounded-full h-2",children:(0,e.jsx)("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 h-2 rounded-full transition-all duration-500",style:{width:`${t.percentage}%`}})}),(0,e.jsxs)("p",{className:"text-sm text-gray-600 mt-1",children:[m(t.visitors)," visitors"]})]})]},a)})})]}),(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,e.jsxs)("h3",{className:"text-lg font-bold text-gray-900 flex items-center gap-2",children:[(0,e.jsx)(b,{className:"w-5 h-5 text-purple-600"}),"Geographic Distribution"]}),(0,e.jsx)("span",{className:"text-sm text-gray-500",children:"Last 30 days"})]}),(0,e.jsx)("div",{className:"space-y-4",children:[{country:"UAE",visitors:7234,percentage:56.3},{country:"Saudi Arabia",visitors:2345,percentage:18.3},{country:"Morocco",visitors:1567,percentage:12.2},{country:"Qatar",visitors:890,percentage:6.9},{country:"Kuwait",visitors:811,percentage:6.3}].map((t,a)=>(0,e.jsx)("div",{className:"flex items-center justify-between",children:(0,e.jsxs)("div",{className:"flex-1",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,e.jsx)("p",{className:"font-medium text-gray-900",children:t.country}),(0,e.jsxs)("span",{className:"text-sm text-gray-600",children:[t.percentage,"%"]})]}),(0,e.jsx)("div",{className:"w-full bg-gray-200 rounded-full h-2",children:(0,e.jsx)("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 h-2 rounded-full transition-all duration-500",style:{width:`${t.percentage}%`}})}),(0,e.jsxs)("p",{className:"text-sm text-gray-600 mt-1",children:[m(t.visitors)," visitors"]})]})},a))})]})]}),(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,e.jsxs)("h3",{className:"text-lg font-bold text-gray-900 flex items-center gap-2",children:[(0,e.jsx)(eW,{className:"w-5 h-5 text-purple-600"}),"Recent Activity"]}),(0,e.jsx)("button",{className:"text-purple-600 hover:text-purple-700 text-sm font-medium",children:"View All"})]}),(0,e.jsx)("div",{className:"space-y-4",children:d.map((t,a)=>{let r=t.icon;return(0,e.jsxs)("div",{className:"flex items-start gap-4 p-3 bg-gray-50 rounded-lg hover:bg-gray-100 transition-colors",children:[(0,e.jsx)("div",{className:"w-8 h-8 bg-purple-100 rounded-full flex items-center justify-center flex-shrink-0",children:(0,e.jsx)(r,{className:"w-4 h-4 text-purple-600"})}),(0,e.jsxs)("div",{className:"flex-1",children:[(0,e.jsx)("p",{className:"text-sm font-medium text-gray-900",children:t.message}),(0,e.jsx)("p",{className:"text-xs text-gray-500 mt-1",children:t.time})]})]},a)})})]}),(0,e.jsxs)("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 rounded-2xl p-8 text-white",children:[(0,e.jsx)("h3",{className:"text-2xl font-bold mb-6",children:"Performance Summary"}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:[(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:"text-3xl font-bold mb-2",children:"98.7%"}),(0,e.jsx)("p",{className:"text-white/90",children:"Overall Health Score"})]}),(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:"text-3xl font-bold mb-2",children:"+23%"}),(0,e.jsx)("p",{className:"text-white/90",children:"Growth This Month"})]}),(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:"text-3xl font-bold mb-2",children:"156"}),(0,e.jsx)("p",{className:"text-white/90",children:"New Leads"})]}),(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:"text-3xl font-bold mb-2",children:"AED 2.4M"}),(0,e.jsx)("p",{className:"text-white/90",children:"Revenue Pipeline"})]})]})]})]})},e0=({onBack:a,onLogout:r,user:n})=>{let[l,s]=(0,t.useState)("overview"),[i,o]=(0,t.useState)(!1),[c,m]=(0,t.useState)(null),f=[{id:"overview",label:"Dashboard Overview",icon:ed},{id:"company",label:"Company Info",icon:v},{id:"projects",label:"Projects",icon:v},{id:"testimonials",label:"Testimonials",icon:L},{id:"contacts",label:"Contact Inquiries",icon:u},{id:"media",label:"Media Manager",icon:em},{id:"services",label:"Services",icon:ep},{id:"analytics",label:"Analytics",icon:ed}],h=[{label:"Total Projects",value:"156",change:"+12%",color:"text-blue-600",bgColor:"bg-blue-50"},{label:"Active Clients",value:"48",change:"+8%",color:"text-green-600",bgColor:"bg-green-50"},{label:"New Inquiries",value:"23",change:"+15%",color:"text-purple-600",bgColor:"bg-purple-50"},{label:"Revenue (AED)",value:"2.4M",change:"+22%",color:"text-emerald-600",bgColor:"bg-emerald-50"}
33],g=[{id:1,type:"project",title:"New project created: Dubai Tech Summit 2024",time:"2 hours ago",user:"Sarah Ahmed",status:"success"},{id:2,type:"testimonial",title:"Testimonial approved: Emirates Hotels",time:"4 hours ago",user:"Admin",status:"success"},{id:3,type:"contact",title:"New inquiry from TechCorp ME",time:"6 hours ago",user:"System",status:"info"},{id:4,type:"media",title:"5 new images uploaded to media library",time:"8 hours ago",user:"Mohammed Ali",status:"info"},{id:5,type:"project",title:"Project updated: ADNOC Energy Expo",time:"1 day ago",user:"Mohammed Ali",status:"info"}],b=()=>{let e=localStorage.getItem("adminAuth");if(e){let{loginTime:t}=JSON.parse(e);return new Date(t).toLocaleString()}return"Unknown"},y=(e,t)=>{m({type:e,message:t}),setTimeout(()=>m(null),5e3)},j=e=>{s(e)};return(0,e.jsxs)("div",{className:"min-h-screen bg-gray-50",children:[c&&(0,e.jsx)("div",{className:`fixed top-4 right-4 z-50 p-4 rounded-lg shadow-lg max-w-md ${"success"===c.type?"bg-green-500 text-white":"error"===c.type?"bg-red-500 text-white":"bg-blue-500 text-white"}`,children:(0,e.jsxs)("div",{className:"flex items-center gap-3",children:["success"===c.type&&(0,e.jsx)(x,{className:"w-5 h-5"}),"error"===c.type&&(0,e.jsx)(eh,{className:"w-5 h-5"}),"info"===c.type&&(0,e.jsx)(eh,{className:"w-5 h-5"}),(0,e.jsx)("p",{className:"font-medium",children:c.message}),(0,e.jsx)("button",{onClick:()=>m(null),className:"ml-auto hover:bg-white/20 rounded p-1",children:(0,e.jsx)(p,{className:"w-4 h-4"})})]})}),(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-8 pb-12",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-8",children:[(0,e.jsxs)("div",{className:"flex items-center gap-4",children:[(0,e.jsxs)("button",{onClick:a,className:"flex items-center gap-2 text-purple-600 hover:text-purple-700 font-semibold hover:scale-105 transition-all duration-300",children:[(0,e.jsx)(Q,{className:"w-5 h-5"}),"Back to Website"]}),(0,e.jsx)("div",{className:"h-6 w-px bg-gray-300"}),(0,e.jsx)("h1",{className:"text-3xl font-bold text-gray-900",children:"Admin Dashboard"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-4",children:[(0,e.jsxs)("div",{className:"text-right",children:[(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Welcome back,"}),(0,e.jsx)("p",{className:"font-semibold text-gray-900",children:n.username}),(0,e.jsx)("p",{className:"text-xs text-gray-500",children:n.role})]}),(0,e.jsx)("div",{className:"w-10 h-10 bg-purple-600 rounded-full flex items-center justify-center",children:(0,e.jsx)(d,{className:"w-5 h-5 text-white"})}),(0,e.jsxs)("button",{onClick:()=>{localStorage.removeItem("adminAuth"),r()},className:"flex items-center gap-2 text-red-600 hover:text-red-700 font-semibold hover:scale-105 transition-all duration-300",title:"Logout",children:[(0,e.jsx)(ex,{className:"w-5 h-5"}),"Logout"]})]})]}),(0,e.jsxs)("div",{className:"flex gap-8",children:[(0,e.jsxs)("div",{className:"w-64 bg-white rounded-xl shadow-lg p-6",children:[(0,e.jsx)("nav",{className:"space-y-2",children:f.map(t=>{let a=t.icon;return(0,e.jsxs)("button",{onClick:()=>s(t.id),className:`w-full flex items-center gap-3 px-4 py-3 rounded-lg text-left transition-all duration-300 ${l===t.id?"bg-purple-600 text-white shadow-lg":"text-gray-600 hover:bg-gray-100 hover:text-purple-600"}`,children:[(0,e.jsx)(a,{className:"w-5 h-5"}),t.label]},t.id)})}),(0,e.jsxs)("div",{className:"mt-8 pt-6 border-t border-gray-200",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 text-sm text-gray-600",children:[(0,e.jsx)(F,{className:"w-4 h-4"}),(0,e.jsx)("span",{children:"Session active"})]}),(0,e.jsxs)("p",{className:"text-xs text-gray-500 mt-1",children:["Logged in: ",b()]})]})]}),(0,e.jsx)("div",{className:"flex-1",children:i?(0,e.jsxs)("div",{className:"flex items-center justify-center py-12",children:[(0,e.jsx)(eg,{className:"w-8 h-8 animate-spin text-purple-600"}),(0,e.jsx)("span",{className:"ml-2 text-gray-600",children:"Loading..."})]}):(()=>{switch(l){case"overview":return(0,e.jsx)(eB,{onNavigateToSection:j});case"dashboard":return(0,e.jsxs)("div",{className:"space-y-8",children:[(0,e.jsx)("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 rounded-2xl p-6 text-white",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("h2",{className:"text-2xl font-bold mb-2",children:["Welcome back, ",n.username,"!"]}),(0,e.jsxs)("p",{className:"text-white/90",children:["Role: ",n.role]}
33),(0,e.jsxs)("p",{className:"text-white/70 text-sm",children:["Last login: ",b()]})]}),(0,e.jsx)(d,{className:"w-16 h-16 text-white/30"})]})}),(0,e.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:h.map((t,a)=>(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition-all duration-300",children:[(0,e.jsx)("div",{className:`w-12 h-12 ${t.bgColor} rounded-lg flex items-center justify-center mb-4`,children:(0,e.jsx)(ed,{className:`w-6 h-6 ${t.color}`})}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-gray-600 text-sm mb-1",children:t.label}),(0,e.jsx)("p",{className:`text-3xl font-bold ${t.color} mb-1`,children:t.value}),(0,e.jsxs)("p",{className:"text-green-500 text-sm",children:[t.change," from last month"]})]})]},a))}),(0,e.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:[(0,e.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,e.jsx)("h3",{className:"text-lg font-bold text-gray-900",children:"Recent Activity"}),(0,e.jsx)("button",{className:"text-purple-600 hover:text-purple-700 text-sm font-medium",children:"View All"})]}),(0,e.jsx)("div",{className:"space-y-4",children:g.map(t=>(0,e.jsxs)("div",{className:"flex items-start gap-4 p-3 bg-gray-50 rounded-lg hover:bg-gray-100 transition-colors duration-200",children:[(0,e.jsx)("div",{className:`w-2 h-2 rounded-full mt-2 ${"success"===t.status?"bg-green-500":"error"===t.status?"bg-red-500":"bg-blue-500"}`}),(0,e.jsxs)("div",{className:"flex-1",children:[(0,e.jsx)("p",{className:"text-sm font-medium text-gray-900",children:t.title}),(0,e.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,e.jsx)("p",{className:"text-xs text-gray-500",children:t.time}),(0,e.jsx)("span",{className:"text-xs text-gray-400",children:"â¢"}),(0,e.jsxs)("p",{className:"text-xs text-gray-500",children:["by ",t.user]})]})]})]},t.id))})]}),(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:[(0,e.jsx)("h3",{className:"text-lg font-bold text-gray-900 mb-6",children:"Quick Actions"}),(0,e.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,e.jsxs)("button",{onClick:()=>s("projects"),className:"p-4 bg-blue-50 rounded-lg hover:bg-blue-100 transition-colors duration-200 text-left",children:[(0,e.jsx)(v,{className:"w-8 h-8 text-blue-600 mb-2"}),(0,e.jsx)("p",{className:"font-semibold text-gray-900",children:"Add Project"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Create new project"})]}),(0,e.jsxs)("button",{onClick:()=>s("testimonials"),className:"p-4 bg-green-50 rounded-lg hover:bg-green-100 transition-colors duration-200 text-left",children:[(0,e.jsx)(L,{className:"w-8 h-8 text-green-600 mb-2"}),(0,e.jsx)("p",{className:"font-semibold text-gray-900",children:"Add Testimonial"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"New testimonial"})]}),(0,e.jsxs)("button",{onClick:()=>s("media"),className:"p-4 bg-purple-50 rounded-lg hover:bg-purple-100 transition-colors duration-200 text-left",children:[(0,e.jsx)(ef,{className:"w-8 h-8 text-purple-600 mb-2"}),(0,e.jsx)("p",{className:"font-semibold text-gray-900",children:"Upload Media"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Manage files"})]}),(0,e.jsxs)("button",{onClick:()=>s("contacts"),className:"p-4 bg-orange-50 rounded-lg hover:bg-orange-100 transition-colors duration-200 text-left",children:[(0,e.jsx)(u,{className:"w-8 h-8 text-orange-600 mb-2"}),(0,e.jsx)("p",{className:"font-semibold text-gray-900",children:"View Inquiries"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Manage contacts"})]})]})]})]}),(0,e.jsxs)("div",{className:"bg-white rounded-xl shadow-lg p-6",children:[(0,e.jsx)("h3",{className:"text-lg font-bold text-gray-900 mb-6",children:"System Status"}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-6",children:[(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)("div",{className:"w-3 h-3 bg-green-500 rounded-full animate-pulse"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-semibold text-gray-900",children:"API Status"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"All systems operational"})]})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)("div",{className:"w-3 h-3 bg-green-500 rounded-full animate-pulse"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-semibold text-gray-900",children:"Database"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Connected and synced"})]})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)("div",{className:"w-3 h-3 bg-green-500 rounded-full animate-pulse"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-semibold text-gray-900",children:"Media Storage"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"85% capacity used"})]})]}),(0,e.jsxs)("div",{className:"flex items-center gap-3",children:[(0,e.jsx)("div",{className:"w-3 h-3 bg-yellow-500 rounded-full animate-pulse"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-semibold text-gray-900",children:"Backup Status"}),(0,e.jsx)("p",{className:"text-sm text-gray-600",children:"Last backup: 2 hours ago"})]})]})]})]})]});case"company":return(0,e.jsx)(ej,{onNotification:y});case"projects":return(0,e.jsx)(eq,{onNotification:y});case"testimonials":return(0,e.jsx)(eU,{onNotification:y});case"contacts":return(0,e.jsx)(e$,{onNotification:y});case"media":return(0,e.jsx)(e_,{onNotification:y});case"analytics":return(0,e.jsx)(eX,{onNotification:y});default:return(0,e.jsxs)("div",{className:"text-center py-12",children:[(0,e.jsx)("div",{className:"w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,e.jsx)(ep,{className:"w-8 h-8 text-gray-400"})}),(0,e.jsx)("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"Coming Soon"}),(0,e.jsx)("p",{className:"text-gray-600",children:"This section is under development."})]})}})()})]})]})]})}
33,e1=o("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]),e2=({onLogin:a,onBack:r})=>{let[n,l]=(0,t.useState)({username:"",password:""}),[s,i]=(0,t.useState)(!1),[o,c]=(0,t.useState)(!1),[u,m]=(0,t.useState)(""),p=[{username:"admin",password:"admin123",role:"Super Admin"},{username:"manager",password:"manager123",role:"Manager"},{username:"editor",password:"editor123",role:"Content Editor"}],f=e=>{let{name:t,value:a}=e.target;l(e=>({...e,[t]:a})),u&&m("")};return(0,e.jsx)("div",{className:"min-h-screen bg-gradient-to-br from-purple-600 via-purple-700 to-blue-600 flex items-center justify-center p-4",children:(0,e.jsxs)("div",{className:"max-w-md w-full",children:[(0,e.jsxs)("button",{onClick:r,className:"flex items-center gap-2 text-white/80 hover:text-white font-semibold mb-8 hover:scale-105 transition-all duration-300",children:[(0,e.jsx)(Q,{className:"w-5 h-5"}),"Back to Website"]}),(0,e.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl p-8",children:[(0,e.jsxs)("div",{className:"text-center mb-8",children:[(0,e.jsx)("div",{className:"w-16 h-16 bg-gradient-to-r from-purple-600 to-blue-600 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,e.jsx)(d,{className:"w-8 h-8 text-white"})}),(0,e.jsx)("h2",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Admin Login"}),(0,e.jsx)("p",{className:"text-gray-600",children:"Sign in to access the admin dashboard"})]}),u&&(0,e.jsxs)("div",{className:"bg-red-50 border border-red-200 rounded-lg p-4 mb-6 flex items-center gap-3",children:[(0,e.jsx)(eh,{className:"w-5 h-5 text-red-500 flex-shrink-0"}),(0,e.jsx)("p",{className:"text-red-700 text-sm",children:u})]}),(0,e.jsxs)("form",{onSubmit:e=>{e.preventDefault(),c(!0),m(""),setTimeout(()=>{let e=p.find(e=>e.username===n.username&&e.password===n.password);e?(localStorage.setItem("adminAuth",JSON.stringify({username:e.username,role:e.role,loginTime:new Date().toISOString()})),a({username:e.username,role:e.role})):m("Invalid username or password"),c(!1)},800)},className:"space-y-6",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{htmlFor:"username",className:"block text-sm font-medium text-gray-700 mb-2",children:"Username"}),(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)(H,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-5 h-5"}),(0,e.jsx)("input",{type:"text",id:"username",name:"username",required:!0,value:n.username,onChange:f,className:"w-full pl-10 pr-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Enter your username"})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("label",{htmlFor:"password",className:"block text-sm font-medium text-gray-700 mb-2",children:"Password"}),(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)(e1,{className:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-5 h-5"}),(0,e.jsx)("input",{type:s?"text":"password",id:"password",name:"password",required:!0,value:n.password,onChange:f,className:"w-full pl-10 pr-12 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent",placeholder:"Enter your password"}),(0,e.jsx)("button",{type:"button",onClick:()=>i(!s),className:"absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-gray-600",children:s?(0,e.jsx)(eV,{className:"w-5 h-5"}):(0,e.jsx)(ee,{className:"w-5 h-5"})})]})]}),(0,e.jsx)("button",{type:"submit",disabled:o,className:"w-full bg-gradient-to-r from-purple-600 to-blue-600 text-white py-3 rounded-lg font-semibold hover:shadow-lg transition-all duration-300 disabled:opacity-50 flex items-center justify-center gap-2",children:o?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{className:"w-5 h-5 border-2 border-white/30 border-t-white rounded-full animate-spin"}),"Signing In..."]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(d,{className:"w-5 h-5"}),"Sign In"]})})]}),(0,e.jsxs)("div",{className:"mt-8 pt-6 border-t border-gray-200",children:[(0,e.jsx)("h3",{className:"text-sm font-semibold text-gray-700 mb-4 text-center",children:"Demo Credentials"}),(0,e.jsx)("div",{className:"space-y-2",children:p.map((t,a)=>(0,e.jsx)("button",{onClick:()=>{l({username:t.username,password:t.password})},className:"w-full text-left p-3 bg-gray-50 rounded-lg hover:bg-gray-100 transition-colors duration-300",children:(0,e.jsxs)("div",{className:"flex justify-between items-center",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"text-sm font-medium text-gray-900",children:t.username}),(0,e.jsx)("p",{className:"text-xs text-gray-500",children:t.role})]}),(0,e.jsx)("div",{className:"text-xs text-gray-400",children:"Click to use"})]})},a))})]})]})]})})},e4=({isOpen:a,onClose:r})=>
33{let[n,l]=(0,t.useState)({fullName:"",company:"",email:"",phone:"",serviceType:"",eventDate:"",eventLocation:"",budgetRange:"",additionalMessage:""}),s=e=>{let{name:t,value:a}=e.target;l(e=>({...e,[t]:a}))};return a?(0,e.jsx)("div",{className:"fixed inset-0 bg-black bg-opacity-50 z-50 flex items-center justify-center p-4",children:(0,e.jsxs)("div",{className:"bg-white rounded-2xl shadow-2xl max-w-2xl w-full max-h-[90vh] overflow-y-auto",children:[(0,e.jsx)("div",{className:"bg-gradient-to-r from-purple-600 to-blue-600 text-white p-6 rounded-t-2xl",children:(0,e.jsxs)("div",{className:"flex items-center justify-between",children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h3",{className:"text-2xl font-bold mb-2",children:"Get Your Project Quote"}),(0,e.jsx)("p",{className:"text-white/90",children:"Fill out the form below and we'll get back to you within 24 hours"})]}),(0,e.jsx)("button",{onClick:r,className:"text-white/80 hover:text-white transition-colors p-2 hover:bg-white/20 rounded-full",children:(0,e.jsx)(p,{className:"w-6 h-6"})})]})}),(0,e.jsxs)("div",{className:"p-6",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-6 p-4 bg-gradient-to-r from-purple-50 to-blue-50 rounded-lg",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(x,{className:"w-4 h-4 text-green-500"}),(0,e.jsx)("span",{className:"text-sm text-gray-700",children:"Free consultation with design experts"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(x,{className:"w-4 h-4 text-green-500"}),(0,e.jsx)("span",{className:"text-sm text-gray-700",children:"Custom quote within 24 hours"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(x,{className:"w-4 h-4 text-green-500"}),(0,e.jsx)("span",{className:"text-sm text-gray-700",children:"In-house production capabilities"})]}),(0,e.jsxs)("div",{className:"flex items-center gap-2",children:[(0,e.jsx)(x,{className:"w-4 h-4 text-green-500"}),(0,e.jsx)("span",{className:"text-sm text-gray-700",children:"Complete project management"})]})]}),(0,e.jsxs)("form",{onSubmit:e=>{e.preventDefault(),console.log("Form submitted:",n),alert("Thank you for your inquiry! We'll get back to you within 24 hours with a detailed proposal."),r(),l({fullName:"",company:"",email:"",phone:"",serviceType:"",eventDate:"",eventLocation:"",budgetRange:"",additionalMessage:""})},className:"space-y-4",children:[(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"fullName",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDC64"}),"Full Name *"]}),(0,e.jsx)("input",{type:"text",id:"fullName",name:"fullName",required:!0,value:n.fullName,onChange:s,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent hover:border-purple-300 transition-all duration-300",placeholder:"Your full name"})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"company",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83C\uDFE2"}),"Company"]}),(0,e.jsx)("input",{type:"text",id:"company",name:"company",value:n.company,onChange:s,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent hover:border-purple-300 transition-all duration-300",placeholder:"Your company name"})]})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"email",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"âï¸"}),"Email Address *"]}),(0,e.jsx)("input",{type:"email",id:"email",name:"email",required:!0,value:n.email,onChange:s,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent hover:border-purple-300 transition-all duration-300",placeholder:"[email protected]"})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"phone",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDCDE"}),"Phone Number *"]}),(0,e.jsx)("input",{type:"tel",id:"phone",name:"phone",required:!0,value:n.phone,onChange:s,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent hover:border-purple-300 transition-all duration-300",placeholder:"+971 50 123 4567"})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"serviceType",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDEE0ï¸"}),"Service Type"]}),(0,e.jsxs)("select",{id:"serviceType",name:"serviceType",value:n.serviceType,onCh
33ange:s,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent hover:border-purple-300 transition-all duration-300",children:[(0,e.jsx)("option",{value:"",children:"Select a service"}),["Exhibition Stand Design & Build","Custom Carpentry & Furniture","Printing & Branding","Rental Services","Event Technicals","Complete Event Package"].map((t,a)=>(0,e.jsx)("option",{value:t,children:t},a))]})]}),(0,e.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"eventDate",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDCC5"}),"Event Date"]}),(0,e.jsx)("input",{type:"date",id:"eventDate",name:"eventDate",value:n.eventDate,onChange:s,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent hover:border-purple-300 transition-all duration-300"})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"eventLocation",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDCCD"}),"Event Location"]}),(0,e.jsx)("input",{type:"text",id:"eventLocation",name:"eventLocation",value:n.eventLocation,onChange:s,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent hover:border-purple-300 transition-all duration-300",placeholder:"Dubai, UAE"})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"budgetRange",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDCB0"}),"Budget Range"]}),(0,e.jsxs)("select",{id:"budgetRange",name:"budgetRange",value:n.budgetRange,onChange:s,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent hover:border-purple-300 transition-all duration-300",children:[(0,e.jsx)("option",{value:"",children:"Select budget range"}),["Under AED 10,000","AED 10,000 - 25,000","AED 25,000 - 50,000","AED 50,000 - 100,000","Over AED 100,000"].map((t,a)=>(0,e.jsx)("option",{value:t,children:t},a))]})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{htmlFor:"additionalMessage",className:"flex items-center gap-2 text-sm font-medium text-gray-700 mb-2",children:[(0,e.jsx)("span",{children:"\uD83D\uDCAC"}),"Additional Message"]}),(0,e.jsx)("textarea",{id:"additionalMessage",name:"additionalMessage",rows:3,value:n.additionalMessage,onChange:s,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-500 focus:border-transparent hover:border-purple-300 transition-all duration-300 resize-none",placeholder:"Tell us more about your project requirements..."})]}),(0,e.jsxs)("div",{className:"flex gap-4 pt-4",children:[(0,e.jsx)("button",{type:"button",onClick:r,className:"flex-1 bg-gray-100 text-gray-700 px-6 py-3 rounded-lg font-semibold hover:bg-gray-200 transition-all duration-300",children:"Cancel"}),(0,e.jsxs)("button",{type:"submit",className:"flex-1 bg-gradient-to-r from-purple-600 to-blue-600 text-white px-6 py-3 rounded-lg font-semibold hover:shadow-lg hover:from-purple-700 hover:to-blue-700 transition-all duration-300 flex items-center justify-center gap-2",children:[(0,e.jsx)(A,{className:"w-5 h-5"}),"Submit Request"]})]}),(0,e.jsx)("p",{className:"text-sm text-gray-600 text-center",children:"We'll respond within 24 hours with a detailed quote and project timeline."})]})]})]})}):null};(0,r.createRoot)(document.getElementById("root")).render((0,e.jsx)(t.StrictMode,{children:(0,e.jsx)(function(){let[a,r]=(0,t.useState)("home"),[n,l]=(0,t.useState)(!1),[s,i]=(0,t.useState)(null),[o,c]=(0,t.useState)(!1);(0,t.useEffect)(()=>{let e=localStorage.getItem("adminAuth");if(e)try{let t=JSON.parse(e);i(t),c(!0)}catch(e){localStorage.removeItem("adminAuth")}},[]);let u=()=>{r("ourwork"),window.scrollTo({top:0,behavior:"smooth"})},d=()=>{r("rental"),window.scrollTo({top:0,behavior:"smooth"})},m=()=>{r("services"),window.scrollTo({top:0,behavior:"smooth"})},p=()=>{o&&s?r("admin"):r("login"),window.scrollTo({top:0,behavior:"smooth"})},f=()=>{r("home"),window.scrollTo({top:0,behavior:"smooth"})},x=()=>{l(!0)},g=()=>{l(!1)},b=e=>{i(e),c(!0),r("admin")};return((0,t.useEffect)(()=>{let e=()=>{u()};return window.addEventListener("navigateToOurWork",e),()=>{window.removeEventListener("navigateToOurWork",e)}},[]),"login"===a)?(0,e.jsx)(e2,{onLogin:b,onBack:f}):"admin"===a?o&&s?(0,e.jsx)("div",{className:"min-h-screen bg-white",children:(0,e.jsx)(e0,{onBack:f,onLogout:()=>{i(null),c(!1),localStorage.removeItem("adminAuth"),r("home")},user:s})}):(0,e.jsx)(e2,{onLogin:b,onBack:f}):"services"===a?(0,e.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,e.jsx)(h,{onOurWorkClick:u,onRentalClick:d,onServicesClick:m,onHomeClick:f,onQuoteModalOpen:x,onAdminClick:p}),(0,e.jsx)(W,{}),(0,e.jsx)(eu,{onBack:f}),(0,e.jsx)(q,{}),(0,e.jsx)($,{}),(0,e.jsx)(B,{}),(0,e.jsx)(e4,{isOpen:n,onClose:g})]}):"ourwork"===a?(0,e.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,e.jsx)(h,{onOurWorkClick:u,onRentalClick:d,onServicesClick:m,onHomeClick:f,onQuoteModalOpen:x,onAdminClick:p}),(0,e.jsx)(W,{}),(0,e.jsx)(Y,{onBack:f}),(0,e.jsx)(q,{}),(0,e.jsx)($,{}),(0,e.jsx)(B,{}),(0,e.jsx)(e4,{isOpen:n,onClose:g})]}):"rental"===a?(0,e.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,e.jsx)(h,{onOurWorkClick:u,onRentalClick:d,onServicesClick:m,onHomeClick:f,onQuoteModalOpen:x,onAdminClick:p}),(0,e.jsx)(W,{}),(0,e.jsx)(el,{onBack:f}),(0,e.jsx)(q,{}),(0,e.jsx)($,{}),(0,e.jsx)(B,{}),(0,e.jsx)(e4,{isOpen:n,onClose:g})]}):(0,e.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,e.jsx)(h,{onOurWorkClick:u,onRentalClick:d,onServicesClick:m,onHomeClick:f,onQuoteModalOpen:x,onAdminClick:p}),(0,e.jsx)(W,{}),(0,e.jsxs)("main",{children:[(0,e.jsx)(y,{}),(0,e.jsx)(E,{}),(0,e.jsx)(D,{}),(0,e.jsx)(z,{})]}),(0,e.jsx)(q,{}),(0,e.jsx)($,{}),(0,e.jsx)(B,{}),(0,e.jsx)(e4,{isOpen:n,onClose:g})]})},{})}))})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.