vendor: 25,736 bytes, lines 1-9
1function Dj(e,s){for(var n=0;n<s.length;n++){const o=s[n];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in e)){const u=Object.getOwnPropertyDescriptor(o,l);u&&Object.defineProperty(e,l,u.get?u:{enumerable:!0,get:()=>o[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(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"&&o(d)}).observe(document,{childList:!0,subtree:!0});function n(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 o(l){if(l.ep)return;l.ep=!0;const u=n(l);fetch(l.href,u)}})();function Mv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Th={exports:{}},hr={};/** 2 * @license React 3 * react-jsx-runtime.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and 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 tb;function _j(){if(tb)return hr;tb=1;var e=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function n(o,l,u){var d=null;if(u!==void 0&&(d=""+u),l.key!==void 0&&(d=""+l.key),"key"in l){u={};for(var f in l)f!=="key"&&(u[f]=l[f])}else u=l;return l=u.ref,{$$typeof:e,type:o,key:d,ref:l!==void 0?l:null,props:u}}return hr.Fragment=s,hr.jsx=n,hr.jsxs=n,hr}var sb;function Lj(){return sb||(sb=1,Th.exports=_j()),Th.exports}var r=Lj(),Jn=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},zj=class extends Jn{#t;#e;#s;constructor(){super(),this.#s=e=>{if(typeof window<"u"&&window.addEventListener){const s=()=>e();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#s=e,this.#e?.(),this.#e=e(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(s=>{s(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},rp=new zj,Fj={setTimeout:(e,s)=>setTimeout(e,s),clearTimeout:e=>clearTimeout(e),setInterval:(e,s)=>setInterval(e,s),clearInterval:e=>clearInterval(e)},Hj=class{#t=Fj;#e=!1;setTimeoutProvider(e){this.#t=e}setTimeout(e,s){return this.#t.setTimeout(e,s)}clearTimeout(e){this.#t.clearTimeout(e)}setInterval(e,s){return this.#t.setInterval(e,s)}clearInterval(e){this.#t.clearInterval(e)}},Qn=new Hj;function Uj(e){setTimeout(e,0)}var Gj=typeof window>"u"||"Deno"in globalThis;function At(){}function Ij(e,s){return typeof e=="function"?e(s):e}function df(e){return typeof e=="number"&&e>=0&&e!==1/0}function Pv(e,s){return Math.max(e+(s||0)-Date.now(),0)}function on(e,s){return typeof e=="function"?e(s):e}function vs(e,s){return typeof e=="function"?e(s):e}function ab(e,s){const{type:n="all",exact:o,fetchStatus:l,predicate:u,queryKey:d,stale:f}=e;if(d){if(o){if(s.queryHash!==lp(d,s.options))return!1}else if(!Ar(s.queryKey,d))return!1}if(n!=="all"){const p=s.isActive();if(n==="active"&&!p||n==="inactive"&&p)return!1}return!(typeof f=="boolean"&&s.isStale()!==f||l&&l!==s.state.fetchStatus||u&&!u(s))}function nb(e,s){const{exact:n,status:o,predicate:l,mutationKey:u}=e;if(u){if(!s.options.mutationKey)return!1;if(n){if(rn(s.options.mutationKey)!==rn(u))return!1}else if(!Ar(s.options.mutationKey,u))return!1}return!(o&&s.state.status!==o||l&&!l(s))}function lp(e,s){return(s?.queryKeyHashFn||rn)(e)}function rn(e){return JSON.stringify(e,(s,n)=>hf(n)?Object.keys(n).sort().reduce((o,l)=>(o[l]=n[l],o),{}):n)}function Ar(e,s){return e===s?!0:typeof e!=typeof s?!1:e&&s&&typeof e=="object"&&typeof s=="object"?Object.keys(s).every(n=>Ar(e[n],s[n])):!1}var Vj=Object.prototype.hasOwnProperty;function cp(e,s,n=0){if(e===s)return e;if(n>500)return s;const o=ib(e)&&ib(s);if(!o&&!(hf(e)&&hf(s)))return s;const u=(o?e:Object.keys(e)).length,d=o?s:Object.keys(s),f=d.length,p=o?new Array(f):{};let g=0;for(let x=0;x<f;x++){const y=o?x:d[x],v=e[y],k=s[y];if(v===k){p[y]=v,(o?x<u:Vj.call(e,y))&&g++;continue}if(v===null||k===null||typeof v!="object"||typeof k!="object"){p[y]=k;continue}const j=cp(v,k,n+1);p[y]=j,j===v&&g++}return u===f&&g===u?e:p}function Rr(e,s){if(!s||Object.keys(e).length!==Object.keys(s).length)return!1;for(const n in e)if(e[n]!==s[n])return!1;return!0}function ib(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function hf(e){if(!ob(e))return!1;const s=e.constructor;if(s===void 0)return!0;const n=s.prototype;return!(!ob(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function ob(e){return Object.prototype.toString.call(e)==="[object Object]"}function qj(e){return new Promise(s=>{Qn.setTimeout(s,e)})}function ff(e,s,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,s):n.structuralSharing!==!1?cp(e,s):s}function Qj(e,s,n=0){const o=[...e,s];return n&&o.length>n?o.slice(1):o}function Yj(e,s,n=0){const o=[s,...e];return n&&o.length>n?o.slice(0,-1):o}var os=Symbol();function Bv(e,s){return!e.queryFn&&s?.initialPromise?()=>s.initialPromise:!e.queryFn||e.queryFn===os?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function up(e,s){return typeof e=="function"?e(...s):!!e}function $j(e,s,n){let o=!1,l;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(l??=s(),o||(o=!0,l.aborted?n():l.addEventListener("abort",n,{once:!0})),l)}),e}var Or=(()=>{let e=()=>Gj;return{isServer(){return e()},setIsServer(s){e=s}}})();function pf(){let e,s;const n=new Promise((l,u)=>{e=l,s=u});n.status="pending",n.catch(()=>{});function o(l){Object.assign(n,l),delete n.resolve,delete n.reject}return n.resolve=l=>{o({status:"fulfilled",value:l}),e(l)},n.reject=l=>{o({status:"rejected",reason:l}),s(l)},n}var Kj=Uj;function Xj(){let e=[],s=0,n=f=>{f()},o=f=>{f()},l=Kj;const u=f=>{s?e.push(f):l(()=>{n(f)})},d=()=>{const f=e;e=[],f.length&&l(()=>{o(()=>{f.forEach(p=>{n(p)})})})};return{batch:f=>{let p;s++;try{p=f()}finally{s--,s||d()}return p},batchCalls:f=>(...p)=>{u(()=>{f(...p)})},schedule:u,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{o=f},setScheduler:f=>{l=f}}}var Je=Xj(),Wj=class extends Jn{#t=!0;#e;#s;constructor(){super(),this.#s=e=>{if(typeof window<"u"&&window.addEventListener){const s=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#s=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#t}},Dc=new Wj;function Zj(e){return Math.min(1e3*2**e,3e4)}function Dv(e){return(e??"online")==="online"?Dc.isOnline():!0}var mf=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function _v(e){let s=!1,n=0,o;const l=pf(),u=()=>l.status!=="pending",d=E=>{if(!u()){const N=new mf(E);v(N),e.onCancel?.(N)}},f=()=>{s=!0},p=()=>{s=!1},g=()=>rp.isFocused()&&(e.networkMode==="always"||Dc.isOnline())&&e.canRun(),x=()=>Dv(e.networkMode)&&e.canRun(),y=E=>{u()||(o?.(),l.resolve(E))},v=E=>{u()||(o?.(),l.reject(E))},k=()=>new Promise(E=>{o=N=>{(u()||g())&&E(N)},e.onPause?.()}).then(()=>{o=void 0,u()||e.onContinue?.()}),j=()=>{if(u())return;let E;const N=n===0?e.initialPromise:void 0;try{E=N??e.fn()}catch(O){E=Promise.reject(O)}Promise.resolve(E).then(y).catch(O=>{if(u())return;const R=e.retry??(Or.isServer()?0:3),_=e.retryDelay??Zj,Q=typeof _=="function"?_(n,O):_,F=R===!0||typeof R=="number"&&n<R||typeof R=="function"&&R(n,O);if(s||!F){v(O);return}n++,e.onFail?.(n,O),qj(Q).then(()=>g()?void 0:k()).then(()=>{s?v(O):j()})})};return{promise:l,status:()=>l.status,cancel:d,continue:()=>(o?.(),l),cancelRetry:f,continueRetry:p,canStart:x,start:()=>(x()?j():k().then(j),l)}}var Lv=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),df(this.gcTime)&&(this.#t=Qn.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Or.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(Qn.clearTimeout(this.#t),this.#t=void 0)}},Jj=class extends Lv{#t;#e;#s;#n;#a;#i;#o;constructor(e){super(),this.#o=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#n=e.client,this.#s=this.#n.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=lb(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#a?.promise}setOptions(e){if(this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=lb(this.options);s.data!==void 0&&(this.setState(rb(s.data,s.dataUpdatedAt)),this.#t=s)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#s.remove(this)}setData(e,s){const n=ff(this.state.data,e,this.options);return this.#l({data:n,type:"success",dataUpdatedAt:s?.updatedAt,manual:s?.manual}),n}setState(e,s){this.#l({type:"setState",state:e,setStateOptions:s})}cancel(e){const s=this.#a?.promise;return this.#a?.cancel(e),s?s.then(At).catch(At):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>vs(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===os||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>on(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!Pv(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(s=>s.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#a?.continue()}onOnline(){this.observers.find(s=>s.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#a?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(s=>s!==e),this.observers.length||(this.#a&&(this.#o||this.#r()?this.#a.cancel({revert:!0}):this.#a.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#r(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#l({type:"invalidate"})}async fetch(e,s){if(this.state.fetchStatus!=="idle"&&this.#a?.status()!=="rejected"){if(this.state.data!==void 0&&s?.cancelRefetch)this.cancel({silent:!0});else if(this.#a)return this.#a.continueRetry(),this.#a.promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const n=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#o=!0,n.signal)})},l=()=>{const f=Bv(this.options,s),g=(()=>{const x={client:this.#n,queryKey:this.queryKey,meta:this.meta};return o(x),x})();return this.#o=!1,this.options.persister?this.options.persister(f,g,this):f(g)},d=(()=>{const f={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:this.#n,state:this.state,fetchFn:l};return o(f),f})();this.options.behavior?.onFetch(d,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==d.fetchOptions?.meta)&&this.#l({type:"fetch",meta:d.fetchOptions?.meta}),this.#a=_v({initialPromise:s?.initialPromise,fn:d.fetchFn,onCancel:f=>{f instanceof mf&&f.revert&&this.setState({...this.#e,fetchStatus:"idle"}),n.abort()},onFail:(f,p)=>{this.#l({type:"failed",failureCount:f,error:p})},onPause:()=>{this.#l({type:"pause"})},onContinue:()=>{this.#l({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode,canRun:()=>!0});try{const f=await this.#a.start();if(f===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(f),this.#s.config.onSuccess?.(f,this),this.#s.config.onSettled?.(f,this.state.error,this),f}catch(f){if(f instanceof mf){if(f.silent)return this.#a.promise;if(f.revert){if(this.state.data===void 0)throw f;return this.state.data}}throw this.#l({type:"error",error:f}),this.#s.config.onError?.(f,this),this.#s.config.onSettled?.(this.state.data,f,this),f}finally{this.scheduleGc()}}#l(e){const s=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...zv(n.data,this.options),fetchMeta:e.meta??null};case"success":const o={...n,...rb(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=e.manual?o:void 0,o;case"error":const l=e.error;return{...n,error:l,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:l,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=s(this.state),Je.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#s.notify({query:this,type:"updated",action:e})})}};function zv(e,s){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Dv(s.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function rb(e,s){return{data:e,dataUpdatedAt:s??Date.now(),error:null,isInvalidated:!1,status:"success"}}function lb(e){const s=typeof e.initialData=="function"?e.initialData():e.initialData,n=s!==void 0,o=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:s,dataUpdateCount:0,dataUpdatedAt:n?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Vr=class extends Jn{constructor(e,s){super(),this.options=s,this.#t=e,this.#r=null,this.#o=pf(),this.bindMethods(),this.setOptions(s)}#t;#e=void 0;#s=void 0;#n=void 0;#a;#i;#o;#r;#l;#h;#f;#u;#d;#c;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),cb(this.#e,this.options)?this.#m():this.updateResult(),this.#b())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return gf(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return gf(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#v(),this.#w(),this.#e.removeObserver(this)}setOptions(e){const s=this.options,n=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof vs(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#S(),this.#e.setOptions(this.options),s._defaulted&&!Rr(this.options,s)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const o=this.hasListeners();o&&ub(this.#e,n,this.options,s)&&this.#m(),this.updateResult(),o&&(this.#e!==n||vs(this.options.enabled,this.#e)!==vs(s.enabled,this.#e)||on(this.options.staleTime,this.#e)!==on(s.staleTime,this.#e))&&this.#g();const l=this.#x();o&&(this.#e!==n||vs(this.options.enabled,this.#e)!==vs(s.enabled,this.#e)||l!==this.#c)&&this.#y(l)}getOptimisticResult(e){const s=this.#t.getQueryCache().build(this.#t,e),n=this.createResult(s,e);return t6(this,n)&&(this.#n=n,this.#i=this.options,this.#a=this.#e.state),n}getCurrentResult(){return this.#n}trackResult(e,s){return new Proxy(e,{get:(n,o)=>(this.trackProp(o),s?.(o),o==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#o.status==="pending"&&this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,o))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const s=this.#t.defaultQueryOptions(e),n=this.#t.getQueryCache().build(this.#t,s);return n.fetch().then(()=>this.createResult(n,s))}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#m(e){this.#S();let s=this.#e.fetch(this.options,e);return e?.throwOnError||(s=s.catch(At)),s}#g(){this.#v();const e=on(this.options.staleTime,this.#e);if(Or.isServer()||this.#n.isStale||!df(e))return;const n=Pv(this.#n.dataUpdatedAt,e)+1;this.#u=Qn.setTimeout(()=>{this.#n.isStale||this.updateResult()},n)}#x(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#y(e){this.#w(),this.#c=e,!(Or.isServer()||vs(this.options.enabled,this.#e)===!1||!df(this.#c)||this.#c===0)&&(this.#d=Qn.setInterval(()=>{(this.options.refetchIntervalInBackground||rp.isFocused())&&this.#m()},this.#c))}#b(){this.#g(),this.#y(this.#x())}#v(){this.#u!==void 0&&(Qn.clearTimeout(this.#u),this.#u=void 0)}#w(){this.#d!==void 0&&(Qn.clearInterval(this.#d),this.#d=void 0)}createResult(e,s){const n=this.#e,o=this.options,l=this.#n,u=this.#a,d=this.#i,p=e!==n?e.state:this.#s,{state:g}=e;let x={...g},y=!1,v;if(s._optimisticResults){const D=this.hasListeners(),Z=!D&&cb(e,s),K=D&&ub(e,n,s,o);(Z||K)&&(x={...x,...zv(g.data,e.options)}),s._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:k,errorUpdatedAt:j,status:E}=x;v=x.data;let N=!1;if(s.placeholderData!==void 0&&v===void 0&&E==="pending"){let D;l?.isPlaceholderData&&s.placeholderData===d?.placeholderData?(D=l.data,N=!0):D=typeof s.placeholderData=="function"?s.placeholderData(this.#f?.state.data,this.#f):s.placeholderData,D!==void 0&&(E="success",v=ff(l?.data,D,s),y=!0)}if(s.select&&v!==void 0&&!N)if(l&&v===u?.data&&s.select===this.#l)v=this.#h;else try{this.#l=s.select,v=s.select(v),v=ff(l?.data,v,s),this.#h=v,this.#r=null}catch(D){this.#r=D}this.#r&&(k=this.#r,v=this.#h,j=Date.now(),E="error");const O=x.fetchStatus==="fetching",R=E==="pending",_=E==="error",Q=R&&O,F=v!==void 0,C={status:E,fetchStatus:x.fetchStatus,isPending:R,isSuccess:E==="success",isError:_,isInitialLoading:Q,isLoading:Q,data:v,dataUpdatedAt:x.dataUpdatedAt,error:k,errorUpdatedAt:j,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:x.dataUpdateCount>p.dataUpdateCount||x.errorUpdateCount>p.errorUpdateCount,isFetching:O,isRefetching:O&&!R,isLoadingError:_&&!F,isPaused:x.fetchStatus==="paused",isPlaceholderData:y,isRefetchError:_&&F,isStale:dp(e,s),refetch:this.refetch,promise:this.#o,isEnabled:vs(s.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const D=C.data!==void 0,Z=C.status==="error"&&!D,K=ie=>{Z?ie.reject(C.error):D&&ie.resolve(C.data)},ae=()=>{const ie=this.#o=C.promise=pf();K(ie)},se=this.#o;switch(se.status){case"pending":e.queryHash===n.queryHash&&K(se);break;case"fulfilled":(Z||C.data!==se.value)&&ae();break;case"rejected":(!Z||C.error!==se.reason)&&ae();break}}return C}updateResult(){const e=this.#n,s=this.createResult(this.#e,this.options);if(this.#a=this.#e.state,this.#i=this.options,this.#a.data!==void 0&&(this.#f=this.#e),Rr(s,e))return;this.#n=s;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,l=typeof o=="function"?o():o;if(l==="all"||!l&&!this.#p.size)return!0;const u=new Set(l??this.#p);return this.options.throwOnError&&u.add("error"),Object.keys(this.#n).some(d=>{const f=d;return this.#n[f]!==e[f]&&u.has(f)})};this.#k({listeners:n()})}#S(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const s=this.#e;this.#e=e,this.#s=e.state,this.hasListeners()&&(s?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#b()}#k(e){Je.batch(()=>{e.listeners&&this.listeners.forEach(s=>{s(this.#n)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function e6(e,s){return vs(s.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&s.retryOnMount===!1)}function cb(e,s){return e6(e,s)||e.state.data!==void 0&&gf(e,s,s.refetchOnMount)}function gf(e,s,n){if(vs(s.enabled,e)!==!1&&on(s.staleTime,e)!=="static"){const o=typeof n=="function"?n(e):n;return o==="always"||o!==!1&&dp(e,s)}return!1}function ub(e,s,n,o){return(e!==s||vs(o.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&dp(e,n)}function dp(e,s){return vs(s.enabled,e)!==!1&&e.isStaleByTime(on(s.staleTime,e))}function t6(e,s){return!Rr(e.getCurrentResult(),s)}function _c(e){return{onFetch:(s,n)=>{const o=s.options,l=s.fetchOptions?.meta?.fetchMore?.direction,u=s.state.data?.pages||[],d=s.state.data?.pageParams||[];let f={pages:[],pageParams:[]},p=0;const g=async()=>{let x=!1;const y=j=>{$j(j,()=>s.signal,()=>x=!0)},v=Bv(s.options,s.fetchOptions),k=async(j,E,N)=>{if(x)return Promise.reject();if(E==null&&j.pages.length)return Promise.resolve(j);const R=(()=>{const U={client:s.client,queryKey:s.queryKey,pageParam:E,direction:N?"backward":"forward",meta:s.options.meta};return y(U),U})(),_=await v(R),{maxPages:Q}=s.options,F=N?Yj:Qj;return{pages:F(j.pages,_,Q),pageParams:F(j.pageParams,E,Q)}};if(l&&u.length){const j=l==="backward",E=j?Fv:xf,N={pages:u,pageParams:d},O=E(o,N);f=await k(N,O,j)}else{const j=e??u.length;do{const E=p===0?d[0]??o.initialPageParam:xf(o,f);if(p>0&&E==null)break;f=await k(f,E),p++}while(p<j)}return f};s.options.persister?s.fetchFn=()=>s.options.persister?.(g,{client:s.client,queryKey:s.queryKey,meta:s.options.meta,signal:s.signal},n):s.fetchFn=g}}}function xf(e,{pages:s,pageParams:n}){const o=s.length-1;return s.length>0?e.getNextPageParam(s[o],s,n[o],n):void 0}function Fv(e,{pages:s,pageParams:n}){return s.length>0?e.getPreviousPageParam?.(s[0],s,n[0],n):void 0}function s6(e,s){return s?xf(e,s)!=null:!1}function a6(e,s){return!s||!e.getPreviousPageParam?!1:Fv(e,s)!=null}var Hv=class extends Vr{constructor(e,s){super(e,s)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:_c()})}getOptimisticResult(e){return e.behavior=_c(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,s){const{state:n}=e,o=super.createResult(e,s),{isFetching:l,isRefetching:u,isError:d,isRefetchError:f}=o,p=n.fetchMeta?.fetchMore?.direction,g=d&&p==="forward",x=l&&p==="forward",y=d&&p==="backward",v=l&&p==="backward";return{...o,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:s6(s,n.data),hasPreviousPage:a6(s,n.data),isFetchNextPageError:g,isFetchingNextPage:x,isFetchPreviousPageError:y,isFetchingPreviousPage:v,isRefetchError:f&&!g&&!y,isRefetching:u&&!x&&!v}}},n6=class extends Lv{#t;#e;#s;#n;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#s=e.mutationCache,this.#e=[],this.state=e.state||Uv(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(s=>s!==e),this.scheduleGc(),this.#s.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#s.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(e){const s=()=>{this.#a({type:"continue"})},n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#n=_v({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(u,d)=>{this.#a({type:"failed",failureCount:u,error:d})},onPause:()=>{this.#a({type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>
9this.#s.canRun(this)});const o=this.state.status==="pending",l=!this.#n.canStart();try{if(o)s();else{this.#a({type:"pending",variables:e,isPaused:l}),this.#s.config.onMutate&&await this.#s.config.onMutate(e,this,n);const d=await this.options.onMutate?.(e,n);d!==this.state.context&&this.#a({type:"pending",context:d,variables:e,isPaused:l})}const u=await this.#n.start();return await this.#s.config.onSuccess?.(u,e,this.state.context,this,n),await this.options.onSuccess?.(u,e,this.state.context,n),await this.#s.config.onSettled?.(u,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(u,null,e,this.state.context,n),this.#a({type:"success",data:u}),u}catch(u){try{await this.#s.config.onError?.(u,e,this.state.context,this,n)}catch(d){Promise.reject(d)}try{await this.options.onError?.(u,e,this.state.context,n)}catch(d){Promise.reject(d)}try{await this.#s.config.onSettled?.(void 0,u,this.state.variables,this.state.context,this,n)}catch(d){Promise.reject(d)}try{await this.options.onSettled?.(void 0,u,e,this.state.context,n)}catch(d){Promise.reject(d)}throw this.#a({type:"error",error:u}),u}finally{this.#s.runNext(this)}}#a(e){const s=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=s(this.state),Je.batch(()=>{this.#e.forEach(n=>{n.onMutationUpdate(e)}),this.#s.notify({mutation:this,type:"updated",action:e})})}};function Uv(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var i6=class extends Jn{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#s=0}#t;#e;#s;build(e,s,n){const o=new n6({client:e,mutationCache:this,mutationId:++this.#s,options:e.defaultMutationOptions(s),state:n});return this.add(o),o}add(e){this.#t.add(e);const s=pc(e);if(typeof s=="string"){const n=this.#e.get(s);n?n.push(e):this.#e.set(s,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const s=pc(e);if(typeof s=="string"){const n=this.#e.get(s);if(n)if(n.length>1){const o=n.indexOf(e);o!==-1&&n.splice(o,1)}else n[0]===e&&this.#e.delete(s)}}this.notify({type:"removed",mutation:e})}canRun(e){const s=pc(e);if(typeof s=="string"){const o=this.#e.get(s)?.find(l=>l.state.status==="pending");return!o||o===e}else return!0}runNext(e){const s=pc(e);return typeof s=="string"?this.#e.get(s)?.find(o=>o!==e&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Je.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const s={exact:!0,...e};return this.getAll().find(n=>nb(s,n))}findAll(e={}){return this.getAll().filter(s=>nb(e,s))}notify(e){Je.batch(()=>{this.listeners.forEach(s=>{s(e)})})}resumePausedMutations(){const e=this.getAll().filter(s=>s.state.isPaused);return Je.batch(()=>Promise.all(e.map(s=>s.continue().catch(At))))}};function pc(e){return e.options.scope?.id}var o6=class extends Jn{#t;#e=void 0;#s;#n;constructor(s,n){super(),this.#t=s,this.setOptions(n),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(s){const n=this.options;this.options=this.#t.defaultMutationOptions(s),Rr(this.options,n)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),n?.mutationKey&&this.options.mutationKey&&rn(n.mutationKey)!==rn(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(s){this.#a(),this.#i(s)}getCurrentResult(){return this.#e}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#a(),this.#i()}mutate(s,n){return this.#n=n,this.#s?.removeObserver(this),this.#s=this.#t.getMutationCache().build(this.#t,this.options),this.#s.addObserver(this),this.#s.execute(s)}#a(){const s=this.#s?.state??Uv();this.#e={...s,isPending:s.status==="pending",isSuccess:s.status==="success",isError:s.status==="error",isIdle:s.status==="idle",mutate:this.mutate,reset:this.reset}}#i(s){Je.batch(()=>
9{if(this.#n&&this.hasListeners()){const n=this.#e.variables,o=this.#e.context,l={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(s?.type==="success"){try{this.#n.onSuccess?.(s.data,n,o,l)}catch(u){Promise.reject(u)}try{this.#n.onSettled?.(s.data,null,n,o,l)}catch(u){Promise.reject(u)}}else if(s?.type==="error"){try{this.#n.onError?.(s.error,n,o,l)}catch(u){Promise.reject(u)}try{this.#n.onSettled?.(void 0,s.error,n,o,l)}catch(u){Promise.reject(u)}}}this.listeners.forEach(n=>{n(this.#e)})})}};function db(e,s){const n=new Set(s);return e.filter(o=>!n.has(o))}function r6(e,s,n){const o=e.slice(0);return o[s]=n,o}var l6=class extends Jn{#t;#e;#s;#n;#a;#i;#o;#r;#l;#h=[];constructor(e,s,n){super(),this.#t=e,this.#n=n,this.#s=[],this.#a=[],this.#e=[],this.setQueries(s)}onSubscribe(){this.listeners.size===1&&this.#a.forEach(e=>{e.subscribe(s=>{this.#c(e,s)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#a.forEach(e=>{e.destroy()})}setQueries(e,s){this.#s=e,this.#n=s,Je.batch(()=>{const n=this.#a,o=this.#d(this.#s);o.forEach(x=>x.observer.setOptions(x.defaultedQueryOptions));const l=o.map(x=>x.observer),u=l.map(x=>x.getCurrentResult()),d=n.length!==l.length,f=l.some((x,y)=>x!==n[y]),p=d||f,g=p?!0:u.some((x,y)=>{const v=this.#e[y];return!v||!Rr(x,v)});!p&&!g||(p&&(this.#h=o,this.#a=l),this.#e=u,this.hasListeners()&&(p&&(db(n,l).forEach(x=>{x.destroy()}),db(l,n).forEach(x=>{x.subscribe(y=>{this.#c(x,y)})})),this.#p()))})}getCurrentResult(){return this.#e}getQueries(){return this.#a.map(e=>e.getCurrentQuery())}getObservers(){return this.#a}getOptimisticResult(e,s){const n=this.#d(e),o=n.map(u=>u.observer.getOptimisticResult(u.defaultedQueryOptions)),l=n.map(u=>u.defaultedQueryOptions.queryHash);return[o,u=>this.#u(u??o,s,l),()=>this.#f(o,n)]}#f(e,s){return s.map((n,o)=>{const l=e[o];return n.defaultedQueryOptions.notifyOnChangeProps?l:n.observer.trackResult(l,u=>{s.forEach(d=>{d.observer.trackProp(u)})})})}#u(e,s,n){if(s){const o=this.#l,l=n!==void 0&&o!==void 0&&(o.length!==n.length||n.some((u,d)=>u!==o[d]));return(!this.#i||this.#e!==this.#r||l||s!==this.#o)&&(this.#o=s,this.#r=this.#e,n!==void 0&&(this.#l=n),this.#i=cp(this.#i,s(e))),this.#i}return e}#d(e){const s=new Map;this.#a.forEach(o=>{const l=o.options.queryHash;if(!l)return;const u=s.get(l);u?u.push(o):s.set(l,[o])});const n=[];return e.forEach(o=>{const l=this.#t.defaultQueryOptions(o),d=s.get(l.queryHash)?.shift()??new Vr(this.#t,l);n.push({defaultedQueryOptions:l,observer:d})}),n}#c(e,s){const n=this.#a.indexOf(e);n!==-1&&(this.#e=r6(this.#e,n,s),this.#p())}#p(){if(this.hasListeners()){const e=this.#i,s=this.#f(this.#e,this.#h),n=this.#u(s,this.#n?.combine);e!==n&&Je.batch(()=>{this.listeners.forEach(o=>{o(this.#e)})})}}},c6=class extends Jn{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,s,n){const o=s.queryKey,l=s.queryHash??lp(o,s);let u=this.get(l);return u||(u=new Jj({client:e,queryKey:o,queryHash:l,options:e.defaultQueryOptions(s),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(u)),u}add(e){this.#t.has(e.queryHash)||(this.#t.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const s=this.#t.get(e.queryHash);s&&(e.destroy(),s===e&&this.#t.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Je.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const s={exact:!0,...e};return this.getAll().find(n=>ab(s,n))}findAll(e={}){const s=this.getAll();return Object.keys(e).length>0?s.filter(n=>ab(e,n)):s}notify(e){Je.batch(()=>{this.listeners.forEach(s=>{s(e)})})}onFocus(){Je.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Je.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},u6=class{#t;#e;#s;#n;#a;#i;#o;#r;constructor(e={}){this.#t=e.queryCache||new c6,this.#e=e.mutationCache||new i6,this.#s=e.defaultOptions||{},this.#n=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#o=rp.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#r=Dc.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#o?.(),this.#o=void 0,this.#r?.(),this.#r=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const s=this.defaultQueryOptions({queryKey:e});return this.#t.get(s.queryHash)?.state.data}ensureQueryData(e){const s=this.defaultQueryOptions(e),n=this.#t.build(this,s),o=n.state.data;return o===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(on(s.staleTime,n))&&this.prefetchQuery(s),Promise.resolve(o))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:s,state:n})=>{const o=n.data;return[s,o]})}setQueryData(e,s,n){const o=this.defaultQueryOptions({queryKey:e}),u=this.#t.get(o.queryHash)?.state.data,d=Ij(s,u);if(d!==void 0)return this.#t.build(this,o).setData(d,{...n,manual:!0})}
vendor: 11,325 bytes, lines 9-17
9setQueriesData(e,s,n){return Je.batch(()=>this.#t.findAll(e).map(({queryKey:o})=>[o,this.setQueryData(o,s,n)]))}getQueryState(e){const s=this.defaultQueryOptions({queryKey:e});return this.#t.get(s.queryHash)?.state}removeQueries(e){const s=this.#t;Je.batch(()=>{s.findAll(e).forEach(n=>{s.remove(n)})})}resetQueries(e,s){const n=this.#t;return Je.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...e},s)))}cancelQueries(e,s={}){const n={revert:!0,...s},o=Je.batch(()=>this.#t.findAll(e).map(l=>l.cancel(n)));return Promise.all(o).then(At).catch(At)}invalidateQueries(e,s={}){return Je.batch(()=>(this.#t.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},s)))}refetchQueries(e,s={}){const n={...s,cancelRefetch:s.cancelRefetch??!0},o=Je.batch(()=>this.#t.findAll(e).filter(l=>!l.isDisabled()&&!l.isStatic()).map(l=>{let u=l.fetch(void 0,n);return n.throwOnError||(u=u.catch(At)),l.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(o).then(At)}fetchQuery(e){const s=this.defaultQueryOptions(e);s.retry===void 0&&(s.retry=!1);const n=this.#t.build(this,s);return n.isStaleByTime(on(s.staleTime,n))?n.fetch(s):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(At).catch(At)}fetchInfiniteQuery(e){return e.behavior=_c(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(At).catch(At)}ensureInfiniteQueryData(e){return e.behavior=_c(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Dc.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#s}setDefaultOptions(e){this.#s=e}setQueryDefaults(e,s){this.#n.set(rn(e),{queryKey:e,defaultOptions:s})}getQueryDefaults(e){const s=[...this.#n.values()],n={};return s.forEach(o=>{Ar(e,o.queryKey)&&Object.assign(n,o.defaultOptions)}),n}setMutationDefaults(e,s){this.#a.set(rn(e),{mutationKey:e,defaultOptions:s})}getMutationDefaults(e){const s=[...this.#a.values()],n={};return s.forEach(o=>{Ar(e,o.mutationKey)&&Object.assign(n,o.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const s={...this.#s.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return s.queryHash||(s.queryHash=lp(s.queryKey,s)),s.refetchOnReconnect===void 0&&(s.refetchOnReconnect=s.networkMode!=="always"),s.throwOnError===void 0&&(s.throwOnError=!!s.suspense),!s.networkMode&&s.persister&&(s.networkMode="offlineFirst"),s.queryFn===os&&(s.enabled=!1),s}defaultMutationOptions(e){return e?._defaulted?e:{...this.#s.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},Nh={exports:{}},we={};/** 10 * @license React 11 * react.production.js 12 * 13 * Copyright (c) Meta Platforms, Inc. and 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 hb;function d6(){if(hb)return we;hb=1;var e=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),d=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),v=Symbol.iterator;function k(T){return T===null||typeof T!="object"?null:(T=v&&T[v]||T["@@iterator"],typeof T=="function"?T:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,N={};function O(T,$,V){this.props=T,this.context=$,this.refs=N,this.updater=V||j}O.prototype.isReactComponent={},O.prototype.setState=function(T,$){if(typeof T!="object"&&typeof T!="function"&&T!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,T,$,"setState")},O.prototype.forceUpdate=function(T){this.updater.enqueueForceUpdate(this,T,"forceUpdate")};function R(){}R.prototype=O.prototype;function _(T,$,V){this.props=T,this.context=$,this.refs=N,this.updater=V||j}var Q=_.prototype=new R;Q.constructor=_,E(Q,O.prototype),Q.isPureReactComponent=!0;var F=Array.isArray;function U(){}var C={H:null,A:null,T:null,S:null},D=Object.prototype.hasOwnProperty;function Z(T,$,V){var X=V.ref;return{$$typeof:e,type:T,key:$,ref:X!==void 0?X:null,props:V}}function K(T,$){return Z(T.type,$,T.props)}function ae(T){return typeof T=="object"&&T!==null&&T.$$typeof===e}function se(T){var $={"=":"=0",":":"=2"};return"$"+T.replace(/[=:]/g,function(V){return $[V]})}var ie=/\/+/g;function oe(T,$){return typeof T=="object"&&T!==null&&T.key!=null?se(""+T.key):$.toString(36)}function le(T){switch(T.status){case"fulfilled":return T.value;case"rejected":throw T.reason;default:switch(typeof T.status=="string"?T.then(U,U):(T.status="pending",T.then(function($){T.status==="pending"&&(T.status="fulfilled",T.value=$)},function($){T.status==="pending"&&(T.status="rejected",T.reason=$)})),T.status){case"fulfilled":return T.value;case"rejected":throw T.reason}}throw T}function M(T,$,V,X,ne){var pe=typeof T;(pe==="undefined"||pe==="boolean")&&(T=null);var ue=!1;if(T===null)ue=!0;else switch(pe){case"bigint":case"string":case"number":ue=!0;break;case"object":switch(T.$$typeof){case e:case s:ue=!0;break;case x:return ue=T._init,M(ue(T._payload),$,V,X,ne)}}if(ue)return ne=ne(T),ue=X===""?"."+oe(T,0):X,F(ne)?(V="",ue!=null&&(V=ue.replace(ie,"$&/")+"/"),M(ne,$,V,"",function(xt){return xt})):ne!=null&&(ae(ne)&&(ne=K(ne,V+(ne.key==null||T&&T.key===ne.key?"":(""+ne.key).replace(ie,"$&/")+"/")+ue)),$.push(ne)),1;ue=0;var be=X===""?".":X+":";if(F(T))for(var Re=0;Re<T.length;Re++)X=T[Re],pe=be+oe(X,Re),ue+=M(X,$,V,pe,ne);else if(Re=k(T),typeof Re=="function")for(T=Re.call(T),Re=0;!(X=T.next()).done;)X=X.value,pe=be+oe(X,Re++),ue+=M(X,$,V,pe,ne);else if(pe==="object"){if(typeof T.then=="function")return M(le(T),$,V,X,ne);throw $=String(T),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}return ue}function H(T,$,V){if(T==null)return T;var X=[],ne=0;return M(T,X,"","",function(pe){return $.call(V,pe,ne++)}),X}function L(T){if(T._status===-1){var $=T._result;$=$(),$.then(function(V){(T._status===0||T._status===-1)&&(T._status=1,T._result=V)},function(V){(T._status===0||T._status===-1)&&(T._status=2,T._result=V)}),T._status===-1&&(T._status=0,T._result=$)}if(T._status===1)return T._result.default;throw T._result}var B=typeof reportError=="function"?reportError:function(T){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var $=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof T=="object"&&T!==null&&typeof T.message=="string"?String(T.message):String(T),error:T});if(!window.dispatchEvent($))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",T);return}console.error(T)},te={map:H,forEach:function(T,$,V){H(T,function(){$.apply(this,arguments)},V)},count:function(T){var $=0;return H(T,function(){$++}),$},toArray:function(T){return H(T,function($){return $})||[]},only:function(T){if(!ae(T))throw Error("React.Children.only expected to receive a single React element child.");return T}};return we.Activity=y,we.Children=te,we.Component=O,we.Fragment=n,we.Profiler=l,we.PureComponent=_,we.StrictMode=o,we.Suspense=p,we.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,we.__COMPILER_RUNTIME={__proto__:null,c:function(T){return C.H.useMemoCache(T)}},we.cache=function(T){return function(){return T.apply(null,arguments)}},we.cacheSignal=function(){return null},we.cloneElement=function(T,$,V){if(T==null)throw Error("The argument must be a React element, but you passed "+T+".");var X=E({},T.props),ne=T.key;if($!=null)for(pe in $.key!==void 0&&(ne=""+$.key),$)!D.call($,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&$.ref===void 0||(X[pe]=$[pe]);var pe=arguments.length-2;if(pe===1)X.children=V;else if(1<pe){for(var ue=Array(pe),be=0;be<pe;be++)ue[be]=arguments[be+2];X.children=ue}return Z(T.type,ne,X)},we.createContext=function(T){return T={$$typeof:d,_currentValue:T,_currentValue2:T,_threadCount:0,Provider:null,Consumer:null},T.Provider=T,T.Consumer={$$typeof:u,_context:T},T},we.createElement=function(T,$,V){var X,ne={},pe=null;if($!=null)for(X in $.key!==void 0&&(pe=""+$.key),$)D.call($,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(ne[X]=$[X]);var ue=arguments.length-2;if(ue===1)ne.children=V;else if(1<ue){for(var be=Array(ue),Re=0;Re<ue;Re++)be[Re]=arguments[Re+2];ne.children=be}if(T&&T.defaultProps)for(X in ue=T.defaultProps,ue)ne[X]===void 0&&(ne[X]=ue[X]);return Z(T,pe,ne)},we.createRef=function(){return{current:null}},we.forwardRef=function(T){return{$$typeof:f,render:T}},we.isValidElement=ae,we.lazy=function(T){return{$$typeof:x,_payload:{_status:-1,_result:T},_init:L}},we.memo=function(T,$){return{$$typeof:g,type:T,compare:$===void 0?null:$}},we.startTransition=function(T){var $=C.T,V={};C.T=V;try{var X=T(),ne=C.S;ne!==null&&ne(V,X),typeof X=="object"&&X!==null&&typeof X.then=="function"&&X.then(U,B)}catch(pe){B(pe)}finally{$!==null&&V.types!==null&&($.types=V.types),C.T=$}},we.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},we.use=function(T){return C.H.use(T)},we.useActionState=function(T,$,V){return C.H.useActionState(T,$,V)},we.useCallback=function(T,$){return C.H.useCallback(T,$)},we.useContext=function(T){return C.H.useContext(T)},we.useDebugValue=function(){},we.useDeferredValue=function(T,$){return C.H.useDeferredValue(T,$)},we.useEffect=function(T,$){return C.H.useEffect(T,$)},we.useEffectEvent=function(T){return C.H.useEffectEvent(T)},we.useId=function(){return C.H.useId()},we.useImperativeHandle=function(T,$,V){return C.H.useImperativeHandle(T,$,V)},we.useInsertionEffect=function(T,$){return C.H.useInsertionEffect(T,$)},we.useLayoutEffect=function(T,$){return C.H.useLayoutEffect(T,$)},we.useMemo=function(T,$){return C.H.useMemo(T,$)},we.useOptimistic=function(T,$){return C.H.useOptimistic(T,$)},we.useReducer=function(T,$,V){return C.H.useReducer(T,$,V)},we.useRef=function(T){return C.H.useRef(T)},we.useState=function(T){return C.H.useState(T)},we.useSyncExternalStore=function(T,$,V){return C.H.useSyncExternalStore(T,$,V)},we.useTransition=function(){return C.H.useTransition()},we.version="19.2.1",we}var fb;function Yc(){return fb||(fb=1,Nh.exports=d6()),Nh.exports}var w=Yc();const re=Mv(w),Gv=Dj({__proto__:null,default:re},[w]);var Iv=w.createContext(void 0),qr=e=>{const s=w.useContext(Iv);if(e)return e;if(!s)throw new Error("No QueryClient set, use QueryClientProvider to set one");return s},h6=({client:e,children:s})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),r.jsx(Iv.Provider,{value:e,children:s})),Vv=w.createContext(!1),qv=()=>w.useContext(Vv);Vv.Provider;function f6(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}
17var p6=w.createContext(f6()),Qv=()=>w.useContext(p6),Yv=(e,s,n)=>{const o=n?.state.error&&typeof e.throwOnError=="function"?up(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||o)&&(s.isReset()||(e.retryOnMount=!1))},$v=e=>{w.useEffect(()=>{e.clearReset()},[e])},Kv=({result:e,errorResetBoundary:s,throwOnError:n,query:o,suspense:l})=>e.isError&&!s.isReset()&&!e.isFetching&&o&&(l&&e.data===void 0||up(n,[e.error,o])),hp=(e,s)=>s.state.data===void 0,Xv=e=>{if(e.suspense){const n=l=>l==="static"?l:Math.max(l??1e3,1e3),o=e.staleTime;e.staleTime=typeof o=="function"?(...l)=>n(o(...l)):n(o),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},m6=(e,s)=>e.isLoading&&e.isFetching&&!s,yf=(e,s)=>e?.suspense&&s.isPending,bf=(e,s,n)=>s.fetchOptimistic(e).catch(()=>{n.clearReset()});function Wv({queries:e,...s},n){const o=qr(n),l=qv(),u=Qv(),d=w.useMemo(()=>e.map(E=>{const N=o.defaultQueryOptions(E);return N._optimisticResults=l?"isRestoring":"optimistic",N}),[e,o,l]);d.forEach(E=>{Xv(E);const N=o.getQueryCache().get(E.queryHash);Yv(E,u,N)}),$v(u);const[f]=w.useState(()=>new l6(o,d,s)),[p,g,x]=f.getOptimisticResult(d,s.combine),y=!l&&s.subscribed!==!1;w.useSyncExternalStore(w.useCallback(E=>y?f.subscribe(Je.batchCalls(E)):At,[f,y]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),w.useEffect(()=>{f.setQueries(d,s)},[d,s,f]);const k=p.some((E,N)=>yf(d[N],E))?p.flatMap((E,N)=>{const O=d[N];if(O&&yf(O,E)){const R=new Vr(o,O);return bf(O,R,u)}return[]}):[];if(k.length>0)throw Promise.all(k);const j=p.find((E,N)=>{const O=d[N];return O&&Kv({result:E,errorResetBoundary:u,throwOnError:O.throwOnError,query:o.getQueryCache().get(O.queryHash),suspense:O.suspense})});if(j?.error)throw j.error;return g(x())}function $c(e,s,n){const o=qv(),l=Qv(),u=qr(n),d=u.defaultQueryOptions(e);u.getDefaultOptions().queries?._experimental_beforeQuery?.(d);const f=u.getQueryCache().get(d.queryHash);d._optimisticResults=o?"isRestoring":"optimistic",Xv(d),Yv(d,l,f),$v(l);const p=!u.getQueryCache().get(d.queryHash),[g]=w.useState(()=>new s(u,d)),x=g.getOptimisticResult(d),y=!o&&e.subscribed!==!1;if(w.useSyncExternalStore(w.useCallback(v=>{const k=y?g.subscribe(Je.batchCalls(v)):At;return g.updateResult(),k},[g,y]),()=>g.getCurrentResult(),()=>g.getCurrentResult()),w.useEffect(()=>{g.setOptions(d)},[d,g]),yf(d,x))throw bf(d,g,l);if(Kv({result:x,errorResetBoundary:l,throwOnError:d.throwOnError,query:f,suspense:d.suspense}))throw x.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(d,x),d.experimental_prefetchInRender&&!Or.isServer()&&m6(x,o)&&(p?bf(d,g,l):f?.promise)?.catch(At).finally(()=>{g.updateResult()}),d.notifyOnChangeProps?x:g.trackResult(x)}function g6(e,s){return $c(e,Vr,s)}function x6(e,s){return $c({...e,enabled:!0,suspense:!0,throwOnError:hp,placeholderData:void 0},Vr,s)}function y6(e,s){return $c({...e,enabled:!0,suspense:!0,throwOnError:hp},Hv,s)}function b6(e,s){return Wv({...e,queries:e.queries.map(n=>({...n,suspense:!0,throwOnError:hp,enabled:!0,placeholderData:void 0}))},s)}function v6(e,s){const n=qr(s);n.getQueryState(e.queryKey)||n.prefetchQuery(e)}function w6(e,s){const n=qr(s);n.getQueryState(e.queryKey)||n.prefetchInfiniteQuery(e)}function S6(e,s){const n=qr(s),[o]=w.useState(()=>new o6(n,e));w.useEffect(()=>{o.setOptions(e)},[o,e]);const l=w.useSyncExternalStore(w.useCallback(d=>o.subscribe(Je.batchCalls(d)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),u=w.useCallback((d,f)=>{o.mutate(d,f).catch(At)},[o]);if(l.error&&up(o.options.throwOnError,[l.error]))throw l.error;return{...l,mutate:u,mutateAsync:l.mutate}}function k6(e,s){return $c(e,Hv,s)}function Wn(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}function j6(){return Object.create(null)}const E6=typeof Symbol=="function"&&!!Symbol.asyncIterator;function Zv(e){return E6&&Wn(e)&&Symbol.asyncIterator in e}var T6=Object.create,Jv=Object.defineProperty,N6=Object.getOwnPropertyDescriptor,e0=Object.getOwnPropertyNames,C6=Object.getPrototypeOf,A6=Object.prototype.hasOwnProperty,Qr=(e,s)=>function(){return s||(0,e[e0(e)[0]])((s={exports:{}}).exports,s),s.exports},R6=(e,s,n,o)=>
17{if(s&&typeof s=="object"||typeof s=="function")for(var l=e0(s),u=0,d=l.length,f;u<d;u++)f=l[u],!A6.call(e,f)&&f!==n&&Jv(e,f,{get:(p=>s[p]).bind(null,f),enumerable:!(o=N6(s,f))||o.enumerable});return e},Kc=(e,s,n)=>(n=e!=null?T6(C6(e)):{},R6(Jv(n,"default",{value:e,enumerable:!0}),e));const t0=()=>{},pb=e=>{Object.freeze&&Object.freeze(e)};function s0(e,s,n){var o;const l=s.join(".");return(o=n[l])!==null&&o!==void 0||(n[l]=new Proxy(t0,{get(u,d){if(!(typeof d!="string"||d==="then"))return s0(e,[...s,d],n)},apply(u,d,f){const p=s[s.length-1];let g={args:f,path:s};return p==="call"?g={args:f.length>=2?[f[1]]:[],path:s.slice(0,-1)}:p==="apply"&&(g={args:f.length>=2?f[1]:[],path:s.slice(0,-1)}),pb(g.args),pb(g.path),e(g)}})),n[l]}const Xc=e=>s0(e,[],j6()),fp=e=>new Proxy(t0,{get(s,n){if(n!=="then")return e(n)}});var a0=Qr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,s){function n(o){"@babel/helpers - typeof";return s.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},s.exports.__esModule=!0,s.exports.default=s.exports,n(o)}s.exports=n,s.exports.__esModule=!0,s.exports.default=s.exports}}),O6=Qr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,s){var n=a0().default;function o(l,u){if(n(l)!="object"||!l)return l;var d=l[Symbol.toPrimitive];if(d!==void 0){var f=d.call(l,u||"default");if(n(f)!="object")return f;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(l)}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),M6=Qr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,s){var n=a0().default,o=O6();function l(u){var d=o(u,"string");return n(d)=="symbol"?d:d+""}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),n0=Qr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,s){var n=M6();function o(l,u,d){return(u=n(u))in l?Object.defineProperty(l,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):l[u]=d,l}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),pp=Qr({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,s){var n=n0();function o(u,d){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(u);d&&(p=p.filter(function(g){return Object.getOwnPropertyDescriptor(u,g).enumerable})),f.push.apply(f,p)}return f}function l(u){for(var d=1;d<arguments.length;d++){var f=arguments[d]!=null?arguments[d]:{};d%2?o(Object(f),!0).forEach(function(p){n(u,p,f[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):o(Object(f)).forEach(function(p){Object.defineProperty(u,p,Object.getOwnPropertyDescriptor(f,p))})}return u}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}});Kc(pp());Kc(n0());var mc=Kc(pp());function P6(e,s){if("error"in e){const o=s.deserialize(e.error);return{ok:!1,error:(0,mc.default)((0,mc.default)({},e),{},{error:o})}}return{ok:!0,result:(0,mc.default)((0,mc.default)({},e.result),(!e.result.type||e.result.type==="data")&&{type:"data",data:s.deserialize(e.result.data)})}}var Ch=class extends Error{constructor(){super("Unable to transform response from server")}};function B6(e,s){let n;try{n=P6(e,s)}catch{throw new Ch}if(!n.ok&&(!Wn(n.error.error)||typeof n.error.error.code!="number"))throw new Ch;if(n.ok&&!Wn(n.result))throw new Ch;return n}Kc(pp());function Wc(e){const s={subscribe(n){let o=null,l=!1,u=!1,d=!1;function f(){if(o===null){d=!0;return}u||(u=!0,typeof o=="function"?o():o&&o.unsubscribe())}return o=e({next(p){var g;l||(g=n.next)===null||g===void 0||g.call(n,p)},error(p){var g;l||(l=!0,(g=n.error)===null||g===void 0||g.call(n,p),f())},complete(){var p;l||(l=!0,(p=n.complete)===null||p===void 0||p.call(n),f())}}),d&&f(),{unsubscribe:f}},pipe(...n){return n.reduce(D6,s)}};return s}function D6(e,s){return s(e)}function _6(e){const s=new AbortController;return new Promise((o,l)=>{let u=!1;function d(){u||(u=!0,f.unsubscribe())}s.signal.addEventListener("abort",()=>{l(s.signal.reason)});const f=e.subscribe({next(p){u=!0,o(p),d()},error(p){l(p)},complete(){s.abort(),d()}})})}var L6=Object.create,i0=Object.defineProperty,z6=Object.getOwnPropertyDescriptor,o0=Object.getOwnPropertyNames,F6=Object.getPrototypeOf,H6=Object.prototype.hasOwnProperty,fn=(e,s)=>function(){return s||(0,e[o0(e)[0]])((s={exports:{}}).exports,s),s.exports},U6=(e,s,n,o)=>
17{if(s&&typeof s=="object"||typeof s=="function")for(var l=o0(s),u=0,d=l.length,f;u<d;u++)f=l[u],!H6.call(e,f)&&f!==n&&i0(e,f,{get:(p=>s[p]).bind(null,f),enumerable:!(o=z6(s,f))||o.enumerable});return e},ei=(e,s,n)=>(n=e!=null?L6(F6(e)):{},U6(s||!e||!e.__esModule?i0(n,"default",{value:e,enumerable:!0}):n,e)),G6=fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(e,s){function n(o,l){if(o==null)return{};var u={};for(var d in o)if({}.hasOwnProperty.call(o,d)){if(l.includes(d))continue;u[d]=o[d]}return u}s.exports=n,s.exports.__esModule=!0,s.exports.default=s.exports}}),I6=fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,s){var n=G6();function o(l,u){if(l==null)return{};var d,f,p=n(l,u);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(l);for(f=0;f<g.length;f++)d=g[f],u.includes(d)||{}.propertyIsEnumerable.call(l,d)&&(p[d]=l[d])}return p}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),r0=fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,s){function n(o){"@babel/helpers - typeof";return s.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},s.exports.__esModule=!0,s.exports.default=s.exports,n(o)}s.exports=n,s.exports.__esModule=!0,s.exports.default=s.exports}}),V6=fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,s){var n=r0().default;function o(l,u){if(n(l)!="object"||!l)return l;var d=l[Symbol.toPrimitive];if(d!==void 0){var f=d.call(l,u||"default");if(n(f)!="object")return f;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(l)}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),q6=fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,s){var n=r0().default,o=V6();function l(u){var d=o(u,"string");return n(d)=="symbol"?d:d+""}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),Q6=fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,s){var n=q6();function o(l,u,d){return(u=n(u))in l?Object.defineProperty(l,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):l[u]=d,l}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),Yr=fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,s){var n=Q6();function o(u,d){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(u);d&&(p=p.filter(function(g){return Object.getOwnPropertyDescriptor(u,g).enumerable})),f.push.apply(f,p)}return f}function l(u){for(var d=1;d<arguments.length;d++){var f=arguments[d]!=null?arguments[d]:{};d%2?o(Object(f),!0).forEach(function(p){n(u,p,f[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):o(Object(f)).forEach(function(p){Object.defineProperty(u,p,Object.getOwnPropertyDescriptor(f,p))})}return u}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),Y6=ei(I6(),1),mb=ei(Yr(),1);const $6=["cursor","direction"];function qs(e,s,n){const o=e.flatMap(l=>l.split("."));if(!s&&(!n||n==="any"))return o.length?[o]:[];if(n==="infinite"&&Wn(s)&&("direction"in s||"cursor"in s)){const{cursor:l,direction:u}=s,d=(0,Y6.default)(s,$6);return[o,{input:d,type:"infinite"}]}return[o,(0,mb.default)((0,mb.default)({},typeof s<"u"&&s!==os&&{input:s}),n&&n!=="any"&&{type:n})]}function Nc(e){return qs(e,void 0,"any")}var K6=Object.create,l0=Object.defineProperty,X6=Object.getOwnPropertyDescriptor,c0=Object.getOwnPropertyNames,W6=Object.getPrototypeOf,Z6=Object.prototype.hasOwnProperty,Ws=(e,s)=>function(){return s||(0,e[c0(e)[0]])((s={exports:{}}).exports,s),s.exports},J6=(e,s,n,o)=>
17{if(s&&typeof s=="object"||typeof s=="function")for(var l=c0(s),u=0,d=l.length,f;u<d;u++)f=l[u],!Z6.call(e,f)&&f!==n&&l0(e,f,{get:(p=>s[p]).bind(null,f),enumerable:!(o=X6(s,f))||o.enumerable});return e},at=(e,s,n)=>(n=e!=null?K6(W6(e)):{},J6(s||!e||!e.__esModule?l0(n,"default",{value:e,enumerable:!0}):n,e)),u0=Ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,s){function n(o){"@babel/helpers - typeof";return s.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},s.exports.__esModule=!0,s.exports.default=s.exports,n(o)}s.exports=n,s.exports.__esModule=!0,s.exports.default=s.exports}}),eE=Ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,s){var n=u0().default;function o(l,u){if(n(l)!="object"||!l)return l;var d=l[Symbol.toPrimitive];if(d!==void 0){var f=d.call(l,u||"default");if(n(f)!="object")return f;throw new TypeError("@@toPrimitive must return a primitive value.")}return(u==="string"?String:Number)(l)}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),tE=Ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,s){var n=u0().default,o=eE();function l(u){var d=o(u,"string");return n(d)=="symbol"?d:d+""}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),ti=Ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,s){var n=tE();function o(l,u,d){return(u=n(u))in l?Object.defineProperty(l,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):l[u]=d,l}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),Bs=Ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,s){var n=ti();function o(u,d){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(u);d&&(p=p.filter(function(g){return Object.getOwnPropertyDescriptor(u,g).enumerable})),f.push.apply(f,p)}return f}function l(u){for(var d=1;d<arguments.length;d++){var f=arguments[d]!=null?arguments[d]:{};d%2?o(Object(f),!0).forEach(function(p){n(u,p,f[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):o(Object(f)).forEach(function(p){Object.defineProperty(u,p,Object.getOwnPropertyDescriptor(f,p))})}return u}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}});function sE(e){return s=>{let n=0,o=null;const l=[];function u(){o||(o=s.subscribe({next(f){for(const g of l){var p;(p=g.next)===null||p===void 0||p.call(g,f)}},error(f){for(const g of l){var p;(p=g.error)===null||p===void 0||p.call(g,f)}},complete(){for(const p of l){var f;(f=p.complete)===null||f===void 0||f.call(p)}}}))}function d(){if(n===0&&o){const f=o;o=null,f.unsubscribe()}}return Wc(f=>(n++,l.push(f),u(),{unsubscribe(){n--,d();const p=l.findIndex(g=>g===f);p>-1&&l.splice(p,1)}}))}}function aE(e){let s=e;const n=[],o=d=>{s!==void 0&&d.next(s),n.push(d)},l=d=>{n.splice(n.indexOf(d),1)},u=Wc(d=>(o(d),()=>{l(d)}));return u.next=d=>{if(s!==d){s=d;for(const f of n)f.next(d)}},u.get=()=>s,u}function nE(e){return Wc(s=>{function n(l=0,u=e.op){const d=e.links[l];if(!d)throw new Error("No more links to execute - did you forget to add an ending link?");return d({op:u,next(p){return n(l+1,p)}})}return n().subscribe(s)})}var gc=at(ti(),1),Qi=at(Bs(),1);function iE(e){return e instanceof ao}function oE(e){return Wn(e)&&Wn(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}function rE(e,s){return typeof e=="string"?e:Wn(e)&&typeof e.message=="string"?e.message:s}var ao=class Cc extends Error{constructor(s,n){var o,l;const u=n?.cause;super(s,{cause:u}),(0,gc.default)(this,"cause",void 0),(0,gc.default)(this,"shape",void 0),(0,gc.default)(this,"data",void 0),(0,gc.default)(this,"meta",void 0),this.meta=n?.meta,this.cause=u,this.shape=n==null||(o=n.result)===null||o===void 0?void 0:o.error,this.data=n==null||(l=n.result)===null||l===void 0?void 0:l.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,Cc.prototype)}static from(s,n={}){const o=s;return iE(o)?(n.meta&&(o.meta=(0,Qi.default)((0,Qi.default)({},o.meta),n.meta)),o):oE(o)?new Cc(o.error.message,(0,Qi.default)((0,Qi.default)({},n),{},{result:o,cause:n.cause})):new Cc(rE(o,"Unknown error"),(0,Qi.default)((0,Qi.default)({},n),{},{cause:o}))}};function lE(e){const s=e;return s?"input"in s?s:{input:s,output:s}:{input:{serialize:n=>n,deserialize:n=>n}
17,output:{serialize:n=>n,deserialize:n=>n}}}const gb=e=>typeof e=="function";function cE(e){if(e)return e;if(typeof window<"u"&&gb(window.fetch))return window.fetch;if(typeof globalThis<"u"&&gb(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var Sr=at(Bs());function uE(e){return{url:e.url.toString(),fetch:e.fetch,transformer:lE(e.transformer),methodOverride:e.methodOverride}}function dE(e){const s={};for(let n=0;n<e.length;n++){const o=e[n];s[n]=o}return s}const hE={query:"GET",mutation:"POST",subscription:"PATCH"};function d0(e){return"input"in e?e.transformer.input.serialize(e.input):dE(e.inputs.map(s=>e.transformer.input.serialize(s)))}const h0=e=>{const s=e.url.split("?");let o=s[0].replace(/\/$/,"")+"/"+e.path;const l=[];if(s[1]&&l.push(s[1]),"inputs"in e&&l.push("batch=1"),e.type==="query"||e.type==="subscription"){const u=d0(e);u!==void 0&&e.methodOverride!=="POST"&&l.push(`input=${encodeURIComponent(JSON.stringify(u))}`)}return l.length&&(o+="?"+l.join("&")),o},fE=e=>{if(e.type==="query"&&e.methodOverride!=="POST")return;const s=d0(e);return s!==void 0?JSON.stringify(s):void 0},pE=e=>yE((0,Sr.default)((0,Sr.default)({},e),{},{contentTypeHeader:"application/json",getUrl:h0,getBody:fE}));var mE=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};const gE=e=>{var s;if(e?.aborted)throw(s=e.throwIfAborted)===null||s===void 0||s.call(e),typeof DOMException<"u"?new DOMException("AbortError","AbortError"):new mE};async function xE(e){var s,n;gE(e.signal);const o=e.getUrl(e),l=e.getBody(e),u=(s=e.methodOverride)!==null&&s!==void 0?s:hE[e.type],d=await(async()=>{const p=await e.headers();return Symbol.iterator in p?Object.fromEntries(p):p})(),f=(0,Sr.default)((0,Sr.default)((0,Sr.default)({},e.contentTypeHeader&&u!=="GET"?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{[(n=e.trpcAcceptHeaderKey)!==null&&n!==void 0?n:"trpc-accept"]:e.trpcAcceptHeader}:void 0),d);return cE(e.fetch)(o,{method:u,signal:e.signal,body:l,headers:f})}async function yE(e){const s={},n=await xE(e);s.response=n;const o=await n.json();return s.responseJSON=o,{json:o,meta:s}}at(Bs(),1);const xb=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function yb(e){let s=null,n=null;const o=()=>{clearTimeout(n),n=null,s=null};function l(f){const p=[[]];let g=0;for(;;){const v=f[g];if(!v)break;const k=p[p.length-1];if(v.aborted){var x;(x=v.reject)===null||x===void 0||x.call(v,new Error("Aborted")),g++;continue}if(e.validate(k.concat(v).map(E=>E.key))){k.push(v),g++;continue}if(k.length===0){var y;(y=v.reject)===null||y===void 0||y.call(v,new Error("Input is too big for a single dispatch")),g++;continue}p.push([])}return p}function u(){const f=l(s);o();for(const p of f){if(!p.length)continue;const g={items:p};for(const y of p)y.batch=g;e.fetch(g.items.map(y=>y.key)).then(async y=>{await Promise.all(y.map(async(k,j)=>{const E=g.items[j];try{var N;const R=await Promise.resolve(k);(N=E.resolve)===null||N===void 0||N.call(E,R)}catch(R){var O;(O=E.reject)===null||O===void 0||O.call(E,R)}E.batch=null,E.reject=null,E.resolve=null}));for(const k of g.items){var v;(v=k.reject)===null||v===void 0||v.call(k,new Error("Missing result")),k.batch=null}}).catch(y=>{for(const k of g.items){var v;(v=k.reject)===null||v===void 0||v.call(k,y),k.batch=null}})}}function d(f){var p;const g={aborted:!1,key:f,batch:null,resolve:xb,reject:xb},x=new Promise((y,v)=>{var k;g.reject=v,g.resolve=y,(k=s)!==null&&k!==void 0||(s=[]),s.push(g)});return(p=n)!==null&&p!==void 0||(n=setTimeout(u)),x}return{load:d}}function bE(...e){const s=new AbortController,n=e.length;let o=0;const l=()=>{++o===n&&s.abort()};for(const u of e)u?.aborted?l():u?.addEventListener("abort",l,{once:!0});return s.signal}var xc=at(Bs(),1);function vE(e){var s,n;const o=uE(e),l=(s=e.maxURLLength)!==null&&s!==void 0?s:1/0,u=(n=e.maxItems)!==null&&n!==void 0?n:1/0;return()=>{const d=x=>({validate(y){if(l===1/0&&u===1/0)return!0;if(y.length>u)return!1;const v=y.map(E=>E.path).join(","),k=y.map(E=>E.input);return h0((0,xc.default)((0,xc.default)({},o),{}
17,{type:x,path:v,inputs:k,signal:null})).length<=l},async fetch(y){const v=y.map(R=>R.path).join(","),k=y.map(R=>R.input),j=bE(...y.map(R=>R.signal)),E=await pE((0,xc.default)((0,xc.default)({},o),{},{path:v,inputs:k,type:x,headers(){return e.headers?typeof e.headers=="function"?e.headers({opList:y}):e.headers:{}},signal:j}));return(Array.isArray(E.json)?E.json:y.map(()=>E.json)).map(R=>({meta:E.meta,json:R}))}}),f=yb(d("query")),p=yb(d("mutation")),g={query:f,mutation:p};return({op:x})=>Wc(y=>{/* istanbul ignore if -- @preserve */if(x.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const k=g[x.type].load(x);let j;return k.then(E=>{j=E;const N=B6(E.json,o.transformer.output);if(!N.ok){y.error(ao.from(N.error,{meta:E.meta}));return}y.next({context:E.meta,result:N.result}),y.complete()}).catch(E=>{y.error(ao.from(E,{meta:j?.meta}))}),()=>{}})}}at(Bs(),1);const f0=(e,...s)=>typeof e=="function"?e(...s):e;at(ti(),1);function wE(){let e,s;return{promise:new Promise((o,l)=>{e=o,s=l}),resolve:e,reject:s}}async function SE(e){const s=await f0(e.url);if(!e.connectionParams)return s;const o=`${s.includes("?")?"&":"?"}connectionParams=1`;return s+o}async function kE(e,s){const n={method:"connectionParams",data:await f0(e)};return s.encode(n)}at(ti(),1);var sn=at(ti(),1);function jE(e){const{promise:s,resolve:n,reject:o}=wE();return e.addEventListener("open",()=>{e.removeEventListener("error",o),n()}),e.addEventListener("error",o),s}function EE(e,{intervalMs:s,pongTimeoutMs:n}){let o,l;function u(){o=setTimeout(()=>{e.send("PING"),l=setTimeout(()=>{e.close()},n)},s)}function d(){clearTimeout(o),u()}function f(){clearTimeout(l),d()}e.addEventListener("open",u),e.addEventListener("message",({data:p})=>{clearTimeout(o),u(),p==="PONG"&&f()}),e.addEventListener("close",()=>{clearTimeout(o),clearTimeout(l)})}var TE=class vf{constructor(s){var n;if((0,sn.default)(this,"id",++vf.connectCount),(0,sn.default)(this,"WebSocketPonyfill",void 0),(0,sn.default)(this,"urlOptions",void 0),(0,sn.default)(this,"keepAliveOpts",void 0),(0,sn.default)(this,"encoder",void 0),(0,sn.default)(this,"wsObservable",aE(null)),(0,sn.default)(this,"openPromise",null),this.WebSocketPonyfill=(n=s.WebSocketPonyfill)!==null&&n!==void 0?n:WebSocket,!this.WebSocketPonyfill)throw new Error("No WebSocket implementation found - you probably don't want to use this on the server, but if you do you need to pass a `WebSocket`-ponyfill");this.urlOptions=s.urlOptions,this.keepAliveOpts=s.keepAlive,this.encoder=s.encoder}get ws(){return this.wsObservable.get()}set ws(s){this.wsObservable.next(s)}isOpen(){return!!this.ws&&this.ws.readyState===this.WebSocketPonyfill.OPEN&&!this.openPromise}isClosed(){return!!this.ws&&(this.ws.readyState===this.WebSocketPonyfill.CLOSING||this.ws.readyState===this.WebSocketPonyfill.CLOSED)}async open(){var s=this;if(s.openPromise)return s.openPromise;s.id=++vf.connectCount;const n=SE(s.urlOptions).then(o=>new s.WebSocketPonyfill(o));s.openPromise=n.then(async o=>{s.ws=o,o.binaryType="arraybuffer",o.addEventListener("message",function({data:l}){l==="PING"&&this.send("PONG")}),s.keepAliveOpts.enabled&&EE(o,s.keepAliveOpts),o.addEventListener("close",()=>{s.ws===o&&(s.ws=null)}),await jE(o),s.urlOptions.connectionParams&&o.send(await kE(s.urlOptions.connectionParams,s.encoder))});try{await s.openPromise}finally{s.openPromise=null}}async close(){var s=this;try{await s.openPromise}finally{var n;(n=s.ws)===null||n===void 0||n.close()}}};(0,sn.default)(TE,"connectCount",0);at(ti(),1);at(Bs(),1);var Ah=at(ti(),1),bb=at(Bs(),1),Zc=class{constructor(e){(0,Ah.default)(this,"links",void 0),(0,Ah.default)(this,"runtime",void 0),(0,Ah.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(s=>s(this.runtime))}$request(e){var s;return nE({links:this.links,op:(0,bb.default)((0,bb.default)({},e),{},{context:(s=e.context)!==null&&s!==void 0?s:{},id:++this.requestId})}).pipe(sE())}async requestAsPromise(e){var s=this;try{const n=s.$request(e);return(await _6(n)).result.data}catch(n){throw ao.from(n)}}query(e,s,n){return this.requestAsPromise({type:"query",path:e,input:s,context:n?.context,signal:n?.signal})}mutation(e,s,n){return this.requestAsPromise({type:"mutation",path:e,input:s,context:n?.context,signal:n?.signal})}subscription(e,s,n){return this.$request({type:"subscription",path:e,input:s,context:n.context,signal:n.signal}).subscribe({next(l){switch(l.result.type){case"state":{var u;(u=n.onConnectionStateChange)===null||u===void 0||u.call(n,l.result);break}case"started":{var d;(d=n.onStarted)===null||d===void 0||d.call(n,{context:l.context});break}case"stopped":{var f;(f=n.onStopped)===null||f===void 0||f.call(n);break}case"data":case void 0:{var p;(p=n.onData)===null||p===void 0||p.call(n,l.result.data);break}}},error(l){var u;(u=n.onError)===null||u===void 0||u.call(n,l)},complete(){var l;(l=n.onComplete)===null||l===void 0||l.call(n)}})}};const p0=Symbol.for("trpc_untypedClient"),NE={query:"query",mutate:"mutation",subscribe:"subscription"},CE=e=>NE[e];function m0(e){const s=Xc(({path:n,args:o})=>{const l=[...n],u=CE(l.pop()),d=l.join(".");return e[u](d,...o)});return fp(n=>n===p0?e:s[n])}function AE(e){const s=new Zc(e);return m0(s)}function mp(e){return e[p0]}at(Bs(),1);at(Bs(),1);var RE=Ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,s){function n(l){var u,d,f,p=2;for(typeof Symbol<"u"&&(d=Symbol.asyncIterator,f=Symbol.iterator);p--;){if(d&&(u=l[d])!=null)return u.call(l);
17if(f&&(u=l[f])!=null)return new o(u.call(l));d="@@asyncIterator",f="@@iterator"}throw new TypeError("Object is not async iterable")}function o(l){function u(d){if(Object(d)!==d)return Promise.reject(new TypeError(d+" is not an object."));var f=d.done;return Promise.resolve(d.value).then(function(p){return{value:p,done:f}})}return o=function(f){this.s=f,this.n=f.next},o.prototype={s:null,n:null,next:function(){return u(this.n.apply(this.s,arguments))},return:function(f){var p=this.s.return;return p===void 0?Promise.resolve({value:f,done:!0}):u(p.apply(this.s,arguments))},throw:function(f){var p=this.s.return;return p===void 0?Promise.reject(f):u(p.apply(this.s,arguments))}},new o(l)}s.exports=n,s.exports.__esModule=!0,s.exports.default=s.exports}});at(RE(),1);at(Bs(),1);var OE=Ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(e,s){function n(){var o=typeof SuppressedError=="function"?SuppressedError:function(f,p){var g=Error();return g.name="SuppressedError",g.error=f,g.suppressed=p,g},l={},u=[];function d(f,p){if(p!=null){if(Object(p)!==p)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(f)var g=p[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(g===void 0&&(g=p[Symbol.dispose||Symbol.for("Symbol.dispose")],f))var x=g;if(typeof g!="function")throw new TypeError("Object is not disposable.");x&&(g=function(){try{x.call(p)}catch(v){return Promise.reject(v)}}),u.push({v:p,d:g,a:f})}else f&&u.push({d:p,a:f});return p}return{e:l,u:d.bind(null,!1),a:d.bind(null,!0),d:function(){var p,g=this.e,x=0;function y(){for(;p=u.pop();)try{if(!p.a&&x===1)return x=0,u.push(p),Promise.resolve().then(y);if(p.d){var k=p.d.call(p.v);if(p.a)return x|=2,Promise.resolve(k).then(y,v)}else x|=1}catch(j){return v(j)}if(x===1)return g!==l?Promise.reject(g):Promise.resolve();if(g!==l)throw g}function v(k){return g=g!==l?new o(k,g):k,y()}return y()}}}s.exports=n,s.exports.__esModule=!0,s.exports.default=s.exports}}),g0=Ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(e,s){function n(o,l){this.v=o,this.k=l}s.exports=n,s.exports.__esModule=!0,s.exports.default=s.exports}}),ME=Ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,s){var n=g0();function o(l){return new n(l,0)}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}}),PE=Ws({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,s){var n=g0();function o(u){return function(){return new l(u.apply(this,arguments))}}function l(u){var d,f;function p(x,y){try{var v=u[x](y),k=v.value,j=k instanceof n;Promise.resolve(j?k.v:k).then(function(E){if(j){var N=x==="return"?"return":"next";if(!k.k||E.done)return p(N,E);E=u[N](E).value}g(v.done?"return":"normal",E)},function(E){p("throw",E)})}catch(E){g("throw",E)}}function g(x,y){switch(x){case"return":d.resolve({value:y,done:!0});break;case"throw":d.reject(y);break;default:d.resolve({value:y,done:!1})}(d=d.next)?p(d.key,d.arg):f=null}this._invoke=function(x,y){return new Promise(function(v,k){var j={key:x,arg:y,resolve:v,reject:k,next:null};f?f=f.next=j:(d=f=j,p(x,y))})},typeof u.return!="function"&&(this.return=void 0)}l.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},l.prototype.next=function(u){return this._invoke("next",u)},l.prototype.throw=function(u){return this._invoke("throw",u)},l.prototype.return=function(u){return this._invoke("return",u)},s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports}});at(OE(),1);at(ME(),1);at(PE(),1);at(Bs(),1);function BE(e){return Xc(({path:s,args:n})=>{var o;const l=[...s],u=l.pop();if(u==="useMutation")return e[u](l,...n);if(u==="_def")return{path:l};const[d,...f]=n,p=(o=f[0])!==null&&o!==void 0?o:{};return e[u](l,d,p)})}var Rh;const DE=["client","ssrContext","ssrState","abortOnUnmount"],_E=(Rh=w.
17createContext)===null||Rh===void 0?void 0:Rh.call(Gv,null),LE=e=>{switch(e){case"queryOptions":case"fetch":case"ensureData":case"prefetch":case"getData":case"setData":case"setQueriesData":return"query";case"infiniteQueryOptions":case"fetchInfinite":case"prefetchInfinite":case"getInfiniteData":case"setInfiniteData":return"infinite";case"setMutationDefaults":case"getMutationDefaults":case"isMutating":case"cancel":case"invalidate":case"refetch":case"reset":return"any"}};function zE(e){return Xc(s=>{const n=[...s.path],o=n.pop(),l=[...s.args],u=l.shift(),d=LE(o),f=qs(n,u,d);return{infiniteQueryOptions:()=>e.infiniteQueryOptions(n,f,l[0]),queryOptions:()=>e.queryOptions(n,f,...l),fetch:()=>e.fetchQuery(f,...l),fetchInfinite:()=>e.fetchInfiniteQuery(f,l[0]),prefetch:()=>e.prefetchQuery(f,...l),prefetchInfinite:()=>e.prefetchInfiniteQuery(f,l[0]),ensureData:()=>e.ensureQueryData(f,...l),invalidate:()=>e.invalidateQueries(f,...l),reset:()=>e.resetQueries(f,...l),refetch:()=>e.refetchQueries(f,...l),cancel:()=>e.cancelQuery(f,...l),setData:()=>{e.setQueryData(f,l[0],l[1])},setQueriesData:()=>e.setQueriesData(f,l[0],l[1],l[2]),setInfiniteData:()=>{e.setInfiniteQueryData(f,l[0],l[1])},getData:()=>e.getQueryData(f),getInfiniteData:()=>e.getInfiniteQueryData(f),setMutationDefaults:()=>e.setMutationDefaults(Nc(n),u),getMutationDefaults:()=>e.getMutationDefaults(Nc(n)),isMutating:()=>e.isMutating({mutationKey:Nc(n)})}[o]()})}function FE(e){const s=m0(e.client),n=zE(e);return fp(o=>{const l=o;return l==="client"?s:DE.includes(l)?e[l]:n[o]})}var HE=ei(Yr(),1);function vb(e){const s=e instanceof Zc?e:mp(e);return Xc(n=>{const o=n.path,l=o.join("."),[u,d]=n.args;return(0,HE.default)({queryKey:qs(o,u,"query"),queryFn:()=>s.query(l,u,d?.trpc)},d)})}var Oh=ei(Yr(),1);function _t(e,s,n){var o;const l=e[0];let u=(o=e[1])===null||o===void 0?void 0:o.input;if(n){var d;u=(0,Oh.default)((0,Oh.default)((0,Oh.default)({},(d=u)!==null&&d!==void 0?d:{}),n.pageParam?{cursor:n.pageParam}:{}),{},{direction:n.direction})}return[l.join("."),u,s?.trpc]}var UE=fn({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,s){function n(l){var u,d,f,p=2;for(typeof Symbol<"u"&&(d=Symbol.asyncIterator,f=Symbol.iterator);p--;){if(d&&(u=l[d])!=null)return u.call(l);if(f&&(u=l[f])!=null)return new o(u.call(l));d="@@asyncIterator",f="@@iterator"}throw new TypeError("Object is not async iterable")}function o(l){function u(d){if(Object(d)!==d)return Promise.reject(new TypeError(d+" is not an object."));var f=d.done;return Promise.resolve(d.value).then(function(p){return{value:p,done:f}})}return o=function(f){this.s=f,this.n=f.next},o.prototype={s:null,n:null,next:function(){return u(this.n.apply(this.s,arguments))},return:function(f){var p=this.s.return;return p===void 0?Promise.resolve({value:f,done:!0}):u(p.apply(this.s,arguments))},throw:function(f){var p=this.s.return;return p===void 0?Promise.reject(f):u(p.apply(this.s,arguments))}},new o(l)}s.exports=n,s.exports.__esModule=!0,s.exports.default=s.exports}}),GE=ei(UE(),1);function wf(e){return{path:e.path.join(".")}}function fr(e){const s=wf(e);return w.useMemo(()=>s,[s])}async function x0(e,s,n){const l=s.getQueryCache().build(s,{queryKey:n});l.setState({data:[],status:"success"});const u=[];var d=!1,f=!1,p;try{for(var g=(0,GE.default)(e),x;d=!(x=await g.next()).done;d=!1){const y=x.value;u.push(y),l.setState({data:[...u]})}}catch(y){f=!0,p=y}finally{try{d&&g.return!=null&&await g.return()}finally{if(f)throw p}}return u}var Be=ei(Yr(),1);function IE(e){const{client:s,queryClient:n}=e,o=s instanceof Zc?s:mp(s);return{infiniteQueryOptions:(l,u,d)=>{var f,p;const g=((f=u[1])===null||f===void 0?void 0:f.input)===os,x=async y=>{var v;const k=(0,Be.default)((0,Be.default)({},d),{},{trpc:(0,Be.default)((0,Be.default)({},d?.trpc),!(d==null||(v=d.trpc)===null||v===void 0)&&v.abortOnUnmount?{signal:y.signal}:{signal:null})});return await o.query(..._t(u,k,{direction:y.direction,pageParam:y.pageParam}))};return Object.assign((0,Be.default)((0,Be.default)({},d),{},{initialData:d?.initialData,queryKey:u,queryFn:g?os:x,initialPageParam:(p=d?.initialCursor)!==null&&p!==void 0?p:null}),{trpc:wf({path:l})})},queryOptions:(l,u,d)=>{var f;
17const p=((f=u[1])===null||f===void 0?void 0:f.input)===os,g=async x=>{var y;const v=(0,Be.default)((0,Be.default)({},d),{},{trpc:(0,Be.default)((0,Be.default)({},d?.trpc),!(d==null||(y=d.trpc)===null||y===void 0)&&y.abortOnUnmount?{signal:x.signal}:{signal:null})}),k=await o.query(..._t(u,v));return Zv(k)?x0(k,n,u):k};return Object.assign((0,Be.default)((0,Be.default)({},d),{},{initialData:d?.initialData,queryKey:u,queryFn:p?os:g}),{trpc:wf({path:l})})},fetchQuery:(l,u)=>n.fetchQuery((0,Be.default)((0,Be.default)({},u),{},{queryKey:l,queryFn:()=>o.query(..._t(l,u))})),fetchInfiniteQuery:(l,u)=>{var d;return n.fetchInfiniteQuery((0,Be.default)((0,Be.default)({},u),{},{queryKey:l,queryFn:({pageParam:f,direction:p})=>o.query(..._t(l,u,{pageParam:f,direction:p})),initialPageParam:(d=u?.initialCursor)!==null&&d!==void 0?d:null}))},prefetchQuery:(l,u)=>n.prefetchQuery((0,Be.default)((0,Be.default)({},u),{},{queryKey:l,queryFn:()=>o.query(..._t(l,u))})),prefetchInfiniteQuery:(l,u)=>{var d;return n.prefetchInfiniteQuery((0,Be.default)((0,Be.default)({},u),{},{queryKey:l,queryFn:({pageParam:f,direction:p})=>o.query(..._t(l,u,{pageParam:f,direction:p})),initialPageParam:(d=u?.initialCursor)!==null&&d!==void 0?d:null}))},ensureQueryData:(l,u)=>n.ensureQueryData((0,Be.default)((0,Be.default)({},u),{},{queryKey:l,queryFn:()=>o.query(..._t(l,u))})),invalidateQueries:(l,u,d)=>n.invalidateQueries((0,Be.default)((0,Be.default)({},u),{},{queryKey:l}),d),resetQueries:(l,u,d)=>n.resetQueries((0,Be.default)((0,Be.default)({},u),{},{queryKey:l}),d),refetchQueries:(l,u,d)=>n.refetchQueries((0,Be.default)((0,Be.default)({},u),{},{queryKey:l}),d),cancelQuery:(l,u)=>n.cancelQueries({queryKey:l},u),setQueryData:(l,u,d)=>n.setQueryData(l,u,d),setQueriesData:(l,u,d,f)=>n.setQueriesData((0,Be.default)((0,Be.default)({},u),{},{queryKey:l}),d,f),getQueryData:l=>n.getQueryData(l),setInfiniteQueryData:(l,u,d)=>n.setQueryData(l,u,d),getInfiniteQueryData:l=>n.getQueryData(l),setMutationDefaults:(l,u)=>{const d=l[0],f=p=>o.mutation(..._t([d,{input:p}],e));return n.setMutationDefaults(l,typeof u=="function"?u({canonicalMutationFn:f}):u)},getMutationDefaults:l=>n.getMutationDefaults(l),isMutating:l=>n.isMutating((0,Be.default)((0,Be.default)({},l),{},{exact:!0}))}}var ce=ei(Yr());const wb=(e,s)=>new Proxy(e,{get(o,l){return s(l),o[l]}});function VE(e){var s,n;const o=(s=void 0)!==null&&s!==void 0?s:F=>F.originalFn(),l=(n=void 0)!==null&&n!==void 0?n:_E,u=AE,d=F=>{var U;const{abortOnUnmount:C=!1,queryClient:D,ssrContext:Z}=F,[K,ae]=w.useState((U=F.ssrState)!==null&&U!==void 0?U:!1),se=F.client instanceof Zc?F.client:mp(F.client),ie=w.useMemo(()=>IE({client:se,queryClient:D}),[se,D]),oe=w.useMemo(()=>(0,ce.default)({abortOnUnmount:C,queryClient:D,client:se,ssrContext:Z??null,ssrState:K},ie),[C,se,ie,D,Z,K]);return w.useEffect(()=>{ae(le=>le?"mounted":!1)},[]),r.jsx(l.Provider,{value:oe,children:F.children})};function f(){const F=w.useContext(l);if(!F)throw new Error("Unable to find tRPC Context. Did you forget to wrap your App inside `withTRPC` HoC?");return F}function p(F,U){var C;const{queryClient:D,ssrState:Z}=f();return Z&&Z!=="mounted"&&((C=D.getQueryCache().find({queryKey:F}))===null||C===void 0?void 0:C.state.status)==="error"?(0,ce.default)({retryOnMount:!1},U):U}function g(F,U,C){var D,Z,K,ae,se;const ie=f(),{abortOnUnmount:oe,client:le,ssrState:M,queryClient:H,prefetchQuery:L}=ie,B=qs(F,U,"query"),te=H.getQueryDefaults(B),T=U===os;typeof window>"u"&&M==="prepass"&&(C==null||(D=C.trpc)===null||D===void 0?void 0:D.ssr)!==!1&&((Z=C?.enabled)!==null&&Z!==void 0?Z:te?.enabled)!==!1&&!T&&!H.getQueryCache().find({queryKey:B})&&L(B,C);const $=p(B,(0,ce.default)((0,ce.default)({},te),C)),V=(K=(ae=C==null||(se=C.trpc)===null||se===void 0?void 0:se.abortOnUnmount)!==null&&ae!==void 0?ae:void 0)!==null&&K!==void 0?K:oe,X=g6((0,ce.default)((0,ce.default)({},$),{},{queryKey:B,queryFn:T?U:async ne=>{const pe=(0,ce.default)((0,ce.default)({},$),{},{trpc:(0,ce.default)((0,ce.default)({},$?.trpc),V?{signal:ne.signal}:{signal:null})}),ue=await le.query(..._t(B,pe));return Zv(ue)?x0(ue,H,B):ue}}),H);return X.trpc=fr({path:F}),X}function x(F,U,C){var D,Z,K;const ae=f(),se=qs(F,U,"query"),ie=U===os,oe=(D=(Z=C==null||(K=C.trpc)===null||K===void 0?void 0:K.abortOnUnmount)!==null&&Z!==void 0?Z:void 0)!==null&&D!==void 0?D:ae.abortOnUnmount;v6((0,ce.default)((0,ce.default)({},C),{},{queryKey:se,queryFn:ie?U:le=>{const M={trpc:(0,ce.default)((0,ce.default)({},C?.trpc),oe?{signal:le.signal}:{})};return ae.client.query(..._t(se,M))}}))}function y(F,U,C){var D,Z,K;const ae=f(),se=qs(F,U,"query"),ie=(D=(Z=C==null||(K=C.trpc)===null||K===void 0?void 0:K.abortOnUnmount)!==null&&Z!==void 0?Z:void 0)!==null&&D!==void 0?D:ae.abortOnUnmount,oe=x6((0,ce.default)((0,ce.default)({},C),{},{queryKey:se,queryFn:le=>{const M=(0,ce.default)((0,ce.default)({},C),{},{trpc:(0,ce.default)((0,ce.default)({},C?.trpc),ie?{signal:le.signal}:{signal:null})});return ae.client.query(..._t(se,M))}}),ae.queryClient);return oe.trpc=fr({path:F}),[oe.data,oe]}function v(F,U){const{client:C,queryClient:D}=f(),Z=Nc(F),K=D.defaultMutationOptions(D.getMutationDefaults(Z)),ae=S6((0,ce.default)((0,ce.default)({},U),{},{mutationKey:Z,mutationFn:se=>C.mutation(..._t([F,{input:se}],U)),onSuccess(...se){var ie,oe;return o({originalFn:()=>{var M,H,L;return(M=U==null||(H=U.onSuccess)===null||H===void 0?void 0:H.call(U,...se))!==null&&M!==void 0?M:K==null||(L=K.onSuccess)===null||L===void 0?void 0:L.call(K,...se)},queryClient:D,meta:(ie=(oe=U?.meta)!==null&&oe!==void 0?oe:K?.meta)!==null&&ie!==void 0?ie:{}})}}),D);return ae.trpc=fr({path:F}),ae}const k={data:void 0,error:null,status:"idle"},j={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function E(F,U,C){var D;const Z=(D=C?.enabled)!==null&&D!==void 0?D:U!==os,K=rn(qs(F,U,"any")),{client:ae}=f(),se=w.useRef(C);w.useEffect(()=>{se.current=C});const[ie]=w.useState(new Set([])),oe=w.useCallback(T=>{ie.add(T)},[ie]),le=w.useRef(null),M=w.useCallback(T=>{const $=L.current,V=L.current=T($);let X=!1;for(const ne of ie)if($[ne]!==V[ne]){X=!0;break}X&&te(wb(V,oe))},[oe,ie]),H=w.useCallback(()=>{var T;if((T=le.current)===null||T===void 0||T.unsubscribe(),!Z){M(()=>(0,ce.default)((0,ce.default)({},k),{},{reset:H}));return}M(()=>(0,ce.default)((0,ce.default)({},j),{},{reset:H}));const $=ae.subscription(F.join("."),U??void 0,{onStarted:()=>{var V,X;(V=(X=se.current).onStarted)===null||V===void 0||V.call(X),M(ne=>(0,ce.default)((0,ce.default)({},ne),{},{status:"pending",error:null}))},onData:V=>{var X,ne;(X=(ne=se.current).onData)===null||X===void 0||X.call(ne,V),M(pe=>
17(0,ce.default)((0,ce.default)({},pe),{},{status:"pending",data:V,error:null}))},onError:V=>{var X,ne;(X=(ne=se.current).onError)===null||X===void 0||X.call(ne,V),M(pe=>(0,ce.default)((0,ce.default)({},pe),{},{status:"error",error:V}))},onConnectionStateChange:V=>{M(X=>{switch(V.state){case"idle":return(0,ce.default)((0,ce.default)({},X),{},{status:V.state,error:null,data:void 0});case"connecting":return(0,ce.default)((0,ce.default)({},X),{},{error:V.error,status:V.state});case"pending":return X}})},onComplete:()=>{var V,X;(V=(X=se.current).onComplete)===null||V===void 0||V.call(X),M(ne=>(0,ce.default)((0,ce.default)({},ne),{},{status:"idle",error:null,data:void 0}))}});le.current=$},[ae,K,Z,M]);w.useEffect(()=>(H(),()=>{var T;(T=le.current)===null||T===void 0||T.unsubscribe()}),[H]);const L=w.useRef(Z?(0,ce.default)((0,ce.default)({},j),{},{reset:H}):(0,ce.default)((0,ce.default)({},k),{},{reset:H})),[B,te]=w.useState(wb(L.current,oe));return B}function N(F,U,C){var D,Z,K,ae,se;const{client:ie,ssrState:oe,prefetchInfiniteQuery:le,queryClient:M,abortOnUnmount:H}=f(),L=qs(F,U,"infinite"),B=M.getQueryDefaults(L),te=U===os;typeof window>"u"&&oe==="prepass"&&(C==null||(D=C.trpc)===null||D===void 0?void 0:D.ssr)!==!1&&((Z=C?.enabled)!==null&&Z!==void 0?Z:B?.enabled)!==!1&&!te&&!M.getQueryCache().find({queryKey:L})&&le(L,(0,ce.default)((0,ce.default)({},B),C));const T=p(L,(0,ce.default)((0,ce.default)({},B),C)),$=(K=C==null||(ae=C.trpc)===null||ae===void 0?void 0:ae.abortOnUnmount)!==null&&K!==void 0?K:H,V=k6((0,ce.default)((0,ce.default)({},T),{},{initialPageParam:(se=C.initialCursor)!==null&&se!==void 0?se:null,persister:C.persister,queryKey:L,queryFn:te?U:X=>{var ne;const pe=(0,ce.default)((0,ce.default)({},T),{},{trpc:(0,ce.default)((0,ce.default)({},T?.trpc),$?{signal:X.signal}:{signal:null})});return ie.query(..._t(L,pe,{pageParam:(ne=X.pageParam)!==null&&ne!==void 0?ne:C.initialCursor,direction:X.direction}))}}),M);return V.trpc=fr({path:F}),V}function O(F,U,C){var D,Z,K;const ae=f(),se=qs(F,U,"infinite"),ie=ae.queryClient.getQueryDefaults(se),oe=U===os,le=p(se,(0,ce.default)((0,ce.default)({},ie),C)),M=(D=C==null||(Z=C.trpc)===null||Z===void 0?void 0:Z.abortOnUnmount)!==null&&D!==void 0?D:ae.abortOnUnmount;w6((0,ce.default)((0,ce.default)({},C),{},{initialPageParam:(K=C.initialCursor)!==null&&K!==void 0?K:null,queryKey:se,queryFn:oe?U:H=>{var L;const B=(0,ce.default)((0,ce.default)({},le),{},{trpc:(0,ce.default)((0,ce.default)({},le?.trpc),M?{signal:H.signal}:{})});return ae.client.query(..._t(se,B,{pageParam:(L=H.pageParam)!==null&&L!==void 0?L:C.initialCursor,direction:H.direction}))}}))}function R(F,U,C){var D,Z,K;const ae=f(),se=qs(F,U,"infinite"),ie=ae.queryClient.getQueryDefaults(se),oe=p(se,(0,ce.default)((0,ce.default)({},ie),C)),le=(D=C==null||(Z=C.trpc)===null||Z===void 0?void 0:Z.abortOnUnmount)!==null&&D!==void 0?D:ae.abortOnUnmount,M=y6((0,ce.default)((0,ce.default)({},C),{},{initialPageParam:(K=C.initialCursor)!==null&&K!==void 0?K:null,queryKey:se,queryFn:H=>{var L;const B=(0,ce.default)((0,ce.default)({},oe),{},{trpc:(0,ce.default)((0,ce.default)({},oe?.trpc),le?{signal:H.signal}:{})});return ae.client.query(..._t(se,B,{pageParam:(L=H.pageParam)!==null&&L!==void 0?L:C.initialCursor,direction:H.direction}))}}),ae.queryClient);return M.trpc=fr({path:F}),[M.data,M]}return{Provider:d,createClient:u,useContext:f,useUtils:f,useQuery:g,usePrefetchQuery:x,useSuspenseQuery:y,useQueries:(F,U)=>{const{ssrState:C,queryClient:D,prefetchQuery:Z,client:K}=f(),ae=vb(K),se=F(ae);if(typeof window>"u"&&C==="prepass")for(const oe of se){var ie;const le=oe;((ie=le.trpc)===null||ie===void 0?void 0:ie.ssr)!==!1&&!D.getQueryCache().find({queryKey:le.queryKey})&&Z(le.queryKey,le)}return Wv({queries:se.map(oe=>(0,ce.default)((0,ce.default)({},oe),{},{queryKey:oe.queryKey})),combine:U?.combine},D)},useSuspenseQueries:F=>{const{queryClient:U,client:C}=f(),D=vb(C),Z=F(D),K=b6({queries:Z.map(ae=>(0,ce.default)((0,ce.default)({},ae),{},{queryFn:ae.queryFn,queryKey:ae.queryKey}))},U);return[K.map(ae=>ae.data),K]},useMutation:v,useSubscription:E,useInfiniteQuery:N,usePrefetchInfiniteQuery:O,useSuspenseInfiniteQuery:R}}function qE(e){const s=BE(e);return fp(n=>n==="useContext"||n==="useUtils"?()=>{const o=e.useUtils();return w.useMemo(()=>FE(o),[o])}:e.hasOwnProperty(n)?e[n]:s[n])}function QE(e){const s=VE();return qE(s)}const ws=QE(),YE="Please login (10001)";var Mh={exports:{}},pr={},Ph={exports:{}},Bh={};/** 18 * @license React 19 * scheduler.production.js 20 * 21 * Copyright (c) Meta Platforms, Inc. and 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 Sb;function $E(){return Sb||(Sb=1,(function(e){function s(M,H){var L=M.length;M.push(H);e:for(;0<L;){var B=L-1>>>1,te=M[B];if(0<l(te,H))M[B]=H,M[L]=te,L=B;else break e}}function n(M){return M.length===0?null:M[0]}function o(M){if(M.length===0)return null;var H=M[0],L=M.pop();if(L!==H){M[0]=L;e:for(var B=0,te=M.length,T=te>>>1;B<T;){var $=2*(B+1)-1,V=M[$],X=$+1,ne=M[X];if(0>l(V,L))X<te&&0>l(ne,V)?(M[B]=ne,M[X]=L,B=X):(M[B]=V,M[$]=L,B=$);else if(X<te&&0>l(ne,L))M[B]=ne,M[X]=L,B=X;else break e}}return H}function l(M,H){var L=M.sortIndex-H.sortIndex;return L!==0?L:M.id-H.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var d=Date,f=d.now();e.unstable_now=function(){return d.now()-f}}var p=[],g=[],x=1,y=null,v=3,k=!1,j=!1,E=!1,N=!1,O=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function Q(M){for(var H=n(g);H!==null;){if(H.callback===null)o(g);else if(H.startTime<=M)o(g),H.sortIndex=H.expirationTime,s(p,H);else break;H=n(g)}}function F(M){if(E=!1,Q(M),!j)if(n(p)!==null)j=!0,U||(U=!0,se());else{var H=n(g);H!==null&&le(F,H.startTime-M)}}var U=!1,C=-1,D=5,Z=-1;function K(){return N?!0:!(e.unstable_now()-Z<D)}function ae(){if(N=!1,U){var M=e.unstable_now();Z=M;var H=!0;try{e:{j=!1,E&&(E=!1,R(C),C=-1),k=!0;var L=v;try{t:{for(Q(M),y=n(p);y!==null&&!(y.expirationTime>M&&K());){var B=y.callback;if(typeof B=="function"){y.callback=null,v=y.priorityLevel;var te=B(y.expirationTime<=M);if(M=e.unstable_now(),typeof te=="function"){y.callback=te,Q(M),H=!0;break t}y===n(p)&&o(p),Q(M)}else o(p);y=n(p)}if(y!==null)H=!0;else{var T=n(g);T!==null&&le(F,T.startTime-M),H=!1}
vendor: 7,137 bytes, lines 25-41
25}break e}finally{y=null,v=L,k=!1}H=void 0}}finally{H?se():U=!1}}}var se;if(typeof _=="function")se=function(){_(ae)};else if(typeof MessageChannel<"u"){var ie=new MessageChannel,oe=ie.port2;ie.port1.onmessage=ae,se=function(){oe.postMessage(null)}}else se=function(){O(ae,0)};function le(M,H){C=O(function(){M(e.unstable_now())},H)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_next=function(M){switch(v){case 1:case 2:case 3:var H=3;break;default:H=v}var L=v;v=H;try{return M()}finally{v=L}},e.unstable_requestPaint=function(){N=!0},e.unstable_runWithPriority=function(M,H){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var L=v;v=M;try{return H()}finally{v=L}},e.unstable_scheduleCallback=function(M,H,L){var B=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?B+L:B):L=B,M){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=L+te,M={id:x++,callback:H,priorityLevel:M,startTime:L,expirationTime:te,sortIndex:-1},L>B?(M.sortIndex=L,s(g,M),n(p)===null&&M===n(g)&&(E?(R(C),C=-1):E=!0,le(F,L-B))):(M.sortIndex=te,s(p,M),j||k||(j=!0,U||(U=!0,se()))),M},e.unstable_shouldYield=K,e.unstable_wrapCallback=function(M){var H=v;return function(){var L=v;v=H;try{return M.apply(this,arguments)}finally{v=L}}}})(Bh)),Bh}var kb;function KE(){return kb||(kb=1,Ph.exports=$E()),Ph.exports}var Dh={exports:{}},Nt={};/** 26 * @license React 27 * react-dom.production.js 28 * 29 * Copyright (c) Meta Platforms, Inc. and 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 jb;function XE(){if(jb)return Nt;jb=1;var e=Yc();function s(p){var g="https://react.dev/errors/"+p;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)g+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+p+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var o={d:{f:n,r:function(){throw Error(s(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},l=Symbol.for("react.portal");function u(p,g,x){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:y==null?null:""+y,children:p,containerInfo:g,implementation:x}}var d=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(p,g){if(p==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return Nt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Nt.createPortal=function(p,g){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(s(299));return u(p,g,null,x)},Nt.flushSync=function(p){var g=d.T,x=o.p;try{if(d.T=null,o.p=2,p)return p()}finally{d.T=g,o.p=x,o.d.f()}},Nt.preconnect=function(p,g){typeof p=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,o.d.C(p,g))},Nt.prefetchDNS=function(p){typeof p=="string"&&o.d.D(p)},Nt.preinit=function(p,g){if(typeof p=="string"&&g&&typeof g.as=="string"){var x=g.as,y=f(x,g.crossOrigin),v=typeof g.integrity=="string"?g.integrity:void 0,k=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;x==="style"?o.d.S(p,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:y,integrity:v,fetchPriority:k}):x==="script"&&o.d.X(p,{crossOrigin:y,integrity:v,fetchPriority:k,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},Nt.preinitModule=function(p,g){if(typeof p=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var x=f(g.as,g.crossOrigin);o.d.M(p,{crossOrigin:x,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&o.d.M(p)},Nt.preload=function(p,g){if(typeof p=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var x=g.as,y=f(x,g.crossOrigin);o.d.L(p,x,{crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},Nt.preloadModule=function(p,g){if(typeof p=="string")if(g){var x=f(g.as,g.crossOrigin);o.d.m(p,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:x,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else o.d.m(p)},Nt.requestFormReset=function(p){o.d.r(p)},Nt.unstable_batchedUpdates=function(p,g){return p(g)},Nt.useFormState=function(p,g,x){return d.H.useFormState(p,g,x)},Nt.useFormStatus=function(){return d.H.useHostTransitionStatus()},Nt.version="19.2.1",Nt}var Eb;function y0(){if(Eb)return Dh.exports;Eb=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(s){console.error(s)}}return e(),Dh.exports=XE(),Dh.exports}/** 34 * @license React 35 * react-dom-client.production.js 36 * 37 * Copyright (c) Meta Platforms, Inc. and affiliates. 38 * 39 * This source code is licensed under the MIT license found in the 40 * LICENSE file in the root directory of this source tree. 41 */var Tb;function WE(){if(Tb)return pr;Tb=1;var e=KE(),s=Yc(),n=y0();function o(t){var a="https://react.dev/errors/"+t;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)a+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+t+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function u(t){var a=t,i=t;if(t.alternate)for(;a.return;)a=a.return;else{t=a;do a=t,(a.flags&4098)!==0&&(i=a.return),t=a.return;while(t)}return a.tag===3?i:null}function d(t){if(t.tag===13){var a=t.memoizedState;if(a===null&&(t=t.alternate,t!==null&&(a=t.memoizedState)),a!==null)return a.dehydrated}return null}function f(t){if(t.tag===31){var a=t.memoizedState;if(a===null&&(t=t.alternate,t!==null&&(a=t.memoizedState)),a!==null)return a.dehydrated}return null}function p(t){if(u(t)!==t)throw Error(o(188))}function g(t){var a=t.alternate;if(!a){if(a=u(t),a===null)throw Error(o(188));return a!==t?null:t}for(var i=t,c=a;;){var h=i.return;if(h===null)break;var m=h.alternate;
vendor: 15,914 bytes, lines 41-48
41if(m===null){if(c=h.return,c!==null){i=c;continue}break}if(h.child===m.child){for(m=h.child;m;){if(m===i)return p(h),t;if(m===c)return p(h),a;m=m.sibling}throw Error(o(188))}if(i.return!==c.return)i=h,c=m;else{for(var b=!1,S=h.child;S;){if(S===i){b=!0,i=h,c=m;break}if(S===c){b=!0,c=h,i=m;break}S=S.sibling}if(!b){for(S=m.child;S;){if(S===i){b=!0,i=m,c=h;break}if(S===c){b=!0,c=m,i=h;break}S=S.sibling}if(!b)throw Error(o(189))}}if(i.alternate!==c)throw Error(o(190))}if(i.tag!==3)throw Error(o(188));return i.stateNode.current===i?t:a}function x(t){var a=t.tag;if(a===5||a===26||a===27||a===6)return t;for(t=t.child;t!==null;){if(a=x(t),a!==null)return a;t=t.sibling}return null}var y=Object.assign,v=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),E=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),_=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),U=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),K=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function se(t){return t===null||typeof t!="object"?null:(t=ae&&t[ae]||t["@@iterator"],typeof t=="function"?t:null)}var ie=Symbol.for("react.client.reference");function oe(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===ie?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case E:return"Fragment";case O:return"Profiler";case N:return"StrictMode";case F:return"Suspense";case U:return"SuspenseList";case Z:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case j:return"Portal";case _:return t.displayName||"Context";case R:return(t._context.displayName||"Context")+".Consumer";case Q:var a=t.render;return t=t.displayName,t||(t=a.displayName||a.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case C:return a=t.displayName||null,a!==null?a:oe(t.type)||"Memo";case D:a=t._payload,t=t._init;try{return oe(t(a))}catch{}}return null}var le=Array.isArray,M=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},B=[],te=-1;function T(t){return{current:t}}function $(t){0>te||(t.current=B[te],B[te]=null,te--)}function V(t,a){te++,B[te]=t.current,t.current=a}var X=T(null),ne=T(null),pe=T(null),ue=T(null);function be(t,a){switch(V(pe,a),V(ne,t),V(X,null),a.nodeType){case 9:case 11:t=(t=a.documentElement)&&(t=t.namespaceURI)?jy(t):0;break;default:if(t=a.tagName,a=a.namespaceURI)a=jy(a),t=Ey(a,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}$(X),V(X,t)}function Re(){$(X),$(ne),$(pe)}function xt(t){t.memoizedState!==null&&V(ue,t);var a=X.current,i=Ey(a,t.type);a!==i&&(V(ne,t),V(X,i))}function Ot(t){ne.current===t&&($(X),$(ne)),ue.current===t&&($(ue),lr._currentValue=L)}var yt,Js;function js(t){if(yt===void 0)try{throw Error()}catch(i){var a=i.stack.trim().match(/\n( *(at )?)/);yt=a&&a[1]||"",Js=-1<i.stack.indexOf(` 42 at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return` 43`+yt+t+Js}var xo=!1;function ni(t,a){if(!t||xo)return"";xo=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(a){var ee=function(){throw Error()};if(Object.defineProperty(ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ee,[])}catch(Y){var q=Y}Reflect.construct(t,[],ee)}else{try{ee.call()}catch(Y){q=Y}t.call(ee.prototype)}}else{try{throw Error()}catch(Y){q=Y}(ee=t())&&typeof ee.catch=="function"&&ee.catch(function(){})}}catch(Y){if(Y&&q&&typeof Y.stack=="string")return[Y.stack,q.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var h=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");h&&h.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=c.DetermineComponentFrameRoot(),b=m[0],S=m[1];if(b&&S){var A=b.split(` 44`),I=S.split(` 45`);for(h=c=0;c<A.length&&!A[c].includes("DetermineComponentFrameRoot");)c++;for(;h<I.length&&!I[h].includes("DetermineComponentFrameRoot");)h++;if(c===A.length||h===I.length)for(c=A.length-1,h=I.length-1;1<=c&&0<=h&&A[c]!==I[h];)h--;for(;1<=c&&0<=h;c--,h--)if(A[c]!==I[h]){if(c!==1||h!==1)do if(c--,h--,0>h||A[c]!==I[h]){var W=` 46`+A[c].replace(" at new "," at ");return t.displayName&&W.includes("<anonymous>")&&(W=W.replace("<anonymous>",t.displayName)),W}while(1<=c&&0<=h);break}}}finally{xo=!1,Error.prepareStackTrace=i}return(i=t?t.displayName||t.name:"")?js(i):""}function mn(t,a){switch(t.tag){case 26:case 27:case 5:return js(t.type);case 16:return js("Lazy");case 13:return t.child!==a&&a!==null?js("Suspense Fallback"):js("Suspense");case 19:return js("SuspenseList");case 0:case 15:return ni(t.type,!1);case 11:return ni(t.type.render,!1);case 1:return ni(t.type,!0);case 31:return js("Activity");default:return""}}function yo(t){try{var a="",i=null;do a+=mn(t,i),i=t,t=t.return;while(t);return a}catch(c){return` 47Error generating stack: `+c.message+` 48`+c.stack}}var Xt=Object.prototype.hasOwnProperty,bo=e.unstable_scheduleCallback,vo=e.unstable_cancelCallback,Mt=e.unstable_shouldYield,Ca=e.unstable_requestPaint,Pt=e.unstable_now,pu=e.unstable_getCurrentPriorityLevel,gn=e.unstable_ImmediatePriority,el=e.unstable_UserBlockingPriority,xn=e.unstable_NormalPriority,wo=e.unstable_LowPriority,ea=e.unstable_IdlePriority,tl=e.log,Aa=e.unstable_setDisableYieldValue,yn=null,Bt=null;function Es(t){if(typeof tl=="function"&&Aa(t),Bt&&typeof Bt.setStrictMode=="function")try{Bt.setStrictMode(yn,t)}catch{}}var Et=Math.clz32?Math.clz32:Ds,mu=Math.log,So=Math.LN2;function Ds(t){return t>>>=0,t===0?32:31-(mu(t)/So|0)|0}var ii=256,oi=262144,bn=4194304;function _s(t){var a=t&42;if(a!==0)return a;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function ve(t,a,i){var c=t.pendingLanes;if(c===0)return 0;var h=0,m=t.suspendedLanes,b=t.pingedLanes;t=t.warmLanes;var S=c&134217727;return S!==0?(c=S&~m,c!==0?h=_s(c):(b&=S,b!==0?h=_s(b):i||(i=S&~t,i!==0&&(h=_s(i))))):(S=c&~m,S!==0?h=_s(S):b!==0?h=_s(b):i||(i=c&~t,i!==0&&(h=_s(i)))),h===0?0:a!==0&&a!==h&&(a&m)===0&&(m=h&-h,i=a&-a,m>=i||m===32&&(i&4194048)!==0)?a:h}function Ve(t,a){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&a)===0}function pt(t,a){switch(t){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Tt(){var t=bn;return bn<<=1,(bn&62914560)===0&&(bn=4194304),t}function Ra(t){for(var a=[],i=0;31>i;i++)a.push(t);return a}function Ye(t,a){t.pendingLanes|=a,a!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function zt(t,a,i,c,h,m){var b=t.pendingLanes;t.pendingLanes=i,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=i,t.entangledLanes&=i,t.errorRecoveryDisabledLanes&=i,t.shellSuspendCounter=0;var S=t.entanglements,A=t.expirationTimes,I=t.hiddenUpdates;for(i=b&~i;0<i;){var W=31-Et(i),ee=1<<W;S[W]=0,A[W]=-1;var q=I[W];if(q!==null)for(I[W]=null,W=0;W<q.length;W++){var Y=q[W];Y!==null&&(Y.lane&=-536870913)}i&=~ee}c!==0&&vn(t,c,0),m!==0&&h===0&&t.tag!==0&&(t.suspendedLanes|=m&~(b&~a))}function vn(t,a,i){t.pendingLanes|=a,t.suspendedLanes&=~a;var c=31-Et(a);t.entangledLanes|=a,t.entanglements[c]=t.entanglements[c]|1073741824|i&261930}function Ft(t,a){var i=t.entangledLanes|=a;for(t=t.entanglements;i;){var c=31-Et(i),h=1<<c;h&a|t[c]&a&&(t[c]|=a),i&=~h}}function Ht(t,a){var i=a&-a;return i=(i&42)!==0?1:ri(i),(i&(t.suspendedLanes|a))!==0?0:i}function ri(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Ts(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function gu(){var t=H.p;return t!==0?t:(t=window.event,t===void 0?32:$y(t.type))}function um(t,a){var i=H.p;try{return H.p=t,a()}finally{H.p=i}}var Oa=Math.random().toString(36).slice(2),bt="__reactFiber$"+Oa,Ut="__reactProps$"+Oa,li="__reactContainer$"+Oa,xu="__reactEvents$"+Oa,jS="__reactListeners$"+Oa,ES="__reactHandles$"+Oa,dm="__reactResources$"+Oa,ko="__reactMarker$"+Oa;function yu(t){delete t[bt],delete t[Ut],delete t[xu],delete t[jS],delete t[ES]}function ci(t){var a=t[bt];if(a)return a;for(var i=t.parentNode;i;){if(a=i[li]||i[bt]){if(i=a.alternate,a.child!==null||i!==null&&i.child!==null)for(t=My(t);t!==null;){if(i=t[bt])return i;t=My(t)}return a}t=i,i=t.parentNode}return null}function ui(t){if(t=t[bt]||t[li]){var a=t.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return t}return null}function jo(t){var a=t.tag;if(a===5||a===26||a===27||a===6)return t.stateNode;throw Error(o(33))}function di(t){var a=t[dm];return a||(a=t[dm]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function mt(t){t[ko]=!0}var hm=new Set,fm={};function wn(t,a){hi(t,a),hi(t+"Capture",a)}function hi(t,a){for(fm[t]=a,t=0;t<a.length;t++)hm.add(a[t])}var TS=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),pm={},mm={};function NS(t){return Xt.call(mm,t)?!0:Xt.call(pm,t)?!1:TS.test(t)?mm[t]=!0:(pm[t]=!0,!1)}function sl(t,a,i){if(NS(a))if(i===null)t.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":t.removeAttribute(a);return;case"boolean":var c=a.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){t.removeAttribute(a);return}}t.setAttribute(a,""+i)}}function al(t,a,i){if(i===null)t.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}t.setAttribute(a,""+i)}}function ta(t,a,i,c){if(c===null)t.removeAttribute(i);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttributeNS(a,i,""+c)}}function ls(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function gm(t){var a=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function CS(t,a,i){var c=Object.getOwnPropertyDescriptor(t.constructor.prototype,a);if(!t.hasOwnProperty(a)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var h=c.get,m=c.set;return Object.defineProperty(t,a,{configurable:!0,get:function(){return h.call(this)},set:function(b){i=""+b,m.call(this,b)}}),Object.defineProperty(t,a,{enumerable:c.enumerable}),{getValue:function(){return i},setValue:function(b){i=""+b},stopTracking:function(){t._valueTracker=null,delete t[a]}}}}function bu(t){if(!t._valueTracker){var a=gm(t)?"checked":"value";t._valueTracker=CS(t,a,""+t[a])}}function xm(t){if(!t)return!1;var a=t._valueTracker;if(!a)return!0;var i=a.getValue(),c="";return t&&(c=gm(t)?t.checked?"true":"false":t.value),t=c,t!==i?(a.setValue(t),!0):!1}function nl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var AS=/[\n"\\]/g;function cs(t){return t.replace(AS,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function vu(t,a,i,c,h,m,b,S){t.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.type=b:t.removeAttribute("type"),a!=null?b==="number"?(a===0&&t.value===""||t.value!=a)&&(t.value=""+ls(a)):t.value!==""+ls(a)&&(t.value=""+ls(a)):b!=="submit"&&b!=="reset"||t.removeAttribute("value"),a!=null?wu(t,b,ls(a)):i!=null?wu(t,b,ls(i)):c!=null&&t.removeAttribute("value"),h==null&&m!=null&&(t.defaultChecked=!!m),h!=null&&(t.checked=h&&typeof h!="function"&&typeof h!="symbol"),S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?t.name=""+ls(S):t.removeAttribute("name")}function ym(t,a,i,c,h,m,b,S){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.type=m),a!=null||i!=null){if(!(m!=="submit"&&m!=="reset"||a!=null)){bu(t);return}i=i!=null?""+ls(i):"",a=a!=null?""+ls(a):i,S||a===t.value||(t.value=a),t.defaultValue=a}c=c??h,c=typeof c!="function"&&typeof c!="symbol"&&!!c,t.checked=S?t.checked:!!c,t.defaultChecked=!!c,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(t.name=b),bu(t)}function wu(t,a,i){a==="number"&&nl(t.ownerDocument)===t||t.defaultValue===""+i||(t.defaultValue=""+i)}function fi(t,a,i,c){if(t=t.options,a){a={};for(var h=0;h<i.length;h++)a["$"+i[h]]=!0;for(i=0;i<t.length;i++)h=a.hasOwnProperty("$"+t[i].value),t[i].selected!==h&&(t[i].selected=h),h&&c&&(t[i].defaultSelected=!0)}else{for(i=""+ls(i),a=null,h=0;h<t.length;h++){if(t[h].value===i){t[h].selected=!0,c&&(t[h].defaultSelected=!0);return}a!==null||t[h].disabled||(a=t[h])}a!==null&&(a.selected=!0)}}function bm(t,a,i){if(a!=null&&(a=""+ls(a),a!==t.value&&(t.value=a),i==null)){t.defaultValue!==a&&(t.defaultValue=a);return}t.defaultValue=i!=null?""+ls(i):""}function vm(t,a,i,c){if(a==null){if(c!=null){if(i!=null)throw Error(o(92));if(le(c)){if(1<c.length)throw Error(o(93));c=c[0]}i=c}i==null&&(i=""),a=i}i=ls(a),t.defaultValue=i,c=t.textContent,c===i&&c!==""&&c!==null&&(t.value=c),bu(t)}function pi(t,a){if(a){var i=t.firstChild;if(i&&i===t.lastChild&&i.nodeType===3){i.nodeValue=a;return}}t.textContent=a}var RS=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function wm(t,a,i){var c=a.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?c?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="":c?t.setProperty(a,i):typeof i!="number"||i===0||RS.has(a)?a==="float"?t.cssFloat=i:t[a]=(""+i).trim():t[a]=i+"px"}
vendor: 4,435 bytes, line 48
48function Sm(t,a,i){if(a!=null&&typeof a!="object")throw Error(o(62));if(t=t.style,i!=null){for(var c in i)!i.hasOwnProperty(c)||a!=null&&a.hasOwnProperty(c)||(c.indexOf("--")===0?t.setProperty(c,""):c==="float"?t.cssFloat="":t[c]="");for(var h in a)c=a[h],a.hasOwnProperty(h)&&i[h]!==c&&wm(t,h,c)}else for(var m in a)a.hasOwnProperty(m)&&wm(t,m,a[m])}function Su(t){if(t.indexOf("-")===-1)return!1;switch(t){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 OS=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),MS=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function il(t){return MS.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function sa(){}var ku=null;function ju(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var mi=null,gi=null;function km(t){var a=ui(t);if(a&&(t=a.stateNode)){var i=t[Ut]||null;e:switch(t=a.stateNode,a.type){case"input":if(vu(t,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),a=i.name,i.type==="radio"&&a!=null){for(i=t;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+cs(""+a)+'"][type="radio"]'),a=0;a<i.length;a++){var c=i[a];if(c!==t&&c.form===t.form){var h=c[Ut]||null;if(!h)throw Error(o(90));vu(c,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(a=0;a<i.length;a++)c=i[a],c.form===t.form&&xm(c)}break e;case"textarea":bm(t,i.value,i.defaultValue);break e;case"select":a=i.value,a!=null&&fi(t,!!i.multiple,a,!1)}}}var Eu=!1;
vendor: 9,286 bytes, line 48
48function jm(t,a,i){if(Eu)return t(a,i);Eu=!0;try{var c=t(a);return c}finally{if(Eu=!1,(mi!==null||gi!==null)&&(Ql(),mi&&(a=mi,t=gi,gi=mi=null,km(a),t)))for(a=0;a<t.length;a++)km(t[a])}}function Eo(t,a){var i=t.stateNode;if(i===null)return null;var c=i[Ut]||null;if(c===null)return null;i=c[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(t=t.type,c=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!c;break e;default:t=!1}if(t)return null;if(i&&typeof i!="function")throw Error(o(231,a,typeof i));return i}var aa=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Tu=!1;if(aa)try{var To={};Object.defineProperty(To,"passive",{get:function(){Tu=!0}}),window.addEventListener("test",To,To),window.removeEventListener("test",To,To)}catch{Tu=!1}var Ma=null,Nu=null,ol=null;function Em(){if(ol)return ol;var t,a=Nu,i=a.length,c,h="value"in Ma?Ma.value:Ma.textContent,m=h.length;for(t=0;t<i&&a[t]===h[t];t++);var b=i-t;for(c=1;c<=b&&a[i-c]===h[m-c];c++);return ol=h.slice(t,1<c?1-c:void 0)}function rl(t){var a=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&a===13&&(t=13)):t=a,t===10&&(t=13),32<=t||t===13?t:0}function ll(){return!0}function Tm(){return!1}function Gt(t){function a(i,c,h,m,b){this._reactName=i,this._targetInst=h,this.type=c,this.nativeEvent=m,this.target=b,this.currentTarget=null;for(var S in t)t.hasOwnProperty(S)&&(i=t[S],this[S]=i?i(m):m[S]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?ll:Tm,this.isPropagationStopped=Tm,this}return y(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=ll)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=ll)},persist:function(){},isPersistent:ll}),a}var Sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cl=Gt(Sn),No=y({},Sn,{view:0,detail:0}),PS=Gt(No),Cu,Au,Co,ul=y({},No,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ou,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Co&&(Co&&t.type==="mousemove"?(Cu=t.screenX-Co.screenX,Au=t.screenY-Co.screenY):Au=Cu=0,Co=t),Cu)},movementY:function(t){return"movementY"in t?t.movementY:Au}}),Nm=Gt(ul),BS=y({},ul,{dataTransfer:0}),DS=Gt(BS),_S=y({},No,{relatedTarget:0}),Ru=Gt(_S),LS=y({},Sn,{animationName:0,elapsedTime:0,pseudoElement:0}),zS=Gt(LS),FS=y({},Sn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),HS=Gt(FS),US=y({},Sn,{data:0}),Cm=Gt(US),GS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},IS={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"},VS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qS(t){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(t):(t=VS[t])?!!a[t]:!1}function Ou(){return qS}var QS=y({},No,{key:function(t){if(t.key){var a=GS[t.key]||t.key;if(a!=="Unidentified")return a}return t.type==="keypress"?(t=rl(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?IS[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ou,charCode:function(t){return t.type==="keypress"?rl(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?rl(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),YS=Gt(QS),$S=y({},ul,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Am=Gt($S),KS=y({},No,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ou}),XS=Gt(KS),WS=y({},Sn,{propertyName:0,elapsedTime:0,pseudoElement:0}),ZS=Gt(WS),JS=y({},ul,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),ek=Gt(JS),tk=y({},Sn,{newState:0,oldState:0}),sk=Gt(tk),ak=[9,13,27,32],Mu=aa&&"CompositionEvent"in window,Ao=null;aa&&"documentMode"in document&&(Ao=document.documentMode);var nk=aa&&"TextEvent"in window&&!Ao,Rm=aa&&(!Mu||Ao&&8<Ao&&11>=Ao),Om=" ",Mm=!1;function Pm(t,a){switch(t){case"keyup":return ak.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bm(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var xi=!1;function ik(t,a){switch(t){case"compositionend":return Bm(a);case"keypress":return a.which!==32?null:(Mm=!0,Om);case"textInput":return t=a.data,t===Om&&Mm?null:t;default:return null}}function ok(t,a){if(xi)return t==="compositionend"||!Mu&&Pm(t,a)?(t=Em(),ol=Nu=Ma=null,xi=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Rm&&a.locale!=="ko"?null:a.data;default:return null}}var rk={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 Dm(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a==="input"?!!rk[t.type]:a==="textarea"}function _m(t,a,i,c){mi?gi?gi.push(c):gi=[c]:mi=c,a=Jl(a,"onChange"),0<a.length&&(i=new cl("onChange","change",null,i,c),t.push({event:i,listeners:a}))}var Ro=null,Oo=null;function lk(t){yy(t,0)}function dl(t){var a=jo(t);if(xm(a))return t}function Lm(t,a){if(t==="change")return a}var zm=!1;if(aa){var Pu;if(aa){var Bu="oninput"in document;if(!Bu){var Fm=document.createElement("div");Fm.setAttribute("oninput","return;"),Bu=typeof Fm.oninput=="function"}Pu=Bu}else Pu=!1;zm=Pu&&(!document.documentMode||9<document.documentMode)}function Hm(){Ro&&(Ro.detachEvent("onpropertychange",Um),Oo=Ro=null)}function Um(t){if(t.propertyName==="value"&&dl(Oo)){var a=[];_m(a,Oo,t,ju(t)),jm(lk,a)}}function ck(t,a,i){t==="focusin"?(Hm(),Ro=a,Oo=i,Ro.attachEvent("onpropertychange",Um)):t==="focusout"&&Hm()}function uk(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return dl(Oo)}function dk(t,a){if(t==="click")return dl(a)}function hk(t,a){if(t==="input"||t==="change")return dl(a)}function fk(t,a){return t===a&&(t!==0||1/t===1/a)||t!==t&&a!==a}var Wt=typeof Object.is=="function"?Object.is:fk;function Mo(t,a){if(Wt(t,a))return!0;if(typeof t!="object"||t===null||typeof a!="object"||a===null)return!1;var i=Object.keys(t),c=Object.keys(a);if(i.length!==c.length)return!1;for(c=0;c<i.length;c++){var h=i[c];if(!Xt.call(a,h)||!Wt(t[h],a[h]))return!1}return!0}function Gm(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Im(t,a){var i=Gm(t);t=0;for(var c;i;){if(i.nodeType===3){if(c=t+i.textContent.length,t<=a&&c>=a)return{node:i,offset:a-t};t=c}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Gm(i)}}function Vm(t,a){return t&&a?t===a?!0:t&&t.nodeType===3?!1:a&&a.nodeType===3?Vm(t,a.parentNode):"contains"in t?t.contains(a):t.compareDocumentPosition?!!(t.compareDocumentPosition(a)&16):!1:!1}function qm(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var a=nl(t.document);a instanceof t.HTMLIFrameElement;){try{var i=typeof a.contentWindow.location.href=="string"}catch{i=!1}if(i)t=a.contentWindow;else break;a=nl(t.document)}return a}function Du(t){var a=t&&t.nodeName&&t.nodeName.toLowerCase();return a&&(a==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||a==="textarea"||t.contentEditable==="true")}var pk=aa&&"documentMode"in document&&11>=document.documentMode,yi=null,_u=null,Po=null,Lu=!1;function Qm(t,a,i){var c=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Lu||yi==null||yi!==nl(c)||(c=yi,"selectionStart"in c&&Du(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focu
vendor: 20,056 bytes, line 48
48sNode:c.focusNode,focusOffset:c.focusOffset}),Po&&Mo(Po,c)||(Po=c,c=Jl(_u,"onSelect"),0<c.length&&(a=new cl("onSelect","select",null,a,i),t.push({event:a,listeners:c}),a.target=yi)))}function kn(t,a){var i={};return i[t.toLowerCase()]=a.toLowerCase(),i["Webkit"+t]="webkit"+a,i["Moz"+t]="moz"+a,i}var bi={animationend:kn("Animation","AnimationEnd"),animationiteration:kn("Animation","AnimationIteration"),animationstart:kn("Animation","AnimationStart"),transitionrun:kn("Transition","TransitionRun"),transitionstart:kn("Transition","TransitionStart"),transitioncancel:kn("Transition","TransitionCancel"),transitionend:kn("Transition","TransitionEnd")},zu={},Ym={};aa&&(Ym=document.createElement("div").style,"AnimationEvent"in window||(delete bi.animationend.animation,delete bi.animationiteration.animation,delete bi.animationstart.animation),"TransitionEvent"in window||delete bi.transitionend.transition);function jn(t){if(zu[t])return zu[t];if(!bi[t])return t;var a=bi[t],i;for(i in a)if(a.hasOwnProperty(i)&&i in Ym)return zu[t]=a[i];return t}var $m=jn("animationend"),Km=jn("animationiteration"),Xm=jn("animationstart"),mk=jn("transitionrun"),gk=jn("transitionstart"),xk=jn("transitioncancel"),Wm=jn("transitionend"),Zm=new Map,Fu="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Fu.push("scrollEnd");function Ns(t,a){Zm.set(t,a),wn(a,[t])}var hl=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},us=[],vi=0,Hu=0;function fl(){for(var t=vi,a=Hu=vi=0;a<t;){var i=us[a];us[a++]=null;var c=us[a];us[a++]=null;var h=us[a];us[a++]=null;var m=us[a];if(us[a++]=null,c!==null&&h!==null){var b=c.pending;b===null?h.next=h:(h.next=b.next,b.next=h),c.pending=h}m!==0&&Jm(i,h,m)}}function pl(t,a,i,c){us[vi++]=t,us[vi++]=a,us[vi++]=i,us[vi++]=c,Hu|=c,t.lanes|=c,t=t.alternate,t!==null&&(t.lanes|=c)}function Uu(t,a,i,c){return pl(t,a,i,c),ml(t)}function En(t,a){return pl(t,null,null,a),ml(t)}function Jm(t,a,i){t.lanes|=i;var c=t.alternate;c!==null&&(c.lanes|=i);for(var h=!1,m=t.return;m!==null;)m.childLanes|=i,c=m.alternate,c!==null&&(c.childLanes|=i),m.tag===22&&(t=m.stateNode,t===null||t._visibility&1||(h=!0)),t=m,m=m.return;return t.tag===3?(m=t.stateNode,h&&a!==null&&(h=31-Et(i),t=m.hiddenUpdates,c=t[h],c===null?t[h]=[a]:c.push(a),a.lane=i|536870912),m):null}function ml(t){if(50<tr)throw tr=0,Xd=null,Error(o(185));for(var a=t.return;a!==null;)t=a,a=t.return;return t.tag===3?t.stateNode:null}var wi={};function yk(t,a,i,c){this.tag=t,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Zt(t,a,i,c){return new yk(t,a,i,c)}function Gu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function na(t,a){var i=t.alternate;return i===null?(i=Zt(t.tag,a,t.key,t.mode),i.elementType=t.elementType,i.type=t.type,i.stateNode=t.stateNode,i.alternate=t,t.alternate=i):(i.pendingProps=a,i.type=t.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=t.flags&65011712,i.childLanes=t.childLanes,i.lanes=t.lanes,i.child=t.child,i.memoizedProps=t.memoizedProps,i.memoizedState=t.memoizedState,i.updateQueue=t.updateQueue,a=t.dependencies,i.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},i.sibling=t.sibling,i.index=t.index,i.ref=t.ref,i.refCleanup=t.refCleanup,i}function eg(t,a){t.flags&=65011714;var i=t.alternate;return i===null?(t.childLanes=0,t.lanes=a,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=i.childLanes,t.lanes=i.lanes,t.child=i.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=i.memoizedProps,t.memoizedState=i.memoizedState,t.updateQueue=i.updateQueue,t.type=i.type,a=i.dependencies,t.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),t}function gl(t,a,i,c,h,m){var b=0;if(c=t,typeof t=="function")Gu(t)&&(b=1);else if(typeof t=="string")b=kj(t,i,X.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case Z:return t=Zt(31,i,a,h),t.elementType=Z,t.lanes=m,t;case E:return Tn(i.children,h,m,a);case N:b=8,h|=24;break;case O:return t=Zt(12,i,a,h|2),t.elementType=O,t.lanes=m,t;case F:return t=Zt(13,i,a,h),t.elementType=F,t.lanes=m,t;case U:return t=Zt(19,i,a,h),t.elementType=U,t.lanes=m,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case _:b=10;break e;case R:b=9;break e;case Q:b=11;break e;case C:b=14;break e;case D:b=16,c=null;break e}b=29,i=Error(o(130,t===null?"null":typeof t,"")),c=null}return a=Zt(b,i,a,h),a.elementType=t,a.type=c,a.lanes=m,a}function Tn(t,a,i,c){return t=Zt(7,t,c,a),t.lanes=i,t}function Iu(t,a,i){return t=Zt(6,t,null,a),t.lanes=i,t}function tg(t){var a=Zt(18,null,null,0);return a.stateNode=t,a}function Vu(t,a,i){return a=Zt(4,t.children!==null?t.children:[],t.key,a),a.lanes=i,a.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},a}var sg=new WeakMap;function ds(t,a){if(typeof t=="object"&&t!==null){var i=sg.get(t);return i!==void 0?i:(a={value:t,source:a,stack:yo(a)},sg.set(t,a),a)}return{value:t,source:a,stack:yo(a)}}var Si=[],ki=0,xl=null,Bo=0,hs=[],fs=0,Pa=null,Ls=1,zs="";function ia(t,a){Si[ki++]=Bo,Si[ki++]=xl,xl=t,Bo=a}function ag(t,a,i){hs[fs++]=Ls,hs[fs++]=zs,hs[fs++]=Pa,Pa=t;var c=Ls;t=zs;var h=32-Et(c)-1;c&=~(1<<h),i+=1;var m=32-Et(a)+h;if(30<m){var b=h-h%5;m=(c&(1<<b)-1).toString(32),c>>=b,h-=b,Ls=1<<32-Et(a)+h|i<<h|c,zs=m+t}else Ls=1<<m|i<<h|c,zs=t}function qu(t){t.return!==null&&(ia(t,1),ag(t,1,0))}function Qu(t){for(;t===xl;)xl=Si[--ki],Si[ki]=null,Bo=Si[--ki],Si[ki]=null;for(;t===Pa;)Pa=hs[--fs],hs[fs]=null,zs=hs[--fs],hs[fs]=null,Ls=hs[--fs],hs[fs]=null}function ng(t,a){hs[fs++]=Ls,hs[fs++]=zs,hs[fs++]=Pa,Ls=a.id,zs=a.overflow,Pa=t}var vt=null,Ge=null,Oe=!1,Ba=null,ps=!1,Yu=Error(o(519));function Da(t){var a=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Do(ds(a,t)),Yu}function ig(t){var a=t.stateNode,i=t.type,c=t.memoizedProps;switch(a[bt]=t,a[Ut]=c,i){case"dialog":Ne("cancel",a),Ne("close",a);break;case"iframe":case"object":case"embed":Ne("load",a);break;case"video":case"audio":for(i=0;i<ar.length;i++)Ne(ar[i],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":Ne("invalid",a),ym(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":Ne("invalid",a);break;case"textarea":Ne("invalid",a),vm(a,c.value,c.defaultValue,c.children)}i=c.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||a.textContent===""+i||c.suppressHydrationWarning===!0||Sy(a.textContent,i)?(c.popover!=null&&(Ne("beforetoggle",a),Ne("toggle",a)),c.onScroll!=null&&Ne("scroll",a),c.onScrollEnd!=null&&Ne("scrollend",a),c.onClick!=null&&(a.onclick=sa),a=!0):a=!1,a||Da(t,!0)}function og(t){for(vt=t.return;vt;)switch(vt.tag){case 5:case 31:case 13:ps=!1;return;case 27:case 3:ps=!0;return;default:vt=vt.return}}function ji(t){if(t!==vt)return!1;if(!Oe)return og(t),Oe=!0,!1;var a=t.tag,i;if((i=a!==3&&a!==27)&&((i=a===5)&&(i=t.type,i=!(i!=="form"&&i!=="button")||dh(t.type,t.memoizedProps)),i=!i),i&&Ge&&Da(t),og(t),a===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Ge=Oy(t)}else if(a===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));Ge=Oy(t)}else a===27?(a=Ge,Ka(t.type)?(t=gh,gh=null,Ge=t):Ge=a):Ge=vt?gs(t.stateNode.nextSibling):null;return!0}function Nn(){Ge=vt=null,Oe=!1}function $u(){var t=Ba;return t!==null&&(Qt===null?Qt=t:Qt.push.apply(Qt,t),Ba=null),t}function Do(t){Ba===null?Ba=[t]:Ba.push(t)}var Ku=T(null),Cn=null,oa=null;function _a(t,a,i){V(Ku,a._currentValue),a._currentValue=i}function ra(t){t._currentValue=Ku.current,$(Ku)}function Xu(t,a,i){for(;t!==null;){var c=t.alternate;if((t.childLanes&a)!==a?(t.childLanes|=a,c!==null&&(c.childLanes|=a)):c!==null&&(c.childLanes&a)!==a&&(c.childLanes|=a),t===i)break;t=t.return}}function Wu(t,a,i,c){var h=t.child;for(h!==null&&(h.return=t);h!==null;){var m=h.dependencies;if(m!==null){var b=h.child;m=m.firstContext;e:for(;m!==null;){var S=m;m=h;for(var A=0;A<a.length;A++)if(S.context===a[A]){m.lanes|=i,S=m.alternate,S!==null&&(S.lanes|=i),Xu(m.return,i,t),c||(b=null);break e}m=S.next}}else if(h.tag===18){if(b=h.return,b===null)throw Error(o(341));b.lanes|=i,m=b.alternate,m!==null&&(m.lanes|=i),Xu(b,i,t),b=null}else b=h.child;if(b!==null)b.return=h;else for(b=h;b!==null;){if(b===t){b=null;break}if(h=b.sibling,h!==null){h.return=b.return,b=h;break}b=b.return}h=b}}function Ei(t,a,i,c){t=null;for(var h=a,m=!1;h!==null;){if(!m){if((h.flags&524288)!==0)m=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var b=h.alternate;if(b===null)throw Error(o(387));if(b=b.memoizedProps,b!==null){var S=h.type;Wt(h.pendingProps.value,b.value)||(t!==null?t.push(S):t=[S])}}else if(h===ue.current){if(b=h.alternate,b===null)throw Error(o(387));b.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(t!==null?t.push(lr):t=[lr])}h=h.return}t!==null&&Wu(a,t,i,c),a.flags|=262144}function yl(t){for(t=t.firstContext;t!==null;){if(!Wt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function An(t){Cn=t,oa=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function wt(t){return rg(Cn,t)}function bl(t,a){return Cn===null&&An(t),rg(t,a)}function rg(t,a){var i=a._currentValue;if(a={context:a,memoizedValue:i,next:null},oa===null){if(t===null)throw Error(o(308));oa=a,t.dependencies={lanes:0,firstContext:a},t.flags|=524288}else oa=oa.next=a;return i}var bk=typeof AbortController<"u"?AbortController:function(){var t=[],a=this.signal={aborted:!1,addEventListener:function(i,c){t.push(c)}};this.abort=function(){a.aborted=!0,t.forEach(function(i){return i()})}},vk=e.unstable_scheduleCallback,wk=e.unstable_NormalPriority,nt={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Zu(){return{controller:new bk,data:new Map,refCount:0}}function _o(t){t.refCount--,t.refCount===0&&vk(wk,function(){t.controller.abort()})}var Lo=null,Ju=0,Ti=0,Ni=null;function Sk(t,a){if(Lo===null){var i=Lo=[];Ju=0,Ti=sh(),Ni={status:"pending",value:void 0,then:function(c){i.push(c)}}}return Ju++,a.then(lg,lg),a}function lg(){if(--Ju===0&&Lo!==null){Ni!==null&&(Ni.status="fulfilled");var t=Lo;Lo=null,Ti=0,Ni=null;for(var a=0;a<t.length;a++)(0,t[a])()}}function kk(t,a){var i=[],c={status:"pending",value:null,reason:null,then:function(h){i.push(h)}};return t.then(function(){c.status="fulfilled",c.value=a;for(var h=0;h<i.length;h++)(0,i[h])(a)},function(h){for(c.status="rejected",c.reason=h,h=0;h<i.length;h++)(0,i[h])(void 0)}),c}var cg=M.S;M.S=function(t,a){Qx=Pt(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&Sk(t,a),cg!==null&&cg(t,a)};var Rn=T(null);function ed(){var t=Rn.current;return t!==null?t:Ue.pooledCache}function vl(t,a){a===null?V(Rn,Rn.current):V(Rn,a.pool)}function ug(){var t=ed();return t===null?null:{parent:nt._currentValue,pool:t}}var Ci=Error(o(460)),td=Error(o(474)),wl=Error(o(542)),Sl={then:function(){}};function dg(t){return t=t.status,t==="fulfilled"||t==="rejected"}function hg(t,a,i){switch(i=t[i],i===void 0?t.push(a):i!==a&&(a.then(sa,sa),a=i),a.status){case"fulfilled":return a.value;case"rejected":throw t=a.reason,pg(t),t;default:if(typeof a.status=="string")a.then(sa,sa);else{if(t=Ue,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=a,t.status="pending",t.then(function(c){if(a.status==="pending"){var h=a;h.status="fulfilled",h.value=c}},function(c){if(a.status==="pending"){var h=a;h.status="rejected",h.reason=c}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw t=a.reason,pg(t),t}throw Mn=a,Ci}}function On(t){try{var a=t._init;return a(t._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(Mn=i,Ci):i}}var Mn=null;function fg(){if(Mn===null)throw Error(o(459));var t=Mn;return Mn=null,t}function pg(t){if(t===Ci||t===wl)throw Error(o(483))}var Ai=null,zo=0;function kl(t){var a=zo;return zo+=1,Ai===null&&(Ai=[]),hg(Ai,t,a)}function Fo(t,a){a=a.props.ref,t.ref=a!==void 0?a:null}function jl(t,a){throw a.$$typeof===v?Error(o(525)):(t=Object.prototype.toString.call(a),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":t)))}function mg(t){function a(z,P){if(t){var G=z.deletions;G===null?(z.deletions=[P],z.flags|=16):G.push(P)}}function i(z,P){if(!t)return null;for(;P!==null;)a(z,P),P=P.sibling;return null}function c(z){for(var P=new Map;z!==null;)z.key!==null?P.set(z.key,z):P.set(z.index,z),z=z.sibling;return P}function h(z,P){return z=na(z,P),z.index=0,z.sibling=null,z}function m(z,P,G){return z.index=G,t?(G=z.alternate,G!==null?(G=G.index,G<P?(z.flags|=67108866,P):G):(z.flags|=67108866,P)):(z.flags|=1048576,P)}function b(z){return t&&z.alternate===null&&(z.flags|=67108866),z}function S(z,P,G,J){return P===null||P.tag!==6?(P=Iu(G,z.mode,J),P.return=z,P):(P=h(P,G),P.return=z,P)}function A(z,P,G,J){var ge=G.type;return ge===E?W(z,P,G.props.children,J,G.key):P!==null&&(P.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===D&&On(ge)===P.type)?(P=h(P,G.props),Fo(P,G),P.return=z,P):(P=gl(G.type,G.key,G.props,null,z.mode,J),Fo(P,G),P.return=z,P)}function I(z,P,G,J){return P===null||P.tag!==4||P.stateNode.containerInfo!==G.containerInfo||P.stateNode.implementation!==G.implementation?(P=Vu(G,z.mode,J),P.return=z,P):(P=h(P,G.children||[]),P.return=z,P)}function W(z,P,G,J,ge){return P===null||P.tag!==7?(P=Tn(G,z.mode,J,ge),P.return=z,P):(P=h(P,G),P.return=z,P)}function ee(z,P,G){if(typeof P=="string"&&P!==""||typeof P=="number"||typeof P=="bigint")return P=Iu(""+P,z.mode,G),P.return=z,P;if(typeof P=="object"&&P!==null){switch(P.$$typeof){case k:return G=gl(P.type,P.key,P.props,null,z.mode,G),Fo(G,P),G.return=z,G;case j:return P=Vu(P,z.mode,G),P.return=z,P;case D:return P=On(P),ee(z,P,G)}if(le(P)||se(P))return P=Tn(P,z.mode,G,null),P.return=z,P;if(typeof P.then=="function")return ee(z,kl(P),G);if(P.$$typeof===_)return ee(z,bl(z,P),G);jl(z,P)}return null}function q(z,P,G,J){var ge=P!==null?P.key:null;if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return ge!==null?null:S(z,P,""+G,J);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case k:return G.key===ge?A(z,P,G,J):null;case j:return G.key===ge?I(z,P,G,J):null;case D:return G=On(G),q(z,P,G,J)}if(le(G)||se(G))return ge!==null?null:W(z,P,G,J,null);if(typeof G.then=="function")return q(z,P,kl(G),J);if(G.$$typeof===_)return q(z,P,bl(z,G),J);jl(z,G)}return null}function Y(z,P,G,J,ge){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return z=z.get(G)||null,S(P,z,""+J,ge);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case k:return z=z.get(J.key===null?G:J.key)||null,A(P,z,J,ge);case j:return z=z.get(J.key===null?G:J.key)||null,I(P,z,J,ge);case D:return J=On(J),Y(z,P,G,J,ge)}if(le(J)||se(J))return z=z.get(G)||null,W(P,z,J,ge,null);if(typeof J.then=="function")return Y(z,P,G,kl(J),ge);if(J.$$typeof===_)return Y(z,P,G,bl(P,J),ge);jl(P,J)}return null}function de(z,P,G,J){for(var ge=null,Me=null,me=P,ke=P=0,Ae=null;me!==null&&ke<G.length;ke++){me.index>ke?(Ae=me,me=null):Ae=me.sibling;var Pe=q(z,me,G[ke],J);if(Pe===null){me===null&&(me=Ae);break}t&&me&&Pe.alternate===null&&a(z,me),P=m(Pe,P,ke),Me===null?ge=Pe:Me.sibling=Pe,Me=Pe,me=Ae}if(ke===G.length)return i(z,me),Oe&&ia(z,ke),ge;if(me===null){for(;ke<G.length;ke++)me=ee(z,G[ke],J),me!==null&&(P=m(me,P,ke),Me===null?ge=me:Me.sibling=me,Me=me);return Oe&&ia(z,ke),ge}for(me=c(me);ke<G.length;ke++)Ae=Y(me,z,ke,G[ke],J),Ae!==null&&(t&&Ae.alternate!==null&&me.delete(Ae.key===null?ke:Ae.key),P=m(Ae,P,ke),Me===null?ge=Ae:Me.sibling=Ae,Me=Ae);return t&&me.forEach(function(en){return a(z,en)}),Oe&&ia(z,ke),ge}function xe(z,P,G,J){if(G==null)throw Error(o(151));for(var ge=null,Me=null,me=P,ke=P=0,Ae=null,Pe=G.next();me!==null&&!Pe.done;ke++,Pe=G.next()){me.index>ke?(Ae=me,me=null):Ae=me.sibling;var en=q(z,me,Pe.value,J);if(en===null){me===null&&(me=Ae);break}t&&me&&en.alternate===null&&a(z,me),P=m(en,P,ke),Me===null?ge=en:Me.sibling=en,Me=en,me=Ae}if(Pe.done)return i(z,me),Oe&&ia(z,ke),ge;if(me===null){for(;!Pe.done;ke++,Pe=G.next())Pe=ee(z,Pe.value,J),Pe!==null&&(P=m(Pe,P,ke),Me===null?ge=Pe:Me.sibling=Pe,Me=Pe);return Oe&&ia(z,ke),ge}for(me=c(me);!Pe.done;ke++,Pe=G.next())Pe=Y(me,z,ke,Pe.value,J),Pe!==null&&(t&&Pe.alternate!==null&&me.delete(Pe.key===null?ke:Pe.key),P=m(Pe,P,ke),Me===null?ge=Pe:Me.sibling=Pe,Me=Pe);return t&&me.forEach(function(Bj){return a(z,Bj)}),Oe&&ia(z,ke),ge}function He(z,P,G,J){if(typeof G=="object"&&G!==null&&G.type===E&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case k:e:{for(var ge=G.key;P!==null;){if(P.key===ge){if(ge=G.type,ge===E){if(P.tag===7){i(z,P.sibling),J=h(P,G.props.children),J.return=z,z=J;break e}}else if(P.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===D&&On(ge)===P.type){i(z,P.sibling),J=h(P,G.props),Fo(J,G),J.return=z,z=J;break e}i(z,P);break}else a(z,P);P=P.sibling}G.type===E?(J=Tn(G.props.children,z.mode,J,G.key),J.return=z,z=J):(J=gl(G.type,G.key,G.props,null,z.mode,J),Fo(J,G),J.return=z,z=J)}return b(z);case j:e:{for(ge=G.key;P!==null;){if(P.key===ge)if(P.tag===4&&P.stateNode.containerInfo===G.containerInfo&&P.stateNode.implementation===G.implementation){i(z,P.sibling),J=h(P,G.children||[]),J.return=z,z=J;break e}else{i(z,P);break}else a(z,P);P=P.sibling}J=Vu(G,z.mode,J),J.return=z,z=J}return b(z);case D:return G=On(G),He(z,P,G,J)}if(le(G))return de(z,P,G,J);if(se(G)){if(ge=se(G),typeof ge!="function")throw Error(o(150));return G=ge.call(G),xe(z,P,G,J)}if(typeof G.then=="function")return He(z,P,kl(G),J);if(G.$$typeof===_)return He(z,P,bl(z,G),J);jl(z,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(G=""+G,P!==null&&P.tag===6?(i(z,P.sibling),J=h(P,G),J.return=z,z=J):(i(z,P),J=Iu(G,z.mode,J),J.return=z,z=J),b(z)):i(z,P)}return function(z,P,G,J){try{zo=0;var ge=He(z,P,G,J);return Ai=null,ge}catch(me){if(me===Ci||me===wl)throw me;var Me=Zt(29,me,null,z.mode);return Me.lanes=J,Me.return=z,Me}finally{}}}var Pn=mg(!0),gg=mg(!1),La=!1;function sd(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ad(t,a){t=t.updateQueue,a.updateQueue===t&&(a.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function za(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Fa(t,a,i){var c=t.updateQueue;if(c===null)return null;if(c=c.shared,(De&2)!==0){var h=c.pending;return h===null?a.next=a:(a.next=h.next,h.next=a),c.pending=a,a=ml(t),Jm(t,null,i),a}return pl(t,c,a,i),ml(t)}
vendor: 9,968 bytes, line 48
48function Ho(t,a,i){if(a=a.updateQueue,a!==null&&(a=a.shared,(i&4194048)!==0)){var c=a.lanes;c&=t.pendingLanes,i|=c,a.lanes=i,Ft(t,i)}}function nd(t,a){var i=t.updateQueue,c=t.alternate;if(c!==null&&(c=c.updateQueue,i===c)){var h=null,m=null;if(i=i.firstBaseUpdate,i!==null){do{var b={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};m===null?h=m=b:m=m.next=b,i=i.next}while(i!==null);m===null?h=m=a:m=m.next=a}else h=m=a;i={baseState:c.baseState,firstBaseUpdate:h,lastBaseUpdate:m,shared:c.shared,callbacks:c.callbacks},t.updateQueue=i;return}t=i.lastBaseUpdate,t===null?i.firstBaseUpdate=a:t.next=a,i.lastBaseUpdate=a}var id=!1;function Uo(){if(id){var t=Ni;if(t!==null)throw t}}function Go(t,a,i,c){id=!1;var h=t.updateQueue;La=!1;var m=h.firstBaseUpdate,b=h.lastBaseUpdate,S=h.shared.pending;if(S!==null){h.shared.pending=null;var A=S,I=A.next;A.next=null,b===null?m=I:b.next=I,b=A;var W=t.alternate;W!==null&&(W=W.updateQueue,S=W.lastBaseUpdate,S!==b&&(S===null?W.firstBaseUpdate=I:S.next=I,W.lastBaseUpdate=A))}if(m!==null){var ee=h.baseState;b=0,W=I=A=null,S=m;do{var q=S.lane&-536870913,Y=q!==S.lane;if(Y?(Ce&q)===q:(c&q)===q){q!==0&&q===Ti&&(id=!0),W!==null&&(W=W.next={lane:0,tag:S.tag,payload:S.payload,callback:null,next:null});e:{var de=t,xe=S;q=a;var He=i;switch(xe.tag){case 1:if(de=xe.payload,typeof de=="function"){ee=de.call(He,ee,q);break e}ee=de;break e;case 3:de.flags=de.flags&-65537|128;case 0:if(de=xe.payload,q=typeof de=="function"?de.call(He,ee,q):de,q==null)break e;ee=y({},ee,q);break e;case 2:La=!0}}q=S.callback,q!==null&&(t.flags|=64,Y&&(t.flags|=8192),Y=h.callbacks,Y===null?h.callbacks=[q]:Y.push(q))}else Y={lane:q,tag:S.tag,payload:S.payload,callback:S.callback,next:null},W===null?(I=W=Y,A=ee):W=W.next=Y,b|=q;if(S=S.next,S===null){if(S=h.shared.pending,S===null)break;Y=S,S=Y.next,Y.next=null,h.lastBaseUpdate=Y,h.shared.pending=null}}while(!0);W===null&&(A=ee),h.baseState=A,h.firstBaseUpdate=I,h.lastBaseUpdate=W,m===null&&(h.shared.lanes=0),Va|=b,t.lanes=b,t.memoizedState=ee}}function xg(t,a){if(typeof t!="function")throw Error(o(191,t));t.call(a)}function yg(t,a){var i=t.callbacks;if(i!==null)for(t.callbacks=null,t=0;t<i.length;t++)xg(i[t],a)}var Ri=T(null),El=T(0);function bg(t,a){t=ga,V(El,t),V(Ri,a),ga=t|a.baseLanes}function od(){V(El,ga),V(Ri,Ri.current)}function rd(){ga=El.current,$(Ri),$(El)}var Jt=T(null),ms=null;function Ha(t){var a=t.alternate;V(et,et.current&1),V(Jt,t),ms===null&&(a===null||Ri.current!==null||a.memoizedState!==null)&&(ms=t)}function ld(t){V(et,et.current),V(Jt,t),ms===null&&(ms=t)}function vg(t){t.tag===22?(V(et,et.current),V(Jt,t),ms===null&&(ms=t)):Ua()}function Ua(){V(et,et.current),V(Jt,Jt.current)}function es(t){$(Jt),ms===t&&(ms=null),$(et)}var et=T(0);function Tl(t){for(var a=t;a!==null;){if(a.tag===13){var i=a.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||ph(i)||mh(i)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var la=0,Se=null,ze=null,it=null,Nl=!1,Oi=!1,Bn=!1,Cl=0,Io=0,Mi=null,jk=0;function Xe(){throw Error(o(321))}function cd(t,a){if(a===null)return!1;for(var i=0;i<a.length&&i<t.length;i++)if(!Wt(t[i],a[i]))return!1;return!0}function ud(t,a,i,c,h,m){return la=m,Se=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,M.H=t===null||t.memoizedState===null?ax:Ed,Bn=!1,m=i(c,h),Bn=!1,Oi&&(m=Sg(a,i,c,h)),wg(t),m}function wg(t){M.H=Qo;var a=ze!==null&&ze.next!==null;if(la=0,it=ze=Se=null,Nl=!1,Io=0,Mi=null,a)throw Error(o(300));t===null||ot||(t=t.dependencies,t!==null&&yl(t)&&(ot=!0))}function Sg(t,a,i,c){Se=t;var h=0;do{if(Oi&&(Mi=null),Io=0,Oi=!1,25<=h)throw Error(o(301));if(h+=1,it=ze=null,t.updateQueue!=null){var m=t.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}M.H=nx,m=a(i,c)}while(Oi);return m}function Ek(){var t=M.H,a=t.useState()[0];return a=typeof a.then=="function"?Vo(a):a,t=t.useState()[0],(ze!==null?ze.memoizedState:null)!==t&&(Se.flags|=1024),a}function dd(){var t=Cl!==0;return Cl=0,t}function hd(t,a,i){a.updateQueue=t.updateQueue,a.flags&=-2053,t.lanes&=~i}function fd(t){if(Nl){for(t=t.memoizedState;t!==null;){var a=t.queue;a!==null&&(a.pending=null),t=t.next}Nl=!1}la=0,it=ze=Se=null,Oi=!1,Io=Cl=0,Mi=null}function Dt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return it===null?Se.memoizedState=it=t:it=it.next=t,it}function tt(){if(ze===null){var t=Se.alternate;t=t!==null?t.memoizedState:null}else t=ze.next;var a=it===null?Se.memoizedState:it.next;if(a!==null)it=a,ze=t;else{if(t===null)throw Se.alternate===null?Error(o(467)):Error(o(310));ze=t,t={memoizedState:ze.memoizedState,baseState:ze.baseState,baseQueue:ze.baseQueue,queue:ze.queue,next:null},it===null?Se.memoizedState=it=t:it=it.next=t}return it}function Al(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Vo(t){var a=Io;return Io+=1,Mi===null&&(Mi=[]),t=hg(Mi,t,a),a=Se,(it===null?a.memoizedState:it.next)===null&&(a=a.alternate,M.H=a===null||a.memoizedState===null?ax:Ed),t}function Rl(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Vo(t);if(t.$$typeof===_)return wt(t)}throw Error(o(438,String(t)))}function pd(t){var a=null,i=Se.updateQueue;if(i!==null&&(a=i.memoCache),a==null){var c=Se.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(a={data:c.data.map(function(h){return h.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),i===null&&(i=Al(),Se.updateQueue=i),i.memoCache=a,i=a.data[a.index],i===void 0)for(i=a.data[a.index]=Array(t),c=0;c<t;c++)i[c]=K;return a.index++,i}function ca(t,a){return typeof a=="function"?a(t):a}function Ol(t){var a=tt();return md(a,ze,t)}function md(t,a,i){var c=t.queue;if(c===null)throw Error(o(311));c.lastRenderedReducer=i;var h=t.baseQueue,m=c.pending;if(m!==null){if(h!==null){var b=h.next;h.next=m.next,m.next=b}a.baseQueue=h=m,c.pending=null}if(m=t.baseState,h===null)t.memoizedState=m;else{a=h.next;var S=b=null,A=null,I=a,W=!1;do{var ee=I.lane&-536870913;if(ee!==I.lane?(Ce&ee)===ee:(la&ee)===ee){var q=I.revertLane;if(q===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null}),ee===Ti&&(W=!0);else if((la&q)===q){I=I.next,q===Ti&&(W=!0);continue}else ee={lane:0,revertLane:I.revertLane,gesture:null,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},A===null?(S=A=ee,b=m):A=A.next=ee,Se.lanes|=q,Va|=q;ee=I.action,Bn&&i(m,ee),m=I.hasEagerState?I.eagerState:i(m,ee)}else q={lane:ee,revertLane:I.revertLane,gesture:I.gesture,action:I.action,hasEagerState:I.hasEagerState,eagerState:I.eagerState,next:null},A===null?(S=A=q,b=m):A=A.next=q,Se.lanes|=ee,Va|=ee;I=I.next}while(I!==null&&I!==a);if(A===null?b=m:A.next=S,!Wt(m,t.memoizedState)&&(ot=!0,W&&(i=Ni,i!==null)))throw i;t.memoizedState=m,t.baseState=b,t.baseQueue=A,c.lastRenderedState=m}return h===null&&(c.lanes=0),[t.memoizedState,c.dispatch]}function gd(t){var a=tt(),i=a.queue;if(i===null)throw Error(o(311));i.lastRenderedReducer=t;var c=i.dispatch,h=i.pending,m=a.memoizedState;if(h!==null){i.pending=null;var b=h=h.next;do m=t(m,b.action),b=b.next;while(b!==h);Wt(m,a.memoizedState)||(ot=!0),a.memoizedState=m,a.baseQueue===null&&(a.baseState=m),i.lastRenderedState=m}return[m,c]}function kg(t,a,i){var c=Se,h=tt(),m=Oe;if(m){if(i===void 0)throw Error(o(407));i=i()}else i=a();var b=!Wt((ze||h).memoizedState,i);if(b&&(h.memoizedState=i,ot=!0),h=h.queue,bd(Tg.bind(null,c,h,t),[t]),h.getSnapshot!==a||b||it!==null&&it.memoizedState.tag&1){if(c.flags|=2048,Pi(9,{destroy:void 0},Eg.bind(null,c,h,i,a),null),Ue===null)throw Error(o(349));m||(la&127)!==0||jg(c,a,i)}return i}function jg(t,a,i){t.flags|=16384,t={getSnapshot:a,value:i},a=Se.updateQueue,a===null?(a=Al(),Se.updateQueue=a,a.stores=[t]):(i=a.stores,i===null?a.stores=[t]:i.push(t))}function Eg(t,a,i,c){a.value=i,a.getSnapshot=c,Ng(a)&&Cg(t)}function Tg(t,a,i){return i(function(){Ng(a)&&Cg(t)})}function Ng(t){var a=t.getSnapshot;t=t.value;try{var i=a();return!Wt(t,i)}catch{return!0}}function Cg(t){var a=En(t,2);a!==null&&Yt(a,t,2)}function xd(t){var a=Dt();if(typeof t=="function"){var i=t;if(t=i(),Bn){Es(!0);try{i()}finally{Es(!1)}}}return a.memoizedState=a.baseState=t,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:t},a}function Ag(t,a,i,c){return t.baseState=i,md(t,ze,typeof c=="function"?c:ca)}function Tk(t,a,i,c,h){if(Bl(t))throw Error(o(485));if(t=a.action,t!==null){var m={payload:h,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){m.listeners.push(b)}};M.T!==null?i(!0):m.isTransition=!1,c(m),i=a.pending,i===null?(m.next=a.pending=m,Rg(a,m)):(m.next=i.next,a.pending=i.next=m)}}function Rg(t,a){var i=a.action,c=a.payload,h=t.state;if(a.isTransition){var m=M.T,b={};M.T=b;try{var S=i(h,c),A=M.S;A!==null&&A(b,S),Og(t,a,S)}catch(I){yd(t,a,I)}finally{m!==null&&b.types!==null&&(m.types=b.types),M.T=m}}else try{m=i(h,c),Og(t,a,m)}catch(I){yd(t,a,I)}}function Og(t,a,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(c){Mg(t,a,c)},function(c){return yd(t,a,c)}):Mg(t,a,i)}function Mg(t,a,i){a.status="fulfilled",a.value=i,Pg(a),t.state=i,a=t.pending,a!==null&&(i=a.next,i===a?t.pending=null:(i=i.next,a.next=i,Rg(t,i)))}function yd(t,a,i){var c=t.pending;if(t.pending=null,c!==null){c=c.next;do a.status="rejected",a.reason=i,Pg(a),a=a.next;while(a!==c)}t.action=null}function Pg(t){t=t.listeners;for(var a=0;a<t.length;a++)(0,t[a])()}function Bg(t,a){return a}
vendor: 10,482 bytes, line 48
48function Dg(t,a){if(Oe){var i=Ue.formState;if(i!==null){e:{var c=Se;if(Oe){if(Ge){t:{for(var h=Ge,m=ps;h.nodeType!==8;){if(!m){h=null;break t}if(h=gs(h.nextSibling),h===null){h=null;break t}}m=h.data,h=m==="F!"||m==="F"?h:null}if(h){Ge=gs(h.nextSibling),c=h.data==="F!";break e}}Da(c)}c=!1}c&&(a=i[0])}}return i=Dt(),i.memoizedState=i.baseState=a,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Bg,lastRenderedState:a},i.queue=c,i=ex.bind(null,Se,c),c.dispatch=i,c=xd(!1),m=jd.bind(null,Se,!1,c.queue),c=Dt(),h={state:a,dispatch:null,action:t,pending:null},c.queue=h,i=Tk.bind(null,Se,h,m,i),h.dispatch=i,c.memoizedState=t,[a,i,!1]}function _g(t){var a=tt();return Lg(a,ze,t)}function Lg(t,a,i){if(a=md(t,a,Bg)[0],t=Ol(ca)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var c=Vo(a)}catch(b){throw b===Ci?wl:b}else c=a;a=tt();var h=a.queue,m=h.dispatch;return i!==a.memoizedState&&(Se.flags|=2048,Pi(9,{destroy:void 0},Nk.bind(null,h,i),null)),[c,m,t]}function Nk(t,a){t.action=a}function zg(t){var a=tt(),i=ze;if(i!==null)return Lg(a,i,t);tt(),a=a.memoizedState,i=tt();var c=i.queue.dispatch;return i.memoizedState=t,[a,c,!1]}function Pi(t,a,i,c){return t={tag:t,create:i,deps:c,inst:a,next:null},a=Se.updateQueue,a===null&&(a=Al(),Se.updateQueue=a),i=a.lastEffect,i===null?a.lastEffect=t.next=t:(c=i.next,i.next=t,t.next=c,a.lastEffect=t),t}function Fg(){return tt().memoizedState}function Ml(t,a,i,c){var h=Dt();Se.flags|=t,h.memoizedState=Pi(1|a,{destroy:void 0},i,c===void 0?null:c)}function Pl(t,a,i,c){var h=tt();c=c===void 0?null:c;var m=h.memoizedState.inst;ze!==null&&c!==null&&cd(c,ze.memoizedState.deps)?h.memoizedState=Pi(a,m,i,c):(Se.flags|=t,h.memoizedState=Pi(1|a,m,i,c))}function Hg(t,a){Ml(8390656,8,t,a)}function bd(t,a){Pl(2048,8,t,a)}function Ck(t){Se.flags|=4;var a=Se.updateQueue;if(a===null)a=Al(),Se.updateQueue=a,a.events=[t];else{var i=a.events;i===null?a.events=[t]:i.push(t)}}function Ug(t){var a=tt().memoizedState;return Ck({ref:a,nextImpl:t}),function(){if((De&2)!==0)throw Error(o(440));return a.impl.apply(void 0,arguments)}}function Gg(t,a){return Pl(4,2,t,a)}function Ig(t,a){return Pl(4,4,t,a)}function Vg(t,a){if(typeof a=="function"){t=t();var i=a(t);return function(){typeof i=="function"?i():a(null)}}if(a!=null)return t=t(),a.current=t,function(){a.current=null}}function qg(t,a,i){i=i!=null?i.concat([t]):null,Pl(4,4,Vg.bind(null,a,t),i)}function vd(){}function Qg(t,a){var i=tt();a=a===void 0?null:a;var c=i.memoizedState;return a!==null&&cd(a,c[1])?c[0]:(i.memoizedState=[t,a],t)}function Yg(t,a){var i=tt();a=a===void 0?null:a;var c=i.memoizedState;if(a!==null&&cd(a,c[1]))return c[0];if(c=t(),Bn){Es(!0);try{t()}finally{Es(!1)}}return i.memoizedState=[c,a],c}function wd(t,a,i){return i===void 0||(la&1073741824)!==0&&(Ce&261930)===0?t.memoizedState=a:(t.memoizedState=i,t=$x(),Se.lanes|=t,Va|=t,i)}function $g(t,a,i,c){return Wt(i,a)?i:Ri.current!==null?(t=wd(t,i,c),Wt(t,a)||(ot=!0),t):(la&42)===0||(la&1073741824)!==0&&(Ce&261930)===0?(ot=!0,t.memoizedState=i):(t=$x(),Se.lanes|=t,Va|=t,a)}function Kg(t,a,i,c,h){var m=H.p;H.p=m!==0&&8>m?m:8;var b=M.T,S={};M.T=S,jd(t,!1,a,i);try{var A=h(),I=M.S;if(I!==null&&I(S,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var W=kk(A,c);qo(t,a,W,as(t))}else qo(t,a,c,as(t))}catch(ee){qo(t,a,{then:function(){},status:"rejected",reason:ee},as())}finally{H.p=m,b!==null&&S.types!==null&&(b.types=S.types),M.T=b}}function Ak(){}function Sd(t,a,i,c){if(t.tag!==5)throw Error(o(476));var h=Xg(t).queue;Kg(t,h,a,L,i===null?Ak:function(){return Wg(t),i(c)})}function Xg(t){var a=t.memoizedState;if(a!==null)return a;a={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:L},next:null};var i={};return a.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:i},next:null},t.memoizedState=a,t=t.alternate,t!==null&&(t.memoizedState=a),a}function Wg(t){var a=Xg(t);a.next===null&&(a=t.alternate.memoizedState),qo(t,a.next.queue,{},as())}function kd(){return wt(lr)}function Zg(){return tt().memoizedState}function Jg(){return tt().memoizedState}function Rk(t){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var i=as();t=za(i);var c=Fa(a,t,i);c!==null&&(Yt(c,a,i),Ho(c,a,i)),a={cache:Zu()},t.payload=a;return}a=a.return}}function Ok(t,a,i){var c=as();i={lane:c,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Bl(t)?tx(a,i):(i=Uu(t,a,i,c),i!==null&&(Yt(i,t,c),sx(i,a,c)))}function ex(t,a,i){var c=as();qo(t,a,i,c)}function qo(t,a,i,c){var h={lane:c,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Bl(t))tx(a,h);else{var m=t.alternate;if(t.lanes===0&&(m===null||m.lanes===0)&&(m=a.lastRenderedReducer,m!==null))try{var b=a.lastRenderedState,S=m(b,i);if(h.hasEagerState=!0,h.eagerState=S,Wt(S,b))return pl(t,a,h,0),Ue===null&&fl(),!1}catch{}finally{}if(i=Uu(t,a,h,c),i!==null)return Yt(i,t,c),sx(i,a,c),!0}return!1}function jd(t,a,i,c){if(c={lane:2,revertLane:sh(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Bl(t)){if(a)throw Error(o(479))}else a=Uu(t,i,c,2),a!==null&&Yt(a,t,2)}function Bl(t){var a=t.alternate;return t===Se||a!==null&&a===Se}function tx(t,a){Oi=Nl=!0;var i=t.pending;i===null?a.next=a:(a.next=i.next,i.next=a),t.pending=a}function sx(t,a,i){if((i&4194048)!==0){var c=a.lanes;c&=t.pendingLanes,i|=c,a.lanes=i,Ft(t,i)}}var Qo={readContext:wt,use:Rl,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};Qo.useEffectEvent=Xe;var ax={readContext:wt,use:Rl,useCallback:function(t,a){return Dt().memoizedState=[t,a===void 0?null:a],t},useContext:wt,useEffect:Hg,useImperativeHandle:function(t,a,i){i=i!=null?i.concat([t]):null,Ml(4194308,4,Vg.bind(null,a,t),i)},useLayoutEffect:function(t,a){return Ml(4194308,4,t,a)},useInsertionEffect:function(t,a){Ml(4,2,t,a)},useMemo:function(t,a){var i=Dt();a=a===void 0?null:a;var c=t();if(Bn){Es(!0);try{t()}finally{Es(!1)}}return i.memoizedState=[c,a],c},useReducer:function(t,a,i){var c=Dt();if(i!==void 0){var h=i(a);if(Bn){Es(!0);try{i(a)}finally{Es(!1)}}}else h=a;return c.memoizedState=c.baseState=h,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:h},c.queue=t,t=t.dispatch=Ok.bind(null,Se,t),[c.memoizedState,t]},useRef:function(t){var a=Dt();return t={current:t},a.memoizedState=t},useState:function(t){t=xd(t);var a=t.queue,i=ex.bind(null,Se,a);return a.dispatch=i,[t.memoizedState,i]},useDebugValue:vd,useDeferredValue:function(t,a){var i=Dt();return wd(i,t,a)},useTransition:function(){var t=xd(!1);return t=Kg.bind(null,Se,t.queue,!0,!1),Dt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,a,i){var c=Se,h=Dt();if(Oe){if(i===void 0)throw Error(o(407));i=i()}else{if(i=a(),Ue===null)throw Error(o(349));(Ce&127)!==0||jg(c,a,i)}h.memoizedState=i;var m={value:i,getSnapshot:a};return h.queue=m,Hg(Tg.bind(null,c,m,t),[t]),c.flags|=2048,Pi(9,{destroy:void 0},Eg.bind(null,c,m,i,a),null),i},useId:function(){var t=Dt(),a=Ue.identifierPrefix;if(Oe){var i=zs,c=Ls;i=(c&~(1<<32-Et(c)-1)).toString(32)+i,a="_"+a+"R_"+i,i=Cl++,0<i&&(a+="H"+i.toString(32)),a+="_"}else i=jk++,a="_"+a+"r_"+i.toString(32)+"_";return t.memoizedState=a},useHostTransitionStatus:kd,useFormState:Dg,useActionState:Dg,useOptimistic:function(t){var a=Dt();a.memoizedState=a.baseState=t;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=i,a=jd.bind(null,Se,!0,i),i.dispatch=a,[t,a]},useMemoCache:pd,useCacheRefresh:function(){return Dt().memoizedState=Rk.bind(null,Se)},useEffectEvent:function(t){var a=Dt(),i={impl:t};return a.memoizedState=i,function(){if((De&2)!==0)throw Error(o(440));return i.impl.apply(void 0,arguments)}}},Ed={readContext:wt,use:Rl,useCallback:Qg,useContext:wt,useEffect:bd,useImperativeHandle:qg,useInsertionEffect:Gg,useLayoutEffect:Ig,useMemo:Yg,useReducer:Ol,useRef:Fg,useState:function(){return Ol(ca)},useDebugValue:vd,useDeferredValue:function(t,a){var i=tt();return $g(i,ze.memoizedState,t,a)},useTransition:function(){var t=Ol(ca)[0],a=tt().memoizedState;return[typeof t=="boolean"?t:Vo(t),a]},useSyncExternalStore:kg,useId:Zg,useHostTransitionStatus:kd,useFormState:_g,useActionState:_g,useOptimistic:function(t,a){var i=tt();return Ag(i,ze,t,a)},useMemoCache:pd,useCacheRefresh:Jg};Ed.useEffectEvent=Ug;var nx={readContext:wt,use:Rl,useCallback:Qg,useContext:wt,useEffect:bd,useImperativeHandle:qg,useInsertionEffect:Gg,useLayoutEffect:Ig,useMemo:Yg,useReducer:gd,useRef:Fg,useState:function(){return gd(ca)},useDebugValue:vd,useDeferredValue:function(t,a){var i=tt();return ze===null?wd(i,t,a):$g(i,ze.memoizedState,t,a)},useTransition:function(){var t=gd(ca)[0],a=tt().memoizedState;return[typeof t=="boolean"?t:Vo(t),a]},useSyncExternalStore:kg,useId:Zg,useHostTransitionStatus:kd,useFormState:zg,useActionState:zg,useOptimistic:function(t,a){var i=tt();return ze!==null?Ag(i,ze,t,a):(i.baseState=t,[t,i.queue.dispatch])},useMemoCache:pd,useCacheRefresh:Jg};nx.useEffectEvent=Ug;function Td(t,a,i,c){a=t.memoizedState,i=i(c,a),i=i==null?a:y({},a,i),t.memoizedState=i,t.lanes===0&&(t.updateQueue.baseState=i)}var Nd={enqueueSetState:function(t,a,i){t=t._reactInternals;var c=as(),h=za(c);h.payload=a,i!=null&&(h.callback=i),a=Fa(t,h,c),a!==null&&(Yt(a,t,c),Ho(a,t,c))},enqueueReplaceState:function(t,a,i){t=t._reactInternals;var c=as(),h=za(c);h.tag=1,h.payload=a,i!=null&&(h.callback=i),a=Fa(t,h,c),a!==null&&(Yt(a,t,c),Ho(a,t,c))},enqueueForceUpdate:function(t,a){t=t._reactInternals;var i=as(),c=za(i);c.tag=2,a!=null&&(c.callback=a),a=Fa(t,c,i),a!==null&&(Yt(a,t,i),Ho(a,t,i))}};function ix(t,a,i,c,h,m,b){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(c,m,b):a.prototype&&a.prototype.isPureReactComponent?!Mo(i,c)||!Mo(h,m):!0}function ox(t,a,i,c){t=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(i,c),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(i,c),a.state!==t&&Nd.enqueueReplaceState(a,a.state,null)}function Dn(t,a){var i=a;
vendor: 5,716 bytes, line 48
48if("ref"in a){i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}if(t=t.defaultProps){i===a&&(i=y({},i));for(var h in t)i[h]===void 0&&(i[h]=t[h])}return i}function rx(t){hl(t)}function lx(t){console.error(t)}function cx(t){hl(t)}function Dl(t,a){try{var i=t.onUncaughtError;i(a.value,{componentStack:a.stack})}catch(c){setTimeout(function(){throw c})}}function ux(t,a,i){try{var c=t.onCaughtError;c(i.value,{componentStack:i.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function Cd(t,a,i){return i=za(i),i.tag=3,i.payload={element:null},i.callback=function(){Dl(t,a)},i}function dx(t){return t=za(t),t.tag=3,t}function hx(t,a,i,c){var h=i.type.getDerivedStateFromError;if(typeof h=="function"){var m=c.value;t.payload=function(){return h(m)},t.callback=function(){ux(a,i,c)}}var b=i.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(t.callback=function(){ux(a,i,c),typeof h!="function"&&(qa===null?qa=new Set([this]):qa.add(this));var S=c.stack;this.componentDidCatch(c.value,{componentStack:S!==null?S:""})})}function Mk(t,a,i,c,h){if(i.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(a=i.alternate,a!==null&&Ei(a,i,h,!0),i=Jt.current,i!==null){switch(i.tag){case 31:case 13:return ms===null?Yl():i.alternate===null&&We===0&&(We=3),i.flags&=-257,i.flags|=65536,i.lanes=h,c===Sl?i.flags|=16384:(a=i.updateQueue,a===null?i.updateQueue=new Set([c]):a.add(c),Jd(t,c,h)),!1;case 22:return i.flags|=65536,c===Sl?i.flags|=16384:(a=i.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([c])},i.updateQueue=a):(i=a.retryQueue,i===null?a.retryQueue=new Set([c]):i.add(c)),Jd(t,c,h)),!1}throw Error(o(435,i.tag))}return Jd(t,c,h),Yl(),!1}if(Oe)return a=Jt.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=h,c!==Yu&&(t=Error(o(422),{cause:c}),Do(ds(t,i)))):(c!==Yu&&(a=Error(o(423),{cause:c}),Do(ds(a,i))),t=t.current.alternate,t.flags|=65536,h&=-h,t.lanes|=h,c=ds(c,i),h=Cd(t.stateNode,c,h),nd(t,h),We!==4&&(We=2)),!1;var m=Error(o(520),{cause:c});if(m=ds(m,i),er===null?er=[m]:er.push(m),We!==4&&(We=2),a===null)return!0;c=ds(c,i),i=a;do{switch(i.tag){case 3:return i.flags|=65536,t=h&-h,i.lanes|=t,t=Cd(i.stateNode,c,t),nd(i,t),!1;case 1:if(a=i.type,m=i.stateNode,(i.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(qa===null||!qa.has(m))))return i.flags|=65536,h&=-h,i.lanes|=h,h=dx(h),hx(h,t,i,c),nd(i,h),!1}i=i.return}while(i!==null);return!1}var Ad=Error(o(461)),ot=!1;function St(t,a,i,c){a.child=t===null?gg(a,null,i,c):Pn(a,t.child,i,c)}function fx(t,a,i,c,h){i=i.render;var m=a.ref;if("ref"in c){var b={};for(var S in c)S!=="ref"&&(b[S]=c[S])}else b=c;return An(a),c=ud(t,a,i,b,m,h),S=dd(),t!==null&&!ot?(hd(t,a,h),ua(t,a,h)):(Oe&&S&&qu(a),a.flags|=1,St(t,a,c,h),a.child)}function px(t,a,i,c,h){if(t===null){var m=i.type;return typeof m=="function"&&!Gu(m)&&m.defaultProps===void 0&&i.compare===null?(a.tag=15,a.type=m,mx(t,a,m,c,h)):(t=gl(i.type,null,c,a,a.mode,h),t.ref=a.ref,t.return=a,a.child=t)}if(m=t.child,!Ld(t,h)){var b=m.memoizedProps;if(i=i.compare,i=i!==null?i:Mo,i(b,c)&&t.ref===a.ref)return ua(t,a,h)}return a.flags|=1,t=na(m,c),t.ref=a.ref,t.return=a,a.child=t}function mx(t,a,i,c,h){if(t!==null){var m=t.memoizedProps;if(Mo(m,c)&&t.ref===a.ref)if(ot=!1,a.pendingProps=c=m,Ld(t,h))(t.flags&131072)!==0&&(ot=!0);else return a.lanes=t.lanes,ua(t,a,h)}return Rd(t,a,i,c,h)}function gx(t,a,i,c){var h=c.children,m=t!==null?t.memoizedState:null;if(t===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((a.flags&128)!==0){if(m=m!==null?m.baseLanes|i:i,t!==null){for(c=a.child=t.child,h=0;c!==null;)h=h|c.lanes|c.childLanes,c=c.sibling;c=h&~m}else c=0,a.child=null;return xx(t,a,m,i,c)}if((i&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},t!==null&&vl(a,m!==null?m.cachePool:null),m!==null?bg(a,m):od(),vg(a);else return c=a.lanes=536870912,xx(t,a,m!==null?m.baseLanes|i:i,i,c)}else m!==null?(vl(a,m.cachePool),bg(a,m),Ua(),a.memoizedState=null):(t!==null&&vl(a,null),od(),Ua());return St(t,a,h,i),a.child}function Yo(t,a){return t!==null&&t.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function xx(t,a,i,c,h){var m=ed();return m=m===null?null:{parent:nt._currentValue,pool:m},a.memoizedState={baseLanes:i,cachePool:m},t!==null&&vl(a,null),od(),vg(a),t!==null&&Ei(t,a,c,!0),a.childLanes=h,null}function _l(t,a){return a=zl({mode:a.mode,children:a.children},t.mode),a.ref=t.ref,t.child=a,a.return=t,a}function yx(t,a,i){return Pn(a,t.child,null,i),t=_l(a,a.pendingProps),t.flags|=2,es(a),a.memoizedState=null,t}function Pk(t,a,i){var c=a.pendingProps,h=(a.flags&128)!==0;if(a.flags&=-129,t===null){if(Oe){if(c.mode==="hidden")return t=_l(a,c),a.lanes=536870912,Yo(null,t);if(ld(a),(t=Ge)?(t=Ry(t,ps),t=t!==null&&t.data==="&"?t:null,t!==null&&(a.memoizedState={dehydrated:t,treeContext:Pa!==null?{id:Ls,overflow:zs}:null,retryLane:536870912,hydrationErrors:null},i=tg(t),i.return=a,a.child=i,vt=a,Ge=null)):t=null,t===null)throw Da(a);return a.lanes=536870912,null}return _l(a,c)}var m=t.memoizedState;if(m!==null){var b=m.dehydrated;if(ld(a),h)if(a.flags&256)a.flags&=-257,a=yx(t,a,i);else if(a.memoizedState!==null)a.child=t.child,a.flags|=128,a=null;else throw Error(o(558));else if(ot||Ei(t,a,i,!1),h=(i&t.childLanes)!==0,ot||h){if(c=Ue,c!==null&&(b=Ht(c,i),b!==0&&b!==m.retryLane))throw m.retryLane=b,En(t,b),Yt(c,t,b),Ad;Yl(),a=yx(t,a,i)}else t=m.treeContext,Ge=gs(b.nextSibling),vt=a,Oe=!0,Ba=null,ps=!1,t!==null&&ng(a,t),a=_l
vendor: 4,457 bytes, line 48
48(a,c),a.flags|=4096;return a}return t=na(t.child,{mode:c.mode,children:c.children}),t.ref=a.ref,a.child=t,t.return=a,t}function Ll(t,a){var i=a.ref;if(i===null)t!==null&&t.ref!==null&&(a.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(o(284));(t===null||t.ref!==i)&&(a.flags|=4194816)}}function Rd(t,a,i,c,h){return An(a),i=ud(t,a,i,c,void 0,h),c=dd(),t!==null&&!ot?(hd(t,a,h),ua(t,a,h)):(Oe&&c&&qu(a),a.flags|=1,St(t,a,i,h),a.child)}function bx(t,a,i,c,h,m){return An(a),a.updateQueue=null,i=Sg(a,c,i,h),wg(t),c=dd(),t!==null&&!ot?(hd(t,a,m),ua(t,a,m)):(Oe&&c&&qu(a),a.flags|=1,St(t,a,i,m),a.child)}function vx(t,a,i,c,h){if(An(a),a.stateNode===null){var m=wi,b=i.contextType;typeof b=="object"&&b!==null&&(m=wt(b)),m=new i(c,m),a.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=Nd,a.stateNode=m,m._reactInternals=a,m=a.stateNode,m.props=c,m.state=a.memoizedState,m.refs={},sd(a),b=i.contextType,m.context=typeof b=="object"&&b!==null?wt(b):wi,m.state=a.memoizedState,b=i.getDerivedStateFromProps,typeof b=="function"&&(Td(a,i,b,c),m.state=a.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(b=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),b!==m.state&&Nd.enqueueReplaceState(m,m.state,null),Go(a,c,m,h),Uo(),m.state=a.memoizedState),typeof m.componentDidMount=="function"&&(a.flags|=4194308),c=!0}else if(t===null){m=a.stateNode;var S=a.memoizedProps,A=Dn(i,S);m.props=A;var I=m.context,W=i.contextType;b=wi,typeof W=="object"&&W!==null&&(b=wt(W));var ee=i.getDerivedStateFromProps;W=typeof ee=="function"||typeof m.getSnapshotBeforeUpdate=="function",S=a.pendingProps!==S,W||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(S||I!==b)&&ox(a,m,c,b),La=!1;var q=a.memoizedState;m.state=q,Go(a,c,m,h),Uo(),I=a.memoizedState,S||q!==I||La?(typeof ee=="function"&&(Td(a,i,ee,c),I=a.memoizedState),(A=La||ix(a,i,A,c,q,I,b))?(W||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(a.flags|=4194308)):(typeof m.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=c,a.memoizedState=I),m.props=c,m.state=I,m.context=b,c=A):(typeof m.componentDidMount=="function"&&(a.flags|=4194308),c=!1)}else{m=a.stateNode,ad(t,a),b=a.memoizedProps,W=Dn(i,b),m.props=W,ee=a.pendingProps,q=m.context,I=i.contextType,A=wi,typeof I=="object"&&I!==null&&(A=wt(I)),S=i.getDerivedStateFromProps,(I=typeof S=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(b!==ee||q!==A)&&ox(a,m,c,A),La=!1,q=a.memoizedState,m.state=q,Go(a,c,m,h),Uo();var Y=a.memoizedState;b!==ee||q!==Y||La||t!==null&&t.dependencies!==null&&yl(t.dependencies)?(typeof S=="function"&&(Td(a,i,S,c),Y=a.memoizedState),(W=La||ix(a,i,W,c,q,Y,A)||t!==null&&t.dependencies!==null&&yl(t.dependencies))?(I||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(c,Y,A),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(c,Y,A)),typeof m.componentDidUpdate=="function"&&(a.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof m.componentDidUpdate!="function"||b===t.memoizedProps&&q===t.memoizedState||(a.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&q===t.memoizedState||(a.flags|=1024),a.memoizedProps=c,a.memoizedState=Y),m.props=c,m.state=Y,m.context=A,c=W):(typeof m.componentDidUpdate!="function"||b===t.memoizedProps&&q===t.memoizedState||(a.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&q===t.memoizedState||(a.flags|=1024),c=!1)}return m=c,Ll(t,a),c=(a.flags&128)!==0,m||c?(m=a.stateNode,i=c&&typeof i.getDerivedStateFromError!="function"?null:m.render(),a.flags|=1,t!==null&&c?(a.child=Pn(a,t.child,null,h),a.child=Pn(a,null,i,h)):St(t,a,i,h),a.memoizedState=m.state,t=a.child):t=ua(t,a,h),t}
vendor: 2,627 bytes, line 48
48function wx(t,a,i,c){return Nn(),a.flags|=256,St(t,a,i,c),a.child}var Od={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Md(t){return{baseLanes:t,cachePool:ug()}}function Pd(t,a,i){return t=t!==null?t.childLanes&~i:0,a&&(t|=ss),t}function Sx(t,a,i){var c=a.pendingProps,h=!1,m=(a.flags&128)!==0,b;if((b=m)||(b=t!==null&&t.memoizedState===null?!1:(et.current&2)!==0),b&&(h=!0,a.flags&=-129),b=(a.flags&32)!==0,a.flags&=-33,t===null){if(Oe){if(h?Ha(a):Ua(),(t=Ge)?(t=Ry(t,ps),t=t!==null&&t.data!=="&"?t:null,t!==null&&(a.memoizedState={dehydrated:t,treeContext:Pa!==null?{id:Ls,overflow:zs}:null,retryLane:536870912,hydrationErrors:null},i=tg(t),i.return=a,a.child=i,vt=a,Ge=null)):t=null,t===null)throw Da(a);return mh(t)?a.lanes=32:a.lanes=536870912,null}var S=c.children;return c=c.fallback,h?(Ua(),h=a.mode,S=zl({mode:"hidden",children:S},h),c=Tn(c,h,i,null),S.return=a,c.return=a,S.sibling=c,a.child=S,c=a.child,c.memoizedState=Md(i),c.childLanes=Pd(t,b,i),a.memoizedState=Od,Yo(null,c)):(Ha(a),Bd(a,S))}var A=t.memoizedState;if(A!==null&&(S=A.dehydrated,S!==null)){if(m)a.flags&256?(Ha(a),a.flags&=-257,a=Dd(t,a,i)):a.memoizedState!==null?(Ua(),a.child=t.child,a.flags|=128,a=null):(Ua(),S=c.fallback,h=a.mode,c=zl({mode:"visible",children:c.children},h),S=Tn(S,h,i,null),S.flags|=2,c.return=a,S.return=a,c.sibling=S,a.child=c,Pn(a,t.child,null,i),c=a.child,c.memoizedState=Md(i),c.childLanes=Pd(t,b,i),a.memoizedState=Od,a=Yo(null,c));else if(Ha(a),mh(S)){if(b=S.nextSibling&&S.nextSibling.dataset,b)var I=b.dgst;b=I,c=Error(o(419)),c.stack="",c.digest=b,Do({value:c,source:null,stack:null}),a=Dd(t,a,i)}else if(ot||Ei(t,a,i,!1),b=(i&t.childLanes)!==0,ot||b){if(b=Ue,b!==null&&(c=Ht(b,i),c!==0&&c!==A.retryLane))throw A.retryLane=c,En(t,c),Yt(b,t,c),Ad;ph(S)||Yl(),a=Dd(t,a,i)}else ph(S)?(a.flags|=192,a.child=t.child,a=null):(t=A.treeContext,Ge=gs(S.nextSibling),vt=a,Oe=!0,Ba=null,ps=!1,t!==null&&ng(a,t),a=Bd(a,c.children),a.flags|=4096);return a}return h?(Ua(),S=c.fallback,h=a.mode,A=t.child,I=A.sibling,c=na(A,{mode:"hidden",children:c.children}),c.subtreeFlags=A.subtreeFlags&65011712,I!==null?S=na(I,S):(S=Tn(S,h,i,null),S.flags|=2),S.return=a,c.return=a,c.sibling=S,a.child=c,Yo(null,c),c=a.child,S=t.child.memoizedState,S===null?S=Md(i):(h=S.cachePool,h!==null?(A=nt._currentValue,h=h.parent!==A?{parent:A,pool:A}:h):h=ug(),S={baseLanes:S.baseLanes|i,cachePool:h}),c.memoizedState=S,c.childLanes=Pd(t,b,i),a.memoizedState=Od,Yo(t.child,c)):(Ha(a),i=t.child,t=i.sibling,i=na(i,{mode:"visible",children:c.children}),i.return=a,i.sibling=null,t!==null&&(b=a.deletions,b===null?(a.deleti
vendor: 5,066 bytes, line 48
48ons=[t],a.flags|=16):b.push(t)),a.child=i,a.memoizedState=null,i)}function Bd(t,a){return a=zl({mode:"visible",children:a},t.mode),a.return=t,t.child=a}function zl(t,a){return t=Zt(22,t,null,a),t.lanes=0,t}function Dd(t,a,i){return Pn(a,t.child,null,i),t=Bd(a,a.pendingProps.children),t.flags|=2,a.memoizedState=null,t}function kx(t,a,i){t.lanes|=a;var c=t.alternate;c!==null&&(c.lanes|=a),Xu(t.return,a,i)}function _d(t,a,i,c,h,m){var b=t.memoizedState;b===null?t.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:c,tail:i,tailMode:h,treeForkCount:m}:(b.isBackwards=a,b.rendering=null,b.renderingStartTime=0,b.last=c,b.tail=i,b.tailMode=h,b.treeForkCount=m)}function jx(t,a,i){var c=a.pendingProps,h=c.revealOrder,m=c.tail;c=c.children;var b=et.current,S=(b&2)!==0;if(S?(b=b&1|2,a.flags|=128):b&=1,V(et,b),St(t,a,c,i),c=Oe?Bo:0,!S&&t!==null&&(t.flags&128)!==0)e:for(t=a.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&kx(t,i,a);else if(t.tag===19)kx(t,i,a);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===a)break e;for(;t.sibling===null;){if(t.return===null||t.return===a)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(h){case"forwards":for(i=a.child,h=null;i!==null;)t=i.alternate,t!==null&&Tl(t)===null&&(h=i),i=i.sibling;i=h,i===null?(h=a.child,a.child=null):(h=i.sibling,i.sibling=null),_d(a,!1,h,i,m,c);break;case"backwards":case"unstable_legacy-backwards":for(i=null,h=a.child,a.child=null;h!==null;){if(t=h.alternate,t!==null&&Tl(t)===null){a.child=h;break}t=h.sibling,h.sibling=i,i=h,h=t}_d(a,!0,i,null,m,c);break;case"together":_d(a,!1,null,null,void 0,c);break;default:a.memoizedState=null}return a.child}function ua(t,a,i){if(t!==null&&(a.dependencies=t.dependencies),Va|=a.lanes,(i&a.childLanes)===0)if(t!==null){if(Ei(t,a,i,!1),(i&a.childLanes)===0)return null}else return null;if(t!==null&&a.child!==t.child)throw Error(o(153));if(a.child!==null){for(t=a.child,i=na(t,t.pendingProps),a.child=i,i.return=a;t.sibling!==null;)t=t.sibling,i=i.sibling=na(t,t.pendingProps),i.return=a;i.sibling=null}return a.child}function Ld(t,a){return(t.lanes&a)!==0?!0:(t=t.dependencies,!!(t!==null&&yl(t)))}function Bk(t,a,i){switch(a.tag){case 3:be(a,a.stateNode.containerInfo),_a(a,nt,t.memoizedState.cache),Nn();break;case 27:case 5:xt(a);break;case 4:be(a,a.stateNode.containerInfo);break;case 10:_a(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,ld(a),null;break;case 13:var c=a.memoizedState;if(c!==null)return c.dehydrated!==null?(Ha(a),a.flags|=128,null):(i&a.child.childLanes)!==0?Sx(t,a,i):(Ha(a),t=ua(t,a,i),t!==null?t.sibling:null);Ha(a);break;case 19:var h=(t.flags&128)!==0;if(c=(i&a.childLanes)!==0,c||(Ei(t,a,i,!1),c=(i&a.childLanes)!==0),h){if(c)return jx(t,a,i);a.flags|=128}if(h=a.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),V(et,et.current),c)break;return null;case 22:return a.lanes=0,gx(t,a,i,a.pendingProps);case 24:_a(a,nt,t.memoizedState.cache)}return ua(t,a,i)}function Ex(t,a,i){if(t!==null)if(t.memoizedProps!==a.pendingProps)ot=!0;else{if(!Ld(t,i)&&(a.flags&128)===0)return ot=!1,Bk(t,a,i);ot=(t.flags&131072)!==0}else ot=!1,Oe&&(a.flags&1048576)!==0&&ag(a,Bo,a.index);switch(a.lanes=0,a.tag){case 16:e:{var c=a.pendingProps;if(t=On(a.elementType),a.type=t,typeof t=="function")Gu(t)?(c=Dn(t,c),a.tag=1,a=vx(null,a,t,c,i)):(a.tag=0,a=Rd(null,a,t,c,i));else{if(t!=null){var h=t.$$typeof;if(h===Q){a.tag=11,a=fx(null,a,t,c,i);break e}else if(h===C){a.tag=14,a=px(null,a,t,c,i);break e}}throw a=oe(t)||t,Error(o(306,a,""))}}return a;case 0:return Rd(t,a,a.type,a.pendingProps,i);case 1:return c=a.type,h=Dn(c,a.pendingProps),vx(t,a,c,h,i);case 3:e:{if(be(a,a.stateNode.containerInfo),t===null)throw Error(o(387));c=a.pendingProps;var m=a.memoizedState;h=m.element,ad(t,a),Go(a,c,null,i);var b=a.memoizedState;if(c=b.cache,_a(a,nt,c),c!==m.cache&&Wu(a,[nt],i,!0),Uo(),c=b.element,m.isDehydrated)if(m={element:c,isDehydrated:!1,cache:b.cache},a.updateQueue.baseState=m,a.memoizedState=m,a.flags&256){a=wx(t,a,c,i);break e}else if(c!==h){h=ds(Error(o(424)),a),Do(h),a=wx(t,a,c,i);break e}else{switch(t=a.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ge=gs(t.firstChild),vt=a,Oe=!0,Ba=null,ps=!0,i=gg(a,null,c,i),a.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(Nn(),c===h){a=ua(t,a,i);break e}St(t,a,c,i)}a=a.child}return a;case 26:return Ll(t,a),t===null?(i=_y(a.type,null,a.pendingProps,null))?a.memoizedState=i:Oe||(i=a.type,t=a.pendingProps,c=ec(pe.current).createElement(i),c[bt]=a,c[Ut]=t,kt(c,i,t),mt(c),a.stateNode=c):a.memoizedState=_y(a.type,t.memoizedProps,a.pendingProps,t.memoizedState),null;case 27:return xt(a),t===null&&Oe&&(c=a.stateNode=Py(a.type,a.pendingProps,pe.current),vt=a,ps=!0,h=Ge,Ka(a.type)?(gh=h,Ge=gs(c.firstChild)):Ge=h),St(t,a,a.pendingProps.children,i),Ll(t,a),t===null&&(a.flags|=4194304),a.child;case 5:return t===null&&Oe&&((h=c=Ge)&&(c=uj(c,a.type,a.pendingProps,ps),c!==null?(a.stateNode=c,vt=
vendor: 4,459 bytes, line 48
48a,Ge=gs(c.firstChild),ps=!1,h=!0):h=!1),h||Da(a)),xt(a),h=a.type,m=a.pendingProps,b=t!==null?t.memoizedProps:null,c=m.children,dh(h,m)?c=null:b!==null&&dh(h,b)&&(a.flags|=32),a.memoizedState!==null&&(h=ud(t,a,Ek,null,null,i),lr._currentValue=h),Ll(t,a),St(t,a,c,i),a.child;case 6:return t===null&&Oe&&((t=i=Ge)&&(i=dj(i,a.pendingProps,ps),i!==null?(a.stateNode=i,vt=a,Ge=null,t=!0):t=!1),t||Da(a)),null;case 13:return Sx(t,a,i);case 4:return be(a,a.stateNode.containerInfo),c=a.pendingProps,t===null?a.child=Pn(a,null,c,i):St(t,a,c,i),a.child;case 11:return fx(t,a,a.type,a.pendingProps,i);case 7:return St(t,a,a.pendingProps,i),a.child;case 8:return St(t,a,a.pendingProps.children,i),a.child;case 12:return St(t,a,a.pendingProps.children,i),a.child;case 10:return c=a.pendingProps,_a(a,a.type,c.value),St(t,a,c.children,i),a.child;case 9:return h=a.type._context,c=a.pendingProps.children,An(a),h=wt(h),c=c(h),a.flags|=1,St(t,a,c,i),a.child;case 14:return px(t,a,a.type,a.pendingProps,i);case 15:return mx(t,a,a.type,a.pendingProps,i);case 19:return jx(t,a,i);case 31:return Pk(t,a,i);case 22:return gx(t,a,i,a.pendingProps);case 24:return An(a),c=wt(nt),t===null?(h=ed(),h===null&&(h=Ue,m=Zu(),h.pooledCache=m,m.refCount++,m!==null&&(h.pooledCacheLanes|=i),h=m),a.memoizedState={parent:c,cache:h},sd(a),_a(a,nt,h)):((t.lanes&i)!==0&&(ad(t,a),Go(a,null,null,i),Uo()),h=t.memoizedState,m=a.memoizedState,h.parent!==c?(h={parent:c,cache:c},a.memoizedState=h,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=h),_a(a,nt,c)):(c=m.cache,_a(a,nt,c),c!==h.cache&&Wu(a,[nt],i,!0))),St(t,a,a.pendingProps.children,i),a.child;case 29:throw a.pendingProps}throw Error(o(156,a.tag))}function da(t){t.flags|=4}function zd(t,a,i,c,h){if((a=(t.mode&32)!==0)&&(a=!1),a){if(t.flags|=16777216,(h&335544128)===h)if(t.stateNode.complete)t.flags|=8192;else if(Zx())t.flags|=8192;else throw Mn=Sl,td}else t.flags&=-16777217}function Tx(t,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Uy(a))if(Zx())t.flags|=8192;else throw Mn=Sl,td}function Fl(t,a){a!==null&&(t.flags|=4),t.flags&16384&&(a=t.tag!==22?Tt():536870912,t.lanes|=a,Li|=a)}function $o(t,a){if(!Oe)switch(t.tailMode){case"hidden":a=t.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t.tail=null:i.sibling=null;break;case"collapsed":i=t.tail;for(var c=null;i!==null;)i.alternate!==null&&(c=i),i=i.sibling;c===null?a||t.tail===null?t.tail=null:t.tail.sibling=null:c.sibling=null}}function Ie(t){var a=t.alternate!==null&&t.alternate.child===t.child,i=0,c=0;if(a)for(var h=t.child;h!==null;)i|=h.lanes|h.childLanes,c|=h.subtreeFlags&65011712,c|=h.flags&65011712,h.return=t,h=h.sibling;else for(h=t.child;h!==null;)i|=h.lanes|h.childLanes,c|=h.subtreeFlags,c|=h.flags,h.return=t,h=h.sibling;return t.subtreeFlags|=c,t.childLanes=i,a}function Dk(t,a,i){var c=a.pendingProps;switch(Qu(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ie(a),null;case 1:return Ie(a),null;case 3:return i=a.stateNode,c=null,t!==null&&(c=t.memoizedState.cache),a.memoizedState.cache!==c&&(a.flags|=2048),ra(nt),Re(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(t===null||t.child===null)&&(ji(a)?da(a):t===null||t.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,$u())),Ie(a),null;case 26:var h=a.type,m=a.memoizedState;return t===null?(da(a),m!==null?(Ie(a),Tx(a,m)):(Ie(a),zd(a,h,null,c,i))):m?m!==t.memoizedState?(da(a),Ie(a),Tx(a,m)):(Ie(a),a.flags&=-16777217):(t=t.memoizedProps,t!==c&&da(a),Ie(a),zd(a,h,t,c,i)),null;case 27:if(Ot(a),i=pe.current,h=a.type,t!==null&&a.stateNode!=null)t.memoizedProps!==c&&da(a);else{if(!c){if(a.stateNode===null)throw Error(o(166));return Ie(a),null}t=X.current,ji(a)?ig(a):(t=Py(h,c,i),a.stateNode=t,da(a))}return Ie(a),null;case 5:if(Ot(a),h=a.type,t!==null&&a.stateNode!=null)t.memoizedProps!==c&&da(a);else{if(!c){if(a.stateNode===null)throw Error(o(166));return Ie(a),null}if(m=X.current,ji(a))ig(a);else{var b=ec(pe.current);switch(m){case 1:m=b.createElementNS("http://www.w3.org/2000/svg",h);break;case 2:m=b.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;default:switch(h){case"svg":m=b.createElementNS("http://www.w3.org/2000/svg",h);break;case"math":m=b.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;case"script":m=b.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;
vendor: 16,876 bytes, line 48
48case"select":m=typeof c.is=="string"?b.createElement("select",{is:c.is}):b.createElement("select"),c.multiple?m.multiple=!0:c.size&&(m.size=c.size);break;default:m=typeof c.is=="string"?b.createElement(h,{is:c.is}):b.createElement(h)}}m[bt]=a,m[Ut]=c;e:for(b=a.child;b!==null;){if(b.tag===5||b.tag===6)m.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===a)break e;for(;b.sibling===null;){if(b.return===null||b.return===a)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}a.stateNode=m;e:switch(kt(m,h,c),h){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&da(a)}}return Ie(a),zd(a,a.type,t===null?null:t.memoizedProps,a.pendingProps,i),null;case 6:if(t&&a.stateNode!=null)t.memoizedProps!==c&&da(a);else{if(typeof c!="string"&&a.stateNode===null)throw Error(o(166));if(t=pe.current,ji(a)){if(t=a.stateNode,i=a.memoizedProps,c=null,h=vt,h!==null)switch(h.tag){case 27:case 5:c=h.memoizedProps}t[bt]=a,t=!!(t.nodeValue===i||c!==null&&c.suppressHydrationWarning===!0||Sy(t.nodeValue,i)),t||Da(a,!0)}else t=ec(t).createTextNode(c),t[bt]=a,a.stateNode=t}return Ie(a),null;case 31:if(i=a.memoizedState,t===null||t.memoizedState!==null){if(c=ji(a),i!==null){if(t===null){if(!c)throw Error(o(318));if(t=a.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[bt]=a}else Nn(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Ie(a),t=!1}else i=$u(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=i),t=!0;if(!t)return a.flags&256?(es(a),a):(es(a),null);if((a.flags&128)!==0)throw Error(o(558))}return Ie(a),null;case 13:if(c=a.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(h=ji(a),c!==null&&c.dehydrated!==null){if(t===null){if(!h)throw Error(o(318));if(h=a.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(o(317));h[bt]=a}else Nn(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Ie(a),h=!1}else h=$u(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=h),h=!0;if(!h)return a.flags&256?(es(a),a):(es(a),null)}return es(a),(a.flags&128)!==0?(a.lanes=i,a):(i=c!==null,t=t!==null&&t.memoizedState!==null,i&&(c=a.child,h=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(h=c.alternate.memoizedState.cachePool.pool),m=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(m=c.memoizedState.cachePool.pool),m!==h&&(c.flags|=2048)),i!==t&&i&&(a.child.flags|=8192),Fl(a,a.updateQueue),Ie(a),null);case 4:return Re(),t===null&&oh(a.stateNode.containerInfo),Ie(a),null;case 10:return ra(a.type),Ie(a),null;case 19:if($(et),c=a.memoizedState,c===null)return Ie(a),null;if(h=(a.flags&128)!==0,m=c.rendering,m===null)if(h)$o(c,!1);else{if(We!==0||t!==null&&(t.flags&128)!==0)for(t=a.child;t!==null;){if(m=Tl(t),m!==null){for(a.flags|=128,$o(c,!1),t=m.updateQueue,a.updateQueue=t,Fl(a,t),a.subtreeFlags=0,t=i,i=a.child;i!==null;)eg(i,t),i=i.sibling;return V(et,et.current&1|2),Oe&&ia(a,c.treeForkCount),a.child}t=t.sibling}c.tail!==null&&Pt()>Vl&&(a.flags|=128,h=!0,$o(c,!1),a.lanes=4194304)}else{if(!h)if(t=Tl(m),t!==null){if(a.flags|=128,h=!0,t=t.updateQueue,a.updateQueue=t,Fl(a,t),$o(c,!0),c.tail===null&&c.tailMode==="hidden"&&!m.alternate&&!Oe)return Ie(a),null}else 2*Pt()-c.renderingStartTime>Vl&&i!==536870912&&(a.flags|=128,h=!0,$o(c,!1),a.lanes=4194304);c.isBackwards?(m.sibling=a.child,a.child=m):(t=c.last,t!==null?t.sibling=m:a.child=m,c.last=m)}return c.tail!==null?(t=c.tail,c.rendering=t,c.tail=t.sibling,c.renderingStartTime=Pt(),t.sibling=null,i=et.current,V(et,h?i&1|2:i&1),Oe&&ia(a,c.treeForkCount),t):(Ie(a),null);case 22:case 23:return es(a),rd(),c=a.memoizedState!==null,t!==null?t.memoizedState!==null!==c&&(a.flags|=8192):c&&(a.flags|=8192),c?(i&536870912)!==0&&(a.flags&128)===0&&(Ie(a),a.subtreeFlags&6&&(a.flags|=8192)):Ie(a),i=a.updateQueue,i!==null&&Fl(a,i.retryQueue),i=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==i&&(a.flags|=2048),t!==null&&$(Rn),null;case 24:return i=null,t!==null&&(i=t.memoizedState.cache),a.memoizedState.cache!==i&&(a.flags|=2048),ra(nt),Ie(a),null;case 25:return null;case 30:return null}throw Error(o(156,a.tag))}function _k(t,a){switch(Qu(a),a.tag){case 1:return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 3:return ra(nt),Re(),t=a.flags,(t&65536)!==0&&(t&128)===0?(a.flags=t&-65537|128,a):null;case 26:case 27:case 5:return Ot(a),null;case 31:if(a.memoizedState!==null){if(es(a),a.alternate===null)throw Error(o(340));Nn()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 13:if(es(a),t=a.memoizedState,t!==null&&t.dehydrated!==null){if(a.alternate===null)throw Error(o(340));Nn()}return t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 19:return $(et),null;case 4:return Re(),null;case 10:return ra(a.type),null;case 22:case 23:return es(a),rd(),t!==null&&$(Rn),t=a.flags,t&65536?(a.flags=t&-65537|128,a):null;case 24:return ra(nt),null;case 25:return null;default:return null}}function Nx(t,a){switch(Qu(a),a.tag){case 3:ra(nt),Re();break;case 26:case 27:case 5:Ot(a);break;case 4:Re();break;case 31:a.memoizedState!==null&&es(a);break;case 13:es(a);break;case 19:$(et);break;case 10:ra(a.type);break;case 22:case 23:es(a),rd(),t!==null&&$(Rn);break;case 24:ra(nt)}}function Ko(t,a){try{var i=a.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var h=c.next;i=h;do{if((i.tag&t)===t){c=void 0;var m=i.create,b=i.inst;c=m(),b.destroy=c}i=i.next}while(i!==h)}}catch(S){Le(a,a.return,S)}}function Ga(t,a,i){try{var c=a.updateQueue,h=c!==null?c.lastEffect:null;if(h!==null){var m=h.next;c=m;do{if((c.tag&t)===t){var b=c.inst,S=b.destroy;if(S!==void 0){b.destroy=void 0,h=a;var A=i,I=S;try{I()}catch(W){Le(h,A,W)}}}c=c.next}while(c!==m)}}catch(W){Le(a,a.return,W)}}function Cx(t){var a=t.updateQueue;if(a!==null){var i=t.stateNode;try{yg(a,i)}catch(c){Le(t,t.return,c)}}}function Ax(t,a,i){i.props=Dn(t.type,t.memoizedProps),i.state=t.memoizedState;try{i.componentWillUnmount()}catch(c){Le(t,a,c)}}function Xo(t,a){try{var i=t.ref;if(i!==null){switch(t.tag){case 26:case 27:case 5:var c=t.stateNode;break;case 30:c=t.stateNode;break;default:c=t.stateNode}typeof i=="function"?t.refCleanup=i(c):i.current=c}}catch(h){Le(t,a,h)}}function Fs(t,a){var i=t.ref,c=t.refCleanup;if(i!==null)if(typeof c=="function")try{c()}catch(h){Le(t,a,h)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(h){Le(t,a,h)}else i.current=null}function Rx(t){var a=t.type,i=t.memoizedProps,c=t.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":i.autoFocus&&c.focus();break e;case"img":i.src?c.src=i.src:i.srcSet&&(c.srcset=i.srcSet)}}catch(h){Le(t,t.return,h)}}function Fd(t,a,i){try{var c=t.stateNode;nj(c,t.type,i,a),c[Ut]=a}catch(h){Le(t,t.return,h)}}function Ox(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Ka(t.type)||t.tag===4}function Hd(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Ox(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Ka(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Ud(t,a,i){var c=t.tag;if(c===5||c===6)t=t.stateNode,a?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(t,a):(a=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,a.appendChild(t),i=i._reactRootContainer,i!=null||a.onclick!==null||(a.onclick=sa));else if(c!==4&&(c===27&&Ka(t.type)&&(i=t.stateNode,a=null),t=t.child,t!==null))for(Ud(t,a,i),t=t.sibling;t!==null;)Ud(t,a,i),t=t.sibling}function Hl(t,a,i){var c=t.tag;if(c===5||c===6)t=t.stateNode,a?i.insertBefore(t,a):i.appendChild(t);else if(c!==4&&(c===27&&Ka(t.type)&&(i=t.stateNode),t=t.child,t!==null))for(Hl(t,a,i),t=t.sibling;t!==null;)Hl(t,a,i),t=t.sibling}function Mx(t){var a=t.stateNode,i=t.memoizedProps;try{for(var c=t.type,h=a.attributes;h.length;)a.removeAttributeNode(h[0]);kt(a,c,i),a[bt]=t,a[Ut]=i}catch(m){Le(t,t.return,m)}}var ha=!1,rt=!1,Gd=!1,Px=typeof WeakSet=="function"?WeakSet:Set,gt=null;function Lk(t,a){if(t=t.containerInfo,ch=rc,t=qm(t),Du(t)){if("selectionStart"in t)var i={start:t.selectionStart,end:t.selectionEnd};else e:{i=(i=t.ownerDocument)&&i.defaultView||window;var c=i.getSelection&&i.getSelection();if(c&&c.rangeCount!==0){i=c.anchorNode;var h=c.anchorOffset,m=c.focusNode;c=c.focusOffset;try{i.nodeType,m.nodeType}catch{i=null;break e}var b=0,S=-1,A=-1,I=0,W=0,ee=t,q=null;t:for(;;){for(var Y;ee!==i||h!==0&&ee.nodeType!==3||(S=b+h),ee!==m||c!==0&&ee.nodeType!==3||(A=b+c),ee.nodeType===3&&(b+=ee.nodeValue.length),(Y=ee.firstChild)!==null;)q=ee,ee=Y;for(;;){if(ee===t)break t;if(q===i&&++I===h&&(S=b),q===m&&++W===c&&(A=b),(Y=ee.nextSibling)!==null)break;ee=q,q=ee.parentNode}ee=Y}i=S===-1||A===-1?null:{start:S,end:A}}else i=null}i=i||{start:0,end:0}}else i=null;for(uh={focusedElem:t,selectionRange:i},rc=!1,gt=a;gt!==null;)if(a=gt,t=a.child,(a.subtreeFlags&1028)!==0&&t!==null)t.return=a,gt=t;else for(;gt!==null;){switch(a=gt,m=a.alternate,t=a.flags,a.tag){case 0:if((t&4)!==0&&(t=a.updateQueue,t=t!==null?t.events:null,t!==null))for(i=0;i<t.length;i++)h=t[i],h.ref.impl=h.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&m!==null){t=void 0,i=a,h=m.memoizedProps,m=m.memoizedState,c=i.stateNode;try{var de=Dn(i.type,h);t=c.getSnapshotBeforeUpdate(de,m),c.__reactInternalSnapshotBeforeUpdate=t}catch(xe){Le(i,i.return,xe)}}break;case 3:if((t&1024)!==0){if(t=a.stateNode.containerInfo,i=t.nodeType,i===9)fh(t);else if(i===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":fh(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(o(163))}if(t=a.sibling,t!==null){t.return=a.return,gt=t;break}gt=a.return}}function Bx(t,a,i){var c=i.flags;switch(i.tag){case 0:case 11:case 15:pa(t,i),c&4&&Ko(5,i);break;case 1:if(pa(t,i),c&4)if(t=i.stateNode,a===null)try{t.componentDidMount()}catch(b){Le(i,i.return,b)}else{var h=Dn(i.type,a.memoizedProps);a=a.memoizedState;try{t.componentDidUpdate(h,a,t.__reactInternalSnapshotBeforeUpdate)}catch(b){Le(i,i.return,b)}}c&64&&Cx(i),c&512&&Xo(i,i.return);break;case 3:if(pa(t,i),c&64&&(t=i.updateQueue,t!==null)){if(a=null,i.child!==null)switch(i.child.tag){case 27:case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}try{yg(t,a)}catch(b){Le(i,i.return,b)}}break;case 27:a===null&&c&4&&Mx(i);case 26:case 5:pa(t,i),a===null&&c&4&&Rx(i),c&512&&Xo(i,i.return);break;case 12:pa(t,i);break;case 31:pa(t,i),c&4&&Lx(t,i);break;case 13:pa(t,i),c&4&&zx(t,i),c&64&&(t=i.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(i=Qk.bind(null,i),hj(t,i))));break;case 22:if(c=i.memoizedState!==null||ha,!c){a=a!==null&&a.memoizedState!==null||rt,h=ha;var m=rt;ha=c,(rt=a)&&!m?ma(t,i,(i.subtreeFlags&8772)!==0):pa(t,i),ha=h,rt=m}break;case 30:break;default:pa(t,i)}}function Dx(t){var a=t.alternate;a!==null&&(t.alternate=null,Dx(a)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(a=t.stateNode,a!==null&&yu(a)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var qe=null,It=!1;function fa(t,a,i){for(i=i.child;i!==null;)_x(t,a,i),i=i.sibling}function _x(t,a,i){if(Bt&&typeof Bt.onCommitFiberUnmount=="function")try{Bt.onCommitFiberUnmount(yn,i)}catch{}switch(i.tag){case 26:rt||Fs(i,a),fa(t,a,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:rt||Fs(i,a);var c=qe,h=It;Ka(i.type)&&(qe=i.stateNode,It=!1),fa(t,a,i),ir(i.stateNode),qe=c,It=h;break;case 5:rt||Fs(i,a);case 6:if(c=qe,h=It,qe=null,fa(t,a,i),qe=c,It=h,qe!==null)if(It)try{(qe.nodeType===9?qe.body:qe.nodeName==="HTML"?qe.ownerDocument.body:qe).removeChild(i.stateNode)}catch(m){Le(i,a,m)}else try{qe.removeChild(i.stateNode)}catch(m){Le(i,a,m)}break;case 18:qe!==null&&(It?(t=qe,Cy(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,i.stateNode),qi(t)):Cy(qe,i.stateNode));break;case 4:c=qe,h=It,qe=i.stateNode.containerInfo,It=!0,fa(t,a,i),qe=c,It=h;break;case 0:case 11:case 14:case 15:Ga(2,i,a),rt||Ga(4,i,a),fa(t,a,i);break;case 1:rt||(Fs(i,a),c=i.stateNode,typeof c.componentWillUnmount=="function"&&Ax(i,a,c)),fa(t,a,i);break;case 21:fa(t,a,i);break;case 22:rt=(c=rt)||i.memoizedState!==null,fa(t,a,i),rt=c;break;default:fa(t,a,i)}}function Lx(t,a){if(a.memoizedState===null&&(t=a.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{qi(t)}catch(i){Le(a,a.return,i)}}}function zx(t,a){if(a.memoizedState===null&&(t=a.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{qi(t)}catch(i){Le(a,a.return,i)}}function zk(t){switch(t.tag){case 31:case 13:case 19:var a=t.stateNode;return a===null&&(a=t.stateNode=new Px),a;case 22:return t=t.stateNode,a=t._retryCache,a===null&&(a=t._retryCache=new Px),a;default:throw Error(o(435,t.tag))}}function Ul(t,a){var i=zk(t);a.forEach(function(c){if(!i.has(c)){i.add(c);var h=Yk.bind(null,t,c);c.then(h,h)}})}function Vt(t,a){var i=a.deletions;if(i!==null)for(var c=0;c<i.length;c++){var h=i[c],m=t,b=a,S=b;e:for(;S!==null;){switch(S.tag){case 27:if(Ka(S.type)){qe=S.stateNode,It=!1;break e}break;case 5:qe=S.stateNode,It=!1;break e;case 3:case 4:qe=S.stateNode.containerInfo,It=!0;break e}S=S.return}if(qe===null)throw Error(o(160));_x(m,b,h),qe=null,It=!1,m=h.alternate,m!==null&&(m.return=null),h.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)Fx(a,t),a=a.sibling}var Cs=null;function Fx(t,a){var i=t.alternate,c=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Vt(a,t),qt(t),c&4&&(Ga(3,t,t.return),Ko(3,t),Ga(5,t,t.return));break;case 1:Vt(a,t),qt(t),c&512&&(rt||i===null||Fs(i,i.return)),c&64&&ha&&(t=t.updateQueue,t!==null&&(c=t.callbacks,c!==null&&(i=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=i===null?c:i.concat(c))));break;case 26:var h=Cs;if(Vt(a,t),qt(t),c&512&&(rt||i===null||Fs(i,i.return)),c&4){var m=i!==null?i.memoizedState:null;if(c=t.memoizedState,i===null)if(c===null)if(t.stateNode===null){e:{c=t.type,i=t.memoizedProps,h=h.ownerDocument||h;t:switch(c){case"title":m=h.getElementsByTagName("title")[0],(!m||m[ko]||m[bt]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=h.createElement(c),h.head.insertBefore(m,h.querySelector("head > title"))),kt(m,c,i),m[bt]=t,mt(m),c=m;break e;case"link":var b=Fy("link","href",h).get(c+(i.href||""));if(b){for(var S=0;S<b.length;S++)if(m=b[S],m.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&m.getAttribute("rel")===(i.rel==null?null:i.rel)&&m.getAttribute("title")===(i.title==null?null:i.title)&&m.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){b.splice(S,1);break t}}m=h.createElement(c),kt(m,c,i),h.head.appendChild(m);break;case"meta":if(b=Fy("meta","content",h).get(c+(i.content||""))){for(S=0;S<b.length;S++)if(m=b[S],m.getAttribute("content")===(i.content==null?null:""+i.content)&&m.getAttribute("name")===(i.name==null?null:i.name)&&m.getAttribute("property")===(i.property==null?null:i.property)&&m.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&m.getAttribute("charset")===(i.charSet==null?null:i.charSet)){b.splice(S,1);break t}}m=h.createElement(c),kt(m,c,i),h.head.appendChild(m);break;default:throw Error(o(468,c))}m[bt]=t,mt(m),c=m}t.stateNode=c}else Hy(h,t.type,t.stateNode);else t.stateNode=zy(h,c,t.memoizedProps);else m!==c?(m===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):m.count--,c===null?Hy(h,t.type,t.stateNode):zy(h,c,t.memoizedProps)):c===null&&t.stateNode!==null&&Fd(t,t.memoizedProps,i.memoizedProps)}break;case 27:Vt(a,t),qt(t),c&512&&(rt||i===null||Fs(i,i.return)),i!==null&&c&4&&Fd(t,t.memoizedProps,i.memoizedProps);break;case 5:if(Vt(a,t),qt(t),c&512&&(rt||i===null||Fs(i,i.return)),t.flags&32){h=t.stateNode;try{pi(h,"")}catch(de){Le(t,t.return,de)}}c&4&&t.stateNode!=null&&(h=t.memoizedProps,Fd(t,h,i!==null?i.memoizedProps:h)),c&1024&&(Gd=!0);break;case 6:if(Vt(a,t),qt(t),c&4){if(t.stateNode===null)throw Error(o(162));c=t.memoizedProps,i=t.stateNode;try{i.nodeValue=c}catch(de){Le(t,t.return,de)}}break;case 3:if(ac=null,h=Cs,Cs=tc(a.containerInfo),Vt(a,t),Cs=h,qt(t),c&4&&i!==null&&i.memoizedState.isDehydrated)try{qi(a.containerInfo)}catch(de){Le(t,t.return,de)}Gd&&(Gd=!1,Hx(t));break;case 4:c=Cs,Cs=tc(t.stateNode.containerInfo),Vt(a,t),qt(t),Cs=c;break;case 12:Vt(a,t),qt(t);break;case 31:Vt(a,t),qt(t),c&4&&(c=t.updateQueue,c!==null&&(t.updateQueue=null,Ul(t,c)
vendor: 1,493 bytes, line 48
48));break;case 13:Vt(a,t),qt(t),t.child.flags&8192&&t.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Il=Pt()),c&4&&(c=t.updateQueue,c!==null&&(t.updateQueue=null,Ul(t,c)));break;case 22:h=t.memoizedState!==null;var A=i!==null&&i.memoizedState!==null,I=ha,W=rt;if(ha=I||h,rt=W||A,Vt(a,t),rt=W,ha=I,qt(t),c&8192)e:for(a=t.stateNode,a._visibility=h?a._visibility&-2:a._visibility|1,h&&(i===null||A||ha||rt||_n(t)),i=null,a=t;;){if(a.tag===5||a.tag===26){if(i===null){A=i=a;try{if(m=A.stateNode,h)b=m.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{S=A.stateNode;var ee=A.memoizedProps.style,q=ee!=null&&ee.hasOwnProperty("display")?ee.display:null;S.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(de){Le(A,A.return,de)}}}else if(a.tag===6){if(i===null){A=a;try{A.stateNode.nodeValue=h?"":A.memoizedProps}catch(de){Le(A,A.return,de)}}}else if(a.tag===18){if(i===null){A=a;try{var Y=A.stateNode;h?Ay(Y,!0):Ay(A.stateNode,!1)}catch(de){Le(A,A.return,de)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===t)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break e;for(;a.sibling===null;){if(a.return===null||a.return===t)break e;i===a&&(i=null),a=a.return}i===a&&(i=null),a.sibling.return=a.return,a=a.sibling}c&4&&(c=t.updateQueue,c!==null&&(i=c.retryQueue,i!==null&&(c.retryQueue=null,Ul(t,i))));break;case 19:Vt(a,t),qt(t),c&4&&(c=t.updateQueue,c!==null&&(t.updateQueue=null,Ul(t,c)
vendor: 6,706 bytes, line 48
48));break;case 30:break;case 21:break;default:Vt(a,t),qt(t)}}function qt(t){var a=t.flags;if(a&2){try{for(var i,c=t.return;c!==null;){if(Ox(c)){i=c;break}c=c.return}if(i==null)throw Error(o(160));switch(i.tag){case 27:var h=i.stateNode,m=Hd(t);Hl(t,m,h);break;case 5:var b=i.stateNode;i.flags&32&&(pi(b,""),i.flags&=-33);var S=Hd(t);Hl(t,S,b);break;case 3:case 4:var A=i.stateNode.containerInfo,I=Hd(t);Ud(t,I,A);break;default:throw Error(o(161))}}catch(W){Le(t,t.return,W)}t.flags&=-3}a&4096&&(t.flags&=-4097)}function Hx(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var a=t;Hx(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),t=t.sibling}}function pa(t,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Bx(t,a.alternate,a),a=a.sibling}function _n(t){for(t=t.child;t!==null;){var a=t;switch(a.tag){case 0:case 11:case 14:case 15:Ga(4,a,a.return),_n(a);break;case 1:Fs(a,a.return);var i=a.stateNode;typeof i.componentWillUnmount=="function"&&Ax(a,a.return,i),_n(a);break;case 27:ir(a.stateNode);case 26:case 5:Fs(a,a.return),_n(a);break;case 22:a.memoizedState===null&&_n(a);break;case 30:_n(a);break;default:_n(a)}t=t.sibling}}function ma(t,a,i){for(i=i&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var c=a.alternate,h=t,m=a,b=m.flags;switch(m.tag){case 0:case 11:case 15:ma(h,m,i),Ko(4,m);break;case 1:if(ma(h,m,i),c=m,h=c.stateNode,typeof h.componentDidMount=="function")try{h.componentDidMount()}catch(I){Le(c,c.return,I)}if(c=m,h=c.updateQueue,h!==null){var S=c.stateNode;try{var A=h.shared.hiddenCallbacks;if(A!==null)for(h.shared.hiddenCallbacks=null,h=0;h<A.length;h++)xg(A[h],S)}catch(I){Le(c,c.return,I)}}i&&b&64&&Cx(m),Xo(m,m.return);break;case 27:Mx(m);case 26:case 5:ma(h,m,i),i&&c===null&&b&4&&Rx(m),Xo(m,m.return);break;case 12:ma(h,m,i);break;case 31:ma(h,m,i),i&&b&4&&Lx(h,m);break;case 13:ma(h,m,i),i&&b&4&&zx(h,m);break;case 22:m.memoizedState===null&&ma(h,m,i),Xo(m,m.return);break;case 30:break;default:ma(h,m,i)}a=a.sibling}}function Id(t,a){var i=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),t=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(t=a.memoizedState.cachePool.pool),t!==i&&(t!=null&&t.refCount++,i!=null&&_o(i))}function Vd(t,a){t=null,a.alternate!==null&&(t=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==t&&(a.refCount++,t!=null&&_o(t))}function As(t,a,i,c){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Ux(t,a,i,c),a=a.sibling}function Ux(t,a,i,c){var h=a.flags;switch(a.tag){case 0:case 11:case 15:As(t,a,i,c),h&2048&&Ko(9,a);break;case 1:As(t,a,i,c);break;case 3:As(t,a,i,c),h&2048&&(t=null,a.alternate!==null&&(t=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==t&&(a.refCount++,t!=null&&_o(t)));break;case 12:if(h&2048){As(t,a,i,c),t=a.stateNode;try{var m=a.memoizedProps,b=m.id,S=m.onPostCommit;typeof S=="function"&&S(b,a.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(A){Le(a,a.return,A)}}else As(t,a,i,c);break;case 31:As(t,a,i,c);break;case 13:As(t,a,i,c);break;case 23:break;case 22:m=a.stateNode,b=a.alternate,a.memoizedState!==null?m._visibility&2?As(t,a,i,c):Wo(t,a):m._visibility&2?As(t,a,i,c):(m._visibility|=2,Bi(t,a,i,c,(a.subtreeFlags&10256)!==0||!1)),h&2048&&Id(b,a);break;case 24:As(t,a,i,c),h&2048&&Vd(a.alternate,a);break;default:As(t,a,i,c)}}function Bi(t,a,i,c,h){for(h=h&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var m=t,b=a,S=i,A=c,I=b.flags;switch(b.tag){case 0:case 11:case 15:Bi(m,b,S,A,h),Ko(8,b);break;case 23:break;case 22:var W=b.stateNode;b.memoizedState!==null?W._visibility&2?Bi(m,b,S,A,h):Wo(m,b):(W._visibility|=2,Bi(m,b,S,A,h)),h&&I&2048&&Id(b.alternate,b);break;case 24:Bi(m,b,S,A,h),h&&I&2048&&Vd(b.alternate,b);break;default:Bi(m,b,S,A,h)}a=a.sibling}}function Wo(t,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var i=t,c=a,h=c.flags;switch(c.tag){case 22:Wo(i,c),h&2048&&Id(c.alternate,c);break;case 24:Wo(i,c),h&2048&&Vd(c.alternate,c);break;default:Wo(i,c)}a=a.sibling}}var Zo=8192;function Di(t,a,i){if(t.subtreeFlags&Zo)for(t=t.child;t!==null;)Gx(t,a,i),t=t.sibling}function Gx(t,a,i){switch(t.tag){case 26:Di(t,a,i),t.flags&Zo&&t.memoizedState!==null&&jj(i,Cs,t.memoizedState,t.memoizedProps);break;case 5:Di(t,a,i);break;case 3:case 4:var c=Cs;Cs=tc(t.stateNode.containerInfo),Di(t,a,i),Cs=c;break;case 22:t.memoizedState===null&&(c=t.alternate,c!==null&&c.memoizedState!==null?(c=Zo,Zo=16777216,Di(t,a,i),Zo=c):Di(t,a,i));break;default:Di(t,a,i)}}function Ix(t){var a=t.alternate;if(a!==null&&(t=a.child,t!==null)){a.child=null;do a=t.sibling,t.sibling=null,t=a;while(t!==null)}}function Jo(t){var a=t.deletions;if((t.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var c=a[i];gt=c,qx(c,t)}Ix(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Vx(t),t=t.sibling}function Vx(t){switch(t.tag){case 0:case 11:case 15:Jo(t),t.flags&2048&&Ga(9,t,t.return);break;case 3:Jo(t);break;case 12:Jo(t);break;case 22:var a=t.stateNode;t.memoizedState!==null&&a._visibility&2&&(t.return===null||t.return.tag!==13)?(a._visibility&=-3,Gl(t)):Jo(t);break;default:Jo(t)}}function Gl(t){var a=t.deletions;if((t.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var c=a[i];gt=c,qx(c,t)}Ix(t)}for(t=t.child;t!==null;){switch(a=t,a.tag){case 0:case 11:case 15:Ga(8,a,a.return),Gl(a);break;case 22:i=a.stateNode,i._visibility&2&&(i._visibility&=-3,Gl(a));break;default:Gl(a)}t=t.sibling}}function qx(t,a){for(;gt!==null;){var i=gt;switch(i.tag){case 0:case 11:case 15:Ga(8,i,a);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var c=i.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:_o(i.memoizedState.cache)}if(c=i.child,c!==null)c.return=i,gt=c;else e:for(i=t;gt!==null;){c=gt;var h=c.sibling,m=c.return;if(Dx(c),c===i){gt=null;break e}if(h!==null){h.return=m,gt=h;break e}gt=m}}}var Fk={getCacheForType:function(t){var a=wt(nt),i=a.data.get(t);return i===void 0&&(i=t(),a.data.set(t,i)),i},cacheSignal:function(){return wt(nt).controller.signal}},Hk=typeof WeakMap=="function"?WeakMap:Map,De=0,Ue=null,Te=null,Ce=0,_e=0,ts=null,Ia=!1,_i=!1,qd=!1,ga=0,We=0,Va=0,Ln=0,Qd=0,ss=0,Li=0,er=null,Qt=null,Yd=!1,Il=0,Qx=0,Vl=1/0,ql=null,qa=null,ht=0,Qa=null,zi=null,xa=0,$d=0,Kd=null,Yx=null,tr=0,Xd=null;function as(){return(De&2)!==0&&Ce!==0?Ce&-Ce:M.T!==null?sh():gu()}function $x(){if(ss===0)if((Ce&536870912)===0||Oe){var t=oi;oi<<=1,(oi&3932160)===0&&(oi=262144),ss=t}else ss=536870912;return t=Jt.current,t!==null&&(t.flags|=32),ss}function Yt(t,a,i){(t===Ue&&(_e===2||_e===9)||t.cancelPendingCommit!==null)&&(Fi(t,0),Ya(t,Ce,ss,!1)),Ye(t,i),((De&2)===0||t!==Ue)&&(t===Ue&&((De&2)===0&&(Ln|=i),We===4&&Ya(t,Ce,ss,!1)),Hs(t))}
vendor: 14,176 bytes, line 48
48function Kx(t,a,i){if((De&6)!==0)throw Error(o(327));var c=!i&&(a&127)===0&&(a&t.expiredLanes)===0||Ve(t,a),h=c?Ik(t,a):Zd(t,a,!0),m=c;do{if(h===0){_i&&!c&&Ya(t,a,0,!1);break}else{if(i=t.current.alternate,m&&!Uk(i)){h=Zd(t,a,!1),m=!1;continue}if(h===2){if(m=a,t.errorRecoveryDisabledLanes&m)var b=0;else b=t.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){a=b;e:{var S=t;h=er;var A=S.current.memoizedState.isDehydrated;if(A&&(Fi(S,b).flags|=256),b=Zd(S,b,!1),b!==2){if(qd&&!A){S.errorRecoveryDisabledLanes|=m,Ln|=m,h=4;break e}m=Qt,Qt=h,m!==null&&(Qt===null?Qt=m:Qt.push.apply(Qt,m))}h=b}if(m=!1,h!==2)continue}}if(h===1){Fi(t,0),Ya(t,a,0,!0);break}e:{switch(c=t,m=h,m){case 0:case 1:throw Error(o(345));case 4:if((a&4194048)!==a)break;case 6:Ya(c,a,ss,!Ia);break e;case 2:Qt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((a&62914560)===a&&(h=Il+300-Pt(),10<h)){if(Ya(c,a,ss,!Ia),ve(c,0,!0)!==0)break e;xa=a,c.timeoutHandle=Ty(Xx.bind(null,c,i,Qt,ql,Yd,a,ss,Ln,Li,Ia,m,"Throttled",-0,0),h);break e}Xx(c,i,Qt,ql,Yd,a,ss,Ln,Li,Ia,m,null,-0,0)}}break}while(!0);Hs(t)}function Xx(t,a,i,c,h,m,b,S,A,I,W,ee,q,Y){if(t.timeoutHandle=-1,ee=a.subtreeFlags,ee&8192||(ee&16785408)===16785408){ee={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:sa},Gx(a,m,ee);var de=(m&62914560)===m?Il-Pt():(m&4194048)===m?Qx-Pt():0;if(de=Ej(ee,de),de!==null){xa=m,t.cancelPendingCommit=de(ny.bind(null,t,a,m,i,c,h,b,S,A,W,ee,null,q,Y)),Ya(t,m,b,!I);return}}ny(t,a,m,i,c,h,b,S,A)}function Uk(t){for(var a=t;;){var i=a.tag;if((i===0||i===11||i===15)&&a.flags&16384&&(i=a.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var c=0;c<i.length;c++){var h=i[c],m=h.getSnapshot;h=h.value;try{if(!Wt(m(),h))return!1}catch{return!1}}if(i=a.child,a.subtreeFlags&16384&&i!==null)i.return=a,a=i;else{if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ya(t,a,i,c){a&=~Qd,a&=~Ln,t.suspendedLanes|=a,t.pingedLanes&=~a,c&&(t.warmLanes|=a),c=t.expirationTimes;for(var h=a;0<h;){var m=31-Et(h),b=1<<m;c[m]=-1,h&=~b}i!==0&&vn(t,i,a)}function Ql(){return(De&6)===0?(sr(0),!1):!0}function Wd(){if(Te!==null){if(_e===0)var t=Te.return;else t=Te,oa=Cn=null,fd(t),Ai=null,zo=0,t=Te;for(;t!==null;)Nx(t.alternate,t),t=t.return;Te=null}}function Fi(t,a){var i=t.timeoutHandle;i!==-1&&(t.timeoutHandle=-1,rj(i)),i=t.cancelPendingCommit,i!==null&&(t.cancelPendingCommit=null,i()),xa=0,Wd(),Ue=t,Te=i=na(t.current,null),Ce=a,_e=0,ts=null,Ia=!1,_i=Ve(t,a),qd=!1,Li=ss=Qd=Ln=Va=We=0,Qt=er=null,Yd=!1,(a&8)!==0&&(a|=a&32);var c=t.entangledLanes;if(c!==0)for(t=t.entanglements,c&=a;0<c;){var h=31-Et(c),m=1<<h;a|=t[h],c&=~m}return ga=a,fl(),i}function Wx(t,a){Se=null,M.H=Qo,a===Ci||a===wl?(a=fg(),_e=3):a===td?(a=fg(),_e=4):_e=a===Ad?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,ts=a,Te===null&&(We=1,Dl(t,ds(a,t.current)))}function Zx(){var t=Jt.current;return t===null?!0:(Ce&4194048)===Ce?ms===null:(Ce&62914560)===Ce||(Ce&536870912)!==0?t===ms:!1}function Jx(){var t=M.H;return M.H=Qo,t===null?Qo:t}function ey(){var t=M.A;return M.A=Fk,t}function Yl(){We=4,Ia||(Ce&4194048)!==Ce&&Jt.current!==null||(_i=!0),(Va&134217727)===0&&(Ln&134217727)===0||Ue===null||Ya(Ue,Ce,ss,!1)}function Zd(t,a,i){var c=De;De|=2;var h=Jx(),m=ey();(Ue!==t||Ce!==a)&&(ql=null,Fi(t,a)),a=!1;var b=We;e:do try{if(_e!==0&&Te!==null){var S=Te,A=ts;switch(_e){case 8:Wd(),b=6;break e;case 3:case 2:case 9:case 6:Jt.current===null&&(a=!0);var I=_e;if(_e=0,ts=null,Hi(t,S,A,I),i&&_i){b=0;break e}break;default:I=_e,_e=0,ts=null,Hi(t,S,A,I)}}Gk(),b=We;break}catch(W){Wx(t,W)}while(!0);return a&&t.shellSuspendCounter++,oa=Cn=null,De=c,M.H=h,M.A=m,Te===null&&(Ue=null,Ce=0,fl()),b}function Gk(){for(;Te!==null;)ty(Te)}function Ik(t,a){var i=De;De|=2;var c=Jx(),h=ey();Ue!==t||Ce!==a?(ql=null,Vl=Pt()+500,Fi(t,a)):_i=Ve(t,a);e:do try{if(_e!==0&&Te!==null){a=Te;var m=ts;t:switch(_e){case 1:_e=0,ts=null,Hi(t,a,m,1);break;case 2:case 9:if(dg(m)){_e=0,ts=null,sy(a);break}a=function(){_e!==2&&_e!==9||Ue!==t||(_e=7),Hs(t)},m.then(a,a);break e;case 3:_e=7;break e;case 4:_e=5;break e;case 7:dg(m)?(_e=0,ts=null,sy(a)):(_e=0,ts=null,Hi(t,a,m,7));break;case 5:var b=null;switch(Te.tag){case 26:b=Te.memoizedState;case 5:case 27:var S=Te;if(b?Uy(b):S.stateNode.complete){_e=0,ts=null;var A=S.sibling;if(A!==null)Te=A;else{var I=S.return;I!==null?(Te=I,$l(I)):Te=null}break t}}_e=0,ts=null,Hi(t,a,m,5);break;case 6:_e=0,ts=null,Hi(t,a,m,6);break;case 8:Wd(),We=6;break e;default:throw Error(o(462))}}Vk();break}catch(W){Wx(t,W)}while(!0);return oa=Cn=null,M.H=c,M.A=h,De=i,Te!==null?0:(Ue=null,Ce=0,fl(),We)}function Vk(){for(;Te!==null&&!Mt();)ty(Te)}function ty(t){var a=Ex(t.alternate,t,ga);t.memoizedProps=t.pendingProps,a===null?$l(t):Te=a}function sy(t){var a=t,i=a.alternate;switch(a.tag){case 15:case 0:a=bx(i,a,a.pendingProps,a.type,void 0,Ce);break;case 11:a=bx(i,a,a.pendingProps,a.type.render,a.ref,Ce);break;case 5:fd(a);default:Nx(i,a),a=Te=eg(a,ga),a=Ex(i,a,ga)}t.memoizedProps=t.pendingProps,a===null?$l(t):Te=a}function Hi(t,a,i,c){oa=Cn=null,fd(a),Ai=null,zo=0;var h=a.return;try{if(Mk(t,h,a,i,Ce)){We=1,Dl(t,ds(i,t.current)),Te=null;return}}catch(m){if(h!==null)throw Te=h,m;We=1,Dl(t,ds(i,t.current)),Te=null;return}a.flags&32768?(Oe||c===1?t=!0:_i||(Ce&536870912)!==0?t=!1:(Ia=t=!0,(c===2||c===9||c===3||c===6)&&(c=Jt.current,c!==null&&c.tag===13&&(c.flags|=16384))),ay(a,t)):$l(a)}function $l(t){var a=t;do{if((a.flags&32768)!==0){ay(a,Ia);return}t=a.return;var i=Dk(a.alternate,a,ga);if(i!==null){Te=i;return}if(a=a.sibling,a!==null){Te=a;return}Te=a=t}while(a!==null);We===0&&(We=5)}function ay(t,a){do{var i=_k(t.alternate,t);if(i!==null){i.flags&=32767,Te=i;return}if(i=t.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!a&&(t=t.sibling,t!==null)){Te=t;return}Te=t=i}while(t!==null);We=6,Te=null}function ny(t,a,i,c,h,m,b,S,A){t.cancelPendingCommit=null;do Kl();while(ht!==0);if((De&6)!==0)throw Error(o(327));if(a!==null){if(a===t.current)throw Error(o(177));if(m=a.lanes|a.childLanes,m|=Hu,zt(t,i,m,b,S,A),t===Ue&&(Te=Ue=null,Ce=0),zi=a,Qa=t,xa=i,$d=m,Kd=h,Yx=c,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,$k(xn,function(){return cy(),null})):(t.callbackNode=null,t.callbackPriority=0),c=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||c){c=M.T,M.T=null,h=H.p,H.p=2,b=De,De|=4;try{Lk(t,a,i)}finally{De=b,H.p=h,M.T=c}}ht=1,iy(),oy(),ry()}}function iy(){if(ht===1){ht=0;var t=Qa,a=zi,i=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||i){i=M.T,M.T=null;var c=H.p;H.p=2;var h=De;De|=4;try{Fx(a,t);var m=uh,b=qm(t.containerInfo),S=m.focusedElem,A=m.selectionRange;if(b!==S&&S&&S.ownerDocument&&Vm(S.ownerDocument.documentElement,S)){if(A!==null&&Du(S)){var I=A.start,W=A.end;if(W===void 0&&(W=I),"selectionStart"in S)S.selectionStart=I,S.selectionEnd=Math.min(W,S.value.length);else{var ee=S.ownerDocument||document,q=ee&&ee.defaultView||window;if(q.getSelection){var Y=q.getSelection(),de=S.textContent.length,xe=Math.min(A.start,de),He=A.end===void 0?xe:Math.min(A.end,de);!Y.extend&&xe>He&&(b=He,He=xe,xe=b);var z=Im(S,xe),P=Im(S,He);if(z&&P&&(Y.rangeCount!==1||Y.anchorNode!==z.node||Y.anchorOffset!==z.offset||Y.focusNode!==P.node||Y.focusOffset!==P.offset)){var G=ee.createRange();G.setStart(z.node,z.offset),Y.removeAllRanges(),xe>He?(Y.addRange(G),Y.extend(P.node,P.offset)):(G.setEnd(P.node,P.offset),Y.addRange(G))}}}}for(ee=[],Y=S;Y=Y.parentNode;)Y.nodeType===1&&ee.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<ee.length;S++){var J=ee[S];J.element.scrollLeft=J.left,J.element.scrollTop=J.top}}rc=!!ch,uh=ch=null}finally{De=h,H.p=c,M.T=i}}t.current=a,ht=2}}function oy(){if(ht===2){ht=0;var t=Qa,a=zi,i=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||i){i=M.T,M.T=null;var c=H.p;H.p=2;var h=De;De|=4;try{Bx(t,a.alternate,a)}finally{De=h,H.p=c,M.T=i}}ht=3}}function ry(){if(ht===4||ht===3){ht=0,Ca();var t=Qa,a=zi,i=xa,c=Yx;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?ht=5:(ht=0,zi=Qa=null,ly(t,t.pendingLanes));var h=t.pendingLanes;if(h===0&&(qa=null),Ts(i),a=a.stateNode,Bt&&typeof Bt.onCommitFiberRoot=="function")try{Bt.onCommitFiberRoot(yn,a,void 0,(a.current.flags&128)===128)}catch{}if(c!==null){a=M.T,h=H.p,H.p=2,M.T=null;try{for(var m=t.onRecoverableError,b=0;b<c.length;b++){var S=c[b];m(S.value,{componentStack:S.stack})}}finally{M.T=a,H.p=h}}(xa&3)!==0&&Kl(),Hs(t),h=t.pendingLanes,(i&261930)!==0&&(h&42)!==0?t===Xd?tr++:(tr=0,Xd=t):tr=0,sr(0)}}function ly(t,a){(t.pooledCacheLanes&=a)===0&&(a=t.pooledCache,a!=null&&(t.pooledCache=null,_o(a)))}function Kl(){return iy(),oy(),ry(),cy()}function cy(){if(ht!==5)return!1;var t=Qa,a=$d;$d=0;var i=Ts(xa),c=M.T,h=H.p;try{H.p=32>i?32:i,M.T=null,i=Kd,Kd=null;var m=Qa,b=xa;if(ht=0,zi=Qa=null,xa=0,(De&6)!==0)throw Error(o(331));var S=De;if(De|=4,Vx(m.current),Ux(m,m.current,b,i),De=S,sr(0,!1),Bt&&typeof Bt.onPostCommitFiberRoot=="function")try{Bt.onPostCommitFiberRoot(yn,m)}catch{}return!0}finally{H.p=h,M.T=c,ly(t,a)}}function uy(t,a,i){a=ds(i,a),a=Cd(t.stateNode,a,2),t=Fa(t,a,2),t!==null&&(Ye(t,2),Hs(t))}function Le(t,a,i){if(t.tag===3)uy(t,t,i);else for(;a!==null;){if(a.tag===3){uy(a,t,i);break}else if(a.tag===1){var c=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(qa===null||!qa.has(c))){t=ds(i,t),i=dx(2),c=Fa(a,i,2),c!==null&&(hx(i,c,a,t),Ye(c,2),Hs(c));break}}a=a.return}}function Jd(t,a,i){var c=t.pingCache;if(c===null){c=t.pingCache=new Hk;var h=new Set;c.set(a,h)}else h=c.get(a),h===void 0&&(h=new Set,c.set(a,h));h.has(i)||(qd=!0,h.add(i),t=qk.bind(null,t,a,i),a.then(t,t))}function qk(t,a,i){var c=t.pingCache;c!==null&&c.delete(a),t.pingedLanes|=t.suspendedLanes&i,t.warmLanes&=~i,Ue===t&&(Ce&i)===i&&(We===4||We===3&&(Ce&62914560)===Ce&&300>Pt()-Il?(De&2)===0&&Fi(t,0):Qd|=i,Li===Ce&&(Li=0)),Hs(t)}function dy(t,a){a===0&&(a=Tt()),t=En(t,a),t!==null&&(Ye(t,a),Hs(t))}function Qk(t){var a=t.memoizedState,i=0;a!==null&&(i=a.retryLane),dy(t,i)}function Yk(t,a){var i=0;switch(t.tag){case 31:case 13:var c=t.stateNode,h=t.memoizedState;h!==null&&(i=h.retryLane);break;case 19:c=t.stateNode;break;case 22:c=t.stateNode._retryCache;break;default:throw Error(o(314))}c!==null&&c.delete(a),dy(t,i)}function $k(t,a){return bo(t,a)}var Xl=null,Ui=null,eh=!1,Wl=!1,th=!1,$a=0;function Hs(t){t!==Ui&&t.next===null&&(Ui===null?Xl=Ui=t:Ui=Ui.next=t),Wl=!0,eh||(eh=!0,Xk())}function sr(t,a){if(!th&&Wl){th=!0;do for(var i=!1,c=Xl;c!==null;){if(t!==0){var h=c.pendingLanes;if(h===0)var m=0;else{var b=c.suspendedLanes,S=c.pingedLanes;m=(1<<31-Et(42|t)+1)-1,m&=h&~(b&~S),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(i=!0,my(c,m))}else m=Ce,m=ve(c,c===Ue?m:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(m&3)===0||Ve(c,m)||(i=!0,my(c,m));c=c.next}while(i);th=!1}}function Kk(){hy()}function hy(){Wl=eh=!1;var t=0;$a!==0&&oj()&&(t=$a);for(var a=Pt(),i=null,c=Xl;c!==null;){var h=c.next,m=fy(c,a);m===0?(c.next=null,i===null?Xl=h:i.next=h,h===null&&(Ui=i)):(i=c,(t!==0||(m&3)!==0)&&(Wl=!0)),c=h}ht!==0&&ht!==5||sr(t),$a!==0&&($a=0)}function fy(t,a){for(var i=t.suspendedLanes,c=t.pingedLanes,h=t.expirationTimes,m=t.pendingLanes&-62914561;0<m;){var b=31-Et(m),S=1<<b,A=h[b];A===-1?((S&i)===0||(S&c)!==0)&&(h[b]=pt(S,a)):A<=a&&(t.expiredLanes|=S),m&=~S}if(a=Ue,i=Ce,i=ve(t,t===a?i:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),c=t.callbackNode,i===0||t===a&&(_e===2||_e===9)||t.cancelPendingCommit!==null)return c!==null&&c!==null&&vo(c),t.callbackNode=null,t.callbackPriority=0;if((i&3)===0||Ve(t,i)){if(a=i&-i,a===t.callbackPriority)return a;switch(c!==null&&vo(c),Ts(i)){case 2:case 8:i=el;break;case 32:i=xn;break;case 268435456:i=ea;break;default:i=xn}return c=py.bind(null,t),i=bo(i,c),t.callbackPriority=a,t.callbackNode=i,a}return c!==null&&c!==null&&vo(c),t.callbackPriority=2,t.callbackNode=null,2}function py(t,a){if(ht!==0&&ht!==5)return t.callbackNode=null,t.callbackPriority=0,null;var i=t.callbackNode;if(Kl()&&t.callbackNode!==i)return null;var c=Ce;return c=ve(t,t===Ue?c:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),c===0?null:(Kx(t,c,a),fy(t,Pt()),t.callbackNode!=null&&t.callbackNode===i?py.bind(null,t):null)}function my(t,a){if(Kl())return null;Kx(t,a,!0)}function Xk(){lj(function(){(De&6)!==0?bo(gn,Kk):hy()})}function sh(){if($a===0){var t=Ti;t===0&&(t=ii,ii<<=1,(ii&261888)===0&&(ii=256)),$a=t}return $a}function gy(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:il(""+t)}function xy(t,a){var i=a.ownerDocument.createElement("input");return i.name=a.name,i.value=a.value,t.id&&i.setAttribute("form",t.id),a.parentNode.insertBefore(i,a),t=new FormData(t),i.parentNode.removeChild(i),t}function Wk(t,a,i,c,h){if(a==="submit"&&i&&i.stateNode===h){var m=gy((h[Ut]||null).action),b=c.submitter;b&&(a=(a=b[Ut]||null)?gy(a.formAction):b.getAttribute("formAction"),a!==null&&(m=a,b=null));var S=new cl("action","action",null,c,h);t.push({event:S,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if($a!==0){var A=b?xy(h,b):new FormData(h);Sd(i,{pending:!0,data:A,method:h.method,action:m},null,A)}}else typeof m=="function"&&(S.preventDefault(),A=b?xy(h,b):new FormData(h),Sd(i,{pending:!0,data:A,method:h.method,action:m},m,A))},currentTarget:h}]})}}for(var ah=0;ah<Fu.length;ah++){var nh=Fu[ah],Zk=nh.toLowerCase(),Jk=nh[0].toUpperCase()+nh.slice(1);Ns(Zk,"on"+Jk)}Ns($m,"onAnimationEnd"),Ns(Km,"onAnimationIteration"),Ns(Xm,"onAnimationStart"),Ns("dblclick","onDoubleClick"),Ns("focusin","onFocus"),Ns("focusout","onBlur"),Ns(mk,"onTransitionRun"),Ns(gk,"onTransitionStart"),Ns(xk,"onTransitionCancel"),Ns(Wm,"onTransitionEnd"),hi("onMouseEnter",["mouseout","mouseover"]),hi("onMouseLeave",["mouseout","mouseover"]),hi("onPointerEnter",["pointerout","pointerover"]),hi("onPointerLeave",["pointerout","pointerover"]),wn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),wn("onSelect","focusout contextmenu dragend focu
48sin keydown keyup mousedown mouseup selectionchange".split(" ")),wn("onBeforeInput",["compositionend","keypress","textInput","paste"]),wn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),wn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),wn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ar="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(" "),ej=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ar));function yy(t,a){a=(a&4)!==0;for(var i=0;i<t.length;i++){var c=t[i],h=c.event;c=c.listeners;e:{var m=void 0;if(a)for(var b=c.length-1;0<=b;b--){var S=c[b],A=S.instance,I=S.currentTarget;if(S=S.listener,A!==m&&h.isPropagationStopped())break e;m=S,h.currentTarget=I;try{m(h)}catch(W){hl(W)}h.currentTarget=null,m=A}else for(b=0;b<c.length;b++){if(S=c[b],A=S.instance,I=S.currentTarget,S=S.listener,A!==m&&h.isPropagationStopped())break e;m=S,h.currentTarget=I;try{m(h)}catch(W){hl(W)}h.currentTarget=null,m=A}}}}function Ne(t,a){var i=a[xu];i===void 0&&(i=a[xu]=new Set);var c=t+"__bubble";i.has(c)||(by(a,t,2,!1),i.add(c))}function ih(t,a,i){var c=0;a&&(c|=4),by(i,t,c,a)}var Zl="_reactListening"+Math.random().toString(36).slice(2);function oh(t){if(!t[Zl]){t[Zl]=!0,hm.forEach(function(i){i!=="selectionchange"&&(ej.has(i)||ih(i,!1,t),ih(i,!0,t))});var a=t.nodeType===9?t:t.ownerDocument;a===null||a[Zl]||(a[Zl]=!0,ih("selectionchange",!1,a))}}function by(t,a,i,c){switch($y(a)){case 2:var h=Cj;break;case 8:h=Aj;break;default:h=wh}i=h.bind(null,a,i,t),h=void 0,!Tu||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(h=!0),c?h!==void 0?t.addEventListener(a,i,{capture:!0,passive:h}):t.addEventListener(a,i,!0):h!==void 0?t.addEventListener(a,i,{passive:h}):t.addEventListener(a,i,!1)}function rh(t,a,i,c,h){var m=c;if((a&1)===0&&(a&2)===0&&c!==null)e:for(;;){if(c===null)return;var b=c.tag;if(b===3||b===4){var S=c.stateNode.containerInfo;if(S===h)break;if(b===4)for(b=c.return;b!==null;){var A=b.tag;if((A===3||A===4)&&b.stateNode.containerInfo===h)return;b=b.return}for(;S!==null;){if(b=ci(S),b===null)return;if(A=b.tag,A===5||A===6||A===26||A===27){c=m=b;continue e}S=S.parentNode}}c=c.return}jm(function(){var I=m,W=ju(i),ee=[];e:{var q=Zm.get(t);if(q!==void 0){var Y=cl,de=t;switch(t){case"keypress":if(rl(i)===0)break e;case"keydown":case"keyup":Y=YS;break;case"focusin":de="focus",Y=Ru;break;case"focusout":de="blur",Y=Ru;break;case"beforeblur":case"afterblur":Y=Ru;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=Nm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=DS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=XS;break;case $m:case Km:case Xm:Y=zS;break;case Wm:Y=ZS;break;case"scroll":case"scrollend":Y=PS;break;case"wheel":Y=ek;break;case"copy":case"cut":case"paste":Y=HS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=Am;break;case"toggle":case"beforetoggle":Y=sk}var xe=(a&4)!==0,He=!xe&&(t==="scroll"||t==="scrollend"),z=xe?q!==null?q+"Capture":null:q;xe=[];for(var P=I,G;P!==null;){var J=P;if(G=J.stateNode,J=J.tag,J!==5&&J!==26&&J!==27||G===null||z===null||(J=Eo(P,z),J!=null&&xe.push(nr(P,J,G))),He)break;P=P.return}0<xe.length&&(q=new Y(q,de,null,i,W),ee.push({event:q,listeners:xe}))}}if((a&7)===0){e:{if(q=t==="mouseover"||t==="pointerover",Y=t==="mouseout"||t==="pointerout",q&&i!==ku&&(de=i.relatedTarget||i.fromElement)&&(ci(de)||de[li]))break e;if((Y||q)&&(q=W.window===W?W:(q=W.ownerDocument)?q.defaultView||q.parentWindow:window,Y?(de=i.relatedTarget||i.toElement,Y=I,de=de?ci(de):null,de!==null&&(He=u(de),xe=de.tag,de!==He||xe!==5&&xe!==27&&xe!==6)&&(de=null)):(Y=null,de=I),Y!==de)){if(xe=Nm,J="onMouseLeave",z="onMouseEnter",P="mouse",(t==="pointerout"||t==="pointerover")&&(xe=Am,J="onPointerLeave",z="onPointerEnter",P="pointer"),He=Y==null?q:jo(Y),G=de==null?q:jo(de),q=new xe(J,P+"leave",Y,i,W),q.target=He,q.relatedTarget=G,J=null,ci(W)===I&&(xe=new xe(z,P+"enter",de,i,W),xe.target=G,xe.relatedTarget=He,J=xe),He=J,Y&&de)t:{for(xe=tj,z=Y,P=de,G=0,J=z;J;J=xe(J))G++;J=0;for(var ge=P;ge;ge=xe(ge))J++;for(;0<G-J;)z=xe(z),G--;for(;0<J-G;)P=xe(P),J--;for(;G--;){if(z===P||P!==null&&z===P.alternate){xe=z;break t}z=xe(z),P=xe(P)}xe=null}else xe=null;Y!==null&&vy(ee,q,Y,xe,!1),de!==null&&He!==null&&vy(ee,He,de,xe,!0)}}
vendor: 5,196 bytes, lines 48-49
48e:{if(q=I?jo(I):window,Y=q.nodeName&&q.nodeName.toLowerCase(),Y==="select"||Y==="input"&&q.type==="file")var Me=Lm;else if(Dm(q))if(zm)Me=hk;else{Me=uk;var me=ck}else Y=q.nodeName,!Y||Y.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?I&&Su(I.elementType)&&(Me=Lm):Me=dk;if(Me&&(Me=Me(t,I))){_m(ee,Me,i,W);break e}me&&me(t,q,I),t==="focusout"&&I&&q.type==="number"&&I.memoizedProps.value!=null&&wu(q,"number",q.value)}switch(me=I?jo(I):window,t){case"focusin":(Dm(me)||me.contentEditable==="true")&&(yi=me,_u=I,Po=null);break;case"focusout":Po=_u=yi=null;break;case"mousedown":Lu=!0;break;case"contextmenu":case"mouseup":case"dragend":Lu=!1,Qm(ee,i,W);break;case"selectionchange":if(pk)break;case"keydown":case"keyup":Qm(ee,i,W)}var ke;if(Mu)e:{switch(t){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else xi?Pm(t,i)&&(Ae="onCompositionEnd"):t==="keydown"&&i.keyCode===229&&(Ae="onCompositionStart");Ae&&(Rm&&i.locale!=="ko"&&(xi||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&xi&&(ke=Em()):(Ma=W,Nu="value"in Ma?Ma.value:Ma.textContent,xi=!0)),me=Jl(I,Ae),0<me.length&&(Ae=new Cm(Ae,t,null,i,W),ee.push({event:Ae,listeners:me}),ke?Ae.data=ke:(ke=Bm(i),ke!==null&&(Ae.data=ke)))),(ke=nk?ik(t,i):ok(t,i))&&(Ae=Jl(I,"onBeforeInput"),0<Ae.length&&(me=new Cm("onBeforeInput","beforeinput",null,i,W),ee.push({event:me,listeners:Ae}),me.data=ke)),Wk(ee,t,I,i,W)}yy(ee,a)})}function nr(t,a,i){return{instance:t,listener:a,currentTarget:i}}function Jl(t,a){for(var i=a+"Capture",c=[];t!==null;){var h=t,m=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||m===null||(h=Eo(t,i),h!=null&&c.unshift(nr(t,h,m)),h=Eo(t,a),h!=null&&c.push(nr(t,h,m))),t.tag===3)return c;t=t.return}return[]}function tj(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function vy(t,a,i,c,h){for(var m=a._reactName,b=[];i!==null&&i!==c;){var S=i,A=S.alternate,I=S.stateNode;if(S=S.tag,A!==null&&A===c)break;S!==5&&S!==26&&S!==27||I===null||(A=I,h?(I=Eo(i,m),I!=null&&b.unshift(nr(i,I,A))):h||(I=Eo(i,m),I!=null&&b.push(nr(i,I,A)))),i=i.return}b.length!==0&&t.push({event:a,listeners:b})}var sj=/\r\n?/g,aj=/\u0000|\uFFFD/g;function wy(t){return(typeof t=="string"?t:""+t).replace(sj,` 49`).replace(aj,"")}function Sy(t,a){return a=wy(a),wy(t)===a}function Fe(t,a,i,c,h,m){switch(i){case"children":typeof c=="string"?a==="body"||a==="textarea"&&c===""||pi(t,c):(typeof c=="number"||typeof c=="bigint")&&a!=="body"&&pi(t,""+c);break;case"className":al(t,"class",c);break;case"tabIndex":al(t,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":al(t,i,c);break;case"style":Sm(t,c,m);break;case"data":if(a!=="object"){al(t,"data",c);break}case"src":case"href":if(c===""&&(a!=="a"||i!=="href")){t.removeAttribute(i);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){t.removeAttribute(i);break}c=il(""+c),t.setAttribute(i,c);break;case"action":case"formAction":if(typeof c=="function"){t.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof m=="function"&&(i==="formAction"?(a!=="input"&&Fe(t,a,"name",h.name,h,null),Fe(t,a,"formEncType",h.formEncType,h,null),Fe(t,a,"formMethod",h.formMethod,h,null),Fe(t,a,"formTarget",h.formTarget,h,null)):(Fe(t,a,"encType",h.encType,h,null),Fe(t,a,"method",h.method,h,null),Fe(t,a,"target",h.target,h,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){t.removeAttribute(i);break}c=il(""+c),t.setAttribute(i,c);break;case"onClick":c!=null&&(t.onclick=sa);break;case"onScroll":c!=null&&Ne("scroll",t);break;case"onScrollEnd":c!=null&&Ne("scrollend",t);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(o(61));if(i=c.__html,i!=null){if(h.children!=null)throw Error(o(60));t.innerHTML=i}}break;case"multiple":t.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":t.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){t.removeAttribute("xlink:href");break}i=il(""+c),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?t.setAttribute(i,""+c):t.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
49ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?t.setAttribute(i,""):t.removeAttribute(i);break;case"capture":case"download":c===!0?t.setAttribute(i,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?t.setAttribute(i,c):t.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?t.setAttribute(i,c):t.removeAttribute(i);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?t.removeAttribute(i):t.setAttribute(i,c);break;case"popover":Ne("beforetoggle",t),Ne("toggle",t),sl(t,"popover",c);break;case"xlinkActuate":ta(t,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":ta(t,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":ta(t,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":ta(t,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":ta(t,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":ta(t,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":ta(t,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":ta(t,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":ta(t,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":sl(t,"is",c);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=OS.get(i)||i,sl(t,i,c))}}function lh(t,a,i,c,h,m){switch(i){case"style":Sm(t,c,m);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(o(61));if(i=c.__html,i!=null){if(h.children!=null)throw Error(o(60));t.innerHTML=i}}break;case"children":typeof c=="string"?pi(t,c):(typeof c=="number"||typeof c=="bigint")&&pi(t,""+c);break;case"onScroll":c!=null&&Ne("scroll",t);break;case"onScrollEnd":c!=null&&Ne("scrollend",t);break;case"onClick":c!=null&&(t.onclick=sa);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!fm.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(h=i.endsWith("Capture"),a=i.slice(2,h?i.length-7:void 0),m=t[Ut]||null,m=m!=null?m[i]:null,typeof m=="function"&&t.removeEventListener(a,m,h),typeof c=="function")){typeof m!="function"&&m!==null&&(i in t?t[i]=null:t.hasAttribute(i)&&t.removeAttribute(i)),t.addEventListener(a,c,h);break e}i in t?t[i]=c:c===!0?t.setAttribute(i,""):sl(t,i,c)}}}function kt(t,a,i){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ne("error",t),Ne("load",t);var c=!1,h=!1,m;for(m in i)if(i.hasOwnProperty(m)){var b=i[m];if(b!=null)switch(m){case"src":c=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,a));default:Fe(t,a,m,b,i,null)}}h&&Fe(t,a,"srcSet",i.srcSet,i,null),c&&Fe(t,a,"src",i.src,i,null);return;case"input":Ne("invalid",t);var S=m=b=h=null,A=null,I=null;for(c in i)if(i.hasOwnProperty(c)){var W=i[c];if(W!=null)switch(c){case"name":h=W;break;case"type":b=W;break;case"checked":A=W;break;case"defaultChecked":I=W;break;case"value":m=W;break;case"defaultValue":S=W;break;case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(o(137,a));break;default:Fe(t,a,c,W,i,null)}}ym(t,m,S,A,I,b,h,!1);return;case"select":Ne("invalid",t),c=b=m=null;for(h in i)if(i.hasOwnProperty(h)&&(S=i[h],S!=null))switch(h){case"value":m=S;break;case"defaultValue":b=S;break;case"multiple":c=S;default:Fe(t,a,h,S,i,null)}a=m,i=b,t.multiple=!!c,a!=null?fi(t,!!c,a,!1):i!=null&&fi(t,!!c,i,!0);return;case"textarea":Ne("invalid",t),m=h=c=null;for(b in i)if(i.hasOwnProperty(b)&&(S=i[b],S!=null))switch(b){case"value":c=S;break;case"defaultValue":h=S;break;case"children":m=S;break;case"dangerouslySetInnerHTML":if(S!=null)throw Error(o(91));break;default:Fe(t,a,b,S,i,null)}vm(t,c,h,m);return;case"option":for(A in i)if(i.hasOwnProperty(A)&&(c=i[A],c!=null))switch(A){case"selected":t.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:Fe(t,a,A,c,i,null)}return;case"dialog":Ne("beforetoggle",t),Ne("toggle",t),Ne("cancel",t),Ne("close",t);break;case"iframe":case"object":Ne("load",t);break;case"video":case"audio":for(c=0;c<ar.length;c++)Ne(ar[c],t);break;case"image":Ne("error",t),Ne("load",t);break;case"details":Ne("toggle",t);break;case"embed":case"source":case"link":Ne("error",t),Ne("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(I in i)if(i.hasOwnProperty(I)&&(c=i[I],c!=null))switch(I){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,a));default:Fe(t,a,I,c,i,null)}return;default:if(Su(a)){for(W in i)i.hasOwnProperty(W)&&(c=i[W],c!==void 0&&lh(t,a,W,c,i,void 0));return}}for(S in i)i.hasOwnProperty(S)&&(c=i[S],c!=null&&Fe(t,a,S,c,i,null))}function nj(t,a,i,c){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,m=null,b=null,S=null,A=null,I=null,W=null;for(Y in i){var ee=i[Y];
vendor: 4,319 bytes, line 49
49if(i.hasOwnProperty(Y)&&ee!=null)switch(Y){case"checked":break;case"value":break;case"defaultValue":A=ee;default:c.hasOwnProperty(Y)||Fe(t,a,Y,null,c,ee)}}for(var q in c){var Y=c[q];if(ee=i[q],c.hasOwnProperty(q)&&(Y!=null||ee!=null))switch(q){case"type":m=Y;break;case"name":h=Y;break;case"checked":I=Y;break;case"defaultChecked":W=Y;break;case"value":b=Y;break;case"defaultValue":S=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(o(137,a));break;default:Y!==ee&&Fe(t,a,q,Y,c,ee)}}vu(t,b,S,A,I,W,m,h);return;case"select":Y=b=S=q=null;for(m in i)if(A=i[m],i.hasOwnProperty(m)&&A!=null)switch(m){case"value":break;case"multiple":Y=A;default:c.hasOwnProperty(m)||Fe(t,a,m,null,c,A)}for(h in c)if(m=c[h],A=i[h],c.hasOwnProperty(h)&&(m!=null||A!=null))switch(h){case"value":q=m;break;case"defaultValue":S=m;break;case"multiple":b=m;default:m!==A&&Fe(t,a,h,m,c,A)}a=S,i=b,c=Y,q!=null?fi(t,!!i,q,!1):!!c!=!!i&&(a!=null?fi(t,!!i,a,!0):fi(t,!!i,i?[]:"",!1));return;case"textarea":Y=q=null;for(S in i)if(h=i[S],i.hasOwnProperty(S)&&h!=null&&!c.hasOwnProperty(S))switch(S){case"value":break;case"children":break;default:Fe(t,a,S,null,c,h)}for(b in c)if(h=c[b],m=i[b],c.hasOwnProperty(b)&&(h!=null||m!=null))switch(b){case"value":q=h;break;case"defaultValue":Y=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(o(91));break;default:h!==m&&Fe(t,a,b,h,c,m)}bm(t,q,Y);return;case"option":for(var de in i)if(q=i[de],i.hasOwnProperty(de)&&q!=null&&!c.hasOwnProperty(de))switch(de){case"selected":t.selected=!1;break;default:Fe(t,a,de,null,c,q)}for(A in c)if(q=c[A],Y=i[A],c.hasOwnProperty(A)&&q!==Y&&(q!=null||Y!=null))switch(A){case"selected":t.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:Fe(t,a,A,q,c,Y)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var xe in i)q=i[xe],i.hasOwnProperty(xe)&&q!=null&&!c.hasOwnProperty(xe)&&Fe(t,a,xe,null,c,q);for(I in c)if(q=c[I],Y=i[I],c.hasOwnProperty(I)&&q!==Y&&(q!=null||Y!=null))switch(I){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(o(137,a));break;default:Fe(t,a,I,q,c,Y)}return;default:if(Su(a)){for(var He in i)q=i[He],i.hasOwnProperty(He)&&q!==void 0&&!c.hasOwnProperty(He)&&lh(t,a,He,void 0,c,q);for(W in c)q=c[W],Y=i[W],!c.hasOwnProperty(W)||q===Y||q===void 0&&Y===void 0||lh(t,a,W,q,c,Y);return}}for(var z in i)q=i[z],i.hasOwnProperty(z)&&q!=null&&!c.hasOwnProperty(z)&&Fe(t,a,z,null,c,q);for(ee in c)q=c[ee],Y=i[ee],!c.hasOwnProperty(ee)||q===Y||q==null&&Y==null||Fe(t,a,ee,q,c,Y)}function ky(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function ij(){if(typeof performance.getEntriesByType=="function"){for(var t=0,a=0,i=performance.getEntriesByType("resource"),c=0;c<i.length;c++){var h=i[c],m=h.transferSize,b=h.initiatorType,S=h.duration;if(m&&S&&ky(b)){for(b=0,S=h.responseEnd,c+=1;c<i.length;c++){var A=i[c],I=A.startTime;if(I>S)break;var W=A.transferSize,ee=A.initiatorType;W&&ky(ee)&&(A=A.responseEnd,b+=W*(A<S?1:(S-I)/(A-I)))}if(--c,a+=8*(m+b)/(h.duration/1e3),t++,10<t)break}}if(0<t)return a/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var ch=null,uh=null;function ec(t){return t.nodeType===9?t:t.ownerDocument}function jy(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Ey(t,a){if(t===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&a==="foreignObject"?0:t}function dh(t,a){return t==="textarea"||t==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var hh=null;function oj(){var t=window.event;return t&&t.type==="popstate"?t===hh?!1:(hh=t,!0):(hh=null,!1)}var Ty=typeof setTimeout=="function"?setTimeout:void 0,rj=typeof clearTimeout=="function"?clearTimeout:void 0,Ny=typeof Promise=="function"?Promise:void 0,lj=typeof queueMicrotask=="function"?queueMicrotask:typeof Ny<"u"?function(t){return Ny.resolve(null).then(t).cat
vendor: 16,312 bytes, line 49
49ch(cj)}:Ty;function cj(t){setTimeout(function(){throw t})}function Ka(t){return t==="head"}function Cy(t,a){var i=a,c=0;do{var h=i.nextSibling;if(t.removeChild(i),h&&h.nodeType===8)if(i=h.data,i==="/$"||i==="/&"){if(c===0){t.removeChild(h),qi(a);return}c--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")c++;else if(i==="html")ir(t.ownerDocument.documentElement);else if(i==="head"){i=t.ownerDocument.head,ir(i);for(var m=i.firstChild;m;){var b=m.nextSibling,S=m.nodeName;m[ko]||S==="SCRIPT"||S==="STYLE"||S==="LINK"&&m.rel.toLowerCase()==="stylesheet"||i.removeChild(m),m=b}}else i==="body"&&ir(t.ownerDocument.body);i=h}while(i);qi(a)}function Ay(t,a){var i=t;t=0;do{var c=i.nextSibling;if(i.nodeType===1?a?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(a?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),c&&c.nodeType===8)if(i=c.data,i==="/$"){if(t===0)break;t--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||t++;i=c}while(i)}function fh(t){var a=t.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var i=a;switch(a=a.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":fh(i),yu(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}t.removeChild(i)}}function uj(t,a,i,c){for(;t.nodeType===1;){var h=i;if(t.nodeName.toLowerCase()!==a.toLowerCase()){if(!c&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(c){if(!t[ko])switch(a){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(m=t.getAttribute("rel"),m==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(m!==h.rel||t.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||t.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||t.getAttribute("title")!==(h.title==null?null:h.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(m=t.getAttribute("src"),(m!==(h.src==null?null:h.src)||t.getAttribute("type")!==(h.type==null?null:h.type)||t.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&m&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(a==="input"&&t.type==="hidden"){var m=h.name==null?null:""+h.name;if(h.type==="hidden"&&t.getAttribute("name")===m)return t}else return t;if(t=gs(t.nextSibling),t===null)break}return null}function dj(t,a,i){if(a==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=gs(t.nextSibling),t===null))return null;return t}function Ry(t,a){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=gs(t.nextSibling),t===null))return null;return t}function ph(t){return t.data==="$?"||t.data==="$~"}function mh(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function hj(t,a){var i=t.ownerDocument;if(t.data==="$~")t._reactRetry=a;else if(t.data!=="$?"||i.readyState!=="loading")a();else{var c=function(){a(),i.removeEventListener("DOMContentLoaded",c)};i.addEventListener("DOMContentLoaded",c),t._reactRetry=c}}function gs(t){for(;t!=null;t=t.nextSibling){var a=t.nodeType;if(a===1||a===3)break;if(a===8){if(a=t.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return t}var gh=null;function Oy(t){t=t.nextSibling;for(var a=0;t;){if(t.nodeType===8){var i=t.data;if(i==="/$"||i==="/&"){if(a===0)return gs(t.nextSibling);a--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||a++}t=t.nextSibling}return null}function My(t){t=t.previousSibling;for(var a=0;t;){if(t.nodeType===8){var i=t.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(a===0)return t;a--}else i!=="/$"&&i!=="/&"||a++}t=t.previousSibling}return null}function Py(t,a,i){switch(a=ec(i),t){case"html":if(t=a.documentElement,!t)throw Error(o(452));return t;case"head":if(t=a.head,!t)throw Error(o(453));return t;case"body":if(t=a.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function ir(t){for(var a=t.attributes;a.length;)t.removeAttributeNode(a[0]);yu(t)}var xs=new Map,By=new Set;function tc(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var ya=H.d;H.d={f:fj,r:pj,D:mj,C:gj,L:xj,m:yj,X:vj,S:bj,M:wj};function fj(){var t=ya.f(),a=Ql();return t||a}function pj(t){var a=ui(t);a!==null&&a.tag===5&&a.type==="form"?Wg(a):ya.r(t)}var Gi=typeof document>"u"?null:document;function Dy(t,a,i){var c=Gi;if(c&&typeof a=="string"&&a){var h=cs(a);h='link[rel="'+t+'"][href="'+h+'"]',typeof i=="string"&&(h+='[crossorigin="'+i+'"]'),By.has(h)||(By.add(h),t={rel:t,crossOrigin:i,href:a},c.querySelector(h)===null&&(a=c.createElement("link"),kt(a,"link",t),mt(a),c.head.appendChild(a)))}}function mj(t){ya.D(t),Dy("dns-prefetch",t,null)}function gj(t,a){ya.C(t,a),Dy("preconnect",t,a)}function xj(t,a,i){ya.L(t,a,i);var c=Gi;if(c&&t&&a){var h='link[rel="preload"][as="'+cs(a)+'"]';a==="image"&&i&&i.imageSrcSet?(h+='[imagesrcset="'+cs(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(h+='[imagesizes="'+cs(i.imageSizes)+'"]')):h+='[href="'+cs(t)+'"]';var m=h;switch(a){case"style":m=Ii(t);break;case"script":m=Vi(t)}xs.has(m)||(t=y({rel:"preload",href:a==="image"&&i&&i.imageSrcSet?void 0:t,as:a},i),xs.set(m,t),c.querySelector(h)!==null||a==="style"&&c.querySelector(or(m))||a==="script"&&c.querySelector(rr(m))||(a=c.createElement("link"),kt(a,"link",t),mt(a),c.head.appendChild(a)))}}function yj(t,a){ya.m(t,a);var i=Gi;if(i&&t){var c=a&&typeof a.as=="string"?a.as:"script",h='link[rel="modulepreload"][as="'+cs(c)+'"][href="'+cs(t)+'"]',m=h;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=Vi(t)}if(!xs.has(m)&&(t=y({rel:"modulepreload",href:t},a),xs.set(m,t),i.querySelector(h)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(rr(m)))return}c=i.createElement("link"),kt(c,"link",t),mt(c),i.head.appendChild(c)}}}function bj(t,a,i){ya.S(t,a,i);var c=Gi;if(c&&t){var h=di(c).hoistableStyles,m=Ii(t);a=a||"default";var b=h.get(m);if(!b){var S={loading:0,preload:null};if(b=c.querySelector(or(m)))S.loading=5;else{t=y({rel:"stylesheet",href:t,"data-precedence":a},i),(i=xs.get(m))&&xh(t,i);var A=b=c.createElement("link");mt(A),kt(A,"link",t),A._p=new Promise(function(I,W){A.onload=I,A.onerror=W}),A.addEventListener("load",function(){S.loading|=1}),A.addEventListener("error",function(){S.loading|=2}),S.loading|=4,sc(b,a,c)}b={type:"stylesheet",instance:b,count:1,state:S},h.set(m,b)}}}function vj(t,a){ya.X(t,a);var i=Gi;if(i&&t){var c=di(i).hoistableScripts,h=Vi(t),m=c.get(h);m||(m=i.querySelector(rr(h)),m||(t=y({src:t,async:!0},a),(a=xs.get(h))&&yh(t,a),m=i.createElement("script"),mt(m),kt(m,"link",t),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},c.set(h,m))}}function wj(t,a){ya.M(t,a);var i=Gi;if(i&&t){var c=di(i).hoistableScripts,h=Vi(t),m=c.get(h);m||(m=i.querySelector(rr(h)),m||(t=y({src:t,async:!0,type:"module"},a),(a=xs.get(h))&&yh(t,a),m=i.createElement("script"),mt(m),kt(m,"link",t),i.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},c.set(h,m))}}function _y(t,a,i,c){var h=(h=pe.current)?tc(h):null;if(!h)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(a=Ii(i.href),i=di(h).hoistableStyles,c=i.get(a),c||(c={type:"style",instance:null,count:0,state:null},i.set(a,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){t=Ii(i.href);var m=di(h).hoistableStyles,b=m.get(t);if(b||(h=h.ownerDocument||h,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(t,b),(m=h.querySelector(or(t)))&&!m._p&&(b.instance=m,b.state.loading=5),xs.has(t)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},xs.set(t,i),m||Sj(h,t,i,b.state))),a&&c===null)throw Error(o(528,""));return b}if(a&&c!==null)throw Error(o(529,""));return null;case"script":return a=i.async,i=i.src,typeof i=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=Vi(i),i=di(h).hoistableScripts,c=i.get(a),c||(c={type:"script",instance:null,count:0,state:null},i.set(a,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function Ii(t){return'href="'+cs(t)+'"'}function or(t){return'link[rel="stylesheet"]['+t+"]"}function Ly(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function Sj(t,a,i,c){t.querySelector('link[rel="preload"][as="style"]['+a+"]")?c.loading=1:(a=t.createElement("link"),c.preload=a,a.addEventListener("load",function(){return c.loading|=1}),a.addEventListener("error",function(){return c.loading|=2}),kt(a,"link",i),mt(a),t.head.appendChild(a))}function Vi(t){return'[src="'+cs(t)+'"]'}function rr(t){return"script[async]"+t}function zy(t,a,i){if(a.count++,a.instance===null)switch(a.type){case"style":var c=t.querySelector('style[data-href~="'+cs(i.href)+'"]');if(c)return a.instance=c,mt(c),c;var h=y({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return c=(t.ownerDocument||t).createElement("style"),mt(c),kt(c,"style",h),sc(c,i.precedence,t),a.instance=c;case"stylesheet":h=Ii(i.href);var m=t.querySelector(or(h));if(m)return a.state.loading|=4,a.instance=m,mt(m),m;c=Ly(i),(h=xs.get(h))&&xh(c,h),m=(t.ownerDocument||t).createElement("link"),mt(m);var b=m;return b._p=new Promise(function(S,A){b.onload=S,b.onerror=A}),kt(m,"link",c),a.state.loading|=4,sc(m,i.precedence,t),a.instance=m;case"script":return m=Vi(i.src),(h=t.querySelector(rr(m)))?(a.instance=h,mt(h),h):(c=i,(h=xs.get(m))&&(c=y({},i),yh(c,h)),t=t.ownerDocument||t,h=t.createElement("script"),mt(h),kt(h,"link",c),t.head.appendChild(h),a.instance=h);case"void":return null;default:throw Error(o(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(c=a.instance,a.state.loading|=4,sc(c,i.precedence,t));return a.instance}function sc(t,a,i){for(var c=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=c.length?c[c.length-1]:null,m=h,b=0;b<c.length;b++){var S=c[b];if(S.dataset.precedence===a)m=S;else if(m!==h)break}m?m.parentNode.insertBefore(t,m.nextSibling):(a=i.nodeType===9?i.head:i,a.insertBefore(t,a.firstChild))}function xh(t,a){t.crossOrigin==null&&(t.crossOrigin=a.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=a.referrerPolicy),t.title==null&&(t.title=a.title)}function yh(t,a){t.crossOrigin==null&&(t.crossOrigin=a.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=a.referrerPolicy),t.integrity==null&&(t.integrity=a.integrity)}var ac=null;function Fy(t,a,i){if(ac===null){var c=new Map,h=ac=new Map;h.set(i,c)}else h=ac,c=h.get(i),c||(c=new Map,h.set(i,c));if(c.has(t))return c;for(c.set(t,null),i=i.getElementsByTagName(t),h=0;h<i.length;h++){var m=i[h];if(!(m[ko]||m[bt]||t==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var b=m.getAttribute(a)||"";b=t+b;var S=c.get(b);S?S.push(m):c.set(b,[m])}}return c}function Hy(t,a,i){t=t.ownerDocument||t,t.head.insertBefore(i,a==="title"?t.querySelector("head > title"):null)}function kj(t,a,i){if(i===1||a.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return t=a.disabled,typeof a.precedence=="string"&&t==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Uy(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function jj(t,a,i,c){if(i.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var h=Ii(c.href),m=a.querySelector(or(h));if(m){a=m._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(t.count++,t=nc.bind(t),a.then(t,t)),i.state.loading|=4,i.instance=m,mt(m);return}m=a.ownerDocument||a,c=Ly(c),(h=xs.get(h))&&xh(c,h),m=m.createElement("link"),mt(m);var b=m;b._p=new Promise(function(S,A){b.onload=S,b.onerror=A}),kt(m,"link",c),i.instance=m}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(i,a),(a=i.state.preload)&&(i.state.loading&3)===0&&(t.count++,i=nc.bind(t),a.addEventListener("load",i),a.addEventListener("error",i))}}var bh=0;function Ej(t,a){return t.stylesheets&&t.count===0&&oc(t,t.stylesheets),0<t.count||0<t.imgCount?function(i){var c=setTimeout(function(){if(t.stylesheets&&oc(t,t.stylesheets),t.unsuspend){var m=t.unsuspend;t.unsuspend=null,m()}},6e4+a);0<t.imgBytes&&bh===0&&(bh=62500*ij());var h=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&oc(t,t.stylesheets),t.unsuspend)){var m=t.unsuspend;t.unsuspend=null,m()}},(t.imgBytes>bh?50:800)+a);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(c),clearTimeout(h)}}:null}function nc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)oc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var ic=null;function oc(t,a){t.stylesheets=null,t.unsuspend!==null&&(t.count++,ic=new Map,a.forEach(Tj,t),ic=null,nc.call(t))}function Tj(t,a){if(!(a.state.loading&4)){var i=ic.get(t);if(i)var c=i.get(null);else{i=new Map,ic.set(t,i);for(var h=t.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<h.length;m++){var b=h[m];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(i.set(b.dataset.precedence,b),c=b)}c&&i.set(null,c)}h=a.instance,b=h.getAttribute("data-precedence"),m=i.get(b)||c,m===c&&i.set(null,h),i.set(b,h),this.count++,c=nc.bind(this),h.addEventListener("load",c),h.addEventListener("error",c),m?m.parentNode.insertBefore(h,m.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(h,t.firstChild)),a.state.loading|=4}}var lr={$$typeof:_,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function Nj(t,a,i,c,h,m,b,S,A){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ra(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ra(0),this.hiddenUpdates=Ra(null),this.identifierPrefix=c,this.onUncaughtError=h,this.onCaughtError=m,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Gy(t,a,i,c,h,m,b,S,A,I,W,ee){return t=new Nj(t,a,i,b,A,I,W,ee,S),a=1,m===!0&&(a|=24),m=Zt(3,null,null,a),t.current=m,m.stateNode=t,a=Zu(),a.refCount++,t.pooledCache=a,a.refCount++,m.memoizedState={element:c,isDehydrated:i,cache:a},sd(m),t}function Iy(t){return t?(t=wi,t):wi}function Vy(t,a,i,c,h,m){h=Iy(h),c.context===null?c.context=h:c.pendingContext=h,c=za(a),c.payload={element:i},m=m===void 0?null:m,m!==null&&(c.callback=m),i=Fa(t,c,a),i!==null&&(Yt(i,t,a),Ho(i,t,a))}function qy(t,a){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var i=t.retryLane;t.retryLane=i!==0&&i<a?i:a}}function vh(t,a){qy(t,a),(t=t.alternate)&&qy(t,a)}function Qy(t){if(t.tag===13||t.tag===31){var a=En(t,67108864);a!==null&&Yt(a,t,67108864),vh(t,67108864)}}function Yy(t){if(t.tag===13||t.tag===31){var a=as();a=ri(a);var i=En(t,a);i!==null&&Yt(i,t,a),vh(t,a)}}var rc=!0;function Cj(t,a,i,c){var h=M.T;M.T=null;var m=H.p;try{H.p=2,wh(t,a,i,c)}finally{H.p=m,M.T=h}}function Aj(t,a,i,c){var h=M.T;M.T=null;var m=H.p;try{H.p=8,wh(t,a,i,c)}finally{H.p=m,M.T=h}}function wh(t,a,i,c){if(rc){var h=Sh(c);if(h===null)rh(t,a,c,lc,i),Ky(t,c);
vendor: 7,272 bytes, line 49
49else if(Oj(h,t,a,i,c))c.stopPropagation();else if(Ky(t,c),a&4&&-1<Rj.indexOf(t)){for(;h!==null;){var m=ui(h);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var b=_s(m.pendingLanes);if(b!==0){var S=m;for(S.pendingLanes|=2,S.entangledLanes|=2;b;){var A=1<<31-Et(b);S.entanglements[1]|=A,b&=~A}Hs(m),(De&6)===0&&(Vl=Pt()+500,sr(0))}}break;case 31:case 13:S=En(m,2),S!==null&&Yt(S,m,2),Ql(),vh(m,2)}if(m=Sh(c),m===null&&rh(t,a,c,lc,i),m===h)break;h=m}h!==null&&c.stopPropagation()}else rh(t,a,c,null,i)}}function Sh(t){return t=ju(t),kh(t)}var lc=null;function kh(t){if(lc=null,t=ci(t),t!==null){var a=u(t);if(a===null)t=null;else{var i=a.tag;if(i===13){if(t=d(a),t!==null)return t;t=null}else if(i===31){if(t=f(a),t!==null)return t;t=null}else if(i===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;t=null}else a!==t&&(t=null)}}return lc=t,null}function $y(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(pu()){case gn:return 2;case el:return 8;case xn:case wo:return 32;case ea:return 268435456;default:return 32}default:return 32}}var jh=!1,Xa=null,Wa=null,Za=null,cr=new Map,ur=new Map,Ja=[],Rj="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Ky(t,a){switch(t){case"focusin":case"focusout":Xa=null;break;case"dragenter":case"dragleave":Wa=null;break;case"mouseover":case"mouseout":Za=null;break;case"pointerover":case"pointerout":cr.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":ur.delete(a.pointerId)}}function dr(t,a,i,c,h,m){return t===null||t.nativeEvent!==m?(t={blockedOn:a,domEventName:i,eventSystemFlags:c,nativeEvent:m,targetContainers:[h]},a!==null&&(a=ui(a),a!==null&&Qy(a)),t):(t.eventSystemFlags|=c,a=t.targetContainers,h!==null&&a.indexOf(h)===-1&&a.push(h),t)}function Oj(t,a,i,c,h){switch(a){case"focusin":return Xa=dr(Xa,t,a,i,c,h),!0;case"dragenter":return Wa=dr(Wa,t,a,i,c,h),!0;case"mouseover":return Za=dr(Za,t,a,i,c,h),!0;case"pointerover":var m=h.pointerId;return cr.set(m,dr(cr.get(m)||null,t,a,i,c,h)),!0;case"gotpointercapture":return m=h.pointerId,ur.set(m,dr(ur.get(m)||null,t,a,i,c,h)),!0}return!1}function Xy(t){var a=ci(t.target);if(a!==null){var i=u(a);if(i!==null){if(a=i.tag,a===13){if(a=d(i),a!==null){t.blockedOn=a,um(t.priority,function(){Yy(i)});return}}else if(a===31){if(a=f(i),a!==null){t.blockedOn=a,um(t.priority,function(){Yy(i)});return}}else if(a===3&&i.stateNode.current.memoizedState.isDehydrated){t.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}t.blockedOn=null}function cc(t){if(t.blockedOn!==null)return!1;for(var a=t.targetContainers;0<a.length;){var i=Sh(t.nativeEvent);if(i===null){i=t.nativeEvent;var c=new i.constructor(i.type,i);ku=c,i.target.dispatchEvent(c),ku=null}else return a=ui(i),a!==null&&Qy(a),t.blockedOn=i,!1;a.shift()}return!0}function Wy(t,a,i){cc(t)&&i.delete(a)}function Mj(){jh=!1,Xa!==null&&cc(Xa)&&(Xa=null),Wa!==null&&cc(Wa)&&(Wa=null),Za!==null&&cc(Za)&&(Za=null),cr.forEach(Wy),ur.forEach(Wy)}function uc(t,a){t.blockedOn===a&&(t.blockedOn=null,jh||(jh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Mj)))}var dc=null;function Zy(t){dc!==t&&(dc=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){dc===t&&(dc=null);for(var a=0;a<t.length;a+=3){var i=t[a],c=t[a+1],h=t[a+2];if(typeof c!="function"){if(kh(c||i)===null)continue;break}var m=ui(i);m!==null&&(t.splice(a,3),a-=3,Sd(m,{pending:!0,data:h,method:i.method,action:c},c,h))}}))}function qi(t){function a(A){return uc(A,t)}Xa!==null&&uc(Xa,t),Wa!==null&&uc(Wa,t),Za!==null&&uc(Za,t),cr.forEach(a),ur.forEach(a);for(var i=0;i<Ja.length;i++){var c=Ja[i];c.blockedOn===t&&(c.blockedOn=null)}for(;0<Ja.length&&(i=Ja[0],i.blockedOn===null);)Xy(i),i.blockedOn===null&&Ja.shift();if(i=(t.ownerDocument||t).$$reactFormReplay,i!=null)for(c=0;c<i.length;c+=3){var h=i[c],m=i[c+1],b=h[Ut]||null;if(typeof m=="function")b||Zy(i);else if(b){var S=null;if(m&&m.hasAttribute("formAction")){if(h=m,b=m[Ut]||null)S=b.formAction;else if(kh(h)!==null)continue}else S=b.action;typeof S=="function"?i[c+1]=S:(i.splice(c,3),c-=3),Zy(i)}}}function Jy(){function t(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(b){return h=b})},focusReset:"manual",scroll:"manual"})}function a(){h!==null&&(h(),h=null),c||setTimeout(i,20)}function i(){if(!c&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,h=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(i,100),function(){c=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),h!==null&&(h(),h=null)}}}function Eh(t){this._internalRoot=t}hc.prototype.render=Eh.prototype.render=function(t){var a=this._internalRoot;if(a===null)throw Error(o(409));var i=a.current,c=as();Vy(i,c,t,a,null,null)},hc.prototype.unmount=Eh.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var a=t.containerInfo;Vy(t.current,2,null,t,null,null),Ql(),a[li]=null}};function hc(t){this._internalRoot=t}hc.prototype.unstable_scheduleHydration=function(t){if(t){var a=gu();t={blockedOn:null,target:t,priority:a};for(var i=0;i<Ja.length&&a!==0&&a<Ja[i].priority;i++);Ja.splice(i,0,t),i===0&&Xy(t)}};var eb=s.version;if(eb!=="19.2.1")throw Error(o(527,eb,"19.2.1"));H.findDOMNode=function(t){var a=t._reactInternals;if(a===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=g(a),t=t!==null?x(t):null,t=t===null?null:t.stateNode,t};var Pj={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.1"};
49if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var fc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!fc.isDisabled&&fc.supportsFiber)try{yn=fc.inject(Pj),Bt=fc}catch{}}return pr.createRoot=function(t,a){if(!l(t))throw Error(o(299));var i=!1,c="",h=rx,m=lx,b=cx;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(h=a.onUncaughtError),a.onCaughtError!==void 0&&(m=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError)),a=Gy(t,1,!1,null,null,i,c,null,h,m,b,Jy),t[li]=a.current,oh(t),new Eh(a)},pr.hydrateRoot=function(t,a,i){if(!l(t))throw Error(o(299));var c=!1,h="",m=rx,b=lx,S=cx,A=null;return i!=null&&(i.unstable_strictMode===!0&&(c=!0),i.identifierPrefix!==void 0&&(h=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(b=i.onCaughtError),i.onRecoverableError!==void 0&&(S=i.onRecoverableError),i.formState!==void 0&&(A=i.formState)),a=Gy(t,1,!0,a,i??null,c,h,A,m,b,S,Jy),a.context=Iy(null),i=a.current,c=as(),c=ri(c),h=za(c),h.callback=null,Fa(i,h,c),i=c,a.current.lanes=i,Ye(a,i),Hs(a),t[li]=a.current,oh(t),new hc(a)},pr.version="19.2.1",pr}var Nb;function ZE(){if(Nb)return Mh.exports;Nb=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(s){console.error(s)}}return e(),Mh.exports=WE(),Mh.exports}var JE=ZE(),eT=(function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(s,n){this.keyToValue.set(s,n),this.valueToKey.set(n,s)},e.prototype.getByKey=function(s){return this.keyToValue.get(s)},e.prototype.getByValue=function(s){return this.valueToKey.get(s)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e})(),b0=(function(){function e(s){this.generateIdentifier=s,this.kv=new eT}return e.prototype.register=function(s,n){this.kv.getByValue(s)||(n||(n=this.generateIdentifier(s)),this.kv.set(n,s))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(s){return this.kv.getByValue(s)},e.prototype.getValue=function(s){return this.kv.getByKey(s)},e})(),tT=(function(){var e=function(s,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,l){o.__proto__=l}||function(o,l){for(var u in l)Object.prototype.hasOwnProperty.call(l,u)&&(o[u]=l[u])},e(s,n)};return function(s,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(s,n);function o(){this.constructor=s}s.prototype=n===null?Object.create(n):(o.prototype=n.prototype,new o)}})(),sT=(function(e){tT(s,e);function s(){var n=e.call(this,function(o){return o.name})||this;return n.classToAllowedProps=new Map,n}return s.prototype.register=function(n,o){typeof o=="object"?(o.allowProps&&this.classToAllowedProps.set(n,o.allowProps),e.prototype.register.call(this,n,o.identifier)):e.prototype.register.call(this,n,o)},s.prototype.getAllowedProps=function(n){return this.classToAllowedProps.get(n)},s})(b0),aT=function(e,s){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),l,u=[],d;try{for(;(s===void 0||s-- >0)&&!(l=o.next()).done;)u.push(l.value)}catch(f){d={error:f}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(d)throw d.error}}return u};function nT(e){if("values"in Object)return Object.values(e);var s=[];for(var n in e)e.hasOwnProperty(n)&&s.push(e[n]);return s}function iT(e,s){var n=nT(e);if("find"in n)return n.find(s);for(var o=n,l=0;l<o.length;l++){var u=o[l];if(s(u))return u}}function no(e,s){Object.entries(e).forEach(function(n){var o=aT(n,2),l=o[0],u=o[1];return s(u,l)})}function Ac(e,s){return e.indexOf(s)!==-1}function Cb(e,s){for(var n=0;n<e.length;n++){var o=e[n];if(s(o))return o}}var oT=(function(){function e(){this.transfomers={}}return e.prototype.register=function(s){this.transfomers[s.name]=s},e.prototype.findApplicable=function(s){return iT(this.transfomers,function(n){return n.isApplicable(s)})},e.prototype.findByName=function(s){return this.transfomers[s]},e})(),rT=function(e){return Object.prototype.toString.call(e).slice(8,-1)},v0=function(e){return typeof e>"u"},lT=function(e){return e===null},Mr=function(e){return typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype},Sf=function(e){return Mr(e)&&Object.keys(e).length===0},ln=function(e){return Array.isArray(e)},cT=function(e){return typeof e=="string"},uT=function(e){return typeof e=="number"&&!isNaN(e)},dT=function(e){return typeof e=="boolean"},hT=function(e){return e instanceof RegExp},Pr=function(e){return e instanceof Map},Br=function(e){return e instanceof Set},w0=function(e){return rT(e)==="Symbol"},fT=function(e){return e instanceof Date&&!isNaN(e.valueOf())},pT=function(e){return e instanceof Error},Ab=function(e){return typeof e=="number"&&isNaN(e)},mT=function(e){return dT(e)||lT(e)||v0(e)||uT(e)||cT(e)||w0(e)},gT=function(e){return typeof e=="bigint"},xT=function(e){return e===1/0||e===-1/0},yT=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},bT=function(e){return e instanceof URL},S0=function(e){return e.replace(/\./g,"\\.")},_h=function(e){return e.map(String).map(S0).join(".")},kr=function(e){for(var s=[],n="",o=0;o<e.length;o++){var l=e.charAt(o),u=l==="\\"&&e.charAt(o+1)===".";if(u){n+=".",o++;continue}var d=l===".";if(d){s.push(n),n="";continue}n+=l}var f=n;return s.push(f),s},kf=function(){return kf=Object.assign||function(e){for(var s,n=1,o=arguments.length;n<o;n++){s=arguments[n];for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&(e[l]=s[l])}return e},kf.apply(this,arguments)},jf=function(e,s){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),l,u=[],d;try{for(;(s===void 0||s-- >0)&&!(l=o.next()).done;)u.push(l.value)}catch(f){d={error:f}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(d)throw d.error}}return u},Ef=function(e,s){for(var n=0,o=s.length,l=e.length;n<o;n++,l++)e[l]=s[n];return e};function Us(e,s,n,o){return{isApplicable:e,annotation:s,transform:n,untransform:o}}var k0=[Us(v0,"undefined",function(){return null},function(){}),Us(gT,"bigint",function(e){return e.toString()},function(e){return typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),Us(fT,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),Us(pT,"Error",function(e,s){var n={name:e.name,message:e.message};return s.allowedErrorProps.forEach(function(o){n[o]=e[o]}),n},function(e,s){var n=new Error(e.message);return n.name=e.name,n.stack=e.stack,s.allowedErrorProps.forEach(function(o){n[o]=e[o]}),n}),Us(hT,"regexp",function(e){return""+e},function(e){var s=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(s,n)}
49),Us(Br,"set",function(e){return Ef([],jf(e.values()))},function(e){return new Set(e)}),Us(Pr,"map",function(e){return Ef([],jf(e.entries()))},function(e){return new Map(e)}),Us(function(e){return Ab(e)||xT(e)},"number",function(e){return Ab(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),Us(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),Us(bT,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function Jc(e,s,n,o){return{isApplicable:e,annotation:s,transform:n,untransform:o}}var j0=Jc(function(e,s){if(w0(e)){var n=!!s.symbolRegistry.getIdentifier(e);return n}return!1},function(e,s){var n=s.symbolRegistry.getIdentifier(e);return["symbol",n]},function(e){return e.description},function(e,s,n){var o=n.symbolRegistry.getValue(s[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o}),vT=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,s){return e[s.name]=s,e},{}),E0=Jc(yT,function(e){return["typed-array",e.constructor.name]},function(e){return Ef([],jf(e))},function(e,s){var n=vT[s[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function T0(e,s){if(e?.constructor){var n=!!s.classRegistry.getIdentifier(e.constructor);return n}return!1}var N0=Jc(T0,function(e,s){var n=s.classRegistry.getIdentifier(e.constructor);return["class",n]},function(e,s){var n=s.classRegistry.getAllowedProps(e.constructor);if(!n)return kf({},e);var o={};return n.forEach(function(l){o[l]=e[l]}),o},function(e,s,n){var o=n.classRegistry.getValue(s[1]);if(!o)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(o.prototype),e)}),C0=Jc(function(e,s){return!!s.customTransformerRegistry.findApplicable(e)},function(e,s){var n=s.customTransformerRegistry.findApplicable(e);return["custom",n.name]},function(e,s){var n=s.customTransformerRegistry.findApplicable(e);return n.serialize(e)},function(e,s,n){var o=n.customTransformerRegistry.findByName(s[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)}),wT=[N0,j0,C0,E0],Rb=function(e,s){var n=Cb(wT,function(l){return l.isApplicable(e,s)});if(n)return{value:n.transform(e,s),type:n.annotation(e,s)};var o=Cb(k0,function(l){return l.isApplicable(e,s)});if(o)return{value:o.transform(e,s),type:o.annotation}},A0={};k0.forEach(function(e){A0[e.annotation]=e});var ST=function(e,s,n){if(ln(s))switch(s[0]){case"symbol":return j0.untransform(e,s,n);case"class":return N0.untransform(e,s,n);case"custom":return C0.untransform(e,s,n);case"typed-array":return E0.untransform(e,s,n);default:throw new Error("Unknown transformation: "+s)}else{var o=A0[s];if(!o)throw new Error("Unknown transformation: "+s);return o.untransform(e,n)}},Ki=function(e,s){for(var n=e.keys();s>0;)n.next(),s--;return n.next().value};function R0(e){if(Ac(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Ac(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Ac(e,"constructor"))throw new Error("constructor is not allowed as a property")}var kT=function(e,s){R0(s);for(var n=0;n<s.length;n++){var o=s[n];if(Br(e))e=Ki(e,+o);else if(Pr(e)){var l=+o,u=+s[++n]==0?"key":"value",d=Ki(e,l);switch(u){case"key":e=d;break;case"value":e=e.get(d);break}}else e=e[o]}return e},Tf=function(e,s,n){if(R0(s),s.length===0)return n(e);for(var o=e,l=0;l<s.length-1;l++){var u=s[l];if(ln(o)){var d=+u;o=o[d]}else if(Mr(o))o=o[u];else if(Br(o)){var f=+u;o=Ki(o,f)}else if(Pr(o)){var p=l===s.length-2;if(p)break;var f=+u,g=+s[++l]==0?"key":"value",x=Ki(o,f);switch(g){case"key":o=x;break;case"value":o=o.get(x);break}}}var y=s[s.length-1];if(ln(o)?o[+y]=n(o[+y]):Mr(o)&&(o[y]=n(o[y])),Br(o)){var v=Ki(o,+y),k=n(v);v!==k&&(o.delete(v),o.add(k))}if(Pr(o)){var f=+s[s.length-2],j=Ki(o,f),g=+y==0?"key":"value";switch(g){case"key":{var E=n(j);o.set(E,o.get(j)),E!==j&&o.delete(j);break}case"value":{o.set(j,n(o.get(j)));break}}}return e},Sa=function(e,s){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),l,u=[],d;try{for(;(s===void 0||s-- >0)&&!(l=o.next()).done;)u.push(l.value)}catch(f){d={error:f}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(d)throw d.error}}return u},nn=function(e,s){for(var n=0,o=s.length,l=e.length;n<o;n++,l++)e[l]=s[n];return e};function Nf(e,s,n){if(n===void 0&&(n=[]),!!e){if(!ln(e)){no(e,function(d,f){return Nf(d,s,nn(nn([],Sa(n)),Sa(kr(f))))});return}var o=Sa(e,2),l=o[0],u=o[1];u&&no(u,function(d,f){Nf(d,s,nn(nn([],Sa(n)),Sa(kr(f))))}),s(l,n)}}function jT(e,s,n){return Nf(s,function(o,l){e=Tf(e,l,function(u){return ST(u,o,n)})}),e}function ET(e,s){function n(d,f){var p=kT(e,kr(f));d.map(kr).forEach(function(g){e=Tf(e,g,function(){return p})})}if(ln(s)){var o=Sa(s,2),l=o[0],u=o[1];l.forEach(function(d){e=Tf(e,kr(d),function(){return e})}),u&&no(u,n)}else no(s,n);return e}var TT=function(e,s){return Mr(e)||ln(e)||Pr(e)||Br(e)||T0(e,s)};function NT(e,s,n){var o=n.get(e);o?o.push(s):n.set(e,[s])}function CT(e,s){var n={},o=void 0;return e.forEach(function(l){if(!(l.length<=1)){s||(l=l.map(function(p){return p.map(String)}).sort(function(p,g){return p.length-g.length}));var u=Sa(l),d=u[0],f=u.slice(1);d.length===0?o=f.map(_h):n[_h(d)]=f.map(_h)}}),o?Sf(n)?[o]:[o,n]:Sf(n)?void 0:n}var O0=function(e,s,n,o,l,u,d){var f;l===void 0&&(l=[]),u===void 0&&(u=[]),d===void 0&&(d=new Map);var p=mT(e);
49if(!p){NT(e,l,s);var g=d.get(e);if(g)return o?{transformedValue:null}:g}if(!TT(e,n)){var x=Rb(e,n),y=x?{transformedValue:x.value,annotations:[x.type]}:{transformedValue:e};return p||d.set(e,y),y}if(Ac(u,e))return{transformedValue:null};var v=Rb(e,n),k=(f=v?.value)!==null&&f!==void 0?f:e,j=ln(k)?[]:{},E={};no(k,function(O,R){var _=O0(O,s,n,o,nn(nn([],Sa(l)),[R]),nn(nn([],Sa(u)),[e]),d);j[R]=_.transformedValue,ln(_.annotations)?E[R]=_.annotations:Mr(_.annotations)&&no(_.annotations,function(Q,F){E[S0(R)+"."+F]=Q})});var N=Sf(E)?{transformedValue:j,annotations:v?[v.type]:void 0}:{transformedValue:j,annotations:v?[v.type,E]:E};return p||d.set(e,N),N};function M0(e){return Object.prototype.toString.call(e).slice(8,-1)}function Ob(e){return M0(e)==="Array"}function AT(e){if(M0(e)!=="Object")return!1;const s=Object.getPrototypeOf(e);return!!s&&s.constructor===Object&&s===Object.prototype}function RT(e,s,n,o,l){const u={}.propertyIsEnumerable.call(o,s)?"enumerable":"nonenumerable";u==="enumerable"&&(e[s]=n),l&&u==="nonenumerable"&&Object.defineProperty(e,s,{value:n,enumerable:!1,writable:!0,configurable:!0})}function Cf(e,s={}){if(Ob(e))return e.map(l=>Cf(l,s));if(!AT(e))return e;const n=Object.getOwnPropertyNames(e),o=Object.getOwnPropertySymbols(e);return[...n,...o].reduce((l,u)=>{if(Ob(s.props)&&!s.props.includes(u))return l;const d=e[u],f=Cf(d,s);return RT(l,u,f,e,s.nonenumerable),l},{})}var qn=function(){return qn=Object.assign||function(e){for(var s,n=1,o=arguments.length;n<o;n++){s=arguments[n];for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&(e[l]=s[l])}return e},qn.apply(this,arguments)},OT=function(e,s){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var o=n.call(e),l,u=[],d;try{for(;(s===void 0||s-- >0)&&!(l=o.next()).done;)u.push(l.value)}catch(f){d={error:f}}finally{try{l&&!l.done&&(n=o.return)&&n.call(o)}finally{if(d)throw d.error}}return u},MT=function(e,s){for(var n=0,o=s.length,l=e.length;n<o;n++,l++)e[l]=s[n];return e},Na=(function(){function e(s){var n=s===void 0?{}:s,o=n.dedupe,l=o===void 0?!1:o;this.classRegistry=new sT,this.symbolRegistry=new b0(function(u){var d;return(d=u.description)!==null&&d!==void 0?d:""}),this.customTransformerRegistry=new oT,this.allowedErrorProps=[],this.dedupe=l}return e.prototype.serialize=function(s){var n=new Map,o=O0(s,n,this,this.dedupe),l={json:o.transformedValue};o.annotations&&(l.meta=qn(qn({},l.meta),{values:o.annotations}));var u=CT(n,this.dedupe);return u&&(l.meta=qn(qn({},l.meta),{referentialEqualities:u})),l},e.prototype.deserialize=function(s){var n=s.json,o=s.meta,l=Cf(n);return o?.values&&(l=jT(l,o.values,this)),o?.referentialEqualities&&(l=ET(l,o.referentialEqualities)),l},e.prototype.stringify=function(s){return JSON.stringify(this.serialize(s))},e.prototype.parse=function(s){return this.deserialize(JSON.parse(s))},e.prototype.registerClass=function(s,n){this.classRegistry.register(s,n)},e.prototype.registerSymbol=function(s,n){this.symbolRegistry.register(s,n)},e.prototype.registerCustom=function(s,n){this.customTransformerRegistry.register(qn({name:n},s))},e.prototype.allowErrorProps=function(){for(var s,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];(s=this.allowedErrorProps).push.apply(s,MT([],OT(n)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e})();Na.serialize;Na.deserialize;Na.stringify;Na.parse;Na.registerClass;Na.registerCustom;Na.registerSymbol;Na.allowErrorProps;var PT=(e,s,n,o,l,u,d,f)=>{let p=document.documentElement,g=["light","dark"];function x(k){(Array.isArray(e)?e:[e]).forEach(j=>{let E=j==="class",N=E&&u?l.map(O=>u[O]||O):l;E?(p.classList.remove(...N),p.classList.add(u&&u[k]?u[k]:k)):p.setAttribute(j,k)}),y(k)}function y(k){f&&g.includes(k)&&(p.style.colorScheme=k)}function v(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
49k":"light"}if(o)x(o);else try{let k=localStorage.getItem(s)||n,j=d&&k==="system"?v():k;x(j)}catch{}},BT=w.createContext(void 0),DT={setTheme:e=>{},themes:[]},_T=()=>{var e;return(e=w.useContext(BT))!=null?e:DT};w.memo(({forcedTheme:e,storageKey:s,attribute:n,enableSystem:o,enableColorScheme:l,defaultTheme:u,value:d,themes:f,nonce:p,scriptProps:g})=>{let x=JSON.stringify([n,s,u,e,f,d,o,l]).slice(1,-1);return w.createElement("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?p:"",dangerouslySetInnerHTML:{__html:`(${PT.toString()})(${x})`}})});var gp=y0();const LT=Mv(gp);function zT(e){if(typeof document>"u")return;let s=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",s.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const FT=e=>{switch(e){case"success":return GT;case"info":return VT;case"warning":return IT;case"error":return qT;default:return null}},HT=Array(12).fill(0),UT=({visible:e,className:s})=>re.createElement("div",{className:["sonner-loading-wrapper",s].filter(Boolean).join(" "),"data-visible":e},re.createElement("div",{className:"sonner-spinner"},HT.map((n,o)=>re.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${o}`})))),GT=re.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},re.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),IT=re.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},re.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),VT=re.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},re.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),qT=re.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},re.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),QT=re.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},re.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),re.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),YT=()=>{const[e,s]=re.useState(document.hidden);return re.useEffect(()=>{const n=()=>{s(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let Af=1;class $T{constructor(){this.subscribe=s=>(this.subscribers.push(s),()=>{const n=this.subscribers.indexOf(s);this.subscribers.splice(n,1)}),this.publish=s=>{this.subscribers.forEach(n=>n(s))},this.addToast=s=>{this.publish(s),this.toasts=[...this.toasts,s]},this.create=s=>{var n;const{message:o,...l}=s,u=typeof s?.id=="number"||((n=s.id)==null?void 0:n.length)>0?s.id:Af++,d=this.toasts.find(p=>p.id===u),f=s.dismissible===void 0?!0:s.dismissible;return this.dismissedToasts.has(u)&&this.dismissedToasts.delete(u),d?this.toasts=this.toasts.map(p=>p.id===u?(this.publish({...p,...s,id:u,title:o}),{...p,...s,id:u,dismissible:f,title:o}):p):this.addToast({title:o,...l,dismissible:f,id:u}),u},this.dismiss=s=>(s?(this.dismissedToasts.add(s),requestAnimationFrame(()=>
vendor: 3,006 bytes, line 49
49this.subscribers.forEach(n=>n({id:s,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(o=>o({id:n.id,dismiss:!0}))}),s),this.message=(s,n)=>this.create({...n,message:s}),this.error=(s,n)=>this.create({...n,message:s,type:"error"}),this.success=(s,n)=>this.create({...n,type:"success",message:s}),this.info=(s,n)=>this.create({...n,type:"info",message:s}),this.warning=(s,n)=>this.create({...n,type:"warning",message:s}),this.loading=(s,n)=>this.create({...n,type:"loading",message:s}),this.promise=(s,n)=>{if(!n)return;let o;n.loading!==void 0&&(o=this.create({...n,promise:s,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const l=Promise.resolve(s instanceof Function?s():s);let u=o!==void 0,d;const f=l.then(async g=>{if(d=["resolve",g],re.isValidElement(g))u=!1,this.create({id:o,type:"default",message:g});else if(XT(g)&&!g.ok){u=!1;const y=typeof n.error=="function"?await n.error(`HTTP error! status: ${g.status}`):n.error,v=typeof n.description=="function"?await n.description(`HTTP error! status: ${g.status}`):n.description,j=typeof y=="object"&&!re.isValidElement(y)?y:{message:y};this.create({id:o,type:"error",description:v,...j})}else if(g instanceof Error){u=!1;const y=typeof n.error=="function"?await n.error(g):n.error,v=typeof n.description=="function"?await n.description(g):n.description,j=typeof y=="object"&&!re.isValidElement(y)?y:{message:y};this.create({id:o,type:"error",description:v,...j})}else if(n.success!==void 0){u=!1;const y=typeof n.success=="function"?await n.success(g):n.success,v=typeof n.description=="function"?await n.description(g):n.description,j=typeof y=="object"&&!re.isValidElement(y)?y:{message:y};this.create({id:o,type:"success",description:v,...j})}}).catch(async g=>{if(d=["reject",g],n.error!==void 0){u=!1;const x=typeof n.error=="function"?await n.error(g):n.error,y=typeof n.description=="function"?await n.description(g):n.description,k=typeof x=="object"&&!re.isValidElement(x)?x:{message:x};this.create({id:o,type:"error",description:y,...k})}}).finally(()=>{u&&(this.dismiss(o),o=void 0),n.finally==null||n.finally.call(n)}),p=()=>new Promise((g,x)=>f.then(()=>d[0]==="reject"?x(d[1]):g(d[1])).catch(x));return typeof o!="string"&&typeof o!="number"?{unwrap:p}:Object.assign(o,{unwrap:p})},this.custom=(s,n)=>{const o=n?.id||Af++;return this.create({jsx:s(o),id:o,...n}),o},this.getActiveToasts=()=>this.toasts.filter(s=>!this.dismissedToasts.has(s.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const $t=new $T,KT=(e,s)=>{const n=s?.id||Af++;return $t.addToast({title:e,...s,id:n}),n},XT=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",WT=KT,ZT=()=>$t.toasts,JT=()=>$t.getActiveToasts(),eN=Object.assign(WT,{success:$t.success,info:$t.info,warning:$t.warning,error:$t.error,custom:$t.custom,message:$t.message,promise:$t.promise,dismiss:$t.dismiss,loading:$t.loading},{getHistory:ZT,getToasts:JT});zT
vendor: 14,873 bytes, line 49
49("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function
vendor: 2,230 bytes, line 49
49yc(e){return e.label!==void 0}const tN=3,sN="24px",aN="16px",Mb=4e3,nN=356,iN=14,oN=45,rN=200;function Gs(...e){return e.filter(Boolean).join(" ")}function lN(e){const[s,n]=e.split("-"),o=[];return s&&o.push(s),n&&o.push(n),o}const cN=e=>{var s,n,o,l,u,d,f,p,g;const{invert:x,toast:y,unstyled:v,interacting:k,setHeights:j,visibleToasts:E,heights:N,index:O,toasts:R,expanded:_,removeToast:Q,defaultRichColors:F,closeButton:U,style:C,cancelButtonStyle:D,actionButtonStyle:Z,className:K="",descriptionClassName:ae="",duration:se,position:ie,gap:oe,expandByDefault:le,classNames:M,icons:H,closeButtonAriaLabel:L="Close toast"}=e,[B,te]=re.useState(null),[T,$]=re.useState(null),[V,X]=re.useState(!1),[ne,pe]=re.useState(!1),[ue,be]=re.useState(!1),[Re,xt]=re.useState(!1),[Ot,yt]=re.useState(!1),[Js,js]=re.useState(0),[xo,ni]=re.useState(0),mn=re.useRef(y.duration||se||Mb),yo=re.useRef(null),Xt=re.useRef(null),bo=O===0,vo=O+1<=E,Mt=y.type,Ca=y.dismissible!==!1,Pt=y.className||"",pu=y.descriptionClassName||"",gn=re.useMemo(()=>N.findIndex(ve=>ve.toastId===y.id)||0,[N,y.id]),el=re.useMemo(()=>{var ve;return(ve=y.closeButton)!=null?ve:U},[y.closeButton,U]),xn=re.useMemo(()=>y.duration||se||Mb,[y.duration,se]),wo=re.useRef(0),ea=re.useRef(0),tl=re.useRef(0),Aa=re.useRef(null),[yn,Bt]=ie.split("-"),Es=re.useMemo(()=>N.reduce((ve,Ve,pt)=>pt>=gn?ve:ve+Ve.height,0),[N,gn]),Et=YT(),mu=y.invert||x,So=Mt==="loading";ea.current=re.useMemo(()=>gn*oe+Es,[gn,Es]),re.useEffect(()=>{mn.current=xn},[xn]),re.useEffect(()=>{X(!0)},[]),re.useEffect(()=>{const ve=Xt.current;if(ve){const Ve=ve.getBoundingClientRect().height;return ni(Ve),j(pt=>[{toastId:y.id,height:Ve,position:y.position},...pt]),()=>j(pt=>pt.filter(Tt=>Tt.toastId!==y.id))}},[j,y.id]),re.useLayoutEffect(()=>{if(!V)return;const ve=Xt.current,Ve=ve.style.height;ve.style.height="auto";const pt=ve.getBoundingClientRect().height;ve.style.height=Ve,ni(pt),j(Tt=>Tt.find(Ye=>Ye.toastId===y.id)?Tt.map(Ye=>Ye.toastId===y.id?{...Ye,height:pt}:Ye):[{toastId:y.id,height:pt,position:y.position},...Tt])},[V,y.title,y.description,j,y.id,y.jsx,y.action,y.cancel]);const Ds=re.useCallback(()=>{pe(!0),js(ea.current),j(ve=>ve.filter(Ve=>Ve.toastId!==y.id)),setTimeout(()=>{Q(y)},rN)}
vendor: 12,946 bytes, line 49
49,[y,Q,j,ea]);re.useEffect(()=>{if(y.promise&&Mt==="loading"||y.duration===1/0||y.type==="loading")return;let ve;return _||k||Et?(()=>{if(tl.current<wo.current){const Tt=new Date().getTime()-wo.current;mn.current=mn.current-Tt}tl.current=new Date().getTime()})():(()=>{mn.current!==1/0&&(wo.current=new Date().getTime(),ve=setTimeout(()=>{y.onAutoClose==null||y.onAutoClose.call(y,y),Ds()},mn.current))})(),()=>clearTimeout(ve)},[_,k,y,Mt,Et,Ds]),re.useEffect(()=>{y.delete&&(Ds(),y.onDismiss==null||y.onDismiss.call(y,y))},[Ds,y.delete]);function ii(){var ve;if(H?.loading){var Ve;return re.createElement("div",{className:Gs(M?.loader,y==null||(Ve=y.classNames)==null?void 0:Ve.loader,"sonner-loader"),"data-visible":Mt==="loading"},H.loading)}return re.createElement(UT,{className:Gs(M?.loader,y==null||(ve=y.classNames)==null?void 0:ve.loader),visible:Mt==="loading"})}const oi=y.icon||H?.[Mt]||FT(Mt);var bn,_s;return re.createElement("li",{tabIndex:0,ref:Xt,className:Gs(K,Pt,M?.toast,y==null||(s=y.classNames)==null?void 0:s.toast,M?.default,M?.[Mt],y==null||(n=y.classNames)==null?void 0:n[Mt]),"data-sonner-toast":"","data-rich-colors":(bn=y.richColors)!=null?bn:F,"data-styled":!(y.jsx||y.unstyled||v),"data-mounted":V,"data-promise":!!y.promise,"data-swiped":Ot,"data-removed":ne,"data-visible":vo,"data-y-position":yn,"data-x-position":Bt,"data-index":O,"data-front":bo,"data-swiping":ue,"data-dismissible":Ca,"data-type":Mt,"data-invert":mu,"data-swipe-out":Re,"data-swipe-direction":T,"data-expanded":!!(_||le&&V),"data-testid":y.testId,style:{"--index":O,"--toasts-before":O,"--z-index":R.length-O,"--offset":`${ne?Js:ea.current}px`,"--initial-height":le?"auto":`${xo}px`,...C,...y.style},onDragEnd:()=>{be(!1),te(null),Aa.current=null},onPointerDown:ve=>{ve.button!==2&&(So||!Ca||(yo.current=new Date,js(ea.current),ve.target.setPointerCapture(ve.pointerId),ve.target.tagName!=="BUTTON"&&(be(!0),Aa.current={x:ve.clientX,y:ve.clientY})))},onPointerUp:()=>{var ve,Ve,pt;if(Re||!Ca)return;Aa.current=null;const Tt=Number(((ve=Xt.current)==null?void 0:ve.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ra=Number(((Ve=Xt.current)==null?void 0:Ve.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ye=new Date().getTime()-((pt=yo.current)==null?void 0:pt.getTime()),zt=B==="x"?Tt:Ra,vn=Math.abs(zt)/Ye;if(Math.abs(zt)>=oN||vn>.11){js(ea.current),y.onDismiss==null||y.onDismiss.call(y,y),$(B==="x"?Tt>0?"right":"left":Ra>0?"down":"up"),Ds(),xt(!0);return}else{var Ft,Ht;(Ft=Xt.current)==null||Ft.style.setProperty("--swipe-amount-x","0px"),(Ht=Xt.current)==null||Ht.style.setProperty("--swipe-amount-y","0px")}yt(!1),be(!1),te(null)},onPointerMove:ve=>{var Ve,pt,Tt;if(!Aa.current||!Ca||((Ve=window.getSelection())==null?void 0:Ve.toString().length)>0)return;const Ye=ve.clientY-Aa.current.y,zt=ve.clientX-Aa.current.x;var vn;const Ft=(vn=e.swipeDirections)!=null?vn:lN(ie);!B&&(Math.abs(zt)>1||Math.abs(Ye)>1)&&te(Math.abs(zt)>Math.abs(Ye)?"x":"y");let Ht={x:0,y:0};const ri=Ts=>1/(1.5+Math.abs(Ts)/20);if(B==="y"){if(Ft.includes("top")||Ft.includes("bottom"))if(Ft.includes("top")&&Ye<0||Ft.includes("bottom")&&Ye>0)Ht.y=Ye;else{const Ts=Ye*ri(Ye);Ht.y=Math.abs(Ts)<Math.abs(Ye)?Ts:Ye}}else if(B==="x"&&(Ft.includes("left")||Ft.includes("right")))if(Ft.includes("left")&&zt<0||Ft.includes("right")&&zt>0)Ht.x=zt;else{const Ts=zt*ri(zt);Ht.x=Math.abs(Ts)<Math.abs(zt)?Ts:zt}(Math.abs(Ht.x)>0||Math.abs(Ht.y)>0)&&yt(!0),(pt=Xt.current)==null||pt.style.setProperty("--swipe-amount-x",`${Ht.x}px`),(Tt=Xt.current)==null||Tt.style.setProperty("--swipe-amount-y",`${Ht.y}px`)}},el&&!y.jsx&&Mt!=="loading"?re.createElement("button",{"aria-label":L,"data-disabled":So,"data-close-button":!0,onClick:So||!Ca?()=>{}:()=>{Ds(),y.onDismiss==null||y.onDismiss.call(y,y)},className:Gs(M?.closeButton,y==null||(o=y.classNames)==null?void 0:o.closeButton)},(_s=H?.close)!=null?_s:QT):null,(Mt||y.icon||y.promise)&&y.icon!==null&&(H?.[Mt]!==null||y.icon)?re.createElement("div",{"data-icon":"",className:Gs(M?.icon,y==null||(l=y.classNames)==null?void 0:l.icon)},y.promise||y.type==="loading"&&!y.icon?y.icon||ii():null,y.type!=="loading"?oi:null):null,re.createElement("div",{"data-content":"",className:Gs(M?.content,y==null||(u=y.classNames)==null?void 0:u.content)},re.createElement("div",{"data-title":"",className:Gs(M?.title,y==null||(d=y.classNames)==null?void 0:d.title)},y.jsx?y.jsx:typeof y.title=="function"?y.title():y.title),y.description?re.createElement("div",{"data-description":"",className:Gs(ae,pu,M?.description,y==null||(f=y.classNames)==null?void 0:f.description)},typeof y.description=="function"?y.description():y.description):null),re.isValidElement(y.cancel)?y.cancel:y.cancel&&yc(y.cancel)?re.createElement("button",{"data-button":!0,"data-cancel":!0,style:y.cancelButtonStyle||D,onClick:ve=>{yc(y.cancel)&&Ca&&(y.cancel.onClick==null||y.cancel.onClick.call(y.cancel,ve),Ds())},className:Gs(M?.cancelButton,y==null||(p=y.classNames)==null?void 0:p.cancelButton)},y.cancel.label):null,re.isValidElement(y.action)?y.action:y.action&&yc(y.action)?re.createElement("button",{"data-button":!0,"data-action":!0,style:y.actionButtonStyle||Z,onClick:ve=>{yc(y.action)&&(y.action.onClick==null||y.action.onClick.call(y.action,ve),!ve.defaultPrevented&&Ds())},className:Gs(M?.actionButton,y==null||(g=y.classNames)==null?void 0:g.actionButton)},y.action.label):null)};function Pb(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function uN(e,s){const n={};return[e,s].forEach((o,l)=>{const u=l===1,d=u?"--mobile-offset":"--offset",f=u?aN:sN;function p(g){["top","right","bottom","left"].forEach(x=>{n[`${d}-${x}`]=typeof g=="number"?`${g}px`:g})}typeof o=="number"||typeof o=="string"?p(o):typeof o=="object"?["top","right","bottom","left"].forEach(g=>{o[g]===void 0?n[`${d}-${g}`]=f:n[`${d}-${g}`]=typeof o[g]=="number"?`${o[g]}px`:o[g]}):p(f)}),n}const dN=re.forwardRef(function(s,n){const{id:o,invert:l,position:u="bottom-right",hotkey:d=["altKey","KeyT"],expand:f,closeButton:p,className:g,offset:x,mobileOffset:y,theme:v="light",richColors:k,duration:j,style:E,visibleToasts:N=tN,toastOptions:O,dir:R=Pb(),gap:_=iN,icons:Q,containerAriaLabel:F="Notifications"}=s,[U,C]=re.useState([]),D=re.useMemo(()=>o?U.filter(V=>V.toasterId===o):U.filter(V=>!V.toasterId),[U,o]),Z=re.useMemo(()=>Array.from(new Set([u].concat(D.filter(V=>V.position).map(V=>V.position)))),[D,u]),[K,ae]=re.useState([]),[se,ie]=re.useState(!1),[oe,le]=re.useState(!1),[M,H]=re.useState(v!=="system"?v:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),L=re.useRef(null),B=d.join("+").replace(/Key/g,"").replace(/Digit/g,""),te=re.useRef(null),T=re.useRef(!1),$=re.useCallback(V=>{C(X=>{var ne;return(ne=X.find(pe=>pe.id===V.id))!=null&&ne.delete||$t.dismiss(V.id),X.filter(({id:pe})=>pe!==V.id)})},[]);return re.useEffect(()=>$t.subscribe(V=>{if(V.dismiss){requestAnimationFrame(()=>{C(X=>X.map(ne=>ne.id===V.id?{...ne,delete:!0}:ne))});return}setTimeout(()=>{LT.flushSync(()=>{C(X=>{const ne=X.findIndex(pe=>pe.id===V.id);return ne!==-1?[...X.slice(0,ne),{...X[ne],...V},...X.slice(ne+1)]:[V,...X]})})})}),[U]),re.useEffect(()=>{if(v!=="system"){H(v);return}if(v==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?H("dark"):H("light")),typeof window>"u")return;const V=window.matchMedia("(prefers-color-scheme: dark)");try{V.addEventListener("change",({matches:X})=>{H(X?"dark":"light")})}catch{V.addListener(({matches:ne})=>{try{H(ne?"dark":"light")}catch(pe){console.error(pe)}})}},[v]),re.useEffect(()=>{U.length<=1&&ie(!1)},[U]),re.useEffect(()=>{const V=X=>{var ne;if(d.every(be=>X[be]||X.code===be)){var ue;ie(!0),(ue=L.current)==null||ue.focus()}X.code==="Escape"&&(document.activeElement===L.current||(ne=L.current)!=null&&ne.contains(document.activeElement))&&ie(!1)};return document.addEventListener("keydown",V),()=>document.removeEventListener("keydown",V)},[d]),re.useEffect(()=>{if(L.current)return()=>{te.current&&(te.current.focus({preventScroll:!0}),te.current=null,T.current=!1)}},[L.current]),re.createElement("section",{ref:n,"aria-label":`${F} ${B}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},Z.map((V,X)=>{var ne;const[pe,ue]=V.split("-");return D.length?re.createElement("ol",{key:V,dir:R==="auto"?Pb():R,tabIndex:-1,ref:L,className:g,"data-sonner-toaster":!0,"data-sonner-theme":M,"data-y-position":pe,"data-x-position":ue,style:{"--front-toast-height":`${((ne=K[0])==null?void 0:ne.height)||0}px`,"--width":`${nN}px`,"--gap":`${_}px`,...E,...uN(x,y)},onBlur:be=>{T.current&&!be.currentTarget.contains(be.relatedTarget)&&(T.current=!1,te.current&&(te.current.focus({preventScroll:!0}),te.current=null))},onFocus:be=>{be.target instanceof HTMLElement&&be.target.dataset.dismissible==="false"||T.current||(T.current=!0,te.current=be.relatedTarget)},onMouseEnter:()=>ie(!0),onMouseMove:()=>ie(!0),onMouseLeave:()=>{oe||ie(!1)},onDragEnd:()=>ie(!1),onPointerDown:be=>{be.target instanceof HTMLElement&&be.target.dataset.dismissible==="false"||le(!0)},onPointerUp:()=>le(!1)},D.filter(be=>!be.position&&X===0||be.position===V).map((be,Re)=>{var xt,Ot;return re.createElement(cN,{key:be.id,icons:Q,index:Re,toast:be,defaultRichColors:k,duration:(xt=O?.duration)!=null?xt:j,className:O?.className,descriptionClassName:O?.descriptionClassName,invert:l,visibleToasts:N,closeButton:(Ot=O?.closeButton)!=null?Ot:p,interacting:oe,position:V,style:O?.style,unstyled:O?.unstyled,classNames:O?.classNames,cancelButtonStyle:O?.cancelButtonStyle,actionButtonStyle:O?.actionButtonStyle,closeButtonAriaLabel:O?.closeButtonAriaLabel,removeToast:$,toasts:D.filter(yt=>yt.position==be.position),heights:K.filter(yt=>yt.position==be.position),setHeights:ae,expandByDefault:f,gap:_,expanded:se,swipeDirections:s.swipeDirections})})):null}))}),hN=({...e})=>{const{theme:s="system"}=_T();return r.jsx(dN,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:s,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})};function wa(e,s,{checkForDefaultPrevented:n=!0}={}){return function(l){if(e?.(l),n===!1||!l.defaultPrevented)return s?.(l)}}function Bb(e,s){if(typeof e=="function")return e(s);e!=null&&(e.current=s)}function P0(...e){return s=>{let n=!1;const o=e.map(l=>{const u=Bb(l,s);return!n&&typeof u=="function"&&(n=!0),u});if(n)return()=>{for(let l=0;l<o.length;l++){const u=o[l];typeof u=="function"?u():Bb(e[l],null)}}}}function si(...e){return w.useCallback(P0(...e),e)}function B0(e,s=[]){let n=[];function o(u,d){const f=w.createContext(d),p=n.length;n=[...n,d];const g=y=>{const{scope:v,children:k,...j}=y,E=v?.[e]?.[p]||f,N=w.useMemo(()=>j,Object.values(j));return r.jsx(E.Provider,{value:N,children:k})};g.displayName=u+"Provider";function x(y,v){const k=v?.[e]?.[p]||f,j=w.useContext(k);if(j)return j;if(d!==void 0)return d;throw new Error(`\`${y}\` must be used within \`${u}\``)}return[g,x]}const l=()=>{const u=n.map(d=>w.createContext(d));return function(f){const p=f?.[e]||u;return w.useMemo(()=>({[`__scope${e}`]:{...f,[e]:p}}),[f,p])}};return l.scopeName=e,[o,fN(l,...s)]}function fN(...e){const s=e[0];if(e.length===1)return s;const n=()=>{const o=e.map(l=>({useScope:l(),scopeName:l.scopeName}));return function(u){const d=o.reduce((f,{useScope:p,scopeName:g})=>{const y=p(u)[`__scope${g}`];return{...f,...y}},{});return w.useMemo(()=>({[`__scope${s.scopeName}`]:d}),[d])}};return n.scopeName=s.scopeName,n}function D0(e){const s=mN(e),n=w.forwardRef((o,l)=>{const{children:u,...d}=o,f=w.Children.toArray(u),p=f.find(xN);if(p){const g=p.props.children,x=f.map(y=>y===p?w.Children.count(g)>1?w.Children.only(null):w.isValidElement(g)?g.props.children:null:y);return r.jsx(s,{...d,ref:l,children:w.isValidElement(g)?w.cloneElement(g,void 0,x):null})}return r.jsx(s,{...d,ref:l,children:u})});return n.displayName=`${e}.Slot`,n}var pN=D0("Slot");function mN(e){const s=w.forwardRef((n,o)=>{const{children:l,...u}=n;if(w.isValidElement(l)){const d=bN(l),f=yN(u,l.props);return l.type!==w.Fragment&&(f.ref=o?P0(o,d):d),w.cloneElement(l,f)}return w.Children.count(l)>1?w.Children.only(null):null});return s.displayName=`${e}.SlotClone`,s}var _0=Symbol("radix.slottable");function gN(e){const s=({children:n})=>r.jsx(r.Fragment,{children:n});return s.displayName=`${e}.Slottable`,s.__radixId=_0,s}function xN(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===_0}function yN(e,s){const n={...s};for(const o in s){const l=e[o],u=s[o];/^on[A-Z]/.test(o)?l&&u?n[o]=(...f)=>{const p=u(...f);return l(...f),p}:l&&(n[o]=l):o==="style"?n[o]={...l,...u}
vendor: 4,573 bytes, line 49
49:o==="className"&&(n[o]=[l,u].filter(Boolean).join(" "))}return{...e,...n}}function bN(e){let s=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=s&&"isReactWarning"in s&&s.isReactWarning;return n?e.ref:(s=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=s&&"isReactWarning"in s&&s.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var vN=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ai=vN.reduce((e,s)=>{const n=D0(`Primitive.${s}`),o=w.forwardRef((l,u)=>{const{asChild:d,...f}=l,p=d?n:s;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),r.jsx(p,{...f,ref:u})});return o.displayName=`Primitive.${s}`,{...e,[s]:o}},{});function wN(e,s){e&&gp.flushSync(()=>e.dispatchEvent(s))}function eu(e){const s=w.useRef(e);return w.useEffect(()=>{s.current=e}),w.useMemo(()=>(...n)=>s.current?.(...n),[])}function SN(e,s=globalThis?.document){const n=eu(e);w.useEffect(()=>{const o=l=>{l.key==="Escape"&&n(l)};return s.addEventListener("keydown",o,{capture:!0}),()=>s.removeEventListener("keydown",o,{capture:!0})},[n,s])}var kN="DismissableLayer",Rf="dismissableLayer.update",jN="dismissableLayer.pointerDownOutside",EN="dismissableLayer.focusOutside",Db,L0=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),z0=w.forwardRef((e,s)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,onDismiss:f,...p}=e,g=w.useContext(L0),[x,y]=w.useState(null),v=x?.ownerDocument??globalThis?.document,[,k]=w.useState({}),j=si(s,C=>y(C)),E=Array.from(g.layers),[N]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),O=E.indexOf(N),R=x?E.indexOf(x):-1,_=g.layersWithOutsidePointerEventsDisabled.size>0,Q=R>=O,F=CN(C=>{const D=C.target,Z=[...g.branches].some(K=>K.contains(D));!Q||Z||(l?.(C),d?.(C),C.defaultPrevented||f?.())},v),U=AN(C=>{const D=C.target;[...g.branches].some(K=>K.contains(D))||(u?.(C),d?.(C),C.defaultPrevented||f?.())},v);return SN(C=>{R===g.layers.size-1&&(o?.(C),!C.defaultPrevented&&f&&(C.preventDefault(),f()))},v),w.useEffect(()=>{if(x)return n&&(g.layersWithOutsidePointerEventsDisabled.size===0&&(Db=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(x)),g.layers.add(x),_b(),()=>{n&&g.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Db)}},[x,v,n,g]),w.useEffect(()=>()=>{x&&(g.layers.delete(x),g.layersWithOutsidePointerEventsDisabled.delete(x),_b())},[x,g]),w.useEffect(()=>{const C=()=>k({});return document.addEventListener(Rf,C),()=>document.removeEventListener(Rf,C)},[]),r.jsx(ai.div,{...p,ref:j,style:{pointerEvents:_?Q?"auto":"none":void 0,...e.style},onFocusCapture:wa(e.onFocusCapture,U.onFocusCapture),onBlurCapture:wa(e.onBlurCapture,U.onBlurCapture),onPointerDownCapture:wa(e.onPointerDownCapture,F.onPointerDownCapture)})});z0.displayName=kN;var TN="DismissableLayerBranch",NN=w.forwardRef((e,s)=>{const n=w.useContext(L0),o=w.useRef(null),l=si(s,o);return w.useEffect(()=>{const u=o.current;if(u)return n.branches.add(u),()=>{n.branches.delete(u)}},[n.branches]),r.jsx(ai.div,{...e,ref:l})});NN.displayName=TN;function CN(e,s=globalThis?.document){const n=eu(e),o=w.useRef(!1),l=w.useRef(()=>{});return w.useEffect(()=>{const u=f=>{if(f.target&&!o.current){let p=function(){F0(jN,n,g,{discrete:!0})};const g={originalEvent:f};f.pointerType==="touch"?(s.removeEventListener("click",l.current),l.current=p,s.addEventListener("click",l.current,{once:!0})):p()}else s.removeEventListener("click",l.current);o.current=!1},d=window.setTimeout(()=>{s.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(d),s.removeEventListener("pointerdown",u),s.removeEventListener("click",l.current)}},[s,n]),{onPointerDownCapture:()=>o.current=!0}}function AN(e,s=globalThis?.document){const n=eu(e),o=w.useRef(!1);return w.useEffect(()=>{const l=u=>{u.target&&!o.current&&F0(EN,n,{originalEvent:u},{discrete:!1})};return s.addEventListener("focusin",l),()=>s.removeEventListener("focusin",l)},[s,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function _b(){const e=new CustomEvent(Rf);document.dispatchEvent(e)}function F0(e,s,n,{discrete:o}){const l=n.originalEvent.target,u=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});s&&l.addEventListener(e,s,{once:!0}),o?wN(l,u):l.dispatchEvent(u)}var Dr=globalThis?.document?w.useLayoutEffect:()=>{};const RN=["top","right","bottom","left"],cn=Math.min,is=Math.max,Lc=Math.round,bc=Math.floor,Ys=e=>({x:e,y:e}
vendor: 13,284 bytes, line 49
49),ON={left:"right",right:"left",bottom:"top",top:"bottom"},MN={start:"end",end:"start"};function Of(e,s,n){return is(e,cn(s,n))}function ka(e,s){return typeof e=="function"?e(s):e}function ja(e){return e.split("-")[0]}function co(e){return e.split("-")[1]}function xp(e){return e==="x"?"y":"x"}function yp(e){return e==="y"?"height":"width"}const PN=new Set(["top","bottom"]);function Qs(e){return PN.has(ja(e))?"y":"x"}function bp(e){return xp(Qs(e))}function BN(e,s,n){n===void 0&&(n=!1);const o=co(e),l=bp(e),u=yp(l);let d=l==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return s.reference[u]>s.floating[u]&&(d=zc(d)),[d,zc(d)]}function DN(e){const s=zc(e);return[Mf(e),s,Mf(s)]}function Mf(e){return e.replace(/start|end/g,s=>MN[s])}const Lb=["left","right"],zb=["right","left"],_N=["top","bottom"],LN=["bottom","top"];function zN(e,s,n){switch(e){case"top":case"bottom":return n?s?zb:Lb:s?Lb:zb;case"left":case"right":return s?_N:LN;default:return[]}}function FN(e,s,n,o){const l=co(e);let u=zN(ja(e),n==="start",o);return l&&(u=u.map(d=>d+"-"+l),s&&(u=u.concat(u.map(Mf)))),u}function zc(e){return e.replace(/left|right|bottom|top/g,s=>ON[s])}function HN(e){return{top:0,right:0,bottom:0,left:0,...e}}function H0(e){return typeof e!="number"?HN(e):{top:e,right:e,bottom:e,left:e}}function Fc(e){const{x:s,y:n,width:o,height:l}=e;return{width:o,height:l,top:n,left:s,right:s+o,bottom:n+l,x:s,y:n}}function Fb(e,s,n){let{reference:o,floating:l}=e;const u=Qs(s),d=bp(s),f=yp(d),p=ja(s),g=u==="y",x=o.x+o.width/2-l.width/2,y=o.y+o.height/2-l.height/2,v=o[f]/2-l[f]/2;let k;switch(p){case"top":k={x,y:o.y-l.height};break;case"bottom":k={x,y:o.y+o.height};break;case"right":k={x:o.x+o.width,y};break;case"left":k={x:o.x-l.width,y};break;default:k={x:o.x,y:o.y}}switch(co(s)){case"start":k[d]-=v*(n&&g?-1:1);break;case"end":k[d]+=v*(n&&g?-1:1);break}return k}const UN=async(e,s,n)=>{const{placement:o="bottom",strategy:l="absolute",middleware:u=[],platform:d}=n,f=u.filter(Boolean),p=await(d.isRTL==null?void 0:d.isRTL(s));let g=await d.getElementRects({reference:e,floating:s,strategy:l}),{x,y}=Fb(g,o,p),v=o,k={},j=0;for(let E=0;E<f.length;E++){const{name:N,fn:O}=f[E],{x:R,y:_,data:Q,reset:F}=await O({x,y,initialPlacement:o,placement:v,strategy:l,middlewareData:k,rects:g,platform:d,elements:{reference:e,floating:s}});x=R??x,y=_??y,k={...k,[N]:{...k[N],...Q}},F&&j<=50&&(j++,typeof F=="object"&&(F.placement&&(v=F.placement),F.rects&&(g=F.rects===!0?await d.getElementRects({reference:e,floating:s,strategy:l}):F.rects),{x,y}=Fb(g,v,p)),E=-1)}return{x,y,placement:v,strategy:l,middlewareData:k}};async function _r(e,s){var n;s===void 0&&(s={});const{x:o,y:l,platform:u,rects:d,elements:f,strategy:p}=e,{boundary:g="clippingAncestors",rootBoundary:x="viewport",elementContext:y="floating",altBoundary:v=!1,padding:k=0}=ka(s,e),j=H0(k),N=f[v?y==="floating"?"reference":"floating":y],O=Fc(await u.getClippingRect({element:(n=await(u.isElement==null?void 0:u.isElement(N)))==null||n?N:N.contextElement||await(u.getDocumentElement==null?void 0:u.getDocumentElement(f.floating)),boundary:g,rootBoundary:x,strategy:p})),R=y==="floating"?{x:o,y:l,width:d.floating.width,height:d.floating.height}:d.reference,_=await(u.getOffsetParent==null?void 0:u.getOffsetParent(f.floating)),Q=await(u.isElement==null?void 0:u.isElement(_))?await(u.getScale==null?void 0:u.getScale(_))||{x:1,y:1}:{x:1,y:1},F=Fc(u.convertOffsetParentRelativeRectToViewportRelativeRect?await u.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:R,offsetParent:_,strategy:p}):R);return{top:(O.top-F.top+j.top)/Q.y,bottom:(F.bottom-O.bottom+j.bottom)/Q.y,left:(O.left-F.left+j.left)/Q.x,right:(F.right-O.right+j.right)/Q.x}}const GN=e=>({name:"arrow",options:e,async fn(s){const{x:n,y:o,placement:l,rects:u,platform:d,elements:f,middlewareData:p}=s,{element:g,padding:x=0}=ka(e,s)||{};if(g==null)return{};const y=H0(x),v={x:n,y:o},k=bp(l),j=yp(k),E=await d.getDimensions(g),N=k==="y",O=N?"top":"left",R=N?"bottom":"right",_=N?"clientHeight":"clientWidth",Q=u.reference[j]+u.reference[k]-v[k]-u.floating[j],F=v[k]-u.reference[k],U=await(d.getOffsetParent==null?void 0:d.getOffsetParent(g));let C=U?U[_]:0;(!C||!await(d.isElement==null?void 0:d.isElement(U)))&&(C=f.floating[_]||u.floating[j]);const D=Q/2-F/2,Z=C/2-E[j]/2-1,K=cn(y[O],Z),ae=cn(y[R],Z),se=K,ie=C-E[j]-ae,oe=C/2-E[j]/2+D,le=Of(se,oe,ie),M=!p.arrow&&co(l)!=null&&oe!==le&&u.reference[j]/2-(oe<se?K:ae)-E[j]/2<0,H=M?oe<se?oe-se:oe-ie:0;return{[k]:v[k]+H,data:{[k]:le,centerOffset:oe-le-H,...M&&{alignmentOffset:H}},reset:M}}}),IN=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(s){var n,o;const{placement:l,middlewareData:u,rects:d,initialPlacement:f,platform:p,elements:g}=s,{mainAxis:x=!0,crossAxis:y=!0,fallbackPlacements:v,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:j="none",flipAlignment:E=!0,...N}=ka(e,s);if((n=u.arrow)!=null&&n.alignmentOffset)return{};const O=ja(l),R=Qs(f),_=ja(f)===f,Q=await(p.isRTL==null?void 0:p.isRTL(g.floating)),F=v||(_||!E?[zc(f)]:DN(f)),U=j!=="none";!v&&U&&F.push(...FN(f,E,j,Q));const C=[f,...F],D=await _r(s,N),Z=[];let K=((o=u.flip)==null?void 0:o.overflows)||[];if(x&&Z.push(D[O]),y){const oe=BN(l,d,Q);Z.push(D[oe[0]],D[oe[1]])}if(K=[...K,{placement:l,overflows:Z}],!Z.every(oe=>oe<=0)){var ae,se;const oe=(((ae=u.flip)==null?void 0:ae.index)||0)+1,le=C[oe];if(le&&(!(y==="alignment"?R!==Qs(le):!1)||K.every(L=>Qs(L.placement)===R?L.overflows[0]>0:!0)))return{data:{index:oe,overflows:K},reset:{placement:le}};let M=(se=K.filter(H=>H.overflows[0]<=0).sort((H,L)=>H.overflows[1]-L.overflows[1])[0])==null?void 0:se.placement;if(!M)switch(k){case"bestFit":{var ie;const H=(ie=K.filter(L=>{if(U){const B=Qs(L.placement);return B===R||B==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(B=>B>0).reduce((B,te)=>B+te,0)]).sort((L,B)=>L[1]-B[1])[0])==null?void 0:ie[0];H&&(M=H);break}case"initialPlacement":M=f;break}if(l!==M)return{reset:{placement:M}}}return{}}}};function Hb(e,s){return{top:e.top-s.height,right:e.right-s.width,bottom:e.bottom-s.height,left:e.left-s.width}}function Ub(e){return RN.some(s=>e[s]>=0)}const VN=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(s){const{rects:n}=s,{strategy:o="referenceHidden",...l}=ka(e,s);switch(o){case"referenceHidden":{const u=await _r(s,{...l,elementContext:"reference"}),d=Hb(u,n.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:Ub(d)}}}case"escaped":{const u=await _r(s,{...l,altBoundary:!0}),d=Hb(u,n.floating);return{data:{escapedOffsets:d,escaped:Ub(d)}}}default:return{}}}}},U0=new Set(["left","top"]);async function qN(e,s){const{placement:n,platform:o,elements:l}=e,u=await(o.isRTL==null?void 0:o.isRTL(l.floating)),d=ja(n),f=co(n),p=Qs(n)==="y",g=U0.has(d)?-1:1,x=u&&p?-1:1,y=ka(s,e);let{mainAxis:v,crossAxis:k,alignmentAxis:j}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return f&&typeof j=="number"&&(k=f==="end"?j*-1:j),p?{x:k*x,y:v*g}:{x:v*g,y:k*x}}const QN=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(s){var n,o;const{x:l,y:u,placement:d,middlewareData:f}=s,p=await qN(s,e);return d===((n=f.offset)==null?void 0:n.placement)&&(o=f.arrow)!=null&&o.alignmentOffset?{}:{x:l+p.x,y:u+p.y,data:{...p,placement:d}}}}},YN=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(s){const{x:n,y:o,placement:l}=s,{mainAxis:u=!0,crossAxis:d=!1,limiter:f={fn:N=>{let{x:O,y:R}=N;return{x:O,y:R}}},...p}=ka(e,s),g={x:n,y:o},x=await _r(s,p),y=Qs(ja(l)),v=xp(y);let k=g[v],j=g[y];if(u){const N=v==="y"?"top":"left",O=v==="y"?"bottom":"right",R=k+x[N],_=k-x[O];k=Of(R,k,_)}if(d){const N=y==="y"?"top":"left",O=y==="y"?"bottom":"right",R=j+x[N],_=j-x[O];j=Of(R,j,_)}const E=f.fn({...s,[v]:k,[y]:j});return{...E,data:{x:E.x-n,y:E.y-o,enabled:{[v]:u,[y]:d}}}}}},$N=function(e){return e===void 0&&(e={}),{options:e,fn(s){const{x:n,y:o,placement:l,rects:u,middlewareData:d}=s,{offset:f=0,mainAxis:p=!0,crossAxis:g=!0}=ka(e,s),x={x:n,y:o},y=Qs(l),v=xp(y);let k=x[v],j=x[y];const E=ka(f,s),N=typeof E=="number"?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(p){const _=v==="y"?"height":"width",Q=u.reference[v]-u.floating[_]+N.mainAxis,F=u.reference[v]+u.reference[_]-N.mainAxis;k<Q?k=Q:k>F&&(k=F)}if(g){var O,R;const _=v==="y"?"width":"height",Q=U0.has(ja(l)),F=u.reference[y]-u.floating[_]+(Q&&((O=d.offset)==null?void 0:O[y])||0)+(Q?0:N.crossAxis),U=u.reference[y]+u.reference[_]+(Q?0:((R=d.offset)==null?void 0:R[y])||0)-(Q?N.crossAxis:0);j<F?j=F:j>U&&(j=U)}return{[v]:k,[y]:j}}}},KN=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(s){var n,o;const{placement:l,rects:u,platform:d,elements:f}=s,{apply:p=()=>{},...g}=ka(e,s),x=await _r(s,g),y=ja(l),v=co(l),k=Qs(l)==="y",{width:j,height:E}=u.floating;let N,O;y==="top"||y==="bottom"?(N=y,O=v===(await(d.isRTL==null?void 0:d.isRTL(f.floating))?"start":"end")?"left":"right"):(O=y,N=v==="end"?"top":"bottom");const R=E-x.top-x.bottom,_=j-x.left-x.right,Q=cn(E-x[N],R),F=cn(j-x[O],_),U=!s.middlewareData.shift;let C=Q,D=F;if((n=s.middlewareData.shift)!=null&&n.enabled.x&&(D=_),(o=s.middlewareData.shift)!=null&&o.enabled.y&&(C=R),U&&!v){const K=is(x.left,0),ae=is(x.right,0),se=is(x.top,0),ie=is(x.bottom,0);k?D=j-2*(K!==0||ae!==0?K+ae:is(x.left,x.right)):C=E-2*(se!==0||ie!==0?se+ie:is(x.top,x.bottom))}await p({...s,availableWidth:D,availableHeight:C});const Z=await d.getDimensions(f.floating);return j!==Z.width||E!==Z.height?{reset:{rects:!0}}:{}}}};function tu(){return typeof window<"u"}function uo(e){return G0(e)?(e.nodeName||"").toLowerCase():"#document"}function rs(e){var s;return(e==null||(s=e.ownerDocument)==null?void 0:s.defaultView)||window}function Zs(e){var s;return(s=(G0(e)?e.ownerDocument:e.document)||window.document)==null?void 0:s.documentElement}function G0(e){return tu()?e instanceof Node||e instanceof rs(e).Node:!1}function Ms(e){return tu()?e instanceof Element||e instanceof rs(e).Element:!1}function Xs(e){return tu()?e instanceof HTMLElement||e instanceof rs(e).HTMLElement:!1}function Gb(e){return!tu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof rs(e).ShadowRoot}const XN=new Set(["inline","contents"]);function $r(e){const{overflow:s,overflowX:n,overflowY:o,display:l}=Ps(e);return/auto|scroll|overlay|hidden|clip/.test(s+o+n)&&!XN.has(l)}const WN=new Set(["table","td","th"]);function ZN(e){return WN.has(uo(e))}const JN=[":popover-open",":modal"];function su(e){return JN.some(s=>{try{return e.matches(s)}catch{return!1}})}const e5=["transform","translate","scale","rotate","perspective"],t5=["transform","translate","scale","rotate","perspective","filter"],s5=["paint","layout","strict","content"];function vp(e){const s=wp(),n=Ms(e)?Ps(e):e;return e5.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!s&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!s&&(n.filter?n.filter!=="none":!1)||t5.some(o=>(n.willChange||"").includes(o))||s5.some(o=>(n.contain||"").includes(o))}function a5(e){let s=un(e);for(;Xs(s)&&!io(s);){if(vp(s))return s;if(su(s))return null;s=un(s)}return null}function wp(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const n5=new Set(["html","body","#document"]);function io(e){return n5.has(uo(e))}function Ps(e){return rs(e).getComputedStyle(e)}function au(e){return Ms(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function un(e){if(uo(e)==="html")return e;const s=e.assignedSlot||e.parentNode||Gb(e)&&e.host||Zs(e);return Gb(s)?s.host:s}function I0(e){const s=un(e);return io(s)?e.ownerDocument?e.ownerDocument.body:e.body:Xs(s)&&$r(s)?s:I0(s)}function Lr(e,s,n){var o;s===void 0&&(s=[]),n===void 0&&(n=!0);const l=I0(e),u=l===((o=e.ownerDocument)==null?void 0:o.body),d=rs(l);if(u){const f=Pf(d);return s.concat(d,d.visualViewport||[],$r(l)?l:[],f&&n?Lr(f):[])}return s.concat(l,Lr(l,[],n))}function Pf(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function V0(e){const s=Ps(e);let n=parseFloat(s.width)||0,o=parseFloat(s.height)||0;const l=Xs(e),u=l?e.offsetWidth:n,d=l?e.offsetHeight:o,f=Lc(n)!==u||Lc(o)!==d;return f&&(n=u,o=d),{width:n,height:o,$:f}}function Sp(e){return Ms(e)?e:e.contextElement}function to(e){const s=Sp(e);if(!Xs(s))return Ys(1);const n=s.getBoundingClientRect(),{width:o,height:l,$:u}=V0(s);let d=(u?Lc(n.width):n.width)/o,f=(u?Lc(n.height):n.height)/l;return(!d||!Number.isFinite(d))&&(d=1),(!f||!Number.isFinite(f))&&(f=1),{x:d,y:f}}const i5=Ys(0);function q0(e){const s=rs(e);return!wp()||!s.visualViewport?i5:{x:s.visualViewport.offsetLeft,y:s.visualViewport.offsetTop}}function o5(e,s,n){return s===void 0&&(s=!1),!n||s&&n!==rs(e)?!1:s}function Zn(e,s,n,o){s===void 0&&(s=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),u=Sp(e);let d=Ys(1);s&&(o?Ms(o)&&(d=to(o)):d=to(e));const f=o5(u,n,o)?q0(u):Ys(0);let p=(l.left+f.x)/d.x,g=(l.top+f.y)/d.y,x=l.width/d.x,y=l.height/d.y;if(u){const v=rs(u),k=o&&Ms(o)?rs(o):o;let j=v,E=Pf(j);for(;E&&o&&k!==j;){const N=to(E),O=E.getBoundingClientRect(),R=Ps(E),_=O.left+(E.clientLeft+parseFloat(R.paddingLeft))*N.x,Q=O.top+(E.
vendor: 6,279 bytes, line 49
49clientTop+parseFloat(R.paddingTop))*N.y;p*=N.x,g*=N.y,x*=N.x,y*=N.y,p+=_,g+=Q,j=rs(E),E=Pf(j)}}return Fc({width:x,height:y,x:p,y:g})}function nu(e,s){const n=au(e).scrollLeft;return s?s.left+n:Zn(Zs(e)).left+n}function Q0(e,s){const n=e.getBoundingClientRect(),o=n.left+s.scrollLeft-nu(e,n),l=n.top+s.scrollTop;return{x:o,y:l}}function r5(e){let{elements:s,rect:n,offsetParent:o,strategy:l}=e;const u=l==="fixed",d=Zs(o),f=s?su(s.floating):!1;if(o===d||f&&u)return n;let p={scrollLeft:0,scrollTop:0},g=Ys(1);const x=Ys(0),y=Xs(o);if((y||!y&&!u)&&((uo(o)!=="body"||$r(d))&&(p=au(o)),Xs(o))){const k=Zn(o);g=to(o),x.x=k.x+o.clientLeft,x.y=k.y+o.clientTop}const v=d&&!y&&!u?Q0(d,p):Ys(0);return{width:n.width*g.x,height:n.height*g.y,x:n.x*g.x-p.scrollLeft*g.x+x.x+v.x,y:n.y*g.y-p.scrollTop*g.y+x.y+v.y}}function l5(e){return Array.from(e.getClientRects())}function c5(e){const s=Zs(e),n=au(e),o=e.ownerDocument.body,l=is(s.scrollWidth,s.clientWidth,o.scrollWidth,o.clientWidth),u=is(s.scrollHeight,s.clientHeight,o.scrollHeight,o.clientHeight);let d=-n.scrollLeft+nu(e);const f=-n.scrollTop;return Ps(o).direction==="rtl"&&(d+=is(s.clientWidth,o.clientWidth)-l),{width:l,height:u,x:d,y:f}}const Ib=25;function u5(e,s){const n=rs(e),o=Zs(e),l=n.visualViewport;let u=o.clientWidth,d=o.clientHeight,f=0,p=0;if(l){u=l.width,d=l.height;const x=wp();(!x||x&&s==="fixed")&&(f=l.offsetLeft,p=l.offsetTop)}const g=nu(o);if(g<=0){const x=o.ownerDocument,y=x.body,v=getComputedStyle(y),k=x.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,j=Math.abs(o.clientWidth-y.clientWidth-k);j<=Ib&&(u-=j)}else g<=Ib&&(u+=g);return{width:u,height:d,x:f,y:p}}const d5=new Set(["absolute","fixed"]);function h5(e,s){const n=Zn(e,!0,s==="fixed"),o=n.top+e.clientTop,l=n.left+e.clientLeft,u=Xs(e)?to(e):Ys(1),d=e.clientWidth*u.x,f=e.clientHeight*u.y,p=l*u.x,g=o*u.y;return{width:d,height:f,x:p,y:g}}function Vb(e,s,n){let o;if(s==="viewport")o=u5(e,n);else if(s==="document")o=c5(Zs(e));else if(Ms(s))o=h5(s,n);else{const l=q0(e);o={x:s.x-l.x,y:s.y-l.y,width:s.width,height:s.height}}return Fc(o)}function Y0(e,s){const n=un(e);return n===s||!Ms(n)||io(n)?!1:Ps(n).position==="fixed"||Y0(n,s)}function f5(e,s){const n=s.get(e);if(n)return n;let o=Lr(e,[],!1).filter(f=>Ms(f)&&uo(f)!=="body"),l=null;const u=Ps(e).position==="fixed";let d=u?un(e):e;for(;Ms(d)&&!io(d);){const f=Ps(d),p=vp(d);!p&&f.position==="fixed"&&(l=null),(u?!p&&!l:!p&&f.position==="static"&&!!l&&d5.has(l.position)||$r(d)&&!p&&Y0(e,d))?o=o.filter(x=>x!==d):l=f,d=un(d)}return s.set(e,o),o}function p5(e){let{element:s,boundary:n,rootBoundary:o,strategy:l}=e;const d=[...n==="clippingAncestors"?su(s)?[]:f5(s,this._c):[].concat(n),o],f=d[0],p=d.reduce((g,x)=>{const y=Vb(s,x,l);return g.top=is(y.top,g.top),g.right=cn(y.right,g.right),g.bottom=cn(y.bottom,g.bottom),g.left=is(y.left,g.left),g},Vb(s,f,l));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function m5(e){const{width:s,height:n}=V0(e);return{width:s,height:n}}function g5(e,s,n){const o=Xs(s),l=Zs(s),u=n==="fixed",d=Zn(e,!0,u,s);let f={scrollLeft:0,scrollTop:0};const p=Ys(0);function g(){p.x=nu(l)}if(o||!o&&!u)if((uo(s)!=="body"||$r(l))&&(f=au(s)),o){const k=Zn(s,!0,u,s);p.x=k.x+s.clientLeft,p.y=k.y+s.clientTop}else l&&g();u&&!o&&l&&g();const x=l&&!o&&!u?Q0(l,f):Ys(0),y=d.left+f.scrollLeft-p.x-x.x,v=d.top+f.scrollTop-p.y-x.y;return{x:y,y:v,width:d.width,height:d.height}}function Lh(e){return Ps(e).position==="static"}function qb(e,s){if(!Xs(e)||Ps(e).position==="fixed")return null;if(s)return s(e);let n=e.offsetParent;return Zs(e)===n&&(n=n.ownerDocument.body),n}function $0(e,s){const n=rs(e);if(su(e))return n;if(!Xs(e)){let l=un(e);for(;l&&!io(l);){if(Ms(l)&&!Lh(l))return l;l=un(l)}return n}let o=qb(e,s);for(;o&&ZN(o)&&Lh(o);)o=qb(o,s);return o&&io(o)&&Lh(o)&&!vp(o)?n:o||a5(e)||n}const x5=async function(e){const s=this.getOffsetParent||$0,n=this.getDimensions,o=await n(e.floating);return{reference:g5(e.reference,await s(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function y5(e){return Ps(e).direction==="rtl"}const b5={convertOffsetParentRelativeRectToViewportRelativeRect:r5,getDocumentElement:Zs,getClippingRect:p5,getOffsetParent:$0,getElementRects:x5,getClientRects:l5,getDimensions:m5,getScale:to,isElement:Ms,isRTL:y5};function K0(e,s){return e.x===s.x&&e.y===s.y&&e.width===s.width&&e.height===s.height}function v5(e,s){let n=null,o;const l=Zs(e);function u(){var f;clearTimeout(o),(f=n)==null||f.disconnect(),n=null}function d(f,p){f===void 0&&(f=!1),p===void 0&&(p=1),u();const g=e.getBoundingClientRect(),{left:x,top:y,width:v,height:k}=g;if(f||s(),!v||!k)return;const j=bc(y),E=bc(l.clientWidth-(x+v)),N=bc(l.clientHeight-(y+k)),O=bc(x),_={rootMargin:-j+"px "+-E+"px "+-N+"px "+-O+"px",threshold:is(0,cn(1,p))||1};let Q=!0;function F(U){const C=U[0].intersectionRatio;if(C!==p){if(!Q)return d();C?d(!1,C):o=setTimeout(()=>{d(!1,1e-7)},1e3)}C===1&&!K0(g,e.getBoundingClientRect())&&d(),Q=!1}try{n=new IntersectionObserver(F,{..._,root:l.ownerDocument})}catch{n=new IntersectionObserver(F,_)}n.observe(e)}return d(!0),u}function w5(e,s,n,o){o===void 0&&(o={});const{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:f=typeof IntersectionObserver=="function",animationFrame:p=!1}=o,g=Sp(e),x=l||u?[...g?Lr(g):[],...Lr(s)]:[];x.forEach(O=>{l&&O.addEventListener("scroll",n,{passive:!0}),u&&O.addEventListener("resize",n)});const y=g&&f?v5(g,n):null;let v=-1,k=null;d&&(k=new ResizeObserver(O=>{let[R]=O;R&&R.target===g&&k&&(k.unobserve(s),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var _;(_=k)==null||_.observe(s)})),n()}),g&&!p&&k.observe(g),k.observe(s));let j,E=p?Zn(e):null;p&&N();function N(){const O=Zn(e);E&&!K0(E,O)&&n(),E=O,j=requestAnimationFrame(N)}return n(),()=>{var O;x.forEach(R=>{l&&R.removeEventListener("scroll",n),u&&R.removeEventListener("resize",n)}),y?.(),(O=k)==null||O.disconnect(),k=null,p&&cancelAnimationFrame(j)}}const S5=QN,k5=YN,j5=IN,E5=KN,T5=VN,Qb=GN,N5=$N,C5=(e,s,n)=>{const o=new Map,l={platform:b5,...n},u={...l.platform,_c:o};return UN(e,s,{...l,platform:u})};var A5=typeof document<"u",R5=function(){},Rc=A5?w.useLayoutEffect:R5;function Hc(e,s){if(e===s)return!0;
vendor: 14,102 bytes, line 49
49if(typeof e!=typeof s)return!1;if(typeof e=="function"&&e.toString()===s.toString())return!0;let n,o,l;if(e&&s&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==s.length)return!1;for(o=n;o--!==0;)if(!Hc(e[o],s[o]))return!1;return!0}if(l=Object.keys(e),n=l.length,n!==Object.keys(s).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(s,l[o]))return!1;for(o=n;o--!==0;){const u=l[o];if(!(u==="_owner"&&e.$$typeof)&&!Hc(e[u],s[u]))return!1}return!0}return e!==e&&s!==s}function X0(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Yb(e,s){const n=X0(e);return Math.round(s*n)/n}function zh(e){const s=w.useRef(e);return Rc(()=>{s.current=e}),s}function O5(e){e===void 0&&(e={});const{placement:s="bottom",strategy:n="absolute",middleware:o=[],platform:l,elements:{reference:u,floating:d}={},transform:f=!0,whileElementsMounted:p,open:g}=e,[x,y]=w.useState({x:0,y:0,strategy:n,placement:s,middlewareData:{},isPositioned:!1}),[v,k]=w.useState(o);Hc(v,o)||k(o);const[j,E]=w.useState(null),[N,O]=w.useState(null),R=w.useCallback(L=>{L!==U.current&&(U.current=L,E(L))},[]),_=w.useCallback(L=>{L!==C.current&&(C.current=L,O(L))},[]),Q=u||j,F=d||N,U=w.useRef(null),C=w.useRef(null),D=w.useRef(x),Z=p!=null,K=zh(p),ae=zh(l),se=zh(g),ie=w.useCallback(()=>{if(!U.current||!C.current)return;const L={placement:s,strategy:n,middleware:v};ae.current&&(L.platform=ae.current),C5(U.current,C.current,L).then(B=>{const te={...B,isPositioned:se.current!==!1};oe.current&&!Hc(D.current,te)&&(D.current=te,gp.flushSync(()=>{y(te)}))})},[v,s,n,ae,se]);Rc(()=>{g===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,y(L=>({...L,isPositioned:!1})))},[g]);const oe=w.useRef(!1);Rc(()=>(oe.current=!0,()=>{oe.current=!1}),[]),Rc(()=>{if(Q&&(U.current=Q),F&&(C.current=F),Q&&F){if(K.current)return K.current(Q,F,ie);ie()}},[Q,F,ie,K,Z]);const le=w.useMemo(()=>({reference:U,floating:C,setReference:R,setFloating:_}),[R,_]),M=w.useMemo(()=>({reference:Q,floating:F}),[Q,F]),H=w.useMemo(()=>{const L={position:n,left:0,top:0};if(!M.floating)return L;const B=Yb(M.floating,x.x),te=Yb(M.floating,x.y);return f?{...L,transform:"translate("+B+"px, "+te+"px)",...X0(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:B,top:te}},[n,f,M.floating,x.x,x.y]);return w.useMemo(()=>({...x,update:ie,refs:le,elements:M,floatingStyles:H}),[x,ie,le,M,H])}const M5=e=>{function s(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:l}=typeof e=="function"?e(n):e;return o&&s(o)?o.current!=null?Qb({element:o.current,padding:l}).fn(n):{}:o?Qb({element:o,padding:l}).fn(n):{}}}},P5=(e,s)=>({...S5(e),options:[e,s]}),B5=(e,s)=>({...k5(e),options:[e,s]}),D5=(e,s)=>({...N5(e),options:[e,s]}),_5=(e,s)=>({...j5(e),options:[e,s]}),L5=(e,s)=>({...E5(e),options:[e,s]}),z5=(e,s)=>({...T5(e),options:[e,s]}),F5=(e,s)=>({...M5(e),options:[e,s]});var H5="Arrow",W0=w.forwardRef((e,s)=>{const{children:n,width:o=10,height:l=5,...u}=e;return r.jsx(ai.svg,{...u,ref:s,width:o,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:r.jsx("polygon",{points:"0,0 30,0 15,10"})})});W0.displayName=H5;var U5=W0;function G5(e){const[s,n]=w.useState(void 0);return Dr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const o=new ResizeObserver(l=>{if(!Array.isArray(l)||!l.length)return;const u=l[0];let d,f;if("borderBoxSize"in u){const p=u.borderBoxSize,g=Array.isArray(p)?p[0]:p;d=g.inlineSize,f=g.blockSize}else d=e.offsetWidth,f=e.offsetHeight;n({width:d,height:f})});return o.observe(e,{box:"border-box"}),()=>o.unobserve(e)}else n(void 0)},[e]),s}var Z0="Popper",[J0,ew]=B0(Z0),[HM,tw]=J0(Z0),sw="PopperAnchor",aw=w.forwardRef((e,s)=>{const{__scopePopper:n,virtualRef:o,...l}=e,u=tw(sw,n),d=w.useRef(null),f=si(s,d),p=w.useRef(null);return w.useEffect(()=>{const g=p.current;p.current=o?.current||d.current,g!==p.current&&u.onAnchorChange(p.current)}),o?null:r.jsx(ai.div,{...l,ref:f})});aw.displayName=sw;var kp="PopperContent",[I5,V5]=J0(kp),nw=w.forwardRef((e,s)=>{const{__scopePopper:n,side:o="bottom",sideOffset:l=0,align:u="center",alignOffset:d=0,arrowPadding:f=0,avoidCollisions:p=!0,collisionBoundary:g=[],collisionPadding:x=0,sticky:y="partial",hideWhenDetached:v=!1,updatePositionStrategy:k="optimized",onPlaced:j,...E}=e,N=tw(kp,n),[O,R]=w.useState(null),_=si(s,ue=>R(ue)),[Q,F]=w.useState(null),U=G5(Q),C=U?.width??0,D=U?.height??0,Z=o+(u!=="center"?"-"+u:""),K=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},ae=Array.isArray(g)?g:[g],se=ae.length>0,ie={padding:K,boundary:ae.filter(Q5),altBoundary:se},{refs:oe,floatingStyles:le,placement:M,isPositioned:H,middlewareData:L}=O5({strategy:"fixed",placement:Z,whileElementsMounted:(...ue)=>w5(...ue,{animationFrame:k==="always"}),elements:{reference:N.anchor},middleware:[P5({mainAxis:l+D,alignmentAxis:d}),p&&B5({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?D5():void 0,...ie}),p&&_5({...ie}),L5({...ie,apply:({elements:ue,rects:be,availableWidth:Re,availableHeight:xt})=>{const{width:Ot,height:yt}=be.reference,Js=ue.floating.style;Js.setProperty("--radix-popper-available-width",`${Re}px`),Js.setProperty("--radix-popper-available-height",`${xt}px`),Js.setProperty("--radix-popper-anchor-width",`${Ot}px`),Js.setProperty("--radix-popper-anchor-height",`${yt}px`)}}),Q&&F5({element:Q,padding:f}),Y5({arrowWidth:C,arrowHeight:D}),v&&z5({strategy:"referenceHidden",...ie})]}),[B,te]=rw(M),T=eu(j);Dr(()=>{H&&T?.()},[H,T]);const $=L.arrow?.x,V=L.arrow?.y,X=L.arrow?.centerOffset!==0,[ne,pe]=w.useState();return Dr(()=>{O&&pe(window.getComputedStyle(O).zIndex)},[O]),r.jsx("div",{ref:oe.setFloating,"data-radix-popper-content-wrapper":"",style:{...le,transform:H?le.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ne,"--radix-popper-transform-origin":[L.transformOrigin?.x,L.transformOrigin?.y].join(" "),...L.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:r.jsx(I5,{scope:n,placedSide:B,onArrowChange:F,arrowX:$,arrowY:V,shouldHideArrow:X,children:r.jsx(ai.div,{"data-side":B,"data-align":te,...E,ref:_,style:{...E.style,animation:H?void 0:"none"}})})})});nw.displayName=kp;var iw="PopperArrow",q5={top:"bottom",right:"left",bottom:"top",left:"right"},ow=w.forwardRef(function(s,n){const{__scopePopper:o,...l}=s,u=V5(iw,o),d=q5[u.placedSide];return r.jsx("span",{ref:u.onArrowChange,style:{position:"absolute",left:u.arrowX,top:u.arrowY,[d]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[u.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[u.placedSide],visibility:u.shouldHideArrow?"hidden":void 0},children:r.jsx(U5,{...l,ref:n,style:{...l.style,display:"block"}})})});ow.displayName=iw;function Q5(e){return e!==null}var Y5=e=>({name:"transformOrigin",options:e,fn(s){const{placement:n,rects:o,middlewareData:l}=s,d=l.arrow?.centerOffset!==0,f=d?0:e.arrowWidth,p=d?0:e.arrowHeight,[g,x]=rw(n),y={start:"0%",center:"50%",end:"100%"}[x],v=(l.arrow?.x??0)+f/2,k=(l.arrow?.y??0)+p/2;let j="",E="";return g==="bottom"?(j=d?y:`${v}px`,E=`${-p}px`):g==="top"?(j=d?y:`${v}px`,E=`${o.floating.height+p}px`):g==="right"?(j=`${-p}px`,E=d?y:`${k}px`):g==="left"&&(j=`${o.floating.width+p}px`,E=d?y:`${k}px`),{data:{x:j,y:E}}}});function rw(e){const[s,n="center"]=e.split("-");return[s,n]}var $5=aw,K5=nw,X5=ow;function W5(e,s){return w.useReducer((n,o)=>s[n][o]??n,e)}var lw=e=>{const{present:s,children:n}=e,o=Z5(s),l=typeof n=="function"?n({present:o.isPresent}):w.Children.only(n),u=si(o.ref,J5(l));return typeof n=="function"||o.isPresent?w.cloneElement(l,{ref:u}):null};lw.displayName="Presence";function Z5(e){const[s,n]=w.useState(),o=w.useRef(null),l=w.useRef(e),u=w.useRef("none"),d=e?"mounted":"unmounted",[f,p]=W5(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const g=vc(o.current);u.current=f==="mounted"?g:"none"},[f]),Dr(()=>{const g=o.current,x=l.current;if(x!==e){const v=u.current,k=vc(g);e?p("MOUNT"):k==="none"||g?.display==="none"?p("UNMOUNT"):p(x&&v!==k?"ANIMATION_OUT":"UNMOUNT"),l.current=e}},[e,p]),Dr(()=>{if(s){let g;const x=s.ownerDocument.defaultView??window,y=k=>{const E=vc(o.current).includes(CSS.escape(k.animationName));if(k.target===s&&E&&(p("ANIMATION_END"),!l.current)){const N=s.style.animationFillMode;s.style.animationFillMode="forwards",g=x.setTimeout(()=>{s.style.animationFillMode==="forwards"&&(s.style.animationFillMode=N)})}},v=k=>{k.target===s&&(u.current=vc(o.current))};return s.addEventListener("animationstart",v),s.addEventListener("animationcancel",y),s.addEventListener("animationend",y),()=>{x.clearTimeout(g),s.removeEventListener("animationstart",v),s.removeEventListener("animationcancel",y),s.removeEventListener("animationend",y)}}else p("ANIMATION_END")},[s,p]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:w.useCallback(g=>{o.current=g?getComputedStyle(g):null,n(g)},[])}}function vc(e){return e?.animationName||"none"}function J5(e){let s=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=s&&"isReactWarning"in s&&s.isReactWarning;return n?e.ref:(s=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=s&&"isReactWarning"in s&&s.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var e3=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),t3="VisuallyHidden",cw=w.forwardRef((e,s)=>r.jsx(ai.span,{...e,ref:s,style:{...e3,...e.style}}));cw.displayName=t3;var s3=cw,[iu]=B0("Tooltip",[ew]),jp=ew(),uw="TooltipProvider",a3=700,$b="tooltip.open",[n3,dw]=iu(uw),hw=e=>{const{__scopeTooltip:s,delayDuration:n=a3,skipDelayDuration:o=300,disableHoverableContent:l=!1,children:u}=e,d=w.useRef(!0),f=w.useRef(!1),p=w.useRef(0);return w.useEffect(()=>{const g=p.current;return()=>window.clearTimeout(g)},[]),r.jsx(n3,{scope:s,isOpenDelayedRef:d,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(p.current),d.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>d.current=!0,o)},[o]),isPointerInTransitRef:f,onPointerInTransitChange:w.useCallback(g=>{f.current=g},[]),disableHoverableContent:l,children:u})};hw.displayName=uw;var fw="Tooltip",[UM,ou]=iu(fw),Bf="TooltipTrigger",i3=w.forwardRef((e,s)=>{const{__scopeTooltip:n,...o}=e,l=ou(Bf,n),u=dw(Bf,n),d=jp(n),f=w.useRef(null),p=si(s,f,l.onTriggerChange),g=w.useRef(!1),x=w.useRef(!1),y=w.useCallback(()=>g.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",y),[y]),r.jsx($5,{asChild:!0,...d,children:r.jsx(ai.button,{"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute,...o,ref:p,onPointerMove:wa(e.onPointerMove,v=>{v.pointerType!=="touch"&&!x.current&&!u.isPointerInTransitRef.current&&(l.onTriggerEnter(),x.current=!0)}),onPointerLeave:wa(e.onPointerLeave,()=>{l.onTriggerLeave(),x.current=!1}),onPointerDown:wa(e.onPointerDown,()=>{l.open&&l.onClose(),g.current=!0,document.addEventListener("pointerup",y,{once:!0})}),onFocus:wa(e.onFocus,()=>{g.current||l.onOpen()}),onBlur:wa(e.onBlur,l.onClose),onClick:wa(e.onClick,l.onClose)})})});i3.displayName=Bf;var o3="TooltipPortal",[GM,r3]=iu(o3,{forceMount:void 0}),oo="TooltipContent",l3=w.forwardRef((e,s)=>{const n=r3(oo,e.__scopeTooltip),{forceMount:o=n.forceMount,side:l="top",...u}=e,d=ou(oo,e.__scopeTooltip);return r.jsx(lw,{present:o||d.open,children:d.disableHoverableContent?r.jsx(pw,{side:l,...u,ref:s}):r.jsx(c3,{side:l,...u,ref:s})})}),c3=w.forwardRef((e,s)=>{const n=ou(oo,e.__scopeTooltip),o=dw(oo,e.__scopeTooltip),l=w.useRef(null),u=si(s,l),[d,f]=w.useState(null),{trigger:p,onClose:g}=n,x=l.current,{onPointerInTransitChange:y}=o,v=w.useCallback(()=>{f(null),y(!1)},[y]),k=w.useCallback((j,E)=>{const N=j.currentTarget,O={x:j.clientX,y:j.clientY},R=p3(O,N.getBoundingClientRect()),_=m3(O,R),Q=g3(E.getBoundingClientRect()),F=y3([..._,...Q]);f(F),y(!0)},[y]);return w.useEffect(()=>()=>v(),[v]),w.useEffect(()=>{if(p&&x){const j=N=>k(N,x),E=N=>k(N,p);return p.addEventListener("pointerleave",j),x.addEventListener("pointerleave",E),()=>{p.removeEventListener("pointerleave",j),x.removeEventListener("pointerleave",E)}}},[p,x,k,v]),w.useEffect(()=>{if(d){const j=E=>{const N=E.target,O={x:E.clientX,y:E.clientY},R=p?.contains(N)||x?.contains(N),_=!x3(O,d);R?v():_&&(v(),g())};return document.addEventListener("pointermove",j),()=>document.removeEventListener("pointermove",j)}},[p,x,d,g,v]),r.jsx(pw,{...e,ref:u})}),[u3,d3]=iu(fw,{isInside:!1}),h3=gN("TooltipContent"),pw=w.forwardRef((e,s)=>{const{__scopeTooltip:n,children:o,"aria-label":l,onEscapeKeyDown:u,onPointerDownOutside:d,...f}=e,p=ou(oo,n),g=jp(n),{onClose:x}=p;return w.useEffect(()=>(document.addEventListener($b,x),()=>document.removeEventListener($b,x)),[x]),w.useEffect(()=>{if(p.trigger){const y=v=>{v.target?.contains(p.trigger)&&x()};return window.addEventListener("scroll",y,{capture:!0}),()=>window.removeEventListener("scroll",y,{capture:!0})}},[p.trigger,x]),r.jsx(z0,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:y=>y.preventDefault(),onDismiss:x,children:r.jsxs(K5,{"data-state":p.stateAttribute,...g,...f,ref:s,style:{...f.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[r.jsx(h3,{children:o}),r.jsx(u3,{scope:n,isInside:!0,children:r.jsx(s3,{id:p.contentId,role:"tooltip",children:l||o})})]})})});l3.displayName=oo;var mw="TooltipArrow",f3=w.forwardRef((e,s)=>{const{__scopeTooltip:n,...o}=e,l=jp(n);
vendor: 9,354 bytes, line 49
49return d3(mw,n).isInside?null:r.jsx(X5,{...l,...o,ref:s})});f3.displayName=mw;function p3(e,s){const n=Math.abs(s.top-e.y),o=Math.abs(s.bottom-e.y),l=Math.abs(s.right-e.x),u=Math.abs(s.left-e.x);switch(Math.min(n,o,l,u)){case u:return"left";case l:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function m3(e,s,n=5){const o=[];switch(s){case"top":o.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":o.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":o.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":o.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return o}function g3(e){const{top:s,right:n,bottom:o,left:l}=e;return[{x:l,y:s},{x:n,y:s},{x:n,y:o},{x:l,y:o}]}function x3(e,s){const{x:n,y:o}=e;let l=!1;for(let u=0,d=s.length-1;u<s.length;d=u++){const f=s[u],p=s[d],g=f.x,x=f.y,y=p.x,v=p.y;x>o!=v>o&&n<(y-g)*(o-x)/(v-x)+g&&(l=!l)}return l}function y3(e){const s=e.slice();return s.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),b3(s)}function b3(e){if(e.length<=1)return e.slice();const s=[];for(let o=0;o<e.length;o++){const l=e[o];for(;s.length>=2;){const u=s[s.length-1],d=s[s.length-2];if((u.x-d.x)*(l.y-d.y)>=(u.y-d.y)*(l.x-d.x))s.pop();else break}s.push(l)}s.pop();const n=[];for(let o=e.length-1;o>=0;o--){const l=e[o];for(;n.length>=2;){const u=n[n.length-1],d=n[n.length-2];if((u.x-d.x)*(l.y-d.y)>=(u.y-d.y)*(l.x-d.x))n.pop();else break}n.push(l)}return n.pop(),s.length===1&&n.length===1&&s[0].x===n[0].x&&s[0].y===n[0].y?s:s.concat(n)}var v3=hw;function gw(e){var s,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(s=0;s<l;s++)e[s]&&(n=gw(e[s]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function xw(){for(var e,s,n=0,o="",l=arguments.length;n<l;n++)(e=arguments[n])&&(s=gw(e))&&(o&&(o+=" "),o+=s);return o}const Ep="-",w3=e=>{const s=k3(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:d=>{const f=d.split(Ep);return f[0]===""&&f.length!==1&&f.shift(),yw(f,s)||S3(d)},getConflictingClassGroupIds:(d,f)=>{const p=n[d]||[];return f&&o[d]?[...p,...o[d]]:p}}},yw=(e,s)=>{if(e.length===0)return s.classGroupId;const n=e[0],o=s.nextPart.get(n),l=o?yw(e.slice(1),o):void 0;if(l)return l;if(s.validators.length===0)return;const u=e.join(Ep);return s.validators.find(({validator:d})=>d(u))?.classGroupId},Kb=/^\[(.+)\]$/,S3=e=>{if(Kb.test(e)){const s=Kb.exec(e)[1],n=s?.substring(0,s.indexOf(":"));if(n)return"arbitrary.."+n}},k3=e=>{const{theme:s,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const l in n)Df(n[l],o,l,s);return o},Df=(e,s,n,o)=>{e.forEach(l=>{if(typeof l=="string"){const u=l===""?s:Xb(s,l);u.classGroupId=n;return}if(typeof l=="function"){if(j3(l)){Df(l(o),s,n,o);return}s.validators.push({validator:l,classGroupId:n});return}Object.entries(l).forEach(([u,d])=>{Df(d,Xb(s,u),n,o)})})},Xb=(e,s)=>{let n=e;return s.split(Ep).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n},j3=e=>e.isThemeGetter,E3=e=>{if(e<1)return{get:()=>{},set:()=>{}};let s=0,n=new Map,o=new Map;const l=(u,d)=>{n.set(u,d),s++,s>e&&(s=0,o=n,n=new Map)};return{get(u){let d=n.get(u);if(d!==void 0)return d;if((d=o.get(u))!==void 0)return l(u,d),d},set(u,d){n.has(u)?n.set(u,d):l(u,d)}}},_f="!",Lf=":",T3=Lf.length,N3=e=>{const{prefix:s,experimentalParseClassName:n}=e;let o=l=>{const u=[];let d=0,f=0,p=0,g;for(let j=0;j<l.length;j++){let E=l[j];if(d===0&&f===0){if(E===Lf){u.push(l.slice(p,j)),p=j+T3;continue}if(E==="/"){g=j;continue}}E==="["?d++:E==="]"?d--:E==="("?f++:E===")"&&f--}const x=u.length===0?l:l.substring(p),y=C3(x),v=y!==x,k=g&&g>p?g-p:void 0;return{modifiers:u,hasImportantModifier:v,baseClassName:y,maybePostfixModifierPosition:k}};if(s){const l=s+Lf,u=o;o=d=>d.startsWith(l)?u(d.substring(l.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:d,maybePostfixModifierPosition:void 0}}if(n){const l=o;o=u=>n({className:u,parseClassName:l})}return o},C3=e=>e.endsWith(_f)?e.substring(0,e.length-1):e.startsWith(_f)?e.substring(1):e,A3=e=>{const s=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const l=[];let u=[];return o.forEach(d=>{d[0]==="["||s[d]?(l.push(...u.sort(),d),u=[]):u.push(d)}),l.push(...u.sort()),l}},R3=e=>({cache:E3(e.cacheSize),parseClassName:N3(e),sortModifiers:A3(e),...w3(e)}),O3=/\s+/,M3=(e,s)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:l,sortModifiers:u}=s,d=[],f=e.trim().split(O3);let p="";for(let g=f.length-1;g>=0;g-=1){const x=f[g],{isExternal:y,modifiers:v,hasImportantModifier:k,baseClassName:j,maybePostfixModifierPosition:E}=n(x);if(y){p=x+(p.length>0?" "+p:p);continue}let N=!!E,O=o(N?j.substring(0,E):j);if(!O){if(!N){p=x+(p.length>0?" "+p:p);continue}if(O=o(j),!O){p=x+(p.length>0?" "+p:p);continue}N=!1}const R=u(v).join(":"),_=k?R+_f:R,Q=_+O;if(d.includes(Q))continue;d.push(Q);const F=l(O,N);for(let U=0;U<F.length;++U){const C=F[U];d.push(_+C)}p=x+(p.length>0?" "+p:p)}return p};function P3(){let e=0,s,n,o="";for(;e<arguments.length;)(s=arguments[e++])&&(n=bw(s))&&(o&&(o+=" "),o+=n);return o}const bw=e=>{if(typeof e=="string")return e;let s,n="";for(let o=0;o<e.length;o++)e[o]&&(s=bw(e[o]))&&(n&&(n+=" "),n+=s);return n};function B3(e,...s){let n,o,l,u=d;function d(p){const g=s.reduce((x,y)=>y(x),e());return n=R3(g),o=n.cache.get,l=n.cache.set,u=f,f(p)}function f(p){const g=o(p);if(g)return g;const x=M3(p,n);return l(p,x),x}return function(){return u(P3.apply(null,arguments))}}const ft=e=>{const s=n=>n[e]||[];return s.isThemeGetter=!0,s},vw=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ww=/^\((?:(\w[\w-]*):)?(.+)\)$/i,D3=/^\d+\/\d+$/,_3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,L3=/\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$/,z3=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,F3=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,H3=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Yi=e=>D3.test(e),je=e=>!!e&&!Number.isNaN(Number(e)),tn=e=>!!e&&Number.isInteger(Number(e)),Fh=e=>e.endsWith("%")&&je(e.slice(0,-1)),ba=e=>_3.test(e),U3=()=>!0,G3=e=>L3.test(e)&&!z3.test(e),Sw=()=>!1,I3=e=>F3.test(e),V3=e=>H3.test(e),q3=e=>!he(e)&&!fe(e),Q3=e=>ho(e,Ew,Sw),he=e=>vw.test(e),zn=e=>ho(e,Tw,G3),Hh=e=>ho(e,W3,je),Wb=e=>ho(e,kw,Sw),Y3=e=>ho(e,jw,V3),wc=e=>ho(e,Nw,I3),fe=e=>ww.test(e),mr=e=>fo(e,Tw),$3=e=>fo(e,Z3),Zb=e=>fo(e,kw),K3=e=>fo(e,Ew),X3=e=>fo(e,jw),Sc=e=>fo(e,Nw,!0),ho=(e,s,n)=>{const o=vw.exec(e);return o?o[1]?s(o[1]):n(o[2]):!1},fo=(e,s,n=!1)=>{const o=ww.exec(e);return o?o[1]?s(o[1]):n:!1},kw=e=>e==="position"||e==="percentage",jw=e=>e==="image"||e==="url",Ew=e=>e==="length"||e==="size"||e==="bg-size",Tw=e=>e==="length",W3=e=>e==="number",Z3=e=>e==="family-name",Nw=e=>e==="shadow",J3=()=>{const e=ft("color"),s=ft("font"),n=ft("text"),o=ft("font-weight"),l=ft("tracking"),u=ft("leading"),d=ft("breakpoint"),f=ft("container"),p=ft("spacing"),g=ft("radius"),x=ft("shadow"),y=ft("inset-shadow"),v=ft("text-shadow"),k=ft("drop-shadow"),j=ft("blur"),E=ft("perspective"),N=ft("aspect"),O=ft("ease"),R=ft("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],F=()=>[...Q(),fe,he],U=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],D=()=>[fe,he,p],Z=()=>[Yi,"full","auto",...D()],K=()=>[tn,"none","subgrid",fe,he],ae=()=>["auto",{span:["full",tn,fe,he]},tn,fe,he],se=()=>[tn,"auto",fe,he],ie=()=>["auto","min","max","fr",fe,he],oe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],le=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...D()],H=()=>[Yi,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],L=()=>[e,fe,he],B=()=>[...Q(),Zb,Wb,{position:[fe,he]}],te=()=>["no-repeat",{repeat:["","x","y","space","round"]}],T=()=>["auto","cover","contain",K3,Q3,{size:[fe,he]}],$=()=>[Fh,mr,zn],V=()=>["","none","full",g,fe,he],X=()=>["",je,mr,zn],ne=()=>["solid","dashed","dotted","double"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>[je,Fh,Zb,Wb],be=()=>["","none",j,fe,he],Re=()=>["none",je,fe,he],xt=()=>["none",je,fe,he],Ot=()=>[je,fe,he],yt=()=>[Yi,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ba],breakpoint:[ba],color:[U3],container:[ba],"drop-shadow":[ba],ease:["in","out","in-out"],font:[q3],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ba],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ba],shadow:[ba],spacing:["px",je],text:[ba],"text-shadow":[ba],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Yi,he,fe,N]}
vendor: 12,863 bytes, line 49
49],container:["container"],columns:[{columns:[je,he,fe,f]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"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:F()}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Z()}],"inset-x":[{"inset-x":Z()}],"inset-y":[{"inset-y":Z()}],start:[{start:Z()}],end:[{end:Z()}],top:[{top:Z()}],right:[{right:Z()}],bottom:[{bottom:Z()}],left:[{left:Z()}],visibility:["visible","invisible","collapse"],z:[{z:[tn,"auto",fe,he]}],basis:[{basis:[Yi,"full","auto",f,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[je,Yi,"auto","initial","none",he]}],grow:[{grow:["",je,fe,he]}],shrink:[{shrink:["",je,fe,he]}],order:[{order:[tn,"first","last","none",fe,he]}],"grid-cols":[{"grid-cols":K()}],"col-start-end":[{col:ae()}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":K()}],"row-start-end":[{row:ae()}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...oe(),"normal"]}],"justify-items":[{"justify-items":[...le(),"normal"]}],"justify-self":[{"justify-self":["auto",...le()]}],"align-content":[{content:["normal",...oe()]}],"align-items":[{items:[...le(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...le(),{baseline:["","last"]}]}],"place-content":[{"place-content":oe()}],"place-items":[{"place-items":[...le(),"baseline"]}],"place-self":[{"place-self":["auto",...le()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],w:[{w:[f,"screen",...H()]}],"min-w":[{"min-w":[f,"screen","none",...H()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[d]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",n,mr,zn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,fe,Hh]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Fh,he]}],"font-family":[{font:[$3,he,s]}],"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,fe,he]}],"line-clamp":[{"line-clamp":[je,"none",fe,Hh]}],leading:[{leading:[u,...D()]}],"list-image":[{"list-image":["none",fe,he]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",fe,he]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:L()}],"text-color":[{text:L()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:[je,"from-font","auto",fe,zn]}],"text-decoration-color":[{decoration:L()}],"underline-offset":[{"underline-offset":[je,"auto",fe,he]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",fe,he]}],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",fe,he]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:te()}],"bg-size":[{bg:T()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},tn,fe,he],radial:["",fe,he],conic:[tn,fe,he]},X3,Y3]}],"bg-color":[{bg:L()}],"gradient-from-pos":[{from:$()}],"gradient-via-pos":[{via:$()}],"gradient-to-pos":[{to:$()}],"gradient-from":[{from:L()}],"gradient-via":[{via:L()}],"gradient-to":[{to:L()}],rounded:[{rounded:V()}],"rounded-s":[{"rounded-s":V()}],"rounded-e":[{"rounded-e":V()}],"rounded-t":[{"rounded-t":V()}],"rounded-r":[{"rounded-r":V()}],"rounded-b":[{"rounded-b":V()}],"rounded-l":[{"rounded-l":V()}],"rounded-ss":[{"rounded-ss":V()}],"rounded-se":[{"rounded-se":V()}],"rounded-ee":[{"rounded-ee":V()}],"rounded-es":[{"rounded-es":V()}],"rounded-tl":[{"rounded-tl":V()}],"rounded-tr":[{"rounded-tr":V()}],"rounded-br":[{"rounded-br":V()}],"rounded-bl":[{"rounded-bl":V()}],"border-w":[{border:X()}],"border-w-x":[{"border-x":X()}],"border-w-y":[{"border-y":X()}],"border-w-s":[{"border-s":X()}],"border-w-e":[{"border-e":X()}],"border-w-t":[{"border-t":X()}],"border-w-r":[{"border-r":X()}],"border-w-b":[{"border-b":X()}],"border-w-l":[{"border-l":X()}],"divide-x":[{"divide-x":X()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":X()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ne(),"hidden","none"]}],"divide-style":[{divide:[...ne(),"hidden","none"]}],"border-color":[{border:L()}],"border-color-x":[{"border-x":L()}],"border-color-y":[{"border-y":L()}],"border-color-s":[{"border-s":L()}],"border-color-e":[{"border-e":L()}],"border-color-t":[{"border-t":L()}],"border-color-r":[{"border-r":L()}],"border-color-b":[{"border-b":L()}],"border-color-l":[{"border-l":L()}],"divide-color":[{divide:L()}],"outline-style":[{outline:[...ne(),"none","hidden"]}],"outline-offset":[{"outline-offset":[je,fe,he]}],"outline-w":[{outline:["",je,mr,zn]}],"outline-color":[{outline:L()}],shadow:[{shadow:["","none",x,Sc,wc]}],"shadow-color":[{shadow:L()}],"inset-shadow":[{"inset-shadow":["none",y,Sc,wc]}],"inset-shadow-color":[{"inset-shadow":L()}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:L()}],"ring-offset-w":[{"ring-offset":[je,zn]}],"ring-offset-color":[{"ring-offset":L()}],"inset-ring-w":[{"inset-ring":X()}],"inset-ring-color":[{"inset-ring":L()}],"text-shadow":[{"text-shadow":["none",v,Sc,wc]}],"text-shadow-color":[{"text-shadow":L()}],opacity:[{opacity:[je,fe,he]}],"mix-blend":[{"mix-blend":[...pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pe()}],"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":[je]}],"mask-image-linear-from-pos":[{"mask-linear-from":ue()}],"mask-image-linear-to-pos":[{"mask-linear-to":ue()}],"mask-image-linear-from-color":[{"mask-linear-from":L()}],"mask-image-linear-to-color":[{"mask-linear-to":L()}],"mask-image-t-from-pos":[{"mask-t-from":ue()}],"mask-image-t-to-pos":[{"mask-t-to":ue()}],"mask-image-t-from-color":[{"mask-t-from":L()}],"mask-image-t-to-color":[{"mask-t-to":L()}],"mask-image-r-from-pos":[{"mask-r-from":ue()}],"mask-image-r-to-pos":[{"mask-r-to":ue()}],"mask-image-r-from-color":[{"mask-r-from":L()}],"mask-image-r-to-color":[{"mask-r-to":L()}],"mask-image-b-from-pos":[{"mask-b-from":ue()}],"mask-image-b-to-pos":[{"mask-b-to":ue()}],"mask-image-b-from-color":[{"mask-b-from":L()}],"mask-image-b-to-color":[{"mask-b-to":L()}],"mask-image-l-from-pos":[{"mask-l-from":ue()}],"mask-image-l-to-pos":[{"mask-l-to":ue()}],"mask-image-l-from-color":[{"mask-l-from":L()}],"mask-image-l-to-color":[{"mask-l-to":L()}],"mask-image-x-from-pos":[{"mask-x-from":ue()}],"mask-image-x-to-pos":[{"mask-x-to":ue()}],"mask-image-x-from-color":[{"mask-x-from":L()}],"mask-image-x-to-color":[{"mask-x-to":L()}],"mask-image-y-from-pos":[{"mask-y-from":ue()}],"mask-image-y-to-pos":[{"mask-y-to":ue()}],"mask-image-y-from-color":[{"mask-y-from":L()}],"mask-image-y-to-color":[{"mask-y-to":L()}],"mask-image-radial":[{"mask-radial":[fe,he]}],"mask-image-radial-from-pos":[{"mask-radial-from":ue()}],"mask-image-radial-to-pos":[{"mask-radial-to":ue()}],"mask-image-radial-from-color":[{"mask-radial-from":L()}],"mask-image-radial-to-color":[{"mask-radial-to":L()}],"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":Q()}],"mask-image-conic-pos":[{"mask-conic":[je]}],"mask-image-conic-from-pos":[{"mask-conic-from":ue()}],"mask-image-conic-to-pos":[{"mask-conic-to":ue()}],"mask-image-conic-from-color":[{"mask-conic-from":L()}],"mask-image-conic-to-color":[{"mask-conic-to":L()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:B()}],"mask-repeat":[{mask:te()}],"mask-size":[{mask:T()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",fe,he]}],filter:[{filter:["","none",fe,he]}],blur:[{blur:be()}],brightness:[{brightness:[je,fe,he]}],contrast:[{contrast:[je,fe,he]}],"drop-shadow":[{"drop-shadow":["","none",k,Sc,wc]}],"drop-shadow-color":[{"drop-shadow":L()}],grayscale:[{grayscale:["",je,fe,he]}],"hue-rotate":[{"hue-rotate":[je,fe,he]}],invert:[{invert:["",je,fe,he]}],saturate:[{saturate:[je,fe,he]}],sepia:[{sepia:["",je,fe,he]}],"backdrop-filter":[{"backdrop-filter":["","none",fe,he]}],"backdrop-blur":[{"backdrop-blur":be()}],"backdrop-brightness":[{"backdrop-brightness":[je,fe,he]}],"backdrop-contrast":[{"backdrop-contrast":[je,fe,he]}],"backdrop-grayscale":[{"backdrop-grayscale":["",je,fe,he]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[je,fe,he]}],"backdrop-invert":[{"backdrop-invert":["",je,fe,he]}],"backdrop-opacity":[{"backdrop-opacity":[je,fe,he]}],"backdrop-saturate":[{"backdrop-saturate":[je,fe,he]}],"backdrop-sepia":[{"backdrop-sepia":["",je,fe,he]}],"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",fe,he]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[je,"initial",fe,he]}],ease:[{ease:["linear","initial",O,fe,he]}],delay:[{delay:[je,fe,he]}],animate:[{animate:["none",R,fe,he]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[E,fe,he]}],"perspective-origin":[{"perspective-origin":F()}],rotate:[{rotate:Re()}],"rotate-x":[{"rotate-x":Re()}],"rotate-y":[{"rotate-y":Re()}],"rotate-z":[{"rotate-z":Re()}],scale:[{scale:xt()}],"scale-x":[{"scale-x":xt()}],"scale-y":[{"scale-y":xt()}],"scale-z":[{"scale-z":xt()}],"scale-3d":["scale-3d"],skew:[{skew:Ot()}],"skew-x":[{"skew-x":Ot()}],"skew-y":[{"skew-y":Ot()}],transform:[{transform:[fe,he,"","none","gpu","cpu"]}],"transform-origin":[{origin:F()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:yt()}],"translate-x":[{"translate-x":yt()}],"translate-y":[{"translate-y":yt()}],"translate-z":[{"translate-z":yt()}],"translate-none":["translate-none"],accent:[{accent:L()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:L()}
vendor: 14,327 bytes, lines 49-154
49],"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",fe,he]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"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-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-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",fe,he]}],fill:[{fill:["none",...L()]}],"stroke-w":[{stroke:[je,mr,zn,Hh]}],stroke:[{stroke:["none",...L()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-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-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-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-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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},e4=B3(J3);function Tp(...e){return e4(xw(e))}function t4({delayDuration:e=0,...s}){return r.jsx(v3,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...s})}const Jb=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,e1=xw,s4=(e,s)=>n=>{var o;if(s?.variants==null)return e1(e,n?.class,n?.className);const{variants:l,defaultVariants:u}=s,d=Object.keys(l).map(g=>{const x=n?.[g],y=u?.[g];if(x===null)return null;const v=Jb(x)||Jb(y);return l[g][v]}),f=n&&Object.entries(n).reduce((g,x)=>{let[y,v]=x;return v===void 0||(g[y]=v),g},{}),p=s==null||(o=s.compoundVariants)===null||o===void 0?void 0:o.reduce((g,x)=>{let{class:y,className:v,...k}=x;return Object.entries(k).every(j=>{let[E,N]=j;return Array.isArray(N)?N.includes({...u,...f}[E]):{...u,...f}[E]===N})?[...g,y,v]:g},[]);return e1(e,d,p,n?.class,n?.className)},a4=s4("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function n4({className:e,variant:s,size:n,asChild:o=!1,...l}){const u=o?pN:"button";return r.jsx(u,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:Tp(a4({variant:s,size:n,className:e})),...l})}function i4({className:e,...s}){return r.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:Tp("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...s})}function o4({className:e,...s}){return r.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:Tp("px-6",e),...s})}/** 50 * @license lucide-react v0.453.0 - ISC 51 * 52 * This source code is licensed under the ISC license. 53 * See the LICENSE file in the root directory of this source tree. 54 */const r4=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Cw=(...e)=>e.filter((s,n,o)=>!!s&&o.indexOf(s)===n).join(" ");/** 55 * @license lucide-react v0.453.0 - ISC 56 * 57 * This source code is licensed under the ISC license. 58 * See the LICENSE file in the root directory of this source tree. 59 */var l4={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"};/** 60 * @license lucide-react v0.453.0 - ISC 61 * 62 * This source code is licensed under the ISC license. 63 * See the LICENSE file in the root directory of this source tree. 64 */const c4=w.forwardRef(({color:e="currentColor",size:s=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:l="",children:u,iconNode:d,...f},p)=>w.createElement("svg",{ref:p,...l4,width:s,height:s,stroke:e,strokeWidth:o?Number(n)*24/Number(s):n,className:Cw("lucide",l),...f},[...d.map(([g,x])=>w.createElement(g,x)),...Array.isArray(u)?u:[u]]));/** 65 * @license lucide-react v0.453.0 - ISC 66 * 67 * This source code is licensed under the ISC license. 68 * See the LICENSE file in the root directory of this source tree. 69 */const dt=(e,s)=>{const n=w.forwardRef(({className:o,...l},u)=>w.createElement(c4,{ref:u,iconNode:s,className:Cw(`lucide-${r4(e)}`,o),...l}));return n.displayName=`${e}`,n};/** 70 * @license lucide-react v0.453.0 - ISC 71 * 72 * This source code is licensed under the ISC license. 73 * See the LICENSE file in the root directory of this source tree. 74 */const Aw=dt("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** 75 * @license lucide-react v0.453.0 - ISC 76 * 77 * This source code is licensed under the ISC license. 78 * See the LICENSE file in the root directory of this source tree. 79 */const u4=dt("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/** 80 * @license lucide-react v0.453.0 - ISC 81 * 82 * This source code is licensed under the ISC license. 83 * See the LICENSE file in the root directory of this source tree. 84 */const d4=dt("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** 85 * @license lucide-react v0.453.0 - ISC 86 * 87 * This source code is licensed under the ISC license. 88 * See the LICENSE file in the root directory of this source tree. 89 */const h4=dt("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/** 90 * @license lucide-react v0.453.0 - ISC 91 * 92 * This source code is licensed under the ISC license. 93 * See the LICENSE file in the root directory of this source tree. 94 */const f4=dt("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/** 95 * @license lucide-react v0.453.0 - ISC 96 * 97 * This source code is licensed under the ISC license. 98 * See the LICENSE file in the root directory of this source tree. 99 */const p4=dt("ChartNoAxesColumn",[["line",{x1:"18",x2:"18",y1:"20",y2:"10",key:"1xfpm4"}],["line",{x1:"12",x2:"12",y1:"20",y2:"4",key:"be30l9"}],["line",{x1:"6",x2:"6",y1:"20",y2:"14",key:"1r4le6"}]]);/** 100 * @license lucide-react v0.453.0 - ISC 101 * 102 * This source code is licensed under the ISC license. 103 * See the LICENSE file in the root directory of this source tree. 104 */const m4=dt("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/** 105 * @license lucide-react v0.453.0 - ISC 106 * 107 * This source code is licensed under the ISC license. 108 * See the LICENSE file in the root directory of this source tree. 109 */const g4=dt("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** 110 * @license lucide-react v0.453.0 - ISC 111 * 112 * This source code is licensed under the ISC license. 113 * See the LICENSE file in the root directory of this source tree. 114 */const x4=dt("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** 115 * @license lucide-react v0.453.0 - ISC 116 * 117 * This source code is licensed under the ISC license. 118 * See the LICENSE file in the root directory of this source tree. 119 */const zf=dt("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** 120 * @license lucide-react v0.453.0 - ISC 121 * 122 * This source code is licensed under the ISC license. 123 * See the LICENSE file in the root directory of this source tree. 124 */const y4=dt("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** 125 * @license lucide-react v0.453.0 - ISC 126 * 127 * This source code is licensed under the ISC license. 128 * See the LICENSE file in the root directory of this source tree. 129 */const t1=dt("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/** 130 * @license lucide-react v0.453.0 - ISC 131 * 132 * This source code is licensed under the ISC license. 133 * See the LICENSE file in the root directory of this source tree. 134 */const Rw=dt("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 135 * @license lucide-react v0.453.0 - ISC 136 * 137 * This source code is licensed under the ISC license. 138 * See the LICENSE file in the root directory of this source tree. 139 */const b4=dt("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** 140 * @license lucide-react v0.453.0 - ISC 141 * 142 * This source code is licensed under the ISC license. 143 * See the LICENSE file in the root directory of this source tree. 144 */const v4=dt("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/** 145 * @license lucide-react v0.453.0 - ISC 146 * 147 * This source code is licensed under the ISC license. 148 * See the LICENSE file in the root directory of this source tree. 149 */const w4=dt("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** 150 * @license lucide-react v0.453.0 - ISC 151 * 152 * This source code is licensed under the ISC license. 153 * See the LICENSE file in the root directory of this source tree. 154 */const S4=dt("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}
154],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/** 155 * @license lucide-react v0.453.0 - ISC 156 * 157 * This source code is licensed under the ISC license. 158 * See the LICENSE file in the root directory of this source tree. 159 */const k4=dt("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** 160 * @license lucide-react v0.453.0 - ISC 161 * 162 * This source code is licensed under the ISC license. 163 * See the LICENSE file in the root directory of this source tree. 164 */const Ow=dt("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** 165 * @license lucide-react v0.453.0 - ISC 166 * 167 * This source code is licensed under the ISC license. 168 * See the LICENSE file in the root directory of this source tree. 169 */const j4=dt("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);function E4(e,s){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,o,l,u,d=[],f="",p=e.split("/");for(p[0]||p.shift();l=p.shift();)n=l[0],n==="*"?(d.push(n),f+=l[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(o=l.indexOf("?",1),u=l.indexOf(".",1),d.push(l.substring(1,~o?o:~u?u:l.length)),f+=~o&&!~u?"(?:/([^/]+?))?":"/([^/]+?)",~u&&(f+=(~o?"?":"")+"\\"+l.substring(u))):f+="/"+l;return{keys:d,pattern:new RegExp("^"+f+(s?"(?=$|/)":"/?$"),"i")}}var Uh={exports:{}},Gh={};/** 170 * @license React 171 * use-sync-external-store-shim.production.js 172 * 173 * Copyright (c) Meta Platforms, Inc. and affiliates. 174 * 175 * This source code is licensed under the MIT license found in the 176 * LICENSE file in the root directory of this source tree. 177 */var s1;function T4(){if(s1)return Gh;s1=1;var e=Yc();function s(y,v){return y===v&&(y!==0||1/y===1/v)||y!==y&&v!==v}var n=typeof Object.is=="function"?Object.is:s,o=e.useState,l=e.useEffect,u=e.useLayoutEffect,d=e.useDebugValue;function f(y,v){var k=v(),j=o({inst:{value:k,getSnapshot:v}}),E=j[0].inst,N=j[1];return u(function(){E.value=k,E.getSnapshot=v,p(E)&&N({inst:E})},[y,k,v]),l(function(){return p(E)&&N({inst:E}),y(function(){p(E)&&N({inst:E})})},[y]),d(k),k}function p(y){var v=y.getSnapshot;y=y.value;try{var k=v();return!n(y,k)}catch{return!0}}function g(y,v){return v()}var x=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:f;return Gh.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:x,Gh}var a1;function N4(){return a1||(a1=1,Uh.exports=T4()),Uh.exports}var C4=N4();const A4=Gv.useInsertionEffect,R4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",O4=R4?w.useLayoutEffect:w.useEffect,M4=A4||O4,Mw=e=>{const s=w.useRef([e,(...n)=>s[0](...n)]).current;return M4(()=>{s[0]=e}),s[1]},P4="popstate",Np="pushState",Cp="replaceState",B4="hashchange",n1=[P4,Np,Cp,B4],D4=e=>{for(const s of n1)addEventListener(s,e);return()=>{for(const s of n1)removeEventListener(s,e)}},Pw=(e,s)=>C4.useSyncExternalStore(D4,e,s),_4=()=>location.search,L4=({ssrSearch:e=""}={})=>Pw(_4,()=>e),i1=()=>location.pathname,z4=({ssrPath:e}={})=>Pw(i1,e?()=>e:i1),F4=(e,{replace:s=!1,state:n=null}={})=>history[s?Cp:Np](n,"",e),H4=(e={})=>[z4(e),F4],o1=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[o1]>"u"){for(const e of[Np,Cp]){const s=history[e];history[e]=function(){const n=s.apply(this,arguments),o=new Event(e);return o.arguments=arguments,dispatchEvent(o),n}}Object.defineProperty(window,o1,{value:!0})}const U4=(e,s)=>s.toLowerCase().indexOf(e.toLowerCase())?"~"+s:s.slice(e.length)||"/",Bw=(e="")=>e==="/"?"":e,G4=(e,s)=>e[0]==="~"?e.slice(1):Bw(s)+e,I4=(e="",s)=>U4(r1(Bw(e)),r1(s)),r1=e=>{try{return decodeURI(e)}catch{return e}},Dw={hook:H4,searchHook:L4,parser:E4,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},_w=w.createContext(Dw),Kr=()=>w.useContext(_w),Lw={},zw=w.createContext(Lw),Fw=()=>w.useContext(zw),ru=e=>{const[s,n]=e.hook(e);return[I4(e.base,s),Mw((o,l)=>n(G4(o,e.base),l))]},Ap=()=>ru(Kr()),Hw=(e,s,n,o)=>{const{pattern:l,keys:u}=s instanceof RegExp?{keys:!1,pattern:s}:e(s||"*",o),d=l.exec(n)||[],[f,...p]=d;return f!==void 0?[!0,(()=>{const g=u!==!1?Object.fromEntries(u.map((y,v)=>[y,p[v]])):d.groups;let x={...p};return g&&Object.assign(x,g),x})(),...o?[f]:[]]:[!1,null]},V4=({children:e,...s})=>{const n=Kr(),o=s.hook?Dw:n;let l=o;const[u,d]=s.ssrPath?.split("?")??[];d&&(s.ssrSearch=d,s.ssrPath=u),s.hrefs=s.hrefs??s.hook?.hrefs;let f=w.useRef({}),p=f.current,g=p;for(let x in o){const y=x==="base"?o[x]+(s[x]||""):s[x]||o[x];p===g&&y!==g[x]&&(f.current=g={...g}
177),g[x]=y,(y!==o[x]||y!==l[x])&&(l=g)}return w.createElement(_w.Provider,{value:l,children:e})},l1=({children:e,component:s},n)=>s?w.createElement(s,{params:n}):typeof e=="function"?e(n):e,q4=e=>{let s=w.useRef(Lw);const n=s.current;return s.current=Object.keys(e).length!==Object.keys(n).length||Object.entries(e).some(([o,l])=>l!==n[o])?e:n},Ct=({path:e,nest:s,match:n,...o})=>{const l=Kr(),[u]=ru(l),[d,f,p]=n??Hw(l.parser,e,u,s),g=q4({...Fw(),...f});if(!d)return null;const x=p?w.createElement(V4,{base:p},l1(o,g)):l1(o,g);return w.createElement(zw.Provider,{value:g,children:x})},Ee=w.forwardRef((e,s)=>{const n=Kr(),[o,l]=ru(n),{to:u="",href:d=u,onClick:f,asChild:p,children:g,className:x,replace:y,state:v,...k}=e,j=Mw(N=>{N.ctrlKey||N.metaKey||N.altKey||N.shiftKey||N.button!==0||(f?.(N),N.defaultPrevented||(N.preventDefault(),l(d,e)))}),E=n.hrefs(d[0]==="~"?d.slice(1):n.base+d,n);return p&&w.isValidElement(g)?w.cloneElement(g,{onClick:j,href:E}):w.createElement("a",{...k,onClick:j,href:E,className:x?.call?x(o===d):x,children:g,ref:s})}),Ff=e=>Array.isArray(e)?e.flatMap(s=>Ff(s&&s.type===w.Fragment?s.props.children:s)):[e],Q4=({children:e,location:s})=>{const n=Kr(),[o]=ru(n);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),Ff(e).forEach(u=>{if(w.isValidElement(u)&&u.props.path){const d=u.props.path;window.__WOUTER_ROUTES__.includes(d)||window.__WOUTER_ROUTES__.push(d)}}));for(const l of Ff(e)){let u=0;if(w.isValidElement(l)&&(u=Hw(n.parser,l.props.path,s||o,l.props.nest))[0])return w.cloneElement(l,{match:u})}return null};function c1(){const[,e]=Ap(),s=()=>{e("/")};return r.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:14",className:"min-h-screen w-full flex items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100",children:r.jsx(i4,{"data-loc":"client/src/pages/NotFound.tsx:15",className:"w-full max-w-lg mx-4 shadow-lg border-0 bg-white/80 backdrop-blur-sm",children:r.jsxs(o4,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[r.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:r.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[r.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),r.jsx(m4,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),r.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),r.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),r.jsxs("p",{"data-loc":"client/src/pages/NotFound.tsx:30",className:"text-slate-600 mb-8 leading-relaxed",children:["Sorry, the page you are looking for doesn't exist.",r.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),r.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:36",id:"not-found-button-group",className:"flex flex-col sm:flex-row gap-3 justify-center",children:r.jsxs(n4,{"data-loc":"client/src/pages/NotFound.tsx:40",onClick:s,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-all duration-200 shadow-md hover:shadow-lg",children:[r.jsx(y4,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class Y4 extends w.Component{constructor(s){super(s),this.state={hasError:!1,error:null}}static getDerivedStateFromError(s){return{hasError:!0,error:s}}componentDidUpdate(s,n){this.state.hasError&&!n.hasError&&setTimeout(()=>{this.setState({hasError:!1,error:null})},100)}render(){return this.state.hasError?r.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"flex items-center justify-center min-h-screen bg-background",children:r.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"flex flex-col items-center gap-4",children:r.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:38",className:"w-10 h-10 border-4 border-[#C9A84C] border-t-transparent roun
177ded-full animate-spin"})})}):this.props.children}}const $4=w.createContext(void 0);function K4({children:e,defaultTheme:s="light",switchable:n=!1}){const[o,l]=w.useState(()=>n&&localStorage.getItem("theme")||s);w.useEffect(()=>{const d=document.documentElement;o==="dark"?d.classList.add("dark"):d.classList.remove("dark"),n&&localStorage.setItem("theme",o)},[o,n]);const u=n?()=>{l(d=>d==="light"?"dark":"light")}:void 0;return r.jsx($4.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:o,toggleTheme:u,switchable:n},children:e})}const Ih="gallery_of_one_access_v2",X4="110088",Uw=w.createContext({isUnlocked:!1,unlock:()=>!1,lock:()=>{}});function W4({children:e}){const[s,n]=w.useState(()=>{try{return localStorage.getItem(Ih)==="true"}catch{return!1}}),o=u=>{if(u.trim()===X4){n(!0);try{localStorage.setItem(Ih,"true")}catch{}return!0}return!1},l=()=>{n(!1);try{localStorage.removeItem(Ih)}catch{}};return r.jsx(Uw.Provider,{"data-loc":"client/src/contexts/AccessContext.tsx:47",value:{isUnlocked:s,unlock:o,lock:l},children:e})}function lu(){return w.useContext(Uw)}function Gw({children:e}){const{isUnlocked:s,unlock:n}=lu(),[o,l]=w.useState(""),[u,d]=w.useState(!1),[f,p]=w.useState(!1),[g,x]=w.useState(!1),y=w.useRef(null);if(w.useEffect(()=>{s||setTimeout(()=>y.current?.focus(),300)},[s]),s)return r.jsx(r.Fragment,{children:e});const v=j=>{j.preventDefault(),n(o)?(x(!0),d(!1)):(d(!0),p(!0),l(""),setTimeout(()=>p(!1),600),setTimeout(()=>y.current?.focus(),50))},[,k]=Ap();return w.useEffect(()=>{if(g){const j=setTimeout(()=>k("/start"),1800);return()=>clearTimeout(j)}},[g,k]),g?r.jsx("div",{"data-loc":"client/src/components/AccessGate.tsx:55",className:"min-h-screen bg-white flex items-center justify-center",children:r.jsxs("div",{"data-loc":"client/src/components/AccessGate.tsx:56",className:"text-center",children:[r.jsx("span",{"data-loc":"client/src/components/AccessGate.tsx:57",className:"block w-12 h-px bg-[#B8962E] mx-auto mb-6"}),r.jsx("p",{"data-loc":"client/src/components/AccessGate.tsx:58",className:"font-display text-4xl font-light text-[#111111] mb-2",children:"Welcome."}),r.jsx("p",{"data-loc":"client/src/components/AccessGate.tsx:59",className:"font-body text-sm text-[#6B6560]",children:"Your gallery is open."}),r.jsx("p",{"data-loc":"client/src/components/AccessGate.tsx:60",className:"font-body text-xs text-[#B8962E] mt-4 tracking-wide",children:"Taking you to Start Hereâ¦"})]})}):r.jsxs("div",{"data-loc":"client/src/components/AccessGate.tsx:67",className:"min-h-screen bg-white flex flex-col",children:[r.jsx("header",{"data-loc":"client/src/components/AccessGate.tsx:69",className:"h-16 border-b border-[#E8E6E1] flex items-center px-6 md:px-10",children:r.jsx(Ee,{"data-loc":"client/src/components/AccessGate.tsx:70",href:"/",children:r.jsx("span",{"data-loc":"client/src/components/AccessGate.tsx:71",className:"font-display text-lg font-light text-[#111111] italic cursor-pointer hover:text-[#B8962E] transition-colors",children:"Gallery of One"})})}),r.jsx("div",{"data-loc":"client/src/components/AccessGate.tsx:78",className:"flex-1 flex items-center justify-center px-6",children:r.jsxs("div",{"data-loc":"client/src/components/AccessGate.tsx:79",className:"w-full max-w-sm",children:[r.jsx("span",{"data-loc":"client/src/components/AccessGate.tsx:80",className:"block w-8 h-px bg-[#B8962E] mb-8"}),r.jsx("p",{"data-loc":"client/src/components/AccessGate.tsx:82",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#6B6560] mb-3",children:"Member Access"}),r.jsxs("h1",{"data-loc":"client/src/components/AccessGate.tsx:85",className:"font-display text-4xl font-light text-[#111111] leading-tight mb-3",children:["Enter your",r.jsx("br",{"data-loc":"client/src/components/AccessGate.tsx:86"}),r.jsx("em",{"data-loc":"client/src/components/AccessGate.tsx:87",className:"italic",children:"access code"})]}),r.jsx("p",{"data-loc":"client/src/components/AccessGate.tsx:89",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-10",children:"This content is available to Gallery of One students. Enter your access code to continue."}),r.jsxs("form",{"data-loc":"client/src/components/AccessGate.tsx:93",onSubmit:v,children:[r.jsxs("div",{"data-loc":"client/src/components/AccessGate.tsx:94",className:`transition-transform duration-150 ${f?"translate-x-2":""}`,style:f?{animation:"shake 0.4s ease"}:{},children:[r.jsx("input",{"data-loc":"client/src/components/AccessGate.tsx:98",ref:y,type:"text",value:o,onChange:j=>{l(j.target.value),d(!1)},placeholder:"Access code",autoComplete:"off",className:`w-full font-body text-base text-[#111111] border-b-2 ${u?"border-red-400":"border-[#
177E8E6E1] focus:border-[#111111]"} bg-transparent px-0 py-3 outline-none placeholder:text-[#C5C2BC] tracking-widest transition-colors`}),u&&r.jsx("p",{"data-loc":"client/src/components/AccessGate.tsx:110",className:"font-body text-xs text-red-400 mt-2",children:"Incorrect code. Please check your welcome email and try again."})]}),r.jsx("button",{"data-loc":"client/src/components/AccessGate.tsx:116",type:"submit",className:"mt-8 w-full bg-[#111111] text-white font-body text-xs font-medium tracking-[0.15em] uppercase py-4 hover:bg-[#B8962E] transition-colors duration-300",children:"Unlock Content"})]}),r.jsxs("div",{"data-loc":"client/src/components/AccessGate.tsx:124",className:"mt-10 pt-8 border-t border-[#E8E6E1]",children:[r.jsx("p",{"data-loc":"client/src/components/AccessGate.tsx:125",className:"font-body text-xs text-[#6B6560] mb-4",children:"Don't have an access code yet?"}),r.jsx(Ee,{"data-loc":"client/src/components/AccessGate.tsx:128",href:"/enroll",children:r.jsx("span",{"data-loc":"client/src/components/AccessGate.tsx:129",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] border-b border-[#B8962E] pb-0.5 cursor-pointer hover:text-[#B8962E] transition-colors",children:"Enrol in Gallery of One â $997 â"})})]})]})}),r.jsx("style",{"data-loc":"client/src/components/AccessGate.tsx:137",children:` 178 @keyframes shake { 179 0%, 100% { transform: translateX(0); } 180 20% { transform: translateX(-6px); } 181 40% { transform: translateX(6px); } 182 60% { transform: translateX(-4px); } 183 80% { transform: translateX(4px); } 184 } 185 `})]})}function ct(){const[e,s]=w.useState(!1),[n,o]=w.useState(!1),[l]=Ap(),{isUnlocked:u}=lu();w.useEffect(()=>{const f=()=>s(window.scrollY>20);return window.addEventListener("scroll",f),()=>window.removeEventListener("scroll",f)},[]),w.useEffect(()=>{o(!1)},[l]);const d=u?[{href:"/start",label:"Start Here"},{href:"/module/1",label:"Curriculum"},{href:"/tools",label:"Tools"},{href:"/reels",label:"Reel Builder"},{href:"/launch",label:"Launch Planner"},{href:"/instagram",label:"Instagram"},{href:"/facebook",label:"Facebook"},{href:"/captions",label:"Captions"},{href:"/tracker",label:"Sales Tracker"}]:[{href:"/module/1",label:"Curriculum"},{href:"/quiz",label:"Take the Quiz"},{href:"/tracker",label:"Sales Tracker"}];return r.jsxs("nav",{"data-loc":"client/src/components/Nav.tsx:43",className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-white/95 backdrop-blur-sm shadow-[0_1px_0_0_#E8E6E1]":"bg-white"}`,children:[r.jsxs("div",{"data-loc":"client/src/components/Nav.tsx:48",className:"container flex items-center justify-between h-16",children:[r.jsx(Ee,{"data-loc":"client/src/components/Nav.tsx:50",href:"/",children:r.jsxs("span",{"data-loc":"client/src/components/Nav.tsx:51",className:"font-display text-xl font-light tracking-wide text-[#111111] cursor-pointer",children:["Gallery of ",r.jsx("em",{"data-loc":"client/src/components/Nav.tsx:52",className:"italic",children:"One"})]})}),r.jsxs("div",{"data-loc":"client/src/components/Nav.tsx:57",className:"hidden md:flex items-center gap-7",children:[d.map(f=>r.jsx(Ee,{"data-loc":"client/src/components/Nav.tsx:59",href:f.href,children:r.jsx("span",{"data-loc":"client/src/components/Nav.tsx:60",className:`font-body text-xs font-medium tracking-[0.1em] uppercase transition-colors duration-200 cursor-pointer ${l===f.href?"text-[#111111] border-b border-[#B8962E] pb-0.5":"text-[#6B6560] hover:text-[#111111]"}`,children:f.label})},f.href)),!u&&r.jsx(Ee,{"data-loc":"client/src/components/Nav.tsx:72",href:"/enroll",children:r.jsx("span",{"data-loc":"client/src/components/Nav.tsx:73",className:"btn-gold text-xs cursor-pointer",children:"Enrol â $997"})})]}),r.jsxs("button",{"data-loc":"client/src/components/Nav.tsx:81",className:"md:hidden flex flex-col gap-1.5 p-2",onClick:()=>o(!n),"aria-label":"Toggle menu",children:[r.jsx("span",{"data-loc":"client/src/components/Nav.tsx:86",className:`block w-5 h-px bg-[#111111] transition-all duration-200 ${n?"rotate-45 translate-y-2":""}`}),r.jsx("span",{"data-loc":"client/src/components/Nav.tsx:87",className:`block w-5 h-px bg-[#111111] transition-all duration-200 ${n?"opacity-0":""}`}),r.jsx("span",{"data-loc":"client/src/components/Nav.tsx:88",className:`block w-5 h-px bg-[#111111] transition-all duration-200 ${n?"-rotate-45 -translate-y-2":""}`})]})]}),n&&r.jsxs("div",{"data-loc":"client/src/components/Nav.tsx:94",className:"md:hidden bg-white border-t border-[#
185E8E6E1] px-6 py-6 flex flex-col gap-5",children:[d.map(f=>r.jsx(Ee,{"data-loc":"client/src/components/Nav.tsx:96",href:f.href,children:r.jsx("span",{"data-loc":"client/src/components/Nav.tsx:97",className:"font-body text-sm font-medium tracking-[0.08em] uppercase text-[#111111] cursor-pointer",children:f.label})},f.href)),!u&&r.jsx(Ee,{"data-loc":"client/src/components/Nav.tsx:103",href:"/enroll",children:r.jsx("span",{"data-loc":"client/src/components/Nav.tsx:104",className:"btn-gold text-xs inline-block mt-2 cursor-pointer",children:"Enrol â $997"})})]})]})}function ut(){const{isUnlocked:e}=lu();return r.jsx("footer",{"data-loc":"client/src/components/Footer.tsx:10",className:"bg-[#111111] text-white py-16 mt-0",children:r.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:11",className:"container",children:[r.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:12",className:"grid grid-cols-1 md:grid-cols-4 gap-12 pb-12 border-b border-white/10",children:[r.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:14",className:"md:col-span-2",children:[r.jsxs("h3",{"data-loc":"client/src/components/Footer.tsx:15",className:"font-display text-2xl font-light mb-4",children:["Gallery of ",r.jsx("em",{"data-loc":"client/src/components/Footer.tsx:16",className:"italic",children:"One"})]}),r.jsx("p",{"data-loc":"client/src/components/Footer.tsx:18",className:"font-body text-sm text-white/50 leading-relaxed max-w-sm mb-6",children:e?"The complete system for artists who represent themselves like a world-class gallery â pricing, Instagram, Facebook, and collector strategy.":"The $997 programme that teaches artists to represent themselves like a world-class gallery â pricing, Instagram, Facebook, and collector strategy, all in one system."}),!e&&r.jsx(Ee,{"data-loc":"client/src/components/Footer.tsx:24",href:"/enroll",children:r.jsx("span",{"data-loc":"client/src/components/Footer.tsx:25",className:"btn-gold text-xs cursor-pointer inline-block",children:"Enrol Now â $997"})})]}),r.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:33",children:[r.jsx("p",{"data-loc":"client/src/components/Footer.tsx:34",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-white/40 mb-5",children:"Curriculum"}),r.jsx("div",{"data-loc":"client/src/components/Footer.tsx:37",className:"flex flex-col gap-3",children:[{href:"/module/1",label:"Your Artist Brand"},{href:"/module/2",label:"Pricing Your Work"},{href:"/module/3",label:"Photography & Presentation"},{href:"/module/4",label:"Instagram Strategy"},{href:"/module/5",label:"Facebook & Community"},{href:"/module/6",label:"Collector Relationships"},{href:"/module/7",label:"Scaling Your Practice"}].map(s=>r.jsx(Ee,{"data-loc":"client/src/components/Footer.tsx:47",href:s.href,children:r.jsx("span",{"data-loc":"client/src/components/Footer.tsx:48",className:"font-body text-sm text-white/60 hover:text-white transition-colors cursor-pointer",children:s.label})},s.href))})]}),r.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:57",children:[r.jsx("p",{"data-loc":"client/src/components/Footer.tsx:58",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-white/40 mb-5",children:"Tools"}),r.jsx("div",{"data-loc":"client/src/components/Footer.tsx:61",className:"flex flex-col gap-3",children:[{href:"/quiz",label:"Artist Stage Quiz"},{href:"/tools",label:"Art Pricing Calculator"},{href:"/launch",label:"Art Launch Planner"},{href:"/captions",label:"Caption Generator"},{href:"/reels",label:"Reel Builder"},{href:"/tools",label:"Collector Funnel Builder"},{href:"/instagram",label:"Instagram Playbook"},{href:"/facebook",label:"Facebook Strategy Guide"}].map((s,n)=>r.jsx(Ee,{"data-loc":"client/src/components/Footer.tsx:72",href:s.href,children:r.jsx("span",{"data-loc":"client/src/components/Footer.tsx:73",className:"font-body text-sm text-white/60 hover:text-white transition-colors cursor-pointer",children:s.label})},n))})]})]}),r.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:82",className:"pt-8 flex flex-col md:flex-row items-start md:items-center justify-between gap-4",children:[r.jsxs("p",{"data-loc":"client/src/components/Footer.tsx:83",className:"font-body text-xs text-white/30 tracking-wide",children:["© ",new Date().getFullYear()," Gallery of One. All rights reserved."]}),r.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:86",className:"flex items-center gap-6",children:[r.jsx("a",{"data-loc":"client/src/components/Footer.tsx:87",href:"https://www.instagram.com/aga.art.studio",target:"_blank",rel:"noopener noreferrer",className:"font-body text-xs text-white/50 hover:text-[#B8962E] transition-colors tracking-wide",children:"@aga.art.studio"}),r.jsx("p",{"data-loc":"client/src/components/Footer.tsx:95",className:"font-body text-xs text-white/30",children:"Built on research from the world's top-rated art business courses."})]})]})]})})}const Z4="https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/hero-gallery-wall-fkRBTNX9RViNLFXhSu58jT.webp",J4="https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/artist-instagram-minimal-GRJ9jGpetw2cAuHRhHKao6.webp",eC="https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/painting-closeup-gallery-ZiAnjkwt5twjyS9upruNzr.webp",tC="https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/gallery-opening-night-4VsgPtrCebJxGYKjLaJ28Y.webp",sC=[{id:1,number:"01",title:"Your Artist Brand",subtitle:"Identity & Positioning",description:"Define your artistic voice with the precision of a gallery. Learn how the world's most successful artists position themselves â not just as makers, but as a brand collectors seek out. Discover your niche, your story, and your ideal collector.",outcomes:["Define your collector avatar","Craft your artist statement","Establish your visual identity","Set your market positioning"]},{id:2,number:"02",title:"Pricing Your Work",subtitle:"Valuation & Strategy",description:"Galleries don't guess at prices â they use a system. Learn the exact formula used by professional galleries to price original works, limited editions, and prints. Understand how to raise your prices without losing collectors.",outcomes:["Master the size à rate formula","Price originals vs. prints","Bu
185ild a tiered pricing structure","Raise prices strategically"]},{id:3,number:"03",title:"Photography & Presentation",subtitle:"Visual Excellence",description:"Your art is only as valuable as it appears. Learn how galleries photograph, light, and present work to command premium prices. Master smartphone photography, digital mockups, and the art of the installation shot.",outcomes:["Natural light photography mastery","Create gallery-quality mockups","Build a cohesive visual portfolio","Photograph texture and scale"]},{id:4,number:"04",title:"Instagram as Your Gallery",subtitle:"Social Media Strategy",description:"Instagram is the world's most powerful art gallery â if you know how to use it. Learn the exact content framework used by artists generating $10Kâ$100K+ per month. Master Reels, Stories, and the algorithm that drives collector discovery.",outcomes:["The 3-content-type framework","Reels that drive watch-time","Stories for collector nurturing","Hashtag and discovery strategy"]},{id:5,number:"05",title:"Facebook & Community",subtitle:"Organic Reach & Groups",description:"Facebook remains the most powerful platform for building a collector community. Learn how to use your Facebook Page, Groups, and Live video to create a loyal audience that buys repeatedly â without paid advertising.",outcomes:["Facebook Page optimization","Building a collector group","Live video for art reveals","Cross-posting Instagram to Facebook"]},{id:6,number:"06",title:"The Collector Relationship",subtitle:"Sales & Retention",description:"Galleries don't just sell art â they cultivate collectors. Learn how to build genuine relationships that lead to repeat sales, referrals, and collectors who champion your work. Master email lists, DMs, and the art of the follow-up.",outcomes:["Build your collector email list","The DM sales conversation","Post-sale relationship nurturing","Referral and word-of-mouth systems"]},{id:7,number:"07",title:"Scaling Your Practice",subtitle:"Revenue & Growth",description:"From first sale to full-time artist. Learn how to build multiple revenue streams â originals, prints, commissions, and digital products â and how to manage your art business like a gallery director manages their program.",outcomes:["Multiple revenue stream model","Commission workflow system","Print-on-demand strategy","Time management for artists"]}],aC=[{value:"$11B",label:"Online art market in 2024"},{value:"67%",label:"Of collectors discover art on Instagram"},{value:"7 Modules",label:"Covering every stage of your art business"},{value:"8 Tools",label:"Interactive tools built for working artists"}];function nC(e=.15){const s=w.useRef(null),[n,o]=w.useState(!1);return w.useEffect(()=>{const l=new IntersectionObserver(([u])=>{u.isIntersecting&&o(!0)},{threshold:e});return s.current&&l.observe(s.current),()=>l.disconnect()},[]),{ref:s,visible:n}}function ns({children:e,delay:s=0}){const{ref:n,visible:o}=nC();return r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:106",ref:n,style:{opacity:o?1:0,transform:o?"translateY(0)":"translateY(28px)",transition:`opacity 0.7s ease ${s}ms, transform 0.7s ease ${s}ms`},children:e})}function iC(){const{isUnlocked:e}=lu();return r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:122",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/Home.tsx:123"}),r.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:126",className:"relative min-h-screen flex flex-col",children:[r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:128",className:"absolute inset-0 z-0",children:[r.jsx("img",{"data-loc":"client/src/pages/Home.tsx:129",src:Z4,alt:"Gallery interior",className:"w-full h-full object-cover"}),r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:134",className:"absolute inset-0 bg-gradient-to-r from-black/55 via-black/30 to-transparent"})]}),r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:138",className:"relative z-10 mt-auto pb-16 pt-32 container",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:139",className:"max-w-2xl",children:[r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:140",className:"gallery-rule mb-6 block"}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:141",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-white/70 mb-4",children:"Become Your Own Gallery Representative"}),r.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:144",className:"font-display text-7xl md:text-[9rem] lg:text-[11rem] font-light text-white leading-[0.9] mb-8",children:["Gallery",r.jsx("br",{"data-loc":"client/src/pages/Home.tsx:145"}),r.jsx("em",{"data-loc":"client/src/pages/Home.tsx:146",className:"italic",children:"of One"})]}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:148",className:"font-body text-base text-white/75 leading-relaxed max-w-md mb-10",children:"The programme that teaches artists to represent themselves like a world-class gallery â pricing, Instagram, Facebook, and collector strategy. Everything a gallery does for you, you'll do for yourself."}),r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:151",className:"flex flex-wrap gap-4",children:[!e&&r.jsx(Ee,{"data-loc":"client/src/pages/Home.tsx:153",href:"/enroll",children:r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:154",className:"btn-gold cursor-pointer",children:"Enrol â $997"})}),r.jsx(Ee,{"data-loc":"client/src/pages/Home.tsx:157",href:"/quiz",children:r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:158",className:"inline-block bg-transparent border border-white/50 text-white font-body text-xs font-medium tracking-[0.12em] uppercase px-8 py-3.5 hover:bg-white hover:text-[#111111] transition-colors duration-300 cursor-pointer",children:"Take the Quiz"})})]})]})})]}),r.jsx("section",{"data-loc":"client/src/pages/Home.tsx:166",className:"bg-[#111111] py-10",children:r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:167",className:"container",children:r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:168",className:"grid grid-cols-2 md:grid-cols-4 gap-8",children:aC.map((s,n)=>r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:170",delay:n*100,children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:171",className:"text-center md:text-left",children:[r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:172",className:"font-display text-3xl md:text-4xl font-light text-white mb-1",children:s.value}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:175",className:"font-body text-xs text-white/40 tracking-wide",children:s.label})]})}
185,n))})})}),r.jsx("section",{"data-loc":"client/src/pages/Home.tsx:186",className:"py-24 md:py-32",children:r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:187",className:"container",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:188",className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:189",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:190",children:[r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:191",className:"gallery-rule mb-6 block"}),r.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:192",className:"font-display text-4xl md:text-5xl font-light text-[#111111] leading-tight mb-6",children:["What galleries know",r.jsx("br",{"data-loc":"client/src/pages/Home.tsx:193"}),r.jsx("em",{"data-loc":"client/src/pages/Home.tsx:194",className:"italic",children:"that you can learn"})]}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:196",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-5",children:"The most successful galleries in the world â Gagosian, Pace, Hauser & Wirth â don't just hang paintings on walls. They build narratives, cultivate collectors, and create demand through deliberate strategy."}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:199",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-8",children:"Gallery of One teaches you that same system: how to position your work, price it with confidence, and use Instagram and Facebook as your personal gallery â reaching collectors worldwide without a physical space."}),r.jsx(Ee,{"data-loc":"client/src/pages/Home.tsx:202",href:"/quiz",children:r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:203",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#111111] border-b border-[#B8962E] pb-0.5 cursor-pointer hover:text-[#B8962E] transition-colors",children:"Find your starting point â"})})]})}),r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:209",delay:150,children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:210",className:"relative",children:[r.jsx("img",{"data-loc":"client/src/pages/Home.tsx:211",src:eC,alt:"Gallery painting detail",className:"w-full object-cover aspect-[4/5]"}),r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:216",className:"absolute bottom-4 right-4 bg-white px-4 py-3 shadow-lg",children:[r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:217",className:"font-body text-xs text-[#6B6560] tracking-wide",children:"USD $32,000"}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:218",className:"font-display text-sm font-light text-[#111111]",children:"Original â Sold"})]})]})})]})})}),r.jsx("section",{"data-loc":"client/src/pages/Home.tsx:227",id:"curriculum",className:"py-24 bg-[#F5F4F2]",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:228",className:"container",children:[r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:229",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:230",className:"mb-16",children:[r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:231",className:"gallery-rule mb-6 block"}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:232",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#6B6560] mb-3",children:"The Curriculum"}),r.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:235",className:"font-display text-4xl md:text-5xl font-light text-[#111111]",children:["Seven modules.",r.jsx("br",{"data-loc":"client/src/pages/Home.tsx:236"}),r.jsx("em",{"data-loc":"client/src/pages/Home.tsx:237",className:"italic",children:"One complete system."})]})]})}),r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:242",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-px bg-[#E8E6E1]",children:[sC.map((s,n)=>r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:244",delay:n*60,children:r.jsx(Ee,{"data-loc":"client/src/pages/Home.tsx:245",href:`/module/${s.id}`,children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:246",className:"bg-white p-8 group cursor-pointer h-full hover:bg-[#111111] transition-colors duration-300",children:[r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:247",className:"flex items-start justify-between mb-6",children:[r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:248",className:"font-display text-5xl font-light text-[#E8E6E1] group-hover:text-white/10 transition-colors",children:s.number}),r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:251",className:"font-body text-xs tracking-[0.1em] uppercase text-[#B8962E] group-hover:text-[#D4AF5A] transition-colors",children:s.subtitle})]}),r.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:255",className:"font-display text-2xl font-light text-[#111111] group-hover:text-white transition-colors mb-3",children:s.title}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:258",className:"font-body text-sm text-[#6B6560] group-hover:text-white/60 transition-colors leading-relaxed mb-6 line-clamp-3",children:s.description}),r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:261",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] group-hover:text-[#B8962E] transition-colors",children:"Enter Module â"})]})})},s.id)),r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:269",delay:420,children:r.jsx(Ee,{"data-loc":"client/src/pages/Home.tsx:270",href:"/tools",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:271",className:"bg-[#111111] p-8 cursor-pointer h-full flex flex-col justify-between min-h-[280px]",children:[r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:272",children:[r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:273",className:"gallery-rule mb-6 block",style:{backgroundColor:"#B8962E"}}),r.jsxs("h3",{"data-loc":"client/src/pages/Home.tsx:274",className:"font-display text-2xl font-light text-white mb-3",children:["Interactive",r.jsx("br",{"data-loc":"client/src/pages/Home.tsx:275"}),r.jsx("em",{"data-loc":"client/src/pages/Home.tsx:276",className:"italic",children:"Tools"})]}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:278",className:"font-body text-sm text-white/50 leading-relaxed",children:"Pricing Calculator, Reel Builder, Launch Planner, Caption Generator, C
185ollector Funnel Builder, Instagram Playbook, Facebook Strategy, and Artist Stage Quiz â all included."})]}),r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:282",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#B8962E] mt-6 block",children:"Open Tools â"})]})})})]})]})}),r.jsx("section",{"data-loc":"client/src/pages/Home.tsx:293",className:"py-24 md:py-32",children:r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:294",className:"container",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:295",className:"grid grid-cols-1 md:grid-cols-2 gap-0",children:[r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:297",children:r.jsx(Ee,{"data-loc":"client/src/pages/Home.tsx:298",href:"/instagram",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:299",className:"relative overflow-hidden group cursor-pointer aspect-square md:aspect-auto md:h-[500px]",children:[r.jsx("img",{"data-loc":"client/src/pages/Home.tsx:300",src:J4,alt:"Instagram strategy",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:305",className:"absolute inset-0 bg-black/30 group-hover:bg-black/50 transition-colors duration-300"}),r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:306",className:"absolute bottom-8 left-8 right-8",children:[r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:307",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-white/60 mb-2",children:"Module 04"}),r.jsxs("h3",{"data-loc":"client/src/pages/Home.tsx:310",className:"font-display text-3xl font-light text-white mb-2",children:["Instagram as",r.jsx("br",{"data-loc":"client/src/pages/Home.tsx:311"}),r.jsx("em",{"data-loc":"client/src/pages/Home.tsx:312",className:"italic",children:"Your Gallery"})]}),r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:314",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#D4AF5A]",children:"Full Playbook â"})]})]})})}),r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:323",delay:100,children:r.jsx(Ee,{"data-loc":"client/src/pages/Home.tsx:324",href:"/facebook",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:325",className:"relative overflow-hidden group cursor-pointer aspect-square md:aspect-auto md:h-[500px]",children:[r.jsx("img",{"data-loc":"client/src/pages/Home.tsx:326",src:tC,alt:"Gallery opening night",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:331",className:"absolute inset-0 bg-black/30 group-hover:bg-black/50 transition-colors duration-300"}),r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:332",className:"absolute bottom-8 left-8 right-8",children:[r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:333",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-white/60 mb-2",children:"Module 05"}),r.jsxs("h3",{"data-loc":"client/src/pages/Home.tsx:336",className:"font-display text-3xl font-light text-white mb-2",children:["Facebook &",r.jsx("br",{"data-loc":"client/src/pages/Home.tsx:337"}),r.jsx("em",{"data-loc":"client/src/pages/Home.tsx:338",className:"italic",children:"Collector Community"})]}),r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:340",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#D4AF5A]",children:"Full Strategy â"})]})]})})})]})})}),r.jsx("section",{"data-loc":"client/src/pages/Home.tsx:352",className:"py-24 bg-[#F5F4F2]",children:r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:353",className:"container",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:354",className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-start",children:[r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:355",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:356",children:[r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:357",className:"gallery-rule mb-6 block"}),r.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:358",className:"font-display text-4xl md:text-5xl font-light text-[#111111] leading-tight",children:["What you will",r.jsx("br",{"data-loc":"client/src/pages/Home.tsx:359"}),r.jsx("em",{"data-loc":"client/src/pages/Home.tsx:360",className:"italic",children:"walk away with"})]})]})}),r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:364",delay:100,children:r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:365",className:"grid grid-cols-1 gap-6",children:[{title:"A gallery-quality brand",desc:"Your artist identity, statement, and visual presence â positioned to attract serious collectors."},{title:"A pricing system that scales",desc:"Never undercharge again. A formula-based approach that grows with your reputation."},{title:"An Instagram content engine",desc:"A repeatable weekly content framework that builds followers, trust, and sales."},{title:"A Facebook collector community",desc:"A loyal audience that follows your work, attends your openings, and buys repeatedly."},{title:"A collector relationship system",desc:"Email list, DM strategy, and post-sale nurturing that turns buyers into champions."},{title:"Multiple revenue streams",desc:"Originals, prints, commissions, and digital â a diversified art business that sustains you."}].map((s,n)=>r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:392",className:"flex gap-4 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:393",className:"font-display text-sm text-[#B8962E] mt-0.5",children:"â"}),r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:394",children:[r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:395",className:"font-body text-sm font-medium text-[#111111] mb-1",children:s.title}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:396",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:s.desc})]})]},n))})})]})})}),r.jsx("section",{"data-loc":"client/src/pages/Home.tsx:407",className:"py-24 md:py-32 border-t border-[#
185E8E6E1]",children:r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:408",className:"container",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:409",className:"grid grid-cols-1 md:grid-cols-2 gap-16 md:gap-24 items-center",children:[r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:410",children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:411",className:"relative",children:[r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:412",className:"aspect-[3/4] bg-[#F5F4F2] overflow-hidden",children:r.jsx("img",{"data-loc":"client/src/pages/Home.tsx:413",src:"https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/agnes-rup-portrait_77e8563c.png",alt:"Agnes Rup â Artist",className:"w-full h-full object-cover"})}),r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:419",className:"absolute -bottom-6 -right-6 bg-[#111111] px-8 py-6 hidden md:block",children:[r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:420",className:"font-display text-4xl font-light text-[#B8962E]",children:"$100K"}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:421",className:"font-body text-xs text-white/60 mt-1",children:"First year selling art"})]})]})}),r.jsx(ns,{"data-loc":"client/src/pages/Home.tsx:426",delay:120,children:r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:427",children:[r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:428",className:"gallery-rule mb-6 block"}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:429",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-4",children:"Your Instructor"}),r.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:432",className:"font-display text-5xl md:text-6xl font-light text-[#111111] leading-[0.95] mb-8",children:["Agnes",r.jsx("br",{"data-loc":"client/src/pages/Home.tsx:433"}),r.jsx("em",{"data-loc":"client/src/pages/Home.tsx:434",className:"italic",children:"Rup"})]}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:436",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-5",children:"In her first year as a working artist, Agnes Rup generated over $100,000 selling her work â without a gallery, without an agent, and without a large following. She built her collector base from scratch using Instagram and Facebook, a clear pricing system, and the same strategies the world's top galleries use to represent their artists."}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:439",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-5",children:"Gallery of One is the distillation of everything she learned â the frameworks, the exact posting methods, the pricing formula, and the collector relationship system â packaged into a programme that any artist can follow, regardless of where they're starting from."}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:442",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-10",children:"She built her own gallery. Now she's showing you how to build yours."}),r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:445",className:"flex flex-wrap gap-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:446",children:[r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:447",className:"font-display text-3xl font-light text-[#111111]",children:"$100K"}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:448",className:"font-body text-xs text-[#6B6560] mt-1",children:"First year in art"})]}),r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:450",children:[r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:451",className:"font-display text-3xl font-light text-[#111111]",children:"7"}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:452",className:"font-body text-xs text-[#6B6560] mt-1",children:"Core modules"})]}),r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:454",children:[r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:455",className:"font-display text-3xl font-light text-[#111111]",children:"0"}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:456",className:"font-body text-xs text-[#6B6560] mt-1",children:"Gallery required"})]})]})]})})]})})}),r.jsx("section",{"data-loc":"client/src/pages/Home.tsx:466",className:"py-24 bg-[#111111]",children:r.jsx("div",{"data-loc":"client/src/pages/Home.tsx:467",className:"container text-center",children:r.jsxs(ns,{"data-loc":"client/src/pages/Home.tsx:468",children:[r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:469",className:"gallery-rule mb-8 mx-auto block",style:{backgroundColor:"#B8962E"}}),r.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:470",className:"font-display text-5xl md:text-7xl font-light text-white mb-6",children:["Your work deserves",r.jsx("br",{"data-loc":"client/src/pages/Home.tsx:471"}),r.jsx("em",{"data-loc":"client/src/pages/Home.tsx:472",className:"italic",children:"a gallery."})]}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:474",className:"font-body text-sm text-white/50 max-w-md mx-auto mb-4 leading-relaxed",children:"Gallery of One is the complete system for artists who are ready to represent themselves â and sell their work at the prices it deserves."}),!e&&r.jsxs(r.Fragment,{children:[r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:479",className:"font-display text-2xl font-light text-[#B8962E] mb-2",children:"$997"}),r.jsx("p",{"data-loc":"client/src/pages/Home.tsx:480",className:"font-body text-sm text-white/50 mb-8",children:"One year. Full access. No auto-renewal."})]}),r.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:483",className:"flex flex-wrap gap-4 justify-center",children:[!e&&r.jsx(Ee,{"data-loc":"client/src/pages/Home.tsx:485",href:"/enroll",children:r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:486",className:"inline-block bg-[#B8962E] text-white font-body text-xs font-medium tracking-[0.12em] uppercase px-10 py-4 hover:bg-[#9A7D25] transition-colors duration-300 cursor-pointer",children:"Enrol Now"})}),r.jsx(Ee,{"data-loc":"client/src/pages/Home.tsx:491",href:"/quiz",children:r.jsx("span",{"data-loc":"client/src/pages/Home.tsx:492",className:"inline-block bg-transparent border border-white text-white font-body text-xs font-medium tracking-[0.12em] uppercase px-10 py-4 hover:bg-white hover:text-[#111111] transition-colors duration-300 cursor-pointer",children:"Take the Quiz"})})]})]})})}),r.jsx(ut,{"data-loc":"client/src/pages/Home.tsx:501"})]})}const u1="https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/hero-gallery-wall-fkRBTNX9RViNLFXhSu58jT.webp",d1="https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/painting-closeup-gallery-ZiAnjkwt5twjyS9upruNzr.webp",oC="https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/artist-instagram-minimal-GRJ9jGpetw2cAuHRhHKao6.webp",h1="https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/gallery-opening-night-4VsgPtrCebJxGYKjLaJ28Y.webp",f1=[{id:1,number:"01",title:"Your Artist Brand",subtitle:"Identity & Positioning",heroImage:u1,intro:"Every gallery that represents a major artist has one thing in common: they know exactly who that artist is, who buys their work, and why. Before you can sell a single piece, you need that same clarity. This module gives you the exact framework galleries use to position artists in the market.",lessons:[{title:"The Gallery Positioning Framework",content:`Galleries don't represent 'artists who paint.' They represent 'artists who explore the tension between industrial decay and natural renewal through large-scale oil works.' Specificity is your competitive advantage. The more precisely you can articulate what you make and why, the more powerfully you attract the right collectors. 186 187Your positioning lives at the intersection of three things: your medium and style, your subject matter or concept, and your personal story. When all three align, you become unmistakable.`,framework:{label:"The Positioning Triangle",items:["Medium & Style â What you make and how you make it","Concept & Subject â What your work is about","Personal Story â Why you make it (your 'why')"]}
187,actionStep:"Write one sentence that combines all three elements: 'I make [medium/style] work that explores [concept/subject] through the lens of [your story/perspective].'"},{title:"Defining Your Collector Avatar",content:`Galleries know their collectors intimately â their demographics, their tastes, their buying triggers. You need the same knowledge. Your collector avatar is not 'anyone who likes art.' It's a specific person: their age, income, home aesthetic, emotional needs, and what they want your art to say about them. 188 189The most successful artists on Instagram and Facebook don't post for everyone. They post for one person â and that specificity is what makes their content feel personal, urgent, and worth buying.`,framework:{label:"Collector Avatar Questions",items:["Age range and life stage (new homeowner, empty nester, corporate professional)","Income level and what they spend on home and lifestyle","What emotional need does your art fulfill for them?","What does owning your art say about who they are?","Where do they discover art? (Instagram, Facebook, galleries, fairs)"]},actionStep:"Write a one-paragraph description of your ideal collector as if they were a real person. Give them a name. Describe their home, their job, and why they need your work."},{title:"Crafting Your Artist Statement",content:`Your artist statement is not a biography. It's a positioning document. It tells collectors not just what you make, but why it matters to them. The best artist statements follow a simple structure: open with the work itself, explain the concept or emotion behind it, and close with why it matters in the world right now. 190 191Avoid art-school jargon. Write as if you're explaining your work to an intelligent person at a gallery opening who has never heard of you â because that's exactly who will read it.`,actionStep:"Write a 3-sentence artist statement: (1) What you make. (2) What it explores or communicates. (3) Why it matters to the viewer."}],keyTakeaway:"Clarity of identity is the foundation of every sale. Before you post on Instagram or build a Facebook page, you need to know exactly who you are, who you're for, and what you stand for. Galleries spend years building this â you can do it in a week.",nextModule:2},{id:2,number:"02",title:"Pricing Your Work",subtitle:"Valuation & Strategy",heroImage:d1,intro:"Pricing is where most artists lose money â and confidence. They underprice out of fear, then resent buyers. Or they overprice without a system, then wonder why nothing sells. Galleries use a precise, defensible pricing methodology. This module teaches you that system.",lessons:[{title:"The Gallery Pricing Formula",content:`Professional galleries use a formula-based approach to pricing that removes emotion from the equation. The most widely used method for original works is: (Materials Cost + (Hourly Rate à Hours)) à 2. The multiplier accounts for your creative labor, years of skill development, and gallery margin. 192 193For prints and editions, the formula shifts: (Printing Cost + Packaging) à 3 gives you a healthy margin after platform fees. The key is consistency â your prices should be defensible, logical, and consistent across all platforms.`,framework:{label:"Pricing Formulas",items:["Original works: (Materials + Hourly Rate à Hours) à 2","Self-fulfilled prints: (Print cost + Packaging) à 3","Size-based: Width à Height à Rate per sq inch (e.g. $1.50â$5.00)","Edition prints: Original price ÷ 10 = print price (rule of thumb)"]},actionStep:"Use the pricing calculator in our Tools section to calculate prices for your 3 most recent works. Compare to what you've been charging."},{title:"Building a Tiered Price Structure",content:`Galleries offer collectors multiple entry points â from small works and prints to major pieces. This tiered structure serves two purposes: it makes your work accessible to new collectors, and it creates a natural upgrade path as collectors deepen their relationship with your work. 194 195Your tier structure should have at least three levels: an accessible entry point (prints, small works under $500), a mid-range (
195original works $500â$3,000), and a premium tier (large-scale or signature works $3,000+). Each tier serves a different collector and a different stage of the relationship.`,framework:{label:"The Three-Tier Collector Ladder",items:["Tier 1 â Entry: Prints, small works, digital products ($50â$500)","Tier 2 â Core: Original works, commissions ($500â$3,000)","Tier 3 â Premium: Large-scale, series, signature works ($3,000+)"]},actionStep:"Map your current work across the three tiers. Identify any gaps â if you have no entry-level offering, create one this week."},{title:"Raising Your Prices Without Losing Collectors",content:`Galleries raise prices strategically â after a sold-out show, after press coverage, after a major commission. You can do the same. The rule is: never lower prices (it signals desperation), and raise prices incrementally (10â20% at a time) with a clear reason. 196 197The most powerful price increase trigger is scarcity. When a series is nearly sold out, announce it. When you're moving to a new body of work, announce that the current series is closing. Scarcity creates urgency, and urgency creates sales.`,actionStep:"Identify one body of work that could be positioned as a 'closing series.' Write a short announcement for Instagram and Facebook that creates genuine scarcity."}],keyTakeaway:"Your prices are a statement about your value. Low prices don't attract more buyers â they attract buyers who don't value your work. Use the formula, build your tiers, and raise prices with confidence.",nextModule:3},{id:3,number:"03",title:"Photography & Presentation",subtitle:"Visual Excellence",heroImage:d1,intro:"A gallery spends thousands on professional photography because they know that presentation is half the sale. Your art is only as valuable as it appears in photographs. This module teaches you to photograph your work at gallery quality â with a smartphone.",lessons:[{title:"Natural Light Photography Mastery",content:`The single most important factor in art photography is light quality â not camera quality. Overcast daylight is the gold standard: it's soft, even, and renders colors accurately. Position your work near a large north-facing window on a cloudy day, and you have a professional studio. 198 199Avoid direct sunlight (creates hot spots and glare), artificial warm light (shifts colors toward yellow), and flash (creates flat, harsh images). Shoot at the same height as the center of the work, perfectly straight-on, with no angle or perspective distortion.`,framework:{label:"The Gallery Photography Checklist",items:["Overcast natural light or large north-facing window","Camera at exact center height of the work","Perfectly straight-on â no angle or tilt","Fill the frame â work takes up 80% of the image","White balance set to 'cloudy' or 'daylight'","Shoot in portrait orientation for vertical works"]},actionStep:"Rephotograph your 5 best-selling works using these guidelines. Compare the new images to your current listings."},{title:"The Installation Shot",content:`The installation shot â your work hanging in a real or staged interior â is the most powerful sales image you can create. It answers the collector's primary question: 'What will this look like in my home?' Galleries always include installation shots in their presentations. 200 201You don't need a styled home. A clean white wall, a simple piece of furniture, and good light is enough. Apps like Canva and Photoshop allow you to create digital mockups â placing your work into room scenes â which are highly effective on Instagram and Facebook.`,actionStep:"Create one installation shot for your most recent work. Either photograph it in a real interior or use a digital mockup tool."},{title:"Building a Cohesive Visual Identity",content:`Your Instagram grid is your gallery wall. Every image you post should feel like it belongs in the same exhibition. This means consistent lighting, consistent backgrounds, consistent editing style, and consistent framing. 202 203Choose a 'signature look' for your photography: perhaps always shot on a white wall with a single shadow, or always with a warm neutral background. This visual consistency is what makes your Instagram profile feel like a gallery rather than a random collection of images.`,actionStep:"Choose your signature photography style and apply it to your next 9 posts. Your grid should look like a cohesive exhibition."}],keyTakeaway:"Presentation is not vanity â it's strategy. The same work photographed poorly and photographed brilliantly can command prices that differ by 300%. Invest in your photography.",nextModule:4},{id:4,number:"04",title:"Instagram as Your Gallery",subtitle:"Social Media Strategy",heroImage:oC,intro:"Instagram is the world's most powerful art discovery platform. 67% of collectors report discovering new artists on Instagram. But most artists use it wrong â posting randomly, chasing followers, and wondering why nothing converts to
203sales. This module gives you the exact system that works.",lessons:[{title:"The Algorithm Is a Watch-Time Machine",content:`Instagram's algorithm has one job: keep people on the platform. It rewards content that makes people stop, watch, and share. For artists, this means your content needs to be visually arresting in the first 0.5 seconds, and it needs to hold attention for as long as possible. 204 205The metrics that matter are not likes â they are watch time (aim for 50%+ on Reels), share rate (people forwarding your content to others), and follow-through rate (people visiting your profile after watching). These are the signals that tell the algorithm your content is worth distributing.`,framework:{label:"The Three Content Types That Work",items:["Process content â Time-lapses, close-up technique, studio moments (highest watch time)","Story content â Your 'why', your journey, your struggles and breakthroughs (highest shares)","Sales content â New work reveals, pricing, availability, collector testimonials (highest conversions)"]},actionStep:"Plan your next 9 posts: 3 process, 3 story, 3 sales. This is your content foundation."},{title:"Reels: The Discovery Engine",content:`Reels are Instagram's primary discovery tool â they are shown to non-followers, making them your most powerful growth mechanism. The formula for a high-converting art Reel is: a visually stunning hook in the first 2 seconds, a single clear message or story, and a call to action at the end. 206 207The six formats that consistently drive buying comments are: the Reveal (before â finished), the Scale Reel (work next to a person), the Installation (work in a collector's home), the Process time-lapse, the Story Behind the work, and the Detail Close-Up. Each has a specific structure and hook pattern. Use the Gallery of One Reel Builder tool to build your complete script before you film.`,actionStep:"Film and post one Reel this week using the time-lapse of your current work-in-progress. Use a trending audio track and a strong hook caption."},{title:"Stories: The Collector Nurture Channel",content:`While Reels bring in new followers, Stories convert them into collectors. Stories appear at the top of the feed for people who already follow you â they are your direct line to your warmest audience. Use Stories for: behind-the-scenes content, polls and questions, new work previews before the main post, and direct sales (swipe-up links to your shop). 208 209Post Stories daily. They disappear after 24 hours, so there's no pressure for perfection. Use them to test content ideas, share your personality, and maintain top-of-mind awareness with your collector community.`,actionStep:"Post one Story every day for the next 7 days. Use a mix of polls, behind-the-scenes, and new work previews."},{title:"Hashtags & Discovery Strategy",content:`Hashtags are a secondary discovery mechanism â the algorithm has largely superseded them, but they still help categorize your content for the right audience. Use a mix of large (#abstractart, 10M+ posts), medium (#abstractpainting, 1M posts), and small (#abstractoilpainting, 100K posts) hashtags. 210 211More importantly: engage authentically with other artists and collectors in your niche. Comment meaningfully on their posts. The algorithm notices reciprocal engagement and distributes your content to those audiences.`,framework:{label:"Hashtag Strategy",items:["2â3 large tags (#abstractart, #contemporaryart)","3â4 medium tags (#abstractpainting, #oilpainting)","3â4 small niche tags (#abstractoilpainting, #studiooilpainting)","1â2 location tags (#nycart, #londonartist)"]},actionStep:"Create your personal hashtag set of 10â12 tags. Save it in your phone notes for easy copy-paste on every post."}],keyTakeaway:"Instagram rewards consistency, authenticity, and watch-time. Post 4â5 times per week: a mix of Reels, feed posts, and daily Stories. Your grid is your gallery â make every post worthy of the wall.",nextModule:5},{id:5,number:"05",title:"Facebook & Community",subtitle:"Organic Reach & Groups",heroImage:h1,intro:"Facebook is where collectors live. While Instagram attracts younger audiences and discovery, Facebook is where serious collectors â typically 35â65, with disposable income â spend their time. This module teaches you to build a Facebook presence that functions like a private gallery membership.",lessons:[{title:"Your Facebook Page: The Gallery Storefront",content:`Your Facebook Page is y
211our public gallery storefront. It should be as curated and professional as a gallery's website. Use a high-quality cover image (your best work, or a studio shot), a clear and compelling 'About' section that mirrors your artist statement, and consistent posting of your best content. 212 213The key insight from the top-performing art pages: post content that people want to share privately. When someone shares your post in a direct message to a friend â 'this reminds me of you' â that is the strongest signal you can send to the Facebook algorithm. Create content that moves people enough to share it.`,framework:{label:"Facebook Page Optimization Checklist",items:["Cover photo: Your best work or studio, 4:5 ratio","Profile photo: Professional headshot or studio logo","About section: Artist statement + website link + contact","Post frequency: 4â5 times per week minimum","Content mix: 60% value/story, 30% process, 10% direct sales"]},actionStep:"Audit your Facebook Page against this checklist. Update any elements that don't meet gallery-quality standards."},{title:"Building a Collector Community Group",content:`The most powerful Facebook strategy for artists is creating a private group for your collectors and serious followers. This is your inner circle â the people who love your work most. In this group, you share first looks at new work, behind-the-scenes content, exclusive pricing, and direct conversations. 214 215Galleries do this through private previews and VIP openings. Your Facebook Group is the digital equivalent. Name it something that reflects your artistic identity: '[Your Name] Collector Circle' or '[Your Name] Studio Access.' Keep it exclusive â require a short application or approval process.`,actionStep:"Create a private Facebook Group for your collectors. Invite your 20 most engaged followers and past buyers to join."},{title:"Live Video: The Digital Opening Night",content:`Facebook Live is experiencing a resurgence, particularly for arts and crafts content. Live video creates urgency and intimacy that no other format can match. Use it for: new work reveals (the digital equivalent of an opening night), live painting sessions, Q&A with collectors, and studio tours. 216 217The key to a successful art Live is preparation: announce it 24â48 hours in advance, have a clear structure (what you'll show and discuss), and engage with comments in real time. Lives are saved to your page and can be repurposed as video content.`,actionStep:"Schedule one Facebook Live in the next two weeks. Announce it on your Page and in your Group. Plan a 20-minute format: 5 min intro, 10 min new work reveal, 5 min Q&A."}],keyTakeaway:"Facebook is your collector community platform. Use your Page as the public gallery, your Group as the private VIP lounge, and Live video as your opening night. Consistency and authenticity build the trust that leads to sales.",nextModule:6},{id:6,number:"06",title:"The Collector Relationship",subtitle:"Sales & Retention",heroImage:h1,intro:"Galleries don't just sell art â they cultivate collectors over years and decades. A gallery's most valuable asset is not its inventory, it's its collector relationships. This module teaches you to build those same relationships through email, direct messaging, and post-sale nurturing.",lessons:[{title:"Building Your Collector Email List",content:`Your email list is the only audience you truly own. Instagram can change its algorithm. Facebook can reduce your reach. But your email list is y
217ours forever. Every serious art business â from solo artists to major galleries â treats their email list as their most valuable asset. 218 219Build your list by offering something valuable in exchange for an email address: a free guide ('How to Choose Art for Your Home'), a first-look at new work, or a discount on prints. Use your Instagram bio link and Facebook Page to drive sign-ups. Aim to send one email per month minimum: a studio update, new work announcement, or personal story.`,framework:{label:"Email List Building Tactics",items:["Lead magnet: Exclusive guide, print discount, or first-look access","Instagram bio: Link to email sign-up page","Facebook Page: 'Sign up' button linked to your list","Post-purchase: Every buyer automatically added to your list","Email frequency: Monthly minimum, weekly for active launches"]},actionStep:"Set up a free email list using Mailchimp or Klaviyo. Create a simple lead magnet and add the sign-up link to your Instagram bio."},{title:"The DM Sales Conversation",content:`Direct messages are where sales happen. When someone comments 'I love this' or 'Is this available?' â that is a buying signal. The correct response is not a price drop or a hard sell. It's a conversation. 220 221The gallery approach: respond with warmth and genuine interest in the collector. Ask about their space, their taste, what drew them to this particular work. This conversation builds the relationship that makes the sale feel natural, not transactional. The goal is not to close a sale â it's to open a relationship.`,actionStep:"For the next 7 days, respond to every comment on your art posts with a genuine question. Start a conversation. Track how many turn into DMs."},{title:"Post-Sale Nurturing: Turning Buyers into Champions",content:`The sale is not the end of the relationship â it's the beginning. Galleries follow up with collectors after every purchase: a personal thank-you, installation photos of the work in their home, and an invitation to the next opening. You can do the same. 222 223Send a handwritten thank-you note with every sale. Follow up 2 weeks later to ask for an installation photo. Share that photo (with permission) on Instagram and Facebook â it's your most powerful social proof. Invite past buyers to your Facebook Group. These small gestures create collectors who champion your work to their networks.`,actionStep:"Write a thank-you note template for new buyers. Include a request for an installation photo and an invitation to your Facebook Group."}],keyTakeaway:"The collector relationship is your most valuable business asset. Treat every buyer as a long-term partner, not a transaction. The artists who build the deepest collector relationships are the ones who sustain full-time careers.",nextModule:7},{id:7,number:"07",title:"Scaling Your Practice",subtitle:"Revenue & Growth",heroImage:u1,intro:"You've built your brand, priced your work, mastered Instagram and Facebook, and cultivated your first collectors. Now it's time to build a sustainable, scalable art business. This module shows you how to diversify your revenue, manage your time, and grow without burning out.",lessons:[{title:"The Multiple Revenue Stream Model",content:`The most resilient art businesses have multiple revenue streams that serve different collector segments and price points. The gallery model is instructive: they sell originals (high margin, low volume), prints (lower margin, high volume), and artist books and merchandise (accessible entry points). 224 225Your model should mirror this: originals at premium prices, limited edition prints at 10â20% of original price, open edition prints or print-on-demand for accessibility, and potentially digital products (tutorials, guides, brushes) for passive income. Eac
225h stream serves a different collector and a different stage of the relationship.`,framework:{label:"The Art Business Revenue Pyramid",items:["Apex: Original works â highest price, lowest volume, highest margin","Middle: Limited edition prints â medium price, medium volume","Base: Open editions / POD â accessible price, high volume, passive","Digital: Tutorials, guides, courses â scalable, no inventory"]},actionStep:"Map your current revenue streams against this pyramid. Identify the layer you're missing and create one new offering this month."},{title:"The Commission Workflow System",content:`Commissions are one of the most lucrative revenue streams for artists â but they can also be the most stressful without a clear system. The gallery approach: a formal commission agreement, a 50% deposit upfront, clear deliverables and timeline, and a structured revision process. 226 227Create a commission package: a PDF that explains your process, your pricing (typically 20â30% above comparable original prices), your timeline, and your terms. Share this on Instagram and Facebook as a 'Commission Availability' post when you have capacity.`,actionStep:"Create a one-page commission guide PDF. Include your process, pricing, timeline, and terms. Share it on Instagram and Facebook this week."},{title:"Time Management for the Working Artist",content:`The biggest challenge for full-time artists is not talent â it's time management. The gallery director's approach: separate creation time from business time, batch your social media content, and protect your studio hours fiercely. 228 229The recommended weekly structure: 3â4 days of studio time (creation), 1 day of content creation and social media (batch all your posts for the week), and 1 day of business tasks (emails, shipping, admin). This structure protects your creative energy while ensuring your business runs consistently.`,framework:{label:"The Artist's Weekly Structure",items:["MondayâThursday: Studio time â creation only","Friday: Content day â photograph work, film Reels, write captions, schedule posts","Saturday: Business day â emails, shipping, collector follow-ups, admin","Sunday: Rest and inspiration â galleries, museums, reading"]},actionStep:"Block your calendar for the next month using this structure. Treat studio time and content day as non-negotiable appointments."}],keyTakeaway:"A sustainable art career is built on multiple revenue streams, clear systems, and protected creative time. The artists who last are not the most talented â they are the most organized. Build your systems now.",nextModule:void 0}];function rC(e=.15){const s=w.useRef(null),[n,o]=w.useState(!1);return w.useEffect(()=>{const l=new IntersectionObserver(([u])=>{u.isIntersecting&&o(!0)},{threshold:e});return s.current&&l.observe(s.current),()=>l.disconnect()},[]),{ref:s,visible:n}}function p1({children:e,delay:s=0}){const{ref:n,visible:o}=rC();return r.jsx("div",{"data-loc":"client/src/pages/ModulePage.tsx:406",ref:n,style:{opacity:o?1:0,transform:o?"translateY(0)":"translateY(24px)",transition:`opacity 0.7s ease ${s}ms, transform 0.7s ease ${s}ms`},children:e})}function lC(){const e=Fw(),s=parseInt(e.id||"1"),n=f1.find(u=>u.id===s)||f1[0],[o,l]=w.useState(0);return w.useEffect(()=>{window.scrollTo(0,0),l(0)},[s]),r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:431",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/ModulePage.tsx:432"}),r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:435",className:"relative h-[50vh] min-h-[400px] mt-16",children:[r.jsx("img",{"data-loc":"client/src/pages/ModulePage.tsx:436",src:n.heroImage,alt:n.title,className:"w-full h-full object-cover"}),r.jsx("div",{"data-loc":"client/src/pages/ModulePage.tsx:441",className:"absolute inset-0 bg-black/50"}),r.jsx("div",{"data-loc":"client/src/pages/ModulePage.tsx:442",className:"absolute inset-0 flex items-end",children:r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:443",className:"container pb-12",children:[r.jsxs("p",{"data-loc":"client/src/pages/ModulePage.tsx:444",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-white/50 mb-2",children:["Module ",n.number]}),r.jsx("h1",{"data-loc":"client/src/pages/ModulePage.tsx:447",className:"font-display text-5xl md:text-7xl font-light text-white leading-tight",children:n.title}),r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:450",className:"font-body text-sm text-white/60 mt-2 tracking-wide",children:n.subtitle})]})})]}),r.jsx("div",{"data-loc":"client/src/pages/ModulePage.tsx:458",className:"border-b border-[#
229E8E6E1] bg-white sticky top-16 z-40",children:r.jsx("div",{"data-loc":"client/src/pages/ModulePage.tsx:459",className:"container",children:r.jsx("div",{"data-loc":"client/src/pages/ModulePage.tsx:460",className:"flex gap-0 overflow-x-auto",children:n.lessons.map((u,d)=>r.jsx("button",{"data-loc":"client/src/pages/ModulePage.tsx:462",onClick:()=>l(d),className:`font-body text-xs font-medium tracking-[0.08em] uppercase py-4 px-4 whitespace-nowrap border-b-2 transition-colors ${o===d?"border-[#111111] text-[#111111]":"border-transparent text-[#6B6560] hover:text-[#111111]"}`,children:u.title},d))})})}),r.jsx("div",{"data-loc":"client/src/pages/ModulePage.tsx:479",className:"py-16 md:py-24",children:r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:480",className:"container",children:[r.jsx(p1,{"data-loc":"client/src/pages/ModulePage.tsx:482",children:r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:483",className:"max-w-2xl mb-16",children:[r.jsx("span",{"data-loc":"client/src/pages/ModulePage.tsx:484",className:"gallery-rule mb-6 block"}),r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:485",className:"font-body text-base text-[#6B6560] leading-relaxed",children:n.intro})]})}),r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:492",className:"grid grid-cols-1 lg:grid-cols-3 gap-12",children:[r.jsx("div",{"data-loc":"client/src/pages/ModulePage.tsx:493",className:"lg:col-span-2",children:r.jsx(p1,{"data-loc":"client/src/pages/ModulePage.tsx:494",children:r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:495",children:[r.jsx("h2",{"data-loc":"client/src/pages/ModulePage.tsx:496",className:"font-display text-3xl md:text-4xl font-light text-[#111111] mb-6",children:n.lessons[o].title}),r.jsx("div",{"data-loc":"client/src/pages/ModulePage.tsx:499",className:"space-y-4 mb-8",children:n.lessons[o].content.split(` 230 231`).map((u,d)=>r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:501",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:u},d))}),n.lessons[o].framework&&r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:509",className:"bg-[#F5F4F2] p-6 mb-8",children:[r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:510",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-4",children:n.lessons[o].framework.label}),r.jsx("div",{"data-loc":"client/src/pages/ModulePage.tsx:513",className:"space-y-3",children:n.lessons[o].framework.items.map((u,d)=>r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:515",className:"flex gap-3 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/ModulePage.tsx:516",className:"font-display text-[#B8962E] mt-0.5",children:"â"}),r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:517",className:"font-body text-sm text-[#111111] leading-relaxed",children:u})]},d))})]}),n.lessons[o].actionStep&&r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:526",className:"border border-[#111111] p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:527",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#111111] mb-3",children:"Your Action Step"}),r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:530",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:n.lessons[o].actionStep})]})]})},o)}),r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:540",className:"space-y-6",children:[r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:542",className:"border border-[#E8E6E1] p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:543",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#6B6560] mb-4",children:"Lessons in this Module"}),r.jsx("div",{"data-loc":"client/src/pages/ModulePage.tsx:546",className:"space-y-3",children:n.lessons.map((u,d)=>r.jsxs("button",{"data-loc":"client/src/pages/ModulePage.tsx:548",onClick:()=>l(d),className:"w-full text-left flex gap-3 items-start group",children:[r.jsx("span",{"data-loc":"client/src/pages/ModulePage.tsx:553",className:`font-display text-sm mt-0.5 transition-colors ${o===d?"text-[#B8962E]":"text-[#E8E6E1]"}`,children:String(d+1).padStart(2,"0")}),r.jsx("span",{"data-loc":"client/src/pages/ModulePage.tsx:556",className:`font-body text-sm leading-snug transition-colors ${o===d?"text-[#111111] font-medium":"text-[#6B6560] group-hover:text-[#111111]"}`,children:u.title})]},d))})]}),r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:565",className:"bg-[#111111] p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:566",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-3",children:"Key Takeaway"}),r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:569",className:"font-body text-sm text-white/70 leading-relaxed",children:n.keyTakeaway})]}),r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:575",className:"space-y-2",children:[s>1&&r.jsx(Ee,{"data-loc":"client/src/pages/ModulePage.tsx:577",href:`/module/${s-1}`,children:r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:578",className:"border border-[#
231E8E6E1] p-4 hover:bg-[#F5F4F2] transition-colors cursor-pointer",children:[r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:579",className:"font-body text-xs text-[#6B6560] mb-1",children:"â Previous"}),r.jsxs("p",{"data-loc":"client/src/pages/ModulePage.tsx:580",className:"font-body text-sm font-medium text-[#111111]",children:["Module ",String(s-1).padStart(2,"0")]})]})}),n.nextModule&&r.jsx(Ee,{"data-loc":"client/src/pages/ModulePage.tsx:587",href:`/module/${n.nextModule}`,children:r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:588",className:"bg-[#111111] p-4 hover:bg-[#222222] transition-colors cursor-pointer",children:[r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:589",className:"font-body text-xs text-white/40 mb-1",children:"Next â"}),r.jsxs("p",{"data-loc":"client/src/pages/ModulePage.tsx:590",className:"font-body text-sm font-medium text-white",children:["Module ",String(n.nextModule).padStart(2,"0")]})]})})]}),r.jsx(Ee,{"data-loc":"client/src/pages/ModulePage.tsx:599",href:"/tools",children:r.jsxs("div",{"data-loc":"client/src/pages/ModulePage.tsx:600",className:"border border-[#B8962E] p-6 cursor-pointer hover:bg-[#B8962E]/5 transition-colors",children:[r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:601",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-2",children:"Tool"}),r.jsx("p",{"data-loc":"client/src/pages/ModulePage.tsx:604",className:"font-body text-sm text-[#111111] mb-3",children:"Use the interactive tools to apply what you've learned in this module."}),r.jsx("span",{"data-loc":"client/src/pages/ModulePage.tsx:607",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#B8962E]",children:"Open Tools â"})]})})]})]})]})}),r.jsx(ut,{"data-loc":"client/src/pages/ModulePage.tsx:617"})]})}function cC(e=.1){const s=w.useRef(null),[n,o]=w.useState(!1);return w.useEffect(()=>{const l=new IntersectionObserver(([u])=>{u.isIntersecting&&o(!0)},{threshold:e});return s.current&&l.observe(s.current),()=>l.disconnect()},[]),{ref:s,visible:n}}function Vh({children:e,delay:s=0}){const{ref:n,visible:o}=cC();return r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:27",ref:n,style:{opacity:o?1:0,transform:o?"translateY(0)":"translateY(24px)",transition:`opacity 0.7s ease ${s}ms, transform 0.7s ease ${s}ms`},children:e})}function uC(){const[e,s]=w.useState("formula"),[n,o]=w.useState(50),[l,u]=w.useState(10),[d,f]=w.useState(30),[p,g]=w.useState("established"),[x,y]=w.useState(24),[v,k]=w.useState(30),[j,E]=w.useState("oil"),[N,O]=w.useState(15),[R,_]=w.useState(5),Q={emerging:1.5,established:2,master:2.8},F={oil:2.5,acrylic:2,watercolour:1.8,mixed:2.2,digital:1.5,resin:3.2},U=Math.round((n+d*l)*Q[p]),C=Math.round(x*v*F[j]*(p==="emerging"?.8:p==="master"?1.4:1)),D=Math.round((N+R)*3),Z=e==="formula"?U:C;return r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:59",className:"space-y-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:61",className:"flex gap-0 border border-[#E8E6E1] w-fit",children:[r.jsx("button",{"data-loc":"client/src/pages/Tools.tsx:62",onClick:()=>s("formula"),className:`font-body text-xs font-medium tracking-[0.08em] uppercase px-5 py-3 transition-colors ${e==="formula"?"bg-[#111111] text-white":"bg-white text-[#6B6560] hover:text-[#111111]"}`,children:"Formula Method"}),r.jsx("button",{"data-loc":"client/src/pages/Tools.tsx:70",onClick:()=>s("size"),className:`font-body text-xs font-medium tracking-[0.08em] uppercase px-5 py-3 transition-colors ${e==="size"?"bg-[#111111] text-white":"bg-white text-[#6B6560] hover:text-[#111111]"}`,children:"Size Method"})]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:80",className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:82",className:"space-y-6",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:84",children:[r.jsx("label",{"data-loc":"client/src/pages/Tools.tsx:85",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-3",children:"Skill Level"}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:88",className:"flex gap-0 border border-[#
231E8E6E1]",children:["emerging","established","master"].map(K=>r.jsx("button",{"data-loc":"client/src/pages/Tools.tsx:90",onClick:()=>g(K),className:`flex-1 font-body text-xs font-medium tracking-[0.06em] uppercase py-2.5 transition-colors capitalize ${p===K?"bg-[#111111] text-white":"bg-white text-[#6B6560] hover:text-[#111111]"}`,children:K},K))})]}),e==="formula"?r.jsxs(r.Fragment,{children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:105",children:[r.jsxs("label",{"data-loc":"client/src/pages/Tools.tsx:106",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-2",children:["Materials Cost â $",n]}),r.jsx("input",{"data-loc":"client/src/pages/Tools.tsx:109",type:"range",min:5,max:500,step:5,value:n,onChange:K=>o(Number(K.target.value)),className:"w-full accent-[#111111]"}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:114",className:"flex justify-between font-body text-xs text-[#6B6560] mt-1",children:[r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:115",children:"$5"}),r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:115",children:"$500"})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:118",children:[r.jsxs("label",{"data-loc":"client/src/pages/Tools.tsx:119",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-2",children:["Hours Worked â ",l,"h"]}),r.jsx("input",{"data-loc":"client/src/pages/Tools.tsx:122",type:"range",min:1,max:100,step:1,value:l,onChange:K=>u(Number(K.target.value)),className:"w-full accent-[#111111]"}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:127",className:"flex justify-between font-body text-xs text-[#6B6560] mt-1",children:[r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:128",children:"1h"}),r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:128",children:"100h"})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:131",children:[r.jsxs("label",{"data-loc":"client/src/pages/Tools.tsx:132",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-2",children:["Your Hourly Rate â $",d,"/h"]}),r.jsx("input",{"data-loc":"client/src/pages/Tools.tsx:135",type:"range",min:10,max:200,step:5,value:d,onChange:K=>f(Number(K.target.value)),className:"w-full accent-[#111111]"}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:140",className:"flex justify-between font-body text-xs text-[#6B6560] mt-1",children:[r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:141",children:"$10"}),r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:141",children:"$200"})]})]})]}):r.jsxs(r.Fragment,{children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:147",children:[r.jsxs("label",{"data-loc":"client/src/pages/Tools.tsx:148",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-2",children:["Width â ",x," inches"]}),r.jsx("input",{"data-loc":"client/src/pages/Tools.tsx:151",type:"range",min:4,max:72,step:2,value:x,onChange:K=>y(Number(K.target.value)),className:"w-full accent-[#111111]"}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:156",className:"flex justify-between font-body text-xs text-[#6B6560] mt-1",children:[r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:157",children:'4"'}),r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:157",children:'72"'})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:160",children:[r.jsxs("label",{"data-loc":"client/src/pages/Tools.tsx:161",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-2",children:["Height â ",v," inches"]}),r.jsx("input",{"data-loc":"client/src/pages/Tools.tsx:164",type:"range",min:4,max:96,step:2,value:v,onChange:K=>k(Number(K.target.value)),className:"w-full accent-[#111111]"}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:169",className:"flex justify-between font-body text-xs text-[#6B6560] mt-1",children:[r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:170",children:'4"'}),r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:170",children:'96"'})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:173",children:[r.jsx("label",{"data-loc":"client/src/pages/Tools.tsx:174",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-3",children:"Medium"}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:177",className:"grid grid-cols-3 gap-1",children:["oil","acrylic","watercolour","mixed","resin","digital"].map(K=>r.jsx("button",{"data-loc":"client/src/pages/Tools.tsx:179",onClick:()=>E(K),className:`font-body text-xs py-2 px-2 capitalize transition-colors border ${j===K?"bg-[#111111] text-white border-[#111111]":"bg-white text-[#6B6560] border-[#
231E8E6E1] hover:border-[#111111]"}`,children:K},K))})]})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:196",className:"space-y-4",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:198",className:"bg-[#111111] p-8",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:199",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-2",children:"Recommended Original Price"}),r.jsxs("p",{"data-loc":"client/src/pages/Tools.tsx:202",className:"font-display text-6xl font-light text-white",children:["$",Z.toLocaleString()]}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:205",className:"font-body text-xs text-white/40 mt-2",children:e==="formula"?`(Materials $${n} + ${l}h à $${d}) à ${Q[p]}`:`${x}" à ${v}" à $${F[j]}/sq.in à skill multiplier`})]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:213",className:"border border-[#E8E6E1] p-6 space-y-4",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:214",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#6B6560]",children:"Your Price Tiers"}),[{label:"Original (this work)",price:Z,tag:"Premium"},{label:"Limited Edition Print (1 of 25)",price:Math.round(Z*.12),tag:"Mid-range"},{label:"Open Edition Print",price:Math.round(Z*.06),tag:"Entry"}].map((K,ae)=>r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:222",className:"flex items-center justify-between py-2 border-b border-[#E8E6E1] last:border-0",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:223",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:224",className:"font-body text-sm text-[#111111]",children:K.label}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:225",className:"font-body text-xs text-[#B8962E]",children:K.tag})]}),r.jsxs("p",{"data-loc":"client/src/pages/Tools.tsx:227",className:"font-display text-xl font-light text-[#111111]",children:["$",K.price.toLocaleString()]})]},ae))]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:235",className:"bg-[#F5F4F2] p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:236",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#6B6560] mb-4",children:"Print Pricing Calculator"}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:239",className:"space-y-3 mb-4",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:240",children:[r.jsxs("label",{"data-loc":"client/src/pages/Tools.tsx:241",className:"font-body text-xs text-[#6B6560] block mb-1",children:["Print Cost â $",N]}),r.jsx("input",{"data-loc":"client/src/pages/Tools.tsx:242",type:"range",min:5,max:100,step:1,value:N,onChange:K=>O(Number(K.target.value)),className:"w-full accent-[#111111]"})]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:246",children:[r.jsxs("label",{"data-loc":"client/src/pages/Tools.tsx:247",className:"font-body text-xs text-[#6B6560] block mb-1",children:["Packaging â $",R]}),r.jsx("input",{"data-loc":"client/src/pages/Tools.tsx:248",type:"range",min:1,max:30,step:1,value:R,onChange:K=>_(Number(K.target.value)),className:"w-full accent-[#111111]"})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:253",className:"flex items-center justify-between",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:254",className:"font-body text-xs text-[#6B6560]",children:"Recommended print price"}),r.jsxs("p",{"data-loc":"client/src/pages/Tools.tsx:255",className:"font-display text-2xl font-light text-[#111111]",children:["$",D]})]}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:257",className:"font-body text-xs text-[#6B6560] mt-1",children:"(Cost à 3 â covers fees and margin)"})]})]})]})]})}const gr=[{type:"Process Reel",pillar:"Process",format:"Reel",desc:"Time-lapse or technique video"},{type:"Finished Work Reveal",pillar:"Sales",format:"Feed Post",desc:"High-quality photography + story caption"},{type:"Studio Story Series",pillar:"Story",format:"Stories",desc:"3â5 behind-the-scenes moments"},{type:"Collector Lifestyle",pillar:"Aspiration",format:"Reel/Feed",desc:"Your work in beautiful space
231s, living rooms, offices"},{type:"Collector Installation",pillar:"Sales",format:"Feed Post",desc:"Your work in a collector's home"},{type:"Personal Story",pillar:"Story",format:"Reel/Feed",desc:"Your journey, your why"},{type:"Sales Story",pillar:"Sales",format:"Stories",desc:"New work available, direct link"}];function dC(){const[e,s]=w.useState([{day:"Monday",content:"",caption:"",status:"empty"},{day:"Tuesday",content:"",caption:"",status:"empty"},{day:"Wednesday",content:"",caption:"",status:"empty"},{day:"Thursday",content:"",caption:"",status:"empty"},{day:"Friday",content:"",caption:"",status:"empty"},{day:"Saturday",content:"",caption:"",status:"empty"},{day:"Sunday",content:"",caption:"",status:"empty"}]),n=(u,d,f)=>{s(p=>p.map((g,x)=>x===u?{...g,[d]:f}:g))},o=e.filter(u=>u.status!=="empty").length,l=e.filter(u=>u.status==="posted").length;return r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:295",className:"space-y-6",children:[r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:297",className:"grid grid-cols-3 gap-px bg-[#E8E6E1]",children:[{value:o,label:"Posts Planned",total:7},{value:l,label:"Posts Published",total:7},{value:7-o,label:"Days Remaining",total:7}].map((u,d)=>r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:303",className:"bg-white p-5 text-center",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:304",className:"font-display text-3xl font-light text-[#111111]",children:u.value}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:305",className:"font-body text-xs text-[#6B6560] mt-1",children:u.label})]},d))}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:311",className:"space-y-px bg-[#E8E6E1]",children:e.map((u,d)=>r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:313",className:"bg-white p-5",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:314",className:"flex items-start gap-4",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:315",className:"w-24 flex-shrink-0",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:316",className:"font-display text-lg font-light text-[#111111]",children:u.day}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:317",className:"flex gap-1 mt-2",children:["empty","planned","posted"].map(f=>r.jsx("button",{"data-loc":"client/src/pages/Tools.tsx:319",onClick:()=>n(d,"status",f),className:`w-2 h-2 rounded-full transition-colors ${u.status===f?f==="posted"?"bg-green-500":f==="planned"?"bg-[#B8962E]":"bg-[#E8E6E1]":"bg-[#E8E6E1] hover:bg-[#6B6560]"}`,title:f},f))})]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:332",className:"flex-1 grid grid-cols-1 md:grid-cols-2 gap-3",children:[r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:333",children:r.jsxs("select",{"data-loc":"client/src/pages/Tools.tsx:334",value:u.content,onChange:f=>{n(d,"content",f.target.value),f.target.value&&u.status==="empty"&&n(d,"status","planned")},className:"w-full font-body text-sm text-[#111111] border border-[#E8E6E1] px-3 py-2 bg-white focus:outline-none focus:border-[#111111]",children:[r.jsx("option",{"data-loc":"client/src/pages/Tools.tsx:342",value:"",children:"Select content type..."}),gr.map(f=>r.jsxs("option",{"data-loc":"client/src/pages/Tools.tsx:344",value:f.type,children:[f.type," (",f.format,")"]},f.type))]})}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:348",children:r.jsx("input",{"data-loc":"client/src/pages/Tools.tsx:349",type:"text",placeholder:"Caption idea or note...",value:u.caption,onChange:f=>n(d,"caption",f.target.value),className:"w-full font-body text-sm text-[#111111] border border-[#E8E6E1] px-3 py-2 bg-white focus:outline-none focus:border-[#111111] placeholder:text-[#6B6560]/40"})})]})]}),u.content&&r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:360",className:"mt-3 ml-28",children:gr.find(f=>f.type===u.content)&&r.jsxs("p",{"data-loc":"client/src/pages/Tools.tsx:362",className:"font-body text-xs text-[#B8962E]",children:[gr.find(f=>f.type===u.content)?.desc," â Pillar: ",gr.find(f=>f.type===u.content)?.pillar]})})]},d))}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:373",className:"bg-[#F5F4F2] p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:374",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#6B6560] mb-4",children:"Content Mix This Week"}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:375",className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:["Process","Story","Aspiration","Sales"].map(u=>{const d=e.filter(f=>gr.find(g=>g.type===f.content)?.pillar===u).length;return r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:382",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:383",className:"flex items-center justify-between mb-1",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:384",className:"font-body text-xs text-[#6B6560]",children:u}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:385",className:"font-body text-xs font-medium text-[#111111]",children:d})]}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:387",className:"h-1 bg-[#E8E6E1]",children:r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:388",className:"h-full bg-[#B8962E] transition-all duration-500",style:{width:`${d/7*100}%`}})})]},u)})})]})]})}const Is=[{stage:"Awareness",icon:"â",description:"Strangers discover your work",channels:["Instagram Reels","Facebook Page posts","Hashtag discovery","Shares from followers"],actions:["Post process Reels 2Ã per week","Use 10â12 targeted hashtags","Engage with similar artists' audiences","Cross-post to Facebook"],metric:"Reach & new followers"},{stage:"Interest",icon:"â",description:"Followers engage with your content",channels:["Instagram Stories","Facebook Group","Email sign-up","Profile visits"],actions:["Post Stories daily","Invite engaged followers to your Group","Offer lead magnet for email sign-up","Respond to every comment"],metric:"Story views & email subscribers"},{stage:"Desire",icon:"â",description:"Followers want your work",channels:["DM conversations","Email newsletters","Facebook Live reveals","Instagram Close Friends"],actions:["Share new work via email first","Host monthly Facebook Live reveals","DM warm leads personally","Share collector installation photos"],metric:"DM enquiries & email open rate"},{stage:"Action",icon:"â
",description:"Followers become collectors",channels:["Direct DM sales","Website/shop","Email launch campaigns","Facebook Group exclusives"],actions:["Create urgency with limited editions","Offer Group members first access","Follow up DM enquiries within 24h","Make buying easy â clear payment options"],metric:"Sales & revenue"},{stage:"Loyalty",icon:"â¦",description:"Collectors become champions",channels:["Post-sale follow-up","Facebook Group VIP","Email collector updates","Private previews"],actions:["Send handwritten thank-you note","Request installation photo","Invite to Facebook Group","Give early access to new work"],metric:"Repeat sales & referrals"}];function hC(){const[e,s]=w.useState(0),[n,o]=w.useState({}),l=(f,p)=>{o(g=>{const x=new Set(g[f]||[]);return x.has(p)?x.delete(p):x.add(p),{...g,[f]:x}})},u=Is.reduce((f,p)=>f+p.actions.length,0),d=Object.values(n).reduce((f,p)=>f+p.size,0);return r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:459",className:"space-y-6",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:461",className:"bg-[#111111] p-6 flex items-center justify-between",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:462",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:463",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-1",children:"Funnel Setup Progress"}),r.jsxs("p",{"data-loc":"client/src/pages/Tools.tsx:464",className:"font-display text-3xl font-light text-white",children:[d," / ",u," actions"]})]}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:466",className:"w-32 h-0.5 bg-white/10",children:r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:467",className:"h-full bg-[#B8962E] transition-all duration-700",style:{width:`${d/u*100}%`}})})]}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:472",className:"grid grid-cols-5 ga
231p-px bg-[#E8E6E1] mb-0",children:Is.map((f,p)=>r.jsxs("button",{"data-loc":"client/src/pages/Tools.tsx:474",onClick:()=>s(p),className:`p-4 text-center transition-colors ${e===p?"bg-[#111111] text-white":"bg-white text-[#6B6560] hover:bg-[#F5F4F2]"}`,children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:481",className:"font-display text-xl mb-1",style:{color:e===p?"#B8962E":"#E8E6E1"},children:f.icon}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:484",className:"font-body text-xs font-medium tracking-[0.06em] uppercase",children:f.stage}),(n[p]?.size||0)>0&&r.jsxs("p",{"data-loc":"client/src/pages/Tools.tsx:488",className:"font-body text-xs mt-1",style:{color:"#B8962E"},children:[n[p]?.size,"/",f.actions.length]})]},p))}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:497",className:"border border-[#E8E6E1] p-8",children:r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:498",className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:499",children:[r.jsxs("p",{"data-loc":"client/src/pages/Tools.tsx:500",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-2",children:["Stage ",e+1," of 5"]}),r.jsx("h3",{"data-loc":"client/src/pages/Tools.tsx:503",className:"font-display text-3xl font-light text-[#111111] mb-2",children:Is[e].stage}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:506",className:"font-body text-sm text-[#6B6560] mb-6",children:Is[e].description}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:510",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] mb-3",children:"Channels"}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:511",className:"flex flex-wrap gap-2 mb-6",children:Is[e].channels.map((f,p)=>r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:513",className:"font-body text-xs px-3 py-1 bg-[#F5F4F2] text-[#6B6560]",children:f},p))}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:517",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] mb-2",children:"Key Metric"}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:518",className:"font-body text-sm text-[#111111]",children:Is[e].metric})]}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:521",children:[r.jsxs("p",{"data-loc":"client/src/pages/Tools.tsx:522",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] mb-3",children:["Action Checklist (",n[e]?.size||0,"/",Is[e].actions.length," done)"]}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:525",className:"space-y-2",children:Is[e].actions.map((f,p)=>r.jsxs("button",{"data-loc":"client/src/pages/Tools.tsx:527",onClick:()=>l(e,p),className:"w-full flex items-center gap-3 p-3 border border-[#E8E6E1] hover:bg-[#F5F4F2] transition-colors text-left",children:[r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:532",className:`w-4 h-4 border flex-shrink-0 flex items-center justify-center transition-colors ${n[e]?.has(p)?"bg-[#111111] border-[#111111]":"border-[#E8E6E1]"}`,children:n[e]?.has(p)&&r.jsx("svg",{"data-loc":"client/src/pages/Tools.tsx:536",width:"8",height:"6",viewBox:"0 0 8 6",fill:"none",children:r.jsx("path",{"data-loc":"client/src/pages/Tools.tsx:537",d:"M1 3L3 5L7 1",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:541",className:`font-body text-sm transition-colors ${n[e]?.has(p)?"text-[#6B6560] line-through":"text-[#111111]"}`,children:f})]},p))})]})]})}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:554",className:"flex justify-between",children:[r.jsx("button",{"data-loc":"client/src/pages/Tools.tsx:555",onClick:()=>s(Math.max(0,e-1)),disabled:e===0,className:"font-body text-xs font-medium tracking-[0.1em] uppercase px-6 py-3 border border-[#E8E6E1] text-[#6B6560] hover:border-[#111111] hover:text-[#111111] disabled:opacity-30 disabled:cursor-not-allowed transition-colors",children:"â Previous Stage"}),r.jsx("button",{"data-loc":"client/src/pages/Tools.tsx:562",onClick:()=>s(Math.min(Is.length-1,e+1)),disabled:e===Is.length-1,className:"font-body text-xs font-medium tracking-[0.1em] uppercase px-6 py-3 bg-[#111111] text-white hover:bg-[#333333] disabled:opacity-30 disabled:cursor-not-allowed transition-colors",children:"Next Stage â"})]})]})}function fC(){const[e,s]=w.useState("pricing");w.useEffect(()=>{window.scrollTo(0,0)},[]);const n=[{key:"pricing",label:"Art Pricing Calculator",desc:"Calculate the right price for your originals and prints"},{key:"planner",label:"Instagram Content Planner",desc:"Plan your weekly content across all four pillars"},{key:"funnel",label:"Collector Funnel Builder",desc:"Build your complete collector acquisition system"}
231],o=r.jsx(Ee,{"data-loc":"client/src/pages/Tools.tsx:587",href:"/captions",children:r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:588",className:"border border-[#E8E6E1] p-6 hover:border-[#B8962E] transition-colors cursor-pointer group",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:589",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#B8962E] mb-2",children:"New Tool"}),r.jsx("h3",{"data-loc":"client/src/pages/Tools.tsx:590",className:"font-display text-xl font-light text-[#111111] group-hover:text-[#B8962E] transition-colors mb-1",children:"Caption Generator"}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:591",className:"font-body text-xs text-[#6B6560] leading-relaxed",children:"Write Instagram captions in your own voice â not a generic template. Takes 3 minutes."}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:592",className:"font-body text-xs font-medium tracking-[0.08em] uppercase text-[#111111] mt-4 group-hover:text-[#B8962E] transition-colors",children:"Open Tool â"})]})});return r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:598",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/Tools.tsx:599"}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:602",className:"mt-16 pt-16 pb-12 border-b border-[#E8E6E1]",children:r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:603",className:"container",children:r.jsxs(Vh,{"data-loc":"client/src/pages/Tools.tsx:604",children:[r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:605",className:"gallery-rule mb-6 block"}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:606",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#6B6560] mb-3",children:"Interactive Tools"}),r.jsxs("h1",{"data-loc":"client/src/pages/Tools.tsx:609",className:"font-display text-5xl md:text-6xl font-light text-[#111111] mb-4",children:["Your Gallery",r.jsx("br",{"data-loc":"client/src/pages/Tools.tsx:610"}),r.jsx("em",{"data-loc":"client/src/pages/Tools.tsx:611",className:"italic",children:"Toolkit"})]}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:613",className:"font-body text-sm text-[#6B6560] max-w-lg leading-relaxed",children:"Four professional tools to help you price your work, plan your content, build your collector funnel, and write captions in your own voice â all based on proven gallery methodology."})]})})}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:621",className:"border-b border-[#E8E6E1] bg-white sticky top-16 z-40",children:r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:622",className:"container",children:r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:623",className:"flex gap-0 overflow-x-auto",children:n.map(l=>r.jsx("button",{"data-loc":"client/src/pages/Tools.tsx:625",onClick:()=>s(l.key),className:`py-4 px-5 text-left border-b-2 transition-colors whitespace-nowrap ${e===l.key?"border-[#111111]":"border-transparent hover:border-[#E8E6E1]"}`,children:r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:634",className:`font-body text-xs font-medium tracking-[0.08em] uppercase transition-colors ${e===l.key?"text-[#111111]":"text-[#6B6560]"}`,children:l.label})},l.key))})})}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:646",className:"py-12 md:py-16",children:r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:647",className:"container",children:[r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:648",className:"mb-8",children:[r.jsx("h2",{"data-loc":"client/src/pages/Tools.tsx:649",className:"font-display text-3xl font-light text-[#111111] mb-2",children:n.find(l=>l.key===e)?.label}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:652",className:"font-body text-sm text-[#6B6560]",children:n.find(l=>l.key===e)?.desc})]}),e==="pricing"&&r.jsx(uC,{"data-loc":"client/src/pages/Tools.tsx:657"}),e==="planner"&&r.jsx(dC,{"data-loc":"client/src/pages/Tools.tsx:658"}),e==="funnel"&&r.jsx(hC,{"data-loc":"client/src/pages/Tools.tsx:659"}),r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:660",className:"mt-12 pt-8 border-t border-[#E8E6E1]",children:[r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:661",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#6B6560] mb-4",children:"Also Available"}),o]})]})}),r.jsx("section",{"data-loc":"client/src/pages/Tools.tsx:668",className:"py-16 bg-[#F5F4F2]",children:r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:669",className:"container",children:[r.jsx(Vh,{"data-loc":"client/src/pages/Tools.tsx:670",children:r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:671",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#6B6560] mb-8",children:"Deepen Your Knowledge"})}),r.jsx("div",{"data-loc":"client/src/pages/Tools.tsx:675",className:"grid grid-cols-1 md:grid-cols-3 gap-px bg-[#E8E6E1]",children:[{href:"/module/2",title:"Pricing Your Work",desc:"The full methodology behind the calculator",number:"02"},{href:"/instagram",title:"Instagram Playbook",desc:"The full strategy behind the content planner",number:"04"},{href:"/module/6",title:"Collector Relationships",desc:"The full guide to building your funnel",number:"06"}].map((l,u)=>r.jsx(Vh,{"data-loc":"client/src/pages/Tools.tsx:681",delay:u*80,children:r.jsx(Ee,{"data-loc":"client/src/pages/Tools.tsx:682",href:l.href,children:r.jsxs("div",{"data-loc":"client/src/pages/Tools.tsx:683",className:"bg-white p-8 group cursor-pointer hover:bg-[#111111] transition-colors duration-300 h-full",children:[r.jsx("span",{"data-loc":"client/src/pages/Tools.tsx:684",className:"font-display text-4xl font-light text-[#E8E6E1] group-hover:text-white/10 transition-colors block mb-4",children:l.number}),r.jsx("h3",{"data-loc":"client/src/pages/Tools.tsx:687",className:"font-display text-xl font-light text-[#111111] group-hover:text-white transition-colors mb-2",children:l.title}),r.jsx("p",{"data-loc":"client/src/pages/Tools.tsx:690",className:"font-body text-sm text-[#6B6560] group-hover:text-white/60 transition-colors",children:l.desc})]})})},u))})]})}),r.jsx(ut,{"data-loc":"client/src/pages/Tools.tsx:701"})]})}const pC="https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/artist-instagram-minimal-GRJ9jGpetw2cAuHRhHKao6.webp";function mC(e=.15){const s=w.useRef(null),[n,o]=w.useState(!1);return w.useEffect(()=>{const l=new IntersectionObserver(([u])=>{u.isIntersecting&&o(!0)},{threshold:e});return s.current&&l.observe(s.current),()=>l.disconnect()},[]),{ref:s,visible:n}}function Vs({children:e,delay:s=0}){const{ref:n,visible:o}=mC();return r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:28",ref:n,style:{opacity:o?1:0,transform:o?"translateY(0)":"translateY(24px)",transition:`opacity 0.7s ease ${s}ms, transform 0.7s ease ${s}ms`},children:e})}const gC=[{day:"Monday",type:"Process Reel",description:"Time-lapse of work in progress. Hook: 'Watch this painting come to life.' 15â30 seconds.",format:"Reel",goal:"Discovery & reach"},{day:"Tuesday",type:"Story Series",description:"3â5 Stories: studio morning, current work detail, poll ('Which colour should I add next?')",format:"Stories",goal:"Engagement & warmth"},{day:"Wednesday",type:"Feed Post",description:"Finished work reveal. High-quality photography. Caption tells the story behind the piece.",format:"Feed Post",goal:"Sales & collector interest"},{day:"Thursday",type:"Story Series",description:"Behind-the-scenes: materials, inspiration, a personal moment. Q&A sticker.",format:"Stories",goal:"Community & trust"},{day:"Friday",type:"Collector Lifestyle Reel",description:"Your work styled in a beautiful space. A collector's home, a styled interior, art against architecture. Hook: 'This is what it looks like on the wall.'",format:"Reel/Feed",goal:"Aspiration & collector interest"},{day:"Saturday",type:"Story: Sales",description:"New work available. Direct link to shop or DM prompt. Urgency: 'Only 1 available.'",format:"Stories",goal:"Direct sales"},{day:"Sunday",type:"Rest or Repurpose",description:"Optional: share a collector installation photo or a throwback to a sold piece.",format:"Optional",goal:"Social proof"}],xC=[{number:"01",title:"Process",description:"The making of your art. Time-lapses, close-ups, material details, studio moments. This content has the highest watch time and is most likely to go viral.",examples:["Painting time-lapse","Palette close-up","Studio morning routine","Technique demonstration"],metric:"Watch time & reach"},{number:"02",title:"Story",description:"Your personal narrative. Why you make art, your journey, your struggles, your breakthroughs. This content creates emotional connection and drives shares.",examples:["Your 'why' as an artist","A piece that changed your practice","How you got started","A collector story"],metric:"Shares & saves"},{number:"03",title:"Aspiration",description:"Your work living in beautiful space
231s. Collector installations, interior pairings, lifestyle imagery. This content speaks directly to buyers â it helps them picture your art in their own home.",examples:["Your work in a collector's living room","Art styled against architecture","A piece in natural light at home","Before and after: bare wall to statement piece"],metric:"Saves & collector DMs"},{number:"04",title:"Sales",description:"Direct sales content: new work available, commissions open, limited editions. This should be 20â30% of your content â present but not dominant.",examples:["New work reveal","Commission availability","Limited edition launch","Collector installation photo"],metric:"Conversions & DMs"}],yC=[{step:"0â2s",label:"The Hook",desc:"A visually stunning opening frame. The most beautiful or surprising moment of your work. No text needed â the image does the work."},{step:"2â5s",label:"The Promise",desc:"A text overlay or voiceover that tells viewers what they'll see: 'Watch this blank canvas become...' or 'I painted this in 4 hours.'"},{step:"5â25s",label:"The Content",desc:"The time-lapse, the process, the story. Keep it moving. Cut anything that slows the pace. Every second must earn its place."},{step:"25â30s",label:"The Reveal",desc:"The finished work, beautifully photographed. The payoff for watching. Make it worth it."},{step:"Final frame",label:"The CTA",desc:"One clear call to action: 'Available â link in bio' or 'Commission enquiries: DM me.' One action only."}];function bC(){const[e,s]=w.useState("pillars");return w.useEffect(()=>{window.scrollTo(0,0)},[]),r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:135",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:136"}),r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:139",className:"relative h-[50vh] min-h-[400px] mt-16",children:[r.jsx("img",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:140",src:pC,alt:"Instagram strategy",className:"w-full h-full object-cover"}),r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:141",className:"absolute inset-0 bg-black/50"}),r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:142",className:"absolute inset-0 flex items-end",children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:143",className:"container pb-12",children:[r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:144",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-white/50 mb-2",children:"Module 04"}),r.jsxs("h1",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:145",className:"font-display text-5xl md:text-7xl font-light text-white leading-tight",children:["Instagram as",r.jsx("br",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:146"}),r.jsx("em",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:146",className:"italic",children:"Your Gallery"})]}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:148",className:"font-body text-sm text-white/60 mt-2",children:"The complete playbook for artists selling on Instagram"})]})})]}),r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:154",className:"border-b border-[#E8E6E1] bg-white sticky top-16 z-40",children:r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:155",className:"container",children:r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:156",className:"flex gap-0 overflow-x-auto",children:[{key:"pillars",label:"Content Pillars"},{key:"weekly",label:"Weekly Plan"},{key:"reels",label:"Reel Formula"},{key:"bio",label:"Profile Optimisation"}].map(n=>r.jsx("button",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:163",onClick:()=>s(n.key),className:`font-body text-xs font-medium tracking-[0.08em] uppercase py-4 px-5 whitespace-nowrap border-b-2 transition-colors ${e===n.key?"border-[#111111] text-[#111111]":"border-transparent text-[#6B6560] hover:text-[#111111]"}`,children:n.label},n.key))})})}),r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:180",className:"py-16 md:py-24",children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:181",className:"container",children:[e==="pillars"&&r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:185",children:[r.jsx(Vs,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:186",children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:187",className:"max-w-2xl mb-16",children:[r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:188",className:"gallery-rule mb-6 block"}),r.jsx("h2",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:189",className:"font-display text-4xl font-light text-[#111111] mb-4",children:"The Four Content Pillars"}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:190",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"Every successful art account is built on four types of content. Think of these as the four rooms of your gallery: each serves a different purpose, attracts a different visitor, and moves them closer to becoming a collector."})]})}),r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:195",className:"grid grid-cols-1 md:grid-cols-2 gap-px bg-[#E8E6E1]",children:xC.map((n,o)=>r.jsx(Vs,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:197",delay:o*80,children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:198",className:"bg-white p-8 h-full",children:[r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:199",className:"flex items-start justify-between mb-4",children:[r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:200",className:"font-display text-5xl font-light text-[#E8E6E1]",children:n.number}),r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:201",className:"font-body text-xs tracking-[0.1em] uppercase text-[#B8962E]",children:n.metric})]}),r.jsx("h3",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:203",className:"font-display text-2xl font-light text-[#111111] mb-3",children:n.title}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:204",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-5",children:n.description}),r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:205",className:"space-y-2",children:n.examples.map((l,u)=>r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:207",className:"flex gap-2 items-center",children:[r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:208",className:"w-1 h-1 rounded-full bg-[#B8962E] flex-shrink-0"}),r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:209",className:"font-body text-xs text-[#6B6560]",children:l})]},u))})]})},o))})]}),e==="weekly"&&r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:222",children:[r.jsx(Vs,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:223",children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:224",className:"max-w-2xl mb-16",children:[r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:225",className:"gallery-rule mb-6 block"}),r.jsx("h2",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:226",className:"font-display text-4xl font-light text-[#111111] mb-4",children:"Your Weekly Content Plan"}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:227",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"Consistency is the foundation of Instagram growth. This weekly plan gives you a repeatable structure that covers all four content pillars, maintains algorithm momentum, and protects your creative energy by batching content on Fridays."})]})}),r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:232",className:"space-y-px bg-[#E8E6E1]",children:gC.map((n,o)=>r.jsx(Vs,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:234",delay:o*60,children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:235",className:"bg-white p-6 grid grid-cols-1 md:grid-cols-5 ga
231p-4 items-start",children:[r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:236",children:[r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:237",className:"font-display text-lg font-light text-[#111111]",children:n.day}),r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:238",className:`font-body text-xs tracking-[0.08em] uppercase mt-1 inline-block ${n.format==="Reel"?"text-[#B8962E]":n.format==="Stories"?"text-[#6B6560]":n.format==="Feed Post"?"text-[#111111]":"text-[#E8E6E1]"}`,children:n.format})]}),r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:246",className:"md:col-span-2",children:[r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:247",className:"font-body text-sm font-medium text-[#111111] mb-1",children:n.type}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:248",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:n.description})]}),r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:250",className:"md:col-span-2",children:r.jsxs("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:251",className:"font-body text-xs text-[#6B6560] tracking-wide",children:["Goal: ",r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:251",className:"text-[#111111]",children:n.goal})]})})]})},o))}),r.jsx(Vs,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:257",delay:400,children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:258",className:"mt-8 bg-[#F5F4F2] p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:259",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-3",children:"Pro Tip: Batch Your Content"}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:260",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"On Fridays, spend 2â3 hours creating all your content for the following week. Photograph your work, film your Reels, write your captions, and schedule everything using Instagram's native scheduler or a tool like Later. This protects your studio time and ensures you never miss a post."})]})})]}),e==="reels"&&r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:270",children:[r.jsx(Vs,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:271",children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:272",className:"max-w-2xl mb-16",children:[r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:273",className:"gallery-rule mb-6 block"}),r.jsx("h2",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:274",className:"font-display text-4xl font-light text-[#111111] mb-4",children:"The High-Performance Reel Formula"}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:275",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"Reels are Instagram's primary discovery engine â they reach non-followers and drive account growth. This 5-part formula is used by artists generating millions of views. Every second is intentional."})]})}),r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:280",className:"space-y-px bg-[#E8E6E1]",children:yC.map((n,o)=>r.jsx(Vs,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:282",delay:o*80,children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:283",className:"bg-white p-8 grid grid-cols-1 md:grid-cols-4 gap-6 items-start",children:[r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:284",children:[r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:285",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-1",children:"Timestamp"}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:286",className:"font-display text-2xl font-light text-[#111111]",children:n.step})]}),r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:288",className:"md:col-span-3",children:[r.jsx("h3",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:289",className:"font-display text-xl font-light text-[#111111] mb-2",children:n.label}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:290",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:n.desc})]})]})},o))}),r.jsx(Vs,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:296",delay:500,children:r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:297",className:"mt-8 grid grid-cols-1 md:grid-cols-3 gap-px bg-[#E8E6E1]",children:[{metric:"50%+",label:"Target watch-time completion"},{metric:"15â30s",label:"Optimal Reel length for artists"},{metric:"4â5Ã",label:"Posts per week for algorithm momentum"}].map((n,o)=>r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:303",className:"bg-[#111111] p-6 text-center",children:[r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:304",className:"font-display text-4xl font-light text-white mb-2",children:n.metric}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:305",className:"font-body text-xs text-white/40 tracking-wide",children:n.label})]},o))})})]}),e==="bio"&&r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:315",children:[r.jsx(Vs,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:316",children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:317",className:"max-w-2xl mb-16",children:[r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:318",className:"gallery-rule mb-6 block"}),r.jsx("h2",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:319",className:"font-display text-4xl font-light text-[#111111] mb-4",children:"Profile Optimisation"}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:320",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"Your Instagram profile is your gallery entrance. A visitor decides in 3 seconds whether to follow you. Every element must communicate: who you are, what you make, and why they should care."})]})}),r.jsx("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:325",className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[{title:"Profile Photo",desc:"Use a professional headshot â not your artwork. Collectors buy from people they trust. Your face builds that trust. Use a photo with good light, a neutral background, and a genuine expression.",do:"Professional headshot, good light, genuine smile",dont:"Artwork as profile photo, dark or blurry images"},{title:"Username",desc:"Use your real name or a consistent artist name. Avoid numbers, underscores, or abbreviations. Your username is your brand â it should be memorable and searchable.",do:"@janesmithartist or @janesmith.art",dont:"@artist_jane_2024 or @js_art_official"},{title:"Bio (150 characters)",desc:"Your bio has three jobs: tell people what you make, tell them who it's for, and tell them what to do next. Follow this formula: [What you make] | [For whom] | [Call to action]",do:"Abstract oil paintings for bold interiors | Commissions open | Shop â",dont:"Artist | Lover of colour | Creating beauty in the world"},{title:"Link in Bio",desc:"Use a link-in-bio tool (Linktree, Beacons, or your own website) to direct followers to: your shop, your email sign-up, your commission enquiry form, and your Facebook page.",do:"A curated link page with 3â4 clear options",dont:"A single link to your homepage with no clear next step"},{title:"Story Highlights",desc:"Use Highlights to create a permanent gallery of your best content. Recommended highlights: 'Work' (your best pieces), 'Process' (time-lapses), 'Commissions' (how to order), 'About' (your story).",do:"4â6 highlights with custom covers, clearly labelled",dont:"No highlights, or highlights with no covers or labels"},{title:"Grid Aesthetic",desc:"Your grid is your gallery wall. The first 9 posts are what new visitors see. They should be visually cohesive â consistent lighting, consistent editing style, consistent subject matter.",do:"Consistent warm tones, consistent white-wall photography",dont:"Mixed styles, phone screenshots, text-heavy graphics"}].map((n,o)=>r.jsx(Vs,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:364",delay:o*60,children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:365",className:"border border-[#
231E8E6E1] p-6 h-full",children:[r.jsx("h3",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:366",className:"font-display text-xl font-light text-[#111111] mb-3",children:n.title}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:367",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-4",children:n.desc}),r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:368",className:"space-y-2",children:[r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:369",className:"flex gap-2 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:370",className:"font-body text-xs text-green-600 font-medium mt-0.5 flex-shrink-0",children:"DO"}),r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:371",className:"font-body text-xs text-[#6B6560]",children:n.do})]}),r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:373",className:"flex gap-2 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:374",className:"font-body text-xs text-red-500 font-medium mt-0.5 flex-shrink-0",children:"DON'T"}),r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:375",className:"font-body text-xs text-[#6B6560]",children:n.dont})]})]})]})},o))})]})]})}),r.jsx("section",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:388",className:"py-16 bg-[#111111]",children:r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:389",className:"container flex flex-col md:flex-row items-start md:items-center justify-between gap-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:390",children:[r.jsx("h2",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:391",className:"font-display text-3xl font-light text-white mb-2",children:"Ready to plan your content?"}),r.jsx("p",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:392",className:"font-body text-sm text-white/50",children:"Use the Instagram Launch Planner in the Tools section."})]}),r.jsx(Ee,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:394",href:"/tools",children:r.jsx("span",{"data-loc":"client/src/pages/InstagramPlaybook.tsx:395",className:"inline-block bg-white text-[#111111] font-body text-xs font-medium tracking-[0.12em] uppercase px-8 py-4 hover:bg-[#B8962E] hover:text-white transition-colors cursor-pointer whitespace-nowrap",children:"Open Tools"})})]})}),r.jsx(ut,{"data-loc":"client/src/pages/InstagramPlaybook.tsx:402"})]})}const vC="https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/gallery-opening-night-4VsgPtrCebJxGYKjLaJ28Y.webp";function wC(e=.15){const s=w.useRef(null),[n,o]=w.useState(!1);return w.useEffect(()=>{const l=new IntersectionObserver(([u])=>{u.isIntersecting&&o(!0)},{threshold:e});return s.current&&l.observe(s.current),()=>l.disconnect()},[]),{ref:s,visible:n}}function Rs({children:e,delay:s=0}){const{ref:n,visible:o}=wC();return r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:28",ref:n,style:{opacity:o?1:0,transform:o?"translateY(0)":"translateY(24px)",transition:`opacity 0.7s ease ${s}ms, transform 0.7s ease ${s}ms`},children:e})}const SC=[{format:"Short-Form Video (Reels)",performance:"Highest reach",description:"Videos up to 90 seconds. Aspirational and process-driven content outperforms promotional. The first 3 seconds must hook the viewer. Focus on a single point. Create in Instagram, cross-post to Facebook.",tips:["Hook in first 3 seconds","Single clear message","Show people, not just products","Cross-post from Instagram"]},{format:"Image Posts (4:5 ratio)",performance:"Strong feed presence",description:"Single images remain effective when optimised. Use 4:5 aspect ratio for maximum feed space. Place links in first comment, not the post body. Use real photographs â not AI-generated images.",tips:["4:5 aspect ratio","Links in first comment","Real photos over AI images","Consistent editing style"]},{format:"Colour Background Text Posts",performance:"High algorithm favour",description:"Text-based posts with colourful backgrounds perform remarkably well. Bright colours stop the scroll. Frame as questions or highly shareable observations. Post 1â2 times per week.",tips:["Bold, bright background colours","Frame as a question","Highly shareable content","1â2 per week maximum"]},{format:"Facebook Live",performance:"Highest engagement",description:"Live video is experiencing a resurgence for arts content. Use for new w
231ork reveals, live painting sessions, and Q&A. Announce 24â48 hours in advance. Lives are saved and can be repurposed.",tips:["Announce 24â48 hours ahead","20â30 minute format","Engage with comments live","Save and repurpose after"]},{format:"Stories",performance:"Top-of-feed visibility",description:"Stories don't benefit from the discovery engine but maintain prominent top-of-feed position. Use to test content ideas, maintain daily visibility, and share personal moments. Post daily.",tips:["Post daily for visibility","Test new content ideas","Personal and behind-the-scenes","Use polls and questions"]}],qh=[{item:"Page name matches your artist name exactly",category:"Setup"},{item:"Cover photo: your best work at 4:5 ratio",category:"Setup"},{item:"Profile photo: professional headshot",category:"Setup"},{item:"About section: artist statement + website + contact",category:"Setup"},{item:"Call-to-action button: 'Shop Now' or 'Contact'",category:"Setup"},{item:"Post 4â5 times per week minimum",category:"Content"},{item:"60% aspiration/story content, 30% process, 10% direct sales",category:"Content"},{item:"Cross-post Reels from Instagram (remove watermark)",category:"Content"},{item:"Respond to every comment within 24 hours",category:"Engagement"},{item:"Create shareable content that people forward in DMs",category:"Engagement"},{item:"Monitor non-follower reach in Meta Business Suite",category:"Analytics"},{item:"Track private message shares as algorithm signal",category:"Analytics"}],kC=[{phase:"Phase 1",title:"Create & Name",desc:"Create a private Facebook Group named '[Your Name] Collector Circle' or '[Your Name] Studio Access.' Set it to private â exclusivity is the point."},{phase:"Phase 2",title:"Seed with 20",desc:"Invite your 20 most engaged followers, past buyers, and close supporters. These are your founding members. Their early engagement sets the tone."},{phase:"Phase 3",title:"Establish Rituals",desc:"Create weekly rituals: 'Monday Studio Update,' 'Friday First Look' (new work before it goes public), 'Monthly Live Q&A.' Consistency builds habit."},{phase:"Phase 4",title:"Grow Organically",desc:"Mention the group in your Instagram bio, Stories, and posts. 'Join my private collector group for first access to new work.' Grow to 100â500 engaged members."},{phase:"Phase 5",title:"Monetise",desc:"Offer group members exclusive pricing, first access to new work, and commission priority. Your group becomes your highest-converting sales channel."}];function jC(){const[e,s]=w.useState("page"),[n,o]=w.useState(new Set);w.useEffect(()=>{window.scrollTo(0,0)},[]);const l=u=>{o(d=>{const f=new Set(d);return f.has(u)?f.delete(u):f.add(u),f})};return r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:129",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/FacebookStrategy.tsx:130"}),r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:133",className:"relative h-[50vh] min-h-[400px] mt-16",children:[r.jsx("img",{"data-loc":"client/src/pages/FacebookStrategy.tsx:134",src:vC,alt:"Gallery opening",className:"w-full h-full object-cover"}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:135",className:"absolute inset-0 bg-black/55"}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:136",className:"absolute inset-0 flex items-end",children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:137",className:"container pb-12",children:[r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:138",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-white/50 mb-2",children:"Module 05"}),r.jsxs("h1",{"data-loc":"client/src/pages/FacebookStrategy.tsx:139",className:"font-display text-5xl md:text-7xl font-light text-white leading-tight",children:["Facebook &",r.jsx("br",{"data-loc":"client/src/pages/FacebookStrategy.tsx:140"}),r.jsx("em",{"data-loc":"client/src/pages/FacebookStrategy.tsx:140",className:"italic",children:"Collector Community"})]}),r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:142",className:"font-body text-sm text-white/60 mt-2",children:"Build the collector community that sustains your practice"})]})})]}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:148",className:"border-b border-[#
231E8E6E1] bg-white sticky top-16 z-40",children:r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:149",className:"container",children:r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:150",className:"flex gap-0 overflow-x-auto",children:[{key:"page",label:"Your Page"},{key:"group",label:"Collector Group"},{key:"content",label:"Content Formats"},{key:"live",label:"Live Strategy"}].map(u=>r.jsx("button",{"data-loc":"client/src/pages/FacebookStrategy.tsx:157",onClick:()=>s(u.key),className:`font-body text-xs font-medium tracking-[0.08em] uppercase py-4 px-5 whitespace-nowrap border-b-2 transition-colors ${e===u.key?"border-[#111111] text-[#111111]":"border-transparent text-[#6B6560] hover:text-[#111111]"}`,children:u.label},u.key))})})}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:173",className:"py-16 md:py-24",children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:174",className:"container",children:[e==="page"&&r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:178",children:[r.jsx(Rs,{"data-loc":"client/src/pages/FacebookStrategy.tsx:179",children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:180",className:"max-w-2xl mb-16",children:[r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:181",className:"gallery-rule mb-6 block"}),r.jsx("h2",{"data-loc":"client/src/pages/FacebookStrategy.tsx:182",className:"font-display text-4xl font-light text-[#111111] mb-4",children:"Your Facebook Page"}),r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:183",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"Your Facebook Page is your public gallery storefront. It should be as curated and professional as a gallery's website. Use this interactive checklist to audit and optimise your Page."})]})}),r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:188",className:"max-w-2xl",children:[r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:189",className:"space-y-px bg-[#E8E6E1]",children:qh.map((u,d)=>r.jsx(Rs,{"data-loc":"client/src/pages/FacebookStrategy.tsx:191",delay:d*40,children:r.jsxs("button",{"data-loc":"client/src/pages/FacebookStrategy.tsx:192",onClick:()=>l(d),className:"w-full bg-white p-5 flex items-center gap-4 text-left hover:bg-[#F5F4F2] transition-colors",children:[r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:196",className:`w-5 h-5 border flex-shrink-0 flex items-center justify-center transition-colors ${n.has(d)?"bg-[#111111] border-[#111111]":"border-[#E8E6E1]"}`,children:n.has(d)&&r.jsx("svg",{"data-loc":"client/src/pages/FacebookStrategy.tsx:200",width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",children:r.jsx("path",{"data-loc":"client/src/pages/FacebookStrategy.tsx:201",d:"M1 4L3.5 6.5L9 1",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:205",className:"flex-1",children:r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:206",className:`font-body text-sm transition-colors ${n.has(d)?"text-[#6B6560] line-through":"text-[#111111]"}`,children:u.item})}),r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:210",className:"font-body text-xs tracking-[0.08em] uppercase text-[#B8962E] flex-shrink-0",children:u.category})]})},d))}),r.jsx(Rs,{"data-loc":"client/src/pages/FacebookStrategy.tsx:217",delay:500,children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:218",className:"mt-6 bg-[#F5F4F2] p-5 flex items-center justify-between",children:[r.jsxs("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:219",className:"font-body text-sm text-[#6B6560]",children:[n.size," of ",qh.length," completed"]}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:222",className:"w-32 h-0.5 bg-[#E8E6E1] relative",children:r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:223",className:"absolute inset-y-0 left-0 bg-[#B8962E] transition-all duration-500",style:{width:`${n.size/qh.length*100}%`}})})]})})]})]}),e==="group"&&r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:236",children:[r.jsx(Rs,{"data-loc":"client/src/pages/FacebookStrategy.tsx:237",children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:238",className:"max-w-2xl mb-16",children:[r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:239",className:"gallery-rule mb-6 block"}),r.jsx("h2",{"data-loc":"client/src/pages/FacebookStrategy.tsx:240",className:"font-display text-4xl font-light text-[#111111] mb-4",children:"The Collector Group"}),r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:241",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"Your private Facebook Group is the digital equivalent of a gallery's VIP programme. It's where your most loyal collectors gather, where you share first looks, and where your highest-converting sales happen. Build it in five phases."})]})}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:246",className:"space-y-px bg-[#E8E6E1]",children:kC.map((u,d)=>r.jsx(Rs,{"data-loc":"client/src/pages/FacebookStrategy.tsx:248",delay:d*80,children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:249",className:"bg-white p-8 grid grid-cols-1 md:grid-cols-4 gap-6 items-start",children:[r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:250",children:[r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:251",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-1",children:u.phase}),r.jsx("h3",{"data-loc":"client/src/pages/FacebookStrategy.tsx:252",className:"font-display text-2xl font-light text-[#111111]",children:u.title})]}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:254",className:"md:col-span-3",children:r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:255",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:u.desc})})]})},d))}),r.jsx(Rs,{"data-loc":"client/src/pages/FacebookStrategy.tsx:261",delay:500,children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:262",className:"mt-8 bg-[#111111] p-8",children:[r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:263",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-3",children:"Group Content Calendar"}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:264",className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[{day:"Monday",content:"Studio Update â what you're working on this week"},{day:"Wednesday",content:"Mid-week process photo or short video"},{day:"Friday",content:"First Look â new work before it goes public"},{day:"Monthly",content:"Live Q&A â 20 minutes, open questions"},{day:"Launch Days",content:"Exclusive pricing for group members only"},{day:"Ad hoc",content:"Collector installation photos (with permission)"}].map((u,d)=>r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:273",children:[r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:274",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#B8962E] mb-1",children:u.day}),r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:275",className:"font-body text-sm text-white/60",children:u.content})]},d))})]})})]}),e==="content"&&r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:286",children:[r.jsx(Rs,{"data-loc":"client/src/pages/FacebookStrategy.tsx:287",children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:288",className:"max-w-2xl mb-16",children:[r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:289",className:"gallery-rule mb-6 block"}),r.jsx("h2",{"data-loc":"client/src/pages/FacebookStrategy.tsx:290",className:"font-display text-4xl font-light text-[#111111] mb-4",children:"Content Formats That Work"}),r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:291",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"Facebook's algorithm rewards content that keeps people on the platform. These five formats are driving the strongest organic reach for artists in 2025 â each serves a different purpose in your collector funnel."})]})}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:296",className:"space-y-px bg-[#E8E6E1]",children:SC.map((u,d)=>r.jsx(Rs,{"data-loc":"client/src/pages/FacebookStrategy.tsx:298",delay:d*80,children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:299",className:"bg-white p-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:300",className:"flex items-start justify-between mb-4",children:[r.jsx("h3",{"data-loc":"client/src/pages/FacebookStrategy.tsx:301",className:"font-display text-2xl font-light text-[#111111]",children:u.format}),r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:302",className:"font-body text-xs tracking-[0.08em] uppercase text-[#B8962E] flex-shrink-0 ml-4",children:u.performance})]}),r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:304",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-5",children:u.description}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:305",className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:u.tips.map((f,p)=>r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:307",className:"bg-[#F5F4F2] px-3 py-2",children:r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:308",className:"font-body text-xs text-[#6B6560]",children:f})},p))})]})},d))})]}),e==="live"&&r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:321",children:[r.jsx(Rs,{"data-loc":"client/src/pages/FacebookStrategy.tsx:322",children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:323",className:"max-w-2xl mb-16",children:[r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:324",className:"gallery-rule mb-6 block"}),r.jsx("h2",{"data-loc":"client/src/pages/FacebookStrategy.tsx:325",className:"font-display text-4xl font-light text-[#111111] mb-4",children:"Facebook Live: The Digital Opening Night"}),r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:326",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"Live video creates urgency and intimacy that no other format can match. A gallery opening is an event â it creates excitement, social proof, and FOMO. Your Facebook Live is the digital equivalent. Here is the exact format used by artists generating consistent sales through Live video."})]})}),r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:331",className:"grid grid-cols-1 md:grid-cols-2 gap-8 mb-12",children:[r.jsx(Rs,{"data-loc":"client/src/pages/FacebookStrategy.tsx:332",children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:333",className:"border border-[#
231E8E6E1] p-8 h-full",children:[r.jsx("h3",{"data-loc":"client/src/pages/FacebookStrategy.tsx:334",className:"font-display text-2xl font-light text-[#111111] mb-6",children:"The 20-Minute Live Format"}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:335",className:"space-y-5",children:[{time:"0â3 min",title:"Welcome & Context",desc:"Welcome viewers as they join. Introduce yourself and what you'll be sharing today. Ask people to comment where they're watching from."},{time:"3â8 min",title:"Studio Tour / Process",desc:"Show your current work in progress. Walk viewers through your studio. Share what you're working on and why."},{time:"8â15 min",title:"New Work Reveal",desc:"The main event. Reveal your new piece(s). Share the story behind each work â the inspiration, the process, the meaning. Share pricing."},{time:"15â18 min",title:"Q&A",desc:"Open the floor to questions. Answer genuinely. This is where relationships deepen."},{time:"18â20 min",title:"Close & CTA",desc:"Thank viewers. Direct them to your shop or DM for purchases. Mention your next Live date."}].map((u,d)=>r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:343",className:"flex gap-4 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:344",className:"font-body text-xs font-medium text-[#B8962E] w-16 flex-shrink-0 mt-0.5",children:u.time}),r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:345",children:[r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:346",className:"font-body text-sm font-medium text-[#111111] mb-1",children:u.title}),r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:347",className:"font-body text-xs text-[#6B6560] leading-relaxed",children:u.desc})]})]},d))})]})}),r.jsx(Rs,{"data-loc":"client/src/pages/FacebookStrategy.tsx:354",delay:100,children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:355",className:"space-y-4",children:[r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:356",className:"bg-[#111111] p-8",children:[r.jsx("h3",{"data-loc":"client/src/pages/FacebookStrategy.tsx:357",className:"font-display text-xl font-light text-white mb-4",children:"Pre-Live Checklist"}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:358",className:"space-y-2",children:["Announce on Page and Group 48 hours before","Announce again 1 hour before","Test your internet connection and lighting","Have your work photographed and priced","Prepare 3â5 questions to answer if chat is slow","Have your shop link ready to paste in comments"].map((u,d)=>r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:367",className:"flex gap-3 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:368",className:"w-1 h-1 rounded-full bg-[#B8962E] flex-shrink-0 mt-2"}),r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:369",className:"font-body text-sm text-white/60",children:u})]},d))})]}),r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:374",className:"bg-[#F5F4F2] p-8",children:[r.jsx("h3",{"data-loc":"client/src/pages/FacebookStrategy.tsx:375",className:"font-display text-xl font-light text-[#111111] mb-4",children:"After Your Live"}),r.jsx("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:376",className:"space-y-2",children:["Save the video â it becomes permanent content","Respond to all comments within 24 hours","Follow up with DMs from interested buyers","Share a clip as a Reel on Instagram","Post a 'thank you' Story with a recap","Schedule your next Live immediately"].map((u,d)=>r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:385",className:"flex gap-3 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:386",className:"w-1 h-1 rounded-full bg-[#B8962E] flex-shrink-0 mt-2"}),r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:387",className:"font-body text-sm text-[#6B6560]",children:u})]},d))})]})]})})]})]})]})}),r.jsx("section",{"data-loc":"client/src/pages/FacebookStrategy.tsx:401",className:"py-16 bg-[#111111]",children:r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:402",className:"container flex flex-col md:flex-row items-start md:items-center justify-between gap-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/FacebookStrategy.tsx:403",children:[r.jsx("h2",{"data-loc":"client/src/pages/FacebookStrategy.tsx:404",className:"font-display text-3xl font-light text-white mb-2",children:"Build your collector community"}),r.jsx("p",{"data-loc":"client/src/pages/FacebookStrategy.tsx:405",className:"font-body text-sm text-white/50",children:"Use the tools to plan your Facebook strategy."})]}),r.jsx(Ee,{"data-loc":"client/src/pages/FacebookStrategy.tsx:407",href:"/tools",children:r.jsx("span",{"data-loc":"client/src/pages/FacebookStrategy.tsx:408",className:"inline-block bg-white text-[#111111] font-body text-xs font-medium tracking-[0.12em] uppercase px-8 py-4 hover:bg-[#B8962E] hover:text-white transition-colors cursor-pointer whitespace-nowrap",children:"Open Tools"})})]})}),r.jsx(ut,{"data-loc":"client/src/pages/FacebookStrategy.tsx:415"})]})}const EC="https://www.agaartstudioclasses.com/purchase?product_id=6701897",xr=[{id:1,question:"How would you describe your art business right now?",context:"Be honest â there's no wrong answer. This helps us find exactly where to start.",answers:[{label:"I make art but haven't sold anything yet",scores:[3,1,1,1,1,1,1]},{label:"I've sold a few pieces to friends and family",scores:[2,2,1,1,1,1,1]},{label:"I sell occasionally but inconsistently",scores:[1,2,2,2,1,1,1]},{label:"I have regular sales but want to grow",scores:[1,1,1,2,2,2,2]},{label:"I'm selling well but want to scale",scores:[0,1,1,1,2,2,3]}]},{id:2,question:"What is your biggest challenge with pricing?",context:"Pricing is where most artists lose the most money. Let's find out where you are.",answers:[{label:"I have no idea how to price my work",scores:[1,3,1,1,1,1,1]},{label:"I undercharge because I'm afraid of rejection",scores:[2,3,1,1,1,1,1]},{label:"My prices are inconsistent across platforms",scores:[1,2,1,1,1,1,1]},{label:"I've priced my work but struggle to raise prices",scores:[0,2,1,1,1,1,1]},{label:"Pricing is sorted â I need help with sales",scores:[0,0,1,2,2,2,2]}]},{id:3,question:"How are you currently using Instagram?",context:"Instagram is the world's most powerful art discovery platform â if you use it right.",answers:[{label:"I don't have an Instagram account for my art",scores:[1,1,1,3,2,1,1]},{label:"I post occasionally but without a strategy",scores:[1,1,1,3,2,1,1]},{label:"I post regularly but get little engagement",scores:[1,1,2,3,1,1,1]},{label:"I have good engagement but few sales from it",scores:[1,1,1,2,1,2,1]},{label:"Instagram drives consistent sales for me",scores:[0,0,0,1,2,2,3]}]},{id:4,question:"How do you currently connect with collectors?",context:"The collector relationship is the foundation of a sustainable art career.",answers:[{label:"I don't have any collectors yet",scores:[2,1,1,2,2,3,1]},{label:"I have a few buyers but no ongoing relationship",scores:[1,1,1,1,2,3,1]},{label:"I have an email list but rarely use it",scores:[0,1,1,1,2,3,1]},{label:"I engage with collectors on social media",scores:[0,0,1,2,2,2,2]},{label:"I have a strong collector community",scores:[0,0,0,1,1,1,3]}]},{id:5,question:"What does success look like for you in 12 months?",context:"Your goal shapes which part of the system to focus on first.",answers:[{label:"Make my first sale online",scores:[2,2,2,2,1,1,1]},{label:"Replace part of my income with art sales",scores:[1,2,1,2,2,2,1]},{label:"Build a loyal collector community",scores:[1,1,1,2,3,2,1]},{label:"Go full-time as an artist",scores:[1,1,1,2,2,2,3]},{label:"Scale to $5Kâ$10K+ per month",scores:[0,1,1,1,2,2,3]}]}],TC=[{id:1,title:"Your Artist Brand",subtitle:"Start here â your foundation",description:"Your results show that the most powerful thing you can do right now is clarify your artistic identity and positioning. Before pricing, Instagram, or collectors â you need to know exactly who you are, who you're for, and what makes your work unmistakable. Module 01 gives you the exact framework galleries use to position artists.",action:"Define your collector avatar and write your artist statement",href:"/module/1"},{id:2,title:"Pricing Your Work",subtitle:"The foundation of every sale",description:"Your results show that pricing is y
231our most urgent challenge. You may be undercharging, pricing inconsistently, or simply guessing. Module 02 gives you the exact formula used by professional galleries â so every price you set is defensible, consistent, and positioned for growth.",action:"Calculate the correct price for your 3 most recent works",href:"/module/2"},{id:3,title:"Photography & Presentation",subtitle:"Your work is only as valuable as it appears",description:"Your results show that presentation is holding you back. The same work photographed poorly and photographed brilliantly can command prices that differ by 300%. Module 03 teaches you gallery-quality photography with a smartphone â and how to create installation shots that make collectors say yes.",action:"Rephotograph your 5 best works using the gallery photography checklist",href:"/module/3"},{id:4,title:"Instagram as Your Gallery",subtitle:"The world's most powerful art discovery platform",description:"Your results show that Instagram is your biggest opportunity right now. 67% of collectors discover new artists on Instagram â but most artists use it without a strategy. Module 04 gives you the complete content framework: what to post, when to post, and how to turn followers into collectors.",action:"Plan your first week of content using the 4-pillar framework",href:"/module/4"},{id:5,title:"Facebook & Collector Community",subtitle:"Where serious collectors live",description:"Your results show that building a collector community is your next big lever. Facebook is where collectors aged 35â65 â with real disposable income â spend their time. Module 05 teaches you to build a Facebook Page, a private collector group, and use Live video as your digital opening night.",action:"Create your private Facebook collector group this week",href:"/module/5"},{id:6,title:"The Collector Relationship",subtitle:"Turn buyers into lifelong champions",description:"Your results show that deepening your collector relationships is the highest-leverage move you can make. You have buyers â now it's time to turn them into repeat collectors and advocates. Module 06 gives you the email strategy, DM framework, and post-sale nurturing system that galleries use.",action:"Set up your collector email list and write your first nurture email",href:"/module/6"},{id:7,title:"Scaling Your Practice",subtitle:"From consistent sales to full-time artist",description:"Your results show that you're ready to scale. You have the foundation â now it's time to build multiple revenue streams, systemise your business, and protect your creative time. Module 07 gives you the revenue pyramid, commission workflow, and weekly schedule used by full-time artists.",action:"Map your current revenue streams and identify the missing tier",href:"/module/7"}];function NC(e=.1){const s=w.useRef(null),[n,o]=w.useState(!1);return w.useEffect(()=>{const l=new IntersectionObserver(([u])=>{u.isIntersecting&&o(!0)},{threshold:e});return s.current&&l.observe(s.current),()=>l.disconnect()},[]),{ref:s,visible:n}}function Fn({children:e,delay:s=0}){const{ref:n,visible:o}=NC();return r.jsx("div",{"data-loc":"client/src/pages/Quiz.tsx:171",ref:n,style:{opacity:o?1:0,transform:o?"translateY(0)":"translateY(20px)",transition:`opacity 0.6s ease ${s}ms, transform 0.6s ease ${s}ms`},children:e})}function CC(){const[e,s]=w.useState(0),[n,o]=w.useState([]),[l,u]=w.useState(null),[d,f]=w.useState(!1),[p,g]=w.useState(""),[x,y]=w.useState(!1),[v,k]=w.useState(null),j=ws.tracker.saveQuizResult.useMutation();w.useEffect(()=>{window.scrollTo(0,0)},[]);const E=_=>{const Q=[...n,_];if(o(Q),e<xr.length-1)f(!0),setTimeout(()=>{s(e+1),f(!1)},300);else{const F=new Array(7).fill(0);Q.forEach((D,Z)=>{xr[Z].answers[D].scores.forEach((K,ae)=>{F[ae]+=K})});const U=F.indexOf(Math.max(...F)),C=TC[U];u(C),k(C),j.mutate({stage:C.title,moduleNumber:C.id}),window.scrollTo({top:0,behavior:"smooth"})}},N=()=>{s(0),o([]),u(null)},O=e/xr.length*100;if(l)return r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:236",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/Quiz.tsx:237"}),r.jsx("div",{"data-loc":"client/src/pages/Quiz.tsx:238",className:"mt-16 pt-20 pb-24",children:r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:239",className:"container max-w-3xl",children:[r.jsx(Fn,{"data-loc":"client/src/pages/Quiz.tsx:240",children:r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:241",className:"text-center mb-12",children:[r.jsx("span",{"data-loc":"client/src/pages/Quiz.tsx:242",className:"gallery-rule mb-6 mx-auto block"}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:243",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-3",children:"Your Result"}),r.jsxs("h1",{"data-loc":"client/src/pages/Quiz.tsx:246",className:"font-display text-5xl md:text-6xl font-light text-[#111111] mb-2",children:["Start with Module ",String(l.id).padStart(2,"0")]}),r.jsx("h2",{"data-loc":"client/src/pages/Quiz.tsx:249",className:"font-display text-3xl font-light text-[#6B6560] italic mb-8",children:l.title})]})}),r.jsx(Fn,{"data-loc":"client/src/pages/Quiz.tsx:255",delay:100,children:r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:256",className:"bg-[#F5F4F2] p-8 md:p-12 mb-8",children:[r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:257",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-4",children:l.subt
231itle}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:260",className:"font-body text-base text-[#6B6560] leading-relaxed mb-8",children:l.description}),r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:263",className:"border-l-2 border-[#B8962E] pl-5",children:[r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:264",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] mb-1",children:"Your First Action Step"}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:267",className:"font-body text-sm text-[#6B6560]",children:l.action})]})]})}),r.jsx(Fn,{"data-loc":"client/src/pages/Quiz.tsx:272",delay:150,children:r.jsx("div",{"data-loc":"client/src/pages/Quiz.tsx:273",className:"bg-[#111111] p-8 mb-8",children:x?r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:307",className:"text-center py-2",children:[r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:308",className:"font-body text-sm text-[#B8962E] font-medium mb-1",children:"Done â check your inbox."}),r.jsxs("p",{"data-loc":"client/src/pages/Quiz.tsx:309",className:"font-body text-xs text-white/50",children:["Your result has been sent to ",p]})]}):r.jsxs(r.Fragment,{children:[r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:276",className:"font-body text-xs font-semibold tracking-[0.12em] uppercase text-[#B8962E] mb-2",children:"Get your result by email"}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:277",className:"font-body text-sm text-white/60 leading-relaxed mb-5",children:"Enter your email and we'll send you your stage result, your recommended starting module, and a free action plan â so you can come back to it anytime."}),r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:280",className:"flex gap-3",children:[r.jsx("input",{"data-loc":"client/src/pages/Quiz.tsx:281",type:"email",placeholder:"[email protected]",value:p,onChange:_=>g(_.target.value),className:"flex-1 bg-white/10 border border-white/20 text-white placeholder:text-white/30 font-body text-sm px-4 py-3 focus:outline-none focus:border-[#B8962E] transition-colors"}),r.jsx("button",{"data-loc":"client/src/pages/Quiz.tsx:288",onClick:()=>{p&&v&&(j.mutate({email:p,stage:v.title,moduleNumber:v.id}),y(!0))},className:"bg-[#B8962E] hover:bg-[#9A7D25] text-white font-body text-xs font-medium tracking-[0.1em] uppercase px-6 py-3 transition-colors",children:"Send"})]}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:304",className:"font-body text-xs text-white/30 mt-3",children:"No spam. Unsubscribe anytime."})]})})}),r.jsx(Fn,{"data-loc":"client/src/pages/Quiz.tsx:315",delay:200,children:r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:316",className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-8",children:[r.jsx(Ee,{"data-loc":"client/src/pages/Quiz.tsx:317",href:l.href,children:r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:318",className:"bg-[#111111] p-6 cursor-pointer hover:bg-[#222] transition-colors",children:[r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:319",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#B8962E] mb-2",children:"Start Learning"}),r.jsxs("p",{"data-loc":"client/src/pages/Quiz.tsx:322",className:"font-display text-xl font-light text-white mb-1",children:["Open Module ",String(l.id).padStart(2,"0")]}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:325",className:"font-body text-xs text-white/40",children:"Start immediately"})]})}),r.jsx("a",{"data-loc":"client/src/pages/Quiz.tsx:328",href:EC,target:"_blank",rel:"noopener noreferrer",children:r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:329",className:"border border-[#B8962E] p-6 cursor-pointer hover:bg-[#B8962E]/5 transition-colors h-full",children:[r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:330",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#B8962E] mb-2",children:"Full Programme"}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:333",className:"font-display text-xl font-light text-[#111111] mb-1",children:"Gallery of One â $997"}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:336",className:"font-body text-xs text-[#6B6560]",children:"All 7 modules + tools + community"})]})})]})}),r.jsx(Fn,{"data-loc":"client/src/pages/Quiz.tsx:343",delay:280,children:r.jsx("a",{"data-loc":"client/src/pages/Quiz.tsx:344",href:"https://masterresinartistacademy.manus.space",target:"_blank",rel:"noopener noreferrer",className:"block mb-8 group",children:r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:350",className:"border border-[#
231E8E6E1] group-hover:border-[#B8962E] p-7 transition-colors",children:[r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:351",className:"font-body text-xs font-semibold tracking-[0.12em] uppercase text-[#B8962E] mb-2",children:"Want to master resin art?"}),r.jsx("h3",{"data-loc":"client/src/pages/Quiz.tsx:354",className:"font-display text-2xl font-light text-[#111111] mb-3",children:"Resin Mastery Academy â become the artist collectors can't ignore."}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:357",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-4",children:"The craft behind the sale. Agnes's Resin Mastery Academy teaches the techniques, depth, and artistic confidence that make your work impossible to walk past â at any stage of your journey."}),r.jsx("span",{"data-loc":"client/src/pages/Quiz.tsx:360",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#B8962E] group-hover:text-[#8A6E1E] transition-colors border-b border-[#B8962E] pb-0.5",children:"Explore the Resin Mastery Academy â"})]})})}),r.jsx(Fn,{"data-loc":"client/src/pages/Quiz.tsx:367",delay:300,children:r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:368",className:"text-center",children:[r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:369",className:"font-body text-xs text-[#6B6560] mb-3",children:"Want to see all modules?"}),r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:370",className:"flex flex-wrap gap-3 justify-center",children:[r.jsx(Ee,{"data-loc":"client/src/pages/Quiz.tsx:371",href:"/module/1",children:r.jsx("span",{"data-loc":"client/src/pages/Quiz.tsx:372",className:"font-body text-xs tracking-[0.08em] uppercase text-[#6B6560] hover:text-[#111111] transition-colors cursor-pointer border-b border-[#E8E6E1] pb-0.5",children:"View Curriculum"})}),r.jsx("span",{"data-loc":"client/src/pages/Quiz.tsx:374",className:"text-[#E8E6E1]",children:"|"}),r.jsx("button",{"data-loc":"client/src/pages/Quiz.tsx:375",onClick:N,className:"font-body text-xs tracking-[0.08em] uppercase text-[#6B6560] hover:text-[#111111] transition-colors border-b border-[#E8E6E1] pb-0.5",children:"Retake Quiz"})]})]})})]})}),r.jsx(ut,{"data-loc":"client/src/pages/Quiz.tsx:383"})]});const R=xr[e];return r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:392",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/Quiz.tsx:393"}),r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:394",className:"mt-16 min-h-[calc(100vh-4rem)] flex flex-col",children:[r.jsx("div",{"data-loc":"client/src/pages/Quiz.tsx:397",className:"h-0.5 bg-[#E8E6E1]",children:r.jsx("div",{"data-loc":"client/src/pages/Quiz.tsx:398",className:"h-full bg-[#B8962E] transition-all duration-500 ease-out",style:{width:`${O}%`}})}),r.jsx("div",{"data-loc":"client/src/pages/Quiz.tsx:404",className:"flex-1 flex flex-col justify-center py-16",children:r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:405",className:"container max-w-2xl",children:[e===0&&r.jsx(Fn,{"data-loc":"client/src/pages/Quiz.tsx:409",children:r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:410",className:"text-center mb-12",children:[r.jsx("span",{"data-loc":"client/src/pages/Quiz.tsx:411",className:"gallery-rule mb-6 mx-auto block"}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:412",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#6B6560] mb-3",children:"5-Question Diagnostic"}),r.jsxs("h1",{"data-loc":"client/src/pages/Quiz.tsx:415",className:"font-display text-4xl md:text-5xl font-light text-[#111111] mb-4",children:["What stage is your",r.jsx("br",{"data-loc":"client/src/pages/Quiz.tsx:416"}),r.jsx("em",{"data-loc":"client/src/pages/Quiz.tsx:417",className:"italic",children:"art business at?"})]}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:419",className:"font-body text-sm text-[#6B6560] leading-relaxed max-w-md mx-auto",children:"Answer 5 honest questions and we'll route you to the exact module of Gallery of One that will make the biggest difference to your practice right now."})]})}),r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:427",style:{opacity:d?0:1,transform:d?"translateX(20px)":"translateX(0)",transition:"opacity 0.3s ease, transform 0.3s ease"},children:[r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:434",className:"mb-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:435",className:"flex items-center gap-3 mb-6",children:[r.jsx("span",{"data-loc":"client/src/pages/Quiz.tsx:436",className:"font-display text-4xl font-light text-[#E8E6E1]",children:String(e+1).padStart(2,"0")}),r.jsxs("span",{"data-loc":"client/src/pages/Quiz.tsx:439",className:"font-body text-xs text-[#6B6560] tracking-wide",children:["of ",xr.length]})]}),r.jsx("h2",{"data-loc":"client/src/pages/Quiz.tsx:443",className:"font-display text-2xl md:text-3xl font-light text-[#111111] mb-3",children:R.question}),r.jsx("p",{"data-loc":"client/src/pages/Quiz.tsx:446",className:"font-body text-sm text-[#6B6560]",children:R.context})]}),r.jsx("div",{"data-loc":"client/src/pages/Quiz.tsx:449",className:"space-y-3",children:R.answers.map((_,Q)=>r.jsx("button",{"data-loc":"client/src/pages/Quiz.tsx:451",onClick:()=>
231E(Q),className:"w-full text-left p-5 border border-[#E8E6E1] hover:border-[#111111] hover:bg-[#F5F4F2] transition-all duration-200 group",children:r.jsxs("div",{"data-loc":"client/src/pages/Quiz.tsx:456",className:"flex items-center gap-4",children:[r.jsx("span",{"data-loc":"client/src/pages/Quiz.tsx:457",className:"w-6 h-6 border border-[#E8E6E1] group-hover:border-[#111111] flex items-center justify-center flex-shrink-0 transition-colors",children:r.jsx("span",{"data-loc":"client/src/pages/Quiz.tsx:458",className:"font-body text-xs text-[#6B6560] group-hover:text-[#111111]",children:String.fromCharCode(65+Q)})}),r.jsx("span",{"data-loc":"client/src/pages/Quiz.tsx:462",className:"font-body text-sm text-[#111111] leading-snug",children:_.label})]})},Q))})]}),e>0&&r.jsx("button",{"data-loc":"client/src/pages/Quiz.tsx:473",onClick:()=>{o(n.slice(0,-1)),s(e-1)},className:"mt-8 font-body text-xs tracking-[0.1em] uppercase text-[#6B6560] hover:text-[#111111] transition-colors",children:"â Back"})]})})]}),r.jsx(ut,{"data-loc":"client/src/pages/Quiz.tsx:486"})]})}const AC="https://www.agaartstudioclasses.com/purchase?product_id=6701897",yr=[{id:"tone",question:"How do you naturally talk about your work?",hint:"Think about how you'd describe a piece to a friend at your studio.",type:"choice",options:[{label:"Straight and direct â I say what it is",value:"direct"},{label:"Thoughtful â I explain the process and why",value:"thoughtful"},{label:"Warm and personal â I share what I was feeling",value:"personal"},{label:"Dry and understated â I let the work speak",value:"understated"},{label:"Passionate â I can't help but get into it",value:"passionate"}]},{id:"length",question:"How long do your captions tend to run?",hint:"There's no right answer â this is about your natural rhythm.",type:"choice",options:[{label:"Short â one or tw
231o sentences, done",value:"short"},{label:"Medium â a paragraph that gets the point across",value:"medium"},{label:"Long â I like to give context and backstory",value:"long"}]},{id:"opener",question:"How do you usually start a caption?",hint:"What's your instinct when you sit down to write?",type:"choice",options:[{label:"With the name or title of the work",value:"title"},{label:"With what I was thinking when I made it",value:"thought"},{label:"With a question to the viewer",value:"question"},{label:"With a detail â a colour, a texture, a moment",value:"detail"},{label:"With what it's about â the subject or concept",value:"subject"}]},{id:"avoid",question:"What do you hate seeing in other artists' captions?",hint:"This tells us what NOT to put in yours.",type:"choice",options:[{label:"Overly poetic language that doesn't say anything real",value:"poetry"},{label:"Hashtag dumps that feel desperate",value:"hashtags"},{label:"Humble-bragging about sales or press",value:"bragging"},{label:"Generic 'follow for more' calls to action",value:"generic_cta"},{label:"Long rambling backstories nobody asked for",value:"rambling"}]},{id:"sample",question:"Write one sentence the way you'd naturally describe your work.",hint:"Don't overthink it. Just write how you'd say it out loud to someone standing in front of the piece.",type:"text",placeholder:'e.g. "This one started as a study of light on water and turned into something else entirely."'}];function RC(e,s){const{tone:n,length:o,opener:l,avoid:u,sample:d}=e,{title:f,medium:p,size:g,story:x,emotion:y,available:v,price:k}=s,j=v==="yes"&&k?` 232 233Available â ${k}. DM to enquire.`:v==="yes"?` 234 235Available. DM to enquire.`:"";let E="";l==="title"?E=`${f}.`:l==="thought"?E=d?d.trim():"This piece started with a single thought.":l==="question"?E="Have you ever looked at something and felt it before you understood it?":l==="detail"?E=p?`${p} on ${g||"canvas"}.`:`${g||"A piece"} that started with one detail.`:E=x?x.split(".")[0]+".":`${f}.`;let N="";n==="direct"?N=x?`${x}`:`${f} â ${p||"mixed media"}${g?`, ${g}`:""}.`:n==="thoughtful"?N=x?`${x} I wanted the work to hold that tension â not resolve it.`:"The process matters as much as the result. This one took time to get right.":n==="personal"?N=x?`${x} ${y?`I was feeling ${y.toLowerCase()} when I made this.`:""}`:`${y?`I was feeling ${y.toLowerCase()} when I started this.`:"Some pieces are more personal than others. This is one of them."}`:n==="understated"?N=x?x.split(".")[0]+".":`${f}. ${p||""}${g?` â ${g}`:""}.`:N=x?`${x} ${y?`There's something about ${y.toLowerCase()} that keeps pulling me back to this subject.`:""}`:"This is the kind of work I make when I stop thinking and just go.",o==="short"&&(N=N.split(".")[0]+"."),u==="poetry"&&(N=N.replace(/\b(ethereal|luminous|transcendent|whisper|dance of light|soul|magic)\b/gi,""));const O=`${E} 236 237${N}${j}`;let R="";n==="direct"||n==="understated"?R=`${f}${p?` â ${p}`:""}${g?`, ${g}`:""}. 238 239${x||"No further explanation needed."}${j}`:n==="personal"||n==="passionate"?R=`${y?`${y}.`:"This one matters."} 240 241${x||N}${j}`:R=`${x||N} 242 243${f}${p?` â ${p}`:""}${g?`, ${g}`:""}.${j}`;const Q=`${l==="question"?"What does this make you feel?":`${p||"This piece"}${g?` â ${g}`:""}.`} 244 245${x||N}${j}`;return[O.trim(),R.trim(),Q.trim()]}function OC(e=.1){const s=w.useRef(null),[n,o]=w.useState(!1);return w.useEffect(()=>{const l=new IntersectionObserver(([u])=>{u.isIntersecting&&o(!0)},{threshold:e});return s.current&&l.observe(s.current),()=>l.disconnect()},[]),{ref:s,visible:n}}function Hn({children:e,delay:s=0}){const{ref:n,visible:o}=OC();return r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:183",ref:n,style:{opacity:o?1:0,transform:o?"translateY(0)":"translateY(18px)",transition:`opacity 0.55s ease ${s}ms, transform 0.55s ease ${s}ms`},children:e})}function MC(){const[e,s]=w.useState("intro"),[n,o]=w.useState(0),[l,u]=w.useState({}),[d,f]=w.useState({title:"",medium:"",size:"",story:"",emotion:"",available:"yes",price:""}),[p,g]=w.useState([]),[x,y]=w.useState(null),[v,k]=w.useState(!1);w.useEffect(()=>{window.scrollTo(0,0)},[e]);const j=(R,_)=>{const Q={...l,[R]:_};u(Q),n<yr.length-1?(k(!0),setTimeout(()=>{o(n+1),k(!1)},280)):s("artwork")},E=()=>{const R=RC(l,d);g(R),s("result")},N=(R,_)=>{navigator.clipboard.writeText(R),y(_),setTimeout(()=>y(null),2e3)},O=()=>{s("intro"),o(0),u({}),f({title:"",medium:"",size:"",story:"",emotion:"",available:"yes",price:""}),g([])};if(e==="intro")return r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:260",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/CaptionGenerator.tsx:261"}),r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:262",className:"mt-16 py-24",children:r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:263",className:"container max-w-2xl text-center",children:r.jsxs(Hn,{"data-loc":"client/src/pages/CaptionGenerator.tsx:264",children:[r.jsx("span",{"data-loc":"client/src/pages/CaptionGenerator.tsx:265",className:"gallery-rule mb-6 mx-auto block"}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:266",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-3",children:"Gallery of One"}),r.jsxs("h1",{"data-loc":"client/src/pages/CaptionGenerator.tsx:269",className:"font-display text-5xl md:text-6xl font-light text-[#111111] mb-6",children:["Caption Generator",r.jsx("br",{"data-loc":"client/src/pages/CaptionGenerator.tsx:270"}),r.jsx("em",{"data-loc":"client/src/pages/CaptionGenerator.tsx:271",className:"italic",children:"in your voice"})]}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:273",className:"font-body text-sm text-[#6B6560] leading-relaxed max-w-md mx-auto mb-4",children:"Most caption generators produce the same generic output for every artist. This one doesn't."}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:276",className:"font-body text-sm text-[#6B6560] leading-relaxed max-w-md mx-auto mb-10",children:"First, we spend 2 minutes learning how you naturally talk about your work. Then we write a caption that sounds like you wrote it â because in every way that matters, you did."}),r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:279",className:"grid grid-cols-3 gap-6 mb-12 text-left",children:[{step:"01",label:"We learn your voice",desc:"5 quick questions about how you naturally write and talk"},{step:"02",label:"You describe the work",desc:"Title, medium, story â whatever feels relevant"},{step:"03",label:"3 captions, your style",desc:"Ready to copy, post, and adapt"}].map(R=>r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:285",className:"border-t border-[#
245E8E6E1] pt-4",children:[r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:286",className:"font-display text-3xl font-light text-[#E8E6E1] mb-2",children:R.step}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:287",className:"font-body text-xs font-medium text-[#111111] mb-1",children:R.label}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:288",className:"font-body text-xs text-[#6B6560] leading-relaxed",children:R.desc})]},R.step))}),r.jsx("button",{"data-loc":"client/src/pages/CaptionGenerator.tsx:292",onClick:()=>s("voice"),className:"btn-gold cursor-pointer",children:"Find My Voice â"})]})})}),r.jsx(ut,{"data-loc":"client/src/pages/CaptionGenerator.tsx:301"})]});if(e==="voice"){const R=yr[n];return r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:312",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/CaptionGenerator.tsx:313"}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:314",className:"mt-16 min-h-[calc(100vh-4rem)] flex flex-col",children:[r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:315",className:"h-0.5 bg-[#E8E6E1]",children:r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:316",className:"h-full bg-[#B8962E] transition-all duration-500",style:{width:`${n/(yr.length+1)*100}
245%`}})}),r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:321",className:"flex-1 flex flex-col justify-center py-16",children:r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:322",className:"container max-w-2xl",children:[r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:323",className:"mb-6",children:[r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:324",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-1",children:"Step 1 of 2 â Your Voice"}),r.jsxs("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:327",className:"font-body text-xs text-[#6B6560]",children:["Question ",n+1," of ",yr.length]})]}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:332",style:{opacity:v?0:1,transform:v?"translateX(16px)":"translateX(0)",transition:"opacity 0.28s ease, transform 0.28s ease"},children:[r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:339",className:"flex items-start gap-4 mb-8",children:[r.jsx("span",{"data-loc":"client/src/pages/CaptionGenerator.tsx:340",className:"font-display text-5xl font-light text-[#E8E6E1] leading-none mt-1",children:String(n+1).padStart(2,"0")}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:343",children:[r.jsx("h2",{"data-loc":"client/src/pages/CaptionGenerator.tsx:344",className:"font-display text-2xl md:text-3xl font-light text-[#111111] mb-2",children:R.question}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:347",className:"font-body text-sm text-[#6B6560]",children:R.hint})]})]}),R.type==="choice"&&R.options&&r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:352",className:"space-y-3",children:R.options.map((_,Q)=>r.jsx("button",{"data-loc":"client/src/pages/CaptionGenerator.tsx:354",onClick:()=>j(R.id,_.value),className:"w-full text-left p-5 border border-[#E8E6E1] hover:border-[#111111] hover:bg-[#F5F4F2] transition-all duration-200 group",children:r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:359",className:"flex items-center gap-4",children:[r.jsx("span",{"data-loc":"client/src/pages/CaptionGenerator.tsx:360",className:"w-6 h-6 border border-[#E8E6E1] group-hover:border-[#111111] flex items-center justify-center flex-shrink-0 transition-colors",children:r.jsx("span",{"data-loc":"client/src/pages/CaptionGenerator.tsx:361",className:"font-body text-xs text-[#6B6560] group-hover:text-[#111111]",children:String.fromCharCode(65+Q)})}),r.jsx("span",{"data-loc":"client/src/pages/CaptionGenerator.tsx:365",className:"font-body text-sm text-[#111111]",children:_.label})]})},Q))}),R.type==="text"&&r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:373",children:[r.jsx("textarea",{"data-loc":"client/src/pages/CaptionGenerator.tsx:374",className:"w-full border border-[#E8E6E1] p-5 font-body text-sm text-[#111111] placeholder:text-[#C5C2BC] resize-none focus:outline-none focus:border-[#111111] transition-colors",rows:4,placeholder:R.placeholder,value:l[R.id]||"",onChange:_=>u({...l,[R.id]:_.target.value})}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:381",className:"flex justify-between items-center mt-4",children:[r.jsx("button",{"data-loc":"client/src/pages/CaptionGenerator.tsx:382",onClick:()=>{u({...l,[R.id]:l[R.id]||""}),s("artwork")},className:"font-body text-xs tracking-[0.1em] uppercase text-[#6B6560] hover:text-[#111111] transition-colors",children:"Skip â"}),r.jsx("button",{"data-loc":"client/src/pages/CaptionGenerator.tsx:391",onClick:()=>j(R.id,l[R.id]||""),className:"btn-gold text-xs cursor-pointer",disabled:!l[R.id],children:"Continue â"})]})]})]}),n>0&&r.jsx("button",{"data-loc":"client/src/pages/CaptionGenerator.tsx:404",onClick:()=>{o(n-1)},className:"mt-8 font-body text-xs tracking-[0.1em] uppercase text-[#6B6560] hover:text-[#111111] transition-colors",children:"â Back"})]})})]}),r.jsx(ut,{"data-loc":"client/src/pages/CaptionGenerator.tsx:414"})]})}return e==="artwork"?r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:422",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/CaptionGenerator.tsx:423"}),r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:424",className:"mt-16 py-16",children:r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:425",className:"container max-w-2xl",children:[r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:426",className:"h-0.5 bg-[#E8E6E1] mb-10",children:r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:427",className:"h-full bg-[#B8962E] w-4/5"})}),r.jsxs(Hn,{"data-loc":"client/src/pages/CaptionGenerator.tsx:430",children:[r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:431",className:"mb-8",children:[r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:432",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-1",children:"Step 2 of 2 â The Work"}),r.jsx("h2",{"data-loc":"client/src/pages/CaptionGenerator.tsx:435",className:"font-display text-3xl md:text-4xl font-light text-[#111111] mb-2",children:"Tell us about this piece"}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:438",className:"font-body text-sm text-[#6B6560]",children:"Fill in what's relevant. You don't need to answer everything â just what feels true for this work."})]}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:443",className:"space-y-6",children:[r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:444",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:445",children:[r.jsxs("label",{"data-loc":"client/src/pages/CaptionGenerator.tsx:446",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] block mb-2",children:["Title ",r.jsx("span",{"data-loc":"client/src/pages/CaptionGenerator.tsx:447",className:"text-[#B8962E]",children:"*"})]}),r.jsx("input",{"data-loc":"client/src/pages/CaptionGenerator.tsx:449",type:"text",className:"w-full border border-[#
245E8E6E1] px-4 py-3 font-body text-sm text-[#111111] placeholder:text-[#C5C2BC] focus:outline-none focus:border-[#111111] transition-colors",placeholder:"e.g. Study No. 7",value:d.title,onChange:R=>f({...d,title:R.target.value})})]}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:457",children:[r.jsx("label",{"data-loc":"client/src/pages/CaptionGenerator.tsx:458",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] block mb-2",children:"Medium"}),r.jsx("input",{"data-loc":"client/src/pages/CaptionGenerator.tsx:461",type:"text",className:"w-full border border-[#E8E6E1] px-4 py-3 font-body text-sm text-[#111111] placeholder:text-[#C5C2BC] focus:outline-none focus:border-[#111111] transition-colors",placeholder:"e.g. Oil on linen",value:d.medium,onChange:R=>f({...d,medium:R.target.value})})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:471",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:472",children:[r.jsx("label",{"data-loc":"client/src/pages/CaptionGenerator.tsx:473",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] block mb-2",children:"Size"}),r.jsx("input",{"data-loc":"client/src/pages/CaptionGenerator.tsx:476",type:"text",className:"w-full border border-[#E8E6E1] px-4 py-3 font-body text-sm text-[#111111] placeholder:text-[#C5C2BC] focus:outline-none focus:border-[#111111] transition-colors",placeholder:"e.g. 60 Ã 80 cm",value:d.size,onChange:R=>f({...d,size:R.target.value})})]}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:484",children:[r.jsx("label",{"data-loc":"client/src/pages/CaptionGenerator.tsx:485",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] block mb-2",children:"One word â how does it feel?"}),r.jsx("input",{"data-loc":"client/src/pages/CaptionGenerator.tsx:488",type:"text",className:"w-full border border-[#E8E6E1] px-4 py-3 font-body text-sm text-[#111111] placeholder:text-[#C5C2BC] focus:outline-none focus:border-[#111111] transition-colors",placeholder:"e.g. Restless, Quiet, Unresolved",value:d.emotion,onChange:R=>f({...d,emotion:R.target.value})})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:498",children:[r.jsx("label",{"data-loc":"client/src/pages/CaptionGenerator.tsx:499",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] block mb-2",children:"What's the story behind it? (optional)"}),r.jsx("textarea",{"data-loc":"client/src/pages/CaptionGenerator.tsx:502",className:"w-full border border-[#E8E6E1] px-4 py-3 font-body text-sm text-[#111111] placeholder:text-[#C5C2BC] resize-none focus:outline-none focus:border-[#111111] transition-colors",rows:4,placeholder:"What were you thinking about? What started it? What changed? Write it like you'd say it out loud.",value:d.story,onChange:R=>f({...d,story:R.target.value})})]}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:511",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:512",children:[r.jsx("label",{"data-loc":"client/src/pages/CaptionGenerator.tsx:513",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] block mb-2",children:"Is this available for sale?"}),r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:516",className:"flex gap-3",children:["yes","no","sold"].map(R=>r.jsx("button",{"data-loc":"client/src/pages/CaptionGenerator.tsx:518",onClick:()=>f({...d,available:R}),className:`flex-1 py-3 font-body text-xs font-medium tracking-[0.08em] uppercase border transition-colors ${d.available===R?"bg-[#111111] text-white border-[#111111]":"border-[#E8E6E1] text-[#6B6560] hover:border-[#111111] hover:text-[#111111]"}`,children:R==="yes"?"Available":R==="no"?"Not for sale":"Sold"},R))})]}),d.available==="yes"&&r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:533",children:[r.jsx("label",{"data-loc":"client/src/pages/CaptionGenerator.tsx:534",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] block mb-2",children:"Price (optional)"}),r.jsx("input",{"data-loc":"client/src/pages/CaptionGenerator.tsx:537",type:"text",className:"w-full border border-[#
245E8E6E1] px-4 py-3 font-body text-sm text-[#111111] placeholder:text-[#C5C2BC] focus:outline-none focus:border-[#111111] transition-colors",placeholder:"e.g. $1,200",value:d.price,onChange:R=>f({...d,price:R.target.value})})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:548",className:"flex justify-between items-center pt-4",children:[r.jsx("button",{"data-loc":"client/src/pages/CaptionGenerator.tsx:549",onClick:()=>{s("voice"),o(yr.length-1)},className:"font-body text-xs tracking-[0.1em] uppercase text-[#6B6560] hover:text-[#111111] transition-colors",children:"â Back"}),r.jsx("button",{"data-loc":"client/src/pages/CaptionGenerator.tsx:555",onClick:E,disabled:!d.title.trim(),className:`btn-gold text-xs cursor-pointer ${d.title.trim()?"":"opacity-40 cursor-not-allowed"}`,children:"Generate Captions â"})]})]})]})]})}),r.jsx(ut,{"data-loc":"client/src/pages/CaptionGenerator.tsx:567"})]}):r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:574",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/CaptionGenerator.tsx:575"}),r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:576",className:"mt-16 py-16",children:r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:577",className:"container max-w-2xl",children:[r.jsx(Hn,{"data-loc":"client/src/pages/CaptionGenerator.tsx:578",children:r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:579",className:"mb-10",children:[r.jsx("span",{"data-loc":"client/src/pages/CaptionGenerator.tsx:580",className:"gallery-rule mb-6 block"}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:581",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-2",children:"Written in your voice"}),r.jsxs("h1",{"data-loc":"client/src/pages/CaptionGenerator.tsx:584",className:"font-display text-4xl md:text-5xl font-light text-[#111111] mb-3",children:["Your captions for",r.jsx("br",{"data-loc":"client/src/pages/CaptionGenerator.tsx:585"}),r.jsx("em",{"data-loc":"client/src/pages/CaptionGenerator.tsx:586",className:"italic",children:d.title})]}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:588",className:"font-body text-sm text-[#6B6560]",children:"Three versions â same voice, different angles. Pick the one that feels most like you, or mix them."})]})}),r.jsx("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:594",className:"space-y-6",children:p.map((R,_)=>r.jsx(Hn,{"data-loc":"client/src/pages/CaptionGenerator.tsx:596",delay:_*100,children:r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:597",className:"border border-[#E8E6E1] p-6 hover:border-[#111111] transition-colors",children:[r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:598",className:"flex items-center justify-between mb-4",children:[r.jsxs("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:599",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560]",children:["Version ",_+1]}),r.jsx("button",{"data-loc":"client/src/pages/CaptionGenerator.tsx:602",onClick:()=>N(R,_),className:`font-body text-xs font-medium tracking-[0.08em] uppercase px-4 py-2 border transition-colors ${x===_?"bg-[#111111] text-white border-[#111111]":"border-[#E8E6E1] text-[#6B6560] hover:border-[#111111] hover:text-[#111111]"}`,children:x===_?"Copied â":"Copy"})]}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:613",className:"font-body text-sm text-[#111111] leading-relaxed whitespace-pre-line",children:R})]})},_))}),r.jsx(Hn,{"data-loc":"client/src/pages/CaptionGenerator.tsx:621",delay:350,children:r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:622",className:"mt-10 p-6 bg-[#F5F4F2] border-l-2 border-[#B8962E]",children:[r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:623",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] mb-2",children:"A note on hashtags"}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:626",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"The Gallery of One method keeps hashtags in the first comment â not the caption. This keeps your writing clean and your post looking like art, not advertising. Module 04 covers the exact hashtag strategy."})]})}),r.jsx(Hn,{"data-loc":"client/src/pages/CaptionGenerator.tsx:632",delay:450,children:r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:633",className:"mt-8 flex flex-wrap gap-4 justify-between items-center",children:[r.jsx("button",{"data-loc":"client/src/pages/CaptionGenerator.tsx:634",onClick:O,className:"btn-ghost text-xs cursor-pointer",children:"Generate Another"}),r.jsx("a",{"data-loc":"client/src/pages/CaptionGenerator.tsx:640",href:AC,target:"_blank",rel:"noopener noreferrer",children:r.jsx("span",{"data-loc":"client/src/pages/CaptionGenerator.tsx:641",className:"btn-gold text-xs cursor-pointer inline-block",children:"Enrol in Gallery of One â $997"})})]})}),r.jsx(Hn,{"data-loc":"client/src/pages/CaptionGenerator.tsx:648",delay:500,children:r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:649",className:"mt-12 border-t border-[#
245E8E6E1] pt-8",children:[r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:650",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] mb-4",children:"Want to go deeper?"}),r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:653",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[r.jsx(Ee,{"data-loc":"client/src/pages/CaptionGenerator.tsx:654",href:"/module/4",children:r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:655",className:"border border-[#E8E6E1] p-5 hover:border-[#111111] transition-colors cursor-pointer",children:[r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:656",className:"font-body text-xs text-[#B8962E] tracking-[0.08em] uppercase mb-1",children:"Module 04"}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:657",className:"font-display text-lg font-light text-[#111111]",children:"Instagram as Your Gallery"}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:658",className:"font-body text-xs text-[#6B6560] mt-1",children:"The full content framework â what to post, when, and how to sell"})]})}),r.jsx(Ee,{"data-loc":"client/src/pages/CaptionGenerator.tsx:661",href:"/tools",children:r.jsxs("div",{"data-loc":"client/src/pages/CaptionGenerator.tsx:662",className:"border border-[#E8E6E1] p-5 hover:border-[#111111] transition-colors cursor-pointer",children:[r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:663",className:"font-body text-xs text-[#B8962E] tracking-[0.08em] uppercase mb-1",children:"Tools"}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:664",className:"font-display text-lg font-light text-[#111111]",children:"All Gallery of One Tools"}),r.jsx("p",{"data-loc":"client/src/pages/CaptionGenerator.tsx:665",className:"font-body text-xs text-[#6B6560] mt-1",children:"Pricing calculator, content planner, collector funnel"})]})})]})]})})]})}),r.jsx(ut,{"data-loc":"client/src/pages/CaptionGenerator.tsx:673"})]})}const Qh="https://www.agaartstudioclasses.com/purchase?product_id=6701897",PC="https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/hero-gallery-wall-fkRBTNX9RViNLFXhSu58jT.webp";function BC(e=.1){const s=w.useRef(null),[n,o]=w.useState(!1);return w.useEffect(()=>{const l=new IntersectionObserver(([u])=>{u.isIntersecting&&o(!0)},{threshold:e});return s.current&&l.observe(s.current),()=>l.disconnect()},[]),{ref:s,visible:n}}function $e({children:e,delay:s=0}){const{ref:n,visible:o}=BC();return r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:30",ref:n,style:{opacity:o?1:0,transform:o?"translateY(0)":"translateY(20px)",transition:`opacity 0.6s ease ${s}ms, transform 0.6s ease ${s}ms`},children:e})}function m1(){return w.useEffect(()=>{window.scrollTo(0,0)},[]),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:44",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/Enroll.tsx:45"}),r.jsxs("section",{"data-loc":"client/src/pages/Enroll.tsx:48",className:"relative min-h-screen flex flex-col",children:[r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:49",className:"absolute inset-0 z-0",children:[r.jsx("img",{"data-loc":"client/src/pages/Enroll.tsx:50",src:PC,alt:"Gallery interior",className:"w-full h-full object-cover"}),r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:55",className:"absolute inset-0 bg-gradient-to-r from-black/55 via-black/30 to-transparent"})]}),r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:57",className:"relative z-10 mt-auto pb-16 pt-32 container",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:58",className:"max-w-2xl",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:59",className:"gallery-rule mb-6 block"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:60",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-white/70 mb-4",children:"Become Your Own Gallery Representative"}),r.jsxs("h1",{"data-loc":"client/src/pages/Enroll.tsx:63",className:"font-display text-7xl md:text-[9rem] lg:text-[11rem] font-light text-white leading-[0.9] mb-8",children:["Gallery",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:64"}),r.jsx("em",{"data-loc":"client/src/pages/Enroll.tsx:65",className:"italic",children:"of One"})]}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:67",className:"font-body text-base text-white/75 leading-relaxed max-w-md mb-10",children:"The programme that teaches artists to represent themselves like a world-class gallery â pricing, Instagram, Facebook, and collector strategy. Everything a gallery does for you, you'll do for yourself."}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:70",className:"flex flex-wrap gap-4",children:[r.jsx("a",{"data-loc":"client/src/pages/Enroll.tsx:71",href:Qh,target:"_blank",rel:"noopener noreferrer",children:r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:72",className:"btn-gold cursor-pointer inline-block",children:"Enrol â $997"})}),r.jsx(Ee,{"data-loc":"client/src/pages/Enroll.tsx:74",href:"/quiz",children:r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:75",className:"inline-block bg-transparent border border-white/50 text-white font-body text-xs font-medium tracking-[0.12em] uppercase px-8 py-3.5 hover:bg-white hover:text-[#111111] transition-colors duration-300 cursor-pointer",children:"Take the Quiz"})})]})]})})]}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:83",className:"mt-16 pt-24 pb-20 border-b border-[#
245E8E6E1]",children:r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:84",className:"container max-w-4xl",children:r.jsxs($e,{"data-loc":"client/src/pages/Enroll.tsx:85",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:86",className:"gallery-rule mb-6 block"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:87",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-6",children:"Gallery of One"}),r.jsxs("h1",{"data-loc":"client/src/pages/Enroll.tsx:90",className:"font-display text-5xl md:text-7xl font-light text-[#111111] leading-[0.95] mb-10",children:["You make work",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:91"}),"that deserves to sell.",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:92"}),r.jsx("em",{"data-loc":"client/src/pages/Enroll.tsx:93",className:"italic",children:"So why isn't it?"})]}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:95",className:"grid grid-cols-1 md:grid-cols-2 gap-12 items-start",children:[r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:96",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:97",className:"font-body text-base text-[#6B6560] leading-relaxed mb-5",children:`You post. You get likes. You get "I love your work." And then â silence. No sale. No collector. No idea why it's not converting.`}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:100",className:"font-body text-base text-[#6B6560] leading-relaxed mb-5",children:"You're not failing because your art isn't good enough. You're failing because nobody taught you the business side. Not the watered-down version. The real system."}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:103",className:"font-body text-base text-[#6B6560] leading-relaxed mb-8",children:"Gallery of One is that system. Built by an artist who went from zero to $100K in her first year â without a gallery, without an agent, and without a large following."}),r.jsx("a",{"data-loc":"client/src/pages/Enroll.tsx:106",href:Qh,target:"_blank",rel:"noopener noreferrer",children:r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:107",className:"btn-gold text-sm cursor-pointer inline-block",children:"I'm ready â Enrol for $997"})})]}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:112",className:"bg-[#F5F4F2] p-8 space-y-6",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:113",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#6B6560]",children:"Does this sound familiar?"}),["You're undercharging because you're scared of losing the sale","You post consistently but your followers don't buy","You've made some sales but can't make it consistent","You feel like a hobbyist, not a professional artist","You're waiting for a gallery to 'discover' you","You have no idea how to build a collector base"].map((e,s)=>r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:124",className:"flex gap-3 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:125",className:"text-[#B8962E] font-body text-sm flex-shrink-0 mt-0.5",children:"â"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:126",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:e})]},s))]})]})]})})}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:136",className:"py-24 bg-[#111111]",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:137",className:"container max-w-4xl",children:[r.jsxs($e,{"data-loc":"client/src/pages/Enroll.tsx:138",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:139",className:"gallery-rule mb-6 block",style:{backgroundColor:"#B8962E"}}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:140",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-6",children:"Imagine 12 months from now"}),r.jsxs("h2",{"data-loc":"client/src/pages/Enroll.tsx:143",className:"font-display text-5xl md:text-6xl font-light text-white leading-[1.0] mb-16",children:["This is what your",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:144"}),r.jsx("em",{"data-loc":"client/src/pages/Enroll.tsx:145",className:"italic",children:"art career looks like."})]})]}),r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:148",className:"grid grid-cols-1 md:grid-cols-3 gap-px bg-white/10",children:[{icon:"ð°",heading:"You know exactly what to charge",body:"No more guessing. No more undercharging because you're scared. You use a formula â and your prices reflect the quality of your work. Collectors respect it. They pay it."},{icon:"ð±",heading:"Your Instagram actually converts",body:"You post with a strategy, not a prayer. Your Stories build anticipation. Your Reels get discovered. Your DMs turn into sales conversations â and you know exactly what to say."},{icon:"ð",heading:"Collectors wait for your releases",body:"You have a Facebook Page with notifications on. When you drop new work, the right people see it immediately. Pieces sell within hours â not months."},{icon:"âï¸",heading:"You have an email list of buyers",body:"Not followers. Buyers. People who've purchased before, who want first access, who refer their friends. Your list is y
245our most valuable business asset."},{icon:"ð¨",heading:"You create with intention",body:"You know what your collectors want. You plan your collections around launches. You make work that sells â without compromising your artistic vision."},{icon:"ð",heading:"You're a professional artist",body:"Not a hobbyist who sells occasionally. A working artist with a system, a collector base, and a business that grows every month. That's the identity shift Gallery of One creates."}].map((e,s)=>r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:181",delay:s*60,children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:182",className:"bg-[#111111] p-8 border border-white/5 hover:border-[#B8962E]/40 transition-colors duration-300",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:183",className:"text-2xl mb-4 block",children:e.icon}),r.jsx("h3",{"data-loc":"client/src/pages/Enroll.tsx:184",className:"font-display text-xl font-light text-white mb-3 leading-snug",children:e.heading}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:185",className:"font-body text-sm text-white/50 leading-relaxed",children:e.body})]})},s))}),r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:190",delay:400,children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:191",className:"mt-16 text-center",children:[r.jsxs("p",{"data-loc":"client/src/pages/Enroll.tsx:192",className:"font-display text-3xl md:text-4xl font-light text-white mb-2",children:["This is not a dream.",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:193"}),r.jsx("em",{"data-loc":"client/src/pages/Enroll.tsx:194",className:"italic",children:"It's a system."})]}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:196",className:"font-body text-sm text-white/40 mt-4 max-w-lg mx-auto",children:"Agnes built this career in 12 months. Gallery of One is the exact system she used â documented, structured, and ready for you to follow."})]})})]})}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:205",className:"py-24 border-b border-[#E8E6E1]",children:r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:206",className:"container max-w-4xl",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:207",className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:208",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:209",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:210",className:"gallery-rule mb-6 block"}),r.jsxs("h2",{"data-loc":"client/src/pages/Enroll.tsx:211",className:"font-display text-4xl md:text-5xl font-light text-[#111111] leading-tight mb-8",children:["Before Gallery of One.",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:212"}),r.jsx("em",{"data-loc":"client/src/pages/Enroll.tsx:213",className:"italic",children:"After Gallery of One."})]})]})}),r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:217",delay:100,children:r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:218",className:"space-y-0",children:[{before:"Posting and hoping",after:"Posting with a strategy that converts"},{before:"Guessing at prices",after:"Using a formula with confidence"},{before:"Waiting to be discovered",after:"Building your own collector base"},{before:"One-off sales, no repeat buyers",after:"Collectors who buy again and again"},{before:"Giving 50% to a gallery",after:"Keeping 100% of every sale"},{before:"Feeling like a hobbyist",after:"Running a professional art business"}].map((e,s)=>r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:227",className:"grid grid-cols-2 gap-0 border-t border-[#E8E6E1]",children:[r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:228",className:"py-4 pr-6 border-r border-[#E8E6E1]",children:r.jsxs("p",{"data-loc":"client/src/pages/Enroll.tsx:229",className:"font-body text-sm text-[#C5C2BC] leading-relaxed",children:["â ",e.before]})}),r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:231",className:"py-4 pl-6",children:r.jsxs("p",{"data-loc":"client/src/pages/Enroll.tsx:232",className:"font-body text-sm text-[#111111] leading-relaxed font-medium",children:["â ",e.after]})})]},s))})})]})})}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:243",className:"py-16 bg-[#111111]",children:r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:244",className:"container max-w-4xl",children:r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:245",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:246",className:"text-center",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:247",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-6",children:"The maths nobody talks about"}),r.jsxs("h2",{"data-loc":"client/src/pages/Enroll.tsx:248",className:"font-display text-4xl md:text-6xl font-light text-white leading-[1.0] mb-6",children:["A gallery takes ",r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:249",className:"text-[#B8962E]",children:"50%"})," of every sale.",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:249"}),r.jsx("em",{"data-loc":"client/src/pages/Enroll.tsx:250",className:"italic",children:"Your gallery costs $997 for a year."})]}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:252",className:"font-body text-sm text-white/50 max-w-xl mx-auto leading-relaxed",children:"Sell $20,000 of work through a traditional gallery â you keep $10,000. Sell $20,000 through Gallery of One â you keep $19,003. The programme pays for itself on the first sale and keeps paying every time after that."})]})})})}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:261",className:"py-24 border-b border-[#
245E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:262",className:"container max-w-4xl",children:[r.jsxs($e,{"data-loc":"client/src/pages/Enroll.tsx:263",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:264",className:"gallery-rule mb-6 block"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:265",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-6",children:"What you will actually learn"}),r.jsxs("h2",{"data-loc":"client/src/pages/Enroll.tsx:268",className:"font-display text-4xl md:text-5xl font-light text-[#111111] leading-tight mb-6",children:["This is not about posting more.",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:269"}),r.jsx("em",{"data-loc":"client/src/pages/Enroll.tsx:270",className:"italic",children:"It's about selling differently."})]}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:272",className:"font-body text-sm text-[#6B6560] leading-relaxed max-w-2xl mb-16",children:'Most art business advice tells you to grow your following, improve your photography, and "be consistent." Gallery of One teaches something different â the specific places collectors actually buy, the exact language that moves them from admiring to purchasing, and the launch method that creates real urgency without ever feeling pushy.'})]}),r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:276",className:"grid grid-cols-1 md:grid-cols-2 gap-px bg-[#E8E6E1]",children:[{number:"01",heading:"Where collectors actually buy",body:"It is not where most artists are spending their time. There is a specific platform where serious collectors â the ones who spend $800 to $3,000 on original work â wait for releases. You will know exactly where it is and how to build your presence there."},{number:"02",heading:"How to speak to buyers, not followers",body:'There is a difference between people who love your work and people who buy it. Gallery of One teaches you the language, the framing, and the positioning that moves someone from "I love this" to "I need to own this." It is not manipulation â it is how galleries have always spoken to collectors.'},{number:"03",heading:"The launch method that creates urgency",body:"Galleries do not just list work and wait. They create events. They build anticipation. They make collectors feel that missing a release is missing something real. You will learn the exact launch structure Agnes uses â the timing, the build-up, the moment of release â that has collectors messaging before a piece is even finished."},{number:"04",heading:"How to build a collector base, not a fan base",body:"Followers do not pay your rent. Collectors do. Gallery of One teaches you to identify, attract, and retain the specific people who buy original work repeatedly â and how to turn a first-time buyer into someone who follows every release and refers their friends."}].map((e,s)=>r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:299",delay:s*80,children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:300",className:"bg-white p-10 hover:bg-[#F5F4F2] transition-colors duration-300",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:301",className:"font-display text-4xl font-light text-[#E8E6E1] block mb-4",children:e.number}),r.jsx("h3",{"data-loc":"client/src/pages/Enroll.tsx:302",className:"font-display text-xl font-light text-[#111111] mb-4 leading-snug",children:e.heading}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:303",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:e.body})]})},s))}),r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:308",delay:350,children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:309",className:"mt-12 bg-[#F5F4F2] border-l-4 border-[#B8962E] p-8",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:310",className:"font-display text-xl font-light text-[#111111] leading-relaxed",children:"âThe strategy is specific. The platform is specific. The language is specific. You will not find this in a generic art business course â because it was built by an artist who tested it on her own work, with her own collectors, until it worked.â"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:313",className:"font-body text-xs text-[#B8962E] font-medium tracking-[0.12em] uppercase mt-4",children:"Agnes Rup â Creator, Gallery of One"})]})})]})}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:320",className:"py-20 bg-[#F5F4F2] border-b border-[#
245E8E6E1]",children:r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:321",className:"container max-w-4xl",children:r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:322",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:323",className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:324",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:325",className:"gallery-rule mb-6 block"}),r.jsxs("h2",{"data-loc":"client/src/pages/Enroll.tsx:326",className:"font-display text-4xl md:text-5xl font-light text-[#111111] leading-[1.05] mb-6",children:["Sell one piece.",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:327"}),r.jsx("em",{"data-loc":"client/src/pages/Enroll.tsx:328",className:"italic",children:"The programme pays for itself."})]}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:330",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-4",children:"Agnes's collectors spend $800â$3,000 on a single original. One sale from a properly set-up Facebook release covers the entire $997 investment. Everything after that is profit."}),r.jsxs("p",{"data-loc":"client/src/pages/Enroll.tsx:333",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-4",children:["Artists who apply the full system â pricing, Instagram, Facebook releases, collector follow-up â consistently generate ",r.jsx("strong",{"data-loc":"client/src/pages/Enroll.tsx:334",className:"text-[#111111]",children:"$10,000â$30,000 in their first year."})]}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:336",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"Not because the market is easy. Because they stopped guessing and started using a system that works."})]}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:340",className:"space-y-px",children:[r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:341",className:"bg-white p-7 border border-[#E8E6E1]",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:342",className:"font-body text-xs font-semibold tracking-[0.12em] uppercase text-[#B8962E] mb-2",children:"Your investment"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:343",className:"font-display text-4xl font-light text-[#111111]",children:"$997"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:344",className:"font-body text-xs text-[#6B6560] mt-1",children:"One year. Full access. No auto-renewal."})]}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:346",className:"bg-white p-7 border border-[#E8E6E1]",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:347",className:"font-body text-xs font-semibold tracking-[0.12em] uppercase text-[#B8962E] mb-2",children:"Break-even point"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:348",className:"font-display text-4xl font-light text-[#111111]",children:"1 sale"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:349",className:"font-body text-xs text-[#6B6560] mt-1",children:"A single piece at collector prices covers the full cost"})]}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:351",className:"bg-[#111111] p-7",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:352",className:"font-body text-xs font-semibold tracking-[0.12em] uppercase text-[#B8962E] mb-2",children:"Realistic first-year return"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:353",className:"font-display text-4xl font-light text-[#B8962E]",children:"$10Kâ$30K+"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:354",className:"font-body text-xs text-white/40 mt-1",children:"For artists who implement the full system"})]})]})]})})})}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:363",className:"py-20 border-b border-[#E8E6E1]",children:r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:364",className:"container max-w-4xl",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:365",className:"grid grid-cols-1 md:grid-cols-2 gap-16 items-center",children:[r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:366",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:367",className:"relative",children:[r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:368",className:"aspect-[3/4] bg-[#F5F4F2] overflow-hidden",children:r.jsx("img",{"data-loc":"client/src/pages/Enroll.tsx:369",src:"https://d2xsxph8kpxj0f.cloudfront.net/310519663377486203/JbYkbBZNUBJyPT6Ws5Fwbd/agnes-rup-portrait_77e8563c.png",alt:"Agnes Rup â Artist",className:"w-full h-full object-cover"})}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:375",className:"absolute -bottom-5 -right-5 bg-[#111111] px-7 py-5 hidden md:block",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:376",className:"font-display text-3xl font-light text-[#B8962E]",children:"$100K"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:377",className:"font-body text-xs text-white/60 mt-0.5",children:"First year selling art"})]})]})}),r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:381",delay:100,children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:382",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:383",className:"gallery-rule mb-6 block"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:384",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-4",children:"Your Instructor"}),r.jsxs("h2",{"data-loc":"client/src/pages/Enroll.tsx:385",className:"font-display text-5xl font-light text-[#111111] leading-[0.95] mb-6",children:["Agnes",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:386"}),r.jsx("em",{"data-loc":"client/src/pages/Enroll.tsx:387",className:"italic",children:"Rup"})]}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:389",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-4",children:"In her first year as a working artist, Agnes Rup generated over $100,000 selling her work â without a gallery, without an agent, and without a large following. She built her collector base from scratch using Instagram and Facebook, a clear pricing system, and the same strategies the world's top galleries use."}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:392",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-4",children:"She was where you are. She figured out what worked. Gallery of One is everything she learned â packaged so you don't have to spend years working it out yourself."}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:395",className:"font-body text-sm font-medium text-[#111111] leading-relaxed",children:"She built her own gallery. Now she's showing you how to build yours."})]})})]})})}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:405",className:"py-20 border-b border-[#
245E8E6E1] bg-[#F5F4F2]",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:406",className:"container max-w-4xl",children:[r.jsxs($e,{"data-loc":"client/src/pages/Enroll.tsx:407",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:408",className:"gallery-rule mb-6 block"}),r.jsxs("h2",{"data-loc":"client/src/pages/Enroll.tsx:409",className:"font-display text-4xl font-light text-[#111111] mb-4",children:["7 modules. 8 tools.",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:410"}),r.jsx("em",{"data-loc":"client/src/pages/Enroll.tsx:411",className:"italic",children:"One complete system."})]}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:413",className:"font-body text-sm text-[#6B6560] leading-relaxed max-w-xl mb-14",children:"Every module is built around a real outcome â not theory. By the end, you have a pricing system, a content engine, a collector community, and a business that runs without a gallery."})]}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:417",className:"space-y-0",children:[[{num:"01",title:"Your Artist Brand",outcome:"You stop being a maker and become a name collectors seek out",value:"$800"},{num:"02",title:"Pricing Your Work",outcome:"You charge what your work is worth â and collectors pay it without hesitation",value:"$900"},{num:"03",title:"Photography & Presentation",outcome:"Your work looks gallery-quality on every screen, in every post",value:"$600"},{num:"04",title:"Instagram as Your Gallery",outcome:"Your feed becomes a collector magnet â every post builds desire and trust",value:"$1,000"},{num:"05",title:"Facebook Strategy",outcome:"You have a room full of buyers waiting for your next release",value:"$900"},{num:"06",title:"The Collector Relationship",outcome:"First-time buyers become lifelong collectors who send you referrals",value:"$800"}].map((e,s)=>r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:426",delay:s*60,children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:427",className:"grid grid-cols-[auto_1fr_auto] gap-6 items-start py-6 border-t border-[#E8E6E1] hover:bg-white px-4 -mx-4 transition-colors group",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:428",className:"font-display text-3xl font-light text-[#E8E6E1] group-hover:text-[#B8962E]/30 transition-colors leading-none mt-1 w-12",children:e.num}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:431",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:432",className:"font-display text-xl font-light text-[#111111] mb-1",children:e.title}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:433",className:"font-body text-sm text-[#B8962E] leading-relaxed font-medium",children:e.outcome})]}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:435",className:"text-right",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:436",className:"font-body text-xs text-[#6B6560] mb-0.5",children:"Value"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:437",className:"font-display text-lg font-light text-[#111111]",children:e.value})]})]})},e.num)),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:442",className:"grid grid-cols-[auto_1fr_auto] gap-6 items-center py-6 border-t border-[#111111] px-4 -mx-4 bg-[#111111]",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:443",className:"w-12"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:444",className:"font-body text-sm font-medium text-white tracking-wide",children:"Total programme value â yours for $997"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:445",className:"font-display text-2xl font-light text-[#B8962E]",children:"$5,000"})]})]})]})}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:452",className:"py-20 border-b border-[#E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:453",className:"container max-w-4xl",children:[r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:454",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:455",className:"mb-14",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:456",className:"gallery-rule mb-6 block"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:457",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-3",children:"Student Results"}),r.jsx("h2",{"data-loc":"client/src/pages/Enroll.tsx:458",className:"font-display text-4xl font-light text-[#111111]",children:"Artists who did the work."})]})}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:461",className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:462",delay:0,children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:463",className:"bg-[#F5F4F2] p-10 border-l-2 border-[#B8962E]",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:464",className:"font-display text-xl font-light text-[#111111] leading-relaxed mb-8",children:"âI had been making work for three years and had no idea what to charge. I used the pricing formula
245in Module 02 on a resin piece I'd been sitting on for months. Listed it at $1,100. It sold within four days. I nearly cried.â"}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:467",className:"flex items-center gap-4",children:[r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:468",className:"w-10 h-10 rounded-full bg-[#E8E6E1] flex items-center justify-center",children:r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:469",className:"font-display text-sm font-light text-[#6B6560]",children:"S"})}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:471",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:472",className:"font-body text-sm font-medium text-[#111111]",children:"Sarah M."}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:473",className:"font-body text-xs text-[#6B6560]",children:"Resin artist â Melbourne, Australia"})]})]})]})}),r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:478",delay:100,children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:479",className:"bg-[#F5F4F2] p-10 border-l-2 border-[#B8962E]",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:480",className:"font-display text-xl font-light text-[#111111] leading-relaxed mb-8",children:"âThe Launch Planner changed everything. I followed the 7-day plan for a small collection of five pieces. Three sold during launch week, two more in the following fortnight. That's $4,200 in three weeks from Instagram and my Facebook group.â"}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:483",className:"flex items-center gap-4",children:[r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:484",className:"w-10 h-10 rounded-full bg-[#E8E6E1] flex items-center justify-center",children:r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:485",className:"font-display text-sm font-light text-[#6B6560]",children:"L"})}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:487",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:488",className:"font-body text-sm font-medium text-[#111111]",children:"Lauren K."}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:489",className:"font-body text-xs text-[#6B6560]",children:"Oil painter â Edinburgh, Scotland"})]})]})]})})]})]})}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:499",className:"py-20 border-b border-[#E8E6E1]",children:r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:500",className:"container max-w-4xl",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:501",className:"grid grid-cols-1 md:grid-cols-2 gap-16",children:[r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:502",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:503",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:504",className:"gallery-rule mb-6 block"}),r.jsx("h2",{"data-loc":"client/src/pages/Enroll.tsx:505",className:"font-display text-3xl font-light text-[#111111] mb-8",children:"This is for you ifâ¦"}),r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:508",className:"space-y-4",children:["You make work you believe in but can't sell it consistently","You've tried Instagram but followers don't turn into buyers","You're undercharging â or guessing at prices entirely","You want a collector base, not just one-off sales","You're ready to treat your practice like a business","You want the strategy a gallery uses â without giving 50% away"].map((e,s)=>r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:517",className:"flex gap-4 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:518",className:"text-[#B8962E] font-body text-sm mt-0.5 flex-shrink-0",children:"â"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:519",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:e})]},s))})]})}),r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:525",delay:100,children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:526",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:527",className:"gallery-rule mb-6 block",style:{backgroundColor:"#E8E6E1"}}),r.jsx("h2",{"data-loc":"client/src/pages/Enroll.tsx:528",className:"font-display text-3xl font-light text-[#111111] mb-8",children:"This is not for you ifâ¦"}),r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:531",className:"space-y-4",children:["You want a shortcut without doing the work","You're not willing to show up consistently on social media","You want someone else to sell your art for you","You're not ready to charge what your work is worth"].map((e,s)=>r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:538",className:"flex gap-4 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:539",className:"text-[#C5C2BC] font-body text-sm mt-0.5 flex-shrink-0",children:"Ã"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:540",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:e})]},s))})]})})]})})}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:551",className:"py-20 border-b border-[#
245E8E6E1] bg-[#F5F4F2]",children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:552",className:"container max-w-3xl",children:[r.jsxs($e,{"data-loc":"client/src/pages/Enroll.tsx:553",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:554",className:"gallery-rule mb-6 block"}),r.jsx("h2",{"data-loc":"client/src/pages/Enroll.tsx:555",className:"font-display text-4xl font-light text-[#111111] mb-12",children:"Questions"})]}),r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:559",className:"space-y-0",children:[{q:"Is this for beginners or established artists?",a:"Both. The Artist Stage Quiz routes you to the module that will make the biggest difference right now â whether you've never sold a piece or you're already selling and want to scale."},{q:"Do I need a large following on Instagram?",a:"No. The Gallery of One method is built around depth, not scale. Artists with 500 highly engaged followers regularly outsell artists with 50,000. Module 04 explains exactly why â and how to build the right audience."},{q:"How long does it take to see results?",a:"Most artists see a meaningful shift within 30 days of applying the pricing and Instagram modules. Building a collector community takes longer â typically 90 days â but the system compounds over time."},{q:"Is this about prints or original work?",a:"Both â but the emphasis is on original work and limited editions at premium prices. The pricing module teaches you to build a three-tier revenue structure: originals, editions, and accessible entry points."},{q:"What if I'm not on Instagram or Facebook yet?",a:"That's fine. The programme starts from scratch and builds your presence step by step. Modules 04 and 05 include complete setup guides for both platforms."},{q:"How long do I have access?",a:"You have full access for one year from enrolment. 12 months to work through all 7 modules, use every tool, and build your collector base at your own pace. No auto-renewal â your access simply ends after one year."}].map((e,s)=>r.jsx($e,{"data-loc":"client/src/pages/Enroll.tsx:586",delay:s*50,children:r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:587",className:"py-7 border-t border-[#E8E6E1]",children:[r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:588",className:"font-display text-xl font-light text-[#111111] mb-3",children:e.q}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:589",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:e.a})]})},s))})]})}),r.jsx("section",{"data-loc":"client/src/pages/Enroll.tsx:598",className:"py-28 bg-[#111111]",children:r.jsx("div",{"data-loc":"client/src/pages/Enroll.tsx:599",className:"container max-w-3xl text-center",children:r.jsxs($e,{"data-loc":"client/src/pages/Enroll.tsx:600",children:[r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:601",className:"gallery-rule mb-8 mx-auto block",style:{backgroundColor:"#B8962E"}}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:602",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-6",children:"The decision"}),r.jsxs("h2",{"data-loc":"client/src/pages/Enroll.tsx:605",className:"font-display text-5xl md:text-7xl font-light text-white mb-8 leading-[0.95]",children:["You can keep",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:606"}),"posting and hoping.",r.jsx("br",{"data-loc":"client/src/pages/Enroll.tsx:607"}),r.jsx("em",{"data-loc":"client/src/pages/Enroll.tsx:608",className:"italic",children:"Or you can build a gallery."})]}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:610",className:"font-body text-sm text-white/50 max-w-md mx-auto mb-4 leading-relaxed",children:"The artists who build collector bases, sell consistently, and go full-time don't have more talent than you. They have a system. Gallery of One is that system."}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:613",className:"font-body text-sm text-white/50 max-w-md mx-auto mb-10 leading-relaxed",children:"One year. One investment. One sale to break even. Everything after that is yours."}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:616",className:"font-display text-4xl font-light text-[#B8962E] mb-1",children:"$997"}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:617",className:"font-body text-sm text-white/40 mb-10",children:"One year full access â no auto-renewal"}),r.jsxs("div",{"data-loc":"client/src/pages/Enroll.tsx:618",className:"flex flex-wrap gap-4 justify-center",children:[r.jsx("a",{"data-loc":"client/src/pages/Enroll.tsx:619",href:Qh,target:"_blank",rel:"noopener noreferrer",children:r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:620",className:"inline-block bg-[#B8962E] text-white font-body text-xs font-medium tracking-[0.12em] uppercase px-12 py-4 hover:bg-[#9A7D25] transition-colors duration-300 cursor-pointer",children:"Yes â I'm building my gallery"})}),r.jsx(Ee,{"data-loc":"client/src/pages/Enroll.tsx:624",href:"/quiz",children:r.jsx("span",{"data-loc":"client/src/pages/Enroll.tsx:625",className:"inline-block bg-transparent border border-white/30 text-white font-body text-xs font-medium tracking-[0.12em] uppercase px-10 py-4 hover:border-white transition-colors duration-300 cursor-pointer",children:"Take the Quiz First"})})]}),r.jsx("p",{"data-loc":"client/src/pages/Enroll.tsx:630",className:"font-body text-xs text-white/25 mt-6",children:"Not sure where to start? The quiz tells you exactly which module to focus on first."})]})})}),r.jsx(ut,{"data-loc":"client/src/pages/Enroll.tsx:637"})]})}function DC(e=.15){const s=w.useRef(null),[n,o]=w.useState(!1);return w.useEffect(()=>{const l=new IntersectionObserver(([u])=>{u.isIntersecting&&o(!0)},{threshold:e});return s.current&&l.observe(s.current),()=>l.disconnect()},[]),{ref:s,visible:n}}function $i({children:e,delay:s=0}){const{ref:n,visible:o}=DC();return r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:27",ref:n,style:{opacity:o?1:0,transform:o?"translateY(0)":"translateY(20px)",transition:`opacity 0.6s ease ${s}ms, transform 0.6s ease ${s}ms`},children:e})}const _C=[{id:"all",label:"All Hooks"},{id:"sales",label:"Drive Immediate Sales"},{id:"viral",label:"Reach New Collectors"},{id:"warm",label:"Build Collector Trust"}],LC=[{id:"pricereveal",name:"The Price Reveal",emoji:"ð°",description:"Show the price with confidence. The #1 hook that drives 'how much?' to 'I'll take it.'.",buyingSignal:"Highest direct sales conversion of all formats",bestFor:"Originals at $500+, premium resin works, collector-targeted content",duration:"15â25 seconds",proofPattern:"Price transparency removes the fear of asking. Collectors who see the price and stay are already qualified buyers."},{id:"launch",name:"The Launch Reel",emoji:"ð",description:"Build anticipation before a release. Creates the urgency that turns followers into buyers.",buyingSignal:"Drives DMs before the piece is even available â pre-qualified buyers",bestFor:"New releases, limited editions, Friday drops, collector previews",duration:"10â20 seconds",proofPattern:"Artists who announce releases 24â48 hours in advance consistently report faster sell-through than those who post without warning."}],zC=[{id:"reveal",name:"The Reveal",emoji:"ð¨",description:"Before â during â finished. The most powerful buying trigger.",buyingSignal:"Highest 'how much?' comment rate",bestFor:"Originals, large-scale works, resin pours",duration:"15â30 seconds",proofPattern:"Artists using this format report 3â8à more DMs than static posts"},{id:"scale",name:"The Scale Reel",emoji:"ð",description:"Show the work next to a person or in a room. Solves the #1 collector hesitation.",buyingSignal:"Drives 'what are the dimensions?' and 'is this still available?' comments",bestFor:"Large format works, statement pieces",duration:"10â20 seconds",proofPattern:"Scale context increases purchase confidence â collectors can't buy what they can't visualise"},{id:"installation",name:"The Installation",emoji:"ð ",description:"Your work in a real space â a collector's home, a styled interior.",buyingSignal:"Drives 'I need this in my living room' and direct DMs",bestFor:"All mediums â especially resin and large works",duration:"15â25 seconds",proofPattern:"Showing art in context is the single most effective way to help collectors visualise ownership"},{id:"process",name:"The Process Reel",emoji:"â±",description:"Time-lapse of creation. Builds collector trust by showing the craft behind what they're buying.",buyingSignal:"Drives 'how was this made?' and 'is this available?' from collectors who want to understand what they're buying",bestFor:"Resin pours, oil paintings, mixed media",duration:"20â45 seconds",proofPattern:"Process content has the highest watch-time completion rate of all art formats"},{id:"story",name:"The Story Behind",emoji:"ð¬",description:"A collector's story, a commission, a piece that found its home. The emotional proof that makes buyers say yes.",buyingSignal:"Drives emotional connection â 'this is exactly what I've been looking for' comments that convert to commissions and sales",bestFor:"Emotionally resonant works, personal series",duration:"20â40 seconds",proofPattern:"Collectors at $500+ price points consistently cite emotional connection as the purchase trigger"},{id:"detail",name:"The Detail Close-Up",emoji:"ð",description:"Extreme close-ups of texture, surface, technique. Shows what photos can't.",buyingSignal:"Drives 'the texture is incredible' and 'is this still available?' comments",bestFor:"Resin, impasto, textured works, mixed media",duration:"10â20 seconds",proofPattern:"Close-up detail content gets saved heavily â
245collectors use it as proof of craft"}],FC={pricereveal:[{hook:"This piece is $[price]. Here is what serious collectors understand about that number.",why:"Frames the price as a mark of quality, not a barrier â attracts buyers who equate price with value",goal:"sales"},{hook:"She paid $[price] for this. Her interior designer said it was the best decision in the room.",why:"Third-party validation from a taste authority â the most powerful signal for high-end buyers",goal:"sales"},{hook:"$[price] original. One exists. Here is a closer look at why.",why:"Price + absolute scarcity â positions the work as genuinely rare, not mass-produced",goal:"sales"},{hook:"This is what a $[price] investment looks like in a room that takes art seriously.",why:"Investment framing in a premium context â speaks to buyers who think about long-term value",goal:"sales"},{hook:"The collector who bought this paid $[price]. She said nothing else in the room compares.",why:"Social proof with a status statement â positions the work as the centrepiece, not an accessory",goal:"sales"},{hook:"This is not a print. Not a limited edition. One original. $[price]. Here is why that matters.",why:"Draws a sharp line between originals and reproductions â speaks directly to buyers who want the real thing",goal:"sales"},{hook:"Her architect specified original resin art for this wall. This is what they chose.",why:"Professional specification framing â positions the work as the choice of design professionals",goal:"sales"},{hook:"At $[price], this piece costs less than the furniture it will outlast. And it will appreciate.",why:"Investment comparison â reframes the price against something the buyer already spends freely on",goal:"sales"}],launch:[{hook:"Private collector preview. This piece is not yet public. Here is your first look.",why:"Exclusive access framing â high-end buyers respond to being treated as insiders, not the general public",goal:"sales"},{hook:"I release [X] originals per year. This is one of them. It will not be listed publicly.",why:"Invitation-only positioning â signals the work is not available to everyone, only to the right buyer",goal:"sales"},{hook:"This piece is looking for the right home. Here is what it looks like.",why:"Warm invitation framing â positions the buyer as someone special, not someone being screened. High-end buyers want to feel chosen, not qualified.",goal:"sales"},{hook:"Collector preview: 24 hours before this goes to my waiting list. DM to hold.",why:"Tiered access â makes the viewer feel they have a rare window before others even know it exists",goal:"sales"},{hook:"Two collectors have already enquired about this piece. One will own it.",why:"Competitive scarcity â high-end buyers are motivated by knowing others want the same thing",goal:"sales"},{hook:"She saw this in my studio and made a decision before I finished the sentence.",why:"Immediate desire story â proves the work commands attention from discerning buyers",goal:"sales"},{hook:"Three new originals. All different. All available to the right home. Here is a preview.",why:"Curation framing â positions the buyer as someone who must qualify, not just purchase",goal:"sales"},{hook:"This piece is available now. I am not running a sale. I am finding it the right home.",why:"Anti-discount positioning â signals the work is priced on value, not reduced to move",goal:"sales"}],reveal:[{hook:"This is what a room looks like when the art is the first decision, not the last.",why:"Interior design philosophy â positions the work as the anchor of a considered space, not an afterthought",goal:"sales"},{hook:"This piece was commissioned for a specific wall in a specific home. Here is the result.",why:"Bespoke framing â makes high-end buyers realise they can have something made exactly for their space",goal:"sales"},{hook:"Watch nothing become the piece that stops every guest in their tracks.",why:"Social impact framing â high-end buyers want art that commands attention and starts conversations",goal:"sales"},{hook:"This piece is available to one buyer. Watch what it took to make it.",why:"Absolute scarcity + reveal â the combination that creates genuine desire in serious buyers",goal:"sales"},{hook:"She briefed me on the feeling she wanted. Not the colours. The feeling. This is what I made.",why:"Emotional intelligence framing â signals Agnes works at a level beyond decoration",goal:"sales"},{hook:"In morning light it is one piece. In the evening it is another. Watch.",why:"Living quality of resin â the dynamic nature of the work is a key value proposition for premium buyers",goal:"sales"},{hook:"This is a $[price] original. Watch the full process. Then decide if it is
245worth more.",why:"Confident value challenge â invites the buyer to form their own judgment, which always lands higher",goal:"sales"},{hook:"I was asked to make something that could not be bought in a gallery. Here it is.",why:"Anti-gallery positioning â speaks to buyers who want something beyond what is commercially available",goal:"sales"},{hook:"There is one of this. Here is what went into it.",why:"Absolute uniqueness, no embellishment â the simplest and most powerful statement for original art",goal:"sales"},{hook:"The collector who owns this will never see it in another home. That is the point.",why:"Exclusivity as the primary value â speaks directly to high-end buyers who want what nobody else has",goal:"sales"}],scale:[{hook:"This is what [W] Ã [H] inches looks like in a room that was designed to hold it.",why:"Scale + intentional space â positions the work as something a considered home is built around",goal:"sales"},{hook:"The question is never the size. The question is whether the room is ready for it.",why:"Confident reversal â reframes scale as a quality of the space, not a limitation of the work",goal:"sales"},{hook:"A piece this scale does not decorate a room. It defines it.",why:"Architectural language â speaks to buyers who think about their home as a designed environment",goal:"sales"},{hook:"Her interior designer said the room needed something that could hold its own. This is it.",why:"Professional endorsement â positions the work as the choice of people with serious taste",goal:"sales"},{hook:"This is what [W] Ã [H] actually looks like. Numbers do not prepare you for this.",why:"Experiential gap â makes the visual the only way to understand the work's presence",goal:"sales"},{hook:"Large-scale original resin art. One exists. Here is what it commands in a room.",why:"Rarity + presence â the two qualities high-end buyers pay a premium for",goal:"sales"},{hook:"This is the piece an architect specified for a client who wanted nothing generic.",why:"Professional specification â the highest possible endorsement for a premium buyer",goal:"sales"},{hook:"When the art is this scale, the room becomes the frame. Watch.",why:"Poetic architectural framing â elevates the work from decoration to defining element",goal:"sales"},{hook:"This is what a statement piece actually looks like. Not a print. Not a reproduction. This.",why:"Direct comparison to lower-tier alternatives â makes the original feel like the only real option",goal:"sales"}],installation:[{hook:"A collector sent me this photo. Her interior designer had been looking for this for two years.",why:"Design professional validation â the strongest possible endorsement for a high-end buyer",goal:"sales"},{hook:"This is what it looks like when the art is the first thing you see when you walk in.",why:"Entry-point positioning â high-end buyers want art that commands the room from the moment you enter",goal:"sales"},{hook:"She said every guest asks about it before they ask about anything else in the room.",why:"Social currency framing â high-end buyers want art that makes them look like they have exceptional taste",goal:"sales"},{hook:"This wall had three different pieces on it. None of them were right. Then this.",why:"Discernment story â positions the buyer as someone with high standards, and the work as the piece that finally met them",goal:"sales"},{hook:"Her interior designer commissioned this. Then asked me for two more.",why:"Repeat professional commission â the most credible signal that the work performs at a premium level",goal:"sales"},{hook:"This is what it looks like when the art and the architecture are in conversation.",why:"Architectural language â speaks to buyers who think about their home as a designed whole",goal:"sales"},{hook:"The room was designed around this piece. That is the correct order.",why:"Confident hierarchy â positions the art as the primary design decision, not a finishing touch",goal:"sales"},{hook:"This is what $[price] of original resin art looks like in the home it was made for.",why:"Price + bespoke context â makes the investment feel purposeful and permanent",goal:"sales"},{hook:"He bought this without visiting the studio. Here is the photo he sent me when it arrived.",why:"Removes the 'must see in person' objection with real collector evidence â powerful for online premium sales",goal:"sales"},{hook:"This is not the kind of piece you find in a gallery. This is the kind you commission.",why:"Anti-gallery, pro-direct positioning â speaks to buyers who want something beyond what is commercially available",goal:"sales"}],process:[{hook:"This is what you are actually acquiring when you invest in a piece like this.",why:"Investment language from the first word â frames the purchase as an acquisition, not a transaction",goal:"sales"},{hook:"Watch what goes into a piece that will be in your family for generations.",why:"Legacy framing â high-end buyers think about permanence, not just decoration",goal:"sales"},{hook:"Every layer you are seeing is why no two of these pieces are the same. Ever.",why:"Absolute uniqueness argument â the core value proposition for buyers who want what nobody else has",goal:"sales"},{hook:"This is the process that makes serious collectors say they cannot stop looking at it.",why:"Outcome-first with premium qualifier â 'serious collectors' signals this is not for casual buyers",goal:"sales"},{hook:"Watch this become the piece an interior designer will build a room around.",why:"Professional design framing â positions the work as the anch
245or of a considered space",goal:"sales"},{hook:"[X] layers of resin. Each one changes what you see. Here is why that matters.",why:"Quantified craft with a direct value statement â connects the process to the buyer's experience of owning it",goal:"sales"},{hook:"This is why an original resin work looks nothing like a print. And why that difference is everything.",why:"Sharp comparison â makes the premium price feel not just justified but obvious",goal:"sales"},{hook:"The surface of this piece is why collectors who own one always come back for another.",why:"Repeat buyer social proof â the most powerful signal that the work delivers on its promise",goal:"sales"},{hook:"This cannot be reproduced. Not by a printer. Not by another artist. Watch why.",why:"Absolute uniqueness with a demonstration â makes the claim feel earned, not just stated",goal:"sales"},{hook:"Watch the moment this becomes something that belongs in a serious collection.",why:"Collection framing â positions the buyer as a collector, not just a buyer, which elevates the purchase",goal:"sales"}],story:[{hook:"She commissioned this for a wall that had never had the right piece. I understood immediately.",why:"Discernment story â positions both the collector and Agnes as people with high standards",goal:"sales"},{hook:"He bought this without visiting the studio. He said the work spoke for itself.",why:"Confidence in the work without in-person viewing â removes the biggest barrier for online premium sales",goal:"sales"},{hook:"This piece was made for one specific home. Here is the brief, and here is the result.",why:"Commission transparency â shows high-end buyers exactly how a bespoke commission works",goal:"sales"},{hook:"She said it is the first thing she sees every morning and the last thing she thinks about at night.",why:"Daily life ownership story â sells the ongoing experience of living with significant art",goal:"sales"},{hook:"This piece was enquired about before I finished it. Here is why that happens.",why:"Pre-completion demand â proves the work attracts serious buyers before it is even available",goal:"sales"},{hook:"She wanted something that captured the feeling of a specific place. Not the image. The feeling.",why:"Emotional intelligence brief â signals Agnes works at a level that goes beyond visual decoration",goal:"sales"},{hook:"When it arrived, she called me. She said nothing in the room had ever made her feel that way.",why:"Emotional impact story â proves the work delivers an experience, not just an object",goal:"sales"},{hook:"She briefed me in January. She said she wanted something she would still love in 30 years. Here it is.",why:"Long-term investment framing â speaks to buyers who think about permanence and lasting value",goal:"sales"},{hook:"Her architect saw this in her home and asked for my contact. That is the kind of work this is.",why:"Professional referral story â the most credible signal of quality for a high-end buyer",goal:"sales"},{hook:"She had never bought art directly from an artist before. She said she will never buy any other way again.",why:"Conversion story â addresses the hesitation of buyers who have only bought through galleries",goal:"sales"}],detail:[{hook:"You cannot feel this through a screen. But you can understand why serious collectors reach out immediately.",why:"Tactile exclusivity â makes the physical experience of the work feel like something only ownership can deliver",goal:"sales"},{hook:"This is what you are looking at every day when you own a piece made at this level.",why:"Daily ownership framing with a quality qualifier â positions the detail as a reward for buying at the premium tier",goal:"sales"},{hook:"Every collector who has seen this in person stops at this part first. Here is why.",why:"Consistent reaction from multiple serious buyers â the most credible form of detail validation",goal:"sales"},{hook:"Get closer. This is what separates a $[price] original from everything else.",why:"Price-anchored detail â connects the visual quality directly to the investment level",goal:"sales"},{hook:"No photograph captures this. No print reproduces it. Only the original.",why:"Absolute exclusivity of the original â makes any reproduction feel like a compromise",goal:"sales"}
245,{hook:"The depth in this piece shifts depending on the light and where you stand. It is different every time.",why:"Living quality of resin â positions the work as something that rewards long-term ownership",goal:"sales"},{hook:"This is the surface that makes guests stop mid-conversation. Every single time.",why:"Social currency framing â high-end buyers want art that commands attention and creates moments",goal:"sales"},{hook:"She said she discovers something new in it every week. Two years later, she still does.",why:"Long-term ownership testimony â proves the work delivers ongoing value, not just initial impact",goal:"sales"},{hook:"This is the detail that made her decide before she asked the price. Watch it.",why:"Desire before price sequence â the most powerful order for any premium sales story",goal:"sales"},{hook:"Serious collectors see this and ask one question: is it available. Here is your answer.",why:"Qualifier + invitation â filters for high-intent buyers and gives them an immediate path to purchase",goal:"sales"}]},HC={reveal:[{time:"0â2s",label:"The Hook Frame",instruction:"Open on the blank canvas or early stage â the 'before'. No text yet. Let the visual do the work.",tip:"The first frame must be visually interesting even without context. Texture, colour, or an unexpected angle."},{time:"2â4s",label:"The Hook Text",instruction:"Your hook appears as text overlay. Keep it under 8 words. White text, clean font.",tip:"Don't explain â intrigue. The hook should raise a question, not answer one."},{time:"4â20s",label:"The Process",instruction:"Time-lapse of the work developing. Cut to the most visually satisfying moments â colour mixing, brush strokes, resin spreading.",tip:"Use trending audio that matches the pace of your work. Slow, atmospheric music for detailed work. Upbeat for fast processes."},{time:"20â27s",label:"The Reveal",instruction:"Slow down here. Show the finished work in full. Hold for 2â3 seconds. Let it breathe.",tip:"Film the reveal in the best light you have. This frame will be screenshotted and saved."},{time:"27â30s",label:"The CTA",instruction:"One line of text: 'Available â link in bio' or 'DM me to enquire.' Nothing else.",tip:"One CTA only. Two options = no action. Make it effortless to respond."}],scale:[{time:"0â2s",label:"The Scale Shock",instruction:"Open with someone standing next to the work â the size should be immediately apparent.",tip:"Film from a distance first, then move closer. The contrast in scale is the hook."},{time:"2â5s",label:"The Hook Text",instruction:"State the dimensions: 'This is 48 Ã 60 inches.' Simple, factual, immediate.",tip:"Collectors need numbers. Give them the number before they have to ask."},{time:"5â15s",label:"The Room Context",instruction:"Pan around the space. Show the work in relation to furniture, windows, ceiling height.",tip:"If you don't have a large space, use a friend's home, a studio, or a gallery wall."},{time:"15â20s",label:"The Detail",instruction:"Move in close. Show the surface, the texture, the brushwork or resin depth.",tip:"The close-up after the wide shot creates a satisfying visual journey."},{time:"20â25s",label:"The CTA",instruction:"'Dimensions and pricing in bio' or 'DM for details.' Keep it clean.",tip:"Mention that you ship â many collectors assume large works can't be delivered."}],installation:[{time:"0â2s",label:"The Room Reveal",instruction:"Open on the room â not the art. Let the space establish context before the work is seen.",tip:"A beautiful room makes the art look more valuable. Borrow a beautiful space if needed."},{time:"2â5s",label:"The Hook Text",instruction:"Use the collector's words if you have them. Or: 'This is what it looks like at home.'",tip:"Real collector quotes are more powerful than anything you can write yourself."},{time:"5â15s",label:"The Slow Pan",instruction:"Pan slowly from the room to the artwork. Let the viewer's eye travel the way a visitor's would.",tip:"Slow movement signals confidence. Fast cuts signal anxiety."},{time:"15â22s",label:"The Detail",instruction:"Close in on the work itself â texture, colour, surface. Show what the wide shot can't.",tip:"This is where collectors decide if they want to own it. Make this moment count."},{time:"22â28s",label:"The CTA",instruction:"'This piece found its home. Enquire about commissions or available works â link in bio.'",tip:"Sold works drive enquiries. 'This sold' is one of the most powerful CTAs in art sales."}],process:[{time:"0â3s",label:"The Opening Hook",instruction:"Start mid-process â not at the beginning. The most visually interesting moment of your work.",tip:"Never start with a blank canvas. Start where something is already happening."},{time:"3â5s",label:"The Hook Text",instruction:"Your hook line. Keep it under 10 words. Speak to the collector â what will this piece do for them?",tip:"
245Collector-facing is always more powerful than artist-facing. 'This is what lives in your home' beats 'Watch me create.'"},{time:"5â30s",label:"The Process",instruction:"Time-lapse of the full creation. Edit to the beat of your audio. Cut dead time ruthlessly.",tip:"The audio choice is as important as the footage. Match the energy of the music to the energy of your work."},{time:"30â40s",label:"The Finished Work",instruction:"Hold on the finished piece for 3â5 seconds. Film it beautifully â best light, clean background.",tip:"This is the moment that drives DMs. Don't rush past it."},{time:"40â45s",label:"The CTA",instruction:"'Available â link in bio' or 'Commission enquiries open â DM me.'",tip:"If the piece is sold, say so: 'This one found its home. Commissions open.' Sold = social proof."}],story:[{time:"0â3s",label:"The Emotional Hook",instruction:"Open on the finished work â beautifully filmed. Your hook text appears over it.",tip:"The work should be visible from the first frame. The story is about the work, not about you."},{time:"3â8s",label:"The Context",instruction:"Cut to a detail of the work while you narrate (voiceover or text overlay) the story behind it.",tip:"Keep the story to one specific moment or emotion. Don't try to tell everything."},{time:"8â25s",label:"The Story",instruction:"Continue the narrative. Show the piece in the collector's home, the delivery, or the commission brief. Keep the collector as the hero of the story.",tip:"The best collector stories follow this arc: they wanted something â they couldn't find it â you made it. That's the story that sells."},{time:"25â32s",label:"The Reveal",instruction:"Return to the finished work. Hold on it. Let the story land.",tip:"Silence here â or a musical swell â is more powerful than more words."},{time:"32â38s",label:"The CTA",instruction:"'This piece is available. If it resonates with you, link in bio.' Quiet, confident, not pushy.",tip:"Match the energy of your CTA to the energy of the story. A quiet story needs a quiet CTA."}],detail:[{time:"0â2s",label:"The Extreme Close-Up",instruction:"Open so close the viewer doesn't immediately know what they're looking at.",tip:"Disorientation in the first 2 seconds creates curiosity. The reveal of what it is becomes the hook."},{time:"2â4s",label:"The Hook Text",instruction:"Name what they're seeing: 'This is the surface of a resin painting.' Or use your hook line.",tip:"The contrast between the abstract close-up and the clear text creates visual interest."},{time:"4â15s",label:"The Detail Journey",instruction:"Move slowly across the surface. Show different textures, depths, layers. Let the camera linger.",tip:"Slow movement on texture is hypnotic. This is the format that gets the most replays."},{time:"15â22s",label:"The Pull-Back",instruction:"Pull back to reveal the full work. The detail journey makes the full reveal more satisfying.",tip:"The pull-back is the payoff. Make sure the full work is filmed beautifully."},{time:"22â28s",label:"The CTA",instruction:"'The texture you can't fully see in a photo. Available â link in bio.'",tip:"Reference the limitation of photos â it makes the Reel feel exclusive and necessary."}]},UC=[{label:"Available work",text:"Available â link in bio."},{label:"DM to enquire",text:"DM me to enquire about this piece."},{label:"Commission open",text:"Commission enquiries open â DM me."},{label:"Sold (drives enquiries)",text:"This one found its home. Commission enquiries open."},{label:"Limited edition",text:"Limited edition prints available â link in bio."},{label:"Price transparency",text:"Originals from $[X]. Link in bio for full collection."}],GC=[{mood:"Atmospheric / Cinematic",best:"Story reels, installation reels, emotional reveals",examples:"Hans Zimmer-style instrumentals, ambient piano, lo-fi orchestral"},{mood:"Satisfying / ASMR",best:"Detail close-ups, resin pours, texture reels",examples:"Quiet ambient, nature sounds, soft instrumental"},{mood:"Upbeat / Trending",best:"Process time-lapses, before/after reveals",examples:"Current trending audio on Instagram â check Reels audio tab weekly"},{mood:"Emotional / Indie",best:"Story behind the work, personal narrative reels",examples:"Soft indie folk, emotional piano, acoustic"}];function IC(){const[e,s]=w.useState(1),[n,o]=w.useState(null),[l,u]=w.useState(null),[d,f]=w.useState(null),[p,g]=w.useState(""),[x,y]=w.useState(""),[v,k]=w.useState(""),[j,E]=w.useState(""),[N,O]=w.useState(!1),[R,_]=w.useState(0),Q=4;w.useEffect(()=>{window.scrollTo(0,0)},[]);const F=[...zC,...LC],U=F.find(B=>
245B.id===n),[C,D]=w.useState("all"),Z=n?(FC[n]||[]).filter(B=>C==="all"||B.goal===C):[],ae=(()=>{const B=[...Z];for(let te=B.length-1;te>0;te--){const T=(te*7+R*13)%(te+1);[B[te],B[T]]=[B[T],B[te]]}return B.slice(0,Q)})(),se=Math.ceil(Z.length/Q),ie=n?HC[n]||[]:[],oe=p||l||"",le=()=>{if(!U||!oe||!d)return"";const B=ie.map((te,T)=>`[${te.time}] ${te.label.toUpperCase()} 246${te.instruction}`).join(` 247 248`);return`REEL FORMAT: ${U.name.toUpperCase()} 249DURATION: ${U.duration} 250 251HOOK: "${oe}" 252 253${B} 254 255CTA: "${d}" 256 257PRO TIP: ${ie[ie.length-1]?.tip}`},M=()=>{navigator.clipboard.writeText(le()),O(!0),setTimeout(()=>O(!1),2e3)},H=B=>B===1?!!n:B===2?!!oe:B===3?!0:B===4?!!d:!0,L=5;return r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:352",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/ReelBuilder.tsx:353"}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:356",className:"mt-16 bg-[#111111] py-20 px-6",children:r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:357",className:"container max-w-4xl",children:[r.jsxs($i,{"data-loc":"client/src/pages/ReelBuilder.tsx:358",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:359",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-4",children:"Interactive Tool"}),r.jsxs("h1",{"data-loc":"client/src/pages/ReelBuilder.tsx:360",className:"font-display text-5xl md:text-7xl font-light text-white leading-[0.95] mb-6",children:["Reel",r.jsx("br",{"data-loc":"client/src/pages/ReelBuilder.tsx:361"}),r.jsx("em",{"data-loc":"client/src/pages/ReelBuilder.tsx:361",className:"italic",children:"Builder"})]}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:363",className:"font-body text-sm text-white/60 max-w-lg leading-relaxed",children:'Built from the patterns that actually drive "how much?" and "where can I buy this?" comments. Choose your format, pick your hook, build your script.'})]}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:369",className:"grid grid-cols-3 gap-px bg-white/10 mt-12",children:[{value:"6",label:"Proven reel formats"},{value:"60+",label:"Collector-targeted hooks"},{value:"5",label:"Steps to a complete script"}].map((B,te)=>r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:375",className:"bg-[#111111] px-6 py-5",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:376",className:"font-display text-3xl font-light text-[#B8962E]",children:B.value}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:377",className:"font-body text-xs text-white/40 mt-1",children:B.label})]},te))})]})}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:385",className:"sticky top-16 z-40 bg-white border-b border-[#E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:386",className:"container max-w-4xl",children:[r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:387",className:"flex items-center gap-0 overflow-x-auto",children:["Format","Hook","Structure","CTA & Audio","Your Script"].map((B,te)=>r.jsxs("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:389",onClick:()=>{(te+1<=e||H(e))&&s(te+1)},className:`flex items-center gap-2 px-4 py-4 whitespace-nowrap font-body text-xs font-medium tracking-[0.08em] uppercase transition-colors border-b-2 ${e===te+1?"border-[#111111] text-[#111111]":te+1<e?"border-[#B8962E] text-[#B8962E]":"border-transparent text-[#C5C2BC]"}`,children:[r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:400",className:`w-5 h-5 rounded-full flex items-center justify-center text-[10px] font-bold flex-shrink-0 ${te+1<e?"bg-[#B8962E] text-white":e===te+1?"bg-[#111111] text-white":"bg-[#E8E6E1] text-[#6B6560]"}`,children:te+1<e?"â":te+1}),B]},te))}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:407",className:"h-0.5 bg-[#E8E6E1]",children:r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:408",className:"h-full bg-[#B8962E] transition-all duration-500",style:{width:`${(e-1)/(L-1)*100}%`}})})]})}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:417",className:"py-16",children:r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:418",className:"container max-w-4xl",children:[e===1&&r.jsx($i,{"data-loc":"client/src/pages/ReelBuilder.tsx:422",children:r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:423",children:[r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:424",className:"block w-8 h-px bg-[#B8962E] mb-6"}),r.jsx("h2",{"data-loc":"client/src/pages/ReelBuilder.tsx:425",className:"font-display text-4xl font-light text-[#111111] mb-3",children:"Choose your reel format"}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:426",className:"font-body text-sm text-[#6B6560] mb-10 max-w-lg",children:"Each format is built around a specific buying trigger. Cho
257ose the one that matches the work you're promoting."}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:429",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:F.map(B=>r.jsxs("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:431",onClick:()=>o(B.id),className:`text-left p-6 border-2 transition-all duration-200 ${n===B.id?"border-[#111111] bg-[#111111]":"border-[#E8E6E1] bg-white hover:border-[#111111]"}`,children:[r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:440",className:"flex items-start justify-between mb-3",children:[r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:441",className:"text-2xl",children:B.emoji}),r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:442",className:`font-body text-xs font-medium tracking-[0.08em] uppercase px-2 py-1 ${n===B.id?"bg-[#B8962E] text-white":"bg-[#F5F4F2] text-[#6B6560]"}`,children:B.duration})]}),r.jsx("h3",{"data-loc":"client/src/pages/ReelBuilder.tsx:446",className:`font-display text-xl font-light mb-2 ${n===B.id?"text-white":"text-[#111111]"}`,children:B.name}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:449",className:`font-body text-xs leading-relaxed mb-3 ${n===B.id?"text-white/70":"text-[#6B6560]"}`,children:B.description}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:452",className:`font-body text-xs font-medium ${n===B.id,"text-[#B8962E]"}`,children:["â ",B.buyingSignal]})]},B.id))}),n&&r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:459",className:"mt-8 p-6 bg-[#F5F4F2] border-l-4 border-[#B8962E]",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:460",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#B8962E] mb-2",children:"Why this works"}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:461",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:U?.proofPattern}),r.jsxs("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:462",className:"font-body text-xs text-[#9B9590] mt-2",children:["Best for: ",U?.bestFor]})]})]})}),e===2&&n&&r.jsx($i,{"data-loc":"client/src/pages/ReelBuilder.tsx:471",children:r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:472",children:[r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:473",className:"block w-8 h-px bg-[#B8962E] mb-6"}),r.jsx("h2",{"data-loc":"client/src/pages/ReelBuilder.tsx:474",className:"font-display text-4xl font-light text-[#111111] mb-3",children:"Choose your opening hook"}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:475",className:"font-body text-sm text-[#6B6560] mb-6 max-w-lg",children:"The first 2 seconds determine whether someone watches or scrolls. Filter by your goal to see the hooks most likely to achieve it."}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:480",className:"flex flex-wrap gap-2 mb-8",children:_C.map(B=>r.jsxs("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:482",onClick:()=>{D(B.id),_(0),u(null),g("")},className:`font-body text-xs font-medium tracking-[0.08em] uppercase px-4 py-2 border transition-all duration-200 ${C===B.id?"bg-[#111111] text-white border-[#111111]":"bg-white text-[#6B6560] border-[#E8E6E1] hover:border-[#111111] hover:text-[#111111]"}`,children:[B.id==="sales"&&"ð° ",B.id==="viral"&&"ð¥ ",B.id==="warm"&&"ð¤ ",B.label]},B.id))}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:497",className:"grid grid-cols-1 md:grid-cols-3 gap-4 mb-10 p-6 bg-[#F5F4F2]",children:[r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:498",children:[r.jsx("label",{"data-loc":"client/src/pages/ReelBuilder.tsx:499",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-2",children:"Artwork title (optional)"}),r.jsx("input",{"data-loc":"client/src/pages/ReelBuilder.tsx:500",type:"text",value:x,onChange:B=>y(B.target.value),placeholder:"e.g. Midnight Tide",className:"w-full font-body text-sm text-[#111111] border-b border-[#E8E6E1] focus:border-[#111111] bg-transparent py-2 outline-none placeholder:text-[#C5C2BC]"})]}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:508",children:[r.jsx("label",{"data-loc":"client/src/pages/ReelBuilder.tsx:509",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-2",children:"Medium"}),r.jsx("input",{"data-loc":"client/src/pages/ReelBuilder.tsx:510",type:"text",value:v,onCh
257ange:B=>k(B.target.value),placeholder:"e.g. Resin on board",className:"w-full font-body text-sm text-[#111111] border-b border-[#E8E6E1] focus:border-[#111111] bg-transparent py-2 outline-none placeholder:text-[#C5C2BC]"})]}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:518",children:[r.jsx("label",{"data-loc":"client/src/pages/ReelBuilder.tsx:519",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-2",children:"Price"}),r.jsx("input",{"data-loc":"client/src/pages/ReelBuilder.tsx:520",type:"text",value:j,onChange:B=>E(B.target.value),placeholder:"e.g. $1,800",className:"w-full font-body text-sm text-[#111111] border-b border-[#E8E6E1] focus:border-[#111111] bg-transparent py-2 outline-none placeholder:text-[#C5C2BC]"})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:531",className:"flex items-center justify-between mb-4",children:[r.jsxs("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:532",className:"font-body text-xs text-[#9B9590]",children:["Showing ",ae.length," of ",Z.length," hooks"]}),r.jsxs("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:535",onClick:()=>{_(B=>(B+1)%se),u(null),g("")},className:"flex items-center gap-2 font-body text-xs font-medium tracking-[0.1em] uppercase text-[#B8962E] border border-[#B8962E] px-4 py-2 hover:bg-[#B8962E] hover:text-white transition-all duration-200",children:[r.jsxs("svg",{"data-loc":"client/src/pages/ReelBuilder.tsx:543",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[r.jsx("path",{"data-loc":"client/src/pages/ReelBuilder.tsx:544",d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"}),r.jsx("path",{"data-loc":"client/src/pages/ReelBuilder.tsx:545",d:"M21 3v5h-5"}),r.jsx("path",{"data-loc":"client/src/pages/ReelBuilder.tsx:546",d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"}),r.jsx("path",{"data-loc":"client/src/pages/ReelBuilder.tsx:547",d:"M8 16H3v5"})]}),"New hooks"]})]}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:553",className:"space-y-3 mb-8",children:ae.map((B,te)=>{const T=B.hook.replace("[price]",j||"[price]").replace("[X]",j||"[X]");return r.jsxs("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:559",onClick:()=>{u(T),g("")},className:`w-full text-left p-5 border-2 transition-all duration-200 ${l===T&&!p?"border-[#111111] bg-[#111111]":"border-[#E8E6E1] bg-white hover:border-[#111111]"}`,children:[r.jsxs("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:568",className:`font-display text-lg font-light mb-2 ${l===T&&!p?"text-white":"text-[#111111]"}`,children:['"',T,'"']}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:571",className:"flex items-start justify-between gap-3",children:[r.jsxs("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:572",className:`font-body text-xs leading-relaxed ${l===T&&!p?"text-white/60":"text-[#6B6560]"}`,children:["Why it works: ",B.why]}),r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:575",className:`flex-shrink-0 font-body text-[10px] font-medium tracking-[0.08em] uppercase px-2 py-0.5 ${B.goal==="sales"?l===T&&!p?"bg-[#B8962E] text-white":"bg-[#FFF8E7] text-[#B8962E]":B.goal==="viral"?l===T&&!p?"bg-white/20 text-white":"bg-[#F0F0F0] text-[#6B6560]":l===T&&!p?"bg-white/10 text-white/70":"bg-[#F5F4F2] text-[#9B9590]"}`,children:B.goal==="sales"?"Sales":B.goal==="viral"?"Viral":"Warm Audience"})]})]},te)})}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:590",className:"border-t border-[#E8E6E1] pt-8",children:[r.jsx("label",{"data-loc":"client/src/pages/ReelBuilder.tsx:591",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-3",children:"Or write your own hook"}),r.jsx("textarea",{"data-loc":"client/src/pages/ReelBuilder.tsx:594",value:p,onChange:B=>{g(B.target.value),u(null)},placeholder:"Write your own opening hook...",rows:2,className:"w-full font-body text-sm text-[#111111] border border-[#E8E6E1] focus:border-[#111111] bg-white p-4 outline-none placeholder:text-[#C5C2BC] resize-none"}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:601",className:"font-body text-xs text-[#9B9590] mt-2",children:"Keep it under 10 words. Specific beats general. Raise a question, don't answer one."})]})]})}),e===3&&n&&r.jsx($i,{"data-loc":"client/src/pages/ReelBuilder.tsx:609",children:r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:610",children:[r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:611",className:"block w-8 h-px bg-[#B8962E] mb-6"}),r.jsx("h2",{"data-loc":"client/src/pages/ReelBuilder.tsx:612",className:"font-display text-4xl font-light text-[#111111] mb-3",children:"Your reel structure"}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:613",className:"font-body text-sm text-[#6B6560] mb-10 max-w-lg",children:"Every second of a high-converting reel has a job. Here's exactly what to film and when."}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:616",className:"space-y-0",children:ie.map((B,te)=>r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:618",className:"grid grid-cols-[80px_1fr] gap-0 border border-[#
257E8E6E1] border-b-0 last:border-b",children:[r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:619",className:"bg-[#111111] flex items-center justify-center p-4",children:r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:620",className:"font-body text-xs font-medium text-[#B8962E] text-center",children:B.time})}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:622",className:"p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:623",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] mb-2",children:B.label}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:624",className:"font-body text-sm text-[#6B6560] leading-relaxed mb-3",children:B.instruction}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:625",className:"flex gap-2 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:626",className:"text-[#B8962E] text-xs mt-0.5 flex-shrink-0",children:"â"}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:627",className:"font-body text-xs text-[#9B9590] italic leading-relaxed",children:B.tip})]})]})]},te))}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:635",className:"mt-10",children:[r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:636",className:"block w-8 h-px bg-[#B8962E] mb-6"}),r.jsx("h3",{"data-loc":"client/src/pages/ReelBuilder.tsx:637",className:"font-display text-2xl font-light text-[#111111] mb-6",children:"Audio guide"}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:638",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:GC.map((B,te)=>r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:640",className:"p-5 border border-[#E8E6E1]",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:641",className:"font-body text-xs font-medium tracking-[0.08em] uppercase text-[#111111] mb-1",children:B.mood}),r.jsxs("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:642",className:"font-body text-xs text-[#B8962E] mb-2",children:["Best for: ",B.best]}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:643",className:"font-body text-xs text-[#6B6560] leading-relaxed",children:B.examples})]},te))})]})]})}),e===4&&r.jsx($i,{"data-loc":"client/src/pages/ReelBuilder.tsx:654",children:r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:655",children:[r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:656",className:"block w-8 h-px bg-[#B8962E] mb-6"}),r.jsx("h2",{"data-loc":"client/src/pages/ReelBuilder.tsx:657",className:"font-display text-4xl font-light text-[#111111] mb-3",children:"Choose your call to action"}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:658",className:"font-body text-sm text-[#6B6560] mb-10 max-w-lg",children:"One CTA only. Two options means no action. The best CTAs are effortless to respond to."}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:661",className:"grid grid-cols-1 md:grid-cols-2 gap-3 mb-10",children:UC.map((B,te)=>r.jsxs("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:663",onClick:()=>f(B.text.replace("[X]",j||"[price]")),className:`text-left p-5 border-2 transition-all duration-200 ${d===B.text.replace("[X]",j||"[price]")?"border-[#111111] bg-[#111111]":"border-[#E8E6E1] bg-white hover:border-[#111111]"}`,children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:672",className:`font-body text-xs font-medium tracking-[0.08em] uppercase mb-2 ${d===B.text.replace("[X]",j||"[price]")?"text-[#B8962E]":"text-[#6B6560]"}`,children:B.label}),r.jsxs("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:675",className:`font-display text-lg font-light ${d===B.text.replace("[X]",j||"[price]")?"text-white":"text-[#111111]"}`,children:['"',B.text.replace("[X]",j||"[price]"),'"']})]},te))}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:683",className:"bg-[#F5F4F2] p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:684",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] mb-4",children:"Before you post"}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:685",className:"space-y-3",children:["Post between 7â9am or 6â9pm in your collector's timezone â not yours","Write your caption before you post, not in the app. Keep the first line under 125 characters","Use 8â12 hashtags maximum. Mix: medium-specific, style, location, collector-facing","Reply to every comment within the first 60 minutes â the algorithm rewards early engagement","Pin your best comment (your price or a collector's response) to the top"].map((B,te)=>r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:693",className:"flex gap-3 items-start",children:[r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:694",className:"text-[#B8962E] text-xs mt-0.5 flex-shrink-0",children:"â"}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:695",className:"font-body text-xs text-[#6B6560] leading-relaxed",children:B})]},te))})]})]})}),e===5&&r.jsx($i,{"data-loc":"client/src/pages/ReelBuilder.tsx:706",children:r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:707",children:[r.jsx("span",{"data-loc":"client/src/pages/ReelBuilder.tsx:708",className:"block w-8 h-px bg-[#B8962E] mb-6"}),r.jsx("h2",{"data-loc":"client/src/pages/ReelBuilder.tsx:709",className:"font-display text-4xl font-light text-[#111111] mb-3",children:"Your complete reel script"}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:710",className:"font-body text-sm text-[#6B6560] mb-10 max-w-lg",children:"Everything you need to film and post. Copy it, save it, shoot it."}),n&&oe&&d?r.jsxs(r.Fragment,{children:[r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:717",className:"grid grid-cols-3 gap-px bg-[#E8E6E1] mb-8",children:[{label:"Format",value:U?.name||""},{label:"Duration",value:U?.duration||""},{label:"Goal",value:U?.buyingSignal.split("'")[0]||""}].map((B,te)=>r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:723",className:"bg-white px-5 py-4",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:724",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] mb-1",children:B.label}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:725",className:"font-body text-sm text-[#111111]",children:B.value})]},te))}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:731",className:"bg-[#111111] p-8 mb-6",children:[r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:732",className:"flex items-center justify-between mb-6",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:733",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E]",children:"Your Reel Script"}),r.jsx("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:734",onClick:M,className:"font-body text-xs font-medium tracking-[0.08em] uppercase text-white/60 hover:text-white border border-white/20 hover:border-white px-4 py-2 transition-colors",children:N?"Copied â":"Copy script"})]}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:743",className:"mb-6 pb-6 border-b border-white/10",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:744",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-white/40 mb-2",children:"Opening Hook"}),r.jsxs("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:745",className:"font-display text-2xl font-light text-white italic",children:['"',oe,'"']})]}),r.jsx("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:749",className:"space-y-4 mb-6 pb-6 border-b border-white/10",children:ie.map((B,te)=>r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:751",className:"grid grid-cols-[70px_1fr] gap-4",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:752",className:"font-body text-xs text-[#B8962E] font-medium pt-0.5",children:B.time}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:753",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:754",className:"font-body text-xs font-medium text-white/80 uppercase tracking-wide mb-1",children:B.label}),r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:755",className:"font-body text-xs text-white/50 leading-relaxed",children:B.instruction})]})]},te))}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:762",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:763",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-white/40 mb-2",children:"Call to Action"}),r.jsxs("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:764",className:"font-display text-xl font-light text-white",children:['"',d,'"']})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:769",className:"flex flex-wrap gap-4",children:[r.jsx("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:770",onClick:M,className:"bg-[#B8962E] text-white font-body text-xs font-medium tracking-[0.12em] uppercase px-8 py-4 hover:bg-[#9A7D25] transition-colors",children:N?"Copied to clipboard â":"Copy full script"}),r.jsx("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:776",onClick:()=>{s(1),o(null),u(null),f(null),g("")}
vendor: 44,983 bytes, lines 257-265
257,className:"border border-[#E8E6E1] text-[#6B6560] font-body text-xs font-medium tracking-[0.12em] uppercase px-8 py-4 hover:border-[#111111] hover:text-[#111111] transition-colors",children:"Build another reel"})]})]}):r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:785",className:"p-10 border border-[#E8E6E1] text-center",children:[r.jsx("p",{"data-loc":"client/src/pages/ReelBuilder.tsx:786",className:"font-body text-sm text-[#6B6560] mb-4",children:"Complete the previous steps to generate your script."}),r.jsx("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:787",onClick:()=>s(1),className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] border-b border-[#B8962E] pb-0.5",children:"Go back to step 1"})]})]})}),r.jsxs("div",{"data-loc":"client/src/pages/ReelBuilder.tsx:800",className:"flex items-center justify-between mt-12 pt-8 border-t border-[#E8E6E1]",children:[r.jsx("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:801",onClick:()=>s(B=>Math.max(1,B-1)),className:`font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] hover:text-[#111111] transition-colors ${e===1?"invisible":""}`,children:"â Back"}),e<L&&r.jsx("button",{"data-loc":"client/src/pages/ReelBuilder.tsx:808",onClick:()=>{H(e)&&s(B=>B+1)},disabled:!H(e),className:`font-body text-xs font-medium tracking-[0.12em] uppercase px-8 py-4 transition-colors ${H(e)?"bg-[#111111] text-white hover:bg-[#B8962E]":"bg-[#E8E6E1] text-[#C5C2BC] cursor-not-allowed"}`,children:e===4?"Generate Script â":"Continue â"})]})]})}),r.jsx(ut,{"data-loc":"client/src/pages/ReelBuilder.tsx:824"})]})}const Rp=w.createContext({});function Op(e){const s=w.useRef(null);return s.current===null&&(s.current=e()),s.current}const Mp=typeof window<"u",Iw=Mp?w.useLayoutEffect:w.useEffect,cu=w.createContext(null);function Pp(e,s){e.indexOf(s)===-1&&e.push(s)}function Bp(e,s){const n=e.indexOf(s);n>-1&&e.splice(n,1)}const Ea=(e,s,n)=>n>s?s:n<e?e:n;let Dp=()=>{};const Ta={},Vw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function qw(e){return typeof e=="object"&&e!==null}const Qw=e=>/^0[^.\s]+$/u.test(e);function _p(e){let s;return()=>(s===void 0&&(s=e()),s)}const ks=e=>e,VC=(e,s)=>n=>s(e(n)),Xr=(...e)=>e.reduce(VC),zr=(e,s,n)=>{const o=s-e;return o===0?1:(n-e)/o};class Lp{constructor(){this.subscriptions=[]}add(s){return Pp(this.subscriptions,s),()=>Bp(this.subscriptions,s)}notify(s,n,o){const l=this.subscriptions.length;if(l)if(l===1)this.subscriptions[0](s,n,o);else for(let u=0;u<l;u++){const d=this.subscriptions[u];d&&d(s,n,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const $s=e=>e*1e3,Ss=e=>e/1e3;function Yw(e,s){return s?e*(1e3/s):0}const $w=(e,s,n)=>(((1-3*n+3*s)*e+(3*n-6*s))*e+3*s)*e,qC=1e-7,QC=12;function YC(e,s,n,o,l){let u,d,f=0;do d=s+(n-s)/2,u=$w(d,o,l)-e,u>0?n=d:s=d;while(Math.abs(u)>qC&&++f<QC);return d}function Wr(e,s,n,o){if(e===s&&n===o)return ks;const l=u=>YC(u,0,1,e,n);return u=>u===0||u===1?u:$w(l(u),s,o)}const Kw=e=>s=>s<=.5?e(2*s)/2:(2-e(2*(1-s)))/2,Xw=e=>s=>1-e(1-s),Ww=Wr(.33,1.53,.69,.99),zp=Xw(Ww),Zw=Kw(zp),Jw=e=>(e*=2)<1?.5*zp(e):.5*(2-Math.pow(2,-10*(e-1))),Fp=e=>1-Math.sin(Math.acos(e)),e2=Xw(Fp),t2=Kw(Fp),$C=Wr(.42,0,1,1),KC=Wr(0,0,.58,1),s2=Wr(.42,0,.58,1),XC=e=>Array.isArray(e)&&typeof e[0]!="number",a2=e=>Array.isArray(e)&&typeof e[0]=="number",WC={linear:ks,easeIn:$C,easeInOut:s2,easeOut:KC,circIn:Fp,circInOut:t2,circOut:e2,backIn:zp,backInOut:Zw,backOut:Ww,anticipate:Jw},ZC=e=>typeof e=="string",g1=e=>{if(a2(e)){Dp(e.length===4);const[s,n,o,l]=e;return Wr(s,n,o,l)}else if(ZC(e))return WC[e];return e},kc=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function JC(e,s){let n=new Set,o=new Set,l=!1,u=!1;const d=new WeakSet;let f={delta:0,timestamp:0,isProcessing:!1};function p(x){d.has(x)&&(g.schedule(x),e()),x(f)}const g={schedule:(x,y=!1,v=!1)=>{const j=v&&l?n:o;return y&&d.add(x),j.has(x)||j.add(x),x},cancel:x=>{o.delete(x),d.delete(x)},process:x=>{if(f=x,l){u=!0;return}l=!0,[n,o]=[o,n],n.forEach(p),n.clear(),l=!1,u&&(u=!1,g.process(x))}};return g}const eA=40;function n2(e,s){let n=!1,o=!0;const l={delta:0,timestamp:0,isProcessing:!1},u=()=>n=!0,d=kc.reduce((_,Q)=>(_[Q]=JC(u),_),{}),{setup:f,read:p,resolveKeyframes:g,preUpdate:x,update:y,preRender:v,render:k,postRender:j}=d,E=()=>{const _=Ta.useManualTiming?l.timestamp:performance.now();n=!1,Ta.useManualTiming||(l.delta=o?1e3/60:Math.max(Math.min(_-l.timestamp,eA),1)),l.timestamp=_,l.isProcessing=!0,f.process(l),p.process(l),g.process(l),x.process(l),y.process(l),v.process(l),k.process(l),j.process(l),l.isProcessing=!1,n&&s&&(o=!1,e(E))},N=()=>{n=!0,o=!0,l.isProcessing||e(E)};return{schedule:kc.reduce((_,Q)=>{const F=d[Q];return _[Q]=(U,C=!1,D=!1)=>(n||N(),F.schedule(U,C,D)),_},{}),cancel:_=>{for(let Q=0;Q<kc.length;Q++)d[kc[Q]].cancel(_)},state:l,steps:d}}const{schedule:Qe,cancel:dn,state:jt,steps:Yh}=n2(typeof requestAnimationFrame<"u"?requestAnimationFrame:ks,!0);let Oc;function tA(){Oc=void 0}const Kt={now:()=>(Oc===void 0&&Kt.set(jt.isProcessing||Ta.useManualTiming?jt.timestamp:performance.now()),Oc),set:e=>{Oc=e,queueMicrotask(tA)}},i2=e=>s=>typeof s=="string"&&s.startsWith(e),Hp=i2("--"),sA=i2("var(--"),Up=e=>sA(e)?aA.test(e.split("/*")[0].trim()):!1,aA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,po={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Fr={...po,transform:e=>Ea(0,1,e)},jc={...po,default:1},jr=e=>Math.round(e*1e5)/1e5,Gp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function nA(e){return e==null}const iA=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Ip=(e,s)=>n=>!!(typeof n=="string"&&iA.test(n)&&n.startsWith(e)||s&&!nA(n)&&Object.prototype.hasOwnProperty.call(n,s)),o2=(e,s,n)=>o=>{if(typeof o!="string")return o;const[l,u,d,f]=o.match(Gp);return{[e]:parseFloat(l),[s]:parseFloat(u),[n]:parseFloat(d),alpha:f!==void 0?parseFloat(f):1}},oA=e=>Ea(0,255,e),$h={...po,transform:e=>Math.round(oA(e))},Yn={test:Ip("rgb","red"),parse:o2("red","green","blue"),transform:({red:e,green:s,blue:n,alpha:o=1})=>"rgba("+$h.transform(e)+", "+$h.transform(s)+", "+$h.transform(n)+", "+jr(Fr.transform(o))+")"};function rA(e){let s="",n="",o="",l="";return e.length>5?(s=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),l=e.substring(7,9)):(s=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),l=e.substring(4,5),s+=s,n+=n,o+=o,l+=l),{red:parseInt(s,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:l?parseInt(l,16)/255:1}}const Hf={test:Ip("#"),parse:rA,transform:Yn.transform},Zr=e=>({test:s=>typeof s=="string"&&s.endsWith(e)&&s.split(" ").length===1,parse:parseFloat,transform:s=>`${s}${e}`}),an=Zr("deg"),Ks=Zr("%"),ye=Zr("px"),lA=Zr("vh"),cA=Zr("vw"),x1={...Ks,parse:e=>Ks.parse(e)/100,transform:e=>Ks.transform(e*100)},Xi={test:Ip("hsl","hue"),parse:o2("hue","saturation","lightness"),transform:({hue:e,saturation:s,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+Ks.transform(jr(s))+", "+Ks.transform(jr(n))+", "+jr(Fr.transform(o))+")"},lt={test:e=>Yn.test(e)||Hf.test(e)||Xi.test(e),parse:e=>Yn.test(e)?Yn.parse(e):Xi.test(e)?Xi.parse(e):Hf.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Yn.transform(e):Xi.transform(e),getAnimatableNone:e=>{const s=lt.parse(e);return s.alpha=0,lt.transform(s)}},uA=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function dA(e){return isNaN(e)&&typeof e=="string"&&(e.match(Gp)?.length||0)+(e.match(uA)?.length||0)>0}const r2="number",l2="color",hA="var",fA="var(",y1="${}",pA=/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 Hr(e){const s=e.toString(),n=[],o={color:[],number:[],var:[]},l=[];let u=0;const f=s.replace(pA,p=>(lt.test(p)?(o.color.push(u),l.push(l2),n.push(lt.parse(p))):p.startsWith(fA)?(o.var.push(u),l.push(hA),n.push(p)):(o.number.push(u),l.push(r2),n.push(parseFloat(p))),++u,y1)).split(y1);return{values:n,split:f,indexes:o,types:l}}function c2(e){return Hr(e).values}function u2(e){const{split:s,types:n}=Hr(e),o=s.length;return l=>{let u="";for(let d=0;d<o;d++)if(u+=s[d],l[d]!==void 0){const f=n[d];f===r2?u+=jr(l[d]):f===l2?u+=lt.transform(l[d]):u+=l[d]}return u}}const mA=e=>typeof e=="number"?0:lt.test(e)?lt.getAnimatableNone(e):e;function gA(e){const s=c2(e);return u2(e)(s.map(mA))}const hn={test:dA,parse:c2,createTransformer:u2,getAnimatableNone:gA};function Kh(e,s,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(s-e)*6*n:n<1/2?s:n<2/3?e+(s-e)*(2/3-n)*6:e}function xA({hue:e,saturation:s,lightness:n,alpha:o}){e/=360,s/=100,n/=100;let l=0,u=0,d=0;if(!s)l=u=d=n;else{const f=n<.5?n*(1+s):n+s-n*s,p=2*n-f;l=Kh(p,f,e+1/3),u=Kh(p,f,e),d=Kh(p,f,e-1/3)}return{red:Math.round(l*255),green:Math.round(u*255),blue:Math.round(d*255),alpha:o}}function Uc(e,s){return n=>n>0?s:e}const Ke=(e,s,n)=>e+(s-e)*n,Xh=(e,s,n)=>{const o=e*e,l=n*(s*s-o)+o;return l<0?0:Math.sqrt(l)},yA=[Hf,Yn,Xi],bA=e=>yA.find(s=>s.test(e));function b1(e){const s=bA(e);if(!s)return!1;let n=s.parse(e);return s===Xi&&(n=xA(n)),n}const v1=(e,s)=>{const n=b1(e),o=b1(s);if(!n||!o)return Uc(e,s);const l={...n};return u=>(l.red=Xh(n.red,o.red,u),l.green=Xh(n.green,o.green,u),l.blue=Xh(n.blue,o.blue,u),l.alpha=Ke(n.alpha,o.alpha,u),Yn.transform(l))},Uf=new Set(["none","hidden"]);function vA(e,s){return Uf.has(e)?n=>n<=0?e:s:n=>n>=1?s:e}function wA(e,s){return n=>Ke(e,s,n)}function Vp(e){return typeof e=="number"?wA:typeof e=="string"?Up(e)?Uc:lt.test(e)?v1:jA:Array.isArray(e)?d2:typeof e=="object"?lt.test(e)?v1:SA:Uc}function d2(e,s){const n=[...e],o=n.length,l=e.map((u,d)=>Vp(u)(u,s[d]));return u=>{for(let d=0;d<o;d++)n[d]=l[d](u);return n}}function SA(e,s){const n={...e,...s},o={};for(const l in n)e[l]!==void 0&&s[l]!==void 0&&(o[l]=Vp(e[l])(e[l],s[l]));return l=>{for(const u in o)n[u]=o[u](l);return n}}function kA(e,s){const n=[],o={color:0,var:0,number:0};for(let l=0;l<s.values.length;l++){const u=s.types[l],d=e.indexes[u][o[u]],f=e.values[d]??0;n[l]=f,o[u]++}return n}const jA=(e,s)=>{const n=hn.createTransformer(s),o=Hr(e),l=Hr(s);return o.indexes.var.length===l.indexes.var.length&&o.indexes.color.length===l.indexes.color.length&&o.indexes.number.length>=l.indexes.number.length?Uf.has(e)&&!l.values.length||Uf.has(s)&&!o.values.length?vA(e,s):Xr(d2(kA(o,l),l.values),n):Uc(e,s)};function h2(e,s,n){return typeof e=="number"&&typeof s=="number"&&typeof n=="number"?Ke(e,s,n):Vp(e)(e,s)}const EA=e=>{const s=({timestamp:n})=>e(n);return{start:(n=!0)=>Qe.update(s,n),stop:()=>dn(s),now:()=>jt.isProcessing?jt.timestamp:Kt.now()}},f2=(e,s,n=10)=>{let o="";const l=Math.max(Math.round(s/n),2);for(let u=0;u<l;u++)o+=Math.round(e(u/(l-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},Gc=2e4;function qp(e){let s=0;const n=50;let o=e.next(s);for(;!o.done&&s<Gc;)s+=n,o=e.next(s);return s>=Gc?1/0:s}function TA(e,s=100,n){const o=n({...e,keyframes:[0,s]}),l=Math.min(qp(o),Gc);return{type:"keyframes",ease:u=>o.next(l*u).value/s,duration:Ss(l)}}const NA=5;function p2(e,s,n){const o=Math.max(s-NA,0);return Yw(n-e(o),s-o)}const Ze={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},Wh=.001;function CA({duration:e=Ze.duration,bounce:s=Ze.bounce,velocity:n=Ze.velocity,mass:o=Ze.mass}){let l,u,d=1-s;d=Ea(Ze.minDamping,Ze.maxDamping,d),e=Ea(Ze.minDuration,Ze.maxDuration,Ss(e)),d<1?(l=g=>{const x=g*d,y=x*e,v=x-n,k=Gf(g,d),j=Math.exp(-y);return Wh-v/k*j},u=g=>{const y=g*d*e,v=y*n+n,k=Math.pow(d,2)*Math.pow(g,2)*e,j=Math.exp(-y),E=Gf(Math.pow(g,2),d);return(-l(g)+Wh>0?-1:1)*((v-k)*j)/E}):(l=g=>{const x=Math.exp(-g*e),y=(g-n)*e+1;return-Wh+x*y},u=g=>{const x=Math.exp(-g*e),y=(n-g)*(e*e);return x*y});const f=5/e,p=RA(l,u,f);if(e=$s(e),isNaN(p))return{stiffness:Ze.stiffness,damping:Ze.damping,duration:e};{const g=Math.pow(p,2)*o;return{stiffness:g,damping:d*2*Math.sqrt(o*g),duration:e}}}const AA=12;function RA(e,s,n){let o=n;for(let l=1;l<AA;l++)o=o-e(o)/s(o);return o}function Gf(e,s){return e*Math.sqrt(1-s*s)}const OA=["duration","bounce"],MA=["stiffness","damping","mass"];function w1(e,s){return s.some(n=>e[n]!==void 0)}function PA(e){let s={velocity:Ze.velocity,stiffness:Ze.stiffness,damping:Ze.damping,mass:Ze.mass,isResolvedFromDuration:!1,...e};if(!w1(e,MA)&&w1(e,OA))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),l=o*o,u=2*Ea(.05,1,1-(e.bounce||0))*Math.sqrt(l);s={...s,mass:Ze.mass,stiffness:l,damping:u}}else{const n=CA(e);s={...s,...n,mass:Ze.mass},s.isResolvedFromDuration=!0}return s}function Ic(e=Ze.visualDuration,s=Ze.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:s}:e;let{restSpeed:o,restDelta:l}=n;const u=n.keyframes[0],d=n.keyframes[n.keyframes.length-1],f={done:!1,value:u},{stiffness:p,damping:g,mass:x,duration:y,velocity:v,isResolvedFromDuration:k}=PA({...n,velocity:-Ss(n.velocity||0)}),j=v||0,E=g/(2*Math.sqrt(p*x)),N=d-u,O=Ss(Math.sqrt(p/x)),R=Math.abs(N)<5;o||(o=R?Ze.restSpeed.granular:Ze.restSpeed.default),l||(l=R?Ze.restDelta.granular:Ze.restDelta.default);let _;if(E<1){const F=Gf(O,E);_=U=>{const C=Math.exp(-E*O*U);return d-C*((j+E*O*N)/F*Math.sin(F*U)+N*Math.cos(F*U))}}else if(E===1)_=F=>d-Math.exp(-O*F)*(N+(j+O*N)*F);else{const F=O*Math.sqrt(E*E-1);_=U=>{const C=Math.exp(-E*O*U),D=Math.min(F*U,300);return d-C*((j+E*O*N)*Math.sinh(D)+F*N*Math.cosh(D))/F}}const Q={calculatedDuration:k&&y||null,next:F=>{const U=_(F);if(k)f.done=F>=y;else{let C=F===0?j:0;E<1&&(C=F===0?$s(j):p2(_,F,U));const D=Math.abs(C)<=o,Z=Math.abs(d-U)<=l;f.done=D&&Z}return f.value=f.done?d:U,f},toString:()=>{const F=Math.min(qp(Q),Gc),U=f2(C=>Q.next(F*C).value,F,30);return F+"ms "+U},toTransition:()=>{}};return Q}Ic.applyToOptions=e=>{const s=TA(e,100,Ic);return e.ease=s.ease,e.duration=$s(s.duration),e.type="keyframes",e};function If({keyframes:e,velocity:s=0,power:n=.8,timeConstant:o=325,bounceDamping:l=10,bounceStiffness:u=500,modifyTarget:d,min:f,max:p,restDelta:g=.5,restSpeed:x}){const y=e[0],v={done:!1,value:y},k=D=>f!==void 0&&D<f||p!==void 0&&D>p,j=D=>f===void 0?p:p===void 0||Math.abs(f-D)<Math.abs(p-D)?f:p;let E=n*s;const N=y+E,O=d===void 0?N:d(N);O!==N&&(E=O-y);const R=D=>-E*Math.exp(-D/o),_=D=>O+R(D),Q=D=>{const Z=R(D),K=_(D);v.done=Math.abs(Z)<=g,v.value=v.done?O:K};let F,U;const C=D=>{k(v.value)&&(F=D,U=Ic({keyframes:[v.value,j(v.value)],velocity:p2(_,D,v.value),damping:l,stiffness:u,restDelta:g,restSpeed:x}))};return C(0),{calculatedDuration:null,next:D=>{let Z=!1;return!U&&F===void 0&&(Z=!0,Q(D),C(D)),F!==void 0&&D>=F?U.next(D-F):(!Z&&Q(D),v)}}}function BA(e,s,n){const o=[],l=n||Ta.mix||h2,u=e.length-1;for(let d=0;d<u;d++){let f=l(e[d],e[d+1]);if(s){const p=Array.isArray(s)?s[d]||ks:s;f=Xr(p,f)}o.push(f)}return o}function DA(e,s,{clamp:n=!0,ease:o,mixer:l}={}){const u=e.length;if(Dp(u===s.length),u===1)return()=>s[0];if(u===2&&s[0]===s[1])return()=>s[1];const d=e[0]===e[1];e[0]>e[u-1]&&(e=[...e].reverse(),s=[...s].reverse());const f=BA(s,o,l),p=f.length,g=x=>{if(d&&x<e[0])return s[0];let y=0;if(p>1)for(;y<e.length-2&&!(x<e[y+1]);y++);const v=zr(e[y],e[y+1],x);return f[y](v)};return n?x=>g(Ea(e[0],e[u-1],x)):g}function _A(e,s){const n=e[e.length-1];for(let o=1;o<=s;o++){const l=zr(0,s,o);e.push(Ke(n,1,l))}}function LA(e){const s=[0];return _A(s,e.length-1),s}function zA(e,s){return e.map(n=>n*s)}function FA(e,s){return e.map(()=>s||s2).splice(0,e.length-1)}function Er({duration:e=300,keyframes:s,times:n,ease:o="easeInOut"}){const l=XC(o)?o.map(g1):g1(o),u={done:!1,value:s[0]},d=zA(n&&n.length===s.length?n:LA(s),e),f=DA(d,s,{ease:Array.isArray(l)?l:FA(s,l)});return{calculatedDuration:e,next:p=>(u.value=f(p),u.done=p>=e,u)}}const HA=e=>e!==null;function Qp(e,{repeat:s,repeatType:n="loop"},o,l=1){const u=e.filter(HA),f=l<0||s&&n!=="loop"&&s%2===1?0:u.length-1;return!f||o===void 0?u[f]:o}const UA={decay:If,inertia:If,tween:Er,keyframes:Er,spring:Ic};function m2(e){typeof e.type=="string"&&(e.type=UA[e.type])}class Yp{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(s=>{this.resolve=s})}notifyFinished(){this.resolve()}then(s,n){return this.finished.then(s,n)}}const GA=e=>e/100;class $p extends Yp{constructor(s){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==Kt.now()&&this.tick(Kt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=s,this.initAnimation(),this.play(),s.autoplay===!1&&this.pause()}initAnimation(){const{options:s}=this;m2(s);const{type:n=Er,repeat:o=0,repeatDelay:l=0,repeatType:u,velocity:d=0}=s;let{keyframes:f}=s;const p=n||Er;p!==Er&&typeof f[0]!="number"&&(this.mixKeyframes=Xr(GA,h2(f[0],f[1])),f=[0,100]);const g=p({...s,keyframes:f});u==="mirror"&&(this.mirroredGenerator=p({...s,keyframes:[...f].reverse(),velocity:-d})),g.calculatedDuration===null&&(g.calculatedDuration=qp(g));const{calculatedDuration:x}=g;this.calculatedDuration=x,this.resolvedDuration=x+l,this.totalDuration=this.resolvedDuration*(o+1)-l,this.generator=g}updateTime(s){const n=Math.round(s-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(s,n=!1){const{generator:o,totalDuration:l,mixKeyframes:u,mirroredGenerator:d,resolvedDuration:f,calculatedDuration:p}=this;if(this.startTime===null)return o.next(0);const{delay:g=0,keyframes:x,repeat:y,repeatType:v,repeatDelay:k,type:j,onUpdate:E,finalKeyframe:N}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,s):this.speed<0&&(this.startTime=Math.min(s-l/this.speed,this.startTime)),n?this.currentTime=s:this.updateTime(s);const O=this.currentTime-g*(this.playbackSpeed>=0?1:-1),R=this.playbackSpeed>=0?O<0:O>l;this.currentTime=Math.max(O,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=l);let _=this.currentTime,Q=o;if(y){const D=Math.min(this.currentTime,l)/f;let Z=Math.floor(D),K=D%1;!K&&D>=1&&(K=1),K===1&&Z--,Z=Math.min(Z,y+1),!!(Z%2)&&(v==="reverse"?(K=1-K,k&&(K-=k/f)):v==="mirror"&&(Q=d)),_=Ea(0,1,K)*f}const F=R?{done:!1,value:x[0]}:Q.next(_);u&&(F.value=u(F.value));let{done:U}=F;!R&&p!==null&&(U=this.playbackSpeed>=0?this.currentTime>=l:this.currentTime<=0);const C=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&U);return C&&j!==If&&(F.value=Qp(x,this.options,N,this.speed)),E&&E(F.value),C&&this.finish(),F}then(s,n){return this.finished.then(s,n)}get duration(){return Ss(this.calculatedDuration)}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+Ss(s)}get time(){return Ss(this.currentTime)}set time(s){s=$s(s),this.currentTime=s,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=s:this.driver&&(this.startTime=this.driver.now()-s/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(s){this.updateTime(Kt.now());const n=this.playbackSpeed!==s;this.playbackSpeed=s,n&&(this.time=Ss(this.currentTime))}play(){if(this.isStopped)return;const{driver:s=EA,startTime:n}=this.options;this.driver||(this.driver=s(l=>this.tick(l))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=n??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Kt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(s){return this.startTime=0,this.tick(s,!0)}attachTimeline(s){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),s.observe(this)}}function IA(e){for(let s=1;s<e.length;s++)e[s]??(e[s]=e[s-1])}const $n=e=>e*180/Math.PI,Vf=e=>{const s=$n(Math.atan2(e[1],e[0]));return qf(s)},VA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Vf,rotateZ:Vf,skewX:e=>$n(Math.atan(e[1])),skewY:e=>$n(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},qf=e=>(e=e%360,e<0&&(e+=360),e),S1=Vf,k1=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),j1=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),qA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:k1,scaleY:j1,scale:e=>(k1(e)+j1(e))/2,rotateX:e=>qf($n(Math.atan2(e[6],e[5]))),rotateY:e=>qf($n(Math.atan2(-e[2],e[0]))),rotateZ:S1,rotate:S1,skewX:e=>$n(Math.atan(e[4])),skewY:e=>$n(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Qf(e){return e.includes("scale")?1:0}function Yf(e,s){if(!e||e==="none")return Qf(s);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,l;if(n)o=qA,l=n;else{const f=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=VA,l=f}if(!l)return Qf(s);const u=o[s],d=l[1].split(",").map(YA);return typeof u=="function"?u(d):d[u]}const QA=(e,s)=>{const{transform:n="none"}=getComputedStyle(e);return Yf(n,s)};function YA(e){return parseFloat(e.trim())}const mo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],go=new Set(mo),E1=e=>e===po||e===ye,$A=new Set(["x","y","z"]),KA=mo.filter(e=>!$A.has(e));function XA(e){const s=[];return KA.forEach(n=>{const o=e.getValue(n);o!==void 0&&(s.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),s}const Kn={width:({x:e},{paddingLeft:s="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(s)-parseFloat(n),height:({y:e},{paddingTop:s="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(s)-parseFloat(n),top:(e,{top:s})=>parseFloat(s),left:(e,{left:s})=>parseFloat(s),bottom:({y:e},{top:s})=>parseFloat(s)+(e.max-e.min),right:({x:e},{left:s})=>parseFloat(s)+(e.max-e.min),x:(e,{transform:s})=>Yf(s,"x"),y:(e,{transform:s})=>Yf(s,"y")};Kn.translateX=Kn.x;Kn.translateY=Kn.y;const Xn=new Set;let $f=!1,Kf=!1,Xf=!1;function g2(){if(Kf){const e=Array.from(Xn).filter(o=>o.needsMeasurement),s=new Set(e.map(o=>o.element)),n=new Map;s.forEach(o=>{const l=XA(o);l.length&&(n.set(o,l),o.render())}),e.forEach(o=>o.measureInitialState()),s.forEach(o=>{o.render();const l=n.get(o);l&&l.forEach(([u,d])=>{o.getValue(u)?.set(d)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Kf=!1,$f=!1,Xn.forEach(e=>e.complete(Xf)),Xn.clear()}function x2(){Xn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Kf=!0)})}function WA(){Xf=!0,x2(),g2(),Xf=!1}class Kp{constructor(s,n,o,l,u,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...s],this.onComplete=n,this.name=o,this.motionValue=l,this.element=u,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(Xn.add(this),$f||($f=!0,Qe.read(x2),Qe.resolveKeyframes(g2))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:s,name:n,element:o,motionValue:l}=this;if(s[0]===null){const u=l?.get(),d=s[s.length-1];if(u!==void 0)s[0]=u;else if(o&&n){const f=o.readValue(n,d);f!=null&&(s[0]=f)}s[0]===void 0&&(s[0]=d),l&&u===void 0&&l.set(s[0])}IA(s)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(s=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,s),Xn.delete(this)}cancel(){this.state==="scheduled"&&(Xn.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const ZA=e=>e.startsWith("--");function JA(e,s,n){ZA(s)?e.style.setProperty(s,n):e.style[s]=n}const e8=_p(()=>window.ScrollTimeline!==void 0),t8={};function s8(e,s){const n=_p(e);return()=>t8[s]??n()}const y2=s8(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),wr=([e,s,n,o])=>`cubic-bezier(${e}, ${s}, ${n}, ${o})`,T1={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:wr([0,.65,.55,1]),circOut:wr([.55,0,1,.45]),backIn:wr([.31,.01,.66,-.59]),backOut:wr([.33,1.53,.69,.99])};function b2(e,s){if(e)return typeof e=="function"?y2()?f2(e,s):"ease-out":a2(e)?wr(e):Array.isArray(e)?e.map(n=>b2(n,s)||T1.easeOut):T1[e]}function a8(e,s,n,{delay:o=0,duration:l=300,repeat:u=0,repeatType:d="loop",ease:f="easeOut",times:p}={},g=void 0){const x={[s]:n};p&&(x.offset=p);const y=b2(f,l);Array.isArray(y)&&(x.easing=y);const v={delay:o,duration:l,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:u+1,direction:d==="reverse"?"alternate":"normal"};return g&&(v.pseudoElement=g),e.animate(x,v)}function v2(e){return typeof e=="function"&&"applyToOptions"in e}function n8({type:e,...s}){return v2(e)&&y2()?e.applyToOptions(s):(s.duration??(s.duration=300),s.ease??(s.ease="easeOut"),s)}class i8 extends Yp{constructor(s){if(super(),this.finishedTime=null,this.isStopped=!1,!s)return;const{element:n,name:o,keyframes:l,pseudoElement:u,allowFlatten:d=!1,finalKeyframe:f,onComplete:p}=s;this.isPseudoElement=!!u,this.allowFlatten=d,this.options=s,Dp(typeof s.type!="string");const g=n8(s);this.animation=a8(n,o,l,g,u),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!u){const x=Qp(l,this.options,f,this.speed);this.updateMotionValue?this.updateMotionValue(x):JA(n,o,x),this.animation.cancel()}p?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:s}=this;s==="idle"||s==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const s=this.animation.effect?.getComputedTiming?.().duration||0;return Ss(Number(s))}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+Ss(s)}get time(){return Ss(Number(this.animation.currentTime)||0)}set time(s){this.finishedTime=null,this.animation.currentTime=$s(s)}get speed(){return this.animation.playbackRate}set speed(s){s<0&&(this.finishedTime=null),this.animation.playbackRate=s}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(s){this.animation.startTime=s}attachTimeline({timeline:s,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,s&&e8()?(this.animation.timeline=s,ks):n(this)}}const w2={anticipate:Jw,backInOut:Zw,circInOut:t2};function o8(e){return e in w2}function r8(e){typeof e.ease=="string"&&o8(e.ease)&&(e.ease=w2[e.ease])}const N1=10;class l8 extends i8{constructor(s){r8(s),m2(s),super(s),s.startTime&&(this.startTime=s.startTime),this.options=s}updateMotionValue(s){const{motionValue:n,onUpdate:o,onComplete:l,element:u,...d}=this.options;if(!n)return;if(s!==void 0){n.set(s);return}const f=new $p({...d,autoplay:!1}),p=$s(this.finishedTime??this.time);n.setWithVelocity(f.sample(p-N1).value,f.sample(p).value,N1),f.stop()}}const C1=(e,s)=>s==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(hn.test(e)||e==="0")&&!e.startsWith("url("));function c8(e){const s=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==s)return!0}function u8(e,s,n,o){const l=e[0];if(l===null)return!1;if(s==="display"||s==="visibility")return!0;const u=e[e.length-1],d=C1(l,s),f=C1(u,s);return!d||!f?!1:c8(e)||(n==="spring"||v2(n))&&o}function Wf(e){e.duration=0,e.type="keyframes"}const d8=new Set(["opacity","clipPath","filter","transform"]),h8=_p(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function f8(e){const{motionValue:s,name:n,repeatDelay:o,repeatType:l,damping:u,type:d}=e;if(!(s?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=s.owner.getProps();return h8()&&n&&d8.has(n)&&(n!=="transform"||!g)&&!p&&!o&&l!=="mirror"&&u!==0&&d!=="inertia"}const p8=40;class m8 extends Yp{constructor({autoplay:s=!0,delay:n=0,type:o="keyframes",repeat:l=0,repeatDelay:u=0,repeatType:d="loop",keyframes:f,name:p,motionValue:g,element:x,...y}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Kt.now();const v={autoplay:s,delay:n,type:o,repeat:l,repeatDelay:u,repeatType:d,name:p,motionValue:g,element:x,...y},k=x?.KeyframeResolver||Kp;this.keyframeResolver=new k(f,(j,E,N)=>this.onKeyframesResolved(j,E,v,!N),p,g,x),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(s,n,o,l){this.keyframeResolver=void 0;const{name:u,type:d,velocity:f,delay:p,isHandoff:g,onUpdate:x}=o;this.resolvedAt=Kt.now(),u8(s,u,d,f)||((Ta.instantAnimations||!p)&&x?.(Qp(s,o,n)),s[0]=s[s.length-1],Wf(o),o.repeat=0);const v={startTime:l?this.resolvedAt?this.resolvedAt-this.createdAt>p8?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:s},k=!g&&f8(v)?new l8({...v,element:v.motionValue.owner.current}):new $p(v);k.finished.then(()=>this.notifyFinished()).catch(ks),this.pendingTimeline&&(this.stopTimeline=k.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=k}get finished(){return this._animation?this.animation.finished:this._finished}then(s,n){return this.finished.finally(s).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),WA()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(s){this.animation.time=s}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(s){this.animation.speed=s}get startTime(){return this.animation.startTime}attachTimeline(s){return this._animation?this.stopTimeline=this.animation.attachTimeline(s):this.pendingTimeline=s,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const g8=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function x8(e){const s=g8.exec(e);if(!s)return[,];const[,n,o,l]=s;return[`--${n??o}`,l]}function S2(e,s,n=1){const[o,l]=x8(e);if(!o)return;const u=window.getComputedStyle(s).getPropertyValue(o);if(u){const d=u.trim();return Vw(d)?parseFloat(d):d}return Up(l)?S2(l,s,n+1):l}function Xp(e,s){return e?.[s]??e?.default??e}const k2=new Set(["width","height","top","left","right","bottom",...mo]),y8={test:e=>e==="auto",parse:e=>e},j2=e=>s=>s.test(e),E2=[po,ye,Ks,an,cA,lA,y8],A1=e=>E2.find(j2(e));function b8(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Qw(e):!0}const v8=new Set(["brightness","contrast","saturate","opacity"]);function w8(e){const[s,n]=e.slice(0,-1).split("(");if(s==="drop-shadow")return e;const[o]=n.match(Gp)||[];if(!o)return e;const l=n.replace(o,"");let u=v8.has(s)?1:0;return o!==n&&(u*=100),s+"("+u+l+")"}const S8=/\b([a-z-]*)\(.*?\)/gu,Zf={...hn,getAnimatableNone:e=>{const s=e.match(S8);return s?s.map(w8).join(" "):e}},R1={...po,transform:Math.round},k8={rotate:an,rotateX:an,rotateY:an,rotateZ:an,scale:jc,scaleX:jc,scaleY:jc,scaleZ:jc,skew:an,skewX:an,skewY:an,distance:ye,translateX:ye,translateY:ye,translateZ:ye,x:ye,y:ye,z:ye,perspective:ye,transformPerspective:ye,opacity:Fr,originX:x1,originY:x1,originZ:ye},Wp={borderWidth:ye,borderTopWidth:ye,borderRightWidth:ye,borderBottomWidth:ye,borderLeftWidth:ye,borderRadius:ye,radius:ye,borderTopLeftRadius:ye,borderTopRightRadius:ye,borderBottomRightRadius:ye,borderBottomLeftRadius:ye,width:ye,maxWidth:ye,height:ye,maxHeight:ye,top:ye,right:ye,bottom:ye,left:ye,padding:ye,paddingTop:ye,paddingRight:ye,paddingBottom:ye,paddingLeft:ye,margin:ye,marginTop:ye,marginRight:ye,marginBottom:ye,marginLeft:ye,backgroundPositionX:ye,backgroundPositionY:ye,...k8,zIndex:R1,fillOpacity:Fr,strokeOpacity:Fr,numOctaves:R1},j8={...Wp,color:lt,backgroundColor:lt,outlineColor:lt,fill:lt,stroke:lt,borderColor:lt,borderTopColor:lt,borderRightColor:lt,borderBottomColor:lt,borderLeftColor:lt,filter:Zf,WebkitFilter:Zf},T2=e=>j8[e];function N2(e,s){let n=T2(e);return n!==Zf&&(n=hn),n.getAnimatableNone?n.getAnimatableNone(s):void 0}const E8=new Set(["auto","none","0"]);function T8(e,s,n){let o=0,l;for(;o<e.length&&!l;){const u=e[o];typeof u=="string"&&!E8.has(u)&&Hr(u).values.length&&(l=e[o]),o++}if(l&&n)for(const u of s)e[u]=N2(n,l)}class N8 extends Kp{constructor(s,n,o,l,u){super(s,n,o,l,u,!0)}readKeyframes(){const{unresolvedKeyframes:s,element:n,name:o}=this;if(!n||!n.current)return;super.readKeyframes();for(let p=0;p<s.length;p++){let g=s[p];if(typeof g=="string"&&(g=g.trim(),Up(g))){const x=S2(g,n.current);x!==void 0&&(s[p]=x),p===s.length-1&&(this.finalKeyframe=g)}}if(this.resolveNoneKeyframes(),!k2.has(o)||s.length!==2)return;const[l,u]=s,d=A1(l),f=A1(u);if(d!==f)if(E1(d)&&E1(f))for(let p=0;p<s.length;p++){const g=s[p];typeof g=="string"&&(s[p]=parseFloat(g))}else Kn[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:s,name:n}=this,o=[];for(let l=0;l<s.length;l++)(s[l]===null||b8(s[l]))&&o.push(l);o.length&&T8(s,o,n)}measureInitialState(){const{element:s,unresolvedKeyframes:n,name:o}=this;if(!s||!s.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Kn[o](s.measureViewportBox(),window.getComputedStyle(s.current)),n[0]=this.measuredOrigin;const l=n[n.length-1];l!==void 0&&s.getValue(o,l).jump(l,!1)}measureEndState(){const{element:s,name:n,unresolvedKeyframes:o}=this;if(!s||!s.current)return;const l=s.getValue(n);l&&l.jump(this.measuredOrigin,!1);const u=o.length-1,d=o[u];o[u]=Kn[n](s.measureViewportBox(),window.getComputedStyle(s.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),this.removedTransforms?.length&&this.removedTransforms.forEach(([f,p])=>{s.getValue(f).set(p)}),this.resolveNoneKeyframes()}}function C8(e,s,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const l=n?.[e]??o.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e)}const C2=(e,s)=>s&&typeof e=="number"?s.transform(e):e;function A2(e){return qw(e)&&"offsetHeight"in e}const O1=30,A8=e=>!isNaN(parseFloat(e));class R8{constructor(s,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const l=Kt.now();if(this.updatedAt!==l&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const u of this.dependents)u.dirty()},this.hasAnimated=!1,this.setCurrent(s),this.owner=n.owner}setCurrent(s){this.current=s,this.updatedAt=Kt.now(),this.canTrackVelocity===null&&s!==void 0&&(this.canTrackVelocity=A8(this.current))}setPrevFrameValue(s=this.current){this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt}onChange(s){return this.on("change",s)}on(s,n){this.events[s]||(this.events[s]=new Lp);const o=this.events[s].add(n);return s==="change"?()=>{o(),Qe.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const s in this.events)this.events[s].clear()}attach(s,n){this.passiveEffect=s,this.stopPassiveEffect=n}set(s){this.passiveEffect?this.passiveEffect(s,this.updateAndNotify):this.updateAndNotify(s)}setWithVelocity(s,n,o){this.set(n),this.prev=void 0,this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt-o}jump(s,n=!0){this.updateAndNotify(s),this.prev=s,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(s){this.dependents||(this.dependents=new Set),this.dependents.add(s)}removeDependent(s){this.dependents&&this.dependents.delete(s)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const s=Kt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||s-this.updatedAt>O1)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,O1);return Yw(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(s){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=s(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ro(e,s){return new R8(e,s)}const{schedule:Zp}=n2(queueMicrotask,!1),Os={x:!1,y:!1};function R2(){return Os.x||Os.y}function O8(e){return e==="x"||e==="y"?Os[e]?null:(Os[e]=!0,()=>{Os[e]=!1}):Os.x||Os.y?null:(Os.x=Os.y=!0,()=>{Os.x=Os.y=!1})}function O2(e,s){const n=C8(e),o=new AbortController,l={passive:!0,...s,signal:o.signal};return[n,l,()=>o.abort()]}function M1(e){return!(e.pointerType==="touch"||R2())}function M8(e,s,n={}){const[o,l,u]=O2(e,n),d=f=>{if(!M1(f))return;const{target:p}=f,g=s(p,f);if(typeof g!="function"||!p)return;const x=y=>{M1(y)&&(g(y),p.removeEventListener("pointerleave",x))};p.addEventListener("pointerleave",x,l)};return o.forEach(f=>{f.addEventListener("pointerenter",d,l)}),u}const M2=(e,s)=>s?e===s?!0:M2(e,s.parentElement):!1,Jp=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,P8=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function B8(e){return P8.has(e.tagName)||e.tabIndex!==-1}const Mc=new WeakSet;function P1(e){return s=>{s.key==="Enter"&&e(s)}}function Zh(e,s){e.dispatchEvent(new PointerEvent("pointer"+s,{isPrimary:!0,bubbles:!0}))}const D8=(e,s)=>{const n=e.currentTarget;if(!n)return;const o=P1(()=>{if(Mc.has(n))return;Zh(n,"down");const l=P1(()=>{Zh(n,"up")}),u=()=>Zh(n,"cancel");n.addEventListener("keyup",l,s),n.addEventListener("blur",u,s)});n.addEventListener("keydown",o,s),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),s)};function B1(e){return Jp(e)&&!R2()}function _8(e,s,n={}){const[o,l,u]=O2(e,n),d=f=>{const p=f.currentTarget;if(!B1(f))return;Mc.add(p);const g=s(p,f),x=(k,j)=>{window.removeEventListener("pointerup",y),window.removeEventListener("pointercancel",v),Mc.has(p)&&Mc.delete(p),B1(k)&&typeof g=="function"&&g(k,{success:j})},y=k=>{x(k,p===window||p===document||n.useGlobalTarget||M2(p,k.target))},v=k=>{x(k,!1)};window.addEventListener("pointerup",y,l),window.addEventListener("pointercancel",v,l)};return o.forEach(f=>{(n.useGlobalTarget?window:f).addEventListener("pointerdown",d,l),A2(f)&&(f.addEventListener("focus",g=>D8(g,l)),!B8(f)&&!f.hasAttribute("tabindex")&&(f.tabIndex=0))}),u}function P2(e){return qw(e)&&"ownerSVGElement"in e}function L8(e){return P2(e)&&e.tagName==="svg"}const Rt=e=>!!(e&&e.getVelocity),z8=[...E2,lt,hn],F8=e=>z8.find(j2(e)),em=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function D1(e,s){if(typeof e=="function")return e(s);e!=null&&(e.current=s)}function H8(...e){return s=>{let n=!1;const o=e.map(l=>{const u=D1(l,s);return!n&&typeof u=="function"&&(n=!0),u});if(n)return()=>{for(let l=0;l<o.length;l++){const u=o[l];typeof u=="function"?u():D1(e[l],null)}}}}function U8(...e){return w.useCallback(H8(...e),e)}class G8 extends w.Component{getSnapshotBeforeUpdate(s){const n=this.props.childRef.current;if(n&&s.isPresent&&!this.props.isPresent){const o=n.offsetParent,l=A2(o)&&o.offsetWidth||0,u=this.props.sizeRef.current;u.height=n.offsetHeight||0,u.width=n.offsetWidth||0,u.top=n.offsetTop,u.left=n.offsetLeft,u.right=l-u.width-u.left}return null}componentDidUpdate(){}render(){return this.props.children}}function I8({children:e,isPresent:s,anchorX:n,root:o}){const l=w.useId(),u=w.useRef(null),d=w.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:f}=w.useContext(em),p=U8(u,e?.ref);return w.useInsertionEffect(()=>{const{width:g,height:x,top:y,left:v,right:k}=d.current;if(s||!u.current||!g||!x)return;const j=n==="left"?`left: ${v}`:`right: ${k}`;u.current.dataset.motionPopId=l;const E=document.createElement("style");f&&(E.nonce=f);const N=o??document.head;return N.appendChild(E),E.sheet&&E.sheet.insertRule(` 258 [data-motion-pop-id="${l}"] { 259 position: absolute !important; 260 width: ${g}px !important; 261 height: ${x}px !important; 262 ${j}px !important; 263 top: ${y}px !important; 264 } 265 `),()=>{N.contains(E)&&N.removeChild(E)}},[s]),r.jsx(G8,{isPresent:s,childRef:u,sizeRef:d,children:w.cloneElement(e,{ref:p})})}const V8=({children:e,initial:s,isPresent:n,onExitComplete:o,custom:l,presenceAffectsLayout:u,mode:d,anchorX:f,root:p})=>{const g=Op(q8),x=w.useId();let y=!0,v=w.useMemo(()=>(y=!1,{id:x,initial:s,isPresent:n,custom:l,onExitComplete:k=>{g.set(k,!0);for(const j of g.values())if(!j)return;o&&o()},register:k=>(g.set(k,!1),()=>g.delete(k))}),[n,g,o]);return u&&y&&(v={...v}),w.useMemo(()=>{g.forEach((k,j)=>g.set(j,!1))},[n]),w.useEffect(()=>{!n&&!g.size&&o&&o()},[n]),d==="popLayout"&&(e=r.jsx(I8,{isPresent:n,anchorX:f,root:p,children:e})),r.jsx(cu.Provider,{value:v,children:e})};function q8(){return new Map}function B2(e=!0){const s=w.useContext(cu);if(s===null)return[!0,null];const{isPresent:n,onExitComplete:o,register:l}=s,u=w.useId();w.useEffect(()=>{if(e)return l(u)},[e]);const d=w.useCallback(()=>e&&o&&o(u),[u,o,e]);return!n&&o?[!1,d]:[!0]}const Ec=e=>e.key||"";function _1(e){const s=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&s.push(n)}),s}const L1=({children:e,custom:s,initial:n=!0,onExitComplete:o,presenceAffectsLayout:l=!0,mode:u="sync",propagate:d=!1,anchorX:f="left",root:p})=>{const[g,x]=B2(d),y=w.useMemo(()=>_1(e),[e]),v=d&&!g?[]:y.map(Ec),k=w.useRef(!0),j=w.useRef(y),E=Op(()=>new Map),[N,O]=w.useState(y),[R,_]=w.useState(y);Iw(()=>{k.current=!1,j.current=y;for(let U=0;U<R.length;U++){const C=Ec(R[U]);v.includes(C)?E.delete(C):E.get(C)!==!0&&E.set(C,!1)}},[R,v.length,v.join("-")]);const Q=[];if(y!==N){let U=[...y];for(let C=0;C<R.length;C++){const D=R[C],Z=Ec(D);v.includes(Z)||(U.splice(C,0,D),Q.push(D))}return u==="wait"&&Q.length&&(U=Q),_(_1(U)),O(y),null}const{forceRender:F}=w.useContext(Rp);return r.jsx(r.Fragment,{children:R.map(U=>{const C=Ec(U),D=d&&!g?!1:y===R||v.includes(C),Z=()=>{if(E.has(C))E.set(C,!0);else return;let K=!0;E.forEach(ae=>{ae||(K=!1)}),K&&(F?.(),_(j.current),d&&x?.(),o&&o())};return r.jsx(V8,{isPresent:D,initial:!k.current||n?void 0:!1,custom:s,presenceAffectsLayout:l,mode:u,root:p,onExitComplete:D?void 0:Z,anchorX:f,children:U},C)})})},D2=w.createContext({strict:!1}),z1={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"]},lo={};for(const e in z1)lo[e]={isEnabled:s=>z1[e].some(n=>!!s[n])};function Q8(e){for(const s in e)lo[s]={...lo[s],...e[s]}}const Y8=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 Vc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Y8.has(e)}let _2=e=>!Vc(e);
vendor: 3,079 bytes, line 265
265function $8(e){typeof e=="function"&&(_2=s=>s.startsWith("on")?!Vc(s):e(s))}try{$8(require("@emotion/is-prop-valid").default)}catch{}function K8(e,s,n){const o={};for(const l in e)l==="values"&&typeof e.values=="object"||(_2(l)||n===!0&&Vc(l)||!s&&!Vc(l)||e.draggable&&l.startsWith("onDrag"))&&(o[l]=e[l]);return o}const uu=w.createContext({});function du(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ur(e){return typeof e=="string"||Array.isArray(e)}const tm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],sm=["initial",...tm];function hu(e){return du(e.animate)||sm.some(s=>Ur(e[s]))}function L2(e){return!!(hu(e)||e.variants)}function X8(e,s){if(hu(e)){const{initial:n,animate:o}=e;return{initial:n===!1||Ur(n)?n:void 0,animate:Ur(o)?o:void 0}}return e.inherit!==!1?s:{}}function W8(e){const{initial:s,animate:n}=X8(e,w.useContext(uu));return w.useMemo(()=>({initial:s,animate:n}),[F1(s),F1(n)])}function F1(e){return Array.isArray(e)?e.join(" "):e}const Gr={};function Z8(e){for(const s in e)Gr[s]=e[s],Hp(s)&&(Gr[s].isCSSVariable=!0)}function z2(e,{layout:s,layoutId:n}){return go.has(e)||e.startsWith("origin")||(s||n!==void 0)&&(!!Gr[e]||e==="opacity")}const J8={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eR=mo.length;function tR(e,s,n){let o="",l=!0;for(let u=0;u<eR;u++){const d=mo[u],f=e[d];if(f===void 0)continue;let p=!0;if(typeof f=="number"?p=f===(d.startsWith("scale")?1:0):p=parseFloat(f)===0,!p||n){const g=C2(f,Wp[d]);if(!p){l=!1;const x=J8[d]||d;o+=`${x}(${g}) `}n&&(s[d]=g)}}return o=o.trim(),n?o=n(s,l?"":o):l&&(o="none"),o}function am(e,s,n){const{style:o,vars:l,transformOrigin:u}=e;let d=!1,f=!1;for(const p in s){const g=s[p];if(go.has(p)){d=!0;continue}else if(Hp(p)){l[p]=g;continue}else{const x=C2(g,Wp[p]);p.startsWith("origin")?(f=!0,u[p]=x):o[p]=x}}if(s.transform||(d||n?o.transform=tR(s,e.transform,n):o.transform&&(o.transform="none")),f){const{originX:p="50%",originY:g="50%",originZ:x=0}=u;o.transformOrigin=`${p} ${g} ${x}`}}const nm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function F2(e,s,n){for(const o in s)!Rt(s[o])&&!z2(o,n)&&(e[o]=s[o])}function sR({transformTemplate:e},s){return w.useMemo(()=>{const n=nm();return am(n,s,e),Object.assign({},n.vars,n.style)},[s])}function aR(e,s){const n=e.style||{},o={};return F2(o,n,e),Object.assign(o,sR(e,s)),o}function nR(e,s){const n={},o=aR(e,s);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const iR={offset:"stroke-dashoffset",array:"stroke-dasharray"},oR={offset:"strokeDashoffset",array:"strokeDasharray"};function rR(e,s,n=1,o=0,l=!0){e.pathLength=1;const u=l?iR:oR;e[u.offset]=ye.transform(-o);const d=ye.transform(s),f=ye.transform(n);e[u.array]=`${d} ${f}`}function H2(e,{attrX:s,attrY:n,attrScale:o,pathLength:l,pathSpacing:u=1,pathOffset:d=0,...f}
vendor: 23,707 bytes, line 265
265,p,g,x){if(am(e,f,g),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:y,style:v}=e;y.transform&&(v.transform=y.transform,delete y.transform),(v.transform||y.transformOrigin)&&(v.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),v.transform&&(v.transformBox=x?.transformBox??"fill-box",delete y.transformBox),s!==void 0&&(y.x=s),n!==void 0&&(y.y=n),o!==void 0&&(y.scale=o),l!==void 0&&rR(y,l,u,d,!1)}const U2=()=>({...nm(),attrs:{}}),G2=e=>typeof e=="string"&&e.toLowerCase()==="svg";function lR(e,s,n,o){const l=w.useMemo(()=>{const u=U2();return H2(u,s,G2(o),e.transformTemplate,e.style),{...u.attrs,style:{...u.style}}},[s]);if(e.style){const u={};F2(u,e.style,e),l.style={...u,...l.style}}return l}const cR=["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 im(e){return typeof e!="string"||e.includes("-")?!1:!!(cR.indexOf(e)>-1||/[A-Z]/u.test(e))}function uR(e,s,n,{latestValues:o},l,u=!1){const f=(im(e)?lR:nR)(s,o,l,e),p=K8(s,typeof e=="string",u),g=e!==w.Fragment?{...p,...f,ref:n}:{},{children:x}=s,y=w.useMemo(()=>Rt(x)?x.get():x,[x]);return w.createElement(e,{...g,children:y})}function H1(e){const s=[{},{}];return e?.values.forEach((n,o)=>{s[0][o]=n.get(),s[1][o]=n.getVelocity()}),s}function om(e,s,n,o){if(typeof s=="function"){const[l,u]=H1(o);s=s(n!==void 0?n:e.custom,l,u)}if(typeof s=="string"&&(s=e.variants&&e.variants[s]),typeof s=="function"){const[l,u]=H1(o);s=s(n!==void 0?n:e.custom,l,u)}return s}function Pc(e){return Rt(e)?e.get():e}function dR({scrapeMotionValuesFromProps:e,createRenderState:s},n,o,l){return{latestValues:hR(n,o,l,e),renderState:s()}}function hR(e,s,n,o){const l={},u=o(e,{});for(const v in u)l[v]=Pc(u[v]);let{initial:d,animate:f}=e;const p=hu(e),g=L2(e);s&&g&&!p&&e.inherit!==!1&&(d===void 0&&(d=s.initial),f===void 0&&(f=s.animate));let x=n?n.initial===!1:!1;x=x||d===!1;const y=x?f:d;if(y&&typeof y!="boolean"&&!du(y)){const v=Array.isArray(y)?y:[y];for(let k=0;k<v.length;k++){const j=om(e,v[k]);if(j){const{transitionEnd:E,transition:N,...O}=j;for(const R in O){let _=O[R];if(Array.isArray(_)){const Q=x?_.length-1:0;_=_[Q]}_!==null&&(l[R]=_)}for(const R in E)l[R]=E[R]}}}return l}const I2=e=>(s,n)=>{const o=w.useContext(uu),l=w.useContext(cu),u=()=>dR(e,s,o,l);return n?u():Op(u)};function rm(e,s,n){const{style:o}=e,l={};for(const u in o)(Rt(o[u])||s.style&&Rt(s.style[u])||z2(u,e)||n?.getValue(u)?.liveStyle!==void 0)&&(l[u]=o[u]);return l}const fR=I2({scrapeMotionValuesFromProps:rm,createRenderState:nm});function V2(e,s,n){const o=rm(e,s,n);for(const l in e)if(Rt(e[l])||Rt(s[l])){const u=mo.indexOf(l)!==-1?"attr"+l.charAt(0).toUpperCase()+l.substring(1):l;o[u]=e[l]}return o}const pR=I2({scrapeMotionValuesFromProps:V2,createRenderState:U2}),mR=Symbol.for("motionComponentSymbol");function Wi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function gR(e,s,n){return w.useCallback(o=>{o&&e.onMount&&e.onMount(o),s&&(o?s.mount(o):s.unmount()),n&&(typeof n=="function"?n(o):Wi(n)&&(n.current=o))},[s])}const lm=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),xR="framerAppearId",q2="data-"+lm(xR),Q2=w.createContext({});function yR(e,s,n,o,l){const{visualElement:u}=w.useContext(uu),d=w.useContext(D2),f=w.useContext(cu),p=w.useContext(em).reducedMotion,g=w.useRef(null);o=o||d.renderer,!g.current&&o&&(g.current=o(e,{visualState:s,parent:u,props:n,presenceContext:f,blockInitialAnimation:f?f.initial===!1:!1,reducedMotionConfig:p}));const x=g.current,y=w.useContext(Q2);x&&!x.projection&&l&&(x.type==="html"||x.type==="svg")&&bR(g.current,n,l,y);const v=w.useRef(!1);w.useInsertionEffect(()=>{x&&v.current&&x.update(n,f)});const k=n[q2],j=w.useRef(!!k&&!window.MotionHandoffIsComplete?.(k)&&window.MotionHasOptimisedAnimation?.(k));return Iw(()=>{x&&(v.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),j.current&&x.animationState&&x.animationState.animateChanges())}),w.useEffect(()=>{x&&(!j.current&&x.animationState&&x.animationState.animateChanges(),j.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(k)}),j.current=!1),x.enteringChildren=void 0)}),x}function bR(e,s,n,o){const{layoutId:l,layout:u,drag:d,dragConstraints:f,layoutScroll:p,layoutRoot:g,layoutCrossfade:x}=s;e.projection=new n(e.latestValues,s["data-framer-portal-id"]?void 0:Y2(e.parent)),e.projection.setOptions({layoutId:l,layout:u,alwaysMeasureLayout:!!d||f&&Wi(f),visualElement:e,animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,crossfade:x,layoutScroll:p,layoutRoot:g})}function Y2(e){if(e)return e.options.allowProjection!==!1?e.projection:Y2(e.parent)}function Jh(e,{forwardMotionProps:s=!1}={},n,o){n&&Q8(n);const l=im(e)?pR:fR;function u(f,p){let g;const x={...w.useContext(em),...f,layoutId:vR(f)},{isStatic:y}=x,v=W8(f),k=l(f,y);if(!y&&Mp){wR();const j=SR(x);g=j.MeasureLayout,v.visualElement=yR(e,k,x,o,j.ProjectionNode)}return r.jsxs(uu.Provider,{value:v,children:[g&&v.visualElement?r.jsx(g,{visualElement:v.visualElement,...x}):null,uR(e,f,gR(k,v.visualElement,p),k,y,s)]})}u.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const d=w.forwardRef(u);return d[mR]=e,d}function vR({layoutId:e}){const s=w.useContext(Rp).id;return s&&e!==void 0?s+"-"+e:e}function wR(e,s){w.useContext(D2).strict}function SR(e){const{drag:s,layout:n}=lo;if(!s&&!n)return{};const o={...s,...n};return{MeasureLayout:s?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function kR(e,s){if(typeof Proxy>"u")return Jh;const n=new Map,o=(u,d)=>Jh(u,d,e,s),l=(u,d)=>o(u,d);return new Proxy(l,{get:(u,d)=>d==="create"?o:(n.has(d)||n.set(d,Jh(d,void 0,e,s)),n.get(d))})}function $2({top:e,left:s,right:n,bottom:o}){return{x:{min:s,max:n},y:{min:e,max:o}}}function jR({x:e,y:s}){return{top:s.min,right:e.max,bottom:s.max,left:e.min}}function ER(e,s){if(!s)return e;const n=s({x:e.left,y:e.top}),o=s({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function ef(e){return e===void 0||e===1}function Jf({scale:e,scaleX:s,scaleY:n}){return!ef(e)||!ef(s)||!ef(n)}function Vn(e){return Jf(e)||K2(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function K2(e){return U1(e.x)||U1(e.y)}function U1(e){return e&&e!=="0%"}function qc(e,s,n){const o=e-n,l=s*o;return n+l}function G1(e,s,n,o,l){return l!==void 0&&(e=qc(e,l,o)),qc(e,n,o)+s}function ep(e,s=0,n=1,o,l){e.min=G1(e.min,s,n,o,l),e.max=G1(e.max,s,n,o,l)}function X2(e,{x:s,y:n}){ep(e.x,s.translate,s.scale,s.originPoint),ep(e.y,n.translate,n.scale,n.originPoint)}const I1=.999999999999,V1=1.0000000000001;function TR(e,s,n,o=!1){const l=n.length;if(!l)return;s.x=s.y=1;let u,d;for(let f=0;f<l;f++){u=n[f],d=u.projectionDelta;const{visualElement:p}=u.options;p&&p.props.style&&p.props.style.display==="contents"||(o&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Ji(e,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),d&&(s.x*=d.x.scale,s.y*=d.y.scale,X2(e,d)),o&&Vn(u.latestValues)&&Ji(e,u.latestValues))}s.x<V1&&s.x>I1&&(s.x=1),s.y<V1&&s.y>I1&&(s.y=1)}function Zi(e,s){e.min=e.min+s,e.max=e.max+s}function q1(e,s,n,o,l=.5){const u=Ke(e.min,e.max,l);ep(e,s,n,u,o)}function Ji(e,s){q1(e.x,s.x,s.scaleX,s.scale,s.originX),q1(e.y,s.y,s.scaleY,s.scale,s.originY)}function W2(e,s){return $2(ER(e.getBoundingClientRect(),s))}function NR(e,s,n){const o=W2(e,n),{scroll:l}=s;return l&&(Zi(o.x,l.offset.x),Zi(o.y,l.offset.y)),o}const Q1=()=>({translate:0,scale:1,origin:0,originPoint:0}),eo=()=>({x:Q1(),y:Q1()}),Y1=()=>({min:0,max:0}),st=()=>({x:Y1(),y:Y1()}),tp={current:null},Z2={current:!1};function CR(){if(Z2.current=!0,!!Mp)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),s=()=>tp.current=e.matches;e.addEventListener("change",s),s()}else tp.current=!1}const AR=new WeakMap;function RR(e,s,n){for(const o in s){const l=s[o],u=n[o];if(Rt(l))e.addValue(o,l);else if(Rt(u))e.addValue(o,ro(l,{owner:e}));else if(u!==l)if(e.hasValue(o)){const d=e.getValue(o);d.liveStyle===!0?d.jump(l):d.hasAnimated||d.set(l)}else{const d=e.getStaticValue(o);e.addValue(o,ro(d!==void 0?d:l,{owner:e}))}}for(const o in n)s[o]===void 0&&e.removeValue(o);return s}const $1=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class OR{scrapeMotionValuesFromProps(s,n,o){return{}}constructor({parent:s,props:n,presenceContext:o,reducedMotionConfig:l,blockInitialAnimation:u,visualState:d},f={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Kp,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 v=Kt.now();this.renderScheduledAt<v&&(this.renderScheduledAt=v,Qe.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=d;this.latestValues=p,this.baseTarget={...p},this.initialValues=n.initial?{...p}:{},this.renderState=g,this.parent=s,this.props=n,this.presenceContext=o,this.depth=s?s.depth+1:0,this.reducedMotionConfig=l,this.options=f,this.blockInitialAnimation=!!u,this.isControllingVariants=hu(n),this.isVariantNode=L2(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(s&&s.current);const{willChange:x,...y}=this.scrapeMotionValuesFromProps(n,{},this);for(const v in y){const k=y[v];p[v]!==void 0&&Rt(k)&&k.set(p[v])}}mount(s){this.current=s,AR.set(s,this),this.projection&&!this.projection.instance&&this.projection.mount(s),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,o)=>this.bindToMotionValue(o,n)),Z2.current||CR(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:tp.current,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),dn(this.notifyUpdate),dn(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const n=this.features[s];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(s){this.children.add(s),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(s)}removeChild(s){this.children.delete(s),this.enteringChildren&&this.enteringChildren.delete(s)}bindToMotionValue(s,n){this.valueSubscriptions.has(s)&&this.valueSubscriptions.get(s)();const o=go.has(s);o&&this.onBindTransform&&this.onBindTransform();const l=n.on("change",d=>{this.latestValues[s]=d,this.props.onUpdate&&Qe.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let u;window.MotionCheckAppearSync&&(u=window.MotionCheckAppearSync(this,s,n)),this.valueSubscriptions.set(s,()=>{l(),u&&u(),n.owner&&n.stop()})}sortNodePosition(s){return!this.current||!this.sortInstanceNodePosition||this.type!==s.type?0:this.sortInstanceNodePosition(this.current,s.current)}updateFeatures(){let s="animation";for(s in lo){const n=lo[s];if(!n)continue;const{isEnabled:o,Feature:l}=n;if(!this.features[s]&&l&&o(this.props)&&(this.features[s]=new l(this)),this.features[s]){const u=this.features[s];u.isMounted?u.update():(u.mount(),u.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):st()}getStaticValue(s){return this.latestValues[s]}setStaticValue(s,n){this.latestValues[s]=n}update(s,n){(s.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=s,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let o=0;o<$1.length;o++){const l=$1[o];this.propEventSubscriptions[l]&&(this.propEventSubscriptions[l](),delete this.propEventSubscriptions[l]);const u="on"+l,d=s[u];d&&(this.propEventSubscriptions[l]=this.on(l,d))}this.prevMotionValues=RR(this,this.scrapeMotionValuesFromProps(s,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(s){return this.props.variants?this.props.variants[s]: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(s){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(s),()=>n.variantChildren.delete(s)}addValue(s,n){const o=this.values.get(s);n!==o&&(o&&this.removeValue(s),this.bindToMotionValue(s,n),this.values.set(s,n),this.latestValues[s]=n.get())}removeValue(s){this.values.delete(s);const n=this.valueSubscriptions.get(s);n&&(n(),this.valueSubscriptions.delete(s)),delete this.latestValues[s],this.removeValueFromRenderState(s,this.renderState)}hasValue(s){return this.values.has(s)}getValue(s,n){if(this.props.values&&this.props.values[s])return this.props.values[s];let o=this.values.get(s);return o===void 0&&n!==void 0&&(o=ro(n===null?void 0:n,{owner:this}),this.addValue(s,o)),o}readValue(s,n){let o=this.latestValues[s]!==void 0||!this.current?this.latestValues[s]:this.getBaseTargetFromProps(this.props,s)??this.readValueFromInstance(this.current,s,this.options);return o!=null&&(typeof o=="string"&&(Vw(o)||Qw(o))?o=parseFloat(o):!F8(o)&&hn.test(n)&&(o=N2(s,n)),this.setBaseTarget(s,Rt(o)?o.get():o)),Rt(o)?o.get():o}setBaseTarget(s,n){this.baseTarget[s]=n}getBaseTarget(s){const{initial:n}=this.props;let o;if(typeof n=="string"||typeof n=="object"){const u=om(this.props,n,this.presenceContext?.custom);u&&(o=u[s])}if(n&&o!==void 0)return o;const l=this.getBaseTargetFromProps(this.props,s);return l!==void 0&&!Rt(l)?l:this.initialValues[s]!==void 0&&o===void 0?void 0:this.baseTarget[s]}on(s,n){return this.events[s]||(this.events[s]=new Lp),this.events[s].add(n)}notify(s,...n){this.events[s]&&this.events[s].notify(...n)}scheduleRenderMicrotask(){Zp.render(this.render)}}class J2 extends OR{constructor(){super(...arguments),this.KeyframeResolver=N8}sortInstanceNodePosition(s,n){return s.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(s,n){return s.style?s.style[n]:void 0}removeValueFromRenderState(s,{vars:n,style:o}){delete n[s],delete o[s]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:s}=this.props;Rt(s)&&(this.childSubscription=s.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function eS(e,{style:s,vars:n},o,l){const u=e.style;let d;for(d in s)u[d]=s[d];l?.applyProjectionStyles(u,o);for(d in n)u.setProperty(d,n[d])}function MR(e){return window.getComputedStyle(e)}class PR extends J2{constructor(){super(...arguments),this.type="html",this.renderInstance=eS}readValueFromInstance(s,n){if(go.has(n))return this.projection?.isProjecting?Qf(n):QA(s,n);{const o=MR(s),l=(Hp(n)?o.getPropertyValue(n):o[n])||0;return typeof l=="string"?l.trim():l}}measureInstanceViewportBox(s,{transformPagePoint:n}){return W2(s,n)}build(s,n,o){am(s,n,o.transformTemplate)}scrapeMotionValuesFromProps(s,n,o){return rm(s,n,o)}}const tS=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 BR(e,s,n,o){eS(e,s,void 0,o);for(const l in s.attrs)e.setAttribute(tS.has(l)?l:lm(l),s.attrs[l])}class DR extends J2{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=st}getBaseTargetFromProps(s,n){return s[n]}readValueFromInstance(s,n){if(go.has(n)){const o=T2(n);return o&&o.default||0}return n=tS.has(n)?n:lm(n),s.getAttribute(n)}scrapeMotionValuesFromProps(s,n,o){return V2(s,n,o)}build(s,n,o){H2(s,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(s,n,o,l){BR(s,n,o,l)}mount(s){this.isSVGTag=G2(s.tagName),super.mount(s)}}const _R=(e,s)=>im(e)?new DR(s):new PR(s,{allowProjection:e!==w.Fragment});function so(e,s,n){const o=e.getProps();return om(o,s,n!==void 0?n:o.custom,e)}const sp=e=>Array.isArray(e);function LR(e,s,n){e.hasValue(s)?e.getValue(s).set(n):e.addValue(s,ro(n))}function zR(e){return sp(e)?e[e.length-1]||0:e}function FR(e,s){const n=so(e,s);let{transitionEnd:o={},transition:l={},...u}=n||{};u={...u,...o};for(const d in u){const f=zR(u[d]);LR(e,d,f)}}function HR(e){return!!(Rt(e)&&e.add)}function ap(e,s){const n=e.getValue("willChange");if(HR(n))return n.add(s);if(!n&&Ta.WillChange){const o=new Ta.WillChange("auto");e.addValue("willChange",o),o.add(s)}}function sS(e){return e.props[q2]}const UR=e=>e!==null;function GR(e,{repeat:s,repeatType:n="loop"},o){const l=e.filter(UR),u=s&&n!=="loop"&&s%2===1?0:l.length-1;return l[u]}const IR={type:"spring",stiffness:500,damping:25,restSpeed:10},VR=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),qR={type:"keyframes",duration:.8},QR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},YR=(e,{keyframes:s})=>s.length>2?qR:go.has(e)?e.startsWith("scale")?VR(s[1]):IR:QR;function $R({when:e,delay:s,delayChildren:n,staggerChildren:o,staggerDirection:l,repeat:u,repeatType:d,repeatDelay:f,from:p,elapsed:g,...x}){return!!Object.keys(x).length}const cm=(e,s,n,o={},l,u)=>d=>{const f=Xp(o,e)||{},p=f.delay||o.delay||0;let{elapsed:g=0}=o;g=g-$s(p);const x={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:s.getVelocity(),...f,delay:-g,onUpdate:v=>{s.set(v),f.onUpdate&&f.onUpdate(v)},onComplete:()=>{d(),f.onComplete&&f.onComplete()},name:e,motionValue:s,element:u?void 0:l};$R(f)||Object.assign(x,YR(e,x)),x.duration&&(x.duration=$s(x.duration)),x.repeatDelay&&(x.repeatDelay=$s(x.repeatDelay)),x.from!==void 0&&(x.keyframes[0]=x.from);let y=!1;if((x.type===!1||x.duration===0&&!x.repeatDelay)&&(Wf(x),x.delay===0&&(y=!0)),(Ta.instantAnimations||Ta.skipAnimations)&&(y=!0,Wf(x),x.delay=0),x.allowFlatten=!f.type&&!f.ease,y&&!u&&s.get()!==void 0){const v=GR(x.keyframes,f);if(v!==void 0){Qe.update(()=>{x.onUpdate(v),x.onComplete()});return}}return f.isSync?new $p(x):new m8(x)};function KR({protectedKeys:e,needsAnimating:s},n){const o=e.hasOwnProperty(n)&&s[n]!==!0;return s[n]=!1,o}function aS(e,s,{delay:n=0,transitionOverride:o,type:l}={}){let{transition:u=e.getDefaultTransition(),transitionEnd:d,...f}=s;o&&(u=o);const p=[],g=l&&e.animationState&&e.animationState.getState()[l];for(const x in f){const y=e.getValue(x,e.latestValues[x]??null),v=f[x];if(v===void 0||g&&KR(g,x))continue;const k={delay:n,...Xp(u||{},x)},j=y.get();if(j!==void 0&&!y.isAnimating&&!Array.isArray(v)&&v===j&&!k.velocity)continue;let E=!1;if(window.MotionHandoffAnimation){const O=sS(e);if(O){const R=window.MotionHandoffAnimation(O,x,Qe);R!==null&&(k.startTime=R,E=!0)}}ap(e,x),y.start(cm(x,y,v,e.shouldReduceMotion&&k2.has(x)?{type:!1}:k,e,E));const N=y.animation;N&&p.push(N)}return d&&Promise.all(p).then(()=>{Qe.update(()=>{d&&FR(e,d)})}),p}function nS(e,s,n,o=0,l=1){const u=Array.from(e).sort((g,x)=>g.sortNodePosition(x)).indexOf(s),d=e.size,f=(d-1)*o;return typeof n=="function"?n(u,d):l===1?u*o:f-u*o}function np(e,s,n={}){const o=so(e,s,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:l=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(l=n.transitionOverride);const u=o?()=>Promise.all(aS(e,o,n)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:g=0,staggerChildren:x,staggerDirection:y}=l;return XR(e,s,p,g,x,y,n)}:()=>Promise.resolve(),{when:f}=l;if(f){const[p,g]=f==="beforeChildren"?[u,d]:[d,u];return p().then(()=>g())}else return Promise.all([u(),d(n.delay)])}function XR(e,s,n=0,o=0,l=0,u=1,d){const f=[];for(const p of e.variantChildren)p.notify("AnimationStart",s),f.push(np(p,s,{...d,delay:n+(typeof o=="function"?0:o)+nS(e.variantChildren,p,o,l,u)}).then(()=>p.notify("AnimationComplete",s)));return Promise.all(f)}function WR(e,s,n={}){e.notify("AnimationStart",s);let o;if(Array.isArray(s)){const l=s.map(u=>np(e,u,n));o=Promise.all(l)}else if(typeof s=="string")o=np(e,s,n);else{const l=typeof s=="function"?so(e,s,n.custom):s;o=Promise.all(aS(e,l,n))}return o.then(()=>{e.notify("AnimationComplete",s)})}function iS(e,s){if(!Array.isArray(s))return!1;const n=s.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(s[o]!==e[o])return!1;return!0}const ZR=sm.length;function oS(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?oS(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const s={};for(let n=0;n<ZR;n++){const o=sm[n],l=e.props[o];(Ur(l)||l===!1)&&(s[o]=l)}return s}const JR=[...tm].reverse(),eO=tm.length;function tO(e){return s=>Promise.all(s.map(({animation:n,options:o})=>WR(e,n,o)))}function sO(e){let s=tO(e),n=K1(),o=!0;const l=p=>(g,x)=>{const y=so(e,x,p==="exit"?e.presenceContext?.custom:void 0);if(y){const{transition:v,transitionEnd:k,...j}=y;g={...g,...j,...k}}return g};function u(p){s=p(e)}function d(p){const{props:g}=e,x=oS(e.parent)||{},y=[],v=new Set;let k={},j=1/0;for(let N=0;N<eO;N++){const O=JR[N],R=n[O],_=g[O]!==void 0?g[O]:x[O],Q=Ur(_),F=O===p?R.isActive:null;F===!1&&(j=N);let U=_===x[O]&&_!==g[O]&&Q;if(U&&o&&e.manuallyAnimateOnMount&&(U=!1),R.protectedKeys={...k},!R.isActive&&F===null||!_&&!R.prevProp||du(_)||typeof _=="boolean")continue;const C=aO(R.prevProp,_);let D=C||O===p&&R.isActive&&!U&&Q||N>j&&Q,Z=!1;const K=Array.isArray(_)?_:[_];let ae=K.reduce(l(O),{});F===!1&&(ae={});const{prevResolvedValues:se={}}=R,ie={...se,...ae},oe=H=>{D=!0,v.has(H)&&(Z=!0,v.delete(H)),R.needsAnimating[H]=!0;const L=e.getValue(H);L&&(L.liveStyle=!1)};for(const H in ie){const L=ae[H],B=se[H];if(k.hasOwnProperty(H))continue;let te=!1;sp(L)&&sp(B)?te=!iS(L,B):te=L!==B,te?L!=null?oe(H):v.add(H):L!==void 0&&v.has(H)?oe(H):R.protectedKeys[H]=!0}R.prevProp=_,R.prevResolvedValues=ae,R.isActive&&(k={...k,...ae}),o&&e.blockInitialAnimation&&(D=!1);const le=U&&C;D&&(!le||Z)&&y.push(...K.map(H=>{const L={type:O};if(typeof H=="string"&&o&&!le&&e.manuallyAnimateOnMount&&e.parent){const{parent:B}=e,te=so(B,H);if(B.enteringChildren&&te){const{delayChildren:T}=te.transition||{};L.delay=nS(B.enteringChildren,e,T)}}return{animation:H,options:L}}))}if(v.size){const N={};if(typeof g.initial!="boolean"){const O=so(e,Array.isArray(g.initial)?g.initial[0]:g.initial);O&&O.transition&&(N.transition=O.transition)}v.forEach(O=>{const R=e.getBaseTarget(O),_=e.getValue(O);_&&(_.liveStyle=!0),N[O]=R??null}),y.push({animation:N})}let E=!!y.length;return o&&(g.initial===!1||g.initial===g.animate)&&!e.manuallyAnimateOnMount&&(E=!1),o=!1,E?s(y):Promise.resolve()}function f(p,g){if(n[p].isActive===g)return Promise.resolve();e.variantChildren?.forEach(y=>y.animationState?.setActive(p,g)),n[p].isActive=g;const x=d(p);for(const y in n)n[y].protectedKeys={};return x}
vendor: 4,921 bytes, line 265
265return{animateChanges:d,setActive:f,setAnimateFunction:u,getState:()=>n,reset:()=>{n=K1(),o=!0}}}function aO(e,s){return typeof s=="string"?s!==e:Array.isArray(s)?!iS(s,e):!1}function Un(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function K1(){return{animate:Un(!0),whileInView:Un(),whileHover:Un(),whileTap:Un(),whileDrag:Un(),whileFocus:Un(),exit:Un()}}class pn{constructor(s){this.isMounted=!1,this.node=s}update(){}}class nO extends pn{constructor(s){super(s),s.animationState||(s.animationState=sO(s))}updateAnimationControlsSubscription(){const{animate:s}=this.node.getProps();du(s)&&(this.unmountControls=s.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:s}=this.node.getProps(),{animate:n}=this.node.prevProps||{};s!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let iO=0;class oO extends pn{constructor(){super(...arguments),this.id=iO++}update(){if(!this.node.presenceContext)return;const{isPresent:s,onExitComplete:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||s===o)return;const l=this.node.animationState.setActive("exit",!s);n&&!s&&l.then(()=>{n(this.id)})}mount(){const{register:s,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),s&&(this.unmount=s(this.id))}unmount(){}}const rO={animation:{Feature:nO},exit:{Feature:oO}};function Ir(e,s,n,o={passive:!0}){return e.addEventListener(s,n,o),()=>e.removeEventListener(s,n)}function Jr(e){return{point:{x:e.pageX,y:e.pageY}}}const lO=e=>s=>Jp(s)&&e(s,Jr(s));function Tr(e,s,n,o){return Ir(e,s,lO(n),o)}const rS=1e-4,cO=1-rS,uO=1+rS,lS=.01,dO=0-lS,hO=0+lS;function Lt(e){return e.max-e.min}function fO(e,s,n){return Math.abs(e-s)<=n}function X1(e,s,n,o=.5){e.origin=o,e.originPoint=Ke(s.min,s.max,e.origin),e.scale=Lt(n)/Lt(s),e.translate=Ke(n.min,n.max,e.origin)-e.originPoint,(e.scale>=cO&&e.scale<=uO||isNaN(e.scale))&&(e.scale=1),(e.translate>=dO&&e.translate<=hO||isNaN(e.translate))&&(e.translate=0)}function Nr(e,s,n,o){X1(e.x,s.x,n.x,o?o.originX:void 0),X1(e.y,s.y,n.y,o?o.originY:void 0)}function W1(e,s,n){e.min=n.min+s.min,e.max=e.min+Lt(s)}function pO(e,s,n){W1(e.x,s.x,n.x),W1(e.y,s.y,n.y)}function Z1(e,s,n){e.min=s.min-n.min,e.max=e.min+Lt(s)}function Cr(e,s,n){Z1(e.x,s.x,n.x),Z1(e.y,s.y,n.y)}function bs(e){return[e("x"),e("y")]}const cS=({current:e})=>e?e.ownerDocument.defaultView:null,J1=(e,s)=>Math.abs(e-s);function mO(e,s){const n=J1(e.x,s.x),o=J1(e.y,s.y);return Math.sqrt(n**2+o**2)}class uS{constructor(s,n,{transformPagePoint:o,contextWindow:l=window,dragSnapToOrigin:u=!1,distanceThreshold:d=3}={}){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=sf(this.lastMoveEventInfo,this.history),k=this.startEvent!==null,j=mO(v.offset,{x:0,y:0})>=this.distanceThreshold;if(!k&&!j)return;const{point:E}=v,{timestamp:N}=jt;this.history.push({...E,timestamp:N});const{onStart:O,onMove:R}=this.handlers;k||(O&&O(this.lastMoveEvent,v),this.startEvent=this.lastMoveEvent),R&&R(this.lastMoveEvent,v)},this.handlePointerMove=(v,k)=>{this.lastMoveEvent=v,this.lastMoveEventInfo=tf(k,this.transformPagePoint),Qe.update(this.updatePoint,!0)},this.handlePointerUp=(v,k)=>{this.end();const{onEnd:j,onSessionEnd:E,resumeAnimation:N}=this.handlers;if(this.dragSnapToOrigin&&N&&N(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const O=sf(v.type==="pointercancel"?this.lastMoveEventInfo:tf(k,this.transformPagePoint),this.history);this.startEvent&&j&&j(v,O),E&&E(v,O)},!Jp(s))return;this.dragSnapToOrigin=u,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=d,this.contextWindow=l||window;const f=Jr(s),p=tf(f,this.transformPagePoint),{point:g}=p,{timestamp:x}=jt;this.history=[{...g,timestamp:x}];const{onSessionStart:y}=n;y&&y(s,sf(p,this.history)),this.removeListeners=Xr(Tr(this.contextWindow,"pointermove",this.handlePointerMove),Tr(this.contextWindow,"pointerup",this.handlePointerUp),Tr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(s){this.handlers=s}end(){this.removeListeners&&this.removeListeners(),dn(this.updatePoint)}}function tf(e,s){return s?{point:s(e.point)}:e}function ev(e,s){return{x:e.x-s.x,y:e.y-s.y}}function sf({point:e},s){return{point:e,delta:ev(e,dS(s)),offset:ev(e,gO(s)),velocity:xO(s,.1)}}function gO(e){return e[0]}function dS(e){return e[e.length-1]}function xO(e,s){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const l=dS(e);for(;n>=0&&(o=e[n],!(l.timestamp-o.timestamp>$s(s)));)n--;if(!o)return{x:0,y:0};const u=Ss(l.timestamp-o.timestamp);if(u===0)return{x:0,y:0};const d={x:(l.x-o.x)/u,y:(l.y-o.y)/u};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function yO(e,{min:s,max:n}
vendor: 11,710 bytes, line 265
265,o){return s!==void 0&&e<s?e=o?Ke(s,e,o.min):Math.max(e,s):n!==void 0&&e>n&&(e=o?Ke(n,e,o.max):Math.min(e,n)),e}function tv(e,s,n){return{min:s!==void 0?e.min+s:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function bO(e,{top:s,left:n,bottom:o,right:l}){return{x:tv(e.x,n,l),y:tv(e.y,s,o)}}function sv(e,s){let n=s.min-e.min,o=s.max-e.max;return s.max-s.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}function vO(e,s){return{x:sv(e.x,s.x),y:sv(e.y,s.y)}}function wO(e,s){let n=.5;const o=Lt(e),l=Lt(s);return l>o?n=zr(s.min,s.max-o,e.min):o>l&&(n=zr(e.min,e.max-l,s.min)),Ea(0,1,n)}function SO(e,s){const n={};return s.min!==void 0&&(n.min=s.min-e.min),s.max!==void 0&&(n.max=s.max-e.min),n}const ip=.35;function kO(e=ip){return e===!1?e=0:e===!0&&(e=ip),{x:av(e,"left","right"),y:av(e,"top","bottom")}}function av(e,s,n){return{min:nv(e,s),max:nv(e,n)}}function nv(e,s){return typeof e=="number"?e:e[s]||0}const jO=new WeakMap;class EO{constructor(s){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=st(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=s}start(s,{snapToCursor:n=!1,distanceThreshold:o}={}){const{presenceContext:l}=this.visualElement;if(l&&l.isPresent===!1)return;const u=y=>{const{dragSnapToOrigin:v}=this.getProps();v?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Jr(y).point)},d=(y,v)=>{const{drag:k,dragPropagation:j,onDragStart:E}=this.getProps();if(k&&!j&&(this.openDragLock&&this.openDragLock(),this.openDragLock=O8(k),!this.openDragLock))return;this.latestPointerEvent=y,this.latestPanInfo=v,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),bs(O=>{let R=this.getAxisMotionValue(O).get()||0;if(Ks.test(R)){const{projection:_}=this.visualElement;if(_&&_.layout){const Q=_.layout.layoutBox[O];Q&&(R=Lt(Q)*(parseFloat(R)/100))}}this.originPoint[O]=R}),E&&Qe.postRender(()=>E(y,v)),ap(this.visualElement,"transform");const{animationState:N}=this.visualElement;N&&N.setActive("whileDrag",!0)},f=(y,v)=>{this.latestPointerEvent=y,this.latestPanInfo=v;const{dragPropagation:k,dragDirectionLock:j,onDirectionLock:E,onDrag:N}=this.getProps();if(!k&&!this.openDragLock)return;const{offset:O}=v;if(j&&this.currentDirection===null){this.currentDirection=TO(O),this.currentDirection!==null&&E&&E(this.currentDirection);return}this.updateAxis("x",v.point,O),this.updateAxis("y",v.point,O),this.visualElement.render(),N&&N(y,v)},p=(y,v)=>{this.latestPointerEvent=y,this.latestPanInfo=v,this.stop(y,v),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>bs(y=>this.getAnimationState(y)==="paused"&&this.getAxisMotionValue(y).animation?.play()),{dragSnapToOrigin:x}=this.getProps();this.panSession=new uS(s,{onSessionStart:u,onStart:d,onMove:f,onSessionEnd:p,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:x,distanceThreshold:o,contextWindow:cS(this.visualElement)})}stop(s,n){const o=s||this.latestPointerEvent,l=n||this.latestPanInfo,u=this.isDragging;if(this.cancel(),!u||!l||!o)return;const{velocity:d}=l;this.startAnimation(d);const{onDragEnd:f}=this.getProps();f&&Qe.postRender(()=>f(o,l))}cancel(){this.isDragging=!1;const{projection:s,animationState:n}=this.visualElement;s&&(s.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(s,n,o){const{drag:l}=this.getProps();if(!o||!Tc(s,l,this.currentDirection))return;const u=this.getAxisMotionValue(s);let d=this.originPoint[s]+o[s];this.constraints&&this.constraints[s]&&(d=yO(d,this.constraints[s],this.elastic[s])),u.set(d)}resolveConstraints(){const{dragConstraints:s,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,l=this.constraints;s&&Wi(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&o?this.constraints=bO(o.layoutBox,s):this.constraints=!1,this.elastic=kO(n),l!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&bs(u=>{this.constraints!==!1&&this.getAxisMotionValue(u)&&(this.constraints[u]=SO(o.layoutBox[u],this.constraints[u]))})}resolveRefConstraints(){const{dragConstraints:s,onMeasureDragConstraints:n}=this.getProps();if(!s||!Wi(s))return!1;const o=s.current,{projection:l}=this.visualElement;if(!l||!l.layout)return!1;const u=NR(o,l.root,this.visualElement.getTransformPagePoint());let d=vO(l.layout.layoutBox,u);if(n){const f=n(jR(d));this.hasMutatedConstraints=!!f,f&&(d=$2(f))}return d}startAnimation(s){const{drag:n,dragMomentum:o,dragElastic:l,dragTransition:u,dragSnapToOrigin:d,onDragTransitionEnd:f}=this.getProps(),p=this.constraints||{},g=bs(x=>{if(!Tc(x,n,this.currentDirection))return;let y=p&&p[x]||{};d&&(y={min:0,max:0});const v=l?200:1e6,k=l?40:1e7,j={type:"inertia",velocity:o?s[x]:0,bounceStiffness:v,bounceDamping:k,timeConstant:750,restDelta:1,restSpeed:10,...u,...y};return this.startAxisValueAnimation(x,j)});return Promise.all(g).then(f)}startAxisValueAnimation(s,n){const o=this.getAxisMotionValue(s);return ap(this.visualElement,s),o.start(cm(s,o,0,n,this.visualElement,!1))}stopAnimation(){bs(s=>this.getAxisMotionValue(s).stop())}pauseAnimation(){bs(s=>this.getAxisMotionValue(s).animation?.pause())}getAnimationState(s){return this.getAxisMotionValue(s).animation?.state}getAxisMotionValue(s){const n=`_drag${s.toUpperCase()}`,o=this.visualElement.getProps(),l=o[n];return l||this.visualElement.getValue(s,(o.initial?o.initial[s]:void 0)||0)}snapToCursor(s){bs(n=>{const{drag:o}=this.getProps();if(!Tc(n,o,this.currentDirection))return;const{projection:l}=this.visualElement,u=this.getAxisMotionValue(n);if(l&&l.layout){const{min:d,max:f}=l.layout.layoutBox[n];u.set(s[n]-Ke(d,f,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:s,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!Wi(n)||!o||!this.constraints)return;this.stopAnimation();const l={x:0,y:0};bs(d=>{const f=this.getAxisMotionValue(d);if(f&&this.constraints!==!1){const p=f.get();l[d]=wO({min:p,max:p},this.constraints[d])}});const{transformTemplate:u}=this.visualElement.getProps();this.visualElement.current.style.transform=u?u({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),bs(d=>{if(!Tc(d,s,null))return;const f=this.getAxisMotionValue(d),{min:p,max:g}=this.constraints[d];f.set(Ke(p,g,l[d]))})}addListeners(){if(!this.visualElement.current)return;jO.set(this.visualElement,this);const s=this.visualElement.current,n=Tr(s,"pointerdown",p=>{const{drag:g,dragListener:x=!0}=this.getProps();g&&x&&this.start(p)}),o=()=>{const{dragConstraints:p}=this.getProps();Wi(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:l}=this.visualElement,u=l.addEventListener("measure",o);l&&!l.layout&&(l.root&&l.root.updateScroll(),l.updateLayout()),Qe.read(o);const d=Ir(window,"resize",()=>this.scalePositionWithinConstraints()),f=l.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(bs(x=>{const y=this.getAxisMotionValue(x);y&&(this.originPoint[x]+=p[x].translate,y.set(y.get()+p[x].translate))}),this.visualElement.render())}));return()=>{d(),n(),u(),f&&f()}}getProps(){const s=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:o=!1,dragPropagation:l=!1,dragConstraints:u=!1,dragElastic:d=ip,dragMomentum:f=!0}=s;return{...s,drag:n,dragDirectionLock:o,dragPropagation:l,dragConstraints:u,dragElastic:d,dragMomentum:f}}}function Tc(e,s,n){return(s===!0||s===e)&&(n===null||n===e)}function TO(e,s=10){let n=null;return Math.abs(e.y)>s?n="y":Math.abs(e.x)>s&&(n="x"),n}class NO extends pn{constructor(s){super(s),this.removeGroupControls=ks,this.removeListeners=ks,this.controls=new EO(s)}mount(){const{dragControls:s}=this.node.getProps();s&&(this.removeGroupControls=s.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ks}unmount(){this.removeGroupControls(),this.removeListeners()}}const iv=e=>(s,n)=>{e&&Qe.postRender(()=>e(s,n))};class CO extends pn{constructor(){super(...arguments),this.removePointerDownListener=ks}onPointerDown(s){this.session=new uS(s,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:cS(this.node)})}createPanHandlers(){const{onPanSessionStart:s,onPanStart:n,onPan:o,onPanEnd:l}=this.node.getProps();return{onSessionStart:iv(s),onStart:iv(n),onMove:o,onEnd:(u,d)=>{delete this.session,l&&Qe.postRender(()=>l(u,d))}}}mount(){this.removePointerDownListener=Tr(this.node.current,"pointerdown",s=>this.onPointerDown(s))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Bc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ov(e,s){return s.max===s.min?0:e/(s.max-s.min)*100}const br={correct:(e,s)=>{if(!s.target)return e;if(typeof e=="string")if(ye.test(e))e=parseFloat(e);else return e;const n=ov(e,s.target.x),o=ov(e,s.target.y);return`${n}% ${o}%`}},AO={correct:(e,{treeScale:s,projectionDelta:n})=>{const o=e,l=hn.parse(e);if(l.length>5)return o;const u=hn.createTransformer(e),d=typeof l[0]!="number"?1:0,f=n.x.scale*s.x,p=n.y.scale*s.y;l[0+d]/=f,l[1+d]/=p;const g=Ke(f,p,.5);return typeof l[2+d]=="number"&&(l[2+d]/=g),typeof l[3+d]=="number"&&(l[3+d]/=g),u(l)}};let af=!1;class RO extends w.Component{componentDidMount(){const{visualElement:s,layoutGroup:n,switchLayoutGroup:o,layoutId:l}=this.props,{projection:u}=s;Z8(OO),u&&(n.group&&n.group.add(u),o&&o.register&&l&&o.register(u),af&&u.root.didUpdate(),u.addEventListener("animationComplete",()=>{this.safeToRemove()}),u.setOptions({...u.options,onExitComplete:()=>this.safeToRemove()})),Bc.hasEverUpdated=!0}getSnapshotBeforeUpdate(s){const{layoutDependency:n,visualElement:o,drag:l,isPresent:u}=this.props,{projection:d}=o;return d&&(d.isPresent=u,af=!0,l||s.layoutDependency!==n||n===void 0||s.isPresent!==u?d.willUpdate():this.safeToRemove(),s.isPresent!==u&&(u?d.promote():d.relegate()||Qe.postRender(()=>{const f=d.getStack();(!f||!f.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:s}=this.props.visualElement;s&&(s.root.didUpdate(),Zp.postRender(()=>{!s.currentAnimation&&s.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:s,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:l}=s;af=!0,l&&(l.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(l),o&&o.deregister&&o.deregister(l))}safeToRemove(){const{safeToRemove:s}=this.props;s&&s()}render(){return null}}function hS(e){const[s,n]=B2(),o=w.useContext(Rp);return r.jsx(RO,{...e,layoutGroup:o,switchLayoutGroup:w.useContext(Q2),isPresent:s,safeToRemove:n})}const OO={borderRadius:{...br,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:br,borderTopRightRadius:br,borderBottomLeftRadius:br,borderBottomRightRadius:br,boxShadow:AO};function MO(e,s,n){const o=Rt(e)?e:ro(e);return o.start(cm("",o,s,n)),o.animation}const PO=(e,s)=>e.depth-s.depth;class BO{constructor(){this.children=[],this.isDirty=!1}add(s){Pp(this.children,s),this.isDirty=!0}remove(s){Bp(this.children,s),this.isDirty=!0}forEach(s){this.isDirty&&this.children.sort(PO),this.isDirty=!1,this.children.forEac
vendor: 5,073 bytes, line 265
265h(s)}}function DO(e,s){const n=Kt.now(),o=({timestamp:l})=>{const u=l-n;u>=s&&(dn(o),e(u-s))};return Qe.setup(o,!0),()=>dn(o)}const fS=["TopLeft","TopRight","BottomLeft","BottomRight"],_O=fS.length,rv=e=>typeof e=="string"?parseFloat(e):e,lv=e=>typeof e=="number"||ye.test(e);function LO(e,s,n,o,l,u){l?(e.opacity=Ke(0,n.opacity??1,zO(o)),e.opacityExit=Ke(s.opacity??1,0,FO(o))):u&&(e.opacity=Ke(s.opacity??1,n.opacity??1,o));for(let d=0;d<_O;d++){const f=`border${fS[d]}Radius`;let p=cv(s,f),g=cv(n,f);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||lv(p)===lv(g)?(e[f]=Math.max(Ke(rv(p),rv(g),o),0),(Ks.test(g)||Ks.test(p))&&(e[f]+="%")):e[f]=g}(s.rotate||n.rotate)&&(e.rotate=Ke(s.rotate||0,n.rotate||0,o))}function cv(e,s){return e[s]!==void 0?e[s]:e.borderRadius}const zO=pS(0,.5,e2),FO=pS(.5,.95,ks);function pS(e,s,n){return o=>o<e?0:o>s?1:n(zr(e,s,o))}function uv(e,s){e.min=s.min,e.max=s.max}function ys(e,s){uv(e.x,s.x),uv(e.y,s.y)}function dv(e,s){e.translate=s.translate,e.scale=s.scale,e.originPoint=s.originPoint,e.origin=s.origin}function hv(e,s,n,o,l){return e-=s,e=qc(e,1/n,o),l!==void 0&&(e=qc(e,1/l,o)),e}function HO(e,s=0,n=1,o=.5,l,u=e,d=e){if(Ks.test(s)&&(s=parseFloat(s),s=Ke(d.min,d.max,s/100)-d.min),typeof s!="number")return;let f=Ke(u.min,u.max,o);e===u&&(f-=s),e.min=hv(e.min,s,n,f,l),e.max=hv(e.max,s,n,f,l)}function fv(e,s,[n,o,l],u,d){HO(e,s[n],s[o],s[l],s.scale,u,d)}const UO=["x","scaleX","originX"],GO=["y","scaleY","originY"];function pv(e,s,n,o){fv(e.x,s,UO,n?n.x:void 0,o?o.x:void 0),fv(e.y,s,GO,n?n.y:void 0,o?o.y:void 0)}function mv(e){return e.translate===0&&e.scale===1}function mS(e){return mv(e.x)&&mv(e.y)}function gv(e,s){return e.min===s.min&&e.max===s.max}function IO(e,s){return gv(e.x,s.x)&&gv(e.y,s.y)}function xv(e,s){return Math.round(e.min)===Math.round(s.min)&&Math.round(e.max)===Math.round(s.max)}function gS(e,s){return xv(e.x,s.x)&&xv(e.y,s.y)}function yv(e){return Lt(e.x)/Lt(e.y)}function bv(e,s){return e.translate===s.translate&&e.scale===s.scale&&e.originPoint===s.originPoint}class VO{constructor(){this.members=[]}add(s){Pp(this.members,s),s.scheduleRender()}remove(s){if(Bp(this.members,s),s===this.prevLead&&(this.prevLead=void 0),s===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(s){const n=this.members.findIndex(l=>s===l);if(n===0)return!1;let o;for(let l=n;l>=0;l--){const u=this.members[l];if(u.isPresent!==!1){o=u;break}}return o?(this.promote(o),!0):!1}promote(s,n){const o=this.lead;if(s!==o&&(this.prevLead=o,this.lead=s,s.show(),o)){o.instance&&o.scheduleRender(),s.scheduleRender(),s.resumeFrom=o,n&&(s.resumeFrom.preserveOpacity=!0),o.snapshot&&(s.snapshot=o.snapshot,s.snapshot.latestValues=o.animationValues||o.latestValues),s.root&&s.root.isUpdating&&(s.isLayoutDirty=!0);const{crossfade:l}=s.options;l===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(s=>{const{options:n,resumingFrom:o}=s;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(s=>{s.instance&&s.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function qO(e,s,n){let o="";const l=e.x.translate/s.x,u=e.y.translate/s.y,d=n?.z||0;if((l||u||d)&&(o=`translate3d(${l}px, ${u}px, ${d}px) `),(s.x!==1||s.y!==1)&&(o+=`scale(${1/s.x}, ${1/s.y}) `),n){const{transformPerspective:g,rotate:x,rotateX:y,rotateY:v,skewX:k,skewY:j}=n;g&&(o=`perspective(${g}px) ${o}`),x&&(o+=`rotate(${x}deg) `),y&&(o+=`rotateX(${y}deg) `),v&&(o+=`rotateY(${v}deg) `),k&&(o+=`skewX(${k}deg) `),j&&(o+=`skewY(${j}deg) `)}const f=e.x.scale*s.x,p=e.y.scale*s.y;return(f!==1||p!==1)&&(o+=`scale(${f}, ${p})`),o||"none"}const nf=["","X","Y","Z"],QO=1e3;let YO=0;function of(e,s,n,o){const{latestValues:l}=s;l[e]&&(n[e]=l[e],s.setStaticValue(e,0),o&&(o[e]=0))}function xS(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:s}=e.options;if(!s)return;const n=sS(s);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:l,layoutId:u}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Qe,!(l||u))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&xS(o)}function yS({attachResizeListener:e,defaultParent:s,measureScroll:n,checkIsScrollRoot:o,resetTransform:l}){return class{constructor(d={},f=s?.()){this.id=YO++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
vendor: 4,304 bytes, line 265
265{this.projectionUpdateScheduled=!1,this.nodes.forEach(XO),this.nodes.forEach(eM),this.nodes.forEach(tM),this.nodes.forEach(WO)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=f?f.root||f:this,this.path=f?[...f.path,f]:[],this.parent=f,this.depth=f?f.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new BO)}addEventListener(d,f){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new Lp),this.eventHandlers.get(d).add(f)}notifyListeners(d,...f){const p=this.eventHandlers.get(d);p&&p.notify(...f)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=P2(d)&&!L8(d),this.instance=d;const{layoutId:f,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),this.root.hasTreeAnimated&&(p||f)&&(this.isLayoutDirty=!0),e){let x,y=0;const v=()=>this.root.updateBlockedByResize=!1;Qe.read(()=>{y=window.innerWidth}),e(d,()=>{const k=window.innerWidth;k!==y&&(y=k,this.root.updateBlockedByResize=!0,x&&x(),x=DO(v,250),Bc.hasAnimatedSinceResize&&(Bc.hasAnimatedSinceResize=!1,this.nodes.forEach(Sv)))})}f&&this.root.registerSharedNode(f,this),this.options.animate!==!1&&g&&(f||p)&&this.addEventListener("didUpdate",({delta:x,hasLayoutChanged:y,hasRelativeLayoutChanged:v,layout:k})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const j=this.options.transition||g.getDefaultTransition()||oM,{onLayoutAnimationStart:E,onLayoutAnimationComplete:N}=g.getProps(),O=!this.targetLayout||!gS(this.targetLayout,k),R=!y&&v;if(this.options.layoutRoot||this.resumeFrom||R||y&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const _={...Xp(j,"layout"),onPlay:E,onComplete:N};(g.shouldReduceMotion||this.options.layoutRoot)&&(_.delay=0,_.type=!1),this.startAnimation(_),this.setAnimationOrigin(x,R)}else y||Sv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=k})}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,this.eventHandlers.clear(),dn(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(sM),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&&xS(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let x=0;x<this.path.length;x++){const y=this.path[x];y.shouldResetTransform=!0,y.updateScroll("snapshot"),y.options.layoutRoot&&y.willUpdate(!1)}const{layoutId:f,layout:p}=this.options;if(f===void 0&&!p)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(vv);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(wv);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(JO),this.nodes.forEach($O),this.nodes.forEach(KO)):this.nodes.forEach(wv),this.clearAllSnapshots();const f=Kt.now();jt.delta=Ea(0,1e3/60,f-jt.timestamp),jt.timestamp=f,jt.isProcessing=!0,Yh.update.process(jt),Yh.preRender.process(jt),Yh.render.process(jt),jt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Zp.read(this.scheduleUpdate))}
vendor: 6,064 bytes, line 265
265clearAllSnapshots(){this.nodes.forEach(ZO),this.sharedNodes.forEach(aM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Qe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Qe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Lt(this.snapshot.measuredBox.x)&&!Lt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let p=0;p<this.path.length;p++)this.path[p].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutCorrected=st(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:f}=this.options;f&&f.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let f=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(f=!1),f&&this.instance){const p=o(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:p,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!l)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,f=this.projectionDelta&&!mS(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,x=g!==this.prevTransformTemplateValue;d&&this.instance&&(f||Vn(this.latestValues)||x)&&(l(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const f=this.measurePageBox();let p=this.removeElementScroll(f);return d&&(p=this.removeTransform(p)),rM(p),{animationId:this.root.animationId,measuredBox:f,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:d}=this.options;if(!d)return st();const f=d.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(lM))){const{scroll:g}=this.root;g&&(Zi(f.x,g.offset.x),Zi(f.y,g.offset.y))}return f}removeElementScroll(d){const f=st();if(ys(f,d),this.scroll?.wasRoot)return f;for(let p=0;p<this.path.length;p++){const g=this.path[p],{scroll:x,options:y}=g;g!==this.root&&x&&y.layoutScroll&&(x.wasRoot&&ys(f,d),Zi(f.x,x.offset.x),Zi(f.y,x.offset.y))}return f}applyTransform(d,f=!1){const p=st();ys(p,d);for(let g=0;g<this.path.length;g++){const x=this.path[g];!f&&x.options.layoutScroll&&x.scroll&&x!==x.root&&Ji(p,{x:-x.scroll.offset.x,y:-x.scroll.offset.y}),Vn(x.latestValues)&&Ji(p,x.latestValues)}return Vn(this.latestValues)&&Ji(p,this.latestValues),p}removeTransform(d){const f=st();ys(f,d);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!g.instance||!Vn(g.latestValues))continue;Jf(g.latestValues)&&g.updateSnapshot();const x=st(),y=g.measurePageBox();ys(x,y),pv(f,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,x)}return Vn(this.latestValues)&&pv(f,this.latestValues),f}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!==jt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){const f=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=f.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=f.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=f.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==f;if(!(d||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:x,layoutId:y}=this.options;if(!(!this.layout||!(x||y))){if(this.resolvedRelativeTargetAt=jt.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=st(),this.relativeTargetOrigin=st(),Cr(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),ys(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=st(),this.targetWithTransforms=st()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),pO(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ys(this.target,this.layout.layoutBox),X2(this.target,this.targetDelta)):ys(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=st(),this.relativeTargetOrigin=st(),Cr(this.relativeTargetOrigin,this.target,v.target),ys(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Jf(this.parent.latestValues)||K2(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const d=this.getLead(),f=!!this.resumingFrom||this!==d;let p=!0;
vendor: 8,184 bytes, line 265
265if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),f&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===jt.timestamp&&(p=!1),p)return;const{layout:g,layoutId:x}=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||x))return;ys(this.layoutCorrected,this.layout.layoutBox);const y=this.treeScale.x,v=this.treeScale.y;TR(this.layoutCorrected,this.treeScale,this.path,f),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=st());const{target:k}=d;if(!k){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(dv(this.prevProjectionDelta.x,this.projectionDelta.x),dv(this.prevProjectionDelta.y,this.projectionDelta.y)),Nr(this.projectionDelta,this.layoutCorrected,k,this.latestValues),(this.treeScale.x!==y||this.treeScale.y!==v||!bv(this.projectionDelta.x,this.prevProjectionDelta.x)||!bv(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",k))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){if(this.options.visualElement?.scheduleRender(),d){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=eo(),this.projectionDelta=eo(),this.projectionDeltaWithTransform=eo()}setAnimationOrigin(d,f=!1){const p=this.snapshot,g=p?p.latestValues:{},x={...this.latestValues},y=eo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!f;const v=st(),k=p?p.source:void 0,j=this.layout?this.layout.source:void 0,E=k!==j,N=this.getStack(),O=!N||N.members.length<=1,R=!!(E&&!O&&this.options.crossfade===!0&&!this.path.some(iM));this.animationProgress=0;let _;this.mixTargetDelta=Q=>{const F=Q/1e3;kv(y.x,d.x,F),kv(y.y,d.y,F),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cr(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox),nM(this.relativeTarget,this.relativeTargetOrigin,v,F),_&&IO(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=st()),ys(_,this.relativeTarget)),E&&(this.animationValues=x,LO(x,g,this.latestValues,F,R,O)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=F},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(dn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Qe.update(()=>{Bc.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ro(0)),this.currentAnimation=MO(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:f=>{this.mixTargetDelta(f),d.onUpdate&&d.onUpdate(f)},onStop:()=>{},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(QO),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:f,target:p,layout:g,latestValues:x}=d;if(!(!f||!p||!g)){if(this!==d&&this.layout&&g&&bS(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||st();const y=Lt(this.layout.layoutBox.x);p.x.min=d.target.x.min,p.x.max=p.x.min+y;const v=Lt(this.layout.layoutBox.y);p.y.min=d.target.y.min,p.y.max=p.y.min+v}ys(f,p),Ji(f,x),Nr(this.projectionDeltaWithTransform,this.layoutCorrected,f,x)}}registerSharedNode(d,f){this.sharedNodes.has(d)||this.sharedNodes.set(d,new VO),this.sharedNodes.get(d).add(f);const g=f.options.initialPromotionConfig;f.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(f):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){const{layoutId:d}=this.options;return d?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:d}=this.options;return d?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:f,preserveFollowOpacity:p}={}){const g=this.getStack();g&&g.promote(this,p),d&&(this.projectionDelta=void 0,this.needsReset=!0),f&&this.setOptions({transition:f})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let f=!1;const{latestValues:p}=d;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(f=!0),!f)return;const g={};p.z&&of("z",d,g,this.animationValues);for(let x=0;x<nf.length;x++)of(`rotate${nf[x]}`,d,g,this.animationValues),of(`skew${nf[x]}`,d,g,this.animationValues);d.render();for(const x in g)d.setStaticValue(x,g[x]),this.animationValues&&(this.animationValues[x]=g[x]);d.scheduleRender()}applyProjectionStyles(d,f){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=Pc(f?.pointerEvents)||"",d.transform=p?p(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=Pc(f?.pointerEvents)||""),this.hasProjected&&!Vn(this.latestValues)&&(d.transform=p?p({},""):"none",this.hasProjected=!1);return}d.visibility="";const x=g.animationValues||g.latestValues;this.applyTransformsToTarget();let y=qO(this.projectionDeltaWithTransform,this.treeScale,x);p&&(y=p(x,y)),d.transform=y;const{x:v,y:k}=this.projectionDelta;d.transformOrigin=`${v.origin*100}% ${k.origin*100}% 0`,g.animationValues?d.opacity=g===this?x.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:x.opacityExit:d.opacity=g===this?x.opacity!==void 0?x.opacity:"":x.opacityExit!==void 0?x.opacityExit:0;for(const j in Gr){if(x[j]===void 0)continue;const{correct:E,applyTo:N,isCSSVariable:O}=Gr[j],R=y==="none"?x[j]:E(x[j],g);if(N){const _=N.length;for(let Q=0;Q<_;Q++)d[N[Q]]=R}else O?this.options.visualElement.renderState.vars[j]=R:d[j]=R}this.options.layoutId&&(d.pointerEvents=g===this?Pc(f?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>d.currentAnimation?.stop()),this.root.nodes.forEach(vv),this.root.sharedNodes.clear()}}}function $O(e){e.updateLayout()}function KO(e){const s=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&s&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:l}=e.options,u=s.source!==e.layout.source;l==="size"?bs(x=>{const y=u?s.measuredBox[x]:s.layoutBox[x],v=Lt(y);y.min=n[x].min,y.max=y.min+v}):bS(l,s.layoutBox,n)&&bs(x=>{const y=u?s.measuredBox[x]:s.layoutBox[x],v=Lt(n[x]);y.max=y.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[x].max=e.relativeTarget[x].min+v)});const d=eo();Nr(d,n,s.layoutBox);const f=eo();u?Nr(f,e.applyTransform(o,!0),s.measuredBox):Nr(f,n,s.layoutBox);const p=!mS(d);let g=!1;if(!e.resumeFrom){const x=e.getClosestProjectingParent();if(x&&!x.resumeFrom){const{snapshot:y,layout:v}=x;if(y&&v){const k=st();Cr(k,s.layoutBox,y.layoutBox);const j=st();
vendor: 5,883 bytes, line 265
265Cr(j,n,v.layoutBox),gS(k,j)||(g=!0),x.options.layoutRoot&&(e.relativeTarget=j,e.relativeTargetOrigin=k,e.relativeParent=x)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:s,delta:f,layoutDelta:d,hasLayoutChanged:p,hasRelativeLayoutChanged:g})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function XO(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function WO(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ZO(e){e.clearSnapshot()}function vv(e){e.clearMeasurements()}function wv(e){e.isLayoutDirty=!1}function JO(e){const{visualElement:s}=e.options;s&&s.getProps().onBeforeLayoutMeasure&&s.notify("BeforeLayoutMeasure"),e.resetTransform()}function Sv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function eM(e){e.resolveTargetDelta()}function tM(e){e.calcProjection()}function sM(e){e.resetSkewAndRotation()}function aM(e){e.removeLeadSnapshot()}function kv(e,s,n){e.translate=Ke(s.translate,0,n),e.scale=Ke(s.scale,1,n),e.origin=s.origin,e.originPoint=s.originPoint}function jv(e,s,n,o){e.min=Ke(s.min,n.min,o),e.max=Ke(s.max,n.max,o)}function nM(e,s,n,o){jv(e.x,s.x,n.x,o),jv(e.y,s.y,n.y,o)}function iM(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const oM={duration:.45,ease:[.4,0,.1,1]},Ev=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Tv=Ev("applewebkit/")&&!Ev("chrome/")?Math.round:ks;function Nv(e){e.min=Tv(e.min),e.max=Tv(e.max)}function rM(e){Nv(e.x),Nv(e.y)}function bS(e,s,n){return e==="position"||e==="preserve-aspect"&&!fO(yv(s),yv(n),.2)}function lM(e){return e!==e.root&&e.scroll?.wasRoot}const cM=yS({attachResizeListener:(e,s)=>Ir(e,"resize",s),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rf={current:void 0},vS=yS({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rf.current){const e=new cM({});e.mount(window),e.setOptions({layoutScroll:!0}),rf.current=e}return rf.current},resetTransform:(e,s)=>{e.style.transform=s!==void 0?s:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),uM={pan:{Feature:CO},drag:{Feature:NO,ProjectionNode:vS,MeasureLayout:hS}};function Cv(e,s,n){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",n==="Start");const l="onHover"+n,u=o[l];u&&Qe.postRender(()=>u(s,Jr(s)))}class dM extends pn{mount(){const{current:s}=this.node;s&&(this.unmount=M8(s,(n,o)=>(Cv(this.node,o,"Start"),l=>Cv(this.node,l,"End"))))}unmount(){}}class hM extends pn{constructor(){super(...arguments),this.isActive=!1}onFocus(){let s=!1;try{s=this.node.current.matches(":focus-visible")}catch{s=!0}!s||!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=Xr(Ir(this.node.current,"focus",()=>this.onFocus()),Ir(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Av(e,s,n){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",n==="Start");const l="onTap"+(n==="End"?"":n),u=o[l];u&&Qe.postRender(()=>u(s,Jr(s)))}class fM extends pn{mount(){const{current:s}=this.node;s&&(this.unmount=_8(s,(n,o)=>(Av(this.node,o,"Start"),(l,{success:u})=>Av(this.node,l,u?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const op=new WeakMap,lf=new WeakMap,pM=e=>{const s=op.get(e.target);s&&s(e)},mM=e=>{e.forEach(pM)};function gM({root:e,...s}){const n=e||document;lf.has(n)||lf.set(n,{});const o=lf.get(n),l=JSON.stringify(s);return o[l]||(o[l]=new IntersectionObserver(mM,{root:e,...s})),o[l]}function xM(e,s,n){const o=gM(s);return op.set(e,n),o.observe(e),()=>{op.delete(e),o.unobserve(e)}}const yM={some:0,all:1};class bM extends pn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:s={}}=this.node.getProps(),{root:n,margin:o,amount:l="some",once:u}=s,d={root:n?n.current:void 0,rootMargin:o,threshold:typeof l=="number"?l:yM[l]},f=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,u&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:x,onViewportLeave:y}=this.node.getProps(),v=g?x:y;v&&v(p)};return xM(this.node.current,d,f)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:s,prevProps:n}=this.node;["amount","margin","root"].some(vM(s,n))&&this.startObserver()}unmount(){}}function vM({viewport:e={}},{viewport:s={}}={}){return n=>e[n]!==s[n]}const wM={inView:{Feature:bM},tap:{Feature:fM},focus:{Feature:hM},hover:{Feature:dM}},SM={layout:{ProjectionNode:vS,MeasureLayout:hS}},kM={...rO,...wM,...uM,...SM},wS=kR(kM,_R),Rv="#B8962E",vr={REEL:{bg:"#111111",text:"#B8962E"},"FEED POST":{bg:"#2C2C2C",text:"#FFFFFF"},CAROUSEL:{bg:"#4A3728",text:"#F5E6C8"},STORIES:{bg:"#B8962E",text:"#FFFFFF"},LIVE:{bg:"#8B1A1A",text:"#FFFFFF"},"STORIES + FEED":{bg:"#4A6741",text:"#FFFFFF"}},Ov={"PRE-LAUNCH":"#6B6560",SEED:"#6B6560",BUILD:"#B8962E",HEAT:"#B8962E",LAUNCH:"#111111",RELEASE:"#111111",CLOSE:"#4A7C59"},jM=[{day:"Day 1",phase:"SEED",energy:"Mysterious",content:[{time:"9:00 AM",type:"STORIES",title:"The first tease â 3 slides",detail
265:"Your first Stories sequence of the launch. Three slides, posted back to back. No feed post today â Stories only.",slides:[{slide:"Slide 1",what:"Extreme close-up of the work â texture, resin pour, brushwork. No text. Just the image.",sticker:void 0},{slide:"Slide 2",what:"Same image with 3â5 words of text only: 'Something is coming.' or 'Watch this space.'",sticker:void 0},{slide:"Slide 3",what:"Blank or studio background with a Question sticker: 'Can you guess what this is?'",sticker:"Question sticker â every reply is a warm lead you can DM on launch day"}],facebookAction:void 0},{time:"6:00 PM",type:"STORIES",title:"Evening reminder â 2 slides",detail:"A second Stories push in the evening to catch a different audience. Keep it short.",slides:[{slide:"Slide 1",what:"A different close-up detail of the work â different angle, different texture.",sticker:void 0},{slide:"Slide 2",what:"Text only: 'Something drops this week. Stay close.'",sticker:"Countdown sticker â set to your release day. Every 'Remind me' tap = buyer signal."}],facebookAction:void 0}]},{day:"Day 2",phase:"SEED",energy:"Personal",content:[{time:"10:00 AM",type:"REEL",title:"The origin Reel â post to feed",detail:"Your first feed content of the launch. A 30â45 second Reel showing the blank canvas/substrate through to the first layers. Fast-cut, music-driven. Caption: tell the story of why you made this piece â what feeling, memory, or place drove it. End with: 'Full reveal coming Friday.'",facebookAction:"Share this Reel directly to your Facebook Page with a slightly longer caption. Pin it."},{time:"10:30 AM",type:"STORIES",title:"Reshare the Reel â 3 slides",detail:"Immediately after posting the Reel, build a Stories sequence around it.",slides:[{slide:"Slide 1",what:"Reshare the Reel to Stories with text overlay: 'New work in progress â watch this.'",sticker:void 0},{slide:"Slide 2",what:"A still from the Reel with text: 'This piece started because...' and finish the sentence honestly.",sticker:void 0},{slide:"Slide 3",what:"Poll sticker slide.",sticker:"Poll sticker: 'Does this remind you of anything?' â trains the algorithm and warms your audience."}],facebookAction:void 0},{time:"7:00 PM",type:"STORIES",title:"Evening engagement â 2 slides",detail:"A short evening sequence to keep momentum.",slides:[{slide:"Slide 1",what:"Behind-the-scenes photo of your studio or your hands working. Raw, unpolished.",sticker:void 0},{slide:"Slide 2",what:"Text: 'This is what [X hours] of work looks like. Full reveal [day].'",sticker:"Slider sticker: 'How excited are you?' â engagement signals boost your reach."}],facebookAction:void 0}]},{day:"Day 3",phase:"BUILD",energy:"Anticipation",content:[{time:"9:00 AM",type:"STORIES",title:"Process reveal â 5 slides",detail:"The most important Stories sequence so far. Five slides showing the work evolving. Show your hands, tools, the mess. Real and unpolished. This is where collectors fall in love with the process.",slides:[{slide:"Slide 1",what:"Early stage of the work â raw, unfinished. Text: 'Day 1 of this piece.'",sticker:void 0},{slide:"Slide 2",what:"Mid-process shot. Text: 'Day 3. It started to speak.'",sticker:void 0},{slide:"Slide 3",what:"A close-up of a detail you love. Text: 'This part took 4 hours.'",sticker:void 0},{slide:"Slide 4",what:"You in the studio, working. Text: 'Almost there.'",sticker:void 0},{slide:"Slide 5",what:"Blank slide with text only: 'Full reveal [day]. Be here.'",sticker:"Countdown sticker â set to your exact release time. This is your most important sticker of the launch."}],facebookAction:"Post in your Facebook Group: 'I'm finishing something this week. This group gets first look 24 hours before it goes public.' â builds exclusivity."},{time:"6:00 PM",type:"STORIES",title:"Facebook Group drive â 2 slides",detail:"Drive your Instagram audience to your Facebook collector community.",slides:[{slide:"Slide 1",what:"Text: 'My Facebook collector group gets first access to this piece before it goes public. Join below.'",sticker:void 0},{slide:"Slide 2",what:"Link sticker to your Facebook Group.",sticker:"Link sticker â direct link to your Facebook Group. This is the Stories-to-Facebook bridge."}],facebookAction:void 0}]},{day:"Day 4",phase:"BUILD",energy:"Desire",content:[{time:"11:00 AM",type:"REEL",title:"Scale Reel â post to feed",detail
265:"A 15â20 second Reel: you holding the piece, placing it against a wall, or showing it in a room. Collectors need to understand scale before they buy. No price yet. Caption: 'Scale matters. This piece is [dimensions]. It would live well in a [room type].' End with: 'Available [day].'",facebookAction:"Share to your Facebook Page. Comment on it yourself: 'DM me or comment INTERESTED if you'd like first access.'"},{time:"11:30 AM",type:"STORIES",title:"Scale Stories â 4 slides",detail:"Build a Stories sequence immediately after the Reel goes live.",slides:[{slide:"Slide 1",what:"Reshare the scale Reel to Stories.",sticker:void 0},{slide:"Slide 2",what:"A photo of the piece next to a common object (chair, door, window) for scale reference.",sticker:void 0},{slide:"Slide 3",what:"Text: 'Where would you hang this?'",sticker:"Poll sticker: 'Living room' vs 'Bedroom' â every vote tells you how collectors see your work."},{slide:"Slide 4",what:"Text: 'This releases [day] at [time]. Set a reminder.'",sticker:"Countdown sticker â reinforce the release time."}],facebookAction:void 0},{time:"7:00 PM",type:"STORIES",title:"Evening warmth â 2 slides",detail:"A short, personal evening sequence.",slides:[{slide:"Slide 1",what:"A photo of the finished piece in your studio, slightly out of focus or at an angle. Not the full reveal yet.",sticker:void 0},{slide:"Slide 2",what:"Text: 'Tomorrow you see everything.'",sticker:void 0}],facebookAction:void 0}]},{day:"Day 5",phase:"HEAT",energy:"Full Reveal",content:[{time:"9:00 AM",type:"STORIES",title:"Morning tease â 3 slides",detail:"Build anticipation before the feed post goes live.",slides:[{slide:"Slide 1",what:"Text only: 'Today is the day.'",sticker:void 0},{slide:"Slide 2",what:"A close-up of the piece â the most beautiful detail. No full reveal yet.",sticker:void 0},{slide:"Slide 3",what:"Text: 'Full reveal in 1 hour. Stay here.'",sticker:"Countdown sticker â set to 1 hour from now."}],facebookAction:void 0},{time:"10:00 AM",type:"STORIES + FEED",title:"The full reveal â feed post + Stories sequence",detail:"Post the finished piece to your feed. Clean, well-lit, gallery-quality photo. Caption: what is it, what inspired it, what does owning it feel like. End with: 'Available tomorrow. DM me INTERESTED for first access.' Immediately follow with a Stories sequence.",slides:[{slide:"Slide 1",what:"The full piece â same image as the feed post. Text: 'It's here.'",sticker:void 0},{slide:"Slide 2",what:"A detail shot â the most beautiful part of the work.",sticker:void 0},{slide:"Slide 3",what:"You standing with the piece. Text: 'This one took [X weeks]. Here's what it means to me: [one sentence].'",sticker:void 0},{slide:"Slide 4",what:"Text: 'DM me the word INTERESTED if you want first access before it goes live tomorrow.'",sticker:"Question sticker: 'What's your first reaction?' â every reply is a warm lead."},{slide:"Slide 5",what:"Link sticker to your Facebook Group: 'My collector group gets the purchase link tonight. Join here.'",sticker:"Link sticker â Facebook Group link."}],facebookAction:"Post the full reveal to your Facebook Page AND Group simultaneously. In the Group: include the price. Pin the post. Message everyone who reacts with a heart."},{time:"7:00 PM",type:"STORIES",title:"Evening Facebook push â 3 slides",detail:"Drive your Instagram audience to Facebook for the exclusive early access.",slides:[{slide:"Slide 1",what:"Text: 'My Facebook collector group has the purchase link tonight â 24 hours before the public.'",sticker:void 0},{slide:"Slide 2",what:"Screenshot (blurred) of the Facebook Group post showing the piece and price.",sticker:void 0},{slide:"Slide 3",what:"Link sticker: 'Join the group to purchase tonight.'",sticker:"Link sticker â Facebook Group."}],facebookAction:"Reply to every comment in the Facebook Group tonight. Message anyone who comments 'HOLD' or 'INTERESTED' directly."}]},{day:"Day 6",phase:"RELEASE",energy:"Urgency",content:[{time:"9:00 AM",type:"STORIES",title:"Launch morning â 4 slides",detail:"The piece is now publicly available. Start the day with a strong Stories push.",slides:[{slide:"Slide 1",what:"Text: 'IT'S LIVE.' Bold. Clean. Nothing else.",sticker:void 0},{slide:"Slide 2",what:"The piece at its best angle. Text: '[Title] â [Medium] â [Dimensions]'",sticker:void 0},{slide:"Slide 3",what:"Link sticker to the purchase page.",sticker:"Link sticker â direct purchase link. This is your most important slide today."},{slide:"Slide 4",what:"Text: 'DM me any questions. I reply to everyone.'",sticker:void 0}],facebookAction:"Update your Facebook Page post with the public purchase link. Comment 'Now available to everyone â link in the post.'"},{time:"12:00 PM",type:"LIVE",title:"Instagram Live â 10 minutes",detail
265:"Go live for 10 minutes. Show the piece in natural light. Talk about it the way you'd show a collector in your studio â what you love about it, how it was made, where it would live. At the end, direct everyone to the purchase link in your bio or Facebook Page. Don't overthink it. Raw and real works better than polished.",facebookAction:"After the Live ends, post a clip from it to your Facebook Page with the purchase link."},{time:"12:30 PM",type:"STORIES",title:"Post-Live push â 3 slides",detail:"Immediately after the Live, post a Stories sequence.",slides:[{slide:"Slide 1",what:"Text: 'Just went live. If you missed it â here's the piece.'",sticker:void 0},{slide:"Slide 2",what:"The piece again. Link sticker to purchase.",sticker:"Link sticker â purchase link."},{slide:"Slide 3",what:"Text: 'Available until sold. DM me with any questions.'",sticker:void 0}],facebookAction:void 0},{time:"6:00 PM",type:"STORIES",title:"Evening urgency â 3 slides",detail:"A final push before the day ends.",slides:[{slide:"Slide 1",what:"Text: 'Still available. Not for long.'",sticker:void 0},{slide:"Slide 2",what:"The piece. Link sticker.",sticker:"Link sticker â purchase page."},{slide:"Slide 3",what:"Text: 'Last chance tomorrow. After that it's gone.'",sticker:void 0}],facebookAction:"Post in your Facebook Group: 'Still available tonight. DM me or comment HOLD to reserve.'"}]},{day:"Day 7",phase:"CLOSE",energy:"Proof",content:[{time:"9:00 AM",type:"STORIES",title:"Final day â 4 slides (if unsold)",detail:"If the piece is still available, this is your last push. If already sold, skip to the SOLD sequence below.",slides:[{slide:"Slide 1",what:"Text: 'Last day. This piece leaves my studio today or stays.'",sticker:void 0},{slide:"Slide 2",what:"The piece. Your best image.",sticker:void 0},{slide:"Slide 3",what:"Link sticker to purchase.",sticker:"Link sticker â purchase page."},{slide:"Slide 4",what:"Text: 'DM me if you have any questions. I'm here.'",sticker:void 0}],facebookAction:"Final post in Facebook Group: 'Last chance today. After today this piece is no longer available.'"},{time:"Any time",type:"STORIES",title:"SOLD sequence â 3 slides (post when sold)",detail:"The moment it sells, post this sequence immediately. This is your most powerful marketing content of the entire launch.",slides:[{slide:"Slide 1",what:"Text: 'SOLD.' Clean. Bold. Nothing else. Let it sit.",sticker:void 0},{slide:"Slide 2",what:"The piece with text: '[Title] has found its home in [City]. Thank you to my collector.'",sticker:void 0},{slide:"Slide 3",what:"Text: 'The next piece is already in progress. Follow to be first.'",sticker:"Countdown sticker â set to your next planned release date if you have one."}],facebookAction:"Update the Facebook Group and Page post with SOLD. Comment: 'Thank you to my collector in [City]. This group will get first access to the next piece.' â keeps the group warm and signals that your work moves."}]}],EM=[{day:"Week 1 â Day 1",phase:"PRE-LAUNCH",energy:"Announcement",content:[{time:"10:00 AM",type:"STORIES",title:"Collection announcement â 4 slides",detail:"No art shown yet. Just the name and the date. Mystery is the strategy.",slides:[{slide:"Slide 1",what:"Black or white background. Text only: 'A new collection is coming.'",sticker:void 0}
265,{slide:"Slide 2",what:"Text: '[Collection Name]. [Launch Date].'",sticker:void 0},{slide:"Slide 3",what:"Text: 'My Facebook collector community gets first access 24 hours before the public.'",sticker:void 0},{slide:"Slide 4",what:"Link sticker to your Facebook Group: 'Join here for early access.'",sticker:"Link sticker â Facebook Group. This is your first collector recruitment move."}],facebookAction:"Post in your Facebook Group: 'My new collection [Name] drops in 14 days. This group gets first access 24 hours before the public. Prices will be posted here first.' â pin this post."}]},{day:"Week 1 â Day 3",phase:"PRE-LAUNCH",energy:"Story",content:[{time:"10:00 AM",type:"CAROUSEL",title:"The collection story â carousel post",detail:"5â8 slide carousel. What is this collection about? What theme, emotion, or place connects all the pieces? Show your studio, reference images, mood board. Not the finished work yet. Caption: tell the full story of what inspired this collection.",facebookAction:"Share to Facebook Page with a longer written version of the collection story."},{time:"10:30 AM",type:"STORIES",title:"Collection story Stories â 4 slides",detail:"Build a Stories sequence around the carousel.",slides:[{slide:"Slide 1",what:"Reshare the carousel to Stories. Text: 'The story behind [Collection Name].'",sticker:void 0},{slide:"Slide 2",what:"A voice note slide or text: 'I've been working on this for [X] weeks. Here's what it's about: [one sentence].'",sticker:void 0},{slide:"Slide 3",what:"A studio photo â mood board, reference images, materials laid out.",sticker:"Question sticker: 'What does this collection make you feel?' â every answer is collector insight."},{slide:"Slide 4",what:"Text: 'Collection drops [date]. My Facebook group gets first access. Link below.'",sticker:"Link sticker â Facebook Group."}],facebookAction:void 0}]},{day:"Week 1 â Day 5",phase:"PRE-LAUNCH",energy:"Tease",content:[{time:"9:00 AM",type:"STORIES",title:"Piece 01 tease â 3 slides",detail:"First individual piece tease. Extreme close-up only â no full reveal.",slides:[{slide:"Slide 1",what:"Extreme close-up of Piece 01. No text. Just the texture.",sticker:void 0},{slide:"Slide 2",what:"Text: 'Piece 01 of [X]. [Collection Name].'",sticker:void 0},{slide:"Slide 3",what:"Text: 'Coming [date].'",sticker:"Question sticker: 'What does this remind you of?' â every answer tells you how collectors see your work."}],facebookAction:void 0},{time:"6:00 PM",type:"STORIES",title:"Evening Facebook push â 2 slides",detail:"End the day driving people to your collector community.",slides:[{slide:"Slide 1",what:"Text: 'My Facebook collector group gets prices and purchase links 24 hours before the public. Join below.'",sticker:void 0},{slide:"Slide 2",what:"Link sticker â Facebook Group.",sticker:"Link sticker â Facebook Group."}],facebookAction:"Post a teaser in the Facebook Group: 'Piece 01 of the collection. Your exclusive preview is coming on Day 8.' â keep the group warm."}]},{day:"Week 1 â Day 7",phase:"BUILD",energy:"Reach",content:[{time:"10:00 AM",type:"REEL",title:"Process Reel â post to feed",detail:"Your highest-reach content of the entire launch. A 30â60 second Reel showing one piece from blank substrate to finished work. Fast-cut, music-driven, satisfying. Caption: the story of that specific piece. End with: 'Full collection drops [date].' Consider boosting this Reel for $5/day for 3 days.",facebookAction:"Share to Facebook Page. Boost it targeting your local area + 'art collectors' interest. Even $10 total spend will significantly expand your reach."},{time:"10:30 AM",type:"STORIES",title:"Reel amplification â 4 slides",detail:"Build a Stories sequence to amplify the Reel.",slides:[{slide:"Slide 1",what:"Reshare the Reel to Stories. Text: 'New work. Watch this.'",sticker:void 0},{slide:"Slide 2",what:"Text: 'This is Piece 02 of [Collection Name]. It will be available [date].'",sticker:void 0},{slide:"Slide 3",what:"A still from the Reel â the most beautiful frame.",sticker:"Countdown sticker â set to your launch date."},{slide:"Slide 4",what:"Text: 'My Facebook group gets first access. Join below.'",sticker:"Link sticker â Facebook Group."}],facebookAction:void 0},{time:"6:00 PM",type:"STORIES",title:"Week 1 close â 2 slides",detail
265:"End the week with a simple, confident close.",slides:[{slide:"Slide 1",what:"Text: 'One week until [Collection Name] drops.'",sticker:void 0},{slide:"Slide 2",what:"Countdown sticker to launch day.",sticker:"Countdown sticker â this is your primary urgency tool for the next 7 days."}],facebookAction:void 0}]},{day:"Week 2 â Day 8",phase:"BUILD",energy:"Exclusivity",content:[{time:"9:00 AM",type:"STORIES",title:"Facebook exclusive preview â 4 slides (post 3x today)",detail:"This is the key Stories-to-Facebook move of the entire launch. Post this sequence in the morning, midday, and evening â three times today. Each time slightly different wording.",slides:[{slide:"Slide 1",what:"Text: 'Tonight at 7pm â my Facebook collector community gets a private preview of the full collection with prices.'",sticker:void 0},{slide:"Slide 2",what:"A blurred or partial image of one piece. Text: 'You'll see everything. Tonight. Facebook only.'",sticker:void 0},{slide:"Slide 3",what:"Text: 'This group gets 24-hour early access before the public.'",sticker:void 0},{slide:"Slide 4",what:"Link sticker: 'Join here before tonight.'",sticker:"Link sticker â Facebook Group. Post this sequence at 9am, 12pm, and 5pm today."}],facebookAction:"At 7pm: Post ALL pieces in the Facebook Group with titles, mediums, dimensions, and PRICES. 'These are available to this community 24 hours before the public. Comment HOLD [piece name] to reserve. I'll DM you with payment details.' Reply to every single comment tonight."}]},{day:"Week 2 â Day 9",phase:"BUILD",energy:"Desire",content:[{time:"9:00 AM",type:"STORIES",title:"Piece-by-piece reveal â one slide per piece",detail:"Post one Stories slide per piece in the collection. Just the title, medium, and size. No photos yet â let the list build anticipation. If you have 6 pieces, post 6 slides.",slides:[{slide:"Per piece",what:"Text: 'Piece 01: [Title]. [Medium]. [Dimensions].' Repeat for each piece.",sticker:"Poll sticker on each: 'Would this work in your home?' â every 'Yes' is a buyer. DM them directly."}],facebookAction:"Post the full collection list with prices in the Facebook Group. 'DM me or comment HOLD [piece name] to reserve. Payment details sent within 24 hours.'"},{time:"12:00 PM",type:"REEL",title:"Collection overview Reel â post to feed",detail:"A 45â60 second Reel showing all pieces together â a gallery-style walkthrough of the full collection. Each piece gets 5â8 seconds. Music-driven. Caption: collection name, number of pieces, price range, 'Available tomorrow. Link in bio.' This is your biggest feed post of the launch.",facebookAction:"Share to Facebook Page. This is your public announcement of the collection."},{time:"12:30 PM",type:"STORIES",title:"Collection Reel amplification â 4 slides",detail:"Build a Stories sequence around the collection Reel.",slides:[{slide:"Slide 1",what:"Reshare the Reel to Stories. Text: '[Collection Name] â dropping tomorrow.'",sticker:void 0},{slide:"Slide 2",what:"Text: '[X] pieces. [Price range]. Available [date].'",sticker:void 0},{slide:"Slide 3",what:"Text: 'My Facebook group has had early access since last night. Some pieces may already be reserved.'",sticker:void 0},{slide:"Slide 4",what:"Link sticker: 'Join the group to see what's still available.'",sticker:"Link sticker â Facebook Group. Scarcity drives action."}],facebookAction:void 0}]},{day:"Week 2 â Day 11",phase:"LAUNCH",energy:"Public Launch",content:[{time:"9:00 AM",type:"STORIES",title:"Launch morning â 5 slides",detail:"The collection is now publicly available. Start with a strong Stories sequence before the feed post.",slides:[{slide:"Slide 1",what:"Text: '[Collection Name] IS LIVE.'",sticker:void 0},{slide:"Slide 2",what:"Each piece individually â one slide per piece, your best image of each.",sticker:void 0},{slide:"Slide 3",what:"Text: '[X] pieces. [Price range]. Available now.'",sticker:void 0},{slide:"Slide 4",what:"Link sticker: 'Purchase via my Facebook Page or link in bio.'",sticker:"Link sticker â Facebook Page purchase post."},{slide:"Slide 5",what:"Text: 'DM me with any questions. I reply to everyone.'",sticker:void 0}],facebookAction:"Update your Facebook Page with the full collection post. Pin it. Add purchase links for each piece. This is your public checkout counter."},{time:"10:00 AM",type:"FEED POST",title:"Launch grid post â all pieces",detail
265:"Post a carousel of all pieces to your feed. One image per piece. Caption: collection name, number of pieces, price range, how to purchase. 'Link in bio.' This is your primary public launch post.",facebookAction:"Share to Facebook Page. Comment on it yourself: 'DM me or visit my Facebook Page to purchase.'"},{time:"12:00 PM",type:"LIVE",title:"Instagram Live â 15 minutes",detail:"Go live and walk through the full collection. Show each piece in natural light. Talk about it the way you'd show a collector in your studio. At the end: 'To purchase, visit my Facebook Page â link in bio.' This is your highest-converting content of the launch.",facebookAction:"After the Live, post a clip to your Facebook Page with purchase links."},{time:"6:00 PM",type:"STORIES",title:"Evening sold board â update as pieces sell",detail:"Post a SOLD slide every time a piece sells. Nothing creates urgency like watching a collection sell in real time.",slides:[{slide:"Per sale",what:"Text: 'SOLD â [Piece Title]. [City].' Post immediately each time a piece sells.",sticker:void 0},{slide:"Remaining",what:"Text: '[X] pieces still available. Link in bio.' Update the number as pieces sell.",sticker:"Link sticker â purchase page."}],facebookAction:"Comment 'SOLD â thank you to my collector in [City]' on the Facebook post for each piece. Update the post description with remaining available pieces."}]},{day:"Week 2 â Day 12",phase:"LAUNCH",energy:"Urgency",content:[{time:"9:00 AM",type:"STORIES",title:"Sold board momentum â 4 slides",detail:"Show what has sold and what remains. This is your most powerful urgency tool.",slides:[{slide:"Slide 1",what:"Text: 'Update on [Collection Name].' List what has sold with cities.",sticker:void 0},{slide:"Slide 2",what:"Text: '[X] pieces remaining. Here's what's still available.' List them.",sticker:void 0},{slide:"Slide 3",what:"Link sticker to purchase.",sticker:"Link sticker â purchase page."},{slide:"Slide 4",what:"Text: 'Collection closes [date]. After that these pieces are gone.'",sticker:"Countdown sticker â set to your collection close date."}],facebookAction:"Post an update in your Facebook Group: 'Update: [X] pieces sold. [X] remaining. Here's what's still available: [list with prices].' Reply to every comment."}]},{day:"Week 2 â Day 14",phase:"CLOSE",energy:"Gratitude",content:[{time:"10:00 AM",type:"FEED POST",title:"Collection close post",detail:"Post a final image: all sold pieces together, or the empty studio wall. Caption: '[Collection Name] â closed. Thank you to my collectors in [cities]. [X] of [X] pieces found homes.' This post becomes your social proof for the next launch.",facebookAction:"Post a thank-you to your Facebook Group: 'Thank you for being my first collectors. The next collection is already in progress. This group gets first access again.' Keep the group warm."},{time:"10:30 AM",type:"STORIES",title:"Close and forward â 4 slides",detail:"Close this launch and immediately plant the seed for the next one.",slides:[{slide:"Slide 1",what:"Text: '[Collection Name] is now closed. Thank you.'",sticker:void 0},{slide:"Slide 2",what:"A photo of all the sold pieces together, or the empty wall where they hung.",sticker:void 0},{slide:"Slide 3",what:"Text: 'Thank you to my collectors in [cities]. You make this possible.'",sticker:void 0},{slide:"Slide 4",what:"Text: 'The next collection is already in progress. Follow to be first.'",sticker:"Countdown sticker â if you know your next launch date, set it now. Start the cycle again."}],facebookAction:"Pin a new post in your Facebook Group: 'Next collection coming [date]. This group gets first access again.' The cycle begins immediately."}]}],TM=[{slide:"Slide 1",label:"The Hook",content:"One image or video that stops the scroll. Close-up, movement, or a bold statement. No more than 5 words of text.",example:"'Something is coming.' over a macro shot of resin."},{slide:"Slide 2",label:"The Story",content:"One sentence about why this piece exists. Personal, specific, honest. Not 'I painted this' â 'I made this after visiting my grandmother's house for the last time.'",example:"'I made this the week I moved studios. Every layer is a goodbye.'"},{slide:"Slide 3",label:"The Engagement",content:"A sticker that invites a response. Poll, Question, Slider, or Countdown. This trains the algorithm and identifies warm leads.",example:"Poll: 'Does this belong in a living room or a bedroom?' â every answer is a collector telling you where they'd put it."},{slide:"Slide 4",label:"The Direction",content:"Tell them exactly where to go next. 'Join my Facebook collector community for first access.' or 'Link in bio to purchase.' One clear action only.",example:"'My Facebook group gets 24-hour early access. Link in bio to join before launch day.'"}],NM=[{stage:"01",title:"Your Facebook Page",role:"Public storefront",actions:["Pin your latest collection or available work post","Add your purchase link to the About section","Post every piece that sells with the collector's city","Share all Instagram Reels here for additional reach"],tip:"Your Facebook Page is y
265our gallery window. Anyone can see it. Keep it clean, current, and collector-focused."},{stage:"02",title:"Your Facebook Collector Group",role:"Private VIP room",actions:["Invite your warmest Instagram followers to join","Give 24-hour early access to every new collection","Post prices and purchase links here before anywhere else","Do monthly live studio tours exclusively for group members"],tip:"This group is where your real collectors live. Treat it like a private view at a gallery â exclusive, personal, and worth being part of."},{stage:"03",title:"The Stories â Facebook Bridge",role:"The conversion move",actions:["Every launch Stories sequence ends with a Facebook Group link","Use the Link sticker to send directly to the group or page","Post 'Facebook exclusive preview tonight' on Stories the day before launch","After a sale, post 'SOLD' on Stories and direct followers to Facebook for remaining pieces"],tip:"Instagram builds the desire. Facebook closes the sale. Every Stories sequence should have one slide that drives to Facebook."}],CM=({children:e})=>r.jsx(wS.div,{"data-loc":"client/src/pages/LaunchPlanner.tsx:668",initial:{opacity:0,y:16},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.4,ease:[.22,1,.36,1]},children:e});function AM(){const[e,s]=w.useState(null),[n,o]=w.useState("sequence"),[l,u]=w.useState(null),d=e==="single"?jM:e==="collection"?EM:[],f=p=>{const g=[`${p.day} â ${p.energy}`,`Phase: ${p.phase}`,""];p.content.forEach(x=>{g.push(`[${x.time}] ${x.type} â ${x.title}`),g.push(x.detail),x.slides&&x.slides.forEach(y=>g.push(` ${y.slide}: ${y.what}`)),x.facebookAction&&g.push(`Facebook: ${x.facebookAction}`),g.push("")}),navigator.clipboard.writeText(g.join(` 266`)),eN.success("Day plan copied to clipboard")};return r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:704",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/LaunchPlanner.tsx:705"}),r.jsxs("section",{"data-loc":"client/src/pages/LaunchPlanner.tsx:708",className:"pt-32 pb-16 px-6 max-w-5xl mx-auto",children:[r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:709",className:"block w-8 h-px bg-[#B8962E] mb-6"}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:710",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#6B6560] mb-4",children:"Gallery of One â Launch Planner"}),r.jsxs("h1",{"data-loc":"client/src/pages/LaunchPlanner.tsx:713",className:"font-display text-6xl md:text-7xl font-light text-[#111111] leading-[1.05] mb-6",children:["Your Art",r.jsx("br",{"data-loc":"client/src/pages/LaunchPlanner.tsx:714"}),r.jsx("em",{"data-loc":"client/src/pages/LaunchPlanner.tsx:715",children:"Launch Sequence"})]}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:717",className:"font-body text-base text-[#6B6560] max-w-xl leading-relaxed",children:"A complete daily content schedule for launching a single piece or full collection. Every day shows exactly what to post, when to post it, how many Stories slides, what each slide does, and what to do on Facebook. Nothing left to guess."})]}),r.jsx("section",{"data-loc":"client/src/pages/LaunchPlanner.tsx:725",className:"px-6 max-w-5xl mx-auto pb-8",children:r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:726",className:"flex flex-wrap gap-3",children:Object.entries(vr).map(([p,g])=>r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:728",className:"font-body text-[10px] font-medium tracking-[0.1em] uppercase px-3 py-1.5",style:{backgroundColor:g.bg,color:g.text},children:p},p))})}),!e&&r.jsxs("section",{"data-loc":"client/src/pages/LaunchPlanner.tsx:741",className:"px-6 max-w-5xl mx-auto pb-24",children:[r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:742",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#6B6560] mb-8",children:"What are you launching?"}),r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:745",className:"grid md:grid-cols-2 gap-6",children:[r.jsxs("button",{"data-loc":"client/src/pages/LaunchPlanner.tsx:746",onClick:()=>
266s("single"),className:"group text-left border-2 border-[#E8E6E1] hover:border-[#111111] transition-all duration-300 p-10",children:[r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:750",className:"flex items-start justify-between mb-8",children:[r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:751",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E]",children:"7-Day Plan"}),r.jsx("svg",{"data-loc":"client/src/pages/LaunchPlanner.tsx:752",className:"w-5 h-5 text-[#C5C2BC] group-hover:text-[#111111] transition-colors",fill:"none",stroke:"currentColor",strokeWidth:"1.5",viewBox:"0 0 24 24",children:r.jsx("path",{"data-loc":"client/src/pages/LaunchPlanner.tsx:753",strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]}),r.jsxs("h2",{"data-loc":"client/src/pages/LaunchPlanner.tsx:756",className:"font-display text-4xl font-light text-[#111111] mb-4",children:["Single Piece",r.jsx("br",{"data-loc":"client/src/pages/LaunchPlanner.tsx:756"}),r.jsx("em",{"data-loc":"client/src/pages/LaunchPlanner.tsx:756",children:"Launch"})]}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:757",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"A focused 7-day sequence for launching one original work. Multiple Stories sequences per day, Reels, a Live, and a complete Facebook strategy. Every post time and slide specified."}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:761",className:"mt-8 flex gap-2 flex-wrap",children:["Reels","Stories","Live","Facebook"].map(p=>r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:763",className:"font-body text-xs px-3 py-1 border border-[#E8E6E1] text-[#6B6560]",children:p},p))})]}),r.jsxs("button",{"data-loc":"client/src/pages/LaunchPlanner.tsx:768",onClick:()=>s("collection"),className:"group text-left border-2 border-[#E8E6E1] hover:border-[#111111] transition-all duration-300 p-10",children:[r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:772",className:"flex items-start justify-between mb-8",children:[r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:773",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E]",children:"14-Day Plan"}),r.jsx("svg",{"data-loc":"client/src/pages/LaunchPlanner.tsx:774",className:"w-5 h-5 text-[#C5C2BC] group-hover:text-[#111111] transition-colors",fill:"none",stroke:"currentColor",strokeWidth:"1.5",viewBox:"0 0 24 24",children:r.jsx("path",{"data-loc":"client/src/pages/LaunchPlanner.tsx:775",strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"})})]}),r.jsxs("h2",{"data-loc":"client/src/pages/LaunchPlanner.tsx:778",className:"font-display text-4xl font-light text-[#111111] mb-4",children:["Collection",r.jsx("br",{"data-loc":"client/src/pages/LaunchPlanner.tsx:778"}),r.jsx("em",{"data-loc":"client/src/pages/LaunchPlanner.tsx:778",children:"Launch"})]}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:779",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"A 14-day sequence for launching a full collection. Carousels, Process Reels, multiple daily Stories sequences, a Live, and a Facebook Group exclusive preview strategy."}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:783",className:"mt-8 flex gap-2 flex-wrap",children:["Carousels","Reels","Stories","Live","Facebook"].map(p=>r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:785",className:"font-body text-xs px-3 py-1 border border-[#E8E6E1] text-[#6B6560]",children:p},p))})]})]})]}),e&&r.jsx(L1,{"data-loc":"client/src/pages/LaunchPlanner.tsx:795",mode:"wait",children:r.jsx(CM,{"data-loc":"client/src/pages/LaunchPlanner.tsx:796",children:r.jsxs("section",{"data-loc":"client/src/pages/LaunchPlanner.tsx:797",className:"px-6 max-w-5xl mx-auto pb-24",children:[r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:800",className:"flex items-center justify-between mb-10",children:[r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:801",children:[r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:802",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E]",children:e==="single"?"7-Day Single Piece Launch":"14-Day Collection Launch"}),r.jsx("h2",{"data-loc":"client/src/pages/LaunchPlanner.tsx:805",className:"font-display text-3xl font-light text-[#111111] mt-1",children:"Your launch sequence"})]}),r.jsx("button",{"data-loc":"client/src/pages/LaunchPlanner.tsx:807",onClick:()=>{s(null),o("sequence"),u(null)},className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] border border-[#
266E8E6E1] px-4 py-2 hover:border-[#111111] transition-all",children:"â Change mode"})]}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:816",className:"flex border-b border-[#E8E6E1] mb-10",children:["sequence","stories","facebook"].map(p=>r.jsx("button",{"data-loc":"client/src/pages/LaunchPlanner.tsx:818",onClick:()=>o(p),className:`font-body text-xs font-medium tracking-[0.12em] uppercase px-6 py-4 border-b-2 transition-all ${n===p?"border-[#111111] text-[#111111]":"border-transparent text-[#9B9590] hover:text-[#111111]"}`,children:p==="sequence"?"Day-by-Day Sequence":p==="stories"?"Stories Formula":"Facebook Funnel"},p))}),n==="sequence"&&r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:832",className:"space-y-0",children:d.map((p,g)=>r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:834",className:"border border-[#E8E6E1] border-b-0 last:border-b",children:[r.jsxs("button",{"data-loc":"client/src/pages/LaunchPlanner.tsx:836",onClick:()=>u(l===g?null:g),className:"w-full text-left grid grid-cols-[100px_1fr_auto] gap-0 hover:bg-[#FAFAF8] transition-colors",children:[r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:840",className:"bg-[#111111] flex flex-col items-center justify-center p-4 min-h-[80px]",children:[r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:841",className:"font-body text-[10px] font-medium tracking-[0.1em] uppercase text-white/50 mb-1",children:p.day.includes("Week")?p.day.split("â")[0].trim():""}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:844",className:"font-body text-xs font-medium text-white text-center leading-tight",children:p.day.includes("â")?p.day.split("â")[1].trim():p.day}),r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:847",className:"mt-2 font-body text-[9px] font-medium tracking-[0.1em] uppercase px-2 py-0.5",style:{color:Ov[p.phase]||Rv,backgroundColor:`${Ov[p.phase]}20`},children:p.phase})]}),r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:854",className:"p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:855",className:"font-body text-xs text-[#9B9590] mb-1",children:p.energy}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:857",className:"flex flex-wrap gap-2 mt-2",children:p.content.map((x,y)=>r.jsxs("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:859",className:"font-body text-[9px] font-medium tracking-[0.08em] uppercase px-2 py-1",style:{backgroundColor:vr[x.type]?.bg||"#111",color:vr[x.type]?.text||"#fff"},children:[x.time," â ",x.type]},y))})]}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:869",className:"flex items-center pr-6",children:r.jsx("svg",{"data-loc":"client/src/pages/LaunchPlanner.tsx:870",className:`w-4 h-4 text-[#9B9590] transition-transform duration-200 ${l===g?"rotate-180":""}`,fill:"none",stroke:"currentColor",strokeWidth:"2",viewBox:"0 0 24 24",children:r.jsx("path",{"data-loc":"client/src/pages/LaunchPlanner.tsx:874",strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})})]}),r.jsx(L1,{"data-loc":"client/src/pages/LaunchPlanner.tsx:880",children:l===g&&r.jsx(wS.div,{"data-loc":"client/src/pages/LaunchPlanner.tsx:882",initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:[.22,1,.36,1]},className:"overflow-hidden",children:r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:889",className:"bg-[#FAFAF8] border-t border-[#E8E6E1]",children:[p.content.map((x,y)=>r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:891",className:`px-6 py-8 ${y<p.content.length-1?"border-b border-[#E8E6E1]":""}`,children:[r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:893",className:"flex items-center gap-4 mb-5",children:[r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:894",className:"font-body text-[10px] font-medium tracking-[0.1em] uppercase px-3 py-1.5 flex-shrink-0",style:{backgroundColor:vr[x.type]?.bg||"#111",color:vr[x.type]?.text||"#fff"},children:x.type}),r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:900",className:"font-body text-xs font-medium text-[#B8962E] tracking-[0.08em]",children:x.time}),r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:901",className:"font-display text-lg font-light text-[#111111]",children:x.title})]}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:905",className:"font-body text-sm text-[#3D3A35] leading-relaxed mb-6 max-w-2xl",children:x.detail}),x.slides&&x.slides.length>0&&r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:911",className:"mb-6",children:[r.jsxs("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:912",className:"font-body text-[10px] font-medium tracking-[0.12em] uppercase text-[#111111] mb-3",children:["Stories slides â ",x.slides.length," slide",x.slides.length>
2661?"s":""]}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:915",className:"space-y-2",children:x.slides.map((v,k)=>r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:917",className:"grid grid-cols-[80px_1fr] gap-0 border border-[#E8E6E1]",children:[r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:918",className:"bg-[#B8962E] flex items-center justify-center p-3",children:r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:919",className:"font-body text-[10px] font-medium text-white text-center leading-tight",children:v.slide})}),r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:921",className:"p-3 bg-white",children:[r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:922",className:"font-body text-sm text-[#3D3A35] leading-relaxed",children:v.what}),v.sticker&&r.jsxs("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:924",className:"font-body text-xs text-[#B8962E] mt-1.5 italic",children:["â
",v.sticker]})]})]},k))})]}),x.facebookAction&&r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:937",className:"bg-[#111111] p-5",children:[r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:938",className:"font-body text-[10px] font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-2",children:"Facebook action"}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:941",className:"font-body text-sm text-white/80 leading-relaxed",children:x.facebookAction})]})]},y)),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:950",className:"px-6 pb-6 flex justify-end",children:r.jsxs("button",{"data-loc":"client/src/pages/LaunchPlanner.tsx:951",onClick:()=>f(p),className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] border border-[#E8E6E1] px-4 py-2 hover:border-[#111111] hover:text-[#111111] transition-all flex items-center gap-2",children:[r.jsxs("svg",{"data-loc":"client/src/pages/LaunchPlanner.tsx:955",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[r.jsx("rect",{"data-loc":"client/src/pages/LaunchPlanner.tsx:956",x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),r.jsx("path",{"data-loc":"client/src/pages/LaunchPlanner.tsx:957",d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),"Copy this day's full plan"]})})]})})})]},g))}),n==="stories"&&r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:973",children:[r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:974",className:"mb-10",children:[r.jsx("h3",{"data-loc":"client/src/pages/LaunchPlanner.tsx:975",className:"font-display text-3xl font-light text-[#111111] mb-3",children:"The 4-Slide Stories Formula"}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:976",className:"font-body text-sm text-[#6B6560] max-w-xl leading-relaxed",children:"Every Stories sequence in your launch follows this structure. Four slides. Each one has a job. Together they move a viewer from curious to collector."})]}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:981",className:"grid md:grid-cols-2 gap-6 mb-12",children:TM.map((p,g)=>r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:983",className:"border border-[#E8E6E1] p-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:984",className:"flex items-center gap-4 mb-6",children:[r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:985",className:"w-10 h-10 bg-[#111111] flex items-center justify-center flex-shrink-0",children:r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:986",className:"font-body text-xs font-medium text-[#B8962E]",children:g+1})}),r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:988",children:[r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:989",className:"font-body text-[10px] font-medium tracking-[0.12em] uppercase text-[#B8962E]",children:p.slide}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:990",className:"font-display text-xl font-light text-[#111111]",children:p.label})]})]}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:993",className:"font-body text-sm text-[#3D3A35] leading-relaxed mb-4",children:p.content}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:994",className:"bg-[#FAFAF8] border-l-2 border-[#B8962E] pl-4 py-3",children:r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:995",className:"font-body text-xs text-[#6B6560] italic leading-relaxed",children:p.example})})]},g))}),r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1000",className:"bg-[#111111] p-10",children:[r.jsx("h4",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1001",className:"font-display text-2xl font-light text-white mb-8",children:"Stories stickers that drive sales"}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1002",className:"grid md:grid-cols-3 gap-8",children:[{title:"Countdown sticker",desc:"Set it to your launch date. Every person who taps 'Remind me' is a buyer. You can see who they are â DM them the day before launch."},{title:"Question sticker",desc:"Ask 'What does this remind you of?' or 'Where would you hang this?' Every reply is a warm lead. Respond to all of them."},{title:"Link sticker",desc:"Every launch Stories sequence ends with a link sticker to your Facebook Group or purchase page. One clear action. No confusion."},{title:"Close Friends list",desc:"Add your top 50 engagers to Close Friends. Send them early access Stories 24 hours before the public. They feel special. They buy."},{title:"Poll sticker",desc:"'Does this belong in a living room or bedroom?' Every vote trains the algorithm and tells you how collectors see your work."},{title:"SOLD slide",desc:"When a piece sells, post a SOLD Stories slide with the collector's city. This is your most powerful marketing. It proves people buy your work."}].map((p,g)=>r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1011",children:[r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1012",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#B8962E] mb-2",children:p.title}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1013",className:"font-body text-sm text-white/70 leading-relaxed",children:p.desc})]},g))})]})]}),n==="facebook"&&r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1023",children:[r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1024",className:"mb-10",children:[r.jsx("h3",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1025",className:"font-display text-3xl font-light text-[#111111] mb-3",children:"The Instagram â Facebook Funnel"}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1026",className:"font-body text-sm text-[#6B6560] max-w-xl leading-relaxed",children:"Instagram builds desire. Facebook closes the sale. Here is exactly how the two platforms work together in your launch â and what to post on each."})]}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1031",className:"space-y-6 mb-12",children:NM.map((p,g)=>r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1033",className:"grid md:grid-cols-[80px_1fr] gap-0 border border-[#
266E8E6E1]",children:[r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1034",className:"bg-[#111111] flex items-center justify-center p-6",children:r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1035",className:"font-display text-3xl font-light text-[#B8962E]",children:p.stage})}),r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1037",className:"p-8",children:[r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1038",className:"font-body text-[10px] font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-1",children:p.role}),r.jsx("h4",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1039",className:"font-display text-2xl font-light text-[#111111] mb-4",children:p.title}),r.jsx("ul",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1040",className:"space-y-2 mb-6",children:p.actions.map((x,y)=>r.jsxs("li",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1042",className:"flex items-start gap-3",children:[r.jsx("span",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1043",className:"w-1 h-1 rounded-full bg-[#B8962E] mt-2 flex-shrink-0"}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1044",className:"font-body text-sm text-[#3D3A35] leading-relaxed",children:x})]},y))}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1048",className:"bg-[#FAFAF8] border-l-2 border-[#B8962E] pl-4 py-3",children:r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1049",className:"font-body text-xs text-[#6B6560] italic leading-relaxed",children:p.tip})})]})]},g))}),r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1055",className:"border border-[#E8E6E1] p-10",children:[r.jsx("h4",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1056",className:"font-display text-2xl font-light text-[#111111] mb-2",children:"Facebook Collector Group â Setup Checklist"}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1057",className:"font-body text-sm text-[#6B6560] mb-8",children:"Your Facebook Group is your most valuable sales asset. Set it up once, use it for every launch."}),r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1058",className:"grid md:grid-cols-2 gap-4",children:["Name it: '[Your Name] Collector Community' or '[Your Name] Art Releases'","Set it to Private â exclusivity is the point","Write a pinned welcome post explaining what members get (early access, behind-the-scenes, first look)","Add a cover photo of your best-selling piece","Set up a membership question: 'What type of art are you drawn to?'","Post once a week minimum â studio updates, works in progress, sold pieces","Every launch: post prices and purchase links here 24 hours before Instagram","After each sale: post 'SOLD â thank you to my collector in [City]'"].map((p,g)=>r.jsxs("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1069",className:"flex items-start gap-3 py-3 border-b border-[#E8E6E1] last:border-0",children:[r.jsx("div",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1070",className:"w-5 h-5 border border-[#E8E6E1] flex items-center justify-center flex-shrink-0 mt-0.5",children:r.jsx("svg",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1071",width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:Rv,strokeWidth:"3",children:r.jsx("path",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1072",strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),r.jsx("p",{"data-loc":"client/src/pages/LaunchPlanner.tsx:1075",className:"font-body text-sm text-[#3D3A35] leading-relaxed",children:p})]},g))})]})]})]})},e)}),r.jsx(ut,{"data-loc":"client/src/pages/LaunchPlanner.tsx:1087"})]})}const va={day1:[{id:"d1-1",text:"Take the Artist Stage Quiz to find your starting module",link:"/quiz",linkLabel:"Take the Quiz"},{id:"d1-2",text:"Read your quiz result and open your recommended module",link:"/module/1",linkLabel:"Go to Curriculum"},{id:"d1-3",text:"Run your first artwork through the Art Pricing Calculator",link:"/tools",linkLabel:"Open Calculator"},{id:"d1-4",text:"Set up your Facebook Page (follow the guide below)"},{id:"d1-5",text:"Update your Instagram bio to direct people to your Facebook Page"}],week1:[{id:"w1-1",text:"Complete Module 01 â Your Artist Brand & Positioning",link:"/module/1",linkLabel:"Module 01"},{id:"w1-2",text:"Complete Module 02 â Pricing Your Work",link:"/module/2",linkLabel:"Module 02"},{id:"w1-3",text:"Price every piece in your current inventory using the calculator",link:"/tools",linkLabel:"Pricing Calculator"},{id:"w1-4",text:"Post your first 3 Instagram Stories using the 4-Slide Formula",link:"/instagram",linkLabel:"Instagram Playbook"},{id:"w1-5",text:"Make your first Facebook Page post â introduce yourself and your work"},{id:"w1-6",text:"Build your first Reel using the Reel Builder",link:"/reels",linkLabel:"Reel Builder"}],month1:[{id:"m1-1",text:"Complete all 7 modules",link:"/module/1",linkLabel:"Start Module 01"},{id:"m1-2",text:"Run your first 7-Day Single Piece Launch",link:"/launch",linkLabel:"Launch Planner"},{id:"m1-3",text:"Post a minimum of 4 Reels using the Reel Builder hooks",link:"/reels",linkLabel:"Reel Builder"},{id:"m1-4",text:"Build your Collector Funnel using the Funnel Builder",link:"/tools",linkLabel:"Funnel Builder"},{id:"m1-5",text:"Generate your first 5 captions using the Caption Generator",link:"/captions",linkLabel:"Caption Generator"},{id:"m1-6",text:"Have at least 1 collector DM conversation â use the DM framework from Module 06",link:"/module/6",linkLabel:"Module 06"}]},cf=[{number:"01",title:"Create your Facebook Page",body:"Go to facebook.com/pages/create. Choose 'Artist' as your category. Your Page name should match your Instagram handle exactly â consistency builds trust. For example: Aga Art Studio."},{number:"02",title:"Write your Page bio",body:"Keep it to two sentences. First sentence: what you make and what medium. Second sentence: where collectors can buy. Example: 'Original resin and mixed media works. New releases drop here first â follow the page to be notified.'"},{number:"03",title:"Add your cover photo",body:"Use a high-quality image of your best recent work â not a portrait of yourself. The cover photo is the first thing a collector sees. Make it the art. Change it every time you have a new collection."},{number:"04",title:"Pin a welcome post",body:"Write a short post explaining what this page is for: 'This is where I release new work first. Collectors who follow this page get first access before anything goes public. Follow to stay in the room.' Pin it to the top of your page."},{number:"05",title:"Set up your Facebook Group (optional but powerful)",body:"Create a private group called '[Your Name] Collector Community' or '[Your Name] Studio Access'. Invite followers from your Page. This is your inner circle â where you share work in progress, early access, and behind-the-scenes. Collectors who join feel ownership. That feeling drives sales."},{number:"06",title:"Link Instagram to your Facebook Page",body:"In Instagram Settings â Linked A
266ccounts â connect to your Facebook Page. Every Instagram post can now be shared to your Page automatically. More importantly, your Instagram Stories can include a 'Follow on Facebook' sticker directing your warmest audience to your Page."},{number:"07",title:"Direct every Instagram Story to your Facebook Page",body:"At least once per week, add a Stories slide that says: 'New work drops on my Facebook Page first. Link in bio.' Use the Link sticker pointing to your Facebook Page URL. This is the single most important traffic move in the entire system."}],RM=[{icon:r.jsx(d4,{"data-loc":"client/src/pages/StartHere.tsx:76",size:18}),name:"Artist Stage Quiz",desc:"Start here â find your entry point",href:"/quiz"},{icon:r.jsx(j4,{"data-loc":"client/src/pages/StartHere.tsx:77",size:18}),name:"Art Pricing Calculator",desc:"Price every piece correctly from day one",href:"/tools"},{icon:r.jsx(f4,{"data-loc":"client/src/pages/StartHere.tsx:78",size:18}),name:"Reel Builder",desc:"Build Reels that drive 'how much?' comments",href:"/reels"},{icon:r.jsx(h4,{"data-loc":"client/src/pages/StartHere.tsx:79",size:18}),name:"Art Launch Planner",desc:"Day-by-day launch sequence for pieces and collections",href:"/launch"},{icon:r.jsx(t1,{"data-loc":"client/src/pages/StartHere.tsx:80",size:18}),name:"Caption Generator",desc:"Captions written in your own voice",href:"/captions"},{icon:r.jsx(Ow,{"data-loc":"client/src/pages/StartHere.tsx:81",size:18}),name:"Collector Funnel Builder",desc:"Map your collector journey from stranger to buyer",href:"/tools"},{icon:r.jsx(t1,{"data-loc":"client/src/pages/StartHere.tsx:82",size:18}),name:"Instagram Playbook",desc:"Content pillars, weekly plan, and profile optimisation",href:"/instagram"},{icon:r.jsx(zf,{"data-loc":"client/src/pages/StartHere.tsx:83",size:18}),name:"Facebook Strategy Guide",desc:"Page setup, Group strategy, and Live video system",href:"/facebook"}];function uf({item:e,checked:s,onToggle:n}){return r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:88",className:`flex items-start gap-4 p-4 rounded border transition-all duration-200 cursor-pointer group ${s?"bg-[#F9F7F4] border-[#B8962E]/30":"bg-white border-[#E8E6E1] hover:border-[#B8962E]/40"}`,onClick:n,children:[r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:94",className:"mt-0.5 flex-shrink-0",children:s?r.jsx(g4,{"data-loc":"client/src/pages/StartHere.tsx:96",size:20,className:"text-[#B8962E]"}):r.jsx(x4,{"data-loc":"client/src/pages/StartHere.tsx:98",size:20,className:"text-[#C8C4BE] group-hover:text-[#B8962E] transition-colors"})}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:101",className:"flex-1 min-w-0",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:102",className:`font-body text-sm leading-relaxed transition-colors ${s?"text-[#9B9590] line-through":"text-[#111111]"}`,children:e.text}),e.link&&!s&&r.jsx(Ee,{"data-loc":"client/src/pages/StartHere.tsx:106",href:e.link,children:r.jsxs("span",{"data-loc":"client/src/pages/StartHere.tsx:107",className:"inline-flex items-center gap-1 mt-2 font-body text-xs font-medium text-[#B8962E] hover:text-[#8A6E1E] transition-colors cursor-pointer",onClick:o=>o.stopPropagation(),children:[e.linkLabel," ",r.jsx(Aw,{"data-loc":"client/src/pages/StartHere.tsx:111",size:12})]})})]})]})}function OM(){const[e,s]=w.useState({}),n=l=>{s(u=>({...u,[l]:!u[l]}))},o=l=>l.filter(u=>e[u.id]).length;return r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:131",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/StartHere.tsx:132"}),r.jsx("section",{"data-loc":"client/src/pages/StartHere.tsx:135",className:"pt-32 pb-16 border-b border-[#E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:136",className:"container max-w-4xl",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:137",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-4",children:"Welcome to Gallery of One"}),r.jsxs("h1",{"data-loc":"client/src/pages/StartHere.tsx:140",className:"font-display text-5xl md:text-7xl font-light text-[#111111] leading-[0.95] mb-8",children:["Start",r.jsx("br",{"data-loc":"client/src/pages/StartHere.tsx:141"}),r.jsx("em",{"data-loc":"client/src/pages/StartHere.tsx:141",className:"italic",children:"Here."})]}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:143",className:"font-body text-lg text-[#6B6560] leading-relaxed max-w-2xl",children:"This page is your orientation. Before you open a single module, read this. It tells you exactly what to do on Day 1, what to build in Week 1, and how to use every tool in this programme to its maximum."}),r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:146",className:"mt-8 p-6 bg-[#F9F7F4] border-l-2 border-[#B8962E]",children:r.jsxs("p",{"data-loc":"client/src/pages/StartHere.tsx:147",className:"font-body text-sm text-[#111111] leading-relaxed",children:[r.jsx("strong",{"data-loc":"client/src/pages/StartHere.tsx:148",className:"font-semibold",children:"The core idea behind Gallery of One:"})," A gallery does five things for an artist â it positions their work, prices it correctly, photographs it professionally, builds a collector base, and creates demand through events and releases. This programme teaches you to do all five yourself. Instagram builds the audience. Facebook is where the sales happen."]})})]})}),r.jsx("section",{"data-loc":"client/src/pages/StartHere.tsx:155",className:"py-16 border-b border-[#
266E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:156",className:"container max-w-4xl",children:[r.jsx("h2",{"data-loc":"client/src/pages/StartHere.tsx:157",className:"font-display text-3xl font-light text-[#111111] mb-2",children:"Your Tools"}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:158",className:"font-body text-sm text-[#6B6560] mb-10",children:"Eight tools are inside this programme. Here is what each one does and when to use it."}),r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:159",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:RM.map(l=>r.jsx(Ee,{"data-loc":"client/src/pages/StartHere.tsx:161",href:l.href,children:r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:162",className:"flex items-start gap-4 p-5 border border-[#E8E6E1] hover:border-[#B8962E]/50 hover:bg-[#F9F7F4] transition-all duration-200 cursor-pointer group rounded",children:[r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:163",className:"mt-0.5 text-[#B8962E] flex-shrink-0",children:l.icon}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:164",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:165",className:"font-body text-sm font-semibold text-[#111111] group-hover:text-[#B8962E] transition-colors",children:l.name}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:166",className:"font-body text-xs text-[#6B6560] mt-0.5",children:l.desc})]}),r.jsx(Aw,{"data-loc":"client/src/pages/StartHere.tsx:168",size:14,className:"ml-auto mt-0.5 text-[#C8C4BE] group-hover:text-[#B8962E] transition-colors flex-shrink-0"})]})},l.href+l.name))})]})}),r.jsx("section",{"data-loc":"client/src/pages/StartHere.tsx:177",className:"py-16 border-b border-[#E8E6E1] bg-[#F9F7F4]",children:r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:178",className:"container max-w-4xl",children:[r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:179",className:"flex items-center gap-3 mb-2",children:[r.jsx(zf,{"data-loc":"client/src/pages/StartHere.tsx:180",size:20,className:"text-[#B8962E]"}),r.jsx("h2",{"data-loc":"client/src/pages/StartHere.tsx:181",className:"font-display text-3xl font-light text-[#111111]",children:"Why Facebook â and why you cannot skip it"})]}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:183",className:"font-body text-sm text-[#6B6560] mb-10 max-w-2xl",children:"Most artists skip this step. That is why most artists don't sell consistently. Read this before you set anything up."}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:187",className:"grid grid-cols-1 md:grid-cols-3 gap-px bg-[#E8E6E1] mb-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:188",className:"bg-white p-7",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:189",className:"font-body text-xs font-semibold tracking-[0.12em] uppercase text-[#B8962E] mb-3",children:"The Instagram problem"}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:190",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"When you post on Instagram, the algorithm decides who sees it. On average, only 3â8% of your followers see any given post. Post a new piece to 2,000 followers â maybe 80 people see it. The rest never know it existed."})]}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:194",className:"bg-white p-7",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:195",className:"font-body text-xs font-semibold tracking-[0.12em] uppercase text-[#B8962E] mb-3",children:"How Facebook is different"}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:196",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"When someone follows your Facebook Page and turns on notifications, they get a direct alert every time you post â like a text message. For a collector who wants to buy, this is the difference between missing a release and being first in line."})]}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:200",className:"bg-white p-7",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:201",className:"font-body text-xs font-semibold tracking-[0.12em] uppercase text-[#B8962E] mb-3",children:"Who your buyer actually is"}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:202",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:"The collector spending $1,000â$5,000 on original art is typically 35â65
266years old. That demographic is far more active on Facebook than Instagram. Instagram is where they discover you. Facebook is where they buy."})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:208",className:"bg-[#111111] p-8",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:209",className:"font-body text-xs font-semibold tracking-[0.12em] uppercase text-[#B8962E] mb-3",children:"The system in one sentence"}),r.jsxs("p",{"data-loc":"client/src/pages/StartHere.tsx:210",className:"font-display text-2xl md:text-3xl font-light text-white leading-snug mb-4",children:["Instagram builds desire.",r.jsx("em",{"data-loc":"client/src/pages/StartHere.tsx:212",className:"text-[#B8962E]",children:" Facebook closes the sale."})]}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:214",className:"font-body text-sm text-white/60 leading-relaxed max-w-2xl",children:"Every Story you post on Instagram has one job: move your warmest followers to your Facebook Page. Over time, the people who make that move are self-selecting as your most serious buyers. They took an action. That is your collector list."})]})]})}),r.jsx("section",{"data-loc":"client/src/pages/StartHere.tsx:222",className:"py-16 border-b border-[#E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:223",className:"container max-w-4xl",children:[r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:224",className:"flex items-center gap-3 mb-2",children:[r.jsx(zf,{"data-loc":"client/src/pages/StartHere.tsx:225",size:20,className:"text-[#B8962E]"}),r.jsx("h2",{"data-loc":"client/src/pages/StartHere.tsx:226",className:"font-display text-3xl font-light text-[#111111]",children:"Setting Up Your Facebook Page"})]}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:228",className:"font-body text-sm text-[#6B6560] mb-10 max-w-2xl",children:"Do this on Day 1 before anything else. Seven steps. Takes about 20 minutes. You only do it once."}),r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:231",className:"space-y-0",children:cf.map((l,u)=>r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:233",className:"flex gap-6 group",children:[r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:235",className:"flex flex-col items-center",children:[r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:236",className:"w-10 h-10 rounded-full border border-[#B8962E] flex items-center justify-center flex-shrink-0",children:r.jsx("span",{"data-loc":"client/src/pages/StartHere.tsx:237",className:"font-body text-xs font-semibold text-[#B8962E]",children:l.number})}),u<cf.length-1&&r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:240",className:"w-px flex-1 bg-[#E8E6E1] my-2"})]}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:244",className:`pb-8 ${u===cf.length-1,""}`,children:[r.jsx("h3",{"data-loc":"client/src/pages/StartHere.tsx:245",className:"font-body text-base font-semibold text-[#111111] mb-2 mt-2",children:l.title}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:246",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:l.body})]})]},l.number))}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:252",className:"mt-8 p-6 bg-[#111111] text-white rounded",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:253",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-3",children:"The Golden Rule"}),r.jsxs("p",{"data-loc":"client/src/pages/StartHere.tsx:254",className:"font-body text-sm leading-relaxed text-white/80",children:["Every piece of content you post on Instagram should have one job: move people to your Facebook Page. Stories are the most powerful tool for this. At least one Story per week should say, in plain language: ",r.jsx("em",{"data-loc":"client/src/pages/StartHere.tsx:255",className:"text-white",children:'"New work drops on my Facebook Page first. Follow the link."'})," Over time, your Facebook Page becomes the room where your most serious collectors wait for your next release."]})]})]})}),r.jsx("section",{"data-loc":"client/src/pages/StartHere.tsx:262",className:"py-16 border-b border-[#
266E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:263",className:"container max-w-4xl",children:[r.jsx("h2",{"data-loc":"client/src/pages/StartHere.tsx:264",className:"font-display text-3xl font-light text-[#111111] mb-2",children:"Your Action Plan"}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:265",className:"font-body text-sm text-[#6B6560] mb-12",children:"Tick each item as you complete it. Your progress is saved in this browser."}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:268",className:"mb-12",children:[r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:269",className:"flex items-center justify-between mb-5",children:[r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:270",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:271",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-1",children:"Day 1"}),r.jsx("h3",{"data-loc":"client/src/pages/StartHere.tsx:272",className:"font-display text-2xl font-light text-[#111111]",children:"Your First 24 Hours"})]}),r.jsxs("span",{"data-loc":"client/src/pages/StartHere.tsx:274",className:"font-body text-sm text-[#6B6560]",children:[o(va.day1)," / ",va.day1.length," done"]})]}),r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:278",className:"space-y-3",children:va.day1.map(l=>r.jsx(uf,{"data-loc":"client/src/pages/StartHere.tsx:280",item:l,checked:!!e[l.id],onToggle:()=>n(l.id)},l.id))})]}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:286",className:"mb-12",children:[r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:287",className:"flex items-center justify-between mb-5",children:[r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:288",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:289",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-1",children:"Week 1"}),r.jsx("h3",{"data-loc":"client/src/pages/StartHere.tsx:290",className:"font-display text-2xl font-light text-[#111111]",children:"Build the Foundation"})]}),r.jsxs("span",{"data-loc":"client/src/pages/StartHere.tsx:292",className:"font-body text-sm text-[#6B6560]",children:[o(va.week1)," / ",va.week1.length," done"]})]}),r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:296",className:"space-y-3",children:va.week1.map(l=>r.jsx(uf,{"data-loc":"client/src/pages/StartHere.tsx:298",item:l,checked:!!e[l.id],onToggle:()=>n(l.id)},l.id))})]}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:304",children:[r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:305",className:"flex items-center justify-between mb-5",children:[r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:306",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:307",className:"font-body text-xs font-medium tracking-[0.12em] uppercase text-[#B8962E] mb-1",children:"Month 1"}),r.jsx("h3",{"data-loc":"client/src/pages/StartHere.tsx:308",className:"font-display text-2xl font-light text-[#111111]",children:"Run Your First Launch"})]}),r.jsxs("span",{"data-loc":"client/src/pages/StartHere.tsx:310",className:"font-body text-sm text-[#6B6560]",children:[o(va.month1)," / ",va.month1.length," done"]})]}),r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:314",className:"space-y-3",children:va.month1.map(l=>r.jsx(uf,{"data-loc":"client/src/pages/StartHere.tsx:316",item:l,checked:!!e[l.id],onToggle:()=>n(l.id)},l.id))})]})]})}),r.jsx("section",{"data-loc":"client/src/pages/StartHere.tsx:324",className:"py-16 border-b border-[#E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:325",className:"container max-w-4xl",children:[r.jsx("h2",{"data-loc":"client/src/pages/StartHere.tsx:326",className:"font-display text-3xl font-light text-[#111111] mb-2",children:"The System in One Page"}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:327",className:"font-body text-sm text-[#6B6560] mb-10",children:"How all seven modules and eight tools connect into a single repeatable system."}),r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:329",className:"space-y-4",children:[{phase:"Phase 1 â Position",modules:"Modules 01â02",tools:"Art Pricing Calculator",desc:"Before you post a single piece of content, your brand and pricing must be locked. An artist without a clear position is invisible. An artist without consistent pricing loses collector trust. Complete Modules 01 and 02 first. Price every piece in your inventory. Do not skip this."},{phase:"Phase 2 â Present",modules:"Module 03",tools:"Caption Generator",desc:"How your work is photographed and described determines whether a collector stops scrolling. Module 03 covers photography, framing, and the language of presentation. Use the Caption Generator to write descriptions in your own voice â not a template."},{phase:"Phase 3 â Build Audience",modules:"Modules 04â05",tools:"Instagram Playbook, Reel Builder, Facebook Strategy",desc:"Instagram is your gallery window. Facebook is your collector room. Module 04 teaches you to use Instagram to build an audie
266nce of buyers, not other artists. Module 05 teaches you to move that audience to Facebook, where releases happen and collectors wait."},{phase:"Phase 4 â Launch",modules:"Module 06",tools:"Art Launch Planner",desc:"A launch is not a single post. It is a 7â14 day sequence of Stories, Reels, Feed posts, and Facebook actions that build anticipation and drive a sale. Use the Launch Planner for every piece and every collection. The sequence is already built â you just fill in your work."},{phase:"Phase 5 â Scale",modules:"Module 07",tools:"Collector Funnel Builder",desc:"Once you have made your first sales, the goal is to build relationships that repeat. Module 07 covers collector retention, limited editions, commissions, and how to grow your revenue without growing your workload. The Collector Funnel Builder maps your entire buyer journey."}].map(l=>r.jsx("div",{"data-loc":"client/src/pages/StartHere.tsx:362",className:"p-6 border border-[#E8E6E1] hover:border-[#B8962E]/30 transition-colors rounded",children:r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:363",className:"flex flex-col md:flex-row md:items-start gap-4",children:[r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:364",className:"md:w-48 flex-shrink-0",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:365",className:"font-body text-xs font-semibold text-[#B8962E] tracking-wide uppercase mb-1",children:l.phase}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:366",className:"font-body text-xs text-[#9B9590]",children:l.modules}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:367",className:"font-body text-xs text-[#9B9590]",children:l.tools})]}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:369",className:"font-body text-sm text-[#6B6560] leading-relaxed",children:l.desc})]})},l.phase))})]})}),r.jsx("section",{"data-loc":"client/src/pages/StartHere.tsx:378",className:"py-20",children:r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:379",className:"container max-w-4xl text-center",children:[r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:380",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-4",children:"You are in the room"}),r.jsxs("h2",{"data-loc":"client/src/pages/StartHere.tsx:381",className:"font-display text-4xl md:text-5xl font-light text-[#111111] mb-6",children:["Now go build your",r.jsx("br",{"data-loc":"client/src/pages/StartHere.tsx:382"}),r.jsx("em",{"data-loc":"client/src/pages/StartHere.tsx:382",className:"italic",children:"gallery."})]}),r.jsx("p",{"data-loc":"client/src/pages/StartHere.tsx:384",className:"font-body text-base text-[#6B6560] max-w-xl mx-auto mb-10",children:"Start with the quiz. Price your work. Set up your Facebook Page. Post your first Story. Everything else follows from those four actions."}),r.jsxs("div",{"data-loc":"client/src/pages/StartHere.tsx:387",className:"flex flex-col sm:flex-row gap-4 justify-center",children:[r.jsx(Ee,{"data-loc":"client/src/pages/StartHere.tsx:388",href:"/quiz",children:r.jsx("span",{"data-loc":"client/src/pages/StartHere.tsx:389",className:"btn-gold cursor-pointer inline-block",children:"Take the Artist Stage Quiz"})}),r.jsx(Ee,{"data-loc":"client/src/pages/StartHere.tsx:391",href:"/module/1",children:r.jsx("span",{"data-loc":"client/src/pages/StartHere.tsx:392",className:"inline-block px-8 py-3 border border-[#111111] font-body text-xs font-medium tracking-[0.1em] uppercase text-[#111111] hover:bg-[#111111] hover:text-white transition-all duration-200 cursor-pointer",children:"Start Module 01"})})]})]})}),r.jsx(ut,{"data-loc":"client/src/pages/StartHere.tsx:400"})]})}const fu=()=>{const e="https://manus.im",s="JbYkbBZNUBJyPT6Ws5Fwbd",n=`${window.location.origin}/api/oauth/callback`,o=btoa(n),l=new URL(`${e}/app-auth`);return l.searchParams.set("appId",s),l.searchParams.set("redirectUri",n),l.searchParams.set("state",o),l.searchParams.set("type","signIn"),l.toString()};function SS(e){const{redirectOnUnauthenticated:s=!1,redirectPath:n=fu()}={},o=ws.useUtils(),l=ws.auth.me.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),u=ws.auth.logout.useMutation({onSuccess:()=>{o.auth.me.setData(void 0,null)}}),d=w.useCallback(async()=>{try{await u.mutateAsync()}catch(p){if(p instanceof ao&&p.data?.code==="UNAUTHORIZED")return;throw p}
266finally{o.auth.me.setData(void 0,null),await o.auth.me.invalidate()}},[u,o]),f=w.useMemo(()=>({user:l.data??null,loading:l.isLoading||u.isPending,error:l.error??u.error??null,isAuthenticated:!!l.data}),[l.data,l.error,l.isLoading,u.error,u.isPending]);return w.useEffect(()=>{localStorage.setItem("manus-runtime-user-info",JSON.stringify(l.data??null))},[l.data]),w.useEffect(()=>{s&&(l.isLoading||u.isPending||f.user||typeof window>"u"||window.location.pathname!==n&&(window.location.href=n))},[s,n,u.isPending,l.isLoading,f.user]),{...f,refresh:()=>l.refetch(),logout:d}}function Gn(e){return new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e)}function MM(e){return new Date(e).toLocaleDateString("en-US",{day:"numeric",month:"short",year:"numeric"})}function PM(){const{user:e,loading:s}=SS(),[n,o]=w.useState(""),[l,u]=w.useState(""),[d,f]=w.useState(!1),[p,g]=w.useState(!1),[x,y]=w.useState(""),[v,k]=w.useState(""),[j,E]=w.useState(""),[N,O]=w.useState(new Date().toISOString().split("T")[0]),[R,_]=w.useState(""),{data:Q,refetch:F}=ws.tracker.getGoal.useQuery(void 0,{enabled:!!e}),{data:U=[],refetch:C}=ws.tracker.listSoldWorks.useQuery(void 0,{enabled:!!e}),D=ws.tracker.setGoal.useMutation({onSuccess:()=>{F(),f(!1)}}),Z=ws.tracker.addSoldWork.useMutation({onSuccess:()=>{C(),g(!1),y(""),k(""),E(""),_(""),O(new Date().toISOString().split("T")[0])}}),K=ws.tracker.deleteSoldWork.useMutation({onSuccess:()=>C()});if(w.useEffect(()=>{Q&&(o(String(parseFloat(String(Q.goalAmount)))),u(String(parseFloat(String(Q.averagePiecePrice)))))},[Q]),s)return r.jsx("div",{"data-loc":"client/src/pages/SalesTracker.tsx:62",className:"min-h-screen bg-white flex items-center justify-center",children:r.jsx(Rw,{"data-loc":"client/src/pages/SalesTracker.tsx:63",className:"animate-spin text-[#C9A84C]",size:40})});if(!e)return r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:70",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/SalesTracker.tsx:71"}),r.jsx("div",{"data-loc":"client/src/pages/SalesTracker.tsx:72",className:"mt-16 pt-32 pb-24 text-center",children:r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:73",className:"container max-w-md",children:[r.jsx("span",{"data-loc":"client/src/pages/SalesTracker.tsx:74",className:"gallery-rule mb-6 mx-auto block"}),r.jsx("h1",{"data-loc":"client/src/pages/SalesTracker.tsx:75",className:"font-display text-4xl font-light text-[#111111] mb-4",children:"Sign in to track your sales"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:76",className:"font-body text-sm text-[#6B6560] mb-8 leading-relaxed",children:"Your Sales Tracker is personal to you. Sign in with your Gallery of One account to access it."}),r.jsx("a",{"data-loc":"client/src/pages/SalesTracker.tsx:79",href:fu(),children:r.jsx("span",{"data-loc":"client/src/pages/SalesTracker.tsx:80",className:"btn-gold text-sm cursor-pointer inline-block",children:"Sign In"})})]})}),r.jsx(ut,{"data-loc":"client/src/pages/SalesTracker.tsx:84"})]});const ae=U.reduce((B,te)=>B+parseFloat(String(te.salePrice)),0),se=parseFloat(n)||0,ie=parseFloat(l)||0,oe=se>0?Math.min(ae/se*100,100):0,le=Math.max(se-ae,0),M=ie>0?Math.ceil(se/ie):0,H=U.length,L=Math.max(M-H,0);return r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:100",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/SalesTracker.tsx:101"}),r.jsx("section",{"data-loc":"client/src/pages/SalesTracker.tsx:104",className:"pt-32 pb-12 border-b border-[#E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:105",className:"container max-w-4xl",children:[r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:106",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-4",children:"Your Sales Tracker"}),r.jsxs("h1",{"data-loc":"client/src/pages/SalesTracker.tsx:109",className:"font-display text-5xl md:text-6xl font-light text-[#111111] leading-[0.95] mb-4",children:["Track your",r.jsx("br",{"data-loc":"client/src/pages/SalesTracker.tsx:110"}),r.jsx("em",{"data-loc":"client/src/pages/SalesTracker.tsx:110",className:"italic",children:"progress."})]}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:112",className:"font-body text-sm text-[#6B6560] leading-relaxed max-w-xl",children:"Set your revenue goal, log every sale, and see exactly how many pieces you need to create to hit your target."})]})}),r.jsx("section",{"data-loc":"client/src/pages/SalesTracker.tsx:119",className:"py-12 border-b border-[#
266E8E6E1] bg-[#F9F7F4]",children:r.jsx("div",{"data-loc":"client/src/pages/SalesTracker.tsx:120",className:"container max-w-4xl",children:!Q||d?r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:122",children:[r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:123",className:"flex items-center gap-3 mb-6",children:[r.jsx(w4,{"data-loc":"client/src/pages/SalesTracker.tsx:124",size:18,className:"text-[#B8962E]"}),r.jsx("h2",{"data-loc":"client/src/pages/SalesTracker.tsx:125",className:"font-display text-2xl font-light text-[#111111]",children:Q?"Update your goal":"Set your revenue goal"})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:129",className:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-6",children:[r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:130",children:[r.jsx("label",{"data-loc":"client/src/pages/SalesTracker.tsx:131",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-2",children:"Revenue Goal ($)"}),r.jsx("input",{"data-loc":"client/src/pages/SalesTracker.tsx:134",type:"number",placeholder:"e.g. 10000",value:n,onChange:B=>o(B.target.value),className:"w-full border border-[#E8E6E1] font-body text-sm px-4 py-3 focus:outline-none focus:border-[#111111] transition-colors bg-white"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:141",className:"font-body text-xs text-[#9B9590] mt-1",children:"How much do you want to earn from art this year?"})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:143",children:[r.jsx("label",{"data-loc":"client/src/pages/SalesTracker.tsx:144",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] block mb-2",children:"Average Piece Price ($)"}),r.jsx("input",{"data-loc":"client/src/pages/SalesTracker.tsx:147",type:"number",placeholder:"e.g. 800",value:l,onChange:B=>u(B.target.value),className:"w-full border border-[#E8E6E1] font-body text-sm px-4 py-3 focus:outline-none focus:border-[#111111] transition-colors bg-white"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:154",className:"font-body text-xs text-[#9B9590] mt-1",children:"What do you typically sell a piece for?"})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:157",className:"flex gap-3",children:[r.jsx("button",{"data-loc":"client/src/pages/SalesTracker.tsx:158",onClick:()=>{n&&l&&D.mutate({goalAmount:parseFloat(n),averagePiecePrice:parseFloat(l)})},className:"bg-[#111111] text-white font-body text-xs font-medium tracking-[0.1em] uppercase px-8 py-3 hover:bg-[#333] transition-colors",children:D.isPending?"Savingâ¦":"Set Goal"}),d&&r.jsx("button",{"data-loc":"client/src/pages/SalesTracker.tsx:169",onClick:()=>f(!1),className:"font-body text-xs text-[#6B6560] hover:text-[#111111] transition-colors px-4",children:"Cancel"})]})]}):r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:177",children:[r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:178",className:"grid grid-cols-2 md:grid-cols-4 gap-px bg-[#E8E6E1] mb-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:179",className:"bg-white p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:180",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#B8962E] mb-2",children:"Your Goal"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:181",className:"font-display text-3xl font-light text-[#111111]",children:Gn(se)})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:183",className:"bg-white p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:184",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#B8962E] mb-2",children:"Earned So Far"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:185",className:"font-display text-3xl font-light text-[#111111]",children:Gn(ae)})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:187",className:"bg-white p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:188",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#B8962E] mb-2",children:"Remaining"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:189",className:"font-display text-3xl font-light text-[#111111]",children:Gn(le)})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:191",className:"bg-white p-6",children:[r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:192",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#B8962E] mb-2",children:"Pieces Sold"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:193",className:"font-display text-3xl font-light text-[#111111]",children:H})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:198",className:"mb-6",children:[r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:199",className:"flex justify-between items-center mb-2",children:[r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:200",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560]",children:"Progress to goal"}),r.jsxs("p",{"data-loc":"client/src/pages/SalesTracker.tsx:201",className:"font-body text-xs font-semibold text-[#B8962E]",children:[Math.round(oe),"%"]})]}),r.jsx("div",{"data-loc":"client/src/pages/SalesTracker.tsx:203",className:"h-2 bg-[#E8E6E1] rounded-full overflow-hidden",children:r.jsx("div",{"data-loc":"client/src/pages/SalesTracker.tsx:204",className:"h-full bg-[#B8962E] transition-all duration-700 ease-out rounded-full",style:{width:`${oe}%`}})})]}),M>0&&r.jsx("div",{"data-loc":"client/src/pages/SalesTracker.tsx:213",className:"bg-[#111111] p-6 mb-4",children:r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:214",className:"flex items-start gap-4",children:[r.jsx(k4,{"data-loc":"client/src/pages/SalesTracker.tsx:215",size:18,className:"text-[#B8962E] flex-shrink-0 mt-0.5"}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:216",children:[r.jsxs("p",{"data-loc":"client/src/pages/SalesTracker.tsx:217",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#B8962E] mb-1",children:["To hit ",Gn(se)]}),r.jsxs("p",{"data-loc":"client/src/pages/SalesTracker.tsx:220",className:"font-body text-sm text-white leading-relaxed",children:["At your average price of ",r.jsx("strong",{"data-loc":"client/src/pages/SalesTracker.tsx:221",className:"text-[#B8962E]",children:Gn(ie)})," per piece, you need to sell"," ",r.jsxs("strong",{"data-loc":"client/src/pages/SalesTracker.tsx:222",className:"text-white",children:[M," pieces total."]})," ","You've sold ",r.jsx("strong",{"data-loc":"client/src/pages/SalesTracker.tsx:223",className:"text-[#B8962E]",children:H})," so far â"," ",L>0?r.jsx(r.Fragment,{children:r.jsxs("strong",{"data-loc":"client/src/pages/SalesTracker.tsx:225",className:"text-white",children:[L," more to go."]})}):r.jsx("strong",{"data-loc":"client/src/pages/SalesTracker.tsx:227",className:"text-[#B8962E]",children:"you've hit your goal! ð"})]})]})]})}),r.jsx("button",{"data-loc":"client/src/pages/SalesTracker.tsx:235",onClick:()=>f(!0),className:"font-body text-xs text-[#6B6560] hover:text-[#111111] transition-colors border-b border-[#
266E8E6E1] pb-0.5",children:"Update goal"})]})})}),r.jsx("section",{"data-loc":"client/src/pages/SalesTracker.tsx:247",className:"py-12 border-b border-[#E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:248",className:"container max-w-4xl",children:[r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:249",className:"flex items-center justify-between mb-8",children:[r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:250",children:[r.jsx("h2",{"data-loc":"client/src/pages/SalesTracker.tsx:251",className:"font-display text-3xl font-light text-[#111111]",children:"Sold Works"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:252",className:"font-body text-sm text-[#6B6560] mt-1",children:"Every piece you sell brings you closer to your goal."})]}),r.jsxs("button",{"data-loc":"client/src/pages/SalesTracker.tsx:254",onClick:()=>g(!p),className:"flex items-center gap-2 bg-[#111111] text-white font-body text-xs font-medium tracking-[0.1em] uppercase px-5 py-3 hover:bg-[#333] transition-colors",children:[r.jsx(v4,{"data-loc":"client/src/pages/SalesTracker.tsx:258",size:14}),"Log a Sale"]})]}),p&&r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:265",className:"bg-[#F9F7F4] border border-[#E8E6E1] p-6 mb-8",children:[r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:266",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#B8962E] mb-5",children:"New Sale"}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:267",className:"grid grid-cols-1 md:grid-cols-2 gap-4 mb-4",children:[r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:268",children:[r.jsx("label",{"data-loc":"client/src/pages/SalesTracker.tsx:269",className:"font-body text-xs font-medium tracking-[0.08em] uppercase text-[#6B6560] block mb-1.5",children:"Artwork Title *"}),r.jsx("input",{"data-loc":"client/src/pages/SalesTracker.tsx:270",type:"text",placeholder:"e.g. Golden Horizon No. 3",value:x,onChange:B=>y(B.target.value),className:"w-full border border-[#E8E6E1] font-body text-sm px-4 py-2.5 focus:outline-none focus:border-[#111111] transition-colors bg-white"})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:278",children:[r.jsx("label",{"data-loc":"client/src/pages/SalesTracker.tsx:279",className:"font-body text-xs font-medium tracking-[0.08em] uppercase text-[#6B6560] block mb-1.5",children:"Medium"}),r.jsx("input",{"data-loc":"client/src/pages/SalesTracker.tsx:280",type:"text",placeholder:"e.g. Resin on canvas",value:v,onChange:B=>k(B.target.value),className:"w-full border border-[#E8E6E1] font-body text-sm px-4 py-2.5 focus:outline-none focus:border-[#111111] transition-colors bg-white"})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:288",children:[r.jsx("label",{"data-loc":"client/src/pages/SalesTracker.tsx:289",className:"font-body text-xs font-medium tracking-[0.08em] uppercase text-[#6B6560] block mb-1.5",children:"Sale Price ($) *"}),r.jsx("input",{"data-loc":"client/src/pages/SalesTracker.tsx:290",type:"number",placeholder:"e.g. 850",value:j,onChange:B=>E(B.target.value),className:"w-full border border-[#E8E6E1] font-body text-sm px-4 py-2.5 focus:outline-none focus:border-[#111111] transition-colors bg-white"})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:298",children:[r.jsx("label",{"data-loc":"client/src/pages/SalesTracker.tsx:299",className:"font-body text-xs font-medium tracking-[0.08em] uppercase text-[#6B6560] block mb-1.5",children:"Date Sold"}),r.jsx("input",{"data-loc":"client/src/pages/SalesTracker.tsx:300",type:"date",value:N,onChange:B=>O(B.target.value),className:"w-full border border-[#E8E6E1] font-body text-sm px-4 py-2.5 focus:outline-none focus:border-[#111111] transition-colors bg-white"})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:308",className:"mb-4",children:[r.jsx("label",{"data-loc":"client/src/pages/SalesTracker.tsx:309",className:"font-body text-xs font-medium tracking-[0.08em] uppercase text-[#6B6560] block mb-1.5",children:"Notes (optional)"}),r.jsx("input",{"data-loc":"client/src/pages/SalesTracker.tsx:310",type:"text",placeholder:"e.g. Sold via Facebook release, collector from Melbourne",value:R,onChange:B=>
266_(B.target.value),className:"w-full border border-[#E8E6E1] font-body text-sm px-4 py-2.5 focus:outline-none focus:border-[#111111] transition-colors bg-white"})]}),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:318",className:"flex gap-3",children:[r.jsx("button",{"data-loc":"client/src/pages/SalesTracker.tsx:319",onClick:()=>{x&&j&&Z.mutate({title:x,medium:v||void 0,salePrice:parseFloat(j),soldAt:N,notes:R||void 0})},className:"bg-[#B8962E] hover:bg-[#9A7D25] text-white font-body text-xs font-medium tracking-[0.1em] uppercase px-8 py-3 transition-colors",children:Z.isPending?"Savingâ¦":"Add Sale"}),r.jsx("button",{"data-loc":"client/src/pages/SalesTracker.tsx:335",onClick:()=>g(!1),className:"font-body text-xs text-[#6B6560] hover:text-[#111111] transition-colors px-4",children:"Cancel"})]})]}),U.length===0?r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:344",className:"text-center py-16 border border-dashed border-[#E8E6E1]",children:[r.jsx(u4,{"data-loc":"client/src/pages/SalesTracker.tsx:345",size:32,className:"text-[#E8E6E1] mx-auto mb-4"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:346",className:"font-display text-xl font-light text-[#6B6560] mb-2",children:"No sales logged yet"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:347",className:"font-body text-sm text-[#9B9590]",children:"Every sale starts somewhere. Log your first one above."})]}):r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:350",className:"space-y-0",children:[r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:352",className:"grid grid-cols-[1fr_auto_auto_auto] gap-4 items-center py-3 border-b border-[#111111]",children:[r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:353",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#6B6560]",children:"Artwork"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:354",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#6B6560] text-right w-24",children:"Date"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:355",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#6B6560] text-right w-24",children:"Price"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:356",className:"w-8"})]}),U.map(B=>r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:359",className:"grid grid-cols-[1fr_auto_auto_auto] gap-4 items-center py-4 border-b border-[#E8E6E1] hover:bg-[#F9F7F4] transition-colors group",children:[r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:360",children:[r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:361",className:"font-body text-sm font-medium text-[#111111]",children:B.title}),B.medium&&r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:362",className:"font-body text-xs text-[#9B9590] mt-0.5",children:B.medium}),B.notes&&r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:363",className:"font-body text-xs text-[#9B9590] italic mt-0.5",children:B.notes})]}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:365",className:"font-body text-xs text-[#6B6560] text-right w-24",children:MM(B.soldAt)}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:366",className:"font-display text-lg font-light text-[#111111] text-right w-24",children:Gn(parseFloat(String(B.salePrice)))}),r.jsx("button",{"data-loc":"client/src/pages/SalesTracker.tsx:367",onClick:()=>K.mutate({id:B.id}),className:"w-8 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity text-[#C8C4BE] hover:text-red-400",children:r.jsx(S4,{"data-loc":"client/src/pages/SalesTracker.tsx:371",size:14})})]},B.id)),r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:376",className:"grid grid-cols-[1fr_auto_auto_auto] gap-4 items-center py-4 bg-[#F9F7F4] px-4 -mx-4",children:[r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:377",className:"font-body text-sm font-semibold text-[#111111]",children:"Total Revenue"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:378",className:"w-24"}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:379",className:"font-display text-2xl font-light text-[#B8962E] text-right w-24",children:Gn(ae)}),r.jsx("p",{"data-loc":"client/src/pages/SalesTracker.tsx:380",className:"w-8"})]})]})]})}),r.jsx("section",{"data-loc":"client/src/pages/SalesTracker.tsx:388",className:"py-12",children:r.jsx("div",{"data-loc":"client/src/pages/SalesTracker.tsx:389",className:"container max-w-4xl",children:r.jsxs("div",{"data-loc":"client/src/pages/SalesTracker.tsx:390",className:"flex flex-wrap gap-4",children:[r.jsx(Ee,{"data-loc":"client/src/pages/SalesTracker.tsx:391",href:"/launch",children:r.jsx("span",{"data-loc":"client/src/pages/SalesTracker.tsx:392",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#B8962E] hover:text-[#8A6E1E] transition-colors cursor-pointer border-b border-[#B8962E] pb-0.5",children:"Plan your next launch â"})}),r.jsx(Ee,{"data-loc":"client/src/pages/SalesTracker.tsx:396",href:"/tools",children:r.jsx("span",{"data-loc":"client/src/pages/SalesTracker.tsx:397",className:"font-body text-xs font-medium tracking-[0.1em] uppercase text-[#6B6560] hover:text-[#111111] transition-colors cursor-pointer border-b border-[#
266E8E6E1] pb-0.5",children:"All Tools"})})]})})}),r.jsx(ut,{"data-loc":"client/src/pages/SalesTracker.tsx:405"})]})}function BM(e){return new Date(e).toLocaleDateString("en-US",{day:"numeric",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit"})}function DM(){const{user:e,loading:s}=SS(),{data:n=[],isLoading:o}=ws.tracker.listQuizResults.useQuery(void 0,{enabled:!!e&&e.role==="admin"});if(w.useEffect(()=>{window.scrollTo(0,0)},[]),s)return r.jsx("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:31",className:"min-h-screen bg-white flex items-center justify-center",children:r.jsx(Rw,{"data-loc":"client/src/pages/AdminQuizResults.tsx:32",className:"animate-spin text-[#C9A84C]",size:40})});if(!e)return r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:39",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/AdminQuizResults.tsx:40"}),r.jsx("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:41",className:"mt-16 pt-32 pb-24 text-center",children:r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:42",className:"container max-w-md",children:[r.jsx("h1",{"data-loc":"client/src/pages/AdminQuizResults.tsx:43",className:"font-display text-4xl font-light text-[#111111] mb-4",children:"Sign in required"}),r.jsx("a",{"data-loc":"client/src/pages/AdminQuizResults.tsx:44",href:fu(),children:r.jsx("span",{"data-loc":"client/src/pages/AdminQuizResults.tsx:45",className:"btn-gold text-sm cursor-pointer inline-block",children:"Sign In"})})]})}),r.jsx(ut,{"data-loc":"client/src/pages/AdminQuizResults.tsx:49"})]});if(e.role!=="admin")return r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:56",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/AdminQuizResults.tsx:57"}),r.jsx("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:58",className:"mt-16 pt-32 pb-24 text-center",children:r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:59",className:"container max-w-md",children:[r.jsx("h1",{"data-loc":"client/src/pages/AdminQuizResults.tsx:60",className:"font-display text-4xl font-light text-[#111111] mb-4",children:"Access restricted"}),r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:61",className:"font-body text-sm text-[#6B6560]",children:"This page is only available to Gallery of One admins."})]})}),r.jsx(ut,{"data-loc":"client/src/pages/AdminQuizResults.tsx:64"})]});const l=n.length,u=n.filter(p=>p.email).length,d={};n.forEach(p=>{d[p.stage]=(d[p.stage]||0)+1});const f=Object.entries(d).sort((p,g)=>g[1]-p[1])[0];return r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:79",className:"min-h-screen bg-white",children:[r.jsx(ct,{"data-loc":"client/src/pages/AdminQuizResults.tsx:80"}),r.jsx("section",{"data-loc":"client/src/pages/AdminQuizResults.tsx:83",className:"pt-32 pb-12 border-b border-[#E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:84",className:"container max-w-5xl",children:[r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:85",className:"font-body text-xs font-medium tracking-[0.15em] uppercase text-[#B8962E] mb-4",children:"Admin â Private View"}),r.jsx("h1",{"data-loc":"client/src/pages/AdminQuizResults.tsx:88",className:"font-display text-5xl font-light text-[#111111] mb-4",children:"Quiz Results"}),r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:91",className:"font-body text-sm text-[#6B6560]",children:"Everyone who has taken the Artist Stage Quiz. Only visible to you."})]})}),r.jsx("section",{"data-loc":"client/src/pages/AdminQuizResults.tsx:98",className:"py-10 border-b border-[#E8E6E1] bg-[#F9F7F4]",children:r.jsx("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:99",className:"container max-w-5xl",children:r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:100",className:"grid grid-cols-1 md:grid-cols-3 gap-px bg-[#E8E6E1]",children:[r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:101",className:"bg-white p-6 flex items-start gap-4",children:[r.jsx(Ow,{"data-loc":"client/src/pages/AdminQuizResults.tsx:102",size:18,className:"text-[#B8962E] mt-0.5 flex-shrink-0"}),r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:103",children:[r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:104",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#6B6560] mb-1",children:"Total Responses"}),r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:105",className:"font-display text-4xl font-light text-[#111111]",children:l})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:108",className:"bg-white p-6 flex items-start gap-4",children:[r.jsx(b4,{"data-loc":"client/src/pages/AdminQuizResults.tsx:109",size:18,className:"text-[#B8962E] mt-0.5 flex-shrink-0"}),r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:110",children:[r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:111",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#6B6560] mb-1",children:"Emails Captured"}),r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:112",className:"font-display text-4xl font-light text-[#111111]",children:u}),r.jsxs("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:113",className:"font-body text-xs text-[#9B9590] mt-1",children:[l>0?Math.round(u/l*100):0,"% conversion"]})]})]}),r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:118",className:"bg-white p-6 flex items-start gap-4",children:[r.jsx(p4,{"data-loc":"client/src/pages/AdminQuizResults.tsx:119",size:18,className:"text-[#B8962E] mt-0.5 flex-shrink-0"}),r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:120",children:[r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:121",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#6B6560] mb-1",children:"Most Common Stage"}),f?r.jsxs(r.Fragment,{children:[r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:124",className:"font-display text-xl font-light text-[#111111]",children:f[0]}),r.jsxs("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:125",className:"font-body text-xs text-[#9B9590] mt-1",children:[f[1]," people"]})]}):r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:128",className:"font-display text-xl font-light text-[#6B6560]",children:"â"})]})]})]})})}),Object.keys(d).length>0&&r.jsx("section",{"data-loc":"client/src/pages/AdminQuizResults.tsx:138",className:"py-10 border-b border-[#
266E8E6E1]",children:r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:139",className:"container max-w-5xl",children:[r.jsx("h2",{"data-loc":"client/src/pages/AdminQuizResults.tsx:140",className:"font-display text-2xl font-light text-[#111111] mb-6",children:"Stage Breakdown"}),r.jsx("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:141",className:"space-y-3",children:Object.entries(d).sort((p,g)=>g[1]-p[1]).map(([p,g])=>r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:145",className:"flex items-center gap-4",children:[r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:146",className:"font-body text-sm text-[#111111] w-56 flex-shrink-0",children:p}),r.jsx("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:147",className:"flex-1 h-2 bg-[#E8E6E1] rounded-full overflow-hidden",children:r.jsx("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:148",className:"h-full bg-[#B8962E] rounded-full transition-all duration-500",style:{width:`${g/l*100}%`}})}),r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:153",className:"font-body text-sm font-medium text-[#111111] w-8 text-right",children:g})]},p))})]})}),r.jsx("section",{"data-loc":"client/src/pages/AdminQuizResults.tsx:162",className:"py-10",children:r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:163",className:"container max-w-5xl",children:[r.jsx("h2",{"data-loc":"client/src/pages/AdminQuizResults.tsx:164",className:"font-display text-2xl font-light text-[#111111] mb-6",children:"All Submissions"}),o?r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:167",className:"font-body text-sm text-[#6B6560]",children:"Loadingâ¦"}):n.length===0?r.jsxs("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:169",className:"text-center py-16 border border-dashed border-[#E8E6E1]",children:[r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:170",className:"font-display text-xl font-light text-[#6B6560] mb-2",children:"No quiz submissions yet"}),r.jsx("p",{"data-loc":"client/src/pages/AdminQuizResults.tsx:171",className:"font-body text-sm text-[#9B9590]",children:"Share the quiz link and results will appear here."})]}):r.jsx("div",{"data-loc":"client/src/pages/AdminQuizResults.tsx:174",className:"overflow-x-auto",children:r.jsxs("table",{"data-loc":"client/src/pages/AdminQuizResults.tsx:175",className:"w-full",children:[r.jsx("thead",{"data-loc":"client/src/pages/AdminQuizResults.tsx:176",children:r.jsxs("tr",{"data-loc":"client/src/pages/AdminQuizResults.tsx:177",className:"border-b border-[#111111]",children:[r.jsx("th",{"data-loc":"client/src/pages/AdminQuizResults.tsx:178",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#6B6560] text-left py-3 pr-6",children:"Email"}),r.jsx("th",{"data-loc":"client/src/pages/AdminQuizResults.tsx:179",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#6B6560] text-left py-3 pr-6",children:"Stage Result"}),r.jsx("th",{"data-loc":"client/src/pages/AdminQuizResults.tsx:180",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#6B6560] text-left py-3 pr-6",children:"Module"}),r.jsx("th",{"data-loc":"client/src/pages/AdminQuizResults.tsx:181",className:"font-body text-xs font-semibold tracking-[0.1em] uppercase text-[#6B6560] text-left py-3",children:"Date"})]})}),r.jsx("tbody",{"data-loc":"client/src/pages/AdminQuizResults.tsx:184",children:n.map(p=>r.jsxs("tr",{"data-loc":"client/src/pages/AdminQuizResults.tsx:186",className:"border-b border-[#E8E6E1] hover:bg-[#F9F7F4] transition-colors",children:[r.jsx("td",{"data-loc":"client/src/pages/AdminQuizResults.tsx:187",className:"py-3 pr-6",children:p.email?r.jsx("a",{"data-loc":"client/src/pages/AdminQuizResults.tsx:189",href:`mailto:${p.email}`,className:"font-body text-sm text-[#111111] hover:text-[#B8962E] transition-colors",children:p.email}):r.jsx("span",{"data-loc":"client/src/pages/AdminQuizResults.tsx:193",className:"font-body text-sm text-[#C8C4BE] italic",children:"Anonymous"})}),r.jsx("td",{"data-loc":"client/src/pages/AdminQuizResults.tsx:196",className:"py-3 pr-6",children:r.jsx("span",{"data-loc":"client/src/pages/AdminQuizResults.tsx:197",className:"font-body text-sm text-[#111111]",children:p.stage})}),r.jsx("td",{"data-loc":"client/src/pages/AdminQuizResults.tsx:199",className:"py-3 pr-6",children:r.jsxs("span",{"data-loc":"client/src/pages/AdminQuizResults.tsx:200",className:"font-body text-xs font-medium tracking-[0.08em] uppercase text-[#B8962E]",children:["Module ",String(p.moduleNumber).padStart(2,"0")]})}),r.jsx("td",{"data-loc":"client/src/pages/AdminQuizResults.tsx:204",className:"py-3",children:r.jsx("span",{"data-loc":"client/src/pages/AdminQuizResults.tsx:205",className:"font-body text-xs text-[#9B9590]",children:BM(p.createdAt)})})]}
266,p.id))})]})})]})}),r.jsx(ut,{"data-loc":"client/src/pages/AdminQuizResults.tsx:216"})]})}function In({component:e}){return r.jsx(Gw,{"data-loc":"client/src/App.tsx:31",children:r.jsx(e,{"data-loc":"client/src/App.tsx:32"})})}function _M(){return r.jsxs(Q4,{"data-loc":"client/src/App.tsx:39",children:[r.jsx(Ct,{"data-loc":"client/src/App.tsx:41",path:"/",component:m1}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:42",path:"/home",component:iC}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:43",path:"/quiz",component:CC}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:44",path:"/enroll",component:m1}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:45",path:"/start",children:()=>r.jsx(In,{"data-loc":"client/src/App.tsx:46",component:OM})}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:50",path:"/module/:id",children:e=>r.jsx(Gw,{"data-loc":"client/src/App.tsx:52",children:r.jsx(lC,{"data-loc":"client/src/App.tsx:53"})})}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:57",path:"/tools",children:()=>r.jsx(In,{"data-loc":"client/src/App.tsx:58",component:fC})}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:60",path:"/instagram",children:()=>r.jsx(In,{"data-loc":"client/src/App.tsx:61",component:bC})}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:63",path:"/facebook",children:()=>r.jsx(In,{"data-loc":"client/src/App.tsx:64",component:jC})}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:66",path:"/captions",children:()=>r.jsx(In,{"data-loc":"client/src/App.tsx:67",component:MC})}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:69",path:"/reels",children:()=>r.jsx(In,{"data-loc":"client/src/App.tsx:70",component:IC})}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:72",path:"/launch",children:()=>r.jsx(In,{"data-loc":"client/src/App.tsx:73",component:AM})}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:75",path:"/tracker",component:PM}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:76",path:"/admin/quiz-results",children:()=>r.jsx(DM,{"data-loc":"client/src/App.tsx:77"})}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:80",path:"/404",component:c1}),r.jsx(Ct,{"data-loc":"client/src/App.tsx:81",component:c1})]})}function LM(){return r.jsx(Y4,{"data-loc":"client/src/App.tsx:88",children:r.jsx(K4,{"data-loc":"client/src/App.tsx:89",defaultTheme:"light",children:r.jsx(W4,{"data-loc":"client/src/App.tsx:90",children:r.jsxs(t4,{"data-loc":"client/src/App.tsx:91",children:[r.jsx(hN,{"data-loc":"client/src/App.tsx:92"}),r.jsx(_M,{"data-loc":"client/src/App.tsx:93"})]})})})})}const Qc=new u6,kS=e=>{!(e instanceof ao)||typeof window>"u"||!(e.message===YE)||(window.location.href=fu())};Qc.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const s=e.query.state.error;kS(s),console.error("[API Query Error]",s)}});Qc.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const s=e.mutation.state.error;kS(s),console.error("[API Mutation Error]",s)}});const zM=ws.createClient({links:[vE({url:"/api/trpc",transformer:Na,fetch(e,s){return globalThis.fetch(e,{...s??{},credentials:"include"})}})]});JE.createRoot(document.getElementById("root")).render(r.jsx(ws.Provider,{"data-loc":"client/src/main.tsx:56",client:zM,queryClient:Qc,children:r.jsx(h6,{"data-loc":"client/src/main.tsx:57",client:Qc,children:r.jsx(LM,{"data-loc":"client/src/main.tsx:58"})})}));
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.