PageSourceSearch

https://quiqrpay.com/assets/index-BoTbwFO0.js

js quiqrpay.com collected 2026-10-02 01:40:14 UTC 375,147 bytes, 68 lines download raw bytes

vendor: 7,903 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/BusinessDetail-BrDCnGhe.js","assets/SalesNavigation-Do7sE7_5.js","assets/logout-CVXWdjbX.js","assets/SalesNavigation-CRVnIJVx.css","assets/SalesCrm-DnD486YD.js","assets/SalesCrm-OkkaBoG1.css","assets/BusinessSettingsPage-CWUPgiHk.js","assets/BusinessNavigation-DpmoCv2O.js","assets/BusinessNavigation-CO3PbUMQ.css","assets/Dashboard-DKf-IiO6.css","assets/BecomeMillionare-3JKeE7xt.js","assets/BecomeMillionare-ClT_bKHh.css","assets/Compliance-FZQ2h1P-.js","assets/Policy-DRo6f1m_.css","assets/CryptoSender-BY07BTrb.js","assets/CryptoSender-CmmD-KkB.css","assets/ConnectDashboard-Dm7m5v7i.js","assets/OnboardingComponents-DiXtrbI1.js","assets/react-connect.esm-Qzo3GW00.js","assets/StripeConnectContext-Ba9mTVw_.js","assets/stripeConnect-IWD5d8VV.js","assets/ConnectDisputes-BPfnL7ya.js","assets/PaymentComponents-jYMnWW7q.js","assets/EmbeddedComponent-DMwe1fzD.js","assets/PaymentsActivity-ByWGAI2U.css","assets/ConnectOnboarding-BTrRL4li.js","assets/useAuthenticatedEmail-B9-Ae4Dh.js","assets/ConnectOnboarding-3umAqnqV.css","assets/ConnectPayments-DsZgw_E0.js","assets/ConnectPayouts-BBHJjd3m.js","assets/ConnectRefresh-BiqlBaNJ.js","assets/ConnectReturn-BB-BI2mE.js","assets/ConnectSettings-DZDPPtx-.js","assets/ContractTerms-DPOVaBxN.js","assets/CreatePayment-DwXa8Ku9.js","assets/CreateQRCode-CnP-_vLR.js","assets/OverridePortal-Dd3lnScz.js","assets/OrderNumbers-P6wMbXwc.js","assets/CustomerPayment-BcYlo3Vh.js","assets/CustomerPayment-CCk4oDDC.css","assets/CustomersTables-Bqqgra18.js","assets/CustomersTables-By6rs-lK.css","assets/AccountPipeline-LWrmAkmu.js","assets/Discounts-wJq0yHHB.js","assets/Discounts-CwaVfH_1.css","assets/DowntimeTruth-D7nA4N90.js","assets/DowntimeTruth-CJQ7OrAh.css","assets/DowntimeTruthWaitingList-CnFpOnGi.js","assets/DowntimeTruthWaitingList-C3oYGjtt.css","assets/Documents-CodF_awJ.js","assets/Employees-BsmwZmID.js","assets/Employees-DYRphALL.css","assets/EmployeeTimesheet-DrhK7nwS.js","assets/Help-COREPoi2.js","assets/Inventory-DFaMLNnF.js","assets/InvestorOutreach-DOqx7b-k.js","assets/InvestorOutreach-DJiN1Xzc.css","assets/JobApplicationProfileConfig-CcJwlcyQ.js","assets/JobApplicationProfileConfig-DSum3EiN.css","assets/MenuItems-sOIuQOPS.js","assets/MenuItems-DZKO1DmQ.css","assets/MyBusinesses-lave2A1p.js","assets/PaymentFlow-BZMVo16c.js","assets/PaymentFlow-BqfSlg8D.css","assets/PaymentsActivity-B6J87Cym.js","assets/Payouts-DqZqpXRq.js","assets/PrivacyPolicy-nbweczW7.js","assets/RefundPolicy-D87MhJ0c.js","assets/RefundsVoids-o5EUOkHe.js","assets/SalesAssets-JMaXnoHy.js","assets/SalesInbox-Ce27H1cz.js","assets/SalesPayouts-DiBy-wjc.js","assets/SalesProspects-CNiZ3oRU.js","assets/SalesRecords-BwTFFFIE.js","assets/SalesReports-CixZodQG.js","assets/SalesSettings-CowqA21M.js","assets/SalesWorkbench-12wLxAGr.js","assets/SoftwareEngineerJobPostings-r2w9WoY5.js","assets/SoftwareEngineerJobPostings-CGRbMG55.css","assets/StripeConnectOnboarding-CZmdgBSI.js","assets/TermsOfService-D59diTCr.js","assets/BusinessSettings-Bl2LIEsv.js"])))=>i.map(i=>d[i]);
2(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var mj=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function hj(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Su={exports:{}},Ns={},bu={exports:{}},U={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var no=Symbol.for("react.element"),Cf=Symbol.for("react.portal"),Ef=Symbol.for("react.fragment"),Pf=Symbol.for("react.strict_mode"),Nf=Symbol.for("react.profiler"),Rf=Symbol.for("react.provider"),Tf=Symbol.for("react.context"),Lf=Symbol.for("react.forward_ref"),If=Symbol.for("react.suspense"),Af=Symbol.for("react.memo"),Of=Symbol.for("react.lazy"),Wl=Symbol.iterator;function Df(e){return e===null||typeof e!="object"?null:(e=Wl&&e[Wl]||e["@@iterator"],typeof e=="function"?e:null)}var ku={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Cu=Object.assign,Eu={};function nr(e,t,n){this.props=e,this.context=t,this.refs=Eu,this.updater=n||ku}nr.prototype.isReactComponent={};nr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};nr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Pu(){}Pu.prototype=nr.prototype;function Oa(e,t,n){this.props=e,this.context=t,this.refs=Eu,this.updater=n||ku}var Da=Oa.prototype=new Pu;Da.constructor=Oa;Cu(Da,nr.prototype);Da.isPureReactComponent=!0;var Vl=Array.isArray,Nu=Object.prototype.hasOwnProperty,za={current:null},Ru={key:!0,ref:!0,__self:!0,__source:!0};function Tu(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Nu.call(t,r)&&!Ru.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:no,type:e,key:i,ref:a,props:o,_owner:za.current}}function zf(e,t){return{$$typeof:no,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ma(e){return typeof e=="object"&&e!==null&&e.$$typeof===no}function Mf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Hl=/\/+/g;function Qs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Mf(""+e.key):t.toString(36)}function Lo(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case no:case Cf:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+Qs(a,0):r,Vl(o)?(n="",e!=null&&(n=e.replace(Hl,"$&/")+"/"),Lo(o,t,n,"",function(u){return u})):o!=null&&(Ma(o)&&(o=zf(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(Hl,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",Vl(e))for(var l=0;l<e.length;l++){i=e[l];var c=r+Qs(i,l);a+=Lo(i,t,n,c,o)}else if(c=Df(e),typeof c=="function")for(e=c.call(e),l=0;!(i=e.next()).done;)i=i.value,c=r+Qs(i,l++),a+=Lo(i,t,n,c,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}
vendor: 4,321 bytes, lines 10-18
10function po(e,t,n){if(e==null)return e;var r=[],o=0;return Lo(e,r,"","",function(i){return t.call(n,i,o++)}),r}function Ff(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Te={current:null},Io={transition:null},$f={ReactCurrentDispatcher:Te,ReactCurrentBatchConfig:Io,ReactCurrentOwner:za};function Lu(){throw Error("act(...) is not supported in production builds of React.")}U.Children={map:po,forEach:function(e,t,n){po(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return po(e,function(){t++}),t},toArray:function(e){return po(e,function(t){return t})||[]},only:function(e){if(!Ma(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};U.Component=nr;U.Fragment=Ef;U.Profiler=Nf;U.PureComponent=Oa;U.StrictMode=Pf;U.Suspense=If;U.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$f;U.act=Lu;U.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Cu({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=za.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)Nu.call(t,c)&&!Ru.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:no,type:e.type,key:o,ref:i,props:r,_owner:a}};U.createContext=function(e){return e={$$typeof:Tf,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Rf,_context:e},e.Consumer=e};U.createElement=Tu;U.createFactory=function(e){var t=Tu.bind(null,e);return t.type=e,t};U.createRef=function(){return{current:null}};U.forwardRef=function(e){return{$$typeof:Lf,render:e}};U.isValidElement=Ma;U.lazy=function(e){return{$$typeof:Of,_payload:{_status:-1,_result:e},_init:Ff}};U.memo=function(e,t){return{$$typeof:Af,type:e,compare:t===void 0?null:t}};U.startTransition=function(e){var t=Io.transition;Io.transition={};try{e()}finally{Io.transition=t}};U.unstable_act=Lu;U.useCallback=function(e,t){return Te.current.useCallback(e,t)};U.useContext=function(e){return Te.current.useContext(e)};U.useDebugValue=function(){};U.useDeferredValue=function(e){return Te.current.useDeferredValue(e)};U.useEffect=function(e,t){return Te.current.useEffect(e,t)};U.useId=function(){return Te.current.useId()};U.useImperativeHandle=function(e,t,n){return Te.current.useImperativeHandle(e,t,n)};U.useInsertionEffect=function(e,t){return Te.current.useInsertionEffect(e,t)};U.useLayoutEffect=function(e,t){return Te.current.useLayoutEffect(e,t)};U.useMemo=function(e,t){return Te.current.useMemo(e,t)};U.useReducer=function(e,t,n){return Te.current.useReducer(e,t,n)};U.useRef=function(e){return Te.current.useRef(e)};U.useState=function(e){return Te.current.useState(e)};U.useSyncExternalStore=function(e,t,n){return Te.current.useSyncExternalStore(e,t,n)};U.useTransition=function(){return Te.current.useTransition()};U.version="18.3.1";bu.exports=U;var p=bu.exports;const Iu=kf(p);/**
11 * @license React
12 * react-jsx-runtime.production.min.js
13 *
14 * Copyright (c) Facebook, Inc. and its affiliates.
15 *
16 * This source code is licensed under the MIT license found in the
17 * LICENSE file in the root directory of this source tree.
18 */var Bf=p,Uf=Symbol.for("react.element"),qf=Symbol.for("react.fragment"),Wf=Object.prototype.hasOwnProperty,Vf=Bf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Hf={key:!0,ref:!0,__self:!0,__source:!0};function Au(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)Wf.call(t,r)&&!Hf.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Uf,type:e,key:i,ref:a,props:o,_owner:Vf.current}}Ns.Fragment=qf;Ns.jsx=Au;Ns.jsxs=Au;Su.exports=Ns;var s=Su.exports,Ii={},Ou={exports:{}},qe={},Du={exports:{}},zu={};
vendor: 8,342 bytes, lines 18-34
18/**
19 * @license React
20 * scheduler.production.min.js
21 *
22 * Copyright (c) Facebook, Inc. and its affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */(function(e){function t(T,F){var B=T.length;T.push(F);e:for(;0<B;){var oe=B-1>>>1,de=T[oe];if(0<o(de,F))T[oe]=F,T[B]=de,B=oe;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var F=T[0],B=T.pop();if(B!==F){T[0]=B;e:for(var oe=0,de=T.length,xn=de>>>1;oe<xn;){var k=2*(oe+1)-1,A=T[k],R=k+1,M=T[R];if(0>o(A,B))R<de&&0>o(M,A)?(T[oe]=M,T[R]=B,oe=R):(T[oe]=A,T[k]=B,oe=k);else if(R<de&&0>o(M,B))T[oe]=M,T[R]=B,oe=R;else break e}}return F}function o(T,F){var B=T.sortIndex-F.sortIndex;return B!==0?B:T.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],u=[],h=1,d=null,y=3,w=!1,m=!1,j=!1,x=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(T){for(var F=n(u);F!==null;){if(F.callback===null)r(u);else if(F.startTime<=T)r(u),F.sortIndex=F.expirationTime,t(c,F);else break;F=n(u)}}function _(T){if(j=!1,v(T),!m)if(n(c)!==null)m=!0,jn(S);else{var F=n(u);F!==null&&lr(_,F.startTime-T)}}function S(T,F){m=!1,j&&(j=!1,f(N),N=-1),w=!0;var B=y;try{for(v(F),d=n(c);d!==null&&(!(d.expirationTime>F)||T&&!ee());){var oe=d.callback;if(typeof oe=="function"){d.callback=null,y=d.priorityLevel;var de=oe(d.expirationTime<=F);F=e.unstable_now(),typeof de=="function"?d.callback=de:d===n(c)&&r(c),v(F)}else r(c);d=n(c)}if(d!==null)var xn=!0;else{var k=n(u);k!==null&&lr(_,k.startTime-F),xn=!1}return xn}finally{d=null,y=B,w=!1}}var b=!1,P=null,N=-1,$=5,L=-1;function ee(){return!(e.unstable_now()-L<$)}function re(){if(P!==null){var T=e.unstable_now();L=T;var F=!0;try{F=P(!0,T)}finally{F?J():(b=!1,P=null)}}else b=!1}var J;if(typeof g=="function")J=function(){g(re)};else if(typeof MessageChannel<"u"){var G=new MessageChannel,yt=G.port2;G.port1.onmessage=re,J=function(){yt.postMessage(null)}}else J=function(){x(re,0)};function jn(T){P=T,b||(b=!0,J())}function lr(T,F){N=x(function(){T(e.unstable_now())},F)}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(T){T.callback=null},e.unstable_continueExecution=function(){m||w||(m=!0,jn(S))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(T){switch(y){case 1:case 2:case 3:var F=3;break;default:F=y}var B=y;y=F;try{return T()}finally{y=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,F){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var B=y;y=T;try{return F()}finally{y=B}},e.unstable_scheduleCallback=function(T,F,B){var oe=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?oe+B:oe):B=oe,T){case 1:var de=-1;break;case 2:de=250;break;case 5:de=1073741823;break;case 4:de=1e4;break;default:de=5e3}return de=B+de,T={id:h++,callback:F,priorityLevel:T,startTime:B,expirationTime:de,sortIndex:-1},B>oe?(T.sortIndex=B,t(u,T),n(c)===null&&T===n(u)&&(j?(f(N),N=-1):j=!0,lr(_,B-oe))):(T.sortIndex=de,t(c,T),m||w||(m=!0,jn(S))),T},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(T){var F=y;return function(){var B=y;y=F;try{return T.apply(this,arguments)}finally{y=B}}}})(zu);Du.exports=zu;var Gf=Du.exports;/**
27 * @license React
28 * react-dom.production.min.js
29 *
30 * Copyright (c) Facebook, Inc. and its affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var Qf=p,Be=Gf;function C(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Mu=new Set,Mr={};function vn(e,t){Gn(e,t),Gn(e+"Capture",t)}function Gn(e,t){for(Mr[e]=t,e=0;e<t.length;e++)Mu.add(t[e])}var kt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ai=Object.prototype.hasOwnProperty,Yf=/^[: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]*$/,Gl={},Ql={};function Jf(e){return Ai.call(Ql,e)?!0:Ai.call(Gl,e)?!1:Yf.test(e)?Ql[e]=!0:(Gl[e]=!0,!1)}function Kf(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Xf(e,t,n,r){if(t===null||typeof t>"u"||Kf(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Le(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Se[e]=new Le(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Se[t]=new Le(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Se[e]=new Le(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Se[e]=new Le(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Se[e]=new Le(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Se[e]=new Le(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Se[e]=new Le(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Se[e]=new Le(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Se[e]=new Le(e,5,!1,e.toLowerCase(),null,!1,!1)});var Fa=/[\-:]([a-z])/g;function $a(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
34-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Fa,$a);Se[t]=new Le(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Fa,$a);Se[t]=new Le(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Fa,$a);Se[t]=new Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Se[e]=new Le(e,1,!1,e.toLowerCase(),null,!1,!1)});Se.xlinkHref=new Le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Se[e]=new Le(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ba(e,t,n,r){var o=Se.hasOwnProperty(t)?Se[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Xf(t,n,o,r)&&(n=null),r||o===null?Jf(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Rt=Qf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fo=Symbol.for("react.element"),kn=Symbol.for("react.portal"),Cn=Symbol.for("react.fragment"),Ua=Symbol.for("react.strict_mode"),Oi=Symbol.for("react.profiler"),Fu=Symbol.for("react.provider"),$u=Symbol.for("react.context"),qa=Symbol.for("react.forward_ref"),Di=Symbol.for("react.suspense"),zi=Symbol.for("react.suspense_list"),Wa=Symbol.for("react.memo"),Ot=Symbol.for("react.lazy"),Bu=Symbol.for("react.offscreen"),Yl=Symbol.iterator;function cr(e){return e===null||typeof e!="object"?null:(e=Yl&&e[Yl]||e["@@iterator"],typeof e=="function"?e:null)}var le=Object.assign,Ys;function wr(e){if(Ys===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ys=t&&t[1]||""}return`
35`+Ys+e}var Js=!1;function Ks(e,t){if(!e||Js)return"";Js=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
36`),i=r.stack.split(`
37`),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(a!==1||l!==1)do if(a--,l--,0>l||o[a]!==i[l]){var c=`
38`+o[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=a&&0<=l);break}}}finally{Js=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?wr(e):""}function Zf(e){switch(e.tag){case 5:return wr(e.type);case 16:return wr("Lazy");case 13:return wr("Suspense");case 19:return wr("SuspenseList");case 0:case 2:case 15:return e=Ks(e.type,!1),e;case 11:return e=Ks(e.type.render,!1),e;case 1:return e=Ks(e.type,!0),e;default:return""}}function Mi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Cn:return"Fragment";case kn:return"Portal";case Oi:return"Profiler";case Ua:return"StrictMode";case Di:return"Suspense";case zi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $u:return(e.displayName||"Context")+".Consumer";case Fu:return(e._context.displayName||"Context")+".Provider";case qa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Wa:return t=e.displayName||null,t!==null?t:Mi(e.type)||"Memo";case Ot:t=e._payload,e=e._init;try{return Mi(e(t))}catch{}}return null}function em(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Mi(t);case 8:return t===Ua?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Jt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Uu(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function tm(e){var t=Uu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function mo(e){e._valueTracker||(e._valueTracker=tm(e))}function qu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Uu(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Jo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Fi(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Jl(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Wu(e,t){t=t.checked,t!=null&&Ba(e,"checked",t,!1)}function $i(e,t){Wu(e,t);var n=Jt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Bi(e,t.type,n):t.hasOwnProperty("defaultValue")&&Bi(e,t.type,Jt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Kl(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Bi(e,t,n){(t!=="number"||Jo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var jr=Array.isArray;function Mn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Jt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Ui(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(C(91));return le({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Xl(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(C(92));
vendor: 12,673 bytes, line 38
38if(jr(n)){if(1<n.length)throw Error(C(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Jt(n)}}function Vu(e,t){var n=Jt(t.value),r=Jt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Zl(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Hu(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function qi(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Hu(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ho,Gu=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ho=ho||document.createElement("div"),ho.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ho.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Fr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Er={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},nm=["Webkit","ms","Moz","O"];Object.keys(Er).forEach(function(e){nm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Er[t]=Er[e]})});function Qu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Er.hasOwnProperty(e)&&Er[e]?(""+t).trim():t+"px"}function Yu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Qu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var rm=le({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wi(e,t){if(t){if(rm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(C(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(C(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(C(61))}if(t.style!=null&&typeof t.style!="object")throw Error(C(62))}}function Vi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hi=null;function Va(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gi=null,Fn=null,$n=null;function ec(e){if(e=so(e)){if(typeof Gi!="function")throw Error(C(280));var t=e.stateNode;t&&(t=As(t),Gi(e.stateNode,e.type,t))}}function Ju(e){Fn?$n?$n.push(e):$n=[e]:Fn=e}function Ku(){if(Fn){var e=Fn,t=$n;if($n=Fn=null,ec(e),t)for(e=0;e<t.length;e++)ec(t[e])}}function Xu(e,t){return e(t)}function Zu(){}var Xs=!1;function ed(e,t,n){if(Xs)return e(t,n);Xs=!0;try{return Xu(e,t,n)}finally{Xs=!1,(Fn!==null||$n!==null)&&(Zu(),Ku())}}function $r(e,t){var n=e.stateNode;if(n===null)return null;var r=As(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(C(231,t,typeof n));return n}var Qi=!1;if(kt)try{var ur={};Object.defineProperty(ur,"passive",{get:function(){Qi=!0}}),window.addEventListener("test",ur,ur),window.removeEventListener("test",ur,ur)}catch{Qi=!1}function om(e,t,n,r,o,i,a,l,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(h){this.onError(h)}}var Pr=!1,Ko=null,Xo=!1,Yi=null,sm={onError:function(e){Pr=!0,Ko=e}};function im(e,t,n,r,o,i,a,l,c){Pr=!1,Ko=null,om.apply(sm,arguments)}function am(e,t,n,r,o,i,a,l,c){if(im.apply(this,arguments),Pr){if(Pr){var u=Ko;Pr=!1,Ko=null}else throw Error(C(198));Xo||(Xo=!0,Yi=u)}}function wn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function td(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function tc(e){if(wn(e)!==e)throw Error(C(188))}function lm(e){var t=e.alternate;if(!t){if(t=wn(e),t===null)throw Error(C(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return tc(o),e;if(i===r)return tc(o),t;i=i.sibling}throw Error(C(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(C(189))}}if(n.alternate!==r)throw Error(C(190))}if(n.tag!==3)throw Error(C(188));return n.stateNode.current===n?e:t}function nd(e){return e=lm(e),e!==null?rd(e):null}function rd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=rd(e);if(t!==null)return t;e=e.sibling}return null}var od=Be.unstable_scheduleCallback,nc=Be.unstable_cancelCallback,cm=Be.unstable_shouldYield,um=Be.unstable_requestPaint,ue=Be.unstable_now,dm=Be.unstable_getCurrentPriorityLevel,Ha=Be.unstable_ImmediatePriority,sd=Be.unstable_UserBlockingPriority,Zo=Be.unstable_NormalPriority,pm=Be.unstable_LowPriority,id=Be.unstable_IdlePriority,Rs=null,ht=null;function fm(e){if(ht&&typeof ht.onCommitFiberRoot=="function")try{ht.onCommitFiberRoot(Rs,e,void 0,(e.current.flags&128)===128)}catch{}}var st=Math.clz32?Math.clz32:gm,mm=Math.log,hm=Math.LN2;function gm(e){return e>>>=0,e===0?32:31-(mm(e)/hm|0)|0}var go=64,yo=4194304;function xr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function es(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~o;l!==0?r=xr(l):(i&=a,i!==0&&(r=xr(i)))}else a=n&~o,a!==0?r=xr(a):i!==0&&(r=xr(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-st(t),o=1<<n,r|=e[n],t&=~o;return r}function ym(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function vm(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-st(i),l=1<<a,c=o[a];c===-1?(!(l&n)||l&r)&&(o[a]=ym(l,t)):c<=t&&(e.expiredLanes|=l),i&=~l}}function Ji(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ad(){var e=go;return go<<=1,!(go&4194240)&&(go=64),e}function Zs(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ro(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-st(t),e[t]=n}function wm(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-st(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Ga(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-st(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var V=0;function ld(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var cd,Qa,ud,dd,pd,Ki=!1,vo=[],Bt=null,Ut=null,qt=null,Br=new Map,Ur=new Map,zt=[],jm="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 submit".split(" ");function rc(e,t){switch(e){case"focusin":case"focusout":Bt=null;break;case"dragenter":case"dragleave":Ut=null;break;case"mouseover":case"mouseout":qt=null;break;case"pointerover":case"pointerout":Br.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ur.delete(t.pointerId)}}function dr(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=so(t),t!==null&&Qa(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function xm(e,t,n,r,o){switch(t){case"focusin":return Bt=dr(Bt,e,t,n,r,o),!0;case"dragenter":return Ut=dr(Ut,e,t,n,r,o),!0;case"mouseover":return qt=dr(qt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Br.set(i,dr(Br.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ur.set(i,dr(Ur.get(i)||null,e,t,n,r,o)),!0}return!1}function fd(e){var t=on(e.target);if(t!==null){var n=wn(t);if(n!==null){if(t=n.tag,t===13){if(t=td(n),t!==null){e.blockedOn=t,pd(e.priority,function(){ud(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ao(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xi(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Hi=r,n.target.dispatchEvent(r),Hi=null}else return t=so(n),t!==null&&Qa(t),e.blockedOn=n,!1;t.shift()}return!0}function oc(e,t,n){Ao(e)&&n.delete(t)}function _m(){Ki=!1,Bt!==null&&Ao(Bt)&&(Bt=null),Ut!==null&&Ao(Ut)&&(Ut=null),qt!==null&&Ao(qt)&&(qt=null),Br.forEach(oc),Ur.forEach(oc)}function pr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ki||(Ki=!0,Be.unstable_scheduleCallback(Be.unstable_NormalPriority,_m)))}function qr(e){function t(o){return pr(o,e)}if(0<vo.length){pr(vo[0],e);for(var n=1;n<vo.length;n++){var r=vo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Bt!==null&&pr(Bt,e),Ut!==null&&pr(Ut,e),qt!==null&&pr(qt,e),Br.forEach(t),Ur.forEach(t),n=0;n<zt.length;n++)r=zt[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<zt.length&&(n=zt[0],n.blockedOn===null);)fd(n),n.blockedOn===null&&zt.shift()}var Bn=Rt.ReactCurrentBatchConfig,ts=!0;function Sm(e,t,n,r){var o=V,i=Bn.transition;Bn.transition=null;try{V=1,Ya(e,t,n,r)}finally{V=o,Bn.transition=i}}function bm(e,t,n,r){var o=V,i=Bn.transition;Bn.transition=null;try{V=4,Ya(e,t,n,r)}finally{V=o,Bn.transition=i}}function Ya(e,t,n,r){if(ts){var o=Xi(e,t,n,r);if(o===null)ci(e,t,r,ns,n),rc(e,r);else if(xm(o,e,t,n,r))r.stopPropagation();else if(rc(e,r),t&4&&-1<jm.indexOf(e)){for(;o!==null;){var i=so(o);if(i!==null&&cd(i),i=Xi(e,t,n,r),i===null&&ci(e,t,r,ns,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else ci(e,t,r,null,n)}}var ns=null;function Xi(e,t,n,r){if(ns=null,e=Va(r),e=on(e),e!==null)if(t=wn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=td(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return ns=e,null}
vendor: 9,127 bytes, line 38
38function md(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(dm()){case Ha:return 1;case sd:return 4;case Zo:case pm:return 16;case id:return 536870912;default:return 16}default:return 16}}var Ft=null,Ja=null,Oo=null;function hd(){if(Oo)return Oo;var e,t=Ja,n=t.length,r,o="value"in Ft?Ft.value:Ft.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===o[i-r];r++);return Oo=o.slice(e,1<r?1-r:void 0)}function Do(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function wo(){return!0}function sc(){return!1}function We(e){function t(n,r,o,i,a){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?wo:sc,this.isPropagationStopped=sc,this}return le(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=wo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=wo)},persist:function(){},isPersistent:wo}),t}var rr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ka=We(rr),oo=le({},rr,{view:0,detail:0}),km=We(oo),ei,ti,fr,Ts=le({},oo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xa,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fr&&(fr&&e.type==="mousemove"?(ei=e.screenX-fr.screenX,ti=e.screenY-fr.screenY):ti=ei=0,fr=e),ei)},movementY:function(e){return"movementY"in e?e.movementY:ti}}),ic=We(Ts),Cm=le({},Ts,{dataTransfer:0}),Em=We(Cm),Pm=le({},oo,{relatedTarget:0}),ni=We(Pm),Nm=le({},rr,{animationName:0,elapsedTime:0,pseudoElement:0}),Rm=We(Nm),Tm=le({},rr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Lm=We(Tm),Im=le({},rr,{data:0}),ac=We(Im),Am={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Om={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"},Dm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zm(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Dm[e])?!!t[e]:!1}function Xa(){return zm}var Mm=le({},oo,{key:function(e){if(e.key){var t=Am[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Do(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Om[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xa,charCode:function(e){return e.type==="keypress"?Do(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Do(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Fm=We(Mm),$m=le({},Ts,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),lc=We($m),Bm=le({},oo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xa}),Um=We(Bm),qm=le({},rr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Wm=We(qm),Vm=le({},Ts,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Hm=We(Vm),Gm=[9,13,27,32],Za=kt&&"CompositionEvent"in window,Nr=null;kt&&"documentMode"in document&&(Nr=document.documentMode);var Qm=kt&&"TextEvent"in window&&!Nr,gd=kt&&(!Za||Nr&&8<Nr&&11>=Nr),cc=" ",uc=!1;function yd(e,t){switch(e){case"keyup":return Gm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var En=!1;function Ym(e,t){switch(e){case"compositionend":return vd(t);case"keypress":return t.which!==32?null:(uc=!0,cc);case"textInput":return e=t.data,e===cc&&uc?null:e;default:return null}}function Jm(e,t){if(En)return e==="compositionend"||!Za&&yd(e,t)?(e=hd(),Oo=Ja=Ft=null,En=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return gd&&t.locale!=="ko"?null:t.data;default:return null}}var Km={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 dc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Km[e.type]:t==="textarea"}function wd(e,t,n,r){Ju(r),t=rs(t,"onChange"),0<t.length&&(n=new Ka("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Rr=null,Wr=null;function Xm(e){Rd(e,0)}function Ls(e){var t=Rn(e);if(qu(t))return e}function Zm(e,t){if(e==="change")return t}var jd=!1;if(kt){var ri;if(kt){var oi="oninput"in document;if(!oi){var pc=document.createElement("div");pc.setAttribute("oninput","return;"),oi=typeof pc.oninput=="function"}ri=oi}else ri=!1;jd=ri&&(!document.documentMode||9<document.documentMode)}function fc(){Rr&&(Rr.detachEvent("onpropertychange",xd),Wr=Rr=null)}function xd(e){if(e.propertyName==="value"&&Ls(Wr)){var t=[];wd(t,Wr,e,Va(e)),ed(Xm,t)}}function eh(e,t,n){e==="focusin"?(fc(),Rr=t,Wr=n,Rr.attachEvent("onpropertychange",xd)):e==="focusout"&&fc()}function th(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ls(Wr)}function nh(e,t){if(e==="click")return Ls(t)}function rh(e,t){if(e==="input"||e==="change")return Ls(t)}function oh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var at=typeof Object.is=="function"?Object.is:oh;function Vr(e,t){if(at(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Ai.call(t,o)||!at(e[o],t[o]))return!1}return!0}function mc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hc(e,t){var n=mc(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=mc(n)}}function _d(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_d(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sd(){for(var e=window,t=Jo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Jo(e.document)}return t}function el(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function sh(e){var t=Sd(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&_d(n.ownerDocument.documentElement,n)){if(r!==null&&el(n)){if
vendor: 4,424 bytes, line 38
38(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=hc(n,i);var a=hc(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var ih=kt&&"documentMode"in document&&11>=document.documentMode,Pn=null,Zi=null,Tr=null,ea=!1;function gc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ea||Pn==null||Pn!==Jo(r)||(r=Pn,"selectionStart"in r&&el(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Tr&&Vr(Tr,r)||(Tr=r,r=rs(Zi,"onSelect"),0<r.length&&(t=new Ka("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Pn)))}function jo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Nn={animationend:jo("Animation","AnimationEnd"),animationiteration:jo("Animation","AnimationIteration"),animationstart:jo("Animation","AnimationStart"),transitionend:jo("Transition","TransitionEnd")},si={},bd={};kt&&(bd=document.createElement("div").style,"AnimationEvent"in window||(delete Nn.animationend.animation,delete Nn.animationiteration.animation,delete Nn.animationstart.animation),"TransitionEvent"in window||delete Nn.transitionend.transition);function Is(e){if(si[e])return si[e];if(!Nn[e])return e;var t=Nn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in bd)return si[e]=t[n];return e}var kd=Is("animationend"),Cd=Is("animationiteration"),Ed=Is("animationstart"),Pd=Is("transitionend"),Nd=new Map,yc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Zt(e,t){Nd.set(e,t),vn(t,[e])}for(var ii=0;ii<yc.length;ii++){var ai=yc[ii],ah=ai.toLowerCase(),lh=ai[0].toUpperCase()+ai.slice(1);Zt(ah,"on"+lh)}Zt(kd,"onAnimationEnd");Zt(Cd,"onAnimationIteration");Zt(Ed,"onAnimationStart");Zt("dblclick","onDoubleClick");Zt("focusin","onFocus");Zt("focusout","onBlur");Zt(Pd,"onTransitionEnd");Gn("onMouseEnter",["mouseout","mouseover"]);Gn("onMouseLeave",["mouseout","mouseover"]);Gn("onPointerEnter",["pointerout","pointerover"]);Gn("onPointerLeave",["pointerout","pointerover"]);vn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));vn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));vn("onBeforeInput",["compositionend","keypress","textInput","paste"]);vn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));vn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));vn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _r="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(" "),ch=new Set("cancel close invalid load scroll toggle".split(" ").concat(_r));function vc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,am(r,t,void 0,e),e.currentTarget=null}
vendor: 4,966 bytes, line 38
38function Rd(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],c=l.instance,u=l.currentTarget;if(l=l.listener,c!==i&&o.isPropagationStopped())break e;vc(o,l,u),i=c}else for(a=0;a<r.length;a++){if(l=r[a],c=l.instance,u=l.currentTarget,l=l.listener,c!==i&&o.isPropagationStopped())break e;vc(o,l,u),i=c}}}if(Xo)throw e=Yi,Xo=!1,Yi=null,e}function X(e,t){var n=t[sa];n===void 0&&(n=t[sa]=new Set);var r=e+"__bubble";n.has(r)||(Td(t,e,2,!1),n.add(r))}function li(e,t,n){var r=0;t&&(r|=4),Td(n,e,r,t)}var xo="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[xo]){e[xo]=!0,Mu.forEach(function(n){n!=="selectionchange"&&(ch.has(n)||li(n,!1,e),li(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[xo]||(t[xo]=!0,li("selectionchange",!1,t))}}function Td(e,t,n,r){switch(md(t)){case 1:var o=Sm;break;case 4:o=bm;break;default:o=Ya}n=o.bind(null,t,n,e),o=void 0,!Qi||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function ci(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(a===4)for(a=r.return;a!==null;){var c=a.tag;if((c===3||c===4)&&(c=a.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;a=a.return}for(;l!==null;){if(a=on(l),a===null)return;if(c=a.tag,c===5||c===6){r=i=a;continue e}l=l.parentNode}}r=r.return}ed(function(){var u=i,h=Va(n),d=[];e:{var y=Nd.get(e);if(y!==void 0){var w=Ka,m=e;switch(e){case"keypress":if(Do(n)===0)break e;case"keydown":case"keyup":w=Fm;break;case"focusin":m="focus",w=ni;break;case"focusout":m="blur",w=ni;break;case"beforeblur":case"afterblur":w=ni;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":w=ic;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=Em;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=Um;break;case kd:case Cd:case Ed:w=Rm;break;case Pd:w=Wm;break;case"scroll":w=km;break;case"wheel":w=Hm;break;case"copy":case"cut":case"paste":w=Lm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=lc}var j=(t&4)!==0,x=!j&&e==="scroll",f=j?y!==null?y+"Capture":null:y;j=[];for(var g=u,v;g!==null;){v=g;var _=v.stateNode;if(v.tag===5&&_!==null&&(v=_,f!==null&&(_=$r(g,f),_!=null&&j.push(Gr(g,_,v)))),x)break;g=g.return}0<j.length&&(y=new w(y,m,null,n,h),d.push({event:y,listeners:j}))}}if(!(t&7)){e:{if(y=e==="mouseover"||e==="pointerover",w=e==="mouseout"||e==="pointerout",y&&n!==Hi&&(m=n.relatedTarget||n.fromElement)&&(on(m)||m[Ct]))break e;if((w||y)&&(y=h.window===h?h:(y=h.ownerDocument)?y.defaultView||y.parentWindow:window,w?(m=n.relatedTarget||n.toElement,w=u,m=m?on(m):null,m!==null&&(x=wn(m),m!==x||m.tag!==5&&m.tag!==6)&&(m=null)):(w=null,m=u),w!==m)){if(j=ic,_="onMouseLeave",f="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(j=lc,_="onPointerLeave",f="onPointerEnter",g="pointer"),x=w==null?y:Rn(w),v=m==null?y:Rn(m),y=new j(_,g+"leave",w,n,h),y.target=x,y.relatedTarget=v,_=null,on(h)===u&&(j=new j(f,g+"enter",m,n,h),j.target=v,j.relatedTarget=x,_=j),x=_,w&&m)t:{for(j=w,f=m,g=0,v=j;v;v=Sn(v))g++;for(v=0,_=f;_;_=Sn(_))v++;for(;0<g-v;)j=Sn(j),g--;for(;0<v-g;)f=Sn(f),v--;for(;g--;){if(j===f||f!==null&&j===f.alternate)break t;j=Sn(j),f=Sn(f)}j=null}else j=null;w!==null&&wc(d,y,w,j,!1),m!==null&&x!==null&&wc(d,x,m,j,!0)}}e:{if(y=u?Rn(u):window,w=y.nodeName&&y.nodeName.toLowerCase(),w==="select"||w==="input"&&y.type==="file")var S=Zm;else if(dc(y))if(jd)S=rh;else{S=th;var b=eh}else(w=y.nodeName)&&w.toLowerCase()==="input"&&(y.type==="checkbox"||y.type==="radio")&&(S=nh);if(S&&(S=S(e,u))){wd(d,S,n,h);break e}b&&b(e,y,u),e==="focusout"&&(b=y._wrapperState)&&b.controlled&&y.type==="number"&&Bi(y,"number",y.value)}switch(b=u?Rn(u):window,e){case"focusin":(dc(b)||b.contentEditable==="true")&&(Pn=b,Zi=u,Tr=null);break;case"focusout":Tr=Zi=Pn=null;break;case"mousedown":ea=!0;break;case"contextmenu":case"mouseup":case"dragend":ea=!1,gc(d,n,h);break;case"selectionchange":if(ih)break;case"keydown":case"keyup":gc(d,n,h)}var P;if(Za)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else En?yd(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(gd&&n.locale!=="ko"&&(En||N!=="onCompositionStart"?N==="onCompositionEnd"&&En&&(P=hd()):(
vendor: 5,267 bytes, lines 38-39
38Ft=h,Ja="value"in Ft?Ft.value:Ft.textContent,En=!0)),b=rs(u,N),0<b.length&&(N=new ac(N,e,null,n,h),d.push({event:N,listeners:b}),P?N.data=P:(P=vd(n),P!==null&&(N.data=P)))),(P=Qm?Ym(e,n):Jm(e,n))&&(u=rs(u,"onBeforeInput"),0<u.length&&(h=new ac("onBeforeInput","beforeinput",null,n,h),d.push({event:h,listeners:u}),h.data=P))}Rd(d,t)})}function Gr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function rs(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=$r(e,n),i!=null&&r.unshift(Gr(e,i,o)),i=$r(e,t),i!=null&&r.push(Gr(e,i,o))),e=e.return}return r}function Sn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function wc(e,t,n,r,o){for(var i=t._reactName,a=[];n!==null&&n!==r;){var l=n,c=l.alternate,u=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&u!==null&&(l=u,o?(c=$r(n,i),c!=null&&a.unshift(Gr(n,c,l))):o||(c=$r(n,i),c!=null&&a.push(Gr(n,c,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var uh=/\r\n?/g,dh=/\u0000|\uFFFD/g;function jc(e){return(typeof e=="string"?e:""+e).replace(uh,`
39`).replace(dh,"")}function _o(e,t,n){if(t=jc(t),jc(e)!==t&&n)throw Error(C(425))}function os(){}var ta=null,na=null;function ra(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var oa=typeof setTimeout=="function"?setTimeout:void 0,ph=typeof clearTimeout=="function"?clearTimeout:void 0,xc=typeof Promise=="function"?Promise:void 0,fh=typeof queueMicrotask=="function"?queueMicrotask:typeof xc<"u"?function(e){return xc.resolve(null).then(e).catch(mh)}:oa;function mh(e){setTimeout(function(){throw e})}function ui(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),qr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);qr(t)}function Wt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function _c(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var or=Math.random().toString(36).slice(2),ft="__reactFiber$"+or,Qr="__reactProps$"+or,Ct="__reactContainer$"+or,sa="__reactEvents$"+or,hh="__reactListeners$"+or,gh="__reactHandles$"+or;function on(e){var t=e[ft];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ct]||n[ft]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=_c(e);e!==null;){if(n=e[ft])return n;e=_c(e)}return t}e=n,n=e.parentNode}return null}function so(e){return e=e[ft]||e[Ct],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Rn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(C(33))}function As(e){return e[Qr]||null}var ia=[],Tn=-1;function en(e){return{current:e}}function Z(e){0>Tn||(e.current=ia[Tn],ia[Tn]=null,Tn--)}function K(e,t){Tn++,ia[Tn]=e.current,e.current=t}var Kt={},Ee=en(Kt),Oe=en(!1),fn=Kt;function Qn(e,t){var n=e.type.contextTypes;if(!n)return Kt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function De(e){return e=e.childContextTypes,e!=null}function ss(){Z(Oe),Z(Ee)}function Sc(e,t,n){if(Ee.current!==Kt)throw Error(C(168));K(Ee,t),K(Oe,n)}function Ld(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(C(108,em(e)||"Unknown",o));return le({},n,r)}function is(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Kt,fn=Ee.current,K(Ee,e),K(Oe,Oe.current),!0}function bc(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=Ld(e,t,fn),r.__reactInternalMemoizedMergedChildContext=e,Z(Oe),Z(Ee),K(Ee,e)):Z(Oe),K(Oe,n)}var jt=null,Os=!1,di=!1;function Id(e){jt===null?jt=[e]:jt.push(e)}function yh(e){Os=!0,Id(e)}function tn(){if(!di&&jt!==null){di=!0;var e=0,t=V;try{var n=jt;for(V=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}jt=null,Os=!1}catch(o){throw jt!==null&&(jt=jt.slice(e+1)),od(Ha,tn),o}finally{V=t,di=!1}}return null}var Ln=[],In=0,as=null,ls=0,Ge=[],Qe=0,mn=null,xt=1,_t="";function nn(e,t){Ln[In++]=ls,Ln[In++]=as,as=e,ls=t}function Ad(e,t,n){Ge[Qe++]=xt,Ge[Qe++]=_t,Ge[Qe++]=mn,mn=e;var r=xt;e=_t;var o=32-st(r)-1;r&=~(1<<o),n+=1;var i=32-st(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,xt=1<<32-st(t)+o|n<<o|r,_t=i+e}else xt=1<<i|n<<o|r,_t=e}function tl(e){e.return!==null&&(nn(e,1),Ad(e,1,0))}function nl(e){for(;e===as;)as=Ln[--In],Ln[In]=null,ls=Ln[--In],Ln[In]=null;for(;e===mn;)mn=Ge[--Qe],Ge[Qe]=null,_t=Ge[--Qe],Ge[Qe]=null,xt=Ge[--Qe],Ge[Qe]=null}var $e=null,Fe=null,te=!1,rt=null;function Od(e,t){var n=Ye(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function kc(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 12,922 bytes, line 39
39return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,$e=e,Fe=Wt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,$e=e,Fe=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=mn!==null?{id:xt,overflow:_t}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ye(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,$e=e,Fe=null,!0):!1;default:return!1}}function aa(e){return(e.mode&1)!==0&&(e.flags&128)===0}function la(e){if(te){var t=Fe;if(t){var n=t;if(!kc(e,t)){if(aa(e))throw Error(C(418));t=Wt(n.nextSibling);var r=$e;t&&kc(e,t)?Od(r,n):(e.flags=e.flags&-4097|2,te=!1,$e=e)}}else{if(aa(e))throw Error(C(418));e.flags=e.flags&-4097|2,te=!1,$e=e}}}function Cc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;$e=e}function So(e){if(e!==$e)return!1;if(!te)return Cc(e),te=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ra(e.type,e.memoizedProps)),t&&(t=Fe)){if(aa(e))throw Dd(),Error(C(418));for(;t;)Od(e,t),t=Wt(t.nextSibling)}if(Cc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(C(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Fe=Wt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Fe=null}}else Fe=$e?Wt(e.stateNode.nextSibling):null;return!0}function Dd(){for(var e=Fe;e;)e=Wt(e.nextSibling)}function Yn(){Fe=$e=null,te=!1}function rl(e){rt===null?rt=[e]:rt.push(e)}var vh=Rt.ReactCurrentBatchConfig;function mr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(C(309));var r=n.stateNode}if(!r)throw Error(C(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var l=o.refs;a===null?delete l[i]:l[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(C(284));if(!n._owner)throw Error(C(290,e))}return e}function bo(e,t){throw e=Object.prototype.toString.call(t),Error(C(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ec(e){var t=e._init;return t(e._payload)}function zd(e){function t(f,g){if(e){var v=f.deletions;v===null?(f.deletions=[g],f.flags|=16):v.push(g)}}function n(f,g){if(!e)return null;for(;g!==null;)t(f,g),g=g.sibling;return null}function r(f,g){for(f=new Map;g!==null;)g.key!==null?f.set(g.key,g):f.set(g.index,g),g=g.sibling;return f}function o(f,g){return f=Qt(f,g),f.index=0,f.sibling=null,f}function i(f,g,v){return f.index=v,e?(v=f.alternate,v!==null?(v=v.index,v<g?(f.flags|=2,g):v):(f.flags|=2,g)):(f.flags|=1048576,g)}function a(f){return e&&f.alternate===null&&(f.flags|=2),f}function l(f,g,v,_){return g===null||g.tag!==6?(g=vi(v,f.mode,_),g.return=f,g):(g=o(g,v),g.return=f,g)}function c(f,g,v,_){var S=v.type;return S===Cn?h(f,g,v.props.children,_,v.key):g!==null&&(g.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Ot&&Ec(S)===g.type)?(_=o(g,v.props),_.ref=mr(f,g,v),_.return=f,_):(_=qo(v.type,v.key,v.props,null,f.mode,_),_.ref=mr(f,g,v),_.return=f,_)}function u(f,g,v,_){return g===null||g.tag!==4||g.stateNode.containerInfo!==v.containerInfo||g.stateNode.implementation!==v.implementation?(g=wi(v,f.mode,_),g.return=f,g):(g=o(g,v.children||[]),g.return=f,g)}function h(f,g,v,_,S){return g===null||g.tag!==7?(g=dn(v,f.mode,_,S),g.return=f,g):(g=o(g,v),g.return=f,g)}function d(f,g,v){if(typeof g=="string"&&g!==""||typeof g=="number")return g=vi(""+g,f.mode,v),g.return=f,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case fo:return v=qo(g.type,g.key,g.props,null,f.mode,v),v.ref=mr(f,null,g),v.return=f,v;case kn:return g=wi(g,f.mode,v),g.return=f,g;case Ot:var _=g._init;return d(f,_(g._payload),v)}if(jr(g)||cr(g))return g=dn(g,f.mode,v,null),g.return=f,g;bo(f,g)}return null}function y(f,g,v,_){var S=g!==null?g.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return S!==null?null:l(f,g,""+v,_);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case fo:return v.key===S?c(f,g,v,_):null;case kn:return v.key===S?u(f,g,v,_):null;case Ot:return S=v._init,y(f,g,S(v._payload),_)}if(jr(v)||cr(v))return S!==null?null:h(f,g,v,_,null);bo(f,v)}return null}function w(f,g,v,_,S){if(typeof _=="string"&&_!==""||typeof _=="number")return f=f.get(v)||null,l(g,f,""+_,S);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case fo:return f=f.get(_.key===null?v:_.key)||null,c(g,f,_,S);case kn:return f=f.get(_.key===null?v:_.key)||null,u(g,f,_,S);case Ot:var b=_._init;return w(f,g,v,b(_._payload),S)}if(jr(_)||cr(_))return f=f.get(v)||null,h(g,f,_,S,null);bo(g,_)}return null}function m(f,g,v,_){for(var S=null,b=null,P=g,N=g=0,$=null;P!==null&&N<v.length;N++){P.index>N?($=P,P=null):$=P.sibling;var L=y(f,P,v[N],_);if(L===null){P===null&&(P=$);break}e&&P&&L.alternate===null&&t(f,P),g=i(L,g,N),b===null?S=L:b.sibling=L,b=L,P=$}if(N===v.length)return n(f,P),te&&nn(f,N),S;if(P===null){for(;N<v.length;N++)P=d(f,v[N],_),P!==null&&(g=i(P,g,N),b===null?S=P:b.sibling=P,b=P);return te&&nn(f,N),S}for(P=r(f,P);N<v.length;N++)$=w(P,f,N,v[N],_),$!==null&&(e&&$.alternate!==null&&P.delete($.key===null?N:$.key),g=i($,g,N),b===null?S=$:b.sibling=$,b=$);return e&&P.forEach(function(ee){return t(f,ee)}),te&&nn(f,N),S}function j(f,g,v,_){var S=cr(v);if(typeof S!="function")throw Error(C(150));if(v=S.call(v),v==null)throw Error(C(151));for(var b=S=null,P=g,N=g=0,$=null,L=v.next();P!==null&&!L.done;N++,L=v.next()){P.index>N?($=P,P=null):$=P.sibling;var ee=y(f,P,L.value,_);if(ee===null){P===null&&(P=$);break}e&&P&&ee.alternate===null&&t(f,P),g=i(ee,g,N),b===null?S=ee:b.sibling=ee,b=ee,P=$}if(L.done)return n(f,P),te&&nn(f,N),S;if(P===null){for(;!L.done;N++,L=v.next())L=d(f,L.value,_),L!==null&&(g=i(L,g,N),b===null?S=L:b.sibling=L,b=L);return te&&nn(f,N),S}for(P=r(f,P);!L.done;N++,L=v.next())L=w(P,f,N,L.value,_),L!==null&&(e&&L.alternate!==null&&P.delete(L.key===null?N:L.key),g=i(L,g,N),b===null?S=L:b.sibling=L,b=L);return e&&P.forEach(function(re){return t(f,re)}),te&&nn(f,N),S}function x(f,g,v,_){if(typeof v=="object"&&v!==null&&v.type===Cn&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case fo:e:{for(var S=v.key,b=g;b!==null;){if(b.key===S){if(S=v.type,S===Cn){if(b.tag===7){n(f,b.sibling),g=o(b,v.props.children),g.return=f,f=g;break e}}else if(b.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===Ot&&Ec(S)===b.type){n(f,b.sibling),g=o(b,v.props),g.ref=mr(f,b,v),g.return=f,f=g;break e}n(f,b);break}else t(f,b);b=b.sibling}v.type===Cn?(g=dn(v.props.children,f.mode,_,v.key),g.return=f,f=g):(_=qo(v.type,v.key,v.props,null,f.mode,_),_.ref=mr(f,g,v),_.return=f,f=_)}return a(f);case kn:e:{for(b=v.key;g!==null;){if(g.key===b)if(g.tag===4&&g.stateNode.containerInfo===v.containerInfo&&g.stateNode.implementation===v.implementation){n(f,g.sibling),g=o(g,v.children||[]),g.return=f,f=g;break e}else{n(f,g);break}else t(f,g);g=g.sibling}g=wi(v,f.mode,_),g.return=f,f=g}return a(f);case Ot:return b=v._init,x(f,g,b(v._payload),_)}if(jr(v))return m(f,g,v,_);if(cr(v))return j(f,g,v,_);bo(f,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,g!==null&&g.tag===6?(n(f,g.sibling),g=o(g,v),g.return=f,f=g):(n(f,g),g=vi(v,f.mode,_),g.return=f,f=g),a(f)):n(f,g)}return x}var Jn=zd(!0),Md=zd(!1),cs=en(null),us=null,An=null,ol=null;function sl(){ol=An=us=null}function il(e){var t=cs.current;Z(cs),e._currentValue=t}function ca(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Un(e,t){us=e,ol=An=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ae=!0),e.firstContext=null)}function Ke(e){var t=e._currentValue;if(ol!==e)if(e={context:e,memoizedValue:t,next:null},An===null){if(us===null)throw Error(C(308));An=e,us.dependencies={lanes:0,firstContext:e}}else An=An.next=e;return t}var sn=null;function al(e){sn===null?sn=[e]:sn.push(e)}function Fd(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,al(t)):(n.next=o.next,o.next=n),t.interleaved=n,Et(e,r)}function Et(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Dt=!1;function ll(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $d(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function St(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,W&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Et(e,n)}return o=r.interleaved,o===null?(t.next=t,al(r)):(t.next=o.next,o.next=t),r.interleaved=t,Et(e,n)}function zo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ga(e,n)}}function Pc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ds(e,t,n,r){var o=e.updateQueue;Dt=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var c=l,u=c.next;c.next=null,a===null?i=u:a.next=u,a=c;var h=e.alternate;h!==null&&(h=h.updateQueue,l=h.lastBaseUpdate,l!==a&&(l===null?h.firstBaseUpdate=u:l.next=u,h.lastBaseUpdate=c))}if(i!==null){var d=o.baseState;a=0,h=u=c=null,l=i;do{var y=l.lane,w=l.eventTime;if((r&y)===y){h!==null&&(h=h.next={eventTime:w,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,j=l;switch(y=t,w=n,j.tag){case 1:if(m=j.payload,typeof m=="function"){d=m.call(w,d,y);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=j.payload,y=typeof m=="function"?m.call(w,d,y):m,y==null)break e;d=le({},d,y);break e;case 2:Dt=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,y=o.effects,y===null?o.effects=[l]:y.push(l))}else w={eventTime:w,lane:y,tag:l.tag,payload:l.payload,callback:l.callback,next:null},h===null?(u=h=w,c=d):h=h.next=w,a|=y;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;y=l,l=y.next,y.next=null,o.lastBaseUpdate=y,o.shared.pending=null}}while(!0);if(h===null&&(c=d),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=h,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);gn|=a,e.lanes=a,e.memoizedState=d}}function Nc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(C(191,o));o.call(r)}}}var io={},gt=en(io),Yr=en(io),Jr=en(io);function an(e){if(e===io)throw Error(C(174));return e}function cl(e,t){switch(K(Jr,t),K(Yr,e),K(gt,io),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:qi(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=qi(t,e)}Z(gt),K(gt,t)}function Kn(){Z(gt),Z(Yr),Z(Jr)}function Bd(e){an(Jr.current);var t=an(gt.current),n=qi(t,e.type);t!==n&&(K(Yr,e),K(gt,n))}function ul(e){Yr.current===e&&(Z(gt),Z(Yr))}var ie=en(0);function ps(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var pi=[];function dl(){for(var e=0;e<pi.length;e++)pi[e]._workInProgressVersionPrimary=null;pi.length=0}var Mo=Rt.ReactCurrentDispatcher,fi=Rt.ReactCurrentBatchConfig,hn=0,ae=null,fe=null,ye=null,fs=!1,Lr=!1,Kr=0,wh=0;function be(){throw Error(C(321))}function pl(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!at(e[n],t[n]))return!1;return!0}function fl(e,t,n,r,o,i){if(hn=i,ae=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Mo.current=e===null||e.memoizedState===null?Sh:bh,e=n(r,o),Lr){i=0;do{if(Lr=!1,Kr=0,25<=i)throw Error(C(301));i+=1,ye=fe=null,t.updateQueue=null,Mo.current=kh,e=n(r,o)}while(Lr)}
vendor: 6,976 bytes, line 39
39if(Mo.current=ms,t=fe!==null&&fe.next!==null,hn=0,ye=fe=ae=null,fs=!1,t)throw Error(C(300));return e}function ml(){var e=Kr!==0;return Kr=0,e}function dt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ye===null?ae.memoizedState=ye=e:ye=ye.next=e,ye}function Xe(){if(fe===null){var e=ae.alternate;e=e!==null?e.memoizedState:null}else e=fe.next;var t=ye===null?ae.memoizedState:ye.next;if(t!==null)ye=t,fe=e;else{if(e===null)throw Error(C(310));fe=e,e={memoizedState:fe.memoizedState,baseState:fe.baseState,baseQueue:fe.baseQueue,queue:fe.queue,next:null},ye===null?ae.memoizedState=ye=e:ye=ye.next=e}return ye}function Xr(e,t){return typeof t=="function"?t(e):t}function mi(e){var t=Xe(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=fe,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=a=null,c=null,u=i;do{var h=u.lane;if((hn&h)===h)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:h,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(l=c=d,a=r):c=c.next=d,ae.lanes|=h,gn|=h}u=u.next}while(u!==null&&u!==i);c===null?a=r:c.next=l,at(r,t.memoizedState)||(Ae=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,ae.lanes|=i,gn|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function hi(e){var t=Xe(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);at(i,t.memoizedState)||(Ae=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ud(){}function qd(e,t){var n=ae,r=Xe(),o=t(),i=!at(r.memoizedState,o);if(i&&(r.memoizedState=o,Ae=!0),r=r.queue,hl(Hd.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ye!==null&&ye.memoizedState.tag&1){if(n.flags|=2048,Zr(9,Vd.bind(null,n,r,o,t),void 0,null),ve===null)throw Error(C(349));hn&30||Wd(n,t,o)}return o}function Wd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ae.updateQueue,t===null?(t={lastEffect:null,stores:null},ae.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Vd(e,t,n,r){t.value=n,t.getSnapshot=r,Gd(t)&&Qd(e)}function Hd(e,t,n){return n(function(){Gd(t)&&Qd(e)})}function Gd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!at(e,n)}catch{return!0}}function Qd(e){var t=Et(e,1);t!==null&&it(t,e,1,-1)}function Rc(e){var t=dt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Xr,lastRenderedState:e},t.queue=e,e=e.dispatch=_h.bind(null,ae,e),[t.memoizedState,e]}function Zr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ae.updateQueue,t===null?(t={lastEffect:null,stores:null},ae.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Yd(){return Xe().memoizedState}function Fo(e,t,n,r){var o=dt();ae.flags|=e,o.memoizedState=Zr(1|t,n,void 0,r===void 0?null:r)}function Ds(e,t,n,r){var o=Xe();r=r===void 0?null:r;var i=void 0;if(fe!==null){var a=fe.memoizedState;if(i=a.destroy,r!==null&&pl(r,a.deps)){o.memoizedState=Zr(t,n,i,r);return}}ae.flags|=e,o.memoizedState=Zr(1|t,n,i,r)}function Tc(e,t){return Fo(8390656,8,e,t)}function hl(e,t){return Ds(2048,8,e,t)}function Jd(e,t){return Ds(4,2,e,t)}function Kd(e,t){return Ds(4,4,e,t)}function Xd(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Zd(e,t,n){return n=n!=null?n.concat([e]):null,Ds(4,4,Xd.bind(null,t,e),n)}function gl(){}function ep(e,t){var n=Xe();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&pl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function tp(e,t){var n=Xe();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&pl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function np(e,t,n){return hn&21?(at(n,t)||(n=ad(),ae.lanes|=n,gn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ae=!0),e.memoizedState=n)}function jh(e,t){var n=V;V=n!==0&&4>n?n:4,e(!0);var r=fi.transition;fi.transition={};try{e(!1),t()}finally{V=n,fi.transition=r}}function rp(){return Xe().memoizedState}function xh(e,t,n){var r=Gt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},op(e))sp(t,n);else if(n=Fd(e,t,n,r),n!==null){var o=Re();it(n,e,r,o),ip(n,t,r)}}function _h(e,t,n){var r=Gt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(op(e))sp(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,at(l,a)){var c=t.interleaved;c===null?(o.next=o,al(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=Fd(e,t,o,r),n!==null&&(o=Re(),it(n,e,r,o),ip(n,t,r))}}function op(e){var t=e.alternate;return e===ae||t!==null&&t===ae}function sp(e,t){Lr=fs=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ip(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ga(e,n)}}var ms={readContext:Ke,useCallback:be,useContext:be,useEffect:be,useImperativeHandle:be,useInsertionEffect:be,useLayoutEffect:be,useMemo:be,useReducer:be,useRef:be,useState:be,useDebugValue:be,useDeferredValue:be,useTransition:be,useMutableSource:be,useSyncExternalStore:be,useId:be,unstable_isNewReconciler:!1},Sh={readContext:Ke,useCallback:function(e,t){return dt().memoizedState=[e,t===void 0?null:t],e},useContext:Ke,useEffect:Tc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Fo(4194308,4,Xd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Fo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Fo(4,2,e,t)},useMemo:function(e,t){var n=dt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=dt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=xh.bind(null,ae,e),[r.memoizedState,e]},useRef:function(e){var t=dt();return e={current:e},t.memoizedState=e},useState:Rc,useDebugValue:gl,useDeferredValue:function(e){return dt().memoizedState=e},useTransition:function(){var e=Rc(!1),t=e[0];return e=jh.bind(null,e[1]),dt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ae,o=dt();if(te){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),ve===null)throw Error(C(349));hn&30||Wd(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};
vendor: 4,268 bytes, lines 39-41
39return o.queue=i,Tc(Hd.bind(null,r,i,e),[e]),r.flags|=2048,Zr(9,Vd.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=dt(),t=ve.identifierPrefix;if(te){var n=_t,r=xt;n=(r&~(1<<32-st(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Kr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=wh++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},bh={readContext:Ke,useCallback:ep,useContext:Ke,useEffect:hl,useImperativeHandle:Zd,useInsertionEffect:Jd,useLayoutEffect:Kd,useMemo:tp,useReducer:mi,useRef:Yd,useState:function(){return mi(Xr)},useDebugValue:gl,useDeferredValue:function(e){var t=Xe();return np(t,fe.memoizedState,e)},useTransition:function(){var e=mi(Xr)[0],t=Xe().memoizedState;return[e,t]},useMutableSource:Ud,useSyncExternalStore:qd,useId:rp,unstable_isNewReconciler:!1},kh={readContext:Ke,useCallback:ep,useContext:Ke,useEffect:hl,useImperativeHandle:Zd,useInsertionEffect:Jd,useLayoutEffect:Kd,useMemo:tp,useReducer:hi,useRef:Yd,useState:function(){return hi(Xr)},useDebugValue:gl,useDeferredValue:function(e){var t=Xe();return fe===null?t.memoizedState=e:np(t,fe.memoizedState,e)},useTransition:function(){var e=hi(Xr)[0],t=Xe().memoizedState;return[e,t]},useMutableSource:Ud,useSyncExternalStore:qd,useId:rp,unstable_isNewReconciler:!1};function tt(e,t){if(e&&e.defaultProps){t=le({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ua(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:le({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var zs={isMounted:function(e){return(e=e._reactInternals)?wn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Re(),o=Gt(e),i=St(r,o);i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,o),t!==null&&(it(t,e,o,r),zo(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Re(),o=Gt(e),i=St(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,o),t!==null&&(it(t,e,o,r),zo(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Re(),r=Gt(e),o=St(n,r);o.tag=2,t!=null&&(o.callback=t),t=Vt(e,o,r),t!==null&&(it(t,e,r,n),zo(t,e,r))}};function Lc(e,t,n,r,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!Vr(n,r)||!Vr(o,i):!0}function ap(e,t,n){var r=!1,o=Kt,i=t.contextType;return typeof i=="object"&&i!==null?i=Ke(i):(o=De(t)?fn:Ee.current,r=t.contextTypes,i=(r=r!=null)?Qn(e,o):Kt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=zs,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ic(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&zs.enqueueReplaceState(t,t.state,null)}function da(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},ll(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Ke(i):(i=De(t)?fn:Ee.current,o.context=Qn(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(ua(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&zs.enqueueReplaceState(o,o.state,null),ds(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Xn(e,t){try{var n="",r=t;do n+=Zf(r),r=r.return;while(r);var o=n}catch(i){o=`
40Error generating stack: `+i.message+`
41`+i.stack}return{value:e,source:t,stack:o,digest:null}}function gi(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function pa(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Ch=typeof WeakMap=="function"?WeakMap:Map;function lp(e,t,n){n=St(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){gs||(gs=!0,_a=r),pa(e,t)},n}
vendor: 8,975 bytes, line 41
41function cp(e,t,n){n=St(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){pa(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){pa(e,t),typeof r!="function"&&(Ht===null?Ht=new Set([this]):Ht.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Ac(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Ch;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=$h.bind(null,e,t,n),t.then(e,e))}function Oc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Dc(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=St(-1,1),t.tag=2,Vt(n,t,1))),n.lanes|=1),e)}var Eh=Rt.ReactCurrentOwner,Ae=!1;function Pe(e,t,n,r){t.child=e===null?Md(t,null,n,r):Jn(t,e.child,n,r)}function zc(e,t,n,r,o){n=n.render;var i=t.ref;return Un(t,o),r=fl(e,t,n,r,i,o),n=ml(),e!==null&&!Ae?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Pt(e,t,o)):(te&&n&&tl(t),t.flags|=1,Pe(e,t,r,o),t.child)}function Mc(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!bl(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,up(e,t,i,r,o)):(e=qo(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:Vr,n(a,r)&&e.ref===t.ref)return Pt(e,t,o)}return t.flags|=1,e=Qt(i,r),e.ref=t.ref,e.return=t,t.child=e}function up(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Vr(i,r)&&e.ref===t.ref)if(Ae=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Ae=!0);else return t.lanes=e.lanes,Pt(e,t,o)}return fa(e,t,n,r,o)}function dp(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},K(Dn,Me),Me|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,K(Dn,Me),Me|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,K(Dn,Me),Me|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,K(Dn,Me),Me|=r;return Pe(e,t,o,n),t.child}function pp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function fa(e,t,n,r,o){var i=De(n)?fn:Ee.current;return i=Qn(t,i),Un(t,o),n=fl(e,t,n,r,i,o),r=ml(),e!==null&&!Ae?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Pt(e,t,o)):(te&&r&&tl(t),t.flags|=1,Pe(e,t,n,o),t.child)}function Fc(e,t,n,r,o){if(De(n)){var i=!0;is(t)}else i=!1;if(Un(t,o),t.stateNode===null)$o(e,t),ap(t,n,r),da(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var c=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ke(u):(u=De(n)?fn:Ee.current,u=Qn(t,u));var h=n.getDerivedStateFromProps,d=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||c!==u)&&Ic(t,a,r,u),Dt=!1;var y=t.memoizedState;a.state=y,ds(t,r,a,o),c=t.memoizedState,l!==r||y!==c||Oe.current||Dt?(typeof h=="function"&&(ua(t,n,h,r),c=t.memoizedState),(l=Dt||Lc(t,n,l,r,y,c,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=u,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,$d(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:tt(t.type,l),a.props=u,d=t.pendingProps,y=a.context,c=n.contextType,typeof c=="object"&&c!==null?c=Ke(c):(c=De(n)?fn:Ee.current,c=Qn(t,c));var w=n.getDerivedStateFromProps;(h=typeof w=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==d||y!==c)&&Ic(t,a,r,c),Dt=!1,y=t.memoizedState,a.state=y,ds(t,r,a,o);var m=t.memoizedState;l!==d||y!==m||Oe.current||Dt?(typeof w=="function"&&(ua(t,n,w,r),m=t.memoizedState),(u=Dt||Lc(t,n,u,r,y,m,c)||!1)?(h||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,m,c),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,m,c)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=c,r=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),r=!1)}return ma(e,t,n,r,i,o)}function ma(e,t,n,r,o,i){pp(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&bc(t,n,!1),Pt(e,t,i);r=t.stateNode,Eh.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Jn(t,e.child,null,i),t.child=Jn(t,null,l,i)):Pe(e,t,l,i),t.memoizedState=r.state,o&&bc(t,n,!0),t.child}function fp(e){var t=e.stateNode;t.pendingContext?Sc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Sc(e,t.context,!1),cl(e,t.containerInfo)}function $c(e,t,n,r,o){return Yn(),rl(o),t.flags|=256,Pe(e,t,n,r),t.child}var ha={dehydrated:null,treeContext:null,retryLane:0};function ga(e){return{baseLanes:e,cachePool:null,transitions:null}}function mp(e,t,n){var r=t.pendingProps,o=ie.current,i=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),K(ie,o&1),e===null)return la(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=$s(a,r,0,null),e=dn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ga(n),t.memoizedState=ha,e):yl(t,a));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return Ph(e,t,a,r,l,o,n);if(i){i=r.fallback,a=t.mode,o=e.child,l=o.sibling;var c={mode:"hidden",children:r.children};return!(a&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Qt(o,c),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=Qt(l,i):(i=dn(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?ga(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=ha,r}return i=e.child,e=i.sibling,r=Qt(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function yl(e,t){return t=$s({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ko(e,t,n,r){return r!==null&&rl(r),Jn(t,e.child,null,n),e=yl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ph(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=gi(Error(C(422))),ko(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=$s({mode:"visible",children:r.children},o,0,null),i=dn(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Jn(t,e.child,null,a),t.child.memoizedState=ga(a),t.memoizedState=ha,i);if(!(t.mode&1))return ko(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(C(419)),r=gi(i,r,void 0),ko(e,t,a,r)}if(l=(a&e.childLanes)!==0,Ae||l){if(r=ve,r!==null){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|a)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Et
vendor: 7,293 bytes, line 41
41(e,o),it(r,e,o,-1))}return Sl(),r=gi(Error(C(421))),ko(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Bh.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Fe=Wt(o.nextSibling),$e=t,te=!0,rt=null,e!==null&&(Ge[Qe++]=xt,Ge[Qe++]=_t,Ge[Qe++]=mn,xt=e.id,_t=e.overflow,mn=t),t=yl(t,r.children),t.flags|=4096,t)}function Bc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ca(e.return,t,n)}function yi(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function hp(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Pe(e,t,r.children,n),r=ie.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Bc(e,n,t);else if(e.tag===19)Bc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(K(ie,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&ps(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),yi(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&ps(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}yi(t,!0,n,null,i);break;case"together":yi(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function $o(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Pt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),gn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(C(153));if(t.child!==null){for(e=t.child,n=Qt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Qt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Nh(e,t,n){switch(t.tag){case 3:fp(t),Yn();break;case 5:Bd(t);break;case 1:De(t.type)&&is(t);break;case 4:cl(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;K(cs,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(K(ie,ie.current&1),t.flags|=128,null):n&t.child.childLanes?mp(e,t,n):(K(ie,ie.current&1),e=Pt(e,t,n),e!==null?e.sibling:null);K(ie,ie.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return hp(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),K(ie,ie.current),r)break;return null;case 22:case 23:return t.lanes=0,dp(e,t,n)}return Pt(e,t,n)}var gp,ya,yp,vp;gp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};ya=function(){};yp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,an(gt.current);var i=null;switch(n){case"input":o=Fi(e,o),r=Fi(e,r),i=[];break;case"select":o=le({},o,{value:void 0}),r=le({},r,{value:void 0}),i=[];break;case"textarea":o=Ui(e,o),r=Ui(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=os)}Wi(n,r);var a;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Mr.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(i||(i=[]),i.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(i=i||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Mr.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&X("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};vp=function(e,t,n,r){n!==r&&(t.flags|=4)};function hr(e,t){if(!te)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ke(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Rh(e,t,n){var r=t.pendingProps;switch(nl(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ke(t),null;case 1:return De(t.type)&&ss(),ke(t),null;case 3:return r=t.stateNode,Kn(),Z(Oe),Z(Ee),dl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(So(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,rt!==null&&(ka(rt),rt=null))),ya(e,t),ke(t),null;case 5:ul(t);var o=an(Jr.current);if(n=t.type,e!==null&&t.stateNode!=null)yp(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(C(166));return ke(t),null}if(e=an(gt.current),So(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ft]=t,r[Qr]=i,e=(t.mode&1)!==0,n){case"dialog":X("cancel",r),X("close",r);break;case"iframe":case"object":case"embed":X("load",r);break;case"video":case"audio":for(o=0;o<_r.length;o++)X(_r[o],r);break;case"source":X("error",r);break;case"img":case"image":case"link":X("error",r),X("load",r);break;case"details":X("toggle",r);break;case"input":Jl(r,i),X("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},X("invalid",r);break;case"textarea":Xl(r,i),X("invalid",r)}Wi(n,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var l=i[a];a==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&_o(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&_o(r.textContent,l,e),o=["children",""+l]):Mr.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&X("scroll",r)}switch(n){case"input":mo(r),Kl(r,i,!0);break;case"textarea":mo(r),Zl(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=os)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Hu(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>
41",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[ft]=t,e[Qr]=r,gp(e,t,!1,!1),t.stateNode=e;e:{switch(a=Vi(n,r),n){case"dialog":X("cancel",e),X("close",e),o=r;break;case"iframe":case"object":case"embed":X("load",e),o=r;break;case"video":case"audio":for(o=0;o<_r.length;o++)X(_r[o],e);o=r;break;case"source":X("error",e),o=r;break;case"img":case"image":case"link":X("error",e),X("load",e),o=r;break;case"details":X("toggle",e),o=r;break;case"input":Jl(e,r),o=Fi(e,r),X("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=le({},r,{value:void 0}),X("invalid",e);break;case"textarea":Xl(e,r),o=Ui(e,r),X("invalid",e);break;default:o=r}Wi(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var c=l[i];i==="style"?Yu(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&Gu(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Fr(e,c):typeof c=="number"&&Fr(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Mr.hasOwnProperty(i)?c!=null&&i==="onScroll"&&X("scroll",e):c!=null&&Ba(e,i,c,a))}switch(n){case"input":mo(e),Kl(e,r,!1);break;case"textarea":mo(e),Zl(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Jt(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Mn(e,!!r.multiple,i,!1):r.defaultValue!=null&&Mn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=os)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ke(t),null;case 6:if(e&&t.stateNode!=null)vp(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(C(166));if(n=an(Jr.current),an(gt.current),So(t)){if(r=t.stateNode,n=t.memoizedProps,r[ft]=t,(i=r.nodeValue!==n)&&(e=$e,e!==null))switch(e.tag){case 3:_o(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&_o(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[ft]=t,t.stateNode=r}return ke(t),null;case 13:if(Z(ie),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(te&&Fe!==null&&t.mode&1&&!(t.flags&128))Dd(),Yn(),t.flags|=98560,i=!1;else if(i=So(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(C(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(C(317));i[ft]=t}else Yn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ke(t),i=!1}else rt!==null&&(ka(rt),rt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ie.current&1?me===0&&(me=3):Sl())),t.updateQueue!==null&&(t.flags|=4),ke(t),null);case 4:return Kn(),ya(e,t),e===null&&Hr(t.stateNode.containerInfo),ke(t),null;case 10:return il(t.type._context),ke(t),null;case 17:return De(t.type)&&ss(),ke(t),null;case 19:if(Z(ie),i=t.memoizedState,i===null)return ke(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)hr(i,!1);else{if(me!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=ps(e),a!==null){for(t.flags|=128,hr(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return K(ie,ie.current&1|2),t.child}e=e.sibling}i.tail!==null&&ue()>Zn&&(t.flags|=128,r=!0,hr(i,!1),t.lanes=4194304)}else{if(!r)if(e=ps(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!te)return ke(t),null}else 2*ue()-i.renderingStartTime>Zn&&n!==1073741824&&(t.flags|=128,r=!0,hr(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ue(),t.sibling=null,n=ie.current,K(ie,r?n&1|2:n&1),t):(ke(t),null);case 22:case 23:return _l(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Me&1073741824&&(ke(t),t.subtreeFlags&6&&(t.flags|=8192)):ke(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function Th(e,t){switch(nl(t),t.tag){case 1:return De(t.type)&&ss(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 24,563 bytes, line 41
41case 3:return Kn(),Z(Oe),Z(Ee),dl(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ul(t),null;case 13:if(Z(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));Yn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Z(ie),null;case 4:return Kn(),null;case 10:return il(t.type._context),null;case 22:case 23:return _l(),null;case 24:return null;default:return null}}var Co=!1,Ce=!1,Lh=typeof WeakSet=="function"?WeakSet:Set,I=null;function On(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ce(e,t,r)}else n.current=null}function va(e,t,n){try{n()}catch(r){ce(e,t,r)}}var Uc=!1;function Ih(e,t){if(ta=ts,e=Sd(),el(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,l=-1,c=-1,u=0,h=0,d=e,y=null;t:for(;;){for(var w;d!==n||o!==0&&d.nodeType!==3||(l=a+o),d!==i||r!==0&&d.nodeType!==3||(c=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(w=d.firstChild)!==null;)y=d,d=w;for(;;){if(d===e)break t;if(y===n&&++u===o&&(l=a),y===i&&++h===r&&(c=a),(w=d.nextSibling)!==null)break;d=y,y=d.parentNode}d=w}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(na={focusedElem:e,selectionRange:n},ts=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var j=m.memoizedProps,x=m.memoizedState,f=t.stateNode,g=f.getSnapshotBeforeUpdate(t.elementType===t.type?j:tt(t.type,j),x);f.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(_){ce(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return m=Uc,Uc=!1,m}function Ir(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&va(t,n,i)}o=o.next}while(o!==r)}}function Ms(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function wa(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function wp(e){var t=e.alternate;t!==null&&(e.alternate=null,wp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ft],delete t[Qr],delete t[sa],delete t[hh],delete t[gh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function jp(e){return e.tag===5||e.tag===3||e.tag===4}function qc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ja(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=os));else if(r!==4&&(e=e.child,e!==null))for(ja(e,t,n),e=e.sibling;e!==null;)ja(e,t,n),e=e.sibling}function xa(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(xa(e,t,n),e=e.sibling;e!==null;)xa(e,t,n),e=e.sibling}var je=null,nt=!1;function It(e,t,n){for(n=n.child;n!==null;)xp(e,t,n),n=n.sibling}function xp(e,t,n){if(ht&&typeof ht.onCommitFiberUnmount=="function")try{ht.onCommitFiberUnmount(Rs,n)}catch{}switch(n.tag){case 5:Ce||On(n,t);case 6:var r=je,o=nt;je=null,It(e,t,n),je=r,nt=o,je!==null&&(nt?(e=je,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):je.removeChild(n.stateNode));break;case 18:je!==null&&(nt?(e=je,n=n.stateNode,e.nodeType===8?ui(e.parentNode,n):e.nodeType===1&&ui(e,n),qr(e)):ui(je,n.stateNode));break;case 4:r=je,o=nt,je=n.stateNode.containerInfo,nt=!0,It(e,t,n),je=r,nt=o;break;case 0:case 11:case 14:case 15:if(!Ce&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&va(n,t,a),o=o.next}while(o!==r)}It(e,t,n);break;case 1:if(!Ce&&(On(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ce(n,t,l)}It(e,t,n);break;case 21:It(e,t,n);break;case 22:n.mode&1?(Ce=(r=Ce)||n.memoizedState!==null,It(e,t,n),Ce=r):It(e,t,n);break;default:It(e,t,n)}}function Wc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Lh),t.forEach(function(r){var o=Uh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function et(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:je=l.stateNode,nt=!1;break e;case 3:je=l.stateNode.containerInfo,nt=!0;break e;case 4:je=l.stateNode.containerInfo,nt=!0;break e}l=l.return}if(je===null)throw Error(C(160));xp(i,a,o),je=null,nt=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(u){ce(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)_p(t,e),t=t.sibling}function _p(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(et(t,e),ut(e),r&4){try{Ir(3,e,e.return),Ms(3,e)}catch(j){ce(e,e.return,j)}try{Ir(5,e,e.return)}catch(j){ce(e,e.return,j)}}break;case 1:et(t,e),ut(e),r&512&&n!==null&&On(n,n.return);break;case 5:if(et(t,e),ut(e),r&512&&n!==null&&On(n,n.return),e.flags&32){var o=e.stateNode;try{Fr(o,"")}catch(j){ce(e,e.return,j)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&Wu(o,i),Vi(l,a);var u=Vi(l,i);for(a=0;a<c.length;a+=2){var h=c[a],d=c[a+1];h==="style"?Yu(o,d):h==="dangerouslySetInnerHTML"?Gu(o,d):h==="children"?Fr(o,d):Ba(o,h,d,u)}switch(l){case"input":$i(o,i);break;case"textarea":Vu(o,i);break;case"select":var y=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var w=i.value;w!=null?Mn(o,!!i.multiple,w,!1):y!==!!i.multiple&&(i.defaultValue!=null?Mn(o,!!i.multiple,i.defaultValue,!0):Mn(o,!!i.multiple,i.multiple?[]:"",!1))}o[Qr]=i}catch(j){ce(e,e.return,j)}}break;case 6:if(et(t,e),ut(e),r&4){if(e.stateNode===null)throw Error(C(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(j){ce(e,e.return,j)}}break;case 3:if(et(t,e),ut(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{qr(t.containerInfo)}catch(j){ce(e,e.return,j)}break;case 4:et(t,e),ut(e);break;case 13:et(t,e),ut(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(jl=ue())),r&4&&Wc(e);break;case 22:if(h=n!==null&&n.memoizedState!==null,e.mode&1?(Ce=(u=Ce)||h,et(t,e),Ce=u):et(t,e),ut(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!h&&e.mode&1)for(I=e,h=e.child;h!==null;){for(d=I=h;I!==null;){switch(y=I,w=y.child,y.tag){case 0:case 11:case 14:case 15:Ir(4,y,y.return);break;case 1:On(y,y.return);var m=y.stateNode;if(typeof m.componentWillUnmount=="function"){r=y,n=y.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(j){ce(r,n,j)}}break;case 5:On(y,y.return);break;case 22:if(y.memoizedState!==null){Hc(d);continue}}w!==null?(w.return=y,I=w):Hc(d)}h=h.sibling}e:for(h=null,d=e;;){if(d.tag===5){if(h===null){h=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=d.stateNode,c=d.memoizedProps.style,a=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=Qu("display",a))}catch(j){ce(e,e.return,j)}}}else if(d.tag===6){if(h===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(j){ce(e,e.return,j)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;h===d&&(h=null),d=d.return}h===d&&(h=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:et(t,e),ut(e),r&4&&Wc(e);break;case 21:break;default:et(t,e),ut(e)}}function ut(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(jp(n)){var r=n;break e}n=n.return}throw Error(C(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Fr(o,""),r.flags&=-33);var i=qc(e);xa(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,l=qc(e);ja(e,l,a);break;default:throw Error(C(161))}}catch(c){ce(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ah(e,t,n){I=e,Sp(e)}function Sp(e,t,n){for(var r=(e.mode&1)!==0;I!==null;){var o=I,i=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||Co;if(!a){var l=o.alternate,c=l!==null&&l.memoizedState!==null||Ce;l=Co;var u=Ce;if(Co=a,(Ce=c)&&!u)for(I=o;I!==null;)a=I,c=a.child,a.tag===22&&a.memoizedState!==null?Gc(o):c!==null?(c.return=a,I=c):Gc(o);for(;i!==null;)I=i,Sp(i),i=i.sibling;I=o,Co=l,Ce=u}Vc(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,I=i):Vc(e)}}function Vc(e){for(;I!==null;){var t=I;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ce||Ms(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ce)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:tt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Nc(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Nc(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var h=u.memoizedState;if(h!==null){var d=h.dehydrated;d!==null&&qr(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}Ce||t.flags&512&&wa(t)}catch(y){ce(t,t.return,y)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function Hc(e){for(;I!==null;){var t=I;if(t===e){I=null;break}var n=t.sibling;if(n!==null){n.return=t.return,I=n;break}I=t.return}}function Gc(e){for(;I!==null;){var t=I;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ms(4,t)}catch(c){ce(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(c){ce(t,o,c)}}var i=t.return;try{wa(t)}catch(c){ce(t,i,c)}break;case 5:var a=t.return;try{wa(t)}catch(c){ce(t,a,c)}}}catch(c){ce(t,t.return,c)}if(t===e){I=null;break}var l=t.sibling;if(l!==null){l.return=t.return,I=l;break}I=t.return}}var Oh=Math.ceil,hs=Rt.ReactCurrentDispatcher,vl=Rt.ReactCurrentOwner,Je=Rt.ReactCurrentBatchConfig,W=0,ve=null,pe=null,_e=0,Me=0,Dn=en(0),me=0,eo=null,gn=0,Fs=0,wl=0,Ar=null,Ie=null,jl=0,Zn=1/0,wt=null,gs=!1,_a=null,Ht=null,Eo=!1,$t=null,ys=0,Or=0,Sa=null,Bo=-1,Uo=0;function Re(){return W&6?ue():Bo!==-1?Bo:Bo=ue()}function Gt(e){return e.mode&1?W&2&&_e!==0?_e&-_e:vh.transition!==null?(Uo===0&&(Uo=ad()),Uo):(e=V,e!==0||(e=window.event,e=e===void 0?16:md(e.type)),e):1}function it(e,t,n,r){if(50<Or)throw Or=0,Sa=null,Error(C(185));ro(e,n,r),(!(W&2)||e!==ve)&&(e===ve&&(!(W&2)&&(Fs|=n),me===4&&Mt(e,_e)),ze(e,r),n===1&&W===0&&!(t.mode&1)&&(Zn=ue()+500,Os&&tn()))}function ze(e,t){var n=e.callbackNode;vm(e,t);var r=es(e,e===ve?_e:0);if(r===0)n!==null&&nc(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&nc(n),t===1)e.tag===0?yh(Qc.bind(null,e)):Id(Qc.bind(null,e)),fh(function(){!(W&6)&&tn()}),n=null;else{switch(ld(r)){case 1:n=Ha;break;case 4:n=sd;break;case 16:n=Zo;break;case 536870912:n=id;break;default:n=Zo}n=Tp(n,bp.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function bp(e,t){if(Bo=-1,Uo=0,W&6)throw Error(C(327));var n=e.callbackNode;if(qn()&&e.callbackNode!==n)return null;var r=es(e,e===ve?_e:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=vs(e,r);else{t=r;var o=W;W|=2;var i=Cp();(ve!==e||_e!==t)&&(wt=null,Zn=ue()+500,un(e,t));do try{Mh();break}catch(l){kp(e,l)}while(!0);sl(),hs.current=i,W=o,pe!==null?t=0:(ve=null,_e=0,t=me)}if(t!==0){if(t===2&&(o=Ji(e),o!==0&&(r=o,t=ba(e,o))),t===1)throw n=eo,un(e,0),Mt(e,r),ze(e,ue()),n;if(t===6)Mt(e,r);else{if(o=e.current.alternate,!(r&30)&&!Dh(o)&&(t=vs(e,r),t===2&&(i=Ji(e),i!==0&&(r=i,t=ba(e,i))),t===1))throw n=eo,un(e,0),Mt(e,r),ze(e,ue()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(C(345));case 2:rn(e,Ie,wt);break;case 3:if(Mt(e,r),(r&130023424)===r&&(t=jl+500-ue(),10<t)){if(es(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Re(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=oa(rn.bind(null,e,Ie,wt),t);break}rn(e,Ie,wt);break;case 4:if(Mt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-st(r);i=1<<a,a=t[a],a>o&&(o=a),r&=~i}if(r=o,r=ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Oh(r/1960))-r,10<r){e.timeoutHandle=oa(rn.bind(null,e,Ie,wt),r);break}rn(e,Ie,wt);break;case 5:rn(e,Ie,wt);break;default:throw Error(C(329))}}}return ze(e,ue()),e.callbackNode===n?bp.bind(null,e):null}function ba(e,t){var n=Ar;return e.current.memoizedState.isDehydrated&&(un(e,t).flags|=256),e=vs(e,t),e!==2&&(t=Ie,Ie=n,t!==null&&ka(t)),e}function ka(e){Ie===null?Ie=e:Ie.push.apply(Ie,e)}function Dh(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!at(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Mt(e,t){for(t&=~wl,t&=~Fs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-st(t),r=1<<n;e[n]=-1,t&=~r}}function Qc(e){if(W&6)throw Error(C(327));qn();var t=es(e,0);if(!(t&1))return ze(e,ue()),null;var n=vs(e,t);if(e.tag!==0&&n===2){var r=Ji(e);r!==0&&(t=r,n=ba(e,r))}if(n===1)throw n=eo,un(e,0),Mt(e,t),ze(e,ue()),n;if(n===6)throw Error(C(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,rn(e,Ie,wt),ze(e,ue()),null}function xl(e,t){var n=W;W|=1;try{return e(t)}finally{W=n,W===0&&(Zn=ue()+500,Os&&tn())}}function yn(e){$t!==null&&$t.tag===0&&!(W&6)&&qn();var t=W;W|=1;var n=Je.transition,r=V;try{if(Je.transition=null,V=1,e)return e()}finally{V=r,Je.transition=n,W=t,!(W&6)&&tn()}}function _l(){Me=Dn.current,Z(Dn)}function un(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,ph(n)),pe!==null)for(n=pe.return;n!==null;){var r=n;switch(nl(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ss();break;case 3:Kn(),Z(Oe),Z(Ee),dl();break;case 5:ul(r);break;case 4:Kn();break;case 13:Z(ie);break;case 19:Z(ie);break;case 10:il(r.type._context);break;case 22:case 23:_l()}n=n.return}if(ve=e,pe=e=Qt(e.current,null),_e=Me=t,me=0,eo=null,wl=Fs=gn=0,Ie=Ar=null,sn!==null){for(t=0;t<sn.length;t++)if(n=sn[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=o,r.next=a}n.pending=r}sn=null}return e}function kp(e,t){do{var n=pe;try{if(sl(),Mo.current=ms,fs){for(var r=ae.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}fs=!1}if(hn=0,ye=fe=ae=null,Lr=!1,Kr=0,vl.current=null,n===null||n.return===null){me=1,eo=t,pe=null;break}e:{var i=e,a=n.return,l=n,c=t;if(t=_e,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,h=l,d=h.tag;if(!(h.mode&1)&&(d===0||d===11||d===15)){var y=h.alternate;y?(h.updateQueue=y.updateQueue,h.memoizedState=y.memoizedState,h.lanes=y.lanes):(h.updateQueue=null,h.memoizedState=null)}var w=Oc(a);if(w!==null){w.flags&=-257,Dc(w,a,l,i,t),w.mode&1&&Ac(i,u,t),t=w,c=u;var m=t.updateQueue;if(m===null){var j=new Set;j.add(c),t.updateQueue=j}else m.add(c);break e}else{if(!(t&1)){Ac(i,u,t),Sl();break e}c=Error(C(426))}}else if(te&&l.mode&1){var x=Oc(a);if(x!==null){!(x.flags&65536)&&(x.flags|=256),Dc(x,a,l,i,t),rl(Xn(c,l));break e}}i=c=Xn(c,l),me!==4&&(me=2),Ar===null?Ar=[i]:Ar.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var f=lp(i,c,t);Pc(i,f);break e;case 1:l=c;var g=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof g.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Ht===null||!Ht.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var _=cp(i,l,t);Pc(i,_);break e}}i=i.return}while(i!==null)}Pp(n)}catch(S){t=S,pe===n&&n!==null&&(pe=n=n.return);continue}break}while(!0)}function Cp(){var e=hs.current;return hs.current=ms,e===null?ms:e}function Sl(){(me===0||me===3||me===2)&&(me=4),ve===null||!(gn&268435455)&&!(Fs&268435455)||Mt(ve,_e)}function vs(e,t){var n=W;W|=2;var r=Cp();(ve!==e||_e!==t)&&(wt=null,un(e,t));do try{zh();break}catch(o){kp(e,o)}while(!0);if(sl(),W=n,hs.current=r,pe!==null)throw Error(C(261));return ve=null,_e=0,me}function zh(){for(;pe!==null;)Ep(pe)}function Mh(){for(;pe!==null&&!cm();)Ep(pe)}function Ep(e){var t=Rp(e.alternate,e,Me);e.memoizedProps=e.pendingProps,t===null?Pp(e):pe=t,vl.current=null}function Pp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Th(n,t),n!==null){n.flags&=32767,pe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{me=6,pe=null;return}}else if(n=Rh(n,t,Me),n!==null){pe=n;return}if(t=t.sibling,t!==null){pe=t;return}pe=t=e}while(t!==null);me===0&&(me=5)}function rn(e,t,n){var r=V,o=Je.transition;try{Je.transition=null,V=1,Fh(e,t,n,r)}finally{Je.transition=o,V=r}return null}function Fh(e,t,n,r){do qn();while($t!==null);if(W&6)throw Error(C(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(C(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(wm(e,i),e===ve&&(pe=ve=null,_e=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Eo||(Eo=!0,Tp(Zo,function(){return qn(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Je.transition,Je.transition=null;var a=V;V=1;var l=W;W|=4,vl.current=null,Ih(e,n),_p(n,e),sh(na),ts=!!ta,na=ta=null,e.current=n,Ah(n),um(),W=l,V=a,Je.transition=i}else e.current=n;if(Eo&&(Eo=!1,$t=e,ys=o),i=e.pendingLanes,i===0&&(Ht=null),fm(n.stateNode),ze(e,ue()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(gs)throw gs=!1,e=_a,_a=null,e;return ys&1&&e.tag!==0&&qn(),i=e.pendingLanes,i&1?e===Sa?Or++:(Or=0,Sa=e):Or=0,tn(),null}function qn(){if($t!==null){var e=ld(ys),t=Je.transition,n=V;try{if(Je.transition=null,V=16>e?16:e,$t===null)var r=!1;else{if(e=$t,$t=null,ys=0,W&6)throw Error(C(331));var o=W;for(W|=4,I=e.current;I!==null;){var i=I,a=i.child;if(I.flags&16){var l=i.deletions;if(l!==null){for(var c=0;c<l.length;c++){var u=l[c];for(I=u;I!==null;){var h=I;switch(h.tag){case 0:case 11:case 15:Ir(8,h,i)}var d=h.child;if(d!==null)d.return=h,I=d;else for(;I!==null;){h=I;var y=h.sibling,w=h.return;if(wp(h),h===u){I=null;break}if(y!==null){y.return=w,I=y;break}I=w}}}var m=i.alternate;if(m!==null){var j=m.child;if(j!==null){m.child=null;do{var x=j.sibling;j.sibling=null,j=x}while(j!==null)}}I=i}}if(i.subtreeFlags&2064&&a!==null)a.return=i,I=a;else e:for(;I!==null;){if(i=I,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Ir(9,i,i.return)}var f=i.sibling;if(f!==null){f.return=i.return,I=f;break e}I=i.return}}var g=e.current;for(I=g;I!==null;){a=I;var v=a.child;if(a.subtreeFlags&2064&&v!==null)v.return=a,I=v;else e:for(a=g;I!==null;){if(l=I,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:Ms(9,l)}}catch(S){ce(l,l.return,S)}if(l===a){I=null;break e}var _=l.sibling;if(_!==null){_.return=l.return,I=_;break e}I=l.return}}if(W=o,tn(),ht&&typeof ht.onPostCommitFiberRoot=="function")try{ht.onPostCommitFiberRoot(Rs,e)}catch{}r=!0}return r}finally{V=n,Je.transition=t}}return!1}function Yc(e,t,n){t=Xn(n,t),t=lp(e,t,1),e=Vt(e,t,1),t=Re(),e!==null&&(ro(e,1,t),ze(e,t))}function ce(e,t,n){if(e.tag===3)Yc(e,e,n);else for(;t!==null;){if(t.tag===3){Yc(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Ht===null||!Ht.has(r))){e=Xn(n,e),e=cp(t,e,1),t=Vt(t,e,1),e=Re(),t!==null&&(ro(t,1,e),ze(t,e));break}}t=t.return}}function $h(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Re(),e.pingedLanes|=e.suspendedLanes&n,ve===e&&(_e&n)===n&&(me===4||me===3&&(_e&130023424)===_e&&500>ue()-jl?un(e,0):wl|=n),ze(e,t)}function Np(e,t){t===0&&(e.mode&1?(t=yo,yo<<=1,!(yo&130023424)&&(yo=4194304)):t=1);var n=Re();e=Et(e,t),e!==null&&(ro(e,t,n),ze(e,n))}function Bh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Np(e,n)}function Uh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),Np(e,n)}var Rp;Rp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Oe.current)Ae=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ae=!1,Nh(e,t,n);Ae=!!(e.flags&131072)}else Ae=!1,te&&t.flags&1048576&&Ad(t,ls,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$o(e,t),e=t.pendingProps;var o=Qn(t,Ee.current);Un(t,n),o=fl(null,t,r,e,o,n);var i=ml();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,De(r)?(i=!0,is(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ll(t),o.updater=zs,t.stateNode=o,o._reactInternals=t,da(t,r,e,n),t=ma(null,t,r,!0,i,n)):(t.tag=0,te&&i&&tl(t),Pe(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch($o(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Wh(r),e=tt(r,e),o){case 0:t=fa(null,t,r,e,n);break e;case 1:t=Fc(null,t,r,e,n);break e;case 11:t=zc(null,t,r,e,n);break e;case 14:t=Mc(null,t,r,tt(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),fa(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),Fc(e,t,r,o,n);case 3:e:{if(fp(t),e===null)throw Error(C(387));r=t.pendingProps,i=t.memoizedState,o=i.element,$d(e,t),ds(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Xn(Error(C(423)),t),t=$c(e,t,r,n,o);break e}else if(r!==o){o=Xn(Error(C(424)),t),t=$c(e,t,r,n,o);break e}else for(Fe=Wt(t.stateNode.containerInfo.firstChild),$e=t,te=!0,rt=null,n=Md(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Yn(),r===o){t=Pt(e,t,n);break e}Pe(e,t,r,n)}t=t.child}return t;case 5:return Bd(t),e===null&&la(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,ra(r,o)?a=null:i!==null&&ra(r,i)&&(t.flags|=32),pp(e,t),Pe(e,t,a,n),t.child;case 6:return e===null&&la(t),null;case 13:return mp(e,t,n);case 4:return cl(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Jn(t,null,r,n):Pe(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),zc(e,t,r,o,n);case 7:return Pe(e,t,t.pendingProps,n),t.child;case 8:return Pe(e,t,t.pendingProps.children,n),t.child;case 12:return Pe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,K(cs,r._currentValue),r._currentValue=a,i!==null)if(at(i.value,a)){if(i.children===o.children&&!Oe.current){t=Pt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);
vendor: 5,305 bytes, line 41
41i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=St(-1,n&-n),c.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var h=u.pending;h===null?c.next=c:(c.next=h.next,h.next=c),u.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),ca(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(C(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),ca(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}Pe(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Un(t,n),o=Ke(o),r=r(o),t.flags|=1,Pe(e,t,r,n),t.child;case 14:return r=t.type,o=tt(r,t.pendingProps),o=tt(r.type,o),Mc(e,t,r,o,n);case 15:return up(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:tt(r,o),$o(e,t),t.tag=1,De(r)?(e=!0,is(t)):e=!1,Un(t,n),ap(t,r,o),da(t,r,o,n),ma(null,t,r,!0,e,n);case 19:return hp(e,t,n);case 22:return dp(e,t,n)}throw Error(C(156,t.tag))};function Tp(e,t){return od(e,t)}function qh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ye(e,t,n,r){return new qh(e,t,n,r)}function bl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Wh(e){if(typeof e=="function")return bl(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qa)return 11;if(e===Wa)return 14}return 2}function Qt(e,t){var n=e.alternate;return n===null?(n=Ye(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function qo(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")bl(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Cn:return dn(n.children,o,i,t);case Ua:a=8,o|=8;break;case Oi:return e=Ye(12,n,t,o|2),e.elementType=Oi,e.lanes=i,e;case Di:return e=Ye(13,n,t,o),e.elementType=Di,e.lanes=i,e;case zi:return e=Ye(19,n,t,o),e.elementType=zi,e.lanes=i,e;case Bu:return $s(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Fu:a=10;break e;case $u:a=9;break e;case qa:a=11;break e;case Wa:a=14;break e;case Ot:a=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=Ye(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function dn(e,t,n,r){return e=Ye(7,e,r,t),e.lanes=n,e}function $s(e,t,n,r){return e=Ye(22,e,r,t),e.elementType=Bu,e.lanes=n,e.stateNode={isHidden:!1},e}function vi(e,t,n){return e=Ye(6,e,null,t),e.lanes=n,e}function wi(e,t,n){return t=Ye(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Vh(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Zs(0),this.expirationTimes=Zs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zs(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function kl(e,t,n,r,o,i,a,l,c){return e=new Vh(e,t,n,l,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ye(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ll(i),e}function Hh(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:kn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Lp(e){if(!e)return Kt;e=e._reactInternals;e:{if(wn(e)!==e||e.tag!==1)throw Error(C(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(De(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(C(171))}if(e.tag===1){var n=e.type;if(De(n))return Ld(e,n,t)}return t}function Ip(e,t,n,r,o,i,a,l,c){return e=kl(n,r,!0,e,o,i,a,l,c),e.context=Lp(null),n=e.current,r=Re(),o=Gt(n),i=St(r,o),i.callback=t??null,Vt(n,i,o),e.current.lanes=o,ro(e,o,r),ze(e,r),e}function Bs(e,t,n,r){var o=t.current,i=Re(),a=Gt(o);return n=Lp(n),t.context===null?t.context=n:t.pendingContext=n,t=St(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Vt(o,t,a),e!==null&&(it(e,o,a,i),zo(e,o,a)),a}function ws(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}
vendor: 6,053 bytes, line 41
41function Jc(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Cl(e,t){Jc(e,t),(e=e.alternate)&&Jc(e,t)}function Gh(){return null}var Ap=typeof reportError=="function"?reportError:function(e){console.error(e)};function El(e){this._internalRoot=e}Us.prototype.render=El.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(C(409));Bs(e,t,null,null)};Us.prototype.unmount=El.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;yn(function(){Bs(null,e,null,null)}),t[Ct]=null}};function Us(e){this._internalRoot=e}Us.prototype.unstable_scheduleHydration=function(e){if(e){var t=dd();e={blockedOn:null,target:e,priority:t};for(var n=0;n<zt.length&&t!==0&&t<zt[n].priority;n++);zt.splice(n,0,e),n===0&&fd(e)}};function Pl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function qs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Kc(){}function Qh(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=ws(a);i.call(u)}}var a=Ip(t,r,e,0,null,!1,!1,"",Kc);return e._reactRootContainer=a,e[Ct]=a.current,Hr(e.nodeType===8?e.parentNode:e),yn(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=ws(c);l.call(u)}}var c=kl(e,0,!1,null,null,!1,!1,"",Kc);return e._reactRootContainer=c,e[Ct]=c.current,Hr(e.nodeType===8?e.parentNode:e),yn(function(){Bs(t,c,n,r)}),c}function Ws(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var l=o;o=function(){var c=ws(a);l.call(c)}}Bs(t,a,e,o)}else a=Qh(n,t,e,o,r);return ws(a)}cd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=xr(t.pendingLanes);n!==0&&(Ga(t,n|1),ze(t,ue()),!(W&6)&&(Zn=ue()+500,tn()))}break;case 13:yn(function(){var r=Et(e,1);if(r!==null){var o=Re();it(r,e,1,o)}}),Cl(e,1)}};Qa=function(e){if(e.tag===13){var t=Et(e,134217728);if(t!==null){var n=Re();it(t,e,134217728,n)}Cl(e,134217728)}};ud=function(e){if(e.tag===13){var t=Gt(e),n=Et(e,t);if(n!==null){var r=Re();it(n,e,t,r)}Cl(e,t)}};dd=function(){return V};pd=function(e,t){var n=V;try{return V=e,t()}finally{V=n}};Gi=function(e,t,n){switch(t){case"input":if($i(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=As(r);if(!o)throw Error(C(90));qu(r),$i(r,o)}}}break;case"textarea":Vu(e,n);break;case"select":t=n.value,t!=null&&Mn(e,!!n.multiple,t,!1)}};Xu=xl;Zu=yn;var Yh={usingClientEntryPoint:!1,Events:[so,Rn,As,Ju,Ku,xl]},gr={findFiberByHostInstance:on,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Jh={bundleType:gr.bundleType,version:gr.version,rendererPackageName:gr.rendererPackageName,rendererConfig:gr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Rt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=nd(e),e===null?null:e.stateNode},findFiberByHostInstance:gr.findFiberByHostInstance||Gh,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Po=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Po.isDisabled&&Po.supportsFiber)try{Rs=Po.inject(Jh),ht=Po}catch{}}qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yh;qe.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Pl(t))throw Error(C(200));return Hh(e,t,null,n)};qe.createRoot=function(e,t){if(!Pl(e))throw Error(C(299));var n=!1,r="",o=Ap;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=kl(e,1,!1,null,null,n,!1,r,o),e[Ct]=t.current,Hr(e.nodeType===8?e.parentNode:e),new El(t)};qe.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(C(188)):(e=Object.keys(e).join(","),Error(C(268,e)));return e=nd(t),e=e===null?null:e.stateNode,e};qe.flushSync=function(e){return yn(e)};qe.hydrate=function(e,t,n){if(!qs(t))throw Error(C(200));return Ws(null,e,t,!0,n)};qe.hydrateRoot=function(e,t,n){if(!Pl(e))throw Error(C(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",a=Ap;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=Ip(t,null,e,1,n??null,o,!1,i,a),e[Ct]=t.current,Hr(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Us(t)};qe.render=function(e,t,n){if(!qs(t))throw Error(C(200));return Ws(null,e,t,!1,n)};qe.unmountComponentAtNode=function(e){if(!qs(e))throw Error(C(40));return e._reactRootContainer?(yn(function(){Ws(null,null,e,!1,function(){e._reactRootContainer=null,e[Ct]=null})}),!0):!1};qe.unstable_batchedUpdates=xl;qe.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!qs(n))throw Error(C(200));if(e==null||e._reactInternals===void 0)throw Error(C(38));return Ws(e,t,n,!1,r)};qe.version="18.3.1-next-f1338f8080-20240426";function Op(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Op)}catch(e){console.error(e)}}Op(),Ou.exports=qe;var Kh=Ou.exports,Xc=Kh;Ii.createRoot=Xc.createRoot,Ii.hydrateRoot=Xc.hydrateRoot;const Xh="modulepreload",Zh=function(e){return"/"+e},Zc={}
41,O=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.allSettled(n.map(c=>{if(c=Zh(c),c in Zc)return;Zc[c]=!0;const u=c.endsWith(".css"),h=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${h}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Xh,u||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),u)return new Promise((y,w)=>{d.addEventListener("load",y),d.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return o.then(a=>{for(const l of a||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})};/**
42 * react-router v7.12.0
43 *
44 * Copyright (c) Remix Software Inc.
45 *
46 * This source code is licensed under the MIT license found in the
47 * LICENSE.md file in the root directory of this source tree.
48 *
49 * @license MIT
50 */var eu="popstate";function eg(e={}){function t(r,o){let{pathname:i,search:a,hash:l}=r.location;return Ca("",{pathname:i,search:a,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:to(o)}return ng(t,n,null,e)}function ne(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ue(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function tg(){return Math.random().toString(36).substring(2,10)}function tu(e,t){return{usr:e.state,key:e.key,idx:t}}function Ca(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?sr(t):t,state:n,key:t&&t.key||r||tg()}}function to({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function sr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function ng(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,l="POP",c=null,u=h();u==null&&(u=0,a.replaceState({...a.state,idx:u},""));function h(){return(a.state||{idx:null}).idx}function d(){l="POP";let x=h(),f=x==null?null:x-u;u=x,c&&c({action:l,location:j.location,delta:f})}function y(x,f){l="PUSH";let g=Ca(j.location,x,f);u=h()+1;let v=tu(g,u),_=j.createHref(g);try{a.pushState(v,"",_)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;o.location.assign(_)}i&&c&&c({action:l,location:j.location,delta:1})}function w(x,f){l="REPLACE";let g=Ca(j.location,x,f);u=h();let v=tu(g,u),_=j.createHref(g);a.replaceState(v,"",_),i&&c&&c({action:l,location:j.location,delta:0})}function m(x){return rg(x)}let j={get action(){return l},get location(){return e(o,a)}
50,listen(x){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(eu,d),c=x,()=>{o.removeEventListener(eu,d),c=null}},createHref(x){return t(o,x)},createURL:m,encodeLocation(x){let f=m(x);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:y,replace:w,go(x){return a.go(x)}};return j}function rg(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),ne(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:to(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Dp(e,t,n="/"){return og(e,t,n,!1)}function og(e,t,n,r){let o=typeof t=="string"?sr(t):t,i=Nt(o.pathname||"/",n);if(i==null)return null;let a=zp(e);sg(a);let l=null;for(let c=0;l==null&&c<a.length;++c){let u=gg(i);l=mg(a[c],u,r)}return l}function zp(e,t=[],n=[],r="",o=!1){let i=(a,l,c=o,u)=>{let h={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};if(h.relativePath.startsWith("/")){if(!h.relativePath.startsWith(r)&&c)return;ne(h.relativePath.startsWith(r),`Absolute route path "${h.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(r.length)}let d=bt([r,h.relativePath]),y=n.concat(h);a.children&&a.children.length>0&&(ne(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),zp(a.children,t,y,d,c)),!(a.path==null&&!a.index)&&t.push({path:d,score:pg(d,a.index),routesMeta:y})};return e.forEach((a,l)=>{var c;if(a.path===""||!((c=a.path)!=null&&c.includes("?")))i(a,l);else for(let u of Mp(a.path))i(a,l,!0,u)}),t}function Mp(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=Mp(r.join("/")),l=[];return l.push(...a.map(c=>c===""?i:[i,c].join("/"))),o&&l.push(...a),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function sg(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:fg(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var ig=/^:[\w-]+$/,ag=3,lg=2,cg=1,ug=10,dg=-2,nu=e=>e==="*";function pg(e,t){let n=e.split("/"),r=n.length;return n.some(nu)&&(r+=dg),t&&(r+=lg),n.filter(o=>!nu(o)).reduce((o,i)=>o+(ig.test(i)?ag:i===""?cg:ug),r)}function fg(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function mg(e,t,n=!1){let{routesMeta:r}=e,o={},i="/",a=[];for(let l=0;l<r.length;++l){let c=r[l],u=l===r.length-1,h=i==="/"?t:t.slice(i.length)||"/",d=js({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},h),y=c.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=js({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},h)),!d)return null;
50Object.assign(o,d.params),a.push({params:o,pathname:bt([i,d.pathname]),pathnameBase:jg(bt([i,d.pathnameBase])),route:y}),d.pathnameBase!=="/"&&(i=bt([i,d.pathnameBase]))}return a}function js(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=hg(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,{paramName:h,isOptional:d},y)=>{if(h==="*"){let m=l[y]||"";a=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}const w=l[y];return d&&!w?u[h]=void 0:u[h]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:a,pattern:e}}function hg(e,t=!1,n=!0){Ue(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=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function gg(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ue(!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 Nt(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}var Fp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,yg=e=>Fp.test(e);function vg(e,t="/"){let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?sr(e):e,i;if(n)if(yg(n))i=n;else{if(n.includes("//")){let a=n;n=n.replace(/\/\/+/g,"/"),Ue(!1,`Pathnames cannot have embedded double slashes - normalizing ${a} -> ${n}`)}n.startsWith("/")?i=ru(n.substring(1),"/"):i=ru(n,t)}else i=t;return{pathname:i,search:xg(r),hash:_g(o)}}function ru(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function ji(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function wg(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Nl(e){let t=wg(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Rl(e,t,n,r=!1){let o;typeof e=="string"?o=sr(e):(o={...e},ne(!o.pathname||!o.pathname.includes("?"),ji("?","pathname","search",o)),ne(!o.pathname||!o.pathname.includes("#"),ji("#","pathname","hash",o)),ne(!o.search||!o.search.includes("#"),ji("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,l;if(a==null)l=n;else{let d=t.length-1;if(!r&&a.startsWith("..")){let y=a.split("/");for(;y[0]==="..";)y.shift(),d-=1;o.pathname=y.join("/")}l=d>=0?t[d]:"/"}let c=vg(o,l),u=a&&a!=="/"&&a.endsWith("/"),h=(i||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||h)&&(c.pathname+="/"),c}var bt=e=>e.join("/").replace(/\/\/+/g,"/"),jg=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),xg=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,_g=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,Sg=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function bg(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function kg(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var $p=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Bp(e,t){let n=e;
50if(typeof n!="string"||!Fp.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if($p)try{let i=new URL(window.location.href),a=n.startsWith("//")?new URL(i.protocol+n):new URL(n),l=Nt(a.pathname,t);a.origin===i.origin&&l!=null?n=l+a.search+a.hash:o=!0}catch{Ue(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Up=["POST","PUT","PATCH","DELETE"];new Set(Up);var Cg=["GET",...Up];new Set(Cg);var ir=p.createContext(null);ir.displayName="DataRouter";var Vs=p.createContext(null);Vs.displayName="DataRouterState";var Eg=p.createContext(!1),qp=p.createContext({isTransitioning:!1});qp.displayName="ViewTransition";var Pg=p.createContext(new Map);Pg.displayName="Fetchers";var Ng=p.createContext(null);Ng.displayName="Await";var Ve=p.createContext(null);Ve.displayName="Navigation";var ao=p.createContext(null);ao.displayName="Location";var lt=p.createContext({outlet:null,matches:[],isDataRoute:!1});lt.displayName="Route";var Tl=p.createContext(null);Tl.displayName="RouteError";var Wp="REACT_ROUTER_ERROR",Rg="REDIRECT",Tg="ROUTE_ERROR_RESPONSE";function Lg(e){if(e.startsWith(`${Wp}:${Rg}:{`))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 Ig(e){if(e.startsWith(`${Wp}:${Tg}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new Sg(t.status,t.statusText,t.data)}catch{}}function Ag(e,{relative:t}={}){ne(ar(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=p.useContext(Ve),{hash:o,pathname:i,search:a}=lo(e,{relative:t}),l=i;return n!=="/"&&(l=i==="/"?n:bt([n,i])),r.createHref({pathname:l,search:a,hash:o})}function ar(){return p.useContext(ao)!=null}function we(){return ne(ar(),"useLocation() may be used only in the context of a <Router> component."),p.useContext(ao).location}var Vp="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Hp(e){p.useContext(Ve).static||p.useLayoutEffect(e)}function Tt(){let{isDataRoute:e}=p.useContext(lt);return e?Gg():Og()}function Og(){ne(ar(),"useNavigate() may be used only in the context of a <Router> component.");let e=p.useContext(ir),{basename:t,navigator:n}=p.useContext(Ve),{matches:r}=p.useContext(lt),{pathname:o}=we(),i=JSON.stringify(Nl(r)),a=p.useRef(!1);return Hp(()=>{a.current=!0}),p.useCallback((c,u={})=>{if(Ue(a.current,Vp),!a.current)return;if(typeof c=="number"){n.go(c);return}let h=Rl(c,JSON.parse(i),o,u.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:bt([t,h.pathname])),(u.replace?n.replace:n.push)(h,u.state,u)},[t,n,i,o,e])}p.createContext(null);function Hs(){let{matches:e}=p.useContext(lt),t=e[e.length-1];return t?t.params:{}}function lo(e,{relative:t}={}){let{matches:n}=p.useContext(lt),{pathname:r}=we(),o=JSON.stringify(Nl(n));return p.useMemo(()=>Rl(e,JSON.parse(o),r,t==="path"),[e,o,r,t])}function Dg(e,t){return Gp(e,t)}function Gp(e,t,n,r,o){var g;ne(ar(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=p.useContext(Ve),{matches:a}=p.useContext(lt),l=a[a.length-1],c=l?l.params:{},u=l?l.pathname:"/",h=l?l.pathnameBase:"/",d=l&&l.route;{let v=d&&d.path||"";Yp(u,!d||v.endsWith("*")||v.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${v}">) 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.
51
52Please change the parent <Route path="${v}"> to <Route path="${v==="/"?"*":`${v}/*`}">.`)}let y=we(),w;if(t){let v=typeof t=="string"?sr(t):t;ne(h==="/"||((g=v.pathname)==null?void 0:g.startsWith(h)),`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 "${h}" but pathname "${v.pathname}" was given in the \`location\` prop.`),w=v}else w=y;let m=w.pathname||"/",j=m;if(h!=="/"){let v=h.replace(/^\//,"").split("/");j="/"+m.replace(/^\//,"").split("/").slice(v.length).join("/")}let x=Dp(e,{pathname:j});Ue(d||x!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),Ue(x==null||x[x.length-1].route.element!==void 0||x[x.length-1].route.Component!==void 0||x[x.length-1].route.lazy!==void 0,`Matched leaf route at location "${w.pathname}${w.search}${w.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.`);
52let f=Bg(x&&x.map(v=>Object.assign({},v,{params:Object.assign({},c,v.params),pathname:bt([h,i.encodeLocation?i.encodeLocation(v.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?h:bt([h,i.encodeLocation?i.encodeLocation(v.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathnameBase])})),a,n,r,o);return t&&f?p.createElement(ao.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},f):f}function zg(){let e=Hg(),t=bg(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},a=null;return console.error("Error handled by React Router default ErrorBoundary:",e),a=p.createElement(p.Fragment,null,p.createElement("p",null,"💿 Hey developer 👋"),p.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",p.createElement("code",{style:i},"ErrorBoundary")," or"," ",p.createElement("code",{style:i},"errorElement")," prop on your route.")),p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),n?p.createElement("pre",{style:o},n):null,a)}var Mg=p.createElement(zg,null),Qp=class extends p.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 n=Ig(e.digest);n&&(e=n)}let t=e!==void 0?p.createElement(lt.Provider,{value:this.props.routeContext},p.createElement(Tl.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?p.createElement(Fg,{error:e},t):t}};Qp.contextType=Eg;var xi=new WeakMap;function Fg({children:e,error:t}){let{basename:n}=p.useContext(Ve);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=Lg(t.digest);if(r){let o=xi.get(t);if(o)throw o;let i=Bp(r.location,n);if($p&&!xi.get(t))if(i.isExternal||r.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const a=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:r.replace}));throw xi.set(t,a),a}return p.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return e}function $g({routeContext:e,match:t,children:n}){let r=p.useContext(ir);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),p.createElement(lt.Provider,{value:e},n)}function Bg(e,t=[],n=null,r=null,o=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=n==null?void 0:n.errors;if(a!=null){let h=i.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);ne(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,h+1))}let l=!1,c=-1;if(n)for(let h=0;h<i.length;h++){let d=i[h];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(c=h),d.route.id){let{loaderData:y,errors:w}=n,m=d.route.loader&&!y.hasOwnProperty(d.route.id)&&(!w||w[d.route.id]===void 0);if(d.route.lazy||m){l=!0,c>=0?i=i.slice(0,c+1):i=[i[0]];break}}}let u=n&&r?(h,d)=>{var y,w;r(h,{location:n.location,params:((w=(y=n.matches)==null?void 0:y[0])==null?void 0:w.params)??{},unstable_pattern:kg(n.matches),errorInfo:d})}:void 0;return i.reduceRight((h,d,y)=>{let w,m=!1,j=null,x=null;n&&(w=a&&d.route.id?a[d.route.id]:void 0,j=d.route.errorElement||Mg,l&&(c<0&&y===0?(Yp("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,x=null):c===y&&(m=!0,x=d.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,y+1)),g=()=>{let v;return w?v=j:m?v=x:d.route.Component?v=p.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=h,p.createElement($g,{match:d,routeC
52ontext:{outlet:h,matches:f,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||y===0)?p.createElement(Qp,{location:n.location,revalidation:n.revalidation,component:j,error:w,children:g(),routeContext:{outlet:null,matches:f,isDataRoute:!0},onError:u}):g()},null)}function Ll(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ug(e){let t=p.useContext(ir);return ne(t,Ll(e)),t}function qg(e){let t=p.useContext(Vs);return ne(t,Ll(e)),t}function Wg(e){let t=p.useContext(lt);return ne(t,Ll(e)),t}function Il(e){let t=Wg(e),n=t.matches[t.matches.length-1];return ne(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Vg(){return Il("useRouteId")}function Hg(){var r;let e=p.useContext(Tl),t=qg("useRouteError"),n=Il("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function Gg(){let{router:e}=Ug("useNavigate"),t=Il("useNavigate"),n=p.useRef(!1);return Hp(()=>{n.current=!0}),p.useCallback(async(o,i={})=>{Ue(n.current,Vp),n.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:t,...i}))},[e,t])}var ou={};function Yp(e,t,n){!t&&!ou[e]&&(ou[e]=!0,Ue(!1,n))}p.memo(Qg);function Qg({routes:e,future:t,state:n,onError:r}){return Gp(e,void 0,n,r,t)}function bn({to:e,replace:t,state:n,relative:r}){ne(ar(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=p.useContext(Ve);Ue(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:i}=p.useContext(lt),{pathname:a}=we(),l=Tt(),c=Rl(e,Nl(i),a,r==="path"),u=JSON.stringify(c);return p.useEffect(()=>{l(JSON.parse(u),{replace:t,state:n,relative:r})},[l,u,r,t,n]),null}function E(e){ne(!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 Yg({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:i=!1,unstable_useTransitions:a}){ne(!ar(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),c=p.useMemo(()=>({basename:l,navigator:o,static:i,unstable_useTransitions:a,future:{}}),[l,o,i,a]);typeof n=="string"&&(n=sr(n));let{pathname:u="/",search:h="",hash:d="",state:y=null,key:w="default"}=n,m=p.useMemo(()=>{let j=Nt(u,l);return j==null?null:{location:{pathname:j,search:h,hash:d,state:y,key:w},navigationType:r}},[l,u,h,d,y,w,r]);return Ue(m!=null,`<Router basename="${l}"> is not able to match the URL "${u}${h}${d}" because it does not start with the basename, so the <Router> won't render anything.`),m==null?null:p.createElement(Ve.Provider,{value:c},p.createElement(ao.Provider,{children:t,value:m}))}function Jg({children:e,location:t}){return Dg(Ea(e),t)}function Ea(e,t=[]){let n=[];return p.Children.forEach(e,(r,o)=>{if(!p.isValidElement(r))return;let i=[...t,o];if(r.type===p.Fragment){n.push.apply(n,Ea(r.props.children,i));return}ne(r.type===E,`[${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>`),ne(!r.props.index||!r.props.children,"An index route cannot have child routes.");let a={id:r.props.id||i.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,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=Ea(r.props.children,i)),n.push(a)}),n}var Wo="get",Vo="application/x-www-form-urlencoded";function Gs(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Kg(e){return Gs(e)&&e.tagName.toLowerCase()==="button"}function Xg(e){return Gs(e)&&e.tagName.toLowerCase()==="form"}function Zg(e){return Gs(e)&&e.tagName.toLowerCase()==="input"}function ey(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ty(e,t){return e.button===0&&(!t||t==="_self")&&!ey(e)}function Pa(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(o=>[n,o]):[[n,r]])},[]))}function ny(e,t){let n=Pa(e);return t&&t.forEach((r,o)=>
52{n.has(o)||t.getAll(o).forEach(i=>{n.append(o,i)})}),n}var No=null;function ry(){if(No===null)try{new FormData(document.createElement("form"),0),No=!1}catch{No=!0}return No}var oy=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _i(e){return e!=null&&!oy.has(e)?(Ue(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Vo}"`),null):e}function sy(e,t){let n,r,o,i,a;if(Xg(e)){let l=e.getAttribute("action");r=l?Nt(l,t):null,n=e.getAttribute("method")||Wo,o=_i(e.getAttribute("enctype"))||Vo,i=new FormData(e)}else if(Kg(e)||Zg(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let c=e.getAttribute("formaction")||l.getAttribute("action");if(r=c?Nt(c,t):null,n=e.getAttribute("formmethod")||l.getAttribute("method")||Wo,o=_i(e.getAttribute("formenctype"))||_i(l.getAttribute("enctype"))||Vo,i=new FormData(l,e),!ry()){let{name:u,type:h,value:d}=e;if(h==="image"){let y=u?`${u}.`:"";i.append(`${y}x`,"0"),i.append(`${y}y`,"0")}else u&&i.append(u,d)}}else{if(Gs(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Wo,r=null,o=Vo,a=e}return i&&o==="text/plain"&&(a=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Al(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function iy(e,t,n,r){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:o.pathname==="/"?o.pathname=`_root.${r}`:t&&Nt(o.pathname,t)==="/"?o.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}async function ay(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function ly(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 cy(e,t,n){let r=await Promise.all(e.map(async o=>{let i=t.routes[o.route.id];if(i){let a=await ay(i,n);return a.links?a.links():[]}return[]}));return fy(r.flat(1).filter(ly).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function su(e,t,n,r,o,i){let a=(c,u)=>n[u]?c.route.id!==n[u].route.id:!0,l=(c,u)=>{var h;return n[u].pathname!==c.pathname||((h=n[u].route.path)==null?void 0:h.endsWith("*"))&&n[u].params["*"]!==c.params["*"]};return i==="assets"?t.filter((c,u)=>a(c,u)||l(c,u)):i==="data"?t.filter((c,u)=>{var d;let h=r.routes[c.route.id];if(!h||!h.hasLoader)return!1;if(a(c,u)||l(c,u))return!0;if(c.route.shouldRevalidate){let y=c.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((d=n[0])==null?void 0:d.params)||{},nextUrl:new URL(e,window.origin),nextParams:c.params,defaultShouldRevalidate:!0});if(typeof y=="boolean")return y}return!0}):[]}function uy(e,t,{includeHydrateFallback:n}={}){return dy(e.map(r=>{let o=t.routes[r.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1))}function dy(e){return[...new Set(e)]}function py(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function fy(e,t){let n=new Set;return new Set(t),e.reduce((r,o)=>{let i=JSON.stringify(py(o));return n.has(i)||(n.add(i),r.push({key:i,link:o})),r},[])}function Jp(){let e=p.useContext(ir);return Al(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function my(){let e=p.useContext(Vs);return Al(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Ol=p.createContext(void 0);Ol.displayName="FrameworkContext";function Kp(){let e=p.useContext(Ol);return Al(e,"You must render this element inside a <HydratedRouter> element"),e}function hy(e,t){let n=p.useContext(Ol),[r,o]=p.useState(!1),[i,a]=p.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:u,onMouseLeave:h,onTouchStart:d}=t,y=p.useRef(null);p.useEffect(()=>{if(e==="render"&&a(!0),e==="viewport"){let j=f=>{f.forEach(g=>{a(g.isIntersecting)})},x=new IntersectionObserver(j,{threshold:.5});return y.current&&x.observe(y.current),()=>{x.disconnect()}}},[e]),p.useEffect(()=>{if(r){let j=setTimeout(()=>{a(!0)},100);return()=>{clearTimeout(j)}}},[r]);let w=()=>{o(!0)},m=()=>{o(!1),a(!1)};return n?e!=="intent"?[i,y,{}
52]:[i,y,{onFocus:yr(l,w),onBlur:yr(c,m),onMouseEnter:yr(u,w),onMouseLeave:yr(h,m),onTouchStart:yr(d,w)}]:[!1,y,{}]}function yr(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function gy({page:e,...t}){let{router:n}=Jp(),r=p.useMemo(()=>Dp(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?p.createElement(vy,{page:e,matches:r,...t}):null}function yy(e){let{manifest:t,routeModules:n}=Kp(),[r,o]=p.useState([]);return p.useEffect(()=>{let i=!1;return cy(e,t,n).then(a=>{i||o(a)}),()=>{i=!0}},[e,t,n]),r}function vy({page:e,matches:t,...n}){let r=we(),{future:o,manifest:i,routeModules:a}=Kp(),{basename:l}=Jp(),{loaderData:c,matches:u}=my(),h=p.useMemo(()=>su(e,t,u,i,r,"data"),[e,t,u,i,r]),d=p.useMemo(()=>su(e,t,u,i,r,"assets"),[e,t,u,i,r]),y=p.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let j=new Set,x=!1;if(t.forEach(g=>{var _;let v=i.routes[g.route.id];!v||!v.hasLoader||(!h.some(S=>S.route.id===g.route.id)&&g.route.id in c&&((_=a[g.route.id])!=null&&_.shouldRevalidate)||v.hasClientLoader?x=!0:j.add(g.route.id))}),j.size===0)return[];let f=iy(e,l,o.unstable_trailingSlashAwareDataRequests,"data");return x&&j.size>0&&f.searchParams.set("_routes",t.filter(g=>j.has(g.route.id)).map(g=>g.route.id).join(",")),[f.pathname+f.search]},[l,o.unstable_trailingSlashAwareDataRequests,c,r,i,h,t,e,a]),w=p.useMemo(()=>uy(d,i),[d,i]),m=yy(d);return p.createElement(p.Fragment,null,y.map(j=>p.createElement("link",{key:j,rel:"prefetch",as:"fetch",href:j,...n})),w.map(j=>p.createElement("link",{key:j,rel:"modulepreload",href:j,...n})),m.map(({key:j,link:x})=>p.createElement("link",{key:j,nonce:n.nonce,...x})))}function wy(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var jy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{jy&&(window.__reactRouterVersion="7.12.0")}catch{}function xy({basename:e,children:t,unstable_useTransitions:n,window:r}){let o=p.useRef();o.current==null&&(o.current=eg({window:r,v5Compat:!0}));let i=o.current,[a,l]=p.useState({action:i.action,location:i.location}),c=p.useCallback(u=>{n===!1?l(u):p.startTransition(()=>l(u))},[n]);return p.useLayoutEffect(()=>i.listen(c),[i,c]),p.createElement(Yg,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:i,unstable_useTransitions:n})}var Xp=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,z=p.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:o,reloadDocument:i,replace:a,state:l,target:c,to:u,preventScrollReset:h,viewTransition:d,unstable_defaultShouldRevalidate:y,...w},m){let{basename:j,unstable_useTransitions:x}=p.useContext(Ve),f=typeof u=="string"&&Xp.test(u),g=Bp(u,j);u=g.to;let v=Ag(u,{relative:o}),[_,S,b]=hy(r,w),P=ky(u,{replace:a,state:l,target:c,preventScrollReset:h,relative:o,viewTransition:d,unstable_defaultShouldRevalidate:y,unstable_useTransitions:x});function N(L){t&&t(L),L.defaultPrevented||P(L)}let $=p.createElement("a",{...w,...b,href:g.absoluteURL||v,onClick:g.isExternal||i?t:N,ref:wy(m,S),target:c,"data-discover":!f&&n==="render"?"true":void 0});return _&&!f?p.createElement(p.Fragment,null,$,p.createElement(gy,{page:v})):$});z.displayName="Link";var _y=p.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:o=!1,style:i,to:a,viewTransition:l,children:c,...u},h){let d=lo(a,{relative:u.relative}),y=we(),w=p.useContext(Vs),{navigator:m,basename:j}=p.useContext(Ve),x=w!=null&&Ry(d)&&l===!0,f=m.encodeLocation?m.encodeLocation(d).pathname:d.pathname,g=y.pathname,v=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;n||(g=g.toLowerCase(),v=v?v.toLowerCase():null,f=f.toLowerCase()),v&&j&&(v=Nt(v,j)||v);const _=f!=="/"&&f.endsWith("/")?f.length-1:f.length;let S=g===f||!o&&g.startsWith(f)&&g.charAt(_)==="/",b=v!=null&&(v===f||!o&&v.startsWith(f)&&v.charAt(f.length)==="/"),P={isActive:S,isPending:b,isTransitioning:x},N=S?t:void 0,$;typeof r=="function"?$=r(P):$=[r,S?"active":null,b?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let L=typeof i=="function"?i(P):i;return p.createElement(z,{...u,"aria-current":N,className:$,ref:h,style:L,to:a,viewTransition:l},typeof c=="function"?c(P):c)});_y.displayName="NavLink";var Sy=p.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:o,state:i,method:a=Wo,action:l,onSubmit:c,relative:u,preventScrollReset:h,viewTransition:d,unstable_defaultShouldRevalidate:y,...w},m)=>{let{unstable_useTransitions:j}=p.useContext(Ve),x=Py(),f=Ny(l,{relative:u}),g=a.toLowerCase()==="get"?"get":"post",v=typeof l=="string"&&Xp.test(l),_=S=>{if(c&&c(S),S.defaultPrevented)return;S.preventDefault();let b=S.nativeEvent.submitter,P=(b==null?void 0:b.getAttribute("formmethod"))||a,N=()=>x(b||S.currentTarget,{fetcherKey:t,method:P,navigate:n,replace:o,state:i,relative:u,preventScrollReset:h,viewTransition:d,unstable_defaultShouldRevalidate:y});j&&n!==!1?p.startTransition(()=>N()):N()};return p.createElement("form",{ref:m,method:g,action:f,onSubmit:r?c:_,...w,"data-discover":!v&&e==="render"?"true":void 0})});Sy.displayName="Form";function by(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Zp(e){let t=p.useContext(ir);return ne(t,by(e)),t}function ky(e,{target:t,replace:n,state:r,preventScrollReset:o,relative:i,viewTransition:a,unstable_defaultShouldRevalidate:l,unstable_useTransitions:c}={}){let u=Tt(),h=we(),d=lo(e,{relative:i});return p.useCallback(y=>{if(ty(y,t)){y.preventDefault();let w=n!==void 0?n:to(h)===to(d),m=()=>u(e,{replace:w,state:r,preventScrollReset:o,relative:i,viewTransition:a,unstable_defaultShouldRevalidate:l});c?p.startTransition(()=>m()):m()}},[h,u,d,n,r,t,e,o,i,a,l,c])}function gj(e){Ue(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=p.useRef(Pa(e)),n=p.useRef(!1),r=we(),o=p.useMemo(()=>ny(r.search,n.current?null:t.current),[r.search]),i=Tt(),a=p.useCallback((l,c)=>{const u=Pa(typeof l=="function"?l(new URLSearchParams(o)):l);n.current=!0,i("?"+u,c)},[i,o]);return[o,a]}var Cy=0,Ey=()=>`__${String(++Cy)}__`;function Py(){let{router:e}=Zp("useSubmit"),{basename:t}=p.useContext(Ve),n=Vg(),r=e.fetch,o=e.navigate;return p.useCallback(async(i,a={})=>{let{action:l,method:c,encType:u,formData:h,body:d}=sy(i,t);if(a.navigate===!1){let y=a.fetcherKey||Ey();await r(y,n,a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:h,body:d,formMethod:a.method||c,formEncType:a.encType||u,flushSync:a.flushSync})}else await o(a.action||l,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:h,body:d,formMethod:a.method||c,formEncType:a.encType||u,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,o,t,n])}function Ny(e,{relative:t}={}){let{basename:n}=p.useContext(Ve),r=p.useContext(lt);ne(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...lo(e||".",{relative:t})},a=we();if(e==null){i.search=a.search;let l=new URLSearchParams(i.search),c=l.getAll("index");if(c.some(h=>h==="")){l.delete("index"),c.filter(d=>
52d).forEach(d=>l.append("index",d));let h=l.toString();i.search=h?`?${h}`:""}}return(!e||e===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:bt([n,i.pathname])),to(i)}function Ry(e,{relative:t}={}){let n=p.useContext(qp);ne(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Zp("useViewTransitionState"),o=lo(e,{relative:t});if(!n.isTransitioning)return!1;let i=Nt(n.currentLocation.pathname,r)||n.currentLocation.pathname,a=Nt(n.nextLocation.pathname,r)||n.nextLocation.pathname;return js(o.pathname,a)!=null||js(o.pathname,i)!=null}const Ty="business_auth_cache_v1",Dr="stripe_onboarding_complete_v1",Ly=30*24*60*60*1e3;function Iy(e){if(!e)return null;try{return JSON.parse(e)}catch{return null}}function yj({token:e,merchantId:t}){e&&(sessionStorage.setItem("business_auth_token",e),t&&sessionStorage.setItem("merchant_id",t),Dl())}function Ay(){Dl();const e=sessionStorage.getItem("business_auth_token");return e||null}function Dl(){localStorage.removeItem(Ty)}function ef(){sessionStorage.removeItem("business_auth_token"),sessionStorage.removeItem("merchant_id"),sessionStorage.removeItem("business_email"),sessionStorage.removeItem("business_email_verified"),Dl()}function vj(e,t=Ly){const n={email:e||null,completedAt:Date.now(),expiresAt:Date.now()+t};localStorage.setItem(Dr,JSON.stringify(n))}function Oy(){const e=Iy(localStorage.getItem(Dr));return!e||!e.expiresAt||Date.now()>e.expiresAt?(localStorage.removeItem(Dr),null):{email:e.email||null,completedAt:e.completedAt||null,isFresh:!0}}function wj(){localStorage.removeItem(Dr)}function tf(){const e=Tt(),[t,n]=p.useState(""),[r,o]=p.useState(!0),[i,a]=p.useState({text:"",type:""});p.useEffect(()=>{const c=async()=>{const h=sessionStorage.getItem("business_auth_token");if(!h){e("/business-login");return}try{console.log("EmailVerificationWaiting: Checking verification status..."),console.log("EmailVerificationWaiting: Token exists:",!!h);const d=new AbortController,y=setTimeout(()=>d.abort(),1e4),w=await fetch("/api/business/me",{method:"GET",headers:{Authorization:`Bearer ${h}`,"Content-Type":"application/json"},signal:d.signal});if(clearTimeout(y),console.log("EmailVerificationWaiting: Response status:",w.status,w.statusText),w.ok){const m=await w.json();if(console.log("EmailVerificationWaiting: User data received:",m),n(m.email||""),console.log("EmailVerificationWaiting: email_verified status:",m.email_verified),m.email_verified===!0){console.log("Email verified! Redirecting to Stripe onboarding..."),e("/business/connect/onboarding",{replace:!0});return}}else if(w.status===401){console.log("EmailVerificationWaiting: Unauthorized, redirecting to login"),ef(),e("/business-login",{replace:!0});return}else{const m=await w.text().catch(()=>"");console.error("EmailVerificationWaiting: Failed to check verification status:",w.status,w.statusText,m)}}catch(d){console.error("EmailVerificationWaiting: Error checking verification status:",d),console.error("EmailVerificationWaiting: Error details:",d.message,d.stack),d.name==="AbortError"&&console.error("EmailVerificationWaiting: Request timed out - backend may not be responding")}finally{o(!1)}};c();const u=setInterval(()=>{c()},3e3);return()=>clearInterval(u)},[e]);const l=async()=>{const c=sessionStorage.getItem("business_auth_token");if(c){a({text:"",type:""});try{const u=await fetch("/api/business/resend-verification",{method:"POST",headers:{Authorization:`Bearer ${c}`,"Content-Type":"application/json"}});if(u.ok)a({text:"Verification email sent! Please check your inbox.",type:"success"});else{const h=await u.json().catch(()=>({}));a({text:h.error||"Failed to send verification email",type:"error"})}}catch{a({text:"Failed to send verification email. Please try again.",type:"error"})}}};return s.jsx("div",{className:"login-page",children:s.jsx("div",{className:"login-container",children:s.jsxs("div",{className:"login-card",style:{maxWidth:"600px"},children:[s.jsxs("div",{className:"login-header",children:[s.jsx("div",{style:{fontSize:"4em",marginBottom:"20px"},children:"📧"}),s.jsx("h1",{children:"Verify Your Email"}),s.jsx("p",{children:"We've sent a verification link to your email address"})]}),s.jsxs("div",{style:{padding:"24px",backgroundColor:"var(--color-surface-2)",borderRadius:"8px",marginBottom:"24px",textAlign:"center"}
52,children:[t&&s.jsx("p",{style:{marginBottom:"16px",fontSize:"1.1em",fontWeight:"500"},children:s.jsx("strong",{children:t})}),s.jsx("p",{style:{color:"var(--color-slate-500)",marginBottom:"0"},children:"Please check your inbox and click the verification link to continue."})]}),i.text&&s.jsx("div",{className:`message ${i.type}`,style:{marginBottom:"20px"},children:i.text}),s.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},children:[s.jsx("button",{onClick:l,className:"btn-primary-obsidian",style:{width:"100%"},children:"Resend Verification Email"}),s.jsx("button",{onClick:()=>{const c=sessionStorage.getItem("business_auth_token");c&&fetch("/api/business/me",{method:"GET",headers:{Authorization:`Bearer ${c}`,"Content-Type":"application/json"}}).then(u=>u.json()).then(u=>{u.email_verified===!0?e("/business/connect/onboarding"):alert("Your email has not been verified yet. Please check your inbox.")}).catch(()=>{alert("Failed to check verification status. Please try again.")})},className:"signup-link",style:{width:"100%",padding:"12px 24px",border:"2px solid var(--color-accent)",borderRadius:"6px",background:"transparent",cursor:"pointer",textAlign:"center"},children:"I've Verified My Email"})]}),r&&s.jsxs("div",{style:{marginTop:"24px",textAlign:"center",color:"var(--color-slate-500)",fontSize:"0.9em"},children:[s.jsx("div",{style:{display:"inline-block",width:"16px",height:"16px",border:"2px solid var(--color-slate-200)",borderTop:"2px solid var(--color-accent)",borderRadius:"50%",animation:"spin 1s linear infinite",marginRight:"8px",verticalAlign:"middle"}}),"Checking verification status..."]}),s.jsx("style",{children:`
53            @keyframes spin {
54              0% { transform: rotate(0deg); }
55              100% { transform: rotate(360deg); }
56            }
57          `})]})})})}let xe=[],Si=null,Wn=null,Ho=0,bi=null,Sr=[],Na=null;const nf="qq-analytics/1",rf="/api/analytics",of=100,Dy=60*1024,zy=5e3,My=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],Yt={queueLen:"__qq_analytics_queue_len",lastOkAt:"__qq_analytics_last_ok_at",lastError:"__qq_analytics_last_error",okCount:"__qq_analytics_ok_count",failCount:"__qq_analytics_fail_count",lastEvents:"__qq_analytics_last_events"},Ne={anonymousId:"__qq_analytics_anonymous_id",sessionId:"__qq_analytics_session_id",leadId:"__qq_analytics_lead_id",firstTouch:"__qq_analytics_first_touch",currentTouch:"__qq_analytics_current_touch"};function Ze(e,t){try{if(typeof window>"u")return;window.sessionStorage.setItem(e,t)}catch{}}function er(e){try{return typeof window>"u"?null:window.sessionStorage.getItem(e)}catch{return null}}function sf(e){try{if(typeof window>"u")return 0;const t=Number(window.sessionStorage.getItem(e));return Number.isFinite(t)?t:0}catch{return 0}}function zl(e,t){try{if(typeof window>"u")return;window.localStorage.setItem(e,t)}catch{}}function tr(e){try{return typeof window>"u"?null:window.localStorage.getItem(e)}catch{return null}}function Ro(e){if(!e)return null;try{return JSON.parse(e)}catch{return null}}function af(e){return typeof globalThis<"u"&&globalThis.crypto&&typeof globalThis.crypto.randomUUID=="function"?`${e}_${globalThis.crypto.randomUUID()}`:`${e}_${Date.now().toString(36)}_${Math.random().toString(36).slice(2,10)}`}function lf(e,t){const n=tr(e);if(n)return n;const r=af(t);return zl(e,r),tr(e)||r}function cf(e,t){const n=er(e);if(n)return n;const r=af(t);return Ze(e,r),er(e)||r}function ge(e){return typeof e!="string"?void 0:e.trim()||void 0}function Fy(e){if(e)try{const t=new URL(e);return ge(t.host)}catch{return}}function Ra(){if(typeof window>"u"||typeof document>"u")return null;let e;try{e=new URL(window.location.href)}catch{return null}const t={path:ge(e.pathname)||"/",query:ge(e.search),referrer_host:Fy(document.referrer)};return My.forEach(n=>{const r=ge(e.searchParams.get(n));r&&(t[n]=r)}),t}function iu(e,{preferLocal:t=!1}={}){const n=t?Ro(tr(e))||Ro(er(e)):Ro(er(e))||Ro(tr(e));return n&&typeof n=="object"?n:null}function $y(){const e=Ra();if(e){try{const t=new URL(window.location.href),n=ge(t.searchParams.get("lead_id")||t.searchParams.get("leadId"));n&&qy(n)}catch{}Ze(Ne.currentTouch,JSON.stringify(e)),tr(Ne.firstTouch)||zl(Ne.firstTouch,JSON.stringify(e)),er(Ne.f
57irstTouch)||Ze(Ne.firstTouch,JSON.stringify(e))}}function uf(){typeof window>"u"||(lf(Ne.anonymousId,"qqanon"),cf(Ne.sessionId,"qqsess"),$y())}function By(){if(!(typeof window>"u"))return lf(Ne.anonymousId,"qqanon")}function Uy(){if(!(typeof window>"u"))return cf(Ne.sessionId,"qqsess")}function qy(e){const t=ge(e);t&&(zl(Ne.leadId,t),Ze(Ne.leadId,t))}function Wy(){if(typeof window>"u")return{};uf();const e=By(),t=Uy(),n=ge(er(Ne.leadId)||tr(Ne.leadId)),r=iu(Ne.firstTouch,{preferLocal:!0})||Ra()||{},o=iu(Ne.currentTouch)||Ra()||{};return{anonymous_id:e,session_id:t,lead_id:n,analytics_version:nf,landing_path:ge(r.path),landing_query:ge(r.query),landing_referrer_host:ge(r.referrer_host),utm_source:ge(r.utm_source),utm_medium:ge(r.utm_medium),utm_campaign:ge(r.utm_campaign),utm_term:ge(r.utm_term),utm_content:ge(r.utm_content),current_path:ge(o.path),current_query:ge(o.query),current_referrer_host:ge(o.referrer_host)}}function Vy(e){if(!e||typeof e!="object")return null;const t=Wy();return{...t,...e,anonymous_id:e.anonymous_id||t.anonymous_id,session_id:e.session_id||t.session_id,lead_id:e.lead_id||t.lead_id,analytics_version:t.analytics_version,client_collected_at:e.client_collected_at||new Date().toISOString()}}typeof window<"u"&&(uf(),Ze("__qq_analytics_loaded_at",new Date().toISOString()),Ze("__qq_analytics_version",nf));function Ml(){return!(typeof window>"u"||window.__DISABLE_ANALYTICS_COLLECTOR__===!0)}function Hy(){return Na||(typeof window<"u"&&window.__QQ_ANALYTICS_ENDPOINT__?window.__QQ_ANALYTICS_ENDPOINT__:rf)}function Fl(){typeof window>"u"||bi==null&&(bi=window.setTimeout(()=>{bi=null,Ze(Yt.queueLen,String(xe.length)),Ze(Yt.lastEvents,JSON.stringify(Sr.slice(-50)))},400))}function Go(){if(!Ml()||Si!=null)return;const e=xe.length>=of?0:zy;Si=window.setTimeout(()=>{Si=null,xs({preferBeacon:!1})},e)}function Gy(){if(!Ml()||Wn!=null)return;const e=Math.min(3e4,1e3*Math.pow(2,Ho));Ho=Math.min(Ho+1,6),Wn=window.setTimeout(()=>{Wn=null,xs({preferBeacon:!1})},e)}function au(e){Ho=0,Wn!=null&&(window.clearTimeout(Wn),Wn=null),Ze(Yt.lastOkAt,new Date().toISOString()),Ze(Yt.okCount,String(sf(Yt.okCount)+e)),Fl()}function ki(e,t){Ze(Yt.lastError,t),Ze(Yt.failCount,String(sf(Yt.failCount)+e)),Fl(),Gy()}function Qy(){const e=[];let t=2;for(;xe.length>0&&e.length<of;){const n=xe[0];let r="";try{r=JSON.stringify(n)}catch{xe.shift();continue}const o=r.length+(e.length>0?1:0);if(e.length>0&&t+o>Dy)break;xe.shift(),e.push(n),t+=o}return e}function xs({preferBeacon:e}){if(!Ml()||xe.length===0)return;const t=Qy();if(t.length===0)return;const n=JSON.stringify(t),r=Hy();try{if(e&&typeof navigator<"u"&&typeof navigator.sendBeacon=="function"){if(navigator.sendBeacon(r,new Blob([n],{type:"application/json"}))){au(t.length),xe.length>0&&Go();return}xe.unshift(...t),ki(t.length,"sendBeacon returned false");return}}catch{xe.unshift(...t),ki(t.length,"sendBeacon threw");return}fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:n,keepalive:!0}).then(o=>{if(!o.ok){if(r===rf&&(o.status===404||o.status===405||o.status===410)){xe.unshift(...t),Go();return}throw new Error(`HTTP ${o.status}`)}Na=r,au(t.length),xe.length>0&&Go()}).catch(o=>{xe.unshift(...t),ki(t.length,String(o&&o.message?o.message:o))})}typeof window<"u"&&(window.addEventListener("pagehide",()=>xs({preferBeacon:!0})),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&xs({preferBeacon:!0})}));function Yy(){var t;if(typeof window>"u")return!1;const e=((t=window.location)==null?void 0:t.pathname)||"";return!e.startsWith("/job-applications/console")&&!e.startsWith("/job-application-console")}function pt(e){if(typeof window>"u")return;const t=Vy(e);if(!(!t||typeof t.event!="string")){try{Array.isArray(window.dataLayer)||(window.dataLayer=[]),window.dataLayer.push(t)}catch(n){console.debug("dataLayer push failed",n)}if(Yy())try{t&&typeof t=="object"&&typeof t.event=="string"&&(Sr.push(t),Sr.length>50&&(Sr=Sr.slice(-50)),xe.push(t),xe.length>1e3&&(xe=xe.slice(-1e3)),Fl(),Go())}catch(n){console.debug("collector enqueue failed",n)}}}const Jy=[25,50,75,100],Ky=/\.(pdf|docx?|xlsx?|pptx?|zip|csv|txt|rtf)$/i,Xy=e=>Math.max(0,Math.min(100,Math.round(e))),Ci=()=>
57{if(typeof window>"u"||typeof document>"u")return 0;const{documentElement:e,body:t}=document,n=window.scrollY||e.scrollTop||t&&t.scrollTop||0,r=window.innerHeight||e.clientHeight||0,o=Math.max(t?t.scrollHeight:0,e?e.scrollHeight:0,t?t.offsetHeight:0,e?e.offsetHeight:0);if(o<=0)return 0;const i=Math.min(n+r,o);return Xy(i/o*100)},Zy=e=>{const t=e.getAttribute("data-analytics-form")||e.getAttribute("data-analytics");if(t)return t;const n=e.getAttribute("aria-label");return n||(e.id?e.id:e.name?e.name:e.classList&&e.classList.length>0?e.classList[0]:null)},ev=e=>{if(!e)return null;try{const t=new URL(e,window.location.href);return t.origin===window.location.origin?t.pathname:t.origin}catch{return null}};function tv(){const e=we(),t=p.useRef(null),n=p.useRef(new Set),r=p.useRef(!1),o=p.useRef(null),i=(l,c)=>{if(!l||l.exitSent)return;const u=Ci();u>l.maxScrollPercent&&(l.maxScrollPercent=u),l.exitSent=!0,pt({event:"page_exit",page:l.page,query:l.query,hash:l.hash,reason:c,time_on_page_ms:Math.max(0,Date.now()-l.startedAt),max_scroll_percent:l.maxScrollPercent})},a=()=>{const l=t.current;if(!l||!l.page)return;const c=Ci();if(c>l.maxScrollPercent&&(l.maxScrollPercent=c),!r.current){if(Math.abs(c-l.initialScrollPercent)<2)return;r.current=!0,pt({event:"scroll_start",page:l.page,query:l.query,hash:l.hash,scroll_percent:c})}Jy.forEach(u=>{c>=u&&!n.current.has(u)&&(n.current.add(u),pt({event:"scroll_depth",page:l.page,query:l.query,hash:l.hash,depth_percent:u}))})};return p.useEffect(()=>{const l=t.current;l&&l.page&&i(l,"route_change");const c=Ci();t.current={page:e.pathname,query:e.search||"",hash:e.hash||"",startedAt:Date.now(),initialScrollPercent:c,maxScrollPercent:c,exitSent:!1},n.current=new Set,r.current=!1},[e.pathname,e.search,e.hash]),p.useEffect(()=>{if(typeof window>"u"||typeof document>"u")return;const l=()=>{o.current==null&&(o.current=window.requestAnimationFrame(()=>{o.current=null,a()}))},c=d=>{if(!(d.target instanceof Element))return;const y=d.target.closest("a");if(!y)return;const w=y.getAttribute("href");if(!w||w.startsWith("#")||w.startsWith("javascript:"))return;const m=t.current,j=m?{page:m.page,query:m.query,hash:m.hash}:{};if(w.startsWith("mailto:")){pt({event:"mailto_click",...j});return}if(w.startsWith("tel:")){pt({event:"tel_click",...j});return}let x;try{x=new URL(w,window.location.href)}catch{return}const f=y.hasAttribute("download")||Ky.test(x.pathname),g=x.origin!==window.location.origin;if(f){pt({event:"download_click",destination_host:x.host,destination_path:x.pathname,...j});return}g&&pt({event:"outbound_click",destination_host:x.host,destination_path:x.pathname,...j})},u=d=>{if(!(d.target instanceof HTMLFormElement))return;const y=d.target,w=t.current,m=w?{page:w.page,query:w.query,hash:w.hash}:{},j=Zy(y),x=(y.getAttribute("method")||"get").toLowerCase(),f=ev(y.getAttribute("action"));pt({event:"form_submit",form_label:j||void 0,form_method:x,form_action:f||void 0,...m})},h=()=>{const d=t.current;d&&d.page&&i(d,"pagehide")};return window.addEventListener("scroll",l,{passive:!0}),window.addEventListener("resize",l),window.addEventListener("pagehide",h),document.addEventListener("click",c,!0),document.addEventListener("submit",u,!0),()=>{window.removeEventListener("scroll",l),window.removeEventListener("resize",l),window.removeEventListener("pagehide",h),document.removeEventListener("click",c,!0),document.removeEventListener("submit",u,!0)}},[]),null}function nv(){const e=we(),t=p.useRef(null);return p.useEffect(()=>{const n=`${e.pathname}${e.search}${e.hash}`;if(t.current===n)return;const r=t.current;t.current=n;const o=typeof document<"u"?document.title:"",i=typeof document<"u"?document.referrer:"";pt({event:"page_view",page:e.pathname,query:e.search||"",hash:e.hash||"",title:o,referrer:i,prev_path:r||""})},[e.pathname,e.search,e.hash]),null}let zr=0,Ta=0,At=null,df=null;const rv=()=>{if(zr===0){const e=document.body,t=document.documentElement;Ta=window.scrollY,At={position:e.style.position,top:e.style.top,left:e.style.left,right:e.style.right,width:e.style.width,overflow:e.style.overflow},df=t.style.overflow,e.style.position="fixed",e.style.top=`-${Ta}px`,e.style.left="0",e.style.right="0",e.style.width="100%",e.style.overflow="hidden",t.style.overflow="hidden"}zr+=1},ov=()=>{if(zr=Math.max(0,zr-1),zr===0){const e=document.body,t=document.documentElement;At&&(e.style.position=At.position,e.style.top=At.top,e.style.left=At.left,e.style.right=At.right,e.style.width=At.width,e.style.overflow=At.overflow),t.style.overflow=df||"",window.scrollTo(0,Ta)}},sv=e=>{p.useEffect(()=>{if(!(typeof window>"u")&&e)return rv(),()=>ov()},[e])},pf=p.createContext(),iv=()=>{const e=p.useContext(pf);if(!e)throw new Error("useMobileMenu must be used within MobileMenuProvider");return e},av=({children:e})=>{const[t,n]=p.useState(!1),r=()=>n(a=>!a),o=()=>n(!1),i=()=>n(!0);return sv(t),s.jsx(pf.Provider,{value:{isOpen:t,toggle:r,close:o,open:i},children:e})};function ff(e,t,n={}){const{refresh:r=!1,refreshInterval:o=null,forceRefreshOnInterval:i=!1}=n,[a,l]=p.useState(null),[c,u]=p.useState(!0),[h,d]=p.useState(null),[y,w]=p.useState(null),m=Iu.useCallback(async(x=!1)=>
57{if(!e||!t){u(!1);return}try{const g=`/api/connect/account-status/${encodeURIComponent(e)}${x?"?refresh=true":""}`,v=await fetch(g,{headers:{Authorization:`Bearer ${t}`}});if(!v.ok){if(v.status===404){l(null),d(null),w(Date.now()),u(!1);return}const S=await v.json().catch(()=>({error:"Failed to get account status"}));throw new Error(S.error||"Failed to get account status")}const _=await v.json();l(_),d(null),w(Date.now())}catch(f){console.error("Error fetching account status:",f),d(f.message||"Failed to fetch account status")}finally{u(!1)}},[e,t]);p.useEffect(()=>{if(!e||!t){u(!1);return}let x=!0,f=null;return m(r),o&&o>0&&(f=setInterval(()=>{x&&m(i)},o)),()=>{x=!1,f&&clearInterval(f)}},[e,t,r,m,o,i]);const j=p.useCallback(()=>{u(!0),m(!0)},[m]);return{accountStatus:a,loading:c,error:h,refreshStatus:j,lastFetchTime:y}}function mf(e){return e?typeof e.can_accept_payments=="boolean"?e.can_accept_payments:e.charges_enabled===!0:!1}function lv(e){return e?typeof e.can_receive_payouts=="boolean"?e.can_receive_payouts:e.payouts_enabled===!0:!1}function hf(e){if(!e)return!1;if(typeof e.is_onboarding_complete=="boolean"&&!e.rate_limited)return e.is_onboarding_complete;const t=e.charges_enabled===!0,n=e.payouts_enabled===!0,r=e.details_submitted!==!1,o=!e.currently_due||e.currently_due.length===0;return e.rate_limited?t&&n&&o:t&&n&&r&&o}const cv={"requirements.past_due":"Stripe needs more information before this account can be fully enabled.","requirements.pending_verification":"Stripe is reviewing submitted account information.","rejected.fraud":"Stripe rejected this account after review.","rejected.listed":"Stripe rejected this account after review.","rejected.terms_of_service":"Stripe rejected this account because of terms of service requirements.","rejected.other":"Stripe rejected this account after review.",listed:"Stripe has flagged this account for additional review.",under_review:"Stripe is manually reviewing this account.",other:"Stripe reported an account issue that needs review in the Stripe portal."};function Ei(e,t){var i;const n=e==null?void 0:e[t],r=(i=e==null?void 0:e.requirements)==null?void 0:i[t],o=Array.isArray(n)?n:r;return Array.isArray(o)?[...new Set(o.map(a=>String(a||"").trim()).filter(Boolean))]:[]}function gf(e){return String(e||"").replace(/[._]/g," ").replace(/\s+/g," ").trim().replace(/\b\w/g,t=>t.toUpperCase())}function Pi(e){const t=e.map(gf).filter(Boolean);return t.length<=3?t.join(", "):`${t.slice(0,3).join(", ")} and ${t.length-3} more`}function uv(e){var o;const t=e==null?void 0:e.requirements_errors,n=(o=e==null?void 0:e.requirements)==null?void 0:o.errors,r=Array.isArray(t)?t:n;return Array.isArray(r)?r:[]}function jj(e){var d,y;if(!e||hf(e))return null;const t=e.disabled_reason||((d=e.requirements)==null?void 0:d.disabled_reason)||((y=e.future_requirements)==null?void 0:y.disabled_reason)||null,n=Ei(e,"currently_due"),r=Ei(e,"past_due"),o=Ei(e,"pending_verification"),i=uv(e),a=e.charges_enabled===!1,l=e.payouts_enabled===!1;if(!t&&n.length===0&&r.length===0&&o.length===0&&i.length===0&&!a&&!l)return null;let c="Stripe Account Needs Attention";(n.length>0||r.length>0)&&!t?c="Stripe Needs More Information":o.length>0&&!t?c="Stripe Is Reviewing Your Account":l&&!a&&(c="Payouts Need Attention");const u=[];t&&u.push(cv[t]||`Stripe reported account status "${t}".`),a&&u.push("Charges are not enabled yet."),l&&u.push("Payouts are not enabled yet."),r.length>0?u.push(`Stripe needs: ${Pi(r)}.`):n.length>0&&u.push(`Stripe needs: ${Pi(n)}.`),o.length>0&&u.push(`Stripe is reviewing: ${Pi(o)}.`),u.length===0&&u.push("Open the Stripe portal to review the latest account status.");const h=[];return t&&h.push(`Stripe reason code: ${t}`),i.slice(0,3).forEach(w=>{const m=w!=null&&w.requirement?gf(w.requirement):null,j=(w==null?void 0:w.reason)||(w==null?void 0:w.code);m&&j?h.push(`${m}: ${j}`):j&&h.push(String(j))}),{title:c,message:u.join(" "),details:h}}const La=new Set,ln={installed:!1,pending:0},dv=()=>{La.forEach(e=>e())},lu=e=>{const t=Math.max(0,e);ln.pending!==t&&(ln.pending=t,dv())},pv=()=>ln.pending,fv=e=>(La.add(e),()=>{La.delete(e)}),mv=()=>{if(typeof window>"u"||ln.installed||typeof window.fetch!="function")return;const e=window.fetch.bind(window),t=(...n)=>(lu(ln.pending+1),Promise.resolve(e(...n)).finally(()=>{lu(ln.pending-1)}));ln.installed=!0,window.fetch=t,typeof globalThis<"u"&&(globalThis.fetch=t)};
57function hv(){const e=we(),t=p.useSyncExternalStore(fv,pv,()=>0),[n,r]=p.useState(!1);p.useEffect(()=>{mv()},[]);const o=typeof window<"u"&&!!window.sessionStorage.getItem("business_auth_token")&&e.pathname.startsWith("/business/");return p.useEffect(()=>{if(!(typeof document>"u")){if(o&&t>0)return document.body.dataset.networkBusy="true",()=>{delete document.body.dataset.networkBusy};delete document.body.dataset.networkBusy}},[t,o]),p.useEffect(()=>{if(!o){r(!1);return}if(t>0){const a=window.setTimeout(()=>{r(!0)},120);return()=>{window.clearTimeout(a)}}const i=window.setTimeout(()=>{r(!1)},220);return()=>{window.clearTimeout(i)}},[t,o]),!o||!n&&t===0?null:s.jsx("div",{className:`request-activity-indicator ${t>0?"active":"settling"}`,"aria-live":"polite","aria-atomic":"true",role:"status","aria-label":t>0?"Request in flight":"Request finished",children:s.jsxs("span",{className:"request-activity-icon","aria-hidden":"true",children:[s.jsx("span",{className:"request-activity-spinner"}),s.jsx("span",{className:"request-activity-pulse"})]})})}function gv(){const e=we(),{toggle:t}=iv();if(e.pathname.startsWith("/pay")||e.pathname==="/"||e.pathname==="/quiqr"||e.pathname==="/hyphi"||e.pathname==="/business/connect/onboarding"||e.pathname.startsWith("/crypto-sender"))return null;const n=sessionStorage.getItem("auth_token"),r=sessionStorage.getItem("business_auth_token"),o=n||r,i=(e.pathname.startsWith("/sales")||e.pathname==="/sales-dashboard")&&e.pathname!=="/sales-login"&&e.pathname!=="/sales-signup",a=e.pathname.startsWith("/business")&&e.pathname!=="/business-login"&&e.pathname!=="/business-signup",l=sessionStorage.getItem("merchant_id")||"default_merchant",c=sessionStorage.getItem("business_auth_token"),{accountStatus:u}=ff(l,c,{refresh:!1}),h=mf(u),d=e.pathname==="/business/connect/onboarding",w=i&&n||a&&(!a||h||d||!r),m=e.pathname==="/"||e.pathname==="/online",j=e.pathname==="/business-login"||e.pathname==="/business-signup",x=e.pathname.startsWith("/downtimetruth")||e.pathname.startsWith("/software-engineer-job-postings"),f=(!o||m)&&!x,g=f&&!m&&!j,v=r?"/business/payments":"/#contact",_=r?"Open dashboard":"Request access",S=r?"/business/payments":"/business-login",b=r?"Open dashboard":"Sign in",P=m&&!r;return s.jsx("header",{className:`header ${w?"has-hamburger":""}`,children:s.jsxs("div",{className:"header-container",children:[s.jsx("div",{className:"header-logo",children:s.jsx(z,{to:"/",children:"QuiQRPay"})}),s.jsxs("nav",{className:"header-nav",children:[w&&s.jsxs("button",{className:"header-hamburger",onClick:t,"aria-label":"Toggle navigation menu",children:[s.jsx("span",{}),s.jsx("span",{}),s.jsx("span",{})]}),f&&s.jsxs(s.Fragment,{children:[g&&s.jsx(z,{to:"/sales-login",className:"login-link btn-secondary",children:"Sales Login"}),m?s.jsxs(s.Fragment,{children:[s.jsx(z,{to:v,className:"login-link btn-primary-obsidian header-home-signup",children:_}),P&&s.jsxs(z,{to:S,className:"login-link btn-secondary header-home-signin",children:[s.jsx("span",{className:"header-home-signin-kicker",children:"Existing users"}),s.jsx("span",{className:"header-home-signin-label",children:b})]})]}):s.jsx(z,{to:"/business-login",className:"login-link btn-primary-obsidian",children:"Business Login"})]}),s.jsx("div",{className:"header-request-activity",children:s.jsx(hv,{})})]})]})})}function H({children:e}){const t=Tt(),n=sessionStorage.getItem("business_auth_token"),r=sessionStorage.getItem("business_email_verified")==="true",[o,i]=p.useState(r?!0:null),[a,l]=p.useState(!r);return p.useEffect(()=>{(async()=>{if(!n){t("/business-login");return}r||l(!0);try{console.log("ProtectedRoute: Checking verification status..."),console.log("ProtectedRoute: Token exists:",!!n);const u=new AbortController,h=setTimeout(()=>u.abort(),1e4),d=await fetch("/api/business/me",{method:"GET",headers:{Authorization:`Bearer ${n}`,"Content-Type":"application/json"},signal:u.signal});if(clearTimeout(h),console.log("ProtectedRoute: Response status:",d.status,d.statusText),d.ok){const y=await d.json();console.log("ProtectedRoute: User data received:",y);const w=y.email_verified===!0;console.log("ProtectedRoute: email_verified status:",y.email_verified,"verified:",w),i(w),sessionStorage.setItem("business_email_verified",w?"true":"false")}else if(d.status===401){console.log("ProtectedRoute: Unauthorized, redirecting to login"),ef(),t("/business-login",{replace:!0});return}else{console.log("ProtectedRoute: Non-200 response, assuming not verified");const y=await d.text().catch(()=>"");console.log("ProtectedRoute: Error response:",y),i(!1),sessionStorage.setItem("business_email_verified","fal
57se")}}catch(u){console.error("ProtectedRoute: Error checking verification:",u),console.error("ProtectedRoute: Error details:",u.message,u.stack),u.name==="AbortError"&&(console.error("ProtectedRoute: Request timed out - backend may not be responding"),console.error("ProtectedRoute: Assuming email not verified due to timeout")),i(!1),sessionStorage.setItem("business_email_verified","false")}finally{l(!1)}})()},[t,n]),a||o===null?s.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"100vh",background:"var(--color-surface-0)"},children:[s.jsxs("div",{style:{textAlign:"center"},children:[s.jsx("div",{style:{display:"inline-block",width:"40px",height:"40px",border:"4px solid var(--color-slate-200)",borderTop:"4px solid var(--color-accent)",borderRadius:"50%",animation:"spin 1s linear infinite",marginBottom:"16px"}}),s.jsx("p",{style:{color:"var(--color-slate-500)"},children:"Loading..."})]}),s.jsx("style",{children:`
58          @keyframes spin {
59            0% { transform: rotate(0deg); }
60            100% { transform: rotate(360deg); }
61          }
62        `})]}):o?e:s.jsx(tf,{})}function yv(){const{pathname:e}=we();return p.useLayoutEffect(()=>{"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),window.scrollTo(0,0)},[e]),null}function cu(e,t,n){return n&&t!=="payouts"?!0:t==="full"?hf(e):t==="payouts"?lv(e):mf(e)}function he({children:e,requiredCapability:t="payments"}){const n=Tt(),r=we(),o=sessionStorage.getItem("business_auth_token"),i=sessionStorage.getItem("merchant_id")||"default_merchant",{accountStatus:a,loading:l}=ff(i,o),[c,u]=p.useState(!0),h=p.useMemo(()=>Oy(),[]);return p.useEffect(()=>{if(!o){u(!1);return}if(h&&t!=="payouts"){u(!1);return}if(l||(u(!1),r.pathname==="/business/connect/onboarding"))return;cu(a,t,h)||n("/business/connect/onboarding",{replace:!0})},[a,l,o,n,r.pathname,h,t]),c||l?s.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"100vh",background:"var(--color-surface-0)"},children:[s.jsxs("div",{style:{textAlign:"center"},children:[s.jsx("div",{style:{display:"inline-block",width:"40px",height:"40px",border:"4px solid var(--color-slate-200)",borderTop:"4px solid var(--color-accent)",borderRadius:"50%",animation:"spin 1s linear infinite",marginBottom:"16px"}}),s.jsx("p",{style:{color:"var(--color-slate-500)"},children:"Checking payment account status..."})]}),s.jsx("style",{children:`
63          @keyframes spin {
64            0% { transform: rotate(0deg); }
65            100% { transform: rotate(360deg); }
66          }
67        `})]}):r.pathname==="/business/connect/onboarding"?s.jsx(s.Fragment,{children:e}):cu(a,t,h)?s.jsx(s.Fragment,{children:e}):s.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"100vh",background:"var(--color-surface-0)"},children:s.jsx("div",{style:{textAlign:"center"},children:s.jsx("p",{style:{color:"var(--color-slate-500)"},children:"Redirecting to payment setup..."})})})}const vv={1520:{category:"General Services",code:"general",mcc:"1520"},1711:{category:"Heating, Plumbing, A/C",code:"heating",mcc:"1711"},1731:{category:"Electrical Services",code:"electrical",mcc:"1731"},1740:{category:"Masonry, Stonework, and Plaster",code:"masonry",mcc:"1740"},1750:{category:"Carpentry Services",code:"carpentry",mcc:"1750"},1761:{category:"Roofing/Siding, Sheet Metal",code:"roofing",mcc:"1761"},1771:{category:"Concrete Work Services",code:"concrete",mcc:"1771"},1799:{category:"Special Trade Services",code:"special",mcc:"1799"},2741:{category:"Miscellaneous Publishing and Printing",code:"miscellaneous",mcc:"2741"},2791:{category:"Typesetting, Plate Making, and Related Services",code:"typesetting",mcc:"2791"},2842:{category:"Specialty Cleaning",code:"specialty",mcc:"2842"},4011:{category:"Railroads",code:"railroads",mcc:"4011"},4111:{category:"Commuter Transport, Ferries",code:"commuter",mcc:"4111"},4112:{category:"Passenger Railways",code:"passenger",mcc:"4112"},4119:{category:"Ambulance Services",code:"ambulance",mcc:"4119"},4121:{category:"Taxicabs/Limousines",code:"taxicabs",mcc:"4121"}
67,4131:{category:"Bus Lines",code:"bus",mcc:"4131"},4214:{category:"Motor Freight Carriers and Trucking - Local and Long Distance, Moving and Storage Companies, and Local Delivery Services",code:"motor",mcc:"4214"},4215:{category:"Courier Services",code:"courier",mcc:"4215"},4225:{category:"Public Warehousing and Storage - Farm Products, Refrigerated Goods, Household Goods, and Storage",code:"public",mcc:"4225"},4411:{category:"Cruise Lines",code:"cruise",mcc:"4411"},4457:{category:"Boat Rentals and Leases",code:"boat",mcc:"4457"},4468:{category:"Marinas, Service and Supplies",code:"marinas",mcc:"4468"},4511:{category:"Airlines, Air Carriers",code:"airlines",mcc:"4511"},4582:{category:"Airports, Flying Fields",code:"airports",mcc:"4582"},4722:{category:"Travel Agencies, Tour Operators",code:"travel",mcc:"4722"},4723:{category:"TUI Travel - Germany",code:"t",mcc:"4723"},4784:{category:"Tolls/Bridge Fees",code:"tolls",mcc:"4784"},4789:{category:"Transportation Services (Not Elsewhere Classified)",code:"transportation",mcc:"4789"},4812:{category:"Telecommunication Equipment and Telephone Sales",code:"telecommunication",mcc:"4812"},4814:{category:"Telecommunication Services",code:"telecommunication",mcc:"4814"},4816:{category:"Computer Network Services",code:"computer",mcc:"4816"},4821:{category:"Telegraph Services",code:"telegraph",mcc:"4821"},4829:{category:"Wires, Money Orders",code:"wires",mcc:"4829"},4899:{category:"Cable, Satellite, and Other Pay Television and Radio",code:"cable",mcc:"4899"},4900:{category:"Utilities",code:"utilities",mcc:"4900"},5013:{category:"Motor Vehicle Supplies and New Parts",code:"motor",mcc:"5013"},5021:{category:"Office and Commercial Furniture",code:"office",mcc:"5021"},5039:{category:"Construction Materials (Not Elsewhere Classified)",code:"construction",mcc:"5039"},5044:{category:"Photographic, Photocopy, Microfilm Equipment, and Supplies",code:"photographic",mcc:"5044"},5045:{category:"Computers, Peripherals, and Software",code:"computers",mcc:"5045"},5046:{category:"Commercial Equipment (Not Elsewhere Classified)",code:"commercial",mcc:"5046"},5047:{category:"Medical, Dental, Ophthalmic, and Hospital Equipment and Supplies",code:"medical",mcc:"5047"},5051:{category:"Metal Service Centers",code:"metal",mcc:"5051"},5065:{category:"Electrical Parts and Equipment",code:"electrical",mcc:"5065"},5072:{category:"Hardware, Equipment, and Supplies",code:"hardware",mcc:"5072"},5074:{category:"Plumbing, Heating Equipment, and Supplies",code:"plumbing",mcc:"5074"},5085:{category:"Industrial Supplies (Not Elsewhere Classified)",code:"industrial",mcc:"5085"},5094:{category:"Precious Stones and Metals, Watches and Jewelry",code:"precious",mcc:"5094"},5099:{category:"Durable Goods (Not Elsewhere Classified)",code:"durable",mcc:"5099"},5111:{category:"Stationery, Office Supplies, Printing and Writing Paper",code:"stationary",mcc:"5111"},5122:{category:"Drugs, Drug Proprietaries, and Druggist Sundries",code:"drugs",mcc:"5122"},5131:{category:"Piece Goods, Notions, and Other Dry Goods",code:"piece",mcc:"5131"},5137:{category:"Uniforms, Commercial Clothing",code:"uniforms",mcc:"5137"},5139:{category:"Commercial Footwear",code:"commercial",mcc:"5139"},5169:{category:"Chemicals and Allied Products (Not Elsewhere Classified)",code:"chemicals",mcc:"5169"},5172:{category:"Petroleum and Petroleum Products",code:"petroleum",mcc:"5172"},5192:{category:"Books, Periodicals, and Newspapers",code:"books",mcc:"5192"},5193:{category:"Florists Supplies, Nursery Stock, and Flowers",code:"florists",mcc:"5193"},5198:{category:"Paints, Varnishes, and Supplies",code:"paints",mcc:"5198"},5199:{category:"Nondurable Goods (Not Elsewhere Classified)",code:"nondurable",mcc:"5199"},5200:{category:"Home Supply Warehouse Stores",code:"home",mcc:"5200"},5211:{category:"Lumber, Building Materials Stores",code:"lumber",mcc:"5211"},5231:{category:"Glass, Paint, and Wallpaper Stores",code:"glass",mcc:"5231"},5251:{category:"Hardware Stores",code:"hardware",mcc:"5251"},5261:{category:"Nurseries, Lawn and Garden Supply Stores",code:"nurseries",mcc:"5261"},5271:{category:"Mobile Home Dealers",code:"mobile",mcc:"5271"},5300:{category:"Wholesale Clubs",code:"wholesale",mcc:"5300"},5309:{category:"Duty Free Stores",code:"duty",mcc:"5309"},5310:{category:"Discount Stores",code:"discount",mcc:"5310"},5311:{category:"Department Stores",code:"department",mcc:"5311"},5331:{category:"Variety Stores",code:"variety",mcc:"5331"},5399:{category:"Miscellaneous General Merchandise",code:"miscellaneous",mcc:"5399"},5411:{category:"Grocery Stores, Supermarkets",code:"grocery",mcc:"5411"},5422:{category:"Freezer and Locker Meat Provisioners",code:"freezer",mcc:"5422"},5441:{category:"Candy, Nut, and Confectionery Stores",code:"candy",mcc:"5441"},5451:{category:"Dairy Products Stores",code:"dairy",mcc:"5451"},5462:{category:"Bakeries",code:"bakeries",mcc:"5462"},5499:{category:"Miscellaneous Food Stores - Convenience Stores and Specialty Markets",code:"miscellaneous",mcc:"5499"},5511:{category:"Car and Truck Dealers (New &amp; Used) Sales, Service, Repairs Parts and Leasing",code:"car",mcc:"5511"},5521:{category:"Car and Truck Dealers (Used Only) Sales, Service, Repairs Parts and Leasing",code:"car",mcc:"5521"},5531:{category:"Auto and Home Supply Stores",code:"auto",mcc:"5531"},5532:{category:"Automotive Tire Stores",code:"automotive",mcc:"5532"},5533:{category:"Automotive Parts and Accessories Stores",code:"automotive",mcc:"5533"},5541:{category:"Service Stations",code:"service",mcc:"5541"},5542:{category:"Automated Fuel Dispensers",code:"automated",mcc:"5542"},5551:{category:"Boat Dealers",code:"boat",mcc:"5551"},5552:{category:"Electric Vehicle Charging",code:"electric",mcc:"5552"},5561:{category:"Motorcycle Shops, Dealers",code:"motorcycle",mcc:"5561"},5571:{category:"Motorcycle Shops and Dealers",code:"motorcycle",mcc:"5571"},5592:{category:"Motor Homes Dealers",code:"motor",mcc:"5592"},5598:{category:"Snowmobile Dealers",code:"snowmobile",mcc:"5598"},5599:{category:"Miscellaneous Auto Dealers",code:"miscellaneous",mcc:"5599"},5611:{category:"Mens and Boys Clothing and Accessories Stores",code:"mens",mcc:"5611"},5621:{category:"Womens Ready-To-Wear Stores",code:"womens",mcc:"5621"},5631:{category:"Womens Accessory and Specialty Shops",code:"womens",mcc:"5631"},5641:{category:"Childrens and Infants Wear Stores",code:"childrens",mcc:"5641"},5651:{category:"Family Clothing Stores",code:"family",mcc:"5651"}
67,5655:{category:"Sports and Riding Apparel Stores",code:"sports",mcc:"5655"},5661:{category:"Shoe Stores",code:"shoe",mcc:"5661"},5681:{category:"Furriers and Fur Shops",code:"furriers",mcc:"5681"},5691:{category:"Mens, Womens Clothing Stores",code:"mens",mcc:"5691"},5697:{category:"Tailors, Alterations",code:"tailors",mcc:"5697"},5698:{category:"Wig and Toupee Stores",code:"wig",mcc:"5698"},5699:{category:"Miscellaneous Apparel and Accessory Shops",code:"miscellaneous",mcc:"5699"},5712:{category:"Furniture, Home Furnishings, and Equipment Stores, Except Appliances",code:"furniture",mcc:"5712"},5713:{category:"Floor Covering Stores",code:"floor",mcc:"5713"},5714:{category:"Drapery, Window Covering, and Upholstery Stores",code:"drapery",mcc:"5714"},5718:{category:"Fireplace, Fireplace Screens, and Accessories Stores",code:"fireplace",mcc:"5718"},5719:{category:"Miscellaneous Home Furnishing Specialty Stores",code:"miscellaneous",mcc:"5719"},5722:{category:"Household Appliance Stores",code:"household",mcc:"5722"},5732:{category:"Electronics Stores",code:"electronics",mcc:"5732"},5733:{category:"Music Stores-Musical Instruments, Pianos, and Sheet Music",code:"music",mcc:"5733"},5734:{category:"Computer Software Stores",code:"computer",mcc:"5734"},5735:{category:"Record Stores",code:"record",mcc:"5735"},5811:{category:"Caterers",code:"caterers",mcc:"5811"},5812:{category:"Eating Places, Restaurants",code:"eating",mcc:"5812"},5813:{category:"Drinking Places",code:"drinking",mcc:"5813"},5814:{category:"Fast Food Restaurants",code:"fast",mcc:"5814"},5815:{category:"Digital Goods Media – Books, Movies, Music",code:"digital",mcc:"5815"},5816:{category:"Digital Goods – Games",code:"digital",mcc:"5816"},5817:{category:"Digital Goods – Applications (Excludes Games)",code:"digital",mcc:"5817"},5818:{category:"Digital Goods – Large Digital Goods Merchant",code:"digital",mcc:"5818"},5912:{category:"Drug Stores and Pharmacies",code:"drug",mcc:"5912"},5921:{category:"Package Stores-Beer, Wine, and Liquor",code:"package",mcc:"5921"},5931:{category:"Used Merchandise and Secondhand Stores",code:"used",mcc:"5931"},5932:{category:"Antique Shops",code:"antique",mcc:"5932"},5933:{category:"Pawn Shops",code:"pawn",mcc:"5933"},5935:{category:"Wrecking and Salvage Yards",code:"wrecking",mcc:"5935"},5937:{category:"Antique Reproductions",code:"antique",mcc:"5937"},5940:{category:"Bicycle Shops",code:"bicycle",mcc:"5940"},5941:{category:"Sporting Goods Stores",code:"sporting",mcc:"5941"},5942:{category:"Book Stores",code:"book",mcc:"5942"},5943:{category:"Stationery Stores, Office, and School Supply Stores",code:"stationery",mcc:"5943"},5944:{category:"Jewelry Stores, Watches, Clocks, and Silverware Stores",code:"jewelry",mcc:"5944"},5945:{category:"Hobby, Toy, and Game Shops",code:"hobby",mcc:"5945"},5946:{category:"Camera and Photographic Supply Stores",code:"camera",mcc:"5946"},5947:{category:"Gift, Card, Novelty, and Souvenir Shops",code:"gift",mcc:"5947"},5948:{category:"Luggage and Leather Goods Stores",code:"luggage",mcc:"5948"},5949:{category:"Sewing, Needlework, Fabric, and Piece Goods Stores",code:"sewing",mcc:"5949"},5950:{category:"Glassware, Crystal Stores",code:"glassware",mcc:"5950"},5960:{category:"Direct Marketing - Insurance Services",code:"direct",mcc:"5960"},5962:{category:"Direct Marketing - Travel",code:"direct",mcc:"5962"},5963:{category:"Door-To-Door Sales",code:"door",mcc:"5963"},5964:{category:"Direct Marketing - Catalog Merchant",code:"direct",mcc:"5964"},5965:{category:"Direct Marketing - Combination Catalog and Retail Merchant",code:"direct",mcc:"5965"},5966:{category:"Direct Marketing - Outbound Telemarketing",code:"direct",mcc:"5966"},5967:{category:"Direct Marketing - Inbound Telemarketing",code:"direct",mcc:"5967"},5968:{category:"Direct Marketing - Subscription",code:"direct",mcc:"5968"},5969:{category:"Direct Marketing - Other",code:"direct",mcc:"5969"},5970:{category:"Artists Supply and Craft Shops",code:"artists",mcc:"5970"},5971:{category:"Art Dealers and Galleries",code:"art",mcc:"5971"},5972:{category:"Stamp and Coin Stores",code:"stamp",mcc:"5972"},5973:{category:"Religious Goods Stores",code:"religious",mcc:"5973"},5975:{category:"Hearing Aids Sales and Supplies",code:"hearing",mcc:"5975"},5976:{category:"Orthopedic Goods - Prosthetic Devices",code:"orthopedic",mcc:"5976"},5977:{category:"Cosmetic Stores",code:"cosmetic",mcc:"5977"},5978:{category:"Typewriter Stores",code:"typewriter",mcc:"5978"},5983:{category:"Fuel Dealers (Non Automotive)",code:"fuel",mcc:"5983"},5992:{category:"Florists",code:"florists",mcc:"5992"},5993:{category:"Cigar Stores and Stands",code:"cigar",mcc:"5993"},5994:{category:"News Dealers and Newsstands",code:"news",mcc:"5994"},5995:{category:"Pet Shops, Pet Food, and Supplies",code:"pet",mcc:"5995"},5996:{category:"Swimming Pools Sales",code:"swimming",mcc:"5996"},5997:{category:"Electric Razor Stores",code:"electric",mcc:"5997"},5998:{category:"Tent and Awning Shops",code:"tent",mcc:"5998"},5999:{category:"Miscellaneous Specialty Retail",code:"miscellaneous",mcc:"5999"},6010:{category:"Manual Cash Disburse",code:"manual",mcc:"6010"},6011:{category:"Automated Cash Disburse",code:"automated",mcc:"6011"},6012:{category:"Financial Institutions",code:"financial",mcc:"6012"},6051:{category:"Non-FI, Money Orders",code:"non",mcc:"6051"},6211:{category:"Security Brokers/Dealers",code:"security",mcc:"6211"},6300:{category:"Insurance Underwriting, Premiums",code:"insurance",mcc:"6300"},6399:{category:"Insurance - Default",code:"insurance",mcc:"6399"},6513:{category:"Real Estate Agents and Managers - Rentals",code:"real",mcc:"6513"},6540:{category:"Non-FI, Stored Value Card Purchase/Load",code:"non",mcc:"6540"},7011:{category:"Hotels, Motels, and Resorts",code:"hotels",mcc:"7011"},7012:{category:"Timeshares",code:"timeshares",mcc:"7012"},7032:{category:"Sporting/Recreation Camps",code:"sporting",mcc:"7032"},7033:{category:"Trailer Parks, Campgrounds",code:"trailer",mcc:"7033"},7210:{category:"Laundry, Cleaning Services",code:"laundry",mcc:"7210"},7211:{category:"Laundries",code:"laundries",mcc:"7211"},7216:{category:"Dry Cleaners",code:"dry",mcc:"7216"},7217:{category:"Carpet/Upholstery Cleaning",code:"carpet",mcc:"7217"},7221:{category:"Photographic Studios",code:"photographic",mcc:"7221"},7230:{category:"Barber and Beauty Shops",code:"barber",mcc:"7230"},7251:{category:"Shoe Repair/Hat Cleaning",code:"shoe",mcc:"7251"},7261:{category:"Funeral Services, Crematories",code:"funeral",mcc:"7261"},7273:{category:"Dating/Escort Services",code:"dating",mcc:"7273"},7276:{category:"Tax Preparation Services",code:"tax",mcc:"7276"},7277:{category:"Counseling Services",code:"counseling",mcc:"7277"},7278:{category:"Buying/Shopping Services",code:"buying",mcc:"7278"},7296:{category:"Clothing Rental",code:"clothing",mcc:"7296"},7297:{category:"Massage Parlors",code:"massage",mcc:"7297"},7298:{category:"Health and Beauty Spas",code:"health",mcc:"7298"},7299:{category:"Miscellaneous General Services",code:"miscellaneous",mcc:"7299"},7311:{category:"Advertising Services",code:"advertising",mcc:"7311"},7321:{category:"Credit Reporting Agencies",code:"credit",mcc:"7321"},7333:{category:"Commercial Photography, Art and Graphics",code:"commercial",mcc:"7333"}
67,7338:{category:"Quick Copy, Repro, and Blueprint",code:"quick",mcc:"7338"},7339:{category:"Secretarial Support Services",code:"secretarial",mcc:"7339"},7342:{category:"Exterminating Services",code:"exterminating",mcc:"7342"},7349:{category:"Cleaning and Maintenance",code:"cleaning",mcc:"7349"},7361:{category:"Employment/Temp Agencies",code:"employment",mcc:"7361"},7372:{category:"Computer Programming",code:"computer",mcc:"7372"},7375:{category:"Information Retrieval Services",code:"information",mcc:"7375"},7379:{category:"Computer Repair",code:"computer",mcc:"7379"},7392:{category:"Consulting, Public Relations",code:"consulting",mcc:"7392"},7393:{category:"Detective Agencies",code:"detective",mcc:"7393"},7394:{category:"Equipment Rental",code:"equipment",mcc:"7394"},7395:{category:"Photo Developing",code:"photo",mcc:"7395"},7399:{category:"Miscellaneous Business Services",code:"miscellaneous",mcc:"7399"},7512:{category:"Car Rental Agencies",code:"car",mcc:"7512"},7513:{category:"Truck/Utility Trailer Rentals",code:"truck",mcc:"7513"},7519:{category:"Recreational Vehicle Rentals",code:"recreational",mcc:"7519"},7523:{category:"Parking Lots, Garages",code:"parking",mcc:"7523"},7531:{category:"Auto Body Repair Shops",code:"auto",mcc:"7531"},7534:{category:"Tire Retreading and Repair",code:"tire",mcc:"7534"},7535:{category:"Auto Paint Shops",code:"auto",mcc:"7535"},7538:{category:"Auto Service Shops",code:"auto",mcc:"7538"},7542:{category:"Car Washes",code:"car",mcc:"7542"},7549:{category:"Towing Services",code:"towing",mcc:"7549"},7622:{category:"Electronics Repair Shops",code:"electronics",mcc:"7622"},7623:{category:"A/C, Refrigeration Repair",code:"ac",mcc:"7623"},7629:{category:"Small Appliance Repair",code:"small",mcc:"7629"},7631:{category:"Watch/Jewelry Repair",code:"watch",mcc:"7631"},7641:{category:"Furniture Repair, Refinishing",code:"furniture",mcc:"7641"},7692:{category:"Welding Repair",code:"welding",mcc:"7692"},7699:{category:"Miscellaneous Repair Shops",code:"miscellaneous",mcc:"7699"},7800:{category:"Government-Owned Lotteries (US Region only)",code:"government",mcc:"7800"},7801:{category:"Government Licensed On-line Casinos (On-Line Gambling)(US Region only)",code:"government",mcc:"7801"},7802:{category:"Government-Licensed Horse/Dog Racing (US Region only)",code:"government",mcc:"7802"},7829:{category:"Picture/Video Production",code:"picture",mcc:"7829"},7832:{category:"Motion Picture Theaters",code:"motion",mcc:"7832"},7841:{category:"Video Tape Rental Stores",code:"video",mcc:"7841"},7911:{category:"Dance Hall, Studios, Schools",code:"dance",mcc:"7911"},7922:{category:"Theatrical Ticket Agencies",code:"theatrical",mcc:"7922"},7929:{category:"Bands, Orchestras",code:"bands",mcc:"7929"},7932:{category:"Billiard/Pool Establishments",code:"billiard",mcc:"7932"},7933:{category:"Bowling Alleys",code:"bowling",mcc:"7933"},7941:{category:"Sports Clubs/Fields",code:"sports",mcc:"7941"},7991:{category:"Tourist Attractions and Exhibits",code:"tourist",mcc:"7991"},7992:{category:"Golf Courses - Public",code:"golf",mcc:"7992"},7993:{category:"Video Amusement Game Supplies",code:"video",mcc:"7993"},7994:{category:"Video Game Arcades",code:"video",mcc:"7994"},7995:{category:"Betting/Casino Gambling",code:"betting",mcc:"7995"},7996:{category:"Amusement Parks/Carnivals",code:"amusement",mcc:"7996"},7997:{category:"Country Clubs",code:"country",mcc:"7997"},7998:{category:"Aquariums",code:"aquariums",mcc:"7998"},7999:{category:"Miscellaneous Recreation Services",code:"miscellaneous",mcc:"7999"},8011:{category:"Doctors",code:"doctors",mcc:"8011"},8021:{category:"Dentists, Orthodontists",code:"dentists",mcc:"8021"},8031:{category:"Osteopaths",code:"osteopaths",mcc:"8031"},8041:{category:"Chiropractors",code:"chiropractors",mcc:"8041"},8042:{category:"Optometrists, Ophthalmologist",code:"optometrists",mcc:"8042"},8043:{category:"Opticians, Eyeglasses",code:"opticians",mcc:"8043"},8049:{category:"Chiropodists, Podiatrists",code:"chiropodists",mcc:"8049"},8050:{category:"Nursing/Personal Care",code:"nursing",mcc:"8050"},8062:{category:"Hospitals",code:"hospitals",mcc:"8062"},8071:{category:"Medical and Dental Labs",code:"medical",mcc:"8071"},8099:{category:"Medical Services",code:"medical",mcc:"8099"},8111:{category:"Legal Services, Attorneys",code:"legal",mcc:"8111"},8211:{category:"Elementary, Secondary Schools",code:"elementary",mcc:"8211"},8220:{category:"Colleges, Universities",code:"colleges",mcc:"8220"},8241:{category:"Correspondence Schools",code:"correspondence",mcc:"8241"},8244:{category:"Business/Secretarial Schools",code:"business",mcc:"8244"},8249:{category:"Vocational/Trade Schools",code:"vocational",mcc:"8249"},8299:{category:"Educational Services",code:"educational",mcc:"8299"},8351:{category:"Child Care Services",code:"child",mcc:"8351"},8398:{category:"Charitable and Social Service Organizations - Fundraising",code:"charitable",mcc:"8398"},8641:{category:"Civic, Social, Fraternal Associations",code:"civic",mcc:"8641"},8651:{category:"Political Organizations",code:"political",mcc:"8651"},8661:{category:"Religious Organizations",code:"religious",mcc:"8661"},8675:{category:"Automobile Associations",code:"automobile",mcc:"8675"},8699:{category:"Membership Organizations",code:"membership",mcc:"8699"},8734:{category:"Testing Laboratories",code:"testing",mcc:"8734"},8911:{category:"Architectural/Surveying Services",code:"architectural",mcc:"8911"},8931:{category:"Accounting/Bookkeeping Services",code:"accounting",mcc:"8931"},8999:{category:"Professional Services",code:"professional",mcc:"8999"},9211:{category:"Court Costs, Including Alimony and Child Support - Courts of Law",code:"court",mcc:"9211"}
67,9222:{category:"Fines - Government Administrative Entities",code:"fines",mcc:"9222"},9223:{category:"Bail and Bond Payments (payment to the surety for the bond, not the actual bond paid to the government agency)",code:"bail",mcc:"9223"},9311:{category:"Tax Payments - Government Agencies",code:"tax",mcc:"9311"},9399:{category:"Government Services (Not Elsewhere Classified)",code:"government",mcc:"9399"},9402:{category:"Postal Services - Government Only",code:"postal",mcc:"9402"},9405:{category:"U.S. Federal Government Agencies or Departments",code:"u",mcc:"9405"},9406:{category:"Government-Owned Lotteries (Non-US region)",code:"government",mcc:"9406"},9702:{category:"Emergency Services (GCAS) (Visa use only)",code:"emergency",mcc:"9702"},9950:{category:"Intra-Company Purchases",code:"intra",mcc:"9950"},"0763":{category:"Agricultural Cooperative",code:"agricultural",mcc:"0763"},"0780":{category:"Landscaping Services",code:"landscaping",mcc:"0780"},"0742":{category:"Veterinary Services",code:"veterinary",mcc:"0742"}},yf=e=>vv[e]||null,wv=e=>{const t=yf(e);if(!t)return null;const n=t.category.toLowerCase(),r=t.code.toLowerCase();return n.includes("restaurant")||n.includes("eating places")||n.includes("caterer")||n.includes("fast food")||n.includes("cafe")||n.includes("bakery")||r.includes("eating")||r.includes("restaurant")||r.includes("caterer")||r.includes("fast")||r.includes("cafe")||r.includes("bakery")?{offerings:"Menu Items",spaces:"Tables",unit:"Seat",createPayment:"Create Payment"}:n.includes("store")||n.includes("shop")||n.includes("retail")||n.includes("merchandise")||r.includes("store")||r.includes("shop")||r.includes("retail")||r.includes("merchandise")?{offerings:"Products",spaces:"Sections",unit:"Aisle",createPayment:"Terminal"}:n.includes("barber")||n.includes("beauty")||n.includes("salon")||n.includes("spa")||n.includes("massage")||n.includes("health and beauty")||r.includes("barber")||r.includes("beauty")||r.includes("salon")||r.includes("spa")||r.includes("massage")||r.includes("health")?{offerings:"Services",spaces:"Chairs",unit:"Station",createPayment:"Terminal"}:n.includes("doctor")||n.includes("dentist")||n.includes("hospital")||n.includes("clinic")||n.includes("medical")||n.includes("veterinary")||r.includes("doctor")||r.includes("dentist")||r.includes("hospital")||r.includes("clinic")||r.includes("medical")||r.includes("veterinary")?{offerings:"Services",spaces:"Rooms",unit:"Exam Room",createPayment:"Terminal"}:n.includes("hotel")||n.includes("motel")||n.includes("resort")||n.includes("lodging")||r.includes("hotel")||r.includes("motel")||r.includes("resort")?{offerings:"Services",spaces:"Rooms",unit:"Room",createPayment:"Terminal"}:n.includes("theater")||n.includes("stadium")||n.includes("amusement")||n.includes("entertainment")||n.includes("museum")||n.includes("gallery")||r.includes("theater")||r.includes("stadium")||r.includes("amusement")||r.includes("museum")?{offerings:"Services",spaces:"Seats",unit:"Seat",createPayment:"Terminal"}:n.includes("auto")||n.includes("car")||n.includes("automotive")||n.includes("repair")||n.includes("service shop")||r.includes("auto")||r.includes("car")||r.includes("automotive")||r.includes("repair")?{offerings:"Services",spaces:"Bays",unit:"Bay",createPayment:"Terminal"}:n.includes("legal")||n.includes("accounting")||n.includes("consulting")||n.includes("professional")||r.includes("legal")||r.includes("accounting")||r.includes("consulting")||r.includes("professional")?{offerings:"Services",spaces:"Rooms",unit:"Office",createPayment:"Terminal"}:n.includes("school")||n.includes("university")||n.includes("college")||n.includes("education")||r.includes("school")||r.includes("university")||r.includes("college")||r.includes("education")?{offerings:"Services",spaces:"Rooms",unit:"Classroom",createPayment:"Terminal"}:{offerings:"Offerings",spaces:"Spaces",unit:"Location",createPayment:"Create Payment"}},jv=e=>{const t=yf(e);if(!t)return"default";const n=t.category.toLowerCase(),r=t.code.toLowerCase();return n.includes("restaurant")||n.includes("eating places")||r.includes("eating")||r.includes("restaurant")||n.includes("fast food")||r.includes("fast")?"restaurant":n.includes("cafe")||r.includes("cafe")?"cafe":n.includes("barber")||r.includes("barber")?"barbershop":n.includes("salon")||r.includes("salon")?"salon":n.includes("spa")||n.includes("health and beauty")||r.includes("spa")||r.includes("health")?"spa":n.includes("hotel")||n.includes("motel")||r.includes("hotel")||r.includes("motel")?"hotel":n.includes("store")||n.includes("retail")||r.includes("store")||r.includes("retail")?"retail":n.includes("bakery")||r.includes("bakery")?"bakery":n.includes("veterinary")||r.includes("veterinary")?"vet":n.includes("dentist")||r.includes("dentist")?"dentist":n.includes("hospital")||n.includes("clinic")||r.includes("hospital")||r.includes("clinic")?"clinic":n.includes("car wash")||r.includes("carwash")?"carwash":n.includes("laundry")||r.includes("laundry")?"laundry":n.includes("parking")||r.includes("parking")?"parking":"default"},xv="business_terminology",_s="business_type",Ss="business_mcc_code",bs="business_settings",br=e=>{try{e?sessionStorage.setItem(_s,e):sessionStorage.removeItem(_s)}catch(t){console.error("Error saving business type to sessionStorage:",t)}},_v=()=>{try{return sessionStorage.getItem(_s)}catch(e){console.error("Error loading business type from sessionStorage:",e)}return null},Ia=e=>{try{e?sessionStorage.setItem(Ss,e):sessionStorage.removeItem(Ss)}catch(t){console.error("Error saving MCC code to sessionStorage:",t)}},Sv=()=>{try{return sessionStorage.getItem(Ss)}catch(e){console.error("Error loading MCC code from sessionStorage:",e)}return null},Ni=e=>{try{if(!e||!e.settings){console.warn("Invalid settings response provided to updateSessionStorageFromRedis");return}bv(e);const t=e.settings;if(t.business_type&&br(t.business_type),t.mcc_code||t.stripe_mcc){const n=t.mcc_code||t.stripe_mcc;Ia(n)}}catch(t){console.error("Error updating sessionStorage from Redis:",t)}},bv=e=>{try{e?(sessionStorage.setItem(bs,JSON.stringify(e)),typeof window<"u"&&window.dispatchEvent(new CustomEvent("settings:updated",{detail:e}))):(sessionStorage.removeItem(bs),typeof window<"u"&&window.dispatchEvent(new CustomEvent("settings:updated",{detail:null})))}catch(t){console.error("Error saving settings to sessionStorage:",t)}}
67,kv=()=>{try{const e=sessionStorage.getItem(bs);if(e)return JSON.parse(e)}catch(e){console.error("Error loading settings from sessionStorage:",e)}return null},xj=()=>{try{sessionStorage.removeItem(xv),sessionStorage.removeItem(_s),sessionStorage.removeItem(Ss),sessionStorage.removeItem(bs)}catch(e){console.error("Error clearing terminology storage:",e)}},Ri={restaurant:{name:"Restaurant",offerings:"Menu Items",spaces:"Tables",unit:"Seat",icon:"🍴",createPayment:"Create Payment"},barbershop:{name:"Barbershop",offerings:"Services",spaces:"Chairs",unit:"Station",icon:"✂️",createPayment:"Terminal"},salon:{name:"Salon",offerings:"Services",spaces:"Chairs",unit:"Station",icon:"💇",createPayment:"Terminal"},retail:{name:"Retail Store",offerings:"Products",spaces:"Sections",unit:"Aisle",icon:"🛍️",createPayment:"Terminal"},hotel:{name:"Hotel",offerings:"Services",spaces:"Rooms",unit:"Room",icon:"🏨",createPayment:"Terminal"},spa:{name:"Spa",offerings:"Services",spaces:"Rooms",unit:"Treatment Room",icon:"🧘",createPayment:"Terminal"},cafe:{name:"Cafe",offerings:"Menu Items",spaces:"Tables",unit:"Seat",icon:"☕",createPayment:"Create Payment"},bar:{name:"Bar",offerings:"Menu Items",spaces:"Tables",unit:"Seat",icon:"🍺",createPayment:"Create Payment"},bakery:{name:"Bakery",offerings:"Products",spaces:"Counters",unit:"Counter",icon:"🥖",createPayment:"Terminal"},gym:{name:"Gym",offerings:"Services",spaces:"Areas",unit:"Station",icon:"💪",createPayment:"Terminal"},clinic:{name:"Clinic",offerings:"Services",spaces:"Rooms",unit:"Exam Room",icon:"🏥",createPayment:"Terminal"},dentist:{name:"Dental Office",offerings:"Services",spaces:"Rooms",unit:"Chair",icon:"🦷",createPayment:"Terminal"},vet:{name:"Veterinary Clinic",offerings:"Services",spaces:"Rooms",unit:"Exam Room",icon:"🐾",createPayment:"Terminal"},carwash:{name:"Car Wash",offerings:"Services",spaces:"Bays",unit:"Bay",icon:"🚗",createPayment:"Terminal"},laundry:{name:"Laundromat",offerings:"Services",spaces:"Machines",unit:"Machine",icon:"🧺",createPayment:"Terminal"},parking:{name:"Parking Lot",offerings:"Services",spaces:"Spots",unit:"Spot",icon:"🅿️",createPayment:"Terminal"},event:{name:"Event Venue",offerings:"Services",spaces:"Rooms",unit:"Room",icon:"🎉",createPayment:"Terminal"},coworking:{name:"Coworking Space",offerings:"Services",spaces:"Desks",unit:"Desk",icon:"💼",createPayment:"Terminal"},library:{name:"Library",offerings:"Services",spaces:"Sections",unit:"Area",icon:"📚",createPayment:"Terminal"},museum:{name:"Museum",offerings:"Services",spaces:"Galleries",unit:"Gallery",icon:"🖼️",createPayment:"Terminal"},theater:{name:"Theater",offerings:"Services",spaces:"Seats",unit:"Seat",icon:"🎭",createPayment:"Terminal"},stadium:{name:"Stadium",offerings:"Services",spaces:"Sections",unit:"Seat",icon:"🏟️",createPayment:"Terminal"},campground:{name:"Campground",offerings:"Services",spaces:"Sites",unit:"Site",icon:"⛺",createPayment:"Terminal"},marina:{name:"Marina",offerings:"Services",spaces:"Slips",unit:"Slip",icon:"⛵",createPayment:"Terminal"},storage:{name:"Storage Facility",offerings:"Services",spaces:"Units",unit:"Unit",icon:"📦",createPayment:"Terminal"},office:{name:"Office",offerings:"Services",spaces:"Rooms",unit:"Room",icon:"🏢",createPayment:"Terminal"},warehouse:{name:"Warehouse",offerings:"Products",spaces:"Sections",unit:"Aisle",icon:"🏭",createPayment:"Terminal"},farm:{name:"Farm",offerings:"Products",spaces:"Fields",unit:"Field",icon:"🚜",createPayment:"Terminal"},market:{name:"Market",offerings:"Products",spaces:"Stalls",unit:"Stall",icon:"🏪",createPayment:"Terminal"},foodtruck:{name:"Food Truck",offerings:"Menu Items",spaces:"Windows",unit:"Window",icon:"🚚",createPayment:"Create Payment"},popup:{name:"Pop-up Shop",offerings:"Products",spaces:"Counters",unit:"Counter",icon:"🎪",createPayment:"Terminal"},default:{name:"Custom",offerings:"Offerings",spaces:"Spaces",unit:"Location",icon:"🏢",createPayment:"Create Payment"}},vf=p.createContext(),_j=()=>{const e=p.useContext(vf);if(!e)throw new Error("useBusiness must be used within BusinessProvider");return e},Cv=({children:e})=>{const[t,n]=p.useState("restaurant"),[r,o]=p.useState(!0),[i,a]=p.useState(null),[l,c]=p.useState(null),u=l?wv(l):null,h=Ri[t]||Ri.default,y={...u||h,...(i==null?void 0:i.spaces)&&i.spaces.trim()!==""&&{spaces:i.spaces},...(i==null?void 0:i.offerings)&&i.offerings.trim()!==""&&{offerings:i.offerings},...(i==null?void 0:i.unit)&&i.unit.trim()!==""&&{unit:i.unit},...(i==null?void 0:i.createPayment)&&i.createPayment.trim()!==""&&{createPayment:i.createPayment}};p.useEffect(()=>{(async()=>{var _,S,b,P,N,$,L,ee;const x=sessionStorage.getItem("business_auth_token");if(!x){o(!1);return}const f=kv(),g=_v(),v=Sv();if(f||g||v){if((_=f==null?void 0:f.settings)!=null&&_.terminology){const re=f.settings.terminology;a({spaces:re.spaces||null,offerings:re.offerings||null,unit:re.unit||null,createPayment:re.create_payment||null})}g&&n(g),v&&c(v),o(!1)}try{const re=await fetch("/api/business/settings",{headers:{Authorization:`Bearer ${x}`,"Content-Type":"application/json"}});if(re.ok){const J=await re.json();if((S=J.settings)!=null&&S.mcc_code||(b=J.settings)!=null&&b.stripe_mcc){const G=J.settings.mcc_code||J.settings.stripe_mcc;c(G),Ia(G);const yt=jv(G);yt&&yt!=="default"&&((P=J.settings)!=null&&P.business_type||(n(yt),br(yt)))}if((N=J.settings)!=null&&N.business_type?(n(J.settings.business_type),br(J.settings.business_type)):((L=($=J.settings)==null?void 0:$.active_modes)==null?void 0:L.length)>0&&(n("restaurant"),br("restaurant")),Ni(J),(ee=J.settings)!=null&&ee.terminology){const G=J.settings.terminology;a({spaces:G.spaces||null,offerings:G.offerings||null,unit:G.unit||null,createPayment:G.create_payment||null})}else a(null)}}catch(re){console.error("Error fetching business type:",re)}finally{o(!1)}})()},[]);const w=p.useCallback(async()=>{var x,f,g,v;const j=sessionStorage.getItem("business_auth_token");if(j)try{const _=await fetch("/api/business/settings",{headers:{Authorization:`Bearer ${j}`,"Content-Type":"application/json"}});if(_.ok){const S=await _.json();if(Ni(S),(x=S.settings)!=null&&x.terminology){const b=S.settings.terminology;a({spaces:b.spaces||null,offerings:b.offerings||null,unit:b.unit||null,createPayment:b.create_payment||null})}else a(null);if((f=S.settings)!=null&&f.business_type&&(n(S.settings.business_type),br(S.settings.business_type)),(g=S.settings)!=null&&g.mcc_code||(v=S.settings)!=null&&v.stripe_mcc){const b=S.settings.mcc_code||S.settings.stripe_mcc;c(b),Ia(b)}}}catch(_){console.error("Error refreshing settings:",_)}},[]),m=async j=>{const x=sessionStorage.getItem("business_auth_token");if(!x){n(j);return}try{const f=await fetch("/api/business/settings",{headers:{Authorization:`Bearer ${x}`,"Content-Type":"application/json"}});if(f.ok){const v=(await f.json()).settings||{},_=await fetch("/api/business/settings",{method:"PUT",headers:{Authorization:`Bearer ${x}`,"Content-Type":"application/json"},body:JSON.stringify({...v,business_type:j})});if(_.ok){const S=await _.json();Ni(S),n(j)}}}catch(f){console.error("Error updating business type:",f),n(j)}};return s.jsx(vf.Provider,{value:{businessType:t,schema:y,updateBusinessType:m,refreshSettings:w,loading:r,IndustrySchemas:Ri,mccCode:l,mccSuggestedTerminology:u},children:e})},Ev={"howtochangeyourlife.now":"life","www.howtochangeyourlife.now":"life"},uu={quiqrpay:{key:"quiqrpay",bodyClass:"",name:"Quiqrpay",legalName:"Quiqrpay",siteUrl:"https://quiqrpay.com",supportEmail:"[email protected]",paymentRails:["venmo_business"],paymentRailLabels:["Venmo","Cards coming soon"],priceLabel:"$40 USD",heroEyebrow:"$40 for 20 high-quality applications",homepageTitle:"Skip the grind",pageTitle:"Quiqrpay | 20 Job Applications",description:"Quiqrpay submits focused job application batches: 20 high-quality applications for $40 USD.",showFounderQuote:!0,showDiscounts:!0},life:{key:"life",bodyClass:"job-brand-life",name:"How To Change Your Life",legalName:"How To Change Your Life",siteUrl:"https://howtochangeyourlife.now",supportEmail:"[email protected]",paymentRails:["bitcoin","solana"],paymentRailLabels:["Bitcoin","Solana","Cards coming soon"],priceLabel:"0.0005 BTC or 0.40 SOL",heroEyebrow:"0.0005 BTC or 0.40 SOL for 20 high-quality applications",homepageTitle:"Change your job search.",pageTitle:"How To Change Your Life | 20 Job Applications",description:"How To Change Your Life submits focused job application batches: 20 high-quality applications for 0.0005 BTC or 0.40 SOL.",showFounderQuote:!1,showDiscounts:!1}};function He(){if(typeof window>"u")return uu.quiqrpay;const e=window.location.hostname.toLowerCase();return uu[Ev[e]||"quiqrpay"]}function Pv(e=He()){if(typeof document>"u")return e;document.title=e.pageTitle,e.bodyClass&&document.body.classList.add(e.bodyClass);const t=(n,r,o="content")=>{const i=document.querySelector(n);i&&i.setAttribute(o,r)};return t('meta[name="description"]',e.description),t('meta[name="apple-mobile-web-app-title"]',e.name),t('meta[property="og:site_name"]',e.
67name),t('meta[property="og:title"]',e.pageTitle),t('meta[property="og:description"]',e.description),t('meta[property="og:url"]',e.siteUrl),t('meta[name="twitter:title"]',e.pageTitle),t('meta[name="twitter:description"]',e.description),e}function ct(){const e=He();return s.jsx("footer",{className:"job-public-footer",children:s.jsxs("div",{className:"job-public-footer-inner",children:[s.jsxs("div",{children:[s.jsx("strong",{children:e.name}),s.jsxs("p",{children:[e.name," submits job applications as a service. We cannot guarantee interviews, offers, employment, compensation, or any hiring outcome."]}),s.jsxs("p",{className:"job-public-footer-support",children:["Support: ",s.jsx("a",{href:`mailto:${e.supportEmail}`,children:e.supportEmail}),". We aim to respond within 1 business day."]})]}),s.jsxs("nav",{"aria-label":"Legal and support links",children:[s.jsx(z,{to:"/pricing",children:"Pricing"}),s.jsx(z,{to:"/contact",children:"Contact"}),s.jsx(z,{to:"/terms",children:"Terms"}),s.jsx(z,{to:"/privacy",children:"Privacy"}),s.jsx(z,{to:"/refund",children:"Refunds"})]})]})})}const ot={benchmark_usd:"40",updated_at:"2026-09-14T00:00:00Z",source:"default_static_quote",rounding:"ROUND_HALF_EVEN",prices:{bitcoin:{symbol:"BTC",amount:"0.0005",decimals:4,display:"0.0005 BTC"},solana:{symbol:"SOL",amount:"0.40",decimals:2,display:"0.40 SOL"}}};function wf(e){var o,i;const t=e!=null&&e.prices&&typeof e.prices=="object"?e.prices:{},n=String(((o=t.bitcoin)==null?void 0:o.amount)||ot.prices.bitcoin.amount),r=String(((i=t.solana)==null?void 0:i.amount)||ot.prices.solana.amount);return{...ot,...e&&typeof e=="object"?e:{},prices:{bitcoin:{...ot.prices.bitcoin,...t.bitcoin||{},amount:n,display:`${n} BTC`},solana:{...ot.prices.solana,...t.solana||{},amount:r,display:`${r} SOL`}}}}function Nv(e=ot){const t=wf(e);return`${t.prices.bitcoin.display} or ${t.prices.solana.display}`}function jf(e,t=ot){return(e==null?void 0:e.key)==="life"?Nv(t):"$40 USD"}function $l(e,t=ot){return`${jf(e,t)} for 20 high-quality applications`}function Bl(e){const[t,n]=p.useState(ot);return p.useEffect(()=>{if((e==null?void 0:e.key)!=="life")return;let r=!1;const o=new Date().toISOString().slice(0,10);return fetch(`/job-application-crypto-prices.json?v=${o}`,{cache:"no-store"}).then(i=>i.ok?i.json():null).then(i=>{!r&&i&&n(wf(i))}).catch(()=>{r||n(ot)}),()=>{r=!0}},[e==null?void 0:e.key]),(e==null?void 0:e.key)==="life"?t:ot}const Rv=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","lead_id","ref","source"];function Y({children:e,eyebrow:t=null,title:n,variant:r="item"}){const[o,i]=p.useState(!1),a=p.useId();return s.jsxs("section",{className:`job-home-faq-disclosure job-home-faq-disclosure-${r}`,"data-open":o?"true":"false",children:[s.jsxs("button",{type:"button",className:"job-home-faq-trigger","aria-expanded":o,"aria-controls":a,onClick:()=>i(l=>!l),children:[t&&s.jsx("span",{children:t}),s.jsx("strong",{children:n})]}),s.jsx("div",{id:a,className:"job-home-faq-reveal","aria-hidden":!o,children:s.jsx("div",{className:"job-home-faq-reveal-inner",children:e})})]})}function Tv(){const e=He(),t=Bl(e),n=$l(e,t),r=Tt(),[o,i]=p.useState({currentIdentity:"",targetRole:""});p.useEffect(()=>(document.body.classList.add("job-applications-home"),e.bodyClass&&document.body.classList.add(e.bodyClass),()=>{document.body.classList.remove("job-applications-home"),e.bodyClass&&document.body.classList.remove(e.bodyClass)}),[e.bodyClass]);const a=l=>{l.preventDefault();const c=new URLSearchParams,u=new URLSearchParams(window.location.search);o.currentIdentity.trim()&&c.set("current_identity",o.currentIdentity.trim()),o.targetRole.trim()&&c.set("target_role",o.targetRole.trim()),Rv.forEach(h=>{const d=u.get(h);d&&c.set(h,d)}),r(`/job-applications/start${c.toString()?`?${c.toString()}`:""}`)};return s.jsxs("main",{className:"job-home",children:[s.jsxs("section",{className:"job-home-hero",children:[s.jsxs("nav",{className:"job-home-nav","aria-label":"Main",children:[s.jsx("a",{href:"/",className:"job-home-logo",children:e.name}),s.jsxs("div",{className:"job-home-nav-links",children:[s.jsx("a",{href:"#process",children:"Process"}),s.jsx("a",{href:"#pricing",children:"Pricing"}),s.jsx("a",{href:"/contact",children:"Contact"}),s.jsx(z,{to:"/job-applications/login",children:"Log in"})]})]}),s.jsxs("div",{className:"job-home-hero-content",children:[s.jsx("p",{className:"job-home-eyebrow",children:"Job application help"}),s.jsx("h1",{children:e.homepageTitle}),s.jsx("p",{children:"Upload your resume, tell us what to apply to and how you'd like us to do it, and then only pay once you see a small sample of our work."}),s.jsxs("form",{className:"job-home-goal-form",onSubmit:a,children:[s.jsxs("div",{className:"job-home-goal-sentence",children:[s.jsxs("label",{children:[s.jsx("span",{children:"I am a(n)"}),s.jsx("input",{value:o.currentIdentity,onChange:l=>i(c=>({...c,currentIdentity:l.target.value})),placeholder:"server, engineer, student",list:"job-home-current-examples"})]}),s.jsxs("label",{children:[s.jsx("span",{children:"looking to get hired as a(n)"}),s.jsx("input",{value:o.targetRole,onChange:l=>i(c=>({...c,targetRole:l.target.value})),placeholder:"backend engineer, manager",list:"job-home-target-examples",required:!0})]})]}),s.jsxs("datalist",{id:"job-home-current-examples",children:[s.jsx("option",{value:"engineer"}),s.jsx("option",{value:"server"}),s.jsx("option",{value:"student"}),s.jsx("option",{value:"manager"}),s.jsx("option",{value:"warehouse associate"})]}),s.jsxs("datalist",{id:"job-home-target-examples",children:[s.jsx("option",{value:"backend engineer"}),s.jsx("option",{value:"payments engineer"}),s.jsx("option",{value:"restaurant manager"}),s.jsx("option",{value:"administrative assistant"}),s.jsx("option",{value:"warehouse associate"})]}),s.jsx("button",{className:"job-home-primary",type:"submit",children:"Start your 20 applications"})]})]})]}),s.jsx("section",{className:"job-home-section job-home-proof",children:s.jsxs("div",{className:"job-home-section-inner job-home-proof-layout",children:[s.jsxs("div",{children:[s.jsx("h2",{children:"You see the thinking before it goes out."}),s.jsx("p",{children:"A good batch is not just volume. It is choosing roles that fit, skipping bad matches, and writing answers that sound like you."}),e.showFounderQuote&&s.jsxs("blockquote",{children:['"I built this tool be
67cause I mastered the skill of applying to jobs during a long period of unemployment. I wanted to share my skill with the world in hopes that other people may find jobs faster. The entire time I applied I was committed to making sure others would not have to go through the same thing. I truly believe in my product and I hope it serves you well, especially if you are in need or are undergoing hardship."',s.jsx("cite",{children:"Gunther Schwartz, Creator"})]})]}),s.jsxs("div",{className:"job-home-answer-sample","aria-label":"Sample tailored application answer",children:[s.jsx("span",{children:"Sample tailored answer"}),s.jsx("h3",{children:"Why are you interested in this role?"}),s.jsx("p",{children:"I am interested in this backend platform role because it connects directly to my recent work building payment flows, debugging production APIs, and improving reliability for customer-facing systems. I like roles where I can own practical backend work, communicate clearly with product and operations, and ship improvements that reduce friction for users."}),s.jsxs("div",{children:[s.jsx("strong",{children:"Source used"}),s.jsx("em",{children:"Resume: payment integrations, API work, production support, customer workflow tools"})]})]})]})}),s.jsx("section",{id:"process",className:"job-home-section job-home-process",children:s.jsx("div",{className:"job-home-section-inner",children:s.jsxs("div",{children:[s.jsx("h2",{children:"Human help when you need it."}),s.jsx("p",{children:"Anytime you need you can contact a human to take a look at the account. We use AIs for the dirty work but we don't like it when it feels like our customers are shouting into a void."})]})})}),s.jsx("section",{id:"pricing",className:"job-home-section job-home-pricing",children:s.jsxs("div",{className:"job-home-section-inner job-home-pricing-inner",children:[s.jsxs("div",{children:[s.jsxs("h2",{children:[n,"."]}),s.jsx("p",{children:"One-time purchase. No subscription, no trial, and no automatic renewal. We start after you tell us what you want and payment is verified."}),s.jsx("div",{className:"job-home-payment-rails","aria-label":"Current payment methods",children:e.paymentRailLabels.map(l=>s.jsx("span",{className:l.toLowerCase().includes("coming soon")?"coming-soon":"",children:l},l))}),e.showDiscounts&&s.jsxs("div",{className:"job-home-discount-list",children:[s.jsxs("div",{className:"job-home-student-promo",children:[s.jsx("span",{children:"Student deal"}),s.jsx("strong",{children:"$30 with a .edu email"}),s.jsx("p",{children:"Use your school email during signup and the payment page drops the batch price automatically."})]}),s.jsxs("p",{className:"job-home-hardship-note",children:["Need a lower price?"," ",s.jsx("a",{href:`mailto:${e.supportEmail}?subject=${encodeURIComponent(`${e.name} hardship discount`)}`,children:"Email us"})," ","about the $20 hardship option."]})]})]}),s.jsxs("div",{className:"job-home-price-action",children:[s.jsxs("form",{className:"job-home-goal-form job-home-pricing-goal-form",onSubmit:a,children:[s.jsxs("div",{className:"job-home-goal-sentence",children:[s.jsxs("label",{children:[s.jsx("span",{children:"I am a(n)"}),s.jsx("input",{value:o.currentIdentity,onChange:l=>i(c=>({...c,currentIdentity:l.target.value})),placeholder:"server, engineer, student",list:"job-home-current-examples"})]}),s.jsxs("label",{children:[s.jsx("span",{children:"looking to get hired as a(n)"}),s.jsx("input",{value:o.targetRole,onChange:l=>i(c=>({...c,targetRole:l.target.value})),placeholder:"backend engineer, manager",list:"job-home-target-examples",required:!0})]})]}),s.jsx("button",{className:"job-home-primary",type:"submit",children:"Start your 20 applications"})]}),s.jsxs("div",{className:"job-home-price-note",children:[s.jsx("strong",{children:"20 applications"}),s.jsx("span",{children:"One focused batch"})]})]})]})}),s.jsx("section",{className:"job-home-section job-home-boundaries",children:s.jsxs("div",{className:"job-home-section-inner job-home-two-col",children:[s.jsx("div",{children:s.jsx("h2",{children:"We keep applications honest and high-quality."})}),s.jsxs("ul",{className:"job-home-boundary-list",children:[s.jsx("li",{children:"We do not fabricate experience, credentials, work authorization, or salary history."}),s.jsx("li",{children:"We do not apply below your pay floor or against your location rules."}),s.jsx("li",{children:"We do not apply to companies, industries, or role types you tell us to avoid."}),s.jsx("li",{children:"Filtered-out roles carry a reason and do not count toward the 20 submitted applications."})]})]})}),s.jsx("section",{className:"job-home-section job-home-faq",children:s.jsx("div",{className:"job-home-section-inner",children:s.jsx(Y,{variant:"menu",eyebrow:"Manual",title:"Full product manual",children:s.jsxs("div",{className:"job-home-faq-panel",children:[s.jsx("h2",{children:"Everything from upload to submitted batch."}),s.jsx("p",{className:"job-home-faq-intro",children:"Use this as the compact manual for the service: what we need, what you see before paying, what counts toward the batch, and how to keep the work pointed in the right direction."}),s.jsxs("div",{className:"job-home-faq-flow","aria-label":"Product flow",children:[s.jsxs("div",{children:[s.jsx("span",{children:"01"}),s.jsx("strong",{children:"Intake"}),s.jsx("p",{children:"Resume, goals, target roles, links, rules, and context."})]}),s.jsxs("div",{children:[s.jsx("span",{children:"02"}),s.jsx("strong",{children:"Sample"}),s.jsx("p",{children:"One answer and source role so you can inspect the work."})]}),s.jsxs("div",{children:[s.jsx("span",{children:"03"}),s.jsx("strong",{children:"Pay"}),s.jsx("p",{children:"Payment unlocks the batch after the sample is visible."})]}),s.jsxs("div",{children:[s.jsx("span",{children:"04"}),s.jsx("strong",{children:"Run"}),s.jsx("p",{children:"You finish details, then manually trigger the applications."})]})]}),s.jsx("h3",{className:"job-home-faq-category",children:"Start Here"}),s.jsx(Y,{title:"What is the product?",children:s.jsx("p",{children:"A one-time job application batch. We help find f
67itting roles, draft application answers, avoid bad matches, and submit twenty high-quality applications."})}),s.jsx(Y,{title:"What do I do first?",children:s.jsx("p",{children:"Start with the quick goal fields, then upload your resume and tell us what kind of roles, locations, pay, and companies should guide the search."})}),s.jsx(Y,{title:"What happens before payment?",children:s.jsx("p",{children:"We use your resume and preferences to prepare a small sample: one filled-out answer, the role it came from, and the job site link so you can judge the work."})}),s.jsx(Y,{title:"When do I pay?",children:s.jsx("p",{children:"You only pay after the first sample is visible. The payment window stays in the portal until payment is verified."})}),s.jsx(Y,{title:"What happens after payment?",children:s.jsx("p",{children:"You can fill out the more detailed profile fields, review anything important, and manually trigger the run when you are ready."})}),s.jsx(Y,{title:"What counts as one application?",children:s.jsx("p",{children:"A submitted application to a real role that passes your filters counts toward the twenty. Roles we skip or reject do not count."})}),s.jsx(Y,{title:"What gets filtered out?",children:s.jsx("p",{children:"We skip roles that conflict with your pay floor, location rules, authorization, no-go companies, no-go industries, or role preferences."})}),s.jsx(Y,{title:"How do you choose roles?",children:s.jsx("p",{children:"We look for overlap between the role and your resume, target titles, seniority, skills, location, compensation needs, and stated preferences."})}),s.jsx(Y,{title:"What should I upload?",children:s.jsx("p",{children:"Your resume is the core file. Portfolio links, LinkedIn, GitHub, cover-letter notes, brag docs, and job preferences also help."})}),s.jsx(Y,{title:"What should I tell you to avoid?",children:s.jsx("p",{children:"Tell us about low pay, commute limits, relocation, sponsorship issues, industries, companies, schedules, contract types, or anything that would waste your time."})}
67),s.jsx(Y,{title:"What if I do not know exactly what roles I want?",children:s.jsx("p",{children:"Give us a direction, a few examples, or the kind of work you want more of. We can turn fuzzy goals into a tighter search before the run starts."})}),s.jsx("h3",{className:"job-home-faq-category",children:"Preview And Payment"}),s.jsx(Y,{title:"Why do you show a sample first?",children:s.jsx("p",{children:"The sample makes the work concrete. You can see how we use your resume, how the answer sounds, and which job site it came from before paying."})}),s.jsx(Y,{title:"What if the sample feels wrong?",children:s.jsx("p",{children:"Tell us what missed. We would rather adjust the profile, target roles, or writing style before you pay than push a weak batch."})}),s.jsx(Y,{title:"Can I pay before finishing every detail?",children:s.jsx("p",{children:"Yes. The deeper profile questions live after payment, because they matter most when you are ready to launch the actual run."})}),s.jsx("h3",{className:"job-home-faq-category",children:"Batch Rules"}),s.jsx(Y,{title:"Can I review progress?",children:s.jsx("p",{children:"Yes. Each batch gets a private page showing when we receive it, find roles, write answers, submit, and finish."})}),s.jsx(Y,{title:"Can I stop or adjust a batch?",children:s.jsxs("p",{children:["Email ",e.supp
67ortEmail," if something changes. The earlier you contact us, the easier it is to adjust targets before submissions go out."]})}),s.jsx(Y,{title:"What does high-quality mean?",children:s.jsx("p",{children:"It means the role fits your stated direction, avoids your blockers, uses truthful resume context, and gets a thoughtful answer where the form requires one."})}),s.jsx(Y,{title:"What if a job has unusual questions?",children:s.jsx("p",{children:"We answer from your resume and supplied notes. If a question needs personal judgment, missing facts, or sensitive information, we flag it instead of guessing."})}),s.jsx("h3",{className:"job-home-faq-category",children:"Account And Support"}),s.jsx(Y,{title:"Can a human look at my account?",children:s.jsxs("p",{children:["Yes. Email ",e.supportEmail," when something feels off, unclear, or too important to leave to automation."]})}),s.jsx(Y,{title:"What do I see in the portal?",children:s.jsx("p",{children:"You see your sample, payment status, profile details, batch status, and enough of the work record to understand what happened."})}),s.jsx(Y,{title:"Can I send more context later?",children:s.jsx("p",{children:"Yes. More context usually improves the batch: preferred companies, sample jobs, personal constraints, tone notes, or reasons past applications failed."})}),s.jsx("h3",{className:"job-home-faq-category",children:"Trust And Data"}),s.jsx(Y,{title:"Will you pretend to be me?",children:s.jsx("p",{children:"No. We do not fabricate experience, credentials, work authorization, salary history, degrees, or personal claims."})}
67),s.jsx(Y,{title:"How is my data handled?",children:s.jsx("p",{children:"We store your resume, preferences, status updates, and submission records only to deliver the application batch and keep the work record."})}),s.jsx(Y,{title:"Can I delete my data?",children:s.jsxs("p",{children:["Yes. Email ",e.supportEmail," and we will remove your resume, preferences, and batch records."]})}),e.showDiscounts&&s.jsx(Y,{title:"Do you offer discounts?",children:s.jsxs("p",{children:["Yes. Customers using a .edu email pay $30. A lower hardship price is available by",s.jsx("a",{href:`mailto:${e.supportEmail}?subject=${encodeURIComponent(`${e.name} hardship discount`)}`,children:" emailing support"}),"."]})}),s.jsx(Y,{title:"What if my case is unusual?",children:s.jsxs("p",{children:["Put the nuance in the notes or email ",e.supportEmail,". The more context you give us, the less guessing we have to do."]})})]})})})}),s.jsx(ct,{})]})}const Vn={goal:{current_identity:"",target_role:""},candidate:{name:"",email:"",email_confirm:"",phone:"",city:"",state:"",country:"United States",work_authorization:"",sponsorship:""},account:{password:"",confirm_password:""},links:{linkedin:"",github:"",portfolio:"",other:""},target:{titles:"",locations:"",remote_only:!0,industry_tags:"",preferred_companies:"",preferred_industries:"",preferred_geographies:"",salary_floor:"",salary_target:"",job_types:"",hard_blockers:"",company_blocklist:"",notes:""},resume:{text:"",file_name:"",file_type:"",file_size:0,file_base64:""},resume_strategy:{mode:"same_resume",notes:""},supplemental_files:[],profile:{parsed_summary:"",detected_skills:[],detected_links:[],detected_seniority:"",suggested_titles:[],personalized_questions:[],question_answers:{},hireability_score:0,hireability_factors:[],market_role_count:0,sample_jobs:[],preview_sample:null},authorization:{authorized_to_submit:!1,accurate_information:!1,understands_no_guarantee:!1},submission_preference:{mode:"auto_submit",notes:""},website:""},kr="quiqrpay.jobApplicationIntakeDraft.v1",xf="quiqrpay.jobApplicationsAttribution.v1",Lv=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","lead_id","ref","source"],Qo=["Intake received","Finding roles","Preparing applications","Submitting applications","Batch complete"],Iv=Qo.filter(e=>e!=="Intake received"&&e!=="Batch complete"),vr=[{id:"resume",label:"Resume"},{id:"criteria",label:"Criteria"},{id:"workplaces",label:"Workplaces"},{id:"pay",label:"Comp"}],Av=["Reading resume context","Checking role fit","Choosing one sample role","Writing the sample answer","Opening the portal"],Ul=["Finding your saved intake","Loading the sample answer","Loading batch state"],Ov=["JavaScript","TypeScript","React","Node","Python","Java","Rust","Go","SQL","PostgreSQL","MySQL","MongoDB","Redis","AWS","GCP","Docker","Kubernetes","Terraform","Stripe","payments","sales","customer service","operations","inventory","hospitality"],Dv=["No relocation","No long take-homes","No unpaid trials","No heavy mobile roles","No defense work","No commission-only roles","No night shift","No weekend-only schedule"],zv=["Full-time","Contract","Contract-to-hire","Part-time","Temporary","Internship"];function du(){if(typeof window>"u")return{};const e=new URLSearchParams(window.location.search);return{current_identity:e.get("current_identity")||"",target_role:e.get("target_role")||""}}function Mv(){if(typeof window>"u")return{};try{const e=JSON.parse(window.localStorage.getItem(xf)||"{}");return e&&typeof e=="object"?e:{}}catch{return{}}}function pu(){if(typeof window>"u")return{};const e=new URLSearchParams(window.location.search),t=Mv(),n={};Lv.forEach(o=>{const i=e.get(o);i&&(n[o]=i)});const r={...t,...n,landing_page:t.landing_page||window.location.pathname,landing_search:t.landing_search||window.location.search,referrer:t.referrer||document.referrer,captured_at:t.captured_at||new Date().toISOString()};return(Object.keys(n).length||!t.captured_at)&&window.localStorage.setItem(xf,JSON.stringify(r)),r}function Fv(e,t){return`job-applications:${t}:${e}`}async function Cr(e,t,n={},r={}){if(!e||typeof window>"u")return;const o=r.dedupe?Fv(e,t):"";if(o&&window.localStorage.getItem(o))return;o&&window.localStorage.setItem(o,new Date().toISOString());const i=JSON.stringify({event:t,details:{...n,page:window.location.pathname,page_search:window.location.search,referrer:document.referrer,idempotency_key:o}});try{await fetch(`/api/job-application/payments/${encodeURIComponent(e)}/analytics`,{method:"POST",headers:{"Content-Type":"application/json"},body:i,keepalive:!0})}catch{o&&window.localStorage.removeItem(o)}}function D(e,t,n,r){e(o=>({...o,[t]:{...o[t],[n]:r}}))}function cn(e,t,n){var a,l;const r=e||{},o=((a=t.current)==null?void 0:a.value)||r.password||"",i=((l=n.current)==null?void 0:l.value)||r.confirm_password||"";return{...r,password:o,confirm_password:i}}function mt(e,t,n){e(r=>{const o=cn(r.account,t,n);return r.account.password===o.password&&r.account.confirm_password===o.confirm_password?r:{...r,account:o}})}function fu(e){return new Promise((t,n)=>{const r=new FileReader;r.onload=()=>{const o=String(r.result||"");t(o.includes(",")?o.split(",").pop():o)},r.onerror=()=>
67n(r.error||new Error("File read failed")),r.readAsDataURL(e)})}function $v(e){return new Promise((t,n)=>{const r=new FileReader;r.onload=()=>t(String(r.result||"")),r.onerror=()=>n(r.error||new Error("File read failed")),r.readAsText(e)})}function _f(e){return String(e||"").trim().replace(/\s+/g," ").replace(/\b\w/g,t=>t.toUpperCase())}function Hn(e){return[...new Set((e||[]).map(t=>String(t||"").trim()).filter(Boolean))]}function Yo(e){return Hn(String(e||"").split(/[\n,;]+/))}function Ti(e){return String(e||"").split(`
68`).map(t=>t.trim()).find(Boolean)||""}function Bv(e){var j,x;const t=String(e.resume.text||""),n=t.toLowerCase(),r=((j=t.match(/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}/i))==null?void 0:j[0])||"",o=((x=t.match(/(?:\+?1[\s.-]?)?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4}/))==null?void 0:x[0])||"",i=Hn(t.match(/https?:\/\/[^\s),]+/g)||[]),a=Ov.filter(f=>n.includes(f.toLowerCase())),l=n.includes("principal")||n.includes("staff ")?"Staff or principal":n.includes("senior")||n.includes("lead ")?"Senior":n.includes("manager")||n.includes("director")?"Manager":n.includes("intern")||n.includes("student")?"Early career":"",c=Ti(t).length<72&&!Ti(t).includes("@")?_f(Ti(t)):"",u=Hn([e.goal.target_role,n.includes("payment")||n.includes("stripe")?"Payments Product Engineer":"",n.includes("backend")||n.includes("api")?"Backend Engineer":"",n.includes("react")||n.includes("frontend")?"Full Stack Engineer":"",n.includes("operations")?"Operations Specialist":"",n.includes("sales")?"Sales Representative":"",n.includes("restaurant")||n.includes("hospitality")?"Hospitality Manager":""]),h=t.match(/\b([A-Z][a-z]+(?: [A-Z][a-z]+)?),\s*([A-Z]{2})\b/),d=/authorized to work|us citizen|u\.s\. citizen|green card|permanent resident/.test(n)?"Authorized to work in the United States":"",y=/no sponsorship|without sponsorship|do not require sponsorship/.test(n)?"No sponsorship required":/sponsorship|h-?1b|visa/.test(n)?"May need sponsorship or visa support":"",w=Hn([/no relocation|not relocating|remote only/.test(n)?"No relocation":"",/no travel|cannot travel/.test(n)?"No travel-heavy roles":"",/part[- ]time only/.test(n)?"Part-time only":""]),m=[l?`${l} candidate`:"",a.length?`skills detected: ${a.slice(0,8).join(", ")}`:""].filter(Boolean);return{name:c,email:r,phone:o,city:(h==null?void 0:h[1])||"",state:(h==null?void 0:h[2])||"",skills:a,seniority:l,links:i,suggestedTitles:u,workAuthorization:d,sponsorship:y,possibleBlockers:w,parsed_summary:m.join(". ")}}function Uv(e,t){if(!`${e.goal.target_role} ${e.target.titles}`.trim())return 0;let r=18;return e.target.locations.trim()&&(r+=12),e.target.remote_only&&(r+=18),e.target.industry_tags.trim()&&(r+=7),(t.skills||[]).length>=4&&(r+=9),e.target.salary_floor.trim()&&(r-=3),Math.max(6,r)}function qv(e,t){const n=e.goal.target_role||Yo(e.target.titles)[0]||"Application target",r=e.target.locations||e.target.preferred_geographies||(e.target.remote_only?"Remote":"Your area"),o=Hn([...(t.suggestedTitles||[]).slice(0,3),n,`${_f(n)} I`]),i=["","Associate","Coordinator","Specialist","Analyst","Representative","Operations","Remote","Customer","Client","Implementation","Support","Entry Level","Junior","Program","Project","Growth","Success"];return Hn(Array.from({length:50},(l,c)=>{const u=o[c%o.length]||n,h=i[c%i.length],d=Math.floor(c/i.length),y=d>0?` ${d+1}`:"";return h?`${h} ${u}${y}`:`${u}${y}`})).slice(0,50).map((l,c)=>({title:l,company:"",location:r,fit:c===0?"Strong":c===1?"Good":"Review"}))}function Wv(e,t){const n=[];return e.candidate.work_authorization.trim()||n.push({id:"work_authorization",question:"What should we say when applications ask about work authorization?",placeholder:"For example: authorized to work in the US, no sponsorship required.",required:!0}),e.target.hard_blockers.trim()||n.push({id:"blockers",question:"Anything that would make a role an automatic no?",placeholder:"Schedule, commute, take-homes, industry, title, travel, or anything else.",required:!1}),(t.skills||[]).length<4&&n.push({id:"strongest_skills",question:"Which 3-5 skills or experiences should we emphasize most?",placeholder:"Tools, wins, customer stories, industries, or responsibilities.",required:!1}),e.target.notes.trim()||n.push({id:"tone",question:"What should applications sound like?",placeholder:"Direct, warm, senior, entry-level, gritty, polished, plainspoken, etc.",required:!1}),n.slice(0,4)}function Vv(e,t,n){const r=[];let o=28;return(e.resume.text.trim()||e.resume.file_base64)&&(o+=18,r.push("Resume attached")),(e.goal.target_role.trim()||e.target.titles.trim())&&(o+=14,r.push("Target role is clear")),(e.target.locations.trim()||e.target.remote_only)&&(o+=10,r.push("Location rules are usable")),(t.skills||[]).length>=4&&(o+=12,r.push("Resume has searchable skills")),e.target.salary_floor.trim()&&(o+=7,r.push("Pay floor is known")),n>=30&&(o+=8,r.push("Enough market supply for a first pass")),e.target.hard_blockers.trim()&&(o+=4,r.push("Known blockers can be filtered")),{score:Math.min(96,o),factors:r}}function q({label:e,children:t,wide:n=!1}){return s.jsxs("label",{className:n?"job-intake-field wide":"job-intake-field",children:[s.jsx("span",{children:e}),t]})}function Xt(e){return JSON.parse(JSON.stringify(e))}function ks(e,t){return!t||typeof t!="object"?Xt(e):{...Xt(e),...t,goal:{...e.goal,...t.goal||{}},candidate:{...e.candidate,...t.candidate||{}},account:{...e.account,...t.account||{}},links:{...e.links,...t.links||{}},target:{...e.target,...t.target||{}},resume:{...e.resume,...t.resume||{}},resume_strategy:{...e.resume_strategy,...t.resume_strategy||{}},supplemental_files:Array.isArray(t.supplemental_files)?t.supplemental_files:[],profile:{...e.profile,...t.profile||{}},authorization:{...e.authorization,...t.authorization||{}},submission_preference:{...e.submission_preference,...t.submission_preference||{}}}}function mu(e){const t=Xt(e);return t.account={password:"",confirm_password:""},t}function Aa(e,t=!0){const n=(e==null?void 0:e.password)||"",r=(e==null?void 0:e.confirm_password)||"";return!n&&!r&&!t?"":n?n.length<8?"Customer portal password must be at least 8 characters.":n.length>128?"Customer portal password must be 128 characters or fewer.":n!==r?"Customer portal passwords must match.":"":"Create a customer portal password."}function Cs(e){return String(e||"").trim().toLowerCase()}function ql(e,t=!0){const n=Cs(e==null?void 0:e.email),r=Cs(e==null?void 0:e.email_confirm);return!n&&!r&&!t?"":n?r?n!==r?"Customer portal emails must match.":"":"Confirm the email you will use for the customer portal.":"Add the email you will use for the customer portal."}function To(e){const t=Cs(e);return t.includes("@")&&t.includes(".")?t:""}function hu(e){return e!=null&&e.authorized_to_submit?e!=null&&e.accurate_information?e!=null&&e.understands_no_guarantee?"":"Confirm you understand Quiqrpay cannot guarantee interviews, offers, employment, or compensation.":"Confirm your resume, links, work history, authorization details, and application information are accurate.":"Authorize Quiqrpay to prepare and submit applications before continuing."}function vt(e){return Array.isArray(e)?e.join(", "):String(e||"")}function Es(e){var o;const t=Xt(Vn);if(!e||typeof e!="object")return t;const n=e.target||{},r={...e.candidate||{},email_confirm:((o=e.candidate)==null?void 0:o.email)||""};return ks(t,{goal:e.goal||{},candidate:r,links:e.links||{},target:{titles:vt(n.titles),locations:vt(n.locations),remote_only:n.remote_only!==!1,industry_tags:vt(n.industry_tags),preferred_companies:vt(n.preferred_companies),preferred_industries:vt(n.preferred_industries),preferred_geographies:vt(n.preferred_geographies),salary_floor:n.salary_floor||"",salary_target:n.salary_target||"",job_types:vt(n.job_types),hard_blockers:vt(n.hard_blockers),company_blocklist:vt(n.company_blocklist),notes:n.notes||""},profile:e.profile||{},authorization:e.authorization||{},submission_preference:e.submission_preference||{},resume_strategy:e.resume_strategy||{}})}function Hv(){try{const e=window.localStorage.getItem(kr),t=du(),n=e?ks(Vn,JSON.parse(e)):Xt(Vn);return{...n,goal:{...n.goal,current_identity:n.goal.current_identity||t.current_identity||"",target_role:n.goal.target_role||t.target_role||""},target:{...n.target,titles:n.target.titles||t.target_role||""}}}catch{const t=du(),n=Xt(Vn);return n.goal={...n.goal,...t},n.target.titles=t.target_role||"",n}}
68function co({variant:e="panel",title:t,detail:n,steps:r=Av,targetRole:o="",resumeName:i=""}){const[a,l]=p.useState(0);p.useEffect(()=>{const d=window.setInterval(()=>{l(y=>y+1)},1100);return()=>window.clearInterval(d)},[]);const c=Math.min(r.length-1,Math.floor(a/2)),u=Math.min(94,16+a*7),h=e==="overlay"?"job-intake-loading-overlay":"job-intake-loading-panel";return s.jsx("div",{className:h,role:"status","aria-live":"polite","aria-busy":"true",children:s.jsxs("div",{className:"job-intake-loading-card",children:[s.jsxs("div",{className:"job-intake-loading-orbit","aria-hidden":"true",children:[s.jsx("span",{}),s.jsx("span",{}),s.jsx("span",{})]}),s.jsxs("div",{className:"job-intake-loading-copy",children:[s.jsx("p",{className:"job-intake-kicker",children:"Building your preview"}),s.jsx("h2",{children:t}),s.jsx("p",{children:n}),s.jsxs("div",{className:"job-intake-loading-meta",children:[o&&s.jsx("span",{children:o}),i&&s.jsx("span",{children:i})]})]}),s.jsx("div",{className:"job-intake-loading-progress","aria-hidden":"true",children:s.jsx("span",{style:{width:`${u}%`}})}),s.jsx("div",{className:"job-intake-loading-steps",children:r.map((d,y)=>s.jsxs("div",{className:y<c?"complete":y===c?"active":"",children:[s.jsx("span",{children:String(y+1).padStart(2,"0")}),s.jsx("strong",{children:d})]},d))}),s.jsxs("div",{className:"job-intake-loading-skeleton","aria-hidden":"true",children:[s.jsx("span",{}),s.jsx("span",{}),s.jsx("span",{})]})]})})}function Gv(){const e=He();return p.useEffect(()=>(document.body.classList.add("job-applications-home"),e.bodyClass&&document.body.classList.add(e.bodyClass),()=>{document.body.classList.remove("job-applications-home"),e.bodyClass&&document.body.classList.remove(e.bodyClass)}),[e.bodyClass]),s.jsx("main",{className:"job-loading-debug-page",children:s.jsx(co,{title:"Loading the job application engine.",detail:"We are matching roles, reading application pages, checking blockers, and shaping the preview list.",targetRole:"Software engineering roles",resumeName:"Developer debug mode",steps:["Scanning role sources","Checking fit signals","Filtering blockers","Preparing preview cards"]})})}function Qv(){const e=He(),[t,n]=p.useState(Hv),[r,o]=p.useState(0),[i,a]=p.useState(!1),[l,c]=p.useState(""),[u,h]=p.useState(""),[d,y]=p.useState({email:"",registered:!1}),[w,m]=p.useState({loading:!1,loaded:!1,live:!1,cached:!1,match_count:0,source_job_count:0,scanned_board_count:0,jobs:[],error:""}),j=p.useRef(!1),x=p.useRef(""),f=p.useRef(""),g=p.useRef(""),v=p.useRef(null),_=p.useRef(null),S=Tt(),b=p.useMemo(()=>Bv(t),[t.resume.text,t.resume.file_name,t.goal.target_role]),P=p.useMemo(()=>Uv(t,b),[t.goal.target_role,t.target.titles,t.target.locations,t.target.remote_only,t.target.industry_tags,t.target.salary_floor,b.skills]),N=p.useMemo(()=>qv(t,b),[t.goal.target_role,t.target.titles,t.target.locations,t.target.preferred_geographies,t.target.remote_only,b.suggestedTitles]),$=Array.isArray(w.jobs)?w.jobs:[],L=w.loaded&&w.match_count?w.match_count:P,ee=($.length?$:N).slice(0,50),re=p.useMemo(()=>Wv(t,b),[t.candidate.work_authorization,t.target.hard_blockers,t.target.notes,b.skills]),J=p.useMemo(()=>Vv(t,b,L),[t.resume.text,t.resume.file_base64,t.goal.target_role,t.target.titles,t.target.locations,t.target.remote_only,t.target.salary_floor,t.target.hard_blockers,b.skills,L]),G=vr[r],yt=k=>`/job-applications/login?email=${encodeURIComponent(k)}&existing=1`,jn=async k=>{const A=To(k);if(!A)return null;const R=await fetch("/api/job-application/intake/email-status",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:A})}),M=await R.json().catch(()=>({}));if(!R.ok||M.success===!1)throw new Error(M.error||"Could not check this email");return y({email:A,registered:!!M.registered}),M},lr=k=>{const A=To(k);A&&S(yt(A),{replace:!0})},T=async()=>{const k=ql(t.candidate,!0);if(k)return c(k),!1;try{const A=await jn(t.candidate.email);if(A!=null&&A.registered)return c("That email already has a customer portal. Log in to continue."),lr(t.candidate.email),!1}catch(A){return c(A.message||"Could not check this email"),!1}return!0};p.useEffect(()=>(document.body.classList.add("job-applications-intake"),pu(),e.bodyClass&&document.body.classList.add(e.bodyClass),()=>{document.body.classList.remove("job-applications-intake"),e.bodyClass&&document.body.classList.remove(e.bodyClass)}),[e.bodyClass]),p.useEffect(()=>{const k=()=>mt(n,v,_),A=[window.setTimeout(k,80),window.setTimeout(k,500),window.setTimeout(k,1200)],R=window.setInterval(k,1e3);return()=>{A.forEach(M=>
68window.clearTimeout(M)),window.clearInterval(R)}},[]),p.useEffect(()=>{if(!j.current){j.current=!0,window.localStorage.getItem(kr)&&h("Draft restored on this browser.");return}const k=window.setTimeout(()=>{try{window.localStorage.setItem(kr,JSON.stringify(mu(t))),h("Draft saved on this browser.")}catch{h("Draft autosave is unavailable in this browser.")}},350);return()=>window.clearTimeout(k)},[t]),p.useEffect(()=>{const k=To(t.candidate.email);if(!k||x.current===k)return;const A=window.setTimeout(async()=>{try{const R=await jn(k);if(x.current=k,R!=null&&R.registered){h("That email already has a customer portal. Log in to continue.");return}R!=null&&R.draft&&(n(M=>{const Q=ks(Vn,R.draft);return ks(Q,M)}),h("Draft restored from this email."))}catch{}},700);return()=>window.clearTimeout(A)},[t.candidate.email]),p.useEffect(()=>{const k=To(t.candidate.email),A=Cs(t.candidate.email_confirm);if(!k||A&&A!==k||d.email===k&&d.registered)return;const R=mu(t),M=JSON.stringify(R);if(M===f.current)return;const Q=window.setTimeout(async()=>{try{const se=await fetch("/api/job-application/intake/draft",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(R)}),uo=await se.json().catch(()=>({}));if(se.status===409&&uo.registered){y({email:k,registered:!0}),h("That email already has a customer portal. Log in to continue.");return}if(!se.ok||uo.success===!1)return;f.current=M,h("Draft saved to this email.")}catch{}},1200);return()=>window.clearTimeout(Q)},[t,d]),p.useEffect(()=>{const k=`${t.resume.file_name}|${t.resume.text.slice(0,500)}`;!k.trim()||k===g.current||(g.current=k,n(A=>{const R=Xt(A);return!R.candidate.name&&b.name&&(R.candidate.name=b.name),!R.candidate.email&&b.email&&(R.candidate.email=b.email),!R.candidate.phone&&b.phone&&(R.candidate.phone=b.phone),!R.candidate.city&&b.city&&(R.candidate.city=b.city),!R.candidate.state&&b.state&&(R.candidate.state=b.state),!R.candidate.work_authorization&&b.workAuthorization&&(R.candidate.work_authorization=b.workAuthorization),!R.candidate.sponsorship&&b.sponsorship&&(R.candidate.sponsorship=b.sponsorship),!R.target.titles&&b.suggestedTitles.length&&(R.target.titles=b.suggestedTitles.join(", ")),!R.target.hard_blockers&&b.possibleBlockers.length&&(R.target.hard_blockers=b.possibleBlockers.join(", ")),R.links.linkedin||(R.links.linkedin=b.links.find(M=>M.toLowerCase().includes("linkedin"))||""),R.links.github||(R.links.github=b.links.find(M=>M.toLowerCase().includes("github"))||""),R.links.portfolio||(R.links.portfolio=b.links.find(M=>!M.toLowerCase().includes("linkedin")&&!M.toLowerCase().includes("github"))||""),R}))},[t.resume.file_name,t.resume.text,b]),p.useEffect(()=>{const k=t.goal.target_role.trim()||t.target.titles.trim(),A=t.resume.text.trim()||t.resume.file_base64;if(!k||!A){m(Q=>({...Q,loading:!1,loaded:!1,jobs:[],error:""}));return}const R=new AbortController,M=window.setTimeout(async()=>{m(Q=>({...Q,loading:!0,error:""}));try{const Q=await fetch("/api/job-application/market-preview",{method:"POST",headers:{"Content-Type":"application/json"},signal:R.signal,body:JSON.stringify({goal:t.goal,target:t.target,resume:{text:t.resume.text.slice(0,8e3)},profile:{detected_skills:b.skills,suggested_titles:b.suggestedTitles},limit:50})}),se=await Q.json().catch(()=>({}));if(!Q.ok||se.success===!1||!se.preview)throw new Error(se.error||"Live job preview unavailable");m({loading:!1,loaded:!0,live:!!se.preview.live,cached:!!se.preview.cached,match_count:Number(se.preview.match_count||0),source_job_count:Number(se.preview.source_job_count||0),scanned_board_count:Number(se.preview.scanned_board_count||0),jobs:Array.isArray(se.preview.jobs)?se.preview.jobs.slice(0,50):[],error:""})}catch(Q){if((Q==null?void 0:Q.name)==="AbortError")return;m(se=>({...se,loading:!1,loaded:!1,jobs:[],error:(Q==null?void 0:Q.message)||"Live job preview unavailable"}))}},650);return()=>{R.abort(),window.clearTimeout(M)}},[t.goal,t.target,t.resume.text,t.resume.file_base64,b.skills,b.suggestedTitles]);const F=async k=>{var R;const A=(R=k.target.files)==null?void 0:R[0];if(A){if(A.size>1.5*1024*1024){c("Resume files must be under 1.5 MB for launch intake."),k.target.value="";return}try{const M=await fu(A);if(D(n,"resume","file_name",A.name),D(n,"resume","file_type",A.type||"application/octet-stream"),D(n,"resume","file_size",A.size),D(n,"resume","file_base64",M),/\.(txt|md)$/i.test(A.name)||A.type.startsWith("text/")){const Q=await $v(A);D(n,"resume","text",Q)}c("")}catch{c("Could not read that file. Paste resume text instead.")}}},B=async k=>{const A=Array.from(k.target.files||[]);if(A.length)try{const R=[];for(const M of A.slice(0,4)){if(M.size>1.5*1024*1024){c("Supplemental files must be under 1.5 MB each for launch intake.");continue}
68R.push({file_name:M.name,file_type:M.type||"application/octet-stream",file_size:M.size,file_base64:await fu(M),usage:"source_only"})}n(M=>({...M,supplemental_files:[...M.supplemental_files||[],...R].slice(0,4)})),c("")}catch{c("Could not read one of those files.")}},oe=async()=>{if(c(""),G.id==="goal"&&!t.goal.target_role.trim()&&!t.target.titles.trim()){c("Add the role you want before moving on.");return}if(G.id==="resume"&&!t.resume.file_base64&&!t.resume.text.trim()){c("Upload or paste a resume so we can build the preview.");return}if(!(G.id==="resume"&&!await T())){if(G.id==="resume"){const k=cn(t.account,v,_);n(R=>({...R,account:cn(R.account,v,_)}));const A=Aa(k,!0);if(A){c(A);return}}if(G.id==="resume"){const k=hu(t.authorization);if(k){c(k);return}}o(k=>Math.min(vr.length-1,k+1)),window.scrollTo({top:0,behavior:"smooth"})}},de=()=>{c(""),o(k=>Math.max(0,k-1)),window.scrollTo({top:0,behavior:"smooth"})},xn=async k=>{if(k.preventDefault(),a(!0),c(""),!await T()){a(!1);return}const R=cn(t.account,v,_);n(Lt=>({...Lt,account:cn(Lt.account,v,_)}));const M=Aa(R,!0);if(M){c(M),a(!1);return}const Q=hu(t.authorization);if(Q){c(Q),a(!1);return}const se={...t,account:R},uo={...se,profile:{...se.profile,parsed_summary:b.parsed_summary,detected_skills:b.skills,detected_links:b.links,detected_seniority:b.seniority,suggested_titles:b.suggestedTitles,personalized_questions:re,hireability_score:J.score,hireability_factors:J.factors,market_role_count:L,sample_jobs:ee},analytics:{...pu(),page:window.location.pathname,page_search:window.location.search,referrer:document.referrer}};try{const Lt=await fetch("/api/job-application/intake",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(uo)}),_n=await Lt.json().catch(()=>({}));if(!Lt.ok||_n.success===!1){if(Lt.status===409&&_n.registered){c(_n.error||"That email already has a customer portal. Log in to continue."),S(_n.login_url||yt(se.candidate.email),{replace:!0});return}throw new Error(_n.error||"Intake submission failed")}window.localStorage.removeItem(kr),S(`/job-applications/status/${encodeURIComponent(_n.intake.id)}?submitted=1`)}catch(Lt){c(Lt.message||"Intake submission failed")}finally{a(!1)}};return s.jsxs("main",{className:"job-intake",children:[s.jsxs("nav",{className:"job-intake-nav","aria-label":"Main",children:[s.jsx(z,{to:"/",className:"job-intake-logo",children:e.name}),s.jsx(z,{to:"/job-applications/login",className:"job-intake-login",children:"Log in"})]}),i&&s.jsx(co,{variant:"overlay",title:"Generating your sample answer.",detail:"We are saving the intake, selecting a source role, and writing one real answer so the portal has something concrete to judge.",targetRole:t.goal.target_role||t.target.titles,resumeName:t.resume.file_name||"Resume text"}),s.jsxs("form",{className:"job-intake-form",onSubmit:xn,"aria-busy":i,autoComplete:"on",children:[u&&s.jsxs("div",{className:"job-intake-draft-bar",children:[s.jsx("span",{children:u}),s.jsx("button",{type:"button",onClick:()=>{window.localStorage.removeItem(kr),n(Xt(Vn)),o(0),h("Draft cleared.")},children:"Clear draft"})]}),s.jsx("input",{className:"job-intake-honeypot",tabIndex:"-1",autoComplete:"off",value:t.website,onChange:k=>n(A=>({...A,website:k.target.value})),"aria-hidden":"true"}),s.jsx("div",{className:"job-intake-stepper","aria-label":"Intake progress",children:vr.map((k,A)=>s.jsxs("button",{type:"button",className:A===r?"active":A<r?"complete":"",onClick:()=>{A<r&&o(A)},disabled:A>r,"aria-disabled":A>r,children:[s.jsx("span",{children:A+1}),k.label]},k.id))}),s.jsxs("section",{className:"job-intake-panel job-intake-wizard-panel",children:[s.jsx("div",{className:"job-intake-panel-head",children:s.jsx("h2",{children:G.label})}),G.id==="goal"&&s.jsxs("div",{className:"job-intake-grid",children:[s.jsx(q,{label:"I am a(n)",children:s.jsx("input",{required:!0,placeholder:"engineer, server, student, manager",value:t.goal.current_identity,onChange:k=>D(n,"goal","current_identity",k.target.value)})}),s.jsxs(q,{label:"Looking to get hired as a(n)",children:[s.jsx("input",{required:!0,placeholder:"Type any job title, for example backend engineer",value:t.goal.target_role,onChange:k=>{D(n,"goal","target_role",k.target.value),t.target.titles.trim()||D(n,"target","titles",k.target.value)}}),s.jsx("small",{children:"This is free-form. The examples are suggestions, not the only available roles."})]}),s.jsxs("div",{className:"job-intake-preview-strip",children:[s.jsx("strong",{children:"Start small."}),s.jsx("span",{children:"This first step gives the search a direction before we ask for logistics."})]})]}),G.id==="resume"&&s.jsxs("div",{className:"job-intake-grid",children:[s.jsxs(q,{label:"Resume file",wide:!0,children:[s.jsx("input",{type:"file",accept:".pdf,.doc,.docx,.txt,.md,text/plain,application/pdf",onChange:F}),s.jsx("small",{children:"PDF, DOC, DOCX, TXT, or Markdown. We use this to fill fields; this does not have to be the resume sent to employers."})]}),t.resume.file_name&&s.jsxs("p",{className:"job-intake-file",children:["Attached: ",t.resume.file_name]}),s.jsx(q,{label:"Paste your resume",wide:!0,children:s.jsx("textarea",{required:!t.resume.file_base64,rows:"10",placeholder:"Paste your resume here if you are not attaching a file.",value:t.resume.text,onChange:k=>D(n,"resume","text",k.target.value)})}),s.jsxs(q,{label:"Portfolio or supporting files",wide:!0,children:[s.jsx("input",{type:"file",multiple:!0,accept:".pdf,.doc,.docx,.txt,.md,text/plain,application/pdf",onChange:B}),s.jsx("small",{children:"Optional. Portfolio PDFs, writing samples, certificates, or project notes. Info dump time -- keep it light on the bytes, heavy on the context. It helps us greatly."})]}),s.jsx(q,{label:"Customer portal email",children:s.jsx("input",{required:!0,id:"job-intake-portal-email",name:"username",autoComplete:"username",type:"email",value:t.candidate.email,onChange:k=>D(n,"candidate","email",k.target.value),onInput:k=>D(n,"candidate","email",k.currentTarget.value)})}),s.jsx(q,{label:"Confirm portal email",children:s.jsx("input",{required:!0,id:"job-intake-portal-email-confirm",name:"email-confirm",autoComplete:"off",type:"email",value:t.candidate.email_confirm,onChange:k=>D(n,"candidate","email_confirm",k.target.value),onInput:k=>D(n,"candidate","email_confirm",k.currentTarget.value)})}),s.jsx(q,{label:"Create portal password",children:s.jsx("input",{ref:v,required:!0,id:"job-intake-portal-password",name:"quiqrpay_portal_password",autoComplete:"new-password",minLength:"8",maxLength:"128",type:"password",defaultValue:t.account.password,onFocus:()=>mt(n,v,_),onChange:k=>D(n,"account","password",k.target.value),onInput:k=>{D(n,"account","password",k.currentTarget.value),window.setTimeout(()=>mt(n,v,_),0)}})}),s.jsx(q,{label:"Confirm portal password",children:s.jsx("input",{ref:_,required:!0,id:"job-intake-portal-password-confirm",name:"quiqrpay_portal_password_confirm",autoComplete:"new-password",minLength:"8",maxLength:"128",type:"password",defaultValue:t.account.confirm_password,onFocus:()=>mt(n,v,_),onChange:k=>D(n,"account","confirm_password",k.target.value),onInput:k=>{D(n,"account","confirm_password",k.currentTarget.value),window.setTimeout(()=>mt(n,v,_),0)}})}),s.jsxs("div",{className:"job-intake-consent",children:[s.jsxs("label",{className:"job-intake-check",children:[s.jsx("input",{required:!0,type:"checkbox",checked:t.authorization.authorized_to_submit,onChange:k=>D(n,"authorization","authorized_to_submit",k.target.checked)}),s.jsxs("span",{children:["I authorize ",e.name," to prepare applications and submit them according to the submission preference I selected."]})]}),s.jsxs("label",{className:"job-intake-check",children:[s.jsx("input",{required:!0,type:"checkbox",checked:t.authorization.accurate_information,onChange:k=>D(n,"authorization","accurate_information",k.target.checked)}),s.jsx("span",{children:"I confirm the resume, links, work history, authorization details, and application information I provide are accurate."})]}),s.jsxs("label",{className:"job-intake-check",children:[s.jsx("input",{required:!0,type:"checkbox",checked:t.authorization.understands_no_guarantee,onChange:k=>D(n,"authorization","understands_no_guarantee",k.target.checked)}),s.jsxs("span",{children:["I understand ",e.name," cannot guarantee interviews, offers, employment, or compensation."]})]})]}),s.jsxs(q,{label:"Phone",children:[s.jsx("input",{value:t.candidate.phone,onChange:k=>D(n,"candidate","phone",k.target.value)}),s.jsx("small",{children:"Add a phone number if you want a direct way to reach a human - we check our inbox daily."})]}),(t.supplemental_files||[]).length>0&&s.jsx("div",{className:"job-intake-file-list",children:t.supplemental_files.map((k,A)=>s.jsxs("div",{children:[s.jsx("strong",{children:k.file_name}),s.jsxs("select",{value:k.usage||"source_only",onChange:R=>n(M=>({...M,supplemental_files:M.supplemental_files.map((Q,se)=>se===A?{...Q,usage:R.target.value}:Q)})),children:[s.jsx("option",{value:"source_only",children:"Source-only context"}),s.jsx("option",{value:"sendable",children:"Okay to share with employers"})]}),s.jsx("button",{type:"button",onClick:()=>n(R=>({...R,supplemental_files:R.supplemental_files.filter((M,Q)=>Q!==A)})),children:"Remove"})]},`${k.file_name}-${A}`))})]}),G.id==="criteria"&&s.jsxs("div",{className:"job-intake-grid",children:[s.jsx(q,{label:"Roles you want",wide:!0,children:s.jsx("textarea",{required:!0,rows:"4",placeholder:"Backend/platform engineer, payments/product engineering, restaurant manager, warehouse lead...",value:t.target.titles,onChange:k=>D(n,"target","titles",k.target.value)})}),s.jsx(q,{label:"Where you want to work",wide:!0,children:s.jsx("textarea",{rows:"4",placeholder:"San Diego hybrid is okay, remote only, no relocation, open to NYC for the right role...",value:t.target.locations,onChange:k=>D(n,"target","locations",k.target.value)})}),s.jsxs("label",{className:"job-intake-check compact",children:[s.jsx("input",{type:"checkbox",checked:t.target.remote_only,onChange:k=>D(n,"target","remote_only",k.target.checked)}),s.jsx("span",{children:"Remote only"})]}),s.jsx(q,{label:"Industry tags",children:s.jsx("input",{placeholder:"payments, healthcare, restaurants, logistics",value:t.target.industry_tags,onChange:k=>D(n,"target","industry_tags",k.target.value)})})]}),G.id==="workplaces"&&s.jsxs("div",{className:"job-intake-grid",children:[s.jsx(q,{label:"Where would you be excited to work?",wide:!0,children:s.jsx("textarea",{rows:"4",placeholder:"Companies, teams, industries, neighborhoods, or kinds of customers you actually want to serve.",value:t.target.preferred_companies,onChange:k=>D(n,"target","preferred_companies",k.target.value)})}),s.jsx(q,{label:"Preferred industries",children:s.jsx("input",{placeholder:"payments, restaurants, climate, local business",value:t.target.preferred_industries,onChange:k=>D(n,"target","preferred_industries",k.target.value)})}),s.jsx(q,{label:"Preferred geographies",children:s.jsx("input",{placeholder:"San Diego, Los Angeles, remote US",value:t.target.preferred_geographies,onChange:k=>D(n,"target","preferred_geographies",k.target.value)})})]}),G.id==="pay"&&s.jsxs("div",{className:"job-intake-grid",children:[s.jsx(q,{label:"Work eligibility",wide:!0,children:s.jsx("input",{placeholder:"Authorized to work in the United States, no sponsorship required, etc.",value:t.candidate.work_authorization,onChange:k=>D(n,"candidate","work_authorization",k.target.value)})}),s.jsx(q,{label:"Sponsorship needs",wide:!0,children:s.jsx("input",{placeholder:"For example: I do not need sponsorship, or I will need H-1B transfer support.",value:t.candidate.sponsorship,onChange:k=>D(n,"candidate","sponsorship",k.target.value)})}),s.jsx(q,{label:"Minimum pay",children:s.jsx("input",{placeholder:"$100,000 base, $25/hr, or open",value:t.target.salary_floor,onChange:k=>D(n,"target","salary_floor",k.target.value)})}),s.jsx(q,{label:"Target pay",children:s.jsx("input",{placeholder:"$140,000, $35/hr, equity important, etc.",value:t.target.salary_target,onCh
68ange:k=>D(n,"target","salary_target",k.target.value)})}),s.jsx(q,{label:"Anything we should know?",wide:!0,children:s.jsx("textarea",{rows:"4",placeholder:"Tone, career story, role tradeoffs, companies you love, details to be careful with.",value:t.target.notes,onChange:k=>D(n,"target","notes",k.target.value)})})]})]}),l&&s.jsx("div",{className:"job-intake-message",children:l}),s.jsxs("div",{className:"job-intake-submit-row job-intake-wizard-controls",children:[s.jsx("button",{type:"button",onClick:de,disabled:r===0,children:"Back"}),r<vr.length-1?s.jsx("button",{type:"button",onClick:oe,disabled:i,children:"Continue"}):s.jsx("button",{type:"submit",disabled:i,children:i?"Saving plan...":"Save plan and open portal"}),s.jsx("span",{children:r<vr.length-1?"Draft saves on this browser.":"You will see one real sample next."})]}),s.jsxs("p",{className:"job-intake-privacy-note",children:["We store your intake, resume, status updates, and fulfillment notes only to prepare and submit your application batch and keep a record of what happened. Email ",e.supp
68ortEmail," to request deletion. See our ",s.jsx(z,{to:"/terms",children:"Terms"}),", ",s.jsx(z,{to:"/privacy",children:"Privacy Policy"}),", and ",s.jsx(z,{to:"/refund",children:"Refund Policy"}),"."]})]}),s.jsx(ct,{})]})}function gu(e){return e==="paid"?"Payment verified":e==="customer_marked_paid"?"Payment pending verification":e==="manual_review"?"Manual payment review":e==="rejected"?"Payment not verified":e==="refunded"?"Payment refunded":e==="quote_unavailable"?"Temporarily unavailable":"Payment required"}function Yv(e,t="payment"){var r;const n=(e==null?void 0:e.purchase_kind)==="add_20";return(e==null?void 0:e.status)==="paid"&&((r=e==null?void 0:e.promo_code)==null?void 0:r.discount_percent)===100?n?"Promo code applied. Another 20 applications are added.":"Promo code applied. Your batch is unlocked.":(e==null?void 0:e.status)==="paid"?n?"Verified. Another 20 applications are added.":"Verified. Your batch is unlocked.":(e==null?void 0:e.status)==="customer_marked_paid"?`We are checking for the matching ${t} receipt. This page refreshes automatically.`:(e==null?void 0:e.status)==="manual_review"?"A human is reviewing the payment record.":(e==null?void 0:e.status)==="rejected"?"We could not match this payment yet. Contact support if you already paid.":(e==null?void 0:e.status)==="refunded"?"This payment was refunded.":"Send the exact amount with the required note. We check for matching payments automatically every few seconds."}function Ps(e){if(!e)return"";const t=new Date(e);return Number.isNaN(t.getTime())?"":t.toLocaleString()}function pn(e){return e==="venmo_business"?"Venmo":e==="bitcoin"?"Bitcoin":e==="solana"?"Solana":e==="promo_code"?"Promo code":"Payment"}function zn(e,t){return e==="bitcoin"?`${t.btc_amount||"0.0005"} BTC`:e==="solana"?`${t.sol_amount||"0.40"} SOL`:`$${t.amount_usd||40}`}function Jv(e){var t,n,r,o,i,a,l;return(t=e==null?void 0:e.preview_sample)!=null&&t.question&&((n=e==null?void 0:e.preview_sample)!=null&&n.answer)?{question:e.preview_sample.question,answer:e.preview_sample.answer,job:e.preview_sample.job||{},screenshot:e.preview_sample.screenshot||null,generated_at:e.preview_sample.generated_at||"",question_source:e.preview_sample.question_source||{},status:e.preview_sample.status||"ready",note:e.preview_sample.note||""}:{question:"",answer:"",job:((r=e==null?void 0:e.preview_sample)==null?void 0:r.job)||{},screenshot:null,generated_at:((o=e==null?void 0:e.preview_sample)==null?void 0:o.generated_at)||"",question_source:((i=e==null?void 0:e.preview_sample)==null?void 0:i.question_source)||{},status:((a=e==null?void 0:e.preview_sample)==null?void 0:a.status)||"pending_source_question",note:((l=e==null?void 0:e.preview_sample)==null?void 0:l.note)||"Still looking for a real application question from a linked job."}}function Sf({payment:e,selectedRail:t,selectedRailKey:n}){var c;const r=(e==null?void 0:e.status)==="paid",o=r&&((c=e==null?void 0:e.promo_code)==null?void 0:c.discount_percent)===100,i=pn(n||(e==null?void 0:e.rail)),a=(e==null?void 0:e.last_verification_attempt_at)||(t==null?void 0:t.last_verification_attempt_at),l=Array.isArray(e==null?void 0:e.events)?e.events.slice(-3).reverse():[];return s.jsxs("div",{className:`job-payment-status payment-${(e==null?void 0:e.status)||"awaiting_payment"}`,children:[s.jsx("span",{children:o?"Promo code applied":gu(e==null?void 0:e.status)}),s.jsx("strong",{children:o?"Unlocked":r?"Verified":(e==null?void 0:e.status)==="customer_marked_paid"?"Checking receipt":"Payment pending"}),s.jsx("p",{children:Yv(e,i)}),a&&s.jsxs("small",{children:["Last checked ",Ps(a)]}),!r&&n==="venmo_business"&&(t==null?void 0:t.required_note)&&s.jsxs("small",{children:["Required Venmo note: ",t.required_note]}),l.length>0&&s.jsx("ul",{children:l.map(u=>s.jsxs("li",{children:[u.label||gu(u.status),u.at?` ${Ps(u.at)}`:""]},`${u.status}-${u.at}`))})]})}function bf({intakeId:e,paid:t,onApplied:n}){const[r,o]=p.useState(""),[i,a]=p.useState(!1),[l,c]=p.useState("");if(t)return null;const u=async h=>{h.preventDefault();const d=r.trim();if(!(!d||i)){a(!0),c("");try{const y=await fetch(`/api/job-application/payments/${encodeURIComponent(e)}/promo-code`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({code:d})}),w=await y.json().catch(()=>({}));if(!y.ok||w.success===!1)throw new Error(w.error||"Promo code failed.");o(""),c("Promo applied. Your batch is unlocked."),n==null||n(w.intake)}catch(y){c(y.message||"Promo code failed.")}finally{a(!1)}}};return s.jsxs("form",{className:"job-promo-code",onSubmit:u,children:[s.jsx("label",{htmlFor:`promo-code-${e}`,children:"Promo code"}),s.jsxs("div",{children:[s.jsx("input",{id:`promo-code-${e}`,type:"text",inputMode:"text",autoCapitalize:"characters",autoCorrect:"off",autoComplete:"off",spellCheck:"false",placeholder:"Enter code",value:r,onChange:h=>o(h.target.value)}),s.jsx("button",{type:"submit",disabled:i||!r.trim(),children:i?"Applying...":"Apply"})]}),i&&s.jsxs("div",{className:"job-promo-code-loading",role:"status","aria-live":"polite",children:[s.jsx("span",{}),s.jsx("strong",{children:"Checking code and unlocking your portal..."})]}),l&&s.jsx("p",{className:l.includes("failed")||l.includes("not")||l.includes("already")?"error":"",children:l})]})}function Kv(){var b,P,N,$;const e=He(),t=Bl(e),{id:n}=Hs(),[r,o]=p.useState(null),[i,a]=p.useState(""),[l,c]=p.useState(""),[u,h]=p.useState(e.paymentRails[0]||"venmo_business"),d=new URLSearchParams(window.location.search).get("submitted")==="1",y=e.paymentRails;p.useEffect(()=>(document.body.classList.add("job-applications-intake"),e.bodyClass&&document.body.classList.add(e.bodyClass),()=>{document.body.classList.remove("job-applications-intake"),e.bodyClass&&document.body.classList.remove(e.bodyClass)}),[e.bodyClass]),p.useEffect(()=>{let L=!1;const ee=async()=>{try{const J=await fetch(`/api/job-application/status/${encodeURIComponent(n)}`),G=await J.json().catch(()=>({}));if(L)return;if(!J.ok||G.success===!1)throw new Error(G.error||"Payment page not found");o(G.intake),a("")}catch(J){L||a(J.message||"Payment page not found")}};ee();const re=window.setInterval(ee,5e3);return()=>{L=!0,window.clearInterval(re)}},[n]),p.useEffect(()=>{var ee,re;const L=((ee=r==null?void 0:r.payment)==null?void 0:ee.rails)||{};(re=r==null?void 0:r.payment)!=null&&re.rail&&y.includes(r.payment.rail)&&L[r.payment.rail]&&h(r.payment.rail)},[(b=r==null?void 0:r.payment)==null?void 0:b.rail]);const w=async(L,ee)=>{if(L)try{await navigator.clipboard.writeText(L),c(ee)}catch{c("Copy failed. Select and copy the value manually.")}},m=(r==null?void 0:r.payment)||{},j=m.rails||{},x=y.filter(L=>j[L]),f=j[u]||j.venmo_business||{},g=m.amount_usd||f.amount_usd||40,v=m.purchase_kind==="add_20",_=u==="venmo_business"?`$${g} USD`:zn(u,f)||$l(e,t).replace(" for 20 high-quality applications",""),S=m.status==="paid";return s.jsxs("main",{className:"job-status-page",children:[s.jsxs("nav",{className:"job-intake-nav","aria-label":"Main",children:[s.jsx(z,{to:"/",className:"job-intake-logo",children:e.name}),s.jsx(z,{to:`/job-applications/status/${encodeURIComponent(n)}`,className:"job-intake-login",children:"Status"})]}),s.jsxs("section",{className:"job-payment-card",children:[d&&s.jsx("p",{className:"job-status-success",children:"Intake submitted. Finish payment to unlock your application batch."}),i&&s.jsx("p",{className:"job-intake-message",children:i}),!r&&!i&&s.jsx(co,{title:"Loading your payment portal.",detail:"We are pulling the saved sample, payment note, and current verification status.",steps:Ul}),r&&s.jsxs(s.Fragment,{children:[s.jsxs("p",{className:"job-intake-kicker",children:[_," for 20 high-quality applications"]}),s.jsx("h1",{children:S?"Payment verified.":v?"Add another 20.":"Finish payment."}),s.jsxs("p",{children:[v?"Pay once, and the next 20 applications are added to your existing run after we verify the matching payment.":"Pay once, and the portal unlocks automatically after we verify the matching payment.","This is not a subscription, there is no trial, and there is no automatic renew
68al."]}),!S&&s.jsxs("div",{className:"job-payment-disclosure",children:[s.jsx("strong",{children:"Before you pay"}),s.jsxs("span",{children:["One-time charge: ",_," for 20 high-quality applications. Fulfillment begins after payment verification. Refunds are handled under the ",s.jsx(z,{to:"/refund",children:"Refund Policy"}),". Card payments are not currently available; when enabled, checkout will disclose the card statement descriptor before payment. Support: ",s.jsx("a",{href:`mailto:${e.supportEmail}`,children:e.supportEmail}),"."]})]}),s.jsx(Sf,{payment:m,selectedRail:f,selectedRailKey:u}),s.jsx(bf,{intakeId:n,paid:S,onApplied:L=>L&&o(L)}),s.jsxs("div",{className:"job-payment-rail-tabs",role:"list","aria-label":"Payment methods",children:[x.map(L=>s.jsx("span",{role:"listitem",className:u===L?"active":"",children:pn(L)},L)),s.jsx("span",{className:"coming-soon",role:"listitem",children:"Credit/Debit coming soon"})]}),!S&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"job-payment-grid",children:[s.jsxs("article",{children:[s.jsx("span",{children:"Amount"}),s.jsx("strong",{children:zn(u,f)})]}),s.jsxs("article",{children:[s.jsx("span",{children:u==="venmo_business"?"Destination":"Receive address"}),s.jsx("strong",{children:u==="venmo_business"?`@${f.venmo_handle||"quiqrpay"}`:f.address})]}),s.jsxs("article",{children:[s.jsx("span",{children:u==="venmo_business"?"Required note":"Network"}),s.jsx("strong",{children:u==="venmo_business"?f.required_note:pn(u)})]})]}),u==="venmo_business"&&s.jsxs("div",{className:"job-payment-actions",children:[s.jsx("a",{className:"job-payment-primary",href:((P=f.urls)==null?void 0:P.web_url)||((N=f.urls)==null?void 0:N.profile_url)||(($=f.urls)==null?void 0:$.app_url),target:"_blank",rel:"noreferrer",children:"Open Venmo"}),s.jsx("button",{type:"button",onClick:()=>w(f.required_note,"Payment note copied."),children:"Copy note"})]}),u!=="venmo_business"&&s.jsxs("div",{className:"job-payment-actions",children:[s.jsx("a",{className:"job-payment-primary",href:f.payment_uri||"#",children:"Open wallet"}),s.jsx("button",{type:"button",onClick:()=>w(f.address,"Address copied."),children:"Copy address"}),s.jsx("button",{type:"button",onClick:()=>w(zn(u,f).split(" ")[0],"Amount copied."),children:"Copy amount"})]}),s.jsxs("div",{className:"job-payment-note",children:[s.jsx("strong",{children:"Before sending:"}),u==="venmo_business"?s.jsxs("span",{children:["Leave this exact note in Venmo: ",f.required_note]}):s.jsxs("span",{children:["Send exactly ",zn(u,f)," to the address above. Use the ",pn(u)," network only."]})]}),(f.verification_error||m.verification_error)&&s.jsx("div",{className:"job-intake-message",children:"Could not check this rail yet. The page will keep trying."})]}),S&&s.jsx(z,{className:"job-payment-primary",to:`/job-applications/status/${encodeURIComponent(n)}`,children:"View batch status"}),l&&s.jsx("div",{className:l.includes("failed")||l.includes("Could not")?"job-intake-message":"job-status-success",children:l})]})]}),s.jsx(ct,{})]})}function Xv({intake:e}){var l;const t=Jv(e),n=t.job||{},r=t.question_source||{},o=((l=t.screenshot)==null?void 0:l.url)||"",i=[n.company,n.title,"filled draft preview"].filter(
68Boolean).join(" · "),a=!!(t.question&&t.answer);return s.jsxs("section",{className:`job-sample-answer${o?" has-screenshot":""}`,children:[s.jsxs("div",{className:"job-sample-answer-copy",children:[s.jsx("span",{className:"job-sample-answer-label",children:a?"Sample answered application":"Finding a source-backed sample"}),(n.title||n.company||n.location)&&s.jsx("em",{className:"job-sample-answer-meta",children:[n.company,n.title,n.location].filter(Boolean).join(" · ")}),a?s.jsx("strong",{className:"job-sample-answer-question",children:t.question}):s.jsx("strong",{className:"job-sample-answer-question",children:"Checking live application forms for an auditable prompt."}),r.source==="ashby-application-form"&&s.jsxs("small",{className:"job-sample-answer-source",children:["Pulled from the linked Ashby application form",r.required?" · required":"",r.description?` · ${r.description}`:""]}),!o&&s.jsx("p",{className:"job-sample-answer-text",children:a?t.answer:t.note}),n.url&&s.jsx("a",{href:n.url,target:"_blank",rel:"noreferrer",onClick:()=>Cr(e==null?void 0:e.id,"sample_job_opened",{source:"sample_answer_card",sample_job_url:n.url}),children:"Open job site"})]}),o&&s.jsxs("figure",{className:"job-sample-screenshot",children:[s.jsx("img",{src:o,alt:i,loading:"lazy"}),s.jsx("figcaption",{children:"Filled draft captured from the source job. Not submitted."})]})]})}function Zv({intake:e,brand:t,onClose:n}){var x,f,g,v,_;const[r,o]=p.useState(t.paymentRails[0]||"venmo_business"),[i,a]=p.useState(""),l=p.useRef(!1),c=(e==null?void 0:e.payment)||{},u=c.status==="paid",h=c.rails||{},d=t.paymentRails,y=d.filter(S=>h[S]),w=h[r]||h.venmo_business||{},m=!!((x=e==null?void 0:e.preview_sample)!=null&&x.question&&((f=e==null?void 0:e.preview_sample)!=null&&f.answer));if(p.useEffect(()=>{c.rail&&d.includes(c.rail)&&h[c.rail]&&o(c.rail)},[c.rail]),p.useEffect(()=>{if(!(e!=null&&e.id)||u||l.current)return;l.current=!0;const S=e.preview_sample||{},b=S.job||{};Cr(e.id,"sample_preview_seen",{source:"status_payment_modal",submitted:new URLSearchParams(window.location.search).get("submitted")==="1",modal_visible:!0,sample_job_url:b.url||"",sample_job_title:b.title||"",sample_job_company:b.company||"",sample_question:S.question||"",payment_status:c.status||""},{dedupe:!0})},[e==null?void 0:e.id,u]),p.useEffect(()=>{if(!n)return;const S=b=>{b.key==="Escape"&&n()};return window.addEventListener("keydown",S),()=>window.removeEventListener("keydown",S)},[n]),!e||u)return null;const j=async(S,b)=>{if(S)try{await navigator.clipboard.writeText(S),a(b)}catch{a("Copy failed. Select and copy the value manually.")}};return s.jsx("div",{className:"job-payment-modal-backdrop",onMouseDown:S=>{S.target===S.currentTarget&&(n==null||n())},children:s.jsxs("section",{className:"job-payment-modal",role:"dialog","aria-modal":"true","aria-labelledby":"job-payment-modal-title",onMouseDown:S=>S.stopPropagation(),children:[n&&s.jsx("button",{className:"job-payment-modal-close",type:"button","aria-label":"Close payment dialog",onClick:n,children:"×"}),s.jsx("p",{className:"job-intake-kicker",children:m?"Sample ready":"Sample in progress"}),s.jsx("h2",{id:"job-payment-modal-title",children:m?"Review a real sample, then decide.":"Building your real sample."}),s.jsx(Xv,{intake:e}),s.jsxs(s.Fragment,{children:[s.jsx(Sf,{payment:c,selectedRail:w,selectedRailKey:r}),s.jsx(bf,{intakeId:e.id,paid:u}),s.jsxs("div",{className:"job-payment-rail-tabs",role:"list","aria-label":"Payment methods",children:[y.map(S=>s.jsx("span",{role:"listitem",className:r===S?"active":"",children:pn(S)},S)),s.jsx("span",{className:"coming-soon",role:"listitem",children:"Credit/Debit coming soon"})]}),s.jsxs("div",{className:"job-payment-grid",children:[s.jsxs("article",{children:[s.jsx("span",{children:"Amount"}),s.jsx("strong",{children:zn(r,w)})]}),s.jsxs("article",{children:[s.jsx("span",{children:r==="venmo_business"?"Destination":"Receive address"}),s.jsx("strong",{children:r==="venmo_business"?`@${w.venmo_handle||"quiqrpay"}`:w.address})]}),s.jsxs("article",{children:[s.jsx("span",{children:r==="venmo_business"?"Required note":"Network"}),s.jsx("strong",{children:r==="venmo_business"?w.required_note:pn(r)})]})]}),r==="venmo_business"?s.jsxs("div",{className:"job-payment-actions",children:[s.jsx("a",{className:"job-payment-primary",href:((g=w.urls)==null?void 0:g.web_url)||((v=w.urls)==null?void 0:v.profile_url)||((_
68=w.urls)==null?void 0:_.app_url),target:"_blank",rel:"noreferrer",onClick:()=>Cr(e==null?void 0:e.id,"payment_opened",{source:"status_payment_modal",rail:r,payment_status:c.status||""}),children:"Open Venmo"}),s.jsx("button",{type:"button",onClick:()=>{j(w.required_note,"Payment note copied."),Cr(e==null?void 0:e.id,"payment_note_copied",{source:"status_payment_modal",rail:r,payment_status:c.status||""})},children:"Copy note"})]}):s.jsxs("div",{className:"job-payment-actions",children:[s.jsx("a",{className:"job-payment-primary",href:w.payment_uri||"#",onClick:()=>Cr(e==null?void 0:e.id,"payment_opened",{source:"status_payment_modal",rail:r,payment_status:c.status||""}),children:"Open wallet"}),s.jsx("button",{type:"button",onClick:()=>j(w.address,"Address copied."),children:"Copy address"}),s.jsx("button",{type:"button",onClick:()=>j(zn(r,w).split(" ")[0],"Amount copied."),children:"Copy amount"})]}),s.jsxs("p",{className:"job-status-muted",children:["We check for matching ",pn(r)," payments automatically."]})]}),i&&s.jsx("div",{className:i.includes("failed")||i.includes("Could not")?"job-intake-message":"job-status-success",children:i})]})})}function ew({intake:e,brand:t,onSaved:n}){var w;const[r,o]=p.useState(()=>Es(e)),[i,a]=p.useState(!1),[l,c]=p.useState(""),u=Array.isArray((w=r.profile)==null?void 0:w.sample_jobs)?r.profile.sample_jobs:[],h=p.useMemo(()=>{var j;const m=(j=r.profile)==null?void 0:j.personalized_questions;return Array.isArray(m)?m:[]},[r.profile]);p.useEffect(()=>{o(Es(e)),c("")},[e==null?void 0:e.id]);const d=(m,j,x)=>{o(f=>{const g=Yo(f[m][j]),v=g.includes(x)?g.filter(_=>_!==x):[...g,x];return{...f,[m]:{...f[m],[j]:v.join(", ")}}})},y=async m=>{m.preventDefault(),a(!0),c("");const j=ql(r.candidate,!0);if(j){c(j),a(!1);return}try{const x=await fetch(`/api/job-application/intakes/${encodeURIComponent(e.id)}/onboarding`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({candidate:r.candidate,account:r.account,links:r.links,target:{job_types:r.target.job_types,hard_blockers:r.target.hard_blockers,company_blocklist:r.target.company_blocklist,notes:r.target.notes},profile:{personalized_questions:h,question_answers:r.profile.question_answers||{}},authorization:r.authorization,submission_preference:r.submission_preference,resume_strategy:r.resume_strategy})}),f=await x.json().catch(()=>({}));if(!x.ok||f.success===!1)throw new Error(f.error||"Could not save setup");n(f.intake)}catch(x){c(x.message||"Could not save setup")}finally{a(!1)}};return s.jsxs("form",{className:"job-status-onboarding",onSubmit:y,children:[s.jsxs("div",{className:"job-status-onboarding-head",children:[s.jsxs("div",{children:[s.jsx("p",{className:"job-intake-kicker",children:"Run details"}),s.jsx("h2",{children:"Request the application run."})]}),s.jsx(z,{className:"job-run-account-button",to:`/job-applications/status/${encodeURIComponent(e.id)}/account`,"aria-label":"Account settings",title:"Account settings",children:s.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",children:[s.jsx("path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"}),s.jsx("circle",{cx:"12",cy:"12",r:"3"})]})})]}),s.jsxs("div",{className:"job-run-layout",children:[s.jsx("section",{className:"job-run-main",children:u.length>0&&s.jsxs("div",{className:"job-intake-wide-block",children:[s.jsx("span",{className:"job-intake-mini-label",children:"First-batch targets"}),s.jsx("p",{className:"job-intake-list-note",children:"This is a long list of jobs we found that seem relevant. Don't worry, we will only apply to the ones that check out and are a good fit after we do some digging. We just wanna give you an idea of what you're working with here."}),s.jsx("div",{className:"job-intake-job-list",children:u.map(m=>{const j=s.jsxs(s.Fragment,{children:[s.jsx("span",{children:m.fit}),s.jsxs("div",{className:"job-intake-job-main",children:[s.jsx("strong",{children:m.title}
68),s.jsx("p",{children:[m.company,m.location].filter(Boolean).join(" · ")||"Target role preview"})]}),s.jsxs("div",{className:"job-intake-job-meta",children:[m.compensation&&s.jsx("p",{children:m.compensation}),Array.isArray(m.reasons)&&m.reasons.length>0&&s.jsx("p",{children:m.reasons.join(", ")})]})]}),x=m.url||`${m.company}-${m.title}`;return m.url?s.jsx("a",{className:"job-intake-job-card",href:m.url,target:"_blank",rel:"noreferrer",children:j},x):s.jsx("article",{className:"job-intake-job-card",children:j},x)})})]})}),s.jsxs("aside",{className:"job-run-sidebar",children:[s.jsxs("div",{className:"job-run-settings",children:[s.jsxs("div",{className:"job-run-settings-head",children:[s.jsx("span",{children:"Resume approach"}),s.jsx("strong",{children:r.resume_strategy.mode==="custom_per_posting"?"More tailored":"Simple"})]}),s.jsxs("div",{className:"job-intake-choice-grid",role:"radiogroup","aria-label":"Resume approach",children:[s.jsxs("label",{className:`job-intake-choice ${r.resume_strategy.mode==="same_resume"?"active":""}`,children:[s.jsx("input",{type:"radio",name:"status_resume_strategy",value:"same_resume",checked:r.resume_strategy.mode==="same_resume",onChange:()=>D(o,"resume_strategy","mode","same_resume")}),s.jsx("span",{children:"Use the same resume for each posting"}),s.jsx("strong",{children:"Simple"}),s.jsx("p",{children:"We use the resume you provide as the consistent source for the batch."})]}),s.jsxs("label",{className:`job-intake-choice ${r.resume_strategy.mode==="custom_per_posting"?"active":""}`,children:[s.jsx("input",{type:"radio",name:"status_resume_strategy",value:"custom_per_posting",checked:r.resume_strategy.mode==="custom_per_posting",onCh
68ange:()=>D(o,"resume_strategy","mode","custom_per_posting")}),s.jsx("span",{children:"Tailor a resume for each posting"}),s.jsx("strong",{children:"More tailored"}),s.jsx("p",{children:"We adapt resumes to each role using the accurate details you provide."})]})]})]}),s.jsxs("div",{className:"job-run-settings",children:[s.jsxs("div",{className:"job-run-settings-head",children:[s.jsx("span",{children:"Submission preference"}),s.jsx("strong",{children:r.submission_preference.mode==="review_before_submit"?"More control":"Fastest"})]}),s.jsxs("div",{className:"job-intake-choice-grid",role:"radiogroup","aria-label":"Submission preference",children:[s.jsxs("label",{className:`job-intake-choice ${r.submission_preference.mode==="auto_submit"?"active":""}`,children:[s.jsx("input",{type:"radio",name:"status_submission_preference",value:"auto_submit",checked:r.submission_preference.mode==="auto_submit",onChange:()=>D(o,"submission_preference","mode","auto_submit")}),s.jsx("span",{children:"Auto-submit after quality checks"}),s.jsx("strong",{children:"Fastest"}),s.jsx("p",{children:"We submit roles when they clear your fit, blocker, compensation, and accuracy rules."})]}),s.jsxs("label",{className:`job-intake-choice ${r.submission_preference.mode==="review_before_submit"?"active":""}`,children:[s.jsx("input",{type:"radio",name:"status_submission_preference",value:"review_before_submit",checked:r.submission_preference.mode==="review_before_submit",onChange:()=>D(o,"submission_preference","mode","review_before_submit")}),s.jsx("span",{children:"Send me a review link first"}),s.jsx("strong",{children:"More control"}),s.jsx("p",{children:"We prepare the batch for review first. The 20 count applies to applications you approve."})]})]})]}),s.jsxs("details",{className:"job-run-settings job-run-filter",children:[s.jsxs("summary",{children:[s.jsx("i",{"aria-hidden":"true"}),s.jsx("span",{children:"Filter out"}),s.jsx("strong",{children:"No-go rules"})]}),s.jsx("div",{className:"job-intake-option-grid",children:Dv.map(m=>s.jsxs("label",{className:"job-intake-check",children:[s.jsx("input",{type:"checkbox",checked:Yo(r.target.hard_blockers).includes(m),onChange:()=>d("target","hard_blockers",m)}),s.jsx("span",{children:m})]},m))}),s.jsx(q,{label:"Other no-go rules",wide:!0,children:s.jsx("textarea",{rows:"4",placeholder:"Anything else that would make a role a bad fit.",value:r.target.hard_blockers,onChange:m=>D(o,"target","hard_blockers",m.target.value)})}),s.jsx(q,{label:"Companies to skip",wide:!0,children:s.jsx("textarea",{rows:"3",placeholder:"Optional. Current employer, companies you dislike, conflicts, or places to avoid.",value:r.target.company_blocklist,onChange:m=>D(o,"target","company_blocklist",m.target.value)})}),s.jsxs("div",{className:"job-intake-wide-block",children:[s.jsx("span",{className:"job-intake-mini-label",children:"Type of work"}),s.jsx("div",{className:"job-intake-option-grid",children:zv.map(m=>s.jsxs("label",{className:"job-intake-check",children:[s.jsx("input",{type:"checkbox",checked:Yo(r.target.job_types).includes(m),onChange:()=>d("target","job_types",m)}),s.jsx("span",{children:m})]},m))})]})]}),l&&s.jsx("div",{className:"job-intake-message",children:l}),s.jsx("div",{className:"job-run-submit",children:s.jsx("button",{type:"submit",disabled:i,children:i?"Requesting run...":"Request run"})})]})]})]})}function tw({intake:e,onSaved:t}){const[n,r]=p.useState(()=>Es(e)),[o,i]=p.useState(!1),[a,l]=p.useState(""),c=p.useRef(null),u=p.useRef(null);p.useEffect(()=>{r(Es(e)),l("")},[e==null?void 0:e.id]),p.useEffect(()=>{const d=()=>mt(r,c,u),y=[window.setTimeout(d,80),window.setTimeout(d,500),window.setTimeout(d,1200)],w=window.setInterval(d,1e3);return()=>{y.forEach(m=>window.clearTimeout(m)),window.clearInterval(w)}},[]);const h=async d=>{d.preventDefault(),i(!0),l("");const y=cn(n.account,c,u);r(j=>({...j,account:cn(j.account,c,u)}));const w=ql(n.candidate,!0);if(w){l(w),i(!1);return}const m=Aa(y,!1);if(m){l(m),i(!1);return}try{const j=await fetch(`/api/job-application/intakes/${encodeURIComponent(e.id)}/account`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({candidate:n.candidate,account:y,links:n.links})}),x=await j.json().catch(()=>({}));if(!j.ok||x.success===!1)throw new Error(x.error||"Could not save account settings");t(x.intake),l("Account settings saved.")}catch(j){l(j.message||"Could not save account settings")}finally{i(!1)}};return s.jsxs("form",{className:"job-account-settings-form",onSubmit:h,children:[s.jsxs("div",{className:"job-account-settings-head",children:[s.jsxs("div",{children:[s.jsx("p",{className:"job-intake-kicker",children:"Account"}),s.jsx("h1",{children:"Account settings"}),s.jsx("p",{children:"Update your portal login, contact details, and public profile links."})]}),s.jsx(z,{to:`/job-applications/status/${encodeURIComponent(e.id)}`,children:"Back to status"})]}),s.jsxs("div",{className:"job-intake-grid",children:[s.jsx(q,{label:"Full name",children:s.jsx("input",{value:n.candidate.name,onChange:d=>D(r,"candidate","name",d.target.value)})}),s.jsx(q,{label:"Email",children:s.jsx("input",{id:"job-account-email",name:"username",autoComplete:"username",type:"email",value:n.candidate.email,onChange:d=>D(r,"candidate","email",d.target.value),onInput:d=>D(r,"candidate","email",d.currentTarget.value)})}),s.jsx(q,{label:"Confirm email",children:s.jsx("input",{id:"job-account-email-confirm",name:"email-confirm",autoComplete:"off",type:"email",value:n.candidate.email_confirm,onChange:d=>D(r,"candidate","email_confirm",d.target.value),onInput:d=>D(r,"candidate","email_confirm",d.currentTarget.value)})}),s.jsxs(q,{label:"New portal password",children:[s.jsx("input",{ref:c,id:"job-account-password",name:"quiqrpay_account_password",autoComplete:"new-password",minLength:"8",maxLength:"128",type:"password",defaultValue:n.account.password,onFocus:()=>mt(r,c,u),onChange:d=>D(r,"account","password",d.target.value),onInput:d=>{D(r,"account","password",d.currentTarget.value),window.setTimeout(()=>mt(r,c,u),0)}}),s.jsx("small",{children:"Leave blank to keep the current password."})]}),s.jsx(q,{label:"Confirm new password",children:s.jsx("input",{ref:u,id:"job-account-password-confirm",name:"quiqrpay_account_password_confirm",autoComplete:"new-password",minLength:"8",maxLength:"128",type:"password",defaultValue:n.account.confirm_password,onFocus:()=>mt(r,c,u),onChange:d=>D(r,"account","confirm_password",d.target.value),onInput:d=>{D(r,"account","confirm_password",d.currentTarget.value),window.setTimeout(()=>mt(r,c,u),0)}})}),s.jsxs(q,{label:"Phone",children:[s.jsx("input",{value:n.candidate.phone,onChange:d=>D(r,"candidate","phone",d.target.value)}),s.jsx("small",{children:"Add a phone number if you want a direct way to reach a human - we check our inbox daily."})]}),s.jsx(q,{label:"City",children:s.jsx("input",{value:n.candidate.city,onChange:d=>D(r,"candidate","city",d.target.value)})}),s.jsx(q,{label:"State",children:s.jsx("input",{value:n.candidate.state,onChange:d=>D(r,"candidate","state",d.target.value)})}),s.jsx(q,{label:"Country",children:s.jsx("input",{value:n.candidate.country,onChange:d=>D(r,"candidate","country",d.target.value)})}),s.jsx(q,{label:"LinkedIn",children:s.jsx("input",{value:n.links.linkedin,onChange:d=>D(r,"links","linkedin",d.target.value)})}),s.jsx(q,{label:"GitHub",children:s.jsx("input",{value:n.links.github,onChange:d=>D(r,"links","github",d.target.value)})}),s.jsx(q,{label:"Portfolio",children:s.jsx("input",{value:n.links.portfolio,onChange:d=>D(r,"links","portfolio",d.target.value)})}),s.jsx(q,{label:"Anything else online",wide:!0,children:s.jsx("input",{placeholder:"Personal site, writing, shipped projects, or a link you want us to see.",value:n.links.other,onChange:d=>D(r,"links","other",d.target.value)})})]}),a&&s.jsx("div",{className:a.includes("saved")?"job-status-success":"job-intake-message",children:a}),s.jsxs("div",{className:"job-account-settings-actions",children:[s.jsx(z,{to:`/job-applications/status/${encodeURIComponent(e.id)}`,children:"Cancel"}),s.jsx("button",{type:"submit",disabled:o,children:o?"Saving...":"Save changes"})]})]})}function nw({intake:e,onIntakeUpdated:t}){var w;const n=Array.isArray((w=e==null?void 0:e.review)==null?void 0:w.applications)?e.review.applications:[],r=n.map(m=>m.application_id).join("|"),[o,i]=p.useState(()=>new Set(n.map(m=>
68m.application_id))),[a,l]=p.useState(!1),[c,u]=p.useState("");p.useEffect(()=>{i(new Set(n.map(m=>m.application_id))),u("")},[r]);const h=m=>{i(j=>{const x=new Set(j);return x.has(m)?x.delete(m):x.add(m),x})},d=n.filter(m=>!o.has(m.application_id)).map(m=>m.application_id),y=async()=>{if(!(!(e!=null&&e.id)||a||!n.length)){l(!0),u("");try{const m=await fetch(`/api/job-application/intakes/${encodeURIComponent(e.id)}/review`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({rejected_application_ids:d})}),j=await m.json().catch(()=>({}));if(!m.ok||j.success===!1)throw new Error(j.error||"Could not save this review.");j.intake&&t&&t(j.intake),u(d.length?`Finding ${d.length} replacement role${d.length===1?"":"s"}.`:"Approved. Submission has started.")}catch(m){u(m.message||"Could not save this review."),l(!1)}}};return s.jsxs("section",{className:"job-customer-review","aria-labelledby":"job-customer-review-title",children:[s.jsxs("div",{className:"job-customer-review-head",children:[s.jsxs("div",{children:[s.jsx("p",{className:"job-intake-kicker",children:"Ready for your decision"}),s.jsxs("h2",{id:"job-customer-review-title",children:["Review ",n.length," prepared applications"]}),s.jsx("p",{children:"Keep every role you want submitted. Uncheck a role and we will replace it before anything is sent."})]}),s.jsxs("strong",{children:[o.size,"/",n.length," kept"]})]}),s.jsx("div",{className:"job-customer-review-list",children:n.map(m=>{const j=o.has(m.application_id),x=Array.isArray(m.answers)?m.answers:[];return s.jsxs("article",{className:`job-customer-review-card${j?"":" rejected"}`,children:[s.jsxs("div",{className:"job-customer-review-card-head",children:[s.jsxs("div",{children:[s.jsxs("span",{children:["#",m.rank]}),s.jsx("h3",{children:m.title||"Application"}),s.jsx("p",{children:[m.company,m.location,m.remote?"Remote-friendly":""].filter(Boolean).join(" · ")}),m.compensation&&s.jsx("small",{children:m.compensation})]}),s.jsxs("label",{children:[s.jsx("input",{type:"checkbox",checked:j,onChange:()=>h(m.application_id)}),s.jsx("span",{children:j?"Keep":"Replace"})]})]}),s.jsxs("div",{className:"job-customer-review-links",children:[m.url&&s.jsx("a",{href:m.url,target:"_blank",rel:"noreferrer",children:"Open job posting"}),x.length>0&&s.jsxs("details",{children:[s.jsxs("summary",{children:["Review ",x.length," written answer",x.length===1?"":"s"]}),s.jsx("div",{className:"job-customer-review-answers",children:x.map(f=>s.jsxs("div",{children:[s.jsx("strong",{children:f.question}),s.jsx("p",{children:f.answer})]},`${m.application_id}-${f.field_key||f.question}`))})]})]})]},m.application_id)})}),s.jsxs("div",{className:"job-customer-review-submit",children:[s.jsxs("div",{children:[s.jsx("strong",{children:d.length?`${d.length} role${d.length===1?"":"s"} will be replaced`:`${n.length} applications will be submitted`}),s.jsx("span",{children:"Nothing is sent until you use this button."})]}),s.jsx("button",{type:"button",disabled:a||!n.length,onClick:y,children:a?d.length?"Starting replacements...":"Starting submissions...":d.length?`Replace ${d.length} and review again`:`Approve all ${n.length} and submit`})]}),c&&s.jsx("div",{className:c.includes("Could not")?"job-intake-message":"job-status-success",children:c})]})}function rw({intake:e,onIntakeUpdated:t}){var w;const n=e.final_summary||{},r=Qo[Math.min(Qo.length-1,Math.max(0,Number(e.step||1)-1))],o=e.run_counts||{},i=!!((w=e.review)!=null&&w.ready),a=e.status==="batch_complete",[l,c]=p.useState(!1),[u,h]=p.useState(""),d=m=>m==="Finding roles"?`${Number(o.roles_scanned||0)}`:m==="Preparing applications"?`${Number(o.prepared_applications||0)}`:m==="Submitting applications"?`${Number(o.submitted_applications||0)}/${Number(o.submission_goal||20)}`:"",y=async()=>{if(!(!(e!=null&&e.id)||l)){c(!0),h("");try{const m=await fetch(`/api/job-application/payments/${encodeURIComponent(e.id)}/add-20`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({source:"status_page"})}),j=await m.json().catch(()=>({}));if(!m.ok||j.success===!1)throw new Error(j.error||"Could not start the next payment.");j.intake&&t&&t(j.intake),window.location.assign(j.payment_url||`/job-applications/payment/${encodeURIComponent(e.id)}?add=20`)}catch(m){h(m.message||"Could not start the next payment."),c(!1)}}};return s.jsxs("section",{className:"job-batch-dashboard",children:[s.jsx("div",{className:"job-batch-dashboard-head",children:s.jsxs("div",{children:[s.jsx("p",{className:"job-intake-kicker",children:"Application batch"}),s.jsx("h1",{children:e.status_label}),s.jsx("p",{children:i?e.status_detail:r})]})}),!i&&s.jsx("p",{className:"job-status-muted",children:"We handle every application individually. This page updates automatically as roles are found, prepared, and submitted."}),e.operator_note&&s.jsx("div",{className:"job-status-note",children:e.operator_note}),s.jsx("div",{className:"job-status-progress","aria-label":"Batch progress",children:Iv.map(m=>{const j=d(m),x=Qo.indexOf(m);return s.jsxs("div",{className:x+1<=e.step?"active":"",children:[s.jsx("strong",{children:m}),j&&s.jsx("b",{children:j})]},m)})}),i&&s.jsx(nw,{intake:e,onIntakeUpdated:t}),n.notes&&s.jsx("div",{className:"job-status-note",children:n.notes}),Array.isArray(n.submitted)&&n.submitted.length>0&&s.jsxs("section",{className:"job-status-summary","aria-labelledby":"job-submitted-applications-title",children:[s.jsx("h2",{id:"job-submitted-applications-title",children:"Submitted applications"}),s.jsx("div",{className:"job-status-summary-grid",children:n.submitted.map((m,j)=>s.jsxs("article",{children:[s.jsx("h3",{children:m.role||"Application submitted"}),s.jsx("p",{children:m.company||"Employer"}),m.url&&s.jsx("a",{href:m.url,target:"_blank",rel:"noreferrer",children:"Open job posting"}),m.submitted_at&&s.jsx("span",{children:Ps(m.submitted_at)})]},`${m.url||m.company||"submitted"}-${j}`))})]}),s.jsxs("div",{className:"job-status-meta",children:[s.jsx("span",{children:"Batch ID"}),s.jsx("strong",{children:e.id}),s.jsx("span",{children:"Last updated"}),s.jsx("strong",{children:Ps(e.updated_at||e.submitted_at)})]}),a&&s.jsx("div",{className:"job-status-actions",children:s.jsx("button",{className:"job-payment-primary",type:"button",disabled:l,onClick:y,children:l?"Opening payment...":"Add another 20"})}),u&&s.jsx("div",{className:"job-intake-message",children:u})]})}function ow(){var f,g,v,_;const e=He(),{id:t}=Hs(),[n,r]=p.useState(null),[o,i]=p.useState(""),[a,l]=p.useState(""),[c,u]=p.useState(!1),h=new URLSearchParams(window.location.search).get("submitted")==="1";p.useEffect(()=>(document.body.classList.add("job-applications-intake"),e.bodyClass&&document.body.classList.add(e.bodyClass),()=>{document.body.classList.remove("job-applications-intake"),e.bodyClass&&document.body.classList.remove(e.bodyClass)}),[e.bodyClass]),p.useEffect(()=>{let S=!1;const b=async()=>{try{const N=await fetch(`/api/job-application/status/${encodeURIComponent(t)}`),$=await N.json().catch(()=>({}));if(S)return;if(!N.ok||$.success===!1)throw new Error($.error||"Status not found");r($.intake),i("")}catch(N){S||i(N.message||"Status not found")}};b();const P=window.setInterval(b,12e3);return()=>{S=!0,window.clearInterval(P)}},[t]);const d=!!((f=n==null?void 0:n.onboarding)!=null&&f.completed_at),y=((g=n==null?void 0:n.payment)==null?void 0:g.status)==="paid",w=Number(((v=n==null?void 0:n.payment)==null?void 0:v.paid_application_count)||0),m=y||w>0,j=!!(n&&m&&!d),x=!!(n&&!c&&!m&&((_=n.payment)==null?void 0:_.purchase_kind)!=="add_20");return s.jsxs("main",{className:"job-status-page",children:[s.jsxs("nav",{className:"job-intake-nav","aria-label":"Main",children:[s.jsx(z,{to:"/",className:"job-intake-logo",children:e.name}),s.jsx(z,{to:"/job-applications/start",className:"job-intake-login",children:"New intake"})]}),s.jsxs("section",{className:"job-status-card",children:[h&&s.jsx("p",{className:"job-status-success",children:"First-pass plan saved."}),a&&s.jsx("p",{className:"job-status-success",children:a}),o&&s.jsx("p",{className:"job-intake-message",children:o}),!n&&!o&&s.jsx(co,{title:"Loading your application portal.",detail:"We are finding your saved intake, sample answer, and batch state.",steps:Ul}),n&&s.jsxs(s.Fragment,{children:[x&&s.jsx(Zv,{intake:n,brand:e,onClose:()=>u(!0)}),j&&s.jsx("section",{className:"job-status-run-details",children:s.jsx(ew,{intake:n,brand:e,onSaved:S=>{r(S),l("Run started. Your dashboard will update as matching roles move through the batch.")}})}),!j&&s.jsx(rw,{intake:n,onIntakeUpdated:r})]})]}),s.jsx(ct,{})]})}function sw(){const e=He(),{id:t}=Hs(),[n,r]=p.useState(null),[o,i]=p.useState("");return p.useEffect(()=>(document.body.classList.add("job-applications-intake"),e.bodyClass&&document.body.classList.add(e.bodyClass),()=>{document.body.classList.remove("job-applications-intake"),e.bodyClass&&document.body.classList.remove(e.bodyClass)}),[e.bodyClass]),p.useEffect(()=>{let a=!1;return(async()=>{try{const c=await fetch(`/api/job-application/status/${encodeURIComponent(t)}`),u=await c.json().catch(()=>({}));if(a)return;if(!c.ok||u.success===!1)throw new Error(u.error||"Account settings not found");r(u.intake),i("")}catch(c){a||i(c.message||"Account settings not found")}})(),()=>{a=!0}},[t]),s.jsxs("main",{className:"job-status-page",children:[s.jsxs("nav",{className:"job-intake-nav","aria-label":"Main",children:[s.jsx(z,{to:"/",className:"job-intake-logo",children:e.name}),s.jsx(z,{to:`/job-applications/status/${encodeURIComponent(t)}`,className:"job-intake-login",children:"Status"})]}),s.jsxs("section",{className:"job-status-card job-account-settings-page",children:[o&&s.jsx("p",{className:"job-intake-message",children:o}),!n&&!o&&s.jsx(co,{title:"Loading account settings.",detail:"We are finding your saved portal and contact details.",steps:Ul}),n&&s.jsx(tw,{intake:n,onSaved:a=>a&&r(a)})]}),s.jsx(ct,{})]})}function iw(){const e=He(),t=we(),[n,r]=p.useState(""),[o,i]=p.useState(""),[a,l]=p.useState(!1),[c,u]=
68p.useState(""),h=p.useRef(null),d=p.useRef(null),y=()=>{var x,f;const m=((x=h.current)==null?void 0:x.value)||"",j=((f=d.current)==null?void 0:f.value)||"";m&&r(g=>g===m?g:m),j&&i(g=>g===j?g:j)};p.useEffect(()=>{document.body.classList.add("job-applications-login"),e.bodyClass&&document.body.classList.add(e.bodyClass);const m=new URLSearchParams(t.search),j=m.get("email")||"";j&&r(j),m.get("existing")==="1"&&u("That email already has a customer portal. Log in to continue.");const x=[80,400,1200].map(g=>window.setTimeout(y,g)),f=window.setInterval(y,1e3);return()=>{x.forEach(g=>window.clearTimeout(g)),window.clearInterval(f),document.body.classList.remove("job-applications-login"),e.bodyClass&&document.body.classList.remove(e.bodyClass)}},[e.bodyClass,t.search]);async function w(m){var j,x;m.preventDefault(),l(!0),u("");try{const f=await fetch("/api/job-application/customer-login",{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n,password:o})}),g=await f.json().catch(()=>({}));if(!f.ok||g.success===!1)throw new Error(g.error||"Could not find that batch");window.location.assign(((j=g.intake)==null?void 0:j.next_url)||((x=g.intake)==null?void 0:x.status_url)||"/job-applications/start")}catch(f){u(f.message||"Could not find that batch")}finally{l(!1)}}return s.jsxs("main",{className:"job-login",children:[s.jsx("nav",{className:"job-login-nav","aria-label":"Main",children:s.jsx(z,{to:"/",className:"job-login-logo",children:e.name})}),s.jsxs("section",{className:"job-login-panel",children:[s.jsxs("div",{className:"job-login-copy",children:[s.jsx("p",{className:"job-login-kicker",children:"Customer login"}),s.jsx("h1",{children:"Open a portal to a new world"})]}),s.jsxs("div",{className:"job-login-box",children:[s.jsxs("div",{className:"job-login-status","aria-hidden":"true",children:[s.jsx("span",{}),s.jsx("strong",{children:"Customer portal"})]}),s.jsxs("form",{className:"job-login-form",onSubmit:w,children:[s.jsxs("label",{children:[s.jsx("span",{children:"Email"}),s.jsx("input",{ref:h,id:"job-customer-login-email",name:"username",autoComplete:"username",type:"email",value:n,onChange:m=>r(m.target.value),onInput:m=>r(m.currentTarget.value),onFocus:y,required:!0})]}),s.jsxs("label",{children:[s.jsx("span",{children:"Password"}),s.jsx("input",{ref:d,id:"job-customer-login-password",name:"password",autoComplete:"current-password",type:"password",value:o,onChange:m=>i(m.target.value),onInput:m=>{i(m.currentTarget.value),window.setTimeout(y,0)},onFocus:y,required:!0})]}),s.jsx("button",{className:"job-login-primary",type:"submit",disabled:a,children:a?"Logging in...":"Log in"}),c&&s.jsx("p",{className:"job-login-error",children:c})]}),s.jsx(z,{className:"job-login-secondary",to:`/job-applications/forgot-password${n?`?email=${encodeURIComponent(n)}`:""}`,children:"Forgot password?"}),s.jsx(z,{className:"job-login-secondary",to:"/job-applications/start",children:"New customer?"}),s.jsx(z,{className:"job-login-secondary",to:"/",children:"Back to homepage"})]})]}),s.jsx(ct,{})]})}function aw(){const e=He(),t=we(),[n,r]=p.useState(""),[o,i]=p.useState(!1),[a,l]=p.useState(""),[c,u]=p.useState(!1);p.useEffect(()=>{document.body.classList.add("job-applications-login"),e.bodyClass&&document.body.classList.add(e.bodyClass);const y=new URLSearchParams(t.search).get("email")||"";return y&&r(y),()=>{document.body.classList.remove("job-applications-login"),e.bodyClass&&document.body.classList.remove(e.bodyClass)}},[e.bodyClass,t.search]);async function h(d){d.preventDefault(),i(!0),l("");try{const y=await fetch("/api/job-application/customer-password-reset/request",{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n})}),w=await y.json().catch(()=>({}));if(!y.ok||w.success===!1)throw new Error(w.error||"Could not send reset link");u(!0),l(w.message||"If that email has a customer portal, we sent a reset link.")}catch(y){l(y.message||"Could not send reset link")}finally{i(!1)}}return s.jsxs("main",{className:"job-login",children:[s.jsxs("nav",{className:"job-login-nav","aria-label":"Main",children:[s.jsx(z,{to:"/",className:"job-login-logo",children:e.name}),s.jsxs("div",{className:"job-login-nav-actions",children:[s.jsx(z,{to:"/job-applications/login",className:"job-login-home",children:"Log in"}),s.jsx(z,{to:"/",className:"job-login-home",children:"Service overview"})]})]}),s.jsxs("section",{className:"job-login-panel",children:[s.jsxs("div",{className:"job-login-copy",children:[s.jsx("p",{className:"job-login-kicker",children:"Password reset"}),s.jsx("h1",{children:"Get back into your customer portal"}),s.jsx("p",{children:"Enter the email you used during signup. If there is a portal for it, we will send a reset link."})]}),s.jsxs("div",{className:"job-login-box",children:[s.jsxs("div",{className:"job-login-status","aria-hidden":"true",children:[s.jsx("span",{}),s.jsx("strong",{children:"Reset link"})]}),s.jsxs("form",{className:"job-login-form",onSubmit:h,children:[s.jsxs("label",{children:[s.jsx("span",{children:"Email"}),s.jsx("input",{name:"email",autoComplete:"username",type:"email",value:n,onChange:d=>r(d.target.value),required:!0})]}),s.jsx("button",{className:"job-login-primary",type:"submit",disabled:o||c,children:o?"Sending...":c?"Email sent":"Send reset link"}),a&&s.jsx("p",{className:`job-login-error ${c?"success":""}`,children:a})]}),s.jsx(z,{className:"job-login-secondary",to:`/job-applications/login${n?`?email=${encodeURIComponent(n)}`:""}`,children:"Back to login"})]})]}),s.jsx(ct,{})]})}function lw(){const e=He(),t=Tt(),{token:n=""}=Hs(),[r,o]=p.useState(""),[i,a]=p.useState(""),[l,c]=p.useState(!1),[u,h]=p.useState(""),[d,y]=p.useState(!1);p.useEffect(()=>(document.body.classList.add("job-applications-login"),e.bodyClass&&document.body.classList.add(e.bodyClass),()=>{document.body.classList.remove("job-applications-login"),e.bodyClass&&document.body.classList.remove(e.bodyClass)}),[e.bodyClass]);async function w(m){if(m.preventDefault(),h(""),r!==i){h("Passwords must match.");return}if(r.length<8){h("Password must be at least 8 characters.");return}c(!0);try{const j=await fetch("/api/job-application/customer-password-reset/complete",{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:n,password:r,confirm_password:i})}),x=await j.json().catch(()=>({}));if(!j.ok||x.success===!1)throw new Error(x.error||"Could not reset password");y(!0),h(x.message||"Your password has been reset. You can log in now."),window.setTimeout(()=>t(x.login_url||"/job-applications/login"),1400)}catch(j){h(j.message||"Could not reset password")}finally{c(!1)}}return s.jsxs("main",{className:"job-login",children:[s.jsxs("nav",{className:"job-login-nav","aria-label":"Main",children:[s.jsx(z,{to:"/",className:"job-login-logo",children:e.name}),s.jsxs("div",{className:"job-login-nav-actions",children:[s.jsx(z,{to:"/job-applications/login",className:"job-login-home",children:"Log in"}),s.jsx(z,{to:"/",className:"job-login-home",children:"Service overview"})]})]}),s.jsxs("section",{className:"job-login-panel",children:[s.jsxs("div",{className:"job-login-copy",children:[s.jsx("p",{className:"job-login-kicker",children:"New password"}),s.jsx("h1",{children:"Reset your customer portal password"}),s.jsx("p",{children:"Choose a new password for your job application customer portal."})]}),s.jsxs("div",{className:"job-login-box",children:[s.jsxs("div",{className:"job-login-status","aria-hidden":"true",children:[s.jsx("span",{}),s.jsx("strong",{children:"Password reset"})]}),s.jsxs("form",{className:"job-login-form",onSubmit:w,children:[s.jsxs("label",{children:[s.jsx("span",{children:"New password"}),s.jsx("input",{autoComplete:"new-password",type:"password",value:r,minLength:8,maxLength:128,onChange:m=>o(m.target.value),required:!0})]}),s.jsxs("label",{children:[s.jsx("span",{children:"Confirm new password"}),s.jsx("input",{autoComplete:"new-password",type:"password",value:i,minLength:8,maxLength:128,onChange:m=>a(m.target.value),required:!0})]}),s.jsx("button",{className:"job-login-primary",type:"submit",disabled:l||d||!n,children:l?"Resetting...":d?"Password reset":"Reset password"}),u&&s.jsx("p",{className:`job-login-error ${d?"success":""}`,children:u})]}),s.jsx(z,{className:"job-login-secondary",to:"/job-applications/forgot-password",children:"Request a new link"})]})]}),s.jsx(ct,{})]})}const yu="/job-applications/console";function cw(e){return!e||!e.startsWith("/")||e.startsWith("//")?yu:e}function uw(){const[e,t]=p.useState(""),[n,r]=p.useState(""),[o,i]=p.useState(""),[a,l]=p.useState(!1),[c,u]=
68p.useState(!0),[h,d]=p.useState(""),y=p.useMemo(()=>{const j=new URLSearchParams(window.location.search);return cw(j.get("next"))},[]);p.useEffect(()=>(document.body.classList.add("job-applications-login"),()=>document.body.classList.remove("job-applications-login")),[]),p.useEffect(()=>{let j=!0;return fetch("/api/job-application/auth/status",{credentials:"same-origin"}).then(x=>x.json()).then(x=>{j&&i(x.authenticated&&x.user||"")}).catch(()=>{j&&i("")}).finally(()=>{j&&u(!1)}),()=>{j=!1}},[]);async function w(j){j.preventDefault(),l(!0),d("");try{const x=await fetch("/api/job-application/auth/login",{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:e,password:n})}),f=await x.json().catch(()=>({}));if(!x.ok)throw new Error(f.error||"Login failed");window.location.assign(y)}catch(x){d(x.message||"Login failed")}finally{l(!1)}}async function m(){l(!0),d("");try{await fetch("/api/job-application/auth/logout",{method:"POST",credentials:"same-origin"}),i(""),r("")}finally{l(!1)}}return s.jsxs("main",{className:"job-login",children:[s.jsxs("nav",{className:"job-login-nav","aria-label":"Main",children:[s.jsx("a",{href:"/",className:"job-login-logo",children:"Quiqrpay"}),s.jsx("a",{href:"/",className:"job-login-home",children:"Service overview"})]}),s.jsxs("section",{className:"job-login-panel",children:[s.jsxs("div",{className:"job-login-copy",children:[s.jsx("p",{className:"job-login-kicker",children:"Operator access"}),s.jsx("h1",{children:"Log in to the application console."}),s.jsx("p",{children:"Run job discovery, application prep, and submission batches from the private console."})]}),s.jsxs("div",{className:"job-login-box",children:[s.jsxs("div",{className:"job-login-status","aria-hidden":"true",children:[s.jsx("span",{}),s.jsx("strong",{children:o?`Signed in as ${o}`:"Private"})]}),o?s.jsxs(s.Fragment,{children:[s.jsx("a",{className:"job-login-primary",href:y,children:"Continue to console"}),s.jsx("button",{className:"job-login-secondary",type:"button",onClick:m,disabled:a,children:"Sign out"})]}):s.jsxs("form",{className:"job-login-form",onSubmit:w,children:[s.jsxs("label",{children:[s.jsx("span",{children:"Username"}),s.jsx("input",{autoComplete:"username",value:e,onChange:j=>t(j.target.value),required:!0})]}),s.jsxs("label",{children:[s.jsx("span",{children:"Password"}),s.jsx("input",{autoComplete:"current-password",type:"password",value:n,onChange:j=>r(j.target.value),required:!0})]}),s.jsx("button",{className:"job-login-primary",type:"submit",disabled:a||c,children:a?"Signing in":"Log in"}),h&&s.jsx("p",{className:"job-login-error",children:h})]}),s.jsx("a",{className:"job-login-secondary",href:"/",children:"Back to homepage"})]})]}),s.jsx(ct,{})]})}function dw(){const e=typeof window<"u"&&!!window.sessionStorage.getItem("business_auth_token"),t=e?"/business/payments":"/business-signup",n=e?"Open dashboard":"Create account",r=e?"/business/payments":"/business-login",o=e?"Open dashboard":"Business sign in";return s.jsxs("main",{className:"online-page",children:[s.jsxs("section",{className:"online-hero",children:[s.jsx("p",{className:"online-kicker",children:"Online Payments"}),s.jsx("h1",{children:"Get paid online with payment links and QR PNGs."}),s.jsx("p",{children:"Built for online vendors. Send a payment page, attach a QR PNG in email, or drop it into your website so customers can pay in seconds."}),s.jsxs("div",{className:"online-hero-actions",children:[s.jsx(z,{to:t,className:"online-btn btn-primary-obsidian",children:n}),!e&&s.jsxs("div",{className:"online-account-rail",children:[s.jsx("span",{className:"online-account-label",children:"Already on QuiQRPay?"}),s.jsx(z,{to:r,className:"online-btn btn-secondary online-account-button",children:o})]})]})]}),s.jsxs("section",{className:"online-highlights",children:[s.jsxs("article",{className:"online-card",children:[s.jsx("h2",{children:"QR PNG for web + email"}),s.jsx("p",{children:"Generate QR codes as PNG files so they render cleanly in ecommerce pages, email campaigns, invoices, and social posts."})]}),s.jsxs("article",{className:"online-card",children:[s.jsx("h2",{children:"Fast customer checkout"}),s.jsx("p",{children:"Share a single payment destination that works across desktop and mobile with clear totals and a short checkout flow."})]}),s.jsxs("article",{className:"online-card",children:[s.jsx("h2",{children:"Business-first access"}),s.jsx("p",{children:"This page is the business-facing front door for online vendors who need payment links, QR PNGs, and a clear route into the dashboard."})]})]}),s.jsxs("section",{className:"online-steps",children:[s.jsx("h2",{children:"How online vendors use it"}),s.jsxs("ol",{children:[s.jsx("li",{children:"Create a payment flow in your business dashboard."}),s.jsx("li",{children:"Export or reuse your payment QR PNG."}),s.jsx("li",{children:"Publish it on web pages and in email to start collecting payments."})]})]})]})}function pw(){const e=He(),t="(213) 444-6225",n="+12134446225";return p.useEffect(()=>(document.body.classList.add("job-applications-home"),e.bodyClass&&document.body.classList.add(e.bodyClass),()=>{document.body.classList.remove("job-applications-home"),e.bodyClass&&document.body.classList.remove(e.bodyClass)}),[e.bodyClass]),s.jsxs("main",{className:"job-home job-public-page",children:[s.jsxs("nav",{className:"job-public-nav","aria-label":"Main",children:[s.jsx(z,{to:"/",className:"job-home-logo",children:e.name}),s.jsxs("div",{className:"job-public-nav-links",children:[s.jsx(z,{to:"/pricing",children:"Pricing"}),s.jsx(z,{to:"/job-applications/login",children:"Log in"})]})]}),s.jsxs("section",{className:"job-public-hero",children:[s.jsx("p",{className:"job-home-kicker",children:"Contact"}),s.jsx("h1",{children:"Talk to a human."}),s.jsxs("p",{children:["For support, email ",s.jsx("a",{href:`mailto:${e.supportEmail}`,children:e.supportEmail})," or text us anytime at"," ",s.jsx("a",{href:`sms:${n}`,children:t}),"."]})]}),s.jsx("section",{className:"job-public-section",children:s.jsxs("div",{className:"job-public-grid",children:[s.jsxs("article",{children:[s.jsx("h2",{children:"Support email"}),s.jsx("p",{children:s.jsx("a",{href:`mailto:${e.supportEmail}`,children:e.supportEmail})})]}),s.jsxs("article",{children:[s.jsx("h2",{children:"Text us"}),s.jsx("p",{children:s.jsx("a",{href:`sms:${n}`,children:t})})]}),s.jsxs("article",{children:[s.jsx("h2",{children:"Response time"}),s.jsx("p",{children:"We aim to respond within 1 business day."})]}),s.jsxs("article",{children:[s.jsx("h2",{children:"Include this"}),s.jsx("p",{children:"Your account email and a short description of what you need."})]})]})}),s.jsx(ct,{})]})}function fw(){const e=He(),t=Bl(e),n=jf(e,t),r=$l(e,t);return p.useEffect(()=>(document.body.classList.add("job-applications-home"),e.bodyClass&&document.body.classList.add(e.bodyClass),()=>{document.body.classList.remove("job-applications-home"),e.bodyClass&&document.body.classList.remove(e.bodyClass)}),[e.bodyClass]),s.jsxs("main",{className:"job-home job-public-page",children:[s.jsxs("nav",{className:"job-public-nav","aria-label":"Main",children:[s.jsx(z,{to:"/",className:"job-home-logo",children:e.name}),s.jsxs("div",{className:"job-public-nav-links",children:[s.jsx(z,{to:"/contact",children:"Contact"}),s.jsx(z,{to:"/job-applications/login",children:"Log in"})]})]}),s.jsxs("section",{className:"job-public-hero",children:[s.jsx("p",{className:"job-home-kicker",children:"Pricing"}),s.jsxs("h1",{children:[r,"."]}),s.jsxs("p",{children:["One focused application batch. No subscription, no trial, and n
68o automatic renewal. You pay once, then the portal unlocks after the matching payment is verified.",e.showDiscounts?" Customers using a .edu email pay $30.":""]}),s.jsx(z,{className:"job-home-primary dark",to:"/job-applications/start",children:"Start your batch"})]}),s.jsxs("section",{className:"job-public-section",children:[s.jsxs("div",{className:"job-public-pricing-card",children:[s.jsxs("div",{children:[s.jsx("span",{children:"One-time batch"}),s.jsx("h2",{children:"20 application batch"}),s.jsx("p",{children:"We find fitting roles, write answers from your resume, submit applications, and show you what happened."}),e.showDiscounts&&s.jsxs("p",{className:"job-public-hardship-note",children:["Need a lower price? ",s.jsx("a",{href:`mailto:${e.supportEmail}?subject=${encodeURIComponent(`${e.name} hardship discount`)}`,children:"Email us"})," about the $20 hardship option."]})]}),s.jsxs("div",{className:"job-public-price",children:[s.jsx("strong",{children:n}),e.showDiscounts&&s.jsx("span",{children:"$30 with .edu email"}),s.jsx("div",{className:"job-public-payment-rails","aria-label":"Current payment methods",children:e.paymentRailLabels.map(o=>s.jsx("span",{className:o.toLowerCase().includes("coming soon")?"coming-soon":"",children:o},o))})]})]}),e.showDiscounts&&s.jsxs("div",{className:"job-public-student-deal",children:[s.jsx("span",{children:"Student deal"}),s.jsx("strong",{children:"$30 for college students with a .edu email."}),s.jsx("p",{children:"Start with your school email and the payment page automatically shows the discounted price."})]}),s.jsxs("div",{className:"job-public-grid",children:[s.jsxs("article",{children:[s.jsx("h2",{children:"Included"}),s.jsx("p",{children:"Twenty applications selected against your resume, target roles, location rules, pay floor, work authorization, and no-go rules."})]}),s.jsxs("article",{children:[s.jsx("h2",{children:"Not included"}),s.jsx("p",{children:"No interview guarantee, offer guarantee, employment guarantee, compensation guarantee, or recruiter representation."})]}),s.jsxs("article",{children:[s.jsx("h2",{children:"Payment timing"}),s.jsxs("p",{children:["The first and only charge happens before we start applying. Access continues to your batch status after payment verification. Current payment methods: ",e.paymentRailLabels.filter(o=>!o.toLowerCase().includes("coming soon")).join(" and "),"."]})]}),s.jsxs("article",{children:[s.jsx("h2",{children:"Card statement"}),s.jsx("p",{children:"Card payments are not currently available. When enabled, checkout will disclose the card statement descriptor before payment."})]})]})]}),s.jsx(ct,{})]})}const mw=p.lazy(()=>O(()=>import("./BusinessDetail-BrDCnGhe.js"),__vite__mapDeps([0,1,2,3,4,5]))),hw=p.lazy(()=>O(()=>import("./BusinessLogin-BKQPU_eS.js"),[])),gw=p.lazy(()=>O(()=>import("./BusinessSettingsPage-CWUPgiHk.js"),__vite__mapDeps([6,7,2,8,9]))),yw=p.lazy(()=>O(()=>import("./BusinessSignup-C31Jn8q9.js"),[])),vu=p.lazy(()=>O(()=>import("./BecomeMillionare-3JKeE7xt.js"),__vite__mapDeps([10,11]))),vw=p.lazy(()=>O(()=>import("./Compliance-FZQ2h1P-.js"),__vite__mapDeps([12,13]))),ww=p.lazy(()=>O(()=>import("./CryptoSender-BY07BTrb.js"),__vite__mapDeps([14,15]))),jw=p.lazy(()=>O(()=>import("./ConnectDashboard-Dm7m5v7i.js"),__vite__mapDeps([16,7,2,8,17,18,19,20,9]))),wu=p.lazy(()=>O(()=>import("./ConnectDisputes-BPfnL7ya.js"),__vite__mapDeps([21,7,2,8,22,23,19,20,9,24]))),xw=p.lazy(()=>O(()=>import("./ConnectOnboarding-BTrRL4li.js"),__vite__mapDeps([25,17,18,19,20,26,27,9]))),_w=p.lazy(()=>O(()=>import("./ConnectPayments-DsZgw_E0.js"),__vite__mapDeps([28,7,2,8,22,23,19,20,9]))
68),Sw=p.lazy(()=>O(()=>import("./ConnectPayouts-BBHJjd3m.js"),__vite__mapDeps([29,7,2,8,23,19,20,9]))),bw=p.lazy(()=>O(()=>import("./ConnectRefresh-BiqlBaNJ.js"),__vite__mapDeps([30,7,2,8,9]))),kw=p.lazy(()=>O(()=>import("./ConnectReturn-BB-BI2mE.js"),__vite__mapDeps([31,7,2,8,26,9]))),Cw=p.lazy(()=>O(()=>import("./ConnectSettings-DZDPPtx-.js"),__vite__mapDeps([32,7,2,8,17,18,19,20,9]))),Ew=p.lazy(()=>O(()=>import("./ContractTerms-DPOVaBxN.js"),__vite__mapDeps([33,1,2,3,9]))),Pw=p.lazy(()=>O(()=>import("./CreatePayment-DwXa8Ku9.js"),__vite__mapDeps([34,7,2,8,9]))),Nw=p.lazy(()=>O(()=>import("./CreateQRCode-CnP-_vLR.js"),__vite__mapDeps([35,7,2,8,9]))),Rw=p.lazy(()=>O(()=>import("./OverridePortal-Dd3lnScz.js"),__vite__mapDeps([36,7,2,8,9]))),Tw=p.lazy(()=>O(()=>import("./OrderNumbers-P6wMbXwc.js"),__vite__mapDeps([37,7,2,8,9]))),ju=p.lazy(()=>O(()=>import("./CustomerPayment-BcYlo3Vh.js"),__vite__mapDeps([38,39]))),Lw=p.lazy(()=>O(()=>import("./CustomersTables-Bqqgra18.js"),__vite__mapDeps([40,7,2,8,41,9]))),Iw=p.lazy(()=>O(()=>import("./AccountPipeline-LWrmAkmu.js"),__vite__mapDeps([42,1,2,3,4,5]))),Aw=p.lazy(()=>O(()=>import("./Discounts-wJq0yHHB.js"),__vite__mapDeps([43,7,2,8,44,9,24]))),Ow=p.lazy(()=>O(()=>import("./DowntimeTruth-D7nA4N90.js"),__vite__mapDeps([45,46]))),Dw=p.lazy(()=>O(()=>import("./DowntimeTruthWaitingList-CnFpOnGi.js"),__vite__mapDeps([47,48]))),zw=p.lazy(()=>O(()=>import("./Documents-CodF_awJ.js"),__vite__mapDeps([49,18,7,2,8,19,20,9,24]))),Mw=p.lazy(()=>O(()=>import("./EmailVerification-pdikZBkX.js"),[])),Fw=p.lazy(()=>O(()=>import("./Employees-BsmwZmID.js"),__vite__mapDeps([50,7,2,8,51,9]))),$w=p.lazy(()=>O(()=>import("./EmployeeTimesheet-DrhK7nwS.js"),__vite__mapDeps([52,39]))),Bw=p.lazy(()=>O(()=>import("./ForgotPassword-B4p8Vj79.js"),[])),Uw=p.lazy(()=>O(()=>import("./Help-COREPoi2.js"),__vite__mapDeps([53,7,2,8,9]))),qw=p.lazy(()=>O(()=>import("./Inventory-DFaMLNnF.js"),__vite__mapDeps([54,7,2,8,9]))),Ww=p.lazy(()=>O(()=>import("./InvestorOutreach-DOqx7b-k.js"),__vite__mapDeps([55,56]))),Vw=p.lazy(()=>O(()=>import("./JobApplicationProfileConfig-CcJwlcyQ.js"),__vite__mapDeps([57,58]))),Hw=p.lazy(()=>O(()=>import("./MenuItems-sOIuQOPS.js"),__vite__mapDeps([59,7,2,8,60,9]))),Gw=p.lazy(()=>O(()=>import("./MyBusinesses-lave2A1p.js"),__vite__mapDeps([61,1,2,3,4,5]))),Qw=p.lazy(()=>O(()=>import("./PaymentFlow-BZMVo16c.js"),__vite__mapDeps([62,7,2,8,63,9]))),Yw=p.lazy(()=>O(()=>import("./PaymentsActivity-B6J87Cym.js"),__vite__mapDeps([64,18,7,2,8,19,20,9,24]))),Jw=p.lazy(()=>O(()=>import("./Payouts-DqZqpXRq.js"),__vite__mapDeps([65,20,18,7,2,8,9,24]))),xu=p.lazy(()=>O(()=>import("./PrivacyPolicy-nbweczW7.js"),__vite__mapDeps([66,13]))),Li=p.lazy(()=>O(()=>import("./RefundPolicy-D87MhJ0c.js"),__vite__mapDeps([67,13]))),Kw=p.lazy(()=>O(()=>import("./RefundsVoids-o5EUOkHe.js"),__vite__mapDeps([68,18,7,2,8,19,20,9,24]))),Xw=p.lazy(()=>O(()=>import("./ResetPassword-DgG67Clr.js"),[])),Zw=p.lazy(()=>O(()=>import("./SalesAssets-JMaXnoHy.js"),__vite__mapDeps([69,1,2,3,9]))),ej=p.lazy(()=>O(()=>import("./SalesInbox-Ce27H1cz.js"),__vite__mapDeps([70,1,2,3,4,5]))),tj=p.lazy(()=>O(()=>import("./SalesLogin-DIDPuSmk.js"),[])),nj=p.lazy(()=>O(()=>import("./SalesPayouts-DiBy-wjc.js"),__vite__mapDeps([71,1,2,3,4,5]))),rj=p.lazy(()=>O(()=>import("./SalesProspects-CNiZ3oRU.js"),__vite__mapDeps([72,1,2,3,4,5]))),oj=p.lazy(()=>O(()=>import("./SalesRecords-BwTFFFIE.js"),__vite__mapDeps([73,7,2,8,9]))),sj=p.lazy(()=>O(()=>import("./SalesReports-CixZodQG.js"),__vite__mapDeps([74,18,7,2,8,19,20,9,24]))),ij=p.lazy(()=>O(()=>import("./SalesSettings-CowqA21M.js"),__vite__mapDeps([75,1,2,3,9]))),aj=p.lazy(()=>O(()=>import("./SalesSignup-aHWP3Mfd.js"),[])),lj=p.lazy(()=>O(()=>import("./SalesWorkbench-12wLxAGr.js"),__vite__mapDeps([76,1,2,3,4,5]))),cj=p.lazy(()=>O(()=>import("./SoftwareEngineerJobPostings-r2w9WoY5.js"),__vite__mapDeps([77,78]))),uj=p.lazy(()=>O(()=>import("./StripeConnectOnboarding-CZmdgBSI.js"),__vite__mapDeps([79,20,18,27,9]))),_u=p.lazy(()=>O(()=>import("./TermsOfService-D59diTCr.js"),__vite__mapDeps([80,13]))),dj=p.lazy(()=>O(()=>import("./BusinessSettings-Bl2LIEsv.js"),__vite__mapDeps([81,9])));function pj(){const e=we();p.useEffect(()=>{Pv()},[e.pathname]);const n=!["/","/pricing","/contact","/loading","/terms","/privacy","/refund","/refunds","/job-applications/login","/job-applications/forgot-password","/job-applications/operator-login","/job-applications/start"].includes(e.pathname)&&!e.pathname.startsWith("/job-applications/payment/")&&!e.pathname.startsWith("/job-applications/reset-password/")&&!e.pathname.startsWith("/job-applications/status/");return s.jsxs(s.Fragment,{children:[s.jsx(yv,{}),s.jsx(nv,{}),s.jsx(tv,{}),s.jsxs("div",{className:"App",children:[n&&s.jsx(gv,{}),s.jsx(p.Suspense,{fallback:null,children:s.jsxs(Jg,{children:[s.jsx(E,{path:"/",element:s.jsx(Tv,{})}),s.jsx(E,{path:"/pricing",element:s.jsx(fw,{})}),s.jsx(E,{path:"/contact",element:s.jsx(pw,{})}),s.jsx(E,{path:"/loading",element:s.jsx(Gv,{})}),s.jsx(E,{path:"/job-applications/login",element:s.jsx(iw,{})}),s.jsx(E,{path:"/job-applications/forgot-password",element:s.jsx(aw,{})}),s.jsx(E,{path:"/job-applications/reset-password/:token",element:s.jsx(lw,{})}),s.jsx(E,{path:"/job-applications/operator-login",element:s.jsx(uw,{})}),s.jsx(E,{path:"/job-applications/start",element:s.jsx(Qv,{})}),s.jsx(E,{path:"/job-applications/payment/:id",element:s.jsx(Kv,{})}),s.jsx(E,{path:"/job-applications/status/:id/account",element:s.jsx(sw,{})}),s.jsx(E,{path:"/job-applications/status/:id",element:s.jsx(ow,{})}),s.jsx(E,{path:"/job-applications/console",element:s.jsx(Vw,{})}),s.jsx(E,{path:"/job-application-console",element:s.jsx(bn,{to:"/job-applications/console",replace:!0})}),s.jsx(E,{path:"/merchant-home",element:s.jsx(bn,{to:"/",replace:!0})}),s.jsx(E,{path:"/online",element:s.jsx(dw,{})}),s.jsx(E,{path:"/become-a-millionare",element:s.jsx(vu,{})}),s.jsx(E,{path:"/become-a-millionaire",element:s.jsx(vu,{})}),s.jsx(E,{path:"/sales-login",element:s.jsx(tj,{})}),s.jsx(E,{path:"/sales-signup",element:s.jsx(aj,{})}),s.jsx(E,{path:"/sales/workbench",element:s.jsx(lj,{})}),s.jsx(E,{path:"/sales-dashboard",element:s.jsx(bn,{to:"/sales/workbench",replace:!0})}),s.jsx(E,{path:"/sales/businesses",element:s.jsx(Gw,{})}),s.jsx(E,{path:"/sales/business/:id",element:s.jsx(mw,{})}),s.jsx(E,{path:"/sales/pipeline",element:s.jsx(Iw,{})}),s.jsx(E,{path:"/sales/deals",element:s.jsx(bn,{to:"/sales/pipeline",replace:!0})}),s.jsx(E,{path:"/sales/prospects",element:s.jsx(rj,{})}),s.jsx(E,{path:"/sales/inbox",element:s.jsx(ej,{})}),s.jsx(E,{path:"/sales/payouts",element:s.jsx(nj,{})}),s.jsx(E,{path:"/sales/assets",element:s.jsx(Zw,{})}),s.jsx(E,{path:"/sales/contract",element:s.jsx(Ew,{})}),s.jsx(E,{path:"/sales/settings",element:s.jsx(ij,{})}),s.jsx(E,{path:"/investor-outreach",element:s.jsx(Ww,{})}),s.jsx(E,{path:"/quiqr",element:s.jsx(bn,{to:"/",replace:!0})}),s.jsx(E,{path:"/hyphi",element:s.jsx(bn,{to:"/",replace:!0})}),s.jsx(E,{path:"/business-login",element:s.jsx(hw,{})}),s.jsx(E,{path:"/business-signup",element:s.jsx(yw,{})}),s.jsx(E,{path:"/forgot-password",element:s.jsx(Bw,{})}),s.jsx(E,{path:"/reset-password/:token",element:s.jsx(Xw,{})}),s.jsx(E,{path:"/verify-email/:token",element:s.jsx(Mw,{})}),s.jsx(E,{path:"/business/verify-email-waiting",element:s.jsx(tf,{})}),s.jsx(E,{path:"/business/payment-flow",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(Qw,{})})})}),s.jsx(E,{path:"/business/create-payment",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(Pw,{})})})}),s.jsx(E,{path:"/business/create-qr-code",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(Nw,{})})})}),s.jsx(E,{path:"/business/override-portal",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(Rw,{})})})}),s.jsx(E,{path:"/business/order-numbers",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(T
68w,{})})})}),s.jsx(E,{path:"/business/payments",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(Yw,{})})})}),s.jsx(E,{path:"/business/payouts",element:s.jsx(H,{children:s.jsx(he,{requiredCapability:"payouts",children:s.jsx(Jw,{})})})}),s.jsx(E,{path:"/business/disputes",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(wu,{})})})}),s.jsx(E,{path:"/business/tables",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(Lw,{})})})}),s.jsx(E,{path:"/business/menu-items",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(Hw,{})})})}),s.jsx(E,{path:"/business/settings",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(gw,{})})})}),s.jsx(E,{path:"/business/inventory",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(qw,{})})})}),s.jsx(E,{path:"/business/employees",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(Fw,{})})})}),s.jsx(E,{path:"/business/discounts",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(Aw,{})})})}),s.jsx(E,{path:"/business/sales",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(oj,{})})})}),s.jsx(E,{path:"/business/reports",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(sj,{})})})}),s.jsx(E,{path:"/business/refunds-voids",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(Kw,{})})})}),s.jsx(E,{path:"/business/documents",element:s.jsx(H,{children:s.jsx(he,{children:s.jsx(zw,{})})})}),s.jsx(E,{path:"/business/connect/onboarding",element:s.jsx(H,{children:s.jsx(uj,{})})}),s.jsx(E,{path:"/business/connect/dashboard",element:s.jsx(H,{children:s.jsx(jw,{})})}),s.jsx(E,{path:"/business/connect/onboarding-new",element:s.jsx(H,{children:s.jsx(xw,{})})}),s.jsx(E,{path:"/business/connect/return",element:s.jsx(H,{children:s.jsx(kw,{})})}),s.jsx(E,{path:"/business/connect/refresh",element:s.jsx(H,{children:s.jsx(bw,{})})}),s.jsx(E,{path:"/business/connect/payments",element:s.jsx(H,{children:s.jsx(_w,{})})}),s.jsx(E,{path:"/business/connect/payouts",element:s.jsx(H,{children:s.jsx(Sw,{})})}),s.jsx(E,{path:"/business/connect/disputes",element:s.jsx(H,{children:s.jsx(wu,{})})}),s.jsx(E,{path:"/business/connect/settings",element:s.jsx(H,{children:s.jsx(Cw,{})})}),s.jsx(E,{path:"/business/help",element:s.jsx(H,{children:s.jsx(Uw,{})})}),s.jsx(E,{path:"/pay",element:s.jsx(ju,{})}),s.jsx(E,{path:"/pay/success",element:s.jsx(ju,{})}),s.jsx(E,{path:"/timesheet/:linkToken",element:s.jsx($w,{})}),s.jsx(E,{path:"/terms",element:s.jsx(_u,{})}),s.jsx(E,{path:"/privacy",element:s.jsx(xu,{})}),s.jsx(E,{path:"/refund",element:s.jsx(Li,{})}),s.jsx(E,{path:"/refunds",element:s.jsx(Li,{})}),s.jsx(E,{path:"/compliance",element:s.jsx(vw,{})}),s.jsx(E,{path:"/downtimetruth",element:s.jsx(Ow,{})}),s.jsx(E,{path:"/downtimetruth/waiting_list",element:s.jsx(Dw,{})}),s.jsx(E,{path:"/software-engineer-job-postings",element:s.jsx(cj,{})}),s.jsx(E,{path:"/crypto-sender",element:s.jsx(ww,{})}),s.jsx(E,{path:"/business-settings",element:s.jsx(dj,{})}),s.jsx(E,{path:"/terms.html",element:s.jsx(_u,{})}),s.jsx(E,{path:"/privacy.html",element:s.jsx(xu,{})}),s.jsx(E,{path:"/refunds.html",element:s.jsx(Li,{})})]})})]})]})}function fj(){return s.jsx(Cv,{children:s.jsx(av,{children:s.jsx(xy,{children:s.jsx(pj,{})})})})}Ay();pt({event:"app_boot",page:typeof window<"u"?window.location.pathname:"",ts:new Date().toISOString()});Ii.createRoot(document.getElementById("root")).render(s.jsx(Iu.StrictMode,{children:s.jsx(fj,{})}));export{wj as A,xj as B,hv as C,He as D,jj as E,ef as F,Ri as I,ct as J,z as L,Iu as R,Tt as a,yj as b,Ni as c,mf as d,_j as e,yf as f,Oy as g,hj as h,hf as i,s as j,kf as k,kv as l,mj as m,ff as n,vj as o,pt as p,lv as q,p as r,bv as s,gj as t,Hs as u,Kh as v,sv as w,we as x,iv as y,Dl 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.