vendor: 5,008 bytes, lines 1-9
1(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();var Yg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zu={exports:{}},co={},ec={exports:{}},q={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var Qr=Symbol.for("react.element"),_h=Symbol.for("react.portal"),Lh=Symbol.for("react.fragment"),Oh=Symbol.for("react.strict_mode"),Mh=Symbol.for("react.profiler"),Fh=Symbol.for("react.provider"),Wh=Symbol.for("react.context"),Hh=Symbol.for("react.forward_ref"),Uh=Symbol.for("react.suspense"),$h=Symbol.for("react.memo"),qh=Symbol.for("react.lazy"),xl=Symbol.iterator;function Qh(e){return e===null||typeof e!="object"?null:(e=xl&&e[xl]||e["@@iterator"],typeof e=="function"?e:null)}var tc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nc=Object.assign,rc={};function tr(e,t,n){this.props=e,this.context=t,this.refs=rc,this.updater=n||tc}tr.prototype.isReactComponent={};tr.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")};tr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ic(){}ic.prototype=tr.prototype;function ys(e,t,n){this.props=e,this.context=t,this.refs=rc,this.updater=n||tc}var ms=ys.prototype=new ic;ms.constructor=ys;nc(ms,tr.prototype);ms.isPureReactComponent=!0;var wl=Array.isArray,oc=Object.prototype.hasOwnProperty,gs={current:null},ac={key:!0,ref:!0,__self:!0,__source:!0};function sc(e,t,n){var r,i={},a=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(a=""+t.key),t)oc.call(t,r)&&!ac.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:Qr,type:e,key:a,ref:s,props:i,_owner:gs.current}}function Vh(e,t){return{$$typeof:Qr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function vs(e){return typeof e=="object"&&e!==null&&e.$$typeof===Qr}function Gh(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var kl=/\/+/g;function Do(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Gh(""+e.key):t.toString(36)}function bi(e,t,n,r,i){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Qr:case _h:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+Do(s,0):r,wl(i)?(n="",e!=null&&(n=e.replace(kl,"$&/")+"/"),bi(i,t,n,"",function(c){return c})):i!=null&&(vs(i)&&(i=Vh(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(kl,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",wl(e))for(var l=0;l<e.length;l++){a=e[l];var u=r+Do(a,l);s+=bi(a,t,n,u,i)}else if(u=Qh(e),typeof u=="function")for(e=u.call(e),l=0;!(a=e.next()).done;)a=a.value,u=r+Do(a,l++),s+=bi(a,t,n,u,i);else if(a==="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 s}function ri(e,t,n){if(e==null)return e;var r=[],i=0;return bi(e,r,"","",function(a){return t.call(n,a,i++)}),r}function Kh(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 $e={current:null},Si={transition:null},Yh={ReactCurrentDispatcher:$e,ReactCurrentBatchConfig:Si,ReactCurrentOwner:gs};function lc(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 4,113 bytes, lines 9-25
9q.Children={map:ri,forEach:function(e,t,n){ri(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ri(e,function(){t++}),t},toArray:function(e){return ri(e,function(t){return t})||[]},only:function(e){if(!vs(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};q.Component=tr;q.Fragment=Lh;q.Profiler=Mh;q.PureComponent=ys;q.StrictMode=Oh;q.Suspense=Uh;q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yh;q.act=lc;q.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=nc({},e.props),i=e.key,a=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,s=gs.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)oc.call(t,u)&&!ac.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&l!==void 0?l[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];r.children=l}return{$$typeof:Qr,type:e.type,key:i,ref:a,props:r,_owner:s}};q.createContext=function(e){return e={$$typeof:Wh,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Fh,_context:e},e.Consumer=e};q.createElement=sc;q.createFactory=function(e){var t=sc.bind(null,e);return t.type=e,t};q.createRef=function(){return{current:null}};q.forwardRef=function(e){return{$$typeof:Hh,render:e}};q.isValidElement=vs;q.lazy=function(e){return{$$typeof:qh,_payload:{_status:-1,_result:e},_init:Kh}};q.memo=function(e,t){return{$$typeof:$h,type:e,compare:t===void 0?null:t}};q.startTransition=function(e){var t=Si.transition;Si.transition={};try{e()}finally{Si.transition=t}};q.unstable_act=lc;q.useCallback=function(e,t){return $e.current.useCallback(e,t)};q.useContext=function(e){return $e.current.useContext(e)};q.useDebugValue=function(){};q.useDeferredValue=function(e){return $e.current.useDeferredValue(e)};q.useEffect=function(e,t){return $e.current.useEffect(e,t)};q.useId=function(){return $e.current.useId()};q.useImperativeHandle=function(e,t,n){return $e.current.useImperativeHandle(e,t,n)};q.useInsertionEffect=function(e,t){return $e.current.useInsertionEffect(e,t)};q.useLayoutEffect=function(e,t){return $e.current.useLayoutEffect(e,t)};q.useMemo=function(e,t){return $e.current.useMemo(e,t)};q.useReducer=function(e,t,n){return $e.current.useReducer(e,t,n)};q.useRef=function(e){return $e.current.useRef(e)};q.useState=function(e){return $e.current.useState(e)};q.useSyncExternalStore=function(e,t,n){return $e.current.useSyncExternalStore(e,t,n)};q.useTransition=function(){return $e.current.useTransition()};q.version="18.3.1";ec.exports=q;var E=ec.exports;const Jh=zh(E);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var Xh=E,Zh=Symbol.for("react.element"),ep=Symbol.for("react.fragment"),tp=Object.prototype.hasOwnProperty,np=Xh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,rp={key:!0,ref:!0,__self:!0,__source:!0};function uc(e,t,n){var r,i={},a=null,s=null;n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)tp.call(t,r)&&!rp.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Zh,type:e,key:a,ref:s,props:i,_owner:np.current}}co.Fragment=ep;co.jsx=uc;co.jsxs=uc;Zu.exports=co;var o=Zu.exports,ga={},cc={exports:{}},nt={},dc={exports:{}},hc={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(R,L){var D=R.length;R.push(L);e:for(;0<D;){var W=D-1>>>1,ie=R[W];if(0<i(ie,L))R[W]=L,R[D]=ie,D=W;else break e}}function n(R){return R.length===0?null:R[0]}
vendor: 9,287 bytes, lines 25-33
25function r(R){if(R.length===0)return null;var L=R[0],D=R.pop();if(D!==L){R[0]=D;e:for(var W=0,ie=R.length,ue=ie>>>1;W<ue;){var ge=2*(W+1)-1,ke=R[ge],Be=ge+1,je=R[Be];if(0>i(ke,D))Be<ie&&0>i(je,ke)?(R[W]=je,R[Be]=D,W=Be):(R[W]=ke,R[ge]=D,W=ge);else if(Be<ie&&0>i(je,D))R[W]=je,R[Be]=D,W=Be;else break e}}return L}function i(R,L){var D=R.sortIndex-L.sortIndex;return D!==0?D:R.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var u=[],c=[],p=1,m=null,f=3,g=!1,b=!1,x=!1,w=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(R){for(var L=n(c);L!==null;){if(L.callback===null)r(c);else if(L.startTime<=R)r(c),L.sortIndex=L.expirationTime,t(u,L);else break;L=n(c)}}function k(R){if(x=!1,y(R),!b)if(n(u)!==null)b=!0,G(T);else{var L=n(c);L!==null&&K(k,L.startTime-R)}}function T(R,L){b=!1,x&&(x=!1,h(A),A=-1),g=!0;var D=f;try{for(y(L),m=n(u);m!==null&&(!(m.expirationTime>L)||R&&!V());){var W=m.callback;if(typeof W=="function"){m.callback=null,f=m.priorityLevel;var ie=W(m.expirationTime<=L);L=e.unstable_now(),typeof ie=="function"?m.callback=ie:m===n(u)&&r(u),y(L)}else r(u);m=n(u)}if(m!==null)var ue=!0;else{var ge=n(c);ge!==null&&K(k,ge.startTime-L),ue=!1}return ue}finally{m=null,f=D,g=!1}}var B=!1,P=null,A=-1,U=5,_=-1;function V(){return!(e.unstable_now()-_<U)}function O(){if(P!==null){var R=e.unstable_now();_=R;var L=!0;try{L=P(!0,R)}finally{L?M():(B=!1,P=null)}}else B=!1}var M;if(typeof d=="function")M=function(){d(O)};else if(typeof MessageChannel<"u"){var j=new MessageChannel,H=j.port2;j.port1.onmessage=O,M=function(){H.postMessage(null)}}else M=function(){w(O,0)};function G(R){P=R,B||(B=!0,M())}function K(R,L){A=w(function(){R(e.unstable_now())},L)}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(R){R.callback=null},e.unstable_continueExecution=function(){b||g||(b=!0,G(T))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(R){switch(f){case 1:case 2:case 3:var L=3;break;default:L=f}var D=f;f=L;try{return R()}finally{f=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,L){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var D=f;f=R;try{return L()}finally{f=D}},e.unstable_scheduleCallback=function(R,L,D){var W=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?W+D:W):D=W,R){case 1:var ie=-1;break;case 2:ie=250;break;case 5:ie=1073741823;break;case 4:ie=1e4;break;default:ie=5e3}return ie=D+ie,R={id:p++,callback:L,priorityLevel:R,startTime:D,expirationTime:ie,sortIndex:-1},D>W?(R.sortIndex=D,t(c,R),n(u)===null&&R===n(c)&&(x?(h(A),A=-1):x=!0,K(k,D-W))):(R.sortIndex=ie,t(u,R),b||g||(b=!0,G(T))),R},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(R){var L=f;return function(){var D=f;f=L;try{return R.apply(this,arguments)}finally{f=D}}}})(hc);dc.exports=hc;var ip=dc.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var op=E,tt=ip;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 pc=new Set,Er={};function jn(e,t){Vn(e,t),Vn(e+"Capture",t)}function Vn(e,t){for(Er[e]=t,e=0;e<t.length;e++)pc.add(t[e])}var It=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),va=Object.prototype.hasOwnProperty,ap=/^[: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]*$/,bl={},Sl={};function sp(e){return va.call(Sl,e)?!0:va.call(bl,e)?!1:ap.test(e)?Sl[e]=!0:(bl[e]=!0,!1)}function lp(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 up(e,t,n,r){if(t===null||typeof t>"u"||lp(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 qe(e,t,n,r,i,a,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}var De={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){De[e]=new qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];De[t]=new qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){De[e]=new qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){De[e]=new qe(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){De[e]=new qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){De[e]=new qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){De[e]=new qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){De[e]=new qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){De[e]=new qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var xs=/[\-:]([a-z])/g;function ws(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(xs,ws);De[t]=new qe(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(xs,ws);De[t]=new qe(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(xs,ws);De[t]=new qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){De[e]=new qe(e,1,!1,e.toLowerCase(),null,!1,!1)});De.xlinkHref=new qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){De[e]=new qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function ks(e,t,n,r){var i=De.hasOwnProperty(t)?De[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(up(t,n,i,r)&&(n=null),r||i===null?sp(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}
vendor: 15,879 bytes, lines 33-37
33var Lt=op.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ii=Symbol.for("react.element"),Bn=Symbol.for("react.portal"),Nn=Symbol.for("react.fragment"),bs=Symbol.for("react.strict_mode"),xa=Symbol.for("react.profiler"),fc=Symbol.for("react.provider"),yc=Symbol.for("react.context"),Ss=Symbol.for("react.forward_ref"),wa=Symbol.for("react.suspense"),ka=Symbol.for("react.suspense_list"),js=Symbol.for("react.memo"),Wt=Symbol.for("react.lazy"),mc=Symbol.for("react.offscreen"),jl=Symbol.iterator;function ar(e){return e===null||typeof e!="object"?null:(e=jl&&e[jl]||e["@@iterator"],typeof e=="function"?e:null)}var me=Object.assign,zo;function yr(e){if(zo===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);zo=t&&t[1]||""}return` 34`+zo+e}var _o=!1;function Lo(e,t){if(!e||_o)return"";_o=!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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(` 35`),a=r.stack.split(` 36`),s=i.length-1,l=a.length-1;1<=s&&0<=l&&i[s]!==a[l];)l--;for(;1<=s&&0<=l;s--,l--)if(i[s]!==a[l]){if(s!==1||l!==1)do if(s--,l--,0>l||i[s]!==a[l]){var u=` 37`+i[s].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=s&&0<=l);break}}}finally{_o=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yr(e):""}function cp(e){switch(e.tag){case 5:return yr(e.type);case 16:return yr("Lazy");case 13:return yr("Suspense");case 19:return yr("SuspenseList");case 0:case 2:case 15:return e=Lo(e.type,!1),e;case 11:return e=Lo(e.type.render,!1),e;case 1:return e=Lo(e.type,!0),e;default:return""}}function ba(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 Nn:return"Fragment";case Bn:return"Portal";case xa:return"Profiler";case bs:return"StrictMode";case wa:return"Suspense";case ka:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case yc:return(e.displayName||"Context")+".Consumer";case fc:return(e._context.displayName||"Context")+".Provider";case Ss:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case js:return t=e.displayName||null,t!==null?t:ba(e.type)||"Memo";case Wt:t=e._payload,e=e._init;try{return ba(e(t))}catch{}}return null}function dp(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 ba(t);case 8:return t===bs?"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 tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function hp(e){var t=gc(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 i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,a.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function oi(e){e._valueTracker||(e._valueTracker=hp(e))}function vc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=gc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Oi(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 Sa(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Cl(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tn(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 xc(e,t){t=t.checked,t!=null&&ks(e,"checked",t,!1)}function ja(e,t){xc(e,t);var n=tn(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")?Ca(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ca(e,t.type,tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Tl(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 Ca(e,t,n){(t!=="number"||Oi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var mr=Array.isArray;function Wn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+tn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ta(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(C(91));return me({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Pl(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));if(mr(n)){if(1<n.length)throw Error(C(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:tn(n)}}function wc(e,t){var n=tn(t.value),r=tn(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 El(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function kc(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 Pa(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?kc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ai,bc=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ai=ai||document.createElement("div"),ai.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ai.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Br(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var xr={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},pp=["Webkit","ms","Moz","O"];Object.keys(xr).forEach(function(e){pp.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),xr[t]=xr[e]})});function Sc(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||xr.hasOwnProperty(e)&&xr[e]?(""+t).trim():t+"px"}function jc(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Sc(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var fp=me({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 Ea(e,t){if(t){if(fp[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 Ba(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 Na=null;function Cs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ra=null,Hn=null,Un=null;function Bl(e){if(e=Kr(e)){if(typeof Ra!="function")throw Error(C(280));var t=e.stateNode;t&&(t=mo(t),Ra(e.stateNode,e.type,t))}}function Cc(e){Hn?Un?Un.push(e):Un=[e]:Hn=e}function Tc(){if(Hn){var e=Hn,t=Un;if(Un=Hn=null,Bl(e),t)for(e=0;e<t.length;e++)Bl(t[e])}}function Pc(e,t){return e(t)}function Ec(){}var Oo=!1;function Bc(e,t,n){if(Oo)return e(t,n);Oo=!0;try{return Pc(e,t,n)}finally{Oo=!1,(Hn!==null||Un!==null)&&(Ec(),Tc())}}function Nr(e,t){var n=e.stateNode;if(n===null)return null;var r=mo(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 Aa=!1;if(It)try{var sr={};Object.defineProperty(sr,"passive",{get:function(){Aa=!0}}),window.addEventListener("test",sr,sr),window.removeEventListener("test",sr,sr)}catch{Aa=!1}function yp(e,t,n,r,i,a,s,l,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(p){this.onError(p)}}var wr=!1,Mi=null,Fi=!1,Ia=null,mp={onError:function(e){wr=!0,Mi=e}};function gp(e,t,n,r,i,a,s,l,u){wr=!1,Mi=null,yp.apply(mp,arguments)}function vp(e,t,n,r,i,a,s,l,u){if(gp.apply(this,arguments),wr){if(wr){var c=Mi;wr=!1,Mi=null}else throw Error(C(198));Fi||(Fi=!0,Ia=c)}}function Cn(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 Nc(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 Nl(e){if(Cn(e)!==e)throw Error(C(188))}function xp(e){var t=e.alternate;if(!t){if(t=Cn(e),t===null)throw Error(C(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var a=i.alternate;if(a===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Nl(i),e;if(a===r)return Nl(i),t;a=a.sibling}throw Error(C(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)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 Rc(e){return e=xp(e),e!==null?Ac(e):null}function Ac(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ac(e);if(t!==null)return t;e=e.sibling}return null}var Ic=tt.unstable_scheduleCallback,Rl=tt.unstable_cancelCallback,wp=tt.unstable_shouldYield,kp=tt.unstable_requestPaint,xe=tt.unstable_now,bp=tt.unstable_getCurrentPriorityLevel,Ts=tt.unstable_ImmediatePriority,Dc=tt.unstable_UserBlockingPriority,Wi=tt.unstable_NormalPriority,Sp=tt.unstable_LowPriority,zc=tt.unstable_IdlePriority,ho=null,Ct=null;function jp(e){if(Ct&&typeof Ct.onCommitFiberRoot=="function")try{Ct.onCommitFiberRoot(ho,e,void 0,(e.current.flags&128)===128)}catch{}}var gt=Math.clz32?Math.clz32:Pp,Cp=Math.log,Tp=Math.LN2;function Pp(e){return e>>>=0,e===0?32:31-(Cp(e)/Tp|0)|0}var si=64,li=4194304;function gr(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 Hi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~i;l!==0?r=gr(l):(a&=s,a!==0&&(r=gr(a)))}else s=n&~i,s!==0?r=gr(s):a!==0&&(r=gr(a));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,a=t&-t,i>=a||i===16&&(a&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-gt(t),i=1<<n,r|=e[n],t&=~i;return r}function Ep(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 Bp(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var s=31-gt(a),l=1<<s,u=i[s];u===-1?(!(l&n)||l&r)&&(i[s]=Ep(l,t)):u<=t&&(e.expiredLanes|=l),a&=~l}}function Da(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function _c(){var e=si;return si<<=1,!(si&4194240)&&(si=64),e}function Mo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Vr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-gt(t),e[t]=n}function Np(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 i=31-gt(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function Ps(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-gt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var te=0;function Lc(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}
vendor: 11,350 bytes, line 37
37var Oc,Es,Mc,Fc,Wc,za=!1,ui=[],Vt=null,Gt=null,Kt=null,Rr=new Map,Ar=new Map,Ut=[],Rp="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 Al(e,t){switch(e){case"focusin":case"focusout":Vt=null;break;case"dragenter":case"dragleave":Gt=null;break;case"mouseover":case"mouseout":Kt=null;break;case"pointerover":case"pointerout":Rr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ar.delete(t.pointerId)}}function lr(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Kr(t),t!==null&&Es(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ap(e,t,n,r,i){switch(t){case"focusin":return Vt=lr(Vt,e,t,n,r,i),!0;case"dragenter":return Gt=lr(Gt,e,t,n,r,i),!0;case"mouseover":return Kt=lr(Kt,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Rr.set(a,lr(Rr.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Ar.set(a,lr(Ar.get(a)||null,e,t,n,r,i)),!0}return!1}function Hc(e){var t=cn(e.target);if(t!==null){var n=Cn(t);if(n!==null){if(t=n.tag,t===13){if(t=Nc(n),t!==null){e.blockedOn=t,Wc(e.priority,function(){Mc(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 ji(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=_a(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Na=r,n.target.dispatchEvent(r),Na=null}else return t=Kr(n),t!==null&&Es(t),e.blockedOn=n,!1;t.shift()}return!0}function Il(e,t,n){ji(e)&&n.delete(t)}function Ip(){za=!1,Vt!==null&&ji(Vt)&&(Vt=null),Gt!==null&&ji(Gt)&&(Gt=null),Kt!==null&&ji(Kt)&&(Kt=null),Rr.forEach(Il),Ar.forEach(Il)}function ur(e,t){e.blockedOn===t&&(e.blockedOn=null,za||(za=!0,tt.unstable_scheduleCallback(tt.unstable_NormalPriority,Ip)))}function Ir(e){function t(i){return ur(i,e)}if(0<ui.length){ur(ui[0],e);for(var n=1;n<ui.length;n++){var r=ui[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Vt!==null&&ur(Vt,e),Gt!==null&&ur(Gt,e),Kt!==null&&ur(Kt,e),Rr.forEach(t),Ar.forEach(t),n=0;n<Ut.length;n++)r=Ut[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ut.length&&(n=Ut[0],n.blockedOn===null);)Hc(n),n.blockedOn===null&&Ut.shift()}var $n=Lt.ReactCurrentBatchConfig,Ui=!0;function Dp(e,t,n,r){var i=te,a=$n.transition;$n.transition=null;try{te=1,Bs(e,t,n,r)}finally{te=i,$n.transition=a}}function zp(e,t,n,r){var i=te,a=$n.transition;$n.transition=null;try{te=4,Bs(e,t,n,r)}finally{te=i,$n.transition=a}}function Bs(e,t,n,r){if(Ui){var i=_a(e,t,n,r);if(i===null)Ko(e,t,r,$i,n),Al(e,r);else if(Ap(i,e,t,n,r))r.stopPropagation();else if(Al(e,r),t&4&&-1<Rp.indexOf(e)){for(;i!==null;){var a=Kr(i);if(a!==null&&Oc(a),a=_a(e,t,n,r),a===null&&Ko(e,t,r,$i,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Ko(e,t,r,null,n)}}var $i=null;function _a(e,t,n,r){if($i=null,e=Cs(r),e=cn(e),e!==null)if(t=Cn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Nc(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 $i=e,null}function Uc(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(bp()){case Ts:return 1;case Dc:return 4;case Wi:case Sp:return 16;case zc:return 536870912;default:return 16}default:return 16}}var qt=null,Ns=null,Ci=null;function $c(){if(Ci)return Ci;var e,t=Ns,n=t.length,r,i="value"in qt?qt.value:qt.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===i[a-r];r++);return Ci=i.slice(e,1<r?1-r:void 0)}function Ti(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 ci(){return!0}function Dl(){return!1}function rt(e){function t(n,r,i,a,s){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=a,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(a):a[l]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?ci:Dl,this.isPropagationStopped=Dl,this}return me(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=ci)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ci)},persist:function(){},isPersistent:ci}),t}var nr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Rs=rt(nr),Gr=me({},nr,{view:0,detail:0}),_p=rt(Gr),Fo,Wo,cr,po=me({},Gr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:As,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!==cr&&(cr&&e.type==="mousemove"?(Fo=e.screenX-cr.screenX,Wo=e.screenY-cr.screenY):Wo=Fo=0,cr=e),Fo)},movementY:function(e){return"movementY"in e?e.movementY:Wo}}),zl=rt(po),Lp=me({},po,{dataTransfer:0}),Op=rt(Lp),Mp=me({},Gr,{relatedTarget:0}),Ho=rt(Mp),Fp=me({},nr,{animationName:0,elapsedTime:0,pseudoElement:0}),Wp=rt(Fp),Hp=me({},nr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Up=rt(Hp),$p=me({},nr,{data:0}),_l=rt($p),qp={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qp={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"},Vp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Gp(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Vp[e])?!!t[e]:!1}function As(){return Gp}var Kp=me({},Gr,{key:function(e){if(e.key){var t=qp[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ti(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Qp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:As,charCode:function(e){return e.type==="keypress"?Ti(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ti(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Yp=rt(Kp),Jp=me({},po,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ll=rt(Jp),Xp=me({},Gr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:As}),Zp=rt(Xp),ef=me({},nr,{propertyName:0,elapsedTime:0,pseudoElement:0}),tf=rt(ef),nf=me({},po,{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}),rf=rt(nf),of=[9,13,27,32],Is=It&&"CompositionEvent"in window,kr=null;It&&"documentMode"in document&&(kr=document.documentMode);var af=It&&"TextEvent"in window&&!kr,qc=It&&(!Is||kr&&8<kr&&11>=kr),Ol=" ",Ml=!1;function Qc(e,t){switch(e){case"keyup":return of.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Rn=!1;function sf(e,t){switch(e){case"compositionend":return Vc(t);case"keypress":return t.which!==32?null:(Ml=!0,Ol);case"textInput":return e=t.data,e===Ol&&Ml?null:e;default:return null}}function lf(e,t){if(Rn)return e==="compositionend"||!Is&&Qc(e,t)?(e=$c(),Ci=Ns=qt=null,Rn=!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 qc&&t.locale!=="ko"?null:t.data;default:return null}}var uf={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 Fl(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!uf[e.type]:t==="textarea"}function Gc(e,t,n,r){Cc(r),t=qi(t,"onChange"),0<t.length&&(n=new Rs("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var br=null,Dr=null;function cf(e){od(e,0)}function fo(e){var t=Dn(e);if(vc(t))return e}function df(e,t){if(e==="change")return t}var Kc=!1;if(It){var Uo;if(It){var $o="oninput"in document;if(!$o){var Wl=document.createElement("div");Wl.setAttribute("oninput","return;"),$o=typeof Wl.oninput=="function"}Uo=$o}else Uo=!1;Kc=Uo&&(!document.documentMode||9<document.documentMode)}function Hl(){br&&(br.detachEvent("onpropertychange",Yc),Dr=br=null)}function Yc(e){if(e.propertyName==="value"&&fo(Dr)){var t=[];Gc(t,Dr,e,Cs(e)),Bc(cf,t)}}function hf(e,t,n){e==="focusin"?(Hl(),br=t,Dr=n,br.attachEvent("onpropertychange",Yc)):e==="focusout"&&Hl()}function pf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fo(Dr)}function ff(e,t){if(e==="click")return fo(t)}function yf(e,t){if(e==="input"||e==="change")return fo(t)}function mf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xt=typeof Object.is=="function"?Object.is:mf;function zr(e,t){if(xt(e,t))return!0;
vendor: 4,808 bytes, line 37
37if(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 i=n[r];if(!va.call(t,i)||!xt(e[i],t[i]))return!1}return!0}function Ul(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $l(e,t){var n=Ul(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=Ul(n)}}function Jc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Jc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Xc(){for(var e=window,t=Oi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Oi(e.document)}return t}function Ds(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 gf(e){var t=Xc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Jc(n.ownerDocument.documentElement,n)){if(r!==null&&Ds(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=$l(n,a);var s=$l(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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 vf=It&&"documentMode"in document&&11>=document.documentMode,An=null,La=null,Sr=null,Oa=!1;function ql(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Oa||An==null||An!==Oi(r)||(r=An,"selectionStart"in r&&Ds(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}),Sr&&zr(Sr,r)||(Sr=r,r=qi(La,"onSelect"),0<r.length&&(t=new Rs("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=An)))}function di(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var In={animationend:di("Animation","AnimationEnd"),animationiteration:di("Animation","AnimationIteration"),animationstart:di("Animation","AnimationStart"),transitionend:di("Transition","TransitionEnd")},qo={},Zc={};It&&(Zc=document.createElement("div").style,"AnimationEvent"in window||(delete In.animationend.animation,delete In.animationiteration.animation,delete In.animationstart.animation),"TransitionEvent"in window||delete In.transitionend.transition);function yo(e){if(qo[e])return qo[e];if(!In[e])return e;var t=In[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Zc)return qo[e]=t[n];return e}var ed=yo("animationend"),td=yo("animationiteration"),nd=yo("animationstart"),rd=yo("transitionend"),id=new Map,Ql="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 rn(e,t){id.set(e,t),jn(t,[e])}for(var Qo=0;Qo<Ql.length;Qo++){var Vo=Ql[Qo],xf=Vo.toLowerCase(),wf=Vo[0].toUpperCase()+Vo.slice(1);rn(xf,"on"+wf)}rn(ed,"onAnimationEnd");rn(td,"onAnimationIteration");rn(nd,"onAnimationStart");rn("dblclick","onDoubleClick");rn("focusin","onFocus");rn("focusout","onBlur");rn(rd,"onTransitionEnd");Vn("onMouseEnter",["mouseout","mouseover"]);Vn("onMouseLeave",["mouseout","mouseover"]);Vn("onPointerEnter",["pointerout","pointerover"]);Vn("onPointerLeave",["pointerout","pointerover"]);jn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 4,430 bytes, line 37
37jn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));jn("onBeforeInput",["compositionend","keypress","textInput","paste"]);jn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));jn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));jn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vr="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(" "),kf=new Set("cancel close invalid load scroll toggle".split(" ").concat(vr));function Vl(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,vp(r,t,void 0,e),e.currentTarget=null}function od(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],u=l.instance,c=l.currentTarget;if(l=l.listener,u!==a&&i.isPropagationStopped())break e;Vl(i,l,c),a=u}else for(s=0;s<r.length;s++){if(l=r[s],u=l.instance,c=l.currentTarget,l=l.listener,u!==a&&i.isPropagationStopped())break e;Vl(i,l,c),a=u}}}if(Fi)throw e=Ia,Fi=!1,Ia=null,e}function de(e,t){var n=t[Ua];n===void 0&&(n=t[Ua]=new Set);var r=e+"__bubble";n.has(r)||(ad(t,e,2,!1),n.add(r))}function Go(e,t,n){var r=0;t&&(r|=4),ad(n,e,r,t)}var hi="_reactListening"+Math.random().toString(36).slice(2);function _r(e){if(!e[hi]){e[hi]=!0,pc.forEach(function(n){n!=="selectionchange"&&(kf.has(n)||Go(n,!1,e),Go(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[hi]||(t[hi]=!0,Go("selectionchange",!1,t))}}function ad(e,t,n,r){switch(Uc(t)){case 1:var i=Dp;break;case 4:i=zp;break;default:i=Bs}n=i.bind(null,t,n,e),i=void 0,!Aa||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ko(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(s===4)for(s=r.return;s!==null;){var u=s.tag;if((u===3||u===4)&&(u=s.stateNode.containerInfo,u===i||u.nodeType===8&&u.parentNode===i))return;s=s.return}for(;l!==null;){if(s=cn(l),s===null)return;if(u=s.tag,u===5||u===6){r=a=s;continue e}l=l.parentNode}}r=r.return}Bc(function(){var c=a,p=Cs(n),m=[];e:{var f=id.get(e);if(f!==void 0){var g=Rs,b=e;switch(e){case"keypress":if(Ti(n)===0)break e;case"keydown":case"keyup":g=Yp;break;case"focusin":b="focus",g=Ho;break;case"focusout":b="blur",g=Ho;break;case"beforeblur":case"afterblur":g=Ho;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":g=zl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=Op;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Zp;break;case ed:case td:case nd:g=Wp;break;case rd:g=tf;break;case"scroll":g=_p;break;case"wheel":g=rf;break;case"copy":case"cut":case"paste":g=Up;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Ll}var x=(t&4)!==0,w=!x&&e==="scroll",h=x?f!==null?f+"Capture":null:f;x=[];for(var d=c,y;d!==null;){y=d;var k=y.stateNode;if(y.tag===5&&k!==null&&(y=k,h!==null&&(k=Nr(d,h),k!=null&&x.push(Lr(d,k,y)))),w)break;d=d.return}0<x.length&&(f=new g(f,b,null,n,p),m.push({event:f,listeners:x}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",f&&n!==Na&&(b=n.relatedTarget||n.fromElement)&&(cn(b)||b[Dt]))break e;if((g||f)&&(f=p.window===p?p:(f=p.ownerDocument)?f.defaultView||f.parentWindow:window,g?(b=n.relatedTarget||n.toElement,g=c,b=b?cn(b):null,b!==null&&(w=Cn(b),b!==w||b.tag!==5&&b.tag!==6)&&(b=null)):(g=null,b=c),g!==b)){if(x=zl,k="onMouseLeave",h="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(x=Ll,k="onPointerLeave",h="onPointerEnter",d="pointer"),w=g==null?f:Dn(g),y=b==null?f:Dn(b),f=new x(k,d+"leave",g,n,p),f.target=w,f.relatedTarget=y,k=null,cn(p
vendor: 6,712 bytes, lines 37-38
37)===c&&(x=new x(h,d+"enter",b,n,p),x.target=y,x.relatedTarget=w,k=x),w=k,g&&b)t:{for(x=g,h=b,d=0,y=x;y;y=Pn(y))d++;for(y=0,k=h;k;k=Pn(k))y++;for(;0<d-y;)x=Pn(x),d--;for(;0<y-d;)h=Pn(h),y--;for(;d--;){if(x===h||h!==null&&x===h.alternate)break t;x=Pn(x),h=Pn(h)}x=null}else x=null;g!==null&&Gl(m,f,g,x,!1),b!==null&&w!==null&&Gl(m,w,b,x,!0)}}e:{if(f=c?Dn(c):window,g=f.nodeName&&f.nodeName.toLowerCase(),g==="select"||g==="input"&&f.type==="file")var T=df;else if(Fl(f))if(Kc)T=yf;else{T=pf;var B=hf}else(g=f.nodeName)&&g.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(T=ff);if(T&&(T=T(e,c))){Gc(m,T,n,p);break e}B&&B(e,f,c),e==="focusout"&&(B=f._wrapperState)&&B.controlled&&f.type==="number"&&Ca(f,"number",f.value)}switch(B=c?Dn(c):window,e){case"focusin":(Fl(B)||B.contentEditable==="true")&&(An=B,La=c,Sr=null);break;case"focusout":Sr=La=An=null;break;case"mousedown":Oa=!0;break;case"contextmenu":case"mouseup":case"dragend":Oa=!1,ql(m,n,p);break;case"selectionchange":if(vf)break;case"keydown":case"keyup":ql(m,n,p)}var P;if(Is)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else Rn?Qc(e,n)&&(A="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(A="onCompositionStart");A&&(qc&&n.locale!=="ko"&&(Rn||A!=="onCompositionStart"?A==="onCompositionEnd"&&Rn&&(P=$c()):(qt=p,Ns="value"in qt?qt.value:qt.textContent,Rn=!0)),B=qi(c,A),0<B.length&&(A=new _l(A,e,null,n,p),m.push({event:A,listeners:B}),P?A.data=P:(P=Vc(n),P!==null&&(A.data=P)))),(P=af?sf(e,n):lf(e,n))&&(c=qi(c,"onBeforeInput"),0<c.length&&(p=new _l("onBeforeInput","beforeinput",null,n,p),m.push({event:p,listeners:c}),p.data=P))}od(m,t)})}function Lr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qi(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=Nr(e,n),a!=null&&r.unshift(Lr(e,a,i)),a=Nr(e,t),a!=null&&r.push(Lr(e,a,i))),e=e.return}return r}function Pn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Gl(e,t,n,r,i){for(var a=t._reactName,s=[];n!==null&&n!==r;){var l=n,u=l.alternate,c=l.stateNode;if(u!==null&&u===r)break;l.tag===5&&c!==null&&(l=c,i?(u=Nr(n,a),u!=null&&s.unshift(Lr(n,u,l))):i||(u=Nr(n,a),u!=null&&s.push(Lr(n,u,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var bf=/\r\n?/g,Sf=/\u0000|\uFFFD/g;function Kl(e){return(typeof e=="string"?e:""+e).replace(bf,` 38`).replace(Sf,"")}function pi(e,t,n){if(t=Kl(t),Kl(e)!==t&&n)throw Error(C(425))}function Qi(){}var Ma=null,Fa=null;function Wa(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 Ha=typeof setTimeout=="function"?setTimeout:void 0,jf=typeof clearTimeout=="function"?clearTimeout:void 0,Yl=typeof Promise=="function"?Promise:void 0,Cf=typeof queueMicrotask=="function"?queueMicrotask:typeof Yl<"u"?function(e){return Yl.resolve(null).then(e).catch(Tf)}:Ha;function Tf(e){setTimeout(function(){throw e})}function Yo(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Ir(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Ir(t)}function Yt(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 Jl(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 rr=Math.random().toString(36).slice(2),jt="__reactFiber$"+rr,Or="__reactProps$"+rr,Dt="__reactContainer$"+rr,Ua="__reactEvents$"+rr,Pf="__reactListeners$"+rr,Ef="__reactHandles$"+rr;function cn(e){var t=e[jt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Dt]||n[jt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Jl(e);e!==null;){if(n=e[jt])return n;e=Jl(e)}return t}e=n,n=e.parentNode}return null}function Kr(e){return e=e[jt]||e[Dt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Dn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(C(33))}function mo(e){return e[Or]||null}var $a=[],zn=-1;function on(e){return{current:e}}function he(e){0>zn||(e.current=$a[zn],$a[zn]=null,zn--)}function le(e,t){zn++,$a[zn]=e.current,e.current=t}var nn={},Fe=on(nn),Ge=on(!1),vn=nn;function Gn(e,t){var n=e.type.contextTypes;if(!n)return nn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ke(e){return e=e.childContextTypes,e!=null}function Vi(){he(Ge),he(Fe)}function Xl(e,t,n){if(Fe.current!==nn)throw Error(C(168));le(Fe,t),le(Ge,n)}function sd(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(C(108,dp(e)||"Unknown",i));return me({},n,r)}function Gi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nn,vn=Fe.current,le(Fe,e),le(Ge,Ge.current),!0}function Zl(e,t,n){var r=e.stateNode;if(!r)throw Error(C(169));n?(e=sd(e,t,vn),r.__reactInternalMemoizedMergedChildContext=e,he(Ge),he(Fe),le(Fe,e)):he(Ge),le(Ge,n)}var Et=null,go=!1,Jo=!1;function ld(e){Et===null?Et=[e]:Et.push(e)}function Bf(e){go=!0,ld(e)}function an(){if(!Jo&&Et!==null){Jo=!0;var e=0,t=te;try{var n=Et;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Et=null,go=!1}catch(i){throw Et!==null&&(Et=Et.slice(e+1)),Ic(Ts,an),i}finally{te=t,Jo=!1}}return null}var _n=[],Ln=0,Ki=null,Yi=0,at=[],st=0,xn=null,Bt=1,Nt="";function ln(e,t){_n[Ln++]=Yi,_n[Ln++]=Ki,Ki=e,Yi=t}function ud(e,t,n){at[st++]=Bt,at[st++]=Nt,at[st++]=xn,xn=e;var r=Bt;e=Nt;var i=32-gt(r)-1;r&=~(1<<i),n+=1;var a=32-gt(t)+i;if(30<a){var s=i-i%5;a=(r&(1<<s)-1).toString(32),r>>=s,i-=s,Bt=1<<32-gt(t)+i|n<<i|r,Nt=a+e}else Bt=1<<a|n<<i|r,Nt=e}function zs(e){e.return!==null&&(ln(e,1),ud(e,1,0))}function _s(e){for(;e===Ki;)Ki=_n[--Ln],_n[Ln]=null,Yi=_n[--Ln],_n[Ln]=null;for(;e===xn;)xn=at[--st],at[st]=null,Nt=at[--st],at[st]=null,Bt=at[--st],at[st]=null}var et=null,Ze=null,pe=!1,mt=null;function cd(e,t){var n=lt(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 eu(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 16,173 bytes, line 38
38return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,et=e,Ze=Yt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,et=e,Ze=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=xn!==null?{id:Bt,overflow:Nt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=lt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,et=e,Ze=null,!0):!1;default:return!1}}function qa(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Qa(e){if(pe){var t=Ze;if(t){var n=t;if(!eu(e,t)){if(qa(e))throw Error(C(418));t=Yt(n.nextSibling);var r=et;t&&eu(e,t)?cd(r,n):(e.flags=e.flags&-4097|2,pe=!1,et=e)}}else{if(qa(e))throw Error(C(418));e.flags=e.flags&-4097|2,pe=!1,et=e}}}function tu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;et=e}function fi(e){if(e!==et)return!1;if(!pe)return tu(e),pe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Wa(e.type,e.memoizedProps)),t&&(t=Ze)){if(qa(e))throw dd(),Error(C(418));for(;t;)cd(e,t),t=Yt(t.nextSibling)}if(tu(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){Ze=Yt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ze=null}}else Ze=et?Yt(e.stateNode.nextSibling):null;return!0}function dd(){for(var e=Ze;e;)e=Yt(e.nextSibling)}function Kn(){Ze=et=null,pe=!1}function Ls(e){mt===null?mt=[e]:mt.push(e)}var Nf=Lt.ReactCurrentBatchConfig;function dr(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 i=r,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(s){var l=i.refs;s===null?delete l[a]:l[a]=s},t._stringRef=a,t)}if(typeof e!="string")throw Error(C(284));if(!n._owner)throw Error(C(290,e))}return e}function yi(e,t){throw e=Object.prototype.toString.call(t),Error(C(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function nu(e){var t=e._init;return t(e._payload)}function hd(e){function t(h,d){if(e){var y=h.deletions;y===null?(h.deletions=[d],h.flags|=16):y.push(d)}}function n(h,d){if(!e)return null;for(;d!==null;)t(h,d),d=d.sibling;return null}function r(h,d){for(h=new Map;d!==null;)d.key!==null?h.set(d.key,d):h.set(d.index,d),d=d.sibling;return h}function i(h,d){return h=en(h,d),h.index=0,h.sibling=null,h}function a(h,d,y){return h.index=y,e?(y=h.alternate,y!==null?(y=y.index,y<d?(h.flags|=2,d):y):(h.flags|=2,d)):(h.flags|=1048576,d)}function s(h){return e&&h.alternate===null&&(h.flags|=2),h}function l(h,d,y,k){return d===null||d.tag!==6?(d=ia(y,h.mode,k),d.return=h,d):(d=i(d,y),d.return=h,d)}function u(h,d,y,k){var T=y.type;return T===Nn?p(h,d,y.props.children,k,y.key):d!==null&&(d.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Wt&&nu(T)===d.type)?(k=i(d,y.props),k.ref=dr(h,d,y),k.return=h,k):(k=Ii(y.type,y.key,y.props,null,h.mode,k),k.ref=dr(h,d,y),k.return=h,k)}function c(h,d,y,k){return d===null||d.tag!==4||d.stateNode.containerInfo!==y.containerInfo||d.stateNode.implementation!==y.implementation?(d=oa(y,h.mode,k),d.return=h,d):(d=i(d,y.children||[]),d.return=h,d)}function p(h,d,y,k,T){return d===null||d.tag!==7?(d=yn(y,h.mode,k,T),d.return=h,d):(d=i(d,y),d.return=h,d)}function m(h,d,y){if(typeof d=="string"&&d!==""||typeof d=="number")return d=ia(""+d,h.mode,y),d.return=h,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case ii:return y=Ii(d.type,d.key,d.props,null,h.mode,y),y.ref=dr(h,null,d),y.return=h,y;case Bn:return d=oa(d,h.mode,y),d.return=h,d;case Wt:var k=d._init;return m(h,k(d._payload),y)}if(mr(d)||ar(d))return d=yn(d,h.mode,y,null),d.return=h,d;yi(h,d)}return null}function f(h,d,y,k){var T=d!==null?d.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return T!==null?null:l(h,d,""+y,k);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case ii:return y.key===T?u(h,d,y,k):null;case Bn:return y.key===T?c(h,d,y,k):null;case Wt:return T=y._init,f(h,d,T(y._payload),k)}if(mr(y)||ar(y))return T!==null?null:p(h,d,y,k,null);yi(h,y)}return null}function g(h,d,y,k,T){if(typeof k=="string"&&k!==""||typeof k=="number")return h=h.get(y)||null,l(d,h,""+k,T);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case ii:return h=h.get(k.key===null?y:k.key)||null,u(d,h,k,T);case Bn:return h=h.get(k.key===null?y:k.key)||null,c(d,h,k,T);case Wt:var B=k._init;return g(h,d,y,B(k._payload),T)}if(mr(k)||ar(k))return h=h.get(y)||null,p(d,h,k,T,null);yi(d,k)}return null}function b(h,d,y,k){for(var T=null,B=null,P=d,A=d=0,U=null;P!==null&&A<y.length;A++){P.index>A?(U=P,P=null):U=P.sibling;var _=f(h,P,y[A],k);if(_===null){P===null&&(P=U);break}e&&P&&_.alternate===null&&t(h,P),d=a(_,d,A),B===null?T=_:B.sibling=_,B=_,P=U}if(A===y.length)return n(h,P),pe&&ln(h,A),T;if(P===null){for(;A<y.length;A++)P=m(h,y[A],k),P!==null&&(d=a(P,d,A),B===null?T=P:B.sibling=P,B=P);return pe&&ln(h,A),T}for(P=r(h,P);A<y.length;A++)U=g(P,h,A,y[A],k),U!==null&&(e&&U.alternate!==null&&P.delete(U.key===null?A:U.key),d=a(U,d,A),B===null?T=U:B.sibling=U,B=U);return e&&P.forEach(function(V){return t(h,V)}),pe&&ln(h,A),T}function x(h,d,y,k){var T=ar(y);if(typeof T!="function")throw Error(C(150));if(y=T.call(y),y==null)throw Error(C(151));for(var B=T=null,P=d,A=d=0,U=null,_=y.next();P!==null&&!_.done;A++,_=y.next()){P.index>A?(U=P,P=null):U=P.sibling;var V=f(h,P,_.value,k);if(V===null){P===null&&(P=U);break}e&&P&&V.alternate===null&&t(h,P),d=a(V,d,A),B===null?T=V:B.sibling=V,B=V,P=U}if(_.done)return n(h,P),pe&&ln(h,A),T;if(P===null){for(;!_.done;A++,_=y.next())_=m(h,_.value,k),_!==null&&(d=a(_,d,A),B===null?T=_:B.sibling=_,B=_);return pe&&ln(h,A),T}for(P=r(h,P);!_.done;A++,_=y.next())_=g(P,h,A,_.value,k),_!==null&&(e&&_.alternate!==null&&P.delete(_.key===null?A:_.key),d=a(_,d,A),B===null?T=_:B.sibling=_,B=_);return e&&P.forEach(function(O){return t(h,O)}),pe&&ln(h,A),T}function w(h,d,y,k){if(typeof y=="object"&&y!==null&&y.type===Nn&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case ii:e:{for(var T=y.key,B=d;B!==null;){if(B.key===T){if(T=y.type,T===Nn){if(B.tag===7){n(h,B.sibling),d=i(B,y.props.children),d.return=h,h=d;break e}}else if(B.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Wt&&nu(T)===B.type){n(h,B.sibling),d=i(B,y.props),d.ref=dr(h,B,y),d.return=h,h=d;break e}n(h,B);break}else t(h,B);B=B.sibling}y.type===Nn?(d=yn(y.props.children,h.mode,k,y.key),d.return=h,h=d):(k=Ii(y.type,y.key,y.props,null,h.mode,k),k.ref=dr(h,d,y),k.return=h,h=k)}return s(h);case Bn:e:{for(B=y.key;d!==null;){if(d.key===B)if(d.tag===4&&d.stateNode.containerInfo===y.containerInfo&&d.stateNode.implementation===y.implementation){n(h,d.sibling),d=i(d,y.children||[]),d.return=h,h=d;break e}else{n(h,d);break}else t(h,d);d=d.sibling}d=oa(y,h.mode,k),d.return=h,h=d}return s(h);case Wt:return B=y._init,w(h,d,B(y._payload),k)}if(mr(y))return b(h,d,y,k);if(ar(y))return x(h,d,y,k);yi(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,d!==null&&d.tag===6?(n(h,d.sibling),d=i(d,y),d.return=h,h=d):(n(h,d),d=ia(y,h.mode,k),d.return=h,h=d),s(h)):n(h,d)}return w}var Yn=hd(!0),pd=hd(!1),Ji=on(null),Xi=null,On=null,Os=null;function Ms(){Os=On=Xi=null}function Fs(e){var t=Ji.current;he(Ji),e._currentValue=t}function Va(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 qn(e,t){Xi=e,Os=On=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ve=!0),e.firstContext=null)}function ct(e){var t=e._currentValue;if(Os!==e)if(e={context:e,memoizedValue:t,next:null},On===null){if(Xi===null)throw Error(C(308));On=e,Xi.dependencies={lanes:0,firstContext:e}}else On=On.next=e;return t}var dn=null;function Ws(e){dn===null?dn=[e]:dn.push(e)}function fd(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Ws(t)):(n.next=i.next,i.next=n),t.interleaved=n,zt(e,r)}function zt(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 Ht=!1;function Hs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function yd(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 Rt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Jt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,X&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,zt(e,n)}return i=r.interleaved,i===null?(t.next=t,Ws(r)):(t.next=i.next,i.next=t),r.interleaved=t,zt(e,n)}function Pi(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,Ps(e,n)}}function ru(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=s:a=a.next=s,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,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 Zi(e,t,n,r){var i=e.updateQueue;Ht=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var u=l,c=u.next;u.next=null,s===null?a=c:s.next=c,s=u;var p=e.alternate;p!==null&&(p=p.updateQueue,l=p.lastBaseUpdate,l!==s&&(l===null?p.firstBaseUpdate=c:l.next=c,p.lastBaseUpdate=u))}if(a!==null){var m=i.baseState;s=0,p=c=u=null,l=a;do{var f=l.lane,g=l.eventTime;if((r&f)===f){p!==null&&(p=p.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var b=e,x=l;switch(f=t,g=n,x.tag){case 1:if(b=x.payload,typeof b=="function"){m=b.call(g,m,f);break e}m=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=x.payload,f=typeof b=="function"?b.call(g,m,f):b,f==null)break e;m=me({},m,f);break e;case 2:Ht=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[l]:f.push(l))}else g={eventTime:g,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},p===null?(c=p=g,u=m):p=p.next=g,s|=f;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;f=l,l=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(p===null&&(u=m),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=p,t=i.shared.interleaved,t!==null){i=t;do s|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);kn|=s,e.lanes=s,e.memoizedState=m}}function iu(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(C(191,i));i.call(r)}}}var Yr={},Tt=on(Yr),Mr=on(Yr),Fr=on(Yr);function hn(e){if(e===Yr)throw Error(C(174));return e}function Us(e,t){switch(le(Fr,t),le(Mr,e),le(Tt,Yr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Pa(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Pa(t,e)}he(Tt),le(Tt,t)}function Jn(){he(Tt),he(Mr),he(Fr)}function md(e){hn(Fr.current);var t=hn(Tt.current),n=Pa(t,e.type);t!==n&&(le(Mr,e),le(Tt,n))}function $s(e){Mr.current===e&&(he(Tt),he(Mr))}var fe=on(0);function eo(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 Xo=[];function qs(){for(var e=0;e<Xo.length;e++)Xo[e]._workInProgressVersionPrimary=null;Xo.length=0}var Ei=Lt.ReactCurrentDispatcher,Zo=Lt.ReactCurrentBatchConfig,wn=0,ye=null,Ce=null,Pe=null,to=!1,jr=!1,Wr=0,Rf=0;function ze(){throw Error(C(321))}function Qs(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!xt(e[n],t[n]))return!1;return!0}function Vs(e,t,n,r,i,a){if(wn=a,ye=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ei.current=e===null||e.memoizedState===null?zf:_f,e=n(r,i),jr){a=0;do{if(jr=!1,Wr=0,25<=a)throw Error(C(301));a+=1,Pe=Ce=null,t.updateQueue=null,Ei.current=Lf,e=n(r,i)}while(jr)}if(Ei.current=no,t=Ce!==null&&Ce.next!==null,wn=0,Pe=Ce=ye=null,to=!1,t)throw Error(C(300));return e}function Gs(){var e=Wr!==0;return Wr=0,e}function St(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pe===null?ye.memoizedState=Pe=e:Pe=Pe.next=e,Pe}function dt(){if(Ce===null){var e=ye.alternate;e=e!==null?e.memoizedState:null}else e=Ce.next;var t=Pe===null?ye.memoizedState:Pe.next;if(t!==null)Pe=t,Ce=e;else{if(e===null)throw Error(C(310));Ce=e,e={memoizedState:Ce.memoizedState,baseState:Ce.baseState,baseQueue:Ce.baseQueue,queue:Ce.queue,next:null},Pe===null?ye.memoizedState=Pe=e:Pe=Pe.next=e}return Pe}function Hr(e,t){return typeof t=="function"?t(e):t}function ea(e){var t=dt(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=Ce,i=r.baseQueue,a=n.pending;if(a!==null){if(i!==null){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(i!==null){a=i.next,r=r.baseState;var l=s=null,u=null,c=a;do{var p=c.lane;if((wn&p)===p)u!==null&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var m={lane:p,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};u===null?(l=u=m,s=r):u=u.next=m,ye.lanes|=p,kn|=p}c=c.next}while(c!==null&&c!==a);u===null?s=r:u.next=l,xt(r,t.memoizedState)||(Ve=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do a=i.lane,ye.lanes|=a,kn|=a,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ta(e){var t=dt(),n=t.queue;if(n===null)throw Error(C(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(i!==null){n.pending=null;var s=i=i.next;do a=e(a,s.action),s=s.next;while(s!==i);xt(a,t.memoizedState)||(Ve=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function gd(){}function vd(e,t){var n=ye,r=dt(),i=t(),a=!xt(r.memoizedState,i);if(a&&(r.memoizedState=i,Ve=!0),r=r.queue,Ks(kd.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||Pe!==null&&Pe.memoizedState.tag&1){if(n.flags|=2048,Ur(9,wd.bind(null,n,r,i,t),void 0,null),Ee===null)throw Error(C(349));wn&30||xd(n,t,i)}return i}function xd(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ye.updateQueue,t===null?(t={lastEffect:null,stores:null},ye.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function wd(e,t,n,r){t.value=n,t.getSnapshot=r,bd(t)&&Sd(e)}function kd(e,t,n){return n(function(){bd(t)&&Sd(e)})}function bd(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!xt(e,n)}catch{return!0}}function Sd(e){var t=zt(e,1);t!==null&&vt(t,e,1,-1)}function ou(e){var t=St();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Hr,lastRenderedState:e},t.queue=e,e=e.dispatch=Df.bind(null,ye,e),[t.memoizedState,e]}function Ur(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ye.updateQueue,t===null?(t={lastEffect:null,stores:null},ye.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}
vendor: 4,790 bytes, line 38
38function jd(){return dt().memoizedState}function Bi(e,t,n,r){var i=St();ye.flags|=e,i.memoizedState=Ur(1|t,n,void 0,r===void 0?null:r)}function vo(e,t,n,r){var i=dt();r=r===void 0?null:r;var a=void 0;if(Ce!==null){var s=Ce.memoizedState;if(a=s.destroy,r!==null&&Qs(r,s.deps)){i.memoizedState=Ur(t,n,a,r);return}}ye.flags|=e,i.memoizedState=Ur(1|t,n,a,r)}function au(e,t){return Bi(8390656,8,e,t)}function Ks(e,t){return vo(2048,8,e,t)}function Cd(e,t){return vo(4,2,e,t)}function Td(e,t){return vo(4,4,e,t)}function Pd(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 Ed(e,t,n){return n=n!=null?n.concat([e]):null,vo(4,4,Pd.bind(null,t,e),n)}function Ys(){}function Bd(e,t){var n=dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qs(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Nd(e,t){var n=dt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Qs(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Rd(e,t,n){return wn&21?(xt(n,t)||(n=_c(),ye.lanes|=n,kn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ve=!0),e.memoizedState=n)}function Af(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=Zo.transition;Zo.transition={};try{e(!1),t()}finally{te=n,Zo.transition=r}}function Ad(){return dt().memoizedState}function If(e,t,n){var r=Zt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Id(e))Dd(t,n);else if(n=fd(e,t,n,r),n!==null){var i=He();vt(n,e,r,i),zd(n,t,r)}}function Df(e,t,n){var r=Zt(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Id(e))Dd(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var s=t.lastRenderedState,l=a(s,n);if(i.hasEagerState=!0,i.eagerState=l,xt(l,s)){var u=t.interleaved;u===null?(i.next=i,Ws(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}n=fd(e,t,i,r),n!==null&&(i=He(),vt(n,e,r,i),zd(n,t,r))}}function Id(e){var t=e.alternate;return e===ye||t!==null&&t===ye}function Dd(e,t){jr=to=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zd(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ps(e,n)}}var no={readContext:ct,useCallback:ze,useContext:ze,useEffect:ze,useImperativeHandle:ze,useInsertionEffect:ze,useLayoutEffect:ze,useMemo:ze,useReducer:ze,useRef:ze,useState:ze,useDebugValue:ze,useDeferredValue:ze,useTransition:ze,useMutableSource:ze,useSyncExternalStore:ze,useId:ze,unstable_isNewReconciler:!1},zf={readContext:ct,useCallback:function(e,t){return St().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:au,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Bi(4194308,4,Pd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bi(4,2,e,t)},useMemo:function(e,t){var n=St();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=St();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=If.bind(null,ye,e),[r.memoizedState,e]},useRef:function(e){var t=St();return e={current:e},t.memoizedState=e},useState:ou,useDebugValue:Ys,useDeferredValue:function(e){return St().memoizedState=e},useTransition:function(){var e=ou(!1),t=e[0];return e=Af.bind(null,e[1]),St().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ye,i=St();if(pe){if(n===void 0)throw Error(C(407));n=n()}else{if(n=t(),Ee===null)throw Error(C(349));wn&30||xd(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,au(kd.bind(null,r,a,e),[e]),r.flags|=2048,Ur(9,wd.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=St(),t=Ee.identifierPrefix;if(pe){var n=Nt,r=Bt;n=(r&~(1<<32-gt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Wr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Rf++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},_f={readContext:ct,useCallback:Bd,useContext:ct,useEffect:Ks,useImperativeHandle:Ed,useInsertionEffect:Cd,useLayoutEffect:Td,useMemo:Nd,useReducer:ea,useRef:jd,useState:function(){return ea(Hr)},useDebugValue:Ys,useDeferredValue:function(e){var t=dt();return Rd(t,Ce.memoizedState,e)},useTransition:function(){var e=ea(Hr)[0],t=dt().memoizedState;return[e,t]},useMutableSource:gd,useSyncExternalStore:vd,useId:Ad,unstable_isNewReconciler:!1},Lf={readContext:ct,useCallback:Bd,useContext:ct,useEffect:Ks,useImperativeHandle:Ed,useInsertionEffect:Cd,useLayoutEffect:Td,useMemo:Nd,useReducer:ta,useRef:jd,useState:function(){return ta(Hr)},useDebugValue:Ys,useDeferredValue:function(e){var t=dt();
vendor: 4,520 bytes, lines 38-40
38return Ce===null?t.memoizedState=e:Rd(t,Ce.memoizedState,e)},useTransition:function(){var e=ta(Hr)[0],t=dt().memoizedState;return[e,t]},useMutableSource:gd,useSyncExternalStore:vd,useId:Ad,unstable_isNewReconciler:!1};function ft(e,t){if(e&&e.defaultProps){t=me({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Ga(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:me({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var xo={isMounted:function(e){return(e=e._reactInternals)?Cn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=He(),i=Zt(e),a=Rt(r,i);a.payload=t,n!=null&&(a.callback=n),t=Jt(e,a,i),t!==null&&(vt(t,e,i,r),Pi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=He(),i=Zt(e),a=Rt(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=Jt(e,a,i),t!==null&&(vt(t,e,i,r),Pi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=He(),r=Zt(e),i=Rt(n,r);i.tag=2,t!=null&&(i.callback=t),t=Jt(e,i,r),t!==null&&(vt(t,e,r,n),Pi(t,e,r))}};function su(e,t,n,r,i,a,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,a,s):t.prototype&&t.prototype.isPureReactComponent?!zr(n,r)||!zr(i,a):!0}function _d(e,t,n){var r=!1,i=nn,a=t.contextType;return typeof a=="object"&&a!==null?a=ct(a):(i=Ke(t)?vn:Fe.current,r=t.contextTypes,a=(r=r!=null)?Gn(e,i):nn),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=xo,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function lu(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&&xo.enqueueReplaceState(t,t.state,null)}function Ka(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Hs(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=ct(a):(a=Ke(t)?vn:Fe.current,i.context=Gn(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(Ga(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&xo.enqueueReplaceState(i,i.state,null),Zi(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Xn(e,t){try{var n="",r=t;do n+=cp(r),r=r.return;while(r);var i=n}catch(a){i=` 39Error generating stack: `+a.message+` 40`+a.stack}return{value:e,source:t,stack:i,digest:null}}function na(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ya(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Of=typeof WeakMap=="function"?WeakMap:Map;function Ld(e,t,n){n=Rt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){io||(io=!0,as=r),Ya(e,t)},n}function Od(e,t,n){n=Rt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ya(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(n.callback=function(){Ya(e,t),typeof r!="function"&&(Xt===null?Xt=new Set([this]):Xt.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function uu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Of;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Xf.bind(null,e,t,n),t.then(e,e))}function cu(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 du(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,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=Rt(-1,1),t.tag=2,Jt(n,t,1))),n.lanes|=1),e)}var Mf=Lt.ReactCurrentOwner,Ve=!1;function We(e,t,n,r){t.child=e===null?pd(t,null,n,r):Yn(t,e.child,n,r)}function hu(e,t,n,r,i){n=n.render;var a=t.ref;return qn(t,i),r=Vs(e,t,n,r,a,i),n=Gs(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,_t(e,t,i)):(pe&&n&&zs(t),t.flags|=1,We(e,t,r,i
vendor: 10,385 bytes, line 40
40),t.child)}function pu(e,t,n,r,i){if(e===null){var a=n.type;return typeof a=="function"&&!il(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Md(e,t,a,r,i)):(e=Ii(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var s=a.memoizedProps;if(n=n.compare,n=n!==null?n:zr,n(s,r)&&e.ref===t.ref)return _t(e,t,i)}return t.flags|=1,e=en(a,r),e.ref=t.ref,e.return=t,t.child=e}function Md(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(zr(a,r)&&e.ref===t.ref)if(Ve=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Ve=!0);else return t.lanes=e.lanes,_t(e,t,i)}return Ja(e,t,n,r,i)}function Fd(e,t,n){var r=t.pendingProps,i=r.children,a=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},le(Fn,Xe),Xe|=n;else{if(!(n&1073741824))return e=a!==null?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,le(Fn,Xe),Xe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a!==null?a.baseLanes:n,le(Fn,Xe),Xe|=r}else a!==null?(r=a.baseLanes|n,t.memoizedState=null):r=n,le(Fn,Xe),Xe|=r;return We(e,t,i,n),t.child}function Wd(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ja(e,t,n,r,i){var a=Ke(n)?vn:Fe.current;return a=Gn(t,a),qn(t,i),n=Vs(e,t,n,r,a,i),r=Gs(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,_t(e,t,i)):(pe&&r&&zs(t),t.flags|=1,We(e,t,n,i),t.child)}function fu(e,t,n,r,i){if(Ke(n)){var a=!0;Gi(t)}else a=!1;if(qn(t,i),t.stateNode===null)Ni(e,t),_d(t,n,r),Ka(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var u=s.context,c=n.contextType;typeof c=="object"&&c!==null?c=ct(c):(c=Ke(n)?vn:Fe.current,c=Gn(t,c));var p=n.getDerivedStateFromProps,m=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function";m||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||u!==c)&&lu(t,s,r,c),Ht=!1;var f=t.memoizedState;s.state=f,Zi(t,r,s,i),u=t.memoizedState,l!==r||f!==u||Ge.current||Ht?(typeof p=="function"&&(Ga(t,n,p,r),u=t.memoizedState),(l=Ht||su(t,n,l,r,f,u,c))?(m||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),s.props=r,s.state=u,s.context=c,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,yd(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:ft(t.type,l),s.props=c,m=t.pendingProps,f=s.context,u=n.contextType,typeof u=="object"&&u!==null?u=ct(u):(u=Ke(n)?vn:Fe.current,u=Gn(t,u));var g=n.getDerivedStateFromProps;(p=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==m||f!==u)&&lu(t,s,r,u),Ht=!1,f=t.memoizedState,s.state=f,Zi(t,r,s,i);var b=t.memoizedState;l!==m||f!==b||Ge.current||Ht?(typeof g=="function"&&(Ga(t,n,g,r),b=t.memoizedState),(c=Ht||su(t,n,c,r,f,b,u)||!1)?(p||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,b,u),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,b,u)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=b),s.props=r,s.state=b,s.context=u,r=c):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Xa(e,t,n,r,a,i)}function Xa(e,t,n,r,i,a){Wd(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Zl(t,n,!1),_t(e,t,a);r=t.stateNode,Mf.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Yn(t,e.child,null,a),t.child=Yn(t,null,l,a)):We(e,t,l,a),t.memoizedState=r.state,i&&Zl(t,n,!0),t.child}function Hd(e){var t=e.stateNode;t.pendingContext?Xl(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Xl(e,t.context,!1),Us(e,t.containerInfo)}function yu(e,t,n,r,i){return Kn(),Ls(i),t.flags|=256,We(e,t,n,r),t.child}var Za={dehydrated:null,treeContext:null,retryLane:0};function es(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ud(e,t,n){var r=t.pendingProps,i=fe.current,a=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),le(fe,i&1),e===null)return Qa(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):(s=r.children,e=r.fallback,a?(r=t.mode,a=t.child,s={mode:"hidden",children:s},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=s):a=bo(s,r,0,null),e=yn(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=es(n),t.memoizedState=Za,e):Js(t,s));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return Ff(e,t,s,r,l,i,n);if(a){a=r.fallback,s=t.mode,i=e.child,l=i.sibling;var u={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=u,t.deletions=null):(r=en(i,u),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?a=en(l,a):(a=yn(a,s,n,null),a.flags|=2),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,s=e.child.memoizedState,s=s===null?es(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},a.memoizedState=s,a.childLanes=e.childLanes&~n,t.memoizedState=Za,r}return a=e.child,e=a.sibling,r=en(a,{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 Js(e,t){return t=bo({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function mi(e,t,n,r){return r!==null&&Ls(r),Yn(t,e.child,null,n),e=Js(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Ff(e,t,n,r,i,a,s){if(n)return t.flags&256?(t.flags&=-257,r=na(Error(C(422))),mi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=bo({mode:"visible",children:r.children},i,0,null),a=yn(a,i,s,null),a.flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,t.mode&1&&Yn(t,e.child,null,s),t.child.memoizedState=es(s),t.memoizedState=Za,a);if(!(t.mode&1))return mi(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,a=Error(C(419)),r=na(a,r,void 0),mi(e,t,s,r)}if(l=(s&e.childLanes)!==0,Ve||l){if(r=Ee,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,zt(e,i),vt(r,e,i,-1))}return rl(),r=na(Error(C(421))),mi(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Zf.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,Ze=Yt(i.nextSibling),et=t,pe=!0,mt=null,e!==null&&(at[st++]=Bt,at[st++]=Nt,at[st++]=xn,Bt=e.id,Nt=e.overflow,xn=t),t=Js(t,r.children),t.flags|=4096,t)}function mu(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Va(e.return,t,n)}function ra(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function $d(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(We(e,t,r.children,n),r=fe.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&&mu(e,n,t);else if(e.tag===19)mu(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(le(fe,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&eo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ra(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&eo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ra(t,!0,n,null,a);break;case"together":ra(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ni(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function _t(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),kn|=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=en(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=en(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Wf(e,t,n){switch(t.tag){case 3:Hd(t),Kn();break;case 5:md(t);break;case 1:Ke(t.type)&&Gi(t);break;case 4:Us(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;le(Ji,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(le(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?Ud(e,t,n):(le(fe,fe.current&1),e=_t(e,t,n),e!==null?e.sibling:null);le(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return $d(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),le(fe,fe.current),r)break;return null;
vendor: 4,597 bytes, line 40
40case 22:case 23:return t.lanes=0,Fd(e,t,n)}return _t(e,t,n)}var qd,ts,Qd,Vd;qd=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}};ts=function(){};Qd=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,hn(Tt.current);var a=null;switch(n){case"input":i=Sa(e,i),r=Sa(e,r),a=[];break;case"select":i=me({},i,{value:void 0}),r=me({},r,{value:void 0}),a=[];break;case"textarea":i=Ta(e,i),r=Ta(e,r),a=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Qi)}Ea(n,r);var s;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var l=i[c];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Er.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(l=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(u!=null||l!=null))if(c==="style")if(l){for(s in l)!l.hasOwnProperty(s)||u&&u.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in u)u.hasOwnProperty(s)&&l[s]!==u[s]&&(n||(n={}),n[s]=u[s])}else n||(a||(a=[]),a.push(c,n)),n=u;else c==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,l=l?l.__html:void 0,u!=null&&l!==u&&(a=a||[]).push(c,u)):c==="children"?typeof u!="string"&&typeof u!="number"||(a=a||[]).push(c,""+u):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Er.hasOwnProperty(c)?(u!=null&&c==="onScroll"&&de("scroll",e),a||l===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};Vd=function(e,t,n,r){n!==r&&(t.flags|=4)};function hr(e,t){if(!pe)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 _e(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Hf(e,t,n){var r=t.pendingProps;switch(_s(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _e(t),null;case 1:return Ke(t.type)&&Vi(),_e(t),null;case 3:return r=t.stateNode,Jn(),he(Ge),he(Fe),qs(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(fi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,mt!==null&&(us(mt),mt=null))),ts(e,t),_e(t),null;case 5:$s(t);var i=hn(Fr.current);if(n=t.type,e!==null&&t.stateNode!=null)Qd(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(C(166));return _e(t),null}if(e=hn(Tt.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[jt]=t,r[Or]=a,e=(t.mode&1)!==0,n){case"dialog":de("cancel",r),de("close",r);break;case"iframe":case"object":case"embed":de("load",r);break;case"video":case"audio":for(i=0;i<vr.length;i++)de(vr[i],r);break;case"source":de("error",r);break;case"img":case"image":case"link":de("error",r),de("load",r);break;case"details":de("toggle",r);break;case"input":Cl(r,a),de("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},de("invalid",r);break;case"textarea":Pl(r,a),de("invalid",r)}Ea(n,a),i=null;for(var s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="children"?typeof l=="string"?r.textContent!==l&&(a.suppressHydrationWarning!==!0&&pi(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(a.suppressHydrationWarning!==!0&&pi(r.textContent,l,e),i=["children",""+l]):Er.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&de("scroll",r)}switch(n){case"input":oi(r),Tl(r,a,!0);break;case"textarea":oi(r),El(r);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(r.onclick=Qi)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=kc(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[jt]=t,e[Or]=r,qd(e,t,!1,!1),t.stateNode=e;e:{switch(s=Ba(n,r),n){case"dialog":de("cancel",e),de("close",e),i=r;break;case"iframe":case"object":case"embed":de("load",e),i=r;break;case"video":case"audio":for(i=0;i<vr.length;i++)de(vr[i],e);i=r;break;case"source":de("error",e),i=r;break;case"img":case"image":case"link":de("error",e),de("load",e),i=r;break;case"details":de("toggle",e),i=r;break;case"input":Cl(e,r),i=Sa(e,r),de("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=me({},r,{value:void 0}),de("invalid",e);break;case"textarea":Pl(e,r),i=Ta(e,r),de("invalid",e);break;default:i=r}Ea(n,i),l=i;for(a in l)if(l.hasOwnProperty(a)){var u=l[a];a==="style"?jc(e,u):a==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&bc(e,u)):a==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&Br(e,u):typeof u=="number"&&Br(e,""+u):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(Er.hasOwnProperty(a)?u!=null&&a==="onScroll"&&de("scroll",e):u!=null&&ks(e,a,u,s))}switch(n){case"input":oi(e),Tl(e,r,!1);break;case"textarea":oi(e),El(e);break;case"option":r.value!=null&&e.setAttribute("value",""+tn(r.value));break;case"select":e.multiple=!!r.multiple,a=r.value,a!=null?Wn(e,!!r.multiple,a,!1):r.defaultValue!=null&&Wn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Qi)}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 _e(t),null;case 6:if(e&&t.stateNode!=null)Vd(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(C(166));if(n=hn(Fr.current),hn(Tt.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[jt]=t,(a=r.nodeValue!==n)&&(e=et,e!==null))switch(e.tag){case 3:pi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&pi(r.nodeValue,n,(e.mode&1)!==0)}a&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[jt]=t,t.stateNode=r}return _e(t),null;case 13:if(he(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(pe&&Ze!==null&&t.mode&1&&!(t.flags&128))dd(),Kn(),t.flags|=98560,a=!1;else if(a=fi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(C(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(C(317));a[jt]=t}else Kn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_e(t),a=!1}else mt!==null&&(us(mt),mt=null),a=!0;if(!a)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||fe.current&1?Te===0&&(Te=3):rl())),t.updateQueue!==null&&(t.flags|=4),_e(t),null);case 4:return Jn(),ts(e,t),e===null&&_r(t.stateNode.containerInfo),_e(t),null;case 10:return Fs(t.type._context),_e(t),null;case 17:return Ke(t.type)&&Vi(),_e(t),null;case 19:if(he(fe),a=t.memoizedState,a===null)return _e(t),null;if(r=(t.flags&128)!==0,s=a.rendering,s===null)if(r)hr(a,!1);else{if(Te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=eo(e),s!==null){for(t.flags|=128,hr(a,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)a=n,e=r,a.flags&=14680066,s=a.alternate,s===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=s.childLanes,a.lanes=s.lanes,a.child=s.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,a.type=s.type,e=s.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return le(fe,fe.current&1|2),t.child}e=e.sibling}a.tail!==null&&xe()>Zn&&(t.flags|=128,r=!0,hr(a,!1),t.lanes=4194304)}else{if(!r)if(e=eo(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hr(a,!0),a.tail===null&&a.tailMode==="hidden"&&!s.alternate&&!pe)return _e(t),null}else 2*xe()-a.renderingStartTime>Zn&&n!==1073741824&&(t.flags|=128,r=!0,hr(a,!1),t.lanes=4194304);a.isBackwards?(s.sibling=t.child,t.child=s):(n=a.last,n!==null?n.sibling=s:t.child=s,a.last=s)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=xe(),t.sibling=null,n=fe.current,le(fe,r?n&1|2:n&1),t):(_e(t),null);case 22:case 23:return nl(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Xe&1073741824&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),null;case 24:return null;case 25:return null}throw Error(C(156,t.tag))}function Uf(e,t){switch(_s(t),t.tag){case 1:return Ke(t.type)&&Vi(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 25,727 bytes, line 40
40case 3:return Jn(),he(Ge),he(Fe),qs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $s(t),null;case 13:if(he(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(C(340));Kn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return he(fe),null;case 4:return Jn(),null;case 10:return Fs(t.type._context),null;case 22:case 23:return nl(),null;case 24:return null;default:return null}}var gi=!1,Oe=!1,$f=typeof WeakSet=="function"?WeakSet:Set,I=null;function Mn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ve(e,t,r)}else n.current=null}function ns(e,t,n){try{n()}catch(r){ve(e,t,r)}}var gu=!1;function qf(e,t){if(Ma=Ui,e=Xc(),Ds(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 i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch{n=null;break e}var s=0,l=-1,u=-1,c=0,p=0,m=e,f=null;t:for(;;){for(var g;m!==n||i!==0&&m.nodeType!==3||(l=s+i),m!==a||r!==0&&m.nodeType!==3||(u=s+r),m.nodeType===3&&(s+=m.nodeValue.length),(g=m.firstChild)!==null;)f=m,m=g;for(;;){if(m===e)break t;if(f===n&&++c===i&&(l=s),f===a&&++p===r&&(u=s),(g=m.nextSibling)!==null)break;m=f,f=m.parentNode}m=g}n=l===-1||u===-1?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fa={focusedElem:e,selectionRange:n},Ui=!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 b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var x=b.memoizedProps,w=b.memoizedState,h=t.stateNode,d=h.getSnapshotBeforeUpdate(t.elementType===t.type?x:ft(t.type,x),w);h.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(k){ve(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return b=gu,gu=!1,b}function Cr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&ns(t,n,a)}i=i.next}while(i!==r)}}function wo(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 rs(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 Gd(e){var t=e.alternate;t!==null&&(e.alternate=null,Gd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[jt],delete t[Or],delete t[Ua],delete t[Pf],delete t[Ef])),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 Kd(e){return e.tag===5||e.tag===3||e.tag===4}function vu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Kd(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 is(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=Qi));else if(r!==4&&(e=e.child,e!==null))for(is(e,t,n),e=e.sibling;e!==null;)is(e,t,n),e=e.sibling}function os(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(os(e,t,n),e=e.sibling;e!==null;)os(e,t,n),e=e.sibling}var Ae=null,yt=!1;function Ft(e,t,n){for(n=n.child;n!==null;)Yd(e,t,n),n=n.sibling}function Yd(e,t,n){if(Ct&&typeof Ct.onCommitFiberUnmount=="function")try{Ct.onCommitFiberUnmount(ho,n)}catch{}switch(n.tag){case 5:Oe||Mn(n,t);case 6:var r=Ae,i=yt;Ae=null,Ft(e,t,n),Ae=r,yt=i,Ae!==null&&(yt?(e=Ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ae.removeChild(n.stateNode));break;case 18:Ae!==null&&(yt?(e=Ae,n=n.stateNode,e.nodeType===8?Yo(e.parentNode,n):e.nodeType===1&&Yo(e,n),Ir(e)):Yo(Ae,n.stateNode));break;case 4:r=Ae,i=yt,Ae=n.stateNode.containerInfo,yt=!0,Ft(e,t,n),Ae=r,yt=i;break;case 0:case 11:case 14:case 15:if(!Oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,s=a.destroy;a=a.tag,s!==void 0&&(a&2||a&4)&&ns(n,t,s),i=i.next}while(i!==r)}Ft(e,t,n);break;case 1:if(!Oe&&(Mn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){ve(n,t,l)}Ft(e,t,n);break;case 21:Ft(e,t,n);break;case 22:n.mode&1?(Oe=(r=Oe)||n.memoizedState!==null,Ft(e,t,n),Oe=r):Ft(e,t,n);break;default:Ft(e,t,n)}}function xu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $f),t.forEach(function(r){var i=ey.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:Ae=l.stateNode,yt=!1;break e;case 3:Ae=l.stateNode.containerInfo,yt=!0;break e;case 4:Ae=l.stateNode.containerInfo,yt=!0;break e}l=l.return}if(Ae===null)throw Error(C(160));Yd(a,s,i),Ae=null,yt=!1;var u=i.alternate;u!==null&&(u.return=null),i.return=null}catch(c){ve(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Jd(t,e),t=t.sibling}function Jd(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(pt(t,e),bt(e),r&4){try{Cr(3,e,e.return),wo(3,e)}catch(x){ve(e,e.return,x)}try{Cr(5,e,e.return)}catch(x){ve(e,e.return,x)}}break;case 1:pt(t,e),bt(e),r&512&&n!==null&&Mn(n,n.return);break;case 5:if(pt(t,e),bt(e),r&512&&n!==null&&Mn(n,n.return),e.flags&32){var i=e.stateNode;try{Br(i,"")}catch(x){ve(e,e.return,x)}}if(r&4&&(i=e.stateNode,i!=null)){var a=e.memoizedProps,s=n!==null?n.memoizedProps:a,l=e.type,u=e.updateQueue;if(e.updateQueue=null,u!==null)try{l==="input"&&a.type==="radio"&&a.name!=null&&xc(i,a),Ba(l,s);var c=Ba(l,a);for(s=0;s<u.length;s+=2){var p=u[s],m=u[s+1];p==="style"?jc(i,m):p==="dangerouslySetInnerHTML"?bc(i,m):p==="children"?Br(i,m):ks(i,p,m,c)}switch(l){case"input":ja(i,a);break;case"textarea":wc(i,a);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var g=a.value;g!=null?Wn(i,!!a.multiple,g,!1):f!==!!a.multiple&&(a.defaultValue!=null?Wn(i,!!a.multiple,a.defaultValue,!0):Wn(i,!!a.multiple,a.multiple?[]:"",!1))}i[Or]=a}catch(x){ve(e,e.return,x)}}break;case 6:if(pt(t,e),bt(e),r&4){if(e.stateNode===null)throw Error(C(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(x){ve(e,e.return,x)}}break;case 3:if(pt(t,e),bt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Ir(t.containerInfo)}catch(x){ve(e,e.return,x)}break;case 4:pt(t,e),bt(e);break;case 13:pt(t,e),bt(e),i=e.child,i.flags&8192&&(a=i.memoizedState!==null,i.stateNode.isHidden=a,!a||i.alternate!==null&&i.alternate.memoizedState!==null||(el=xe())),r&4&&xu(e);break;case 22:if(p=n!==null&&n.memoizedState!==null,e.mode&1?(Oe=(c=Oe)||p,pt(t,e),Oe=c):pt(t,e),bt(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!p&&e.mode&1)for(I=e,p=e.child;p!==null;){for(m=I=p;I!==null;){switch(f=I,g=f.child,f.tag){case 0:case 11:case 14:case 15:Cr(4,f,f.return);break;case 1:Mn(f,f.return);var b=f.stateNode;if(typeof b.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,b.props=t.memoizedProps,b.state=t.memoizedState,b.componentWillUnmount()}catch(x){ve(r,n,x)}}break;case 5:Mn(f,f.return);break;case 22:if(f.memoizedState!==null){ku(m);continue}}g!==null?(g.return=f,I=g):ku(m)}p=p.sibling}e:for(p=null,m=e;;){if(m.tag===5){if(p===null){p=m;try{i=m.stateNode,c?(a=i.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(l=m.stateNode,u=m.memoizedProps.style,s=u!=null&&u.hasOwnProperty("display")?u.display:null,l.style.display=Sc("display",s))}catch(x){ve(e,e.return,x)}}}else if(m.tag===6){if(p===null)try{m.stateNode.nodeValue=c?"":m.memoizedProps}catch(x){ve(e,e.return,x)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;p===m&&(p=null),m=m.return}p===m&&(p=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:pt(t,e),bt(e),r&4&&xu(e);break;case 21:break;default:pt(t,e),bt(e)}}function bt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Kd(n)){var r=n;break e}n=n.return}throw Error(C(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Br(i,""),r.flags&=-33);var a=vu(e);os(e,a,i);break;case 3:case 4:var s=r.stateNode.containerInfo,l=vu(e);is(e,l,s);break;default:throw Error(C(161))}}catch(u){ve(e,e.return,u)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Qf(e,t,n){I=e,Xd(e)}function Xd(e,t,n){for(var r=(e.mode&1)!==0;I!==null;){var i=I,a=i.child;if(i.tag===22&&r){var s=i.memoizedState!==null||gi;if(!s){var l=i.alternate,u=l!==null&&l.memoizedState!==null||Oe;l=gi;var c=Oe;if(gi=s,(Oe=u)&&!c)for(I=i;I!==null;)s=I,u=s.child,s.tag===22&&s.memoizedState!==null?bu(i):u!==null?(u.return=s,I=u):bu(i);for(;a!==null;)I=a,Xd(a),a=a.sibling;I=i,gi=l,Oe=c}wu(e)}else i.subtreeFlags&8772&&a!==null?(a.return=i,I=a):wu(e)}}function wu(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:Oe||wo(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Oe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ft(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&iu(t,a,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}iu(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var p=c.memoizedState;if(p!==null){var m=p.dehydrated;m!==null&&Ir(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}Oe||t.flags&512&&rs(t)}catch(f){ve(t,t.return,f)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function ku(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 bu(e){for(;I!==null;){var t=I;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{wo(4,t)}catch(u){ve(t,n,u)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(u){ve(t,i,u)}}var a=t.return;try{rs(t)}catch(u){ve(t,a,u)}break;case 5:var s=t.return;try{rs(t)}catch(u){ve(t,s,u)}}}catch(u){ve(t,t.return,u)}if(t===e){I=null;break}var l=t.sibling;if(l!==null){l.return=t.return,I=l;break}I=t.return}}var Vf=Math.ceil,ro=Lt.ReactCurrentDispatcher,Xs=Lt.ReactCurrentOwner,ut=Lt.ReactCurrentBatchConfig,X=0,Ee=null,Se=null,Ie=0,Xe=0,Fn=on(0),Te=0,$r=null,kn=0,ko=0,Zs=0,Tr=null,Qe=null,el=0,Zn=1/0,Pt=null,io=!1,as=null,Xt=null,vi=!1,Qt=null,oo=0,Pr=0,ss=null,Ri=-1,Ai=0;function He(){return X&6?xe():Ri!==-1?Ri:Ri=xe()}function Zt(e){return e.mode&1?X&2&&Ie!==0?Ie&-Ie:Nf.transition!==null?(Ai===0&&(Ai=_c()),Ai):(e=te,e!==0||(e=window.event,e=e===void 0?16:Uc(e.type)),e):1}function vt(e,t,n,r){if(50<Pr)throw Pr=0,ss=null,Error(C(185));Vr(e,n,r),(!(X&2)||e!==Ee)&&(e===Ee&&(!(X&2)&&(ko|=n),Te===4&&$t(e,Ie)),Ye(e,r),n===1&&X===0&&!(t.mode&1)&&(Zn=xe()+500,go&&an()))}function Ye(e,t){var n=e.callbackNode;Bp(e,t);var r=Hi(e,e===Ee?Ie:0);if(r===0)n!==null&&Rl(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Rl(n),t===1)e.tag===0?Bf(Su.bind(null,e)):ld(Su.bind(null,e)),Cf(function(){!(X&6)&&an()}),n=null;else{switch(Lc(r)){case 1:n=Ts;break;case 4:n=Dc;break;case 16:n=Wi;break;case 536870912:n=zc;break;default:n=Wi}n=ah(n,Zd.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Zd(e,t){if(Ri=-1,Ai=0,X&6)throw Error(C(327));var n=e.callbackNode;if(Qn()&&e.callbackNode!==n)return null;var r=Hi(e,e===Ee?Ie:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ao(e,r);else{t=r;var i=X;X|=2;var a=th();(Ee!==e||Ie!==t)&&(Pt=null,Zn=xe()+500,fn(e,t));do try{Yf();break}catch(l){eh(e,l)}while(!0);Ms(),ro.current=a,X=i,Se!==null?t=0:(Ee=null,Ie=0,t=Te)}if(t!==0){if(t===2&&(i=Da(e),i!==0&&(r=i,t=ls(e,i))),t===1)throw n=$r,fn(e,0),$t(e,r),Ye(e,xe()),n;if(t===6)$t(e,r);else{if(i=e.current.alternate,!(r&30)&&!Gf(i)&&(t=ao(e,r),t===2&&(a=Da(e),a!==0&&(r=a,t=ls(e,a))),t===1))throw n=$r,fn(e,0),$t(e,r),Ye(e,xe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(C(345));case 2:un(e,Qe,Pt);break;case 3:if($t(e,r),(r&130023424)===r&&(t=el+500-xe(),10<t)){if(Hi(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){He(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Ha(un.bind(null,e,Qe,Pt),t);break}un(e,Qe,Pt);break;case 4:if($t(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-gt(r);a=1<<s,s=t[s],s>i&&(i=s),r&=~a}if(r=i,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Vf(r/1960))-r,10<r){e.timeoutHandle=Ha(un.bind(null,e,Qe,Pt),r);break}un(e,Qe,Pt);break;case 5:un(e,Qe,Pt);break;default:throw Error(C(329))}}}return Ye(e,xe()),e.callbackNode===n?Zd.bind(null,e):null}function ls(e,t){var n=Tr;return e.current.memoizedState.isDehydrated&&(fn(e,t).flags|=256),e=ao(e,t),e!==2&&(t=Qe,Qe=n,t!==null&&us(t)),e}function us(e){Qe===null?Qe=e:Qe.push.apply(Qe,e)}function Gf(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 i=n[r],a=i.getSnapshot;i=i.value;try{if(!xt(a(),i))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 $t(e,t){for(t&=~Zs,t&=~ko,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-gt(t),r=1<<n;e[n]=-1,t&=~r}}function Su(e){if(X&6)throw Error(C(327));Qn();var t=Hi(e,0);if(!(t&1))return Ye(e,xe()),null;var n=ao(e,t);if(e.tag!==0&&n===2){var r=Da(e);r!==0&&(t=r,n=ls(e,r))}if(n===1)throw n=$r,fn(e,0),$t(e,t),Ye(e,xe()),n;if(n===6)throw Error(C(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,un(e,Qe,Pt),Ye(e,xe()),null}function tl(e,t){var n=X;X|=1;try{return e(t)}finally{X=n,X===0&&(Zn=xe()+500,go&&an())}}function bn(e){Qt!==null&&Qt.tag===0&&!(X&6)&&Qn();var t=X;X|=1;var n=ut.transition,r=te;try{if(ut.transition=null,te=1,e)return e()}finally{te=r,ut.transition=n,X=t,!(X&6)&&an()}}function nl(){Xe=Fn.current,he(Fn)}function fn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,jf(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(_s(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Vi();break;case 3:Jn(),he(Ge),he(Fe),qs();break;case 5:$s(r);break;case 4:Jn();break;case 13:he(fe);break;case 19:he(fe);break;case 10:Fs(r.type._context);break;case 22:case 23:nl()}n=n.return}if(Ee=e,Se=e=en(e.current,null),Ie=Xe=t,Te=0,$r=null,Zs=ko=kn=0,Qe=Tr=null,dn!==null){for(t=0;t<dn.length;t++)if(n=dn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var s=a.next;a.next=i,r.next=s}n.pending=r}dn=null}return e}function eh(e,t){do{var n=Se;try{if(Ms(),Ei.current=no,to){for(var r=ye.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}to=!1}if(wn=0,Pe=Ce=ye=null,jr=!1,Wr=0,Xs.current=null,n===null||n.return===null){Te=1,$r=t,Se=null;break}e:{var a=e,s=n.return,l=n,u=t;if(t=Ie,l.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var c=u,p=l,m=p.tag;if(!(p.mode&1)&&(m===0||m===11||m===15)){var f=p.alternate;f?(p.updateQueue=f.updateQueue,p.memoizedState=f.memoizedState,p.lanes=f.lanes):(p.updateQueue=null,p.memoizedState=null)}var g=cu(s);if(g!==null){g.flags&=-257,du(g,s,l,a,t),g.mode&1&&uu(a,c,t),t=g,u=c;var b=t.updateQueue;if(b===null){var x=new Set;x.add(u),t.updateQueue=x}else b.add(u);break e}else{if(!(t&1)){uu(a,c,t),rl();break e}u=Error(C(426))}}else if(pe&&l.mode&1){var w=cu(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),du(w,s,l,a,t),Ls(Xn(u,l));break e}}a=u=Xn(u,l),Te!==4&&(Te=2),Tr===null?Tr=[a]:Tr.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var h=Ld(a,u,t);ru(a,h);break e;case 1:l=u;var d=a.type,y=a.stateNode;if(!(a.flags&128)&&(typeof d.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Xt===null||!Xt.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var k=Od(a,l,t);ru(a,k);break e}}a=a.return}while(a!==null)}rh(n)}catch(T){t=T,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function th(){var e=ro.current;return ro.current=no,e===null?no:e}function rl(){(Te===0||Te===3||Te===2)&&(Te=4),Ee===null||!(kn&268435455)&&!(ko&268435455)||$t(Ee,Ie)}function ao(e,t){var n=X;X|=2;var r=th();(Ee!==e||Ie!==t)&&(Pt=null,fn(e,t));do try{Kf();break}catch(i){eh(e,i)}while(!0);if(Ms(),X=n,ro.current=r,Se!==null)throw Error(C(261));return Ee=null,Ie=0,Te}function Kf(){for(;Se!==null;)nh(Se)}function Yf(){for(;Se!==null&&!wp();)nh(Se)}function nh(e){var t=oh(e.alternate,e,Xe);e.memoizedProps=e.pendingProps,t===null?rh(e):Se=t,Xs.current=null}function rh(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Uf(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Te=6,Se=null;return}}else if(n=Hf(n,t,Xe),n!==null){Se=n;return}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Te===0&&(Te=5)}function un(e,t,n){var r=te,i=ut.transition;try{ut.transition=null,te=1,Jf(e,t,n,r)}finally{ut.transition=i,te=r}return null}function Jf(e,t,n,r){do Qn();while(Qt!==null);if(X&6)throw Error(C(327));n=e.finishedWork;var i=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 a=n.lanes|n.childLanes;if(Np(e,a),e===Ee&&(Se=Ee=null,Ie=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||vi||(vi=!0,ah(Wi,function(){return Qn(),null})),a=(n.flags&15990)!==0,n.subtreeFlags&15990||a){a=ut.transition,ut.transition=null;var s=te;te=1;var l=X;X|=4,Xs.current=null,qf(e,n),Jd(n,e),gf(Fa),Ui=!!Ma,Fa=Ma=null,e.current=n,Qf(n),kp(),X=l,te=s,ut.transition=a}else e.current=n;if(vi&&(vi=!1,Qt=e,oo=i),a=e.pendingLanes,a===0&&(Xt=null),jp(n.stateNode),Ye(e,xe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(io)throw io=!1,e=as,as=null,e;return oo&1&&e.tag!==0&&Qn(),a=e.pendingLanes,a&1?e===ss?Pr++:(Pr=0,ss=e):Pr=0,an(),null}function Qn(){if(Qt!==null){var e=Lc(oo),t=ut.transition,n=te;try{if(ut.transition=null,te=16>e?16:e,Qt===null)var r=!1;else{if(e=Qt,Qt=null,oo=0,X&6)throw Error(C(331));var i=X;for(X|=4,I=e.current;I!==null;){var a=I,s=a.child;if(I.flags&16){var l=a.deletions;if(l!==null){for(var u=0;u<l.length;u++){var c=l[u];for(I=c;I!==null;){var p=I;switch(p.tag){case 0:case 11:case 15:Cr(8,p,a)}var m=p.child;if(m!==null)m.return=p,I=m;else for(;I!==null;){p=I;var f=p.sibling,g=p.return;if(Gd(p),p===c){I=null;break}if(f!==null){f.return=g,I=f;break}I=g}}}var b=a.alternate;if(b!==null){var x=b.child;if(x!==null){b.child=null;do{var w=x.sibling;x.sibling=null,x=w}while(x!==null)}}I=a}}if(a.subtreeFlags&2064&&s!==null)s.return=a,I=s;else e:for(;I!==null;){if(a=I,a.flags&2048)switch(a.tag){case 0:case 11:case 15:Cr(9,a,a.return)}var h=a.sibling;if(h!==null){h.return=a.return,I=h;break e}I=a.return}}var d=e.current;for(I=d;I!==null;){s=I;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,I=y;else e:for(s=d;I!==null;){if(l=I,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:wo(9,l)}}catch(T){ve(l,l.return,T)}if(l===s){I=null;break e}var k=l.sibling;if(k!==null){k.return=l.return,I=k;break e}I=l.return}}if(X=i,an(),Ct&&typeof Ct.onPostCommitFiberRoot=="function")try{Ct.onPostCommitFiberRoot(ho,e)}catch{}r=!0}return r}finally{te=n,ut.transition=t}}return!1}function ju(e,t,n){t=Xn(n,t),t=Ld(e,t,1),e=Jt(e,t,1),t=He(),e!==null&&(Vr(e,1,t),Ye(e,t))}function ve(e,t,n){if(e.tag===3)ju(e,e,n);else for(;t!==null;){if(t.tag===3){ju(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Xt===null||!Xt.has(r))){e=Xn(n,e),e=Od(t,e,1),t=Jt(t,e,1),e=He(),t!==null&&(Vr(t,1,e),Ye(t,e));break}}t=t.return}}function Xf(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=He(),e.pingedLanes|=e.suspendedLanes&n,Ee===e&&(Ie&n)===n&&(Te===4||Te===3&&(Ie&130023424)===Ie&&500>xe()-el?fn(e,0):Zs|=n),Ye(e,t)}function ih(e,t){t===0&&(e.mode&1?(t=li,li<<=1,!(li&130023424)&&(li=4194304)):t=1);var n=He();e=zt(e,t),e!==null&&(Vr(e,t,n),Ye(e,n))}function Zf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ih(e,n)}function ey(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(t),ih(e,n)}var oh;oh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ge.current)Ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ve=!1,Wf(e,t,n);Ve=!!(e.flags&131072)}else Ve=!1,pe&&t.flags&1048576&&ud(t,Yi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ni(e,t),e=t.pendingProps;var i=Gn(t,Fe.current);qn(t,n),i=Vs(null,t,r,e,i,n);var a=Gs();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ke(r)?(a=!0,Gi(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Hs(t),i.updater=xo,t.stateNode=i,i._reactInternals=t,Ka(t,r,e,n),t=Xa(null,t,r,!0,a,n)):(t.tag=0,pe&&a&&zs(t),We(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ni(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=ny(r),e=ft(r,e),i){case 0:t=Ja(null,t,r,e,n);break e;case 1:t=fu(null,t,r,e,n);break e;case 11:t=hu(null,t,r,e,n);break e;case 14:t=pu(null,t,r,ft(r.type,e),n);break e}throw Error(C(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ft(r,i),Ja(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ft(r,i),fu(e,t,r,i,n);case 3:e:{if(Hd(t),e===null)throw Error(C(387));r=t.pendingProps,a=t.memoizedState,i=a.element,yd(e,t),Zi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated)if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=Xn(Error(C(423)),t),t=yu(e,t,r,n,i);break e}else if(r!==i){i=Xn(Error(C(424)),t),t=yu(e,t,r,n,i);break e}else for(Ze=Yt(t.stateNode.containerInfo.firstChild),et=t,pe=!0,mt=null,n=pd(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Kn(),r===i){t=_t(e,t,n);break e}We(e,t,r,n)}t=t.child}return t;case 5:return md(t),e===null&&Qa(t),r=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,s=i.children,Wa(r,i)?s=null:a!==null&&Wa(r,a)&&(t.flags|=32),Wd(e,t),We(e,t,s,n),t.child;case 6:return e===null&&Qa(t),null;case 13:return Ud(e,t,n);case 4:return Us(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yn(t,null,r,n):We(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ft(r,i),hu(e,t,r,i,n);case 7:return We(e,t,t.pendingProps,n),t.child;case 8:return We(e,t,t.pendingProps.children,n),t.child;case 12:return We(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,le(Ji,r._currentValue),r._currentValue=s,a!==null)if(xt(a.value,s)){if(a.children===i.children&&!Ge.current){t=_t(e,t,n);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var l=a.dependencies;if(l!==null){s=a.child;for(var u=l.firstContext;u!==null;){if(u.context===r){if(a.tag===1){u=Rt(-1,n&-n),u.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var p=c.pending;p===null?u.next=u:(u.next=p.next,p.next=u),c.pending=u}}a.lanes|=n,u=a.alternate,u!==null&&(u.lanes|=n),Va(a.return,n,t),l.lanes|=n;break}u=u.next}}else if(a.tag===10)s=a.type===t.type?null:a.child;else if(a.tag===18){if(s=a.return,s===null)throw Error(C(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Va(s,n,t),s=a.sibling}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===t){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}We(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,qn(t,n),i=ct(i),r=r(i),t.flags|=1,We(e,t,r,n),t.child;case 14:return r=t.type,i=ft(r,t.pendingProps),i=ft(r.type,i),pu(e,t,r,i,n);case 15:return Md(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ft(r,i),Ni(e,t),t.tag=1,Ke(r)?(e=!0,Gi(t)):e=!1,qn(t,n),_d(t,r,i),Ka(t,r,i,n),Xa(null,t,r,!0,e,n);case 19:return $d(e,t,n);
vendor: 5,822 bytes, line 40
40case 22:return Fd(e,t,n)}throw Error(C(156,t.tag))};function ah(e,t){return Ic(e,t)}function ty(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 lt(e,t,n,r){return new ty(e,t,n,r)}function il(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ny(e){if(typeof e=="function")return il(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ss)return 11;if(e===js)return 14}return 2}function en(e,t){var n=e.alternate;return n===null?(n=lt(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 Ii(e,t,n,r,i,a){var s=2;if(r=e,typeof e=="function")il(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Nn:return yn(n.children,i,a,t);case bs:s=8,i|=8;break;case xa:return e=lt(12,n,t,i|2),e.elementType=xa,e.lanes=a,e;case wa:return e=lt(13,n,t,i),e.elementType=wa,e.lanes=a,e;case ka:return e=lt(19,n,t,i),e.elementType=ka,e.lanes=a,e;case mc:return bo(n,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fc:s=10;break e;case yc:s=9;break e;case Ss:s=11;break e;case js:s=14;break e;case Wt:s=16,r=null;break e}throw Error(C(130,e==null?e:typeof e,""))}return t=lt(s,n,t,i),t.elementType=e,t.type=r,t.lanes=a,t}function yn(e,t,n,r){return e=lt(7,e,r,t),e.lanes=n,e}function bo(e,t,n,r){return e=lt(22,e,r,t),e.elementType=mc,e.lanes=n,e.stateNode={isHidden:!1},e}function ia(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function oa(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ry(e,t,n,r,i){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=Mo(0),this.expirationTimes=Mo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mo(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ol(e,t,n,r,i,a,s,l,u){return e=new ry(e,t,n,l,u),t===1?(t=1,a===!0&&(t|=8)):t=0,a=lt(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Hs(a),e}function iy(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Bn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function sh(e){if(!e)return nn;e=e._reactInternals;e:{if(Cn(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(Ke(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(Ke(n))return sd(e,n,t)}return t}function lh(e,t,n,r,i,a,s,l,u){return e=ol(n,r,!0,e,i,a,s,l,u),e.context=sh(null),n=e.current,r=He(),i=Zt(n),a=Rt(r,i),a.callback=t??null,Jt(n,a,i),e.current.lanes=i,Vr(e,i,r),Ye(e,r),e}function So(e,t,n,r){var i=t.current,a=He(),s=Zt(i);return n=sh(n),t.context===null?t.context=n:t.pendingContext=n,t=Rt(a,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Jt(i,t,s),e!==null&&(vt(e,i,s,a),Pi(e,i,s)),s}function so(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Cu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function al(e,t){Cu(e,t),(e=e.alternate)&&Cu(e,t)}function oy(){return null}var uh=typeof reportError=="function"?reportError:function(e){console.error(e)};function sl(e){this._internalRoot=e}jo.prototype.render=sl.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(C(409));So(e,t,null,null)};jo.prototype.unmount=sl.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;bn(function(){So(null,e,null,null)}),t[Dt]=null}};function jo(e){this._internalRoot=e}jo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Fc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ut.length&&t!==0&&t<Ut[n].priority;n++);Ut.splice(n,0,e),n===0&&Hc(e)}};function ll(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Co(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Tu(){}function ay(e,t,n,r,i){if(i){if(typeof r=="function"){var a=r;r=function(){var c=so(s);a.call(c)}}var s=lh(t,r,e,0,null,!1,!1,"",Tu);return e._reactRootContainer=s,e[Dt]=s.current,_r(e.nodeType===8?e.parentNode:e),bn(),s}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var c=so(u);l.call(c)}}var u=ol(e,0,!1,null,null,!1,!1,"",Tu);return e._reactRootContainer=u,e[Dt]=u.current,_r(e.nodeType===8?e.parentNode:e),bn(function(){So(t,u,n,r)}),u}function To(e,t,n,r,i){var a=n._reactRootContainer;if(a){var s=a;if(typeof i=="function"){var l=i;
vendor: 5,154 bytes, line 40
40i=function(){var u=so(s);l.call(u)}}So(t,s,e,i)}else s=ay(n,t,e,i,r);return so(s)}Oc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=gr(t.pendingLanes);n!==0&&(Ps(t,n|1),Ye(t,xe()),!(X&6)&&(Zn=xe()+500,an()))}break;case 13:bn(function(){var r=zt(e,1);if(r!==null){var i=He();vt(r,e,1,i)}}),al(e,1)}};Es=function(e){if(e.tag===13){var t=zt(e,134217728);if(t!==null){var n=He();vt(t,e,134217728,n)}al(e,134217728)}};Mc=function(e){if(e.tag===13){var t=Zt(e),n=zt(e,t);if(n!==null){var r=He();vt(n,e,t,r)}al(e,t)}};Fc=function(){return te};Wc=function(e,t){var n=te;try{return te=e,t()}finally{te=n}};Ra=function(e,t,n){switch(t){case"input":if(ja(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 i=mo(r);if(!i)throw Error(C(90));vc(r),ja(r,i)}}}break;case"textarea":wc(e,n);break;case"select":t=n.value,t!=null&&Wn(e,!!n.multiple,t,!1)}};Pc=tl;Ec=bn;var sy={usingClientEntryPoint:!1,Events:[Kr,Dn,mo,Cc,Tc,tl]},pr={findFiberByHostInstance:cn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ly={bundleType:pr.bundleType,version:pr.version,rendererPackageName:pr.rendererPackageName,rendererConfig:pr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Lt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Rc(e),e===null?null:e.stateNode},findFiberByHostInstance:pr.findFiberByHostInstance||oy,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 xi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!xi.isDisabled&&xi.supportsFiber)try{ho=xi.inject(ly),Ct=xi}catch{}}nt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sy;nt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ll(t))throw Error(C(200));return iy(e,t,null,n)};nt.createRoot=function(e,t){if(!ll(e))throw Error(C(299));var n=!1,r="",i=uh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=ol(e,1,!1,null,null,n,!1,r,i),e[Dt]=t.current,_r(e.nodeType===8?e.parentNode:e),new sl(t)};nt.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=Rc(t),e=e===null?null:e.stateNode,e};nt.flushSync=function(e){return bn(e)};nt.hydrate=function(e,t,n){if(!Co(t))throw Error(C(200));return To(null,e,t,!0,n)};nt.hydrateRoot=function(e,t,n){if(!ll(e))throw Error(C(405));var r=n!=null&&n.hydratedSources||null,i=!1,a="",s=uh;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(a=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=lh(t,null,e,1,n??null,i,!1,a,s),e[Dt]=t.current,_r(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new jo(t)};nt.render=function(e,t,n){if(!Co(t))throw Error(C(200));return To(null,e,t,!1,n)};nt.unmountComponentAtNode=function(e){if(!Co(e))throw Error(C(40));return e._reactRootContainer?(bn(function(){To(null,null,e,!1,function(){e._reactRootContainer=null,e[Dt]=null})}),!0):!1};nt.unstable_batchedUpdates=tl;nt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Co(n))throw Error(C(200));if(e==null||e._reactInternals===void 0)throw Error(C(38));return To(e,t,n,!1,r)};nt.version="18.3.1-next-f1338f8080-20240426";function ch(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ch)}catch(e){console.error(e)}}ch(),cc.exports=nt;var uy=cc.exports,Pu=uy;ga.createRoot=Pu.createRoot,ga.hydrateRoot=Pu.hydrateRoot;function dh(e,t){return function(){return e.apply(t,arguments)}}const{toString:cy}=Object.prototype,{getPrototypeOf:Po}=Object,{iterator:Eo,toStringTag:hh}=Symbol,Bo=(e=>t=>{const n=cy.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),wt=e=>(e=e.toLowerCase(),t=>Bo(t)===e),No=e=>t=>typeof t===e,{isArray:ir}=Array,er=No("undefined");function Jr(e){return e!==null&&!er(e)&&e.constructor!==null&&!er(e.constructor)&&Je(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ph=wt("ArrayBuffer");function dy(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ph(e.buffer),t}const hy=No("string"),Je=No("function"),fh=No("number"),Xr=e=>e!==null&&typeof e=="object",py=e=>e===!0||e===!1,Di=e=>{if(Bo(e)!=="object")return!1;const t=Po(e);
vendor: 3,085 bytes, line 40
40return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(hh in e)&&!(Eo in e)},fy=e=>{if(!Xr(e)||Jr(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},yy=wt("Date"),my=wt("File"),gy=e=>!!(e&&typeof e.uri<"u"),vy=e=>e&&typeof e.getParts<"u",xy=wt("Blob"),wy=wt("FileList"),ky=e=>Xr(e)&&Je(e.pipe);function by(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Eu=by(),Bu=typeof Eu.FormData<"u"?Eu.FormData:void 0,Sy=e=>{if(!e)return!1;if(Bu&&e instanceof Bu)return!0;const t=Po(e);if(!t||t===Object.prototype||!Je(e.append))return!1;const n=Bo(e);return n==="formdata"||n==="object"&&Je(e.toString)&&e.toString()==="[object FormData]"},jy=wt("URLSearchParams"),[Cy,Ty,Py,Ey]=["ReadableStream","Request","Response","Headers"].map(wt),By=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ir(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(Jr(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),s=a.length;let l;for(r=0;r<s;r++)l=a[r],t.call(null,e[l],l,e)}}function yh(e,t){if(Jr(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const pn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,mh=e=>!er(e)&&e!==pn;function cs(...e){const{caseless:t,skipUndefined:n}=mh(this)&&this||{},r={},i=(a,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const l=t&&yh(r,s)||s,u=ds(r,l)?r[l]:void 0;Di(u)&&Di(a)?r[l]=cs(u,a):Di(a)?r[l]=cs({},a):ir(a)?r[l]=a.slice():(!n||!er(a))&&(r[l]=a)};for(let a=0,s=e.length;a<s;a++)e[a]&&Zr(e[a],i);return r}const Ny=(e,t,n,{allOwnKeys:r}={})=>(Zr(t,(i,a)=>{n&&Je(i)?Object.defineProperty(e,a,{__proto__:null,value:dh(i,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,a,{__proto__:null,value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),Ry=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ay=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},Iy=(e,t,n,r)=>{let i,a,s;const l={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)s=i[a],(!r||r(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=n!==!1&&Po(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Dy=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},zy=e=>{if(!e)return null;if(ir(e))return e;let t=e.length;if(!fh(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},_y=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Po(Uint8Array)),Ly=(e,t)=>{const r=(e&&e[Eo]).call(e);let i;for(;
vendor: 4,422 bytes, lines 40-41
40(i=r.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},Oy=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},My=wt("HTMLFormElement"),Fy=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ds=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Wy=wt("RegExp"),gh=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Zr(n,(i,a)=>{let s;(s=t(i,a,e))!==!1&&(r[a]=s||i)}),Object.defineProperties(e,r)},Hy=e=>{gh(e,(t,n)=>{if(Je(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];if(Je(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Uy=(e,t)=>{const n={},r=i=>{i.forEach(a=>{n[a]=!0})};return ir(e)?r(e):r(String(e).split(t)),n},$y=()=>{},qy=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Qy(e){return!!(e&&Je(e.append)&&e[hh]==="FormData"&&e[Eo])}const Vy=e=>{const t=new WeakSet,n=r=>{if(Xr(r)){if(t.has(r))return;if(Jr(r))return r;if(!("toJSON"in r)){t.add(r);const i=ir(r)?[]:{};return Zr(r,(a,s)=>{const l=n(a);!er(l)&&(i[s]=l)}),t.delete(r),i}}return r};return n(e)},Gy=wt("AsyncFunction"),Ky=e=>e&&(Xr(e)||Je(e))&&Je(e.then)&&Je(e.catch),vh=((e,t)=>e?setImmediate:t?((n,r)=>(pn.addEventListener("message",({source:i,data:a})=>{i===pn&&a===n&&r.length&&r.shift()()},!1),i=>{r.push(i),pn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Je(pn.postMessage)),Yy=typeof queueMicrotask<"u"?queueMicrotask.bind(pn):typeof process<"u"&&process.nextTick||vh,Jy=e=>e!=null&&Je(e[Eo]),v={isArray:ir,isArrayBuffer:ph,isBuffer:Jr,isFormData:Sy,isArrayBufferView:dy,isString:hy,isNumber:fh,isBoolean:py,isObject:Xr,isPlainObject:Di,isEmptyObject:fy,isReadableStream:Cy,isRequest:Ty,isResponse:Py,isHeaders:Ey,isUndefined:er,isDate:yy,isFile:my,isReactNativeBlob:gy,isReactNative:vy,isBlob:xy,isRegExp:Wy,isFunction:Je,isStream:ky,isURLSearchParams:jy,isTypedArray:_y,isFileList:wy,forEach:Zr,merge:cs,extend:Ny,trim:By,stripBOM:Ry,inherits:Ay,toFlatObject:Iy,kindOf:Bo,kindOfTest:wt,endsWith:Dy,toArray:zy,forEachEntry:Ly,matchAll:Oy,isHTMLForm:My,hasOwnProperty:ds,hasOwnProp:ds,reduceDescriptors:gh,freezeMethods:Hy,toObjectSet:Uy,toCamelCase:Fy,noop:$y,toFiniteNumber:qy,findKey:yh,global:pn,isContextDefined:mh,isSpecCompliantForm:Qy,toJSONObject:Vy,isAsyncFn:Gy,isThenable:Ky,setImmediate:vh,asap:Yy,isIterable:Jy},Xy=v.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Zy=e=>{const t={};let n,r,i;return e&&e.split(` 41`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&Xy[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};function em(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const tm=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),nm=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ul(e,t){return v.isArray(e)?e.map(n=>ul(n,t)):em(String(e).replace(t,""))}const rm=e=>ul(e,tm),im=e=>ul(e,nm);function xh(e){const t=Object.create(null);return v.forEach(e.toJSON(),(n,r)=>{t[r]=im(n)}),t}const Nu=Symbol("internals");function fr(e){return e&&String(e).trim().toLowerCase()}function zi(e){return e===!1||e==null?e:v.isArray(e)?e.map(zi):rm(String(e))}function om(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const am=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function aa(e,t,n,r,i){if(v.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!v.isString(t)){if(v.isString(r))return t.indexOf(r)!==-1;if(v.isRegExp(r))return r.test(t)}}function sm(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function lm(e,t){const n=v.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(i,a,s){return this[r].call(this,t,i,a,s)},configurable:!0})})}let Ue=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function a(l,u,c){const p=fr(u);
vendor: 32,160 bytes, lines 41-48
41if(!p)throw new Error("header name must be a non-empty string");const m=v.findKey(i,p);(!m||i[m]===void 0||c===!0||c===void 0&&i[m]!==!1)&&(i[m||u]=zi(l))}const s=(l,u)=>v.forEach(l,(c,p)=>a(c,p,u));if(v.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(v.isString(t)&&(t=t.trim())&&!am(t))s(Zy(t),n);else if(v.isObject(t)&&v.isIterable(t)){let l={},u,c;for(const p of t){if(!v.isArray(p))throw TypeError("Object iterator must return a key-value pair");l[c=p[0]]=(u=l[c])?v.isArray(u)?[...u,p[1]]:[u,p[1]]:p[1]}s(l,n)}else t!=null&&a(n,t,r);return this}get(t,n){if(t=fr(t),t){const r=v.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return om(i);if(v.isFunction(n))return n.call(this,i,r);if(v.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=fr(t),t){const r=v.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||aa(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function a(s){if(s=fr(s),s){const l=v.findKey(r,s);l&&(!n||aa(r,r[l],l,n))&&(delete r[l],i=!0)}}return v.isArray(t)?t.forEach(a):a(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const a=n[r];(!t||aa(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const n=this,r={};return v.forEach(this,(i,a)=>{const s=v.findKey(r,a);if(s){n[s]=zi(i),delete n[a];return}const l=t?sm(a):String(a).trim();l!==a&&delete n[a],n[l]=zi(i),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return v.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&v.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` 42`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Nu]=this[Nu]={accessors:{}}).accessors,i=this.prototype;function a(s){const l=fr(s);r[l]||(lm(i,s),r[l]=!0)}return v.isArray(t)?t.forEach(a):a(t),this}};Ue.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);v.reduceDescriptors(Ue.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});v.freezeMethods(Ue);const um="[REDACTED ****]";function cm(e){if(v.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(v.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function dm(e,t){const n=new Set(t.map(a=>String(a).toLowerCase())),r=[],i=a=>{if(a===null||typeof a!="object"||v.isBuffer(a))return a;if(r.indexOf(a)!==-1)return;a instanceof Ue&&(a=a.toJSON()),r.push(a);let s;if(v.isArray(a))s=[],a.forEach((l,u)=>{const c=i(l);v.isUndefined(c)||(s[u]=c)});else{if(!v.isPlainObject(a)&&cm(a))return r.pop(),a;s=Object.create(null);for(const[l,u]of Object.entries(a)){const c=n.has(l.toLowerCase())?um:i(u);v.isUndefined(c)||(s[l]=c)}}return r.pop(),s};return i(e)}let z=class wh extends Error{static from(t,n,r,i,a,s){const l=new wh(t.message,n||t.code,r,i,a);return l.cause=t,l.name=t.name,t.status!=null&&l.status==null&&(l.status=t.status),s&&Object.assign(l,s),l}constructor(t,n,r,i,a){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),i&&(this.request=i),a&&(this.response=a,this.status=a.status)}toJSON(){const t=this.config,n=t&&v.hasOwnProp(t,"redact")?t.redact:void 0,r=v.isArray(n)&&n.length>0?dm(t,n):v.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}};z.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";z.ERR_BAD_OPTION="ERR_BAD_OPTION";z.ECONNABORTED="ECONNABORTED";z.ETIMEDOUT="ETIMEDOUT";z.ECONNREFUSED="ECONNREFUSED";z.ERR_NETWORK="ERR_NETWORK";z.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";z.ERR_DEPRECATED="ERR_DEPRECATED";z.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";z.ERR_BAD_REQUEST="ERR_BAD_REQUEST";z.ERR_CANCELED="ERR_CANCELED";z.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";z.ERR_INVALID_URL="ERR_INVALID_URL";z.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const hm=null;function hs(e){return v.isPlainObject(e)||v.isArray(e)}function kh(e){return v.endsWith(e,"[]")?e.slice(0,-2):e}function sa(e,t,n){return e?e.concat(t).map(function(i,a){return i=kh(i),!n&&a?"["+i+"]":i}).join(n?".":""):t}function pm(e){return v.isArray(e)&&!e.some(hs)}const fm=v.toFlatObject(v,{},null,function(t){return/^is[A-Z]/.test(t)});function Ro(e,t,n){if(!v.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=v.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,h){return!v.isUndefined(h[w])});const r=n.metaTokens,i=n.visitor||m,a=n.dots,s=n.indexes,l=n.Blob||typeof Blob<"u"&&Blob,u=n.maxDepth===void 0?100:n.maxDepth,c=l&&v.isSpecCompliantForm(t);if(!v.isFunction(i))throw new TypeError("visitor must be a function");function p(x){if(x===null)return"";if(v.isDate(x))return x.toISOString();if(v.isBoolean(x))return x.toString();if(!c&&v.isBlob(x))throw new z("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(x)||v.isTypedArray(x)?c&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function m(x,w,h){let d=x;if(v.isReactNative(t)&&v.isReactNativeBlob(x))return t.append(sa(h,w,a),p(x)),!1;if(x&&!h&&typeof x=="object"){if(v.endsWith(w,"{}"))w=r?w:w.slice(0,-2),x=JSON.stringify(x);else if(v.isArray(x)&&pm(x)||(v.isFileList(x)||v.endsWith(w,"[]"))&&(d=v.toArray(x)))return w=kh(w),d.forEach(function(k,T){!(v.isUndefined(k)||k===null)&&t.append(s===!0?sa([w],T,a):s===null?w:w+"[]",p(k))}),!1}return hs(x)?!0:(t.append(sa(h,w,a),p(x)),!1)}const f=[],g=Object.assign(fm,{defaultVisitor:m,convertValue:p,isVisitable:hs});function b(x,w,h=0){if(!v.isUndefined(x)){if(h>u)throw new z("Object is too deeply nested ("+h+" levels). Max depth: "+u,z.ERR_FORM_DATA_DEPTH_EXCEEDED);if(f.indexOf(x)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(x),v.forEach(x,function(y,k){(!(v.isUndefined(y)||y===null)&&i.call(t,y,v.isString(k)?k.trim():k,w,g))===!0&&b(y,w?w.concat(k):[k],h+1)}),f.pop()}}if(!v.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Ru(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function cl(e,t){this._pairs=[],e&&Ro(e,this,t)}const bh=cl.prototype;bh.append=function(t,n){this._pairs.push([t,n])};bh.toString=function(t){const n=t?function(r){return t.call(this,r,Ru)}:Ru;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function ym(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Sh(e,t,n){if(!t)return e;const r=n&&n.encode||ym,i=v.isFunction(n)?{serialize:n}:n,a=i&&i.serialize;let s;if(a?s=a(t,i):s=v.isURLSearchParams(t)?t.toString():new cl(t,i).toString(r),s){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Au{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){v.forEach(this.handlers,function(r){r!==null&&t(r)})}}const dl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},mm=typeof URLSearchParams<"u"?URLSearchParams:cl,gm=typeof FormData<"u"?FormData:null,vm=typeof Blob<"u"?Blob:null,xm={isBrowser:!0,classes:{URLSearchParams:mm,FormData:gm,Blob:vm},protocols:["http","https","file","blob","url","data"]},hl=typeof window<"u"&&typeof document<"u",ps=typeof navigator=="object"&&navigator||void 0,wm=hl&&(!ps||["ReactNative","NativeScript","NS"].indexOf(ps.product)<0),km=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",bm=hl&&window.location.href||"http://localhost",Sm=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:hl,hasStandardBrowserEnv:wm,hasStandardBrowserWebWorkerEnv:km,navigator:ps,origin:bm},Symbol.toStringTag,{value:"Module"})),Me={...Sm,...xm};function jm(e,t){return Ro(e,new Me.classes.URLSearchParams,{visitor:function(n,r,i,a){return Me.isNode&&v.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}function Cm(e){return v.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Tm(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}function jh(e){function t(n,r,i,a){let s=n[a++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),u=a>=n.length;return s=!s&&v.isArray(i)?i.length:s,u?(v.hasOwnProp(i,s)?i[s]=v.isArray(i[s])?i[s].concat(r):[i[s],r]:i[s]=r,!l):((!v.hasOwnProp(i,s)||!v.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],a)&&v.isArray(i[s])&&(i[s]=Tm(i[s])),!l)}if(v.isFormData(e)&&v.isFunction(e.entries)){const n={};return v.forEachEntry(e,(r,i)=>{t(Cm(r),i,n,0)}),n}return null}const En=(e,t)=>e!=null&&v.hasOwnProp(e,t)?e[t]:void 0;function Pm(e,t,n){if(v.isString(e))try{return(t||JSON.parse)(e),v.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ei={transitional:dl,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,a=v.isObject(t);if(a&&v.isHTMLForm(t)&&(t=new FormData(t)),v.isFormData(t))return i?JSON.stringify(jh(t)):t;if(v.isArrayBuffer(t)||v.isBuffer(t)||v.isStream(t)||v.isFile(t)||v.isBlob(t)||v.isReadableStream(t))return t;if(v.isArrayBufferView(t))return t.buffer;if(v.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){const u=En(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return jm(t,u).toString();if((l=v.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=En(this,"env"),p=c&&c.FormData;return Ro(l?{"files[]":t}:t,p&&new p,u)}}return a||i?(n.setContentType("application/json",!1),Pm(t)):t}],transformResponse:[function(t){const n=En(this,"transitional")||ei.transitional,r=n&&n.forcedJSONParsing,i=En(this,"responseType"),a=i==="json";if(v.isResponse(t)||v.isReadableStream(t))return t;if(t&&v.isString(t)&&(r&&!i||a)){const l=!(n&&n.silentJSONParsing)&&a;try{return JSON.parse(t,En(this,"parseReviver"))}catch(u){if(l)throw u.name==="SyntaxError"?z.from(u,z.ERR_BAD_RESPONSE,this,null,En(this,"response")):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Me.classes.FormData,Blob:Me.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};v.forEach(["delete","get","head","post","put","patch","query"],e=>{ei.headers[e]={}});function la(e,t){const n=this||ei,r=t||n,i=Ue.from(r.headers);let a=r.data;return v.forEach(e,function(l){a=l.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Ch(e){return!!(e&&e.__CANCEL__)}let ti=class extends z{constructor(t,n,r){super(t??"canceled",z.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function Th(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new z("Request failed with status code "+n.status,n.status>=400&&n.status<500?z.ERR_BAD_REQUEST:z.ERR_BAD_RESPONSE,n.config,n.request,n))}function Em(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function Bm(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,a=0,s;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),p=r[a];s||(s=c),n[i]=u,r[i]=c;let m=a,f=0;for(;m!==i;)f+=n[m++],m=m%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-s<t)return;const g=p&&c-p;return g?Math.round(f*1e3/g):void 0}}function Nm(e,t){let n=0,r=1e3/t,i,a;const s=(c,p=Date.now())=>{n=p,i=null,a&&(clearTimeout(a),a=null),e(...c)};return[(...c)=>{const p=Date.now(),m=p-n;m>=r?s(c,p):(i=c,a||(a=setTimeout(()=>{a=null,s(i)},r-m)))},()=>i&&s(i)]}const lo=(e,t,n=3)=>{let r=0;const i=Bm(50,250);return Nm(a=>{if(!a||typeof a.loaded!="number")return;const s=a.loaded,l=a.lengthComputable?a.total:void 0,u=l!=null?Math.min(s,l):s,c=Math.max(0,u-r),p=i(c);r=Math.max(r,u);const m={loaded:u,total:l,progress:l?u/l:void 0,bytes:c,rate:p||void 0,estimated:p&&l?(l-u)/p:void 0,event:a,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(m)},n)},Iu=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Du=e=>(...t)=>v.asap(()=>e(...t)),Rm=Me.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Me.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Me.origin),Me.navigator&&/(msie|trident)/i.test(Me.navigator.userAgent)):()=>!0,Am=Me.hasStandardBrowserEnv?{write(e,t,n,r,i,a,s){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];v.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),v.isString(r)&&l.push(`path=${r}`),v.isString(i)&&l.push(`domain=${i}`),a===!0&&l.push("secure"),v.isString(s)&&l.push(`SameSite=${s}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),i=r.indexOf("=");if(i!==-1&&r.slice(0,i)===e)return decodeURIComponent(r.slice(i+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Im(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Dm(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ph(e,t,n){let r=!Im(t);return e&&(r||n===!1)?Dm(e,t):t}const zu=e=>e instanceof Ue?{...e}:e;function Sn(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(c,p,m,f){return v.isPlainObject(c)&&v.isPlainObject(p)?v.merge.call({caseless:f},c,p):v.isPlainObject(p)?v.merge({},p):v.isArray(p)?p.slice():p}function i(c,p,m,f){if(v.isUndefined(p)){if(!v.isUndefined(c))return r(void 0,c,m,f)}else return r(c,p,m,f)}function a(c,p){if(!v.isUndefined(p))return r(void 0,p)}function s(c,p){if(v.isUndefined(p)){if(!v.isUndefined(c))return r(void 0,c)}else return r(void 0,p)}function l(c,p,m){if(v.hasOwnProp(t,m))return r(c,p);if(v.hasOwnProp(e,m))return r(void 0,c)}const u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:l,headers:(c,p,m)=>i(zu(c),zu(p),m,!0)};return v.forEach(Object.keys({...e,...t}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;const m=v.hasOwnProp(u,p)?u[p]:i,f=v.hasOwnProp(e,p)?e[p]:void 0,g=v.hasOwnProp(t,p)?t[p]:void 0,b=m(f,g,p);v.isUndefined(b)&&m!==l||(n[p]=b)}),n}const zm=["content-type","content-length"];function _m(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t).forEach(([r,i])=>{zm.includes(r.toLowerCase())&&e.set(r,i)})}const Lm=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Eh=e=>{const t=Sn({},e),n=f=>v.hasOwnProp(t,f)?t[f]:void 0,r=n("data");let i=n("withXSRFToken");const a=n("xsrfHeaderName"),s=n("xsrfCookieName");let l=n("headers");const u=n("auth"),c=n("baseURL"),p=n("allowAbsoluteUrls"),m=n("url");if(t.headers=l=Ue.from(l),t.url=Sh(Ph(c,m,p),e.params,e.paramsSerializer),u&&l.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?Lm(u.password):""))),v.isFormData(r)&&(Me.hasStandardBrowserEnv||Me.hasStandardBrowserWebWorkerEnv?l.setContentType(void 0):v.isFunction(r.getHeaders)&&_m(l,r.getHeaders(),n("formDataHeaderPolicy"))),Me.hasStandardBrowserEnv&&(v.isFunction(i)&&(i=i(t)),i===!0||i==null&&Rm(t.url))){const g=a&&s&&Am.read(s);g&&l.set(a,g)}return t},Om=typeof XMLHttpRequest<"u",Mm=Om&&function(e){return new Promise(function(n,r){const i=Eh(e);let a=i.data;const s=Ue.from(i.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:c}=i,p,m,f,g,b;function x(){g&&g(),b&&b(),i.cancelToken&&i.cancelToken.unsubscribe(p),i.signal&&i.signal.removeEventListener("abort",p)}let w=new XMLHttpRequest;w.open(i.method.toUpperCase(),i.url,!0),w.timeout=i.timeout;function h(){if(!w)return;const y=Ue.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),T={data:!l||l==="text"||l==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:y,config:e,request:w};Th(function(P){n(P),x()},function(P){r(P),x()},T),w=null}"onloadend"in w?w.onloadend=h:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.startsWith("file:"))||setTimeout(h)},w.onabort=function(){w&&(r(new z("Request aborted",z.ECONNABORTED,e,w)),x(),w=null)},w.onerror=function(k){const T=k&&k.message?k.message:"Network Error",B=new z(T,z.ERR_NETWORK,e,w);B.event=k||null,r(B),x(),w=null},w.ontimeout=function(){let k=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const T=i.transitional||dl;i.timeoutErrorMessage&&(k=i.timeoutErrorMessage),r(new z(k,T.clarifyTimeoutError?z.ETIMEDOUT:z.ECONNABORTED,e,w)),x(),w=null},a===void 0&&s.setContentType(null),"setRequestHeader"in w&&v.forEach(xh(s),function(k,T){w.setRequestHeader(T,k)}),v.isUndefined(i.withCredentials)||(w.withCredentials=!!i.withCredentials),l&&l!=="json"&&(w.responseType=i.responseType),c&&([f,b]=lo(c,!0),w.addEventListener("progress",f)),u&&w.upload&&([m,g]=lo(u),w.upload.addEventListener("progress",m),w.upload.addEventListener("loadend",g)),(i.cancelToken||i.signal)&&(p=y=>{w&&(r(!y||y.type?new ti(null,e,w):y),w.abort(),x(),w=null)},i.cancelToken&&i.cancelToken.subscribe(p),i.signal&&(i.signal.aborted?p():i.signal.addEventListener("abort",p)));const d=Em(i.url);if(d&&!Me.protocols.includes(d)){r(new z("Unsupported protocol "+d+":",z.ERR_BAD_REQUEST,e));return}w.send(a||null)})},Fm=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const i=function(u){if(!r){r=!0,s();const c=u instanceof Error?u:this.reason;n.abort(c instanceof z?c:new ti(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{a=null,i(new z(`timeout of ${t}ms exceeded`,z.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=()=>v.asap(s),l},Wm=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},Hm=async function*(e,t){for await(const n of Um(e))yield*Wm(n,t)},Um=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},_u=(e,t,n,r)=>{const i=Hm(e,t);let a=0,s,l=u=>{s||(s=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:c,value:p}=await i.next();if(c){l(),u.close();return}let m=p.byteLength;if(n){let f=a+=m;n(f)}u.enqueue(new Uint8Array(p))}catch(c){throw l(c),c}},cancel(u){return l(u),i.return()}},{highWaterMark:2})};function $m(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let s=r.length;const l=r.length;for(let g=0;g<l;g++)if(r.charCodeAt(g)===37&&g+2<l){const b=r.charCodeAt(g+1),x=r.charCodeAt(g+2);(b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102)&&(x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102)&&(s-=2,g+=2)}let u=0,c=l-1;const p=g=>g>=2&&r.charCodeAt(g-2)===37&&r.charCodeAt(g-1)===51&&(r.charCodeAt(g)===68||r.charCodeAt(g)===100);c>=0&&(r.charCodeAt(c)===61?(u++,c--):p(c)&&(u++,c-=3)),u===1&&c>=0&&(r.charCodeAt(c)===61||p(c))&&u++;const f=Math.floor(s/4)*3-(u||0);return f>0?f:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(r,"utf8");let a=0;for(let s=0,l=r.length;s<l;s++){const u=r.charCodeAt(s);if(u<128)a+=1;else if(u<2048)a+=2;else if(u>=55296&&u<=56319&&s+1<l){const c=r.charCodeAt(s+1);c>=56320&&c<=57343?(a+=4,s++):a+=3}else a+=3}return a}const pl="1.16.1",Lu=64*1024,{isFunction:wi}=v,Ou=(e,...t)=>{try{return!!e(...t)}catch{return!1}},qm=e=>{const t=v.global!==void 0&&v.global!==null?v.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=v.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:i,Request:a,Response:s}=e,l=i?wi(i):typeof fetch=="function",u=wi(a),c=wi(s);if(!l)return!1;const p=l&&wi(n),m=l&&(typeof r=="function"?(h=>d=>h.encode(d))(new r):async h=>new Uint8Array(await new a(h).arrayBuffer())),f=u&&p&&Ou(()=>{let h=!1;const d=new a(Me.origin,{body:new n,method:"POST",get duplex(){return h=!0,"half"}}),y=d.headers.has("Content-Type");return d.body!=null&&d.body.cancel(),h&&!y}),g=c&&p&&Ou(()=>v.isReadableStream(new s("").body)),b={stream:g&&(h=>h.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(h=>{!b[h]&&(b[h]=(d,y)=>{let k=d&&d[h];if(k)return k.call(d);throw new z(`Response type '${h}' is not supported`,z.ERR_NOT_SUPPORT,y)})});const x=async h=>{if(h==null)return 0;if(v.isBlob(h))return h.size;if(v.isSpecCompliantForm(h))return(await new a(Me.origin,{method:"POST",body:h}).arrayBuffer()).byteLength;if(v.isArrayBufferView(h)||v.isArrayBuffer(h))return h.byteLength;if(v.isURLSearchParams(h)&&(h=h+""),v.isString(h))return(await m(h)).byteLength},w=async(h,d)=>{const y=v.toFiniteNumber(h.getContentLength());return y??x(d)};return async h=>{let{url:d,method:y,data:k,signal:T,cancelToken:B,timeout:P,onDownloadProgress:A,onUploadProgress:U,responseType:_,headers:V,withCredentials:O="same-origin",fetchOptions:M,maxContentLength:j,maxBodyLength:H}=Eh(h);const G=v.isNumber(j)&&j>-1,K=v.isNumber(H)&&H>-1;let R=i||fetch;_=_?(_+"").toLowerCase():"text";let L=Fm([T,B&&B.toAbortSignal()],P),D=null;const W=L&&L.unsubscribe&&(()=>{L.unsubscribe()});let ie;try{if(G&&typeof d=="string"&&d.startsWith("data:")&&$m(d)>j)throw new z("maxContentLength size of "+j+" exceeded",z.ERR_BAD_RESPONSE,h,D);if(K&&y!=="get"&&y!=="head"){const Z=await w(V,k);if(typeof Z=="number"&&isFinite(Z)&&Z>H)throw new z("Request body larger than maxBodyLength limit",z.ERR_BAD_REQUEST,h,D)}if(U&&f&&y!=="get"&&y!=="head"&&(ie=await w(V,k))!==0){let Z=new a(d,{method:"POST",body:k,duplex:"half"}),ht;if(v.isFormData(k)&&(ht=Z.headers.get("content-type"))&&V.setContentType(ht),Z.body){const[Ot,it]=Iu(ie,lo(Du(U)));k=_u(Z.body,Lu,Ot,it)}}v.isString(O)||(O=O?"include":"omit");const ue=u&&"credentials"in a.prototype;if(v.isFormData(k)){const Z=V.getContentType();Z&&/^multipart\/form-data/i.test(Z)&&!/boundary=/i.test(Z)&&V.delete("content-type")}V.set("User-Agent","axios/"+pl,!1);const ge={...M,signal:L,method:y.toUpperCase(),headers:xh(V.normalize()),body:k,duplex:"half",credentials:ue?O:void 0};D=u&&new a(d,ge);let ke=await(u?R(D,M):R(d,ge));if(G){const Z=v.toFiniteNumber(ke.headers.get("content-length"));if(Z!=null&&Z>j)throw new z("maxContentLength size of "+j+" exceeded",z.ERR_BAD_RESPONSE,h,D)}const Be=g&&(_==="stream"||_==="response");if(g&&ke.body&&(A||G||Be&&W)){const Z={};["status","statusText","headers"].forEach(ce=>{Z[ce]=ke[ce]});const ht=v.toFiniteNumber(ke.headers.get("content-length")),[Ot,it]=A&&Iu(ht,lo(Du(A),!0))||[];let Ne=0;const N=ce=>{if(G&&(Ne=ce,Ne>j))throw new z("maxContentLength size of "+j+" exceeded",z.ERR_BAD_RESPONSE,h,D);Ot&&Ot(ce)};ke=new s(_u(ke.body,Lu,N,()=>{it&&it(),W&&W()}),Z)}_=_||"text";let je=await b[v.findKey(b,_)||"text"](ke,h);if(G&&!g&&!Be){let Z;if(je!=null&&(typeof je.byteLength=="number"?Z=je.byteLength:typeof je.size=="number"?Z=je.size:typeof je=="string"&&(Z=typeof r=="function"?new r().encode(je).byteLength:je.length)),typeof Z=="number"&&Z>j)throw new z("maxContentLength size of "+j+" exceeded",z.ERR_BAD_RESPONSE,h,D)}return!Be&&W&&W(),await new Promise((Z,ht)=>{Th(Z,ht,{data:je,headers:Ue.from(ke.headers),status:ke.status,statusText:ke.statusText,config:h,request:D})})}catch(ue){if(W&&W(),L&&L.aborted&&L.reason instanceof z){const ge=L.reason;throw ge.config=h,D&&(ge.request=D),ue!==ge&&(ge.cause=ue),ge}throw ue&&ue.name==="TypeError"&&/Load failed|fetch/i.test(ue.message)?Object.assign(new z("Network Error",z.ERR_NETWORK,h,D,ue&&ue.response),{cause:ue.cause||ue}):z.from(ue,ue&&ue.code,h,D,ue&&ue.response)}}},Qm=new Map,Bh=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,a=[r,i,n];let s=a.length,l=s,u,c,p=Qm;for(;l--;)u=a[l],c=p.get(u),c===void 0&&p.set(u,c=l?new Map:qm(t)),p=c;return c};Bh();const fl={http:hm,xhr:Mm,fetch:{get:Bh}};v.forEach(fl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Mu=e=>`- ${e}`,Vm=e=>v.isFunction(e)||e===null||e===!1;function Gm(e,t){e=v.isArray(e)?e:[e];const{length:n}=e;let r,i;const a={};for(let s=0;s<n;s++){r=e[s];let l;if(i=r,!Vm(r)&&(i=fl[(l=String(r)).toLowerCase()],i===void 0))throw new z(`Unknown adapter '${l}'`);if(i&&(v.isFunction(i)||(i=i.get(t))))break;a[l||"#"+s]=i}if(!i){const s=Object.entries(a).map(([u,c])=>`adapter ${u} `+(c===!1?"is not supported by the environment":"is not available in the build"));let l=n?s.length>1?`since : 43`+s.map(Mu).join(` 44`):" "+Mu(s[0]):"as no adapter specified";throw new z("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return i}const Nh={getAdapter:Gm,adapters:fl};function ua(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ti(null,e)}function Fu(e){return ua(e),e.headers=Ue.from(e.headers),e.data=la.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Nh.getAdapter(e.adapter||ei.adapter,e)(e).then(function(r){ua(e),e.response=r;try{r.data=la.call(e,e.transformResponse,r)}finally{delete e.response}return r.headers=Ue.from(r.headers),r},function(r){if(!Ch(r)&&(ua(e),r&&r.response)){e.response=r.response;try{r.response.data=la.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=Ue.from(r.response.headers)}return Promise.reject(r)})}const Ao={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ao[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Wu={};Ao.transitional=function(t,n,r){function i(a,s){return"[Axios v"+pl+"] Transitional option '"+a+"'"+s+(r?". "+r:"")}return(a,s,l)=>{if(t===!1)throw new z(i(s," has been removed"+(n?" in "+n:"")),z.ERR_DEPRECATED);return n&&!Wu[s]&&(Wu[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(a,s,l):!0}};Ao.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Km(e,t,n){if(typeof e!="object")throw new z("options must be an object",z.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],s=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(s){const l=e[a],u=l===void 0||s(l,a,e);if(u!==!0)throw new z("option "+a+" must be "+u,z.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new z("Unknown option "+a,z.ERR_BAD_OPTION)}}const _i={assertOptions:Km,validators:Ao},ot=_i.validators;let mn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Au,response:new Au}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const a=(()=>{if(!i.stack)return"";const s=i.stack.indexOf(` 45`);return s===-1?"":i.stack.slice(s+1)})();try{if(!r.stack)r.stack=a;else if(a){const s=a.indexOf(` 46`),l=s===-1?-1:a.indexOf(` 47`,s+1),u=l===-1?"":a.slice(l+1);String(r.stack).endsWith(u)||(r.stack+=` 48`+a)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Sn(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:a}=n;r!==void 0&&_i.assertOptions(r,{silentJSONParsing:ot.transitional(ot.boolean),forcedJSONParsing:ot.transitional(ot.boolean),clarifyTimeoutError:ot.transitional(ot.boolean),legacyInterceptorReqResOrdering:ot.transitional(ot.boolean)},!1),i!=null&&(v.isFunction(i)?n.paramsSerializer={serialize:i}:_i.assertOptions(i,{encode:ot.function,serialize:ot.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),_i.assertOptions(n,{baseUrl:ot.spelling("baseURL"),withXsrfToken:ot.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=a&&v.merge(a.common,a[n.method]);a&&v.forEach(["delete","get","head","post","put","patch","query","common"],b=>{delete a[b]}),n.headers=Ue.concat(s,a);const l=[];let u=!0;this.interceptors.request.forEach(function(x){if(typeof x.runWhen=="function"&&x.runWhen(n)===!1)return;u=u&&x.synchronous;const w=n.transitional||dl;w&&w.legacyInterceptorReqResOrdering?l.unshift(x.fulfilled,x.rejected):l.push(x.fulfilled,x.rejected)});const c=[];this.interceptors.response.forEach(function(x){c.push(x.fulfilled,x.rejected)});let p,m=0,f;if(!u){const b=[Fu.bind(this),void 0];for(b.unshift(...l),b.push(...c),f=b.length,p=Promise.resolve(n);m<f;)p=p.then(b[m++],b[m++]);return p}f=l.length;let g=n;for(;m<f;){const b=l[m++],x=l[m++];try{g=b(g)}catch(w){x.call(this,w);break}}try{p=Fu.call(this,g)}catch(b){return Promise.reject(b)}for(m=0,f=c.length;m<f;)p=p.then(c[m++],c[m++]);return p}getUri(t){t=Sn(this.defaults,t);const n=Ph(t.baseURL,t.url,t.allowAbsoluteUrls);return Sh(n,t.params,t.paramsSerializer)}};v.forEach(["delete","get","head","options"],function(t){mn.prototype[t]=function(n,r){return this.request(Sn(r||{},{method:t,url:n,data:(r||{}).data}))}});v.forEach(["post","put","patch","query"],function(t){function n(r){return function(a,s,l){return this.request(Sn(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:s}))}}mn.prototype[t]=n(),t!=="query"&&(mn.prototype[t+"Form"]=n(!0))});let Ym=class Rh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(i=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](i);r._listeners=null}),this.promise.then=i=>{let a;const s=new Promise(l=>{r.subscribe(l),a=l}).then(i);return s.cancel=function(){r.unsubscribe(a)},s},t(function(a,s,l){r.reason||(r.reason=new ti(a,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Rh(function(i){t=i}),cancel:t}}};function Jm(e){return function(n){return e.apply(null,n)}}function Xm(e){return v.isObject(e)&&e.isAxiosError===!0}const fs={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
48alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(fs).forEach(([e,t])=>{fs[t]=e});function Ah(e){const t=new mn(e),n=dh(mn.prototype.request,t);return v.extend(n,mn.prototype,t,{allOwnKeys:!0}),v.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return Ah(Sn(e,i))},n}const we=Ah(ei);we.Axios=mn;we.CanceledError=ti;we.CancelToken=Ym;we.isCancel=Ch;we.VERSION=pl;we.toFormData=Ro;we.AxiosError=z;we.Cancel=we.CanceledError;we.all=function(t){return Promise.all(t)};we.spread=Jm;we.isAxiosError=Xm;we.mergeConfig=Sn;we.AxiosHeaders=Ue;we.formToJSON=e=>jh(v.isHTMLForm(e)?new FormData(e):e);we.getAdapter=Nh.getAdapter;we.HttpStatusCode=fs;we.default=we;const{Axios:e0,AxiosError:t0,CanceledError:n0,isCancel:r0,CancelToken:i0,VERSION:o0,all:a0,Cancel:s0,isAxiosError:l0,spread:u0,toFormData:c0,AxiosHeaders:d0,HttpStatusCode:h0,formToJSON:p0,getAdapter:f0,mergeConfig:y0,create:m0}=we,At=we.create({baseURL:"https://philippines-travel-planner.onrender.com",headers:{"Content-Type":"application/json"},timeout:6e5});At.interceptors.request.use(e=>{const t=localStorage.getItem("authToken");t&&(e.headers.Authorization=`Bearer ${t}`);const n=localStorage.getItem("adminKey");return n&&(e.headers["x-admin-key"]=n),e},e=>Promise.reject(e));At.interceptors.response.use(e=>e,e=>{var t;return((t=e.response)==null?void 0:t.status)===401&&(localStorage.removeItem("authToken"),window.location.href="/"),Promise.reject(e)});const Hu={login:e=>At.post("/api/auth/login",{email:e}),getMe:()=>At.get("/api/auth/me")},Uu={generate:(e,t,n,r="medium")=>At.post("/api/generate-itinerary",{budget:parseFloat(e),duration:parseInt(t),currency:n,islandScope:r}),getTrips:()=>At.get("/api/trips"),saveTrip:e=>At.post("/api/trips",{itinerary:e})},qr={create:e=>At.post("/api/lead",e),list:()=>At.get("/api/leads")},gn="https://calendly.com/zrodondi/30min",Zm="[email protected]",Li=gn.includes("calendly.com")&&!gn.includes("REPLACE-ME"),Ih=gn.includes("cal.com")&&!gn.includes("REPLACE-ME"),$u=Li||Ih,Re="#f97316",ca=["picks","about","offer"],da=[{key:"haven",name:"Haven",islands:"1â2 islands",scope:"focused",blurb:"Settle deep into one or two islands. Slow mornings, hidden coves, no rush."},{key:"horizon",name:"Horizon",islands:"3â4 islands",scope:"medium",blurb:"The perfect balance. A handful of islands, the best of each."},{key:"odyssey",name:"Odyssey",islands:"5â8 islands",scope:"explore",blurb:"The grand island-hopping adventure. See it all."}],qu=[{key:"honeymoon",label:"ð Honeymoon"},{key:"couple",label:"ð Couple / Romance"},{key:"solo",label:"âï¸ Solo"},{key:"family",label:"ð¨âð©âð§ Family"},{key:"group",label:"ð¥ Group of friends"}],eg=["1500","3000","5000","8000"],tg=["84000","168000","280000","450000"],Qu=[{key:"standard",name:"Standard",price:"$297",tagline:"Verified, personalized day-by-day plan you book yourself.",points:["Built for your exact dates & budget","Real hotels, operators & prices (links included)","Weather / ferry contingencies","1 revision"]}
48,{key:"custom",name:"Custom",price:"$497â597",featured:!0,tagline:"You dictate the islands & specifics. I build it largely by hand.",points:["Your exact islands, hotels & special requests","Proposals, dietary, accessibility, complex routing","Built mostly by hand for precision","2 revisions"],priceNote:"Where you land: a couple sits near $497; bigger groups or complex multi-island routing move toward $597."},{key:"dfy",name:"Done-for-you",price:"$800â1,500",tagline:"Everything in Custom, plus I + a VA coordinate the bookings.",points:["We coordinate the actual reservations","PH-side ops in-country","Hands-off for you","Priority support"],priceNote:"Where you land: a short couples' trip starts at $800; a long group trip with extra revisions + full booking coordination runs to $1,500."}];function ki(e,t){typeof window<"u"&&typeof window.gtag=="function"&&window.gtag("event",e,t)}function ng(){const[e,t]=E.useState(0),n=ca[e],[r,i]=E.useState("horizon"),[a,s]=E.useState("10"),[l,u]=E.useState("USD"),[c,p]=E.useState("3000"),[m,f]=E.useState(""),[g,b]=E.useState(""),[x,w]=E.useState(""),[h,d]=E.useState(""),[y,k]=E.useState(""),[T,B]=E.useState(!1),[P,A]=E.useState(""),[U,_]=E.useState(""),[V,O]=E.useState(""),[M,j]=E.useState(!1),[H,G]=E.useState(""),K=E.useRef(!1),R=E.useRef(!1),L=da.find(N=>N.key===r)||da[1],D=qu.find(N=>N.key===P),W=Qu.find(N=>N.key===V),ie=l==="USD"?"$":"â±",ue=l==="USD"?eg:tg,ge=new Date().toISOString().split("T")[0],ke=T?h?`Around ${h} (flexible)`:"Flexible / not decided yet":h&&y?`${h} â ${y}`:h||"Not specified",Be=()=>{t(N=>Math.min(N+1,ca.length-1)),window.scrollTo({top:0,behavior:"smooth"})},je=(N={})=>({name:m.trim(),email:g.trim(),phone:x.trim(),travelDates:ke,tripType:D?D.label:P,tier:r,duration:a,budget:c,currency:l,notes:U.trim(),style:D?D.label:P,...N});E.useEffect(()=>{if(n!=="offer")return;const N=ce=>{ce.data&&ce.data.event==="calendly.event_scheduled"&&ht()};if(window.addEventListener("message",N),Li&&!K.current){K.current=!0;const ce=document.createElement("link");ce.rel="stylesheet",ce.href="https://assets.calendly.com/assets/external/widget.css",document.head.appendChild(ce);const F=document.createElement("script");F.src="https://assets.calendly.com/assets/external/widget.js",F.async=!0,document.body.appendChild(F)}return()=>window.removeEventListener("message",N)},[n]);const Z=async N=>{if(N.preventDefault(),!m.trim()){G("Please enter your name.");return}if(!g.includes("@")){G("Please enter a valid email address.");return}if(!P){G("Please choose a trip type.");return}G(""),j(!0),ki("qualify_submit",{tier:r,tripType:P,currency:l});try{await qr.create(je({stage:"intake"}))}catch{}finally{j(!1),Be()}},ht=()=>{if(!R.current){R.current=!0,ki("book_call",{tier:r,plan:V});try{qr.create(je({stage:"booking",plan:W?`${W.name} (${W.price})`:""}))}catch{}}},Ot=$u?Li?`${gn}?name=${encodeURIComponent(m)}&email=${encodeURIComponent(g)}`:gn:`mailto:${Zm}?subject=${encodeURIComponent("Philippines trip â book my call")}&body=${encodeURIComponent(`Hi Rodondi, 49 50I'd like to book a call about my Philippines trip. 51 52Name: ${m} 53Email: ${g} 54`+(x?`Phone: ${x} 55`:"")+`Trip type: ${D?D.label:P} 56Island scope: ${L.name} (${L.islands}) 57Duration: ${a} days 58Budget: ${ie}${Number(c).toLocaleString()} 59`+(W?`Interested in: ${W.name} (${W.price}) 60`:"")+`Travel dates: ${ke} 61`+(U?`Notes: ${U} 62`:"")+` 63Thanks!`)}`,it=()=>o.jsx("div",{style:{display:"flex",gap:8,justifyContent:"center",marginBottom:26},children:ca.map((N,ce)=>o.jsx("div",{style:{width:ce===e?28:8,height:8,borderRadius:99,background:ce<=e?Re:"rgba(255,255,255,0.18)",transition:"all 0.3s"}},N))}),Ne=({step:N,children:ce})=>o.jsxs("p",{style:{fontSize:13,fontWeight:700,color:"var(--text-primary)",margin:"0 0 8px",textTransform:"uppercase",letterSpacing:1},children:[N!=null&&o.jsxs("span",{style:{color:Re},children:[N," · "]}),ce]});return o.jsxs("div",{className:"app-container",children:[o.jsx("style",{children:` 64 @keyframes qfFade { from { opacity:0; transform: translateY(14px);} to {opacity:1; transform:none;} } 65 .qf-card { animation: qfFade 0.4s ease; } 66 .qf-pick, .qf-chip { cursor:pointer; transition: all 0.16s; } 67 .qf-pick:hover, .qf-chip:hover { border-color:${Re}; } 68 .qf-field { margin-bottom: 22px; } 69 .qf-row { display:flex; gap:12px; flex-wrap:wrap; } 70 .qf-row > div { flex:1; min-width:140px; } 71 `}),o.jsxs("div",{className:"planner-page",style:{maxWidth:680,margin:"0 auto"},children:[o.jsx("div",{style:{textAlign:"center",padding:"10px 0 6px"},children:o.jsx("div",{style:{fontSize:11,fontWeight:700,color:Re,letterSpacing:2.5,textTransform:"uppercase"},children:"⦠Philippines Trip Design · Done For You"})}),n==="picks"&&o.jsxs("div",{className:"qf-card",children:[o.jsxs("div",{style:{textAlign:"center",marginBottom:22}
71,children:[o.jsxs("h1",{style:{fontSize:"clamp(27px,4.5vw,42px)",fontWeight:900,lineHeight:1.15,margin:"6px 0 12px",color:"var(--text-primary)",letterSpacing:"-0.5px"},children:["Your Philippines trip,",o.jsx("br",{}),o.jsx("span",{style:{background:`linear-gradient(90deg, ${Re}, #fbbf24)`,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"designed by a real expert."})," ","ðº"]}),o.jsx("p",{style:{fontSize:"clamp(14px,2vw,16px)",color:"var(--text-secondary)",maxWidth:520,margin:"0 auto 6px",lineHeight:1.6},children:"I plan verified, day-by-day Philippines trips for foreign travellers â my partner's from Manila. Tell me your trip, then book a free call."}),o.jsx("span",{style:{display:"inline-block",marginTop:8,fontSize:12,fontWeight:700,color:Re,background:"rgba(249,115,22,0.12)",border:"1px solid rgba(249,115,22,0.35)",borderRadius:99,padding:"5px 16px"},children:"Free · No payment to book a call"})]}),o.jsx(it,{}),o.jsx(Ne,{step:"1",children:"How far do you want to roam?"}),o.jsx("div",{style:{display:"grid",gap:10,marginBottom:24},children:da.map(N=>o.jsxs("div",{className:"qf-pick",onClick:()=>i(N.key),style:{borderRadius:14,padding:"14px 16px",border:r===N.key?`2px solid ${Re}`:"1px solid rgba(255,255,255,0.15)",background:r===N.key?"rgba(249,115,22,0.12)":"rgba(255,255,255,0.04)"},children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:10},children:[o.jsx("span",{style:{fontSize:17,fontWeight:800,color:r===N.key?Re:"var(--text-primary)"},children:N.name}),o.jsx("span",{style:{fontSize:12,fontWeight:600,color:"var(--text-secondary)"},children:N.islands})]}),o.jsx("p",{style:{fontSize:13,color:"var(--text-secondary)",margin:"4px 0 0",lineHeight:1.5},children:N.blurb})]},N.key))}),o.jsx(Ne,{step:"2",children:"How long is your trip?"}),o.jsxs("div",{className:"selector-card",style:{marginBottom:22},children:[o.jsx("input",{type:"range",className:"selector-input",value:a,min:"5",max:"21",onChange:N=>s(N.target.value)}),o.jsxs("div",{className:"range-value",children:[a," days"]})]}),o.jsx(Ne,{step:"3",children:"Rough budget (excl. international flights)?"}),o.jsxs("div",{className:"selector-card",style:{marginBottom:26},children:[o.jsx("input",{type:"number",className:"selector-input",value:c,onChange:N=>p(N.target.value)}),o.jsx("div",{style:{display:"flex",gap:5,flexWrap:"wrap",marginTop:8},children:ue.map(N=>o.jsxs("button",{type:"button",onClick:()=>p(N),style:{padding:"3px 9px",borderRadius:99,fontSize:11,fontWeight:600,border:c===N?`1px solid ${Re}`:"1px solid rgba(255,255,255,0.15)",background:c===N?"rgba(249,115,22,0.15)":"rgba(255,255,255,0.04)",color:c===N?Re:"var(--text-secondary)",cursor:"pointer"},children:[ie,parseInt(N).toLocaleString()]},N))}),o.jsxs("div",{className:"currency-toggle",style:{marginTop:10},children:[o.jsx("button",{type:"button",className:`currency-btn ${l==="USD"?"active":""}`,onClick:()=>u("USD"),children:"USD $"}),o.jsx("button",{type:"button",className:`currency-btn ${l==="PHP"?"active":""}`,onClick:()=>u("PHP"),children:"PHP â±"})]})]}),o.jsx("button",{className:"generate-button",onClick:()=>{ki("picks_complete",{tier:r,duration:a}),Be()},children:"Next: a few quick questions â"})]}),n==="about"&&o.jsxs("div",{className:"qf-card",children:[o.jsx(it,{}),o.jsxs("div",{style:{textAlign:"center",marginBottom:22},children:[o.jsx("h2",{style:{fontSize:"clamp(22px,4vw,30px)",fontWeight:900,color:"var(--text-primary)",margin:"0 0 8px",letterSpacing:"-0.5px"},children:"Tell me a bit about you ð´"}),o.jsxs("p",{style:{fontSize:14.5,color:"var(--text-secondary)",maxWidth:480,margin:"0 auto",lineHeight:1.6},children:["So I can tailor your ",o.jsx("strong",{style:{color:"var(--text-primary)"},children:L.name})," trip and reach you to book the call."]})]}),o.jsxs("form",{onSubmit:Z,children:[H&&o.jsx("div",{className:"error-message",style:{marginBottom:16},children:H}),o.jsx("div",{className:"qf-field",children:o.jsxs("div",{className:"qf-row",children:[o.jsxs("div",{children:[o.jsx(Ne,{children:"Your name"}),o.jsx("input",{type:"text",value:m,onChange:N=>f(N.target.value),placeholder:"Jane Smith",autoComplete:"name",required:!0,style:{width:"100%"}})]}),o.jsxs("div",{children:[o.jsx(Ne,{children:"Email"}),o.jsx("input",{type:"email",value:g,onChange:N=>b(N.target.value),placeholder:"[email protected]",autoComplete:"email",required:!0,style:{width:"100%"}})]})]})}),o.jsxs("div",{className:"qf-field",children:[o.jsxs(Ne,{children:["Phone / WhatsApp ",o.jsx("span",{style:{color:"var(--text-secondary)",fontWeight:500,textTransform:"none",letterSpacing:0},children:"(optional)"})]}),o.jsx("input",{type:"tel",value:x,onChange:N=>w(N.target.value),placeholder:"+1 555 123 4567",autoComplete:"tel",style:{width:"100%"}})]}),o.jsxs("div",{className:"qf-field",children:[o.jsx(Ne,{step:"1",children:"When are you planning to go?"}),o.jsxs("div",{className:"qf-row",children:[o.jsxs("div",{children:[o.jsx("span",{style:{fontSize:12,color:"var(--text-secondary)"},children:"Arrive"}),o.jsx("input",{type:"date",value:h,min:ge,onChange:N=>d(N.target.value),style:{width:"100%",marginTop:4}})]}),o.jsxs("div",{children:[o.jsx("span",{style:{fontSize:12,color:"var(--text-secondary)"},children:"Depart"}),o.jsx("input",{type:"date",value:y,min:h||ge,onChange:N=>k(N.target.value),disabled:T,style:{width:"100%",marginTop:4,opacity:T?.5:1}})]})]}),o.jsxs("label",{style:{display:"flex",alignItems:"center",gap:8,marginTop:10,fontSize:13,color:"var(--text-secondary)",cursor:"pointer"},children:[o.jsx("input",{type:"checkbox",checked:T,onChange:N=>B(N.target.checked),style:{width:"auto"}}),"My dates are flexible / not decided yet"]})]}),o.jsxs("div",{className:"qf-field",children:[o.jsx(Ne,{step:"2",children:"What kind of trip is this?"}),o.jsx("div",{style:{display:"flex",gap:8,flexWrap:"wrap"},children:qu.map(N=>o.jsx("button",{type:"button",className:"qf-chip",onClick:()=>A(N.key),style:{padding:"9px 14px",borderRadius:99,fontSize:13,fontWeight:600,border:P===N.key?`2px solid ${Re}`:"1px solid rgba(255,255,255,0.15)",background:P===N.key?"rgba(249,115,22,0.15)":"rgba(255,255,255,0.04)",color:P===N.key?Re:"var(--text-secondary)"},children:N.label},N.key))})]}),o.jsxs("div",{className:"qf-field",children:[o.jsxs(Ne,{step:"3",children:["Anything special I should know? ",o.jsx("span",{style:{color:"var(--text-secondary)",fontWeight:500,textTransform:"none",letterSpacing:0},children:"(optional)"})]}),o.jsx("textarea",{value:U,onChange:N=>_(N.target.value),rows:4,placeholder:"Must-see islands, diving certifications, dietary needs, accessibility, a proposal you're planning, travelling with kidsâ¦",style:{width:"100%",resize:"vertical",fontSize:15}})]}),o.jsx("button",{type:"submit",className:"generate-button",disabled:M,style:{marginTop:6},children:M?"Savingâ¦":"See my options & book a call â"}),o.jsx("p",{style:{textAlign:"center",fontSize:12,color:"var(--text-secondary)",opacity:.7,marginTop:-16},children:"No spam. I'll only use this to plan your trip."})]}),o.jsx("div",{style:{textAlign:"center",marginTop:14},children:o.jsx("button",{type:"button",onClick:()=>t(0),style:{background:"transparent",border:"1px solid rgba(255,255,255,0.18)",color:"var(--text-secondary)",borderRadius:99,padding:"8px 20px",fontSize:12.5,cursor:"pointer"},children:"â Back to trip picks"})})]}),n==="offer"&&o.jsxs("div",{className:"qf-card",children:[o.jsx(it,{}),o.jsxs("div",{style:{textAlign:"center",marginBottom:22},children:[o.jsx("div",{style:{fontSize:42,lineHeight:1,marginBottom:10},children:"ð´"}),o.jsxs("h2",{style:{fontSize:"clamp(23px,4vw,32px)",fontWeight:900,color:"var(--text-primary)",margin:"0 0 8px",letterSpacing:"-0.5px"}
71,children:["Thanks, ",m.split(" ")[0]||"there","! Choose a service, then book your call"]}),o.jsxs("p",{style:{fontSize:15,color:"var(--text-secondary)",maxWidth:560,margin:"0 auto",lineHeight:1.6},children:["Picking a tier is optional â we'll confirm the right fit on the call. I'll already have a draft of your"," ",o.jsx("strong",{style:{color:"var(--text-primary)"},children:L.name})," trip started. You only pay once you're happy."]})]}),o.jsx("div",{style:{background:"rgba(249,115,22,0.12)",border:"1px solid rgba(249,115,22,0.45)",borderRadius:14,padding:"14px 18px",marginBottom:22,textAlign:"center"},children:o.jsxs("p",{style:{fontSize:14,color:"var(--text-primary)",margin:0,lineHeight:1.55},children:[o.jsx("strong",{style:{color:Re},children:"ð¥ This month only:"})," the first ",o.jsx("strong",{style:{color:"var(--text-primary)"},children:"10 clients"})," get ",o.jsx("strong",{style:{color:"var(--text-primary)"},children:"20% off any package"}),". Mention it on your call to lock in your rate."]})}),o.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(210px, 1fr))",gap:14,marginBottom:28},children:Qu.map(N=>{const ce=V===N.key;return o.jsxs("div",{className:"qf-pick",onClick:()=>{O(N.key),ki("tier_select",{plan:N.key})},style:{borderRadius:16,padding:"20px 18px",position:"relative",border:ce?`2px solid ${Re}`:N.featured?"2px solid rgba(249,115,22,0.5)":"1px solid rgba(255,255,255,0.14)",background:ce?"rgba(249,115,22,0.16)":N.featured?"rgba(249,115,22,0.08)":"rgba(255,255,255,0.04)"},children:[N.featured&&!ce&&o.jsx("span",{style:{position:"absolute",top:-11,left:"50%",transform:"translateX(-50%)",background:Re,color:"#fff",fontSize:10,fontWeight:800,letterSpacing:.5,padding:"3px 12px",borderRadius:99,textTransform:"uppercase"},children:"Most popular"}),ce&&o.jsx("span",{style:{position:"absolute",top:-11,left:"50%",transform:"translateX(-50%)",background:"#22c55e",color:"#fff",fontSize:10,fontWeight:800,letterSpacing:.5,padding:"3px 12px",borderRadius:99,textTransform:"uppercase"},children:"â Selected"}),o.jsx("div",{style:{fontSize:15,fontWeight:800,color:"var(--text-primary)"},children:N.name}),o.jsx("div",{style:{fontSize:26,fontWeight:900,color:Re,margin:"4px 0 8px"},children:N.price}),o.jsx("p",{style:{fontSize:12.5,color:"var(--text-secondary)",lineHeight:1.5,margin:"0 0 12px",minHeight:54},children:N.tagline}),o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:N.points.map((F,be)=>o.jsxs("li",{style:{fontSize:12.5,color:"var(--text-secondary)",display:"flex",gap:7,marginBottom:7,lineHeight:1.4},children:[o.jsx("span",{style:{color:"#22c55e",flexShrink:0},children:"â"}),F]},be))}),N.priceNote&&o.jsx("p",{style:{fontSize:11.5,color:"var(--text-secondary)",opacity:.85,fontStyle:"italic",margin:"12px 0 0",paddingTop:10,lineHeight:1.45,borderTop:"1px solid rgba(255,255,255,0.08)"},children:N.priceNote})]},N.key)})}),o.jsxs("div",{style:{textAlign:"center",marginBottom:10},children:[o.jsxs("h3",{style:{fontSize:20,fontWeight:800,color:"var(--text-primary)",margin:"0 0 6px"},children:["Book your free discovery call",W?` â ${W.name}`:""]}),o.jsx("p",{style:{fontSize:13,color:"var(--text-secondary)",margin:"0 0 18px"},children:"30 minutes · no obligation · I'll already have your draft started"})]}),Li?o.jsx("div",{className:"calendly-inline-widget","data-url":`${gn}?name=${encodeURIComponent(m)}&email=${encodeURIComponent(g)}`,style:{minWidth:300,height:680}}):o.jsxs("div",{style:{textAlign:"center"},children:[o.jsx("a",{href:Ot,target:Ih?"_blank":void 0,rel:"noopener noreferrer",onClick:ht,style:{display:"inline-block",background:`linear-gradient(90deg, ${Re}, #f59e0b)`,color:"#fff",textDecoration:"none",padding:"16px 38px",borderRadius:12,fontSize:17,fontWeight:800,boxShadow:"0 6px 24px rgba(249,115,22,0.45)"},children:"ð
Book my call â"}),o.jsx("p",{style:{fontSize:12,color:"var(--text-secondary)",opacity:.7,marginTop:14,maxWidth:400,marginLeft:"auto",marginRight:"auto"},children:$u?"Opens my booking calendar in a new tab.":"Opens a pre-filled email with your trip details so I can confirm a time. I'll reply within a day."})]}),o.jsx("div",{style:{textAlign:"center",marginTop:22},children:o.jsx("button",{type:"button",onClick:()=>t(1),style:{background:"transparent",border:"1px solid rgba(255,255,255,0.18)",color:"var(--text-secondary)",borderRadius:99,padding:"8px 20px",fontSize:12.5,cursor:"pointer"},children:"â Edit my answers"})})]}),o.jsx("div",{style:{textAlign:"center",marginTop:34,paddingTop:18,borderTop:"1px solid rgba(255,255,255,0.08)"},children:o.jsx("p",{style:{fontSize:12,color:"var(--text-secondary)",opacity:.75,lineHeight:1.6,maxWidth:520,margin:"0 auto"},children:"ðµð Local knowledge · partner from Manila · native-English communication · verified, current info â every plan built and checked by hand."})})]})]})}const uo="https://calendly.com/REPLACE-ME/discovery-call",rg="[email protected]",ha=uo.includes("calendly.com")&&!uo.includes("REPLACE-ME"),pa=["picks","email","offer"],fa=[{key:"haven",name:"Haven",islands:"1â2 islands",scope:"focused",blurb:"Settle deep into one or tw
71o islands. Slow mornings, hidden coves, no rush."},{key:"horizon",name:"Horizon",islands:"3â4 islands",scope:"medium",blurb:"The perfect balance. A handful of islands, the best of each."},{key:"odyssey",name:"Odyssey",islands:"5â8 islands",scope:"explore",blurb:"The grand island-hopping adventure. See it all."}],ya=[{key:"beaches",label:"ðï¸ Beaches & islands"},{key:"adventure",label:"𤿠Adventure & diving"},{key:"culture",label:"ð Culture & food"},{key:"honeymoon",label:"ð Honeymoon & romance"},{key:"relax",label:"ð´ Slow & relaxed"},{key:"surprise",label:"⨠Surprise me"}],ig=["1500","3000","5000","8000"],og=["84000","168000","280000","450000"],ag=[{name:"Standard",price:"$297",tagline:"You fill out the questionnaire â I build your complete day-by-day Philippines itinerary. You book everything yourself using the plan.",points:["Built for your exact dates & budget","Real hotels, operators & prices (links included)","Weather / ferry contingencies","You handle all hotel, tour & transport bookings using the links we provide","1 revision"]},{name:"Custom",price:"$497â597",featured:!0,tagline:"Same as Standard â plus you tell me exactly which islands, restaurants & activities you want and I build it all in. You still book everything yourself.",points:["Your exact islands, hotels & special requests","Specific restaurants, activities & dietary needs included","Complex multi-island routing handled for you","You handle all bookings â we handle all the research & planning","2 revisions"]},{name:"Done-for-you",price:"$800â1,500",tagline:"You tell me exactly what you want â I build the itinerary AND coordinate all the actual bookings for you. You just show up.",points:["We coordinate all hotel, tour & transport reservations","PH-side ops managed in-country","Completely hands-off for you","Priority support throughout","2 revisions + booking coordination included"]}];function ma(e,t){typeof window<"u"&&typeof window.gtag=="function"&&window.gtag("event",e,t)}const Le="#f97316";function sg(){const[e,t]=E.useState(0),n=pa[e],[r,i]=E.useState("horizon"),[a,s]=E.useState("10"),[l,u]=E.useState("USD"),[c,p]=E.useState("3000"),[m,f]=E.useState("beaches"),[g,b]=E.useState(""),[x,w]=E.useState(!1),[h,d]=E.useState(""),[y,k]=E.useState("");E.useEffect(()=>{const H=new URLSearchParams(window.location.search).get("ref");H&&k(H.toUpperCase().trim())},[]);const T=E.useRef(!1),B=fa.find(j=>j.key===r)||fa[1],P=ya.find(j=>j.key===m)||ya[0],A=l==="USD"?"$":"â±",U=l==="USD"?ig:og,_=()=>t(j=>Math.min(j+1,pa.length-1));E.useEffect(()=>{if(n!=="offer"||!ha||T.current)return;T.current=!0;const j=document.createElement("link");j.rel="stylesheet",j.href="https://assets.calendly.com/assets/external/widget.css",document.head.appendChild(j);const H=document.createElement("script");H.src="https://assets.calendly.com/assets/external/widget.js",H.async=!0,document.body.appendChild(H)},[n]);const V=async j=>{if(j.preventDefault(),!g.includes("@")){d("Please enter a valid email.");return}d(""),w(!0),ma("lead_email_submit",{tier:r,duration:a,style:m});try{await qr.create({email:g,tier:r,islandScope:B.scope,duration:a,budget:c,currency:l,style:P.label,referralCode:y||void 0})}catch{}finally{w(!1),_()}},O=ha?uo:`mailto:${rg}?subject=${encodeURIComponent("Philippines trip â book my call")}&body=${encodeURIComponent(`Hi Rodondi, 72 73I'd like to book a call about my Philippines trip. 74 75My picks: 76- Tier: ${B.name} (${B.islands}) 77- Duration: ${a} days 78- Budget: ${A}${Number(c).toLocaleString()} 79- Style: ${P.label} 80 81Email: ${g} 82 83Thanks!`)}`,M=()=>o.jsx("div",{style:{display:"flex",gap:8,justifyContent:"center",marginBottom:26},children:pa.map((j,H)=>o.jsx("div",{style:{width:H===e?28:8,height:8,borderRadius:99,background:H<=e?Le:"rgba(255,255,255,0.18)",transition:"all 0.3s"}},j))});return o.jsxs("div",{className:"app-container",children:[o.jsx("style",{children:` 84@keyframes fnFade { from { opacity:0; transform: translateY(14px);} to {opacity:1; transform:none;} } 85.fn-card { animation: fnFade 0.4s ease; } 86.fn-pick { cursor:pointer; transition: all 0.18s; } 87.fn-pick:hover { border-color:${Le}; } 88`}),o.jsxs("div",{className:"planner-page",style:{maxWidth:720,margin:"0 auto"},children:[o.jsx("div",{style:{textAlign:"center",padding:"10px 0 6px"},children:o.jsx("div",{style:{fontSize:11,fontWeight:700,color:Le,letterSpacing:2.5,textTransform:"uppercase"},children:"⦠Philippines Trip Design · Done For You"})}),n==="picks"&&o.jsxs("div",{className:"fn-card",children:[o.jsxs("div",{style:{textAlign:"center",marginBottom:22},children:[o.jsxs("h1",{style:{fontSize:"clamp(28px,4.5vw,44px)",fontWeight:900,lineHeight:1.15,margin:"6px 0 12px",color:"var(--text-primary)",letterSpacing:"-0.5px"},children:["Your Philippines trip,",o.jsx("br",{}),o.jsx("span",{style:{background:`linear-gradient(90deg, ${Le}
88, #fbbf24)`,WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"designed by a real expert."})," ","ðº"]}),o.jsx("p",{style:{fontSize:"clamp(14px,2vw,17px)",color:"var(--text-secondary)",maxWidth:540,margin:"0 auto 6px",lineHeight:1.6},children:"I've travelled the Philippines for years, my partner is from Manila, and I plan verified, day-by-day trips for foreign travellers. Tell me your trip â I'll build it."}),o.jsx("span",{style:{display:"inline-block",marginTop:8,fontSize:12,fontWeight:700,color:Le,background:"rgba(249,115,22,0.12)",border:"1px solid rgba(249,115,22,0.35)",borderRadius:99,padding:"5px 16px"},children:"Trip design from $297"})]}),o.jsx(M,{}),o.jsx("p",{style:{fontSize:13,fontWeight:700,color:"var(--text-primary)",margin:"0 0 10px",textTransform:"uppercase",letterSpacing:1},children:"1 · How far do you want to roam?"}),o.jsx("div",{style:{display:"grid",gap:10,marginBottom:24},children:fa.map(j=>o.jsxs("div",{className:"fn-pick",onClick:()=>i(j.key),style:{borderRadius:14,padding:"14px 16px",border:r===j.key?`2px solid ${Le}`:"1px solid rgba(255,255,255,0.15)",background:r===j.key?"rgba(249,115,22,0.12)":"rgba(255,255,255,0.04)"},children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"baseline",gap:10},children:[o.jsx("span",{style:{fontSize:17,fontWeight:800,color:r===j.key?Le:"var(--text-primary)"},children:j.name}),o.jsx("span",{style:{fontSize:12,fontWeight:600,color:"var(--text-secondary)"},children:j.islands})]}),o.jsx("p",{style:{fontSize:13,color:"var(--text-secondary)",margin:"4px 0 0",lineHeight:1.5},children:j.blurb})]},j.key))}),o.jsx("p",{style:{fontSize:13,fontWeight:700,color:"var(--text-primary)",margin:"0 0 10px",textTransform:"uppercase",letterSpacing:1},children:"2 · How long is your trip?"}),o.jsxs("div",{className:"selector-card",style:{marginBottom:22},children:[o.jsx("input",{type:"range",className:"selector-input",value:a,min:"5",max:"21",onChange:j=>s(j.target.value)}),o.jsxs("div",{className:"range-value",children:[a," days"]})]}),o.jsx("p",{style:{fontSize:13,fontWeight:700,color:"var(--text-primary)",margin:"0 0 10px",textTransform:"uppercase",letterSpacing:1},children:"3 · Rough budget (excl. flights)?"}),o.jsxs("div",{className:"selector-card",style:{marginBottom:22},children:[o.jsx("input",{type:"number",className:"selector-input",value:c,onChange:j=>p(j.target.value)}),o.jsx("div",{style:{display:"flex",gap:5,flexWrap:"wrap",marginTop:8},children:U.map(j=>o.jsxs("button",{onClick:()=>p(j),style:{padding:"3px 9px",borderRadius:99,fontSize:11,fontWeight:600,border:c===j?`1px solid ${Le}`:"1px solid rgba(255,255,255,0.15)",background:c===j?"rgba(249,115,22,0.15)":"rgba(255,255,255,0.04)",color:c===j?Le:"var(--text-secondary)",cursor:"pointer"},children:[A,parseInt(j).toLocaleString()]},j))}),o.jsxs("div",{className:"currency-toggle",style:{marginTop:10},children:[o.jsx("button",{className:`currency-btn ${l==="USD"?"active":""}`,onClick:()=>u("USD"),children:"USD $"}),o.jsx("button",{className:`currency-btn ${l==="PHP"?"active":""}`,onClick:()=>u("PHP"),children:"PHP â±"})]})]}),o.jsx("p",{style:{fontSize:13,fontWeight:700,color:"var(--text-primary)",margin:"0 0 10px",textTransform:"uppercase",letterSpacing:1},children:"4 · What's your trip about?"}),o.jsx("div",{style:{display:"flex",gap:8,flexWrap:"wrap",marginBottom:26},children:ya.map(j=>o.jsx("button",{onClick:()=>f(j.key),style:{padding:"9px 14px",borderRadius:99,fontSize:13,fontWeight:600,border:m===j.key?`2px solid ${Le}`:"1px solid rgba(255,255,255,0.15)",background:m===j.key?"rgba(249,115,22,0.15)":"rgba(255,255,255,0.04)",color:m===j.key?Le:"var(--text-secondary)",cursor:"pointer"},children:j.label},j.key))}),o.jsx("button",{className:"generate-button",onClick:()=>{ma("picks_complete",{tier:r,duration:a,style:m}),_()},children:"See pricing & next steps â"}),o.jsx("p",{style:{textAlign:"center",fontSize:12,color:"var(--text-secondary)",opacity:.65,marginTop:-20},children:"Free · No payment to book a call"})]}),n==="email"&&o.jsxs("div",{className:"fn-card",style:{maxWidth:460,margin:"0 auto"},children:[o.jsx(M,{}),o.jsxs("div",{style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.1)",borderRadius:16,padding:"20px 22px",marginBottom:20},children:[o.jsx("p",{style:{fontSize:11,fontWeight:700,color:Le,letterSpacing:1.2,textTransform:"uppercase",margin:"0 0 10px"},children:"Your trip so far"}),o.jsxs("div",{style:{fontSize:16,fontWeight:800,color:"var(--text-primary)",marginBottom:6},children:[B.name," · ",a," days · ",P.label]}),o.jsxs("div",{style:{fontSize:13,color:"var(--text-secondary)",lineHeight:1.5}
88,children:[B.islands," · around ",A,Number(c).toLocaleString()," · built and verified by hand for your exact dates."]})]}),o.jsx("h2",{style:{fontSize:22,fontWeight:800,color:"var(--text-primary)",textAlign:"center",margin:"0 0 8px"},children:"Where should I reach you?"}),o.jsx("p",{style:{fontSize:14,color:"var(--text-secondary)",textAlign:"center",margin:"0 0 18px",lineHeight:1.5},children:"Pop in your email to see pricing and book your call. I'll build a tailored draft of your itinerary before we talk, so we start with something real."}),o.jsxs("form",{onSubmit:V,children:[h&&o.jsx("div",{className:"error-message",style:{marginBottom:12},children:h}),o.jsx("div",{className:"form-group",children:o.jsx("input",{type:"email",value:g,onChange:j=>b(j.target.value),placeholder:"[email protected]",required:!0,autoFocus:!0,style:{width:"100%"}})}),o.jsx("button",{type:"submit",className:"generate-button",disabled:x||!g,style:{marginTop:8},children:x?"One secâ¦":"See pricing & book my call â"})]}),o.jsx("p",{style:{fontSize:11,color:"var(--text-secondary)",textAlign:"center",opacity:.7,marginTop:12},children:"No spam. Occasional Philippines tips & seasonal offers. Unsubscribe anytime."})]}),n==="offer"&&o.jsxs("div",{className:"fn-card",children:[o.jsx(M,{}),o.jsxs("div",{style:{textAlign:"center",marginBottom:24},children:[o.jsx("h2",{style:{fontSize:"clamp(24px,4vw,34px)",fontWeight:900,color:"var(--text-primary)",margin:"0 0 8px",letterSpacing:"-0.5px"},children:"Pick your tier, then book your call ðº"}),o.jsxs("p",{style:{fontSize:15,color:"var(--text-secondary)",maxWidth:560,margin:"0 auto",lineHeight:1.6},children:["On a quick call I'll walk you through a draft of your ",o.jsx("strong",{style:{color:"var(--text-primary)"},children:B.name})," trip and we'll lock the details. You only pay once you're happy."]})]}),o.jsx("div",{style:{background:"rgba(34,197,94,0.10)",border:"1px solid rgba(34,197,94,0.4)",borderRadius:14,padding:"14px 18px",marginBottom:22,textAlign:"center"},children:o.jsxs("p",{style:{fontSize:14,color:"var(--text-primary)",margin:0,lineHeight:1.55},children:[o.jsx("strong",{style:{color:"#22c55e"},children:"ð± Founding-client rate:"})," I'm taking my first few clients at ",o.jsx("strong",{style:{color:"var(--text-primary)"},children:"$97"})," (Standard, normally $297) in exchange for honest feedback and a testimonial if you love it. Mention ",o.jsx("em",{children:'"founding"'})," on the call."]})}),o.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(220px, 1fr))",gap:14,marginBottom:30},children:ag.map(j=>o.jsxs("div",{style:{borderRadius:16,padding:"20px 18px",position:"relative",border:j.featured?`2px solid ${Le}`:"1px solid rgba(255,255,255,0.14)",background:j.featured?"rgba(249,115,22,0.10)":"rgba(255,255,255,0.04)"},children:[j.featured&&o.jsx("span",{style:{position:"absolute",top:-11,left:"50%",transform:"translateX(-50%)",background:Le,color:"#fff",fontSize:10,fontWeight:800,letterSpacing:.5,padding:"3px 12px",borderRadius:99,textTransform:"uppercase"},children:"Most popular"}),o.jsx("div",{style:{fontSize:15,fontWeight:800,color:"var(--text-primary)"},children:j.name}),o.jsx("div",{style:{fontSize:26,fontWeight:900,color:Le,margin:"4px 0 8px"},children:j.price}),o.jsx("p",{style:{fontSize:12.5,color:"var(--text-secondary)",lineHeight:1.5,margin:"0 0 12px",minHeight:54},children:j.tagline}),o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:j.points.map((H,G)=>o.jsxs("li",{style:{fontSize:12.5,color:"var(--text-secondary)",display:"flex",gap:7,marginBottom:7,lineHeight:1.4},children:[o.jsx("span",{style:{color:"#22c55e",flexShrink:0},children:"â"}),H]},G))})]},j.name))}),o.jsxs("div",{style:{textAlign:"center",marginBottom:10},children:[o.jsx("h3",{style:{fontSize:20,fontWeight:800,color:"var(--text-primary)",margin:"0 0 6px"},children:"Book your free discovery call"}),o.jsx("p",{style:{fontSize:13,color:"var(--text-secondary)",margin:"0 0 18px"},children:"15 minutes · no obligation · I'll already have your draft started"})]}),ha?o.jsx("div",{className:"calendly-inline-widget","data-url":uo,style:{minWidth:300,height:660}}):o.jsxs("div",{style:{textAlign:"center"},children:[o.jsx("a",{href:O,onClick:()=>ma("book_call_click",{tier:r,mode:"email"}),style:{display:"inline-block",background:`linear-gradient(90deg, ${Le}, #f59e0b)`,color:"#fff",textDecoration:"none",padding:"16px 38px",borderRadius:12,fontSize:17,fontWeight:800,boxShadow:"0 6px 24px rgba(249,115,22,0.45)"},children:"ð
Book my call â"}),o.jsx("p",{style:{fontSize:12,color:"var(--text-secondary)",opacity:.7,marginTop:14},children:"Opens a pre-filled email with your trip details so I can confirm a time."})]}),o.jsx("div",{style:{textAlign:"center",marginTop:22},children:o.jsx("button",{onClick:()=>t(0),style:{background:"transparent",border:"1px solid rgba(255,255,255,0.18)",color:"var(--text-secondary)",borderRadius:99,padding:"8px 20px",fontSize:12.5,cursor:"pointer"},children:"â Change my picks"})})]}),o.jsx("div",{style:{textAlign:"center",marginTop:34,paddingTop:18,borderTop:"1px solid rgba(255,255,255,0.08)"},children:o.jsx("p",{style:{fontSize:12,color:"var(--text-secondary)",opacity:.75,lineHeight:1.6,maxWidth:520,margin:"0 auto"},children:"ðµð Local knowledge · partner from Manila · native-English communication · verified, current info â every plan built and checked by hand."})})]})]})}const lg="https://www.klook.com/en-US/search/",ug="utm_source=phaitravelai&utm_medium=itinerary&utm_campaign=affiliate";function cg(e){return`${lg}?query=${encodeURIComponent(e)}&${ug}`}const dg=[{match:/el nido/i,query:"El Nido tour Philippines",label:"ðï¸ Book El Nido Tours"},{match:/coron/i,query:"Coron island tour Philippines",label:"𤿠Book Coron Tours"},{match:/siargao/i,query:"Siargao activities Philippines",label:"ð Explore Siargao"},{match:/boracay/i,query:"Boracay activities Philippines",label:"ð
Explore Boracay"},{match:/chocolate hills/i,query:"Chocolate Hills Bohol day tour",label:"ð« Book Chocolate Hills"},{match:/bohol/i,query:"Bohol day tour Philippines",label:"ð¦ Book Bohol Tour"},{match:/intramuros/i,query:"Intramuros walking tour Manila",label:"ð° Book Manila Walking Tour"},{match:/manila/i,query:"Manila city tour Philippines",label:"ð Book Manila Tour"},{match:/vigan/i,query:"Vigan heritage tour Philippines",label:"ðï¸ Book Vigan Tour"},{match:/palawan/i,query:"Palawan island tour Philippines",label:"ðï¸ Explore Palawan"},{match:/whale shark|butanding/i,query:"whale shark watching Oslob",label:"ð Book Whale Shark Tour"},{match:/firefly/i,query:"firefly watching tour Philippines",label:"⨠Book Firefly Tour"},{match:/rice terrace|banaue|batad/i,query:"Banaue rice terraces tour",label:"ð¾ Book Rice Terrace Tour"},{match:/island hopping/i,query:"island hopping Philippines",label:"âµ Book Island Hopping"},{match:/scuba|diving/i,query:"scuba diving Philippines",label:"𤿠Book Diving"},{match:/snorkel/i,query:"snorkeling tour Philippines",label:"ð Book Snorkeling"},{match:/surfing|surf lesson/i,query:"surfing lesson Philippines",label:"ð Book Surf Lesson"},{match:/kayak/i,query:"kayaking tour Philippines",label:"ð£ Book Kayaking"},{match:/zipline|zip.?line/i,query:"zipline adventure Philippines",label:"ðª Book Zipline"},{match:/waterfall/i,query:"waterfall tour Philippines",label:"ð¦ Book Waterfall Tour"}
88,{match:/ATV|quad bike/i,query:"ATV adventure Philippines",label:"ðï¸ Book ATV Ride"},{match:/sunset cruise|sunset sail/i,query:"sunset cruise Philippines",label:"ð
Book Sunset Cruise"}],hg=[/el nido/i,/coron/i,/siargao/i,/chocolate hills/i,/rice terrace/i,/banaue/i,/vigan/i,/intramuros/i,/whale shark/i,/firefly/i,/boracay white beach/i,/batad/i,/camiguin/i,/apo island/i,/tubbataha/i,/hundred islands/i,/mayon volcano/i,/taal volcano/i];function pg(e){return hg.some(t=>t.test(e))}function fg(e){const t=[],n=new Set;for(const r of dg){if(t.length>=2)break;r.match.test(e)&&!n.has(r.query)&&(n.add(r.query),t.push({label:r.label,url:cg(r.query)}))}return t}function yg(e){const t=[...Array.isArray(e.activities)?e.activities:[String(e.activities||"")],String(e.accommodation||""),String(e.meals||"")].join(" ");return fg(t)}function mg({itinerary:e,index:t,currency:n,onClose:r,onDownloadPDF:i}){if(!e)return null;const a=()=>n==="USD"?"$":"â±",s=u=>typeof u=="number"?u.toFixed(2):"0.00",l=u=>typeof u=="string"?u:typeof u=="object"&&u!==null?Object.values(u).join(" ⢠"):String(u);return o.jsx("div",{className:"modal-overlay",onClick:r,children:o.jsxs("div",{className:"modal-content",onClick:u=>u.stopPropagation(),children:[o.jsxs("div",{className:"modal-header",children:[o.jsx("h2",{children:e.name||`Itinerary ${t+1}`}),o.jsx("button",{className:"modal-close",onClick:r,children:"â"})]}),o.jsxs("div",{className:"modal-body",children:[o.jsxs("div",{className:"modal-section",children:[o.jsx("h3",{children:"Overview"}),o.jsx("p",{className:"itinerary-theme",children:e.theme}),e.description&&o.jsx("p",{className:"itinerary-description",children:e.description})]}),e.days&&Array.isArray(e.days)&&o.jsxs("div",{className:"modal-section",children:[o.jsx("h3",{children:"Daily Itinerary"}),e.days.map((u,c)=>{const p=yg(u);return o.jsxs("div",{className:"day-detail",children:[o.jsx("h4",{children:u.title||`Day ${c+1}`}),u.activities&&o.jsxs("div",{className:"activities-list",children:[o.jsx("p",{className:"section-label",children:"Activities"}),Array.isArray(u.activities)?o.jsx("ul",{children:u.activities.map((m,f)=>o.jsxs("li",{style:{display:"flex",alignItems:"flex-start",gap:8,marginBottom:4},children:[o.jsx("span",{style:{flex:1},children:m}),pg(m)&&o.jsx("span",{title:"A local pick, based on traveler reviews and on-the-ground knowledge",style:{fontSize:10,fontWeight:700,padding:"2px 7px",borderRadius:99,background:"rgba(0,206,201,0.15)",color:"#00CEC9",border:"1px solid rgba(0,206,201,0.4)",whiteSpace:"nowrap",flexShrink:0,letterSpacing:"0.02em"},children:"⨠Local Pick"})]},f))}):o.jsx("p",{children:l(u.activities)})]}),u.accommodation&&o.jsxs("div",{className:"accommodation-info",children:[o.jsx("p",{className:"section-label",children:"ð¨ Accommodation"}),o.jsx("p",{children:l(u.accommodation)})]}),u.meals&&o.jsxs("div",{className:"meals-info",children:[o.jsx("p",{className:"section-label",children:"ð½ï¸ Meals"}),o.jsx("p",{children:l(u.meals)})]}),p.length>0&&o.jsx("div",{style:{marginTop:12,display:"flex",flexWrap:"wrap",gap:8},children:p.map((m,f)=>o.jsxs("a",{href:m.url,target:"_blank",rel:"noopener noreferrer",style:{display:"inline-flex",alignItems:"center",gap:4,fontSize:12,fontWeight:600,padding:"5px 12px",borderRadius:99,background:"rgba(249,115,22,0.1)",color:"#f97316",border:"1px solid rgba(249,115,22,0.3)",textDecoration:"none",transition:"background 0.2s"},onMouseEnter:g=>g.currentTarget.style.background="rgba(249,115,22,0.2)",onMouseLeave:g=>g.currentTarget.style.background="rgba(249,115,22,0.1)",children:[m.label," â"]},f))}),c<e.days.length-1&&o.jsx("hr",{className:"day-divider"})]},c)})]}),o.jsxs("div",{className:"modal-section",children:[o.jsx("h3",{children:"Cost Breakdown"}),e.costBreakdown?o.jsxs("div",{className:"cost-breakdown",children:[e.costBreakdown.accommodation&&o.jsxs("div",{className:"cost-row",children:[o.jsx("span",{className:"cost-label",children:"Accommodation"}),o.jsxs("span",{className:"cost-amount",children:[a(),s(e.costBreakdown.accommodation)]})]}),e.costBreakdown.meals&&o.jsxs("div",{className:"cost-row",children:[o.jsx("span",{className:"cost-label",children:"Meals & Dining"}),o.jsxs("span",{className:"cost-amount",children:[a(),s(e.costBreakdown.meals)]})]}),e.costBreakdown.activities&&o.jsxs("div",{className:"cost-row",children:[o.jsx("span",{className:"cost-label",children:"Activities & Tours"}),o.jsxs("span",{className:"cost-amount",children:[a(),s(e.costBreakdown.activities)]})]}),e.costBreakdown.transportation&&o.jsxs("div",{className:"cost-row",children:[o.jsx("span",{className:"cost-label",children:"Transportation"}),o.jsxs("span",{className:"cost-amount",children:[a(),s(e.costBreakdown.transportation)]})]}),o.jsxs("div",{className:"cost-row total-row",children:[o.jsx("span",{className:"cost-label",children:"Estimated Total"}),o.jsxs("span",{className:"cost-amount total-amount",children:[a(),s(e.costBreakdown.total)]})]})]}):o.jsx("p",{children:"Cost breakdown not available"})]}
88),o.jsxs("p",{style:{fontSize:10,color:"var(--text-secondary)",opacity:.6,marginTop:8,lineHeight:1.5},children:["Booking links above may earn Philippines Travel Planner a small commission at no extra cost to you."," ",o.jsx("span",{style:{textDecoration:"underline",cursor:"pointer"},children:"Learn more"})]})]}),o.jsxs("div",{className:"modal-footer",children:[o.jsx("button",{className:"btn-secondary",onClick:r,children:"Close"}),o.jsx("button",{className:"btn-primary",onClick:i,children:"ð¥ Download PDF"})]})]})})}const gg="modulepreload",vg=function(e){return"/"+e},Vu={},xg=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),l=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.allSettled(n.map(u=>{if(u=vg(u),u in Vu)return;Vu[u]=!0;const c=u.endsWith(".css"),p=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${p}`))return;const m=document.createElement("link");if(m.rel=c?"stylesheet":gg,c||(m.as="script"),m.crossOrigin="",m.href=u,l&&m.setAttribute("nonce",l),document.head.appendChild(m),c)return new Promise((f,g)=>{m.addEventListener("load",f),m.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${u}`)))})}))}function a(s){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s}return i.then(s=>{for(const l of s||[])l.status==="rejected"&&a(l.reason);return t().catch(a)})};async function wg(e,t,n){var V;const{jsPDF:r}=await xg(async()=>{const{jsPDF:O}=await import("./jspdf.es.min-TwAn4A_k.js").then(M=>M.j);return{jsPDF:O}},[]),i=new r({unit:"mm",format:"a4"}),a=i.internal.pageSize.getWidth(),s=i.internal.pageSize.getHeight(),l=14,u=n==="USD"?"$":"PHP ",c=(O="")=>String(O).replace(/[\u{1F000}-\u{1FAFF}\u{2600}-\u{27BF}\u{2300}-\u{23FF}\u{2B00}-\u{2BFF}\u{FE00}-\u{FE0F}\u{200D}\u{20E3}\u{1F1E6}-\u{1F1FF}]/gu,"").replace(/[ \t]{2,}/g," ").trim(),p=O=>`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(c(O)+" Philippines")}`,m=O=>`https://www.google.com/search?q=${encodeURIComponent(c(O))}`,f={orange:[249,115,22],orangeLight:[255,237,213],navy:[15,23,42],navyMid:[30,41,59],white:[255,255,255],slate50:[248,250,252],slate100:[241,245,249],slate400:[148,163,184],slate600:[71,85,105],slate800:[30,41,59],blue50:[239,246,255],blue600:[37,99,235],green50:[240,253,244],green600:[22,163,74]};let g=0;const b=O=>i.setFillColor(...O),x=O=>i.setDrawColor(...O),w=O=>i.setTextColor(...O),h=O=>{i.setFont(void 0,"bold"),i.setFontSize(O)},d=O=>{i.setFont(void 0,"normal"),i.setFontSize(O)},y=c(e.name)||`Philippines Itinerary ${t+1}`,k=(O=20)=>{g+O>s-18&&(i.addPage(),b(f.orange),i.rect(0,0,a,8,"F"),w(f.white),d(7),i.text("PHILIPPINES TRAVEL PLANNER · "+y,l,5.5),g=14)};b(f.orange),i.rect(0,0,a,42,"F"),i.setFillColor(255,255,255),i.roundedRect(l,6,44,6,1,1,"F"),w(f.orange),h(6.5),i.text("PHILIPPINES TRAVEL PLANNER",l+2,10.5),w(f.white),d(8);const T=new Date().toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});i.text(T,a-l,10,{align:"right"}),w(f.white),h(20);const B=i.splitTextToSize(y,a-l*2);i.text(B,l,24),w([255,220,180]),d(9);const P=((V=e.days)==null?void 0:V.length)||"?",A=c(e.theme)||"Philippines";if(i.text(`${A} · ${P} days`,l,37),g=50,e.description){w(f.slate600),d(9);const O=i.splitTextToSize(c(e.description),a-l*2);i.text(O,l,g),g+=O.length*5+4}if(Array.isArray(e.highlights)&&e.highlights.length>0){d(9);const M=e.highlights.slice(0,3).map(K=>c(K)).filter(Boolean).map(K=>i.splitTextToSize(K,a-l*2-16)),H=M.reduce((K,R)=>K+R.length,0)*5+(M.length-1)*2+16;k(H+4),b(f.orangeLight),i.roundedRect(l,g,a-l*2,H,3,3,"F"),w(f.orange),h(8),i.text("TRIP HIGHLIGHTS",l+6,g+7);let G=g+13;w(f.navyMid),d(9),M.forEach(K=>{b(f.orange),i.circle(l+7,G-1,1,"F"),w(f.navyMid),i.text(K,l+11,G),G+=K.length*5+2}),g+=H+6}k(12),b(f.slate100),i.rect(l,g,a-l*2,.5,"F"),w(f.slate400),h(7),i.text("DAY-BY-DAY ITINERARY",l,g+5),g+=10,Array.isArray(e.days)&&e.days.forEach((O,M)=>{k(28);const j=c(O.title)||`Day ${M+1}`;if(b(f.navy),i.roundedRect(l,g,a-l*2,10,2,2,"F"),w(f.white),h(9.5),i.text(j,l+5,g+7),b(f.orange),i.circle(a-l-5,g+5,4,"F"),w(f.white),h(7),i.text(String(M+1),a-l-5,g+6.5,{align:"center"}),g+=13,Array.isArray(O.activities)&&O.activities.length>
880&&(O.activities.forEach(H=>{const G=c(H);if(!G)return;k(8),b(f.orange),i.circle(l+2.5,g+1.5,1.2,"F"),w(f.slate800),d(8.5);const K=i.splitTextToSize(G,a-l*2-8);i.text(K,l+6,g+3),g+=K.length*5+1.5}),g+=1.5),k(7),w(f.orange),d(8),i.textWithLink("Find tours, tickets & transport for this day >",l+6,g+3,{url:m(`${j} Philippines tours tickets`)}),g+=7,O.accommodation){const H=c(O.accommodation);k(9),b(f.blue50),i.roundedRect(l,g,a-l*2,8,2,2,"F"),w(f.blue600),h(8);const G="Stay: ";i.text(G,l+4,g+5.5);const K=l+4+i.getTextWidth(G),R="Open in Maps >";d(7);const L=i.getTextWidth(R);h(8);const D=a-l-4-L-6-K,W=i.splitTextToSize(H,Math.max(D,20))[0]||H;i.textWithLink(W,K,g+5.5,{url:p(H)}),d(7),w(f.blue600),i.textWithLink(R,a-l-4-L,g+5.5,{url:p(H)}),g+=12}if(O.meals){const H=c(O.meals);d(8);const G=i.splitTextToSize(`Dining: ${H}`,a-l*2-8),K=G.length*4.6+3;k(K+2),b(f.green50),i.roundedRect(l,g,a-l*2,K,2,2,"F"),w(f.green600),h(8),i.text(G,l+4,g+5),g+=K+3}g+=4,M<e.days.length-1&&(k(4),x(f.slate100),i.setLineWidth(.3),i.line(l,g,a-l,g),g+=5)}),e.costBreakdown&&(k(55),g+=4,w(f.slate400),h(7),i.text("ESTIMATED COST BREAKDOWN",l,g),g+=5,[["Accommodation",e.costBreakdown.accommodation],["Meals & Dining",e.costBreakdown.meals],["Activities & Tours",e.costBreakdown.activities],["Transportation",e.costBreakdown.transportation]].filter(([,M])=>typeof M=="number"&&M>0).forEach(([M,j],H)=>{k(8),H%2===0&&(b(f.slate50),i.rect(l,g-1,a-l*2,8,"F")),w(f.slate600),d(9),i.text(M,l+4,g+5),w(f.navyMid),h(9),i.text(`${u}${j.toFixed(2)}`,a-l,g+5,{align:"right"}),g+=8}
88),k(12),b(f.orange),i.roundedRect(l,g,a-l*2,12,2,2,"F"),w(f.white),h(11),i.text("ESTIMATED TOTAL",l+5,g+8),i.text(`${u}${(e.costBreakdown.total||0).toFixed(2)}`,a-l-4,g+8,{align:"right"}),g+=16),k(12),g+=2,w(f.slate400),d(7),i.text('Tip: tap any hotel to open it in Google Maps, or "Find tours" to compare activities and prices.',l,g),g+=5,i.text("Prices are estimates in "+(n||"USD")+". Book early for the best rates.",l,g);const U=i.internal.getNumberOfPages();for(let O=1;O<=U;O++)i.setPage(O),b(f.navy),i.rect(0,s-12,a,12,"F"),w(f.white),d(7.5),i.textWithLink("Philippines Travel Planner · philippines-travel-planner.vercel.app",l,s-5,{url:"https://philippines-travel-planner.vercel.app"}),w(f.slate400),i.text(`Page ${O} of ${U}`,a-l,s-5,{align:"right"});const _=(c(e.name)||`itinerary-${t+1}`).replace(/[^a-z0-9\s]/gi,"").trim().replace(/\s+/g,"-").toLowerCase();i.save(`${_||"philippines-itinerary"}.pdf`)}function kg(e,t){typeof window<"u"&&typeof window.gtag=="function"&&window.gtag("event",e,t)}const bg=[{id:"1518509562904-e7ef99c
88dcc86",tags:["palawan","el nido","lagoon","limestone","bacuit"]},{id:"1542826438-bd32f43d626f",tags:["boracay","white beach","aklan"]},{id:"1598935888779-c59b51fa5965",tags:["siargao","surf","cloud 9","general luna"]},{id:"1504214208698-ea1916a2195a",tags:["coron","busuanga","kayangan","dive","wreck"]},{id:"1528360983277-13d401cdc186",tags:["bohol","chocolate hills","tarsier","loboc"]},{id:"1565073624-a5bfcbfb8058",tags:["cebu","oslob","whale shark","kawasan","malapascua"]},{id:"1559827260-dc66d52bef19",tags:["batanes","batan","sabtang","highlands","ivatan"]},{id:"1532274402911-5a369e4c4bb5",tags:["manila","intramuros","bgc","makati","tagaytay"]}],Sg="1518509562904-e7ef99cdcc86";function jg(e){const t=[e.name||"",e.theme||"",e.description||"",...(e.days||[]).map(n=>n.title||"")].join(" ").toLowerCase();for(const n of bg)if(n.tags.some(r=>t.includes(r)))return`https://images.unsplash.com/photo-${n.id}?w=900&q=80&fit=crop`;return`https://images.unsplash.com/photo-${Sg}?w=900&q=80&fit=crop`}const Cg=["ð","â¨","ðºï¸"];function Tg(e){var a,s,l,u,c,p;if(Array.isArray(e.highlights)&&e.highlights.length>0)return e.highlights.slice(0,3).map((m,f)=>({icon:Cg[f]||"â¦",text:m}));const t=[],n=(l=(s=(a=e.days)==null?void 0:a[0])==null?void 0:s.activities)==null?void 0:l[0];t.push({icon:"ð",text:n||e.description||"Island-hopping through pristine Philippine waters"});const r=(c=(u=e.days)==null?void 0:u[0])==null?void 0:c.accommodation;t.push({icon:"ð¨",text:r?`Stays at: ${r}`:"Curated accommodations matched to your budget"});const i=((p=e.days)==null?void 0:p.length)||"?";return t.push({icon:"â¨",text:e.theme?`${e.theme} â crafted for your exact budget`:`${i}-day adventure with full day-by-day activities`}),t}function Pg(){const e=new Date().getMonth(),t=[10,11,0,1,2,3],n=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];return t.includes(e)?{text:`âï¸ ${n[e]} â peak dry season`}:{text:`ð§ï¸ ${n[e]} â wet season / budget fares`}}function Eg({itinerary:e,index:t,currency:n,onSave:r}){var O;const[i,a]=E.useState(!1),[s,l]=E.useState(!1),[u,c]=E.useState(!1),[p,m]=E.useState(!1),[f,g]=E.useState(null),[b,x]=E.useState(!1),w=(M,j="error")=>{g({msg:M,type:j}),setTimeout(()=>g(null),4e3)};E.useEffect(()=>{const M=setTimeout(()=>c(!0),t*180);return()=>clearTimeout(M)},[t]);const h=()=>{var M;return(M=e.costBreakdown)!=null&&M.total?e.costBreakdown.total.toFixed(2):"0.00"},y=(M=>{const j=[{bgColor:"#00CEC9"},{bgColor:"#0984E3"},{bgColor:"#FF6B9D"}];return j[M%j.length]})(t),k=jg(e),T=Tg(e),B=Pg(),P=n==="USD"?"$":"â±",A=()=>{kg("admin_pdf_download",{itinerary_name:e.name||"Unnamed"});try{wg(e,t,n)}catch(M){console.error("PDF export error:",M),w("Could not build the PDF â check the console.")}},U=async()=>{var K;const M=h(),j=((K=e.days)==null?void 0:K.length)||"?",G=`${e.name||"Philippines Itinerary"} â ${j} days, ${P}${M} budget.`;try{await navigator.clipboard.writeText(G),l(!0),setTimeout(()=>l(!1),2500)}catch{w("Could not copy.")}},_=e.costBreakdown,V=_?[{icon:"ð¨",label:"Accommodation",val:_.accommodation},{icon:"ð½ï¸",label:"Meals",val:_.meals},{icon:"ð¯",label:"Activities",val:_.activities},{icon:"âï¸",label:"Transport",val:_.transportation}].filter(M=>typeof M.val=="number"&&M.val>0):[];return o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"itinerary-card",style:{opacity:u?1:0,transform:u?"translateY(0)":"translateY(28px)",transition:"opacity 0.5s ease, transform 0.5s ease",boxShadow:"0 4px 32px rgba(0,0,0,0.35)",display:"flex",flexDirection:"column"},children:[o.jsxs("div",{className:"card-header",style:{position:"relative",minHeight:200,overflow:"hidden"},children:[!p&&o.jsx("img",{src:k,alt:"","aria-hidden":"true",onError:()=>m(!0),style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",objectPosition:"center",zIndex:0}}),o.jsx("div",{style:{position:"absolute",inset:0,background:p?`linear-gradient(135deg, ${y.bgColor} 0%, ${y.bgColor}99 100%)`:`linear-gradient(160deg, ${y.bgColor}BB 0%, ${y.bgColor}44 30%, rgba(0,0,0,0.72) 100%)`,zIndex:1}}),o.jsx("div",{style:{position:"absolute",top:12,right:12,zIndex:3,background:"rgba(249,115,22,0.92)",backdropFilter:"blur(4px)",borderRadius:99,padding:"3px 10px",fontSize:9,fontWeight:700,color:"#fff",letterSpacing:.8,textTransform:"uppercase"},children:"⦠Client Draft"}),o.jsx("div",{style:{position:"absolute",top:12,left:12,zIndex:3,background:"rgba(0,0,0,0.45)",backdropFilter:"blur(4px)",borderRadius:99,padding:"3px 10px",fontSize:9,fontWeight:600,color:"#fff"},children:B.text}),o.jsxs("div",{style:{position:"absolute",bottom:0,left:0,right:0,zIndex:2,padding:"20px 18px 16px"},children:[o.jsx("h3",{className:"card-title",style:{textShadow:"0 1px 6px rgba(0,0,0,0.6)",fontSize:20,marginBottom:4},children:e.name||`ð¯ Itinerary ${t+1}`}),o.jsxs("p",{className:"card-subtitle",style:{textShadow:"0 1px 4px rgba(0,0,0,0.5)",fontSize:12,opacity:.9},children:[e.theme||"Philippines"," Experience"]})]}),!p&&o.jsx("p",{style:{position:"absolute",bottom:4,right:12,zIndex:3,fontSize:8,color:"rgba(255,255,255,0.3)",margin:0},children:"Photo: Unsplash"})]}),o.jsxs("div",{className:"card-body",style:{flex:1},children:[o.jsxs("div",{style:{background:"rgba(249,115,22,0.07)",borderRadius:12,padding:"14px 16px",marginBottom:16,border:"1px solid rgba(249,115,22,0.22)"},children:[o.jsx("p",{style:{fontSize:10,fontWeight:700,color:"#f97316",marginBottom:10,textTransform:"uppercase",letterSpacing:1.2},children:"⦠Trip Highlights"}),T.map((M,j)=>o.jsxs("div",{style:{display:"flex",gap:10,alignItems:"flex-start",marginBottom:j<2?9:0},children:[o.jsx("span",{style:{fontSize:15,flexShrink:0,lineHeight:1.35},children:M.icon}),o.jsx("span",{style:{fontSize:13,color:"var(--text-primary)",lineHeight:1.5,opacity:.9},children:M.text})]},j))]}),o.jsxs("div",{style:{minHeight:70,marginBottom:4},children:[e.days&&Array.isArray(e.days)&&e.days.length>0&&o.jsxs("div",{className:"itinerary-item",children:[o.jsx("span",{className:"day-label",children:e.days[0].title||"Day 1"}),Array.isArray(e.days[0].activities)?o.jsx("ul",{className:"activity-list",style:{margin:"6px 0 0",paddingLeft:0,listStyle:"none"},children:e.days[0].activities.slice(0,3).map((M,j)=>o.jsxs("li",{style:{fontSize:13,color:"var(--text-secondary)",marginBottom:3},children:["⢠",M]},j))}):o.jsx("p",{className:"activity-description",children:"Activities included"}),e.days[0].accommodation&&o.jsxs("p",{className:"accommodation-info",style:{fontSize:12,marginTop:6},children:["ð¨ ",o.jsx("i",{children:e.days[0].accommodation})]})]}),o.jsxs("button",{onClick:()=>a(!0),style:{background:"transparent",border:"none",color:"#f97316",fontSize:12,fontWeight:600,cursor:"pointer",padding:"8px 0",display:"block",width:"100%",textAlign:"center",letterSpacing:.3},children:["ð View full ",((O=e.days)==null?void 0:O.length)||"?","-day itinerary â"]}),V.length>0&&o.jsx("div",{style:{marginTop:2,background:"rgba(255,255,255,0.03)",borderRadius:10,padding:"10px 12px",border:"1px solid rgba(255,255,255,0.06)"},children:o.jsx("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"5px 12px"},children:V.map((M,j)=>o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",fontSize:12},children:[o.jsxs("span",{style:{color:"var(--text-secondary)"},children:[M.icon," ",M.label]}),o.jsxs("span",{style:{color:"var(--text-primary)",fontWeight:600}
88,children:[P,M.val.toLocaleString()]})]},j))})})]}),V.length>0?o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",borderTop:"1px solid rgba(255,255,255,0.08)",paddingTop:8,marginTop:8},children:[o.jsx("span",{style:{fontSize:13,color:"var(--text-secondary)",fontWeight:600},children:"ð° Estimated Total"}),o.jsxs("span",{style:{fontSize:20,fontWeight:800,color:"#f97316"},children:[P,h()]})]}):o.jsxs("div",{className:"cost-info",style:{marginTop:10},children:[o.jsx("span",{className:"cost-label",children:"Estimated Total"}),o.jsxs("span",{className:"cost-value",children:[P,h()]})]})]}),o.jsxs("div",{style:{padding:"16px 20px 20px",borderTop:"1px solid var(--border-color)"},children:[o.jsx("button",{onClick:A,onMouseEnter:()=>x(!0),onMouseLeave:()=>x(!1),style:{width:"100%",padding:"17px 24px",borderRadius:12,background:b?"linear-gradient(90deg, #ea6010, #e8a000)":"linear-gradient(90deg, #f97316, #f59e0b)",border:"none",color:"#fff",fontWeight:800,fontSize:16,cursor:"pointer",marginBottom:8,boxShadow:"0 6px 24px rgba(249,115,22,0.45)",transform:b?"scale(1.015)":"scale(1)",transition:"all 0.18s ease",letterSpacing:"0.2px"},children:"ð¥ Download Client PDF"}),o.jsx("p",{style:{textAlign:"center",fontSize:11,color:"var(--text-secondary)",opacity:.6,margin:"0 0 10px"},children:"Internal · deliver to the client only after they pay"}),r&&o.jsx("button",{onClick:r,style:{width:"100%",padding:"10px 16px",borderRadius:8,background:"rgba(255,255,255,0.06)",border:"1px solid rgba(255,255,255,0.12)",color:"var(--text-secondary)",fontWeight:600,fontSize:13,cursor:"pointer",marginBottom:8},children:"ð¾ Save to my trips"}),o.jsx("button",{onClick:U,style:{width:"100%",padding:"10px 16px",borderRadius:8,background:s?"rgba(0,206,201,0.12)":"rgba(255,255,255,0.06)",border:s?"1px solid #00CEC9":"1px solid rgba(255,255,255,0.12)",color:s?"#00CEC9":"var(--text-secondary)",fontWeight:600,fontSize:13,cursor:"pointer",transition:"all 0.2s"},children:s?"â
Copied!":"ð Copy trip summary"})]})]}),i&&o.jsx(mg,{itinerary:e,index:t,currency:n,onClose:()=>a(!1),onDownloadPDF:A}),f&&o.jsx("div",{style:{position:"fixed",bottom:28,left:"50%",transform:"translateX(-50%)",zIndex:9999,padding:"12px 22px",borderRadius:10,fontWeight:600,fontSize:14,boxShadow:"0 8px 32px rgba(0,0,0,0.4)",backdropFilter:"blur(8px)",whiteSpace:"nowrap",background:f.type==="success"?"rgba(22,163,74,0.95)":"rgba(220,38,38,0.95)",color:"#fff",border:"1px solid rgba(255,255,255,0.2)"},children:f.msg})]})}function Gu(e,t){const n=parseFloat(e)||500,r=parseInt(t)||7;return r<=7?n<=2e3?45:n<=7e3?60:90:r<=14?n<=2e3?60:n<=7e3?90:120:n<=2e3?90:n<=7e3?120:150}const Ku=[{pct:0,msg:"ðºï¸ Scanning 7,000+ Philippine islands for you..."},{pct:18,msg:"ðï¸ Finding hidden beach gems..."},{pct:35,msg:"ð Planning your day-by-day adventures..."},{pct:52,msg:"ð Curating real restaurants & local food..."},{pct:65,msg:"ð¨ Matching accommodation to your budget..."},{pct:76,msg:"ð° Calculating your cost breakdown..."},{pct:87,msg:"âï¸ Polishing your itinerary..."},{pct:94,msg:"ð Almost ready â just a few seconds more!"}],Yu=[{name:"Palawan",emoji:"ðï¸",tagline:"Last Frontier of the Philippines"},{name:"Boracay",emoji:"ð´",tagline:"World-famous white sand beaches"},{name:"Siargao",emoji:"ð",tagline:"The surfing capital of the Philippines"},{name:"El Nido",emoji:"âµ",tagline:"Hidden lagoons & limestone cliffs"},{name:"Cebu",emoji:"ð",tagline:"Whale sharks, waterfalls & history"},{name:"Bohol",emoji:"ð¦",tagline:"Chocolate Hills & ancient tarsiers"},{name:"Coron",emoji:"ð¤¿",tagline:"World-class wreck diving"},{name:"Batanes",emoji:"ð¿",tagline:"The untouched northern highlands"}],Bg=[{value:"focused",label:"Haven",sub:"1â2 islands · go deep"},{value:"medium",label:"Horizon",sub:"3â4 islands · the balance"},{value:"explore",label:"Odyssey",sub:"5â8 islands · see it all"}],Ng=["1500","3000","5000","8000"],Rg=["84000","168000","280000","450000"];function Ju(e,t){typeof window<"u"&&typeof window.gtag=="function"&&window.gtag("event",e,t)}function Ag({user:e,authToken:t,onLogin:n,onLogout:r,paidItineraryIdx:i}){const[a,s]=E.useState("3000"),[l,u]=E.useState("10"),[c,p]=E.useState("USD"),[m,f]=E.useState("medium"),[g,b]=E.useState([]),[x,w]=E.useState(!1),[h,d]=E.useState(""),[y,k]=E.useState(0),[T,B]=E.useState(""),[P,A]=E.useState(0),[U,_]=E.useState(!1),[V,O]=E.useState(0),[M,j]=E.useState(!0),[H,G]=E.useState(null),K=E.useRef(null),R=E.useRef(null),L=E.useRef(null),D=E.useRef(0);E.useEffect(()=>()=>{clearInterval(K.current),clearInterval(R.current)},[]);const W=()=>{D.current=0,O(0),j(!0),R.current=setInterval(()=>{j(!1),setTimeout(()=>{D.current=(D.current+1)%Yu.length,O(D.current),j(!0)},500)},3200)},ie=()=>clearInterval(R.current),ue=F=>{k(0),A(0),B(Ku[0].msg),L.current=Date.now(),K.current=setInterval(()=>{const be=Math.floor((Date.now()-L.current)/1e3);A(be);const Mt=Math.min(be/F*96,96);k(Mt);const sn=[...Ku].reverse().find(Io=>Mt>=Io.pct);sn&&B(sn.msg)},500)},ge=()=>{clearInterval(K.current),k(100),B("ð Your itinerary is ready!")},ke=async()=>{var yl,ml,gl,vl;const F=parseFloat(a),be=c==="PHP",Mt=be?28e3:500,sn=be?84e4:15e3;if(!F||F<Mt||F>sn){const kt=be?"â±":"$";d(`Budget must be between ${kt}
88${Mt.toLocaleString()} and ${kt}${sn.toLocaleString()}`);return}d(""),w(!0),b([]),_(!1),Ju("generate_itinerary",{budget:parseFloat(a),duration:parseInt(l),currency:c,island_scope:m});const Io=Gu(a,l);ue(Io),W();try{const kt=await Uu.generate(a,l,c,m);ge(),ie();const Tn=kt.data.itineraries||[];b(Tn),Tn.forEach(or=>{var ni;Ju("itinerary_displayed",{itinerary_name:or.name||"Unnamed",theme:or.theme||"General",total_cost:((ni=or.costBreakdown)==null?void 0:ni.total)||0})}),Tn.length>0&&(_(!0),setTimeout(()=>_(!1),6e3))}catch(kt){ge(),ie(),k(0),B("");const Tn=((ml=(yl=kt.response)==null?void 0:yl.data)==null?void 0:ml.error)||kt.message||"Failed to generate itinerary.",or=kt.code==="ECONNABORTED"||Tn.toLowerCase().includes("timeout"),ni=((gl=kt.response)==null?void 0:gl.status)===429,Dh=((vl=kt.response)==null?void 0:vl.status)===503;d(ni?"â±ï¸ You've generated 5 itineraries this hour â come back in a bit!":Dh?"ð The AI is super busy right now! Wait 30 seconds and try again.":or?`Request timed out after ${Math.floor(P/60)}m ${P%60}s. Please try again.`:Tn)}finally{w(!1)}},Be=(F,be="success")=>{G({msg:F,type:be}),setTimeout(()=>G(null),4e3)},je=async F=>{var be,Mt;try{await Uu.saveTrip(F),Be("â Itinerary saved to your trips!")}catch(sn){Be(((Mt=(be=sn.response)==null?void 0:be.data)==null?void 0:Mt.error)||"Failed to save. Please try again.","error")}},Z=Yu[V],ht=Gu(a,l),Ot=c==="USD"?Ng:Rg,it=new Date().getMonth(),Ne=[10,11,0,1,2,3].includes(it),N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ce=Ne?`âï¸ ${N[it]} is peak dry season â ideal for most islands`:`ð§ï¸ ${N[it]} is wet season â Palawan & Mindanao stay drier`;return o.jsxs("div",{className:"app-container",children:[o.jsx("style",{children:` 89 @keyframes ph-shimmer { 90 0% { background-position: 200% center; } 91 100% { background-position: -200% center; } 92 } 93 @keyframes ph-pulse { 94 0%, 100% { transform: scale(1); opacity: 1; } 95 50% { transform: scale(1.08); opacity: 0.85; } 96 } 97 @keyframes ph-float { 98 0%, 100% { transform: translateY(0); } 99 50% { transform: translateY(-6px); } 100 } 101 @keyframes successSlide { 102 from { opacity: 0; transform: translateY(-10px); } 103 to { opacity: 1; transform: translateY(0); } 104 } 105 @keyframes fadeInUp { 106 from { opacity: 0; transform: translateY(16px); } 107 to { opacity: 1; transform: translateY(0); } 108 } 109 `}),o.jsxs("div",{className:"planner-page",children:[o.jsx("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:8},children:e?o.jsxs("div",{style:{display:"flex",alignItems:"center",gap:12},children:[o.jsx("span",{style:{fontSize:13,color:"var(--text-secondary)"},children:e.email}),o.jsx("button",{onClick:r,style:{fontSize:12,padding:"4px 10px",borderRadius:6,border:"1px solid rgba(255,255,255,0.2)",background:"transparent",color:"var(--text-secondary)",cursor:"pointer"},children:"Log out"})]}):o.jsx("span",{style:{fontSize:12,color:"var(--text-secondary)",opacity:.55},children:"ð Internal tool · staff only"})}),g.length===0&&!x&&o.jsxs("div",{style:{textAlign:"center",padding:"16px 0 32px",animation:"fadeInUp 0.5s ease"},children:[o.jsx("div",{style:{fontSize:11,fontWeight:700,color:"#f97316",letterSpacing:2.5,textTransform:"uppercase",marginBottom:14},children:"⦠Internal · Client Itinerary Builder"}),o.jsxs("h1",{style:{fontSize:"clamp(34px, 5.5vw, 60px)",fontWeight:900,lineHeight:1.12,margin:"0 0 16px",color:"var(--text-primary)",letterSpacing:"-1px"},children:["Your perfect Philippines trip,",o.jsx("br",{}),o.jsx("span",{style:{background:"linear-gradient(90deg, #f97316, #fbbf24)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text"},children:"planned in 60 seconds."})," ","ðº"]}),o.jsx("p",{style:{fontSize:"clamp(15px, 2vw, 19px)",color:"var(--text-secondary)",margin:"0 auto 22px",maxWidth:500,lineHeight:1.6},children:"Tell us your budget. We handle Palawan, Siargao, Cebu â everything in between."}),o.jsx("div",{style:{display:"flex",gap:8,justifyContent:"center",flexWrap:"wrap",marginBottom:24},children:[{icon:"â",text:"Cost breakdown"},{icon:"â",text:"Export client PDF"},{icon:"â",text:"Day-by-day itinerary"},{icon:"â",text:"Real hotels & restaurants"}].map((F,be)=>o.jsxs("span",{style:{fontSize:12,color:"var(--text-secondary)",background:"rgba(255,255,255,0.06)",padding:"5px 14px",borderRadius:99,border:"1px solid rgba(255,255,255,0.1)"},children:[o.jsx("span",{style:{color:"#22c55e",marginRight:5},children:F.icon}),F.text]},be))}),o.jsxs("div",{style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(255,255,255,0.1)",borderRadius:16,padding:"16px 20px",maxWidth:440,margin:"0 auto",textAlign:"left"},children:[o.jsx("div",{style:{fontSize:10,fontWeight:700,color:"#f97316",letterSpacing:1.5,textTransform:"uppercase",marginBottom:10},children:"Sample output â what you'll get:"}),o.jsx("div",{style:{fontSize:14,fontWeight:700,color:"var(--text-primary)",marginBottom:6},children:'ðï¸ "Island Hopper: Palawan + Siargao" · 10 days · $1,800'}),["ð Day 1â4: El Nido lagoon tours & cliff diving","ð Day 5â7: Coron wreck snorkeling & hot springs","ð Day 8â10: Siargao surf lessons & island parties"].map((F,be)=>o.jsx("div",{style:{fontSize:13,color:"var(--text-secondary)",opacity:.85,marginBottom:4},children:F},be)),o.jsxs("div",{style:{marginTop:12,paddingTop:10,borderTop:"1px solid rgba(255,255,255,0.08)",display:"flex",gap:14,fontSize:11,color:"var(--text-secondary)",opacity:.7},children:[o.jsx("span",{children:"ð¨ Hotels included"}),o.jsx("span",{children:"ð Restaurants picked"}),o.jsx("span",{children:"ð° Cost breakdown"})]})]})]}),g.length>0&&!x&&o.jsxs("div",{className:"planner-header",style:{paddingTop:8},children:[o.jsx("h1",{children:"ðº Plan Your Philippine Adventure"}),o.jsxs("p",{children:[e?`Welcome back, ${e.email}! `:"","Answer 3 questions, get your perfect itinerary in minutes"]})]}),U&&o.jsxs("div",{style:{background:"linear-gradient(135deg, rgba(249,115,22,0.15), rgba(251,191,36,0.1))",border:"1px solid rgba(249,115,22,0.4)",borderRadius:14,padding:"14px 20px",marginBottom:16,display:"flex",alignItems:"center",gap:12,animation:"successSlide 0.4s ease"},children:[o.jsx("span",{style:{fontSize:24},children:"ðº"}),o.jsxs("div",{children:[o.jsx("p",{style:{fontSize:15,fontWeight:700,color:"#f97316",margin:"0 0 2px"},children:"Your perfect Philippines trip is ready!"}),o.jsx("p",{style:{fontSize:12,color:"var(--text-secondary)",margin:0},children:"Scroll down to review the draft · Download the client PDF"})]})]}),o.jsxs("div",{className:"selector-container",children:[o.jsxs("div",{className:"selector-card",children:[o.jsx("label",{className:"selector-label",children:"Budget"}),o.jsx("input",{type:"number",className:"selector-input",value:a,onChange:F=>s(F.target.value),min:c==="PHP"?"28000":"500",max:c==="PHP"?"840000":"15000",disabled:x}),o.jsx("div",{style:{display:"flex",gap:5,flexWrap:"wrap",marginTop:8},children:Ot.map(F=>o.jsxs("button",{onClick:()=>s(F),disabled:x,style:{padding:"3px 9px",borderRadius:99,fontSize:11,fontWeight:600,border:a===F?"1px solid #f97316":"1px solid rgba(255,255,255,0.15)",background:a===F?"rgba(249,115,22,0.15)":"rgba(255,255,255,0.04)",color:a===F?"#f97316":"var(--text-secondary)",cursor:x?"not-allowed":"pointer",transition:"all 0.15s"}
109,children:[c==="USD"?"$":"â±",parseInt(F).toLocaleString()]},F))}),o.jsxs("div",{className:"currency-toggle",style:{marginTop:10},children:[o.jsx("button",{className:`currency-btn ${c==="USD"?"active":""}`,onClick:()=>p("USD"),disabled:x,children:"USD $"}),o.jsx("button",{className:`currency-btn ${c==="PHP"?"active":""}`,onClick:()=>p("PHP"),disabled:x,children:"PHP â±"})]})]}),o.jsxs("div",{className:"selector-card",children:[o.jsx("label",{className:"selector-label",children:"Duration"}),o.jsx("input",{type:"range",className:"selector-input",value:l,onChange:F=>u(F.target.value),min:"5",max:"21",disabled:x}),o.jsxs("div",{className:"range-value",children:[l," days"]})]})]}),o.jsxs("div",{style:{marginBottom:20},children:[o.jsx("p",{style:{fontSize:14,fontWeight:600,color:"var(--text-primary)",marginBottom:12,textAlign:"center"},children:"How do you want to explore the Philippines?"}),o.jsx("div",{style:{display:"flex",gap:10,justifyContent:"center",flexWrap:"wrap"},children:Bg.map(F=>o.jsxs("button",{onClick:()=>f(F.value),disabled:x,style:{padding:"10px 16px",borderRadius:12,border:m===F.value?"2px solid #f97316":"1px solid rgba(255,255,255,0.15)",background:m===F.value?"rgba(249,115,22,0.15)":"rgba(255,255,255,0.05)",color:m===F.value?"#f97316":"var(--text-secondary)",cursor:x?"not-allowed":"pointer",textAlign:"center",minWidth:110,transition:"all 0.2s"},children:[o.jsx("div",{style:{fontSize:14,fontWeight:600},children:F.label}),o.jsx("div",{style:{fontSize:11,opacity:.8,marginTop:2},children:F.sub})]},F.value))})]}),o.jsx("div",{style:{textAlign:"center",marginBottom:18},children:o.jsx("span",{style:{fontSize:11,padding:"5px 16px",borderRadius:99,background:Ne?"rgba(0,206,201,0.08)":"rgba(249,115,22,0.08)",border:`1px solid ${Ne?"rgba(0,206,201,0.25)":"rgba(249,115,22,0.25)"}`,color:Ne?"#00CEC9":"#f97316"},children:ce})}),h&&o.jsx("div",{className:"error-message",children:h}),o.jsx("button",{className:"generate-button",onClick:ke,disabled:x||!a||!l,style:{position:"relative"},children:x?"â³ Generating...":"⨠Generate My Itinerary"}),!x&&g.length===0&&o.jsx("p",{style:{textAlign:"center",fontSize:12,color:"var(--text-secondary)",opacity:.65,marginTop:-28,marginBottom:24},children:"⨠Builds a verified day-by-day draft · Results in ~60â90 seconds"}),x&&o.jsxs("div",{style:{background:"rgba(255,255,255,0.04)",borderRadius:20,padding:"36px 28px 32px",margin:"20px 0",border:"1px solid rgba(255,255,255,0.08)",textAlign:"center",animation:"fadeInUp 0.4s ease"},children:[o.jsxs("div",{style:{opacity:M?1:0,transform:M?"translateY(0)":"translateY(12px)",transition:"opacity 0.45s ease, transform 0.45s ease",marginBottom:28},children:[o.jsx("div",{style:{fontSize:56,lineHeight:1,marginBottom:12,display:"inline-block",animation:"ph-pulse 3s ease-in-out infinite"},children:Z.emoji}),o.jsxs("p",{style:{fontSize:22,fontWeight:800,color:"var(--text-primary)",marginBottom:5,letterSpacing:"-0.5px"},children:["Exploring ",Z.name,"..."]}),o.jsx("p",{style:{fontSize:13,color:"var(--text-secondary)",opacity:.75,fontStyle:"italic"},children:Z.tagline})]}),o.jsx("div",{style:{background:"rgba(255,255,255,0.08)",borderRadius:99,height:10,width:"100%",maxWidth:420,margin:"0 auto 14px",overflow:"hidden",boxShadow:"inset 0 1px 3px rgba(0,0,0,0.2)"},children:o.jsx("div",{style:{height:"100%",borderRadius:99,width:`${y}%`,transition:"width 0.5s ease",background:"linear-gradient(90deg, #f97316, #fbbf24, #f97316)",backgroundSize:"200% 100%",animation:"ph-shimmer 1.8s linear infinite"}})}),o.jsx("p",{style:{fontSize:15,color:"var(--text-primary)",marginBottom:6,fontWeight:600},children:T}),o.jsxs("p",{style:{fontSize:12,color:"var(--text-secondary)",opacity:.6,marginBottom:14},children:[P,"s elapsed · Est. ",ht,"s total · ",Math.round(y),"% complete"]}),o.jsxs("div",{style:{display:"inline-flex",alignItems:"center",gap:7,background:"rgba(249,115,22,0.1)",border:"1px solid rgba(249,115,22,0.25)",borderRadius:99,padding:"6px 16px",fontSize:12,color:"#f97316"},children:[o.jsx("span",{children:"â¡"}),o.jsx("span",{children:"Keep this tab open â AI is crafting your itinerary"})]})]}),g.length>0&&o.jsx("div",{className:"itineraries-container",children:g.map((F,be)=>o.jsx(Eg,{itinerary:F,index:be,currency:c,onSave:e?()=>je(F):null},be))}),g.length>0&&!x&&o.jsx("div",{style:{textAlign:"center",margin:"16px 0 8px"},children:o.jsx("button",{onClick:ke,style:{background:"transparent",border:"1px solid rgba(255,255,255,0.18)",color:"var(--text-secondary)",borderRadius:99,padding:"9px 24px",fontSize:13,cursor:"pointer",transition:"all 0.2s"},onMouseEnter:F=>{F.currentTarget.style.borderColor="#f97316",F.currentTarget.style.color="#f97316"},onMouseLeave:F=>{F.currentTarget.style.borderColor="rgba(255,255,255,0.18)",F.currentTarget.style.color="var(--text-secondary)"},children:"ð Try a Different Route"})}),g.length===0&&!x&&o.jsx("div",{style:{textAlign:"center",padding:"20px 20px 10px",color:"var(--text-secondary)"},children:o.jsx("p",{style:{fontSize:12,opacity:.5},children:"1 curated client draft · Takes ~60â90 seconds · Then export the PDF"})})]}),H&&o.jsx("div",{style:{position:"fixed",bottom:28,left:"50%",transform:"translateX(-50%)",zIndex:9999,padding:"12px 22px",borderRadius:10,fontWeight:600,fontSize:14,boxShadow:"0 8px 32px rgba(0,0,0,0.4)",backdropFilter:"blur(8px)",whiteSpace:"nowrap",animation:"fadeInDown 0.25s ease",background:H.type==="error"?"rgba(220,38,38,0.95)":"rgba(22,163,74,0.95)",color:"#fff",border:"1px solid rgba(255,255,255,0.2)"},children:H.msg})]})}function Ig({onNavigate:e}){const t={maxWidth:680,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.75},n={display:"inline-flex",alignItems:"center",gap:6,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",marginBottom:36,opacity:.75,transition:"opacity 0.2s"},r={width:"100%",maxWidth:360,borderRadius:16,display:"block",margin:"0 auto 40px",objectFit:"cover",boxShadow:"0 8px 32px rgba(0,0,0,0.4)"},i={fontSize:30,fontWeight:800,marginBottom:12,lineHeight:1.2},a={fontSize:16,color:"var(--text-secondary)",marginBottom:40,lineHeight:1.6},s={fontSize:17,fontWeight:700,marginTop:40,marginBottom:12,color:"#f97316",letterSpacing:"-0.01em"},l={color:"var(--text-secondary)",marginBottom:16,fontSize:15,lineHeight:1.75},u={border:"none",borderTop:"1px solid rgba(255,255,255,0.08)",margin:"40px 0"},c={display:"flex",flexWrap:"wrap",gap:10,marginTop:16,marginBottom:8},p={background:"rgba(249,115,22,0.12)",border:"1px solid rgba(249,115,22,0.25)",color:"#f97316",borderRadius:20,padding:"4px 14px",fontSize:13,fontWeight:600},m={display:"block",width:"100%",maxWidth:280,margin:"0 auto",padding:"14px 32px",background:"linear-gradient(135deg, #f97316 0%, #f59e0b 100%)",color:"#fff",fontWeight:700,fontSize:15,border:"none",borderRadius:10,cursor:"pointer",textAlign:"center"};return o.jsx("div",{className:"app-container",children:o.jsxs("div",{style:t,children:[o.jsx("span",{style:n,onClick:()=>e("home"),onMouseEnter:f=>f.currentTarget.style.opacity=1,onMouseLeave:f=>f.currentTarget.style.opacity=.75,children:"â Back"}),o.jsx("img",{src:"/zayn.jpg",alt:"Zayn, founder of Philippines Travel Planner",style:r}),o.jsx("h1",{style:i,children:"Hi, I'm Zayn."}
109),o.jsx("p",{style:a,children:"I'm a solo founder based in the US â and I plan Philippines trips for people who don't want to spend weeks figuring it out themselves."}),o.jsx("hr",{style:u}),o.jsx("h2",{style:s,children:"How this started"}),o.jsx("p",{style:l,children:"My partner is from Manila. A few years ago, he brought me to the Philippines to experience his home country â and I fell completely in love with it."}),o.jsx("p",{style:l,children:"Since then, I've traveled extensively across the islands. Bohol, Siargao, Palawan, Siquijor, Manila, and several provinces off the usual tourist track. Each trip taught me something the travel blogs don't mention: the Philippines is genuinely hard to navigate if you don't know it."}),o.jsx("p",{style:l,children:"Getting between islands, figuring out which ferry is reliable, knowing which resorts are worth the money versus which ones just photograph well â none of that is obvious from the outside. And the travel agents who claim to know? Most charge a fortune for something they templated in ten minutes."}),o.jsx("p",{style:l,children:"So I started doing it myself for people. My partner's local knowledge from Manila backs everything I build. Every plan I deliver is verified by hand â real hotels with real prices, real ferry routes, real contingencies for weather and timing. No templates, no upsells."}),o.jsx("hr",{style:u}),o.jsx("h2",{style:s,children:"Islands I've personally traveled"}),o.jsx("div",{style:c,children:["Bohol","Siargao","Palawan","Siquijor","Manila","Provincial PH"].map(f=>o.jsx("span",{style:p,children:f},f))}),o.jsx("p",{style:{...l,marginTop:16},children:"Not just visited â stayed long enough to know where to eat, what to skip, and what's worth the extra travel time."}),o.jsx("hr",{style:u}),o.jsx("h2",{style:s,children:"What I actually do"}),o.jsx("p",{style:l,children:"You fill out a short form, we hop on a 30-minute call, and I build you a full day-by-day itinerary: where to stay, what to do, how to get between islands, what things actually cost, and a PDF you can book directly from."}),o.jsx("p",{style:l,children:"Three tiers depending on how much you want handed to you â from itinerary only ($297) to fully collaborative planning where I handle the bookings alongside you ($800â1,500). You don't pay until you're happy with the plan."}),o.jsx("hr",{style:u}),o.jsxs("div",{style:{textAlign:"center",marginTop:8},children:[o.jsx("button",{style:m,onClick:()=>e("home"),children:"Plan my Philippines trip â"}),o.jsxs("p",{style:{...l,marginTop:16,fontSize:13,textAlign:"center",opacity:.7},children:["Questions? Reach me at"," ",o.jsx("a",{href:"mailto:[email protected]",style:{color:"#f97316"},children:"[email protected]"})]})]})]})})}function Dg({onNavigate:e}){const t={maxWidth:680,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.75},n={fontSize:26,fontWeight:700,marginBottom:4},r={fontSize:17,fontWeight:700,marginTop:32,marginBottom:8},i={color:"var(--text-secondary)",marginBottom:14,fontSize:14},a={display:"inline-flex",alignItems:"center",gap:6,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",marginBottom:32,opacity:.75};return o.jsx("div",{className:"app-container",children:o.jsxs("div",{style:t,children:[o.jsx("span",{style:a,onClick:()=>e("planner"),children:"â Back to Planner"}),o.jsx("h1",{style:n,children:"Privacy Policy"}),o.jsx("p",{style:{...i,marginBottom:28},children:"Last updated: May 2026"}),o.jsxs("p",{style:i,children:['Philippines Travel Planner ("we," "us," "our") operates the Philippines Travel Planner service at'," ",o.jsx("a",{href:"https://philippines-travel-planner.vercel.app",style:{color:"#f97316"},children:"philippines-travel-planner.vercel.app"}),". This Privacy Policy explains what information we collect, how we use it, and your rights."]}),o.jsx("h2",{style:r,children:"1. Information We Collect"}),o.jsxs("p",{style:i,children:[o.jsx("strong",{children:"Email address:"})," We collect your email address when you submit your trip details or book a call. We use it to reach you about your trip and to send service emails related to your enquiry."]}),o.jsxs("p",{style:i,children:[o.jsx("strong",{children:"Trip preferences:"})," We collect the budget, trip duration, dates, travel style, and any notes you provide when you submit the trip form. We use this to design your itinerary and to prepare for your call, and may use aggregated, anonymized data to improve the service."]}),o.jsxs("p",{style:i,children:[o.jsx("strong",{children:"Usage data:"})," We may collect basic usage analytics (pages visited, features used) to understand how people use the product. This data is aggregated and not linked to individual identities."]}),o.jsx("h2",{style:r,children:"2. How We Use Your Information"}),o.jsx("p",{style:i,children:"We use the information we collect to:"}),o.jsxs("ul",{style:{...i,paddingLeft:20},children:[o.jsx("li",{style:{marginBottom:6},children:"Design your custom itinerary and prepare for your call"}),o.jsx("li",{style:{marginBottom:6},children:"Contact you about your trip enquiry"}),o.jsx("li",{style:{marginBottom:6},children:"Send service emails related to your enquiry"}),o.jsx("li",{style:{marginBottom:6},children:"Analyze aggregate usage patterns to improve the service"})]}),o.jsx("h2",{style:r,children:"3. We Do Not Sell Your Data"}),o.jsx("p",{style:i,children:"We do not sell, rent, or trade your personal information to third parties. We do not use your data for advertising or share it with advertisers."}),o.jsx("h2",{style:r,children:"4. Third-Party Services"}),o.jsx("p",{style:i,children:"We use the following third-party services to operate the product:"}),o.jsxs("ul",{style:{...i,paddingLeft:20},children:[o.jsxs("li",{style:{marginBottom:6},children:[o.jsx("strong",{children:"Anthropic Claude API"})," â used internally as a drafting aid while we design your itinerary. Your trip preferences may be sent to the Anthropic API as part of preparing your plan. Anthropic's privacy policy applies to that processing."]}),o.jsxs("li",{style:{marginBottom:6},children:[o.jsx("strong",{children:"Vercel"})," â hosts our frontend. Standard request logs may be retained per Vercel's data policy."]}),o.jsxs("li",{style:{marginBottom:6},children:[o.jsx("strong",{children:"Render"})," â hosts our backend. Standard server logs apply."]}),o.jsxs("li",{style:{marginBottom:6},children:[o.jsx("strong",{children:"Klook / Awin"})," â affiliate booking platform. Clicking booking links may set cookies per Klook's and Awin's privacy policies."]})]}),o.jsx("h2",{style:r,children:"5. Cookies"}),o.jsx("p",{style:i,children:"We use a single localStorage token to keep you logged in between sessions. We do not use third-party tracking cookies. Affiliate booking links may set cookies on the destination site (Klook, etc.) per their own policies."}),o.jsx("h2",{style:r,children:"6. Data Retention"}),o.jsx("p",{style:i,children:"We store account and trip data securely on our server. If you want your data deleted at any time, email us at [email protected] and we will remove it promptly."}),o.jsx("h2",{style:r,children:"7. Your Rights"}),o.jsxs("p",{style:i,children:["You have the right to access, correct, or delete your personal data at any time. To exercise these rights, contact us at"," ",o.jsx("a",{href:"mailto:[email protected]",style:{color:"#f97316"},children:"[email protected]"}),"."]}),o.jsx("h2",{style:r,children:"8. Children's Privacy"}),o.jsx("p",{style:i,children:"Our service is not directed at children under 13. We do not knowingly collect personal information from children under 13."}),o.jsx("h2",{style:r,children:"9. Changes to This Policy"}),o.jsx("p",{style:i,children:"We may update this policy as the product evolves. We will post the updated date at the top of this page. Material changes will be communicated via the email address on your account."}),o.jsx("h2",{style:r,children:"10. Contact"}),o.jsxs("p",{style:i,children:["Questions about this policy:"," ",o.jsx("a",{href:"mailto:[email protected]",style:{color:"#f97316"},children:"[email protected]"})]})]})})}function zg({onNavigate:e}){const t={maxWidth:680,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.75},n={fontSize:26,fontWeight:700,marginBottom:4},r={fontSize:17,fontWeight:700,marginTop:32,marginBottom:8},i={color:"var(--text-secondary)",marginBottom:14,fontSize:14},a={display:"inline-flex",alignItems:"center",gap:6,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",marginBottom:32,opacity:.75};return o.jsx("div",{className:"app-container",children:o.jsxs("div",{style:t,children:[o.jsx("span",{style:a,onClick:()=>e("planner"),children:"â Back to Planner"}),o.jsx("h1",{style:n,children:"Terms of Service"}),o.jsx("p",{style:{...i,marginBottom:28},children:"Last updated: May 2026"}),o.jsxs("p",{style:i,children:['By using Philippines Travel Planner ("the Service") at'," ",o.jsx("a",{href:"https://philippines-travel-planner.vercel.app",style:{color:"#f97316"},children:"philippines-travel-planner.vercel.app"}),", you agree to these Terms of Service. Please read them before using the product."]}),o.jsx("h2",{style:r,children:"1. What the Service Does"}),o.jsx("p",{style:i,children:"Philippines Travel Planner is a trip-design service that creates custom travel itineraries for trips to the Philippines. Itineraries are designed and reviewed by hand based on the preferences you provide and are intended as detailed trip plans, not as professional travel advice."}),o.jsx("h2",{style:r,children:"2. No Professional Travel Advice"}),o.jsx("p",{style:i,children:"The itineraries, cost estimates, activity suggestions, and accommodation recommendations provided by this Service are planning suggestions only. They are not professional travel advice, and we make no guarantees about their accuracy, completeness, or suitability for your specific situation."}),o.jsx("p",{style:i,children:"Always verify visa requirements, travel advisories, activity availability, and pricing independently before booking. Check your government's official travel advisory for the Philippines before you travel."}),o.jsx("h2",{style:r,children:"3. Accuracy of Cost Estimates"}),o.jsx("p",{style:i,children:"Cost estimates provided in your itinerary are approximate and for planning purposes only. Actual costs will vary based on season, availability, exchange rates, personal spending, and many other factors. We are not responsible for any financial decisions made based on these estimates."}),o.jsx("h2",{style:r,children:"4. User Accounts"}),o.jsx("p",{style:i,children:"We use email-only authentication â no password is required. By providing your email address, you represent that you are the legitimate owner of that address and are at least 13 years old. You are responsible for maintaining the security of your account."}),o.jsx("h2",{style:r,children:"5. Acceptable Use"}),o.jsx("p",{style:i,children:"You agree not to:"}),o.jsxs("ul",{style:{...i,paddingLeft:20},children:[o.jsx("li",{style:{marginBottom:6},children:"Use the Service to generate content for resale without our written permission"}),o.jsx("li",{style:{marginBottom:6},children:"Attempt to reverse-engineer, scrape, or systematically extract data from the Service"}),o.jsx("li",{style:{marginBottom:6},children:"Resell or redistribute our itineraries without written permission"}),o.jsx("li",{style:{marginBottom:6},children:"Use the Service for any unlawful purpose"})]}),o.jsx("h2",{style:r,children:"6. Affiliate Links"}),o.jsx("p",{style:i,children:"Some itinerary recommendations include affiliate links to third-party booking platforms (e.g., Klook). If you click and book through these links, we earn a small commission at no additional cost to you. We are not responsible for the content, pricing, availability, or conduct of third-party booking platforms. Your purchase is a transaction between you and the third party."}),o.jsx("h2",{style:r,children:"7. Intellectual Property"}),o.jsx("p",{style:i,children:"The Philippines Travel Planner platform, brand, and software are owned by Philippines Travel Planner. The itinerary text we produce for you is provided for your personal use. You may not resell or redistribute our itineraries without permission."}),o.jsx("h2",{style:r,children:"8. Limitation of Liability"}),o.jsx("p",{style:i,children:"To the maximum extent permitted by law, Philippines Travel Planner is not liable for any indirect, incidental, special, or consequential damages arising from your use of the Service, including travel decisions made based on the itineraries we provide."}),o.jsx("p",{style:i,children:'The Service is provided "as is" without warranties of any kind, express or implied.'}),o.jsx("h2",{style:r,children:"9. Termination"}),o.jsx("p",{style:i,children:"We reserve the right to suspend or terminate access to the Service at any time, for any reason, without notice. We may al
109so discontinue the Service at any time."}),o.jsx("h2",{style:r,children:"10. Changes to These Terms"}),o.jsx("p",{style:i,children:"We may update these Terms at any time. Continued use of the Service after an update constitutes acceptance of the new Terms. Material changes will be communicated via email."}),o.jsx("h2",{style:r,children:"11. Governing Law"}),o.jsx("p",{style:i,children:"These Terms are governed by the laws of the United States. Any disputes will be resolved in the applicable courts of the United States."}),o.jsx("h2",{style:r,children:"12. Contact"}),o.jsxs("p",{style:i,children:["Questions about these Terms:"," ",o.jsx("a",{href:"mailto:[email protected]",style:{color:"#f97316"},children:"[email protected]"})]})]})})}function _g({onNavigate:e}){const t={maxWidth:680,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.75},n={fontSize:26,fontWeight:700,marginBottom:4},r={fontSize:17,fontWeight:700,marginTop:32,marginBottom:8},i={color:"var(--text-secondary)",marginBottom:14,fontSize:14},a={display:"inline-flex",alignItems:"center",gap:6,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",marginBottom:32,opacity:.75},s={background:"rgba(249,115,22,0.08)",border:"1px solid rgba(249,115,22,0.25)",borderRadius:10,padding:"16px 20px",marginBottom:28};return o.jsx("div",{className:"app-container",children:o.jsxs("div",{style:t,children:[o.jsx("span",{style:a,onClick:()=>e("planner"),children:"â Back to Planner"}),o.jsx("h1",{style:n,children:"Affiliate & Sponsorship Disclosures"}),o.jsx("p",{style:{...i,marginBottom:28},children:"Last updated: May 2026"}),o.jsx("div",{style:s,children:o.jsx("p",{style:{...i,margin:0,fontWeight:600,color:"var(--text-primary)"},children:"ð Short version: Some links in our itineraries earn us a small commission if you book. We only include links to experiences we'd actually recommend. This never affects which experiences we recommend to you."})}),o.jsx("h2",{style:r,children:"FTC Disclosure"}),o.jsx("p",{style:i,children:"In accordance with the Federal Trade Commission's guidelines on endorsements and testimonials (16 CFR Part 255), Philippines Travel Planner discloses that some links within the itineraries we provide and on this website are affiliate links. This means we may earn a commission if you click a link and make a purchase, at no additional cost to you."}),o.jsx("h2",{style:r,children:"How Our Affiliate Links Work"}),o.jsx("p",{style:i,children:'In the itinerary we deliver, you may see booking buttons labeled with activity names (e.g., "Book Island Hopping â" or "Explore El Nido â"). These link to search results or activity pages on Klook and potentially other travel booking platforms.'}),o.jsx("p",{style:i,children:"If you complete a booking through one of these links, we receive a small referral commission from the booking platform. The price you pay is the same whether or not you use our link."}),o.jsx("h2",{style:r,children:"Affiliate Partners"}),o.jsx("p",{style:i,children:"We currently work with or plan to work with the following affiliate programs:"}),o.jsxs("ul",{style:{...i,paddingLeft:20},children:[o.jsxs("li",{style:{marginBottom:8},children:[o.jsx("strong",{children:"Klook"})," â a leading travel activities and experiences booking platform. We link to Klook search results for activities mentioned in your itinerary. Commission rates vary by activity."]}),o.jsxs("li",{style:{marginBottom:8},children:[o.jsx("strong",{children:"Awin"})," â an affiliate marketing network we use to track referrals and process commissions."]})]}),o.jsx("p",{style:i,children:"We may add additional affiliate partners over time. This page will be updated when we do."}),o.jsx("h2",{style:r,children:"Editorial Independence"}
109),o.jsx("p",{style:i,children:"Affiliate relationships do not influence the itineraries we design. Recommendations are based solely on your budget, dates, and travel style. Affiliate links are matched to relevant activities after the itinerary is written â they never change which destinations, hotels, or experiences we recommend."}),o.jsx("p",{style:i,children:"No activity, tour operator, or travel company pays us to be featured or recommended in itineraries."}),o.jsx("h2",{style:r,children:"Sponsored Content"}),o.jsx("p",{style:i,children:'Philippines Travel Planner does not currently publish sponsored content. If we accept sponsorships in the future, we will clearly label all sponsored content with "Sponsored" or "Paid Partnership" disclosure in accordance with FTC guidelines.'}),o.jsx("h2",{style:r,children:"Questions"}),o.jsxs("p",{style:i,children:["If you have any questions about our affiliate relationships or this disclosure, please contact us at"," ",o.jsx("a",{href:"mailto:[email protected]",style:{color:"#f97316"},children:"[email protected]"}),"."]})]})})}function Xu({onNavigate:e}){const t=new Date().getFullYear(),n={color:"var(--text-secondary)",textDecoration:"none",fontSize:12,opacity:.75,cursor:"pointer",transition:"opacity 0.2s"};return o.jsxs("footer",{style:{width:"100%",padding:"24px 16px",textAlign:"center",borderTop:"1px solid rgba(255,255,255,0.08)",marginTop:40},children:[o.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"center",gap:"8px 20px",marginBottom:12},children:[o.jsx("span",{style:n,onClick:()=>e("about"),onMouseEnter:r=>r.target.style.opacity=1,onMouseLeave:r=>r.target.style.opacity=.75,children:"About"}),o.jsx("span",{style:n,onClick:()=>e("privacy"),onMouseEnter:r=>r.target.style.opacity=1,onMouseLeave:r=>r.target.style.opacity=.75,children:"Privacy Policy"}),o.jsx("span",{style:n,onClick:()=>e("terms"),onMouseEnter:r=>r.target.style.opacity=1,onMouseLeave:r=>r.target.style.opacity=.75,children:"Terms of Service"}),o.jsx("span",{style:n,onClick:()=>e("disclosures"),onMouseEnter:r=>r.target.style.opacity=1,onMouseLeave:r=>r.target.style.opacity=.75,children:"Affiliate Disclosures"})]}),o.jsxs("p",{style:{fontSize:11,color:"var(--text-secondary)",opacity:.5,margin:0},children:["© ",t," Philippines Travel Planner · Built by a traveler, for travelers ð´"]})]})}const $={page:{maxWidth:780,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.8},back:{marginBottom:32,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",opacity:.75},h1:{fontSize:30,fontWeight:800,marginBottom:16,color:"var(--text-primary)",lineHeight:1.3},h2:{fontSize:22,fontWeight:700,marginTop:40,marginBottom:12,color:"var(--text-primary)"},h3:{fontSize:17,fontWeight:700,marginTop:24,marginBottom:8,color:"var(--text-primary)"},p:{marginBottom:16,color:"var(--text-secondary)"},faqQ:{fontWeight:700,color:"var(--text-primary)",marginTop:24,marginBottom:6},cta:{background:"linear-gradient(135deg, #0057a8, #0099ff)",borderRadius:16,padding:"40px 32px",textAlign:"center",marginTop:56},ctaBtn:{background:"#fff",color:"#0057a8",padding:"14px 32px",borderRadius:100,fontWeight:700,border:"none",cursor:"pointer",fontSize:16,marginTop:16}};function Lg({onNavigate:e}){return E.useEffect(()=>{document.title="Palawan Itinerary: 7-Day Travel Guide (2026) | Philippines Travel Planner";const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:"Palawan Itinerary: The Ultimate 7-Day Travel Guide (2026)",description:"A complete 7-day Palawan itinerary covering Puerto Princesa, El Nido island hopping, and Coron. Includes day-by-day plans, budget tips, and practical travel info.",author:{"@type":"Person",name:"Zayn Rodondi",url:"https://rodondigrowth.com"},publisher:{"@type":"Organization",name:"Philippines Travel Planner",url:"https://philippines-travel-planner.vercel.app"},datePublished:"2026-06-30",dateModified:"2026-06-30",mainEntityOfPage:"https://philippines-travel-planner.vercel.app/destinations/palawan"}),document.head.appendChild(t),()=>document.head.removeChild(t)},[]),o.jsxs("div",{style:$.page,children:[o.jsx("div",{style:$.back,onClick:()=>e("home"),children:"â Back to Philippines Travel Planner"}),o.jsx("h1",{style:$.h1,children:"Palawan Itinerary: The Ultimate 7-Day Travel Guide (2026)"}),o.jsx("p",{style:$.p,children:"Palawan is consistently ranked the world's best island, and for good reason. It offers everything â dramatic limestone karsts rising from turquoise water, secret lagoons accessible only by kayak, pristine white sand beaches, and world-class wreck diving â all with a fraction of the crowds you'd find in Thailand or Bali. The best time to visit Palawan is November through May, during the dry season. July through September brings typhoon risk and rough seas that can cancel island-hopping tours."}),o.jsx("h2",{style:$.h2,children:"7-Day Palawan Itinerary"}),o.jsx("h3",{style:$.h3,children:"Day 1 â Arrive in Puerto Princesa"}),o.jsx("p",{style:$.p,children:"Fly into Puerto Princesa (PPS) from Manila â Cebu Pacific and AirAsia both fly multiple times daily (1h15m, from â±800-2,500 one way). Settle into your hotel in the city. In the evening, walk the Baywalk along Honda Bay for sunset, then have dinner at Ka Lui Restaurant â a local institution famous for its seafood set meals served on bamboo plates. Book your Underground River tour tonight if you haven't already."}),o.jsx("h3",{style:$.h3,children:"Day 2 â Puerto Princesa Underground River"}),o.jsx("p",{style:$.p,children:"The Puerto Princesa Subterranean River is a UNESCO World Heritage Site and one of the New Seven Wonders of Nature. You'll take a 1.5-hour van ride to Sabang, then a bangka (outrigger boat) into the cave entrance. The 45-minute paddle through the cave reveals massive cathedral chambers, stalactites, and colonies of swiftlets. Book through a licensed operator (â±1,200-1,500/person including permit and boat). Afternoon: return to Puerto Princesa and transfer to El Nido via van (5-6 hours, â±700-1,200) or charter a flight (35 min, around â±4,000-6,000)."}),o.jsx("h3",{style:$.h3,children:"Day 3 â El Nido: Tour A (Big & Small Lagoon)"}),o.jsx("p",{style:$.p,children:"Tour A is the classic and arguably the most beautiful island-hopping route from El Nido. The highlight is the Big Lagoon â a vast enclosed lake surrounded by 200-metre limestone cliffs. You enter by kayak (included, â±200 extra for your own kayak inside the lagoon) and paddle through emerald water in near-silence. The Small Lagoon is accessed through a narrow cliff opening. Other stops include Shimizu Island for snorkelling and Secret Lagoon on Miniloc Island. Book directly with any of the bangka operators along Corong Corong Beach (â±1,200-1,500/person, includes lunch)."}),o.jsx("h3",{style:$.h3,children:"Day 4 â El Nido: Tour C (Helicopter Island)"}),o.jsx("p",{style:$.p,children:"Tour C offers the best beaches of any El Nido island-hopping route. Helicopter Island (named for its shape from above) has a long white sand beach with excellent snorkelling on both ends. The route also includes Entalula Island, Star Beach, and the dramatic Matinloc Shrine â a abandoned chapel built into a cliff face with panoramic views of the Bacuit Archipelago. This tour gives you the most beach time of any of the four routes. Cost: â±1,200-1,500/person."}),o.jsx("h3",{style:$.h3,children:"Day 5 â El Nido: Free Day & Town"}),o.jsx("p",{style:$.p,children:"Take a rest from the water. El Nido town is small but lively â browse the craft market on Hama Street, rent an e-bike (â±300/day) and ride the 45 minutes to Nacpan Beach, one of the finest beaches in the Philippines and far less visited than the island-hopping spots. Have lunch at one of the bamboo restaurants at the north end of the beach. Return to El Nido in the evening for dinner at Altrove (excellent Italian/wood-fired pizza overlooking the bay)."}),o.jsx("h3",{style:$.h3,children:"Day 6 â Transfer to Coron"}),o.jsx("p",{style:$.p,children:"Take the daily fastcraft from El Nido to Coron (4 hours, â±2,000-2,500). This route passes through some of Palawan's most dramatic seascapes. Arrive in Coron town, check in, and spend the afternoon at Maquinit Hot Springs (â±200) â natural hot spring pools right on the sea that are perfect for soothing the soreness from days of paddling."}),o.jsx("h3",{style:$.h3,children:"Day 7 â Coron Wreck Diving & Kayangan Lake"}),o.jsx("p",{style:$.p,children:"Coron is home to the best wreck diving in Asia â 12 Japanese WWII ships sunk in a single US naval raid in 1944 now lie at depths of 10-4
1090 metres, densely covered in coral. Even non-divers can snorkel over some of the shallower wrecks. In the afternoon, join a Coron island-hopping tour to Kayangan Lake â consistently rated one of the clearest lakes in Asia. The short but steep climb to the viewpoint is worth it before you swim in the impossibly clear blue water. Fly home from Coron (USU) to Manila the following morning."}),o.jsx("h2",{style:$.h2,children:"Practical Information"}),o.jsx("h3",{style:$.h3,children:"Getting There"}),o.jsx("p",{style:$.p,children:"Fly into Puerto Princesa (PPS) from Manila with Cebu Pacific or AirAsia. Book 2-4 weeks ahead for best prices (â±800-2,500 one way). If time is tight, fly direct into El Nido via AirSWIFT from Manila (35 min, around â±4,000-8,000)."}),o.jsx("h3",{style:$.h3,children:"Budget Breakdown"}),o.jsxs("p",{style:$.p,children:[o.jsx("strong",{children:"Budget ($50-70/day):"})," Dorm beds (â±500-800), local carenderias (â±150-250/meal), join island-hopping groups. ",o.jsx("strong",{children:"Mid-range ($100-150/day):"})," Private rooms at boutique guesthouses (â±2,000-4,000), nice restaurants, private tours. ",o.jsx("strong",{children:"Luxury ($250+/day):"})," El Nido Resorts properties (Lagen Island, Miniloc Island) â some of the finest eco-resorts in Southeast Asia."]}),o.jsx("h2",{style:$.h2,children:"Frequently Asked Questions"}),o.jsx("p",{style:$.faqQ,children:"What is the best time to visit Palawan?"}),o.jsx("p",{style:$.p,children:"The best time to visit Palawan is November through May, during the dry season when seas are calm and skies are clear. December to February is peak season with the most reliable weather. Avoid June through September â typhoon risk is high and rough seas frequently cancel island-hopping tours."}),o.jsx("p",{style:$.faqQ,children:"How many days do you need in Palawan?"}),o.jsx("p",{style:$.p,children:"You need at least 7 days to cover the highlights of Palawan properly â 2 days in Puerto Princesa (Underground River), 3 days in El Nido (island hopping), and 2 days in Coron (diving/lakes). If you only have 5 days, skip Puerto Princesa and fly direct to El Nido."}),o.jsx("p",{style:$.faqQ,children:"Is El Nido or Coron better?"}),o.jsx("p",{style:$.p,children:"El Nido is better for beach scenery, lagoons, and Instagram-worthy limestone karst landscapes. Coron is better for diving, wreck diving specifically, and freshwater lakes. They complement each other perfectly â visit both if you have the time."}),o.jsx("p",{style:$.faqQ,children:"How do you get between El Nido and Coron?"}),o.jsx("p",{style:$.p,children:"The daily fastcraft between El Nido and Coron takes about 4 hours and costs â±2,000-2,500. There is no direct flight between them. The boat journey itself passes through spectacular scenery and is worth the time."}),o.jsx("p",{style:$.faqQ,children:"Is Palawan expensive to travel?"}),o.jsx("p",{style:$.p,children:"Palawan is mid-range by Philippine standards â slightly more expensive than Cebu or Manila but far cheaper than equivalent destinations in Thailand or Indonesia. Budget travellers can manage on $50-60/day including accommodation, food, and one island-hopping tour per day."}),o.jsxs("div",{style:$.cta,children:[o.jsx("h2",{style:{color:"#fff",margin:0,fontSize:22},children:"Ready to plan your Palawan trip?"}),o.jsx("p",{style:{color:"rgba(255,255,255,0.85)",marginTop:8},children:"Get a custom day-by-day Palawan itinerary built around your exact budget, travel dates, and style â by a real Philippines travel expert."}),o.jsx("button",{style:$.ctaBtn,onClick:()=>e("intake"),children:"Start Planning My Trip â"})]})]})}const Y={page:{maxWidth:780,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.8},back:{marginBottom:32,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",opacity:.75},h1:{fontSize:30,fontWeight:800,marginBottom:16,color:"var(--text-primary)",lineHeight:1.3},h2:{fontSize:22,fontWeight:700,marginTop:40,marginBottom:12,color:"var(--text-primary)"},h3:{fontSize:17,fontWeight:700,marginTop:24,marginBottom:8,color:"var(--text-primary)"},p:{marginBottom:16,color:"var(--text-secondary)"},faqQ:{fontWeight:700,color:"var(--text-primary)",marginTop:24,marginBottom:6},cta:{background:"linear-gradient(135deg, #0057a8, #0099ff)",borderRadius:16,padding:"40px 32px",textAlign:"center",marginTop:56},ctaBtn:{background:"#fff",color:"#0057a8",padding:"14px 32px",borderRadius:100,fontWeight:700,border:"none",cursor:"pointer",fontSize:16,marginTop:16}};function Og({onNavigate:e}){return E.useEffect(()=>{document.title="Boracay Itinerary: 5-Day Guide to White Beach (2026) | Philippines Travel Planner";const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:"Boracay Itinerary: 5-Day Guide to White Beach & Beyond (2026)",description:"Complete 5-day Boracay itinerary covering White Beach, kite surfing at Bulabog, sunset sailing, and the best restaurants. Updated for 2026.",author:{"@type":"Person",name:"Zayn Rodondi",url:"https://rodondigrowth.com"},publisher:{"@type":"Organization",name:"Philippines Travel Planner",url:"https://philippines-travel-planner.vercel.app"},datePublished:"2026-06-30",dateModified:"2026-06-30"}),document.head.appendChild(t),()=>document.head.removeChild(t)},[]),o.jsxs("div",{style:Y.page,children:[o.jsx("div",{style:Y.back,onClick:()=>e("home"),children:"â Back to Philippines Travel Planner"}),o.jsx("h1",{style:Y.h1,children:"Boracay Itinerary: 5-Day Guide to White Beach & Beyond (2026)"}),o.jsx("p",{style:Y.p,children:"Boracay's White Beach is one of the finest stretches of sand in the world â 4 kilometres of powdery white coral sand, warm clear water, and a lively beach scene that runs from sunrise yoga to late-night bars. After a government-mandated 6-month closure and rehabilitation in 2018, Boracay came back cleaner, more regulated, and better than ever. The best time to visit is November through April during the Amihan (northeast monsoon) season, when White Beach has calm water and clear skies. May through October is kite surfing season on Bulabog Beach (east side), when Habagat winds blow steadily."}),o.jsx("h2",{style:Y.h2,children:"5-Day Boracay Itinerary"}),o.jsx("h3",{style:Y.h3,children:"Day 1 â Arrive & Settle In"}),o.jsx("p",{style:Y.p,children:"Fly into Caticlan Airport (MPH) â the closest airport, just 15 minutes from the ferry terminal. Cebu Pacific and AirAsia fly from Manila multiple times daily (1h, from â±800-2,500). From Caticlan, take a tricycle to the jetty port (â±30), pay the environmental fee and terminal fee (â±150-200 total), then a 15-minute bangka to Boracay (â±150). Tricycles meet every boat and will take you to your hotel. Spend the afternoon settling in and walking the length of White Beach. Have your first sunset at the Willy's Rock end (Station 1) â one of the great views in Southeast Asia."}),o.jsx("h3",{style:Y.h3,children:"Day 2 â White Beach & Water Sports"}),o.jsx("p",{style:Y.p,children:"Boracay's water sports scene is exceptional. From White Beach you can arrange parasailing (â±1,500), helmet diving (â±1,500 for a 20-minute underwater walk), hobie cat sailing, or stand-up paddleboarding. In the afternoon, walk D'Mall â Boracay's open-air shopping and dining str
109ip â for souvenir shopping and a mango shake from one of the fruit stands. For dinner, Aria at The Lind Hotel is the island's best fine dining; for casual, Real Coffee & Tea Café serves the legendary calamansi muffins that people fly back for."}),o.jsx("h3",{style:Y.h3,children:"Day 3 â Kite Surfing at Bulabog Beach"}),o.jsx("p",{style:Y.p,children:"Cross the island (10-minute walk) to Bulabog Beach, Boracay's kite surfing hub and one of the top kite spots in Asia. Even if you've never tried it, a beginner lesson (3 hours, â±3,500-4,500 with certified IKO instructors) will get you body-dragging across the water by the end. If kite surfing isn't your thing, Bulabog has a completely different atmosphere to White Beach â quieter, windier, with a local vibe and cheaper food stalls. Walk back via the Boracay Wetland Conservation Area for a change of scenery."}),o.jsx("h3",{style:Y.h3,children:"Day 4 â Island Hopping & Sunset Sailing"}),o.jsx("p",{style:Y.p,children:"Book a morning island-hopping tour (â±1,000-1,500) to Crocodile Island for snorkelling, Crystal Cove Island (small entrance fee, beautiful coves), and Puka Shell Beach on the island's north tip â far quieter than White Beach and lined with puka shells. In the late afternoon, book a sunset paraw sailing trip (â±800-1,200/person) â the traditional double-outrigger sail boats are iconic to Boracay and watching the sun drop into the Sulu Sea from the water is genuinely special. Book through any of the operators at Station 1."}),o.jsx("h3",{style:Y.h3,children:"Day 5 â Diniwid Beach & Departure"}),o.jsx("p",{style:Y.p,children:"Diniwid Beach, just north of Station 1, is a small, quiet cove that feels a world away from the White Beach strip. Have breakfast at Nigi Nigi Too (directly on Diniwid) â the French toast is outstanding. Spend the morning here before heading back to Caticlan for your flight. Leave at least 2 hours for the tricycle, ferry, and airport check-in process."}),o.jsx("h2",{style:Y.h2,children:"Practical Information"}),o.jsx("h3",{style:Y.h3,children:"Getting Around Boracay"}),o.jsx("p",{style:Y.p,children:"Private vehicles are restricted on Boracay. E-trikes are the main transport â short hops cost â±15-50. Walking the White Beach path (beachfront path) is the best way to get between stations. Most things are within 20-30 minutes on foot."}),o.jsx("h3",{style:Y.h3,children:"Budget Breakdown"}),o.jsxs("p",{style:Y.p,children:[o.jsx("strong",{children:"Budget ($60-80/day):"})," Fan room guesthouses near D'Mall (â±1,500-2,500), carinderia meals (â±150-250), group water sports tours. ",o.jsx("strong",{children:"Mid-range ($120-180/day):"})," Air-con beachfront rooms (â±3,500-6,000), proper restaurants, private activities. ",o.jsx("strong",{children:"Luxury ($250+/day):"})," Discovery Shores, The Lind, or Henann Resort â all directly on White Beach."]}),o.jsx("h2",{style:Y.h2,children:"Frequently Asked Questions"}),o.jsx("p",{style:Y.faqQ,children:"What is the best time to visit Boracay?"}),o.jsx("p",{style:Y.p,children:"The best time to visit Boracay is November through April (Amihan season), when White Beach has calm water, clear skies, and perfect swimming conditions. May through October is kite surfing season on Bulabog Beach but White Beach can get choppy and overcast."}),o.jsx("p",{style:Y.faqQ,children:"How many days should I spend in Boracay?"}),o.jsx("p",{style:Y.p,children:"Four to five days is the sweet spot for Boracay â enough to explore both sides of the island, do water sports, island-hop, and enjoy a few sunset sailings without feeling rushed or getting bored. Three days works if you're tight on time."}),o.jsx("p",{style:Y.faqQ,children:"Is Boracay worth visiting in 2026?"}),o.jsx("p",{style:Y.p,children:"Yes â Boracay is better in 2026 than it was before the 2018 rehabilitation. The beach is cleaner, construction is more regulated, and the water quality has improved significantly. It remains one of the top beach destinations in Southeast Asia."}),o.jsx("p",{style:Y.faqQ,children:"What station is best in Boracay?"}),o.jsx("p",{style:Y.p,children:"Station 1 (north end) is the best part of White Beach â widest sand, calmest water, most upscale resort strip, and closest to Diniwid Beach. Station 2 (D'Mall area) is the most convenient for restaurants, shopping, and nightlife. Station 3 is the most budget-friendly and local feeling."}),o.jsx("p",{style:Y.faqQ,children:"Can you drink tap water in Boracay?"}),o.jsx("p",{style:Y.p,children:"No â drink bottled or filtered water in Boracay. Every resort and restaurant serves drinking water, and 1.5L bottles cost â±25-4
1090 at 7-Eleven. Many guesthouses provide free drinking water refills."}),o.jsxs("div",{style:Y.cta,children:[o.jsx("h2",{style:{color:"#fff",margin:0,fontSize:22},children:"Ready to plan your Boracay trip?"}),o.jsx("p",{style:{color:"rgba(255,255,255,0.85)",marginTop:8},children:"Get a custom Boracay itinerary built around your exact dates, budget, and travel style â by a real Philippines travel expert."}),o.jsx("button",{style:Y.ctaBtn,onClick:()=>e("intake"),children:"Start Planning My Trip â"})]})]})}const Q={page:{maxWidth:780,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.8},back:{marginBottom:32,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",opacity:.75},h1:{fontSize:30,fontWeight:800,marginBottom:16,color:"var(--text-primary)",lineHeight:1.3},h2:{fontSize:22,fontWeight:700,marginTop:40,marginBottom:12,color:"var(--text-primary)"},h3:{fontSize:17,fontWeight:700,marginTop:24,marginBottom:8,color:"var(--text-primary)"},p:{marginBottom:16,color:"var(--text-secondary)"},faqQ:{fontWeight:700,color:"var(--text-primary)",marginTop:24,marginBottom:6},cta:{background:"linear-gradient(135deg, #0057a8, #0099ff)",borderRadius:16,padding:"40px 32px",textAlign:"center",marginTop:56},ctaBtn:{background:"#fff",color:"#0057a8",padding:"14px 32px",borderRadius:100,fontWeight:700,border:"none",cursor:"pointer",fontSize:16,marginTop:16}};function Mg({onNavigate:e}){return E.useEffect(()=>{document.title="Cebu Travel Guide: 6-Day Itinerary for First-Timers (2026) | Philippines Travel Planner";const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:"Cebu Travel Guide: 6-Day Itinerary for First-Timers (2026)",description:"Complete 6-day Cebu itinerary covering whale shark swimming in Oslob, Kawasan Falls canyoneering, Moalboal sardine run, and Malapascua thresher sharks.",author:{"@type":"Person",name:"Zayn Rodondi",url:"https://rodondigrowth.com"},publisher:{"@type":"Organization",name:"Philippines Travel Planner",url:"https://philippines-travel-planner.vercel.app"},datePublished:"2026-06-30",dateModified:"2026-06-30"}),document.head.appendChild(t),()=>document.head.removeChild(t)},[]),o.jsxs("div",{style:Q.page,children:[o.jsx("div",{style:Q.back,onClick:()=>e("home"),children:"â Back to Philippines Travel Planner"}),o.jsx("h1",{style:Q.h1,children:"Cebu Travel Guide: 6-Day Itinerary for First-Timers (2026)"}),o.jsx("p",{style:Q.p,children:"Cebu is the Philippines' most accessible major destination and one of its most rewarding. Unlike Palawan or Boracay which require connecting flights, Cebu Mactan International Airport has direct flights from Singapore, Hong Kong, Tokyo, Seoul, and Kuala Lumpur â making it many international travellers' entry point to the Philippines. Six days gives you time to explore Cebu City's history, swim with whale sharks in Oslob, canyon through Kawasan Falls, dive with millions of sardines in Moalboal, and potentially hop up to Malapascua Island for thresher sharks. The best time to visit is December through May."}),o.jsx("h2",{style:Q.h2,children:"6-Day Cebu Itinerary"}),o.jsx("h3",{style:Q.h3,children:"Day 1 â Cebu City History & Culture"}),o.jsx("p",{style:Q.p,children:"Start at Magellan's Cross in the Basilica Minore del Santo Niño â the most important Catholic site in the Philippines, where Ferdinand Magellan planted a cross in 1521 marking the arrival of Christianity. Walk to Fort San Pedro, the oldest triangular fort in the Philippines (â±30 entrance). Lunch at the Carbon Market area for authentic Cebuano food â lechon (roast pig) is Cebu's signature dish, and CNT Lechon on Natalio Bacalso is worth the trip. In the afternoon, walk Colon Street, the oldest street in the Philippines, and end the day at the rooftop of the Waterfront Cebu Hotel for sunset views over the city."}),o.jsx("h3",{style:Q.h3,children:"Day 2 â Oslob Whale Sharks"}),o.jsx("p",{style:Q.p,children:"Leave Cebu City by 4am to reach Oslob by 6-7am before the whale sharks get crowded (3.5 hours south by bus, â±200-250, or charter a car for â±2,500-3,500 one way). The whale shark interaction (â±1,500 for snorkelling, â±2,500 for diving) is genuinely incredible â these are the largest fish on earth and Oslob has made them reliably visible year-round. Note: this is a controversial attraction because the sharks are fed to keep them close; many environmentalists prefer the wild encounters off Donsol in Sorsogon. After whale sharks, visit Tumalog Falls (â±50 entrance, 20-minute habal-habal ride up) â a curtain waterfall that fans out into a cool natural pool. Return to Cebu City or continue south to Moalboal for the night."}),o.jsx("h3",{style:Q.h3,children:"Day 3 â Kawasan Falls Canyoneering"}),o.jsx("p",{style:Q.p,children:"Kawasan Falls in Badian is one of the best adventure activities in the Philippines. The full canyoneering route (â±1,800-2,200/person) takes you through a river gorge for 5-6 hours â jumping off cliffs (5m to 14m drops), sliding down natural rock chutes, swimming through canyon pools, and ending with a cliff jump into the turquoise main pool at Kawasan Falls. The falls themselves are stunning â a multi-tiered 30-metre cascade into a bright turquoise pool fed by limestone springs. You cannot not get in the water here. Book with a licensed operator in Badian or through your hotel the night before."}),o.jsx("h3",{style:Q.h3,children:"Day 4 â Moalboal Sardine Run & Pescador Island"}),o.jsx("p",{style:Q.p,children:"Moalboal, 2 hours south of Cebu City, is home to one of the world's great marine spectacles: a school of millions of sardines that lives permanently just 20 metres offshore and forms a living, shape-shifting tornado that turns day into night. You can snorkel directly from Panagsama Beach (no boat needed) and swim alongside the school â it's one of the most extraordinary things you can see underwater. In the afternoon, take a bangka to Pescador Island (â±500-700 charter, 10 minutes) for diving or snorkelling on one of the best reefs in the Visayas â abundant sea turtles, grouper, and soft corals. Stay in Moalboal â White Beach just north of town is a quiet local beach with cheap guesthouses."}),o.jsx("h3",{style:Q.h3,children:"Day 5 â Malapascua Island (Optional: Thresher Sharks)"}),o.jsx("p",{style:Q.p,children:"If you're a diver, Malapascua in the north of Cebu is non-negotiable. It is one of only a handful of places in the world where thresher sharks â deep-water sharks with their extraordinary scythe-like tails â are seen reliably on a cleaning station at Monad Shoal at 20-30m. Dives start at 5:30am to catch the sharks before they descend for the day. Take a bus north from Cebu City to Maya (3-4 hours, â±180), then a 30-minute bangka to Malapascua (â±100). The island is tiny and car-free â walk or rent a bicycle. Stay at Evolution Diving Resort for the best dive setup."}),o.jsx("h3",{style:Q.h3,children:"Day 6 â Return to Cebu City & Departure"}),o.jsx("p",{style:Q.p,children:"Return to Cebu City and spend a few final hours in IT Park (Cebu's tech hub â excellent coffee shops and malls) or visit Tops Lookout for panoramic city views before heading to Mactan Airport. Buy lechon from CNT for the flight home â it travels well and is worth every carry-on struggle."}),o.jsx("h2",{style:Q.h2,children:"Practical Information"}),o.jsx("h3",{style:Q.h3,children:"Getting There"}),o.jsx("p",{style:Q.p,children:"Cebu Mactan International Airport (CEB) has direct international flights from Singapore, Hong Kong, Tokyo, Seoul, Osaka, and Kuala Lumpur. From Manila: Cebu Pacific and AirAsia fly every hour (1h15m, from â±800-2,000)."}
109),o.jsx("h3",{style:Q.h3,children:"Getting Around"}),o.jsx("p",{style:Q.p,children:"Jeepneys and buses connect most of Cebu's towns (cheap but slow). For the south route (Oslob/Kawasan/Moalboal), renting a private van with driver for 2-3 days (â±2,500-3,500/day) is the most efficient option for groups. Grab (Philippine Uber equivalent) works within Cebu City."}),o.jsx("h2",{style:Q.h2,children:"Frequently Asked Questions"}),o.jsx("p",{style:Q.faqQ,children:"What is Cebu most famous for?"}),o.jsx("p",{style:Q.p,children:"Cebu is most famous for whale shark swimming in Oslob, Kawasan Falls canyoneering, and its lechon (roast suckling pig), considered the best in the Philippines. It is also known for the sardine run in Moalboal and thresher shark diving in Malapascua."}),o.jsx("p",{style:Q.faqQ,children:"How many days do you need in Cebu?"}),o.jsx("p",{style:Q.p,children:"You need at least 5-6 days to cover Cebu's highlights â 1 day in Cebu City, 1 day for Oslob whale sharks, 1 day for Kawasan Falls, 1 day for Moalboal sardines, and 1-2 days for Malapascua if you dive. A 3-day trip is possible if you skip Malapascua and move fast."}),o.jsx("p",{style:Q.faqQ,children:"Is Cebu or Palawan better for first-timers?"}),o.jsx("p",{style:Q.p,children:"Cebu is better for first-timers who want variety â it combines city history, adventure activities, diving, and beaches in one island accessible by direct international flight. Palawan is better for those who prioritize pure nature and beach scenery over urban amenities."}),o.jsx("p",{style:Q.faqQ,children:"What is the best time to visit Cebu?"}),o.jsx("p",{style:Q.p,children:"The best time to visit Cebu is December through May during the dry season. The Sinulog Festival in the third week of January is the biggest festival in the Philippines and worth planning around. Avoid October and November when typhoons occasionally affect the region."}),o.jsx("p",{style:Q.faqQ,children:"Is it safe to swim with whale sharks in Oslob?"}),o.jsx("p",{style:Q.p,children:"Swimming with whale sharks in Oslob is physically safe â whale sharks are filter feeders with no interest in humans. However, the interaction is controversial from an environmental perspective because the sharks are fed shrimp to keep them in the bay, which may alter their natural migration patterns. If this concerns you, the wild whale shark encounters in Donsol, Sorsogon (seasonal: January-June) are a more ethical alternative."}),o.jsxs("div",{style:Q.cta,children:[o.jsx("h2",{style:{color:"#fff",margin:0,fontSize:22},children:"Ready to plan your Cebu trip?"}),o.jsx("p",{style:{color:"rgba(255,255,255,0.85)",marginTop:8},children:"Get a custom Cebu itinerary built around your exact budget, dates, and interests â from whale sharks to canyoneering to diving."}),o.jsx("button",{style:Q.ctaBtn,onClick:()=>e("intake"),children:"Start Planning My Trip â"})]})]})}const J={page:{maxWidth:780,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.8},back:{marginBottom:32,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",opacity:.75},h1:{fontSize:30,fontWeight:800,marginBottom:16,color:"var(--text-primary)",lineHeight:1.3},h2:{fontSize:22,fontWeight:700,marginTop:40,marginBottom:12,color:"var(--text-primary)"},h3:{fontSize:17,fontWeight:700,marginTop:24,marginBottom:8,color:"var(--text-primary)"},p:{marginBottom:16,color:"var(--text-secondary)"},faqQ:{fontWeight:700,color:"var(--text-primary)",marginTop:24,marginBottom:6},cta:{background:"linear-gradient(135deg, #0057a8, #0099ff)",borderRadius:16,padding:"40px 32px",textAlign:"center",marginTop:56},ctaBtn:{background:"#fff",color:"#0057a8",padding:"14px 32px",borderRadius:100,fontWeight:700,border:"none",cursor:"pointer",fontSize:16,marginTop:16}};function Fg({onNavigate:e}){return E.useEffect(()=>{document.title="Siargao Travel Guide: 5-Day Surf & Island Hopping Itinerary (2026) | Philippines Travel Planner";const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:"Siargao Travel Guide: 5-Day Surf & Island Hopping Itinerary (2026)",description:"Complete 5-day Siargao itinerary. Cloud 9 surfing, island hopping to Naked Island and Daku, Sugba Lagoon, and Magpupungko rock pools. Best time to visit and budget tips included.",author:{"@type":"Person",name:"Zayn Rodondi",url:"https://rodondigrowth.com"},publisher:{"@type":"Organization",name:"Philippines Travel Planner",url:"https://philippines-travel-planner.vercel.app"},datePublished:"2026-06-30",dateModified:"2026-06-30"}),document.head.appendChild(t),()=>document.head.removeChild(t)},[]),o.jsxs("div",{style:J.page,children:[o.jsx("div",{style:J.back,onClick:()=>e("home"),children:"â Back to Philippines Travel Planner"}),o.jsx("h1",{style:J.h1,children:"Siargao Travel Guide: 5-Day Surf & Island Hopping Itinerary (2026)"}),o.jsx("p",{style:J.p,children:"Siargao is the Philippines' surf capital and one of Southeast Asia's most laid-back island destinations. Cloud 9 â a hollow right-hand reef break over shallow coral â is one of the most famous waves in Asia and hosts an annual international surf competition. But Siargao is much more than surfing: stunning lagoons, deserted sandbars, mangrove forests, coconut groves, and a low-key vibe that draws travellers who stay for a week and end up booking another month. The surf season runs March through October (peaking July-September); the rest of the year the ocean flattens out, making it ideal for island hopping and swimming."}),o.jsx("h2",{style:J.h2,children:"5-Day Siargao Itinerary"}),o.jsx("h3",{style:J.h3,children:"Day 1 â Arrive & Cloud 9"}),o.jsx("p",{style:J.p,children:"Fly into Sayak Airport (IAO) from Cebu (Cebu Pacific, 1 hour, â±1,500-3,500) or from Manila (2 hours with one stop
109). The airport is small â tricycles and vans meet every flight to take you to General Luna (GL), the main town, 30 minutes away (â±200-300 shared). Rent a motorbike in GL (â±350-500/day â essential for getting around the island) and ride to Cloud 9 Boardwalk. Even if you don't surf, the long wooden boardwalk over the reef is worth seeing. Watch experienced surfers on the break while you eat at the Cloud 9 restaurants perched above the water. Stay in GL â the main strip has guesthouses, hostels, warung-style restaurants, and everything you need."}),o.jsx("h3",{style:J.h3,children:"Day 2 â Surf Lesson or Island Hopping (Naked Island, Daku, Guyam)"}),o.jsx("p",{style:J.p,children:"The classic Siargao island-hopping route visits three islands that couldn't be more different. Naked Island is a completely bare sandbar in the middle of the ocean â no trees, no shade, just white sand and turquoise water (bring sunscreen). Daku Island is large and shaded, with a long beach, local fishing families, and the best island lunch in Siargao (â±200-300 per person, fresh seafood cooked on site). Guyam Island is a tiny palm-covered islet that looks like a postcard â 10 palm trees, a patch of sand, and coral for snorkelling. Book the tour through any operator in GL (â±600-800/person including boat and guide, minimum 4 people)."}),o.jsx("h3",{style:J.h3,children:"Day 3 â Sugba Lagoon"}),o.jsx("p",{style:J.p,children:"Sugba Lagoon in Del Carmen is Siargao's most spectacular natural attraction. It's a vast, sheltered lagoon of turquoise water surrounded by mangroves and jungle â the colour is almost unreal, like someone poured blue food colouring into the water. Activities at the lagoon include paddleboarding (â±200), kayaking (â±200), and jumping off a small wooden tower into the deep centre. Getting there requires a 30-minute bangka ride through the mangrove estuary (â±1,500-2,000 for a private boat, or join a shared tour for â±500-700). Go early (before 9am) to beat the crowds and get the lagoon to yourself for a few minutes."}),o.jsx("h3",{style:J.h3,children:"Day 4 â Magpupungko Rock Pools"}),o.jsx("p",{style:J.p,children:`Magpupungko is a natural rock pool formation on Siargao's east coast that is only accessible at low tide. When the tide drops, the sea reveals a series of large natural swimming pools in the rock, with crystal-clear water so still it looks like glass. The pools are connected by channels you can float through, and the rocks around them have small waves crashing in â it's one of those spots that makes you question whether you're in real life. Check tide times before going (low tide only â Google "Magpupungko tide schedule"). It's a 45-minute motorbike ride north of GL on a good paved road.`}),o.jsx("h3",{style:J.h3,children:"Day 5 â Sunrise at Cloud 9 & Coconut Road"}),o.jsx("p",{style:J.p,children:"Wake before dawn for sunrise at Cloud 9 Boardwalk â the light at this time is extraordinary. Then ride Siargao's famous Coconut Road, a straight flat road lined with thousands of coconut palms that is a favourite for motorbike rides and photography. Stop at the fishing village of Pacifico on the island's north coast, which has a black sand beach and a completely different, local feel from the GL tourist strip. Return to GL for a final lunch at Kermit Surf & Restaurant (best pizza on the island) before heading to the airport."}),o.jsx("h2",{style:J.h2,children:"Practical Information"}),o.jsx("h3",{style:J.h3,children:"Getting There"}),o.jsx("p",{style:J.p,children:"Fly into Sayak Airport (IAO) from Cebu (1h, Cebu Pacific) or Manila (connecting via Cebu, 3-4h total). Direct Manila-Siargao flights are increasingly available â check Cebu Pacific and AirAsia seasonal schedules. Book well in advance during peak surf season (July-September)."}),o.jsx("h3",{style:J.h3,children:"Getting Around"}),o.jsx("p",{style:J.p,children:"Rent a motorbike in General Luna â it's the only practical way to explore the island. Automatics available if you don't ride a manual (â±350-500/day). The main roads are paved and in good condition."}),o.jsx("h2",{style:J.h2,children:"Frequently Asked Questions"}),o.jsx("p",{style:J.faqQ,children:"What is the best time to visit Siargao?"}),o.jsx("p",{style:J.p,children:"The best time to visit Siargao for surfing is March through October, with peak surf from July to September. For island hopping, swimming, and flat-water activities, November through February offers calmer conditions but smaller waves. December and January have occasional rain but are still enjoyable."}),o.jsx("p",{style:J.faqQ,children:"Do you need to surf to enjoy Siargao?"}),o.jsx("p",{style:J.p,children:"No â non-surfers love Siargao just as much as surfers. The island hopping, Sugba Lagoon, Magpupungko rock pools, and the overall laid-back island atmosphere make it an excellent destination even if you never touch a surfboard."}),o.jsx("p",{style:J.faqQ,children:"How do you get from Cebu to Siargao?"}),o.jsx("p",{style:J.p,children:"The fastest way is to fly Cebu Pacific from Cebu Mactan Airport (CEB) to Sayak Airport (IAO) â the flight takes 1 hour and costs â±1,500-3,500. There is also a ferry from Surigao City on mainland Mindanao to Siargao (2 hours, â±400), but reaching Surigao adds significant travel time."}),o.jsx("p",{style:J.faqQ,children:"Is Siargao expensive?"}),o.jsx("p",{style:J.p,children:"Siargao is mid-range â slightly more expensive than mainland Philippines but cheaper than Palawan or Boracay. Budget travellers can manage on â±2,000-3,000/day ($35-55) including a basic guesthouse, food from local eateries, and one activity per day. The island's boom in popularity has pushed prices up since 2022."}),o.jsx("p",{style:J.faqQ,children:"What happened to Siargao after Typhoon Odette?"}),o.jsx("p",{style:J.p,children:"Typhoon Odette (December 2021) caused severe damage to Siargao, destroying many structures and trees. By 2023 the island had largely rebuilt, and by 2026 it is fully operational with most guesthouses, restaurants, and tour operators restored or upgraded. Cloud 9, Sugba Lagoon, and all major attractions are open."}),o.jsxs("div",{style:J.cta,children:[o.jsx("h2",{style:{color:"#fff",margin:0,fontSize:22},children:"Ready to plan your Siargao trip?"}),o.jsx("p",{style:{color:"rgba(255,255,255,0.85)",marginTop:8},children:"Get a custom Siargao itinerary â surf spots, lagoons, island hopping â built around your exact dates and travel style."}),o.jsx("button",{style:J.ctaBtn,onClick:()=>e("intake"),children:"Start Planning My Trip â"})]})]})}const ne={page:{maxWidth:780,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.8},back:{marginBottom:32,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",opacity:.75},h1:{fontSize:30,fontWeight:800,marginBottom:16,color:"var(--text-primary)",lineHeight:1.3},h2:{fontSize:22,fontWeight:700,marginTop:40,marginBottom:12,color:"var(--text-primary)"},h3:{fontSize:17,fontWeight:700,marginTop:24,marginBottom:8,color:"var(--text-primary)"},p:{marginBottom:16,color:"var(--text-secondary)"},faqQ:{fontWeight:700,color:"var(--text-primary)",marginTop:24,marginBottom:6},cta:{background:"linear-gradient(135deg, #0057a8, #0099ff)",borderRadius:16,padding:"40px 32px",textAlign:"center",marginTop:56},ctaBtn:{background:"#fff",color:"#0057a8",padding:"14px 32px",borderRadius:100,fontWeight:700,border:"none",cursor:"pointer",fontSize:16,marginTop:16}};function Wg({onNavigate:e}){return E.useEffect(()=>{document.title="El Nido Island Hopping: 4-Day Complete Guide (2026) | Philippines Travel Planner";const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:"El Nido Island Hopping: 4-Day Complete Guide (2026)",description:"Everything you need to plan 4 days in El Nido, Palawan. Tour A vs B vs C vs D explained, best lagoons, beaches, and practical tips for 2026.",author:{"@type":"Person",name:"Zayn Rodondi",url:"https://rodondigrowth.com"},publisher:{"@type":"Organization",name:"Philippines Travel Planner",url:"https://philippines-travel-planner.vercel.app"},datePublished:"2026-06-30",dateModified:"2026-06-30"}),document.head.appendChild(t),()=>document.head.removeChild(t)},[]),o.jsxs("div",{style:ne.page,children:[o.jsx("div",{style:ne.back,onClick:()=>e("home"),children:"â Back to Philippines Travel Planner"}),o.jsx("h1",{style:ne.h1,children:"El Nido Island Hopping: 4-Day Complete Guide (2026)"}),o.jsx("p",{style:ne.p,children:"El Nido is the crown jewel of Palawan â a small town hemmed in by dramatic karst limestone cliffs, with the Bacuit Archipelago spread before it like a painting. 45 islands and islets cluster within a short bangka ride, each with its own lagoons, beaches, snorkel reefs, and secret coves. Four days gives you time to complete all four island-hopping tours (A, B, C, D), explore the town, and have a rest day. The best time to visit is November through April â outside typhoon season, with calm seas and clear visibility for snorkelling."}),o.jsx("h2",{style:ne.h2,children:"4-Day El Nido Itinerary"}),o.jsx("h3",{style:ne.h3,children:"Day 1 â Arrive & Town Exploration"}),o.jsx("p",{style:ne.p,children:"Reach El Nido via van from Puerto Princesa (5-6 hours, â±700-1,200) or fly direct from Manila via AirSWIFT (35 min, â±4,000-8,000). The AirSWIFT option is worth considering â Lio Airport near El Nido is small but the time saving is enormous. Settle in, walk the main street, and book your four island-hopping tours through any of the operators on Calle Hama or directly at Corong Corong Beach. Book Tour A first (most popular, books out earliest). Have dinner at Altrove (Italian, wood-fired oven, beachfront views) or La Plage (French, also excellent). Sunset drinks at Republica Sunset Bar with views over the bay and cliffs."}),o.jsx("h3",{style:ne.h3,children:"Day 2 â Tour A: Big Lagoon & Small Lagoon"}),o.jsx("p",{style:ne.p,children:"Tour A is the highlight of El Nido and one of the most beautiful half-days you'll spend anywhere. The Big Lagoon on Miniloc Island is the centrepiece â an enormous enclosed body of water ringed by sheer limestone cliffs 200 metres high. You enter by kayak (â±200 extra for a solo kayak inside the lagoon, included in the tour as shared) and paddle through emerald-green water. The silence and scale are extraordinary. The Small Lagoon is nearby â you swim through a narrow cliff opening and emerge into a circular pool of turquoise water. Other stops: Shimizu Island (excellent snorkelling, abundant fish), Secret Lagoon (short swim through a cliff hole). Cost: â±1,200-1,500/person including lunch."}),o.jsx("h3",{style:ne.h3,children:"Day 3 â Tour C: Helicopter Island & Best Beaches"}),o.jsx("p",{style:ne.p,children:"Tour C has the best beaches of any El Nido tour. Helicopter Island (named for its profile from above) has a long white sand beach with snorkelling at both ends â sea turtles are commonly seen here. Entalula Island has a pristine beach and good snorkelling. Star Beach is a wide white sand bay with excellent swimming. The highlight is the Matinloc Shrine â an abandoned chapel built into a cliff, accessed by a series of steep stone steps, with panoramic views across the Bacuit Archipelago that are among the finest views in the Philippines. Cost: â±1,200-1,500/person."}),o.jsx("h3",{style:ne.h3,children:"Day 4 â Tour B or Tour D & Nacpan Beach"}),o.jsx("p",{style:ne.p,children:"Tour B visits the Cathedral Cave (a sea cave you paddle through by kayak), Cudognon Cave (walked through), and Pinagbuyutan Island with its long white beach. Tour D covers the Cadlao Lagoon (larger and often less crowded than Tour A's lagoons), Paradise Beach, and Bukal Island. In the late afternoon, rent an e-bike (â±300/day) and ride 45 minutes north to Nacpan Beach â a 4-kilometre arc of white sand that is one of the finest beaches in the Philippines and far less crowded than the island-hopping stops. Small bamboo restaurants at the north end serve fresh coconuts and simple meals. Return to El Nido for your last evening."}),o.jsx("h2",{style:ne.h2,children:"Which El Nido Tour Is Best?"}),o.jsxs("p",{style:ne.p,children:[o.jsx("strong",{children:"Tour A"}
109)," â best for lagoons and dramatic scenery. The Big Lagoon is unmissable. Do this first. ",o.jsx("strong",{children:"Tour C"})," â best for beaches and the Matinloc Shrine viewpoint. The most photogenic. ",o.jsx("strong",{children:"Tour B"})," â best for caves and cave kayaking. Less crowded than A and C. ",o.jsx("strong",{children:"Tour D"})," â best for those who want fewer tourists. Cadlao Lagoon is as beautiful as Big Lagoon with half the people."]}),o.jsx("h2",{style:ne.h2,children:"Frequently Asked Questions"}),o.jsx("p",{style:ne.faqQ,children:"What is the best island-hopping tour in El Nido?"}),o.jsx("p",{style:ne.p,children:"Tour A is the best island-hopping tour in El Nido â the Big Lagoon on Miniloc Island is the most spectacular single location in the Bacuit Archipelago. Tour C is the runner-up for beaches and the Matinloc Shrine viewpoint. Do both if you have the time."}),o.jsx("p",{style:ne.faqQ,children:"How many days do you need in El Nido?"}),o.jsx("p",{style:ne.p,children:"Four days is ideal for El Nido â enough to complete all four island-hopping tours and visit Nacpan Beach without feeling rushed. Three days works if you prioritise Tour A and Tour C and skip B and D."}),o.jsx("p",{style:ne.faqQ,children:"How do you get to El Nido from Manila?"}),o.jsx("p",{style:ne.p,children:"The fastest way is to fly Manila to El Nido direct via AirSWIFT (35 minutes, â±4,000-8,000 one way). The budget option is to fly Manila to Puerto Princesa (1h15m, â±800-2,000) then take a shared van to El Nido (5-6 hours, â±700-1,200). Book the AirSWIFT flight 4-6 weeks ahead in peak season."}),o.jsx("p",{style:ne.faqQ,children:"Is El Nido worth visiting?"}),o.jsx("p",{style:ne.p,children:"Yes â El Nido is one of the most beautiful destinations in Southeast Asia and worth every effort to reach. The combination of limestone karst scenery, hidden lagoons, pristine beaches, and warm water make it unlike anywhere else in the region."}),o.jsx("p",{style:ne.faqQ,children:"Is El Nido crowded?"}),o.jsx("p",{style:ne.p,children:"El Nido has become significantly more crowded since 2019, particularly Tour A which can have 20+ bangka boats at the Big Lagoon entrance during peak season. To avoid crowds: go in shoulder season (November or April-May), start tours before 8am, or choose Tour D which attracts fewer visitors."}),o.jsxs("div",{style:ne.cta,children:[o.jsx("h2",{style:{color:"#fff",margin:0,fontSize:22},children:"Ready to plan your El Nido trip?"}),o.jsx("p",{style:{color:"rgba(255,255,255,0.85)",marginTop:8},children:"Get a custom El Nido itinerary with the best tour combinations, accommodation picks, and timing to avoid the crowds."}),o.jsx("button",{style:ne.ctaBtn,onClick:()=>e("intake"),children:"Start Planning My Trip â"})]})]})}const oe={page:{maxWidth:780,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.8},back:{marginBottom:32,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",opacity:.75},h1:{fontSize:30,fontWeight:800,marginBottom:16,color:"var(--text-primary)",lineHeight:1.3},h2:{fontSize:22,fontWeight:700,marginTop:40,marginBottom:12,color:"var(--text-primary)"},h3:{fontSize:17,fontWeight:700,marginTop:24,marginBottom:8,color:"var(--text-primary)"},p:{marginBottom:16,color:"var(--text-secondary)"},faqQ:{fontWeight:700,color:"var(--text-primary)",marginTop:24,marginBottom:6},cta:{background:"linear-gradient(135deg, #0057a8, #0099ff)",borderRadius:16,padding:"40px 32px",textAlign:"center",marginTop:56},ctaBtn:{background:"#fff",color:"#0057a8",padding:"14px 32px",borderRadius:100,fontWeight:700,border:"none",cursor:"pointer",fontSize:16,marginTop:16}};function Hg({onNavigate:e}){return E.useEffect(()=>{document.title="Bohol Itinerary: Chocolate Hills, Tarsiers & Beaches (4 Days, 2026) | Philippines Travel Planner";const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:"Bohol Itinerary: Chocolate Hills, Tarsiers & Beaches â 4-Day Guide (2026)",description:"4-day Bohol itinerary covering the Chocolate Hills, Philippine Tarsier Sanctuary, Loboc River Cruise, Panglao beaches, and Balicasag Island diving.",author:{"@type":"Person",name:"Zayn Rodondi",url:"https://rodondigrowth.com"},publisher:{"@type":"Organization",name:"Philippines Travel Planner",url:"https://philippines-travel-planner.vercel.app"},datePublished:"2026-06-30",dateModified:"2026-06-30"}),document.head.appendChild(t),()=>document.head.removeChild(t)},[]),o.jsxs("div",{style:oe.page,children:[o.jsx("div",{style:oe.back,onClick:()=>e("home"),children:"â Back to Philippines Travel Planner"}),o.jsx("h1",{style:oe.h1,children:"Bohol Itinerary: Chocolate Hills, Tarsiers & Beaches â 4-Day Guide (2026)"}),o.jsx("p",{style:oe.p,children:"Bohol is one of the Philippines' most diverse islands â within a single day you can see one of the world's strangest geological formations (the Chocolate Hills), meet the world's smallest primate (the Philippine Tarsier), cruise a river through jungle on a floating restaurant, and swim on a white sand beach. It's also one of the best diving destinations in the Visayas, with Balicasag Island offering abundant sea turtles, schooling fish, and healthy coral walls. Four days is enough to cover all the highlights without rushing."}),o.jsx("h2",{style:oe.h2,children:"4-Day Bohol Itinerary"}),o.jsx("h3",{style:oe.h3,children:"Day 1 â Arrive in Tagbilaran & Panglao Beach"}),o.jsx("p",{style:oe.p,children:"Fly into Tagbilaran Airport (TAG) from Cebu (30 min, â±1,200-2,500) or take the fast ferry from Cebu City (2 hours, â±280-450). From Tagbilaran, take a tricycle or van 20 minutes south to Panglao Island, connected to Bohol by two bridges. Alona Beach on Panglao is the main tourist strip â a short but lively beach lined with guesthouses, dive shops, and restaurants. It's budget-friendly without being rough. Spend the afternoon at the beach, arrange tomorrow's inland tour with any of the operators on Alona Beach (â±1,000-1,500/person for a private car and guide covering the main Bohol circuit)."}),o.jsx("h3",{style:oe.h3,children:"Day 2 â Chocolate Hills, Tarsiers & Loboc River"}),o.jsx("p",{style:oe.p,children:"The Bohol Countryside Tour covers all three highlights in one day. Start at the Philippine Tarsier Sanctuary in Corella â these enormous-eyed, nocturnal primates are among the world's smallest and rarest, and this sanctuary is one of the few places they can be seen ethically in semi-wild conditions. Walk quietly along the forest path and your guide will point them out clinging to thin branches. Next, the Chocolate Hills Viewpoint â 1,268 perfectly conical limestone hills that turn chocolate brown in the dry season. The scale is genuinely surreal; photos don't capture how strange and beautiful they are. After lunch, the Loboc River Cruise (â±500/person, 1.5 hours, includes buffet lunch) floats you through jungle-lined river with a live folk music performance aboard the floating restaurant. Return to Panglao for sunset."}),o.jsx("h3",{style:oe.h3,children:"Day 3 â Balicasag Island Diving & Sea Turtles"}),o.jsx("p",{style:oe.p,children:"Balicasag Island, a 30-minute bangka ride from Alona Beach, is one of the best dive sites in the Philippines. Even snorkellers can see sea turtles just metres from the shore â they come to feed on the turtle grass and are completely unafraid of humans. The wall diving on the island's south side drops 40+ metres and is dense with black coral, sea fans, and schooling jacks. Book a 2-tank dive through any of the Alona Beach dive shops (â±2,500-3,500 including equipment and boat). Non-divers join snorkelling tours (â±500-800) to the turtle sanctuary area. The island also has a small beach for relaxing between dives."}),o.jsx("h3",{style:oe.h3,children:"Day 4 â Hinagdanan Cave & Departure"}),o.jsx("p",{style:oe.p,children:"Hinagdanan Cave on Panglao Island is a limestone cave with a natural pool inside â crystal clear water lit by the daylight filtering through holes in the ceiling. It's touristy but genuinely beautiful and worth a 30-minute visit (â±50 entrance). Then head to Tagbilaran for your flight or ferry back to Cebu. If time allows, visit the Baclayon Church (built 1595, one of the oldest stone churches in the Philippines) and the Blood Compact Shrine on the way back â marking the first international treaty of friendship in the Philippines between Spanish explorer Miguel López de Legazpi and Bohol chieftain Rajah Sikatuna in 1565."}),o.jsx("h2",{style:oe.h2,children:"Frequently Asked Questions"}),o.jsx("p",{style:oe.faqQ,children:"What are the Chocolate Hills and why are they called that?"}),o.jsx("p",{style:oe.p,children:`The Chocolate Hills are 1,268 nearly perfectly conical limestone hills spread across 50 square kilometres in the interior of Bohol. They are called "Chocolate Hills" because they turn brown (the colour of chocolate) during the dry season when the grass covering them dies. During the wet season they are green. The hills are a National Geological Monument and one of the Philippines' most iconic landmarks.`}),o.jsx("p",{style:oe.faqQ,children:"Where is the best place to see tarsiers in Bohol?"}),o.jsx("p",{style:oe.p,children:"The Philippine Tarsier Sanctuary in Corella is the best place to see tarsiers in Bohol â it is a legitimate conservation sanctuary where the animals live in semi-wild conditions and are not handled or stressed. Avoid roadside tarsier handlers who charge for photos with stressed, caged animals."}),o.jsx("p",{style:oe.faqQ,children:"How do you get from Cebu to Bohol?"}),o.jsx("p",{style:oe.p,children:"The most popular way is the fast ferry from Cebu City Pier 1 to Tagbilaran (2 hours, â±280-450, Oceanjet or SuperCat â book ahead). You can also fly Cebu Pacific from Mactan Airport to Tagbilaran (30 min, â±1,200-2,500). The ferry is the budget option; flying saves an hour."}),o.jsx("p",{style:oe.faqQ,children:"What is the best beach in Bohol?"}),o.jsx("p",{style:oe.p,children:"Alona Beach on Panglao Island is the most popular â lively, affordable, and excellent for diving and snorkelling. Dumaluan Beach is wider and more resort-oriented. Anda Beach on Bohol's east coast is the most pristine and least visited â long white sand, almost no development."}),o.jsx("p",{style:oe.faqQ,children:"Is Bohol good for diving?"}),o.jsx("p",{style:oe.p,children:"Yes â Bohol is excellent for diving. Balicasag Island is the highlight (sea turtles, wall dives, schooling fish). Pamilacan Island has whale and dolphin watching. Cabilao Island has hammerhead sharks during certain months. The visibility is generally 15-25 metres and water temperature stays around 28°C year-round."}),o.jsxs("div",{style:oe.cta,children:[o.jsx("h2",{style:{color:"#fff",margin:0,fontSize:22},children:"Ready to plan your Bohol trip?"}),o.jsx("p",{style:{color:"rgba(255,255,255,0.85)",marginTop:8},children:"Get a custom Bohol itinerary â Chocolate Hills, tarsiers, diving, beaches â built around your exact travel dates and budget."}),o.jsx("button",{style:oe.ctaBtn,onClick:()=>e("intake"),children:"Start Planning My Trip â"})]})]})}const ee={page:{maxWidth:780,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.8},back:{marginBottom:32,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",opacity:.75},h1:{fontSize:30,fontWeight:800,marginBottom:16,color:"var(--text-primary)",lineHeight:1.3},h2:{fontSize:22,fontWeight:700,marginTop:40,marginBottom:12,color:"var(--text-primary)"},h3:{fontSize:17,fontWeight:700,marginTop:24,marginBottom:8,color:"var(--text-primary)"},p:{marginBottom:16,color:"var(--text-secondary)"},faqQ:{fontWeight:700,color:"var(--text-primary)",marginTop:24,marginBottom:6},cta:{background:"linear-gradient(135deg, #0057a8, #0099ff)",borderRadius:16,padding:"40px 32px",textAlign:"center",marginTop:56},ctaBtn:{background:"#fff",color:"#0057a8",padding:"14px 32px",borderRadius:100,fontWeight:700,border:"none",cursor:"pointer",fontSize:16,marginTop:16}};function Ug({onNavigate:e}){return E.useEffect(()=>{document.title="Manila Travel Guide: What to Do in 2-3 Days (2026) | Philippines Travel Planner";const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:"Manila Travel Guide: What to Do in 2-3 Days (2026)",description:"Manila travel guide covering Intramuros, BGC, Binondo Chinatown, Rizal Park, and day trips to Tagaytay. What to eat, where to stay, and how to get around.",author:{"@type":"Person",name:"Zayn Rodondi",url:"https://rodondigrowth.com"},publisher:{"@type":"Organization",name:"Philippines Travel Planner",url:"https://philippines-travel-planner.vercel.app"},datePublished:"2026-06-30",dateModified:"2026-06-30"}),document.head.appendChild(t),()=>document.head.removeChild(t)},[]),o.jsxs("div",{style:ee.page,children:[o.jsx("div",{style:ee.back,onClick:()=>e("home"),children:"â Back to Philippines Travel Planner"}),o.jsx("h1",{style:ee.h1,children:"Manila Travel Guide: What to Do in 2-3 Days (2026)"}),o.jsx("p",{style:ee.p,children:"Manila divides opinion â it's chaotic, congested, and sometimes overwhelming, but it's also genuinely fascinating. The capital contains more history per square kilometre than almost any other Southeast Asian city, and its restaurant and nightlife scene (particularly in BGC and Makati) rivals Bangkok and
109Singapore. Most travellers give Manila 1-2 days as an arrival and departure point; the honest recommendation is 2-3 days if you engage with it properly. The best time to visit is November through February when temperatures are cooler (28-30°C vs 35°C+ in April-May) and humidity is lower."}),o.jsx("h2",{style:ee.h2,children:"2-3 Day Manila Itinerary"}),o.jsx("h3",{style:ee.h3,children:"Day 1 â Intramuros & Rizal Park"}),o.jsx("p",{style:ee.p,children:"Start in Intramuros â the walled city built by the Spanish in 1571, the oldest part of Manila. The thick stone walls, cobblestone streets, and colonial architecture feel entirely out of place in the middle of a 14-million-person megacity, which makes them all the more striking. Hire a bamboo bike guide at the Intramuros Administration entrance (â±250-350/hour including bike) â the best way to navigate the complex. Visit Fort Santiago, where national hero José Rizal was imprisoned before his execution (â±75 entrance), and San Agustin Church, the oldest stone church in the Philippines (1607, UNESCO World Heritage Site). Walk through Rizal Park (Luneta), where Rizal was executed in 1896 and where millions gather on national holidays."}),o.jsx("h3",{style:ee.h3,children:"Day 2 â Binondo (Chinatown) & BGC"}),o.jsx("p",{style:ee.p,children:"Binondo is the world's oldest Chinatown, established in 1594. Go for the food â a Binondo food walk (â±1,500-2,000 through Ivan Man Dy's Old Manila Walks) is one of the great food experiences in the Philippines: fried siopao, hopia, fresh wonton noodles, tikoy, and more from decades-old shops hidden in narrow alleys. In the afternoon, Grab to BGC (Bonifacio Global City) â Manila's modern planned district that could be mistaken for Singapore. Walk the clean wide streets, visit the Mind Museum (one of Asia's best science museums), browse the Mercato Centrale night market, and have dinner at any of the excellent restaurants along 5th Avenue. BGC has the best dining and nightlife in Metro Manila."}),o.jsx("h3",{style:ee.h3,children:"Day 3 â Tagaytay Day Trip (Optional)"}),o.jsx("p",{style:ee.p,children:"Tagaytay, 55km south of Manila (1.5-2 hours by car), sits on the rim of Taal Caldera â a massive volcanic crater with a lake inside it, and a smaller volcano island inside that lake. The view of Taal Volcano from Tagaytay Ridge is one of the most dramatic in Southeast Asia. Have bulalo (beef bone marrow soup) at Josephine Restaurant with the view, then visit Sky Ranch amusement park for the Ferris wheel overview. Return to Manila in time for an evening flight, or stay a night in Tagaytay â it's significantly cooler than Manila and has excellent boutique hotels. Rent a car or book a private driver (â±2,500-3,500 for the day) â public transport to Tagaytay is slow."}),o.jsx("h2",{style:ee.h2,children:"Practical Information"}),o.jsx("h3",{style:ee.h3,children:"Getting Around Manila"}),o.jsx("p",{style:ee.p,children:"Use Grab for all journeys within the city â it's safe, reliable, air-conditioned, and dramatically better than flagging taxis. The MRT and LRT trains are cheap (â±15-30) but slow and very crowded during rush hours (7-9am, 5-8pm). Avoid driving yourself â Manila traffic is among the worst in the world."}),o.jsx("h3",{style:ee.h3,children:"Where to Stay"}),o.jsxs("p",{style:ee.p,children:[o.jsx("strong",{children:"BGC"})," â best for safety, dining, and nightlife. Slightly removed from historical sites. ",o.jsx("strong",{children:"Makati"})," â central, business-oriented, excellent hotels and restaurants. ",o.jsx("strong",{children:"Malate/Ermita"})," â closest to Intramuros and Rizal Park, more budget options, slightly rougher area. Avoid staying near the airport (Parañaque) â there's nothing there and it's far from everything."]}),o.jsx("h2",{style:ee.h2,children:"Frequently Asked Questions"}),o.jsx("p",{style:ee.faqQ,children:"Is Manila worth visiting?"}),o.jsx("p",{style:ee.p,children:"Yes, but manage expectations â Manila is not a beach destination. It is worth 2-3 days for its layered history (Spanish colonial, American colonial, WWII), exceptional food scene (Filipino, Chinese, and international), and as the gateway to the rest of the Philippines. Go with curiosity rather than expecting pristine beauty."}),o.jsx("p",{style:ee.faqQ,children:"Is Manila safe for tourists?"}),o.jsx("p",{style:ee.p,children:"Manila is safe for tourists in the main areas â BGC, Makati, Intramuros, and Malate are all fine during the day and evening. Use Grab instead of taxis (avoid unmarked cabs). Be aware of your surroundings in crowded areas. Avoid Quiapo and parts of Tondo at night. Apply the same common sense you would in any large city."}),o.jsx("p",{style:ee.faqQ,children:"What is Manila known for?"}),o.jsx("p",{style:ee.p,children:"Manila is known for Intramuros (the Spanish walled city), its incredible food scene, the world's oldest Chinatown in Binondo, Rizal Park, and its role as the gateway to the Philippines. It is also known for extreme traffic, which is less of a selling point but a reality to plan around."}),o.jsx("p",{style:ee.faqQ,children:"What should I eat in Manila?"}),o.jsx("p",{style:ee.p,children:"In Manila, eat lechon (roast pig) at Lydia's or Elar's, try a Binondo food walk for Chinese-Filipino food, have sinigang (sour tamarind soup) at a proper Filipino restaurant, get halo-halo (Filipino shaved ice dessert) at Razon's, and for fine dining tr
109y Toyo Eatery in BGC â one of the best restaurants in Southeast Asia."}),o.jsx("p",{style:ee.faqQ,children:"How do I get from Manila Airport to the city?"}),o.jsx("p",{style:ee.p,children:"Book a Grab from the arrival hall â set your destination before you leave the terminal and the car meets you outside. Official airport taxis (yellow cabs at the taxi queue) are also legitimate. The journey to BGC or Makati takes 30-60 minutes depending on traffic and costs â±200-600 on Grab."}),o.jsxs("div",{style:ee.cta,children:[o.jsx("h2",{style:{color:"#fff",margin:0,fontSize:22},children:"Planning a Philippines trip through Manila?"}),o.jsx("p",{style:{color:"rgba(255,255,255,0.85)",marginTop:8},children:"Get a custom Philippines itinerary that includes Manila and all the island destinations that match your interests and timeline."}),o.jsx("button",{style:ee.ctaBtn,onClick:()=>e("intake"),children:"Start Planning My Trip â"})]})]})}const re={page:{maxWidth:780,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.8},back:{marginBottom:32,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",opacity:.75},h1:{fontSize:30,fontWeight:800,marginBottom:16,color:"var(--text-primary)",lineHeight:1.3},h2:{fontSize:22,fontWeight:700,marginTop:40,marginBottom:12,color:"var(--text-primary)"},h3:{fontSize:17,fontWeight:700,marginTop:24,marginBottom:8,color:"var(--text-primary)"},p:{marginBottom:16,color:"var(--text-secondary)"},faqQ:{fontWeight:700,color:"var(--text-primary)",marginTop:24,marginBottom:6},cta:{background:"linear-gradient(135deg, #0057a8, #0099ff)",borderRadius:16,padding:"40px 32px",textAlign:"center",marginTop:56},ctaBtn:{background:"#fff",color:"#0057a8",padding:"14px 32px",borderRadius:100,fontWeight:700,border:"none",cursor:"pointer",fontSize:16,marginTop:16}};function $g({onNavigate:e}){return E.useEffect(()=>{document.title="Coron Travel Guide: Diving, Lakes & Island Hopping â 5-Day Itinerary (2026) | Philippines Travel Planner";const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:"Coron Travel Guide: Wreck Diving, Kayangan Lake & Island Hopping â 5-Day Itinerary (2026)",description:"5-day Coron itinerary covering WWII wreck diving, Kayangan Lake, Twin Lagoon, Barracuda Lake, and island hopping. Complete guide for 2026.",author:{"@type":"Person",name:"Zayn Rodondi",url:"https://rodondigrowth.com"},publisher:{"@type":"Organization",name:"Philippines Travel Planner",url:"https://philippines-travel-planner.vercel.app"},datePublished:"2026-06-30",dateModified:"2026-06-30"}),document.head.appendChild(t),()=>document.head.removeChild(t)},[]),o.jsxs("div",{style:re.page,children:[o.jsx("div",{style:re.back,onClick:()=>e("home"),children:"â Back to Philippines Travel Planner"}),o.jsx("h1",{style:re.h1,children:"Coron Travel Guide: Wreck Diving, Kayangan Lake & Island Hopping â 5-Day Itinerary (2026)"}),o.jsx("p",{style:re.p,children:"Coron is the Philippines' premier wreck diving destination and one of its most dramatic landscapes. On 24 September 1944, a US Navy airstrike sank 12 Japanese warships in Coron Bay â today they lie at depths of 10-40 metres, so encrusted with coral, sea fans, and fish life that they look like they've been there for centuries. But Coron is not only for divers: Kayangan Lake (rated one of Asia's clearest lakes), Twin Lagoon, and the island-hopping routes through limestone karst islands make it spectacular for non-divers too. Best time: November through May."}),o.jsx("h2",{style:re.h2,children:"5-Day Coron Itinerary"}),o.jsx("h3",{style:re.h3,children:"Day 1 â Arrive & Maquinit Hot Springs"}),o.jsx("p",{style:re.p,children:"Fly into Busuanga Airport (USU) from Manila (1h, Cebu Pacific, â±2,000-4,000) or take the fastcraft from El Nido (4 hours, â±2,000-2,500). Coron town is small and walkable. In the afternoon, head to Maquinit Hot Springs (â±200 entrance, 30-minute tricycle from town) â natural saltwater hot spring pools right on the sea edge. Soaking in 39°C water while looking out over the bay is the perfect way to decompress after travel. Have dinner at Kawayanan Grill Station â best local seafood in town, eaten at bamboo tables over the water."}),o.jsx("h3",{style:re.h3,children:"Day 2 â WWII Wreck Diving"}),o.jsx("p",{style:re.p,children:"The Coron wrecks are among the most accessible and impressive in the world. The most visited is the Okikawa Maru â a 160-metre tanker sitting at 15-47 metres, with the superstructure reachable at 15m for open-water divers. The Irako (supply ship, 42m depth) is the most intact wreck and hosts enormous schools of fish in its cavernous holds. The Kogyo Maru has a dive through engine room at 25m that is extraordinary. Book 2-4 dives through Sea Dive Resort or DiveRight Coron (â±1,200-1,500/dive including equipment). For certified divers only â most wrecks are beyond snorkelling depth, though the shallow reef areas around them are snorkellable."}),o.jsx("h3",{style:re.h3,children:"Day 3 â Kayangan Lake & Twin Lagoon"}),o.jsx("p",{style:re.p,children:"Kayangan Lake is Coron's most iconic non-diving attraction and the single best reason to visit if you don't dive. A steep 10-minute climb over a limestone hill (with a viewpoint at the top that is one of the great views in the Philippines) leads to a freshwater lake of extraordinary clarity â turquoise-blue water through which you can see every detail of the submerged rock formations 10 metres below. Swimming here is an unforgettable experience. Twin Lagoon, nearby on Coron Island, is a tidal lagoon connected by an underwater tunnel to a second lagoon â you swim through at low tide and emerge into a warmer, calmer inner pool surrounded by 50-metre cliffs. Book as part of a Coron Island day tour (â±1,500-2,000/person)."}),o.jsx("h3",{style:re.h3,children:"Day 4 â Barracuda Lake & Island Hopping"}),o.jsx("p",{style:re.p,children:"Barracuda Lake is a unique dive site â the lake has thermoclines (layers of water at different temperatures) that create a halocline effect, making the water appear to warp and shimmer around you. The resident barracuda are large and curious. For non-divers, the island-hopping tour to Skeleton Wreck (Japanese Zero fighter plane in shallow water, snorkellable), Atwayan Beach, and the CYC Beach sandbar covers the best non-diving attractions in the area. CYC Beach is a pristine sandbar with excellent snorkelling directly off the beach."}),o.jsx("h3",{style:re.h3,children:"Day 5 â North Coron Islands & Departure"}),o.jsx("p",{style:re.p,children:"The North Coron islands tour visits some of the most remote and beautiful spots in the area â Pass Island (a long white beach with excellent snorkelling), Black Island (dark volcanic rock formations contrasting with turquoise water), and Smith Beach (one of the finest stretches of sand in Northern Palawan). Return to Coron town for your flight or fastcraft connection. Fly back to Manila or c
109ontinue to El Nido via the fastcraft for the next leg of your Palawan trip."}),o.jsx("h2",{style:re.h2,children:"Frequently Asked Questions"}),o.jsx("p",{style:re.faqQ,children:"What is Coron famous for?"}),o.jsx("p",{style:re.p,children:"Coron is most famous for its WWII Japanese wreck diving â 12 ships sunk in a 1944 US Navy airstrike that now form one of the world's premier wreck diving destinations. It is also famous for Kayangan Lake (one of Asia's clearest lakes), Twin Lagoon, and the dramatic limestone karst island scenery throughout Coron Bay."}),o.jsx("p",{style:re.faqQ,children:"Do you need to be a diver to enjoy Coron?"}),o.jsx("p",{style:re.p,children:"No â non-divers enjoy Coron just as much as divers. Kayangan Lake, Twin Lagoon, the island hopping routes, and the beaches are all fully accessible without diving certification. The scenery above water is as spectacular as below it."}),o.jsx("p",{style:re.faqQ,children:"How do you get to Coron from Manila?"}),o.jsx("p",{style:re.p,children:"Fly from Manila (NAIA) to Busuanga Airport (USU) with Cebu Pacific or AirAsia â the flight takes 1 hour and costs â±2,000-4,000. Alternatively, take a fastcraft from El Nido (4 hours, â±2,000-2,500) if you are doing both El Nido and Coron."}),o.jsx("p",{style:re.faqQ,children:"Is Coron better than El Nido?"}),o.jsx("p",{style:re.p,children:"Coron and El Nido offer different experiences rather than one being better. Coron is better for diving (especially wrecks), freshwater lakes (Kayangan, Barracuda), and a quieter, less touristy vibe. El Nido is better for dramatic lagoon scenery and has more accommodation and dining options. Ideally visit both."}),o.jsx("p",{style:re.faqQ,children:"What is the best time to visit Coron?"}),o.jsx("p",{style:re.p,children:"The best time to visit Coron is November through May during the dry season, when underwater visibility for diving is at its best (15-30 metres) and island hopping is not interrupted by rain or rough seas. December through March is peak season. Avoid June through October during typhoon season."}),o.jsxs("div",{style:re.cta,children:[o.jsx("h2",{style:{color:"#fff",margin:0,fontSize:22},children:"Ready to plan your Coron trip?"}),o.jsx("p",{style:{color:"rgba(255,255,255,0.85)",marginTop:8},children:"Get a custom Coron itinerary covering the best dives, lakes, and island routes â built around your certification level and travel dates."}),o.jsx("button",{style:re.ctaBtn,onClick:()=>e("intake"),children:"Start Planning My Trip â"})]})]})}const ae={page:{maxWidth:780,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.8},back:{marginBottom:32,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",opacity:.75},h1:{fontSize:30,fontWeight:800,marginBottom:16,color:"var(--text-primary)",lineHeight:1.3},h2:{fontSize:22,fontWeight:700,marginTop:40,marginBottom:12,color:"var(--text-primary)"},h3:{fontSize:17,fontWeight:700,marginTop:24,marginBottom:8,color:"var(--text-primary)"},p:{marginBottom:16,color:"var(--text-secondary)"},faqQ:{fontWeight:700,color:"var(--text-primary)",marginTop:24,marginBottom:6},cta:{background:"linear-gradient(135deg, #0057a8, #0099ff)",borderRadius:16,padding:"40px 32px",textAlign:"center",marginTop:56},ctaBtn:{background:"#fff",color:"#0057a8",padding:"14px 32px",borderRadius:100,fontWeight:700,border:"none",cursor:"pointer",fontSize:16,marginTop:16}};function qg({onNavigate:e}){return E.useEffect(()=>{document.title="Batanes Travel Guide: Philippines' Most Remote Island (2026) | Philippines Travel Planner";const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:"Batanes Travel Guide: The Philippines' Most Remote & Beautiful Islands (2026)",description:"Complete guide to Batanes â the Philippines' northernmost islands. Ivatan stone houses, rolling hills, dramatic cliffs, and one of Asia's most unique cultures.",author:{"@type":"Person",name:"Zayn Rodondi",url:"https://rodondigrowth.com"},publisher:{"@type":"Organization",name:"Philippines Travel Planner",url:"https://philippines-travel-planner.vercel.app"},datePublished:"2026-06-30",dateModified:"2026-06-30"}),document.head.appendChild(t),()=>document.head.removeChild(t)},[]),o.jsxs("div",{style:ae.page,children:[o.jsx("div",{style:ae.back,onClick:()=>e("home"),children:"â Back to Philippines Travel Planner"}),o.jsx("h1",{style:ae.h1,children:"Batanes Travel Guide: The Philippines' Most Remote & Beautiful Islands (2026)"}),o.jsx("p",{style:ae.p,children:"Batanes is the Philippines you've never seen. Located 200km north of Luzon in the Luzon Strait â closer to Taiwan than to Manila â these tiny islands have an entirely different culture, architecture, and landscape from the rest of the country. The Ivatan people have lived here for centuries, building stone houses thick enough to withstand the typhoons that regularly batter these islands. The landscape is extraordinary: rolling green hills that fall dramatically into the Pacific Ocean, ancient lighthouses on cliff edges, dry stone walls dividing c
109attle pastures, and small stone villages where residents still leave their doors unlocked. Batanes is the Philippines' best-kept secret. The best time to visit is March through May â the brief dry window before the typhoon season."}),o.jsx("h2",{style:ae.h2,children:"4-Day Batanes Itinerary"}),o.jsx("h3",{style:ae.h3,children:"Day 1 â Arrive in Batan Island"}),o.jsx("p",{style:ae.p,children:`Fly from Manila to Basco Airport (BSO) on Batan Island â the only flight-accessible island in Batanes. Skyjet Airlines and PAL Express operate the route (1h30m, â±3,000-6,000 one way). Flights are limited (often just 1-2 per day) and book out weeks in advance â plan ahead. Basco is the provincial capital and the most developed of the islands, though "developed" is relative â it's a quiet town of a few thousand people with several guesthouses and restaurants. Rent a motorbike or e-bike (â±400-600/day) and spend your first afternoon riding to the Naidi Hills Lighthouse â a white Spanish-era lighthouse on a hill above Basco with views over the town and across to Taiwan on a clear day.`}),o.jsx("h3",{style:ae.h3,children:"Day 2 â North Batan Loop: Marlboro Hills & Valugan Boulder Beach"}),o.jsx("p",{style:ae.p,children:`Ride the north Batan loop â a half-day motorbike circuit through the island's most dramatic landscapes. The "Marlboro Country" hills (named for their resemblance to the iconic cigarette ads) are rolling green hills with grazing cattle that could be mistaken for the Scottish Highlands if not for the warm air and Pacific backdrop. Mt. Iraya volcano looms above everything â technically still active, it last erupted in 1454. Valugan Boulder Beach on the Pacific coast is covered in enormous black boulders thrown up by volcanic activity and shaped by Pacific waves â completely unlike any beach in the Philippines. Stop at the Imnajbu Bridge ruins (Spanish-era) and San Vicente Ferrer Church on the way back.`}),o.jsx("h3",{style:ae.h3,children:"Day 3 â Sabtang Island: Ivatan Stone Villages"}),o.jsx("p",{style:ae.p,children:"Take the morning falowa (traditional wooden boat) from Ivana Port to Sabtang Island (30-40 minutes, â±200-300 each way). Sabtang is where Batanes' culture is most intact â the stone villages of Chavayan and Savidug have Ivatan traditional stone houses that have stood for 200+ years, with metre-thick limestone walls and cogon grass roofs designed to survive Category 5 typhoons. Locals still live in them. Walk through both villages, visit the weavers making traditional vakul (head covering), and have lunch of flying fish (the local staple â sun-dried and grilled) at a home restaurant. The west coast road to the lighthouse at Sabtang Island's south has some of the most dramatic coastal scenery in the Philippines."}),o.jsx("h3",{style:ae.h3,children:"Day 4 â Fundacion Pacita & Departure"}),o.jsx("p",{style:ae.p,children:"Spend the morning at Fundacion Pacita â a unique boutique hotel and art gallery built into a cliff face by Philippine artist Pacita Abad, with panoramic views of Batan Island's coast. Even if you're not staying here, the restaurant is open to visitors and the art collection (Abad's vibrant large-format paintings) is worth an hour. Have a final lunch in Basco before heading to the airport. Buy dried flying fish, Batanes wine (made from sugarcane), and woven souvenirs to take home â these are genuinely local, not made-in-China tourist goods."}),o.jsx("h2",{style:ae.h2,children:"Frequently Asked Questions"}),o.jsx("p",{style:ae.faqQ,children:"How do you get to Batanes?"}),o.jsx("p",{style:ae.p,children:"The only practical way to reach Batanes is to fly from Manila (NAIA Terminal 2 or 3) to Basco Airport (BSO) on Batan Island. Skyjet Airlines and PAL Express operate the route â the flight takes about 1 hour 30 minutes. Flights are limited and seats book out weeks in advance, especially for the March-May dry season. Book as early as possible."}),o.jsx("p",{style:ae.faqQ,children:"When is the best time to visit Batanes?"}),o.jsx("p",{style:ae.p,children:"The best time to visit Batanes is March through May, the brief dry season before typhoon season begins. This is also when the Marlboro Country hills are greenest. June through December is typhoon season â flights are frequently cancelled and the sea crossing to Sabtang can be dangerous. January and February are cold and windy but manageable."}),o.jsx("p",{style:ae.faqQ,children:"Is Batanes expensive?"}),o.jsx("p",{style:ae.p,children:"Batanes is more expensive than mainland Philippines â flights alone cost â±6,000-12,000 return from Manila, and accommodation options are limited (â±1,500-8,000/night). However, once you're there, food and local transport are cheap. Budget â±5,000-8,000/day all-in, or â±3,000-4,000/day if staying at basic guesthouses."}),o.jsx("p",{style:ae.faqQ,children:"What is special about Batanes?"}),o.jsx("p",{style:ae.p,children:"Batanes is unique in the Philippines for its Ivatan culture (distinct from lowland Filipino culture), traditional stone houses that have survived centuries of typhoons, extraordinary rolling hill and cliff scener
109y unlike anywhere else in the country, and a pace of life that feels completely removed from modern Philippines. It is one of the most culturally distinct destinations in Southeast Asia."}),o.jsx("p",{style:ae.faqQ,children:"How many days do you need in Batanes?"}),o.jsx("p",{style:ae.p,children:"Four days is the minimum to see Batanes properly â 2 days for Batan Island's highlights, 1 day for Sabtang Island, and 1 buffer day for flight delays or weather. Extend to 6 days if you want to add Itbayat Island (the northernmost inhabited island, reachable only by boat in calm weather)."}),o.jsxs("div",{style:ae.cta,children:[o.jsx("h2",{style:{color:"#fff",margin:0,fontSize:22},children:"Ready to plan your Batanes trip?"}),o.jsx("p",{style:{color:"rgba(255,255,255,0.85)",marginTop:8},children:"Batanes requires careful planning around limited flights and weather windows. Get a custom itinerary built by an expert who knows the timing."}),o.jsx("button",{style:ae.ctaBtn,onClick:()=>e("intake"),children:"Start Planning My Trip â"})]})]})}const se={page:{maxWidth:780,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.8},back:{marginBottom:32,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",opacity:.75},h1:{fontSize:30,fontWeight:800,marginBottom:16,color:"var(--text-primary)",lineHeight:1.3},h2:{fontSize:22,fontWeight:700,marginTop:40,marginBottom:12,color:"var(--text-primary)"},h3:{fontSize:17,fontWeight:700,marginTop:24,marginBottom:8,color:"var(--text-primary)"},p:{marginBottom:16,color:"var(--text-secondary)"},faqQ:{fontWeight:700,color:"var(--text-primary)",marginTop:24,marginBottom:6},cta:{background:"linear-gradient(135deg, #0057a8, #0099ff)",borderRadius:16,padding:"40px 32px",textAlign:"center",marginTop:56},ctaBtn:{background:"#fff",color:"#0057a8",padding:"14px 32px",borderRadius:100,fontWeight:700,border:"none",cursor:"pointer",fontSize:16,marginTop:16}};function Qg({onNavigate:e}){return E.useEffect(()=>{document.title="Negros Island Travel Guide: Dumaguete, Apo Island & More (2026) | Philippines Travel Planner";const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:"Negros Island Travel Guide: Dumaguete, Apo Island & Hidden Gems (2026)",description:"Travel guide for Negros Island â Dumaguete city, Apo Island sea turtles, Casaroro Falls, and Silliman University. The Philippines' most underrated destination.",author:{"@type":"Person",name:"Zayn Rodondi",url:"https://rodondigrowth.com"},publisher:{"@type":"Organization",name:"Philippines Travel Planner",url:"https://philippines-travel-planner.vercel.app"},datePublished:"2026-06-30",dateModified:"2026-06-30"}),document.head.appendChild(t),()=>document.head.removeChild(t)},[]),o.jsxs("div",{style:se.page,children:[o.jsx("div",{style:se.back,onClick:()=>e("home"),children:"â Back to Philippines Travel Planner"}),o.jsx("h1",{style:se.h1,children:"Negros Island Travel Guide: Dumaguete, Apo Island & Hidden Gems (2026)"}),o.jsx("p",{style:se.p,children:`Negros Oriental, anchored by the university city of Dumaguete, is one of the Philippines' most overlooked destinations â which is precisely why it's worth going. While tourists crowd Boracay and El Nido, Negros offers one of the world's finest sea turtle diving spots (Apo Island), a walkable city with a genuine café culture (Dumaguete is known as the "City of Gentle People"), dramatic waterfalls, and access to Siquijor Island â the Philippines' most mystical and misunderstood destination. The best time to visit is December through May.`}),o.jsx("h2",{style:se.h2,children:"4-Day Negros Itinerary"}),o.jsx("h3",{style:se.h3,children:"Day 1 â Arrive in Dumaguete"}),o.jsx("p",{style:se.p,children:"Fly into Sibulan Airport (DGT) from Cebu (30 min, â±1,000-2,500) or take the fast ferry from Cebu South Bus Terminal area (2.5 hours via Lite Shipping or Oceanjet). Dumaguete is a small, walkable city dominated by Silliman University â the first American-established university in Asia, with a beautiful green campus open to the public. Walk the Rizal Boulevard seafront promenade for sunset and have dinner at Lab-as Seafood Restaurant for excellent local cooking. The city's café culture is genuine and developed â grab coffee at Sans Rival Cakes & Pastries (local institution, famous for silvanas â butter cookie sandwiches) and explore the area around Silliman."}),o.jsx("h3",{style:se.h3,children:"Day 2 â Apo Island Sea Turtles"}),o.jsx("p",{style:se.p,children:"Apo Island, a 1-hour bangka ride south of Dumaguete (â±2,000-2,500 return private boat, or â±500-700 in a group), is one of the world's best c
109ommunity-managed marine sanctuaries. The island's reef has been protected since 1982 and the results are dramatic â the coral density and fish life are extraordinary. Most remarkable is the sea turtle population: green sea turtles and hawksbill turtles are so numerous and habituated to snorkellers that you can spend an hour just floating alongside them as they graze on the reef. No touching or chasing is enforced strictly by local guides (â±100/person fee). The diving is world-class (Coconut Point and the Chapel Point walls), and snorkellers see almost as much as divers from the surface. Stay overnight on the island for sunrise â basic cottages (â±800-1,500/night) and home-cooked meals."}),o.jsx("h3",{style:se.h3,children:"Day 3 â Casaroro Falls & Twin Lakes"}),o.jsx("p",{style:se.p,children:"Return to Dumaguete and rent a motorbike or habal-habal (motorbike taxi) for the inland attractions. Casaroro Falls in Valencia is a stunning 30-metre waterfall reached by a 30-minute hike down a steep ravine through jungle (â±50 entrance + â±200 guide fee). The pool at the base is deep and cold â swimming is excellent. On the way back, stop at the Twin Lakes of Balinsasayao and Danao â two crater lakes in a protected natural park surrounded by old-growth forest. Kayaking is available (â±150/30min) and the birdwatching is outstanding. Return to Dumaguete for the night."}),o.jsx("h3",{style:se.h3,children:"Day 4 â Siquijor Day Trip or Departure"}),o.jsx("p",{style:se.p,children:"Take the morning fast ferry from Dumaguete to Siquijor Island (1 hour, â±280) for a day trip to the Philippines' most mystical destination. Siquijor has a reputation for faith healers and folk magic that has kept many tourists away â which means its beaches (San Juan, Salagdoong) remain largely empty and its waterfalls (Cambugahay Falls, where rope swings hang over the pool) uncrowded. It's one of the most laid-back islands in the Philippines. Return to Dumaguete in the afternoon for your flight or ferry connection."}),o.jsx("h2",{style:se.h2,children:"Frequently Asked Questions"}),o.jsx("p",{style:se.faqQ,children:"What is Dumaguete known for?"}),o.jsx("p",{style:se.p,children:'Dumaguete is known as the "City of Gentle People" and as a university town anchored by Silliman University â the first American-established university in Asia. It is also known as the gateway to Apo Island (sea turtle diving), has a developed café culture, and is one of the most relaxed and affordable cities in the Philippines.'}),o.jsx("p",{style:se.faqQ,children:"Is Apo Island worth visiting?"}),o.jsx("p",{style:se.p,children:"Yes â Apo Island is one of the best snorkelling and diving destinations in the Philippines and arguably the best place in the country to swim with sea turtles. The marine sanctuary has been protected for over 40 years and the results are extraordinary. Even non-divers see abundant turtles, vibrant coral, and large fish schools while snorkelling."}),o.jsx("p",{style:se.faqQ,children:"How do you get to Negros from Cebu?"}),o.jsx("p",{style:se.p,children:"The fastest way is to fly Cebu Pacific from Mactan Airport (CEB) to Sibulan Airport (DGT) in Dumaguete â 30 minutes, â±1,000-2,500. You can also take a fast ferry from Cebu City South Terminal (Pier 4) to Dumaguete â 2.5-3 hours, â±400-600 with Oceanjet or Lite Shipping."}),o.jsx("p",{style:se.faqQ,children:"Is Negros a good alternative to Boracay or Bali?"}),o.jsx("p",{style:se.p,children:"Yes â if you want to avoid crowds and tourist infrastructure while still having excellent diving, waterfalls, beaches, and good food, Negros is an excellent alternative. It is significantly less developed than Boracay and much cheaper, with an authenticity that overtouristed destinations have lost."}),o.jsx("p",{style:se.faqQ,children:"What is the best time to visit Negros?"}),o.jsx("p",{style:se.p,children:"The best time to visit Negros is December through May (dry season) when Apo Island diving visibility is at its best (15-25 metres) and waterfalls are accessible. June through November brings more rain and occasional typhoons, though Apo Island is sheltered enough to be diveable most of the year."}),o.jsxs("div",{style:se.cta,children:[o.jsx("h2",{style:{color:"#fff",margin:0,fontSize:22},children:"Ready to explore Negros?"}),o.jsx("p",{style:{color:"rgba(255,255,255,0.85)",marginTop:8},children:"Get a custom Negros itinerary â Apo Island, Dumaguete, waterfalls, and Siquijor â built around your exact dates and travel style."}),o.jsx("button",{style:se.ctaBtn,onClick:()=>e("intake"),children:"Start Planning My Trip â"})]})]})}const S={page:{maxWidth:780,margin:"0 auto",padding:"48px 24px 80px",color:"var(--text-primary)",lineHeight:1.8},back:{marginBottom:32,fontSize:13,color:"var(--text-secondary)",cursor:"pointer",opacity:.75},h1:{fontSize:30,fontWeight:800,marginBottom:16,color:"var(--text-primary)",lineHeight:1.3},h2:{fontSize:22,fontWeight:700,marginTop:44,marginBottom:12,color:"var(--text-primary)"},h3:{fontSize:17,fontWeight:700,marginTop:28,marginBottom:8,color:"var(--text-primary)"},p:{marginBottom:16,color:"var(--text-secondary)",margin:0},faqQ:{fontWeight:700,color:"var(--text-primary)",marginTop:24,marginBottom:6},destLink:{color:"var(--accent, #0066cc)",cursor:"pointer",textDecoration:"underline",fontWeight:600},cta:{background:"linear-gradient(135deg, #0057a8, #0099ff)",borderRadius:16,padding:"40px 32px",textAlign:"center",marginTop:56},ctaBtn:{background:"#fff",color:"#0057a8",padding:"14px 32px",borderRadius:100,fontWeight:700,border:"none",cursor:"pointer",fontSize:16,marginTop:16},table:{width:"100%",borderCollapse:"collapse",marginBottom:24},th:{textAlign:"left",padding:"10px 12px",background:"rgba(255,255,255,0.05)",fontWeight:700,fontSize:13,borderBottom:"1px solid rgba(255,255,255,0.1)"},td:{padding:"10px 12px",fontSize:14,borderBottom:"1px solid rgba(255,255,255,0.06)",color:"var(--text-secondary)"}};function Vg({onNavigate:e}){return E.useEffect(()=>{document.title="Complete Philippines Travel Guide (2026): Everything You Need to Know | Philippines Travel Planner";const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:"The Complete Philippines Travel Guide (2026)",description:"Everything you need to plan a trip to the Philippines â best time to visit, island regions, budget breakdown, visa info, inter-island travel, top itinerary routes, and safety tips.",author:{"@type":"Person",name:"Zayn Rodondi",url:"https://rodondigrowth.com"},publisher:{"@type":"Organization",name:"Philippines Travel Planner",url:"https://philippines-travel-planner.vercel.app"},datePublished:"2026-06-30",dateModified:"2026-06-30",mainEntityOfPage:"https://philippines-travel-planner.vercel.app/philippines-travel-guide",wordCount:2800}),document.head.appendChild(t),()=>document.head.removeChild(t)},[]),o.jsxs("div",{style:S.page,children:[o.jsx("div",{style:S.back,onClick:()=>e("home"),children:"â Back to Philippines Travel Planner"}),o.jsx("h1",{style:S.h1,children:"The Complete Philippines Travel Guide (2026)"}),o.jsxs("p",{style:S.p,children:["The Philippines is 7,641 islands scattered across the western Pacific â a country of extraordinary natural diversity, warm people, and a travel scene that remains genuinely underexplored despite its obvious attractions. From the emerald lagoons of ",o.jsx("span",{style:S.destLink,onClick:()=>
109e("dest-palawan"),children:"Palawan"})," to the surf breaks of ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-siargao"),children:"Siargao"}),", the colonial history of ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-manila"),children:"Manila"})," to the strange geology of ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-bohol"),children:"Bohol's"})," Chocolate Hills â no other Southeast Asian country packs this much variety into one destination. This is everything you need to plan your trip."]}),o.jsx("h2",{style:S.h2,children:"Why Visit the Philippines?"}),o.jsx("p",{style:S.p,children:"The Philippines offers something most destinations can't: genuine remoteness combined with genuine accessibility. You can fly direct from Singapore, Hong Kong, or Tokyo into Cebu or Manila, and within 90 minutes be on a beach that feels like it belongs to the 1980s. The country has the warmest people in Southeast Asia (this is not a cliché â Filipino hospitality is a real cultural value, not a tourism industry product), an excellent street food culture, and diving and snorkelling that rivals the Maldives at a fraction of the price. English is universally spoken â every sign, menu, and conversation happens in English. There are no language barriers. For first-time Southeast Asia travellers, the Philippines is the most accessible soft landing."}),o.jsx("h2",{style:S.h2,children:"Best Time to Visit the Philippines"}),o.jsx("p",{style:S.p,children:"The Philippines has two seasons: the dry season (Amihan, northeast monsoon â November through April) and the wet season (Habagat, southwest monsoon â May through October). The dry season is when the country is at its best: calm seas for island hopping, clear skies, and optimal diving visibility. However, the geography is complex â different regions are affected differently:"}),o.jsxs("table",{style:S.table,children:[o.jsx("thead",{children:o.jsxs("tr",{children:[o.jsx("th",{style:S.th,children:"Month"}),o.jsx("th",{style:S.th,children:"Condition"}),o.jsx("th",{style:S.th,children:"Best For"})]})}),o.jsx("tbody",{children:[["NovâJan","Dry, cooler (25â30°C)","Palawan, Cebu, Boracay, Bohol"],["FebâApr","Dry, hot (30â35°C)","All islands â peak season"],["May","Shoulder, winds starting","Siargao surf begins, crowds thin"],["JunâSep","Typhoon season","Siargao surf peak (JulyâSep), avoid Palawan/Cebu"],["Oct","End of wet season","Transition, affordable, watch forecasts"]].map(([t,n,r])=>o.jsxs("tr",{children:[o.jsx("td",{style:S.td,children:t}),o.jsx("td",{style:S.td,children:n}),o.jsx("td",{style:S.td,children:r})]},t))})]}),o.jsxs("p",{style:S.p,children:["The typhoon season (JuneâNovember) sees an average of 20 typhoons per year, with the most intense typically hitting in AugustâOctober. Most typhoons track through the central Philippines (Visayas) or northern Luzon. ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-siargao"),children:"Siargao"})," and southern ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-cebu"),children:"Cebu"})," are relatively sheltered. Palawan and northern Luzon are more exposed."]}),o.jsx("h2",{style:S.h2,children:"The Three Island Groups"}),o.jsx("h3",{style:S.h3,children:"Luzon"}),o.jsxs("p",{style:S.p,children:["The largest island and home to ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-manila"),children:"Manila"}),", the capital. Luzon contains the Spanish colonial city of Vigan (UNESCO World Heritage), the Banaue Rice Terraces (2,000-year-old hand-carved terraces), Batanes Province (the remotest and arguably most beautiful corner of the country), Subic Bay, and the beach towns of La Union. Most travellers use Manila only as a transit hub â the good stuff starts an hour's flight away."]}),o.jsx("h3",{style:S.h3,children:"Visayas"}),o.jsxs("p",{style:S.p,children:["The central island group and the most visited. ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-cebu"),children:"Cebu"})," is the hub â well-connected internationally, with excellent diving, whale shark experiences, and Kawasan Falls. ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-bohol"),children:"Bohol"})," is a 2-hour ferry from Cebu and packs the Chocolate Hills, tarsiers, and Balicasag Island diving into a compact island. ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-boracay"),children:"Boracay"})," has the Philippines' most famous beach. ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-siargao"),children:"Siargao"}
109)," is in the far east Visayas â surf capital of the country. Negros, Leyte, and Samar offer rewarding off-the-beaten-path experiences."]}),o.jsx("h3",{style:S.h3,children:"Mindanao"}),o.jsx("p",{style:S.p,children:"The second-largest island, largely overlooked by international tourism due to historical security concerns in some western areas. The Davao region in the south is completely safe and has excellent domestic tourism infrastructure â Mt. Apo (the highest peak in the Philippines), the Samal Island beaches, and Davao City (one of the cleanest and safest cities in the country). Siargao, technically part of the Caraga region on Mindanao's northeast coast, is fully safe and sees heavy tourist traffic."}),o.jsx("h2",{style:S.h2,children:"Top 5 Itinerary Routes for First-Timers"}),o.jsx("h3",{style:S.h3,children:"Route 1: Classic Philippines (10 days)"}),o.jsxs("p",{style:S.p,children:["Manila (2 days) â fly to Puerto Princesa â ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-palawan"),children:"Palawan"}),": Underground River + El Nido (5 days) â fly to ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-cebu"),children:"Cebu"})," (2 days) â fly home from Cebu. This covers the country's best highlights with two flight legs."]}),o.jsx("h3",{style:S.h3,children:"Route 2: Beach & Dive (12 days)"}),o.jsxs("p",{style:S.p,children:[o.jsx("span",{style:S.destLink,onClick:()=>e("dest-cebu"),children:"Cebu"})," (2 days: Oslob + Kawasan Falls) â ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-bohol"),children:"Bohol"})," (3 days: Chocolate Hills + Balicasag) â ferry back to Cebu â fly to ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-siargao"),children:"Siargao"})," (4 days) â fly to ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-boracay"),children:"Boracay"})," (3 days). All Visayas â minimal backtracking, maximum beach and water time."]}),o.jsx("h3",{style:S.h3,children:"Route 3: Palawan Deep Dive (10 days)"}),o.jsxs("p",{style:S.p,children:["Fly Manila to ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-el-nido"),children:"El Nido"})," direct via AirSWIFT â El Nido (4 days, all 4 island-hopping tours) â fastcraft to ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-coron"),children:"Coron"})," (4 days, wreck diving + lakes) â fly home from Busuanga. The purest Palawan experience without compromising on time."]}),o.jsx("h3",{style:S.h3,children:"Route 4: Culture & Nature (14 days)"}),o.jsxs("p",{style:S.p,children:[o.jsx("span",{style:S.destLink,onClick:()=>e("dest-manila"),children:"Manila"})," (2 days) â overnight bus/fly to Vigan (2 days) â fly to ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-batanes"),children:"Batanes"})," (4 days) â fly back to Manila â fly to ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-bohol"),children:"Bohol"})," (3 days) â ferry to Dumaguete/Negros (3 days). Covers the Philippines' cultural and natural diversity from north to south."]}),o.jsx("h3",{style:S.h3,children:"Route 5: Budget Philippines (14 days)"}),o.jsxs("p",{style:S.p,children:["Manila (1 day) â fly to Cebu â ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-cebu"),children:"Cebu south route"})," by bus (3 days: Oslob/Kawasan/Moalboal) â ferry to ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-bohol"),children:"Bohol"})," (3 days) â ferry to Cebu â fly to ",o.jsx("span",{style:S.destLink,onClick:()=>e("dest-siargao"),children:"Siargao"})," (4 days) â fly home from Siargao via Cebu. Achievable on â±2,500-3,500/day ($45-65) all-in including accommodation."]}),o.jsx("h2",{style:S.h2,children:"Budget Breakdown"}),o.jsxs("p",{style:S.p,children:[o.jsx("strong",{children:"Budget traveller ($40-60/day):"})," Dorm beds or fan rooms (â±400-1,000), carinderia meals and local restaurants (â±150-350/meal), group island-hopping tours (â±600-1,500), public buses and ferries. Flights are the main cost â book ahead for â±800-2,500 domestic one-way."]}),o.jsxs("p",{style:S.p,children:[o.jsx("strong",{children:"Mid-range ($100-150/day):"})," Air-conditioned private rooms at guesthouses or small hotels (â±2,000-5,000), sit-down restaurant meals (â±350-
109700), private tours and day rentals, Grab taxis in cities."]}),o.jsxs("p",{style:S.p,children:[o.jsx("strong",{children:"Luxury ($250+/day):"})," Boutique resorts and beachfront properties (â±8,000-30,000), fine dining, private speedboat charters for island hopping, private van transfers. The Philippines has world-class luxury at prices far below equivalent products in the Maldives or Bali."]}),o.jsx("h2",{style:S.h2,children:"Getting Around the Philippines"}),o.jsx("h3",{style:S.h3,children:"Domestic Flights"}),o.jsx("p",{style:S.p,children:"Cebu Pacific and AirAsia operate extensive domestic networks connecting Manila, Cebu, and all major island airports. Book 2-4 weeks ahead for best prices (â±800-3,500 one way for most routes). The AirSWIFT airline serves El Nido and Caticlan (Boracay) direct from Manila. Skyjet serves Batanes."}),o.jsx("h3",{style:S.h3,children:"Ferries"}),o.jsx("p",{style:S.p,children:"2Go Travel operates overnight inter-island ferries between major ports (Manila-Cebu is 21 hours â comfortable for budget travellers, surprising few). Fast ferries (Oceanjet, SuperCat, FastCat) connect shorter routes: Cebu-Bohol (2h), Cebu-Negros (2.5h), El Nido-Coron (4h). Buy tickets at the port or online."}),o.jsx("h3",{style:S.h3,children:"Local Transport"}),o.jsx("p",{style:S.p,children:"Jeepneys (colourful converted jeeps, â±12-30/ride), tricycles (motorcycle sidecars, â±30-100 for short hops), habal-habal (motorbike taxis in rural areas), and Grab (ride-hailing app, available in all major cities) cover local travel. Rent a motorbike on most islands (â±350-600/day) for maximum freedom."}),o.jsx("h2",{style:S.h2,children:"Visa Information"}),o.jsx("p",{style:S.p,children:"Citizens of most countries â including the US, UK, EU, Australia, Canada, Japan, South Korea, and Singapore â receive a free visa on arrival valid for 30 days. This can be extended at any Bureau of Immigration office for â±3,030 (another 29 days). A second extension adds another 29 days. Most travellers can stay up to 59 days without pre-arranging a visa. Citizens of some countries (China, India, certain others) must apply for a visa in advance â check the Philippine Bureau of Immigration website for current requirements."}),o.jsx("h2",{style:S.h2,children:"Safety Tips"}),o.jsx("p",{style:S.p,children:"The Philippines is safe for tourists in all the destinations covered in this guide. Common sense precautions: use Grab in cities (avoid unmarked taxis), keep your phone in your pocket in crowded markets, be aware of petty theft in tourist areas, and always check typhoon forecasts before booking island activities during the wet season. The PAGASA website publishes typhoon tracking. Travel insurance covering medical evacuation is strongly recommended â inter-island medical transport can be slow and expensive."}),o.jsx("p",{style:S.p,children:"The western and central Mindanao regions (not Davao, not Siargao) have a separate security situation that most travel advisories flag â check your government's travel advisory for current guidance. All destinations in this guide are considered fully safe for tourists."}),o.jsx("h2",{style:S.h2,children:"Packing List for the Philippines"}),o.jsxs("p",{style:S.p,children:[o.jsx("strong",{children:"Essentials:"})," reef-safe sunscreen (non-negotiable â coral preservation is important), rash guard or long-sleeve swim top, dry bag for island hopping, lightweight quick-dry clothes, flip flops and one pair of walking shoes, headlamp (useful on remote islands), power bank (electricity can be unreliable), and a small first-aid kit with stomach medication (Filipino street food is excellent but your gut may need time to adjust)."]}),o.jsxs("p",{style:S.p,children:[o.jsx("strong",{children:"Documents:"})," Passport valid for at least 6 months beyond travel dates, proof of onward travel (airlines may ask at check-in), travel insurance documentation, and copies of all bookings stored offline (island WiFi is unreliable)."]}),o.jsx("h2",{style:S.h2,children:"Frequently Asked Questions"}),o.jsx("p",{style:S.faqQ,children:"What is the best island to visit in the Philippines?"}),o.jsx("p",{style:S.p,children:"Palawan is consistently ranked the best island in the Philippines â and the world â for its comb
109ination of dramatic scenery (limestone karst, lagoons, turquoise water) and variety of experiences (El Nido, Coron, Puerto Princesa Underground River). For beaches, Boracay. For surfing, Siargao. For culture and adventure, Cebu. For first-timers, Palawan or Cebu are the strongest choices."}),o.jsx("p",{style:S.faqQ,children:"Is the Philippines expensive to visit?"}),o.jsx("p",{style:S.p,children:"No â the Philippines is one of the most affordable travel destinations in Southeast Asia once you're on the ground. Budget travellers can manage on $40-60/day. The main costs are international and domestic flights. Food, accommodation, and activities are all significantly cheaper than Thailand, Bali, or Vietnam for comparable quality."}),o.jsx("p",{style:S.faqQ,children:"How long should I spend in the Philippines?"}),o.jsx("p",{style:S.p,children:"Two weeks is the minimum for a meaningful Philippines trip â enough for one main island (Palawan or Cebu) plus one secondary destination. Three weeks allows you to cover two islands properly plus Manila. The country rewards longer stays â four weeks lets you explore without rushing."}),o.jsx("p",{style:S.faqQ,children:"Do I need to speak Filipino to visit the Philippines?"}),o.jsx("p",{style:S.p,children:"No â English is an official language of the Philippines and is spoken everywhere from airports to remote island guesthouses. Every sign, menu, and official communication is in English. Language is never a barrier for English-speaking visitors."}),o.jsx("p",{style:S.faqQ,children:"What currency does the Philippines use?"}),o.jsx("p",{style:S.p,children:"The Philippine Peso (PHP, â±). As of mid-2026, approximately â±56-58 per US dollar. ATMs are available in all cities and major tourist areas. Carry some cash on islands (ATMs may be unavailable or run dry in remote areas). BDO, BPI, and Metrobank ATMs accept foreign cards most reliably."}),o.jsx("p",{style:S.faqQ,children:"Is the Philippines good for solo travellers?"}),o.jsx("p",{style:S.p,children:"Yes â the Philippines is an excellent solo travel destination. Filipinos are exceptionally welcoming to solo travellers and English is universal. Island-hopping tours are designed for groups and easy to join as a solo. Solo female travellers should exercise the same precautions as in any travel destination â Filipinos are generally respectful and harassment is less prevalent than in many other Asian destinations."}),o.jsx("p",{style:S.faqQ,children:"What is the best Philippines destination for couples or honeymoons?"}),o.jsx("p",{style:S.p,children:"El Nido and Palawan are the most popular honeymoon destinations â the El Nido Resorts properties (Lagen Island and Miniloc Island) are among the finest boutique eco-resorts in Southeast Asia. Siargao is also popular for couples seeking a laid-back surf vibe. Boracay's luxury resorts (Discovery Shores, The Lind) are another option with easy access from Manila."}),o.jsx("p",{style:S.faqQ,children:"How do I plan a Philippines trip?"}),o.jsx("p",{style:S.p,children:"The most important decisions are: (1) which season to visit â dry season (Nov-Apr) for most destinations, (2) which island cluster â Palawan, Visayas, or both, (3) how many internal flights your budget allows. Once those are fixed, the detailed day-by-day planning follows from there. Our travel experts can handle all of this for you â see below."}),o.jsx("p",{style:S.faqQ,children:"Are there crocodiles in the Philippines?"}),o.jsx("p",{style:S.p,children:"Philippine crocodiles and saltwater crocodiles exist in the Philippines but are extremely rare and found only in specific remote freshwater habitats (particularly Palawan's river systems and some Mindanao rivers). You will not encounter them at any tourist beach, lagoon, or resort. This is not a safety concern for visitors to standard tourist destinations."}),o.jsx("p",{style:S.faqQ,children:"What vaccinations do I need for the Philippines?"}),o.jsx("p",{style:S.p,children:"No vaccinations are mandatory for entering the Philippines. Recommended vaccinations include Hepatitis A and B, Typhoid (if eating street food), and a Tetanus booster. Malaria prophylaxis may be recommended for extended stays in rural Palawan or Mindanao â consult a travel health clinic 4-6 weeks before departure. Dengue fever is present â use insect repellent, especially at dawn and dusk."}),o.jsxs("div",{style:S.cta,children:[o.jsx("h2",{style:{color:"#fff",margin:0,fontSize:22},children:"Ready to plan your Philippines trip?"}),o.jsx("p",{style:{color:"rgba(255,255,255,0.85)",marginTop:8},children:"Get a custom day-by-day Philippines itinerary built around your exact budget, travel dates, and interests â by a real Philippines travel expert."}),o.jsx("button",{style:S.ctaBtn,onClick:()=>e("intake"),children:"Start Planning My Trip â"})]})]})}function Gg({onUnlock:e}){const[t,n]=E.useState(""),[r,i]=E.useState(!1),[a,s]=E.useState(""),l=async u=>{var c,p,m;u.preventDefault(),i(!0),s(""),localStorage.setItem("adminKey",t.trim());try{await qr.list(),e()}catch(f){localStorage.removeItem("adminKey");const g=(c=f.response)==null?void 0:c.status;s(g===429?((m=(p=f.response)==null?void 0:p.data)==null?void 0:m.error)||"Too many incorrect tries â locked for 15 minutes.":g===403?"Wrong PIN. Try again.":"Could not verify (server waking up?). Try again.")}finally{i(!1)}};return o.jsx("div",{className:"app-container",children:o.jsxs("div",{className:"planner-page",style:{maxWidth:380,margin:"0 auto",paddingTop:60},children:[o.jsx("h1",{style:{fontSize:22,fontWeight:800,color:"var(--text-primary)",textAlign:"center",marginBottom:6},children:"ð Internal Tool"}),o.jsx("p",{style:{fontSize:13,color:"var(--text-secondary)",textAlign:"center",marginBottom:20},children:"Itinerary generator â staff only. Enter your PIN to unlock."}),o.jsxs("form",{onSubmit:l,children:[a&&o.jsx("div",{className:"error-message",style:{marginBottom:12},children:a}),o.jsx("div",{className:"form-group",children:o.jsx("input",{type:"password",inputMode:"numeric",value:t,onChange:u=>n(u.target.value),placeholder:"Enter your PIN",autoFocus:!0,style:{width:"100%"}})}),o.jsx("button",{type:"submit",className:"generate-button",disabled:r||!t,style:{marginTop:8},children:r?"Checkingâ¦":"Unlock generator â"})]})]})})}function Kg(){const[e,t]=E.useState(localStorage.getItem("authToken")||null),[n,r]=E.useState(null),[i,a]=E.useState("home"),[s,l]=E.useState(!0),u=typeof window<"u"&&new URLSearchParams(window.location.search).get("admin")==="1",c=typeof window<"u"&&new URLSearchParams(window.location.search).get("funnel")==="1",[p,m]=E.useState(!1),[f,g]=E.useState(!1);E.useEffect(()=>{e?Hu.getMe().then(d=>{r(d.data),l(!1)}).catch(()=>{localStorage.removeItem("authToken"),t(null),l(!1)}):l(!1)},[e]),E.useEffect(()=>{fetch("https://philippines-travel-planner.onrender.com/api/health",{method:"GET",cac
109he:"no-store"}).catch(()=>{})},[]),E.useEffect(()=>{!u||!localStorage.getItem("adminKey")||(g(!0),qr.list().then(()=>m(!0)).catch(d=>{var y;((y=d.response)==null?void 0:y.status)===403&&localStorage.removeItem("adminKey")}).finally(()=>g(!1)))},[u]);const b=d=>{localStorage.setItem("authToken",d),t(d),Hu.getMe().then(y=>r(y.data)).catch(()=>{})},x=()=>{localStorage.removeItem("authToken"),t(null),r(null)},w=d=>{a(d),window.scrollTo({top:0,behavior:"smooth"})};if(s)return o.jsx("div",{className:"app-container",children:o.jsxs("div",{className:"loading",children:[o.jsx("div",{className:"spinner"}),o.jsx("p",{className:"loading-text",children:"Loading..."})]})});if(u)return o.jsxs("div",{className:"app",children:[f?o.jsx("div",{className:"app-container",children:o.jsxs("div",{className:"loading",children:[o.jsx("div",{className:"spinner"}),o.jsx("p",{className:"loading-text",children:"Unlockingâ¦"})]})}):p?o.jsx(Ag,{user:n,authToken:e,onLogin:b,onLogout:x,paidItineraryIdx:null}):o.jsx(Gg,{onUnlock:()=>m(!0)}),o.jsx(Xu,{onNavigate:w})]});const h=()=>{switch(i){case"about":return o.jsx(Ig,{onNavigate:w});case"privacy":return o.jsx(Dg,{onNavigate:w});case"terms":return o.jsx(zg,{onNavigate:w});case"disclosures":return o.jsx(_g,{onNavigate:w});case"philippines-guide":return o.jsx(Vg,{onNavigate:w});case"dest-palawan":return o.jsx(Lg,{onNavigate:w});case"dest-boracay":return o.jsx(Og,{onNavigate:w});case"dest-cebu":return o.jsx(Mg,{onNavigate:w});case"dest-siargao":return o.jsx(Fg,{onNavigate:w});case"dest-el-nido":return o.jsx(Wg,{onNavigate:w});case"dest-bohol":return o.jsx(Hg,{onNavigate:w});case"dest-manila":return o.jsx(Ug,{onNavigate:w});case"dest-coron":return o.jsx($g,{onNavigate:w});case"dest-batanes":return o.jsx(qg,{onNavigate:w});case"dest-negros":return o.jsx(Qg,{onNavigate:w});default:return c?o.jsx(sg,{}):o.jsx(ng,{})}};return o.jsxs("div",{className:"app",children:[h(),o.jsx(Xu,{onNavigate:w})]})}ga.createRoot(document.getElementById("root")).render(o.jsx(Jh.StrictMode,{children:o.jsx(Kg,{})}));export{xg as _,Yg as c,zh as g};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.