vendor: 4,274 bytes, lines 1-9
1var um=t=>{throw TypeError(t)};var Fu=(t,n,i)=>n.has(t)||um("Cannot "+i);var B=(t,n,i)=>(Fu(t,n,"read from private field"),i?i.call(t):n.get(t)),be=(t,n,i)=>n.has(t)?um("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,i),he=(t,n,i,s)=>(Fu(t,n,"write to private field"),s?s.call(t,i):n.set(t,i),i),it=(t,n,i)=>(Fu(t,n,"access private method"),i);var la=(t,n,i,s)=>({set _(l){he(t,n,l,i)},get _(){return B(t,n,s)}});function Vw(t,n){for(var i=0;i<n.length;i++){const s=n[i];if(typeof s!="string"&&!Array.isArray(s)){for(const l in s)if(l!=="default"&&!(l in t)){const u=Object.getOwnPropertyDescriptor(s,l);u&&Object.defineProperty(t,l,u.get?u:{enumerable:!0,get:()=>s[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))s(l);new MutationObserver(l=>{for(const u of l)if(u.type==="childList")for(const d of u.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&s(d)}).observe(document,{childList:!0,subtree:!0});function i(l){const u={};return l.integrity&&(u.integrity=l.integrity),l.referrerPolicy&&(u.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?u.credentials="include":l.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function s(l){if(l.ep)return;l.ep=!0;const u=i(l);fetch(l.href,u)}})();function kg(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ju={exports:{}},Co={},_u={exports:{}},xe={};/** 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 cm;function zw(){if(cm)return xe;cm=1;var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),d=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;function x(P){return P===null||typeof P!="object"?null:(P=v&&P[v]||P["@@iterator"],typeof P=="function"?P:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},N=Object.assign,k={};function E(P,U,pe){this.props=P,this.context=U,this.refs=k,this.updater=pe||C}E.prototype.isReactComponent={},E.prototype.setState=function(P,U){if(typeof P!="object"&&typeof P!="function"&&P!=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,P,U,"setState")},E.prototype.forceUpdate=function(P){this.updater.enqueueForceUpdate(this,P,"forceUpdate")};function R(){}R.prototype=E.prototype;function F(P,U,pe){this.props=P,this.context=U,this.refs=k,this.updater=pe||C}var j=F.prototype=new R;j.constructor=F,N(j,E.prototype),j.isPureReactComponent=!0;var O=Array.isArray,V=Object.prototype.hasOwnProperty,I={current:null},G={key:!0,ref:!0,__self:!0,__source:!0};function D(P,U,pe){var ye,le={},ue=null,ke=null;if(U!=null)for(ye in U.ref!==void 0&&(ke=U.ref),U.key!==void 0&&(ue=""+U.key),U)V.call(U,ye)&&!G.hasOwnProperty(ye)&&(le[ye]=U[ye]);var Se=arguments.length-2;if(Se===1)le.children=pe;else if(1<Se){for(var me=Array(Se),He=0;He<Se;He++)me[He]=arguments[He+2];le.children=me}if(P&&P.defaultProps)for(ye in Se=P.defaultProps,Se)le[ye]===void 0&&(le[ye]=Se[ye]);return{$$typeof:t,type:P,key:ue,ref:ke,props:le,_owner:I.current}}function Y(P,U){return{$$typeof:t,type:P.type,key:U,ref:P.ref,props:P.props,_owner:P._owner}}function H(P){return typeof P=="object"&&P!==null&&P.$$typeof===t}function ge(P){var U={"=":"=0",":":"=2"};return"$"+P.replace(/[=:]/g,function(pe){return U[pe]})}var qe=/\/+/g;function _e(P,U){return typeof P=="object"&&P!==null&&P.key!=null?ge(""+P.key):U.toString(36)}function Me(P,U,pe,ye,le){var ue=typeof P;(ue==="undefined"||ue==="boolean")&&(P=null);var ke=!1;
vendor: 10,344 bytes, lines 9-33
9if(P===null)ke=!0;else switch(ue){case"string":case"number":ke=!0;break;case"object":switch(P.$$typeof){case t:case n:ke=!0}}if(ke)return ke=P,le=le(ke),P=ye===""?"."+_e(ke,0):ye,O(le)?(pe="",P!=null&&(pe=P.replace(qe,"$&/")+"/"),Me(le,U,pe,"",function(He){return He})):le!=null&&(H(le)&&(le=Y(le,pe+(!le.key||ke&&ke.key===le.key?"":(""+le.key).replace(qe,"$&/")+"/")+P)),U.push(le)),1;if(ke=0,ye=ye===""?".":ye+":",O(P))for(var Se=0;Se<P.length;Se++){ue=P[Se];var me=ye+_e(ue,Se);ke+=Me(ue,U,pe,me,le)}else if(me=x(P),typeof me=="function")for(P=me.call(P),Se=0;!(ue=P.next()).done;)ue=ue.value,me=ye+_e(ue,Se++),ke+=Me(ue,U,pe,me,le);else if(ue==="object")throw U=String(P),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.");return ke}function Ie(P,U,pe){if(P==null)return P;var ye=[],le=0;return Me(P,ye,"","",function(ue){return U.call(pe,ue,le++)}),ye}function Ee(P){if(P._status===-1){var U=P._result;U=U(),U.then(function(pe){(P._status===0||P._status===-1)&&(P._status=1,P._result=pe)},function(pe){(P._status===0||P._status===-1)&&(P._status=2,P._result=pe)}),P._status===-1&&(P._status=0,P._result=U)}if(P._status===1)return P._result.default;throw P._result}var de={current:null},q={transition:null},re={ReactCurrentDispatcher:de,ReactCurrentBatchConfig:q,ReactCurrentOwner:I};function _(){throw Error("act(...) is not supported in production builds of React.")}return xe.Children={map:Ie,forEach:function(P,U,pe){Ie(P,function(){U.apply(this,arguments)},pe)},count:function(P){var U=0;return Ie(P,function(){U++}),U},toArray:function(P){return Ie(P,function(U){return U})||[]},only:function(P){if(!H(P))throw Error("React.Children.only expected to receive a single React element child.");return P}},xe.Component=E,xe.Fragment=i,xe.Profiler=l,xe.PureComponent=F,xe.StrictMode=s,xe.Suspense=m,xe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=re,xe.act=_,xe.cloneElement=function(P,U,pe){if(P==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+P+".");var ye=N({},P.props),le=P.key,ue=P.ref,ke=P._owner;if(U!=null){if(U.ref!==void 0&&(ue=U.ref,ke=I.current),U.key!==void 0&&(le=""+U.key),P.type&&P.type.defaultProps)var Se=P.type.defaultProps;for(me in U)V.call(U,me)&&!G.hasOwnProperty(me)&&(ye[me]=U[me]===void 0&&Se!==void 0?Se[me]:U[me])}var me=arguments.length-2;if(me===1)ye.children=pe;else if(1<me){Se=Array(me);for(var He=0;He<me;He++)Se[He]=arguments[He+2];ye.children=Se}return{$$typeof:t,type:P.type,key:le,ref:ue,props:ye,_owner:ke}},xe.createContext=function(P){return P={$$typeof:d,_currentValue:P,_currentValue2:P,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},P.Provider={$$typeof:u,_context:P},P.Consumer=P},xe.createElement=D,xe.createFactory=function(P){var U=D.bind(null,P);return U.type=P,U},xe.createRef=function(){return{current:null}},xe.forwardRef=function(P){return{$$typeof:h,render:P}},xe.isValidElement=H,xe.lazy=function(P){return{$$typeof:g,_payload:{_status:-1,_result:P},_init:Ee}},xe.memo=function(P,U){return{$$typeof:p,type:P,compare:U===void 0?null:U}},xe.startTransition=function(P){var U=q.transition;q.transition={};try{P()}finally{q.transition=U}},xe.unstable_act=_,xe.useCallback=function(P,U){return de.current.useCallback(P,U)},xe.useContext=function(P){return de.current.useContext(P)},xe.useDebugValue=function(){},xe.useDeferredValue=function(P){return de.current.useDeferredValue(P)},xe.useEffect=function(P,U){return de.current.useEffect(P,U)},xe.useId=function(){return de.current.useId()},xe.useImperativeHandle=function(P,U,pe){return de.current.useImperativeHandle(P,U,pe)},xe.useInsertionEffect=function(P,U){return de.current.useInsertionEffect(P,U)},xe.useLayoutEffect=function(P,U){return de.current.useLayoutEffect(P,U)},xe.useMemo=function(P,U){return de.current.useMemo(P,U)},xe.useReducer=function(P,U,pe){return de.current.useReducer(P,U,pe)},xe.useRef=function(P){return de.current.useRef(P)},xe.useState=function(P){return de.current.useState(P)},xe.useSyncExternalStore=function(P,U,pe){return de.current.useSyncExternalStore(P,U,pe)},xe.useTransition=function(){return de.current.useTransition()},xe.version="18.3.1",xe}var dm;function Dc(){return dm||(dm=1,_u.exports=zw()),_u.exports}/** 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 fm;function Uw(){if(fm)return Co;fm=1;var t=Dc(),n=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,l=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function d(h,m,p){var g,v={},x=null,C=null;p!==void 0&&(x=""+p),m.key!==void 0&&(x=""+m.key),m.ref!==void 0&&(C=m.ref);for(g in m)s.call(m,g)&&!u.hasOwnProperty(g)&&(v[g]=m[g]);if(h&&h.defaultProps)for(g in m=h.defaultProps,m)v[g]===void 0&&(v[g]=m[g]);return{$$typeof:n,type:h,key:x,ref:C,props:v,_owner:l.current}}return Co.Fragment=i,Co.jsx=d,Co.jsxs=d,Co}var hm;function $w(){return hm||(hm=1,ju.exports=Uw()),ju.exports}var w=$w(),z=Dc();const Jw=kg(z),Ww=Vw({__proto__:null,default:Jw},[z]);var ua={},Iu={exports:{}},bt={},Bu={exports:{}},Vu={};/** 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 */var mm;function qw(){return mm||(mm=1,(function(t){function n(q,re){var _=q.length;q.push(re);e:for(;0<_;){var P=_-1>>>1,U=q[P];if(0<l(U,re))q[P]=re,q[_]=U,_=P;else break e}}function i(q){return q.length===0?null:q[0]}function s(q){if(q.length===0)return null;var re=q[0],_=q.pop();if(_!==re){q[0]=_;e:for(var P=0,U=q.length,pe=U>>>1;P<pe;){var ye=2*(P+1)-1,le=q[ye],ue=ye+1,ke=q[ue];if(0>l(le,_))ue<U&&0>l(ke,le)?(q[P]=ke,q[ue]=_,P=ue):(q[P]=le,q[ye]=_,P=ye);else if(ue<U&&0>l(ke,_))q[P]=ke,q[ue]=_,P=ue;else break e}}return re}function l(q,re){var _=q.sortIndex-re.sortIndex;return _!==0?_:q.id-re.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var d=Date,h=d.now();t.unstable_now=function(){return d.now()-h}}var m=[],p=[],g=1,v=null,x=3,C=!1,N=!1,k=!1,E=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function j(q){for(var re=i(p);re!==null;){if(re.callback===null)s(p);else if(re.startTime<=q)s(p),re.sortIndex=re.expirationTime,n(m,re);else break;re=i(p)}}function O(q){if(k=!1,j(q),!N)if(i(m)!==null)N=!0,Ee(V);else{var re=i(p);re!==null&&de(O,re.startTime-q)}}function V(q,re){N=!1,k&&(k=!1,R(D),D=-1),C=!0;var _=x;try{for(j(re),v=i(m);v!==null&&(!(v.expirationTime>re)||q&&!ge());){var P=v.callback;if(typeof P=="function"){v.callback=null,x=v.priorityLevel;var U=P(v.expirationTime<=re);re=t.unstable_now(),typeof U=="function"?v.callback=U:v===i(m)&&s(m),j(re)}else s(m);v=i(m)}if(v!==null)var pe=!0;else{var ye=i(p);ye!==null&&de(O,ye.startTime-re),pe=!1}return pe}finally{v=null,x=_,C=!1}}var I=!1,G=null,D=-1,Y=5,H=-1;function ge(){return!(t.unstable_now()-H<Y)}function qe(){if(G!==null){var q=t.unstable_now();H=q;var re=!0;try{re=G(!0,q)}finally{re?_e():(I=!1,G=null)}}else I=!1}var _e;if(typeof F=="function")_e=function(){F(qe)};else if(typeof MessageChannel<"u"){var Me=new MessageChannel,Ie=Me.port2;Me.port1.onmessage=qe,_e=function(){Ie.postMessage(null)}}else _e=function(){E(qe,0)};function Ee(q){G=q,I||(I=!0,_e())}function de(q,re){D=E(function(){q(t.unstable_now())},re)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(q){q.callback=null},t.unstable_continueExecution=function(){N||C||(N=!0,Ee(V))},t.unstable_forceFrameRate=function(q){0>q||125<q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Y=0<q?Math.floor(1e3/q):5},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_getFirstCallbackNode=function(){return i(m)},t.unstable_next=function(q){switch(x){case 1:case 2:case 3:var re=3;break;default:re=x}var _=x;x=re;try{return q()}finally{x=_}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(q,re){switch(q){case 1:case 2:case 3:case 4:case 5:break;default:q=3}var _=x;x=q;try{return re()}finally{x=_}},t.unstable_scheduleCallback=function(q,re,_){var P=t.unstable_now();switch(typeof _=="object"&&_!==null?(_=_.delay,_=typeof _=="number"&&0<_?P+_:P):_=P,q){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=_+U,q={id:g++,callback:re,priorityLevel:q,startTime:_,expirationTime:U,sortIndex:-1},_>P?(q.sortIndex=_,n(p,q),i(m)===null&&q===i(p)&&(k?(R(D),D=-1):k=!0,de(O,_-P))):(q.sortIndex=U,n(m,q),N||C||(N=!0,Ee(V))),q},t.unstable_shouldYield=ge,t.unstable_wrapCallback=function(q){var re=x;return function(){var _=x;x=re;try{return q.apply(this,arguments)}finally{x=_}}}})(Vu)),Vu}var pm;function Kw(){return pm||(pm=1,Bu.exports=qw()),Bu.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 gm;function Hw(){if(gm)return bt;gm=1;var t=Dc(),n=Kw();function i(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=1;o<arguments.length;o++)r+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=new Set,l={};
vendor: 36,973 bytes, lines 33-37
33function u(e,r){d(e,r),d(e+"Capture",r)}function d(e,r){for(l[e]=r,e=0;e<r.length;e++)s.add(r[e])}var h=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),m=Object.prototype.hasOwnProperty,p=/^[: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]*$/,g={},v={};function x(e){return m.call(v,e)?!0:m.call(g,e)?!1:p.test(e)?v[e]=!0:(g[e]=!0,!1)}function C(e,r,o,a){if(o!==null&&o.type===0)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":return a?!1:o!==null?!o.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function N(e,r,o,a){if(r===null||typeof r>"u"||C(e,r,o,a))return!0;if(a)return!1;if(o!==null)switch(o.type){case 3:return!r;case 4:return r===!1;case 5:return isNaN(r);case 6:return isNaN(r)||1>r}return!1}function k(e,r,o,a,c,f,y){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=a,this.attributeNamespace=c,this.mustUseProperty=o,this.propertyName=e,this.type=r,this.sanitizeURL=f,this.removeEmptyString=y}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){E[e]=new k(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];E[r]=new k(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){E[e]=new k(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){E[e]=new k(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){E[e]=new k(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){E[e]=new k(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){E[e]=new k(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){E[e]=new k(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){E[e]=new k(e,5,!1,e.toLowerCase(),null,!1,!1)});var R=/[\-:]([a-z])/g;function F(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 r=e.replace(R,F);E[r]=new k(r,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(R,F);E[r]=new k(r,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(R,F);E[r]=new k(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){E[e]=new k(e,1,!1,e.toLowerCase(),null,!1,!1)}),E.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){E[e]=new k(e,1,!1,e.toLowerCase(),null,!0,!0)});function j(e,r,o,a){var c=E.hasOwnProperty(r)?E[r]:null;(c!==null?c.type!==0:a||!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(N(r,o,c,a)&&(o=null),a||c===null?x(r)&&(o===null?e.removeAttribute(r):e.setAttribute(r,""+o)):c.mustUseProperty?e[c.propertyName]=o===null?c.type===3?!1:"":o:(r=c.attributeName,a=c.attributeNamespace,o===null?e.removeAttribute(r):(c=c.type,o=c===3||c===4&&o===!0?"":""+o,a?e.setAttributeNS(a,r,o):e.setAttribute(r,o))))}var O=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=Symbol.for("react.element"),I=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),ge=Symbol.for("react.context"),qe=Symbol.for("react.forward_ref"),_e=Symbol.for("react.suspense"),Me=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),Ee=Symbol.for("react.lazy"),de=Symbol.for("react.offscreen"),q=Symbol.iterator;function re(e){return e===null||typeof e!="object"?null:(e=q&&e[q]||e["@@iterator"],typeof e=="function"?e:null)}var _=Object.assign,P;function U(e){if(P===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);P=r&&r[1]||""}return` 34`+P+e}var pe=!1;function ye(e,r){if(!e||pe)return"";pe=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(r,[])}catch(M){var a=M}Reflect.construct(e,[],r)}else{try{r.call()}catch(M){a=M}e.call(r.prototype)}else{try{throw Error()}catch(M){a=M}e()}}catch(M){if(M&&a&&typeof M.stack=="string"){for(var c=M.stack.split(` 35`),f=a.stack.split(` 36`),y=c.length-1,b=f.length-1;1<=y&&0<=b&&c[y]!==f[b];)b--;for(;1<=y&&0<=b;y--,b--)if(c[y]!==f[b]){if(y!==1||b!==1)do if(y--,b--,0>b||c[y]!==f[b]){var S=` 37`+c[y].replace(" at new "," at ");return e.displayName&&S.includes("<anonymous>")&&(S=S.replace("<anonymous>",e.displayName)),S}while(1<=y&&0<=b);break}}}finally{pe=!1,Error.prepareStackTrace=o}return(e=e?e.displayName||e.name:"")?U(e):""}function le(e){switch(e.tag){case 5:return U(e.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return e=ye(e.type,!1),e;case 11:return e=ye(e.type.render,!1),e;case 1:return e=ye(e.type,!0),e;default:return""}}function ue(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 G:return"Fragment";case I:return"Portal";case Y:return"Profiler";case D:return"StrictMode";case _e:return"Suspense";case Me:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ge:return(e.displayName||"Context")+".Consumer";case H:return(e._context.displayName||"Context")+".Provider";case qe:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ie:return r=e.displayName||null,r!==null?r:ue(e.type)||"Memo";case Ee:r=e._payload,e=e._init;try{return ue(e(r))}catch{}}return null}function ke(e){var r=e.type;switch(e.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=r.render,e=e.displayName||e.name||"",r.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ue(r);case 8:return r===D?"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 r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r}return null}function Se(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function me(e){var r=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function He(e){var r=me(e)?"checked":"value",o=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),a=""+e[r];if(!e.hasOwnProperty(r)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,f=o.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return c.call(this)},set:function(y){a=""+y,f.call(this,y)}}),Object.defineProperty(e,r,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(y){a=""+y},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}function Rt(e){e._valueTracker||(e._valueTracker=He(e))}function en(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var o=r.getValue(),a="";return e&&(a=me(e)?e.checked?"true":"false":e.value),e=a,e!==o?(r.setValue(e),!0):!1}function Ut(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 $t(e,r){var o=r.checked;return _({},r,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??e._wrapperState.initialChecked})}function Oi(e,r){var o=r.defaultValue==null?"":r.defaultValue,a=r.checked!=null?r.checked:r.defaultChecked;o=Se(r.value!=null?r.value:o),e._wrapperState={initialChecked:a,initialValue:o,controlled:r.type==="checkbox"||r.type==="radio"?r.checked!=null:r.value!=null}}function Fi(e,r){r=r.checked,r!=null&&j(e,"checked",r,!1)}function Vr(e,r){Fi(e,r);var o=Se(r.value),a=r.type;if(o!=null)a==="number"?(o===0&&e.value===""||e.value!=o)&&(e.value=""+o):e.value!==""+o&&(e.value=""+o);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}r.hasOwnProperty("value")?zr(e,r.type,o):r.hasOwnProperty("defaultValue")&&zr(e,r.type,Se(r.defaultValue)),r.checked==null&&r.defaultChecked!=null&&(e.defaultChecked=!!r.defaultChecked)}function ji(e,r,o){if(r.hasOwnProperty("value")||r.hasOwnProperty("defaultValue")){var a=r.type;if(!(a!=="submit"&&a!=="reset"||r.value!==void 0&&r.value!==null))return;r=""+e._wrapperState.initialValue,o||r===e.value||(e.value=r),e.defaultValue=r}o=e.name,o!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,o!==""&&(e.name=o)}function zr(e,r,o){(r!=="number"||Ut(e.ownerDocument)!==e)&&(o==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+o&&(e.defaultValue=""+o))}var Nn=Array.isArray;function hn(e,r,o,a){if(e=e.options,r){r={};for(var c=0;c<o.length;c++)r["$"+o[c]]=!0;for(o=0;o<e.length;o++)c=r.hasOwnProperty("$"+e[o].value),e[o].selected!==c&&(e[o].selected=c),c&&a&&(e[o].defaultSelected=!0)}else{for(o=""+Se(o),r=null,c=0;c<e.length;c++){if(e[c].value===o){e[c].selected=!0,a&&(e[c].defaultSelected=!0);return}r!==null||e[c].disabled||(r=e[c])}r!==null&&(r.selected=!0)}}function Ur(e,r){if(r.dangerouslySetInnerHTML!=null)throw Error(i(91));return _({},r,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function _i(e,r){var o=r.value;if(o==null){if(o=r.children,r=r.defaultValue,o!=null){if(r!=null)throw Error(i(92));if(Nn(o)){if(1<o.length)throw Error(i(93));o=o[0]}r=o}r==null&&(r=""),o=r}e._wrapperState={initialValue:Se(o)}}function Ii(e,r){var o=Se(r.value),a=Se(r.defaultValue);o!=null&&(o=""+o,o!==e.value&&(e.value=o),r.defaultValue==null&&e.defaultValue!==o&&(e.defaultValue=o)),a!=null&&(e.defaultValue=""+a)}function oe(e){var r=e.textContent;r===e._wrapperState.initialValue&&r!==""&&r!==null&&(e.value=r)}function Be(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 An(e,r){return e==null||e==="http://www.w3.org/1999/xhtml"?Be(r):e==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var we,St=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(r,o,a,c){MSApp.execUnsafeLocalFunction(function(){return e(r,o,a,c)})}:e})(function(e,r){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=r;else{for(we=we||document.createElement("div"),we.innerHTML="<svg>"+r.valueOf().toString()+"</svg>",r=we.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;r.firstChild;)e.appendChild(r.firstChild)}});function Bi(e,r){if(r){var o=e.firstChild;if(o&&o===e.lastChild&&o.nodeType===3){o.nodeValue=r;return}}e.textContent=r}var Vi={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},Jv=["Webkit","ms","Moz","O"];Object.keys(Vi).forEach(function(e){Jv.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),Vi[r]=Vi[e]})});function kd(e,r,o){return r==null||typeof r=="boolean"||r===""?"":o||typeof r!="number"||r===0||Vi.hasOwnProperty(e)&&Vi[e]?(""+r).trim():r+"px"}function Cd(e,r){e=e.style;for(var o in r)if(r.hasOwnProperty(o)){var a=o.indexOf("--")===0,c=kd(o,r[o],a);o==="float"&&(o="cssFloat"),a?e.setProperty(o,c):e[o]=c}}var Wv=_({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 Ka(e,r){if(r){if(Wv[e]&&(r.children!=null||r.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(r.dangerouslySetInnerHTML!=null){if(r.children!=null)throw Error(i(60));if(typeof r.dangerouslySetInnerHTML!="object"||!("__html"in r.dangerouslySetInnerHTML))throw Error(i(61))}if(r.style!=null&&typeof r.style!="object")throw Error(i(62))}}function Ha(e,r){if(e.indexOf("-")===-1)return typeof r.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 Ga=null;function Ya(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Qa=null,$r=null,Jr=null;function Td(e){if(e=lo(e)){if(typeof Qa!="function")throw Error(i(280));var r=e.stateNode;r&&(r=ks(r),Qa(e.stateNode,e.type,r))}}function Ed(e){$r?Jr?Jr.push(e):Jr=[e]:$r=e}function Pd(){if($r){var e=$r,r=Jr;if(Jr=$r=null,Td(e),r)for(e=0;e<r.length;e++)Td(r[e])}}function Ld(e,r){return e(r)}function Nd(){}var Xa=!1;function Ad(e,r,o){if(Xa)return e(r,o);Xa=!0;try{return Ld(e,r,o)}finally{Xa=!1,($r!==null||Jr!==null)&&(Nd(),Pd())}}function zi(e,r){var o=e.stateNode;if(o===null)return null;var a=ks(o);if(a===null)return null;o=a[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(o&&typeof o!="function")throw Error(i(231,r,typeof o));return o}var Za=!1;if(h)try{var Ui={};Object.defineProperty(Ui,"passive",{get:function(){Za=!0}}),window.addEventListener("test",Ui,Ui),window.removeEventListener("test",Ui,Ui)}catch{Za=!1}function qv(e,r,o,a,c,f,y,b,S){var M=Array.prototype.slice.call(arguments,3);try{r.apply(o,M)}catch(J){this.onError(J)}}var $i=!1,ts=null,ns=!1,el=null,Kv={onError:function(e){$i=!0,ts=e}};function Hv(e,r,o,a,c,f,y,b,S){$i=!1,ts=null,qv.apply(Kv,arguments)}function Gv(e,r,o,a,c,f,y,b,S){if(Hv.apply(this,arguments),$i){if($i){var M=ts;$i=!1,ts=null}else throw Error(i(198));ns||(ns=!0,el=M)}}function cr(e){var r=e,o=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do r=e,(r.flags&4098)!==0&&(o=r.return),e=r.return;while(e)}return r.tag===3?o:null}function Dd(e){if(e.tag===13){var r=e.memoizedState;if(r===null&&(e=e.alternate,e!==null&&(r=e.memoizedState)),r!==null)return r.dehydrated}return null}function Rd(e){if(cr(e)!==e)throw Error(i(188))}function Yv(e){var r=e.alternate;if(!r){if(r=cr(e),r===null)throw Error(i(188));return r!==e?null:e}for(var o=e,a=r;;){var c=o.return;if(c===null)break;var f=c.alternate;if(f===null){if(a=c.return,a!==null){o=a;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===o)return Rd(c),e;if(f===a)return Rd(c),r;f=f.sibling}throw Error(i(188))}if(o.return!==a.return)o=c,a=f;else{for(var y=!1,b=c.child;b;){if(b===o){y=!0,o=c,a=f;break}if(b===a){y=!0,a=c,o=f;break}b=b.sibling}if(!y){for(b=f.child;b;){if(b===o){y=!0,o=f,a=c;break}if(b===a){y=!0,a=f,o=c;break}b=b.sibling}if(!y)throw Error(i(189))}}if(o.alternate!==a)throw Error(i(190))}if(o.tag!==3)throw Error(i(188));return o.stateNode.current===o?e:r}function Md(e){return e=Yv(e),e!==null?Od(e):null}function Od(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var r=Od(e);if(r!==null)return r;e=e.sibling}return null}var Fd=n.unstable_scheduleCallback,jd=n.unstable_cancelCallback,Qv=n.unstable_shouldYield,Xv=n.unstable_requestPaint,$e=n.unstable_now,Zv=n.unstable_getCurrentPriorityLevel,tl=n.unstable_ImmediatePriority,_d=n.unstable_UserBlockingPriority,rs=n.unstable_NormalPriority,e0=n.unstable_LowPriority,Id=n.unstable_IdlePriority,is=null,tn=null;function t0(e){if(tn&&typeof tn.onCommitFiberRoot=="function")try{tn.onCommitFiberRoot(is,e,void 0,(e.current.flags&128)===128)}catch{}}var Jt=Math.clz32?Math.clz32:i0,n0=Math.log,r0=Math.LN2;function i0(e){return e>>>=0,e===0?32:31-(n0(e)/r0|0)|0}var os=64,ss=4194304;function Ji(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 as(e,r){var o=e.pendingLanes;if(o===0)return 0;var a=0,c=e.suspendedLanes,f=e.pingedLanes,y=o&268435455;if(y!==0){var b=y&~c;b!==0?a=Ji(b):(f&=y,f!==0&&(a=Ji(f)))}else y=o&~c,y!==0?a=Ji(y):f!==0&&(a=Ji(f));if(a===0)return 0;if(r!==0&&r!==a&&(r&c)===0&&(c=a&-a,f=r&-r,c>=f||c===16&&(f&4194240)!==0))return r;if((a&4)!==0&&(a|=o&16),r=e.entangledLanes,r!==0)for(e=e.entanglements,r&=a;0<r;)o=31-Jt(r),c=1<<o,a|=e[o],r&=~c;return a}function o0(e,r){switch(e){case 1:case 2:case 4:return r+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 r+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 s0(e,r){for(var o=e.suspendedLanes,a=e.pingedLanes,c=e.expirationTimes,f=e.pendingLanes;0<f;){var y=31-Jt(f),b=1<<y,S=c[y];S===-1?((b&o)===0||(b&a)!==0)&&(c[y]=o0(b,r)):S<=r&&(e.expiredLanes|=b),f&=~b}}function nl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Bd(){var e=os;return os<<=1,(os&4194240)===0&&(os=64),e}function rl(e){for(var r=[],o=0;31>o;o++)r.push(e);return r}function Wi(e,r,o){e.pendingLanes|=r,r!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,r=31-Jt(r),e[r]=o}function a0(e,r){var o=e.pendingLanes&~r;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=r,e.mutableReadLanes&=r,e.entangledLanes&=r,r=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<o;){var c=31-Jt(o),f=1<<c;r[c]=0,a[c]=-1,e[c]=-1,o&=~f}}function il(e,r){var o=e.entangledLanes|=r;for(e=e.entanglements;o;){var a=31-Jt(o),c=1<<a;c&r|e[a]&r&&(e[a]|=r),o&=~c}}var Pe=0;function Vd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var zd,ol,Ud,$d,Jd,sl=!1,ls=[],Dn=null,Rn=null,Mn=null,qi=new Map,Ki=new Map,On=[],l0="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 Wd(e,r){switch(e){case"focusin":case"focusout":Dn=null;break;case"dragenter":case"dragleave":Rn=null;break;case"mouseover":case"mouseout":Mn=null;break;case"pointerover":case"pointerout":qi.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ki.delete(r.pointerId)}}function Hi(e,r,o,a,c,f){return e===null||e.nativeEvent!==f?(e={blockedOn:r,domEventName:o,eventSystemFlags:a,nativeEvent:f,targetContainers:[c]},r!==null&&(r=lo(r),r!==null&&ol(r)),e):(e.eventSystemFlags|=a,r=e.targetContainers,c!==null&&r.indexOf(c)===-1&&r.push(c),e)}function u0(e,r,o,a,c){switch(r){case"focusin":return Dn=Hi(Dn,e,r,o,a,c),!0;case"dragenter":return Rn=Hi(Rn,e,r,o,a,c),!0;case"mouseover":return Mn=Hi(Mn,e,r,o,a,c),!0;case"pointerover":var f=c.pointerId;return qi.set(f,Hi(qi.get(f)||null,e,r,o,a,c)),!0;case"gotpointercapture":return f=c.pointerId,Ki.set(f,Hi(Ki.get(f)||null,e,r,o,a,c)),!0}return!1}function qd(e){var r=dr(e.target);if(r!==null){var o=cr(r);if(o!==null){if(r=o.tag,r===13){if(r=Dd(o),r!==null){e.blockedOn=r,Jd(e.priority,function(){Ud(o)});return}}else if(r===3&&o.stateNode.current.memoizedState.isDehydrated){e.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}e.blockedOn=null}function us(e){if(e.blockedOn!==null)return!1;for(var r=e.targetContainers;0<r.length;){var o=ll(e.domEventName,e.eventSystemFlags,r[0],e.nativeEvent);if(o===null){o=e.nativeEvent;var a=new o.constructor(o.type,o);Ga=a,o.target.dispatchEvent(a),Ga=null}else return r=lo(o),r!==null&&ol(r),e.blockedOn=o,!1;r.shift()}return!0}function Kd(e,r,o){us(e)&&o.delete(r)}function c0(){sl=!1,Dn!==null&&us(Dn)&&(Dn=null),Rn!==null&&us(Rn)&&(Rn=null),Mn!==null&&us(Mn)&&(Mn=null),qi.forEach(Kd),Ki.forEach(Kd)}function Gi(e,r){e.blockedOn===r&&(e.blockedOn=null,sl||(sl=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,c0)))}function Yi(e){function r(c){return Gi(c,e)}if(0<ls.length){Gi(ls[0],e);for(var o=1;o<ls.length;o++){var a=ls[o];a.blockedOn===e&&(a.blockedOn=null)}}for(Dn!==null&&Gi(Dn,e),Rn!==null&&Gi(Rn,e),Mn!==null&&Gi(Mn,e),qi.forEach(r),Ki.forEach(r),o=0;o<On.length;o++)a=On[o],a.blockedOn===e&&(a.blockedOn=null);for(;0<On.length&&(o=On[0],o.blockedOn===null);)qd(o),o.blockedOn===null&&On.shift()}var Wr=O.ReactCurrentBatchConfig,cs=!0;function d0(e,r,o,a){var c=Pe,f=Wr.transition;Wr.transition=null;try{Pe=1,al(e,r,o,a)}finally{Pe=c,Wr.transition=f}}function f0(e,r,o,a){var c=Pe,f=Wr.transition;Wr.transition=null;try{Pe=4,al(e,r,o,a)}finally{Pe=c,Wr.transition=f}}function al(e,r,o,a){if(cs){var c=ll(e,r,o,a);if(c===null)Tl(e,r,a,ds,o),Wd(e,a);else if(u0(c,e,r,o,a))a.stopPropagation();else if(Wd(e,a),r&4&&-1<l0.indexOf(e)){for(;c!==null;){var f=lo(c);if(f!==null&&zd(f),f=ll(e,r,o,a),f===null&&Tl(e,r,a,ds,o),f===c)break;c=f}c!==null&&a.stopPropagation()}else Tl(e,r,a,null,o)}}var ds=null;function ll(e,r,o,a){if(ds=null,e=Ya(a),e=dr(e),e!==null)if(r=cr(e),r===null)e=null;else if(o=r.tag,o===13){if(e=Dd(r),e!==null)return e;e=null}else if(o===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null);return ds=e,null}function Hd(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(Zv()){case tl:return 1;case _d:return 4;case rs:case e0:return 16;case Id:return 536870912;default:return 16}default:return 16}}var Fn=null,ul=null,fs=null;function Gd(){if(fs)return fs;var e,r=ul,o=r.length,a,c="value"in Fn?Fn.value:Fn.textContent,f=c.length;for(e=0;e<o&&r[e]===c[e];e++);var y=o-e;for(a=1;a<=y&&r[o-a]===c[f-a];a++);return fs=c.slice(e,1<a?1-a:void 0)}function hs(e){var r=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&r===13&&(e=13)):e=r,e===10&&(e=13),32<=e||e===13?e:0}function ms(){return!0}function Yd(){return!1}function kt(e){function r(o,a,c,f,y){this._reactName=o,this._targetInst=c,this.type=a,this.nativeEvent=f,this.target=y,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(o=e[b],this[b]=o?o(f):f[b]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?ms:Yd,this.isPropagationStopped=Yd,this}return _(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=ms)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=ms)},persist:function(){},isPersistent:ms}),r}var qr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cl=kt(qr),Qi=_({},qr,{view:0,detail:0}),h0=kt(Qi),dl,fl,Xi,ps=_({},Qi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ml,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!==Xi&&(Xi&&e.type==="mousemove"?(dl=e.screenX-Xi.screenX,fl=e.screenY-Xi.screenY):fl=dl=0,Xi=e),dl)},movementY:function(e){return"movementY"in e?e.movementY:fl}}),Qd=kt(ps),m0=_({},ps,{dataTransfer:0}),p0=kt(m0),g0=_({},Qi,{relatedTarget:0}),hl=kt(g0),y0=_({},qr,{animationName:0,elapsedTime:0,pseudoElement:0}),v0=kt(y0),w0=_({},qr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),x0=kt(w0),b0=_({},qr,{data:0}),Xd=kt(b0),S0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},k0={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"},C0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function T0(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):(e=C0[e])?!!r[e]:!1}function ml(){return T0}var E0=_({},Qi,{key:function(e){if(e.key){var r=S0[e.key]||e.key;if(r!=="Unidentified")return r}return e.type==="keypress"?(e=hs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?k0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ml,charCode:function(e){return e.type==="keypress"?hs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?hs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),P0=kt(E0),L0=_({},ps,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zd=kt(L0),N0=_({},Qi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ml}),A0=kt(N0),D0=_({},qr,{propertyName:0,elapsedTime:0,pseudoElement:0}),R0=kt(D0),M0=_({},ps,{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}),O0=kt(M0),F0=[9,13,27,32],pl=h&&"CompositionEvent"in window,Zi=null;h&&"documentMode"in document&&(Zi=document.documentMode);var j0=h&&"TextEvent"in window&&!Zi,ef=h&&(!pl||Zi&&8<Zi&&11>=Zi),tf=" ",nf=!1;function rf(e,r){switch(e){case"keyup":return F0.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function of(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Kr=!1;function _0(e,r){switch(e){case"compositionend":return of(r);case"keypress":return r.which!==32?null:(nf=!0,tf);case"textInput":return e=r.data,e===tf&&nf?null:e;default:return null}}function I0(e,r){if(Kr)return e==="compositionend"||!pl&&rf(e,r)?(e=Gd(),fs=ul=Fn=null,Kr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return ef&&r.locale!=="ko"?null:r.data;default:return null}}var B0={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 sf(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r==="input"?!!B0[e.type]:r==="textarea"}function af(e,r,o,a){Ed(a),r=xs(r,"onChange"),0<r.length&&(o=new cl("onChange","change",null,o,a),e.push({event:o,listeners:r}))}var eo=null,to=null;function V0(e){Tf(e,0)}function gs(e){var r=Xr(e);if(en(r))return e}function z0(e,r){if(e==="change")return r}var lf=!1;if(h){var gl;if(h){var yl="oninput"in document;if(!yl){var uf=document.createElement("div");uf.setAttribute("oninput","return;"),yl=typeof uf.oninput=="function"}gl=yl}else gl=!1;lf=gl&&(!document.documentMode||9<document.documentMode)}function cf(){eo&&(eo.detachEvent("onpropertychange",df),to=eo=null)}function df(e){if(e.propertyName==="value"&&gs(to)){var r=[];af(r,to,e,Ya(e)),Ad(V0,r)}}function U0(e,r,o){e==="focusin"?(cf(),eo=r,to=o,eo.attachEvent("onpropertychange",df)):e==="focusout"&&cf()}function $0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gs(to)}function J0(e,r){if(e==="click")return gs(r)}function W0(e,r){if(e==="input"||e==="change")return gs(r)}function q0(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Wt=typeof Object.is=="function"?Object.is:q0;function no(e,r){if(Wt(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;var o=Object.keys(e),a=Object.keys(r);if(o.length!==a.length)return!1;for(a=0;a<o.length;a++){var c=o[a];if(!m.call(r,c)||!Wt(e[c],r[c]))return!1}return!0}function ff(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hf(e,r){var o=ff(e);e=0;for(var a;o;){if(o.nodeType===3){if(a=e+o.textContent.length,e<=r&&a>=r)return{node:o,offset:r-e};e=a}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=ff(o)}}function mf(e,r){return e&&r?e===r?!0:e&&e.nodeType===3?!1:r&&r.nodeType===3?mf(e,r.parentNode):"contains"in e?e.contains(r):e.compareDocumentPosition?!!(e.compareDocumentPosition(r)&16):!1:!1}function pf(){for(var e=window,r=Ut();r instanceof e.HTMLIFrameElement;){try{var o=typeof r.contentWindow.location.href=="string"}catch{o=!1}if(o)e=r.contentWindow;else break;r=Ut(e.document)}return r}function vl(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&(r==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||r==="textarea"||e.contentEditable==="true")}function K0(e){var r=pf(),o=e.focusedElem,a=e.selectionRange;if(r!==o&&o&&o.ownerDocument&&mf(o.ownerDocument.documentElement,o)){if(a!==null&&vl(o)){if(r=a.start,e=a.end,e===void 0&&(e=r),"selectionStart"in o)o.selectionStart=r,o.selectionEnd=Math.min(e,o.value.length);else if(e=(r=o.ownerDocument||document)&&r.defaultView||window,e.getSelection){e=e.getSelection();var c=o.textContent.length,f=Math.min(a.start,c);a=a.end===void 0?f:Math.min(a.end,c),!e.extend&&f>a&&(c=a,a=f,f=c),c=hf(o,f);var y=hf(o,a);c&&y&&(e.rangeCount!==1||e.anchorNode!==c.node||e.anchorOffset!==c.offset||e.focusNode!==y.node||e.focusOffset!==y.offset)&&(r=r.createRange(),r.setStart(c.node,c.offset),e.removeAllRanges(),f>a?(e.addRange(r),e.extend(y.node,y.offset)):(r.setEnd(y.node,y.offset),e.addRange(r)))}}for(r=[],e=o;e=e.parentNode;)e.nodeType===1&&r.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<r.length;o++)e=r[o],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var H0=h&&"documentMode"in document&&11>=document.documentMode,Hr=null,wl=null,ro=null,xl=!1;function gf(e,r,o){var a=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;xl||Hr==null||Hr!==Ut(a)||(a=Hr,"selectionStart"in a&&vl(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),ro&&no(ro,a)||(ro=a,a=xs(wl,"onSelect"),0<a.length&&(r=new cl("onSelect","select",null,r,o),e.push({event:r,listeners:a}),r.target=Hr)))}function ys(e,r){var o={};return o[e.toLowerCase()]=r.toLowerCase(),o["Webkit"+e]="webkit"+r,o["Moz"+e]="moz"+r,o}var Gr={animationend:ys("Animation","AnimationEnd"),animationiteration:ys("Animation","AnimationIteration"),animationstart:ys("Animation","AnimationStart"),transitionend:ys("Transition","TransitionEnd")},bl={},yf={};h&&(yf=document.createElement("div").style,"AnimationEvent"in window||(delete Gr.animationend.animation,delete Gr.animationiteration.animation,delete Gr.animationstart.animation),"TransitionEvent"in window||delete Gr.transitionend.transition);function vs(e){if(bl[e])return bl[e];if(!Gr[e])return e;var r=Gr[e],o;for(o in r)if(r.hasOwnProperty(o)&&o in yf)return bl[e]=r[o];return e}var vf=vs("animationend"),wf=vs("animationiteration"),xf=vs("animationstart"),bf=vs("transitionend"),Sf=new Map,kf="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 jn(e,r){Sf.set(e,r),u(r,[e])}for(var Sl=0;Sl<kf.length;Sl++){var kl=kf[Sl],G0=kl.toLowerCase(),Y0=kl[0].toUpperCase()+kl.slice(1);jn(G0,"on"+Y0)}jn(vf,"onAnimationEnd"),jn(wf,"onAnimationIteration"),jn(xf,"onAnimationStart"),jn("dblclick","onDoubleClick"),jn("focusin","onFocus"),jn("focusout","onBlur"),jn(bf,"onTransitionEnd"),d("onMouseEnter",["mouseout","mouseover"]),d("onMouseLeave",["mouseout","mouseover"]),d("onPointerEnter",["pointerout","pointerover"]),d("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focu
37sin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var io="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(" "),Q0=new Set("cancel close invalid load scroll toggle".split(" ").concat(io));function Cf(e,r,o){var a=e.type||"unknown-event";e.currentTarget=o,Gv(a,r,void 0,e),e.currentTarget=null}function Tf(e,r){r=(r&4)!==0;for(var o=0;o<e.length;o++){var a=e[o],c=a.event;a=a.listeners;e:{var f=void 0;if(r)for(var y=a.length-1;0<=y;y--){var b=a[y],S=b.instance,M=b.currentTarget;if(b=b.listener,S!==f&&c.isPropagationStopped())break e;Cf(c,b,M),f=S}else for(y=0;y<a.length;y++){if(b=a[y],S=b.instance,M=b.currentTarget,b=b.listener,S!==f&&c.isPropagationStopped())break e;Cf(c,b,M),f=S}}}if(ns)throw e=el,ns=!1,el=null,e}function Ne(e,r){var o=r[Dl];o===void 0&&(o=r[Dl]=new Set);var a=e+"__bubble";o.has(a)||(Ef(r,e,2,!1),o.add(a))}function Cl(e,r,o){var a=0;r&&(a|=4),Ef(o,e,a,r)}var ws="_reactListening"+Math.random().toString(36).slice(2);function oo(e){if(!e[ws]){e[ws]=!0,s.forEach(function(o){o!=="selectionchange"&&(Q0.has(o)||Cl(o,!1,e),Cl(o,!0,e))});var r=e.nodeType===9?e:e.ownerDocument;r===null||r[ws]||(r[ws]=!0,Cl("selectionchange",!1,r))}}function Ef(e,r,o,a){switch(Hd(r)){case 1:var c=d0;break;case 4:c=f0;break;default:c=al}o=c.bind(null,r,o,e),c=void 0,!Za||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(c=!0),a?c!==void 0?e.addEventListener(r,o,{capture:!0,passive:c}):e.addEventListener(r,o,!0):c!==void 0?e.addEventListener(r,o,{passive:c}):e.addEventListener(r,o,!1)}function Tl(e,r,o,a,c){var f=a;if((r&1)===0&&(r&2)===0&&a!==null)e:for(;;){if(a===null)return;var y=a.tag;if(y===3||y===4){var b=a.stateNode.containerInfo;if(b===c||b.nodeType===8&&b.parentNode===c)break;if(y===4)for(y=a.return;y!==null;){var S=y.tag;if((S===3||S===4)&&(S=y.stateNode.containerInfo,S===c||S.nodeType===8&&S.parentNode===c))return;y=y.return}for(;b!==null;){if(y=dr(b),y===null)return;if(S=y.tag,S===5||S===6){a=f=y;continue e}b=b.parentNode}}a=a.return}Ad(function(){var M=f,J=Ya(o),W=[];e:{var $=Sf.get(e);if($!==void 0){var Q=cl,te=e;switch(e){case"keypress":if(hs(o)===0)break e;case"keydown":case"keyup":Q=P0;break;case"focusin":te="focus",Q=hl;break;case"focusout":te="blur",Q=hl;break;case"beforeblur":case"afterblur":Q=hl;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Q=Qd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Q=p0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Q=A0;break;case vf:case wf:case xf:Q=v0;break;case bf:Q=R0;break;case"scroll":Q=h0;break;case"wheel":Q=O0;break;case"copy":case"cut":case"paste":Q=x0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Q=Zd}var ne=(r&4)!==0,Je=!ne&&e==="scroll",L=ne?$!==null?$+"Capture":null:$;ne=[];for(var T=M,A;T!==null;){A=T;var K=A.stateNode;if(A.tag===5&&K!==null&&(A=K,L!==null&&(K=zi(T,L),K!=null&&ne.push(so(T,K,A)))),Je)break;T=T.return}0<ne.length&&($=new Q($,te,null,o,J),W.push({event:$,listeners:ne}))}}if((r&7)===0){e:{if($=e==="mouseover"||e==="pointerover",Q=e==="mouseout"||e==="pointerout",$&&o!==Ga&&(te=o.relatedTarget||o.fromElement)&&(dr(te)||te[mn]))break e;if((Q||$)&&($=J.window===J?J:($=J.ownerDocument)?$.defaultView||$.parentWindow:window,Q?(te=o.relatedTarget||o.toElement,Q=M,te=te?dr(te):null,te!==null&&(Je=cr(te),te!==Je||te.tag!==5&&te.tag!==6)&&(te=null)):(Q=null,te=M),Q!==te)){if(ne=Qd,K="onMouseLeave",L="onMouseEnter",T="mou
37se",(e==="pointerout"||e==="pointerover")&&(ne=Zd,K="onPointerLeave",L="onPointerEnter",T="pointer"),Je=Q==null?$:Xr(Q),A=te==null?$:Xr(te),$=new ne(K,T+"leave",Q,o,J),$.target=Je,$.relatedTarget=A,K=null,dr(J)===M&&(ne=new ne(L,T+"enter",te,o,J),ne.target=A,ne.relatedTarget=Je,K=ne),Je=K,Q&&te)t:{for(ne=Q,L=te,T=0,A=ne;A;A=Yr(A))T++;for(A=0,K=L;K;K=Yr(K))A++;for(;0<T-A;)ne=Yr(ne),T--;for(;0<A-T;)L=Yr(L),A--;for(;T--;){if(ne===L||L!==null&&ne===L.alternate)break t;ne=Yr(ne),L=Yr(L)}ne=null}else ne=null;Q!==null&&Pf(W,$,Q,ne,!1),te!==null&&Je!==null&&Pf(W,Je,te,ne,!0)}}e:{if($=M?Xr(M):window,Q=$.nodeName&&$.nodeName.toLowerCase(),Q==="select"||Q==="input"&&$.type==="file")var ie=z0;else if(sf($))if(lf)ie=W0;else{ie=$0;var se=U0}else(Q=$.nodeName)&&Q.toLowerCase()==="input"&&($.type==="checkbox"||$.type==="radio")&&(ie=J0);if(ie&&(ie=ie(e,M))){af(W,ie,o,J);break e}se&&se(e,$,M),e==="focusout"&&(se=$._wrapperState)&&se.controlled&&$.type==="number"&&zr($,"number",$.value)}switch(se=M?Xr(M):window,e){case"focusin":(sf(se)||se.contentEditable==="true")&&(Hr=se,wl=M,ro=null);break;case"focusout":ro=wl=Hr=null;break;case"mousedown":xl=!0;break;case"contextmenu":case"mouseup":case"dragend":xl=!1,gf(W,o,J);break;case"selectionchange":if(H0)break;case"keydown":case"keyup":gf(W,o,J)}var ae;if(pl)e:{switch(e){case"compositionstart":var fe="onCompositionStart";break e;case"compositionend":fe="onCompositionEnd";break e;case"compositionupdate":fe="onCompositionUpdate";break e}fe=void 0}else Kr?rf(e,o)&&(fe="onCompositionEnd"):e==="keydown"&&o.keyCode===229&&(fe="onCompositionStart");fe&&(ef&&o.locale!=="ko"&&(Kr||fe!=="onCompositionStart"?fe==="onCompositionEnd"&&Kr&&(ae=Gd()):(Fn=J,ul="value"in Fn?Fn.value:Fn.textContent,Kr=!0)),se=xs(M,fe),0<se.length&&(fe=new Xd(fe,e,null,o,J),W.push({event:fe,listeners:se}),ae?fe.data=ae:(ae=of(o),ae!==null&&(fe.data=ae)))),(ae=j0?_0(e,o):I0(e,o))&&(M=xs(M,"onBeforeInput"),0<M.length&&(J=new Xd("onBeforeInput","beforeinput",null,o,J),W.push({event:J,listeners:M}),J.data=ae))}Tf(W,r)})}function so(e,r,o){return{instance:e,listener:r,currentTarget:o}}function xs(e,r){for(var o=r+"Capture",a=[];e!==null;){var c=e,f=c.stateNode;c.tag===5&&f!==null&&(c=f,f=zi(e,o),f!=null&&a.unshift(so(e,f,c)),f=zi(e,r),f!=null&&a.push(so(e,f,c))),e=e.return}return a}function Yr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Pf(e,r,o,a,c){for(var f=r._reactName,y=[];o!==null&&o!==a;){var b=o,S=b.alternate,M=b.stateNode;if(S!==null&&S===a)break;b.tag===5&&M!==null&&(b=M,c?(S=zi(o,f),S!=null&&y.unshift(so(o,S,b))):c||(S=zi(o,f),S!=null&&y.push(so(o,S,b)))),o=o.return}y.length!==0&&e.push({event:r,listeners:y})}var X0=/\r\n?/g,Z0=/\u0000|\uFFFD/g;function Lf(e){return(typeof e=="string"?e:""+e).replace(X0,` 38`).replace(Z0,"")}function bs(e,r,o){if(r=Lf(r),Lf(e)!==r&&o)throw Error(i(425))}function Ss(){}var El=null,Pl=null;function Ll(e,r){return e==="textarea"||e==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var Nl=typeof setTimeout=="function"?setTimeout:void 0,ew=typeof clearTimeout=="function"?clearTimeout:void 0,Nf=typeof Promise=="function"?Promise:void 0,tw=typeof queueMicrotask=="function"?queueMicrotask:typeof Nf<"u"?function(e){return Nf.resolve(null).then(e).catch(nw)}:Nl;function nw(e){setTimeout(function(){throw e})}function Al(e,r){var o=r,a=0;do{var c=o.nextSibling;if(e.removeChild(o),c&&c.nodeType===8)if(o=c.data,o==="/$"){if(a===0){e.removeChild(c),Yi(r);return}a--}else o!=="$"&&o!=="$?"&&o!=="$!"||a++;o=c}while(o);Yi(r)}function _n(e){for(;e!=null;e=e.nextSibling){var r=e.nodeType;if(r===1||r===3)break;if(r===8){if(r=e.data,r==="$"||r==="$!"||r==="$?")break;if(r==="/$")return null}}return e}function Af(e){e=e.previousSibling;for(var r=0;e;){if(e.nodeType===8){var o=e.data;if(o==="$"||o==="$!"||o==="$?"){if(r===0)return e;r--}else o==="/$"&&r++}e=e.previousSibling}return null}var Qr=Math.random().toString(36).slice(2),nn="__reactFiber$"+Qr,ao="__reactProps$"+Qr,mn="__reactContainer$"+Qr,Dl="__reactEvents$"+Qr,rw="__reactListeners$"+Qr,iw="__reactHandles$"+Qr;function dr(e){var r=e[nn];if(r)return r;for(var o=e.parentNode;o;){if(r=o[mn]||o[nn]){if(o=r.alternate,r.child!==null||o!==null&&o.child!==null)for(e=Af(e);e!==null;){if(o=e[nn])return o;e=Af(e)}return r}e=o,o=e.parentNode}return null}function lo(e){return e=e[nn]||e[mn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Xr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function ks(e){return e[ao]||null}var Rl=[],Zr=-1;function In(e){return{current:e}}function Ae(e){0>Zr||(e.current=Rl[Zr],Rl[Zr]=null,Zr--)}function Le(e,r){Zr++,Rl[Zr]=e.current,e.current=r}var Bn={},st=In(Bn),gt=In(!1),fr=Bn;function ei(e,r){var o=e.type.contextTypes;if(!o)return Bn;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===r)return a.__reactInternalMemoizedMaskedChildContext;var c={},f;for(f in o)c[f]=r[f];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=c),c}function yt(e){return e=e.childContextTypes,e!=null}function Cs(){Ae(gt),Ae(st)}function Df(e,r,o){if(st.current!==Bn)throw Error(i(168));Le(st,r),Le(gt,o)}function Rf(e,r,o){var a=e.stateNode;if(r=r.childContextTypes,typeof a.getChildContext!="function")return o;a=a.getChildContext();for(var c in a)if(!(c in r))throw Error(i(108,ke(e)||"Unknown",c));return _({},o,a)}function Ts(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bn,fr=st.current,Le(st,e),Le(gt,gt.current),!0}function Mf(e,r,o){var a=e.stateNode;if(!a)throw Error(i(169));o?(e=Rf(e,r,fr),a.__reactInternalMemoizedMergedChildContext=e,Ae(gt),Ae(st),Le(st,e)):Ae(gt),Le(gt,o)}var pn=null,Es=!1,Ml=!1;function Of(e){pn===null?pn=[e]:pn.push(e)}function ow(e){Es=!0,Of(e)}function Vn(){if(!Ml&&pn!==null){Ml=!0;var e=0,r=Pe;try{var o=pn;for(Pe=1;e<o.length;e++){var a=o[e];do a=a(!0);while(a!==null)}pn=null,Es=!1}catch(c){throw pn!==null&&(pn=pn.slice(e+1)),Fd(tl,Vn),c}finally{Pe=r,Ml=!1}}return null}var ti=[],ni=0,Ps=null,Ls=0,Mt=[],Ot=0,hr=null,gn=1,yn="";function mr(e,r){ti[ni++]=Ls,ti[ni++]=Ps,Ps=e,Ls=r}function Ff(e,r,o){Mt[Ot++]=gn,Mt[Ot++]=yn,Mt[Ot++]=hr,hr=e;var a=gn;e=yn;var c=32-Jt(a)-1;a&=~(1<<c),o+=1;var f=32-Jt(r)+c;if(30<f){var y=c-c%5;f=(a&(1<<y)-1).toString(32),a>>=y,c-=y,gn=1<<32-Jt(r)+c|o<<c|a,yn=f+e}else gn=1<<f|o<<c|a,yn=e}function Ol(e){e.return!==null&&(mr(e,1),Ff(e,1,0))}function Fl(e){for(;e===Ps;)Ps=ti[--ni],ti[ni]=null,Ls=ti[--ni],ti[ni]=null;for(;e===hr;)hr=Mt[--Ot],Mt[Ot]=null,yn=Mt[--Ot],Mt[Ot]=null,gn=Mt[--Ot],Mt[Ot]=null}var Ct=null,Tt=null,Re=!1,qt=null;function jf(e,r){var o=It(5,null,null,0);o.elementType="DELETED",o.stateNode=r,o.return=e,r=e.deletions,r===null?(e.deletions=[o],e.flags|=16):r.push(o)}function _f(e,r){switch(e.tag){case 5:var o=e.type;return r=r.nodeType!==1||o.toLowerCase()!==r.nodeName.toLowerCase()?null:r,r!==null?(e.stateNode=r,Ct=e,Tt=_n(r.firstChild),!0):!1;case 6:return r=e.pendingProps===""||r.nodeType!==3?null:r,r!==null?(e.stateNode=r,Ct=e,Tt=null,!0):!1;case 13:return r=r.nodeType!==8?null:r,r!==null?(o=hr!==null?{id:gn,overflow:yn}:null,e.memoizedState={dehydrated:r,treeContext:o,retryLane:1073741824},o=It(18,null,null,0),o.stateNode=r,o.return=e,e.child=o,Ct=e,Tt=null,!0):!1;default:return!1}}function jl(e){return(e.mode&1)!==0&&(e.flags&128)===0}function _l(e){if(Re){var r=Tt;if(r){var o=r;if(!_f(e,r)){if(jl(e))throw Error(i(418));r=_n(o.nextSibling);var a=Ct;r&&_f(e,r)?jf(a,o):(e.flags=e.flags&-4097|2,Re=!1,Ct=e)}}else{if(jl(e))throw Error(i(418));e.flags=e.flags&-4097|2,Re=!1,Ct=e}}}function If(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ct=e}function Ns(e){if(e!==Ct)return!1;if(!Re)return If(e),Re=!0,!1;var r;if((r=e.tag!==3)&&!(r=e.tag!==5)&&(r=e.type,r=r!=="head"&&r!=="body"&&!Ll(e.type,e.memoizedProps)),r&&(r=Tt)){if(jl(e))throw Bf(),Error(i(418));for(;r;)jf(e,r),r=_n(r.nextSibling)}if(If(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,r=0;e;){if(e.nodeType===8){var o=e.data;if(o==="/$"){if(r===0){Tt=_n(e.nextSibling);break e}r--}else o!=="$"&&o!=="$!"&&o!=="$?"||r++}e=e.nextSibling}Tt=null}}else Tt=Ct?_n(e.stateNode.nextSibling):null;return!0}function Bf(){for(var e=Tt;e;)e=_n(e.nextSibling)}function ri(){Tt=Ct=null,Re=!1}function Il(e){qt===null?qt=[e]:qt.push(e)}var sw=O.ReactCurrentBatchConfig;function uo(e,r,o){if(e=o.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(i(309));var a=o.stateNode}if(!a)throw Error(i(147,e));var c=a,f=""+e;return r!==null&&r.ref!==null&&typeof r.ref=="function"&&r.ref._stringRef===f?r.ref:(r=function(y){var b=c.refs;y===null?delete b[f]:b[f]=y},r._stringRef=f,r)}if(typeof e!="string")throw Error(i(284));if(!o._owner)throw Error(i(290,e))}return e}function As(e,r){throw e=Object.prototype.toString.call(r),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function Vf(e){var r=e._init;return r(e._payload)}function zf(e){function r(L,T){if(e){var A=L.deletions;A===null?(L.deletions=[T],L.flags|=16):A.push(T)}}function o(L,T){if(!e)return null;for(;T!==null;)r(L,T),T=T.sibling;return null}function a(L,T){for(L=new Map;T!==null;
vendor: 2,550 bytes, line 38
38)T.key!==null?L.set(T.key,T):L.set(T.index,T),T=T.sibling;return L}function c(L,T){return L=Hn(L,T),L.index=0,L.sibling=null,L}function f(L,T,A){return L.index=A,e?(A=L.alternate,A!==null?(A=A.index,A<T?(L.flags|=2,T):A):(L.flags|=2,T)):(L.flags|=1048576,T)}function y(L){return e&&L.alternate===null&&(L.flags|=2),L}function b(L,T,A,K){return T===null||T.tag!==6?(T=Nu(A,L.mode,K),T.return=L,T):(T=c(T,A),T.return=L,T)}function S(L,T,A,K){var ie=A.type;return ie===G?J(L,T,A.props.children,K,A.key):T!==null&&(T.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===Ee&&Vf(ie)===T.type)?(K=c(T,A.props),K.ref=uo(L,T,A),K.return=L,K):(K=ea(A.type,A.key,A.props,null,L.mode,K),K.ref=uo(L,T,A),K.return=L,K)}function M(L,T,A,K){return T===null||T.tag!==4||T.stateNode.containerInfo!==A.containerInfo||T.stateNode.implementation!==A.implementation?(T=Au(A,L.mode,K),T.return=L,T):(T=c(T,A.children||[]),T.return=L,T)}function J(L,T,A,K,ie){return T===null||T.tag!==7?(T=Sr(A,L.mode,K,ie),T.return=L,T):(T=c(T,A),T.return=L,T)}function W(L,T,A){if(typeof T=="string"&&T!==""||typeof T=="number")return T=Nu(""+T,L.mode,A),T.return=L,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case V:return A=ea(T.type,T.key,T.props,null,L.mode,A),A.ref=uo(L,null,T),A.return=L,A;case I:return T=Au(T,L.mode,A),T.return=L,T;case Ee:var K=T._init;return W(L,K(T._payload),A)}if(Nn(T)||re(T))return T=Sr(T,L.mode,A,null),T.return=L,T;As(L,T)}return null}function $(L,T,A,K){var ie=T!==null?T.key:null;if(typeof A=="string"&&A!==""||typeof A=="number")return ie!==null?null:b(L,T,""+A,K);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case V:return A.key===ie?S(L,T,A,K):null;case I:return A.key===ie?M(L,T,A,K):null;case Ee:return ie=A._init,$(L,T,ie(A._payload),K)}if(Nn(A)||re(A))return ie!==null?null:J(L,T,A,K,null);As(L,A)}return null}function Q(L,T,A,K,ie){if(typeof K=="string"&&K!==""||typeof K=="number")return L=L.get(A)||null,b(T,L,""+K,ie);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case V:return L=L.get(K.key===null?A:K.key)||null,S(T,L,K,ie);case I:return L=L.get(K.key===null?A:K.key)||null,M(T,L,K,ie);case Ee:var se=K._init;return Q(L,T,A,se(K._payload),ie)}if(Nn(K)||re(K))return L=L.get(A)||null,J(T,L,K,ie,null);As(T,K)}return null}function te(L,T,A,K){for(var ie=null,se=null,ae=T,fe=T=0,et=null;ae!==null&&fe<A.length;fe++){ae.index>fe?(et=ae,ae=null):et=ae.sibling;var Te=$(L,ae,A[fe],K);if(Te===null){ae===null&&(ae=et);break}e&&ae&&Te.alternate===null&&r(L,ae),T=f(Te,T,fe),se===null?ie=Te:se.sibling=Te,se=Te,ae
vendor: 9,860 bytes, line 38
38=et}if(fe===A.length)return o(L,ae),Re&&mr(L,fe),ie;if(ae===null){for(;fe<A.length;fe++)ae=W(L,A[fe],K),ae!==null&&(T=f(ae,T,fe),se===null?ie=ae:se.sibling=ae,se=ae);return Re&&mr(L,fe),ie}for(ae=a(L,ae);fe<A.length;fe++)et=Q(ae,L,fe,A[fe],K),et!==null&&(e&&et.alternate!==null&&ae.delete(et.key===null?fe:et.key),T=f(et,T,fe),se===null?ie=et:se.sibling=et,se=et);return e&&ae.forEach(function(Gn){return r(L,Gn)}),Re&&mr(L,fe),ie}function ne(L,T,A,K){var ie=re(A);if(typeof ie!="function")throw Error(i(150));if(A=ie.call(A),A==null)throw Error(i(151));for(var se=ie=null,ae=T,fe=T=0,et=null,Te=A.next();ae!==null&&!Te.done;fe++,Te=A.next()){ae.index>fe?(et=ae,ae=null):et=ae.sibling;var Gn=$(L,ae,Te.value,K);if(Gn===null){ae===null&&(ae=et);break}e&&ae&&Gn.alternate===null&&r(L,ae),T=f(Gn,T,fe),se===null?ie=Gn:se.sibling=Gn,se=Gn,ae=et}if(Te.done)return o(L,ae),Re&&mr(L,fe),ie;if(ae===null){for(;!Te.done;fe++,Te=A.next())Te=W(L,Te.value,K),Te!==null&&(T=f(Te,T,fe),se===null?ie=Te:se.sibling=Te,se=Te);return Re&&mr(L,fe),ie}for(ae=a(L,ae);!Te.done;fe++,Te=A.next())Te=Q(ae,L,fe,Te.value,K),Te!==null&&(e&&Te.alternate!==null&&ae.delete(Te.key===null?fe:Te.key),T=f(Te,T,fe),se===null?ie=Te:se.sibling=Te,se=Te);return e&&ae.forEach(function(Bw){return r(L,Bw)}),Re&&mr(L,fe),ie}function Je(L,T,A,K){if(typeof A=="object"&&A!==null&&A.type===G&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case V:e:{for(var ie=A.key,se=T;se!==null;){if(se.key===ie){if(ie=A.type,ie===G){if(se.tag===7){o(L,se.sibling),T=c(se,A.props.children),T.return=L,L=T;break e}}else if(se.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===Ee&&Vf(ie)===se.type){o(L,se.sibling),T=c(se,A.props),T.ref=uo(L,se,A),T.return=L,L=T;break e}o(L,se);break}else r(L,se);se=se.sibling}A.type===G?(T=Sr(A.props.children,L.mode,K,A.key),T.return=L,L=T):(K=ea(A.type,A.key,A.props,null,L.mode,K),K.ref=uo(L,T,A),K.return=L,L=K)}return y(L);case I:e:{for(se=A.key;T!==null;){if(T.key===se)if(T.tag===4&&T.stateNode.containerInfo===A.containerInfo&&T.stateNode.implementation===A.implementation){o(L,T.sibling),T=c(T,A.children||[]),T.return=L,L=T;break e}else{o(L,T);break}else r(L,T);T=T.sibling}T=Au(A,L.mode,K),T.return=L,L=T}return y(L);case Ee:return se=A._init,Je(L,T,se(A._payload),K)}if(Nn(A))return te(L,T,A,K);if(re(A))return ne(L,T,A,K);As(L,A)}return typeof A=="string"&&A!==""||typeof A=="number"?(A=""+A,T!==null&&T.tag===6?(o(L,T.sibling),T=c(T,A),T.return=L,L=T):(o(L,T),T=Nu(A,L.mode,K),T.return=L,L=T),y(L)):o(L,T)}return Je}var ii=zf(!0),Uf=zf(!1),Ds=In(null),Rs=null,oi=null,Bl=null;function Vl(){Bl=oi=Rs=null}function zl(e){var r=Ds.current;Ae(Ds),e._currentValue=r}function Ul(e,r,o){for(;e!==null;){var a=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,a!==null&&(a.childLanes|=r)):a!==null&&(a.childLanes&r)!==r&&(a.childLanes|=r),e===o)break;e=e.return}}function si(e,r){Rs=e,Bl=oi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&r)!==0&&(vt=!0),e.firstContext=null)}function Ft(e){var r=e._currentValue;if(Bl!==e)if(e={context:e,memoizedValue:r,next:null},oi===null){if(Rs===null)throw Error(i(308));oi=e,Rs.dependencies={lanes:0,firstContext:e}}else oi=oi.next=e;return r}var pr=null;function $l(e){pr===null?pr=[e]:pr.push(e)}function $f(e,r,o,a){var c=r.interleaved;return c===null?(o.next=o,$l(r)):(o.next=c.next,c.next=o),r.interleaved=o,vn(e,a)}function vn(e,r){e.lanes|=r;var o=e.alternate;for(o!==null&&(o.lanes|=r),o=e,e=e.return;e!==null;)e.childLanes|=r,o=e.alternate,o!==null&&(o.childLanes|=r),o=e,e=e.return;return o.tag===3?o.stateNode:null}var zn=!1;function Jl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Jf(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function wn(e,r){return{eventTime:e,lane:r,tag:0,payload:null,callback:null,next:null}}function Un(e,r,o){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ce&2)!==0){var c=a.pending;return c===null?r.next=r:(r.next=c.next,c.next=r),a.pending=r,vn(e,o)}return c=a.interleaved,c===null?(r.next=r,$l(a)):(r.next=c.next,c.next=r),a.interleaved=r,vn(e,o)}function Ms(e,r,o){if(r=r.updateQueue,r!==null&&(r=r.shared,(o&4194240)!==0)){var a=r.lanes;a&=e.pendingLanes,o|=a,r.lanes=o,il(e,o)}}function Wf(e,r){var o=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,o===a)){var c=null,f=null;if(o=o.firstBaseUpdate,o!==null){do{var y={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};f===null?c=f=y:f=f.next=y,o=o.next}while(o!==null);f===null?c=f=r:f=f.next=r}else c=f=r;o={baseState:a.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:a.shared,effects:a.effects},e.updateQueue=o;return}e=o.lastBaseUpdate,e===null?o.firstBaseUpdate=r:e.next=r,o.lastBaseUpdate=r}function Os(e,r,o,a){var c=e.updateQueue;zn=!1;var f=c.firstBaseUpdate,y=c.lastBaseUpdate,b=c.shared.pending;if(b!==null){c.shared.pending=null;var S=b,M=S.next;S.next=null,y===null?f=M:y.next=M,y=S;var J=e.alternate;J!==null&&(J=J.updateQueue,b=J.lastBaseUpdate,b!==y&&(b===null?J.firstBaseUpdate=M:b.next=M,J.lastBaseUpdate=S))}if(f!==null){var W=c.baseState;y=0,J=M=S=null,b=f;do{var $=b.lane,Q=b.eventTime;if((a&$)===$){J!==null&&(J=J.next={eventTime:Q,lane:0,tag:b.tag,payload:b.payload,callback:b.callback,next:null});e:{var te=e,ne=b;switch($=r,Q=o,ne.tag){case 1:if(te=ne.payload,typeof te=="function"){W=te.call(Q,W,$);break e}W=te;break e;case 3:te.flags=te.flags&-65537|128;case 0:if(te=ne.payload,$=typeof te=="function"?te.call(Q,W,$):te,$==null)break e;W=_({},W,$);break e;case 2:zn=!0}}b.callback!==null&&b.lane!==0&&(e.flags|=64,$=c.effects,$===null?c.effects=[b]:$.push(b))}else Q={eventTime:Q,lane:$,tag:b.tag,payload:b.payload,callback:b.callback,next:null},J===null?(M=J=Q,S=W):J=J.next=Q,y|=$;if(b=b.next,b===null){if(b=c.shared.pending,b===null)break;$=b,b=$.next,$.next=null,c.lastBaseUpdate=$,c.shared.pending=null}}while(!0);if(J===null&&(S=W),c.baseState=S,c.firstBaseUpdate=M,c.lastBaseUpdate=J,r=c.shared.interleaved,r!==null){c=r;do y|=c.lane,c=c.next;while(c!==r)}else f===null&&(c.shared.lanes=0);vr|=y,e.lanes=y,e.memoizedState=W}}function qf(e,r,o){if(e=r.effects,r.effects=null,e!==null)for(r=0;r<e.length;r++){var a=e[r],c=a.callback;if(c!==null){if(a.callback=null,a=o,typeof c!="function")throw Error(i(191,c));c.call(a)}}}var co={},rn=In(co),fo=In(co),ho=In(co);function gr(e){if(e===co)throw Error(i(174));return e}function Wl(e,r){switch(Le(ho,r),Le(fo,e),Le(rn,co),e=r.nodeType,e){case 9:case 11:r=(r=r.documentElement)?r.namespaceURI:An(null,"");break;default:e=e===8?r.parentNode:r,r=e.namespaceURI||null,e=e.tagName,r=An(r,e)}Ae(rn),Le(rn,r)}function ai(){Ae(rn),Ae(fo),Ae(ho)}function Kf(e){gr(ho.current);var r=gr(rn.current),o=An(r,e.type);r!==o&&(Le(fo,e),Le(rn,o))}function ql(e){fo.current===e&&(Ae(rn),Ae(fo))}var Oe=In(0);function Fs(e){for(var r=e;r!==null;){if(r.tag===13){var o=r.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return r}else if(r.tag===19&&r.memoizedProps.revealOrder!==void 0){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Kl=[];function Hl(){for(var e=0;e<Kl.length;e++)Kl[e]._workInProgressVersionPrimary=null;Kl.length=0}var js=O.ReactCurrentDispatcher,Gl=O.ReactCurrentBatchConfig,yr=0,Fe=null,Ge=null,Xe=null,_s=!1,mo=!1,po=0,aw=0;function at(){throw Error(i(321))}function Yl(e,r){if(r===null)return!1;for(var o=0;o<r.length&&o<e.length;o++)if(!Wt(e[o],r[o]))return!1;return!0}function Ql(e,r,o,a,c,f){if(yr=f,Fe=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,js.current=e===null||e.memoizedState===null?dw:fw,e=o(a,c),mo){f=0;do{if(mo=!1,po=0,25<=f)throw Error(i(301));f+=1,Xe=Ge=null,r.updateQueue=null,js.current=hw,e=o(a,c)}while(mo)}if(js.current=Vs,r=Ge!==null&&Ge.next!==null,yr=0,Xe=Ge=Fe=null,_s=!1,r)throw Error(i(300));return e}function Xl(){var e=po!==0;return po=0,e}function on(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?Fe.memoizedState=Xe=e:Xe=Xe.next=e,Xe}function jt(){if(Ge===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=Ge.next;var r=Xe===null?Fe.memoizedState:Xe.next;if(r!==null)Xe=r,Ge=e;else{if(e===null)throw Error(i(310));Ge=e,e={memoizedState:Ge.memoizedState,baseState:Ge.baseState,baseQueue:Ge.baseQueue,queue:Ge.queue,next:null},Xe===null?Fe.memoizedState=Xe=e:Xe=Xe.next=e}return Xe}function go(e,r){return typeof r=="function"?r(e):r}function Zl(e){var r=jt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;var a=Ge,c=a.baseQueue,f=o.pending;if(f!==null){if(c!==null){var y=c.next;c.next=f.next,f.next=y}a.baseQueue=c=f,o.pending=null}if(c!==null){f=c.next,a=a.baseState;var b=y=null,S=null,M=f;do{var J=M.lane;if((yr&J)===J)S!==null&&(S=S.next={lane:0,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),a=M.hasEagerState?M.eagerState:e(a,M.action);else{var W={lane:J,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null};S===null?(b=S=W,y=a):S=S.next=W,Fe.lanes|=J,vr|=J}M=M.next}while(M!==null&&M!==f);S===null?y=a:S.next=b,Wt(a,r.memoizedState)||(vt=!0),r.memoizedState=a,r.baseState=y,r.baseQueue=S,o.lastRenderedState=a}if(e=o.interleaved,e!==null){c=e;do f=c.lane,Fe.lanes|=f,vr|=f,c=c.next;while(c!==e)}else c===null&&(o.lanes=0);return[r.memoizedState,o.dispatch]}function eu(e){var r=jt(),o=r.queue;if(o===null)throw Error(i(311));o.lastRenderedReducer=e;
vendor: 4,790 bytes, line 38
38var a=o.dispatch,c=o.pending,f=r.memoizedState;if(c!==null){o.pending=null;var y=c=c.next;do f=e(f,y.action),y=y.next;while(y!==c);Wt(f,r.memoizedState)||(vt=!0),r.memoizedState=f,r.baseQueue===null&&(r.baseState=f),o.lastRenderedState=f}return[f,a]}function Hf(){}function Gf(e,r){var o=Fe,a=jt(),c=r(),f=!Wt(a.memoizedState,c);if(f&&(a.memoizedState=c,vt=!0),a=a.queue,tu(Xf.bind(null,o,a,e),[e]),a.getSnapshot!==r||f||Xe!==null&&Xe.memoizedState.tag&1){if(o.flags|=2048,yo(9,Qf.bind(null,o,a,c,r),void 0,null),Ze===null)throw Error(i(349));(yr&30)!==0||Yf(o,r,c)}return c}function Yf(e,r,o){e.flags|=16384,e={getSnapshot:r,value:o},r=Fe.updateQueue,r===null?(r={lastEffect:null,stores:null},Fe.updateQueue=r,r.stores=[e]):(o=r.stores,o===null?r.stores=[e]:o.push(e))}function Qf(e,r,o,a){r.value=o,r.getSnapshot=a,Zf(r)&&eh(e)}function Xf(e,r,o){return o(function(){Zf(r)&&eh(e)})}function Zf(e){var r=e.getSnapshot;e=e.value;try{var o=r();return!Wt(e,o)}catch{return!0}}function eh(e){var r=vn(e,1);r!==null&&Yt(r,e,1,-1)}function th(e){var r=on();return typeof e=="function"&&(e=e()),r.memoizedState=r.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:go,lastRenderedState:e},r.queue=e,e=e.dispatch=cw.bind(null,Fe,e),[r.memoizedState,e]}function yo(e,r,o,a){return e={tag:e,create:r,destroy:o,deps:a,next:null},r=Fe.updateQueue,r===null?(r={lastEffect:null,stores:null},Fe.updateQueue=r,r.lastEffect=e.next=e):(o=r.lastEffect,o===null?r.lastEffect=e.next=e:(a=o.next,o.next=e,e.next=a,r.lastEffect=e)),e}function nh(){return jt().memoizedState}function Is(e,r,o,a){var c=on();Fe.flags|=e,c.memoizedState=yo(1|r,o,void 0,a===void 0?null:a)}function Bs(e,r,o,a){var c=jt();a=a===void 0?null:a;var f=void 0;if(Ge!==null){var y=Ge.memoizedState;if(f=y.destroy,a!==null&&Yl(a,y.deps)){c.memoizedState=yo(r,o,f,a);return}}Fe.flags|=e,c.memoizedState=yo(1|r,o,f,a)}function rh(e,r){return Is(8390656,8,e,r)}function tu(e,r){return Bs(2048,8,e,r)}function ih(e,r){return Bs(4,2,e,r)}function oh(e,r){return Bs(4,4,e,r)}function sh(e,r){if(typeof r=="function")return e=e(),r(e),function(){r(null)};if(r!=null)return e=e(),r.current=e,function(){r.current=null}}function ah(e,r,o){return o=o!=null?o.concat([e]):null,Bs(4,4,sh.bind(null,r,e),o)}function nu(){}function lh(e,r){var o=jt();r=r===void 0?null:r;var a=o.memoizedState;return a!==null&&r!==null&&Yl(r,a[1])?a[0]:(o.memoizedState=[e,r],e)}function uh(e,r){var o=jt();r=r===void 0?null:r;var a=o.memoizedState;return a!==null&&r!==null&&Yl(r,a[1])?a[0]:(e=e(),o.memoizedState=[e,r],e)}function ch(e,r,o){return(yr&21)===0?(e.baseState&&(e.baseState=!1,vt=!0),e.memoizedState=o):(Wt(o,r)||(o=Bd(),Fe.lanes|=o,vr|=o,e.baseState=!0),r)}function lw(e,r){var o=Pe;Pe=o!==0&&4>o?o:4,e(!0);var a=Gl.transition;Gl.transition={};try{e(!1),r()}finally{Pe=o,Gl.transition=a}}function dh(){return jt().memoizedState}function uw(e,r,o){var a=qn(e);if(o={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null},fh(e))hh(r,o);else if(o=$f(e,r,o,a),o!==null){var c=mt();Yt(o,e,a,c),mh(o,r,a)}}function cw(e,r,o){var a=qn(e),c={lane:a,action:o,hasEagerState:!1,eagerState:null,next:null};if(fh(e))hh(r,c);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=r.lastRenderedReducer,f!==null))try{var y=r.lastRenderedState,b=f(y,o);if(c.hasEagerState=!0,c.eagerState=b,Wt(b,y)){var S=r.interleaved;S===null?(c.next=c,$l(r)):(c.next=S.next,S.next=c),r.interleaved=c;return}}catch{}finally{}o=$f(e,r,c,a),o!==null&&(c=mt(),Yt(o,e,a,c),mh(o,r,a))}}function fh(e){var r=e.alternate;return e===Fe||r!==null&&r===Fe}function hh(e,r){mo=_s=!0;var o=e.pending;o===null?r.next=r:(r.next=o.next,o.next=r),e.pending=r}function mh(e,r,o){if((o&4194240)!==0){var a=r.lanes;a&=e.pendingLanes,o|=a,r.lanes=o,il(e,o)}}var Vs={readContext:Ft,useCallback:at,useContext:at,useEffect:at,useImperativeHandle:at,useInsertionEffect:at,useLayoutEffect:at,useMemo:at,useReducer:at,useRef:at,useState:at,useDebugValue:at,useDeferredValue:at,useTransition:at,useMutableSource:at,useSyncExternalStore:at,useId:at,unstable_isNewReconciler:!1},dw={readContext:Ft,useCallback:function(e,r){return on().memoizedState=[e,r===void 0?null:r],e},useContext:Ft,useEffect:rh,useImperativeHandle:function(e,r,o){return o=o!=null?o.concat([e]):null,Is(4194308,4,sh.bind(null,r,e),o)},useLayoutEffect:function(e,r){return Is(4194308,4,e,r)},useInsertionEffect:function(e,r){return Is(4,2,e,r)},useMemo:function(e,r){var o=on();return r=r===void 0?null:r,e=e(),o.memoizedState=[e,r],e},useReducer:function(e,r,o){var a=on();return r=o!==void 0?o(r):r,a.memoizedState=a.baseState=r,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=uw.bind(null,Fe,e),[a.memoizedState,e]}
vendor: 5,350 bytes, lines 38-40
38,useRef:function(e){var r=on();return e={current:e},r.memoizedState=e},useState:th,useDebugValue:nu,useDeferredValue:function(e){return on().memoizedState=e},useTransition:function(){var e=th(!1),r=e[0];return e=lw.bind(null,e[1]),on().memoizedState=e,[r,e]},useMutableSource:function(){},useSyncExternalStore:function(e,r,o){var a=Fe,c=on();if(Re){if(o===void 0)throw Error(i(407));o=o()}else{if(o=r(),Ze===null)throw Error(i(349));(yr&30)!==0||Yf(a,r,o)}c.memoizedState=o;var f={value:o,getSnapshot:r};return c.queue=f,rh(Xf.bind(null,a,f,e),[e]),a.flags|=2048,yo(9,Qf.bind(null,a,f,o,r),void 0,null),o},useId:function(){var e=on(),r=Ze.identifierPrefix;if(Re){var o=yn,a=gn;o=(a&~(1<<32-Jt(a)-1)).toString(32)+o,r=":"+r+"R"+o,o=po++,0<o&&(r+="H"+o.toString(32)),r+=":"}else o=aw++,r=":"+r+"r"+o.toString(32)+":";return e.memoizedState=r},unstable_isNewReconciler:!1},fw={readContext:Ft,useCallback:lh,useContext:Ft,useEffect:tu,useImperativeHandle:ah,useInsertionEffect:ih,useLayoutEffect:oh,useMemo:uh,useReducer:Zl,useRef:nh,useState:function(){return Zl(go)},useDebugValue:nu,useDeferredValue:function(e){var r=jt();return ch(r,Ge.memoizedState,e)},useTransition:function(){var e=Zl(go)[0],r=jt().memoizedState;return[e,r]},useMutableSource:Hf,useSyncExternalStore:Gf,useId:dh,unstable_isNewReconciler:!1},hw={readContext:Ft,useCallback:lh,useContext:Ft,useEffect:tu,useImperativeHandle:ah,useInsertionEffect:ih,useLayoutEffect:oh,useMemo:uh,useReducer:eu,useRef:nh,useState:function(){return eu(go)},useDebugValue:nu,useDeferredValue:function(e){var r=jt();return Ge===null?r.memoizedState=e:ch(r,Ge.memoizedState,e)},useTransition:function(){var e=eu(go)[0],r=jt().memoizedState;return[e,r]},useMutableSource:Hf,useSyncExternalStore:Gf,useId:dh,unstable_isNewReconciler:!1};function Kt(e,r){if(e&&e.defaultProps){r=_({},r),e=e.defaultProps;for(var o in e)r[o]===void 0&&(r[o]=e[o]);return r}return r}function ru(e,r,o,a){r=e.memoizedState,o=o(a,r),o=o==null?r:_({},r,o),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}var zs={isMounted:function(e){return(e=e._reactInternals)?cr(e)===e:!1},enqueueSetState:function(e,r,o){e=e._reactInternals;var a=mt(),c=qn(e),f=wn(a,c);f.payload=r,o!=null&&(f.callback=o),r=Un(e,f,c),r!==null&&(Yt(r,e,c,a),Ms(r,e,c))},enqueueReplaceState:function(e,r,o){e=e._reactInternals;var a=mt(),c=qn(e),f=wn(a,c);f.tag=1,f.payload=r,o!=null&&(f.callback=o),r=Un(e,f,c),r!==null&&(Yt(r,e,c,a),Ms(r,e,c))},enqueueForceUpdate:function(e,r){e=e._reactInternals;var o=mt(),a=qn(e),c=wn(o,a);c.tag=2,r!=null&&(c.callback=r),r=Un(e,c,a),r!==null&&(Yt(r,e,a,o),Ms(r,e,a))}};function ph(e,r,o,a,c,f,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,f,y):r.prototype&&r.prototype.isPureReactComponent?!no(o,a)||!no(c,f):!0}function gh(e,r,o){var a=!1,c=Bn,f=r.contextType;return typeof f=="object"&&f!==null?f=Ft(f):(c=yt(r)?fr:st.current,a=r.contextTypes,f=(a=a!=null)?ei(e,c):Bn),r=new r(o,f),e.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=zs,e.stateNode=r,r._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=c,e.__reactInternalMemoizedMaskedChildContext=f),r}function yh(e,r,o,a){e=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(o,a),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(o,a),r.state!==e&&zs.enqueueReplaceState(r,r.state,null)}function iu(e,r,o,a){var c=e.stateNode;c.props=o,c.state=e.memoizedState,c.refs={},Jl(e);var f=r.contextType;typeof f=="object"&&f!==null?c.context=Ft(f):(f=yt(r)?fr:st.current,c.context=ei(e,f)),c.state=e.memoizedState,f=r.getDerivedStateFromProps,typeof f=="function"&&(ru(e,r,f,o),c.state=e.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(r=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),r!==c.state&&zs.enqueueReplaceState(c,c.state,null),Os(e,o,c,a),c.state=e.memoizedState),typeof c.componentDidMount=="function"&&(e.flags|=4194308)}function li(e,r){try{var o="",a=r;do o+=le(a),a=a.return;while(a);var c=o}catch(f){c=` 39Error generating stack: `+f.message+` 40`+f.stack}return{value:e,source:r,stack:c,digest:null}}function ou(e,r,o){return{value:e,source:null,stack:o??null,digest:r??null}}function su(e,r){try{console.error(r.value)}catch(o){setTimeout(function(){throw o})}}var mw=typeof WeakMap=="function"?WeakMap:Map;function vh(e,r,o){o=wn(-1,o),o.tag=3,o.payload={element:null};var a=r.value;return o.callback=function(){Hs||(Hs=!0,bu=a),su(e,r)},o}function wh(e,r,o){o=wn(-1,o),o.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var c=r.value;o.payload=function(){return a(c)},o.callback=function(){su(e,r)}}var f=e.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(o.callback=function(){su(e,r),typeof a!="function"&&(Jn===null?Jn=new Set([this]):Jn.add(this));var y=r.stack;this.componentDidCatch(r.value,{componentStack:y!==null?y:""})}),o}function xh(e,r,o){var a=e.pingCache;if(a===null){a=e.pingCache=new mw;var c=new Set;a.set(r,c)}else c=a.get(r),c===void 0&&(c=new Set,a.set(r,c));
vendor: 12,746 bytes, line 40
40c.has(o)||(c.add(o),e=Lw.bind(null,e,r,o),r.then(e,e))}function bh(e){do{var r;if((r=e.tag===13)&&(r=e.memoizedState,r=r!==null?r.dehydrated!==null:!0),r)return e;e=e.return}while(e!==null);return null}function Sh(e,r,o,a,c){return(e.mode&1)===0?(e===r?e.flags|=65536:(e.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(r=wn(-1,1),r.tag=2,Un(o,r,1))),o.lanes|=1),e):(e.flags|=65536,e.lanes=c,e)}var pw=O.ReactCurrentOwner,vt=!1;function ht(e,r,o,a){r.child=e===null?Uf(r,null,o,a):ii(r,e.child,o,a)}function kh(e,r,o,a,c){o=o.render;var f=r.ref;return si(r,c),a=Ql(e,r,o,a,f,c),o=Xl(),e!==null&&!vt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~c,xn(e,r,c)):(Re&&o&&Ol(r),r.flags|=1,ht(e,r,a,c),r.child)}function Ch(e,r,o,a,c){if(e===null){var f=o.type;return typeof f=="function"&&!Lu(f)&&f.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(r.tag=15,r.type=f,Th(e,r,f,a,c)):(e=ea(o.type,null,a,r,r.mode,c),e.ref=r.ref,e.return=r,r.child=e)}if(f=e.child,(e.lanes&c)===0){var y=f.memoizedProps;if(o=o.compare,o=o!==null?o:no,o(y,a)&&e.ref===r.ref)return xn(e,r,c)}return r.flags|=1,e=Hn(f,a),e.ref=r.ref,e.return=r,r.child=e}function Th(e,r,o,a,c){if(e!==null){var f=e.memoizedProps;if(no(f,a)&&e.ref===r.ref)if(vt=!1,r.pendingProps=a=f,(e.lanes&c)!==0)(e.flags&131072)!==0&&(vt=!0);else return r.lanes=e.lanes,xn(e,r,c)}return au(e,r,o,a,c)}function Eh(e,r,o){var a=r.pendingProps,c=a.children,f=e!==null?e.memoizedState:null;if(a.mode==="hidden")if((r.mode&1)===0)r.memoizedState={baseLanes:0,cachePool:null,transitions:null},Le(ci,Et),Et|=o;else{if((o&1073741824)===0)return e=f!==null?f.baseLanes|o:o,r.lanes=r.childLanes=1073741824,r.memoizedState={baseLanes:e,cachePool:null,transitions:null},r.updateQueue=null,Le(ci,Et),Et|=e,null;r.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=f!==null?f.baseLanes:o,Le(ci,Et),Et|=a}else f!==null?(a=f.baseLanes|o,r.memoizedState=null):a=o,Le(ci,Et),Et|=a;return ht(e,r,c,o),r.child}function Ph(e,r){var o=r.ref;(e===null&&o!==null||e!==null&&e.ref!==o)&&(r.flags|=512,r.flags|=2097152)}function au(e,r,o,a,c){var f=yt(o)?fr:st.current;return f=ei(r,f),si(r,c),o=Ql(e,r,o,a,f,c),a=Xl(),e!==null&&!vt?(r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~c,xn(e,r,c)):(Re&&a&&Ol(r),r.flags|=1,ht(e,r,o,c),r.child)}function Lh(e,r,o,a,c){if(yt(o)){var f=!0;Ts(r)}else f=!1;if(si(r,c),r.stateNode===null)$s(e,r),gh(r,o,a),iu(r,o,a,c),a=!0;else if(e===null){var y=r.stateNode,b=r.memoizedProps;y.props=b;var S=y.context,M=o.contextType;typeof M=="object"&&M!==null?M=Ft(M):(M=yt(o)?fr:st.current,M=ei(r,M));var J=o.getDerivedStateFromProps,W=typeof J=="function"||typeof y.getSnapshotBeforeUpdate=="function";W||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(b!==a||S!==M)&&yh(r,y,a,M),zn=!1;var $=r.memoizedState;y.state=$,Os(r,a,y,c),S=r.memoizedState,b!==a||$!==S||gt.current||zn?(typeof J=="function"&&(ru(r,o,J,a),S=r.memoizedState),(b=zn||ph(r,o,b,a,$,S,M))?(W||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(r.flags|=4194308)):(typeof y.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=a,r.memoizedState=S),y.props=a,y.state=S,y.context=M,a=b):(typeof y.componentDidMount=="function"&&(r.flags|=4194308),a=!1)}else{y=r.stateNode,Jf(e,r),b=r.memoizedProps,M=r.type===r.elementType?b:Kt(r.type,b),y.props=M,W=r.pendingProps,$=y.context,S=o.contextType,typeof S=="object"&&S!==null?S=Ft(S):(S=yt(o)?fr:st.current,S=ei(r,S));var Q=o.getDerivedStateFromProps;(J=typeof Q=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(b!==W||$!==S)&&yh(r,y,a,S),zn=!1,$=r.memoizedState,y.state=$,Os(r,a,y,c);var te=r.memoizedState;b!==W||$!==te||gt.current||zn?(typeof Q=="function"&&(ru(r,o,Q,a),te=r.memoizedState),(M=zn||ph(r,o,M,a,$,te,S)||!1)?(J||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(a,te,S),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(a,te,S)),typeof y.componentDidUpdate=="function"&&(r.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof y.componentDidUpdate!="function"||b===e.memoizedProps&&$===e.memoizedState||(r.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&$===e.memoizedState||(r.flags|=1024),r.memoizedProps=a,r.memoizedState=te),y.props=a,y.state=te,y.context=S,a=M):(typeof y.componentDidUpdate!="function"||b===e.memoizedProps&&$===e.memoizedState||(r.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&$===e.memoizedState||(r.flags|=1024),a=!1)}return lu(e,r,o,a,f,c)}function lu(e,r,o,a,c,f){Ph(e,r);var y=(r.flags&128)!==0;if(!a&&!y)return c&&Mf(r,o,!1),xn(e,r,f);a=r.stateNode,pw.current=r;var b=y&&typeof o.getDerivedStateFromError!="function"?null:a.render();return r.flags|=1,e!==null&&y?(r.child=ii(r,e.child,null,f),r.child=ii(r,null,b,f)):ht(e,r,b,f),r.memoizedState=a.state,c&&Mf(r,o,!0),r.child}function Nh(e){var r=e.stateNode;r.pendingContext?Df(e,r.pendingContext,r.pendingContext!==r.context):r.context&&Df(e,r.context,!1),Wl(e,r.containerInfo)}function Ah(e,r,o,a,c){return ri(),Il(c),r.flags|=256,ht(e,r,o,a),r.child}var uu={dehydrated:null,treeContext:null,retryLane:0};function cu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Dh(e,r,o){var a=r.pendingProps,c=Oe.current,f=!1,y=(r.flags&128)!==0,b;if((b=y)||(b=e!==null&&e.memoizedState===null?!1:(c&2)!==0),b?(f=!0,r.flags&=-129):(e===null||e.memoizedState!==null)&&(c|=1),Le(Oe,c&1),e===null)return _l(r),e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((r.mode&1)===0?r.lanes=1:e.data==="$!"?r.lanes=8:r.lanes=1073741824,null):(y=a.children,e=a.fallback,f?(a=r.mode,f=r.child,y={mode:"hidden",children:y},(a&1)===0&&f!==null?(f.childLanes=0,f.pendingProps=y):f=ta(y,a,0,null),e=Sr(e,a,o,null),f.return=r,e.return=r,f.sibling=e,r.child=f,r.child.memoizedState=cu(o),r.memoizedState=uu,e):du(r,y));if(c=e.memoizedState,c!==null&&(b=c.dehydrated,b!==null))return gw(e,r,y,a,b,c,o);if(f){f=a.fallback,y=r.mode,c=e.child,b=c.sibling;var S={mode:"hidden",children:a.children};return(y&1)===0&&r.child!==c?(a=r.child,a.childLanes=0,a.pendingProps=S,r.deletions=null):(a=Hn(c,S),a.subtreeFlags=c.subtreeFlags&14680064),b!==null?f=Hn(b,f):(f=Sr(f,y,o,null),f.flags|=2),f.return=r,a.return=r,a.sibling=f,r.child=a,a=f,f=r.child,y=e.child.memoizedState,y=y===null?cu(o):{baseLanes:y.baseLanes|o,cachePool:null,transitions:y.transitions},f.memoizedState=y,f.childLanes=e.childLanes&~o,r.memoizedState=uu,a}return f=e.child,e=f.sibling,a=Hn(f,{mode:"visible",children:a.children}),(r.mode&1)===0&&(a.lanes=o),a.return=r,a.sibling=null,e!==null&&(o=r.deletions,o===null?(r.deletions=[e],r.flags|=16):o.push(e)),r.child=a,r.memoizedState=null,a}function du(e,r){return r=ta({mode:"visible",children:r},e.mode,0,null),r.return=e,e.child=r}function Us(e,r,o,a){return a!==null&&Il(a),ii(r,e.child,null,o),e=du(r,r.pendingProps.children),e.flags|=2,r.memoizedState=null,e}function gw(e,r,o,a,c,f,y){if(o)return r.flags&256?(r.flags&=-257,a=ou(Error(i(422))),Us(e,r,y,a)):r.memoizedState!==null?(r.child=e.child,r.flags|=128,null):(f=a.fallback,c=r.mode,a=ta({mode:"visible",children:a.children},c,0,null),f=Sr(f,c,y,null),f.flags|=2,a.return=r,f.return=r,a.sibling=f,r.child=a,(r.mode&1)!==0&&ii(r,e.child,null,y),r.child.memoizedState=cu(y),r.memoizedState=uu,f);if((r.mode&1)===0)return Us(e,r,y,null);if(c.data==="$!"){if(a=c.nextSibling&&c.nextSibling.dataset,a)var b=a.dgst;return a=b,f=Error(i(419)),a=ou(f,a,void 0),Us(e,r,y,a)}if(b=(y&e.childLanes)!==0,vt||b){if(a=Ze,a!==null){switch(y&-y){case 4:c=2;break;case 16:c=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:c=32;break;case 536870912:c=268435456;break;default:c=0}c=(c&(a.suspendedLanes|y))!==0?0:c,c!==0&&c!==f.retryLane&&(f.retryLane=c,vn(e,c),Yt(a,e,c,-1))}return Pu(),a=ou(Error(i(421))),Us(e,r,y,a)}return c.data==="$?"?(r.flags|=128,r.child=e.child,r=Nw.bind(null,e),c._reactRetry=r,null):(e=f.treeContext,Tt=_n(c.nextSibling),Ct=r,Re=!0,qt=null,e!==null&&(Mt[Ot++]=gn,Mt[Ot++]=yn,Mt[Ot++]=hr,gn=e.id,yn=e.overflow,hr=r),r=du(r,a.children),r.flags|=4096,r)}function Rh(e,r,o){e.lanes|=r;var a=e.alternate;a!==null&&(a.lanes|=r),Ul(e.return,r,o)}function fu(e,r,o,a,c){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:a,tail:o,tailMode:c}:(f.isBackwards=r,f.rendering=null,f.renderingStartTime=0,f.last=a,f.tail=o,f.tailMode=c)}function Mh(e,r,o){var a=r.pendingProps,c=a.revealOrder,f=a.tail;if(ht(e,r,a.children,o),a=Oe.current,(a&2)!==0)a=a&1|2,r.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=r.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Rh(e,o,r);else if(e.tag===19)Rh(e,o,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;e.sibling===null;){if(e.return===null||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(Le(Oe,a),(r.mode&1)===0)r.memoizedState=null;else switch(c){case"forwards":for(o=r.child,c=null;o!==null;)e=o.alternate,e!==null&&Fs(e)===null&&(c=o),o=o.sibling;o=c,o===null?(c=r.child,r.child=null):(c=o.sibling,o.sibling=null),fu(r,!1,c,o,f);break;case"backwards":for(o=null,c=r.child,r.child=null;c!==null;){if(e=c.alternate,e!==null&&Fs(e)===null){r.child=c;break}e=c.sibling,c.sibling=o,o=c,c=e}fu(r,!0,o,null,f);break;case"together":fu(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function $s(e,r){(r.mode&1)===0&&e!==null&&(e.alternate=null,r.alternate=null,r.flags|=2)}function xn(e,r,o){if(e!==null&&(r.dependencies=e.dependencies),vr|=r.lanes,(o&r.childLanes)===0)return null;if(e!==null&&r.child!==e.child)throw Error(i(153));if(r.child!==null){for(e=r.child,o=Hn(e,e.pendingProps),r.child=o,o.return=r;e.sibling!==null;)e=e.sibling,o=o.sibling=Hn(e,e.pendingProps),o.return=r;o.sibling=null}return r.child}function yw(e,r,o){switch(r.tag){case 3:Nh(r),ri();break;case 5:Kf(r);break;case 1:yt(r.type)&&Ts(r);break;case 4:Wl(r,r.stateNode.containerInfo);break;case 10:var a=r.type._context,c=r.memoizedProps.value;Le(Ds,a._currentValue),a._currentValue=c;break;case 13:if(a=r.memoizedState,a!==null)return a.dehydrated!==null?(Le(Oe,Oe.current&1),r.flags|=128,null):(o&r.child.childLanes)!==0?Dh(e,r,o):(Le(Oe,Oe.current&1),e=xn(e,r,o),e!==null?e.sibling:null);Le(Oe,Oe.current&1);break;case 19:if(a=(o&r.childLanes)!==0,(e.flags&128)!==0){if(a)return Mh(e,r,o);r.flags|=128}if(c=r.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Le(Oe,Oe.current),a)break;return null;case 22:case 23:return r.lanes=0,Eh(e,r,o)}return xn(e,r,o)}var Oh,hu,Fh,jh;Oh=function(e,r){for(var o=r.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===r)break;for(;o.sibling===null;){if(o.return===null||o.return===r)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},hu=function(){},Fh=function(e,r,o,a){var c=e.memoizedProps;if(c!==a){e=r.stateNode,gr(rn.current);var f=null;switch(o){case"input":c=$t(e,c),a=$t(e,a),f=[];break;case"select":c=_({},c,{value:void 0}),a=_({},a,{value:void 0}),f=[];break;case"textarea":c=Ur(e,c),a=Ur(e,a),f=[];break;default:typeof c.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Ss)}Ka(o,a);var y;o=null;for(M in c)if(!a.hasOwnProperty(M)&&c.hasOwnProperty(M)&&c[M]!=null)if(M==="style"){var b=c[M];for(y in b)b.hasOwnProperty(y)&&(o||(o={}),o[y]="")}else M!=="dangerouslySetInnerHTML"&&M!=="children"&&M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&M!=="autoFocus"&&(l.hasOwnProperty(M)?f||(f=[]):(f=f||[]).push(M,null));for(M in a){var S=a[M];if(b=c!=null?c[M]:void 0,a.hasOwnProperty(M)&&S!==b&&(S!=null||b!=null))if(M==="style")if(b){for(y in b)!b.hasOwnProperty(y)||S&&S.hasOwnProperty(y)||(o||(o={}),o[y]="");for(y in S)S.hasOwnProperty(y)&&b[y]!==S[y]&&(o||(o={}),o[y]=S[y])}else o||(f||(f=[]),f.push(M,o)),o=S;else M==="dangerouslySetInnerHTML"?(S=S?S.__html:void 0,b=b?b.__html:void 0,S!=null&&b!==S&&(f=f||[]).push(M,S)):M==="children"?typeof S!="str
40ing"&&typeof S!="number"||(f=f||[]).push(M,""+S):M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&(l.hasOwnProperty(M)?(S!=null&&M==="onScroll"&&Ne("scroll",e),f||b===S||(f=[])):(f=f||[]).push(M,S))}o&&(f=f||[]).push("style",o);var M=f;(r.updateQueue=M)&&(r.flags|=4)}},jh=function(e,r,o,a){o!==a&&(r.flags|=4)};function vo(e,r){if(!Re)switch(e.tailMode){case"hidden":r=e.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?e.tail=null:o.sibling=null;break;case"collapsed":o=e.tail;for(var a=null;o!==null;)o.alternate!==null&&(a=o),o=o.sibling;a===null?r||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function lt(e){var r=e.alternate!==null&&e.alternate.child===e.child,o=0,a=0;if(r)for(var c=e.child;c!==null;)o|=c.lanes|c.childLanes,a|=c.subtreeFlags&14680064,a|=c.flags&14680064,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)o|=c.lanes|c.childLanes,a|=c.subtreeFlags,a|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=a,e.childLanes=o,r}function vw(e,r,o){var a=r.pendingProps;switch(Fl(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return lt(r),null;case 1:return yt(r.type)&&Cs(),lt(r),null;case 3:return a=r.stateNode,ai(),Ae(gt),Ae(st),Hl(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ns(r)?r.flags|=4:e===null||e.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,qt!==null&&(Cu(qt),qt=null))),hu(e,r),lt(r),null;case 5:ql(r);var c=gr(ho.current);if(o=r.type,e!==null&&r.stateNode!=null)Fh(e,r,o,a,c),e.ref!==r.ref&&(r.flags|=512,r.flags|=2097152);else{if(!a){if(r.stateNode===null)throw Error(i(166));return lt(r),null}if(e=gr(rn.current),Ns(r)){a=r.stateNode,o=r.type;var f=r.memoizedProps;switch(a[nn]=r,a[ao]=f,e=(r.mode&1)!==0,o){case"dialog":Ne("cancel",a),Ne("close",a);break;case"iframe":case"object":case"embed":Ne("load",a);break;case"video":case"audio":for(c=0;c<io.length;c++)Ne(io[c],a);break;case"source":Ne("error",a);break;case"img":case"image":case"link":Ne("error",a),Ne("load",a);break;case"details":Ne("toggle",a);break;case"input":Oi(a,f),Ne("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!f.multiple},Ne("invalid",a);break;case"textarea":_i(a,f),Ne("invalid",a)}Ka(o,f),c=null;for(var y in f)if(f.hasOwnProperty(y)){var b=f[y];y==="children"?typeof b=="string"?a.textContent!==b&&(f.suppressHydrationWarning!==!0&&bs(a.textContent,b,e),c=["children",b]):typeof b=="number"&&a.textContent!==""+b&&(f.suppressHydrationWarning!==!0&&bs(a.textContent,b,e),c=["children",""+b]):l.hasOwnProperty(y)&&b!=null&&y==="onScroll"&&Ne("scroll",a)}switch(o){case"input":Rt(a),ji(a,f,!0);break;case"textarea":Rt(a),oe(a);break;case"select":case"option":break;default:typeof f.onClick=="function"&&(a.onclick=Ss)}a=c,r.updateQueue=a,a!==null&&(r.flags|=4)}else{y=c.nodeType===9?c:c.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Be(o)),e==="http://www.w3.org/1999/xhtml"?o==="script"?(e=y.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=y.createElement(o,{is:a.is}):(e=y.createElement(o),o==="select"&&(y=e,a.multiple?y.multiple=!0:a.size&&(y.size=a.size))):e=y.createElementNS(e,o),e[nn]=r,e[ao]=a,Oh(e,r,!1,!1),r.stateNode=e;e:{switch(y=Ha(o,a),o){case"dialog":Ne("cancel",e),Ne("close",e),c=a;break;case"iframe":case"object":case"embed":Ne("load",e),c=a;break;case"video":case"audio":for(c=0;c<io.length;c++)Ne(io[c],e);c=a;break;case"source":Ne("error",e),c=a;break;case"img":case"image":case"link":Ne("error",e),Ne("load",e),c=a;break;case"details":Ne("toggle",e),c=a;break;case"input":Oi(e,a),c=$t(e,a),Ne("invalid",e);break;case"option":c=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},c=_({},a,{value:void 0}),Ne("invalid",e);break;case"textarea":_i(e,a),c=Ur(e,a),Ne("invalid",e);break;default:c=a}Ka(o,c),b=c;for(f in b)if(b.hasOwnProperty(f)){var S=b[f];f==="style"?Cd(e,S):f==="dangerouslySetInnerHTML"?(S=S?S.__html:void 0,S!=null&&St(e,S)):f==="children"?typeof S=="string"?(o!=="textarea"||S!=="")&&Bi(e,S):typeof S=="number"&&Bi(e,""+S):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(l.hasOwnProperty(f)?S!=null&&f==="onScroll"&&Ne("scroll",e):S!=null&&j(e,f,S,y))}switch(o){case"input":Rt(e),ji(e,a,!1);break;case"textarea":Rt(e),oe(e);break;case"option":a.value!=null&&e.setAttribute("value",""+Se(a.value));break;case"select":e.multiple=!!a.multiple,f=a.value,f!=null?hn(e,!!a.multiple,f,!1):a.defaultValue!=null&&hn(e,!!a.multiple,a.defaultValue,!0);break;default:typeof c.onClick=="function"&&(e.onclick=Ss)}switch(o){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(r.flags|=4)}r.ref!==null&&(r.flags|=512,r.flags|=2097152)}
vendor: 25,017 bytes, line 40
40return lt(r),null;case 6:if(e&&r.stateNode!=null)jh(e,r,e.memoizedProps,a);else{if(typeof a!="string"&&r.stateNode===null)throw Error(i(166));if(o=gr(ho.current),gr(rn.current),Ns(r)){if(a=r.stateNode,o=r.memoizedProps,a[nn]=r,(f=a.nodeValue!==o)&&(e=Ct,e!==null))switch(e.tag){case 3:bs(a.nodeValue,o,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&bs(a.nodeValue,o,(e.mode&1)!==0)}f&&(r.flags|=4)}else a=(o.nodeType===9?o:o.ownerDocument).createTextNode(a),a[nn]=r,r.stateNode=a}return lt(r),null;case 13:if(Ae(Oe),a=r.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Re&&Tt!==null&&(r.mode&1)!==0&&(r.flags&128)===0)Bf(),ri(),r.flags|=98560,f=!1;else if(f=Ns(r),a!==null&&a.dehydrated!==null){if(e===null){if(!f)throw Error(i(318));if(f=r.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(i(317));f[nn]=r}else ri(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;lt(r),f=!1}else qt!==null&&(Cu(qt),qt=null),f=!0;if(!f)return r.flags&65536?r:null}return(r.flags&128)!==0?(r.lanes=o,r):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(r.child.flags|=8192,(r.mode&1)!==0&&(e===null||(Oe.current&1)!==0?Ye===0&&(Ye=3):Pu())),r.updateQueue!==null&&(r.flags|=4),lt(r),null);case 4:return ai(),hu(e,r),e===null&&oo(r.stateNode.containerInfo),lt(r),null;case 10:return zl(r.type._context),lt(r),null;case 17:return yt(r.type)&&Cs(),lt(r),null;case 19:if(Ae(Oe),f=r.memoizedState,f===null)return lt(r),null;if(a=(r.flags&128)!==0,y=f.rendering,y===null)if(a)vo(f,!1);else{if(Ye!==0||e!==null&&(e.flags&128)!==0)for(e=r.child;e!==null;){if(y=Fs(e),y!==null){for(r.flags|=128,vo(f,!1),a=y.updateQueue,a!==null&&(r.updateQueue=a,r.flags|=4),r.subtreeFlags=0,a=o,o=r.child;o!==null;)f=o,e=a,f.flags&=14680066,y=f.alternate,y===null?(f.childLanes=0,f.lanes=e,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=y.childLanes,f.lanes=y.lanes,f.child=y.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=y.memoizedProps,f.memoizedState=y.memoizedState,f.updateQueue=y.updateQueue,f.type=y.type,e=y.dependencies,f.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),o=o.sibling;return Le(Oe,Oe.current&1|2),r.child}e=e.sibling}f.tail!==null&&$e()>di&&(r.flags|=128,a=!0,vo(f,!1),r.lanes=4194304)}else{if(!a)if(e=Fs(y),e!==null){if(r.flags|=128,a=!0,o=e.updateQueue,o!==null&&(r.updateQueue=o,r.flags|=4),vo(f,!0),f.tail===null&&f.tailMode==="hidden"&&!y.alternate&&!Re)return lt(r),null}else 2*$e()-f.renderingStartTime>di&&o!==1073741824&&(r.flags|=128,a=!0,vo(f,!1),r.lanes=4194304);f.isBackwards?(y.sibling=r.child,r.child=y):(o=f.last,o!==null?o.sibling=y:r.child=y,f.last=y)}return f.tail!==null?(r=f.tail,f.rendering=r,f.tail=r.sibling,f.renderingStartTime=$e(),r.sibling=null,o=Oe.current,Le(Oe,a?o&1|2:o&1),r):(lt(r),null);case 22:case 23:return Eu(),a=r.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(r.flags|=8192),a&&(r.mode&1)!==0?(Et&1073741824)!==0&&(lt(r),r.subtreeFlags&6&&(r.flags|=8192)):lt(r),null;case 24:return null;case 25:return null}throw Error(i(156,r.tag))}function ww(e,r){switch(Fl(r),r.tag){case 1:return yt(r.type)&&Cs(),e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 3:return ai(),Ae(gt),Ae(st),Hl(),e=r.flags,(e&65536)!==0&&(e&128)===0?(r.flags=e&-65537|128,r):null;case 5:return ql(r),null;case 13:if(Ae(Oe),e=r.memoizedState,e!==null&&e.dehydrated!==null){if(r.alternate===null)throw Error(i(340));ri()}return e=r.flags,e&65536?(r.flags=e&-65537|128,r):null;case 19:return Ae(Oe),null;case 4:return ai(),null;case 10:return zl(r.type._context),null;case 22:case 23:return Eu(),null;case 24:return null;default:return null}}var Js=!1,ut=!1,xw=typeof WeakSet=="function"?WeakSet:Set,Z=null;function ui(e,r){var o=e.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(a){Ve(e,r,a)}else o.current=null}function mu(e,r,o){try{o()}catch(a){Ve(e,r,a)}}var _h=!1;function bw(e,r){if(El=cs,e=pf(),vl(e)){if("selectionStart"in e)var o={start:e.selectionStart,end:e.selectionEnd};else e:{o=(o=e.ownerDocument)&&o.defaultView||window;var a=o.getSelection&&o.getSelection();if(a&&a.rangeCount!==0){o=a.anchorNode;var c=a.anchorOffset,f=a.focusNode;a=a.focusOffset;try{o.nodeType,f.nodeType}catch{o=null;break e}var y=0,b=-1,S=-1,M=0,J=0,W=e,$=null;t:for(;;){for(var Q;W!==o||c!==0&&W.nodeType!==3||(b=y+c),W!==f||a!==0&&W.nodeType!==3||(S=y+a),W.nodeType===3&&(y+=W.nodeValue.length),(Q=W.firstChild)!==null;)$=W,W=Q;for(;;){if(W===e)break t;if($===o&&++M===c&&(b=y),$===f&&++J===a&&(S=y),(Q=W.nextSibling)!==null)break;W=$,$=W.parentNode}W=Q}o=b===-1||S===-1?null:{start:b,end:S}}else o=null}o=o||{start:0,end:0}}else o=null;for(Pl={focusedElem:e,selectionRange:o},cs=!1,Z=r;Z!==null;)if(r=Z,e=r.child,(r.subtreeFlags&1028)!==0&&e!==null)e.return=r,Z=e;else for(;Z!==null;){r=Z;try{var te=r.alternate;if((r.flags&1024)!==0)switch(r.tag){case 0:case 11:case 15:break;case 1:if(te!==null){var ne=te.memoizedProps,Je=te.memoizedState,L=r.stateNode,T=L.getSnapshotBeforeUpdate(r.elementType===r.type?ne:Kt(r.type,ne),Je);L.__reactInternalSnapshotBeforeUpdate=T}break;case 3:var A=r.stateNode.containerInfo;A.nodeType===1?A.textContent="":A.nodeType===9&&A.documentElement&&A.removeChild(A.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(K){Ve(r,r.return,K)}if(e=r.sibling,e!==null){e.return=r.return,Z=e;break}Z=r.return}return te=_h,_h=!1,te}function wo(e,r,o){var a=r.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var c=a=a.next;do{if((c.tag&e)===e){var f=c.destroy;c.destroy=void 0,f!==void 0&&mu(r,o,f)}c=c.next}while(c!==a)}}function Ws(e,r){if(r=r.updateQueue,r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var a=o.create;o.destroy=a()}o=o.next}while(o!==r)}}function pu(e){var r=e.ref;if(r!==null){var o=e.stateNode;switch(e.tag){case 5:e=o;break;default:e=o}typeof r=="function"?r(e):r.current=e}}function Ih(e){var r=e.alternate;r!==null&&(e.alternate=null,Ih(r)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(r=e.stateNode,r!==null&&(delete r[nn],delete r[ao],delete r[Dl],delete r[rw],delete r[iw])),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 Bh(e){return e.tag===5||e.tag===3||e.tag===4}function Vh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Bh(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 gu(e,r,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,r?o.nodeType===8?o.parentNode.insertBefore(e,r):o.insertBefore(e,r):(o.nodeType===8?(r=o.parentNode,r.insertBefore(e,o)):(r=o,r.appendChild(e)),o=o._reactRootContainer,o!=null||r.onclick!==null||(r.onclick=Ss));else if(a!==4&&(e=e.child,e!==null))for(gu(e,r,o),e=e.sibling;e!==null;)gu(e,r,o),e=e.sibling}function yu(e,r,o){var a=e.tag;if(a===5||a===6)e=e.stateNode,r?o.insertBefore(e,r):o.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(yu(e,r,o),e=e.sibling;e!==null;)yu(e,r,o),e=e.sibling}var nt=null,Ht=!1;function $n(e,r,o){for(o=o.child;o!==null;)zh(e,r,o),o=o.sibling}function zh(e,r,o){if(tn&&typeof tn.onCommitFiberUnmount=="function")try{tn.onCommitFiberUnmount(is,o)}catch{}switch(o.tag){case 5:ut||ui(o,r);case 6:var a=nt,c=Ht;nt=null,$n(e,r,o),nt=a,Ht=c,nt!==null&&(Ht?(e=nt,o=o.stateNode,e.nodeType===8?e.parentNode.removeChild(o):e.removeChild(o)):nt.removeChild(o.stateNode));break;case 18:nt!==null&&(Ht?(e=nt,o=o.stateNode,e.nodeType===8?Al(e.parentNode,o):e.nodeType===1&&Al(e,o),Yi(e)):Al(nt,o.stateNode));break;case 4:a=nt,c=Ht,nt=o.stateNode.containerInfo,Ht=!0,$n(e,r,o),nt=a,Ht=c;break;case 0:case 11:case 14:case 15:if(!ut&&(a=o.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){c=a=a.next;do{var f=c,y=f.destroy;f=f.tag,y!==void 0&&((f&2)!==0||(f&4)!==0)&&mu(o,r,y),c=c.next}while(c!==a)}$n(e,r,o);break;case 1:if(!ut&&(ui(o,r),a=o.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=o.memoizedProps,a.state=o.memoizedState,a.componentWillUnmount()}catch(b){Ve(o,r,b)}$n(e,r,o);break;case 21:$n(e,r,o);break;case 22:o.mode&1?(ut=(a=ut)||o.memoizedState!==null,$n(e,r,o),ut=a):$n(e,r,o);break;default:$n(e,r,o)}}function Uh(e){var r=e.updateQueue;if(r!==null){e.updateQueue=null;var o=e.stateNode;o===null&&(o=e.stateNode=new xw),r.forEach(function(a){var c=Aw.bind(null,e,a);o.has(a)||(o.add(a),a.then(c,c))})}}function Gt(e,r){var o=r.deletions;if(o!==null)for(var a=0;a<o.length;a++){var c=o[a];try{var f=e,y=r,b=y;e:for(;b!==null;){switch(b.tag){case 5:nt=b.stateNode,Ht=!1;break e;case 3:nt=b.stateNode.containerInfo,Ht=!0;break e;case 4:nt=b.stateNode.containerInfo,Ht=!0;break e}b=b.return}if(nt===null)throw Error(i(160));zh(f,y,c),nt=null,Ht=!1;var S=c.alternate;S!==null&&(S.return=null),c.return=null}catch(M){Ve(c,r,M)}}if(r.subtreeFlags&12854)for(r=r.child;r!==null;)$h(r,e),r=r.sibling}function $h(e,r){var o=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Gt(r,e),sn(e),a&4){try{wo(3,e,e.return),Ws(3,e)}catch(ne){Ve(e,e.return,ne)}try{wo(5,e,e.return)}catch(ne){Ve(e,e.return,ne)}}break;case 1:Gt(r,e),sn(e),a&512&&o!==null&&ui(o,o.return);break;case 5:if(Gt(r,e),sn(e),a&512&&o!==null&&ui(o,o.return),e.flags&32){var c=e.stateNode;try{Bi(c,"")}catch(ne){Ve(e,e.return,ne)}}if(a&4&&(c=e.stateNode,c!=null)){var f=e.memoizedProps,y=o!==null?o.memoizedProps:f,b=e.type,S=e.updateQueue;if(e.updateQueue=null,S!==null)try{b==="input"&&f.type==="radio"&&f.name!=null&&Fi(c,f),Ha(b,y);var M=Ha(b,f);for(y=0;y<S.length;y+=2){var J=S[y],W=S[y+1];J==="style"?Cd(c,W):J==="dangerouslySetInnerHTML"?St(c,W):J==="children"?Bi(c,W):j(c,J,W,M)}switch(b){case"input":Vr(c,f);break;case"textarea":Ii(c,f);break;case"select":var $=c._wrapperState.wasMultiple;c._wrapperState.wasMultiple=!!f.multiple;var Q=f.value;Q!=null?hn(c,!!f.multiple,Q,!1):$!==!!f.multiple&&(f.defaultValue!=null?hn(c,!!f.multiple,f.defaultValue,!0):hn(c,!!f.multiple,f.multiple?[]:"",!1))}c[ao]=f}catch(ne){Ve(e,e.return,ne)}}break;case 6:if(Gt(r,e),sn(e),a&4){if(e.stateNode===null)throw Error(i(162));c=e.stateNode,f=e.memoizedProps;try{c.nodeValue=f}catch(ne){Ve(e,e.return,ne)}}break;case 3:if(Gt(r,e),sn(e),a&4&&o!==null&&o.memoizedState.isDehydrated)try{Yi(r.containerInfo)}catch(ne){Ve(e,e.return,ne)}break;case 4:Gt(r,e),sn(e);break;case 13:Gt(r,e),sn(e),c=e.child,c.flags&8192&&(f=c.memoizedState!==null,c.stateNode.isHidden=f,!f||c.alternate!==null&&c.alternate.memoizedState!==null||(xu=$e())),a&4&&Uh(e);break;case 22:if(J=o!==null&&o.memoizedState!==null,e.mode&1?(ut=(M=ut)||J,Gt(r,e),ut=M):Gt(r,e),sn(e),a&8192){if(M=e.memoizedState!==null,(e.stateNode.isHidden=M)&&!J&&(e.mode&1)!==0)for(Z=e,J=e.child;J!==null;){for(W=Z=J;Z!==null;){switch($=Z,Q=$.child,$.tag){case 0:case 11:case 14:case 15:wo(4,$,$.return);break;case 1:ui($,$.return);var te=$.stateNode;if(typeof te.componentWillUnmount=="function"){a=$,o=$.return;try{r=a,te.props=r.memoizedProps,te.state=r.memoizedState,te.componentWillUnmount()}catch(ne){Ve(a,o,ne)}}break;case 5:ui($,$.return);break;case 22:if($.memoizedState!==null){qh(W);continue}}Q!==null?(Q.return=$,Z=Q):qh(W)}J=J.sibling}e:for(J=null,W=e;;){if(W.tag===5){if(J===null){J=W;try{c=W.stateNode,M?(f=c.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none"):(b=W.stateNode,S=W.memoizedProps.style,y=S!=null&&S.hasOwnProperty("display")?S.display:null,b.style.display=kd("display",y))}catch(ne){Ve(e,e.return,ne)}}}else if(W.tag===6){if(J===null)try{W.stateNode.nodeValue=M?"":W.memoizedProps}catch(ne){Ve(e,e.return,ne)}}else if((W.tag!==22&&W.tag!==23||W.memoizedState===null||W===e)&&W.child!==null){W.child.return=W,W=W.child;continue}if(W===e)break e;for(;W.sibling===null;){if(W.return===null||W.return===e)break e;J===W&&(J=null),W=W.return}J===W&&(J=null),W.sibling.return=W.return,W=W.sibling}}break;case 19:Gt(r,e),sn(e),a&4&&Uh(e);break;case 21:break;default:Gt(r,e),sn(e)}}function sn(e){var r=e.flags;if(r&2){try{e:{for(var o=e.return;o!==null;){if(Bh(o)){var a=o;break e}o=o.return}throw Error(i(160))}switch(a.tag){case 5:var c=a.stateNode;a.flags&32&&(Bi(c,""),a.flags&=-33);var f=Vh(e);yu(e,f,c);break;case 3:case 4:var y=a.stateNode.containerInfo,b=Vh(e);gu(e,b,y);break;default:throw Error(i(161))}}catch(S){Ve(e,e.return,S)}e.flags&=-3}r&4096&&(e.flags&=-4097)}function Sw(e,r,o){Z=e,Jh(e)}function Jh(e,r,o){for(var a=(e.mode&1)!==0;Z!==null;){var c=Z,f=c.child;if(c.tag===22&&a){var y=c.memoizedState!==null||Js;if(!y){var b=c.alternate,S=b!==null&&b.memoizedState!==null||ut;b=Js;var M=ut;if(Js=y,(ut=S)&&!M)for(Z=c;Z!==null;)y=Z,S=y.child,y.tag===22&&y.memoizedState!==null?Kh(c):S!==null?(S.return=y,Z=S):Kh(c);for(;f!==null;)Z=f,Jh(f),f=f.sibling;Z=c,Js=b,ut=M}Wh(e)}else(c.subtreeFlags&8772)!==0&&f!==null?(f.return=c,Z=f):Wh(e)}}function Wh(e){for(;Z!==null;){var r=Z;if((r.flags&8772)!==0){var o=r.alternate;try{if((r.flags&8772)!==0)switch(r.tag){case 0:case 11:case 15:ut||Ws(5,r);break;case 1:var a=r.stateNode;if(r.flags&4&&!ut)if(o===null)a.componentDidMount();else{var c=r.elementType===r.type?o.memoizedProps:Kt(r.type,o.memoizedProps);a.componentDidUpdate(c,o.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var f=r.updateQueue;f!==null&&qf(r,f,a);break;case 3:var y=r.updateQueue;if(y!==null){if(o=null,r.child!==null)switch(r.child.tag){case 5:o=r.child.stateNode;break;case 1:o=r.child.stateNode}qf(r,y,o)}break;case 5:var b=r.stateNode;if(o===null&&r.flags&4){o=b;var S=r.memoizedProps;switch(r.type){case"button":case"input":case"select":case"textarea":S.autoFocus&&o.focus();break;case"img":S.src&&(o.src=S.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(r.memoizedState===null){var M=r.alternate;if(M!==null){var J=M.memoizedState;if(J!==null){var W=J.dehydrated;W!==null&&Yi(W)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}ut||r.flags&512&&pu(r)}catch($){Ve(r,r.return,$)}}if(r===e){Z=null;break}if(o=r.sibling,o!==null){o.return=r.return,Z=o;break}Z=r.return}}function qh(e){for(;Z!==null;){var r=Z;if(r===e){Z=null;break}var o=r.sibling;if(o!==null){o.return=r.return,Z=o;break}Z=r.return}}function Kh(e){for(;Z!==null;){var r=Z;try{switch(r.tag){case 0:case 11:case 15:var o=r.return;try{Ws(4,r)}catch(S){Ve(r,o,S)}break;case 1:var a=r.stateNode;if(typeof a.componentDidMount=="function"){var c=r.return;try{a.componentDidMount()}catch(S){Ve(r,c,S)}}var f=r.return;try{pu(r)}catch(S){Ve(r,f,S)}break;case 5:var y=r.return;try{pu(r)}catch(S){Ve(r,y,S)}}}catch(S){Ve(r,r.return,S)}if(r===e){Z=null;break}var b=r.sibling;if(b!==null){b.return=r.return,Z=b;break}Z=r.return}}var kw=Math.ceil,qs=O.ReactCurrentDispatcher,vu=O.ReactCurrentOwner,_t=O.ReactCurrentBatchConfig,Ce=0,Ze=null,Ke=null,rt=0,Et=0,ci=In(0),Ye=0,xo=null,vr=0,Ks=0,wu=0,bo=null,wt=null,xu=0,di=1/0,bn=null,Hs=!1,bu=null,Jn=null,Gs=!1,Wn=null,Ys=0,So=0,Su=null,Qs=-1,Xs=0;function mt(){return(Ce&6)!==0?$e():Qs!==-1?Qs:Qs=$e()}function qn(e){return(e.mode&1)===0?1:(Ce&2)!==0&&rt!==0?rt&-rt:sw.transition!==null?(Xs===0&&(Xs=Bd()),Xs):(e=Pe,e!==0||(e=window.event,e=e===void 0?16:Hd(e.type)),e)}function Yt(e,r,o,a){if(50<So)throw So=0,Su=null,Error(i(185));Wi(e,o,a),((Ce&2)===0||e!==Ze)&&(e===Ze&&((Ce&2)===0&&(Ks|=o),Ye===4&&Kn(e,rt)),xt(e,a),o===1&&Ce===0&&(r.mode&1)===0&&(di=$e()+500,Es&&Vn()))}function xt(e,r){var o=e.callbackNode;s0(e,r);var a=as(e,e===Ze?rt:0);if(a===0)o!==null&&jd(o),e.callbackNode=null,e.callbackPriority=0;else if(r=a&-a,e.callbackPriority!==r){if(o!=null&&jd(o),r===1)e.tag===0?ow(Gh.bind(null,e)):Of(Gh.bind(null,e)),tw(function(){(Ce&6)===0&&Vn()}),o=null;else{switch(Vd(a)){case 1:o=tl;break;case 4:o=_d;break;case 16:o=rs;break;case 536870912:o=Id;break;default:o=rs}o=rm(o,Hh.bind(null,e))}e.callbackPriority=r,e.callbackNode=o}}function Hh(e,r){if(Qs=-1,Xs=0,(Ce&6)!==0)throw Error(i(327));var o=e.callbackNode;if(fi()&&e.callbackNode!==o)return null;var a=as(e,e===Ze?rt:0);if(a===0)return null;if((a&30)!==0||(a&e.expiredLanes)!==0||r)r=Zs(e,a);else{r=a;var c=Ce;Ce|=2;var f=Qh();(Ze!==e||rt!==r)&&(bn=null,di=$e()+500,xr(e,r));do try{Ew();break}catch(b){Yh(e,b)}while(!0);Vl(),qs.current=f,Ce=c,Ke!==null?r=0:(Ze=null,rt=0,r=Ye)}if(r!==0){if(r===2&&(c=nl(e),c!==0&&(a=c,r=ku(e,c))),r===1)throw o=xo,xr(e,0),Kn(e,a),xt(e,$e()),o;if(r===6)Kn(e,a);else{if(c=e.current.alternate,(a&30)===0&&!Cw(c)&&(r=Zs(e,a),r===2&&(f=nl(e),f!==0&&(a=f,r=ku(e,f))),r===1))throw o=xo,xr(e,0),Kn(e,a),xt(e,$e()),o;switch(e.finishedWork=c,e.finishedLanes=a,r){case 0:case 1:throw Error(i(345));case 2:br(e,wt,bn);break;case 3:if(Kn(e,a),(a&130023424)===a&&(r=xu+500-$e(),10<r)){if(as(e,0)!==0)break;if(c=e.suspendedLanes,(c&a)!==a){mt(),e.pingedLanes|=e.suspendedLanes&c;break}e.timeoutHandle=Nl(br.bind(null,e,wt,bn),r);break}br(e,wt,bn);break;case 4:if(Kn(e,a),(a&4194240)===a)break;for(r=e.eventTimes,c=-1;0<a;){var y=31-Jt(a);f=1<<y,y=r[y],y>c&&(c=y),a&=~f}if(a=c,a=$e()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*kw(a/1960))-a,10<a){e.timeoutHandle=Nl(br.bind(null,e,wt,bn),a);break}br(e,wt,bn);break;case 5:br(e,wt,bn);break;default:throw Error(i(329))}}}return xt(e,$e()),e.callbackNode===o?Hh.bind(null,e):null}function ku(e,r){var o=bo;return e.current.memoizedState.isDehydrated&&(xr(e,r).flags|=256),e=Zs(e,r),e!==2&&(r=wt,wt=o,r!==null&&Cu(r)),e}function Cu(e){wt===null?wt=e:wt.push.apply(wt,e)}function Cw(e){for(var r=e;;){if(r.flags&16384){var o=r.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var a=0;a<o.length;a++){var c=o[a],f=c.getSnapshot;c=c.value;try{if(!Wt(f(),c))return!1}catch{return!1}}}if(o=r.child,r.subtreeFlags&16384&&o!==null)o.return=r,r=o;else{if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function Kn(e,r){for(r&=~wu,r&=~Ks,e.suspendedLanes|=r,e.pingedLanes&=~r,e=e.expirationTimes;0<r;){var o=31-Jt(r),a=1<<o;e[o]=-1,r&=~a}}function Gh(e){if((Ce&6)!==0)throw Error(i(327));fi();var r=as(e,0);if((r&1)===0)return xt(e,$e()),null;var o=Zs(e,r);if(e.tag!==0&&o===2){var a=nl(e);a!==0&&(r=a,o=ku(e,a))}if(o===1)throw o=xo,xr(e,0),Kn(e,r),xt(e,$e()),o;if(o===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=r,br(e,wt,bn),xt(e,$e()),null}function Tu(e,r){var o=Ce;Ce|=1;try{return e(r)}finally{Ce=o,Ce===0&&(di=$e()+500,Es&&Vn())}}function wr(e){Wn!==null&&Wn.tag===0&&(Ce&6)===0&&fi();var r=Ce;Ce|=1;var o=_t.transition,a=Pe;try{if(_t.transition=null,Pe=1,e)return e()}finally{Pe=a,_t.transition=o,Ce=r,(Ce&6)===0&&Vn()}}function Eu(){Et=ci.current,Ae(ci)}function xr(e,r){e.finishedWork=null,e.finishedLanes=0;var o=e.timeoutHandle;if(o!==-1&&(e.timeoutHandle=-1,ew(o)),Ke!==null)for(o=Ke.return;o!==null;){var a=o;switch(Fl(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&Cs();break;case 3:ai(),Ae(gt),Ae(st),Hl();break;case 5:ql(a);break;case 4:ai();break;case 13:Ae(Oe);break;case 19:Ae(Oe);break;case 10:zl(a.type._context);break;case 22:case 23:Eu()}o=o.return}if(Ze=e,Ke=e=Hn(e.current,null),rt=Et=r,Ye=0,xo=null,wu=Ks=vr=0,wt=bo=null,pr!==null){for(r=0;r<pr.length;r++)if(o=pr[r],a=o.interleaved,a!==null){o.interleaved=null;var c=a.next,f=o.pending;if(f!==null){var y=f.next;f.next=c,a.next=y}o.pending=a}pr=null}return e}function Yh(e,r){do{var o=Ke;try{if(Vl(),js.current=Vs,_s){for(var a=Fe.memoizedState;a!==null;){var c=a.queue;c!==null&&(c.pending=null),a=a.next}_s=!1}if(yr=0,Xe=Ge=Fe=null,mo=!1,po=0,vu.current=null,o===null||o.return===null){Ye=1,xo=r,Ke=null;break}e:{var f=e,y=o.return,b=o,S=r;if(r=rt,b.flags|=32768,S!==null&&typeof S=="object"&&typeof S.then=="function"){var M=S,J=b,W=J.tag;if((J.mode&1)===0&&(W===0||W===11||W===15)){var $=J.alternate;$?(J.updateQueue=$.updateQueue,J.memoizedState=$.memoizedState,J.lanes=$.lanes):(J.updateQueue=null,J.memoizedState=null)}var Q=bh(y);if(Q!==null){Q.flags&=-257,Sh(Q,y,b,f,r),Q.mode&1&&xh(f,M,r),r=Q,S=M;var te=r.updateQueue;if(te===null){var ne=new Set;ne.add(S),r.updateQueue=ne}else te.add(S);break e}else{if((r&1)===0){xh(f,M,r),Pu();break e}S=Error(i(426))}}else if(Re&&b.mode&1){var Je=bh(y);if(Je!==null){(Je.flags&65536)===0&&(Je.flags|=256),Sh(Je,y,b,f,r),Il(li(S,b));break e}}f=S=li(S,b),Ye!==4&&(Ye=2),bo===null?bo=[f]:bo.push(f),f=y;do{switch(f.tag){case 3:f.flags|=65536,r&=-r,f.lanes|=r;var L=vh(f,S,r);Wf(f,L);break e;case 1:b=S;var T=f.type,A=f.stateNode;if((f.flags&128)===0&&(typeof T.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&(Jn===null||!Jn.has(A)))){f.flags|=65536,r&=-r,f.lanes|=r;var K=wh(f,b,r);Wf(f,K);break e}}f=f.return}while(f!==null)}Zh(o)}catch(ie){r=ie,Ke===o&&o!==null&&(Ke=o=o.return);continue}break}while(!0)}function Qh(){var e=qs.current;return qs.current=Vs,e===null?Vs:e}function Pu(){(Ye===0||Ye===3||Ye===2)&&(Ye=4),Ze===null||(vr&268435455)===0&&(Ks&268435455)===0||Kn(Ze,rt)}function Zs(e,r){var o=Ce;Ce|=2;var a=Qh();(Ze!==e||rt!==r)&&(bn=null,xr(e,r));do try{Tw();break}catch(c){Yh(e,c)}while(!0);if(Vl(),Ce=o,qs.current=a,Ke!==null)throw Error(i(261));return Ze=null,rt=0,Ye}function Tw(){for(;Ke!==null;)Xh(Ke)}function Ew(){for(;Ke!==null&&!Qv();)Xh(Ke)}function Xh(e){var r=nm(e.alternate,e,Et);e.memoizedProps=e.pendingProps,r===null?Zh(e):Ke=r,vu.current=null}function Zh(e){var r=e;do{var o=r.alternate;if(e=r.return,(r.flags&32768)===0){if(o=vw(o,r,Et),o!==null){Ke=o;return}}else{if(o=ww(o,r),o!==null){o.flags&=32767,Ke=o;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ye=6,Ke=null;return}}if(r=r.sibling,r!==null){Ke=r;return}Ke=r=e}while(r!==null);Ye===0&&(Ye=5)}function br(e,r,o){var a=Pe,c=_t.transition;try{_t.transition=null,Pe=1,Pw(e,r,o,a)}finally{_t.transition=c,Pe=a}return null}function Pw(e,r,o,a){do fi();while(Wn!==null);if((Ce&6)!==0)throw Error(i(327));o=e.finishedWork;var c=e.finishedLanes;if(o===null)return null;if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var f=o.lanes|o.childLanes;if(a0(e,f),e===Ze&&(Ke=Ze=null,rt=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||Gs||(Gs=!0,rm(rs,function(){return fi(),null})),f=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||f){f=_t.transition,_t.transition=null;var y=Pe;Pe=1;var b=Ce;Ce|=4,vu.current=null,bw(e,o),$h(o,e),K0(Pl),cs=!!El,Pl=El=null,e.current=o,Sw(o),Xv(),Ce=b,Pe=y,_t.transition=f}else e.current=o;if(Gs&&(Gs=!1,Wn=e,Ys=c),f=e.pendingLanes,f===0&&(Jn=null),t0(o.stateNode),xt(e,$e()),r!==null)for(a=e.onRecoverableError,o=0;o<r.length;o++)c=r[o],a(c.value,{componentStack:c.stack,digest:c.digest});if(Hs)throw Hs=!1,e=bu,bu=null,e;return(Ys&1)!==0&&e.tag!==0&&fi(),f=e.pendingLanes,(f&1)!==0?e===Su?So++:(So=0,Su=e):So=0,Vn(),null}function fi(){if(Wn!==null){var e=Vd(Ys),r=_t.transition,o=Pe;try{if(_t.transition=null,Pe=16>e?16:e,Wn===null)var a=!1;else{if(e=Wn,Wn=null,Ys=0,(Ce&6)!==0)throw Error(i(331));var c=Ce;for(Ce|=4,Z=e.current;Z!==null;){var f=Z,y=f.child;if((Z.flags&16)!==0){var b=f.deletions;if(b!==null){for(var S=0;S<b.length;S++){var M=b[S];for(Z=M;Z!==null;){var J=Z;switch(J.tag){case 0:case 11:case 15:wo(8,J,f)}var W=J.child;if(W!==null)W.return=J,Z=W;else for(;Z!==null;){J=Z;var $=J.sibling,Q=J.return;if(Ih(J),J===M){Z=null;break}if($!==null){$.return=Q,Z=$;break}Z=Q}}}var te=f.alternate;if(te!==null){var ne=te.child;if(ne!==null){te.child=null;do{var Je=ne.sibling;ne.sibling=null,ne=Je}while(ne!==null)}}Z=f}}if((f.subtreeFlags&2064)!==0&&y!==null)y.return=f,Z=y;else e:for(;Z!==null;){if(f=Z,(f.flags&2048)!==0)switch(f.tag){case 0:case 11:case 15:wo(9,f,f.return)}var L=f.sibling;if(L!==null){L.return=f.return,Z=L;break e}Z=f.return}}var T=e.current;for(Z=T;Z!==null;){y=Z;var A=y.child;if((y.subtreeFlags&2064)!==0&&A!==null)A.return=y,Z=A;else e:for(y=T;Z!==null;){if(b=Z,(b.flags&2048)!==0)try{switch(b.tag){case 0:case 11:case 15:Ws(9,b)}}catch(ie){Ve(b,b.return,ie)}if(b===y){Z=null;break e}var K=b.sibling;if(K!==null){K.return=b.return,Z=K;break e}Z=b.return}}if(Ce=c,Vn(),tn&&typeof tn.onPostCommitFiberRoot=="function")try{tn.onPostCommitFiberRoot(is,e)}catch{}a=!0}return a}finally{Pe=o,_t.transition=r}}return!1}function em(e,r,o){r=li(o,r),r=vh(e,r,1),e=Un(e,r,1),r=mt(),e!==null&&(Wi(e,1,r),xt(e,r))}function Ve(e,r,o){if(e.tag===3)em(e,e,o);else for(;r!==null;){if(r.tag===3){em(r,e,o);break}else if(r.tag===1){var a=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Jn===null||!Jn.has(a))){e=li(o,e),e=wh(r,e,1),r=Un(r,e,1),e=mt(),r!==null&&(Wi(r,1,e),xt(r,e));break}}r=r.return}}function Lw(e,r,o){var a=e.pingCache;a!==null&&a.delete(r),r=mt(),e.pingedLanes|=e.suspendedLanes&o,Ze===e&&(rt&o)===o&&(Ye===4||Ye===3&&(rt&130023424)===rt&&500>
vendor: 4,508 bytes, line 40
40$e()-xu?xr(e,0):wu|=o),xt(e,r)}function tm(e,r){r===0&&((e.mode&1)===0?r=1:(r=ss,ss<<=1,(ss&130023424)===0&&(ss=4194304)));var o=mt();e=vn(e,r),e!==null&&(Wi(e,r,o),xt(e,o))}function Nw(e){var r=e.memoizedState,o=0;r!==null&&(o=r.retryLane),tm(e,o)}function Aw(e,r){var o=0;switch(e.tag){case 13:var a=e.stateNode,c=e.memoizedState;c!==null&&(o=c.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(i(314))}a!==null&&a.delete(r),tm(e,o)}var nm;nm=function(e,r,o){if(e!==null)if(e.memoizedProps!==r.pendingProps||gt.current)vt=!0;else{if((e.lanes&o)===0&&(r.flags&128)===0)return vt=!1,yw(e,r,o);vt=(e.flags&131072)!==0}else vt=!1,Re&&(r.flags&1048576)!==0&&Ff(r,Ls,r.index);switch(r.lanes=0,r.tag){case 2:var a=r.type;$s(e,r),e=r.pendingProps;var c=ei(r,st.current);si(r,o),c=Ql(null,r,a,e,c,o);var f=Xl();return r.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(r.tag=1,r.memoizedState=null,r.updateQueue=null,yt(a)?(f=!0,Ts(r)):f=!1,r.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,Jl(r),c.updater=zs,r.stateNode=c,c._reactInternals=r,iu(r,a,e,o),r=lu(null,r,a,!0,f,o)):(r.tag=0,Re&&f&&Ol(r),ht(null,r,c,o),r=r.child),r;case 16:a=r.elementType;e:{switch($s(e,r),e=r.pendingProps,c=a._init,a=c(a._payload),r.type=a,c=r.tag=Rw(a),e=Kt(a,e),c){case 0:r=au(null,r,a,e,o);break e;case 1:r=Lh(null,r,a,e,o);break e;case 11:r=kh(null,r,a,e,o);break e;case 14:r=Ch(null,r,a,Kt(a.type,e),o);break e}throw Error(i(306,a,""))}return r;case 0:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:Kt(a,c),au(e,r,a,c,o);case 1:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:Kt(a,c),Lh(e,r,a,c,o);case 3:e:{if(Nh(r),e===null)throw Error(i(387));a=r.pendingProps,f=r.memoizedState,c=f.element,Jf(e,r),Os(r,a,null,o);var y=r.memoizedState;if(a=y.element,f.isDehydrated)if(f={element:a,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},r.updateQueue.baseState=f,r.memoizedState=f,r.flags&256){c=li(Error(i(423)),r),r=Ah(e,r,a,o,c);break e}else if(a!==c){c=li(Error(i(424)),r),r=Ah(e,r,a,o,c);break e}else for(Tt=_n(r.stateNode.containerInfo.firstChild),Ct=r,Re=!0,qt=null,o=Uf(r,null,a,o),r.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(ri(),a===c){r=xn(e,r,o);break e}ht(e,r,a,o)}r=r.child}return r;case 5:return Kf(r),e===null&&_l(r),a=r.type,c=r.pendingProps,f=e!==null?e.memoizedProps:null,y=c.children,Ll(a,c)?y=null:f!==null&&Ll(a,f)&&(r.flags|=32),Ph(e,r),ht(e,r,y,o),r.child;case 6:return e===null&&_l(r),null;case 13:return Dh(e,r,o);case 4:return Wl(r,r.stateNode.containerInfo),a=r.pendingProps,e===null?r.child=ii(r,null,a,o):ht(e,r,a,o),r.child;case 11:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:Kt(a,c),kh(e,r,a,c,o);case 7:return ht(e,r,r.pendingProps,o),r.child;case 8:return ht(e,r,r.pendingProps.children,o),r.child;case 12:return ht(e,r,r.pendingProps.children,o),r.child;case 10:e:{if(a=r.type._context,c=r.pendingProps,f=r.memoizedProps,y=c.value,Le(Ds,a._currentValue),a._currentValue=y,f!==null)if(Wt(f.value,y)){if(f.children===c.children&&!gt.current){r=xn(e,r,o);break e}}else for(f=r.child,f!==null&&(f.return=r);f!==null;){var b=f.dependencies;if(b!==null){y=f.child;for(var S=b.firstContext;S!==null;){if(S.context===a){if(f.tag===1){S=wn(-1,o&-o),S.tag=2;var M=f.updateQueue;if(M!==null){M=M.shared;var J=M.pending;J===null?S.next=S:(S.next=J.next,J.next=S),M.pending=S}}f.lanes|=o,S=f.alternate,S!==null&&(S.lanes|=o),Ul(f.return,o,r),b.lanes|=o;break}S=S.next}}else if(f.tag===10)y=f.type===r.type?null:f.child;else if(f.tag===18){if(y=f.return,y===null)throw Error(i(341));y.lanes|=o,b=y.alternate,b!==null&&(b.lanes|=o),Ul(y,o,r),y=f.sibling}else y=f.child;if(y!==null)y.return=f;else for(y=f;y!==null;){if(y===r){y=null;break}if(f=y.sibling,f!==null){f.return=y.return,y=f;break}y=y.return}f=y}ht(e,r,c.children,o),r=r.child}return r;case 9:return c=r.type,a=r.pendingProps.children,si(r,o),c=Ft(c),a=a(c),r.flags|=1,ht(e,r,a,o),r.child;case 14:return a=r.type,c=Kt(a,r.pendingProps),c=Kt(a.type,c),Ch(e,r,a,c,o);case 15:return Th(e,r,r.type,r.pendingProps,o);case 17:return a=r.type,c=r.pendingProps,c=r.elementType===a?c:Kt(a,c),$s(e,r),r.tag=1,yt(a)?(e=!0,Ts(r)):e=!1,si(r,o),gh(r,a,c),iu(r,a,c,o),lu(null,r,a,!0,e,o);case 19:return Mh(e,r,o);case 22:return Eh(e,r,o)}throw Error(i(156,r.tag))};function rm(e,r){return Fd(e,r)}function Dw(e,r,o,a){this.tag=e,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 6,605 bytes, line 40
40ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function It(e,r,o,a){return new Dw(e,r,o,a)}function Lu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Rw(e){if(typeof e=="function")return Lu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qe)return 11;if(e===Ie)return 14}return 2}function Hn(e,r){var o=e.alternate;return o===null?(o=It(e.tag,r,e.key,e.mode),o.elementType=e.elementType,o.type=e.type,o.stateNode=e.stateNode,o.alternate=e,e.alternate=o):(o.pendingProps=r,o.type=e.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=e.flags&14680064,o.childLanes=e.childLanes,o.lanes=e.lanes,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,r=e.dependencies,o.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},o.sibling=e.sibling,o.index=e.index,o.ref=e.ref,o}function ea(e,r,o,a,c,f){var y=2;if(a=e,typeof e=="function")Lu(e)&&(y=1);else if(typeof e=="string")y=5;else e:switch(e){case G:return Sr(o.children,c,f,r);case D:y=8,c|=8;break;case Y:return e=It(12,o,r,c|2),e.elementType=Y,e.lanes=f,e;case _e:return e=It(13,o,r,c),e.elementType=_e,e.lanes=f,e;case Me:return e=It(19,o,r,c),e.elementType=Me,e.lanes=f,e;case de:return ta(o,c,f,r);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case H:y=10;break e;case ge:y=9;break e;case qe:y=11;break e;case Ie:y=14;break e;case Ee:y=16,a=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return r=It(y,o,r,c),r.elementType=e,r.type=a,r.lanes=f,r}function Sr(e,r,o,a){return e=It(7,e,a,r),e.lanes=o,e}function ta(e,r,o,a){return e=It(22,e,a,r),e.elementType=de,e.lanes=o,e.stateNode={isHidden:!1},e}function Nu(e,r,o){return e=It(6,e,null,r),e.lanes=o,e}function Au(e,r,o){return r=It(4,e.children!==null?e.children:[],e.key,r),r.lanes=o,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function Mw(e,r,o,a,c){this.tag=r,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=rl(0),this.expirationTimes=rl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rl(0),this.identifierPrefix=a,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Du(e,r,o,a,c,f,y,b,S){return e=new Mw(e,r,o,b,S),r===1?(r=1,f===!0&&(r|=8)):r=0,f=It(3,null,null,r),e.current=f,f.stateNode=e,f.memoizedState={element:a,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jl(f),e}function Ow(e,r,o){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:I,key:a==null?null:""+a,children:e,containerInfo:r,implementation:o}}function im(e){if(!e)return Bn;e=e._reactInternals;e:{if(cr(e)!==e||e.tag!==1)throw Error(i(170));var r=e;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(yt(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(r!==null);throw Error(i(171))}if(e.tag===1){var o=e.type;if(yt(o))return Rf(e,o,r)}return r}function om(e,r,o,a,c,f,y,b,S){return e=Du(o,a,!0,e,c,f,y,b,S),e.context=im(null),o=e.current,a=mt(),c=qn(o),f=wn(a,c),f.callback=r??null,Un(o,f,c),e.current.lanes=c,Wi(e,c,a),xt(e,a),e}function na(e,r,o,a){var c=r.current,f=mt(),y=qn(c);return o=im(o),r.context===null?r.context=o:r.pendingContext=o,r=wn(f,y),r.payload={element:e},a=a===void 0?null:a,a!==null&&(r.callback=a),e=Un(c,r,y),e!==null&&(Yt(e,c,y,f),Ms(e,c,y)),y}function ra(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 sm(e,r){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var o=e.retryLane;e.retryLane=o!==0&&o<r?o:r}}function Ru(e,r){sm(e,r),(e=e.alternate)&&sm(e,r)}function Fw(){return null}var am=typeof reportError=="function"?reportError:function(e){console.error(e)};function Mu(e){this._internalRoot=e}ia.prototype.render=Mu.prototype.render=function(e){var r=this._internalRoot;if(r===null)throw Error(i(409));na(e,r,null,null)},ia.prototype.unmount=Mu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var r=e.containerInfo;wr(function(){na(null,e,null,null)}),r[mn]=null}};function ia(e){this._internalRoot=e}ia.prototype.unstable_scheduleHydration=function(e){if(e){var r=$d();e={blockedOn:null,target:e,priority:r};for(var o=0;o<On.length&&r!==0&&r<On[o].priority;o++);On.splice(o,0,e),o===0&&qd(e)}};function Ou(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function oa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function lm(){}function jw(e,r,o,a,c){if(c){if(typeof a=="function"){var f=a;a=function(){var M=ra(y);f.call(M)}}var y=om(r,a,e,0,null,!1,!1,"",lm);return e._reactRootContainer=y,e[mn]=y.current,oo(e.nodeType===8?e.parentNode:e),wr(),y}for(;c=e.lastChild;)e.removeChild(c);if(typeof a=="function"){var b=a;a=function(){var M=ra(S);b.call(M)}}var S=Du(e,0,!1,null,null,!1,!1,"",lm);return e._reactRootContainer=S,e[mn]=S.current,oo(e.nodeType===8?e.parentNode:e),wr(function(){na(r,S,o,a)}),S}function sa(e,r,o,a,c){var f=o._reactRootContainer;if(f){var y=f;if(typeof c=="function"){var b=c;c=function(){var S=ra(y);b.call(S)}}na(r,y,e,c)}else y=jw(o,r,e,c,a);return ra(y)}zd=function(e){switch(e.tag){case 3:var r=e.stateNode;if(r.current.memoizedState.isDehydrated){var o=Ji(r.pendingLanes);o!==0&&(il(r,o|1),xt(r,$e()),(Ce&6)===0&&(di=$e()+500,Vn()))}break;case 13:wr(function(){var a=vn(e,1);if(a!==null){var c=mt();Yt(a,e,1,c)}}),Ru(e,1)}},ol=function(e){if(e.tag===13){var r=vn(e,134217728);if(r!==null){var o=mt();Yt(r,e,134217728,o)}Ru(e,134217728)}},Ud=function(e){if(e.tag===13){var r=qn(e),o=vn(e,r);if(o!==null){var a=mt();Yt(o,e,r,a)}Ru(e,r)}},$d=function(){return Pe},Jd=function(e,r){var o=Pe;try{return Pe=e,r()}finally{Pe=o}},Qa=function(e,r,o){switch(r){case"input":if(Vr(e,o),r=o.name,o.type==="radio"&&r!=null){for(o=e;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),r=0;r<o.length;r++){var a=o[r];if(a!==e&&a.form===e.form){var c=ks(a);if(!c)throw Error(i(90));en(a),Vr(a,c)}}}break;
vendor: 4,082 bytes, line 40
40case"textarea":Ii(e,o);break;case"select":r=o.value,r!=null&&hn(e,!!o.multiple,r,!1)}},Ld=Tu,Nd=wr;var _w={usingClientEntryPoint:!1,Events:[lo,Xr,ks,Ed,Pd,Tu]},ko={findFiberByHostInstance:dr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Iw={bundleType:ko.bundleType,version:ko.version,rendererPackageName:ko.rendererPackageName,rendererConfig:ko.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:O.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Md(e),e===null?null:e.stateNode},findFiberByHostInstance:ko.findFiberByHostInstance||Fw,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 aa=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!aa.isDisabled&&aa.supportsFiber)try{is=aa.inject(Iw),tn=aa}catch{}}return bt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_w,bt.createPortal=function(e,r){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ou(r))throw Error(i(200));return Ow(e,r,null,o)},bt.createRoot=function(e,r){if(!Ou(e))throw Error(i(299));var o=!1,a="",c=am;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(c=r.onRecoverableError)),r=Du(e,1,!1,null,null,o,!1,a,c),e[mn]=r.current,oo(e.nodeType===8?e.parentNode:e),new Mu(r)},bt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var r=e._reactInternals;if(r===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=Md(r),e=e===null?null:e.stateNode,e},bt.flushSync=function(e){return wr(e)},bt.hydrate=function(e,r,o){if(!oa(r))throw Error(i(200));return sa(null,e,r,!0,o)},bt.hydrateRoot=function(e,r,o){if(!Ou(e))throw Error(i(405));var a=o!=null&&o.hydratedSources||null,c=!1,f="",y=am;if(o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(f=o.identifierPrefix),o.onRecoverableError!==void 0&&(y=o.onRecoverableError)),r=om(r,null,e,1,o??null,c,!1,f,y),e[mn]=r.current,oo(e),a)for(e=0;e<a.length;e++)o=a[e],c=o._getVersion,c=c(o._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[o,c]:r.mutableSourceEagerHydrationData.push(o,c);return new ia(r)},bt.render=function(e,r,o){if(!oa(r))throw Error(i(200));return sa(null,e,r,!1,o)},bt.unmountComponentAtNode=function(e){if(!oa(e))throw Error(i(40));return e._reactRootContainer?(wr(function(){sa(null,null,e,!1,function(){e._reactRootContainer=null,e[mn]=null})}),!0):!1},bt.unstable_batchedUpdates=Tu,bt.unstable_renderSubtreeIntoContainer=function(e,r,o,a){if(!oa(o))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return sa(e,r,o,!1,a)},bt.version="18.3.1-next-f1338f8080-20240426",bt}var ym;function Gw(){if(ym)return Iu.exports;ym=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),Iu.exports=Hw(),Iu.exports}var vm;function Yw(){if(vm)return ua;vm=1;var t=Gw();return ua.createRoot=t.createRoot,ua.hydrateRoot=t.hydrateRoot,ua}var Qw=Yw();const Xw=kg(Qw),Zw=20,ex=1e6,Tn={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"};let zu=0;function tx(){return zu=(zu+1)%Number.MAX_VALUE,zu.toString()}const Uu=new Map,wm=t=>{if(Uu.has(t))return;const n=setTimeout(()=>{Uu.delete(t),Fo({type:Tn.REMOVE_TOAST,toastId:t})},ex);Uu.set(t,n)},nx=(t,n)=>{switch(n.type){case Tn.ADD_TOAST:return{...t,toasts:[n.toast,...t.toasts].slice(0,Zw)};case Tn.UPDATE_TOAST:return{...t,toasts:t.toasts.map(i=>i.id===n.toast.id?{...i,...n.toast}:i)};case Tn.DISMISS_TOAST:{const{toastId:i}=n;
40return i?wm(i):t.toasts.forEach(s=>{wm(s.id)}),{...t,toasts:t.toasts.map(s=>s.id===i||i===void 0?{...s,open:!1}:s)}}case Tn.REMOVE_TOAST:return n.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(i=>i.id!==n.toastId)}}},ba=[];let Sa={toasts:[]};function Fo(t){Sa=nx(Sa,t),ba.forEach(n=>{n(Sa)})}function rx({...t}){const n=tx(),i=l=>Fo({type:Tn.UPDATE_TOAST,toast:{...l,id:n}}),s=()=>Fo({type:Tn.DISMISS_TOAST,toastId:n});return Fo({type:Tn.ADD_TOAST,toast:{...t,id:n,open:!0,onOpenChange:l=>{l||s()}}}),{id:n,dismiss:s,update:i}}function ix(){const[t,n]=z.useState(Sa);return z.useEffect(()=>(ba.push(n),()=>{const i=ba.indexOf(n);i>-1&&ba.splice(i,1)}),[t]),{...t,toast:rx,dismiss:i=>Fo({type:Tn.DISMISS_TOAST,toastId:i})}}function Cg(t){var n,i,s="";if(typeof t=="string"||typeof t=="number")s+=t;else if(typeof t=="object")if(Array.isArray(t)){var l=t.length;for(n=0;n<l;n++)t[n]&&(i=Cg(t[n]))&&(s&&(s+=" "),s+=i)}else for(i in t)t[i]&&(s&&(s+=" "),s+=i);return s}function Tg(){for(var t,n,i=0,s="",l=arguments.length;i<l;i++)(t=arguments[i])&&(n=Cg(t))&&(s&&(s+=" "),s+=n);return s}const xm=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,bm=Tg,Eg=(t,n)=>i=>{var s;if((n==null?void 0:n.variants)==null)return bm(t,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:l,defaultVariants:u}=n,d=Object.keys(l).map(p=>{const g=i==null?void 0:i[p],v=u==null?void 0:u[p];if(g===null)return null;const x=xm(g)||xm(v);return l[p][x]}),h=i&&Object.entries(i).reduce((p,g)=>{let[v,x]=g;return x===void 0||(p[v]=x),p},{}),m=n==null||(s=n.compoundVariants)===null||s===void 0?void 0:s.reduce((p,g)=>{let{class:v,className:x,...C}=g;return Object.entries(C).every(N=>{let[k,E]=N;return Array.isArray(E)?E.includes({...u,...h}[k]):{...u,...h}[k]===E})?[...p,v,x]:p},[]);return bm(t,d,m,i==null?void 0:i.class,i==null?void 0:i.className)};/** 41 * @license lucide-react v0.475.0 - ISC 42 * 43 * This source code is licensed under the ISC license. 44 * See the LICENSE file in the root directory of this source tree. 45 */const ox=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Pg=(...t)=>t.filter((n,i,s)=>!!n&&n.trim()!==""&&s.indexOf(n)===i).join(" ").trim();/** 46 * @license lucide-react v0.475.0 - ISC 47 * 48 * This source code is licensed under the ISC license. 49 * See the LICENSE file in the root directory of this source tree. 50 */var sx={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 51 * @license lucide-react v0.475.0 - ISC 52 * 53 * This source code is licensed under the ISC license. 54 * See the LICENSE file in the root directory of this source tree. 55 */const ax=z.forwardRef(({color:t="currentColor",size:n=24,strokeWidth:i=2,absoluteStrokeWidth:s,className:l="",children:u,iconNode:d,...h},m)=>z.createElement("svg",{ref:m,...sx,width:n,height:n,stroke:t,strokeWidth:s?Number(i)*24/Number(n):i,className:Pg("lucide",l),...h},[...d.map(([p,g])=>z.createElement(p,g)),...Array.isArray(u)?u:[u]]));/** 56 * @license lucide-react v0.475.0 - ISC 57 * 58 * This source code is licensed under the ISC license. 59 * See the LICENSE file in the root directory of this source tree. 60 */const jr=(t,n)=>{const i=z.forwardRef(({className:s,...l},u)=>z.createElement(ax,{ref:u,iconNode:n,className:Pg(`lucide-${ox(t)}`,s),...l}));return i.displayName=`${t}`,i};/** 61 * @license lucide-react v0.475.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */const lx=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ux=jr("ArrowRight",lx);/** 66 * @license lucide-react v0.475.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */const cx=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],ka=jr("ExternalLink",cx);/** 71 * @license lucide-react v0.475.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */const dx=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Sm=jr("LoaderCircle",dx);/** 76 * @license lucide-react v0.475.0 - ISC 77 * 78 * This source code is licensed under the ISC license. 79 * See the LICENSE file in the root directory of this source tree. 80 */const fx=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],hx=jr("Menu",fx);/** 81 * @license lucide-react v0.475.0 - ISC 82 * 83 * This source code is licensed under the ISC license. 84 * See the LICENSE file in the root directory of this source tree. 85 */const mx=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],px=jr("Search",mx);/** 86 * @license lucide-react v0.475.0 - ISC 87 * 88 * This source code is licensed under the ISC license. 89 * See the LICENSE file in the root directory of this source tree. 90 */const gx=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],yx=jr("Share2",gx);/** 91 * @license lucide-react v0.475.0 - ISC 92 * 93 * This source code is licensed under the ISC license. 94 * See the LICENSE file in the root directory of this source tree. 95 */const vx=[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 2,182 bytes, line 95
95],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Lg=jr("X",vx),wx=(t,n)=>{const i=new Array(t.length+n.length);for(let s=0;s<t.length;s++)i[s]=t[s];for(let s=0;s<n.length;s++)i[t.length+s]=n[s];return i},xx=(t,n)=>({classGroupId:t,validator:n}),Ng=(t=new Map,n=null,i)=>({nextPart:t,validators:n,classGroupId:i}),Na="-",km=[],bx="arbitrary..",Sx=t=>{const n=Cx(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:d=>{if(d.startsWith("[")&&d.endsWith("]"))return kx(d);const h=d.split(Na),m=h[0]===""&&h.length>1?1:0;return Ag(h,m,n)},getConflictingClassGroupIds:(d,h)=>{if(h){const m=s[d],p=i[d];return m?p?wx(p,m):m:p||km}return i[d]||km}}},Ag=(t,n,i)=>{if(t.length-n===0)return i.classGroupId;const l=t[n],u=i.nextPart.get(l);if(u){const p=Ag(t,n+1,u);if(p)return p}const d=i.validators;if(d===null)return;const h=n===0?t.join(Na):t.slice(n).join(Na),m=d.length;for(let p=0;p<m;p++){const g=d[p];if(g.validator(h))return g.classGroupId}},kx=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=t.slice(1,-1),i=n.indexOf(":"),s=n.slice(0,i);return s?bx+s:void 0})(),Cx=t=>{const{theme:n,classGroups:i}=t;return Tx(i,n)},Tx=(t,n)=>{const i=Ng();for(const s in t){const l=t[s];Rc(l,i,s,n)}return i},Rc=(t,n,i,s)=>{const l=t.length;for(let u=0;u<l;u++){const d=t[u];Ex(d,n,i,s)}},Ex=(t,n,i,s)=>{if(typeof t=="string"){Px(t,n,i);return}if(typeof t=="function"){Lx(t,n,i,s);return}Nx(t,n,i,s)},Px=(t,n,i)=>{const s=t===""?n:Dg(n,t);s.classGroupId=i},Lx=(t,n,i,s)=>{if(Ax(t)){Rc(t(s),n,i,s);return}n.validators===null&&(n.validators=[]),n.validators.push(xx(i,t))},Nx=(t,n,i,s)=>{const l=Object.entries(t),u=l.length;for(let d=0;d<u;d++){const[h,m]=l[d];Rc(m,Dg(n,h),i,s)}},Dg=(t,n)=>{let i=t;const s=n.split(Na),l=s.length;for(let u=0;u<l;u++){const d=s[u];let h=i.nextPart.get(d);h||(h=Ng(),i.nextPart.set(d,h)),i=h}return i},Ax=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,Dx=t=>{if(t<1)return{get:()=>{},set:()=>{}};let n=0,i=Object.create(null),s=Object.create(null);const l=(u,d)=>{i[u]=d,n++,n>t&&(n=0,s=i,i=Object.create(null))};return{get(u){let d=i[u];if(d!==void 0)return d;if((d=s[u])!==void 0)return l(u,d),d},set(u,d){u in i?i[u]=d:l(u,d)}}}
vendor: 4,361 bytes, line 95
95,lc="!",Cm=":",Rx=[],Tm=(t,n,i,s,l)=>({modifiers:t,hasImportantModifier:n,baseClassName:i,maybePostfixModifierPosition:s,isExternal:l}),Mx=t=>{const{prefix:n,experimentalParseClassName:i}=t;let s=l=>{const u=[];let d=0,h=0,m=0,p;const g=l.length;for(let k=0;k<g;k++){const E=l[k];if(d===0&&h===0){if(E===Cm){u.push(l.slice(m,k)),m=k+1;continue}if(E==="/"){p=k;continue}}E==="["?d++:E==="]"?d--:E==="("?h++:E===")"&&h--}const v=u.length===0?l:l.slice(m);let x=v,C=!1;v.endsWith(lc)?(x=v.slice(0,-1),C=!0):v.startsWith(lc)&&(x=v.slice(1),C=!0);const N=p&&p>m?p-m:void 0;return Tm(u,C,x,N)};if(n){const l=n+Cm,u=s;s=d=>d.startsWith(l)?u(d.slice(l.length)):Tm(Rx,!1,d,void 0,!0)}if(i){const l=s;s=u=>i({className:u,parseClassName:l})}return s},Ox=t=>{const n=new Map;return t.orderSensitiveModifiers.forEach((i,s)=>{n.set(i,1e6+s)}),i=>{const s=[];let l=[];for(let u=0;u<i.length;u++){const d=i[u],h=d[0]==="[",m=n.has(d);h||m?(l.length>0&&(l.sort(),s.push(...l),l=[]),s.push(d)):l.push(d)}return l.length>0&&(l.sort(),s.push(...l)),s}},Fx=t=>({cache:Dx(t.cacheSize),parseClassName:Mx(t),sortModifiers:Ox(t),postfixLookupClassGroupIds:jx(t),...Sx(t)}),jx=t=>{const n=Object.create(null),i=t.postfixLookupClassGroups;if(i)for(let s=0;s<i.length;s++)n[i[s]]=!0;return n},_x=/\s+/,Ix=(t,n)=>{const{parseClassName:i,getClassGroupId:s,getConflictingClassGroupIds:l,sortModifiers:u,postfixLookupClassGroupIds:d}=n,h=[],m=t.trim().split(_x);let p="";for(let g=m.length-1;g>=0;g-=1){const v=m[g],{isExternal:x,modifiers:C,hasImportantModifier:N,baseClassName:k,maybePostfixModifierPosition:E}=i(v);if(x){p=v+(p.length>0?" "+p:p);continue}let R=!!E,F;if(R){const G=k.substring(0,E);F=s(G);const D=F&&d[F]?s(k):void 0;D&&D!==F&&(F=D,R=!1)}else F=s(k);if(!F){if(!R){p=v+(p.length>0?" "+p:p);continue}if(F=s(k),!F){p=v+(p.length>0?" "+p:p);continue}R=!1}const j=C.length===0?"":C.length===1?C[0]:u(C).join(":"),O=N?j+lc:j,V=O+F;if(h.indexOf(V)>-1)continue;h.push(V);const I=l(F,R);for(let G=0;G<I.length;++G){const D=I[G];h.push(O+D)}p=v+(p.length>0?" "+p:p)}return p},Bx=(...t)=>{let n=0,i,s,l="";for(;n<t.length;)(i=t[n++])&&(s=Rg(i))&&(l&&(l+=" "),l+=s);return l},Rg=t=>{if(typeof t=="string")return t;let n,i="";for(let s=0;s<t.length;s++)t[s]&&(n=Rg(t[s]))&&(i&&(i+=" "),i+=n);return i},Vx=(t,...n)=>{let i,s,l,u;const d=m=>{const p=n.reduce((g,v)=>v(g),t());return i=Fx(p),s=i.cache.get,l=i.cache.set,u=h,h(m)},h=m=>{const p=s(m);if(p)return p;const g=Ix(m,i);return l(m,g),g};return u=d,(...m)=>u(Bx(...m))},zx=[],Qe=t=>{const n=i=>i[t]||zx;return n.isThemeGetter=!0,n},Mg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Og=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ux=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,$x=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Jx=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Wx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,qx=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Kx=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Yn=t=>Ux.test(t),ve=t=>!!t&&!Number.isNaN(Number(t)),an=t=>!!t&&Number.isInteger(Number(t)),$u=t=>t.endsWith("%")&&ve(t.slice(0,-1)),Sn=t=>$x.test(t),Fg=()=>!0,Hx=t=>Jx.test(t)&&!Wx.test(t),Mc=()=>!1,Gx=t=>qx.test(t),Yx=t=>Kx.test(t),Qx=t=>!X(t)&&!ee(t),Xx=t=>t.startsWith("@container")&&(t[10]==="/"&&t[11]!==void 0||t[11]==="s"&&t[16]!==void 0&&t.startsWith("-size/",10)||t[11]==="n"&&t[18]!==void 0&&t.startsWith("-normal/",10)),Zx=t=>lr(t,Ig,Mc),X=t=>Mg.test(t),kr=t=>lr(t,Bg,Hx),Em=t=>lr(t,ab,ve),eb=t=>lr(t,zg,Fg),tb=t=>lr(t,Vg,Mc),Pm=t=>lr(t,jg,Mc),nb=t=>lr(t,_g,Yx),ca=t=>lr(t,Ug,Gx),ee=t=>Og.test(t),To=t=>_r(t,Bg),rb=t=>_r(t,Vg),Lm=t=>_r(t,jg),ib=t=>_r(t,Ig),ob=t=>_r(t,_g),da=t=>_r(t,Ug,!0),sb=t=>_r(t,zg,!0),lr=(t,n,i)=>{const s=Mg.exec(t);return s?s[1]?n(s[1]):i(s[2]):!1},_r=(t,n,i=!1)=>{const s=Og.exec(t);return s?s[1]?n(s[1]):i:!1},jg=t=>t==="position"||t==="percentage",_g=t=>t==="image"||t==="url",Ig=t=>t==="length"||t==="size"||t==="bg-size",Bg=t=>t==="length",ab=t=>t==="number",Vg=t=>t==="family-name",zg=t=>t==="number"||t==="weight",Ug=t=>t==="shadow",lb=()=>{const t=Qe("color"),n=Qe("font"),i=Qe("text"),s=Qe("font-weight"),l=Qe("tracking"),u=Qe("leading"),d=Qe("breakpoint"),h=Qe("container"),m=Qe("spacing"),p=Qe("radius"),g=Qe("shadow"),v=Qe("inset-shadow"),x=Qe("text-shadow"),C=
vendor: 8,440 bytes, line 95
95Qe("drop-shadow"),N=Qe("blur"),k=Qe("perspective"),E=Qe("aspect"),R=Qe("ease"),F=Qe("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],V=()=>[...O(),ee,X],I=()=>["auto","hidden","clip","visible","scroll"],G=()=>["auto","contain","none"],D=()=>[ee,X,m],Y=()=>[Yn,"full","auto",...D()],H=()=>[an,"none","subgrid",ee,X],ge=()=>["auto",{span:["full",an,ee,X]},an,ee,X],qe=()=>[an,"auto",ee,X],_e=()=>["auto","min","max","fr",ee,X],Me=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Ie=()=>["start","end","center","stretch","center-safe","end-safe"],Ee=()=>["auto",...D()],de=()=>[Yn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],q=()=>[Yn,"screen","full","dvw","lvw","svw","min","max","fit",...D()],re=()=>[Yn,"screen","full","lh","dvh","lvh","svh","min","max","fit",...D()],_=()=>[t,ee,X],P=()=>[...O(),Lm,Pm,{position:[ee,X]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],pe=()=>["auto","cover","contain",ib,Zx,{size:[ee,X]}],ye=()=>[$u,To,kr],le=()=>["","none","full",p,ee,X],ue=()=>["",ve,To,kr],ke=()=>["solid","dashed","dotted","double"],Se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],me=()=>[ve,$u,Lm,Pm],He=()=>["","none",N,ee,X],Rt=()=>["none",ve,ee,X],en=()=>["none",ve,ee,X],Ut=()=>[ve,ee,X],$t=()=>[Yn,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Sn],breakpoint:[Sn],color:[Fg],container:[Sn],"drop-shadow":[Sn],ease:["in","out","in-out"],font:[Qx],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Sn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Sn],shadow:[Sn],spacing:["px",ve],text:[Sn],"text-shadow":[Sn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Yn,X,ee,E]}],container:["container"],"container-type":[{"@container":["","normal","size",ee,X]}],"container-named":[Xx],columns:[{columns:[ve,X,ee,h]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:V()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:G()}],"overscroll-x":[{"overscroll-x":G()}],"overscroll-y":[{"overscroll-y":G()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Y()}],"inset-x":[{"inset-x":Y()}],"inset-y":[{"inset-y":Y()}],start:[{"inset-s":Y(),start:Y()}],end:[{"inset-e":Y(),end:Y()}],"inset-bs":[{"inset-bs":Y()}],"inset-be":[{"inset-be":Y()}],top:[{top:Y()}],right:[{right:Y()}],bottom:[{bottom:Y()}],left:[{left:Y()}],visibility:["visible","invisible","collapse"],z:[{z:[an,"auto",ee,X]}],basis:[{basis:[Yn,"full","auto",h,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ve,Yn,"auto","initial","none",X]}],grow:[{grow:["",ve,ee,X]}],shrink:[{shrink:["",ve,ee,X]}],order:[{order:[an,"first","last","none",ee,X]}],"grid-cols":[{"grid-cols":H()}],"col-start-end":[{col:ge()}],"col-start":[{"col-start":qe()}],"col-end":[{"col-end":qe()}],"grid-rows":[{"grid-rows":H()}],"row-start-end":[{row:ge()}],"row-start":[{"row-start":qe()}],"row-end":[{"row-end":qe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":_e()}],"auto-rows":[{"auto-rows":_e()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...Me(),"normal"]}],"justify-items":[{"justify-items":[...Ie(),"normal"]}],"justify-self":[{"justify-self":["auto",...Ie()]}],"align-content":[{content:["normal",...Me()]}],"align-items":[{items:[...Ie(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Ie(),{baseline:["","last"]}]}],"place-content":[{"place-content":Me()}],"place-items":[{"place-items":[...Ie(),"baseline"]}],"place-self":[{"place-self":["auto",...Ie()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pbs:[{pbs:D()}],pbe:[{pbe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:Ee()}],mx:[{mx:Ee()}],my:[{my:Ee()}],ms:[{ms:Ee()}],me:[{me:Ee()}],mbs:[{mbs:Ee()}],mbe:[{mbe:Ee()}],mt:[{mt:Ee()}],mr:[{mr:Ee()}],mb:[{mb:Ee()}],ml:[{ml:Ee()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"space-y-reverse":["space-y-reverse"],size:[{size:de()}],"inline-size":[{inline:["auto",...q()]}],"min-inline-size":[{"min-inline":["auto",...q()]}],"max-inline-size":[{"max-inline":["none",...q()]}],"block-size":[{block:["auto",...re()]}],"min-block-size":[{"min-block":["auto",...re()]}],"max-block-size":[{"max-block":["none",...re()]}],w:[{w:[h,"screen",...de()]}],"min-w":[{"min-w":[h,"screen","none",...de()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[d]},...de()]}],h:[{h:["screen","lh",...de()]}],"min-h":[{"min-h":["screen","lh","none",...de()]}],"max-h":[{"max-h":["screen","lh",...de()]}],"font-size":[{text:["base",i,To,kr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,sb,eb]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",$u,X]}],"font-family":[{font:[rb,tb,n]}],"font-features":[{"font-features":[X]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,ee,X]}],"line-clamp":[{"line-clamp":[ve,"none",ee,Em]}],leading:[{leading:[u,...D()]}],"list-image":[{"list-image":["none",ee,X]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ee,X]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:_()}],"text-color":[{text:_()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ke(),"wavy"]}],"text-decoration-thickness":[{decoration:[ve,"from-font","auto",ee,kr]}],"text-decoration-color":[{decoration:_()}],"underline-offset":[{"underline-offset":[ve,"auto",ee,X]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"tab-size":[{tab:[an,ee,X]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ee,X]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ee,X]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:P()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:pe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},an,ee,X],radial:["",ee,X],conic:[an,ee,X]}
vendor: 9,675 bytes, line 95
95,ob,nb]}],"bg-color":[{bg:_()}],"gradient-from-pos":[{from:ye()}],"gradient-via-pos":[{via:ye()}],"gradient-to-pos":[{to:ye()}],"gradient-from":[{from:_()}],"gradient-via":[{via:_()}],"gradient-to":[{to:_()}],rounded:[{rounded:le()}],"rounded-s":[{"rounded-s":le()}],"rounded-e":[{"rounded-e":le()}],"rounded-t":[{"rounded-t":le()}],"rounded-r":[{"rounded-r":le()}],"rounded-b":[{"rounded-b":le()}],"rounded-l":[{"rounded-l":le()}],"rounded-ss":[{"rounded-ss":le()}],"rounded-se":[{"rounded-se":le()}],"rounded-ee":[{"rounded-ee":le()}],"rounded-es":[{"rounded-es":le()}],"rounded-tl":[{"rounded-tl":le()}],"rounded-tr":[{"rounded-tr":le()}],"rounded-br":[{"rounded-br":le()}],"rounded-bl":[{"rounded-bl":le()}],"border-w":[{border:ue()}],"border-w-x":[{"border-x":ue()}],"border-w-y":[{"border-y":ue()}],"border-w-s":[{"border-s":ue()}],"border-w-e":[{"border-e":ue()}],"border-w-bs":[{"border-bs":ue()}],"border-w-be":[{"border-be":ue()}],"border-w-t":[{"border-t":ue()}],"border-w-r":[{"border-r":ue()}],"border-w-b":[{"border-b":ue()}],"border-w-l":[{"border-l":ue()}],"divide-x":[{"divide-x":ue()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ue()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ke(),"hidden","none"]}],"divide-style":[{divide:[...ke(),"hidden","none"]}],"border-color":[{border:_()}],"border-color-x":[{"border-x":_()}],"border-color-y":[{"border-y":_()}],"border-color-s":[{"border-s":_()}],"border-color-e":[{"border-e":_()}],"border-color-bs":[{"border-bs":_()}],"border-color-be":[{"border-be":_()}],"border-color-t":[{"border-t":_()}],"border-color-r":[{"border-r":_()}],"border-color-b":[{"border-b":_()}],"border-color-l":[{"border-l":_()}],"divide-color":[{divide:_()}],"outline-style":[{outline:[...ke(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ve,ee,X]}],"outline-w":[{outline:["",ve,To,kr]}],"outline-color":[{outline:_()}],shadow:[{shadow:["","none",g,da,ca]}],"shadow-color":[{shadow:_()}],"inset-shadow":[{"inset-shadow":["none",v,da,ca]}],"inset-shadow-color":[{"inset-shadow":_()}],"ring-w":[{ring:ue()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:_()}],"ring-offset-w":[{"ring-offset":[ve,kr]}],"ring-offset-color":[{"ring-offset":_()}],"inset-ring-w":[{"inset-ring":ue()}],"inset-ring-color":[{"inset-ring":_()}],"text-shadow":[{"text-shadow":["none",x,da,ca]}],"text-shadow-color":[{"text-shadow":_()}],opacity:[{opacity:[ve,ee,X]}],"mix-blend":[{"mix-blend":[...Se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Se()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ve]}],"mask-image-linear-from-pos":[{"mask-linear-from":me()}],"mask-image-linear-to-pos":[{"mask-linear-to":me()}],"mask-image-linear-from-color":[{"mask-linear-from":_()}],"mask-image-linear-to-color":[{"mask-linear-to":_()}],"mask-image-t-from-pos":[{"mask-t-from":me()}],"mask-image-t-to-pos":[{"mask-t-to":me()}],"mask-image-t-from-color":[{"mask-t-from":_()}],"mask-image-t-to-color":[{"mask-t-to":_()}],"mask-image-r-from-pos":[{"mask-r-from":me()}],"mask-image-r-to-pos":[{"mask-r-to":me()}],"mask-image-r-from-color":[{"mask-r-from":_()}],"mask-image-r-to-color":[{"mask-r-to":_()}],"mask-image-b-from-pos":[{"mask-b-from":me()}],"mask-image-b-to-pos":[{"mask-b-to":me()}],"mask-image-b-from-color":[{"mask-b-from":_()}],"mask-image-b-to-color":[{"mask-b-to":_()}],"mask-image-l-from-pos":[{"mask-l-from":me()}],"mask-image-l-to-pos":[{"mask-l-to":me()}],"mask-image-l-from-color":[{"mask-l-from":_()}],"mask-image-l-to-color":[{"mask-l-to":_()}],"mask-image-x-from-pos":[{"mask-x-from":me()}],"mask-image-x-to-pos":[{"mask-x-to":me()}],"mask-image-x-from-color":[{"mask-x-from":_()}],"mask-image-x-to-color":[{"mask-x-to":_()}],"mask-image-y-from-pos":[{"mask-y-from":me()}],"mask-image-y-to-pos":[{"mask-y-to":me()}],"mask-image-y-from-color":[{"mask-y-from":_()}],"mask-image-y-to-color":[{"mask-y-to":_()}],"mask-image-radial":[{"mask-radial":[ee,X]}],"mask-image-radial-from-pos":[{"mask-radial-from":me()}],"mask-image-radial-to-pos":[{"mask-radial-to":me()}],"mask-image-radial-from-color":[{"mask-radial-from":_()}],"mask-image-radial-to-color":[{"mask-radial-to":_()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[ve]}],"mask-image-conic-from-pos":[{"mask-conic-from":me()}],"mask-image-conic-to-pos":[{"mask-conic-to":me()}],"mask-image-conic-from-color":[{"mask-conic-from":_()}],"mask-image-conic-to-color":[{"mask-conic-to":_()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:P()}],"mask-repeat":[{mask:U()}],"mask-size":[{mask:pe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ee,X]}],filter:[{filter:["","none",ee,X]}],blur:[{blur:He()}],brightness:[{brightness:[ve,ee,X]}],contrast:[{contrast:[ve,ee,X]}],"drop-shadow":[{"drop-shadow":["","none",C,da,ca]}],"drop-shadow-color":[{"drop-shadow":_()}],grayscale:[{grayscale:["",ve,ee,X]}],"hue-rotate":[{"hue-rotate":[ve,ee,X]}],invert:[{invert:["",ve,ee,X]}],saturate:[{saturate:[ve,ee,X]}],sepia:[{sepia:["",ve,ee,X]}],"backdrop-filter":[{"backdrop-filter":["","none",ee,X]}],"backdrop-blur":[{"backdrop-blur":He()}],"backdrop-brightness":[{"backdrop-brightness":[ve,ee,X]}],"backdrop-contrast":[{"backdrop-contrast":[ve,ee,X]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ve,ee,X]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ve,ee,X]}],"backdrop-invert":[{"backdrop-invert":["",ve,ee,X]}],"backdrop-opacity":[{"backdrop-opacity":[ve,ee,X]}],"backdrop-saturate":[{"backdrop-saturate":[ve,ee,X]}],"backdrop-sepia":[{"backdrop-sepia":["",ve,ee,X]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":D()}],"border-spacing-x":[{"border-spacing-x":D()}],"border-spacing-y":[{"border-spacing-y":D()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ee,X]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ve,"initial",ee,X]}],ease:[{ease:["linear","initial",R,ee,X]}],delay:[{delay:[ve,ee,X]}],animate:[{animate:["none",F,ee,X]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,ee,X]}],"perspective-origin":[{"perspective-origin":V()}],rotate:[{rotate:Rt()}],"rotate-x":[{"rotate-x":Rt()}],"rotate-y":[{"rotate-y":Rt()}],"rotate-z":[{"rotate-z":Rt()}],scale:[{scale:en()}],"scale-x":[{"scale-x":en()}],"scale-y":[{"scale-y":en()}],"scale-z":[{"scale-z":en()}],"scale-3d":["scale-3d"],skew:[{skew:Ut()}],"skew-x":[{"skew-x":Ut()}],"skew-y":[{"skew-y":Ut()}],transform:[{transform:[ee,X,"","none","gpu","cpu"]}],"transform-origin":[{origin:V()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:$t()}],"translate-x":[{"translate-x":$t()}],"translate-y":[{"translate-y":$t()}],"translate-z":[{"translate-z":$t()}],"translate-none":["translate-none"],zoom:[{zoom:[an,ee,X]}],accent:[{accent:_()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:_()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ee,X]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":_()}],"scrollbar-track-color":[{"scrollbar-track":_()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mbs":[{"scroll-mbs":D()}],"scroll-mbe":[{"scroll-mbe":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pbs":[{"scroll-pbs":D()}],"scroll-pbe":[{"scroll-pbe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ee,X]}],fill:[{fill:["none",..._()]}],"stroke-w":[{stroke:[ve,To,kr,Em]}],stroke:[{stroke:["none",..._()]}
95],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ub=Vx(lb);function Ir(...t){return ub(Tg(t))}const $g=z.forwardRef(({...t},n)=>w.jsx("div",{ref:n,className:"fixed left-0 right-0 top-0 z-[100] flex max-h-screen w-auto flex-col-reverse p-4 sm:bottom-0 sm:left-auto sm:right-0 sm:top-auto sm:w-full sm:flex-col md:max-w-[420px]",...t}));$g.displayName="ToastProvider";const Jg=z.forwardRef(({...t},n)=>w.jsx("div",{ref:n,className:"fixed left-0 right-0 top-0 z-[100] flex max-h-screen w-auto flex-col-reverse p-4 sm:bottom-0 sm:left-auto sm:right-0 sm:top-auto sm:w-full sm:flex-col md:max-w-[420px]",...t}));Jg.displayName="ToastViewport";const cb=Eg("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Wg=z.forwardRef(({className:t,variant:n,...i},s)=>w.jsx("div",{ref:s,className:Ir(cb({variant:n}),t),...i}));Wg.displayName="Toast";const db=z.forwardRef(({className:t,...n},i)=>w.jsx("div",{ref:i,className:Ir("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",t),...n}));db.displayName="ToastAction";const qg=z.forwardRef(({className:t,...n},i)=>w.jsx("button",{ref:i,className:Ir("absolute right-2 top-2 rounded-md p-1 text-foreground
95/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",t),"toast-close":"",...n,children:w.jsx(Lg,{className:"h-4 w-4"})}));qg.displayName="ToastClose";const Kg=z.forwardRef(({className:t,...n},i)=>w.jsx("div",{ref:i,className:Ir("text-sm font-semibold",t),...n}));Kg.displayName="ToastTitle";const Hg=z.forwardRef(({className:t,...n},i)=>w.jsx("div",{ref:i,className:Ir("text-sm opacity-90",t),...n}));Hg.displayName="ToastDescription";function fb(){const{toasts:t}=ix();return w.jsxs($g,{children:[t.map(function({id:n,title:i,description:s,action:l,...u}){return w.jsxs(Wg,{...u,children:[w.jsxs("div",{className:"grid gap-1",children:[i&&w.jsx(Kg,{children:i}),s&&w.jsx(Hg,{children:s})]}),l,w.jsx(qg,{})]},n)}),w.jsx(Jg,{})]})}var Ba=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Nr,er,wi,mg,hb=(mg=class extends Ba{constructor(){super();be(this,Nr);be(this,er);be(this,wi);he(this,wi,n=>
95{if(typeof window<"u"&&window.addEventListener){const i=()=>n();return window.addEventListener("visibilitychange",i,!1),()=>{window.removeEventListener("visibilitychange",i)}}})}onSubscribe(){B(this,er)||this.setEventListener(B(this,wi))}onUnsubscribe(){var n;this.hasListeners()||((n=B(this,er))==null||n.call(this),he(this,er,void 0))}setEventListener(n){var i;he(this,wi,n),(i=B(this,er))==null||i.call(this),he(this,er,n(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(n){B(this,Nr)!==n&&(he(this,Nr,n),this.onFocus())}onFocus(){const n=this.isFocused();this.listeners.forEach(i=>{i(n)})}isFocused(){var n;return typeof B(this,Nr)=="boolean"?B(this,Nr):((n=globalThis.document)==null?void 0:n.visibilityState)!=="hidden"}},Nr=new WeakMap,er=new WeakMap,wi=new WeakMap,mg),Gg=new hb,mb={setTimeout:(t,n)=>setTimeout(t,n),clearTimeout:t=>clearTimeout(t),setInterval:(t,n)=>setInterval(t,n),clearInterval:t=>clearInterval(t)},tr,Ac,pg,pb=(pg=class{constructor(){be(this,tr,mb);be(this,Ac,!1)}setTimeoutProvider(t){he(this,tr,t)}setTimeout(t,n){return B(this,tr).setTimeout(t,n)}clearTimeout(t){B(this,tr).clearTimeout(t)}setInterval(t,n){return B(this,tr).setInterval(t,n)}clearInterval(t){B(this,tr).clearInterval(t)}},tr=new WeakMap,Ac=new WeakMap,pg),uc=new pb;function gb(t){setTimeout(t,0)}var yb=typeof window>"u"||"Deno"in globalThis;function Xt(){}function vb(t,n){return typeof t=="function"?t(n):t}function wb(t){return typeof t=="number"&&t>=0&&t!==1/0}function xb(t,n){return Math.max(t+(n||0)-Date.now(),0)}function cc(t,n){return typeof t=="function"?t(n):t}function bb(t,n){return typeof t=="function"?t(n):t}function Nm(t,n){const{type:i="all",exact:s,fetchStatus:l,predicate:u,queryKey:d,stale:h}=t;if(d){if(s){if(n.queryHash!==Oc(d,n.options))return!1}else if(!Uo(n.queryKey,d))return!1}if(i!=="all"){const m=n.isActive();if(i==="active"&&!m||i==="inactive"&&m)return!1}return!(typeof h=="boolean"&&n.isStale()!==h||l&&l!==n.state.fetchStatus||u&&!u(n))}function Am(t,n){const{exact:i,status:s,predicate:l,mutationKey:u}=t;if(u){if(!n.options.mutationKey)return!1;if(i){if(zo(n.options.mutationKey)!==zo(u))return!1}else if(!Uo(n.options.mutationKey,u))return!1}return!(s&&n.state.status!==s||l&&!l(n))}function Oc(t,n){return((n==null?void 0:n.queryKeyHashFn)||zo)(t)}function zo(t){return JSON.stringify(t,(n,i)=>dc(i)?Object.keys(i).sort().reduce((s,l)=>(s[l]=i[l],s),{}):i)}function Uo(t,n){return t===n?!0:typeof t!=typeof n?!1:t&&n&&typeof t=="object"&&typeof n=="object"?Object.keys(n).every(i=>Uo(t[i],n[i])):!1}var Sb=Object.prototype.hasOwnProperty;function Yg(t,n,i=0){if(t===n)return t;if(i>500)return n;const s=Dm(t)&&Dm(n);if(!s&&!(dc(t)&&dc(n)))return n;const u=(s?t:Object.keys(t)).length,d=s?n:Object.keys(n),h=d.length,m=s?new Array(h):{};let p=0;for(let g=0;g<h;g++){const v=s?g:d[g],x=t[v],C=n[v];if(x===C){m[v]=x,(s?g<u:Sb.call(t,v))&&p++;continue}if(x===null||C===null||typeof x!="object"||typeof C!="object"){m[v]=C;continue}const N=Yg(x,C,i+1);m[v]=N,N===x&&p++}return u===h&&p===u?t:m}function Dm(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function dc(t){if(!Rm(t))return!1;const n=t.constructor;if(n===void 0)return!0;const i=n.prototype;return!(!Rm(i)||!i.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function Rm(t){return Object.prototype.toString.call(t)==="[object Object]"}function kb(t){return new Promise(n=>{uc.setTimeout(n,t)})}function Cb(t,n,i){return typeof i.structuralSharing=="function"?i.structuralSharing(t,n):i.structuralSharing!==!1?Yg(t,n):n}function Tb(t,n,i=0){const s=[...t,n];return i&&s.length>i?s.slice(1):s}function Eb(t,n,i=0){const s=[n,...t];return i&&s.length>i?s.slice(0,-1):s}var Fc=Symbol();function Qg(t,n){return!t.queryFn&&(n!=null&&n.initialPromise)?()=>n.initialPromise:!t.queryFn||t.queryFn===Fc?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}function Pb(t,n,i){let s=!1,l;return Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(l??(l=n()),s||(s=!0,l.aborted?i():l.addEventListener("abort",i,{once:!0})),l)}),t}var Xg=(()=>{let t=()=>yb;return{isServer(){return t()},setIsServer(n){t=n}}})();
95function Lb(){let t,n;const i=new Promise((l,u)=>{t=l,n=u});i.status="pending",i.catch(()=>{});function s(l){Object.assign(i,l),delete i.resolve,delete i.reject}return i.resolve=l=>{s({status:"fulfilled",value:l}),t(l)},i.reject=l=>{s({status:"rejected",reason:l}),n(l)},i}var Nb=gb;function Ab(){let t=[],n=0,i=h=>{h()},s=h=>{h()},l=Nb;const u=h=>{n?t.push(h):l(()=>{i(h)})},d=()=>{const h=t;t=[],h.length&&l(()=>{s(()=>{h.forEach(m=>{i(m)})})})};return{batch:h=>{let m;n++;try{m=h()}finally{n--,n||d()}return m},batchCalls:h=>(...m)=>{u(()=>{h(...m)})},schedule:u,setNotifyFunction:h=>{i=h},setBatchNotifyFunction:h=>{s=h},setScheduler:h=>{l=h}}}var pt=Ab(),xi,nr,bi,gg,Db=(gg=class extends Ba{constructor(){super();be(this,xi,!0);be(this,nr);be(this,bi);he(this,bi,n=>{if(typeof window<"u"&&window.addEventListener){const i=()=>n(!0),s=()=>n(!1);return window.addEventListener("online",i,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",s)}}})}onSubscribe(){B(this,nr)||this.setEventListener(B(this,bi))}onUnsubscribe(){var n;this.hasListeners()||((n=B(this,nr))==null||n.call(this),he(this,nr,void 0))}setEventListener(n){var i;he(this,bi,n),(i=B(this,nr))==null||i.call(this),he(this,nr,n(this.setOnline.bind(this)))}setOnline(n){B(this,xi)!==n&&(he(this,xi,n),this.listeners.forEach(s=>{s(n)}))}isOnline(){return B(this,xi)}},xi=new WeakMap,nr=new WeakMap,bi=new WeakMap,gg),Aa=new Db;function Rb(t){return Math.min(1e3*2**t,3e4)}function Zg(t){return(t??"online")==="online"?Aa.isOnline():!0}var fc=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function ey(t){let n=!1,i=0,s;const l=Lb(),u=()=>l.status!=="pending",d=k=>{var E;if(!u()){const R=new fc(k);x(R),(E=t.onCancel)==null||E.call(t,R)}},h=()=>{n=!0},m=()=>{n=!1},p=()=>Gg.isFocused()&&(t.networkMode==="always"||Aa.isOnline())&&t.canRun(),g=()=>Zg(t.networkMode)&&t.canRun(),v=k=>{u()||(s==null||s(),l.resolve(k))},x=k=>{u()||(s==null||s(),l.reject(k))},C=()=>new Promise(k=>{var E;s=R=>{(u()||p())&&k(R)},(E=t.onPause)==null||E.call(t)}).then(()=>{var k;s=void 0,u()||(k=t.onContinue)==null||k.call(t)}),N=()=>{if(u())return;let k;const E=i===0?t.initialPromise:void 0;try{k=E??t.fn()}catch(R){k=Promise.reject(R)}Promise.resolve(k).then(v).catch(R=>{var I;if(u())return;const F=t.retry??(Xg.isServer()?0:3),j=t.retryDelay??Rb,O=typeof j=="function"?j(i,R):j,V=F===!0||typeof F=="number"&&i<F||typeof F=="function"&&F(i,R);if(n||!V){x(R);return}i++,(I=t.onFail)==null||I.call(t,i,R),kb(O).then(()=>p()?void 0:C()).then(()=>{n?x(R):N()})})};return{promise:l,status:()=>l.status,cancel:d,continue:()=>(s==null||s(),l),cancelRetry:h,continueRetry:m,canStart:g,start:()=>(g()?N():C().then(N),l)}}var Ar,yg,ty=(yg=class{constructor(){be(this,Ar)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),wb(this.gcTime)&&he(this,Ar,uc.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Xg.isServer()?1/0:300*1e3))}clearGcTimeout(){B(this,Ar)!==void 0&&(uc.clearTimeout(B(this,Ar)),he(this,Ar,void 0))}},Ar=new WeakMap,yg);function Mb(t){return{onFetch:(n,i)=>{var g,v,x,C,N;const s=n.options,l=(x=(v=(g=n.fetchOptions)==null?void 0:g.meta)==null?void 0:v.fetchMore)==null?void 0:x.direction,u=((C=n.state.data)==null?void 0:C.pages)||[],d=((N=n.state.data)==null?void 0:N.pageParams)||[];let h={pages:[],pageParams:[]},m=0;const p=async()=>{let k=!1;const E=j=>{Pb(j,()=>n.signal,()=>k=!0)},R=Qg(n.options,n.fetchOptions),F=async(j,O,V)=>{if(k)return Promise.reject(n.signal.reason);if(O==null&&j.pages.length)return Promise.resolve(j);const G=(()=>{const ge={client:n.client,queryKey:n.queryKey,pageParam:O,direction:V?"backward":"forward",meta:n.options.meta};return E(ge),ge})(),D=await R(G),{maxPages:Y}=n.options,H=V?Eb:Tb;return{pages:H(j.pages,D,Y),pageParams:H(j.pageParams,O,Y)}};if(l&&u.length){const j=l==="backward",O=j?Ob:Mm,V={pages:u,pageParams:d},I=O(s,V);h=await F(V,I,j)}else{const j=t??u.length;do{const O=m===0?d[0]??s.initialPageParam:Mm(s,h);if(m>0&&O==null)break;h=await F(h,O),m++}while(m<j)}return h};n.options.persister?n.fetchFn=()=>{var k,E;
95return(E=(k=n.options).persister)==null?void 0:E.call(k,p,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},i)}:n.fetchFn=p}}}function Mm(t,{pages:n,pageParams:i}){const s=n.length-1;return n.length>0?t.getNextPageParam(n[s],n,i[s],i):void 0}function Ob(t,{pages:n,pageParams:i}){var s;return n.length>0?(s=t.getPreviousPageParam)==null?void 0:s.call(t,n[0],n,i[0],i):void 0}var Si,Dr,ki,zt,Rr,tt,Ho,Mr,Lt,ny,kn,vg,Fb=(vg=class extends ty{constructor(n){super();be(this,Lt);be(this,Si);be(this,Dr);be(this,ki);be(this,zt);be(this,Rr);be(this,tt);be(this,Ho);be(this,Mr);he(this,Mr,!1),he(this,Ho,n.defaultOptions),this.setOptions(n.options),this.observers=[],he(this,Rr,n.client),he(this,zt,B(this,Rr).getQueryCache()),this.queryKey=n.queryKey,this.queryHash=n.queryHash,he(this,Dr,Fm(this.options)),this.state=n.state??B(this,Dr),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return B(this,Si)}get promise(){var n;return(n=B(this,tt))==null?void 0:n.promise}setOptions(n){if(this.options={...B(this,Ho),...n},n!=null&&n._type&&he(this,Si,n._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const i=Fm(this.options);i.data!==void 0&&(this.setState(Om(i.data,i.dataUpdatedAt)),he(this,Dr,i))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&B(this,zt).remove(this)}setData(n,i){const s=Cb(this.state.data,n,this.options);return it(this,Lt,kn).call(this,{data:s,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),s}setState(n){it(this,Lt,kn).call(this,{type:"setState",state:n})}cancel(n){var s,l;const i=(s=B(this,tt))==null?void 0:s.promise;return(l=B(this,tt))==null||l.cancel(n),i?i.then(Xt).catch(Xt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return B(this,Dr)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(n=>bb(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Fc||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(n=>cc(n.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(n=>n.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(n=0){return this.state.data===void 0?!0:n==="static"?!1:this.state.isInvalidated?!0:!xb(this.state.dataUpdatedAt,n)}onFocus(){var i;const n=this.observers.find(s=>s.shouldFetchOnWindowFocus());n==null||n.refetch({cancelRefetch:!1}),(i=B(this,tt))==null||i.continue()}onOnline(){var i;const n=this.observers.find(s=>s.shouldFetchOnReconnect());n==null||n.refetch({cancelRefetch:!1}),(i=B(this,tt))==null||i.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),B(this,zt).notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(i=>i!==n),this.observers.length||(B(this,tt)&&(B(this,Mr)||it(this,Lt,ny).call(this)?B(this,tt).cancel({revert:!0}):B(this,tt).cancelRetry()),this.scheduleGc()),B(this,zt).notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||it(this,Lt,kn).call(this,{type:"invalidate"})}async fetch(n,i){var p,g,v,x,C,N,k,E,R,F,j;if(this.state.fetchStatus!=="idle"&&((p=B(this,tt))==null?void 0:p.status())!=="rejected"){if(this.state.data!==void 0&&(i!=null&&i.cancelRefetch))this.cancel({silent:!0});else if(B(this,tt))return B(this,tt).continueRetry(),B(this,tt).promise}if(n&&this.setOptions(n),!this.options.queryFn){const O=this.observers.find(V=>V.options.queryFn);O&&this.setOptions(O.options)}const s=new AbortController,l=O=>{Object.defineProperty(O,"signal",{enumerable:!0,get:()=>(he(this,Mr,!0),s.signal)})},u=()=>{const O=Qg(this.options,i),I=(()=>{const G={client:B(this,Rr),queryKey:this.queryKey,meta:this.meta};return l(G),G})();return he(this,Mr,!1),this.options.persister?this.options.persister(O,I,this):O(I)},h=(()=>{const O={fetchOptions:i,options:this.options,queryKey:this.queryKey,client:B(this,Rr),state:this.state,fetchFn:u};return l(O),O})(),m=B(this,Si)==="infinite"?Mb(this.options.pages):this.options.behavior;m==null||m.onFetch(h,this),he(this,ki,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((g=h.fetchOptions)==null?void 0:g.meta))&&it(this,Lt,kn).call(this,{type:"fetch",meta:(v=h.fetchOptions)==null?void 0:v.meta}),he(this,tt,ey({initialPromise:i==null?void 0:i.initialPromise,fn:h.fetchFn,onCancel:O=>{O instanceof fc&&O.revert&&this.setState({...B(this,ki),fetchStatus:"idle"}),s.abort()},onFail:(O,V)=>{it(this,Lt,kn).call(this,{type:"failed",failureCount:O,error:V})},onPause:()=>{it(this,Lt,kn).call(this,{type:"pause"})},onContinue:()=>{it(this,Lt,kn).call(this,{type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0}));try{const O=await B(this,tt).start();if(O===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(O),(C=(x=B(this,zt).config).onSuccess)==null||C.call(x,O,this),(k=(N=B(this,zt).config).onSettled)==null||k.call(N,O,this.state.error,this),O}catch(O){if(O instanceof fc){if(O.silent)return B(this,tt).promise;if(O.revert){if(this.state.data===void 0)throw O;return this.state.data}}throw it(this,Lt,kn).call(this,{type:"error",error:O}),(R=(E=B(this,zt).config).onError)==null||R.call(E,O,this),(j=(F=B(this,zt).config).onSettled)==null||j.call(F,this.state.data,O,this),O}finally{this.scheduleGc()}}},Si=new WeakMap,Dr=new WeakMap,ki=new WeakMap,zt=new WeakMap,Rr=new WeakMap,tt=new WeakMap,Ho=new WeakMap,Mr=new WeakMap,Lt=new WeakSet,ny=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},kn=function(n){const i=s=>{switch(n.type){case"failed":return{...s,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...jb(s.data,this.options),fetchMeta:n.meta??null};case"success":const l={...s,...Om(n.data,n.dataUpdatedAt),dataUpdateCount:s.dataUpdateCount+1,...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return he(this,ki,n.manual?l:void 0),l;case"error":const u=n.error;
95return{...s,error:u,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:u,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...n.state}}};this.state=i(this.state),pt.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),B(this,zt).notify({query:this,type:"updated",action:n})})},vg);function jb(t,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Zg(n.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function Om(t,n){return{data:t,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Fm(t){const n=typeof t.initialData=="function"?t.initialData():t.initialData,i=n!==void 0,s=i?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:i?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"pending",fetchStatus:"idle"}}var Go,ln,ct,Or,un,Xn,wg,_b=(wg=class extends ty{constructor(n){super();be(this,un);be(this,Go);be(this,ln);be(this,ct);be(this,Or);he(this,Go,n.client),this.mutationId=n.mutationId,he(this,ct,n.mutationCache),he(this,ln,[]),this.state=n.state||Ib(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options=n,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(n){B(this,ln).includes(n)||(B(this,ln).push(n),this.clearGcTimeout(),B(this,ct).notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){he(this,ln,B(this,ln).filter(i=>i!==n)),this.scheduleGc(),B(this,ct).notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){B(this,ln).length||(this.state.status==="pending"?this.scheduleGc():B(this,ct).remove(this))}continue(){var n;return((n=B(this,Or))==null?void 0:n.continue())??this.execute(this.state.variables)}async execute(n){var d,h,m,p,g,v,x,C,N,k,E,R,F,j,O,V,I,G;const i=()=>{it(this,un,Xn).call(this,{type:"continue"})},s={client:B(this,Go),meta:this.options.meta,mutationKey:this.options.mutationKey};he(this,Or,ey({fn:()=>this.options.mutationFn?this.options.mutationFn(n,s):Promise.reject(new Error("No mutationFn found")),onFail:(D,Y)=>{it(this,un,Xn).call(this,{type:"failed",failureCount:D,error:Y})},onPause:()=>{it(this,un,Xn).call(this,{type:"pause"})},onContinue:i,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>B(this,ct).canRun(this)}));const l=this.state.status==="pending",u=!B(this,Or).canStart();try{if(l)i();else{it(this,un,Xn).call(this,{type:"pending",variables:n,isPaused:u}),B(this,ct).config.onMutate&&await B(this,ct).config.onMutate(n,this,s);const Y=await((h=(d=this.options).onMutate)==null?void 0:h.call(d,n,s));Y!==this.state.context&&it(this,un,Xn).call(this,{type:"pending",context:Y,variables:n,isPaused:u})}const D=await B(this,Or).start();return await((p=(m=B(this,ct).config).onSuccess)==null?void 0:p.call(m,D,n,this.state.context,this,s)),await((v=(g=this.options).onSuccess)==null?void 0:v.call(g,D,n,this.state.context,s)),await((C=(x=B(this,ct).config).onSettled)==null?void 0:C.call(x,D,null,this.state.variables,this.state.context,this,s)),await((k=(N=this.options).onSettled)==null?void 0:k.call(N,D,null,n,this.state.context,s)),it(this,un,Xn).call(this,{type:"success",data:D}),D}catch(D){try{await((R=(E=B(this,ct).config).onError)==null?void 0:R.call(E,D,n,this.state.context,this,s))}catch(Y){Promise.reject(Y)}try{await((j=(F=this.options).onError)==null?void 0:j.call(F,D,n,this.state.context,s))}catch(Y){Promise.reject(Y)}try{await((V=(O=B(this,ct).config).onSettled)==null?void 0:V.call(O,void 0,D,this.state.variables,this.state.context,this,s))}catch(Y){Promise.reject(Y)}try{await((G=(I=this.options).onSettled)==null?void 0:G.call(I,void 0,D,n,this.state.context,s))}catch(Y){Promise.reject(Y)}throw it(this,un,Xn).call(this,{type:"error",error:D}),D}finally{B(this,ct).runNext(this)}}},Go=new WeakMap,ln=new WeakMap,ct=new WeakMap,Or=new WeakMap,un=new WeakSet,Xn=function(n){const i=s=>{switch(n.type){case"failed":return{...s,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};
95case"pending":return{...s,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:n.isPaused,status:"pending",variables:n.variables,submittedAt:Date.now()};case"success":return{...s,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:n.error,failureCount:s.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"}}};this.state=i(this.state),pt.batch(()=>{B(this,ln).forEach(s=>{s.onMutationUpdate(n)}),B(this,ct).notify({mutation:this,type:"updated",action:n})})},wg);function Ib(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Cn,Zt,Yo,xg,Bb=(xg=class extends Ba{constructor(n={}){super();be(this,Cn);be(this,Zt);be(this,Yo);this.config=n,he(this,Cn,new Set),he(this,Zt,new Map),he(this,Yo,0)}build(n,i,s){const l=new _b({client:n,mutationCache:this,mutationId:++la(this,Yo)._,options:n.defaultMutationOptions(i),state:s});return this.add(l),l}add(n){B(this,Cn).add(n);const i=fa(n);if(typeof i=="string"){const s=B(this,Zt).get(i);s?s.push(n):B(this,Zt).set(i,[n])}this.notify({type:"added",mutation:n})}remove(n){if(B(this,Cn).delete(n)){const i=fa(n);if(typeof i=="string"){const s=B(this,Zt).get(i);if(s)if(s.length>1){const l=s.indexOf(n);l!==-1&&s.splice(l,1)}else s[0]===n&&B(this,Zt).delete(i)}}this.notify({type:"removed",mutation:n})}canRun(n){const i=fa(n);if(typeof i=="string"){const s=B(this,Zt).get(i),l=s==null?void 0:s.find(u=>u.state.status==="pending");return!l||l===n}else return!0}runNext(n){var s;const i=fa(n);if(typeof i=="string"){const l=(s=B(this,Zt).get(i))==null?void 0:s.find(u=>
vendor: 5,387 bytes, line 95
95u!==n&&u.state.isPaused);return(l==null?void 0:l.continue())??Promise.resolve()}else return Promise.resolve()}clear(){pt.batch(()=>{B(this,Cn).forEach(n=>{this.notify({type:"removed",mutation:n})}),B(this,Cn).clear(),B(this,Zt).clear()})}getAll(){return Array.from(B(this,Cn))}find(n){const i={exact:!0,...n};return this.getAll().find(s=>Am(i,s))}findAll(n={}){return this.getAll().filter(i=>Am(n,i))}notify(n){pt.batch(()=>{this.listeners.forEach(i=>{i(n)})})}resumePausedMutations(){const n=this.getAll().filter(i=>i.state.isPaused);return pt.batch(()=>Promise.all(n.map(i=>i.continue().catch(Xt))))}},Cn=new WeakMap,Zt=new WeakMap,Yo=new WeakMap,xg);function fa(t){var n;return(n=t.options.scope)==null?void 0:n.id}var cn,bg,Vb=(bg=class extends Ba{constructor(n={}){super();be(this,cn);this.config=n,he(this,cn,new Map)}build(n,i,s){const l=i.queryKey,u=i.queryHash??Oc(l,i);let d=this.get(u);return d||(d=new Fb({client:n,queryKey:l,queryHash:u,options:n.defaultQueryOptions(i),state:s,defaultOptions:n.getQueryDefaults(l)}),this.add(d)),d}add(n){B(this,cn).has(n.queryHash)||(B(this,cn).set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const i=B(this,cn).get(n.queryHash);i&&(n.destroy(),i===n&&B(this,cn).delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){pt.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return B(this,cn).get(n)}getAll(){return[...B(this,cn).values()]}find(n){const i={exact:!0,...n};return this.getAll().find(s=>Nm(i,s))}findAll(n={}){const i=this.getAll();return Object.keys(n).length>0?i.filter(s=>Nm(n,s)):i}notify(n){pt.batch(()=>{this.listeners.forEach(i=>{i(n)})})}onFocus(){pt.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){pt.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},cn=new WeakMap,bg),ze,rr,ir,Ci,Ti,or,Ei,Pi,Sg,zb=(Sg=class{constructor(t={}){be(this,ze);be(this,rr);be(this,ir);be(this,Ci);be(this,Ti);be(this,or);be(this,Ei);be(this,Pi);he(this,ze,t.queryCache||new Vb),he(this,rr,t.mutationCache||new Bb),he(this,ir,t.defaultOptions||{}),he(this,Ci,new Map),he(this,Ti,new Map),he(this,or,0)}mount(){la(this,or)._++,B(this,or)===1&&(he(this,Ei,Gg.subscribe(async t=>{t&&(await this.resumePausedMutations(),B(this,ze).onFocus())})),he(this,Pi,Aa.subscribe(async t=>{t&&(await this.resumePausedMutations(),B(this,ze).onOnline())})))}unmount(){var t,n;la(this,or)._--,B(this,or)===0&&((t=B(this,Ei))==null||t.call(this),he(this,Ei,void 0),(n=B(this,Pi))==null||n.call(this),he(this,Pi,void 0))}isFetching(t){return B(this,ze).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return B(this,rr).findAll({...t,status:"pending"}).length}getQueryData(t){var i;const n=this.defaultQueryOptions({queryKey:t});return(i=B(this,ze).get(n.queryHash))==null?void 0:i.state.data}ensureQueryData(t){const n=this.defaultQueryOptions(t),i=B(this,ze).build(this,n),s=i.state.data;return s===void 0?this.fetchQuery(t):(t.revalidateIfStale&&i.isStaleByTime(cc(n.staleTime,i))&&this.prefetchQuery(n),Promise.resolve(s))}getQueriesData(t){return B(this,ze).findAll(t).map(({queryKey:n,state:i})=>{const s=i.data;return[n,s]})}setQueryData(t,n,i){const s=this.defaultQueryOptions({queryKey:t}),l=B(this,ze).get(s.queryHash),u=l==null?void 0:l.state.data,d=vb(n,u);if(d!==void 0)return B(this,ze).build(this,s).setData(d,{...i,manual:!0})}setQueriesData(t,n,i){return pt.batch(()=>B(this,ze).findAll(t).map(({queryKey:s})=>[s,this.setQueryData(s,n,i)]))}getQueryState(t){var i;const n=this.defaultQueryOptions({queryKey:t});return(i=B(this,ze).get(n.queryHash))==null?void 0:i.state}removeQueries(t){const n=B(this,ze);pt.batch(()=>{n.findAll(t).forEach(i=>{n.remove(i)})})}resetQueries(t,n){const i=B(this,ze);return pt.batch(()=>(i.findAll(t).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...t},n)))}cancelQueries(t,n={}){const i={revert:!0,...n},s=pt.batch(()=>B(this,ze).findAll(t).map(l=>l.cancel(i)));return Promise.all(s).then(Xt).catch(Xt)}invalidateQueries(t,n={}){return pt.batch(()=>(B(this,ze).findAll(t).forEach(i=>{i.invalidate()}),(t==null?void 0:t.refetchType)==="none"?Promise.resolve():this.refetchQueries({...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"},n)))}refetchQueries(t,n={}){const i={...n,cancelRefetch:n.cancelRefetch??!0},s=pt.batch(()=>B(this,ze).findAll(t).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,i);return i.throwOnError||(u=u.catch(Xt)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(s).then(Xt)}fetchQuery(t){const n=this.defaultQueryOptions(t);n.retry===void 0&&(n.retry=!1);const i=B(this,ze).build(this,n);return i.isStaleByTime(cc(n.staleTime,i))?i.fetch(n):Promise.resolve(i.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(Xt).catch(Xt)}fetchInfiniteQuery(t){return t._type="infinite",this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(Xt).catch(Xt)}ensureInfiniteQueryData(t){return t._type="infinite",this.ensureQueryData(t)}resumePausedMutations(){return Aa.isOnline()?B(this,rr).resumePausedMutations():Promise.resolve()}getQueryCache(){return B(this,ze)}getMutationCache(){return B(this,rr)}getDefaultOptions(){return B(this,ir)}setDefaultOptions(t){he(this,ir,t)}setQueryDefaults(t,n){B(this,Ci).set(zo(t),{queryKey:t,defaultOptions:n})}getQueryDefaults(t){const n=[...B(this,Ci).values()],i={};
95return n.forEach(s=>{Uo(t,s.queryKey)&&Object.assign(i,s.defaultOptions)}),i}setMutationDefaults(t,n){B(this,Ti).set(zo(t),{mutationKey:t,defaultOptions:n})}getMutationDefaults(t){const n=[...B(this,Ti).values()],i={};return n.forEach(s=>{Uo(t,s.mutationKey)&&Object.assign(i,s.defaultOptions)}),i}defaultQueryOptions(t){if(t._defaulted)return t;const n={...B(this,ir).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return n.queryHash||(n.queryHash=Oc(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===Fc&&(n.enabled=!1),n}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...B(this,ir).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){B(this,ze).clear(),B(this,rr).clear()}},ze=new WeakMap,rr=new WeakMap,ir=new WeakMap,Ci=new WeakMap,Ti=new WeakMap,or=new WeakMap,Ei=new WeakMap,Pi=new WeakMap,Sg),Ub=z.createContext(void 0),$b=({client:t,children:n})=>(z.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),w.jsx(Ub.Provider,{value:t,children:n}));const Jb=new zb({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}}),Va=z.createContext({location:{pathname:"/",search:"",hash:""},navigate:()=>{}});function Ju(){return{pathname:window.location.pathname||"/",search:window.location.search||"",hash:window.location.hash||""}}function ry(t){try{const n=new URL(String(t||"/"),window.location.origin);return n.origin!==window.location.origin?null:`${n.pathname}${n.search}${n.hash}`}catch{return null}}function Wb({children:t}){const[n,i]=z.useState(Ju);z.useEffect(()=>{const l=()=>i(Ju());return window.addEventListener("popstate",l),window.addEventListener("scoutlo:navigate",l),()=>{window.removeEventListener("popstate",l),window.removeEventListener("scoutlo:navigate",l)}},[]);const s=z.useMemo(()=>({location:n,navigate(l,{replace:u=!1}={}){const d=ry(l);if(!d){window.location.assign(String(l||"/"));return}const h=`${window.location.pathname}${window.location.search}${window.location.hash}`;d!==h&&window.history[u?"replaceState":"pushState"]({},"",d),i(Ju()),window.dispatchEvent(new Event("scoutlo:navigate"))}}),[n]);return w.jsx(Va.Provider,{value:s,children:t})}function iy(){return z.useContext(Va).location}function Nt({to:t,children:n,onClick:i,target:s,...l}){const{navigate:u}=z.useContext(Va);function d(h){if(i==null||i(h),h.defaultPrevented||s||h.button!==0||h.metaKey||h.altKey||h.ctrlKey||h.shiftKey)return;const m=ry(t);m&&(h.preventDefault(),u(m))}return w.jsx("a",{href:t,target:s,onClick:d,...l,children:n})}function qb({to:t="/",replace:n=!1}){const{navigate:i}=z.useContext(Va);return z.useLayoutEffect(()=>{i(t,{replace:n})},[i,n,t]),null}function Kb({}){const n=iy().pathname.substring(1);return w.jsx("div",{className:"min-h-[70vh] flex items-center justify-center p-6 bg-background",children:w.jsx("div",{className:"max-w-md w-full",children:w.jsxs("div",{className:"text-center space-y-6",children:[w.jsxs("div",{className:"space-y-2",children:[w.jsx("h1",{className:"font-mono text-7xl font-light text-muted-foreground/30",children:"404"}),w.jsx("div",{className:"h-0.5 w-16 bg-border mx-auto"})]}),w.jsxs("div",{className:"space-y-3",children:[w.jsx("h2",{className:"font-serif text-2xl font-semibold text-foreground",children:"Page Not Found"}),w.jsxs("p",{className:"font-sans text-muted-foreground leading-relaxed",children:["The page ",w.jsxs("span",{className:"font-medium text-foreground",children:['"',n,'"']})," could not be found."]})]}),w.jsx("div",{className:"pt-6",children:w.jsxs("button",{onClick:()=>window.location.href="/",className:"inline-flex items-center px-4 py-2 text-sm font-medium text-primary bg-secondary border border-secondary rounded-lg hover:bg-secondary/90 transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-ring",children:[w.jsx("svg",{className:"w-4 h-4 mr-2",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:w.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),"Go Home"]})})]})})})}const jm=[{to:"/",label:"Check a link"}],Hb="/downloads/scoutlo-chromium-mv3-0.1.10.zip";function Gb(){const[t,n]=z.useState(!1);return w.jsxs("header",{className:"sticky top-0 z-50 border-b border-primary/10 bg-background/88 backdrop-blur-xl",children:[w.jsxs("div",{className:"editorial-shell h-[70px] flex items-center justify-between",children:[w.jsx(Nt,{to:"/",className:"flex items-center",onClick:()=>n(!1),"aria-label":"SCOUTLO home",children:w.jsx("img",{src:"/brand/scoutlo-logo-wordmark.png",alt:"SCOUTLO",className:"h-12 w-auto max-w-[205px] object-contain sm:max-w-[240px]"})}),w.jsxs("div",{className:"hidden lg:flex items-center gap-8",children:[jm.map(({to:i,label:s,icon:l})=>w.jsxs(Nt,{to:i,className:"flex items-center gap-1 text-primary/70 hover:text-accent text-xs font-sans font-semibold tracking-wide transition-colors",children:[l&&w.jsx(l,{className:"w-3 h-3"})," ",s]},s)),w.jsx(Nt,{to:"/chrome",className:"text-primary/70 hover:text-accent text-xs font-sans font-semibold tracking-wide transition-colors",children:"Install"})]}),w.jsxs("div",{className:"flex items-center gap-3",children:[w.jsx("a",{href:Hb,download:!0,className:"hidden md:inline-flex bg-primary px-5 py-3 text-xs font-semibold uppercase tracking-[0.16em] text-primary-foreground transition-colors hover:bg-accent",children:"Desktop extension"}),w.jsx("button",{type:"button","aria-label":t?"Close SCOUTLO menu":"Open SCOUTLO menu","aria-expanded":t,onClick:()=>n(i=>!i),className:"inline-flex h-10 w-10 items-center justify-center border border-primary/15 text-primary/70 transition-colors hover:border-accent hover:text-accent lg:hidden",children:t?w.jsx(Lg,{className:"w-5 h-5","aria-hidden":"true"}):w.jsx(hx,{className:"w-5 h-5","aria-hidden":"true"})})]})]}),t&&w.jsx("nav",{className:"border-t border-primary/10 bg-background/97 px-4 pb-5 pt-3 shadow-[0_22px_60px_rgba(20,16,12,0.12)] lg:hidden","aria-label":"Mobile navigation",children:w.jsxs("div",{className:"mx-auto grid max-w-7xl gap-2",children:[jm.map(({to:i,label:s,icon:l})=>w.jsxs(Nt,{to:i,onClick:()=>n(!1),className:"flex items-center justify-between border border-primary/10 bg-card/70 px-4 py-3 font-sans text-sm font-semibold text-primary transition-colors hover:border-accent hover:text-accent",children:[w.jsxs("span",{className:"flex items-center gap-2",children:[l&&w.jsx(l,{className:"w-4 h-4"})," ",s]}),w.jsx("span",{"aria-hidden":"true",children:">"})]},s)),w.jsx(Nt,{to:"/",onClick:()=>n(!1),className:"mt-1 flex items-center justify-center bg-primary px-4 py-3 text-xs font-semibold uppercase tracking-[0.16em] text-primary-foreground",children:"Use Web Checker"})]})})]})}const Yb="/downloads/scoutlo-chromium-mv3-0.1.10.zip";function Qb(){return w.jsx("footer",{className:"bg-primary text-primary-foreground
95/62 pb-24 md:pb-8",children:w.jsxs("div",{className:"editorial-shell py-12 md:py-16",children:[w.jsxs("div",{className:"grid grid-cols-1 gap-10 md:grid-cols-[1.2fr_1fr_1fr] md:gap-16 mb-10",children:[w.jsxs("div",{children:[w.jsx("img",{src:"/brand/scoutlo-logo-wordmark.png",alt:"SCOUTLO",className:"mb-5 h-20 w-auto max-w-[320px] rounded-sm bg-[#f8f6f1] object-contain p-2"}),w.jsx("p",{className:"max-w-xs text-sm font-sans leading-relaxed text-primary-foreground/70",children:"Scout the price. Know the move."}),w.jsx("p",{className:"mt-8 max-w-sm font-sans text-lg uppercase tracking-[0.22em] text-secondary",children:"The right piece, at the right price, at the right time."})]}),w.jsxs("div",{children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-[0.24em] text-primary-foreground/35 mb-4",children:"Navigate"}),w.jsxs("div",{className:"flex flex-col gap-2",children:[w.jsx(Nt,{to:"/",className:"text-sm hover:text-secondary transition-colors",children:"Check a link"}),w.jsx("a",{href:Yb,download:!0,className:"hidden text-sm hover:text-secondary transition-colors md:inline",children:"Download desktop extension"}),w.jsx(Nt,{to:"/",className:"text-sm hover:text-secondary transition-colors sm:hidden",children:"Use Web Checker"}),w.jsx(Nt,{to:"/chrome",className:"text-sm hover:text-secondary transition-colors",children:"Install"})]})]}),w.jsxs("div",{children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-[0.24em] text-primary-foreground/35 mb-4",children:"Support"}),w.jsx("div",{className:"flex flex-col gap-2 mb-5",children:w.jsx(Nt,{to:"/contact",className:"text-sm hover:text-secondary transition-colors",children:"Contact"})}),w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-[0.24em] text-primary-foreground/35 mb-4",children:"Legal"}),w.jsxs("div",{className:"flex flex-col gap-2",children:[w.jsx(Nt,{to:"/affiliate-disclosure",className:"text-sm hover:text-secondary transition-colors",children:"Affiliate Disclosure"}),w.jsx(Nt,{to:"/privacy",className:"text-sm hover:text-secondary transition-colors",children:"Privacy"}),w.jsx(Nt,{to:"/cookies",className:"text-sm hover:text-secondary transition-colors",children:"Cookie Settings"})]})]})]}),w.jsx("div",{className:"border-t border-primary-foreground/10 pt-6",children:w.jsx("p",{className:"text-xs font-sans text-primary-foreground/35 text-center leading-relaxed",children:"© 2026 SCOUTLO. SCOUTLO may earn a commission when you shop through our links, at no cost to you. Prices and availability can change."})})]})})}function Xb({children:t}){return w.jsxs("div",{className:"min-h-screen flex flex-col bg-background",children:[w.jsx(Gb,{}),w.jsx("main",{className:"flex-1",children:t}),w.jsx(Qb,{})]})}const jc=z.createContext({});function _c(t){const n=z.useRef(null);return n.current===null&&(n.current=t()),n.current}const za=z.createContext(null),Ic=z.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});class Zb extends z.Component{getSnapshotBeforeUpdate(n){const i=this.props.childRef.current;if(i&&n.isPresent&&!this.props.isPresent){const s=this.props.sizeRef.current;s.height=i.offsetHeight||0,s.width=i.offsetWidth||0,s.top=i.offsetTop,s.left=i.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function eS({children:t,isPresent:n}){const i=z.useId(),s=z.useRef(null),l=z.useRef({width:0,height:0,top:0,left:0}),{nonce:u}=z.useContext(Ic);return z.useInsertionEffect(()=>{const{width:d,height:h,top:m,left:p}=l.current;if(n||!s.current||!d||!h)return;s.current.dataset.motionPopId=i;const g=document.createElement("style");return u&&(g.nonce=u),document.head.appendChild(g),g.sheet&&g.sheet.insertRule(` 96 [data-motion-pop-id="${i}"] { 97 position: absolute !important; 98 width: ${d}px !important; 99 height: ${h}px !important; 100 top: ${m}px !important; 101 left: ${p}px !important; 102 } 103 `),()=>{document.head.removeChild(g)}},[n]),w.jsx(Zb,{isPresent:n,childRef:s,sizeRef:l,children:z.cloneElement(t,{ref:s})})}const tS=({children:t,initial:n,isPresent:i,onExitComplete:s,custom:l,presenceAffectsLayout:u,mode:d})=>{const h=_c(nS),m=z.useId(),p=z.useCallback(v=>{h.set(v,!0);for(const x of h.values())if(!x)return;s&&s()},[h,s]),g=z.useMemo(()=>({id:m,initial:n,isPresent:i,custom:l,onExitComplete:p,register:v=>(h.set(v,!1),()=>h.delete(v))}),u?[Math.random(),p]:[i,p]);return z.useMemo(()=>{h.forEach((v,x)=>h.set(x,!1))},[i]),z.useEffect(()=>{!i&&!h.size&&s&&s()},[i]),d==="popLayout"&&(t=w.jsx(eS,{isPresent:i,children:t})),w.jsx(za.Provider,{value:g,children:t})};function nS(){return new Map}function oy(t=!0){const n=z.useContext(za);if(n===null)return[!0,null];const{isPresent:i,onExitComplete:s,register:l}=n,u=z.useId();z.useEffect(()=>{t&&l(u)},[t]);const d=z.useCallback(()=>t&&s&&s(u),[u,s,t]);return!i&&s?[!1,d]:[!0]}const ha=t=>t.key||"";function _m(t){const n=[];
vendor: 30,089 bytes, line 103
103return z.Children.forEach(t,i=>{z.isValidElement(i)&&n.push(i)}),n}const Bc=typeof window<"u",sy=Bc?z.useLayoutEffect:z.useEffect,rS=({children:t,custom:n,initial:i=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:u="sync",propagate:d=!1})=>{const[h,m]=oy(d),p=z.useMemo(()=>_m(t),[t]),g=d&&!h?[]:p.map(ha),v=z.useRef(!0),x=z.useRef(p),C=_c(()=>new Map),[N,k]=z.useState(p),[E,R]=z.useState(p);sy(()=>{v.current=!1,x.current=p;for(let O=0;O<E.length;O++){const V=ha(E[O]);g.includes(V)?C.delete(V):C.get(V)!==!0&&C.set(V,!1)}},[E,g.length,g.join("-")]);const F=[];if(p!==N){let O=[...p];for(let V=0;V<E.length;V++){const I=E[V],G=ha(I);g.includes(G)||(O.splice(V,0,I),F.push(I))}u==="wait"&&F.length&&(O=F),R(_m(O)),k(p);return}const{forceRender:j}=z.useContext(jc);return w.jsx(w.Fragment,{children:E.map(O=>{const V=ha(O),I=d&&!h?!1:p===E||g.includes(V),G=()=>{if(C.has(V))C.set(V,!0);else return;let D=!0;C.forEach(Y=>{Y||(D=!1)}),D&&(j==null||j(),R(x.current),d&&(m==null||m()),s&&s())};return w.jsx(tS,{isPresent:I,initial:!v.current||i?void 0:!1,custom:I?void 0:n,presenceAffectsLayout:l,mode:u,onExitComplete:I?void 0:G,children:O},V)})})},At=t=>t;let ay=At;function Vc(t){let n;return()=>(n===void 0&&(n=t()),n)}const Li=(t,n,i)=>{const s=n-t;return s===0?1:(i-t)/s},En=t=>t*1e3,Pn=t=>t/1e3,iS={useManualTiming:!1};function oS(t){let n=new Set,i=new Set,s=!1,l=!1;const u=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function h(p){u.has(p)&&(m.schedule(p),t()),p(d)}const m={schedule:(p,g=!1,v=!1)=>{const C=v&&s?n:i;return g&&u.add(p),C.has(p)||C.add(p),p},cancel:p=>{i.delete(p),u.delete(p)},process:p=>{if(d=p,s){l=!0;return}s=!0,[n,i]=[i,n],n.forEach(h),n.clear(),s=!1,l&&(l=!1,m.process(p))}};return m}const ma=["read","resolveKeyframes","update","preRender","render","postRender"],sS=40;function ly(t,n){let i=!1,s=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>i=!0,d=ma.reduce((R,F)=>(R[F]=oS(u),R),{}),{read:h,resolveKeyframes:m,update:p,preRender:g,render:v,postRender:x}=d,C=()=>{const R=performance.now();i=!1,l.delta=s?1e3/60:Math.max(Math.min(R-l.timestamp,sS),1),l.timestamp=R,l.isProcessing=!0,h.process(l),m.process(l),p.process(l),g.process(l),v.process(l),x.process(l),l.isProcessing=!1,i&&n&&(s=!1,t(C))},N=()=>{i=!0,s=!0,l.isProcessing||t(C)};return{schedule:ma.reduce((R,F)=>{const j=d[F];return R[F]=(O,V=!1,I=!1)=>(i||N(),j.schedule(O,V,I)),R},{}),cancel:R=>{for(let F=0;F<ma.length;F++)d[ma[F]].cancel(R)},state:l,steps:d}}const{schedule:De,cancel:sr,state:ot,steps:Wu}=ly(typeof requestAnimationFrame<"u"?requestAnimationFrame:At,!0),uy=z.createContext({strict:!1}),Im={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Ni={};for(const t in Im)Ni[t]={isEnabled:n=>Im[t].some(i=>!!n[i])};function aS(t){for(const n in t)Ni[n]={...Ni[n],...t[n]}}const lS=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Da(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||lS.has(t)}let cy=t=>!Da(t);function uS(t){t&&(cy=n=>n.startsWith("on")?!Da(n):t(n))}try{uS(require("@emotion/is-prop-valid").default)}catch{}function cS(t,n,i){const s={};for(const l in t)l==="values"&&typeof t.values=="object"||(cy(l)||i===!0&&Da(l)||!n&&!Da(l)||t.draggable&&l.startsWith("onDrag"))&&(s[l]=t[l]);return s}function dS(t){if(typeof Proxy>"u")return t;const n=new Map,i=(...s)=>t(...s);return new Proxy(i,{get:(s,l)=>l==="create"?t:(n.has(l)||n.set(l,t(l)),n.get(l))})}const Ua=z.createContext({});function $o(t){return typeof t=="string"||Array.isArray(t)}function $a(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const zc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Uc=["initial",...zc];function Ja(t){return $a(t.animate)||Uc.some(n=>$o(t[n]))}function dy(t){return!!(Ja(t)||t.variants)}function fS(t,n){if(Ja(t)){const{initial:i,animate:s}=t;return{initial:i===!1||$o(i)?i:void 0,animate:$o(s)?s:void 0}}return t.inherit!==!1?n:{}}function hS(t){const{initial:n,animate:i}=fS(t,z.useContext(Ua));return z.useMemo(()=>({initial:n,animate:i}),[Bm(n),Bm(i)])}function Bm(t){return Array.isArray(t)?t.join(" "):t}const mS=Symbol.for("motionComponentSymbol");function mi(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function pS(t,n,i){return z.useCallback(s=>{s&&t.onMount&&t.onMount(s),n&&(s?n.mount(s):n.unmount()),i&&(typeof i=="function"?i(s):mi(i)&&(i.current=s))},[n])}const $c=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),gS="framerAppearId",fy="data-"+$c(gS),{schedule:Jc}=ly(queueMicrotask,!1),hy=z.createContext({});function yS(t,n,i,s,l){var u,d;const{visualElement:h}=z.useContext(Ua),m=z.useContext(uy),p=z.useContext(za),g=z.useContext(Ic).reducedMotion,v=z.useRef(null);s=s||m.renderer,!v.current&&s&&(v.current=s(t,{visualState:n,parent:h,props:i,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:g}));const x=v.current,C=z.useContext(hy);x&&!x.projection&&l&&(x.type==="html"||x.type==="svg")&&vS(v.current,i,l,C);const N=z.useRef(!1);z.useInsertionEffect(()=>{x&&N.current&&x.update(i,p)});const k=i[fy],E=z.useRef(!!k&&!(!((u=window.MotionHandoffIsComplete)===null||u===void 0)&&u.call(window,k))&&((d=window.MotionHasOptimisedAnimation)===null||d===void 0?void 0:d.call(window,k)));return sy(()=>{x&&(N.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),Jc.render(x.render),E.current&&x.animationState&&x.animationState.animateChanges())}),z.useEffect(()=>{x&&(!E.current&&x.animationState&&x.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{var R;(R=window.MotionHandoffMarkAsComplete)===null||R===void 0||R.call(window,k)}),E.current=!1))}),x}function vS(t,n,i,s){const{layoutId:l,layout:u,drag:d,dragConstraints:h,layoutScroll:m,layoutRoot:p}=n;t.projection=new i(t.latestValues,n["data-framer-portal-id"]?void 0:my(t.parent)),t.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!d||h&&mi(h),visualElement:t,animationType:typeof u=="string"?u:"both",initialPromotionConfig:s,layoutScroll:m,layoutRoot:p})}function my(t){if(t)return t.options.allowProjection!==!1?t.projection:my(t.parent)}function wS({preloadedFeatures:t,createVisualElement:n,useRender:i,useVisualState:s,Component:l}){var u,d;t&&aS(t);function h(p,g){let v;const x={...z.useContext(Ic),...p,layoutId:xS(p)},{isStatic:C}=x,N=hS(p),k=s(p,C);if(!C&&Bc){bS();const E=SS(x);v=E.MeasureLayout,N.visualElement=yS(l,k,x,n,E.ProjectionNode)}return w.jsxs(Ua.Provider,{value:N,children:[v&&N.visualElement?w.jsx(v,{visualElement:N.visualElement,...x}):null,i(l,p,pS(k,N.visualElement,g),k,C,N.visualElement)]})}h.displayName=`motion.${typeof l=="string"?l:`create(${(d=(u=l.displayName)!==null&&u!==void 0?u:l.name)!==null&&d!==void 0?d:""})`}`;const m=z.forwardRef(h);return m[mS]=l,m}function xS({layoutId:t}){const n=z.useContext(jc).id;return n&&t!==void 0?n+"-"+t:t}function bS(t,n){z.useContext(uy).strict}function SS(t){const{drag:n,layout:i}=Ni;if(!n&&!i)return{};const s={...n,...i};return{MeasureLayout:n!=null&&n.isEnabled(t)||i!=null&&i.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const kS=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Wc(t){return typeof t!="string"||t.includes("-")?!1:!!(kS.indexOf(t)>-1||/[A-Z]/u.test(t))}function Vm(t){const n=[{},{}];return t==null||t.values.forEach((i,s)=>{n[0][s]=i.get(),n[1][s]=i.getVelocity()}),n}function qc(t,n,i,s){if(typeof n=="function"){const[l,u]=Vm(s);n=n(i!==void 0?i:t.custom,l,u)}if(typeof n=="string"&&(n=t.variants&&t.variants[n]),typeof n=="function"){const[l,u]=Vm(s);n=n(i!==void 0?i:t.custom,l,u)}return n}const hc=t=>Array.isArray(t),CS=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),TS=t=>hc(t)?t[t.length-1]||0:t,ft=t=>!!(t&&t.getVelocity);function Ca(t){const n=ft(t)?t.get():t;return CS(n)?n.toValue():n}function ES({scrapeMotionValuesFromProps:t,createRenderState:n,onUpdate:i},s,l,u){const d={latestValues:PS(s,l,u,t),renderState:n()};return i&&(d.onMount=h=>i({props:s,current:h,...d}),d.onUpdate=h=>i(h)),d}const py=t=>(n,i)=>{const s=z.useContext(Ua),l=z.useContext(za),u=()=>ES(t,n,s,l);return i?u():_c(u)};function PS(t,n,i,s){const l={},u=s(t,{});for(const x in u)l[x]=Ca(u[x]);let{initial:d,animate:h}=t;const m=Ja(t),p=dy(t);n&&p&&!m&&t.inherit!==!1&&(d===void 0&&(d=n.initial),h===void 0&&(h=n.animate));let g=i?i.initial===!1:!1;g=g||d===!1;const v=g?h:d;if(v&&typeof v!="boolean"&&!$a(v)){const x=Array.isArray(v)?v:[v];for(let C=0;C<x.length;C++){const N=qc(t,x[C]);if(N){const{transitionEnd:k,transition:E,...R}=N;for(const F in R){let j=R[F];if(Array.isArray(j)){const O=g?j.length-1:0;j=j[O]}j!==null&&(l[F]=j)}for(const F in k)l[F]=k[F]}}}return l}const Di=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Br=new Set(Di),gy=t=>n=>typeof n=="string"&&n.startsWith(t),yy=gy("--"),LS=gy("var(--"),Kc=t=>LS(t)?NS.test(t.split("/*")[0].trim()):!1,NS=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,vy=(t,n)=>n&&typeof t=="number"?n.transform(t):t,Ln=(t,n,i)=>i>n?n:i<t?t:i,Ri={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Jo={...Ri,transform:t=>Ln(0,1,t)},pa={...Ri,default:1},Qo=t=>({test:n=>typeof n=="string"&&n.endsWith(t)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${t}`}),Zn=Qo("deg"),dn=Qo("%"),ce=Qo("px"),AS=Qo("vh"),DS=Qo("vw"),zm={...dn,parse:t=>dn.parse(t)/100,transform:t=>dn.transform(t*100)},RS={borderWidth:ce,borderTopWidth:ce,borderRightWidth:ce,borderBottomWidth:ce,borderLeftWidth:ce,borderRadius:ce,radius:ce,borderTopLeftRadius:ce,borderTopRightRadius:ce,borderBottomRightRadius:ce,borderBottomLeftRadius:ce,width:ce,maxWidth:ce,height:ce,maxHeight:ce,top:ce,right:ce,bottom:ce,left:ce,padding:ce,paddingTop:ce,paddingRight:ce,paddingBottom:ce,paddingLeft:ce,margin:ce,marginTop:ce,marginRight:ce,marginBottom:ce,marginLeft:ce,backgroundPositionX:ce,backgroundPositionY:ce},MS={rotate:Zn,rotateX:Zn,rotateY:Zn,rotateZ:Zn,scale:pa,scaleX:pa,scaleY:pa,scaleZ:pa,skew:Zn,skewX:Zn,skewY:Zn,distance:ce,translateX:ce,translateY:ce,translateZ:ce,x:ce,y:ce,z:ce,perspective:ce,transformPerspective:ce,opacity:Jo,originX:zm,originY:zm,originZ:ce},Um={...Ri,transform:Math.round},Hc={...RS,...MS,zIndex:Um,size:ce,fillOpacity:Jo,strokeOpacity:Jo,numOctaves:Um},OS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},FS=Di.length;function jS(t,n,i){let s="",l=!0;for(let u=0;u<FS;u++){const d=Di[u],h=t[d];if(h===void 0)continue;let m=!0;if(typeof h=="number"?m=h===(d.startsWith("scale")?1:0):m=parseFloat(h)===0,!m||i){const p=vy(h,Hc[d]);if(!m){l=!1;const g=OS[d]||d;s+=`${g}(${p}) `}i&&(n[d]=p)}}return s=s.trim(),i?s=i(n,l?"":s):l&&(s="none"),s}function Gc(t,n,i){const{style:s,vars:l,transformOrigin:u}=t;let d=!1,h=!1;for(const m in n){const p=n[m];if(Br.has(m)){d=!0;continue}else if(yy(m)){l[m]=p;continue}else{const g=vy(p,Hc[m]);m.startsWith("origin")?(h=!0,u[m]=g):s[m]=g}}if(n.transform||(d||i?s.transform=jS(n,t.transform,i):s.transform&&(s.transform="none")),h){const{originX:m="50%",originY:p="50%",originZ:g=0}=u;s.transformOrigin=`${m} ${p} ${g}`}}const _S={offset:"stroke-dashoffset",array:"stroke-dasharray"},IS={offset:"strokeDashoffset",array:"strokeDasharray"};function BS(t,n,i=1,s=0,l=!0){t.pathLength=1;const u=l?_S:IS;t[u.offset]=ce.transform(-s);const d=ce.transform(n),h=ce.transform(i);t[u.array]=`${d} ${h}`}function $m(t,n,i){return typeof t=="string"?t:ce.transform(n+i*t)}function VS(t,n,i){const s=$m(n,t.x,t.width),l=$m(i,t.y,t.height);return`${s} ${l}`}function Yc(t,{attrX:n,attrY:i,attrScale:s,originX:l,originY:u,pathLength:d,pathSpacing:h=1,pathOffset:m=0,...p},g,v){if(Gc(t,p,v),g){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:x,style:C,dimensions:N}=t;x.transform&&(N&&(C.transform=x.transform),delete x.transform),N&&(l!==void 0||u!==void 0||C.transform)&&(C.transformOrigin=VS(N,l!==void 0?l:.5,u!==void 0?u:.5)),n!==void 0&&(x.x=n),i!==void 0&&(x.y=i),s!==void 0&&(x.scale=s),d!==void 0&&BS(x,d,h,m,!1)}const Qc=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),wy=()=>({...Qc(),attrs:{}}),Xc=t=>typeof t=="string"&&t.toLowerCase()==="svg";function xy(t,{style:n,vars:i},s,l){Object.assign(t.style,n,l&&l.getProjectionStyles(s));for(const u in i)t.style.setProperty(u,i[u])}const by=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Sy(t,n,i,s){xy(t,n,void 0,s);for(const l in n.attrs)t.setAttribute(by.has(l)?l:$c(l),n.attrs[l])}const Ra={};function zS(t){Object.assign(Ra,t)}function ky(t,{layout:n,layoutId:i}){return Br.has(t)||t.startsWith("origin")||(n||i!==void 0)&&(!!Ra[t]||t==="opacity")}function Zc(t,n,i){var s;const{style:l}=t,u={};for(const d in l)(ft(l[d])||n.style&&ft(n.style[d])||ky(d,t)||((s=i==null?void 0:i.getValue(d))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(u[d]=l[d]);return u}function Cy(t,n,i){const s=Zc(t,n,i);for(const l in t)if(ft(t[l])||ft(n[l])){const u=Di.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;s[u]=t[l]}return s}function US(t,n){try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}const Jm=["x","y","width","height","cx","cy","r"],$S={useVisualState:py({scrapeMotionValuesFromProps:Cy,createRenderState:wy,onUpdate:({props:t,prevProps:n,current:i,renderState:s,latestValues:l})=>{if(!i)return;let u=!!t.drag;if(!u){for(const h in l)if(Br.has(h)){u=!0;break}}if(!u)return;let d=!n;if(n)for(let h=0;h<Jm.length;h++){const m=Jm[h];t[m]!==n[m]&&(d=!0)}d&&De.read(()=>{US(i,s),De.render(()=>{Yc(s,l,Xc(i.tagName),t.transformTemplate),Sy(i,s)})})}})},JS={useVisualState:py({scrapeMotionValuesFromProps:Zc,createRenderState:Qc})};function Ty(t,n,i){for(const s in n)!ft(n[s])&&!ky(s,i)&&(t[s]=n[s])}function WS({transformTemplate:t},n){return z.useMemo(()=>{const i=Qc();return Gc(i,n,t),Object.assign({},i.vars,i.style)},[n])}function qS(t,n){const i=t.style||{},s={};return Ty(s,i,t),Object.assign(s,WS(t,n)),s}function KS(t,n){const i={},s=qS(t,n);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=s,i}function HS(t,n,i,s){const l=z.useMemo(()=>{const u=wy();return Yc(u,n,Xc(s),t.transformTemplate),{...u.attrs,style:{...u.style}}},[n]);if(t.style){const u={};Ty(u,t.style,t),l.style={...u,...l.style}}return l}function GS(t=!1){return(i,s,l,{latestValues:u},d)=>{const m=(Wc(i)?HS:KS)(s,u,d,i),p=cS(s,typeof i=="string",t),g=i!==z.Fragment?{...p,...m,ref:l}:{},{children:v}=s,x=z.useMemo(()=>ft(v)?v.get():v,[v]);return z.createElement(i,{...g,children:x})}}function YS(t,n){return function(s,{forwardMotionProps:l}={forwardMotionProps:!1}){const d={...Wc(s)?$S:JS,preloadedFeatures:t,useRender:GS(l),createVisualElement:n,Component:s};return wS(d)}}function Ey(t,n){if(!Array.isArray(n))return!1;const i=n.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(n[s]!==t[s])return!1;return!0}function Wa(t,n,i){const s=t.getProps();return qc(s,n,i!==void 0?i:s.custom,t)}const QS=Vc(()=>window.ScrollTimeline!==void 0);class XS{constructor(n){this.stop=()=>this.runAll("stop"),this.animations=n.filter(Boolean)}get finished(){return Promise.all(this.animations.map(n=>"finished"in n?n.finished:n))}getAll(n){return this.animations[0][n]}setAll(n,i){for(let s=0;s<this.animations.length;s++)this.animations[s][n]=i}attachTimeline(n,i){const s=this.animations.map(l=>{if(QS()&&l.attachTimeline)return l.attachTimeline(n);if(typeof i=="function")return i(l)});return()=>{s.forEach((l,u)=>{l&&l(),this.animations[u].stop()})}}get time(){return this.getAll("time")}set time(n){this.setAll("time",n)}get speed(){return this.getAll("speed")}set speed(n){this.setAll("speed",n)}get startTime(){return this.getAll("startTime")}get duration(){let n=0;for(let i=0;i<this.animations.length;i++)n=Math.max(n,this.animations[i].duration);return n}runAll(n){this.animations.forEach(i=>i[n]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class ZS extends XS{then(n,i){return Promise.all(this.animations).then(n).catch(i)}}function ed(t,n){return t?t[n]||t.default||t:void 0}const mc=2e4;function Py(t){let n=0;const i=50;let s=t.next(n);for(;!s.done&&n<mc;)n+=i,s=t.next(n);return n>=mc?1/0:n}function td(t){return typeof t=="function"}function Wm(t,n){t.timeline=n,t.onfinish=null}const nd=t=>Array.isArray(t)&&typeof t[0]=="number",ek={linearEasing:void 0};function tk(t,n){const i=Vc(t);return()=>{var s;return(s=ek[n])!==null&&s!==void 0?s:i()}}const Ma=tk(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ly=(t,n,i=10)=>{let s="";const l=Math.max(Math.round(n/i),2);for(let u=0;u<l;u++)s+=t(Li(0,l-1,u))+", ";return`linear(${s.substring(0,s.length-2)})`};function Ny(t){return!!(typeof t=="function"&&Ma()||!t||typeof t=="string"&&(t in pc||Ma())||nd(t)||Array.isArray(t)&&t.every(Ny))}const Ao=([t,n,i,s])=>`cubic-bezier(${t}, ${n}, ${i}, ${s})`,pc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ao([0,.65,.55,1]),circOut:Ao([.55,0,1,.45]),backIn:Ao([.31,.01,.66,-.59]),backOut:Ao([.33,1.53,.69,.99])};function Ay(t,n){if(t)return typeof t=="function"&&Ma()?Ly(t,n):nd(t)?Ao(t):Array.isArray(t)?t.map(i=>Ay(i,n)||pc.easeOut):pc[t]}const Qt={x:!1,y:!1};function Dy(){return Qt.x||Qt.y}function nk(t,n,i){var s;if(t instanceof Element)return[t];if(typeof t=="string"){let l=document;const u=(s=void 0)!==null&&s!==void 0?s:l.querySelectorAll(t);return u?Array.from(u):[]}return Array.from(t)}function Ry(t,n){const i=nk(t),s=new AbortController,l={passive:!0,...n,signal:s.signal};return[i,l,()=>s.abort()]}function qm(t){return n=>{n.pointerType==="touch"||Dy()||t(n)}}function rk(t,n,i={}){const[s,l,u]=Ry(t,i),d=qm(h=>{const{target:m}=h,p=n(h);if(typeof p!="function"||!m)return;const g=qm(v=>{p(v),m.removeEventListener("pointerleave",g)});m.addEventListener("pointerleave",g,l)});return s.forEach(h=>{h.addEventListener("pointerenter",d,l)}),u}const My=(t,n)=>n?t===n?!0:My(t,n.parentElement):!1,rd=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,ik=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function ok(t){return ik.has(t.tagName)||t.tabIndex!==-1}const Do=new WeakSet;function Km(t){return n=>{n.key==="Enter"&&t(n)}}function qu(t,n){t.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const sk=(t,n)=>{const i=t.currentTarget;if(!i)return;const s=Km(()=>{if(Do.has(i))return;qu(i,"down");const l=Km(()=>{qu(i,"up")}),u=()=>qu(i,"cancel");i.addEventListener("keyup",l,n),i.addEventListener("blur",u,n)});i.addEventListener("keydown",s,n),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),n)};function Hm(t){return rd(t)&&!Dy()}function ak(t,n,i={}){const[s,l,u]=Ry(t,i),d=h=>{const m=h.currentTarget;if(!Hm(h)||Do.has(m))return;Do.add(m);const p=n(h),g=(C,N)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",x),!(!Hm(C)||!Do.has(m))&&(Do.delete(m),typeof p=="function"&&p(C,{success:N}))},v=C=>{g(C,i.useGlobalTarget||My(m,C.target))},x=C=>{g(C,!1)};window.addEventListener("pointerup",v,l),window.addEventListener("pointercancel",x,l)};return s.forEach(h=>{!ok(h)&&h.getAttribute("tabindex")===null&&(h.tabIndex=0),(i.useGlobalTarget?window:h).addEventListener("pointerdown",d,l),h.addEventListener("focus",p=>sk(p,l),l)}),u}function lk(t){return t==="x"||t==="y"?Qt[t]?null:(Qt[t]=!0,()=>{Qt[t]=!1}):Qt.x||Qt.y?null:(Qt.x=Qt.y=!0,()=>{Qt.x=Qt.y=!1})}const Oy=new Set(["width","height","top","left","right","bottom",...Di]);let Ta;function uk(){Ta=void 0}const fn={now:()=>(Ta===void 0&&fn.set(ot.isProcessing||iS.useManualTiming?ot.timestamp:performance.now()),Ta),set:t=>{Ta=t,queueMicrotask(uk)}};function id(t,n){t.indexOf(n)===-1&&t.push(n)}function od(t,n){const i=t.indexOf(n);i>-1&&t.splice(i,1)}class sd{constructor(){this.subscriptions=[]}add(n){return id(this.subscriptions,n),()=>od(this.subscriptions,n)}notify(n,i,s){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](n,i,s);else for(let u=0;u<l;u++){const d=this.subscriptions[u];d&&d(n,i,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Fy(t,n){return n?t*(1e3/n):0}const Gm=30,ck=t=>!isNaN(parseFloat(t));class dk{constructor(n,i={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,l=!0)=>{const u=fn.now();this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),l&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(n),this.owner=i.owner}setCurrent(n){this.current=n,this.updatedAt=fn.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=ck(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,i){this.events[n]||(this.events[n]=new sd);const s=this.events[n].add(i);return n==="change"?()=>{s(),De.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,i){this.passiveEffect=n,this.stopPassiveEffect=i}set(n,i=!0){!i||!this.passiveEffect?this.updateAndNotify(n,i):this.passiveEffect(n,this.updateAndNotify)}setWithVelocity(n,i,s){this.set(i),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-s}jump(n,i=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=fn.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>Gm)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,Gm);return Fy(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(n){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=n(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Wo(t,n){return new dk(t,n)}function fk(t,n,i){t.hasValue(n)?t.getValue(n).set(i):t.addValue(n,Wo(i))}function hk(t,n){const i=Wa(t,n);let{transitionEnd:s={},transition:l={},...u}=i||{};u={...u,...s};for(const d in u){const h=TS(u[d]);fk(t,d,h)}}function mk(t){return!!(ft(t)&&t.add)}function gc(t,n){const i=t.getValue("willChange");if(mk(i))return i.add(n)}function jy(t){return t.props[fy]}const _y=(t,n,i)=>(((1-3*i+3*n)*t+(3*i-6*n))*t+3*n)*t,pk=1e-7,gk=12;function yk(t,n,i,s,l){let u,d,h=0;do d=n+(i-n)/2,u=_y(d,s,l)-t,u>0?i=d:n=d;while(Math.abs(u)>pk&&++h<gk);return d}function Xo(t,n,i,s){if(t===n&&i===s)return At;const l=u=>yk(u,0,1,t,i);return u=>u===0||u===1?u:_y(l(u),n,s)}const Iy=t=>n=>n<=.5?t(2*n)/2:(2-t(2*(1-n)))/2,By=t=>n=>1-t(1-n),Vy=Xo(.33,1.53,.69,.99),ad=By(Vy),zy=Iy(ad),Uy=t=>(t*=2)<1?.5*ad(t):.5*(2-Math.pow(2,-10*(t-1))),ld=t=>1-Math.sin(Math.acos(t)),$y=By(ld),Jy=Iy(ld),Wy=t=>/^0[^.\s]+$/u.test(t);function vk(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Wy(t):!0}const jo=t=>Math.round(t*1e5)/1e5,ud=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function wk(t){return t==null}const xk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,cd=(t,n)=>i=>!!(typeof i=="string"&&xk.test(i)&&i.startsWith(t)||n&&!wk(i)&&Object.prototype.hasOwnProperty.call(i,n)),qy=(t,n,i)=>s=>{if(typeof s!="string")return s;const[l,u,d,h]=s.match(ud);return{[t]:parseFloat(l),[n]:parseFloat(u),[i]:parseFloat(d),alpha:h!==void 0?parseFloat(h):1}},bk=t=>Ln(0,255,t),Ku={...Ri,transform:t=>Math.round(bk(t))},Lr={test:cd("rgb","red"),parse:qy("red","green","blue"),transform:({red:t,green:n,blue:i,alpha:s=1})=>"rgba("+Ku.transform(t)+", "+Ku.transform(n)+", "+Ku.transform(i)+", "+jo(Jo.transform(s))+")"};function Sk(t){let n="",i="",s="",l="";return t.length>5?(n=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),l=t.substring(7,9)):(n=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),l=t.substring(4,5),n+=n,i+=i,s+=s,l+=l),{red:parseInt(n,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:l?parseInt(l,16)/255:1}}const yc={test:cd("#"),parse:Sk,transform:Lr.transform},pi={test:cd("hsl","hue"),parse:qy("hue","saturation","lightness"),transform:({hue:t,saturation:n,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+dn.transform(jo(n))+", "+dn.transform(jo(i))+", "+jo(Jo.transform(s))+")"},dt={test:t=>Lr.test(t)||yc.test(t)||pi.test(t),parse:t=>Lr.test(t)?Lr.parse(t):pi.test(t)?pi.parse(t):yc.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Lr.transform(t):pi.transform(t)},kk=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Ck(t){var n,i;return isNaN(t)&&typeof t=="string"&&(((n=t.match(ud))===null||n===void 0?void 0:n.length)||0)+(((i=t.match(kk))===null||i===void 0?void 0:i.length)||0)>0}const Ky="number",Hy="color",Tk="var",Ek="var(",Ym="${}",Pk=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function qo(t){const n=t.toString(),i=[],s={color:[],number:[],var:[]},l=[];let u=0;const h=n.replace(Pk,m=>(dt.test(m)?(s.color.push(u),l.push(Hy),i.push(dt.parse(m))):m.startsWith(Ek)?(s.var.push(u),l.push(Tk),i.push(m)):(s.number.push(u),l.push(Ky),i.push(parseFloat(m))),++u,Ym)).split(Ym);return{values:i,split:h,indexes:s,types:l}}function Gy(t){return qo(t).values}function Yy(t){const{split:n,types:i}=qo(t),s=n.length;return l=>{let u="";for(let d=0;d<s;d++)if(u+=n[d],l[d]!==void 0){const h=i[d];h===Ky?u+=jo(l[d]):h===Hy?u+=dt.transform(l[d]):u+=l[d]}return u}}const Lk=t=>typeof t=="number"?0:t;function Nk(t){const n=Gy(t);return Yy(t)(n.map(Lk))}const ar={test:Ck,parse:Gy,createTransformer:Yy,getAnimatableNone:Nk},Ak=new Set(["brightness","contrast","saturate","opacity"]);function Dk(t){const[n,i]=t.slice(0,-1).split("(");if(n==="drop-shadow")return t;const[s]=i.match(ud)||[];if(!s)return t;const l=i.replace(s,"");let u=Ak.has(n)?1:0;return s!==i&&(u*=100),n+"("+u+l+")"}const Rk=/\b([a-z-]*)\(.*?\)/gu,vc={...ar,getAnimatableNone:t=>{const n=t.match(Rk);return n?n.map(Dk).join(" "):t}},Mk={...Hc,color:dt,backgroundColor:dt,outlineColor:dt,fill:dt,stroke:dt,borderColor:dt,borderTopColor:dt,borderRightColor:dt,borderBottomColor:dt,borderLeftColor:dt,filter:vc,WebkitFilter:vc},dd=t=>Mk[t];function Qy(t,n){let i=dd(t);return i!==vc&&(i=ar),i.getAnimatableNone?i.getAnimatableNone(n):void 0}const Ok=new Set(["auto","none","0"]);function Fk(t,n,i){let s=0,l;for(;s<t.length&&!l;){const u=t[s];typeof u=="string"&&!Ok.has(u)&&qo(u).values.length&&(l=t[s]),s++}if(l&&i)for(const u of n)t[u]=Qy(i,l)}const Qm=t=>t===Ri||t===ce,Xm=(t,n)=>parseFloat(t.split(", ")[n]),Zm=(t,n)=>(i,{transform:s})=>{if(s==="none"||!s)return 0;const l=s.match(/^matrix3d\((.+)\)$/u);if(l)return Xm(l[1],n);{const u=s.match(/^matrix\((.+)\)$/u);return u?Xm(u[1],t):0}},jk=new Set(["x","y","z"]),_k=Di.filter(t=>!jk.has(t));function Ik(t){const n=[];return _k.forEach(i=>{const s=t.getValue(i);s!==void 0&&(n.push([i,s.get()]),s.set(i.startsWith("scale")?1:0))}),n}const Ai={width:({x:t},{paddingLeft:n="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),height:({y:t},{paddingTop:n="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(n)-parseFloat(i),top:(t,{top:n})=>parseFloat(n),left:(t,{left:n})=>parseFloat(n),bottom:({y:t},{top:n})=>parseFloat(n)+(t.max-t.min),right:({x:t},{left:n})=>parseFloat(n)+(t.max-t.min),x:Zm(4,13),y:Zm(5,14)};Ai.translateX=Ai.x;Ai.translateY=Ai.y;const Fr=new Set;let wc=!1,xc=!1;function Xy(){if(xc){const t=Array.from(Fr).filter(s=>s.needsMeasurement),n=new Set(t.map(s=>s.element)),i=new Map;
vendor: 7,850 bytes, line 103
103n.forEach(s=>{const l=Ik(s);l.length&&(i.set(s,l),s.render())}),t.forEach(s=>s.measureInitialState()),n.forEach(s=>{s.render();const l=i.get(s);l&&l.forEach(([u,d])=>{var h;(h=s.getValue(u))===null||h===void 0||h.set(d)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}xc=!1,wc=!1,Fr.forEach(t=>t.complete()),Fr.clear()}function Zy(){Fr.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(xc=!0)})}function Bk(){Zy(),Xy()}class fd{constructor(n,i,s,l,u,d=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...n],this.onComplete=i,this.name=s,this.motionValue=l,this.element=u,this.isAsync=d}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Fr.add(this),wc||(wc=!0,De.read(Zy),De.resolveKeyframes(Xy))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:i,element:s,motionValue:l}=this;for(let u=0;u<n.length;u++)if(n[u]===null)if(u===0){const d=l==null?void 0:l.get(),h=n[n.length-1];if(d!==void 0)n[0]=d;else if(s&&i){const m=s.readValue(i,h);m!=null&&(n[0]=m)}n[0]===void 0&&(n[0]=h),l&&d===void 0&&l.set(n[0])}else n[u]=n[u-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Fr.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Fr.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const ev=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Vk=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function zk(t){const n=Vk.exec(t);if(!n)return[,];const[,i,s,l]=n;return[`--${i??s}`,l]}function tv(t,n,i=1){const[s,l]=zk(t);if(!s)return;const u=window.getComputedStyle(n).getPropertyValue(s);if(u){const d=u.trim();return ev(d)?parseFloat(d):d}return Kc(l)?tv(l,n,i+1):l}const nv=t=>n=>n.test(t),Uk={test:t=>t==="auto",parse:t=>t},rv=[Ri,ce,dn,Zn,DS,AS,Uk],ep=t=>rv.find(nv(t));class iv extends fd{constructor(n,i,s,l,u){super(n,i,s,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:i,name:s}=this;if(!i||!i.current)return;super.readKeyframes();for(let m=0;m<n.length;m++){let p=n[m];if(typeof p=="string"&&(p=p.trim(),Kc(p))){const g=tv(p,i.current);g!==void 0&&(n[m]=g),m===n.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!Oy.has(s)||n.length!==2)return;const[l,u]=n,d=ep(l),h=ep(u);if(d!==h)if(Qm(d)&&Qm(h))for(let m=0;m<n.length;m++){const p=n[m];typeof p=="string"&&(n[m]=parseFloat(p))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:i}=this,s=[];for(let l=0;l<n.length;l++)vk(n[l])&&s.push(l);s.length&&Fk(n,s,i)}measureInitialState(){const{element:n,unresolvedKeyframes:i,name:s}=this;if(!n||!n.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ai[s](n.measureViewportBox(),window.getComputedStyle(n.current)),i[0]=this.measuredOrigin;const l=i[i.length-1];l!==void 0&&n.getValue(s,l).jump(l,!1)}measureEndState(){var n;const{element:i,name:s,unresolvedKeyframes:l}=this;if(!i||!i.current)return;const u=i.getValue(s);u&&u.jump(this.measuredOrigin,!1);const d=l.length-1,h=l[d];l[d]=Ai[s](i.measureViewportBox(),window.getComputedStyle(i.current)),h!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=h),!((n=this.removedTransforms)===null||n===void 0)&&n.length&&this.removedTransforms.forEach(([m,p])=>{i.getValue(m).set(p)}),this.resolveNoneKeyframes()}}const tp=(t,n)=>n==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(ar.test(t)||t==="0")&&!t.startsWith("url("));function $k(t){const n=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==n)return!0}function Jk(t,n,i,s){const l=t[0];if(l===null)return!1;if(n==="display"||n==="visibility")return!0;const u=t[t.length-1],d=tp(l,n),h=tp(u,n);return!d||!h?!1:$k(t)||(i==="spring"||td(i))&&s}const Wk=t=>t!==null;function qa(t,{repeat:n,repeatType:i="loop"},s){const l=t.filter(Wk),u=n&&i!=="loop"&&n%2===1?0:l.length-1;return!u||s===void 0?l[u]:s}const qk=40;class ov{constructor({autoplay:n=!0,delay:i=0,type:s="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:d="loop",...h}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=fn.now(),this.options={autoplay:n,delay:i,type:s,repeat:l,repeatDelay:u,repeatType:d,...h},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>qk?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&Bk(),this._resolved}onKeyframesResolved(n,i){this.resolvedAt=fn.now(),this.hasAttemptedResolve=!0;const{name:s,type:l,velocity:u,delay:d,onComplete:h,onUpdate:m,isGenerator:p}=this.options;if(!p&&!Jk(n,s,l,u))if(d)this.options.duration=0;else{m&&m(qa(n,this.options,i)),h&&h(),this.resolveFinishedPromise();return}const g=this.initPlayback(n,i);g!==!1&&(this._resolved={keyframes:n,finalKeyframe:i,...g},this.onPostResolved())}onPostResolved(){}then(n,i){return this.currentFinishedPromise.then(n,i)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(n=>{this.resolveFinishedPromise=n})}}const je=(t,n,i)=>t+(n-t)*i;function Hu(t,n,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(n-t)*6*i:i<1/2?n:i<2/3?t+(n-t)*(2/3-i)*6:t}function Kk({hue:t,saturation:n,lightness:i,alpha:s}){t/=360,n/=100,i/=100;let l=0,u=0,d=0;if(!n)l=u=d=i;else{const h=i<.5?i*(1+n):i+n-i*n,m=2*i-h;l=Hu(m,h,t+1/3),u=Hu(m,h,t),d=Hu(m,h,t-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(d*255),alpha:s}}function Oa(t,n){return i=>i>0?n:t}const Gu=(t,n,i)=>{const s=t*t,l=i*(n*n-s)+s;return l<0?0:Math.sqrt(l)},Hk=[yc,Lr,pi],Gk=t=>Hk.find(n=>n.test(t));function np(t){const n=Gk(t);if(!n)return!1;let i=n.parse(t);return n===pi&&(i=Kk(i)),i}const rp=(t,n)=>{const i=np(t),s=np(n);if(!i||!s)return Oa(t,n);const l={...i};return u=>(l.red=Gu(i.red,s.red,u),l.green=Gu(i.green,s.green,u),l.blue=Gu(i.blue,s.blue,u),l.alpha=je(i.alpha,s.alpha,u),Lr.transform(l))},Yk=(t,n)=>i=>n(t(i)),Zo=(...t)=>t.reduce(Yk),bc=new Set(["none","hidden"]);function Qk(t,n){return bc.has(t)?i=>i<=0?t:n:i=>i>=1?n:t}function Xk(t,n){return i=>je(t,n,i)}function hd(t){return typeof t=="number"?Xk:typeof t=="string"?Kc(t)?Oa:dt.test(t)?rp:t1:Array.isArray(t)?sv:typeof t=="object"?dt.test(t)?rp:Zk:Oa}function sv(t,n){const i=[...t],s=i.length,l=t.map((u,d)=>hd(u)(u,n[d]));return u=>{for(let d=0;d<s;d++)i[d]=l[d](u);return i}}function Zk(t,n){const i={...t,...n},s={};for(const l in i)t[l]!==void 0&&n[l]!==void 0&&(s[l]=hd(t[l])(t[l],n[l]));return l=>{for(const u in s)i[u]=s[u](l);return i}}function e1(t,n){var i;const s=[],l={color:0,var:0,number:0};for(let u=0;u<n.values.length;u++){const d=n.types[u],h=t.indexes[d][l[d]],m=(i=t.values[h])!==null&&i!==void 0?i:0;s[u]=m,l[d]++}return s}const t1=(t,n)=>{const i=ar.createTransformer(n),s=qo(t),l=qo(n);return s.indexes.var.length===l.indexes.var.length&&s.indexes.color.length===l.indexes.color.length&&s.indexes.number.length>=l.indexes.number.length?bc.has(t)&&!l.values.length||bc.has(n)&&!s.values.length?Qk(t,n):Zo(sv(e1(s,l),l.values),i):Oa(t,n)};function av(t,n,i){return typeof t=="number"&&typeof n=="number"&&typeof i=="number"?je(t,n,i):hd(t)(t,n)}const n1=5;function lv(t,n,i){const s=Math.max(n-n1,0);return Fy(i-t(s),n-s)}const Ue={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Yu=.001;function r1({duration:t=Ue.duration,bounce:n=Ue.bounce,velocity:i=Ue.velocity,mass:s=Ue.mass}){let l,u,d=1-n;d=Ln(Ue.minDamping,Ue.maxDamping,d),t=Ln(Ue.minDuration,Ue.maxDuration,Pn(t)),d<1?(l=p=>
vendor: 8,792 bytes, line 103
103{const g=p*d,v=g*t,x=g-i,C=Sc(p,d),N=Math.exp(-v);return Yu-x/C*N},u=p=>{const v=p*d*t,x=v*i+i,C=Math.pow(d,2)*Math.pow(p,2)*t,N=Math.exp(-v),k=Sc(Math.pow(p,2),d);return(-l(p)+Yu>0?-1:1)*((x-C)*N)/k}):(l=p=>{const g=Math.exp(-p*t),v=(p-i)*t+1;return-Yu+g*v},u=p=>{const g=Math.exp(-p*t),v=(i-p)*(t*t);return g*v});const h=5/t,m=o1(l,u,h);if(t=En(t),isNaN(m))return{stiffness:Ue.stiffness,damping:Ue.damping,duration:t};{const p=Math.pow(m,2)*s;return{stiffness:p,damping:d*2*Math.sqrt(s*p),duration:t}}}const i1=12;function o1(t,n,i){let s=i;for(let l=1;l<i1;l++)s=s-t(s)/n(s);return s}function Sc(t,n){return t*Math.sqrt(1-n*n)}const s1=["duration","bounce"],a1=["stiffness","damping","mass"];function ip(t,n){return n.some(i=>t[i]!==void 0)}function l1(t){let n={velocity:Ue.velocity,stiffness:Ue.stiffness,damping:Ue.damping,mass:Ue.mass,isResolvedFromDuration:!1,...t};if(!ip(t,a1)&&ip(t,s1))if(t.visualDuration){const i=t.visualDuration,s=2*Math.PI/(i*1.2),l=s*s,u=2*Ln(.05,1,1-(t.bounce||0))*Math.sqrt(l);n={...n,mass:Ue.mass,stiffness:l,damping:u}}else{const i=r1(t);n={...n,...i,mass:Ue.mass},n.isResolvedFromDuration=!0}return n}function uv(t=Ue.visualDuration,n=Ue.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:n}:t;let{restSpeed:s,restDelta:l}=i;const u=i.keyframes[0],d=i.keyframes[i.keyframes.length-1],h={done:!1,value:u},{stiffness:m,damping:p,mass:g,duration:v,velocity:x,isResolvedFromDuration:C}=l1({...i,velocity:-Pn(i.velocity||0)}),N=x||0,k=p/(2*Math.sqrt(m*g)),E=d-u,R=Pn(Math.sqrt(m/g)),F=Math.abs(E)<5;s||(s=F?Ue.restSpeed.granular:Ue.restSpeed.default),l||(l=F?Ue.restDelta.granular:Ue.restDelta.default);let j;if(k<1){const V=Sc(R,k);j=I=>{const G=Math.exp(-k*R*I);return d-G*((N+k*R*E)/V*Math.sin(V*I)+E*Math.cos(V*I))}}else if(k===1)j=V=>d-Math.exp(-R*V)*(E+(N+R*E)*V);else{const V=R*Math.sqrt(k*k-1);j=I=>{const G=Math.exp(-k*R*I),D=Math.min(V*I,300);return d-G*((N+k*R*E)*Math.sinh(D)+V*E*Math.cosh(D))/V}}const O={calculatedDuration:C&&v||null,next:V=>{const I=j(V);if(C)h.done=V>=v;else{let G=0;k<1&&(G=V===0?En(N):lv(j,V,I));const D=Math.abs(G)<=s,Y=Math.abs(d-I)<=l;h.done=D&&Y}return h.value=h.done?d:I,h},toString:()=>{const V=Math.min(Py(O),mc),I=Ly(G=>O.next(V*G).value,V,30);return V+"ms "+I}};return O}function op({keyframes:t,velocity:n=0,power:i=.8,timeConstant:s=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:d,min:h,max:m,restDelta:p=.5,restSpeed:g}){const v=t[0],x={done:!1,value:v},C=D=>h!==void 0&&D<h||m!==void 0&&D>m,N=D=>h===void 0?m:m===void 0||Math.abs(h-D)<Math.abs(m-D)?h:m;let k=i*n;const E=v+k,R=d===void 0?E:d(E);R!==E&&(k=R-v);const F=D=>-k*Math.exp(-D/s),j=D=>R+F(D),O=D=>{const Y=F(D),H=j(D);x.done=Math.abs(Y)<=p,x.value=x.done?R:H};let V,I;const G=D=>{C(x.value)&&(V=D,I=uv({keyframes:[x.value,N(x.value)],velocity:lv(j,D,x.value),damping:l,stiffness:u,restDelta:p,restSpeed:g}))};return G(0),{calculatedDuration:null,next:D=>{let Y=!1;return!I&&V===void 0&&(Y=!0,O(D),G(D)),V!==void 0&&D>=V?I.next(D-V):(!Y&&O(D),x)}}}const u1=Xo(.42,0,1,1),c1=Xo(0,0,.58,1),cv=Xo(.42,0,.58,1),d1=t=>Array.isArray(t)&&typeof t[0]!="number",f1={linear:At,easeIn:u1,easeInOut:cv,easeOut:c1,circIn:ld,circInOut:Jy,circOut:$y,backIn:ad,backInOut:zy,backOut:Vy,anticipate:Uy},sp=t=>{if(nd(t)){ay(t.length===4);const[n,i,s,l]=t;return Xo(n,i,s,l)}else if(typeof t=="string")return f1[t];return t};function h1(t,n,i){const s=[],l=i||av,u=t.length-1;for(let d=0;d<u;d++){let h=l(t[d],t[d+1]);if(n){const m=Array.isArray(n)?n[d]||At:n;h=Zo(m,h)}s.push(h)}return s}function m1(t,n,{clamp:i=!0,ease:s,mixer:l}={}){const u=t.length;if(ay(u===n.length),u===1)return()=>n[0];if(u===2&&n[0]===n[1])return()=>n[1];const d=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),n=[...n].reverse());const h=h1(n,s,l),m=h.length,p=g=>{if(d&&g<t[0])return n[0];let v=0;if(m>1)for(;v<t.length-2&&!(g<t[v+1]);v++);const x=Li(t[v],t[v+1],g);return h[v](x)};return i?g=>p(Ln(t[0],t[u-1],g)):p}function p1(t,n){const i=t[t.length-1];for(let s=1;s<=n;s++){const l=Li(0,n,s);t.push(je(i,1,l))}}function g1(t){const n=[0];return p1(n,t.length-1),n}function y1(t,n){return t.map(i=>i*n)}function v1(t,n){return t.map(()=>n||cv).splice(0,t.length-1)}function Fa({duration:t=300,keyframes:n,times:i,ease:s="easeInOut"}){const l=d1(s)?s.map(sp):sp(s),u={done:!1,value:n[0]},d=y1(i&&i.length===n.length?i:g1(n),t),h=m1(d,n,{ease:Array.isArray(l)?l:v1(n,l)});return{calculatedDuration:t,next:m=>(u.value=h(m),u.done=m>=t,u)}}const w1=t=>{const n=({timestamp:i})=>t(i);return{start:()=>De.update(n,!0),stop:()=>sr(n),now:()=>ot.isProcessing?ot.timestamp:fn.now()}},x1={decay:op,inertia:op,tween:Fa,keyframes:Fa,spring:uv},b1=t=>t/100;class md extends ov{constructor(n){super(n),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:m}=this.options;m&&m()};const{name:i,motionValue:s,element:l,keyframes:u}=this.options,d=(l==null?void 0:l.KeyframeResolver)||fd,h=(m,p)=>this.onKeyframesResolved(m,p);this.resolver=new d(u,h,i,s,l),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(n){const{type:i="keyframes",repeat:s=0,repeatDelay:l=0,repeatType:u,velocity:d=0}=this.options,h=td(i)?i:x1[i]||Fa;let m,p;h!==Fa&&typeof n[0]!="number"&&(m=Zo(b1,av(n[0],n[1])),n=[0,100]);const g=h({...this.options,keyframes:n});u==="mirror"&&(p=h({...this.options,keyframes:[...n].reverse(),velocity:-d})),g.calculatedDuration===null&&(g.calculatedDuration=Py(g));const{calculatedDuration:v}=g,x=v+l,C=x*(s+1)-l;return{generator:g,mirroredGenerator:p,mapPercentToKeyframes:m,calculatedDuration:v,resolvedDuration:x,totalDuration:C}}onPostResolved(){const{autoplay:n=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!n?this.pause():this.state=this.pendingPlayState}tick(n,i=!1){const{resolved:s}=this;if(!s){const{keyframes:D}=this.options;return{done:!0,value:D[D.length-1]}}const{finalKeyframe:l,generator:u,mirroredGenerator:d,mapPercentToKeyframes:h,keyframes:m,calculatedDuration:p,totalDuration:g,resolvedDuration:v}=s;if(this.startTime===null)return u.next(0);const{delay:x,repeat:C,repeatType:N,repeatDelay:k,onUpdate:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-g/this.speed,this.startTime)),i?this.currentTime=n:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(n-this.startTime)*this.speed;const R=this.currentTime-x*(this.speed>=0?1:-1),F=this.speed>=0?R<0:R>g;this.currentTime=Math.max(R,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=g);let j=this.currentTime,O=u;if(C){const D=Math.min(this.currentTime,g)/v;let Y=Math.floor(D),H=D%1;!H&&D>=1&&(H=1),H===1&&Y--,Y=Math.min(Y,C+1),!!(Y%2)&&(N==="reverse"?(H=1-H,k&&(H-=k/v)):N==="mirror"&&(O=d)),j=Ln(0,1,H)*v}const V=F?{done:!1,value:m[0]}:O.next(j);h&&(V.value=h(V.value));let{done:I}=V;!F&&p!==null&&(I=this.speed>=0?this.currentTime>=g:this.currentTime<=0);const G=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&I);return G&&l!==void 0&&(V.value=qa(m,this.options,l)),E&&E(V.value),G&&this.finish(),V}get duration(){const{resolved:n}=this;return n?Pn(n.calculatedDuration):0}get time(){return Pn(this.currentTime)}set time(n){n=En(n),this.currentTime=n,this.holdTime!==null||this.speed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.speed)}get speed(){return this.playbackSpeed}set speed(n){const i=this.playbackSpeed!==n;this.playbackSpeed=n,i&&(this.time=Pn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:n=w1,onPlay:i,startTime:s}=this.options;this.driver||(this.driver=n(u=>this.tick(u))),i&&i();const l=this.driver.now();this.holdTime!==null?this.startTime=l-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=l):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var n;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(n=this.currentTime)!==null&&n!==void 0?n:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:n}=this.options;n&&n()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedProm
vendor: 4,066 bytes, line 103
103ise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(n){return this.startTime=0,this.tick(n,!0)}}const S1=new Set(["opacity","clipPath","filter","transform"]);function k1(t,n,i,{delay:s=0,duration:l=300,repeat:u=0,repeatType:d="loop",ease:h="easeInOut",times:m}={}){const p={[n]:i};m&&(p.offset=m);const g=Ay(h,l);return Array.isArray(g)&&(p.easing=g),t.animate(p,{delay:s,duration:l,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:u+1,direction:d==="reverse"?"alternate":"normal"})}const C1=Vc(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),ja=10,T1=2e4;function E1(t){return td(t.type)||t.type==="spring"||!Ny(t.ease)}function P1(t,n){const i=new md({...n,keyframes:t,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:t[0]};const l=[];let u=0;for(;!s.done&&u<T1;)s=i.sample(u),l.push(s.value),u+=ja;return{times:void 0,keyframes:l,duration:u-ja,ease:"linear"}}const dv={anticipate:Uy,backInOut:zy,circInOut:Jy};function L1(t){return t in dv}class ap extends ov{constructor(n){super(n);const{name:i,motionValue:s,element:l,keyframes:u}=this.options;this.resolver=new iv(u,(d,h)=>this.onKeyframesResolved(d,h),i,s,l),this.resolver.scheduleResolve()}initPlayback(n,i){let{duration:s=300,times:l,ease:u,type:d,motionValue:h,name:m,startTime:p}=this.options;if(!h.owner||!h.owner.current)return!1;if(typeof u=="string"&&Ma()&&L1(u)&&(u=dv[u]),E1(this.options)){const{onComplete:v,onUpdate:x,motionValue:C,element:N,...k}=this.options,E=P1(n,k);n=E.keyframes,n.length===1&&(n[1]=n[0]),s=E.duration,l=E.times,u=E.ease,d="keyframes"}const g=k1(h.owner.current,m,n,{...this.options,duration:s,times:l,ease:u});return g.startTime=p??this.calcStartTime(),this.pendingTimeline?(Wm(g,this.pendingTimeline),this.pendingTimeline=void 0):g.onfinish=()=>{const{onComplete:v}=this.options;h.set(qa(n,this.options,i)),v&&v(),this.cancel(),this.resolveFinishedPromise()},{animation:g,duration:s,times:l,type:d,ease:u,keyframes:n}}get duration(){const{resolved:n}=this;if(!n)return 0;const{duration:i}=n;return Pn(i)}get time(){const{resolved:n}=this;if(!n)return 0;const{animation:i}=n;return Pn(i.currentTime||0)}set time(n){const{resolved:i}=this;if(!i)return;const{animation:s}=i;s.currentTime=En(n)}get speed(){const{resolved:n}=this;if(!n)return 1;const{animation:i}=n;return i.playbackRate}set speed(n){const{resolved:i}=this;if(!i)return;const{animation:s}=i;s.playbackRate=n}get state(){const{resolved:n}=this;if(!n)return"idle";const{animation:i}=n;return i.playState}get startTime(){const{resolved:n}=this;if(!n)return null;const{animation:i}=n;return i.startTime}attachTimeline(n){if(!this._resolved)this.pendingTimeline=n;else{const{resolved:i}=this;if(!i)return At;const{animation:s}=i;Wm(s,n)}return At}play(){if(this.isStopped)return;const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.playState==="finished"&&this.updateFinishedPromise(),i.play()}pause(){const{resolved:n}=this;if(!n)return;const{animation:i}=n;i.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:n}=this;if(!n)return;const{animation:i,keyframes:s,duration:l,type:u,ease:d,times:h}=n;if(i.playState==="idle"||i.playState==="finished")return;if(this.time){const{motionValue:p,onUpdate:g,onComplete:v,element:x,...C}=this.options,N=new md({...C,keyframes:s,duration:l,type:u,ease:d,times:h,isGenerator:!0}),k=En(this.time);p.setWithVelocity(N.sample(k-ja).value,N.sample(k).value,ja)}const{onStop:m}=this.options;m&&m(),this.cancel()}complete(){const{resolved:n}=this;n&&n.animation.finish()}cancel(){const{resolved:n}=this;n&&n.animation.cancel()}static supports(n){const{motionValue:i,name:s,repeatDelay:l,repeatType:u,damping:d,type:h}=n;if(!i||!i.owner||!(i.owner.current instanceof HTMLElement))return!1;const{onUpdate:m,transformTemplate:p}=i.owner.getProps();
vendor: 53,047 bytes, line 103
103return C1()&&s&&S1.has(s)&&!m&&!p&&!l&&u!=="mirror"&&d!==0&&h!=="inertia"}}const N1={type:"spring",stiffness:500,damping:25,restSpeed:10},A1=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),D1={type:"keyframes",duration:.8},R1={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},M1=(t,{keyframes:n})=>n.length>2?D1:Br.has(t)?t.startsWith("scale")?A1(n[1]):N1:R1;function O1({when:t,delay:n,delayChildren:i,staggerChildren:s,staggerDirection:l,repeat:u,repeatType:d,repeatDelay:h,from:m,elapsed:p,...g}){return!!Object.keys(g).length}const pd=(t,n,i,s={},l,u)=>d=>{const h=ed(s,t)||{},m=h.delay||s.delay||0;let{elapsed:p=0}=s;p=p-En(m);let g={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:n.getVelocity(),...h,delay:-p,onUpdate:x=>{n.set(x),h.onUpdate&&h.onUpdate(x)},onComplete:()=>{d(),h.onComplete&&h.onComplete()},name:t,motionValue:n,element:u?void 0:l};O1(h)||(g={...g,...M1(t,g)}),g.duration&&(g.duration=En(g.duration)),g.repeatDelay&&(g.repeatDelay=En(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let v=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(g.duration=0,g.delay===0&&(v=!0)),v&&!u&&n.get()!==void 0){const x=qa(g.keyframes,h);if(x!==void 0)return De.update(()=>{g.onUpdate(x),g.onComplete()}),new ZS([])}return!u&&ap.supports(g)?new ap(g):new md(g)};function F1({protectedKeys:t,needsAnimating:n},i){const s=t.hasOwnProperty(i)&&n[i]!==!0;return n[i]=!1,s}function fv(t,n,{delay:i=0,transitionOverride:s,type:l}={}){var u;let{transition:d=t.getDefaultTransition(),transitionEnd:h,...m}=n;s&&(d=s);const p=[],g=l&&t.animationState&&t.animationState.getState()[l];for(const v in m){const x=t.getValue(v,(u=t.latestValues[v])!==null&&u!==void 0?u:null),C=m[v];if(C===void 0||g&&F1(g,v))continue;const N={delay:i,...ed(d||{},v)};let k=!1;if(window.MotionHandoffAnimation){const R=jy(t);if(R){const F=window.MotionHandoffAnimation(R,v,De);F!==null&&(N.startTime=F,k=!0)}}gc(t,v),x.start(pd(v,x,C,t.shouldReduceMotion&&Oy.has(v)?{type:!1}:N,t,k));const E=x.animation;E&&p.push(E)}return h&&Promise.all(p).then(()=>{De.update(()=>{h&&hk(t,h)})}),p}function kc(t,n,i={}){var s;const l=Wa(t,n,i.type==="exit"?(s=t.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:u=t.getDefaultTransition()||{}}=l||{};i.transitionOverride&&(u=i.transitionOverride);const d=l?()=>Promise.all(fv(t,l,i)):()=>Promise.resolve(),h=t.variantChildren&&t.variantChildren.size?(p=0)=>{const{delayChildren:g=0,staggerChildren:v,staggerDirection:x}=u;return j1(t,n,g+p,v,x,i)}:()=>Promise.resolve(),{when:m}=u;if(m){const[p,g]=m==="beforeChildren"?[d,h]:[h,d];return p().then(()=>g())}else return Promise.all([d(),h(i.delay)])}function j1(t,n,i=0,s=0,l=1,u){const d=[],h=(t.variantChildren.size-1)*s,m=l===1?(p=0)=>p*s:(p=0)=>h-p*s;return Array.from(t.variantChildren).sort(_1).forEach((p,g)=>{p.notify("AnimationStart",n),d.push(kc(p,n,{...u,delay:i+m(g)}).then(()=>p.notify("AnimationComplete",n)))}),Promise.all(d)}function _1(t,n){return t.sortNodePosition(n)}function I1(t,n,i={}){t.notify("AnimationStart",n);let s;if(Array.isArray(n)){const l=n.map(u=>kc(t,u,i));s=Promise.all(l)}else if(typeof n=="string")s=kc(t,n,i);else{const l=typeof n=="function"?Wa(t,n,i.custom):n;s=Promise.all(fv(t,l,i))}return s.then(()=>{t.notify("AnimationComplete",n)})}const B1=Uc.length;function hv(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?hv(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const n={};for(let i=0;i<B1;i++){const s=Uc[i],l=t.props[s];($o(l)||l===!1)&&(n[s]=l)}return n}const V1=[...zc].reverse(),z1=zc.length;function U1(t){return n=>Promise.all(n.map(({animation:i,options:s})=>I1(t,i,s)))}function $1(t){let n=U1(t),i=lp(),s=!0;const l=m=>(p,g)=>{var v;const x=Wa(t,g,m==="exit"?(v=t.presenceContext)===null||v===void 0?void 0:v.custom:void 0);if(x){const{transition:C,transitionEnd:N,...k}=x;p={...p,...k,...N}}return p};function u(m){n=m(t)}function d(m){const{props:p}=t,g=hv(t.parent)||{},v=[],x=new Set;let C={},N=1/0;for(let E=0;E<z1;E++){const R=V1[E],F=i[R],j=p[R]!==void 0?p[R]:g[R],O=$o(j),V=R===m?F.isActive:null;V===!1&&(N=E);let I=j===g[R]&&j!==p[R]&&O;if(I&&s&&t.manuallyAnimateOnMount&&(I=!1),F.protectedKeys={...C},!F.isActive&&V===null||!j&&!F.prevProp||$a(j)||typeof j=="boolean")continue;const G=J1(F.prevProp,j);let D=G||R===m&&F.isActive&&!I&&O||E>N&&O,Y=!1;const H=Array.isArray(j)?j:[j];let ge=H.reduce(l(R),{});V===!1&&(ge={});const{prevResolvedValues:qe={}}=F,_e={...qe,...ge},Me=de=>{D=!0,x.has(de)&&(Y=!0,x.delete(de)),F.needsAnimating[de]=!0;const q=t.getValue(de);q&&(q.liveStyle=!1)};for(const de in _e){const q=ge[de],re=qe[de];if(C.hasOwnProperty(de))continue;let _=!1;hc(q)&&hc(re)?_=!Ey(q,re):_=q!==re,_?q!=null?Me(de):x.add(de):q!==void 0&&x.has(de)?Me(de):F.protectedKeys[de]=!0}F.prevProp=j,F.prevResolvedValues=ge,F.isActive&&(C={...C,...ge}),s&&t.blockInitialAnimation&&(D=!1),D&&(!(I&&G)||Y)&&v.push(...H.map(de=>({animation:de,options:{type:R}})))}if(x.size){const E={};x.forEach(R=>{const F=t.getBaseTarget(R),j=t.getValue(R);j&&(j.liveStyle=!0),E[R]=F??null}),v.push({animation:E})}let k=!!v.length;return s&&(p.initial===!1||p.initial===p.animate)&&!t.manuallyAnimateOnMount&&(k=!1),s=!1,k?n(v):Promise.resolve()}function h(m,p){var g;if(i[m].isActive===p)return Promise.resolve();(g=t.variantChildren)===null||g===void 0||g.forEach(x=>{var C;return(C=x.animationState)===null||C===void 0?void 0:C.setActive(m,p)}),i[m].isActive=p;const v=d(m);for(const x in i)i[x].protectedKeys={};return v}return{animateChanges:d,setActive:h,setAnimateFunction:u,getState:()=>i,reset:()=>{i=lp(),s=!0}}}function J1(t,n){return typeof n=="string"?n!==t:Array.isArray(n)?!Ey(n,t):!1}function Cr(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function lp(){return{animate:Cr(!0),whileInView:Cr(),whileHover:Cr(),whileTap:Cr(),whileDrag:Cr(),whileFocus:Cr(),exit:Cr()}}class ur{constructor(n){this.isMounted=!1,this.node=n}update(){}}class W1 extends ur{constructor(n){super(n),n.animationState||(n.animationState=$1(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();$a(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:i}=this.node.prevProps||{};n!==i&&this.updateAnimationControlsSubscription()}unmount(){var n;this.node.animationState.reset(),(n=this.unmountControls)===null||n===void 0||n.call(this)}}let q1=0;class K1 extends ur{constructor(){super(...arguments),this.id=q1++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:i}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===s)return;const l=this.node.animationState.setActive("exit",!n);i&&!n&&l.then(()=>i(this.id))}mount(){const{register:n}=this.node.presenceContext||{};n&&(this.unmount=n(this.id))}unmount(){}}const H1={animation:{Feature:W1},exit:{Feature:K1}};function Ko(t,n,i,s={passive:!0}){return t.addEventListener(n,i,s),()=>t.removeEventListener(n,i)}function es(t){return{point:{x:t.pageX,y:t.pageY}}}const G1=t=>n=>rd(n)&&t(n,es(n));function _o(t,n,i,s){return Ko(t,n,G1(i),s)}const up=(t,n)=>Math.abs(t-n);function Y1(t,n){const i=up(t.x,n.x),s=up(t.y,n.y);return Math.sqrt(i**2+s**2)}class mv{constructor(n,i,{transformPagePoint:s,contextWindow:l,dragSnapToOrigin:u=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=Xu(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,C=Y1(v.offset,{x:0,y:0})>=3;if(!x&&!C)return;const{point:N}=v,{timestamp:k}=ot;this.history.push({...N,timestamp:k});const{onStart:E,onMove:R}=this.handlers;x||(E&&E(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),R&&R(this.lastMoveEvent,v)},this.handlePointerMove=(v,x)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=Qu(x,this.transformPagePoint),De.update(this.updatePoint,!0)},this.handlePointerUp=(v,x)=>{this.end();const{onEnd:C,onSessionEnd:N,resumeAnimation:k}=this.handlers;if(this.dragSnapToOrigin&&k&&k(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const E=Xu(v.type==="pointercancel"?this.lastMoveEventInfo:Qu(x,this.transformPagePoint),this.history);this.startEvent&&C&&C(v,E),N&&N(v,E)},!rd(n))return;this.dragSnapToOrigin=u,this.handlers=i,this.transformPagePoint=s,this.contextWindow=l||window;const d=es(n),h=Qu(d,this.transformPagePoint),{point:m}=h,{timestamp:p}=ot;this.history=[{...m,timestamp:p}];const{onSessionStart:g}=i;g&&g(n,Xu(h,this.history)),this.removeListeners=Zo(_o(this.contextWindow,"pointermove",this.handlePointerMove),_o(this.contextWindow,"pointerup",this.handlePointerUp),_o(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),sr(this.updatePoint)}}function Qu(t,n){return n?{point:n(t.point)}:t}function cp(t,n){return{x:t.x-n.x,y:t.y-n.y}}function Xu({point:t},n){return{point:t,delta:cp(t,pv(n)),offset:cp(t,Q1(n)),velocity:X1(n,.1)}}function Q1(t){return t[0]}function pv(t){return t[t.length-1]}function X1(t,n){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null;const l=pv(t);for(;i>=0&&(s=t[i],!(l.timestamp-s.timestamp>En(n)));)i--;if(!s)return{x:0,y:0};const u=Pn(l.timestamp-s.timestamp);if(u===0)return{x:0,y:0};const d={x:(l.x-s.x)/u,y:(l.y-s.y)/u};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}const gv=1e-4,Z1=1-gv,eC=1+gv,yv=.01,tC=0-yv,nC=0+yv;function Dt(t){return t.max-t.min}function rC(t,n,i){return Math.abs(t-n)<=i}function dp(t,n,i,s=.5){t.origin=s,t.originPoint=je(n.min,n.max,t.origin),t.scale=Dt(i)/Dt(n),t.translate=je(i.min,i.max,t.origin)-t.originPoint,(t.scale>=Z1&&t.scale<=eC||isNaN(t.scale))&&(t.scale=1),(t.translate>=tC&&t.translate<=nC||isNaN(t.translate))&&(t.translate=0)}function Io(t,n,i,s){dp(t.x,n.x,i.x,s?s.originX:void 0),dp(t.y,n.y,i.y,s?s.originY:void 0)}function fp(t,n,i){t.min=i.min+n.min,t.max=t.min+Dt(n)}function iC(t,n,i){fp(t.x,n.x,i.x),fp(t.y,n.y,i.y)}function hp(t,n,i){t.min=n.min-i.min,t.max=t.min+Dt(n)}function Bo(t,n,i){hp(t.x,n.x,i.x),hp(t.y,n.y,i.y)}function oC(t,{min:n,max:i},s){return n!==void 0&&t<n?t=s?je(n,t,s.min):Math.max(t,n):i!==void 0&&t>i&&(t=s?je(i,t,s.max):Math.min(t,i)),t}function mp(t,n,i){return{min:n!==void 0?t.min+n:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function sC(t,{top:n,left:i,bottom:s,right:l}){return{x:mp(t.x,i,l),y:mp(t.y,n,s)}}function pp(t,n){let i=n.min-t.min,s=n.max-t.max;return n.max-n.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function aC(t,n){return{x:pp(t.x,n.x),y:pp(t.y,n.y)}}function lC(t,n){let i=.5;const s=Dt(t),l=Dt(n);return l>s?i=Li(n.min,n.max-s,t.min):s>l&&(i=Li(t.min,t.max-l,n.min)),Ln(0,1,i)}function uC(t,n){const i={};return n.min!==void 0&&(i.min=n.min-t.min),n.max!==void 0&&(i.max=n.max-t.min),i}const Cc=.35;function cC(t=Cc){return t===!1?t=0:t===!0&&(t=Cc),{x:gp(t,"left","right"),y:gp(t,"top","bottom")}}function gp(t,n,i){return{min:yp(t,n),max:yp(t,i)}}function yp(t,n){return typeof t=="number"?t:t[n]||0}const vp=()=>({translate:0,scale:1,origin:0,originPoint:0}),gi=()=>({x:vp(),y:vp()}),wp=()=>({min:0,max:0}),We=()=>({x:wp(),y:wp()});function Vt(t){return[t("x"),t("y")]}function vv({top:t,left:n,right:i,bottom:s}){return{x:{min:n,max:i},y:{min:t,max:s}}}function dC({x:t,y:n}){return{top:n.min,right:t.max,bottom:n.max,left:t.min}}function fC(t,n){if(!n)return t;const i=n({x:t.left,y:t.top}),s=n({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function Zu(t){return t===void 0||t===1}function Tc({scale:t,scaleX:n,scaleY:i}){return!Zu(t)||!Zu(n)||!Zu(i)}function Tr(t){return Tc(t)||wv(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function wv(t){return xp(t.x)||xp(t.y)}function xp(t){return t&&t!=="0%"}function _a(t,n,i){const s=t-i,l=n*s;return i+l}function bp(t,n,i,s,l){return l!==void 0&&(t=_a(t,l,s)),_a(t,i,s)+n}function Ec(t,n=0,i=1,s,l){t.min=bp(t.min,n,i,s,l),t.max=bp(t.max,n,i,s,l)}function xv(t,{x:n,y:i}){Ec(t.x,n.translate,n.scale,n.originPoint),Ec(t.y,i.translate,i.scale,i.originPoint)}const Sp=.999999999999,kp=1.0000000000001;function hC(t,n,i,s=!1){const l=i.length;if(!l)return;n.x=n.y=1;let u,d;for(let h=0;h<l;h++){u=i[h],d=u.projectionDelta;const{visualElement:m}=u.options;m&&m.props.style&&m.props.style.display==="contents"||(s&&u.options.layoutScroll&&u.scroll&&u!==u.root&&vi(t,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),d&&(n.x*=d.x.scale,n.y*=d.y.scale,xv(t,d)),s&&Tr(u.latestValues)&&vi(t,u.latestValues))}n.x<kp&&n.x>Sp&&(n.x=1),n.y<kp&&n.y>Sp&&(n.y=1)}function yi(t,n){t.min=t.min+n,t.max=t.max+n}function Cp(t,n,i,s,l=.5){const u=je(t.min,t.max,l);Ec(t,n,i,u,s)}function vi(t,n){Cp(t.x,n.x,n.scaleX,n.scale,n.originX),Cp(t.y,n.y,n.scaleY,n.scale,n.originY)}function bv(t,n){return vv(fC(t.getBoundingClientRect(),n))}function mC(t,n,i){const s=bv(t,i),{scroll:l}=n;return l&&(yi(s.x,l.offset.x),yi(s.y,l.offset.y)),s}const Sv=({current:t})=>t?t.ownerDocument.defaultView:null,pC=new WeakMap;class gC{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=We(),this.visualElement=n}start(n,{snapToCursor:i=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const l=g=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(es(g).point)},u=(g,v)=>{const{drag:x,dragPropagation:C,onDragStart:N}=this.getProps();if(x&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=lk(x),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Vt(E=>{let R=this.getAxisMotionValue(E).get()||0;if(dn.test(R)){const{projection:F}=this.visualElement;if(F&&F.layout){const j=F.layout.layoutBox[E];j&&(R=Dt(j)*(parseFloat(R)/100))}}this.originPoint[E]=R}),N&&De.postRender(()=>N(g,v)),gc(this.visualElement,"transform");const{animationState:k}=this.visualElement;k&&k.setActive("whileDrag",!0)},d=(g,v)=>{const{dragPropagation:x,dragDirectionLock:C,onDirectionLock:N,onDrag:k}=this.getProps();if(!x&&!this.openDragLock)return;const{offset:E}=v;if(C&&this.currentDirection===null){this.currentDirection=yC(E),this.currentDirection!==null&&N&&N(this.currentDirection);return}this.updateAxis("x",v.point,E),this.updateAxis("y",v.point,E),this.visualElement.render(),k&&k(g,v)},h=(g,v)=>this.stop(g,v),m=()=>Vt(g=>{var v;return this.getAnimationState(g)==="paused"&&((v=this.getAxisMotionValue(g).animation)===null||v===void 0?void 0:v.play())}),{dragSnapToOrigin:p}=this.getProps();this.panSession=new mv(n,{onSessionStart:l,onStart:u,onMove:d,onSessionEnd:h,resumeAnimation:m},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:p,contextWindow:Sv(this.visualElement)})}stop(n,i){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:l}=i;this.startAnimation(l);const{onDragEnd:u}=this.getProps();u&&De.postRender(()=>u(n,i))}cancel(){this.isDragging=!1;const{projection:n,animationState:i}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(n,i,s){const{drag:l}=this.getProps();if(!s||!ga(n,l,this.currentDirection))return;const u=this.getAxisMotionValue(n);let d=this.originPoint[n]+s[n];this.constraints&&this.constraints[n]&&(d=oC(d,this.constraints[n],this.elastic[n])),u.set(d)}resolveConstraints(){var n;const{dragConstraints:i,dragElastic:s}=this.getProps(),l=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(n=this.visualElement.projection)===null||n===void 0?void 0:n.layout,u=this.constraints;i&&mi(i)?this.constraints||(this.constraints=this.resolveRefConstraints()):i&&l?this.constraints=sC(l.layoutBox,i):this.constraints=!1,this.elastic=cC(s),u!==this.constraints&&l&&this.constraints&&!this.hasMutatedConstraints&&Vt(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=uC(l.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:i}=this.getProps();if(!n||!mi(n))return!1;const s=n.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const u=mC(s,l.root,this.visualElement.getTransformPagePoint());let d=aC(l.layout.layoutBox,u);if(i){const h=i(dC(d));this.hasMutatedConstraints=!!h,h&&(d=vv(h))}return d}startAnimation(n){const{drag:i,dragMomentum:s,dragElastic:l,dragTransition:u,dragSnapToOrigin:d,onDragTransitionEnd:h}=this.getProps(),m=this.constraints||{},p=Vt(g=>{if(!ga(g,i,this.currentDirection))return;let v=m&&m[g]||{};d&&(v={min:0,max:0});const x=l?200:1e6,C=l?40:1e7,N={type:"inertia",velocity:s?n[g]:0,bounceStiffness:x,bounceDamping:C,timeConstant:750,restDelta:1,restSpeed:10,...u,...v};return this.startAxisValueAnimation(g,N)});return Promise.all(p).then(h)}startAxisValueAnimation(n,i){const s=this.getAxisMotionValue(n);return gc(this.visualElement,n),s.start(pd(n,s,0,i,this.visualElement,!1))}stopAnimation(){Vt(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){Vt(n=>{var i;return(i=this.getAxisMotionValue(n).animation)===null||i===void 0?void 0:i.pause()})}getAnimationState(n){var i;return(i=this.getAxisMotionValue(n).animation)===null||i===void 0?void 0:i.state}getAxisMotionValue(n){const i=`_drag${n.toUpperCase()}`,s=this.visualElement.getProps(),l=s[i];return l||this.visualElement.getValue(n,(s.initial?s.initial[n]:void 0)||0)}snapToCursor(n){Vt(i=>{const{drag:s}=this.getProps();if(!ga(i,s,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(i);if(l&&l.layout){const{min:d,max:h}=l.layout.layoutBox[i];u.set(n[i]-je(d,h,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:i}=this.getProps(),{projection:s}=this.visualElement;if(!mi(i)||!s||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};Vt(d=>{const h=this.getAxisMotionValue(d);if(h&&this.constraints!==!1){const m=h.get();l[d]=lC({min:m,max:m},this.constraints[d])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),Vt(d=>{if(!ga(d,n,null))return;const h=this.getAxisMotionValue(d),{min:m,max:p}=this.constraints[d];h.set(je(m,p,l[d]))})}addListeners(){if(!this.visualElement.current)return;pC.set(this.visualElement,this);const n=this.visualElement.current,i=_o(n,"pointerdown",m=>{const{drag:p,dragListener:g=!0}=this.getProps();p&&g&&this.start(m)}),s=()=>{const{dragConstraints:m}=this.getProps();mi(m)&&m.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,u=l.addEventListener("measure",s);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),De.read(s);const d=Ko(window,"resize",()=>this.scalePositionWithinConstraints()),h=l.addEventListener("didUpdate",(({delta:m,hasLayoutChanged:p})=>{this.isDragging&&p&&(Vt(g=>{const v=this.getAxisMotionValue(g);v&&(this.originPoint[g]+=m[g].translate,v.set(v.get()+m[g].translate))}),this.visualElement.render())}));return()=>{d(),i(),u(),h&&h()}}getProps(){const n=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:s=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:d=Cc,dragMomentum:h=!0}=n;return{...n,drag:i,dragDirectionLock:s,dragPropagation:l,dragConstraints:u,dragElastic:d,dragMomentum:h}}}function ga(t,n,i){return(n===!0||n===t)&&(i===null||i===t)}function yC(t,n=10){let i=null;return Math.abs(t.y)>n?i="y":Math.abs(t.x)>n&&(i="x"),i}class vC extends ur{constructor(n){super(n),this.removeGroupControls=At,this.removeListeners=At,this.controls=new gC(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||At}unmount(){this.removeGroupControls(),this.removeListeners()}}const Tp=t=>(n,i)=>{t&&De.postRender(()=>t(n,i))};class wC extends ur{constructor(){super(...arguments),this.removePointerDownListener=At}onPointerDown(n){this.session=new mv(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Sv(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:i,onPan:s,onPanEnd:l}=this.node.getProps();return{onSessionStart:Tp(n),onStart:Tp(i),onMove:s,onEnd:(u,d)=>{delete this.session,l&&De.postRender(()=>l(u,d))}}}mount(){this.removePointerDownListener=_o(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Ea={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ep(t,n){return n.max===n.min?0:t/(n.max-n.min)*100}const Eo={correct:(t,n)=>{if(!n.target)return t;if(typeof t=="string")if(ce.test(t))t=parseFloat(t);else return t;const i=Ep(t,n.target.x),s=Ep(t,n.target.y);return`${i}% ${s}%`}},xC={correct:(t,{treeScale:n,projectionDelta:i})=>{const s=t,l=ar.parse(t);if(l.length>5)return s;const u=ar.createTransformer(t),d=typeof l[0]!="number"?1:0,h=i.x.scale*n.x,m=i.y.scale*n.y;l[0+d]/=h,l[1+d]/=m;const p=je(h,m,.5);return typeof l[2+d]=="number"&&(l[2+d]/=p),typeof l[3+d]=="number"&&(l[3+d]/=p),u(l)}};class bC extends z.Component{componentDidMount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s,layoutId:l}=this.props,{projection:u}=n;zS(SC),u&&(i.group&&i.group.add(u),s&&s.register&&l&&s.register(u),u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),Ea.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:i,visualElement:s,drag:l,isPresent:u}=this.props,d=s.projection;return d&&(d.isPresent=u,l||n.layoutDependency!==i||i===void 0?d.willUpdate():this.safeToRemove(),n.isPresent!==u&&(u?d.promote():d.relegate()||De.postRender(()=>{const h=d.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),Jc.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:i,switchLayoutGroup:s}=this.props,{projection:l}=n;l&&(l.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(l),s&&s.deregister&&s.deregister(l))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function kv(t){const[n,i]=oy(),s=z.useContext(jc);return w.jsx(bC,{...t,layoutGroup:s,switchLayoutGroup:z.useContext(hy),isPresent:n,safeToRemove:i})}const SC={borderRadius:{...Eo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Eo,borderTopRightRadius:Eo,borderBottomLeftRadius:Eo,borderBottomRightRadius:Eo,boxShadow:xC};function kC(t,n,i){const s=ft(t)?t:Wo(t);return s.start(pd("",s,n,i)),s.animation}function CC(t){return t instanceof SVGElement&&t.tagName!=="svg"}const TC=(t,n)=>t.depth-n.depth;class EC{constructor(){this.children=[],this.isDirty=!1}add(n){id(this.children,n),this.isDirty=!0}remove(n){od(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(TC),this.isDirty=!1,this.children.forEach(n)}}function PC(t,n){const i=fn.now(),s=({timestamp:l})=>{const u=l-i;u>=n&&(sr(s),t(u-n))};return De.read(s,!0),()=>sr(s)}const Cv=["TopLeft","TopRight","BottomLeft","BottomRight"],LC=Cv.length,Pp=t=>typeof t=="string"?parseFloat(t):t,Lp=t=>typeof t=="number"||ce.test(t);function NC(t,n,i,s,l,u){l?(t.opacity=je(0,i.opacity!==void 0?i.opacity:1,AC(s)),t.opacityExit=je(n.opacity!==void 0?n.opacity:1,0,DC(s))):u&&(t.opacity=je(n.opacity!==void 0?n.opacity:1,i.opacity!==void 0?i.opacity:1,s));for(let d=0;d<LC;d++){const h=`border${Cv[d]}Radius`;let m=Np(n,h),p=Np(i,h);if(m===void 0&&p===void 0)continue;m||(m=0),p||(p=0),m===0||p===0||Lp(m)===Lp(p)?(t[h]=Math.max(je(Pp(m),Pp(p),s),0),(dn.test(p)||dn.test(m))&&(t[h]+="%")):t[h]=p}(n.rotate||i.rotate)&&(t.rotate=je(n.rotate||0,i.rotate||0,s))}function Np(t,n){return t[n]!==void 0?t[n]:t.borderRadius}const AC=Tv(0,.5,$y),DC=Tv(.5,.95,At);function Tv(t,n,i){return s=>s<t?0:s>n?1:i(Li(t,n,s))}function Ap(t,n){t.min=n.min,t.max=n.max}function Bt(t,n){Ap(t.x,n.x),Ap(t.y,n.y)}function Dp(t,n){t.translate=n.translate,t.scale=n.scale,t.originPoint=n.originPoint,t.origin=n.origin}function Rp(t,n,i,s,l){return t-=n,t=_a(t,1/i,s),l!==void 0&&(t=_a(t,1/l,s)),t}function RC(t,n=0,i=1,s=.5,l,u=t,d=t){if(dn.test(n)&&(n=parseFloat(n),n=je(d.min,d.max,n/100)-d.min),typeof n!="number")return;let h=je(u.min,u.max,s);t===u&&(h-=n),t.min=Rp(t.min,n,i,h,l),t.max=Rp(t.max,n,i,h,l)}function Mp(t,n,[i,s,l],u,d){RC(t,n[i],n[s],n[l],n.scale,u,d)}const MC=["x","scaleX","originX"],OC=["y","scaleY","originY"];function Op(t,n,i,s){Mp(t.x,n,MC,i?i.x:void 0,s?s.x:void 0),Mp(t.y,n,OC,i?i.y:void 0,s?s.y:void 0)}function Fp(t){return t.translate===0&&t.scale===1}function Ev(t){return Fp(t.x)&&Fp(t.y)}function jp(t,n){return t.min===n.min&&t.max===n.max}function FC(t,n){return jp(t.x,n.x)&&jp(t.y,n.y)}function _p(t,n){return Math.round(t.min)===Math.round(n.min)&&Math.round(t.max)===Math.round(n.max)}function Pv(t,n){return _p(t.x,n.x)&&_p(t.y,n.y)}function Ip(t){return Dt(t.x)/Dt(t.y)}function Bp(t,n){return t.translate===n.translate&&t.scale===n.scale&&t.originPoint===n.originPoint}class jC{constructor(){this.members=[]}add(n){id(this.members,n),n.scheduleRender()}remove(n){if(od(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(n){const i=this.members.findIndex(l=>n===l);if(i===0)return!1;let s;for(let l=i;l>=0;l--){const u=this.members[l];if(u.isPresent!==!1){s=u;break}}return s?(this.promote(s),!0):!1}promote(n,i){const s=this.lead;if(n!==s&&(this.prevLead=s,this.lead=n,n.show(),s)){s.instance&&s.scheduleRender(),n.scheduleRender(),n.resumeFrom=s,i&&(n.resumeFrom.preserveOpacity=!0),s.snapshot&&(n.snapshot=s.snapshot,n.snapshot.latestValues=s.animationValues||s.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:l}=n.options;l===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:i,resumingFrom:s}=n;i.onExitComplete&&i.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function _C(t,n,i){let s="";const l=t.x.translate/n.x,u=t.y.translate/n.y,d=(i==null?void 0:i.z)||0;if((l||u||d)&&(s=`translate3d(${l}px, ${u}px, ${d}px) `),(n.x!==1||n.y!==1)&&(s+=`scale(${1/n.x}, ${1/n.y}) `),i){const{transformPerspective:p,rotate:g,rotateX:v,rotateY:x,skewX:C,skewY:N}=i;p&&(s=`perspective(${p}px) ${s}`),g&&(s+=`rotate(${g}deg) `),v&&(s+=`rotateX(${v}deg) `),x&&(s+=`rotateY(${x}deg) `),C&&(s+=`skewX(${C}deg) `),N&&(s+=`skewY(${N}deg) `)}const h=t.x.scale*n.x,m=t.y.scale*n.y;return(h!==1||m!==1)&&(s+=`scale(${h}, ${m})`),s||"none"}const Er={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Ro=typeof window<"u"&&window.MotionDebug!==void 0,ec=["","X","Y","Z"],IC={visibility:"hidden"},Vp=1e3;let BC=0;function tc(t,n,i,s){const{latestValues:l}=n;l[t]&&(i[t]=l[t],n.setStaticValue(t,0),s&&(s[t]=0))}function Lv(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:n}=t.options;if(!n)return;const i=jy(n);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:l,layoutId:u}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",De,!(l||u))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&Lv(s)}function Nv({attachResizeListener:t,defaultParent:n,measureScroll:i,checkIsScrollRoot:s,resetTransform:l}){return class{constructor(d={},h=n==null?void 0:n()){this.id=BC++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Ro&&(Er.totalNodes=Er.resolvedTargetDeltas=Er.recalculatedProjection=0),this.nodes.forEach(UC),this.nodes.forEach(KC),this.nodes.forEach(HC),this.nodes.forEach($C),Ro&&window.MotionDebug.record(Er)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let m=0;m<this.path.length;m++)this.path[m].shouldResetTransform=!0;this.root===this&&(this.nodes=new EC)}addEventListener(d,h){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new sd),this.eventHandlers.get(d).add(h)}notifyListeners(d,...h){const m=this.eventHandlers.get(d);m&&m.notify(...h)}hasListeners(d){return this.eventHandlers.has(d)}mount(d,h=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=CC(d),this.instance=d;const{layoutId:m,layout:p,visualElement:g}=this.options;if(g&&!g.current&&g.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),h&&(p||m)&&(this.isLayoutDirty=!0),t){let v;const x=()=>this.root.updateBlockedByResize=!1;t(d,()=>{this.root.updateBlockedByResize=!0,v&&v(),v=PC(x,250),Ea.hasAnimatedSinceResize&&(Ea.hasAnimatedSinceResize=!1,this.nodes.forEach(Up))})}m&&this.root.registerSharedNode(m,this),this.options.animate!==!1&&g&&(m||p)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:x,hasRelativeTargetChanged:C,layout:N})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const k=this.options.transition||g.getDefaultTransition()||ZC,{onLayoutAnimationStart:E,onLayoutAnimationComplete:R}=g.getProps(),F=!this.targetLayout||!Pv(this.targetLayout,N)||C,j=!x&&C;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||j||x&&(F||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(v,j);const O={...ed(k,"layout"),onPlay:E,onComplete:R};(g.shouldReduceMotion||this.options.layoutRoot)&&(O.delay=0,O.type=!1),this.startAnimation(O)}else x||Up(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=N})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,sr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(GC),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Lv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const v=this.path[g];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:m}=this.options;if(h===void 0&&!m)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(zp);return}this.isUpdating||this.nodes.forEach(WC),this.isUpdating=!1,this.nodes.forEach(qC),this.nodes.forEach(VC),this.nodes.forEach(zC),this.clearAllSnapshots();const h=fn.now();ot.delta=Ln(0,1e3/60,h-ot.timestamp),ot.timestamp=h,ot.isProcessing=!0,Wu.update.process(ot),Wu.preRender.process(ot),Wu.render.process(ot),ot.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Jc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(JC),this.sharedNodes.forEach(YC)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,De.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){De.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let m=0;m<this.path.length;m++)this.path[m].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutCorrected=We(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(h=!1),h){const m=s(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:m,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:m}}}resetTransform(){if(!l)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!Ev(this.projectionDelta),m=this.getTransformTemplate(),p=m?m(this.latestValues,""):void 0,g=p!==this.prevTransformTemplateValue;d&&(h||Tr(this.latestValues)||g)&&(l(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const h=this.measurePageBox();let m=this.removeElementScroll(h);return d&&(m=this.removeTransform(m)),eT(m),{animationId:this.root.animationId,measuredBox:h,layoutBox:m,latestValues:{},source:this.id}}measurePageBox(){var d;const{visualElement:h}=this.options;if(!h)return We();const m=h.measureViewportBox();if(!(((d=this.scroll)===null||d===void 0?void 0:d.wasRoot)||this.path.some(tT))){const{scroll:g}=this.root;g&&(yi(m.x,g.offset.x),yi(m.y,g.offset.y))}return m}removeElementScroll(d){var h;const m=We();if(Bt(m,d),!((h=this.scroll)===null||h===void 0)&&h.wasRoot)return m;for(let p=0;p<this.path.length;p++){const g=this.path[p],{scroll:v,options:x}=g;g!==this.root&&v&&x.layoutScroll&&(v.wasRoot&&Bt(m,d),yi(m.x,v.offset.x),yi(m.y,v.offset.y))}return m}applyTransform(d,h=!1){const m=We();Bt(m,d);for(let p=0;p<this.path.length;p++){const g=this.path[p];!h&&g.options.layoutScroll&&g.scroll&&g!==g.root&&vi(m,{x:-g.scroll.offset.x,y:-g.scroll.offset.y}),Tr(g.latestValues)&&vi(m,g.latestValues)}return Tr(this.latestValues)&&vi(m,this.latestValues),m}removeTransform(d){const h=We();Bt(h,d);for(let m=0;m<this.path.length;m++){const p=this.path[m];if(!p.instance||!Tr(p.latestValues))continue;Tc(p.latestValues)&&p.updateSnapshot();const g=We(),v=p.measurePageBox();Bt(g,v),Op(h,p.latestValues,p.snapshot?p.snapshot.layoutBox:void 0,g)}return Tr(this.latestValues)&&Op(h,this.latestValues),h}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ot.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var h;const m=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=m.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=m.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=m.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==m;if(!(d||p&&this.isSharedProjectionDirty||this.isProjectionDirty||!((h=this.parent)===null||h===void 0)&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:x}=this.options;if(!(!this.layout||!(v||x))){if(this.resolvedRelativeTargetAt=ot.timestamp,!this.targetDelta&&!this.relativeTarget){const C=this.getClosestProjectingParent();C&&C.layout&&this.animationProgress!==1?(this.relativeParent=C,this.forceRelativeParentToResolveTarget(),this.relativeTarget=We(),this.relativeTargetOrigin=We(),Bo(this.relativeTargetOrigin,this.layout.layoutBox,C.layout.layoutBox),Bt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=We(),this.targetWithTransforms=We()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),iC(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Bt(this.target,this.layout.layoutBox),xv(this.target,this.targetDelta)):Bt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const C=this.getClosestProjectingParent();C&&!!C.resumingFrom==!!this.resumingFrom&&!C.options.layoutScroll&&C.target&&this.animationProgress!==1?(this.relativeParent=C,this.forceRelativeParentToResolveTarget(),this.relativeTarget=We(),this.relativeTargetOrigin=We(),Bo(this.relativeTargetOrigin,this.target,C.target),Bt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ro&&Er.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Tc(this.parent.latestValues)||wv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var d;const h=this.getLead(),m=!!this.resumingFrom||this!==h;let p=!0;if((this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty)&&(p=!1),m&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===ot.timestamp&&(p=!1),p)return;const{layout:g,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||v))return;Bt(this.layoutCorrected,this.layout.layoutBox);const x=this.treeScale.x,C=this.treeScale.y;hC(this.layoutCorrected,this.treeScale,this.path,m),h.layout&&!h.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(h.target=h.layout.layoutBox,h.targetWithTransforms=We());const{target:N}=h;if(!N){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Dp(this.prevProjectionDelta.x,this.projectionDelta.x),Dp(this.prevProjectionDelta.y,this.projectionDelta.y)),Io(this.projectionDelta,this.layoutCorrected,N,this.latestValues),(this.treeScale.x!==x||this.treeScale.y!==C||!Bp(this.projectionDelta.x,this.prevProjectionDelta.x)||!Bp(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",N)),Ro&&Er.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var h;if((h=this.options.visualElement)===null||h===void 0||h.scheduleRender(),d){const m=this.getStack();m&&m.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=gi(),this.projectionDelta=gi(),this.projectionDeltaWithTransform=gi()}setAnimationOrigin(d,h=!1){const m=this.snapshot,p=m?m.latestValues:{},g={...this.latestValues},v=gi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const x=We(),C=m?m.source:void 0,N=this.layout?this.layout.source:void 0,k=C!==N,E=this.getStack(),R=!E||E.members.length<=1,F=!!(k&&!R&&this.options.crossfade===!0&&!this.path.some(XC));this.animationProgress=0;let j;this.mixTargetDelta=O=>{const V=O/1e3;$p(v.x,d.x,V),$p(v.y,d.y,V),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Bo(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox),QC(this.relativeTarget,this.relativeTargetOrigin,x,V),j&&FC(this.relativeTarget,j)&&(this.isProjectionDirty=!1),j||(j=We()),Bt(j,this.relativeTarget)),k&&(this.animationValues=g,NC(g,p,this.latestValues,V,F,R)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=V},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(sr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=De.update(()=>{Ea.hasAnimatedSinceResize=!0,this.currentAnimation=kC(0,Vp,{...d,onUpdate:h=>{this.mixTargetDelta(h),d.onUpdate&&d.onUpdate(h)},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Vp),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:h,target:m,layout:p,latestValues:g}=d;if(!(!h||!m||!p)){if(this!==d&&this.layout&&p&&Av(this.options.animationType,this.layout.layoutBox,p.layoutBox)){m=this.target||We();const v=Dt(this.layout.layoutBox.x);m.x.min=d.target.x.min,m.x.max=m.x.min+v;const x=Dt(this.layout.layoutBox.y);m.y.min=d.target.y.min,m.y.max=m.y.min+x}Bt(h,m),vi(h,g),Io(this.projectionDeltaWithTransform,this.layoutCorrected,h,g)}}registerSharedNode(d,h){this.sharedNodes.has(d)||this.sharedNodes.set(d,new jC),this.sharedNodes.get(d).add(h);const p=h.options.initialPromotionConfig;h.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(h):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var d;const{layoutId:h}=this.options;return h?((d=this.getStack())===null||d===void 0?void 0:d.lead)||this:this}getPrevLead(){var d;const{layoutId:h}=this.options;return h?(d=this.getStack())===null||d===void 0?void 0:d.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:h,preserveFollowOpacity:m}={}){const p=this.getStack();p&&p.promote(this,m),d&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let h=!1;const{latestValues:m}=d;if((m.z||m.rotate||m.rotateX||m.rotateY||m.rotateZ||m.skewX||m.skewY)&&(h=!0),!h)return;const p={};m.z&&tc("z",d,p,this.animationValues);for(let g=0;g<ec.length;g++)tc(`rotate${ec[g]}`,d,p,this.animationValues),tc(`skew${ec[g]}`,d,p,this.animationValues);d.render();for(const g in p)d.setStaticValue(g,p[g]),this.animationValues&&(this.animationValues[g]=p[g]);d.scheduleRender()}getProjectionStyles(d){var h,m;if(!this.instance||this.isSVG)return;if(!this.isVisible)return IC;const p={visibility:""},g=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,p.opacity="",p.pointerEvents=Ca(d==null?void 0:d.pointerEvents)||"",p.transform=g?g(this.latestValues,""):"none",p;const v=this.getLead();if(!this.projectionDelta||!this.layout||!v.target){const k={};return this.options.layoutId&&(k.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,k.pointerEvents=Ca(d==null?void 0:d.pointerEvents)||""),this.hasProjected&&!Tr(this.latestValues)&&(k.transform=g?g({},""):"none",this.hasProjected=!1),k}const x=v.animationValues||v.latestValues;this.applyTransformsToTarget(),p.transform=_C(this.projectionDeltaWithTransform,this.treeScale,x),g&&(p.transform=g(x,p.transform));const{x:C,y:N}=this.projectionDelta;p.transformOrigin=`${C.origin*100}% ${N.origin*100}% 0`,v.animationValues?p.opacity=v===this?(m=(h=x.opacity)!==null&&h!==void 0?h:this.latestValues.opacity)!==null&&m!==void 0?m:1:this.preserveOpacity?this.latestValues.opacity:x.opacityExit:p.opacity=v===this?x.opacity!==void 0?x.opacity:"":x.opacityExit!==void 0?x.opacityExit:0;for(const k in Ra){if(x[k]===void 0)continue;const{correct:E,applyTo:R}=Ra[k],F=p.transform==="none"?x[k]:E(x[k],v);if(R){const j=R.length;for(let O=0;O<j;O++)p[R[O]]=F}else p[k]=F}return this.options.layoutId&&(p.pointerEvents=v===this?Ca(d==null?void 0:d.pointerEvents)||"":"none"),p}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var h;return(h=d.currentAnimation)===null||h===void 0?void 0:h.stop()}),this.root.nodes.forEach(zp),this.root.sharedNodes.clear()}}}function VC(t){t.updateLayout()}function zC(t){var n;const i=((n=t.resumeFrom)===null||n===void 0?void 0:n.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:l}=t.layout,{animationType:u}=t.options,d=i.source!==t.layout.source;u==="size"?Vt(v=>{const x=d?i.measuredBox[v]:i.layoutBox[v],C=Dt(x);x.min=s[v].min,x.max=x.min+C}):Av(u,i.layoutBox,s)&&Vt(v=>{const x=d?i.measuredBox[v]:i.layoutBox[v],C=Dt(s[v]);x.max=x.min+C,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[v].max=t.relativeTarget[v].min+C)});const h=gi();Io(h,s,i.layoutBox);const m=gi();d?Io(m,t.applyTransform(l,!0),i.measuredBox):Io(m,s,i.layoutBox);const p=!Ev(h);let g=!1;if(!t.resumeFrom){const v=t.getClosestProjectingParent();if(v&&!v.resumeFrom){const{snapshot:x,layout:C}=v;if(x&&C){const N=We();Bo(N,i.layoutBox,x.layoutBox);const k=We();Bo(k,s,C.layoutBox),Pv(N,k)||(g=!0),v.options.layoutRoot&&(t.relativeTarget=k,t.relativeTargetOrigin=N,t.relativeParent=v)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:m,layoutDelta:h,hasLayoutChanged:p,hasRelativeTargetChanged:g})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function UC(t){Ro&&Er.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function $C(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function JC(t){t.clearSnapshot()}function zp(t){t.clearMeasurements()}function WC(t){t.isLayoutDirty=!1}function qC(t){const{visualElement:n}=t.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),t.resetTransform()}function Up(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function KC(t){t.resolveTargetDelta()}function HC(t){t.calcProjection()}function GC(t){t.resetSkewAndRotation()}function YC(t){t.removeLeadSnapshot()}function $p(t,n,i){t.translate=je(n.translate,0,i),t.scale=je(n.scale,1,i),t.origin=n.origin,t.originPoint=n.originPoint}function Jp(t,n,i,s){t.min=je(n.min,i.min,s),t.max=je(n.max,i.max,s)}function QC(t,n,i,s){Jp(t.x,n.x,i.x,s),Jp(t.y,n.y,i.y,s)}function XC(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const ZC={duration:.45,ease:[.4,0,.1,1]},Wp=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),qp=Wp("applewebkit/")&&!Wp("chrome/")?Math.round:At;function Kp(t){t.min=qp(t.min),t.max=qp(t.max)}function eT(t){Kp(t.x),Kp(t.y)}function Av(t,n,i){return t==="position"||t==="preserve-aspect"&&!rC(Ip(n),Ip(i),.2)}function tT(t){var n;return t!==t.root&&((n=t.scroll)===null||n===void 0?void 0:n.wasRoot)}const nT=Nv({attachResizeListener:(t,n)=>Ko(t,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nc={current:void 0},Dv=Nv({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nc.current){const t=new nT({});t.mount(window),t.setOptions({layoutScroll:!0}),nc.current=t}return nc.current},resetTransform:(t,n)=>{t.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),rT={pan:{Feature:wC},drag:{Feature:vC,ProjectionNode:Dv,MeasureLayout:kv}};function Hp(t,n,i){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",i==="Start");const l="onHover"+i,u=s[l];u&&De.postRender(()=>u(n,es(n)))}class iT extends ur{mount(){const{current:n}=this.node;n&&(this.unmount=rk(n,i=>(Hp(this.node,i,"Start"),s=>Hp(this.node,s,"End"))))}unmount(){}}class oT extends ur{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Zo(Ko(this.node.current,"focus",()=>this.onFocus()),Ko(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Gp(t,n,i){const{props:s}=t;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",i==="Start");const l="onTap"+(i==="End"?"":i),u=s[l];u&&De.postRender(()=>u(n,es(n)))}class sT extends ur{mount(){const{current:n}=this.node;n&&(this.unmount=ak(n,i=>(Gp(this.node,i,"Start"),(s,{success:l})=>Gp(this.node,s,l?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Pc=new WeakMap,rc=new WeakMap,aT=t=>{const n=Pc.get(t.target);n&&n(t)},lT=t=>{t.forEach(aT)};function uT({root:t,...n}){const i=t||document;rc.has(i)||rc.set(i,{});const s=rc.get(i),l=JSON.stringify(n);return s[l]||(s[l]=new IntersectionObserver(lT,{root:t,...n})),s[l]}function cT(t,n,i){const s=uT(n);return Pc.set(t,i),s.observe(t),()=>{Pc.delete(t),s.unobserve(t)}}const dT={some:0,all:1};class fT extends ur{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:i,margin:s,amount:l="some",once:u}=n,d={root:i?i.current:void 0,rootMargin:s,threshold:typeof l=="number"?l:dT[l]},h=m=>{const{isIntersecting:p}=m;if(this.isInView===p||(this.isInView=p,u&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);const{onViewportEnter:g,onViewportLeave:v}=this.node.getProps(),x=p?g:v;x&&x(m)};return cT(this.node.current,d,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:i}=this.node;["amount","margin","root"].some(hT(n,i))&&this.startObserver()}unmount(){}}function hT({viewport:t={}},{viewport:n={}}={}){return i=>t[i]!==n[i]}
vendor: 4,105 bytes, line 103
103const mT={inView:{Feature:fT},tap:{Feature:sT},focus:{Feature:oT},hover:{Feature:iT}},pT={layout:{ProjectionNode:Dv,MeasureLayout:kv}},Lc={current:null},Rv={current:!1};function gT(){if(Rv.current=!0,!!Bc)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),n=()=>Lc.current=t.matches;t.addListener(n),n()}else Lc.current=!1}const yT=[...rv,dt,ar],vT=t=>yT.find(nv(t)),Yp=new WeakMap;function wT(t,n,i){for(const s in n){const l=n[s],u=i[s];if(ft(l))t.addValue(s,l);else if(ft(u))t.addValue(s,Wo(l,{owner:t}));else if(u!==l)if(t.hasValue(s)){const d=t.getValue(s);d.liveStyle===!0?d.jump(l):d.hasAnimated||d.set(l)}else{const d=t.getStaticValue(s);t.addValue(s,Wo(d!==void 0?d:l,{owner:t}))}}for(const s in i)n[s]===void 0&&t.removeValue(s);return n}const Qp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class xT{scrapeMotionValuesFromProps(n,i,s){return{}}constructor({parent:n,props:i,presenceContext:s,reducedMotionConfig:l,blockInitialAnimation:u,visualState:d},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=fd,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const C=fn.now();this.renderScheduledAt<C&&(this.renderScheduledAt=C,De.render(this.render,!1,!0))};const{latestValues:m,renderState:p,onUpdate:g}=d;this.onUpdate=g,this.latestValues=m,this.baseTarget={...m},this.initialValues=i.initial?{...m}:{},this.renderState=p,this.parent=n,this.props=i,this.presenceContext=s,this.depth=n?n.depth+1:0,this.reducedMotionConfig=l,this.options=h,this.blockInitialAnimation=!!u,this.isControllingVariants=Ja(i),this.isVariantNode=dy(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:v,...x}=this.scrapeMotionValuesFromProps(i,{},this);for(const C in x){const N=x[C];m[C]!==void 0&&ft(N)&&N.set(m[C],!1)}}mount(n){this.current=n,Yp.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((i,s)=>this.bindToMotionValue(s,i)),Rv.current||gT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Lc.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Yp.delete(this.current),this.projection&&this.projection.unmount(),sr(this.notifyUpdate),sr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const i=this.features[n];i&&(i.unmount(),i.isMounted=!1)}this.current=null}bindToMotionValue(n,i){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const s=Br.has(n),l=i.on("change",h=>{this.latestValues[n]=h,this.props.onUpdate&&De.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),u=i.on("renderRequest",this.scheduleRender);let d;window.MotionCheckAppearSync&&(d=window.MotionCheckAppearSync(this,n,i)),this.valueSubscriptions.set(n,()=>{l(),u(),d&&d(),i.owner&&i.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in Ni){const i=Ni[n];if(!i)continue;const{isEnabled:s,Feature:l}=i;if(!this.features[n]&&l&&s(this.props)&&(this.features[n]=new l(this)),this.features[n]){const u=this.features[n];
vendor: 5,007 bytes, line 103
103u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):We()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,i){this.latestValues[n]=i}update(n,i){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let s=0;s<Qp.length;s++){const l=Qp[s];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const u="on"+l,d=n[u];d&&(this.propEventSubscriptions[l]=this.on(l,d))}this.prevMotionValues=wT(this,this.scrapeMotionValuesFromProps(n,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(n){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(n),()=>i.variantChildren.delete(n)}addValue(n,i){const s=this.values.get(n);i!==s&&(s&&this.removeValue(n),this.bindToMotionValue(n,i),this.values.set(n,i),this.latestValues[n]=i.get())}removeValue(n){this.values.delete(n);const i=this.valueSubscriptions.get(n);i&&(i(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,i){if(this.props.values&&this.props.values[n])return this.props.values[n];let s=this.values.get(n);return s===void 0&&i!==void 0&&(s=Wo(i===null?void 0:i,{owner:this}),this.addValue(n,s)),s}readValue(n,i){var s;let l=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:(s=this.getBaseTargetFromProps(this.props,n))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,n,this.options);return l!=null&&(typeof l=="string"&&(ev(l)||Wy(l))?l=parseFloat(l):!vT(l)&&ar.test(i)&&(l=Qy(n,i)),this.setBaseTarget(n,ft(l)?l.get():l)),ft(l)?l.get():l}setBaseTarget(n,i){this.baseTarget[n]=i}getBaseTarget(n){var i;const{initial:s}=this.props;let l;if(typeof s=="string"||typeof s=="object"){const d=qc(this.props,s,(i=this.presenceContext)===null||i===void 0?void 0:i.custom);d&&(l=d[n])}if(s&&l!==void 0)return l;const u=this.getBaseTargetFromProps(this.props,n);return u!==void 0&&!ft(u)?u:this.initialValues[n]!==void 0&&l===void 0?void 0:this.baseTarget[n]}on(n,i){return this.events[n]||(this.events[n]=new sd),this.events[n].add(i)}notify(n,...i){this.events[n]&&this.events[n].notify(...i)}}class Mv extends xT{constructor(){super(...arguments),this.KeyframeResolver=iv}sortInstanceNodePosition(n,i){return n.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(n,i){return n.style?n.style[i]:void 0}removeValueFromRenderState(n,{vars:i,style:s}){delete i[n],delete s[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;ft(n)&&(this.childSubscription=n.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function bT(t){return window.getComputedStyle(t)}class ST extends Mv{constructor(){super(...arguments),this.type="html",this.renderInstance=xy}readValueFromInstance(n,i){if(Br.has(i)){const s=dd(i);return s&&s.default||0}else{const s=bT(n),l=(yy(i)?s.getPropertyValue(i):s[i])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(n,{transformPagePoint:i}){return bv(n,i)}build(n,i,s){Gc(n,i,s.transformTemplate)}scrapeMotionValuesFromProps(n,i,s){return Zc(n,i,s)}}class kT extends Mv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=We}getBaseTargetFromProps(n,i){return n[i]}readValueFromInstance(n,i){if(Br.has(i)){const s=dd(i);return s&&s.default||0}return i=by.has(i)?i:$c(i),n.getAttribute(i)}scrapeMotionValuesFromProps(n,i,s){return Cy(n,i,s)}build(n,i,s){Yc(n,i,this.isSVGTag,s.transformTemplate)}renderInstance(n,i,s,l){Sy(n,i,s,l)}mount(n){this.isSVGTag=Xc(n.tagName),super.mount(n)}}const CT=(t,n)=>Wc(t)?new kT(n):new ST(n,{allowProjection:t!==z.Fragment}),TT=YS({...H1,...mT,...rT,...pT},CT),Mo=dS(TT);function Xp(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function ET(...t){return n=>{let i=!1;const s=t.map(l=>{const u=Xp(l,n);return!i&&typeof u=="function"&&(i=!0),u});if(i)return()=>{for(let l=0;l<s.length;l++){const u=s[l];typeof u=="function"?u():Xp(t[l],null)}}}}function PT(...t){return z.useCallback(ET(...t),t)}function LT(t){const n=z.forwardRef((i,s)=>{let{children:l,...u}=i,d=null,h=!1;const m=[];Zp(l)&&typeof ya=="function"&&(l=ya(l._payload)),z.Children.forEac
103h(l,x=>{var C;if(OT(x)){h=!0;const N=x;let k="child"in N.props?N.props.child:N.props.children;Zp(k)&&typeof ya=="function"&&(k=ya(k._payload)),d=DT(N,k),m.push((C=d==null?void 0:d.props)==null?void 0:C.children)}else m.push(x)}),d?d=z.cloneElement(d,void 0,m):!h&&z.Children.count(l)===1&&z.isValidElement(l)&&(d=l);const p=d?MT(d):void 0,g=PT(s,p);if(!d){if(l||l===0)throw new Error(h?IT(t):_T(t));return l}const v=RT(u,d.props??{});return d.type!==z.Fragment&&(v.ref=s?g:p),z.cloneElement(d,v)});return n.displayName=`${t}.Slot`,n}var NT=LT("Slot"),AT=Symbol.for("radix.slottable"),DT=(t,n)=>{if("child"in t.props){const i=t.props.child;return z.isValidElement(i)?z.cloneElement(i,void 0,t.props.children(i.props.children)):null}return z.isValidElement(n)?n:null};function RT(t,n){const i={...n};for(const s in n){const l=t[s],u=n[s];/^on[A-Z]/.test(s)?l&&u?i[s]=(...h)=>{const m=u(...h);return l(...h),m}:l&&(i[s]=l):s==="style"?i[s]={...l,...u}:s==="className"&&(i[s]=[l,u].filter(Boolean).join(" "))}return{...t,...i}}function MT(t){var s,l;let n=(s=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:s.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?t.ref:(n=(l=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:l.get,i=n&&"isReactWarning"in n&&n.isReactWarning,i?t.props.ref:t.props.ref||t.ref)}function OT(t){return z.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===AT}var FT=Symbol.for("react.lazy");function Zp(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===FT&&"_payload"in t&&jT(t._payload)}function jT(t){return typeof t=="object"&&t!==null&&"then"in t}var _T=t=>`${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,IT=t=>`${t} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,ya=Ww[" use ".trim().toString()];const BT=Eg("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Nc=z.forwardRef(({className:t,variant:n,size:i,asChild:s=!1,...l},u)=>{const d=s?NT:"button";return w.jsx(d,{className:Ir(BT({variant:n,size:i,className:t})),ref:u,...l})});Nc.displayName="Button";const Oo=z.forwardRef(({className:t,type:n,...i},s)=>w.jsx("input",{type:n,className:Ir("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),ref:s,...i}));Oo.displayName="Input";const eg={BUY:{bg:"bg-verdict-buy/90",text:"text-verdict-buy-foreground",label:"Buy",glow:"shadow-verdict-buy/30"},WAIT:{bg:"bg-verdict-wait/90",text:"text-verdict-wait-foreground",label:"Wait",glow:"shadow-verdict-wait/20"},NOT_WORTH_IT:{bg:"bg-verdict-skip/90",text:"text-verdict-skip-foreground",label:"Skip",glow:"shadow-verdict-skip/20"},UNSUPPORTED:{bg:"bg-destructive/10",text:"text-destructive",label:"Unsupported",glow:"shadow-none"}};function VT({verdict:t,size:n="default",showLabel:i=!0}){const s=eg[t]||eg.WAIT,l={sm:"px-2 py-0.5 text-[10px]",default:"px-3 py-1 text-xs",lg:"px-4 py-1.5 text-sm"};return w.jsxs(Mo.span,{initial:{scale:.9,opacity:0}
103,animate:{scale:1,opacity:1},className:` 104 inline-flex items-center gap-1.5 font-sans font-semibold uppercase tracking-wider rounded-full 105 backdrop-blur-sm shadow-lg 106 ${s.bg} ${s.text} ${s.glow} ${l[n]} 107 `,children:[t==="BUY"&&w.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-verdict-buy-foreground animate-pulse"}),i?s.label:t.replace("_"," ")]})}const zT=["ssense.com","24s.com","thewebster.us","theoutnet.com","saksfifthavenue.com","neimanmarcus.com","bergdorfgoodman.com","net-a-porter.com","goop.com","jomashop.com","mrporter.com","farfetch.com","mytheresa.com","nordstrom.com","loropiana.com","modaoperandi.com","luisaviaroma.com","cettire.com","selfridges.com","fwrd.com","shopbop.com","harrods.com","brownsfashion.com","khaite.com","the-row.com","ysl.com","saintlaurent.com","brunellocucinelli.com","toteme.com","jilsander.com","magdabutrym.com","loewe.com","valentino.com","acnestudios.com","bottegaveneta.com","amiparis.com","zegna.com","tomfordfashion.com","canali.com","celine.com","chloe.com","prada.com","miumiu.com","gucci.com","balenciaga.com","fendi.com","maxmara.com","marni.com","driesvannoten.com","ganni.com","proenzaschouler.com","zimmermann.com","isabelmarant.com","stellamccartney.com","maison-alaia.com","ferragamo.com","moncler.com","jacquemus.com","maisonmargiela.com","rickowens.eu","givenchy.com","dolcegabbana.com","etro.com","pucci.com","aminamuaddi.com","jwanderson.com","rogervivier.com","manoloblahnik.com","christianlouboutin.com","tods.com","gabrielahearst.com","victoriabeckham.com","nililotan.com","officinegenerale.com","hermes.com","chanel.com","dior.com","louisvuitton.com","burberry.com","alexandermcqueen.com","versace.com","lemaire.fr","kiton.com","brioni.com","bodenewyork.com","stoneisland.com","ourlegacy.com","walesbonner.net","fearofgod.com","jimmychoo.com","aquazzura.com","gianvitorossi.com","rabanne.com","courreges.com","coperniparis.com","christopheresber.com","savette.com","wandler.com","alexanderwang.com","anndemeulemeester.com","balmain.com","carolinaherrera.com","ceciliebahnsen.com","comme-des-garcons.com","cultgaia.com","erdem.com","goldengoose.com","isseymiyake.com","johannaortiz.com","lapointe.com","missoni.com","monse.com","oscardelarenta.com","roksanda.com","sacai.jp","self-portrait.com","simkhai.com","staud.clothing","toryburch.com","yohjiyamamoto.co.jp","aninebing.com","carven.com","dionlee.com","mackage.com","canadagoose.com","machandmach.com","renecaovilla.com","sergiorossi.com","nanushka.com","ralphlauren.com"];function UT(t){try{const n=new URL(String(t));if(n.protocol!=="https:"||n.port&&n.port!=="443")return!1;const i=n.hostname.toLowerCase();return zT.some(s=>i===s||i.endsWith(`.${s}`))}catch{return!1}}const $T=/^(colou?r|size|variant|variantid|variant_id|sku|mpn|gtin(?:8|12|13|14)?|style|option|dwvar_.*|pid)$/i;function JT(t){const n=new URL(String(t)),i=[];for(const[l,u]of n.searchParams.entries())u&&$T.test(l)&&i.push([l.toLowerCase(),u]);i.sort((l,u)=>l[0]<u[0]?-1:l[0]>u[0]?1:0);const s=`${n.origin}${n.pathname}`.replace(/\/+$/,"");return i.length?`${s}?${i.map(([l,u])=>`${l}=${u}`).join("&")}`:s}function Pa(t){return/^(gtin|mpn|sku):/.test(String(t||""))}const tg="https://scoutlo.app",ng="https://go.shopmy.us/apx/0YcU79",WT={"net-a-porter":t=>`https://www.net-a-porter.com/en-us/shop/search/${encodeURIComponent(t)}`,ssense:t=>`https://www.ssense.com/en-us/search?q=${encodeURIComponent(t)}`,farfetch:t=>`https://www.farfetch.com/shopping/search/items.aspx?q=${encodeURIComponent(t)}`,saks:t=>`https://www.saksfifthavenue.com/search?q=${encodeURIComponent(t)}`,"mr-porter":t=>`https://www.mrporter.com/en-us/mens/search/${encodeURIComponent(t)}`,"loro-piana":t=>`https://us.loropiana.com/en/search?text=${encodeURIComponent(t)}`,"the-outnet":t=>`https://www.theoutnet.com/en-us/shop/search/${encodeURIComponent(t)}`,"24s":t=>`https://www.24s.com/en-us/search?q=${encodeURIComponent(t)}`,"the-webster":t=>`https://thewebster.us/search?q=${encodeURIComponent(t)}`,"neiman-marcus":t=>`https://www.neimanmarcus.com/search.jsp?q=${encodeURIComponent(t)}`,"bergdorf-goodman":t=>`https://www.bergdorfgoodman.com/search.jsp?q=${encodeURIComponent(t)}`,goop:t=>`https://goop.com/search?q=${encodeURIComponent(t)}`,jomashop:t=>`https://www.jomashop.com/catalogsearch/result/?q=${encodeURIComponent(t)}`,nordstrom:t=>`https://www.nordstrom.com/sr?keyword=${encodeURIComponent(t)}`,mytheresa:t=>`https://www.mytheresa.com/us/en/search?q=${encodeURIComponent(t)}
107`,modaoperandi:t=>`https://www.modaoperandi.com/search?query=${encodeURIComponent(t)}`,luisaviaroma:t=>`https://www.luisaviaroma.com/en-us/shop?q=${encodeURIComponent(t)}`,cettire:t=>`https://www.cettire.com/search?q=${encodeURIComponent(t)}`,selfridges:t=>`https://www.selfridges.com/US/en/cat/search/?freeText=${encodeURIComponent(t)}`,fwrd:t=>`https://www.fwrd.com/catalog/?search=${encodeURIComponent(t)}`,shopbop:t=>`https://www.shopbop.com/actions/search/viewSearch.action?query=${encodeURIComponent(t)}`,harrods:t=>`https://www.harrods.com/en-us/search/?q=${encodeURIComponent(t)}`,brownsfashion:t=>`https://www.brownsfashion.com/shopping/search?q=${encodeURIComponent(t)}`};function Ov(t){if(!t)return"#";const n=String(t).trim();if(!n||n==="#")return"#";try{const i=new URL(n);return i.protocol!=="https:"||i.hostname.toLowerCase().includes("shopmy.us")?"#":UT(i.toString())?i.toString():"#"}catch{return"#"}}function qT(t){try{const i=new URL(String(t||"").trim()),s=new URL(ng);if(i.origin===s.origin&&i.pathname===s.pathname)return i.toString()}catch{}const n=Ov(t);if(n==="#")return"#";try{const i=new URL(n);if(i.hostname==="go.shopmy.us"&&i.pathname==="/apx/0YcU79")return i.toString();const s=new URL(ng);return s.searchParams.set("url",i.toString()),s.toString()}catch{return"#"}}function Pr(t,n="site"){try{const l=new URL(String(t||"").trim()),u=new URL(tg);if(l.origin===u.origin&&l.pathname==="/out")return l.toString()}catch{}const i=Ov(t);if(i==="#")return"#";const s=new URL("/out",tg);return s.searchParams.set("url",i),s.searchParams.set("utm_source",n),s.searchParams.set("utm_medium","shopmy_handoff"),s.toString()}function KT(t,n){const i=String(n||"").trim(),s=WT[t];return!s||!i?"#":Pr(s(i),"site_search")}const HT=["Abercrombie & Fitch","Adidas","Aesop","Aje","AllSaints","Alo Yoga","Aritzia","Armani","Armani Exchange","Athleta","Away","Ba&sh","Banana Republic","Benefit Cosmetics","Birkenstock","Boden","Brixton","Brooks Brothers","Byredo","Calvin Klein","Cartier","Charlotte Tilbury","Clarks","Clinique","Coach","COS","Cuup","Damson Madder","DeMellier","Diptyque","Djerf Avenue","Dr. Barbara Sturm","Dr. Martens","Dyson","Everlane","Farm Rio","Frame","Free People","G.H.Bass","Gap","Glossier","H&M","Hoka","Ilia","Jenni Kayne","J.Crew","Kate Spade","Kosas","Lacoste","Le Creuset","Le Specs","Levi's","Loeffler Randall","Longchamp","Lululemon","Mango","Marc Jacobs","Massimo Dutti","Mejuri","Merrell","Michael Kors","Missoma","Nike","Oakley","Old Navy","On","Ouai","Pandora","Patagonia","Polene","Quince","Rains","Ralph Lauren","Ray-Ban","Reformation","REI","Rhone","Rimowa","Rothy's","Sam Edelman","Sandro","Sephora Collection","Skims","Sol de Janeiro","Staud","Stuart Weitzman","Sunday Riley","Tarte","Ted Baker","Tiffany & Co.","Tkees","Tumi","UGG","Uniqlo","Veja","Vuori","Warby Parker","Westman Atelier","Zara","A Bathing Ape","A.L.C.","Adam Lippes","Adanola","Agua Bendita","Alice + Olivia","Alohas","Anya Hindmarch","Araks","Arc'teryx","Astr the Label","Auralee","Autry","Barbour","Baume & Mercier","Birrot","Bleusalt","Blumarine","Bondi Born","Bonpoint","Boucheron","Brandon Maxwell","Bulgari","Calzedonia","Camilla","Camilla and Marc","Carhartt WIP","Cartolina","Casablanca","Charles & Keith","Citizens of Humanity","Clare V.","Closed","Columbia","Dagne Dover","Derek Lam","Djerf Avenue","Eberjey","Eileen Fisher","Emilia Wickstead","Equipment","Essentiel Antwerp","Faithfull the Brand","Falke","Farmacy","Fleur du Mal","Frank & Eileen","Ganni","Gianvito Rossi","Giorgio Armani","Girlfriend Collective","Good American","Good Man Brand","Gorjana","Guerlain","Hunza G","Hydro Flask","Iro","Janessa Leone","Jimmy Fairly","Jonathan Simkhai","K Jacques","Kendra Scott","Khaite","Kule","La Ligne","La Mer","La Prairie","Lack of Color","Laura Mercier","Leset","LoveShackFancy","Madewell","Maje","Mansur Gavriel","Mara Hoffman","Marella","MCM","Merit","Mother","Naked Cashmere","New Balance","Nili Lotan","Nudie Jeans","Nuxe","Olaplex","Oribe","Pangaia","Parachute","Polo Ralph Lauren","Popflex","Rails","Rains","Rebecca Minkoff","Reiss","Rixo","Roger Vivier","Rosie Assoulin","Saks Potts","Sancia","Sea New York","Sezane","Shani Darden","Shashi","Sies Marjan","Smythe","Spanx","Splendid","Sporty & Rich","St. John","Supergoop","Suzie Kondi","Tach Clothing","Thakoon","The Frankie Shop","The Great","The North Face","The Upside","Theory","ThirdLove","Tibi","Tommy Hilfiger","Topshop","Tory Burch","Ulla Johnson","Universal Standard","Urban Outfitters","Vagabond Shoemakers","Veronica Beard","Victoria's Secret","Vince","Vionic","Wolford","Yeti","Zadig & Voltaire"],GT=["032c","3.1 Phillip Lim","7 For All Mankind","A Emery","A Pea in the Pod","A-Cold-Wall","Abercrombie Kids","Acqua di Parma","Adidas by Stella McCartney","Adidas Originals","Adore Me","Adrianna Papell","Agent Provocateur","Agolde","Akris","Akris Punto","Alberta Ferretti","Alex Mill","Alex Perry","Alexandre Birman","Alexandre Vauthier","Alexis","Allbirds","Altuzarra","American Eagle","American Giant","American Vintage","Amiri","And Wander","Andie Swim","Andres Otalora","Anna October","Anne Klein","Another Tomorrow","Apiece Apart","A.P.C.","Aritzia Babaton","Aritzia Wilfred","Armani Beauty","Armani Collezioni","Armani Junior","Armani Privé","Ashley Williams","ASICS","Aspinal of London","Atlein","ATP Atelier","Attico","Augustinus Bader","Autumn Adeigbo","Balmain","Balmain Hair Couture","Bally","Barefoot Dreams","Barena Venezia","Bassike","Baume & Mercier","Bec + Bridge","Bella Freud","Bernadette","Bernardo","Beyond Yoga","Biologique Recherche","Birkenstock 1774","Blazé Milano","Blue Nile","Bogner","Bonobos","Bottega Veneta","Brinker & Eliza","Brochu Walker","Brunello Cucinelli Kids","Buxom","By Malene Birger","By Terry","C.P. Company","Canada Goose","Carolina Bucci","Carolina Herrera","Castañer","Celine Beauté","Celine Eyewear","Charvet","Chinti & Parker","Chloé Kids","Chopard","Christopher Esber","Church's","Clé de Peau Beauté","Cleobella","Comme des Garçons","Comme des Garçons Homme","Comme des Garçons Play","Common Projects","Coperni","Cotopaxi","Coup de Coeur","Courrèges","Cuyana","D.S. & Durga","Damaris Bailey","David Yurman","De Beers","Denimist","Deiji Studios","Derek Rose","Diesel","Dior Beauty","Dior Homme","Dolce & Gabbana Kids","Donni","Dorothee Schumacher","Dries Van Noten","Ducie","Dunhill","Dunst","Eckhaus Latta","Edie Parker","Eéra","Eleventy","Erdem","Escada","Escentric Molecules","Etudes","Everlane Renew","Extreme Cashmere","Faliero Sarti","Fear of God","Fear of God Essentials","Fendi Casa","Fendi Kids","Fforme","Filippa K","Fleur du Mal","For Love & Lemons","Fortela","Forte Forte","Frama","Frankies Bikinis","Frederic Malle","Gabriela Hearst","Galvan","Ganni","Garrett Leight","G
107iambattista Valli","Giorgio Armani Beauty","Giuseppe Zanotti","Givenchy Beauty","Golden Goose","Goyard","Grace Wales Bonner","Grenson","Gucci Beauty","Gucci Kids","Guest in Residence","Haider Ackermann","Harris Wharf London","Herno","HommeGirls","House of Dagmar","House of Hackney","Hunza G","IRO Paris","Isabel Marant Ãtoile","Issey Miyake","Jacquemus","Janie and Jack","Jil Sander Navy","Johanna Ortiz","John Elliott","John Hardy","Johnstons of Elgin","Joseph","Junya Watanabe","K. Jacques","Kassl Editions","Khaite Eyewear","Kika Vargas","Kiko Kostadinov","Kiton","Knitss","La DoubleJ","La Perla","LaQuan Smith","Lanvin","Lapointe","Le Kasha","Le Monde Béryl","Le Sirenuse Positano","Lemaire","Les Tien","Lisa Yang","Loewe Home Scents","Loro Piana Kids","LoveShackFancy Kids","Loulou Studio","Luca Faloni","Lucchese","Mach & Mach","Maison Francis Kurkdjian","Maison Kitsuné","Maison Margiela","Maison Margiela Fragrances","Maison Michel","Maison Rabih Kayrouz","Mansur Gavriel","Marcelo Burlon","Marine Serre","Marni Kids","Massimo Alba","Max Mara Leisure","Max Mara Weekend","Melissa Odabash","Métier","Misha Nonoo","Missoni Home","Missoni Kids","Molly Goddard","Moncler Genius","Moncler Grenoble","Moncler Kids","Monica Vinader","Monique Lhuillier","Mother Denim","Mugler","N.Peal","Nackiyé","Nanushka","Nensi Dojaka","Nike ACG","NikeLab","No. 21","Nodaleto","Noon Goons","Nour Hammour","Off-White","Officine Générale","Olivia von Halle","On Running","Orlebar Brown","Oscar de la Renta","Oscar de la Renta Kids","Otiumberg","Oyuna","P448","Paco Rabanne","Patou","Paul Smith","Peter Do","Peter Millar","Pippa Small","Pleats Please Issey Miyake","Polo Ralph Lauren Kids","Poupette St Barth","Prada Beauty","Prada Eyewear","Prada Linea Rossa","Prada Sport","Proenza Schouler","Proenza Schouler White Label","Purdey","Rabanne","Raey","Rag & Bone","Rag & Bone Kids","Ralph Lauren Home","Ralph Lauren Kids","Ramy Brook","Rene Caovilla","Repetto","Retrofête","Rhea Costa","Rhode Skin","Rick Owens","Rick Owens DRKSHDW","Roberto Cavalli","Rochas","Roksanda","Rosetta Getty","Rosie Assoulin","Rotate Birger Christensen","Rowing Blazers","Sacai","Saks Potts","Salomon","Samuelsohn","Sara Battaglia","Savannah Morrow","Savette","Scanlan Theodore","Schiaparelli","Self-Portrait","Serapian","Sergio Rossi","Sergio Hudson","Simone Rocha","SIR.","Sir the Label","Smythson","Solid & Striped","Solace London","Sophia Webster","Sophie Bille Brahe","Souliers Martinez","Sportmax","Stand Studio","Stella McCartney Kids","Stine Goya","Stone Island","Strathberry","Studio Nicholson","Suicoke","Surratt","Tabayer","Tanya Taylor","Tekla","The Elder Statesman","The Frankie Shop","The Great.","The Row Kids","The Vampire's Wife","Thom Browne","Thom Sweeney","Thompson Ferrier","Tiffany Home","Tod's","Tom Dixon","Tom Ford Beauty","Tove","Toteme","Toteme Kids","Toteme Studio","Trudon","U Beauty","Ulla Johnson Kids","Universal Works","Vacheron Constantin","Valentino Garavani","Valentino Kids","Veja Kids","Veronica Beard Jean","Versace Home","Versace Jeans Couture","Versace Kids","Victoria Beckham","Vilebrequin","Vince Camuto","Vince Kids","WARDROBE.NYC","Wales Bonner","Wandler","Weekend Max Mara","We11done","Woolrich","Y Project","Y-3","Yohji Yamamoto","Yvonne Léon","Zimmerli","Zimmermann Kids","Zegna","Zegna Kids"],Fv=Object.freeze([...new Set([...HT,...GT])]);function jv(t){return String(t||"").normalize("NFKD").replace(/[\u0300-\u036f]/g,"").toLowerCase().replace(/&/g," and ").replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}function YT(t){return jv(t).replace(/-/g,"")}function QT(t=Fv){const n=new Map;for(const i of t){const s=jv(i);if(!s||s.length<3)continue;n.set(s,[s,i,s]);const l=YT(i);l.length>=4&&n.set(l,[l,i,s])}return[...n.values()].sort((i,s)=>s[0].length-i[0].length)}const XT=QT();Fv.length;const gd={khaite:{name:"Khaite",avgFloorDiscount:60,nextSaleEstimate:"late June",quality:"exceptional",hypeLevel:"high"},"the-row":{name:"The Row",avgFloorDiscount:40,nextSaleEstimate:"July",quality:"exceptional",hypeLevel:"medium"},"saint-laurent":{name:"Saint Laurent",avgFloorDiscount:50,nextSaleEstimate:"June",quality:"high",hypeLevel:"high"},"brunello-cucinelli":{name:"Brunello Cucinelli",avgFloorDiscount:30,nextSaleEstimate:"Limited availability",quality:"exceptional",hypeLevel:"low"},"loro-piana":{name:"Loro Piana",avgFloorDiscount:25,nextSaleEstimate:"N/A",quality:"exceptional",hypeLevel:"low"},toteme:{name:"Toteme",avgFloorDiscount:50,nextSaleEstimate:"late May",quality:"high",hypeLevel:"medium"},"jil-sander":{name:"Jil Sander",avgFloorDiscount:55,nextSaleEstimate:"July",quality:"high",hypeLevel:"medium"},"magda-butrym":{name:"Magda Butrym",avgFloorDiscount:50,nextSaleEstimate:"June",quality:"high",hypeLevel:"rising"},loewe:{name:"Loewe",avgFloorDiscount:40,nextSaleEstimate:"June",quality:"exceptional",hypeLevel:"very-high"}
107,valentino:{name:"Valentino",avgFloorDiscount:50,nextSaleEstimate:"June",quality:"high",hypeLevel:"high"},"acne-studios":{name:"Acne Studios",avgFloorDiscount:60,nextSaleEstimate:"late May",quality:"high",hypeLevel:"medium"},"bottega-veneta":{name:"Bottega Veneta",avgFloorDiscount:35,nextSaleEstimate:"June",quality:"exceptional",hypeLevel:"high"},"ami-paris":{name:"AMI Paris",avgFloorDiscount:50,nextSaleEstimate:"late May",quality:"high",hypeLevel:"medium"},zegna:{name:"Zegna",avgFloorDiscount:50,nextSaleEstimate:"June",quality:"high",hypeLevel:"medium"},"tom-ford":{name:"Tom Ford",avgFloorDiscount:50,nextSaleEstimate:"June",quality:"high",hypeLevel:"high"},canali:{name:"Canali",avgFloorDiscount:50,nextSaleEstimate:"June",quality:"high",hypeLevel:"low"},celine:{name:"Celine",avgFloorDiscount:30,nextSaleEstimate:"End of season",quality:"exceptional",hypeLevel:"high"},chloe:{name:"Chloé",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"high"},prada:{name:"Prada",avgFloorDiscount:35,nextSaleEstimate:"June & December",quality:"exceptional",hypeLevel:"high"},"miu-miu":{name:"Miu Miu",avgFloorDiscount:35,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"very-high"},gucci:{name:"Gucci",avgFloorDiscount:40,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"high"},balenciaga:{name:"Balenciaga",avgFloorDiscount:45,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"high"},fendi:{name:"Fendi",avgFloorDiscount:35,nextSaleEstimate:"June & December",quality:"exceptional",hypeLevel:"medium"},"max-mara":{name:"Max Mara",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},marni:{name:"Marni",avgFloorDiscount:55,nextSaleEstimate:"late May",quality:"high",hypeLevel:"medium"},"dries-van-noten":{name:"Dries Van Noten",avgFloorDiscount:50,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"medium"},ganni:{name:"Ganni",avgFloorDiscount:50,nextSaleEstimate:"Frequent seasonal sales",quality:"medium",hypeLevel:"high"},"proenza-schouler":{name:"Proenza Schouler",avgFloorDiscount:55,nextSaleEstimate:"End of season",quality:"high",hypeLevel:"medium"},zimmermann:{name:"Zimmermann",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"isabel-marant":{name:"Isabel Marant",avgFloorDiscount:50,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"medium"},"stella-mccartney":{name:"Stella McCartney",avgFloorDiscount:45,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"medium"},alaia:{name:"Alaïa",avgFloorDiscount:30,nextSaleEstimate:"Rarely â end of season",quality:"exceptional",hypeLevel:"very-high"},ferragamo:{name:"Ferragamo",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},moncler:{name:"Moncler",avgFloorDiscount:35,nextSaleEstimate:"January & late June",quality:"high",hypeLevel:"high"},jacquemus:{name:"Jacquemus",avgFloorDiscount:40,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"very-high"},"maison-margiela":{name:"Maison Margiela",avgFloorDiscount:50,nextSaleEstimate:"late May",quality:"high",hypeLevel:"medium"},"rick-owens":{name:"Rick Owens",avgFloorDiscount:45,nextSaleEstimate:"late May",quality:"high",hypeLevel:"medium"},givenchy:{name:"Givenchy",avgFloorDiscount:45,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"medium"},"dolce-gabbana":{name:"Dolce & Gabbana",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},etro:{name:"Etro",avgFloorDiscount:55,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"low"},pucci:{name:"Pucci",avgFloorDiscount:50,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"medium"},"amina-muaddi":{name:"Amina Muaddi",avgFloorDiscount:35,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"very-high"},"jw-anderson":{name:"JW Anderson",avgFloorDiscount:50,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"medium"},"roger-vivier":{name:"Roger Vivier",avgFloorDiscount:35,nextSaleEstimate:"June & January",quality:"exceptional",hypeLevel:"medium"},"manolo-blahnik":{name:"Manolo Blahnik",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"exceptional",hypeLevel:"high"},"christian-louboutin":{name:"Christian Louboutin",avgFloorDiscount:30,nextSaleEstimate:"Limited availability",quality:"exceptional",hypeLevel:"high"},tods:{name:"Tod's",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"exceptional",hypeLevel:"medium"},"gabriela-hearst":{name:"Gabriela Hearst",avgFloorDiscount:55,nextSaleEstimate:"End of season",quality:"high",hypeLevel:"medium"},"victoria-beckham":{name:"Victoria Beckham",avgFloorDiscount:55,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"medium"},"nili-lotan":{name:"Nili Lotan",avgFloorDiscount:45,nextSaleEstimate:"June & December",quality:"high",hypeLevel:"medium"},"officine-generale":{name:"Officine Générale",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"low"},"louis-vuitton":{name:"Louis Vuitton",avgFloorDiscount:10,nextSaleEstimate:"Rare private markdowns",quality:"exceptional",hypeLevel:"very-high"},hermes:{name:"Hermès",avgFloorDiscount:15,nextSaleEstimate:"Rare private markdowns",quality:"exceptional",hypeLevel:"very-high"},chanel:{name:"Chanel",avgFloorDiscount:15,nextSaleEstimate:"Rare private markdowns",quality:"exceptional",hypeLevel:"very-high"},dior:{name:"Dior",avgFloorDiscount:25,nextSaleEstimate:"End of season, selective",quality:"exceptional",hypeLevel:"very-high"},burberry:{name:"Burberry",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"alexander-mcqueen":{name:"Alexander McQueen",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"}
107,versace:{name:"Versace",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},lemaire:{name:"Lemaire",avgFloorDiscount:45,nextSaleEstimate:"late May & January",quality:"high",hypeLevel:"medium"},kiton:{name:"Kiton",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"exceptional",hypeLevel:"low"},brioni:{name:"Brioni",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"exceptional",hypeLevel:"low"},bode:{name:"Bode",avgFloorDiscount:35,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"high"},"stone-island":{name:"Stone Island",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"high"},"our-legacy":{name:"Our Legacy",avgFloorDiscount:45,nextSaleEstimate:"late May & January",quality:"high",hypeLevel:"medium"},"wales-bonner":{name:"Wales Bonner",avgFloorDiscount:35,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"high"},"fear-of-god":{name:"Fear of God",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"high"},"jimmy-choo":{name:"Jimmy Choo",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},aquazzura:{name:"Aquazzura",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"gianvito-rossi":{name:"Gianvito Rossi",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"exceptional",hypeLevel:"medium"},rabanne:{name:"Rabanne",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"high"},courreges:{name:"Courrèges",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"high"},coperni:{name:"Coperni",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},"christopher-esber":{name:"Christopher Esber",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},savette:{name:"Savette",avgFloorDiscount:30,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"medium"},wandler:{name:"Wandler",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"alexander-wang":{name:"Alexander Wang",avgFloorDiscount:55,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"ann-demeulemeester":{name:"Ann Demeulemeester",avgFloorDiscount:45,nextSaleEstimate:"late May & January",quality:"high",hypeLevel:"medium"},balmain:{name:"Balmain",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"carolina-herrera":{name:"Carolina Herrera",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"cecilie-bahnsen":{name:"Cecilie Bahnsen",avgFloorDiscount:40,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"medium"},"comme-des-garcons":{name:"Comme des Garçons",avgFloorDiscount:35,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"medium"},"cult-gaia":{name:"Cult Gaia",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},erdem:{name:"Erdem",avgFloorDiscount:55,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"golden-goose":{name:"Golden Goose",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},"issey-miyake":{name:"Issey Miyake",avgFloorDiscount:35,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"high"},"johanna-ortiz":{name:"Johanna Ortiz",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"junya-watanabe":{name:"Junya Watanabe",avgFloorDiscount:35,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"medium"},lapointe:{name:"LAPOINTE",avgFloorDiscount:55,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},missoni:{name:"Missoni",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},monse:{name:"Monse",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"oscar-de-la-renta":{name:"Oscar de la Renta",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},roksanda:{name:"Roksanda",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},sacai:{name:"Sacai",avgFloorDiscount:40,nextSaleEstimate:"late May & January",quality:"high",hypeLevel:"high"},"self-portrait":{name:"Self-Portrait",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},simkhai:{name:"SIMKHAI",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},staud:{name:"STAUD",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},"tory-burch":{name:"Tory Burch",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},"yohji-yamamoto":{name:"Yohji Yamamoto",avgFloorDiscount:35,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"medium"},"anine-bing":{name:"Anine Bing",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},carven:{name:"Carven",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"rising"},"dion-lee":{name:"Dion Lee",avgFloorDiscount:55,nextSaleEstimate:"End of season",quality:"high",hypeLevel:"medium"},mackage:{name:"Mackage",avgFloorDiscount:45,nextSaleEstimate:"January & late June",quality:"high",hypeLevel:"medium"},"canada-goose":{name:"Canada Goose",avgFloorDiscount:30,nextSaleEstimate:"January & late June",quality:"high",hypeLevel:"high"},"mach-and-mach":{name:"Mach & Mach",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},"rene-caovilla":{name:"René Caovilla",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"sergio-rossi":{name:"Sergio Rossi",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},nanushka:{name:"Nanushka",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"}
107,"ralph-lauren-collection":{name:"Ralph Lauren Collection",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"nour-hammour":{name:"Nour Hammour",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},ducie:{name:"Ducie",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"rising"},"stand-studio":{name:"Stand Studio",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},"house-of-dagmar":{name:"House of Dagmar",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"by-malene-birger":{name:"By Malene Birger",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},rohe:{name:"Rohe",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"st-agni":{name:"St. Agni",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},"a-emery":{name:"A.Emery",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},posse:{name:"Posse",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},doen:{name:"Doen",avgFloorDiscount:35,nextSaleEstimate:"June & December",quality:"medium",hypeLevel:"high"},"ulla-johnson":{name:"Ulla Johnson",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},tibi:{name:"Tibi",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"maria-mcmanus":{name:"Maria McManus",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"rising"},"wardrobe-nyc":{name:"WARDROBE.NYC",avgFloorDiscount:35,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"medium"},"loulou-studio":{name:"LOULOU STUDIO",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},"guest-in-residence":{name:"Guest in Residence",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},"extreme-cashmere":{name:"Extreme Cashmere",avgFloorDiscount:35,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"medium"},"lisa-yang":{name:"Lisa Yang",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},arch4:{name:"Arch4",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},joseph:{name:"Joseph",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},vince:{name:"Vince",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},theory:{name:"Theory",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},"veronica-beard":{name:"Veronica Beard",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},"rag-and-bone":{name:"rag & bone",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},agolde:{name:"AGOLDE",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},"citizens-of-humanity":{name:"Citizens of Humanity",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},"mansur-gavriel":{name:"Mansur Gavriel",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},strathberry:{name:"Strathberry",avgFloorDiscount:40,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},apc:{name:"A.P.C.",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},aspesi:{name:"Aspesi",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"low"},"paul-smith":{name:"Paul Smith",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"low"},smythson:{name:"Smythson",avgFloorDiscount:35,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"low"},"sophie-bille-brahe":{name:"Sophie Bille Brahe",avgFloorDiscount:25,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"medium"},"spinelli-kilcollin":{name:"Spinelli Kilcollin",avgFloorDiscount:25,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"medium"},"david-yurman":{name:"David Yurman",avgFloorDiscount:30,nextSaleEstimate:"Holiday and seasonal promos",quality:"high",hypeLevel:"medium"}
107,mugler:{name:"Mugler",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"high"},"marine-serre":{name:"Marine Serre",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"high"},patou:{name:"Patou",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},schiaparelli:{name:"Schiaparelli",avgFloorDiscount:20,nextSaleEstimate:"Rare private markdowns",quality:"exceptional",hypeLevel:"very-high"},"nensi-dojaka":{name:"Nensi Dojaka",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},"16arlington":{name:"16Arlington",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"high"},"rotate-birger-christensen":{name:"ROTATE Birger Christensen",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},rixo:{name:"RIXO",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"medium"},"molly-goddard":{name:"Molly Goddard",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},"laquan-smith":{name:"LaQuan Smith",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"medium",hypeLevel:"high"},"kiko-kostadinov":{name:"Kiko Kostadinov",avgFloorDiscount:35,nextSaleEstimate:"Selective end-of-season",quality:"high",hypeLevel:"high"},tove:{name:"TOVE",avgFloorDiscount:45,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},altuzarra:{name:"Altuzarra",avgFloorDiscount:50,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"medium"},serapian:{name:"Serapian",avgFloorDiscount:35,nextSaleEstimate:"June & January",quality:"high",hypeLevel:"low"}},ZT=["coat","blazer","bag","boots","loafers","shoes","knit","cashmere","suit","trousers","jewelry","watch","accessory","beauty","home","travel","kids"];function eE(t,n,i){const s=gd[n],l=ZT.includes(i==null?void 0:i.toLowerCase()),u=s==null?void 0:s.hypeLevel,d=u==="high"||u==="very-high"||u==="rising";if(!s)return t>=60?{verdict:"BUY",label:"Buy",message:`At ${t}% off, this is a deep markdown. Confirm the live price, return policy, and availability before checkout.`,confidence:"low"}:t<20?{verdict:"NOT_WORTH_IT",label:"Skip",message:`Only ${t}% off. Without stronger product history, this is not enough edge.`,confidence:"low"}:{verdict:"WAIT",label:"Wait",message:`${t}% off is useful, but SCOUTLO needs stronger product history before calling it a clear buy.`,confidence:"low"};if(t>=60&&(l||d))return{verdict:"BUY",label:"Buy",message:`At ${t}% off, this matches its historical floor price â ${l?"a staple that holds its value":"a piece that rarely discounts this far"}.`,confidence:"high"};if(t>=40&&l)return{verdict:"BUY",label:"Buy",message:`${t}% off a wardrobe staple. A strong markdown on a piece with long wear.`,confidence:"medium"};if(t<20)return{verdict:"NOT_WORTH_IT",label:"Skip",message:`Only ${t}% off. ${(s==null?void 0:s.name)||"This brand"} typically discounts deeper into the season.`,confidence:"high"};if(t>=20&&t<40){const h=(s==null?void 0:s.nextSaleEstimate)||"the next major sale window";return{verdict:"WAIT",label:"Wait",message:`Decent markdown, but history says this can hit ${(s==null?void 0:s.avgFloorDiscount)||50}%+ off. Hold for ${h}.`,confidence:"medium"}}return t>=40&&t<60&&!l?{verdict:"WAIT",label:"Wait",message:`${t}% is good but not the floor. Trend-driven pieces like this often hit deeper markdowns in final clearance.`,confidence:"medium"}:{verdict:"BUY",label:"Buy",message:`At ${t}% off, this is a solid markdown for the brand.`,confidence:"medium"}}function Mi(t){return gd[t]||null}function tE(){return Object.entries(gd).map(([t,n])=>({slug:t,...n}))}const nE=[["theoutnet","The Outnet"],["net-a-porter","Net-a-Porter"],["ssense","SSENSE"],["farfetch","Farfetch"],["saksfifthavenue","Saks Fifth Avenue"],["nordstrom","Nordstrom"],["bergdorfgoodman","Bergdorf Goodman"],["neimanmarcus","Neiman Marcus"],["mytheresa","Mytheresa"],["mrporter","Mr. Porter"],["24s.com","24S"],["thewebster","The Webster"],["goop.com","goop"],["jomashop","Jomas
107hop"],["modaoperandi","Moda Operandi"],["luisaviaroma","LUISAVIAROMA"],["cettire","Cettire"],["selfridges","Selfridges"],["fwrd","FWRD"],["shopbop","Shopbop"],["harrods","Harrods"],["brownsfashion","Browns"]],rE=[["the-row","The Row","the-row"],["saint-laurent","Saint Laurent","saint-laurent"],["ysl","Saint Laurent","saint-laurent"],["khaite","Khaite","khaite"],["jil-sander","Jil Sander","jil-sander"],["toteme","Toteme","toteme"],["loewe","Loewe","loewe"],["brunello","Brunello Cucinelli","brunello-cucinelli"],["zegna","Zegna","zegna"],["acne","Acne Studios","acne-studios"],["magda-butrym","Magda Butrym","magda-butrym"],["celine","Celine","celine"],["chloe","Chloé","chloe"],["prada","Prada","prada"],["miu-miu","Miu Miu","miu-miu"],["gucci","Gucci","gucci"],["balenciaga","Balenciaga","balenciaga"],["fendi","Fendi","fendi"],["max-mara","Max Mara","max-mara"],["maxmara","Max Mara","max-mara"],["marni","Marni","marni"],["dries-van-noten","Dries Van Noten","dries-van-noten"],["ganni","Ganni","ganni"],["proenza","Proenza Schouler","proenza-schouler"],["zimmermann","Zimmermann","zimmermann"],["isabel-marant","Isabel Marant","isabel-marant"],["stella-mccartney","Stella McCartney","stella-mccartney"],["alaia","Alaïa","alaia"],["ferragamo","Ferragamo","ferragamo"],["moncler","Moncler","moncler"],["jacquemus","Jacquemus","jacquemus"],["maison-margiela","Maison Margiela","maison-margiela"],["margiela","Maison Margiela","maison-margiela"],["rick-owens","Rick Owens","rick-owens"],["givenchy","Givenchy","givenchy"],["dolce-gabbana","Dolce & Gabbana","dolce-gabbana"],["dolceandgabbana","Dolce & Gabbana","dolce-gabbana"],["etro","Etro","etro"],["pucci","Pucci","pucci"],["amina-muaddi","Amina Muaddi","amina-muaddi"],["jw-anderson","JW Anderson","jw-anderson"],["roger-vivier","Roger Vivier","roger-vivier"],["manolo-blahnik","Manolo Blahnik","manolo-blahnik"],["christian-louboutin","Christian Louboutin","christian-louboutin"],["louboutin","Christian Louboutin","christian-louboutin"],["tods","Tod's","tods"],["tod-s","Tod's","tods"],["gabriela-hearst","Gabriela Hearst","gabriela-hearst"],["victoria-beckham","Victoria Beckham","victoria-beckham"],["nili-lotan","Nili Lotan","nili-lotan"],["officine-generale","Officine Générale","officine-generale"],["officine-générale","Officine Générale","officine-generale"],["hermes","Hermès","hermes"],["hermès","Hermès","hermes"],["chanel","Chanel","chanel"],["dior","Dior","dior"],["burberry","Burberry","burberry"],["alexander-mcqueen","Alexander McQueen","alexander-mcqueen"],["mcqueen","Alexander McQueen","alexander-mcqueen"],["versace","Versace","versace"],["lemaire","Lemaire","lemaire"],["kiton","Kiton","kiton"],["brioni","Brioni","brioni"],["bode","Bode","bode"],["stone-island","Stone Island","stone-island"],["our-legacy","Our Legacy","our-legacy"],["wales-bonner","Wales Bonner","wales-bonner"],["fear-of-god","Fear of God","fear-of-god"],["jimmy-choo","Jimmy Choo","jimmy-choo"],["aquazzura","Aquazzura","aquazzura"],["gianvito-rossi","Gianvito Rossi","gianvito-rossi"],["rabanne","Rabanne","rabanne"],["courreges","Courrèges","courreges"],["courrèges","Courrèges","courreges"],["coperni","Coperni","coperni"],["christopher-esber","Christopher Esber","christopher-esber"],["savette","Savette","savette"],["wandler","Wandler","wandler"],["alexander-wang","Alexander Wang","alexander-wang"],["ann-demeulemeester","Ann Demeulemeester","ann-demeulemeester"],["balmain","Balmain","balmain"],["carolina-herrera","Carolina Herrera","carolina-herrera"],["cecilie-bahnsen","Cecilie Bahnsen","cecilie-bahnsen"],["comme-des-garcons","Comme des Garçons","comme-des-garcons"],["comme-des-garçons","Comme des Garçons","comme-des-garcons"],["cult-gaia","Cult Gaia","cult-gaia"],["erdem","Erdem","erdem"],["golden-goose","Golden Goose","golden-goose"],["issey-miyake","Issey Miyake","issey-miyake"],["johanna-ortiz","Johanna Ortiz","johanna-ortiz"],["junya-watanabe","Junya Watanabe","junya-watanabe"],["lapointe","LAPOINTE","lapointe"],["missoni","Missoni","missoni"],["monse","Monse","monse"],["oscar-de-la-renta","Oscar de la Renta","oscar-de
107-la-renta"],["roksanda","Roksanda","roksanda"],["sacai","Sacai","sacai"],["self-portrait","Self-Portrait","self-portrait"],["simkhai","SIMKHAI","simkhai"],["staud","STAUD","staud"],["tory-burch","Tory Burch","tory-burch"],["yohji-yamamoto","Yohji Yamamoto","yohji-yamamoto"],["anine-bing","Anine Bing","anine-bing"],["carven","Carven","carven"],["dion-lee","Dion Lee","dion-lee"],["mackage","Mackage","mackage"],["canada-goose","Canada Goose","canada-goose"],["mach-and-mach","Mach & Mach","mach-and-mach"],["rene-caovilla","René Caovilla","rene-caovilla"],["rené-caovilla","René Caovilla","rene-caovilla"],["sergio-rossi","Sergio Rossi","sergio-rossi"],["nanushka","Nanushka","nanushka"],["ralph-lauren","Ralph Lauren Collection","ralph-lauren-collection"],["nour-hammour","Nour Hammour","nour-hammour"],["ducie","Ducie","ducie"],["stand-studio","Stand Studio","stand-studio"],["house-of-dagmar","House of Dagmar","house-of-dagmar"],["by-malene-birger","By Malene Birger","by-malene-birger"],["malene-birger","By Malene Birger","by-malene-birger"],["rohe","Rohe","rohe"],["st-agni","St. Agni","st-agni"],["a-emery","A.Emery","a-emery"],["posse","Posse","posse"],["doen","Doen","doen"],["dôen","Doen","doen"],["ulla-johnson","Ulla Johnson","ulla-johnson"],["tibi","Tibi","tibi"],["maria-mcmanus","Maria McManus","maria-mcmanus"],["wardrobe-nyc","WARDROBE.NYC","wardrobe-nyc"],["wardrobe.nyc","WARDROBE.NYC","wardrobe-nyc"],["loulou-studio","LOULOU STUDIO","loulou-studio"],["guest-in-residence","Guest in Residence","guest-in-residence"],["extreme-cashmere","Extreme Cashmere","extreme-cashmere"],["lisa-yang","Lisa Yang","lisa-yang"],["arch4","Arch4","arch4"],["joseph","Joseph","joseph"],["vince","Vince","vince"],["theory","Theory","theory"],["veronica-beard","Veronica Beard","veronica-beard"],["rag-and-bone","rag & bone","rag-and-bone"],["rag-bone","rag & bone","rag-and-bone"],["agolde","AGOLDE","agolde"],["citizens-of-humanity","Citizens of Humanity","citizens-of-humanity"],["mansur-gavriel","Mansur Gavriel","mansur-gavriel"],["strathberry","Strathberry","strathberry"],["a-p-c","A.P.C.","apc"],["apc","A.P.C.","apc"],["aspesi","Aspesi","aspesi"],["paul-smith","Paul Smith","paul-smith"],["smythson","Smythson","smythson"],["sophie-bille-brahe","Sophie Bille Brahe","sophie-bille-brahe"],["spinelli-kilcollin","Spinelli Kilcollin","spinelli-kilcollin"],["david-yurman","David Yurman","david-yurman"],["mugler","Mugler","mugler"],["marine-serre","Marine Serre","marine-serre"],["patou","Patou","patou"],["schiaparelli","Schiaparelli","schiaparelli"],["nensi-dojaka","Nensi Dojaka","nensi-dojaka"],["16arlington","16Arlington","16arlington"],["rotate-birger-christensen","ROTATE Birger Christensen","rotate-birger-christensen"],["rixo","RIXO","rixo"],["molly-goddard","Molly Goddard","molly-goddard"],["laquan-smith","LaQuan Smith","laquan-smith"],["kiko-kostadinov","Kiko Kostadinov","kiko-kostadinov"],["tove","TOVE","tove"],["altuzarra","Altuzarra","altuzarra"],["serapian","Serapian","serapian"]];function iE(){const t=[];for(const{slug:n,name:i}of tE()){t.push([n,i,n]);const s=String(n||"").replace(/-/g,"");s.length>=4&&s!==n&&t.push([s,i,n])}return t}function oE(t,n){const i=new Map;for(const u of t){const d=u==null?void 0:u[0];d&&!i.has(d)&&i.set(d,u)}const s=new Set(i.keys()),l=n.filter(([u])=>!s.has(u));return[...[...i.values()].map(([u,d,h])=>[u,d,h,"curated"]),...l.map(([u,d,h])=>[u,d,h,"directory"])].sort((u,d)=>d[0].length-u[0].length)}const sE=oE([...rE,...iE()],XT),aE=["refrigerator","fridge","freezer","dishwasher","washer","dryer","microwave","appliance","mattress","tv","television","laptop","phone","tablet","vacuum"];function _v(t){return t.replace(/[-_]+/g," ").replace(/\b\w/g,n=>n.toUpperCase()).trim()}const lE=new Set(["en","en-us","us","usa","uk","eu","mens","men","womens","women","shop","shopping","product","products","collections","sale"]),uE=[["bag",/\b(bag|tote|handbag|clutch|satchel|bucket|crossbody)\b/],["coat",/\b(coat|jacket|outerwear|parka|puffer|trench|shearling|moto)\b/],["blazer",/\b(blazer|suit|tailoring|tailored)\b/],["cashmere",/\b(cashmere)\b/],["knit",/\b(knit|knitwear|cardigan|sweater|jumper)\b/],["boots",/\b(boot|boots|bootie|booties)\b/],["loafers",/\b(loafer|loafers|mule|mules|flat|flats)\b/],["shoes",/\b(sandal|sandals|heel|heels|pump|pumps|sneaker|sneakers|shoe|shoes)\b/],["dress",/\b(dress|gown)\b/],["to
107p",/\b(top|shirt|blouse|tee|t-shirt|tank)\b/],["trousers",/\b(trouser|trousers|pant|pants|jean|jeans|denim|skirt)\b/],["jewelry",/\b(jewelry|jewellery|earring|earrings|necklace|bracelet|ring|bangle)\b/],["watch",/\b(watch|watches|timepiece)\b/],["kids",/\b(kids|children|childrens|baby|toddler)\b/],["beauty",/\b(beauty|fragrance|perfume|cologne|scent|skincare|skin-care|serum|cream|lipstick|makeup|mascara|foundation)\b/],["travel",/\b(luggage|suitcase|carry-on|carryon|duffle|duffel|weekender|passport|travel)\b/],["home",/\b(home|decor|décor|candle|throw|blanket|pillow|vase|tableware|glassware|tray|bedding|lamp)\b/],["accessory",/\b(scarf|belt|sunglasses|wallet|cardholder|hat|cap|gloves|keychain)\b/]],cE=["black","white","ivory","cream","beige","camel","brown","tan","green","blue","navy","red","pink","silver","gold","grey","gray","stone","sand","taupe","burgundy","chocolate","espresso"],dE=[{pattern:/\bkhaite\b[\s\S]*\blotus\b[\s\S]*\btote\b|\blotus-medium-tote\b/,image:"/editorial-products/khaite-lotus-medium-tote-black.jpg"}];function fE(t){for(const[n,i]of uE)if(i.test(t))return n;return"other"}function hE(t){return cE.find(n=>new RegExp(`\\b${n}\\b`,"i").test(t))||null}const mE=new Set(["ash","byfar","eres","interior","joseph","mateo","mcm","peony","rhode","sir","thegreat","y3"]);function Iv(t){return String(t||"").normalize("NFKD").replace(/[\u0300-\u036f]/g,"").toLowerCase()}function pE(t){return String(t||"").replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function gE(t,n,i){const s=Iv(i);if(!s)return!1;const l=s.replace(/[^a-z0-9]+/g,"");if(l.length<=5||mE.has(l)){const u=l.split("").map(pE).join("[^a-z0-9]*");return new RegExp(`(^|[^a-z0-9])${u}([^a-z0-9]|$)`).test(t)}return t.includes(s)||n.includes(s)||n.includes(l)}function Bv(t){const n=Iv(t),i=n.replace(/[^a-z0-9]+/g,"");return sE.find(([s])=>gE(n,i,s))||null}function Vv(t){var n;return((n=dE.find(i=>i.pattern.test(t)))==null?void 0:n.image)||null}function yE(t){const n=t.pathname.split("/").filter(Boolean).map(i=>i.toLowerCase()).filter(i=>!lE.has(i)).slice(-2);return _v(n.join(" ")||"Product Link")}function vE(t){var F;const n=new URL(t),i=`${n.hostname} ${n.pathname}`.toLowerCase(),s=aE.some(j=>i.includes(j)),l=((F=nE.find(([j])=>i.includes(j)))==null?void 0:F[1])||_v(n.hostname.replace(/^www\./,"").split(".")[0]),u=Bv(i),d=(u==null?void 0:u[1])||(s?"Unsupported Category":"Unknown Brand"),h=(u==null?void 0:u[2])||"other",m=(u==null?void 0:u[3])||null,p=m==="curated",g=fE(i),v=/new-arrivals|new-in|new-season|whats-new|just-in/.test(i),x=yE(n),C=hE(i),N=s?null:Vv(i),k=g==="bag"?1800:g==="coat"?1200:g==="cashmere"||g==="knit"?650:g==="jewelry"||g==="watch"?1200:g==="shoes"||g==="boots"||g==="loafers"?750:g==="beauty"?180:g==="home"?420:g==="travel"?900:g==="kids"?300:890,R=Math.round(k/(1-(s||v?0:h==="other"?25:h==="the-row"||h==="loewe"?20:40)/100));return{brand:d,brandSlug:h,itemName:x,itemType:g,color:C,currentPrice:k,originalPrice:R,retailer:l,newSeason:v,liveImage:N,unsupportedCategory:s,brandDirectorySource:m,hasCuratedBrandIntelligence:p,limitedRead:!p||s,cheaperAlternatives:s?[]:[{retailer:"SSENSE",estimatedPrice:Math.round(k*.92),note:"check seasonal sale depth"},{retailer:"Farfetch",estimatedPrice:Math.round(k*.96),note:"compare boutique pricing"}],analysis:s?"This link does not give SCOUTLO enough reliable product data for a real buy, wait, or skip recommendation yet.":p?"This beta read is based on the retailer, brand, item category, and typical markdown cycles. Confirm the live price, size, and availability before checkout.":"SCOUTLO recognized the product context, but this is a cautious read until there is stronger live price and markdown history."}}function wE(t,n){const i=n==null?void 0:n.product;if(!(i!=null&&i.price))return t;const s=i.brand?Bv(String(i.brand).toLowerCase()):null,l=(s==null?void 0:s[2])||null,u=(s==null?void 0:s[3])||null,d=!!(t.hasCuratedBrandIntelligence||u==="curated"),h={itemName:i.name||t.itemName,brand:i.brand||t.brand,brandSlug:t.brandSlug!=="other"?t.brandSlug:l||t.brandSlug,brandDirectorySource:t.brandDirectorySource||u||null,hasCuratedBrandIntelligence:d,limitedRead:t.unsupportedCategory||!d,priceHistory:n.history||null,liveImage:i.image||t.liveImage||null,variantKey:i.variantKey||t.variantKey||null,sku:i.sku||t.sku||null,mpn:i.mpn||t.mpn||null,gtin:i.gtin||t.gtin||null,color:i.color||t.color||null,size:i.size||t.size||null};return i.originalPrice&&i.originalPrice>
107=i.price?{...t,...h,currentPrice:i.price,originalPrice:i.originalPrice,livePricing:!0,analysis:"Verdict computed from the retailer's live published prices. Confirm size and availability before checkout."}:{...t,...h,currentPrice:i.price,originalPrice:i.price,livePriceOnly:!0}}function rg(t,{currentPrice:n,originalPrice:i}={}){const s=Number(n),l=Number(i);return!Number.isFinite(s)||!Number.isFinite(l)||s<=0||l<=0||s>l?{...t,userPricing:!1}:{...t,currentPrice:s,originalPrice:l,userPricing:!0,livePricing:!1,livePriceOnly:!1,analysis:t.unsupportedCategory?t.analysis:"Verdict computed from the prices you entered against this brand's typical markdown cycle. Confirm size and availability before checkout."}}function xE(t,{width:n=600}={}){return t}const ig={BUY:"#f2b705",WAIT:"#8a8f98",NOT_WORTH_IT:"#dc4b3e"};function hi(t){return String(t??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}function bE({brand:t,itemName:n,verdictLabel:i,verdictKey:s,score:l,retailer:u,discountPercent:d,targetPrice:h}={}){const m=ig[s]||ig.WAIT,p=hi(i||"Wait").toUpperCase(),g=d!=null?`${d}% off${u?` · ${u}`:""}`:u||"",v=s==="WAIT"&&h?`Wait for ~$${Number(h).toLocaleString()}`:s==="BUY"?"The markdown and timing line up.":s==="NOT_WORTH_IT"?"Not strong enough at this price.":"";return`<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1350" viewBox="0 0 1080 1350"> 108 <defs> 109 <linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"> 110 <stop offset="0" stop-color="#241a18"/> 111 <stop offset="0.55" stop-color="#141110"/> 112 <stop offset="1" stop-color="#1f2a25"/> 113 </linearGradient> 114 </defs> 115 <rect width="1080" height="1350" fill="url(#bg)"/> 116 <rect x="60" y="60" width="960" height="1230" rx="28" fill="none" stroke="#b3c8bd" stroke-opacity="0.28" stroke-width="2"/> 117 <text x="110" y="150" fill="#b3c8bd" font-family="Courier New, monospace" font-size="26" letter-spacing="8">SCOUTLO VERDICT</text> 118 <text x="110" y="470" fill="#f5f1ea" font-family="Georgia, serif" font-size="52" font-weight="700">${hi(t)||"This piece"}</text> 119 <text x="110" y="530" fill="#c9bfb4" font-family="Georgia, serif" font-size="34">${hi(n)}</text> 120 <text x="110" y="800" fill="${m}" font-family="Georgia, serif" font-size="230" font-weight="700">${p}</text> 121 <text x="110" y="880" fill="#c9bfb4" font-family="Courier New, monospace" font-size="30" letter-spacing="3">${hi(g)}</text> 122 ${v?`<text x="110" y="960" fill="#f5f1ea" font-family="Georgia, serif" font-size="40" font-style="italic">${hi(v)}</text>`:""} 123 ${l!=null?`<text x="110" y="1180" fill="#b3c8bd" font-family="Courier New, monospace" font-size="30" letter-spacing="4">SCOUTLO SCORE ${hi(l)}/100</text>`:""} 124 <text x="110" y="1240" fill="#8a8f98" font-family="Courier New, monospace" font-size="24" letter-spacing="5">BUY / WAIT / SKIP</text> 125</svg>`}function SE(t,n,i){return new Promise((s,l)=>{const u=new Image,d=new Blob([t],{type:"image/svg+xml;charset=utf-8"}),h=URL.createObjectURL(d);u.onload=()=>{try{const m=document.createElement("canvas");m.width=n,m.height=i,m.getContext("2d").drawImage(u,0,0,n,i),URL.revokeObjectURL(h),m.toBlob(g=>g?s(g):l(new Error("toBlob failed")),"image/png")}catch(m){URL.revokeObjectURL(h),l(m)}},u.onerror=()=>{URL.revokeObjectURL(h),l(new Error("SVG render failed"))},u.src=h})}async function kE(t){const n=bE(t),i=await SE(n,1080,1350),s=new File([i],"scoutlo-verdict.png",{type:"image/png"});if(navigator.canShare&&navigator.canShare({files:[s]}))try{return await navigator.share({files:[s],title:"SCOUTLO verdict"}),"shared"}catch{}const l=URL.createObjectURL(i),u=document.createElement("a");return u.href=l,u.download="scoutlo-verdict.png",document.body.appendChild(u),u.click(),u.remove(),URL.revokeObjectURL(l),"downloaded"}const zv={"net-a-porter":"Net-a-Porter",ssense:"SSENSE",farfetch:"Farfetch",saks:"Saks Fifth Avenue","mr-porter":"Mr. Porter","loro-piana":"Loro Piana","the-outnet":"The Outnet","24s":"24S","the-webster":"The Webster","neiman-marcus":"Neiman Marcus","bergdorf-goodman":"Bergdorf Goodman",goop:"goop",jomashop:"Jomashop",nordstrom:"Nordstrom",mytheresa:"Mytheresa",modaoperandi:"Moda Operandi",luisaviaroma:"LUISAVIAROMA",cettire:"Cettire",selfridges:"Selfridges",fwrd:"FWRD",shopbop:"Shopbop",harrods:"Harrods",brownsfashion:"Browns"},CE={"net-a-porter":"Private sales typically June and December",ssense:"Seasonal sale often reaches the deepest cuts",farfetch:"Aggregates global boutiques - pricing varies by seller",saks:"Friends & Family and seasonal designer events","mr-porter":"Menswear private sales in June and December","loro-piana":"Rarely discounts - compare direct pricing","the-outnet":"Prior-season designer at 40-70% off, year-round","24s":"LVMH retailer - seasonal sales and exclusives","the-webster":"Independent boutique - sale runs deep on distinctive buys","neiman-marcus":"Designer sales plus gift-card events","bergdorf-goodman":"Semi-annual sale, January and late June",goop:"Curated edit - occasional promos on hard-to-find labels",jomashop:"Gray-market pricing on watches and accessories, often lowest",nordstrom:"Broad shopping coverage with sale filters and reliable fulfillment",mytheresa:"Strong European buy with clean seasonal markdown windows",modaoperandi:"Pre-order heavy, but end-of-season drops can be sharp",luisaviaroma:"Italian multi-brand pricing often moves early in sale season",cettire:"Cross-border discounter - often one of the cheapest live prices",selfridges:"Strong shoe and accessory inventory with seasonal markdowns",fwrd:"Forward-fashion buy with solid sale depth on sought-after labels",shopbop:"Contemporary mix with dependable markdown cadence",harrods:"Selective markdowns, especially on shoes and accessories",brownsfashion:"Boutique inventory with interesting clearance pockets"},og={"net-a-porter":{tier:"luxury_retailer",score:96,badge:"Established luxury retailer",reason:"Established luxury retailer with direct designer merchandising and clear customer-service policies."},ssense:{tier:"luxury_retailer",score:94,badge:"Established luxury retailer",reason:"Established luxury retailer with broad designer coverage and reliable sale inventory."},farfetch:{tier:"marketplace",score:82,badge:"Known luxury marketplace",reason:"Known luxury marketplace; pricing and fulfillment can vary by boutique partner."},saks:{tier:"department_store",score:95,badge:"Established department store",reason:"Established department store with designer inventory and clear returns policies."},"mr-porter":{tier:"luxury_retailer",score:96,badge:"Established luxury retailer",reason:"Established menswear luxury retailer with direct designer merchandising."},"loro-piana":{tier:"brand_direct",score:98,badge:"Brand-direct retailer",reason:"Official brand channel; useful as the pricing baseline."},"the-outnet":{tier:"luxury_outlet",score:93,badge:"Established luxury outlet",reason:"Established luxury outlet for prior-season designer inventory."},"24s":{tier:"luxury_retailer",score:91,badge:"Established luxury retailer",reason:"Established LVMH-backed luxury retailer with seasonal designer markdowns."},"the-webster":{tier:"boutique",score:84,badge:"Known luxury boutique",reason:"Known luxury boutique; confirm final-sale terms before checkout."},"neiman-marcus":{tier:"department_store",score:95,badge:"Established department store",reason:"Established department store with designer inventory and clear returns policies."}
125,"bergdorf-goodman":{tier:"department_store",score:95,badge:"Established department store",reason:"Established luxury department store with designer inventory."},goop:{tier:"curated_retailer",score:80,badge:"Known curated retailer",reason:"Known curated retailer; compare stock depth and final-sale terms."},jomashop:{tier:"gray_market",score:72,badge:"Established gray-market route",reason:"Established gray-market route for watches and accessories; confirm warranty and returns."},nordstrom:{tier:"department_store",score:96,badge:"Established department store",reason:"Established department store with broad fulfillment and returns coverage."},mytheresa:{tier:"luxury_retailer",score:94,badge:"Established luxury retailer",reason:"Established luxury retailer with strong designer buying and seasonal markdown windows."},modaoperandi:{tier:"luxury_retailer",score:89,badge:"Established luxury retailer",reason:"Established luxury retailer with fashion-forward designer inventory."},luisaviaroma:{tier:"luxury_retailer",score:88,badge:"Established luxury retailer",reason:"Established Italian luxury retailer with multi-brand designer inventory."},cettire:{tier:"cross_border",score:78,badge:"Known cross-border price route",reason:"Known cross-border luxury price route; confirm returns, duties, and stock before checkout."},selfridges:{tier:"department_store",score:93,badge:"Established department store",reason:"Established department store with designer inventory and seasonal markdowns."},fwrd:{tier:"luxury_retailer",score:88,badge:"Known luxury retailer",reason:"Known luxury retailer with forward-fashion designer inventory."},shopbop:{tier:"fashion_retailer",score:88,badge:"Established fashion retailer",reason:"Established fashion retailer with reliable fulfillment and sale cadence."},harrods:{tier:"department_store",score:94,badge:"Established department store",reason:"Established luxury department store with selective designer markdowns."},brownsfashion:{tier:"boutique",score:86,badge:"Known luxury boutique",reason:"Known luxury boutique with designer clearance inventory."}};function yd(t){const n=String(t||"").toLowerCase();return n.includes("outnet")?"the-outnet":n.includes("ssense")?"ssense":n.includes("net-a-porter")||n.includes("net a porter")||n.includes("netaporter")?"net-a-porter":n.includes("farfetch")?"farfetch":n.includes("saks")?"saks":n.includes("mr")&&n.includes("porter")||n.includes("mrporter")?"mr-porter":n.includes("loro")?"loro-piana":n.includes("24s")||n.includes("24 s")?"24s":n.includes("webster")?"the-webster":n.includes("neiman")?"neiman-marcus":n.includes("bergdorf")?"bergdorf-goodman":n.includes("goop")?"goop":n.includes("jomashop")?"jomashop":n.includes("nordstrom")?"nordstrom":n.includes("mytheresa")?"mytheresa":n.includes("moda")?"modaoperandi":n.includes("luisaviaroma")?"luisaviaroma":n.includes("cettire")?"cettire":n.includes("selfridges")?"selfridges":n.includes("fwrd")?"fwrd":n.includes("shopbop")?"shopbop":n.includes("harrods")?"harrods":n.includes("browns")?"brownsfashion":null}function TE(t){return CE[t]||null}function vd(t){const n=yd(t);return n&&og[n]?{key:n,label:zv[n],reputable:!0,...og[n]}:{key:null,label:String(t||"").replace(/^https?:\/\//i,"").replace(/^www\./i,"").split(/[/?#]/)[0]||"This retailer",reputable:!1,tier:"unverified",score:30,badge:"Retailer not yet vetted",reason:"SCOUTLO does not have a retailer reputation note for this source yet."}}function sg(t={}){const n=vd(t.retailer||t.url);return{...t,retailerKey:t.retailerKey||n.key,retailer:n.key?n.label:t.retailer||n.label,retailerReputation:n,reputableRetailer:!!n.reputable}}function ag(t=[],n=null){const i=vd((n==null?void 0:n.retailer)||(n==null?void 0:n.url)),s=String(i.key?i.label:(n==null?void 0:n.retailer)||"").toLowerCase(),l=Number(n==null?void 0:n.price)||0,u=t.filter(h=>{var p;if(!h)return!1;const m=h.retailerKey||((p=h.retailerReputation)==null?void 0:p.key)||yd(h.retailer||h.url);return i.key&&m&&m===i.key?!1:String(h.retailer||"").toLowerCase()!==s}).filter(h=>!l||Number(h.price)<l).sort((h,m)=>Number(h.price)-Number(m.price));return u.length?u.filter(h=>{var m;return(m=h.retailerReputation)==null?void 0:m.reputable})[0]||u[0]:null}const EE=["the-outnet","cettire","ssense","fwrd","modaoperandi","mytheresa","net-a-porter","luisaviaroma","24s","selfridges","saks","neiman-marcus","bergdorf-goodman","brownsfashion","harrods","nordstrom","the-webster","shopbop","goop","farfetch"],PE=["mr-porter","cettire","ssense","mytheresa","24s","selfridges","saks","neiman-marcus","bergdorf-goodman","harrods","nordstrom","farfetch"],LE=["jomashop"];
125function Uv({originalPrice:t,brandSlug:n,currentPrice:i}){const s=Mi(n),l=(s==null?void 0:s.avgFloorDiscount)??50,u=Number(t)||0,d=Number(i)||0,h=u>0?Math.round(u*(1-l/100)):null,m=!!(h&&d&&h<d*.97);return{floorDiscount:l,targetPrice:h,nextWindow:(s==null?void 0:s.nextSaleEstimate)||null,hasRoom:m}}function NE({brand:t,itemName:n,itemType:i,retailer:s,gender:l,limit:u=3}={}){const d=[t,n||i].filter(Boolean).join(" ").trim();if(!d||d.toLowerCase().includes("unknown")||d.toLowerCase().includes("unsupported"))return[];const h=yd(s),m=l==="men"?PE:EE,p=String(i||"").toLowerCase();return(p==="accessory"||p==="watch"||p==="jewelry"?[...LE,...m]:m).filter(v=>v!==h).slice(0,u).map(v=>({retailerKey:v,retailer:zv[v],reason:TE(v),retailerReputation:vd(v),link:KT(v,d)}))}function AE({discountPercent:t,brandSlug:n}){const i=Mi(n),s=(i==null?void 0:i.avgFloorDiscount)||50,l=Math.min((Number(t)||0)/Math.max(s,1),1.2),u={exceptional:22,high:15,medium:9,low:4}[i==null?void 0:i.quality]??6;return Math.max(0,Math.min(100,Math.round(l*60+u)))}function DE(t={}){var R;const{verdict:n,brand:i,brandSlug:s,itemName:l,itemType:u,retailer:d,currentPrice:h,originalPrice:m,discountPercent:p,affiliateLink:g,gender:v,unsupportedCategory:x}=t;if(x)return{verdict:n,score:null,target:{hasRoom:!1},alternatives:[],primary:null};const C=Uv({originalPrice:m,brandSlug:s,currentPrice:h}),N=NE({brand:i,itemName:l,itemType:u,retailer:d,gender:v}),k=AE({discountPercent:p,brandSlug:s});let E;return n==="BUY"?E={kind:"buy",label:`Shop at ${d||"retailer"}`,link:g||null}:n==="WAIT"?E={kind:"watch",label:"Save to SCOUTLO List",link:null}:E={kind:"compare",label:"See better options",link:((R=N[0])==null?void 0:R.link)||null},{verdict:n,score:k,target:C,alternatives:N,primary:E}}function RE(t,n){if(!t||!n)return"unknown";if(t===n)return Pa(t)?"exact_variant":"same_style_same_color";if(Pa(t)&&Pa(n))return"different_item";const i=u=>String(u).startsWith("soft:")?u.split(":").slice(0,3).join(":"):null,s=i(t),l=i(n);return s&&l&&s===l?"same_style_other_color":"unknown"}function lg(t){return t==="exact_variant"}function ME(t){return t==="same_style_same_color"}function OE(t,n=[],{currentVariantKey:i=null}={}){const s=i||(t==null?void 0:t.variantKey)||null,l=[t,...n||[]].filter(H=>H&&H.retailer&&Number(H.price)>0).map(H=>sg({retailer:H.retailer,price:Math.round(Number(H.price)),url:H.url||null,variantKey:H.variantKey||null,matchType:RE(s,H.variantKey||null)})),u=new Map;for(const H of l){const ge=u.get(H.retailer);(!ge||H.price<ge.price)&&u.set(H.retailer,H)}const d=[...u.values()].sort((H,ge)=>H.price-ge.price);if(d.length===0)return null;const h=d[0],m=t&&Number(t.price)>0?sg({retailer:t.retailer,price:Math.round(Number(t.price)),url:t.url||null,variantKey:s}):null,p=m?h.retailer===m.retailer:!1,g=m&&!p?m.price-h.price:0,v=new Map;for(const H of l.filter(ge=>lg(ge.matchType))){const ge=v.get(H.retailer);(!ge||H.price<ge.price)&&v.set(H.retailer,H)}const x=[...v.values()].sort((H,ge)=>H.price-ge.price),C=x[0]||null,N=ag(x,m),k=new Map;for(const H of l.filter(ge=>ME(ge.matchType))){const ge=k.get(H.retailer);(!ge||H.price<ge.price)&&k.set(H.retailer,H)}const E=[...k.values()].sort((H,ge)=>H.price-ge.price),R=E[0]||null,F=ag(E,m),j=lg(h.matchType),O=m&&C&&C.retailer!==m.retailer?m.price-C.price:0,V=m&&R&&R.retailer!==m.retailer?m.price-R.price:0,I=m&&N?m.price-N.price:0,G=m&&F?m.price-F.price:0,D=d.filter(H=>m&&H.retailer!==m.retailer&&H.price<m.price&&H.matchType!=="exact_variant"&&H.matchType!=="same_style_same_color"&&H.matchType!=="same_style_other_color"&&H.matchType!=="different_item"),Y=d.filter(H=>H.matchType==="same_style_other_color"&&m&&H.price<m.price);return{cheapest:h,isCheapestHere:p,savingsElsewhere:g,offers:d,comparedCount:d.length,cheapestIsExactMatch:j,cheapestSameItem:C,savingsOnExactSameItem:O,recommendedSameItem:N,savingsOnRecommendedSameItem:I,cheapestSameStyleColor:R,savingsOnSameStyleColor:V,recommendedSameStyleColor:F,savingsOnRecommendedSameStyleColor:G,unverifiedCheaperOffer:D[0]||null,otherVariantOffers:Y}}
125function FE({markdownVerdict:t,cheapest:n,targetPrice:i,targetHasRoom:s,currentPrice:l,lowestSeen:u,nextSaleWindow:d,nextSaleEvent:h,liveSaleEvent:m,brand:p}={}){var D;const g=Y=>`$${Number(Y).toLocaleString()}`,v=p?`${p} `:"This brand ",x=Number(u)>0,C=x&&Number(l)>0&&Math.abs(Number(l)-Number(u))<=Math.max(15,Number(u)*.02),N=s&&i?`History points closer to ${g(i)}.`:d?"No better exact price is verified today, so the wait call is about timing rather than a cheaper checkout link.":"No better exact price is verified today, but this markdown is not strong enough for a clean buy call yet.",k=m?`${m} is live now, but the strongest cuts can still come later.`:d?`${v}usually sees another markdown window ${h?`for ${h} in `:"in "}${d}.`:"",E=(n==null?void 0:n.recommendedSameItem)||(n&&n.cheapestIsExactMatch===!0?n.cheapest:(n==null?void 0:n.cheapestSameItem)||null),R=n!=null&&n.recommendedSameItem?n.savingsOnRecommendedSameItem:n&&n.cheapestIsExactMatch===!0?n.savingsElsewhere:(n==null?void 0:n.savingsOnExactSameItem)||0;if(E&&R>=20){const Y=Pa(E.variantKey),H=E.retailerReputation||null,ge=H!=null&&H.reputable?` Reputable route: ${H.badge}.`:" Confirm retailer reputation, authenticity, returns, and stock before checkout.";return{decision:"SKIP",headline:`${g(R)} cheaper at ${E.retailer}`,reason:`Skip this listing.${ge} The exact same piece, matched by product code, is live at ${g(E.price)} right now.`,cheapestRetailer:E.retailer,cheapestPrice:E.price,cheapestUrl:E.url,savingsElsewhere:R,matchVerified:Y,matchLevel:"exact_variant",retailerReputation:H,reputableRetailer:!!(H!=null&&H.reputable)}}const F=(n==null?void 0:n.recommendedSameStyleColor)||(n==null?void 0:n.cheapestSameStyleColor)||null,j=n!=null&&n.recommendedSameStyleColor?n.savingsOnRecommendedSameStyleColor:(n==null?void 0:n.savingsOnSameStyleColor)||0;if(F&&j>=20){const Y=F.retailerReputation||null,H=Y!=null&&Y.reputable?` Reputable route: ${Y.badge}.`:" Confirm retailer reputation, authenticity, returns, and stock before checkout.";return{decision:"SKIP",headline:`${g(j)} lower on a style/color match at ${F.retailer}`,reason:`Look elsewhere first.${H} SCOUTLO found the same brand, style, and color at ${g(F.price)}, but the retailer did not expose a shared product code, so confirm size, material, returns, and stock before checkout.`,cheapestRetailer:F.retailer,cheapestPrice:F.price,cheapestUrl:F.url,savingsElsewhere:j,matchVerified:!1,matchLevel:"same_style_same_color",verifyPrompt:"Brand, style, and color match. Product-code match unavailable.",retailerReputation:Y,reputableRetailer:!!(Y!=null&&Y.reputable)}}const O=(n==null?void 0:n.unverifiedCheaperOffer)||null,V=O?"A possible cheaper match exists, but SCOUTLO needs exact product identity before calling it the same item.":n&&n.comparedCount>1?"No lower exact match is verified right now.":"This is the only verified price we can see right now.",I=((D=n==null?void 0:n.otherVariantOffers)==null?void 0:D[0])||null,G=I?{retailer:I.retailer,price:I.price,url:I.url,note:`A different color/size of this style is ${g(I.price)} at ${I.retailer}.`}:null;return t==="WAIT"||s&&i&&l&&i<l*.97?{decision:"WAIT",headline:"Good piece. Better timing ahead.",reason:`${V} ${N}${k?` ${k}`:""}`.trim(),cheapestRetailer:(n==null?void 0:n.cheapest.retailer)||null,cheapestPrice:(n==null?void 0:n.cheapest.price)??null,targetPrice:Number(i)>0?Number(i):null,notifyPrompt:Number(i)>0?`Want a SCOUTLO notification if it falls toward ${g(i)}?`:"Want a SCOUTLO notification when the price moves?",sameStyleOtherColor:G,possibleCheaperMatch:O?{retailer:O.retailer,price:O.price,url:O.url,matchType:O.matchType}:null}:t==="BUY"?{decision:"BUY",headline:C?"Near the lowest price we've recorded":"Strong enough to buy",reason:`${V} ${C?"This lines up with the bottom of our observed range.":"The markdown is strong for this label."}`,cheapestRetailer:(n==null?void 0:n.cheapest.retailer)||null,cheapestPrice:(n==null?void 0:n.cheapest.price)??null,lowestSeen:x?Number(u):null,sameStyleOtherColor:G,possibleCheaperMatch:O?{retailer:O.retailer,price:O.price,url:O.url,matchType:O.matchType}:null}:{decision:"SKIP",headline:"Not enough deal.",reason:`${V} ${v}
125usually goes deeper than this.${k?` ${k}`:""}`.trim(),cheapestRetailer:(n==null?void 0:n.cheapest.retailer)||null,cheapestPrice:(n==null?void 0:n.cheapest.price)??null,notifyPrompt:"Want a SCOUTLO notification if the price finally moves?",sameStyleOtherColor:G,possibleCheaperMatch:O?{retailer:O.retailer,price:O.price,url:O.url,matchType:O.matchType}:null}}function Pt(t){const n=Number(t);return!Number.isFinite(n)||n<=0?null:`$${Math.round(n).toLocaleString()}`}function Po(t){if(!t)return null;const n=new Date(t);return Number.isNaN(n.getTime())?null:n.toLocaleString("en-US",{month:"short",day:"numeric",timeZone:"UTC"})}function Ia(t,n){const i=Number(t),s=Number(n);return!Number.isFinite(i)||!Number.isFinite(s)||i<=0||s<=0?null:Math.round((i-s)/s*100)}function Lo(t){return Math.max(5,Math.min(92,Math.round(Number(t)||0)))}function jE({currentPrice:t,priceHistory:n,target:i,discountPercent:s}={}){const l=Number(t),u=wd(n),d=(i==null?void 0:i.targetPrice)==null?null:Number(i.targetPrice),h=Number(u.observations)||0,m=Number.isFinite(l)&&l>0,p=Number.isFinite(d)&&d>0,g=m&&p?Ia(l,d):null,v=m&&u.lowest?Ia(l,u.lowest):null,x=h>=6?18:h>=3?12:h>=2?7:0;if(!m)return{outcome:"unpriced",probability:null,label:"No price model",pricePoint:null,summary:"SCOUTLO needs a live or shopper-confirmed current price before it can model the next price point.",basis:"No current price"};if(i!=null&&i.hasRoom&&p&&g!=null&&g>3){const N=u.lowest&&u.lowest<l?10:0,k=Lo(54+x+N+Math.min(8,Math.max(0,g-10)/3));return{outcome:"likely_lower",probability:k,label:`${k}% wait read`,pricePoint:Math.round(d),summary:`SCOUTLO puts the cleaner buy zone near ${Pt(d)}, with about a ${k}% wait read based on sale history and the current markdown.`,basis:h>1?`${h} recorded price checks plus brand markdown floor`:"Brand markdown floor; price history still thin"}}if(v!=null&&v<=2){const N=Lo(66+x);return{outcome:"near_floor",probability:N,label:`${N}% floor read`,pricePoint:Math.round(l),summary:`SCOUTLO gives this about a ${N}% floor read: ${Pt(l)} is close to the lowest price in the observed history.`,basis:h>1?`${h}
125 recorded price checks`:"First confirmed price check"}}if(u.lowest&&l>u.lowest*1.08){const N=Lo(58+x);return{outcome:"seen_lower",probability:N,label:`${N}% lower-seen read`,pricePoint:Math.round(u.lowest),summary:`SCOUTLO has seen this closer to ${Pt(u.lowest)} before, so the better price point is not this listing yet.`,basis:`${h} recorded price checks`}}if((Number(s)||0)>=50){const N=Lo(60+x);return{outcome:"strong_markdown",probability:N,label:`${N}% buy-zone read`,pricePoint:Math.round(l),summary:`SCOUTLO reads ${Pt(l)} as a credible buy-zone price, while still checking exact matches before sending you to checkout.`,basis:h>1?`${h} recorded price checks plus markdown depth`:"Markdown depth; price history still building"}}return{outcome:"thin_history",probability:h>1?Lo(45+x):null,label:h>1?"Directional read":"History building",pricePoint:Math.round(p?d:l),summary:p?`SCOUTLO's directional target is ${Pt(d)}, but the history is still building.`:"SCOUTLO does not have enough history yet to predict a better price point confidently.",basis:h>1?`${h}
125 recorded price checks`:"First confirmed price check"}}function wd(t){const n=t&&typeof t=="object"?t:{},i=Number(n.observations)||0,s=n.lowest==null?null:Number(n.lowest),l=n.highest==null?null:Number(n.highest),u=n.latest&&typeof n.latest=="object"?n.latest:null;return{observations:i,lowest:Number.isFinite(s)?s:null,highest:Number.isFinite(l)?l:null,lowestAt:n.lowest_at||n.lowestAt||null,highestAt:n.highest_at||n.highestAt||null,firstSeen:n.first_seen||n.firstSeen||null,lastSeen:n.last_seen||n.lastSeen||(u==null?void 0:u.at)||null,latestPrice:(u==null?void 0:u.price)==null?null:Number(u.price)}}function _E({currentPrice:t,originalPrice:n}={}){const i=Number(t),s=n==null?null:Number(n);return!Number.isFinite(i)||i<=0?null:{observations:1,lowest:i,highest:i,latest:{price:i,original_price:Number.isFinite(s)&&s>=i?s:null,at:new Date().toISOString()}}}function IE({currentPrice:t,originalPrice:n,discountPercent:i,priceHistory:s,target:l,source:u}={}){const d=Number(t),h=Number(n),m=Number(i)||0,p=wd(s),g=(l==null?void 0:l.targetPrice)==null?null:Number(l.targetPrice),v=Number.isFinite(d)&&d>0,x=p.observations<=1,C=v&&p.lowest?Ia(d,p.lowest):null,N=v&&Number.isFinite(g)?Ia(d,g):null;let k="First read",E="neutral",R="This starts the price story.";p.observations>1&&C!=null&&C<=2?(k="Near lowest seen",E="strong",R=`${Pt(d)} is at or near the lowest price in our checks${Po(p.lowestAt)?` since ${Po(p.lowestAt)}`:""}.`):p.observations>1&&C!=null&&C>=10?(k="Seen lower",E="caution",R=`SCOUTLO has seen this around ${Pt(p.lowest)} before${Po(p.lowestAt)?`, last marked there ${Po(p.lowestAt)}`:""}.`):l!=null&&l.hasRoom&&N!=null&&N>3?(k="Room to fall",E="wait",R=`A stronger buy may be closer to ${Pt(g)}.`):m>=50?(k="Deep markdown",E="strong",R=`${m}% off is a meaningful designer markdown.`):m>0?(k="Markdown building",E="wait",R=`${m}% off is useful context, not necessarily the floor.`):v&&(k="Full-price read",E="caution",R=`${Pt(d)} is confirmed, but there is no markdown story yet.`);const F=[];p.observations>0&&F.push(`${p.observations} ${p.observations===1?"check":"checks"} recorded`),p.lowest&&F.push(`Lowest seen ${Pt(p.lowest)}`),p.highest&&p.highest!==p.lowest&&F.push(`Highest seen ${Pt(p.highest)}`),p.lowestAt&&F.push(`Low recorded ${Po(p.lowestAt)}`),Number.isFinite(h)&&h>d&&m>0&&F.push(`${m}% off original ${Pt(h)}`),l!=null&&l.hasRoom&&Number.isFinite(g)&&F.push(`Watch target ${Pt(g)}`),u&&F.push(u==="live"?"Live retailer read":u==="user"?"User-confirmed price":"Estimated read");const j=jE({currentPrice:t,priceHistory:s,target:l,discountPercent:i});return j.label&&F.push(j.label),{status:k,tone:E,headline:R,facts:F,prediction:j,history:p,currentPrice:v?d:null,originalPrice:Number.isFinite(h)&&h>0?h:null,discountPercent:m,isFirstRead:x,lowestGap:C,targetGap:N}}const BE=30;function VE({verdict:t,discountPercent:n,brandSlug:i,newSeason:s}={}){const l=Mi(i),u=Number(n)||0,d=(l==null?void 0:l.name)||"This brand";return u===0&&l&&l.avgFloorDiscount<=BE?{key:"rarely-discounts",note:`${d} almost never goes on sale â waiting rarely pays here. If you love it, buy it. If you're lukewarm, that's your answer too.`}:u===0||s?{key:"new-season",note:"Full price on a new-season piece. It may hit sale eventually, but popular sizes go first. If you love it, buy it. If you only like it, wait for the first markdown."}:t==="WAIT"?{key:"hold",note:`The trend says this goes lower. If you can live without it for a few weeks, wait.${l!=null&&l.nextSaleEstimate&&l.nextSaleEstimate!=="N/A"?` History points to ${l.nextSaleEstimate}.`:""} If it's your size and you'd be sick to lose it, that changes the math.`}:t==="BUY"?{key:"floor",note:"This is the price â at this brand's typical floor, it doesn't get meaningfully better. The only question left is whether you actually want it."}:{key:"pass",note:`Not enough off for ${d}. Close the tab without guilt â this markdown isn't the one.`}}const zE=[{brand:"Net-a-Porter",type:"retailer",tier:"Designer Multi-Brand",editorial:"The gold standard for curated designer e-tail. Net-a-Porter runs two major sale windows a year, and their private sale (by invitation) consistently delivers 30â50% off before the public event. Getting on the private sale list is the real flex.",signature:["Curated multi-brand selection","EIP program for top spenders","Same-day delivery in select cities"],bestFor:["End-of-season investment pieces","Rare finds from emerging designers","Private sale access"],events:[{month:"January",event:"Winter Sale â up to 70% off",intensity:"high"}
125,{month:"April",event:"Private EIP Sale â 30â50% off",intensity:"medium"},{month:"June",event:"Summer Sale â up to 70% off",intensity:"high"},{month:"November",event:"Private Sale â 30â50% off",intensity:"medium"}]},{brand:"SSENSE",type:"retailer",tier:"Designer Multi-Brand",editorial:"SSENSE's annual sale is the single most anticipated event in designer e-commerce. Running late May through July, discounts routinely hit 70% on Acne Studios, Jil Sander, AMI, and more. Set your calendar. This is not a drill.",signature:["Annual sale runs MayâJuly","Strong menswear selection","Avant-garde and conceptual brands"],bestFor:["Menswear investment pieces","Jil Sander, Acne, AMI","Annual 70% sale window"],events:[{month:"Late May",event:"Annual Sale opens â up to 70% off",intensity:"high"},{month:"JuneâJuly",event:"Final markdowns â deepest cuts",intensity:"high"}]},{brand:"Farfetch",type:"retailer",tier:"Designer Multi-Brand",editorial:"The global designer marketplace with rolling discounts year-round. Farfetch aggregates inventory from boutiques worldwide, meaning discounts vary by seller. Use private client access and the 'sale' filter religiously â hidden gems surface constantly.",signature:["Largest designer marketplace","Rolling markdowns year-round","Private Client program"],bestFor:["Rare boutique finds","International brands","Year-round monitoring"],events:[{month:"Ongoing",event:"Rolling markdowns â vary by seller",intensity:"low"},{month:"January",event:"Winter seasonal sale",intensity:"medium"},{month:"June",event:"Summer seasonal sale",intensity:"medium"},{month:"November",event:"Private sales + Black Friday",intensity:"high"}]},{brand:"Saks Fifth Avenue",type:"retailer",tier:"Designer Department Store",editorial:"Saks' Friends & Family event in late April is a sleeper hit â 25% off across the board, including brands that rarely discount. Their half-yearly sale in June delivers deeper cuts on shoes and accessories specifically.",signature:["Friends & Family (late April)","Strong shoe and accessory selection","SaksFirst loyalty program"],bestFor:["Shoes and accessories","Friends & Family event","Beauty + fashion combo"],events:[{month:"Late April",event:"Friends & Family â 20â25% off",intensity:"medium"},{month:"June",event:"Half-Yearly Sale â up to 50% off",intensity:"high"},{month:"November",event:"Black Friday + Cyber Monday",intensity:"high"}]},{brand:"Bergdorf Goodman",type:"retailer",tier:"Designer Department Store",editorial:"Bergdorf is the most curated designer department store in America. Their semi-annual sale (January and late June) is worth monitoring closely for The Row, Khaite, and Proenza Schouler. BG Credit Card holders get early access.",signature:["Most curated US designer department store","BG Card early sale access","Strong designer RTW selection"],bestFor:["The Row, Khaite, Proenza","Semi-annual sale (Jan + June)","BG Credit Card access"],events:[{month:"January",event:"Winter Semi-Annual Sale",intensity:"high"},{month:"Late June",event:"Summer Semi-Annual Sale",intensity:"high"},{month:"November",event:"Holiday promotions â selective",intensity:"medium"}]},{brand:"Mytheresa",type:"retailer",tier:"Designer Multi-Brand",editorial:"Mytheresa's sale is quieter than SSENSE but their inventory quality â particularly in womenswear and kids â is exceptional. Their private client events offer early access with deeper discounts than the public sale.",signature:["Strong European brand curation","Private client pre-sale access","Best for womenswear RTW"],bestFor:["Valentino, Loewe, Bottega","Private client events","European designer RTW"],events:[{month:"January",event:"Winter Sale â up to 60% off",intensity:"high"},{month:"June",event:"Summer Sale â up to 60% off",intensity:"high"},{month:"November",event:"Private Client Event",intensity:"medium"}]},{brand:"Khaite",type:"brand",gender:"women",tier:"Contemporary Designer",editorial:"Khaite is the defining American designer brand of this decade. Catherine Holstein's cashmere sweaters and Marfa loafers are perennial sellouts, making the end-of-season sale window critical. They hit 60%+ at Bergdorf and Net-a-Porter in late June. SCOUTLO says: never pay full price.",signature:["Scarlet
125cashmere sweater","Marfa loafer","Danielle bag","Maria jean"],bestFor:["Cashmere","Shoes","Denim"],events:[{month:"June",event:"End of season â 40â60% at retailers",intensity:"high"},{month:"November",event:"Black Friday â select pieces",intensity:"medium"},{month:"December",event:"Winter clearance â deepest cuts",intensity:"high"}]},{brand:"The Row",type:"brand",gender:"women",tier:"Ultra Designer",editorial:"Mary-Kate and Ashley Olsen's The Row occupies a rarefied tier â almost never on sale through official channels. The private sale (by invitation, May and November) is the only real opportunity. Retailers like Bergdorf and Net-a-Porter do clearance at 30â40% end of season. For the Park Tote, patience is a virtue.",signature:["Park Tote","Margaux bag","Ginestra blazer","Essentials knitwear"],bestFor:["Investment bags","Cashmere and knitwear","Tailoring"],events:[{month:"January",event:"End of season â 30â40% off at retailers",intensity:"medium"},{month:"May",event:"Private sale begins â invite only",intensity:"medium"},{month:"July",event:"Summer clearance â best prices of the year",intensity:"high"}]},{brand:"Toteme",type:"brand",gender:"women",tier:"Contemporary Designer",editorial:"Toteme is the quintessential Scandinavian uniform brand â clean, excellent quality, and reliably on sale twice a year. The SSENSE annual sale is your best bet: up to 50% off the signature coat, their ribbed sets, and the scarf coat that sold out three seasons in a row.",signature:["Scarf coat","Signature knit","T-lock bag","Relaxed poplin shirt"],bestFor:["Outerwear","Knitwear","Shirts and basics"],events:[{month:"March",event:"Mid-season â 30% off",intensity:"medium"},{month:"Late May",event:"SSENSE sale â 40â50% off",intensity:"high"},{month:"November",event:"Black Friday â 30â40% off",intensity:"medium"}]},{brand:"Magda Butrym",type:"brand",gender:"women",tier:"Contemporary Designer",editorial:"The Polish designer's signature: roses, sheer fabrics, and a femininity so precise it borders on editorial. Magda Butrym prices have climbed rapidly as her profile has grown. End-of-season at Farfetch is where the 40â50% windows open. A rising brand â buy the staples while you still can.",signature:["Rose-embellished dresses","Sheer floral blouses","Pointed ankle boots","Sculptural knitwear"],bestFor:["Evening and occasion wear","Boots","Statement dresses"],events:[{month:"June",event:"End of season at Farfetch â 40â50%",intensity:"high"},{month:"January",event:"Winter clearance â 40â50%",intensity:"high"}]},{brand:"Jil Sander",type:"brand",gender:"both",tier:"High Fashion",editorial:"Jil Sander under Luke and Lucie Meier is the quiet pillar of the wardrobe. Impeccable tailoring, architectural shapes, and the kind of quality that ages beautifully. SSENSE is the best retailer for Jil Sander markdowns â their annual sale regularly hits 55% off.",signature:["Tangle bag","Oversized wool coat","Ballet flats","Technical trousers"],bestFor:["Outerwear","Bags","Tailoring"],events:[{month:"January",event:"End of season â up to 55% off",intensity:"high"},{month:"Late May",event:"SSENSE sale â deepest cuts",intensity:"high"},{month:"July",event:"Summer clearance",intensity:"medium"}]},{brand:"Valentino",type:"brand",gender:"both",tier:"High Fashion",editorial:"Valentino's sale windows are event-worthy. Mytheresa and Farfetch are the best channels â expect 40â50% off RTW and shoes at end-of-season. The Rockstud is perpetually classic; the VLogo bags are more trend-sensitive. Buy the shoes, wait on the bags.",signature:["Rockstud heels","VLogo bag","Cape blazer","Toile Iconographe"],bestFor:["Shoes and heels","RTW dresses","Bags at clearance"],events:[{month:"January",event:"Winter sale â 40â50% off",intensity:"high"},{month:"June",event:"Summer sale â 40â50% off",intensity:"high"},{month:"November",event:"Black Friday via retailers",intensity:"medium"}]},{brand:"Loewe",type:"brand",gender:"both",tier:"High Fashion",editorial:"Jonathan Anderson's Loewe is the most hyped brand of the past five years. The Puzzle bag has a resale premium above retail â which makes the rare 30â40% discount at department stores a genuine event. Don't expect 50%+ on Loewe unless it's final clearance.",signature:["Puzzle bag","Amazona bag","Basket bag","Anagram knitwear"],bestFor:["Bags at clearance","Knitwear and RTW","Accessories"],events:[{month:"January",event:"End of season â 30â40%",intensity:"medium"},{month:"June",event:"Department store sales â 30â40%",intensity:"medium"},{month:"July",event:"Final markdowns â up to 50%",intensity:"high"}]},{brand:"Louis Vuitton",type:"brand",gender:"both",tier:"Ultra Designer",editorial:"Louis Vuitton is not a brand to chase on sale. Bags and icons rarely move through official markdowns, so the smart decision is usually direct price confidence or verified resale.",signature:["Speedy bag","Neverfull tote","Capucines bag","Leather accessories"],bestFor:["Bags at retail","Verified resale","Leather goods"],events:[{month:"Rare",event:"Official markdowns are rare",intensity:"low"},{month:"Ongoing",event:"Compare verified resale for discontinued colorways",intensity:"medium"}]},{brand:"Chanel",type:"brand",gender:"women",tier:"Ultra Designer",editorial:"Chanel is a scarcity game. Core bags are not sale buys; the better call is authentic availability, condition, and timing around resale premiums.",signature:["Classic Flap","Boy bag","Slingbacks","Tweed jackets"],bestFor:["Icon bags","Verified resale","Shoes in seasonal colors"],events:[{month:"Rare",event:"Private or seasonal markdowns are limited",intensity:"low"},{month:"Ongoing",event:"Compare resale only when authenticity is strong",intensity:"medium"}]},{brand:"Miu Miu",type:"brand",gender:"women",tier:"High Fashion",editorial:"Miu Miu moves fast when the item is trending. Wait on seasonal RTW and shoes; move sooner on the exact bag, color, or runway piece that is already tightening.",signature:["Arcadie bag","Ballet flats","Mini skirts","Matelassé leather"],bestFor:["Shoes","Seasonal RTW","Trend bags"],events:[{month:"June",event:"Summer markdowns â selective",intensity:"medium"},{month:"December",event:"Winter markdowns â selective",intensity:"medium"}]},{brand:"Alaïa",type:"brand",gender:"women",tier:"Ultra Designer",editorial:"Alaïa rewards patience, but not always. Sculptural bags and core shoes can hold; seasonal RTW is where the better wait signal usually appears.",signature:["Le Teckel bag","Le Coeur bag","Ballet flats","Sculptural knits"],bestFor:["Shoes","Seasonal RTW","Bags at rare markdown"],events:[{month:"January",event:"End-of-season markdowns â selective",intensity:"medium"},{month:"June",event:"Summer markdowns â selective",intensity:"medium"}]},{brand:"Saint Laurent",type:"brand",gender:"both",tier:"High Fashion",editorial:"YSL's sharp suiting, leather jackets, and the Kate bag are perennial icons. Two major sale windows (January and June) across all retailers deliver 40â50% off. Menswear â the slim tuxedo blazer and leather bomber â hits the same discount windows. One of the few designer houses where the math works.",signature:["Kate bag","Tuxedo blazer","Leather jacket","Pointed pumps"],bestFor:["Blazers and tailoring","Bags at 40%+","Shoes"],events:[{month:"January",event:"Winter Sale â 40â50% off",intensity:"high"},{month:"June",event:"Summer Sale â 40â50% off",intensity:"high"},{month:"November",event:"Black Friday â select items",intensity:"medium"}]},{brand:"Brunello Cucinelli",type:"brand",gender:"both",tier:"Ultra Designer",editorial:"The philosopher-king of Ital
125ian designer rarely discounts. BC's Friends & Family event (Saks, late April) delivers a modest 20% â but their outlet in Solomeo and outlet retailers are where the real 40â50% cuts live. Exceptional for men and women alike. Investment-grade cashmere only.",signature:["Baby cashmere sweaters","Tailored trousers","Linen blazers","Silk shirts"],bestFor:["Cashmere at outlet prices","Tailoring for men","Summer linens"],events:[{month:"April",event:"Saks Friends & Family â 20% only",intensity:"low"},{month:"Ongoing",event:"BC Outlet â 40â50% select pieces",intensity:"medium"},{month:"January",event:"End-of-season retailers â 25â30%",intensity:"medium"}]},{brand:"Loro Piana",type:"brand",gender:"both",tier:"Ultra Designer",editorial:"The quietest designer on earth almost never goes on sale through official channels. Your best path to Loro Piana at a discount is via resale (Vestiaire, The RealReal) or the rare outlet find. The Summer Walk loafer and the Wish bag are the two pieces worth paying full price for if you must.",signature:["Summer Walk loafer","Wish bag","Baby cashmere scarves","Knit polo"],bestFor:["Cashmere accessories","Loafers (full price if needed)","Resale market"],events:[{month:"Rare",event:"Almost never officially discounted",intensity:"low"},{month:"Ongoing",event:"Vestiaire / RealReal â 30â50% off",intensity:"medium"}]},{brand:"Acne Studios",type:"brand",gender:"both",tier:"Contemporary Designer",editorial:"Acne is the SSENSE darling â the Swedish brand's end-of-season cuts at the annual SSENSE sale are reliable and deep. Their face-print scarves, leather bags, and oversized outerwear regularly hit 50â60% off. Strong for both men and women. One of the best value propositions in contemporary designer.",signature:["Face scarf","Musubi bag","Oversized wool coat","Platform boots"],bestFor:["Outerwear","Scarves and accessories","Bags at SSENSE sale"],events:[{month:"Late May",event:"SSENSE Annual Sale â up to 60% off",intensity:"high"},{month:"January",event:"Net-a-Porter / Farfetch â 40â50%",intensity:"high"},{month:"November",event:"Black Friday â select pieces",intensity:"medium"}]},{brand:"Bottega Veneta",type:"brand",gender:"both",tier:"High Fashion",editorial:"Matthieu Blazy's Bottega has reached Hermès-adjacent status for bags â the Jodie, Cassette, and Andiamo command waitlists. RTW and shoes are a different story: Mytheresa and Farfetch both offer end-of-season cuts of 30â40%. For bags, the only option is resale.",signature:["Jodie bag","Andiamo bag","Intrecciato leather goods","Padded jacket"],bestFor:["RTW and shoes at retailers","Bags via Vestiaire","Leather accessories"],events:[{month:"January",event:"End-of-season RTW â 30â40% at retailers",intensity:"medium"},{month:"June",event:"Summer clearance â 30â40%",intensity:"medium"},{month:"Ongoing",event:"Vestiaire for bags â 20â40% off",intensity:"medium"}]},{brand:"AMI Paris",type:"brand",gender:"both",tier:"Contemporary Designer",editorial:"Alexandre Mattiussi's AMI is the approachable Parisian brand that works equally for men and women. Strong SSENSE performance at the annual sale â their heart-logo knitwear, clean tailoring, and leather goods hit 40â50% off. An excellent entry point for contemporary designer.",signature:["Heart-logo knitwear","ADC bag","Tailored suits","Clean t-shirts"],bestFor:["Knitwear for men and women","Tailoring","SSENSE annual sale"],events:[{month:"Late May",event:"SSENSE Annual Sale â 40â50% off",intensity:"high"},{month:"January",event:"End of season â 30â40%",intensity:"medium"},{month:"November",event:"Black Friday â 30â40%",intensity:"medium"}]},{brand:"Ferragamo",type:"brand",gender:"both",tier:"High Fashion",editorial:"Ferragamo is back in the conversation. Shoes, leather bags, and polished RTW tend to become interesting at end-of-season markdowns rather than at launch. Watch Mytheresa, Saks, and European multi-brand retailers first.",signature:["Hug bag","Vara pump","Gancini loafers","Tailored wool coats"],bestFor:["Shoes","Leather accessories","Polished RTW"],events:[{month:"January",event:"End of season â 35â45% off",intensity:"high"},{month:"June",event:"Summer markdowns â 35â45% off",intensity:"high"}]},{brand:"Moncler",type:"brand",gender:"both",tier:"High Fashion",editorial:"Moncler outerwear still holds pricing power, but multi-brand retailers do create real windows on prior-season puffers, knitwear, and shoes. The best value is usually after peak winter demand has already passed.",signature:["Maya jacket","Featherweight puffers","Logo knitwear","Trail sneakers"],bestFor:["Outerwear","Cold-weather staples","Post-season markdowns"],events:[{month:"January",event:"Winter clearance â 25â35% off",intensity:"medium"},{month:"Late June",event:"Off-season markdowns â 30â40% off",intensity:"medium"}]},{brand:"Jacquemus",type:"brand",gender:"both",tier:"High Fashion",editorial:"Jacquemus is desire-heavy and trend-sensitive at the same time, which makes markdown timing matter. The bags do not always go deep, but RTW, shoes, and resort pieces regularly become interesting by end of season.",signature:["Le Chiquito","Bambino bag","Tailored jackets","Vacation RTW"],bestFor:["Shoes","Resort RTW","Trend bags at the right price"],events:[{month:"June",event:"Summer sale â 30â40% off",intensity:"high"},{month:"December",event:"Winter markdowns â 30â40% off",intensity:"medium"}]},{brand:"Maison Margiela",type:"brand",gender:"both",tier:"High Fashion",editorial:"Maison Margiela is one of the strongest sale performers in avant-garde luxury. Tabi shoes, knits, denim, and coats regularly show up in real markdown windows across SSENSE, 24S, and European multi-brand retailers.",signature:["Tabi shoes","Glam Slam bag","Replica sneakers","Oversized coats"],bestFor:["Shoes","Denim","Avant-garde staples"],events:[{month:"Late May",event:"SSENSE annual sale â 40â50% off",intensity:"high"},{month:"January",event:"End of season â 40â50% off",intensity:"high"}]},{brand:"Rick Owens",type:"brand",gender:"both",tier:"High Fashion",editorial:"Rick Owens fans know the drill: wait for the multi-brand markdown cycle unless it is a forever runway piece. Footwear, outerwear, and DRKSHDW all become materially more compelling once the clearance wave starts.",signature:["Geobasket sneakers","Kiss boots","Leather outerwear","DRKSHDW denim"],bestFor:["Footwear","Outerwear","Avant-garde layers"],events:[{month:"Late May",event:"SSENSE / EU multi-brand sale â 35â45% off",intensity:"high"},{month:"December",event:"Winter markdowns â 35â45% off",intensity:"medium"}]},{brand:"Givenchy",type:"brand",gender:"both",tier:"High Fashion",editorial:"Givenchy tends to reward patience. Bags and shoes can lag, but RTW, tailoring, and accessories often show up in meaningful markdown windows at luxury department stores and European multi-brand retailers.",signature:["Shark Lock boots","Voyou bag","Tailored jackets","Logo knitwear"],bestFor:["Boots","Tailoring","Statement accessories"],events:[{month:"June",event:"Summer sale â 35â45% off",intensity:"high"},{month:"December",event:"Winter sale â 35â45% off",intensity:"high"}]},{brand:"Amina Muaddi",type:"brand",gender:"women",tier:"High Fashion",editorial:"Amina Muaddi heels and evening shoes carry hype, but markdowns do happen. The best timing usually comes after occasionwear season peaks, especially on sandals, satin pumps, and party-first shapes.",signature:["Begum slingbacks","Crystal heels","Evening sandals","Mini bags"],bestFor:["Heels","Occasion shoes","Evening accessories"],events:[{month:"June",event:"Summer occasionwear markdowns â 25â35% off",intensity:"medium"},{month:"December",event:"Holiday clearance â 25â35% off",intensity:"medium"}]},{brand:"Manolo Blahnik",type:"brand",gender:"women",tier:"Ultra Designer",editorial:"Manolos are one of the cleaner decision categories in luxury: the right classic heel at 35â40% off is usually enough. Core bridal and icon colors hold longer, but fashion shades and seasonal fabrications regularly make sense at sale.",signature:["Hangisi pump","Maysale mule","BB pump","Satin slingbacks"],bestFor:["Heels","Event shoes","Classic pumps at sale"],events:[{month:"January",event:"Department-store sale â 30â40% off",intensity:"high"},{month:"June",event:"Summer sale â 30â40% off",intensity:"high"}]},{brand:"Christian Louboutin",type:"brand",gender:"both",tier:"Ultra Designer",editorial:"Louboutin rarely goes deep on the icons, which means the real value is usually in seasonal colors, boots, and fashion-forward shapes. If you want the red sole without the regret, wait for end-of-season retailer markdowns.",signature:["So Kate pump","Loubi54 bag","Ankle boots","Seasonal sandals"],bestFor:["Seasonal shoes","Boots","Occasion footwear"],events:[{month:"January",event:"End of season â 20â30% off",intensity:"medium"},{month:"June",event:"Summer markdowns â 20â30% off",intensity:"medium"}]},{brand:"Tod's",type:"brand",gender:"both",tier:"Ultra Designer",editorial:"Tod's loafers, driving shoes, and quiet leather goods are exactly the kind of pieces that become compelling once the price softens. The product is stable; the decision is mostly timing.",signature:["Gommino driver","Kate loafers","T Timeless bag","Leather jackets"],bestFor:["Loafers","Leather accessories","Quiet staples"],events:[{month:"January",event:"End of season â 30â40% off",intensity:"medium"},{month:"June",event:"Summer sale â 30â40% off",intensity:"medium"}]},{brand:"Gabriela Hearst",type:"brand",gender:"women",tier:"High Fashion",editorial:"Gabriela Hearst is one of the strongest quality buys on sale. Tailoring, coats, and knits do not move fast enough at full price to avoid markdown pressure forever, which is exactly why the sale windows matter.",signature:["Tailored coats","Structured bags","Knit dresses","Clean tailoring"],bestFor:["Coats","Tailoring","Knits"],events:[{month:"June",event:"End of season â 40â55% off",intensity:"high"},{month:"December",event:"Winter markdowns â 40â55% off",intensity:"high"}]},{brand:"Victoria Beckham",type:"brand",gender:"women",tier:"High Fashion",editorial:"Victoria Beckham RTW can become an excellent sale buy because the tailoring and dresses still read polished well past the season they launched. The strongest value usually shows up once department stores start making space.",signature:["Slip dresses","Tailored blazers","Midi dresses","Minimal separates"],bestFor:["Dresses","Tailoring","Polished workwear"],events:[{month:"June",event:"Summer sale â 40â55% off",intensity:"high"},{month:"December",event:"Winter sale â 40â55% off",intensity:"high"}]},{brand:"Nili Lotan",type:"brand",gender:"women",tier:"High Fashion",editorial:"Nili Lotan is the kind of quiet luxury brand people wear hard, which makes sale timing especially useful. The denim, suede, military jackets, and elevated basics usually become much more persuasive once markdowns appear.",signature:["Military jackets","Suede separates","Relaxed denim","Elevated basics"],bestFor:["Outerwear","Denim","Everyday luxury staples"],events:[{month:"June",event:"End of season â 30â45% off",intensity:"medium"},{month:"December",event:"Winter markdowns â 30â45% off",intensity:"medium"}]},{brand:"Officine Générale",type:"brand",gender:"both",tier:"Contemporary Designer",editorial:"The best-kept secret in Parisian menswear and womenswear. Officine Générale's linen suits, tailored trousers, and silk blouses are made for real life. Mr. Porter and End Clothing are the best channels for markdowns â 40â50% in their seasonal sales.",signature:["Linen blazers","Tailored trousers","Silk blouses","Field jacket"],bestFor:["Linen tailoring (men + women)","Seasonal sale at Mr. Porter","Workwear investment pieces"],events:[{month:"January",event:"Mr. Porter / End â 40â50% off",intensity:"high"},{month:"June",event:"Summer clearance â 40â50%",intensity:"high"}]},{brand:"Tom Ford",type:"brand",gender:"both",tier:"Ultra Designer",editorial:"Under Zegna ownership, Tom Ford remains the authority on American glamour and sharp menswear. Two annual sale windows at Saks and Neiman Marcus. The suiting â both women's and men's â is where the value emerges at 40â50% off. Fragrance and beauty are the real volume drivers.",signature:["O'Connor suit","Gucci-era accessories","TF001 sunglasses","Velvet loafers"],bestFor:["Suiting at Saks
125sale","Sunglasses and accessories","Men's evening wear"],events:[{month:"January",event:"Saks / Neiman Marcus â 40â50% off",intensity:"high"},{month:"June",event:"Summer sale â 40â50% off",intensity:"high"},{month:"November",event:"Friends & Family â 20â25%",intensity:"medium"}]},{brand:"Canali",type:"brand",gender:"men",tier:"Contemporary Designer",editorial:"The Italian tailoring benchmark for men who know. Canali suits at full price are already a value versus Brioni â at 40â50% off during the Saks or Bergdorf semi-annual sales, they are exceptional. The wool and cashmere suiting is made to last a decade.",signature:["Wool suits","Cashmere blazers","Travel suits (wrinkle-resistant)","Knitwear"],bestFor:["Suits at semi-annual sales","Cashmere blazers","Travel-friendly tailoring"],events:[{month:"January",event:"Saks / Bergdorf â 40â50% off",intensity:"high"},{month:"June",event:"Semi-annual sale â 40â50%",intensity:"high"}]},{brand:"Mr. Porter",type:"retailer",tier:"Designer Men's Multi-Brand",editorial:"The definitive designer menswear retailer. Mr. Porter's seasonal sale (January and June) is the best window for Brunello, Zegna, Officine Générale, and Kiton. Their private client events offer pre-sale access with an additional 10% discount.",signature:["Best menswear curation online","Private Client pre-sale","Strong tailoring selection"],bestFor:["Menswear investment pieces","Tailoring and suiting","Shoes and accessories"],events:[{month:"January",event:"Winter Sale â up to 60% off",intensity:"high"},{month:"June",event:"Summer Sale â up to 60% off",intensity:"high"},{month:"November",event:"Private Client event",intensity:"medium"}]},{brand:"Zegna",type:"brand",gender:"men",tier:"Ultra Designer",editorial:"Ermenegildo Zegna's pivot to streetwear-adjacent designer under Alessandro Sartori has expanded its appeal without abandoning the tailoring heritage. Mr. Porter and End Clothing are the best channels for 40â50% markdowns. The Triple Stitch sneaker is particularly good value at sale.",signature:["Triple Stitch sneaker","Oasi Cashmere knitwear","Tailored suits","Leather goods"],bestFor:["Cashmere and knitwear","Sneakers at sale","Suits at Mr. Porter"],events:[{month:"January",event:"Mr. Porter â 40â50% off",intensity:"high"},{month:"June",event:"End of season â 40â50%",intensity:"high"},{month:"November",event:"Black Friday â select pieces",intensity:"medium"}]},{brand:"Nour Hammour",type:"brand",gender:"women",tier:"Contemporary Designer",editorial:"A leather outerwear specialist with real fashion-editor pull. The jackets are the point; wait for seasonal multi-brand markdowns unless the exact cut is scarce.",signature:["Leather jackets","Shearling coats","Cropped moto jackets"],bestFor:["Outerwear","Investment leather","End-of-season markdowns"],events:[{month:"June",event:"Designer retailer sale â 30â45% off",intensity:"medium"},{month:"January",event:"Winter clearance â 30â45% off",intensity:"medium"}]},{brand:"St. Agni",type:"brand",gender:"women",tier:"Contemporary Designer",editorial:"Minimal Australian wardrobe pieces with strong shoe, sandal, and linen demand. Markdown depth is usually respectable, but popular sizes move quickly.",signature:["Leather sandals","Minimal tailoring","Linen separates"],bestFor:["Sandals","Summer tailoring","Minimal basics"],events:[{month:"June",event:"Summer sale â 30â40% off",intensity:"medium"},{month:"December",event:"Holiday/end-of-season sale",intensity:"medium"}]},{brand:"Doen",type:"brand",gender:"women",tier:"Contemporary Designer",editorial:"Romantic cotton, knitwear, and dresses with strong direct-brand demand. The best pieces sell before final clearance, so wait only when size availability is healthy.",signature:["Cotton dresses","Pointelle knits","Romantic blouses"],bestFor:["Dresses","Knitwear","Vacation pieces"],events:[{month:"June",event:"Seasonal sale â selective 25â40% off",intensity:"medium"},{month:"December",event:"Winter sale â selective 25â40% off",intensity:"medium"}]},{brand:"Ulla Johnson",type:"brand",gender:"women",tier:"Contemporary Designer",editorial:"Prints, crochet, and craft-led dresses are the core. Multi-brand retailers reliably mark the line down, especially occasion pieces and seasonal colorways.",signature:["Printed dresses","Crochet knits","Suede accessories"],bestFor:["Dresses","Vacation pieces","Seasonal colorways"],events:[{month:"June",event:"Retailer sale â 40â50% off",intensity:"high"},{month:"January",event:"Winter clearance â 40â50% off",intensity:"high"}]},{brand:"Tibi",type:"brand",gender:"women",tier:"Contemporary Designer",editorial:"Amy Smilovic's styling-first wardrobe brand is best bought with patience. Blazers, sculpted trousers, and utility skirts regularly move in seasonal sale.",signature:["Tailored blazers","Utility skirts","Sculpted trousers"],bestFor:["Workwear","Tailoring","Styling pieces"],events:[{month:"June",event:"End-of-season sale â 35â50% off",intensity:"high"},{month:"January",event:"Winter sale â 35â50% off",intensity:"high"}]},{brand:"Maria McManus",type:"brand",gender:"women",tier:"Quiet Luxury",editorial:"Polished, lower-noise luxury basics: cashmere, tailoring, and clean shirting. Discounts are more selective; if it is your size in black, navy, or ivory, do not over-wait.",signature:["Cashmere sweaters","Tailored trousers","Clean shirting"],bestFor:["Cashmere","Tailoring","Wardrobe basics"],events:[{month:"June",event:"Selective end-of-season â 25â40% off",intensity:"medium"},{month:"January",event:"Winter markdowns â 25â40% off",intensity:"medium"}]},{brand:"Guest in Residence",type:"brand",gender:"both",tier:"Contemporary Cashmere",editorial:"Color-led cashmere with celebrity visibility and strong gifting demand. The best move is waiting for direct or multi-brand seasonal promos unless a shade is selling out.",signature:["Cashmere cardigans","Ribbed sets","Striped sweaters"],bestFor:["Cashmere","Gifts","Color-led knits"],events:[{month:"June",event:"Seasonal sale â 25â40% off",intensity:"medium"},{month:"December",event:"Holiday/winter sale â 25â40% off",intensity:"medium"}]},{brand:"Extreme Cashmere",type:"brand",gender:"both",tier:"Quiet Luxury",editorial:"One-size cashmere with a cult fashion following. It does not need heavy markdowns to move, so treat any meaningful discount on core colors as notable.",signature:["Oversized cashmere","Core crewnecks","Cashmere sets"],bestFor:["Cashmere","Seasonless knits","Quiet luxury basics"],events:[{month:"January",event:"Selective markdowns â 20â35% off",intensity:"low"},{month:"June",event:"Selective seasonal markdowns",intensity:"low"}]},{brand:"LOULOU STUDIO",type:"brand",gender:"women",tier:"Contemporary Designer",editorial:"Soft tailoring and knits with a strong quiet-luxury read. Multi-brand sale depth can be good, especially on color and seasonal fabrics.",signature:["Wool coats","Cashmere knits","Relaxed tailoring"],bestFor:["Coats","Knitwear","Neutral tailoring"],events:[{month:"June",event:"End-of-season sale â 35â45% off",intensity:"medium"},{month:"January",event:"Winter clearance â 35â45% off",intensity:"medium"}]},{brand:"Veronica Beard",type:"brand",gender:"women",tier:"Contemporary Designer",editorial:"The blazer machine. Dickey jackets, denim, and dresses often hit department-store sale cycles; buy core blazers only when the markdown is real.",signature:["Dickey jackets","Tailored blazers","Denim"],bestFor:["Blazers","Workwear","Department-store promos"],events:[{month:"June",event:"Department-store sale â 30â45% off",intensity:"medium"},{month:"November",event:"Promo events and Black Friday",intensity:"medium"}]},{brand:"AGOLDE",type:"brand",gender:"women",tier:"Premium Denim",editorial:"A premium denim workhorse. The best cuts can sell through, but washes and seasonal fits frequently get marked down across Shopbop, Net-a-Porter, and department stores.",signature:["90s jeans","Criss Cross denim","Denim shorts"],bestFor:["Denim","Casual staples","Sale-filter wins"],events:[{month:"June",event:"Seasonal denim markdowns â 25â40% off",intensity:"medium"},{month:"November",event:"Promo season â 20â30% off",intensity:"medium"}]},{brand:"Mansur Gavriel",type:"brand",gender:"women",tier:"Contemporary Accessories",editorial:"Minimal bags with strong resale memory from the bucket-bag era. Current seasonal colors are where markdowns show up first; black leather classics need more restraint.",signature:["Bucket bag","Cloud clutch","Minimal leather totes"],bestFor:["Bags","Small leather goods","Seasonal colors"],events:[{month:"June",event:"Seasonal sale â 30â45% off",intensity:"medium"},{month:"January",event:"Winter clearance â 30â45% off",intensity:"medium"}]},{brand:"Schiaparelli",type:"brand",gender:"women",tier:"Couture-adjacent Designer",editorial:"High-drama fashion with scarce markdown visibility. If SCOUTLO sees a meaningful discount, verify immediately; otherwise treat it as a rare/private-sale house.",signature:["Anatomy jewelry","Sculptural jackets","Surrealist accessories"],bestFor:["Collector pieces","Jewelry","Occasion fashion"],events:[{month:"Rare",event:"Rare private markdowns only",intensity:"low"},{month:"January",event:"Selective retailer clearance if available",intensity:"low"}]},{brand:"16Arlington",type:"brand",gender:"women",tier:"Contemporary Designer",editorial:"Evening-led London fashion with strong celebrity and partywear pull. Feather, sequin, and leather pieces move in seasonal sale; core viral pieces can disappear sooner.",signature:["Feather-trim dresses","Sequined separates","Leather outerwear"],bestFor:["Eveningwear","Party pieces","Seasonal statement buys"],events:[{month:"June",event:"End-of-season sale â 40â50% off",intensity:"high"},{month:"January",event:"Winter clearance â 40â50% off",intensity:"high"}]}],UE=["January","February","March","April","May","June","July","August","September","October","November","December"];function $E(t,n){const i=String(t||"");return/ongoing/i.test(i)?!0:i.toLowerCase().includes(String(n||"").toLowerCase())}function JE(t){const n=String(t||"").toLowerCase();return n&&zE.find(i=>{const s=i.brand.toLowerCase();return s===n||s.includes(n)||n.includes(s)})||null}function ug(t,n){const i=JE(t);if(!i||!n)return null;const s=i.events.filter(u=>$E(u.month,n)),l=s.find(u=>u.intensity==="high")||s[0]||null;return{name:i.brand,type:i.type,live:s.length>0,event:l?{month:l.month,event:l.event,intensity:l.intensity}:null,next:s.length===0&&i.events.length>0?{month:i.events[0].month,event:i.events[0].event}:null}}function WE({brand:t,retailer:n,month:i}
125){const s=ug(n,i),l=ug(t,i);return s!=null&&s.live?s:l!=null&&l.live?l:s||l||null}function qE(t=new Date){return UE[t.getMonth()]}function cg(t,n,i=`${n}s`){return`${t} ${t===1?n:i}`}function KE({verdict:t,brandSlug:n,unsupportedCategory:i,estimatedPricing:s,userPricing:l,livePricing:u,livePriceOnly:d,cheapest:h,priceHistory:m,timingSignal:p,target:g}={}){if(i)return{level:"unsupported",confirmed:!1,badge:"Unsupported category",note:"SCOUTLO does not have enough reliable structured shopping data on this link yet."};const v=!!Mi(n),x=!!(l||u),C=!!(d&&!x),N=Number(h==null?void 0:h.comparedCount)||0,k=Number(m==null?void 0:m.observations)||0,E=k>=3,R=N>=2,F=!!(h&&!h.isCheapestHere&&Number(h.savingsElsewhere)>=20),j=!!(p!=null&&p.event||p!=null&&p.next),O=!!(g!=null&&g.hasRoom&&Number(g==null?void 0:g.targetPrice)>0),V=[];x?V.push(l?"user-confirmed price pair":"live retailer price pair"):C?V.push("live current price only"):s&&V.push("directional estimate"),R&&V.push(`${cg(N,"retailer")} compared`),E&&V.push(`${cg(k,"price observation")} in history`),j&&V.push("known sale-window timing");const I=V.length>0?V.join(" + "):"limited evidence";return v?s?{level:"directional",confirmed:!1,badge:"Directional only",note:`This read is useful for triage, but not a confirmed buy decision yet. Current basis: ${I}.`}:C?{level:"partial",confirmed:!1,badge:"Partial confirmation",note:`The live price is verified, but the markdown is not. Add the original price or compare more retailers to fully confirm the decision. Current basis: ${I}.`}:t==="BUY"&&x&&(R||E)||t==="WAIT"&&x&&O&&(E||j)||t==="NOT_WORTH_IT"&&x&&(F||O||j)?{level:"confirmed",confirmed:!0,badge:"Confirmed read",note:`This decision is grounded in a verified price pair and supporting evidence: ${I}.`}:{level:"grounded",confirmed:!1,badge:"Grounded, not locked",note:`The brand is tracked and the price pair is real, but we want more comparison or history before calling this fully confirmed. Current basis: ${I}.`}:{level:"directional",confirmed:!1,badge:"Brand not tracked",note:`SCOUTLO can read the link and live price, but this brand does not have a confirmed markdown profile yet. Current basis: ${I}.`}}function La(t,n=0,i=1){return Math.max(n,Math.min(i,t))}function No(t){const n=Number(t);return!Number.isFinite(n)||n<=0?null:`$${Math.round(n).toLocaleString()}`}function HE(t,n=new Date){if(!t)return null;const i=new Date(t);if(Number.isNaN(i.getTime()))return null;const s=Math.max(0,n.getTime()-i.getTime()),l=Math.round(s/864e5);if(l<=1)return"today";if(l<7)return`${l} days ago`;const u=Math.round(l/7);return l<35?`${u} ${u===1?"week":"weeks"} ago`:i.toLocaleString("en-US",{month:"short",day:"numeric"})}function GE({verdict:t,cheapest:n,decision:i}){if(!n)return .55;if(t==="NOT_WORTH_IT"&&Number(i==null?void 0:i.savingsElsewhere)>=20&&(i!=null&&i.cheapestRetailer)||n.isCheapestHere)return 1;const s=Number(n.savingsElsewhere)||0;return s>=100?0:s>=50?.12:s>=20?.22:.45}function YE(t,n,i){const s=Number(t);if(!Number.isFinite(s)||s<=0)return .5;if(!n||n.observations<2)return .55;const l=Number(n.lowest),u=Number(n.highest);if(!Number.isFinite(l)||!Number.isFinite(u)||u<=l){const h=Math.abs(s-l)<=Math.max(15,l*.02);return i==="BUY"?h?.92:.58:h?.3:.78}const d=La((s-l)/(u-l),0,1);return La(i==="BUY"?1-d:d,.05,1)}function QE(t){const n=Number(t==null?void 0:t.comparedCount)||0;return n>=6?1:n>=4?.9:n>=3?.8:n>=2?.68:n>=1?.52:.35}function XE({verdict:t,timingSignal:n,target:i}){return t==="BUY"?n!=null&&n.live?.9:i!=null&&i.hasRoom?.62:.82:t==="WAIT"?i!=null&&i.hasRoom&&(n!=null&&n.next||n!=null&&n.event)?.92:i!=null&&i.hasRoom?.78
125:.6:t==="NOT_WORTH_IT"?n!=null&&n.next?.86:.72:.55}function ZE({discountPercent:t,brandSlug:n,target:i}){const s=Mi(n),l=Number(s==null?void 0:s.avgFloorDiscount)||null,u=Number(t)||0;return l?u>=l?1:u>=l-5?.86:u>=l-10?.74:i!=null&&i.hasRoom?.35:.5:u>0?.6:.45}function eP({verdict:t,discountPercent:n,brandSlug:i,target:s}){if(t==="BUY")return ZE({discountPercent:n,brandSlug:i,target:s});const l=Mi(i),u=Number(l==null?void 0:l.avgFloorDiscount)||null,d=Number(n)||0;return u?s!=null&&s.hasRoom&&d<=u-10?1:d<20?.92:d<u?.8:.45:s!=null&&s.hasRoom?.72:d<20?.78:.6}function tP(t){const n=t==null?void 0:t.level;return n==="confirmed"?1:n==="grounded"?.82:n==="partial"?.62:n==="directional"?.4:n==="unsupported"?0:.5}function nP({decision:t,cheapest:n}){return(t==null?void 0:t.decision)==="SKIP"&&(t!=null&&t.matchVerified)?1:(t==null?void 0:t.decision)==="SKIP"&&(n==null?void 0:n.cheapestIsExactMatch)===!1?.3:(n==null?void 0:n.cheapestIsExactMatch)===!1?.55:(n==null?void 0:n.cheapestIsExactMatch)===!0?.9:.65}function rP({verdict:t,currentPrice:n,discountPercent:i,brandSlug:s,cheapest:l,priceHistory:u,timingSignal:d,target:h,decisionEvidence:m,decision:p,now:g=new Date}={}){var O,V;const v=wd(u);if((m==null?void 0:m.level)==="unsupported")return{score:null,confidence:null,label:"Unsupported",reasons:["SCOUTLO does not have enough reliable structured data on this link yet."],factors:null};const C={cheapestCurrent:GE({verdict:t,cheapest:l,decision:p}),historicalPosition:YE(n,v,t),retailerCoverage:QE(l),seasonalTiming:XE({verdict:t,timingSignal:d,target:h}),brandMarkdownBehavior:eP({verdict:t,discountPercent:i,brandSlug:s,target:h}),evidenceConfidence:tP(m),matchConfidence:nP({decision:p,cheapest:l})},k=Object.entries({cheapestCurrent:25,historicalPosition:20,retailerCoverage:10,seasonalTiming:15,brandMarkdownBehavior:15,evidenceConfidence:10,matchConfidence:5}).reduce((I,[G,D])=>I+(C[G]??.5)*D,0),E=Math.round(La(k/100,0,1)*100),R=E>=70?"high":E>=55?"medium":"low",F=t==="BUY"?"Buy now":t==="WAIT"?"Wait":"Skip",j=[];if((p==null?void 0:p.decision)==="SKIP"&&Number(p==null?void 0:p.savingsElsewhere)>=20&&(p!=null&&p.cheapestRetailer)&&j.push(p.matchLevel==="same_style_same_color"?`Same brand, style, and color appears ${No(p.savingsElsewhere)} lower at ${p.cheapestRetailer}.`:`Same item is ${No(p.savingsElsewhere)} cheaper at ${p.cheapestRetailer}.`),(p==null?void 0:p.decision)==="BUY"&&(l!=null&&l.isCheapestHere)&&Number(l==null?void 0:l.comparedCount)>=2&&j.push(`Lowest verified live price across ${l.comparedCount} retailers checked.`),v.observations>1&&Number(v.lowest)>0&&Number(n)>0){if(Math.abs(Number(n)-Number(v.lowest))<=Math.max(15,Number(v.lowest)*.02))j.push(`At or near our observed low of ${No(v.lowest)}.`);else if(Number(n)>Number(v.lowest)*1.08){const G=HE(v.lowestAt||v.lastSeen,g);j.push(`We have seen it lower at ${No(v.lowest)}${G?`, most recently ${G}`:""}.`)}}return h!=null&&h.hasRoom&&Number(h==null?void 0:h.targetPrice)>0&&j.push(`Typical markdown floor points closer to ${No(h.targetPrice)}.`),(O=d==null?void 0:d.next)!=null&&O.month?j.push(`Brand timing suggests another markdown window around ${d.next.month}.`):d!=null&&d.live&&((V=d==null?void 0:d.event)!=null&&V.event)&&j.push(`${d.event.event} is live right now.`),m!=null&&m.confirmed&&j.push("Grounded in a verified price pair plus comparison or history."),{score:E,confidence:R,label:F,reasons:j.slice(0,4),factors:C}}function iP({read:t={},offers:n=[],url:i="",month:s=qE()}={}){var j,O,V;const l=!t.userPricing&&!t.livePricing&&!t.livePriceOnly,u=Number(t.currentPrice)||0,d=Number(t.originalPrice)||0,h=d>0?Math.max(0,Math.round((d-u)/d*100)):0,m=t.unsupportedCategory?{verdict:"NOT_WORTH_IT",label:"Skip",message:"SCOUTLO does not have enough reliable shopping data on this link yet, so it is skipping the call instead of forcing a weak one.",confidence:"low"}:h===0?{verdict:"WAIT",label:"Wait",message:t.livePriceOnly?`Live price confirmed at $${u.toLocaleString()}. The retailer doesn't publish an original price â add it for a markdown verdict.`:t.newSeason?"New-season and full price â there's no markdown to judge yet.":"Full price right now â no markdown to judge.",confidence:"low"}:eE(h,t.brandSlug,t.itemType),p=t.priceHistory||(!t.unsupportedCategory&&(t.userPricing||t.livePricing||t.livePriceOnly)?_E({currentPrice:u,originalPrice
125:d}):null),g=t.unsupportedCategory?null:WE({brand:t.brand,retailer:t.retailer,month:s}),v=t.unsupportedCategory?{targetPrice:null,nextWindow:null,hasRoom:!1}:Uv({originalPrice:d,brandSlug:t.brandSlug,currentPrice:u});let x=null,C=null;!t.unsupportedCategory&&u>0&&!l&&(x=OE({retailer:t.retailer,price:u,url:i,variantKey:t.variantKey||null},n,{currentVariantKey:t.variantKey||null}),C=FE({markdownVerdict:m.verdict,cheapest:x,targetPrice:v.targetPrice,targetHasRoom:v.hasRoom,currentPrice:u,lowestSeen:p==null?void 0:p.lowest,nextSaleWindow:((j=g==null?void 0:g.next)==null?void 0:j.month)||v.nextWindow,nextSaleEvent:((O=g==null?void 0:g.next)==null?void 0:O.event)||null,liveSaleEvent:g!=null&&g.live?(V=g.event)==null?void 0:V.event:null,brand:t.brand}));const N=KE({verdict:m.verdict,brandSlug:t.brandSlug,unsupportedCategory:t.unsupportedCategory,estimatedPricing:l,userPricing:t.userPricing,livePricing:t.livePricing,livePriceOnly:t.livePriceOnly,cheapest:x,priceHistory:p,timingSignal:g,target:v}),k=DE({...t,discountPercent:h,verdict:m.verdict}),E=t.unsupportedCategory?null:IE({currentPrice:u,originalPrice:d,discountPercent:h,priceHistory:p,target:k.target,source:t.userPricing?"user":t.livePricing||t.livePriceOnly?"live":"estimate"}),R=t.unsupportedCategory?null:VE({verdict:m.verdict,discountPercent:h,brandSlug:t.brandSlug,newSeason:t.newSeason}),F=rP({verdict:m.verdict,currentPrice:u,discountPercent:h,brandSlug:t.brandSlug,cheapest:x,priceHistory:p,timingSignal:g,target:k.target,decisionEvidence:N,decision:C});return{...t,discountPercent:h,verdict:m,priceHistory:p,cheapest:x,decision:C,estimatedPricing:l,timingSignal:g,decisionEvidence:N,recommendation:k,priceStory:E,human:R,decisionScore:F}}function oP(t){const n=String(t||"").trim();return!n||/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)}function xd({title:t,description:n,canonical:i,image:s,type:l="website",schema:u}){return z.useEffect(()=>{document.title=t?`${t} | SCOUTLO`:"SCOUTLO â Scout the price. Know the move.";const d=document.querySelector('meta[name="description"]');d&&n&&d.setAttribute("content",n);const h=document.querySelector('meta[property="og:title"]');h&&h.setAttribute("content",t?`${t} | SCOUTLO`:"SCOUTLO");const m=document.querySelector('meta[property="og:description"]');m&&n&&m.setAttribute("content",n);const p=document.querySelector('meta[property="og:type"]');p&&p.setAttribute("content",l);const g=document.querySelector('link[rel="canonical"]');if(g&&i&&g.setAttribute("href",`https://scoutlo.app${i}`),s){const v=document.querySelector('meta[property="og:image"]');v&&v.setAttribute("content",s);const x=document.querySelector('meta[name="twitter:image"]');x&&x.setAttribute("content",s)}if(u){const v=document.getElementById("page-schema");v&&v.remove();const x=document.createElement("script");x.id="page-schema",x.type="application/ld+json",x.textContent=JSON.stringify(u),document.head.appendChild(x)}return()=>{const v=document.getElementById("page-schema");v&&v.remove()}},[t,n,i,s,l,u]),null}const va={listItems:"scoutlo_list_items",waitlist:"scoutlo_waitlist",events:"scoutlo_events",prices:"scoutlo_prices"},Vo={checkSubmitted:"check_submitted",verdictShown:"verdict_shown",linkClicked:"link_clicked",listAdd:"list_add",waitlistJoin:"waitlist_join"};function bd(){const t=globalThis.crypto;if(t&&typeof t.randomUUID=="function")return t.randomUUID();let n="";const i=t&&typeof t.getRandomValues=="function"?t.getRandomValues(new Uint8Array(16)):null;for(let s=0;s<16;s+=1){const l=i?i[s]:Math.floor(Math.random()*256);n+=l.toString(16).padStart(2,"0")}return`${n.slice(0,8)}-${n.slice(8,12)}-${n.slice(12,16)}-${n.slice(16,20)}-${n.slice(20)}`}function sP(t={}){const n=t.alertType==="price"?"price":"percent",i=Number(t.discount),s=t.targetPrice===""||t.targetPrice==null?null:Number(t.targetPrice),l=t.currentPrice===""||t.currentPrice==null?null:Number(t.currentPrice);return{id:t.id!=null?t.id:bd(),brand:String(t.brand||"").trim(),category:String(t.category||"Any Item").trim(),size:String(t.size||"").trim(),itemName:String(t.itemName||"").trim(),itemType:String(t.itemType||"").trim(),retailer:String(t.retailer||"").trim(),productUrl:String(t.productUrl||"").trim(),urlHash:String(t.urlHash||"").trim(),variantKey:String(t.variantKey||"").trim(),sku:String(t.sku||"").trim(),mpn:String(t.mpn||"").trim(),gtin:String(t.gtin||"").trim(),color:String(t.color||"").trim(),alertType:n,discount:Number.isFinite(i)?i:40,priceThreshold:t.priceThreshold===""||t.priceThreshold==null?"":Number(t.priceThreshold),targetPrice
125:Number.isFinite(s)?s:"",currentPrice:Number.isFinite(l)?l:"",email:String(t.email||"").trim(),createdAt:t.createdAt||new Date().toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}}function aP(t,n){return{client_id:n||null,brand:t.brand||null,category:t.category||null,size:t.size||null,item_name:t.itemName||null,item_type:t.itemType||null,retailer:t.retailer||null,product_url:t.productUrl||null,url_hash:t.urlHash||null,variant_key:t.variantKey||null,sku:t.sku||null,mpn:t.mpn||null,gtin:t.gtin||null,color:t.color||null,alert_type:t.alertType||null,discount:Number.isFinite(t.discount)?t.discount:null,price_threshold:t.priceThreshold===""||t.priceThreshold==null?null:Number(t.priceThreshold),current_price:t.currentPrice===""||t.currentPrice==null?null:Number(t.currentPrice),target_price:t.targetPrice===""||t.targetPrice==null?null:Number(t.targetPrice),email:t.email||null}}function lP(t){return String(t||"").trim().toLowerCase()}function dg(t){try{return JT(t)}catch{return null}}async function fg(t){try{const n=new TextEncoder().encode(String(t)),i=await globalThis.crypto.subtle.digest("SHA-256",n);return Array.from(new Uint8Array(i)).map(s=>s.toString(16).padStart(2,"0")).join("")}catch{return null}}function uP({local:t,remote:n,clientId:i}={}){if(!t)throw new Error("createDb requires a local adapter");const s=i||"anon",l=!!n;function u(d,h={}){const m={type:d,payload:h,client_id:s,ts:new Date().toISOString()};return l?Promise.resolve().then(()=>n.insert(va.events,{event_type:d,payload:h,client_id:s})).catch(()=>{t.eventBuffer(m)}):t.eventBuffer(m),m}return{mode:l?"supabase+local":"local",clientId:s,getListItems(){return t.listGet()},async saveListItem(d){const h=sP(d),m=dg(h.productUrl),p=h.urlHash||(m?await fg(m):null),g={...h,productUrl:m||h.productUrl,urlHash:p||""};if(t.listSave(g),l)try{await n.insert(va.listItems,aP(g,s))}catch{}return u(Vo.listAdd,{brand:g.brand,category:g.category,alertType:g.alertType}),g.email&&this.joinWaitlist({email:g.email,source:"scoutlo_list"}).catch(()=>{}),g},removeListItem(d){return t.listRemove(d)},async joinWaitlist({email:d,source:h}={}){const m=lP(d);if(!m||!m.includes("@"))throw new Error("A valid email is required to join the waitlist");const p={email:m,source:h||"site",client_id:s};if(l)try{return await n.insert(va.waitlist,p),u(Vo.waitlistJoin,{source:p.source}),{ok:!0,queued:!1,duplicate:!1}}catch(g){return g&&g.status===409?{ok:!0,queued:!1,duplicate:!0}:(t.waitlistQueue(p),{ok:!0,queued:!0,duplicate:!1})}return t.waitlistQueue(p),u(Vo.waitlistJoin,{source:p.source}),{ok:!0,queued:!0,duplicate:!1}},logEvent:u,async recordPriceObservation({url:d,retailer:h,brand:m,itemName:p,price:g,originalPrice:v,source:x,variantKey:C,sku:N,mpn:k,gtin:E,color:R,size:F}={}){if(!l)return!1;const j=Number(g),O=v==null?null:Number(v);if(!Number.isFinite(j)||j<=0||O!=null&&(!Number.isFinite(O)||O<j))return!1;const V=dg(d);if(!V)return!1;const I=await fg(V);if(!I)return!1;try{return await n.insert(va.prices,{url_hash:I,url:V,retailer:h||null,brand:m||null,item_name:p||null,price:j,original_price:O,currency:"USD",source:x||"user",variant_key:C||null,sku:N||null,mpn:k||null,gtin:E||null,color:R||null,size:F||null}),!0}catch{return!1}},async getTrendSummary(){if(!l||typeof n.rpc!="function")return null;try{return await n.rpc("scoutlo_trend_summary")}catch{return null}},async fetchItemOffers({brand:d,itemName:h,variantKey:m}={}){if(!l||typeof n.rpc!="function")return[];try{const p=await n.rpc("scoutlo_item_offers",{p_brand:d||"",p_item:h||"",p_variant_key:m||null});return Array.isArray(p)?p.map(g=>({...g,variantKey:g.variant_key??g.variantKey??null})):[]}catch{return[]}},async fetchProducts(){if(!l||typeof n.select!="function")return[];try{const d=await n.select("scoutlo_products",{query:"active=eq.true&order=sort_order.asc,brand.asc"});return Array.isArray(d)?d:[]}catch{return[]}}}}const ic="scoutlo_list",oc="scoutlo_waitlist_queue",sc="scoutlo_events_buffer",hg="scoutlo_cid",cP="scoutlo_list",dP="scoutlo_waitlist_queue",fP="scoutlo_events_buffer",hP="scoutlo_cid",mP=200;function Sd(){try{return globalThis.localStorage||null}catch{return null}}function Qn(t,n){const i=Sd();if(!i)return n;try{const s=i.getItem(t);return s?JSON.parse(s):n}catch{return n}}function wa(t,n){const i=Sd();if(!i)return!1;try{return i.setItem(t,JSON.stringify(n)),!0}catch{return!1}}function pP(){const t=Sd();if(!t)return"anon";try{let n=t.getItem(hg);return n||(n=t.getItem(hP)),n||(n=bd(),t.setItem(hg,n)),n}catch{return"anon"}}const gP={listGet(){const t=Qn(ic,null)||Qn(cP,[]);return Array.isArray(t)?t:[]},listSave(t){const n=this.listGet();return wa(ic,[t,...n]),t},listRemove(t){const n=this.listGet().filter(i=>String(i.id)!==String(t));return wa(ic,n),!0},waitlistQueue(t){const n=Qn(oc,[]);return wa(oc,[{id:bd(),...t},...n]),!0},waitlistPending(){return Qn(oc,null)||Qn(dP,[])},eventBuffer(t){const n=Qn(sc,[]),i=[t,...n].slice(0,mP);return wa(sc,i),!0},eventsPending(){return Qn(sc,null)||Qn(fP,[])}};
125class ac extends Error{constructor(n,i){super(n),this.name="RestError",this.status=i}}function yP({url:t,anonKey:n,fetchImpl:i}={}){if(!t||!n)throw new Error("createRestAdapter requires url and anonKey");const s=i||globalThis.fetch,l=`${String(t).replace(/\/+$/,"")}/rest/v1`;function u(p){return{apikey:n,Authorization:`Bearer ${n}`,"Content-Type":"application/json",...p}}async function d(p,g){const v=JSON.stringify(Array.isArray(g)?g:[g]),x=await s(`${l}/${p}`,{method:"POST",headers:u({Prefer:"return=minimal"}),body:v});if(!x.ok)throw new ac(`Supabase insert into ${p} failed (${x.status})`,x.status);return!0}async function h(p,{query:g}={}){const v=g?`?${g}`:"",x=await s(`${l}/${p}${v}`,{headers:u()});if(!x.ok)throw new ac(`Supabase select from ${p} failed (${x.status})`,x.status);return x.json()}async function m(p,g={}){const v=await s(`${l}/rpc/${p}`,{method:"POST",headers:u(),body:JSON.stringify(g||{})});if(!v.ok)throw new ac(`Supabase rpc ${p} failed (${v.status})`,v.status);return v.json()}return{insert:d,select:h,rpc:m,base:l}}const vP="https://nxewvnimahzonumhuloj.supabase.co",$v="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im54ZXd2bmltYWh6b251bWh1bG9qIiwicm9sZSI6ImFub24iLCJpYXQiOjE3ODMzNDM4NTgsImV4cCI6MjA5ODkxOTg1OH0.g8iWkyEYZNULFoqB-M0MfFn-yVvYVKko_2N8wB-20aE",wP=!!$v,xP=wP?yP({url:vP,anonKey:$v}):null,xa=uP({local:gP,remote:xP,clientId:pP()});async function bP(t,{currentPrice:n,originalPrice:i}={}){try{const s=new URLSearchParams({url:t});n&&s.set("currentPrice",n),i&&s.set("originalPrice",i);const l=await fetch(`/api/evaluate?${s.toString()}`,{signal:AbortSignal.timeout(9e3)}),u=await l.json().catch(()=>null);return u?{...u,httpOk:l.ok,httpStatus:l.status}:null}catch{return null}}function SP(t,n){return t?t==="fetch_403"||t==="fetch_421"||t==="fetch_0"?n?"The retailer blocked Scoutlo's automated fetch, so this result is based on the prices you entered plus the product link.":"The retailer blocked Scoutlo's automated fetch. Add the live sale and original prices from the page for a stronger result, or use the extension on the live product page.":t==="no_structured_price"?n?"The retailer page did not expose a machine-readable price, so this result is based on the prices you entered.":"The retailer page did not expose a machine-readable price. Add the live sale and original prices from the page for a stronger result.":t==="fetch_404"?"That product page appears unavailable or no longer live.":"Scoutlo could not complete a full live retailer read, so this result uses the best fallback available.":null}function kP(){var Se,me,He,Rt,en,Ut,$t,Oi,Fi,Vr,ji,zr,Nn,hn,Ur,_i,Ii;const t=z.useRef("");if(!t.current&&typeof window<"u"){const oe=new URLSearchParams(window.location.search);t.current=oe.get("q")||oe.get("url")||""}const[n,i]=z.useState(t.current),[s,l]=z.useState(!1),[u,d]=z.useState(null),[h,m]=z.useState(null),[p,g]=z.useState(!1),[v,x]=z.useState(""),[C,N]=z.useState(""),[k,E]=z.useState(""),[R,F]=z.useState(null),j=z.useRef(!1);async function O(){if(n.trim()){l(!0),d(null),m(null),g(!1),x(""),F(null);try{const oe=await bP(n,{currentPrice:C,originalPrice:k}),Be=oe&&oe.ok===!1?oe:null,An=!!(C||k);let we;if(oe!=null&&oe.ok&&(oe!=null&&oe.evaluation))we={...oe.evaluation,affiliateLink:Pr(n,"check"),intelligence:oe.intelligence||null,normalizedUrl:oe.normalizedUrl||n};else if(Be!=null&&Be.fallbackEvaluation)we={...Be.fallbackEvaluation,affiliateLink:Pr(n,"check"),normalizedUrl:Be.normalizedUrl||n,fetchFailureReason:Be.reason||null};else{let St=vE(n);oe!=null&&oe.product&&(St=wE(St,{product:oe.product,history:oe.history||null})),St=rg(St,{currentPrice:C,originalPrice:k}),!St.userPricing&&St.livePriceOnly&&k&&(St=rg(St,{currentPrice:St.currentPrice,originalPrice:k})),we={...iP({read:St,offers:[],url:n}),affiliateLink:Pr(n,"check")}}Be!=null&&Be.reason&&F(SP(Be.reason,An)),we.unsupportedCategory&&(we={...we,affiliateLink:null}),d(we),xa.logEvent(Vo.verdictShown,{brand:we.brand,brandSlug:we.brandSlug,itemType:we.itemType,retailer:we.retailer,discountPercent:we.discountPercent,verdict:we.verdict.verdict,userPricing:!!we.userPricing,livePricing:!!(we.livePricing||we.livePriceOnly),unsupportedCategory:!!we.unsupportedCategory}),we.userPricing&&!we.unsupportedCategory&&xa.recordPriceObservation({url:n,retailer:we.retailer,brand:we.brand,itemName:we.itemName,price:we.currentPrice,originalPrice
125:we.originalPrice,source:"user_check",variantKey:we.variantKey||null,sku:we.sku||null,mpn:we.mpn||null,gtin:we.gtin||null,color:we.color||null,size:we.size||null}).catch(()=>{})}catch{m("We could not read that link right now. Try another product URL, or open the product page directly to confirm the live details.")}finally{l(!1)}}}z.useEffect(()=>{j.current||t.current&&n.trim()&&(j.current=!0,O())},[n]);const V=u?u.originalPrice-u.currentPrice:0,I=(u==null?void 0:u.recommendation)||null,G=(u==null?void 0:u.priceStory)||null,D=(u==null?void 0:u.timingSignal)||null,Y=(u==null?void 0:u.human)||null,H=u!=null&&u.decision&&!u.estimatedPricing?u.decision.decision==="SKIP"?"NOT_WORTH_IT":u.decision.decision:(Se=u==null?void 0:u.verdict)==null?void 0:Se.verdict,ge=u!=null&&u.decision&&!u.estimatedPricing?u.decision.decision==="BUY"?"Buy":u.decision.decision==="WAIT"?"Wait":"Skip":(me=u==null?void 0:u.verdict)==null?void 0:me.label,qe=u!=null&&u.decision&&!u.estimatedPricing&&H!==((He=u==null?void 0:u.verdict)==null?void 0:He.verdict)?u.decision.reason:(Rt=u==null?void 0:u.verdict)==null?void 0:Rt.message,_e=v.trim(),Me=!!_e,Ie=!Me||oP(_e),Ee=u?Vv(`${n} ${u.brand||""} ${u.itemName||""} ${u.color||""}`.toLowerCase()):null,de=((en=u==null?void 0:u.decision)==null?void 0:en.decision)==="SKIP"&&((Ut=u==null?void 0:u.decision)!=null&&Ut.matchVerified)&&(($t=u==null?void 0:u.decision)!=null&&$t.cheapestUrl)?Pr(u.decision.cheapestUrl,"check_cheapest"):null,q=((Oi=u==null?void 0:u.decision)==null?void 0:Oi.decision)==="SKIP"&&((Fi=u==null?void 0:u.decision)==null?void 0:Fi.matchLevel)==="same_style_same_color"&&((Vr=u==null?void 0:u.decision)!=null&&Vr.cheapestUrl)?Pr(u.decision.cheapestUrl,"check_style_color_cheapest"):null,re=de||q,_=((ji=u==null?void 0:u.decision)==null?void 0:ji.retailerReputation)||null,P=(_==null?void 0:_.badge)||((zr=u==null?void 0:u.decision)!=null&&zr.reputableRetailer?"Reputable retailer":null),U=(_==null?void 0:_.reason)||null,pe=re||(u==null?void 0:u.affiliateLink)||null,ye=de?`Open better price â $${Number(u.decision.cheapestPrice).toLocaleString()}`:q?`Open style/color match â $${Number(u.decision.cheapestPrice).toLocaleString()}`:u!=null&&u.estimatedPricing?"Verify on product page":"Open product page",le=u!=null&&u.decision&&!u.estimatedPricing?u.decision.decision==="BUY"?`Buy at $${Number(u.currentPrice).toLocaleString()}. Do not expect much more drop.`:u.decision.decision==="WAIT"?`Wait. Track it near $${Number(u.decision.targetPrice||((Nn=I==null?void 0:I.target)==null?void 0:Nn.targetPrice)||u.currentPrice).toLocaleString()}.`:(u.decision.matchVerified||u.decision.matchLevel==="same_style_same_color")&&u.decision.savingsElsewhere?`$${Number(u.decision.savingsElsewhere).toLocaleString()} less found at ${u.decision.cheapestRetailer}. Use this link.`:"Skip this price. No better exact link verified.":qe;function ue(oe){oe.preventDefault(),s||O()}async function ke(){var oe,Be,An,we;u&&(await xa.saveListItem({brand:u.brand,category:"Any Item",retailer:u.retailer,itemName:u.itemName,itemType:u.itemType,productUrl:n,currentPrice:u.currentPrice,targetPrice:((oe=I==null?void 0:I.target)==null?void 0:oe.targetPrice)||"",alertType:(Be=I==null?void 0:I.target)!=null&&Be.hasRoom?"price":"percent",discount:((An=I==null?void 0:I.target)==null?void 0:An.floorDiscount)||40,priceThreshold:((we=I==null?void 0:I.target)==null?void 0:we.targetPrice)||"",email:Me?_e:"",variantKey:u.variantKey||null,sku:u.sku||null,mpn:u.mpn||null,gtin:u.gtin||null,color:u.color||null}),g(!0))}return w.jsxs("div",{className:"pb-8",children:[w.jsx(xd,{title:"Shopping Price Checker â Buy, Wait, or Skip",description:"Paste a product link. SCOUTLO checks price, markdown timing, product details, and better shopping routes, then gives a Buy, Wait, or Skip read.",canonical:"/",schema:{"@context":"https://schema.org","@type":"SoftwareApplication",name:"SCOUTLO",applicationCategory:"ShoppingApplication",operatingSystem:"Web, Chrome, Edge, Firefox, Safari",description:"Shopping price checker for product links, sale timing, affiliate-supported recommendations, and Buy, Wait, or Skip decisions.",url:"https://scoutlo.app/"}}),w.jsx("section",{className:"bg-primary px-4 py-10 text-primary-foreground md:py-14",children:w.jsx("div",{className:"editorial-shell",children:w.jsxs("div",{className:"grid gap-8 border-y-2 border-primary-foreground
125/70 py-7 lg:grid-cols-[0.95fr_1.05fr] lg:items-end",children:[w.jsxs(Mo.div,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.55},children:[w.jsx("h1",{"aria-label":"Paste the product link. Know the move.",className:"max-w-3xl font-serif text-5xl font-semibold leading-[0.88] tracking-[-0.045em] text-primary-foreground sm:text-6xl lg:text-7xl",children:"Paste the product link. Know the move."}),w.jsx("p",{className:"mt-5 max-w-xl font-sans text-base leading-7 text-primary-foreground/72",children:"SCOUTLO reads the item, price, timing, and product details. Then it gives one call: buy, wait, or skip."})]}),w.jsxs("form",{className:"border border-primary-foreground/24 bg-primary-foreground/[0.045] p-4 md:p-5",onSubmit:ue,children:[w.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[w.jsxs("div",{className:"relative flex-1",children:[w.jsx(px,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4 text-white/50"}),w.jsx(Oo,{type:"url",placeholder:"Paste the exact product page",value:n,onChange:oe=>i(oe.target.value),className:"h-12 rounded-none border-primary-foreground/28 bg-primary-foreground/10 pl-11 font-sans text-sm text-primary-foreground placeholder:text-primary-foreground/48 focus-visible:border-secondary focus-visible:ring-secondary"})]}),w.jsx(Nc,{type:"submit","aria-label":"Run SCOUTLO check",disabled:s||!n.trim(),className:"h-12 shrink-0 rounded-none bg-secondary px-6 font-sans text-xs font-semibold uppercase tracking-[0.16em] text-primary hover:bg-secondary/90",children:s?w.jsx(Sm,{className:"w-4 h-4 animate-spin"}):w.jsxs(w.Fragment,{children:["Check ",w.jsx(ux,{className:"w-4 h-4"})]})})]}),w.jsxs("details",{className:"mt-3 border-t border-primary-foreground/12 pt-3",children:[w.jsx("summary",{className:"cursor-pointer font-mono text-[9px] uppercase tracking-[0.18em] text-primary-foreground/58",children:"Add price if needed"}),w.jsxs("div",{className:"mt-3 grid gap-2 sm:grid-cols-2",children:[w.jsxs("div",{className:"relative flex-1",children:[w.jsx("span",{className:"absolute left-4 top-1/2 -translate-y-1/2 font-mono text-xs text-white/50",children:"$"}),w.jsx(Oo,{type:"number",min:"1","aria-label":"Sale price you see on the page",placeholder:"Current price",value:C,onChange:oe=>N(oe.target.value),className:"h-10 rounded-none border-primary-foreground/24 bg-primary-foreground/10 pl-8 font-sans text-xs text-primary-foreground placeholder:text-primary-foreground/45 focus-visible:border-secondary focus-visible:ring-secondary"})]}),w.jsxs("div",{className:"relative flex-1",children:[w.jsx("span",{className:"absolute left-4 top-1/2 -translate-y-1/2 font-mono text-xs text-white/50",children:"$"}),w.jsx(Oo,{type:"number",min:"1","aria-label":"Original full price",placeholder:"Original price",value:k,onChange:oe=>E(oe.target.value),className:"h-10 rounded-none border-primary-foreground/24 bg-primary-foreground/10 pl-8 font-sans text-xs text-primary-foreground placeholder:text-primary-foreground/45 focus-visible:border-secondary focus-visible:ring-secondary"})]})]})]})]})]})})}),w.jsxs(rS,{children:[s&&w.jsxs(Mo.div,{initial:{opacity:0}
125,animate:{opacity:1},exit:{opacity:0},className:"max-w-3xl mx-auto px-4 py-16 text-center",children:[w.jsx(Sm,{className:"w-8 h-8 animate-spin text-secondary mx-auto mb-4"}),w.jsx("p",{className:"font-serif text-xl text-foreground mb-1",children:"Reading the product page..."}),w.jsx("p",{className:"font-sans text-sm text-muted-foreground",children:"Checking price, timing, and product signals"})]}),h&&!s&&w.jsx(Mo.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"max-w-3xl mx-auto px-4 py-8",children:w.jsxs("div",{className:"bg-card border border-border/60 rounded-lg p-4 text-center",children:[w.jsx("p",{className:"font-sans text-sm text-muted-foreground leading-relaxed",children:h}),n&&w.jsxs("a",{href:Pr(n,"check_error"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 mt-4 bg-primary text-white px-5 py-2.5 rounded-full font-sans text-sm font-semibold hover:bg-primary/90 transition-colors",children:["Open product link ",w.jsx(ka,{className:"w-4 h-4"})]})]})}),u&&!s&&w.jsx(Mo.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},className:"max-w-3xl mx-auto px-4 py-12",children:w.jsx("div",{className:"overflow-hidden border border-primary bg-card shadow-[0_18px_60px_rgba(20,16,12,0.10)]",children:w.jsxs("div",{className:"p-6 md:p-8",children:[w.jsxs("div",{className:"flex flex-col items-start justify-between gap-4 mb-6 sm:flex-row",children:[w.jsxs("div",{className:"flex items-start gap-4",children:[u.liveImage&&w.jsx("img",{src:xE(u.liveImage),alt:`${u.brand} ${u.itemName}`,className:"h-24 w-24 flex-shrink-0 border border-border/50 object-cover",loading:"lazy",referrerPolicy:"no-referrer",onError:oe=>{const Be=Ee?new URL(Ee,window.location.origin).toString():"";if(Be&&oe.currentTarget.src!==Be){oe.currentTarget.src=Be,oe.currentTarget.removeAttribute("referrerpolicy");return}oe.currentTarget.style.display="none"}}),w.jsxs("div",{children:[w.jsxs("div",{className:"mb-1 flex flex-wrap items-center gap-2",children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-widest text-secondary",children:"Product page"}),w.jsx("span",{className:`rounded-full px-2.5 py-1 font-mono text-[9px] uppercase tracking-widest ${u.unsupportedCategory?"bg-destructive/10 text-destructive":u.userPricing||u.livePricing||u.livePriceOnly?"bg-verdict-buy/10 text-verdict-buy":"bg-muted text-muted-foreground"}`,children:u.unsupportedCategory?"Unsupported":u.userPricing?"User-confirmed":u.livePricing||u.livePriceOnly?"Live read":"Directional estimate"})]}),w.jsx("h2",{className:"font-serif text-2xl font-bold text-foreground",children:u.brand}),w.jsx("p",{className:"font-sans text-muted-foreground mt-1",children:u.itemName})]})]}),w.jsx(VT,{verdict:u.unsupportedCategory?"UNSUPPORTED":H,size:"lg"})]}),!u.unsupportedCategory&&w.jsxs("div",{className:"mb-6 border-y border-primary/18 bg-muted/25 p-5",children:[w.jsxs("div",{className:"scoutlo-safe-grid grid gap-4 text-center",children:[w.jsxs("div",{children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-wider text-muted-foreground mb-1",children:"Original"}),w.jsxs("p",{className:"font-mono text-lg text-muted-foreground line-through",children:["$",(hn=u.originalPrice)==null?void 0:hn.toLocaleString()]})]}),w.jsxs("div",{children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-wider text-muted-foreground mb-1",children:u.livePricing||u.livePriceOnly?"Current (live)":u.estimatedPricing?"Est. Current":"Current"}),w.jsxs("p",{className:"font-mono text-2xl font-bold text-foreground",children:["$",(Ur=u.currentPrice)==null?void 0:Ur.toLocaleString()]})]}),w.jsxs("div",{children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-wider text-muted-foreground mb-1",children:"Discount"}),w.jsxs("p",{className:"font-mono text-xl font-bold text-secondary",children:[u.discountPercent,"% off"]})]})]}),u.estimatedPricing?w.jsx("p",{className:"text-center font-sans text-[11px] text-muted-foreground mt-3 leading-relaxed",children:"Directional read only. We could not confirm a live retailer price, so this is based on the link structure and known sale timing rather than a verified markdown."}):V>0?w.jsxs("p",{className:"text-center font-sans text-xs text-muted-foreground mt-3",children:["You'd save ",w.jsxs("span",{className:"text-foreground font-semibold",children:["$",V.toLocaleStr
125ing()]})," vs. full price"]}):null]}),u.estimatedPricing&&w.jsxs("div",{className:"mb-6 rounded-xl border border-accent/35 bg-accent/10 p-4",children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-widest text-muted-foreground mb-1",children:"Before you buy"}),w.jsx("p",{className:"font-sans text-sm text-foreground leading-relaxed",children:u.unsupportedCategory?"This link does not have enough shopping data for a reliable call yet, so SCOUTLO will not send it through a shopping action.":"Directional read. Open the product page to confirm the live price, size, color, and availability."})]}),R&&!u.unsupportedCategory&&w.jsxs("div",{className:"mb-6 rounded-xl border border-secondary/35 bg-secondary/10 p-4",children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-widest text-muted-foreground mb-1",children:"Live read note"}),w.jsx("p",{className:"font-sans text-sm text-foreground leading-relaxed",children:R})]}),u.decision&&!u.estimatedPricing&&w.jsxs("div",{className:"rounded-xl border border-border/60 p-5 mb-6",children:[w.jsxs("div",{className:"flex items-center justify-between gap-3 mb-2",children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-wider text-muted-foreground",children:"Better route check"}),w.jsx("span",{className:`font-mono text-[10px] uppercase tracking-wider font-bold ${u.decision.decision==="BUY"?"text-verdict-buy":u.decision.decision==="WAIT"?"text-accent":"text-muted-foreground"}`,children:u.decision.decision==="BUY"?"Buy it":u.decision.decision==="WAIT"?"Wait":"Skip it"})]}),w.jsx("p",{className:"font-serif text-lg text-foreground",children:le}),u.decision.decision==="SKIP"&&(u.decision.matchVerified||u.decision.matchLevel==="same_style_same_color")&&u.decision.cheapestRetailer&&w.jsxs("a",{href:re,target:"_blank",rel:"noopener noreferrer",className:"mt-4 inline-flex items-center gap-2 bg-primary px-5 py-3 text-xs font-semibold uppercase tracking-[0.16em] text-primary-foreground",children:[u.decision.matchVerified?"Open better price":"Open style/color match"," â $",Number(u.decision.cheapestPrice).toLocaleString(),w.jsx(ka,{className:"h-3.5 w-3.5"})]}),u.decision.matchVerified&&w.jsx("p",{className:"mt-2 font-mono text-[10px] uppercase tracking-wider text-verdict-buy",children:"â Exact match confirmed by product code"}),u.decision.matchLevel==="same_style_same_color"&&w.jsx("p",{className:"mt-2 font-mono text-[10px] uppercase tracking-wider text-accent",children:"Brand, style, and color match. Confirm size, material, returns, and stock before buying."}),P&&u.decision.cheapestRetailer&&w.jsxs("p",{className:"mt-2 font-sans text-xs leading-relaxed text-muted-foreground",children:[w.jsxs("span",{className:"font-semibold text-foreground",children:[P,": "]}),U||`${u.decision.cheapestRetailer} is in SCOUTLO's vetted retailer set.`]}),u.decision.sameStyleOtherColor&&w.jsx("div",{className:"mt-4 border-t border-border/50 pt-3",children:w.jsxs("p",{className:"font-sans text-sm text-muted-foreground leading-relaxed",children:[w.jsx("span",{className:"font-semibold text-foreground",children:"Same style, another color: "}),u.decision.sameStyleOtherColor.note," We only compare the exact piece you're viewing for the buy/skip call."]})}),u.cheapest&&u.cheapest.comparedCount>1&&w.jsx("div",{className:"mt-4 border-t border-border/50 pt-3 space-y-2",children:u.cheapest.offers.slice(0,1).map((oe,Be)=>w.jsxs("div",{className:"flex items-center justify-between text-sm",children:[w.jsx("span",{className:Be===0?"text-foreground font-semibold":"text-muted-foreground",children:"Best visible price"}),w.jsxs("span",{className:"font-mono text-foreground",children:["$",Number(oe.price).toLocaleString()]})]},oe.retailer))})]}),G&&w.jsxs("div",{className:`mb-6 border p-4 ${G.tone==="strong"?"border-verdict-buy/35 bg-verdict-buy/10":G.tone==="caution"?"border-verdict-skip/30 bg-verdict-skip/10":G.tone==="wait"?"border-secondary/35 bg-secondary/10":"border-border bg-muted/20"}`,children:[w.jsxs("div",{className:"flex flex-wrap items-start justify-between gap-3",children:[w.jsxs("div",{children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-widest text-muted-foreground mb-1",children:"Price read"}),w.jsx("p",{className:"font-serif text-xl text-foreground leading-tight",children:G.headline})]}),w.jsx("span",{className:"rounded-full border border-border/60 px-3 py-1 font-mono text-[10px] uppercase tracking-wider text-muted-foreground",children:G.status})]}),G.facts.length>0&&w.jsx("div",{className:"mt-4 flex flex-wrap gap-2",children:G.facts.map(oe=>w.jsx("span",{className:"rounded-full bg-background/70 px-3 py-1.5 font-sans text-[11px] text-foreground
125/75",children:oe},oe))}),((_i=G.prediction)==null?void 0:_i.summary)&&w.jsxs("p",{className:"mt-3 font-sans text-sm leading-relaxed text-foreground",children:[G.prediction.summary,G.prediction.basis?w.jsxs("span",{className:"text-muted-foreground",children:[" Basis: ",G.prediction.basis,"."]}):null]}),G.isFirstRead&&w.jsx("p",{className:"mt-3 font-sans text-[11px] leading-relaxed text-muted-foreground",children:"This check becomes part of the aggregate price-history layer, without selling personal user data."})]}),w.jsxs("div",{className:"mb-6",children:[w.jsxs("div",{className:"flex items-center justify-between gap-3 mb-2",children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-widest text-muted-foreground",children:"SCOUTLO Note"}),(I==null?void 0:I.score)!=null&&w.jsxs("span",{className:"font-mono text-[10px] uppercase tracking-wider text-muted-foreground shrink-0",title:"SCOUTLO's read on value at this price",children:["Scout Score ",w.jsx("span",{className:"text-secondary font-bold text-sm",children:I.score}),w.jsx("span",{className:"text-muted-foreground/60",children:"/100"})]})]}),w.jsx("p",{className:"font-serif text-xl text-foreground leading-relaxed md:text-2xl",children:le}),Y&&H===u.verdict.verdict&&w.jsxs("div",{className:"mt-4 border-l-2 border-secondary/60 pl-4",children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-widest text-muted-foreground mb-1",children:"Editorial read"}),w.jsx("p",{className:"font-sans text-sm text-foreground leading-relaxed",children:Y.note})]}),u.analysis&&w.jsx("p",{className:"font-sans text-sm text-muted-foreground mt-3 leading-relaxed",children:u.analysis})]}),(D==null?void 0:D.event)&&w.jsxs("div",{className:`mb-6 rounded-xl p-4 border ${D.live?"border-verdict-buy/40 bg-verdict-buy/10":"border-border bg-muted/20"}`,children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-widest text-muted-foreground mb-1",children:D.live?"Sale window live":"Timing context"}),w.jsxs("p",{className:"font-sans text-sm text-foreground",children:[w.jsx("span",{className:"font-semibold",children:D.name})," â ",D.event.event,w.jsxs("span",{className:"text-muted-foreground",children:[" (",D.event.month,")"]})]})]}),D&&!D.event&&D.next&&w.jsxs("div",{className:"mb-6 rounded-xl p-4 border border-border bg-muted/20",children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-widest text-muted-foreground mb-1",children:"Next known window"}),w.jsxs("p",{className:"font-sans text-sm text-foreground",children:[w.jsx("span",{className:"font-semibold",children:D.name})," â ",D.next.event,w.jsxs("span",{className:"text-muted-foreground",children:[" (typically ",D.next.month,")"]})]})]}),I&&!u.unsupportedCategory&&w.jsx("div",{className:"mb-6 space-y-4",children:H!=="BUY"&&w.jsxs("div",{className:"border border-secondary/35 bg-secondary/10 p-4",children:[w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-widest text-muted-foreground mb-1",children:"Track this price"}),w.jsx("p",{className:"font-sans text-sm text-foreground leading-relaxed",children:((Ii=u.decision)==null?void 0:Ii.notifyPrompt)||(I.target.hasRoom&&I.target.targetPrice?`Want a SCOUTLO notification if it falls toward $${I.target.targetPrice.toLocaleString()}?`:"Save it to your SCOUTLO List and weâll keep watch for a stronger move.")}),I.target.hasRoom&&I.target.targetPrice&&w.jsxs("p",{className:"mt-2 font-serif text-lg text-foreground",children:["Target ",w.jsxs("span",{className:"font-bold",children:["$",I.target.targetPrice.toLocaleString()]}),w.jsxs("span",{className:"font-sans text-sm text-muted-foreground",children:[" · â",I.target.floorDiscount,"% off",I.target.nextWindow?`, usually ${I.target.nextWindow}`:""]})]}),p?w.jsxs("p",{className:"mt-3 font-sans text-sm text-foreground",children:["Saved to your SCOUTLO List",Me&&Ie?" and queued for a price-drop note.":"."]}):w.jsxs("div",{className:"mt-3 flex flex-col gap-3 sm:flex-row",children:[w.jsx(Oo,{type:"email",value:v,onChange:oe=>x(oe.target.value),placeholder:"Email for a drop note (optional)",className:"h-11 bg-background"}),w.jsx(Nc,{onClick:ke,disabled:!Ie,className:"h-11 rounded-full bg-primary px-5 text-secondary hover:bg-primary/90",children:"Track this drop"})]}),Me&&!Ie&&w.jsx("p",{className:"mt-2 font-sans text-[11px] text-destructive",children:"Add a valid email or leave the field blank to save it locally only."}),w.jsx("p",{className:"mt-2 font-sans text-[11px] text-muted-foreground",children:"No spam. No resale of personal data. Leave email blank if you only want it saved locally in your SCOUTLO List."})]})}),w.jsxs("div",{className:"flex flex-wrap gap-3",children:[!u.unsupportedCategory&&pe&&w.jsxs("a",{href:pe,target:"_blank",rel:"noopener noreferrer",onClick:()=>xa.logEvent(Vo.linkClicked,{source:"check",brand:u.brand,retailer:u.retailer,verdict:H}),className:"inline-flex items-center gap-2 bg-primary px-6 py-3 font-sans text-xs font-semibold uppercase tracking-[0.14em] text-white transition-colors hover:bg-accent",children:[ye," ",w.jsx(ka,{className:"w-4 h-4"})]}),w.jsxs("button",{onClick:()=>{var oe;return kE({brand:u.brand,itemName:u.itemName,verdictLabel:ge,verdictKey:H,score:I==null?void 0:I.score,retailer:u.retailer,discountPercent:u.unsupportedCategory?null:u.discountPercent,targetPrice
125:(oe=I==null?void 0:I.target)!=null&&oe.hasRoom?I.target.targetPrice:null})},className:"inline-flex items-center gap-2 border border-border px-5 py-3 font-sans text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground transition-colors hover:border-accent hover:text-accent",children:[w.jsx(yx,{className:"w-4 h-4"})," Share"]}),w.jsx("button",{onClick:()=>{d(null),i(""),g(!1),x(""),N(""),E("")},className:"inline-flex items-center gap-2 border border-border px-6 py-3 font-sans text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground transition-colors hover:border-accent hover:text-accent",children:"Check another link"})]}),!u.unsupportedCategory&&w.jsx("p",{className:"font-sans text-[11px] text-muted-foreground mt-4 leading-relaxed",children:"Affiliate link â SCOUTLO may earn a commission if you buy, at no additional cost to you. Confirm live price, size, and availability before purchase."})]})})})]}),!u&&!s&&w.jsxs("section",{className:"editorial-shell py-14",children:[w.jsx("div",{className:"mb-6 border-y-2 border-primary py-4",children:w.jsx("h2",{className:"font-serif text-4xl leading-[0.92] tracking-[-0.04em] text-foreground md:text-5xl",children:"How SCOUTLO reads a link"})}),w.jsx("div",{className:"grid grid-cols-1 border-y border-primary/18 md:grid-cols-3",children:[{step:"01",title:"Paste the item.",desc:"Use the exact product page."},{step:"02",title:"Read the call.",desc:"SCOUTLO weighs price, timing, and product details."},{step:"03",title:"Check out carefully.",desc:"Confirm price, size, color, and availability before buying."}].map(oe=>w.jsxs("article",{className:"border-primary/18 py-6 md:border-r md:px-6 last:md:border-r-0",children:[w.jsx("span",{className:"font-mono text-[10px] uppercase tracking-[0.18em] text-accent",children:oe.step}),w.jsx("h3",{className:"mt-4 font-serif text-2xl font-semibold leading-none tracking-[-0.02em] text-foreground",children:oe.title}),w.jsx("p",{className:"mt-4 font-sans text-sm leading-7 text-muted-foreground",children:oe.desc})]},oe.step))})]})]})}function CP(){const t=new URLSearchParams(window.location.search),n=t.get("url")||t.get("to")||"";try{const i=new URL(n);return i.protocol!=="https:"||i.hostname.includes("shopmy.us")?"":i.toString()}catch{return""}}function TP(){const t=z.useMemo(CP,[]),n=t?qT(t):"";return w.jsxs("div",{className:"min-h-[70vh] bg-primary px-4 py-16 text-primary-foreground",children:[w.jsx(xd,{title:"Opening Retailer",description:"SCOUTLO is opening the exact retailer destination.",canonical:"/out"}),w.jsxs("section",{className:"mx-auto max-w-xl border border-primary-foreground/15 bg-primary-foreground/[0.04] p-6",children:[w.jsx("img",{src:"/brand/scoutlo-logo-wordmark.png",alt:"SCOUTLO",className:"h-12 w-auto max-w-[220px] object-contain brightness-0 invert"}),w.jsx("p",{className:"font-mono text-[10px] uppercase tracking-[0.22em] text-secondary",children:"SCOUTLO outbound"}),w.jsx("h1",{className:"mt-4 font-serif text-4xl leading-none",children:"Opening the exact item route."}),t?w.jsxs(w.Fragment,{children:[w.jsx("p",{className:"mt-4 font-sans text-sm leading-6 text-primary-foreground/70",children:"Sending you to the exact product page. Use the button below if the handoff pauses."}),w.jsxs("a",{"data-shopmy-outbound":!0,"data-shopmy-primary":!0,href:t,rel:"nofollow sponsored noopener noreferrer",className:"mt-6 inline-flex items-center gap-2 bg-secondary px-5 py-3 font-sans text-xs font-semibold uppercase tracking-[0.16em] text-primary",children:["Continue to retailer ",w.jsx(ka,{className:"h-4 w-4"})]}),n&&n!=="#"&&w.jsx("a",{"data-shopmy-fallback":!0,href:n,rel:"nofollow sponsored noopener noreferrer",className:"sr-only",children:"ShopMy fallback handoff"})]}):w.jsx("p",{className:"mt-4 font-sans text-sm leading-6 text-primary-foreground/70",children:"This outbound route is missing a valid secure retailer URL."})]})]})}const EP="/downloads/scoutlo-chromium-mv3-0.1.10.zip";function PP({page:t,slug:n}){return t?w.jsxs("div",{className:"pb-10",children:[w.jsx(xd,{title:t.title,description:t.description,canonical:`/${n}`}),w.jsx("section",{className:"editorial-shell py-10 md:py-14",children:w.jsxs("div",{className:"border-y-2 border-primary py-6",children:[w.jsx("p",{className:"mb-4 font-mono text-[10px] uppercase tracking-[0.22em] text-accent md:tracking-[0.28em]",children:t.kicker}),w.jsx("h1",{className:"max-w-4xl font-serif text-5xl font-semibold leading-[0.9] tracking-[-0.045em] text-foreground md:text-7xl",children:t.title}),w.jsx("p",{className:"mt-5 max-w-2xl font-sans text-base leading-7 text-muted-foreground md:text-lg",children:t.description})]})}),w.jsxs("section",{className:"editorial-shell grid gap-8 pb-12",children:[n==="chrome"&&w.jsxs("div",{className:"grid gap-4 border border-primary bg-card p-5 md:grid-cols-[1fr_auto] md:items-center md:p-6",children:[w.jsx("p",{className:"font-sans text-sm leading-7 text-muted-foreground md:text-base",children:"Desktop extension. Phone web checker. Same decision."}),w.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[w.jsx(Nt,{to:"/",className:"inline-flex items-center justify-center bg-primary px-5 py-3 font-sans text-xs font-semibold uppercase tracking-[0.16em] text-primary-foreground transition-colors hover:bg-accent",children:"Use web checker"}),w.jsx("a",{href:EP,download:!0,className:"hidden items-center justify-center border border-primary/20 px-5 py-3 font-sans text-xs font-semibold uppercase tracking-[0.16em] text-primary transition-colors hover:border-accent hover:text-accent md:inline-flex",children:"Download desktop extension"})]})]}),w.jsx("div",{className:"grid border-y border-primary/18 md:grid-cols-2",children:t.sections.map(i=>w.jsxs("article",{className:"border-primary/18 py-6 md:border-r md:px-6 even:md:border-r-0",children:[w.jsx("h2",{className:"font-serif text-3xl font-semibold leading-none tracking-[-0.03em] text-foreground",children:i.heading}),w.jsx("p",{className:"mt-4 font-sans text-sm leading-7 text-muted-foreground md:text-base",children:i.body})]},i.heading))})]})]}):null}const LP={contact:{title:"Contact",kicker:"Tips, corrections, press",description:"Send reader tips, corrections, sample sale leads, and general notes.",sections:[{heading:"Email",body:"Email [email protected] with SCOUTLO in the subject line."},{heading:"Corrections",body:"Prices, availability, and sale terms move quickly. If something has changed, send the item, retailer, and current detail so we can update the recommendation."}]},chrome:{title:"Use SCOUTLO",kicker:"Extension on desktop. Web check on phone.",description:"One product link. One buy, wait, or skip read.",sections:[{heading:"Desktop",body:"Use the desktop extension in Chrome, Edge, or Firefox. Open it on a product page, or paste the exact link."},{heading:"Phone",body:"Use the web checker on phone. Mobile Chrome can add extensions to desktop Chrome, but it does not run SCOUTLO inside phone Chrome."},{heading:"iPhone",body:"Use the web checker for now. A Safari extension can run on iPhone and iPad after the App Store release is ready."},{heading:"Android",body:"Use the web checker for now. Android extension support depends on browser store review and device compatibility."},{heading:"The read",body:"Buy means the price has edge. Wait means good item, early price. Skip means the case is weak."},{heading:"Why it is free",body:"Some links use ShopMy or another affiliate path. SCOUTLO may earn a commission at no extra cost to you."},{heading:"Permissions",body:"SCOUTLO is click-to-check. It reads the active tab after you open the extension or paste a link."}]},"affiliate-disclosure":{title:"Affiliate Disclosure",kicker:"How links work",description:"SCOUTLO is free to use and may earn commission from qualifying purchases.",sections:[{heading:"Commission links",body:"SCOUTLO uses affiliate links in results, edits, alternatives, and outbound shopping recommendations. Some links may earn us a commission at no cost to you."},{heading:"Editorial standard",body:"Affiliate commission does not guarantee a recommendation. The edit is built around timing, price, availability, and whether the item deserves the click."},{heading:"How tracking works",body:"We use ShopMy to track qualifying purchases made through our links. When you click a product link and buy, SCOUTLO may earn a commission â at no additional cost to you."}]},privacy:{title:"Privacy",kicker:"Privacy, plainly",description:"SCOUTLO uses shopping signals to make the read sharper. It does not sell personal user data.",sections:[{heading:"The promise",body:"SCOUTLO helps you decide whether to buy, wait, or skip. Product links, saved items, watch targets, verdicts, and affiliate clicks can make the edit sharper over time."},{heading:"What SCOUTLO may collect",body:"Depending on the feature, SCOUTLO may process product URLs, product details, prices you enter, buy/wait/skip outcomes, saved-list and alert targets, your email if you provide it, and basic app events such as a verdict shown or a link clicked."},{heading:"Preference signals",body:"If you keep saving certain categories, comparing certain brands, or skipping weak markdowns, SCOUTLO can learn that taste and show a cleaner edit. That is shopping personalization, not resale of individual browsing histories."},{heading:"Affiliate links and cookies",body:"SCOUTLO uses affiliate links, including ShopMy-powered links and retailer or brand affiliate routes, so the product can stay free. When you click one of those shopping links, ShopMy, retailers, brands, or affiliate networks may use cookies or similar technologies to track that click, attribute a purchase, and pay SCOUTLO a commission at no additional cost to you."},{heading:"No sale of personal data",body:"SCOUTLO does not sell personal user data. Any future brand, retailer, or trend reporting should use aggregated, anonymized editorial insights such as category demand, markdown confidence, and price sensitivity, never a named person's private SCOUTLO List."},{heading:"Third-party services",body:"The site may use services such as ShopMy, Supabase, Vercel, Resend, Cloudinary, and hosting or infrastru
125cture providers to operate the experience. Retailer sites have their own privacy policies once you leave SCOUTLO."},{heading:"Your controls",body:"You can clear local browser storage and cookies in your browser settings. You can leave alert email fields blank to keep a save local-only, unsubscribe from alert emails where available, or email us to ask about deletion of information tied to an email address you supplied."},{heading:"Contact",body:"For privacy questions, email [email protected] with SCOUTLO Privacy in the subject line."}]},cookies:{title:"Cookie Settings",kicker:"Preference signals and attribution",description:"How local storage, cookies, affiliate attribution, and preference signals work.",sections:[{heading:"Essential storage",body:"SCOUTLO may use local browser storage so saved items, watch choices, and lightweight app state can stay on your device."},{heading:"Preference signals",body:"SCOUTLO may use product checks, saved items, skipped verdicts, alert targets, and clicked recommendations to understand what you seem to prefer, so future edits can lean toward your brands, categories, price bands, and markdown standards."},{heading:"ShopMy affiliate attribution",body:"Many product, retailer, and better-price links on SCOUTLO are affiliate links. The site includes the ShopMy auto-link script and may also route generated shopping links through ShopMy or another affiliate path where appropriate. After you click an affiliate link, ShopMy, retailers, brands, or affiliate networks may use cookies or similar technologies to recognize that click, attribute a later purchase, and pay SCOUTLO a commission at no additional cost to you."},{heading:"Analytics and product improvement",body:"SCOUTLO may log limited product events, such as a verdict shown or a link clicked, to improve recommendations, debug the product, and understand aggregate shopping demand. The intended use is a better edit and better timing calls, not selling personal user data."},{heading:"Your controls",body:"You can clear or block cookies in your browser settings. Blocking third-party cookies may affect retailer checkout, affiliate-link attribution, commission tracking, or saved shopping sessions on retailer sites. Clearing local storage may remove locally saved SCOUTLO List items."},{heading:"Future preference center",body:"If SCOUTLO adds broader analytics, accounts, email automation, or a deeper extension layer, this page should become a fuller preference center with opt-in controls where required."}]}},NP=["chrome","contact","affiliate-disclosure","privacy","cookies"],AP=["/archive","/alerts","/trend-reports","/about","/partnerships"];function DP(){const n=iy().pathname.replace(/\/+$/,"")||"/";if(n==="/"||n==="/check")return w.jsx(kP,{});if(n==="/out")return w.jsx(TP,{});if(AP.includes(n))return w.jsx(qb,{to:"/",replace:!0});const i=NP.find(s=>n===`/${s}`);return i?w.jsx(PP,{page:LP[i],slug:i}):w.jsx(Kb,{})}const RP=()=>w.jsx(Xb,{children:w.jsx(DP,{})});function MP(){return w.jsxs($b,{client:Jb,children:[w.jsx(Wb,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:w.jsx(RP,{})}),w.jsx(fb,{})]})}Xw.createRoot(document.getElementById("root")).render(w.jsx(MP,{}));
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.