vendor: 5,376 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HomeContainer-DTWPaqsl.js","assets/DepartmentalHrSection-DdwtbcI7.js","assets/SearchBox-BSF04s1W.js","assets/SecretaryProfileModal-D4ZKBLyN.js","assets/index-C1PNIyiC.js","assets/ProfileModal-CCcOD_Rb.js","assets/paragraphTextUtil-CTqQS2n0.js","assets/UseWithinLastHours-CVjiTvXu.js","assets/index-BHcQtmso.js","assets/HrProfileModal-B09aEEXz.js","assets/DepartmentalHrSection-2d6kTBOk.css","assets/HomeContainer-D0rIptdd.css","assets/NewsListContainer-BpUXVWtp.js","assets/ViewToggle-CI6btVWc.js","assets/HomeScreenStatic-BCcFyyz4.js","assets/JobScreen-BqijrqXy.js","assets/Expiry24hours-BwxC_8gq.js","assets/TenderScreen-BLHKl2oQ.js","assets/DepartmentNotificationScreen-3qyZUA_G.js","assets/ViewButton-CEWtKZA1.js","assets/CabinetMemberListScreen-SgUSHv-9.js","assets/RulesAndRegulationScreen-C0zC74B1.js","assets/RulesRegulationTable-onKU9owJ.js","assets/RulesAndRegulationHomeScreen-CKE_bezO.js","assets/DownloadScreen-CcLLqbZL.js","assets/plus-m4YzPCL0.js","assets/AdministrativeSecretaryListScreen-Db1OigyW.js","assets/HistoryModal-B4xj5QxT.js","assets/FaqScreen-Ce_147Mn.js","assets/SearchPage-CHPR2FKO.js","assets/ChiefMinisterGalleryScreen-C09CK9Sg.js","assets/InvestmentOpportunitiesScreen-DwsDDCzj.js","assets/ServiceListScreenTwo-yRBl6MrH.js","assets/ServiceListCard-WIN22qSk.js","assets/ServiceListScreenThree-DySP9DEo.js","assets/HrDepartmentScreen-CkV2ggW3.js"])))=>i.map(i=>d[i]); 2function z6(e,t){for(var i=0;i<t.length;i++){const r=t[i];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const u=Object.getOwnPropertyDescriptor(r,l);u&&Object.defineProperty(e,l,u.get?u:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const c of u.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).observe(document,{childList:!0,subtree:!0});function i(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(l){if(l.ep)return;l.ep=!0;const u=i(l);fetch(l.href,u)}})();var IL=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Hl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function qL(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var i=function r(){var l=!1;try{l=this instanceof r}catch{}return l?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};i.prototype=t.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(i,r,l.get?l:{enumerable:!0,get:function(){return e[r]}})}),i}var $d={exports:{}},rl={};var yv;function U6(){if(yv)return rl;yv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function i(r,l,u){var c=null;if(u!==void 0&&(c=""+u),l.key!==void 0&&(c=""+l.key),"key"in l){u={};for(var m in l)m!=="key"&&(u[m]=l[m])}else u=l;return l=u.ref,{$$typeof:e,type:r,key:c,ref:l!==void 0?l:null,props:u}}return rl.Fragment=t,rl.jsx=i,rl.jsxs=i,rl}var bv;function B6(){return bv||(bv=1,$d.exports=U6()),$d.exports}var h=B6(),Gd={exports:{}},sl={},Yd={exports:{}},Kd={};var xv;function H6(){return xv||(xv=1,(function(e){function t(q,ae){var ee=q.length;q.push(ae);e:for(;0<ee;){var W=ee-1>>>1,O=q[W];if(0<l(O,ae))q[W]=ae,q[ee]=O,ee=W;else break e}}function i(q){return q.length===0?null:q[0]}function r(q){if(q.length===0)return null;var ae=q[0],ee=q.pop();if(ee!==ae){q[0]=ee;e:for(var W=0,O=q.length,z=O>>>1;W<z;){var Y=2*(W+1)-1,K=q[Y],J=Y+1,le=q[J];if(0>l(K,ee))J<O&&0>l(le,K)?(q[W]=le,q[J]=ee,W=J):(q[W]=K,q[Y]=ee,W=Y);else if(J<O&&0>l(le,ee))q[W]=le,q[J]=ee,W=J;else break e}}return ae}function l(q,ae){var ee=q.sortIndex-ae.sortIndex;return ee!==0?ee:q.id-ae.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var c=Date,m=c.now();e.unstable_now=function(){return c.now()-m}}var d=[],p=[],g=1,y=null,S=3,C=!1,w=!1,T=!1,E=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function N(q){for(var ae=i(p);ae!==null;){if(ae.callback===null)r(p);else if(ae.startTime<=q)r(p),ae.sortIndex=ae.expirationTime,t(d,ae);else break;ae=i(p)}}function P(q){if(T=!1,N(q),!w)if(i(d)!==null)w=!0,fe();else{var ae=i(p);ae!==null&&X(P,ae.startTime-q)}}var D=!1,U=-1,H=5,I=-1;function L(){return!(e.unstable_now()-I<H)}function ie(){if(D){var q=e.unstable_now();I=q;var ae=!0;try{e:{w=!1,T&&(T=!1,A(U),U=-1),C=!0;var ee=S;try{t:{for(N(q),y=i(d);y!==null&&!(y.expirationTime>q&&L());){var W=y.callback;if(typeof W=="function"){y.callback=null,S=y.priorityLevel;var O=W(y.expirationTime<=q);
vendor: 9,890 bytes, line 2
2if(q=e.unstable_now(),typeof O=="function"){y.callback=O,N(q),ae=!0;break t}y===i(d)&&r(d),N(q)}else r(d);y=i(d)}if(y!==null)ae=!0;else{var z=i(p);z!==null&&X(P,z.startTime-q),ae=!1}}break e}finally{y=null,S=ee,C=!1}ae=void 0}}finally{ae?ce():D=!1}}}var ce;if(typeof R=="function")ce=function(){R(ie)};else if(typeof MessageChannel<"u"){var ne=new MessageChannel,oe=ne.port2;ne.port1.onmessage=ie,ce=function(){oe.postMessage(null)}}else ce=function(){E(ie,0)};function fe(){D||(D=!0,ce())}function X(q,ae){U=E(function(){q(e.unstable_now())},ae)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(q){q.callback=null},e.unstable_continueExecution=function(){w||C||(w=!0,fe())},e.unstable_forceFrameRate=function(q){0>q||125<q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<q?Math.floor(1e3/q):5},e.unstable_getCurrentPriorityLevel=function(){return S},e.unstable_getFirstCallbackNode=function(){return i(d)},e.unstable_next=function(q){switch(S){case 1:case 2:case 3:var ae=3;break;default:ae=S}var ee=S;S=ae;try{return q()}finally{S=ee}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(q,ae){switch(q){case 1:case 2:case 3:case 4:case 5:break;default:q=3}var ee=S;S=q;try{return ae()}finally{S=ee}},e.unstable_scheduleCallback=function(q,ae,ee){var W=e.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?W+ee:W):ee=W,q){case 1:var O=-1;break;case 2:O=250;break;case 5:O=1073741823;break;case 4:O=1e4;break;default:O=5e3}return O=ee+O,q={id:g++,callback:ae,priorityLevel:q,startTime:ee,expirationTime:O,sortIndex:-1},ee>W?(q.sortIndex=ee,t(p,q),i(d)===null&&q===i(p)&&(T?(A(U),U=-1):T=!0,X(P,ee-W))):(q.sortIndex=O,t(d,q),w||C||(w=!0,fe())),q},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(q){var ae=S;return function(){var ee=S;S=ae;try{return q.apply(this,arguments)}finally{S=ee}}}})(Kd)),Kd}var Sv;function F6(){return Sv||(Sv=1,Yd.exports=H6()),Yd.exports}var Xd={exports:{}},De={};var wv;function I6(){if(wv)return De;wv=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),y=Symbol.iterator;function S(O){return O===null||typeof O!="object"?null:(O=y&&O[y]||O["@@iterator"],typeof O=="function"?O:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,T={};function E(O,z,Y){this.props=O,this.context=z,this.refs=T,this.updater=Y||C}E.prototype.isReactComponent={},E.prototype.setState=function(O,z){if(typeof O!="object"&&typeof O!="function"&&O!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,O,z,"setState")},E.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function A(){}A.prototype=E.prototype;function R(O,z,Y){this.props=O,this.context=z,this.refs=T,this.updater=Y||C}var N=R.prototype=new A;N.constructor=R,w(N,E.prototype),N.isPureReactComponent=!0;var P=Array.isArray,D={H:null,A:null,T:null,S:null},U=Object.prototype.hasOwnProperty;function H(O,z,Y,K,J,le){return Y=le.ref,{$$typeof:e,type:O,key:z,ref:Y!==void 0?Y:null,props:le}}function I(O,z){return H(O.type,z,void 0,void 0,void 0,O.props)}function L(O){return typeof O=="object"&&O!==null&&O.$$typeof===e}function ie(O){var z={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(Y){return z[Y]})}var ce=/\/+/g;function ne(O,z){return typeof O=="object"&&O!==null&&O.key!=null?ie(""+O.key):z.toString(36)}function oe(){}function fe(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(oe,oe):(O.status="pending",O.then(function(z){O.status==="pending"&&(O.status="fulfilled",O.value=z)},function(z){O.status==="pending"&&(O.status="rejected",O.reason=z)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function X(O,z,Y,K,J){var le=typeof O;(le==="undefined"||le==="boolean")&&(O=null);var ue=!1;if(O===null)ue=!0;else switch(le){case"bigint":case"string":case"number":ue=!0;break;case"object":switch(O.$$typeof){case e:case t:ue=!0;break;case g:return ue=O._init,X(ue(O._payload),z,Y,K,J)}}if(ue)return J=J(O),ue=K===""?"."+ne(O,0):K,P(J)?(Y="",ue!=null&&(Y=ue.replace(ce,"$&/")+"/"),X(J,z,Y,"",function(Ne){return Ne})):J!=null&&(L(J)&&(J=I(J,Y+(J.key==null||O&&O.key===J.key?"":(""+J.key).replace(ce,"$&/")+"/")+ue)),z.push(J)),1;ue=0;var Ae=K===""?".":K+":";if(P(O))for(var ge=0;ge<O.length;ge++)K=O[ge],le=Ae+ne(K,ge),ue+=X(K,z,Y,le,J);else if(ge=S(O),typeof ge=="function")for(O=ge.call(O),ge=0;!(K=O.next()).done;)K=K.value,le=Ae+ne(K,ge++),ue+=X(K,z,Y,le,J);else if(le==="object"){if(typeof O.then=="function")return X(fe(O),z,Y,K,J);throw z=String(O),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return ue}function q(O,z,Y){if(O==null)return O;var K=[],J=0;return X(O,K,"","",function(le){return z.call(Y,le,J++)}),K}function ae(O){if(O._status===-1){var z=O._result;z=z(),z.then(function(Y){(O._status===0||O._status===-1)&&(O._status=1,O._result=Y)},function(Y){(O._status===0||O._status===-1)&&(O._status=2,O._result=Y)}),O._status===-1&&(O._status=0,O._result=z)}if(O._status===1)return O._result.default;throw O._result}var ee=typeof reportError=="function"?reportError:function(O){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O),error:O});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",O);return}console.error(O)};function W(){}return De.Children={map:q,forEach:function(O,z,Y){q(O,function(){z.apply(this,arguments)},Y)},count:function(O){var z=0;return q(O,function(){z++}),z},toArray:function(O){return q(O,function(z){return z})||[]},only:function(O){if(!L(O))throw Error("React.Children.only expected to receive a single React element child.");return O}},De.Component=E,De.Fragment=i,De.Profiler=l,De.PureComponent=R,De.StrictMode=r,De.Suspense=d,De.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D,De.act=function(){throw Error("act(...) is not supported in production builds of React.")},De.cache=function(O){return function(){return O.apply(null,arguments)}},De.cloneElement=function(O,z,Y){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var K=w({},O.props),J=O.key,le=void 0;if(z!=null)for(ue in z.ref!==void 0&&(le=void 0),z.key!==void 0&&(J=""+z.key),z)!U.call(z,ue)||ue==="key"||ue==="__self"||ue==="__source"||ue==="ref"&&z.ref===void 0||(K[ue]=z[ue]);var ue=arguments.length-2;if(ue===1)K.children=Y;else if(1<ue){for(var Ae=Array(ue),ge=0;ge<ue;ge++)Ae[ge]=arguments[ge+2];K.children=Ae}return H(O.type,J,void 0,void 0,le,K)},De.createContext=function(O){return O={$$typeof:c,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:u,_context:O},O},De.createElement=function(O,z,Y){var K,J={},le=null;if(z!=null)for(K in z.key!==void 0&&(le=""+z.key),z)U.call(z,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(J[K]=z[K]);var ue=arguments.length-2;if(ue===1)J.children=Y;else if(1<ue){for(var Ae=Array(ue),ge=0;ge<ue;ge++)Ae[ge]=arguments[ge+2];J.children=Ae}if(O&&O.defaultProps)for(K in ue=O.defaultProps,ue)J[K]===void 0&&(J[K]=ue[K]);return H(O,le,void 0,void 0,null,J)},De.createRef=function(){return{current:null}},De.forwardRef=function(O){return{$$typeof:m,render:O}},De.isValidElement=L,De.lazy=function(O){return{$$typeof:g,_payload:{_status:-1,_result:O},_init:ae}},De.memo=function(O,z){return{$$typeof:p,type:O,compare:z===void 0?null:z}},De.startTransition=function(O){var z=D.T,Y={};D.T=Y;try{var K=O(),J=D.S;J!==null&&J(Y,K),typeof K=="object"&&K!==null&&typeof K.then=="function"&&K.then(W,ee)}catch(le){ee(le)}finally{D.T=z}},De.unstable_useCacheRefresh=function(){return D.H.useCacheRefresh()},De.use=function(O){return D.H.use(O)},De.useActionState=function(O,z,Y){return D.H.useActionState(O,z,Y)},De.useCallback=function(O,z){return D.H.useCallback(O,z)},De.useContext=function(O){return D.H.useContext(O)},De.useDebugValue=function(){},De.useDeferredValue=function(O,z){return D.H.useDeferredValue(O,z)},De.useEffect=function(O,z){return D.H.useEffect(O,z)},De.useId=function(){return D.H.useId()},De.useImperativeHandle=function(O,z,Y){return D.H.useImperativeHandle(O,z,Y)},De.useInsertionEffect=function(O,z){return D.H.useInsertionEffect(O,z)},De.useLayoutEffect=function(O,z){return D.H.useLayoutEffect(O,z)},De.useMemo=function(O,z){return D.H.useMemo(O,z)},De.useOptimistic=function(O,z){return D.H.useOptimistic(O,z)},De.useReducer=function(O,z,Y){return D.H.useReducer(O,z,Y)},De.useRef=function(O){return D.H.useRef(O)},De.useState=function(O){return D.H.useState(O)},De.useSyncExternalStore=function(O,z,Y){return D.H.useSyncExternalStore(O,z,Y)},De.useTransition=function(){return D.H.useTransition()},De.version="19.0.0",De}var Ev;function Sc(){return Ev||(Ev=1,Xd.exports=I6()),Xd.exports}
vendor: 6,418 bytes, lines 2-4
2var Qd={exports:{}},Kt={};var Tv;function q6(){if(Tv)return Kt;Tv=1;var e=Sc();function t(d){var p="https://react.dev/errors/"+d;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)p+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+d+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var r={d:{f:i,r:function(){throw Error(t(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(d,p,g){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:y==null?null:""+y,children:d,containerInfo:p,implementation:g}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(d,p){if(d==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return Kt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Kt.createPortal=function(d,p){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(t(299));return u(d,p,null,g)},Kt.flushSync=function(d){var p=c.T,g=r.p;try{if(c.T=null,r.p=2,d)return d()}finally{c.T=p,r.p=g,r.d.f()}},Kt.preconnect=function(d,p){typeof d=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(d,p))},Kt.prefetchDNS=function(d){typeof d=="string"&&r.d.D(d)},Kt.preinit=function(d,p){if(typeof d=="string"&&p&&typeof p.as=="string"){var g=p.as,y=m(g,p.crossOrigin),S=typeof p.integrity=="string"?p.integrity:void 0,C=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;g==="style"?r.d.S(d,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:y,integrity:S,fetchPriority:C}):g==="script"&&r.d.X(d,{crossOrigin:y,integrity:S,fetchPriority:C,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},Kt.preinitModule=function(d,p){if(typeof d=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var g=m(p.as,p.crossOrigin);r.d.M(d,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(d)},Kt.preload=function(d,p){if(typeof d=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var g=p.as,y=m(g,p.crossOrigin);r.d.L(d,g,{crossOrigin:y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},Kt.preloadModule=function(d,p){if(typeof d=="string")if(p){var g=m(p.as,p.crossOrigin);r.d.m(d,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(d)},Kt.requestFormReset=function(d){r.d.r(d)},Kt.unstable_batchedUpdates=function(d,p){return d(p)},Kt.useFormState=function(d,p,g){return c.H.useFormState(d,p,g)},Kt.useFormStatus=function(){return c.H.useHostTransitionStatus()},Kt.version="19.0.0",Kt}var Cv;function Bb(){if(Cv)return Qd.exports;Cv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Qd.exports=q6(),Qd.exports}var Av;function $6(){if(Av)return sl;Av=1;var e=F6(),t=Sc(),i=Bb();function r(n){var a="https://react.dev/errors/"+n;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var s=2;s<arguments.length;s++)a+="&args[]="+encodeURIComponent(arguments[s])}return"Minified React error #"+n+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}var u=Symbol.for("react.element"),c=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),S=Symbol.for("react.consumer"),C=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),P=Symbol.for("react.memo_cache_sentinel"),D=Symbol.iterator;function U(n){return n===null||typeof n!="object"?null:(n=D&&n[D]||n["@@iterator"],typeof n=="function"?n:null)}var H=Symbol.for("react.client.reference");function I(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===H?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case d:return"Fragment";case m:return"Portal";case g:return"Profiler";case p:return"StrictMode";case T:return"Suspense";case E:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case C:return(n.displayName||"Context")+".Provider";case S:return(n._context.displayName||"Context")+".Consumer";case w:var a=n.render;return n=n.displayName,n||(n=a.displayName||a.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case A:return a=n.displayName||null,a!==null?a:I(n.type)||"Memo";case R:a=n._payload,n=n._init;try{return I(n(a))}catch{}}return null}var L=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=Object.assign,ce,ne;function oe(n){if(ce===void 0)try{throw Error()}catch(s){var a=s.stack.trim().match(/\n( *(at )?)/);ce=a&&a[1]||"",ne=-1<s.stack.indexOf(` 3 at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return` 4`+ce+n+ne}var fe=!1;function X(n,a){if(!n||fe)return"";fe=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(a){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(Q){var $=Q}Reflect.construct(n,[],re)}else{try{re.call()}catch(Q){$=Q}n.call(re.prototype)}}else{try{throw Error()}catch(Q){$=Q}(re=n())&&typeof re.catch=="function"&&re.catch(function(){})}}
vendor: 4,789 bytes, lines 4-9
4catch(Q){if(Q&&$&&typeof Q.stack=="string")return[Q.stack,$.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=o.DetermineComponentFrameRoot(),b=v[0],j=v[1];if(b&&j){var M=b.split(` 5`),V=j.split(` 6`);for(f=o=0;o<M.length&&!M[o].includes("DetermineComponentFrameRoot");)o++;for(;f<V.length&&!V[f].includes("DetermineComponentFrameRoot");)f++;if(o===M.length||f===V.length)for(o=M.length-1,f=V.length-1;1<=o&&0<=f&&M[o]!==V[f];)f--;for(;1<=o&&0<=f;o--,f--)if(M[o]!==V[f]){if(o!==1||f!==1)do if(o--,f--,0>f||M[o]!==V[f]){var Z=` 7`+M[o].replace(" at new "," at ");return n.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",n.displayName)),Z}while(1<=o&&0<=f);break}}}finally{fe=!1,Error.prepareStackTrace=s}return(s=n?n.displayName||n.name:"")?oe(s):""}function q(n){switch(n.tag){case 26:case 27:case 5:return oe(n.type);case 16:return oe("Lazy");case 13:return oe("Suspense");case 19:return oe("SuspenseList");case 0:case 15:return n=X(n.type,!1),n;case 11:return n=X(n.type.render,!1),n;case 1:return n=X(n.type,!0),n;default:return""}}function ae(n){try{var a="";do a+=q(n),n=n.return;while(n);return a}catch(s){return` 8Error generating stack: `+s.message+` 9`+s.stack}}function ee(n){var a=n,s=n;if(n.alternate)for(;a.return;)a=a.return;else{n=a;do a=n,(a.flags&4098)!==0&&(s=a.return),n=a.return;while(n)}return a.tag===3?s:null}function W(n){if(n.tag===13){var a=n.memoizedState;if(a===null&&(n=n.alternate,n!==null&&(a=n.memoizedState)),a!==null)return a.dehydrated}return null}function O(n){if(ee(n)!==n)throw Error(r(188))}function z(n){var a=n.alternate;if(!a){if(a=ee(n),a===null)throw Error(r(188));return a!==n?null:n}for(var s=n,o=a;;){var f=s.return;if(f===null)break;var v=f.alternate;if(v===null){if(o=f.return,o!==null){s=o;continue}break}if(f.child===v.child){for(v=f.child;v;){if(v===s)return O(f),n;if(v===o)return O(f),a;v=v.sibling}throw Error(r(188))}if(s.return!==o.return)s=f,o=v;else{for(var b=!1,j=f.child;j;){if(j===s){b=!0,s=f,o=v;break}if(j===o){b=!0,o=f,s=v;break}j=j.sibling}if(!b){for(j=v.child;j;){if(j===s){b=!0,s=v,o=f;break}if(j===o){b=!0,o=v,s=f;break}j=j.sibling}if(!b)throw Error(r(189))}}if(s.alternate!==o)throw Error(r(190))}if(s.tag!==3)throw Error(r(188));return s.stateNode.current===s?n:a}function Y(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n;for(n=n.child;n!==null;){if(a=Y(n),a!==null)return a;n=n.sibling}return null}var K=Array.isArray,J=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le={pending:!1,data:null,method:null,action:null},ue=[],Ae=-1;function ge(n){return{current:n}}function Ne(n){0>Ae||(n.current=ue[Ae],ue[Ae]=null,Ae--)}function Oe(n,a){Ae++,ue[Ae]=n.current,n.current=a}var Ie=ge(null),at=ge(null),Xe=ge(null),vt=ge(null);function Pe(n,a){switch(Oe(Xe,a),Oe(at,n),Oe(Ie,null),n=a.nodeType,n){case 9:case 11:a=(a=a.documentElement)&&(a=a.namespaceURI)?Yg(a):0;break;default:if(n=n===8?a.parentNode:a,a=n.tagName,n=n.namespaceURI)n=Yg(n),a=Kg(n,a);else switch(a){case"svg":a=1;break;case"math":a=2;break;default:a=0}}Ne(Ie),Oe(Ie,a)}function it(){Ne(Ie),Ne(at),Ne(Xe)}function yt(n){n.memoizedState!==null&&Oe(vt,n);var a=Ie.current,s=Kg(a,n.type);a!==s&&(Oe(at,n),Oe(Ie,s))}function qe(n){at.current===n&&(Ne(Ie),Ne(at)),vt.current===n&&(Ne(vt),el._currentValue=le)}var pn=Object.prototype.hasOwnProperty,Rn=e.unstable_scheduleCallback,Jt=e.unstable_cancelCallback,gn=e.unstable_shouldYield,Xa=e.unstable_requestPaint,$t=e.unstable_now,Ti=e.unstable_getCurrentPriorityLevel,wa=e.unstable_ImmediatePriority,vn=e.unstable_UserBlockingPriority,Qa=e.unstable_NormalPriority,to=e.unstable_LowPriority,ls=e.unstable_IdlePriority,os=e.log,no=e.unstable_setDisableYieldValue,ua=null,Dt=null;function Xn(n){if(Dt&&typeof Dt.onCommitFiberRoot=="function")try{Dt.onCommitFiberRoot(ua,n,void 0,(n.current.flags&128)===128)}catch{}}function en(n){if(typeof os=="function"&&no(n),Dt&&typeof Dt.setStrictMode=="function")try{Dt.setStrictMode(ua,n)}catch{}}var Pt=Math.clz32?Math.clz32:rr,us=Math.log,Hc=Math.LN2;function rr(n){return n>>>=0,n===0?32:31-(us(n)/Hc|0)|0}var Ea=128,sr=4194304;function yn(n){var a=n&42;if(a!==0)return a;switch(n&-n){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: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 n&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;
vendor: 4,229 bytes, line 9
9case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function lr(n,a){var s=n.pendingLanes;if(s===0)return 0;var o=0,f=n.suspendedLanes,v=n.pingedLanes,b=n.warmLanes;n=n.finishedLanes!==0;var j=s&134217727;return j!==0?(s=j&~f,s!==0?o=yn(s):(v&=j,v!==0?o=yn(v):n||(b=j&~b,b!==0&&(o=yn(b))))):(j=s&~f,j!==0?o=yn(j):v!==0?o=yn(v):n||(b=s&~b,b!==0&&(o=yn(b)))),o===0?0:a!==0&&a!==o&&(a&f)===0&&(f=o&-o,b=a&-a,f>=b||f===32&&(b&4194176)!==0)?a:o}function Ci(n,a){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&a)===0}function bt(n,a){switch(n){case 1:case 2:case 4:case 8:return a+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ta(){var n=Ea;return Ea<<=1,(Ea&4194176)===0&&(Ea=128),n}function ao(){var n=sr;return sr<<=1,(sr&62914560)===0&&(sr=4194304),n}function or(n){for(var a=[],s=0;31>s;s++)a.push(n);return a}function Ca(n,a){n.pendingLanes|=a,a!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function io(n,a,s,o,f,v){var b=n.pendingLanes;n.pendingLanes=s,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=s,n.entangledLanes&=s,n.errorRecoveryDisabledLanes&=s,n.shellSuspendCounter=0;var j=n.entanglements,M=n.expirationTimes,V=n.hiddenUpdates;for(s=b&~s;0<s;){var Z=31-Pt(s),re=1<<Z;j[Z]=0,M[Z]=-1;var $=V[Z];if($!==null)for(V[Z]=null,Z=0;Z<$.length;Z++){var Q=$[Z];Q!==null&&(Q.lane&=-536870913)}s&=~re}o!==0&&cs(n,o,0),v!==0&&f===0&&n.tag!==0&&(n.suspendedLanes|=v&~(b&~a))}function cs(n,a,s){n.pendingLanes|=a,n.suspendedLanes&=~a;var o=31-Pt(a);n.entangledLanes|=a,n.entanglements[o]=n.entanglements[o]|1073741824|s&4194218}function ro(n,a){var s=n.entangledLanes|=a;for(n=n.entanglements;s;){var o=31-Pt(s),f=1<<o;f&a|n[o]&a&&(n[o]|=a),s&=~f}}function bn(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function ca(){var n=J.p;return n!==0?n:(n=window.event,n===void 0?32:dv(n.type))}function so(n,a){var s=J.p;try{return J.p=n,a()}finally{J.p=s}}var Qn=Math.random().toString(36).slice(2),St="__reactFiber$"+Qn,Vt="__reactProps$"+Qn,Gt="__reactContainer$"+Qn,ur="__reactEvents$"+Qn,lo="__reactListeners$"+Qn,oo="__reactHandles$"+Qn,fs="__reactResources$"+Qn,Ai="__reactMarker$"+Qn;function ve(n){delete n[St],delete n[Vt],delete n[ur],delete n[lo],delete n[oo]}function _(n){var a=n[St];if(a)return a;for(var s=n.parentNode;s;){if(a=s[Gt]||s[St]){if(s=a.alternate,a.child!==null||s!==null&&s.child!==null)for(n=Wg(n);n!==null;){if(s=n[St])return s;n=Wg(n)}return a}n=s,s=n.parentNode}return null}function se(n){if(n=n[St]||n[Gt]){var a=n.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return n}return null}function de(n){var a=n.tag;if(a===5||a===26||a===27||a===6)return n.stateNode;throw Error(r(33))}function $e(n){var a=n[fs];return a||(a=n[fs]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Ve(n){n[Ai]=!0}var rt=new Set,zt={};function Ut(n,a){xn(n,a),xn(n+"Capture",a)}function xn(n,a){for(zt[n]=a,n=0;n<a.length;n++)rt.add(a[n])}var Sn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),jt=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]*$"),ds={},hs={};function M5(n){return pn.call(hs,n)?!0:pn.call(ds,n)?!1:jt.test(n)?hs[n]=!0:(ds[n]=!0,!1)}function uo(n,a,s){if(M5(a))if(s===null)n.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":n.removeAttribute(a);return;case"boolean":var o=a.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){n.removeAttribute(a);return}}n.setAttribute(a,""+s)}}
vendor: 9,347 bytes, line 9
9function co(n,a,s){if(s===null)n.removeAttribute(a);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(a);return}n.setAttribute(a,""+s)}}function Aa(n,a,s,o){if(o===null)n.removeAttribute(s);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(s);return}n.setAttributeNS(a,s,""+o)}}function Nn(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Qp(n){var a=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function _5(n){var a=Qp(n)?"checked":"value",s=Object.getOwnPropertyDescriptor(n.constructor.prototype,a),o=""+n[a];if(!n.hasOwnProperty(a)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var f=s.get,v=s.set;return Object.defineProperty(n,a,{configurable:!0,get:function(){return f.call(this)},set:function(b){o=""+b,v.call(this,b)}}),Object.defineProperty(n,a,{enumerable:s.enumerable}),{getValue:function(){return o},setValue:function(b){o=""+b},stopTracking:function(){n._valueTracker=null,delete n[a]}}}}function fo(n){n._valueTracker||(n._valueTracker=_5(n))}function Wp(n){if(!n)return!1;var a=n._valueTracker;if(!a)return!0;var s=a.getValue(),o="";return n&&(o=Qp(n)?n.checked?"true":"false":n.value),n=o,n!==s?(a.setValue(n),!0):!1}function ho(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var L5=/[\n"\\]/g;function Dn(n){return n.replace(L5,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Fc(n,a,s,o,f,v,b,j){n.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?n.type=b:n.removeAttribute("type"),a!=null?b==="number"?(a===0&&n.value===""||n.value!=a)&&(n.value=""+Nn(a)):n.value!==""+Nn(a)&&(n.value=""+Nn(a)):b!=="submit"&&b!=="reset"||n.removeAttribute("value"),a!=null?Ic(n,b,Nn(a)):s!=null?Ic(n,b,Nn(s)):o!=null&&n.removeAttribute("value"),f==null&&v!=null&&(n.defaultChecked=!!v),f!=null&&(n.checked=f&&typeof f!="function"&&typeof f!="symbol"),j!=null&&typeof j!="function"&&typeof j!="symbol"&&typeof j!="boolean"?n.name=""+Nn(j):n.removeAttribute("name")}function Zp(n,a,s,o,f,v,b,j){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(n.type=v),a!=null||s!=null){if(!(v!=="submit"&&v!=="reset"||a!=null))return;s=s!=null?""+Nn(s):"",a=a!=null?""+Nn(a):s,j||a===n.value||(n.value=a),n.defaultValue=a}o=o??f,o=typeof o!="function"&&typeof o!="symbol"&&!!o,n.checked=j?n.checked:!!o,n.defaultChecked=!!o,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(n.name=b)}function Ic(n,a,s){a==="number"&&ho(n.ownerDocument)===n||n.defaultValue===""+s||(n.defaultValue=""+s)}function cr(n,a,s,o){if(n=n.options,a){a={};for(var f=0;f<s.length;f++)a["$"+s[f]]=!0;for(s=0;s<n.length;s++)f=a.hasOwnProperty("$"+n[s].value),n[s].selected!==f&&(n[s].selected=f),f&&o&&(n[s].defaultSelected=!0)}else{for(s=""+Nn(s),a=null,f=0;f<n.length;f++){if(n[f].value===s){n[f].selected=!0,o&&(n[f].defaultSelected=!0);return}a!==null||n[f].disabled||(a=n[f])}a!==null&&(a.selected=!0)}}function Jp(n,a,s){if(a!=null&&(a=""+Nn(a),a!==n.value&&(n.value=a),s==null)){n.defaultValue!==a&&(n.defaultValue=a);return}n.defaultValue=s!=null?""+Nn(s):""}function e0(n,a,s,o){if(a==null){if(o!=null){if(s!=null)throw Error(r(92));if(K(o)){if(1<o.length)throw Error(r(93));o=o[0]}s=o}s==null&&(s=""),a=s}s=Nn(a),n.defaultValue=s,o=n.textContent,o===s&&o!==""&&o!==null&&(n.value=o)}function fr(n,a){if(a){var s=n.firstChild;if(s&&s===n.lastChild&&s.nodeType===3){s.nodeValue=a;return}}n.textContent=a}var k5=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 t0(n,a,s){var o=a.indexOf("--")===0;s==null||typeof s=="boolean"||s===""?o?n.setProperty(a,""):a==="float"?n.cssFloat="":n[a]="":o?n.setProperty(a,s):typeof s!="number"||s===0||k5.has(a)?a==="float"?n.cssFloat=s:n[a]=(""+s).trim():n[a]=s+"px"}function n0(n,a,s){if(a!=null&&typeof a!="object")throw Error(r(62));if(n=n.style,s!=null){for(var o in s)!s.hasOwnProperty(o)||a!=null&&a.hasOwnProperty(o)||(o.indexOf("--")===0?n.setProperty(o,""):o==="float"?n.cssFloat="":n[o]="");for(var f in a)o=a[f],a.hasOwnProperty(f)&&s[f]!==o&&t0(n,f,o)}else for(var v in a)a.hasOwnProperty(v)&&t0(n,v,a[v])}function qc(n){if(n.indexOf("-")===-1)return!1;switch(n){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 P5=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-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"]]),V5=/^[\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 mo(n){return V5.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}var $c=null;function Gc(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var dr=null,hr=null;function a0(n){var a=se(n);if(a&&(n=a.stateNode)){var s=n[Vt]||null;e:switch(n=a.stateNode,a.type){case"input":if(Fc(n,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name),a=s.name,s.type==="radio"&&a!=null){for(s=n;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll('input[name="'+Dn(""+a)+'"][type="radio"]'),a=0;a<s.length;a++){var o=s[a];if(o!==n&&o.form===n.form){var f=o[Vt]||null;if(!f)throw Error(r(90));Fc(o,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(a=0;a<s.length;a++)o=s[a],o.form===n.form&&Wp(o)}break e;case"textarea":Jp(n,s.value,s.defaultValue);break e;case"select":a=s.value,a!=null&&cr(n,!!s.multiple,a,!1)}}}var Yc=!1;
vendor: 4,100 bytes, line 9
9function i0(n,a,s){if(Yc)return n(a,s);Yc=!0;try{var o=n(a);return o}finally{if(Yc=!1,(dr!==null||hr!==null)&&(Wo(),dr&&(a=dr,n=hr,hr=dr=null,a0(a),n)))for(a=0;a<n.length;a++)a0(n[a])}}function ms(n,a){var s=n.stateNode;if(s===null)return null;var o=s[Vt]||null;if(o===null)return null;s=o[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(n=n.type,o=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!o;break e;default:n=!1}if(n)return null;if(s&&typeof s!="function")throw Error(r(231,a,typeof s));return s}var Kc=!1;if(Sn)try{var ps={};Object.defineProperty(ps,"passive",{get:function(){Kc=!0}}),window.addEventListener("test",ps,ps),window.removeEventListener("test",ps,ps)}catch{Kc=!1}var Wa=null,Xc=null,po=null;function r0(){if(po)return po;var n,a=Xc,s=a.length,o,f="value"in Wa?Wa.value:Wa.textContent,v=f.length;for(n=0;n<s&&a[n]===f[n];n++);var b=s-n;for(o=1;o<=b&&a[s-o]===f[v-o];o++);return po=f.slice(n,1<o?1-o:void 0)}function go(n){var a=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&a===13&&(n=13)):n=a,n===10&&(n=13),32<=n||n===13?n:0}function vo(){return!0}function s0(){return!1}function cn(n){function a(s,o,f,v,b){this._reactName=s,this._targetInst=f,this.type=o,this.nativeEvent=v,this.target=b,this.currentTarget=null;for(var j in n)n.hasOwnProperty(j)&&(s=n[j],this[j]=s?s(v):v[j]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?vo:s0,this.isPropagationStopped=s0,this}return ie(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=vo)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=vo)},persist:function(){},isPersistent:vo}),a}var ji={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},yo=cn(ji),gs=ie({},ji,{view:0,detail:0}),z5=cn(gs),Qc,Wc,vs,bo=ie({},gs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jc,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==vs&&(vs&&n.type==="mousemove"?(Qc=n.screenX-vs.screenX,Wc=n.screenY-vs.screenY):Wc=Qc=0,vs=n),Qc)},movementY:function(n){return"movementY"in n?n.movementY:Wc}}),l0=cn(bo),U5=ie({},bo,{dataTransfer:0}),B5=cn(U5),H5=ie({},gs,{relatedTarget:0}),Zc=cn(H5),F5=ie({},ji,{animationName:0,elapsedTime:0,pseudoElement:0}),I5=cn(F5),q5=ie({},ji,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),$5=cn(q5),G5=ie({},ji,{data:0}),o0=cn(G5),Y5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},K5={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"},X5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Q5(n){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(n):(n=X5[n])?!!a[n]:!1}function Jc(){return Q5}var W5=ie({},gs,{key:function(n){if(n.key){var a=Y5[n.key]||n.key;if(a!=="Unidentified")return a}return n.type==="keypress"?(n=go(n),n===13?"Enter":String.fromCharCode(n)):n.type==="
9keydown"||n.type==="keyup"?K5[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jc,charCode:function(n){return n.type==="keypress"?go(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?go(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Z5=cn(W5),J5=ie({},bo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),u0=cn(J5),eS=ie({},gs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jc}),tS=cn(eS),nS=ie({},ji,{propertyName:0,elapsedTime:0,pseudoElement:0}),aS=cn(nS),iS=ie({},bo,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),rS=cn(iS),sS=ie({},ji,{newState:0,oldState:0}),lS=cn(sS),oS=[9,13,27,32],ef=Sn&&"CompositionEvent"in window,ys=null;Sn&&"documentMode"in document&&(ys=document.documentMode);var uS=Sn&&"TextEvent"in window&&!ys,c0=Sn&&(!ef||ys&&8<ys&&11>=ys),f0=" ",d0=!1;function h0(n,a){switch(n){case"keyup":return oS.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function m0(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var mr=!1;function cS(n,a){switch(n){case"compositionend":return m0(a);case"keypress":return a.which!==32?null:(d0=!0,f0);case"textInput":return n=a.data,n===f0&&d0?null:n;default:return null}}function fS(n,a){if(mr)return n==="compositionend"||!ef&&h0(n,a)?(n=r0(),po=Xc=Wa=null,mr=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return c0&&a.locale!=="ko"?null:a.data;default:return null}}var dS={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 p0(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a==="input"?!!dS[n.type]:a==="textarea"}function g0(n,a,s,o){dr?hr?hr.push(o):hr=[o]:dr=o,a=nu(a,"onChange"),0<a.length&&(s=new yo("onChange","change",null,s,o),n.push({event:s,listeners:a}))}var bs=null,xs=null;function hS(n){Fg(n,0)}function xo(n){var a=de(n);if(Wp(a))return n}function v0(n,a){if(n==="change")return a}var y0=!1;if(Sn){var tf;if(Sn){var nf="oninput"in document;if(!nf){var b0=document.createElement("div");b0.setAttribute("oninput","return;"),nf=typeof b0.oninput=="function"}tf=nf}else tf=!1;y0=tf&&(!document.documentMode||9<document.documentMode)}function x0(){bs&&(bs.detachEvent("onpropertychange",S0),xs=bs=null)}function S0(n){if(n.propertyName==="value"&&xo(xs)){var a=[];g0(a,xs,n,Gc(n)),i0(hS,a)}}function mS(n,a,s){n==="focusin"?(x0(),bs=a,xs=s,bs.attachEvent("onpropertychange",S0)):n==="focusout"&&x0()}function pS(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return xo(xs)}function gS(n,a){if(n==="click")return xo(a)}function vS(n,a){if(n==="input"||n==="change")return xo(a)}function yS(n,a){return n===a&&(n!==0||1/n===1/a)||n!==n&&a!==a}var wn=typeof Object.is=="function"?Object.is:yS;function Ss(n,a){if(wn(n,a))return!0;if(typeof n!="object"||n===null||typeof a!="object"||a===null)return!1;var s=Object.keys(n),o=Object.keys(a);if(s.length!==o.length)return!1;for(o=0;o<s.length;o++){var f=s[o];if(!pn.call(a,f)||!wn(n[f],a[f]))return!1}return!0}function w0(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function E0(n,a){var s=w0(n);n=0;for(var o;s;){if(s.nodeType===3){if(o=n+s.textContent.length,n<=a&&o>=a)return{node:s,offset:a-n};n=o}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=w0(s)}}function T0(n,a){return n&&a?n===a?!0:n&&n.nodeType===3?!1:a&&a.nodeType===3?T0(n,a.parentNode):"contains"in n?n.contains(a):n.compareDocumentPosition?!!(n.compareDocumentPosition(a)&16):!1:!1}function C0(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var a=ho(n.document);a instanceof n.HTMLIFrameElement;){try{var s=typeof a.contentWindow.location.href=="string"}catch{s=!1}if(s)n=a.contentWindow;else break;a=ho(n.document)}return a}function af(n){var a=n&&n.nodeName&&n.nodeName.toLowerCase();return a&&(a==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||a==="textarea"||n.contentEditable==="true")}function bS(n,a){var s=C0(a);a=n.focusedElem;var o=n.selectionRange;if(s!==a&&a&&a.ownerDocument&&T0(a.ownerDocument.documentElement,a)){if(o!==null&&af(a)){if(n=o.start,s=o.end,s===void 0&&(s=n),"selectionStart"in a)a.selectionStart=n,a.selectionEnd=Math.min(s,a.value.length);else if(s=(n=a.ownerDocument||document)&&n.defaultView||window,s.getSelection){s=s.getSelection();var f=a.textContent.length,v=Math.min(o.start,f);o=o.end===void 0?v:Math.min(o.end,f),!s.extend&&v>o&&(f=o,o=v,v=f),f=E0(a,v);var b=E0(a,o);f&&b&&(s.rangeCount!==1||s.anchorNode!==f.node||s.anchorOffset!==f.offset||s.focusNode!==b.node||s.focusOffset!==b.offset)&&(n=n.createRange(),n.setStart(f.no
vendor: 4,523 bytes, line 9
9de,f.offset),s.removeAllRanges(),v>o?(s.addRange(n),s.extend(b.node,b.offset)):(n.setEnd(b.node,b.offset),s.addRange(n)))}}for(n=[],s=a;s=s.parentNode;)s.nodeType===1&&n.push({element:s,left:s.scrollLeft,top:s.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<n.length;a++)s=n[a],s.element.scrollLeft=s.left,s.element.scrollTop=s.top}}var xS=Sn&&"documentMode"in document&&11>=document.documentMode,pr=null,rf=null,ws=null,sf=!1;function A0(n,a,s){var o=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;sf||pr==null||pr!==ho(o)||(o=pr,"selectionStart"in o&&af(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),ws&&Ss(ws,o)||(ws=o,o=nu(rf,"onSelect"),0<o.length&&(a=new yo("onSelect","select",null,a,s),n.push({event:a,listeners:o}),a.target=pr)))}function Oi(n,a){var s={};return s[n.toLowerCase()]=a.toLowerCase(),s["Webkit"+n]="webkit"+a,s["Moz"+n]="moz"+a,s}var gr={animationend:Oi("Animation","AnimationEnd"),animationiteration:Oi("Animation","AnimationIteration"),animationstart:Oi("Animation","AnimationStart"),transitionrun:Oi("Transition","TransitionRun"),transitionstart:Oi("Transition","TransitionStart"),transitioncancel:Oi("Transition","TransitionCancel"),transitionend:Oi("Transition","TransitionEnd")},lf={},j0={};Sn&&(j0=document.createElement("div").style,"AnimationEvent"in window||(delete gr.animationend.animation,delete gr.animationiteration.animation,delete gr.animationstart.animation),"TransitionEvent"in window||delete gr.transitionend.transition);function Ri(n){if(lf[n])return lf[n];if(!gr[n])return n;var a=gr[n],s;for(s in a)if(a.hasOwnProperty(s)&&s in j0)return lf[n]=a[s];return n}var O0=Ri("animationend"),R0=Ri("animationiteration"),N0=Ri("animationstart"),SS=Ri("transitionrun"),wS=Ri("transitionstart"),ES=Ri("transitioncancel"),D0=Ri("transitionend"),M0=new Map,_0="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 scrollEnd toggle touchMove waiting wheel".split(" ");function Wn(n,a){M0.set(n,a),Ut(a,[n])}var Mn=[],vr=0,of=0;function So(){for(var n=vr,a=of=vr=0;a<n;){var s=Mn[a];Mn[a++]=null;var o=Mn[a];Mn[a++]=null;var f=Mn[a];Mn[a++]=null;var v=Mn[a];if(Mn[a++]=null,o!==null&&f!==null){var b=o.pending;b===null?f.next=f:(f.next=b.next,b.next=f),o.pending=f}v!==0&&L0(s,f,v)}}function wo(n,a,s,o){Mn[vr++]=n,Mn[vr++]=a,Mn[vr++]=s,Mn[vr++]=o,of|=o,n.lanes|=o,n=n.alternate,n!==null&&(n.lanes|=o)}function uf(n,a,s,o){return wo(n,a,s,o),Eo(n)}function Za(n,a){return wo(n,null,null,a),Eo(n)}function L0(n,a,s){n.lanes|=s;var o=n.alternate;o!==null&&(o.lanes|=s);for(var f=!1,v=n.return;v!==null;)v.childLanes|=s,o=v.alternate,o!==null&&(o.childLanes|=s),v.tag===22&&(n=v.stateNode,n===null||n._visibility&1||(f=!0)),n=v,v=v.return;f&&a!==null&&n.tag===3&&(v=n.stateNode,f=31-Pt(s),v=v.hiddenUpdates,n=v[f],n===null?v[f]=[a]:n.push(a),a.lane=s|536870912)}function Eo(n){if(50<Ys)throw Ys=0,pd=null,Error(r(185));for(var a=n.return;a!==null;)n=a,a=n.return;return n.tag===3?n.stateNode:null}var yr={},k0=new WeakMap;function _n(n,a){if(typeof n=="object"&&n!==null){var s=k0.get(n);return s!==void 0?s:(a={value:n,source:a,stack:ae(a)},k0.set(n,a),a)}return{value:n,source:a,stack:ae(a)}}var br=[],xr=0,To=null,Co=0,Ln=[],kn=0,Ni=null,ja=1,Oa="";function Di(n,a){br[xr++]=Co,br[xr++]=To,To=n,Co=a}function P0(n,a,s){Ln[kn++]=ja,Ln[kn++]=Oa,Ln[kn++]=Ni,Ni=n;var o=ja;n=Oa;var f=32-Pt(o)-1;o&=~(1<<f),s+=1;var v=32-Pt(a)+f;if(30<v){var b=f-f%5;v=(o&(1<<b)-1).toString(32),o>>=b,f-=b,ja=1<<32-Pt(a)+f|s<<f|o,Oa=v+n}else ja=1<<v|s<<f|o,Oa=n}function cf(n){n.return!==null&&(Di(n,1),P0(n,1,0))}function ff(n){for(;n===To;)To=br[--xr],br[xr]=null,Co=br[--xr],br[xr]=null;for(;n===Ni;)Ni=Ln[--kn],Ln[kn]=null,Oa=Ln[--kn],Ln[kn]=null,ja=Ln[--kn],Ln[kn]=null}var tn=null,Bt=null,He=!1,Zn=null,fa=!1,df=Error(r(519));function Mi(n){var a=Error(r(418,""));
vendor: 14,302 bytes, line 9
9throw Cs(_n(a,n)),df}function V0(n){var a=n.stateNode,s=n.type,o=n.memoizedProps;switch(a[St]=n,a[Vt]=o,s){case"dialog":ze("cancel",a),ze("close",a);break;case"iframe":case"object":case"embed":ze("load",a);break;case"video":case"audio":for(s=0;s<Xs.length;s++)ze(Xs[s],a);break;case"source":ze("error",a);break;case"img":case"image":case"link":ze("error",a),ze("load",a);break;case"details":ze("toggle",a);break;case"input":ze("invalid",a),Zp(a,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),fo(a);break;case"select":ze("invalid",a);break;case"textarea":ze("invalid",a),e0(a,o.value,o.defaultValue,o.children),fo(a)}s=o.children,typeof s!="string"&&typeof s!="number"&&typeof s!="bigint"||a.textContent===""+s||o.suppressHydrationWarning===!0||Gg(a.textContent,s)?(o.popover!=null&&(ze("beforetoggle",a),ze("toggle",a)),o.onScroll!=null&&ze("scroll",a),o.onScrollEnd!=null&&ze("scrollend",a),o.onClick!=null&&(a.onclick=au),a=!0):a=!1,a||Mi(n)}function z0(n){for(tn=n.return;tn;)switch(tn.tag){case 3:case 27:fa=!0;return;case 5:case 13:fa=!1;return;default:tn=tn.return}}function Es(n){if(n!==tn)return!1;if(!He)return z0(n),He=!0,!1;var a=!1,s;if((s=n.tag!==3&&n.tag!==27)&&((s=n.tag===5)&&(s=n.type,s=!(s!=="form"&&s!=="button")||Md(n.type,n.memoizedProps)),s=!s),s&&(a=!0),a&&Bt&&Mi(n),z0(n),n.tag===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));e:{for(n=n.nextSibling,a=0;n;){if(n.nodeType===8)if(s=n.data,s==="/$"){if(a===0){Bt=ea(n.nextSibling);break e}a--}else s!=="$"&&s!=="$!"&&s!=="$?"||a++;n=n.nextSibling}Bt=null}}else Bt=tn?ea(n.stateNode.nextSibling):null;return!0}function Ts(){Bt=tn=null,He=!1}function Cs(n){Zn===null?Zn=[n]:Zn.push(n)}var As=Error(r(460)),U0=Error(r(474)),hf={then:function(){}};function B0(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Ao(){}function H0(n,a,s){switch(s=n[s],s===void 0?n.push(a):s!==a&&(a.then(Ao,Ao),a=s),a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,n===As?Error(r(483)):n;default:if(typeof a.status=="string")a.then(Ao,Ao);else{if(n=et,n!==null&&100<n.shellSuspendCounter)throw Error(r(482));n=a,n.status="pending",n.then(function(o){if(a.status==="pending"){var f=a;f.status="fulfilled",f.value=o}},function(o){if(a.status==="pending"){var f=a;f.status="rejected",f.reason=o}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw n=a.reason,n===As?Error(r(483)):n}throw js=a,As}}var js=null;function F0(){if(js===null)throw Error(r(459));var n=js;return js=null,n}var Sr=null,Os=0;function jo(n){var a=Os;return Os+=1,Sr===null&&(Sr=[]),H0(Sr,n,a)}function Rs(n,a){a=a.props.ref,n.ref=a!==void 0?a:null}function Oo(n,a){throw a.$$typeof===u?Error(r(525)):(n=Object.prototype.toString.call(a),Error(r(31,n==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":n)))}function I0(n){var a=n._init;return a(n._payload)}function q0(n){function a(B,k){if(n){var F=B.deletions;F===null?(B.deletions=[k],B.flags|=16):F.push(k)}}function s(B,k){if(!n)return null;for(;k!==null;)a(B,k),k=k.sibling;return null}function o(B){for(var k=new Map;B!==null;)B.key!==null?k.set(B.key,B):k.set(B.index,B),B=B.sibling;return k}function f(B,k){return B=ci(B,k),B.index=0,B.sibling=null,B}function v(B,k,F){return B.index=F,n?(F=B.alternate,F!==null?(F=F.index,F<k?(B.flags|=33554434,k):F):(B.flags|=33554434,k)):(B.flags|=1048576,k)}function b(B){return n&&B.alternate===null&&(B.flags|=33554434),B}function j(B,k,F,te){return k===null||k.tag!==6?(k=ld(F,B.mode,te),k.return=B,k):(k=f(k,F),k.return=B,k)}function M(B,k,F,te){var me=F.type;return me===d?Z(B,k,F.props.children,te,F.key):k!==null&&(k.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===R&&I0(me)===k.type)?(k=f(k,F.props),Rs(k,F),k.return=B,k):(k=Go(F.type,F.key,F.props,null,B.mode,te),Rs(k,F),k.return=B,k)}function V(B,k,F,te){return k===null||k.tag!==4||k.stateNode.containerInfo!==F.containerInfo||k.stateNode.implementation!==F.implementation?(k=od(F,B.mode,te),k.return=B,k):(k=f(k,F.children||[]),k.return=B,k)}function Z(B,k,F,te,me){return k===null||k.tag!==7?(k=Fi(F,B.mode,te,me),k.return=B,k):(k=f(k,F),k.return=B,k)}function re(B,k,F){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return k=ld(""+k,B.mode,F),k.return=B,k;if(typeof k=="object"&&k!==null){switch(k.$$typeof){case c:return F=Go(k.type,k.key,k.props,null,B.mode,F),Rs(F,k),F.return=B,F;case m:return k=od(k,B.mode,F),k.return=B,k;case R:var te=k._init;return k=te(k._payload),re(B,k,F)}if(K(k)||U(k))return k=Fi(k,B.mode,F,null),k.return=B,k;if(typeof k.then=="function")return re(B,jo(k),F);if(k.$$typeof===C)return re(B,Io(B,k),F);Oo(B,k)}return null}function $(B,k,F,te){var me=k!==null?k.key:null;if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return me!==null?null:j(B,k,""+F,te);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case c:return F.key===me?M(B,k,F,te):null;case m:return F.key===me?V(B,k,F,te):null;case R:return me=F._init,F=me(F._payload),$(B,k,F,te)}if(K(F)||U(F))return me!==null?null:Z(B,k,F,te,null);if(typeof F.then=="function")return $(B,k,jo(F),te);if(F.$$typeof===C)return $(B,k,Io(B,F),te);Oo(B,F)}return null}function Q(B,k,F,te,me){if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return B=B.get(F)||null,j(k,B,""+te,me);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case c:return B=B.get(te.key===null?F:te.key)||null,M(k,B,te,me);case m:return B=B.get(te.key===null?F:te.key)||null,V(k,B,te,me);case R:var _e=te._init;return te=_e(te._payload),Q(B,k,F,te,me)}if(K(te)||U(te))return B=B.get(F)||null,Z(k,B,te,me,null);if(typeof te.then=="function")return Q(B,k,F,jo(te),me);if(te.$$typeof===C)return Q(B,k,F,Io(k,te),me);Oo(k,te)}return null}function ye(B,k,F,te){for(var me=null,_e=null,Se=k,Te=k=0,Lt=null;Se!==null&&Te<F.length;Te++){Se.index>Te?(Lt=Se,Se=null):Lt=Se.sibling;var Fe=$(B,Se,F[Te],te);if(Fe===null){Se===null&&(Se=Lt);break}n&&Se&&Fe.alternate===null&&a(B,Se),k=v(Fe,k,Te),_e===null?me=Fe:_e.sibling=Fe,_e=Fe,Se=Lt}if(Te===F.length)return s(B,Se),He&&Di(B,Te),me;if(Se===null){for(;Te<F.length;Te++)Se=re(B,F[Te],te),Se!==null&&(k=v(Se,k,Te),_e===null?me=Se:_e.sibling=Se,_e=Se);return He&&Di(B,Te),me}for(Se=o(Se);Te<F.length;Te++)Lt=Q(Se,B,Te,F[Te],te),Lt!==null&&(n&&Lt.alternate!==null&&Se.delete(Lt.key===null?Te:Lt.key),k=v(Lt,k,Te),_e===null?me=Lt:_e.sibling=Lt,_e=Lt);return n&&Se.forEach(function(vi){return a(B,vi)}),He&&Di(B,Te),me}function Re(B,k,F,te){if(F==null)throw Error(r(151));for(var me=null,_e=null,Se=k,Te=k=0,Lt=null,Fe=F.next();Se!==null&&!Fe.done;Te++,Fe=F.next()){Se.index>Te?(Lt=Se,Se=null):Lt=Se.sibling;var vi=$(B,Se,Fe.value,te);if(vi===null){Se===null&&(Se=Lt);break}n&&Se&&vi.alternate===null&&a(B,Se),k=v(vi,k,Te),_e===null?me=vi:_e.sibling=vi,_e=vi,Se=Lt}if(Fe.done)return s(B,Se),He&&Di(B,Te),me;if(Se===null){for(;!Fe.done;Te++,Fe=F.next())Fe=re(B,Fe.value,te),Fe!==null&&(k=v(Fe,k,Te),_e===null?me=Fe:_e.sibling=Fe,_e=Fe);return He&&Di(B,Te),me}for(Se=o(Se);!Fe.done;Te++,Fe=F.next())Fe=Q(Se,B,Te,Fe.value,te),Fe!==null&&(n&&Fe.alternate!==null&&Se.delete(Fe.key===null?Te:Fe.key),k=v(Fe,k,Te),_e===null?me=Fe:_e.sibling=Fe,_e=Fe);return n&&Se.forEach(function(V6){return a(B,V6)}),He&&Di(B,Te),me}function dt(B,k,F,te){if(typeof F=="object"&&F!==null&&F.type===d&&F.key===null&&(F=F.props.children),typeof F=="object"&&F!==null){switch(F.$$typeof){case c:e:{for(var me=F.key;k!==null;){if(k.key===me){if(me=F.type,me===d){if(k.tag===7){s(B,k.sibling),te=f(k,F.props.children),te.return=B,B=te;break e}}else if(k.elementType===me||typeof me=="object"&&me!==null&&me.$$typeof===R&&I0(me)===k.type){s(B,k.sibling),te=f(k,F.props),Rs(te,F),te.return=B,B=te;break e}s(B,k);break}else a(B,k);k=k.sibling}F.type===d?(te=Fi(F.props.children,B.mode,te,F.key),te.return=B,B=te):(te=Go(F.type,F.key,F.props,null,B.mode,te),Rs(te,F),te.return=B,B=te)}return b(B);case m:e:{for(me=F.key;k!==null;){if(k.key===me)if(k.tag===4&&k.stateNode.containerInfo===F.containerInfo&&k.stateNode.implementation===F.implementation){s(B,k.sibling),te=f(k,F.children||[]),te.return=B,B=te;break e}else{s(B,k);break}else a(B,k);k=k.sibling}te=od(F,B.mode,te),te.return=B,B=te}return b(B);case R:return me=F._init,F=me(F._payload),dt(B,k,F,te)}if(K(F))return ye(B,k,F,te);if(U(F)){if(me=U(F),typeof me!="function")throw Error(r(150));return F=me.call(F),Re(B,k,F,te)}if(typeof F.then=="function")return dt(B,k,jo(F),te);if(F.$$typeof===C)return dt(B,k,Io(B,F),te);Oo(B,F)}return typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint"?(F=""+F,k!==null&&k.tag===6?(s(B,k.sibling),te=f(k,F),te.return=B,B=te):(s(B,k),te=ld(F,B.mode,te),te.return=B,B=te),b(B)):s(B,k)}return function(B,k,F,te){try{Os=0;var me=dt(B,k,F,te);return Sr=null,me}catch(Se){if(Se===As)throw Se;var _e=Un(29,Se,null,B.mode);return _e.lanes=te,_e.return=B,_e}finally{}}}var _i=q0(!0),$0=q0(!1),wr=ge(null),Ro=ge(0);function G0(n,a){n=Ua,Oe(Ro,n),Oe(wr,a),Ua=n|a.baseLanes}function mf(){Oe(Ro,Ua),Oe(wr,wr.current)}function pf(){Ua=Ro.current,Ne(wr),Ne(Ro)}var Pn=ge(null),da=null;function Ja(n){var a=n.alternate;Oe(Ot,Ot.current&1),Oe(Pn,n),da===null&&(a===null||wr.current!==null||a.memoizedState!==null)&&(da=n)}function Y0(n){if(n.tag===22){if(Oe(Ot,Ot.current),Oe(Pn,n),da===null){var a=n.alternate;a!==null&&a.memoizedState!==null&&(da=n)}}else ei()}function ei(){Oe(Ot,Ot.current),Oe(Pn,Pn.current)}function Ra(n){Ne(Pn),da===n&&(da=null),Ne(Ot)}var Ot=ge(0);function No(n){for(var a=n;a!==null;){if(a.tag===13){var s=a.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var TS=typeof AbortController<"u"?AbortController:function(){var n=[],a=this.signal={aborted:!1,addEventListener:function(s,o){n.push(o)}};this.abort=function(){a.aborted=!0,n.forEach(function(s){return s()})}},CS=e.unstable_scheduleCallback,AS=e.unstable_NormalPriority,Rt={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function gf(){return{controller:new TS,data:new Map,refCount:0}}function Ns(n){n.refCount--,n.refCount===0&&CS(AS,function(){n.controller.abort()})}var Ds=null,vf=0,Er=0,Tr=null;function jS(n,a){if(Ds===null){var s=Ds=[];vf=0,Er=Ed(),Tr={status:"pending",value:void 0,then:function(o){s.push(o)}}}return vf++,a.then(K0,K0),a}function K0(){if(--vf===0&&Ds!==null){Tr!==null&&(Tr.status="fulfilled");var n=Ds;Ds=null,Er=0,Tr=null;for(var a=0;a<n.length;a++)(0,n[a])()}}function OS(n,a){var s=[],o={status:"pending",value:null,reason:null,then:function(f){s.push(f)}};return n.then(function(){o.status="fulfilled",o.value=a;for(var f=0;f<s.length;f++)(0,s[f])(a)},function(f){for(o.status="rejected",o.reason=f,f=0;f<s.length;f++)(0,s[f])(void 0)}),o}var X0=L.S;L.S=function(n,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&jS(n,a),X0!==null&&X0(n,a)};var Li=ge(null);function yf(){var n=Li.current;return n!==null?n:et.pooledCache}function Do(n,a){a===null?Oe(Li,Li.current):Oe(Li,a.pool)}function Q0(){var n=yf();return n===null?null:{parent:Rt._currentValue,pool:n}}var ti=0,Me=null,We=null,wt=null,Mo=!1,Cr=!1,ki=!1,_o=0,Ms=0,Ar=null,RS=0;function xt(){throw Error(r(321))}function bf(n,a){if(a===null)return!1;for(var s=0;s<a.length&&s<n.length;s++)if(!wn(n[s],a[s]))return!1;return!0}function xf(n,a,s,o,f,v){return ti=v,Me=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,L.H=n===null||n.memoizedState===null?Pi:ni,ki=!1,v=s(o,f),ki=!1,Cr&&(v=Z0(a,s,o,f)),W0(n),v}function W0(n){L.H=ha;var a=We!==null&&We.next!==null;if(ti=0,wt=We=Me=null,Mo=!1,Ms=0,Ar=null,a)throw Error(r(300));n===null||Mt||(n=n.dependencies,n!==null&&Fo(n)&&(Mt=!0))}function Z0(n,a,s,o){Me=n;var f=0;do{if(Cr&&(Ar=null),Ms=0,Cr=!1,25<=f)throw Error(r(301));if(f+=1,wt=We=null,n.updateQueue!=null){var v=n.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}L.H=Vi,v=a(s,o)}while(Cr);return v}function NS(){var n=L.H,a=n.useState()[0];return a=typeof a.then=="function"?_s(a):a,n=n.useState()[0],(We!==null?We.memoizedState:null)!==n&&(Me.flags|=1024),a}function Sf(){var n=_o!==0;return _o=0,n}function wf(n,a,s){a.updateQueue=n.updateQueue,a.flags&=-2053,n.lanes&=~s}function Ef(n){if(Mo){for(n=n.memoizedState;n!==null;){var a=n.queue;a!==null&&(a.pending=null),n=n.next}Mo=!1}ti=0,wt=We=Me=null,Cr=!1,Ms=_o=0,Ar=null}function fn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wt===null?Me.memoizedState=wt=n:wt=wt.next=n,wt}function Et(){if(We===null){var n=Me.alternate;n=n!==null?n.memoizedState:null}else n=We.next;var a=wt===null?Me.memoizedState:wt.next;if(a!==null)wt=a,We=n;else{if(n===null)throw Me.alternate===null?Error(r(467)):Error(r(310));We=n,n={memoizedState:We.memoizedState,baseState:We.baseState,baseQueue:We.baseQueue,queue:We.queue,next:null},wt===null?Me.memoizedState=wt=n:wt=wt.next=n}return wt}var Lo;Lo=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function _s(n){var a=Ms;return Ms+=1,Ar===null&&(Ar=[]),n=H0(Ar,n,a),a=Me,(wt===null?a.memoizedState:wt.next)===null&&(a=a.alternate,L.H=a===null||a.memoizedState===null?Pi:ni),n}function ko(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return _s(n);if(n.$$typeof===C)return Yt(n)}throw Error(r(438,String(n)))}function Tf(n){var a=null,s=Me.updateQueue;if(s!==null&&(a=s.memoCache),a==null){var o=Me.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(a={data:o.data.map(function(f){return f.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),s===null&&(s=Lo(),Me.updateQueue=s),s.memoCache=a,s=a.data[a.index],s===void 0)for(s=a.data[a.index]=Array(n),o=0;o<n;o++)s[o]=P;return a.index++,s}function Na(n,a){return typeof a=="function"?a(n):a}function Po(n){var a=Et();return Cf(a,We,n)}function Cf(n,a,s){var o=n.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=s;var f=n.baseQueue,v=o.pending;if(v!==null){if(f!==null){var b=f.next;
vendor: 5,101 bytes, line 9
9f.next=v.next,v.next=b}a.baseQueue=f=v,o.pending=null}if(v=n.baseState,f===null)n.memoizedState=v;else{a=f.next;var j=b=null,M=null,V=a,Z=!1;do{var re=V.lane&-536870913;if(re!==V.lane?(Ue&re)===re:(ti&re)===re){var $=V.revertLane;if($===0)M!==null&&(M=M.next={lane:0,revertLane:0,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),re===Er&&(Z=!0);else if((ti&$)===$){V=V.next,$===Er&&(Z=!0);continue}else re={lane:0,revertLane:V.revertLane,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},M===null?(j=M=re,b=v):M=M.next=re,Me.lanes|=$,fi|=$;re=V.action,ki&&s(v,re),v=V.hasEagerState?V.eagerState:s(v,re)}else $={lane:re,revertLane:V.revertLane,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},M===null?(j=M=$,b=v):M=M.next=$,Me.lanes|=re,fi|=re;V=V.next}while(V!==null&&V!==a);if(M===null?b=v:M.next=j,!wn(v,n.memoizedState)&&(Mt=!0,Z&&(s=Tr,s!==null)))throw s;n.memoizedState=v,n.baseState=b,n.baseQueue=M,o.lastRenderedState=v}return f===null&&(o.lanes=0),[n.memoizedState,o.dispatch]}function Af(n){var a=Et(),s=a.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=n;var o=s.dispatch,f=s.pending,v=a.memoizedState;if(f!==null){s.pending=null;var b=f=f.next;do v=n(v,b.action),b=b.next;while(b!==f);wn(v,a.memoizedState)||(Mt=!0),a.memoizedState=v,a.baseQueue===null&&(a.baseState=v),s.lastRenderedState=v}return[v,o]}function J0(n,a,s){var o=Me,f=Et(),v=He;if(v){if(s===void 0)throw Error(r(407));s=s()}else s=a();var b=!wn((We||f).memoizedState,s);if(b&&(f.memoizedState=s,Mt=!0),f=f.queue,Rf(n1.bind(null,o,f,n),[n]),f.getSnapshot!==a||b||wt!==null&&wt.memoizedState.tag&1){if(o.flags|=2048,jr(9,t1.bind(null,o,f,s,a),{destroy:void 0},null),et===null)throw Error(r(349));v||(ti&60)!==0||e1(o,a,s)}return s}function e1(n,a,s){n.flags|=16384,n={getSnapshot:a,value:s},a=Me.updateQueue,a===null?(a=Lo(),Me.updateQueue=a,a.stores=[n]):(s=a.stores,s===null?a.stores=[n]:s.push(n))}function t1(n,a,s,o){a.value=s,a.getSnapshot=o,a1(a)&&i1(n)}function n1(n,a,s){return s(function(){a1(a)&&i1(n)})}function a1(n){var a=n.getSnapshot;n=n.value;try{var s=a();return!wn(n,s)}catch{return!0}}function i1(n){var a=Za(n,2);a!==null&&nn(a,n,2)}function jf(n){var a=fn();if(typeof n=="function"){var s=n;if(n=s(),ki){en(!0);try{s()}finally{en(!1)}}}return a.memoizedState=a.baseState=n,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:n},a}function r1(n,a,s,o){return n.baseState=s,Cf(n,We,typeof o=="function"?o:Na)}function DS(n,a,s,o,f){if(Uo(n))throw Error(r(485));if(n=a.action,n!==null){var v={payload:f,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){v.listeners.push(b)}};L.T!==null?s(!0):v.isTransition=!1,o(v),s=a.pending,s===null?(v.next=a.pending=v,s1(a,v)):(v.next=s.next,a.pending=s.next=v)}}function s1(n,a){var s=a.action,o=a.payload,f=n.state;if(a.isTransition){var v=L.T,b={};L.T=b;try{var j=s(f,o),M=L.S;M!==null&&M(b,j),l1(n,a,j)}catch(V){Of(n,a,V)}finally{L.T=v}}else try{v=s(f,o),l1(n,a,v)}catch(V){Of(n,a,V)}}function l1(n,a,s){s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(function(o){o1(n,a,o)},function(o){return Of(n,a,o)}):o1(n,a,s)}function o1(n,a,s){a.status="fulfilled",a.value=s,u1(a),n.state=s,a=n.pending,a!==null&&(s=a.next,s===a?n.pending=null:(s=s.next,a.next=s,s1(n,s)))}function Of(n,a,s){var o=n.pending;if(n.pending=null,o!==null){o=o.next;do a.status="rejected",a.reason=s,u1(a),a=a.next;while(a!==o)}n.action=null}function u1(n){n=n.listeners;for(var a=0;a<n.length;a++)(0,n[a])()}function c1(n,a){return a}function f1(n,a){if(He){var s=et.formState;if(s!==null){e:{var o=Me;if(He){if(Bt){t:{for(var f=Bt,v=fa;f.nodeType!==8;){if(!v){f=null;break t}if(f=ea(f.nextSibling),f===null){f=null;break t}}v=f.data,f=v==="F!"||v==="F"?f:null}if(f){Bt=ea(f.nextSibling),o=f.data==="F!";break e}}Mi(o)}o=!1}o&&(a=s[0])}}return s=fn(),s.memoizedState=s.baseState=a,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:c1,lastRenderedState:a},s.queue=o,s=R1.bind(null,Me,o),o.dispatch=s,o=jf(!1),v=Lf.bind(null,Me,!1,o.queue),o=fn(),f={state:a,dispatch:null,action:n,pending:null},o.queue=f,s=DS.bind(null,Me,f,v,s),f.dispatch=s,o.memoizedState=n,[a,s,!1]}function d1(n){var a=Et();return h1(a,We,n)}function h1(n,a,s){a=Cf(n,a,c1)[0],n=Po(Na)[0],a=typeof a=="object"&&a!==null&&typeof a.then=="function"?_s(a):a;var o=Et(),f=o.queue,v=f.dispatch;return s!==o.memoizedState&&(Me.flags|=2048,jr(9,MS.bind(null,f,s),{destroy:void 0},null)),[a,v,n]}function MS(n,a){n.action=a}function m1(n){var a=Et(),s=We;if(s!==null)return h1(a,s,n);Et(),a=a.memoizedState,s=Et();var o=s.queue.dispatch;return s.memoizedState=n,[a,o,!1]}function jr(n,a,s,o){return n={tag:n,create:a,inst:s,deps:o,next:null},a=Me.updateQueue,a===null&&(a=Lo(),Me.updateQueue=a),s=a.lastEffect,s===null?a.lastEffect=n.next=n:(o=s.next,s.next=n,n.next=o,a.lastEffect=n),n}function p1(){return Et().memoizedState}function Vo(n,a,s,o){var f=fn();Me.flags|=n,f.memoizedState=jr(1|a,s,{destroy:void 0}
vendor: 36,469 bytes, line 9
9,o===void 0?null:o)}function zo(n,a,s,o){var f=Et();o=o===void 0?null:o;var v=f.memoizedState.inst;We!==null&&o!==null&&bf(o,We.memoizedState.deps)?f.memoizedState=jr(a,s,v,o):(Me.flags|=n,f.memoizedState=jr(1|a,s,v,o))}function g1(n,a){Vo(8390656,8,n,a)}function Rf(n,a){zo(2048,8,n,a)}function v1(n,a){return zo(4,2,n,a)}function y1(n,a){return zo(4,4,n,a)}function b1(n,a){if(typeof a=="function"){n=n();var s=a(n);return function(){typeof s=="function"?s():a(null)}}if(a!=null)return n=n(),a.current=n,function(){a.current=null}}function x1(n,a,s){s=s!=null?s.concat([n]):null,zo(4,4,b1.bind(null,a,n),s)}function Nf(){}function S1(n,a){var s=Et();a=a===void 0?null:a;var o=s.memoizedState;return a!==null&&bf(a,o[1])?o[0]:(s.memoizedState=[n,a],n)}function w1(n,a){var s=Et();a=a===void 0?null:a;var o=s.memoizedState;if(a!==null&&bf(a,o[1]))return o[0];if(o=n(),ki){en(!0);try{n()}finally{en(!1)}}return s.memoizedState=[o,a],o}function Df(n,a,s){return s===void 0||(ti&1073741824)!==0?n.memoizedState=a:(n.memoizedState=s,n=Tg(),Me.lanes|=n,fi|=n,s)}function E1(n,a,s,o){return wn(s,a)?s:wr.current!==null?(n=Df(n,s,o),wn(n,a)||(Mt=!0),n):(ti&42)===0?(Mt=!0,n.memoizedState=s):(n=Tg(),Me.lanes|=n,fi|=n,a)}function T1(n,a,s,o,f){var v=J.p;J.p=v!==0&&8>v?v:8;var b=L.T,j={};L.T=j,Lf(n,!1,a,s);try{var M=f(),V=L.S;if(V!==null&&V(j,M),M!==null&&typeof M=="object"&&typeof M.then=="function"){var Z=OS(M,o);Ls(n,a,Z,An(n))}else Ls(n,a,o,An(n))}catch(re){Ls(n,a,{then:function(){},status:"rejected",reason:re},An())}finally{J.p=v,L.T=b}}function _S(){}function Mf(n,a,s,o){if(n.tag!==5)throw Error(r(476));var f=C1(n).queue;T1(n,f,a,le,s===null?_S:function(){return A1(n),s(o)})}function C1(n){var a=n.memoizedState;if(a!==null)return a;a={memoizedState:le,baseState:le,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:le},next:null};var s={};return a.next={memoizedState:s,baseState:s,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Na,lastRenderedState:s},next:null},n.memoizedState=a,n=n.alternate,n!==null&&(n.memoizedState=a),a}function A1(n){var a=C1(n).next.queue;Ls(n,a,{},An())}function _f(){return Yt(el)}function j1(){return Et().memoizedState}function O1(){return Et().memoizedState}function LS(n){for(var a=n.return;a!==null;){switch(a.tag){case 24:case 3:var s=An();n=ri(s);var o=si(a,n,s);o!==null&&(nn(o,a,s),Vs(o,a,s)),a={cache:gf()},n.payload=a;return}a=a.return}}function kS(n,a,s){var o=An();s={lane:o,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null},Uo(n)?N1(a,s):(s=uf(n,a,s,o),s!==null&&(nn(s,n,o),D1(s,a,o)))}function R1(n,a,s){var o=An();Ls(n,a,s,o)}function Ls(n,a,s,o){var f={lane:o,revertLane:0,action:s,hasEagerState:!1,eagerState:null,next:null};if(Uo(n))N1(a,f);else{var v=n.alternate;if(n.lanes===0&&(v===null||v.lanes===0)&&(v=a.lastRenderedReducer,v!==null))try{var b=a.lastRenderedState,j=v(b,s);if(f.hasEagerState=!0,f.eagerState=j,wn(j,b))return wo(n,a,f,0),et===null&&So(),!1}catch{}finally{}if(s=uf(n,a,f,o),s!==null)return nn(s,n,o),D1(s,a,o),!0}return!1}function Lf(n,a,s,o){if(o={lane:2,revertLane:Ed(),action:o,hasEagerState:!1,eagerState:null,next:null},Uo(n)){if(a)throw Error(r(479))}else a=uf(n,s,o,2),a!==null&&nn(a,n,2)}function Uo(n){var a=n.alternate;return n===Me||a!==null&&a===Me}function N1(n,a){Cr=Mo=!0;var s=n.pending;s===null?a.next=a:(a.next=s.next,s.next=a),n.pending=a}function D1(n,a,s){if((s&4194176)!==0){var o=a.lanes;o&=n.pendingLanes,s|=o,a.lanes=s,ro(n,s)}}var ha={readContext:Yt,use:ko,useCallback:xt,useContext:xt,useEffect:xt,useImperativeHandle:xt,useLayoutEffect:xt,useInsertionEffect:xt,useMemo:xt,useReducer:xt,useRef:xt,useState:xt,useDebugValue:xt,useDeferredValue:xt,useTransition:xt,useSyncExternalStore:xt,useId:xt};ha.useCacheRefresh=xt,ha.useMemoCache=xt,ha.useHostTransitionStatus=xt,ha.useFormState=xt,ha.useActionState=xt,ha.useOptimistic=xt;var Pi={readContext:Yt,use:ko,useCallback:function(n,a){return fn().memoizedState=[n,a===void 0?null:a],n},useContext:Yt,useEffect:g1,useImperativeHandle:function(n,a,s){s=s!=null?s.concat([n]):null,Vo(4194308,4,b1.bind(null,a,n),s)},useLayoutEffect:function(n,a){return Vo(4194308,4,n,a)},useInsertionEffect:function(n,a){Vo(4,2,n,a)},useMemo:function(n,a){var s=fn();a=a===void 0?null:a;var o=n();if(ki){en(!0);try{n()}finally{en(!1)}}return s.memoizedState=[o,a],o},useReducer:function(n,a,s){var o=fn();if(s!==void 0){var f=s(a);if(ki){en(!0);try{s(a)}finally{en(!1)}}}else f=a;return o.memoizedState=o.baseState=f,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:f},o.queue=n,n=n.dispatch=kS.bind(null,Me,n),[o.memoizedState,n]},useRef:function(n){var a=fn();return n={current:n},a.memoizedState=n},useState:function(n){n=jf(n);var a=n.queue,s=R1.bind(null,Me,a);return a.dispatch=s,[n.memoizedState,s]},useDebugValue:Nf,useDeferredValue:function(n,a){var s=fn();return Df(s,n,a)},useTransition:function(){var n=jf(!1);return n=T1.bind(null,Me,n.queue,!0,!1),fn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,a,s){var o=Me,f=fn();if(He){if(s===void 0)throw Error(r(407));s=s()}else{if(s=a(),et===null)throw Error(r(349));(Ue&60)!==0||e1(o,a,s)}f.memoizedState=s;var v={value:s,getSnapshot:a};return f.queue=v,g1(n1.bind(null,o,v,n),[n]),o.flags|=2048,jr(9,t1.bind(null,o,v,s,a),{destroy:void 0},null),s},useId:function(){var n=fn(),a=et.identifierPrefix;if(He){var s=Oa,o=ja;s=(o&~(1<<32-Pt(o)-1)).toString(32)+s,a=":"+a+"R"+s,s=_o++,0<s&&(a+="H"+s.toString(32)),a+=":"}else s=RS++,a=":"+a+"r"+s.toString(32)+":";return n.memoizedState=a},useCacheRefresh:function(){return fn().memoizedState=LS.bind(null,Me)}};Pi.useMemoCache=Tf,Pi.useHostTransitionStatus=_f,Pi.useFormState=f1,Pi.useActionState=f1,Pi.useOptimistic=function(n){var a=fn();a.memoizedState=a.baseState=n;var s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=s,a=Lf.bind(null,Me,!0,s),s.dispatch=a,[n,a]};var ni={readContext:Yt,use:ko,useCallback:S1,useContext:Yt,useEffect:Rf,useImperativeHandle:x1,useInsertionEffect:v1,useLayoutEffect:y1,useMemo:w1,useReducer:Po,useRef:p1,useState:function(){return Po(Na)},useDebugValue:Nf,useDeferredValue:function(n,a){var s=Et();return E1(s,We.memoizedState,n,a)},useTransition:function(){var n=Po(Na)[0],a=Et().memoizedState;return[typeof n=="boolean"?n:_s(n),a]},useSyncExternalStore:J0,useId:j1};ni.useCacheRefresh=O1,ni.useMemoCache=Tf,ni.useHostTransitionStatus=_f,ni.useFormState=d1,ni.useActionState=d1,ni.useOptimistic=function(n,a){var s=Et();return r1(s,We,n,a)};var Vi={readContext:Yt,use:ko,useCallback:S1,useContext:Yt,useEffect:Rf,useImperativeHandle:x1,useInsertionEffect:v1,useLayoutEffect:y1,useMemo:w1,useReducer:Af,useRef:p1,useState:function(){return Af(Na)},useDebugValue:Nf,useDeferredValue:function(n,a){var s=Et();return We===null?Df(s,n,a):E1(s,We.memoizedState,n,a)},useTransition:function(){var n=Af(Na)[0],a=Et().memoizedState;return[typeof n=="boolean"?n:_s(n),a]},useSyncExternalStore:J0,useId:j1};Vi.useCacheRefresh=O1,Vi.useMemoCache=Tf,Vi.useHostTransitionStatus=_f,Vi.useFormState=m1,Vi.useActionState=m1,Vi.useOptimistic=function(n,a){var s=Et();return We!==null?r1(s,We,n,a):(s.baseState=n,[n,s.queue.dispatch])};function kf(n,a,s,o){a=n.memoizedState,s=s(o,a),s=s==null?a:ie({},a,s),n.memoizedState=s,n.lanes===0&&(n.updateQueue.baseState=s)}var Pf={isMounted:function(n){return(n=n._reactInternals)?ee(n)===n:!1},enqueueSetState:function(n,a,s){n=n._reactInternals;var o=An(),f=ri(o);f.payload=a,s!=null&&(f.callback=s),a=si(n,f,o),a!==null&&(nn(a,n,o),Vs(a,n,o))},enqueueReplaceState:function(n,a,s){n=n._reactInternals;var o=An(),f=ri(o);f.tag=1,f.payload=a,s!=null&&(f.callback=s),a=si(n,f,o),a!==null&&(nn(a,n,o),Vs(a,n,o))},enqueueForceUpdate:function(n,a){n=n._reactInternals;var s=An(),o=ri(s);o.tag=2,a!=null&&(o.callback=a),a=si(n,o,s),a!==null&&(nn(a,n,s),Vs(a,n,s))}};function M1(n,a,s,o,f,v,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(o,v,b):a.prototype&&a.prototype.isPureReactComponent?!Ss(s,o)||!Ss(f,v):!0}function _1(n,a,s,o){n=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(s,o),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(s,o),a.state!==n&&Pf.enqueueReplaceState(a,a.state,null)}function zi(n,a){var s=a;if("ref"in a){s={};for(var o in a)o!=="ref"&&(s[o]=a[o])}if(n=n.defaultProps){s===a&&(s=ie({},s));for(var f in n)s[f]===void 0&&(s[f]=n[f])}return s}var Bo=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)};function L1(n){Bo(n)}function k1(n){console.error(n)}function P1(n){Bo(n)}function Ho(n,a){try{var s=n.onUncaughtError;s(a.value,{componentStack:a.stack})}catch(o){setTimeout(function(){throw o})}}function V1(n,a,s){try{var o=n.onCaughtError;o(s.value,{componentStack:s.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function Vf(n,a,s){return s=ri(s),s.tag=3,s.payload={element:null},s.callback=function(){Ho(n,a)},s}function z1(n){return n=ri(n),n.tag=3,n}function U1(n,a,s,o){var f=s.type.getDerivedStateFromError;if(typeof f=="function"){var v=o.value;n.payload=function(){return f(v)},n.callback=function(){V1(a,s,o)}}var b=s.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(n.callback=function(){V1(a,s,o),typeof f!="function"&&(di===null?di=new Set([this]):di.add(this));var j=o.stack;this.componentDidCatch(o.value,{componentStack:j!==null?j:""})})}function PS(n,a,s,o,f){if(s.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(a=s.alternate,a!==null&&Ps(a,s,f,!0),s=Pn.current,s!==null){switch(s.tag){case 13:return da===null?yd():s.alternate===null&&ft===0&&(ft=3),s.flags&=-257,s.flags|=65536,s.lanes=f,o===hf?s.flags|=16384:(a=s.updateQueue,a===null?s.updateQueue=new Set([o]):a.add(o),xd(n,o,f)),!1;case 22:return s.flags|=65536,o===hf?s.flags|=16384:(a=s.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([o])},s.updateQueue=a):(s=a.retryQueue,s===null?a.retryQueue=new Set([o]):s.add(o)),xd(n,o,f)),!1}throw Error(r(435,s.tag))}return xd(n,o,f),yd(),!1}if(He)return a=Pn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=f,o!==df&&(n=Error(r(422),{cause:o}),Cs(_n(n,s)))):(o!==df&&(a=Error(r(423),{cause:o}),Cs(_n(a,s))),n=n.current.alternate,n.flags|=65536,f&=-f,n.lanes|=f,o=_n(o,s),f=Vf(n.stateNode,o,f),Zf(n,f),ft!==4&&(ft=2)),!1;var v=Error(r(520),{cause:o});if(v=_n(v,s),$s===null?$s=[v]:$s.push(v),ft!==4&&(ft=2),a===null)return!0;o=_n(o,s),s=a;do{switch(s.tag){case 3:return s.flags|=65536,n=f&-f,s.lanes|=n,n=Vf(s.stateNode,o,n),Zf(s,n),!1;case 1:if(a=s.type,v=s.stateNode,(s.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(di===null||!di.has(v))))return s.flags|=65536,f&=-f,s.lanes|=f,f=z1(f),U1(f,n,s,o),Zf(s,f),!1}s=s.return}while(s!==null);return!1}var B1=Error(r(461)),Mt=!1;function Ht(n,a,s,o){a.child=n===null?$0(a,null,s,o):_i(a,n.child,s,o)}function H1(n,a,s,o,f){s=s.render;var v=a.ref;if("ref"in o){var b={};for(var j in o)j!=="ref"&&(b[j]=o[j])}else b=o;return Bi(a),o=xf(n,a,s,b,v,f),j=Sf(),n!==null&&!Mt?(wf(n,a,f),Da(n,a,f)):(He&&j&&cf(a),a.flags|=1,Ht(n,a,o,f),a.child)}function F1(n,a,s,o,f){if(n===null){var v=s.type;return typeof v=="function"&&!sd(v)&&v.defaultProps===void 0&&s.compare===null?(a.tag=15,a.type=v,I1(n,a,v,o,f)):(n=Go(s.type,null,o,a,a.mode,f),n.ref=a.ref,n.return=a,a.child=n)}if(v=n.child,!Gf(n,f)){var b=v.memoizedProps;if(s=s.compare,s=s!==null?s:Ss,s(b,o)&&n.ref===a.ref)return Da(n,a,f)}return a.flags|=1,n=ci(v,o),n.ref=a.ref,n.return=a,a.child=n}function I1(n,a,s,o,f){if(n!==null){var v=n.memoizedProps;if(Ss(v,o)&&n.ref===a.ref)if(Mt=!1,a.pendingProps=o=v,Gf(n,f))(n.flags&131072)!==0&&(Mt=!0);else return a.lanes=n.lanes,Da(n,a,f)}return zf(n,a,s,o,f)}function q1(n,a,s){var o=a.pendingProps,f=o.children,v=(a.stateNode._pendingVisibility&2)!==0,b=n!==null?n.memoizedState:null;if(ks(n,a),o.mode==="hidden"||v){if((a.flags&128)!==0){if(o=b!==null?b.baseLanes|s:s,n!==null){for(f=a.child=n.child,v=0;f!==null;)v=v|f.lanes|f.childLanes,f=f.sibling;a.childLanes=v&~o}else a.childLanes=0,a.child=null;return $1(n,a,o,s)}if((s&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},n!==null&&Do(a,b!==null?b.cachePool:null),b!==null?G0(a,b):mf(),Y0(a);else return a.lanes=a.childLanes=536870912,$1(n,a,b!==null?b.baseLanes|s:s,s)}else b!==null?(Do(a,b.cachePool),G0(a,b),ei(),a.memoizedState=null):(n!==null&&Do(a,null),mf(),ei());return Ht(n,a,f,s),a.child}function $1(n,a,s,o){var f=yf();return f=f===null?null:{parent:Rt._currentValue,pool:f},a.memoizedState={baseLanes:s,cachePool:f},n!==null&&Do(a,null),mf(),Y0(a),n!==null&&Ps(n,a,o,!0),null}function ks(n,a){var s=a.ref;if(s===null)n!==null&&n.ref!==null&&(a.flags|=2097664);else{if(typeof s!="function"&&typeof s!="object")throw Error(r(284));(n===null||n.ref!==s)&&(a.flags|=2097664)}}function zf(n,a,s,o,f){return Bi(a),s=xf(n,a,s,o,void 0,f),o=Sf(),n!==null&&!Mt?(wf(n,a,f),Da(n,a,f)):(He&&o&&cf(a),a.flags|=1,Ht(n,a,s,f),a.child)}function G1(n,a,s,o,f,v){return Bi(a),a.updateQueue=null,s=Z0(a,o,s,f),W0(n),o=Sf(),n!==null&&!Mt?(wf(n,a,v),Da(n,a,v)):(He&&o&&cf(a),a.flags|=1,Ht(n,a,s,v),a.child)}function Y1(n,a,s,o,f){if(Bi(a),a.stateNode===null){var v=yr,b=s.contextType;typeof b=="object"&&b!==null&&(v=Yt(b)),v=new s(o,v),a.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Pf,a.stateNode=v,v._reactInternals=a,v=a.stateNode,v.props=o,v.state=a.memoizedState,v.refs={},Qf(a),b=s.contextType,v.context=typeof b=="object"&&b!==null?Yt(b):yr,v.state=a.memoizedState,b=s.getDerivedStateFromProps,typeof b=="function"&&(kf(a,s,b,o),v.state=a.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(b=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),b!==v.state&&Pf.enqueueReplaceState(v,v.state,null),Us(a,o,v,f),zs(),v.state=a.memoizedState),typeof v.componentDidMount=="function"&&(a.flags|=4194308),o=!0}else if(n===null){v=a.stateNode;var j=a.memoizedProps,M=zi(s,j);v.props=M;var V=v.context,Z=s.contextType;b=yr,typeof Z=="object"&&Z!==null&&(b=Yt(Z));var re=s.getDerivedStateFromProps;Z=typeof re=="function"||typeof v.getSnapshotBeforeUpdate=="function",j=a.pendingProps!==j,Z||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(j||V!==b)&&_1(a,v,o,b),ii=!1;var $=a.memoizedState;v.state=$,Us(a,o,v,f),zs(),V=a.memoizedState,j||$!==V||ii?(typeof re=="function"&&(kf(a,s,re,o),V=a.memoizedState),(M=ii||M1(a,s,M,o,$,V,b))?(Z||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(a.flags|=4194308)):(typeof v.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=o,a.memoizedState=V),v.props=o,v.state=V,v.context=b,o=M):(typeof v.componentDidMount=="function"&&(a.flags|=4194308),o=!1)}else{v=a.stateNode,Wf(n,a),b=a.memoizedProps,Z=zi(s,b),v.props=Z,re=a.pendingProps,$=v.context,V=s.contextType,M=yr,typeof V=="object"&&V!==null&&(M=Yt(V)),j=s.getDerivedStateFromProps,(V=typeof j=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(b!==re||$!==M)&&_1(a,v,o,M),ii=!1,$=a.memoizedState,v.state=$,Us(a,o,v,f),zs();var Q=a.memoizedState;b!==re||$!==Q||ii||n!==null&&n.dependencies!==null&&Fo(n.dependencies)?(typeof j=="function"&&(kf(a,s,j,o),Q=a.memoizedState),(Z=ii||M1(a,s,Z,o,$,Q,M)||n!==null&&n.dependencies!==null&&Fo(n.dependencies))?(V||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(o,Q,M),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(o,Q,M)),typeof v.componentDidUpdate=="function"&&(a.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof v.componentDidUpdate!="function"||b===n.memoizedProps&&$===n.memoizedState||(a.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&$===n.memoizedState||(a.flags|=1024),a.memoizedProps=o,a.memoizedState=Q),v.props=o,v.state=Q,v.context=M,o=Z):(typeof v.componentDidUpdate!="function"||b===n.memoizedProps&&$===n.memoizedState||(a.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&$===n.memoizedState||(a.flags|=1024),o=!1)}return v=o,ks(n,a),o=(a.flags&128)!==0,v||o?(v=a.stateNode,s=o&&typeof s.getDerivedStateFromError!="function"?null:v.render(),a.flags|=1,n!==null&&o?(a.child=_i(a,n.child,null,f),a.child=_i(a,null,s,f)):Ht(n,a,s,f),a.memoizedState=v.state,n=a.child):n=Da(n,a,f),n}function K1(n,a,s,o){return Ts(),a.flags|=256,Ht(n,a,s,o),a.child}var Uf={dehydrated:null,treeContext:null,retryLane:0};function Bf(n){return{baseLanes:n,cachePool:Q0()}}function Hf(n,a,s){return n=n!==null?n.childLanes&~s:0,a&&(n|=Bn),n}function X1(n,a,s){var o=a.pendingProps,f=!1,v=(a.flags&128)!==0,b;if((b=v)||(b=n!==null&&n.memoizedState===null?!1:(Ot.current&2)!==0),b&&(f=!0,a.flags&=-129),b=(a.flags&32)!==0,a.flags&=-33,n===null){if(He){if(f?Ja(a):ei(),He){var j=Bt,M;if(M=j){e:{for(M=j,j=fa;M.nodeType!==8;){if(!j){j=null;break e}if(M=ea(M.nextSibling),M===null){j=null;break e}}j=M}j!==null?(a.memoizedState={dehydrated:j,treeContext:Ni!==null?{id:ja,overflow:Oa}:null,retryLane:536870912},M=Un(18,null,null,0),M.stateNode=j,M.return=a,a.child=M,tn=a,Bt=null,M=!0):M=!1}M||Mi(a)}if(j=a.memoizedState,j!==null&&(j=j.dehydrated,j!==null))return j.data==="$!"?a.lanes=16:a.lanes=536870912,null;Ra(a)}return j=o.children,o=o.fallback,f?(ei(),f=a.mode,j=If({mode:"hidden",children:j},f),o=Fi(o,f,s,null),j.return=a,o.return=a,j.sibling=o,a.child=j,f=a.child,f.memoizedState=Bf(s),f.childLanes=Hf(n,b,s),a.memoizedState=Uf,o):(Ja(a),Ff(a,j))}if(M=n.memoizedState,M!==null&&(j=M.dehydrated,j!==null)){if(v)a.flags&256?(Ja(a),a.flags&=-257,a=qf(n,a,s)):a.memoizedState!==null?(ei(),a.child=n.child,a.flags|=128,a=null):(ei(),f=o.fallback,j=a.mode,o=If({mode:"visible",children:o.children},j),f=Fi(f,j,s,null),f.flags|=2,o.return=a,f.return=a,o.sibling=f,a.child=o,_i(a,n.child,null,s),o=a.child,o.memoizedState=Bf(s),o.childLanes=Hf(n,b,s),a.memoizedState=Uf,a=f);else if(Ja(a),j.data==="$!"){if(b=j.nextSibling&&j.nextSibling.dataset,b)var V=b.dgst;b=V,o=Error(r(419)),o.stack="",o.digest=b,Cs({value:o,source:null,stack:null}),a=qf(n,a,s)}else if(Mt||Ps(n,a,s,!1),b=(s&n.childLanes)!==0,Mt||b){if(b=et,b!==null){if(o=s&-s,(o&42)!==0)o=1;else switch(o){case 2:o=1;break;case 8:o=4;break;case 32:o=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:o=64;break;case 268435456:o=134217728;break;default:o=0}if(o=(o&(b.suspendedLanes|s))!==0?0:o,o!==0&&o!==M.retryLane)throw M.retryLane=o,Za(n,o),nn(b,n,o),B1}j.data==="$?"||yd(),a=qf(n,a,s)}else j.data==="$?"?(a.flags|=128,a.child=n.child,a=WS.bind(null,n),j._reactRetry=a,a=null):(n=M.treeContext,Bt=ea(j.nextSibling),tn=a,He=!0,Zn=null,fa=!1,n!==null&&(Ln[kn++]=ja,Ln[kn++]=Oa,Ln[kn++]=Ni,ja=n.id,Oa=n.overflow,Ni=a),a=Ff(a,o.children),a.flags|=4096);return a}return f?(ei(),f=o.fallback,j=a.mode,M=n.child,V=M.sibling,o=ci(M,{mode:"hidden",children:o.children}),o.subtreeFlags=M.subtreeFlags&31457280,V!==null?f=ci(V,f):(f=Fi(f,j,s,null),f.flags|=2),f.return=a,o.return=a,o.sibling=f,a.child=o,o=f,f=a.child,j=n.child.memoizedState,j===null?j=Bf(s):(M=j.cachePool,M!==null?(V=Rt._currentValue,M=M.parent!==V?{parent:V,pool:V}:M):M=Q0(),j={baseLanes:j.baseLanes|s,cachePool:M}),f.memoizedState=j,f.childLanes=Hf(n,b,s),a.memoizedState=Uf,o):(Ja(a),s=n.child,n=s.sibling,s=ci(s,{mode:"visible",children:o.children}),s.return=a,s.sibling=null,n!==null&&(b=a.deletions,b===null?(a.deletions=[n],a.flags|=16):b.push(n)),a.child=s,a.memoizedState=null,s)}function Ff(n,a){return a=If({mode:"visible",children:a},n.mode),a.return=n,n.child=a}function If(n,a){return Sg(n,a,0,null)}function qf(n,a,s){return _i(a,n.child,null,s),n=Ff(a,a.pendingProps.children),n.flags|=2,a.memoizedState=null,n}function Q1(n,a,s){n.lanes|=a;var o=n.alternate;o!==null&&(o.lanes|=a),Kf(n.return,a,s)}function $f(n,a,s,o,f){var v=n.memoizedState;v===null?n.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:o,tail:s,tailMode:f}:(v.isBackwards=a,v.rendering=null,v.renderingStartTime=0,v.last=o,v.tail=s,v.tailMode=f)}function W1(n,a,s){var o=a.pendingProps,f=o.revealOrder,v=o.tail;if(Ht(n,a,o.children,s),o=Ot.current,(o&2)!==0)o=o&1|2,a.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=a.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Q1(n,s,a);else if(n.tag===19)Q1(n,s,a);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===a)break e;for(;n.sibling===null;){if(n.return===null||n.return===a)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}o&=1}switch(Oe(Ot,o),f){case"forwards":for(s=a.child,f=null;s!==null;)n=s.alternate,n!==null&&No(n)===null&&(f=s),s=s.sibling;s=f,s===null?(f=a.child,a.child=null):(f=s.sibling,s.sibling=null),$f(a,!1,f,s,v);break;case"backwards":for(s=null,f=a.child,a.child=null;f!==null;){if(n=f.alternate,n!==null&&No(n)===null){a.child=f;break}n=f.sibling,f.sibling=s,s=f,f=n}$f(a,!0,s,null,v);break;case"together":$f(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Da(n,a,s){if(n!==null&&(a.dependencies=n.dependencies),fi|=a.lanes,(s&a.childLanes)===0)if(n!==null){if(Ps(n,a,s,!1),(s&a.childLanes)===0)return null}else return null;if(n!==null&&a.child!==n.child)throw Error(r(153));if(a.child!==null){for(n=a.child,s=ci(n,n.pendingProps),a.child=s,s.return=a;n.sibling!==null;)n=n.sibling,s=s.sibling=ci(n,n.pendingProps),s.return=a;s.sibling=null}return a.child}function Gf(n,a){return(n.lanes&a)!==0?!0:(n=n.dependencies,!!(n!==null&&Fo(n)))}function VS(n,a,s){switch(a.tag){case 3:Pe(a,a.stateNode.containerInfo),ai(a,Rt,n.memoizedState.cache),Ts();break;case 27:case 5:yt(a);break;case 4:Pe(a,a.stateNode.containerInfo);break;case 10:ai(a,a.type,a.memoizedProps.value);break;case 13:var o=a.memoizedState;if(o!==null)return o.dehydrated!==null?(Ja(a),a.flags|=128,null):(s&a.child.childLanes)!==0?X1(n,a,s):(Ja(a),n=Da(n,a,s),n!==null?n.sibling:null);Ja(a);break;case 19:var f=(n.flags&128)!==0;if(o=(s&a.childLanes)!==0,o||(Ps(n,a,s,!1),o=(s&a.childLanes)!==0),f){if(o)return W1(n,a,s);a.flags|=128}if(f=a.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Oe(Ot,Ot.current),o)break;return null;case 22:case 23:return a.lanes=0,q1(n,a,s);case 24:ai(a,Rt,n.memoizedState.cache)}return Da(n,a,s)}function Z1(n,a,s){if(n!==null)if(n.memoizedProps!==a.pendingProps)Mt=!0;else{if(!Gf(n,s)&&(a.flags&128)===0)return Mt=!1,VS(n,a,s);Mt=(n.flags&131072)!==0}else Mt=!1,He&&(a.flags&1048576)!==0&&P0(a,Co,a.index);switch(a.lanes=0,a.tag){case 16:e:{n=a.pendingProps;var o=a.elementType,f=o._init;if(o=f(o._payload),a.type=o,typeof o=="function")sd(o)?(n=zi(o,n),a.tag=1,a=Y1(null,a,o,n,s)):(a.tag=0,a=zf(null,a,o,n,s));else{if(o!=null){if(f=o.$$typeof,f===w){a.tag=11,a=H1(null,a,o,n,s);break e}else if(f===A){a.tag=14,a=F1(null,a,o,n,s);break e}}throw a=I(o)||o,Error(r(306,a,""))}}return a;case 0:return zf(n,a,a.type,a.pendingProps,s);case 1:return o=a.type,f=zi(o,a.pendingProps),Y1(n,a,o,f,s);case 3:e:{if(Pe(a,a.stateNode.containerInfo),n===null)throw Error(r(387));var v=a.pendingProps;f=a.memoizedState,o=f.element,Wf(n,a),Us(a,v,null,s);var b=a.memoizedState;if(v=b.cache,ai(a,Rt,v),v!==f.cache&&Xf(a,[Rt],s,!0),zs(),v=b.element,f.isDehydrated)if(f={element:v,isDehydrated:!1,cache:b.cache},a.updateQueue.baseState=f,a.memoizedState=f,a.flags&256){a=K1(n,a,v,s);break e}else if(v!==o){o=_n(Error(r(424)),a),Cs(o),a=K1(n,a,v,s);break e}else for(Bt=ea(a.stateNode.containerInfo.firstChild),tn=a,He=!0,Zn=null,fa=!0,s=$0(a,null,v,s),a.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Ts(),v===o){a=Da(n,a,s);break e}Ht(n,a,v,s)}a=a.child}return a;case 26:return ks(n,a),n===null?(s=tv(a.type,null,a.pendingProps,null))?a.memoizedState=s:He||(s=a.type,n=a.pendingProps,o=iu(Xe.current).createElement(s),o[St]=a,o[Vt]=n,Ft(o,s,n),Ve(o),a.stateNode=o):a.memoizedState=tv(a.type,n.memoizedProps,a.pendingProps,n.memoizedState),null;case 27:return yt(a),n===null&&He&&(o=a.stateNode=Zg(a.type,a.pendingProps,Xe.current),tn=a,fa=!0,Bt=ea(o.firstChild)),o=a.pendingProps.children,n!==null||He?Ht(n,a,o,s):a.child=_i(a,null,o,s),ks(n,a),a.child;case 5:return n===null&&He&&((f=o=Bt)&&(o=h6(o,a.type,a.pendingProps,fa),o!==null?(a.stateNode=o,tn=a,Bt=ea(o.firstChild),fa=!1,f=!0):f=!1),f||Mi(a)),yt(a),f=a.type,v=a.pendingProps,b=n!==null?n.memoizedProps:null,o=v.children,Md(f,v)?o=null:b!==null&&Md(f,b)&&(a.flags|=32),a.memoizedState!==null&&(f=xf(n,a,NS,null,null,s),el._currentValue=f),ks(n,a),Ht(n,a,o,s),a.child;case 6:return n===null&&He&&((n=s=Bt)&&(s=m6(s,a.pendingProps,fa),s!==null?(a.stateNode=s,tn=a,Bt=null,n=!0):n=!1),n||Mi(a)),null;case 13:return X1(n,a,s);case 4:return Pe(a,a.stateNode.containerInfo),o=a.pendingProps,n===null?a.child=_i(a,null,o,s):Ht(n,a,o,s),a.child;case 11:return H1(n,a,a.type,a.pendingProps,s);case 7:return Ht(n,a,a.pendingProps,s),a.child;case 8:return Ht(n,a,a.pendingProps.children,s),a.child;case 12:return Ht(n,a,a.pendingProps.children,s),a.child;case 10:return o=a.pendingProps,ai(a,a.type,o.value),Ht(n,a,o.children,s),a.child;case 9:return f=a.type._context,o=a.pendingProps.children,Bi(a),f=Yt(f),o=o(f),a.flags|=1,Ht(n,a,o,s),a.child;case 14:return F1(n,a,a.type,a.pendingProps,s);case 15:return I1(n,a,a.type,a.pendingProps,s);case 19:return W1(n,a,s);case 22:return q1(n,a,s);case 24:return Bi(a),o=Yt(Rt),n===null?(f=yf(),f===null&&(f=et,v=gf(),f.pooledCache=v,v.refCount++,v!==null&&(f.pooledCacheLanes|=s),f=v),a.memoizedState={parent:o,cache:f},Qf(a),ai(a,Rt,f)):((n.lanes&s)!==0&&(Wf(n,a),Us(a,null,null,s),zs()),f=n.memoizedState,v=a.memoizedState,f.parent!==o?(f={parent:o,cache:o},a.memoizedState=f,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=f),ai(a,Rt,o)):(o=v.cache,ai(a,Rt,o),o!==f.cache&&Xf(a,[Rt],s,!0))),Ht(n,a,a.pendingProps.children,s),a.child;case 29:throw a.pendingProps}throw Error(r(156,a.tag))}var Yf=ge(null),Ui=null,Ma=null;function ai(n,a,s){Oe(Yf,a._currentValue),a._currentValue=s}function _a(n){n._currentValue=Yf.current,Ne(Yf)}function Kf(n,a,s){for(;n!==null;){var o=n.alternate;if((n.childLanes&a)!==a?(n.childLanes|=a,o!==null&&(o.childLanes|=a)):o!==null&&(o.childLanes&a)!==a&&(o.childLanes|=a),n===s)break;n=n.return}}function Xf(n,a,s,o){var f=n.child;for(f!==null&&(f.return=n);f!==null;){var v=f.dependencies;if(v!==null){var b=f.child;v=v.firstContext;e:for(;v!==null;){var j=v;v=f;for(var M=0;M<a.length;M++)if(j.context===a[M]){v.lanes|=s,j=v.alternate,j!==null&&(j.lanes|=s),Kf(v.return,s,n),o||(b=null);break e}v=j.next}}else if(f.tag===18){if(b=f.return,b===null)throw Error(r(341));b.lanes|=s,v=b.alternate,v!==null&&(v.lanes|=s),Kf(b,s,n),b=null}else b=f.child;if(b!==null)b.return=f;else for(b=f;b!==null;){if(b===n){b=null;break}if(f=b.sibling,f!==null){f.return=b.return,b=f;break}b=b.return}f=b}}function Ps(n,a,s,o){n=null;for(var f=a,v=!1;f!==null;){if(!v){if((f.flags&524288)!==0)v=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var b=f.alternate;if(b===null)throw Error(r(387));if(b=b.memoizedProps,b!==null){var j=f.type;wn(f.pendingProps.value,b.value)||(n!==null?n.push(j):n=[j])}}else if(f===vt.current){if(b=f.alternate,b===null)throw Error(r(387));b.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(n!==null?n.push(el):n=[el])}f=f.return}n!==null&&Xf(a,n,s,o),a.flags|=262144}function Fo(n){for(n=n.firstContext;n!==null;){if(!wn(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Bi(n){Ui=n,Ma=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Yt(n){return J1(Ui,n)}function Io(n,a){return Ui===null&&Bi(n),J1(n,a)}function J1(n,a){var s=a._currentValue;if(a={context:a,memoizedValue:s,next:null},Ma===null){if(n===null)throw Error(r(308));Ma=a,n.dependencies={lanes:0,firstContext:a},n.flags|=524288}else Ma=Ma.next=a;return s}var ii=!1;function Qf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Wf(n,a){n=n.updateQueue,a.updateQueue===n&&(a.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function ri(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function si(n,a,s){var o=n.updateQueue;if(o===null)return null;if(o=o.shared,(lt&2)!==0){var f=o.pending;return f===null?a.next=a:(a.next=f.next,f.next=a),o.pending=a,a=Eo(n),L0(n,null,s),a}return wo(n,o,a,s),Eo(n)}function Vs(n,a,s){if(a=a.updateQueue,a!==null&&(a=a.shared,(s&4194176)!==0)){var o=a.lanes;o&=n.pendingLanes,s|=o,a.lanes=s,ro(n,s)}}function Zf(n,a){var s=n.updateQueue,o=n.alternate;if(o!==null&&(o=o.updateQueue,s===o)){var f=null,v=null;if(s=s.firstBaseUpdate,s!==null){do{var b={lane:s.lane,tag:s.tag,payload:s.payload,callback:null,next:null};v===null?f=v=b:v=v.next=b,s=s.next}while(s!==null);v===null?f=v=a:v=v.next=a}else f=v=a;s={baseState:o.baseState,firstBaseUpdate:f,lastBaseUpdate:v,shared:o.shared,callbacks:o.callbacks},n.updateQueue=s;return}n=s.lastBaseUpdate,n===null?s.firstBaseUpdate=a:n.next=a,s.lastBaseUpdate=a}var Jf=!1;function zs(){if(Jf){var n=Tr;if(n!==null)throw n}}function Us(n,a,s,o){Jf=!1;var f=n.updateQueue;ii=!1;var v=f.firstBaseUpdate,b=f.lastBaseUpdate,j=f.shared.pending;if(j!==null){f.shared.pending=null;var M=j,V=M.next;M.next=null,b===null?v=V:b.next=V,b=M;var Z=n.alternate;Z!==null&&(Z=Z.updateQueue,j=Z.lastBaseUpdate,j!==b&&(j===null?Z.firstBaseUpdate=V:j.next=V,Z.lastBaseUpdate=M))}if(v!==null){var re=f.baseState;b=0,Z=V=M=null,j=v;do{var $=j.lane&-536870913,Q=$!==j.lane;if(Q?(Ue&$)===$:(o&$)===$){$!==0&&$===Er&&(Jf=!0),Z!==null&&(Z=Z.next={lane:0,tag:j.tag,payload:j.payload,callback:null,next:null});e:{var ye=n,Re=j;$=a;var dt=s;switch(Re.tag){case 1:if(ye=Re.payload,typeof ye=="function"){re=ye.call(dt,re,$);break e}re=ye;break e;case 3:ye.flags=ye.flags&-65537|128;case 0:if(ye=Re.payload,$=typeof ye=="function"?ye.call(dt,re,$):ye,$==null)break e;re=ie({},re,$);break e;case 2:ii=!0}}$=j.callback,$!==null&&(n.flags|=64,Q&&(n.flags|=8192),Q=f.callbacks,Q===null?f.callbacks=[$]:Q.push($))}else Q={lane:$,tag:j.tag,payload:j.payload,callback:j.callback,next:null},Z===null?(V=Z=Q,M=re):Z=Z.next=Q,b|=$;if(j=j.next,j===null){if(j=f.shared.pending,j===null)break;Q=j,j=Q.next,Q.next=null,f.lastBaseUpdate=Q,f.shared.pending=null}}while(!0);Z===null&&(M=re),f.baseState=M,f.firstBaseUpdate=V,f.lastBaseUpdate=Z,v===null&&(f.shared.lanes=0),fi|=b,n.lanes=b,n.memoizedState=re}}function eg(n,a){if(typeof n!="function")throw Error(r(191,n));n.call(a)}function tg(n,a){var s=n.callbacks;if(s!==null)for(n.callbacks=null,n=0;n<s.length;n++)eg(s[n],a)}function Bs(n,a){try{var s=a.updateQueue,o=s!==null?s.lastEffect:null;if(o!==null){var f=o.next;s=f;do{if((s.tag&n)===n){o=void 0;var v=s.create,b=s.inst;o=v(),b.destroy=o}s=s.next}while(s!==f)}}catch(j){Je(a,a.return,j)}}function li(n,a,s){try{var o=a.updateQueue,f=o!==null?o.lastEffect:null;if(f!==null){var v=f.next;o=v;do{if((o.tag&n)===n){var b=o.inst,j=b.destroy;if(j!==void 0){b.destroy=void 0,f=a;var M=s;try{j()}catch(V){Je(f,M,V)}}}o=o.next}while(o!==v)}}catch(V){Je(a,a.return,V)}}function ng(n){var a=n.updateQueue;if(a!==null){var s=n.stateNode;try{tg(a,s)}catch(o){Je(n,n.return,o)}}}function ag(n,a,s){s.props=zi(n.type,n.memoizedProps),s.state=n.memoizedState;try{s.componentWillUnmount()}catch(o){Je(n,a,o)}}function Hi(n,a){try{var s=n.ref;if(s!==null){var o=n.stateNode;switch(n.tag){case 26:case 27:case 5:var f=o;break;default:f=o}typeof s=="function"?n.refCleanup=s(f):s.current=f}}catch(v){Je(n,a,v)}}function En(n,a){var s=n.ref,o=n.refCleanup;if(s!==null)if(typeof o=="function")try{o()}catch(f){Je(n,a,f)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof s=="function")try{s(null)}catch(f){Je(n,a,f)}else s.current=null}function ig(n){var a=n.type,s=n.memoizedProps,o=n.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":s.autoFocus&&o.focus();break e;case"img":s.src?o.src=s.src:s.srcSet&&(o.srcset=s.srcSet)}}catch(f){Je(n,n.return,f)}}function rg(n,a,s){try{var o=n.stateNode;o6(o,n.type,s,a),o[Vt]=a}catch(f){Je(n,n.return,f)}}function sg(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27||n.tag===4}function ed(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||sg(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==27&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function td(n,a,s){var o=n.tag;if(o===5||o===6)n=n.stateNode,a?s.nodeType===8?s.parentNode.insertBefore(n,a):s.insertBefore(n,a):(s.nodeType===8?(a=s.parentNode,a.insertBefore(n,s)):(a=s,a.appendChild(n)),s=s._reactRootContainer,s!=null||a.onclick!==null||(a.onclick=au));else if(o!==4&&o!==27&&(n=n.child,n!==null))for(td(n,a,s),n=n.sibling;n!==null;)td(n,a,s),n=n.sibling}function qo(n,a,s){var o=n.tag;if(o===5||o===6)n=n.stateNode,a?s.insertBefore(n,a):s.appendChild(n);else if(o!==4&&o!==27&&(n=n.child,n!==null))for(qo(n,a,s),n=n.sibling;n!==null;)qo(n,a,s),n=n.sibling}var La=!1,ct=!1,nd=!1,lg=typeof WeakSet=="function"?WeakSet:Set,_t=null,og=!1;function zS(n,a){if(n=n.containerInfo,Nd=cu,n=C0(n),af(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var o=s.getSelection&&s.getSelection();if(o&&o.rangeCount!==0){s=o.anchorNode;var f=o.anchorOffset,v=o.focusNode;o=o.focusOffset;try{s.nodeType,v.nodeType}catch{s=null;break e}var b=0,j=-1,M=-1,V=0,Z=0,re=n,$=null;t:for(;;){for(var Q;re!==s||f!==0&&re.nodeType!==3||(j=b+f),re!==v||o!==0&&re.nodeType!==3||(M=b+o),re.nodeType===3&&(b+=re.nodeValue.length),(Q=re.firstChild)!==null;)$=re,re=Q;for(;;){if(re===n)break t;if($===s&&++V===f&&(j=b),$===v&&++Z===o&&(M=b),(Q=re.nextSibling)!==null)break;re=$,$=re.parentNode}re=Q}s=j===-1||M===-1?null:{start:j,end:M}}else s=null}s=s||{start:0,end:0}}else s=null;for(Dd={focusedElem:n,selectionRange:s},cu=!1,_t=a;_t!==null;)if(a=_t,n=a.child,(a.subtreeFlags&1028)!==0&&n!==null)n.return=a,_t=n;else for(;_t!==null;){switch(a=_t,v=a.alternate,n=a.flags,a.tag){case 0:break;case 11:case 15:break;case 1:if((n&1024)!==0&&v!==null){n=void 0,s=a,f=v.memoizedProps,v=v.memoizedState,o=s.stateNode;try{var ye=zi(s.type,f,s.elementType===s.type);n=o.getSnapshotBeforeUpdate(ye,v),o.__reactInternalSnapshotBeforeUpdate=n}catch(Re){Je(s,s.return,Re)}}break;case 3:if((n&1024)!==0){if(n=a.stateNode.containerInfo,s=n.nodeType,s===9)kd(n);else if(s===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":kd(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(r(163))}if(n=a.sibling,n!==null){n.return=a.return,_t=n;break}_t=a.return}return ye=og,og=!1,ye}function ug(n,a,s){var o=s.flags;switch(s.tag){case 0:case 11:case 15:Pa(n,s),o&4&&Bs(5,s);break;case 1:if(Pa(n,s),o&4)if(n=s.stateNode,a===null)try{n.componentDidMount()}catch(j){Je(s,s.return,j)}else{var f=zi(s.type,a.memoizedProps);a=a.memoizedState;
9try{n.componentDidUpdate(f,a,n.__reactInternalSnapshotBeforeUpdate)}catch(j){Je(s,s.return,j)}}o&64&&ng(s),o&512&&Hi(s,s.return);break;case 3:if(Pa(n,s),o&64&&(o=s.updateQueue,o!==null)){if(n=null,s.child!==null)switch(s.child.tag){case 27:case 5:n=s.child.stateNode;break;case 1:n=s.child.stateNode}try{tg(o,n)}catch(j){Je(s,s.return,j)}}break;case 26:Pa(n,s),o&512&&Hi(s,s.return);break;case 27:case 5:Pa(n,s),a===null&&o&4&&ig(s),o&512&&Hi(s,s.return);break;case 12:Pa(n,s);break;case 13:Pa(n,s),o&4&&dg(n,s);break;case 22:if(f=s.memoizedState!==null||La,!f){a=a!==null&&a.memoizedState!==null||ct;var v=La,b=ct;La=f,(ct=a)&&!b?oi(n,s,(s.subtreeFlags&8772)!==0):Pa(n,s),La=v,ct=b}o&512&&(s.memoizedProps.mode==="manual"?Hi(s,s.return):En(s,s.return));break;default:Pa(n,s)}}function cg(n){var a=n.alternate;a!==null&&(n.alternate=null,cg(a)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(a=n.stateNode,a!==null&&ve(a)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Tt=null,Tn=!1;function ka(n,a,s){for(s=s.child;s!==null;)fg(n,a,s),s=s.sibling}
vendor: 4,150 bytes, line 9
9function fg(n,a,s){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(ua,s)}catch{}switch(s.tag){case 26:ct||En(s,a),ka(n,a,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(s=s.stateNode,s.parentNode.removeChild(s));break;case 27:ct||En(s,a);var o=Tt,f=Tn;for(Tt=s.stateNode,ka(n,a,s),s=s.stateNode,a=s.attributes;a.length;)s.removeAttributeNode(a[0]);ve(s),Tt=o,Tn=f;break;case 5:ct||En(s,a);case 6:f=Tt;var v=Tn;if(Tt=null,ka(n,a,s),Tt=f,Tn=v,Tt!==null)if(Tn)try{n=Tt,o=s.stateNode,n.nodeType===8?n.parentNode.removeChild(o):n.removeChild(o)}catch(b){Je(s,a,b)}else try{Tt.removeChild(s.stateNode)}catch(b){Je(s,a,b)}break;case 18:Tt!==null&&(Tn?(a=Tt,s=s.stateNode,a.nodeType===8?Ld(a.parentNode,s):a.nodeType===1&&Ld(a,s),il(a)):Ld(Tt,s.stateNode));break;case 4:o=Tt,f=Tn,Tt=s.stateNode.containerInfo,Tn=!0,ka(n,a,s),Tt=o,Tn=f;break;case 0:case 11:case 14:case 15:ct||li(2,s,a),ct||li(4,s,a),ka(n,a,s);break;case 1:ct||(En(s,a),o=s.stateNode,typeof o.componentWillUnmount=="function"&&ag(s,a,o)),ka(n,a,s);break;case 21:ka(n,a,s);break;case 22:ct||En(s,a),ct=(o=ct)||s.memoizedState!==null,ka(n,a,s),ct=o;break;default:ka(n,a,s)}}function dg(n,a){if(a.memoizedState===null&&(n=a.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{il(n)}catch(s){Je(a,a.return,s)}}function US(n){switch(n.tag){case 13:case 19:var a=n.stateNode;return a===null&&(a=n.stateNode=new lg),a;case 22:return n=n.stateNode,a=n._retryCache,a===null&&(a=n._retryCache=new lg),a;default:throw Error(r(435,n.tag))}}function ad(n,a){var s=US(n);a.forEach(function(o){var f=ZS.bind(null,n,o);s.has(o)||(s.add(o),o.then(f,f))})}function Vn(n,a){var s=a.deletions;if(s!==null)for(var o=0;o<s.length;o++){var f=s[o],v=n,b=a,j=b;e:for(;j!==null;){switch(j.tag){case 27:case 5:Tt=j.stateNode,Tn=!1;break e;case 3:Tt=j.stateNode.containerInfo,Tn=!0;break e;case 4:Tt=j.stateNode.containerInfo,Tn=!0;break e}j=j.return}if(Tt===null)throw Error(r(160));fg(v,b,f),Tt=null,Tn=!1,v=f.alternate,v!==null&&(v.return=null),f.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)hg(a,n),a=a.sibling}var Jn=null;function hg(n,a){var s=n.alternate,o=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Vn(a,n),zn(n),o&4&&(li(3,n,n.return),Bs(3,n),li(5,n,n.return));break;case 1:Vn(a,n),zn(n),o&512&&(ct||s===null||En(s,s.return)),o&64&&La&&(n=n.updateQueue,n!==null&&(o=n.callbacks,o!==null&&(s=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=s===null?o:s.concat(o))));break;case 26:var f=Jn;if(Vn(a,n),zn(n),o&512&&(ct||s===null||En(s,s.return)),o&4){var v=s!==null?s.memoizedState:null;if(o=n.memoizedState,s===null)if(o===null)if(n.stateNode===null){e:{o=n.type,s=n.memoizedProps,f=f.ownerDocument||f;t:switch(o){case"title":v=f.getElementsByTagName("title")[0],(!v||v[Ai]||v[St]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=f.createElement(o),f.head.insertBefore(v,f.querySelector("head > title"))),Ft(v,o,s),v[St]=n,Ve(v),o=v;break e;case"link":var b=iv("link","href",f).get(o+(s.href||""));if(b){for(var j=0;j<b.length;j++)if(v=b[j],v.getAttribute("href")===(s.href==null?null:s.href)&&v.getAttribute("rel")===(s.rel==null?null:s.rel)&&v.getAttribute("title")===(s.title==null?null:s.title)&&v.getAttribute("crossorigin")===(s.crossOrigin==null?null:s.crossOrigin)){b.splice(j,1);break t}}v=f.createElement(o),Ft(v,o,s),f.head.appendChild(v);break;case"meta":if(b=iv("meta","content",f).get(o+(s.content||""))){for(j=0;j<b.length;j++)if(v=b[j],v.getAttribute("content")===(s.content==null?null:""+s.content)&&v.getAttribute("name")===(s.name==null?null:s.name)&&v.getAttribute("property")===(s.property==null?null:s.property)&&v.getAttribute("http-equiv")===(s.httpEquiv==null?null:s.httpEquiv)&&v.getAttribute("charset")===(s.charSet==null?null:s.charSet)){b.splice(j,1);break t}}v=f.createElement(o),Ft(v,o,s),f.head.appendChild(v);break;default:throw Error(r(468,o))}v[St]=n,Ve(v),o=v}n.stateNode=o}else rv(f,n.type,n.stateNode);else n.stateNode=av(f,o,n.memoizedProps);else v!==o?(v===null?s.stateNode!==null&&(s=s.stateNode,s.parentNode.removeChild(s)):v.count--,o===null?rv
9(f,n.type,n.stateNode):av(f,o,n.memoizedProps)):o===null&&n.stateNode!==null&&rg(n,n.memoizedProps,s.memoizedProps)}break;case 27:if(o&4&&n.alternate===null){f=n.stateNode,v=n.memoizedProps;try{for(var M=f.firstChild;M;){var V=M.nextSibling,Z=M.nodeName;M[Ai]||Z==="HEAD"||Z==="BODY"||Z==="SCRIPT"||Z==="STYLE"||Z==="LINK"&&M.rel.toLowerCase()==="stylesheet"||f.removeChild(M),M=V}for(var re=n.type,$=f.attributes;$.length;)f.removeAttributeNode($[0]);Ft(f,re,v),f[St]=n,f[Vt]=v}catch(ye){Je(n,n.return,ye)}}case 5:if(Vn(a,n),zn(n),o&512&&(ct||s===null||En(s,s.return)),n.flags&32){f=n.stateNode;try{fr(f,"")}catch(ye){Je(n,n.return,ye)}}o&4&&n.stateNode!=null&&(f=n.memoizedProps,rg(n,f,s!==null?s.memoizedProps:f)),o&1024&&(nd=!0);break;case 6:if(Vn(a,n),zn(n),o&4){if(n.stateNode===null)throw Error(r(162));o=n.memoizedProps,s=n.stateNode;try{s.nodeValue=o}catch(ye){Je(n,n.return,ye)}}break;case 3:if(lu=null,f=Jn,Jn=ru(a.containerInfo),Vn(a,n),Jn=f,zn(n),o&4&&s!==null&&s.memoizedState.isDehydrated)try{il(a.containerInfo)}catch(ye){Je(n,n.return,ye)}nd&&(nd=!1,mg(n));break;case 4:o=Jn,Jn=ru(n.stateNode.containerInfo),Vn(a,n),zn(n),Jn=o;break;case 12:Vn(a,n),zn(n);break;case 13:Vn(a,n),zn(n),n.child.flags&8192&&n.memoizedState!==null!=(s!==null&&s.memoizedState!==null)&&(dd=$t()),o&4&&(o=n.updateQueue,o!==null&&(n.updateQueue=null,ad(n,o)));break;case 22:if(o&512&&(ct||s===null||En(s,s.return)),M=n.memoizedState!==null,V=s!==null&&s.memoizedState!==null,Z=La,re=ct,La=Z||M,ct=re||V,Vn(a,n),ct=re,La=Z,zn(n),a=n.stateNode,a._current=n,a._visibility&=-3,a._visibility|=a._pendingVisibility&2,o&8192&&(a._visibility=M?a._visibility&-2:a._visibility|1,M&&(a=La||ct,s===null||V||a||Or(n)),n.memoizedProps===null||n.memoizedProps.mode!=="manual"))e:for(s=null,a=n;;){if(a.tag===5||a.tag===26||a.tag===27){if(s===null){V=s=a;try{if(f=V.stateNode,M)v=f.style,typeof v.setProperty=="function"?v.setProperty("display","none","important"):v.display="none";else{b=V.stateNode,j=V.memoizedProps.style;var Q=j!=null&&j.hasOwnProperty("display")?j.display:null;b.style.display=Q==null||typeof Q=="boolean"?"":(""+Q).trim()}}catch(ye){Je(V,V.return,ye)}}}else if(a.tag===6){if(s===null){V=a;try{V.stateNode.nodeValue=M?"":V.memoizedProps}catch(ye){Je(V,V.return,ye)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===n)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===n)break e;for(;a.sibling===null;){if(a.return===null||a.return===n)break e;s===a&&(s=null),a=a.return}s===a&&(s=null),a.sibling.return=a.return,a=a.sibling}o&4&&(o=n.updateQueue,o!==null&&(s=o.retryQueue,s!==null&&(o.retryQueue=null,ad(n,s))));break;case 19:Vn(a,n),zn(n),o&4&&(o=n.updateQueue,o!==null&&(n.updateQueue=null,ad(n,o)));break;case 21:break;default:Vn(a,n),zn(n)}}function zn(n){var a=n.flags;if(a&2){try{if(n.tag!==27){e:{for(var s=n.return;s!==null;){if(sg(s)){var o=s;break e}s=s.return}throw Error(r(160))}switch(o.tag){case 27:var f=o.stateNode,v=ed(n);qo(n,v,f);break;case 5:var b=o.stateNode;o.flags&32&&(fr(b,""),o.flags&=-33);var j=ed(n);qo(n,j,b);break;case 3:case 4:var M=o.stateNode.containerInfo,V=ed(n);td(n,V,M);break;default:throw Error(r(161))}}}catch(Z){Je(n,n.return,Z)}n.flags&=-3}a&4096&&(n.flags&=-4097)}function mg(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var a=n;mg(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),n=n.sibling}}function Pa(n,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)ug(n,a.alternate,a),a=a.sibling}function Or(n){for(n=n.child;n!==null;){var a=n;switch(a.tag){case 0:case 11:case 14:case 15:li(4,a,a.return),Or(a);break;case 1:En(a,a.return);var s=a.stateNode;typeof s.componentWillUnmount=="function"&&ag(a,a.return,s),Or(a);break;case 26:case 27:case 5:En(a,a.return),Or(a);break;case 22:En(a,a.return),a.memoizedState===null&&Or(a);break;default:Or(a)}n=n.sibling}}function oi(n,a,s){for(s=s&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var o=a.alternate,f=n,v=a,b=v.flags;switch(v.tag){case 0:case 11:case 15:oi(f,v,s),Bs(4,v);break;case 1:if(oi(f,v,s),o=v,f=o.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(V){Je(o,o.return,V)}if(o=v,f=o.updateQueue,f!==null){var j=o.stateNode;try{var M=f.shared.hiddenCallbacks;
vendor: 4,254 bytes, line 9
9if(M!==null)for(f.shared.hiddenCallbacks=null,f=0;f<M.length;f++)eg(M[f],j)}catch(V){Je(o,o.return,V)}}s&&b&64&&ng(v),Hi(v,v.return);break;case 26:case 27:case 5:oi(f,v,s),s&&o===null&&b&4&&ig(v),Hi(v,v.return);break;case 12:oi(f,v,s);break;case 13:oi(f,v,s),s&&b&4&&dg(f,v);break;case 22:v.memoizedState===null&&oi(f,v,s),Hi(v,v.return);break;default:oi(f,v,s)}a=a.sibling}}function id(n,a){var s=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),n=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(n=a.memoizedState.cachePool.pool),n!==s&&(n!=null&&n.refCount++,s!=null&&Ns(s))}function rd(n,a){n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&Ns(n))}function ui(n,a,s,o){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)pg(n,a,s,o),a=a.sibling}function pg(n,a,s,o){var f=a.flags;switch(a.tag){case 0:case 11:case 15:ui(n,a,s,o),f&2048&&Bs(9,a);break;case 3:ui(n,a,s,o),f&2048&&(n=null,a.alternate!==null&&(n=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==n&&(a.refCount++,n!=null&&Ns(n)));break;case 12:if(f&2048){ui(n,a,s,o),n=a.stateNode;try{var v=a.memoizedProps,b=v.id,j=v.onPostCommit;typeof j=="function"&&j(b,a.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(M){Je(a,a.return,M)}}else ui(n,a,s,o);break;case 23:break;case 22:v=a.stateNode,a.memoizedState!==null?v._visibility&4?ui(n,a,s,o):Hs(n,a):v._visibility&4?ui(n,a,s,o):(v._visibility|=4,Rr(n,a,s,o,(a.subtreeFlags&10256)!==0)),f&2048&&id(a.alternate,a);break;case 24:ui(n,a,s,o),f&2048&&rd(a.alternate,a);break;default:ui(n,a,s,o)}}function Rr(n,a,s,o,f){for(f=f&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;){var v=n,b=a,j=s,M=o,V=b.flags;switch(b.tag){case 0:case 11:case 15:Rr(v,b,j,M,f),Bs(8,b);break;case 23:break;case 22:var Z=b.stateNode;b.memoizedState!==null?Z._visibility&4?Rr(v,b,j,M,f):Hs(v,b):(Z._visibility|=4,Rr(v,b,j,M,f)),f&&V&2048&&id(b.alternate,b);break;case 24:Rr(v,b,j,M,f),f&&V&2048&&rd(b.alternate,b);break;default:Rr(v,b,j,M,f)}a=a.sibling}}function Hs(n,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var s=n,o=a,f=o.flags;switch(o.tag){case 22:Hs(s,o),f&2048&&id(o.alternate,o);break;case 24:Hs(s,o),f&2048&&rd(o.alternate,o);break;default:Hs(s,o)}a=a.sibling}}var Fs=8192;function Nr(n){if(n.subtreeFlags&Fs)for(n=n.child;n!==null;)gg(n),n=n.sibling}function gg(n){switch(n.tag){case 26:Nr(n),n.flags&Fs&&n.memoizedState!==null&&j6(Jn,n.memoizedState,n.memoizedProps);break;case 5:Nr(n);break;case 3:case 4:var a=Jn;Jn=ru(n.stateNode.containerInfo),Nr(n),Jn=a;break;case 22:n.memoizedState===null&&(a=n.alternate,a!==null&&a.memoizedState!==null?(a=Fs,Fs=16777216,Nr(n),Fs=a):Nr(n));break;default:Nr(n)}}function vg(n){var a=n.alternate;if(a!==null&&(n=a.child,n!==null)){a.child=null;do a=n.sibling,n.sibling=null,n=a;while(n!==null)}}function Is(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var o=a[s];_t=o,bg(o,n)}vg(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)yg(n),n=n.sibling}function yg(n){switch(n.tag){case 0:case 11:case 15:Is(n),n.flags&2048&&li(9,n,n.return);break;case 3:Is(n);break;case 12:Is(n);break;case 22:var a=n.stateNode;n.memoizedState!==null&&a._visibility&4&&(n.return===null||n.return.tag!==13)?(a._visibility&=-5,$o(n)):Is(n);break;default:Is(n)}}function $o(n){var a=n.deletions;if((n.flags&16)!==0){if(a!==null)for(var s=0;s<a.length;s++){var o=a[s];_t=o,bg(o,n)}vg(n)}for(n=n.child;n!==null;){switch(a=n,a.tag){case 0:case 11:case 15:li(8,a,a.return),$o(a);break;case 22:s=a.stateNode,s._visibility&4&&(s._visibility&=-5,$o(a));break;default:$o(a)}n=n.sibling}}function bg(n,a){for(;_t!==null;){var s=_t;switch(s.tag){case 0:case 11:case 15:li(8,s,a);break;case 23:case 22:if(s.memoizedState!==null&&s.memoizedState.cachePool!==null){var o=s.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Ns(s.memoizedState.cache)}if(o=s.child,o!==null)o.return=s,_t=o;else e:for(s=n;_t!==null;){o=_t;var f=o.sibling,v=o.return;if(cg(o),o===s){_t=null;break e}if(f!==null){f.return=v,_t=f;break e}_t=v}}}function BS(n,a,s,o){this.tag=n,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.t
9ype=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Un(n,a,s,o){return new BS(n,a,s,o)}function sd(n){return n=n.prototype,!(!n||!n.isReactComponent)}function ci(n,a){var s=n.alternate;return s===null?(s=Un(n.tag,a,n.key,n.mode),s.elementType=n.elementType,s.type=n.type,s.stateNode=n.stateNode,s.alternate=n,n.alternate=s):(s.pendingProps=a,s.type=n.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=n.flags&31457280,s.childLanes=n.childLanes,s.lanes=n.lanes,s.child=n.child,s.memoizedProps=n.memoizedProps,s.memoizedState=n.memoizedState,s.updateQueue=n.updateQueue,a=n.dependencies,s.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},s.sibling=n.sibling,s.index=n.index,s.ref=n.ref,s.refCleanup=n.refCleanup,s}function xg(n,a){n.flags&=31457282;var s=n.alternate;return s===null?(n.childLanes=0,n.lanes=a,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=s.childLanes,n.lanes=s.lanes,n.child=s.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=s.memoizedProps,n.memoizedState=s.memoizedState,n.updateQueue=s.updateQueue,n.type=s.type,a=s.dependencies,n.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),n}function Go(n,a,s,o,f,v){var b=0;if(o=n,typeof n=="function")sd(n)&&(b=1);else if(typeof n=="string")b=C6(n,s,Ie.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case d:return Fi(s.children,f,v,a);case p:b=8,f|=24;break;case g:return n=Un(12,s,a,f|2),n.elementType=g,n.lanes=v,n;case T:return n=Un(13,s,a,f),n.elementType=T,n.lanes=v,n;case E:return n=Un(19,s,a,f),n.elementType=E,n.lanes=v,n;case N:return Sg(s,f,v,a);default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case y:case C:b=10;break e;case S:b=9;break e;case w:b=11;break e;case A:b=14;break e;case R:b=16,o=null;break e}b=29,s=Error(r(130,n===null?"null":typeof n,"")),o=null}return a=Un(b,s,a,f),a.elementType=n,a.type=o,a.lanes=v,a}function Fi(n,a,s,o){return n=Un(7,n,o,a),n.lanes=s,n}function Sg(n,a,s,o){n=Un(22,n,o,a),n.elementType=N,n.lanes=s;var f={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var v=f._current;if(v===null)throw Error(r(456));if((f._pendingVisibility&2)===0){var b=Za(v,2);b!==null&&(f._pendingVisibility|=2,nn(b,v,2))}},attach:function(){var v=f._current;if(v===null)throw Error(r(456));if((f._pendingVisibility&2)!==0){var b=Za(v,2);b!==null&&(f._pendingVisibility&=-3,nn(b,v,2))}}};return n.stateNode=f,n}function ld(n,a,s){return n=Un(6,n,null,a),n.lanes=s,n}function od(n,a,s){return a=Un(4,n.children!==null?n.children:[],n.key,a),a.lanes=s,a.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},a}function Va(n){n.flags|=4}function wg(n,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!sv(a)){if(a=Pn.current,a!==null&&((Ue&4194176)===Ue?da!==null:(Ue&62914560)!==Ue&&(Ue&536870912)===0||a!==da))throw js=hf,U0;n.flags|=8192}}function Yo(n,a){a!==null&&(n.flags|=4),n.flags&16384&&(a=n.tag!==22?ao():536870912,n.lanes|=a,Mr|=a)}function qs(n,a){if(!He)switch(n.tailMode){case"hidden":a=n.tail;for(var s=null;a!==null;)a.alternate!==null&&(s=a),a=a.sibling;s===null?n.tail=null:s.sibling=null;break;case"collapsed":s=n.tail;for(var o=null;s!==null;)s.alternate!==null&&(o=s),s=s.sibling;o===null?a||n.tail===null?n.tail=null:n.tail.sibling=null:o.sibling=null}}function st(n){var a=n.alternate!==null&&n.alternate.child===n.child,s=0,o=0;if(a)for(var f=n.child;f!==null;)s|=f.lanes|f.childLanes,o|=f.subtreeFlags&31457280,o|=f.flags&31457280,f.return=n,f=f.sibling;else for(f=n.child;f!==null;)s|=f.lanes|f.childLanes,o|=f.subtreeFlags,o|=f.flags,f.return=n,f=f.sibling;return n.subtreeFlags|=o,n.childLanes=s,a}function HS(n,a,s){var o=a.pendingProps;switch(ff(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return st(a),null;case 1:return st(a),null;case 3:return s=a.stateNode,o=null,n!==null&&(o=n.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),_a(Rt),it(),s.pe
vendor: 9,967 bytes, line 9
9ndingContext&&(s.context=s.pendingContext,s.pendingContext=null),(n===null||n.child===null)&&(Es(a)?Va(a):n===null||n.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Zn!==null&&(gd(Zn),Zn=null))),st(a),null;case 26:return s=a.memoizedState,n===null?(Va(a),s!==null?(st(a),wg(a,s)):(st(a),a.flags&=-16777217)):s?s!==n.memoizedState?(Va(a),st(a),wg(a,s)):(st(a),a.flags&=-16777217):(n.memoizedProps!==o&&Va(a),st(a),a.flags&=-16777217),null;case 27:qe(a),s=Xe.current;var f=a.type;if(n!==null&&a.stateNode!=null)n.memoizedProps!==o&&Va(a);else{if(!o){if(a.stateNode===null)throw Error(r(166));return st(a),null}n=Ie.current,Es(a)?V0(a):(n=Zg(f,o,s),a.stateNode=n,Va(a))}return st(a),null;case 5:if(qe(a),s=a.type,n!==null&&a.stateNode!=null)n.memoizedProps!==o&&Va(a);else{if(!o){if(a.stateNode===null)throw Error(r(166));return st(a),null}if(n=Ie.current,Es(a))V0(a);else{switch(f=iu(Xe.current),n){case 1:n=f.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:n=f.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":n=f.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":n=f.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":n=f.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof o.is=="string"?f.createElement("select",{is:o.is}):f.createElement("select"),o.multiple?n.multiple=!0:o.size&&(n.size=o.size);break;default:n=typeof o.is=="string"?f.createElement(s,{is:o.is}):f.createElement(s)}}n[St]=a,n[Vt]=o;e:for(f=a.child;f!==null;){if(f.tag===5||f.tag===6)n.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===a)break e;for(;f.sibling===null;){if(f.return===null||f.return===a)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}a.stateNode=n;e:switch(Ft(n,s,o),s){case"button":case"input":case"select":case"textarea":n=!!o.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&Va(a)}}return st(a),a.flags&=-16777217,null;case 6:if(n&&a.stateNode!=null)n.memoizedProps!==o&&Va(a);else{if(typeof o!="string"&&a.stateNode===null)throw Error(r(166));if(n=Xe.current,Es(a)){if(n=a.stateNode,s=a.memoizedProps,o=null,f=tn,f!==null)switch(f.tag){case 27:case 5:o=f.memoizedProps}n[St]=a,n=!!(n.nodeValue===s||o!==null&&o.suppressHydrationWarning===!0||Gg(n.nodeValue,s)),n||Mi(a)}else n=iu(n).createTextNode(o),n[St]=a,a.stateNode=n}return st(a),null;case 13:if(o=a.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(f=Es(a),o!==null&&o.dehydrated!==null){if(n===null){if(!f)throw Error(r(318));if(f=a.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(r(317));f[St]=a}else Ts(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;st(a),f=!1}else Zn!==null&&(gd(Zn),Zn=null),f=!0;if(!f)return a.flags&256?(Ra(a),a):(Ra(a),null)}if(Ra(a),(a.flags&128)!==0)return a.lanes=s,a;if(s=o!==null,n=n!==null&&n.memoizedState!==null,s){o=a.child,f=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(f=o.alternate.memoizedState.cachePool.pool);var v=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(v=o.memoizedState.cachePool.pool),v!==f&&(o.flags|=2048)}return s!==n&&s&&(a.child.flags|=8192),Yo(a,a.updateQueue),st(a),null;case 4:return it(),n===null&&jd(a.stateNode.containerInfo),st(a),null;case 10:return _a(a.type),st(a),null;case 19:if(Ne(Ot),f=a.memoizedState,f===null)return st(a),null;if(o=(a.flags&128)!==0,v=f.rendering,v===null)if(o)qs(f,!1);else{if(ft!==0||n!==null&&(n.flags&128)!==0)for(n=a.child;n!==null;){if(v=No(n),v!==null){for(a.flags|=128,qs(f,!1),n=v.updateQueue,a.updateQueue=n,Yo(a,n),a.subtreeFlags=0,n=s,s=a.child;s!==null;)xg(s,n),s=s.sibling;return Oe(Ot,Ot.current&1|2),a.child}n=n.sibling}f.tail!==null&&$t()>Ko&&(a.flags|=128,o=!0,qs(f,!1),a.lanes=4194304)}else{if(!o)if(n=No(v),n!==null){if(a.flags|=128,o=!0,n=n.updateQueue,a.updateQueue=n,Yo(a,n),qs(f,!0),f.tail===null&&f.tailMode==="hidden"&&!v.alternate&&!He)return st(a),null}else 2*$t()-f.renderingStartTime>Ko&&s!==536870912&&(a.flags|=128,o=!0,qs(f,!1),a.lanes=4194304);f.isBackwards?(v.sibling=a.child,a.child=v):(n=f.last,n!==null?n.sibling=v:a.child=v,f.last=v)}return f.tail!==null?(a=f.tail,f.rendering=a,f.tail=a.sibling,f.renderingStartTime=$t(),a.sibling=null,n=Ot.current,Oe(Ot,o?n&1|2:n&1),a):(st(a),null);case 22:case 23:return Ra(a),pf(),o=a.memoizedState!==null,n!==null?n.memoizedState!==null!==o&&(a.flags|=8192):o&&(a.flags|=8192),o?(s&536870912)!==0&&(a.flags&128)===0&&(st(a),a.subtreeFlags&6&&(a.flags|=8192)):st(a),s=a.updateQueue,s!==null&&Yo(a,s.retryQueue),s=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),o=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==s&&(a.flags|=2048),n!==null&&Ne(Li),null;case 24:return s=null,n!==null&&(s=n.memoizedState.cache),a.memoizedState.cache!==s&&(a.flags|=2048),_a(Rt),st(a),null;case 25:return null}throw Error(r(156,a.tag))}function FS(n,a){switch(ff(a),a.tag){case 1:return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 3:return _a(Rt),it(),n=a.flags,(n&65536)!==0&&(n&128)===0?(a.flags=n&-65537|128,a):null;case 26:case 27:case 5:return qe(a),null;case 13:if(Ra(a),n=a.memoizedState,n!==null&&n.dehydrated!==null){if(a.alternate===null)throw Error(r(340));Ts()}return n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 19:return Ne(Ot),null;case 4:return it(),null;case 10:return _a(a.type),null;case 22:case 23:return Ra(a),pf(),n!==null&&Ne(Li),n=a.flags,n&65536?(a.flags=n&-65537|128,a):null;case 24:return _a(Rt),null;case 25:return null;default:return null}}function Eg(n,a){switch(ff(a),a.tag){case 3:_a(Rt),it();break;case 26:case 27:case 5:qe(a);break;case 4:it();break;case 13:Ra(a);break;case 19:Ne(Ot);break;case 10:_a(a.type);break;case 22:case 23:Ra(a),pf(),n!==null&&Ne(Li);break;case 24:_a(Rt)}}var IS={getCacheForType:function(n){var a=Yt(Rt),s=a.data.get(n);return s===void 0&&(s=n(),a.data.set(n,s)),s}},qS=typeof WeakMap=="function"?WeakMap:Map,lt=0,et=null,ke=null,Ue=0,tt=0,Cn=null,za=!1,Dr=!1,ud=!1,Ua=0,ft=0,fi=0,Ii=0,cd=0,Bn=0,Mr=0,$s=null,ma=null,fd=!1,dd=0,Ko=1/0,Xo=null,di=null,Qo=!1,qi=null,Gs=0,hd=0,md=null,Ys=0,pd=null;function An(){if((lt&2)!==0&&Ue!==0)return Ue&-Ue;if(L.T!==null){var n=Er;return n!==0?n:Ed()}return ca()}function Tg(){Bn===0&&(Bn=(Ue&536870912)===0||He?Ta():536870912);var n=Pn.current;return n!==null&&(n.flags|=32),Bn}function nn(n,a,s){(n===et&&tt===2||n.cancelPendingCommit!==null)&&(_r(n,0),Ba(n,Ue,Bn,!1)),Ca(n,s),((lt&2)===0||n!==et)&&(n===et&&((lt&2)===0&&(Ii|=s),ft===4&&Ba(n,Ue,Bn,!1)),pa(n))}function Cg(n,a,s){if((lt&6)!==0)throw Error(r(327));var o=!s&&(a&60)===0&&(a&n.expiredLanes)===0||Ci(n,a),f=o?YS(n,a):bd(n,a,!0),v=o;do{if(f===0){Dr&&!o&&Ba(n,a,0,!1);break}else if(f===6)Ba(n,a,0,!za);else{if(s=n.current.alternate,v&&!$S(s)){f=bd(n,a,!1),v=!1;continue}if(f===2){if(v=a,n.errorRecoveryDisabledLanes&v)var b=0;else b=n.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){a=b;e:{var j=n;f=$s;var M=j.current.memoizedState.isDehydrated;if(M&&(_r(j,b).flags|=256),b=bd(j,b,!1),b!==2){if(ud&&!M){j.errorRecoveryDisabledLanes|=v,Ii|=v,f=4;break e}v=ma,ma=f,v!==null&&gd(v)}f=b}if(v=!1,f!==2)continue}}if(f===1){_r(n,0),Ba(n,a,0,!0);break}e:{switch(o=n,f){case 0:case 1:throw Error(r(345));case 4:if((a&4194176)===a){Ba(o,a,Bn,!za);break e}break;case 2:ma=null;break;case 3:case 5:break;default:throw Error(r(329))}if(o.finishedWork=s,o.finishedLanes=a,(a&62914560)===a&&(v=dd+300-$t(),10<v)){if(Ba(o,a,Bn,!za),lr(o,0)!==0)break e;o.timeoutHandle=Xg(Ag.bind(null,o,s,ma,Xo,fd,a,Bn,Ii,Mr,za,2,-0,0),v);break e}Ag(o,s,ma,Xo,fd,a,Bn,Ii,Mr,za,0,-0,0)}}break}while(!0);pa(n)}function gd(n){ma===null?ma=n:ma.push.apply(ma,n)}function Ag(n,a,s,o,f,v,b,j,M,V,Z,re,$){var Q=a.subtreeFlags;if((Q&8192||(Q&16785408)===16785408)&&(Js={stylesheets:null,count:0,unsuspend:A6},gg(a),a=O6(),a!==null)){n.cancelPendingCommit=a(_g.bind(null,n,s,o,f,b,j,M,1,re,$)),Ba(n,v,b,!V);return}_g(n,s,o,f,b,j,M,Z,re,$)}function $S(n){for(var a=n;;){var s=a.tag;if((s===0||s===11||s===15)&&a.flags&16384&&(s=a.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var o=0;o<s.length;o++){var f=s[o],v=f.getSnapshot;f=f.value;try{if(!wn(v(),f))return!1}catch{return!1}}if(s=a.child,a.subtreeFlags&16384&&s!==null)s.return=a,a=s;else{if(a===n)break;for(;a.sibling===null;){if(a.return===null||a.return===n)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ba(n,a,s,o){a&=~cd,a&=~Ii,n.suspendedLanes|=a,n.pingedLanes&=~a,o&&(n.warmLanes|=a),o=n.expirationTimes;for(var f=a;0<f;){var v=31-Pt(f),b=1<<v;o[v]=-1,f&=~b}s!==0&&cs(n,s,a)}function Wo(){return(lt&6)===0?(Ks(0),!1):!0}function vd(){if(ke!==null){if(tt===0)var n=ke.return;else n=ke,Ma=Ui=null,Ef(n),Sr=null,Os=0,n=ke;for(;n!==null;)Eg(n.alternate,n),n=n.return;ke=null}}function _r(n,a){n.finishedWork=null,n.finishedLanes=0;var s=n.timeoutHandle;s!==-1&&(n.timeoutHandle=-1,c6(s)),s=n.cancelPendingCommit,s!==null&&(n.cancelPendingCommit=null,s()),vd(),et=n,ke=s=ci(n.current,null),Ue=a,tt=0,Cn=null,za=!1,Dr=Ci(n,a),ud=!1,Mr=Bn=cd=Ii=fi=ft=0,ma=$s=null,fd=!1,(a&8)!==0&&(a|=a&32);var o=n.entangledLanes;if(o!==0)for(n=n.entanglements,o&=a;0<o;){var f=31-Pt(o),v=1<<f;a|=n[f],o&=~v}return Ua=a,So(),s}function jg(n,a){Me=null,L.H=ha,a===As?(a=F0(),tt=3):a===U0?(a=F0(),tt=4):tt=a===B1?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Cn=a,ke===null&&(ft=1,Ho(n,_n(a,n.current)))}function Og(){var n=L.H;return L.H=ha,n===null?ha:n}function Rg(){var n=L.A;return L.A=IS,n}function yd(){ft=4,za||(Ue&4194176)!==Ue&&Pn.current!==null||(Dr=!0),(fi&134217727)===0&&(Ii&134217727)===0||et===null||Ba(et,Ue,Bn,!1)}function bd(n,a,s){var o=lt;lt|=2;var f=Og(),v=Rg();(et!==n||Ue!==a)&&(Xo=null,_r(n,a)),a=!1;var b=ft;
9e:do try{if(tt!==0&&ke!==null){var j=ke,M=Cn;switch(tt){case 8:vd(),b=6;break e;case 3:case 2:case 6:Pn.current===null&&(a=!0);var V=tt;if(tt=0,Cn=null,Lr(n,j,M,V),s&&Dr){b=0;break e}break;default:V=tt,tt=0,Cn=null,Lr(n,j,M,V)}}GS(),b=ft;break}catch(Z){jg(n,Z)}while(!0);return a&&n.shellSuspendCounter++,Ma=Ui=null,lt=o,L.H=f,L.A=v,ke===null&&(et=null,Ue=0,So()),b}function GS(){for(;ke!==null;)Ng(ke)}function YS(n,a){var s=lt;lt|=2;var o=Og(),f=Rg();et!==n||Ue!==a?(Xo=null,Ko=$t()+500,_r(n,a)):Dr=Ci(n,a);e:do try{if(tt!==0&&ke!==null){a=ke;var v=Cn;t:switch(tt){case 1:tt=0,Cn=null,Lr(n,a,v,1);break;case 2:if(B0(v)){tt=0,Cn=null,Dg(a);break}a=function(){tt===2&&et===n&&(tt=7),pa(n)},v.then(a,a);break e;case 3:tt=7;break e;case 4:tt=5;break e;case 7:B0(v)?(tt=0,Cn=null,Dg(a)):(tt=0,Cn=null,Lr(n,a,v,7));break;case 5:var b=null;switch(ke.tag){case 26:b=ke.memoizedState;case 5:case 27:var j=ke;if(!b||sv(b)){tt=0,Cn=null;var M=j.sibling;if(M!==null)ke=M;else{var V=j.return;V!==null?(ke=V,Zo(V)):ke=null}break t}}tt=0,Cn=null,Lr(n,a,v,5);break;case 6:tt=0,Cn=null,Lr(n,a,v,6);break;case 8:vd(),ft=6;break e;default:throw Error(r(462))}}KS();break}catch(Z){jg(n,Z)}while(!0);return Ma=Ui=null,L.H=o,L.A=f,lt=s,ke!==null?0:(et=null,Ue=0,So(),ft)}function KS(){for(;ke!==null&&!gn();)Ng(ke)}function Ng(n){var a=Z1(n.alternate,n,Ua);n.memoizedProps=n.pendingProps,a===null?Zo(n):ke=a}function Dg(n){var a=n,s=a.alternate;switch(a.tag){case 15:case 0:a=G1(s,a,a.pendingProps,a.type,void 0,Ue);break;case 11:a=G1(s,a,a.pendingProps,a.type.render,a.ref,Ue);break;case 5:Ef(a);default:Eg(s,a),a=ke=xg(a,Ua),a=Z1(s,a,Ua)}n.memoizedProps=n.pendingProps,a===null?Zo(n):ke=a}function Lr(n,a,s,o){Ma=Ui=null,Ef(a),Sr=null,Os=0;var f=a.return;try{if(PS(n,f,a,s,Ue)){ft=1,Ho(n,_n(s,n.current)),ke=null;return}}catch(v){if(f!==null)throw ke=f,v;ft=1,Ho(n,_n(s,n.current)),ke=null;return}a.flags&32768?(He||o===1?n=!0:Dr||(Ue&536870912)!==0?n=!1:(za=n=!0,(o===2||o===3||o===6)&&(o=Pn.current,o!==null&&o.tag===13&&(o.flags|=16384))),Mg(a,n)):Zo(a)}function Zo(n){var a=n;do{if((a.flags&32768)!==0){Mg(a,za);return}n=a.return;var s=HS(a.alternate,a,Ua);if(s!==null){ke=s;return}if(a=a.sibling,a!==null){ke=a;return}ke=a=n}while(a!==null);ft===0&&(ft=5)}function Mg(n,a){do{var s=FS(n.alternate,n);if(s!==null){s.flags&=32767,ke=s;return}if(s=n.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!a&&(n=n.sibling,n!==null)){ke=n;return}ke=n=s}while(n!==null);ft=6,ke=null}function _g(n,a,s,o,f,v,b,j,M,V){var Z=L.T,re=J.p;try{J.p=2,L.T=null,XS(n,a,s,o,re,f,v,b,j,M,V)}finally{L.T=Z,J.p=re}}function XS(n,a,s,o,f,v,b,j){do kr();while(qi!==null);if((lt&6)!==0)throw Error(r(327));var M=n.finishedWork;if(o=n.finishedLanes,M===null)return null;if(n.finishedWork=null,n.finishedLanes=0,M===n.current)throw Error(r(177));n.callbackNode=null,n.callbackPriority=0,n.cancelPendingCommit=null;var V=M.lanes|M.childLanes;if(V|=of,io(n,o,V,v,b,j),n===et&&(ke=et=null,Ue=0),(M.subtreeFlags&10256)===0&&(M.flags&10256)===0||Qo||(Qo=!0,hd=V,md=s,JS(Qa,function(){return kr(),null})),s=(M.flags&15990)!==0,(M.subtreeFlags&15990)!==0||s?(s=L.T,L.T=null,v=J.p,J.p=2,b=lt,lt|=4,zS(n,M),hg(M,n),bS(Dd,n.containerInfo),cu=!!Nd,Dd=Nd=null,n.current=M,ug(n,M.alternate,M),Xa(),lt=b,J.p=v,L.T=s):n.current=M,Qo?(Qo=!1,qi=n,Gs=o):Lg(n,V),V=n.pendingLanes,V===0&&(di=null),Xn(M.stateNode),pa(n),a!==null)for(f=n.onRecoverableError,M=0;M<a.length;M++)V=a[M],f(V.value,{componentStack:V.stack});return(Gs&3)!==0&&kr(),V=n.pendingLanes,(o&4194218)!==0&&(V&42)!==0?n===pd?Ys++:(Ys=0,pd=n):Ys=0,Ks(0),null}function Lg(n,a){(n.pooledCacheLanes&=a)===0&&(a=n.pooledCache,a!=null&&(n.pooledCache=null,Ns(a)))}function kr(){if(qi!==null){var n=qi,a=hd;hd=0;var s=bn(Gs),o=L.T,f=J.p;try{if(J.p=32>s?32:s,L.T=null,qi===null)var v=!1;else{s=md,md=null;var b=qi,j=Gs;if(qi=null,Gs=0,(lt&6)!==0)throw Error(r(331));var M=lt;if(lt|=4,yg(b.current),pg(b,b.current,j,s),lt=M,Ks(0,!1),Dt&&typeof Dt.onPostCommitFiberRoot=="function")try{Dt.onPostCommitFiberRoot(ua,b)}catch{}v=!0}return v}finally{J.p=f,L.T=o,Lg(n,a)}}return!1}function kg(n,a,s){a=_n(s,a),a=Vf(n.stateNode,a,2),n=si(n,a,2),n!==null&&(Ca(n,2),pa(n))}
vendor: 4,578 bytes, line 9
9function Je(n,a,s){if(n.tag===3)kg(n,n,s);else for(;a!==null;){if(a.tag===3){kg(a,n,s);break}else if(a.tag===1){var o=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(di===null||!di.has(o))){n=_n(s,n),s=z1(2),o=si(a,s,2),o!==null&&(U1(s,o,a,n),Ca(o,2),pa(o));break}}a=a.return}}function xd(n,a,s){var o=n.pingCache;if(o===null){o=n.pingCache=new qS;var f=new Set;o.set(a,f)}else f=o.get(a),f===void 0&&(f=new Set,o.set(a,f));f.has(s)||(ud=!0,f.add(s),n=QS.bind(null,n,a,s),a.then(n,n))}function QS(n,a,s){var o=n.pingCache;o!==null&&o.delete(a),n.pingedLanes|=n.suspendedLanes&s,n.warmLanes&=~s,et===n&&(Ue&s)===s&&(ft===4||ft===3&&(Ue&62914560)===Ue&&300>$t()-dd?(lt&2)===0&&_r(n,0):cd|=s,Mr===Ue&&(Mr=0)),pa(n)}function Pg(n,a){a===0&&(a=ao()),n=Za(n,a),n!==null&&(Ca(n,a),pa(n))}function WS(n){var a=n.memoizedState,s=0;a!==null&&(s=a.retryLane),Pg(n,s)}function ZS(n,a){var s=0;switch(n.tag){case 13:var o=n.stateNode,f=n.memoizedState;f!==null&&(s=f.retryLane);break;case 19:o=n.stateNode;break;case 22:o=n.stateNode._retryCache;break;default:throw Error(r(314))}o!==null&&o.delete(a),Pg(n,s)}function JS(n,a){return Rn(n,a)}var Jo=null,Pr=null,Sd=!1,eu=!1,wd=!1,$i=0;function pa(n){n!==Pr&&n.next===null&&(Pr===null?Jo=Pr=n:Pr=Pr.next=n),eu=!0,Sd||(Sd=!0,t6(e6))}function Ks(n,a){if(!wd&&eu){wd=!0;do for(var s=!1,o=Jo;o!==null;){if(n!==0){var f=o.pendingLanes;if(f===0)var v=0;else{var b=o.suspendedLanes,j=o.pingedLanes;v=(1<<31-Pt(42|n)+1)-1,v&=f&~(b&~j),v=v&201326677?v&201326677|1:v?v|2:0}v!==0&&(s=!0,Ug(o,v))}else v=Ue,v=lr(o,o===et?v:0),(v&3)===0||Ci(o,v)||(s=!0,Ug(o,v));o=o.next}while(s);wd=!1}}function e6(){eu=Sd=!1;var n=0;$i!==0&&(u6()&&(n=$i),$i=0);for(var a=$t(),s=null,o=Jo;o!==null;){var f=o.next,v=Vg(o,a);v===0?(o.next=null,s===null?Jo=f:s.next=f,f===null&&(Pr=s)):(s=o,(n!==0||(v&3)!==0)&&(eu=!0)),o=f}Ks(n)}function Vg(n,a){for(var s=n.suspendedLanes,o=n.pingedLanes,f=n.expirationTimes,v=n.pendingLanes&-62914561;0<v;){var b=31-Pt(v),j=1<<b,M=f[b];M===-1?((j&s)===0||(j&o)!==0)&&(f[b]=bt(j,a)):M<=a&&(n.expiredLanes|=j),v&=~j}if(a=et,s=Ue,s=lr(n,n===a?s:0),o=n.callbackNode,s===0||n===a&&tt===2||n.cancelPendingCommit!==null)return o!==null&&o!==null&&Jt(o),n.callbackNode=null,n.callbackPriority=0;if((s&3)===0||Ci(n,s)){if(a=s&-s,a===n.callbackPriority)return a;switch(o!==null&&Jt(o),bn(s)){case 2:case 8:s=vn;break;case 32:s=Qa;break;case 268435456:s=ls;break;default:s=Qa}return o=zg.bind(null,n),s=Rn(s,o),n.callbackPriority=a,n.callbackNode=s,a}return o!==null&&o!==null&&Jt(o),n.callbackPriority=2,n.callbackNode=null,2}function zg(n,a){var s=n.callbackNode;if(kr()&&n.callbackNode!==s)return null;var o=Ue;return o=lr(n,n===et?o:0),o===0?null:(Cg(n,o,a),Vg(n,$t()),n.callbackNode!=null&&n.callbackNode===s?zg.bind(null,n):null)}function Ug(n,a){if(kr())return null;Cg(n,a,!0)}function t6(n){f6(function(){(lt&6)!==0?Rn(wa,n):n()})}function Ed(){return $i===0&&($i=Ta()),$i}function Bg(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:mo(""+n)}function Hg(n,a){var s=a.ownerDocument.createElement("input");return s.name=a.name,s.value=a.value,n.id&&s.setAttribute("form",n.id),a.parentNode.insertBefore(s,a),n=new FormData(n),s.parentNode.removeChild(s),n}function n6(n,a,s,o,f){if(a==="submit"&&s&&s.stateNode===f){var v=Bg((f[Vt]||null).action),b=o.submitter;b&&(a=(a=b[Vt]||null)?Bg(a.formAction):b.getAttribute("formAction"),a!==null&&(v=a,b=null));var j=new yo("action","action",null,o,f);n.push({event:j,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if($i!==0){var M=b?Hg(f,b):new FormData(f);Mf(s,{pending:!0,data:M,method:f.method,action:v},null,M)}}else typeof v=="function"&&(j.preventDefault(),M=b?Hg(f,b):new FormData(f),Mf(s,{pending:!0,data:M,method:f.method,action:v},v,M))},currentTarget:f}]})}}for(var Td=0;Td<_0.length;Td++){var Cd=_0[Td],a6=Cd.toLowerCase(),i6=Cd[0].toUpperCase()+Cd.slice(1);Wn(a6,"on"+i6)}Wn(O0,"onAnimationEnd"),Wn(R0,"onAnimationIteration"),Wn(N0,"onAnimationStart"),Wn("dblclick","onDoubleClick"),Wn("focusin","onFocus"),Wn("focusout","onBlur"),Wn(SS,"onTransitionRun"),Wn(wS,"onTransitionStart"),Wn(ES,"onTransitionCancel"),Wn(D0,"onTransitionEnd"),xn("onMouseEnter",["mouseout","mouseover"]),xn("onMouseLeave",["mouseout","mouseover"]),xn("onPointerEnter",["pointerout","pointerover"]),xn("onPointerLeave",["pointerout","pointerover"]),Ut("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ut("onSelect","focusout contextmenu dragend focu
9sin keydown keyup mousedown mouseup selectionchange".split(" ")),Ut("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ut("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ut("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ut("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xs="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(" "),r6=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xs));function Fg(n,a){a=(a&4)!==0;for(var s=0;s<n.length;s++){var o=n[s],f=o.event;o=o.listeners;e:{var v=void 0;if(a)for(var b=o.length-1;0<=b;b--){var j=o[b],M=j.instance,V=j.currentTarget;if(j=j.listener,M!==v&&f.isPropagationStopped())break e;v=j,f.currentTarget=V;try{v(f)}catch(Z){Bo(Z)}f.currentTarget=null,v=M}else for(b=0;b<o.length;b++){if(j=o[b],M=j.instance,V=j.currentTarget,j=j.listener,M!==v&&f.isPropagationStopped())break e;v=j,f.currentTarget=V;try{v(f)}catch(Z){Bo(Z)}f.currentTarget=null,v=M}}}}function ze(n,a){var s=a[ur];s===void 0&&(s=a[ur]=new Set);var o=n+"__bubble";s.has(o)||(Ig(a,n,2,!1),s.add(o))}function Ad(n,a,s){var o=0;a&&(o|=4),Ig(s,n,o,a)}var tu="_reactListening"+Math.random().toString(36).slice(2);function jd(n){if(!n[tu]){n[tu]=!0,rt.forEach(function(s){s!=="selectionchange"&&(r6.has(s)||Ad(s,!1,n),Ad(s,!0,n))});var a=n.nodeType===9?n:n.ownerDocument;a===null||a[tu]||(a[tu]=!0,Ad("selectionchange",!1,a))}}function Ig(n,a,s,o){switch(dv(a)){case 2:var f=D6;break;case 8:f=M6;break;default:f=Bd}s=f.bind(null,a,s,n),f=void 0,!Kc||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(f=!0),o?f!==void 0?n.addEventListener(a,s,{capture:!0,passive:f}):n.addEventListener(a,s,!0):f!==void 0?n.addEventListener(a,s,{passive:f}):n.addEventListener(a,s,!1)}function Od(n,a,s,o,f){var v=o;if((a&1)===0&&(a&2)===0&&o!==null)e:for(;;){if(o===null)return;var b=o.tag;if(b===3||b===4){var j=o.stateNode.containerInfo;if(j===f||j.nodeType===8&&j.parentNode===f)break;if(b===4)for(b=o.return;b!==null;){var M=b.tag;if((M===3||M===4)&&(M=b.stateNode.containerInfo,M===f||M.nodeType===8&&M.parentNode===f))return;b=b.return}for(;j!==null;){if(b=_(j),b===null)return;if(M=b.tag,M===5||M===6||M===26||M===27){o=v=b;continue e}j=j.parentNode}}o=o.return}i0(function(){var V=v,Z=Gc(s),re=[];e:{var $=M0.get(n);if($!==void 0){var Q=yo,ye=n;switch(n){case"keypress":if(go(s)===0)break e;case"keydown":case"keyup":Q=Z5;break;case"focusin":ye="focus",Q=Zc;break;case"focusout":ye="blur",Q=Zc;break;case"beforeblur":case"afterblur":Q=Zc;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Q=l0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Q=B5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Q=tS;break;case O0:case R0:case N0:Q=I5;break;case D0:Q=aS;break;case"scroll":case"scrollend":Q=z5;break;case"wheel":Q=rS;break;case"copy":case"cut":case"paste":Q=$5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Q=u0;break;case"toggle":case"beforetoggle":Q=lS}var Re=(a&4)!==0,dt=!Re&&(n==="scroll"||n==="scrollend"),B=Re?$!==null?$+"Capture":null:$;Re=[];for(var k=V,F;k!==null;){var te=k;if(F=te.stateNode,te=te.tag,te!==5&&te!==26&&te!==27||F===null||B===null||(te=ms(k,B),te!=null&&Re.push(Qs(k,te,F))),dt)break;k=k.return}0<Re.length&&($=new Q($,ye,null,s,Z),re.push({event:$,listeners:Re}))}}if((a&7)===0){e:{if($=n==="mouseover"||n==="pointerover",Q=n==="mouseout"||n==="pointerout",$&&s!==$c&&(ye=s.relatedTarget||s.fromElement)&&(_(ye)||ye[Gt]))break e;if((Q||$)&&($=Z.window===Z?Z:($=Z.ownerDocument)?$.defaultView||$.parentWindow:window,Q?(ye=s.relatedTarget||s.toElement,Q=V,ye=ye?_(ye):null,ye!==null&&(dt=ee(ye),Re=ye.tag,ye!==dt||Re!==5&&Re!==27&&Re!==6)&&(ye=null)):(Q=null,ye=V),Q!==ye)){if(Re=l0,te="onMouseLeave",B="onMouseEnter",k="mouse",(n==="pointerout"||n==="pointerover")&&(Re=u0,te="onPointerLeave",B="onPointerEnter",k="pointer"),dt=Q==null?$:de(Q),F=ye==null?$:de(ye),$=new Re(te,k+"leave",Q,s,Z),$.target=dt,$.relatedTarget=F,te=null,_
vendor: 5,565 bytes, lines 9-10
9(Z)===V&&(Re=new Re(B,k+"enter",ye,s,Z),Re.target=F,Re.relatedTarget=dt,te=Re),dt=te,Q&&ye)t:{for(Re=Q,B=ye,k=0,F=Re;F;F=Vr(F))k++;for(F=0,te=B;te;te=Vr(te))F++;for(;0<k-F;)Re=Vr(Re),k--;for(;0<F-k;)B=Vr(B),F--;for(;k--;){if(Re===B||B!==null&&Re===B.alternate)break t;Re=Vr(Re),B=Vr(B)}Re=null}else Re=null;Q!==null&&qg(re,$,Q,Re,!1),ye!==null&&dt!==null&&qg(re,dt,ye,Re,!0)}}e:{if($=V?de(V):window,Q=$.nodeName&&$.nodeName.toLowerCase(),Q==="select"||Q==="input"&&$.type==="file")var me=v0;else if(p0($))if(y0)me=vS;else{me=pS;var _e=mS}else Q=$.nodeName,!Q||Q.toLowerCase()!=="input"||$.type!=="checkbox"&&$.type!=="radio"?V&&qc(V.elementType)&&(me=v0):me=gS;if(me&&(me=me(n,V))){g0(re,me,s,Z);break e}_e&&_e(n,$,V),n==="focusout"&&V&&$.type==="number"&&V.memoizedProps.value!=null&&Ic($,"number",$.value)}switch(_e=V?de(V):window,n){case"focusin":(p0(_e)||_e.contentEditable==="true")&&(pr=_e,rf=V,ws=null);break;case"focusout":ws=rf=pr=null;break;case"mousedown":sf=!0;break;case"contextmenu":case"mouseup":case"dragend":sf=!1,A0(re,s,Z);break;case"selectionchange":if(xS)break;case"keydown":case"keyup":A0(re,s,Z)}var Se;if(ef)e:{switch(n){case"compositionstart":var Te="onCompositionStart";break e;case"compositionend":Te="onCompositionEnd";break e;case"compositionupdate":Te="onCompositionUpdate";break e}Te=void 0}else mr?h0(n,s)&&(Te="onCompositionEnd"):n==="keydown"&&s.keyCode===229&&(Te="onCompositionStart");Te&&(c0&&s.locale!=="ko"&&(mr||Te!=="onCompositionStart"?Te==="onCompositionEnd"&&mr&&(Se=r0()):(Wa=Z,Xc="value"in Wa?Wa.value:Wa.textContent,mr=!0)),_e=nu(V,Te),0<_e.length&&(Te=new o0(Te,n,null,s,Z),re.push({event:Te,listeners:_e}),Se?Te.data=Se:(Se=m0(s),Se!==null&&(Te.data=Se)))),(Se=uS?cS(n,s):fS(n,s))&&(Te=nu(V,"onBeforeInput"),0<Te.length&&(_e=new o0("onBeforeInput","beforeinput",null,s,Z),re.push({event:_e,listeners:Te}),_e.data=Se)),n6(re,n,V,s,Z)}Fg(re,a)})}function Qs(n,a,s){return{instance:n,listener:a,currentTarget:s}}function nu(n,a){for(var s=a+"Capture",o=[];n!==null;){var f=n,v=f.stateNode;f=f.tag,f!==5&&f!==26&&f!==27||v===null||(f=ms(n,s),f!=null&&o.unshift(Qs(n,f,v)),f=ms(n,a),f!=null&&o.push(Qs(n,f,v))),n=n.return}return o}function Vr(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function qg(n,a,s,o,f){for(var v=a._reactName,b=[];s!==null&&s!==o;){var j=s,M=j.alternate,V=j.stateNode;if(j=j.tag,M!==null&&M===o)break;j!==5&&j!==26&&j!==27||V===null||(M=V,f?(V=ms(s,v),V!=null&&b.unshift(Qs(s,V,M))):f||(V=ms(s,v),V!=null&&b.push(Qs(s,V,M)))),s=s.return}b.length!==0&&n.push({event:a,listeners:b})}var s6=/\r\n?/g,l6=/\u0000|\uFFFD/g;function $g(n){return(typeof n=="string"?n:""+n).replace(s6,` 10`).replace(l6,"")}function Gg(n,a){return a=$g(a),$g(n)===a}function au(){}function Ze(n,a,s,o,f,v){switch(s){case"children":typeof o=="string"?a==="body"||a==="textarea"&&o===""||fr(n,o):(typeof o=="number"||typeof o=="bigint")&&a!=="body"&&fr(n,""+o);break;case"className":co(n,"class",o);break;case"tabIndex":co(n,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":co(n,s,o);break;case"style":n0(n,o,v);break;case"data":if(a!=="object"){co(n,"data",o);break}case"src":case"href":if(o===""&&(a!=="a"||s!=="href")){n.removeAttribute(s);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){n.removeAttribute(s);break}o=mo(""+o),n.setAttribute(s,o);break;case"action":case"formAction":if(typeof o=="function"){n.setAttribute(s,"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}else typeof v=="function"&&(s==="formAction"?(a!=="input"&&Ze(n,a,"name",f.name,f,null),Ze(n,a,"formEncType",f.formEncType,f,null),Ze(n,a,"formMethod",f.formMethod,f,null),Ze(n,a,"formTarget",f.formTarget,f,null)):(Ze(n,a,"encType",f.encType,f,null),Ze(n,a,"method",f.method,f,null),Ze(n,a,"target",f.target,f,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){n.removeAttribute(s);break}o=mo(""+o),n.setAttribute(s,o);break;case"onClick":o!=null&&(n.onclick=au);break;case"onScroll":o!=null&&ze("scroll",n);break;case"onScrollEnd":o!=null&&ze("scrollend",n);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(f.children!=null)throw Error(r(60));n.innerHTML=s}}break;case"multiple":n.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":n.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){n.removeAttribute("xlink:href");break}s=mo(""+o),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(s,""+o):n.removeAttribute(s);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
10ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(s,""):n.removeAttribute(s);break;case"capture":case"download":o===!0?n.setAttribute(s,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(s,o):n.removeAttribute(s);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?n.setAttribute(s,o):n.removeAttribute(s);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?n.removeAttribute(s):n.setAttribute(s,o);break;case"popover":ze("beforetoggle",n),ze("toggle",n),uo(n,"popover",o);break;case"xlinkActuate":Aa(n,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":Aa(n,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":Aa(n,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":Aa(n,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":Aa(n,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":Aa(n,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":Aa(n,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":Aa(n,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":Aa(n,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":uo(n,"is",o);break;case"innerText":case"textContent":break;default:(!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(s=P5.get(s)||s,uo(n,s,o))}}function Rd(n,a,s,o,f,v){switch(s){case"style":n0(n,o,v);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(r(61));if(s=o.__html,s!=null){if(f.children!=null)throw Error(r(60));n.innerHTML=s}}break;case"children":typeof o=="string"?fr(n,o):(typeof o=="number"||typeof o=="bigint")&&fr(n,""+o);break;case"onScroll":o!=null&&ze("scroll",n);break;case"onScrollEnd":o!=null&&ze("scrollend",n);break;case"onClick":o!=null&&(n.onclick=au);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!zt.hasOwnProperty(s))e:{if(s[0]==="o"&&s[1]==="n"&&(f=s.endsWith("Capture"),a=s.slice(2,f?s.length-7:void 0),v=n[Vt]||null,v=v!=null?v[s]:null,typeof v=="function"&&n.removeEventListener(a,v,f),typeof o=="function")){typeof v!="function"&&v!==null&&(s in n?n[s]=null:n.hasAttribute(s)&&n.removeAttribute(s)),n.addEventListener(a,o,f);break e}s in n?n[s]=o:o===!0?n.setAttribute(s,""):uo(n,s,o)}}}function Ft(n,a,s){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ze("error",n),ze("load",n);var o=!1,f=!1,v;for(v in s)if(s.hasOwnProperty(v)){var b=s[v];if(b!=null)switch(v){case"src":o=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:Ze(n,a,v,b,s,null)}}f&&Ze(n,a,"srcSet",s.srcSet,s,null),o&&Ze(n,a,"src",s.src,s,null);return;case"input":ze("invalid",n);var j=v=b=f=null,M=null,V=null;for(o in s)if(s.hasOwnProperty(o)){var Z=s[o];if(Z!=null)switch(o){case"name":f=Z;break;case"type":b=Z;break;case"checked":M=Z;break;case"defaultChecked":V=Z;break;case"value":v=Z;break;case"defaultValue":j=Z;break;case"children":case"dangerouslySetInnerHTML":if(Z!=null)throw Error(r(137,a));break;default:Ze(n,a,o,Z,s,null)}}Zp(n,v,j,M,V,b,f,!1),fo(n);return;case"select":ze("invalid",n),o=b=v=null;for(f in s)if(s.hasOwnProperty(f)&&(j=s[f],j!=null))switch(f){case"value":v=j;break;case"defaultValue":b=j;break;case"multiple":o=j;default:Ze(n,a,f,j,s,null)}a=v,s=b,n.multiple=!!o,a!=null?cr(n,!!o,a,!1):s!=null&&cr(n,!!o,s,!0);return;case"textarea":ze("invalid",n),v=f=o=null;for(b in s)if(s.hasOwnProperty(b)&&(j=s[b],j!=null))switch(b){case"value":o=j;break;case"defaultValue":f=j;break;case"children":v=j;break;case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(91));break;default:Ze(n,a,b,j,s,null)}e0(n,o,f,v),fo(n);return;case"option":for(M in s)if(s.hasOwnProperty(M)&&(o=s[M],o!=null))switch(M){case"selected":n.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Ze(n,a,M,o,s,null)}return;case"dialog":ze("cancel",n),ze("close",n);break;case"iframe":case"object":ze("load",n);break;case"video":case"audio":for(o=0;o<Xs.length;o++)ze(Xs[o],n);break;case"image":ze("error",n),ze("load",n);break;case"details":ze("toggle",n);break;case"embed":case"source":case"link":ze("error",n),ze("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(V in s)if(s.hasOwnProperty(V)&&(o=s[V],o!=null))switch(V){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:Ze(n,a,V,o,s,null)}return;
vendor: 4,258 bytes, line 10
10default:if(qc(a)){for(Z in s)s.hasOwnProperty(Z)&&(o=s[Z],o!==void 0&&Rd(n,a,Z,o,s,void 0));return}}for(j in s)s.hasOwnProperty(j)&&(o=s[j],o!=null&&Ze(n,a,j,o,s,null))}function o6(n,a,s,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,v=null,b=null,j=null,M=null,V=null,Z=null;for(Q in s){var re=s[Q];if(s.hasOwnProperty(Q)&&re!=null)switch(Q){case"checked":break;case"value":break;case"defaultValue":M=re;default:o.hasOwnProperty(Q)||Ze(n,a,Q,null,o,re)}}for(var $ in o){var Q=o[$];if(re=s[$],o.hasOwnProperty($)&&(Q!=null||re!=null))switch($){case"type":v=Q;break;case"name":f=Q;break;case"checked":V=Q;break;case"defaultChecked":Z=Q;break;case"value":b=Q;break;case"defaultValue":j=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(r(137,a));break;default:Q!==re&&Ze(n,a,$,Q,o,re)}}Fc(n,b,j,M,V,Z,v,f);return;case"select":Q=b=j=$=null;for(v in s)if(M=s[v],s.hasOwnProperty(v)&&M!=null)switch(v){case"value":break;case"multiple":Q=M;default:o.hasOwnProperty(v)||Ze(n,a,v,null,o,M)}for(f in o)if(v=o[f],M=s[f],o.hasOwnProperty(f)&&(v!=null||M!=null))switch(f){case"value":$=v;break;case"defaultValue":j=v;break;case"multiple":b=v;default:v!==M&&Ze(n,a,f,v,o,M)}a=j,s=b,o=Q,$!=null?cr(n,!!s,$,!1):!!o!=!!s&&(a!=null?cr(n,!!s,a,!0):cr(n,!!s,s?[]:"",!1));return;case"textarea":Q=$=null;for(j in s)if(f=s[j],s.hasOwnProperty(j)&&f!=null&&!o.hasOwnProperty(j))switch(j){case"value":break;case"children":break;default:Ze(n,a,j,null,o,f)}for(b in o)if(f=o[b],v=s[b],o.hasOwnProperty(b)&&(f!=null||v!=null))switch(b){case"value":$=f;break;case"defaultValue":Q=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(r(91));break;default:f!==v&&Ze(n,a,b,f,o,v)}Jp(n,$,Q);return;case"option":for(var ye in s)if($=s[ye],s.hasOwnProperty(ye)&&$!=null&&!o.hasOwnProperty(ye))switch(ye){case"selected":n.selected=!1;break;default:Ze(n,a,ye,null,o,$)}for(M in o)if($=o[M],Q=s[M],o.hasOwnProperty(M)&&$!==Q&&($!=null||Q!=null))switch(M){case"selected":n.selected=$&&typeof $!="function"&&typeof $!="symbol";break;default:Ze(n,a,M,$,o,Q)}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 Re in s)$=s[Re],s.hasOwnProperty(Re)&&$!=null&&!o.hasOwnProperty(Re)&&Ze(n,a,Re,null,o,$);for(V in o)if($=o[V],Q=s[V],o.hasOwnProperty(V)&&$!==Q&&($!=null||Q!=null))switch(V){case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(r(137,a));break;default:Ze(n,a,V,$,o,Q)}return;default:if(qc(a)){for(var dt in s)$=s[dt],s.hasOwnProperty(dt)&&$!==void 0&&!o.hasOwnProperty(dt)&&Rd(n,a,dt,void 0,o,$);for(Z in o)$=o[Z],Q=s[Z],!o.hasOwnProperty(Z)||$===Q||$===void 0&&Q===void 0||Rd(n,a,Z,$,o,Q);return}}for(var B in s)$=s[B],s.hasOwnProperty(B)&&$!=null&&!o.hasOwnProperty(B)&&Ze(n,a,B,null,o,$);for(re in o)$=o[re],Q=s[re],!o.hasOwnProperty(re)||$===Q||$==null&&Q==null||Ze(n,a,re,$,o,Q)}var Nd=null,Dd=null;function iu(n){return n.nodeType===9?n:n.ownerDocument}function Yg(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Kg(n,a){if(n===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&a==="foreignObject"?0:n}function Md(n,a){return n==="textarea"||n==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var _d=null;function u6(){var n=window.event;return n&&n.type==="popstate"?n===_d?!1:(_d=n,!0):(_d=null,!1)}var Xg=typeof setTimeout=="function"?setTimeout:void 0,c6=typeof clearTimeout=="function"?clearTimeout:void 0,Qg=typeof Promise=="function"?Promise:void 0,f6=typeof queueMicrotask=="function"?queueMicrotask:typeof Qg<"u"?function(n){return Qg.resolve(null).then(n).catch(d6)}:Xg;function d6(n){setTimeout(function(){throw n})}function Ld(n,a){var s=a,o=0;do{var f=s.nextSibling;if(n.removeChild(s),f&&f.nodeType===8)if(s=f.data,s==="/$"){if(o===0){n.removeChild(f),il(a);return}o--}else s!=="$"&&s!=="$?"&&s!=="$!"||o++;s=f}
vendor: 4,627 bytes, line 10
10while(s);il(a)}function kd(n){var a=n.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var s=a;switch(a=a.nextSibling,s.nodeName){case"HTML":case"HEAD":case"BODY":kd(s),ve(s);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(s.rel.toLowerCase()==="stylesheet")continue}n.removeChild(s)}}function h6(n,a,s,o){for(;n.nodeType===1;){var f=s;if(n.nodeName.toLowerCase()!==a.toLowerCase()){if(!o&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(o){if(!n[Ai])switch(a){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(v=n.getAttribute("rel"),v==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(v!==f.rel||n.getAttribute("href")!==(f.href==null?null:f.href)||n.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||n.getAttribute("title")!==(f.title==null?null:f.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(v=n.getAttribute("src"),(v!==(f.src==null?null:f.src)||n.getAttribute("type")!==(f.type==null?null:f.type)||n.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&v&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(a==="input"&&n.type==="hidden"){var v=f.name==null?null:""+f.name;if(f.type==="hidden"&&n.getAttribute("name")===v)return n}else return n;if(n=ea(n.nextSibling),n===null)break}return null}function m6(n,a,s){if(a==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!s||(n=ea(n.nextSibling),n===null))return null;return n}function ea(n){for(;n!=null;n=n.nextSibling){var a=n.nodeType;if(a===1||a===3)break;if(a===8){if(a=n.data,a==="$"||a==="$!"||a==="$?"||a==="F!"||a==="F")break;if(a==="/$")return null}}return n}function Wg(n){n=n.previousSibling;for(var a=0;n;){if(n.nodeType===8){var s=n.data;if(s==="$"||s==="$!"||s==="$?"){if(a===0)return n;a--}else s==="/$"&&a++}n=n.previousSibling}return null}function Zg(n,a,s){switch(a=iu(s),n){case"html":if(n=a.documentElement,!n)throw Error(r(452));return n;case"head":if(n=a.head,!n)throw Error(r(453));return n;case"body":if(n=a.body,!n)throw Error(r(454));return n;default:throw Error(r(451))}}var Hn=new Map,Jg=new Set;function ru(n){return typeof n.getRootNode=="function"?n.getRootNode():n.ownerDocument}var Ha=J.d;J.d={f:p6,r:g6,D:v6,C:y6,L:b6,m:x6,X:w6,S:S6,M:E6};function p6(){var n=Ha.f(),a=Wo();return n||a}function g6(n){var a=se(n);a!==null&&a.tag===5&&a.type==="form"?A1(a):Ha.r(n)}var zr=typeof document>"u"?null:document;function ev(n,a,s){var o=zr;if(o&&typeof a=="string"&&a){var f=Dn(a);f='link[rel="'+n+'"][href="'+f+'"]',typeof s=="string"&&(f+='[crossorigin="'+s+'"]'),Jg.has(f)||(Jg.add(f),n={rel:n,crossOrigin:s,href:a},o.querySelector(f)===null&&(a=o.createElement("link"),Ft(a,"link",n),Ve(a),o.head.appendChild(a)))}}function v6(n){Ha.D(n),ev("dns-prefetch",n,null)}function y6(n,a){Ha.C(n,a),ev("preconnect",n,a)}function b6(n,a,s){Ha.L(n,a,s);var o=zr;if(o&&n&&a){var f='link[rel="preload"][as="'+Dn(a)+'"]';a==="image"&&s&&s.imageSrcSet?(f+='[imagesrcset="'+Dn(s.imageSrcSet)+'"]',typeof s.imageSizes=="string"&&(f+='[imagesizes="'+Dn(s.imageSizes)+'"]')):f+='[href="'+Dn(n)+'"]';var v=f;switch(a){case"style":v=Ur(n);break;case"script":v=Br(n)}Hn.has(v)||(n=ie({rel:"preload",href:a==="image"&&s&&s.imageSrcSet?void 0:n,as:a},s),Hn.set(v,n),o.querySelector(f)!==null||a==="style"&&o.querySelector(Ws(v))||a==="script"&&o.querySelector(Zs(v))||(a=o.createElement("link"),Ft(a,"link",n),Ve(a),o.head.appendChild(a)))}}function x6(n,a){Ha.m(n,a);var s=zr;if(s&&n){var o=a&&typeof a.as=="string"?a.as:"script",f='link[rel="modulepreload"][as="'+Dn(o)+'"][href="'+Dn(n)+'"]',v=f;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Br(n)}if(!Hn.has(v)&&(n=ie({rel:"modulepreload",href:n},a),Hn.set(v,n),s.querySelector(f)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(s.querySelector(Zs(v)))return}o=s.createElement("link"),Ft(o,"link",n),Ve(o),s.head.appendChild(o)}}}function S6(n,a,s){Ha.S(n,a,s);var o=zr;if(o&&n){var f=$e(o).hoistableStyles,v=Ur(n);a=a||"default";var b=f.get(v);if(!b){var j={loading:0,preload:null};if(b=o.querySelector(Ws(v)))j.loading=5;else{n=ie({rel:"stylesheet",href:n,"data-precedence":a},s),(s=Hn.get(v))&&Pd(n,s);var M=b=o.createElement("link");Ve(M),Ft(M,"link",n),M._p=new Promise(function(V,Z){M.onload=V,M.onerror=Z}),M.addEventListener("load",function(){j.loading|=1}),M.addEventListener("error",function(){j.loading|=2}
vendor: 2,541 bytes, line 10
10),j.loading|=4,su(b,a,o)}b={type:"stylesheet",instance:b,count:1,state:j},f.set(v,b)}}}function w6(n,a){Ha.X(n,a);var s=zr;if(s&&n){var o=$e(s).hoistableScripts,f=Br(n),v=o.get(f);v||(v=s.querySelector(Zs(f)),v||(n=ie({src:n,async:!0},a),(a=Hn.get(f))&&Vd(n,a),v=s.createElement("script"),Ve(v),Ft(v,"link",n),s.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},o.set(f,v))}}function E6(n,a){Ha.M(n,a);var s=zr;if(s&&n){var o=$e(s).hoistableScripts,f=Br(n),v=o.get(f);v||(v=s.querySelector(Zs(f)),v||(n=ie({src:n,async:!0,type:"module"},a),(a=Hn.get(f))&&Vd(n,a),v=s.createElement("script"),Ve(v),Ft(v,"link",n),s.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},o.set(f,v))}}function tv(n,a,s,o){var f=(f=Xe.current)?ru(f):null;if(!f)throw Error(r(446));switch(n){case"meta":case"title":return null;case"style":return typeof s.precedence=="string"&&typeof s.href=="string"?(a=Ur(s.href),s=$e(f).hoistableStyles,o=s.get(a),o||(o={type:"style",instance:null,count:0,state:null},s.set(a,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(s.rel==="stylesheet"&&typeof s.href=="string"&&typeof s.precedence=="string"){n=Ur(s.href);var v=$e(f).hoistableStyles,b=v.get(n);if(b||(f=f.ownerDocument||f,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(n,b),(v=f.querySelector(Ws(n)))&&!v._p&&(b.instance=v,b.state.loading=5),Hn.has(n)||(s={rel:"preload",as:"style",href:s.href,crossOrigin:s.crossOrigin,integrity:s.integrity,media:s.media,hrefLang:s.hrefLang,referrerPolicy:s.referrerPolicy},Hn.set(n,s),v||T6(f,n,s,b.state))),a&&o===null)throw Error(r(528,""));return b}if(a&&o!==null)throw Error(r(529,""));return null;case"script":return a=s.async,s=s.src,typeof s=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=Br(s),s=$e(f).hoistableScripts,o=s.get(a),o||(o={type:"script",instance:null,count:0,state:null},s.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,n))}}function Ur(n){return'href="'+Dn(n)+'"'}function Ws(n){return'link[rel="stylesheet"]['+n+"]"}function nv(n){return ie({},n,{"data-precedence":n.precedence,precedence:null})}function T6(n,a,s,o){n.querySelector('link[rel="preload"][as="style"]['+a+"]")?o.loading=1:(a=n.createElement("link"),o.preload=a,a.addEventListener("load",function(){return o.loading|=1}),a.addEventListener("error",function(){return o.loading|=2}),Ft(a,"link",s),Ve(a),n.head.appendChild(a))}function Br(n){return'[src="'+Dn(n)+'"]'}function Zs(n){return"script[async]"+n}
vendor: 12,345 bytes, line 10
10function av(n,a,s){if(a.count++,a.instance===null)switch(a.type){case"style":var o=n.querySelector('style[data-href~="'+Dn(s.href)+'"]');if(o)return a.instance=o,Ve(o),o;var f=ie({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return o=(n.ownerDocument||n).createElement("style"),Ve(o),Ft(o,"style",f),su(o,s.precedence,n),a.instance=o;case"stylesheet":f=Ur(s.href);var v=n.querySelector(Ws(f));if(v)return a.state.loading|=4,a.instance=v,Ve(v),v;o=nv(s),(f=Hn.get(f))&&Pd(o,f),v=(n.ownerDocument||n).createElement("link"),Ve(v);var b=v;return b._p=new Promise(function(j,M){b.onload=j,b.onerror=M}),Ft(v,"link",o),a.state.loading|=4,su(v,s.precedence,n),a.instance=v;case"script":return v=Br(s.src),(f=n.querySelector(Zs(v)))?(a.instance=f,Ve(f),f):(o=s,(f=Hn.get(v))&&(o=ie({},s),Vd(o,f)),n=n.ownerDocument||n,f=n.createElement("script"),Ve(f),Ft(f,"link",o),n.head.appendChild(f),a.instance=f);case"void":return null;default:throw Error(r(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(o=a.instance,a.state.loading|=4,su(o,s.precedence,n));return a.instance}function su(n,a,s){for(var o=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=o.length?o[o.length-1]:null,v=f,b=0;b<o.length;b++){var j=o[b];if(j.dataset.precedence===a)v=j;else if(v!==f)break}v?v.parentNode.insertBefore(n,v.nextSibling):(a=s.nodeType===9?s.head:s,a.insertBefore(n,a.firstChild))}function Pd(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.title==null&&(n.title=a.title)}function Vd(n,a){n.crossOrigin==null&&(n.crossOrigin=a.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=a.referrerPolicy),n.integrity==null&&(n.integrity=a.integrity)}var lu=null;function iv(n,a,s){if(lu===null){var o=new Map,f=lu=new Map;f.set(s,o)}else f=lu,o=f.get(s),o||(o=new Map,f.set(s,o));if(o.has(n))return o;for(o.set(n,null),s=s.getElementsByTagName(n),f=0;f<s.length;f++){var v=s[f];if(!(v[Ai]||v[St]||n==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var b=v.getAttribute(a)||"";b=n+b;var j=o.get(b);j?j.push(v):o.set(b,[v])}}return o}function rv(n,a,s){n=n.ownerDocument||n,n.head.insertBefore(s,a==="title"?n.querySelector("head > title"):null)}function C6(n,a,s){if(s===1||a.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return n=a.disabled,typeof a.precedence=="string"&&n==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function sv(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}var Js=null;function A6(){}function j6(n,a,s){if(Js===null)throw Error(r(475));var o=Js;if(a.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var f=Ur(s.href),v=n.querySelector(Ws(f));if(v){n=v._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(o.count++,o=ou.bind(o),n.then(o,o)),a.state.loading|=4,a.instance=v,Ve(v);return}v=n.ownerDocument||n,s=nv(s),(f=Hn.get(f))&&Pd(s,f),v=v.createElement("link"),Ve(v);var b=v;b._p=new Promise(function(j,M){b.onload=j,b.onerror=M}),Ft(v,"link",s),a.instance=v}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(a,n),(n=a.state.preload)&&(a.state.loading&3)===0&&(o.count++,a=ou.bind(o),n.addEventListener("load",a),n.addEventListener("error",a))}}function O6(){if(Js===null)throw Error(r(475));var n=Js;return n.stylesheets&&n.count===0&&zd(n,n.stylesheets),0<n.count?function(a){var s=setTimeout(function(){if(n.stylesheets&&zd(n,n.stylesheets),n.unsuspend){var o=n.unsuspend;n.unsuspend=null,o()}},6e4);return n.unsuspend=a,function(){n.unsuspend=null,clearTimeout(s)}}:null}function ou(){if(this.count--,this.count===0){if(this.stylesheets)zd(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var uu=null;function zd(n,a){n.stylesheets=null,n.unsuspend!==null&&(n.count++,uu=new Map,a.forEach(R6,n),uu=null,ou.call(n))}function R6(n,a){if(!(a.state.loading&4)){var s=uu.get(n);if(s)var o=s.get(null);else{s=new Map,uu.set(n,s);for(var f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<f.length;v++){var b=f[v];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(s.set(b.dataset.precedence,b),o=b)}o&&s.set(null,o)}f=a.instance,b=f.getAttribute("data-precedence"),v=s.get(b)||o,v===o&&s.set(null,f),s.set(b,f),this.count++,o=ou.bind(this),f.addEventListener("load",o),f.addEventListener("error",o),v?v.parentNode.insertBefore(f,v.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(f,n.firstChild)),a.state.loading|=4}}var el={$$typeof:C,Provider:null,Consumer:null,_currentValue:le,_currentValue2:le,_threadCount:0};function N6(n,a,s,o,f,v,b,j){this.tag=1,this.containerInfo=n,this.finishedWork=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=or(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=or(0),this.hiddenUpdates=or(null),this.identifierPrefix=o,this.onUncaughtError=f,this.onCaughtError=v,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}function lv(n,a,s,o,f,v,b,j,M,V,Z,re){return n=new N6(n,a,s,b,j,M,V,re),a=1,v===!0&&(a|=24),v=Un(3,null,null,a),n.current=v,v.stateNode=n,a=gf(),a.refCount++,n.pooledCache=a,a.refCount++,v.memoizedState={element:o,isDehydrated:s,cache:a},Qf(v),n}function ov(n){return n?(n=yr,n):yr}function uv(n,a,s,o,f,v){f=ov(f),o.context===null?o.context=f:o.pendingContext=f,o=ri(a),o.payload={element:s},v=v===void 0?null:v,v!==null&&(o.callback=v),s=si(n,o,a),s!==null&&(nn(s,n,a),Vs(s,n,a))}function cv(n,a){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<a?s:a}}function Ud(n,a){cv(n,a),(n=n.alternate)&&cv(n,a)}function fv(n){if(n.tag===13){var a=Za(n,67108864);a!==null&&nn(a,n,67108864),Ud(n,67108864)}}var cu=!0;function D6(n,a,s,o){var f=L.T;L.T=null;var v=J.p;try{J.p=2,Bd(n,a,s,o)}finally{J.p=v,L.T=f}}function M6(n,a,s,o){var f=L.T;L.T=null;var v=J.p;try{J.p=8,Bd(n,a,s,o)}finally{J.p=v,L.T=f}}function Bd(n,a,s,o){if(cu){var f=Hd(o);if(f===null)Od(n,a,o,fu,s),hv(n,o);else if(L6(f,n,a,s,o))o.stopPropagation();else if(hv(n,o),a&4&&-1<_6.indexOf(n)){for(;f!==null;){var v=se(f);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var b=yn(v.pendingLanes);if(b!==0){var j=v;for(j.pendingLanes|=2,j.entangledLanes|=2;b;){var M=1<<31-Pt(b);j.entanglements[1]|=M,b&=~M}pa(v),(lt&6)===0&&(Ko=$t()+500,Ks(0))}}break;case 13:j=Za(v,2),j!==null&&nn(j,v,2),Wo(),Ud(v,2)}if(v=Hd(o),v===null&&Od(n,a,o,fu,s),v===f)break;f=v}f!==null&&o.stopPropagation()}else Od(n,a,o,null,s)}}function Hd(n){return n=Gc(n),Fd(n)}var fu=null;function Fd(n){if(fu=null,n=_(n),n!==null){var a=ee(n);if(a===null)n=null;else{var s=a.tag;if(s===13){if(n=W(a),n!==null)return n;n=null}else if(s===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}return fu=n,null}function dv(n){switch(n){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(Ti()){case wa:return 2;case vn:return 8;case Qa:case to:return 32;case ls:return 268435456;default:return 32}default:return 32}}var Id=!1,hi=null,mi=null,pi=null,tl=new Map,nl=new Map,gi=[],_6="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 hv(n,a){switch(n){case"focusin":case"focusout":hi=null;break;case"dragenter":case"dragleave":mi=null;break;case"mouseover":case"mouseout":pi=null;break;case"pointerover":case"pointerout":tl.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":nl.delete(a.pointerId)}}function al(n,a,s,o,f,v){return n===null||n.nativeEvent!==v?(n={blockedOn:a,domEventName:s,eventSystemFlags:o,nativeEvent:v,targetContainers:[f]},a!==null&&(a=se(a),a!==null&&fv(a)),n):(n.eventSystemFlags|=o,a=n.targetContainers,f!==null&&a.indexOf(f)===-1&&a.push(f),n)}function L6(n,a,s,o,f){switch(a){case"focusin":return hi=al(hi,n,a,s,o,f),!0;case"dragenter":return mi=al(mi,n,a,s,o,f),!0;case"mouseover":return pi=al(pi,n,a,s,o,f),!0;case"pointerover":var v=f.pointerId;return tl.set(v,al(tl.get(v)||null,n,a,s,o,f)),!0;case"gotpointercapture":return v=f.pointerId,nl.set(v,al(nl.get(v)||null,n,a,s,o,f)),!0}return!1}function mv(n){var a=_(n.target);if(a!==null){var s=ee(a);if(s!==null){if(a=s.tag,a===13){if(a=W(s),a!==null){n.blockedOn=a,so(n.priority,function(){if(s.tag===13){var o=An(),f=Za(s,o);f!==null&&nn(f,s,o),Ud(s,o)}});return}}else if(a===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function du(n){if(n.blockedOn!==null)return!1;for(var a=n.targetContainers;0<a.length;){var s=Hd(n.nativeEvent);if(s===null){s=n.nativeEvent;var o=new s.constructor(s.type,s);$c=o,s.target.dispatchEvent(o),$c=null}else return a=se(s),a!==null&&fv(a),n.blockedOn=s,!1;a.shift()}return!0}function pv(n,a,s){du(n)&&s.delete(a)}function k6(){Id=!1,hi!==null&&du(hi)&&(hi=null),mi!==null&&du(mi)&&(mi=null),pi!==null&&du(pi)&&(pi=null),tl.forEach(pv),nl.forEach(pv)}function hu(n,a){n.blockedOn===a&&(n.blockedOn=null,Id||(Id=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,k6)))}var mu=null;function gv(n){mu!==n&&(mu=n,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){mu===n&&(mu=null);for(var a=0;a<n.length;a+=3){var s=n[a],o=n[a+1],f=n[a+2];if(typeof o!="function"){if(Fd(o||s)===null)continue;break}var v=se(s);v!==null&&(n.splice(a,3),a-=3,Mf(v,{pending:!0,data:f,method:s.method,action:o},o,f))}}))}function il(n){function a(M){return hu(M,n)}hi!==null&&hu(hi,n),mi!==null&&hu(mi,n),pi!==null&&hu(pi,n),tl.forEach(a),nl.forEach(a);for(var s=0;s<gi.length;s++){var o=gi[s];o.blockedOn===n&&(o.blockedOn=null)}for(;0<gi.length&&(s=gi[0],s.blockedOn===null);)mv(s),s.blockedOn===null&&gi.shift();if(s=(n.ownerDocument||n).$$reactFormReplay,s!=null)for(o=0;o<s.length;o+=3){var f=s[o],v=s[o+1],b=f[Vt]||null;if(typeof v=="function")b||gv(s);else if(b){var j=null;if(v&&v.hasAttribute("formAction")){if(f=v,b=v[Vt]||null)j=b.formAction;else if(Fd(f)!==null)continue}else j=b.action;typeof j=="function"?s[o+1]=j:(s.splice(o,3),o-=3),gv(s)}}}function qd(n){this._internalRoot=n}pu.prototype.render=qd.prototype.render=function(n){var a=this._internalRoot;if(a===null)throw Error(r(409));var s=a.current,o=An();
10uv(s,o,n,a,null,null)},pu.prototype.unmount=qd.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var a=n.containerInfo;n.tag===0&&kr(),uv(n.current,2,null,n,null,null),Wo(),a[Gt]=null}};function pu(n){this._internalRoot=n}pu.prototype.unstable_scheduleHydration=function(n){if(n){var a=ca();n={blockedOn:null,target:n,priority:a};for(var s=0;s<gi.length&&a!==0&&a<gi[s].priority;s++);gi.splice(s,0,n),s===0&&mv(n)}};var vv=t.version;if(vv!=="19.0.0")throw Error(r(527,vv,"19.0.0"));J.findDOMNode=function(n){var a=n._reactInternals;if(a===void 0)throw typeof n.render=="function"?Error(r(188)):(n=Object.keys(n).join(","),Error(r(268,n)));return n=z(a),n=n!==null?Y(n):null,n=n===null?null:n.stateNode,n};var P6={bundleType:0,version:"19.0.0",rendererPackageName:"react-dom",currentDispatcherRef:L,findFiberByHostInstance:_,reconcilerVersion:"19.0.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var gu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gu.isDisabled&&gu.supportsFiber)try{ua=gu.inject(P6),Dt=gu}catch{}}return sl.createRoot=function(n,a){if(!l(n))throw Error(r(299));var s=!1,o="",f=L1,v=k1,b=P1,j=null;return a!=null&&(a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(v=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(j=a.unstable_transitionCallbacks)),a=lv(n,1,!1,null,null,s,o,f,v,b,j,null),n[Gt]=a.current,jd(n.nodeType===8?n.parentNode:n),new qd(a)},sl.hydrateRoot=function(n,a,s){if(!l(n))throw Error(r(299));var o=!1,f="",v=L1,b=k1,j=P1,M=null,V=null;return s!=null&&(s.unstable_strictMode===!0&&(o=!0),s.identifierPrefix!==void 0&&(f=s.identifierPrefix),s.onUncaughtError!==void 0&&(v=s.onUncaughtError),s.onCaughtError!==void 0&&(b=s.onCaughtError),s.onRecoverableError!==void 0&&(j=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(M=s.unstable_transitionCallbacks),s.formState!==void 0&&(V=s.formState)),a=lv(n,1,!0,a,s??null,o,f,v,b,j,M,V),a.context=ov(null),s=a.current,o=An(),f=ri(o),f.callback=null,si(s,f,o),a.current.lanes=o,Ca(a,o),pa(a),n[Gt]=a.current,jd(n),new pu(a)},sl.version="19.0.0",sl}var jv;function G6(){if(jv)return Gd.exports;jv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Gd.exports=$6(),Gd.exports}var Y6=G6(),x=Sc();const Qe=Hl(x),Ov=z6({__proto__:null,default:Qe},[x]),K6="modulepreload",X6=function(e){return"/"+e},Rv={},Be=function(t,i,r){let l=Promise.resolve();if(i&&i.length>0){let d=function(p){return Promise.all(p.map(g=>Promise.resolve(g).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),m=c?.nonce||c?.getAttribute("nonce");l=d(i.map(p=>{if(p=X6(p),p in Rv)return;Rv[p]=!0;const g=p.endsWith(".css"),y=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${y}`))return;const S=document.createElement("link");if(S.rel=g?"stylesheet":K6,g||(S.as="script"),S.crossOrigin="",S.href=p,m&&S.setAttribute("nonce",m),document.head.appendChild(S),g)return new Promise((C,w)=>{S.addEventListener("load",C),S.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${p}`)))})}))}function u(c){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=c,window.dispatchEvent(m),!m.defaultPrevented)throw c}return l.then(c=>{for(const m of c||[])m.status==="rejected"&&u(m.reason);return t().catch(u)})};var Nv="popstate";function Q6(e={}){function t(r,l){let{pathname:u,search:c,hash:m}=r.location;return qh("",{pathname:u,search:c,hash:m},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function i(r,l){return typeof l=="string"?l:Nl(l)}return Z6(t,i,null,e)}function ut(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function sa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function W6(){return Math.random().toString(36).substring(2,10)}function Dv(e,t){return{usr:e.state,key:e.key,idx:t}}function qh(e,t,i=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?es(t):t,state:i,key:t&&t.key||r||W6()}}function Nl({pathname:e="/",search:t="",hash:i=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),i&&i!=="#"&&(e+=i.charAt(0)==="#"?i:"#"+i),e}function es(e){let t={};if(e){let i=e.indexOf("#");i>=0&&(t.hash=e.substring(i),e=e.substring(0,i));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function Z6(e,t,i,r={}){let{window:l=document.defaultView,v5Compat:u=!1}=r,c=l.history,m="POP",d=null,p=g();p==null&&(p=0,c.replaceState({...c.state,idx:p},""));function g(){return(c.state||{idx:null}).idx}function y(){m="POP";let E=g(),A=E==null?null:E-p;p=E,d&&d({action:m,location:T.location,delta:A})}function S(E,A){m="PUSH";let R=qh(T.location,E,A);p=g()+1;let N=Dv(R,p),P=T.createHref(R);try{c.pushState(N,"",P)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;l.location.assign(P)}u&&d&&d({action:m,location:T.location,delta:1})}function C(E,A){m="REPLACE";let R=qh(T.location,E,A);p=g();let N=Dv(R,p),P=T.createHref(R);c.replaceState(N,"",P),u&&d&&d({action:m,location:T.location,delta:0})}function w(E){return J6(E)}let T={get action(){return m},get location(){return e(l,c)},listen(E){if(d)throw new Error("A history only accepts one active listener");return l.addEventListener(Nv,y),d=E,()=>{l.removeEventListener(Nv,y),d=null}},createHref(E){return t(l,E)},createURL:w,encodeLocation(E){let A=w(E);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:S,replace:C,go(E){return c.go(E)}};return T}function J6(e,t=!1){let i="http://localhost";
10typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),ut(i,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Nl(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=i+r),new URL(r,i)}function Hb(e,t,i="/"){return ew(e,t,i,!1)}function ew(e,t,i,r){let l=typeof t=="string"?es(t):t,u=$a(l.pathname||"/",i);if(u==null)return null;let c=Fb(e);tw(c);let m=null;for(let d=0;m==null&&d<c.length;++d){let p=dw(u);m=cw(c[d],p,r)}return m}function Fb(e,t=[],i=[],r="",l=!1){let u=(c,m,d=l,p)=>{let g={relativePath:p===void 0?c.path||"":p,caseSensitive:c.caseSensitive===!0,childrenIndex:m,route:c};if(g.relativePath.startsWith("/")){if(!g.relativePath.startsWith(r)&&d)return;ut(g.relativePath.startsWith(r),`Absolute route path "${g.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(r.length)}let y=Fa([r,g.relativePath]),S=i.concat(g);c.children&&c.children.length>0&&(ut(c.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),Fb(c.children,t,S,y,d)),!(c.path==null&&!c.index)&&t.push({path:y,score:ow(y,c.index),routesMeta:S})};return e.forEach((c,m)=>{if(c.path===""||!c.path?.includes("?"))u(c,m);else for(let d of Ib(c.path))u(c,m,!0,d)}),t}function Ib(e){let t=e.split("/");if(t.length===0)return[];let[i,...r]=t,l=i.endsWith("?"),u=i.replace(/\?$/,"");if(r.length===0)return l?[u,""]:[u];let c=Ib(r.join("/")),m=[];return m.push(...c.map(d=>d===""?u:[u,d].join("/"))),l&&m.push(...c),m.map(d=>e.startsWith("/")&&d===""?"/":d)}function tw(e){e.sort((t,i)=>t.score!==i.score?i.score-t.score:uw(t.routesMeta.map(r=>r.childrenIndex),i.routesMeta.map(r=>r.childrenIndex)))}var nw=/^:[\w-]+$/,aw=3,iw=2,rw=1,sw=10,lw=-2,Mv=e=>e==="*";function ow(e,t){let i=e.split("/"),r=i.length;return i.some(Mv)&&(r+=lw),t&&(r+=iw),i.filter(l=>!Mv(l)).reduce((l,u)=>l+(nw.test(u)?aw:u===""?rw:sw),r)}function uw(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function cw(e,t,i=!1){let{routesMeta:r}=e,l={},u="/",c=[];for(let m=0;m<r.length;++m){let d=r[m],p=m===r.length-1,g=u==="/"?t:t.slice(u.length)||"/",y=Zu({path:d.relativePath,caseSensitive:d.caseSensitive,end:p},g),S=d.route;if(!y&&p&&i&&!r[r.length-1].route.index&&(y=Zu({path:d.relativePath,caseSensitive:d.caseSensitive,end:!1},g)),!y)return null;
10Object.assign(l,y.params),c.push({params:l,pathname:Fa([u,y.pathname]),pathnameBase:gw(Fa([u,y.pathnameBase])),route:S}),y.pathnameBase!=="/"&&(u=Fa([u,y.pathnameBase]))}return c}function Zu(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[i,r]=fw(e.path,e.caseSensitive,e.end),l=t.match(i);if(!l)return null;let u=l[0],c=u.replace(/(.)\/+$/,"$1"),m=l.slice(1);return{params:r.reduce((p,{paramName:g,isOptional:y},S)=>{if(g==="*"){let w=m[S]||"";c=u.slice(0,u.length-w.length).replace(/(.)\/+$/,"$1")}const C=m[S];return y&&!C?p[g]=void 0:p[g]=(C||"").replace(/%2F/g,"/"),p},{}),pathname:u,pathnameBase:c,pattern:e}}function fw(e,t=!1,i=!0){sa(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(c,m,d)=>(r.push({paramName:m,isOptional:d!=null}),d?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function dw(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return sa(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function $a(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let i=t.endsWith("/")?t.length-1:t.length,r=e.charAt(i);return r&&r!=="/"?null:e.slice(i)||"/"}var hw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function mw(e,t="/"){let{pathname:i,search:r="",hash:l=""}=typeof e=="string"?es(e):e,u;return i?(i=i.replace(/\/\/+/g,"/"),i.startsWith("/")?u=_v(i.substring(1),"/"):u=_v(i,t)):u=t,{pathname:u,search:vw(r),hash:yw(l)}}function _v(e,t){let i=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?i.length>1&&i.pop():l!=="."&&i.push(l)}),i.length>1?i.join("/"):"/"}function Wd(e,t,i,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function pw(e){return e.filter((t,i)=>i===0||t.route.path&&t.route.path.length>0)}function qb(e){let t=pw(e);return t.map((i,r)=>r===t.length-1?i.pathname:i.pathnameBase)}function $b(e,t,i,r=!1){let l;typeof e=="string"?l=es(e):(l={...e},ut(!l.pathname||!l.pathname.includes("?"),Wd("?","pathname","search",l)),ut(!l.pathname||!l.pathname.includes("#"),Wd("#","pathname","hash",l)),ut(!l.search||!l.search.includes("#"),Wd("#","search","hash",l)));let u=e===""||l.pathname==="",c=u?"/":l.pathname,m;if(c==null)m=i;else{let y=t.length-1;if(!r&&c.startsWith("..")){let S=c.split("/");for(;S[0]==="..";)S.shift(),y-=1;l.pathname=S.join("/")}m=y>=0?t[y]:"/"}let d=mw(l,m),p=c&&c!=="/"&&c.endsWith("/"),g=(u||c===".")&&i.endsWith("/");return!d.pathname.endsWith("/")&&(p||g)&&(d.pathname+="/"),d}var Fa=e=>e.join("/").replace(/\/\/+/g,"/"),gw=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),vw=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,yw=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,bw=class{constructor(e,t,i,r=!1){this.status=e,this.statusText=t||"",this.internal=r,i instanceof Error?(this.data=i.toString(),this.error=i):this.data=i}};function xw(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function Sw(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Gb=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Yb(e,t){let i=e;if(typeof i!="string"||!hw.test(i))return{absoluteURL:void 0,isExternal:!1,to:i};let r=i,l=!1;if(Gb)try{let u=new URL(window.location.href),c=i.startsWith("//")?new URL(u.protocol+i):new URL(i),m=$a(c.pathname,t);c.origin===u.origin&&m!=null?i=m+c.search+c.hash:l=!0}catch{sa(!1,`<Link to="${i}">
10 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:l,to:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Kb=["POST","PUT","PATCH","DELETE"];new Set(Kb);var ww=["GET",...Kb];new Set(ww);var ts=x.createContext(null);ts.displayName="DataRouter";var wc=x.createContext(null);wc.displayName="DataRouterState";var Ew=x.createContext(!1),Xb=x.createContext({isTransitioning:!1});Xb.displayName="ViewTransition";var Tw=x.createContext(new Map);Tw.displayName="Fetchers";var Cw=x.createContext(null);Cw.displayName="Await";var Kn=x.createContext(null);Kn.displayName="Navigation";var Fl=x.createContext(null);Fl.displayName="Location";var la=x.createContext({outlet:null,matches:[],isDataRoute:!1});la.displayName="Route";var $m=x.createContext(null);$m.displayName="RouteError";var Qb="REACT_ROUTER_ERROR",Aw="REDIRECT",jw="ROUTE_ERROR_RESPONSE";function Ow(e){if(e.startsWith(`${Qb}:${Aw}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function Rw(e){if(e.startsWith(`${Qb}:${jw}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new bw(t.status,t.statusText,t.data)}catch{}}function Nw(e,{relative:t}={}){ut(Il(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:r}=x.useContext(Kn),{hash:l,pathname:u,search:c}=ql(e,{relative:t}),m=u;return i!=="/"&&(m=u==="/"?i:Fa([i,u])),r.createHref({pathname:m,search:c,hash:l})}function Il(){return x.useContext(Fl)!=null}function Zt(){return ut(Il(),"useLocation() may be used only in the context of a <Router> component."),x.useContext(Fl).location}var Wb="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Zb(e){x.useContext(Kn).static||x.useLayoutEffect(e)}function On(){let{isDataRoute:e}=x.useContext(la);return e?$w():Dw()}function Dw(){ut(Il(),"useNavigate() may be used only in the context of a <Router> component.");let e=x.useContext(ts),{basename:t,navigator:i}=x.useContext(Kn),{matches:r}=x.useContext(la),{pathname:l}=Zt(),u=JSON.stringify(qb(r)),c=x.useRef(!1);return Zb(()=>{c.current=!0}),x.useCallback((d,p={})=>
10{if(sa(c.current,Wb),!c.current)return;if(typeof d=="number"){i.go(d);return}let g=$b(d,JSON.parse(u),l,p.relative==="path");e==null&&t!=="/"&&(g.pathname=g.pathname==="/"?t:Fa([t,g.pathname])),(p.replace?i.replace:i.push)(g,p.state,p)},[t,i,u,l,e])}var Mw=x.createContext(null);function _w(e){let t=x.useContext(la).outlet;return x.useMemo(()=>t&&x.createElement(Mw.Provider,{value:e},t),[t,e])}function Ec(){let{matches:e}=x.useContext(la),t=e[e.length-1];return t?t.params:{}}function ql(e,{relative:t}={}){let{matches:i}=x.useContext(la),{pathname:r}=Zt(),l=JSON.stringify(qb(i));return x.useMemo(()=>$b(e,JSON.parse(l),r,t==="path"),[e,l,r,t])}function Lw(e,t){return Jb(e,t)}function Jb(e,t,i,r,l){ut(Il(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:u}=x.useContext(Kn),{matches:c}=x.useContext(la),m=c[c.length-1],d=m?m.params:{},p=m?m.pathname:"/",g=m?m.pathnameBase:"/",y=m&&m.route;{let R=y&&y.path||"";tx(p,!y||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${R}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 11 12Please change the parent <Route path="${R}"> to <Route path="${R==="/"?"*":`${R}/*`}">.`)}let S=Zt(),C;if(t){let R=typeof t=="string"?es(t):t;ut(g==="/"||R.pathname?.startsWith(g),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${R.pathname}" was given in the \`location\` prop.`),C=R}else C=S;let w=C.pathname||"/",T=w;if(g!=="/"){let R=g.replace(/^\//,"").split("/");T="/"+w.replace(/^\//,"").split("/").slice(R.length).join("/")}let E=Hb(e,{pathname:T});sa(y||E!=null,`No routes matched location "${C.pathname}${C.search}${C.hash}" `),sa(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${C.pathname}${C.search}${C.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let A=Uw(E&&E.map(R=>Object.assign({},R,{params:Object.assign({},d,R.params),pathname:Fa([g,u.encodeLocation?u.encodeLocation(R.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathname]),pathnameBase:R.pathnameBase==="/"?g:Fa([g,u.encodeLocation?u.encodeLocation(R.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:R.pathnameBase])})),c,i,r,l);return t&&A?x.createElement(Fl.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...C},navigationType:"POP"}},A):A}function kw(){let e=qw(),t=xw(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:r},u={padding:"2px 4px",backgroundColor:r},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=x.createElement(x.Fragment,null,x.createElement("p",null,"ð¿ Hey developer ð"),x.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",x.createElement("code",{style:u},"ErrorBoundary")," or"," ",x.createElement("code",{style:u},"errorElement")," prop on your route.")),x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),i?x.createElement("pre",{style:l},i):null,c)}var Pw=x.createElement(kw,null),ex=class extends x.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const i=Rw(e.digest);i&&(e=i)}let t=e!==void 0?x.createElement(la.Provider,{value:this.props.routeContext},x.createElement($m.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?x.createElement(Vw,{error:e},t):t}};ex.contextType=Ew;var Zd=new WeakMap;function Vw({children:e,error:t}){let{basename:i}=x.useContext(Kn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=Ow(t.digest);if(r){let l=Zd.get(t);if(l)throw l;let u=Yb(r.location,i);if(Gb&&!Zd.get(t))if(u.isExternal||r.reloadDocument)window.location.href=u.absoluteURL||u.to;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:r.replace}));throw Zd.set(t,c),c}return x.createElement("meta",{httpEquiv:"refresh",content:`0;url=${u.absoluteURL||u.to}`})}}return e}function zw({routeContext:e,match:t,children:i}){let r=x.useContext(ts);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),x.createElement(la.Provider,{value:e},i)}function Uw(e,t=[],i=null,r=null,l=null){if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(t.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let u=e,c=i?.errors;if(c!=null){let g=u.findIndex(y=>y.route.id&&c?.[y.route.id]!==void 0);ut(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),u=u.slice(0,Math.min(u.length,g+1))}let m=!1,d=-1;if(i)for(let g=0;g<u.length;g++){let y=u[g];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(d=g),y.route.id){let{loaderData:S,errors:C}
12=i,w=y.route.loader&&!S.hasOwnProperty(y.route.id)&&(!C||C[y.route.id]===void 0);if(y.route.lazy||w){m=!0,d>=0?u=u.slice(0,d+1):u=[u[0]];break}}}let p=i&&r?(g,y)=>{r(g,{location:i.location,params:i.matches?.[0]?.params??{},unstable_pattern:Sw(i.matches),errorInfo:y})}:void 0;return u.reduceRight((g,y,S)=>{let C,w=!1,T=null,E=null;i&&(C=c&&y.route.id?c[y.route.id]:void 0,T=y.route.errorElement||Pw,m&&(d<0&&S===0?(tx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,E=null):d===S&&(w=!0,E=y.route.hydrateFallbackElement||null)));let A=t.concat(u.slice(0,S+1)),R=()=>{let N;return C?N=T:w?N=E:y.route.Component?N=x.createElement(y.route.Component,null):y.route.element?N=y.route.element:N=g,x.createElement(zw,{match:y,routeContext:{outlet:g,matches:A,isDataRoute:i!=null},children:N})};return i&&(y.route.ErrorBoundary||y.route.errorElement||S===0)?x.createElement(ex,{location:i.location,revalidation:i.revalidation,component:T,error:C,children:R(),routeContext:{outlet:null,matches:A,isDataRoute:!0},onError:p}):R()},null)}function Gm(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Bw(e){let t=x.useContext(ts);return ut(t,Gm(e)),t}function Hw(e){let t=x.useContext(wc);return ut(t,Gm(e)),t}function Fw(e){let t=x.useContext(la);return ut(t,Gm(e)),t}function Ym(e){let t=Fw(e),i=t.matches[t.matches.length-1];return ut(i.route.id,`${e} can only be used on routes that contain a unique "id"`),i.route.id}function Iw(){return Ym("useRouteId")}function qw(){let e=x.useContext($m),t=Hw("useRouteError"),i=Ym("useRouteError");return e!==void 0?e:t.errors?.[i]}function $w(){let{router:e}=Bw("useNavigate"),t=Ym("useNavigate"),i=x.useRef(!1);return Zb(()=>{i.current=!0}),x.useCallback(async(l,u={})=>{sa(i.current,Wb),i.current&&(typeof l=="number"?await e.navigate(l):await e.navigate(l,{fromRouteId:t,...u}))},[e,t])}var Lv={};function tx(e,t,i){!t&&!Lv[e]&&(Lv[e]=!0,sa(!1,i))}x.memo(Gw);function Gw({routes:e,future:t,state:i,onError:r}){return Jb(e,void 0,i,r,t)}function Yw(e){return _w(e.context)}function be(e){ut(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Kw({basename:e="/",children:t=null,location:i,navigationType:r="POP",navigator:l,static:u=!1,unstable_useTransitions:c}){ut(!Il(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=e.replace(/^\/*/,"/"),d=x.useMemo(()=>({basename:m,navigator:l,static:u,unstable_useTransitions:c,future:{}}),[m,l,u,c]);typeof i=="string"&&(i=es(i));let{pathname:p="/",search:g="",hash:y="",state:S=null,key:C="default"}=i,w=x.useMemo(()=>{let T=$a(p,m);return T==null?null:{location:{pathname:T,search:g,hash:y,state:S,key:C},navigationType:r}},[m,p,g,y,S,C,r]);return sa(w!=null,`<Router basename="${m}"> is not able to match the URL "${p}${g}${y}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:x.createElement(Kn.Provider,{value:d},x.createElement(Fl.Provider,{children:t,value:w}))}function Xw({children:e,location:t}){return Lw($h(e),t)}function $h(e,t=[]){let i=[];return x.Children.forEach(e,(r,l)=>{if(!x.isValidElement(r))return;let u=[...t,l];if(r.type===x.Fragment){i.push.apply(i,$h(r.props.children,u));return}ut(r.type===be,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ut(!r.props.index||!r.props.children,"An index route cannot have child routes.");let c={id:r.props.id||u.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,
12shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(c.children=$h(r.props.children,u)),i.push(c)}),i}var ku="get",Pu="application/x-www-form-urlencoded";function Tc(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Qw(e){return Tc(e)&&e.tagName.toLowerCase()==="button"}function Ww(e){return Tc(e)&&e.tagName.toLowerCase()==="form"}function Zw(e){return Tc(e)&&e.tagName.toLowerCase()==="input"}function Jw(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function e8(e,t){return e.button===0&&(!t||t==="_self")&&!Jw(e)}function Gh(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,i)=>{let r=e[i];return t.concat(Array.isArray(r)?r.map(l=>[i,l]):[[i,r]])},[]))}function t8(e,t){let i=Gh(e);return t&&t.forEach((r,l)=>{i.has(l)||t.getAll(l).forEach(u=>{i.append(l,u)})}),i}var vu=null;function n8(){if(vu===null)try{new FormData(document.createElement("form"),0),vu=!1}catch{vu=!0}return vu}var a8=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Jd(e){return e!=null&&!a8.has(e)?(sa(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Pu}"`),null):e}function i8(e,t){let i,r,l,u,c;if(Ww(e)){let m=e.getAttribute("action");r=m?$a(m,t):null,i=e.getAttribute("method")||ku,l=Jd(e.getAttribute("enctype"))||Pu,u=new FormData(e)}else if(Qw(e)||Zw(e)&&(e.type==="submit"||e.type==="image")){let m=e.form;if(m==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let d=e.getAttribute("formaction")||m.getAttribute("action");if(r=d?$a(d,t):null,i=e.getAttribute("formmethod")||m.getAttribute("method")||ku,l=Jd(e.getAttribute("formenctype"))||Jd(m.getAttribute("enctype"))||Pu,u=new FormData(m,e),!n8()){let{name:p,type:g,value:y}=e;if(g==="image"){let S=p?`${p}.`:"";u.append(`${S}x`,"0"),u.append(`${S}y`,"0")}else p&&u.append(p,y)}}else{if(Tc(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=ku,r=null,l=Pu,c=e}return u&&l==="text/plain"&&(c=u,u=void 0),{action:r,method:i.toLowerCase(),encType:l,formData:u,body:c}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Km(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function r8(e,t,i,r){let l=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return i?l.pathname.endsWith("/")?l.pathname=`${l.pathname}_.${r}`:l.pathname=`${l.pathname}.${r}`:l.pathname==="/"?l.pathname=`_root.${r}`:t&&$a(l.pathname,t)==="/"?l.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:l.pathname=`${l.pathname.replace(/\/$/,"")}.${r}`,l}async function s8(e,t){if(e.id in t)return t[e.id];try{let i=await import(e.module);return t[e.id]=i,i}catch(i){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function l8(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function o8(e,t,i){let r=await Promise.all(e.map(async l=>{let u=t.routes[l.route.id];if(u){let c=await s8(u,i);return c.links?c.links():[]}return[]}));return d8(r.flat(1).filter(l8).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function kv(e,t,i,r,l,u){let c=(d,p)=>i[p]?d.route.id!==i[p].route.id:!0,m=(d,p)=>i[p].pathname!==d.pathname||i[p].route.path?.endsWith("*")&&i[p].params["*"]!==d.params["*"];return u==="assets"?t.filter((d,p)=>c(d,p)||m(d,p)):u==="data"?t.filter((d,p)=>{let g=r.routes[d.route.id];if(!g||!g.hasLoader)return!1;if(c(d,p)||m(d,p))return!0;if(d.route.shouldRevalidate){let y=d.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:i[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:d.params,defaultShouldRevalidate:!0});if(typeof y=="boolean")return y}return!0}):[]}function u8(e,t,{includeHydrateFallback:i}={}){return c8(e.map(r=>{let l=t.routes[r.route.id];if(!l)return[];let u=[l.module];return l.clientActionModule&&(u=u.concat(l.clientActionModule)),l.clientLoaderModule&&(u=u.concat(l.clientLoaderModule)),i&&l.hydrateFallbackModule&&(u=u.concat(l.hydrateFallbackModule)),l.imports&&(u=u.concat(l.imports)),u}).flat(1))}function c8(e){return[...new Set(e)]}function f8(e){let t={},i=Object.keys(e).sort();for(let r of i)t[r]=e[r];return t}function d8(e,t){let i=new Set;return new Set(t),e.reduce((r,l)=>{let u=JSON.stringify(f8(l));return i.has(u)||(i.add(u),r.push({key:u,link:l})),r},[])}function nx(){let e=x.useContext(ts);return Km(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function h8(){let e=x.useContext(wc);return Km(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Xm=x.createContext(void 0);Xm.displayName="FrameworkContext";function ax(){let e=x.useContext(Xm);return Km(e,"You must render this element inside a <HydratedRouter> element"),e}function m8(e,t){let i=x.useContext(Xm),[r,l]=x.useState(!1),[u,c]=x.useState(!1),{onFocus:m,onBlur:d,onMouseEnter:p,onMouseLeave:g,onTouchStart:y}=t,S=x.useRef(null);x.useEffect(()=>{if(e==="render"&&c(!0),e==="viewport"){let T=A=>{A.forEach(R=>{c(R.isIntersecting)})},E=new IntersectionObserver(T,{threshold:.5});return S.current&&E.observe(S.current),()=>{E.disconnect()}}},[e]),x.useEffect(()=>{if(r){let T=setTimeout(()=>{c(!0)},100);return()=>{clearTimeout(T)}}},[r]);let C=()=>
12{l(!0)},w=()=>{l(!1),c(!1)};return i?e!=="intent"?[u,S,{}]:[u,S,{onFocus:ll(m,C),onBlur:ll(d,w),onMouseEnter:ll(p,C),onMouseLeave:ll(g,w),onTouchStart:ll(y,C)}]:[!1,S,{}]}function ll(e,t){return i=>{e&&e(i),i.defaultPrevented||t(i)}}function p8({page:e,...t}){let{router:i}=nx(),r=x.useMemo(()=>Hb(i.routes,e,i.basename),[i.routes,e,i.basename]);return r?x.createElement(v8,{page:e,matches:r,...t}):null}function g8(e){let{manifest:t,routeModules:i}=ax(),[r,l]=x.useState([]);return x.useEffect(()=>{let u=!1;return o8(e,t,i).then(c=>{u||l(c)}),()=>{u=!0}},[e,t,i]),r}function v8({page:e,matches:t,...i}){let r=Zt(),{future:l,manifest:u,routeModules:c}=ax(),{basename:m}=nx(),{loaderData:d,matches:p}=h8(),g=x.useMemo(()=>kv(e,t,p,u,r,"data"),[e,t,p,u,r]),y=x.useMemo(()=>kv(e,t,p,u,r,"assets"),[e,t,p,u,r]),S=x.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let T=new Set,E=!1;if(t.forEach(R=>{let N=u.routes[R.route.id];!N||!N.hasLoader||(!g.some(P=>P.route.id===R.route.id)&&R.route.id in d&&c[R.route.id]?.shouldRevalidate||N.hasClientLoader?E=!0:T.add(R.route.id))}),T.size===0)return[];let A=r8(e,m,l.unstable_trailingSlashAwareDataRequests,"data");return E&&T.size>0&&A.searchParams.set("_routes",t.filter(R=>T.has(R.route.id)).map(R=>R.route.id).join(",")),[A.pathname+A.search]},[m,l.unstable_trailingSlashAwareDataRequests,d,r,u,g,t,e,c]),C=x.useMemo(()=>u8(y,u),[y,u]),w=g8(y);return x.createElement(x.Fragment,null,S.map(T=>x.createElement("link",{key:T,rel:"prefetch",as:"fetch",href:T,...i})),C.map(T=>x.createElement("link",{key:T,rel:"modulepreload",href:T,...i})),w.map(({key:T,link:E})=>x.createElement("link",{key:T,nonce:i.nonce,...E,crossOrigin:E.crossOrigin??i.crossOrigin})))}function y8(...e){return t=>{e.forEach(i=>{typeof i=="function"?i(t):i!=null&&(i.current=t)})}}var b8=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{b8&&(window.__reactRouterVersion="7.13.0")}catch{}function x8({basename:e,children:t,unstable_useTransitions:i,window:r}){let l=x.useRef();l.current==null&&(l.current=Q6({window:r,v5Compat:!0}));let u=l.current,[c,m]=x.useState({action:u.action,location:u.location}),d=x.useCallback(p=>{i===!1?m(p):x.startTransition(()=>m(p))},[i]);return x.useLayoutEffect(()=>u.listen(d),[u,d]),x.createElement(Kw,{basename:e,children:t,location:c.location,navigationType:c.action,navigator:u,unstable_useTransitions:i})}var ix=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,rx=x.forwardRef(function({onClick:t,discover:i="render",prefetch:r="none",relative:l,reloadDocument:u,replace:c,state:m,target:d,to:p,preventScrollReset:g,viewTransition:y,unstable_defaultShouldRevalidate:S,...C},w){let{basename:T,unstable_useTransitions:E}=x.useContext(Kn),A=typeof p=="string"&&ix.test(p),R=Yb(p,T);p=R.to;let N=Nw(p,{relative:l}),[P,D,U]=m8(r,C),H=E8(p,{replace:c,state:m,target:d,preventScrollReset:g,relative:l,viewTransition:y,unstable_defaultShouldRevalidate:S,unstable_useTransitions:E});function I(ie){t&&t(ie),ie.defaultPrevented||H(ie)}let L=x.createElement("a",{...C,...U,href:R.absoluteURL||N,onClick:R.isExternal||u?t:I,ref:y8(w,D),target:d,"data-discover":!A&&i==="render"?"true":void 0});return P&&!A?x.createElement(x.Fragment,null,L,x.createElement(p8,{page:N})):L});rx.displayName="Link";var xl=x.forwardRef(function({"aria-current":t="page",caseSensitive:i=!1,className:r="",end:l=!1,style:u,to:c,viewTransition:m,children:d,...p},g){let y=ql(c,{relative:p.relative}
12),S=Zt(),C=x.useContext(wc),{navigator:w,basename:T}=x.useContext(Kn),E=C!=null&&O8(y)&&m===!0,A=w.encodeLocation?w.encodeLocation(y).pathname:y.pathname,R=S.pathname,N=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;i||(R=R.toLowerCase(),N=N?N.toLowerCase():null,A=A.toLowerCase()),N&&T&&(N=$a(N,T)||N);const P=A!=="/"&&A.endsWith("/")?A.length-1:A.length;let D=R===A||!l&&R.startsWith(A)&&R.charAt(P)==="/",U=N!=null&&(N===A||!l&&N.startsWith(A)&&N.charAt(A.length)==="/"),H={isActive:D,isPending:U,isTransitioning:E},I=D?t:void 0,L;typeof r=="function"?L=r(H):L=[r,D?"active":null,U?"pending":null,E?"transitioning":null].filter(Boolean).join(" ");let ie=typeof u=="function"?u(H):u;return x.createElement(rx,{...p,"aria-current":I,className:L,ref:g,style:ie,to:c,viewTransition:m},typeof d=="function"?d(H):d)});xl.displayName="NavLink";var S8=x.forwardRef(({discover:e="render",fetcherKey:t,navigate:i,reloadDocument:r,replace:l,state:u,method:c=ku,action:m,onSubmit:d,relative:p,preventScrollReset:g,viewTransition:y,unstable_defaultShouldRevalidate:S,...C},w)=>{let{unstable_useTransitions:T}=x.useContext(Kn),E=A8(),A=j8(m,{relative:p}),R=c.toLowerCase()==="get"?"get":"post",N=typeof m=="string"&&ix.test(m),P=D=>{if(d&&d(D),D.defaultPrevented)return;D.preventDefault();let U=D.nativeEvent.submitter,H=U?.getAttribute("formmethod")||c,I=()=>E(U||D.currentTarget,{fetcherKey:t,method:H,navigate:i,replace:l,state:u,relative:p,preventScrollReset:g,viewTransition:y,unstable_defaultShouldRevalidate:S});T&&i!==!1?x.startTransition(()=>I()):I()};return x.createElement("form",{ref:w,method:R,action:A,onSubmit:r?d:P,...C,"data-discover":!N&&e==="render"?"true":void 0})});S8.displayName="Form";function w8(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function sx(e){let t=x.useContext(ts);return ut(t,w8(e)),t}function E8(e,{target:t,replace:i,state:r,preventScrollReset:l,relative:u,viewTransition:c,unstable_defaultShouldRevalidate:m,unstable_useTransitions:d}={}){let p=On(),g=Zt(),y=ql(e,{relative:u});return x.useCallback(S=>{if(e8(S,t)){S.preventDefault();let C=i!==void 0?i:Nl(g)===Nl(y),w=()=>p(e,{replace:C,state:r,preventScrollReset:l,relative:u,viewTransition:c,unstable_defaultShouldRevalidate:m});d?x.startTransition(()=>w()):w()}},[g,p,y,i,r,t,e,l,u,c,m,d])}function $L(e){sa(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=x.useRef(Gh(e)),i=x.useRef(!1),r=Zt(),l=x.useMemo(()=>t8(r.search,i.current?null:t.current),[r.search]),u=On(),c=x.useCallback((m,d)=>{const p=Gh(typeof m=="function"?m(new URLSearchParams(l)):m);i.current=!0,u("?"+p,d)},[u,l]);return[l,c]}var T8=0,C8=()=>`__${String(++T8)}__`;function A8(){let{router:e}=sx("useSubmit"),{basename:t}=x.useContext(Kn),i=Iw(),r=e.fetch,l=e.navigate;return x.useCallback(async(u,c={})=>{let{action:m,method:d,encType:p,formData:g,body:y}=i8(u,t);if(c.navigate===!1){let S=c.fetcherKey||C8();await r(S,i,c.action||m,{unstable_defaultShouldRevalidate:c.unstable_defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:g,body:y,formMethod:c.method||d,formEncType:c.encType||p,flushSync:c.flushSync})}else await l(c.action||m,{unstable_defaultShouldRevalidate:c.unstable_defaultShouldRevalidate,preventScrollReset:c.preventScrollReset,formData:g,body:y,formMethod:c.method||d,formEncType:c.encType||p,replace:c.replace,state:c.state,fromRouteId:i,flushSync:c.flushSync,viewTransition:c.viewTransition})},[r,l,t,i])}function j8(e,{relative:t}={}){let{basename:i}=x.useContext(Kn),r=x.useContext(la);ut(r,"useFormAction must be used inside a RouteContext");let[l]=r.matches.slice(-1),u={...ql(e||".",{relative:t})},c=Zt();if(e==null){u.search=c.search;let m=new URLSearchParams(u.search),d=m.getAll("index");if(d.some(g=>g==="")){m.delete("index"),d.filter(y=>y).forEach(y=>m.append("index",y));let g=m.toString();u.search=g?`?${g}`:""}}return(!e||e===".")&&l.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(u.pathname=u.pathname==="/"?i:Fa([i,u.pathname])),Nl(u)}function O8(e,{relative:t}={}){let i=x.useContext(Xb);ut(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=sx("useViewTransitionState"),l=ql(e,{relative:t});if(!i.isTransitioning)return!1;let u=$a(i.currentLocation.pathname,r)||i.currentLocation.pathname,c=$a(i.nextLocation.pathname,r)||i.nextLocation.pathname;return Zu(l.pathname,c)!=null||Zu(l.pathname,u)!=null}var R8=Bb();const Qm=x.createContext({});function Wm(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const lx=typeof window<"u",ox=lx?x.useLayoutEffect:x.useEffect,Cc=x.createContext(null);function Zm(e,t){e.indexOf(t)===-1&&e.push(t)}function Jm(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}const Sa=(e,t,i)=>i>t?t:i<e?e:i;let ep=()=>{};const Ga={},ux=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function cx(e){return typeof e=="object"&&e!==null}const fx=e=>/^0[^.\s]+$/u.test(e);function tp(e){let t;return()=>(t===void 0&&(t=e()),t)}const Gn=e=>e,N8=(e,t)=>i=>t(e(i)),$l=(...e)=>e.reduce(N8),Dl=(e,t,i)=>{const r=t-e;return r===0?1:(i-e)/r};class np{constructor(){this.subscriptions=[]}add(t){return Zm(this.subscriptions,t),()=>Jm(this.subscriptions,t)}notify(t,i,r){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](t,i,r);else for(let u=0;u<l;u++){const c=this.subscriptions[u];c&&c(t,i,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ia=e=>e*1e3,$n=e=>e/1e3;function dx(e,t){return t?e*(1e3/t):0}const hx=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e,D8=1e-7,M8=12;function _8(e,t,i,r,l){let u,c,m=0;do c=t+(i-t)/2,u=hx(c,r,l)-e,u>0?i=c:t=c;while(Math.abs(u)>D8&&++m<M8);return c}function Gl(e,t,i,r){if(e===t&&i===r)return Gn;const l=u=>_8(u,0,1,e,i);return u=>u===0||u===1?u:hx(l(u),t,r)}const mx=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,px=e=>t=>1-e(1-t),gx=Gl(.33,1.53,.69,.99),ap=px(gx),vx=mx(ap),yx=e=>(e*=2)<1?.5*ap(e):.5*(2-Math.pow(2,-10*(e-1))),ip=e=>1-Math.sin(Math.acos(e)),bx=px(ip),xx=mx(ip),L8=Gl(.42,0,1,1),k8=Gl(0,0,.58,1),Sx=Gl(.42,0,.58,1),P8=e=>Array.isArray(e)&&typeof e[0]!="number",wx=e=>Array.isArray(e)&&typeof e[0]=="number",V8={linear:Gn,easeIn:L8,easeInOut:Sx,easeOut:k8,cir
vendor: 114,719 bytes, lines 12-20
12cIn:ip,circInOut:xx,circOut:bx,backIn:ap,backInOut:vx,backOut:gx,anticipate:yx},z8=e=>typeof e=="string",Pv=e=>{if(wx(e)){ep(e.length===4);const[t,i,r,l]=e;return Gl(t,i,r,l)}else if(z8(e))return V8[e];return e},yu=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function U8(e,t){let i=new Set,r=new Set,l=!1,u=!1;const c=new WeakSet;let m={delta:0,timestamp:0,isProcessing:!1};function d(g){c.has(g)&&(p.schedule(g),e()),g(m)}const p={schedule:(g,y=!1,S=!1)=>{const w=S&&l?i:r;return y&&c.add(g),w.has(g)||w.add(g),g},cancel:g=>{r.delete(g),c.delete(g)},process:g=>{if(m=g,l){u=!0;return}l=!0,[i,r]=[r,i],i.forEach(d),i.clear(),l=!1,u&&(u=!1,p.process(g))}};return p}const B8=40;function Ex(e,t){let i=!1,r=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>i=!0,c=yu.reduce((N,P)=>(N[P]=U8(u),N),{}),{setup:m,read:d,resolveKeyframes:p,preUpdate:g,update:y,preRender:S,render:C,postRender:w}=c,T=()=>{const N=Ga.useManualTiming?l.timestamp:performance.now();i=!1,Ga.useManualTiming||(l.delta=r?1e3/60:Math.max(Math.min(N-l.timestamp,B8),1)),l.timestamp=N,l.isProcessing=!0,m.process(l),d.process(l),p.process(l),g.process(l),y.process(l),S.process(l),C.process(l),w.process(l),l.isProcessing=!1,i&&t&&(r=!1,e(T))},E=()=>{i=!0,r=!0,l.isProcessing||e(T)};return{schedule:yu.reduce((N,P)=>{const D=c[P];return N[P]=(U,H=!1,I=!1)=>(i||E(),D.schedule(U,H,I)),N},{}),cancel:N=>{for(let P=0;P<yu.length;P++)c[yu[P]].cancel(N)},state:l,steps:c}}const{schedule:nt,cancel:xi,state:It,steps:eh}=Ex(typeof requestAnimationFrame<"u"?requestAnimationFrame:Gn,!0);let Vu;function H8(){Vu=void 0}const sn={now:()=>(Vu===void 0&&sn.set(It.isProcessing||Ga.useManualTiming?It.timestamp:performance.now()),Vu),set:e=>{Vu=e,queueMicrotask(H8)}},Tx=e=>t=>typeof t=="string"&&t.startsWith(e),Cx=Tx("--"),F8=Tx("var(--"),rp=e=>F8(e)?I8.test(e.split("/*")[0].trim()):!1,I8=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Vv(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const ns={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Ml={...ns,transform:e=>Sa(0,1,e)},bu={...ns,default:1},Tl=e=>Math.round(e*1e5)/1e5,sp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function q8(e){return e==null}const $8=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,lp=(e,t)=>i=>!!(typeof i=="string"&&$8.test(i)&&i.startsWith(e)||t&&!q8(i)&&Object.prototype.hasOwnProperty.call(i,t)),Ax=(e,t,i)=>r=>{if(typeof r!="string")return r;const[l,u,c,m]=r.match(sp);return{[e]:parseFloat(l),[t]:parseFloat(u),[i]:parseFloat(c),alpha:m!==void 0?parseFloat(m):1}},G8=e=>Sa(0,255,e),th={...ns,transform:e=>Math.round(G8(e))},Wi={test:lp("rgb","red"),parse:Ax("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:r=1})=>"rgba("+th.transform(e)+", "+th.transform(t)+", "+th.transform(i)+", "+Tl(Ml.transform(r))+")"};function Y8(e){let t="",i="",r="",l="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),r=e.substring(5,7),l=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),r=e.substring(3,4),l=e.substring(4,5),t+=t,i+=i,r+=r,l+=l),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:l?parseInt(l,16)/255:1}}const Yh={test:lp("#"),parse:Y8,transform:Wi.transform},Yl=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),yi=Yl("deg"),ba=Yl("%"),pe=Yl("px"),K8=Yl("vh"),X8=Yl("vw"),zv={...ba,parse:e=>ba.parse(e)/100,transform:e=>ba.transform(e*100)},Ir={test:lp("hsl","hue"),parse:Ax("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:r=1})=>"hsla("+Math.round(e)+", "+ba.transform(Tl(t))+", "+ba.transform(Tl(i))+", "+Tl(Ml.transform(r))+")"},Ct={test:e=>Wi.test(e)||Yh.test(e)||Ir.test(e),parse:e=>Wi.test(e)?Wi.parse(e):Ir.test(e)?Ir.parse(e):Yh.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Wi.transform(e):Ir.transform(e),getAnimatableNone:e=>{const t=Ct.parse(e);return t.alpha=0,Ct.transform(t)}},Q8=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function W8(e){return isNaN(e)&&typeof e=="string"&&(e.match(sp)?.length||0)+(e.match(Q8)?.length||0)>0}const jx="number",Ox="color",Z8="var",J8="var(",Uv="${}",e7=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function _l(e){const t=e.toString(),i=[],r={color:[],number:[],var:[]},l=[];let u=0;const m=t.replace(e7,d=>(Ct.test(d)?(r.color.push(u),l.push(Ox),i.push(Ct.parse(d))):d.startsWith(J8)?(r.var.push(u),l.push(Z8),i.push(d)):(r.number.push(u),l.push(jx),i.push(parseFloat(d))),++u,Uv)).split(Uv);return{values:i,split:m,indexes:r,types:l}}function Rx(e){return _l(e).values}function Nx(e){const{split:t,types:i}=_l(e),r=t.length;return l=>{let u="";for(let c=0;c<r;c++)if(u+=t[c],l[c]!==void 0){const m=i[c];m===jx?u+=Tl(l[c]):m===Ox?u+=Ct.transform(l[c]):u+=l[c]}return u}}const t7=e=>typeof e=="number"?0:Ct.test(e)?Ct.getAnimatableNone(e):e;function n7(e){const t=Rx(e);return Nx(e)(t.map(t7))}const Si={test:W8,parse:Rx,createTransformer:Nx,getAnimatableNone:n7};function nh(e,t,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?e+(t-e)*6*i:i<1/2?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function a7({hue:e,saturation:t,lightness:i,alpha:r}){e/=360,t/=100,i/=100;let l=0,u=0,c=0;if(!t)l=u=c=i;else{const m=i<.5?i*(1+t):i+t-i*t,d=2*i-m;l=nh(d,m,e+1/3),u=nh(d,m,e),c=nh(d,m,e-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(c*255),alpha:r}}function Ju(e,t){return i=>i>0?t:e}const ot=(e,t,i)=>e+(t-e)*i,ah=(e,t,i)=>{const r=e*e,l=i*(t*t-r)+r;return l<0?0:Math.sqrt(l)},i7=[Yh,Wi,Ir],r7=e=>i7.find(t=>t.test(e));function Bv(e){const t=r7(e);if(!t)return!1;let i=t.parse(e);return t===Ir&&(i=a7(i)),i}const Hv=(e,t)=>{const i=Bv(e),r=Bv(t);if(!i||!r)return Ju(e,t);const l={...i};return u=>(l.red=ah(i.red,r.red,u),l.green=ah(i.green,r.green,u),l.blue=ah(i.blue,r.blue,u),l.alpha=ot(i.alpha,r.alpha,u),Wi.transform(l))},Kh=new Set(["none","hidden"]);function s7(e,t){return Kh.has(e)?i=>i<=0?e:t:i=>i>=1?t:e}function l7(e,t){return i=>ot(e,t,i)}function op(e){return typeof e=="number"?l7:typeof e=="string"?rp(e)?Ju:Ct.test(e)?Hv:c7:Array.isArray(e)?Dx:typeof e=="object"?Ct.test(e)?Hv:o7:Ju}function Dx(e,t){const i=[...e],r=i.length,l=e.map((u,c)=>op(u)(u,t[c]));return u=>{for(let c=0;c<r;c++)i[c]=l[c](u);return i}}function o7(e,t){const i={...e,...t},r={};for(const l in i)e[l]!==void 0&&t[l]!==void 0&&(r[l]=op(e[l])(e[l],t[l]));return l=>{for(const u in r)i[u]=r[u](l);return i}}function u7(e,t){const i=[],r={color:0,var:0,number:0};for(let l=0;l<t.values.length;l++){const u=t.types[l],c=e.indexes[u][r[u]],m=e.values[c]??0;i[l]=m,r[u]++}return i}const c7=(e,t)=>{const i=Si.createTransformer(t),r=_l(e),l=_l(t);return r.indexes.var.length===l.indexes.var.length&&r.indexes.color.length===l.indexes.color.length&&r.indexes.number.length>=l.indexes.number.length?Kh.has(e)&&!l.values.length||Kh.has(t)&&!r.values.length?s7(e,t):$l(Dx(u7(r,l),l.values),i):Ju(e,t)};function Mx(e,t,i){return typeof e=="number"&&typeof t=="number"&&typeof i=="number"?ot(e,t,i):op(e)(e,t)}const f7=e=>{const t=({timestamp:i})=>e(i);return{start:(i=!0)=>nt.update(t,i),stop:()=>xi(t),now:()=>It.isProcessing?It.timestamp:sn.now()}},_x=(e,t,i=10)=>{let r="";const l=Math.max(Math.round(t/i),2);for(let u=0;u<l;u++)r+=Math.round(e(u/(l-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ec=2e4;function up(e){let t=0;const i=50;let r=e.next(t);for(;!r.done&&t<ec;)t+=i,r=e.next(t);return t>=ec?1/0:t}function d7(e,t=100,i){const r=i({...e,keyframes:[0,t]}),l=Math.min(up(r),ec);return{type:"keyframes",ease:u=>r.next(l*u).value/t,duration:$n(l)}}const h7=5;function Lx(e,t,i){const r=Math.max(t-h7,0);return dx(i-e(r),t-r)}const ht={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},ih=.001;function m7({duration:e=ht.duration,bounce:t=ht.bounce,velocity:i=ht.velocity,mass:r=ht.mass}){let l,u,c=1-t;c=Sa(ht.minDamping,ht.maxDamping,c),e=Sa(ht.minDuration,ht.maxDuration,$n(e)),c<1?(l=p=>{const g=p*c,y=g*e,S=g-i,C=Xh(p,c),w=Math.exp(-y);return ih-S/C*w},u=p=>{const y=p*c*e,S=y*i+i,C=Math.pow(c,2)*Math.pow(p,2)*e,w=Math.exp(-y),T=Xh(Math.pow(p,2),c);return(-l(p)+ih>0?-1:1)*((S-C)*w)/T}):(l=p=>{const g=Math.exp(-p*e),y=(p-i)*e+1;return-ih+g*y},u=p=>{const g=Math.exp(-p*e),y=(i-p)*(e*e);return g*y});const m=5/e,d=g7(l,u,m);if(e=Ia(e),isNaN(d))return{stiffness:ht.stiffness,damping:ht.damping,duration:e};{const p=Math.pow(d,2)*r;return{stiffness:p,damping:c*2*Math.sqrt(r*p),duration:e}}}const p7=12;function g7(e,t,i){let r=i;for(let l=1;l<p7;l++)r=r-e(r)/t(r);return r}function Xh(e,t){return e*Math.sqrt(1-t*t)}const v7=["duration","bounce"],y7=["stiffness","damping","mass"];function Fv(e,t){return t.some(i=>e[i]!==void 0)}function b7(e){let t={velocity:ht.velocity,stiffness:ht.stiffness,damping:ht.damping,mass:ht.mass,isResolvedFromDuration:!1,...e};if(!Fv(e,y7)&&Fv(e,v7))if(e.visualDuration){const i=e.visualDuration,r=2*Math.PI/(i*1.2),l=r*r,u=2*Sa(.05,1,1-(e.bounce||0))*Math.sqrt(l);t={...t,mass:ht.mass,stiffness:l,damping:u}}else{const i=m7(e);t={...t,...i,mass:ht.mass},t.isResolvedFromDuration=!0}return t}function tc(e=ht.visualDuration,t=ht.bounce){const i=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:l}=i;const u=i.keyframes[0],c=i.keyframes[i.keyframes.length-1],m={done:!1,value:u},{stiffness:d,damping:p,mass:g,duration:y,velocity:S,isResolvedFromDuration:C}=b7({...i,velocity:-$n(i.velocity||0)}),w=S||0,T=p/(2*Math.sqrt(d*g)),E=c-u,A=$n(Math.sqrt(d/g)),R=Math.abs(E)<5;r||(r=R?ht.restSpeed.granular:ht.restSpeed.default),l||(l=R?ht.restDelta.granular:ht.restDelta.default);let N;if(T<1){const D=Xh(A,T);N=U=>{const H=Math.exp(-T*A*U);return c-H*((w+T*A*E)/D*Math.sin(D*U)+E*Math.cos(D*U))}}else if(T===1)N=D=>c-Math.exp(-A*D)*(E+(w+A*E)*D);else{const D=A*Math.sqrt(T*T-1);N=U=>{const H=Math.exp(-T*A*U),I=Math.min(D*U,300);return c-H*((w+T*A*E)*Math.sinh(I)+D*E*Math.cosh(I))/D}}const P={calculatedDuration:C&&y||null,next:D=>{const U=N(D);if(C)m.done=D>=y;else{let H=D===0?w:0;T<1&&(H=D===0?Ia(w):Lx(N,D,U));const I=Math.abs(H)<=r,L=Math.abs(c-U)<=l;m.done=I&&L}return m.value=m.done?c:U,m},toString:()=>{const D=Math.min(up(P),ec),U=_x(H=>P.next(D*H).value,D,30);return D+"ms "+U},toTransition:()=>{}};return P}tc.applyToOptions=e=>{const t=d7(e,100,tc);return e.ease=t.ease,e.duration=Ia(t.duration),e.type="keyframes",e};function Qh({keyframes:e,velocity:t=0,power:i=.8,timeConstant:r=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:c,min:m,max:d,restDelta:p=.5,restSpeed:g}){const y=e[0],S={done:!1,value:y},C=I=>m!==void 0&&I<m||d!==void 0&&I>d,w=I=>m===void 0?d:d===void 0||Math.abs(m-I)<Math.abs(d-I)?m:d;let T=i*t;const E=y+T,A=c===void 0?E:c(E);A!==E&&(T=A-y);const R=I=>-T*Math.exp(-I/r),N=I=>A+R(I),P=I=>{const L=R(I),ie=N(I);S.done=Math.abs(L)<=p,S.value=S.done?A:ie};let D,U;const H=I=>{C(S.value)&&(D=I,U=tc({keyframes:[S.value,w(S.value)],velocity:Lx(N,I,S.value),damping:l,stiffness:u,restDelta:p,restSpeed:g}))};return H(0),{calculatedDuration:null,next:I=>{let L=!1;return!U&&D===void 0&&(L=!0,P(I),H(I)),D!==void 0&&I>=D?U.next(I-D):(!L&&P(I),S)}}}function x7(e,t,i){const r=[],l=i||Ga.mix||Mx,u=e.length-1;for(let c=0;c<u;c++){let m=l(e[c],e[c+1]);if(t){const d=Array.isArray(t)?t[c]||Gn:t;m=$l(d,m)}r.push(m)}return r}function S7(e,t,{clamp:i=!0,ease:r,mixer:l}={}){const u=e.length;if(ep(u===t.length),u===1)return()=>t[0];if(u===2&&t[0]===t[1])return()=>t[1];const c=e[0]===e[1];e[0]>e[u-1]&&(e=[...e].reverse(),t=[...t].reverse());const m=x7(t,r,l),d=m.length,p=g=>{if(c&&g<e[0])return t[0];let y=0;if(d>1)for(;y<e.length-2&&!(g<e[y+1]);y++);const S=Dl(e[y],e[y+1],g);return m[y](S)};return i?g=>p(Sa(e[0],e[u-1],g)):p}function w7(e,t){const i=e[e.length-1];for(let r=1;r<=t;r++){const l=Dl(0,t,r);e.push(ot(i,1,l))}}function E7(e){const t=[0];return w7(t,e.length-1),t}function T7(e,t){return e.map(i=>i*t)}function C7(e,t){return e.map(()=>t||Sx).splice(0,e.length-1)}function Cl({duration:e=300,keyframes:t,times:i,ease:r="easeInOut"}){const l=P8(r)?r.map(Pv):Pv(r),u={done:!1,value:t[0]},c=T7(i&&i.length===t.length?i:E7(t),e),m=S7(c,t,{ease:Array.isArray(l)?l:C7(t,l)});return{calculatedDuration:e,next:d=>(u.value=m(d),u.done=d>=e,u)}}const A7=e=>e!==null;function cp(e,{repeat:t,repeatType:i="loop"},r,l=1){const u=e.filter(A7),m=l<0||t&&i!=="loop"&&t%2===1?0:u.length-1;return!m||r===void 0?u[m]:r}const j7={decay:Qh,inertia:Qh,tween:Cl,keyframes:Cl,spring:tc};function kx(e){typeof e.type=="string"&&(e.type=j7[e.type])}class fp{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,i){return this.finished.then(t,i)}}const O7=e=>e/100;class dp extends fp{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:i}=this.options;i&&i.updatedAt!==sn.now()&&this.tick(sn.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;kx(t);const{type:i=Cl,repeat:r=0,repeatDelay:l=0,repeatType:u,velocity:c=0}=t;let{keyframes:m}=t;const d=i||Cl;d!==Cl&&typeof m[0]!="number"&&(this.mixKeyframes=$l(O7,Mx(m[0],m[1])),m=[0,100]);const p=d({...t,keyframes:m});u==="mirror"&&(this.mirroredGenerator=d({...t,keyframes:[...m].reverse(),velocity:-c})),p.calculatedDuration===null&&(p.calculatedDuration=up(p));const{calculatedDuration:g}=p;this.calculatedDuration=g,this.resolvedDuration=g+l,this.totalDuration=this.resolvedDuration*(r+1)-l,this.generator=p}updateTime(t){const i=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(t,i=!1){const{generator:r,totalDuration:l,mixKeyframes:u,mirroredGenerator:c,resolvedDuration:m,calculatedDuration:d}=this;if(this.startTime===null)return r.next(0);const{delay:p=0,keyframes:g,repeat:y,repeatType:S,repeatDelay:C,type:w,onUpdate:T,finalKeyframe:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-l/this.speed,this.startTime)),i?this.currentTime=t:this.updateTime(t);const A=this.currentTime-p*(this.playbackSpeed>=0?1:-1),R=this.playbackSpeed>=0?A<0:A>l;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let N=this.currentTime,P=r;if(y){const I=Math.min(this.currentTime,l)/m;let L=Math.floor(I),ie=I%1;!ie&&I>=1&&(ie=1),ie===1&&L--,L=Math.min(L,y+1),!!(L%2)&&(S==="reverse"?(ie=1-ie,C&&(ie-=C/m)):S==="mirror"&&(P=c)),N=Sa(0,1,ie)*m}const D=R?{done:!1,value:g[0]}:P.next(N);u&&(D.value=u(D.value));let{done:U}=D;!R&&d!==null&&(U=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const H=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&U);return H&&w!==Qh&&(D.value=cp(g,this.options,E,this.speed)),T&&T(D.value),H&&this.finish(),D}then(t,i){return this.finished.then(t,i)}get duration(){return $n(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+$n(t)}get time(){return $n(this.currentTime)}set time(t){t=Ia(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(sn.now());const i=this.playbackSpeed!==t;this.playbackSpeed=t,i&&(this.time=$n(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=f7,startTime:i}=this.options;this.driver||(this.driver=t(l=>this.tick(l))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=i??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(sn.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function R7(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Zi=e=>e*180/Math.PI,Wh=e=>{const t=Zi(Math.atan2(e[1],e[0]));return Zh(t)},N7={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Wh,rotateZ:Wh,skewX:e=>Zi(Math.atan(e[1])),skewY:e=>Zi(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Zh=e=>(e=e%360,e<0&&(e+=360),e),Iv=Wh,qv=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),$v=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),D7={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:qv,scaleY:$v,scale:e=>(qv(e)+$v(e))/2,rotateX:e=>Zh(Zi(Math.atan2(e[6],e[5]))),rotateY:e=>Zh(Zi(Math.atan2(-e[2],e[0]))),rotateZ:Iv,rotate:Iv,skewX:e=>Zi(Math.atan(e[4])),skewY:e=>Zi(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Jh(e){return e.includes("scale")?1:0}function em(e,t){if(!e||e==="none")return Jh(t);const i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,l;if(i)r=D7,l=i;else{const m=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=N7,l=m}if(!l)return Jh(t);const u=r[t],c=l[1].split(",").map(_7);return typeof u=="function"?u(c):c[u]}const M7=(e,t)=>{const{transform:i="none"}=getComputedStyle(e);return em(i,t)};function _7(e){return parseFloat(e.trim())}const as=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],is=new Set(as),Gv=e=>e===ns||e===pe,L7=new Set(["x","y","z"]),k7=as.filter(e=>!L7.has(e));function P7(e){const t=[];return k7.forEach(i=>{const r=e.getValue(i);r!==void 0&&(t.push([i,r.get()]),r.set(i.startsWith("scale")?1:0))}),t}const bi={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>em(t,"x"),y:(e,{transform:t})=>em(t,"y")};bi.translateX=bi.x;bi.translateY=bi.y;const tr=new Set;let tm=!1,nm=!1,am=!1;function Px(){if(nm){const e=Array.from(tr).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),i=new Map;t.forEach(r=>{const l=P7(r);l.length&&(i.set(r,l),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const l=i.get(r);l&&l.forEach(([u,c])=>{r.getValue(u)?.set(c)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}nm=!1,tm=!1,tr.forEach(e=>e.complete(am)),tr.clear()}function Vx(){tr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(nm=!0)})}function V7(){am=!0,Vx(),Px(),am=!1}class hp{constructor(t,i,r,l,u,c=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=i,this.name=r,this.motionValue=l,this.element=u,this.isAsync=c}scheduleResolve(){this.state="scheduled",this.isAsync?(tr.add(this),tm||(tm=!0,nt.read(Vx),nt.resolveKeyframes(Px))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:i,element:r,motionValue:l}=this;if(t[0]===null){const u=l?.get(),c=t[t.length-1];if(u!==void 0)t[0]=u;else if(r&&i){const m=r.readValue(i,c);m!=null&&(t[0]=m)}t[0]===void 0&&(t[0]=c),l&&u===void 0&&l.set(t[0])}R7(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tr.delete(this)}cancel(){this.state==="scheduled"&&(tr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const z7=e=>e.startsWith("--");function U7(e,t,i){z7(t)?e.style.setProperty(t,i):e.style[t]=i}const B7=tp(()=>window.ScrollTimeline!==void 0),H7={};function F7(e,t){const i=tp(e);return()=>H7[t]??i()}const zx=F7(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Sl=([e,t,i,r])=>`cubic-bezier(${e}, ${t}, ${i}, ${r})`,Yv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Sl([0,.65,.55,1]),circOut:Sl([.55,0,1,.45]),backIn:Sl([.31,.01,.66,-.59]),backOut:Sl([.33,1.53,.69,.99])};function Ux(e,t){if(e)return typeof e=="function"?zx()?_x(e,t):"ease-out":wx(e)?Sl(e):Array.isArray(e)?e.map(i=>Ux(i,t)||Yv.easeOut):Yv[e]}function I7(e,t,i,{delay:r=0,duration:l=300,repeat:u=0,repeatType:c="loop",ease:m="easeOut",times:d}={},p=void 0){const g={[t]:i};d&&(g.offset=d);const y=Ux(m,l);Array.isArray(y)&&(g.easing=y);const S={delay:r,duration:l,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:u+1,direction:c==="reverse"?"alternate":"normal"};return p&&(S.pseudoElement=p),e.animate(g,S)}function Bx(e){return typeof e=="function"&&"applyToOptions"in e}function q7({type:e,...t}){return Bx(e)&&zx()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class $7 extends fp{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:i,name:r,keyframes:l,pseudoElement:u,allowFlatten:c=!1,finalKeyframe:m,onComplete:d}=t;this.isPseudoElement=!!u,this.allowFlatten=c,this.options=t,ep(typeof t.type!="string");const p=q7(t);this.animation=I7(i,r,l,p,u),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const g=cp(l,this.options,m,this.speed);this.updateMotionValue?this.updateMotionValue(g):U7(i,r,g),this.animation.cancel()}d?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return $n(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+$n(t)}get time(){return $n(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ia(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&B7()?(this.animation.timeline=t,Gn):i(this)}}const Hx={anticipate:yx,backInOut:vx,circInOut:xx};function G7(e){return e in Hx}function Y7(e){typeof e.ease=="string"&&G7(e.ease)&&(e.ease=Hx[e.ease])}const rh=10;class K7 extends $7{constructor(t){Y7(t),kx(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:i,onUpdate:r,onComplete:l,element:u,...c}=this.options;if(!i)return;if(t!==void 0){i.set(t);return}const m=new dp({...c,autoplay:!1}),d=Math.max(rh,sn.now()-this.startTime),p=Sa(0,rh,d-rh);i.setWithVelocity(m.sample(Math.max(0,d-p)).value,m.sample(d).value,p),m.stop()}}const Kv=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Si.test(e)||e==="0")&&!e.startsWith("url("));function X7(e){const t=e[0];if(e.length===1)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}function Q7(e,t,i,r){const l=e[0];if(l===null)return!1;if(t==="display"||t==="visibility")return!0;const u=e[e.length-1],c=Kv(l,t),m=Kv(u,t);return!c||!m?!1:X7(e)||(i==="spring"||Bx(i))&&r}function im(e){e.duration=0,e.type="keyframes"}const W7=new Set(["opacity","clipPath","filter","transform"]),Z7=tp(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function J7(e){const{motionValue:t,name:i,repeatDelay:r,repeatType:l,damping:u,type:c}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:d,transformTemplate:p}=t.owner.getProps();return Z7()&&i&&W7.has(i)&&(i!=="transform"||!p)&&!d&&!r&&l!=="mirror"&&u!==0&&c!=="inertia"}const eE=40;class tE extends fp{constructor({autoplay:t=!0,delay:i=0,type:r="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:c="loop",keyframes:m,name:d,motionValue:p,element:g,...y}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=sn.now();const S={autoplay:t,delay:i,type:r,repeat:l,repeatDelay:u,repeatType:c,name:d,motionValue:p,element:g,...y},C=g?.KeyframeResolver||hp;this.keyframeResolver=new C(m,(w,T,E)=>this.onKeyframesResolved(w,T,S,!E),d,p,g),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,i,r,l){this.keyframeResolver=void 0;const{name:u,type:c,velocity:m,delay:d,isHandoff:p,onUpdate:g}=r;this.resolvedAt=sn.now(),Q7(t,u,c,m)||((Ga.instantAnimations||!d)&&g?.(cp(t,r,i)),t[0]=t[t.length-1],im(r),r.repeat=0);const S={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>eE?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...r,keyframes:t},C=!p&&J7(S),w=S.motionValue?.owner?.current,T=C?new K7({...S,element:w}):new dp(S);T.finished.then(()=>{this.notifyFinished()}).catch(Gn),this.pendingTimeline&&(this.stopTimeline=T.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=T}get finished(){return this._animation?this.animation.finished:this._finished}then(t,i){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),V7()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Fx(e,t,i,r=0,l=1){const u=Array.from(e).sort((p,g)=>p.sortNodePosition(g)).indexOf(t),c=e.size,m=(c-1)*r;return typeof i=="function"?i(u,c):l===1?u*r:m-u*r}const nE=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function aE(e){const t=nE.exec(e);if(!t)return[,];const[,i,r,l]=t;return[`--${i??r}`,l]}function Ix(e,t,i=1){const[r,l]=aE(e);if(!r)return;const u=window.getComputedStyle(t).getPropertyValue(r);if(u){const c=u.trim();return ux(c)?parseFloat(c):c}return rp(l)?Ix(l,t,i+1):l}const iE={type:"spring",stiffness:500,damping:25,restSpeed:10},rE=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),sE={type:"keyframes",duration:.8},lE={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},oE=(e,{keyframes:t})=>t.length>2?sE:is.has(e)?e.startsWith("scale")?rE(t[1]):iE:lE,uE=e=>e!==null;function cE(e,{repeat:t,repeatType:i="loop"},r){const l=e.filter(uE),u=t&&i!=="loop"&&t%2===1?0:l.length-1;return l[u]}function mp(e,t){return e?.[t]??e?.default??e}function fE({when:e,delay:t,delayChildren:i,staggerChildren:r,staggerDirection:l,repeat:u,repeatType:c,repeatDelay:m,from:d,elapsed:p,...g}){return!!Object.keys(g).length}const pp=(e,t,i,r={},l,u)=>c=>{const m=mp(r,e)||{},d=m.delay||r.delay||0;let{elapsed:p=0}=r;p=p-Ia(d);const g={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...m,delay:-p,onUpdate:S=>{t.set(S),m.onUpdate&&m.onUpdate(S)},onComplete:()=>{c(),m.onComplete&&m.onComplete()},name:e,motionValue:t,element:u?void 0:l};fE(m)||Object.assign(g,oE(e,g)),g.duration&&(g.duration=Ia(g.duration)),g.repeatDelay&&(g.repeatDelay=Ia(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let y=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(im(g),g.delay===0&&(y=!0)),(Ga.instantAnimations||Ga.skipAnimations)&&(y=!0,im(g),g.delay=0),g.allowFlatten=!m.type&&!m.ease,y&&!u&&t.get()!==void 0){const S=cE(g.keyframes,m);if(S!==void 0){nt.update(()=>{g.onUpdate(S),g.onComplete()});return}}return m.isSync?new dp(g):new tE(g)};function Xv(e){const t=[{},{}];return e?.values.forEach((i,r)=>{t[0][r]=i.get(),t[1][r]=i.getVelocity()}),t}function gp(e,t,i,r){if(typeof t=="function"){const[l,u]=Xv(r);t=t(i!==void 0?i:e.custom,l,u)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[l,u]=Xv(r);t=t(i!==void 0?i:e.custom,l,u)}return t}function Yr(e,t,i){const r=e.getProps();return gp(r,t,i!==void 0?i:r.custom,e)}const qx=new Set(["width","height","top","left","right","bottom",...as]),Qv=30,dE=e=>!isNaN(parseFloat(e)),Wv={current:void 0};class hE{constructor(t,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const l=sn.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=i.owner}setCurrent(t){this.current=t,this.updatedAt=sn.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=dE(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,i){this.events[t]||(this.events[t]=new np);const r=this.events[t].add(i);return t==="change"?()=>{r(),nt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,i){this.passiveEffect=t,this.stopPassiveEffect=i}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,i,r){this.set(i),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,i=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return Wv.current&&Wv.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=sn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Qv)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,Qv);return dx(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(t){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=t(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Wr(e,t){return new hE(e,t)}const rm=e=>Array.isArray(e);function mE(e,t,i){e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,Wr(i))}function pE(e){return rm(e)?e[e.length-1]||0:e}function gE(e,t){const i=Yr(e,t);let{transitionEnd:r={},transition:l={},...u}=i||{};u={...u,...r};for(const c in u){const m=pE(u[c]);mE(e,c,m)}}const Wt=e=>!!(e&&e.getVelocity);function vE(e){return!!(Wt(e)&&e.add)}function sm(e,t){const i=e.getValue("willChange");if(vE(i))return i.add(t);if(!i&&Ga.WillChange){const r=new Ga.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function vp(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const yE="framerAppearId",$x="data-"+vp(yE);function Gx(e){return e.props[$x]}function bE({protectedKeys:e,needsAnimating:t},i){const r=e.hasOwnProperty(i)&&t[i]!==!0;return t[i]=!1,r}function Yx(e,t,{delay:i=0,transitionOverride:r,type:l}={}){let{transition:u=e.getDefaultTransition(),transitionEnd:c,...m}=t;const d=u?.reduceMotion;r&&(u=r);const p=[],g=l&&e.animationState&&e.animationState.getState()[l];for(const y in m){const S=e.getValue(y,e.latestValues[y]??null),C=m[y];if(C===void 0||g&&bE(g,y))continue;const w={delay:i,...mp(u||{},y)},T=S.get();if(T!==void 0&&!S.isAnimating&&!Array.isArray(C)&&C===T&&!w.velocity)continue;let E=!1;if(window.MotionHandoffAnimation){const N=Gx(e);if(N){const P=window.MotionHandoffAnimation(N,y,nt);P!==null&&(w.startTime=P,E=!0)}}sm(e,y);const A=d??e.shouldReduceMotion;S.start(pp(y,S,C,A&&qx.has(y)?{type:!1}:w,e,E));const R=S.animation;R&&p.push(R)}return c&&Promise.all(p).then(()=>{nt.update(()=>{c&&gE(e,c)})}),p}function lm(e,t,i={}){const r=Yr(e,t,i.type==="exit"?e.presenceContext?.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(l=i.transitionOverride);const u=r?()=>Promise.all(Yx(e,r,i)):()=>Promise.resolve(),c=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:p=0,staggerChildren:g,staggerDirection:y}=l;return xE(e,t,d,p,g,y,i)}:()=>Promise.resolve(),{when:m}=l;if(m){const[d,p]=m==="beforeChildren"?[u,c]:[c,u];return d().then(()=>p())}else return Promise.all([u(),c(i.delay)])}function xE(e,t,i=0,r=0,l=0,u=1,c){const m=[];for(const d of e.variantChildren)d.notify("AnimationStart",t),m.push(lm(d,t,{...c,delay:i+(typeof r=="function"?0:r)+Fx(e.variantChildren,d,r,l,u)}).then(()=>d.notify("AnimationComplete",t)));return Promise.all(m)}function SE(e,t,i={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const l=t.map(u=>lm(e,u,i));r=Promise.all(l)}else if(typeof t=="string")r=lm(e,t,i);else{const l=typeof t=="function"?Yr(e,t,i.custom):t;r=Promise.all(Yx(e,l,i))}return r.then(()=>{e.notify("AnimationComplete",t)})}const wE={test:e=>e==="auto",parse:e=>e},Kx=e=>t=>t.test(e),Xx=[ns,pe,ba,yi,X8,K8,wE],Zv=e=>Xx.find(Kx(e));function EE(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||fx(e):!0}const TE=new Set(["brightness","contrast","saturate","opacity"]);function CE(e){const[t,i]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=i.match(sp)||[];if(!r)return e;const l=i.replace(r,"");let u=TE.has(t)?1:0;return r!==i&&(u*=100),t+"("+u+l+")"}const AE=/\b([a-z-]*)\(.*?\)/gu,om={...Si,getAnimatableNone:e=>{const t=e.match(AE);return t?t.map(CE).join(" "):e}},Jv={...ns,transform:Math.round},jE={rotate:yi,rotateX:yi,rotateY:yi,rotateZ:yi,scale:bu,scaleX:bu,scaleY:bu,scaleZ:bu,skew:yi,skewX:yi,skewY:yi,distance:pe,translateX:pe,translateY:pe,translateZ:pe,x:pe,y:pe,z:pe,perspective:pe,transformPerspective:pe,opacity:Ml,originX:zv,originY:zv,originZ:pe},yp={borderWidth:pe,borderTopWidth:pe,borderRightWidth:pe,borderBottomWidth:pe,borderLeftWidth:pe,borderRadius:pe,borderTopLeftRadius:pe,borderTopRightRadius:pe,borderBottomRightRadius:pe,borderBottomLeftRadius:pe,width:pe,maxWidth:pe,height:pe,maxHeight:pe,top:pe,right:pe,bottom:pe,left:pe,inset:pe,insetBlock:pe,insetBlockStart:pe,insetBlockEnd:pe,insetInline:pe,insetInlineStart:pe,insetInlineEnd:pe,padding:pe,paddingTop:pe,paddingRight:pe,paddingBottom:pe,paddingLeft:pe,paddingBlock:pe,paddingBlockStart:pe,paddingBlockEnd:pe,paddingInline:pe,paddingInlineStart:pe,paddingInlineEnd:pe,margin:pe,marginTop:pe,marginRight:pe,marginBottom:pe,marginLeft:pe,marginBlock:pe,marginBlockStart:pe,marginBlockEnd:pe,marginInline:pe,marginInlineStart:pe,marginInlineEnd:pe,fontSize:pe,backgroundPositionX:pe,backgroundPositionY:pe,...jE,zIndex:Jv,fillOpacity:Ml,strokeOpacity:Ml,numOctaves:Jv},OE={...yp,color:Ct,backgroundColor:Ct,outlineColor:Ct,fill:Ct,stroke:Ct,borderColor:Ct,borderTopColor:Ct,borderRightColor:Ct,borderBottomColor:Ct,borderLeftColor:Ct,filter:om,WebkitFilter:om},Qx=e=>OE[e];function Wx(e,t){let i=Qx(e);return i!==om&&(i=Si),i.getAnimatableNone?i.getAnimatableNone(t):void 0}const RE=new Set(["auto","none","0"]);function NE(e,t,i){let r=0,l;for(;r<e.length&&!l;){const u=e[r];typeof u=="string"&&!RE.has(u)&&_l(u).values.length&&(l=e[r]),r++}if(l&&i)for(const u of t)e[u]=Wx(i,l)}class DE extends hp{constructor(t,i,r,l,u){super(t,i,r,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:i,name:r}=this;if(!i||!i.current)return;super.readKeyframes();for(let g=0;g<t.length;g++){let y=t[g];if(typeof y=="string"&&(y=y.trim(),rp(y))){const S=Ix(y,i.current);S!==void 0&&(t[g]=S),g===t.length-1&&(this.finalKeyframe=y)}}if(this.resolveNoneKeyframes(),!qx.has(r)||t.length!==2)return;const[l,u]=t,c=Zv(l),m=Zv(u),d=Vv(l),p=Vv(u);if(d!==p&&bi[r]){this.needsMeasurement=!0;return}if(c!==m)if(Gv(c)&&Gv(m))for(let g=0;g<t.length;g++){const y=t[g];typeof y=="string"&&(t[g]=parseFloat(y))}else bi[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:i}=this,r=[];for(let l=0;l<t.length;l++)(t[l]===null||EE(t[l]))&&r.push(l);r.length&&NE(t,r,i)}measureInitialState(){const{element:t,unresolvedKeyframes:i,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=bi[r](t.measureViewportBox(),window.getComputedStyle(t.current)),i[0]=this.measuredOrigin;const l=i[i.length-1];l!==void 0&&t.getValue(r,l).jump(l,!1)}measureEndState(){const{element:t,name:i,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const l=t.getValue(i);l&&l.jump(this.measuredOrigin,!1);const u=r.length-1,c=r[u];r[u]=bi[i](t.measureViewportBox(),window.getComputedStyle(t.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),this.removedTransforms?.length&&this.removedTransforms.forEach(([m,d])=>{t.getValue(m).set(d)}),this.resolveNoneKeyframes()}}function ME(e,t,i){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);const l=i?.[e]??r.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e).filter(r=>r!=null)}const Zx=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function um(e){return cx(e)&&"offsetHeight"in e}const{schedule:bp}=Ex(queueMicrotask,!1),na={x:!1,y:!1};function Jx(){return na.x||na.y}function _E(e){return e==="x"||e==="y"?na[e]?null:(na[e]=!0,()=>{na[e]=!1}):na.x||na.y?null:(na.x=na.y=!0,()=>{na.x=na.y=!1})}function e4(e,t){const i=ME(e),r=new AbortController,l={passive:!0,...t,signal:r.signal};return[i,l,()=>r.abort()]}function ey(e){return!(e.pointerType==="touch"||Jx())}function LE(e,t,i={}){const[r,l,u]=e4(e,i),c=m=>{if(!ey(m))return;const{target:d}=m,p=t(d,m);if(typeof p!="function"||!d)return;const g=y=>{ey(y)&&(p(y),d.removeEventListener("pointerleave",g))};d.addEventListener("pointerleave",g,l)};return r.forEach(m=>{m.addEventListener("pointerenter",c,l)}),u}const t4=(e,t)=>t?e===t?!0:t4(e,t.parentElement):!1,xp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,kE=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function n4(e){return kE.has(e.tagName)||e.isContentEditable===!0}const zu=new WeakSet;function ty(e){return t=>{t.key==="Enter"&&e(t)}}function sh(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const PE=(e,t)=>{const i=e.currentTarget;if(!i)return;const r=ty(()=>{if(zu.has(i))return;sh(i,"down");const l=ty(()=>{sh(i,"up")}),u=()=>sh(i,"cancel");i.addEventListener("keyup",l,t),i.addEventListener("blur",u,t)});i.addEventListener("keydown",r,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),t)};function ny(e){return xp(e)&&!Jx()}function VE(e,t,i={}){const[r,l,u]=e4(e,i),c=m=>{const d=m.currentTarget;if(!ny(m))return;zu.add(d);const p=t(d,m),g=(C,w)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",S),zu.has(d)&&zu.delete(d),ny(C)&&typeof p=="function"&&p(C,{success:w})},y=C=>{g(C,d===window||d===document||i.useGlobalTarget||t4(d,C.target))},S=C=>{g(C,!1)};window.addEventListener("pointerup",y,l),window.addEventListener("pointercancel",S,l)};return r.forEach(m=>{(i.useGlobalTarget?window:m).addEventListener("pointerdown",c,l),um(m)&&(m.addEventListener("focus",p=>PE(p,l)),!n4(m)&&!m.hasAttribute("tabindex")&&(m.tabIndex=0))}),u}function a4(e){return cx(e)&&"ownerSVGElement"in e}function zE(e){return a4(e)&&e.tagName==="svg"}const UE=[...Xx,Ct,Si],BE=e=>UE.find(Kx(e)),ay=()=>({translate:0,scale:1,origin:0,originPoint:0}),qr=()=>({x:ay(),y:ay()}),iy=()=>({min:0,max:0}),Nt=()=>({x:iy(),y:iy()}),nc={current:null},Sp={current:!1},HE=typeof window<"u";function i4(){if(Sp.current=!0,!!HE)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>nc.current=e.matches;e.addEventListener("change",t),t()}else nc.current=!1}const FE=new WeakMap;function Ac(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ll(e){return typeof e=="string"||Array.isArray(e)}const wp=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ep=["initial",...wp];function jc(e){return Ac(e.animate)||Ep.some(t=>Ll(e[t]))}function r4(e){return!!(jc(e)||e.variants)}function IE(e,t,i){for(const r in t){const l=t[r],u=i[r];if(Wt(l))e.addValue(r,l);else if(Wt(u))e.addValue(r,Wr(l,{owner:e}));else if(u!==l)if(e.hasValue(r)){const c=e.getValue(r);c.liveStyle===!0?c.jump(l):c.hasAnimated||c.set(l)}else{const c=e.getStaticValue(r);e.addValue(r,Wr(c!==void 0?c:l,{owner:e}))}}for(const r in i)t[r]===void 0&&e.removeValue(r);return t}const ry=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let ac={};function s4(e){ac=e}function qE(){return ac}class $E{scrapeMotionValuesFromProps(t,i,r){return{}}constructor({parent:t,props:i,presenceContext:r,reducedMotionConfig:l,blockInitialAnimation:u,visualState:c},m={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=hp,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const S=sn.now();this.renderScheduledAt<S&&(this.renderScheduledAt=S,nt.render(this.render,!1,!0))};const{latestValues:d,renderState:p}=c;this.latestValues=d,this.baseTarget={...d},this.initialValues=i.initial?{...d}:{},this.renderState=p,this.parent=t,this.props=i,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=l,this.options=m,this.blockInitialAnimation=!!u,this.isControllingVariants=jc(i),this.isVariantNode=r4(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:g,...y}=this.scrapeMotionValuesFromProps(i,{},this);for(const S in y){const C=y[S];d[S]!==void 0&&Wt(C)&&C.set(d[S])}}mount(t){this.current=t,FE.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,r)=>this.bindToMotionValue(r,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Sp.current||i4(),this.shouldReduceMotion=nc.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),xi(this.notifyUpdate),xi(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const i=this.features[t];i&&(i.unmount(),i.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,i){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=is.has(t);r&&this.onBindTransform&&this.onBindTransform();const l=i.on("change",c=>{this.latestValues[t]=c,this.props.onUpdate&&nt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;typeof window<"u"&&window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,t,i)),this.valueSubscriptions.set(t,()=>{l(),u&&u(),i.owner&&i.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in ac){const i=ac[t];if(!i)continue;const{isEnabled:r,Feature:l}=i;if(!this.features[t]&&l&&r(this.props)&&(this.features[t]=new l(this)),this.features[t]){const u=this.features[t];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Nt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,i){this.latestValues[t]=i}update(t,i){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let r=0;r<ry.length;r++){const l=ry[r];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const u="on"+l,c=t[u];c&&(this.propEventSubscriptions[l]=this.on(l,c))}this.prevMotionValues=IE(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(t),()=>i.variantChildren.delete(t)}addValue(t,i){const r=this.values.get(t);i!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,i),this.values.set(t,i),this.latestValues[t]=i.get())}removeValue(t){this.values.delete(t);const i=this.valueSubscriptions.get(t);i&&(i(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,i){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&i!==void 0&&(r=Wr(i===null?void 0:i,{owner:this}),this.addValue(t,r)),r}readValue(t,i){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(ux(r)||fx(r))?r=parseFloat(r):!BE(r)&&Si.test(i)&&(r=Wx(t,i)),this.setBaseTarget(t,Wt(r)?r.get():r)),Wt(r)?r.get():r}setBaseTarget(t,i){this.baseTarget[t]=i}getBaseTarget(t){const{initial:i}=this.props;let r;if(typeof i=="string"||typeof i=="object"){const u=gp(this.props,i,this.presenceContext?.custom);u&&(r=u[t])}if(i&&r!==void 0)return r;const l=this.getBaseTargetFromProps(this.props,t);return l!==void 0&&!Wt(l)?l:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,i){return this.events[t]||(this.events[t]=new np),this.events[t].add(i)}notify(t,...i){this.events[t]&&this.events[t].notify(...i)}scheduleRenderMicrotask(){bp.render(this.render)}}class l4 extends $E{constructor(){super(...arguments),this.KeyframeResolver=DE}sortInstanceNodePosition(t,i){return t.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(t,i){const r=t.style;return r?r[i]:void 0}removeValueFromRenderState(t,{vars:i,style:r}){delete i[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Wt(t)&&(this.childSubscription=t.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}class wi{constructor(t){this.isMounted=!1,this.node=t}update(){}}function o4({top:e,left:t,right:i,bottom:r}){return{x:{min:t,max:i},y:{min:e,max:r}}}function GE({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function YE(e,t){if(!t)return e;const i=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}function lh(e){return e===void 0||e===1}function cm({scale:e,scaleX:t,scaleY:i}){return!lh(e)||!lh(t)||!lh(i)}function Qi(e){return cm(e)||u4(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function u4(e){return sy(e.x)||sy(e.y)}function sy(e){return e&&e!=="0%"}function ic(e,t,i){const r=e-i,l=t*r;return i+l}function ly(e,t,i,r,l){return l!==void 0&&(e=ic(e,l,r)),ic(e,i,r)+t}function fm(e,t=0,i=1,r,l){e.min=ly(e.min,t,i,r,l),e.max=ly(e.max,t,i,r,l)}function c4(e,{x:t,y:i}){fm(e.x,t.translate,t.scale,t.originPoint),fm(e.y,i.translate,i.scale,i.originPoint)}const oy=.999999999999,uy=1.0000000000001;function KE(e,t,i,r=!1){const l=i.length;if(!l)return;t.x=t.y=1;let u,c;for(let m=0;m<l;m++){u=i[m],c=u.projectionDelta;const{visualElement:d}=u.options;d&&d.props.style&&d.props.style.display==="contents"||(r&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Gr(e,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),c&&(t.x*=c.x.scale,t.y*=c.y.scale,c4(e,c)),r&&Qi(u.latestValues)&&Gr(e,u.latestValues))}t.x<uy&&t.x>oy&&(t.x=1),t.y<uy&&t.y>oy&&(t.y=1)}function $r(e,t){e.min=e.min+t,e.max=e.max+t}function cy(e,t,i,r,l=.5){const u=ot(e.min,e.max,l);fm(e,t,i,u,r)}function Gr(e,t){cy(e.x,t.x,t.scaleX,t.scale,t.originX),cy(e.y,t.y,t.scaleY,t.scale,t.originY)}function f4(e,t){return o4(YE(e.getBoundingClientRect(),t))}function XE(e,t,i){const r=f4(e,i),{scroll:l}=t;return l&&($r(r.x,l.offset.x),$r(r.y,l.offset.y)),r}const QE={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},WE=as.length;function ZE(e,t,i){let r="",l=!0;for(let u=0;u<WE;u++){const c=as[u],m=e[c];if(m===void 0)continue;let d=!0;if(typeof m=="number")d=m===(c.startsWith("scale")?1:0);else{const p=parseFloat(m);d=c.startsWith("scale")?p===1:p===0}if(!d||i){const p=Zx(m,yp[c]);if(!d){l=!1;const g=QE[c]||c;r+=`${g}(${p}) `}i&&(t[c]=p)}}return r=r.trim(),i?r=i(t,l?"":r):l&&(r="none"),r}function Tp(e,t,i){const{style:r,vars:l,transformOrigin:u}=e;let c=!1,m=!1;for(const d in t){const p=t[d];if(is.has(d)){c=!0;continue}else if(Cx(d)){l[d]=p;continue}else{const g=Zx(p,yp[d]);d.startsWith("origin")?(m=!0,u[d]=g):r[d]=g}}if(t.transform||(c||i?r.transform=ZE(t,e.transform,i):r.transform&&(r.transform="none")),m){const{originX:d="50%",originY:p="50%",originZ:g=0}=u;r.transformOrigin=`${d} ${p} ${g}`}}function d4(e,{style:t,vars:i},r,l){const u=e.style;let c;for(c in t)u[c]=t[c];l?.applyProjectionStyles(u,r);for(c in i)u.setProperty(c,i[c])}function fy(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ol={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(pe.test(e))e=parseFloat(e);else return e;const i=fy(e,t.target.x),r=fy(e,t.target.y);return`${i}% ${r}%`}},JE={correct:(e,{treeScale:t,projectionDelta:i})=>{const r=e,l=Si.parse(e);if(l.length>5)return r;const u=Si.createTransformer(e),c=typeof l[0]!="number"?1:0,m=i.x.scale*t.x,d=i.y.scale*t.y;l[0+c]/=m,l[1+c]/=d;const p=ot(m,d,.5);return typeof l[2+c]=="number"&&(l[2+c]/=p),typeof l[3+c]=="number"&&(l[3+c]/=p),u(l)}},dm={borderRadius:{...ol,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ol,borderTopRightRadius:ol,borderBottomLeftRadius:ol,borderBottomRightRadius:ol,boxShadow:JE};function h4(e,{layout:t,layoutId:i}){return is.has(e)||e.startsWith("origin")||(t||i!==void 0)&&(!!dm[e]||e==="opacity")}function Cp(e,t,i){const r=e.style,l=t?.style,u={};if(!r)return u;for(const c in r)(Wt(r[c])||l&&Wt(l[c])||h4(c,e)||i?.getValue(c)?.liveStyle!==void 0)&&(u[c]=r[c]);return u}function eT(e){return window.getComputedStyle(e)}class tT extends l4{constructor(){super(...arguments),this.type="html",this.renderInstance=d4}readValueFromInstance(t,i){if(is.has(i))return this.projection?.isProjecting?Jh(i):M7(t,i);{const r=eT(t),l=(Cx(i)?r.getPropertyValue(i):r[i])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(t,{transformPagePoint:i}){return f4(t,i)}build(t,i,r){Tp(t,i,r.transformTemplate)}scrapeMotionValuesFromProps(t,i,r){return Cp(t,i,r)}}const nT={offset:"stroke-dashoffset",array:"stroke-dasharray"},aT={offset:"strokeDashoffset",array:"strokeDasharray"};function iT(e,t,i=1,r=0,l=!0){e.pathLength=1;const u=l?nT:aT;e[u.offset]=`${-r}`,e[u.array]=`${t} ${i}`}const rT=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function m4(e,{attrX:t,attrY:i,attrScale:r,pathLength:l,pathSpacing:u=1,pathOffset:c=0,...m},d,p,g){if(Tp(e,m,p),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:y,style:S}=e;y.transform&&(S.transform=y.transform,delete y.transform),(S.transform||y.transformOrigin)&&(S.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),S.transform&&(S.transformBox=g?.transformBox??"fill-box",delete y.transformBox);for(const C of rT)y[C]!==void 0&&(S[C]=y[C],delete y[C]);t!==void 0&&(y.x=t),i!==void 0&&(y.y=i),r!==void 0&&(y.scale=r),l!==void 0&&iT(y,l,u,c,!1)}const p4=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),g4=e=>typeof e=="string"&&e.toLowerCase()==="svg";function sT(e,t,i,r){d4(e,t,void 0,r);for(const l in t.attrs)e.setAttribute(p4.has(l)?l:vp(l),t.attrs[l])}function v4(e,t,i){const r=Cp(e,t,i);for(const l in e)if(Wt(e[l])||Wt(t[l])){const u=as.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;r[u]=e[l]}return r}class lT extends l4{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Nt}getBaseTargetFromProps(t,i){return t[i]}readValueFromInstance(t,i){if(is.has(i)){const r=Qx(i);return r&&r.default||0}return i=p4.has(i)?i:vp(i),t.getAttribute(i)}scrapeMotionValuesFromProps(t,i,r){return v4(t,i,r)}build(t,i,r){m4(t,i,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,i,r,l){sT(t,i,r,l)}mount(t){this.isSVGTag=g4(t.tagName),super.mount(t)}}const oT=Ep.length;function y4(e){if(!e)return;if(!e.isControllingVariants){const i=e.parent?y4(e.parent)||{}:{};return e.props.initial!==void 0&&(i.initial=e.props.initial),i}const t={};for(let i=0;i<oT;i++){const r=Ep[i],l=e.props[r];(Ll(l)||l===!1)&&(t[r]=l)}return t}function b4(e,t){if(!Array.isArray(t))return!1;const i=t.length;if(i!==e.length)return!1;for(let r=0;r<i;r++)if(t[r]!==e[r])return!1;return!0}const uT=[...wp].reverse(),cT=wp.length;function fT(e){return t=>Promise.all(t.map(({animation:i,options:r})=>SE(e,i,r)))}function dT(e){let t=fT(e),i=dy(),r=!0;const l=d=>(p,g)=>{const y=Yr(e,g,d==="exit"?e.presenceContext?.custom:void 0);if(y){const{transition:S,transitionEnd:C,...w}=y;p={...p,...w,...C}}return p};function u(d){t=d(e)}function c(d){const{props:p}=e,g=y4(e.parent)||{},y=[],S=new Set;let C={},w=1/0;for(let E=0;E<cT;E++){const A=uT[E],R=i[A],N=p[A]!==void 0?p[A]:g[A],P=Ll(N),D=A===d?R.isActive:null;D===!1&&(w=E);let U=N===g[A]&&N!==p[A]&&P;if(U&&r&&e.manuallyAnimateOnMount&&(U=!1),R.protectedKeys={...C},!R.isActive&&D===null||!N&&!R.prevProp||Ac(N)||typeof N=="boolean")continue;const H=hT(R.prevProp,N);let I=H||A===d&&R.isActive&&!U&&P||E>w&&P,L=!1;const ie=Array.isArray(N)?N:[N];let ce=ie.reduce(l(A),{});D===!1&&(ce={});const{prevResolvedValues:ne={}}=R,oe={...ne,...ce},fe=ae=>{I=!0,S.has(ae)&&(L=!0,S.delete(ae)),R.needsAnimating[ae]=!0;const ee=e.getValue(ae);ee&&(ee.liveStyle=!1)};for(const ae in oe){const ee=ce[ae],W=ne[ae];if(C.hasOwnProperty(ae))continue;let O=!1;rm(ee)&&rm(W)?O=!b4(ee,W):O=ee!==W,O?ee!=null?fe(ae):S.add(ae):ee!==void 0&&S.has(ae)?fe(ae):R.protectedKeys[ae]=!0}R.prevProp=N,R.prevResolvedValues=ce,R.isActive&&(C={...C,...ce}),r&&e.blockInitialAnimation&&(I=!1);const X=U&&H;I&&(!X||L)&&y.push(...ie.map(ae=>{const ee={type:A};if(typeof ae=="string"&&r&&!X&&e.manuallyAnimateOnMount&&e.parent){const{parent:W}=e,O=Yr(W,ae);if(W.enteringChildren&&O){const{delayChildren:z}=O.transition||{};ee.delay=Fx(W.enteringChildren,e,z)}}return{animation:ae,options:ee}}))}if(S.size){const E={};if(typeof p.initial!="boolean"){const A=Yr(e,Array.isArray(p.initial)?p.initial[0]:p.initial);A&&A.transition&&(E.transition=A.transition)}S.forEach(A=>{const R=e.getBaseTarget(A),N=e.getValue(A);N&&(N.liveStyle=!0),E[A]=R??null}),y.push({animation:E})}let T=!!y.length;return r&&(p.initial===!1||p.initial===p.animate)&&!e.manuallyAnimateOnMount&&(T=!1),r=!1,T?t(y):Promise.resolve()}function m(d,p){if(i[d].isActive===p)return Promise.resolve();e.variantChildren?.forEach(y=>y.animationState?.setActive(d,p)),i[d].isActive=p;const g=c(d);for(const y in i)i[y].protectedKeys={};return g}return{animateChanges:c,setActive:m,setAnimateFunction:u,getState:()=>i,reset:()=>{i=dy()}}}function hT(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!b4(t,e):!1}function Gi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function dy(){return{animate:Gi(!0),whileInView:Gi(),whileHover:Gi(),whileTap:Gi(),whileDrag:Gi(),whileFocus:Gi(),exit:Gi()}}function hy(e,t){e.min=t.min,e.max=t.max}function ta(e,t){hy(e.x,t.x),hy(e.y,t.y)}function my(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const x4=1e-4,mT=1-x4,pT=1+x4,S4=.01,gT=0-S4,vT=0+S4;function ln(e){return e.max-e.min}function yT(e,t,i){return Math.abs(e-t)<=i}function py(e,t,i,r=.5){e.origin=r,e.originPoint=ot(t.min,t.max,e.origin),e.scale=ln(i)/ln(t),e.translate=ot(i.min,i.max,e.origin)-e.originPoint,(e.scale>=mT&&e.scale<=pT||isNaN(e.scale))&&(e.scale=1),(e.translate>=gT&&e.translate<=vT||isNaN(e.translate))&&(e.translate=0)}function Al(e,t,i,r){py(e.x,t.x,i.x,r?r.originX:void 0),py(e.y,t.y,i.y,r?r.originY:void 0)}function gy(e,t,i){e.min=i.min+t.min,e.max=e.min+ln(t)}function bT(e,t,i){gy(e.x,t.x,i.x),gy(e.y,t.y,i.y)}function vy(e,t,i){e.min=t.min-i.min,e.max=e.min+ln(t)}function rc(e,t,i){vy(e.x,t.x,i.x),vy(e.y,t.y,i.y)}function yy(e,t,i,r,l){return e-=t,e=ic(e,1/i,r),l!==void 0&&(e=ic(e,1/l,r)),e}function xT(e,t=0,i=1,r=.5,l,u=e,c=e){if(ba.test(t)&&(t=parseFloat(t),t=ot(c.min,c.max,t/100)-c.min),typeof t!="number")return;let m=ot(u.min,u.max,r);e===u&&(m-=t),e.min=yy(e.min,t,i,m,l),e.max=yy(e.max,t,i,m,l)}function by(e,t,[i,r,l],u,c){xT(e,t[i],t[r],t[l],t.scale,u,c)}const ST=["x","scaleX","originX"],wT=["y","scaleY","originY"];function xy(e,t,i,r){by(e.x,t,ST,i?i.x:void 0,r?r.x:void 0),by(e.y,t,wT,i?i.y:void 0,r?r.y:void 0)}function Sy(e){return e.translate===0&&e.scale===1}function w4(e){return Sy(e.x)&&Sy(e.y)}function wy(e,t){return e.min===t.min&&e.max===t.max}function ET(e,t){return wy(e.x,t.x)&&wy(e.y,t.y)}function Ey(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function E4(e,t){return Ey(e.x,t.x)&&Ey(e.y,t.y)}function Ty(e){return ln(e.x)/ln(e.y)}function Cy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function In(e){return[e("x"),e("y")]}function TT(e,t,i){let r="";const l=e.x.translate/t.x,u=e.y.translate/t.y,c=i?.z||0;if((l||u||c)&&(r=`translate3d(${l}px, ${u}px, ${c}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),i){const{transformPerspective:p,rotate:g,rotateX:y,rotateY:S,skewX:C,skewY:w}=i;p&&(r=`perspective(${p}px) ${r}`),g&&(r+=`rotate(${g}deg) `),y&&(r+=`rotateX(${y}deg) `),S&&(r+=`rotateY(${S}deg) `),C&&(r+=`skewX(${C}deg) `),w&&(r+=`skewY(${w}deg) `)}const m=e.x.scale*t.x,d=e.y.scale*t.y;return(m!==1||d!==1)&&(r+=`scale(${m}, ${d})`),r||"none"}const T4=["TopLeft","TopRight","BottomLeft","BottomRight"],CT=T4.length,Ay=e=>typeof e=="string"?parseFloat(e):e,jy=e=>typeof e=="number"||pe.test(e);function AT(e,t,i,r,l,u){l?(e.opacity=ot(0,i.opacity??1,jT(r)),e.opacityExit=ot(t.opacity??1,0,OT(r))):u&&(e.opacity=ot(t.opacity??1,i.opacity??1,r));for(let c=0;c<CT;c++){const m=`border${T4[c]}Radius`;let d=Oy(t,m),p=Oy(i,m);if(d===void 0&&p===void 0)continue;d||(d=0),p||(p=0),d===0||p===0||jy(d)===jy(p)?(e[m]=Math.max(ot(Ay(d),Ay(p),r),0),(ba.test(p)||ba.test(d))&&(e[m]+="%")):e[m]=p}(t.rotate||i.rotate)&&(e.rotate=ot(t.rotate||0,i.rotate||0,r))}function Oy(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const jT=C4(0,.5,bx),OT=C4(.5,.95,Gn);function C4(e,t,i){return r=>r<e?0:r>t?1:i(Dl(e,t,r))}function RT(e,t,i){const r=Wt(e)?e:Wr(e);return r.start(pp("",r,t,i)),r.animation}function kl(e,t,i,r={passive:!0}){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i)}const NT=(e,t)=>e.depth-t.depth;class DT{constructor(){this.children=[],this.isDirty=!1}add(t){Zm(this.children,t),this.isDirty=!0}remove(t){Jm(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(NT),this.isDirty=!1,this.children.forEach(t)}}function MT(e,t){const i=sn.now(),r=({timestamp:l})=>{const u=l-i;u>=t&&(xi(r),e(u-t))};return nt.setup(r,!0),()=>xi(r)}function Uu(e){return Wt(e)?e.get():e}class _T{constructor(){this.members=[]}add(t){Zm(this.members,t),t.scheduleRender()}remove(t){if(Jm(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(t){const i=this.members.findIndex(l=>t===l);if(i===0)return!1;let r;for(let l=i;l>=0;l--){const u=this.members[l];if(u.isPresent!==!1){r=u;break}}return r?(this.promote(r),!0):!1}promote(t,i){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender();const l=r.options.layoutDependency,u=t.options.layoutDependency;l!==void 0&&u!==void 0&&l===u||(t.resumeFrom=r,i&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0));const{crossfade:m}=t.options;m===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:i,resumingFrom:r}=t;i.onExitComplete&&i.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Bu={hasAnimatedSinceResize:!0,hasEverUpdated:!1},oh=["","X","Y","Z"],LT=1e3;let kT=0;function uh(e,t,i,r){const{latestValues:l}=t;l[e]&&(i[e]=l[e],t.setStaticValue(e,0),r&&(r[e]=0))}function A4(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const i=Gx(t);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:l,layoutId:u}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",nt,!(l||u))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&A4(r)}function j4({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:r,resetTransform:l}){return class{constructor(c={},m=t?.()){this.id=kT++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(zT),this.nodes.forEach(FT),this.nodes.forEach(IT),this.nodes.forEach(UT)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=m?m.root||m:this,this.path=m?[...m.path,m]:[],this.parent=m,this.depth=m?m.depth+1:0;for(let d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new DT)}addEventListener(c,m){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new np),this.eventHandlers.get(c).add(m)}notifyListeners(c,...m){const d=this.eventHandlers.get(c);d&&d.notify(...m)}hasListeners(c){return this.eventHandlers.has(c)}mount(c){if(this.instance)return;this.isSVG=a4(c)&&!zE(c),this.instance=c;const{layoutId:m,layout:d,visualElement:p}=this.options;if(p&&!p.current&&p.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(d||m)&&(this.isLayoutDirty=!0),e){let g,y=0;const S=()=>this.root.updateBlockedByResize=!1;nt.read(()=>{y=window.innerWidth}),e(c,()=>{const C=window.innerWidth;C!==y&&(y=C,this.root.updateBlockedByResize=!0,g&&g(),g=MT(S,250),Bu.hasAnimatedSinceResize&&(Bu.hasAnimatedSinceResize=!1,this.nodes.forEach(Dy)))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&p&&(m||d)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:y,hasRelativeLayoutChanged:S,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const w=this.options.transition||p.getDefaultTransition()||KT,{onLayoutAnimationStart:T,onLayoutAnimationComplete:E}=p.getProps(),A=!this.targetLayout||!E4(this.targetLayout,C),R=!y&&S;if(this.options.layoutRoot||this.resumeFrom||R||y&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const N={...mp(w,"layout"),onPlay:T,onComplete:E};(p.shouldReduceMotion||this.options.layoutRoot)&&(N.delay=0,N.type=!1),this.startAnimation(N),this.setAnimationOrigin(g,R)}else y||Dy(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),xi(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(qT),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&A4(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const y=this.path[g];y.shouldResetTransform=!0,y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:m,layout:d}=this.options;if(m===void 0&&!d)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ry);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Ny);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(HT),this.nodes.forEach(PT),this.nodes.forEach(VT)):this.nodes.forEach(Ny),this.clearAllSnapshots();const m=sn.now();It.delta=Sa(0,1e3/60,m-It.timestamp),It.timestamp=m,It.isProcessing=!0,eh.update.process(It),eh.preRender.process(It),eh.render.process(It),It.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,bp.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(BT),this.sharedNodes.forEach($T)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,nt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){nt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ln(this.snapshot.measuredBox.x)&&!ln(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let d=0;d<this.path.length;d++)this.path[d].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Nt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:m}=this.options;m&&m.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let m=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(m=!1),m&&this.instance){const d=r(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:d,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:d}}}resetTransform(){if(!l)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,m=this.projectionDelta&&!w4(this.projectionDelta),d=this.getTransformTemplate(),p=d?d(this.latestValues,""):void 0,g=p!==this.prevTransformTemplateValue;c&&this.instance&&(m||Qi(this.latestValues)||g)&&(l(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const m=this.measurePageBox();let d=this.removeElementScroll(m);return c&&(d=this.removeTransform(d)),XT(d),{animationId:this.root.animationId,measuredBox:m,layoutBox:d,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:c}=this.options;if(!c)return Nt();const m=c.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(QT))){const{scroll:p}=this.root;p&&($r(m.x,p.offset.x),$r(m.y,p.offset.y))}return m}removeElementScroll(c){const m=Nt();if(ta(m,c),this.scroll?.wasRoot)return m;for(let d=0;d<this.path.length;d++){const p=this.path[d],{scroll:g,options:y}=p;p!==this.root&&g&&y.layoutScroll&&(g.wasRoot&&ta(m,c),$r(m.x,g.offset.x),$r(m.y,g.offset.y))}return m}applyTransform(c,m=!1){const d=Nt();ta(d,c);for(let p=0;p<this.path.length;p++){const g=this.path[p];!m&&g.options.layoutScroll&&g.scroll&&g!==g.root&&Gr(d,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),Qi(g.latestValues)&&Gr(d,g.latestValues)}return Qi(this.latestValues)&&Gr(d,this.latestValues),d}removeTransform(c){const m=Nt();ta(m,c);for(let d=0;d<this.path.length;d++){const p=this.path[d];if(!p.instance||!Qi(p.latestValues))continue;cm(p.latestValues)&&p.updateSnapshot();const g=Nt(),y=p.measurePageBox();ta(g,y),xy(m,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,g)}return Qi(this.latestValues)&&xy(m,this.latestValues),m}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==It.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const d=!!this.resumingFrom||this!==m;if(!(c||d&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:y}=this.options;if(!this.layout||!(g||y))return;this.resolvedRelativeTargetAt=It.timestamp;const S=this.getClosestProjectingParent();S&&this.linkedParentVersion!==S.layoutVersion&&!S.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(S&&S.layout?this.createRelativeTarget(S,this.layout.layoutBox,S.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Nt(),this.targetWithTransforms=Nt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),bT(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ta(this.target,this.layout.layoutBox),c4(this.target,this.targetDelta)):ta(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?this.createRelativeTarget(S,this.target,S.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||cm(this.parent.latestValues)||u4(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(c,m,d){this.relativeParent=c,this.linkedParentVersion=c.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Nt(),this.relativeTargetOrigin=Nt(),rc(this.relativeTargetOrigin,m,d),ta(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const c=this.getLead(),m=!!this.resumingFrom||this!==c;let d=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(d=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(d=!1),this.resolvedRelativeTargetAt===It.timestamp&&(d=!1),d)return;const{layout:p,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||g))return;ta(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,S=this.treeScale.y;KE(this.layoutCorrected,this.treeScale,this.path,m),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=Nt());const{target:C}=c;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(my(this.prevProjectionDelta.x,this.projectionDelta.x),my(this.prevProjectionDelta.y,this.projectionDelta.y)),Al(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==S||!Cy(this.projectionDelta.x,this.prevProjectionDelta.x)||!Cy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){if(this.options.visualElement?.scheduleRender(),c){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=qr(),this.projectionDelta=qr(),this.projectionDeltaWithTransform=qr()}setAnimationOrigin(c,m=!1){const d=this.snapshot,p=d?d.latestValues:{},g={...this.latestValues},y=qr();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!m;const S=Nt(),C=d?d.source:void 0,w=this.layout?this.layout.source:void 0,T=C!==w,E=this.getStack(),A=!E||E.members.length<=1,R=!!(T&&!A&&this.options.crossfade===!0&&!this.path.some(YT));this.animationProgress=0;let N;this.mixTargetDelta=P=>{const D=P/1e3;My(y.x,c.x,D),My(y.y,c.y,D),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(rc(S,this.layout.layoutBox,this.relativeParent.layout.layoutBox),GT(this.relativeTarget,this.relativeTargetOrigin,S,D),N&&ET(this.relativeTarget,N)&&(this.isProjectionDirty=!1),N||(N=Nt()),ta(N,this.relativeTarget)),T&&(this.animationValues=g,AT(g,p,this.latestValues,D,R,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=D},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(xi(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nt.update(()=>{Bu.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Wr(0)),this.currentAnimation=RT(this.motionValue,[0,1e3],{...c,velocity:0,isSync:!0,onUpdate:m=>{this.mixTargetDelta(m),c.onUpdate&&c.onUpdate(m)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(LT),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:m,target:d,layout:p,latestValues:g}=c;if(!(!m||!d||!p)){if(this!==c&&this.layout&&p&&O4(this.options.animationType,this.layout.layoutBox,p.layoutBox)){d=this.target||Nt();const y=ln(this.layout.layoutBox.x);d.x.min=c.target.x.min,d.x.max=d.x.min+y;const S=ln(this.layout.layoutBox.y);d.y.min=c.target.y.min,d.y.max=d.y.min+S}ta(m,d),Gr(m,g),Al(this.projectionDeltaWithTransform,this.layoutCorrected,m,g)}}registerSharedNode(c,m){this.sharedNodes.has(c)||this.sharedNodes.set(c,new _T),this.sharedNodes.get(c).add(m);const p=m.options.initialPromotionConfig;m.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(m):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){const{layoutId:c}=this.options;return c?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:c}=this.options;return c?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:m,preserveFollowOpacity:d}={}){const p=this.getStack();p&&p.promote(this,d),c&&(this.projectionDelta=void 0,this.needsReset=!0),m&&this.setOptions({transition:m})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let m=!1;const{latestValues:d}=c;if((d.z||d.rotate||d.rotateX||d.rotateY||d.rotateZ||d.skewX||d.skewY)&&(m=!0),!m)return;const p={};d.z&&uh("z",c,p,this.animationValues);for(let g=0;g<oh.length;g++)uh(`rotate${oh[g]}`,c,p,this.animationValues),uh(`skew${oh[g]}`,c,p,this.animationValues);c.render();for(const g in p)c.setStaticValue(g,p[g]),this.animationValues&&(this.animationValues[g]=p[g]);c.scheduleRender()}applyProjectionStyles(c,m){if(!this.instance||this.isSVG)return;if(!this.isVisible){c.visibility="hidden";return}const d=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,c.visibility="",c.opacity="",c.pointerEvents=Uu(m?.pointerEvents)||"",c.transform=d?d(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(c.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,c.pointerEvents=Uu(m?.pointerEvents)||""),this.hasProjected&&!Qi(this.latestValues)&&(c.transform=d?d({},""):"none",this.hasProjected=!1);return}c.visibility="";const g=p.animationValues||p.latestValues;this.applyTransformsToTarget();let y=TT(this.projectionDeltaWithTransform,this.treeScale,g);d&&(y=d(g,y)),c.transform=y;const{x:S,y:C}=this.projectionDelta;c.transformOrigin=`${S.origin*100}% ${C.origin*100}% 0`,p.animationValues?c.opacity=p===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:c.opacity=p===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const w in dm){if(g[w]===void 0)continue;const{correct:T,applyTo:E,isCSSVariable:A}=dm[w],R=y==="none"?g[w]:T(g[w],p);if(E){const N=E.length;for(let P=0;P<N;P++)c[E[P]]=R}else A?this.options.visualElement.renderState.vars[w]=R:c[w]=R}this.options.layoutId&&(c.pointerEvents=p===this?Uu(m?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>c.currentAnimation?.stop()),this.root.nodes.forEach(Ry),this.root.sharedNodes.clear()}}}function PT(e){e.updateLayout()}function VT(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:i,measuredBox:r}=e.layout,{animationType:l}=e.options,u=t.source!==e.layout.source;l==="size"?In(g=>{const y=u?t.measuredBox[g]:t.layoutBox[g],S=ln(y);y.min=i[g].min,y.max=y.min+S}):O4(l,t.layoutBox,i)&&In(g=>{const y=u?t.measuredBox[g]:t.layoutBox[g],S=ln(i[g]);y.max=y.min+S,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+S)});const c=qr();Al(c,i,t.layoutBox);const m=qr();u?Al(m,e.applyTransform(r,!0),t.measuredBox):Al(m,i,t.layoutBox);const d=!w4(c);let p=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:y,layout:S}=g;if(y&&S){const C=Nt();rc(C,t.layoutBox,y.layoutBox);const w=Nt();rc(w,i,S.layoutBox),E4(C,w)||(p=!0),g.options.layoutRoot&&(e.relativeTarget=w,e.relativeTargetOrigin=C,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:m,layoutDelta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:p})}else if(e.isLead()){const{onExitComplete:i}=e.options;i&&i()}e.options.transition=void 0}function zT(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function UT(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function BT(e){e.clearSnapshot()}function Ry(e){e.clearMeasurements()}function Ny(e){e.isLayoutDirty=!1}function HT(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Dy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function FT(e){e.resolveTargetDelta()}function IT(e){e.calcProjection()}function qT(e){e.resetSkewAndRotation()}function $T(e){e.removeLeadSnapshot()}function My(e,t,i){e.translate=ot(t.translate,0,i),e.scale=ot(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function _y(e,t,i,r){e.min=ot(t.min,i.min,r),e.max=ot(t.max,i.max,r)}function GT(e,t,i,r){_y(e.x,t.x,i.x,r),_y(e.y,t.y,i.y,r)}function YT(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const KT={duration:.45,ease:[.4,0,.1,1]},Ly=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ky=Ly("applewebkit/")&&!Ly("chrome/")?Math.round:Gn;function Py(e){e.min=ky(e.min),e.max=ky(e.max)}function XT(e){Py(e.x),Py(e.y)}function O4(e,t,i){return e==="position"||e==="preserve-aspect"&&!yT(Ty(t),Ty(i),.2)}function QT(e){return e!==e.root&&e.scroll?.wasRoot}const WT=j4({attachResizeListener:(e,t)=>kl(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ch={current:void 0},R4=j4({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ch.current){const e=new WT({});e.mount(window),e.setOptions({layoutScroll:!0}),ch.current=e}return ch.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Ap=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Vy(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ZT(...e){return t=>{let i=!1;const r=e.map(l=>{const u=Vy(l,t);return!i&&typeof u=="function"&&(i=!0),u});if(i)return()=>{for(let l=0;l<r.length;l++){const u=r[l];typeof u=="function"?u():Vy(e[l],null)}}}}function JT(...e){return x.useCallback(ZT(...e),e)}class e9 extends x.Component{getSnapshotBeforeUpdate(t){const i=this.props.childRef.current;if(i&&t.isPresent&&!this.props.isPresent){const r=i.offsetParent,l=um(r)&&r.offsetWidth||0,u=um(r)&&r.offsetHeight||0,c=this.props.sizeRef.current;c.height=i.offsetHeight||0,c.width=i.offsetWidth||0,c.top=i.offsetTop,c.left=i.offsetLeft,c.right=l-c.width-c.left,c.bottom=u-c.height-c.top}return null}componentDidUpdate(){}render(){return this.props.children}}function t9({children:e,isPresent:t,anchorX:i,anchorY:r,root:l}){const u=x.useId(),c=x.useRef(null),m=x.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:d}=x.useContext(Ap),p=e.props?.ref??e?.ref,g=JT(c,p);return x.useInsertionEffect(()=>{const{width:y,height:S,top:C,left:w,right:T,bottom:E}=m.current;if(t||!c.current||!y||!S)return;const A=i==="left"?`left: ${w}`:`right: ${T}`,R=r==="bottom"?`bottom: ${E}`:`top: ${C}`;c.current.dataset.motionPopId=u;const N=document.createElement("style");d&&(N.nonce=d);const P=l??document.head;return P.appendChild(N),N.sheet&&N.sheet.insertRule(` 13 [data-motion-pop-id="${u}"] { 14 position: absolute !important; 15 width: ${y}px !important; 16 height: ${S}px !important; 17 ${A}px !important; 18 ${R}px !important; 19 } 20 `),()=>{P.contains(N)&&P.removeChild(N)}},[t]),h.jsx(e9,{isPresent:t,childRef:c,sizeRef:m,children:x.cloneElement(e,{ref:g})})}const n9=({children:e,initial:t,isPresent:i,onExitComplete:r,custom:l,presenceAffectsLayout:u,mode:c,anchorX:m,anchorY:d,root:p})=>{const g=Wm(a9),y=x.useId();let S=!0,C=x.useMemo(()=>(S=!1,{id:y,initial:t,isPresent:i,custom:l,onExitComplete:w=>{g.set(w,!0);for(const T of g.values())if(!T)return;r&&r()},register:w=>(g.set(w,!1),()=>g.delete(w))}),[i,g,r]);return u&&S&&(C={...C}),x.useMemo(()=>{g.forEach((w,T)=>g.set(T,!1))},[i]),x.useEffect(()=>{!i&&!g.size&&r&&r()},[i]),c==="popLayout"&&(e=h.jsx(t9,{isPresent:i,anchorX:m,anchorY:d,root:p,children:e})),h.jsx(Cc.Provider,{value:C,children:e})};function a9(){return new Map}function N4(e=!0){const t=x.useContext(Cc);if(t===null)return[!0,null];const{isPresent:i,onExitComplete:r,register:l}=t,u=x.useId();x.useEffect(()=>{if(e)return l(u)},[e]);const c=x.useCallback(()=>e&&r&&r(u),[u,r,e]);return!i&&r?[!1,c]:[!0]}const xu=e=>e.key||"";function zy(e){const t=[];return x.Children.forEach(e,i=>{x.isValidElement(i)&&t.push(i)}),t}const i9=({children:e,custom:t,initial:i=!0,onExitComplete:r,presenceAffectsLayout:l=!0,mode:u="sync",propagate:c=!1,anchorX:m="left",anchorY:d="top",root:p})=>{const[g,y]=N4(c),S=x.useMemo(()=>zy(e),[e]),C=c&&!g?[]:S.map(xu),w=x.useRef(!0),T=x.useRef(S),E=Wm(()=>new Map),A=x.useRef(new Set),[R,N]=x.useState(S),[P,D]=x.useState(S);ox(()=>{w.current=!1,T.current=S;for(let I=0;I<P.length;I++){const L=xu(P[I]);C.includes(L)?(E.delete(L),A.current.delete(L)):E.get(L)!==!0&&E.set(L,!1)}},[P,C.length,C.join("-")]);const U=[];if(S!==R){let I=[...S];for(let L=0;L<P.length;L++){const ie=P[L],ce=xu(ie);C.includes(ce)||(I.splice(L,0,ie),U.push(ie))}return u==="wait"&&U.length&&(I=U),D(zy(I)),N(S),null}const{forceRender:H}=x.useContext(Qm);return h.jsx(h.Fragment,{children:P.map(I=>{const L=xu(I),ie=c&&!g?!1:S===P||C.includes(L),ce=()=>{if(A.current.has(L))return;if(A.current.add(L),E.has(L))E.set(L,!0);else return;let ne=!0;E.forEach(oe=>{oe||(ne=!1)}),ne&&(H?.(),D(T.current),c&&y?.(),r&&r())};return h.jsx(n9,{isPresent:ie,initial:!w.current||i?void 0:!1,custom:t,presenceAffectsLayout:l,mode:u,root:p,onExitComplete:ie?void 0:ce,anchorX:m,anchorY:d,children:I},L)})})},D4=x.createContext({strict:!1}),Uy={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let By=!1;function r9(){if(By)return;const e={};for(const t in Uy)e[t]={isEnabled:i=>Uy[t].some(r=>!!i[r])};s4(e),By=!0}function M4(){return r9(),qE()}function s9(e){const t=M4();for(const i in e)t[i]={...t[i],...e[i]};s4(t)}const l9=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function sc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||l9.has(e)}let _4=e=>!sc(e);function o9(e){typeof e=="function"&&(_4=t=>t.startsWith("on")?!sc(t):e(t))}try{o9(require("@emotion/is-prop-valid").default)}catch{}function u9(e,t,i){const r={};for(const l in e)l==="values"&&typeof e.values=="object"||(_4(l)||i===!0&&sc(l)||!t&&!sc(l)||e.draggable&&l.startsWith("onDrag"))&&(r[l]=e[l]);return r}const Oc=x.createContext({});function c9(e,t){if(jc(e)){const{initial:i,animate:r}=e;return{initial:i===!1||Ll(i)?i:void 0,animate:Ll(r)?r:void 0}}return e.inherit!==!1?t:{}}function f9(e){const{initial:t,animate:i}=c9(e,x.useContext(Oc));return x.useMemo(()=>({initial:t,animate:i}),[Hy(t),Hy(i)])}function Hy(e){return Array.isArray(e)?e.join(" "):e}const jp=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function L4(e,t,i){for(const r in t)!Wt(t[r])&&!h4(r,i)&&(e[r]=t[r])}function d9({transformTemplate:e},t){return x.useMemo(()=>{const i=jp();return Tp(i,t,e),Object.assign({},i.vars,i.style)},[t])}function h9(e,t){const i=e.style||{},r={};return L4(r,i,e),Object.assign(r,d9(e,t)),r}function m9(e,t){const i={},r=h9(e,t);return e.drag&&e.dragListener!==!1&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=r,i}const k4=()=>({...jp(),attrs:{}});function p9(e,t,i,r){const l=x.useMemo(()=>{const u=k4();return m4(u,t,g4(r),e.transformTemplate,e.style),{...u.attrs,style:{...u.style}}},[t]);if(e.style){const u={};L4(u,e.style,e),l.style={...u,...l.style}}return l}const g9=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Op(e){return typeof e!="string"||e.includes("-")?!1:!!(g9.indexOf(e)>-1||/[A-Z]/u.test(e))}function v9(e,t,i,{latestValues:r},l,u=!1,c){const d=(c??Op(e)?p9:m9)(t,r,l,e),p=u9(t,typeof e=="string",u),g=e!==x.Fragment?{...p,...d,ref:i}:{},{children:y}=t,S=x.useMemo(()=>Wt(y)?y.get():y,[y]);return x.createElement(e,{...g,children:S})}function y9({scrapeMotionValuesFromProps:e,createRenderState:t},i,r,l){return{latestValues:b9(i,r,l,e),renderState:t()}}function b9(e,t,i,r){const l={},u=r(e,{});for(const S in u)l[S]=Uu(u[S]);let{initial:c,animate:m}=e;const d=jc(e),p=r4(e);t&&p&&!d&&e.inherit!==!1&&(c===void 0&&(c=t.initial),m===void 0&&(m=t.animate));let g=i?i.initial===!1:!1;g=g||c===!1;const y=g?m:c;if(y&&typeof y!="boolean"&&!Ac(y)){const S=Array.isArray(y)?y:[y];for(let C=0;C<S.length;C++){const w=gp(e,S[C]);if(w){const{transitionEnd:T,transition:E,...A}=w;for(const R in A){let N=A[R];if(Array.isArray(N)){const P=g?N.length-1:0;N=N[P]}N!==null&&(l[R]=N)}for(const R in T)l[R]=T[R]}}}return l}const P4=e=>(t,i)=>{const r=x.useContext(Oc),l=x.useContext(Cc),u=()=>y9(e,t,r,l);return i?u():Wm(u)},x9=P4({scrapeMotionValuesFromProps:Cp,createRenderState:jp}),S9=P4({scrapeMotionValuesFromProps:v4,createRenderState:k4}),w9=Symbol.for("motionComponentSymbol");function E9(e,t,i){const r=x.useRef(i);x.useInsertionEffect(()=>{r.current=i});const l=x.useRef(null);return x.useCallback(u=>{u&&e.onMount?.(u),t&&(u?t.mount(u):t.unmount());const c=r.current;if(typeof c=="function")if(u){const m=c(u);typeof m=="function"&&(l.current=m)}else l.current?(l.current(),l.current=null):c(u);else c&&(c.current=u)},[t])}const V4=x.createContext({});function wl(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function T9(e,t,i,r,l,u){const{visualElement:c}=x.useContext(Oc),m=x.useContext(D4),d=x.useContext(Cc),p=x.useContext(Ap).reducedMotion,g=x.useRef(null),y=x.useRef(!1);r=r||m.renderer,!g.current&&r&&(g.current=r(e,{visualState:t,parent:c,props:i,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:p,isSVG:u}),y.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));const S=g.current,C=x.useContext(V4);S&&!S.projection&&l&&(S.type==="html"||S.type==="svg")&&C9(g.current,i,l,C);const w=x.useRef(!1);x.useInsertionEffect(()=>{S&&w.current&&S.update(i,d)});const T=i[$x],E=x.useRef(!!T&&!window.MotionHandoffIsComplete?.(T)&&window.MotionHasOptimisedAnimation?.(T));return ox(()=>{y.current=!0,S&&(w.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),E.current&&S.animationState&&S.animationState.animateChanges())}),x.useEffect(()=>{S&&(!E.current&&S.animationState&&S.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(T)}),E.current=!1),S.enteringChildren=void 0)}),S}function C9(e,t,i,r){const{layoutId:l,layout:u,drag:c,dragConstraints:m,layoutScroll:d,layoutRoot:p,layoutCrossfade:g}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:z4(e.parent)),e.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!c||m&&wl(m),visualElement:e,animationType:typeof u=="string"?u:"both",initialPromotionConfig:r,crossfade:g,layoutScroll:d,layoutRoot:p})}function z4(e){if(e)return e.options.allowProjection!==!1?e.projection:z4(e.parent)}function fh(e,{forwardMotionProps:t=!1,type:i}={},r,l){r&&s9(r);const u=i?i==="svg":Op(e),c=u?S9:x9;function m(p,g){let y;const S={...x.useContext(Ap),...p,layoutId:A9(p)},{isStatic:C}=S,w=f9(p),T=c(p,C);if(!C&&lx){j9();const E=O9(S);y=E.MeasureLayout,w.visualElement=T9(e,T,S,l,E.ProjectionNode,u)}return h.jsxs(Oc.Provider,{value:w,children:[y&&w.visualElement?h.jsx(y,{visualElement:w.visualElement,...S}):null,v9(e,p,E9(T,w.visualElement,g),T,C,t,u)]})}m.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const d=x.forwardRef(m);return d[w9]=e,d}function A9({layoutId:e}){const t=x.useContext(Qm).id;return t&&e!==void 0?t+"-"+e:e}function j9(e,t){x.useContext(D4).strict}function O9(e){const t=M4(),{drag:i,layout:r}=t;if(!i&&!r)return{};const l={...i,...r};return{MeasureLayout:i?.isEnabled(e)||r?.isEnabled(e)?l.MeasureLayout:void 0,ProjectionNode:l.ProjectionNode}}function R9(e,t){if(typeof Proxy>"u")return fh;const i=new Map,r=(u,c)=>fh(u,c,e,t),l=(u,c)=>r(u,c);return new Proxy(l,{get:(u,c)=>c==="create"?r:(i.has(c)||i.set(c,fh(c,void 0,e,t)),i.get(c))})}const N9=(e,t)=>t.isSVG??Op(e)?new lT(t):new tT(t,{allowProjection:e!==x.Fragment});class D9 extends wi{constructor(t){super(t),t.animationState||(t.animationState=dT(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ac(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:i}=this.node.prevProps||{};t!==i&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let M9=0;class _9 extends wi{constructor(){super(...arguments),this.id=M9++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:i}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const l=this.node.animationState.setActive("exit",!t);i&&!t&&l.then(()=>{i(this.id)})}mount(){const{register:t,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const L9={animation:{Feature:D9},exit:{Feature:_9}};function Kl(e){return{point:{x:e.pageX,y:e.pageY}}}const k9=e=>t=>xp(t)&&e(t,Kl(t));function jl(e,t,i,r){return kl(e,t,k9(i),r)}const U4=({current:e})=>e?e.ownerDocument.defaultView:null,Fy=(e,t)=>Math.abs(e-t);function P9(e,t){const i=Fy(e.x,t.x),r=Fy(e.y,t.y);return Math.sqrt(i**2+r**2)}const Iy=new Set(["auto","scroll"]);class B4{constructor(t,i,{transformPagePoint:r,contextWindow:l=window,dragSnapToOrigin:u=!1,distanceThreshold:c=3,element:m}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=C=>{this.handleScroll(C.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=hh(this.lastMoveEventInfo,this.history),w=this.startEvent!==null,T=P9(C.offset,{x:0,y:0})>=this.distanceThreshold;if(!w&&!T)return;const{point:E}=C,{timestamp:A}=It;this.history.push({...E,timestamp:A});const{onStart:R,onMove:N}=this.handlers;w||(R&&R(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),N&&N(this.lastMoveEvent,C)},this.handlePointerMove=(C,w)=>{this.lastMoveEvent=C,this.lastMoveEventInfo=dh(w,this.transformPagePoint),nt.update(this.updatePoint,!0)},this.handlePointerUp=(C,w)=>{this.end();const{onEnd:T,onSessionEnd:E,resumeAnimation:A}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&A&&A(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const R=hh(C.type==="pointercancel"?this.lastMoveEventInfo:dh(w,this.transformPagePoint),this.history);this.startEvent&&T&&T(C,R),E&&E(C,R)},!xp(t))return;this.dragSnapToOrigin=u,this.handlers=i,this.transformPagePoint=r,this.distanceThreshold=c,this.contextWindow=l||window;const d=Kl(t),p=dh(d,this.transformPagePoint),{point:g}=p,{timestamp:y}=It;this.history=[{...g,timestamp:y}];const{onSessionStart:S}=i;S&&S(t,hh(p,this.history)),this.removeListeners=$l(jl(this.contextWindow,"pointermove",this.handlePointerMove),jl(this.contextWindow,"pointerup",this.handlePointerUp),jl(this.contextWindow,"pointercancel",this.handlePointerUp)),m&&this.startScrollTracking(m)}startScrollTracking(t){let i=t.parentElement;for(;i;){const r=getComputedStyle(i);(Iy.has(r.overflowX)||Iy.has(r.overflowY))&&this.scrollPositions.set(i,{x:i.scrollLeft,y:i.scrollTop}),i=i.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const i=this.scrollPositions.get(t);if(!i)return;const r=t===window,l=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},u={x:l.x-i.x,y:l.y-i.y};u.x===0&&u.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=u.x,this.lastMoveEventInfo.point.y+=u.y):this.history.length>0&&(this.history[0].x-=u.x,this.history[0].y-=u.y),this.scrollPositions.set(t,l),nt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),xi(this.updatePoint)}}function dh(e,t){return t?{point:t(e.point)}:e}function qy(e,t){return{x:e.x-t.x,y:e.y-t.y}}function hh({point:e},t){return{point:e,delta:qy(e,H4(t)),offset:qy(e,V9(t)),velocity:z9(t,.1)}}function V9(e){return e[0]}function H4(e){return e[e.length-1]}function z9(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,r=null;const l=H4(e);for(;i>=0&&(r=e[i],!(l.timestamp-r.timestamp>Ia(t)));)i--;if(!r)return{x:0,y:0};const u=$n(l.timestamp-r.timestamp);if(u===0)return{x:0,y:0};const c={x:(l.x-r.x)/u,y:(l.y-r.y)/u};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function U9(e,{min:t,max:i},r){return t!==void 0&&e<t?e=r?ot(t,e,r.min):Math.max(e,t):i!==void 0&&e>i&&(e=r?ot(i,e,r.max):Math.min(e,i)),e}function $y(e,t,i){return{min:t!==void 0?e.min+t:void 0,max:i!==void 0?e.max+i-(e.max-e.min):void 0}}function B9(e,{top:t,left:i,bottom:r,right:l}){return{x:$y(e.x,i,l),y:$y(e.y,t,r)}}function Gy(e,t){let i=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,r]=[r,i]),{min:i,max:r}}function H9(e,t){return{x:Gy(e.x,t.x),y:Gy(e.y,t.y)}}function F9(e,t){let i=.5;const r=ln(e),l=ln(t);return l>r?i=Dl(t.min,t.max-r,e.min):r>l&&(i=Dl(e.min,e.max-l,t.min)),Sa(0,1,i)}function I9(e,t){const i={};return t.min!==void 0&&(i.min=t.min-e.min),t.max!==void 0&&(i.max=t.max-e.min),i}const hm=.35;function q9(e=hm){return e===!1?e=0:e===!0&&(e=hm),{x:Yy(e,"left","right"),y:Yy(e,"top","bottom")}}function Yy(e,t,i){return{min:Ky(e,t),max:Ky(e,i)}}function Ky(e,t){return typeof e=="number"?e:e[t]||0}const $9=new WeakMap;class G9{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Nt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:i=!1,distanceThreshold:r}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=y=>{i?(this.stopAnimation(),this.snapToCursor(Kl(y).point)):this.pauseAnimation()},c=(y,S)=>{this.stopAnimation();const{drag:C,dragPropagation:w,onDragStart:T}=this.getProps();if(C&&!w&&(this.openDragLock&&this.openDragLock(),this.openDragLock=_E(C),!this.openDragLock))return;this.latestPointerEvent=y,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),In(A=>{let R=this.getAxisMotionValue(A).get()||0;if(ba.test(R)){const{projection:N}=this.visualElement;if(N&&N.layout){const P=N.layout.layoutBox[A];P&&(R=ln(P)*(parseFloat(R)/100))}}this.originPoint[A]=R}),T&&nt.postRender(()=>T(y,S)),sm(this.visualElement,"transform");const{animationState:E}=this.visualElement;E&&E.setActive("whileDrag",!0)},m=(y,S)=>{this.latestPointerEvent=y,this.latestPanInfo=S;const{dragPropagation:C,dragDirectionLock:w,onDirectionLock:T,onDrag:E}=this.getProps();if(!C&&!this.openDragLock)return;const{offset:A}=S;if(w&&this.currentDirection===null){this.currentDirection=Y9(A),this.currentDirection!==null&&T&&T(this.currentDirection);return}this.updateAxis("x",S.point,A),this.updateAxis("y",S.point,A),this.visualElement.render(),E&&E(y,S)},d=(y,S)=>{this.latestPointerEvent=y,this.latestPanInfo=S,this.stop(y,S),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>In(y=>this.getAnimationState(y)==="paused"&&this.getAxisMotionValue(y).animation?.play()),{dragSnapToOrigin:g}=this.getProps();this.panSession=new B4(t,{onSessionStart:u,onStart:c,onMove:m,onSessionEnd:d,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:r,contextWindow:U4(this.visualElement),element:this.visualElement.current})}stop(t,i){const r=t||this.latestPointerEvent,l=i||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!r)return;const{velocity:c}=l;this.startAnimation(c);const{onDragEnd:m}=this.getProps();m&&nt.postRender(()=>m(r,l))}cancel(){this.isDragging=!1;const{projection:t,animationState:i}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,i,r){const{drag:l}=this.getProps();if(!r||!Su(t,l,this.currentDirection))return;const u=this.getAxisMotionValue(t);let c=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(c=U9(c,this.constraints[t],this.elastic[t])),u.set(c)}resolveConstraints(){const{dragConstraints:t,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;t&&wl(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=B9(r.layoutBox,t):this.constraints=!1,this.elastic=q9(i),l!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&In(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=I9(r.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!wl(t))return!1;const r=t.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const u=XE(r,l.root,this.visualElement.getTransformPagePoint());let c=H9(l.layout.layoutBox,u);if(i){const m=i(GE(c));this.hasMutatedConstraints=!!m,m&&(c=o4(m))}return c}startAnimation(t){const{drag:i,dragMomentum:r,dragElastic:l,dragTransition:u,dragSnapToOrigin:c,onDragTransitionEnd:m}=this.getProps(),d=this.constraints||{},p=In(g=>{if(!Su(g,i,this.currentDirection))return;let y=d&&d[g]||{};c&&(y={min:0,max:0});const S=l?200:1e6,C=l?40:1e7,w={type:"inertia",velocity:r?t[g]:0,bounceStiffness:S,bounceDamping:C,timeConstant:750,restDelta:1,restSpeed:10,...u,...y};return this.startAxisValueAnimation(g,w)});return Promise.all(p).then(m)}startAxisValueAnimation(t,i){const r=this.getAxisMotionValue(t);return sm(this.visualElement,t),r.start(pp(t,r,0,i,this.visualElement,!1))}stopAnimation(){In(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){In(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const i=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),l=r[i];return l||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){In(i=>{const{drag:r}=this.getProps();if(!Su(i,r,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(i);if(l&&l.layout){const{min:c,max:m}=l.layout.layoutBox[i],d=u.get()||0;u.set(t[i]-ot(c,m,.5)+d)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:i}=this.getProps(),{projection:r}=this.visualElement;if(!wl(i)||!r||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};In(c=>{const m=this.getAxisMotionValue(c);if(m&&this.constraints!==!1){const d=m.get();l[c]=F9({min:d,max:d},this.constraints[c])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),In(c=>{if(!Su(c,t,null))return;const m=this.getAxisMotionValue(c),{min:d,max:p}=this.constraints[c];m.set(ot(d,p,l[c]))})}addListeners(){if(!this.visualElement.current)return;$9.set(this.visualElement,this);const t=this.visualElement.current,i=jl(t,"pointerdown",d=>{const{drag:p,dragListener:g=!0}=this.getProps(),y=d.target,S=y!==t&&n4(y);p&&g&&!S&&this.start(d)}),r=()=>{const{dragConstraints:d}=this.getProps();wl(d)&&d.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,u=l.addEventListener("measure",r);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),nt.read(r);const c=kl(window,"resize",()=>this.scalePositionWithinConstraints()),m=l.addEventListener("didUpdate",(({delta:d,hasLayoutChanged:p})=>{this.isDragging&&p&&(In(g=>{const y=this.getAxisMotionValue(g);y&&(this.originPoint[g]+=d[g].translate,y.set(y.get()+d[g].translate))}),this.visualElement.render())}));return()=>{c(),i(),u(),m&&m()}}getProps(){const t=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:r=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:c=hm,dragMomentum:m=!0}=t;return{...t,drag:i,dragDirectionLock:r,dragPropagation:l,dragConstraints:u,dragElastic:c,dragMomentum:m}}}function Su(e,t,i){return(t===!0||t===e)&&(i===null||i===e)}function Y9(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}class K9 extends wi{constructor(t){super(t),this.removeGroupControls=Gn,this.removeListeners=Gn,this.controls=new G9(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Gn}update(){const{dragControls:t}=this.node.getProps(),{dragControls:i}=this.node.prevProps||{};t!==i&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Xy=e=>(t,i)=>{e&&nt.postRender(()=>e(t,i))};class X9 extends wi{constructor(){super(...arguments),this.removePointerDownListener=Gn}onPointerDown(t){this.session=new B4(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:U4(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:i,onPan:r,onPanEnd:l}=this.node.getProps();return{onSessionStart:Xy(t),onStart:Xy(i),onMove:r,onEnd:(u,c)=>{delete this.session,l&&nt.postRender(()=>l(u,c))}}}mount(){this.removePointerDownListener=jl(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let mh=!1;class Q9 extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:r,layoutId:l}=this.props,{projection:u}=t;u&&(i.group&&i.group.add(u),r&&r.register&&l&&r.register(u),mh&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Bu.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:i,visualElement:r,drag:l,isPresent:u}=this.props,{projection:c}=r;return c&&(c.isPresent=u,t.layoutDependency!==i&&c.setOptions({...c.options,layoutDependency:i}),mh=!0,l||t.layoutDependency!==i||i===void 0||t.isPresent!==u?c.willUpdate():this.safeToRemove(),t.isPresent!==u&&(u?c.promote():c.relegate()||nt.postRender(()=>{const m=c.getStack();(!m||!m.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),bp.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:i,switchLayoutGroup:r}=this.props,{projection:l}=t;mh=!0,l&&(l.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(l),r&&r.deregister&&r.deregister(l))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}
20function F4(e){const[t,i]=N4(),r=x.useContext(Qm);return h.jsx(Q9,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(V4),isPresent:t,safeToRemove:i})}const W9={pan:{Feature:X9},drag:{Feature:K9,ProjectionNode:R4,MeasureLayout:F4}};function Qy(e,t,i){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",i==="Start");const l="onHover"+i,u=r[l];u&&nt.postRender(()=>u(t,Kl(t)))}class Z9 extends wi{mount(){const{current:t}=this.node;t&&(this.unmount=LE(t,(i,r)=>(Qy(this.node,r,"Start"),l=>Qy(this.node,l,"End"))))}unmount(){}}class J9 extends wi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=$l(kl(this.node.current,"focus",()=>this.onFocus()),kl(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Wy(e,t,i){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",i==="Start");const l="onTap"+(i==="End"?"":i),u=r[l];u&&nt.postRender(()=>u(t,Kl(t)))}class eC extends wi{mount(){const{current:t}=this.node;t&&(this.unmount=VE(t,(i,r)=>(Wy(this.node,r,"Start"),(l,{success:u})=>Wy(this.node,l,u?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const mm=new WeakMap,ph=new WeakMap,tC=e=>{const t=mm.get(e.target);t&&t(e)},nC=e=>{e.forEach(tC)};function aC({root:e,...t}){const i=e||document;ph.has(i)||ph.set(i,{});const r=ph.get(i),l=JSON.stringify(t);return r[l]||(r[l]=new IntersectionObserver(nC,{root:e,...t})),r[l]}function iC(e,t,i){const r=aC(t);return mm.set(e,i),r.observe(e),()=>{mm.delete(e),r.unobserve(e)}}const rC={some:0,all:1};class sC extends wi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:i,margin:r,amount:l="some",once:u}=t,c={root:i?i.current:void 0,rootMargin:r,threshold:typeof l=="number"?l:rC[l]},m=d=>{const{isIntersecting:p}=d;if(this.isInView===p||(this.isInView=p,u&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:g,onViewportLeave:y}=this.node.getProps(),S=p?g:y;S&&S(d)};return iC(this.node.current,c,m)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:i}=this.node;["amount","margin","root"].some(lC(t,i))&&this.startObserver()}unmount(){}}function lC({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}const oC={inView:{Feature:sC},tap:{Feature:eC},focus:{Feature:J9},hover:{Feature:Z9}},uC={layout:{ProjectionNode:R4,MeasureLayout:F4}},cC={...L9,...oC,...W9,...uC},fC=R9(cC,N9);function dC(){!Sp.current&&i4();const[e]=x.useState(nc.current);return e}function hC({children:e}){const t=dC();return h.jsx(fC.div,{initial:t?{opacity:0}:{opacity:0,y:16},animate:t?{opacity:1}:{opacity:1,y:0},exit:t?{opacity:0}:{opacity:0,y:-12},transition:{duration:.35,ease:"easeOut"},children:e})}function I4(e,t){return function(){return e.apply(t,arguments)}}const{toString:mC}=Object.prototype,{getPrototypeOf:Rp}=Object,{iterator:Rc,toStringTag:q4}=Symbol,Nc=(e=>t=>{const i=mC.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),oa=e=>(e=e.toLowerCase(),t=>Nc(t)===e),Dc=e=>t=>typeof t===e,{isArray:rs}=Array,Zr=Dc("undefined");function Xl(e){return e!==null&&!Zr(e)&&e.constructor!==null&&!Zr(e.constructor)&&dn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const $4=oa("ArrayBuffer");function pC(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&$4(e.buffer),t}const gC=Dc("string"),dn=Dc("function"),G4=Dc("number"),Ql=e=>e!==null&&typeof e=="object",vC=e=>e===!0||e===!1,Hu=e=>{if(Nc(e)!=="object")return!1;const t=Rp(e);
vendor: 13,466 bytes, lines 20-21
20return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(q4 in e)&&!(Rc in e)},yC=e=>{if(!Ql(e)||Xl(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},bC=oa("Date"),xC=oa("File"),SC=oa("Blob"),wC=oa("FileList"),EC=e=>Ql(e)&&dn(e.pipe),TC=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||dn(e.append)&&((t=Nc(e))==="formdata"||t==="object"&&dn(e.toString)&&e.toString()==="[object FormData]"))},CC=oa("URLSearchParams"),[AC,jC,OC,RC]=["ReadableStream","Request","Response","Headers"].map(oa),NC=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Wl(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let r,l;if(typeof e!="object"&&(e=[e]),rs(e))for(r=0,l=e.length;r<l;r++)t.call(null,e[r],r,e);else{if(Xl(e))return;const u=i?Object.getOwnPropertyNames(e):Object.keys(e),c=u.length;let m;for(r=0;r<c;r++)m=u[r],t.call(null,e[m],m,e)}}function Y4(e,t){if(Xl(e))return null;t=t.toLowerCase();const i=Object.keys(e);let r=i.length,l;for(;r-- >0;)if(l=i[r],t===l.toLowerCase())return l;return null}const Ji=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,K4=e=>!Zr(e)&&e!==Ji;function pm(){const{caseless:e,skipUndefined:t}=K4(this)&&this||{},i={},r=(l,u)=>{if(u==="__proto__"||u==="constructor"||u==="prototype")return;const c=e&&Y4(i,u)||u;Hu(i[c])&&Hu(l)?i[c]=pm(i[c],l):Hu(l)?i[c]=pm({},l):rs(l)?i[c]=l.slice():(!t||!Zr(l))&&(i[c]=l)};for(let l=0,u=arguments.length;l<u;l++)arguments[l]&&Wl(arguments[l],r);return i}const DC=(e,t,i,{allOwnKeys:r}={})=>(Wl(t,(l,u)=>{i&&dn(l)?Object.defineProperty(e,u,{value:I4(l,i),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,u,{value:l,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),MC=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),_C=(e,t,i,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},LC=(e,t,i,r)=>{let l,u,c;const m={};if(t=t||{},e==null)return t;do{for(l=Object.getOwnPropertyNames(e),u=l.length;u-- >0;)c=l[u],(!r||r(c,e,t))&&!m[c]&&(t[c]=e[c],m[c]=!0);e=i!==!1&&Rp(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},kC=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;const r=e.indexOf(t,i);return r!==-1&&r===i},PC=e=>{if(!e)return null;if(rs(e))return e;let t=e.length;if(!G4(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},VC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Rp(Uint8Array)),zC=(e,t)=>{const r=(e&&e[Rc]).call(e);let l;for(;(l=r.next())&&!l.done;){const u=l.value;t.call(e,u[0],u[1])}},UC=(e,t)=>{let i;const r=[];for(;(i=e.exec(t))!==null;)r.push(i);return r},BC=oa("HTMLFormElement"),HC=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,r,l){return r.toUpperCase()+l}),Zy=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),FC=oa("RegExp"),X4=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),r={};Wl(i,(l,u)=>{let c;(c=t(l,u,e))!==!1&&(r[u]=c||l)}),Object.defineProperties(e,r)},IC=e=>{X4(e,(t,i)=>{if(dn(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const r=e[i];if(dn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},qC=(e,t)=>{const i={},r=l=>{l.forEach(u=>{i[u]=!0})};return rs(e)?r(e):r(String(e).split(t)),i},$C=()=>{},GC=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function YC(e){return!!(e&&dn(e.append)&&e[q4]==="FormData"&&e[Rc])}const KC=e=>{const t=new Array(10),i=(r,l)=>{if(Ql(r)){if(t.indexOf(r)>=0)return;if(Xl(r))return r;if(!("toJSON"in r)){t[l]=r;const u=rs(r)?[]:{};return Wl(r,(c,m)=>{const d=i(c,l+1);!Zr(d)&&(u[m]=d)}),t[l]=void 0,u}}return r};return i(e,0)},XC=oa("AsyncFunction"),QC=e=>e&&(Ql(e)||dn(e))&&dn(e.then)&&dn(e.catch),Q4=((e,t)=>e?setImmediate:t?((i,r)=>(Ji.addEventListener("message",({source:l,data:u})=>{l===Ji&&u===i&&r.length&&r.shift()()},!1),l=>{r.push(l),Ji.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",dn(Ji.postMessage)),WC=typeof queueMicrotask<"u"?queueMicrotask.bind(Ji):typeof process<"u"&&process.nextTick||Q4,ZC=e=>e!=null&&dn(e[Rc]),G={isArray:rs,isArrayBuffer:$4,isBuffer:Xl,isFormData:TC,isArrayBufferView:pC,isString:gC,isNumber:G4,isBoolean:vC,isObject:Ql,isPlainObject:Hu,isEmptyObject:yC,isReadableStream:AC,isRequest:jC,isResponse:OC,isHeaders:RC,isUndefined:Zr,isDate:bC,isFile:xC,isBlob:SC,isRegExp:FC,isFunction:dn,isStream:EC,isURLSearchParams:CC,isTypedArray:VC,isFileList:wC,forEach:Wl,merge:pm,extend:DC,trim:NC,stripBOM:MC,inherits:_C,toFlatObject:LC,kindOf:Nc,kindOfTest:oa,endsWith:kC,toArray:PC,forEachEntry:zC,matchAll:UC,isHTMLForm:BC,hasOwnProperty:Zy,hasOwnProp:Zy,reduceDescriptors:X4,freezeMethods:IC,toObjectSet:qC,toCamelCase:HC,noop:$C,toFiniteNumber:GC,findKey:Y4,global:Ji,isContextDefined:K4,isSpecCompliantForm:YC,toJSONObject:KC,isAsyncFn:XC,isThenable:QC,setImmediate:Q4,asap:WC,isIterable:ZC};let je=class W4 extends Error{static from(t,i,r,l,u,c){const m=new W4(t.message,i||t.code,r,l,u);return m.cause=t,m.name=t.name,c&&Object.assign(m,c),m}constructor(t,i,r,l,u){super(t),this.name="AxiosError",this.isAxiosError=!0,i&&(this.code=i),r&&(this.config=r),l&&(this.request=l),u&&(this.response=u,this.status=u.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.status}}};je.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";je.ERR_BAD_OPTION="ERR_BAD_OPTION";je.ECONNABORTED="ECONNABORTED";je.ETIMEDOUT="ETIMEDOUT";je.ERR_NETWORK="ERR_NETWORK";je.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";je.ERR_DEPRECATED="ERR_DEPRECATED";je.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";je.ERR_BAD_REQUEST="ERR_BAD_REQUEST";je.ERR_CANCELED="ERR_CANCELED";je.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";je.ERR_INVALID_URL="ERR_INVALID_URL";const JC=null;function gm(e){return G.isPlainObject(e)||G.isArray(e)}function Z4(e){return G.endsWith(e,"[]")?e.slice(0,-2):e}function Jy(e,t,i){return e?e.concat(t).map(function(l,u){return l=Z4(l),!i&&u?"["+l+"]":l}).join(i?".":""):t}function eA(e){return G.isArray(e)&&!e.some(gm)}const tA=G.toFlatObject(G,{},null,function(t){return/^is[A-Z]/.test(t)});function Mc(e,t,i){if(!G.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,i=G.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,E){return!G.isUndefined(E[T])});const r=i.metaTokens,l=i.visitor||g,u=i.dots,c=i.indexes,d=(i.Blob||typeof Blob<"u"&&Blob)&&G.isSpecCompliantForm(t);if(!G.isFunction(l))throw new TypeError("visitor must be a function");function p(w){if(w===null)return"";if(G.isDate(w))return w.toISOString();if(G.isBoolean(w))return w.toString();if(!d&&G.isBlob(w))throw new je("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(w)||G.isTypedArray(w)?d&&typeof Blob=="function"?new Blob([w]):Buffer.from(w):w}function g(w,T,E){let A=w;if(w&&!E&&typeof w=="object"){if(G.endsWith(T,"{}"))T=r?T:T.slice(0,-2),w=JSON.stringify(w);else if(G.isArray(w)&&eA(w)||(G.isFileList(w)||G.endsWith(T,"[]"))&&(A=G.toArray(w)))return T=Z4(T),A.forEach(function(N,P){!(G.isUndefined(N)||N===null)&&t.append(c===!0?Jy([T],P,u):c===null?T:T+"[]",p(N))}),!1}return gm(w)?!0:(t.append(Jy(E,T,u),p(w)),!1)}const y=[],S=Object.assign(tA,{defaultVisitor:g,convertValue:p,isVisitable:gm});function C(w,T){if(!G.isUndefined(w)){if(y.indexOf(w)!==-1)throw Error("Circular reference detected in "+T.join("."));y.push(w),G.forEach(w,function(A,R){(!(G.isUndefined(A)||A===null)&&l.call(t,A,G.isString(R)?R.trim():R,T,S))===!0&&C(A,T?T.concat(R):[R])}),y.pop()}}if(!G.isObject(e))throw new TypeError("data must be an object");return C(e),t}function e2(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Np(e,t){this._pairs=[],e&&Mc(e,this,t)}const J4=Np.prototype;J4.append=function(t,i){this._pairs.push([t,i])};J4.toString=function(t){const i=t?function(r){return t.call(this,r,e2)}:e2;return this._pairs.map(function(l){return i(l[0])+"="+i(l[1])},"").join("&")};function nA(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function e3(e,t,i){if(!t)return e;const r=i&&i.encode||nA,l=G.isFunction(i)?{serialize:i}:i,u=l&&l.serialize;let c;if(u?c=u(t,l):c=G.isURLSearchParams(t)?t.toString():new Np(t,l).toString(r),c){const m=e.indexOf("#");m!==-1&&(e=e.slice(0,m)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class t2{constructor(){this.handlers=[]}use(t,i,r){return this.handlers.push({fulfilled:t,rejected:i,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){G.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Dp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},aA=typeof URLSearchParams<"u"?URLSearchParams:Np,iA=typeof FormData<"u"?FormData:null,rA=typeof Blob<"u"?Blob:null,sA={isBrowser:!0,classes:{URLSearchParams:aA,FormData:iA,Blob:rA},protocols:["http","https","file","blob","url","data"]},Mp=typeof window<"u"&&typeof document<"u",vm=typeof navigator=="object"&&navigator||void 0,lA=Mp&&(!vm||["ReactNative","NativeScript","NS"].indexOf(vm.product)<0),oA=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",uA=Mp&&window.location.href||"http://localhost",cA=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Mp,hasStandardBrowserEnv:lA,hasStandardBrowserWebWorkerEnv:oA,navigator:vm,origin:uA},Symbol.toStringTag,{value:"Module"})),Qt={...cA,...sA};function fA(e,t){return Mc(e,new Qt.classes.URLSearchParams,{visitor:function(i,r,l,u){return Qt.isNode&&G.isBuffer(i)?(this.append(r,i.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)},...t})}function dA(e){return G.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function hA(e){const t={},i=Object.keys(e);let r;const l=i.length;let u;for(r=0;r<l;r++)u=i[r],t[u]=e[u];return t}function t3(e){function t(i,r,l,u){let c=i[u++];if(c==="__proto__")return!0;const m=Number.isFinite(+c),d=u>=i.length;return c=!c&&G.isArray(l)?l.length:c,d?(G.hasOwnProp(l,c)?l[c]=[l[c],r]:l[c]=r,!m):((!l[c]||!G.isObject(l[c]))&&(l[c]=[]),t(i,r,l[c],u)&&G.isArray(l[c])&&(l[c]=hA(l[c])),!m)}if(G.isFormData(e)&&G.isFunction(e.entries)){const i={};return G.forEachEntry(e,(r,l)=>{t(dA(r),l,i,0)}),i}return null}function mA(e,t,i){if(G.isString(e))try{return(t||JSON.parse)(e),G.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(i||JSON.stringify)(e)}const Zl={transitional:Dp,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const r=i.getContentType()||"",l=r.indexOf("application/json")>-1,u=G.isObject(t);if(u&&G.isHTMLForm(t)&&(t=new FormData(t)),G.isFormData(t))return l?JSON.stringify(t3(t)):t;if(G.isArrayBuffer(t)||G.isBuffer(t)||G.isStream(t)||G.isFile(t)||G.isBlob(t)||G.isReadableStream(t))return t;if(G.isArrayBufferView(t))return t.buffer;if(G.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let m;if(u){if(r.indexOf("application/x-www-form-urlencoded")>-1)return fA(t,this.formSerializer).toString();if((m=G.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Mc(m?{"files[]":t}:t,d&&new d,this.formSerializer)}}return u||l?(i.setContentType("application/json",!1),mA(t)):t}],transformResponse:[function(t){const i=this.transitional||Zl.transitional,r=i&&i.forcedJSONParsing,l=this.responseType==="json";if(G.isResponse(t)||G.isReadableStream(t))return t;if(t&&G.isString(t)&&(r&&!this.responseType||l)){const c=!(i&&i.silentJSONParsing)&&l;try{return JSON.parse(t,this.parseReviver)}catch(m){if(c)throw m.name==="SyntaxError"?je.from(m,je.ERR_BAD_RESPONSE,this,null,this.response):m}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Qt.classes.FormData,Blob:Qt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};G.forEach(["delete","get","head","post","put","patch"],e=>{Zl.headers[e]={}});const pA=G.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),gA=e=>{const t={};let i,r,l;return e&&e.split(` 21`).forEach(function(c){l=c.indexOf(":"),i=c.substring(0,l).trim().toLowerCase(),r=c.substring(l+1).trim(),!(!i||t[i]&&pA[i])&&(i==="set-cookie"?t[i]?t[i].push(r):t[i]=[r]:t[i]=t[i]?t[i]+", "+r:r)}),t},n2=Symbol("internals");function ul(e){return e&&String(e).trim().toLowerCase()}function Fu(e){return e===!1||e==null?e:G.isArray(e)?e.map(Fu):String(e)}function vA(e){const t=Object.create(null),i=/([^\s,;
21=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=i.exec(e);)t[r[1]]=r[2];return t}const yA=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function gh(e,t,i,r,l){if(G.isFunction(r))return r.call(this,t,i);if(l&&(t=i),!!G.isString(t)){if(G.isString(r))return t.indexOf(r)!==-1;if(G.isRegExp(r))return r.test(t)}}function bA(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,r)=>i.toUpperCase()+r)}function xA(e,t){const i=G.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+i,{value:function(l,u,c){return this[r].call(this,t,l,u,c)},configurable:!0})})}let hn=class{constructor(t){t&&this.set(t)}set(t,i,r){const l=this;function u(m,d,p){const g=ul(d);if(!g)throw new Error("header name must be a non-empty string");const y=G.findKey(l,g);(!y||l[y]===void 0||p===!0||p===void 0&&l[y]!==!1)&&(l[y||d]=Fu(m))}const c=(m,d)=>G.forEach(m,(p,g)=>u(p,g,d));if(G.isPlainObject(t)||t instanceof this.constructor)c(t,i);else if(G.isString(t)&&(t=t.trim())&&!yA(t))c(gA(t),i);else if(G.isObject(t)&&G.isIterable(t)){let m={},d,p;for(const g of t){if(!G.isArray(g))throw TypeError("Object iterator must return a key-value pair");m[p=g[0]]=(d=m[p])?G.isArray(d)?[...d,g[1]]:[d,g[1]]:g[1]}c(m,i)}else t!=null&&u(i,t,r);return this}get(t,i){if(t=ul(t),t){const r=G.findKey(this,t);if(r){const l=this[r];if(!i)return l;if(i===!0)return vA(l);if(G.isFunction(i))return i.call(this,l,r);if(G.isRegExp(i))return i.exec(l);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=ul(t),t){const r=G.findKey(this,t);return!!(r&&this[r]!==void 0&&(!i||gh(this,this[r],r,i)))}return!1}delete(t,i){const r=this;let l=!1;function u(c){if(c=ul(c),c){const m=G.findKey(r,c);m&&(!i||gh(r,r[m],m,i))&&(delete r[m],l=!0)}}return G.isArray(t)?t.forEach(u):u(t),l}clear(t){const i=Object.keys(this);let r=i.length,l=!1;for(;r--;){const u=i[r];(!t||gh(this,this[u],u,t,!0))&&(delete this[u],l=!0)}return l}normalize(t){const i=this,r={};return G.forEach(this,(l,u)=>{const c=G.findKey(r,u);if(c){i[c]=Fu(l),delete i[u];return}const m=t?bA(u):String(u).trim();m!==u&&delete i[u],i[m]=Fu(l),r[m]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return G.forEach(this,(r,l)=>{r!=null&&r!==!1&&(i[l]=t&&G.isArray(r)?r.join(", "):r)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(` 22`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const r=new this(t);return i.forEach(l=>r.set(l)),r}static accessor(t){const r=(this[n2]=this[n2]={accessors:{}}).accessors,l=this.prototype;function u(c){const m=ul(c);r[m]||(xA(l,c),r[m]=!0)}return G.isArray(t)?t.forEach(u):u(t),this}};hn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);G.reduceDescriptors(hn.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[i]=r}}});G.freezeMethods(hn);function vh(e,t){const i=this||Zl,r=t||i,l=hn.from(r.headers);let u=r.data;return G.forEach(e,function(m){u=m.call(i,u,l.normalize(),t?t.status:void 0)}),l.normalize(),u}function n3(e){return!!(e&&e.__CANCEL__)}let Jl=class extends je{constructor(t,i,r){super(t??"canceled",je.ERR_CANCELED,i,r),this.name="CanceledError",this.__CANCEL__=!0}};function a3(e,t,i){const r=i.config.validateStatus;!i.status||!r||r(i.status)?e(i):t(new je("Request failed with status code "+i.status,[je.ERR_BAD_REQUEST,je.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function SA(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function wA(e,t){e=e||10;const i=new Array(e),r=new Array(e);let l=0,u=0,c;return t=t!==void 0?t:1e3,function(d){const p=Date.now(),g=r[u];c||(c=p),i[l]=d,r[l]=p;let y=u,S=0;for(;y!==l;)S+=i[y++],y=y%e;if(l=(l+1)%e,l===u&&(u=(u+1)%e),p-c<t)return;const C=g&&p-g;return C?Math.round(S*1e3/C):void 0}}function EA(e,t){let i=0,r=1e3/t,l,u;const c=(p,g=Date.now())=>{i=g,l=null,u&&(clearTimeout(u),u=null),e(...p)};return[(...p)=>{const g=Date.now(),y=g-i;y>=r?c(p,g):(l=p,u||(u=setTimeout(()=>{u=null,c(l)},r-y)))},()=>l&&c(l)]}const lc=(e,t,i=3)=>{let r=0;const l=wA(50,250);return EA(u=>{const c=u.loaded,m=u.lengthComputable?u.total:void 0,d=c-r,p=l(d),g=c<=m;r=c;const y={loaded:c,total:m,progress:m?c/m:void 0,bytes:d,rate:p||void 0,estimated:p&&m&&g?(m-c)/p:void 0,event:u,lengthComputable:m!=null,[t?"download":"upload"]:!0};e(y)},i)},a2=(e,t)=>
vendor: 4,162 bytes, line 22
22{const i=e!=null;return[r=>t[0]({lengthComputable:i,total:e,loaded:r}),t[1]]},i2=e=>(...t)=>G.asap(()=>e(...t)),TA=Qt.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,Qt.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(Qt.origin),Qt.navigator&&/(msie|trident)/i.test(Qt.navigator.userAgent)):()=>!0,CA=Qt.hasStandardBrowserEnv?{write(e,t,i,r,l,u,c){if(typeof document>"u")return;const m=[`${e}=${encodeURIComponent(t)}`];G.isNumber(i)&&m.push(`expires=${new Date(i).toUTCString()}`),G.isString(r)&&m.push(`path=${r}`),G.isString(l)&&m.push(`domain=${l}`),u===!0&&m.push("secure"),G.isString(c)&&m.push(`SameSite=${c}`),document.cookie=m.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function AA(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function jA(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function i3(e,t,i){let r=!AA(t);return e&&(r||i==!1)?jA(e,t):t}const r2=e=>e instanceof hn?{...e}:e;function ar(e,t){t=t||{};const i={};function r(p,g,y,S){return G.isPlainObject(p)&&G.isPlainObject(g)?G.merge.call({caseless:S},p,g):G.isPlainObject(g)?G.merge({},g):G.isArray(g)?g.slice():g}function l(p,g,y,S){if(G.isUndefined(g)){if(!G.isUndefined(p))return r(void 0,p,y,S)}else return r(p,g,y,S)}function u(p,g){if(!G.isUndefined(g))return r(void 0,g)}function c(p,g){if(G.isUndefined(g)){if(!G.isUndefined(p))return r(void 0,p)}else return r(void 0,g)}function m(p,g,y){if(y in t)return r(p,g);if(y in e)return r(void 0,p)}const d={url:u,method:u,data:u,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:m,headers:(p,g,y)=>l(r2(p),r2(g),y,!0)};return G.forEach(Object.keys({...e,...t}),function(g){if(g==="__proto__"||g==="constructor"||g==="prototype")return;const y=G.hasOwnProp(d,g)?d[g]:l,S=y(e[g],t[g],g);G.isUndefined(S)&&y!==m||(i[g]=S)}),i}const r3=e=>{const t=ar({},e);let{data:i,withXSRFToken:r,xsrfHeaderName:l,xsrfCookieName:u,headers:c,auth:m}=t;if(t.headers=c=hn.from(c),t.url=e3(i3(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),m&&c.set("Authorization","Basic "+btoa((m.username||"")+":"+(m.password?unescape(encodeURIComponent(m.password)):""))),G.isFormData(i)){if(Qt.hasStandardBrowserEnv||Qt.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(G.isFunction(i.getHeaders)){const d=i.getHeaders(),p=["content-type","content-length"];Object.entries(d).forEach(([g,y])=>{p.includes(g.toLowerCase())&&c.set(g,y)})}}if(Qt.hasStandardBrowserEnv&&(r&&G.isFunction(r)&&(r=r(t)),r||r!==!1&&TA(t.url))){const d=l&&u&&CA.read(u);d&&c.set(l,d)}return t},OA=typeof XMLHttpRequest<"u",RA=OA&&function(e){return new Promise(function(i,r){const l=r3(e);let u=l.data;const c=hn.from(l.headers).normalize();let{responseType:m,onUploadProgress:d,onDownloadProgress:p}=l,g,y,S,C,w;function T(){C&&C(),w&&w(),l.cancelToken&&l.cancelToken.unsubscribe(g),l.signal&&l.signal.removeEventListener("abort",g)}let E=new XMLHttpRequest;E.open(l.method.toUpperCase(),l.url,!0),E.timeout=l.timeout;function A(){if(!E)return;const N=hn.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),D={data:!m||m==="text"||m==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:N,config:e,request:E};a3(function(H){i(H),T()},function(H){r(H),T()},D),E=null}"onloadend"in E?E.onloadend=A:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(A)},E.onabort=function(){E&&(r(new je("Request aborted",je.ECONNABORTED,e,E)),E=null)},E.onerror=function(P){const D=P&&P.message?P.message:"Network Error",U=new je(D,je.ER
vendor: 11,040 bytes, lines 22-25
22R_NETWORK,e,E);U.event=P||null,r(U),E=null},E.ontimeout=function(){let P=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded";const D=l.transitional||Dp;l.timeoutErrorMessage&&(P=l.timeoutErrorMessage),r(new je(P,D.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,e,E)),E=null},u===void 0&&c.setContentType(null),"setRequestHeader"in E&&G.forEach(c.toJSON(),function(P,D){E.setRequestHeader(D,P)}),G.isUndefined(l.withCredentials)||(E.withCredentials=!!l.withCredentials),m&&m!=="json"&&(E.responseType=l.responseType),p&&([S,w]=lc(p,!0),E.addEventListener("progress",S)),d&&E.upload&&([y,C]=lc(d),E.upload.addEventListener("progress",y),E.upload.addEventListener("loadend",C)),(l.cancelToken||l.signal)&&(g=N=>{E&&(r(!N||N.type?new Jl(null,e,E):N),E.abort(),E=null)},l.cancelToken&&l.cancelToken.subscribe(g),l.signal&&(l.signal.aborted?g():l.signal.addEventListener("abort",g)));const R=SA(l.url);if(R&&Qt.protocols.indexOf(R)===-1){r(new je("Unsupported protocol "+R+":",je.ERR_BAD_REQUEST,e));return}E.send(u||null)})},NA=(e,t)=>{const{length:i}=e=e?e.filter(Boolean):[];if(t||i){let r=new AbortController,l;const u=function(p){if(!l){l=!0,m();const g=p instanceof Error?p:this.reason;r.abort(g instanceof je?g:new Jl(g instanceof Error?g.message:g))}};let c=t&&setTimeout(()=>{c=null,u(new je(`timeout of ${t}ms exceeded`,je.ETIMEDOUT))},t);const m=()=>{e&&(c&&clearTimeout(c),c=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(u):p.removeEventListener("abort",u)}),e=null)};e.forEach(p=>p.addEventListener("abort",u));const{signal:d}=r;return d.unsubscribe=()=>G.asap(m),d}},DA=function*(e,t){let i=e.byteLength;if(i<t){yield e;return}let r=0,l;for(;r<i;)l=r+t,yield e.slice(r,l),r=l},MA=async function*(e,t){for await(const i of _A(e))yield*DA(i,t)},_A=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:i,value:r}=await t.read();if(i)break;yield r}}finally{await t.cancel()}},s2=(e,t,i,r)=>{const l=MA(e,t);let u=0,c,m=d=>{c||(c=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:p,value:g}=await l.next();if(p){m(),d.close();return}let y=g.byteLength;if(i){let S=u+=y;i(S)}d.enqueue(new Uint8Array(g))}catch(p){throw m(p),p}},cancel(d){return m(d),l.return()}},{highWaterMark:2})},l2=64*1024,{isFunction:wu}=G,LA=(({Request:e,Response:t})=>({Request:e,Response:t}))(G.global),{ReadableStream:o2,TextEncoder:u2}=G.global,c2=(e,...t)=>{try{return!!e(...t)}catch{return!1}},kA=e=>{e=G.merge.call({skipUndefined:!0},LA,e);const{fetch:t,Request:i,Response:r}=e,l=t?wu(t):typeof fetch=="function",u=wu(i),c=wu(r);if(!l)return!1;const m=l&&wu(o2),d=l&&(typeof u2=="function"?(w=>T=>w.encode(T))(new u2):async w=>new Uint8Array(await new i(w).arrayBuffer())),p=u&&m&&c2(()=>{let w=!1;const T=new i(Qt.origin,{body:new o2,method:"POST",get duplex(){return w=!0,"half"}}).headers.has("Content-Type");return w&&!T}),g=c&&m&&c2(()=>G.isReadableStream(new r("").body)),y={stream:g&&(w=>w.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(w=>{!y[w]&&(y[w]=(T,E)=>{let A=T&&T[w];if(A)return A.call(T);throw new je(`Response type '${w}' is not supported`,je.ERR_NOT_SUPPORT,E)})});const S=async w=>{if(w==null)return 0;if(G.isBlob(w))return w.size;if(G.isSpecCompliantForm(w))return(await new i(Qt.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(G.isArrayBufferView(w)||G.isArrayBuffer(w))return w.byteLength;if(G.isURLSearchParams(w)&&(w=w+""),G.isString(w))return(await d(w)).byteLength},C=async(w,T)=>{const E=G.toFiniteNumber(w.getContentLength());return E??S(T)};return async w=>{let{url:T,method:E,data:A,signal:R,cancelToken:N,timeout:P,onDownloadProgress:D,onUploadProgress:U,responseType:H,headers:I,withCredentials:L="same-origin",fetchOptions:ie}=r3(w),ce=t||fetch;H=H?(H+"").toLowerCase():"text";let ne=NA([R,N&&N.toAbortSignal()],P),oe=null;const fe=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()});let X;try{if(U&&p&&E!=="get"&&E!=="head"&&(X=await C(I,A))!==0){let z=new i(T,{method:"POST",body:A,duplex:"half"}),Y;if(G.isFormData(A)&&(Y=z.headers.get("content-type"))&&I.setContentType(Y),z.body){const[K,J]=a2(X,lc(i2(U)));A=s2(z.body,l2,K,J)}}G.isString(L)||(L=L?"include":"omit");const q=u&&"credentials"in i.prototype,ae={...ie,signal:ne,method:E.toUpperCase(),headers:I.normalize().toJSON(),body:A,duplex:"half",credentials:q?L:void 0};oe=u&&new i(T,ae);let ee=await(u?ce(oe,ie):ce(T,ae));const W=g&&(H==="stream"||H==="response");if(g&&(D||W&&fe)){const z={};["status","statusText","headers"].forEach(le=>{z[le]=ee[le]});const Y=G.toFiniteNumber(ee.headers.get("content-length")),[K,J]=D&&a2(Y,lc(i2(D),!0))||[];ee=new r(s2(ee.body,l2,K,()=>{J&&J(),fe&&fe()}),z)}H=H||"text";let O=await y[G.findKey(y,H)||"text"](ee,w);return!W&&fe&&fe(),await new Promise((z,Y)=>{a3(z,Y,{data:O,headers:hn.from(ee.headers),status:ee.status,statusText:ee.statusText,config:w,request:oe})})}catch(q){throw fe&&fe(),q&&q.name==="TypeError"&&/Load failed|fetch/i.test(q.message)?Object.assign(new je("Network Error",je.ERR_NETWORK,w,oe,q&&q.response),{cause:q.cause||q}):je.from(q,q&&q.code,w,oe,q&&q.response)}}},PA=new Map,s3=e=>{let t=e&&e.env||{};const{fetch:i,Request:r,Response:l}=t,u=[r,l,i];let c=u.length,m=c,d,p,g=PA;for(;m--;)d=u[m],p=g.get(d),p===void 0&&g.set(d,p=m?new Map:kA(t)),g=p;return p};s3();const _p={http:JC,xhr:RA,fetch:{get:s3}};G.forEach(_p,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const f2=e=>`- ${e}`,VA=e=>G.isFunction(e)||e===null||e===!1;function zA(e,t){e=G.isArray(e)?e:[e];const{length:i}=e;let r,l;const u={};for(let c=0;c<i;c++){r=e[c];let m;if(l=r,!VA(r)&&(l=_p[(m=String(r)).toLowerCase()],l===void 0))throw new je(`Unknown adapter '${m}'`);if(l&&(G.isFunction(l)||(l=l.get(t))))break;u[m||"#"+c]=l}if(!l){const c=Object.entries(u).map(([d,p])=>`adapter ${d} `+(p===!1?"is not supported by the environment":"is not available in the build"));let m=i?c.length>1?`since : 23`+c.map(f2).join(` 24`):" "+f2(c[0]):"as no adapter specified";throw new je("There is no suitable adapter to dispatch the request "+m,"ERR_NOT_SUPPORT")}return l}const l3={getAdapter:zA,adapters:_p};function yh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Jl(null,e)}function d2(e){return yh(e),e.headers=hn.from(e.headers),e.data=vh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),l3.getAdapter(e.adapter||Zl.adapter,e)(e).then(function(r){return yh(e),r.data=vh.call(e,e.transformResponse,r),r.headers=hn.from(r.headers),r},function(r){return n3(r)||(yh(e),r&&r.response&&(r.response.data=vh.call(e,e.transformResponse,r.response),r.response.headers=hn.from(r.response.headers))),Promise.reject(r)})}const o3="1.13.5",_c={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_c[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const h2={};_c.transitional=function(t,i,r){function l(u,c){return"[Axios v"+o3+"] Transitional option '"+u+"'"+c+(r?". "+r:"")}return(u,c,m)=>{if(t===!1)throw new je(l(c," has been removed"+(i?" in "+i:"")),je.ERR_DEPRECATED);return i&&!h2[c]&&(h2[c]=!0,console.warn(l(c," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(u,c,m):!0}};_c.spelling=function(t){return(i,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function UA(e,t,i){if(typeof e!="object")throw new je("options must be an object",je.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let l=r.length;for(;l-- >0;){const u=r[l],c=t[u];if(c){const m=e[u],d=m===void 0||c(m,u,e);if(d!==!0)throw new je("option "+u+" must be "+d,je.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new je("Unknown option "+u,je.ERR_BAD_OPTION)}}const Iu={assertOptions:UA,validators:_c},Fn=Iu.validators;let nr=class{constructor(t){this.defaults=t||{},this.interceptors={request:new t2,response:new t2}}async request(t,i){try{return await this._request(t,i)}catch(r){if(r instanceof Error){let l={};Error.captureStackTrace?Error.captureStackTrace(l):l=new Error;const u=l.stack?l.stack.replace(/^.+\n/,""):"";try{r.stack?u&&!String(r.stack).endsWith(u.replace(/^.+\n.+\n/,""))&&(r.stack+=` 25`+u):r.stack=u}catch{}}throw r}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=ar(this.defaults,i);const{transitional:r,paramsSerializer:l,headers:u}=i;r!==void 0&&Iu.assertOptions(r,{silentJSONParsing:Fn.transitional(Fn.boolean),forcedJSONParsing:Fn.transitional(Fn.boolean),clarifyTimeoutError:Fn.transitional(Fn.boolean),legacyInterceptorReqResOrdering:Fn.transitional(Fn.boolean)},!1),l!=null&&(G.isFunction(l)?i.paramsSerializer={serialize:l}:Iu.assertOptions(l,{encode:Fn.function,serialize:Fn.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Iu.assertOptions(i,{baseUrl:Fn.spelling("baseURL"),withXsrfToken:Fn.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let c=u&&G.merge(u.common,u[i.method]);u&&G.forEach(["delete","get","head","post","put","patch","common"],w=>{delete u[w]}),i.headers=hn.concat(c,u);const m=[];let d=!0;this.interceptors.request.forEach(function(T){if(typeof T.runWhen=="function"&&T.runWhen(i)===!1)return;d=d&&T.synchronous;const E=i.transitional||Dp;E&&E.legacyInterceptorReqResOrdering?m.unshift(T.fulfilled,T.rejected):m.push(T.fulfilled,T.rejected)});const p=[];this.interceptors.response.forEach(function(T){p.push(T.fulfilled,T.rejected)});let g,y=0,S;if(!d){const w=[d2.bind(this),void 0];for(w.unshift(...m),w.push(...p),S=w.length,g=Promise.resolve(i);y<S;)g=g.then(w[y++],w[y++]);return g}S=m.length;let C=i;for(;y<S;){const w=m[y++],T=m[y++];try{C=w(C)}catch(E){T.call(this,E);break}}try{g=d2.call(this,C)}catch(w){return Promise.reject(w)}for(y=0,S=p.length;y<S;)g=g.then(p[y++],p[y++]);return g}getUri(t){t=ar(this.defaults,t);const i=i3(t.baseURL,t.url,t.allowAbsoluteUrls);return e3(i,t.params,t.paramsSerializer)}};G.forEach(["delete","get","head","options"],function(t){nr.prototype[t]=function(i,r){return this.request(ar(r||{},{method:t,url:i,data:(r||{}).data}))}});G.forEach(["post","put","patch"],function(t){function i(r){return function(u,c,m){return this.request(ar(m||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:u,data:c}))}}nr.prototype[t]=i(),nr.prototype[t+"Form"]=i(!0)});let BA=class u3{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(u){i=u});const r=this;this.promise.then(l=>{if(!r._listeners)return;let u=r._listeners.length;for(;u-- >0;)r._listeners[u](l);r._listeners=null}),this.promise.then=l=>{let u;const c=new Promise(m=>{r.subscribe(m),u=m}).then(l);return c.cancel=function(){r.unsubscribe(u)},c},t(function(u,c,m){r.reason||(r.reason=new Jl(u,c,m),i(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
25subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const i=this._listeners.indexOf(t);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const t=new AbortController,i=r=>{t.abort(r)};return this.subscribe(i),t.signal.unsubscribe=()=>this.unsubscribe(i),t.signal}static source(){let t;return{token:new u3(function(l){t=l}),cancel:t}}};function HA(e){return function(i){return e.apply(null,i)}}function FA(e){return G.isObject(e)&&e.isAxiosError===!0}const ym={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ym).forEach(([e,t])=>{ym[t]=e});function c3(e){const t=new nr(e),i=I4(nr.prototype.request,t);return G.extend(i,nr.prototype,t,{allOwnKeys:!0}),G.extend(i,t,null,{allOwnKeys:!0}),i.create=function(l){return c3(ar(e,l))},i}const gt=c3(Zl);gt.Axios=nr;gt.CanceledError=Jl;gt.CancelToken=BA;gt.isCancel=n3;gt.VERSION=o3;gt.toFormData=Mc;gt.AxiosError=je;gt.Cancel=gt.CanceledError;gt.all=function(t){return Promise.all(t)};gt.spread=HA;gt.isAxiosError=FA;gt.mergeConfig=ar;gt.AxiosHeaders=hn;gt.formToJSON=e=>t3(G.isHTMLForm(e)?new FormData(e):e);gt.getAdapter=l3.getAdapter;gt.HttpStatusCode=ym;gt.default=gt;const{Axios:QL,AxiosError:WL,CanceledError:ZL,isCancel:JL,CancelToken:ek,VERSION:tk,all:nk,Cancel:ak,isAxiosError:ik,spread:rk,toFormData:sk,AxiosHeaders:lk,HttpStatusCode:ok,formToJSON:uk,getAdapter:ck,mergeConfig:fk}=gt,he=gt.create({baseURL:"https://mgn1.kp.gov.pk/api",timeout:15e3,headers:{"Content-Type":"application/json"}});he.interceptors.request.use(e=>{const t=localStorage.getItem("token");return t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e));he.interceptors.response.use(e=>e.data,e=>(console.error("API Error:",e.response?.data||e.message),Promise.reject(e)));const mt={getMenu:e=>he.get("/menus/all",{params:{domain:e}}),getWebsiteData:e=>he.get("/frontend/website",{params:{domain:e}}),getNews:(e,t)=>he.get("/news",{params:{domain:e,page:t}}),getHrData:(e,t,i)=>he.get("/frontend/employees/hr-employees",{params:{domain:e,page:t,slug:i}}),getInitiatives:(e,t,i)=>he.get("/pages/website-section",{params:{domain:e,page:t,slug:i}}),getFaqs:e=>he.get("/faqs",{params:{domain:e}}),getVideoSliders:e=>he.get("/video-sliders",{params:{domain:e}}),getLeaders:e=>he.get("/cabinetmembers",{params:{domain:e}}),getTenders:(e,t,i)=>he.get("/tenders",{params:{domain:e,page:t,search:i}}),getTendersById:(e,t)=>he.get(`/tenders/${t}`,{params:{domain:e,id:t}}),getContacts:(e,t,i,r)=>he.get("/contacts",{params:{domain:e,page:t,search:i,department_id:r}}),getPioOfficers:(e,t,i,r)=>he.get("/contacts/contact/pio-officer",{params:{domain:e,page:t,search:i,department_id:r}}),getFeedbackReply:(e,t,i)=>he.post("/feedbacks/lookup",{domain:e,contact_number:t,access_code:i}),getServices:(e,t,i,r,l)=>he.get("/services",{params:{domain:e,slug:t,page:i,search:r,...l?{department_uuid:l}:{}}}),getServicesNew:(e,t,i,r)=>he.get("/services/grouped",{params:{domain:e,...t?{slug:t}:{},...i?{search:i}:{},...r?{department_uuid:r}:{}}}),getServicesCategory:e=>he.get("/service-categories",{params:{domain:e}}),getMapJsonData:(e,t)=>he.get(`/frontend/get/code/geojson/${t}`,{params:{domain:e},timeout:3e4}),getTendersForArchive:(e,t,i)=>he.get("/tenders?tender_status=closed",{params:{domain:e,page:t,search:i}}),getJobs:(e,t,i,r)=>he.get("/jobs",{params:{domain:e,page:t,search:i,source:r}}),getJobsDetailById:(e,t)=>he.get(`/jobs/details/${e}`,{params:{domain:t}}),getJobsClosed:(e,t,i,r,l)=>he.get(`/jobs?expiry_date=${t}`,{params:{domain:e,page:i,search:r,source:l}}),getPolls:e=>he.get("/polls",{params:{domain:e}}),getSearchData:(e,t)=>he.get(`/frontend/search?module=pages&keyword=${e}`,{params:{domain:t}}),getEvents:e=>he.get("/events",{params:{domain:e}}),PostPolls:(e,t)=>he.post(`/polls/${t}/vote`,e),PostFeedback:e=>he.post("/feedbacks",e),getDownloadData:e=>he.get("/downloads/category/group",{params:{domain:e}}),getDownloadById:(e,t)=>he.get(`/downloads/${t}`,{params:{domain:e}}),getDomainDataList:(e,t,i)=>he.get("/portal/website-directory/advanced-search?q="+i,{params:{domain:e,page:t}}),getAuctions:(e,t,i)=>he.get("/auctions",{params:{domain:e,page:t,search:i}}),getAuctionById:(e,t)=>he.get(`/auctions/${t}`,{params:{domain:e,id:t}}),getAuctionsForArchive:(e,t,i,r)=>he.get("/auctions",{params:{page:t,...e?{domain:e}:{},...i?{search:i}:{},...r?{expiry_date:r}:{}}}),getDepartmentNotifications:(e,t,i,r)=>he.get("/department-notifications/new",{params:{domain:e,page:t,search:i,date:r}}),getSearchInHome:(e,t,i)=>he.get("/frontend/search",{params:{module:i,keyword:t,domain:e}}),getDepartmentsData:e=>he.get("/frontend/departments/grouped-by-type",{params:{domain:e}}),getKpdigitalService:e=>he.get("/digital-services",{params:{domain:e}}),getKpdigitalServiceDetail:(e,t)=>he.get(`/digital-services/details/${e}`,{params:{domain:t}}),getAllDepartments:e=>he.get("/frontend/departments",{params:{domain:e}}),getNewCabinetMemberData:e=>he.get("/frontend/cabinetmembers/getallmembers/group-by-position-type/positions",{params:{domain:e}}),getCabinetMemberData:e=>he.get("/frontend/cabinetmembers",{params:{domain:e}}),getSecretaryData:e=>he.get("/frontend/employees/grouped-by-position/secretaries",{params:{domain:e}}),getSections:e=>
25he.get("/website-sections",{params:{domain:e}}),getHomeSliders:e=>he.get("/sliders",{params:{domain:e}}),getRulesAndRegulation:(e,t,i,r)=>he.get("/codes",{params:{domain:e,page:t,search:i,year:r}}),getRulesAndRegulationUrdu:(e,t,i,r)=>he.get("/codes/urdu",{params:{domain:e,page:t,search:i,year:r}}),getGallery:e=>he.get("/galleries",{params:{domain:e}}),getJobSource:e=>he.get("/jobs/reference/sources",{params:{domain:e}}),getFooter:e=>he.get("/footer?company_id=1",{params:{domain:e}}),getGovernerGallery:(e,t,i)=>he.get(`/frontend/cabinetmembers/history/${t}`,{params:{domain:e,page:i}}),getMinisterGallery:(e,t)=>he.get(`/frontend/employees/get-employee/current/${t}`,{params:{domain:e}}),getFocalPersons:e=>he.get("contacts/focal-persons",{params:{domain:e}}),getFileManagement:(e,t,i)=>he.get("files-management",{params:{domain:e,category_id:t,search:i}}),getFileCategories:e=>he.get("files-management/categories",{params:{domain:e}}),getAlertBanner:e=>he.get("important-alerts",{params:{domain:e}}),getSearchHome:e=>he.get("/frontend/searchmodules",{params:{domain:e}}),getRelatedLinks:(e,t)=>he.get(`pages/page-detail?module_template=${t}`,{params:{domain:e}}),getNewsById:(e,t)=>he.get(`/news/details/${e}`,{params:t?{domain:t}:void 0}),getServiceDetailById:(e,t)=>he.get(`/services/details/${e}`,{params:t?{domain:t}:void 0}),getPagesDetailById:(e,t)=>he.get(`/pages/details/${e}`,{params:t?{domain:t}:void 0}),getPersonDetailById:(e,t)=>he.get(`/people/slug/${e}`,{params:t?{domain:t}:void 0}),getPersonDetailRelatedLinks:(e,t)=>he.get("/pages/page-detail?module_template=our_heroes",{params:t?{domain:t}:void 0}),getDetailPageById:(e,t)=>he.get(`/pages/details/${e}`,{params:t?{domain:t}:void 0}),trackAnalytics:e=>he.post("/analytics/track",e),getAnalytics:e=>he.post("/analytics/website-views",e)},f3=x.createContext(void 0),IA=({children:e})=>{const t=Zt(),[i,r]=x.useState(null),[l,u]=x.useState(null),[c,m]=x.useState(null),[d,p]=x.useState(null),[g,y]=x.useState(null),[S,C]=x.useState(null),[w,T]=x.useState(null),[E,A]=x.useState(null),[R,N]=x.useState(null),[P,D]=x.useState(null),[U,H]=x.useState(!1),[I,L]=x.useState(null),[ie,ce]=x.useState(!1),[ne,oe]=x.useState(null),[fe,X]=x.useState(!0),[q,ae]=x.useState(null),ee=window.location.hostname,W=ee==="kp.gov.pk"||ee==="www.kp.gov.pk",O="bg-linear-to-r from-indigo-600 via-sky-600 to-emerald-600 bg-clip-text text-transparent",z=x.useMemo(()=>{const ue=window.location.hostname.toLowerCase();if(ue==="kp.gov.pk"||ue==="www.kp.gov.pk")return"";const Ae=ue.split(".");if(Ae.length>3&&ue.endsWith(".kp.gov.pk")){const ge=Ae.slice(0,-3).join(".");return ge==="www"||ge==="kp"?"":ge}return""},[]),Y=t.pathname==="/"||t.pathname==="/home",K=x.useCallback(async()=>{ae(null),H(!1);try{const ue=await mt.getWebsiteData(z);N(ue.data),X(!0);const[Ae,ge,Ne,Oe,Ie,at,Xe]=await Promise.all([mt.getMenu(z),Y?mt.getNews(z):Promise.resolve(null),mt.getFocalPersons(z),Y?mt.getPolls(z):Promise.resolve(null),mt.getFooter(z),Y?mt.getHomeSliders(z):Promise.resolve(null),Y?mt.getVideoSliders(z):Promise.resolve(null)]);r(Ae.data.header_menu),u(Ae.data.footer_menu),m(Ae.data.quick_menu),p(ge?ge.data:null),D(Ne.data??[]),y(Oe?Oe.data:null),C(Ie.data),T(at?at.data:null),A(Xe?Xe.data:null)}catch(ue){console.error("Error fetching home data:",ue),ae(ue),gt.isAxiosError(ue)&&ue.response?.status===404&&H(!0)}finally{X(!1)}},[z,Y]),J=x.useCallback(async(ue=!1)=>{if(!Y){L(null);return}const Ae=`sections_${z}`;I!==null||ce(!0),oe(null);try{if(W&&!ue){const Oe=sessionStorage.getItem(Ae);if(Oe){L(JSON.parse(Oe)),ce(!1);return}}const Ne=await mt.getSections(z);L(Ne.data),W&&sessionStorage.setItem(Ae,JSON.stringify(Ne.data))}catch(Ne){console.error("Error fetching sections:",Ne),oe(Ne)}finally{ce(!1)}},[z,Y,W]);x.useEffect(()=>{K()},[K]),x.useEffect(()=>{J(!1)},[J]);const le={menu:i,loading:fe,error:q,news:d,mainDomainTrue:W,text_gredient:O,sectionsLoading:ie,sectionsError:ne,pollsData:g,sections:I,homeSliders:w,videoSliders:E,basicInfo:R,footerData:S,quickLinks:c,footerMenu:l,domain:z,list:P,websiteNotFound:U};return h.jsx(f3.Provider,{value:le,children:e})},kt=()=>{const e=x.useContext(f3);if(!e)throw new Error("useHome must be used within a HomeProvider");return e};var d3={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},m2=Qe.createContext&&Qe.createContext(d3),qA=["attr","size","title"];function $A(e,t){if(e==null)return{};var i=GA(e,t),r,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(l=0;l<u.length;l++)r=u[l],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function GA(e,t){if(e==null)return{};var i={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;i[r]=e[r]}return i}function oc(){return oc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},oc.apply(this,arguments)}function p2(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),i.push.apply(i,r)}return i}function uc(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};
vendor: 2,082 bytes, line 25
25t%2?p2(Object(i),!0).forEach(function(r){YA(e,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):p2(Object(i)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(i,r))})}return e}function YA(e,t,i){return t=KA(t),t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function KA(e){var t=XA(e,"string");return typeof t=="symbol"?t:t+""}function XA(e,t){if(typeof e!="object"||!e)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var r=i.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function h3(e){return e&&e.map((t,i)=>Qe.createElement(t.tag,uc({key:i},t.attr),h3(t.child)))}function xe(e){return t=>Qe.createElement(QA,oc({attr:uc({},e.attr)},t),h3(e.child))}function QA(e){var t=i=>{var{attr:r,size:l,title:u}=e,c=$A(e,qA),m=l||i.size||"1em",d;return i.className&&(d=i.className),e.className&&(d=(d?d+" ":"")+e.className),Qe.createElement("svg",oc({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},i.attr,r,c,{className:d,style:uc(uc({color:e.color||i.color},i.style),e.style),height:m,width:m,xmlns:"http://www.w3.org/2000/svg"}),u&&Qe.createElement("title",null,u),e.children)};return m2!==void 0?Qe.createElement(m2.Consumer,null,i=>t(i)):t(d3)}function WA(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM127 384.5c-5.5 9.6-17.8 12.8-27.3 7.3-9.6-5.5-12.8-17.8-7.3-27.3l14.3-24.7c16.1-4.9 29.3-1.1 39.6 11.4L127 384.5zm138.9-53.9H84c-11 0-20-9-20-20s9-20 20-20h51l65.4-113.2-20.5-35.4c-5.5-9.6-2.2-21.8 7.3-27.3 9.6-5.5 21.8-2.2 27.3 7.3l8.9 15.4 8.9-15.4c5.5-9.6 17.8-12.8 27.3-7.3 9.6 5.5 12.8 17.8 7.3 27.3l-85.8 148.6h62.1c20.2 0 31.5 23.7 22.7 40zm98.1 0h-29l19.6 33.9c5.5 9.6 2.2 21.8-7.3 27.3-9.6 5.5-21.8 2.2-27.3-7.3-32.9-56.9-57.5-99.7-74-128.1-16.7-29-4.8-58 7.1-67.8 13.1 22.7 32.7 56.7 58.9 102h52
25c11 0 20 9 20 20 0 11.1-9 20-20 20z"},child:[]}]})(e)}function ZA(e){return xe({attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"},child:[]}]})(e)}function JA(e){return xe({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M232 237.2c31.8-15.2 48.4-38.2 48.4-74 0-70.6-52.6-87.8-113.3-87.8H0v354.4h171.8c64.4 0 124.9-30.9 124.9-102.9 0-44.5-21.1-77.4-64.7-89.7zM77.9 135.9H151c28.1 0 53.4 7.9 53.4 40.5 0 30.1-19.7 42.2-47.5 42.2h-79v-82.7zm83.3 233.7H77.9V272h84.9c34.3 0 56 14.3 56 50.6 0 35.8-25.9 47-57.6 47zm358.5-240.7H376V94h143.7v34.9zM576 305.2c0-75.9-44.4-139.2-124.9-139.2-78.2 0-131.3 58.8-131.3 135.8 0 79.9 50.3 134.7 131.3 134.7 61.3 0 101-27.6 120.1-86.3H509c-6.7 21.9-34.3 33.5-55.7 33.5-41.3 0-63-24.2-63-65.3h185.1c.3-4.2.6-8.7.6-13.2zM390.4 274c2.3-33.7 24.7-54.8 58.5-54.8 35.4 0 53.2 20.8 56.2 54.8H390.4z"},child:[]}]})(e)}function ej(e){return xe({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"},child:[]}]})(e)}function tj(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.252 8 8 119.252 8 256s111.252 248 248 248 248-111.252 248-248S392.748 8 256 8zm163.97 114.366c29.503 36.046 47.369 81.957 47.835 131.955-6.984-1.477-77.018-15.682-147.502-6.818-5.752-14.041-11.181-26.393-18.617-41.614 78.321-31.977 113.818-77.482 118.284-83.523zM396.421 97.87c-3.81 5.427-35.697 48.286-111.021 76.519-34.712-63.776-73.185-116.168-79.04-124.008 67.176-16.193 137.966 1.27 190.061 47.489zm-230.48-33.25c5.585 7.659 43.438 60.116 78.537 122.509-99.087 26.313-186.36 25.934-195.834 25.809C62.38 147.205 106.678 92.573 165.941 64.62zM44.17 256.323c0-2.166.043-4.322.108-6.473 9.268.19 111.92 1.513 217.706-30.146 6.064 11.868 11.857 23.915 17.174 35.949-76.599 21.575-146.194 83.527-180.531 142.306C64.794 360.405 44.17 310.73 44.17 256.323zm81.807 167.113c22.127-45.233 82.178-103.622 167.579-132.756 29.74 77.283 42.039 142.053 45.189 160.638-68.112 29.013-150.015 21.053-212.768-27.882zm248.38 8.489c-2.171-12.886-13.446-74.897-41.152-151.033 66.38-10.626 124.7 6.768 131.947 9.055-9.442 58.941-43.273 109.844-90.795 141.978z"},child:[]}]})(e)}function g2(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z"},child:[]}]})(e)}function nj(e){return xe({attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"},child:[]}]})(e)}function aj(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M503.5 204.6L502.8 202.8L433.1 21.02C431.7 17.45 429.2 14.43 425.9 12.38C423.5 10.83 420.8 9.865 417.9 9.57C415 9.275 412.2 9.653 409.5 10.68C406.8 11.7 404.4 13.34 402.4 15.46C400.5 17.58 399.1 20.13 398.3 22.9L351.3 166.9H160.8L113.7 22.9C112.9 20.13
25111.5 17.59 109.6 15.47C107.6 13.35 105.2 11.72 102.5 10.7C99.86 9.675 96.98 9.295 94.12 9.587C91.26 9.878 88.51 10.83 86.08 12.38C82.84 14.43 80.33 17.45 78.92 21.02L9.267 202.8L8.543 204.6C-1.484 230.8-2.72 259.6 5.023 286.6C12.77 313.5 29.07 337.3 51.47 354.2L51.74 354.4L52.33 354.8L158.3 434.3L210.9 474L242.9 498.2C246.6 500.1 251.2 502.5 255.9 502.5C260.6 502.5 265.2 500.1 268.9 498.2L300.9 474L353.5 434.3L460.2 354.4L460.5 354.1C482.9 337.2 499.2 313.5 506.1 286.6C514.7 259.6 513.5 230.8 503.5 204.6z"},child:[]}]})(e)}function v2(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M325.3 234.3L104.6 13l280.8 161.2-60.1 60.1zM47 0C34 6.8 25.3 19.2 25.3 35.3v441.3c0 16.1 8.7 28.5 21.7 35.3l256.6-256L47 0zm425.2 225.6l-58.9-34.1-65.7 64.5 65.7 64.5 60.1-34.1c18-14.3 18-46.5-1.2-60.8zM104.6 499l280.8-161.2-60.1-60.1L104.6 499z"},child:[]}]})(e)}function ij(e){return xe({attr:{viewBox:"0 0 488 512"},child:[{tag:"path",attr:{d:"M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z"},child:[]}]})(e)}function y2(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"},child:[]}]})(e)}function b2(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"},child:[]}]})(e)}function rj(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.54 102.54 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5zm-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z"},child:[]}]})(e)}function sj(e){return xe({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M180.5,74.262C80.813,74.262,0,155.633,0,256S80.819,437.738,180.5,437.738,361,356.373,361,256,280.191,74.262,180.5,74.262Zm288.25,10.646c-49.845,0-90.245,76.619-90.245,171.095s40.406,171.1,90.251,171.1,90.251-76.619,90.251-171.1H559C559,161.5,518.6,84.908,468.752,84.908Zm139.506,17.821c-17.526,0-31.735,68.628-31.735,153.274s14.2,153.274,31.735,153.274S640,340.631,640,256C640,171.351,625.785,102.729,608.258,102.729Z"},child:[]}]})(e)}function lj(e){return xe({attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z"},child:[]}]})(e)}function oj(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M440.5 386.7h-29.3c-1.5 13.5-10.5 30.8-33 30.8-20.5 0-35.3-14.2-49.5-35.8 44.2-34.2 74.7-87.5 74.7-153C403.5 111.2 306.8 32 205 32 105.3 32 7.3 111.7 7.3 228.7c0 134.1 131.3 221.6 249 189C276 451.3 302 480 351.5 480c81.8 0 90.8-75.3 89-93.3zM297 329.2C277.5 300 253.3 277 205.5 277c-30.5 0-54.3 10-69 22.8l12.2 24.3c6.2-3 13-4 19.8-4 35.5 0 53.7 30.8 69.2 61.3-10 3-20.7 4.2-32.7 4.2-75 0-107.5-53-107.5-156.7C97.5 124.5 130 71 205 71c76.2 0 108.7 53.5 108.7 157.7.1 41.8-5.4 75.6-16.7 100.5z"},child:[]}]})(e)}function uj(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M0 256C0 114.6 114.6 0 256 0S512 114.6 512 256s-114.6 256-256 256L37.1 512c-13.7 0-20.5-16.5-10.9-26.2L75 437C28.7 390.7 0 326.7 0 256zM349.6 153.6c23.6 0 42.7-19.1 42.7-42.7s-19.1-42.7-42.7-42.7c-20.6 0-37.8 14.6-41.8 34c-34.5 3.7-61.4 33-61.4 68.4l0 .2c-37.5 1.6-71.8 12.3-99 29.1c-10.1-7.8-22.8-12.5-36.5-12.5c-33 0-59.8 26.8-59.8 59.8c0 24 14.1 44.6 34.4 54.1c2 69.4 77.6 125.2 170.6 125.2s168.7-55.9 170.6-125.3c20.2-9.6 34.1-30.2 34.1-54c0-33-26.8-59.8-59.8-59.8c-13.7 0-26.3 4.6-36.4 12.4c-27.4-17-62.1-27.7-100-29.1l0-.2c0-25.4 18.9-46.5 43.4-49.9l0 0c4.4 18.8 21.3 32.8 41.5 32.8zM177.1 246.9c16.7 0 29.5 17.6 28.5 39.3s-13.5 29.6-30.3 29.6s-31.4-8.8-30.4-30.5s15.4-38.3 32.1-38.3zm190.1 38.3c1 21.7-13.7 30.5-30.4 30.5s-29.3-7.9-30.3-29.6c-1-21.7 11.8-39.3 28.5-39.3s31.2 16.6 32.1 38.3zm-48.1 56.7c-10.3 24.6-34.6 41.9-63 41.9s-52.7-17.3-63-41.9c-1.2-2.9 .8-6.2 3.9-6.5c18.4-1.9 38.3-2.9 59.1-2.9s40.7 1 59.1 2.9c3.1 .3 5.1 3.6 3.9 6.5z"},child:[]}]})(e)}function cj(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.7 299.8c2.9-14 4.7-28.9 4.7-43.8 0-113.5-91.9-205.3-205.3-205.3-14.9 0-29.7 1.7-43.8 4.7C161.3 40.7 137.7 32 112 32 50.2 32 0 82.2 0 144c0 25.7 8.7 49.3 23.3 68.2-2.9 14-4.7 28.9-4.7 43.8 0 113.5 91.9 205.3 205.3 205.3 14.9 0 29.7-1.7 43.8-4.7 19 14.6 42.6 23.3 68.2 23.3 61.8 0 112-50.2 112-112 .1-25.6-8.6-49.2-23.2-68.1zm-194.6 91.5c-6
255.6 0-120.5-29.2-120.5-65 0-16 9-30.6 29.5-30.6 31.2 0 34.1 44.9 88.1 44.9 25.7 0 42.3-11.4 42.3-26.3 0-18.7-16-21.6-42-28-62.5-15.4-117.8-22-117.8-87.2 0-59.2 58.6-81.1 109.1-81.1 55.1 0 110.8 21.9 110.8 55.4 0 16.9-11.4 31.8-30.3 31.8-28.3 0-29.2-33.5-75-33.5-25.7 0-42 7-42 22.5 0 19.8 20.8 21.8 69.1 33 41.4 9.3 90.7 26.8 90.7 77.6 0 59.1-57.1 86.5-112 86.5z"},child:[]}]})(e)}function fj(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M94.12 315.1c0 25.9-21.16 47.06-47.06 47.06S0 341 0 315.1c0-25.9 21.16-47.06 47.06-47.06h47.06v47.06zm23.72 0c0-25.9 21.16-47.06 47.06-47.06s47.06 21.16 47.06 47.06v117.84c0 25.9-21.16 47.06-47.06 47.06s-47.06-21.16-47.06-47.06V315.1zm47.06-188.98c-25.9 0-47.06-21.16-47.06-47.06S139 32 164.9 32s47.06 21.16 47.06 47.06v47.06H164.9zm0 23.72c25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06H47.06C21.16 243.96 0 222.8 0 196.9s21.16-47.06 47.06-47.06H164.9zm188.98 47.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06s-21.16 47.06-47.06 47.06h-47.06V196.9zm-23.72 0c0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06V79.06c0-25.9 21.16-47.06 47.06-47.06 25.9 0 47.06 21.16 47.06 47.06V196.9zM283.1 385.88c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06-25.9 0-47.06-21.16-47.06-47.06v-47.06h47.06zm0-23.72c-25.9 0-47.06-21.16-47.06-47.06 0-25.9 21.16-47.06 47.06-47.06h117.84c25.9 0 47.06 21.16 47.06 47.06 0 25.9-21.16 47.06-47.06 47.06H283.1z"},child:[]}]})(e)}function dj(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496.926,366.6c-3.373-9.176-9.8-14.086-17.112-18.153-1.376-.806-2.641-1.451-3.72-1.947-2.182-1.128-4.414-2.22-6.634-3.373-22.8-12.09-40.609-27.341-52.959-45.42a102.889,102.889,0,0,1-9.089-16.12c-1.054-3.013-1-4.724-.248-6.287a10.221,10.221,0,0,1,2.914-3.038c3.918-2.591,7.96-5.22,10.7-6.993,4.885-3.162,8.754-5.667,11.246-7.44,9.362-6.547,15.909-13.5,20-21.278a42.371,42.371,0,0,0,2.1-35.191c-6.2-16.318-21.613-26.449-40.287-26.449a55.543,55.543,0,0,0-11.718,1.24c-1.029.224-2.059.459-3.063.72.174-11.16-.074-22.94-1.066-34.534-3.522-40.758-17.794-62.123-32.674-79.16A130.167,130.167,0,0,0,332.1,36.443C309.515,23.547,283.91,17,256,17S202.6,23.547,180,36.443a129.735,129.735,0,0,0-33.281,26.783c-14.88,17.038-29.152,38.44-32.673,79.161-.992,11.594-1.24,23.435-1.079,34.533-1-.26-2.021-.5-3.051-.719a55.461,55.461,0,0,0-11.717-1.24c-18.687,0-34.125,10.131-40.3,26.449a42.423,42.423,0,0,0,2.046,35.228c4.105,7.774,10.652,14.731,20.014,21.278,2.48,1.736,6.361,4.24,11.246,7.44,2.641,1.711,6.5,4.216,10.28,6.72a11.054,11.054,0,0,1,3.3,3.311c.794,1.624.818,3.373-.36,6.6a102.02,102.02,0,0,1-8.94,15.785c-12.077,17.669-29.363,32.648-51.434,44.639C32.355,348.608,20.2,352.75,15.069,366.7c-3.868,10.528-1.339,22.506,8.494,32.6a49.137,49.137,0,0,0,12.4,9.387,134.337,134.337,0,0,0,30.342,12.139,20.024,20.024,0,0,1,6.126,2.741c3.583,3.137,3.075,7.861,7.849,14.78a34.468,34.468,0,0,0,8.977,9.127c10.019,6.919,21.278,7.353,33.207,7.811,10.776.41,22.989.881,36.939,5.481,5.778,1.91,11.78,5.605,18.736,9.92C194.842,480.951,217.707,495,255.973,495s61.292-14.123,78.118-24.428c6.907-4.24,12.872-7.9,18.489-9.758,13.949-4.613,26.163-5.072,36.939-5.481,11.928-.459,23.187-.893,33.206-7.812a34.584,34.584,0,0,0,10.218-11.16c3.434-5.84,3.348-9.919,6.572-12.771a18.971,18.971,0,0,1,5.753-2.629A134.893,134.893,0,0,0,476.02,408.71a48.344,48.344,0,0,0,13.019-10.193l.124-.149C498.389,388.5,500.708,376.867,496.926,366.6Zm-34.013,18.277c-20.745,11.458-34.533,10.23-45.259,17.137-9.114,5.865-3.72,18.513-10.342,23.076-8.134,5.617-32.177-.4-63.239,9.858-25.618,8.469-41.961,32.822-88.038,32.822s-62.036-24.3-88.076-32.884c-31-10.255-55.092-4.241-63.239-9.858-6.609-4.563-1.24-17.211-10.341-23.076-10.739-6.907-24.527-5.679-45.26-17.075-13.206-7.291-5.716-11.8-1.314-13.937,75.143-36.381,87.133-92.552,87.666-96.719.645-5.046,1.364-9.014-4.191-14.148-5.369-4.96-29.189-19.7-35.8-24.316-10.937-7.638-15.748-15.264-12.2-24.638,2.48-6.485,8.531-8.928,14.879-8.928a27.643,27.643,0,0,1,5.965.67c12,2.6,23.659,8.617,30.392,10.242a10.749,10.749,0,0,0,2.48.335c3.6,0,4.86-1.811,4.612-5.927-.768-13.132-2.628-38.725-.558-62.644,2.84-32.909,13.442-49.215,26.04-63.636,6.051-6.932,34.484-36.976,88.857-36.976s82.88,29.92,88.931,36.827c12.611,14.421,23.225,30.727,26.04,63.636,2.071,23.919.285,49.525-.558,62.644-.285,4.327,1.017,5.927,4.613,5.927a10.648,10.648,0,0,0,2.48-.335c6.745-1.624,18.4-7.638,30.4-10.242a27.641,27.641,0,0,1,5.964-.67c6.386,0,12.4,2.48,14.88,8.928,3.546,9.374-1.24,17-12.189,24.639-6.609,4.612-30.429,19.343-35.8,24.315-5.568,5.134-4.836,9.1-4.191,14.149.533,4.228,12.511,60.4,87.666,96.718C468.629,373.011,476.119,377.524,462.913,384.877Z"},child:[]}]})(e)}function hj(e){return xe({attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M639.8 298.6c-1.3 23.1-11.5 44.8-28.4 60.5s-39.2 24.4-62.3 24.1h-218c-4.8 0-9.4-2-12.8-5.4s-5.3-8-5.3-12.8V130.2c-.2-4 .9-8 3.1-11.4s5.3-6.1 9-7.7c0 0 20.1-13.9 62.3-13.9c25.8 0 51.1 6.9 73.3 20.1c17.3 10.2 32.3 23.8 44.1 40.1s20 34.8 24.2 54.4c7.5-2.1 15.3-3.2 23.1-3.2c11.7-.1 23.3 2.2 34.2 6.7S606.8 226.6 615 235s14.6 18.3 18.9 29.3s6.3 22.6 5.9 34.3zm-354-153.5c.1-1 0-2-.3-2.9s-.8-1.8-1.5-2.6s-1.5-1.3-2.4-1.7s-1.9-.6-2.9-.6s-2 .2-2.9 .6s-1.7 1-2.4 1.7s-1.2 1.6-1.5 2.6s-.4 1.9-.3 2.9c-6 78.9-10.6 152.9 0 231.6c.2 1.7 1 3.3 2.3 4.5s3 1.8 4.7 1.8s3.4-.6 4.7-1.8s2.1-2.8 2.3-4.5c11.3-79.4 6.6-152 0-231.6zm-44 27.3c-.2-1.8-1.1-3.5-2.4-4.7s-3.1-1.9-5-1.9s-3.6 .7-5 1.9s-2.2 2.9-2.4 4.7c-7.9 67.9-7.9 136.5 0 204.4c.3 1.8 1.2 3.4 2.5 4.5s3.1 1.8 4.8 1.8s3.5-.6 4.8-1.8s2.2-2.8 2.5-4.5c8.8-67.8 8.8-136.5 .1-204.4zm-44.3-6.9c-.2-1.8-1-3.4-2.3-4.6s-3-1.8-4.8-1.8s-3.5 .7-4.8 1.8s-2.1 2.8-2.3 4.6c-6.7 72-10.2 139.3 0 211.1c0 1.9 .7 3.7 2.1 5s3.1 2.1 5 2.1s3.7-.7 5-2.1s2.1-3.1 2.1-5c10.5-72.8 7.3-138.2 .1-211.1zm-44 20.6c0-1.9-.8-3.8-2.1-5.2s-3.2-2.1-5.2-2.1s-3.8 .8-5.2 2.1s-2.1 3.2-2.1 5.2c-8.1 63.3-8.1 127.5 0 190.8c.2 1.8 1 3.4 2.4 4.6s3.1 1.9 4.8 1.9s3.5-.7 4.8-1.9s2.2-2.8 2.4-4.6c8.8-63.3 8.9-127.5 .3-190.8zM109 233.7c0-1.9-.8-3.8-2.1-5.1s-3.2-2.1-5.1-2.1s-3.8 .8-5.1 2.1s-2.1 3.2-2.1 5.1c-10.5 49.2-5.5 93.9 .4 143.6c.3 1.6 1.1 3.1 2.3 4.2s2.8 1.7 4.5 1.7s3.2-.6 4.5-1.7s2.1-2.5 2.3-4.2c6.6-50.4 11.6-94.1 .4
25-143.6zm-44.1-7.5c-.2-1.8-1.1-3.5-2.4-4.8s-3.2-1.9-5-1.9s-3.6 .7-5 1.9s-2.2 2.9-2.4 4.8c-9.3 50.2-6.2 94.4 .3 144.5c.7 7.6 13.6 7.5 14.4 0c7.2-50.9 10.5-93.8 .3-144.5zM20.3 250.8c-.2-1.8-1.1-3.5-2.4-4.8s-3.2-1.9-5-1.9s-3.6 .7-5 1.9s-2.3 2.9-2.4 4.8c-8.5 33.7-5.9 61.6 .6 95.4c.2 1.7 1 3.3 2.3 4.4s2.9 1.8 4.7 1.8s3.4-.6 4.7-1.8s2.1-2.7 2.3-4.4c7.5-34.5 11.2-61.8 .4-95.4z"},child:[]}]})(e)}function mj(e){return xe({attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111.1 8 0 119.1 0 256s111.1 248 248 248 248-111.1 248-248S384.9 8 248 8zm100.7 364.9c-4.2 0-6.8-1.3-10.7-3.6-62.4-37.6-135-39.2-206.7-24.5-3.9 1-9 2.6-11.9 2.6-9.7 0-15.8-7.7-15.8-15.8 0-10.3 6.1-15.2 13.6-16.8 81.9-18.1 165.6-16.5 237 26.2 6.1 3.9 9.7 7.4 9.7 16.5s-7.1 15.4-15.2 15.4zm26.9-65.6c-5.2 0-8.7-2.3-12.3-4.2-62.5-37-155.7-51.9-238.6-29.4-4.8 1.3-7.4 2.6-11.9 2.6-10.7 0-19.4-8.7-19.4-19.4s5.2-17.8 15.5-20.7c27.8-7.8 56.2-13.6 97.8-13.6 64.9 0 127.6 16.1 177 45.5 8.1 4.8 11.3 11 11.3 19.7-.1 10.8-8.5 19.5-19.4 19.5zm31-76.2c-5.2 0-8.4-1.3-12.9-3.9-71.2-42.5-198.5-52.7-280.9-29.7-3.6 1-8.1 2.6-12.9 2.6-13.2 0-23.3-10.3-23.3-23.6 0-13.6 8.4-21.3 17.4-23.9 35.2-10.3 74.6-15.2 117.5-15.2 73 0 149.5 15.2 205.4 47.8 7.8 4.5 12.9 10.7 12.9 22.6 0 13.6-11 23.3-23.2 23.3z"},child:[]}]})(e)}function x2(e){return xe({attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M290.7 311L95 269.7 86.8 309l195.7 41zm51-87L188.2 95.7l-25.5 30.8 153.5 128.3zm-31.2 39.7L129.2 179l-16.7 36.5L293.7 300zM262 32l-32 24 119.3 160.3 32-24zm20.5 328h-200v39.7h200zm39.7 80H42.7V320h-40v160h359.5V320h-40z"},child:[]}]})(e)}function pj(e){return xe({attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248,8C111.033,8,0,119.033,0,256S111.033,504,248,504,496,392.967,496,256,384.967,8,248,8ZM362.952,176.66c-3.732,39.215-19.881,134.378-28.1,178.3-3.476,18.584-10.322,24.816-16.948,25.425-14.4,1.326-25.338-9.517-39.287-18.661-21.827-14.308-34.158-23.215-55.346-37.177-24.485-16.135-8.612-25,5.342-39.5,3.652-3.793,67.107-61.51,68.335-66.746.153-.655.3-3.1-1.154-4.384s-3.59-.849-5.135-.5q-3.283.746-104.608,69.142-14.845,10.194-26.894,9.934c-8.855-.191-25.888-5.006-38.551-9.123-15.531-5.048-27.875-7.717-26.8-16.291q.84-6.7,18.45-13.7,108.446-47.248,144.628-62.3c68.872-28.647,83.183-33.623,92.511-33.789,2.052-.034,6.639.474,9.61,2.885a10.452,10.452,0,0,1,3.53,6.716A43.765,43.765,0,0,1,362.952,176.66Z"},child:[]}]})(e)}function gj(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M331.5 235.7c2.2 .9 4.2 1.9 6.3 2.8c29.2 14.1 50.6 35.2 61.8 61.4c15.7 36.5 17.2 95.8-30.3 143.2c-36.2 36.2-80.3 52.5-142.6 53h-.3c-70.2-.5-124.1-24.1-160.4-70.2c-32.3-41-48.9-98.1-49.5-169.6V256v-.2C17 184.3 33.6 127.2 65.9 86.2C102.2 40.1 156.2 16.5 226.4 16h.3c70.3 .5 124.9 24 162.3 69.9c18.4 22.7 32 50 40.6 81.7l-40.4 10.8c-7.1-25.8-17.8-47.8-32.2-65.4c-29.2-35.8-73-54.2-130.5-54.6c-57 .5-100.1 18.8-128.2 54.4C72.1 146.1 58.5 194.3 58 256c.5 61.7 14.1 109.9 40.3 143.3c28 35.6 71.2 53.9 128.2 54.4c51.4-.4 85.4-12.6 113.7-40.9c32.3-32.2 31.7-71.8 21.4-95.9c-6.1-14.2-17.1-26-31.9-34.9c-3.7 26.9-11.8 48.3-24.7 64.8c-17.1 21.8-41.4 33.6-72.7 35.3c-23.6 1.3-46.3-4.4-63.9-16c-20.8-13.8-33-34.8-34.3-59.3c-2.5-48.3 35.7-83 95.2-86.4c21.1-1.2 40.9-.3 59.2 2.8c-2.4-14.8-7.3-26.6-14.6-35.2c-10-11.7-25.6-17.7-46.2-17.8H227c-16.6 0-39 4.6-53.3 26.3l-34.4-23.6c19.2-29.1 50.3-45.1 87.8-45.1h.8c62.6 .4 99.9 39.5 103.7 107.7l-.2 .2zm-156 68.8c1.3 25.1 28.4 36.8 54.6 35.3c25.6-1.4 54.6-11.4 59.5-73.2c-13.2-2.9-27.8-4.4-43.4-4.4c-4.8 0-9.6 .1-14.4 .4c-42.9 2.4-57.2 23.2-56.2 41.8l-.1 .1z"},child:[]}]})(e)}function vj(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"},child:[]}]})(e)}function yj(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M391.17,103.47H352.54v109.7h38.63ZM285,103H246.37V212.75H285ZM120.83,0,24.31,91.42V420.58H140.14V512l96.53-91.42h77.25L487.69,256V0ZM449.07,237.75l-77.22,73.12H294.61l-67.6,64v-64H140.14V36.58H449.07Z"},child:[]}]})(e)}function bj(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M403.2 32H44.8C20.1 32 0 52.1 0 76.8v358.4C0 459.9 20.1 480 44.8 480h358.4c24.7 0 44.8-20.1 44.8-44.8V76.8c0-24.7-20.1-44.8-44.8-44.8zM377 180.8c-1.4 31.5-23.4 74.7-66 129.4-44 57.2-81.3 85.8-111.7 85.8-18.9 0-34.8-17.4-47.9-52.3-25.5-93.3-36.4-148-57.4-148-2.4 0-10.9 5.
251-25.4 15.2l-15.2-19.6c37.3-32.8 72.9-69.2 95.2-71.2 25.2-2.4 40.7 14.8 46.5 51.7 20.7 131.2 29.9 151 67.6 91.6 13.5-21.4 20.8-37.7 21.8-48.9 3.5-33.2-25.9-30.9-45.8-22.4 15.9-52.1 46.3-77.4 91.2-76 33.3.9 49 22.5 47.1 64.7z"},child:[]}]})(e)}function xj(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"},child:[]}]})(e)}function Ol(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"},child:[]}]})(e)}function S2(e){return xe({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"},child:[]}]})(e)}function dk(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-6
255.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"},child:[]}]})(e)}function hk(e){return xe({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"},child:[]}]})(e)}function Eu(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M352 256c0 22.2-1.2 43.6-3.3 64l-185.3 0c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64l185.3 0c2.2 20.4 3.3 41.8 3.3 64zm28.8-64l123.1 0c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64l-123.1 0c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32l-116.7 0c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0l-176.6 0c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0L18.6 160C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192l123.1 0c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64L8.1 320C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6l176.6 0c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352l116.7 0zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6l116.7 0z"},child:[]}]})(e)}function mk(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"},child:[]}]})(e)}function pk(e){return xe({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"},child:[]}]})(e)}function gk(e){return xe({attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"},child:[]}]})(e)}const Sj=({config:e})=>{const{basicInfo:t,quickLinks:i,footerMenu:r}=kt(),l=Array.isArray(e)?e:[],u=On(),c=t?.extra_social_media,m=Array.isArray(c)&&c.length>0,d=[{icon:"facebook",link:t?.social_media?.facebook_url},{icon:"instagram",link:t?.social_media?.instagram_url},{icon:"twitter",link:t?.social_media?.twitter_url},{icon:"youtube",link:t?.social_media?.youtube_url}].filter(A=>A.link),p=m?[...c].sort((A,R)=>(A.sort_order??0)-(R.sort_order??0)):d,g=l.find(A=>A.slug?.includes("related-links"))||l.find(A=>A.title?.toLowerCase()==="related links"),y=l.find(A=>A.slug?.includes("privacy-policy"))||l.find(A=>A.title?.toLowerCase()==="privacy policy"),S=l.find(A=>A.slug?.includes("conditions"))||l.find(A=>A.title?.toLowerCase()==="Terms & Conditions"),C={leftText:`© All Copyright ${new Date().getFullYear()} by KP Web Portal`,rightLinks:[S?.slug?{label:"Terms & Conditions",href:`/pages-detail/${S.slug}`}:null,y?.slug?{label:"Privacy Policy",href:`/pages-detail/${y.slug}`}:null].filter(Boolean)};x.useEffect(()=>{const A=document.createElement("script");
25A.async=!0,A.src="https://www.googletagmanager.com/gtag/js?id=G-MJ0H4X105E",document.head.appendChild(A);const R=document.createElement("script");return R.innerHTML=` 26
vendor: 139 bytes, lines 26-29
26window.dataLayer = window.dataLayer || []; 27 function gtag(){dataLayer.push(arguments);} 28 gtag('js', new Date()); 29 gtag('config', '
29G-MJ0H4X105E
vendor: 6 bytes, lines 29-30
29'); 30
30`,document.head.appendChild(R),()=>{document.head.removeChild(A),document.head.removeChild(R)}},[]);const w={facebook:g2,fb:g2,instagram:y2,insta:y2,twitter:Ol,x:Ol,x_twitter:Ol,youtube:S2,yt:S2,linkedin:b2,linkedIn:b2,tiktok:vj,snapchat:dj,pinterest:lj,reddit:uj,whatsapp:xj,telegram:pj,discord:ej,github:nj,gitlab:aj,dribbble:tj,behance:JA,medium:sj,skype:cj,vimeo:bj,twitch:yj,spotify:mj,soundcloud:hj,apple:ZA,google:ij,google_play:v2,playstore:v2,app_store:WA,threads:gj,mastodon:rj,slack:fj,stackoverflow:x2,stack_overflow:x2,quora:oj,website:Eu,web:Eu,globe:Eu,link:Eu},T=(r?.items?.length??0)>6,E=A=>!A||A==="#"?"#":A.startsWith("http")||A.startsWith("/")?A:`/${A}`;return h.jsxs("footer",{className:["relative overflow-hidden ","text-white","background-linear","border-t border-white/10"].join(" "),children:[h.jsx(wj,{}),r?.items?.length>0&&h.jsxs("div",{className:"relative overflow-hidden border-b border-emerald-400/15 bg-linear-to-r from-[#189872] via-[#038090] to-[#046da2]",children:[h.jsxs("div",{className:"pointer-events-none absolute inset-0 opacity-40",children:[h.jsx("div",{className:"absolute -left-20 top-1/2 h-40 w-40 -translate-y-1/2 rounded-full bg-emerald-400/20 blur-3xl animate-pulse"}),h.jsx("div",{className:"absolute -right-20 top-1/2 h-40 w-40 -translate-y-1/2 rounded-full bg-emerald-300/10 blur-3xl animate-pulse"})]}),h.jsx("div",{className:"relative mx-auto flex max-w-7xl flex-col gap-3 px-4 py-3 md:flex-row md:items-center md:justify-between",children:h.jsx("div",{className:"min-w-0 flex-1 overflow-hidden",children:T?h.jsx("div",{className:"marquee",children:h.jsx("div",{className:"marquee-content",children:r?.items.map((A,R)=>h.jsx("a",{href:E(A.url),className:"footer-menu-glow my-1 mx-1 inline-flex items-center rounded-full border border-emerald-300/15 bg-emerald-300/10 px-4 py-2 text-sm font-medium text-emerald-50/80 transition-all duration-300 hover:-translate-y-0.5 hover:border-emerald-300/40 hover:bg-emerald-300/20 hover:text-white hover:shadow-[0_8px_24px_rgba(16,185,129,0.22)] whitespace-nowrap",children:A.label},`${A.label}-${R}`))})}):h.jsx("div",{className:"flex flex-wrap items-center justify-center gap-2 text-sm",children:r?.items.map((A,R)=>h.jsxs("a",{href:E(A.url),className:"footer-menu-glow my-1 group relative inline-flex items-center rounded-full border border-emerald-300/15 bg-emerald-300/10 px-4 py-2 font-medium text-emerald-50/80 transition-all duration-300 hover:-translate-y-0.5 hover:border-emerald-300/40 hover:bg-emerald-300/20 hover:text-white hover:shadow-[0_8px_24px_rgba(16,185,129,0.22)]",children:[h.jsx("span",{className:"absolute inset-0 rounded-full bg-linear-to-r from-transparent via-white/10 to-transparent opacity-0 transition-opacity duration-300 group-hover:opacity-100"}),h.jsx("span",{className:"relative ",children:A.label})]},`${A.label}-${R}`))})})})]}),h.jsxs("div",{className:"relative mx-auto grid w-[92%] gap-10 px-4 pt-12 pb-4 md:grid-cols-[minmax(0,2fr)_minmax(0,1.2fr)_minmax(0,1.2fr)]",children:[h.jsxs("div",{className:"space-y-5",children:[h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"flex items-center gap-4",children:[t?.logo?h.jsx("div",{className:"flex h-14 w-14 items-center justify-center rounded-2xl ",children:t?.logo?.url&&h.jsx("img",{src:t?.logo?.url,alt:"Logo",loading:"lazy"})}):h.jsx("div",{className:"flex h-14 w-14 items-center justify-center rounded-2xl bg-white/10",children:h.jsx("span",{className:"text-white",children:"Logo"})}),h.jsx("div",{className:"leading-tight",children:h.jsx("p",{className:"text-base font-semibold",children:t?.title})})]}),t?.description&&h.jsx("p",{className:"max-w-md whitespace-pre-line text-sm text-justify leading-relaxed text-white/75",children:t?.description})]}),p.length>0&&h.jsxs("div",{className:"space-y-3",children:[h.jsx("div",{className:"text-xs font-semibold uppercase tracking-wider text-white/70",children:"Social Links"}),h.jsx("div",{className:"flex flex-wrap gap-3",children:p.map((A,R)=>{const N=A.icon?.toLowerCase(),P=w[N];return!P||!A.link?null:h.jsx("a",{href:A.link,target:"_blank",rel:"noopener noreferrer","aria-label":A.icon,children:h.jsx(P,{size:20,className:"text-white/80 curs
30or-pointer hover:text-white"})},`${A.icon}-${R}`)})})]})]}),h.jsxs("div",{className:"min-w-0",children:[h.jsx("h3",{className:"mb-4 text-sm font-semibold uppercase tracking-wide text-white",children:"Quick Links"}),h.jsx("ul",{className:"space-y-2 text-sm text-white/80",children:(i?.items??[]).slice().sort((A,R)=>(A.sort_order??0)-(R.sort_order??0)).map(A=>h.jsx("li",{children:h.jsxs("a",{href:A.url||"#",className:"group inline-flex items-center gap-2 rounded-lg px-2 py-1 -ml-2 hover:bg-white/10 hover:text-white",children:[h.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-white/35 transition group-hover:bg-white/70"}),h.jsxs("span",{className:"relative",children:[A.label,h.jsx("span",{className:"absolute -bottom-0.5 left-0 h-px w-0 bg-white/70 transition-all group-hover:w-full"})]})]})},A.id))})]}),h.jsxs("div",{className:"min-w-0",children:[h.jsx("h3",{className:"mb-4 text-sm font-semibold uppercase tracking-wide text-white",children:g?.title??"Related Links"}),h.jsx("ul",{className:"space-y-2 text-sm text-white/80",children:(g?.related_links??[]).slice().sort((A,R)=>(A.sort_order??0)-(R.sort_order??0)).map(A=>h.jsx("li",{children:h.jsxs("a",{href:A.url||"#",className:"group inline-flex items-center gap-2 rounded-lg px-2 py-1 -ml-2 hover:bg-white/10 hover:text-white",children:[h.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-white/35 transition group-hover:bg-white/70"}),h.jsxs("span",{className:"relative",children:[A.title,h.jsx("span",{className:"absolute -bottom-0.5 left-0 h-px w-0 bg-white/70 transition-all group-hover:w-full"})]})]})},A.id))})]})]}),h.jsx("div",{className:"flex justify-center items-center",children:h.jsxs("div",{className:"p-4 text-sm text-white/75 mx-auto md:flex items-center justify-between w-full gap-2",children:[h.jsx("div",{className:" md:w-1/3"}),h.jsxs("div",{className:"flex flex-wrap items-center gap-2 md:w-1/3",children:["Maintained and operated by"," ",h.jsx("span",{className:"font-bold text-emerald-400 text-shadow-2xs",children:"KPITB"}),h.jsx("span",{className:"text-white/30",children:"|"}),h.jsx("img",{src:"/assets/images/kpitblogo.svg",alt:"KPITB logo",className:"h-8 rounded-sm w-auto object-contain bg-white",loading:"lazy"})]}),(C?.rightLinks?.length??0)>0&&h.jsx("div",{className:"flex flex-wrap items-center gap-2 md:justify-end relative md:right-10 md:w-1/3",children:C.rightLinks.map((A,R)=>h.jsx("a",{href:A.href,className:"rounded-full px-4 py-2 text-sm font-medium text-emerald-100/75 transition-all duration-300 hover:-translate-y-0.5 hover:bg-emerald-300/15 hover:text-white hover:shadow-[0_8px_22px_rgba(16,185,129,0.18)]",children:A.label},`${A.label}-${R}`))})]})}),h.jsxs("div",{className:"relative border-t border-white/10 bg-white/20 px-4 py-4 text-center text-sm text-white/75",children:["© ",h.jsx("span",{onClick:()=>u("/domain-search"),children:" Copyright"})," ",new Date().getFullYear()," Khyber-Pakhtunkhwa Portal"]}),h.jsx(Ej,{})]})},wj=()=>h.jsx("svg",{className:"pointer-events-none absolute left-0 top-0 h-72 w-full text-white/20",viewBox:"0 0 1440 120",preserveAspectRatio:"none","aria-hidden":"true",children:h.jsx("path",{fill:"currentColor",opacity:"0.5",d:"M0,86 C260,30 520,120 760,74 C1000,28 1210,52 1440,24 L1440,0 L0,0 Z"})}),Ej=()=>h.jsx("svg",{className:"pointer-events-none absolute left-0 bottom-0 h-32 w-full text-white/10",viewBox:"0 0 1440 140",preserveAspectRatio:"none","aria-hidden":"true",children:h.jsx("path",{fill:"currentColor",opacity:"0.45",d:"M0,105 C260,155 520,30 780,88 C1040,145 1220,120 1440,70 L1440,140 L0,140 Z"})});var bh,w2;function Tj(){if(w2)return bh;w2=1;var e=typeof Element<"u",t=typeof Map=="function",i=typeof Set=="function",r=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(u,c){if(u===c)return!0;if(u&&c&&typeof u=="object"&&typeof c=="object"){if(u.constructor!==c.constructor)return!1;var m,d,p;if(Array.isArray(u)){if(m=u.length,m!=c.length)return!1;for(d=m;d--!==0;)if(!l(u[d],c[d]))return!1;return!0}var g;if(t&&u instanceof Map&&c instanceof Map){if(u.size!==c.size)return!1;for(g=u.entries();!(d=g.next()).done;)if(!c.has(d.value[0]))return!1;for(g=u.entries();!(d=g.next()).done;)if(!l(d.value[1],c.get(d.value[0])))return!1;return!0}if(i&&u instanceof Set&&c instanceof Set){if(u.size!==c.size)return!1;for(g=u.entries();!(d=g.next()).done;)if(!c.has(d.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(c)){if(m=u.length,m!=c.length)return!1;for(d=m;d--!==0;)if(u[d]!==c[d])return!1;return!0}if(u.constructor===RegExp)return u.source===c.source&&u.flags===c.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof c.valueOf=="function")return u.valueOf()===c.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof c.toString=="function")return u.toString()===c.toString();if(p=Object.keys(u),m=p.length,m!==Object.keys(c).length)return!1;for(d=m;d--!==0;)if(!Object.prototype.hasOwnProperty.call(c,p[d]))return!1;if(e&&u instanceof Element)return!1;for(d=m;d--!==0;)if(!((p[d]==="_owner"||p[d]==="__v"||p[d]==="__o")&&u.$$typeof)&&!l(u[p[d]],c[p[d]]))return!1;return!0}return u!==u&&c!==c}return bh=function(c,m){try{return l(c,m)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},bh}var Cj=Tj();const Aj=Hl(Cj);var xh,E2;function jj(){if(E2)return xh;E2=1;var e=function(t,i,r,l,u,c,m,d){if(!t){var p;if(i===void 0)p=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[r,l,u,c,m,d],y=0;p=new Error(i.replace(/%s/g,function(){return g[y++]})),p.name="Invariant Violation"}throw p.framesToPop=1,p}};return xh=e,xh}var Oj=jj();const T2=Hl(Oj);var Sh,C2;function Rj(){return C2||(C2=1,Sh=function(t,i,r,l){var u=r?r.call(l,t,i):void 0;if(u!==void 0)return!!u;if(t===i)return!0;
30if(typeof t!="object"||!t||typeof i!="object"||!i)return!1;var c=Object.keys(t),m=Object.keys(i);if(c.length!==m.length)return!1;for(var d=Object.prototype.hasOwnProperty.bind(i),p=0;p<c.length;p++){var g=c[p];if(!d(g))return!1;var y=t[g],S=i[g];if(u=r?r.call(l,y,S,g):void 0,u===!1||u===void 0&&y!==S)return!1}return!0}),Sh}var Nj=Rj();const Dj=Hl(Nj);var m3=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(m3||{}),wh={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},A2=Object.values(m3),Lc={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},p3=Object.entries(Lc).reduce((e,[t,i])=>(e[i]=t,e),{}),ra="data-rh",Kr={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Xr=(e,t)=>{for(let i=e.length-1;i>=0;i-=1){const r=e[i];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},Mj=e=>{let t=Xr(e,"title");const i=Xr(e,Kr.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),i&&t)return i.replace(/%s/g,()=>t);const r=Xr(e,Kr.DEFAULT_TITLE);return t||r||void 0},_j=e=>Xr(e,Kr.ON_CHANGE_CLIENT_STATE)||(()=>{}),Eh=(e,t)=>t.filter(i=>typeof i[e]<"u").map(i=>i[e]).reduce((i,r)=>({...i,...r}),{}),Lj=(e,t)=>t.filter(i=>typeof i.base<"u").map(i=>i.base).reverse().reduce((i,r)=>{if(!i.length){const l=Object.keys(r);for(let u=0;u<l.length;u+=1){const m=l[u].toLowerCase();if(e.indexOf(m)!==-1&&r[m])return i.concat(r)}}return i},[]),kj=e=>console&&typeof console.warn=="function"&&console.warn(e),cl=(e,t,i)=>{const r={};return i.filter(l=>Array.isArray(l[e])?!0:(typeof l[e]<"u"&&kj(`Helmet: ${e} should be of type "Array". Instead found type "${typeof l[e]}"`),!1)).map(l=>l[e]).reverse().reduce((l,u)=>{const c={};u.filter(d=>{let p;const g=Object.keys(d);for(let S=0;S<g.length;S+=1){const C=g[S],w=C.toLowerCase();t.indexOf(w)!==-1&&!(p==="rel"&&d[p].toLowerCase()==="canonical")&&!(w==="rel"&&d[w].toLowerCase()==="stylesheet")&&(p=w),t.indexOf(C)!==-1&&(C==="innerHTML"||C==="cssText"||C==="itemprop")&&(p=C)}if(!p||!d[p])return!1;const y=d[p].toLowerCase();return r[p]||(r[p]={}),c[p]||(c[p]={}),r[p][y]?!1:(c[p][y]=!0,!0)}).reverse().forEach(d=>l.push(d));const m=Object.keys(c);for(let d=0;d<m.length;d+=1){const p=m[d],g={...r[p],...c[p]};r[p]=g}return l},[]).reverse()},Pj=(e,t)=>{if(Array.isArray(e)&&e.length){for(let i=0;i<e.length;i+=1)if(e[i][t])return!0}return!1},Vj=e=>({baseTag:Lj(["href"],e),bodyAttributes:Eh("bodyAttributes",e),defer:Xr(e,Kr.DEFER),encode:Xr(e,Kr.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Eh("htmlAttributes",e),linkTags:cl("link",["rel","href"],e),metaTags:cl("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:cl("noscript",["innerHTML"],e),onChangeClientState:_j(e),scriptTags:cl("script",["src","innerHTML"],e),styleTags:cl("style",["cssText"],e),title:Mj(e),titleAttributes:Eh("titleAttributes",e),prioritizeSeoTags:Pj(e,Kr.PRIORITIZE_SEO_TAGS)}),g3=e=>Array.isArray(e)?e.join(""):e,zj=(e,t)=>{const i=Object.keys(e);for(let r=0;r<i.length;r+=1)if(t[i[r]]&&t[i[r]].includes(e[i[r]]))return!0;return!1},Th=(e,t)=>Array.isArray(e)?e.reduce((i,r)=>(zj(r,t)?i.priority.push(r):i.default.push(r),i),{priority:[],default:[]}):{default:e,priority:[]},j2=(e,t)=>({...e,[t]:void 0}),Uj=["noscript","script","style"],bm=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),v3=e=>Object.keys(e).reduce((t,i)=>{const r=typeof e[i]<"u"?`${i}="${e[i]}"`:`${i}`;return t?`${t} ${r}`:r},""),Bj=(e,t,i,r)=>{const l=v3(i),u=g3(t);return l?`<${e} ${ra}="true" ${l}>${bm(u,r)}</${e}>`:`<${e} ${ra}="true">${bm(u,r)}</${e}>`},Hj=(e,t,i=!0)=>t.reduce((r,l)=>{const u=l,c=Object.keys(u).filter(p=>!(p==="innerHTML"||p==="cssText")).reduce((p,g)=>{const y=typeof u[g]>"u"?g:`${g}="${bm(u[g],i)}"`;return p?`${p} ${y}`:y},""),m=u.innerHTML||u.cssText||"",d=Uj.indexOf(e)===-1;return`${r}<${e} ${ra}="true" ${c}${d?"/>":`>${m}</${e}>`}`},""),y3=(e,t={})=>Object.keys(e).reduce((i,r)=>{const l=Lc[r];return i[l||r]=e[r],i},t),Fj=(e,t,i)=>{const r={key:t,[ra]:!0},l=y3(i,r);return[Qe.createElement("title",l,t)]},qu=(e,t)=>
30t.map((i,r)=>{const l={key:r,[ra]:!0};return Object.keys(i).forEach(u=>{const m=Lc[u]||u;if(m==="innerHTML"||m==="cssText"){const d=i.innerHTML||i.cssText;l.dangerouslySetInnerHTML={__html:d}}else l[m]=i[u]}),Qe.createElement(e,l)}),qn=(e,t,i=!0)=>{switch(e){case"title":return{toComponent:()=>Fj(e,t.title,t.titleAttributes),toString:()=>Bj(e,t.title,t.titleAttributes,i)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>y3(t),toString:()=>v3(t)};default:return{toComponent:()=>qu(e,t),toString:()=>Hj(e,t,i)}}},Ij=({metaTags:e,linkTags:t,scriptTags:i,encode:r})=>{const l=Th(e,wh.meta),u=Th(t,wh.link),c=Th(i,wh.script);return{priorityMethods:{toComponent:()=>[...qu("meta",l.priority),...qu("link",u.priority),...qu("script",c.priority)],toString:()=>`${qn("meta",l.priority,r)} ${qn("link",u.priority,r)} ${qn("script",c.priority,r)}`},metaTags:l.default,linkTags:u.default,scriptTags:c.default}},qj=e=>{const{baseTag:t,bodyAttributes:i,encode:r=!0,htmlAttributes:l,noscriptTags:u,styleTags:c,title:m="",titleAttributes:d,prioritizeSeoTags:p}=e;let{linkTags:g,metaTags:y,scriptTags:S}=e,C={toComponent:()=>[],toString:()=>""};return p&&({priorityMethods:C,linkTags:g,metaTags:y,scriptTags:S}=Ij(e)),{priority:C,base:qn("base",t,r),bodyAttributes:qn("bodyAttributes",i,r),htmlAttributes:qn("htmlAttributes",l,r),link:qn("link",g,r),meta:qn("meta",y,r),noscript:qn("noscript",u,r),script:qn("script",S,r),style:qn("style",c,r),title:qn("title",{title:m,titleAttributes:d},r)}},xm=qj,Tu=[],Lp=!!(typeof window<"u"&&window.document&&window.document.createElement),Sm=class{instances=[];canUseDOM=Lp;context;value={setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Tu:this.instances,add:e=>{(this.canUseDOM?Tu:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Tu:this.instances).indexOf(e);(this.canUseDOM?Tu:this.instances).splice(t,1)}}};constructor(e,t){this.context=e,this.canUseDOM=t||!1,t||(e.helmet=xm({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},$j=parseInt(Qe.version.split(".")[0],10),wm=$j>=19,Gj={},b3=Qe.createContext(Gj),x3=class S3 extends x.Component{static canUseDOM=Lp;helmetData;constructor(t){super(t),wm?this.helmetData=null:this.helmetData=new Sm(this.props.context||{},S3.canUseDOM)}render(){return wm?Qe.createElement(Qe.Fragment,null,this.props.children):Qe.createElement(b3.Provider,{value:this.helmetData.value},this.props.children)}},Hr=(e,t)=>{const i=document.head||document.querySelector("head"),r=i.querySelectorAll(`${e}[${ra}]`),l=[].slice.call(r),u=[];let c;return t&&t.length&&t.forEach(m=>{const d=document.createElement(e);for(const p in m)if(Object.prototype.hasOwnProperty.call(m,p))if(p==="innerHTML")d.innerHTML=m.innerHTML;else if(p==="cssText"){const g=m.cssText;d.appendChild(document.createTextNode(g))}else{const g=p,y=typeof m[g]>"u"?"":m[g];d.setAttribute(p,y)}d.setAttribute(ra,"true"),l.some((p,g)=>(c=g,d.isEqualNode(p)))?l.splice(c,1):u.push(d)}),l.forEach(m=>m.parentNode?.removeChild(m)),u.forEach(m=>i.appendChild(m)),{oldTags:l,newTags:u}},Em=(e,t)=>{const i=document.getElementsByTagName(e)[0];if(!i)return;const r=i.getAttribute(ra),l=r?r.split(","):[],u=[...l],c=Object.keys(t);for(const m of c){const d=t[m]||"";i.getAttribute(m)!==d&&i.setAttribute(m,d),l.indexOf(m)===-1&&l.push(m);const p=u.indexOf(m);p!==-1&&u.splice(p,1)}for(let m=u.length-1;m>=0;m-=1)i.removeAttribute(u[m]);l.length===u.length?i.removeAttribute(ra):i.getAttribute(ra)!==c.join(",")&&i.setAttribute(ra,c.join(","))},Yj=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=g3(e)),Em("title",t)},O2=(e,t)=>{const{baseTag:i,bodyAttributes:r,htmlAttributes:l,linkTags:u,metaTags:c,noscriptTags:m,onChangeClientState:d,scriptTags:p,styleTags:g,title:y,titleAttributes:S}=e;Em("body",r),Em("html",l),Yj(y,S);const C={baseTag:Hr("base",i),linkTags:Hr("link",u),metaTags:Hr("meta",c),noscriptTags:Hr("noscript",m),scriptTags:Hr("script",p),styleTags:Hr("style",g)},w={},T={};Object.keys(C).forEach(E=>{const{newTags:A,oldTags:R}=C[E];A.length&&(w[E]=A),R.length&&(T[E]=C[E].oldTags)}),t&&t(),d(e,w,T)},fl=null,Kj=e=>{fl&&cancelAnimationFrame(fl),e.defer?fl=requestAnimationFrame(()=>{O2(e,()=>{fl=null})}):(O2(e),fl=null)},Xj=Kj,R2=class extends x.Component{rendered=!1;shouldComponentUpdate(e){return!Dj(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:t}=this.props.context;let i=null;const r=Vj(e.get().map(l=>{const{context:u,...c}=l.props;return c}));x3.canUseDOM?Xj(r):xm&&(i=xm(r)),t(i)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},$u=[],N2=e=>{const t={};for(const i of Object.keys(e))t[p3[i]||i]=e[i];return t},Yi=e=>{const t={};for(const i of Object.keys(e)){const r=Lc[i];t[r||i]=e[i]}return t},D2=(e,t)=>
30{if(!Lp)return;const i=document.getElementsByTagName(e)[0];if(!i)return;const r="data-rh-managed",l=i.getAttribute(r),u=l?l.split(","):[],c=Object.keys(t);for(const m of u)c.includes(m)||i.removeAttribute(m);for(const m of c){const d=t[m];d==null||d===!1?i.removeAttribute(m):d===!0?i.setAttribute(m,""):i.setAttribute(m,String(d))}c.length>0?i.setAttribute(r,c.join(",")):i.removeAttribute(r)},Ch=()=>{const e={},t={};for(const i of $u){const{htmlAttributes:r,bodyAttributes:l}=i.props;r&&Object.assign(e,N2(r)),l&&Object.assign(t,N2(l))}D2("html",e),D2("body",t)},Qj=class extends x.Component{componentDidMount(){$u.push(this),Ch()}componentDidUpdate(){Ch()}componentWillUnmount(){const e=$u.indexOf(this);e!==-1&&$u.splice(e,1),Ch()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:i}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||i||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return Qe.createElement("title",Yi(t),e)}renderBase(){const{base:e}=this.props;return e?Qe.createElement("base",Yi(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,i)=>Qe.createElement("meta",{key:i,...Yi(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,i)=>Qe.createElement("link",{key:i,...Yi(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,i)=>{const{innerHTML:r,...l}=t,u=Yi(l);return r&&(u.dangerouslySetInnerHTML={__html:r}),Qe.createElement("script",{key:i,...u})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,i)=>{const{cssText:r,...l}=t,u=Yi(l);return r&&(u.dangerouslySetInnerHTML={__html:r}),Qe.createElement("style",{key:i,...u})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,i)=>{const{innerHTML:r,...l}=t,u=Yi(l);return r&&(u.dangerouslySetInnerHTML={__html:r}),Qe.createElement("noscript",{key:i,...u})})}render(){return Qe.createElement(Qe.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},Wj=class extends x.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(e){return!Aj(j2(this.props,"helmetData"),j2(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,i,r){return{...t,[e.type]:[...t[e.type]||[],{...i,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,i,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...i}};case"body":return{...t,bodyAttributes:{...i}};case"html":return{...t,htmlAttributes:{...i}};default:return{...t,[e.type]:{...i}}}}mapArrayTypeChildrenToProps(e,t){let i={...t};return Object.keys(e).forEach(r=>{i={...i,[r]:e[r]}}),i}warnOnInvalidChildren(e,t){return T2(A2.some(i=>e.type===i),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${A2.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),T2(!t||typeof t=="string"||Array.isArray(t)&&!t.some(i=>typeof i!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let i={};return Qe.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:l,...u}=r.props,c=Object.keys(u).reduce((d,p)=>(d[p3[p]||p]=u[p],d),{});let{type:m}=r;
30switch(typeof m=="symbol"?m=m.toString():this.warnOnInvalidChildren(r,l),m){case"Symbol(react.fragment)":t=this.mapChildrenToProps(l,t);break;case"link":case"meta":case"noscript":case"script":case"style":i=this.flattenArrayTypeChildren(r,i,c,l);break;default:t=this.mapObjectTypeChildren(r,t,c,l);break}}),this.mapArrayTypeChildrenToProps(i,t)}render(){const{children:e,...t}=this.props;let i={...t},{helmetData:r}=t;if(e&&(i=this.mapChildrenToProps(e,i)),r&&!(r instanceof Sm)){const l=r;r=new Sm(l.context,!0),delete i.helmetData}return wm?Qe.createElement(Qj,{...i}):r?Qe.createElement(R2,{...i,context:r.value}):Qe.createElement(b3.Consumer,null,l=>Qe.createElement(R2,{...i,context:l}))}};const M2="Khyber Pakhtunkhwa Portal",Zj=()=>typeof window>"u"?"https://kp.gov.pk":window.location.origin,Jj=e=>e?typeof e=="string"?e:typeof e=="object"&&(e.url||e.image||e.path||e.src||e.file||e.original_url)||"/assets/images/greenlogo.svg":"/assets/images/greenlogo.svg";function w3({title:e,description:t="",titleSuffix:i="",image:r="",canonical:l="",keywords:u="",type:c="website"}){const m=Zj(),p=[e?.replace(/\r?\n/g," ").trim()||M2,i.trim()].filter(Boolean).join(" - "),g=l.startsWith("http")?l:`${m}${l}`,y=Jj(r),S=y.startsWith("http")?y:`${m}${y.startsWith("/")?y:`/${y}`}`;return h.jsxs(Wj,{children:[h.jsx("title",{children:p}),h.jsx("meta",{name:"description",content:t}),u&&h.jsx("meta",{name:"keywords",content:u}),h.jsx("link",{rel:"canonical",href:g}),h.jsx("meta",{property:"og:title",content:p}),h.jsx("meta",{property:"og:description",content:t}),h.jsx("meta",{property:"og:type",content:c}),h.jsx("meta",{property:"og:url",content:g}),h.jsx("meta",{property:"og:image",content:S}),h.jsx("meta",{property:"og:site_name",content:M2}),h.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),h.jsx("meta",{name:"twitter:title",content:p}),h.jsx("meta",{name:"twitter:description",content:t}),h.jsx("meta",{name:"twitter:image",content:S})]})}const E3=()=>{const e=Zt();window.location.hostname||e.pathname.replace(/^\/+/,"");const t=()=>{window.location.assign("https://kp.gov.pk/")};return h.jsxs(h.Fragment,{children:[h.jsx(w3,{title:"This Website Does Not Exist",description:"",keywords:"",type:"article"}),h.jsxs("main",{className:"relative min-h-screen overflow-hidden bg-slate-50 text-slate-900",children:[h.jsxs("div",{className:"pointer-events-none absolute inset-0 overflow-hidden",children:[h.jsx("div",{className:"absolute -left-32 -top-32 h-96 w-96 rounded-full bg-emerald-200/60 blur-3xl"}),h.jsx("div",{className:"absolute -bottom-40 -right-24 h-112 w-md rounded-full bg-emerald-200/70 blur-3xl"}),h.jsx("div",{className:"absolute left-1/2 top-1/2 h-80 w-80 -translate-x-1/2 -translate-y-1/2 rounded-full bg-violet-100/60 blur-3xl"}),h.jsx("div",{className:"absolute inset-0 opacity-40",style:{backgroundImage:"linear-gradient(to right, #e2e8f0 1px, transparent 1px), linear-gradient(to bottom, #e2e8f0 1px, transparent 1px)",backgroundSize:"48px 48px"}}),h.jsx("div",{className:"absolute inset-0 bg-linear-to-b from-white/20 via-transparent to-white/50"})]}),h.jsx("div",{className:"relative mx-auto flex min-h-screen max-w-6xl items-center justify-center px-5 py-12 sm:px-8",children:h.jsxs("section",{className:"w-full max-w-3xl",children:[h.jsx("div",{className:"rounded-[2rem] bg-linear-to-br from-emerald-300 via-white to-sky-300 p-px shadow-2xl shadow-slate-300/60",children:h.jsxs("div",{className:"relative overflow-hidden rounded-[calc(2rem-1px)] bg-white/90 backdrop-blur-xl",children:[h.jsx("div",{className:"absolute -right-20 -top-20 h-64 w-64 rounded-full bg-emerald-100/70 blur-3xl"}),h.jsxs("div",{className:"relative px-6 py-10 sm:px-10 sm:py-14",children:[h.jsx("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl border border-emerald-200 bg-linear-to-br from-emerald-50 to-white shadow-lg shadow-rose-100/70",children:h.jsx("svg",{viewBox:"0 0 24 24",fill:"none",className:"h-8 w-8 text-emerald-500","aria-hidden":"true",children:h.jsx("path",{d:"M12 9v4m0 4h.01M10.3 3.7 2.8 17a2 2 0 0 0 1.74 3h14.92a2 2 0 0 0 1.74-3L13.7 3.7a2 2 0 0 0-3.4 0Z",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),h.jsx("h1",{className:"mt-6 text-3xl font-extrabold tracking-tight text-slate-900 sm:text-5xl",children:"This Website Does Not Exist"}),h.jsx("p",{className:"mt-4 max-w-2xl text-base leading-7 text-slate-600",children:"This domain/website does not exist in KP Web Portal website repository."}),h.jsx("div",{className:"mt-8",children:h.jsxs("button",{type:"button",onClick:t,className:"group inline-flex items-center justify-center gap-2 rounded-xl bg-linear-to-r from-emerald-600 to-emerald-500 px-6 py-3 text-sm font-semibold text-white shadow-lg shadow-emerald-500/25 transition duration-200 hover:-translate-y-0.5 hover:from-emerald-700 hover:to-emerald-600 hover:shadow-emerald-500/35 focus:outline-none focus:ring-2 focus:ring-emerald-500 focus:ring-offset-2",children:["Go to KP Web Portal",h.jsx("svg",{viewBox:"0 0 24 24",fill:"none",className:"h-4 w-4 transition-transform duration-200 group-hover:translate-x-1","aria-hidden":"true",children:h.jsx("path",{d:"m9 18 6-6-6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})})]})]})}),h.jsx("p",{className:"mt-6 text-center text-sm text-slate-500",children:"Government of Khyber Pakhtunkhwa Web Portal"})]})})]})]})};function eO(e){return xe({attr:{viewBox:"0 0 320 512"}
30,child:[{tag:"path",attr:{d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"},child:[]}]})(e)}function tO(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"},child:[]}]})(e)}function nO(e){return xe({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"},child:[]}]})(e)}function aO(e){return xe({attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"},child:[]}]})(e)}function vk(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"},child:[]}]})(e)}function yk(e){return xe({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},child:[]}]})(e)}const _2="google-translate-script",Tm="google_translate_element";function iO(){if(document.getElementById(_2)||window.__gtScriptLoading)return;window.__gtScriptLoading=!0,window.googleTranslateElementInit=()=>{};const e=document.createElement("script");e.id=_2,e.src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit",e.async=!0,document.body.appendChild(e)}function L2(){if(window.__gtWidgetCreated)return;const e=document.getElementById(Tm);if(!e)return;const t=window.google?.translate?.TranslateElement;t&&(e.innerHTML="",new t({pageLanguage:"en",autoDisplay:!1}
30,Tm),window.__gtWidgetCreated=!0)}function rO(){return x.useEffect(()=>{iO(),L2();let e=0;const t=window.setInterval(()=>{e+=1,L2(),(window.__gtWidgetCreated||e>40)&&window.clearInterval(t)},250);return()=>window.clearInterval(t)},[]),h.jsx("div",{id:Tm})}const sO={facebook:eO,twitter:Ol,x:Ol,youtube:aO,instagram:tO,linkedin:nO},lO=({bgColor:e,textColor:t,phone:i,email:r,socialColor:l})=>{const{basicInfo:u}=kt(),c=u?.extra_social_media,m=Array.isArray(c)&&c.length>0,d=[{icon:"facebook",link:u?.social_media?.facebook_url},{icon:"twitter",link:u?.social_media?.twitter_url},{icon:"youtube",link:u?.social_media?.youtube_url},{icon:"instagram",link:u?.social_media?.instagram_url}].filter(g=>g.link),p=m?[...c].sort((g,y)=>(g.sort_order??0)-(y.sort_order??0)):d;return h.jsxs("header",{className:"hidden w-fit h-[33px] border border-[#028AC8] bg-white/90 p-4 gap-4 rounded-b-[30px] pb-4 md:flex justify-between items-center",role:"banner","aria-label":"Contact and social media information",children:[h.jsxs("div",{className:"flex items-center gap-4",children:[h.jsx("div",{className:"flex items-center gap-2",children:h.jsx("a",{href:`tel:${i}`,style:{color:t},className:"focus:outline-none text-sm font-medium focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-blue-500",children:i})}),h.jsx("div",{className:"flex items-center gap-2",children:h.jsx("a",{href:`mailto:${r}`,style:{color:t},className:"focus:outline-none text-sm font-medium focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-blue-500",children:r})})]}),h.jsx("nav",{"aria-label":"Social media links",children:h.jsxs("ul",{className:"flex gap-4 items-center mr-2",children:[h.jsx("li",{children:h.jsx("div",{className:"translate-wrap",children:h.jsx(rO,{})})}),p.map((g,y)=>{const S=sO[g.icon?.toLowerCase()];return!S||!g.link?null:h.jsx("li",{children:h.jsx("a",{href:g.link,target:"_blank",rel:"noopener noreferrer","aria-label":g.icon,className:"focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-blue-500",children:h.jsx(S,{size:22,style:{color:l||"#028AC8"}})})},`${g.icon}-${y}`)})]})})]})},T3=x.createContext(void 0),oO=({children:e})=>{const[t,i]=x.useState(null),[r,l]=x.useState(!1),[u,c]=x.useState(null),m=x.useMemo(()=>{let g=window.location.hostname.toLowerCase();return g=g.replace(/^www\./,""),g==="kp.gov.pk"?"":g.endsWith(".kp.gov.pk")?g.replace(".kp.gov.pk",""):""},[]),d=x.useCallback(async()=>{l(!0),c(null);try{const g=await mt.getAllDepartments(m);i(g.data)}catch(g){console.error("Error fetching departments:",g),c(g)}finally{l(!1)}},[m]);x.useEffect(()=>{d()},[d]);const p={loading:r,error:u,departmentData:t,domain:m};return h.jsx(T3.Provider,{value:p,children:e})},kp=()=>{const e=x.useContext(T3);if(!e)throw new Error("useDepartment must be used within a DepartmentProvider");return e};function uO({open:e,setOpen:t}){const[i,r]=x.useState({}),l=200,[u,c]=x.useState(""),[m,d]=x.useState(!1),[p,g]=x.useState(""),[y,S]=x.useState(""),{mainDomainTrue:C,basicInfo:w}=kt(),{departmentData:T}=kp(),E=On(),[A,R]=x.useState("");x.useEffect(()=>{const U=H=>H.key==="Escape"&&t(!1);return e&&(document.addEventListener("keydown",U),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",U),document.body.style.overflow=""}},[e,t]);const N=U=>String(U??"").trim().toLowerCase().replace(/\s+/g," ").replace(/&/g,"and"),P=x.useMemo(()=>(Array.isArray(T)?T:[]).map(H=>({value:String(H.id),label:H.name})),[T]);x.useEffect(()=>{if(!P.length)return;const U=P.find(H=>N(H.label)===N(w?.department?.name));g(U?.value??P[0]?.value??"")},[P,w?.department?.name]);const D=async U=>{U.preventDefault(),r({});const H=Object.fromEntries(new FormData(U.currentTarget).entries());if(!/^\d{10,15}$/.test(H.contact_number)){alert("Please enter a valid contact number.");return}const I={name:H.name,email:H.email,contact_number:H.contact_number,department_id:p,feedback:H.message};try{d(!0);const L=await mt.PostFeedback(I);console.log("Feedback submitted:",L);const ie=L?.data?.access_code??"";R(ie)}catch{}finally{d(!1)}console.log("Submitted:",H),U.currentTarget.reset(),t(!1)};return e?h.jsxs("div",{className:"fixed inset-0 z-9999 flex items-center justify-center p-4",children:[h.jsx("div",{className:"absolute inset-0 bg-slate-900/40 backdrop-blur-sm",onMouseDown:()=>!m&&t(!1)}),h.jsxs("div",{className:"relative w-full max-w-xl overflow-hidden rounded-3xl bg-white shadow-2xl ring-1 ring-slate-200",onMouseDown:U=>U.stopPropagation(),role:"dialog","aria-modal":"true",children:[h.jsx("div",{className:"bg-linear-to-r from-sky-600 via-cyan-600 to-teal-600 p-6 text-white",children:h.jsxs("div",{className:"flex items-start justify-between gap-4",children:[h.jsxs("div",{children:[h.jsx("p",{className:"text-white/85 text-sm font-semibold",children:"Feedback"}),h.jsx("h3",{className:"mt-1 text-xl font-semibold leading-snug",children:"Share your thoughts with us"}),h.jsx("p",{className:"mt-2 text-xs text-white/80",children:"Fill the form and weâll respond soon."})]}),h.jsx("button",{onClick:()=>!m&&t(!1),disabled:m,className:"rounded-xl bg-white/15 px-3 py-2 text-sm font-semibold text-white hover:bg-white/25 active:bg-white/30","aria-label":"Close",children:"Close"})]})}),A?h.jsx("div",{className:"p-6",children:h.jsxs("div",{className:"rounded-2xl border border-emerald-200 bg-emerald-50 p-5 text-center",children:[h.jsx("div",{className:"mx-auto mb-3 flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 text-2xl",children:"â"}),h.jsx("h3",{className:"text-lg font-semibold text-slate-900",children:"Feedback Submitted Successfully"}),h.jsx("p",{className:"mt-2 text-sm text-slate-600",children:"Please save this passcode. You will need it to check the reply to your feedback."}),h.jsxs("div",{className:"mt-5 rounded-2xl border border-dashed border-emerald-300 bg-white p-4",children:[h.jsx("p",{className:"text-xs font-semibold uppercase tracking-wide text-slate-500",children:"Your Passcode"}),h.jsx("p",{className:"mt-1 break-all text-2xl font-bold tracking-wider text-slate-900",children:A})]}),h.jsx("button",{type:"button",onClick:()=>navigator.clipboard.writeText(A),className:"mt-4 rounded-xl border border-slate-200 bg-white px-4 py-2 text-sm font-semibold text-slate-700 hover:bg-slate-50",children:"Copy Passcode"}),h.jsxs("div",{className:"mt-5 flex justify-center gap-2",children:[h.jsx("button",{type:"button",onClick:()=>{R(""),t(!1)},className:"rounded-xl border border-slate-200 px-4 py-2 text-sm font-semibold text-slate-700 hover:bg-slate-50",children:"Close"}),h.jsx("button",{type:"button",onClick:()=>{t(!1),E("/feedback-reply")},className:"rounded-xl bg-linear-to-r from-sky-600 via-cyan-600 to-teal-600 px-4 py-2 text-sm font-semibold text-white hover:brightness-110",children:"Check Reply"})]})]})}):h.jsxs("form",{onSubmit:D,className:"p-6",children:[h.jsxs("div",{className:"space-y-4 max-h-[360px] overflow-y-scroll",children:[h.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[h.jsx(k2,{name:"name",label:"Your Name",placeholder:"Your name",required:!0}),h.jsx(k2,{name:"email",label:"Your Email Address",type:"email",placeholder:"[email protected]",required:!0})]}),h.jsxs("div",{children:[h.jsx("label",{className:"block text-sm font-semibold text-slate-800",children:"Contact Number"}),h.jsx("input",{name:"contact_number",type:"tel",value:y,onChange:U=>{const H=U.target.value.replace(/\D/g,"");S(H)},placeholder:"0300*******",minLength:10,maxLength:15,required:!0,className:"w-full rounded-2xl border border-slate-200 bg-white px-3 py-3 text-sm outline-none transition focus:border-sky-400 focus:ring-2 focus:ring-sky-100"})]}),h.jsxs("div",{className:"",children:[h.jsx("label",{className:"block text-sm font-semibold text-slate-800",children:"Feedback Relevant Department"}),h.jsx("select",{name:"department",disabled:!C,value:p,onChange:U=>g(U.target.value),className:`w-full rounded-2xl border border-slate-200 ${C?"bg-white":"bg-slate-100"} px-3 py-3 text-sm outline-none transition focus:border-sky-400 focus:ring-2 focus:ring-sky-100`,required:!0,children:T?.map((U,H)=>h.jsx("option",{value:U.id,children:U.name},H))})]}),h.jsxs("div",{className:"",children:[h.jsx("label",{className:"block text-sm font-semibold text-slate-800",children:"Write Feedback"}),h.jsx("textarea",{name:"message",rows:4,maxLength:l,value:u,onChange:U=>c(U.target.value),placeholder:"Write your message...",className:"w-full resize-none rounded-2xl border border-slate-200 bg-white px-3 py-3 text-sm outline-none transition focus:border-sky-400 focus:ring-2 focus:ring-sky-100",required:!0}),h.jsxs("p",{className:"mt-1 text-xs text-slate-500 text-right",children:[u.length,"/",l," characters"]})]}),h.jsx("div",{className:""})]}),h.jsxs("div",{className:"mt-6 flex items-center justify-end gap-2 border-t border-slate-200 pt-4",children:[h.jsx("button",{type:"button",onClick:()=>E("/feedback-reply"),className:"rounded-xl border border-slate-200 px-4 py-2 text-sm font-semibold text-slate-700 hover:bg-slate-50",children:"Check Reply"}),h.jsx("button",{type:"button",onClick:()=>t(!1),className:"rounded-xl border border-slate-200 px-4 py-2 text-sm font-semibold text-slate-700 hover:bg-slate-50",children:"Cancel"}),h.jsxs("button",{type:"submit",disabled:m,className:` 31 rounded-xl px-4 py-2 text-sm font-semibold text-white 32 bg-linear-to-r from-sky-600 via-cyan-600 to-teal-600 33 hover:brightness-110 active:brightness-95 34 disabled:opacity-70 disabled:cursor-not-allowed 35 inline-flex items-center gap-2 36 `,children:[m&&h.jsx("span",{className:"h-4 w-4 animate-spin rounded-full border-2 border-white/40 border-t-white","aria-hidden":"true"}),m?"Submitting...":"Submit"]})]})]})]})]}):null}function k2({label:e,name:t,type:i="text",placeholder:r,required:l,pattern:u}){return h.jsxs("label",{className:"block space-y-2",children:[h.jsx("span",{className:"text-sm font-semibold text-slate-800",children:e}),h.jsx("input",{name:t,type:i,placeholder:r,required:l,pattern:u,className:"w-full rounded-2xl border border-slate-200 bg-white px-3 py-3 text-sm outline-none transition focus:border-sky-400 focus:ring-2 focus:ring-sky-100"})]})}const Cm="/home",Am=e=>e.url||e.path||"#",jm=e=>/^https?:\/\//i.test(e),cO=e=>e.startsWith("#"),P2=e=>Array.isArray(e.children)&&e.children.length>0,Om=e=>e?cO(e)?`${Cm}${e}
36`:jm(e)||e.startsWith("/")?e:`/${e}`:Cm,V2=e=>{const i=e.label?.toLowerCase()==="home"||e.id===1?Cm:Am(e);return Om(i)},fO=({textColor:e,textAvailable:t,menu:i,title:r,logo:l,textColorMenu:u})=>{const c=On(),m=Zt(),{basicInfo:d,sections:p,sectionsLoading:g}=kt(),[y,S]=x.useState(!1),[C,w]=x.useState(!1),[T,E]=x.useState(null),[A,R]=x.useState({}),N=x.useRef(null),P=i?.items??[],D=X=>X.label?.trim().toLowerCase()==="complaint";x.useEffect(()=>{const X=q=>{const ae=q.target;N.current&&!N.current.contains(ae)&&E(null)};return document.addEventListener("mousedown",X),()=>{document.removeEventListener("mousedown",X)}},[]),x.useEffect(()=>(document.body.style.overflow=y?"hidden":"unset",()=>{document.body.style.overflow="unset"}),[y]);const U=()=>{S(X=>!X)},H=()=>{E(null)},I=()=>{E(null),S(!1)},L=X=>{E(q=>q===X?null:X)},ie=X=>{R(q=>({...q,[X]:!q[X]}))},ce=X=>{const q=X.indexOf("#");if(q===-1)return!1;const ae=X.slice(0,q)||m.pathname,ee=X.slice(q),W=decodeURIComponent(ee.slice(1));if(!(m.pathname===ae&&m.hash===ee))return!1;const z=document.getElementById(W);return z&&z.scrollIntoView({behavior:"smooth",block:"start"}),!0},ne=(X,q,ae)=>{ce(q)&&X.preventDefault(),ae?.()},oe=(X,q)=>{const ae=V2(X);return D(X)?h.jsx("button",{type:"button",onClick:()=>{q?.(),w(!0)},style:{color:u},className:"text-lg transition-opacity hover:opacity-80 cursor-pointer",children:X.label}):jm(ae)?h.jsx("a",{href:ae,target:X.target||"_self",rel:X.target==="_blank"?"noreferrer":void 0,style:{color:e},onClick:q,className:"text-lg transition-opacity hover:opacity-80",children:X.label}):h.jsx(xl,{to:ae,onClick:ee=>ne(ee,ae,q),style:{color:u},className:"text-lg transition-opacity hover:opacity-80",children:X.label})},fe=X=>{const q=Am(X),ae=Om(q);return jm(ae)?h.jsx("a",{href:ae,target:X.target||"_self",rel:X.target==="_blank"?"noreferrer":void 0,className:"block text-gray-700",onClick:H,children:X.label}):h.jsx(xl,{to:ae,className:"block text-gray-700",onClick:ee=>ne(ee,ae,H),children:X.label})};return h.jsxs("header",{role:"banner","aria-label":"Main government navigation",children:[h.jsx(dO,{sections:p,sectionsLoading:g}),h.jsx("section",{className:"mx-auto w-[95%] rounded-full px-3 pb-3 pt-2 lg:w-[95%]",children:h.jsxs("div",{className:"flex items-center gap-4",children:[h.jsxs("div",{className:"flex cursor-pointer items-center gap-3 md:hidden",children:[l&&h.jsx("img",{src:l,alt:"logo",loading:"lazy",className:`h-14 sm:h-20 ${d?.enable_logo_animation?"flip-logo":""}`}),t&&h.jsx("div",{children:h.jsx("span",{style:{color:e},onClick:()=>c("/"),className:"block text-sm font-bold md:text-xl",children:r?.split(/\r?\n/).map((X,q)=>h.jsxs("span",{className:"whitespace-nowrap",children:[X,h.jsx("br",{})]},q))})})]}),P.length>0&&h.jsx("nav",{ref:N,role:"navigation","aria-label":"Primary",style:{boxShadow:"0px 10px 12px 0px #00000033"},className:"background-linear mx-auto hidden h-[60px] w-fit items-center gap-6 rounded-full px-8 py-4 lg:flex",children:h.jsx("div",{className:"flex items-center gap-6",children:P.map(X=>{if(!P2(X))return h.jsx("div",{className:"flex items-center",children:oe(X,H)},X.id);const q=T===X.id;return h.jsxs("div",{className:"relative",children:[h.jsxs("button",{type:"button",onClick:()=>L(X.id),style:{color:u},"aria-haspopup":"menu","aria-expanded":q,className:"flex cursor-pointer items-center gap-2 text-lg hover:opacity-80",children:[X.label,h.jsx("span",{"aria-hidden":"true",children:"â¾"})]}),q&&h.jsx("div",{className:"absolute left-0 top-full z-50 mt-2 w-56 overflow-hidden rounded-lg border border-white/30 bg-white/70 shadow-lg backdrop-blur-sm",children:h.jsx("ul",{className:"py-2",role:"menu",children:(X.children??[]).map(ae=>h.jsx("li",{role:"none",children:h.jsx("div",{className:"px-4 py-2 hover:bg-gray-100",children:fe(ae)})},ae.id))})})]},X.id)})})}),h.jsx("button",{type:"button",onClick:U,"aria-label":"Toggle menu",className:"ml-auto rounded-lg bg-white p-2 text-gray-800 shadow-md transition-all hover:shadow-lg focus:outline-none lg:hidden",children:h.jsx("svg",{className:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})})]})}),y&&h.jsx("div",{className:"fixed inset-0 z-40 bg-black/50 transition-opacity lg:hidden",onClick:U}),h.jsx("aside",{role:"dialog","aria-modal":"true","aria-label":"Mobile navigation menu",className:`fixed left-0 top-0 z-60 h-dvh w-80 bg-linear-to-b from-gray-900 to-gray-800 text-white shadow-2xl transition-transform duration-300 ease-in-out lg:hidden ${y?"translate-x-0":"-translate-x-full"}`,children:h.jsxs("div",{className:"flex h-full flex-col",children:[h.jsxs("div",{className:"flex items-center justify-between border-b border-white/10 p-4",children:[h.jsxs("div",{className:"flex items-center gap-3",children:[l&&h.jsx("img",{src:l,alt:"logo",loading:"lazy",className:"h-14 sm:h-20"}),t&&h.jsx("div",{children:h.jsx("span",{style:{color:e},className:"block text-md font-bold md:text-xl lg:text-2xl",children:r?.split(/\r?\n/).map((X,q)=>h.jsxs("span",{className:"text-white",children:[X,h.jsx("br",{})]},q))})})]}),h.jsx("button",{type:"button",onClick:U,"aria-label":"Close menu",className:"rounded-lg p-2 text-white transition-colors hover:bg-white/10",children:h.jsx("svg",{className:"h-6 w-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),h.jsx("nav",{className:"flex-1 overflow-y-auto py-4",children:h.jsx("ul",{className:"space-y-1",children:P.map(X=>{const q=V2(X),ae=P2(X),ee=!!A[X.id];return h.jsx("li",{children:ae?h.jsxs(h.Fragment,{children:[h.jsxs("button",{type:"button",onClick:()=>ie(X.id),"aria-expanded":ee,className:"flex w-full items-center justify-between px-6 py-3 text-white transition-colors hover:bg-white/10",children:[h.jsx("span",{children:X.label}),h.jsx("span",{"aria-hidden":"true",children:ee?"â´":"â¾"})]}),ee&&h.jsx("ul",{className:"pb-2 pl-6",children:(X.children??[]).map(W=>{const O=Om(Am(W));return h.jsx("li",{children:h.jsx(xl,{to:O,onClick:z=>ne(z,O,I),className:"block px-6 py-2 text-white/90 hover:bg-white/10",children:W.label})},W.id)})})]}):h.jsx("div",{className:"px-6 py-3",children:h.jsx(xl,{to:q,onClick:W=>ne(W,q,I),className:({isActive:W})=>`block text-white hover:opacity-90 ${W?"font-semibold":""}`,children:X.label})})},X.id)})})})]})}),h.jsx(uO,{open:C,setOpen:w}
36)]})};function dO({sections:e,sectionsLoading:t}){const{hash:i,pathname:r}=Zt();return x.useEffect(()=>{if(!i||t)return;const l=decodeURIComponent(i.slice(1)),u=60;let c=0,m;const d=()=>{const p=document.getElementById(l);if(p){p.scrollIntoView({behavior:"smooth",block:"start"});return}c>=u||(c+=1,m=requestAnimationFrame(d))};return m=requestAnimationFrame(d),()=>{cancelAnimationFrame(m)}},[i,r,e,t]),null}const hO=({children:e,menu:t})=>{const{pathname:i}=Zt(),r=i==="/home"||i==="/",l=On(),{basicInfo:u,footerData:c,websiteNotFound:m,loading:d}=kt();return x.useEffect(()=>{d||m||u?.external_url&&window.location.replace(u.external_url)},[d,m,u?.external_url]),m?h.jsx(E3,{}):h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:[r?" pb-2":"",r?"absolute top-0 left-0 z-50 w-full":"relative w-full"].join(" "),children:[h.jsxs("div",{className:"flex w-[95%] max-w-[1440px] mx-auto justify-between ",children:[h.jsxs("div",{className:"hidden md:flex mt-2 items-center gap-3 cursor-pointer",children:[u?.logo?.url&&h.jsx("img",{src:u?.logo?.url,className:`h-14 sm:h-20 ${u?.enable_logo_animation?"flip-logo":""}`,alt:"logo",loading:"lazy"}),h.jsx("div",{className:"",children:h.jsx("span",{style:{color:r?"white":"black"},onClick:()=>l("/"),className:"block text-sm md:text-xl font-bold ",children:u?.title?.split(/\r?\n/).map((p,g)=>h.jsxs("span",{className:"whitespace-nowrap",children:[p,h.jsx("br",{className:""})]},g))})})]}),h.jsx(lO,{bgColor:"white",textColor:"#028AC8",socialColor:"#028AC8",phone:u?.contact?.phone||"",email:u?.contact?.email||""})]}),h.jsx(fO,{textColor:"white",textColorMenu:"white",textAvailable:!0,menu:t,title:u?.title,logo:u?.logo?.url})]}),h.jsx("main",{className:"min-h-[80vh]",children:e}),h.jsx(Sj,{config:c})]})};function mO(){const{menu:e}=kt(),t=Zt();return h.jsx(hO,{menu:e,children:h.jsx(i9,{mode:"wait",initial:!1,children:h.jsx(hC,{children:h.jsx(Yw,{})},t.pathname)})})}const pO=()=>h.jsx("main",{className:"relative",children:h.jsx("div",{className:"min-h-screen w-full flex justify-center items-center",children:h.jsx("div",{className:"loader"})})});function cc(e,t=300){const[i,r]=x.useState(e);return x.useEffect(()=>{const l=window.setTimeout(()=>r(e),t);return()=>window.clearTimeout(l)},[e,t]),i}function gO(){const[e,t]=x.useState([]),[i,r]=x.useState([]),[l,u]=x.useState(""),[c,m]=x.useState(null),[d,p]=x.useState(null),[g,y]=x.useState(!1),[S,C]=x.useState(!1),[w,T]=x.useState(null),[E,A]=x.useState(""),{domain:R}=kt(),N=On(),P=cc(E,300),D=x.useCallback(async()=>{C(!0);try{const I=await mt.getFileCategories(R);r(I.data??[])}catch(I){console.error("Error fetching categories:",I)}finally{C(!1)}},[R]),U=x.useCallback(async()=>{y(!0),T(null);try{const I=await mt.getFileManagement(R,l,P);t(I.data??[]),m(I.meta??null),p(I.links??null)}catch(I){console.error("Error fetching file management:",I),T(I)}finally{y(!1)}},[R,l,P]);x.useEffect(()=>{D()},[D]),x.useEffect(()=>{U()},[U]);const H=I=>{N(`/files-management/${I.uuid}`,{state:{file:I}})};return g&&e.length===0?h.jsx("div",{className:"flex min-h-screen items-center justify-center bg-slate-50",children:h.jsx("p",{className:"text-sm font-medium text-slate-600",children:"Loading files..."})}):w?h.jsx("div",{className:"flex min-h-screen items-center justify-center bg-slate-50",children:h.jsx("p",{className:"text-sm font-medium text-red-600",children:"Failed to load files."})}):h.jsx("div",{className:"min-h-screen bg-slate-50 p-4 sm:p-6",children:h.jsxs("div",{className:"mx-auto w-[95%] max-w-7xl",children:[h.jsx("div",{className:"mb-6 flex flex-col justify-between gap-4 sm:flex-row sm:items-center",children:h.jsxs("div",{children:[h.jsx("h1",{className:"text-2xl font-bold text-slate-900 sm:text-3xl",children:"File Management"}),h.jsx("p",{className:"mt-1 text-sm text-slate-500",children:"Click a row to view attachments"})]})}),h.jsxs("div",{className:"mb-2 flex flex-col gap-4 sm:flex-row sm:justify-between",children:[h.jsx("div",{children:h.jsxs("div",{className:"flex flex-wrap gap-2 mt-1 mb-4",children:[h.jsx("button",{type:"button",onClick:()=>u(""),disabled:S,className:`px-4 py-2 rounded-full border text-sm transition disabled:cursor-not-allowed disabled:opacity-60 ${l===""?"border-emerald-500 bg-emerald-50 text-emerald-700":"border-slate-300 bg-white text-slate-700 hover:bg-slate-50"}`,children:"All"}),i.map(I=>h.jsx("button",{type:"button",onClick:()=>u(I.id),disabled:S,className:`px-4 py-2 rounded-full border text-sm transition disabled:cursor-not-allowed disabled:opacity-60 ${l===I.id?"border-emerald-500 bg-emerald-50 text-emerald-700":"border-slate-300 bg-white text-slate-700 hover:bg-slate-50"}`,children:I.title},I.id))]})}),h.jsx("div",{className:"w-full sm:w-72",children:h.jsx("input",{type:"text",className:"w-full px-3 py-2 border border-emerald-400 rounded-md text-sm",placeholder:"Search f
36iles...",value:E,onChange:I=>A(I.target.value)})})]}),h.jsx("div",{className:"overflow-hidden mt-2 rounded-2xl border border-slate-200 bg-white shadow-sm",children:e.length===0?h.jsxs("div",{className:"p-10 text-center",children:[h.jsx("h3",{className:"text-lg font-semibold text-slate-900",children:"No files found"}),h.jsx("p",{className:"mt-1 text-sm text-slate-500",children:"There are currently no files available."})]}):h.jsx("div",{className:"overflow-x-auto",children:h.jsxs("table",{className:"min-w-full divide-y divide-slate-200",children:[h.jsx("thead",{className:"bg-slate-100",children:h.jsxs("tr",{children:[h.jsx("th",{className:"px-5 py-3 text-left text-xs font-semibold uppercase tracking-wider text-slate-600",children:"#"}),h.jsx("th",{className:"px-5 py-3 text-left text-xs font-semibold uppercase tracking-wider text-slate-600",children:"Title"}),h.jsx("th",{className:"px-5 py-3 text-left text-xs font-semibold uppercase tracking-wider text-slate-600",children:"Department"}),h.jsx("th",{className:"px-5 py-3 text-left text-xs font-semibold uppercase tracking-wider text-slate-600",children:"Date"}),h.jsx("th",{className:"px-5 py-3 text-left text-xs font-semibold uppercase tracking-wider text-slate-600",children:"Attachments"})]})}),h.jsx("tbody",{className:"divide-y divide-slate-200 bg-white",children:e.map((I,L)=>h.jsxs("tr",{onClick:()=>H(I),className:"cursor-pointer transition hover:bg-slate-50",children:[h.jsx("td",{className:"whitespace-nowrap px-5 py-4 text-sm text-slate-500",children:L+1}),h.jsx("td",{className:"px-5 py-4",children:h.jsx("p",{className:"font-semibold text-slate-900 hover:text-blue-700",children:I.title})}),h.jsx("td",{className:"whitespace-nowrap px-5 py-4",children:h.jsx("span",{className:"rounded-full bg-blue-50 px-3 py-1 text-xs font-medium text-blue-700",children:I.department_name})}),h.jsx("td",{className:"whitespace-nowrap px-5 py-4 text-sm text-slate-600",children:I.file_date}),h.jsx("td",{className:"whitespace-nowrap px-5 py-4",children:h.jsx("span",{className:"rounded-full bg-purple-50 px-3 py-1 text-xs font-medium text-purple-700",children:"Attachements"})})]},I.uuid))})]})})})]})})}const vO=()=>h.jsx(h.Fragment,{children:h.jsx(gO,{})});function yO(){const e=Zt(),t=On(),i=e.state?.file,r=u=>{window.open(u,"_blank","noopener,noreferrer")};if(!i)return h.jsx("div",{className:"min-h-screen bg-slate-50 p-6",children:h.jsxs("div",{className:"mx-auto max-w-5xl animate-[fadeIn_0.4s_ease-out] rounded-2xl border border-slate-200 bg-white p-8 text-center shadow-sm",children:[h.jsx("h1",{className:"text-xl font-bold text-slate-900",children:"File details not found"}),h.jsx("p",{className:"mt-2 text-sm text-slate-500",children:"Please go back and select a file again."}),h.jsx("button",{type:"button",onClick:()=>t(-1),className:"mt-6 rounded-lg bg-slate-900 px-5 py-2 text-sm font-medium text-white transition-all duration-300 hover:-translate-y-0.5 hover:bg-slate-700 hover:shadow-lg active:scale-95",children:"Go Back"})]})});const l=i.attachments??[];return h.jsxs("div",{className:"min-h-screen bg-slate-50 p-4 sm:p-6",children:[h.jsxs("div",{className:"mx-auto max-w-7xl",children:[h.jsx("button",{type:"button",onClick:()=>t(-1),className:"mb-5 rounded-lg border border-slate-200 bg-white px-4 py-2 text-sm font-medium text-slate-700 transition-all duration-300 hover:-translate-x-1 hover:bg-slate-50 hover:shadow-md active:scale-95",children:"â Back"}),h.jsx("div",{className:" rounded-2xl border border-slate-200 bg-white p-6 shadow-sm transition-all duration-300 hover:shadow-md",children:h.jsxs("div",{className:"flex flex-col justify-between gap-4 md:flex-row md:items-start",children:[h.jsxs("div",{children:[h.jsx("h1",{className:"text-2xl font-bold text-slate-900",children:i.title}),h.jsxs("div",{className:"mt-4 flex flex-wrap gap-2",children:[h.jsx("span",{className:"rounded-full bg-blue-50 px-3 py-1 text-xs font-medium text-blue-700",children:i.department_name}),h.jsxs("span",{className:"rounded-full bg-purple-50 px-3 py-1 text-xs font-medium text-purple-700",children:[l.length," Attachments"]})]})]}),h.jsx("div",{className:"text-sm text-slate-500 md:text-right",children:h.jsxs("p",{children:[h.jsx("span",{className:"font-medium text-slate-700",children:"Date:"})," ",i.file_date]})})]})}),h.jsxs("div",{className:"animate-[fadeInUp_0.55s_ease-out] rounded-2xl py-6 ",children:[h.jsx("div",{className:"mb-5 flex items-center justify-between",children:h.jsxs("div",{children:[h.jsx("h2",{className:"text-lg font-semibold text-slate-900",children:"Attachments"}),h.jsx("p",{className:"text-sm text-slate-500",children:"Download or view attached files"})]})}),l.length===0?h.jsx("div",{className:"rounded-2xl border border-dashed border-slate-300 bg-white p-10 text-center",children:h.jsx("p",{className:"text-sm text-slate-500",children:"No attachments found for this file."})}):h.jsx("div",{className:"overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-sm",children:h.jsx("div",{className:"overflow-x-auto",children:h.jsxs("table",{className:"min-w-full divide-y divide-slate-200",children:[h.jsx("thead",{className:"",children:h.jsxs("tr",{children:[h.jsx("th",{className:"px-5 py-4 text-left text-xs font-semibold uppercase tracking-wider text-slate-500",children:"#"}),h.jsx("th",{className:"px-5 py-4 text-left text-xs font-semibold uppercase tracking-wider text-slate-500",children:"Title"}),h.jsx("th",{className:"px-5 py-4 text-right text-xs font-semibold uppercase tracking-wider text-slate-500",children:"Action"})]})}),h.jsx("tbody",{className:"divide-y divide-slate-100 bg-white",children:l.map((u,c)=>h.jsxs("tr",{style:{animationDelay:`${c*80}ms`},className:"group animate-[cardFadeUp_0.45s_ease-out_both] transition-all duration-300 hover:bg-emerald-50/60",children:[h.jsx("td",{className:"whitespace-nowrap px-5 py-4",children:h.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-emerald-900 text-sm font-bold text-white shadow-md transition-all duration-300 group-hover:scale-110 group-hover:rotate-6",children:c+1})}),h.jsx("td",{className:"px-5 py-4",children:h.jsx("div",{className:"min-w-0",children:h.jsx("h3",{className:"max-w-md truncate text-sm font-semibold text-slate-900 transition-colors duration-300 group-hover:text-emerald-950",children:u.title||`Attachment ${c+1}`})})}),h.jsx("td",{className:"whitespace-nowrap px-5 py-4 text-right",children:h.jsx("button",{type:"button",onClick:()=>r(u.file_url),className:"rounded-xl border border-slate-300 bg-white px-5 py-2 text-xs font-semibold text-slate-700 transition-all duration-300 hover:-translate-y-0.5 hover:bg-emerald-900 hover:text-white hover:shadow-lg active:scale-95",children:"View Attachement"})})]},u.key))})]})})})]})]}),h.jsx("style",{children:` 37 @keyframes cardFadeUp { 38 from { 39 opacity: 0; 40 transform: translateY(14px) scale(0.98); 41 } 42 to { 43 opacity: 1; 44 transform: translateY(0) scale(1); 45 } 46 } 47`})]})}var Gu={exports:{}},bO=Gu.exports,z2;function xO(){return z2||(z2=1,(function(e,t){(function(i,r){e.exports=r(Sc())})(bO,(i=>(()=>{var r={703:(m,d,p)=>{var g=p(414);function y(){}function S(){}S.resetWarningCache=y,m.exports=function(){function C(E,A,R,N,P,D){if(D!==g){var U=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw U.name="Invariant Violation",U}}function w(){return C}C.isRequired=C;var T={array:C,bigint:C,bool:C,func:C,number:C,object:C,string:C,symbol:C,any:C,arrayOf:w,element:C,elementType:C,instanceOf:w,node:C,objectOf:w,oneOf:w,oneOfType:w,shape:w,exact:w,checkPropTypes:S,resetWarningCache:y};return T.PropTypes=T,T}},697:(m,d,p)=>{m.exports=p(703)()},414:m=>{m.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},98:m=>{m.exports=i}},l={};function u(m){var d=l[m];if(d!==void 0)return d.exports;var p=l[m]={exports:{}};return r[m](p,p.exports,u),p.exports}u.n=m=>
47{var d=m&&m.__esModule?()=>m.default:()=>m;return u.d(d,{a:d}),d},u.d=(m,d)=>{for(var p in d)u.o(d,p)&&!u.o(m,p)&&Object.defineProperty(m,p,{enumerable:!0,get:d[p]})},u.o=(m,d)=>Object.prototype.hasOwnProperty.call(m,d),u.r=m=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})};var c={};return(()=>{u.r(c),u.d(c,{default:()=>ce});var m=u(98),d=u.n(m),p=u(697),g=u.n(p);function y(){return y=Object.assign?Object.assign.bind():function(ne){for(var oe=1;oe<arguments.length;oe++){var fe=arguments[oe];for(var X in fe)Object.prototype.hasOwnProperty.call(fe,X)&&(ne[X]=fe[X])}return ne},y.apply(this,arguments)}var S=function(ne){var oe=ne.pageClassName,fe=ne.pageLinkClassName,X=ne.page,q=ne.selected,ae=ne.activeClassName,ee=ne.activeLinkClassName,W=ne.getEventListener,O=ne.pageSelectedHandler,z=ne.href,Y=ne.extraAriaContext,K=ne.pageLabelBuilder,J=ne.rel,le=ne.ariaLabel||"Page "+X+(Y?" "+Y:""),ue=null;return q&&(ue="page",le=ne.ariaLabel||"Page "+X+" is your current page",oe=oe!==void 0?oe+" "+ae:ae,fe!==void 0?ee!==void 0&&(fe=fe+" "+ee):fe=ee),d().createElement("li",{className:oe},d().createElement("a",y({rel:J,role:z?void 0:"button",className:fe,href:z,tabIndex:q?"-1":"0","aria-label":le,"aria-current":ue,onKeyPress:O},W(O)),K(X)))};S.propTypes={pageSelectedHandler:g().func.isRequired,selected:g().bool.isRequired,pageClassName:g().string,pageLinkClassName:g().string,activeClassName:g().string,activeLinkClassName:g().string,extraAriaContext:g().string,href:g().string,ariaLabel:g().string,page:g().number.isRequired,getEventListener:g().func.isRequired,pageLabelBuilder:g().func.isRequired,rel:g().string};const C=S;function w(){return w=Object.assign?Object.assign.bind():function(ne){for(var oe=1;oe<arguments.length;oe++){var fe=arguments[oe];for(var X in fe)Object.prototype.hasOwnProperty.call(fe,X)&&(ne[X]=fe[X])}return ne},w.apply(this,arguments)}var T=function(ne){var oe=ne.breakLabel,fe=ne.breakAriaLabel,X=ne.breakClassName,q=ne.breakLinkClassName,ae=ne.breakHandler,ee=ne.getEventListener,W=X||"break";return d().createElement("li",{className:W},d().createElement("a",w({className:q,role:"button",tabIndex:"0","aria-label":fe,onKeyPress:ae},ee(ae)),oe))};T.propTypes={breakLabel:g().oneOfType([g().string,g().node]),breakAriaLabel:g().string,breakClassName:g().string,breakLinkClassName:g().string,breakHandler:g().func.isRequired,getEventListener:g().func.isRequired};const E=T;function A(ne){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return ne??oe}function R(ne){return R=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(oe){return typeof oe}:function(oe){return oe&&typeof Symbol=="function"&&oe.constructor===Symbol&&oe!==Symbol.prototype?"symbol":typeof oe},R(ne)}function N(){return N=Object.assign?Object.assign.bind():function(ne){for(var oe=1;oe<arguments.length;oe++){var fe=arguments[oe];for(var X in fe)Object.prototype.hasOwnProperty.call(fe,X)&&(ne[X]=fe[X])}return ne},N.apply(this,arguments)}function P(ne,oe){for(var fe=0;fe<oe.length;fe++){var X=oe[fe];X.enumerable=X.enumerable||!1,X.configurable=!0,"value"in X&&(X.writable=!0),Object.defineProperty(ne,X.key,X)}}function D(ne,oe){return D=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(fe,X){return fe.__proto__=X,fe},D(ne,oe)}function U(ne,oe){if(oe&&(R(oe)==="object"||typeof oe=="function"))return oe;if(oe!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return H(ne)}function H(ne){if(ne===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ne}function I(ne){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(oe){return oe.__proto__||Object.getPrototypeOf(oe)},I(ne)}function L(ne,oe,fe){return oe in ne?Object.defineProperty(ne,oe,{value:fe,enumerable:!0,configurable:!0,writable:!0}):ne[oe]=fe,ne}var ie=(function(ne){(function(W,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");W.prototype=Object.create(O&&O.prototype,{constructor:{value:W,writable:!0,configurable:!0}}),Object.defineProperty(W,"prototype",{writable:!1}),O&&D(W,O)})(ee,ne);var oe,fe,X,q,ae=(X=ee,q=(function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}})(),function(){var W,O=I(X);if(q){var z=I(this).constructor;W=Reflect.construct(O,arguments,z)}else W=O.apply(this,arguments);return U(this,W)});function ee(W){var O,z;return(function(Y,K){if(!(Y instanceof K))throw new TypeError("Cannot call a class as a function")})(this,ee),L(H(O=ae.call(this,W)),"handlePreviousPage",(function(Y){var K=O.state.selected;O.handleClick(Y,null,K>0?K-1:void 0,{isPrevious:!0})})),L(H(O),"handleNextPage",(function(Y){var K=O.state.selected,J=O.props.pageCount;O.handleClick(Y,null,K<J-1?K+1:void 0,{isNext:!0})}
47)),L(H(O),"handlePageSelected",(function(Y,K){if(O.state.selected===Y)return O.callActiveCallback(Y),void O.handleClick(K,null,void 0,{isActive:!0});O.handleClick(K,null,Y)})),L(H(O),"handlePageChange",(function(Y){O.state.selected!==Y&&(O.setState({selected:Y}),O.callCallback(Y))})),L(H(O),"getEventListener",(function(Y){return L({},O.props.eventListener,Y)})),L(H(O),"handleClick",(function(Y,K,J){var le=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},ue=le.isPrevious,Ae=ue!==void 0&&ue,ge=le.isNext,Ne=ge!==void 0&&ge,Oe=le.isBreak,Ie=Oe!==void 0&&Oe,at=le.isActive,Xe=at!==void 0&&at;Y.preventDefault?Y.preventDefault():Y.returnValue=!1;var vt=O.state.selected,Pe=O.props.onClick,it=J;if(Pe){var yt=Pe({index:K,selected:vt,nextSelectedPage:J,event:Y,isPrevious:Ae,isNext:Ne,isBreak:Ie,isActive:Xe});if(yt===!1)return;Number.isInteger(yt)&&(it=yt)}it!==void 0&&O.handlePageChange(it)})),L(H(O),"handleBreakClick",(function(Y,K){var J=O.state.selected;O.handleClick(K,Y,J<Y?O.getForwardJump():O.getBackwardJump(),{isBreak:!0})})),L(H(O),"callCallback",(function(Y){O.props.onPageChange!==void 0&&typeof O.props.onPageChange=="function"&&O.props.onPageChange({selected:Y})})),L(H(O),"callActiveCallback",(function(Y){O.props.onPageActive!==void 0&&typeof O.props.onPageActive=="function"&&O.props.onPageActive({selected:Y})})),L(H(O),"getElementPageRel",(function(Y){var K=O.state.selected,J=O.props,le=J.nextPageRel,ue=J.prevPageRel,Ae=J.selectedPageRel;return K-1===Y?ue:K===Y?Ae:K+1===Y?le:void 0})),L(H(O),"pagination",(function(){var Y=[],K=O.props,J=K.pageRangeDisplayed,le=K.pageCount,ue=K.marginPagesDisplayed,Ae=K.breakLabel,ge=K.breakClassName,Ne=K.breakLinkClassName,Oe=K.breakAriaLabels,Ie=O.state.selected;if(le<=J)for(var at=0;at<le;at++)Y.push(O.getPageElement(at));else{var Xe=J/2,vt=J-Xe;Ie>
47le-J/2?Xe=J-(vt=le-Ie):Ie<J/2&&(vt=J-(Xe=Ie));var Pe,it,yt=function(Jt){return O.getPageElement(Jt)},qe=[];for(Pe=0;Pe<le;Pe++){var pn=Pe+1;if(pn<=ue)qe.push({type:"page",index:Pe,display:yt(Pe)});else if(pn>le-ue)qe.push({type:"page",index:Pe,display:yt(Pe)});else if(Pe>=Ie-Xe&&Pe<=Ie+(Ie===0&&J>1?vt-1:vt))qe.push({type:"page",index:Pe,display:yt(Pe)});else if(Ae&&qe.length>0&&qe[qe.length-1].display!==it&&(J>0||ue>0)){var Rn=Pe<Ie?Oe.backward:Oe.forward;it=d().createElement(E,{key:Pe,breakAriaLabel:Rn,breakLabel:Ae,breakClassName:ge,breakLinkClassName:Ne,breakHandler:O.handleBreakClick.bind(null,Pe),getEventListener:O.getEventListener}),qe.push({type:"break",index:Pe,display:it})}}qe.forEach((function(Jt,gn){var Xa=Jt;Jt.type==="break"&&qe[gn-1]&&qe[gn-1].type==="page"&&qe[gn+1]&&qe[gn+1].type==="page"&&qe[gn+1].index-qe[gn-1].index<=2&&(Xa={type:"page",index:Jt.index,display:yt(Jt.index)}),Y.push(Xa.display)}))}return Y})),W.initialPage!==void 0&&W.forcePage!==void 0&&console.warn("(react-paginate): Both initialPage (".concat(W.initialPage,") and forcePage (").concat(W.forcePage,") props are provided, which is discouraged.")+` Use exclusively forcePage prop for a controlled component. 48See https://reactjs.org/docs/forms.html#controlled-components`),z=W.initialPage?W.initialPage:W.forcePage?W.forcePage:0,O.state={selected:z},O}return oe=ee,(fe=[{key:"componentDidMount",value:function(){var W=this.props,O=W.initialPage,z=W.disableInitialCallback,Y=W.extraAriaContext,K=W.pageCount,J=W.forcePage;O===void 0||z||this.callCallback(O),Y&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(K)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(K,"). Did you forget a Math.ceil()?")),O!==void 0&&O>K-1&&console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(O," > ").concat(K-1,").")),J!==void 0&&J>K-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(J," > ").concat(K-1,")."))}},{key:"componentDidUpdate",value:function(W){this.props.forcePage!==void 0&&this.props.forcePage!==W.forcePage&&(this.props.forcePage>this.props.pageCount-1&&console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage," > ").concat(this.props.pageCount-1,").")),this.setState({selected:this.props.forcePage})),Number.isInteger(W.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"))}},{key:"getForwardJump",value:function(){var W=this.state.selected,O=this.props,z=O.pageCount,Y=W+O.pageRangeDisplayed;return Y>=z?z-1:Y}},{key:"getBackwardJump",value:function(){var W=this.state.selected-this.props.pageRangeDisplayed;return W<0?0:W}},{key:"getElementHref",value:function(W){var O=this.props,z=O.hrefBuilder,Y=O.pageCount,K=O.hrefAllControls;if(z)return K||W>=0&&W<Y?z(W+1,Y,this.state.selected):void 0}},{key:"ariaLabelBuilder",value:function(W){var O=W===this.state.selected;if(this.props.ariaLabelBuilder&&W>=0&&W<this.props.pageCount){var z=this.props.ariaLabelBuilder(W+1,O);return this.props.extraAriaContext&&!O&&(z=z+" "+this.props.extraAriaContext),z}}},{key:"getPageElement",value:function(W){var O=this.state.selected,z=this.props,Y=z.pageClassName,K=z.pageLinkClassName,J=z.activeClassName,le=z.activeLinkClassName,ue=z.extraAriaContext,Ae=z.pageLabelBuilder;return d().createElement(C,{key:W,pageSelectedHandler:this.handlePageSelected.bind(null,W),selected:O===W,rel:this.getElementPageRel(W),pageClassName:Y,pageLinkClassName:K,activeClassName:J,activeLinkClassName:le,extraAriaContext:ue,href:this.getElementHref(W),ariaLabel:this.ariaLabelBuilder(W),page:W+1,pageLabelBuilder:Ae,getEventListener:this.getEventListener})}},{key:"render",value:function(){var W=this.props.renderOnZeroPageCount;if(this.props.pageCount===0&&W!==void 0)return W&&W(this.props);var O=this.props,z=O.disabledClassName,Y=O.disabledLinkClassName,K=O.pageCount,J=O.className,le=O.containerClassName,ue=O.previousLabel,Ae=O.previousClassName,ge=O.previousLinkClassName,Ne=O.previousAriaLabel,Oe=O.prevRel,Ie=O.nextLabel,at=O.nextClassName,Xe=O.nextLinkClassName,vt=O.nextAriaLabel,Pe=O.nextRel,it=this.state.selected,yt=it===0,qe=it===K-1,pn="".concat(A(Ae)).concat(yt?" ".concat(A(z)):""),Rn="".concat(A(at)).concat(qe?" ".concat(A(z)):""),Jt="".concat(A(ge)).concat(yt?" ".concat(A(Y)):""),gn="".concat(A(Xe)).concat(qe?" ".concat(A(Y)):""),Xa=yt?"true":"false",$t=qe?"true":"false";return d().createElement("ul",{className:J||le,role:"navigation","aria-label":"Pagination"},d().createElement("li",{className:pn},d().createElement("a",N({className:Jt,href:this.getElementHref(it-1),tabIndex:yt?"-1":"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":Xa,"aria-label":Ne,rel:Oe},this.getEventListener(this.handlePreviousPage)),ue)),this.pagination(),d().createElement("li",{className:Rn},d().createElement("a",N({className:gn,href:this.getElementHref(it+1),tabIndex:qe?"-1":"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":$t,"aria-label":vt,rel:Pe},this.getEventListener(this.handleNextPage)),Ie)))}}])&&P(oe.prototype,fe),Object.defineProperty(oe,"prototype",{writable:!1}),ee})(m.Component);L(ie,"propTypes",{pageCount:g().number.isRequired,pageRangeDisplayed:g().number,marginPagesDisplayed:g().number,previousLabel:g().node,previousAriaLabel:g().string,prevPageRel:g().string,prevRel:g().string,nextLabel:g().node,nextAriaLabel:g().string,nextPageRel:g().string,nextRel:g().string,breakLabel:g().oneOfType([g().string,g().node]),breakAriaLabels:g(
48).shape({forward:g().string,backward:g().string}),hrefBuilder:g().func,hrefAllControls:g().bool,onPageChange:g().func,onPageActive:g().func,onClick:g().func,initialPage:g().number,forcePage:g().number,disableInitialCallback:g().bool,containerClassName:g().string,className:g().string,pageClassName:g().string,pageLinkClassName:g().string,pageLabelBuilder:g().func,activeClassName:g().string,activeLinkClassName:g().string,previousClassName:g().string,nextClassName:g().string,previousLinkClassName:g().string,nextLinkClassName:g().string,disabledClassName:g().string,disabledLinkClassName:g().string,breakClassName:g().string,breakLinkClassName:g().string,extraAriaContext:g().string,ariaLabelBuilder:g().func,eventListener:g().string,renderOnZeroPageCount:g().func,selectedPageRel:g().string}),L(ie,"defaultProps",{pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevPageRel:"prev",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextPageRel:"next",nextRel:"next",breakLabel:"...",breakAriaLabels:{forward:"Jump forward",backward:"Jump backward"},disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(ne){return ne},eventListener:"onClick",renderOnZeroPageCount:void 0,selectedPageRel:"canonical",hrefAllControls:!1});const ce=ie})(),c})()))})(Gu)),Gu.exports}var SO=xO();const C3=Hl(SO),wO=()=>{const{domain:e}=kt(),[t,i]=x.useState([]),[r,l]=x.useState(""),[u,c]=x.useState(null),[m,d]=x.useState({currentPage:1,perPage:20,total:0,lastPage:0}),p=R=>{let N=R.trim().toLowerCase();return N=N.replace(/^https?:\/\//,""),N=N.replace(/^www\./,""),N=N.split("/")[0],N=N.split("?")[0],N=N.split("#")[0],N},[g,y]=x.useState(!1),[S,C]=x.useState(null),w=p(r),T=cc(w,300),E=x.useCallback(async()=>{y(!0),C(null);try{const R=await mt.getDomainDataList(e,m.currentPage,T);i(R?.data||[]),d(N=>({...N,currentPage:R?.meta?.current_page||1,perPage:R?.meta?.per_page||20,total:R?.meta?.total||0,lastPage:R?.meta?.last_page||1}))}catch(R){console.error("Error fetching domain data:",R),C(R)}finally{y(!1)}},[e,m.currentPage,T]);x.useEffect(()=>{E()},[E]),x.useEffect(()=>{d(R=>({...R,currentPage:1}))},[T]);const A=R=>R?.url?.trim()?"Sub Portal Development Team":R?.external_url?.trim()?"Department Own Arrange":"No Website";return h.jsxs("div",{className:"min-h-screen bg-slate-100 p-6",children:[h.jsxs("div",{className:"mx-auto max-w-7xl",children:[h.jsxs("div",{className:"rounded-3xl bg-[#059C8A] p-8 text-white shadow-lg",children:[h.jsx("h1",{className:"text-4xl font-bold",children:"Verify Domain"}),h.jsx("p",{className:"mt-2 text-emerald-100",children:"Search domains and view their details."}),h.jsx("div",{className:"mt-4 inline-flex rounded-xl bg-white/20 px-4 py-2",children:h.jsxs("span",{className:"font-semibold",children:[m.total," Records Found"]})})]}),h.jsx("div",{className:"-mt-6 mx-auto max-w-6xl",children:h.jsx("div",{className:"rounded-2xl bg-white p-4 shadow-xl",children:h.jsx("input",{type:"text",placeholder:"Search Domain (IT, Admin, Finance...)",value:r,onChange:R=>l(R.target.value),className:"w-full rounded-xl border border-slate-200 px-5 py-4 text-lg outline-none focus:border-emerald-500"})})}),h.jsx("div",{className:"mt-8 overflow-hidden rounded-3xl bg-white shadow-lg",children:h.jsx("div",{className:"overflow-x-auto",children:h.jsxs("table",{className:"w-full",children:[h.jsx("thead",{children:h.jsxs("tr",{className:"bg-slate-50",children:[h.jsx("th",{className:"px-6 py-4 text-left text-sm font-semibold text-slate-600",children:"Website"}),h.jsx("th",{className:"px-6 py-4 text-left text-sm font-semibold text-slate-600",children:"Department"}),h.jsx("th",{className:"px-6 py-4 text-left text-sm font-semibold text-slate-600",children:"Developed By"})]})}),h.jsx("tbody",{children:t.length>0?t.map(R=>h.jsxs("tr",{onClick:()=>c(R),className:"cursor-pointer border-t border-slate-100 hover:bg-emerald-50",children:[h.jsx("td",{className:"px-6 py-4",children:h.jsxs("div",{className:"flex items-center gap-3",children:[h.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-emerald-100 font-bold text-emerald-700",children:R.logo_url?h.jsx("img",{src:R.logo_url,alt:
48R.title,className:"h-full w-full object-cover"}):R.title?.charAt(0)||"?"}),h.jsx("span",{className:"font-medium text-sm text-slate-800",children:R.title})]})}),h.jsx("td",{className:"px-6 py-4 text-sm text-slate-700",children:R.department?.name||"â"}),h.jsx("td",{className:"px-6 py-4 text-sm text-slate-700",children:R.url!=null&&R.url!==""?"Sub Portal Development Team":R.external_url!=null&&R.external_url!==""?"Department Own Arrange":"No Website"})]},R.id)):h.jsx("tr",{children:h.jsx("td",{colSpan:6,className:"py-16 text-center text-slate-500",children:"No records found"})})})]})})}),m.lastPage>1&&h.jsx(C3,{forcePage:(m.currentPage??1)-1,pageCount:m.lastPage,onPageChange:R=>{const N=R.selected+1;d(P=>({...P,currentPage:N}))},pageRangeDisplayed:3,marginPagesDisplayed:1,previousLabel:"< Prev",nextLabel:"Next >",breakLabel:"â¦",containerClassName:"flex items-center justify-start gap-2 mt-6",pageClassName:"cursor-pointer",pageLinkClassName:"min-w-[40px] bg-white px-3 py-2 rounded-md text-sm border hover:bg-gray-50",activeLinkClassName:"background-linear border text-white border-emerald-900",previousLinkClassName:"px-3 py-2 rounded-md border cursor-pointer text-sm hover:bg-gray-50",nextLinkClassName:"px-3 py-2 rounded-md border cursor-pointer text-sm hover:bg-gray-50",disabledLinkClassName:"opacity-50 cursor-not-allowed hover:bg-transparent",breakLinkClassName:"px-2 text-sm text-gray-500"})]}),u&&h.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-3 sm:p-6",children:h.jsxs("div",{className:"flex max-h-[90vh] w-full max-w-3xl flex-col overflow-hidden rounded-3xl bg-white shadow-2xl",children:[h.jsxs("div",{className:"shrink-0",children:[h.jsx("div",{className:"px-4 py-4 sm:px-6 sm:py-5",children:h.jsxs("div",{className:"flex items-start justify-between gap-3",children:[h.jsxs("div",{className:"flex min-w-0 items-start gap-3 sm:gap-4",children:[h.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center overflow-hidden rounded-2xl bg-emerald-100 text-lg font-bold text-emerald-700 sm:h-14 sm:w-14",children:u.logo_url?h.jsx("img",{src:u.logo_url,alt:u.title,className:"h-full w-full object-cover"}):u.title?.charAt(0)||"?"}),h.jsxs("div",{className:"min-w-0",children:[h.jsx("h2",{className:"wrap-break-word text-xl font-bold text-slate-900",children:"Website Domain Verification"}),h.jsxs("div",{className:"mt-2 flex flex-wrap gap-2",children:[h.jsx("span",{className:"rounded-full bg-emerald-100 px-3 py-1 text-xs font-semibold capitalize text-emerald-700",children:u.status||"â"}),u.type?.title&&h.jsx("span",{className:"rounded-full bg-blue-100 px-3 py-1 text-xs font-semibold text-blue-700",children:u.type.title})]})]})]}),h.jsx("button",{onClick:()=>c(null),className:"shrink-0 rounded-xl p-2 text-slate-500 hover:bg-slate-100 hover:text-slate-900",type:"button",children:"â"})]})}),h.jsx("div",{className:"h-px bg-slate-200"})]}),h.jsx("div",{className:"flex-1 overflow-y-auto",children:h.jsxs("div",{className:"p-4 sm:p-4",children:[h.jsx("h3",{className:"text-lg font-semibold text-slate-900",children:"Website Directory Details"}),h.jsx("div",{className:"mt-2 rounded-2xl bg-white p-4 ring-1 ring-slate-200 sm:p-5",children:h.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[h.jsx(Ki,{label:"Website URL",link:!0,value:u.url||u.external_url}),h.jsx("div",{}),h.jsx(Ki,{label:"Department",value:u.department?.name}),h.jsx(Ki,{label:"Website Developed By",color:!0,value:A(u)})]})}),h.jsx("h3",{className:"text-sm my-2 font-semibold text-slate-900",children:"Department Contact Details"}),h.jsx("div",{className:" rounded-2xl bg-white p-4 ring-1 ring-slate-200 sm:p-5",children:h.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[h.jsx(Ki,{label:"Focal Person Name",value:u.users?.[0]?.name}),h.jsx(Ki,{label:"Email",value:u.users?.[0]?.email}),u.users?.[0]?.contact_number&&h.jsx(Ki,{label:"Contact Number",value:u.users?.[0]?.contact_number}),u.users?.[0]?.mobile_number&&h.jsx(Ki,{label:"Mobile Number",value:u.users?.[0]?.mobile_number})]})})]})}),h.jsxs("div",{className:"shrink-0 flex flex-col gap-2 border-t border-slate-200 bg-white px-4 py-3 sm:flex-row sm:items-center sm:justify-between sm:px-6 sm:py-4",children:[h.jsx("div",{}),h.jsx("p",{className:"rounded-full px-8 py-2 text-xs font-medium text-emerald-600 bg-emerald-100",children:"KP Web Portal"}),h.jsx("button",{onClick:()=>c(null),className:"rounded-xl border border-slate-300 px-4 py-2 text-sm font-semibold text-slate-700 hover:bg-slate-100",type:"button",children:"Close"})]})]})})]})};function Ki({label:e,value:t,link:i,color:r}){const l=t!=null&&t!=="",u=i&&l;return h.jsxs("div",{className:"space-y-1",children:[h.jsx("div",{className:"text-xs font-medium text-slate-500",children:e}),h.jsx("div",{onClick:u?()=>
48window.open(t,"_blank"):void 0,className:`${u?"cursor-pointer hover:underline text-blue-600":r===!0?"text-yellow-500 bg-yellow-100 w-fit rounded-2xl px-4 py-1":"text-slate-900"} wrap-break-word text-[12px] font-medium`,children:l?t:"-"})]})}const EO=()=>h.jsx(h.Fragment,{children:h.jsx(wO,{})});function Rm(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"12",x2:"5",y2:"12"},child:[]},{tag:"polyline",attr:{points:"12 19 5 12 12 5"},child:[]}]})(e)}function A3(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"2",y:"7",width:"20",height:"14",rx:"2",ry:"2"},child:[]},{tag:"path",attr:{d:"M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"},child:[]}]})(e)}function Rl(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"line",attr:{x1:"16",y1:"2",x2:"16",y2:"6"},child:[]},{tag:"line",attr:{x1:"8",y1:"2",x2:"8",y2:"6"},child:[]},{tag:"line",attr:{x1:"3",y1:"10",x2:"21",y2:"10"},child:[]}]})(e)}function j3(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"},child:[]},{tag:"polyline",attr:{points:"22 4 12 14.01 9 11.01"},child:[]}]})(e)}function fc(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"},child:[]},{tag:"polyline",attr:{points:"7 10 12 15 17 10"},child:[]},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"},child:[]}]})(e)}function O3(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"},child:[]},{tag:"polyline",attr:{points:"15 3 21 3 21 9"},child:[]},{tag:"line",attr:{x1:"10",y1:"14",x2:"21",y2:"3"},child:[]}]})(e)}function bk(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"},child:[]},{tag:"line",attr:{x1:"1",y1:"1",x2:"23",y2:"23"},child:[]}]})(e)}function xk(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"12",r:"3"},child:[]}]})(e)}function er(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"},child:[]},{tag:"polyline",attr:{points:"14 2 14 8 20 8"},child:[]},{tag:"line",attr:{x1:"16",y1:"13",x2:"8",y2:"13"},child:[]},{tag:"line",attr:{x1:"16",y1:"17",x2:"8",y2:"17"},child:[]},{tag:"polyline",attr:{points:"10 9 9 9 8 9"},child:[]}]})(e)}function TO(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"},child:[]},{tag:"polyline",attr:{points:"13 2 13 9 20 9"},child:[]}]})(e)}function CO(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"2",y1:"12",x2:"22",y2:"12"},child:[]},{tag:"path",attr:{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"},child:[]}]})(e)}function AO(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"4",y1:"9",x2:"20",y2:"9"},child:[]},{tag:"line",attr:{x1:"4",y1:"15",x2:"20",y2:"15"},child:[]},{tag:"line",attr:{x1:"10",y1:"3",x2:"8",y2:"21"},child:[]},{tag:"line",attr:{x1:"16",y1:"3",x2:"14",y2:"21"},child:[]}]})(e)}function jO(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"},child:[]},{tag:"circle",attr:{cx:"8.5",cy:"8.5",r:"1.5"},child:[]},{tag:"polyline",attr:{points:"21 15 16 10 5 21"},child:[]}]})(e)}function R3(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"},child:[]},{tag:"circle",attr:{cx:"12",cy:"10",r:"3"},child:[]}]})(e)}function Sk(e){return xe({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(e)}function Pp(){return h.jsx("div",{className:"absolute inset-0",children:h.jsxs("svg",{className:"h-full w-full",viewBox:"0 0 1440 320",preserveAspectRatio:"none",children:[h.jsx("defs",{children:h.jsxs("linearGradient",{id:"tenderBg",x1:"0",y1:"0",x2:"1",y2:"1",children:[h.jsx("stop",{offset:"0%",stopColor:"#e8f0fe"}),h.jsx("stop",{offset:"100%",stopColor:"#f8fafc"})]})}),h.jsx("path",{fill:"url(#tenderBg)",d:"M0,160L80,170C160,180,320,200,480,202.7C640,205,800,191,960,170.7C1120,150,1280,128,1360,117.3L1440,106.7L1440,0L0,0Z"})]})})}const Xi=({icon:e,label:t,value:i})=>h.jsxs("div",{className:"rounded-xl border border-slate-200 bg-slate-50 p-4",children:[h.jsxs("div",{className:"mb-2 flex items-center gap-2 text-sm font-medium text-slate-500",children:[h.jsx("span",{className:"text-emerald-600",children:e}),h.jsx("span",{children:t})]}),h.jsx("div",{className:"wrap-break-word text-sm font-semibold text-slate-800",children:i||"Not available"})]}),OO=({status:e})=>{const t=e?.toLowerCase(),i=t==="open"?"bg-emerald-100 text-emerald-700 ring-emerald-200":t==="closed"?"bg-rose-100 text-rose-700 ring-rose-200":"bg-slate-100 text-slate-700 ring-slate-200";return h.jsxs("span",{className:`inline-flex items-center gap-2 rounded-full px-3 py-1 text-xs font-semibold ring-1 ${i}`,children:[h.jsx("span",{className:"h-2 w-2 rounded-full bg-current"}),e]})},RO=()=>{const e=On(),{id:t}=Ec(),{domain:i}=kt(),[r,l]=x.useState(null),[u,c]=x.useState(!0),[m,d]=x.useState(null),p=x.useCallback(async()=>
48{if(!t){d("Tender ID or domain is missing."),c(!1);return}try{c(!0),d(null);const y=await mt.getTendersById(i,t);console.log("ð ~ TenderDetailPage ~ response:",y);const S=y?.data?.data??y?.data??y;l(S)}catch(y){console.error("Error fetching tender detail:",y),d("Unable to load tender details.")}finally{c(!1)}},[i,t]);x.useEffect(()=>{p()},[p]);const g=y=>{y&&window.open(y,"_blank","noopener,noreferrer")};return h.jsxs("section",{className:"relative min-h-screen w-full bg-slate-50",children:[h.jsx(Pp,{}),h.jsxs("div",{className:"relative z-20 mx-auto w-[95%] max-w-7xl py-6 md:py-10",children:[h.jsxs("button",{type:"button",onClick:()=>e(-1),className:"mb-5 inline-flex items-center gap-2 rounded-lg border border-slate-200 bg-white px-4 py-2 text-sm font-semibold text-slate-700 shadow-sm transition hover:border-emerald-300 hover:bg-emerald-50 hover:text-emerald-700",children:[h.jsx(Rm,{}),"Back"]}),h.jsxs("div",{className:"overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-sm",children:[h.jsx("div",{className:"background-linear px-5 py-7 text-white md:px-8 md:py-9",children:h.jsx("div",{className:"flex flex-col justify-between gap-5 lg:flex-row lg:items-start",children:h.jsxs("div",{className:"max-w-4xl",children:[h.jsx("h1",{className:"text-2xl font-bold leading-snug md:text-3xl",children:r?.title}),h.jsxs("div",{className:"mt-4 flex items-start gap-2 text-sm text-white/90",children:[h.jsx(R3,{className:"mt-0.5 shrink-0"}),h.jsx("span",{children:r?.department_name})]})]})})}),h.jsxs("div",{className:"p-5 md:p-8",children:[h.jsxs("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[h.jsx(Xi,{icon:h.jsx(AO,{}),label:"Tender Number",value:r?.tender_number}),h.jsx(Xi,{icon:h.jsx(Rl,{}),label:"Advertisement Date",value:r?.date_of_advertisement}),h.jsx(Xi,{icon:h.jsx(Rl,{}),label:"Closing Date",value:h.jsx("span",{className:"text-rose-600",children:r?.closing_date})}),h.jsx(Xi,{icon:h.jsx(j3,{}),label:"Status",value:h.jsx(OO,{status:r?.status})}),h.jsx(Xi,{icon:h.jsx(CO,{}),label:"Source",value:r?.reference?.toUpperCase()}),h.jsx(Xi,{icon:h.jsx(A3,{}),label:"Department",value:r?.department_name}),h.jsx(Xi,{icon:h.jsx(Rl,{}),label:"Added On",value:r?.created_at})]}),h.jsxs("div",{className:"mt-8 grid gap-6 lg:grid-cols-[1fr_340px]",children:[h.jsxs("main",{className:"space-y-6",children:[h.jsxs("div",{className:"rounded-2xl border border-slate-200 bg-white p-5 md:p-6",children:[h.jsxs("h2",{className:"mb-4 flex items-center gap-2 text-lg font-bold text-slate-900",children:[h.jsx(er,{className:"text-emerald-600"}),"Tender Description"]}),h.jsx("p",{className:"whitespace-pre-line text-sm leading-7 text-slate-600",children:r?.description})]}),(r?.corrigenda?.length??0)>0&&h.jsxs("div",{className:"rounded-2xl border border-slate-200 bg-white p-5 md:p-6",children:[h.jsxs("h2",{className:"mb-4 flex items-center gap-2 text-lg font-bold text-slate-900",children:[h.jsx(er,{className:"text-blue-600"}),"Corrigenda"]}),h.jsx("div",{className:"space-y-3",children:r?.corrigenda?.map(y=>h.jsxs("div",{className:"flex flex-col justify-between gap-3 rounded-xl border border-slate-200 bg-slate-50 p-4 sm:flex-row sm:items-center",children:[h.jsxs("div",{children:[h.jsx("p",{className:"text-sm font-semibold text-slate-800",children:y.title}),h.jsxs("p",{className:"mt-1 text-xs text-slate-500",children:["Added on ",y.created_at]})]}),h.jsxs("button",{type:"button",onClick:()=>g(y.file_path),className:"inline-flex shrink-0 items-center justify-center gap-2 rounded-lg bg-blue-100 px-4 py-2 text-sm font-semibold text-blue-700 transition hover:bg-blue-200",children:[h.jsx(O3,{}),"View File"]})]},y.id))})]})]}),h.jsx("aside",{className:"space-y-5",children:h.jsxs("div",{className:"rounded-2xl border border-slate-200 bg-white p-5",children:[h.jsx("h2",{className:"mb-4 text-lg font-bold text-slate-900",children:"Tender Documents"}),h.jsxs("div",{className:"space-y-3",children:[r?.media?.file_path&&h.jsxs("button",{type:"button",onClick:()=>g(r?.media?.file_path),className:"flex w-full items-center justify-between rounded-xl border border-blue-200 bg-blue-50 p-4 text-left transition hover:border-blue-300 hover:bg-blue-100",children:[h.jsxs("div",{className:"flex items-center gap-3",children:[h.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-blue-100 text-blue-700",children:h.jsx(er,{size:20})}),h.jsxs("div",{children:[h.jsx("p",{className:"text-sm font-semibold text-slate-800",children:"Tender File"}),h.jsx("p",{className:"mt-0.5 text-xs text-slate-500",children:"View tender advertisement"})]})]}),h.jsx(fc,{className:"text-blue-700"})]}),r?.bidding_document?.file_path&&h.jsxs("button",{type:"button",onClick:()=>g(r?.bidding_document?.file_path),className:"flex w-full items-center justify-between rounded-xl border border-emerald-200 bg-emerald-50 p-4 text-left transition hover:border-emerald-300 hover:bg-emerald-100",children:[h.jsxs("div",{className:"flex items-center gap-3",children:[h.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-emerald-100 text-emerald-700",children:h.jsx(er,{size:20})}),h.jsxs("div",{children:[h.jsx("p",{className:"text-sm font-semibold text-slate-800",children:"Bidding Document"}),h.jsx("p",{className:"mt-0.5 text-xs text-slate-500",children:"View bidding documents"})]})]}),h.jsx(fc,{className:"text-emerald-700"})]})]})]})})]})]})]})]})]})},NO=()=>h.jsx(h.Fragment,{children:h.jsx(RO,{})}),DO=()=>h.jsx(h.Fragment,{}),MO=()=>h.jsx(h.Fragment,{children:h.jsx(DO,{})});const _O=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),LO=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,i,r)=>r?r.toUpperCase():i.toLowerCase()),U2=e=>{const t=LO(e);return t.charAt(0).toUpperCase()+t.slice(1)},N3=(...e)=>e.filter((t,i,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===i).join(" ").trim(),kO=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var PO={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"};const VO=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:i=2,absoluteStrokeWidth:r,className:l="",children:u,iconNode:c,...m},d)=>x.createElement("svg",{ref:d,...PO,width:t,height:t,stroke:e,strokeWidth:r?Number(i)*24/Number(t):i,className:N3("lucide",l),...!u&&!kO(m)&&{"aria-hidden":"true"},...m},[...c.map(([p,g])=>x.createElement(p,g)),...Array.isArray(u)?u:[u]]));const Ei=(e,t)=>{const i=x.forwardRef(({className:r,...l},u)=>x.createElement(VO,{ref:u,iconNode:t,className:N3(`lucide-${_O(U2(e))}`,`lucide-${e}`,r),...l}));return i.displayName=U2(e),i};const zO=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],B2=Ei("arrow-left",zO);const UO=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}
48],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],BO=Ei("building-2",UO);const HO=[["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"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],FO=Ei("calendar-days",HO);const IO=[["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"}]],qO=Ei("external-link",IO);const $O=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],GO=Ei("file-text",$O);const YO=[["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"}]],KO=Ei("folder-open",YO);const XO=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],QO=Ei("loader-circle",XO);const WO=[["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",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ZO=Ei("shield-check",WO),D3=({title:e,description:t})=>h.jsx(h.Fragment,{children:h.jsx("div",{className:"bg-linear-to-r ",children:h.jsxs("div",{className:"mx-auto max-w-[95%] px-4 py-2",children:[h.jsx("h1",{className:"text-3xl font-semibold tracking-tight ",children:e}),h.jsx("p",{className:"",children:t})]})})});function JO(e){if(!e)return null;const t=e.split("/");if(t.length!==3)return null;const i=Number(t[0]),r=Number(t[1]),l=Number(t[2]);if(!i||!r||!l)return null;const u=new Date(l,r-1,i);return Number.isNaN(u.getTime())?null:u}function eR(e){if(!e)return"Not available";const i=JO(e)??new Date(e);return Number.isNaN(i.getTime())?e:i.toLocaleDateString("en-GB",{day:"2-digit",month:"long",year:"numeric"})}function Cu({icon:e,label:t,value:i}){return h.jsxs("div",{className:"flex items-start gap-3 rounded-xl border border-slate-200 bg-slate-50 p-4",children:[h.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-emerald-100 text-emerald-700",children:e}),h.jsxs("div",{className:"min-w-0",children:[h.jsx("p",{className:"text-xs font-medium uppercase tracking-wide text-slate-500",children:t}),h.jsx("div",{className:"mt-1 wrap-break-word text-sm font-semibold text-slate-900",children:i||"Not available"})]})]})}function tR({status:e}){const t=e?.toLowerCase(),i=t==="active"?"bg-emerald-100 text-emerald-700 ring-emerald-200":t==="inactive"?"bg-rose-100 text-rose-700 ring-rose-200":"bg-slate-100 text-slate-700 ring-slate-200";return h.jsxs("span",{className:`inline-flex items-center gap-2 rounded-full px-3 py-1 text-xs font-semibold capitalize ring-1 ${i}`,children:[h.jsx("span",{className:"h-2 w-2 rounded-full bg-current"}),e||"Unknown"]})}function nR(){const e=On(),{id:t}=Ec(),{domain:i}=kt(),[r,l]=x.useState(null),[u,c]=x.useState(!0),[m,d]=x.useState(null),p=x.useCallback(async()=>{if(!t){d("Download ID is missing."),c(!1);return}try{c(!0),d(null);const g=await mt.getDownloadById(i,t);console.log("Download detail response:",g);const y=g?.data?.data??g?.data??g;if(!y||Array.isArray(y))throw new Error("Invalid download detail response.");l(y)}catch(g){console.error("Error fetching download detail:",g),d("Unable to load document details.")}finally{c(!1)}},[i,t]);return x.useEffect(()=>{p()},[p]),u?h.jsx("div",{className:"flex min-h-screen items-center justify-center bg-slate-50",children:h.jsxs("div",{className:"text-center",children:[h.jsx(QO,{className:"mx-auto h-10 w-10 animate-spin text-emerald-600"}),h.jsx("p",{className:"mt-3 text-sm font-medium text-slate-600",children:"Loading document details..."})]})}):m||!r?h.jsx("div",{className:"flex min-h-screen items-center justify-center bg-slate-50 px-4",children:h.jsxs("div",{className:"w-full max-w-md rounded-2xl border border-rose-200 bg-white p-6 text-center shadow-sm",children:[h.jsx(GO,{className:"mx-auto h-12 w-12 text-rose-500"}),h.jsx("h1",{className:"mt-4 text-xl font-bold text-slate-900",children:"Document not found"}),h.jsx("p",{className:"mt-2 text-sm text-slate-600",children:m||"The requested document is not available."}),h.jsxs("button",{type:"button",onClick:()=>e(-1),className:"mt-5 inline-flex items-center gap-2 rounded-lg bg-slate-900 px-5 py-2.5 text-sm font-semibold text-white transition hover:bg-slate-800",children:[h.jsx(B2,{className:"h-4 w-4"}),"Go Back"]})]})}):(r.extension?.toUpperCase(),r.extension?.toLowerCase()==="pdf"||r.kind,r.kind==="image"||["jpg","jpeg","png","webp"].includes(r.extension?.toLowerCase()||""),h.jsxs("div",{className:"min-h-screen bg-slate-50",children:[h.jsx(D3,{title:"Download Detail",description:"View complete document information."}),h.jsxs("div",{className:"mx-auto max-w-[95%] px-4 pb-10",children:[h.jsxs("button",{type:"button",onClick:()=>e(-1),className:"mb-5 inline-flex items-center gap-2 rounded-lg border border-slate-200 bg-white px-4 py-2 text-sm font-semibold text-slate-700 shadow-sm transition hover:border-emerald-300 hover:bg-emerald-50 hover:text-emerald-700",children:[h.jsx(B2,{className:"h-4 w-4"}),"Back"]}),h.jsxs("div",{className:"overflow-hidden rounded-2xl bg-white shadow-sm ring-1 ring-slate-200",children:[h.jsx("div",{className:"border-b border-slate-200 bg-linear-to-r from-emerald-50 to-white p-6 md:p-8",children:h.jsx("div",{className:"flex flex-col gap-5 lg:flex-row lg:items-start lg:justify-between",children:h.jsxs("div",{className:"min-w-0",children:[h.jsx("h1",{className:"text-xl font-bold leading-relaxed text-slate-900 md:text-2xl",children:r.title}),h.jsx("p",{className:"mt-2 text-sm text-slate-600",children:r.category_name||"Category not available"})]})})}),h.jsxs("div",{className:"p-6 md:p-8",children:[h.jsxs("div",{className:"grid gap-4 md:grid-cols-2 xl:grid-cols-3",children:[h.jsx(Cu,{icon:h.jsx(KO,{className:"h-5 w-5"}),label:"Category",value:r.category_name}),h.jsx(Cu,{icon:h.jsx(BO,{className:"h-5 w-5"}),label:"Department",value:r.department_name}),h.jsx(Cu,{icon:h.jsx(ZO,{className:"h-5 w-5"}),label:"Status",value:h.jsx(tR,{status:r.status})}),h.jsx(Cu,{icon:h.jsx(FO,{className:"h-5 w-5"}),label:"Created At",value:eR(r.created_at)})]}),h.jsxs("div",{className:"mt-8",children:[h.jsx("h2",{className:"text-lg font-semibold text-slate-900",children:"Description"}),h.jsx("div",{className:"mt-3 rounded-xl border border-slate-200 bg-slate-50 p-5",children:h.jsx("p",{className:"whitespace-pre-line text-sm leading-7 text-slate-700",children:r.description||"No description is available for this document."})})]}),r.image_path?h.jsx("div",{className:"mt-8",children:h.jsxs("div",{className:"mb-4 flex items-center justify-between gap-3",children:[h.jsx("h2",{className:"text-lg font-semibold text-slate-900",children:"Document Preview"}),h.jsxs("a",{href:r.image_path,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 text-sm font-semibold text-emerald-700 hover:text-emerald-800",children:["Open in new tab",h.jsx(qO,{className:"h-4 w-4"})]})]})}):h.jsx("div",{className:"mt-8 rounded-xl border border-amber-200 bg-amber-50 p-4 text-sm text-amber-800",children:"No file is attached to this record."})]})]})]})]}))}const aR=()=>h.jsx(h.Fragment,{children:h.jsx(nR,{})}),Au=({icon:e,label:t,value:i})=>h.jsxs("div",{className:"rounded-xl border border-slate-200 bg-slate-50 p-4",children:[h.jsxs("div",{className:"mb-2 flex items-center gap-2 text-sm font-medium text-slate-500",children:[h.jsx("span",{className:"text-emerald-600",children:e}),h.jsx("span",{children:t})]}),h.jsx("div",{className:"wrap-break-word text-sm font-semibold text-slate-800",children:i||"Not available"})]}),iR=({status:e})=>{const t=e||"Unknown",i=t.toLowerCase(),r=i==="active"?"bg-emerald-100 text-emerald-700 ring-emerald-200":i==="inactive"||i==="closed"?"bg-rose-100 text-rose-700 ring-rose-200":"bg-slate-100 text-slate-700 ring-slate-200";return h.jsxs("span",{className:`inline-flex items-center gap-2 rounded-full px-3 py-1 text-xs font-semibold capitalize ring-1 ${r}`,children:[h.jsx("span",{className:"h-2 w-2 rounded-full bg-current"}),t]})},rR=e=>{if(!e)return"Not available";const t=new Date(e);
48return Number.isNaN(t.getTime())?e:t.toLocaleString("en-PK",{day:"2-digit",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})},sR=()=>{const e=On(),{id:t}=Ec(),{domain:i}=kt(),[r,l]=x.useState(null),[u,c]=x.useState(!0),[m,d]=x.useState(null),p=x.useCallback(async()=>{if(!t){d("Auction ID is missing."),c(!1);return}try{c(!0),d(null);const S=await mt.getAuctionById(i,t);console.log("Auction detail response:",S);const C=S?.data?.data??S?.data??S;if(!C||Array.isArray(C))throw new Error("Invalid auction detail response.");l(C)}catch(S){console.error("Error fetching auction details:",S),d("Unable to load auction details.")}finally{c(!1)}},[i,t]);x.useEffect(()=>{p()},[p]);const g=S=>{S&&window.open(S,"_blank","noopener,noreferrer")};if(u)return h.jsx("section",{className:"flex min-h-screen items-center justify-center bg-slate-50",children:h.jsxs("div",{className:"text-center",children:[h.jsx("div",{className:"mx-auto h-11 w-11 animate-spin rounded-full border-4 border-slate-200 border-t-emerald-600"}),h.jsx("p",{className:"mt-4 text-sm font-medium text-slate-600",children:"Loading auction details..."})]})});if(m||!r)return h.jsx("section",{className:"flex min-h-screen items-center justify-center bg-slate-50 px-4",children:h.jsxs("div",{className:"w-full max-w-md rounded-2xl border border-rose-200 bg-white p-7 text-center shadow-sm",children:[h.jsx("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 text-rose-600",children:h.jsx(er,{size:22})}),h.jsx("h1",{className:"mt-4 text-xl font-bold text-slate-900",children:"Auction not available"}),h.jsx("p",{className:"mt-2 text-sm leading-6 text-slate-600",children:m||"The requested auction could not be found."}),h.jsxs("button",{type:"button",onClick:()=>e(-1),className:"mt-5 inline-flex items-center gap-2 rounded-lg bg-slate-900 px-5 py-2.5 text-sm font-semibold text-white transition hover:bg-slate-800",children:[h.jsx(Rm,{}),"Go Back"]})]})});const y=r.company?.external_url||r.company?.url||null;return h.jsxs("section",{className:"relative min-h-screen w-full bg-slate-50",children:[h.jsx(Pp,{}),h.jsxs("div",{className:"relative z-20 mx-auto w-[95%] max-w-7xl py-6 md:py-10",children:[h.jsxs("button",{type:"button",onClick:()=>e(-1),className:"mb-5 inline-flex items-center gap-2 rounded-lg border border-slate-200 bg-white px-4 py-2 text-sm font-semibold text-slate-700 shadow-sm transition hover:border-emerald-300 hover:bg-emerald-50 hover:text-emerald-700",children:[h.jsx(Rm,{}),"Back"]}),h.jsxs("div",{className:"overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-sm",children:[h.jsx("header",{className:"background-linear px-5 py-7 text-white md:px-8 md:py-10",children:h.jsx("div",{className:"flex flex-col justify-between gap-6 lg:flex-row lg:items-start",children:h.jsxs("div",{className:"max-w-4xl",children:[h.jsx("h1",{className:"text-2xl font-bold leading-snug md:text-3xl lg:text-4xl",children:r.title}),h.jsxs("div",{className:"mt-5 flex items-start gap-2 text-sm text-white/90",children:[h.jsx(R3,{className:"mt-0.5 shrink-0"}),h.jsx("span",{children:r.department?.name||r.company?.title||"Department not available"})]})]})})}),h.jsxs("div",{className:"p-5 md:p-8",children:[h.jsxs("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-4",children:[h.jsx(Au,{icon:h.jsx(j3,{}),label:"Status",value:h.jsx(iR,{status:r.status})}),h.jsx(Au,{icon:h.jsx(Rl,{}),label:"Deadline",value:h.jsx("span",{className:"text-rose-600",children:r.deadline_formatted||r.deadline})}),h.jsx(Au,{icon:h.jsx(A3,{}),label:"Department",value:r.department?.name}),h.jsx(Au,{icon:h.jsx(Rl,{}),label:"Created On",value:rR(r.created_at)})]}),h.jsxs("div",{className:"mt-8 grid gap-6 lg:grid-cols-[minmax(0,1fr)_350px]",children:[h.jsx("main",{className:"space-y-6",children:h.jsxs("div",{className:"rounded-2xl border border-slate-200 bg-white p-5 md:p-6",children:[h.jsxs("h2",{className:"mb-4 flex items-center gap-2 text-lg font-bold text-slate-900",children:[h.jsx(er,{className:"text-emerald-600"}),"Auction Information"]}),h.jsxs("p",{className:"text-sm leading-7 text-slate-600",children:["This auction has been published by"," ",h.jsx("span",{className:"font-semibold text-slate-800",children:r.department?.name||r.company?.title||"the relevant department"}),". The closing date for this auction is"," ",h.jsx("span",{className:"font-semibold text-rose-600",children:r.deadline_formatted||r.deadline}),"."]})]})}),h.jsxs("aside",{className:"space-y-5",children:[h.jsxs("div",{className:"rounded-2xl border border-slate-200 bg-white p-5",children:[h.jsx("h2",{className:"mb-4 text-lg font-bold text-slate-900",children:"Auction Documents"}),h.jsxs("div",{className:"space-y-3",children:[r.notice_media&&h.jsxs("button",{type:"button",onClick:()=>g(r.notice_media?.file_path),className:"flex w-full items-center justify-between rounded-xl border border-blue-200 bg-blue-50 p-4 text-left transition hover:border-blue-300 hover:bg-blue-100",children:[h.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[h.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-blue-100 text-blue-700",children:r.notice_media.kind==="image"?h.jsx(jO,{size:20}):h.jsx(er,{size:20})}),h.jsxs("div",{className:"min-w-0",children:[h.jsx("p",{className:"truncate text-sm font-semibold text-slate-800",children:"Auction Notice"}),h.jsx("p",{className:"mt-0.5 truncate text-xs text-slate-500",children:r.notice_media.file_name})]})]}),h.jsx(fc,{className:"shrink-0 text-blue-700"})]}),r.document_media&&h.jsxs("button",{type:"button",onClick:()=>g(r.document_media?.file_path),className:"flex w-full items-center justify-between rounded-xl border border-emerald-200 bg-emerald-50 p-4 text-left transition hover:border-emerald-300 hover:bg-emerald-100",children:[h.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[h.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-emerald-100 text-emerald-700",children:h.jsx(TO,{size:20})}),h.jsxs("div",{className:"min-w-0",children:[h.jsx("p",{className:"truncate text-sm font-semibold text-slate-800",children:"Auction Document"}),h.jsx("p",{className:"mt-0.5 truncate text-xs text-slate-500",children:r.document_media.file_name})]})]}),h.jsx(fc,{className:"shrink-0 text-emerald-700"})]}),!r.notice_media&&!r.document_media&&h.jsx("p",{className:"rounded-xl bg-slate-50 p-4 text-sm text-slate-500",children:"No auction documents are available."})]})]}),h.jsxs("div",{className:"rounded-2xl border border-slate-200 bg-white p-5",children:[h.jsx("h2",{className:"mb-4 text-lg font-bold text-slate-900",children:"Source Information"}),h.jsxs("div",{className:"space-y-3 text-sm",children:[h.jsxs("div",{children:[h.jsx("p",{className:"text-slate-500",children:"Website"}),h.jsx("p",{className:"mt-1 wrap-break-word font-semibold text-slate-800",children:r.company?.url||"Not available"})]}),y&&h.jsxs("button",{type:"button",onClick:()=>g(y),className:"inline-flex w-full items-center justify-center gap-2 rounded-lg bg-slate-900 px-4 py-2.5 text-sm font-semibold text-white transition hover:bg-slate-800",children:[h.jsx(O3,{}),"Visit Source Website"]})]})]})]})]})]})]})]})]})},lR=()=>h.jsx(h.Fragment,{children:h.jsx(sR,{})}),oR=()=>h.jsx(h.Fragment,{children:h.jsx("div",{className:"mt-6 flex justify-center items-center",children:h.jsxs("div",{className:"mb-4 flex items-center gap-3",children:[h.jsxs("span",{className:"relative flex h-5 w-5",children:[h.jsx("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-sky-4
4800/40"}),h.jsx("span",{className:"relative inline-flex h-5 w-5 animate-spin rounded-full border-2 border-sky-500 border-t-transparent"})]}),h.jsxs("div",{children:[h.jsx("p",{className:"text-sm font-semibold text-slate-800",children:"Loading..."}),h.jsx("p",{className:"text-xs text-slate-500",children:"Fetching latest dataâ¦"})]})]})})}),uR=({title:e,description:t,showSearch:i=!1,searchValue:r="",onSearchChange:l,searchPlaceholder:u="Search...",searchAriaLabel:c="Search",rightSlot:m,className:d})=>h.jsxs("div",{className:["flex flex-col gap-3 py-2 sm:flex-row sm:items-center sm:justify-between",d??""].join(" "),children:[h.jsxs("div",{children:[h.jsx("h2",{className:"text-2xl font-bold text-gray-900 text-shadow-2xs",children:e}),t?h.jsx("p",{className:"text-sm text-gray-600",children:t}):null]}),h.jsxs("div",{className:"w-full sm:w-72 flex items-center gap-2",children:[i?h.jsxs("div",{className:"w-full",children:[h.jsx("label",{className:"sr-only",children:c}),h.jsx("input",{type:"text",value:r,onChange:p=>l?.(p.target.value),placeholder:u,className:"w-full rounded-lg border border-gray-200 bg-white px-3 py-2 text-sm outline-none ring-blue-200 focus:ring-2"})]}):null,m?h.jsx("div",{className:"shrink-0",children:m}):null]})]}),cR=({text:e,children:t,position:i="top"})=>{const r={top:"bottom-full left-1/2 -translate-x-1/2 mb-2",bottom:"top-full left-1/2 -translate-x-1/2 mt-2",left:"right-full top-1/2 -translate-y-1/2 mr-2",right:"left-full top-1/2 -translate-y-1/2 ml-2"};return h.jsxs("div",{className:"relative group w-fit",children:[t,h.jsx("div",{className:` 49 pointer-events-none absolute z-50 50 opacity-0 group-hover:opacity-100 transition-opacity duration-200 51 whitespace-nowrap rounded-md bg-black/80 text-white text-[10px] px-2 py-1 shadow-lg 52 ${r[i]} 53 `,children:e})]})},fR=({departments:e,fallbackLogo:t})=>{const i=On();return h.jsx("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-6 py-5",children:e&&e.map(r=>{const l=r?.department_logo??t;return h.jsxs("button",{type:"button",onClick:()=>{r?.external_url?window.open(r.external_url,"_blank"):i(`/detail/kp-digital-service/${r.slug}`)},className:["group relative overflow-hidden rounded-2xl bg-white text-left cursor-pointer","shadow-[0_10px_24px_rgba(0,0,0,0.08)] transition","hover:-translate-y-0.5 hover:shadow-[0_14px_30px_rgba(0,0,0,0.12)]","focus:outline-none focus:ring-2 focus:ring-emerald-400/60 focus:ring-offset-2","flex flex-col h-43"].join(" "),children:[h.jsxs("div",{className:"relative h-20 w-full bg-gray-200 ",children:[r?.department_cover_image?h.jsx("img",{src:r?.department_cover_image,alt:r?.name,className:"h-full w-full object-cover",loading:"lazy"}):null,l&&h.jsx("div",{className:"absolute left-3 top-3 grid h-9 w-9 place-items-center flip-logo rounded-full bg-white/90 shadow-sm backdrop-blur",children:h.jsx("img",{src:l,alt:"",className:"h-9 w-9 object-contain rounded-full",loading:"lazy"})}),h.jsx("span",{className:"grid h-8 w-8 absolute top-[75%] right-2 place-items-center rounded-full bg-blue-50 text-blue-800 transition-colors group-hover:bg-emerald-500 group-hover:text-white",children:h.jsx("span",{className:"text-lg leading-none translate-x-px -mt-1",children:"â"})})]}),h.jsx("div",{className:"flex flex-col justify-between flex-1 px-5 ",children:h.jsxs("div",{className:"mt-1",children:[h.jsx(cR,{text:r?.name,children:h.jsx("h3",{className:"text-sm font-bold text-[#024A70] line-clamp-2 h-[38px] ",children:r?.name})}),h.jsx("p",{className:"text-[10px] text-gray-600 w-fit rounded-md h-5 py-1 -mt-2 line-clamp-2 break-all",children:r?.parent_name}),h.jsx("p",{className:"text-xs text-white rounded-md px-2 py-1 mx-auto text-center mt-1 bg-[#049A8F] line-clamp-1 break-all",children:"View Detail"})]})}),h.jsx("span",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-1 bg-emerald-500 opacity-0 transition-opacity group-hover:opacity-100"})]},r?.uuid)})})};function ir(e){"@babel/helpers - typeof";return ir=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ir(e)}function dR(e,t){if(ir(e)!="object"||!e)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var r=i.call(e,t);if(ir(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function M3(e){var t=dR(e,"string");return ir(t)=="symbol"?t:t+""}function El(e,t,i){return(t=M3(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function H2(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),i.push.apply(i,r)}return i}function Ee(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};
53t%2?H2(Object(i),!0).forEach(function(r){El(e,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):H2(Object(i)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(i,r))})}return e}function hR(e){if(Array.isArray(e))return e}function mR(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var r,l,u,c,m=[],d=!0,p=!1;try{if(u=(i=i.call(e)).next,t===0){if(Object(i)!==i)return;d=!1}else for(;!(d=(r=u.call(i)).done)&&(m.push(r.value),m.length!==t);d=!0);}catch(g){p=!0,l=g}finally{try{if(!d&&i.return!=null&&(c=i.return(),Object(c)!==c))return}finally{if(p)throw l}}return m}}function Nm(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,r=Array(t);i<t;i++)r[i]=e[i];return r}function _3(e,t){if(e){if(typeof e=="string")return Nm(e,t);var i={}.toString.call(e).slice(8,-1);return i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set"?Array.from(e):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Nm(e,t):void 0}}function pR(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 54In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qa(e,t){return hR(e)||mR(e,t)||_3(e,t)||pR()}function gR(e,t){if(e==null)return{};var i={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;i[r]=e[r]}return i}function Ka(e,t){if(e==null)return{};var i,r,l=gR(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(r=0;r<u.length;r++)i=u[r],t.indexOf(i)===-1&&{}.propertyIsEnumerable.call(e,i)&&(l[i]=e[i])}return l}var vR=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function yR(e){var t=e.defaultInputValue,i=t===void 0?"":t,r=e.defaultMenuIsOpen,l=r===void 0?!1:r,u=e.defaultValue,c=u===void 0?null:u,m=e.inputValue,d=e.menuIsOpen,p=e.onChange,g=e.onInputChange,y=e.onMenuClose,S=e.onMenuOpen,C=e.value,w=Ka(e,vR),T=x.useState(m!==void 0?m:i),E=qa(T,2),A=E[0],R=E[1],N=x.useState(d!==void 0?d:l),P=qa(N,2),D=P[0],U=P[1],H=x.useState(C!==void 0?C:c),I=qa(H,2),L=I[0],ie=I[1],ce=x.useCallback(function(ee,W){typeof p=="function"&&p(ee,W),ie(ee)},[p]),ne=x.useCallback(function(ee,W){var O;typeof g=="function"&&(O=g(ee,W)),R(O!==void 0?O:ee)},[g]),oe=x.useCallback(function(){typeof S=="function"&&S(),U(!0)},[S]),fe=x.useCallback(function(){typeof y=="function"&&y(),U(!1)},[y]),X=m!==void 0?m:A,q=d!==void 0?d:D,ae=C!==void 0?C:L;return Ee(Ee({},w),{},{inputValue:X,menuIsOpen:q,onChange:ce,onInputChange:ne,onMenuClose:fe,onMenuOpen:oe,value:ae})}function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)({}).hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e},Ce.apply(null,arguments)}function bR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F2(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,M3(r.key),r)}}function xR(e,t,i){return t&&F2(e.prototype,t),i&&F2(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function Dm(e,t){return Dm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,r){return i.__proto__=r,i},Dm(e,t)}function SR(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dm(e,t)}function dc(e){return dc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},dc(e)}function L3(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(L3=function(){return!!e})()}function wR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ER(e,t){if(t&&(ir(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return wR(e)}function TR(e){var t=L3();return function(){var i,r=dc(e);if(t){var l=dc(this).constructor;i=Reflect.construct(r,arguments,l)}else i=r.apply(this,arguments);return ER(this,i)}}function CR(e){if(Array.isArray(e))return Nm(e)}function AR(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jR(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 55In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vp(e){return CR(e)||AR(e)||_3(e)||jR()}function OR(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function RR(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var NR=(function(){function e(i){var r=this;this._insertTag=function(l){var u;r.tags.length===0?r.insertionPoint?u=r.insertionPoint.nextSibling:r.prepend?u=r.container.firstChild:u=r.before:u=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(l,u),r.tags.push(l)},this.isSpeedy=i.speedy===void 0?!0:i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(RR(this));var l=this.tags[this.tags.length-1];if(this.isSpeedy){var u=OR(l);try{u.insertRule(r,u.cssRules.length)}catch{}}else l.appendChild(document.createTextNode(r));this.ctr++}
vendor: 5,049 bytes, line 55
55,t.flush=function(){this.tags.forEach(function(r){var l;return(l=r.parentNode)==null?void 0:l.removeChild(r)}),this.tags=[],this.ctr=0},e})(),Xt="-ms-",hc="-moz-",Ge="-webkit-",k3="comm",zp="rule",Up="decl",DR="@import",P3="@keyframes",MR="@layer",_R=Math.abs,kc=String.fromCharCode,LR=Object.assign;function kR(e,t){return qt(e,0)^45?(((t<<2^qt(e,0))<<2^qt(e,1))<<2^qt(e,2))<<2^qt(e,3):0}function V3(e){return e.trim()}function PR(e,t){return(e=t.exec(e))?e[0]:e}function Ye(e,t,i){return e.replace(t,i)}function Mm(e,t){return e.indexOf(t)}function qt(e,t){return e.charCodeAt(t)|0}function Pl(e,t,i){return e.slice(t,i)}function va(e){return e.length}function Bp(e){return e.length}function ju(e,t){return t.push(e),e}function VR(e,t){return e.map(t).join("")}var Pc=1,Jr=1,z3=0,mn=0,At=0,ss="";function Vc(e,t,i,r,l,u,c){return{value:e,root:t,parent:i,type:r,props:l,children:u,line:Pc,column:Jr,length:c,return:""}}function dl(e,t){return LR(Vc("",null,null,"",null,null,0),e,{length:-e.length},t)}function zR(){return At}function UR(){return At=mn>0?qt(ss,--mn):0,Jr--,At===10&&(Jr=1,Pc--),At}function jn(){return At=mn<z3?qt(ss,mn++):0,Jr++,At===10&&(Jr=1,Pc++),At}function xa(){return qt(ss,mn)}function Yu(){return mn}function eo(e,t){return Pl(ss,e,t)}function Vl(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function U3(e){return Pc=Jr=1,z3=va(ss=e),mn=0,[]}function B3(e){return ss="",e}function Ku(e){return V3(eo(mn-1,_m(e===91?e+2:e===40?e+1:e)))}function BR(e){for(;(At=xa())&&At<33;)jn();return Vl(e)>2||Vl(At)>3?"":" "}function HR(e,t){for(;--t&&jn()&&!(At<48||At>102||At>57&&At<65||At>70&&At<97););return eo(e,Yu()+(t<6&&xa()==32&&jn()==32))}function _m(e){for(;jn();)switch(At){case e:return mn;case 34:case 39:e!==34&&e!==39&&_m(At);break;case 40:e===41&&_m(e);break;case 92:jn();break}return mn}function FR(e,t){for(;jn()&&e+At!==57;)if(e+At===84&&xa()===47)break;return"/*"+eo(t,mn-1)+"*"+kc(e===47?e:jn())}function IR(e){for(;!Vl(xa());)jn();return eo(e,mn)}function qR(e){return B3(Xu("",null,null,null,[""],e=U3(e),0,[0],e))}function Xu(e,t,i,r,l,u,c,m,d){for(var p=0,g=0,y=c,S=0,C=0,w=0,T=1,E=1,A=1,R=0,N="",P=l,D=u,U=r,H=N;E;)switch(w=R,R=jn()){case 40:if(w!=108&&qt(H,y-1)==58){Mm(H+=Ye(Ku(R),"&","&\f"),"&\f")!=-1&&(A=-1);break}case 34:case 39:case 91:H+=Ku(R);break;case 9:case 10:case 13:case 32:H+=BR(w);break;case 92:H+=HR(Yu()-1,7);continue;case 47:switch(xa()){case 42:case 47:ju($R(FR(jn(),Yu()),t,i),d);break;default:H+="/"}break;case 123*T:m[p++]=va(H)*A;case 125*T:case 59:case 0:switch(R){case 0:case 125:E=0;case 59+g:A==-1&&(H=Ye(H,/\f/g,"")),C>0&&va(H)-y&&ju(C>32?q2(H+";",r,i,y-1):q2(Ye(H," ","")+";",r,i,y-2),d);break;case 59:H+=";";default:if(ju(U=I2(H,t,i,p,g,l,m,N,P=[],D=[],y),u),R===123)if(g===0)Xu(H,t,U,U,P,u,y,m,D);else switch(S===99&&qt(H,3)===110?100:S){case 100:case 108:case 109:case 115:Xu(e,U,U,r&&ju(I2(e,U,U,0,0,l,m,N,l,P=[],y),D),l,D,y,m,r?P:D);break;default:Xu(H,U,U,U,[""],D,0,m,D)}}p=g=C=0,T=A=1,N=H="",y=c;break;case 58:y=1+va(H),C=w;default:if(T<1){if(R==123)--T;else if(R==125&&T++==0&&UR()==125)continue}switch(H+=kc(R),R*T){case 38:A=g>0?1:(H+="\f",-1);break;case 44:m[p++]=(va(H)-1)*A,A=1;break;case 64:xa()===45&&(H+=Ku(jn())),S=xa(),g=y=va(N=H+=IR(Yu())),R++;break;case 45:w===45&&va(H)==2&&(T=0)}}return u}function I2(e,t,i,r,l,u,c,m,d,p,g){for(var y=l-1,S=l===0?u:[""],C=Bp(S),w=0,T=0,E=0;w<r;++w)for(var A=0,R=Pl(e,y+1,y=_R(T=c[w])),N=e;A<C;++A)(N=V3(T>0?S[A]+" "+R:Ye(R,/&\f/g,S[A])))&&(d[E++]=N);return Vc(e,t,i,l===0?zp:m,d,p,g)}function $R(e,t,i){return Vc(e,t,i,k3,kc(zR()),Pl(e,2,-2),0)}function q2(e,t,i,r){return Vc(e,t,i,Up,Pl(e,0,r),Pl(e,r+1,-1),r)}function Qr(e,t){for(var i="",r=Bp(e),l=0;l<r;l++)i+=t(e[l],l,e,t)||"";return i}function GR(e,t,i,r){switch(e.type){case MR:if(e.children.length)break;case DR:case Up:return e.return=e.return||e.value;case k3:return"";case P3:return e.return=e.value+"{"+Qr(e.children,r)+"}";case zp:e.value=e.props.join(",")}return va(i=Qr(e.children,r))?e.return=e.value+"{"+i+"}":""}function YR(e){var t=Bp(e);return function(i,r,l,u){for(var c="",m=0;m<t;m++)c+=e[m](i,r,l,u)||"";return c}}function KR(e){return function(t){t.root||(t=t.return)&&e(t)}}function XR(e){var t=Object.create(null);return function(i){return t[i]===void 0&&(t[i]=e(i)),t[i]}}var QR=function(t,i,r){for(var l=0,u=0;l=u,u=xa(),l===38&&u===12&&(i[r]=1),!Vl(u);)jn();return eo(t,mn)},WR=function(t,i){var r=-1,l=44;do switch(Vl(l)){case 0:l===38&&xa()===12&&(i[r]=1),t[r]+=QR(mn-1,i,r);break;case 2:t[r]+=Ku(l);break;case 4:if(l===44){t[++r]=xa()===58?"&\f":"",i[r]=t[r].length;break}default:t[r]+=kc(l)}while(l=jn());return t},ZR=function(t,i){return B3(WR(U3(t),i))},$2=new WeakMap,JR=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var i=t.value,r=t.parent,l=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;
vendor: 4,799 bytes, line 55
55if(!(t.props.length===1&&i.charCodeAt(0)!==58&&!$2.get(r))&&!l){$2.set(t,!0);for(var u=[],c=ZR(i,u),m=r.props,d=0,p=0;d<c.length;d++)for(var g=0;g<m.length;g++,p++)t.props[p]=u[d]?c[d].replace(/&\f/g,m[g]):m[g]+" "+c[d]}}},eN=function(t){if(t.type==="decl"){var i=t.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(t.return="",t.value="")}};function H3(e,t){switch(kR(e,t)){case 5103:return Ge+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ge+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ge+e+hc+e+Xt+e+e;case 6828:case 4268:return Ge+e+Xt+e+e;case 6165:return Ge+e+Xt+"flex-"+e+e;case 5187:return Ge+e+Ye(e,/(\w+).+(:[^]+)/,Ge+"box-$1$2"+Xt+"flex-$1$2")+e;case 5443:return Ge+e+Xt+"flex-item-"+Ye(e,/flex-|-self/,"")+e;case 4675:return Ge+e+Xt+"flex-line-pack"+Ye(e,/align-content|flex-|-self/,"")+e;case 5548:return Ge+e+Xt+Ye(e,"shrink","negative")+e;case 5292:return Ge+e+Xt+Ye(e,"basis","preferred-size")+e;case 6060:return Ge+"box-"+Ye(e,"-grow","")+Ge+e+Xt+Ye(e,"grow","positive")+e;case 4554:return Ge+Ye(e,/([^-])(transform)/g,"$1"+Ge+"$2")+e;case 6187:return Ye(Ye(Ye(e,/(zoom-|grab)/,Ge+"$1"),/(image-set)/,Ge+"$1"),e,"")+e;case 5495:case 3959:return Ye(e,/(image-set\([^]*)/,Ge+"$1$`$1");case 4968:return Ye(Ye(e,/(.+:)(flex-)?(.*)/,Ge+"box-pack:$3"+Xt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ge+e+e;case 4095:case 3583:case 4068:case 2532:return Ye(e,/(.+)-inline(.+)/,Ge+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(va(e)-1-t>6)switch(qt(e,t+1)){case 109:if(qt(e,t+4)!==45)break;case 102:return Ye(e,/(.+:)(.+)-([^]+)/,"$1"+Ge+"$2-$3$1"+hc+(qt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Mm(e,"stretch")?H3(Ye(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qt(e,t+1)!==115)break;case 6444:switch(qt(e,va(e)-3-(~Mm(e,"!important")&&10))){case 107:return Ye(e,":",":"+Ge)+e;case 101:return Ye(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ge+(qt(e,14)===45?"inline-":"")+"box$3$1"+Ge+"$2$3$1"+Xt+"$2box$3")+e}break;case 5936:switch(qt(e,t+11)){case 114:return Ge+e+Xt+Ye(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ge+e+Xt+Ye(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ge+e+Xt+Ye(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ge+e+Xt+e+e}return e}var tN=function(t,i,r,l){if(t.length>-1&&!t.return)switch(t.type){case Up:t.return=H3(t.value,t.length);break;case P3:return Qr([dl(t,{value:Ye(t.value,"@","@"+Ge)})],l);case zp:if(t.length)return VR(t.props,function(u){switch(PR(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qr([dl(t,{props:[Ye(u,/:(read-\w+)/,":"+hc+"$1")]})],l);case"::placeholder":return Qr([dl(t,{props:[Ye(u,/:(plac\w+)/,":"+Ge+"input-$1")]}),dl(t,{props:[Ye(u,/:(plac\w+)/,":"+hc+"$1")]}),dl(t,{props:[Ye(u,/:(plac\w+)/,Xt+"input-$1")]})],l)}return""})}},nN=[tN],aN=function(t){var i=t.key;if(i==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(T){var E=T.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(T),T.setAttribute("data-s",""))})}var l=t.stylisPlugins||nN,u={},c,m=[];c=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(T){for(var E=T.getAttribute("data-emotion").split(" "),A=1;A<E.length;A++)u[E[A]]=!0;m.push(T)});var d,p=[JR,eN];{var g,y=[GR,KR(function(T){g.insert(T)})],S=YR(p.concat(l,y)),C=function(E){return Qr(qR(E),S)};d=function(E,A,R,N){g=R,C(E?E+"{"+A.styles+"}":A.styles),N&&(w.inserted[A.name]=!0)}}var w={key:i,sheet:new NR({key:i,container:c,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:u,registered:{},insert:d};return w.sheet.hydrate(m),w},Ah={exports:{}},Ke={};var G2;function iN(){if(G2)return Ke;G2=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,u=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,S=e?Symbol.for("react.suspense_list"):60120,C=e?Symbol.for("react.memo"):60115,w=e?Symbol.for("react.lazy"):60116,T=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,A=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;
vendor: 1,085 bytes, line 55
55function N(D){if(typeof D=="object"&&D!==null){var U=D.$$typeof;switch(U){case t:switch(D=D.type,D){case d:case p:case r:case u:case l:case y:return D;default:switch(D=D&&D.$$typeof,D){case m:case g:case w:case C:case c:return D;default:return U}}case i:return U}}}function P(D){return N(D)===p}return Ke.AsyncMode=d,Ke.ConcurrentMode=p,Ke.ContextConsumer=m,Ke.ContextProvider=c,Ke.Element=t,Ke.ForwardRef=g,Ke.Fragment=r,Ke.Lazy=w,Ke.Memo=C,Ke.Portal=i,Ke.Profiler=u,Ke.StrictMode=l,Ke.Suspense=y,Ke.isAsyncMode=function(D){return P(D)||N(D)===d},Ke.isConcurrentMode=P,Ke.isContextConsumer=function(D){return N(D)===m},Ke.isContextProvider=function(D){return N(D)===c},Ke.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===t},Ke.isForwardRef=function(D){return N(D)===g},Ke.isFragment=function(D){return N(D)===r},Ke.isLazy=function(D){return N(D)===w},Ke.isMemo=function(D){return N(D)===C},Ke.isPortal=function(D){return N(D)===i},Ke.isProfiler=function(D){return N(D)===u},Ke.isStrictMode=function(D){return N(D)===l},Ke.isSuspense=function(D){return N(D)===y}
55,Ke.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===r||D===p||D===u||D===l||D===y||D===S||typeof D=="object"&&D!==null&&(D.$$typeof===w||D.$$typeof===C||D.$$typeof===c||D.$$typeof===m||D.$$typeof===g||D.$$typeof===E||D.$$typeof===A||D.$$typeof===R||D.$$typeof===T)},Ke.typeOf=N,Ke}var Y2;function rN(){return Y2||(Y2=1,Ah.exports=iN()),Ah.exports}var jh,K2;function sN(){if(K2)return jh;K2=1;var e=rN(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[e.ForwardRef]=r,u[e.Memo]=l;function c(w){return e.isMemo(w)?l:u[w.$$typeof]||t}var m=Object.defineProperty,d=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,S=Object.prototype;function C(w,T,E){if(typeof T!="string"){if(S){var A=y(T);A&&A!==S&&C(w,A,E)}var R=d(T);p&&(R=R.concat(p(T)));for(var N=c(w),P=c(T),D=0;D<R.length;++D){var U=R[D];if(!i[U]&&!(E&&E[U])&&!(P&&P[U])&&!(N&&N[U])){var H=g(T,U);try{m(w,U,H)}catch{}}}}return w}return jh=C,jh}sN();var lN=!0;function oN(e,t,i){var r="";return i.split(" ").forEach(function(l){e[l]!==void 0?t.push(e[l]+";"):l&&(r+=l+" ")}),r}var F3=function(t,i,r){var l=t.key+"-"+i.name;(r===!1||lN===!1)&&t.registered[l]===void 0&&(t.registered[l]=i.styles)},uN=function(t,i,r){F3(t,i,r);var l=t.key+"-"+i.name;if(t.inserted[i.name]===void 0){var u=i;do t.insert(i===u?"."+l:"",u,t.sheet,!0),u=u.next;while(u!==void 0)}};function cN(e){for(var t=0,i,r=0,l=e.length;l>=4;++r,l-=4)i=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,t=(i&65535)*1540483477+((i>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(l){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var fN={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dN=/[A-Z]|^ms/g,hN=/_EMO_([^_]+?)_([^]*?)_EMO_/g,I3=function(t){return t.charCodeAt(1)===45},X2=function(t){return t!=null&&typeof t!="boolean"},Oh=XR(function(e){return I3(e)?e:e.replace(dN,"-$&").toLowerCase()}),Q2=function(t,i){switch(t){case"animation":case"animationName":if(typeof i=="string")return i.replace(hN,function(r,l,u){return ya={name:l,styles:u,next:ya},l})}return fN[t]!==1&&!I3(t)&&typeof i=="number"&&i!==0?i+"px":i};function zl(e,t,i){if(i==null)return"";var r=i;if(r.__emotion_styles!==void 0)return r;switch(typeof i){case"boolean":return"";case"object":{var l=i;if(l.anim===1)return ya={name:l.name,styles:l.styles,next:ya},l.name;var u=i;if(u.styles!==void 0){var c=u.next;if(c!==void 0)for(;c!==void 0;)ya={name:c.name,styles:c.styles,next:ya},c=c.next;var m=u.styles+";";return m}return mN(e,t,i)}case"function":{if(e!==void 0){var d=ya,p=i(e);return ya=d,zl(e,t,p)}break}}var g=i;return g}function mN(e,t,i){var r="";if(Array.isArray(i))for(var l=0;l<i.length;l++)r+=zl(e,t,i[l])+";";else for(var u in i){var c=i[u];if(typeof c!="object"){var m=c;X2(m)&&(r+=Oh(u)+":"+Q2(u,m)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&t==null)for(var d=0;d<c.length;d++)X2(c[d])&&(r+=Oh(u)+":"+Q2(u,c[d])+";");else{var p=zl(e,t,c);switch(u){case"animation":case"animationName":{r+=Oh(u)+":"+p+";";break}default:r+=u+"{"+p+"}"}}}return r}var W2=/label:\s*([^\s;{]+)\s*(;|$)/g,ya;function q3(e,t,i){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,l="";ya=void 0;var u=e[0];if(u==null||u.raw===void 0)r=!1,l+=zl(i,t,u);else{var c=u;l+=c[0]}for(var m=1;m<e.length;m++)if(l+=zl(i,t,e[m]),r){var d=u;l+=d[m]}W2.lastIndex=0;for(var p="",g;(g=W2.exec(l))!==null;)p+="-"+g[1];var y=cN(l)+p;return{name:y,styles:l,next:ya}}var pN=function(t){return t()},gN=Ov.useInsertionEffect?Ov.useInsertionEffect:!1,vN=gN||pN,$3=x.createContext(typeof HTMLElement<"u"?aN({key:"css"}):null);$3.Provider;var yN=function(t){return x.forwardRef(function(i,r){var l=x.useContext($3);return t(i,l,r)})},bN=x.createContext({}),Hp={}.hasOwnProperty,Lm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",xN=function(t,i){var r={};for(var l in i)Hp.call(i,l)&&(r[l]=i[l]);return r[Lm]=t,r},SN=function(t){var i=t.cache,r=t.serialized,l=t.isStringTag;return F3(i,r,l),vN(function(){return uN(i,r,l)}),null},wN=yN(function(e,t,i){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var l=e[Lm],u=[r],c="";typeof e.className=="string"?c=oN(t.registered,u,e.className):e.className!=null&&(c=e.className+" ");var m=q3(u,void 0,x.useContext(bN));c+=t.key+"-"+m.name;var d={};for(var p in e)Hp.call(e,p)&&p!=="css"&&p!==Lm&&(d[p]=e[p]);return d.className=c,i&&(d.ref=i),x.createElement(x.Fragment,null,x.createElement(SN,{cache:t,serialized:m,isStringTag:typeof l=="string"}),x.createElement(l,d))}),EN=wN,we=function(t,i){var r=arguments;if(i==null||!Hp.call(i,"css"))return x.createElement.apply(void 0,r);var l=r.length,u=new Array(l);u[0]=EN,u[1]=xN(t,i);for(var c=2;c<l;c++)u[c]=r[c];return x.createElement.apply(null,u)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(we||(we={}));function Fp(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return q3(t)}
vendor: 4,693 bytes, line 55
55function TN(){var e=Fp.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function CN(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const AN=Math.min,jN=Math.max,mc=Math.round,Ou=Math.floor,pc=e=>({x:e,y:e});function ON(e){const{x:t,y:i,width:r,height:l}=e;return{width:r,height:l,top:i,left:t,right:t+r,bottom:i+l,x:t,y:i}}function zc(){return typeof window<"u"}function G3(e){return K3(e)?(e.nodeName||"").toLowerCase():"#document"}function Ya(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Y3(e){var t;return(t=(K3(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function K3(e){return zc()?e instanceof Node||e instanceof Ya(e).Node:!1}function RN(e){return zc()?e instanceof Element||e instanceof Ya(e).Element:!1}function Ip(e){return zc()?e instanceof HTMLElement||e instanceof Ya(e).HTMLElement:!1}function Z2(e){return!zc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ya(e).ShadowRoot}const NN=new Set(["inline","contents"]);function X3(e){const{overflow:t,overflowX:i,overflowY:r,display:l}=qp(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+i)&&!NN.has(l)}function DN(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const MN=new Set(["html","body","#document"]);function _N(e){return MN.has(G3(e))}function qp(e){return Ya(e).getComputedStyle(e)}function LN(e){if(G3(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Z2(e)&&e.host||Y3(e);return Z2(t)?t.host:t}function Q3(e){const t=LN(e);return _N(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ip(t)&&X3(t)?t:Q3(t)}function gc(e,t,i){var r;t===void 0&&(t=[]),i===void 0&&(i=!0);const l=Q3(e),u=l===((r=e.ownerDocument)==null?void 0:r.body),c=Ya(l);if(u){const m=km(c);return t.concat(c,c.visualViewport||[],X3(l)?l:[],m&&i?gc(m):[])}return t.concat(l,gc(l,[],i))}function km(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function kN(e){const t=qp(e);let i=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const l=Ip(e),u=l?e.offsetWidth:i,c=l?e.offsetHeight:r,m=mc(i)!==u||mc(r)!==c;return m&&(i=u,r=c),{width:i,height:r,$:m}}function $p(e){return RN(e)?e:e.contextElement}function J2(e){const t=$p(e);if(!Ip(t))return pc(1);const i=t.getBoundingClientRect(),{width:r,height:l,$:u}=kN(t);let c=(u?mc(i.width):i.width)/r,m=(u?mc(i.height):i.height)/l;return(!c||!Number.isFinite(c))&&(c=1),(!m||!Number.isFinite(m))&&(m=1),{x:c,y:m}}const PN=pc(0);function VN(e){const t=Ya(e);return!DN()||!t.visualViewport?PN:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function zN(e,t,i){return!1}function eb(e,t,i,r){t===void 0&&(t=!1);const l=e.getBoundingClientRect(),u=$p(e);let c=pc(1);t&&(c=J2(e));const m=zN()?VN(u):pc(0);let d=(l.left+m.x)/c.x,p=(l.top+m.y)/c.y,g=l.width/c.x,y=l.height/c.y;if(u){const S=Ya(u),C=r;let w=S,T=km(w);for(;T&&r&&C!==w;){const E=J2(T),A=T.getBoundingClientRect(),R=qp(T),N=A.left+(T.clientLeft+parseFloat(R.paddingLeft))*E.x,P=A.top+(T.clientTop+parseFloat(R.paddingTop))*E.y;d*=E.x,p*=E.y,g*=E.x,y*=E.y,d+=N,p+=P,w=Ya(T),T=km(w)}}return ON({width:g,height:y,x:d,y:p})}function W3(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function UN(e,t){let i=null,r;const l=Y3(e);function u(){var m;clearTimeout(r),(m=i)==null||m.disconnect(),i=null}function c(m,d){m===void 0&&(m=!1),d===void 0&&(d=1),u();const p=e.getBoundingClientRect(),{left:g,top:y,width:S,height:C}=p;if(m||t(),!S||!C)return;const w=Ou(y),T=Ou(l.clientWidth-(g+S)),E=Ou(l.clientHeight-(y+C)),A=Ou(g),N={rootMargin:-w+"px "+-T+"px "+-E+"px "+-A+"px",threshold:jN(0,AN(1,d))||1};let P=!0;function D(U){const H=U[0].intersectionRatio;if(H!==d){if(!P)return c();H?c(!1,H):r=setTimeout(()=>{c(!1,1e-7)},1e3)}H===1&&!W3(p,e.getBoundingClientRect())&&c(),P=!1}try{i=new IntersectionObserver(D,{...N,root:l.ownerDocument})}catch{i=new IntersectionObserver(D,N)}i.observe(e)}return c(!0),u}function BN(e,t,i,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c=typeof ResizeObserver=="function",layoutShift:m=typeof IntersectionObserver=="function",animationFrame:d=!1}=r,p=$p(e),g=l||u?[...p?gc(p):[],...gc(t)]:[];g.forEach(A=>{l&&A.addEventListener("scroll",i,{passive:!0}),u&&A.addEventListener("resize",i)});const y=p&&m?UN(p,i):null;let S=-1,C=null;c&&(C=new ResizeObserver(A=>{let[R]=A;R&&R.target===p&&C&&(C.unobserve(t),cancelAnimationFrame(S),S=requestAnimationFrame(()=>{var N;(N=C)==null||N.observe(t)})),i()}
55),p&&!d&&C.observe(p),C.observe(t));let w,T=d?eb(e):null;d&&E();function E(){const A=eb(e);T&&!W3(T,A)&&i(),T=A,w=requestAnimationFrame(E)}return i(),()=>{var A;g.forEach(R=>{l&&R.removeEventListener("scroll",i),u&&R.removeEventListener("resize",i)}),y?.(),(A=C)==null||A.disconnect(),C=null,d&&cancelAnimationFrame(w)}}var Pm=x.useLayoutEffect,HN=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],vc=function(){};function FN(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function IN(e,t){for(var i=arguments.length,r=new Array(i>2?i-2:0),l=2;l<i;l++)r[l-2]=arguments[l];var u=[].concat(r);if(t&&e)for(var c in t)t.hasOwnProperty(c)&&t[c]&&u.push("".concat(FN(e,c)));return u.filter(function(m){return m}).map(function(m){return String(m).trim()}).join(" ")}var tb=function(t){return ZN(t)?t.filter(Boolean):ir(t)==="object"&&t!==null?[t]:[]},Z3=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var i=Ka(t,HN);return Ee({},i)},pt=function(t,i,r){var l=t.cx,u=t.getStyles,c=t.getClassNames,m=t.className;return{css:u(i,t),className:l(r??{},c(i,t),m)}};function Uc(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function qN(e){return Uc(e)?window.innerHeight:e.clientHeight}function J3(e){return Uc(e)?window.pageYOffset:e.scrollTop}function yc(e,t){if(Uc(e)){window.scrollTo(0,t);return}e.scrollTop=t}function $N(e){var t=getComputedStyle(e),i=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var l=e;l=l.parentElement;)if(t=getComputedStyle(l),!(i&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return l;return document.documentElement}function GN(e,t,i,r){return i*((e=e/r-1)*e*e+1)+t}function Ru(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:vc,l=J3(e),u=t-l,c=10,m=0;function d(){m+=c;var p=GN(m,l,u,i);yc(e,p),m<i?window.requestAnimationFrame(d):r(e)}d()}function nb(e,t){var i=e.getBoundingClientRect(),r=t.getBoundingClientRect(),l=t.offsetHeight/3;r.bottom+l>i.bottom?yc(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+l,e.scrollHeight)):r.top-l<i.top&&yc(e,Math.max(t.offsetTop-l,0))}function YN(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function ab(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function KN(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var e5=!1,XN={get passive(){return e5=!0}},Nu=typeof window<"u"?window:{};Nu.addEventListener&&Nu.removeEventListener&&(Nu.addEventListener("p",vc,XN),Nu.removeEventListener("p",vc,!1));var QN=e5;function WN(e){return e!=null}function ZN(e){return Array.isArray(e)}function Du(e,t,i){return e?t:i}var JN=function(t){for(var i=arguments.length,r=new Array(i>1?i-1:0),l=1;l<i;l++)r[l-1]=arguments[l];var u=Object.entries(t).filter(function(c){var m=qa(c,1),d=m[0];return!r.includes(d)});return u.reduce(function(c,m){var d=qa(m,2),p=d[0],g=d[1];return c[p]=g,c},{})},eD=["children","innerProps"],tD=["children","innerProps"];function nD(e){var t=e.maxHeight,i=e.menuEl,r=e.minHeight,l=e.placement,u=e.shouldScroll,c=e.isFixedPosition,m=e.controlHeight,d=$N(i),p={placement:"bottom",maxHeight:t};if(!i||!i.offsetParent)return p;var g=d.getBoundingClientRect(),y=g.height,S=i.getBoundingClientRect(),C=S.bottom,w=S.height,T=S.top,E=i.offsetParent.getBoundingClientRect(),A=E.top,R=c?window.innerHeight:qN(d),N=J3(d),P=parseInt(getComputedStyle(i).marginBottom,10),D=parseInt(getComputedStyle(i).marginTop,10),U=A-D,H=R-T,I=U+N,L=y-N-T,ie=C-R+N+P,ce=N+T-D,ne=160;switch(l){case"auto":case"bottom":if(H>=w)return{placement:"bottom",maxHeight:t};if(L>=w&&!c)return u&&Ru(d,ie,ne),{placement:"bottom",maxHeight:t};if(!c&&L>=r||c&&H>=r){u&&Ru(d,ie,ne);var oe=c?H-P:L-P;return{placement:"bottom",maxHeight:oe}}if(l==="auto"||c){var fe=t,X=c?U:I;return X>=r&&(fe=Math.min(X-P-m,t)),{placement:"top",maxHeight:fe}}if(l==="bottom")return u&&yc(d,ie),{placement:"bottom",maxHeight:t};break;case"top":if(U>=w)return{placement:"top",maxHeight:t};if(I>=w&&!c)return u&&Ru(d,ce,ne),{placement:"top",maxHeight:t};if(!c&&I>=r||c&&U>=r){var q=t;return(!c&&I>=r||c&&U>=r)&&(q=c?U-D:I-D),u&&Ru(d,ce,ne),{placement:"top",maxHeight:q}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(l,'".'))}return p}function aD(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var t5=function(t){return t==="auto"?"bottom":t},iD=function(t,i){var r,l=t.placement,u=t.theme,c=u.borderRadius,m=u.spacing,d=u.colors;return Ee((r={label:"menu"},El(r,aD(l),"100%"),El(r,"position","absolute"),El(r,"width","100%"),El(r,"zIndex",1),r),i?{}:{backgroundColor:d.neutral0,borderRadius:c,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:m.menuGutter,marginTop:m.menuGutter})},n5=x.createContext(null),rD=function(t){var i=t.children,r=t.minMenuHeight,l=t.maxMenuHeight,u=t.menuPlacement,c=t.menuPosition,m=t.menuShouldScrollIntoView,d=t.theme,p=x.useContext(n5)||{},g=p.setPortalPlacement,y=x.useRef(null),S=x.useState(l),C=qa(S,2),w=C[0],T=C[1],E=x.useState(null),A=qa(E,2),R=A[0],N=A[1],P=d.spacing.controlHeight;return Pm(function(){var D=y.current;if(D){var U=c==="fixed",H=m&&!U,I=nD({maxHeight:l,menuEl:D,minHeight:r,placement:u,shouldScroll:H,isFixedPosition:U,controlHeight:P});T(I.maxHeight),N(I.placement),g?.(I.placement)}},[l,u,c,m,r,g,P]),i({ref:y,placerProps:Ee(Ee({},t),{},{placement:R||t5(u),maxHeight:w})})},sD=function(t){var i=t.children,r=t.innerRef,l=t.innerProps;return we("div",Ce({},pt(t,"menu",{menu:!0}),{ref:r},l),i)},lD=sD,oD=function(t,i){var r=t.maxHeight,l=t.theme.spacing.baseUnit;return Ee({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},i?{}:{paddingBottom:l,paddingTop:l})},uD=function(t){var i=t.children,r=t.innerProps,l=t.innerRef,u=t.isMulti;return we("div",Ce({},pt(t,"menuList",{"menu-list":!0,"menu-list--is-multi":u}),{ref:l},r),i)},a5=function(t,i){var r=t.theme,l=r.spacing.baseUnit,u=r.colors;return Ee({textAlign:"center"},i?{}:{color:u.neutral40,padding:"".concat(l*2,"px ").concat(l*3,"px")})},cD=a5,fD=a5,dD=function(t){var i=t.children,r=i===void 0?"No options":i,l=t.innerProps,u=Ka(t,eD);return we("div",Ce({},pt(Ee(Ee({},u),{},{children:r,innerProps:l}
55),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),l),r)},hD=function(t){var i=t.children,r=i===void 0?"Loading...":i,l=t.innerProps,u=Ka(t,tD);return we("div",Ce({},pt(Ee(Ee({},u),{},{children:r,innerProps:l}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),l),r)},mD=function(t){var i=t.rect,r=t.offset,l=t.position;return{left:i.left,position:l,top:r,width:i.width,zIndex:1}},pD=function(t){var i=t.appendTo,r=t.children,l=t.controlElement,u=t.innerProps,c=t.menuPlacement,m=t.menuPosition,d=x.useRef(null),p=x.useRef(null),g=x.useState(t5(c)),y=qa(g,2),S=y[0],C=y[1],w=x.useMemo(function(){return{setPortalPlacement:C}},[]),T=x.useState(null),E=qa(T,2),A=E[0],R=E[1],N=x.useCallback(function(){if(l){var H=YN(l),I=m==="fixed"?0:window.pageYOffset,L=H[S]+I;(L!==A?.offset||H.left!==A?.rect.left||H.width!==A?.rect.width)&&R({offset:L,rect:H})}},[l,m,S,A?.offset,A?.rect.left,A?.rect.width]);Pm(function(){N()},[N]);var P=x.useCallback(function(){typeof p.current=="function"&&(p.current(),p.current=null),l&&d.current&&(p.current=BN(l,d.current,N,{elementResize:"ResizeObserver"in window}))},[l,N]);Pm(function(){P()},[P]);var D=x.useCallback(function(H){d.current=H,P()},[P]);if(!i&&m!=="fixed"||!A)return null;var U=we("div",Ce({ref:D},pt(Ee(Ee({},t),{},{offset:A.offset,position:m,rect:A.rect}),"menuPortal",{"menu-portal":!0}),u),r);return we(n5.Provider,{value:w},i?R8.createPortal(U,i):U)},gD=function(t){var i=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:i?"none":void 0,position:"relative"}},vD=function(t){var i=t.children,r=t.innerProps,l=t.isDisabled,u=t.isRtl;return we("div",Ce({},pt(t,"container",{"--is-disabled":l,"--is-rtl":u}),r),i)},yD=function(t,i){var r=t.theme.spacing,l=t.isMulti,u=t.hasValue,c=t.selectProps.controlShouldRenderValue;return Ee({alignItems:"center",display:l&&u&&c?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},i?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},bD=function(t){var i=t.children,r=t.innerProps,l=t.isMulti,u=t.hasValue;return we("div",Ce({},pt(t,"valueContainer",{"value-container":!0,"value-container--is-multi":l,"value-container--has-value":u}),r),i)},xD=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},SD=function(t){var i=t.children,r=t.innerProps;return we("div",Ce({},pt(t,"indicatorsContainer",{indicators:!0}),r),i)},ib,wD=["size"],ED=["innerProps","isRtl","size"],TD={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},i5=function(t){var i=t.size,r=Ka(t,wD);return we("svg",Ce({height:i,width:i,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:TD},r))},Gp=function(t){return we(i5,Ce({size:20},t),we("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},r5=function(t){return we(i5,Ce({size:20},t),we("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},s5=function(t,i){var r=t.isFocused,l=t.theme,u=l.spacing.baseUnit,c=l.colors;return Ee({label:"indicatorContainer",display:"flex",transition:"color 150ms"},i?{}:{color:r?c.neutral60:c.neutral20,padding:u*2,":hover":{color:r?c.neutral80:c.neutral40}})},CD=s5,AD=function(t){var i=t.children,r=t.innerProps;return we("div",Ce({},pt(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),i||we(r5,null))},jD=s5,OD=function(t){var i=t.children,r=t.innerProps;return we("div",Ce({},pt(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),i||we(Gp,null))},RD=function(t,i){var r=t.isDisabled,l=t.theme,u=l.spacing.baseUnit,c=l.colors;return Ee({label:"indicatorSeparator",alignSelf:"stretch",width:1},i?{}:{backgroundColor:r?c.neutral10:c.neutral20,marginBottom:u*2,marginTop:u*2})},ND=function(t){var i=t.innerProps;return we("span",Ce({},i,pt(t,"indicatorSeparator",{"indicator-separator":!0})))},DD=TN(ib||(ib=CN([` 56 0%, 80%, 100% { opacity: 0; } 57 40% { opacity: 1; } 58`]))),MD=function(t,i){var r=t.isFocused,l=t.size,u=t.theme,c=u.colors,m=u.spacing.baseUnit;return Ee({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:l,lineHeight:1,marginRight:l,textAlign:"center",verticalAlign:"middle"},i?{}:{color:r?c.neutral60:c.neutral20,padding:m*2})},Rh=function(t){var i=t.delay,r=t.offset;return we("span",{css:Fp({animation:"".concat(DD," 1s ease-in-out ").concat(i,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},_D=function(t){var i=t.innerProps,r=t.isRtl,l=t.size,u=l===void 0?4:l,c=Ka(t,ED);return we("div",Ce({},pt(Ee(Ee({},c),{},{innerProps:i,isRtl:r,size:u}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),i),we(Rh,{delay:0,offset:r}),we(Rh,{delay:160,offset:!0}),we(Rh,{delay:320,offset:!r}))},LD=function(t,i){var r=t.isDisabled,l=t.isFocused,u=t.theme,c=u.colors,m=u.borderRadius,d=u.spacing;return Ee({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:d.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},i?{}:{backgroundColor:r?c.neutral5:c.neutral0,borderColor:r?c.neutral10:l?c.primary:c.neutral20,borderRadius:m,borderStyle:"solid",borderWidth:1,boxShadow:l?"0 0 0 1px ".concat(c.primary):void 0,"&:hover":{borderColor:l?c.primary:c.neutral30}})},kD=function(t){var i=t.children,r=t.isDisabled,l=t.isFocused,u=t.innerRef,c=t.innerProps,m=t.menuIsOpen;return we("div",Ce({ref:u}
58,pt(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":l,"control--menu-is-open":m}),c,{"aria-disabled":r||void 0}),i)},PD=kD,VD=["data"],zD=function(t,i){var r=t.theme.spacing;return i?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},UD=function(t){var i=t.children,r=t.cx,l=t.getStyles,u=t.getClassNames,c=t.Heading,m=t.headingProps,d=t.innerProps,p=t.label,g=t.theme,y=t.selectProps;return we("div",Ce({},pt(t,"group",{group:!0}),d),we(c,Ce({},m,{selectProps:y,theme:g,getStyles:l,getClassNames:u,cx:r}),p),we("div",null,i))},BD=function(t,i){var r=t.theme,l=r.colors,u=r.spacing;return Ee({label:"group",cursor:"default",display:"block"},i?{}:{color:l.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:u.baseUnit*3,paddingRight:u.baseUnit*3,textTransform:"uppercase"})},HD=function(t){var i=Z3(t);i.data;var r=Ka(i,VD);return we("div",Ce({},pt(t,"groupHeading",{"group-heading":!0}),r))},FD=UD,ID=["innerRef","isDisabled","isHidden","inputClassName"],qD=function(t,i){var r=t.isDisabled,l=t.value,u=t.theme,c=u.spacing,m=u.colors;return Ee(Ee({visibility:r?"hidden":"visible",transform:l?"translateZ(0)":""},$D),i?{}:{margin:c.baseUnit/2,paddingBottom:c.baseUnit/2,paddingTop:c.baseUnit/2,color:m.neutral80})},l5={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},$D={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ee({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},l5)},GD=function(t){return Ee({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},l5)},YD=function(t){var i=t.cx,r=t.value,l=Z3(t),u=l.innerRef,c=l.isDisabled,m=l.isHidden,d=l.inputClassName,p=Ka(l,ID);return we("div",Ce({},pt(t,"input",{"input-container":!0}),{"data-value":r||""}),we("input",Ce({className:i({input:!0},d),ref:u,style:GD(m),disabled:c},p)))},KD=YD,XD=function(t,i){var r=t.theme,l=r.spacing,u=r.borderRadius,c=r.colors;return Ee({label:"multiValue",display:"flex",minWidth:0},i?{}:{backgroundColor:c.neutral10,borderRadius:u/2,margin:l.baseUnit/2})},QD=function(t,i){var r=t.theme,l=r.borderRadius,u=r.colors,c=t.cropWithEllipsis;return Ee({overflow:"hidden",textOverflow:c||c===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},i?{}:{borderRadius:l/2,color:u.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},WD=function(t,i){var r=t.theme,l=r.spacing,u=r.borderRadius,c=r.colors,m=t.isFocused;return Ee({alignItems:"center",display:"flex"},i?{}:{borderRadius:u/2,backgroundColor:m?c.dangerLight:void 0,paddingLeft:l.baseUnit,paddingRight:l.baseUnit,":hover":{backgroundColor:c.dangerLight,color:c.danger}})},o5=function(t){var i=t.children,r=t.innerProps;return we("div",r,i)},ZD=o5,JD=o5;function eM(e){var t=e.children,i=e.innerProps;return we("div",Ce({role:"button"},i),t||we(Gp,{size:14}))}var tM=function(t){var i=t.children,r=t.components,l=t.data,u=t.innerProps,c=t.isDisabled,m=t.removeProps,d=t.selectProps,p=r.Container,g=r.Label,y=r.Remove;return we(p,{data:l,innerProps:Ee(Ee({},pt(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":c})),u),selectProps:d},we(g,{data:l,innerProps:Ee({},pt(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:d},i),we(y,{data:l,innerProps:Ee(Ee({},pt(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(i||"option")},m),selectProps:d}))},nM=tM,aM=function(t,i){var r=t.isDisabled,l=t.isFocused,u=t.isSelected,c=t.theme,m=c.spacing,d=c.colors;return Ee({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},i?{}:{backgroundColor:u?d.primary:l?d.primary25:"transparent",color:r?d.neutral20:u?d.neutral0:"inherit",padding:"".concat(m.baseUnit*2,"px ").concat(m.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:u?d.primary:d.primary50}})},iM=function(t){var i=t.children,r=t.isDisabled,l=t.isFocused,u=t.isSelected,c=t.innerRef,m=t.innerProps;return we("div",Ce({},pt(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":l,"option--is-selected":u}),{ref:c,"aria-disabled":r},m),i)},rM=iM,sM=function(t,i){var r=t.theme,l=r.spacing,u=r.colors;return Ee({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},i?{}:{color:u.neutral50,marginLeft:l.baseUnit/2,marginRight:l.baseUnit/2})},lM=function(t){var i=t.children,r=t.innerProps;return we("div",Ce({},pt(t,"placeholder",{placeholder:!0}),r),i)},oM=lM,uM=function(t,i){var r=t.isDisabled,l=t.theme,u=l.spacing,c=l.colors;return Ee({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},i?{}:{color:r?c.neutral40:c.neutral80,marginLeft:u.baseUnit/2,marginRight:u.baseUnit/2})},cM=function(t){var i=t.children,r=t.isDisabled,l=t.innerProps;return we("div",Ce({},pt(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),l),i)},fM=cM,dM={ClearIndicator:OD,Control:PD,DropdownIndicator:AD,DownChevron:r5,CrossIcon:Gp,Group:FD,GroupHeading:HD,IndicatorsContainer:SD,IndicatorSeparator:ND,Input:KD,LoadingIndicator:_D,Menu:lD,MenuList:uD,MenuPortal:pD,LoadingMessage:hD,NoOptionsMessage:dD,MultiValue:nM,MultiValueContainer:ZD,MultiValueLabel:JD,MultiValueRemove:eM,Option:rM,Placeholder:oM,SelectContainer:vD,SingleValue:fM,ValueContainer:bD},hM=function(t){return Ee(Ee({},dM),t.components)},rb=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function mM(e,t){return!!(e===t||rb(e)&&rb(t))}function pM(e,t){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++)if(!mM(e[i],t[i]))return!1;return!0}function gM(e,t){t===void 0&&(t=pM);var i=null;function r(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];if(i&&i.lastThis===this&&t(l,i.lastArgs))return i.lastResult;var c=e.apply(this,l);return i={lastResult:c,lastArgs:l,lastThis:this},c}return r.clear=function(){i=null},r}var vM={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},yM=function(t){return we("span",Ce({css:vM},t))},sb=yM,bM={guidance:function(t){var i=t.isSearchable,r=t.isMulti,l=t.tabSelectsValue,u=t.context,c=t.isInitialFocus;switch(u){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(l?", press Tab to select the option and exit the menu":"",".");case"input":return c?"".concat(t["aria-label"]||"Select"," is focused ").concat(i?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var i=t.action,r=t.label,l=r===void 0?"":r,u=t.labels,c=t.isDisabled;
58switch(i){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(l,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(u.length>1?"s":""," ").concat(u.join(","),", selected.");case"select-option":return c?"option ".concat(l," is disabled. Select another option."):"option ".concat(l,", selected.");default:return""}},onFocus:function(t){var i=t.context,r=t.focused,l=t.options,u=t.label,c=u===void 0?"":u,m=t.selectValue,d=t.isDisabled,p=t.isSelected,g=t.isAppleDevice,y=function(T,E){return T&&T.length?"".concat(T.indexOf(E)+1," of ").concat(T.length):""};if(i==="value"&&m)return"value ".concat(c," focused, ").concat(y(m,r),".");if(i==="menu"&&g){var S=d?" disabled":"",C="".concat(p?" selected":"").concat(S);return"".concat(c).concat(C,", ").concat(y(l,r),".")}return""},onFilter:function(t){var i=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(i?" for search term "+i:"",".")}},xM=function(t){var i=t.ariaSelection,r=t.focusedOption,l=t.focusedValue,u=t.focusableOptions,c=t.isFocused,m=t.selectValue,d=t.selectProps,p=t.id,g=t.isAppleDevice,y=d.ariaLiveMessages,S=d.getOptionLabel,C=d.inputValue,w=d.isMulti,T=d.isOptionDisabled,E=d.isSearchable,A=d.menuIsOpen,R=d.options,N=d.screenReaderStatus,P=d.tabSelectsValue,D=d.isLoading,U=d["aria-label"],H=d["aria-live"],I=x.useMemo(function(){return Ee(Ee({},bM),y||{})},[y]),L=x.useMemo(function(){var X="";if(i&&I.onChange){var q=i.option,ae=i.options,ee=i.removedValue,W=i.removedValues,O=i.value,z=function(ge){return Array.isArray(ge)?null:ge},Y=ee||q||z(O),K=Y?S(Y):"",J=ae||W||void 0,le=J?J.map(S):[],ue=Ee({isDisabled:Y&&T(Y,m),label:K,labels:le},i);X=I.onChange(ue)}return X},[i,I,T,m,S]),ie=x.useMemo(function(){var X="",q=r||l,ae=!!(r&&m&&m.includes(r));if(q&&I.onFocus){var ee={focused:q,label:S(q),isDisabled:T(q,m),isSelected:ae,options:u,context:q===r?"menu":"value",selectValue:m,isAppleDevice:g};X=I.onFocus(ee)}return X},[r,l,S,T,I,u,m,g]),ce=x.useMemo(function(){var X="";if(A&&R.length&&!D&&I.onFilter){var q=N({count:u.length});X=I.onFilter({inputValue:C,resultsMessage:q})}return X},[u,C,A,I,R,N,D]),ne=i?.action==="initial-input-focus",oe=x.useMemo(function(){var X="";if(I.guidance){var q=l?"value":A?"menu":"input";X=I.guidance({"aria-label":U,context:q,isDisabled:r&&T(r,m),isMulti:w,isSearchable:E,tabSelectsValue:P,isInitialFocus:ne})}return X},[U,r,l,w,T,E,A,I,m,P,ne]),fe=we(x.Fragment,null,we("span",{id:"aria-selection"},L),we("span",{id:"aria-focused"},ie),we("span",{id:"aria-results"},ce),we("span",{id:"aria-guidance"},oe));return we(x.Fragment,null,we(sb,{id:p},ne&&fe),we(sb,{"aria-live":H,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},c&&!ne&&fe))},SM=xM,Vm=[{base:"A",letters:"Aâ¶ï¼¡ÃÃÃẦẤẪẨÃÄÄáº°áº®áº´áº²È¦Ç ÃÇẢÃ
ǺÇÈÈẠẬẶá¸ÄȺⱯ"},{base:"AA",letters:"ê²"},{base:"AE",letters:"ÃǼǢ"},{base:"AO",letters:"ê´"},{base:"AU",letters:"ê¶"},{base:"AV",letters:"ê¸êº"},{base:"AY",letters:"ê¼"},{base:"B",letters:"Bâ·ï¼¢á¸á¸á¸ÉÆÆ"},{base:"C",letters:"Câ¸ï¼£ÄÄÄÄÃá¸ÆÈ»ê¾"},{base:"D",letters:"Dâ¹ï¼¤á¸Äá¸á¸á¸á¸ÄÆÆÆê¹"},{base:"DZ",letters:"DZÇ"},{base:"Dz",letters:"DzÇ
"},{base:"E",letters:"Eâºï¼¥ÃÃÃá»áº¾á»á»áº¼Äá¸á¸ÄÄÃẺÄÈÈẸá»È¨á¸Äá¸á¸ÆÆ"},{base:"F",letters:"Fâ»ï¼¦á¸Æê»"},{base:"G",letters:"Gâ¼ï¼§Ç´ÄḠÄÄ Ç¦Ä¢Ç¤Æê ê½ê¾"},{base:"H",letters:"Hâ½ï¼¨Ä¤á¸¢á¸¦ÈḤḨḪĦⱧⱵê"},{base:"I",letters:"Iâ¾ï¼©ÃÃÃĨĪĬİÃḮá»ÇÈÈá»Ä®á¸¬Æ"},{base:"J",letters:"Jâ¿ï¼ªÄ´É"},{base:"K",letters:"KâKḰǨḲĶḴÆâ±©êêêê¢"},{base:"L",letters:"LâLĿĹĽḶḸĻḼḺÅȽⱢⱠêêê"},{base:"LJ",letters:"Ç"},{base:"Lj",letters:"Ç"},{base:"M",letters:"Mâï¼á¸¾á¹á¹â±®Æ"},{base:"N",letters:"NâNǸÅÃá¹Åá¹Å
á¹á¹È Æêê¤"},{base:"NJ",letters:"Ç"},{base:"Nj",letters:"Ç"},{base:"O",letters:"OâOÃÃÃá»á»á»á»Ãá¹È¬á¹Åá¹á¹ÅȮȰÃȪá»ÅÇÈÈÆ á»á»á» á»á»¢á»á»ÇªÇ¬ÃÇ¾ÆÆêê"},{base:"OI",letters:"Æ¢"},{base:"OO",letters:"ê"},{base:"OU",letters:"È¢"},{base:"P",letters:"Pâ
ï¼°á¹á¹Æ¤â±£êêê"},{base:"Q",letters:"Qâï¼±êêÉ"}
58,{base:"R",letters:"Râï¼²Åá¹ÅÈÈá¹á¹Åá¹ÉⱤêê¦ê"},{base:"S",letters:"Sâï¼³áºÅṤÅṠŠṦṢṨÈÅâ±¾ê¨ê"},{base:"T",letters:"TâTṪŤṬÈŢṰṮŦƬƮȾê"},{base:"TZ",letters:"ê¨"},{base:"U",letters:"Uâï¼µÃÃÃŨṸŪṺŬÃÇÇÇÇỦŮŰÇÈÈÆ¯á»ªá»¨á»®á»¬á»°á»¤á¹²Å²á¹¶á¹´É"},{base:"V",letters:"VâVṼṾƲêÉ
"},{base:"VY",letters:"ê "},{base:"W",letters:"Wâï¼·áºáºÅ´áºáºáºâ±²"},{base:"X",letters:"XâXáºáº"},{base:"Y",letters:"YâYỲÃŶỸȲáºÅ¸á»¶á»´Æ³ÉỾ"},{base:"Z",letters:"ZâZŹáºÅ»Å½áºáºÆµÈ¤â±¿â±«ê¢"},{base:"a",letters:"aâï½áºÃ áâầấẫẩãÄÄằắẵẳȧǡäÇảåǻÇÈÈạáºáº·á¸Ä
â±¥É"},{base:"aa",letters:"ê³"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"êµ"},{base:"au",letters:"ê·"},{base:"av",letters:"ê¹ê»"},{base:"ay",letters:"ê½"},{base:"b",letters:"bâï½á¸á¸
á¸ÆÆÉ"},{base:"c",letters:"câï½ÄÄÄÄÃ§á¸ÆÈ¼ê¿â"},{base:"d",letters:"dâï½á¸Äá¸á¸á¸á¸ÄÆÉÉêº"},{base:"dz",letters:"dzÇ"},{base:"e",letters:"eâï½
èéêá»áº¿á»
á»áº½Äá¸á¸ÄÄëẻÄÈ
Èẹá»È©á¸Äá¸á¸ÉÉÇ"},{base:"f",letters:"fâï½á¸Æê¼"},{base:"g",letters:"gâï½ÇµÄḡÄÄ¡Ç§Ä£Ç¥É ê¡áµ¹ê¿"},{base:"h",letters:"hâï½Ä¥á¸£á¸§ÈḥḩḫáºÄ§â±¨â±¶É¥"},{base:"hv",letters:"Æ"},{base:"i",letters:"iâï½Ã¬ÃîĩīÄïḯá»ÇÈÈá»Ä¯á¸É¨Ä±"},{base:"j",letters:"jâï½ÄµÇ°É"},{base:"k",letters:"kâï½á¸±Ç©á¸³Ä·á¸µÆâ±ªêêê
ê£"},{base:"l",letters:"lâï½ÅÄºÄ¾á¸·á¸¹Ä¼á¸½á¸»Å¿ÅÆÉ«â±¡êêê"},{base:"lj",letters:"Ç"},{base:"m",letters:"mâï½á¸¿á¹á¹É±É¯"},{base:"n",letters:"nâï½Ç¹Åñá¹
Åá¹Åá¹á¹ÆÉ²Åêê¥"},{base:"nj",letters:"Ç"},{base:"o",letters:"oâï½Ã²Ã³Ã´á»á»á»á»Ãµá¹Èá¹Åá¹á¹Åȯȱöȫá»ÅÇÈÈÆ¡á»á»á»¡á»á»£á»á»Ç«ÇøǿÉêêɵ"},{base:"oi",letters:"Æ£"},{base:"ou",letters:"È£"},{base:"oo",letters:"ê"},{base:"p",letters:"pâï½á¹á¹Æ¥áµ½êêê"},{base:"q",letters:"qâ ï½Éêê"},{base:"r",letters:"râ¡ï½Åá¹ÅÈÈá¹á¹Åá¹Éɽêê§ê"},{base:"s",letters:"sâ¢ï½ÃÅá¹¥ÅṡšṧṣṩÈÅÈ¿ê©ê
áº"},{base:"t",letters:"tâ£ï½á¹«áºÅ¥á¹ÈţṱṯŧÆÊⱦê"},{base:"tz",letters:"ê©"},{base:"u",letters:"uâ¤ï½Ã¹ÃºÃ»Å©á¹¹Å«á¹»ÅüÇÇÇÇủůűÇÈÈÆ°á»«á»©á»¯á»á»±á»¥á¹³Å³á¹·á¹µÊ"},{base:"v",letters:"vâ¥ï½á¹½á¹¿ÊêÊ"},{base:"vy",letters:"ê¡"},{base:"w",letters:"wâ¦ï½áºáºÅµáºáº
áºáºâ±³"},{base:"x",letters:"xâ§ï½áºáº"},{base:"y",letters:"yâ¨ï½á»³Ã½Å·á»¹È³áºÃ¿á»·áºá»µÆ´Éỿ"},{base:"z",letters:"zâ©ï½ÅºáºÅ¼Å¾áºáºÆ¶È¥Éⱬê£"}],wM=new RegExp("["+Vm.map(function(e){return e.letters}).join("")+"]","g"),u5={};for(var Nh=0;Nh<Vm.length;Nh++)for(var Dh=Vm[Nh],Mh=0;Mh<Dh.letters.length;Mh++)u5[Dh.letters[Mh]]=Dh.base;var c5=function(t){return t.replace(wM,function(i){return u5[i]})},EM=gM(c5),lb=function(t){return t.replace(/^\s+|\s+$/g,"")},TM=function(t){return"".concat(t.label," ").concat(t.value)},CM=function(t){return function(i,r){if(i.data.__isNew__)return!0;var l=Ee({ignoreCase:!0,ignoreAccents:!0,stringify:TM,trim:!0,matchFrom:"any"},t),u=l.ignoreCase,c=l.ignoreAccents,m=l.stringify,d=l.trim,p=l.matchFrom,g=d?lb(r):r,y=d?lb(m(i)):m(i);return u&&(g=g.toLowerCase(),y=y.toLowerCase()),c&&(g=EM(g),y=c5(y)),p==="start"?y.substr(0,g.length)===g:y.indexOf(g)>-1}},AM=["innerRef"];function jM(e){var t=e.innerRef,i=Ka(e,AM),r=JN(i,"onExited","in","enter","exit","appear");return we("input",Ce({ref:t},r,{css:Fp({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var OM=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function RM(e){var t=e.isEnabled,i=e.onBottomArrive,r=e.onBottomLeave,l=e.onTopArrive,u=e.onTopLeave,c=x.useRef(!1),m=x.useRef(!1),d=x.useRef(0),p=x.useRef(null),g=x.useCallback(function(E,A){if(p.current!==null){var R=p.current,N=R.scrollTop,P=R.scrollHeight,D=R.clientHeight,U=p.current,H=A>0,I=P-D-N,L=!1;I>A&&c.current&&(r&&r(E),c.current=!1),H&&m.current&&(u&&u(E),m.current=!1),H&&A>I?(i&&!c.current&&i(E),U.scrollTop=P,L=!0,c.current=!0):!H&&-A>N&&(l&&!m.current&&l(E),U.scrollTop=0,L=!0,m.current=!0),L&&OM(E)}},[i,r,l,u]),y=x.useCallback(function(E){g(E,E.deltaY)},[g]),S=x.useCallback(function(E){d.current=E.changedTouches[0].clientY},[]),C=x.useCallback(function(E){var A=d.current-E.changedTouches[0].clientY;g(E,A)},[g]),w=x.useCallback(function(E){if(E){var A=QN?{passive:!1}:!1;E.addEventListener("wheel",y,A),E.addEventListener("touchstart",S,A),E.addEventListener("touchmove",C,A)}},[C,S,y]),T=x.useCallback(function(E){E&&(E.removeEventListener("wheel",y,!1),E.removeEventListener("touchstart",S,!1),E.removeEventListener("touchmove",C,!1))},[C,S,y]);return x.useEffect(function(){if(t){var E=p.current;return w(E),function(){T(E)}}},[t,w,T]),function(E){p.current=E}}var ob=["boxSizing","height","overflow","paddingRight","position"],ub={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function cb(e){e.cancelable&&e.preventDefault()}function fb(e){e.stopPropagation()}function db(){var e=this.scrollTop,t=this.scrollHeight,i=e+this.offsetHeight;e===0?this.scrollTop=1:i===t&&(this.scrollTop=e-1)}function hb(){return"ontouchstart"in window||navigator.maxTouchPoints}var mb=!!(typeof window<"u"&&window.document&&window.document.createElement),hl=0,Fr={capture:!1,passive:!1};function NM(e){var t=e.isEnabled,i=e.accountForScrollbars,r=i===void 0?!0:i,l=x.useRef({}),u=x.useRef(null),c=x.useCallback(function(d){if(mb){var p=document.body,g=p&&p.style;if(r&&ob.forEach(function(w){var T=g&&g[w];l.current[w]=T}),r&&hl<1){var y=parseInt(l.current.paddingRight,10)||0,S=document.body?document.body.clientWidth:0,C=window.innerWidth-S+y||0;Object.keys(ub).forEach(function(w){var T=ub[w];g&&(g[w]=T)}),g&&(g.paddingRight="".concat(C,"px"))}p&&hb()&&(p.addEventListener("touchmove",cb,Fr),d&&(d.addEventListener("touchstart",db,Fr),d.addEventListener("touchmove",fb,Fr))),hl+=1}},[r]),m=x.useCallback(function(d){if(mb){var p=document.body,g=p&&p.style;
58hl=Math.max(hl-1,0),r&&hl<1&&ob.forEach(function(y){var S=l.current[y];g&&(g[y]=S)}),p&&hb()&&(p.removeEventListener("touchmove",cb,Fr),d&&(d.removeEventListener("touchstart",db,Fr),d.removeEventListener("touchmove",fb,Fr)))}},[r]);return x.useEffect(function(){if(t){var d=u.current;return c(d),function(){m(d)}}},[t,c,m]),function(d){u.current=d}}var DM=function(t){var i=t.target;return i.ownerDocument.activeElement&&i.ownerDocument.activeElement.blur()},MM={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function _M(e){var t=e.children,i=e.lockEnabled,r=e.captureEnabled,l=r===void 0?!0:r,u=e.onBottomArrive,c=e.onBottomLeave,m=e.onTopArrive,d=e.onTopLeave,p=RM({isEnabled:l,onBottomArrive:u,onBottomLeave:c,onTopArrive:m,onTopLeave:d}),g=NM({isEnabled:i}),y=function(C){p(C),g(C)};return we(x.Fragment,null,i&&we("div",{onClick:DM,css:MM}),t(y))}var LM={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},kM=function(t){var i=t.name,r=t.onFocus;return we("input",{required:!0,name:i,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:LM,value:"",onChange:function(){}})},PM=kM;function Yp(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function VM(){return Yp(/^iPhone/i)}function f5(){return Yp(/^Mac/i)}function zM(){return Yp(/^iPad/i)||f5()&&navigator.maxTouchPoints>1}function UM(){return VM()||zM()}function BM(){return f5()||UM()}var HM=function(t){return t.label},FM=function(t){return t.label},IM=function(t){return t.value},qM=function(t){return!!t.isDisabled},$M={clearIndicator:jD,container:gD,control:LD,dropdownIndicator:CD,group:zD,groupHeading:BD,indicatorsContainer:xD,indicatorSeparator:RD,input:qD,loadingIndicator:MD,loadingMessage:fD,menu:iD,menuList:oD,menuPortal:mD,multiValue:XD,multiValueLabel:QD,multiValueRemove:WD,noOptionsMessage:cD,option:aM,placeholder:sM,singleValue:uM,valueContainer:yD},GM={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},YM=4,d5=4,KM=38,XM=d5*2,QM={baseUnit:d5,controlHeight:KM,menuGutter:XM},_h={borderRadius:YM,colors:GM,spacing:QM},WM={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ab(),captureMenuScroll:!ab(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:CM(),formatGroupLabel:HM,getOptionLabel:FM,getOptionValue:IM,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:qM,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!KN(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var i=t.count;return"".concat(i," result").concat(i!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function pb(e,t,i,r){var l=p5(e,t,i),u=g5(e,t,i),c=m5(e,t),m=bc(e,t);return{type:"option",data:t,isDisabled:l,isSelected:u,label:c,value:m,index:r}}function Qu(e,t){return e.options.map(function(i,r){if("options"in i){var l=i.options.map(function(c,m){return pb(e,c,t,m)}).filter(function(c){return vb(e,c)});return l.length>0?{type:"group",data:i,options:l,index:r}:void 0}var u=pb(e,i,t,r);return vb(e,u)?u:void 0}).filter(WN)}function h5(e){return e.reduce(function(t,i){return i.type==="group"?t.push.apply(t,Vp(i.options.map(function(r){return r.data}))):t.push(i.data),t},[])}function gb(e,t){return e.reduce(function(i,r){return r.type==="group"?i.push.apply(i,Vp(r.options.map(function(l){return{data:l.data,id:"".concat(t,"-").concat(r.index,"-").concat(l.index)}}))):i.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),i},[])}function ZM(e,t){return h5(Qu(e,t))}function vb(e,t){var i=e.inputValue,r=i===void 0?"":i,l=t.data,u=t.isSelected,c=t.label,m=t.value;return(!y5(e)||!u)&&v5(e,{label:c,value:m,data:l},r)}function JM(e,t){var i=e.focusedValue,r=e.selectValue,l=r.indexOf(i);if(l>-1){var u=t.indexOf(i);if(u>-1)return i;if(l<t.length)return t[l]}return null}function e_(e,t){var i=e.focusedOption;return i&&t.indexOf(i)>-1?i:t[0]}var Lh=function(t,i){var r,l=(r=t.find(function(u){return u.data===i}))===null||r===void 0?void 0:r.id;return l||null},m5=function(t,i){return t.getOptionLabel(i)},bc=function(t,i){return t.getOptionValue(i)};function p5(e,t,i){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,i):!1}function g5(e,t,i){if(i.indexOf(t)>-1)return!0;
58if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,i);var r=bc(e,t);return i.some(function(l){return bc(e,l)===r})}function v5(e,t,i){return e.filterOption?e.filterOption(t,i):!0}var y5=function(t){var i=t.hideSelectedOptions,r=t.isMulti;return i===void 0?r:i},t_=1,b5=(function(e){SR(i,e);var t=TR(i);function i(r){var l;if(bR(this,i),l=t.call(this,r),l.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},l.blockOptionHover=!1,l.isComposing=!1,l.commonProps=void 0,l.initialTouchX=0,l.initialTouchY=0,l.openAfterFocus=!1,l.scrollToFocusedOptionOnUpdate=!1,l.userIsDragging=void 0,l.controlRef=null,l.getControlRef=function(d){l.controlRef=d},l.focusedOptionRef=null,l.getFocusedOptionRef=function(d){l.focusedOptionRef=d},l.menuListRef=null,l.getMenuListRef=function(d){l.menuListRef=d},l.inputRef=null,l.getInputRef=function(d){l.inputRef=d},l.focus=l.focusInput,l.blur=l.blurInput,l.onChange=function(d,p){var g=l.props,y=g.onChange,S=g.name;p.name=S,l.ariaOnChange(d,p),y(d,p)},l.setValue=function(d,p,g){var y=l.props,S=y.closeMenuOnSelect,C=y.isMulti,w=y.inputValue;l.onInputChange("",{action:"set-value",prevInputValue:w}),S&&(l.setState({inputIsHiddenAfterUpdate:!C}),l.onMenuClose()),l.setState({clearFocusValueOnUpdate:!0}),l.onChange(d,{action:p,option:g})},l.selectOption=function(d){var p=l.props,g=p.blurInputOnSelect,y=p.isMulti,S=p.name,C=l.state.selectValue,w=y&&l.isOptionSelected(d,C),T=l.isOptionDisabled(d,C);if(w){var E=l.getOptionValue(d);l.setValue(C.filter(function(A){return l.getOptionValue(A)!==E}),"deselect-option",d)}else if(!T)y?l.setValue([].concat(Vp(C),[d]),"select-option",d):l.setValue(d,"select-option");else{l.ariaOnChange(d,{action:"select-option",option:d,name:S});return}g&&l.blurInput()},l.removeValue=function(d){var p=l.props.isMulti,g=l.state.selectValue,y=l.getOptionValue(d),S=g.filter(function(w){return l.getOptionValue(w)!==y}),C=Du(p,S,S[0]||null);l.onChange(C,{action:"remove-value",removedValue:d}),l.focusInput()},l.clearValue=function(){var d=l.state.selectValue;l.onChange(Du(l.props.isMulti,[],null),{action:"clear",removedValues:d})},l.popValue=function(){var d=l.props.isMulti,p=l.state.selectValue,g=p[p.length-1],y=p.slice(0,p.length-1),S=Du(d,y,y[0]||null);g&&l.onChange(S,{action:"pop-value",removedValue:g})},l.getFocusedOptionId=function(d){return Lh(l.state.focusableOptionsWithIds,d)},l.getFocusableOptionsWithIds=function(){return gb(Qu(l.props,l.state.selectValue),l.getElementId("option"))},l.getValue=function(){return l.state.selectValue},l.cx=function(){for(var d=arguments.length,p=new Array(d),g=0;g<d;g++)p[g]=arguments[g];return IN.apply(void 0,[l.props.classNamePrefix].concat(p))},l.getOptionLabel=function(d){return m5(l.props,d)},l.getOptionValue=function(d){return bc(l.props,d)},l.getStyles=function(d,p){var g=l.props.unstyled,y=$M[d](p,g);y.boxSizing="border-box";var S=l.props.styles[d];return S?S(y,p):y},l.getClassNames=function(d,p){var g,y;return(g=(y=l.props.classNames)[d])===null||g===void 0?void 0:g.call(y,p)},l.getElementId=function(d){return"".concat(l.state.instancePrefix,"-").concat(d)},l.getComponents=function(){return hM(l.props)},l.buildCategorizedOptions=function(){return Qu(l.props,l.state.selectValue)},l.getCategorizedOptions=function(){return l.props.menuIsOpen?l.buildCategorizedOptions():[]},l.buildFocusableOptions=function(){return h5(l.buildCategorizedOptions())},l.getFocusableOptions=function(){return l.props.menuIsOpen?l.buildFocusableOptions():[]},l.ariaOnChange=function(d,p){l.setState({ariaSelection:Ee({value:d},p)})},l.onMenuMouseDown=function(d){d.button===0&&(d.stopPropagation(),d.preventDefault(),l.focusInput())},l.onMenuMouseMove=function(d){l.blockOptionHover=!1},l.onControlMouseDown=function(d){if(!d.defaultPrevented){var p=l.props.openMenuOnClick;l.state.isFocused?l.props.menuIsOpen?d.target.tagName!=="INPUT"&&d.target.tagName!=="TEXTAREA"&&l.onMenuClose():p&&l.openMenu("first"):(p&&(l.openAfterFocus=!0),l.focusInput()),d.target.tagName!=="INPUT"&&d.target.tagName!=="TEXTAREA"&&d.preventDefault()}},l.onDropdownIndicatorMouseDown=function(d){if(!(d&&d.type==="mousedown"&&d.button!==0)&&!l.props.isDisabled){var p=l.props,g=p.isMulti,y=p.menuIsOpen;l.focusInput(),y?(l.setState({inputIsHiddenAfterUpdate:!g}),l.onMenuClose()):l.openMenu("first"),d.preventDefault()}},l.onClearIndicatorMouseDown=function(d){d&&d.type==="mousedown"&&d.button!==0||(l.clearValue(),d.preventDefault(),l.openAfterFocus=!1,d.type==="touchend"?l.focusInput():setTimeout(function(){return l.focusInput()}))},l.onScroll=function(d){typeof l.props.closeMenuOnScroll=="boolean"?d.target instanceof HTMLElement&&Uc(d.target)&&l.props.onMenuClose():typeof l.props.closeMenuOnScroll=="function"&&l.props.closeMenuOnScroll(d)&&l.props.onMenuClose()},l.onCompositionStart=function(){l.isComposing=!0},l.onCompositionEnd=function(){l.isComposing=!1},l.onTouchStart=function(d){var p=d.touches,g=p&&p.item(0);g&&(l.initialTouchX=g.clientX,l.initialTouchY=g.clientY,l.userIsDragging=!1)},l.onTouchMove=function(d){var p=d.touches,g=p&&p.item(0);if(g){var y=Math.abs(g.clientX-l.initialTouchX),S=Math.abs(g.clientY-l.initialTouchY),C=5;l.userIsDragging=y>C||S>C}},l.onTouchEnd=function(d){l.userIsDragging||(l.controlRef&&!l.controlRef.contains(d.target)&&l.menuListRef&&!l.menuListRef.contains(d.target)&&l.blurInput(),l.initialTouchX=0,l.initialTouchY=0)},l.onControlTouchEnd=function(d){l.userIsDragging||l.onControlMouseDown(d)},l.onClearIndicatorTouchEnd=function(d){l.userIsDragging||l.onClearIndicatorMouseDown(d)},l.onDropdownIndicatorTouchEnd=function(d){l.userIsDragging||l.onDropdownIndicatorMouseDown(d)},l.handleInputChange=function(d){var p=l.props.inputValue,g=d.currentTarget.value;l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange(g,{action:"input-change",prevInputValue:p}),l.props.menuIsOpen||l.onMenuOpen()},l.onInputFocus=function(d){l.props.onFocus&&l.props.onFocus(d),l.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(l.openAfterFocus||l.props.openMenuOnFocus)&&l.openMenu("first"),l.openAfterFocus=!1},l.onInputBlur=function(d){var p=l.props.inputValue;if(l.menuListRef&&l.menuListRef.contains(document.activeElement)){l.inputRef.focus();return}l.props.onBlur&&l.props.onBlur(d),l.onInputChange("",{action:"input-blur",prevInputValue:p}),l.onMenuClose(),l.setState({focusedValue:null,isFocused:!1})},l.onOptionHover=function(d){if(!(l.blockOptionHover||l.state.focusedOption===d)){var p=l.getFocusableOptions(),g=p.indexOf(d);l.setState({focusedOption:d,focusedOptionId:g>-1?l.getFocusedOptionId(d):null})}},l.shouldHideSelectedOptions=function(){return y5(l.props)},l.onValueInputFocus=function(d){d.preventDefault(),d.stopPropagation(),l.focus()},l.onKeyDown=function(d){var p=l.props,g=p.isMulti,y=p.backspaceRemovesValue,S=p.escapeClearsValue,C=p.inputValue,w=p.isClearable,T=p.isDisabled,E=p.menuIsOpen,A=p.onKeyDown,R=p.tabSelectsValue,N=p.openMenuOnFocus,P=l.state,D=P.focusedOption,U=P.focusedValue,H=P.selectValue;if(!T&&!(typeof A=="function"&&(A(d),d.defaultPrevented))){switch(l.blockOptionHover=!0,d.key){case"ArrowLeft":if(!g||C)return;l.focusValue("previous");break;case"ArrowRight":if(!g||C)return;l.focusValue("next");break;case"Delete":case"Backspace":if(C)return;if(U)l.removeValue(U);else{if(!y)return;g?l.popValue():w&&l.clearValue()}break;case"Tab":if(l.isComposing||d.shiftKey||!E||!R||!D||N&&l.isOptionSelected(D,H))return;l.selectOption(D);break;case"Enter":if(d.keyCode===229)break;
58if(E){if(!D||l.isComposing)return;l.selectOption(D);break}return;case"Escape":E?(l.setState({inputIsHiddenAfterUpdate:!1}),l.onInputChange("",{action:"menu-close",prevInputValue:C}),l.onMenuClose()):w&&S&&l.clearValue();break;case" ":if(C)return;if(!E){l.openMenu("first");break}if(!D)return;l.selectOption(D);break;case"ArrowUp":E?l.focusOption("up"):l.openMenu("last");break;case"ArrowDown":E?l.focusOption("down"):l.openMenu("first");break;case"PageUp":if(!E)return;l.focusOption("pageup");break;case"PageDown":if(!E)return;l.focusOption("pagedown");break;case"Home":if(!E)return;l.focusOption("first");break;case"End":if(!E)return;l.focusOption("last");break;default:return}d.preventDefault()}},l.state.instancePrefix="react-select-"+(l.props.instanceId||++t_),l.state.selectValue=tb(r.value),r.menuIsOpen&&l.state.selectValue.length){var u=l.getFocusableOptionsWithIds(),c=l.buildFocusableOptions(),m=c.indexOf(l.state.selectValue[0]);l.state.focusableOptionsWithIds=u,l.state.focusedOption=c[m],l.state.focusedOptionId=Lh(u,c[m])}return l}return xR(i,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&nb(this.menuListRef,this.focusedOptionRef),BM()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(l){var u=this.props,c=u.isDisabled,m=u.menuIsOpen,d=this.state.isFocused;(d&&!c&&l.isDisabled||d&&m&&!l.menuIsOpen)&&this.focusInput(),d&&c&&!l.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!d&&!c&&l.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(nb(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(l,u){this.props.onInputChange(l,u)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(l){var u=this,c=this.state,m=c.selectValue,d=c.isFocused,p=this.buildFocusableOptions(),g=l==="first"?0:p.length-1;if(!this.props.isMulti){var y=p.indexOf(m[0]);y>-1&&(g=y)}this.scrollToFocusedOptionOnUpdate=!(d&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:p[g],focusedOptionId:this.getFocusedOptionId(p[g])},function(){return u.onMenuOpen()})}},{key:"focusValue",value:function(l){var u=this.state,c=u.selectValue,m=u.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var d=c.indexOf(m);m||(d=-1);var p=c.length-1,g=-1;if(c.length){switch(l){case"previous":d===0?g=0:d===-1?g=p:g=d-1;break;case"next":d>-1&&d<p&&(g=d+1);break}this.setState({inputIsHidden:g!==-1,focusedValue:c[g]})}}}},{key:"focusOption",value:function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",u=this.props.pageSize,c=this.state.focusedOption,m=this.getFocusableOptions();if(m.length){var d=0,p=m.indexOf(c);c||(p=-1),l==="up"?d=p>0?p-1:m.length-1:l==="down"?d=(p+1)%m.length:l==="pageup"?(d=p-u,d<0&&(d=0)):l==="pagedown"?(d=p+u,d>m.length-1&&(d=m.length-1)):l==="last"&&(d=m.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:m[d],focusedValue:null,focusedOptionId:this.getFocusedOptionId(m[d])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(_h):Ee(Ee({},_h),this.props.theme):_h})},{key:"getCommonProps",value:function(){var l=this.clearValue,u=this.cx,c=this.getStyles,m=this.getClassNames,d=this.getValue,p=this.selectOption,g=this.setValue,y=this.props,S=y.isMulti,C=y.isRtl,w=y.options,T=this.hasValue();return{clearValue:l,cx:u,getStyles:c,getClassNames:m,getValue:d,hasValue:T,isMulti:S,isRtl:C,options:w,selectOption:p,selectProps:y,setValue:g,theme:this.getTheme()}}},{key:"hasValue",value:function(){var l=this.state.selectValue;return l.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var l=this.props,u=l.isClearable,c=l.isMulti;return u===void 0?c:u}},{key:"isOptionDisabled",value:function(l,u){return p5(this.props,l,u)}},{key:"isOptionSelected",value:function(l,u){return g5(this.props,l,u)}},{key:"filterOption",value:function(l,u){return v5(this.props,l,u)}},{key:"formatOptionLabel",value:function(l,u){if(typeof this.props.formatOptionLabel=="function"){var c=this.props.inputValue,m=this.state.selectValue;return this.props.formatOptionLabel(l,{context:u,inputValue:c,selectValue:m})}else return this.getOptionLabel(l)}},{key:"formatGroupLabel",value:function(l){return this.props.formatGroupLabel(l)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var l=this.props,u=l.isDisabled,c=l.isSearchable,m=l.inputId,d=l.inputValue,p=l.tabIndex,g=l.form,y=l.menuIsOpen,S=l.required,C=this.getComponents(),w=C.Input,T=this.state,E=T.inputIsHidden,A=T.ariaSelection,R=this.commonProps,N=m||this.getElementId("input"),P=Ee(Ee(Ee({"aria-autocomplete":"list","aria-expanded":y,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":S,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},y&&{"aria-controls":this.getElementId("listbox")}),!c&&{"aria-readonly":!0}),this.hasValue()?A?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return c?x.createElement(w,Ce({},R,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:N,innerRef:this.getInputRef,isDisabled:u,isHidden:E,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:p,form:g,type:"text",value:d},P)):x.createElement(jM,Ce({id:N,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:vc,onFocus:this.onInputFocus,disabled:u,tabIndex:p,inputMode:"none",form:g,value:""},P))})},{key:"renderPlaceholderOrValue",value:function(){var l=this,u=this.getComponents(),c=u.MultiValue,m=u.MultiValueContainer,d=u.MultiValueLabel,p=u.MultiValueRemove,g=u.SingleValue,y=u.Placeholder,S=this.commonProps,C=this.props,w=C.controlShouldRenderValue,T=C.isDisabled,E=C.isMulti,A=C.inputValue,R=C.placeholder,N=this.state,P=N.selectValue,D=N.focusedValue,U=N.isFocused;if(!this.hasValue()||!w)return A?null:x.createElement(y,Ce({},S,{key:"placeholder",isDisabled:T,isFocused:U,innerProps:{id:this.getElementId("placeholder")}}),R);if(E)return P.map(function(I,L){var ie=I===D,ce="".concat(l.getOptionLabel(I),"-").concat(l.getOptionValue(I));return x.createElement(c,Ce({},S,{components:{Container:m,Label:d,Remove:p},isFocused:ie,isDisabled:T,key:ce,index:L,removeProps:{onClick:function(){return l.removeValue(I)},onTouchEnd:function(){return l.removeValue(I)},onMouseDown:function(oe){oe.preventDefault()}},data:I}),l.formatOptionLabel(I,"value"))});if(A)return null;var H=P[0];return x.createElement(g,Ce({},S,{data:H,isDisabled:T}),this.formatOptionLabel(H,"value"))}},{key:"renderClearIndicator",value:function(){var l=this.getComponents(),u=l.ClearIndicator,c=this.commonProps,m=this.props,d=m.isDisabled,p=m.isLoading,g=this.state.isFocused;if(!this.isClearable()||!u||d||!this.hasValue()||p)return null;var y={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return x.createElement(u,Ce({},c,{innerProps:y,isFocused:g}))}},{key:"renderLoadingIndicator",value:function(){var l=this.getComponents(),u=l.LoadingIndicator,c=this.commonProps,m=this.props,d=m.isDisabled,p=m.isLoading,g=this.state.isFocused;if(!u||!p)return null;var y={"aria-hidden":"true"};return x.createElement(u,Ce({},c,{innerProps:y,isDisabled:d,isFocused:g}))}},{key:"renderIndicatorSeparator",value:function(){var l=this.getComponents(),u=l.DropdownIndicator,c=l.IndicatorSeparator;if(!u||!c)return null;var m=this.commonProps,d=this.props.isDisabled,p=this.state.isFocused;return x.createElement(c,Ce({},m,{isDisabled:d,isFocused:p}))}},{key:"renderDropdownIndicator",value:function(){var l=this.getComponents(),u=l.DropdownIndicator;if(!u)return null;var c=this.commonProps,m=this.props.isDisabled,d=this.state.isFocused,p={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return x.createElement(u,Ce({},c,{innerProps:p,isDisabled:m,isFocused:d}))}},{key:"renderMenu",value:function(){var l=this,u=this.getComponents(),c=u.Group,m=u.GroupHeading,d=u.Menu,p=u.MenuList,g=u.MenuPortal,y=u.LoadingMessage,S=u.NoOptionsMessage,C=u.Option,w=this.commonProps,T=this.state.focusedOption,E=this.props,A=E.captureMenuScroll,R=E.inputValue,N=E.isLoading,P=E.loadingMessage,D=E.minMenuHeight,U=E.maxMenuHeight,H=E.menuIsOpen,I=E.menuPlacement,L=E.menuPosition,ie=E.menuPortalTarget,ce=E.menuShouldBlockScroll,ne=E.menuShouldScrollIntoView,oe=E.noOptionsMessage,fe=E.onMenuScrollToTop,X=E.onMenuScrollToBottom;if(!H)return null;var q=function(K,J){var le=K.type,ue=K.data,Ae=K.isDisabled,ge=K.isSelected,Ne=K.label,Oe=K.value,Ie=T===ue,at=Ae?void 0:function(){return l.onOptionHover(ue)},Xe=Ae?void 0:function(){return l.selectOption(ue)},vt="".concat(l.getElementId("option"),"-").concat(J),Pe={id:vt,onClick:Xe,onMouseMove:at,onMouseOver:at,tabIndex:-1,role:"option","aria-selected":l.state.isAppleDevice?void 0:ge};return x.createElement(C,Ce({},w,{innerProps:Pe,data:ue,isDisabled:Ae,isSelected:ge,key:vt,label:Ne,type:le,value:Oe,isFocused:Ie,innerRef:Ie?l.getFocusedOptionRef:void 0}),l.formatOptionLabel(K.data,"menu"))},ae;if(this.hasOptions())ae=this.getCategorizedOptions().map(function(Y){if(Y.type==="group"){var K=Y.data,J=Y.options,le=Y.index,ue="".concat(l.getElementId("group"),"-").concat(le),Ae="".concat(ue,"-heading");return x.createElement(c,Ce({},w,{key:ue,data:K,options:J,Heading:m,headingProps:{id:Ae,data:Y.data},label:l.formatGroupLabel(Y.data)}),Y.options.map(function(ge){return q(ge,"".concat(le,"-").concat(ge.index))}))}else if(Y.type==="option")return q(Y,"".concat(Y.index))});else if(N){var ee=P({inputValue:R});if(ee===null)return null;ae=x.createElement(y,w,ee)}else{var W=oe({inputValue:R});if(W===null)return null;ae=x.createElement(S,w,W)}var O={minMenuHeight:D,maxMenuHeight:U,menuPlacement:I,menuPosition:L,menuShouldScrollIntoView:ne},z=x.createElement(rD,Ce({},w,O),function(Y){var K=Y.ref,J=Y.placerProps,le=J.placement,ue=J.maxHeight;return x.createElement(d,Ce({},w,O,{innerRef:K,innerProps:{onMouseDown:l.onMenuMouseDown,onMouseMove:l.onMenuMouseMove},isLoading:N,placement:le}),x.createElement(_M,{captureEnabled:A,onTopArrive:fe,onBottomArrive:X,lockEnabled:ce},function(Ae){return x.createElement(p,Ce({},w,{innerRef:function(Ne){l.getMenuListRef(Ne),Ae(Ne)},innerProps:{role:"listbox","aria-multiselectable":w.isMulti,id:l.getElementId("listbox")},isLoading:N,maxHeight:ue,focusedOption:T}),ae)}))});return ie||L==="fixed"?x.createElement(g,Ce({},w,{appendTo:ie,controlElement:this.controlRef,menuPlacement:I,menuPosition:L}),z):z}},{key:"renderFormField",value:function(){var l=this,u=this.props,c=u.delimiter,m=u.isDisabled,d=u.isMulti,p=u.name,g=u.required,y=this.state.selectValue;if(g&&!this.hasValue()&&!m)return x.createElement(PM,{name:p,onFocus:this.onValueInputFocus});if(!(!p||m))if(d)if(c){var S=y.map(function(T){return l.getOptionValue(T)}).join(c);return x.createElement("input",{name:p,type:"hidden",value:S})}else{var C=y.length>0?y.map(function(T,E){return x.createElement("input",{key:"i-".concat(E),name:p,type:"hidden",value:l.getOptionValue(T)})}):x.createElement("input",{name:p,type:"hidden",value:""});return x.createElement("div",null,C)}else{var w=y[0]?this.getOptionValue(y[0]):"";return x.createElement("input",{name:p,type:"hidden",value:w})}}},{key:"renderLiveRegion",value:function(){var l=this.commonProps,u=this.state,c=u.ariaSelection,m=u.focusedOption,d=u.focusedValue,p=u.isFocused,g=u.selectValue,y=this.getFocusableOptions();return x.createElement(SM,Ce({},l,{id:this.getElementId("live-region"),ariaSelection:c,focusedOption:m,focusedValue:d,isFocused:p,selectValue:g,focusableOptions:y,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var l=this.getComponents(),u=l.Control,c=l.IndicatorsContainer,m=l.SelectContainer,d=l.ValueContainer,p=this.props,g=p.className,y=p.id,S=p.isDisabled,C=p.menuIsOpen,w=this.state.isFocused,T=this.commonProps=this.getCommonProps();return x.createElement(m,Ce({},T,{className:g,innerProps:{id:y,onKeyDown:this.onKeyDown},isDisabled:S,isFocused:w}),this.renderLiveRegion(),x.createElement(u,Ce({},T,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:S,isFocused:w,menuIsOpen:C}),x.createElement(d,Ce({},T,{isDisabled:S}),this.renderPlaceholderOrValue(),this.renderInput()),x.createElement(c,Ce({},T,{isDisabled:S}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(l,u){var c=u.prevProps,m=u.clearFocusValueOnUpdate,d=u.inputIsHiddenAfterUpdate,p=u.ariaSelection,g=u.isFocused,y=u.prevWasFocused,S=u.instancePrefix,C=l.options,w=l.value,T=l.menuIsOpen,E=l.inputValue,A=l.isMulti,R=tb(w),N={};if(c&&(w!==c.value||C!==c.options||T!==c.menuIsOpen||E!==c.inputValue)){var P=T?ZM(l,R):[],D=T?gb(Qu(l,R),"".concat(S,"-option")):[],U=m?JM(u,R):null,H=e_(u,P),I=Lh(D,H);N={selectValue:R,focusedOption:H,focusedOptionId:I,focusableOptionsWithIds:D,focusedValue:U,clearFocusValueOnUpdate:!1}}var L=d!=null&&l!==c?{inputIsHidden:d,inputIsHiddenAfterUpdate:void 0}:{},ie=p,ce=g&&y;return g&&!ce&&(ie={value:Du(A,R,R[0]||null),options:R,action:"initial-input-focus"},ce=!y),p?.action==="initial-input-focus"&&(ie=null),Ee(Ee(Ee({},N),L),{},{prevProps:l,ariaSelection:ie,prevWasFocused:ce})}}]),i})(x.Component);b5.defaultProps=WM;var n_=x.forwardRef(function(e,t){var i=yR(e);return x.createElement(b5,Ce({ref:t},i))}),x5=n_;const ml="All",a_=()=>{const{domain:e}=kt(),[t,i]=x.useState(!1),[r,l]=x.useState(null),[u,c]=x.useState([]),[m,d]=x.useState(ml),{departmentData:p}=kp(),[g,y]=x.useState(""),[S,C]=x.useState(""),w=x.useCallback(async()=>{i(!0),l(null);try{const R=await mt.getKpdigitalService(e),N=R?.data?.data??R?.data??{},P=Object.entries(N).map(([D,U])=>({title:D,departments:Array.isArray(U)?U:[]}));c(P),d(ml)}catch(R){console.error("Error fetching digital services:",R),l(R instanceof Error?R.message:"Unable to load digital services."),c([])}finally{i(!1)}},[e]);x.useEffect(()=>{w()},[w]);const T=x.useMemo(()=>m===ml?u.flatMap(R=
58>R.departments):u.find(R=>R.title===m)?.departments??[],[u,m]),E=x.useMemo(()=>{const R=S.trim().toLowerCase();return T.filter(N=>{const P=!g||N.department?.trim().toLowerCase()===g.trim().toLowerCase(),D=[N.name,N.slug,N.short_description,N.department,N.company,N.category_name,N.department_code,N.service_code,N.meta?.keywords].filter(Boolean).join(" ").toLowerCase(),U=!R||D.includes(R);return P&&U})},[T,S,g]),A=x.useMemo(()=>(Array.isArray(p)?p:[]).map(N=>({value:N.name,label:N.name})),[p]);return h.jsxs("div",{className:"relative w-full overflow-hidden",children:[h.jsx(Pp,{}),h.jsxs("div",{className:"relative mx-auto w-[95%] py-4",children:[h.jsxs("div",{className:"mt-2 items-center justify-between gap-4 md:flex",children:[h.jsx(uR,{title:"KP Digital Platforms Directories",description:""}),h.jsxs("div",{className:"mt-3 flex w-full flex-col gap-2 md:mt-0 md:w-auto sm:flex-row",children:[h.jsx("div",{className:"w-full sm:w-[280px]",children:h.jsx(x5,{options:A,value:A.find(R=>R.value===g)??null,onChange:R=>{y(R?.value??"")},placeholder:"Search department...",isSearchable:!0,isClearable:!0,classNamePrefix:"department-select"})}),h.jsx("input",{type:"search",placeholder:"Search digital services...",value:S,onChange:R=>C(R.target.value),className:"w-full rounded-lg border border-slate-300 px-4 py-2 text-sm outline-none focus:border-emerald-500 sm:w-[350px]"})]})]}),h.jsxs("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[h.jsx("button",{type:"button",onClick:()=>d(ml),className:["rounded border p-2 text-xs transition-colors",m===ml?"border-emerald-500 bg-emerald-50 text-emerald-700":"border-slate-300 text-slate-700 hover:bg-slate-50"].join(" "),children:"All"}),u.map(R=>h.jsx("button",{type:"button",onClick:()=>d(R.title),className:["rounded border p-2 text-xs transition-colors",m===R.title?"border-emerald-500 bg-emerald-50 text-emerald-700":"border-slate-300 text-slate-700 hover:bg-slate-50"].join(" "),children:R.title},R.title))]}),t&&h.jsx(oR,{}),!t&&r&&h.jsxs("div",{className:"mt-6 rounded-lg border border-red-200 bg-red-50 p-4",children:[h.jsx("p",{className:"text-sm text-red-700",children:r}),h.jsx("button",{type:"button",onClick:()=>void w(),className:"mt-3 rounded-md border border-red-300 px-3 py-1.5 text-sm text-red-700",children:"Try again"})]}),!t&&!r&&E.length>0&&h.jsx(fR,{departments:E}),!t&&!r&&E.length===0&&h.jsx("p",{className:"mt-6 text-sm text-slate-500",children:"No digital services found."})]})]})};const{entries:S5,setPrototypeOf:yb,isFrozen:i_,getPrototypeOf:r_,getOwnPropertyDescriptor:s_}=Object;let{freeze:on,seal:Yn,create:zm}=Object,{apply:Um,construct:Bm}=typeof Reflect<"u"&&Reflect;on||(on=function(t){return t});Yn||(Yn=function(t){return t});Um||(Um=function(t,i){for(var r=arguments.length,l=new Array(r>2?r-2:0),u=2;u<r;u++)l[u-2]=arguments[u];return t.apply(i,l)});Bm||(Bm=function(t){for(var i=arguments.length,r=new Array(i>1?i-1:0),l=1;l<i;l++)r[l-1]=arguments[l];return new t(...r)});const Mu=un(Array.prototype.forEach),l_=un(Array.prototype.lastIndexOf),bb=un(Array.prototype.pop),pl=un(Array.prototype.push),o_=un(Array.prototype.splice),Wu=un(String.prototype.toLowerCase),kh=un(String.prototype.toString),Ph=un(String.prototype.match),gl=un(String.prototype.replace),u_=un(String.prototype.indexOf),c_=un(String.prototype.trim),aa=un(Object.prototype.hasOwnProperty),an=un(RegExp.prototype.test),vl=f_(TypeError);function un(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var i=arguments.length,r=new Array(i>1?i-1:0),l=1;l<i;l++)r[l-1]=arguments[l];return Um(e,t,r)}}function f_(e){return function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return Bm(e,i)}}function Le(e,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Wu;yb&&yb(e,null);let r=t.length;for(;r--;){let l=t[r];if(typeof l=="string"){const u=i(l);u!==l&&(i_(t)||(t[r]=u),l=u)}e[l]=!0}return e}function d_(e){for(let t=0;t<e.length;t++)aa(e,t)||(e[t]=null);return e}function ga(e){const t=zm(null);for(const[i,r]of S5(e))aa(e,i)&&(Array.isArray(r)?t[i]=d_(r):r&&typeof r=="object"&&r.constructor===Object?t[i]=ga(r):t[i]=r);return t}function yl(e,t){for(;e!==null;){const r=s_(e,t);if(r){if(r.get)return un(r.get);if(typeof r.value=="function")return un(r.value)}e=r_(e)}function i(){return null}return i}const xb=on(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Vh=on(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),zh=on(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),h_=on(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Uh=on(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),m_=on(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Sb=on(["#text"]),wb=on(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
58spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Bh=on(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Eb=on(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),_u=on(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),p_=Yn(/\{\{[\w\W]*|[\w\W]*\}\}/gm),g_=Yn(/<%[\w\W]*|[\w\W]*%>/gm),v_=Yn(/\$\{[\w\W]*/gm),y_=Yn(/^data-[\-\w.\u00B7-\uFFFF]+$/),b_=Yn(/^aria-[\-\w]+$/),w5=Yn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),x_=Yn(/^(?:\w+script|data):/i),S_=Yn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),E5=Yn(/^html$/i),w_=Yn(/^[a-z][.\w]*(-[.\w]+)+$/i);var Tb=Object.freeze({__proto__:null,ARIA_ATTR:b_,ATTR_WHITESPACE:S_,CUSTOM_ELEMENT:w_,DATA_ATTR:y_,DOCTYPE_NAME:E5,ERB_EXPR:g_,IS_ALLOWED_URI:w5,IS_SCRIPT_OR_DATA:x_,MUSTACHE_EXPR:p_,TMPLIT_EXPR:v_});const bl={element:1,text:3,progressingInstruction:7,comment:8,document:9},E_=function(){return typeof window>"u"?null:window},T_=function(t,i){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const l="data-tt-policy-suffix";i&&i.hasAttribute(l)&&(r=i.getAttribute(l));const u="dompurify"+(r?"#"+r:"");try{return t.createPolicy(u,{createHTML(c){return c},createScriptURL(c){return c}})}catch{return console.warn("TrustedTypes policy "+u+" could not be created."),null}},Cb=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function T5(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E_();const t=ve=>T5(ve);if(t.version="3.3.1",t.removed=[],!e||!e.document||e.document.nodeType!==bl.document||!e.Element)return t.isSupported=!1,t;let{document:i}=e;const r=i,l=r.currentScript,{DocumentFragment:u,HTMLTemplateElement:c,Node:m,Element:d,NodeFilter:p,NamedNodeMap:g=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:y,DOMParser:S,trustedTypes:C}=e,w=d.prototype,T=yl(w,"cloneNode"),E=yl(w,"remove"),A=yl(w,"nextSibling"),R=yl(w,"childNodes"),N=yl(w,"parentNode");if(typeof c=="function"){const ve=i.createElement("template");ve.content&&ve.content.ownerDocument&&(i=ve.content.ownerDocument)}let P,D="";const{implementation:U,createNodeIterator:H,createDocumentFragment:I,getElementsByTagName:L}=i,{importNode:ie}=r;let ce=Cb();t.isSupported=typeof S5=="function"&&typeof N=="function"&&U&&U.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ne,ERB_EXPR:oe,TMPLIT_EXPR:fe,DATA_ATTR:X,ARIA_ATTR:q,IS_SCRIPT_OR_DATA:ae,ATTR_WHITESPACE:ee,CUSTOM_ELEMENT:W}=Tb;let{IS_ALLOWED_URI:O}=Tb,z=null;const Y=Le({},[...xb,...Vh,...zh,...Uh,...Sb]);let K=null;const J=Le({},[...wb,...Bh,...Eb,..._u]);let le=Object.seal(zm(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ue=null,Ae=null;const ge=Object.seal(zm(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ne=!0,Oe=!0,Ie=!1,at=!0,Xe=!1,vt=!0,Pe=!1,it=!1,yt=!1,qe=!1,pn=!1,Rn=!1,Jt=!0,gn=!1;const Xa="user-content-";let $t=!0,Ti=!1,wa={},vn=null;const Qa=Le({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let to=null;const ls=Le({},["audio","video","img","source","image","track"]);let os=null;const no=Le({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ua="http://www.w3.org/1998/Math/MathML",Dt="http://www.w3.org/2000/svg",Xn="http://www.w3.org/1999/xhtml";let en=Xn,Pt=!1,us=null;const Hc=Le({},[ua,Dt,Xn],kh);let rr=Le({},["mi","mo","mn","ms","mtext"]),Ea=Le({},["annotation-xml"]);const sr=Le({},["title","style","font","a","script"]);let yn=null;const lr=["application/xhtml+xml","text/html"],Ci="text/html";let bt=null,Ta=null;const ao=i.createElement("form"),or=function(_){return _ instanceof RegExp||_ instanceof Function},Ca=function(){let _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ta&&Ta===_)){if((!_||typeof _!="object")&&(_={}
vendor: 2,720 bytes, line 58
58),_=ga(_),yn=lr.indexOf(_.PARSER_MEDIA_TYPE)===-1?Ci:_.PARSER_MEDIA_TYPE,bt=yn==="application/xhtml+xml"?kh:Wu,z=aa(_,"ALLOWED_TAGS")?Le({},_.ALLOWED_TAGS,bt):Y,K=aa(_,"ALLOWED_ATTR")?Le({},_.ALLOWED_ATTR,bt):J,us=aa(_,"ALLOWED_NAMESPACES")?Le({},_.ALLOWED_NAMESPACES,kh):Hc,os=aa(_,"ADD_URI_SAFE_ATTR")?Le(ga(no),_.ADD_URI_SAFE_ATTR,bt):no,to=aa(_,"ADD_DATA_URI_TAGS")?Le(ga(ls),_.ADD_DATA_URI_TAGS,bt):ls,vn=aa(_,"FORBID_CONTENTS")?Le({},_.FORBID_CONTENTS,bt):Qa,ue=aa(_,"FORBID_TAGS")?Le({},_.FORBID_TAGS,bt):ga({}),Ae=aa(_,"FORBID_ATTR")?Le({},_.FORBID_ATTR,bt):ga({}),wa=aa(_,"USE_PROFILES")?_.USE_PROFILES:!1,Ne=_.ALLOW_ARIA_ATTR!==!1,Oe=_.ALLOW_DATA_ATTR!==!1,Ie=_.ALLOW_UNKNOWN_PROTOCOLS||!1,at=_.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Xe=_.SAFE_FOR_TEMPLATES||!1,vt=_.SAFE_FOR_XML!==!1,Pe=_.WHOLE_DOCUMENT||!1,qe=_.RETURN_DOM||!1,pn=_.RETURN_DOM_FRAGMENT||!1,Rn=_.RETURN_TRUSTED_TYPE||!1,yt=_.FORCE_BODY||!1,Jt=_.SANITIZE_DOM!==!1,gn=_.SANITIZE_NAMED_PROPS||!1,$t=_.KEEP_CONTENT!==!1,Ti=_.IN_PLACE||!1,O=_.ALLOWED_URI_REGEXP||w5,en=_.NAMESPACE||Xn,rr=_.MATHML_TEXT_INTEGRATION_POINTS||rr,Ea=_.HTML_INTEGRATION_POINTS||Ea,le=_.CUSTOM_ELEMENT_HANDLING||{},_.CUSTOM_ELEMENT_HANDLING&&or(_.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(le.tagNameCheck=_.CUSTOM_ELEMENT_HANDLING.tagNameCheck),_.CUSTOM_ELEMENT_HANDLING&&or(_.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(le.attributeNameCheck=_.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),_.CUSTOM_ELEMENT_HANDLING&&typeof _.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(le.allowCustomizedBuiltInElements=_.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Xe&&(Oe=!1),pn&&(qe=!0),wa&&(z=Le({},Sb),K=[],wa.html===!0&&(Le(z,xb),Le(K,wb)),wa.svg===!0&&(Le(z,Vh),Le(K,Bh),Le(K,_u)),wa.svgFilters===!0&&(Le(z,zh),Le(K,Bh),Le(K,_u)),wa.mathMl===!0&&(Le(z,Uh),Le(K,Eb),Le(K,_u))),_.ADD_TAGS&&(typeof _.ADD_TAGS=="function"?ge.tagCheck=_.ADD_TAGS:(z===Y&&(z=ga(z)),Le(z,_.ADD_TAGS,bt))),_.ADD_ATTR&&(typeof _.ADD_ATTR=="function"?ge.attributeCheck=_.ADD_ATTR:(K===J&&(K=ga(K)),Le(K,_.ADD_ATTR,bt))),_.ADD_URI_SAFE_ATTR&&Le(os,_.ADD_URI_SAFE_ATTR,bt),_.FORBID_CONTENTS&&(vn===Qa&&(vn=ga(vn)),Le(vn,_.FORBID_CONTENTS,bt)),_.ADD_FORBID_CONTENTS&&(vn===Qa&&(vn=ga(vn)),Le(vn,_.ADD_FORBID_CONTENTS,bt)),$t&&(z["#text"]=!0),Pe&&Le(z,["html","head","body"]),z.table&&(Le(z,["tbody"]),delete ue.tbody),_.TRUSTED_TYPES_POLICY){if(typeof _.TRUSTED_TYPES_POLICY.createHTML!="function")throw vl('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof _.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw vl('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');P=_.TRUSTED_TYPES_POLICY,D=P.createHTML("")}
vendor: 6,189 bytes, line 58
58else P===void 0&&(P=T_(C,l)),P!==null&&typeof D=="string"&&(D=P.createHTML(""));on&&on(_),Ta=_}},io=Le({},[...Vh,...zh,...h_]),cs=Le({},[...Uh,...m_]),ro=function(_){let se=N(_);(!se||!se.tagName)&&(se={namespaceURI:en,tagName:"template"});const de=Wu(_.tagName),$e=Wu(se.tagName);return us[_.namespaceURI]?_.namespaceURI===Dt?se.namespaceURI===Xn?de==="svg":se.namespaceURI===ua?de==="svg"&&($e==="annotation-xml"||rr[$e]):!!io[de]:_.namespaceURI===ua?se.namespaceURI===Xn?de==="math":se.namespaceURI===Dt?de==="math"&&Ea[$e]:!!cs[de]:_.namespaceURI===Xn?se.namespaceURI===Dt&&!Ea[$e]||se.namespaceURI===ua&&!rr[$e]?!1:!cs[de]&&(sr[de]||!io[de]):!!(yn==="application/xhtml+xml"&&us[_.namespaceURI]):!1},bn=function(_){pl(t.removed,{element:_});try{N(_).removeChild(_)}catch{E(_)}},ca=function(_,se){try{pl(t.removed,{attribute:se.getAttributeNode(_),from:se})}catch{pl(t.removed,{attribute:null,from:se})}if(se.removeAttribute(_),_==="is")if(qe||pn)try{bn(se)}catch{}else try{se.setAttribute(_,"")}catch{}},so=function(_){let se=null,de=null;if(yt)_="<remove></remove>"+_;else{const rt=Ph(_,/^[\r\n\t ]+/);de=rt&&rt[0]}yn==="application/xhtml+xml"&&en===Xn&&(_='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+_+"</body></html>");const $e=P?P.createHTML(_):_;if(en===Xn)try{se=new S().parseFromString($e,yn)}catch{}if(!se||!se.documentElement){se=U.createDocument(en,"template",null);try{se.documentElement.innerHTML=Pt?D:$e}catch{}}const Ve=se.body||se.documentElement;return _&&de&&Ve.insertBefore(i.createTextNode(de),Ve.childNodes[0]||null),en===Xn?L.call(se,Pe?"html":"body")[0]:Pe?se.documentElement:Ve},Qn=function(_){return H.call(_.ownerDocument||_,_,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT|p.SHOW_PROCESSING_INSTRUCTION|p.SHOW_CDATA_SECTION,null)},St=function(_){return _ instanceof y&&(typeof _.nodeName!="string"||typeof _.textContent!="string"||typeof _.removeChild!="function"||!(_.attributes instanceof g)||typeof _.removeAttribute!="function"||typeof _.setAttribute!="function"||typeof _.namespaceURI!="string"||typeof _.insertBefore!="function"||typeof _.hasChildNodes!="function")},Vt=function(_){return typeof m=="function"&&_ instanceof m};function Gt(ve,_,se){Mu(ve,de=>{de.call(t,_,se,Ta)})}const ur=function(_){let se=null;if(Gt(ce.beforeSanitizeElements,_,null),St(_))return bn(_),!0;const de=bt(_.nodeName);if(Gt(ce.uponSanitizeElement,_,{tagName:de,allowedTags:z}),vt&&_.hasChildNodes()&&!Vt(_.firstElementChild)&&an(/<[/\w!]/g,_.innerHTML)&&an(/<[/\w!]/g,_.textContent)||_.nodeType===bl.progressingInstruction||vt&&_.nodeType===bl.comment&&an(/<[/\w]/g,_.data))return bn(_),!0;if(!(ge.tagCheck instanceof Function&&ge.tagCheck(de))&&(!z[de]||ue[de])){if(!ue[de]&&oo(de)&&(le.tagNameCheck instanceof RegExp&&an(le.tagNameCheck,de)||le.tagNameCheck instanceof Function&&le.tagNameCheck(de)))return!1;if($t&&!vn[de]){const $e=N(_)||_.parentNode,Ve=R(_)||_.childNodes;if(Ve&&$e){const rt=Ve.length;for(let zt=rt-1;zt>=0;--zt){const Ut=T(Ve[zt],!0);Ut.__removalCount=(_.__removalCount||0)+1,$e.insertBefore(Ut,A(_))}}}return bn(_),!0}return _ instanceof d&&!ro(_)||(de==="noscript"||de==="noembed"||de==="noframes")&&an(/<\/no(script|embed|frames)/i,_.innerHTML)?(bn(_),!0):(Xe&&_.nodeType===bl.text&&(se=_.textContent,Mu([ne,oe,fe],$e=>{se=gl(se,$e," ")}),_.textContent!==se&&(pl(t.removed,{element:_.cloneNode()}),_.textContent=se)),Gt(ce.afterSanitizeElements,_,null),!1)},lo=function(_,se,de){if(Jt&&(se==="id"||se==="name")&&(de in i||de in ao))return!1;if(!(Oe&&!Ae[se]&&an(X,se))){if(!(Ne&&an(q,se))){if(!(ge.attributeCheck instanceof Function&&ge.attributeCheck(se,_))){if(!K[se]||Ae[se]){if(!(oo(_)&&(le.tagNameCheck instanceof RegExp&&an(le.tagNameCheck,_)||le.tagNameCheck instanceof Function&&le.tagNameCheck(_))&&(le.attributeNameCheck instanceof RegExp&&an(le.attributeNameCheck,se)||le.attributeNameCheck instanceof Function&&le.attributeNameCheck(se,_))||se==="is"&&le.allowCustomizedBuiltInElements&&(le.tagNameCheck instanceof RegExp&&an(le.tagNameCheck,de)||le.tagNameCheck instanceof Function&&le.tagNameCheck(de))))return!1}else if(!os[se]){if(!an(O,gl(de,ee,""))){if(!((se==="src"||se==="xlink:href"||se==="href")&&_!=="script"&&u_(de,"data:")===0&&to[_])){if(!(Ie&&!an(ae,gl(de,ee,"")))){if(de)return!1}}}}}}}return!0},oo=function(_){return _!=="annotation-xml"&&Ph(_,W)},fs=function(_){Gt(ce.beforeSanitizeAttributes,_,null);const{attributes:se}=_;if(!se||St(_))return;const de={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:K,forceKeepAttr:void 0};let $e=se.length;for(;$e--;){const Ve=se[$e],{name:rt,namespaceURI:zt,value:Ut}=Ve,xn=bt(rt),Sn=Ut;let jt=rt==="value"?Sn:c_(Sn);if(de.attrName=xn,de.attrValue=jt,de.keepAttr=!0,de.forceKeepAttr=void 0,Gt(ce.uponSanitizeAttribute,_,de),jt=de.attrValue,gn&&(xn==="id"||xn==="name")&&(ca(rt,_),jt=Xa+jt),vt&&an(/((--!?|])>)|<\/(style|title|textarea)/i,jt)){ca(rt,_);continue}if(xn==="attributename"&&Ph(jt,"href")){ca(rt,_);continue}if(de.forceKeepAttr)continue;if(!de.keepAttr){ca(rt,_);continue}if(!at&&an(/\/>/i,jt)){ca(rt,_);continue}Xe&&Mu([ne,oe,fe],hs=>{jt=gl(jt,hs," ")});const ds=bt(_.nodeName);if(!lo(ds,xn,jt)){ca(rt,_);continue}if(P&&typeof C=="object"&&typeof C.getAttributeType=="function"&&!zt)switch(C.getAttributeType(ds,xn)){case"TrustedHTML":{jt=P.createHTML(jt);break}case"TrustedScriptURL":{jt=P.createScriptURL(jt);break}}if(jt!==Sn)try{zt?_.setAttributeNS(zt,rt,jt):_.setAttribute(rt,jt),St(_)?bn(_):bb(t.removed)}catch{ca(rt,_)}}Gt(ce.afterSanitizeAttributes,_,null)},Ai=function ve(_){let se=null;const de=Qn(_);for(Gt(ce.beforeSanitizeShadowDOM,_,null);se=de.nextNode();)Gt(ce.uponSanitizeShadowNode,se,null),ur(se),fs(se),se.content instanceof u&&ve(se.content);Gt(ce.afterSanitizeShadowDOM,_,null)};return t.sanitize=function(ve){let _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},se=null,de=null,$e=null,Ve=null;if(Pt=!ve,Pt&&(ve="<!-->"),typeof ve!="string"&&!Vt(ve))if(typeof ve.toString=="function"){if(ve=ve.toString(),typeof ve!="string")throw vl("dirty is not a string, aborting")}else throw vl("toString is not a function");if(!t.isSupported)return ve;if(it||Ca(_),t.removed=[],typeof ve=="string"&&(Ti=!1),Ti){if(ve.no
58deName){const Ut=bt(ve.nodeName);if(!z[Ut]||ue[Ut])throw vl("root node is forbidden and cannot be sanitized in-place")}}else if(ve instanceof m)se=so("<!---->"),de=se.ownerDocument.importNode(ve,!0),de.nodeType===bl.element&&de.nodeName==="BODY"||de.nodeName==="HTML"?se=de:se.appendChild(de);else{if(!qe&&!Xe&&!Pe&&ve.indexOf("<")===-1)return P&&Rn?P.createHTML(ve):ve;if(se=so(ve),!se)return qe?null:Rn?D:""}se&&yt&&bn(se.firstChild);const rt=Qn(Ti?ve:se);for(;$e=rt.nextNode();)ur($e),fs($e),$e.content instanceof u&&Ai($e.content);if(Ti)return ve;if(qe){if(pn)for(Ve=I.call(se.ownerDocument);se.firstChild;)Ve.appendChild(se.firstChild);else Ve=se;return(K.shadowroot||K.shadowrootmode)&&(Ve=ie.call(r,Ve,!0)),Ve}let zt=Pe?se.outerHTML:se.innerHTML;return Pe&&z["!doctype"]&&se.ownerDocument&&se.ownerDocument.doctype&&se.ownerDocument.doctype.name&&an(E5,se.ownerDocument.doctype.name)&&(zt="<!DOCTYPE "+se.ownerDocument.doctype.name+`> 59`+zt),Xe&&Mu([ne,oe,fe],Ut=>{zt=gl(zt,Ut," ")}),P&&Rn?P.createHTML(zt):zt},t.setConfig=function(){let ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ca(ve),it=!0},t.clearConfig=function(){Ta=null,it=!1},t.isValidAttribute=function(ve,_,se){Ta||Ca({});const de=bt(ve),$e=bt(_);return lo(de,$e,se)},t.addHook=function(ve,_){typeof _=="function"&&pl(ce[ve],_)},t.removeHook=function(ve,_){if(_!==void 0){const se=l_(ce[ve],_);return se===-1?void 0:o_(ce[ve],se,1)[0]}return bb(ce[ve])},t.removeHooks=function(ve){ce[ve]=[]},t.removeAllHooks=function(){ce=Cb()},t}var C_=T5();const A_=()=>{const{id:e}=Ec(),{domain:t}=kt(),i=On(),[r,l]=x.useState(null),[u,c]=x.useState(null),[m,d]=x.useState(!0),[p,g]=x.useState(null);x.useEffect(()=>{if(!e){g("Service ID is missing."),d(!1);return}let T=!0;return d(!0),g(null),mt.getKpdigitalServiceDetail(e,t).then(E=>{const A=E?.data?.data??E?.data??E;if(!A?.name)throw new Error("Invalid service data received from API.");T&&l(A)}).catch(E=>{console.error("Failed to load digital service:",E),T&&g(E instanceof Error?E.message:"Unable to load this service.")}).finally(()=>{T&&d(!1)}),()=>{T=!1}},[e,t]);const y=x.useMemo(()=>{const T=r?.description||r?.short_description||"";return C_.sanitize(T,{FORBID_TAGS:["iframe","script","object","embed"],FORBID_ATTR:["onerror","onclick","onload"]})},[r?.description,r?.short_description]),S=x.useMemo(()=>{if(!r?.launch_date)return null;const T=new Date(r.launch_date);return Number.isNaN(T.getTime())?r.launch_date:new Intl.DateTimeFormat("en-PK",{day:"2-digit",month:"long",year:"numeric"}).format(T)},[r?.launch_date]),C=r?.department_cover_image||r?.department_logo||null,w=T=>{const E=T.target;if(E.tagName==="IMG"){const A=E;A.src&&c(A.src)}};return m?h.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:h.jsx("div",{className:"text-sm text-gray-600",children:"Loading service..."})}):p||!r?h.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center px-4",children:h.jsxs("div",{className:"max-w-md w-full rounded-xl border border-red-100 bg-white p-6 text-center shadow-sm",children:[h.jsx("h1",{className:"text-lg font-semibold text-gray-900",children:"Service could not be loaded"}),h.jsx("p",{className:"mt-2 text-sm text-gray-600",children:p||"The requested service was not found."}),h.jsx("button",{type:"button",onClick:()=>i(-1),className:"mt-4 rounded-md bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-700",children:"Go Back"})]})}):h.jsxs(h.Fragment,{children:[h.jsx(w3,{title:r.meta?.title||r.name,description:r.meta?.description||r.short_description||r.name,keywords:r.meta?.keywords||"",type:"article"}),h.jsxs("div",{className:"min-h-screen bg-gray-50",children:[h.jsxs("div",{className:"mx-auto max-w-[95%] px-4 pb-8 pt-3 lg:flex lg:gap-6",children:[h.jsxs("main",{className:"w-full min-w-0 flex-1",children:[h.jsxs("div",{className:"mb-3 flex items-center justify-between gap-4",children:[h.jsxs("div",{className:"min-w-0 text-xs text-gray-500",children:[h.jsx("button",{type:"button",onClick:()=>i("/"),className:"hover:text-blue-600 hover:underline",children:"Home"}),h.jsx("span",{className:"mx-1",children:"/"}),h.jsx("span",{className:"break-words text-gray-700",children:r.name})]}),h.jsxs("button",{type:"button",onClick:()=>i(-1),className:"inline-flex shrink-0 items-center gap-2 text-sm font-medium text-gray-600 transition-colors hover:text-blue-600",children:[h.jsx("span",{"aria-hidden":"true",children:"â"}),h.jsx("span",{children:"Back"})]})]}),h.jsx("h1",{className:"text-xl font-bold text-gray-900 md:text-3xl",children:r.name}),h.jsxs("div",{className:"mt-3 flex flex-wrap items-center gap-2 text-gray-500",children:[r.category_name&&h.jsx("span",{className:"rounded-full bg-blue-100 px-3 py-1 text-[11px] font-semibold text-blue-700",children:r.category_name}),r.department&&h.jsx("span",{className:"rounded-full bg-gray-100 px-3 py-1 text-[11px] font-medium text-gray-700",children:r.department}),S&&h.jsxs(h.Fragment,{children:[h.jsx("span",{"aria-hidden":"true",children:"â¢"}),h.jsx("span",{className:"text-xs",children:S})]})]}),r.short_description&&h.jsx("p",{className:"mt-4 text-base leading-7 text-gray-600",children:r.short_description}),C&&h.jsx("button",{type:"button",onClick:()=>c(C),className:"mt-5 block w-full lg:hidden","aria-label":"Open image preview",children:h.jsx("img",{src:C,alt:r.name,className:"max-h-[420px] w-full rounded-xl border border-gray-200 bg-white object-contain"})}),h.jsx("article",{className:"mt-6 rounded-xl border border-gray-100 bg-white p-4 shadow-sm md:p-6",children:y?h.jsx("div",{className:"prose prose-lg max-w-none break-words",onClick:w,dangerouslySetInnerHTML:{__html:y}}):h.jsx("p",{className:"text-sm text-gray-500",children:"No description is available for this service."})}),!!r.related_links?.length&&h.jsxs("div",{className:"mt-5 rounded-xl border border-gray-100 bg-white p-4 shadow-sm",children:[h.jsx("h2",{className:"text-sm font-semibold text-gray-900",children:"Related Links"}),h.jsx("div",{className:"mt-3 flex flex-col gap-2",children:r.related_links.map((T,E)=>h.jsx("a",{href:T.url,target:"_blank",rel:"noopener noreferrer",className:"break-all text-sm text-blue-600 hover:underline",children:T.title||T.url},`${T.url}-${E}`))})]})]}),h.jsx("aside",{className:"mt-6 hidden lg:block lg:w-1/4 xl:w-1/5",children:h.jsxs("div",{className:"sticky top-24 space-y-5",children:[C&&h.jsx("button",{type:"button",onClick:()=>c(C),className:"block w-full","aria-label":"Open image preview",children:h.jsx("img",{src:C,alt:r.name,loading:"lazy",className:"max-h-[500px] w-full rounded-xl border border-gray-200 bg-white object-contain shadow-sm"})}),r.department_logo&&r.department_logo!==C&&h.jsxs("div",{className:"rounded-xl border border-gray-100 bg-white p-4 shadow-sm",children:[h.jsx("p",{className:"mb-3 text-xs font-semibold uppercase tracking-wide text-gray-500",children:"Department"}),h.jsx("button",{type:"button",onClick:()=>
59c(r.department_logo||null),className:"w-full",children:h.jsx("img",{src:r.department_logo,alt:`${r.department||"Department"} logo`,className:"mx-auto max-h-32 w-full object-contain"})}),r.department&&h.jsx("p",{className:"mt-3 text-center text-sm font-medium text-gray-800",children:r.department}),r.department_code&&h.jsx("p",{className:"mt-1 text-center text-xs text-gray-500",children:r.department_code})]})]})})]}),u&&h.jsx("div",{role:"dialog","aria-modal":"true","aria-label":"Image preview",className:"fixed inset-0 z-50 flex items-center justify-center bg-black/70 px-4",onClick:()=>c(null),children:h.jsxs("div",{className:"relative w-full max-w-5xl",onClick:T=>T.stopPropagation(),children:[h.jsx("button",{type:"button",onClick:()=>c(null),className:"absolute -top-10 right-0 text-3xl text-white hover:text-gray-300","aria-label":"Close image preview",children:"Ã"}),h.jsx("img",{src:u,alt:"Preview",className:"max-h-[85vh] w-full rounded-lg bg-white object-contain"})]})})]})]})},j_=()=>h.jsx(h.Fragment,{children:h.jsx(A_,{})}),O_=()=>{const{domain:e,basicInfo:t,mainDomainTrue:i}=kt(),{departmentData:r}=kp(),[l,u]=x.useState(""),[c,m]=x.useState(""),[d,p]=x.useState([]),[g,y]=x.useState(!1),[S,C]=x.useState(null),[w,T]=x.useState(!1),[E,A]=x.useState({currentPage:1,perPage:15,total:0,lastPage:0}),R=cc(l,300),N=cc(c,300),P=L=>String(L??"").trim().toLowerCase().replace(/\s+/g," ").replace(/&/g,"and"),D=x.useMemo(()=>{const L=new Map;return(r??[]).forEach(ie=>{const ce=ie?.name,ne=ie?.id;typeof ce=="string"&&ce.trim()!==""&&typeof ne=="number"&&(L.has(ce)||L.set(ce,{id:ne,name:ce}))}),Array.from(L.values())},[r]),U=x.useMemo(()=>[{value:"",label:"All Departments"},...D.map(L=>({value:String(L.id),label:L.name}))],[D]);x.useEffect(()=>{if(w||!U.length)return;const L=U.find(ie=>ie.value!==""&&P(ie.label)===P(t?.department?.name));L&&m(L.value),T(!0)},[U,t?.department?.name,w]);const H=x.useCallback(async()=>{y(!0),C(null);try{const L=await mt.getPioOfficers(e,E.currentPage,R,N);p(L?.data??[]),A(ie=>({...ie,currentPage:L?.meta?.current_page??1,perPage:L?.meta?.per_page??15,total:L?.meta?.total??0,lastPage:L?.meta?.last_page??1}))}catch(L){console.error("Error fetching PIO officers:",L),C(L),p([])}finally{y(!1)}},[e,E.currentPage,R,N]);x.useEffect(()=>{A(L=>({...L,currentPage:1}))},[R,N]),x.useEffect(()=>{H()},[H]);const I=()=>{u(""),m(""),A(L=>({...L,currentPage:1}))};return h.jsxs("div",{className:"min-h-screen bg-slate-50",children:[h.jsx(D3,{description:"",title:"Public Information Officers (PIO)"}),h.jsxs("div",{className:"mx-auto max-w-[95%] px-4 pb-12",children:[h.jsx("div",{className:" mb-3",children:h.jsxs("a",{href:"https://www.kprti.gov.pk/pios-list/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-xl bg-emerald-600 px-4 py-2.5 text-xs font-semibold text-white shadow-sm transition hover:bg-emerald-700 focus:outline-none focus:ring-4 focus:ring-emerald-500/20",children:["KP Information Commission",h.jsx("span",{"aria-hidden":"true",children:"â"})]})}),h.jsxs("form",{onSubmit:L=>L.preventDefault(),className:"grid grid-cols-1 gap-4 md:grid-cols-12 md:items-end md:gap-3",children:[h.jsxs("div",{className:"md:col-span-6",children:[h.jsx("label",{className:"text-sm font-medium text-black",children:"Search Officer"}),h.jsx("div",{className:"mt-1 rounded-2xl",children:h.jsx("input",{type:"text",value:l,onChange:L=>u(L.target.value),placeholder:"Search by name, designation, email, number...",className:"w-full rounded-xl border border-emerald-400 bg-transparent px-4 py-2.5 outline-none transition focus:border-slate-500 focus:ring-4 focus:ring-slate-500/15"})})]}),i&&h.jsxs("div",{className:"md:col-span-5",children:[h.jsx("label",{className:"text-sm font-medium text-black",children:"Department"}),h.jsx("div",{className:"mt-1 rounded-2xl",children:h.jsx(x5,{isSearchable:!0,options:U,value:U.find(L=>L.value===c)??U[0],onChange:L=>m(L?.value??""),placeholder:"Select department...",className:"text-sm",styles:{control:(L,ie)=>({...L,borderRadius:12,borderColor:"#34d399",backgroundColor:"transparent",minHeight:42,boxShadow:ie.isFocused?"0 0 0 4px rgba(100,116,139,0.15)":"none","&:hover":{borderColor:"#64748b"}}),menu:L=>({...L,borderRadius:12,overflow:"hidden",zIndex:20}),placeholder:L=>({...L,color:"#64748b"}),singleValue:L=>({...L,color:"#0f172a"}),option:(L,ie)=>
59({...L,backgroundColor:ie.isSelected?"#059669":ie.isFocused?"#ecfdf5":"#fff",color:ie.isSelected?"#fff":"#0f172a",cursor:"pointer"})}})})]}),h.jsx("div",{className:"flex gap-2 md:col-span-1",children:h.jsx("button",{type:"button",onClick:I,className:"items-center justify-center rounded-xl border border-slate-200 px-4 py-2.5 font-semibold text-slate-700 shadow-sm transition hover:bg-slate-50 focus:outline-none focus:ring-4 focus:ring-slate-400/20",children:"Clear"})})]}),!g&&!S&&h.jsxs("div",{className:"mt-4 text-sm text-slate-500",children:["Total Records:"," ",h.jsx("span",{className:"font-semibold text-slate-700",children:E.total})]}),h.jsx("div",{className:"mt-4 overflow-hidden rounded-2xl bg-white shadow-sm ring-1 ring-black/5",children:h.jsx("div",{className:"overflow-x-auto",children:h.jsxs("table",{className:"min-w-full text-left",children:[h.jsx("thead",{className:"background-linear text-white",children:h.jsxs("tr",{className:"text-xs font-semibold uppercase tracking-wide",children:[h.jsx("th",{className:"whitespace-nowrap px-4 py-6",children:"S.No"}),h.jsx("th",{className:"whitespace-nowrap px-4 py-6",children:"Name"}),h.jsx("th",{className:"whitespace-nowrap px-4 py-6",children:"Department"}),h.jsx("th",{className:"whitespace-nowrap px-4 py-6",children:"Current Charge"}),h.jsx("th",{className:"whitespace-nowrap px-4 py-6",children:"Email"}),h.jsx("th",{className:"whitespace-nowrap px-4 py-6",children:"Contact / Extension"}),h.jsx("th",{className:"whitespace-nowrap px-4 py-6",children:"Address"})]})}),h.jsx("tbody",{className:"divide-y divide-slate-100",children:g?h.jsx("tr",{children:h.jsx("td",{colSpan:8,className:"px-5 py-12 text-center text-slate-500",children:"Loading..."})}):S?h.jsx("tr",{children:h.jsx("td",{colSpan:8,className:"px-5 py-12 text-center text-red-500",children:"Failed to load Public Information Officers."})}):d.length===0?h.jsx("tr",{children:h.jsx("td",{colSpan:8,className:"px-5 py-12 text-center text-slate-600",children:"No results found. Try a different search."})}):d.map((L,ie)=>{const ce=(E.currentPage-1)*E.perPage+(ie+1),ne=`${L.contact_number??"â"}${L.ext_no?` / ${L.ext_no}`:""}`;return h.jsxs("tr",{className:"group transition hover:bg-slate-50",children:[h.jsx("td",{className:"px-5 py-4",children:h.jsx("div",{className:"font-semibold text-slate-900",children:ce})}),h.jsx("td",{className:"px-5 py-4 text-slate-700",children:h.jsx("div",{className:"font-medium",children:L.name??"â"})}),h.jsx("td",{className:"px-5 py-4 text-slate-700",children:h.jsx("div",{className:"font-medium",children:L.department_name??"â"})}),h.jsx("td",{className:"px-5 py-4",children:h.jsx("div",{className:"font-semibold text-slate-900",children:L.designation_name??"â"})}),h.jsx("td",{className:"px-5 py-4 text-slate-700",children:L.email_address?h.jsx("a",{href:`mailto:${L.email_address}`,className:"hover:underline",children:L.email_address}):h.jsx("span",{className:"text-slate-400",children:"â"})}),h.jsx("td",{className:"whitespace-nowrap px-5 py-4",children:h.jsx("span",{className:"inline-flex items-center rounded-lg bg-slate-50 px-2.5 py-1 text-sm font-medium text-slate-800 ring-1 ring-slate-200",children:ne})}),h.jsxs("td",{className:"min-w-[280px] max-w-[400px] px-5 py-4 text-sm leading-6 text-slate-700",children:[L.office_address?h.jsx("div",{className:"whitespace-pre-line",children:L.office_address}):"â",L.remarks&&h.jsxs("div",{className:"mt-2 text-xs text-slate-500",children:[h.jsx("span",{className:"font-semibold",children:"Remarks:"})," ",L.remarks]})]})]},L.uuid)})})]})})}),!g&&E.lastPage>1&&h.jsx(C3,{forcePage:(E.currentPage??1)-1,pageCount:E.lastPage,onPageChange:({selected:L})=>{const ie=L+1;A(ce=>({...ce,currentPage:ie}))},pageRangeDisplayed:3,marginPagesDisplayed:1,previousLabel:"< Prev",nextLabel:"Next >",breakLabel:"â¦",containerClassName:"flex items-center justify-start gap-2 mt-6",pageClassName:"cursor-pointer",pageLinkClassName:"min-w-[40px] bg-white px-3 py-2 rounded-md text-sm border hover:bg-gray-50",activeLinkClassName:"background-linear border text-white border-emerald-900",previousLinkClassName:"px-3 py-2 rounded-md border text-sm hover:bg-gray-50",nextLinkClassName:"px-3 py-2 rounded-md border text-sm hover:bg-gray-50",disabledLinkClassName:"opacity-50 cursor-not-allowed hover:bg-transparent",breakLinkClassName:"px-2 text-sm text-gray-500"})]})]})},R_=()=>h.jsx(h.Fragment,{children:h.jsx(O_,{})}),N_=()=>
59{const[e,t]=x.useState([]),[i,r]=x.useState(!1),[l,u]=x.useState(null),[c,m]=x.useState(""),[d,p]=x.useState(""),{domain:g}=kt(),y=x.useCallback(async(T="",E="")=>{r(!0),u(null);try{const A=await mt.getFeedbackReply(g,T,E);t(A?.data??[])}catch(A){console.error("Error fetching feedbacks:",A),u(A),t([])}finally{r(!1)}},[g]),S=()=>{const T=c.trim(),E=d.trim();if(!T||!E){u("Please enter contact number and passcode."),t([]);return}y(T,E)},C=()=>{m(""),p(""),t([]),u(null)},w=T=>{T.key==="Enter"&&S()};return h.jsx("div",{className:"min-h-screen bg-slate-50 p-4 sm:p-6",children:h.jsxs("div",{className:"mx-auto w-[95%] max-w-7xl",children:[h.jsxs("div",{className:"mb-6",children:[h.jsx("h1",{className:"text-2xl font-bold text-slate-900 sm:text-3xl",children:"Feedback Management"}),h.jsx("p",{className:"mt-1 text-sm text-slate-500",children:"View submitted feedback and admin replies"})]}),h.jsx("div",{className:"mb-6 rounded-2xl border border-slate-200 bg-white p-4 shadow-sm sm:p-5",children:h.jsxs("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-end",children:[h.jsxs("div",{className:"w-full lg:w-1/3",children:[h.jsx("label",{htmlFor:"contactNumber",className:"mb-2 block text-sm font-medium text-slate-700",children:"Contact Number"}),h.jsx("input",{id:"contactNumber",type:"text",value:c,onChange:T=>m(T.target.value),onKeyDown:w,placeholder:"Enter contact number",className:"w-full rounded-lg border border-slate-300 bg-white px-4 py-2.5 text-sm text-slate-900 outline-none transition placeholder:text-slate-400 focus:border-emerald-500 focus:ring-2 focus:ring-emerald-100"})]}),h.jsxs("div",{className:"w-full lg:w-1/3",children:[h.jsx("label",{htmlFor:"passcode",className:"mb-2 block text-sm font-medium text-slate-700",children:"Passcode"}),h.jsx("input",{id:"passcode",type:"text",value:d,onChange:T=>p(T.target.value),onKeyDown:w,placeholder:"Enter passcode",className:"w-full rounded-lg border border-slate-300 bg-white px-4 py-2.5 text-sm text-slate-900 outline-none transition placeholder:text-slate-400 focus:border-emerald-500 focus:ring-2 focus:ring-emerald-100"})]}),h.jsxs("div",{className:"flex w-full gap-3 lg:w-auto",children:[h.jsx("button",{type:"button",onClick:C,disabled:i,className:"rounded-lg border border-slate-300 bg-white px-5 py-2.5 text-sm font-medium text-slate-700 transition hover:bg-slate-50 disabled:cursor-not-allowed disabled:opacity-50",children:"Reset"}),h.jsx("button",{type:"button",onClick:S,disabled:i,className:"rounded-lg bg-emerald-600 px-5 py-2.5 text-sm font-medium text-white transition hover:bg-emerald-700 disabled:cursor-not-allowed disabled:opacity-50",children:i?"Searching...":"Search"})]})]})}),h.jsx("div",{children:i?h.jsx("div",{className:"rounded-2xl border border-slate-200 bg-white px-6 py-14 text-center shadow-sm",children:h.jsx("p",{className:"text-sm font-medium text-slate-500",children:"Loading feedbacks..."})}):l?h.jsx("div",{className:"rounded-2xl border border-red-100 bg-white px-6 py-14 text-center shadow-sm",children:h.jsx("p",{className:"text-sm font-medium text-red-600",children:"Failed to load feedbacks."})}):e.length===0?h.jsxs("div",{className:"rounded-2xl border border-slate-200 bg-white px-6 py-14 text-center shadow-sm",children:[h.jsx("h3",{className:"text-lg font-semibold text-slate-900",children:"No feedback found"}),h.jsx("p",{className:"mt-1 text-sm text-slate-500",children:"There are currently no feedback submissions available."})]}):h.jsx("div",{className:"grid grid-cols-1 gap-5 xl:grid-cols-1",children:e.map((T,E)=>h.jsxs("div",{className:"overflow-hidden rounded-2xl border border-slate-200 bg-white shadow-sm transition duration-200 hover:-translate-y-0.5 hover:shadow-md",children:[h.jsxs("div",{className:"flex flex-col gap-4 border-b border-slate-100 px-5 py-4 sm:flex-row sm:items-center sm:justify-between",children:[h.jsxs("div",{className:"flex items-center gap-3",children:[h.jsx("div",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-emerald-50 text-sm font-bold text-emerald-700",children:E+1}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-semibold text-slate-900",children:T.name||"N/A"}),h.jsx("p",{className:"mt-0.5 text-sm text-slate-500",children:T.email||"N/A"})]})]}
59),T.replied?h.jsx("span",{className:"w-fit rounded-full bg-emerald-50 px-3 py-1.5 text-xs font-semibold text-emerald-700",children:"Replied"}):h.jsx("span",{className:"w-fit rounded-full bg-amber-50 px-3 py-1.5 text-xs font-semibold text-amber-700",children:"Pending"})]}),h.jsxs("div",{className:"p-5",children:[h.jsxs("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-3",children:[h.jsxs("div",{children:[h.jsx("p",{className:"text-xs font-medium uppercase tracking-wide text-slate-400",children:"Contact"}),h.jsx("p",{className:"mt-1 text-sm font-medium text-slate-700",children:T.contact_number||"N/A"})]}),h.jsxs("div",{children:[h.jsx("p",{className:"text-xs font-medium uppercase tracking-wide text-slate-400",children:"Department"}),h.jsx("div",{className:"mt-1",children:h.jsx("span",{className:"inline-flex rounded-full bg-blue-50 px-3 py-1 text-xs font-semibold text-blue-700",children:T.department||"N/A"})})]}),h.jsxs("div",{children:[h.jsx("p",{className:"text-xs font-medium uppercase tracking-wide text-slate-400",children:"Date"}),h.jsx("p",{className:"mt-1 text-sm font-medium text-slate-700",children:T.created_at||"N/A"})]})]}),h.jsxs("div",{className:"mt-5 rounded-xl bg-slate-50 p-4",children:[h.jsx("div",{className:"mb-2 flex items-center justify-between gap-2",children:h.jsx("p",{className:"text-xs font-semibold uppercase tracking-wide text-slate-500",children:"Feedback"})}),h.jsx("p",{className:"whitespace-pre-line text-sm leading-6 text-slate-700",children:T.feedback||"N/A"})]}),h.jsxs("div",{className:`mt-4 rounded-xl border p-4 ${T.reply?"border-emerald-100 bg-emerald-50/50":"border-slate-200 bg-white"}`,children:[h.jsx("p",{className:"mb-2 text-xs font-semibold uppercase tracking-wide text-slate-500",children:"Admin Reply"}),T.reply?h.jsx("p",{className:"whitespace-pre-line text-sm leading-6 text-slate-700",children:T.reply}):h.jsx("p",{className:"text-sm italic text-slate-400",children:"No reply yet"})]})]})]},T.uuid))})})]})})},D_=()=>h.jsx(h.Fragment,{children:h.jsx(N_,{})}),Ab=x.lazy(()=>Be(()=>import("./HomeContainer-DTWPaqsl.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])).then(e=>({default:e.HomeContainer}))),M_=x.lazy(()=>Be(()=>import("./NewsListContainer-BpUXVWtp.js"),__vite__mapDeps([12,8,13]))),__=x.lazy(()=>Be(()=>import("./HomeScreenStatic-BCcFyyz4.js"),__vite__mapDeps([14,1,2,3,4,5,6,7,8,9,10]))),L_=x.lazy(()=>Be(()=>import("./NewsDetailScreen-DK7Uwa4O.js"),[])),k_=x.lazy(()=>Be(()=>import("./NotFoundScreen-LqEA91Ik.js"),[])),P_=x.lazy(()=>Be(()=>import("./PageDetailScreen-BkVlp7vm.js"),[])),Hh=x.lazy(()=>Be(()=>import("./JobScreen-BqijrqXy.js"),__vite__mapDeps([15,16,7,13]))),Fh=x.lazy(()=>Be(()=>import("./TenderScreen-BLHKl2oQ.js"),__vite__mapDeps([17,16,7]))),V_=x.lazy(()=>Be(()=>import("./DepartmentNotificationScreen-3qyZUA_G.js"),__vite__mapDeps([18,19]))),z_=x.lazy(()=>Be(()=>import("./GovernmentDepartmentScreen-DubyqYQr.js"),[])),U_=x.lazy(()=>Be(()=>import("./CabinetMemberListScreen-SgUSHv-9.js"),__vite__mapDeps([20,5,4,6]))),B_=x.lazy(()=>Be(()=>import("./PollListScreen-b-_x9KLI.js"),[])),jb=x.lazy(()=>Be(()=>import("./RulesAndRegulationScreen-C0zC74B1.js"),__vite__mapDeps([21,22,19]))),H_=x.lazy(()=>Be(()=>import("./RulesAndRegulationHomeScreen-CKE_bezO.js"),__vite__mapDeps([23,22,19]))),F_=x.lazy(()=>Be(()=>import("./ContactsScreen-BXeNGEIX.js"),[])),I_=x.lazy(()=>Be(()=>import("./DownloadScreen-CcLLqbZL.js"),__vite__mapDeps([24,19,25]))),q_=x.lazy(()=>Be(()=>import("./AdministrativeSecretaryListScreen-Db1OigyW.js"),__vite__mapDeps([26,3,4,27]))),Ob=x.lazy(()=>Be(()=>import("./GalleryScreen-DP722GRZ.js"),[])),$_=x.lazy(()=>Be(()=>import("./DetailPageScreen-ZnX6-1Z5.js"),[])),G_=x.lazy(()=>Be(()=>import("./FaqScreen-Ce_147Mn.js"),__vite__mapDeps([28,25]))),Y_=x.lazy(()=>Be(()=>import("./EventsScreen-BLj8t0lc.js"),[])),K_=x.lazy(()=>Be(()=>import("./SearchPage-CHPR2FKO.js"),__vite__mapDeps([29,2]))),X_=x.lazy(()=>Be(()=>import("./PersonDetailScreen-DvPQs8OE.js"),[])),Rb=x.lazy(()=>Be(()=>import("./GovernerGalleryScreen-Zu4cl5RT.js"),[])),Nb=x.lazy(()=>Be(()=>import("./ChiefMinisterGalleryScreen-C09CK9Sg.js"),__vite__mapDeps([30,27]))),Q_=x.lazy(()=>Be(()=>import("./ServiceDetailScreen-DLu3Hql1.js"),[])),Db=x.lazy(()=>Be(()=>import("./JobsDetailScreen-CD_Y98J2.js"),[]).then(e=>({default:e.JobsDetailScreen}))),W_=x.lazy(()=>Be(()=>import("./ContactUsScreen-BHCxKJd9.js"),[])),Z_=x.lazy(()=>Be(()=>import("./InvestmentOpportunitiesScreen-DwsDDCzj.js"),__vite__mapDeps([31,6]))),J_=x.lazy(()=>Be(()=>import("./ServiceListScreenTwo-yRBl6MrH.js"),__vite__mapDeps([32,33,6]))),eL=x.lazy(()=>Be(()=>import("./ServiceListScreenThree-DySP9DEo.js"),__vite__mapDeps([34,33,6]))),tL=x.lazy(()=>Be(()=>import("./InitiativeListScreen-CsZrUWGR.js"),[])),Mb=x.lazy(()=>Be(()=>import("./HrDepartmentScreen-CkV2ggW3.js"),__vite__mapDeps([35,4,9]))),nL=x.lazy(()=>Be(()=>import("./AuctionScreen-dHbSg8QJ.js"),[])),aL=()=>{const{mainDomainTrue:e}=kt();return e?h.jsx(eL,{}):h.jsx(J_,{})},iL=()=>{const{websiteNotFound:e}=kt();return h.jsx(x.Suspense,{fallback:e?null:h.jsx(pO,{}),children:h.jsxs(Xw,{children:[h.jsxs(be,{element:h.jsx(mO,{}),children:[h.jsx(be,{path:"/",element:h.jsx(Ab,{})}),h.jsx(be,{path:"/home",element:h.jsx(Ab,{})}),h.jsx(be,{path:"/home-static",element:h.jsx(__,{})}),h.jsx(be,{path:"/news-list",element:h.jsx(M_,{})}),h.jsx(be,{path:"/news-detail/:id",element:h.jsx(L_,{})}),h.jsx(be,{path:"/pages-detail/:id",element:h.jsx(P_,{})}),h.jsx(be,{path:"/detail-page/:id",element:h.jsx($_,{})}),h.jsx(be,{path:"/detail/kp-digital-service/:id",element:h.jsx(j_,{})}
59),h.jsx(be,{path:"/person-detail/:id",element:h.jsx(X_,{})}),h.jsx(be,{path:"/service-detail/:id",element:h.jsx(Q_,{})}),h.jsx(be,{path:"/jobs",element:h.jsx(Hh,{})}),h.jsx(be,{path:"/jobs/:id",element:h.jsx(Hh,{})}),h.jsx(be,{path:"/jobs/:id/:title",element:h.jsx(Hh,{})}),h.jsx(be,{path:"/job-detail",element:h.jsx(Db,{})}),h.jsx(be,{path:"/job-detail/:id",element:h.jsx(Db,{})}),h.jsx(be,{path:"/tenders",element:h.jsx(Fh,{})}),h.jsx(be,{path:"/tenders/:id",element:h.jsx(Fh,{})}),h.jsx(be,{path:"/tenders/:id/:title",element:h.jsx(Fh,{})}),h.jsx(be,{path:"/tender/detail/:id",element:h.jsx(NO,{})}),h.jsx(be,{path:"/rules-regulation/:id?",element:h.jsx(jb,{})}),h.jsx(be,{path:"/rules-regulation/:id/:title",element:h.jsx(jb,{})}),h.jsx(be,{path:"/rules_and_regulations",element:h.jsx(H_,{})}),h.jsx(be,{path:"/public-information-officer",element:h.jsx(R_,{})}),h.jsx(be,{path:"/feedback-reply",element:h.jsx(D_,{})}),h.jsx(be,{path:"/notifications/:id?/:title?",element:h.jsx(V_,{})}),h.jsx(be,{path:"/notification/detail/:id",element:h.jsx(MO,{})}),h.jsx(be,{path:"/government-departments",element:h.jsx(z_,{})}),h.jsx(be,{path:"/kp-digital-services",element:h.jsx(a_,{})}),h.jsx(be,{path:"/hr-departments/:slug",element:h.jsx(Mb,{})}),h.jsx(be,{path:"/hr-departments",element:h.jsx(Mb,{})}),h.jsx(be,{path:"/domain-search",element:h.jsx(EO,{})}),h.jsx(be,{path:"/services/:id?/:title?",element:h.jsx(aL,{})}),h.jsx(be,{path:"/cabinet-member",element:h.jsx(U_,{})}),h.jsx(be,{path:"/secretaries",element:h.jsx(q_,{})}),h.jsx(be,{path:"/polls-list",element:h.jsx(B_,{})}),h.jsx(be,{path:"/contacts",element:h.jsx(F_,{})}),h.jsx(be,{path:"/faqs",element:h.jsx(G_,{})}),h.jsx(be,{path:"/contact-us",element:h.jsx(W_,{})}),h.jsx(be,{path:"/search",element:h.jsx(K_,{})}),h.jsx(be,{path:"/downloads",element:h.jsx(I_,{})}),h.jsx(be,{path:"/download/detail/:id",element:h.jsx(aR,{})}),h.jsx(be,{path:"/flagship-initiative/:slug",element:h.jsx(tL,{})}),h.jsx(be,{path:"/gallery",element:h.jsx(Ob,{})}),h.jsx(be,{path:"/gallery/:id",element:h.jsx(Ob,{})}),h.jsx(be,{path:"/files-management",element:h.jsx(vO,{})}),h.jsx(be,{path:"/files-management/:id",element:h.jsx(yO,{})}),h.jsx(be,{path:"/events",element:h.jsx(Y_,{})}),h.jsx(be,{path:"/investment-opportunities/:slug",element:h.jsx(Z_,{})}),h.jsx(be,{path:"/auctions",element:h.jsx(nL,{})}),h.jsx(be,{path:"/auctions/detail/:id",element:h.jsx(lR,{})}),h.jsx(be,{path:"/member-gallery",element:h.jsx(Rb,{})}),h.jsx(be,{path:"/member-gallery/:name",element:h.jsx(Rb,{})}),h.jsx(be,{path:"/members",element:h.jsx(Nb,{})}),h.jsx(be,{path:"/members/:name",element:h.jsx(Nb,{})})]}),h.jsx(be,{path:"*",element:h.jsx(k_,{})}),h.jsx(be,{path:"/404",element:h.jsx(E3,{})})]})})},rL=()=>{const{pathname:e}=Zt();return x.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[e]),null};function sL(){let e=localStorage.getItem("visitor_id");return e||(e=crypto.randomUUID(),localStorage.setItem("visitor_id",e)),e}function lL(){let e=sessionStorage.getItem("session_id");return e||(e=crypto.randomUUID(),sessionStorage.setItem("session_id",e)),e}function oL(){let t=(()=>{const c=window.location.hostname.split(".");return c.length>2?c.slice(0,-2).join("."):null})();(!t||t==="kp")&&(t="");const i=Date.now(),r=1800*1e3,l=localStorage.getItem("last_tracked_time");if(l&&i-Number(l)<r)return;const u={visitor_id:sL(),session_id:lL(),event_name:"page_view",event_at:new Date().toISOString(),page_path:window.location.pathname,page_title:document.title,domain:t};mt.trackAnalytics(u).then(()=>{localStorage.setItem("last_tracked_time",i.toString())}).catch(c=>{console.error(c)})}function uL(){const[e,t]=x.useState(!1);x.useEffect(()=>{const r=()=>{t(window.scrollY>300)};return window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)},[]);const i=()=>{window.scrollTo({top:0,behavior:"smooth"})};return x.useEffect(()=>{oL()},[]),x.useEffect(()=>{const r=(c,m)=>{document.querySelectorAll(c).forEach(d=>{Object.entries(m).forEach(([p,g])=>{d.style.setProperty(p,g,"important")})})};function l(){r(".asw-menu-btn",{background:"#14b8a6","background-color":"#14b8a6",color:"#ffffff",border:"none",outline:"none","box-shadow":"none"}),r(".asw-menu-btn:focus, .asw-menu-btn:focus-visible",{outline:"none","box-shadow":"none"}),r(".asw-menu-btn svg",{fill:"none",color:"#ffffff",overflow:"visible"}),r(".asw-menu-btn svg path",{fill:"none",stroke:"#ffffff"}),r(".asw-menu-btn svg circle",{fill:"none",stroke:"#ffffff"}),r(".asw-menu-btn svg rect",{fill:"none",stroke:"none"}),r(".asw-menu-btn svg polygon, .asw-menu-btn svg polyline, .asw-menu-btn svg line",{fill:"none",stroke:"#ffffff"}),r(".asw-menu-header",{background:"linear-gradient(135deg, #14b8a6 0%, #14b8a6 100%)"}),r(".asw-menu .asw-btn, .asw-menu button",{background:"#14b8a6",color:"#ffffff"})}l();const u=new MutationObserver(l);return u.observe(document.body,{childList:!0,subtree:!0}),()=>u.disconnect()},[]),h.jsxs(h.Fragment,{children:[h.jsx(rL,{}),h.jsx(iL,{}),e&&h.jsx("button",{onClick:i,"aria-label":"Scroll to top",className:` 60 fixed bottom-18 right-6 z-999 61 bg-linear-to-r from-green-500 to-green-600 62 text-white shadow-xl 63 p-4 rounded-full 64 animate-bounce-slow 65 transition-all duration-300 cursor-pointer 66 hover:scale-110 hover:shadow-2xl hover:from-green-600 hover:to-green-700 67 backdrop-blur-md 68 `,style:{animation:"fadeIn 0.6s ease"},children:h.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"w-6 h-6",children:h.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 15l7-7 7 7"})})})]})}var Bc=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},cL=class extends Bc{#e;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();
vendor: 23,194 bytes, line 68
68this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},C5=new cL,fL={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},dL=class{#e=fL;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},Hm=new dL;function hL(e){setTimeout(e,0)}var mL=typeof window>"u"||"Deno"in globalThis;function ia(){}function pL(e,t){return typeof e=="function"?e(t):e}function gL(e){return typeof e=="number"&&e>=0&&e!==1/0}function vL(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Fm(e,t){return typeof e=="function"?e(t):e}function yL(e,t){return typeof e=="function"?e(t):e}function _b(e,t){const{type:i="all",exact:r,fetchStatus:l,predicate:u,queryKey:c,stale:m}=e;if(c){if(r){if(t.queryHash!==Kp(c,t.options))return!1}else if(!Bl(t.queryKey,c))return!1}if(i!=="all"){const d=t.isActive();if(i==="active"&&!d||i==="inactive"&&d)return!1}return!(typeof m=="boolean"&&t.isStale()!==m||l&&l!==t.state.fetchStatus||u&&!u(t))}function Lb(e,t){const{exact:i,status:r,predicate:l,mutationKey:u}=e;if(u){if(!t.options.mutationKey)return!1;if(i){if(Ul(t.options.mutationKey)!==Ul(u))return!1}else if(!Bl(t.options.mutationKey,u))return!1}return!(r&&t.state.status!==r||l&&!l(t))}function Kp(e,t){return(t?.queryKeyHashFn||Ul)(e)}function Ul(e){return JSON.stringify(e,(t,i)=>Im(i)?Object.keys(i).sort().reduce((r,l)=>(r[l]=i[l],r),{}):i)}function Bl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(i=>Bl(e[i],t[i])):!1}var bL=Object.prototype.hasOwnProperty;function A5(e,t,i=0){if(e===t)return e;if(i>500)return t;const r=kb(e)&&kb(t);if(!r&&!(Im(e)&&Im(t)))return t;const u=(r?e:Object.keys(e)).length,c=r?t:Object.keys(t),m=c.length,d=r?new Array(m):{};let p=0;for(let g=0;g<m;g++){const y=r?g:c[g],S=e[y],C=t[y];if(S===C){d[y]=S,(r?g<u:bL.call(e,y))&&p++;continue}if(S===null||C===null||typeof S!="object"||typeof C!="object"){d[y]=C;continue}const w=A5(S,C,i+1);d[y]=w,w===S&&p++}return u===m&&p===u?e:d}function kb(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Im(e){if(!Pb(e))return!1;const t=e.constructor;if(t===void 0)return!0;const i=t.prototype;return!(!Pb(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Pb(e){return Object.prototype.toString.call(e)==="[object Object]"}function xL(e){return new Promise(t=>{Hm.setTimeout(t,e)})}function SL(e,t,i){return typeof i.structuralSharing=="function"?i.structuralSharing(e,t):i.structuralSharing!==!1?A5(e,t):t}function wL(e,t,i=0){const r=[...e,t];return i&&r.length>i?r.slice(1):r}function EL(e,t,i=0){const r=[t,...e];return i&&r.length>i?r.slice(0,-1):r}var Xp=Symbol();function j5(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Xp?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function TL(e,t,i){let r=!1,l;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(l??=t(),r||(r=!0,l.aborted?i():l.addEventListener("abort",i,{once:!0})),l)}),e}var O5=(()=>{let e=()=>mL;return{isServer(){return e()},setIsServer(t){e=t}}})();function CL(){let e,t;const i=new Promise((l,u)=>{e=l,t=u});i.status="pending",i.catch(()=>{});function r(l){Object.assign(i,l),delete i.resolve,delete i.reject}return i.resolve=l=>{r({status:"fulfilled",value:l}),e(l)},i.reject=l=>{r({status:"rejected",reason:l}),t(l)},i}var AL=hL;function jL(){let e=[],t=0,i=m=>{m()},r=m=>{m()},l=AL;const u=m=>{t?e.push(m):l(()=>{i(m)})},c=()=>{const m=e;e=[],m.length&&l(()=>{r(()=>{m.forEach(d=>{i(d)})})})};return{batch:m=>{let d;t++;try{d=m()}finally{t--,t||c()}return d},batchCalls:m=>(...d)=>{u(()=>{m(...d)})},schedule:u,setNotifyFunction:m=>{i=m},setBatchNotifyFunction:m=>{r=m},setScheduler:m=>{l=m}}}var rn=jL(),OL=class extends Bc{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),i=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",i)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(i=>{i(e)}))}isOnline(){return this.#e}},xc=new OL;function RL(e){return Math.min(1e3*2**e,3e4)}function R5(e){return(e??"online")==="online"?xc.isOnline():!0}var qm=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function N5(e){let t=!1,i=0,r;const l=CL(),u=()=>l.status!=="pending",c=T=>{if(!u()){const E=new qm(T);S(E),e.onCancel?.(E)}},m=()=>{t=!0},d=()=>{t=!1},p=()=>C5.isFocused()&&(e.networkMode==="always"||xc.isOnline())&&e.canRun(),g=()=>R5(e.networkMode)&&e.canRun(),y=T=>{u()||(r?.(),l.resolve(T))},S=T=>{u()||(r?.(),l.reject(T))},C=()=>new Promise(T=>{r=E=>{(u()||p())&&T(E)},e.onPause?.()}).then(()=>{r=void 0,u()||e.onContinue?.()}),w=()=>{if(u())return;let T;const E=i===0?e.initialPromise:void 0;try{T=E??e.fn()}catch(A){T=Promise.reject(A)}Promise.resolve(T).then(y).catch(A=>{if(u())return;const R=e.retry??(O5.isServer()?0:3),N=e.retryDelay??RL,P=typeof N=="function"?N(i,A):N,D=R===!0||typeof R=="number"&&i<R||typeof R=="function"&&R(i,A);if(t||!D){S(A);return}i++,e.onFail?.(i,A),xL(P).then(()=>p()?void 0:C()).then(()=>{t?S(A):w()})})};return{promise:l,status:()=>l.status,cancel:c,continue:()=>(r?.(),l),cancelRetry:m,continueRetry:d,canStart:g,start:()=>(g()?w():C().then(w),l)}}var D5=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),gL(this.gcTime)&&(this.#e=Hm.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(O5.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#e!==void 0&&(Hm.clearTimeout(this.#e),this.#e=void 0)}};function NL(e){return{onFetch:(t,i)=>{const r=t.options,l=t.fetchOptions?.meta?.fetchMore?.direction,u=t.state.data?.pages||[],c=t.state.data?.pageParams||[];let m={pages:[],pageParams:[]},d=0;const p=async()=>{let g=!1;const y=w=>{TL(w,()=>t.signal,()=>g=!0)},S=j5(t.options,t.fetchOptions),C=async(w,T,E)=>{if(g)return Promise.reject(t.signal.reason);if(T==null&&w.pages.length)return Promise.resolve(w);const R=(()=>{const U={client:t.client,queryKey:t.queryKey,pageParam:T,direction:E?"backward":"forward",meta:t.options.meta};return y(U),U})(),N=await S(R),{maxPages:P}=t.options,D=E?EL:wL;return{pages:D(w.pages,N,P),pageParams:D(w.pageParams,T,P)}};if(l&&u.length){const w=l==="backward",T=w?DL:Vb,E={pages:u,pageParams:c},A=T(r,E);m=await C(E,A,w)}else{const w=e??u.length;do{const T=d===0?c[0]??r.initialPageParam:Vb(r,m);if(d>0&&T==null)break;m=await C(m,T),d++}while(d<w)}return m};t.options.persister?t.fetchFn=()=>t.options.persister?.(p,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},i):t.fetchFn=p}}}function Vb(e,{pages:t,pageParams:i}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,i[r],i):void 0}function DL(e,{pages:t,pageParams:i}){return t.length>0?e.getPreviousPageParam?.(t[0],t,i[0],i):void 0}var ML=class extends D5{#e;#t;#n;#i;#r;#a;#o;#s;constructor(e){super(),this.#s=!1,this.#o=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#i=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=Ub(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#e}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#o,...e},e?._type&&(this.#e=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=Ub(this.options);t.data!==void 0&&(this.setState(zb(t.data,t.dataUpdatedAt)),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#i.remove(this)}setData(e,t){const i=SL(this.state.data,e,this.options);return this.#l({data:i,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),i}setState(e){this.#l({type:"setState",state:e})}cancel(e){const t=this.#a?.promise;return this.#a?.cancel(e),t?t.then(ia).catch(ia):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>yL(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Xp||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Fm(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!vL(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#a&&(this.#s||this.#u()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#i.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(p=>p.options.queryFn);d&&this.setOptions(d.options)}const i=new AbortController,r=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#s=!0,i.signal)})},l=()=>{const d=j5(this.options,t),g=(()=>{const y={client:this.#r,queryKey:this.queryKey,meta:this.meta};return r(y),y})();return this.#s=!1,this.options.persister?this.options.persister(d,g,this):d(g)},c=(()=>{const d={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:l};return r(d),d})();(this.#e==="infinite"?NL(this.options.pages):this.options.behavior)?.onFetch(c,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==c.fetchOptions?.meta)&&this.#l({type:"fetch",meta:c.fetchOptions?.meta}),this.#a=N5({initialPromise:t?.initialPromise,fn:c.fetchFn,onCancel:d=>{d instanceof qm&&d.revert&&this.setState({...this.#n,fetchStatus:"idle"}),i.abort()},onFail:(d,p)=>{this.#l({type:"failed",failureCount:d,error:p})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0});try{const d=await this.#a.start();if(d===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(d),this.#i.config.onSuccess?.(d,this),this.#i.config.onSettled?.(d,this.state.error,this),d}catch(d){if(d instanceof qm){if(d.silent)return this.#a.promise;if(d.revert){if(this.state.data===void 0)throw d;return this.state.data}}throw this.#l({type:"error",error:d}),this.#i.config.onError?.(d,this),this.#i.config.onSettled?.(this.state.data,d,this),d}finally{this.scheduleGc()}}#l(e){const t=i=>{switch(e.type){case"failed":return{...i,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,..._L(i.data,this.options),fetchMeta:e.meta??null};case"success":const r={...i,...zb(e.data,e.dataUpdatedAt),dataUpdateCount:i.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?r:void 0,r;case"error":const l=e.error;return{...i,error:l,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...e.state}}};this.state=t(this.state),rn.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),this.#i.notify({query:this,type:"updated",action:e})})}};function _L(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:R5(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function zb(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Ub(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,i=t!==void 0,r=i?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:i?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var LL=class extends D5{#e;#t;#n;#i;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||kL(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#i?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})},i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#i=N5({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(new Error("No mutationFn found")),onFail:(u,c)=>{this.#r({type:"failed",failureCount:u,error:c})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",l=!this.#i.canStart();try{if(r)t();else{this.#r({type:"pending",variables:e,isPaused:l}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,i);const c=await this.options.onMutate?.(e,i);c!==this.state.context&&this.#r({type:"pending",context:c,variables:e,isPaused:l})}const u=await this.#i.start();return await this.#n.config.onSuccess?.(u,e,this.state.context,this,i),await this.options.onSuccess?.(u,e,this.state.context,i),await this.#n.config.onSettled?.(u,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(u,null,e,this.state.context,i),this.#r({type:"success",data:u}),u}catch(u){try{await this.#n.config.onError?.(u,e,this.state.context,this,i)}catch(c){Promise.reject(c)}try{await this.options.onError?.(u,e,this.state.context,i)}catch(c){Promise.reject(c)}try{await this.#n.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,i)}catch(c){Promise.reject(c)}try{await this.options.onSettled?.(void 0,u,e,this.state.context,i)}catch(c){Promise.reject(c)}throw this.#r({type:"error",error:u}),u}finally{this.#n.runNext(this)}}#r(e){const t=i=>{switch(e.type){case"failed":return{...i,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...i,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:e.error,failureCount:i.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),rn.batch(()=>{this.#t.forEach(i=>{i.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function kL(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var PL=class extends Bc{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,t,i){const r=new LL({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:i});return this.add(r),r}add(e){this.#e.add(e);const t=Lu(e);if(typeof t=="string"){const i=this.#t.get(t);i?i.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const t=Lu(e);if(typeof t=="string"){const i=this.#t.get(t);if(i)if(i.length>1){const r=i.indexOf(e);r!==-1&&i.splice(r,1)}else i[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Lu(e);if(typeof t=="string"){const r=this.#t.get(t)?.find(l=>l.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=Lu(e);return typeof t=="string"?this.#t.get(t)?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){rn.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const t={exact:!0,...e};return this.getAll().find(i=>Lb(t,i))}findAll(e={}){return this.getAll().filter(t=>Lb(e,t))}notify(e){rn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return rn.batch(()=>Promise.all(e.map(t=>t.continue().catch(ia))))}};function Lu(e){return e.options.scope?.id}var VL=class extends Bc{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,i){const r=t.queryKey,l=t.queryHash??Kp(r,t);let u=this.get(l);return u||(u=new ML({client:e,queryKey:r,queryHash:l,options:e.defaultQueryOptions(t),state:i,defaultOptions:e.getQueryDefaults(r)}),this.add(u)),u}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){rn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(i=>_b(t,i))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(i=>_b(e,i)):t}notify(e){rn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){rn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){rn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},zL=class{#e;#t;#n;#i;#r;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new VL,this.#t=e.mutationCache||new PL,this.#n=e.defaultOptions||{},this.#i=new Map,this.#r=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=C5.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=xc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),i=this.#e.build(this,t),r=i.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&i.isStaleByTime(Fm(t.staleTime,i))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:t,state:i})=>{const r=i.data;return[t,r]})}setQueryData(e,t,i){const r=this.defaultQueryOptions({queryKey:e}),u=this.#e.get(r.queryHash)?.state.data,c=pL(t,u);if(c!==void 0)return this.#e.build(this,r).setData(c,{...i,manual:!0})}setQueriesData(e,t,i){return rn.batch(()=>this.#e.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,i)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#e.get(t.queryHash)?.state}removeQueries(e){const t=this.#e;rn.batch(()=>{t.findAll(e).forEach(i=>{t.remove(i)})})}resetQueries(e,t){const i=this.#e;return rn.batch(()=>(i.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const i={revert:!0,...t},r=rn.batch(()=>this.#e.findAll(e).map(l=>l.cancel(i)));return Promise.all(r).then(ia).catch(ia)}invalidateQueries(e,t={}){return rn.batch(()=>(this.#e.findAll(e).forEach(i=>{i.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const i={...t,cancelRefetch:t.cancelRefetch??!0},r=rn.batch(()=>this.#e.findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,i);return i.throwOnError||(u=u.catch(ia)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(r).then(ia)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const i=this.#e.build(this,t);return i.isStaleByTime(Fm(t.staleTime,i))?i.fetch(t):Promise.resolve(i.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ia).catch(ia)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ia).catch(ia)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return xc.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#i.set(Ul(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#i.values()],i={};return t.forEach(r=>{Bl(e,r.queryKey)&&Object.assign(i,r.defaultOptions)}),i}setMutationDefaults(e,t){this.#r.set(Ul(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],i={};return t.forEach(r=>{Bl(e,r.mutationKey)&&Object.assign(i,r.defaultOptions)}),i}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};
68return t.queryHash||(t.queryHash=Kp(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Xp&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},UL=x.createContext(void 0),BL=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),h.jsx(UL.Provider,{value:e,children:t}));const Ih="https://website-widgets.pages.dev/dist/sienna.min.js";function HL(){const{websiteNotFound:e,loading:t}=kt();return x.useEffect(()=>{const i=()=>{document.querySelectorAll('.asw-menu-btn, .asw-menu, [class*="asw-"], [id*="asw-"]').forEach(u=>u.remove()),document.querySelectorAll(`script[src="${Ih}"]`).forEach(u=>u.remove())};if(t||e){i();return}if(document.querySelector(`script[src="${Ih}"]`))return;const l=document.createElement("script");return l.src=Ih,l.async=!0,l.crossOrigin="anonymous",l.dataset.accessibilityWidget="true",document.body.appendChild(l),i},[t,e]),null}const FL=new zL;Y6.createRoot(document.getElementById("root")).render(h.jsx(h.Fragment,{children:h.jsx(x8,{children:h.jsx(BL,{client:FL,children:h.jsxs(IA,{children:[h.jsx(HL,{}),h.jsx(oO,{children:h.jsx(x3,{children:h.jsx(uL,{})})})]})})})}));export{cR as $,Bx as A,Ia as B,Dl as C,a4 as D,zE as E,lT as F,FE as G,tT as H,RT as I,Yx as J,tc as K,pO as L,Ap as M,xe as N,IL as O,Sc as P,qL as Q,Qe as R,w3 as S,pk as T,dk as U,$E as V,y2 as W,gk as X,g2 as Y,S2 as Z,uO as _,dC as a,C_ as a0,FO as a1,Ec as a2,Zt as a3,rx as a4,$L as a5,cc as a6,Sk as a7,Pp as a8,uR as a9,oR as aa,hk as ab,mk as ac,D3 as ad,kp as ae,x5 as af,xk as ag,bk as ah,vk as ai,yk as aj,eO as ak,tO as al,R8 as am,kt as b,Ei as c,C3 as d,S7 as e,Nt as f,Hl as g,mt as h,P8 as i,h as j,Wm as k,Wr as l,fC as m,ox as n,xi as o,nt as p,Wv as q,x as r,ME as s,ot as t,On as u,Jm as v,Wt as w,E7 as x,d7 as y,w7 as z};
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.