PageSourceSearch

https://arabicblog-fovp4qzh.manus.space/assets/index-Dr_nL6lJ.js

js arabicblog-fovp4qzh.manus.space collected 2026-10-03 04:59:54 UTC 604,363 bytes, 979 lines download raw bytes

vendor: 28,775 bytes, lines 1-9
1function Vb(n,s){for(var l=0;l<s.length;l++){const i=s[l];if(typeof i!="string"&&!Array.isArray(i)){for(const c in i)if(c!=="default"&&!(c in n)){const d=Object.getOwnPropertyDescriptor(i,c);d&&Object.defineProperty(n,c,d.get?d:{enumerable:!0,get:()=>i[c]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))i(c);new MutationObserver(c=>{for(const d of c)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&i(m)}).observe(document,{childList:!0,subtree:!0});function l(c){const d={};return c.integrity&&(d.integrity=c.integrity),c.referrerPolicy&&(d.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?d.credentials="include":c.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function i(c){if(c.ep)return;c.ep=!0;const d=l(c);fetch(c.href,d)}})();function jy(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ju={exports:{}},gl={};/**
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 cg;function Xb(){if(cg)return gl;cg=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function l(i,c,d){var m=null;if(d!==void 0&&(m=""+d),c.key!==void 0&&(m=""+c.key),"key"in c){d={};for(var p in c)p!=="key"&&(d[p]=c[p])}else d=c;return c=d.ref,{$$typeof:n,type:i,key:m,ref:c!==void 0?c:null,props:d}}return gl.Fragment=s,gl.jsx=l,gl.jsxs=l,gl}var ug;function Kb(){return ug||(ug=1,Ju.exports=Xb()),Ju.exports}var f=Kb(),gs=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(n){return this.listeners.add(n),this.onSubscribe(),()=>{this.listeners.delete(n),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Zb=class extends gs{#t;#e;#n;constructor(){super(),this.#n=n=>{if(typeof window<"u"&&window.addEventListener){const s=()=>n();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(n){this.#n=n,this.#e?.(),this.#e=n(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()})}setFocused(n){this.#t!==n&&(this.#t=n,this.onFocus())}onFocus(){const n=this.isFocused();this.listeners.forEach(s=>{s(n)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},Yd=new Zb,Jb={setTimeout:(n,s)=>setTimeout(n,s),clearTimeout:n=>clearTimeout(n),setInterval:(n,s)=>setInterval(n,s),clearInterval:n=>clearInterval(n)},$b=class{#t=Jb;#e=!1;setTimeoutProvider(n){this.#t=n}setTimeout(n,s){return this.#t.setTimeout(n,s)}clearTimeout(n){this.#t.clearTimeout(n)}setInterval(n,s){return this.#t.setInterval(n,s)}clearInterval(n){this.#t.clearInterval(n)}},ds=new $b;function Ib(n){setTimeout(n,0)}var Wb=typeof window>"u"||"Deno"in globalThis;function xt(){}function e1(n,s){return typeof n=="function"?n(s):n}function hd(n){return typeof n=="number"&&n>=0&&n!==1/0}function Ay(n,s){return Math.max(n+(s||0)-Date.now(),0)}function za(n,s){return typeof n=="function"?n(s):n}function Yt(n,s){return typeof n=="function"?n(s):n}function dg(n,s){const{type:l="all",exact:i,fetchStatus:c,predicate:d,queryKey:m,stale:p}=n;if(m){if(i){if(s.queryHash!==Vd(m,s.options))return!1}else if(!Cl(s.queryKey,m))return!1}if(l!=="all"){const h=s.isActive();if(l==="active"&&!h||l==="inactive"&&h)return!1}return!(typeof p=="boolean"&&s.isStale()!==p||c&&c!==s.state.fetchStatus||d&&!d(s))}function fg(n,s){const{exact:l,status:i,predicate:c,mutationKey:d}=n;if(d){if(!s.options.mutationKey)return!1;if(l){if(Da(s.options.mutationKey)!==Da(d))return!1}else if(!Cl(s.options.mutationKey,d))return!1}return!(i&&s.state.status!==i||c&&!c(s))}function Vd(n,s){return(s?.queryKeyHashFn||Da)(n)}function Da(n){return JSON.stringify(n,(s,l)=>pd(l)?Object.keys(l).sort().reduce((i,c)=>(i[c]=l[c],i),{}):l)}function Cl(n,s){return n===s?!0:typeof n!=typeof s?!1:n&&s&&typeof n=="object"&&typeof s=="object"?Object.keys(s).every(l=>Cl(n[l],s[l])):!1}var t1=Object.prototype.hasOwnProperty;function Xd(n,s,l=0){if(n===s)return n;if(l>500)return s;const i=mg(n)&&mg(s);if(!i&&!(pd(n)&&pd(s)))return s;const d=(i?n:Object.keys(n)).length,m=i?s:Object.keys(s),p=m.length,h=i?new Array(p):{};let g=0;for(let v=0;v<p;v++){const x=i?v:m[v],w=n[x],S=s[x];if(w===S){h[x]=w,(i?v<d:t1.call(n,x))&&g++;continue}if(w===null||S===null||typeof w!="object"||typeof S!="object"){h[x]=S;continue}const C=Xd(w,S,l+1);h[x]=C,C===w&&g++}return d===p&&g===d?n:h}function jl(n,s){if(!s||Object.keys(n).length!==Object.keys(s).length)return!1;for(const l in n)if(n[l]!==s[l])return!1;return!0}function mg(n){return Array.isArray(n)&&n.length===Object.keys(n).length}function pd(n){if(!hg(n))return!1;const s=n.constructor;if(s===void 0)return!0;const l=s.prototype;return!(!hg(l)||!l.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(n)!==Object.prototype)}function hg(n){return Object.prototype.toString.call(n)==="[object Object]"}function n1(n){return new Promise(s=>{ds.setTimeout(s,n)})}function gd(n,s,l){return typeof l.structuralSharing=="function"?l.structuralSharing(n,s):l.structuralSharing!==!1?Xd(n,s):s}function a1(n,s,l=0){const i=[...n,s];return l&&i.length>l?i.slice(1):i}function s1(n,s,l=0){const i=[s,...n];return l&&i.length>l?i.slice(0,-1):i}var Xt=Symbol();function Ny(n,s){return!n.queryFn&&s?.initialPromise?()=>s.initialPromise:!n.queryFn||n.queryFn===Xt?()=>Promise.reject(new Error(`Missing queryFn: '${n.queryHash}'`)):n.queryFn}function Kd(n,s){return typeof n=="function"?n(...s):!!n}function r1(n,s,l){let i=!1,c;return Object.defineProperty(n,"signal",{enumerable:!0,get:()=>(c??=s(),i||(i=!0,c.aborted?l():c.addEventListener("abort",l,{once:!0})),c)}),n}var Al=(()=>{let n=()=>Wb;return{isServer(){return n()},setIsServer(s){n=s}}})();function yd(){let n,s;const l=new Promise((c,d)=>{n=c,s=d});l.status="pending",l.catch(()=>{});function i(c){Object.assign(l,c),delete l.resolve,delete l.reject}return l.resolve=c=>{i({status:"fulfilled",value:c}),n(c)},l.reject=c=>{i({status:"rejected",reason:c}),s(c)},l}var l1=Ib;function i1(){let n=[],s=0,l=p=>{p()},i=p=>{p()},c=l1;const d=p=>{s?n.push(p):c(()=>{l(p)})},m=()=>{const p=n;n=[],p.length&&c(()=>{i(()=>{p.forEach(h=>{l(h)})})})};return{batch:p=>{let h;s++;try{h=p()}finally{s--,s||m()}return h},batchCalls:p=>(...h)=>{d(()=>{p(...h)})},schedule:d,setNotifyFunction:p=>{l=p},setBatchNotifyFunction:p=>{i=p},setScheduler:p=>{c=p}}}var Ze=i1(),o1=class extends gs{#t=!0;#e;#n;constructor(){super(),this.#n=n=>{if(typeof window<"u"&&window.addEventListener){const s=()=>n(!0),l=()=>n(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",l,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",l)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(n){this.#n=n,this.#e?.(),this.#e=n(this.setOnline.bind(this))}setOnline(n){this.#t!==n&&(this.#t=n,this.listeners.forEach(l=>{l(n)}))}isOnline(){return this.#t}},go=new o1;function c1(n){return Math.min(1e3*2**n,3e4)}function Ey(n){return(n??"online")==="online"?go.isOnline():!0}var xd=class extends Error{constructor(n){super("CancelledError"),this.revert=n?.revert,this.silent=n?.silent}};function Oy(n){let s=!1,l=0,i;const c=yd(),d=()=>c.status!=="pending",m=j=>{if(!d()){const z=new xd(j);w(z),n.onCancel?.(z)}},p=()=>{s=!0},h=()=>{s=!1},g=()=>Yd.isFocused()&&(n.networkMode==="always"||go.isOnline())&&n.canRun(),v=()=>Ey(n.networkMode)&&n.canRun(),x=j=>{d()||(i?.(),c.resolve(j))},w=j=>{d()||(i?.(),c.reject(j))},S=()=>new Promise(j=>{i=z=>{(d()||g())&&j(z)},n.onPause?.()}).then(()=>{i=void 0,d()||n.onContinue?.()}),C=()=>{if(d())return;let j;const z=l===0?n.initialPromise:void 0;try{j=z??n.fn()}catch(U){j=Promise.reject(U)}Promise.resolve(j).then(x).catch(U=>{if(d())return;const I=n.retry??(Al.isServer()?0:3),$=n.retryDelay??c1,J=typeof $=="function"?$(l,U):$,G=I===!0||typeof I=="number"&&l<I||typeof I=="function"&&I(l,U);if(s||!G){w(U);return}l++,n.onFail?.(l,U),n1(J).then(()=>g()?void 0:S()).then(()=>{s?w(U):C()})})};return{promise:c,status:()=>c.status,cancel:m,continue:()=>(i?.(),c),cancelRetry:p,continueRetry:h,canStart:v,start:()=>(v()?C():S().then(C),c)}}var Ty=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),hd(this.gcTime)&&(this.#t=ds.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(n){this.gcTime=Math.max(this.gcTime||0,n??(Al.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(ds.clearTimeout(this.#t),this.#t=void 0)}};function u1(n){return{onFetch:(s,l)=>{const i=s.options,c=s.fetchOptions?.meta?.fetchMore?.direction,d=s.state.data?.pages||[],m=s.state.data?.pageParams||[];let p={pages:[],pageParams:[]},h=0;const g=async()=>{let v=!1;const x=C=>{r1(C,()=>s.signal,()=>v=!0)},w=Ny(s.options,s.fetchOptions),S=async(C,j,z)=>{if(v)return Promise.reject(s.signal.reason);if(j==null&&C.pages.length)return Promise.resolve(C);const I=(()=>{const F={client:s.client,queryKey:s.queryKey,pageParam:j,direction:z?"backward":"forward",meta:s.options.meta};return x(F),F})(),$=await w(I),{maxPages:J}=s.options,G=z?s1:a1;return{pages:G(C.pages,$,J),pageParams:G(C.pageParams,j,J)}};if(c&&d.length){const C=c==="backward",j=C?_y:vd,z={pages:d,pageParams:m},U=j(i,z);p=await S(z,U,C)}else{const C=n??d.length;do{const j=h===0?m[0]??i.initialPageParam:vd(i,p);if(h>0&&j==null)break;p=await S(p,j),h++}while(h<C)}return p};s.options.persister?s.fetchFn=()=>s.options.persister?.(g,{client:s.client,queryKey:s.queryKey,meta:s.options.meta,signal:s.signal},l):s.fetchFn=g}}}function vd(n,{pages:s,pageParams:l}){const i=s.length-1;return s.length>0?n.getNextPageParam(s[i],s,l[i],l):void 0}function _y(n,{pages:s,pageParams:l}){return s.length>0?n.getPreviousPageParam?.(s[0],s,l[0],l):void 0}function d1(n,s){return s?vd(n,s)!=null:!1}function f1(n,s){return!s||!n.getPreviousPageParam?!1:_y(n,s)!=null}var m1=class extends Ty{#t;#e;#n;#a;#s;#r;#i;#l;constructor(n){super(),this.#l=!1,this.#i=n.defaultOptions,this.setOptions(n.options),this.observers=[],this.#s=n.client,this.#a=this.#s.getQueryCache(),this.queryKey=n.queryKey,this.queryHash=n.queryHash,this.#e=gg(this.options),this.state=n.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#t}get promise(){return this.#r?.promise}setOptions(n){if(this.options={...this.#i,...n},n?._type&&(this.#t=n._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const s=gg(this.options);s.data!==void 0&&(this.setState(pg(s.data,s.dataUpdatedAt)),this.#e=s)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#a.remove(this)}setData(n,s){const l=gd(this.state.data,n,this.options);return this.#o({data:l,type:"success",dataUpdatedAt:s?.updatedAt,manual:s?.manual}),l}setState(n){this.#o({type:"setState",state:n})}cancel(n){const s=this.#r?.promise;return this.#r?.cancel(n),s?s.then(xt).catch(xt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(n=>Yt(n.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Xt||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(n=>za(n.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(n=>n.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(n=0){return this.state.data===void 0?!0:n==="static"?!1:this.state.isInvalidated?!0:!Ay(this.state.dataUpdatedAt,n)}onFocus(){this.observers.find(s=>s.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(s=>s.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(n){this.observers.includes(n)||(this.observers.push(n),this.clearGcTimeout(),this.#a.notify({type:"observerAdded",query:this,observer:n}))}removeObserver(n){this.observers.includes(n)&&(this.observers=this.observers.filter(s=>s!==n),this.observers.length||(this.#r&&(this.#l||this.#u()?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#a.notify({type:"observerRemoved",query:this,observer:n}))}getObserversCount(){return this.observers.length}#u(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(n,s){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&s?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(n&&this.setOptions(n),!this.options.queryFn){const h=this.observers.find(g=>g.options.queryFn);h&&this.setOptions(h.options)}const l=new AbortController,i=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#l=!0,l.signal)})},c=()=>{const h=Ny(this.options,s),v=(()=>{const x={client:this.#s,queryKey:this.queryKey,meta:this.meta};return i(x),x})();return this.#l=!1,this.options.persister?this.options.persister(h,v,this):h(v)},m=(()=>{const h={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:this.#s,state:this.state,fetchFn:c};return i(h),h})();(this.#t==="infinite"?u1(this.options.pages):this.options.behavior)?.onFetch(m,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==m.fetchOptions?.meta)&&this.#o({type:"fetch",meta:m.fetchOptions?.meta}),this.#r=Oy({initialPromise:s?.initialPromise,fn:m.fetchFn,onCancel:h=>{h instanceof xd&&h.revert&&this.setState({...this.#n,fetchStatus:"idle"}),l.abort()},onFail:(h,g)=>{this.#o({type:"failed",failureCount:h,error:g})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay,networkMode:m.options.networkMode,canRun:()=>!0});try{const h=await this.#r.start();if(h===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#a.config.onSuccess?.(h,this),this.#a.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof xd){if(h.silent)return this.#r.promise;if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#o({type:"error",error:h}),this.#a.config.onError?.(h,this),this.#a.config.onSettled?.(this.state.data,h,this),h}finally{this.scheduleGc()}}#o(n){const s=l=>{switch(n.type){case"failed":return{...l,fetchFailureCount:n.failureCount,fetchFailureReason:n.error};case"pause":return{...l,fetchStatus:"paused"};case"continue":return{...l,fetchStatus:"fetching"};case"fetch":return{...l,...Ry(l.data,this.options),fetchMeta:n.meta??null};case"success":const i={...l,...pg(n.data,n.dataUpdatedAt),dataUpdateCount:l.dataUpdateCount+1,...!n.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=n.manual?i:void 0,i;case"error":const c=n.error;return{...l,error:c,errorUpdateCount:l.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:l.fetchFailureCount+1,fetchFailureReason:c,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...l,isInvalidated:!0};case"setState":return{...l,...n.state}}};this.state=s(this.state),Ze.batch(()=>{this.observers.forEach(l=>{l.onQueryUpdate()}),this.#a.notify({query:this,type:"updated",action:n})})}};function Ry(n,s){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ey(s.networkMode)?"fetching":"paused",...n===void 0&&{error:null,status:"pending"}}}function pg(n,s){return{data:n,dataUpdatedAt:s??Date.now(),error:null,isInvalidated:!1,status:"success"}}function gg(n){const s=typeof n.initialData=="function"?n.initialData():n.initialData,l=s!==void 0,i=l?typeof n.initialDataUpdatedAt=="function"?n.initialDataUpdatedAt():n.initialDataUpdatedAt:0;return{data:s,dataUpdateCount:0,dataUpdatedAt:l?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:l?"success":"pending",fetchStatus:"idle"}}var Pl=class extends gs{constructor(n,s){super(),this.options=s,this.#t=n,this.#l=null,this.#i=yd(),this.bindMethods(),this.setOptions(s)}#t;#e=void 0;#n=void 0;#a=void 0;#s;#r;#i;#l;#u;#o;#m;#d;#h;#c;#p=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),yg(this.#e,this.options)?this.#f():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return bd(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return bd(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#S(),this.#e.removeObserver(this)}setOptions(n){const s=this.options,l=this.#e;if(this.options=this.#t.defaultQueryOptions(n),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Yt(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#e.setOptions(this.options),s._defaulted&&!jl(this.options,s)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const i=this.hasListeners();i&&xg(this.#e,l,this.options,s)&&this.#f(),this.updateResult(),i&&(this.#e!==l||Yt(this.options.enabled,this.#e)!==Yt(s.enabled,this.#e)||za(this.options.staleTime,this.#e)!==za(s.staleTime,this.#e))&&this.#g();const c=this.#y();i&&(this.#e!==l||Yt(this.options.enabled,this.#e)!==Yt(s.enabled,this.#e)||c!==this.#c)&&this.#x(c)}getOptimisticResult(n){const s=this.#t.getQueryCache().build(this.#t,n),l=this.createResult(s,n);return p1(this,l)&&(this.#a=l,this.#r=this.options,this.#s=this.#e.state),l}getCurrentResult(){return this.#a}trackResult(n,s){return new Proxy(n,{get:(l,i)=>(this.trackProp(i),s?.(i),i==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#i.status==="pending"&&this.#i.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(l,i))})}trackProp(n){this.#p.add(n)}getCurrentQuery(){return this.#e}refetch({...n}={}){return this.fetch({...n})}fetchOptimistic(n){const s=this.#t.defaultQueryOptions(n),l=this.#t.getQueryCache().build(this.#t,s);return l.fetch().then(()=>this.createResult(l,s))}fetch(n){return this.#f({...n,cancelRefetch:n.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#f(n){this.#w();let s=this.#e.fetch(this.options,n);return n?.throwOnError||(s=s.catch(xt)),s}#g(){this.#b();const n=za(this.options.staleTime,this.#e);if(Al.isServer()||this.#a.isStale||!hd(n))return;const l=Ay(this.#a.dataUpdatedAt,n)+1;this.#d=ds.setTimeout(()=>{this.#a.isStale||this.updateResult()},l)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#x(n){this.#S(),this.#c=n,!(Al.isServer()||Yt(this.options.enabled,this.#e)===!1||!hd(this.#c)||this.#c===0)&&(this.#h=ds.setInterval(()=>{(this.options.refetchIntervalInBackground||Yd.isFocused())&&this.#f()},this.#c))}#v(){this.#g(),this.#x(this.#y())}#b(){this.#d!==void 0&&(ds.clearTimeout(this.#d),this.#d=void 0)}#S(){this.#h!==void 0&&(ds.clearInterval(this.#h),this.#h=void 0)}createResult(n,s){const l=this.#e,i=this.options,c=this.#a,d=this.#s,m=this.#r,h=n!==l?n.state:this.#n,{state:g}=n;let v={...g},x=!1,w;if(s._optimisticResults){const q=this.hasListeners(),ee=!q&&yg(n,s),V=q&&xg(n,l,s,i);(ee||V)&&(v={...v,...Ry(g.data,n.options)}),s._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:S,errorUpdatedAt:C,status:j}=v;w=v.data;let z=!1;if(s.placeholderData!==void 0&&w===void 0&&j==="pending"){let q;c?.isPlaceholderData&&s.placeholderData===m?.placeholderData?(q=c.data,z=!0):q=typeof s.placeholderData=="function"?s.placeholderData(this.#m?.state.data,this.#m):s.placeholderData,q!==void 0&&(j="success",w=gd(c?.data,q,s),x=!0)}if(s.select&&w!==void 0&&!z)if(c&&w===d?.data&&s.select===this.#u)w=this.#o;else try{this.#u=s.select,w=s.select(w),w=gd(c?.data,w,s),this.#o=w,this.#l=null}catch(q){this.#l=q}this.#l&&(S=this.#l,w=this.#o,C=Date.now(),j="error");const U=v.fetchStatus==="fetching",I=j==="pending",$=j==="error",J=I&&U,G=w!==void 0,_={status:j,fetchStatus:v.fetchStatus,isPending:I,isSuccess:j==="success",isError:$,isInitialLoading:J,isLoading:J,data:w,dataUpdatedAt:v.dataUpdatedAt,error:S,errorUpdatedAt:C,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:n.isFetched(),isFetchedAfterMount:v.dataUpdateCount>h.dataUpdateCount||v.errorUpdateCount>h.errorUpdateCount,isFetching:U,isRefetching:U&&!I,isLoadingError:$&&!G,isPaused:v.fetchStatus==="paused",isPlaceholderData:x,isRefetchError:$&&G,isStale:Zd(n,s),refetch:this.refetch,promise:this.#i,isEnabled:Yt(s.enabled,n)!==!1};if(this.options.experimental_prefetchInRender){const q=_.data!==void 0,ee=_.status==="error"&&!q,V=re=>{ee?re.reject(_.error):q&&re.resolve(_.data)},ne=()=>{const re=this.#i=_.promise=yd();V(re)},W=this.#i;switch(W.status){case"pending":n.queryHash===l.queryHash&&V(W);break;case"fulfilled":(ee||_.data!==W.value)&&ne();break;case"rejected":(!ee||_.error!==W.reason)&&ne();break}}return _}updateResult(){const n=this.#a,s=this.createResult(this.#e,this.options);if(this.#s=this.#e.state,this.#r=this.options,this.#s.data!==void 0&&(this.#m=this.#e),jl(s,n))return;this.#a=s;const l=()=>{if(!n)return!0;const{notifyOnChangeProps:i}=this.options,c=typeof i=="function"?i():i;if(c==="all"||!c&&!this.#p.size)return!0;const d=new Set(c??this.#p);return this.options.throwOnError&&d.add("error"),Object.keys(this.#a).some(m=>{const p=m;return this.#a[p]!==n[p]&&d.has(p)})};this.#C({listeners:l()})}#w(){const n=this.#t.getQueryCache().build(this.#t,this.options);if(n===this.#e)return;const s=this.#e;this.#e=n,this.#n=n.state,this.hasListeners()&&(s?.removeObserver(this),n.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}#C(n){Ze.batch(()=>{n.listeners&&this.listeners.forEach(s=>{s(this.#a)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function h1(n,s){return Yt(s.enabled,n)!==!1&&n.state.data===void 0&&!(n.state.status==="error"&&Yt(s.retryOnMount,n)===!1)}function yg(n,s){return h1(n,s)||n.state.data!==void 0&&bd(n,s,s.refetchOnMount)}function bd(n,s,l){if(Yt(s.enabled,n)!==!1&&za(s.staleTime,n)!=="static"){const i=typeof l=="function"?l(n):l;return i==="always"||i!==!1&&Zd(n,s)}return!1}function xg(n,s,l,i){return(n!==s||Yt(i.enabled,n)===!1)&&(!l.suspense||n.state.status!=="error")&&Zd(n,l)}function Zd(n,s){return Yt(s.enabled,n)!==!1&&n.isStaleByTime(za(s.staleTime,n))}function p1(n,s){return!jl(n.getCurrentResult(),s)}var My=class extends Pl{constructor(n,s){super(n,s)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(n){n._type="infinite",super.setOptions(n)}getOptimisticResult(n){return n._type="infinite",super.getOptimisticResult(n)}fetchNextPage(n){return this.fetch({...n,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(n){return this.fetch({...n,meta:{fetchMore:{direction:"backward"}}})}createResult(n,s){const{state:l}=n,i=super.createResult(n,s),{isFetching:c,isRefetching:d,isError:m,isRefetchError:p}=i,h=l.fetchMeta?.fetchMore?.direction,g=m&&h==="forward",v=c&&h==="forward",x=m&&h==="backward",w=c&&h==="backward";return{...i,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:d1(s,l.data),hasPreviousPage:f1(s,l.data),isFetchNextPageError:g,isFetchingNextPage:v,isFetchPreviousPageError:x,isFetchingPreviousPage:w,isRefetchError:p&&!g&&!x,isRefetching:d&&!v&&!w}}},g1=class extends Ty{#t;#e;#n;#a;constructor(n){super(),this.#t=n.client,this.mutationId=n.mutationId,this.#n=n.mutationCache,this.#e=[],this.state=n.state||zy(),this.setOptions(n.options),this.scheduleGc()}setOptions(n){this.options=n,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(n){this.#e.includes(n)||(this.#e.push(n),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:n}))}removeObserver(n){this.#e=this.#e.filter(s=>s!==n),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:n})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(n){const s=()=>{this.#s({type:"continue"})},l={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=Oy({fn:()=>this.options.mutationFn?this.options.mutationFn(n,l):Promise.reject(new Error("No mutationFn found")),onFail:(d,m)=>{this.#s({type:"failed",failureCount:d,error:m})},onPause:()=>{this.#s({type:"pause"})},onContinue:s,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const i=this.state.status==="pending",c=!this.#a.canStart();try{if(i)s();else{this.#s({type:"pending",variables:n,isPaused:c}),this.#n.config.onMutate&&await this.#n.config.onMutate(n,this,l);const m=await this.options.onMutate?.(n,l);m!==this.state.context&&this.#s({type:"pending",context:m,variables:n,isPaused:c})}const d=await this.#a.start();return await this.#n.config.onSuccess?.(d,n,this.state.context,this,l),await this.options.onSuccess?.(d,n,this.state.context,l),await this.#n.config.onSettled?.(d,null,this.state.variables,this.state.context,this,l),await this.options.onSettled?.(d,null,n,this.state.context,l),this.#s({type:"success",data:d}),d}catch(d){try{await this.#n.config.onError?.(d,n,this.state.context,this,l)}catch(m){Promise.reject(m)}try{await this.options.onError?.(d,n,this.state.context,l)}catch(m){Promise.reject(m)}try{await this.#n.config.onSettled?.(void 0,d,this.state.variables,this.state.context,this,l)}catch(m){Promise.reject(m)}try{await this.options.onSettled?.(void 0,d,n,this.state.context,l)}catch(m){Promise.reject(m)}throw this.#s({type:"error",error:d}),d}finally{this.#n.runNext(this)}}#s(n){const s=l=>{switch(n.type){case"failed":return{...l,failureCount:n.failureCount,failureReason:n.error};case"pause":return{...l,isPaused:!0};case"continue":return{...l,isPaused:!1};case"pending":return{...l,context:n.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:n.isPaused,status:"pending",variables:n.variables,submittedAt:Date.now()};case"success":return{...l,data:n.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...l,data:void 0,error:n.error,failureCount:l.failureCount+1,failureReason:n.error,isPaused:!1,status:"error"}}};this.state=s(this.state),Ze.batch(()=>{this.#e.forEach(l=>{l.onMutationUpdate(n)}),this.#n.notify({mutation:this,type:"updated",action:n})})}};function zy(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var y1=class extends gs{constructor(n={}){super(),this.config=n,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(n,s,l){const i=new g1({client:n,mutationCache:this,mutationId:++this.#n,options:n.defaultMutationOptions(s),state:l});return this.add(i),i}add(n){this.#t.add(n);const s=to(n);if(typeof s=="string"){const l=this.#e.get(s);l?l.push(n):this.#e.set(s,[n])}this.notify({type:"added",mutation:n})}remove(n){if(this.#t.delete(n)){const s=to(n);if(typeof s=="string"){const l=this.#e.get(s);if(l)if(l.length>1){const i=l.indexOf(n);i!==-1&&l.splice(i,1)}else l[0]===n&&this.#e.delete(s)}}this.notify({type:"removed",mutation:n})}canRun(n){const s=to(n);if(typeof s=="string"){const i=this.#e.get(s)?.find(c=>c.state.status==="pending");return!i||i===n}else return!0}runNext(n){const s=to(n);return typeof s=="string"?this.#e.get(s)?.find(i=>
9i!==n&&i.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Ze.batch(()=>{this.#t.forEach(n=>{this.notify({type:"removed",mutation:n})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(n){const s={exact:!0,...n};return this.getAll().find(l=>fg(s,l))}findAll(n={}){return this.getAll().filter(s=>fg(n,s))}notify(n){Ze.batch(()=>{this.listeners.forEach(s=>{s(n)})})}resumePausedMutations(){const n=this.getAll().filter(s=>s.state.isPaused);return Ze.batch(()=>Promise.all(n.map(s=>s.continue().catch(xt))))}};function to(n){return n.options.scope?.id}var x1=class extends gs{#t;#e=void 0;#n;#a;constructor(s,l){super(),this.#t=s,this.setOptions(l),this.bindMethods(),this.#s()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(s){const l=this.options;this.options=this.#t.defaultMutationOptions(s),jl(this.options,l)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),l?.mutationKey&&this.options.mutationKey&&Da(l.mutationKey)!==Da(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(s){this.#s(),this.#r(s)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#s(),this.#r()}mutate(s,l){return this.#a=l,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(s)}#s(){const s=this.#n?.state??zy();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}}#r(s){Ze.batch(()=>{if(this.#a&&this.hasListeners()){const l=this.#e.variables,i=this.#e.context,c={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(s?.type==="success"){try{this.#a.onSuccess?.(s.data,l,i,c)}catch(d){Promise.reject(d)}try{this.#a.onSettled?.(s.data,null,l,i,c)}catch(d){Promise.reject(d)}}else if(s?.type==="error"){try{this.#a.onError?.(s.error,l,i,c)}catch(d){Promise.reject(d)}try{this.#a.onSettled?.(void 0,s.error,l,i,c)}catch(d){Promise.reject(d)}}}this.listeners.forEach(l=>{l(this.#e)})})}};function vg(n,s){const l=new Set(s);return n.filter(i=>!l.has(i))}function v1(n,s,l){const i=n.slice(0);return i[s]=l,i}var b1=class extends gs{#t;#e;#n;#a;#s;#r;#i;#l;#u;#o=[];constructor(n,s,l){super(),this.#t=n,this.#a=l,this.#n=[],this.#s=[],this.#e=[],this.setQueries(s)}onSubscribe(){this.listeners.size===1&&this.#s.forEach(n=>{n.subscribe(s=>{this.#p(n,s)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#s.forEach(n=>{n.destroy()})}setQueries(n,s){this.#n=n,this.#a=s,Ze.batch(()=>{const l=this.#s,i=this.#c(this.#n);i.forEach(v=>v.observer.setOptions(v.defaultedQueryOptions));const c=i.map(v=>v.observer),d=c.map(v=>v.getCurrentResult()),m=l.length!==c.length,p=c.some((v,x)=>v!==l[x]),h=m||p,g=h?!0:d.some((v,x)=>{const w=this.#e[x];return!w||!jl(v,w)});!h&&!g||(h&&(this.#o=i,this.#s=c),this.#e=d,this.hasListeners()&&(h&&(vg(l,c).forEach(v=>{v.destroy()}),vg(c,l).forEach(v=>{v.subscribe(x=>{this.#p(v,x)})})),this.#f()))})}getCurrentResult(){return this.#e}getQueries(){return this.#s.map(n=>n.getCurrentQuery())}getObservers(){return this.#s}getOptimisticResult(n,s){const l=this.#c(n),i=l.map(d=>d.observer.getOptimisticResult(d.defaultedQueryOptions)),c=l.map(d=>d.defaultedQueryOptions.queryHash);return[i,d=>this.#d(d??i,s,c),()=>this.#m(i,l)]}#m(n,s){return s.map((l,i)=>{const c=n[i];return l.defaultedQueryOptions.notifyOnChangeProps?c:l.observer.trackResult(c,d=>{s.forEach(m=>{m.observer.trackProp(d)})})})}#d(n,s,l){if(s){const i=this.#u,c=l!==void 0&&i!==void 0&&(i.length!==l.length||l.some((d,m)=>d!==i[m]));return(!this.#r||this.#e!==this.#l||c||s!==this.#i)&&(this.#i=s,this.#l=this.#e,l!==void 0&&(this.#u=l),this.#r=Xd(this.#r,s(n))),this.#r}return n}#h(){return this.#a?.combine!==void 0&&this.#s.some((n,s)=>n.options.suspense&&this.#e[s]?.data===void 0)}#c(n){const s=new Map;
vendor: 11,788 bytes, lines 9-17
9this.#s.forEach(i=>{const c=i.options.queryHash;if(!c)return;const d=s.get(c);d?d.push(i):s.set(c,[i])});const l=[];return n.forEach(i=>{const c=this.#t.defaultQueryOptions(i),m=s.get(c.queryHash)?.shift()??new Pl(this.#t,c);l.push({defaultedQueryOptions:c,observer:m})}),l}#p(n,s){const l=this.#s.indexOf(n);l!==-1&&(this.#e=v1(this.#e,l,s),this.#f())}#f(){if(this.hasListeners()){const n=this.#m(this.#e,this.#o),s=this.#h(),l=this.#r,i=s?l:this.#d(n,this.#a?.combine);(s||l!==i)&&Ze.batch(()=>{this.listeners.forEach(c=>{c(this.#e)})})}}},S1=class extends gs{constructor(n={}){super(),this.config=n,this.#t=new Map}#t;build(n,s,l){const i=s.queryKey,c=s.queryHash??Vd(i,s);let d=this.get(c);return d||(d=new m1({client:n,queryKey:i,queryHash:c,options:n.defaultQueryOptions(s),state:l,defaultOptions:n.getQueryDefaults(i)}),this.add(d)),d}add(n){this.#t.has(n.queryHash)||(this.#t.set(n.queryHash,n),this.notify({type:"added",query:n}))}remove(n){const s=this.#t.get(n.queryHash);s&&(n.destroy(),s===n&&this.#t.delete(n.queryHash),this.notify({type:"removed",query:n}))}clear(){Ze.batch(()=>{this.getAll().forEach(n=>{this.remove(n)})})}get(n){return this.#t.get(n)}getAll(){return[...this.#t.values()]}find(n){const s={exact:!0,...n};return this.getAll().find(l=>dg(s,l))}findAll(n={}){const s=this.getAll();return Object.keys(n).length>0?s.filter(l=>dg(n,l)):s}notify(n){Ze.batch(()=>{this.listeners.forEach(s=>{s(n)})})}onFocus(){Ze.batch(()=>{this.getAll().forEach(n=>{n.onFocus()})})}onOnline(){Ze.batch(()=>{this.getAll().forEach(n=>{n.onOnline()})})}},w1=class{#t;#e;#n;#a;#s;#r;#i;#l;constructor(n={}){this.#t=n.queryCache||new S1,this.#e=n.mutationCache||new y1,this.#n=n.defaultOptions||{},this.#a=new Map,this.#s=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#i=Yd.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#l=go.subscribe(async n=>{n&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#i?.(),this.#i=void 0,this.#l?.(),this.#l=void 0)}isFetching(n){return this.#t.findAll({...n,fetchStatus:"fetching"}).length}isMutating(n){return this.#e.findAll({...n,status:"pending"}).length}getQueryData(n){const s=this.defaultQueryOptions({queryKey:n});return this.#t.get(s.queryHash)?.state.data}ensureQueryData(n){const s=this.defaultQueryOptions(n),l=this.#t.build(this,s),i=l.state.data;return i===void 0?this.fetchQuery(n):(n.revalidateIfStale&&l.isStaleByTime(za(s.staleTime,l))&&this.prefetchQuery(s),Promise.resolve(i))}getQueriesData(n){return this.#t.findAll(n).map(({queryKey:s,state:l})=>{const i=l.data;return[s,i]})}setQueryData(n,s,l){const i=this.defaultQueryOptions({queryKey:n}),d=this.#t.get(i.queryHash)?.state.data,m=e1(s,d);if(m!==void 0)return this.#t.build(this,i).setData(m,{...l,manual:!0})}setQueriesData(n,s,l){return Ze.batch(()=>this.#t.findAll(n).map(({queryKey:i})=>[i,this.setQueryData(i,s,l)]))}getQueryState(n){const s=this.defaultQueryOptions({queryKey:n});return this.#t.get(s.queryHash)?.state}removeQueries(n){const s=this.#t;Ze.batch(()=>{s.findAll(n).forEach(l=>{s.remove(l)})})}resetQueries(n,s){const l=this.#t;return Ze.batch(()=>(l.findAll(n).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...n},s)))}cancelQueries(n,s={}){const l={revert:!0,...s},i=Ze.batch(()=>this.#t.findAll(n).map(c=>c.cancel(l)));return Promise.all(i).then(xt).catch(xt)}invalidateQueries(n,s={}){return Ze.batch(()=>(this.#t.findAll(n).forEach(l=>{l.invalidate()}),n?.refetchType==="none"?Promise.resolve():this.refetchQueries({...n,type:n?.refetchType??n?.type??"active"},s)))}refetchQueries(n,s={}){const l={...s,cancelRefetch:s.cancelRefetch??!0},i=Ze.batch(()=>this.#t.findAll(n).filter(c=>!c.isDisabled()&&!c.isStatic()).map(c=>{let d=c.fetch(void 0,l);return l.throwOnError||(d=d.catch(xt)),c.state.fetchStatus==="paused"?Promise.resolve():d}));return Promise.all(i).then(xt)}fetchQuery(n){const s=this.defaultQueryOptions(n);s.retry===void 0&&(s.retry=!1);const l=this.#t.build(this,s);return l.isStaleByTime(za(s.staleTime,l))?l.fetch(s):Promise.resolve(l.state.data)}prefetchQuery(n){return this.fetchQuery(n).then(xt).catch(xt)}fetchInfiniteQuery(n){return n._type="infinite",this.fetchQuery(n)}prefetchInfiniteQuery(n){return this.fetchInfiniteQuery(n).then(xt).catch(xt)}ensureInfiniteQueryData(n){return n._type="infinite",this.ensureQueryData(n)}resumePausedMutations(){return go.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(n){this.#n=n}setQueryDefaults(n,s){this.#a.set(Da(n),{queryKey:n,defaultOptions:s})}getQueryDefaults(n){const s=[...this.#a.values()],l={};return s.forEach(i=>{Cl(n,i.queryKey)&&Object.assign(l,i.defaultOptions)}),l}setMutationDefaults(n,s){this.#s.set(Da(n),{mutationKey:n,defaultOptions:s})}getMutationDefaults(n){const s=[...this.#s.values()],l={};return s.forEach(i=>{Cl(n,i.mutationKey)&&Object.assign(l,i.defaultOptions)}),l}defaultQueryOptions(n){if(n._defaulted)return n;const s={...this.#n.queries,...this.getQueryDefaults(n.queryKey),...n,_defaulted:!0};return s.queryHash||(s.queryHash=Vd(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===Xt&&(s.enabled=!1),s}defaultMutationOptions(n){return n?._defaulted?n:{...this.#n.mutations,...n?.mutationKey&&this.getMutationDefaults(n.mutationKey),...n,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},$u={exports:{}},be={};/**
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 bg;function C1(){if(bg)return be;bg=1;var n=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),x=Symbol.for("react.activity"),w=Symbol.iterator;function S(A){return A===null||typeof A!="object"?null:(A=w&&A[w]||A["@@iterator"],typeof A=="function"?A:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,z={};function U(A,Q,k){this.props=A,this.context=Q,this.refs=z,this.updater=k||C}U.prototype.isReactComponent={},U.prototype.setState=function(A,Q){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,Q,"setState")},U.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function I(){}I.prototype=U.prototype;function $(A,Q,k){this.props=A,this.context=Q,this.refs=z,this.updater=k||C}var J=$.prototype=new I;J.constructor=$,j(J,U.prototype),J.isPureReactComponent=!0;var G=Array.isArray;function F(){}var _={H:null,A:null,T:null,S:null},q=Object.prototype.hasOwnProperty;function ee(A,Q,k){var Y=k.ref;return{$$typeof:n,type:A,key:Q,ref:Y!==void 0?Y:null,props:k}}function V(A,Q){return ee(A.type,Q,A.props)}function ne(A){return typeof A=="object"&&A!==null&&A.$$typeof===n}function W(A){var Q={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(k){return Q[k]})}var re=/\/+/g;function le(A,Q){return typeof A=="object"&&A!==null&&A.key!=null?W(""+A.key):Q.toString(36)}function ce(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(F,F):(A.status="pending",A.then(function(Q){A.status==="pending"&&(A.status="fulfilled",A.value=Q)},function(Q){A.status==="pending"&&(A.status="rejected",A.reason=Q)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function O(A,Q,k,Y,te){var he=typeof A;(he==="undefined"||he==="boolean")&&(A=null);var oe=!1;if(A===null)oe=!0;else switch(he){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(A.$$typeof){case n:case s:oe=!0;break;case v:return oe=A._init,O(oe(A._payload),Q,k,Y,te)}}if(oe)return te=te(A),oe=Y===""?"."+le(A,0):Y,G(te)?(k="",oe!=null&&(k=oe.replace(re,"$&/")+"/"),O(te,Q,k,"",function(ot){return ot})):te!=null&&(ne(te)&&(te=V(te,k+(te.key==null||A&&A.key===te.key?"":(""+te.key).replace(re,"$&/")+"/")+oe)),Q.push(te)),1;oe=0;var xe=Y===""?".":Y+":";if(G(A))for(var Oe=0;Oe<A.length;Oe++)Y=A[Oe],he=xe+le(Y,Oe),oe+=O(Y,Q,k,he,te);else if(Oe=S(A),typeof Oe=="function")for(A=Oe.call(A),Oe=0;!(Y=A.next()).done;)Y=Y.value,he=xe+le(Y,Oe++),oe+=O(Y,Q,k,he,te);else if(he==="object"){if(typeof A.then=="function")return O(ce(A),Q,k,Y,te);throw Q=String(A),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return oe}function L(A,Q,k){if(A==null)return A;var Y=[],te=0;return O(A,Y,"","",function(he){return Q.call(k,he,te++)}),Y}function M(A){if(A._status===-1){var Q=A._result;Q=Q(),Q.then(function(k){(A._status===0||A._status===-1)&&(A._status=1,A._result=k)},function(k){(A._status===0||A._status===-1)&&(A._status=2,A._result=k)}),A._status===-1&&(A._status=0,A._result=Q)}if(A._status===1)return A._result.default;throw A._result}var se=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)},me={map:L,forEach:function(A,Q,k){L(A,function(){Q.apply(this,arguments)},k)},count:function(A){var Q=0;return L(A,function(){Q++}),Q},toArray:function(A){return L(A,function(Q){return Q})||[]},only:function(A){if(!ne(A))throw Error("React.Children.only expected to receive a single React element child.");return A}};return be.Activity=x,be.Children=me,be.Component=U,be.Fragment=l,be.Profiler=c,be.PureComponent=$,be.StrictMode=i,be.Suspense=h,be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,be.__COMPILER_RUNTIME={__proto__:null,c:function(A){return _.H.useMemoCache(A)}},be.cache=function(A){return function(){return A.apply(null,arguments)}},be.cacheSignal=function(){return null},be.cloneElement=function(A,Q,k){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var Y=j({},A.props),te=A.key;if(Q!=null)for(he in Q.key!==void 0&&(te=""+Q.key),Q)!q.call(Q,he)||he==="key"||he==="__self"||he==="__source"||he==="ref"&&Q.ref===void 0||(Y[he]=Q[he]);var he=arguments.length-2;if(he===1)Y.children=k;else if(1<he){for(var oe=Array(he),xe=0;xe<he;xe++)oe[xe]=arguments[xe+2];Y.children=oe}return ee(A.type,te,Y)},be.createContext=function(A){return A={$$typeof:m,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:d,_context:A},A},be.createElement=function(A,Q,k){var Y,te={},he=null;if(Q!=null)for(Y in Q.key!==void 0&&(he=""+Q.key),Q)q.call(Q,Y)&&Y!=="key"&&Y!=="__self"&&Y!=="__source"&&(te[Y]=Q[Y]);var oe=arguments.length-2;if(oe===1)te.children=k;else if(1<oe){for(var xe=Array(oe),Oe=0;Oe<oe;Oe++)xe[Oe]=arguments[Oe+2];te.children=xe}
17if(A&&A.defaultProps)for(Y in oe=A.defaultProps,oe)te[Y]===void 0&&(te[Y]=oe[Y]);return ee(A,he,te)},be.createRef=function(){return{current:null}},be.forwardRef=function(A){return{$$typeof:p,render:A}},be.isValidElement=ne,be.lazy=function(A){return{$$typeof:v,_payload:{_status:-1,_result:A},_init:M}},be.memo=function(A,Q){return{$$typeof:g,type:A,compare:Q===void 0?null:Q}},be.startTransition=function(A){var Q=_.T,k={};_.T=k;try{var Y=A(),te=_.S;te!==null&&te(k,Y),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"&&Y.then(F,se)}catch(he){se(he)}finally{Q!==null&&k.types!==null&&(Q.types=k.types),_.T=Q}},be.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},be.use=function(A){return _.H.use(A)},be.useActionState=function(A,Q,k){return _.H.useActionState(A,Q,k)},be.useCallback=function(A,Q){return _.H.useCallback(A,Q)},be.useContext=function(A){return _.H.useContext(A)},be.useDebugValue=function(){},be.useDeferredValue=function(A,Q){return _.H.useDeferredValue(A,Q)},be.useEffect=function(A,Q){return _.H.useEffect(A,Q)},be.useEffectEvent=function(A){return _.H.useEffectEvent(A)},be.useId=function(){return _.H.useId()},be.useImperativeHandle=function(A,Q,k){return _.H.useImperativeHandle(A,Q,k)},be.useInsertionEffect=function(A,Q){return _.H.useInsertionEffect(A,Q)},be.useLayoutEffect=function(A,Q){return _.H.useLayoutEffect(A,Q)},be.useMemo=function(A,Q){return _.H.useMemo(A,Q)},be.useOptimistic=function(A,Q){return _.H.useOptimistic(A,Q)},be.useReducer=function(A,Q,k){return _.H.useReducer(A,Q,k)},be.useRef=function(A){return _.H.useRef(A)},be.useState=function(A){return _.H.useState(A)},be.useSyncExternalStore=function(A,Q,k){return _.H.useSyncExternalStore(A,Q,k)},be.useTransition=function(){return _.H.useTransition()},be.version="19.2.1",be}var Sg;function wo(){return Sg||(Sg=1,$u.exports=C1()),$u.exports}var E=wo();const ae=jy(E),Dy=Vb({__proto__:null,default:ae},[E]);var Py=E.createContext(void 0),kl=n=>{const s=E.useContext(Py);if(n)return n;if(!s)throw new Error("No QueryClient set, use QueryClientProvider to set one");return s},j1=({client:n,children:s})=>(E.useEffect(()=>(n.mount(),()=>{n.unmount()}),[n]),f.jsx(Py.Provider,{value:n,children:s})),ky=E.createContext(!1),Hy=()=>E.useContext(ky);ky.Provider;function A1(){let n=!1;return{clearReset:()=>{n=!1},reset:()=>{n=!0},isReset:()=>n}}var N1=E.createContext(A1()),Uy=()=>E.useContext(N1),qy=(n,s,l)=>{const i=l?.state.error&&typeof n.throwOnError=="function"?Kd(n.throwOnError,[l.state.error,l]):n.throwOnError;(n.suspense||n.experimental_prefetchInRender||i)&&(s.isReset()||(n.retryOnMount=!1))},Ly=n=>{E.useEffect(()=>{n.clearReset()},[n])},By=({result:n,errorResetBoundary:s,throwOnError:l,query:i,suspense:c})=>n.isError&&!s.isReset()&&!n.isFetching&&i&&(c&&n.data===void 0||Kd(l,[n.error,i])),Jd=(n,s)=>s.state.data===void 0,Qy=n=>{if(n.suspense){const l=c=>c==="static"?c:Math.max(c??1e3,1e3),i=n.staleTime;n.staleTime=typeof i=="function"?(...c)=>l(i(...c)):l(i),typeof n.gcTime=="number"&&(n.gcTime=Math.max(n.gcTime,1e3))}},E1=(n,s)=>n.isLoading&&n.isFetching&&!s,Sd=(n,s)=>n?.suspense&&s.isPending,wd=(n,s,l)=>s.fetchOptimistic(n).catch(()=>{l.clearReset()});function Fy({queries:n,...s},l){const i=kl(l),c=Hy(),d=Uy(),m=E.useMemo(()=>n.map(j=>{const z=i.defaultQueryOptions(j);return z._optimisticResults=c?"isRestoring":"optimistic",z}),[n,i,c]);m.forEach(j=>{Qy(j);const z=i.getQueryCache().get(j.queryHash);qy(j,d,z)}),Ly(d);const[p]=E.useState(()=>new b1(i,m,s)),[h,g,v]=p.getOptimisticResult(m,s.combine),x=!c&&s.subscribed!==!1;E.useSyncExternalStore(E.useCallback(j=>x?p.subscribe(Ze.batchCalls(j)):xt,[p,x]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),E.useEffect(()=>{p.setQueries(m,s)},[m,s,p]);const S=h.some((j,z)=>Sd(m[z],j))?h.flatMap((j,z)=>{const U=m[z];if(U&&Sd(U,j)){const I=new Pl(i,U);return wd(U,I,d)}return[]}):[];if(S.length>0)throw Promise.all(S);const C=h.find((j,z)=>{const U=m[z];return U&&By({result:j,errorResetBoundary:d,throwOnError:U.throwOnError,query:i.getQueryCache().get(U.queryHash),suspense:U.suspense})});if(C?.error)throw C.error;return g(v())}function Co(n,s,l){const i=Hy(),c=Uy(),d=kl(l),m=d.defaultQueryOptions(n);d.getDefaultOptions().queries?._experimental_beforeQuery?.(m);const p=d.getQueryCache().get(m.queryHash),h=n.subscribed!==!1;m._optimisticResults=i?"isRestoring":h?"optimistic":void 0,Qy(m),qy(m,c,p),Ly(c);const g=!d.getQueryCache().get(m.queryHash),[v]=E.useState(()=>new s(d,m)),x=v.getOptimisticResult(m),w=!i&&h;
17if(E.useSyncExternalStore(E.useCallback(S=>{const C=w?v.subscribe(Ze.batchCalls(S)):xt;return v.updateResult(),C},[v,w]),()=>v.getCurrentResult(),()=>v.getCurrentResult()),E.useEffect(()=>{v.setOptions(m)},[m,v]),Sd(m,x))throw wd(m,v,c);if(By({result:x,errorResetBoundary:c,throwOnError:m.throwOnError,query:p,suspense:m.suspense}))throw x.error;return d.getDefaultOptions().queries?._experimental_afterQuery?.(m,x),m.experimental_prefetchInRender&&!Al.isServer()&&E1(x,i)&&(g?wd(m,v,c):p?.promise)?.catch(xt).finally(()=>{v.updateResult()}),m.notifyOnChangeProps?x:v.trackResult(x)}function O1(n,s){return Co(n,Pl,s)}function T1(n,s){return Co({...n,enabled:!0,suspense:!0,throwOnError:Jd,placeholderData:void 0},Pl,s)}function _1(n,s){return Co({...n,enabled:!0,suspense:!0,throwOnError:Jd},My,s)}function R1(n,s){return Fy({...n,queries:n.queries.map(l=>({...l,suspense:!0,throwOnError:Jd,enabled:!0,placeholderData:void 0}))},s)}function M1(n,s){const l=kl(s);l.getQueryState(n.queryKey)||l.prefetchQuery(n)}function z1(n,s){const l=kl(s);l.getQueryState(n.queryKey)||l.prefetchInfiniteQuery(n)}function D1(n,s){const l=kl(s),[i]=E.useState(()=>new x1(l,n));E.useEffect(()=>{i.setOptions(n)},[i,n]);const c=E.useSyncExternalStore(E.useCallback(m=>i.subscribe(Ze.batchCalls(m)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),d=E.useCallback((m,p)=>{i.mutate(m,p).catch(xt)},[i]);if(c.error&&Kd(i.options.throwOnError,[c.error]))throw c.error;return{...c,mutate:d,mutateAsync:c.mutate}}function P1(n,s){return Co(n,My,s)}function ms(n){return!!n&&!Array.isArray(n)&&typeof n=="object"}function k1(){return Object.create(null)}const H1=typeof Symbol=="function"&&!!Symbol.asyncIterator;function Gy(n){return H1&&ms(n)&&Symbol.asyncIterator in n}var U1=Object.create,Yy=Object.defineProperty,q1=Object.getOwnPropertyDescriptor,Vy=Object.getOwnPropertyNames,L1=Object.getPrototypeOf,B1=Object.prototype.hasOwnProperty,Hl=(n,s)=>function(){return s||(0,n[Vy(n)[0]])((s={exports:{}}).exports,s),s.exports},Q1=(n,s,l,i)=>{if(s&&typeof s=="object"||typeof s=="function")for(var c=Vy(s),d=0,m=c.length,p;d<m;d++)p=c[d],!B1.call(n,p)&&p!==l&&Yy(n,p,{get:(h=>s[h]).bind(null,p),enumerable:!(i=q1(s,p))||i.enumerable});return n},jo=(n,s,l)=>(l=n!=null?U1(L1(n)):{},Q1(Yy(l,"default",{value:n,enumerable:!0}),n));const Xy=()=>{},wg=n=>{Object.freeze&&Object.freeze(n)};function Ky(n,s,l){var i;const c=s.join(".");return(i=l[c])!==null&&i!==void 0||(l[c]=new Proxy(Xy,{get(d,m){if(!(typeof m!="string"||m==="then"))return Ky(n,[...s,m],l)},apply(d,m,p){const h=s[s.length-1];if(h==="valueOf"||h==="toString"||h==="toJSON")return`tRPC.proxy(${s.slice(0,-1).join(".")})`;let g={args:p,path:s};
17return h==="call"?g={args:p.length>=2?[p[1]]:[],path:s.slice(0,-1)}:h==="apply"&&(g={args:p.length>=2?p[1]:[],path:s.slice(0,-1)}),wg(g.args),wg(g.path),n(g)}})),l[c]}const Ao=n=>Ky(n,[],k1()),$d=n=>new Proxy(Xy,{get(s,l){if(l!=="then")return n(l)}});var Zy=Hl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(n,s){function l(i){"@babel/helpers - typeof";return s.exports=l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s.exports.__esModule=!0,s.exports.default=s.exports,l(i)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),F1=Hl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(n,s){var l=Zy().default;function i(c,d){if(l(c)!="object"||!c)return c;var m=c[Symbol.toPrimitive];if(m!==void 0){var p=m.call(c,d||"default");if(l(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(c)}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),G1=Hl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(n,s){var l=Zy().default,i=F1();function c(d){var m=i(d,"string");return l(m)=="symbol"?m:m+""}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),Jy=Hl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(n,s){var l=G1();function i(c,d,m){return(d=l(d))in c?Object.defineProperty(c,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[d]=m,c}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),Id=Hl({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(n,s){var l=Jy();function i(d,m){var p=Object.keys(d);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(d);m&&(h=h.filter(function(g){return Object.getOwnPropertyDescriptor(d,g).enumerable})),p.push.apply(p,h)}return p}function c(d){for(var m=1;m<arguments.length;m++){var p=arguments[m]!=null?arguments[m]:{};m%2?i(Object(p),!0).forEach(function(h){l(d,h,p[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(p)):i(Object(p)).forEach(function(h){Object.defineProperty(d,h,Object.getOwnPropertyDescriptor(p,h))})}return d}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}});jo(Id());jo(Jy());var no=jo(Id());function Y1(n,s){if("error"in n){const i=s.deserialize(n.error);return{ok:!1,error:(0,no.default)((0,no.default)({},n),{},{error:i})}}return{ok:!0,result:(0,no.default)((0,no.default)({},n.result),(!n.result.type||n.result.type==="data")&&{type:"data",data:s.deserialize(n.result.data)})}}var Iu=class extends Error{constructor(){super("Unable to transform response from server")}};function V1(n,s){let l;try{l=Y1(n,s)}catch{throw new Iu}if(!l.ok&&(!ms(l.error.error)||typeof l.error.error.code!="number"))throw new Iu;if(l.ok&&!ms(l.result))throw new Iu;return l}jo(Id());function No(n){const s={subscribe(l){let i=null,c=!1,d=!1,m=!1;function p(){if(i===null){m=!0;return}d||(d=!0,typeof i=="function"?i():i&&i.unsubscribe())}return i=n({next(h){var g;c||(g=l.next)===null||g===void 0||g.call(l,h)},error(h){var g;c||(c=!0,(g=l.error)===null||g===void 0||g.call(l,h),p())},complete(){var h;c||(c=!0,(h=l.complete)===null||h===void 0||h.call(l),p())}}),m&&p(),{unsubscribe:p}},pipe(...l){return l.reduce(X1,s)}};return s}function X1(n,s){return s(n)}function K1(n){const s=new AbortController;return new Promise((i,c)=>{let d=!1;function m(){d||(d=!0,p.unsubscribe())}s.signal.addEventListener("abort",()=>{c(s.signal.reason)});const p=n.subscribe({next(h){d=!0,i(h),m()},error(h){c(h)},complete(){s.abort(),m()}})})}var Z1=Object.create,$y=Object.defineProperty,J1=Object.getOwnPropertyDescriptor,Iy=Object.getOwnPropertyNames,$1=Object.getPrototypeOf,I1=Object.prototype.hasOwnProperty,qa=(n,s)=>function(){return s||(0,n[Iy(n)[0]])((s={exports:{}}).exports,s),s.exports},W1=(n,s,l,i)=>{if(s&&typeof s=="object"||typeof s=="function")for(var c=Iy(s),d=0,m=c.length,p;d<m;d++)p=c[d],!I1.call(n,p)&&p!==l&&$y(n,p,{get:(h=>s[h]).bind(null,p),enumerable:!(i=J1(s,p))||i.enumerable});return n},ys=(n,s,l)=>(l=n!=null?Z1($1(n)):{},W1(s||!n||!n.__esModule?$y(l,"default",{value:n,enumerable:!0}):l,n)),e2=qa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(n,s){function l(i,c){if(i==null)return{};var d={};for(var m in i)if({}.hasOwnProperty.call(i,m)){if(c.includes(m))continue;d[m]=i[m]}return d}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),t2=qa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(n,s){var l=e2();function i(c,d){if(c==null)return{};var m,p,h=l(c,d);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(c);for(p=0;p<g.length;p++)m=g[p],d.includes(m)||{}.propertyIsEnumerable.call(c,m)&&(h[m]=c[m])}return h}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),Wy=qa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(n,s){function l(i){"@babel/helpers - typeof";return s.exports=l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s.exports.__esModule=!0,s.exports.default=s.exports,l(i)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),n2=qa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(n,s){var l=Wy().default;function i(c,d){if(l(c)!="object"||!c)return c;var m=c[Symbol.toPrimitive];if(m!==void 0){var p=m.call(c,d||"default");if(l(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}
17return(d==="string"?String:Number)(c)}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),a2=qa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(n,s){var l=Wy().default,i=n2();function c(d){var m=i(d,"string");return l(m)=="symbol"?m:m+""}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),s2=qa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(n,s){var l=a2();function i(c,d,m){return(d=l(d))in c?Object.defineProperty(c,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[d]=m,c}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),Ul=qa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(n,s){var l=s2();function i(d,m){var p=Object.keys(d);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(d);m&&(h=h.filter(function(g){return Object.getOwnPropertyDescriptor(d,g).enumerable})),p.push.apply(p,h)}return p}function c(d){for(var m=1;m<arguments.length;m++){var p=arguments[m]!=null?arguments[m]:{};m%2?i(Object(p),!0).forEach(function(h){l(d,h,p[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(p)):i(Object(p)).forEach(function(h){Object.defineProperty(d,h,Object.getOwnPropertyDescriptor(p,h))})}return d}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),r2=ys(t2(),1),Cg=ys(Ul(),1);const l2=["cursor","direction"];function Cn(n,s,l){const i=n.flatMap(c=>c.split("."));if(!s&&(!l||l==="any"))return i.length?[i]:[];if(l==="infinite"&&ms(s)&&("direction"in s||"cursor"in s)){const{cursor:c,direction:d}=s,m=(0,r2.default)(s,l2);return[i,{input:m,type:"infinite"}]}return[i,(0,Cg.default)((0,Cg.default)({},typeof s<"u"&&s!==Xt&&{input:s}),l&&l!=="any"&&{type:l})]}function uo(n){return Cn(n,void 0,"any")}var i2=Object.create,e0=Object.defineProperty,o2=Object.getOwnPropertyDescriptor,t0=Object.getOwnPropertyNames,c2=Object.getPrototypeOf,u2=Object.prototype.hasOwnProperty,En=(n,s)=>function(){return s||(0,n[t0(n)[0]])((s={exports:{}}).exports,s),s.exports},d2=(n,s,l,i)=>{if(s&&typeof s=="object"||typeof s=="function")for(var c=t0(s),d=0,m=c.length,p;d<m;d++)p=c[d],!u2.call(n,p)&&p!==l&&e0(n,p,{get:(h=>s[h]).bind(null,p),enumerable:!(i=o2(s,p))||i.enumerable});return n},Ie=(n,s,l)=>(l=n!=null?i2(c2(n)):{},d2(s||!n||!n.__esModule?e0(l,"default",{value:n,enumerable:!0}):l,n)),n0=En({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(n,s){function l(i){"@babel/helpers - typeof";return s.exports=l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},s.exports.__esModule=!0,s.exports.default=s.exports,l(i)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),f2=En({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(n,s){var l=n0().default;function i(c,d){if(l(c)!="object"||!c)return c;var m=c[Symbol.toPrimitive];if(m!==void 0){var p=m.call(c,d||"default");if(l(p)!="object")return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(c)}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),m2=En({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(n,s){var l=n0().default,i=f2();function c(d){var m=i(d,"string");return l(m)=="symbol"?m:m+""}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}}),xs=En({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(n,s){var l=m2();function i(c,d,m){return(d=l(d))in c?Object.defineProperty(c,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):c[d]=m,c}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),hn=En({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(n,s){var l=xs();function i(d,m){var p=Object.keys(d);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(d);m&&(h=h.filter(function(g){return Object.getOwnPropertyDescriptor(d,g).enumerable}
17)),p.push.apply(p,h)}return p}function c(d){for(var m=1;m<arguments.length;m++){var p=arguments[m]!=null?arguments[m]:{};m%2?i(Object(p),!0).forEach(function(h){l(d,h,p[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(p)):i(Object(p)).forEach(function(h){Object.defineProperty(d,h,Object.getOwnPropertyDescriptor(p,h))})}return d}s.exports=c,s.exports.__esModule=!0,s.exports.default=s.exports}});function h2(n){return s=>{let l=0,i=null;const c=[];function d(){i||(i=s.subscribe({next(p){for(const g of c){var h;(h=g.next)===null||h===void 0||h.call(g,p)}},error(p){for(const g of c){var h;(h=g.error)===null||h===void 0||h.call(g,p)}},complete(){for(const h of c){var p;(p=h.complete)===null||p===void 0||p.call(h)}}}))}function m(){if(l===0&&i){const p=i;i=null,p.unsubscribe()}}return No(p=>(l++,c.push(p),d(),{unsubscribe(){l--,m();const h=c.findIndex(g=>g===p);h>-1&&c.splice(h,1)}}))}}function p2(n){let s=n;const l=[],i=m=>{s!==void 0&&m.next(s),l.push(m)},c=m=>{l.splice(l.indexOf(m),1)},d=No(m=>(i(m),()=>{c(m)}));return d.next=m=>{if(s!==m){s=m;for(const p of l)p.next(m)}},d.get=()=>s,d}function g2(n){return No(s=>{function l(c=0,d=n.op){const m=n.links[c];if(!m)throw new Error("No more links to execute - did you forget to add an ending link?");return m({op:d,next(h){return l(c+1,h)}})}return l().subscribe(s)})}var ao=Ie(xs(),1),cr=Ie(hn(),1);function y2(n){return n instanceof Nl}function x2(n){return ms(n)&&ms(n.error)&&typeof n.error.code=="number"&&typeof n.error.message=="string"}function v2(n,s){return typeof n=="string"?n:ms(n)&&typeof n.message=="string"?n.message:s}var Nl=class fo extends Error{constructor(s,l){var i,c;const d=l?.cause;super(s,{cause:d}),(0,ao.default)(this,"cause",void 0),(0,ao.default)(this,"shape",void 0),(0,ao.default)(this,"data",void 0),(0,ao.default)(this,"meta",void 0),this.meta=l?.meta,this.cause=d,this.shape=l==null||(i=l.result)===null||i===void 0?void 0:i.error,this.data=l==null||(c=l.result)===null||c===void 0?void 0:c.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,fo.prototype)}static from(s,l={}){const i=s;return y2(i)?(l.meta&&(i.meta=(0,cr.default)((0,cr.default)({},i.meta),l.meta)),i):x2(i)?new fo(i.error.message,(0,cr.default)((0,cr.default)({},l),{},{result:i,cause:l.cause})):new fo(v2(i,"Unknown error"),(0,cr.default)((0,cr.default)({},l),{},{cause:i}))}};function b2(n){const s=n;return s?"input"in s?s:{input:s,output:s}:{input:{serialize:l=>l,deserialize:l=>l},output:{serialize:l=>l,deserialize:l=>l}}}const jg=n=>typeof n=="function";function S2(n){if(n)return n;if(typeof window<"u"&&jg(window.fetch))return window.fetch;if(typeof globalThis<"u"&&jg(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var Sl=Ie(hn());function w2(n){return{url:n.url.toString(),fetch:n.fetch,transformer:b2(n.transformer),methodOverride:n.methodOverride}}function C2(n){const s={};for(let l=0;l<n.length;l++){const i=n[l];s[l]=i}return s}const j2={query:"GET",mutation:"POST",subscription:"PATCH"};function a0(n){return"input"in n?n.transformer.input.serialize(n.input):C2(n.inputs.map(s=>n.transformer.input.serialize(s)))}const s0=n=>{const s=n.url.split("?");let i=s[0].replace(/\/$/,"")+"/"+n.path;const c=[];if(s[1]&&c.push(s[1]),"inputs"in n&&c.push("batch=1"),n.type==="query"||n.type==="subscription"){const d=a0(n);d!==void 0&&n.methodOverride!=="POST"&&c.push(`input=${encodeURIComponent(JSON.stringify(d))}`)}return c.length&&(i+="?"+c.join("&")),i},A2=n=>{if(n.type==="query"&&n.methodOverride!=="POST")return;const s=a0(n);return s!==void 0?JSON.stringify(s):void 0},N2=n=>_2((0,Sl.default)((0,Sl.default)({},n),{},{contentTypeHeader:"application/json",getUrl:s0,getBody:A2}));var E2=class extends Error{constructor(){const n="AbortError";super(n),this.name=n,this.message=n}};const O2=n=>{var s;if(n?.aborted)throw(s=n.throwIfAborted)===null||s===void 0||s.call(n),typeof DOMException<"u"?new DOMException("AbortError","AbortError"):new E2};async function T2(n){var s,l;O2(n.signal);const i=n.getUrl(n),c=n.getBody(n),d=(s=n.methodOverride)!==null&&s!==void 0?s:j2[n.type],m=await(async()=>{const h=await n.headers();return Symbol.iterator in h?Object.fromEntries(h):h})(),p=(0,Sl.default)((0,Sl.default)((0,Sl.default)({},n.contentTypeHeader&&d!=="GET"?{"content-type":n.contentTypeHeader}:{}),n.trpcAcceptHeader?{[(l=n.trpcAcceptHeaderKey)!==null&&l!==void 0?l:"trpc-accept"]:n.trpcAcceptHeader}:void 0),m);return S2(n.fetch)(i,{method:d,signal:n.signal,body:c,headers:p})}async function _2(n){const s={},l=await T2(n);s.response=l;const i=await l.json();return s.responseJSON=i,{json:i,meta:s}}Ie(hn(),1);const Ag=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function Ng(n){let s=null,l=null;const i=()=>{clearTimeout(l),l=null,s=null};function c(p){const h=[[]];let g=0;for(;;){const w=p[g];if(!w)break;const S=h[h.length-1];if(w.aborted){var v;(v=w.reject)===null||v===void 0||v.call(w,new Error("Aborted")),g++;continue}if(n.validate(S.concat(w).map(j=>j.key))){S.push(w),g++;continue}if(S.length===0){var x;(x=w.reject)===null||x===void 0||x.call(w,new Error("Input is too big for a single dispatch")),g++;continue}h.push([])}return h}function d(){const p=c(s);i();
17for(const h of p){if(!h.length)continue;const g={items:h};for(const x of h)x.batch=g;n.fetch(g.items.map(x=>x.key)).then(async x=>{await Promise.all(x.map(async(S,C)=>{const j=g.items[C];try{var z;const I=await Promise.resolve(S);(z=j.resolve)===null||z===void 0||z.call(j,I)}catch(I){var U;(U=j.reject)===null||U===void 0||U.call(j,I)}j.batch=null,j.reject=null,j.resolve=null}));for(const S of g.items){var w;(w=S.reject)===null||w===void 0||w.call(S,new Error("Missing result")),S.batch=null}}).catch(x=>{for(const S of g.items){var w;(w=S.reject)===null||w===void 0||w.call(S,x),S.batch=null}})}}function m(p){var h;const g={aborted:!1,key:p,batch:null,resolve:Ag,reject:Ag},v=new Promise((x,w)=>{var S;g.reject=w,g.resolve=x,(S=s)!==null&&S!==void 0||(s=[]),s.push(g)});return(h=l)!==null&&h!==void 0||(l=setTimeout(d)),v}return{load:m}}function R2(...n){const s=new AbortController,l=n.length;let i=0;const c=()=>{++i===l&&s.abort()};for(const d of n)d?.aborted?c():d?.addEventListener("abort",c,{once:!0});return s.signal}var so=Ie(hn(),1);function M2(n){var s,l;const i=w2(n),c=(s=n.maxURLLength)!==null&&s!==void 0?s:1/0,d=(l=n.maxItems)!==null&&l!==void 0?l:1/0;return()=>{const m=v=>({validate(x){if(c===1/0&&d===1/0)return!0;if(x.length>d)return!1;const w=x.map(j=>j.path).join(","),S=x.map(j=>j.input);return s0((0,so.default)((0,so.default)({},i),{},{type:v,path:w,inputs:S,signal:null})).length<=c},async fetch(x){const w=x.map(I=>I.path).join(","),S=x.map(I=>I.input),C=R2(...x.map(I=>I.signal)),j=await N2((0,so.default)((0,so.default)({},i),{},{path:w,inputs:S,type:v,headers(){return n.headers?typeof n.headers=="function"?n.headers({opList:x}):n.headers:{}},signal:C}));return(Array.isArray(j.json)?j.json:x.map(()=>j.json)).map(I=>({meta:j.meta,json:I}))}}),p=Ng(m("query")),h=Ng(m("mutation")),g={query:p,mutation:h};return({op:v})=>No(x=>{/* istanbul ignore if -- @preserve */if(v.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const S=g[v.type].load(v);let C;return S.then(j=>{C=j;const z=V1(j.json,i.transformer.output);if(!z.ok){x.error(Nl.from(z.error,{meta:j.meta}));return}x.next({context:j.meta,result:z.result}),x.complete()}).catch(j=>{x.error(Nl.from(j,{meta:C?.meta}))}),()=>{}})}}Ie(hn(),1);const r0=(n,...s)=>typeof n=="function"?n(...s):n;Ie(xs(),1);function z2(){let n,s;return{promise:new Promise((i,c)=>{n=i,s=c}),resolve:n,reject:s}}async function D2(n){const s=await r0(n.url);if(!n.connectionParams)return s;const i=`${s.includes("?")?"&":"?"}connectionParams=1`;return s+i}async function P2(n,s){const l={method:"connectionParams",data:await r0(n)};return s.encode(l)}Ie(xs(),1);var Ra=Ie(xs(),1);function k2(n){const{promise:s,resolve:l,reject:i}=z2();return n.addEventListener("open",()=>{n.removeEventListener("error",i),l()}),n.addEventListener("error",i),s}function H2(n,{intervalMs:s,pongTimeoutMs:l}){let i,c;function d(){i=setTimeout(()=>{n.send("PING"),c=setTimeout(()=>{n.close()},l)},s)}function m(){clearTimeout(i),d()}function p(){clearTimeout(c),m()}n.addEventListener("open",d),n.addEventListener("message",({data:h})=>{clearTimeout(i),d(),h==="PONG"&&p()}),n.addEventListener("close",()=>{clearTimeout(i),clearTimeout(c)})}var U2=class Cd{constructor(s){var l;if((0,Ra.default)(this,"id",++Cd.connectCount),(0,Ra.default)(this,"WebSocketPonyfill",void 0),(0,Ra.default)(this,"urlOptions",void 0),(0,Ra.default)(this,"keepAliveOpts",void 0),(0,Ra.default)(this,"encoder",void 0),(0,Ra.default)(this,"wsObservable",p2(null)),(0,Ra.default)(this,"openPromise",null),this.WebSocketPonyfill=(l=s.WebSocketPonyfill)!==null&&l!==void 0?l: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=++Cd.connectCount;const l=D2(s.urlOptions).then(i=>new s.WebSocketPonyfill(i));s.openPromise=l.then(async i=>{s.ws=i,i.binaryType="arraybuffer",i.addEventListener("message",function({data:c}){c==="PING"&&this.send("PONG")}),s.keepAliveOpts.enabled&&H2(i,s.keepAliveOpts),i.addEventListener("close",()=>{s.ws===i&&(s.ws=null)}),await k2(i),s.urlOptions.connectionParams&&i.send(await P2(s.urlOptions.connectionParams,s.encoder))});try{await s.openPromise}finally{s.openPromise=null}}async close(){var s=this;try{await s.openPromise}finally{var l;(l=s.ws)===null||l===void 0||l.close()}}};(0,Ra.default)(U2,"connectCount",0);Ie(xs(),1);Ie(hn(),1);var Wu=Ie(xs(),1),Eg=Ie(hn(),1),Eo=class{constructor(n){(0,Wu.default)(this,"links",void 0),(0,Wu.default)(this,"runtime",void 0),(0,Wu.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=n.links.map(s=>s(this.runtime))}$request(n){var s;return g2({links:this.links,op:(0,Eg.default)((0,Eg.default)({},n),{},{context:(s=n.context)!==null&&s!==void 0?s:{},id:++this.requestId})}).pipe(h2())}async requestAsPromise(n){var s=this;try{const l=s.$request(n);return(await K1(l)).result.data}catch(l){throw Nl.from(l)}}query(n,s,l){return this.requestAsPromise({type:"query",path:n,input:s,context:l?.context,signal:l?.signal})}mutation(n,s,l){return this.requestAsPromise({type:"mutation",path:n,input:s,context:l?.context,signal:l?.signal})}subscription(n,s,l){return this.$request({type:"subscription",path:n,input:s,context:l.context,signal:l.signal}).subscribe({next(c){switch(c.result.type){case"state":{var d;(d=l.onConnectionStateChange)===null||d===void 0||d.call(l,c.result);break}case"started":{var m;(m=l.onStarted)===null||m===void 0||m.call(l,{context:c.context});break}case"stopped":{var p;(p=l.onStopped)===null||p===void 0||p.call(l);break}case"data":case void 0:{var h;(h=l.onData)===null||h===void 0||h.call(l,c.result.data);break}}},error(c){var d;(d=l.onError)===null||d===void 0||d.call(l,c)},complete(){var c;
17(c=l.onComplete)===null||c===void 0||c.call(l)}})}};const l0=Symbol.for("trpc_untypedClient"),q2={query:"query",mutate:"mutation",subscribe:"subscription"},L2=n=>q2[n];function i0(n){const s=Ao(({path:l,args:i})=>{const c=[...l],d=L2(c.pop()),m=c.join(".");return n[d](m,...i)});return $d(l=>l===l0?n:s[l])}function B2(n){const s=new Eo(n);return i0(s)}function Wd(n){return n[l0]}Ie(hn(),1);Ie(hn(),1);var Q2=En({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(n,s){function l(c){var d,m,p,h=2;for(typeof Symbol<"u"&&(m=Symbol.asyncIterator,p=Symbol.iterator);h--;){if(m&&(d=c[m])!=null)return d.call(c);if(p&&(d=c[p])!=null)return new i(d.call(c));m="@@asyncIterator",p="@@iterator"}throw new TypeError("Object is not async iterable")}function i(c){function d(m){if(Object(m)!==m)return Promise.reject(new TypeError(m+" is not an object."));var p=m.done;return Promise.resolve(m.value).then(function(h){return{value:h,done:p}})}return i=function(p){this.s=p,this.n=p.next},i.prototype={s:null,n:null,next:function(){return d(this.n.apply(this.s,arguments))},return:function(p){var h=this.s.return;return h===void 0?Promise.resolve({value:p,done:!0}):d(h.apply(this.s,arguments))},throw:function(p){var h=this.s.return;return h===void 0?Promise.reject(p):d(h.apply(this.s,arguments))}},new i(c)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}});Ie(Q2(),1);Ie(hn(),1);var F2=En({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(n,s){function l(){var i=typeof SuppressedError=="function"?SuppressedError:function(p,h){var g=Error();return g.name="SuppressedError",g.error=p,g.suppressed=h,g},c={},d=[];function m(p,h){if(h!=null){if(Object(h)!==h)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(p)var g=h[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(g===void 0&&(g=h[Symbol.dispose||Symbol.for("Symbol.dispose")],p))var v=g;if(typeof g!="function")throw new TypeError("Object is not disposable.");v&&(g=function(){try{v.call(h)}catch(w){return Promise.reject(w)}}),d.push({v:h,d:g,a:p})}else p&&d.push({d:h,a:p});return h}return{e:c,u:m.bind(null,!1),a:m.bind(null,!0),d:function(){var h,g=this.e,v=0;function x(){for(;h=d.pop();)try{if(!h.a&&v===1)return v=0,d.push(h),Promise.resolve().then(x);if(h.d){var S=h.d.call(h.v);if(h.a)return v|=2,Promise.resolve(S).then(x,w)}else v|=1}catch(C){return w(C)}if(v===1)return g!==c?Promise.reject(g):Promise.resolve();if(g!==c)throw g}function w(S){return g=g!==c?new i(S,g):S,x()}return x()}}}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),o0=En({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(n,s){function l(i,c){this.v=i,this.k=c}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),G2=En({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(n,s){var l=o0();function i(c){return new l(c,0)}s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}}),Y2=En({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(n,s){var l=o0();function i(d){return function(){return new c(d.apply(this,arguments))}}function c(d){var m,p;function h(v,x){try{var w=d[v](x),S=w.value,C=S instanceof l;Promise.resolve(C?S.v:S).then(function(j){if(C){var z=v==="return"?"return":"next";if(!S.k||j.done)return h(z,j);j=d[z](j).value}g(w.done?"return":"normal",j)},function(j){h("throw",j)})}catch(j){g("throw",j)}}function g(v,x){switch(v){case"return":m.resolve({value:x,done:!0});break;case"throw":m.reject(x);break;default:m.resolve({value:x,done:!1})}(m=m.next)?h(m.key,m.arg):p=null}this._invoke=function(v,x){return new Promise(function(w,S){var C={key:v,arg:x,resolve:w,reject:S,next:null};p?p=p.next=C:(m=p=C,h(v,x))})},typeof d.return!="function"&&(this.return=void 0)}c.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},c.prototype.next=function(d){return this._invoke("next",d)},c.prototype.throw=function(d){return this._invoke("throw",d)},c.prototype.return=function(d){return this._invoke("return",d)},s.exports=i,s.exports.__esModule=!0,s.exports.default=s.exports}});
17Ie(F2(),1);Ie(G2(),1);Ie(Y2(),1);Ie(hn(),1);function V2(n){return Ao(({path:s,args:l})=>{var i;const c=[...s],d=c.pop();if(d==="useMutation")return n[d](c,...l);if(d==="_def")return{path:c};const[m,...p]=l,h=(i=p[0])!==null&&i!==void 0?i:{};return n[d](c,m,h)})}var ed;const X2=["client","ssrContext","ssrState","abortOnUnmount"],K2=(ed=E.createContext)===null||ed===void 0?void 0:ed.call(Dy,null),Z2=n=>{switch(n){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 J2(n){return Ao(s=>{const l=[...s.path],i=l.pop(),c=[...s.args],d=c.shift(),m=Z2(i),p=Cn(l,d,m);return{infiniteQueryOptions:()=>n.infiniteQueryOptions(l,p,c[0]),queryOptions:()=>n.queryOptions(l,p,...c),fetch:()=>n.fetchQuery(p,...c),fetchInfinite:()=>n.fetchInfiniteQuery(p,c[0]),prefetch:()=>n.prefetchQuery(p,...c),prefetchInfinite:()=>n.prefetchInfiniteQuery(p,c[0]),ensureData:()=>n.ensureQueryData(p,...c),invalidate:()=>n.invalidateQueries(p,...c),reset:()=>n.resetQueries(p,...c),refetch:()=>n.refetchQueries(p,...c),cancel:()=>n.cancelQuery(p,...c),setData:()=>{n.setQueryData(p,c[0],c[1])},setQueriesData:()=>n.setQueriesData(p,c[0],c[1],c[2]),setInfiniteData:()=>{n.setInfiniteQueryData(p,c[0],c[1])},getData:()=>n.getQueryData(p),getInfiniteData:()=>n.getInfiniteQueryData(p),setMutationDefaults:()=>n.setMutationDefaults(uo(l),d),getMutationDefaults:()=>n.getMutationDefaults(uo(l)),isMutating:()=>n.isMutating({mutationKey:uo(l)})}[i]()})}function $2(n){const s=i0(n.client),l=J2(n);return $d(i=>{const c=i;return c==="client"?s:X2.includes(c)?n[c]:l[i]})}var I2=ys(Ul(),1);function Og(n){const s=n instanceof Eo?n:Wd(n);return Ao(l=>{const i=l.path,c=i.join("."),[d,m]=l.args;return(0,I2.default)({queryKey:Cn(i,d,"query"),queryFn:()=>s.query(c,d,m?.trpc)},m)})}var td=ys(Ul(),1);function jt(n,s,l){var i;const c=n[0];let d=(i=n[1])===null||i===void 0?void 0:i.input;if(l){var m;d=(0,td.default)((0,td.default)((0,td.default)({},(m=d)!==null&&m!==void 0?m:{}),l.pageParam?{cursor:l.pageParam}:{}),{},{direction:l.direction})}return[c.join("."),d,s?.trpc]}var W2=qa({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(n,s){function l(c){var d,m,p,h=2;for(typeof Symbol<"u"&&(m=Symbol.asyncIterator,p=Symbol.iterator);h--;){if(m&&(d=c[m])!=null)return d.call(c);if(p&&(d=c[p])!=null)return new i(d.call(c));m="@@asyncIterator",p="@@iterator"}throw new TypeError("Object is not async iterable")}function i(c){function d(m){if(Object(m)!==m)return Promise.reject(new TypeError(m+" is not an object."));var p=m.done;return Promise.resolve(m.value).then(function(h){return{value:h,done:p}})}return i=function(p){this.s=p,this.n=p.next},i.prototype={s:null,n:null,next:function(){return d(this.n.apply(this.s,arguments))},return:function(p){var h=this.s.return;return h===void 0?Promise.resolve({value:p,done:!0}):d(h.apply(this.s,arguments))},throw:function(p){var h=this.s.return;return h===void 0?Promise.reject(p):d(h.apply(this.s,arguments))}},new i(c)}s.exports=l,s.exports.__esModule=!0,s.exports.default=s.exports}}),eS=ys(W2(),1);
17function jd(n){return{path:n.path.join(".")}}function yl(n){const s=jd(n);return E.useMemo(()=>s,[s])}async function c0(n,s,l){const c=s.getQueryCache().build(s,{queryKey:l});c.setState({data:[],status:"success"});const d=[];var m=!1,p=!1,h;try{for(var g=(0,eS.default)(n),v;m=!(v=await g.next()).done;m=!1){const x=v.value;d.push(x),c.setState({data:[...d]})}}catch(x){p=!0,h=x}finally{try{m&&g.return!=null&&await g.return()}finally{if(p)throw h}}return d}var ze=ys(Ul(),1);function tS(n){const{client:s,queryClient:l}=n,i=s instanceof Eo?s:Wd(s);return{infiniteQueryOptions:(c,d,m)=>{var p,h;const g=((p=d[1])===null||p===void 0?void 0:p.input)===Xt,v=async x=>{var w;const S=(0,ze.default)((0,ze.default)({},m),{},{trpc:(0,ze.default)((0,ze.default)({},m?.trpc),!(m==null||(w=m.trpc)===null||w===void 0)&&w.abortOnUnmount?{signal:x.signal}:{signal:null})});return await i.query(...jt(d,S,{direction:x.direction,pageParam:x.pageParam}))};return Object.assign((0,ze.default)((0,ze.default)({},m),{},{initialData:m?.initialData,queryKey:d,queryFn:g?Xt:v,initialPageParam:(h=m?.initialCursor)!==null&&h!==void 0?h:null}),{trpc:jd({path:c})})},queryOptions:(c,d,m)=>{var p;const h=((p=d[1])===null||p===void 0?void 0:p.input)===Xt,g=async v=>{var x;const w=(0,ze.default)((0,ze.default)({},m),{},{trpc:(0,ze.default)((0,ze.default)({},m?.trpc),!(m==null||(x=m.trpc)===null||x===void 0)&&x.abortOnUnmount?{signal:v.signal}:{signal:null})}),S=await i.query(...jt(d,w));return Gy(S)?c0(S,l,d):S};return Object.assign((0,ze.default)((0,ze.default)({},m),{},{initialData:m?.initialData,queryKey:d,queryFn:h?Xt:g}),{trpc:jd({path:c})})},fetchQuery:(c,d)=>l.fetchQuery((0,ze.default)((0,ze.default)({},d),{},{queryKey:c,queryFn:()=>i.query(...jt(c,d))})),fetchInfiniteQuery:(c,d)=>{var m;return l.fetchInfiniteQuery((0,ze.default)((0,ze.default)({},d),{},{queryKey:c,queryFn:({pageParam:p,direction:h})=>i.query(...jt(c,d,{pageParam:p,direction:h})),initialPageParam:(m=d?.initialCursor)!==null&&m!==void 0?m:null}))},prefetchQuery:(c,d)=>l.prefetchQuery((0,ze.default)((0,ze.default)({},d),{},{queryKey:c,queryFn:()=>i.query(...jt(c,d))})),prefetchInfiniteQuery:(c,d)=>{var m;return l.prefetchInfiniteQuery((0,ze.default)((0,ze.default)({},d),{},{queryKey:c,queryFn:({pageParam:p,direction:h})=>i.query(...jt(c,d,{pageParam:p,direction:h})),initialPageParam:(m=d?.initialCursor)!==null&&m!==void 0?m:null}))},ensureQueryData:(c,d)=>l.ensureQueryData((0,ze.default)((0,ze.default)({},d),{},{queryKey:c,queryFn:()=>i.query(...jt(c,d))})),invalidateQueries:(c,d,m)=>l.invalidateQueries((0,ze.default)((0,ze.default)({},d),{},{queryKey:c}),m),resetQueries:(c,d,m)=>l.resetQueries((0,ze.default)((0,ze.default)({},d),{},{queryKey:c}),m),refetchQueries:(c,d,m)=>l.refetchQueries((0,ze.default)((0,ze.default)({},d),{},{queryKey:c}),m),cancelQuery:(c,d)=>l.cancelQueries({queryKey:c},d),setQueryData:(c,d,m)=>l.setQueryData(c,d,m),setQueriesData:(c,d,m,p)=>l.setQueriesData((0,ze.default)((0,ze.default)({},d),{},{queryKey:c}),m,p),getQueryData:c=>l.getQueryData(c),setInfiniteQueryData:(c,d,m)=>l.setQueryData(c,d,m),getInfiniteQueryData:c=>l.getQueryData(c),setMutationDefaults:(c,d)=>{const m=c[0],p=h=>i.mutation(...jt([m,{input:h}],n));return l.setMutationDefaults(c,typeof d=="function"?d({canonicalMutationFn:p}):d)},getMutationDefaults:c=>l.getMutationDefaults(c),isMutating:c=>l.isMutating((0,ze.default)((0,ze.default)({},c),{},{exact:!0}))}}var ie=ys(Ul());const Tg=(n,s)=>new Proxy(n,{get(i,c){return s(c),i[c]}});function nS(n){var s,l;const i=(s=void 0)!==null&&s!==void 0?s:G=>G.originalFn(),c=(l=void 0)!==null&&l!==void 0?l:K2,d=B2,m=G=>{var F;const{abortOnUnmount:_=!1,queryClient:q,ssrContext:ee}=G,[V,ne]=E.useState((F=G.ssrState)!==null&&F!==void 0?F:!1),W=G.client instanceof Eo?G.client:Wd(G.client),re=E.useMemo(()=>tS({client:W,queryClient:q}),[W,q]),le=E.useMemo(()=>(0,ie.default)({abortOnUnmount:_,queryClient:q,client:W,ssrContext:ee??null,ssrState:V},re),[_,W,re,q,ee,V]);return E.useEffect(()=>{ne(ce=>ce?"mounted":!1)},[]),f.jsx(c.Provider,{value:le,children:G.children})};function p(){const G=E.useContext(c);if(!G)throw new Error("Unable to find tRPC Context. Did you forget to wrap your Ap
17p inside `withTRPC` HoC?");return G}function h(G,F){var _;const{queryClient:q,ssrState:ee}=p();return ee&&ee!=="mounted"&&((_=q.getQueryCache().find({queryKey:G}))===null||_===void 0?void 0:_.state.status)==="error"?(0,ie.default)({retryOnMount:!1},F):F}function g(G,F,_){var q,ee,V,ne,W;const re=p(),{abortOnUnmount:le,client:ce,ssrState:O,queryClient:L,prefetchQuery:M}=re,se=Cn(G,F,"query"),me=L.getQueryDefaults(se),A=F===Xt;typeof window>"u"&&O==="prepass"&&(_==null||(q=_.trpc)===null||q===void 0?void 0:q.ssr)!==!1&&((ee=_?.enabled)!==null&&ee!==void 0?ee:me?.enabled)!==!1&&!A&&!L.getQueryCache().find({queryKey:se})&&M(se,_);const Q=h(se,(0,ie.default)((0,ie.default)({},me),_)),k=(V=(ne=_==null||(W=_.trpc)===null||W===void 0?void 0:W.abortOnUnmount)!==null&&ne!==void 0?ne:void 0)!==null&&V!==void 0?V:le,Y=O1((0,ie.default)((0,ie.default)({},Q),{},{queryKey:se,queryFn:A?F:async te=>{const he=(0,ie.default)((0,ie.default)({},Q),{},{trpc:(0,ie.default)((0,ie.default)({},Q?.trpc),k?{signal:te.signal}:{signal:null})}),oe=await ce.query(...jt(se,he));return Gy(oe)?c0(oe,L,se):oe}}),L);return Y.trpc=yl({path:G}),Y}function v(G,F,_){var q,ee,V;const ne=p(),W=Cn(G,F,"query"),re=F===Xt,le=(q=(ee=_==null||(V=_.trpc)===null||V===void 0?void 0:V.abortOnUnmount)!==null&&ee!==void 0?ee:void 0)!==null&&q!==void 0?q:ne.abortOnUnmount;M1((0,ie.default)((0,ie.default)({},_),{},{queryKey:W,queryFn:re?F:ce=>{const O={trpc:(0,ie.default)((0,ie.default)({},_?.trpc),le?{signal:ce.signal}:{})};return ne.client.query(...jt(W,O))}}))}function x(G,F,_){var q,ee,V;const ne=p(),W=Cn(G,F,"query"),re=(q=(ee=_==null||(V=_.trpc)===null||V===void 0?void 0:V.abortOnUnmount)!==null&&ee!==void 0?ee:void 0)!==null&&q!==void 0?q:ne.abortOnUnmount,le=T1((0,ie.default)((0,ie.default)({},_),{},{queryKey:W,queryFn:ce=>{const O=(0,ie.default)((0,ie.default)({},_),{},{trpc:(0,ie.default)((0,ie.default)({},_?.trpc),re?{signal:ce.signal}:{signal:null})});return ne.client.query(...jt(W,O))}}),ne.queryClient);return le.trpc=yl({path:G}),[le.data,le]}function w(G,F){const{client:_,queryClient:q}=p(),ee=uo(G),V=q.defaultMutationOptions(q.getMutationDefaults(ee)),ne=D1((0,ie.default)((0,ie.default)({},F),{},{mutationKey:ee,mutationFn:W=>_.mutation(...jt([G,{input:W}],F)),onSuccess(...W){var re,le;return i({originalFn:()=>{var O,L,M;return(O=F==null||(L=F.onSuccess)===null||L===void 0?void 0:L.call(F,...W))!==null&&O!==void 0?O:V==null||(M=V.onSuccess)===null||M===void 0?void 0:M.call(V,...W)},queryClient:q,meta:(re=(le=F?.meta)!==null&&le!==void 0?le:V?.meta)!==null&&re!==void 0?re:{}})}}),q);return ne.trpc=yl({path:G}),ne}const S={data:void 0,error:null,status:"idle"},C={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function j(G,F,_){var q;const ee=(q=_?.enabled)!==null&&q!==void 0?q:F!==Xt,V=Da(Cn(G,F,"any")),{client:ne}=p(),W=E.useRef(_);E.useEffect(()=>{W.current=_});const[re]=E.useState(new Set([])),le=E.useCallback(A=>{re.add(A)},[re]),ce=E.useRef(null),O=E.useCallback(A=>{const Q=M.current,k=M.current=A(Q);let Y=!1;for(const te of re)if(Q[te]!==k[te]){Y=!0;break}Y&&me(Tg(k,le))},[le,re]),L=E.useCallback(()=>{var A;if((A=ce.current)===null||A===void 0||A.unsubscribe(),!ee){O(()=>(0,ie.default)((0,ie.default)({},S),{},{reset:L}));return}O(()=>(0,ie.default)((0,ie.default)({},C),{},{reset:L}));const Q=ne.subscription(G.join("."),F??void 0,{onStarted:()=>{var k,Y;(k=(Y=W.current).onStarted)===null||k===void 0||k.call(Y),O(te=>(0,ie.default)((0,ie.default)({},te),{},{status:"pending",error:null}))},onData:k=>{var Y,te;(Y=(te=W.current).onData)===null||Y===void 0||Y.call(te,k),O(he=>(0,ie.default)((0,ie.default)({},he),{},{status:"pending",data:k,error:null}))},onError:k=>{var Y,te;(Y=(te=W.current).onError)===null||Y===void 0||Y.call(te,k),O(he=>(0,ie.default)((0,ie.default)({},he),{},{status:"error",error:k}))},onConnectionStateChange:k=>{O(Y=>{switch(k.state){case"idle":return(0,ie.default)((0,ie.default)({},Y),{},{status:k.state,error:null,data:void 0});case"connecting":return(0,ie.default)((0,ie.default)({},Y),{},{error:k.error,status:k.state});
17case"pending":return Y}})},onComplete:()=>{var k,Y;(k=(Y=W.current).onComplete)===null||k===void 0||k.call(Y),O(te=>(0,ie.default)((0,ie.default)({},te),{},{status:"idle",error:null,data:void 0}))}});ce.current=Q},[ne,V,ee,O]);E.useEffect(()=>(L(),()=>{var A;(A=ce.current)===null||A===void 0||A.unsubscribe()}),[L]);const M=E.useRef(ee?(0,ie.default)((0,ie.default)({},C),{},{reset:L}):(0,ie.default)((0,ie.default)({},S),{},{reset:L})),[se,me]=E.useState(Tg(M.current,le));return se}function z(G,F,_){var q,ee,V,ne,W;const{client:re,ssrState:le,prefetchInfiniteQuery:ce,queryClient:O,abortOnUnmount:L}=p(),M=Cn(G,F,"infinite"),se=O.getQueryDefaults(M),me=F===Xt;typeof window>"u"&&le==="prepass"&&(_==null||(q=_.trpc)===null||q===void 0?void 0:q.ssr)!==!1&&((ee=_?.enabled)!==null&&ee!==void 0?ee:se?.enabled)!==!1&&!me&&!O.getQueryCache().find({queryKey:M})&&ce(M,(0,ie.default)((0,ie.default)({},se),_));const A=h(M,(0,ie.default)((0,ie.default)({},se),_)),Q=(V=_==null||(ne=_.trpc)===null||ne===void 0?void 0:ne.abortOnUnmount)!==null&&V!==void 0?V:L,k=P1((0,ie.default)((0,ie.default)({},A),{},{initialPageParam:(W=_.initialCursor)!==null&&W!==void 0?W:null,persister:_.persister,queryKey:M,queryFn:me?F:Y=>{var te;const he=(0,ie.default)((0,ie.default)({},A),{},{trpc:(0,ie.default)((0,ie.default)({},A?.trpc),Q?{signal:Y.signal}:{signal:null})});return re.query(...jt(M,he,{pageParam:(te=Y.pageParam)!==null&&te!==void 0?te:_.initialCursor,direction:Y.direction}))}}),O);return k.trpc=yl({path:G}),k}function U(G,F,_){var q,ee,V;const ne=p(),W=Cn(G,F,"infinite"),re=ne.queryClient.getQueryDefaults(W),le=F===Xt,ce=h(W,(0,ie.default)((0,ie.default)({},re),_)),O=(q=_==null||(ee=_.trpc)===null||ee===void 0?void 0:ee.abortOnUnmount)!==null&&q!==void 0?q:ne.abortOnUnmount;z1((0,ie.default)((0,ie.default)({},_),{},{initialPageParam:(V=_.initialCursor)!==null&&V!==void 0?V:null,queryKey:W,queryFn:le?F:L=>{var M;const se=(0,ie.default)((0,ie.default)({},ce),{},{trpc:(0,ie.default)((0,ie.default)({},ce?.trpc),O?{signal:L.signal}:{})});return ne.client.query(...jt(W,se,{pageParam:(M=L.pageParam)!==null&&M!==void 0?M:_.initialCursor,direction:L.direction}))}}))}function I(G,F,_){var q,ee,V;const ne=p(),W=Cn(G,F,"infinite"),re=ne.queryClient.getQueryDefaults(W),le=h(W,(0,ie.default)((0,ie.default)({},re),_)),ce=(q=_==null||(ee=_.trpc)===null||ee===void 0?void 0:ee.abortOnUnmount)!==null&&q!==void 0?q:ne.abortOnUnmount,O=_1((0,ie.default)((0,ie.default)({},_),{},{initialPageParam:(V=_.initialCursor)!==null&&V!==void 0?V:null,queryKey:W,queryFn:L=>{var M;const se=(0,ie.default)((0,ie.default)({},le),{},{trpc:(0,ie.default)((0,ie.default)({},le?.trpc),ce?{signal:L.signal}:{})});return ne.client.query(...jt(W,se,{pageParam:(M=L.pageParam)!==null&&M!==void 0?M:_.initialCursor,direction:L.direction}))}}),ne.queryClient);return O.trpc=yl({path:G}),[O.data,O]}return{Provider:m,createClient:d,useContext:p,useUtils:p,useQuery:g,usePrefetchQuery:v,useSuspenseQuery:x,useQueries:(G,F)=>{const{ssrState:_,queryClient:q,prefetchQuery:ee,client:V}=p(),ne=Og(V),W=G(ne);if(typeof window>"u"&&_==="prepass")for(const le of W){var re;const ce=le;((re=ce.trpc)===null||re===void 0?void 0:re.ssr)!==!1&&!q.getQueryCache().find({queryKey:ce.queryKey})&&ee(ce.queryKey,ce)}return Fy({queries:W.map(le=>(0,ie.default)((0,ie.default)({},le),{},{queryKey:le.queryKey})),combine:F?.combine},q)},useSuspenseQueries:G=>{const{queryClient:F,client:_}=p(),q=Og(_),ee=G(q),V=R1({queries:ee.map(ne=>(0,ie.default)((0,ie.default)({},ne),{},{queryFn:ne.queryFn,queryKey:ne.queryKey}))},F);return[V.map(ne=>ne.data),V]},useMutation:w,useSubscription:j,useInfiniteQuery:z,usePrefetchInfiniteQuery:U,useSuspenseInfiniteQuery:I}}function aS(n){const s=V2(n);return $d(l=>l==="useContext"||l==="useUtils"?()=>{const i=n.useUtils();return E.useMemo(()=>$2(i),[i])}:n.hasOwnProperty(l)?n[l]:s[l])}function sS(n){const s=nS();return aS(s)}const At=sS(),rS="app_session_id",lS="Please login (10001)",iS="__Host-oauth_state",oS=n=>btoa(JSON.stringify(n));var nd={exports:{}},xl={},ad={exports:{}},sd={};/**
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 _g;function cS(){return _g||(_g=1,(function(n){function s(O,L){var M=O.length;O.push(L);e:for(;0<M;){var se=M-1>>>1,me=O[se];if(0<c(me,L))O[se]=L,O[M]=me,M=se;else break e}}function l(O){return O.length===0?null:O[0]}function i(O){if(O.length===0)return null;var L=O[0],M=O.pop();if(M!==L){O[0]=M;e:for(var se=0,me=O.length,A=me>>>1;se<A;){var Q=2*(se+1)-1,k=O[Q],Y=Q+1,te=O[Y];if(0>c(k,M))Y<me&&0>c(te,k)?(O[se]=te,O[Y]=M,se=Y):(O[se]=k,O[Q]=M,se=Q);else if(Y<me&&0>c(te,M))O[se]=te,O[Y]=M,se=Y;else break e}}return L}function c(O,L){var M=O.sortIndex-L.sortIndex;return M!==0?M:O.id-L.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;n.unstable_now=function(){return d.now()}}else{var m=Date,p=m.now();n.unstable_now=function(){return m.now()-p}}var h=[],g=[],v=1,x=null,w=3,S=!1,C=!1,j=!1,z=!1,U=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;function J(O){for(var L=l(g);L!==null;){if(L.callback===null)i(g);else if(L.startTime<=O)i(g),L.sortIndex=L.expirationTime,s(h,L);else break;L=l(g)}}function G(O){if(j=!1,J(O),!C)if(l(h)!==null)C=!0,F||(F=!0,W());else{var L=l(g);L!==null&&ce(G,L.startTime-O)}}var F=!1,_=-1,q=5,ee=-1;function V(){return z?!0:!(n.unstable_now()-ee<q)}function ne(){if(z=!1,F){var O=n.unstable_now();ee=O;var L=!0;try{e:{C=!1,j&&(j=!1,I(_),_=-1),S=!0;var M=w;try{t:{for(J(O),x=l(h);x!==null&&!(x.expirationTime>O&&V());){var se=x.callback;if(typeof se=="function"){x.callback=null,w=x.priorityLevel;var me=se(x.expirationTime<=O);if(O=n.unstable_now(),typeof me=="function"){x.callback=me,J(O),L=!0;break t}x===l(h)&&i(h),J(O)}else i(h);x=l(h)}if(x!==null)L=!0;else{var A=l(g);A!==null&&ce(G,A.startTime-O),L=!1}}break e}finally{x=null,w=M,S=!1}L=void 0}}finally{L?W():F=!1}}}var W;if(typeof $=="function")W=function(){$(ne)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,le=re.port2;re.port1.onmessage=ne,W=function(){le.postMessage(null)}}else W=function(){U(ne,0)};function ce(O,L){_=U(function(){O(n.unstable_now())},L)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(O){O.callback=null},n.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<O?Math.floor(1e3/O):5},n.unstable_getCurrentPriorityLevel=function(){return w},n.unstable_next=function(O){switch(w){case 1:case 2:case 3:var L=3;break;default:L=w}var M=w;w=L;try{return O()}finally{w=M}},n.unstable_requestPaint=function(){z=!0}
vendor: 8,735 bytes, lines 25-41
25,n.unstable_runWithPriority=function(O,L){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var M=w;w=O;try{return L()}finally{w=M}},n.unstable_scheduleCallback=function(O,L,M){var se=n.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?se+M:se):M=se,O){case 1:var me=-1;break;case 2:me=250;break;case 5:me=1073741823;break;case 4:me=1e4;break;default:me=5e3}return me=M+me,O={id:v++,callback:L,priorityLevel:O,startTime:M,expirationTime:me,sortIndex:-1},M>se?(O.sortIndex=M,s(g,O),l(h)===null&&O===l(g)&&(j?(I(_),_=-1):j=!0,ce(G,M-se))):(O.sortIndex=me,s(h,O),C||S||(C=!0,F||(F=!0,W()))),O},n.unstable_shouldYield=V,n.unstable_wrapCallback=function(O){var L=w;return function(){var M=w;w=L;try{return O.apply(this,arguments)}finally{w=M}}}})(sd)),sd}var Rg;function uS(){return Rg||(Rg=1,ad.exports=cS()),ad.exports}var rd={exports:{}},yt={};/**
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 Mg;function dS(){if(Mg)return yt;Mg=1;var n=wo();function s(h){var g="https://react.dev/errors/"+h;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var v=2;v<arguments.length;v++)g+="&args[]="+encodeURIComponent(arguments[v])}return"Minified React error #"+h+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var i={d:{f:l,r:function(){throw Error(s(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},c=Symbol.for("react.portal");function d(h,g,v){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:x==null?null:""+x,children:h,containerInfo:g,implementation:v}}var m=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function p(h,g){if(h==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return yt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,yt.createPortal=function(h,g){var v=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 d(h,g,null,v)},yt.flushSync=function(h){var g=m.T,v=i.p;try{if(m.T=null,i.p=2,h)return h()}finally{m.T=g,i.p=v,i.d.f()}},yt.preconnect=function(h,g){typeof h=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,i.d.C(h,g))},yt.prefetchDNS=function(h){typeof h=="string"&&i.d.D(h)},yt.preinit=function(h,g){if(typeof h=="string"&&g&&typeof g.as=="string"){var v=g.as,x=p(v,g.crossOrigin),w=typeof g.integrity=="string"?g.integrity:void 0,S=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;v==="style"?i.d.S(h,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:x,integrity:w,fetchPriority:S}):v==="script"&&i.d.X(h,{crossOrigin:x,integrity:w,fetchPriority:S,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},yt.preinitModule=function(h,g){if(typeof h=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var v=p(g.as,g.crossOrigin);i.d.M(h,{crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&i.d.M(h)},yt.preload=function(h,g){if(typeof h=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var v=g.as,x=p(v,g.crossOrigin);i.d.L(h,v,{crossOrigin:x,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})}},yt.preloadModule=function(h,g){if(typeof h=="string")if(g){var v=p(g.as,g.crossOrigin);i.d.m(h,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else i.d.m(h)},yt.requestFormReset=function(h){i.d.r(h)},yt.unstable_batchedUpdates=function(h,g){return h(g)},yt.useFormState=function(h,g,v){return m.H.useFormState(h,g,v)},yt.useFormStatus=function(){return m.H.useHostTransitionStatus()},yt.version="19.2.1",yt}var zg;function u0(){if(zg)return rd.exports;zg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(s){console.error(s)}}return n(),rd.exports=dS(),rd.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 Dg;function fS(){if(Dg)return xl;Dg=1;var n=uS(),s=wo(),l=u0();function i(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function m(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function h(e){if(d(e)!==e)throw Error(i(188))}function g(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(i(188));return t!==e?null:e}for(var a=e,r=t;;){var o=a.return;if(o===null)break;var u=o.alternate;if(u===null){if(r=o.return,r!==null){a=r;continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===a)return h(o),e;if(u===r)return h(o),t;u=u.sibling}throw Error(i(188))}if(a.return!==r.return)a=o,r=u;else{for(var y=!1,b=o.child;b;){if(b===a){y=!0,a=o,r=u;break}if(b===r){y=!0,r=o,a=u;break}b=b.sibling}if(!y){for(b=u.child;b;){if(b===a){y=!0,a=u,r=o;break}if(b===r){y=!0,r=u,a=o;break}b=b.sibling}if(!y)throw Error(i(189))}}if(a.alternate!==r)throw Error(i(190))}if(a.tag!==3)throw Error(i(188));return a.stateNode.current===a?e:t}function v(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=v(e),t!==null)return t;e=e.sibling}return null}var x=Object.assign,w=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),j=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),$=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),ee=Symbol.for("react.activity"),V=Symbol.for("react.memo_cache_sentinel"),ne=Symbol.iterator;function W(e){return e===null||typeof e!="object"?null:(e=ne&&e[ne]||e["@@iterator"],typeof e=="function"?e:null)}var re=Symbol.for("react.client.reference");function le(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===re?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case j:return"Fragment";case U:return"Profiler";case z:return"StrictMode";case G:return"Suspense";case F:return"SuspenseList";case ee:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case C:return"Portal";case $:return e.displayName||"Context";case I:return(e._context.displayName||"Context")+".Consumer";case J:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _:return t=e.displayName||null,t!==null?t:le(e.type)||"Memo";case q:t=e._payload,e=e._init;try{return le(e(t))}catch{}}return null}var ce=Array.isArray,O=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M={pending:!1,data:null,method:null,action:null},se=[],me=-1;function A(e){return{current:e}}function Q(e){0>me||(e.current=se[me],se[me]=null,me--)}function k(e,t){me++,se[me]=e.current,e.current=t}var Y=A(null),te=A(null),he=A(null),oe=A(null);function xe(e,t){switch(k(he,t),k(te,e),k(Y,null),t.nodeType){case 9:case 11:e=(e
vendor: 10,242 bytes, lines 41-48
41=t.documentElement)&&(e=e.namespaceURI)?Mp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Mp(t),e=zp(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Q(Y),k(Y,e)}function Oe(){Q(Y),Q(te),Q(he)}function ot(e){e.memoizedState!==null&&k(oe,e);var t=Y.current,a=zp(t,e.type);t!==a&&(k(te,e),k(Y,a))}function vt(e){te.current===e&&(Q(Y),Q(te)),oe.current===e&&(Q(oe),fl._currentValue=M)}var ct,Tn;function rn(e){if(ct===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);ct=t&&t[1]||"",Tn=-1<a.stack.indexOf(`
42    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
43`+ct+e+Tn}var Sr=!1;function Ss(e,t){if(!e||Sr)return"";Sr=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var Z=function(){throw Error()};if(Object.defineProperty(Z.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Z,[])}catch(B){var H=B}Reflect.construct(e,[],Z)}else{try{Z.call()}catch(B){H=B}e.call(Z.prototype)}}else{try{throw Error()}catch(B){H=B}(Z=e())&&typeof Z.catch=="function"&&Z.catch(function(){})}}catch(B){if(B&&H&&typeof B.stack=="string")return[B.stack,H.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=r.DetermineComponentFrameRoot(),y=u[0],b=u[1];if(y&&b){var N=y.split(`
44`),P=b.split(`
45`);for(o=r=0;r<N.length&&!N[r].includes("DetermineComponentFrameRoot");)r++;for(;o<P.length&&!P[o].includes("DetermineComponentFrameRoot");)o++;if(r===N.length||o===P.length)for(r=N.length-1,o=P.length-1;1<=r&&0<=o&&N[r]!==P[o];)o--;for(;1<=r&&0<=o;r--,o--)if(N[r]!==P[o]){if(r!==1||o!==1)do if(r--,o--,0>o||N[r]!==P[o]){var X=`
46`+N[r].replace(" at new "," at ");return e.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",e.displayName)),X}while(1<=r&&0<=o);break}}}finally{Sr=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?rn(a):""}function La(e,t){switch(e.tag){case 26:case 27:case 5:return rn(e.type);case 16:return rn("Lazy");case 13:return e.child!==t&&t!==null?rn("Suspense Fallback"):rn("Suspense");case 19:return rn("SuspenseList");case 0:case 15:return Ss(e.type,!1);case 11:return Ss(e.type.render,!1);case 1:return Ss(e.type,!0);case 31:return rn("Activity");default:return""}}function wr(e){try{var t="",a=null;do t+=La(e,a),a=e,e=e.return;while(e);return t}catch(r){return`
47Error generating stack: `+r.message+`
48`+r.stack}}var Ht=Object.prototype.hasOwnProperty,Cr=n.unstable_scheduleCallback,jr=n.unstable_cancelCallback,bt=n.unstable_shouldYield,aa=n.unstable_requestPaint,St=n.unstable_now,Uo=n.unstable_getCurrentPriorityLevel,Ba=n.unstable_ImmediatePriority,Bl=n.unstable_UserBlockingPriority,Qa=n.unstable_NormalPriority,Ar=n.unstable_LowPriority,_n=n.unstable_IdlePriority,Ql=n.log,sa=n.unstable_setDisableYieldValue,Fa=null,wt=null;function ln(e){if(typeof Ql=="function"&&sa(e),wt&&typeof wt.setStrictMode=="function")try{wt.setStrictMode(Fa,e)}catch{}}var pt=Math.clz32?Math.clz32:pn,qo=Math.log,Nr=Math.LN2;function pn(e){return e>>>=0,e===0?32:31-(qo(e)/Nr|0)|0}var ws=256,Cs=262144,Ga=4194304;function gn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ve(e,t,a){var r=e.pendingLanes;if(r===0)return 0;var o=0,u=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var b=r&134217727;return b!==0?(r=b&~u,r!==0?o=gn(r):(y&=b,y!==0?o=gn(y):a||(a=b&~e,a!==0&&(o=gn(a))))):(b=r&~u,b!==0?o=gn(b):y!==0?o=gn(y):a||(a=r&~e,a!==0&&(o=gn(a)))),o===0?0:t!==0&&t!==o&&(t&u)===0&&(u=o&-o,a=t&-t,u>=a||u===32&&(a&4194048)!==0)?t:o}function Ge(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function rt(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 gt(){var e=Ga;return Ga<<=1,(Ga&62914560)===0&&(Ga=4194304),e}function ra(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Ve(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Nt(e,t,a,r,o,u){var y=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var b=e.entanglements,N=e.expirationTimes,P=e.hiddenUpdates;for(a=y&~a;0<a;){var X=31-pt(a),Z=1<<X;b[X]=0,N[X]=-1;var H=P[X];if(H!==null)for(P[X]=null,X=0;X<H.length;X++){var B=H[X];B!==null&&(B.lane&=-536870913)}a&=~Z}r!==0&&Ya(e,r,0),u!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=u&~(y&~t))}function Ya(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-pt(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|a&261930}function Et(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var r=31-pt(a),o=1<<r;o&t|e[r]&t&&(e[r]|=t),a&=~o}}function Ot(e,t){var a=t&-t;return a=(a&42)!==0?1:js(a),(a&(e.suspendedLanes|t))!==0?0:a}function js(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function on(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Lo(){var e=L.p;return e!==0?e:(e=window.event,e===void 0?32:ng(e.type))}function xf(e,t){var a=L.p;try{return L.p=e,t()}finally{L.p=a}}var la=Math.random().toString(36).slice(2),ut="__reactFiber$"+la,Tt="__reactProps$"+la,As="__reactContainer$"+la,Bo="__reactEvents$"+la,Px="__reactListeners$"+la,kx="__reactHandles$"+la,vf="__reactResources$"+la,Er="__reactMarker$"+la;function Qo(e){delete e[ut],delete e[Tt],delete e[Bo],delete e[Px],delete e[kx]}function Ns(e){var t=e[ut];if(t)return t;for(var a=e.parentNode;a;){if(t=a[As]||a[ut]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Lp(e);e!==null;){if(a=e[ut])return a;e=Lp(e)}return t}e=a,a=e.parentNode}return null}function Es(e){if(e=e[ut]||e[As]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Or(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function Os(e){var t=e[vf];return t||(t=e[vf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function lt(e){e[Er]=!0}var bf=new Set,Sf={};function Va(e,t){Ts(e,t),Ts(e+"Capture",t)}function Ts(e,t){for(Sf[e]=t,e=0;e<t.length;e++)bf.add(t[e])}var Hx=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]*$"),wf={},Cf={};function Ux(e){return Ht.call(Cf,e)?!0:Ht.call(wf,e)?!1:Hx.test(e)?Cf[e]=!0:(wf[e]=!0,!1)}function Fl(e,t,a){if(Ux(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var r=t.toLowerCase().slice(0,5);if(r!=="data-"&&r!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function Gl(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function Rn(e,t,a,r){if(r===null)e.removeAttribute(a);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+r)}}function Zt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function jf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function qx(e,t,a){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,u=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(y){a=""+y,u.call(this,y)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return a},setValue:function(y){a=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Fo(e){if(!e._valueTracker){var t=jf(e)?"checked":"value";e._valueTracker=qx(e,t,""+e[t])}}function Af(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),r="";return e&&(r=jf(e)?e.checked?"true":"false":e.value),e=r,e!==a?(t.setValue(e),!0):!1}function Yl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Lx=/[\n"\\]/g;function Jt(e){return e.replace(Lx,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Go(e,t,a,r,o,u,y,b){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.type=y:e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Zt
vendor: 4,176 bytes, line 48
48(t)):e.value!==""+Zt(t)&&(e.value=""+Zt(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?Yo(e,y,Zt(t)):a!=null?Yo(e,y,Zt(a)):r!=null&&e.removeAttribute("value"),o==null&&u!=null&&(e.defaultChecked=!!u),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.name=""+Zt(b):e.removeAttribute("name")}function Nf(e,t,a,r,o,u,y,b){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||a!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Fo(e);return}a=a!=null?""+Zt(a):"",t=t!=null?""+Zt(t):a,b||t===e.value||(e.value=t),e.defaultValue=t}r=r??o,r=typeof r!="function"&&typeof r!="symbol"&&!!r,e.checked=b?e.checked:!!r,e.defaultChecked=!!r,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.name=y),Fo(e)}function Yo(e,t,a){t==="number"&&Yl(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function _s(e,t,a,r){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&r&&(e[a].defaultSelected=!0)}else{for(a=""+Zt(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Ef(e,t,a){if(t!=null&&(t=""+Zt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Zt(a):""}function Of(e,t,a,r){if(t==null){if(r!=null){if(a!=null)throw Error(i(92));if(ce(r)){if(1<r.length)throw Error(i(93));r=r[0]}a=r}a==null&&(a=""),t=a}a=Zt(t),e.defaultValue=a,r=e.textContent,r===a&&r!==""&&r!==null&&(e.value=r),Fo(e)}function Rs(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Bx=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 Tf(e,t,a){var r=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?r?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":r?e.setProperty(t,a):typeof a!="number"||a===0||Bx.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function _f(e,t,a){if(t!=null&&typeof t!="object")throw Error(i(62));if(e=e.style,a!=null){for(var r in a)!a.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf("--")===0?e.setProperty(r,""):r==="float"?e.cssFloat="":e[r]="");for(var o in t)r=t[o],t.hasOwnProperty(o)&&a[o]!==r&&Tf(e,o,r)}else for(var u in t)t.hasOwnProperty(u)&&Tf(e,u,t[u])}function Vo(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Qx=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"],["colorRen
48dering","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"]]),Fx=/^[\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 Vl(e){return Fx.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Mn(){}var Xo=null;function Ko(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ms=null,zs=null;function Rf(e){var t=Es(e);if(t&&(e=t.stateNode)){var a=e[Tt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Go(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Jt(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var r=a[t];if(r!==e&&r.form===e.form){var o=r[Tt]||null;if(!o)throw Error(i(90));Go(r,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)r=a[t],r.form===e.form&&Af(r)}break e;case"textarea":Ef(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&_s(e,!!a.multiple,t,!1)}}}var Zo=!1;function Mf(e,t,a){if(Zo)return e(t,a);Zo=!0;try{var r=e(t);return r}finally{if(Zo=!1,(Ms!==null||zs!==null)&&(zi(),Ms&&(t=Ms,e=zs,zs=Ms=null,Rf(t),e)))for(t=0;t<e.length;t++)Rf(e[t])}}function Tr(e,t){var a=e.stateNode;if(a===null)return null;var r=a[Tt]||null;if(r===null)return null;a=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(i(231,t,typeof a));return a}var zn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Jo=!1;if(zn)try{var _r={};Object.defineProperty(_r,"passive",{get:function(){Jo=!0}}),window.addEventListener("test",_r,_r),window.removeEventListener("test",_r,_r)}catch{Jo=!1}var ia=null,$o=null,Xl=null;function zf(){if(Xl)return Xl;var e,t=$o,a=t.length,r,o="value"in ia?ia.value:ia.textContent,u=o.length;for(e=0;e<a&&t[e]===o[e];e++);var y=a-e;for(r=1;r<=y&&t[a-r]===o[u-r];r++);return Xl=o.slice(e,1<r?1-r:void 0)}function Kl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Zl(){return!0}function Df(){return!1}function _t(e){function t(a,r,o,u,y){this._reactName=a,this._targetInst=o,this.type=r,this.nativeEvent=u,this.target=y,this.currentTarget=null;for(var b in e)e.hasOwnProperty(b)&&(a=e[b],this[b]=a?a(u):u[b]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Zl:Df,this.isPropagationStopped=Df,this}return x(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Zl)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Zl)},persist:function(){},isPersistent:Zl}),t}var Xa={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jl=_t(Xa),Rr=x({},Xa,{view:0,detail:0}),Gx=_t(Rr),Io,Wo,Mr,$l=x({},Rr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:tc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Mr&&(Mr&&e.type==="mousemove"?(Io=e.screenX-Mr.screenX,Wo=e.screenY-Mr.screenY):Wo=Io=0,Mr=e),Io)},movementY:function(e){return"movementY"in e?e.movementY:Wo}
vendor: 4,759 bytes, line 48
48}),Pf=_t($l),Yx=x({},$l,{dataTransfer:0}),Vx=_t(Yx),Xx=x({},Rr,{relatedTarget:0}),ec=_t(Xx),Kx=x({},Xa,{animationName:0,elapsedTime:0,pseudoElement:0}),Zx=_t(Kx),Jx=x({},Xa,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$x=_t(Jx),Ix=x({},Xa,{data:0}),kf=_t(Ix),Wx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ev={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"},tv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function nv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=tv[e])?!!t[e]:!1}function tc(){return nv}var av=x({},Rr,{key:function(e){if(e.key){var t=Wx[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Kl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ev[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:tc,charCode:function(e){return e.type==="keypress"?Kl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Kl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),sv=_t(av),rv=x({},$l,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Hf=_t(rv),lv=x({},Rr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:tc}),iv=_t(lv),ov=x({},Xa,{propertyName:0,elapsedTime:0,pseudoElement:0}),cv=_t(ov),uv=x({},$l,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),dv=_t(uv),fv=x({},Xa,{newState:0,oldState:0}),mv=_t(fv),hv=[9,13,27,32],nc=zn&&"CompositionEvent"in window,zr=null;zn&&"documentMode"in document&&(zr=document.documentMode);var pv=zn&&"TextEvent"in window&&!zr,Uf=zn&&(!nc||zr&&8<zr&&11>=zr),qf=" ",Lf=!1;function Bf(e,t){switch(e){case"keyup":return hv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ds=!1;function gv(e,t){switch(e){case"compositionend":return Qf(t);case"keypress":return t.which!==32?null:(Lf=!0,qf);case"textInput":return e=t.data,e===qf&&Lf?null:e;default:return null}}function yv(e,t){if(Ds)return e==="compositionend"||!nc&&Bf(e,t)?(e=zf(),Xl=$o=ia=null,Ds=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Uf&&t.locale!=="ko"?null:t.data;default:return null}}var xv={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 Ff(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!xv[e.type]:t==="textarea"}function Gf(e,t,a,r){Ms?zs?zs.push(r):zs=[r]:Ms=r,t=Li(t,"onChange"),0<t.length&&(a=new Jl("onChange","change",null,a,r),e.push({event:a,listeners:t}))}var Dr=null,Pr=null;function vv(e){Np(e,0)}function Il(e){var t=Or(e);if(Af(t))return e}function Yf(e,t){if(e==="change")return t}var Vf=!1;if(zn){var ac;if(zn){var sc="oninput"in document;if(!sc){var Xf=document.createElement("div");Xf.setAttribute("oninput","return;"),sc=typeof Xf.oninput=="function"}ac=sc}else ac=!1;Vf=ac&&(!document.documentMode||9<document.documentMode)}function Kf(){Dr&&(Dr.detachEvent("onpropertychange",Zf),Pr=Dr=null)}function Zf(e){if(e.propertyName==="value"&&Il(Pr)){var t=[];Gf(t,Pr,e,Ko(e)),Mf(vv,t)}}function bv(e,t,a){e==="focusin"?(Kf(),Dr=t,Pr=a,Dr.attachEvent("onpropertychange",Zf)):e==="focusout"&&Kf()}function Sv(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Il(Pr)}function wv(e,t){if(e==="click")return Il(t)}function Cv(e,t){if(e==="input"||e==="change")return Il(t)}function jv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ut=typeof Object.is=="function"?Object.is:jv;function kr(e,t){if(Ut(e,t))return!0;
vendor: 20,639 bytes, line 48
48if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),r=Object.keys(t);if(a.length!==r.length)return!1;for(r=0;r<a.length;r++){var o=a[r];if(!Ht.call(t,o)||!Ut(e[o],t[o]))return!1}return!0}function Jf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $f(e,t){var a=Jf(e);e=0;for(var r;a;){if(a.nodeType===3){if(r=e+a.textContent.length,e<=t&&r>=t)return{node:a,offset:t-e};e=r}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Jf(a)}}function If(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?If(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Wf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Yl(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Yl(e.document)}return t}function rc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Av=zn&&"documentMode"in document&&11>=document.documentMode,Ps=null,lc=null,Hr=null,ic=!1;function em(e,t,a){var r=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ic||Ps==null||Ps!==Yl(r)||(r=Ps,"selectionStart"in r&&rc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Hr&&kr(Hr,r)||(Hr=r,r=Li(lc,"onSelect"),0<r.length&&(t=new Jl("onSelect","select",null,t,a),e.push({event:t,listeners:r}),t.target=Ps)))}function Ka(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var ks={animationend:Ka("Animation","AnimationEnd"),animationiteration:Ka("Animation","AnimationIteration"),animationstart:Ka("Animation","AnimationStart"),transitionrun:Ka("Transition","TransitionRun"),transitionstart:Ka("Transition","TransitionStart"),transitioncancel:Ka("Transition","TransitionCancel"),transitionend:Ka("Transition","TransitionEnd")},oc={},tm={};zn&&(tm=document.createElement("div").style,"AnimationEvent"in window||(delete ks.animationend.animation,delete ks.animationiteration.animation,delete ks.animationstart.animation),"TransitionEvent"in window||delete ks.transitionend.transition);function Za(e){if(oc[e])return oc[e];if(!ks[e])return e;var t=ks[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in tm)return oc[e]=t[a];return e}var nm=Za("animationend"),am=Za("animationiteration"),sm=Za("animationstart"),Nv=Za("transitionrun"),Ev=Za("transitionstart"),Ov=Za("transitioncancel"),rm=Za("transitionend"),lm=new Map,cc="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(" ");cc.push("scrollEnd");function cn(e,t){lm.set(e,t),Va(t,[e])}var Wl=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},$t=[],Hs=0,uc=0;function ei(){for(var e=Hs,t=uc=Hs=0;t<e;){var a=$t[t];$t[t++]=null;var r=$t[t];$t[t++]=null;var o=$t[t];$t[t++]=null;var u=$t[t];if($t[t++]=null,r!==null&&o!==null){var y=r.pending;y===null?o.next=o:(o.next=y.next,y.next=o),r.pending=o}u!==0&&im(a,o,u)}}function ti(e,t,a,r){$t[Hs++]=e,$t[Hs++]=t,$t[Hs++]=a,$t[Hs++]=r,uc|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function dc(e,t,a,r){return ti(e,t,a,r),ni(e)}function Ja(e,t){return ti(e,null,null,t),ni(e)}function im(e,t,a){e.lanes|=a;var r=e.alternate;r!==null&&(r.lanes|=a);for(var o=!1,u=e.return;u!==null;)u.childLanes|=a,r=u.alternate,r!==null&&(r.childLanes|=a),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(o=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,o&&t!==null&&(o=31-pt(a),e=u.hiddenUpdates,r=e[o],r===null?e[o]=[t]:r.push(t),t.lane=a|536870912),u):null}function ni(e){if(50<rl)throw rl=0,bu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Us={};function Tv(e,t,a,r){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qt(e,t,a,r){return new Tv(e,t,a,r)}function fc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Dn(e,t){var a=e.alternate;return a===null?(a=qt(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function om(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ai(e,t,a,r,o,u){var y=0;if(r=e,typeof e=="function")fc(e)&&(y=1);else if(typeof e=="string")y=Db(e,a,Y.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ee:return e=qt(31,a,t,o),e.elementType=ee,e.lanes=u,e;case j:return $a(a.children,o,u,t);case z:y=8,o|=24;break;case U:return e=qt(12,a,t,o|2),e.elementType=U,e.lanes=u,e;case G:return e=qt(13,a,t,o),e.elementType=G,e.lanes=u,e;case F:return e=qt(19,a,t,o),e.elementType=F,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $:y=10;break e;case I:y=9;break e;case J:y=11;break e;case _:y=14;break e;case q:y=16,r=null;break e}y=29,a=Error(i(130,e===null?"null":typeof e,"")),r=null}return t=qt(y,a,t,o),t.elementType=e,t.type=r,t.lanes=u,t}function $a(e,t,a,r){return e=qt(7,e,r,t),e.lanes=a,e}function mc(e,t,a){return e=qt(6,e,null,t),e.lanes=a,e}function cm(e){var t=qt(18,null,null,0);return t.stateNode=e,t}function hc(e,t,a){return t=qt(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var um=new WeakMap;function It(e,t){if(typeof e=="object"&&e!==null){var a=um.get(e);return a!==void 0?a:(t={value:e,source:t,stack:wr(t)},um.set(e,t),t)}return{value:e,source:t,stack:wr(t)}}var qs=[],Ls=0,si=null,Ur=0,Wt=[],en=0,oa=null,yn=1,xn="";function Pn(e,t){qs[Ls++]=Ur,qs[Ls++]=si,si=e,Ur=t}function dm(e,t,a){Wt[en++]=yn,Wt[en++]=xn,Wt[en++]=oa,oa=e;var r=yn;e=xn;var o=32-pt(r)-1;r&=~(1<<o),a+=1;var u=32-pt(t)+o;if(30<u){var y=o-o%5;u=(r&(1<<y)-1).toString(32),r>>=y,o-=y,yn=1<<32-pt(t)+o|a<<o|r,xn=u+e}else yn=1<<u|a<<o|r,xn=e}function pc(e){e.return!==null&&(Pn(e,1),dm(e,1,0))}function gc(e){for(;e===si;)si=qs[--Ls],qs[Ls]=null,Ur=qs[--Ls],qs[Ls]=null;for(;e===oa;)oa=Wt[--en],Wt[en]=null,xn=Wt[--en],Wt[en]=null,yn=Wt[--en],Wt[en]=null}function fm(e,t){Wt[en++]=yn,Wt[en++]=xn,Wt[en++]=oa,yn=t.id,xn=t.overflow,oa=e}var dt=null,Qe=null,Te=!1,ca=null,tn=!1,yc=Error(i(519));function ua(e){var t=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw qr(It(t,e)),yc}function mm(e){var t=e.stateNode,a=e.type,r=e.memoizedProps;switch(t[ut]=e,t[Tt]=r,a){case"dialog":Ae("cancel",t),Ae("close",t);break;case"iframe":case"object":case"embed":Ae("load",t);break;case"video":case"audio":for(a=0;a<il.length;a++)Ae(il[a],t);break;case"source":Ae("error",t);break;case"img":case"image":case"link":Ae("error",t),Ae("load",t);break;case"details":Ae("toggle",t);break;case"input":Ae("invalid",t),Nf(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case"select":Ae("invalid",t);break;case"textarea":Ae("invalid",t),Of(t,r.value,r.defaultValue,r.children)}a=r.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||r.suppressHydrationWarning===!0||_p(t.textContent,a)?(r.popover!=null&&(Ae("beforetoggle",t),Ae("toggle",t)),r.onScroll!=null&&Ae("scroll",t),r.onScrollEnd!=null&&Ae("scrollend",t),r.onClick!=null&&(t.onclick=Mn),t=!0):t=!1,t||ua(e,!0)}function hm(e){for(dt=e.return;dt;)switch(dt.tag){case 5:case 31:case 13:tn=!1;return;case 27:case 3:tn=!0;return;default:dt=dt.return}}function Bs(e){if(e!==dt)return!1;if(!Te)return hm(e),Te=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Pu(e.type,e.memoizedProps)),a=!a),a&&Qe&&ua(e),hm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));Qe=qp(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));Qe=qp(e)}else t===27?(t=Qe,ja(e.type)?(e=Lu,Lu=null,Qe=e):Qe=t):Qe=dt?an(e.stateNode.nextSibling):null;return!0}function Ia(){Qe=dt=null,Te=!1}function xc(){var e=ca;return e!==null&&(Dt===null?Dt=e:Dt.push.apply(Dt,e),ca=null),e}function qr(e){ca===null?ca=[e]:ca.push(e)}var vc=A(null),Wa=null,kn=null;function da(e,t,a){k(vc,t._currentValue),t._currentValue=a}function Hn(e){e._currentValue=vc.current,Q(vc)}function bc(e,t,a){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===a)break;e=e.return}}function Sc(e,t,a,r){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var u=o.dependencies;if(u!==null){var y=o.child;u=u.firstContext;e:for(;u!==null;){var b=u;u=o;for(var N=0;N<t.length;N++)if(b.context===t[N]){u.lanes|=a,b=u.alternate,b!==null&&(b.lanes|=a),bc(u.return,a,e),r||(y=null);break e}u=b.next}}else if(o.tag===18){if(y=o.return,y===null)throw Error(i(341));y.lanes|=a,u=y.alternate,u!==null&&(u.lanes|=a),bc(y,a,e),y=null}else y=o.child;if(y!==null)y.return=o;else for(y=o;y!==null;){if(y===e){y=null;break}if(o=y.sibling,o!==null){o.return=y.return,y=o;break}y=y.return}o=y}}function Qs(e,t,a,r){e=null;for(var o=t,u=!1;o!==null;){if(!u){if((o.flags&524288)!==0)u=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var y=o.alternate;if(y===null)throw Error(i(387));if(y=y.memoizedProps,y!==null){var b=o.type;Ut(o.pendingProps.value,y.value)||(e!==null?e.push(b):e=[b])}}else if(o===oe.current){if(y=o.alternate,y===null)throw Error(i(387));y.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(fl):e=[fl])}o=o.return}e!==null&&Sc(t,e,a,r),t.flags|=262144}function ri(e){for(e=e.firstContext;e!==null;){if(!Ut(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function es(e){Wa=e,kn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ft(e){return pm(Wa,e)}function li(e,t){return Wa===null&&es(e),pm(e,t)}function pm(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},kn===null){if(e===null)throw Error(i(308));kn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else kn=kn.next=t;return a}var _v=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,r){e.push(r)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},Rv=n.unstable_scheduleCallback,Mv=n.unstable_NormalPriority,We={$$typeof:$,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function wc(){return{controller:new _v,data:new Map,refCount:0}}function Lr(e){e.refCount--,e.refCount===0&&Rv(Mv,function(){e.controller.abort()})}var Br=null,Cc=0,Fs=0,Gs=null;function zv(e,t){if(Br===null){var a=Br=[];Cc=0,Fs=Nu(),Gs={status:"pending",value:void 0,then:function(r){a.push(r)}}}return Cc++,t.then(gm,gm),t}function gm(){if(--Cc===0&&Br!==null){Gs!==null&&(Gs.status="fulfilled");var e=Br;Br=null,Fs=0,Gs=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Dv(e,t){var a=[],r={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){r.status="fulfilled",r.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(r.status="rejected",r.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),r}var ym=O.S;O.S=function(e,t){ep=St(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&zv(e,t),ym!==null&&ym(e,t)};var ts=A(null);function jc(){var e=ts.current;return e!==null?e:Be.pooledCache}function ii(e,t){t===null?k(ts,ts.current):k(ts,t.pool)}function xm(){var e=jc();return e===null?null:{parent:We._currentValue,pool:e}}var Ys=Error(i(460)),Ac=Error(i(474)),oi=Error(i(542)),ci={then:function(){}};function vm(e){return e=e.status,e==="fulfilled"||e==="rejected"}function bm(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Mn,Mn),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,wm(e),e;default:if(typeof t.status=="string")t.then(Mn,Mn);else{if(e=Be,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status="pending",e.then(function(r){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=r}},function(r){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=r}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,wm(e),e}throw as=t,Ys}}function ns(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(as=a,Ys):a}}var as=null;function Sm(){if(as===null)throw Error(i(459));var e=as;return as=null,e}function wm(e){if(e===Ys||e===oi)throw Error(i(483))}var Vs=null,Qr=0;function ui(e){var t=Qr;return Qr+=1,Vs===null&&(Vs=[]),bm(Vs,e,t)}function Fr(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function di(e,t){throw t.$$typeof===w?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Cm(e){function t(R,T){if(e){var D=R.deletions;D===null?(R.deletions=[T],R.flags|=16):D.push(T)}}function a(R,T){if(!e)return null;for(;T!==null;)t(R,T),T=T.sibling;return null}function r(R){for(var T=new Map;R!==null;)R.key!==null?T.set(R.key,R):T.set(R.index,R),R=R.sibling;return T}function o(R,T){return R=Dn(R,T),R.index=0,R.sibling=null,R}function u(R,T,D){return R.index=D,e?(D=R.alternate,D!==null?(D=D.index,D<T?(R.flags|=67108866,T):D):(R.flags|=67108866,T)):(R.flags|=1048576,T)}function y(R){return e&&R.alternate===null&&(R.flags|=67108866),R}function b(R,T,D,K){return T===null||T.tag!==6?(T=mc(D,R.mode,K),T.return=R,T):(T=o(T,D),T.return=R,T)}function N(R,T,D,K){var ge=D.type;return ge===j?X(R,T,D.props.children,K,D.key):T!==null&&(T.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===q&&ns(ge)===T.type)?(T=o(T,D.props),Fr(T,D),T.return=R,T):(T=ai(D.type,D.key,D.props,null,R.mode,K),Fr(T,D),T.return=R,T)}function P(R,T,D,K){return T===null||T.tag!==4||T.stateNode.containerInfo!==D.containerInfo||T.stateNode.implementation!==D.implementation?(T=hc(D,R.mode,K),T.return=R,T):(T=o(T,D.children||[]),T.return=R,T)}function X(R,T,D,K,ge){return T===null||T.tag!==7?(T=$a(D,R.mode,K,ge),T.return=R,T):(T=o(T,D),T.return=R,T)}function Z(R,T,D){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=mc(""+T,R.mode,D),T.return=R,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case S:return D=ai(T.type,T.key,T.props,null,R.mode,D),Fr(D,T),D.return=R,D;case C:return T=hc(T,R.mode,D),T.return=R,T;case q:return T=ns(T),Z(R,T,D)}if(ce(T)||W(T))return T=$a(T,R.mode,D,null),T.return=R,T;if(typeof T.then=="function")return Z(R,ui(T),D);if(T.$$typeof===$)return Z(R,li(R,T),D);di(R,T)}return null}function H(R,T,D,K){var ge=T!==null?T.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return ge!==null?null:b(R,T,""+D,K);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case S:return D.key===ge?N(R,T,D,K):null;case C:return D.key===ge?P(R,T,D,K):null;case q:return D=ns(D),H(R,T,D,K)}if(ce(D)||W(D))return ge!==null?null:X(R,T,D,K,null);if(typeof D.then=="function")return H(R,T,ui(D),K);if(D.$$typeof===$)return H(R,T,li(R,D),K);di(R,D)}return null}function B(R,T,D,K,ge){if(typeof K=="string"&&K!==""||typeof K=="number"||typeof K=="bigint")return R=R.get(D)||null,b(T,R,""+K,ge);if(typeof K=="object"&&K!==null){switch(K.$$typeof){case S:return R=R.get(K.key===null?D:K.key)||null,N(T,R,K,ge);case C:return R=R.get(K.key===null?D:K.key)||null,P(T,R,K,ge);case q:return K=ns(K),B(R,T,D,K,ge)}if(ce(K)||W(K))return R=R.get(D)||null,X(T,R,K,ge,null);if(typeof K.then=="function")return B(R,T,D,ui(K),ge);if(K.$$typeof===$)return B(R,T,D,li(T,K),ge);di(T,K)}return null}function ue(R,T,D,K){for(var ge=null,Re=null,pe=T,we=T=0,Ee=null;pe!==null&&we<D.length;we++){pe.index>we?(Ee=pe,pe=null):Ee=pe.sibling;var Me=H(R,pe,D[we],K);if(Me===null){pe===null&&(pe=Ee);break}e&&pe&&Me.alternate===null&&t(R,pe),T=u(Me,T,we),Re===null?ge=Me:Re.sibling=Me,Re=Me,pe=Ee}if(we===D.length)return a(R,pe),Te&&Pn(R,we),ge;if(pe===null){for(;we<D.length;we++)pe=Z(R,D[we],K),pe!==null&&(T=u(pe,T,we),Re===null?ge=pe:Re.sibling=pe,Re=pe);return Te&&Pn(R,we),ge}for(pe=r(pe);we<D.length;we++)Ee=B(pe,R,we,D[we],K),Ee!==null&&(e&&Ee.alternate!==null&&pe.delete(Ee.key===null?we:Ee.key),T=u(Ee,T,we),Re===null?ge=Ee:Re.sibling=Ee,Re=Ee);return e&&pe.forEach(function(Ta){return t(R,Ta)}),Te&&Pn(R,we),ge}function ye(R,T,D,K){if(D==null)throw Error(i(151));for(var ge=null,Re=null,pe=T,we=T=0,Ee=null,Me=D.next();pe!==null&&!Me.done;we++,Me=D.next()){pe.index>we?(Ee=pe,pe=null):Ee=pe.sibling;var Ta=H(R,pe,Me.value,K);if(Ta===null){pe===null&&(pe=Ee);break}e&&pe&&Ta.alternate===null&&t(R,pe),T=u(Ta,T,we),Re===null?ge=Ta:Re.sibling=Ta,Re=Ta,pe=Ee}if(Me.done)return a(R,pe),Te&&Pn(R,we),ge;if(pe===null){for(;!Me.done;we++,Me=D.next())Me=Z(R,Me.value,K),Me!==null&&(T=u(Me,T,we),Re===null?ge=Me:Re.sibling=Me,Re=Me);return Te&&Pn(R,we),ge}for(pe=r(pe);!Me.done;we++,Me=D.next())Me=B(pe,R,we,Me.value,K),Me!==null&&(e&&Me.alternate!==null&&pe.delete(Me.key===null?we:Me.key),T=u(Me,T,we),Re===null?ge=Me:Re.sibling=Me,Re=Me);return e&&pe.forEach(function(Yb){return t(R,Yb)}),Te&&Pn(R,we),ge}function Le(R,T,D,K){if(typeof D=="object"&&D!==null&&D.type===j&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case S:e:{for(var ge=D.key;T!==null;){if(T.key===ge){if(ge=D.type,ge===j){if(T.tag===7){a(R,T.sibling),K=o(T,D.props.children),K.return=R,R=K;break e}}else if(T.elementType===ge||typeof ge=="object"&&ge!==null&&ge.$$typeof===q&&ns(ge)===T.type){a(R,T.sibling),K=o(T,D.props),Fr(K,D),K.return=R,R=K;break e}a(R,T);break}else t(R,T);T=T.sibling}D.type===j?(K=$a(D.props.children,R.mode,K,D.key),K.return=R,R=K):(K=ai(D.type,D.key,D.props,null,R.mode,K),Fr(K,D),K.return=R,R=K)}return y(R);case C:e:{for(ge=D.key;T!==null;){if(T.key===ge)if(T.tag===4&&T.stateNode.containerInfo===D.containerInfo&&T.stateNode.implementation===D.implementation){a(R,T.sibling),K=o(T,D.children||[]),K.return=R,R=K;break e}else{a(R,T);break}else t(R,T);T=T.sibling}K=hc(D,R.mode,K),K.return=R,R=K}return y(R);case q:return D=ns(D),Le(R,T,D,K)}if(ce(D))return ue(R,T,D,K);if(W(D)){if(ge=W(D),typeof ge!="function")throw Error(i(150));return D=ge.call(D),ye(R,T,D,K)}if(typeof D.then=="function")return Le(R,T,ui(D),K);if(D.$$typeof===$)return Le(R,T,li(R,D),K);di(R,D)}
vendor: 4,900 bytes, line 48
48return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,T!==null&&T.tag===6?(a(R,T.sibling),K=o(T,D),K.return=R,R=K):(a(R,T),K=mc(D,R.mode,K),K.return=R,R=K),y(R)):a(R,T)}return function(R,T,D,K){try{Qr=0;var ge=Le(R,T,D,K);return Vs=null,ge}catch(pe){if(pe===Ys||pe===oi)throw pe;var Re=qt(29,pe,null,R.mode);return Re.lanes=K,Re.return=R,Re}finally{}}}var ss=Cm(!0),jm=Cm(!1),fa=!1;function Nc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ec(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ma(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ha(e,t,a){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(Pe&2)!==0){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,t=ni(e),im(e,null,a),t}return ti(e,r,t,a),ni(e)}function Gr(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,Et(e,a)}}function Oc(e,t){var a=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,a===r)){var o=null,u=null;if(a=a.firstBaseUpdate,a!==null){do{var y={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};u===null?o=u=y:u=u.next=y,a=a.next}while(a!==null);u===null?o=u=t:u=u.next=t}else o=u=t;a={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:u,shared:r.shared,callbacks:r.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Tc=!1;function Yr(){if(Tc){var e=Gs;if(e!==null)throw e}}function Vr(e,t,a,r){Tc=!1;var o=e.updateQueue;fa=!1;var u=o.firstBaseUpdate,y=o.lastBaseUpdate,b=o.shared.pending;if(b!==null){o.shared.pending=null;var N=b,P=N.next;N.next=null,y===null?u=P:y.next=P,y=N;var X=e.alternate;X!==null&&(X=X.updateQueue,b=X.lastBaseUpdate,b!==y&&(b===null?X.firstBaseUpdate=P:b.next=P,X.lastBaseUpdate=N))}if(u!==null){var Z=o.baseState;y=0,X=P=N=null,b=u;do{var H=b.lane&-536870913,B=H!==b.lane;if(B?(Ne&H)===H:(r&H)===H){H!==0&&H===Fs&&(Tc=!0),X!==null&&(X=X.next={lane:0,tag:b.tag,payload:b.payload,callback:null,next:null});e:{var ue=e,ye=b;H=t;var Le=a;switch(ye.tag){case 1:if(ue=ye.payload,typeof ue=="function"){Z=ue.call(Le,Z,H);break e}Z=ue;break e;case 3:ue.flags=ue.flags&-65537|128;case 0:if(ue=ye.payload,H=typeof ue=="function"?ue.call(Le,Z,H):ue,H==null)break e;Z=x({},Z,H);break e;case 2:fa=!0}}H=b.callback,H!==null&&(e.flags|=64,B&&(e.flags|=8192),B=o.callbacks,B===null?o.callbacks=[H]:B.push(H))}else B={lane:H,tag:b.tag,payload:b.payload,callback:b.callback,next:null},X===null?(P=X=B,N=Z):X=X.next=B,y|=H;if(b=b.next,b===null){if(b=o.shared.pending,b===null)break;B=b,b=B.next,B.next=null,o.lastBaseUpdate=B,o.shared.pending=null}}while(!0);X===null&&(N=Z),o.baseState=N,o.firstBaseUpdate=P,o.lastBaseUpdate=X,u===null&&(o.shared.lanes=0),va|=y,e.lanes=y,e.memoizedState=Z}}function Am(e,t){if(typeof e!="function")throw Error(i(191,e));e.call(t)}function Nm(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Am(a[e],t)}var Xs=A(null),fi=A(0);function Em(e,t){e=Vn,k(fi,e),k(Xs,t),Vn=e|t.baseLanes}function _c(){k(fi,Vn),k(Xs,Xs.current)}function Rc(){Vn=fi.current,Q(Xs),Q(fi)}var Lt=A(null),nn=null;function pa(e){var t=e.alternate;k(Je,Je.current&1),k(Lt,e),nn===null&&(t===null||Xs.current!==null||t.memoizedState!==null)&&(nn=e)}function Mc(e){k(Je,Je.current),k(Lt,e),nn===null&&(nn=e)}function Om(e){e.tag===22?(k(Je,Je.current),k(Lt,e),nn===null&&(nn=e)):ga()}function ga(){k(Je,Je.current),k(Lt,Lt.current)}function Bt(e){Q(Lt),nn===e&&(nn=null),Q(Je)}var Je=A(0);function mi(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Uu(a)||qu(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Un=0,Se=null,Ue=null,et=null,hi=!1,Ks=!1,rs=!1,pi=0,Xr=0,Zs=null,Pv=0;function Xe(){throw Error(i(321))}function zc(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!Ut(e[a],t[a]))return!1;return!0}function Dc(e,t,a,r,o,u){return Un=u,Se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?dh:Zc,rs=!1,u=a(r,o),rs=!1,Ks&&(u=_m(t,a,r,o)),Tm(e),u}function Tm(e){O.H=Jr;var t=Ue!==null&&Ue.next!==null;if(Un=0,et=Ue=Se=null,hi=!1,Xr=0,Zs=null,t)throw Error(i(300));
vendor: 20,586 bytes, line 48
48e===null||tt||(e=e.dependencies,e!==null&&ri(e)&&(tt=!0))}function _m(e,t,a,r){Se=e;var o=0;do{if(Ks&&(Zs=null),Xr=0,Ks=!1,25<=o)throw Error(i(301));if(o+=1,et=Ue=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}O.H=fh,u=t(a,r)}while(Ks);return u}function kv(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?Kr(t):t,e=e.useState()[0],(Ue!==null?Ue.memoizedState:null)!==e&&(Se.flags|=1024),t}function Pc(){var e=pi!==0;return pi=0,e}function kc(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Hc(e){if(hi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}hi=!1}Un=0,et=Ue=Se=null,Ks=!1,Xr=pi=0,Zs=null}function Ct(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return et===null?Se.memoizedState=et=e:et=et.next=e,et}function $e(){if(Ue===null){var e=Se.alternate;e=e!==null?e.memoizedState:null}else e=Ue.next;var t=et===null?Se.memoizedState:et.next;if(t!==null)et=t,Ue=e;else{if(e===null)throw Se.alternate===null?Error(i(467)):Error(i(310));Ue=e,e={memoizedState:Ue.memoizedState,baseState:Ue.baseState,baseQueue:Ue.baseQueue,queue:Ue.queue,next:null},et===null?Se.memoizedState=et=e:et=et.next=e}return et}function gi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Kr(e){var t=Xr;return Xr+=1,Zs===null&&(Zs=[]),e=bm(Zs,e,t),t=Se,(et===null?t.memoizedState:et.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?dh:Zc),e}function yi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Kr(e);if(e.$$typeof===$)return ft(e)}throw Error(i(438,String(e)))}function Uc(e){var t=null,a=Se.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var r=Se.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=gi(),Se.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),r=0;r<e;r++)a[r]=V;return t.index++,a}function qn(e,t){return typeof t=="function"?t(e):t}function xi(e){var t=$e();return qc(t,Ue,e)}function qc(e,t,a){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=a;var o=e.baseQueue,u=r.pending;if(u!==null){if(o!==null){var y=o.next;o.next=u.next,u.next=y}t.baseQueue=o=u,r.pending=null}if(u=e.baseState,o===null)e.memoizedState=u;else{t=o.next;var b=y=null,N=null,P=t,X=!1;do{var Z=P.lane&-536870913;if(Z!==P.lane?(Ne&Z)===Z:(Un&Z)===Z){var H=P.revertLane;if(H===0)N!==null&&(N=N.next={lane:0,revertLane:0,gesture:null,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null}),Z===Fs&&(X=!0);else if((Un&H)===H){P=P.next,H===Fs&&(X=!0);continue}else Z={lane:0,revertLane:P.revertLane,gesture:null,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},N===null?(b=N=Z,y=u):N=N.next=Z,Se.lanes|=H,va|=H;Z=P.action,rs&&a(u,Z),u=P.hasEagerState?P.eagerState:a(u,Z)}else H={lane:Z,revertLane:P.revertLane,gesture:P.gesture,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},N===null?(b=N=H,y=u):N=N.next=H,Se.lanes|=Z,va|=Z;P=P.next}while(P!==null&&P!==t);if(N===null?y=u:N.next=b,!Ut(u,e.memoizedState)&&(tt=!0,X&&(a=Gs,a!==null)))throw a;e.memoizedState=u,e.baseState=y,e.baseQueue=N,r.lastRenderedState=u}return o===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function Lc(e){var t=$e(),a=t.queue;if(a===null)throw Error(i(311));a.lastRenderedReducer=e;var r=a.dispatch,o=a.pending,u=t.memoizedState;if(o!==null){a.pending=null;var y=o=o.next;do u=e(u,y.action),y=y.next;while(y!==o);Ut(u,t.memoizedState)||(tt=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),a.lastRenderedState=u}return[u,r]}function Rm(e,t,a){var r=Se,o=$e(),u=Te;if(u){if(a===void 0)throw Error(i(407));a=a()}else a=t();var y=!Ut((Ue||o).memoizedState,a);if(y&&(o.memoizedState=a,tt=!0),o=o.queue,Fc(Dm.bind(null,r,o,e),[e]),o.getSnapshot!==t||y||et!==null&&et.memoizedState.tag&1){if(r.flags|=2048,Js(9,{destroy:void 0},zm.bind(null,r,o,a,t),null),Be===null)throw Error(i(349));u||(Un&127)!==0||Mm(r,t,a)}return a}function Mm(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Se.updateQueue,t===null?(t=gi(),Se.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function zm(e,t,a,r){t.value=a,t.getSnapshot=r,Pm(t)&&km(e)}function Dm(e,t,a){return a(function(){Pm(t)&&km(e)})}function Pm(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Ut(e,a)}catch{return!0}}function km(e){var t=Ja(e,2);t!==null&&Pt(t,e,2)}function Bc(e){var t=Ct();if(typeof e=="function"){var a=e;if(e=a(),rs){ln(!0);try{a()}finally{ln(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qn,lastRenderedState:e},t}function Hm(e,t,a,r){return e.baseState=a,qc(e,Ue,typeof r=="function"?r:qn)}function Hv(e,t,a,r,o){if(Si(e))throw Error(i(485));if(e=t.action,e!==null){var u={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){u.listeners.push(y)}};O.T!==null?a(!0):u.isTransition=!1,r(u),a=t.pending,a===null?(u.next=t.pending=u,Um(t,u)):(u.next=a.next,t.pending=a.next=u)}}function Um(e,t){var a=t.action,r=t.payload,o=e.state;if(t.isTransition){var u=O.T,y={};O.T=y;try{var b=a(o,r),N=O.S;N!==null&&N(y,b),qm(e,t,b)}catch(P){Qc(e,t,P)}finally{u!==null&&y.types!==null&&(u.types=y.types),O.T=u}}else try{u=a(o,r),qm(e,t,u)}catch(P){Qc(e,t,P)}}function qm(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(r){Lm(e,t,r)},function(r){return Qc(e,t,r)}):Lm(e,t,a)}function Lm(e,t,a){t.status="fulfilled",t.value=a,Bm(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Um(e,a)))}function Qc(e,t,a){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status="rejected",t.reason=a,Bm(t),t=t.next;while(t!==r)}e.action=null}function Bm(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Qm(e,t){return t}function Fm(e,t){if(Te){var a=Be.formState;if(a!==null){e:{var r=Se;if(Te){if(Qe){t:{for(var o=Qe,u=tn;o.nodeType!==8;){if(!u){o=null;break t}if(o=an(o.nextSibling),o===null){o=null;break t}}u=o.data,o=u==="F!"||u==="F"?o:null}if(o){Qe=an(o.nextSibling),r=o.data==="F!";break e}}ua(r)}r=!1}r&&(t=a[0])}}return a=Ct(),a.memoizedState=a.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Qm,lastRenderedState:t},a.queue=r,a=oh.bind(null,Se,r),r.dispatch=a,r=Bc(!1),u=Kc.bind(null,Se,!1,r.queue),r=Ct(),o={state:t,dispatch:null,action:e,pending:null},r.queue=o,a=Hv.bind(null,Se,o,u,a),o.dispatch=a,r.memoizedState=e,[t,a,!1]}function Gm(e){var t=$e();return Ym(t,Ue,e)}function Ym(e,t,a){if(t=qc(e,t,Qm)[0],e=xi(qn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var r=Kr(t)}catch(y){throw y===Ys?oi:y}else r=t;t=$e();var o=t.queue,u=o.dispatch;return a!==t.memoizedState&&(Se.flags|=2048,Js(9,{destroy:void 0},Uv.bind(null,o,a),null)),[r,u,e]}function Uv(e,t){e.action=t}function Vm(e){var t=$e(),a=Ue;if(a!==null)return Ym(t,a,e);$e(),t=t.memoizedState,a=$e();var r=a.queue.dispatch;return a.memoizedState=e,[t,r,!1]}function Js(e,t,a,r){return e={tag:e,create:a,deps:r,inst:t,next:null},t=Se.updateQueue,t===null&&(t=gi(),Se.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(r=a.next,a.next=e,e.next=r,t.lastEffect=e),e}function Xm(){return $e().memoizedState}function vi(e,t,a,r){var o=Ct();Se.flags|=e,o.memoizedState=Js(1|t,{destroy:void 0},a,r===void 0?null:r)}function bi(e,t,a,r){var o=$e();r=r===void 0?null:r;var u=o.memoizedState.inst;Ue!==null&&r!==null&&zc(r,Ue.memoizedState.deps)?o.memoizedState=Js(t,u,a,r):(Se.flags|=e,o.memoizedState=Js(1|t,u,a,r))}function Km(e,t){vi(8390656,8,e,t)}function Fc(e,t){bi(2048,8,e,t)}function qv(e){Se.flags|=4;var t=Se.updateQueue;if(t===null)t=gi(),Se.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Zm(e){var t=$e().memoizedState;return qv({ref:t,nextImpl:e}),function(){if((Pe&2)!==0)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function Jm(e,t){return bi(4,2,e,t)}function $m(e,t){return bi(4,4,e,t)}function Im(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Wm(e,t,a){a=a!=null?a.concat([e]):null,bi(4,4,Im.bind(null,t,e),a)}function Gc(){}function eh(e,t){var a=$e();t=t===void 0?null:t;var r=a.memoizedState;return t!==null&&zc(t,r[1])?r[0]:(a.memoizedState=[e,t],e)}function th(e,t){var a=$e();t=t===void 0?null:t;var r=a.memoizedState;if(t!==null&&zc(t,r[1]))return r[0];if(r=e(),rs){ln(!0);try{e()}finally{ln(!1)}}return a.memoizedState=[r,t],r}function Yc(e,t,a){return a===void 0||(Un&1073741824)!==0&&(Ne&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=np(),Se.lanes|=e,va|=e,a)}function nh(e,t,a,r){return Ut(a,t)?a:Xs.current!==null?(e=Yc(e,a,r),Ut(e,t)||(tt=!0),e):(Un&42)===0||(Un&1073741824)!==0&&(Ne&261930)===0?(tt=!0,e.memoizedState=a):(e=np(),Se.lanes|=e,va|=e,t)}function ah(e,t,a,r,o){var u=L.p;L.p=u!==0&&8>u?u:8;var y=O.T,b={};O.T=b,Kc(e,!1,t,a);try{var N=o(),P=O.S;if(P!==null&&P(b,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var X=Dv(N,r);Zr(e,t,X,Gt(e))}else Zr(e,t,r,Gt(e))}catch(Z){Zr(e,t,{then:function(){},status:"rejected",reason:Z},Gt())}finally{L.p=u,y!==null&&b.types!==null&&(y.types=b.types),O.T=y}}function Lv(){}function Vc(e,t,a,r){if(e.tag!==5)throw Error(i(476));var o=sh(e).queue;ah(e,o,t,M,a===null?Lv:function(){return rh(e),a(r)})}function sh(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:M,baseState:M,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qn,lastRenderedState:M},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:qn,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function rh(e){var t=sh(e);t.next===null&&(t=e.alternate.memoizedState),Zr(e,t.next.queue,{},Gt())}function Xc(){return ft(fl)}function lh(){return $e().memoizedState}function ih(){return $e().memoizedState}function Bv(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Gt();e=ma(a);var r=ha(t,e,a);r!==null&&(Pt(r,t,a),Gr(r,t,a)),t={cache:wc()},e.payload=t;return}t=t.return}}function Qv(e,t,a){var r=Gt();a={lane:r,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Si(e)?ch(t,a):(a=dc(e,t,a,r),a!==null&&(Pt(a,e,r),uh(a,t,r)))}function oh(e,t,a){var r=Gt();Zr(e,t,a,r)}function Zr(e,t,a,r){var o={lane:r,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Si(e))ch(t,o);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var y=t.lastRenderedState,b=u(y,a);if(o.hasEagerState=!0,o.eagerState=b,Ut(b,y))return ti(e,t,o,0),Be===null&&ei(),!1}catch{}finally{}if(a=dc(e,t,o,r),a!==null)return Pt(a,e,r),uh(a,t,r),!0}return!1}function Kc(e,t,a,r){if(r={lane:2,revertLane:Nu(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Si(e)){if(t)throw Error(i(479))}else t=dc(e,a,r,2),t!==null&&Pt(t,e,2)}function Si(e){var t=e.alternate;return e===Se||t!==null&&t===Se}function ch(e,t){Ks=hi=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function uh(e,t,a){if((a&4194048)!==0){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,Et(e,a)}}var Jr={readContext:ft,use:yi,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};Jr.useEffectEvent=Xe;var dh={readContext:ft,use:yi,useCallback:function(e,t){return Ct().memoizedState=[e,t===void 0?null:t],e},useContext:ft,useEffect:Km,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,vi(4194308,4,Im.bind(null,t,e),a)},useLayoutEffect:function(e,t){return vi(4194308,4,e,t)},useInsertionEffect:function(e,t){vi(4,2,e,t)},useMemo:function(e,t){var a=Ct();t=t===void 0?null:t;var r=e();if(rs){ln(!0);try{e()}finally{ln(!1)}}return a.memoizedState=[r,t],r},useReducer:function(e,t,a){var r=Ct();if(a!==void 0){var o=a(t);if(rs){ln(!0);try{a(t)}finally{ln(!1)}}}else o=t;return r.memoizedState=r.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},r.queue=e,e=e.dispatch=Qv.bind(null,Se,e),[r.memoizedState,e]},useRef:function(e){var t=Ct();return e={current:e},t.memoizedState=e},useState:function(e){e=Bc(e);var t=e.queue,a=oh.bind(null,Se,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:Gc,useDeferredValue:function(e,t){var a=Ct();return Yc(a,e,t)},useTransition:function(){var e=Bc(!1);return e=ah.bind(null,Se,e.queue,!0,!1),Ct().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var r=Se,o=Ct();if(Te){if(a===void 0)throw Error(i(407));a=a()}else{if(a=t(),Be===null)throw Error(i(349));(Ne&127)!==0||Mm(r,t,a)}o.memoizedState=a;var u={value:a,getSnapshot:t};return o.queue=u,Km(Dm.bind(null,r,u,e),[e]),r.flags|=2048,Js(9,{destroy:void 0},zm.bind(null,r,u,a,t),null),a},useId:function(){var e=Ct(),t=Be.identifierPrefix;if(Te){var a=xn,r=yn;a=(r&~(1<<32-pt(r)-1)).toString(32)+a,t="_"+t+"R_"+a,a=pi++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=Pv++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Xc,useFormState:Fm,useActionState:Fm,useOptimistic:function(e){var t=Ct();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Kc.bind(null,Se,!0,a),a.dispatch=t,[e,t]},useMemoCache:Uc,useCacheRefresh:function(){return Ct().memoizedState=Bv.bind(null,Se)},useEffectEvent:function(e){var t=Ct(),a={impl:e};return t.memoizedState=a,function(){if((Pe&2)!==0)throw Error(i(440));return a.impl.apply(void 0,arguments)}}},Zc={readContext:ft,use:yi,useCallback:eh,useContext:ft,useEffect:Fc,useImperativeHandle:Wm,useInsertionEffect:Jm,useLayoutEffect:$m,useMemo:th,useReducer:xi,useRef:Xm,useState:function(){return xi(qn)},useDebugValue:Gc,useDeferredValue:function(e,t){var a=$e();return nh(a,Ue.memoizedState,e,t)},useTransition:function(){var e=xi(qn)[0],t=$e().memoizedState;return[typeof e=="boolean"?e:Kr(e),t]},useSyncExternalStore:Rm,useId:lh,useHostTransitionStatus:Xc,useFormState:Gm,useActionState:Gm,useOptimistic:function(e,t){var a=$e();return Hm(a,Ue,e,t)},useMemoCache:Uc,useCacheRefresh:ih};Zc.useEffectEvent=Zm;var fh={readContext:ft,use:yi,useCallback:eh,useContext:ft,useEffect:Fc,useImperativeHandle:Wm,useInsertionEffect:Jm,useLayoutEffect:$m,useMemo:th,useReducer:Lc,useRef:Xm,useState:function(){return Lc(qn)},useDebugValue:Gc,useDeferredValue:function(e,t){var a=$e();return Ue===null?Yc(a,e,t):nh(a,Ue.memoizedState,e,t)},useTransition:function(){var e=Lc(qn)[0],t=$e().memoizedState;return[typeof e=="boolean"?e:Kr(e),t]},useSyncExternalStore:Rm,useId:lh,useHostTransitionStatus:Xc,useFormState:Vm,useActionState:Vm,useOptimistic:function(e,t){var a=$e();return Ue!==null?Hm(a,Ue,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Uc,useCacheRefresh:ih};fh.useEffectEvent=Zm;function Jc(e,t,a,r){t=e.memoizedState,a=a(r,t),a=a==null?t:x({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var $c={enqueueSetState:function(e,t,a){e=e._reactInternals;var r=Gt(),o=ma(r);o.payload=t,a!=null&&(o.callback=a),t=ha(e,o,r),t!==null&&(Pt(t,e,r),Gr(t,e,r))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var r=Gt(),o=ma(r);o.tag=1,o.payload=t,a!=null&&(o.callback=a),t=ha(e,o,r),t!==null&&(Pt(t,e,r),Gr(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Gt(),r=ma(a);r.tag=2,t!=null&&(r.callback=t),t=ha(e,r,a),t!==null&&(Pt(t,e,a),Gr(t,e,a))}};function mh(e,t,a,r,o,u,y){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,u,y):t.prototype&&t.prototype.isPureReactComponent?!kr(a,r)||!kr(o,u):!0}function hh(e,t,a,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,r),t.state!==e&&$c.enqueueReplaceState(t,t.state,null)}function ls(e,t){var a=t;if("ref"in t){a={};for(var r in t)r!=="ref"&&(a[r]=t[r])}if(e=e.defaultProps){a===t&&(a=x({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function ph(e){Wl(e)}function gh(e){console.error(e)}function yh(e){Wl(e)}function wi(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(r){setTimeout(function(){throw r})}}function xh(e,t,a){try{var r=e.onCaughtError;r(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Ic(e,t,a){return a=ma(a),a.tag=3,a.payload={element:null},a.callback=function(){wi(e,t)},a}function vh(e){return e=ma(e),e.tag=3,e}function bh(e,t,a,r){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var u=r.value;e.payload=function(){return o(u)},e.callback=function(){xh(t,a,r)}}var y=a.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){xh(t,a,r),typeof o!="function"&&(ba===null?ba=new Set([this]):ba.add(this));var b=r.stack;this.componentDidCatch(r.value,{componentStack:b!==null?b:""})})}function Fv(e,t,a,r,o){if(a.flags|=32768,r!==null&&typeof r=="object"&&typeof r.then=="function"){if(t=a.alternate,t!==null&&Qs(t,a,o,!0),a=Lt.current,a!==null){switch(a.tag){case 31:case 13:return nn===null?Di():a.alternate===null&&Ke===0&&(Ke=3),a.flags&=-257,a.flags|=65536,a.lanes=o,r===ci?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([r]):t.add(r),Cu(e,r,o)),!1;case 22:return a.flags|=65536,r===ci?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([r]):a.add(r)),Cu(e,r,o)),!1}throw Error(i(435,a.tag))}return Cu(e,r,o),Di(),!1}if(Te)return t=Lt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,r!==yc&&(e=Error(i(422),{cause:r}),qr(It(e,a)))):(r!==yc&&(t=Error(i(423),{cause:r}),qr(It(t,a))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,r=It(r,a),o=Ic(e.stateNode,r,o),Oc(e,o),Ke!==4&&(Ke=2)),!1;var u=Error(i(520),{cause:r});if(u=It(u,a),sl===null?sl=[u]:sl.push(u),Ke!==4&&(Ke=2),t===null)return!0;r=It(r,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=Ic(a.stateNode,r,e),Oc(a,e),!1;case 1:if(t=a.type,u=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(ba===null||!ba.has(u))))return a.flags|=65536,o&=-o,a.lanes|=o,o=vh(o),bh(o,e,a,r),Oc(a,o),!1}a=a.return}while(a!==null);return!1}var Wc=Error(i(461)),tt=!1;function mt(e,t,a,r){t.child=e===null?jm(t,null,a,r):ss(t,e.child,a,r)}function Sh(e,t,a,r,o){a=a.render;var u=t.ref;if("ref"in r){var y={};for(var b in r)b!=="ref"&&(y[b]=r[b])}else y=r;return es(t),r=Dc(e,t,a,y,u,o),b=Pc(),e!==null&&!tt?(kc(e,t,o),Ln(e,t,o)):(Te&&b&&pc(t),t.flags|=1,mt(e,t,r,o),t.child)}function wh(e,t,a,r,o){if(e===null){var u=a.type;return typeof u=="function"&&!fc(u)&&u.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=u,Ch(e,t,u,r,o)):(e=ai(a.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!iu(e,o)){var y=u.memoizedProps;if(a=a.compare,a=a!==null?a:kr,a(y,r)&&e.ref===t.ref)return Ln(e,t,o)}return t.flags|=1,e=Dn(u,r),e.ref=t.ref,e.return=t,t.child=e}function Ch(e,t,a,r,o){if(e!==null){var u=e.memoizedProps;if(kr(u,r)&&e.ref===t.ref)if(tt=!1,t.pendingProps=r=u,iu(e,o))(e.flags&131072)!==0&&(tt=!0);else return t.lanes=e.lanes,Ln(e,t,o)}return eu(e,t,a,r,o)}function jh(e,t,a,r){var o=r.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|a:a,e!==null){for(r=t.child=e.child,o=0;r!==null;)o=o|r.lanes|r.childLanes,r=r.sibling;r=o&~u}else r=0,t.child=null;return Ah(e,t,u,a,r)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ii(t,u!==null?u.cachePool:null),u!==null?Em(t,u):_c(),Om(t);
vendor: 8,418 bytes, line 48
48else return r=t.lanes=536870912,Ah(e,t,u!==null?u.baseLanes|a:a,a,r)}else u!==null?(ii(t,u.cachePool),Em(t,u),ga(),t.memoizedState=null):(e!==null&&ii(t,null),_c(),ga());return mt(e,t,o,a),t.child}function $r(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Ah(e,t,a,r,o){var u=jc();return u=u===null?null:{parent:We._currentValue,pool:u},t.memoizedState={baseLanes:a,cachePool:u},e!==null&&ii(t,null),_c(),Om(t),e!==null&&Qs(e,t,r,!0),t.childLanes=o,null}function Ci(e,t){return t=Ai({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Nh(e,t,a){return ss(t,e.child,null,a),e=Ci(t,t.pendingProps),e.flags|=2,Bt(t),t.memoizedState=null,e}function Gv(e,t,a){var r=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Te){if(r.mode==="hidden")return e=Ci(t,r),t.lanes=536870912,$r(null,e);if(Mc(t),(e=Qe)?(e=Up(e,tn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:oa!==null?{id:yn,overflow:xn}:null,retryLane:536870912,hydrationErrors:null},a=cm(e),a.return=t,t.child=a,dt=t,Qe=null)):e=null,e===null)throw ua(t);return t.lanes=536870912,null}return Ci(t,r)}var u=e.memoizedState;if(u!==null){var y=u.dehydrated;if(Mc(t),o)if(t.flags&256)t.flags&=-257,t=Nh(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(tt||Qs(e,t,a,!1),o=(a&e.childLanes)!==0,tt||o){if(r=Be,r!==null&&(y=Ot(r,a),y!==0&&y!==u.retryLane))throw u.retryLane=y,Ja(e,y),Pt(r,e,y),Wc;Di(),t=Nh(e,t,a)}else e=u.treeContext,Qe=an(y.nextSibling),dt=t,Te=!0,ca=null,tn=!1,e!==null&&fm(t,e),t=Ci(t,r),t.flags|=4096;return t}return e=Dn(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ji(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(i(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function eu(e,t,a,r,o){return es(t),a=Dc(e,t,a,r,void 0,o),r=Pc(),e!==null&&!tt?(kc(e,t,o),Ln(e,t,o)):(Te&&r&&pc(t),t.flags|=1,mt(e,t,a,o),t.child)}function Eh(e,t,a,r,o,u){return es(t),t.updateQueue=null,a=_m(t,r,a,o),Tm(e),r=Pc(),e!==null&&!tt?(kc(e,t,u),Ln(e,t,u)):(Te&&r&&pc(t),t.flags|=1,mt(e,t,a,u),t.child)}function Oh(e,t,a,r,o){if(es(t),t.stateNode===null){var u=Us,y=a.contextType;typeof y=="object"&&y!==null&&(u=ft(y)),u=new a(r,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=$c,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=r,u.state=t.memoizedState,u.refs={},Nc(t),y=a.contextType,u.context=typeof y=="object"&&y!==null?ft(y):Us,u.state=t.memoizedState,y=a.getDerivedStateFromProps,typeof y=="function"&&(Jc(t,a,y,r),u.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(y=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),y!==u.state&&$c.enqueueReplaceState(u,u.state,null),Vr(t,r,u,o),Yr(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),r=!0}else if(e===null){u=t.stateNode;var b=t.memoizedProps,N=ls(a,b);u.props=N;var P=u.context,X=a.contextType;y=Us,typeof X=="object"&&X!==null&&(y=ft(X));var Z=a.getDerivedStateFromProps;X=typeof Z=="function"||typeof u.getSnapshotBeforeUpdate=="function",b=t.pendingProps!==b,X||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(b||P!==y)&&hh(t,u,r,y),fa=!1;var H=t.memoizedState;u.state=H,Vr(t,r,u,o),Yr(),P=t.memoizedState,b||H!==P||fa?(typeof Z=="function"&&(Jc(t,a,Z,r),P=t.memoizedState),(N=fa||mh(t,a,N,r,H,P,y))?(X||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=P),u.props=r,u.state=P,u.context=y,r=N):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{u=t.stateNode,Ec(e,t),y=t.memoizedProps,X=ls(a,y),u.props=X,Z=t.pendingProps,H=u.context,P=a.contextType,N=Us,typeof P=="object"&&P!==null&&(N=ft(P)),b=a.getDerivedStateFromProps,(P=typeof b=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(y!==Z||H!==N)&&hh(t,u,r,N),fa=!1,H=t.memoizedState,u.state=H,Vr(t,r,u,o),Yr();var B=t.memoizedState;y!==Z||H!==B||fa||e!==null&&e.dependencies!==null&&ri(e.dependencies)?(typeof b=="function"&&(Jc(t,a,b,r),B=t.memoizedState),(X=fa||mh(t,a,X,r,H,B,N)||e!==null&&e.dependencies!==null&&ri(e.dependencies))?(P||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(r,B,N),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(r,B,N)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||y===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=B),u.props=r,u.state=B,u.context=N,r=X):(typeof u.componentDidUpdate!="function"||y===e.memoizedProps&&H===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&H===e.memoizedState||(t.flags|=1024),r=!1)}return u=r,ji(e,t),r=(t.flags&128)!==0,u||r?(u=t.stateNode,a=r&&typeof a.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&r?(t.child=ss(t,e.child,null,o),t.child=ss(t,null,a,o)):mt(e,t,a,o),t.memoizedState=u.state,e=t.child):e=Ln(e,t,o),e}function Th(e,t,a,r){return Ia(),t.flags|=256,mt(e,t,a,r),t.child}var tu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function nu(e){return{baseLanes:e,cachePool:xm()}}function au(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Ft),e}function _h(e,t,a){var r=t.pendingProps,o=!1,u=(t.flags&128)!==0,y;if((y=u)||(y=e!==null&&e.memoizedState===null?!1:(Je.current&2)!==0),y&&(o=!0,t.flags&=-129),y=(t.flags&32)!==0,t.flags&=-33,e===null){if(Te){if(o?pa(t):ga(),(e=Qe)?(e=Up(e,tn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:oa!==null?{id:yn,overflow:xn}:null,retryLane:536870912,hydrationErrors:null},a=cm(e),a.return=t,t.child=a,dt=t,Qe=null)):e=null,e===null)throw ua(t);return qu(e)?t.lanes=32:t.lanes=536870912,null}var b=r.children;return r=r.fallback,o?(ga(),o=t.mode,b=Ai({mode:"hidden",children:b},o),r=$a(r,o,a,null),b.return=t,r.return=t,b.sibling=r,t.child=b,r=t.child,r.memoizedState=nu(a),r.childLanes=au(e,y,a),t.memoizedState=tu,$r(null,r)):(pa(t),su(t,b))}var N=e.memoizedState;if(N!==null&&(b=N.dehydrated,b!==null)){if(u)t.flags&256?(pa(t),t.flags&=-257,t=ru(e,t,a)):t.memoizedState!==null?(ga(),t.child=e.child,t.flags|=128,t=null):(ga(),b=r.fallback,o=t.mode,r=Ai({mode:"visible",children:r.children},o),b=$a(b,o,a,null),b.flags|=2,r.return=t,b.return=t,r.sibling=b,t.child=r,ss(t,e.child,null,a),r=t.child,r.memoizedState=nu(a),r.childLanes=au(e,y,a),t.memoizedState=tu,t=$r(null,r));else if(pa(t),qu(b)){if(y=b.nextSibling&&b.nextSibling.dataset,y)var P=y.dgst;y=P,r=Error(i(419)),r.stack="",r.digest=y,qr({value:r,source:null,stack:null}),t=ru(e,t,a)}else if(tt||Qs(e,t,a,!1),y=(a&e.childLanes)!==0,tt||y){if(y=Be,y!==null&&(r=Ot(y,a),r!==0&&r!==N.retryLane))throw N.retryLane=r,Ja(e,r),Pt(y,e,r),Wc;Uu(b)||Di(),t=ru(e,t,a)}else Uu(b)?(t.flags|=192,t.child=e.child,t=null):(e=N.treeContext,Qe=an(b.nextSibling),dt=t,Te=!0,ca=null,tn=!1,e!==null&&fm(t,e),t=su(t,r.children),t.flags|=4096);return t}return o?(ga(),b=r.fallback,o=t.mode,N=e.child,P=N.sibling,r=Dn(N,{mode:"hidden",children:r.children}),r.subtreeFlags=N.subtreeFlags&65011712,P!==null?b=Dn(P,b):(b=$a(b,o,a,null),b.flags|=2),b.return=t,r.return=t,r.sibling=b,t.child=r,$r(null,r),r=t.child,b=e.child.memoizedState,b
vendor: 4,136 bytes, line 48
48===null?b=nu(a):(o=b.cachePool,o!==null?(N=We._currentValue,o=o.parent!==N?{parent:N,pool:N}:o):o=xm(),b={baseLanes:b.baseLanes|a,cachePool:o}),r.memoizedState=b,r.childLanes=au(e,y,a),t.memoizedState=tu,$r(e.child,r)):(pa(t),a=e.child,e=a.sibling,a=Dn(a,{mode:"visible",children:r.children}),a.return=t,a.sibling=null,e!==null&&(y=t.deletions,y===null?(t.deletions=[e],t.flags|=16):y.push(e)),t.child=a,t.memoizedState=null,a)}function su(e,t){return t=Ai({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ai(e,t){return e=qt(22,e,null,t),e.lanes=0,e}function ru(e,t,a){return ss(t,e.child,null,a),e=su(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Rh(e,t,a){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),bc(e.return,t,a)}function lu(e,t,a,r,o,u){var y=e.memoizedState;y===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:a,tailMode:o,treeForkCount:u}:(y.isBackwards=t,y.rendering=null,y.renderingStartTime=0,y.last=r,y.tail=a,y.tailMode=o,y.treeForkCount=u)}function Mh(e,t,a){var r=t.pendingProps,o=r.revealOrder,u=r.tail;r=r.children;var y=Je.current,b=(y&2)!==0;if(b?(y=y&1|2,t.flags|=128):y&=1,k(Je,y),mt(e,t,r,a),r=Te?Ur:0,!b&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Rh(e,a,t);else if(e.tag===19)Rh(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(a=t.child,o=null;a!==null;)e=a.alternate,e!==null&&mi(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),lu(t,!1,o,a,u,r);break;case"backwards":case"unstable_legacy-backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&mi(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}lu(t,!0,a,null,u,r);break;case"together":lu(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function Ln(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),va|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Qs(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,a=Dn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Dn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function iu(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ri(e)))}function Yv(e,t,a){switch(t.tag){case 3:xe(t,t.stateNode.containerInfo),da(t,We,e.memoizedState.cache),Ia();break;case 27:case 5:ot(t);break;case 4:xe(t,t.stateNode.containerInfo);break;case 10:da(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Mc(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated!==null?(pa(t),t.flags|=128,null):(a&t.child.childLanes)!==0?_h(e,t,a):(pa(t),e=Ln(e,t,a),e!==null?e.sibling:null);pa(t);break;case 19:var o=(e.flags&128)!==0;if(r=(a&t.childLanes)!==0,r||(Qs(e,t,a,!1),r=(a&t.childLanes)!==0),o){if(r)return Mh(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),k(Je,Je.current),r)break;return null;case 22:return t.lanes=0,jh(e,t,a,t.pendingProps);case 24:da(t,We,e.memoizedState.cache)}return Ln(e,t,a)}function zh(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)tt=!0;else{if(!iu(e,a)&&(t.flags&128)===0)return tt=!1,Yv(e,t,a);tt=(e.flags&131072)!==0}else tt=!1,Te&&(t.flags&1048576)!==0&&dm(t,Ur,t.index);switch(t.lanes=0,t.tag){case 16:e:{var r=t.pendingProps;if(e=ns(t.elementType),t.type=e,typeof e=="function")fc(e)?(r=ls(e,r),t.tag=1,t=Oh(null,t,e,r,a)):(t.tag=0,t=eu(null,t,e,r,a));else{if(e!=null){var o=e.$$typeof;if(o===J){t.tag=11,t=Sh(null,t,e,r,a);break e}else if(o===_){t.tag=14,t=wh(null,t,e,r,a);break e}}throw t=le(e)||e,Error(i(306,t,""))}}return t;case 0:return eu(e,t,t.type,t.pendingProps,a);case 1:return r=t.type,o=ls(r,t.pendingProps),Oh(e,t,r,o,a);case 3:e:{if(xe(t,t.stateNode.containerInfo),e===null)throw Error(i(387));
vendor: 5,751 bytes, line 48
48r=t.pendingProps;var u=t.memoizedState;o=u.element,Ec(e,t),Vr(t,r,null,a);var y=t.memoizedState;if(r=y.cache,da(t,We,r),r!==u.cache&&Sc(t,[We],a,!0),Yr(),r=y.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=Th(e,t,r,a);break e}else if(r!==o){o=It(Error(i(424)),t),qr(o),t=Th(e,t,r,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Qe=an(e.firstChild),dt=t,Te=!0,ca=null,tn=!0,a=jm(t,null,r,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Ia(),r===o){t=Ln(e,t,a);break e}mt(e,t,r,a)}t=t.child}return t;case 26:return ji(e,t),e===null?(a=Gp(t.type,null,t.pendingProps,null))?t.memoizedState=a:Te||(a=t.type,e=t.pendingProps,r=Bi(he.current).createElement(a),r[ut]=t,r[Tt]=e,ht(r,a,e),lt(r),t.stateNode=r):t.memoizedState=Gp(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ot(t),e===null&&Te&&(r=t.stateNode=Bp(t.type,t.pendingProps,he.current),dt=t,tn=!0,o=Qe,ja(t.type)?(Lu=o,Qe=an(r.firstChild)):Qe=o),mt(e,t,t.pendingProps.children,a),ji(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Te&&((o=r=Qe)&&(r=Sb(r,t.type,t.pendingProps,tn),r!==null?(t.stateNode=r,dt=t,Qe=an(r.firstChild),tn=!1,o=!0):o=!1),o||ua(t)),ot(t),o=t.type,u=t.pendingProps,y=e!==null?e.memoizedProps:null,r=u.children,Pu(o,u)?r=null:y!==null&&Pu(o,y)&&(t.flags|=32),t.memoizedState!==null&&(o=Dc(e,t,kv,null,null,a),fl._currentValue=o),ji(e,t),mt(e,t,r,a),t.child;case 6:return e===null&&Te&&((e=a=Qe)&&(a=wb(a,t.pendingProps,tn),a!==null?(t.stateNode=a,dt=t,Qe=null,e=!0):e=!1),e||ua(t)),null;case 13:return _h(e,t,a);case 4:return xe(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ss(t,null,r,a):mt(e,t,r,a),t.child;case 11:return Sh(e,t,t.type,t.pendingProps,a);case 7:return mt(e,t,t.pendingProps,a),t.child;case 8:return mt(e,t,t.pendingProps.children,a),t.child;case 12:return mt(e,t,t.pendingProps.children,a),t.child;case 10:return r=t.pendingProps,da(t,t.type,r.value),mt(e,t,r.children,a),t.child;case 9:return o=t.type._context,r=t.pendingProps.children,es(t),o=ft(o),r=r(o),t.flags|=1,mt(e,t,r,a),t.child;case 14:return wh(e,t,t.type,t.pendingProps,a);case 15:return Ch(e,t,t.type,t.pendingProps,a);case 19:return Mh(e,t,a);case 31:return Gv(e,t,a);case 22:return jh(e,t,a,t.pendingProps);case 24:return es(t),r=ft(We),e===null?(o=jc(),o===null&&(o=Be,u=wc(),o.pooledCache=u,u.refCount++,u!==null&&(o.pooledCacheLanes|=a),o=u),t.memoizedState={parent:r,cache:o},Nc(t),da(t,We,o)):((e.lanes&a)!==0&&(Ec(e,t),Vr(t,null,null,a),Yr()),o=e.memoizedState,u=t.memoizedState,o.parent!==r?(o={parent:r,cache:r},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),da(t,We,r)):(r=u.cache,da(t,We,r),r!==o.cache&&Sc(t,[We],a,!0))),mt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Bn(e){e.flags|=4}function ou(e,t,a,r,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(lp())e.flags|=8192;else throw as=ci,Ac}else e.flags&=-16777217}function Dh(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Zp(t))if(lp())e.flags|=8192;else throw as=ci,Ac}function Ni(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?gt():536870912,e.lanes|=t,er|=t)}function Ir(e,t){if(!Te)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Fe(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,r=0;if(t)for(var o=e.child;o!==null;)a|=o.lanes|o.childLanes,r|=o.subtreeFlags&65011712,r|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=a,t}function Vv(e,t,a){var r=t.pendingProps;switch(gc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Fe(t),null;case 1:return Fe(t),null;case 3:return a=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Hn(We),Oe(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Bs(t)?Bn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,xc())),Fe(t),null;case 26:var o=t.type,u=t.memoizedState;return e===null?(Bn(t),u!==null?(Fe(t),Dh(t,u)):(Fe(t),ou(t,o,null,r,a))):u?u!==e.memoizedState?(Bn(t),Fe(t),Dh(t,u)):(Fe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==r&&Bn(t),Fe(t),ou(t,o,e,r,a)),null;case 27:if(vt(t),a=he.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Bn(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Fe(t),null}e=Y.current,Bs(t)?mm(t):(e=Bp(o,r,a),t.stateNode=e,Bn(t))}return Fe(t),null;case 5:if(vt(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Bn(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Fe(t),null}if(u=Y.current,Bs(t))mm(t);else{var y=Bi(he.current);switch(u){case 1:u=y.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:u=y.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":u=y.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":u=y.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":u=y.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;
vendor: 25,812 bytes, line 48
48case"select":u=typeof r.is=="string"?y.createElement("select",{is:r.is}):y.createElement("select"),r.multiple?u.multiple=!0:r.size&&(u.size=r.size);break;default:u=typeof r.is=="string"?y.createElement(o,{is:r.is}):y.createElement(o)}}u[ut]=t,u[Tt]=r;e:for(y=t.child;y!==null;){if(y.tag===5||y.tag===6)u.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===t)break e;for(;y.sibling===null;){if(y.return===null||y.return===t)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}t.stateNode=u;e:switch(ht(u,o,r),o){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Bn(t)}}return Fe(t),ou(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Bn(t);else{if(typeof r!="string"&&t.stateNode===null)throw Error(i(166));if(e=he.current,Bs(t)){if(e=t.stateNode,a=t.memoizedProps,r=null,o=dt,o!==null)switch(o.tag){case 27:case 5:r=o.memoizedProps}e[ut]=t,e=!!(e.nodeValue===a||r!==null&&r.suppressHydrationWarning===!0||_p(e.nodeValue,a)),e||ua(t,!0)}else e=Bi(e).createTextNode(r),e[ut]=t,t.stateNode=e}return Fe(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(r=Bs(t),a!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(557));e[ut]=t}else Ia(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Fe(t),e=!1}else a=xc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Bt(t),t):(Bt(t),null);if((t.flags&128)!==0)throw Error(i(558))}return Fe(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Bs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(i(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(i(317));o[ut]=t}else Ia(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Fe(t),o=!1}else o=xc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Bt(t),t):(Bt(t),null)}return Bt(t),(t.flags&128)!==0?(t.lanes=a,t):(a=r!==null,e=e!==null&&e.memoizedState!==null,a&&(r=t.child,o=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(o=r.alternate.memoizedState.cachePool.pool),u=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),u!==o&&(r.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Ni(t,t.updateQueue),Fe(t),null);case 4:return Oe(),e===null&&_u(t.stateNode.containerInfo),Fe(t),null;case 10:return Hn(t.type),Fe(t),null;case 19:if(Q(Je),r=t.memoizedState,r===null)return Fe(t),null;if(o=(t.flags&128)!==0,u=r.rendering,u===null)if(o)Ir(r,!1);else{if(Ke!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=mi(e),u!==null){for(t.flags|=128,Ir(r,!1),e=u.updateQueue,t.updateQueue=e,Ni(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)om(a,e),a=a.sibling;return k(Je,Je.current&1|2),Te&&Pn(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&St()>Ri&&(t.flags|=128,o=!0,Ir(r,!1),t.lanes=4194304)}else{if(!o)if(e=mi(u),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Ni(t,e),Ir(r,!0),r.tail===null&&r.tailMode==="hidden"&&!u.alternate&&!Te)return Fe(t),null}else 2*St()-r.renderingStartTime>Ri&&a!==536870912&&(t.flags|=128,o=!0,Ir(r,!1),t.lanes=4194304);r.isBackwards?(u.sibling=t.child,t.child=u):(e=r.last,e!==null?e.sibling=u:t.child=u,r.last=u)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=St(),e.sibling=null,a=Je.current,k(Je,o?a&1|2:a&1),Te&&Pn(t,r.treeForkCount),e):(Fe(t),null);case 22:case 23:return Bt(t),Rc(),r=t.memoizedState!==null,e!==null?e.memoizedState!==null!==r&&(t.flags|=8192):r&&(t.flags|=8192),r?(a&536870912)!==0&&(t.flags&128)===0&&(Fe(t),t.subtreeFlags&6&&(t.flags|=8192)):Fe(t),a=t.updateQueue,a!==null&&Ni(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==a&&(t.flags|=2048),e!==null&&Q(ts),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Hn(We),Fe(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Xv(e,t){switch(gc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hn(We),Oe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return vt(t),null;case 31:if(t.memoizedState!==null){if(Bt(t),t.alternate===null)throw Error(i(340));Ia()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Bt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Ia()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Q(Je),null;case 4:return Oe(),null;case 10:return Hn(t.type),null;case 22:case 23:return Bt(t),Rc(),e!==null&&Q(ts),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Hn(We),null;case 25:return null;default:return null}}function Ph(e,t){switch(gc(t),t.tag){case 3:Hn(We),Oe();break;case 26:case 27:case 5:vt(t);break;case 4:Oe();break;case 31:t.memoizedState!==null&&Bt(t);break;case 13:Bt(t);break;case 19:Q(Je);break;case 10:Hn(t.type);break;case 22:case 23:Bt(t),Rc(),e!==null&&Q(ts);break;case 24:Hn(We)}}function Wr(e,t){try{var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var o=r.next;a=o;do{if((a.tag&e)===e){r=void 0;var u=a.create,y=a.inst;r=u(),y.destroy=r}a=a.next}while(a!==o)}}catch(b){He(t,t.return,b)}}function ya(e,t,a){try{var r=t.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var u=o.next;r=u;do{if((r.tag&e)===e){var y=r.inst,b=y.destroy;if(b!==void 0){y.destroy=void 0,o=t;var N=a,P=b;try{P()}catch(X){He(o,N,X)}}}r=r.next}while(r!==u)}}catch(X){He(t,t.return,X)}}function kh(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{Nm(t,a)}catch(r){He(e,e.return,r)}}}function Hh(e,t,a){a.props=ls(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(r){He(e,t,r)}}function el(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof a=="function"?e.refCleanup=a(r):a.current=r}}catch(o){He(e,t,o)}}function vn(e,t){var a=e.ref,r=e.refCleanup;if(a!==null)if(typeof r=="function")try{r()}catch(o){He(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(o){He(e,t,o)}else a.current=null}function Uh(e){var t=e.type,a=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&r.focus();break e;case"img":a.src?r.src=a.src:a.srcSet&&(r.srcset=a.srcSet)}}catch(o){He(e,e.return,o)}}function cu(e,t,a){try{var r=e.stateNode;pb(r,e.type,a,t),r[Tt]=t}catch(o){He(e,e.return,o)}}function qh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ja(e.type)||e.tag===4}function uu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ja(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function du(e,t,a){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Mn));else if(r!==4&&(r===27&&ja(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(du(e,t,a),e=e.sibling;e!==null;)du(e,t,a),e=e.sibling}function Ei(e,t,a){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(r!==4&&(r===27&&ja(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Ei(e,t,a),e=e.sibling;e!==null;)Ei(e,t,a),e=e.sibling}function Lh(e){var t=e.stateNode,a=e.memoizedProps;try{for(var r=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);ht(t,r,a),t[ut]=e,t[Tt]=a}catch(u){He(e,e.return,u)}}var Qn=!1,nt=!1,fu=!1,Bh=typeof WeakSet=="function"?WeakSet:Set,it=null;function Kv(e,t){if(e=e.containerInfo,zu=Ki,e=Wf(e),rc(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var r=a.getSelection&&a.getSelection();if(r&&r.rangeCount!==0){a=r.anchorNode;var o=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{a.nodeType,u.nodeType}catch{a=null;break e}var y=0,b=-1,N=-1,P=0,X=0,Z=e,H=null;t:for(;;){for(var B;Z!==a||o!==0&&Z.nodeType!==3||(b=y+o),Z!==u||r!==0&&Z.nodeType!==3||(N=y+r),Z.nodeType===3&&(y+=Z.nodeValue.length),(B=Z.firstChild)!==null;)H=Z,Z=B;for(;;){if(Z===e)break t;if(H===a&&++P===o&&(b=y),H===u&&++X===r&&(N=y),(B=Z.nextSibling)!==null)break;Z=H,H=Z.parentNode}Z=B}a=b===-1||N===-1?null:{start:b,end:N}}else a=null}a=a||{start:0,end:0}}else a=null;for(Du={focusedElem:e,selectionRange:a},Ki=!1,it=t;it!==null;)if(t=it,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,it=e;else for(;it!==null;){switch(t=it,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)o=e[a],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,a=t,o=u.memoizedProps,u=u.memoizedState,r=a.stateNode;try{var ue=ls(a.type,o);e=r.getSnapshotBeforeUpdate(ue,u),r.__reactInternalSnapshotBeforeUpdate=e}catch(ye){He(a,a.return,ye)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)Hu(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Hu(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,it=e;break}it=t.return}}function Qh(e,t,a){var r=a.flags;switch(a.tag){case 0:case 11:case 15:Gn(e,a),r&4&&Wr(5,a);break;case 1:if(Gn(e,a),r&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(y){He(a,a.return,y)}else{var o=ls(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(y){He(a,a.return,y)}}r&64&&kh(a),r&512&&el(a,a.return);break;case 3:if(Gn(e,a),r&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{Nm(e,t)}catch(y){He(a,a.return,y)}}break;case 27:t===null&&r&4&&Lh(a);case 26:case 5:Gn(e,a),t===null&&r&4&&Uh(a),r&512&&el(a,a.return);break;case 12:Gn(e,a);break;case 31:Gn(e,a),r&4&&Yh(e,a);break;case 13:Gn(e,a),r&4&&Vh(e,a),r&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=ab.bind(null,a),Cb(e,a))));break;case 22:if(r=a.memoizedState!==null||Qn,!r){t=t!==null&&t.memoizedState!==null||nt,o=Qn;var u=nt;Qn=r,(nt=t)&&!u?Yn(e,a,(a.subtreeFlags&8772)!==0):Gn(e,a),Qn=o,nt=u}break;case 30:break;default:Gn(e,a)}}function Fh(e){var t=e.alternate;t!==null&&(e.alternate=null,Fh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Qo(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ye=null,Rt=!1;function Fn(e,t,a){for(a=a.child;a!==null;)Gh(e,t,a),a=a.sibling}function Gh(e,t,a){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(Fa,a)}catch{}switch(a.tag){case 26:nt||vn(a,t),Fn(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:nt||vn(a,t);var r=Ye,o=Rt;ja(a.type)&&(Ye=a.stateNode,Rt=!1),Fn(e,t,a),cl(a.stateNode),Ye=r,Rt=o;break;case 5:nt||vn(a,t);case 6:if(r=Ye,o=Rt,Ye=null,Fn(e,t,a),Ye=r,Rt=o,Ye!==null)if(Rt)try{(Ye.nodeType===9?Ye.body:Ye.nodeName==="HTML"?Ye.ownerDocument.body:Ye).removeChild(a.stateNode)}catch(u){He(a,t,u)}else try{Ye.removeChild(a.stateNode)}catch(u){He(a,t,u)}break;case 18:Ye!==null&&(Rt?(e=Ye,kp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),or(e)):kp(Ye,a.stateNode));break;case 4:r=Ye,o=Rt,Ye=a.stateNode.containerInfo,Rt=!0,Fn(e,t,a),Ye=r,Rt=o;break;case 0:case 11:case 14:case 15:ya(2,a,t),nt||ya(4,a,t),Fn(e,t,a);break;case 1:nt||(vn(a,t),r=a.stateNode,typeof r.componentWillUnmount=="function"&&Hh(a,t,r)),Fn(e,t,a);break;case 21:Fn(e,t,a);break;case 22:nt=(r=nt)||a.memoizedState!==null,Fn(e,t,a),nt=r;break;default:Fn(e,t,a)}}function Yh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{or(e)}catch(a){He(t,t.return,a)}}}function Vh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{or(e)}catch(a){He(t,t.return,a)}}function Zv(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Bh),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Bh),t;default:throw Error(i(435,e.tag))}}function Oi(e,t){var a=Zv(e);t.forEach(function(r){if(!a.has(r)){a.add(r);var o=sb.bind(null,e,r);r.then(o,o)}})}function Mt(e,t){var a=t.deletions;if(a!==null)for(var r=0;r<a.length;r++){var o=a[r],u=e,y=t,b=y;e:for(;b!==null;){switch(b.tag){case 27:if(ja(b.type)){Ye=b.stateNode,Rt=!1;break e}break;case 5:Ye=b.stateNode,Rt=!1;break e;case 3:case 4:Ye=b.stateNode.containerInfo,Rt=!0;break e}b=b.return}if(Ye===null)throw Error(i(160));Gh(u,y,o),Ye=null,Rt=!1,u=o.alternate,u!==null&&(u.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Xh(t,e),t=t.sibling}var un=null;function Xh(e,t){var a=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Mt(t,e),zt(e),r&4&&(ya(3,e,e.return),Wr(3,e),ya(5,e,e.return));break;case 1:Mt(t,e),zt(e),r&512&&(nt||a===null||vn(a,a.return)),r&64&&Qn&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?r:a.concat(r))));break;case 26:var o=un;if(Mt(t,e),zt(e),r&512&&(nt||a===null||vn(a,a.return)),r&4){var u=a!==null?a.memoizedState:null;if(r=e.memoizedState,a===null)if(r===null)if(e.stateNode===null){e:{r=e.type,a=e.memoizedProps,o=o.ownerDocument||o;t:switch(r){case"title":u=o.getElementsByTagName("title")[0],(!u||u[Er]||u[ut]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=o.createElement(r),o.head.insertBefore(u,o.querySelector("head > title"))),ht(u,r,a),u[ut]=e,lt(u),r=u;break e;case"link":var y=Xp("link","href",o).get(r+(a.href||""));if(y){for(var b=0;b<y.length;b++)if(u=y[b],u.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&u.getAttribute("rel")===(a.rel==null?null:a.rel)&&u.getAttribute("title")===(a.title==null?null:a.title)&&u.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){y.splice(b,1);break t}}u=o.createElement(r),ht(u,r,a),o.head.appendChild(u);break;case"meta":if(y=Xp("meta","content",o).get(r+(a.content||""))){for(b=0;b<y.length;b++)if(u=y[b],u.getAttribute("content")===(a.content==null?null:""+a.content)&&u.getAttribute("name")===(a.name==null?null:a.name)&&u.getAttribute("property")===(a.property==null?null:a.property)&&u.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&u.getAttribute("charset")===(a.charSet==null?null:a.charSet)){y.splice(b,1);break t}}u=o.createElement(r),ht(u,r,a),o.head.appendChild(u);break;default:throw Error(i(468,r))}u[ut]=e,lt(u),r=u}e.stateNode=r}else Kp(o,e.type,e.stateNode);else e.stateNode=Vp(o,r,e.memoizedProps);else u!==r?(u===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):u.count--,r===null?Kp(o,e.type,e.stateNode):Vp(o,r,e.memoizedProps)):r===null&&e.stateNode!==null&&cu(e,e.memoizedProps,a.memoizedProps)}break;case 27:Mt(t,e),zt(e),r&512&&(nt||a===null||vn(a,a.return)),a!==null&&r&4&&cu(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Mt(t,e),zt(e),r&512&&(nt||a===null||vn(a,a.return)),e.flags&32){o=e.stateNode;try{Rs(o,"")}catch(ue){He(e,e.return,ue)}}r&4&&e.stateNode!=null&&(o=e.memoizedProps,cu(e,o,a!==null?a.memoizedProps:o)),r&1024&&(fu=!0);break;case 6:if(Mt(t,e),zt(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,a=e.stateNode;try{a.nodeValue=r}catch(ue){He(e,e.return,ue)}}break;case 3:if(Gi=null,o=un,un=Qi(t.containerInfo),Mt(t,e),un=o,zt(e),r&4&&a!==null&&a.memoizedState.isDehydrated)try{or(t.containerInfo)}catch(ue){He(e,e.return,ue)}fu&&(fu=!1,Kh(e));break;case 4:r=un,un=Qi(e.stateNode.containerInfo),Mt(t,e),zt(e),un=r;break;case 12:Mt(t,e),zt(e);break;case 31:Mt(t,e),zt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Oi(e,r)));break;case 13:Mt(t,e),zt(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(_i=St()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Oi(e,r)));break;case 22:o=e.memoizedState!==null;var N=a!==null&&a.memoizedState!==null,P=Qn,X=nt;if(Qn=P||o,nt=X||N,Mt(t,e),nt=X,Qn=P,zt(e),r&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(a===null||N||Qn||nt||is(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){N=a=t;try{if(u=N.stateNode,o)y=u.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none";else{b=N.stateNode;var Z=N.memoizedProps.style,H=Z!=null&&Z.hasOwnProperty("display")?Z.display:null;b.style.display=H==null||typeof H=="boolean"?"":(""+H).trim()}}catch(ue){He(N,N.return,ue)}}}else if(t.tag===6){if(a===null){N=t;try{N.stateNode.nodeValue=o?"":N.memoizedProps}catch(ue){He(N,N.return,ue)}}}else if(t.tag===18){if(a===null){N=t;try{var B=N.stateNode;o?Hp(B,!0):Hp(N.stateNode,!1)}catch(ue){He(N,N.return,ue)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(a=r.retryQueue,a!==null&&(r.retryQueue=null,Oi(e,a))));break;case 19:Mt(t,e),zt(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,Oi(e,r)));break;case 30:break;case 21:break;default:Mt(t,e),zt(e)}}function zt(e){var t=e.flags;if(t&2){try{for(var a,r=e.return;r!==null;){if(qh(r)){a=r;break}r=r.return}if(a==null)throw Error(i(160));switch(a.tag){case 27:var o=a.stateNode,u=uu(e);Ei(e,u,o);break;case 5:var y=a.stateNode;a.flags&32&&(Rs(y,""),a.flags&=-33);var b=uu(e);Ei(e,b,y);break;case 3:case 4:var N=a.stateNode.containerInfo,P=uu(e);du(e,P,N);break;default:throw Error(i(161))}}catch(X){He(e,e.return,X)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Kh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Kh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Gn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Qh(e,t.alternate,t),t=t.sibling}function is(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ya(4,t,t.return),is(t);break;case 1:vn(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&Hh(t,t.return,a),is(t);break;case 27:cl(t.stateNode);case 26:case 5:vn(t,t.return),is(t);break;case 22:t.memoizedState===null&&is(t);break;case 30:is(t);break;default:is(t)}e=e.sibling}}function Yn(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var r=t.alternate,o=e,u=t,y=u.flags;switch(u.tag){case 0:case 11:case 15:Yn(o,u,a),Wr(4,u);break;case 1:if(Yn(o,u,a),r=u,o=r.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(P){He(r,r.return,P)}if(r=u,o=r.updateQueue,o!==null){var b=r.stateNode;try{var N=o.shared.hiddenCallbacks;if(N!==null)for(o.shared.hiddenCallbacks=null,o=0;o<N.length;o++)Am(N[o],b)}catch(P){He(r,r.return,P)}}a&&y&64&&kh(u),el(u,u.return);break;case 27:Lh(u);case 26:case 5:Yn(o,u,a),a&&r===null&&y&4&&Uh(u),el(u,u.return);break;case 12:Yn(o,u,a);break;case 31:Yn(o,u,a),a&&y&4&&Yh(o,u);break;case 13:Yn(o,u,a),a&&y&4&&Vh(o,u);break;case 22:u.memoizedState===null&&Yn(o,u,a),el(u,u.return);break;case 30:break;default:Yn(o,u,a)}t=t.sibling}}function mu(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Lr(a))}function hu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Lr(e))}function dn(e,t,a,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Zh(e,t,a,r),t=t.sibling}function Zh(e,t,a,r){var o=t.flags;switch(t.tag){case 0:case 11:case 15:dn(e,t,a,r),o&2048&&Wr(9,t);break;case 1:dn(e,t,a,r);break;case 3:dn(e,t,a,r),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Lr(e)));break;case 12:if(o&2048){dn(e,t,a,r),e=t.stateNode;try{var u=t.memoizedProps,y=u.id,b=u.onPostCommit;typeof b=="function"&&b(y,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(N){He(t,t.return,N)}}else dn(e,t,a,r);break;case 31:dn(e,t,a,r);break;case 13:dn(e,t,a,r);break;case 23:break;case 22:u=t.stateNode,y=t.alternate,t.memoizedState!==null?u._visibility&2?dn(e,t,a,r):tl(e,t):u._visibility&2?dn(e,t,a,r):(u._visibility|=2,$s(e,t,a,r,(t.subtreeFlags&10256)!==0||!1)),o&2048&&mu(y,t);break;case 24:dn(e,t,a,r),o&2048&&hu(t.alternate,t);break;default:dn(e,t,a,r)}}function $s(e,t,a,r,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,y=t,b=a,N=r,P=y.flags;switch(y.tag){case 0:case 11:case 15:$s(u,y,b,N,o),Wr(8,y);break;case 23:break;case 22:var X=y.stateNode;y.memoizedState!==null?X._visibility&2?$s(u,y,b,N,o):tl(u,y):(X._visibility|=2,$s(u,y,b,N,o)),o&&P&2048&&mu(y.alternate,y);break;case 24:$s(u,y,b,N,o),o&&P&2048&&hu(y.alternate,y);break;default:$s(u,y,b,N,o)}t=t.sibling}}function tl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,r=t,o=r.flags;switch(r.tag){case 22:tl(a,r),o&2048&&mu(r.alternate,r);break;case 24:tl(a,r),o&2048&&hu(r.alternate,r);break;default:tl(a,r)}t=t.sibling}}var nl=8192;function Is(e,t,a){if(e.subtreeFlags&nl)for(e=e.child;e!==null;)Jh(e,t,a),e=e.sibling}function Jh(e,t,a){switch(e.tag){case 26:Is(e,t,a),e.flags&nl&&e.memoizedState!==null&&Pb(a,un,e.memoizedState,e.memoizedProps);break;case 5:Is(e,t,a);break;case 3:case 4:var r=un;un=Qi(e.stateNode.containerInfo),Is(e,t,a),un=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=nl,nl=16777216,Is(e,t,a),nl=r):Is(e,t,a));break;default:Is(e,t,a)}}function $h(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function al(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var r=t[a];it=r,Wh(r,e)}$h(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ih(e),e=e.sibling}function Ih(e){switch(e.tag){case 0:case 11:case 15:al(e),e.flags&2048&&ya(9,e,e.return);break;case 3:al(e);break;case 12:al(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ti(e)):al(e);break;default:al(e)}}function Ti(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var r=t[a];it=r,Wh(r,e)}$h(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ya(8,t,t.return),Ti(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Ti(t));break;default:Ti(t)}e=e.sibling}}function Wh(e,t){for(;it!==null;){var a=it;switch(a.tag){case 0:case 11:case 15:ya(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var r=a.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:Lr(a.memoizedState.cache)}if(r=a.child,r!==null)r.return=a,it=r;else e:for(a=e;it!==null;){r=it;var o=r.sibling,u=r.return;if(Fh(r),r===a){it=null;break e}if(o!==null){o.return=u,it=o;break e}it=u}}}var Jv={getCacheForType:function(e){var t=ft(We),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return ft(We).controller.signal}},$v=typeof WeakMap=="function"?WeakMap:Map,Pe=0,Be=null,je=null,Ne=0,ke=0,Qt=null,xa=!1,Ws=!1,pu=!1,Vn=0,Ke=0,va=0,os=0,gu=0,Ft=0,er=0,sl=null,Dt=null,yu=!1,_i=0,ep=0,Ri=1/0,Mi=null,ba=null,at=0,Sa=null,tr=null,Xn=0,xu=0,vu=null,tp=null,rl=0,bu=null;function Gt(){return(Pe&2)!==0&&Ne!==0?Ne&-Ne:O.T!==null?Nu():Lo()}function np(){if(Ft===0)if((Ne&536870912)===0||Te){var e=Cs;Cs<<=1,(Cs&3932160)===0&&(Cs=262144),Ft=e}else Ft=536870912;return e=Lt.current,e!==null&&(e.flags|=32),Ft}function Pt(e,t,a){(e===Be&&(ke===2||ke===9)||e.cancelPendingCommit!==null)&&(nr(e,0),wa(e,Ne,Ft,!1)),Ve(e,a),((Pe&2)===0||e!==Be)&&(e===Be&&((Pe&2)===0&&(os|=a),Ke===4&&wa(e,Ne,Ft,!1)),bn(e))}function ap(e,t,a){if((Pe&6)!==0)throw Error(i(327));var r=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Ge(e,t),o=r?eb(e,t):wu(e,t,!0),u=r;do{if(o===0){Ws&&!r&&wa(e,t,0,!1);break}else{if(a=e.current.alternate,u&&!Iv(a)){o=wu(e,t,!1),u=!1;continue}if(o===2){if(u=t,e.errorRecoveryDisabledLanes&u)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){t=y;e:{var b=e;o=sl;var N=b.current.memoizedState.isDehydrated;if(N&&(nr(b,y).flags|=256),y=wu(b,y,!1),y!==2){if(pu&&!N){b.errorRecoveryDisabledLanes|=u,os|=u,o=4;break e}u=Dt,Dt=o,u!==null&&(Dt===null?Dt=u:Dt.push.apply(Dt,u))}o=y}if(u=!1,o!==2)continue}}if(o===1){nr(e,0),wa(e,t,0,!0);break}e:{switch(r=e,u=o,u){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;
vendor: 13,404 bytes, line 48
48case 6:wa(r,t,Ft,!xa);break e;case 2:Dt=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(o=_i+300-St(),10<o)){if(wa(r,t,Ft,!xa),ve(r,0,!0)!==0)break e;Xn=t,r.timeoutHandle=Dp(sp.bind(null,r,a,Dt,Mi,yu,t,Ft,os,er,xa,u,"Throttled",-0,0),o);break e}sp(r,a,Dt,Mi,yu,t,Ft,os,er,xa,u,null,-0,0)}}break}while(!0);bn(e)}function sp(e,t,a,r,o,u,y,b,N,P,X,Z,H,B){if(e.timeoutHandle=-1,Z=t.subtreeFlags,Z&8192||(Z&16785408)===16785408){Z={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Mn},Jh(t,u,Z);var ue=(u&62914560)===u?_i-St():(u&4194048)===u?ep-St():0;if(ue=kb(Z,ue),ue!==null){Xn=u,e.cancelPendingCommit=ue(fp.bind(null,e,t,u,a,r,o,y,b,N,X,Z,null,H,B)),wa(e,u,y,!P);return}}fp(e,t,u,a,r,o,y,b,N)}function Iv(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var r=0;r<a.length;r++){var o=a[r],u=o.getSnapshot;o=o.value;try{if(!Ut(u(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function wa(e,t,a,r){t&=~gu,t&=~os,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<o;){var u=31-pt(o),y=1<<u;r[u]=-1,o&=~y}a!==0&&Ya(e,a,t)}function zi(){return(Pe&6)===0?(ll(0),!1):!0}function Su(){if(je!==null){if(ke===0)var e=je.return;else e=je,kn=Wa=null,Hc(e),Vs=null,Qr=0,e=je;for(;e!==null;)Ph(e.alternate,e),e=e.return;je=null}}function nr(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,xb(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Xn=0,Su(),Be=e,je=a=Dn(e.current,null),Ne=t,ke=0,Qt=null,xa=!1,Ws=Ge(e,t),pu=!1,er=Ft=gu=os=va=Ke=0,Dt=sl=null,yu=!1,(t&8)!==0&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var o=31-pt(r),u=1<<o;t|=e[o],r&=~u}return Vn=t,ei(),a}function rp(e,t){Se=null,O.H=Jr,t===Ys||t===oi?(t=Sm(),ke=3):t===Ac?(t=Sm(),ke=4):ke=t===Wc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Qt=t,je===null&&(Ke=1,wi(e,It(t,e.current)))}function lp(){var e=Lt.current;return e===null?!0:(Ne&4194048)===Ne?nn===null:(Ne&62914560)===Ne||(Ne&536870912)!==0?e===nn:!1}function ip(){var e=O.H;return O.H=Jr,e===null?Jr:e}function op(){var e=O.A;return O.A=Jv,e}function Di(){Ke=4,xa||(Ne&4194048)!==Ne&&Lt.current!==null||(Ws=!0),(va&134217727)===0&&(os&134217727)===0||Be===null||wa(Be,Ne,Ft,!1)}function wu(e,t,a){var r=Pe;Pe|=2;var o=ip(),u=op();(Be!==e||Ne!==t)&&(Mi=null,nr(e,t)),t=!1;var y=Ke;e:do try{if(ke!==0&&je!==null){var b=je,N=Qt;switch(ke){case 8:Su(),y=6;break e;case 3:case 2:case 9:case 6:Lt.current===null&&(t=!0);var P=ke;if(ke=0,Qt=null,ar(e,b,N,P),a&&Ws){y=0;break e}break;default:P=ke,ke=0,Qt=null,ar(e,b,N,P)}}Wv(),y=Ke;break}catch(X){rp(e,X)}while(!0);return t&&e.shellSuspendCounter++,kn=Wa=null,Pe=r,O.H=o,O.A=u,je===null&&(Be=null,Ne=0,ei()),y}function Wv(){for(;je!==null;)cp(je)}function eb(e,t){var a=Pe;Pe|=2;var r=ip(),o=op();Be!==e||Ne!==t?(Mi=null,Ri=St()+500,nr(e,t)):Ws=Ge(e,t);e:do try{if(ke!==0&&je!==null){t=je;var u=Qt;t:switch(ke){case 1:ke=0,Qt=null,ar(e,t,u,1);break;case 2:case 9:if(vm(u)){ke=0,Qt=null,up(t);break}t=function(){ke!==2&&ke!==9||Be!==e||(ke=7),bn(e)},u.then(t,t);break e;case 3:ke=7;break e;case 4:ke=5;break e;case 7:vm(u)?(ke=0,Qt=null,up(t)):(ke=0,Qt=null,ar(e,t,u,7));break;case 5:var y=null;switch(je.tag){case 26:y=je.memoizedState;case 5:case 27:var b=je;if(y?Zp(y):b.stateNode.complete){ke=0,Qt=null;var N=b.sibling;if(N!==null)je=N;else{var P=b.return;P!==null?(je=P,Pi(P)):je=null}break t}}ke=0,Qt=null,ar(e,t,u,5);break;case 6:ke=0,Qt=null,ar(e,t,u,6);break;case 8:Su(),Ke=6;break e;default:throw Error(i(462))}}tb();break}catch(X){rp(e,X)}while(!0);return kn=Wa=null,O.H=r,O.A=o,Pe=a,je!==null?0:(Be=null,Ne=0,ei(),Ke)}function tb(){for(;je!==null&&!bt();)cp(je)}function cp(e){var t=zh(e.alternate,e,Vn);e.memoizedProps=e.pendingProps,t===null?Pi(e):je=t}function up(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Eh(a,t,t.pendingProps,t.type,void 0,Ne);break;case 11:t=Eh(a,t,t.pendingProps,t.type.render,t.ref,Ne);break;case 5:Hc(t);default:Ph(a,t),t=je=om(t,Vn),t=zh(a,t,Vn)}e.memoizedProps=e.pendingProps,t===null?Pi(e):je=t}function ar(e,t,a,r){kn=Wa=null,Hc(t),Vs=null,Qr=0;var o=t.return;try{if(Fv(e,o,t,a,Ne)){Ke=1,wi(e,It(a,e.current)),je=null;return}}catch(u){if(o!==null)throw je=o,u;Ke=1,wi(e,It(a,e.current)),je=null;return}t.flags&32768?(Te||r===1?e=!0:Ws||(Ne&536870912)!==0?e=!1:(xa=e=!0,(r===2||r===9||r===3||r===6)&&(r=Lt.current,r!==null&&r.tag===13&&(r.flags|=16384))),dp(t,e)):Pi(t)}function Pi(e){var t=e;do{if((t.flags&32768)!==0){dp(t,xa);return}e=t.return;var a=Vv(t.alternate,t,Vn);if(a!==null){je=a;return}if(t=t.sibling,t!==null){je=t;return}je=t=e}while(t!==null);Ke===0&&(Ke=5)}function dp(e,t){do{var a=Xv(e.alternate,e);if(a!==null){a.flags&=32767,je=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){je=e;return}je=e=a}while(e!==null);Ke=6,je=null}function fp(e,t,a,r,o,u,y,b,N){e.cancelPendingCommit=null;do ki();while(at!==0);if((Pe&6)!==0)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(u=t.lanes|t.childLanes,u|=uc,Nt(e,a,u,y,b,N),e===Be&&(je=Be=null,Ne=0),tr=t,Sa=e,Xn=a,xu=u,vu=o,tp=r,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,rb(Qa,function(){return yp(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||r){r=O.T,O.T=null,o=L.p,L.p=2,y=Pe,Pe|=4;try{Kv(e,t,a)}finally{Pe=y,L.p=o,O.T=r}}at=1,mp(),hp(),pp()}}function mp(){if(at===1){at=0;var e=Sa,t=tr,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=O.T,O.T=null;var r=L.p;L.p=2;var o=Pe;Pe|=4;try{Xh(t,e);var u=Du,y=Wf(e.containerInfo),b=u.focusedElem,N=u.selectionRange;if(y!==b&&b&&b.ownerDocument&&If(b.ownerDocument.documentElement,b)){if(N!==null&&rc(b)){var P=N.start,X=N.end;if(X===void 0&&(X=P),"selectionStart"in b)b.selectionStart=P,b.selectionEnd=Math.min(X,b.value.length);else{var Z=b.ownerDocument||document,H=Z&&Z.defaultView||window;if(H.getSelection){var B=H.getSelection(),ue=b.textContent.length,ye=Math.min(N.start,ue),Le=N.end===void 0?ye:Math.min(N.end,ue);!B.extend&&ye>Le&&(y=Le,Le=ye,ye=y);var R=$f(b,ye),T=$f(b,Le);if(R&&T&&(B.rangeCount!==1||B.anchorNode!==R.node||B.anchorOffset!==R.offset||B.focusNode!==T.node||B.focusOffset!==T.offset)){var D=Z.createRange();D.setStart(R.node,R.offset),B.removeAllRanges(),ye>Le?(B.addRange(D),B.extend(T.node,T.offset)):(D.setEnd(T.node,T.offset),B.addRange(D))}}}}for(Z=[],B=b;B=B.parentNode;)B.nodeType===1&&Z.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<Z.length;b++){var K=Z[b];K.element.scrollLeft=K.left,K.element.scrollTop=K.top}}Ki=!!zu,Du=zu=null}finally{Pe=o,L.p=r,O.T=a}}e.current=t,at=2}}function hp(){if(at===2){at=0;var e=Sa,t=tr,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=O.T,O.T=null;var r=L.p;L.p=2;var o=Pe;Pe|=4;try{Qh(e,t.alternate,t)}finally{Pe=o,L.p=r,O.T=a}}at=3}}function pp(){if(at===4||at===3){at=0,aa();var e=Sa,t=tr,a=Xn,r=tp;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?at=5:(at=0,tr=Sa=null,gp(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(ba=null),on(a),t=t.stateNode,wt&&typeof wt.onCommitFiberRoot=="function")try{wt.onCommitFiberRoot(Fa,t,void 0,(t.current.flags&128)===128)}catch{}if(r!==null){t=O.T,o=L.p,L.p=2,O.T=null;try{for(var u=e.onRecoverableError,y=0;y<r.length;y++){var b=r[y];u(b.value,{componentStack:b.stack})}}finally{O.T=t,L.p=o}}(Xn&3)!==0&&ki(),bn(e),o=e.pendingLanes,(a&261930)!==0&&(o&42)!==0?e===bu?rl++:(rl=0,bu=e):rl=0,ll(0)}}function gp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Lr(t)))}function ki(){return mp(),hp(),pp(),yp()}function yp(){if(at!==5)return!1;var e=Sa,t=xu;xu=0;var a=on(Xn),r=O.T,o=L.p;try{L.p=32>a?32:a,O.T=null,a=vu,vu=null;var u=Sa,y=Xn;if(at=0,tr=Sa=null,Xn=0,(Pe&6)!==0)throw Error(i(331));var b=Pe;if(Pe|=4,Ih(u.current),Zh(u,u.current,y,a),Pe=b,ll(0,!1),wt&&typeof wt.onPostCommitFiberRoot=="function")try{wt.onPostCommitFiberRoot(Fa,u)}catch{}return!0}finally{L.p=o,O.T=r,gp(e,t)}}function xp(e,t,a){t=It(a,t),t=Ic(e.stateNode,t,2),e=ha(e,t,2),e!==null&&(Ve(e,2),bn(e))}function He(e,t,a){if(e.tag===3)xp(e,e,a);else for(;t!==null;){if(t.tag===3){xp(t,e,a);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ba===null||!ba.has(r))){e=It(a,e),a=vh(2),r=ha(t,a,2),r!==null&&(bh(a,r,t,e),Ve(r,2),bn(r));break}}t=t.return}}function Cu(e,t,a){var r=e.pingCache;if(r===null){r=e.pingCache=new $v;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(a)||(pu=!0,o.add(a),e=nb.bind(null,e,t,a),t.then(e,e))}function nb(e,t,a){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Be===e&&(Ne&a)===a&&(Ke===4||Ke===3&&(Ne&62914560)===Ne&&300>St()-_i?(Pe&2)===0&&nr(e,0):gu|=a,er===Ne&&(er=0)),bn(e)}function vp(e,t){t===0&&(t=gt()),e=Ja(e,t),e!==null&&(Ve(e,t),bn(e))}function ab(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),vp(e,a)}function sb(e,t){var a=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),vp(e,a)}function rb(e,t){return Cr(e,t)}var Hi=null,sr=null,ju=!1,Ui=!1,Au=!1,Ca=0;function bn(e){e!==sr&&e.next===null&&(sr===null?Hi=sr=e:sr=sr.next=e),Ui=!0,ju||(ju=!0,ib())}function ll(e,t){if(!Au&&Ui){Au=!0;do for(var a=!1,r=Hi;r!==null;){if(e!==0){var o=r.pendingLanes;if(o===0)var u=0;else{var y=r.suspendedLanes,b=r.pingedLanes;u=(1<<31-pt(42|e)+1)-1,u&=o&~(y&~b),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(a=!0,Cp(r,u))}else u=Ne,u=ve(r,r===Be?u:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),(u&3)===0||Ge(r,u)||(a=!0,Cp(r,u));r=r.next}while(a);Au=!1}}function lb(){bp()}function bp(){Ui=ju=!1;var e=0;Ca!==0&&yb()&&(e=Ca);for(var t=St(),a=null,r=Hi;r!==null;){var o=r.next,u=Sp(r,t);u===0?(r.next=null,a===null?Hi=o:a.next=o,o===null&&(sr=a)):(a=r,(e!==0||(u&3)!==0)&&(Ui=!0)),r=o}at!==0&&at!==5||ll(e),Ca!==0&&(Ca=0)}function Sp(e,t){for(var a=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var y=31-pt(u),b=1<<y,N=o[y];N===-1?((b&a)===0||(b&r)!==0)&&(o[y]=rt(b,t)):N<=t&&(e.expiredLanes|=b),u&=~b}if(t=Be,a=Ne,a=ve(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,a===0||e===t&&(ke===2||ke===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&jr(r),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Ge(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(r!==null&&jr(r),on(a)){case 2:case 8:a=Bl;break;case 32:a=Qa;break;case 268435456:a=_n;break;default:a=Qa}return r=wp.bind(null,e),a=Cr(a,r),e.callbackPriority=t,e.callbackNode=a,t}return r!==null&&r!==null&&jr(r),e.callbackPriority=2,e.callbackNode=null,2}function wp(e,t){if(at!==0&&at!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(ki()&&e.callbackNode!==a)return null;var r=Ne;return r=ve(e,e===Be?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(ap(e,r,t),Sp(e,St()),e.callbackNode!=null&&e.callbackNode===a?wp.bind(null,e):null)}function Cp(e,t){if(ki())return null;ap(e,t,!0)}function ib(){vb(function(){(Pe&6)!==0?Cr(Ba,lb):bp()})}function Nu(){if(Ca===0){var e=Fs;e===0&&(e=ws,ws<<=1,(ws&261888)===0&&(ws=256)),Ca=e}return Ca}function jp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Vl(""+e)}function Ap(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function ob(e,t,a,r,o){if(t==="submit"&&a&&a.stateNode===o){var u=jp((o[Tt]||null).action),y=r.submitter;y&&(t=(t=y[Tt]||null)?jp(t.formAction):y.getAttribute("formAction"),t!==null&&(u=t,y=null));var b=new Jl("action","action",null,r,o);e.push({event:b,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(Ca!==0){var N=y?Ap(o,y):new FormData(o);Vc(a,{pending:!0,data:N,method:o.method,action:u},null,N)}}else typeof u=="function"&&(b.preventDefault(),N=y?Ap(o,y):new FormData(o),Vc(a,{pending:!0,data:N,method:o.method,action:u},u,N))},currentTarget:o}]})}}for(var Eu=0;Eu<cc.length;Eu++){var Ou=cc[Eu],cb=Ou.toLowerCase(),ub=Ou[0].toUpperCase()+Ou.slice(1);cn(cb,"on"+ub)}cn(nm,"onAnimationEnd"),cn(am,"onAnimationIteration"),cn(sm,"onAnimationStart"),cn("dblclick","onDoubleClick"),cn("focusin","onFocus"),cn("focusout","onBlur"),cn(Nv,"onTransitionRun"),cn(Ev,"onTransitionStart"),cn(Ov,"onTransitionCancel"),cn(rm,"onTransitionEnd"),Ts("onMouseEnter",["mouseout","mouseover"]),Ts("onMouseLeave",["mouseout","mouseover"]),Ts("onPointerEnter",["pointerout","pointerover"]),Ts("onPointerLeave",["pointerout","pointerover"]),Va("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Va("onSelect","focusout contextmenu dragend focu
48sin keydown keyup mousedown mouseup selectionchange".split(" ")),Va("onBeforeInput",["compositionend","keypress","textInput","paste"]),Va("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Va("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Va("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var il="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(" "),db=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(il));function Np(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var r=e[a],o=r.event;r=r.listeners;e:{var u=void 0;if(t)for(var y=r.length-1;0<=y;y--){var b=r[y],N=b.instance,P=b.currentTarget;if(b=b.listener,N!==u&&o.isPropagationStopped())break e;u=b,o.currentTarget=P;try{u(o)}catch(X){Wl(X)}o.currentTarget=null,u=N}else for(y=0;y<r.length;y++){if(b=r[y],N=b.instance,P=b.currentTarget,b=b.listener,N!==u&&o.isPropagationStopped())break e;u=b,o.currentTarget=P;try{u(o)}catch(X){Wl(X)}o.currentTarget=null,u=N}}}}function Ae(e,t){var a=t[Bo];a===void 0&&(a=t[Bo]=new Set);var r=e+"__bubble";a.has(r)||(Ep(t,e,2,!1),a.add(r))}function Tu(e,t,a){var r=0;t&&(r|=4),Ep(a,e,r,t)}var qi="_reactListening"+Math.random().toString(36).slice(2);function _u(e){if(!e[qi]){e[qi]=!0,bf.forEach(function(a){a!=="selectionchange"&&(db.has(a)||Tu(a,!1,e),Tu(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[qi]||(t[qi]=!0,Tu("selectionchange",!1,t))}}function Ep(e,t,a,r){switch(ng(t)){case 2:var o=qb;break;case 8:o=Lb;break;default:o=Yu}a=o.bind(null,t,a,e),o=void 0,!Jo||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function Ru(e,t,a,r,o){var u=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var y=r.tag;if(y===3||y===4){var b=r.stateNode.containerInfo;if(b===o)break;if(y===4)for(y=r.return;y!==null;){var N=y.tag;if((N===3||N===4)&&y.stateNode.containerInfo===o)return;y=y.return}for(;b!==null;){if(y=Ns(b),y===null)return;if(N=y.tag,N===5||N===6||N===26||N===27){r=u=y;continue e}b=b.parentNode}}r=r.return}Mf(function(){var P=u,X=Ko(a),Z=[];e:{var H=lm.get(e);if(H!==void 0){var B=Jl,ue=e;switch(e){case"keypress":if(Kl(a)===0)break e;case"keydown":case"keyup":B=sv;break;case"focusin":ue="focus",B=ec;break;case"focusout":ue="blur",B=ec;break;case"beforeblur":case"afterblur":B=ec;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":B=Pf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":B=Vx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":B=iv;break;case nm:case am:case sm:B=Zx;break;case rm:B=cv;break;case"scroll":case"scrollend":B=Gx;break;case"wheel":B=dv;break;case"copy":case"cut":case"paste":B=$x;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":B=Hf;break;case"toggle":case"beforetoggle":B=mv}var ye=(t&4)!==0,Le=!ye&&(e==="scroll"||e==="scrollend"),R=ye?H!==null?H+"Capture":null:H;ye=[];for(var T=P,D;T!==null;){var K=T;if(D=K.stateNode,K=K.tag,K!==5&&K!==26&&K!==27||D===null||R===null||(K=Tr(T,R),K!=null&&ye.push(ol(T,K,D))),Le)break;T=T.return}0<ye.length&&(H=new B(H,ue,null,a,X),Z.push({event:H,listeners:ye}))}}if((t&7)===0){e:{if(H=e==="mouseover"||e==="pointerover",B=e==="mouseout"||e==="pointerout",H&&a!==Xo&&(ue=a.relatedTarget||a.fromElement)&&(Ns(ue)||ue[As]))break e;if((B||H)&&(H=X.window===X?X:(H=X.ownerDocument)?H.defaultView||H.parentWindow:window,B?(ue=a.relatedTarget||a.toElement,B=P,ue=ue?Ns(ue):null,ue!==null&&(Le=d(ue),ye=ue.tag,ue!==Le||ye!==5&&ye!==27&&ye!==6)&&(ue=null)):(B=null,ue=P),B!==ue)){if(ye=Pf,K="onMouseLeave",R="onMouseEnter",T="mou
48se",(e==="pointerout"||e==="pointerover")&&(ye=Hf,K="onPointerLeave",R="onPointerEnter",T="pointer"),Le=B==null?H:Or(B),D=ue==null?H:Or(ue),H=new ye(K,T+"leave",B,a,X),H.target=Le,H.relatedTarget=D,K=null,Ns(X)===P&&(ye=new ye(R,T+"enter",ue,a,X),ye.target=D,ye.relatedTarget=Le,K=ye),Le=K,B&&ue)t:{for(ye=fb,R=B,T=ue,D=0,K=R;K;K=ye(K))D++;K=0;for(var ge=T;ge;ge=ye(ge))K++;for(;0<D-K;)R=ye(R),D--;for(;0<K-D;)T=ye(T),K--;for(;D--;){if(R===T||T!==null&&R===T.alternate){ye=R;break t}R=ye(R),T=ye(T)}ye=null}else ye=null;B!==null&&Op(Z,H,B,ye,!1),ue!==null&&Le!==null&&Op(Z,Le,ue,ye,!0)}}e:{if(H=P?Or(P):window,B=H.nodeName&&H.nodeName.toLowerCase(),B==="select"||B==="input"&&H.type==="file")var Re=Yf;else if(Ff(H))if(Vf)Re=Cv;else{Re=Sv;var pe=bv}else B=H.nodeName,!B||B.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?P&&Vo(P.elementType)&&(Re=Yf):Re=wv;if(Re&&(Re=Re(e,P))){Gf(Z,Re,a,X);break e}pe&&pe(e,H,P),e==="focusout"&&P&&H.type==="number"&&P.memoizedProps.value!=null&&Yo(H,"number",H.value)}switch(pe=P?Or(P):window,e){case"focusin":(Ff(pe)||pe.contentEditable==="true")&&(Ps=pe,lc=P,Hr=null);break;case"focusout":Hr=lc=Ps=null;break;case"mousedown":ic=!0;break;case"contextmenu":case"mouseup":case"dragend":ic=!1,em(Z,a,X);break;case"selectionchange":if(Av)break;case"keydown":case"keyup":em(Z,a,X)}var we;if(nc)e:{switch(e){case"compositionstart":var Ee="onCompositionStart";break e;case"compositionend":Ee="onCompositionEnd";break e;case"compositionupdate":Ee="onCompositionUpdate";break e}Ee=void 0}else Ds?Bf(e,a)&&(Ee="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(Ee="onCompositionStart");Ee&&(Uf&&a.locale!=="ko"&&(Ds||Ee!=="onCompositionStart"?Ee==="onCompositionEnd"&&Ds&&(we=zf()):(ia=X,$o="value"in ia?ia.value:ia.textContent,Ds=!0)),pe=Li(P,Ee),0<pe.length&&(Ee=new kf(Ee,e,null,a,X),Z.push({event:Ee,listeners:pe}),we?Ee.data=we:(we=Qf(a),we!==null&&(Ee.data=we)))),(we=pv?gv(e,a):yv(e,a))&&(Ee=Li(P,"onBeforeInput"),0<Ee.length&&(pe=new kf("onBeforeInput","beforeinput",null,a,X),Z.push({event:pe,listeners:Ee}),pe.data=we)),ob(Z,e,P,a,X)}Np(Z,t)})}function ol(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Li(e,t){for(var a=t+"Capture",r=[];e!==null;){var o=e,u=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||u===null||(o=Tr(e,a),o!=null&&r.unshift(ol(e,o,u)),o=Tr(e,t),o!=null&&r.push(ol(e,o,u))),e.tag===3)return r;e=e.return}return[]}function fb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Op(e,t,a,r,o){for(var u=t._reactName,y=[];a!==null&&a!==r;){var b=a,N=b.alternate,P=b.stateNode;if(b=b.tag,N!==null&&N===r)break;b!==5&&b!==26&&b!==27||P===null||(N=P,o?(P=Tr(a,u),P!=null&&y.unshift(ol(a,P,N))):o||(P=Tr(a,u),P!=null&&y.push(ol(a,P,N)))),a=a.return}y.length!==0&&e.push({event:t,listeners:y})}var mb=/\r\n?/g,hb=/\u0000|\uFFFD/g;function Tp(e){return(typeof e=="string"?e:""+e).replace(mb,`
49`).replace(hb,"")}function _p(e,t){return t=Tp(t),Tp(e)===t}function qe(e,t,a,r,o,u){switch(a){case"children":typeof r=="string"?t==="body"||t==="textarea"&&r===""||Rs(e,r):(typeof r=="number"||typeof r=="bigint")&&t!=="body"&&Rs(e,""+r);break;case"className":Gl(e,"class",r);break;case"tabIndex":Gl(e,"tabindex",r);break;case"dir":case"role":case"viewBox":case"width":case"height":Gl(e,a,r);break;case"style":_f(e,r,u);break;case"data":if(t!=="object"){Gl(e,"data",r);break}case"src":case"href":if(r===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(r==null||typeof r=="function"||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(a);break}r=Vl(""+r),e.setAttribute(a,r);break;case"action":case"formAction":if(typeof r=="function"){e.setAttribute(a,"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 u=="function"&&(a==="formAction"?(t!=="input"&&qe(e,t,"name",o.name,o,null),qe(e,t,"formEncType",o.formEncType,o,null),qe(e,t,"formMethod",o.formMethod,o,null),qe(e,t,"formTarget",o.formTarget,o,null)):(qe(e,t,"encType",o.encType,o,null),qe(e,t,"method",o.method,o,null),qe(e,t,"target",o.target,o,null)));if(r==null||typeof r=="symbol"||typeof r=="boolean"){e.removeAttribute(a);break}r=Vl(""+r),e.setAttribute(a,r);break;case"onClick":r!=null&&(e.onclick=Mn);break;case"onScroll":r!=null&&Ae("scroll",e);break;case"onScrollEnd":r!=null&&Ae("scrollend",e);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(i(61));if(a=r.__html,a!=null){if(o.children!=null)throw Error(i(60));e.innerHTML=a}}break;case"multiple":e.multiple=r&&typeof r!="function"&&typeof r!="symbol";break;case"muted":e.muted=r&&typeof r!="function"&&typeof r!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(r==null||typeof r=="function"||typeof r=="boolean"||typeof r=="symbol"){e.removeAttribute("xlink:href");break}a=Vl(""+r),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(a,""+r):e.removeAttribute(a);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":r&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":r===!0?e.setAttribute(a,""):r!==!1&&r!=null&&typeof r!="function"&&typeof r!="symbol"?e.setAttribute(a,r):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":r!=null&&typeof r!="function"&&typeof r!="symbol"&&!isNaN(r)&&1<=r?e.setAttribute(a,r):e.removeAttribute(a);break;case"rowSpan":case"start":r==null||typeof r=="function"||typeof r=="symbol"||isNaN(r)?e.removeAttribute(a):e.setAttribute(a,r);break;case"popover":Ae("beforetoggle",e),Ae("toggle",e),Fl(e,"popover",r);break;case"xlinkActuate":Rn(e,"http://www.w3.org/1999/xlink","xlink:actuate",r);break;case"xlinkArcrole":Rn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",r);break;case"xlinkRole":Rn(e,"http://www.w3.org/1999/xlink","xlink:role",r);break;case"xlinkShow":Rn(e,"http://www.w3.org/1999/xlink","xlink:show",r);break;case"xlinkTitle":Rn(e,"http://www.w3.org/1999/xlink","xlink:title",r);break;case"xlinkType":Rn(e,"http://www.w3.org/1999/xlink","xlink:type",r);break;case"xmlBase":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:base",r);break;case"xmlLang":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",r);break;case"xmlSpace":Rn(e,"http://www.w3.org/XML/1998/namespace","xml:space",r);break;case"is":Fl(e,"is",r);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Qx.get(a)||a,Fl(e,a,r))}}function Mu(e,t,a,r,o,u){switch(a){case"style":_f(e,r,u);break;case"dangerouslySetInnerHTML":if(r!=null){if(typeof r!="object"||!("__html"in r))throw Error(i(61));if(a=r.__html,a!=null){if(o.children!=null)throw Error(i(60));e.innerHTML=a}}break;case"children":typeof r=="string"?Rs(e,r):(typeof r=="number"||typeof r=="bigint")&&Rs(e,""+r);break;case"onScroll":r!=null&&Ae("scroll",e);break;case"onScrollEnd":r!=null&&Ae("scrollend",e);break;case"onClick":r!=null&&(e.onclick=Mn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Sf.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),t=a.slice(2,o?a.length-7:void 0),u=e[Tt]||null,u=u!=null?u[a]:null,typeof u=="function"&&e.removeEventListener(t,u,o),typeof r=="function")){typeof u!="function"&&u!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,r,o);break e}a in e?e[a]=r:r===!0?e.setAttribute(a,""):Fl(e,a,r)}}}function ht(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ae("error",e),Ae("load",e);var r=!1,o=!1,u;for(u in a)if(a.hasOwnProperty(u)){var y=a[u];if(y!=null)switch(u){case"src":r=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:qe(e,t,u,y,a,null)}}o&&qe(e,t,"srcSet",a.srcSet,a,null),r&&qe(e,t,"src",a.src,a,null);return;case"input":Ae("invalid",e);var b=u=y=o=null,N=null,P=null;for(r in a)if(a.hasOwnProperty(r)){var X=a[r];if(X!=null)switch(r){case"name":o=X;break;case"type":y=X;break;case"checked":N=X;break;case"defaultChecked":P=X;break;case"value":u=X;break;case"defaultValue":b=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(i(137,t));break;default:qe(e,t,r,X,a,null)}}Nf(e,u,b,N,P,y,o,!1);return;case"select":Ae("invalid",e),r=y=u=null;for(o in a)if(a.hasOwnProperty(o)&&(b=a[o],b!=null))switch(o){case"value":u=b;break;case"defaultValue":y=b;break;case"multiple":r=b;default:qe(e,t,o,b,a,null)}t=u,a=y,e.multiple=!!r,t!=null?_s(e,!!r,t,!1):a!=null&&_s(e,!!r,a,!0);return;case"textarea":Ae("invalid",e),u=o=r=null;for(y in a)if(a.hasOwnProperty(y)&&(b=a[y],b!=null))switch(y){case"value":r=b;break;case"defaultValue":o=b;break;case"children":u=b;break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(i(91));break;default:qe(e,t,y,b,a,null)}Of(e,r,o,u);return;case"option":for(N in a)if(a.hasOwnProperty(N)&&(r=a[N],r!=null))switch(N){case"selected":e.selected=r&&typeof r!="function"&&typeof r!="symbol";break;default:qe(e,t,N,r,a,null)}return;case"dialog":Ae("beforetoggle",e),Ae("toggle",e),Ae("cancel",e),Ae("close",e);break;case"iframe":case"object":Ae("load",e);break;case"video":case"audio":for(r=0;r<il.length;r++)Ae(il[r],e);break;case"image":Ae("error",e),Ae("load",e);break;case"details":Ae("toggle",e);break;case"embed":case"source":case"link":Ae("error",e),Ae("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(P in a)if(a.hasOwnProperty(P)&&(r=a[P],r!=null))switch(P){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,t));default:qe(e,t,P,r,a,null)}return;default:if(Vo(t)){for(X in a)a.hasOwnProperty(X)&&(r=a[X],r!==void 0&&Mu(e,t,X,r,a,void 0));return}}for(b in a)a.hasOwnProperty(b)&&(r=a[b],r!=null&&qe(e,t,b,r,a,null))}function pb(e,t,a,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,u=null,y=null,b=null,N=null,P=null,X=null;for(B in a){var Z=a[B];if(a.hasOwnProperty(B)&&Z!=null)switch(B){case"checked":break;case"value":break;case"defaultValue":N=Z;default:r.hasOwnProperty(B)||qe(e,t,B,null,r,Z)}}for(var H in r){var B=r[H];
vendor: 5,100 bytes, line 49
49if(Z=a[H],r.hasOwnProperty(H)&&(B!=null||Z!=null))switch(H){case"type":u=B;break;case"name":o=B;break;case"checked":P=B;break;case"defaultChecked":X=B;break;case"value":y=B;break;case"defaultValue":b=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(i(137,t));break;default:B!==Z&&qe(e,t,H,B,r,Z)}}Go(e,y,b,N,P,X,u,o);return;case"select":B=y=b=H=null;for(u in a)if(N=a[u],a.hasOwnProperty(u)&&N!=null)switch(u){case"value":break;case"multiple":B=N;default:r.hasOwnProperty(u)||qe(e,t,u,null,r,N)}for(o in r)if(u=r[o],N=a[o],r.hasOwnProperty(o)&&(u!=null||N!=null))switch(o){case"value":H=u;break;case"defaultValue":b=u;break;case"multiple":y=u;default:u!==N&&qe(e,t,o,u,r,N)}t=b,a=y,r=B,H!=null?_s(e,!!a,H,!1):!!r!=!!a&&(t!=null?_s(e,!!a,t,!0):_s(e,!!a,a?[]:"",!1));return;case"textarea":B=H=null;for(b in a)if(o=a[b],a.hasOwnProperty(b)&&o!=null&&!r.hasOwnProperty(b))switch(b){case"value":break;case"children":break;default:qe(e,t,b,null,r,o)}for(y in r)if(o=r[y],u=a[y],r.hasOwnProperty(y)&&(o!=null||u!=null))switch(y){case"value":H=o;break;case"defaultValue":B=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(i(91));break;default:o!==u&&qe(e,t,y,o,r,u)}Ef(e,H,B);return;case"option":for(var ue in a)if(H=a[ue],a.hasOwnProperty(ue)&&H!=null&&!r.hasOwnProperty(ue))switch(ue){case"selected":e.selected=!1;break;default:qe(e,t,ue,null,r,H)}for(N in r)if(H=r[N],B=a[N],r.hasOwnProperty(N)&&H!==B&&(H!=null||B!=null))switch(N){case"selected":e.selected=H&&typeof H!="function"&&typeof H!="symbol";break;default:qe(e,t,N,H,r,B)}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 ye in a)H=a[ye],a.hasOwnProperty(ye)&&H!=null&&!r.hasOwnProperty(ye)&&qe(e,t,ye,null,r,H);for(P in r)if(H=r[P],B=a[P],r.hasOwnProperty(P)&&H!==B&&(H!=null||B!=null))switch(P){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(i(137,t));break;default:qe(e,t,P,H,r,B)}return;default:if(Vo(t)){for(var Le in a)H=a[Le],a.hasOwnProperty(Le)&&H!==void 0&&!r.hasOwnProperty(Le)&&Mu(e,t,Le,void 0,r,H);for(X in r)H=r[X],B=a[X],!r.hasOwnProperty(X)||H===B||H===void 0&&B===void 0||Mu(e,t,X,H,r,B);return}}for(var R in a)H=a[R],a.hasOwnProperty(R)&&H!=null&&!r.hasOwnProperty(R)&&qe(e,t,R,null,r,H);for(Z in r)H=r[Z],B=a[Z],!r.hasOwnProperty(Z)||H===B||H==null&&B==null||qe(e,t,Z,H,r,B)}function Rp(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function gb(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),r=0;r<a.length;r++){var o=a[r],u=o.transferSize,y=o.initiatorType,b=o.duration;if(u&&b&&Rp(y)){for(y=0,b=o.responseEnd,r+=1;r<a.length;r++){var N=a[r],P=N.startTime;if(P>b)break;var X=N.transferSize,Z=N.initiatorType;X&&Rp(Z)&&(N=N.responseEnd,y+=X*(N<b?1:(b-P)/(N-P)))}if(--r,t+=8*(u+y)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var zu=null,Du=null;function Bi(e){return e.nodeType===9?e:e.ownerDocument}function Mp(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function zp(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Pu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ku=null;function yb(){var e=window.event;return e&&e.type==="popstate"?e===ku?!1:(ku=e,!0):(ku=null,!1)}var Dp=typeof setTimeout=="function"?setTimeout:void 0,xb=typeof clearTimeout=="function"?clearTimeout:void 0,Pp=typeof Promise=="function"?Promise:void 0,vb=typeof queueMicrotask=="function"?queueMicrotask:typeof Pp<"u"?function(e){return Pp.resolve(null).then(e).catch(bb)}:Dp;function bb(e){setTimeout(function(){throw e})}function ja(e){return e==="head"}function kp(e,t){var a=t,r=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===8)if(a=o.data,a==="/$"||a==="/&"){if(r===0){e.removeChild(o),or(t);return}r--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")r++;else if(a==="html")cl(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,cl(a);for(var u=a.firstChild;u;){var y=u.nextSibling,b=u.nodeName;u[Er]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&u.rel.toLowerCase()==="stylesheet"||a.removeChild(u),u=y}}else a==="body"&&cl(e.ownerDocument.body);a=o}while(a);or(t)}function Hp(e,t){var a=e;e=0;do{var r=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),r&&r.n
vendor: 11,237 bytes, line 49
49odeType===8)if(a=r.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=r}while(a)}function Hu(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Hu(a),Qo(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Sb(e,t,a,r){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(r){if(!e[Er])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=an(e.nextSibling),e===null)break}return null}function wb(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=an(e.nextSibling),e===null))return null;return e}function Up(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=an(e.nextSibling),e===null))return null;return e}function Uu(e){return e.data==="$?"||e.data==="$~"}function qu(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Cb(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var r=function(){t(),a.removeEventListener("DOMContentLoaded",r)};a.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}function an(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Lu=null;function qp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return an(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function Lp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function Bp(e,t,a){switch(t=Bi(a),e){case"html":if(e=t.documentElement,!e)throw Error(i(452));return e;case"head":if(e=t.head,!e)throw Error(i(453));return e;case"body":if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function cl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Qo(e)}var sn=new Map,Qp=new Set;function Qi(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Kn=L.d;L.d={f:jb,r:Ab,D:Nb,C:Eb,L:Ob,m:Tb,X:Rb,S:_b,M:Mb};function jb(){var e=Kn.f(),t=zi();return e||t}function Ab(e){var t=Es(e);t!==null&&t.tag===5&&t.type==="form"?rh(t):Kn.r(e)}var rr=typeof document>"u"?null:document;function Fp(e,t,a){var r=rr;if(r&&typeof t=="string"&&t){var o=Jt(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),Qp.has(o)||(Qp.add(o),e={rel:e,crossOrigin:a,href:t},r.querySelector(o)===null&&(t=r.createElement("link"),ht(t,"link",e),lt(t),r.head.appendChild(t)))}}function Nb(e){Kn.D(e),Fp("dns-prefetch",e,null)}function Eb(e,t){Kn.C(e,t),Fp("preconnect",e,t)}function Ob(e,t,a){Kn.L(e,t,a);var r=rr;if(r&&e&&t){var o='link[rel="preload"][as="'+Jt(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+Jt(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+Jt(a.imageSizes)+'"]')):o+='[href="'+Jt(e)+'"]';var u=o;switch(t){case"style":u=lr(e);break;case"script":u=ir(e)}sn.has(u)||(e=x({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),sn.set(u,e),r.querySelector(o)!==null||t==="style"&&r.querySelector(ul(u))||t==="script"&&r.querySelector(dl(u))||(t=r.createElement("link"),ht(t,"link",e),lt(t),r.head.appendChild(t)))}}function Tb(e,t){Kn.m(e,t);var a=rr;if(a&&e){var r=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Jt(r)+'"][href="'+Jt(e)+'"]',u=o;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=ir(e)}if(!sn.has(u)&&(e=x({rel:"modulepreload",href:e},t),sn.set(u,e),a.querySelector(o)===null)){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(dl(u)))return}r=a.createElement("link"),ht(r,"link",e),lt(r),a.head.appendChild(r)}}}function _b(e,t,a){Kn.S(e,t,a);var r=rr;if(r&&e){var o=Os(r).hoistableStyles,u=lr(e);t=t||"default";var y=o.get(u);if(!y){var b={loading:0,preload:null};if(y=r.querySelector(ul(u)))b.loading=5;else{e=x({rel:"stylesheet",href:e,"data-precedence":t},a),(a=sn.get(u))&&Bu(e,a);var N=y=r.createElement("link");lt(N),ht(N,"link",e),N._p=new Promise(function(P,X){N.onload=P,N.onerror=X}),N.addEventListener("load",function(){b.loading|=1}),N.addEventListener("error",function(){b.loading|=2}),b.loading|=4,Fi(y,t,r)}y={type:"stylesheet",instance:y,count:1,state:b},o.set(u,y)}}}function Rb(e,t){Kn.X(e,t);var a=rr;if(a&&e){var r=Os(a).hoistableScripts,o=ir(e),u=r.get(o);u||(u=a.querySelector(dl(o)),u||(e=x({src:e,async:!0},t),(t=sn.get(o))&&Qu(e,t),u=a.createElement("script"),lt(u),ht(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},r.set(o,u))}}function Mb(e,t){Kn.M(e,t);var a=rr;if(a&&e){var r=Os(a).hoistableScripts,o=ir(e),u=r.get(o);u||(u=a.querySelector(dl(o)),u||(e=x({src:e,async:!0,type:"module"},t),(t=sn.get(o))&&Qu(e,t),u=a.createElement("script"),lt(u),ht(u,"link",e),a.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},r.set(o,u))}}function Gp(e,t,a,r){var o=(o=he.current)?Qi(o):null;if(!o)throw Error(i(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=lr(a.href),a=Os(o).hoistableStyles,r=a.get(t),r||(r={type:"style",instance:null,count:0,state:null},a.set(t,r)),r):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=lr(a.href);var u=Os(o).hoistableStyles,y=u.get(e);if(y||(o=o.ownerDocument||o,y={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,y),(u=o.querySelector(ul(e)))&&!u._p&&(y.instance=u,y.state.loading=5),sn.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},sn.set(e,a),u||zb(o,e,a,y.state))),t&&r===null)throw Error(i(528,""));return y}if(t&&r!==null)throw Error(i(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ir(a),a=Os(o).hoistableScripts,r=a.get(t),r||(r={type:"script",instance:null,count:0,state:null},a.set(t,r)),r):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,e))}}function lr(e){return'href="'+Jt(e)+'"'}function ul(e){return'link[rel="stylesheet"]['+e+"]"}function Yp(e){return x({},e,{"data-precedence":e.precedence,precedence:null})}function zb(e,t,a,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),ht(t,"link",a),lt(t),e.head.appendChild(t))}function ir(e){return'[src="'+Jt(e)+'"]'}function dl(e){return"script[async]"+e}function Vp(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var r=e.querySelector('style[data-href~="'+Jt(a.href)+'"]');if(r)return t.instance=r,lt(r),r;var o=x({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement("style"),lt(r),ht(r,"style",o),Fi(r,a.precedence,e),t.instance=r;case"stylesheet":o=lr(a.href);var u=e.querySelector(ul(o));if(u)return t.state.loading|=4,t.instance=u,lt(u),u;r=Yp(a),(o=sn.get(o))&&Bu(r,o),u=(e.ownerDocument||e).createElement("link"),lt(u);var y=u;return y._p=new Promise(function(b,N){y.onload=b,y.onerror=N}),ht(u,"link",r),t.state.loading|=4,Fi(u,a.precedence,e),t.instance=u;case"script":return u=ir(a.src),(o=e.querySelector(dl(u)))?(t.instance=o,lt(o),o):(r=a,(o=sn.get(u))&&(r=x({},a),Qu(r,o)),e=e.ownerDocument||e,o=e.createElement("script"),lt(o),ht(o,"link",r),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(i(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(r=t.instance,t.state.loading|=4,Fi(r,a.precedence,e));return t.instance}function Fi(e,t,a){for(var r=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=r.length?r[r.length-1]:null,u=o,y=0;y<r.length;y++){var b=r[y];if(b.dataset.precedence===t)u=b;else if(u!==o)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function Bu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Qu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Gi=null;function Xp(e,t,a){if(Gi===null){var r=new Map,o=Gi=new Map;o.set(a,r)}else o=Gi,r=o.get(a),r||(r=new Map,o.set(a,r));if(r.has(e))return r;for(r.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var u=a[o];if(!(u[Er]||u[ut]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var y=u.getAttribute(t)||"";y=e+y;var b=r.get(y);b?b.push(u):r.set(y,[u])}}return r}function Kp(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Db(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Zp(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Pb(e,t,a,r){if(a.type==="stylesheet"&&(typeof r.media!="str
49ing"||matchMedia(r.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var o=lr(r.href),u=t.querySelector(ul(o));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Yi.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=u,lt(u);return}u=t.ownerDocument||t,r=Yp(r),(o=sn.get(o))&&Bu(r,o),u=u.createElement("link"),lt(u);var y=u;y._p=new Promise(function(b,N){y.onload=b,y.onerror=N}),ht(u,"link",r),a.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Yi.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var Fu=0;function kb(e,t){return e.stylesheets&&e.count===0&&Xi(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var r=setTimeout(function(){if(e.stylesheets&&Xi(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&Fu===0&&(Fu=62500*gb());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Xi(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>Fu?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(o)}}:null}function Yi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Xi(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Vi=null;function Xi(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Vi=new Map,t.forEach(Hb,e),Vi=null,Yi.call(e))}function Hb(e,t){if(!(t.state.loading&4)){var a=Vi.get(e);if(a)var r=a.get(null);else{a=new Map,Vi.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<o.length;u++){var y=o[u];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(a.set(y.dataset.precedence,y),r=y)}r&&a.set(null,r)}o=t.instance,y=o.getAttribute("data-precedence"),u=a.get(y)||r,u===r&&a.set(null,o),a.set(y,o),this.count++,r=Yi.bind(this),o.addEventListener("load",r),o.addEventListener("error",r),u?u.parentNode.insertBefore(o,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var fl={$$typeof:$,Provider:null,Consumer:null,_currentValue:M,_currentValue2:M,_threadCount:0};function Ub(e,t,a,r,o,u,y,b,N){this.tag=1,this.containerInfo=e,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=r,this.onUncaughtError=o,this.onCaughtError=u,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=N,this.incompleteTransitions=new Map}function Jp(e,t,a,r,o,u,y,b,N,P,X,Z){return e=new Ub(e,t,a,y,N,P,X,Z,b),t=1,u===!0&&(t|=24),u=qt(3,null,null,t),e.current=u,u.stateNode=e,t=wc(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:r,isDehydrated:a,cache:t},Nc(u),e}function $p(e){return e?(e=Us,e):Us}function Ip(e,t,a,r,o,u){o=$p(o),r.context===null?r.context=o:r.pendingContext=o,r=ma(t),r.payload={element:a},u=u===void 0?null:u,u!==null&&(r.callback=u),a=ha(e,r,t),a!==null&&(Pt(a,e,t),Gr(a,e,t))}function Wp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Gu(e,t){Wp(e,t),(e=e.alternate)&&Wp(e,t)}function eg(e){if(e.tag===13||e.tag===31){var t=Ja(e,67108864);t!==null&&Pt(t,e,67108864),Gu(e,67108864)}}function tg(e){if(e.tag===13||e.tag===31){var t=Gt();t=js(t);var a=Ja(e,t);a!==null&&Pt(a,e,t),Gu(e,t)}}var Ki=!0;function qb(e,t,a,r){var o=O.T;O.T=null;var u=L.p;try{L.p=2,Yu(e,t,a,r)}finally{L.p=u,O.T=o}}function Lb(e,t,a,r){var o=O.T;O.T=null;var u=L.p;try{L.p=8,Yu(e,t,a,r)}finally{L.p=u,O.T=o}}function Yu(e,t,a,r){if(Ki){var o=Vu(r);if(o===null)Ru(e,t,r,Zi,a),ag(e,r);else if(Qb(o,e,t,a,r))r.stopPropagation();else if(ag(e,r),t&4&&-1<Bb.indexOf(e)){for(;o!==null;){var u=Es(o);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var y=gn(u.pendingLanes);if(y!==0){var b=u;for(b.pendingLanes|=2,b.entangledLanes|=2;y;){var N=1<<31-pt(y);b.entanglements[1]|=N,y&=~N}
vendor: 9,159 bytes, line 49
49bn(u),(Pe&6)===0&&(Ri=St()+500,ll(0))}}break;case 31:case 13:b=Ja(u,2),b!==null&&Pt(b,u,2),zi(),Gu(u,2)}if(u=Vu(r),u===null&&Ru(e,t,r,Zi,a),u===o)break;o=u}o!==null&&r.stopPropagation()}else Ru(e,t,r,null,a)}}function Vu(e){return e=Ko(e),Xu(e)}var Zi=null;function Xu(e){if(Zi=null,e=Ns(e),e!==null){var t=d(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=m(t),e!==null)return e;e=null}else if(a===31){if(e=p(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Zi=e,null}function ng(e){switch(e){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(Uo()){case Ba:return 2;case Bl:return 8;case Qa:case Ar:return 32;case _n:return 268435456;default:return 32}default:return 32}}var Ku=!1,Aa=null,Na=null,Ea=null,ml=new Map,hl=new Map,Oa=[],Bb="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 ag(e,t){switch(e){case"focusin":case"focusout":Aa=null;break;case"dragenter":case"dragleave":Na=null;break;case"mouseover":case"mouseout":Ea=null;break;case"pointerover":case"pointerout":ml.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":hl.delete(t.pointerId)}}function pl(e,t,a,r,o,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:a,eventSystemFlags:r,nativeEvent:u,targetContainers:[o]},t!==null&&(t=Es(t),t!==null&&eg(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Qb(e,t,a,r,o){switch(t){case"focusin":return Aa=pl(Aa,e,t,a,r,o),!0;case"dragenter":return Na=pl(Na,e,t,a,r,o),!0;case"mouseover":return Ea=pl(Ea,e,t,a,r,o),!0;case"pointerover":var u=o.pointerId;return ml.set(u,pl(ml.get(u)||null,e,t,a,r,o)),!0;case"gotpointercapture":return u=o.pointerId,hl.set(u,pl(hl.get(u)||null,e,t,a,r,o)),!0}return!1}function sg(e){var t=Ns(e.target);if(t!==null){var a=d(t);if(a!==null){if(t=a.tag,t===13){if(t=m(a),t!==null){e.blockedOn=t,xf(e.priority,function(){tg(a)});return}}else if(t===31){if(t=p(a),t!==null){e.blockedOn=t,xf(e.priority,function(){tg(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ji(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Vu(e.nativeEvent);if(a===null){a=e.nativeEvent;var r=new a.constructor(a.type,a);Xo=r,a.target.dispatchEvent(r),Xo=null}else return t=Es(a),t!==null&&eg(t),e.blockedOn=a,!1;t.shift()}return!0}function rg(e,t,a){Ji(e)&&a.delete(t)}function Fb(){Ku=!1,Aa!==null&&Ji(Aa)&&(Aa=null),Na!==null&&Ji(Na)&&(Na=null),Ea!==null&&Ji(Ea)&&(Ea=null),ml.forEach(rg),hl.forEach(rg)}function $i(e,t){e.blockedOn===t&&(e.blockedOn=null,Ku||(Ku=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,Fb)))}var Ii=null;function lg(e){Ii!==e&&(Ii=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Ii===e&&(Ii=null);for(var t=0;t<e.length;t+=3){var a=e[t],r=e[t+1],o=e[t+2];if(typeof r!="function"){if(Xu(r||a)===null)continue;break}var u=Es(a);u!==null&&(e.splice(t,3),t-=3,Vc(u,{pending:!0,data:o,method:a.method,action:r},r,o))}}))}function or(e){function t(N){return $i(N,e)}Aa!==null&&$i(Aa,e),Na!==null&&$i(Na,e),Ea!==null&&$i(Ea,e),ml.forEach(t),hl.forEach(t);for(var a=0;a<Oa.length;a++){var r=Oa[a];r.blockedOn===e&&(r.blockedOn=null)}for(;0<Oa.length&&(a=Oa[0],a.blockedOn===null);)sg(a),a.blockedOn===null&&Oa.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(r=0;r<a.length;r+=3){var o=a[r],u=a[r+1],y=o[Tt]||null;if(typeof u=="function")y||lg(a);else if(y){var b=null;if(u&&u.hasAttribute("formAction")){if(o=u,y=u[Tt]||null)b=y.formAction;else if(Xu(o)!==null)continue}else b=y.action;typeof b=="function"?a[r+1]=b:(a.splice(r,3),r-=3),lg(a)}}}function ig(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(y){return o=y})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),r||setTimeout(a,20)}function a(){if(!r&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var r=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){r=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function Zu(e){this._internalRoot=e}Wi.prototype.render=Zu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var a=t.current,r=Gt();Ip(a,r,e,t,null,null)},Wi.prototype.unmount=Zu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Ip(e.current,2,null,e,null,null),zi(),t[As]=null}};function Wi(e){this._internalRoot=e}Wi.prototype.unstable_scheduleHydration=function(e){if(e){var t=Lo();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Oa.length&&t!==0&&t<Oa[a].priority;a++);Oa.splice(a,0,e),a===0&&sg(e)}};var og=s.version;if(og!=="19.2.1")throw Error(i(527,og,"19.2.1"));L.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=g(t),e=e!==null?v(e):null,e=e===null?null:e.stateNode,e};var Gb={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var eo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!eo.isDisabled&&eo.supportsFiber)try{Fa=eo.inject(Gb),wt=eo}catch{}}return xl.createRoot=function(e,t){if(!c(e))throw Error(i(299));var a=!1,r="",o=ph,u=gh,y=yh;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError)),t=Jp(e,1,!1,null,null,a,r,null,o,u,y,ig),e[As]=t.current,_u(e),new Zu(t)},xl.hydrateRoot=function(e,t,a){if(!c(e))throw Error(i(299));var r=!1,o="",u=ph,y=gh,b=yh,N=null;return a!=null&&(a.unstable_strictMode===!0&&(r=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(u=a.onUncaughtError),a.onCaughtError!==void 0&&(y=a.onCaughtError),a.onRecoverableError!==void 0&&(b=a.onRecoverableError),a.formState!==void 0&&(N=a.formState)),t=Jp(e,1,!0,t,a??null,r,o,N,u,y,b,ig),t.context=$p(null),a=t.current,r=Gt(),r=js(r),o=ma(r),o.callback=null,ha(a,o,r),a=r,t.current.lanes=a,Ve(t,a),bn(t),e[As]=t.current,_u(e),new Wi(t)},xl.version="19.2.1",xl}var Pg;function mS(){if(Pg)return nd.exports;Pg=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(s){console.error(s)}}return n(),nd.exports=fS(),nd.exports}var hS=mS(),pS=(function(){function n(){this.keyToValue=new Map,this.valueToKey=new Map}return n.prototype.set=function(s,l){this.keyToValue.set(s,l),this.valueToKey.set(l,s)},n.prototype.getByKey=function(s){return this.keyToValue.get(s)},n.prototype.getByValue=function(s){return this.valueToKey.get(s)},n.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},n})(),d0=(function(){function n(s){this.generateIdentifier=s,this.kv=new pS}return n.prototype.register=function(s,l){this.kv.getByValue(s)||(l||(l=this.generateIdentifier(s)),this.kv.set(l,s))},n.prototype.clear=function(){this.kv.clear()},n.prototype.getIdentifier=function(s){return this.kv.getByValue(s)},n.prototype.getValue=function(s){return this.kv.getByKey(s)},n}
49)(),gS=(function(){var n=function(s,l){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,c){i.__proto__=c}||function(i,c){for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&(i[d]=c[d])},n(s,l)};return function(s,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");n(s,l);function i(){this.constructor=s}s.prototype=l===null?Object.create(l):(i.prototype=l.prototype,new i)}})(),yS=(function(n){gS(s,n);function s(){var l=n.call(this,function(i){return i.name})||this;return l.classToAllowedProps=new Map,l}return s.prototype.register=function(l,i){typeof i=="object"?(i.allowProps&&this.classToAllowedProps.set(l,i.allowProps),n.prototype.register.call(this,l,i.identifier)):n.prototype.register.call(this,l,i)},s.prototype.getAllowedProps=function(l){return this.classToAllowedProps.get(l)},s})(d0),xS=function(n,s){var l=typeof Symbol=="function"&&n[Symbol.iterator];if(!l)return n;var i=l.call(n),c,d=[],m;try{for(;(s===void 0||s-- >0)&&!(c=i.next()).done;)d.push(c.value)}catch(p){m={error:p}}finally{try{c&&!c.done&&(l=i.return)&&l.call(i)}finally{if(m)throw m.error}}return d};function vS(n){if("values"in Object)return Object.values(n);var s=[];for(var l in n)n.hasOwnProperty(l)&&s.push(n[l]);return s}function bS(n,s){var l=vS(n);if("find"in l)return l.find(s);for(var i=l,c=0;c<i.length;c++){var d=i[c];if(s(d))return d}}function hr(n,s){Object.entries(n).forEach(function(l){var i=xS(l,2),c=i[0],d=i[1];return s(d,c)})}function mo(n,s){return n.indexOf(s)!==-1}function kg(n,s){for(var l=0;l<n.length;l++){var i=n[l];if(s(i))return i}}var SS=(function(){function n(){this.transfomers={}}return n.prototype.register=function(s){this.transfomers[s.name]=s},n.prototype.findApplicable=function(s){return bS(this.transfomers,function(l){return l.isApplicable(s)})},n.prototype.findByName=function(s){return this.transfomers[s]},n})(),wS=function(n){return Object.prototype.toString.call(n).slice(8,-1)},f0=function(n){return typeof n>"u"},CS=function(n){return n===null},El=function(n){return typeof n!="object"||n===null||n===Object.prototype?!1:Object.getPrototypeOf(n)===null?!0:Object.getPrototypeOf(n)===Object.prototype},Ad=function(n){return El(n)&&Object.keys(n).length===0},Pa=function(n){return Array.isArray(n)},jS=function(n){return typeof n=="string"},AS=function(n){return typeof n=="number"&&!isNaN(n)},NS=function(n){return typeof n=="boolean"},ES=function(n){return n instanceof RegExp},Ol=function(n){return n instanceof Map},Tl=function(n){return n instanceof Set},m0=function(n){return wS(n)==="Symbol"},OS=function(n){return n instanceof Date&&!isNaN(n.valueOf())},TS=function(n){return n instanceof Error},Hg=function(n){return typeof n=="number"&&isNaN(n)},_S=function(n){return NS(n)||CS(n)||f0(n)||AS(n)||jS(n)||m0(n)},RS=function(n){return typeof n=="bigint"},MS=function(n){return n===1/0||n===-1/0},zS=function(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)},DS=function(n){return n instanceof URL},h0=function(n){return n.replace(/\./g,"\\.")},ld=function(n){return n.map(String).map(h0).join(".")},wl=function(n){for(var s=[],l="",i=0;i<n.length;i++){var c=n.charAt(i),d=c==="\\"&&n.charAt(i+1)===".";if(d){l+=".",i++;continue}var m=c===".";if(m){s.push(l),l="";continue}l+=c}var p=l;return s.push(p),s},Nd=function(){return Nd=Object.assign||function(n){for(var s,l=1,i=arguments.length;l<i;l++){s=arguments[l];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(n[c]=s[c])}return n},Nd.apply(this,arguments)},Ed=function(n,s){var l=typeof Symbol=="function"&&n[Symbol.iterator];if(!l)return n;var i=l.call(n),c,d=[],m;try{for(;(s===void 0||s-- >0)&&!(c=i.next()).done;)d.push(c.value)}catch(p){m={error:p}}finally{try{c&&!c.done&&(l=i.return)&&l.call(i)}finally{if(m)throw m.error}}return d},Od=function(n,s){for(var l=0,i=s.length,c=n.length;l<i;l++,c++)n[c]=s[l];return n};function Sn(n,s,l,i){return{isApplicable:n,annotation:s,transform:l,untransform:i}}var p0=[Sn(f0,"undefined",function(){return null},function(){}),Sn(RS,"bigint",function(n){return n.toString()},function(n){return typeof BigInt<"u"?BigInt(n):(console.error("Please add a BigInt polyfill."),n)}),Sn(OS,"Date",function(n){return n.toISOString()},function(n){return new Date(n)}),Sn(TS,"Error",function(n,s){var l={name:n.name,message:n.message};return s.allowedErrorProps.forEach(function(i){l[i]=n[i]}),l},function(n,s){var l=new Error(n.message);return l.name=n.name,l.stack=n.stack,s.allowedErrorProps.forEach(function(i){l[i]=n[i]}),l}),Sn(ES,"regexp",function(n){return""+n},function(n){var s=n.slice(1,n.lastIndexOf("/")),l=n.slice(n.lastIndexOf("/")+1);return new RegExp(s,l)}
49),Sn(Tl,"set",function(n){return Od([],Ed(n.values()))},function(n){return new Set(n)}),Sn(Ol,"map",function(n){return Od([],Ed(n.entries()))},function(n){return new Map(n)}),Sn(function(n){return Hg(n)||MS(n)},"number",function(n){return Hg(n)?"NaN":n>0?"Infinity":"-Infinity"},Number),Sn(function(n){return n===0&&1/n===-1/0},"number",function(){return"-0"},Number),Sn(DS,"URL",function(n){return n.toString()},function(n){return new URL(n)})];function Oo(n,s,l,i){return{isApplicable:n,annotation:s,transform:l,untransform:i}}var g0=Oo(function(n,s){if(m0(n)){var l=!!s.symbolRegistry.getIdentifier(n);return l}return!1},function(n,s){var l=s.symbolRegistry.getIdentifier(n);return["symbol",l]},function(n){return n.description},function(n,s,l){var i=l.symbolRegistry.getValue(s[1]);if(!i)throw new Error("Trying to deserialize unknown symbol");return i}),PS=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(n,s){return n[s.name]=s,n},{}),y0=Oo(zS,function(n){return["typed-array",n.constructor.name]},function(n){return Od([],Ed(n))},function(n,s){var l=PS[s[1]];if(!l)throw new Error("Trying to deserialize unknown typed array");return new l(n)});function x0(n,s){if(n?.constructor){var l=!!s.classRegistry.getIdentifier(n.constructor);return l}return!1}var v0=Oo(x0,function(n,s){var l=s.classRegistry.getIdentifier(n.constructor);return["class",l]},function(n,s){var l=s.classRegistry.getAllowedProps(n.constructor);if(!l)return Nd({},n);var i={};return l.forEach(function(c){i[c]=n[c]}),i},function(n,s,l){var i=l.classRegistry.getValue(s[1]);if(!i)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(i.prototype),n)}),b0=Oo(function(n,s){return!!s.customTransformerRegistry.findApplicable(n)},function(n,s){var l=s.customTransformerRegistry.findApplicable(n);return["custom",l.name]},function(n,s){var l=s.customTransformerRegistry.findApplicable(n);return l.serialize(n)},function(n,s,l){var i=l.customTransformerRegistry.findByName(s[1]);if(!i)throw new Error("Trying to deserialize unknown custom value");return i.deserialize(n)}),kS=[v0,g0,b0,y0],Ug=function(n,s){var l=kg(kS,function(c){return c.isApplicable(n,s)});if(l)return{value:l.transform(n,s),type:l.annotation(n,s)};var i=kg(p0,function(c){return c.isApplicable(n,s)});if(i)return{value:i.transform(n,s),type:i.annotation}},S0={};p0.forEach(function(n){S0[n.annotation]=n});var HS=function(n,s,l){if(Pa(s))switch(s[0]){case"symbol":return g0.untransform(n,s,l);case"class":return v0.untransform(n,s,l);case"custom":return b0.untransform(n,s,l);case"typed-array":return y0.untransform(n,s,l);default:throw new Error("Unknown transformation: "+s)}else{var i=S0[s];if(!i)throw new Error("Unknown transformation: "+s);return i.untransform(n,l)}},dr=function(n,s){for(var l=n.keys();s>0;)l.next(),s--;return l.next().value};function w0(n){if(mo(n,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(mo(n,"prototype"))throw new Error("prototype is not allowed as a property");if(mo(n,"constructor"))throw new Error("constructor is not allowed as a property")}var US=function(n,s){w0(s);for(var l=0;l<s.length;l++){var i=s[l];if(Tl(n))n=dr(n,+i);else if(Ol(n)){var c=+i,d=+s[++l]==0?"key":"value",m=dr(n,c);switch(d){case"key":n=m;break;case"value":n=n.get(m);break}}else n=n[i]}return n},Td=function(n,s,l){if(w0(s),s.length===0)return l(n);for(var i=n,c=0;c<s.length-1;c++){var d=s[c];if(Pa(i)){var m=+d;i=i[m]}else if(El(i))i=i[d];else if(Tl(i)){var p=+d;i=dr(i,p)}else if(Ol(i)){var h=c===s.length-2;if(h)break;var p=+d,g=+s[++c]==0?"key":"value",v=dr(i,p);switch(g){case"key":i=v;break;case"value":i=i.get(v);break}}}var x=s[s.length-1];if(Pa(i)?i[+x]=l(i[+x]):El(i)&&(i[x]=l(i[x])),Tl(i)){var w=dr(i,+x),S=l(w);w!==S&&(i.delete(w),i.add(S))}if(Ol(i)){var p=+s[s.length-2],C=dr(i,p),g=+x==0?"key":"value";switch(g){case"key":{var j=l(C);i.set(j,i.get(C)),j!==C&&i.delete(C);break}case"value":{i.set(C,l(i.get(C)));break}}}return n},Wn=function(n,s){var l=typeof Symbol=="function"&&n[Symbol.iterator];if(!l)return n;var i=l.call(n),c,d=[],m;
49try{for(;(s===void 0||s-- >0)&&!(c=i.next()).done;)d.push(c.value)}catch(p){m={error:p}}finally{try{c&&!c.done&&(l=i.return)&&l.call(i)}finally{if(m)throw m.error}}return d},Ma=function(n,s){for(var l=0,i=s.length,c=n.length;l<i;l++,c++)n[c]=s[l];return n};function _d(n,s,l){if(l===void 0&&(l=[]),!!n){if(!Pa(n)){hr(n,function(m,p){return _d(m,s,Ma(Ma([],Wn(l)),Wn(wl(p))))});return}var i=Wn(n,2),c=i[0],d=i[1];d&&hr(d,function(m,p){_d(m,s,Ma(Ma([],Wn(l)),Wn(wl(p))))}),s(c,l)}}function qS(n,s,l){return _d(s,function(i,c){n=Td(n,c,function(d){return HS(d,i,l)})}),n}function LS(n,s){function l(m,p){var h=US(n,wl(p));m.map(wl).forEach(function(g){n=Td(n,g,function(){return h})})}if(Pa(s)){var i=Wn(s,2),c=i[0],d=i[1];c.forEach(function(m){n=Td(n,wl(m),function(){return n})}),d&&hr(d,l)}else hr(s,l);return n}var BS=function(n,s){return El(n)||Pa(n)||Ol(n)||Tl(n)||x0(n,s)};function QS(n,s,l){var i=l.get(n);i?i.push(s):l.set(n,[s])}function FS(n,s){var l={},i=void 0;return n.forEach(function(c){if(!(c.length<=1)){s||(c=c.map(function(h){return h.map(String)}).sort(function(h,g){return h.length-g.length}));var d=Wn(c),m=d[0],p=d.slice(1);m.length===0?i=p.map(ld):l[ld(m)]=p.map(ld)}}),i?Ad(l)?[i]:[i,l]:Ad(l)?void 0:l}var C0=function(n,s,l,i,c,d,m){var p;c===void 0&&(c=[]),d===void 0&&(d=[]),m===void 0&&(m=new Map);var h=_S(n);if(!h){QS(n,c,s);var g=m.get(n);if(g)return i?{transformedValue:null}:g}if(!BS(n,l)){var v=Ug(n,l),x=v?{transformedValue:v.value,annotations:[v.type]}:{transformedValue:n};return h||m.set(n,x),x}if(mo(d,n))return{transformedValue:null};var w=Ug(n,l),S=(p=w?.value)!==null&&p!==void 0?p:n,C=Pa(S)?[]:{},j={};hr(S,function(U,I){var $=C0(U,s,l,i,Ma(Ma([],Wn(c)),[I]),Ma(Ma([],Wn(d)),[n]),m);C[I]=$.transformedValue,Pa($.annotations)?j[I]=$.annotations:El($.annotations)&&hr($.annotations,function(J,G){j[h0(I)+"."+G]=J})});var z=Ad(j)?{transformedValue:C,annotations:w?[w.type]:void 0}:{transformedValue:C,annotations:w?[w.type,j]:j};return h||m.set(n,z),z};function j0(n){return Object.prototype.toString.call(n).slice(8,-1)}function qg(n){return j0(n)==="Array"}function GS(n){if(j0(n)!=="Object")return!1;const s=Object.getPrototypeOf(n);return!!s&&s.constructor===Object&&s===Object.prototype}function YS(n,s,l,i,c){const d={}.propertyIsEnumerable.call(i,s)?"enumerable":"nonenumerable";d==="enumerable"&&(n[s]=l),c&&d==="nonenumerable"&&Object.defineProperty(n,s,{value:l,enumerable:!1,writable:!0,configurable:!0})}function Rd(n,s={}){if(qg(n))return n.map(c=>Rd(c,s));if(!GS(n))return n;const l=Object.getOwnPropertyNames(n),i=Object.getOwnPropertySymbols(n);return[...l,...i].reduce((c,d)=>{if(qg(s.props)&&!s.props.includes(d))return c;const m=n[d],p=Rd(m,s);return YS(c,d,p,n,s.nonenumerable),c},{})}var us=function(){return us=Object.assign||function(n){for(var s,l=1,i=arguments.length;l<i;l++){s=arguments[l];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(n[c]=s[c])}return n},us.apply(this,arguments)},VS=function(n,s){var l=typeof Symbol=="function"&&n[Symbol.iterator];if(!l)return n;var i=l.call(n),c,d=[],m;try{for(;(s===void 0||s-- >0)&&!(c=i.next()).done;)d.push(c.value)}catch(p){m={error:p}}finally{try{c&&!c.done&&(l=i.return)&&l.call(i)}finally{if(m)throw m.error}}return d},XS=function(n,s){for(var l=0,i=s.length,c=n.length;l<i;l++,c++)n[c]=s[l];return n},na=(function(){function n(s){var l=s===void 0?{}:s,i=l.dedupe,c=i===void 0?!1:i;this.classRegistry=new yS,this.symbolRegistry=new d0(function(d){var m;return(m=d.description)!==null&&m!==void 0?m:""}),this.customTransformerRegistry=new SS,this.allowedErrorProps=[],this.dedupe=c}return n.prototype.serialize=function(s){var l=new Map,i=C0(s,l,this,this.dedupe),c={json:i.transformedValue};i.annotations&&(c.meta=us(us({},c.meta),{values:i.annotations}));var d=FS(l,this.dedupe);return d&&(c.meta=us(us({},c.meta),{referentialEqualities:d})),c},n.prototype.deserialize=function(s){var l=s.json,i=s.meta,c=Rd(l);return i?.values&&(c=qS(c,i.values,this)),i?.referentialEqualities&&(c=LS(c,i.referentialEqualities)),c},n.prototype.stringify=function(s){return JSON.stringify(this.serialize(s))},n.prototype.parse=function(s){return this.deserialize(JSON.parse(s))},n.prototype.registerClass=function(s,l){this.classRegistry.register(s,l)},n.prototype.registerSymbol=function(s,l){this.symbolRegistry.register(s,l)},n.prototype.registerCustom=function(s,l){this.customTransformerRegistry.register(us({name:l},s))},n.prototype.allowErrorProps=function(){for(var s,l=[],i=0;i<arguments.length;i++)l[i]=arguments[i];(s=this.allowedErrorProps).push.apply(s,XS([],VS(l)))},n.defaultInstance=new n,n.serialize=n.defaultInstance.serialize.bind(n.defaultInstance),n.deserialize=n.defaultInstance.deserialize.bind(n.defaultInstance),n.stringify=n.defaultInstance.stringify.bind(n.defaultInstance),n.parse=n.defaultInstance.parse.bind(n.defaultInstance),n.registerClass=n.defaultInstance.registerClass.bind(n.defaultInstance),n.registerSymbol=n.defaultInstance.registerSymbol.bind(n.defaultInstance),n.registerCustom=n.defaultInstance.registerCustom.bind(n.defaultInstance),n.allowErrorProps=n.defaultInstance.allowErrorProps.bind(n.defaultInstance),n})();na.serialize;na.deserialize;na.stringify;na.parse;na.registerClass;na.registerCustom;na.registerSymbol;na.allowErrorProps;var KS=(n,s,l,i,c,d,m,p)=>{let h=document.documentElement,g=["light","dark"];
vendor: 7,461 bytes, line 49
49function v(S){(Array.isArray(n)?n:[n]).forEach(C=>{let j=C==="class",z=j&&d?c.map(U=>d[U]||U):c;j?(h.classList.remove(...z),h.classList.add(d&&d[S]?d[S]:S)):h.setAttribute(C,S)}),x(S)}function x(S){p&&g.includes(S)&&(h.style.colorScheme=S)}function w(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(i)v(i);else try{let S=localStorage.getItem(s)||l,C=m&&S==="system"?w():S;v(C)}catch{}},ZS=E.createContext(void 0),JS={setTheme:n=>{},themes:[]},$S=()=>{var n;return(n=E.useContext(ZS))!=null?n:JS};E.memo(({forcedTheme:n,storageKey:s,attribute:l,enableSystem:i,enableColorScheme:c,defaultTheme:d,value:m,themes:p,nonce:h,scriptProps:g})=>{let v=JSON.stringify([l,s,d,n,p,m,i,c]).slice(1,-1);return E.createElement("script",{...g,suppressHydrationWarning:!0,nonce:typeof window>"u"?h:"",dangerouslySetInnerHTML:{__html:`(${KS.toString()})(${v})`}})});var ef=u0();const IS=jy(ef);function WS(n){if(typeof document>"u")return;let s=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css",s.appendChild(l),l.styleSheet?l.styleSheet.cssText=n:l.appendChild(document.createTextNode(n))}const ew=n=>{switch(n){case"success":return aw;case"info":return rw;case"warning":return sw;case"error":return lw;default:return null}},tw=Array(12).fill(0),nw=({visible:n,className:s})=>ae.createElement("div",{className:["sonner-loading-wrapper",s].filter(Boolean).join(" "),"data-visible":n},ae.createElement("div",{className:"sonner-spinner"},tw.map((l,i)=>ae.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${i}`})))),aw=ae.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ae.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"})),sw=ae.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ae.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"})),rw=ae.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ae.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"})),lw=ae.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ae.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"})),iw=ae.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"},ae.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ae.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),ow=()=>{const[n,s]=ae.useState(document.hidden);return ae.useEffect(()=>{const l=()=>{s(document.hidden)};return document.addEventListener("visibilitychange",l),()=>window.removeEventListener("visibilitychange",l)},[]),n};let Md=1;class cw{constructor(){this.subscribe=s=>(this.subscribers.push(s),()=>{const l=this.subscribers.indexOf(s);this.subscribers.splice(l,1)}),this.publish=s=>{this.subscribers.forEach(l=>l(s))},this.addToast=s=>{this.publish(s),this.toasts=[...this.toasts,s]},this.create=s=>{var l;const{message:i,...c}=s,d=typeof s?.id=="number"||((l=s.id)==null?void 0:l.length)>0?s.id:Md++,m=this.toasts.find(h=>h.id===d),p=s.dismissible===void 0?!0:s.dismissible;return this.dismissedToasts.has(d)&&this.dismissedToasts.delete(d),m?this.toasts=this.toasts.map(h=>h.id===d?(this.publish({...h,...s,id:d,title:i}),{...h,...s,id:d,dismissible:p,title:i}):h):this.addToast({title:i,...c,dismissible:p,id:d}),d},this.dismiss=s=>(s?(this.dismissedToasts.add(s),requestAnimationFrame(()=>this.subscribers.forEach(l=>l({id:s,dismiss:!0})))):this.toasts.forEach(l=>{this.subscribers.forEach(i=>i({id:l.id,dismiss:!0}))}),s),this.message=(s,l)=>this.create({...l,message:s}),this.error=(s,l)=>this.create({...l,message:s,type:"error"}),this.success=(s,l)=>this.create({...l,type:"success",message:s}),this.info=(s,l)=>this.create({...l,type:"info",message:s}),this.warning=(s,l)=>this.create({...l,type:"warning",message:s}),this.loading=(s,l)=>this.create({...l,type:"loading",message:s}),this.promise=(s,l)=>{if(!l)return;let i;l.loading!==void 0&&(i=this.create({...l,promise:s,type:"loading",message:l.loading,description:typeof l.description!="function"?l.description:void 0}));const c=Promise.resolve(s instanceof Function?s():s);let d=i!==void 0,m;const p=c.then(async g=>{if(m=["resolve",g],ae.isValidElement(g))d=!1,this.create({id:i,type:"default",message:g});else if(dw(g)&&!g.ok){d=!1;const x=typeof l.error=="function"?await l.error(`HTTP error! status: ${g.status}`):l.error,w=typeof l.description=="function"?await l.description(`HTTP error! status: ${g.status}`):l.description,C=typeof x=="object"&&!ae.isValidElement(x)?x:{message:x};this.create({id:i,type:"error",description:w,...C})}else if(g instanceof Error){d=!1;const x=typeof l.error=="function"?await l.error(g):l.error,w=typeof l.description=="function"?await l.description(g):l.description,C=typeof x=="object"&&!ae.isValidElement(x)?x:{message:x};this.create({id:i,type:"error",description:w,...C})}else if(l.success!==void 0){d=!1;const x=typeof l.success=="function"?await l.success(g):l.success,w=typeof l.description=="function"?await l.description(g):l.description,C=typeof x=="object"&&!ae.isValidElement(x)?x:{message:x};this.create({id:i,type:"success",description:w,...C})}}).catch(async g=>{if(m=["reject",g],l.error!==void 0){d=!1;const v=typeof l.error=="function"?await l.error(g):l.error,x=typeof l.description=="function"?await l.description(g):l.description,S=typeof v=="object"&&!ae.isValidElement(v)?v:{message:v};this.create({id:i,type:"error",description:x,...S})}}).finally(()=>{d&&(this.dismiss(i),i=void 0),l.finally==null||l.finally.call(l)}),h=()=>new Promise((g,v)=>p.then(()=>m[0]==="reject"?v(m[1]):g(m[1])).catch(v));return typeof i!="string"&&typeof i!="number"?{unwrap:h}:Object.assign(i,{unwrap:h})},this.custom=(s,l)=>{const i=l?.id||Md++;return this.create({jsx:s(i),id:i,...l}),i},this.getActiveToasts=()=>this.toasts.filter(s=>!this.dismissedToasts.has(s.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const kt=new cw,uw=(n,s)=>{const l=s?.id||Md++;return kt.addToast({title:n,...s,id:l}),l},dw=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",fw=uw,mw=()=>kt.toasts,hw=()=>kt.getActiveToasts();Object.assign(fw,{success:kt.success,info:kt.info,warning:kt.warning,error:kt.error,custom:kt.custom,message:kt.message,promise:kt.promise,dismiss:kt.dismiss,loading:kt.loading},{getHistory:mw,getToasts:hw});WS
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: 1,175 bytes, line 49
49ro(n){return n.label!==void 0}const pw=3,gw="24px",yw="16px",Lg=4e3,xw=356,vw=14,bw=45,Sw=200;function wn(...n){return n.filter(Boolean).join(" ")}function ww(n){const[s,l]=n.split("-"),i=[];return s&&i.push(s),l&&i.push(l),i}const Cw=n=>{var s,l,i,c,d,m,p,h,g;const{invert:v,toast:x,unstyled:w,interacting:S,setHeights:C,visibleToasts:j,heights:z,index:U,toasts:I,expanded:$,removeToast:J,defaultRichColors:G,closeButton:F,style:_,cancelButtonStyle:q,actionButtonStyle:ee,className:V="",descriptionClassName:ne="",duration:W,position:re,gap:le,expandByDefault:ce,classNames:O,icons:L,closeButtonAriaLabel:M="Close toast"}=n,[se,me]=ae.useState(null),[A,Q]=ae.useState(null),[k,Y]=ae.useState(!1),[te,he]=ae.useState(!1),[oe,xe]=ae.useState(!1),[Oe,ot]=ae.useState(!1),[vt,ct]=ae.useState(!1),[Tn,rn]=ae.useState(0),[Sr,Ss]=ae.useState(0),La=ae.useRef(x.duration||W||Lg),wr=ae.useRef(null),Ht=ae.useRef(null),Cr=U===0,jr=U+1<=j,bt=x.type,aa=x.dismissible!==!1,St=x.className||"",Uo=x.descriptionClassName||"",Ba=ae.useMemo(()=>z.findIndex(ve=>ve.toastId===x.id)||0,[z,x.id]),Bl=ae.useMemo(()=>{var ve;return(ve=x.closeButton)!=null?ve:F},[x.closeButton,F]),Qa=ae.useMemo(()=>
vendor: 14,007 bytes, line 49
49x.duration||W||Lg,[x.duration,W]),Ar=ae.useRef(0),_n=ae.useRef(0),Ql=ae.useRef(0),sa=ae.useRef(null),[Fa,wt]=re.split("-"),ln=ae.useMemo(()=>z.reduce((ve,Ge,rt)=>rt>=Ba?ve:ve+Ge.height,0),[z,Ba]),pt=ow(),qo=x.invert||v,Nr=bt==="loading";_n.current=ae.useMemo(()=>Ba*le+ln,[Ba,ln]),ae.useEffect(()=>{La.current=Qa},[Qa]),ae.useEffect(()=>{Y(!0)},[]),ae.useEffect(()=>{const ve=Ht.current;if(ve){const Ge=ve.getBoundingClientRect().height;return Ss(Ge),C(rt=>[{toastId:x.id,height:Ge,position:x.position},...rt]),()=>C(rt=>rt.filter(gt=>gt.toastId!==x.id))}},[C,x.id]),ae.useLayoutEffect(()=>{if(!k)return;const ve=Ht.current,Ge=ve.style.height;ve.style.height="auto";const rt=ve.getBoundingClientRect().height;ve.style.height=Ge,Ss(rt),C(gt=>gt.find(Ve=>Ve.toastId===x.id)?gt.map(Ve=>Ve.toastId===x.id?{...Ve,height:rt}:Ve):[{toastId:x.id,height:rt,position:x.position},...gt])},[k,x.title,x.description,C,x.id,x.jsx,x.action,x.cancel]);const pn=ae.useCallback(()=>{he(!0),rn(_n.current),C(ve=>ve.filter(Ge=>Ge.toastId!==x.id)),setTimeout(()=>{J(x)},Sw)},[x,J,C,_n]);ae.useEffect(()=>{if(x.promise&&bt==="loading"||x.duration===1/0||x.type==="loading")return;let ve;return $||S||pt?(()=>{if(Ql.current<Ar.current){const gt=new Date().getTime()-Ar.current;La.current=La.current-gt}Ql.current=new Date().getTime()})():(()=>{La.current!==1/0&&(Ar.current=new Date().getTime(),ve=setTimeout(()=>{x.onAutoClose==null||x.onAutoClose.call(x,x),pn()},La.current))})(),()=>clearTimeout(ve)},[$,S,x,bt,pt,pn]),ae.useEffect(()=>{x.delete&&(pn(),x.onDismiss==null||x.onDismiss.call(x,x))},[pn,x.delete]);function ws(){var ve;if(L?.loading){var Ge;return ae.createElement("div",{className:wn(O?.loader,x==null||(Ge=x.classNames)==null?void 0:Ge.loader,"sonner-loader"),"data-visible":bt==="loading"},L.loading)}return ae.createElement(nw,{className:wn(O?.loader,x==null||(ve=x.classNames)==null?void 0:ve.loader),visible:bt==="loading"})}const Cs=x.icon||L?.[bt]||ew(bt);var Ga,gn;return ae.createElement("li",{tabIndex:0,ref:Ht,className:wn(V,St,O?.toast,x==null||(s=x.classNames)==null?void 0:s.toast,O?.default,O?.[bt],x==null||(l=x.classNames)==null?void 0:l[bt]),"data-sonner-toast":"","data-rich-colors":(Ga=x.richColors)!=null?Ga:G,"data-styled":!(x.jsx||x.unstyled||w),"data-mounted":k,"data-promise":!!x.promise,"data-swiped":vt,"data-removed":te,"data-visible":jr,"data-y-position":Fa,"data-x-position":wt,"data-index":U,"data-front":Cr,"data-swiping":oe,"data-dismissible":aa,"data-type":bt,"data-invert":qo,"data-swipe-out":Oe,"data-swipe-direction":A,"data-expanded":!!($||ce&&k),"data-testid":x.testId,style:{"--index":U,"--toasts-before":U,"--z-index":I.length-U,"--offset":`${te?Tn:_n.current}px`,"--initial-height":ce?"auto":`${Sr}px`,..._,...x.style},onDragEnd:()=>{xe(!1),me(null),sa.current=null},onPointerDown:ve=>{ve.button!==2&&(Nr||!aa||(wr.current=new Date,rn(_n.current),ve.target.setPointerCapture(ve.pointerId),ve.target.tagName!=="BUTTON"&&(xe(!0),sa.current={x:ve.clientX,y:ve.clientY})))},onPointerUp:()=>{var ve,Ge,rt;if(Oe||!aa)return;sa.current=null;const gt=Number(((ve=Ht.current)==null?void 0:ve.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),ra=Number(((Ge=Ht.current)==null?void 0:Ge.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ve=new Date().getTime()-((rt=wr.current)==null?void 0:rt.getTime()),Nt=se==="x"?gt:ra,Ya=Math.abs(Nt)/Ve;if(Math.abs(Nt)>=bw||Ya>.11){rn(_n.current),x.onDismiss==null||x.onDismiss.call(x,x),Q(se==="x"?gt>0?"right":"left":ra>0?"down":"up"),pn(),ot(!0);return}else{var Et,Ot;(Et=Ht.current)==null||Et.style.setProperty("--swipe-amount-x","0px"),(Ot=Ht.current)==null||Ot.style.setProperty("--swipe-amount-y","0px")}ct(!1),xe(!1),me(null)},onPointerMove:ve=>{var Ge,rt,gt;if(!sa.current||!aa||((Ge=window.getSelection())==null?void 0:Ge.toString().length)>0)return;const Ve=ve.clientY-sa.current.y,Nt=ve.clientX-sa.current.x;var Ya;const Et=(Ya=n.swipeDirections)!=null?Ya:ww(re);!se&&(Math.abs(Nt)>1||Math.abs(Ve)>1)&&me(Math.abs(Nt)>Math.abs(Ve)?"x":"y");let Ot={x:0,y:0};const js=on=>1/(1.5+Math.abs(on)/20);if(se==="y"){if(Et.includes("top")||Et.includes("bottom"))if(Et.includes("top")&&Ve<0||Et.includes("bottom")&&Ve>0)Ot.y=Ve;else{const on=Ve*js(Ve);Ot.y=Math.abs(on)<Math.abs(Ve)?on:Ve}}else if(se==="x"&&(Et.includes("left")||Et.includes("right")))if(Et.includes("left")&&Nt<0||Et.includes("right")&&Nt>0)Ot.x=Nt;else{const on=Nt*js(Nt);Ot.x=Math.abs(on)<Math.abs(Nt)?on:Nt}(Math.abs(Ot.x)>0||Math.abs(Ot.y)>0)&&ct(!0),(rt=Ht.current)==null||rt.style.setProperty("--swipe-amount-x",`${Ot.x}px`),(gt=Ht.current)==null||gt.style.setProperty("--swipe-amount-y",`${Ot.y}px`)}},Bl&&!x.jsx&&bt!=="loading"?ae.createElement("button",{"aria-label":M,"data-disabled":Nr,"data-close-button":!0,onClick:Nr||!aa?()=>{}:()=>{pn(),x.onDismiss==null||x.onDismiss.call(x,x)},className:wn(O?.closeButton,x==null||(i=x.classNames)==null?void 0:i.closeButton)},(gn=L?.close)!=null?gn:iw):null,(bt||x.icon||x.promise)&&x.icon!==null&&(L?.[bt]!==null||x.icon)?ae.createElement("div",{"data-icon":"",className:wn(O?.icon,x==null||(c=x.classNames)==null?void 0:c.icon)},x.promise||x.type==="loading"&&!x.icon?x.icon||ws():null,x.type!=="loading"?Cs:null):null,ae.createElement("div",{"data-content":"",className:wn(O?.content,x==null||(d=x.classNames)==null?void 0:d.content)},ae.createElement("div",{"data-title":"",className:wn(O?.title,x==null||(m=x.classNames)==null?void 0:m.title)},x.jsx?x.jsx:typeof x.title=="function"?x.title():x.title),x.description?ae.createElement("div",{"data-description":"",className:wn(ne,Uo,O?.description,x==null||(p=x.classNames)==null?void 0:p.description)},typeof x.description=="function"?x.description():x.description):null),ae.isValidElement(x.cancel)?x.cancel:x.cancel&&ro(x.cancel)?ae.createElement("button",{"data-button":!0,"data-cancel":!0,style:x.cancelButtonStyle||q,onClick:ve=>{ro(x.cancel)&&aa&&(x.cancel.onClick==null||x.cancel.onClick.call(x.cancel,ve),pn())},className:wn(O?.cancelButton,x==null||(h=x.classNames)==null?void 0:h.cancelButton)},x.cancel.label):null,ae.isValidElement(x.action)?x.action:x.action&&ro(x.action)?ae.createElement("button",{"data-button":!0,"data-action":!0,style:x.actionButtonStyle||ee,onClick:ve=>{ro(x.action)&&(x.action.onClick==null||x.action.onClick.call(x.action,ve),!ve.defaultPrevented&&pn())},className:wn(O?.actionButton,x==null||(g=x.classNames)==null?void 0:g.actionButton)},x.action.label):null)};function Bg(){if(typeof window>"u"||typeof document>"u")return"ltr";const n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function jw(n,s){const l={};return[n,s].forEach((i,c)=>{const d=c===1,m=d?"--mobile-offset":"--offset",p=d?yw:gw;function h(g){["top","right","bottom","left"].forEach(v=>{l[`${m}-${v}`]=typeof g=="number"?`${g}px`:g})}typeof i=="number"||typeof i=="string"?h(i):typeof i=="object"?["top","right","bottom","left"].forEach(g=>{i[g]===void 0?l[`${m}-${g}`]=p:l[`${m}-${g}`]=typeof i[g]=="number"?`${i[g]}px`:i[g]}):h(p)}),l}const Aw=ae.forwardRef(function(s,l){const{id:i,invert:c,position:d="bottom-right",hotkey:m=["altKey","KeyT"],expand:p,closeButton:h,className:g,offset:v,mobileOffset:x,theme:w="light",richColors:S,duration:C,style:j,visibleToasts:z=pw,toastOptions:U,dir:I=Bg(),gap:$=vw,icons:J,containerAriaLabel:G="Notifications"}=s,[F,_]=ae.useState([]),q=ae.useMemo(()=>i?F.filter(k=>k.toasterId===i):F.filter(k=>!k.toasterId),[F,i]),ee=ae.useMemo(()=>Array.from(new Set([d].concat(q.filter(k=>k.position).map(k=>k.position)))),[q,d]),[V,ne]=ae.useState([]),[W,re]=ae.useState(!1),[le,ce]=ae.useState(!1),[O,L]=ae.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),M=ae.useRef(null),se=m.join("+").replace(/Key/g,"").replace(/Digit/g,""),me=ae.useRef(null),A=ae.useRef(!1),Q=ae.useCallback(k=>{_(Y=>{var te;return(te=Y.find(he=>he.id===k.id))!=null&&te.delete||kt.dismiss(k.id),Y.filter(({id:he})=>he!==k.id)})},[]);return ae.useEffect(()=>kt.subscribe(k=>{if(k.dismiss){requestAnimationFrame(()=>{_(Y=>Y.map(te=>te.id===k.id?{...te,delete:!0}:te))});return}setTimeout(()=>{IS.flushSync(()=>{_(Y=>{const te=Y.findIndex(he=>he.id===k.id);return te!==-1?[...Y.slice(0,te),{...Y[te],...k},...Y.slice(te+1)]:[k,...Y]})})})}),[F]),ae.useEffect(()=>{if(w!=="system"){L(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?L("dark"):L("light")),typeof window>"u")return;const k=window.matchMedia("(prefers-color-scheme: dark)");try{k.addEventListener("change",({matches:Y})=>{L(Y?"dark":"light")})}catch{k.addListener(({matches:te})=>{try{L(te?"dark":"light")}catch(he){console.error(he)}})}},[w]),ae.useEffect(()=>{F.length<=1&&re(!1)},[F]),ae.useEffect(()=>{const k=Y=>{var te;if(m.every(xe=>Y[xe]||Y.code===xe)){var oe;re(!0),(oe=M.current)==null||oe.focus()}Y.code==="Escape"&&(document.activeElement===M.current||(te=M.current)!=null&&te.contains(document.activeElement))&&re(!1)};return document.addEventListener("keydown",k),()=>document.removeEventListener("keydown",k)},[m]),ae.useEffect(()=>{if(M.current)return()=>{me.current&&(me.current.focus({preventScroll:!0}),me.current=null,A.current=!1)}},[M.current]),ae.createElement("section",{ref:l,"aria-label":`${G} ${se}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},ee.map((k,Y)=>{var te;const[he,oe]=k.split("-");return q.length?ae.createElement("ol",{key:k,dir:I==="auto"?Bg():I,tabIndex:-1,ref:M,className:g,"data-sonner-toaster":!0,"data-sonner-theme":O,"data-y-position":he,"data-x-position":oe,style:{"--front-toast-height":`${((te=V[0])==null?void 0:te.height)||0}px`,"--width":`${xw}px`,"--gap":`${$}px`,...j,...jw(v,x)},onBlur:xe=>{A.current&&!xe.currentTarget.contains(xe.relatedTarget)&&(A.current=!1,me.current&&(me.current.focus({preventScroll:!0}),me.current=null))},onFocus:xe=>{xe.target instanceof HTMLElement&&xe.target.dataset.dismissible==="false"||A.current||(A.current=!0,me.current=xe.relatedTarget)},onMouseEnter:()=>re(!0),onMouseMove:()=>re(!0),onMouseLeave:()=>{le||re(!1)},onDragEnd:()=>re(!1),onPointerDown:xe=>{xe.target instanceof HTMLElement&&xe.target.dataset.dismissible==="false"||ce(!0)},onPointerUp:()=>ce(!1)},q.filter(xe=>!xe.position&&Y===0||xe.position===k).map((xe,Oe)=>{var ot,vt;return ae.createElement(Cw,{key:xe.id,icons:J,index:Oe,toast:xe,defaultRichColors:S,duration:(ot=U?.duration)!=null?ot:C,className:U?.className,descriptionClassName:U?.descriptionClassName,invert:c,visibleToasts:z,closeButton:(vt=U?.closeButton)!=null?vt:h,interacting:le,position:k,style:U?.style,unstyled:U?.unstyled,classNames:U?.classNames,cancelButtonStyle:U?.cancelButtonStyle,actionButtonStyle:U?.actionButtonStyle,closeButtonAriaLabel:U?.closeButtonAriaLabel,removeToast:Q,toasts:q.filter(ct=>ct.position==xe.position),heights:V.filter(ct=>ct.position==xe.position),setHeights:ne,expandByDefault:p,gap:$,expanded:W,swipeDirections:s.swipeDirections})})):null}))}),Nw=({...n})=>{const{theme:s="system"}=$S();return f.jsx(Aw,{"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)"},...n})};function In(n,s,{checkForDefaultPrevented:l=!0}={}){return function(c){if(n?.(c),l===!1||!c.defaultPrevented)return s?.(c)}}function Qg(n,s){if(typeof n=="function")return n(s);n!=null&&(n.current=s)}function A0(...n){return s=>{let l=!1;const i=n.map(c=>{const d=Qg(c,s);return!l&&typeof d=="function"&&(l=!0),d});if(l)return()=>{for(let c=0;c<i.length;c++){const d=i[c];typeof d=="function"?d():Qg(n[c],null)}}}}function vs(...n){return E.useCallback(A0(...n),n)}function N0(n,s=[]){let l=[];function i(d,m){const p=E.createContext(m),h=l.length;l=[...l,m];const g=x=>{const{scope:w,children:S,...C}=x,j=w?.[n]?.[h]||p,z=E.useMemo(()=>C,Object.values(C));return f.jsx(j.Provider,{value:z,children:S})};g.displayName=d+"Provider";function v(x,w){const S=w?.[n]?.[h]||p,C=E.useContext(S);if(C)return C;if(m!==void 0)return m;throw new Error(`\`${x}\` must be used within \`${d}\``)}return[g,v]}const c=()=>{const d=l.map(m=>E.createContext(m));return function(p){const h=p?.[n]||d;return E.useMemo(()=>({[`__scope${n}`]:{...p,[n]:h}}),[p,h])}};return c.scopeName=n,[i,Ew(c,...s)]}function Ew(...n){const s=n[0];if(n.length===1)return s;const l=()=>{const i=n.map(c=>({useScope:c(),scopeName:c.scopeName}));return function(d){const m=i.reduce((p,{useScope:h,scopeName:g})=>{const x=h(d)[`__scope${g}`];return{...p,...x}},{});return E.useMemo(()=>({[`__scope${s.scopeName}`]:m}),[m])}};return l.scopeName=s.scopeName,l}function E0(n){const s=Tw(n),l=E.forwardRef((i,c)=>{const{children:d,...m}=i,p=E.Children.toArray(d),h=p.find(Rw);if(h){const g=h.props.children,v=p.map(x=>x===h?E.Children.count(g)>1?E.Children.only(null):E.isValidElement(g)?g.props.children:null:x);return f.jsx(s,{...m,ref:c,children:E.isValidElement(g)?E.cloneElement(g,void 0,v):null})}return f.jsx(s,{...m,ref:c,children:d})});return l.displayName=`${n}.Slot`,l}var Ow=E0("Slot");function Tw(n){const s=E.forwardRef((l,i)=>{const{children:c,...d}=l;if(E.isValidElement(c)){const m=zw(c),p=Mw(d,c.props);return c.type!==E.Fragment&&(p.ref=i?A0(i,m):m),E.cloneElement(c,p)}return E.Children.count(c)>1?E.Children.only(null):null});return s.displayName=`${n}.SlotClone`,s}var O0=Symbol("radix.slottable");function _w(n){const s=({children:l})=>f.jsx(f.Fragment,{children:l});return s.displayName=`${n}.Slottable`,s.__radixId=O0,s}function Rw(n){return E.isValidElement(n)&&typeof n.type=="function"&&"__radixId"in n.type&&n.type.__radixId===O0}function Mw(n,s){const l={...s};for(const i in s){const c=n[i],d=s[i];/^on[A-Z]/.test(i)?c&&d?l[i]=(...p)=>{const h=d(...p);return c(...p),h}:c&&(l[i]=c):i==="style"?l[i]={...c,...d}
vendor: 4,575 bytes, line 49
49:i==="className"&&(l[i]=[c,d].filter(Boolean).join(" "))}return{...n,...l}}function zw(n){let s=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,l=s&&"isReactWarning"in s&&s.isReactWarning;return l?n.ref:(s=Object.getOwnPropertyDescriptor(n,"ref")?.get,l=s&&"isReactWarning"in s&&s.isReactWarning,l?n.props.ref:n.props.ref||n.ref)}var Dw=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],bs=Dw.reduce((n,s)=>{const l=E0(`Primitive.${s}`),i=E.forwardRef((c,d)=>{const{asChild:m,...p}=c,h=m?l:s;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(h,{...p,ref:d})});return i.displayName=`Primitive.${s}`,{...n,[s]:i}},{});function Pw(n,s){n&&ef.flushSync(()=>n.dispatchEvent(s))}function To(n){const s=E.useRef(n);return E.useEffect(()=>{s.current=n}),E.useMemo(()=>(...l)=>s.current?.(...l),[])}function kw(n,s=globalThis?.document){const l=To(n);E.useEffect(()=>{const i=c=>{c.key==="Escape"&&l(c)};return s.addEventListener("keydown",i,{capture:!0}),()=>s.removeEventListener("keydown",i,{capture:!0})},[l,s])}var Hw="DismissableLayer",zd="dismissableLayer.update",Uw="dismissableLayer.pointerDownOutside",qw="dismissableLayer.focusOutside",Fg,T0=E.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),_0=E.forwardRef((n,s)=>{const{disableOutsidePointerEvents:l=!1,onEscapeKeyDown:i,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:m,onDismiss:p,...h}=n,g=E.useContext(T0),[v,x]=E.useState(null),w=v?.ownerDocument??globalThis?.document,[,S]=E.useState({}),C=vs(s,_=>x(_)),j=Array.from(g.layers),[z]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),U=j.indexOf(z),I=v?j.indexOf(v):-1,$=g.layersWithOutsidePointerEventsDisabled.size>0,J=I>=U,G=Qw(_=>{const q=_.target,ee=[...g.branches].some(V=>V.contains(q));!J||ee||(c?.(_),m?.(_),_.defaultPrevented||p?.())},w),F=Fw(_=>{const q=_.target;[...g.branches].some(V=>V.contains(q))||(d?.(_),m?.(_),_.defaultPrevented||p?.())},w);return kw(_=>{I===g.layers.size-1&&(i?.(_),!_.defaultPrevented&&p&&(_.preventDefault(),p()))},w),E.useEffect(()=>{if(v)return l&&(g.layersWithOutsidePointerEventsDisabled.size===0&&(Fg=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(v)),g.layers.add(v),Gg(),()=>{l&&g.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=Fg)}},[v,w,l,g]),E.useEffect(()=>()=>{v&&(g.layers.delete(v),g.layersWithOutsidePointerEventsDisabled.delete(v),Gg())},[v,g]),E.useEffect(()=>{const _=()=>S({});return document.addEventListener(zd,_),()=>document.removeEventListener(zd,_)},[]),f.jsx(bs.div,{...h,ref:C,style:{pointerEvents:$?J?"auto":"none":void 0,...n.style},onFocusCapture:In(n.onFocusCapture,F.onFocusCapture),onBlurCapture:In(n.onBlurCapture,F.onBlurCapture),onPointerDownCapture:In(n.onPointerDownCapture,G.onPointerDownCapture)})});_0.displayName=Hw;var Lw="DismissableLayerBranch",Bw=E.forwardRef((n,s)=>{const l=E.useContext(T0),i=E.useRef(null),c=vs(s,i);return E.useEffect(()=>{const d=i.current;if(d)return l.branches.add(d),()=>{l.branches.delete(d)}},[l.branches]),f.jsx(bs.div,{...n,ref:c})});Bw.displayName=Lw;function Qw(n,s=globalThis?.document){const l=To(n),i=E.useRef(!1),c=E.useRef(()=>{});return E.useEffect(()=>{const d=p=>{if(p.target&&!i.current){let h=function(){R0(Uw,l,g,{discrete:!0})};const g={originalEvent:p};p.pointerType==="touch"?(s.removeEventListener("click",c.current),c.current=h,s.addEventListener("click",c.current,{once:!0})):h()}else s.removeEventListener("click",c.current);i.current=!1},m=window.setTimeout(()=>{s.addEventListener("pointerdown",d)},0);return()=>{window.clearTimeout(m),s.removeEventListener("pointerdown",d),s.removeEventListener("click",c.current)}},[s,l]),{onPointerDownCapture:()=>i.current=!0}}function Fw(n,s=globalThis?.document){const l=To(n),i=E.useRef(!1);return E.useEffect(()=>{const c=d=>{d.target&&!i.current&&R0(qw,l,{originalEvent:d},{discrete:!1})};return s.addEventListener("focusin",c),()=>s.removeEventListener("focusin",c)},[s,l]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}function Gg(){const n=new CustomEvent(zd);document.dispatchEvent(n)}function R0(n,s,l,{discrete:i}){const c=l.originalEvent.target,d=new CustomEvent(n,{bubbles:!1,cancelable:!0,detail:l});s&&c.addEventListener(n,s,{once:!0}),i?Pw(c,d):c.dispatchEvent(d)}var _l=globalThis?.document?E.useLayoutEffect:()=>{};const Gw=["top","right","bottom","left"],ka=Math.min,Vt=Math.max,yo=Math.round,lo=Math.floor,An=n=>({x:n,y:n}
vendor: 14,515 bytes, line 49
49),Yw={left:"right",right:"left",bottom:"top",top:"bottom"},Vw={start:"end",end:"start"};function Dd(n,s,l){return Vt(n,ka(s,l))}function ea(n,s){return typeof n=="function"?n(s):n}function ta(n){return n.split("-")[0]}function yr(n){return n.split("-")[1]}function tf(n){return n==="x"?"y":"x"}function nf(n){return n==="y"?"height":"width"}const Xw=new Set(["top","bottom"]);function jn(n){return Xw.has(ta(n))?"y":"x"}function af(n){return tf(jn(n))}function Kw(n,s,l){l===void 0&&(l=!1);const i=yr(n),c=af(n),d=nf(c);let m=c==="x"?i===(l?"end":"start")?"right":"left":i==="start"?"bottom":"top";return s.reference[d]>s.floating[d]&&(m=xo(m)),[m,xo(m)]}function Zw(n){const s=xo(n);return[Pd(n),s,Pd(s)]}function Pd(n){return n.replace(/start|end/g,s=>Vw[s])}const Yg=["left","right"],Vg=["right","left"],Jw=["top","bottom"],$w=["bottom","top"];function Iw(n,s,l){switch(n){case"top":case"bottom":return l?s?Vg:Yg:s?Yg:Vg;case"left":case"right":return s?Jw:$w;default:return[]}}function Ww(n,s,l,i){const c=yr(n);let d=Iw(ta(n),l==="start",i);return c&&(d=d.map(m=>m+"-"+c),s&&(d=d.concat(d.map(Pd)))),d}function xo(n){return n.replace(/left|right|bottom|top/g,s=>Yw[s])}function eC(n){return{top:0,right:0,bottom:0,left:0,...n}}function M0(n){return typeof n!="number"?eC(n):{top:n,right:n,bottom:n,left:n}}function vo(n){const{x:s,y:l,width:i,height:c}=n;return{width:i,height:c,top:l,left:s,right:s+i,bottom:l+c,x:s,y:l}}function Xg(n,s,l){let{reference:i,floating:c}=n;const d=jn(s),m=af(s),p=nf(m),h=ta(s),g=d==="y",v=i.x+i.width/2-c.width/2,x=i.y+i.height/2-c.height/2,w=i[p]/2-c[p]/2;let S;switch(h){case"top":S={x:v,y:i.y-c.height};break;case"bottom":S={x:v,y:i.y+i.height};break;case"right":S={x:i.x+i.width,y:x};break;case"left":S={x:i.x-c.width,y:x};break;default:S={x:i.x,y:i.y}}switch(yr(s)){case"start":S[m]-=w*(l&&g?-1:1);break;case"end":S[m]+=w*(l&&g?-1:1);break}return S}const tC=async(n,s,l)=>{const{placement:i="bottom",strategy:c="absolute",middleware:d=[],platform:m}=l,p=d.filter(Boolean),h=await(m.isRTL==null?void 0:m.isRTL(s));let g=await m.getElementRects({reference:n,floating:s,strategy:c}),{x:v,y:x}=Xg(g,i,h),w=i,S={},C=0;for(let j=0;j<p.length;j++){const{name:z,fn:U}=p[j],{x:I,y:$,data:J,reset:G}=await U({x:v,y:x,initialPlacement:i,placement:w,strategy:c,middlewareData:S,rects:g,platform:m,elements:{reference:n,floating:s}});v=I??v,x=$??x,S={...S,[z]:{...S[z],...J}},G&&C<=50&&(C++,typeof G=="object"&&(G.placement&&(w=G.placement),G.rects&&(g=G.rects===!0?await m.getElementRects({reference:n,floating:s,strategy:c}):G.rects),{x:v,y:x}=Xg(g,w,h)),j=-1)}return{x:v,y:x,placement:w,strategy:c,middlewareData:S}};async function Rl(n,s){var l;s===void 0&&(s={});const{x:i,y:c,platform:d,rects:m,elements:p,strategy:h}=n,{boundary:g="clippingAncestors",rootBoundary:v="viewport",elementContext:x="floating",altBoundary:w=!1,padding:S=0}=ea(s,n),C=M0(S),z=p[w?x==="floating"?"reference":"floating":x],U=vo(await d.getClippingRect({element:(l=await(d.isElement==null?void 0:d.isElement(z)))==null||l?z:z.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(p.floating)),boundary:g,rootBoundary:v,strategy:h})),I=x==="floating"?{x:i,y:c,width:m.floating.width,height:m.floating.height}:m.reference,$=await(d.getOffsetParent==null?void 0:d.getOffsetParent(p.floating)),J=await(d.isElement==null?void 0:d.isElement($))?await(d.getScale==null?void 0:d.getScale($))||{x:1,y:1}:{x:1,y:1},G=vo(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:p,rect:I,offsetParent:$,strategy:h}):I);return{top:(U.top-G.top+C.top)/J.y,bottom:(G.bottom-U.bottom+C.bottom)/J.y,left:(U.left-G.left+C.left)/J.x,right:(G.right-U.right+C.right)/J.x}}const nC=n=>({name:"arrow",options:n,async fn(s){const{x:l,y:i,placement:c,rects:d,platform:m,elements:p,middlewareData:h}=s,{element:g,padding:v=0}=ea(n,s)||{};if(g==null)return{};const x=M0(v),w={x:l,y:i},S=af(c),C=nf(S),j=await m.getDimensions(g),z=S==="y",U=z?"top":"left",I=z?"bottom":"right",$=z?"clientHeight":"clientWidth",J=d.reference[C]+d.reference[S]-w[S]-d.floating[C],G=w[S]-d.reference[S],F=await(m.getOffsetParent==null?void 0:m.getOffsetParent(g));let _=F?F[$]:0;(!_||!await(m.isElement==null?void 0:m.isElement(F)))&&(_=p.floating[$]||d.floating[C]);const q=J/2-G/2,ee=_/2-j[C]/2-1,V=ka(x[U],ee),ne=ka(x[I],ee),W=V,re=_-j[C]-ne,le=_/2-j[C]/2+q,ce=Dd(W,le,re),O=!h.arrow&&yr(c)!=null&&le!==ce&&d.reference[C]/2-(le<W?V:ne)-j[C]/2<0,L=O?le<W?le-W:le-re:0;return{[S]:w[S]+L,data:{[S]:ce,centerOffset:le-ce-L,...O&&{alignmentOffset:L}},reset:O}}}),aC=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(s){var l,i;const{placement:c,middlewareData:d,rects:m,initialPlacement:p,platform:h,elements:g}=s,{mainAxis:v=!0,crossAxis:x=!0,fallbackPlacements:w,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:j=!0,...z}=ea(n,s);if((l=d.arrow)!=null&&l.alignmentOffset)return{};const U=ta(c),I=jn(p),$=ta(p)===p,J=await(h.isRTL==null?void 0:h.isRTL(g.floating)),G=w||($||!j?[xo(p)]:Zw(p)),F=C!=="none";!w&&F&&G.push(...Ww(p,j,C,J));const _=[p,...G],q=await Rl(s,z),ee=[];let V=((i=d.flip)==null?void 0:i.overflows)||[];if(v&&ee.push(q[U]),x){const le=Kw(c,m,J);ee.push(q[le[0]],q[le[1]])}if(V=[...V,{placement:c,overflows:ee}],!ee.every(le=>le<=0)){var ne,W;const le=(((ne=d.flip)==null?void 0:ne.index)||0)+1,ce=_[le];if(ce&&(!(x==="alignment"?I!==jn(ce):!1)||V.every(M=>jn(M.placement)===I?M.overflows[0]>0:!0)))return{data:{index:le,overflows:V},reset:{placement:ce}};let O=(W=V.filter(L=>L.overflows[0]<=0).sort((L,M)=>L.overflows[1]-M.overflows[1])[0])==null?void 0:W.placement;if(!O)switch(S){case"bestFit":{var re;const L=(re=V.filter(M=>{if(F){const se=jn(M.placement);return se===I||se==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(se=>se>0).reduce((se,me)=>se+me,0)]).sort((M,se)=>M[1]-se[1])[0])==null?void 0:re[0];L&&(O=L);break}case"initialPlacement":O=p;break}if(c!==O)return{reset:{placement:O}}}return{}}}};function Kg(n,s){return{top:n.top-s.height,right:n.right-s.width,bottom:n.bottom-s.height,left:n.left-s.width}}function Zg(n){return Gw.some(s=>n[s]>=0)}const sC=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(s){const{rects:l}=s,{strategy:i="referenceHidden",...c}=ea(n,s);switch(i){case"referenceHidden":{const d=await Rl(s,{...c,elementContext:"reference"}),m=Kg(d,l.reference);return{data:{referenceHiddenOffsets:m,referenceHidden:Zg(m)}}}case"escaped":{const d=await Rl(s,{...c,altBoundary:!0}),m=Kg(d,l.floating);return{data:{escapedOffsets:m,escaped:Zg(m)}}}default:return{}}}}},z0=new Set(["left","top"]);async function rC(n,s){const{placement:l,platform:i,elements:c}=n,d=await(i.isRTL==null?void 0:i.isRTL(c.floating)),m=ta(l),p=yr(l),h=jn(l)==="y",g=z0.has(m)?-1:1,v=d&&h?-1:1,x=ea(s,n);let{mainAxis:w,crossAxis:S,alignmentAxis:C}=typeof x=="number"?{mainAxis:x,crossAxis:0,alignmentAxis:null}:{mainAxis:x.mainAxis||0,crossAxis:x.crossAxis||0,alignmentAxis:x.alignmentAxis};return p&&typeof C=="number"&&(S=p==="end"?C*-1:C),h?{x:S*v,y:w*g}:{x:w*g,y:S*v}}const lC=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(s){var l,i;const{x:c,y:d,placement:m,middlewareData:p}=s,h=await rC(s,n);return m===((l=p.offset)==null?void 0:l.placement)&&(i=p.arrow)!=null&&i.alignmentOffset?{}:{x:c+h.x,y:d+h.y,data:{...h,placement:m}}}}},iC=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(s){const{x:l,y:i,placement:c}=s,{mainAxis:d=!0,crossAxis:m=!1,limiter:p={fn:z=>{let{x:U,y:I}=z;return{x:U,y:I}}},...h}=ea(n,s),g={x:l,y:i},v=await Rl(s,h),x=jn(ta(c)),w=tf(x);let S=g[w],C=g[x];if(d){const z=w==="y"?"top":"left",U=w==="y"?"bottom":"right",I=S+v[z],$=S-v[U];S=Dd(I,S,$)}if(m){const z=x==="y"?"top":"left",U=x==="y"?"bottom":"right",I=C+v[z],$=C-v[U];C=Dd(I,C,$)}const j=p.fn({...s,[w]:S,[x]:C});return{...j,data:{x:j.x-l,y:j.y-i,enabled:{[w]:d,[x]:m}}}}}},oC=function(n){return n===void 0&&(n={}),{options:n,fn(s){const{x:l,y:i,placement:c,rects:d,middlewareData:m}=s,{offset:p=0,mainAxis:h=!0,crossAxis:g=!0}=ea(n,s),v={x:l,y:i},x=jn(c),w=tf(x);let S=v[w],C=v[x];const j=ea(p,s),z=typeof j=="number"?{mainAxis:j,crossAxis:0}:{mainAxis:0,crossAxis:0,...j};if(h){const $=w==="y"?"height":"width",J=d.reference[w]-d.floating[$]+z.mainAxis,G=d.reference[w]+d.reference[$]-z.mainAxis;S<J?S=J:S>G&&(S=G)}if(g){var U,I;const $=w==="y"?"width":"height",J=z0.has(ta(c)),G=d.reference[x]-d.floating[$]+(J&&((U=m.offset)==null?void 0:U[x])||0)+(J?0:z.crossAxis),F=d.reference[x]+d.reference[$]+(J?0:((I=m.offset)==null?void 0:I[x])||0)-(J?z.crossAxis:0);C<G?C=G:C>F&&(C=F)}return{[w]:S,[x]:C}}}},cC=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(s){var l,i;const{placement:c,rects:d,platform:m,elements:p}=s,{apply:h=()=>{},...g}=ea(n,s),v=await Rl(s,g),x=ta(c),w=yr(c),S=jn(c)==="y",{width:C,height:j}=d.floating;let z,U;x==="top"||x==="bottom"?(z=x,U=w===(await(m.isRTL==null?void 0:m.isRTL(p.floating))?"start":"end")?"left":"right"):(U=x,z=w==="end"?"top":"bottom");const I=j-v.top-v.bottom,$=C-v.left-v.right,J=ka(j-v[z],I),G=ka(C-v[U],$),F=!s.middlewareData.shift;let _=J,q=G;if((l=s.middlewareData.shift)!=null&&l.enabled.x&&(q=$),(i=s.middlewareData.shift)!=null&&i.enabled.y&&(_=I),F&&!w){const V=Vt(v.left,0),ne=Vt(v.right,0),W=Vt(v.top,0),re=Vt(v.bottom,0);S?q=C-2*(V!==0||ne!==0?V+ne:Vt(v.left,v.right)):_=j-2*(W!==0||re!==0?W+re:Vt(v.top,v.bottom))}await h({...s,availableWidth:q,availableHeight:_});const ee=await m.getDimensions(p.floating);return C!==ee.width||j!==ee.height?{reset:{rects:!0}}:{}}}};function _o(){return typeof window<"u"}function xr(n){return D0(n)?(n.nodeName||"").toLowerCase():"#document"}function Kt(n){var s;return(n==null||(s=n.ownerDocument)==null?void 0:s.defaultView)||window}function On(n){var s;return(s=(D0(n)?n.ownerDocument:n.document)||window.document)==null?void 0:s.documentElement}function D0(n){return _o()?n instanceof Node||n instanceof Kt(n).Node:!1}function fn(n){return _o()?n instanceof Element||n instanceof Kt(n).Element:!1}function Nn(n){return _o()?n instanceof HTMLElement||n instanceof Kt(n).HTMLElement:!1}function Jg(n){return!_o()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Kt(n).ShadowRoot}const uC=new Set(["inline","contents"]);function ql(n){const{overflow:s,overflowX:l,overflowY:i,display:c}=mn(n);return/auto|scroll|overlay|hidden|clip/.test(s+i+l)&&!uC.has(c)}const dC=new Set(["table","td","th"]);function fC(n){return dC.has(xr(n))}const mC=[":popover-open",":modal"];function Ro(n){return mC.some(s=>{try{return n.matches(s)}catch{return!1}})}const hC=["transform","translate","scale","rotate","perspective"],pC=["transform","translate","scale","rotate","perspective","filter"],gC=["paint","layout","strict","content"];function sf(n){const s=rf(),l=fn(n)?mn(n):n;return hC.some(i=>l[i]?l[i]!=="none":!1)||(l.containerType?l.containerType!=="normal":!1)||!s&&(l.backdropFilter?l.backdropFilter!=="none":!1)||!s&&(l.filter?l.filter!=="none":!1)||pC.some(i=>(l.willChange||"").includes(i))||gC.some(i=>(l.contain||"").includes(i))}function yC(n){let s=Ha(n);for(;Nn(s)&&!pr(s);){if(sf(s))return s;if(Ro(s))return null;s=Ha(s)}return null}function rf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const xC=new Set(["html","body","#document"]);function pr(n){return xC.has(xr(n))}function mn(n){return Kt(n).getComputedStyle(n)}function Mo(n){return fn(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function Ha(n){if(xr(n)==="html")return n;const s=n.assignedSlot||n.parentNode||Jg(n)&&n.host||On(n);return Jg(s)?s.host:s}function P0(n){const s=Ha(n);return pr(s)?n.ownerDocument?n.ownerDocument.body:n.body:Nn(s)&&ql(s)?s:P0(s)}function Ml(n,s,l){var i;s===void 0&&(s=[]),l===void 0&&(l=!0);const c=P0(n),d=c===((i=n.ownerDocument)==null?void 0:i.body),m=Kt(c);if(d){const p=kd(m);return s.concat(m,m.visualViewport||[],ql(c)?c:[],p&&l?Ml(p):[])}return s.concat(c,Ml(c,[],l))}function kd(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function k0(n){const s=mn(n);let l=parseFloat(s.width)||0,i=parseFloat(s.height)||0;const c=Nn(n),d=c?n.offsetWidth:l,m=c?n.offsetHeight:i,p=yo(l)!==d||yo(i)!==m;return p&&(l=d,i=m),{width:l,height:i,$:p}}function lf(n){return fn(n)?n:n.contextElement}function fr(n){const s=lf(n);if(!Nn(s))return An(1);const l=s.getBoundingClientRect(),{width:i,height:c,$:d}=k0(s);let m=(d?yo(l.width):l.width)/i,p=(d?yo(l.height):l.height)/c;return(!m||!Number.isFinite(m))&&(m=1),(!p||!Number.isFinite(p))&&(p=1),{x:m,y:p}}const vC=An(0);function H0(n){const s=Kt(n);return!rf()||!s.visualViewport?vC:{x:s.visualViewport.offsetLeft,y:s.visualViewport.offsetTop}}function bC(n,s,l){return s===void 0&&(s=!1),!l||s&&l!==Kt(n)?!1:s}function hs(n,s,l,i){s===void 0&&(s=!1),l===void 0&&(l=!1);const c=n.getBoundingClientRect(),d=lf(n);let m=An(1);s&&(i?fn(i)&&(m=fr(i)):m=fr(n));const p=bC(d,l,i)?H0(d):An(0);let h=(c.left+p.x)/m.x,g=(c.top+p.y)/m.y,v=c.width/m.x,x=c.height/m.y;if(d){const w=Kt(d),S=i&&fn(i)?Kt(i):i;let C=w,j=kd(C);for(;j&&i&&S!==C;){const z=fr(j),U=j.getBoundingClientRect(),I=mn(j),$=U.left+(j.clientLeft+parseFloat(I.paddingLeft))*z.x,J=U.top+(j.clientTop+parseFloat(I.paddingTop))*z.y;h*=z.x,g*=z.y,v*=z.x,x*=z.y,h+=$,g+=J,C=Kt(j),j=kd(C)}}return vo({width:v,height:x,x:h,y:g})}function zo(n,s){const l=Mo(n).scrollLeft;return s?s.left+l:hs(On(n)).left+l}function U0(n,s){const l=n.getBoundingClientRect(),i=l.left+s.scrollLeft-zo(n,l),c=l.top+s.scrollTop;return{x:i,y:c}}function SC(n){let{elements:s,rect:l,offsetParent:i,strategy:c}=n;const d=c==="fixed",m=On(i),p=s?Ro(s.floating):!1;if(i===m||p&&d)return l;let h={scrollLeft:0,scrollTop:0},g=An(1);const v=An(0),x=Nn(i);if((x||!x&&!d)&&((xr(i)!=="body"||ql(m))&&(h=Mo(i)),Nn(i))){const S=hs(i);g=fr(i),v.x=S.x+i.clientLeft,v.y=S.y+i.clientTop}const w=m&&!x&&!d?U0(m,h):An(0);return{width:l.width*g.x,height:l.height*g.y,x:l.x*g.x-h.scrollLeft*g.x+v.x+w.x,y:l.y*g.y-h.scrollTop*g.y+v.y+w.y}}function wC(n){return Array.from(n.getClientRects())}function CC(n){const s=On(n),l=Mo(n),i=n.ownerDocument.body,c=Vt(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),d=Vt(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let m=-l.scrollLeft+zo(n);const p=-l.scrollTop;return mn(i).direction==="rtl"&&(m+=Vt(s.clientWidth,i.clientWidth)-c),{width:c,height:d,x:m,y:p}}const $g=25;
vendor: 5,079 bytes, line 49
49function jC(n,s){const l=Kt(n),i=On(n),c=l.visualViewport;let d=i.clientWidth,m=i.clientHeight,p=0,h=0;if(c){d=c.width,m=c.height;const v=rf();(!v||v&&s==="fixed")&&(p=c.offsetLeft,h=c.offsetTop)}const g=zo(i);if(g<=0){const v=i.ownerDocument,x=v.body,w=getComputedStyle(x),S=v.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,C=Math.abs(i.clientWidth-x.clientWidth-S);C<=$g&&(d-=C)}else g<=$g&&(d+=g);return{width:d,height:m,x:p,y:h}}const AC=new Set(["absolute","fixed"]);function NC(n,s){const l=hs(n,!0,s==="fixed"),i=l.top+n.clientTop,c=l.left+n.clientLeft,d=Nn(n)?fr(n):An(1),m=n.clientWidth*d.x,p=n.clientHeight*d.y,h=c*d.x,g=i*d.y;return{width:m,height:p,x:h,y:g}}function Ig(n,s,l){let i;if(s==="viewport")i=jC(n,l);else if(s==="document")i=CC(On(n));else if(fn(s))i=NC(s,l);else{const c=H0(n);i={x:s.x-c.x,y:s.y-c.y,width:s.width,height:s.height}}return vo(i)}function q0(n,s){const l=Ha(n);return l===s||!fn(l)||pr(l)?!1:mn(l).position==="fixed"||q0(l,s)}function EC(n,s){const l=s.get(n);if(l)return l;let i=Ml(n,[],!1).filter(p=>fn(p)&&xr(p)!=="body"),c=null;const d=mn(n).position==="fixed";let m=d?Ha(n):n;for(;fn(m)&&!pr(m);){const p=mn(m),h=sf(m);!h&&p.position==="fixed"&&(c=null),(d?!h&&!c:!h&&p.position==="static"&&!!c&&AC.has(c.position)||ql(m)&&!h&&q0(n,m))?i=i.filter(v=>v!==m):c=p,m=Ha(m)}return s.set(n,i),i}function OC(n){let{element:s,boundary:l,rootBoundary:i,strategy:c}=n;const m=[...l==="clippingAncestors"?Ro(s)?[]:EC(s,this._c):[].concat(l),i],p=m[0],h=m.reduce((g,v)=>{const x=Ig(s,v,c);return g.top=Vt(x.top,g.top),g.right=ka(x.right,g.right),g.bottom=ka(x.bottom,g.bottom),g.left=Vt(x.left,g.left),g},Ig(s,p,c));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function TC(n){const{width:s,height:l}=k0(n);return{width:s,height:l}}function _C(n,s,l){const i=Nn(s),c=On(s),d=l==="fixed",m=hs(n,!0,d,s);let p={scrollLeft:0,scrollTop:0};const h=An(0);function g(){h.x=zo(c)}if(i||!i&&!d)if((xr(s)!=="body"||ql(c))&&(p=Mo(s)),i){const S=hs(s,!0,d,s);h.x=S.x+s.clientLeft,h.y=S.y+s.clientTop}else c&&g();d&&!i&&c&&g();const v=c&&!i&&!d?U0(c,p):An(0),x=m.left+p.scrollLeft-h.x-v.x,w=m.top+p.scrollTop-h.y-v.y;return{x,y:w,width:m.width,height:m.height}}function id(n){return mn(n).position==="static"}function Wg(n,s){if(!Nn(n)||mn(n).position==="fixed")return null;if(s)return s(n);let l=n.offsetParent;return On(n)===l&&(l=l.ownerDocument.body),l}function L0(n,s){const l=Kt(n);if(Ro(n))return l;if(!Nn(n)){let c=Ha(n);for(;c&&!pr(c);){if(fn(c)&&!id(c))return c;c=Ha(c)}return l}let i=Wg(n,s);for(;i&&fC(i)&&id(i);)i=Wg(i,s);return i&&pr(i)&&id(i)&&!sf(i)?l:i||yC(n)||l}const RC=async function(n){const s=this.getOffsetParent||L0,l=this.getDimensions,i=await l(n.floating);return{reference:_C(n.reference,await s(n.floating),n.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function MC(n){return mn(n).direction==="rtl"}const zC={convertOffsetParentRelativeRectToViewportRelativeRect:SC,getDocumentElement:On,getClippingRect:OC,getOffsetParent:L0,getElementRects:RC,getClientRects:wC,getDimensions:TC,getScale:fr,isElement:fn,isRTL:MC};function B0(n,s){return n.x===s.x&&n.y===s.y&&n.width===s.width&&n.height===s.height}function DC(n,s){let l=null,i;const c=On(n);function d(){var p;clearTimeout(i),(p=l)==null||p.disconnect(),l=null}function m(p,h){p===void 0&&(p=!1),h===void 0&&(h=1),d();const g=n.getBoundingClientRect(),{left:v,top:x,width:w,height:S}=g;if(p||s(),!w||!S)return;const C=lo(x),j=lo(c.clientWidth-(v+w)),z=lo(c.clientHeight-(x+S)),U=lo(v),$={rootMargin:-C+"px "+-j+"px "+-z+"px "+-U+"px",threshold:Vt(0,ka(1,h))||1};let J=!0;function G(F){const _=F[0].intersectionRatio;if(_!==h){if(!J)return m();_?m(!1,_):i=setTimeout(()=>{m(!1,1e-7)},1e3)}_===1&&!B0(g,n.getBoundingClientRect())&&m(),J=!1}try{l=new IntersectionObserver(G,{...$,root:c.ownerDocument})}catch{l=new IntersectionObserver(G,$)}l.observe(n)}return m(!0),d}function PC(n,s,l,i){i===void 0&&(i={});const{ancestorScroll:c=!0,ancestorResize:d=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:p=typeof IntersectionObserver=="function",animationFrame:h=!1}=i,g=lf(n),v=c||d?[...g?Ml(g):[],...Ml(s)]:[];v.forEach(U=>{c&&U.addEventListener("scroll",l,{passive:!0}),d&&U.addEventListener("resize",l)});const x=g&&p?DC(g,l):null;let w=-1,S=null;m&&(S=new ResizeObserver(U=>{let[I]=U;I&&I.target===g&&S&&(S.unobserve(s),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var $;($=S)==null||$.observe(s)})),l()}),g&&!h&&S.observe(g),S.observe(s));let C,j=h?hs(n):null;h&&z();function z(){const U=hs(n);j&&!B0(j,U)&&l(),j=U,C=requestAnimationFrame(z)}return l(),()=>{var U;v.forEach(I=>{c&&I.removeEventListener("scroll",l),d&&I.removeEventListener("resize",l)}),x?.(),(U=S)==null||U.disconnect(),S=null,h&&cancelAnimationFrame(C)}}const kC=lC,HC=iC,UC=aC,qC=cC,LC=sC,ey=nC,BC=oC,QC=(n,s,l)=>{const i=new Map,c={platform:zC,...l},d={...c.platform,_c:i};return tC(n,s,{...c,platform:d})};var FC=typeof document<"u",GC=function(){},ho=FC?E.useLayoutEffect:GC;function bo(n,s){if(n===s)return!0;
vendor: 6,282 bytes, line 49
49if(typeof n!=typeof s)return!1;if(typeof n=="function"&&n.toString()===s.toString())return!0;let l,i,c;if(n&&s&&typeof n=="object"){if(Array.isArray(n)){if(l=n.length,l!==s.length)return!1;for(i=l;i--!==0;)if(!bo(n[i],s[i]))return!1;return!0}if(c=Object.keys(n),l=c.length,l!==Object.keys(s).length)return!1;for(i=l;i--!==0;)if(!{}.hasOwnProperty.call(s,c[i]))return!1;for(i=l;i--!==0;){const d=c[i];if(!(d==="_owner"&&n.$$typeof)&&!bo(n[d],s[d]))return!1}return!0}return n!==n&&s!==s}function Q0(n){return typeof window>"u"?1:(n.ownerDocument.defaultView||window).devicePixelRatio||1}function ty(n,s){const l=Q0(n);return Math.round(s*l)/l}function od(n){const s=E.useRef(n);return ho(()=>{s.current=n}),s}function YC(n){n===void 0&&(n={});const{placement:s="bottom",strategy:l="absolute",middleware:i=[],platform:c,elements:{reference:d,floating:m}={},transform:p=!0,whileElementsMounted:h,open:g}=n,[v,x]=E.useState({x:0,y:0,strategy:l,placement:s,middlewareData:{},isPositioned:!1}),[w,S]=E.useState(i);bo(w,i)||S(i);const[C,j]=E.useState(null),[z,U]=E.useState(null),I=E.useCallback(M=>{M!==F.current&&(F.current=M,j(M))},[]),$=E.useCallback(M=>{M!==_.current&&(_.current=M,U(M))},[]),J=d||C,G=m||z,F=E.useRef(null),_=E.useRef(null),q=E.useRef(v),ee=h!=null,V=od(h),ne=od(c),W=od(g),re=E.useCallback(()=>{if(!F.current||!_.current)return;const M={placement:s,strategy:l,middleware:w};ne.current&&(M.platform=ne.current),QC(F.current,_.current,M).then(se=>{const me={...se,isPositioned:W.current!==!1};le.current&&!bo(q.current,me)&&(q.current=me,ef.flushSync(()=>{x(me)}))})},[w,s,l,ne,W]);ho(()=>{g===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,x(M=>({...M,isPositioned:!1})))},[g]);const le=E.useRef(!1);ho(()=>(le.current=!0,()=>{le.current=!1}),[]),ho(()=>{if(J&&(F.current=J),G&&(_.current=G),J&&G){if(V.current)return V.current(J,G,re);re()}},[J,G,re,V,ee]);const ce=E.useMemo(()=>({reference:F,floating:_,setReference:I,setFloating:$}),[I,$]),O=E.useMemo(()=>({reference:J,floating:G}),[J,G]),L=E.useMemo(()=>{const M={position:l,left:0,top:0};if(!O.floating)return M;const se=ty(O.floating,v.x),me=ty(O.floating,v.y);return p?{...M,transform:"translate("+se+"px, "+me+"px)",...Q0(O.floating)>=1.5&&{willChange:"transform"}}:{position:l,left:se,top:me}},[l,p,O.floating,v.x,v.y]);return E.useMemo(()=>({...v,update:re,refs:ce,elements:O,floatingStyles:L}),[v,re,ce,O,L])}const VC=n=>{function s(l){return{}.hasOwnProperty.call(l,"current")}return{name:"arrow",options:n,fn(l){const{element:i,padding:c}=typeof n=="function"?n(l):n;return i&&s(i)?i.current!=null?ey({element:i.current,padding:c}).fn(l):{}:i?ey({element:i,padding:c}).fn(l):{}}}},XC=(n,s)=>({...kC(n),options:[n,s]}),KC=(n,s)=>({...HC(n),options:[n,s]}),ZC=(n,s)=>({...BC(n),options:[n,s]}),JC=(n,s)=>({...UC(n),options:[n,s]}),$C=(n,s)=>({...qC(n),options:[n,s]}),IC=(n,s)=>({...LC(n),options:[n,s]}),WC=(n,s)=>({...VC(n),options:[n,s]});var ej="Arrow",F0=E.forwardRef((n,s)=>{const{children:l,width:i=10,height:c=5,...d}=n;return f.jsx(bs.svg,{...d,ref:s,width:i,height:c,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:n.asChild?l:f.jsx("polygon",{points:"0,0 30,0 15,10"})})});F0.displayName=ej;var tj=F0;function nj(n){const[s,l]=E.useState(void 0);return _l(()=>{if(n){l({width:n.offsetWidth,height:n.offsetHeight});const i=new ResizeObserver(c=>{if(!Array.isArray(c)||!c.length)return;const d=c[0];let m,p;if("borderBoxSize"in d){const h=d.borderBoxSize,g=Array.isArray(h)?h[0]:h;m=g.inlineSize,p=g.blockSize}else m=n.offsetWidth,p=n.offsetHeight;l({width:m,height:p})});return i.observe(n,{box:"border-box"}),()=>i.unobserve(n)}else l(void 0)},[n]),s}var G0="Popper",[Y0,V0]=N0(G0),[H4,X0]=Y0(G0),K0="PopperAnchor",Z0=E.forwardRef((n,s)=>{const{__scopePopper:l,virtualRef:i,...c}=n,d=X0(K0,l),m=E.useRef(null),p=vs(s,m),h=E.useRef(null);return E.useEffect(()=>{const g=h.current;h.current=i?.current||m.current,g!==h.current&&d.onAnchorChange(h.current)}),i?null:f.jsx(bs.div,{...c,ref:p})});Z0.displayName=K0;var of="PopperContent",[aj,sj]=Y0(of),J0=E.forwardRef((n,s)=>{const{__scopePopper:l,side:i="bottom",sideOffset:c=0,align:d="center",alignOffset:m=0,arrowPadding:p=0,avoidCollisions:h=!0,collisionBoundary:g=[],collisionPadding:v=0,sticky:x="partial",hideWhenDetached:w=!1,updatePositionStrategy:S="optimized",onPlaced:C,...j}=n,z=X0(of,l),[U,I]=E.useState(null),$=vs(s,oe=>I(oe)),[J,G]=E.useState(null),F=nj(J),_=F?.width??0,q=F?.height??0,ee=i+(d!=="center"?"-"+d:""),V=typeof v=="number"?v:{top:0,right:0,bottom:0,left:0,...v},ne=Array.isArray(g)?g:[g],W=ne.length>0,re={padding:V,boundary:ne.filter(lj),altBoundary:W},{refs:le,floatingStyles:ce,placement:O,isPositioned:L,middlewareData:M}=YC({strategy:"fixed",placement:ee,whileElementsMounted:(...oe)=>PC(...oe,{animationFrame:S==="always"}),elements:{reference:z.anchor},middleware:[XC({mainAxis:c+q,alignmentAxis:m}),h&&KC({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?ZC():void 0,...re}),h&&JC({...re}),$C({...re,apply:({elements:oe,rects:xe,availableWidth:Oe,availableHeight:ot})=>{const{width:vt,height:ct}=xe.reference,Tn=oe.floating.style;Tn.setProperty("--radix-popper-available-width",`${Oe}px`),Tn.setProperty("--radix-popper-available-height",`${ot}px`),Tn.setProperty("--radix-popper-anchor-width",`${vt}px`),Tn.setProperty("--radix-popper-anchor-height",`${ct}px`)}}),J&&WC({element:J,padding:p}),ij({arrowWidth:_,arrowHeight:q}),w&&IC({strategy:"referenceHidden",...re})]}),[se,me]=W0(O),A=To(C);_l(()=>{L&&A?.()},[L,A]);const Q=M.arrow?.x,k=M.arrow?.y,Y=M.arrow?.centerOffset!==0,[te,he]=E.useState();return _l(()=>{U&&he(window.getComputedStyle(U).zIndex)},[U]),f.jsx("div",{ref:le.setFloating,"data-radix-popper-content-wrapper":"",style:{...ce,transform:L?ce.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:te,"--radix-popper-transform-origin":[M.transformOrigin?.x,M.transformOrigin?.y].join(" "),...M.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:n.dir,children:f.jsx(aj,{scope:l,placedSide:se,onArrowChange:G,arrowX:Q,arrowY:k,shouldHideArrow:Y,children:f.jsx(bs.div,{"data-side":se,"data-align":me,...j,ref:$,style:{...j.style,animation:L?void 0:"none"}})})})});J0.displayName=of;var $0="PopperArrow",rj={top:"bottom",right:"left",bottom:"top",left:"r
49ight"},I0=E.forwardRef(function(s,l){const{__scopePopper:i,...c}=s,d=sj($0,i),m=rj[d.placedSide];return f.jsx("span",{ref:d.onArrowChange,style:{position:"absolute",left:d.arrowX,top:d.arrowY,[m]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[d.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[d.placedSide],visibility:d.shouldHideArrow?"hidden":void 0},children:f.jsx(tj,{...c,ref:l,style:{...c.style,display:"block"}})})});I0.displayName=$0;function lj(n){return n!==null}var ij=n=>({name:"transformOrigin",options:n,fn(s){const{placement:l,rects:i,middlewareData:c}=s,m=c.arrow?.centerOffset!==0,p=m?0:n.arrowWidth,h=m?0:n.arrowHeight,[g,v]=W0(l),x={start:"0%",center:"50%",end:"100%"}[v],w=(c.arrow?.x??0)+p/2,S=(c.arrow?.y??0)+h/2;let C="",j="";return g==="bottom"?(C=m?x:`${w}px`,j=`${-h}px`):g==="top"?(C=m?x:`${w}px`,j=`${i.floating.height+h}px`):g==="right"?(C=`${-h}px`,j=m?x:`${S}px`):g==="left"&&(C=`${i.floating.width+h}px`,j=m?x:`${S}px`),{data:{x:C,y:j}}}});function W0(n){const[s,l="center"]=n.split("-");return[s,l]}var oj=Z0,cj=J0,uj=I0;function dj(n,s){return E.useReducer((l,i)=>s[l][i]??l,n)}var ex=n=>{const{present:s,children:l}=n,i=fj(s),c=typeof l=="function"?l({present:i.isPresent}):E.Children.only(l),d=vs(i.ref,mj(c));return typeof l=="function"||i.isPresent?E.cloneElement(c,{ref:d}):null};ex.displayName="Presence";function fj(n){const[s,l]=E.useState(),i=E.useRef(null),c=E.useRef(n),d=E.useRef("none"),m=n?"mounted":"unmounted",[p,h]=dj(m,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return E.useEffect(()=>{const g=io(i.current);d.current=p==="mounted"?g:"none"},[p]),_l(()=>{const g=i.current,v=c.current;if(v!==n){const w=d.current,S=io(g);n?h("MOUNT"):S==="none"||g?.display==="none"?h("UNMOUNT"):h(v&&w!==S?"ANIMATION_OUT":"UNMOUNT"),c.current=n}},[n,h]),_l(()=>{if(s){let g;const v=s.ownerDocument.defaultView??window,x=S=>{const j=io(i.current).includes(CSS.escape(S.animationName));if(S.target===s&&j&&(h("ANIMATION_END"),!c.current)){const z=s.style.animationFillMode;s.style.animationFillMode="forwards",g=v.setTimeout(()=>{s.style.animationFillMode==="forwards"&&(s.style.animationFillMode=z)})}},w=S=>{S.target===s&&(d.current=io(i.current))};return s.addEventListener("animationstart",w),s.addEventListener("animationcancel",x),s.addEventListener("animationend",x),()=>{v.clearTimeout(g),s.removeEventListener("animationstart",w),s.removeEventListener("animationcancel",x),s.removeEventListener("animationend",x)}}else h("ANIMATION_END")},[s,h]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:E.useCallback(g=>{i.current=g?getComputedStyle(g):null,l(g)},[])}}function io(n){return n?.animationName||"none"}function mj(n){let s=Object.getOwnPropertyDescriptor(n.props,"ref")?.get,l=s&&"isReactWarning"in s&&s.isReactWarning;return l?n.ref:(s=Object.getOwnPropertyDescriptor(n,"ref")?.get,l=s&&"isReactWarning"in s&&s.isReactWarning,l?n.props.ref:n.props.ref||n.ref)}var hj=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"}),pj="VisuallyHidden",tx=E.forwardRef((n,s)=>f.jsx(bs.span,{...n,ref:s,style:{...hj,...n.style}}));tx.displayName=pj;var gj=tx,[Do]=N0("Tooltip",[V0]),cf=V0(),nx="TooltipProvider",yj=700,ny="tooltip.open",[xj,ax]=Do(nx),sx=n=>{const{__scopeTooltip:s,delayDuration:l=yj,skipDelayDuration:i=300,disableHoverableContent:c=!1,children:d}=n,m=E.useRef(!0),p=E.useRef(!1),h=E.useRef(0);return E.useEffect(()=>{const g=h.current;return()=>window.clearTimeout(g)},[]),f.jsx(xj,{scope:s,isOpenDelayedRef:m,delayDuration:l,onOpen:E.useCallback(()=>{window.clearTimeout(h.current),m.current=!1},[]),onClose:E.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>m.current=!0,i)},[i]),isPointerInTransitRef:p,onPointerInTransitChange:E.useCallback(g=>{p.current=g},[]),disableHoverableContent:c,children:d})};sx.displayName=nx;var rx="Tooltip",[U4,Po]=Do(rx),Hd="TooltipTrigger",vj=E.forwardRef((n,s)=>{const{__scopeTooltip:l,...i}=n,c=Po(Hd,l),d=ax(Hd,l),m=cf(l),p=E.useRef(null),h=vs(s,p,c.onTriggerChange),g=E.useRef(!1),v=E.useRef(!1),x=E.useCallback(()=>g.current=!1,[]);return E.useEffect(()=>()=>document.removeEventListener("pointerup",x),[x]),f.jsx(oj,{asChild:!0,...m,children:f.jsx(bs.button,{"aria-describedby":c.open?c.c
vendor: 5,914 bytes, line 49
49ontentId:void 0,"data-state":c.stateAttribute,...i,ref:h,onPointerMove:In(n.onPointerMove,w=>{w.pointerType!=="touch"&&!v.current&&!d.isPointerInTransitRef.current&&(c.onTriggerEnter(),v.current=!0)}),onPointerLeave:In(n.onPointerLeave,()=>{c.onTriggerLeave(),v.current=!1}),onPointerDown:In(n.onPointerDown,()=>{c.open&&c.onClose(),g.current=!0,document.addEventListener("pointerup",x,{once:!0})}),onFocus:In(n.onFocus,()=>{g.current||c.onOpen()}),onBlur:In(n.onBlur,c.onClose),onClick:In(n.onClick,c.onClose)})})});vj.displayName=Hd;var bj="TooltipPortal",[q4,Sj]=Do(bj,{forceMount:void 0}),gr="TooltipContent",wj=E.forwardRef((n,s)=>{const l=Sj(gr,n.__scopeTooltip),{forceMount:i=l.forceMount,side:c="top",...d}=n,m=Po(gr,n.__scopeTooltip);return f.jsx(ex,{present:i||m.open,children:m.disableHoverableContent?f.jsx(lx,{side:c,...d,ref:s}):f.jsx(Cj,{side:c,...d,ref:s})})}),Cj=E.forwardRef((n,s)=>{const l=Po(gr,n.__scopeTooltip),i=ax(gr,n.__scopeTooltip),c=E.useRef(null),d=vs(s,c),[m,p]=E.useState(null),{trigger:h,onClose:g}=l,v=c.current,{onPointerInTransitChange:x}=i,w=E.useCallback(()=>{p(null),x(!1)},[x]),S=E.useCallback((C,j)=>{const z=C.currentTarget,U={x:C.clientX,y:C.clientY},I=Oj(U,z.getBoundingClientRect()),$=Tj(U,I),J=_j(j.getBoundingClientRect()),G=Mj([...$,...J]);p(G),x(!0)},[x]);return E.useEffect(()=>()=>w(),[w]),E.useEffect(()=>{if(h&&v){const C=z=>S(z,v),j=z=>S(z,h);return h.addEventListener("pointerleave",C),v.addEventListener("pointerleave",j),()=>{h.removeEventListener("pointerleave",C),v.removeEventListener("pointerleave",j)}}},[h,v,S,w]),E.useEffect(()=>{if(m){const C=j=>{const z=j.target,U={x:j.clientX,y:j.clientY},I=h?.contains(z)||v?.contains(z),$=!Rj(U,m);I?w():$&&(w(),g())};return document.addEventListener("pointermove",C),()=>document.removeEventListener("pointermove",C)}},[h,v,m,g,w]),f.jsx(lx,{...n,ref:d})}),[jj,Aj]=Do(rx,{isInside:!1}),Nj=_w("TooltipContent"),lx=E.forwardRef((n,s)=>{const{__scopeTooltip:l,children:i,"aria-label":c,onEscapeKeyDown:d,onPointerDownOutside:m,...p}=n,h=Po(gr,l),g=cf(l),{onClose:v}=h;return E.useEffect(()=>(document.addEventListener(ny,v),()=>document.removeEventListener(ny,v)),[v]),E.useEffect(()=>{if(h.trigger){const x=w=>{w.target?.contains(h.trigger)&&v()};return window.addEventListener("scroll",x,{capture:!0}),()=>window.removeEventListener("scroll",x,{capture:!0})}},[h.trigger,v]),f.jsx(_0,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:d,onPointerDownOutside:m,onFocusOutside:x=>x.preventDefault(),onDismiss:v,children:f.jsxs(cj,{"data-state":h.stateAttribute,...g,...p,ref:s,style:{...p.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:[f.jsx(Nj,{children:i}),f.jsx(jj,{scope:l,isInside:!0,children:f.jsx(gj,{id:h.contentId,role:"tooltip",children:c||i})})]})})});wj.displayName=gr;var ix="TooltipArrow",Ej=E.forwardRef((n,s)=>{const{__scopeTooltip:l,...i}=n,c=cf(l);return Aj(ix,l).isInside?null:f.jsx(uj,{...c,...i,ref:s})});Ej.displayName=ix;function Oj(n,s){const l=Math.abs(s.top-n.y),i=Math.abs(s.bottom-n.y),c=Math.abs(s.right-n.x),d=Math.abs(s.left-n.x);switch(Math.min(l,i,c,d)){case d:return"left";case c:return"right";case l:return"top";case i:return"bottom";default:throw new Error("unreachable")}}function Tj(n,s,l=5){const i=[];switch(s){case"top":i.push({x:n.x-l,y:n.y+l},{x:n.x+l,y:n.y+l});break;case"bottom":i.push({x:n.x-l,y:n.y-l},{x:n.x+l,y:n.y-l});break;case"left":i.push({x:n.x+l,y:n.y-l},{x:n.x+l,y:n.y+l});break;case"right":i.push({x:n.x-l,y:n.y-l},{x:n.x-l,y:n.y+l});break}return i}function _j(n){const{top:s,right:l,bottom:i,left:c}=n;return[{x:c,y:s},{x:l,y:s},{x:l,y:i},{x:c,y:i}]}function Rj(n,s){const{x:l,y:i}=n;let c=!1;for(let d=0,m=s.length-1;d<s.length;m=d++){const p=s[d],h=s[m],g=p.x,v=p.y,x=h.x,w=h.y;v>i!=w>i&&l<(x-g)*(i-v)/(w-v)+g&&(c=!c)}return c}function Mj(n){const s=n.slice();return s.sort((l,i)=>l.x<i.x?-1:l.x>i.x?1:l.y<i.y?-1:l.y>i.y?1:0),zj(s)}function zj(n){if(n.length<=1)return n.slice();const s=[];for(let i=0;i<n.length;i++){const c=n[i];for(;s.length>=2;){const d=s[s.length-1],m=s[s.length-2];if((d.x-m.x)*(c.y-m.y)>=(d.y-m.y)*(c.x-m.x))s.pop();else break}s.push(c)}s.pop();const l=[];for(let i=n.length-1;i>=0;i--){const c=n[i];for(;l.length>=2;){const d=l[l.length-1],m=l[l.length-2];if((d.x-m.x)*(c.y-m.y)>=(d.y-m.y)*(c.x-m.x))l.pop();else break}l.push(c)}return l.pop(),s.length===1&&l.length===1&&s[0].x===l[0].x&&s[0].y===l[0].y?s:s.concat(l)}var Dj=sx;function ox(n){var s,l,i="";if(typeof n=="string"||typeof n=="number")i+=n;else if(typeof n=="object")if(Array.isArray(n)){var c=n.length;for(s=0;s<c;s++)n[s]&&(l=ox(n[s]))&&(i&&(i+=" "),i+=l)}else for(l in n)n[l]&&(i&&(i+=" "),i+=l);return i}function cx(){for(var n,s,l=0,i="",c=arguments.length;l<c;l++)(n=arguments[l])&&(s=ox(n))&&(i&&(i+=" "),i+=s);return i}const uf="-",Pj=n=>{const s=Hj(n),{conflictingClassGroups:l,conflictingClassGroupModifiers:i}=n;return{getClassGroupId:m=>{const p=m.split(uf);return p[0]===""&&p.length!==1&&p.shift(),ux(p,s)||kj(m)},getConflictingClassGroupIds:(m,p)=>{const h=l[m]||[];return p&&i[m]?[...h,...i[m]]:h}}},ux=(n,s)=>{if(n.length===0)return s.classGroupId;const l=n[0],i=s.nextPart.get(l),c=i?ux(n.slice(1),i):void 0;if(c)return c;if(s.validators.length===0)return;const d=n.join(uf);return s.validators.find(({validator:m})=>m(d))?.classGroupId},ay=/^\[(.+)\]$/,kj=n=>{if(ay.test(n)){const s=ay.exec(n)[1],l=s?.substring(0,s.indexOf(":"));if(l)return"arbitrary.."+l}},Hj=n=>{const{theme:s,classGroups:l}=n,i={nextPart:new Map,validators:[]};for(const c in l)Ud(l[c],i,c,s);return i},Ud=(n,s,l,i)=>
vendor: 3,770 bytes, line 49
49{n.forEach(c=>{if(typeof c=="string"){const d=c===""?s:sy(s,c);d.classGroupId=l;return}if(typeof c=="function"){if(Uj(c)){Ud(c(i),s,l,i);return}s.validators.push({validator:c,classGroupId:l});return}Object.entries(c).forEach(([d,m])=>{Ud(m,sy(s,d),l,i)})})},sy=(n,s)=>{let l=n;return s.split(uf).forEach(i=>{l.nextPart.has(i)||l.nextPart.set(i,{nextPart:new Map,validators:[]}),l=l.nextPart.get(i)}),l},Uj=n=>n.isThemeGetter,qj=n=>{if(n<1)return{get:()=>{},set:()=>{}};let s=0,l=new Map,i=new Map;const c=(d,m)=>{l.set(d,m),s++,s>n&&(s=0,i=l,l=new Map)};return{get(d){let m=l.get(d);if(m!==void 0)return m;if((m=i.get(d))!==void 0)return c(d,m),m},set(d,m){l.has(d)?l.set(d,m):c(d,m)}}},qd="!",Ld=":",Lj=Ld.length,Bj=n=>{const{prefix:s,experimentalParseClassName:l}=n;let i=c=>{const d=[];let m=0,p=0,h=0,g;for(let C=0;C<c.length;C++){let j=c[C];if(m===0&&p===0){if(j===Ld){d.push(c.slice(h,C)),h=C+Lj;continue}if(j==="/"){g=C;continue}}j==="["?m++:j==="]"?m--:j==="("?p++:j===")"&&p--}const v=d.length===0?c:c.substring(h),x=Qj(v),w=x!==v,S=g&&g>h?g-h:void 0;return{modifiers:d,hasImportantModifier:w,baseClassName:x,maybePostfixModifierPosition:S}};if(s){const c=s+Ld,d=i;i=m=>m.startsWith(c)?d(m.substring(c.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:m,maybePostfixModifierPosition:void 0}}if(l){const c=i;i=d=>l({className:d,parseClassName:c})}return i},Qj=n=>n.endsWith(qd)?n.substring(0,n.length-1):n.startsWith(qd)?n.substring(1):n,Fj=n=>{const s=Object.fromEntries(n.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const c=[];let d=[];return i.forEach(m=>{m[0]==="["||s[m]?(c.push(...d.sort(),m),d=[]):d.push(m)}),c.push(...d.sort()),c}},Gj=n=>({cache:qj(n.cacheSize),parseClassName:Bj(n),sortModifiers:Fj(n),...Pj(n)}),Yj=/\s+/,Vj=(n,s)=>{const{parseClassName:l,getClassGroupId:i,getConflictingClassGroupIds:c,sortModifiers:d}=s,m=[],p=n.trim().split(Yj);let h="";for(let g=p.length-1;g>=0;g-=1){const v=p[g],{isExternal:x,modifiers:w,hasImportantModifier:S,baseClassName:C,maybePostfixModifierPosition:j}=l(v);if(x){h=v+(h.length>0?" "+h:h);continue}let z=!!j,U=i(z?C.substring(0,j):C);if(!U){if(!z){h=v+(h.length>0?" "+h:h);continue}if(U=i(C),!U){h=v+(h.length>0?" "+h:h);continue}z=!1}const I=d(w).join(":"),$=S?I+qd:I,J=$+U;if(m.includes(J))continue;m.push(J);const G=c(U,z);for(let F=0;F<G.length;++F){const _=G[F];m.push($+_)}h=v+(h.length>0?" "+h:h)}return h};function Xj(){let n=0,s,l,i="";for(;n<arguments.length;)(s=arguments[n++])&&(l=dx(s))&&(i&&(i+=" "),i+=l);return i}const dx=n=>{if(typeof n=="string")return n;let s,l="";for(let i=0;i<n.length;i++)n[i]&&(s=dx(n[i]))&&(l&&(l+=" "),l+=s);return l};function Kj(n,...s){let l,i,c,d=m;function m(h){const g=s.reduce((v,x)=>x(v),n());return l=Gj(g),i=l.cache.get,c=l.cache.set,d=p,p(h)}function p(h){const g=i(h);if(g)return g;const v=Vj(h,l);return c(h,v),v}return function(){return d(Xj.apply(null,arguments))}}const st=n=>{const s=l=>l[n]||[];return s.isThemeGetter=!0,s},fx=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,mx=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Zj=/^\d+\/\d+$/,Jj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,$j=/\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$/,Ij=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Wj=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eA=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ur=n=>Zj.test(n),Ce=n=>!!n&&!Number.isNaN(Number(n)),_a=n=>!!n&&Number.isInteger(Number(n)),cd=n=>n.endsWith("%")&&Ce(n.slice(0,-1)),Zn=n=>Jj.test(n),tA=()=>!0,nA=n=>$j.test(n)&&!Ij.test(n),hx=()=>!1,aA=n=>Wj.test(n),sA=n=>eA.test(n),rA=n=>!de(n)&&!fe(n),lA=n=>vr(n,yx,hx),de=n=>fx.test(n),cs=n=>
vendor: 4,162 bytes, line 49
49vr(n,xx,nA),ud=n=>vr(n,dA,Ce),ry=n=>vr(n,px,hx),iA=n=>vr(n,gx,sA),oo=n=>vr(n,vx,aA),fe=n=>mx.test(n),vl=n=>br(n,xx),oA=n=>br(n,fA),ly=n=>br(n,px),cA=n=>br(n,yx),uA=n=>br(n,gx),co=n=>br(n,vx,!0),vr=(n,s,l)=>{const i=fx.exec(n);return i?i[1]?s(i[1]):l(i[2]):!1},br=(n,s,l=!1)=>{const i=mx.exec(n);return i?i[1]?s(i[1]):l:!1},px=n=>n==="position"||n==="percentage",gx=n=>n==="image"||n==="url",yx=n=>n==="length"||n==="size"||n==="bg-size",xx=n=>n==="length",dA=n=>n==="number",fA=n=>n==="family-name",vx=n=>n==="shadow",mA=()=>{const n=st("color"),s=st("font"),l=st("text"),i=st("font-weight"),c=st("tracking"),d=st("leading"),m=st("breakpoint"),p=st("container"),h=st("spacing"),g=st("radius"),v=st("shadow"),x=st("inset-shadow"),w=st("text-shadow"),S=st("drop-shadow"),C=st("blur"),j=st("perspective"),z=st("aspect"),U=st("ease"),I=st("animate"),$=()=>["auto","avoid","all","avoid-page","page","left","right","column"],J=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],G=()=>[...J(),fe,de],F=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],q=()=>[fe,de,h],ee=()=>[ur,"full","auto",...q()],V=()=>[_a,"none","subgrid",fe,de],ne=()=>["auto",{span:["full",_a,fe,de]},_a,fe,de],W=()=>[_a,"auto",fe,de],re=()=>["auto","min","max","fr",fe,de],le=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ce=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...q()],L=()=>[ur,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...q()],M=()=>[n,fe,de],se=()=>[...J(),ly,ry,{position:[fe,de]}],me=()=>["no-repeat",{repeat:["","x","y","space","round"]}],A=()=>["auto","cover","contain",cA,lA,{size:[fe,de]}],Q=()=>[cd,vl,cs],k=()=>["","none","full",g,fe,de],Y=()=>["",Ce,vl,cs],te=()=>["solid","dashed","dotted","double"],he=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],oe=()=>[Ce,cd,ly,ry],xe=()=>["","none",C,fe,de],Oe=()=>["none",Ce,fe,de],ot=()=>["none",Ce,fe,de],vt=()=>[Ce,fe,de],ct=()=>[ur,"full",...q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Zn],breakpoint:[Zn],color:[tA],container:[Zn],"drop-shadow":[Zn],ease:["in","out","in-out"],font:[rA],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Zn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Zn],shadow:[Zn],spacing:["px",Ce],text:[Zn],"text-shadow":[Zn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ur,de,fe,z]}],container:["container"],columns:[{columns:[Ce,de,fe,p]}],"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:G()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ee()}],"inset-x":[{"inset-x":ee()}],"inset-y":[{"inset-y":ee()}],start:[{start:ee()}],end:[{end:ee()}],top:[{top:ee()}
vendor: 4,375 bytes, line 49
49],right:[{right:ee()}],bottom:[{bottom:ee()}],left:[{left:ee()}],visibility:["visible","invisible","collapse"],z:[{z:[_a,"auto",fe,de]}],basis:[{basis:[ur,"full","auto",p,...q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ce,ur,"auto","initial","none",de]}],grow:[{grow:["",Ce,fe,de]}],shrink:[{shrink:["",Ce,fe,de]}],order:[{order:[_a,"first","last","none",fe,de]}],"grid-cols":[{"grid-cols":V()}],"col-start-end":[{col:ne()}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":V()}],"row-start-end":[{row:ne()}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":re()}],"auto-rows":[{"auto-rows":re()}],gap:[{gap:q()}],"gap-x":[{"gap-x":q()}],"gap-y":[{"gap-y":q()}],"justify-content":[{justify:[...le(),"normal"]}],"justify-items":[{"justify-items":[...ce(),"normal"]}],"justify-self":[{"justify-self":["auto",...ce()]}],"align-content":[{content:["normal",...le()]}],"align-items":[{items:[...ce(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ce(),{baseline:["","last"]}]}],"place-content":[{"place-content":le()}],"place-items":[{"place-items":[...ce(),"baseline"]}],"place-self":[{"place-self":["auto",...ce()]}],p:[{p:q()}],px:[{px:q()}],py:[{py:q()}],ps:[{ps:q()}],pe:[{pe:q()}],pt:[{pt:q()}],pr:[{pr:q()}],pb:[{pb:q()}],pl:[{pl:q()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":q()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],w:[{w:[p,"screen",...L()]}],"min-w":[{"min-w":[p,"screen","none",...L()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[m]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",l,vl,cs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,fe,ud]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",cd,de]}],"font-family":[{font:[oA,de,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:[c,fe,de]}],"line-clamp":[{"line-clamp":[Ce,"none",fe,ud]}],leading:[{leading:[d,...q()]}],"list-image":[{"list-image":["none",fe,de]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",fe,de]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...te(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ce,"from-font","auto",fe,cs]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[Ce,"auto",fe,de]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",fe,de]}],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,de]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:se()}],"bg-repeat":[{bg:me()}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_a,fe,de],radial:["",fe,de],conic:[_a,fe,de]},uA,iA]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:Q()}
49],"gradient-via-pos":[{via:Q()}],"gradient-to-pos":[{to:Q()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:k()}],"rounded-s":[{"rounded-s":k()}],"rounded-e":[{"rounded-e":k()}],"rounded-t":[{"rounded-t":k()}],"rounded-r":[{"rounded-r":k()}],"rounded-b":[{"rounded-b":k()}],"rounded-l":[{"rounded-l":k()}],"rounded-ss":[{"rounded-ss":k()}],"rounded-se":[{"rounded-se":k()}],"rounded-ee":[{"rounded-ee":k()}],"rounded-es":[{"rounded-es":k()}],"rounded-tl":[{"rounded-tl":k()}],"rounded-tr":[{"rounded-tr":k()}],"rounded-br":[{"rounded-br":k()}],"rounded-bl":[{"rounded-bl":k()}],"border-w":[{border:Y()}],"border-w-x":[{"border-x":Y()}],"border-w-y":[{"border-y":Y()}],"border-w-s":[{"border-s":Y()}],"border-w-e":[{"border-e":Y()}],"border-w-t":[{"border-t":Y()}],"border-w-r":[{"border-r":Y()}],"border-w-b":[{"border-b":Y()}],"border-w-l":[{"border-l":Y()}],"divide-x":[{"divide-x":Y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...te(),"hidden","none"]}],"divide-style":[{divide:[...te(),"hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}
vendor: 5,755 bytes, line 49
49],"divide-color":[{divide:M()}],"outline-style":[{outline:[...te(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ce,fe,de]}],"outline-w":[{outline:["",Ce,vl,cs]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",v,co,oo]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",x,co,oo]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[Ce,cs]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":Y()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",w,co,oo]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[Ce,fe,de]}],"mix-blend":[{"mix-blend":[...he(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":he()}],"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":[Ce]}],"mask-image-linear-from-pos":[{"mask-linear-from":oe()}],"mask-image-linear-to-pos":[{"mask-linear-to":oe()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":oe()}],"mask-image-t-to-pos":[{"mask-t-to":oe()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":oe()}],"mask-image-r-to-pos":[{"mask-r-to":oe()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":oe()}],"mask-image-b-to-pos":[{"mask-b-to":oe()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":oe()}],"mask-image-l-to-pos":[{"mask-l-to":oe()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":oe()}],"mask-image-x-to-pos":[{"mask-x-to":oe()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":oe()}],"mask-image-y-to-pos":[{"mask-y-to":oe()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[fe,de]}],"mask-image-radial-from-pos":[{"mask-radial-from":oe()}],"mask-image-radial-to-pos":[{"mask-radial-to":oe()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"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":J()}],"mask-image-conic-pos":[{"mask-conic":[Ce]}],"mask-image-conic-from-pos":[{"mask-conic-from":oe()}],"mask-image-conic-to-pos":[{"mask-conic-to":oe()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:se()}],"mask-repeat":[{mask:me()}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",fe,de]}],filter:[{filter:["","none",fe,de]}],blur:[{blur:xe()}],brightness:[{brightness:[Ce,fe,de]}],contrast:[{contrast:[Ce,fe,de]}],"drop-shadow":[{"drop-shadow":["","none",S,co,oo]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",Ce,fe,de]}],"hue-rotate":[{"hue-rotate":[Ce,fe,de]}],invert:[{invert:["",Ce,fe,de]}],saturate:[{saturate:[Ce,fe,de]}],sepia:[{sepia:["",Ce,fe,de]}],"backdrop-filter":[{"backdrop-filter":["","none",fe,de]}],"backdrop-blur":[{"backdrop-blur":xe()}],"backdrop-brightness":[{"backdrop-brightness":[Ce,fe,de]}],"backdrop-contrast":[{"backdrop-contrast":[Ce,fe,de]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ce,fe,de]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ce,fe,de]}],"backdrop-invert":[{"backdrop-invert":["",Ce,fe,de]}],"backdrop-opacity":[{"backdrop-opacity":[Ce,fe,de]}],"backdrop-saturate":[{"backdrop-saturate":[Ce,fe,de]}],"backdrop-sepia":[{"backdrop-sepia":["",Ce,fe,de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":q()}],"border-spacing-x":[{"border-spacing-x":q()}],"border-spacing-y":[{"border-spacing-y":q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",fe,de]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ce,"initial",fe,de]}],ease:[{ease:["linear","initial",U,fe,de]}],delay:[{delay:[Ce,fe,de]}],animate:[{animate:["none",I,fe,de]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,fe,de]}],"perspective-origin":[{"perspective-origin":G()}],rotate:[{rotate:Oe()}],"rotate-x":[{"rotate-x":Oe()}],"rotate-y":[{"rotate-y":Oe()}],"rotate-z":[{"rotate-z":Oe()}],scale:[{scale:ot()}],"scale-x":[{"scale-x":ot()}],"scale-y":[{"scale-y":ot()}],"scale-z":[{"scale-z":ot()}],"scale-3d":["scale-3d"],skew:[{skew:vt()}],"skew-x":[{"skew-x":vt()}],"skew-y":[{"skew-y":vt()}],transform:[{transform:[fe,de,"","none","gpu","cpu"]}],"transform-origin":[{origin:G()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ct()}],"translate-x":[{"translate-x":ct()}],"translate-y":[{"translate-y":ct()}],"translate-z":[{"translate-z":ct()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}
vendor: 5,141 bytes, line 49
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,de]}],"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":q()}],"scroll-mx":[{"scroll-mx":q()}],"scroll-my":[{"scroll-my":q()}],"scroll-ms":[{"scroll-ms":q()}],"scroll-me":[{"scroll-me":q()}],"scroll-mt":[{"scroll-mt":q()}],"scroll-mr":[{"scroll-mr":q()}],"scroll-mb":[{"scroll-mb":q()}],"scroll-ml":[{"scroll-ml":q()}],"scroll-p":[{"scroll-p":q()}],"scroll-px":[{"scroll-px":q()}],"scroll-py":[{"scroll-py":q()}],"scroll-ps":[{"scroll-ps":q()}],"scroll-pe":[{"scroll-pe":q()}],"scroll-pt":[{"scroll-pt":q()}],"scroll-pr":[{"scroll-pr":q()}],"scroll-pb":[{"scroll-pb":q()}],"scroll-pl":[{"scroll-pl":q()}],"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,de]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[Ce,vl,cs,ud]}],stroke:[{stroke:["none",...M()]}],"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"]}},hA=Kj(mA);function ko(...n){return hA(cx(n))}function pA({delayDuration:n=0,...s}){return f.jsx(Dj,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:n,...s})}const iy=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,oy=cx,gA=(n,s)=>l=>{var i;if(s?.variants==null)return oy(n,l?.class,l?.className);const{variants:c,defaultVariants:d}=s,m=Object.keys(c).map(g=>{const v=l?.[g],x=d?.[g];if(v===null)return null;const w=iy(v)||iy(x);return c[g][w]}),p=l&&Object.entries(l).reduce((g,v)=>{let[x,w]=v;return w===void 0||(g[x]=w),g},{}),h=s==null||(i=s.compoundVariants)===null||i===void 0?void 0:i.reduce((g,v)=>{let{class:x,className:w,...S}=v;return Object.entries(S).every(C=>
vendor: 10,416 bytes, lines 49-174
49{let[j,z]=C;return Array.isArray(z)?z.includes({...d,...p}[j]):{...d,...p}[j]===z})?[...g,x,w]:g},[]);return oy(n,m,h,l?.class,l?.className)},yA=gA("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 xA({className:n,variant:s,size:l,asChild:i=!1,...c}){const d=i?Ow:"button";return f.jsx(d,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:ko(yA({variant:s,size:l,className:n})),...c})}function vA({className:n,...s}){return f.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:ko("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",n),...s})}function bA({className:n,...s}){return f.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:ko("px-6",n),...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 SA=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),bx=(...n)=>n.filter((s,l,i)=>!!s&&i.indexOf(s)===l).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 wA={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 CA=E.forwardRef(({color:n="currentColor",size:s=24,strokeWidth:l=2,absoluteStrokeWidth:i,className:c="",children:d,iconNode:m,...p},h)=>E.createElement("svg",{ref:h,...wA,width:s,height:s,stroke:n,strokeWidth:i?Number(l)*24/Number(s):l,className:bx("lucide",c),...p},[...m.map(([g,v])=>E.createElement(g,v)),...Array.isArray(d)?d:[d]]));/**
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 _e=(n,s)=>{const l=E.forwardRef(({className:i,...c},d)=>E.createElement(CA,{ref:d,iconNode:s,className:bx(`lucide-${SA(n)}`,i),...c}));return l.displayName=`${n}`,l};/**
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 zl=_e("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
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 Ua=_e("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
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 jA=_e("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
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 Dl=_e("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"}]]);/**
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 cy=_e("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
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 AA=_e("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"}]]);/**
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 NA=_e("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"}]]);/**
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 EA=_e("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
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 Sx=_e("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
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 wx=_e("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"}]]);/**
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 Cx=_e("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
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 dd=_e("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
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 po=_e("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
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 uy=_e("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
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 OA=_e("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
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 TA=_e("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"}]]);/**
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 bl=_e("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"}]]);/**
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 _A=_e("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
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 dy=_e("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
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 RA=_e("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
170 * @license lucide-react v0.453.0 - ISC
171 *
172 * This source code is licensed under the ISC license.
173 * See the LICENSE file in the root directory of this source tree.
174 */const MA=_e("Reply",[["polyline",{points:"9 17 4 12 9 7",key:"hvgpf2"}
174],["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}]]);/**
175 * @license lucide-react v0.453.0 - ISC
176 *
177 * This source code is licensed under the ISC license.
178 * See the LICENSE file in the root directory of this source tree.
179 */const zA=_e("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
180 * @license lucide-react v0.453.0 - ISC
181 *
182 * This source code is licensed under the ISC license.
183 * See the LICENSE file in the root directory of this source tree.
184 */const fy=_e("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
185 * @license lucide-react v0.453.0 - ISC
186 *
187 * This source code is licensed under the ISC license.
188 * See the LICENSE file in the root directory of this source tree.
189 */const Bd=_e("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
190 * @license lucide-react v0.453.0 - ISC
191 *
192 * This source code is licensed under the ISC license.
193 * See the LICENSE file in the root directory of this source tree.
194 */const DA=_e("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);/**
195 * @license lucide-react v0.453.0 - ISC
196 *
197 * This source code is licensed under the ISC license.
198 * See the LICENSE file in the root directory of this source tree.
199 */const jx=_e("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
200 * @license lucide-react v0.453.0 - ISC
201 *
202 * This source code is licensed under the ISC license.
203 * See the LICENSE file in the root directory of this source tree.
204 */const PA=_e("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
205 * @license lucide-react v0.453.0 - ISC
206 *
207 * This source code is licensed under the ISC license.
208 * See the LICENSE file in the root directory of this source tree.
209 */const kA=_e("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
210 * @license lucide-react v0.453.0 - ISC
211 *
212 * This source code is licensed under the ISC license.
213 * See the LICENSE file in the root directory of this source tree.
214 */const HA=_e("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"}]]);/**
215 * @license lucide-react v0.453.0 - ISC
216 *
217 * This source code is licensed under the ISC license.
218 * See the LICENSE file in the root directory of this source tree.
219 */const UA=_e("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]);/**
220 * @license lucide-react v0.453.0 - ISC
221 *
222 * This source code is licensed under the ISC license.
223 * See the LICENSE file in the root directory of this source tree.
224 */const df=_e("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"}]]);/**
225 * @license lucide-react v0.453.0 - ISC
226 *
227 * This source code is licensed under the ISC license.
228 * See the LICENSE file in the root directory of this source tree.
229 */const qA=_e("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
230 * @license lucide-react v0.453.0 - ISC
231 *
232 * This source code is licensed under the ISC license.
233 * See the LICENSE file in the root directory of this source tree.
234 */const LA=_e("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"}]]);/**
235 * @license lucide-react v0.453.0 - ISC
236 *
237 * This source code is licensed under the ISC license.
238 * See the LICENSE file in the root directory of this source tree.
239 */const BA=_e("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
239],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
240 * @license lucide-react v0.453.0 - ISC
241 *
242 * This source code is licensed under the ISC license.
243 * See the LICENSE file in the root directory of this source tree.
244 */const QA=_e("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function FA(n,s){if(n instanceof RegExp)return{keys:!1,pattern:n};var l,i,c,d,m=[],p="",h=n.split("/");for(h[0]||h.shift();c=h.shift();)l=c[0],l==="*"?(m.push(l),p+=c[1]==="?"?"(?:/(.*))?":"/(.*)"):l===":"?(i=c.indexOf("?",1),d=c.indexOf(".",1),m.push(c.substring(1,~i?i:~d?d:c.length)),p+=~i&&!~d?"(?:/([^/]+?))?":"/([^/]+?)",~d&&(p+=(~i?"?":"")+"\\"+c.substring(d))):p+="/"+c;return{keys:m,pattern:new RegExp("^"+p+(s?"(?=$|/)":"/?$"),"i")}}var fd={exports:{}},md={};/**
245 * @license React
246 * use-sync-external-store-shim.production.js
247 *
248 * Copyright (c) Meta Platforms, Inc. and affiliates.
249 *
250 * This source code is licensed under the MIT license found in the
251 * LICENSE file in the root directory of this source tree.
252 */var my;function GA(){if(my)return md;my=1;var n=wo();function s(x,w){return x===w&&(x!==0||1/x===1/w)||x!==x&&w!==w}var l=typeof Object.is=="function"?Object.is:s,i=n.useState,c=n.useEffect,d=n.useLayoutEffect,m=n.useDebugValue;function p(x,w){var S=w(),C=i({inst:{value:S,getSnapshot:w}}),j=C[0].inst,z=C[1];return d(function(){j.value=S,j.getSnapshot=w,h(j)&&z({inst:j})},[x,S,w]),c(function(){return h(j)&&z({inst:j}),x(function(){h(j)&&z({inst:j})})},[x]),m(S),S}function h(x){var w=x.getSnapshot;x=x.value;try{var S=w();return!l(x,S)}catch{return!0}}function g(x,w){return w()}var v=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:p;return md.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:v,md}var hy;function YA(){return hy||(hy=1,fd.exports=GA()),fd.exports}var VA=YA();const XA=Dy.useInsertionEffect,KA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ZA=KA?E.useLayoutEffect:E.useEffect,JA=XA||ZA,Ax=n=>{const s=E.useRef([n,(...l)=>s[0](...l)]).current;return JA(()=>{s[0]=n}),s[1]},$A="popstate",ff="pushState",mf="replaceState",IA="hashchange",py=[$A,ff,mf,IA],WA=n=>{for(const s of py)addEventListener(s,n);return()=>{for(const s of py)removeEventListener(s,n)}},Nx=(n,s)=>VA.useSyncExternalStore(WA,n,s),e4=()=>location.search,t4=({ssrSearch:n=""}={})=>Nx(e4,()=>n),gy=()=>location.pathname,n4=({ssrPath:n}={})=>Nx(gy,n?()=>n:gy),a4=(n,{replace:s=!1,state:l=null}={})=>history[s?mf:ff](l,"",n),s4=(n={})=>[n4(n),a4],yy=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[yy]>"u"){for(const n of[ff,mf]){const s=history[n];history[n]=function(){const l=s.apply(this,arguments),i=new Event(n);return i.arguments=arguments,dispatchEvent(i),l}}Object.defineProperty(window,yy,{value:!0})}const r4=(n,s)=>s.toLowerCase().indexOf(n.toLowerCase())?"~"+s:s.slice(n.length)||"/",Ex=(n="")=>n==="/"?"":n,l4=(n,s)=>n[0]==="~"?n.slice(1):Ex(s)+n,i4=(n="",s)=>r4(xy(Ex(n)),xy(s)),xy=n=>{try{return decodeURI(n)}catch{return n}},Ox={hook:s4,searchHook:t4,parser:FA,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:n=>n},Tx=E.createContext(Ox),Ll=()=>E.useContext(Tx),_x={},Rx=E.createContext(_x),hf=()=>E.useContext(Rx),Ho=n=>{const[s,l]=n.hook(n);return[i4(n.base,s),Ax((i,c)=>l(l4(i,n.base),c))]},pf=()=>Ho(Ll()),Mx=(n,s,l,i)=>{const{pattern:c,keys:d}=s instanceof RegExp?{keys:!1,pattern:s}:n(s||"*",i),m=c.exec(l)||[],[p,...h]=m;return p!==void 0?[!0,(()=>{const g=d!==!1?Object.fromEntries(d.map((x,w)=>[x,h[w]])):m.groups;let v={...h};return g&&Object.assign(v,g),v})(),...i?[p]:[]]:[!1,null]},o4=({children:n,...s})=>{const l=Ll(),i=s.hook?Ox:l;let c=i;const[d,m]=s.ssrPath?.split("?")??[];m&&(s.ssrSearch=m,s.ssrPath=d),s.hrefs=s.hrefs??s.hook?.hrefs;let p=E.useRef({}),h=p.current,g=h;for(let v in i){const x=v==="base"?i[v]+(s[v]||""):s[v]||i[v];h===g&&x!==g[v]&&(p.current=g={...g}),g[v]=x,(x!==i[v]||x!==c[v])&&(c=g)}return E.createElement(Tx.Provider,{value:c,children:n})},vy=({children:n,component:s},l)=>
252s?E.createElement(s,{params:l}):typeof n=="function"?n(l):n,c4=n=>{let s=E.useRef(_x);const l=s.current;return s.current=Object.keys(n).length!==Object.keys(l).length||Object.entries(n).some(([i,c])=>c!==l[i])?n:l},Jn=({path:n,nest:s,match:l,...i})=>{const c=Ll(),[d]=Ho(c),[m,p,h]=l??Mx(c.parser,n,d,s),g=c4({...hf(),...p});if(!m)return null;const v=h?E.createElement(o4,{base:h},vy(i,g)):vy(i,g);return E.createElement(Rx.Provider,{value:g,children:v})},De=E.forwardRef((n,s)=>{const l=Ll(),[i,c]=Ho(l),{to:d="",href:m=d,onClick:p,asChild:h,children:g,className:v,replace:x,state:w,...S}=n,C=Ax(z=>{z.ctrlKey||z.metaKey||z.altKey||z.shiftKey||z.button!==0||(p?.(z),z.defaultPrevented||(z.preventDefault(),c(m,n)))}),j=l.hrefs(m[0]==="~"?m.slice(1):l.base+m,l);return h&&E.isValidElement(g)?E.cloneElement(g,{onClick:C,href:j}):E.createElement("a",{...S,onClick:C,href:j,className:v?.call?v(i===m):v,children:g,ref:s})}),Qd=n=>Array.isArray(n)?n.flatMap(s=>Qd(s&&s.type===E.Fragment?s.props.children:s)):[n],u4=({children:n,location:s})=>{const l=Ll(),[i]=Ho(l);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),Qd(n).forEach(d=>{if(E.isValidElement(d)&&d.props.path){const m=d.props.path;window.__WOUTER_ROUTES__.includes(m)||window.__WOUTER_ROUTES__.push(m)}}));for(const c of Qd(n)){let d=0;if(E.isValidElement(c)&&(d=Mx(l.parser,c.props.path,s||i,c.props.nest))[0])return E.cloneElement(c,{match:d})}return null};function by(){const[,n]=pf(),s=()=>{n("/")};return f.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:f.jsx(vA,{"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:f.jsxs(bA,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[f.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:f.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[f.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),f.jsx(wx,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),f.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),f.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),f.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.",f.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),f.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:f.jsxs(xA,{"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:[f.jsx(TA,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class d4 extends E.Component{constructor(s){super(s),this.state={hasError:!1,error:null}}static getDerivedStateFromError(s){return{hasError:!0,error:s}}render(){return this.state.hasError?f.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:f.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[f.jsx(qA,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),f.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),f.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:f.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),f.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:ko("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[f.jsx(zA,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const f4=E.createContext(void 0);function m4({children:n,defaultTheme:s="light",switchable:l=!1}){const[i,c]=E.useState(()=>l&&localStorage.getItem("theme")||s);E.useEffect(()=>
252{const m=document.documentElement;i==="dark"?m.classList.add("dark"):m.classList.remove("dark"),l&&localStorage.setItem("theme",i)},[i,l]);const d=l?()=>{c(m=>m==="light"?"dark":"light")}:void 0;return f.jsx(f4.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:i,toggleTheme:d,switchable:l},children:n})}const ps=[{name:"الذكاء الاصطناعي",color:"#8B5CF6",slug:"ai"},{name:"الربح من الإنترنت",color:"#F59E0B",slug:"income"},{name:"التسويق الرقمي",color:"#3B82F6",slug:"marketing"},{name:"التطوير الشخصي",color:"#10B981",slug:"self-dev"},{name:"التقنية",color:"#EF4444",slug:"tech"},{name:"ريادة الأعمال",color:"#F97316",slug:"entrepreneurship"}],mr=[{id:"1",slug:"how-to-make-money-with-ai-2025",title:"كيف تربح من الذكاء الاصطناعي في 2025: 7 طرق مجربة ومربحة",excerpt:"اكتشف أقوى الطرق الحقيقية لتحقيق دخل ثابت ومتزايد باستخدام أدوات الذكاء الاصطناعي، حتى لو كنت مبتدئاً تماماً بدون خبرة تقنية.",content:`
253## مقدمة: لماذا الذكاء الاصطناعي هو أفضل فرصة في تاريخ الإنترنت؟
254
255يعيش العالم اليوم ثورة تقنية غير مسبوقة. أدوات الذكاء الاصطناعي لم تعد حكراً على العلماء والمبرمجين، بل أصبحت في متناول أي شخص يمتلك هاتفاً ذكياً واتصالاً بالإنترنت. والأهم من ذلك، أنها أصبحت مصدراً حقيقياً للدخل لملايين الأشخاص حول العالم.
256
257وفقاً لتقرير McKinsey لعام 2024، من المتوقع أن يضيف الذكاء الاصطناعي ما بين 2.6 و4.4 تريليون دولار سنوياً للاقتصاد العالمي. هذه الثروة لن تذهب فقط للشركات الكبرى، بل ستتوزع على الأفراد الذين يتعلمون كيفية استثمار هذه الأدوات بذكاء.
258
259## الطريقة الأولى: وكالة المحتوى التسويقي بالذكاء الاصطناعي
260
261هذه الطريقة هي الأكثر ربحاً وقابلية للتطوير في الوقت الحالي. الفكرة بسيطة: تقدم خدمات إنتاج محتوى إعلاني (صور وفيديوهات) للشركات باستخدام أدوات مثل HeyGen وSodaMarketing، وتتقاضى اشتراكاً شهرياً ثابتاً.
262
263**كيف تبدأ؟**
264- اختر تخصصاً محدداً (مثل المتاجر الإلكترونية أو المطاعم)
265- أتقن 2-3 أدوات ذكاء اصطناعي لإنتاج المحتوى
266- أنشئ حساباً احترافياً على انستجرام كسابقة أعمال
267- تواصل مع 20 عميل محتمل يومياً وأرسل لهم نموذجاً مجانياً
268
269**الدخل المتوقع:** 300 إلى 1000 دولار لكل عميل شهرياً. مع 10 عملاء، يصبح دخلك الشهري بين 3000 و10000 دولار.
270
271## الطريقة الثانية: الكتابة بالذكاء الاصطناعي وبيع المحتوى
272
273يحتاج آلاف أصحاب المواقع والمدونات إلى محتوى عالي الجودة باستمرار. يمكنك استخدام ChatGPT وClaude لكتابة مقالات احترافية، ثم بيعها عبر منصات مثل Fiverr وUpwork.
274
275**السعر المعقول للمقال:** 20 إلى 100 دولار حسب الطول والتخصص. كاتب محتوى جيد يمكنه إنتاج 5 إلى 10 مقالات يومياً بمساعدة الذكاء الاصطناعي.
276
277## الطريقة الثالثة: المنتجات الرقمية المولّدة بالذكاء الاصطناعي
278
279أحد أذكى نماذج الربح هو إنشاء منتجات رقمية مرة واحدة وبيعها لعدد غير محدود من الأشخاص. مثال حقيقي: شخص طلب من ChatGPT 30 فكرة إعلانية للمتاجر الإلكترونية، حوّلها إلى ملف PDF أنيق، وباعه بـ 19 دولاراً. النتيجة؟ أرباح تجاوزت 2000 دولار من نفس الملف.
280
281**أفكار لمنتجات رقمية مربحة:**
282- قوالب إعلانات جاهزة لمنصات التواصل الاجتماعي
283- أدلة إرشادية متخصصة (مثل "دليل التسويق للمطاعم")
284- حزم صور مولّدة بالذكاء الاصطناعي لأصحاب المتاجر
285
286## الطريقة الرابعة: الترجمة والتعريب بالذكاء الاصطناعي
287
288المحتوى الإنجليزي الرقمي أضعاف المحتوى العربي. هذه فجوة ضخمة تمثل فرصة ذهبية. يمكنك ترجمة وتعريب الكورسات والكتب الإلكترونية والمقالات التقنية باستخدام أدوات الذكاء الاصطناعي، ثم بيعها للجمهور العربي.
289
290## الطريقة الخامسة: الاستشارات والتدريب على الذكاء الاصطناعي
291
292مع تزايد الطلب على فهم الذكاء الاصطناعي، أصبح المدربون والمستشارون في هذا المجال يتقاضون أجوراً عالية جداً. إذا أتقنت مجموعة من الأدوات، يمكنك تقديم جلسات تدريبية للشركات والأفراد.
293
294## الطريقة السادسة: تطوير أدوات بالذكاء الاصطناعي بدون برمجة
295
296منصات مثل Bubble وMake (Integromat) تتيح لك بناء تطبيقات وأدوات ذكاء اصØ
296·Ù†Ø§Ø¹ÙŠ بدون كتابة سطر كود واحد. يمكنك بناء أداة متخصصة لقطاع معين وبيع الاشتراك فيها.
297
298## الطريقة السابعة: التسويق بالعمولة لأدوات الذكاء الاصطناعي
299
300معظم أدوات الذكاء الاصطناعي تقدم برامج عمولة سخية. Jasper AI مثلاً يدفع 30% عمولة متكررة. إذا أحلت 100 مشترك بـ 50 دولار شهرياً، فدخلك الشهري 1500 دولار بشكل سلبي تماماً.
301
302## الخلاصة: ابدأ اليوم، لا غداً
303
304الفرصة موجودة الآن، لكنها لن تبقى إلى الأبد. كلما تأخرت في البدء، كلما ازداد المنافسون. اختر طريقة واحدة، أتقنها، ثم انتقل للتالية. النجاح في عالم الذكاء الاصطناعي لا يتطلب عبقرية، بل يتطلب الإجراء والاستمرارية.
305    `,category:"الذكاء الاصطناعي",categoryColor:"#8B5CF6",readTime:8,date:"2025-01-15",image:"/manus-storage/ai-article_e9291cdc.jpg",tags:["ذكاء اصطناعي","ربح من الإنترنت","ChatGPT","HeyGen"],featured:!0},{id:"2",slug:"seo-guide-arabic-websites-2025",title:"دليل SEO الشامل للمواقع العربية 2025: تصدّر جوجل بخطوات عملية",excerpt:"تعلم كيف تُحسّن موقعك العربي ليتصدر نتائج البحث على جوجل. دليل عملي مفصل يغطي كل ما تحتاجه من الكلمات المفتاحية حتى بناء الروابط.",content:`
306## ما هو SEO ولماذا هو ضروري لكل موقع عربي؟
307
308تحسين محركات البحث (SEO) هو العلم والفن الذي يجعل موقعك يظهر في الصفحات الأولى من نتائج جوجل عندما يبحث الناس عن مواضيع تتعلق بمحتواك. في عالم يُجري فيه 8.5 مليار بحث يومياً على جوجل، الظهور في الصفحة الأولى يعني الفرق بين موقع يزوره الآلاف يومياً وموقع لا يعرفه أحد.
309
310المحتوى العربي يمثل أقل من 3% من محتوى الإنترنت رغم أن العرب يشكلون أكثر من 5% من مستخدمي الإنترنت. هذا يعني أن المنافسة في المحتوى العربي أقل بكثير من الإنجليزي، مما يجعل الفرصة أكبر لمن يُتقن SEO.
311
312## الركيزة الأولى: بحث الكلمات المفتاحية
313
314الكلمات المفتاحية هي الأساس الذي يُبنى عليه كل شيء في SEO. قبل كتابة أي مقال، يجب أن تعرف ماذا يبحث الناس بالضبط.
315
316**أدوات بحث الكلمات المفتاحية المجانية:**
317- Google Keyword Planner: الأداة الرسمية من جوجل
318- Ubersuggest: يقدم بيانات تفصيلية مجاناً
319- AnswerThePublic: يكشف الأسئلة التي يطرحها الناس
320
321**أنواع الكلمات المفتاحية:**
322- **الكلمات القصيرة (Short-tail):** مثل "ربح من الإنترنت" — حجم بحث عالٍ لكن منافسة شديدة
323- **الكلمات الطويلة (Long-tail):** مثل "كيف أربح من الإنترنت بدون رأس مال" — منافسة أقل وتحويل أعلى
324
325## الركيزة الثانية: تحسين المحتوى داخل الصفحة (On-Page SEO)
326
327بعد اختيار الكلمة المفتاحية، يجب تحسين المحتوى ليفهمه جوجل ويُقدّره.
328
329**عناصر On-Page SEO الأساسية:**
3301. **العنوان (Title Tag):** يجب أن يحتوي على الكلمة المفتاحية الرئيسية ويكون جذاباً للنقر
3312. **الوصف التعريفي (Meta Description):** ملخص 150-160 حرفاً يشجع على النقر
3323. **العناوين الفرعية (H1, H2, H3):** هيكل واضح يساعد جوجل على فهم المحتوى
3334. **الكثافة الكلمية:** استخدام الكلمة المفتاحية بشكل طبيعي (2-3% من المحتوى)
3345. **الصور المُحسّنة:** إضافة نص بديل (Alt Text) لكل صورة
335
336## الركيزة الثالثة: السرعة والأداء التقني
337
338جوجل يُعطي أولوية للمواقع السريعة. موقع يستغرق أكثر من 3 ثوانٍ للتحميل يفقد 40% من زواره.
339
340**كيف تُحسّن سرعة موقعك:**
341- استخدم CDN لتوزيع الملفات جغرافياً
342- ضغط الصور بأدوات مثل TinyPNG
343- تفعيل التخزين المؤقت (Caching)
344- استخدام استضافة سريعة وموثوقة
345
346## الركيزة الرابعة: بناء الروابط الخارجية (Link Building)
347
348الروابط الخارجية (Backlinks) هي أصوات ثقة من مواقع أخرى. كلما زاد عدد المواقع الموثوقة التي تشير إلى موقعك، ارتفع ترتيبك في جوجل.
349
350**استراتيجيات بناء الروابط:**
351- نشر مقالات ضيف (Guest Posts) على مواقع في مجالك
352- إنشاء محتوى يستحق الإشارة إليه (Linkable Assets)
353- بناء علاقات مع مدونين آخرين في مجالك
354
355## الركيزة الخامسة: تجربة المستخدم (UX)
356
357جوجل يراقب كيف يتفاعل الزوار مع موقعك. إذا دخل الزائر وخرج فوراً (Bounce Rate عالٍ)، فهذا يُخبر جوجل أن موقعك لا يُقدم ما وعد به.
358
359**كيف تُحسّن تجربة المستخدم:**
360- تصميم متجاوب مع الجوال (Mobile-First)
361- محتوى منظم وسهل القراءة
362- روابط داخلية تُشجع على استكشاف المزيد
363- وقت تحميل سريع
364
365## خطة عمل 90 يوماً لتصدر جوجل
366
367**الشهر الأول:** البنية التحتية
368- إعداد Google Search Console وGoogle Analytics
369- بحث الكلمات المفتاحية وبناء قائمة المحتوى
370- تحسين السرعة والأداء التقني
371
372**الشهر الثاني:** المحتوى
373- نشر 12 مقالاً محسناً لـ SEO (3 أسبوعياً)
374- تحسين المقالات القديمة إن وجدت
375- بناء الروابط الداخلية
376
377**الشهر الثالث:** بناء السلطة
378- التواصل مع مواقع أخرى لبناء الروابط
379- نشر محتوى على منصات التواصل الاجتماعي
380- تحليل النتائج وتعديل الاستراتيجية
381
382## الخلاصة
383
384SEO ليس سحراً، بل هو عمل منهجي ومستمر. النتائج لا تأتي في أسبوع أو شهر، لكنها حين تأتي تكون مستدامة ومجانية. ابدأ بتطبيق هذه الأسس اليوم، وستجد موقعك يتصاعد في نتائج جوجل خلال 3 إلى 6 أشهر.
385    `,category:"التسويق الرقمي",categoryColor:"#3B82F6",readTime:10,date:"2025-01-20",image:"/manus-storage/seo-article_c3510125.jpg",tags:["SEO","تحسين محركات البحث","جوجل","مواقع عربية"],featured:!0},{id:"3",slug:"freelancing-guide-arabs-2025",title:"الفريلانسر العربي: كيف تبني مسيرة مهنية مستقلة وتربح بالدولار",excerpt:"دليل شامل للعمل الحر للعرب: من اختيار التخصص وبناء الملف الشخصي حتى جذب العملاء الدوليين وتحقيق دخل بالدولار من بلدك.",content:`
386## لماذا العمل الحر هو أفضل قرار مهني في 2025؟
387
388يعمل أكثر من 1.57 مليار شخص حول العالم كمستقلين (Freelancers)، ويُتوقع أن يصل هذا الرقم إلى 90.1 مليون في الولايات المتحدة وحدها بحلول 2028. لكن الأهم بالنسبة للعرب هو أن العمل الحر يتيح الحصول على رواتب دولية (بالدولار أو اليورو) مع الإقامة في بلدانهم ذات تكاليف المعيشة المنخفضة.
389
390**حسابات بسيطة:** مستقل عربي يتقاضى 30 دولاراً في الساعة ويعمل 4 ساعات يومياً يكسب 3600 دولار شهرياً. هذا المبلغ يعادل 5 إلى 10 أضعاف متوسط الراتب في كثير من الدول العربية.
391
392## الخطوة الأولى: اختيار التخصص الصحيح
393
394أكبر خطأ يرتكبه المبتدئون هو محاولة تقديم كل شيء لكل أحد. التخصص هو مفتاح النجاح.
395
396**التخصصات الأعلى طلباً وأجراً للعرب:**
397- تطوير الويب والتطبيقات (50-150 دولار/ساعة)
398- التصميم الجرافيكي وواجهات المستخدم (30-80 دولار/ساعة)
399- كتابة المحتوى والترجمة (20-60 دولار/ساعة)
400- التسويق الرقمي وإدارة الإعلانات (40-100 دولار/ساعة)
401- تحليل البيانات والذكاء الاصطناعي (60-200 دولار/ساعة)
402
403**كيف تختار تخصصك؟**
404اسأل نفسك: ما الذي أجيده؟ ما الذي يستمتع الناس بدفع المال مقابله؟ ما الذي أستطيع تعلمه في 3 أشهر؟ التقاطع بين هذه الأسئلة الثلاثة هو تخصصك المثالي.
405
406## الخطوة الثانية: بناء ملف أعمال (Portfolio) مقنع
407
408لا أحد سيوظفك بدون أدلة على قدراتك. الملف الشخصي هو دليلك.
409
410**كيف تبني ملف أعمال بدون تجربة سابقة؟**
411- نفّذ مشاريع وهمية لعملاء خياليين
412- قدم خدماتك مجاناً أو بسعر رمزي لأول 3-5 عملاء
413- شارك في مشاريع مفتوحة المصدر (Open Source)
414- أنشئ مشاريع شخصية تُظهر مهاراتك
415
416## الخطوة الثالثة: اختيار المنصة المناسبة
417
418**المنصات الكبرى للفريلانسر العربي:**
419- **Upwork:** الأفضل للمشاريع طويلة الأمد والعلاقات المستمرة
420- **Fiverr:** مثالي للخدمات المحددة والمبتدئين
421- **Freelancer.com:** منافسة عالية لكن فرص كثيرة
422- **Toptal:** للمحترفين فقط، لكن الأجور الأعلى بكثير
423
424## الخطوة الرابعة: كتابة عروض تفوز بالمشاريع
425
42690% من الفريلانسرين يكتبون عروضاً مملة ومتشابهة. تميّز بعرض يُركز على مشكلة العميل وليس على مهاراتك.
427
428**هيكل العرض الفائز:**
4291. ابدأ بإثبات أنك قرأت وفهمت المشروع
4302. اشرح كيف ستحل مشكلة العميل تحديداً
4313. قدم مثالاً مشابهاً من أعمالك السابقة
4324. حدد الجدول الزمني والسعر بوضوح
4335. اختم بسؤال يُشجع على الحوار
434
435## الخطوة الخامسة: التسعير الصحيح
436
437أغلب المبتدئين يُسعّرون خدماتهم بأقل مما تستحق خوفاً من الرفض. هذا خطأ استراتيجي.
438
439**قاعدة التسعير الذكي:**
440- ابحث عن متوسط أسعار السوق في تخصصك
441- ابدأ بـ 70-80% من متوسط السوق كمبتدئ
442- ارفع أسعارك 20-30% مع كل 5 مراجعات إيجابية
443- لا تقبل مشاريع بأقل من حدك الأدنى المُحدد مسبقاً
444
445## الخطوة السادسة: إدارة العلاقات مع العملاء
446
447الفريلانسر الناجح لا يبحث عن عملاء جدد باستمرار، بل يحافظ على عملائه الحاليين ويجعلهم يعودون.
448
449**أسرار الاحتفاظ بالعملاء:**
450- التواصل المنتظم والشفاف
451- تسليم العمل قبل الموعد المحدد
452- تجاوز التوقعات في كل مشروع
453- تقديم اقتراحات استباقية لتحسين عملهم
454
455## الخلاصة
456
457العمل الحر ليس طريقاً سهلاً، لكنه طريق يستحق السير فيه. الأشهر الأولى ستكون صعبة، لكن مع الاستمرار والتعلم، ستجد نفسك تكسب أكثر مما كنت تتخيله من أي وظيفة تقليدية.
458    `,category:"الربح من الإنترنت",categoryColor:"#F59E0B",readTime:12,date:"2025-01-25",image:"/manus-storage/freelance-article_fad3bd5f.jpg",tags:["فريلانسر","عمل حر","Upwork","Fiverr","دخل بالدولار"],featured:!1},{id:"4",slug:"chatgpt-prompts-guide-arabic",title:"100 بروميت احترافي لـ ChatGPT يُضاعف إنتاجيتك 10 أضعاف",excerpt:"تعلم فن كتابة البروميت الاحترافي لـ ChatGPT وأدوات الذكاء الاصطناعي الأخرى. 100 بروميت جاهز للاستخدام في العمل والكتابة والتسويق والبرمجة.",content:`
459## لماذا البروميت الجيد يُغير كل شيء؟
460
461ChatGPT هو أداة قوية، لكن قوتها تعتمد كلياً على كيفية التحدث معها. البروميت الضعيف يُعطيك إجابات عامة ومملة. البروميت الاحترافي يُعطيك محتوى جاهزاً للنشر، استراتيجيات مُخصصة، وحلولاً إبداعية.
462
463الفرق بين "اكتب لي مقالاً عن التسويق" و"أنت خبير تسويق رقمي بخبرة 15 سنة، اكتب مقالاً بأسلوب Neil Patel يستهدف أصحاب المتاجر الإلكترونية العرب، يشرح 5 استراتيجيات تسويق بميزانية أقل من 500 دولار شهرياً، مع أمثلة حقيقية وأرقام" — الفرق هائل.
464
465## مبادئ كتابة البروميت الاحترافي
466
467**المبدأ الأول: حدد الدور (Role)**
468أخبر ChatGPT من هو في هذه المحادثة. "أنت خبير SEO" أو "أنت محامٍ متخصص في قانون الأعمال" يُغير جودة الإجابة جذرياً.
469
470**المبدأ الثاني: حدد السياق (Context)**
471أعطِ ChatGPT كل المعلومات الضرورية: من هو جمهورك؟ ما هو هدفك؟ ما هي القيود؟
472
473**المبدأ الثالث: حدد الشكل (Format)**
474أخبره كيف تريد الإجابة: قائمة نقطية؟ جدول؟ مقال؟ كود برمجي؟
475
476**المبدأ الرابع: أعطِ أمثلة (Examples)**
477"اكتب بأسلوب مشابه لهذا المثال: [مثال]" يُحسّن الجودة بشكل كبير.
478
479## 100 بروميت جاهز للاستخدام
480
481### للكتابة والمحتوى (1-20)
4821. "أنت كاتب محتوى محترف. اكتب عنواناً لمقال يحصل على نسبة نقر عالية حول [الموضوع] يستهدف [الجمهور]"
4832. "حوّل هذه النقاط إلى مقال احترافي بأسلوب صحفي: [النقاط]"
4843. "اكتب 10 عناوين فرعية جذابة لمقال عن [الموضوع]"
4854. "أعد كتابة هذا المقال بأسلوب أبسط وأكثر جاذبية: [المقال]"
4865. "اكتب مقدمة مقال تجعل القارئ لا يستطيع التوقف عن القراءة حول [الموضوع]"
487
488### للتسويق والإعلانات (21-40)
48921. "اكتب نص إعلان فيسبوك لمنتج [اسم المنتج] يستهدف [الجمهور] بميزانية محدودة"
49022. "أنشئ 5 أفكار محتوى لحساب انستجرام لـ [نوع النشاط التجاري]"
49123. "اكتب سكريبت فيديو 60 ثانية لإعلان [المنتج/الخدمة]"
49224. "ما هي أفضل 10 كلمات مفتاحية لحملة إعلانية عن [المجال]؟"
49325. "اكتب رسالة بريد إلكتروني تسويقية لإطلاق [المنتج] تُحقق نسبة فتح عالية"
494
495### للأعمال والاستراتيجية (41-60)
49641. "أنت مستشار أعمال. حلل نقاط القوة والضعف والفرص والتهديدات لـ [نوع المشروع]"
49742. "اكتب خطة عمل مختصرة لمشروع [وصف المشروع] في صفحة واحدة"
49843. "ما هي 5 طرق لتمييز [نوع العمل] عن المنافسين؟"
49944. "اكتب سياسة استرداد واضحة ومطمئنة للعملاء لمتجر إلكتروني"
50045. "أنشئ قائمة مراجعة (Checklist) لإطلاق منتج جديد"
501
502### للبرمجة والتقنية (61-80)
50361. "اشرح هذا الكود بالعربية وأخبرني إذا كان هناك أخطاء: [الكود]"
50462. "اكتب كود Python لـ [المهمة] مع شرح كل سطر"
50563. "ما هي أفضل ممارسات قاعدة البيانات لـ [نوع التطبيق]؟"
50664. "حوّل هذا الكود من [لغة] إلى [لغة أخرى]: [الكود]"
50765. "اكتب اختبارات وحدة (Unit Tests) لهذه الدالة: [الدالة]"
508
509### للتطوير الشخصي والتعلم (81-100)
51081. "أنت مدرب حياة. ساعدني في وضع خطة 90 يوماً لتحقيق [الهدف]"
51182. "اشرح [المفهوم الصعب] كأنني طفل عمره 10 سنوات"
51283. "ما هي أفضل 5 كتب لشخص يريد تعلم [المجال]؟ مع ملخص لكل كتاب"
51384. "أنشئ جدولاً أسبوعياً لتعلم [المهارة] في 3 أشهر"
51485. "ما هي الأسئلة التي يجب أن أطرحها على نفسي قبل اتخاذ قرار [نوع القرار]؟"
515
516## نصائح متقدمة لاستخدام ChatGPT
517
518**تقنية Chain of Thought:** اطلب منه أن يُفكر خطوة بخطوة قبل الإجابة. "فكّر بصوت عالٍ ثم أجب على..."
519
520**تقنية Few-Shot:** أعطِه 2-3 أمثلة على ما تريد قبل طلب الإجابة.
521
522**تقنية الاستمرارية:** في المحادثة الطويلة، ذكّره بالسياق: "بناءً على ما ناقشناه..."
523
524## الخلاصة
525
526البروميت الاحترافي هو مهارة تُكتسب بالممارسة. ابدأ بتطبيق هذه البروميتات، لاحظ ما يعمل بشكل أفضل، وطوّر أسلوبك الخاص. مع الوقت، ستجد أن ChatGPT أصبح مساعداً لا غنى عنه في عملك اليومي.
527    `,category:"الذكاء الاصطناعي",categoryColor:"#8B5CF6",readTime:15,date:"2025-02-01",image:"/manus-storage/ai-article_e9291cdc.jpg",tags:["ChatGPT","بروميت","ذكاء اصطناعي","إنتاجية"],featured:!1},{id:"5",slug:"dropshipping-guide-arabic-2025",title:"الدروبشيبينج للمبتدئين: كيف تبدأ متجراً إلكترونياً بدون مخزون",excerpt:"دليل كامل لبدء مشروع الدروبشيبينج من الصفر: اختيار المنتجات، إنشاء المتجر، التسويق، وتحقيق أول ربح في أقل من 30 يوماً.",content:`
528## ما هو الدروبشيبينج وكيف يعمل؟
529
530الدروبشيبينج نموذج تجاري ثوري يتيح لك بيع المنتجات عبر الإنترنت دون الحاجة إلى شراء مخزون أو التعامل مع الشحن. العملية بسيطة: العميل يشتري من متجرك، أنت تُرسل الطلب للمورد، والمورد يشحن المنتج مباشرة للعميل. ربحك هو الفرق بين سعر البيع وسعر المورد.
531
532**مثال عملي:** تبيع ساعة بـ 50 دولاراً في متجرك. تشتريها من مورد AliExpress بـ 15 دولاراً. ربحك 35 دولاراً بدون لمس المنتج أو التعامل مع الشحن.
533
534## مزايا وعيوب الدروبشيبينج
535
536**المزايا:**
537- لا يحتاج رأس مال كبير للبدء (100-500 دولار كافية)
538- لا مخزون ولا مستودع
539- يمكن إدارته من أي مكان في العالم
540- آلاف المنتجات المتاحة للبيع
541
542**العيوب:**
543- هامش ربح أقل مقارنة بالتجارة التقليدية
544- المنافسة عالية جداً
545- لا تتحكم في جودة الشحن والتغليف
546- مشاكل المخزون عند الموردين تؤثر عليك
547
548## الخطوة الأولى: اختيار المنتج الرابح
549
550اختيار المنتج هو أهم قرار في الدروبشيبينج. المنتج الخاطئ = فشل مضمون.
551
552**معايير المنتج الرابح:**
553- سعر البيع بين 25 و150 دولاراً (هامش ربح معقول مع سهولة الشراء)
554- لا يتوفر بسهولة في المحلات المحلية
555- يحل مشكلة حقيقية أو يُشبع رغبة واضحة
556- حجم بحث متزايد على جوجل وتيك توك
557- لا يكون منتجاً موسمياً فقط
558
559**أدوات البحث عن المنتجات:**
560- Google Trends: لمعرفة اتجاهات البحث
561- TikTok Creative Center: لاكتشاف المنتجات الرائجة
562- AliExpress Best Sellers: لمعرفة ما يُباع فعلاً
563- Minea أو AdSpy: لتتبع الإعلانات الناجحة
564
565## الخطوة الثانية: إنشاء المتجر الإلكتروني
566
567**المنصات الأفضل للدروبشيبينج:**
568- **Shopify:** الأفضل والأكثر شيوعاً (29 دولار/شهر)
569- **WooCommerce:** مجاني مع استضافة WordPress
570- **Zid أو Salla:** للسوق العربي تحديداً
571
572**عناصر المتجر الناجح:**
573- اسم نطاق (Domain) احترافي وسهل التذكر
574- تصميم نظيف وسريع التحميل
575- صفحات منتج مُقنعة مع صور عالية الجودة
576- نظام دفع موثوق (Stripe, PayPal, أو بوابات محلية)
577- سياسة استرداد واضحة تُطمئن العميل
578
579## الخطوة الثالثة: إيجاد الموردين الموثوقين
580
581**أفضل منصات الموردين:**
582- **AliExpress:** الأسهل للمبتدئين، آلاف الموردين
583- **CJ Dropshipping:** شحن أسرع من AliExpress
584- **Spocket:** موردون أمريكيون وأوروبيون، شحن أسرع
585- **Zendrop:** يُركز على الجودة وسرعة الشحن
586
587**كيف تختار المورد الجيد؟**
588- تقييم لا يقل عن 4.5 نجوم
589- أكثر من 1000 طلب مكتمل
590- وقت شحن معقول (7-15 يوماً للدول العربية)
591- استجابة سريعة للرسائل
592
593## الخطوة الرابعة: التسويق وجلب العملاء
594
595**استراتيجيات التسويق للمبتدئين:**
596
597**تيك توك (الأسرع والأرخص):**
598أنشئ محتوى عضوياً (Organic) يُظهر المنتج بطريقة إبداعية. فيديو واحد ناجح يمكن أن يُحقق آلاف المبيعات بدون إنفاق دولار واحد على الإعلانات.
599
600**إعلانات فيسبوك وانستجرام:**
601ابدأ بميزانية 10-20 دولار يومياً. اختبر 3-5 إعلانات مختلفة وضاعف الميزانية على الأفضل أداءً.
602
603**التسويق بالمحتوى:**
604أنشئ مدونة أو قناة يوتيوب تُقدم محتوى مفيداً في مجال منتجك. هذا يجلب زيارات مجانية مستدامة.
605
606## أرقام حقيقية: ماذا تتوقع؟
607
608**الشهر الأول:** تعلم وتجريب، ربح محتمل 0-500 دولار
609**الشهر الثاني-الثالث:** تحسين وتوسع، ربح محتمل 500-2000 دولار
610**الشهر الرابع-السادس:** مع استراتيجية صحيحة، ربح 2000-10000 دولار شهرياً
611
612## الخلاصة
613
614الدروبشيبينج ليس مشروعاً للثراء السريع، بل هو عمل حقيقي يتطلب تعلماً واستمراراً. لكنه من أفضل الطرق لبدء مشروع إلكتروني بأقل رأس مال ممكن. ابدأ بمنتج واحد، أتقن تسويقه، ثم وسّع.
615    `,category:"الربح من الإنترنت",categoryColor:"#F59E0B",readTime:11,date:"2025-02-08",image:"/manus-storage/dropshipping-article_e105c094.jpg",tags:["دروبشيبينج","تجارة إلكترونية","Shopify","AliExpress"],featured:!1},{id:"6",slug:"morning-routine-productivity-success",title:"روتين الصباح الذي يُحدد مصير يومك: 7 عادات أصحاب الملايين",excerpt:"اكتشف الروتين الصباحي الذي يتبعه أنجح رواد الأعمال والمليونيرات في العالم، وكيف يمكنك تطبيقه لتضاعف إنتاجيتك وتحقق أهدافك.",content:`
616## لماذا الصباح هو أهم ساعات يومك؟
617
618"اربح صباحك تربح يومك" — هذه ليست مجرد مقولة تحفيزية، بل حقيقة علمية مُثبتة. الساعات الأولى بعد الاستيقاظ هي الوقت الذي يكون فيه عقلك في أعلى مستويات التركيز والإبداع، قبل أن تبدأ الضغوط والمشتتات في الهجوم.
619
620دراسة نشرتها جامعة هارفارد وجدت أن 90% من المديرين التنفيذيين الناجحين يستيقظون قبل الساعة السادسة صباحاً. لكن الاستيقاظ المبكر وحده لا يكفي — ما تفعله في تلك الساعات هو ما يُحدث الفرق.
621
622## العادة الأولى: الاستيقاظ بدون هاتف (أول 30 دقيقة)
623
624أكبر خطأ يرتكبه معظم الناس هو النظر في هاتفهم فور الاستيقاظ. هذا يضع عقلك في وضع "رد الفعل" بدلاً من وضع "الإجراء الاستباقي".
625
626**التطبيق العملي:** ضع هاتفك في غرفة أخرى. استخدم ساعة تقليدية للمنبه. أعطِ نفسك 30 دقيقة على الأقل قبل لمس أي شاشة.
627
628## العادة الثانية: الحركة الجسدية (15-30 دقيقة)
629
630لا يجب أن تكون تمريناً شاقاً. المشي السريع، التمدد، أو 20 دقيقة من اليوغا كافية لتنشيط الدورة الدموية وإفراز الإندورفين الذي يُحسّن المزاج والتركيز طوال اليوم.
631
632**ما يفعله الناجحون:** Tim Cook (مدير Apple) يذهب للصالة الرياضية في الساعة 5 صباحاً. Richard Branson يُمارس رياضة التنس أو ركوب الدراجات كل صباح.
633
634## العادة الثالثة: التأمل أو الهدوء الذهني (10-15 دقيقة)
635
636التأمل ليس ممارسة دينية أو روحية فقط، بل أداة علمية لتحسين التركيز وتقليل التوتر. دراسات عديدة أثبتت أن التأمل اليومي يُحسّن القدرة على اتخاذ القرار ويُقلل من التوتر بنسبة 40%.
637
638**للمبتدئين:** تطبيق Headspace أو Calm يُقدم جلسات تأمل موجهة بالعربية والإنجليزية.
639
640## العادة الرابعة: التخطيط اليومي (10 دقائق)
641
642قبل بدء العمل، خصص 10 دقائق لكتابة:
643- أهم 3 مهام يجب إنجازها اليوم (MIT - Most Important Tasks)
644- أي اجتماعات أو مواعيد مهمة
645- شيء واحد تشعر بالامتنان له
646
647هذه العادة البسيطة تُحدد اتجاه يومك وتمنعك من قضاء اليوم في الاستجابة لطلبات الآخرين.
648
649## العادة الخامسة: التعلم والقراءة (20-30 دقيقة)
650
651"القراء قادة" — ليس مصادفة أن Bill Gates يقرأ 50 كتاباً سنوياً، وأن Warren Buffett يقضي 80% من يومه في القراءة والتفكير.
652
653**كيف تبدأ:** خصص 20 دقيقة صباحاً للقراءة. كتاب واحد شهرياً يعني 12 كتاباً سنوياً. بعد 5 سنوات، ستكون قرأت 60 كتاباً — معظم الناس لا يقرؤون 60 كتاباً في حياتهم كلها.
654
655## العادة السادسة: الإفطار الصحي
656
657الدماغ يستهلك 20% من طاقة الجسم. إفطار غني بالبروتين والدهون الصحية (بيض، مكسرات، أفوكادو) يُزود الدماغ بالوقود اللازم للتركيز والإبداع.
658
659تجنب السكريات والكربوهيدرات البسيطة في الإفطار — تُعطيك طاقة مؤقتة ثم تُسبب انهياراً في التركيز بعد ساعتين.
660
661## العادة السابعة: العمل على أهم مشروع أولاً
662
663بعد الانتهاء من الروتين الصباحي، ابدأ فوراً بأهم مهمة في يومك. لا بريد إلكتروني، لا وسائل تواصل اجتماعي، لا محادثات — فقط العمل العميق (Deep Work) على المهمة الأهم.
664
665المؤلف Cal Newport يُسمي هذا "العمل العميق" ويقول إنه أندر وأثمن مهارة في اقتصاد المعرفة الحديث.
666
667## كيف تبني روتينك الصباحي الخاص؟
668
669لا تحاول تطبيق كل هذه العادات دفعة واحدة. ابدأ بعادة واحدة لمدة أسبوعين حتى تصبح تلقائية، ثم أضف عادة أخرى.
670
671**الجدول المقترح للمبتدئين:**
672- 6:00 - الاستيقاظ بدون هاتف
673- 6:05 - شرب كوب ماء كبير
674- 6:10 - تمرين خفيف (15 دقيقة)
675- 6:25 - تأمل أو هدوء (10 دقائق)
676- 6:35 - إفطار صحي
677- 7:00 - تخطيط اليوم (10 دقائق)
678- 7:10 - العمل على أهم مهمة
679
680## الخلاصة
681
682الروتين الصباحي ليس رفاهية، بل ضرورة لكل من يريد النجاح في عالم مليء بالمشتتات. ابدأ بخطوة واحدة اليوم، وستُدهش من الفرق الذي ستراه في حياتك بعد 30 يوماً فقط.
683    `,category:"التطوير الشخصي",categoryColor:"#10B981",readTime:9,date:"2025-02-15",image:"/manus-storage/productivity-article_6b031dc2.jpg",tags:["إنتاجية","روتين صباحي","تطوير ذات","نجاح"],featured:!1},{id:"7",slug:"youtube-channel-monetization-guide",title:"كيف تبني قناة يوتيوب مربحة من الصفر في 2025",excerpt:"الدليل الشامل لبناء قناة يوتيوب ناجحة: اختيار المجال، إنتاج المحتوى، الوصول للمليون مشترك، وتحقيق دخل يتجاوز 10,000 دولار شهرياً.",content:`
684## لماذا يوتيوب لا يزال أفضل منصة للمحتوى في 2025؟
685
686رغم صعود تيك توك وانستجرام ريلز، يظل يوتيوب المنصة الأقوى لبناء دخل مستدام. السبب بسيط: محتوى يوتيوب يبقى يعمل لسنوات، بينما محتوى تيك توك يختفي خلال أيام. فيديو نشرته قبل 5 سنوات لا يزال يجلب مشاهدات وأرباحاً اليوم.
687
688الأرقام تتحدث: يوتيوب يضم أكثر من 2.7 مليار مستخدم نشط شهرياً، ويُشاهد عليه أكثر من مليار ساعة من المحتوى يومياً. المنصة دفعت أكثر من 50 مليار دولار لصانعي المحتوى في السنوات الثلاث الماضية.
689
690## الخطوة الأولى: اختيار المجال (Niche) الصحيح
691
692**المجالات الأعلى ربحاً على يوتيوب:**
693- المال والاستثمار (CPM: 10-50 دولار/1000 مشاهدة)
694- التقنية والبرمجة (CPM: 8-30 دولار)
695- الصحة واللياقة (CPM: 5-20 دولار)
696- التعليم والتطوير الشخصي (CPM: 5-15 دولار)
697- الترفيه والألعاب (CPM: 2-8 دولار)
698
699**معادلة اختيار المجال الناجح:**
700الشغف + الطلب في السوق + القدرة على الاستمرار = المجال المثالي
701
702## الخطوة الثانية: إنتاج محتوى يستحق المشاهدة
703
704**عناصر الفيديو الناجح:**
705- **الـ 30 ثانية الأولى:** يجب أن تُقنع المشاهد بالبقاء. ابدأ بسؤال مثير أو وعد بقيمة واضحة
706- **الصورة المصغرة (Thumbnail):** 90% من قرار النقر يعتمد عليها. استخدم وجهاً بشرياً بتعبير واضح ونص قصير جريء
707- **العنوان:** يجب أن يحتوي على الكلمة المفتاحية ويُثير الفضول
708- **الجودة التقنية:** لا تحتاج كاميرا باهظة، لكن الصوت الجيد ضروري
709
710## الخطوة الثالثة: الوصول لمتطلبات التحقيق
711
712للحصول على الشارة الذهبية وبدء الربح من الإعلانات، تحتاج:
713- 1000 مشترك
714- 4000 ساعة مشاهدة في آخر 12 شهراً (أو 10 مليون مشاهدة على Shorts)
715
716**استراتيجية الوصول السريع:**
717- انشر بانتظام: 2-3 فيديوهات أسبوعياً في البداية
718- ركز على الكلمات المفتاحية ذات البحث العالي والمنافسة المنخفضة
719- تفاعل مع التعليقات في أول ساعة بعد النشر (يُعطي إشارة إيجابية لخوارزمية يوتيوب)
720
721## مصادر الدخل من يوتيوب
722
723**1. إعلانات AdSense:** المصدر الأساسي. الدخل يعتمد على عدد المشاهدات والمجال.
724
725**2. عضوية القناة (Channel Membership):** مشتركون يدفعون شهرياً مقابل مزايا حصرية.
726
727**3. Super Thanks وSuper Chat:** مشاهدون يدفعون لإبراز تعليقاتهم.
728
729**4. التسويق بالعمولة:** ذكر منتجات في الفيديو مع رابط في الوصف.
730
731**5. المنتجات الخاصة:** بيع كورسات أو كتب إلكترونية لجمهورك.
732
733**6. الرعاية (Sponsorship):** شركات تدفع لذكر منتجاتها في فيديوهاتك.
734
735## أرقام حقيقية من صانعي المحتوى العرب
736
737قناة عربية في مجال التقنية بـ 500,000 مشترك تكسب في المتوسط:
738- إعلانات AdSense: 2000-5000 دولار/شهر
739- رعايات: 3000-10000 دولار/شهر
740- منتجات رقمية: 1000-5000 دولار/شهر
741- **الإجمالي: 6000-20000 دولار/شهر**
742
743## الخلاصة
744
745بناء قناة يوتيوب ناجحة يتطلب صبراً وانتظاماً. الأشهر الأولى ستكون صعبة، لكن مع الاستمرار والتحسين المستمر، يوتيوب يمكن أن يُصبح مصدر دخلك الرئيسي أو على الأقل دخلاً إضافياً ضخماً.
746    `,category:"الربح من الإنترنت",categoryColor:"#F59E0B",readTime:10,date:"2025-02-22",image:"/manus-storage/youtube-article_ca72ba67.jpg",tags:["يوتيوب","صانع محتوى","ربح من يوتيوب","AdSense"],featured:!1},{id:"8",slug:"investing-beginners-guide-arabic",title:"الاستثمار للمبتدئين: كيف تُنمّي أموالك بذكاء في 2025",excerpt:"دليل شامل للاستثمار الذكي للمبتدئين: الأسهم، الصناديق الاستثمارية، العقارات، والعملات الرقمية. كيف تبدأ بمبالغ صغيرة وتبني ثروة على المدى البعيد.",content:`
747## لماذا الاستثمار ضرورة وليس رفاهية؟
748
749التضخم يأكل قيمة أموالك ببطء. 100,000 ريال اليوم ستساوي قوة شرائية أقل بكثير بعد 10 سنوات إذا تركتها في البنك. الاستثمار هو الطريقة الوحيدة لجعل أموالك تعمل لصالحك بدلاً من أن تتآكل بالتضخم.
750
751**قاعدة 72:** اقسم 72 على معدل العائد السنوي لتعرف كم سنة تحتاج لمضاعفة أموالك. بمعدل 8% سنوياً، أموالك تتضاعف كل 9 سنوات.
752
753## المبدأ الأساسي: لا تستثمر ما لا تستطيع خسارته
754
755قبل البدء في الاستثمار، يجب أن يكون لديك:
756- صندوق طوارئ يكفي 3-6 أشهر من مصاريفك
757- لا ديون بفوائد عالية (بطاقات ائتمان)
758- دخل ثابت يُغطي احتياجاتك الأساسية
759
760## أنواع الاستثمارات المناسبة للمبتدئين
761
762**1. الأسهم (Stocks)**
763شراء حصة في شركة يعني أنك تملك جزءاً منها وتستفيد من نموها. تاريخياً، سوق الأسهم الأمريكي حقق متوسط عائد 10% سنوياً على مدى 100 سنة.
764
765*للمبتدئين:* ابدأ بصناديق المؤشرات (Index Funds) مثل S&P 500 بدلاً من اختيار أسهم فردية.
766
767**2. الصناديق الاستثمارية (ETFs)**
768تجمع أموال المستثمرين لشراء محفظة متنوعة من الأسهم أو السندات. تُقلل المخاطر وتُوفر تنويعاً تلقائياً.
769
770**3. العقارات**
771الاستثمار العقاري في الدول العربية لا يزال من أكثر الاستثمارات أماناً. يمكن البدء بمبالغ أصغر عبر صناديق الاستثمار العقاري (REITs).
772
773**4. العملات الرقمية**
774استثمار عالي المخاطر وعالي العائد المحتمل. لا تُخصص له أكثر من 5-10% من محفظتك الاستثمارية.
775
776## استراتيجية الاستثمار المنتظم (Dollar-Cost Averaging)
777
778بدلاً من محاولة توقيت السوق (وهو أمر يفشل فيه حتى المحترفون)، استثمر مبلغاً ثابتاً كل شهر بغض النظر عن حالة السوق.
779
780**مثال:** استثمار 500 ريال شهرياً في صندوق مؤشر S&P 500 بعائد 8% سنوياً:
781- بعد 10 سنوات: 91,000 ريال (استثمرت 60,000)
782- بعد 20 سنة: 294,000 ريال (استثمرت 120,000)
783- بعد 30 سنة: 745,000 ريال (استثمرت 180,000)
784
785هذا هو سحر الفائدة المركبة.
786
787## أفضل منصات الاستثمار للعرب
788
789- **Tadawul (تداول):** للأسهم السعودية
790- **eToro:** للأسهم الدولية والعملات الرقمية
791- **Interactive Brokers:** للمحترفين، رسوم منخفضة جداً
792- **Wealthsimple:** للمبتدئين، واجهة بسيطة
793
794## الأخطاء الشائعة التي يجب تجنبها
795
7961. **الاستثمار بناءً على العواطف:** الخوف والجشع أكبر أعداء المستثمر
7972. **وضع كل البيض في سلة واحدة:** التنويع ضروري
7983. **محاولة توقيت السوق:** حتى المحترفون يفشلون في هذا
7994. **الاستسلام للخسائر المؤقتة:** الأسواق تنخفض وترتفع، الصبر هو المفتاح
8005. **إهمال الرسوم:** رسوم 1% سنوياً تأكل 25% من ثروتك على مدى 30 سنة
801
802## الخلاصة
803
804الاستثمار الناجح لا يتطلب عبقرية أو معلومات سرية. يتطلب الصبر، والانتظام، والتنويع، وتجنب الأخطاء الشائعة. ابدأ اليوم بأي مبلغ، حتى لو كان صغيراً، لأن الزمن هو أثمن أصولك في الاستثمار.
805    `,category:"ريادة الأعمال",categoryColor:"#F97316",readTime:11,date:"2025-03-01",image:"/manus-storage/crypto-article_b7534aa8.jpg",tags:["استثمار","أسهم","ثروة","مال","تخطيط مالي"],featured:!1},{id:"9",slug:"social-media-marketing-2025",title:"التسويق عبر السوشيال ميديا في 2025: الاستراتيجية الكاملة",excerpt:"كيف تبني حضوراً قوياً على منصات التواصل الاجتماعي وتحوّله إلى مبيعات حقيقية. استراتيجيات مُجربة لانستجرام وتيك توك وتويتر وسناب.",content:`
806## التسويق عبر السوشيال ميديا: ما تغير في 2025
807
808عالم التسويق الرقمي يتغير بسرعة مذهلة. ما كان يعمل قبل سنتين قد لا يعمل اليوم. الخوارزميات تتطور، المنصات الجديدة تصعد، وسلوك المستخدمين يتبدل. لكن المبادئ الأساسية تبقى ثابتة: المحتوى القيّم يفوز دائماً.
809
810**أبرز التغييرات في 2025:**
811- الذكاء الاصطناعي أصبح جزءاً أساسياً من إنتاج المحتوى
812- المحتوى القصير (Reels/Shorts/TikTok) يهيمن على المشاركة
813- الأصالة (Authenticity) تتفوق على الإنتاج المُصقول
814- التجارة الاجتماعية (Social Commerce) تنمو بشكل متسارع
815
816## استراتيجية انستجرام 2025
817
818**أنواع المحتوى حسب الأداء:**
8191. **Reels:** الأعلى وصولاً (Reach) حالياً. يجب أن تكون 50% على الأقل من محتواك
8202. **Carousels:** الأعلى تفاعلاً (Engagement). مثالية للمحتوى التعليمي
8213. **Stories:** للتواصل اليومي وبناء العلاقة مع الجمهور
8224. **Posts الثابتة:** للمحتوى الذي يستحق البقاء على ملفك الشخصي
823
824**جدول النشر المثالي:**
825- 5-7 Reels أسبوعياً
826- 3-5 Carousels أسبوعياً
827- Stories يومية (5-10 قصص)
828
829## استراتيجية تيك توك 2025
830
831تيك توك لا يزال المنصة الأسرع نمواً والأكثر ديمقراطية — حساب جديد بصفر متابعين يمكن أن يحصل على مليون مشاهدة في يومه الأول.
832
833**مفاتيح النجاح على تيك توك:**
834- الـ 3 ثوانٍ الأولى تُحدد مصير الفيديو
835- الترند (Trend) هو أسرع طريق للانتشار
836- الأصالة والعفوية تتفوق على الإنتاج العالي
837- النشر 1-3 مرات يومياً في البداية
838
839## كيف تحوّل المتابعين إلى عملاء؟
840
841**مسار التحويل (Funnel):**
8421. **الوعي (Awareness):** محتوى ترفيهي أو تعليمي يجذب متابعين جدد
8432. **الاهتمام (Interest):** محتوى يُظهر قيمة منتجك أو خدمتك
8443. **الرغبة (Desire):** شهادات العملاء، نتائج حقيقية، عروض خاصة
8454. **الإجراء (Action):** CTA واضح يوجه للشراء أو التسجيل
846
847**أدوات التحويل:**
848- رابط في البايو (Link in Bio) مع صفحة هبوط مُحسّنة
849- Stories مع Swipe Up للمتابعين فوق 10,000
850- رسائل مباشرة مع ManyChat للأتمتة
851- إعلانات مدفوعة للوصول لجمهور أوسع
852
853## قياس النجاح: المقاييس المهمة
854
855**مقاييس الوعي:**
856- Reach: عدد الأشخاص الذين رأوا محتواك
857- Impressions: عدد مرات ظهور المحتوى
858
859**مقاييس التفاعل:**
860- Engagement Rate: (إعجابات + تعليقات + مشاركات) ÷ المتابعين × 100
861- معدل جيد: 3-6% على انستجرام، 5-10% على تيك توك
862
863**مقاييس التحويل:**
864- Click-Through Rate (CTR): نسبة من نقر على الرابط
865- Conversion Rate: نسبة من أتم الشراء
866
867## الخلاصة
868
869التسويق عبر السوشيال ميديا ليس عن نشر محتوى وانتظار النتائج. هو استراتيجية متكاملة تبدأ بفهم جمهورك، وتنتهي بتحويلهم إلى عملاء مخلصين. ابدأ بمنصة واحدة، أتقنها، ثم وسّع.
870    `,category:"التسويق الرقمي",categoryColor:"#3B82F6",readTime:9,date:"2025-03-10",image:"/manus-storage/productivity-article2_c59d2382.jpg",tags:["سوشيال ميديا","انستجرام","تيك توك","تسويق رقمي"],featured:!1},{id:"10",slug:"programming-languages-to-learn-2025",title:"أفضل 5 لغات برمجة تعلمها في 2025 للحصول على وظيفة أو مشروع مربح",excerpt:"اكتشف أكثر لغات البرمجة طلباً في سوق العمل العالمي 2025، وكيف تتعلمها بأسرع طريقة ممكنة لتحصل على وظيفة براتب عالٍ أو تبدأ مشروعك الخاص.",content:`
871## لماذا البرمجة هي أفضل مهارة يمكنك تعلمها الآن؟
872
873في عالم يتحول رقمياً بسرعة متسارعة، المبرمجون هم بناة المستقبل. متوسط راتب مطور البرمجيات في الولايات المتحدة تجاوز 120,000 دولار سنوياً، ومطورون عرب يعملون عن بُعد لشركات أمريكية وأوروبية يكسبون أضعاف هذا الرقم بالمقارنة مع تكاليف المعيشة في بلدانهم.
874
875لكن مع عشرات لغات البرمجة المتاحة، أيها تتعلم؟ الإجابة تعتمد على هدفك: وظيفة، مشروع مستقل، أو مشروع خاص.
876
877## اللغة الأولى: Python — ملك الذكاء الاصطناعي
878
879**لماذا Python؟**
880Python هي اللغة الأكثر شعبية في العالم للسنة الخامسة على التوالي وفقاً لمؤشر TIOBE. وبفضل ثورة الذكاء الاصطناعي، الطلب عليها وصل لمستويات غير مسبوقة.
881
882**ما يمكنك بناؤه بـ Python:**
883- نماذج ذكاء اصطناعي وتعلم آلي
884- تطبيقات ويب (Django, Flask)
885- أتمتة المهام المتكررة
886- تحليل البيانات والإحصاء
887- بوتات وأدوات تلقائية
888
889**مدة التعلم:** 3-6 أشهر للوصول لمستوى مقبول في سوق العمل.
890
891**أفضل مصادر التعلم المجانية:**
892- Python.org (الموقع الرسمي)
893- CS50P من Harvard (مجاني على edX)
894- Automate the Boring Stuff with Python (كتاب مجاني)
895
896## اللغة الثانية: JavaScript — لغة الإنترنت
897
898**لماذا JavaScript؟**
899JavaScript هي اللغة الوحيدة التي تعمل في المتصفح، مما يجعلها ضرورية لأي شخص يريد بناء مواقع أو تطبيقات ويب. مع Node.js، أصبحت تعمل أيضاً على الخادم.
900
901**ما يمكنك بناؤه بـ JavaScript:**
902- مواقع ويب تفاعلية
903- تطبيقات ويب كاملة (React, Vue, Angular)
904- تطبيقات موبايل (React Native)
905- تطبيقات سطح المكتب (Electron)
906- خوادم ويب (Node.js)
907
908**مدة التعلم:** 4-8 أشهر للوصول لمستوى مطور Frontend جاهز للتوظيف.
909
910## اللغة الثالثة: SQL — لغة البيانات
911
912**لماذا SQL؟**
913كل شركة تقريباً تستخدم قواعد بيانات، وكل قاعدة بيانات تقريباً تستخدم SQL. هي ليست لغة برمجة بالمعنى التقليدي، لكنها مهارة لا غنى عنها لأي مطور أو محلل بيانات.
914
915**الطلب في سوق العمل:** وظائف تحليل البيانات التي تتطلب SQL تدفع متوسط 85,000 دولار سنوياً في الولايات المتحدة.
916
917## اللغة الرابعة: TypeScript — JavaScript المُحسّنة
918
919**لماذا TypeScript؟**
920TypeScript هي JavaScript مع نظام أنواع قوي. تُستخدم في معظم الشركات الكبرى (Google, Microsoft, Airbnb) لأنها تُقلل الأخطاء وتُحسّن جودة الكود.
921
922إذا تعلمت JavaScript أولاً، تعلم TypeScript سيستغرق أسبوعين فقط، لكنه سيُضاعف قيمتك في سوق العمل.
923
924## اللغة الخامسة: Rust — مستقبل البرمجة النظامية
925
926**لماذا Rust؟**
927Rust هي اللغة الأسرع نمواً في شعبية المطورين للسنة الثامنة على التوالي. تُستخدم في بناء أنظمة تشغيل، متصفحات ويب، وتطبيقات تتطلب أداءً عالياً وأماناً.
928
929**للمبتدئين:** Rust ليست للبداية. تعلمها بعد إتقان Python أو JavaScript.
930
931## خطة التعلم المثالية
932
933**إذا كان هدفك وظيفة في أسرع وقت:**
9341. JavaScript + HTML/CSS (6 أشهر)
9352. React.js (3 أشهر)
9363. Node.js + SQL (3 أشهر)
9374. ابحث عن وظيفة Frontend أو Fullstack
938
939**إذا كان هدفك الذكاء الاصطناعي:**
9401. Python (4 أشهر)
9412. رياضيات: جبر خطي + إحصاء (3 أشهر)
9423. Machine Learning مع scikit-learn (3 أشهر)
9434. Deep Learning مع TensorFlow أو PyTorch (6 أشهر)
944
945## الخلاصة
946
947لا توجد لغة برمجة "أفضل" بشكل مطلق — كل لغة مناسبة لغرض معين. لكن إذا كنت مبتدئاً يريد أسرع طريق للتوظيف أو الدخل، فـ Python أو JavaScript هما أفضل خيار. ابدأ بواحدة، أتقنها، ثم وسّع معرفتك.
948    `,category:"التقنية",categoryColor:"#EF4444",readTime:10,date:"2025-03-18",image:"https://images.unsplash.com/photo-1516116216624-53e697fedbea?w=800&q=80",tags:["برمجة","Python","JavaScript","تقنية","وظائف تقنية"],featured:!1}];function fs({article:n,variant:s="default",className:l="",animationDelay:i=0}){const c=new Date(n.date).toLocaleDateString("ar-SA",{year:"numeric",month:"long",day:"numeric"});return s==="featured"?f.jsx(De,{"data-loc":"client/src/components/ArticleCard.tsx:26",href:`/article/${n.slug}`,children:f.jsx("article",{"data-loc":"client/src/components/ArticleCard.tsx:27",className:`article-card rounded-2xl overflow-hidden group cursor-pointer animate-fade-in-up ${l}`,style:{animationDelay:`${i}ms`},children:f.jsxs("div",{"data-loc":"client/src/components/ArticleCard.tsx:31",className:"flex flex-col sm:flex-row",children:[f.jsxs("div",{"data-loc":"client/src/components/ArticleCard.tsx:33",className:"relative sm:w-1/2 h-56 sm:h-72 overflow-hidden shrink-0",children:[f.jsx("img",{"data-loc":"client/src/components/ArticleCard.tsx:34",src:n.image,alt:n.title,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),f.jsx("div",{"data-loc":"client/src/components/ArticleCard.tsx:39",className:"absolute inset-0 bg-gradient-to-t from-black/60 via-trans
948parent to-transparent sm:bg-gradient-to-l"}),f.jsx("div",{"data-loc":"client/src/components/ArticleCard.tsx:40",className:"absolute top-4 right-4",children:f.jsxs("span",{"data-loc":"client/src/components/ArticleCard.tsx:41",className:"category-badge text-white",style:{backgroundColor:n.categoryColor+"33",border:`1px solid ${n.categoryColor}55`},children:[f.jsx("span",{"data-loc":"client/src/components/ArticleCard.tsx:45",className:"w-1.5 h-1.5 rounded-full",style:{backgroundColor:n.categoryColor}}),n.category]})})]}),f.jsxs("div",{"data-loc":"client/src/components/ArticleCard.tsx:51",className:"flex-1 p-6 sm:p-8 flex flex-col justify-center",children:[f.jsx("div",{"data-loc":"client/src/components/ArticleCard.tsx:52",className:"mb-2",children:f.jsx("span",{"data-loc":"client/src/components/ArticleCard.tsx:53",className:"text-xs font-bold uppercase tracking-widest",style:{color:n.categoryColor,fontFamily:"'Cairo', sans-serif"},children:"مقال مختار"})}),f.jsx("h2",{"data-loc":"client/src/components/ArticleCard.tsx:60",className:"font-black text-foreground text-xl sm:text-2xl leading-snug mb-3 group-hover:text-amber-400 transition-colors",style:{fontFamily:"'Cairo', sans-serif"},children:n.title}),f.jsx("p",{"data-loc":"client/src/components/ArticleCard.tsx:66",className:"text-muted-foreground text-sm leading-relaxed mb-4 line-clamp-3",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:n.excerpt}),f.jsxs("div",{"data-loc":"client/src/components/ArticleCard.tsx:72",className:"flex items-center gap-4 text-muted-foreground text-xs",children:[f.jsxs("span",{"data-loc":"client/src/components/ArticleCard.tsx:73",className:"flex items-center gap-1.5",children:[f.jsx(po,{"data-loc":"client/src/components/ArticleCard.tsx:74",size:12}),n.readTime," دقيقة قراءة"]}),f.jsx("span",{"data-loc":"client/src/components/ArticleCard.tsx:77",children:c})]}),f.jsxs("div",{"data-loc":"client/src/components/ArticleCard.tsx:79",className:"mt-4 flex items-center gap-1.5 text-amber-400 text-sm font-semibold group-hover:gap-2.5 transition-all",style:{fontFamily:"'Cairo', sans-serif"},children:["اقرأ المقال",f.jsx(zl,{"data-loc":"client/src/components/ArticleCard.tsx:81",size:14})]})]})]})})}):s==="compact"?f.jsx(De,{"data-loc":"client/src/components/ArticleCard.tsx:92",href:`/article/${n.slug}`,children:f.jsxs("article",{"data-loc":"client/src/components/ArticleCard.tsx:93",className:`flex gap-3 group cursor-pointer animate-fade-in-up ${l}`,style:{animationDelay:`${i}ms`},children:[f.jsx("div",{"data-loc":"client/src/components/ArticleCard.tsx:97",className:"w-20 h-16 rounded-xl overflow-hidden shrink-0",children:f.jsx("img",{"data-loc":"client/src/components/ArticleCard.tsx:98",src:n.image,alt:n.title,className:"w-full h-full object-cover transition-transform duration-300 group-hover:scale-110"})}),f.jsxs("div",{"data-loc":"client/src/components/ArticleCard.tsx:104",className:"flex-1 min-w-0",children:[f.jsx("h3",{"data-loc":"client/src/components/ArticleCard.tsx:105",className:"text-sm font-bold text-foreground group-hover:text-amber-400 transition-colors line-clamp-2 leading-snug",style:{fontFamily:"'Cairo', sans-serif"},children:n.title}),f.jsxs("div",{"data-loc":"client/src/components/ArticleCard.tsx:111",className:"flex items-center gap-2 mt-1",children:[f.jsxs("span",{"data-loc":"client/src/components/ArticleCard.tsx:112",className:"text-xs text-muted-foreground flex items-center gap-1",children:[f.jsx(po,{"data-loc":"client/src/components/ArticleCard.tsx:113",size:11}),n.readTime," د"]}),f.jsx("span",{"data-loc":"client/src/components/ArticleCard.tsx:116",className:"text-xs font-semibold",style:{color:n.categoryColor},children:n.category})]})]})]})}):f.jsx(De,{"data-loc":"client/src/components/ArticleCard.tsx:130",href:`/article/${n.slug}`,children:f.jsxs("article",{"data-loc":"client/src/components/ArticleCard.tsx:131",className:`article-card rounded-2xl overflow-hidden group cursor-pointer animate-fade-in-up ${l}`,style:{animationDelay:`${i}ms`},children:[f.jsxs("div",{"data-loc":"client/src/components/ArticleCard.tsx:135",className:"relative h-48 overflow-hidden",children:[f.jsx("img",{"data-loc":"client/src/components/ArticleCard.tsx:136",src:n.image,alt:n.title,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),f.jsx("div",{"data-loc":"client/src/components/ArticleCard.tsx:141",className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"}),f.jsx("div",{"data-loc":"client/src/components/ArticleCard.tsx:142",className:"absolute top-3 right-3",children:f.jsxs("span",{"data-loc":"client/src/components/ArticleCard.tsx:143",className:"category-badge text-white text-xs",style:{backgroundColor:n.categoryColor+"33",border:`1px solid ${n.categoryColor}55`},children:[f.jsx("span",{"data-loc":"client/src/components/ArticleCard.tsx:150",className:"w-1.5 h-1.5 rounded-full",style:{backgroundColor:n.categoryColor}}),n.category]})})]}),f.jsxs("div",{"data-loc":"client/src/components/ArticleCard.tsx:158",className:"p-5",children:[f.jsx("h3",{"data-loc":"client/src/components/ArticleCard.tsx:159",className:"font-black text-foreground text-base leading-snug mb-2 group-hover:text-amber-400 transition-colors line-clamp-2",style:{fontFamily:"'Cairo', sans-serif"},children:n.title}),f.jsx("p",{"data-loc":"client/src/components/ArticleCard.tsx:165",className:"text-muted-foreground text-sm leading-relaxed line-clamp-2 mb-4",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:n.excerpt}),f.jsxs("div",{"data-loc":"client/src/components/ArticleCard.tsx:171",className:"flex items-center justify-between",children:[f.jsxs("div",{"data-loc":"client/src/components/ArticleCard.tsx:172",className:"flex items-center gap-3 text-xs text-muted-foreground",children:[f.jsxs("span",{"data-loc":"client/src/components/ArticleCard.tsx:173",className:"flex items-center gap-1",children:[f.jsx(po,{"data-loc":"client/src/components/ArticleCard.tsx:174",size:12}),n.readTime," دقيقة"]}),f.jsx("span",{"data-loc":"client/src/components/ArticleCard.tsx:177",children:c})]}),f.jsx("span",{"data-loc":"client/src/components/ArticleCard.tsx:179",className:"text-amber-400 group-hover:translate-x-[-4px] transition-transform duration-200",children:f.jsx(zl,{"data-loc":"client/src/components/ArticleCard.tsx:180",size:16})})]})]})]})})}const Fd="blog_newsletter_subscribers",h4=(n,s)=>{const l=localStorage.getItem(Fd),i=l?JSON.parse(l):[];i.find(c=>c.email===n)||(i.push({email:n,name:s,date:new Date().toISOString()}),localStorage.setItem(Fd,JSON.stringify(i)))},p4=n=>{const s=localStorage.getItem(Fd);return s?JSON.parse(s).some(i=>i.email===n):!1},g4=[{icon:Dl,text:"مقالات حصرية كل أسبوع"}
948,{icon:PA,text:"أدوات ذكاء اصطناعي مجانية"},{icon:jA,text:"أحدث أخبار الربح الرقمي"}];function Gd({variant:n="full"}){const[s,l]=E.useState(""),[i,c]=E.useState(""),[d,m]=E.useState("idle"),p=h=>{h.preventDefault();const g=s.trim().toLowerCase(),v=i.trim();if(!(!g||!v)){if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(g)){m("error"),setTimeout(()=>m("idle"),3e3);return}m("loading"),setTimeout(()=>{p4(g)?(m("duplicate"),setTimeout(()=>m("idle"),4e3)):(h4(g,v),m("success"),l(""),c(""))},800)}};return n==="sidebar"?f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:71",className:"rounded-2xl p-5 relative overflow-hidden",style:{background:"linear-gradient(135deg, oklch(0.18 0.04 60) 0%, oklch(0.12 0.025 260) 100%)",border:"1px solid oklch(0.75 0.18 85 / 0.25)"},children:[f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:79",className:"absolute -top-6 -right-6 w-24 h-24 rounded-full bg-amber-400/10 blur-2xl pointer-events-none"}),f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:81",className:"flex items-center gap-2 mb-3",children:[f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:82",className:"w-8 h-8 rounded-lg bg-amber-400/15 flex items-center justify-center",children:f.jsx(bl,{"data-loc":"client/src/components/NewsletterSection.tsx:83",size:15,className:"text-amber-400"})}),f.jsx("h3",{"data-loc":"client/src/components/NewsletterSection.tsx:85",className:"font-black text-foreground text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:"النشرة البريدية"})]}),f.jsx("p",{"data-loc":"client/src/components/NewsletterSection.tsx:92",className:"text-muted-foreground text-xs leading-relaxed mb-4",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:"اشترك واحصل على أحدث المقالات والأدوات مجاناً كل أسبوع."}),d==="success"?f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:100",className:"flex items-center gap-2 text-emerald-400 text-sm font-bold py-2",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(dd,{"data-loc":"client/src/components/NewsletterSection.tsx:101",size:16}),"تم الاشتراك بنجاح!"]}):f.jsxs("form",{"data-loc":"client/src/components/NewsletterSection.tsx:105",onSubmit:p,className:"space-y-2",children:[f.jsx("input",{"data-loc":"client/src/components/NewsletterSection.tsx:106",type:"text",placeholder:"اسمك",value:i,onChange:h=>c(h.target.value),required:!0,className:"w-full px-3 py-2.5 rounded-xl bg-white/5 border border-white/10 text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-amber-400/50 transition-all text-xs",style:{fontFamily:"'Cairo', sans-serif",direction:"rtl"}}),f.jsx("input",{"data-loc":"client/src/components/NewsletterSection.tsx:115",type:"email",placeholder:"بريدك الإلكتروني",value:s,onChange:h=>l(h.target.value),required:!0,className:"w-full px-3 py-2.5 rounded-xl bg-white/5 border border-white/10 text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-amber-400/50 transition-all text-xs",style:{fontFamily:"'Cairo', sans-serif",direction:"rtl"}}),d==="error"&&f.jsx("p",{"data-loc":"client/src/components/NewsletterSection.tsx:125",className:"text-rose-400 text-xs",style:{fontFamily:"'Cairo', sans-serif"},children:"البريد الإلكتروني غير صحيح"}),d==="duplicate"&&f.jsx("p",{"data-loc":"client/src/components/NewsletterSection.tsx:130",className:"text-amber-400 text-xs",style:{fontFamily:"'Cairo', sans-serif"},children:"أنت مشترك بالفعل!"}),f.jsx("button",{"data-loc":"client/src/components/NewsletterSection.tsx:134",type:"submit",disabled:d==="loading",className:"w-full py-2.5 rounded-xl bg-amber-400 text-slate-900 font-black text-xs hover:bg-amber-300 disabled:opacity-60 transition-all active:scale-95 flex items-center justify-center gap-1.5",style:{fontFamily:"'Cairo', sans-serif"},children:d==="loading"?f.jsx("span",{"data-loc":"client/src/components/NewsletterSection.tsx:141",className:"animate-spin w-3.5 h-3.5 border-2 border-slate-900/30 border-t-slate-900 rounded-full"}):f.jsxs(f.Fragment,{children:[f.jsx(bl,{"data-loc":"client/src/components/NewsletterSection.tsx:144",size:12}),"اشترك الآن"]})})]})]}):n==="compact"?f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:158",className:"rounded-2xl p-6 sm:p-8 relative overflow-hidden",style:{background:"linear-gradient(135deg, oklch(0.16 0.04 60) 0%, oklch(0.11 0.025 260) 100%)",border:"1px solid oklch(0.75 0.18 85 / 0.3)"},children:[f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:165",className:"absolute inset-0 pointer-events-none",children:[f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:166",className:"absolute -top-10 -left-10 w-40 h-40 rounded-full bg-amber-400/8 blur-3xl"}),f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:167",className:"absolute -bottom-10 -right-10 w-32 h-32 rounded-full bg-blue-500/8 blur-3xl"})]}),f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:169",className:"relative flex flex-col sm:flex-row items-center gap-6",children:[f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:170",className:"flex-1 text-center sm:text-right",children:[f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:171",className:"flex items-center gap-2 justify-center sm:justify-start mb-2",children:[f.jsx(bl,{"data-loc":"client/src/components/NewsletterSection.tsx:172",size:18,className:"text-amber-400"}),f.jsx("span",{"data-loc":"client/src/components/NewsletterSection.tsx:173",className:"text-amber-400 font-bold text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:"النشرة البريدية الأسبوعية"})]}),f.jsx("h3",{"data-loc":"client/src/components/NewsletterSection.tsx:177",className:"text-lg font-black text-foreground mb-1",style:{fontFamily:"'Cairo', sans-serif"},children:"لا تفوّت أي جديد!"}),f.jsx("p",{"data-loc":"client/src/components/NewsletterSection.tsx:183",className:"text-muted-foreground text-sm",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:"مقالات حصرية وأدوات مجانية في بريدك كل أسبوع."})]}),d==="success"?f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:191",className:"flex items-center gap-2 text-emerald-400 font-bold",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(dd,{"data-loc":"client/src/components/NewsletterSection.tsx:192",size:20}),"تم الاشتراك بنجاح!"]}):f.jsxs("form",{"data-loc":"client/src/components/NewsletterSection.tsx:196",onSubmit:p,className:"flex flex-col sm:flex-row gap-2 w-full sm:w-auto",children:[f.jsx("input",{"data-loc":"client/src/components/NewsletterSection.tsx:197",type:"text",placeholder:"اسمك",value:i,onChange:h=>c(h.target.value),required:!0,className:"px-4 py-2.5 rounded-xl bg-white/8 border border-white/15 text-foreground placeholder:text-muted-foreground
948/50 focus:outline-none focus:border-amber-400/50 transition-all text-sm w-full sm:w-32",style:{fontFamily:"'Cairo', sans-serif",direction:"rtl"}}),f.jsx("input",{"data-loc":"client/src/components/NewsletterSection.tsx:206",type:"email",placeholder:"بريدك الإلكتروني",value:s,onChange:h=>l(h.target.value),required:!0,className:"px-4 py-2.5 rounded-xl bg-white/8 border border-white/15 text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-amber-400/50 transition-all text-sm w-full sm:w-48",style:{fontFamily:"'Cairo', sans-serif",direction:"rtl"}}),f.jsx("button",{"data-loc":"client/src/components/NewsletterSection.tsx:215",type:"submit",disabled:d==="loading",className:"px-5 py-2.5 rounded-xl bg-amber-400 text-slate-900 font-black text-sm hover:bg-amber-300 disabled:opacity-60 transition-all active:scale-95 flex items-center justify-center gap-1.5 shrink-0",style:{fontFamily:"'Cairo', sans-serif"},children:d==="loading"?f.jsx("span",{"data-loc":"client/src/components/NewsletterSection.tsx:222",className:"animate-spin w-4 h-4 border-2 border-slate-900/30 border-t-slate-900 rounded-full"}):f.jsxs(f.Fragment,{children:["اشترك ",f.jsx(zl,{"data-loc":"client/src/components/NewsletterSection.tsx:224",size:14})]})})]})]})]}):f.jsxs("section",{"data-loc":"client/src/components/NewsletterSection.tsx:236",className:"py-16 relative overflow-hidden",children:[f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:238",className:"absolute inset-0 -z-10",style:{background:"radial-gradient(ellipse 80% 60% at 50% 50%, oklch(0.22 0.06 60 / 0.35) 0%, transparent 70%), oklch(0.09 0.015 260)"}}),f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:246",className:"absolute top-0 left-1/4 w-64 h-64 rounded-full bg-amber-400/5 blur-3xl pointer-events-none"}),f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:247",className:"absolute bottom-0 right-1/4 w-48 h-48 rounded-full bg-blue-500/5 blur-3xl pointer-events-none"}),f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:249",className:"absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-amber-400/40 to-transparent"}),f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:251",className:"container max-w-3xl",children:[f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:253",className:"flex justify-center mb-6",children:f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:254",className:"w-16 h-16 rounded-2xl flex items-center justify-center shadow-2xl shadow-amber-500/20",style:{background:"linear-gradient(135deg, oklch(0.78 0.18 85) 0%, oklch(0.65 0.18 55) 100%)"},children:f.jsx(bl,{"data-loc":"client/src/components/NewsletterSection.tsx:260",size:28,className:"text-slate-900"})})}),f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:265",className:"text-center mb-8",children:[f.jsx("span",{"data-loc":"client/src/components/NewsletterSection.tsx:266",className:"text-amber-400 font-bold text-sm uppercase tracking-widest mb-3 block",style:{fontFamily:"'Cairo', sans-serif"},children:"النشرة البريدية الأسبوعية"}),f.jsxs("h2",{"data-loc":"client/src/components/NewsletterSection.tsx:272",className:"text-2xl sm:text-3xl lg:text-4xl font-black text-foreground leading-snug mb-4",style:{fontFamily:"'Cairo', sans-serif"},children:["ابقَ في طليعة"," ",f.jsx("span",{"data-loc":"client/src/components/NewsletterSection.tsx:277",style:{background:"linear-gradient(90deg, oklch(0.78 0.18 85), oklch(0.65 0.18 55))",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},children:"العصر الرقمي"})]}),f.jsx("p",{"data-loc":"client/src/components/NewsletterSection.tsx:287",className:"text-muted-foreground text-base leading-relaxed max-w-xl mx-auto",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:"انضم إلى آلاف القراء العرب الذين يتلقون كل أسبوع أفضل المقالات، أدوات الذكاء الاصطناعي، وفرص الربح من الإنترنت — مباشرة في بريدهم."})]}),f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:296",className:"flex flex-wrap justify-center gap-4 mb-10",children:g4.map(({icon:h,text:g})=>f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:298",className:"flex items-center gap-2 px-4 py-2 rounded-full text-sm font-semibold text-muted-foreground",style:{background:"oklch(1 0 0 / 0.04)",border:"1px solid oklch(1 0 0 / 0.08)",fontFamily:"'Cairo', sans-serif"},children:[f.jsx(h,{"data-loc":"client/src/components/NewsletterSection.tsx:307",size:14,className:"text-amber-400"}),g]},g))}),f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:314",className:"rounded-2xl p-6 sm:p-8 relative overflow-hidden",style:{background:"oklch(1 0 0 / 0.04)",border:"1px solid oklch(0.75 0.18 85 / 0.25)",backdropFilter:"blur(12px)"},children:[f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:323",className:"absolute -top-8 left-1/2 -translate-x-1/2 w-48 h-16 bg-amber-400/10 blur-2xl rounded-full pointer-events-none"}),d==="success"?f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:326",className:"text-center py-6 animate-fade-in-up",children:[f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:327",className:"w-16 h-16 rounded-full bg-emerald-400/15 flex items-center justify-center mx-auto mb-4",children:f.jsx(dd,{"data-loc":"client/src/components/NewsletterSection.tsx:328",size:32,className:"text-emerald-400"})}),f.jsx("h3",{"data-loc":"client/src/components/NewsletterSection.tsx:330",className:"text-xl font-black text-foreground mb-2",style:{fontFamily:"'Cairo', sans-serif"},children:"أهلاً بك في العائلة! 🎉"}),f.jsx("p",{"data-loc":"client/src/components/NewsletterSection.tsx:336",className:"text-muted-foreground",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:"تم تسجيل اشتراكك بنجاح. ستصلك أول نشرة قريباً."})]}):f.jsxs("form",{"data-loc":"client/src/components/NewsletterSection.tsx:344",onSubmit:p,children:[f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:345",className:"flex flex-col sm:flex-row gap-3 mb-4",children:[f.jsx("input",{"data-loc":"client/src/components/NewsletterSection.tsx:346",type:"text",placeholder:"اسمك الكريم *",value:i,onChange:h=>c(h.target.value),required:!0,className:"flex-1 px-5 py-3.5 rounded-xl bg-white/5 border border-white/10 text-foreground placeholder:text-muted-foreground
948/40 focus:outline-none focus:border-amber-400/60 focus:bg-white/8 transition-all text-sm",style:{fontFamily:"'Cairo', sans-serif",direction:"rtl"}}),f.jsx("input",{"data-loc":"client/src/components/NewsletterSection.tsx:355",type:"email",placeholder:"بريدك الإلكتروني *",value:s,onChange:h=>l(h.target.value),required:!0,className:"flex-1 sm:flex-[2] px-5 py-3.5 rounded-xl bg-white/5 border border-white/10 text-foreground placeholder:text-muted-foreground/40 focus:outline-none focus:border-amber-400/60 focus:bg-white/8 transition-all text-sm",style:{fontFamily:"'Cairo', sans-serif",direction:"rtl"}}),f.jsx("button",{"data-loc":"client/src/components/NewsletterSection.tsx:364",type:"submit",disabled:d==="loading",className:"px-7 py-3.5 rounded-xl font-black text-slate-900 text-sm hover:brightness-110 disabled:opacity-60 disabled:cursor-not-allowed transition-all duration-200 active:scale-95 flex items-center justify-center gap-2 shrink-0 shadow-lg shadow-amber-500/20",style:{background:"linear-gradient(135deg, oklch(0.78 0.18 85) 0%, oklch(0.68 0.18 55) 100%)",fontFamily:"'Cairo', sans-serif"},children:d==="loading"?f.jsx("span",{"data-loc":"client/src/components/NewsletterSection.tsx:374",className:"animate-spin w-4 h-4 border-2 border-slate-900/30 border-t-slate-900 rounded-full"}):f.jsxs(f.Fragment,{children:["اشترك مجاناً",f.jsx(zl,{"data-loc":"client/src/components/NewsletterSection.tsx:378",size:15})]})})]}),d==="error"&&f.jsx("p",{"data-loc":"client/src/components/NewsletterSection.tsx:386",className:"text-rose-400 text-sm text-center animate-fade-in-up",style:{fontFamily:"'Cairo', sans-serif"},children:"⚠ يرجى إدخال بريد إلكتروني صحيح"}),d==="duplicate"&&f.jsx("p",{"data-loc":"client/src/components/NewsletterSection.tsx:391",className:"text-amber-400 text-sm text-center animate-fade-in-up",style:{fontFamily:"'Cairo', sans-serif"},children:"✓ أنت مشترك بالفعل في النشرة البريدية!"}),f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:397",className:"flex items-center justify-center gap-1.5 mt-4 text-muted-foreground/50 text-xs",children:[f.jsx(jx,{"data-loc":"client/src/components/NewsletterSection.tsx:398",size:11}),f.jsx("span",{"data-loc":"client/src/components/NewsletterSection.tsx:399",style:{fontFamily:"'Cairo', sans-serif"},children:"بريدك محمي تماماً. لا إزعاج، يمكنك إلغاء الاشتراك في أي وقت."})]})]})]}),f.jsxs("div",{"data-loc":"client/src/components/NewsletterSection.tsx:408",className:"flex items-center justify-center gap-2 mt-6",children:[f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:409",className:"flex -space-x-2 space-x-reverse",children:["أ","م","س","ف"].map((h,g)=>f.jsx("div",{"data-loc":"client/src/components/NewsletterSection.tsx:411",className:"w-7 h-7 rounded-full border-2 border-background flex items-center justify-center text-xs font-black text-white",style:{background:`hsl(${g*60+30}, 70%, 50%)`,fontFamily:"'Cairo', sans-serif"},children:h},g))}),f.jsxs("span",{"data-loc":"client/src/components/NewsletterSection.tsx:423",className:"text-muted-foreground text-xs",style:{fontFamily:"'Cairo', sans-serif"},children:["انضم إلى ",f.jsx("strong",{"data-loc":"client/src/components/NewsletterSection.tsx:427",className:"text-foreground",children:"+500"})," قارئ عربي"]})]})]})]})}const y4="ca-pub-8349860281264117",gf={SIDEBAR:"2345678901",BANNER:"3456789012",IN_ARTICLE:"4567890123"};function yf({slot:n,format:s="auto",className:l="",style:i,label:c="إعلان"}){const d=E.useRef(null),m=E.useRef(!1);return E.useEffect(()=>{if(!m.current){m.current=!0;try{(window.adsbygoogle=window.adsbygoogle||[]).push({})}catch{}}},[]),f.jsxs("div",{"data-loc":"client/src/components/AdUnit.tsx:46",className:`ad-unit-wrapper overflow-hidden ${l}`,children:[f.jsx("p",{"data-loc":"client/src/components/AdUnit.tsx:47",className:"text-muted-foreground/40 text-xs text-center mb-1",style:{fontFamily:"'Cairo', sans-serif"},children:c}),f.jsx("ins",{"data-loc":"client/src/components/AdUnit.tsx:53",ref:d,className:"adsbygoogle",style:{display:"block",...i},"data-ad-client":y4,"data-ad-slot":n,"data-ad-format":s,"data-full-width-responsive":"true"})]})}function zx(){return f.jsx("div",{"data-loc":"client/src/components/AdUnit.tsx:69",className:"article-card rounded-2xl p-4 overflow-hidden",children:f.jsx(yf,{"data-loc":"client/src/components/AdUnit.tsx:70",slot:gf.SIDEBAR,format:"rectangle",style:{minHeight:"250px",maxWidth:"300px",margin:"0 auto"}})})}function x4(){return f.jsx("div",{"data-loc":"client/src/components/AdUnit.tsx:82",className:"my-8 overflow-hidden rounded-xl",children:f.jsx(yf,{"data-loc":"client/src/components/AdUnit.tsx:83",slot:gf.IN_ARTICLE,format:"auto",style:{minHeight:"90px"}})})}function v4(){return f.jsx("div",{"data-loc":"client/src/components/AdUnit.tsx:95",className:"w-full overflow-hidden rounded-xl my-4",children:f.jsx(yf,{"data-loc":"client/src/components/AdUnit.tsx:96",slot:gf.BANNER,format:"horizontal",style:{minHeight:"90px"}})})}function b4(){const[n,s]=E.useState(!1),{data:l}=At.articles.list.useQuery({limit:50,offset:0}),i=E.useMemo(()=>[...(l?.articles??[]).map(g=>({id:`db-${g.id}`,slug:g.slug,title:g.title,excerpt:g.excerpt,content:g.content,category:g.category,categorySlug:g.categorySlug,categoryColor:g.categoryColor,image:g.imageUrl||"/manus-storage/ai-article_9cbd1739.jpg",date:g.createdAt instanceof Date?g.createdAt.toISOString().split("T")[0]:String(g.createdAt).split("T")[0],readTime:g.readTime,featured:g.featured,author:"مدونة المعرفة",tags:[g.category]})),...mr],[l]),c=i.filter(h=>h.featured),d=i.filter(h=>!h.featured),m=[...i].sort((h,g)=>new Date(g.date).getTime()-new Date(h.date).getTime());E.useEffect(()=>{const h=()=>s(window.scrollY>400);return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]);const p=()=>window.scrollTo({top:0,behavior:"smooth"});return f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:53",className:"min-h-screen",children:[f.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:55",className:"hero-bg relative pt-28 pb-20 overflow-hidden",children:[f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:57",className:"absolute inset-0 z-0",children:[f.jsx("img",{"data-loc":"client/src/pages/Home.tsx:58",src:"/manus-storage/hero-bg_9cbd1739.jpg",alt:"",className:"w-full h-full object-cover opacity-30",loading:"eager"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:64",className:"absolute inset-0 bg-gradient-to-b from-transparent via-trans
948parent to-[oklch(0.09_0.015_260)]"})]}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:67",className:"container relative z-10",children:f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:68",className:"max-w-3xl",children:[f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:70",className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full border border-amber-400/30 bg-amber-400/10 mb-6 animate-fade-in-up stagger-1",children:[f.jsx(QA,{"data-loc":"client/src/pages/Home.tsx:71",size:14,className:"text-amber-400"}),f.jsx("span",{"data-loc":"client/src/pages/Home.tsx:72",className:"text-amber-400 text-sm font-semibold",style:{fontFamily:"'Cairo', sans-serif"},children:"المرجع العربي الأول في النجاح الرقمي"})]}),f.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:80",className:"text-4xl sm:text-5xl lg:text-6xl font-black text-foreground leading-tight mb-6 animate-fade-in-up stagger-2",style:{fontFamily:"'Cairo', sans-serif"},children:["اكتشف"," ",f.jsx("span",{"data-loc":"client/src/pages/Home.tsx:85",className:"text-golden-gradient",children:"أسرار النجاح"}),f.jsx("br",{"data-loc":"client/src/pages/Home.tsx:86"}),"في العصر الرقمي"]}),f.jsx("p",{"data-loc":"client/src/pages/Home.tsx:90",className:"text-muted-foreground text-lg leading-relaxed mb-8 max-w-2xl animate-fade-in-up stagger-3",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:"مقالات متخصصة وموثوقة في الذكاء الاصطناعي، الربح من الإنترنت، التسويق الرقمي، وريادة الأعمال. نُقدم لك المعرفة العملية التي تحتاجها لتحقيق النجاح الرقمي."}),f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:97",className:"flex flex-wrap gap-4 animate-fade-in-up stagger-4",children:[f.jsx(De,{"data-loc":"client/src/pages/Home.tsx:98",href:"/category/ai",children:f.jsxs("button",{"data-loc":"client/src/pages/Home.tsx:99",className:"btn-primary",children:[f.jsx(Dl,{"data-loc":"client/src/pages/Home.tsx:100",size:16}),"ابدأ القراءة"]})}),f.jsx(De,{"data-loc":"client/src/pages/Home.tsx:104",href:"/about",children:f.jsx("button",{"data-loc":"client/src/pages/Home.tsx:105",className:"px-6 py-2.5 rounded-lg border border-white/15 text-foreground hover:border-amber-400/40 hover:bg-amber-400/5 transition-all duration-200 font-semibold text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:"عن المدونة"})})]}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:115",className:"flex flex-wrap gap-8 mt-12 animate-fade-in-up stagger-5",children:[{label:"مقال متخصص",value:`${i.length}+`},{label:"قسم متنوع",value:"6"},{label:"دقيقة قراءة مفيدة",value:"100+"}].map(h=>f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:121",children:[f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:122",className:"text-2xl font-black text-amber-400",style:{fontFamily:"'Cairo', sans-serif"},children:h.value}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:128",className:"text-muted-foreground text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:h.label})]},h.label))})]})})]}),f.jsx("section",{"data-loc":"client/src/pages/Home.tsx:142",className:"border-y border-white/8 bg-white/2 py-4",children:f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:143",className:"container",children:f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:144",className:"flex items-center gap-2 overflow-x-auto pb-1 scrollbar-hide",children:[f.jsx("span",{"data-loc":"client/src/pages/Home.tsx:145",className:"text-muted-foreground text-sm shrink-0 ml-2",style:{fontFamily:"'Cairo', sans-serif"},children:"الأقسام:"}),ps.map(h=>f.jsx(De,{"data-loc":"client/src/pages/Home.tsx:152",href:`/category/${h.slug}`,children:f.jsx("span",{"data-loc":"client/src/pages/Home.tsx:153",className:"category-badge shrink-0 cursor-pointer hover:opacity-80 transition-opacity",style:{backgroundColor:h.color+"22",border:`1px solid ${h.color}44`,color:h.color},children:h.name})},h.slug))]})})}),f.jsx("main",{"data-loc":"client/src/pages/Home.tsx:170",className:"container py-12",children:f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:171",className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:173",className:"lg:col-span-2 space-y-8",children:[f.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:175",children:[f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:176",className:"flex items-center justify-between mb-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:177",className:"flex flex-col gap-1",children:[f.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:178",className:"text-xl font-black text-foreground golden-u
948nderline",style:{fontFamily:"'Cairo', sans-serif"},children:"المقالات المميزة"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:184",className:"gold-rule"})]}),f.jsxs(De,{"data-loc":"client/src/pages/Home.tsx:186",href:"/category/ai",className:"text-amber-400 hover:text-amber-300 text-sm font-semibold flex items-center gap-1 transition-colors",style:{fontFamily:"'Cairo', sans-serif"},children:["عرض الكل",f.jsx(zl,{"data-loc":"client/src/pages/Home.tsx:192",size:14})]})]}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:195",className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:c.map((h,g)=>f.jsx(fs,{"data-loc":"client/src/pages/Home.tsx:197",article:h,variant:"featured",animationDelay:g*100},h.id))})]}),f.jsx(v4,{"data-loc":"client/src/pages/Home.tsx:208"}),f.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:211",children:[f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:212",className:"flex flex-col gap-1 mb-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:213",className:"flex items-center gap-3",children:[f.jsx(df,{"data-loc":"client/src/pages/Home.tsx:214",size:20,className:"text-amber-400"}),f.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:215",className:"text-xl font-black text-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:"جميع المقالات"})]}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:222",className:"gold-rule"})]}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:224",className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:d.map((h,g)=>f.jsx(fs,{"data-loc":"client/src/pages/Home.tsx:226",article:h,animationDelay:g*80},h.id))})]})]}),f.jsxs("aside",{"data-loc":"client/src/pages/Home.tsx:237",className:"space-y-6",children:[f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:239",className:"article-card rounded-2xl p-5",children:[f.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:240",className:"font-black text-foreground mb-4 golden-underline",style:{fontFamily:"'Cairo', sans-serif"},children:"الأحدث"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:246",className:"space-y-4",children:m.slice(0,5).map((h,g)=>f.jsx(fs,{"data-loc":"client/src/pages/Home.tsx:248",article:h,variant:"compact",animationDelay:g*60},h.id))})]}),f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:259",className:"article-card rounded-2xl p-5",children:[f.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:260",className:"font-black text-foreground mb-4 golden-underline",style:{fontFamily:"'Cairo', sans-serif"},children:"الأقسام"}),f.jsx("div",{"data-loc":"client/src/pages/Home.tsx:266",className:"space-y-2",children:ps.map(h=>{const g=mr.filter(v=>v.category===h.name).length;return f.jsx(De,{"data-loc":"client/src/pages/Home.tsx:270",href:`/category/${h.slug}`,children:f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:271",className:"flex items-center justify-between py-2 px-3 rounded-xl hover:bg-white/5 transition-colors group cursor-pointer",children:[f.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:272",className:"flex items-center gap-2",children:[f.jsx("span",{"data-loc":"client/src/pages/Home.tsx:273",className:"w-2.5 h-2.5 rounded-full",style:{backgroundColor:h.color}}),f.jsx("span",{"data-loc":"client/src/pages/Home.tsx:277",className:"text-sm font-semibold text-muted-foreground group-hover:text-foreground transition-colors",style:{fontFamily:"'Cairo', sans-serif"},children:h.name})]}),f.jsx("span",{"data-loc":"client/src/pages/Home.tsx:284",className:"text-xs font-bold px-2 py-0.5 rounded-full",style:{backgroundColor:h.color+"22",color:h.color},children:g})]})},h.slug)})})]}),f.jsx(zx,{"data-loc":"client/src/pages/Home.tsx:301"}),f.jsx(Gd,{"data-loc":"client/src/pages/Home.tsx:304",variant:"sidebar"})]})]})}),f.jsx(Gd,{"data-loc":"client/src/pages/Home.tsx:310",variant:"full"}),n&&f.jsx("button",{"data-loc":"client/src/pages/Home.tsx:314",onClick:p,className:"fixed bottom-6 left-6 z-50 w-12 h-12 rounded-full bg-amber-400 text-slate-900 flex items-center justify-center shadow-lg hover:bg-amber-300 transition-all duration-200 hover:scale-110 active:scale-95","aria-label":"العودة للأعلى",children:f.jsx(Sx,{"data-loc":"client/src/pages/Home.tsx:319",size:22})})]})}const Sy=["from-amber-400 to-orange-500","from-purple-500 to-indigo-600","from-emerald-400 to-teal-500","from-blue-400 to-cyan-500","from-rose-400 to-pink-500","from-violet-500 to-purple-600"],wy=n=>{let s=0;for(let l=0;l<n.length;l++)s=n.charCodeAt(l)+((s<<5)-s);return Sy[Math.abs(s)%Sy.length]},Cy=n=>{const s=Date.now()-new Date(n).getTime(),l=Math.floor(s/6e4),i=Math.floor(s/36e5),c=Math.floor(s/864e5);return l<1?"الآن":l<60?`منذ ${l} دقيقة`:i<24?`منذ ${i} ساعة`:c<7?`منذ ${c} يوم`:new Date(n).toLocaleDateString("ar-SA",{year:"numeric",month:"short",day:"numeric"})};function S4({articleSlug:n}){const[s,l]=E.useState(""),[i,c]=E.useState(""),[d,m]=E.useState(null),[p,h]=E.useState(""),[g,v]=E.useState(""),[x,w]=E.useState(new Set),[S,C]=E.useState("newest"),[j,z]=E.useState(new Set),U=At.useUtils(),{data:I=[],isLoading:$}=At.comments.byArticle.useQuery({articleSlug:n}),J=At.comments.add.useMutation({onSuccess:()=>
948{U.comments.byArticle.invalidate({articleSlug:n}),l(""),c("")}}),G=At.comments.add.useMutation({onSuccess:()=>{U.comments.byArticle.invalidate({articleSlug:n}),m(null),h(""),v("")}}),F=At.comments.like.useMutation({onSuccess:()=>U.comments.byArticle.invalidate({articleSlug:n})}),_=({commentId:V})=>{const{data:ne=[]}=At.comments.replies.useQuery({parentId:V});return f.jsx("div",{"data-loc":"client/src/components/CommentsSection.tsx:79",className:"space-y-3 mt-3 pr-4 border-r-2 border-amber-400/20",children:ne.map(W=>f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:81",className:"flex gap-3",children:[f.jsx("div",{"data-loc":"client/src/components/CommentsSection.tsx:82",className:`w-7 h-7 rounded-full bg-gradient-to-br ${wy(W.authorName)} flex items-center justify-center text-white text-xs font-bold shrink-0`,children:W.authorName[0]}),f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:85",className:"flex-1",children:[f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:86",className:"flex items-center gap-2 mb-1",children:[f.jsx("span",{"data-loc":"client/src/components/CommentsSection.tsx:87",className:"text-sm font-bold text-amber-400",style:{fontFamily:"'Cairo', sans-serif"},children:W.authorName}),f.jsx("span",{"data-loc":"client/src/components/CommentsSection.tsx:88",className:"text-xs text-muted-foreground",children:Cy(W.createdAt)})]}),f.jsx("p",{"data-loc":"client/src/components/CommentsSection.tsx:90",className:"text-sm text-foreground/90 leading-relaxed",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:W.content})]})]},W.id))})},q=V=>{j.has(V)||(z(ne=>{const W=new Set(Array.from(ne));return W.add(V),W}),F.mutate({commentId:V}))},ee=[...I].sort((V,ne)=>S==="likes"?ne.likes-V.likes:new Date(ne.createdAt).getTime()-new Date(V.createdAt).getTime());return f.jsxs("section",{"data-loc":"client/src/components/CommentsSection.tsx:110",className:"mt-12",children:[f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:112",className:"flex items-center justify-between mb-6",children:[f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:113",className:"flex items-center gap-3",children:[f.jsx("div",{"data-loc":"client/src/components/CommentsSection.tsx:114",className:"w-10 h-10 rounded-xl bg-amber-400/10 border border-amber-400/20 flex items-center justify-center",children:f.jsx(dy,{"data-loc":"client/src/components/CommentsSection.tsx:115",size:20,className:"text-amber-400"})}),f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:117",children:[f.jsx("h3",{"data-loc":"client/src/components/CommentsSection.tsx:118",className:"text-xl font-black text-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:"التعليقات"}),f.jsxs("p",{"data-loc":"client/src/components/CommentsSection.tsx:121",className:"text-xs text-muted-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:[I.length," تعليق • يرد عليك الذكاء الاصطناعي تلقائياً"]})]})]}),f.jsx("div",{"data-loc":"client/src/components/CommentsSection.tsx:127",className:"flex gap-2",children:["newest","likes"].map(V=>f.jsx("button",{"data-loc":"client/src/components/CommentsSection.tsx:129",onClick:()=>C(V),className:`px-3 py-1.5 rounded-lg text-xs font-semibold transition-all ${S===V?"bg-amber-400 text-black":"bg-white/5 text-muted-foreground hover:bg-white/10"}`,style:{fontFamily:"'Cairo', sans-serif"},children:V==="newest"?"الأحدث":"الأكثر إعجاباً"},V))})]}),f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:142",className:"article-card rounded-2xl p-5 mb-6",children:[f.jsx("h4",{"data-loc":"client/src/components/CommentsSection.tsx:143",className:"text-sm font-bold text-amber-400 mb-4",style:{fontFamily:"'Cairo', sans-serif"},children:"أضف تعليقك"}),f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:146",className:"space-y-3",children:[f.jsx("input",{"data-loc":"client/src/components/CommentsSection.tsx:147",type:"text",placeholder:"اسمك",value:s,onChange:V=>l(V.target.value),maxLength:50,className:"w-full bg-white/5 border border-white/10 rounded-xl px-4 py-2.5 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-amber-400/50 transition-colors",style:{fontFamily:"'Cairo', sans-serif"}}),f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:156",className:"relative",children:[f.jsx("textarea",{"data-loc":"client/src/components/CommentsSection.tsx:157",placeholder:"شاركنا رأيك أو سؤالك...",value:i,onChange:V=>c(V.target.value),maxLength:1e3,rows:3,className:"w-full bg-white/5 border border-white/10 rounded-xl px-4 py-2.5 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-amber-400/50 transition-colors resize-none",style:{fontFamily:"'Noto Sans Arabic', sans-serif"}}),f.jsxs("span",{"data-loc":"client/src/components/CommentsSection.tsx:166",className:"absolute bottom-2 left-3 text-xs text-muted-foreground
948/50",children:[i.length,"/1000"]})]}),f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:168",className:"flex items-center justify-between",children:[f.jsxs("p",{"data-loc":"client/src/components/CommentsSection.tsx:169",className:"text-xs text-muted-foreground flex items-center gap-1.5",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(cy,{"data-loc":"client/src/components/CommentsSection.tsx:170",size:12,className:"text-amber-400"}),"سيرد عليك الذكاء الاصطناعي تلقائياً"]}),f.jsxs("button",{"data-loc":"client/src/components/CommentsSection.tsx:173",onClick:()=>{!s.trim()||!i.trim()||J.mutate({articleSlug:n,authorName:s.trim(),content:i.trim()})},disabled:!s.trim()||!i.trim()||J.isPending,className:"btn-primary text-sm px-5 py-2 disabled:opacity-50 disabled:cursor-not-allowed flex items-center gap-2",style:{fontFamily:"'Cairo', sans-serif"},children:[J.isPending?f.jsx("div",{"data-loc":"client/src/components/CommentsSection.tsx:183",className:"w-4 h-4 border-2 border-black/30 border-t-black rounded-full animate-spin"}):f.jsx(Bd,{"data-loc":"client/src/components/CommentsSection.tsx:185",size:14}),J.isPending?"جاري الإرسال...":"إرسال"]})]})]})]}),$?f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:195",className:"text-center py-8",children:[f.jsx("div",{"data-loc":"client/src/components/CommentsSection.tsx:196",className:"w-8 h-8 border-2 border-amber-400 border-t-transparent rounded-full animate-spin mx-auto mb-3"}),f.jsx("p",{"data-loc":"client/src/components/CommentsSection.tsx:197",className:"text-muted-foreground text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:"جاري تحميل التعليقات..."})]}):ee.length===0?f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:200",className:"text-center py-10 article-card rounded-2xl",children:[f.jsx(dy,{"data-loc":"client/src/components/CommentsSection.tsx:201",size:32,className:"text-muted-foreground/30 mx-auto mb-3"}),f.jsx("p",{"data-loc":"client/src/components/CommentsSection.tsx:202",className:"text-muted-foreground font-semibold",style:{fontFamily:"'Cairo', sans-serif"},children:"كن أول من يعلّق!"}),f.jsx("p",{"data-loc":"client/src/components/CommentsSection.tsx:203",className:"text-muted-foreground/60 text-sm mt-1",style:{fontFamily:"'Cairo', sans-serif"},children:"شاركنا رأيك في المقال"})]}):f.jsx("div",{"data-loc":"client/src/components/CommentsSection.tsx:206",className:"space-y-4",children:ee.map(V=>f.jsx("div",{"data-loc":"client/src/components/CommentsSection.tsx:208",className:"article-card rounded-2xl p-5",children:f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:209",className:"flex gap-3",children:[f.jsx("div",{"data-loc":"client/src/components/CommentsSection.tsx:210",className:`w-10 h-10 rounded-full bg-gradient-to-br ${wy(V.authorName)} flex items-center justify-center text-white font-bold shrink-0`,children:V.authorName[0]}),f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:213",className:"flex-1 min-w-0",children:[f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:214",className:"flex items-center gap-2 mb-1 flex-wrap",children:[f.jsx("span",{"data-loc":"client/src/components/CommentsSection.tsx:215",className:"font-bold text-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:V.authorName}),f.jsx("span",{"data-loc":"client/src/components/CommentsSection.tsx:216",className:"text-xs text-muted-foreground",children:Cy(V.createdAt)})]}),f.jsx("p",{"data-loc":"client/src/components/CommentsSection.tsx:218",className:"text-foreground/90 leading-relaxed text-sm",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:V.content}),V.aiReply&&f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:222",className:"mt-3 p-3 rounded-xl bg-amber-400/5 border border-amber-400/20",children:[f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:223",className:"flex items-center gap-2 mb-1.5",children:[f.jsx("div",{"data-loc":"client/src/components/CommentsSection.tsx:224",className:"w-6 h-6 rounded-full bg-amber-400/20 flex items-center justify-center",children:f.jsx(cy,{"data-loc":"client/src/components/CommentsSection.tsx:225",size:12,className:"text-amber-400"})}),f.jsx("span",{"data-loc":"client/src/components/CommentsSection.tsx:227",className:"text-xs font-bold text-amber-400",style:{fontFamily:"'Cairo', sans-serif"},children:"مدونة المعرفة"}),f.jsx("span",{"data-loc":"client/src/components/CommentsSection.tsx:228",className:"text-xs text-muted-foreground
948/60",children:"رد تلقائي"})]}),f.jsx("p",{"data-loc":"client/src/components/CommentsSection.tsx:230",className:"text-sm text-foreground/80 leading-relaxed",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:V.aiReply})]}),f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:235",className:"flex items-center gap-3 mt-3",children:[f.jsxs("button",{"data-loc":"client/src/components/CommentsSection.tsx:236",onClick:()=>q(V.id),disabled:j.has(V.id),className:`flex items-center gap-1.5 text-xs font-semibold transition-all px-2.5 py-1 rounded-lg ${j.has(V.id)?"text-amber-400 bg-amber-400/10":"text-muted-foreground hover:text-amber-400 hover:bg-amber-400/5"}`,style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(UA,{"data-loc":"client/src/components/CommentsSection.tsx:242",size:12}),V.likes]}),f.jsxs("button",{"data-loc":"client/src/components/CommentsSection.tsx:245",onClick:()=>m(d?.id===V.id?null:{id:V.id,name:V.authorName}),className:"flex items-center gap-1.5 text-xs font-semibold text-muted-foreground hover:text-amber-400 transition-colors px-2.5 py-1 rounded-lg hover:bg-amber-400/5",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(MA,{"data-loc":"client/src/components/CommentsSection.tsx:250",size:12}),"رد"]}),f.jsxs("button",{"data-loc":"client/src/components/CommentsSection.tsx:253",onClick:()=>w(ne=>{const W=new Set(ne);return W.has(V.id)?W.delete(V.id):W.add(V.id),W}),className:"flex items-center gap-1 text-xs text-muted-foreground/60 hover:text-muted-foreground transition-colors",style:{fontFamily:"'Cairo', sans-serif"},children:[x.has(V.id)?f.jsx(Sx,{"data-loc":"client/src/components/CommentsSection.tsx:262",size:12}):f.jsx(EA,{"data-loc":"client/src/components/CommentsSection.tsx:262",size:12}),"الردود"]})]}),d?.id===V.id&&f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:269",className:"mt-3 p-3 rounded-xl bg-white/3 border border-white/8 space-y-2",children:[f.jsxs("p",{"data-loc":"client/src/components/CommentsSection.tsx:270",className:"text-xs text-amber-400 font-semibold",style:{fontFamily:"'Cairo', sans-serif"},children:["رد على ",d.name]}),f.jsx("input",{"data-loc":"client/src/components/CommentsSection.tsx:273",type:"text",placeholder:"اسمك",value:p,onChange:ne=>h(ne.target.value),className:"w-full bg-white/5 border border-white/10 rounded-lg px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-amber-400/40 transition-colors",style:{fontFamily:"'Cairo', sans-serif"}}),f.jsx("textarea",{"data-loc":"client/src/components/CommentsSection.tsx:281",placeholder:"اكتب ردك...",value:g,onChange:ne=>v(ne.target.value),rows:2,className:"w-full bg-white/5 border border-white/10 rounded-lg px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-amber-400/40 transition-colors resize-none",style:{fontFamily:"'Noto Sans Arabic', sans-serif"}}),f.jsxs("div",{"data-loc":"client/src/components/CommentsSection.tsx:289",className:"flex gap-2 justify-end",children:[f.jsx("button",{"data-loc":"client/src/components/CommentsSection.tsx:290",onClick:()=>m(null),className:"text-xs text-muted-foreground hover:text-foreground px-3 py-1.5 rounded-lg hover:bg-white/5 transition-colors",style:{fontFamily:"'Cairo', sans-serif"},children:"إلغاء"}),f.jsxs("button",{"data-loc":"client/src/components/CommentsSection.tsx:297",onClick:()=>{!p.trim()||!g.trim()||G.mutate({articleSlug:n,authorName:p.trim(),content:g.trim(),parentId:V.id})},disabled:!p.trim()||!g.trim()||G.isPending,className:"btn-primary text-xs px-4 py-1.5 disabled:opacity-50 flex items-center gap-1.5",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(Bd,{"data-loc":"client/src/components/CommentsSection.tsx:306",size:11}),"إرسال"]})]})]}),x.has(V.id)&&f.jsx(_,{"data-loc":"client/src/components/CommentsSection.tsx:314",commentId:V.id})]})]})},V.id))})]})}const $n="https://arabicblog-fovp4qzh.manus.space",w4={"الذكاء الاصطناعي":[{text:"جرّب Jasper AI",url:"https://www.jasper.ai/?fpr=maarefa",label:"أداة كتابة بالذكاء الاصطناعي"},{text:"استخدم Writesonic",url:"https://writesonic.com/?via=maarefa",label:"توليد محتوى احترافي"}],"الربح من الإنترنت":[{text:"استضافة Hostinger",url:"https://www.hostinger.com/ar?REFERRALCODE=MAAREFA",label:"أفضل استضافة للمبتدئين"},{text:"دومين Namecheap",url:"https://www.namecheap.com/?aff=maarefa",label:"أرخص دومين عربي"}],"التسويق الرقمي":[{text:"أداة SEMrush",url:"https://www.semrush.com/",label:"أداة SEO احترافية"},{text:"Canva Pro",url:"https://www.canva.com/",label:"تصميم احترافي مجاني"}],"ريادة الأعمال":[{text:"Shopify للتجارة الإلكترونية",url:"https://www.shopify.com/",label:"ابدأ متجرك الآن"},{text:"Fiverr للفريلانسر",url:"https://www.fiverr.com/",label:"اكسب من مهاراتك"}],"التطوير الشخصي":[{text:"كورسات Udemy",url:"https://www.udemy.com/",label:"تعلم مهارات جديدة"},{text:"Coursera بالعربي",url:"https://www.coursera.org/",label:"شهادات معتمدة"}],التقنية:[{text:"GitHub Copilot",url:"https://github.com/features/copilot",label:"مساعد برمجة بالذكاء الاصطناعي"},{text:"استضافة Cloudflare",url:"https://www.cloudflare.com/",label:"حماية وسرعة مجانية"}]};function C4(){const{slug:n}=hf(),s=mr.find(S=>S.slug===n),{data:l,isLoading:i}=At.articles.bySlug.useQuery({slug:n??""},{enabled:!s&&!!n}),c=s??(l?{id:`db-${l.id}`,slug:l.slug,title:l.title,excerpt:l.excerpt,content:l.content,category:l.category,categorySlug:l.categorySlug,categoryColor:l.categoryColor,image:l.imageUrl||"/manus-storage/ai-article_9cbd1739.jpg",date:l.createdAt instanceof Date?l.createdAt.toISOString().split("T")[0]:String(l.createdAt).split("T")[0],readTime:l.readTime,featured:l.featured,author:"مدونة المعرفة",tags:[l.category]}:null),[d,m]=E.useState(0);if(E.useEffect(()=>{window.scrollTo(0,0)},[n]),E.useEffect(()=>{if(!c)return;const S=`${$n}/article/${c.slug}`,C=c.image?.startsWith("http")?c.image:`${$n}${c.image}`;document.title=`${c.title} - مدونة المعرفة`;let j=document.querySelector('meta[name="description"]');j||(j=document.createElement("meta"),j.setAttribute("name","description"),document.head.appendChild(j)),j.setAttribute("content",c.excerpt);let z=document.querySelector('link[rel="canonical"]');z||(z=document.createElement("link"),z.rel="canonical",document.head.appendChild(z)),z.href=S;const U={"og:title":c.title,"og:description":c.excerpt,"og:url":S,"og:image":C,"og:type":"article","og:site_name":"مدونة المعرفة","og:locale":"ar_AR"};
948Object.entries(U).forEach(([J,G])=>{let F=document.querySelector(`meta[property="${J}"]`);F||(F=document.createElement("meta"),F.setAttribute("property",J),document.head.appendChild(F)),F.setAttribute("content",G)});const I={"twitter:card":"summary_large_image","twitter:title":c.title,"twitter:description":c.excerpt,"twitter:image":C};Object.entries(I).forEach(([J,G])=>{let F=document.querySelector(`meta[name="${J}"]`);F||(F=document.createElement("meta"),F.setAttribute("name",J),document.head.appendChild(F)),F.setAttribute("content",G)});let $=document.getElementById("article-schema");if(!$){const J=document.createElement("script");J.id="article-schema",J.type="application/ld+json",document.head.appendChild(J),$=J}return $.textContent=JSON.stringify({"@context":"https://schema.org","@type":"Article",headline:c.title,description:c.excerpt,image:C,datePublished:c.date,dateModified:c.date,author:{"@type":"Organization",name:"مدونة المعرفة",url:$n},publisher:{"@type":"Organization",name:"مدونة المعرفة",url:$n,logo:{"@type":"ImageObject",url:`${$n}/favicon.ico`}},mainEntityOfPage:{"@type":"WebPage","@id":S},articleSection:c.category,inLanguage:"ar",keywords:c.tags?.join(", ")}),()=>{const J=document.getElementById("article-schema");J&&J.remove()}},[c]),E.useEffect(()=>{const S=()=>{const C=document.documentElement,j=C.scrollTop||document.body.scrollTop,z=C.scrollHeight-C.clientHeight,U=z>0?j/z*100:0;m(U)};return window.addEventListener("scroll",S,{passive:!0}),()=>window.removeEventListener("scroll",S)},[]),!s&&i)return f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:171",className:"min-h-screen flex items-center justify-center",children:f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:172",className:"text-center",children:[f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:173",className:"w-12 h-12 border-2 border-amber-400 border-t-transparent rounded-full animate-spin mx-auto mb-4"}),f.jsx("p",{"data-loc":"client/src/pages/ArticlePage.tsx:174",className:"text-muted-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:"جاري تحميل المقال..."})]})});if(!c)return f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:182",className:"min-h-screen flex items-center justify-center",children:f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:183",className:"text-center",children:[f.jsx("h1",{"data-loc":"client/src/pages/ArticlePage.tsx:184",className:"text-3xl font-black text-foreground mb-4",style:{fontFamily:"'Cairo', sans-serif"},children:"المقال غير موجود"}),f.jsx(De,{"data-loc":"client/src/pages/ArticlePage.tsx:190",href:"/",children:f.jsxs("button",{"data-loc":"client/src/pages/ArticlePage.tsx:191",className:"btn-primary",children:[f.jsx(Ua,{"data-loc":"client/src/pages/ArticlePage.tsx:192",size:16}),"العودة للرئيسية"]})})]})});const p=mr.filter(S=>S.id!==c.id&&S.category===c.category).slice(0,3),h=mr.filter(S=>S.id!==c.id&&S.category!==c.category).slice(0,3),g=p.length>=2?p:[...p,...h].slice(0,3),v=w4[c.category]||[],x=new Date(c.date).toLocaleDateString("ar-SA",{year:"numeric",month:"long",day:"numeric"}),w=S=>{const C=S.trim().split(`
949`),j=[];let z=0,U=0,I=!1;for(let $=0;$<C.length;$++){const J=C[$].trim();if(J)if(J.startsWith("## "))j.push(f.jsx("h2",{"data-loc":"client/src/pages/ArticlePage.tsx:234",className:"text-xl sm:text-2xl font-black text-foreground mt-8 mb-4 pb-3 border-b border-white/10",style:{fontFamily:"'Cairo', sans-serif"},children:J.replace("## ","")},z++));else if(J.startsWith("### "))j.push(f.jsx("h3",{"data-loc":"client/src/pages/ArticlePage.tsx:240",className:"text-lg font-bold text-foreground mt-6 mb-3",style:{fontFamily:"'Cairo', sans-serif"},children:J.replace("### ","")},z++));else if(J.startsWith("**")&&J.endsWith("**")&&!J.slice(2,-2).includes("**"))j.push(f.jsx("p",{"data-loc":"client/src/pages/ArticlePage.tsx:246",className:"font-bold text-foreground mb-2",style:{fontFamily:"'Cairo', sans-serif"},children:J.slice(2,-2)},z++));else if(J.startsWith("- ")){const G=[J.replace("- ","")];for(;$+1<C.length&&C[$+1].trim().startsWith("- ");
949)$++,G.push(C[$].trim().replace("- ",""));j.push(f.jsx("ul",{"data-loc":"client/src/pages/ArticlePage.tsx:257",className:"space-y-2 my-4 pr-4",children:G.map((F,_)=>f.jsxs("li",{"data-loc":"client/src/pages/ArticlePage.tsx:259",className:"flex items-start gap-2 text-muted-foreground",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:[f.jsx("span",{"data-loc":"client/src/pages/ArticlePage.tsx:260",className:"w-1.5 h-1.5 rounded-full bg-amber-400 mt-2 shrink-0"}),f.jsx("span",{"data-loc":"client/src/pages/ArticlePage.tsx:261",dangerouslySetInnerHTML:{__html:F.replace(/\*\*(.*?)\*\*/g,'<strong style="color:oklch(0.97 0.005 90);font-weight:700">$1</strong>')}})]},_))},z++))}else if(J.match(/^\d+\. /)){const G=[J.replace(/^\d+\. /,"")];for(;$+1<C.length&&C[$+1].trim().match(/^\d+\. /);)$++,G.push(C[$].trim().replace(/^\d+\. /,""));j.push(f.jsx("ol",{"data-loc":"client/src/pages/ArticlePage.tsx:273",className:"space-y-2 my-4 pr-4 list-decimal list-inside",children:G.map((F,_)=>f.jsx("li",{"data-loc":"client/src/pages/ArticlePage.tsx:275",className:"text-muted-foreground",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},dangerouslySetInnerHTML:{__html:F.replace(/\*\*(.*?)\*\*/g,'<strong style="color:oklch(0.97 0.005 90);font-weight:700">$1</strong>')}},_))},z++))}else J.length>0&&(U++,j.push(f.jsx("p",{"data-loc":"client/src/pages/ArticlePage.tsx:284",className:"text-muted-foreground leading-loose mb-4",style:{fontFamily:"'Noto Sans Arabic', sans-serif",fontSize:"1.0625rem"},dangerouslySetInnerHTML:{__html:J.replace(/\*\*(.*?)\*\*/g,'<strong style="color:oklch(0.97 0.005 90);font-weight:700">$1</strong>')}},z++)),U===3&&!I&&(I=!0,j.push(f.jsx(x4,{"data-loc":"client/src/pages/ArticlePage.tsx:291"},`ad-${z++}`))))}return j};return f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:299",className:"min-h-screen",children:[f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:301",className:"reading-progress",style:{transform:`scaleX(${d/100})`}}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:307",className:"relative pt-16",children:f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:308",className:"relative h-64 sm:h-80 lg:h-96 overflow-hidden",children:[f.jsx("img",{"data-loc":"client/src/pages/ArticlePage.tsx:309",src:c.image,alt:c.title,className:"w-full h-full object-cover",loading:"lazy"}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:315",className:"absolute inset-0 bg-gradient-to-t from-[oklch(0.09_0.015_260)] via-black/50 to-black/20"})]})}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:319",className:"container py-8",children:f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:320",className:"grid grid-cols-1 lg:grid-cols-3 gap-10",children:[f.jsxs("article",{"data-loc":"client/src/pages/ArticlePage.tsx:322",className:"lg:col-span-2",children:[f.jsxs("nav",{"data-loc":"client/src/pages/ArticlePage.tsx:324",className:"flex items-center gap-2 text-sm text-muted-foreground mb-6",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(De,{"data-loc":"client/src/pages/ArticlePage.tsx:325",href:"/",className:"hover:text-amber-400 transition-colors",children:"الرئيسية"}),f.jsx("span",{"data-loc":"client/src/pages/ArticlePage.tsx:326",children:"/"}),f.jsx(De,{"data-loc":"client/src/pages/ArticlePage.tsx:327",href:`/category/${c.categorySlug||c.category}`,className:"hover:text-amber-400 transition-colors",style:{color:c.categoryColor},children:c.category})]}),f.jsxs("span",{"data-loc":"client/src/pages/ArticlePage.tsx:333",className:"category-badge mb-4 inline-flex",style:{backgroundColor:c.categoryColor+"22",border:`1px solid ${c.categoryColor}44`,color:c.categoryColor},children:[f.jsx("span",{"data-loc":"client/src/pages/ArticlePage.tsx:341",className:"w-1.5 h-1.5 rounded-full",style:{backgroundColor:c.categoryColor}}),c.category]}),f.jsx("h1",{"data-loc":"client/src/pages/ArticlePage.tsx:346",className:"text-2xl sm:text-3xl lg:text-4xl font-black text-foreground leading-snug mb-6",style:{fontFamily:"'Cairo', sans-serif"},children:c.title}),f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:354",className:"flex flex-wrap items-center gap-4 text-sm text-muted-foreground mb-8 pb-6 border-b border-white/8",children:[f.jsxs("span",{"data-loc":"client/src/pages/ArticlePage.tsx:355",className:"flex items-center gap-1.5",children:[f.jsx(AA,{"data-loc":"client/src/pages/ArticlePage.tsx:356",size:14,className:"text-amber-400"}),x]}),f.jsxs("span",{"data-loc":"client/src/pages/ArticlePage.tsx:359",className:"flex items-center gap-1.5",children:[f.jsx(po,{"data-loc":"client/src/pages/ArticlePage.tsx:360",size:14,className:"text-amber-400"}),c.readTime," دقيقة قراءة"]}),f.jsxs("span",{"data-loc":"client/src/pages/ArticlePage.tsx:363",className:"flex items-center gap-1.5",children:[f.jsx(Dl,{"data-loc":"client/src/pages/ArticlePage.tsx:364",size:14,className:"text-amber-400"}),c.content.split(" ").length," كلمة"]}),f.jsxs("button",{"data-loc":"client/src/pages/ArticlePage.tsx:367",className:"flex items-center gap-1.5 hover:text-amber-400 transition-colors mr-auto",onClick:()=>navigator.share?.({title:c.title,url:window.location.href}),children:[f.jsx(DA,{"data-loc":"client/src/pages/ArticlePage.tsx:371",size:14}),"مشاركة"]})]}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:377",className:"bg-amber-400/8 border-r-4 border-amber-400 rounded-l-xl pr-5 pl-4 py-4 mb-8",children:f.jsx("p",{"data-loc":"client/src/pages/ArticlePage.tsx:378",className:"text-foreground
949/90 leading-relaxed font-medium",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:c.excerpt})}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:387",className:"prose-arabic",children:w(c.content)}),v.length>0&&f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:393",className:"mt-8 p-5 rounded-2xl border border-amber-400/20 bg-amber-400/5",children:[f.jsx("h3",{"data-loc":"client/src/pages/ArticlePage.tsx:394",className:"font-black text-amber-400 mb-3 text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:"أدوات وموارد موصى بها"}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:400",className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:v.map((S,C)=>f.jsxs("a",{"data-loc":"client/src/pages/ArticlePage.tsx:402",href:S.url,target:"_blank",rel:"noopener noreferrer sponsored",className:"flex items-center gap-2 px-4 py-2.5 rounded-xl bg-white/5 border border-white/10 hover:border-amber-400/40 hover:bg-amber-400/5 transition-all group",children:[f.jsx("span",{"data-loc":"client/src/pages/ArticlePage.tsx:409",className:"w-2 h-2 rounded-full bg-amber-400 shrink-0"}),f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:410",children:[f.jsx("p",{"data-loc":"client/src/pages/ArticlePage.tsx:411",className:"text-sm font-bold text-foreground group-hover:text-amber-400 transition-colors",style:{fontFamily:"'Cairo', sans-serif"},children:S.text}),f.jsx("p",{"data-loc":"client/src/pages/ArticlePage.tsx:417",className:"text-xs text-muted-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:S.label})]})]},C))})]}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:431",className:"mt-10 pt-6 border-t border-white/8",children:f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:432",className:"flex items-center gap-2 flex-wrap",children:[f.jsx(kA,{"data-loc":"client/src/pages/ArticlePage.tsx:433",size:14,className:"text-muted-foreground"}),c.tags.map(S=>f.jsxs("span",{"data-loc":"client/src/pages/ArticlePage.tsx:435",className:"px-3 py-1 rounded-full text-xs font-semibold bg-white/5 border border-white/10 text-muted-foreground hover:border-amber-400/30 hover:text-amber-400 transition-colors cursor-pointer",style:{fontFamily:"'Cairo', sans-serif"},children:["#",S]},S))]})}),f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:447",className:"mt-8 p-5 article-card rounded-2xl",children:[f.jsx("p",{"data-loc":"client/src/pages/ArticlePage.tsx:448",className:"text-foreground font-bold mb-3 text-center",style:{fontFamily:"'Cairo', sans-serif"},children:"أعجبك المقال؟ شاركه مع أصدقائك!"}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:454",className:"flex gap-3 justify-center flex-wrap",children:[{label:"تويتر/X",url:`https://twitter.com/intent/tweet?text=${encodeURIComponent(c.title)}&url=${encodeURIComponent($n+"/article/"+c.slug)}`},{label:"واتساب",url:`https://wa.me/?text=${encodeURIComponent(c.title+" "+$n+"/article/"+c.slug)}`},{label:"تيليجرام",url:`https://t.me/share/url?url=${encodeURIComponent($n+"/article/"+c.slug)}&text=${encodeURIComponent(c.title)}`},{label:"فيسبوك",url:`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent($n+"/article/"+c.slug)}`}].map(({label:S,url:C})=>f.jsx("a",{"data-loc":"client/src/pages/ArticlePage.tsx:461",href:C,target:"_blank",rel:"noopener noreferrer",className:"px-4 py-2 rounded-xl bg-white/5 border border-white/10 text-sm font-semibold text-muted-foreground hover:text-foreground hover:border-amber-400/30 transition-all",style:{fontFamily:"'Cairo', sans-serif"},children:S},S))})]}),g.length>0&&f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:477",className:"mt-10",children:[f.jsx("h3",{"data-loc":"client/src/pages/ArticlePage.tsx:478",className:"text-xl font-black text-foreground mb-5 golden-underline",style:{fontFamily:"'Cairo', sans-serif"},children:"مقالات قد تعجبك"}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:484",className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:g.map((S,C)=>f.jsx(fs,{"data-loc":"client/src/pages/ArticlePage.tsx:486",article:S,animationDelay:C*80},S.id))})]}),f.jsx(S4,{"data-loc":"client/src/pages/ArticlePage.tsx:493",articleSlug:c.slug}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:496",className:"mt-10",children:f.jsx(Gd,{"data-loc":"client/src/pages/ArticlePage.tsx:497",variant:"compact"})})]}),f.jsxs("aside",{"data-loc":"client/src/pages/ArticlePage.tsx:502",className:"space-y-6",children:[f.jsx(De,{"data-loc":"client/src/pages/ArticlePage.tsx:504",href:"/",children:f.jsxs("button",{"data-loc":"client/src/pages/ArticlePage.tsx:505",className:"flex items-center gap-2 text-muted-foreground hover:text-amber-400 transition-colors text-sm font-semibold",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(Ua,{"data-loc":"client/src/pages/ArticlePage.tsx:509",size:16}),"العودة للرئيسية"]})}),f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:515",className:"article-card rounded-2xl p-5",children:[f.jsx("h3",{"data-loc":"client/src/pages/ArticlePage.tsx:516",className:"font-black text-foreground mb-4 golden-u
949nderline",style:{fontFamily:"'Cairo', sans-serif"},children:"مقالات ذات صلة"}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:522",className:"space-y-4",children:g.map((S,C)=>f.jsx(fs,{"data-loc":"client/src/pages/ArticlePage.tsx:524",article:S,variant:"compact",animationDelay:C*60},S.id))})]}),f.jsx(zx,{"data-loc":"client/src/pages/ArticlePage.tsx:530"}),v.length>0&&f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:534",className:"article-card rounded-2xl p-5",children:[f.jsx("h3",{"data-loc":"client/src/pages/ArticlePage.tsx:535",className:"font-black text-foreground mb-4 golden-underline",style:{fontFamily:"'Cairo', sans-serif"},children:"موارد مفيدة"}),f.jsx("div",{"data-loc":"client/src/pages/ArticlePage.tsx:541",className:"space-y-3",children:v.map((S,C)=>f.jsxs("a",{"data-loc":"client/src/pages/ArticlePage.tsx:543",href:S.url,target:"_blank",rel:"noopener noreferrer sponsored",className:"flex items-center gap-2 px-3 py-2.5 rounded-xl bg-white/5 border border-white/10 hover:border-amber-400/40 hover:bg-amber-400/5 transition-all group",children:[f.jsx("span",{"data-loc":"client/src/pages/ArticlePage.tsx:550",className:"w-2 h-2 rounded-full bg-amber-400 shrink-0"}),f.jsxs("div",{"data-loc":"client/src/pages/ArticlePage.tsx:551",children:[f.jsx("p",{"data-loc":"client/src/pages/ArticlePage.tsx:552",className:"text-sm font-bold text-foreground group-hover:text-amber-400 transition-colors",style:{fontFamily:"'Cairo', sans-serif"},children:S.text}),f.jsx("p",{"data-loc":"client/src/pages/ArticlePage.tsx:558",className:"text-xs text-muted-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:S.label})]})]},C))})]})]})]})})]})}function j4(){const{slug:n}=hf(),s=ps.find(i=>i.slug===n),l=mr.filter(i=>i.category===s?.name);return E.useEffect(()=>{window.scrollTo(0,0)},[n]),s?f.jsx("div",{"data-loc":"client/src/pages/CategoryPage.tsx:38",className:"min-h-screen pt-24 pb-16",children:f.jsxs("div",{"data-loc":"client/src/pages/CategoryPage.tsx:39",className:"container",children:[f.jsxs("div",{"data-loc":"client/src/pages/CategoryPage.tsx:41",className:"mb-10",children:[f.jsx(De,{"data-loc":"client/src/pages/CategoryPage.tsx:42",href:"/",children:f.jsxs("button",{"data-loc":"client/src/pages/CategoryPage.tsx:43",className:"flex items-center gap-2 text-muted-foreground hover:text-amber-400 transition-colors text-sm font-semibold mb-6",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(Ua,{"data-loc":"client/src/pages/CategoryPage.tsx:47",size:16}),"العودة للرئيسية"]})}),f.jsxs("div",{"data-loc":"client/src/pages/CategoryPage.tsx:52",className:"flex items-center gap-4 mb-2",children:[f.jsx("div",{"data-loc":"client/src/pages/CategoryPage.tsx:53",className:"w-3 h-12 rounded-full",style:{backgroundColor:s.color,boxShadow:`0 0 16px ${s.color}55`}}),f.jsxs("div",{"data-loc":"client/src/pages/CategoryPage.tsx:57",children:[f.jsx("h1",{"data-loc":"client/src/pages/CategoryPage.tsx:58",className:"text-3xl sm:text-4xl font-black text-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:s.name}),f.jsxs("p",{"data-loc":"client/src/pages/CategoryPage.tsx:64",className:"text-muted-foreground text-sm mt-0.5",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:[l.length," مقال في هذا القسم"]})]})]}),f.jsx("div",{"data-loc":"client/src/pages/CategoryPage.tsx:72",className:"gold-rule mt-4"})]}),l.length>0?f.jsxs("div",{"data-loc":"client/src/pages/CategoryPage.tsx:77",className:"space-y-8",children:[l[0]&&f.jsx(fs,{"data-loc":"client/src/pages/CategoryPage.tsx:80",article:l[0],variant:"featured",animationDelay:0,className:"w-full"}),l.length>1&&f.jsx("div",{"data-loc":"client/src/pages/CategoryPage.tsx:89",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:l.slice(1).map((i,c)=>f.jsx(fs,{"data-loc":"client/src/pages/CategoryPage.tsx:91",article:i,animationDelay:(c+1)*80},i.id))})]}):f.jsx("div",{"data-loc":"client/src/pages/CategoryPage.tsx:101",className:"text-center py-20",children:f.jsx("p",{"data-loc":"client/src/pages/CategoryPage.tsx:102",className:"text-muted-foreground text-lg",style:{fontFamily:"'Cairo', sans-serif"},children:"لا توجد مقالات في هذا القسم حتى الآن"})}),f.jsxs("div",{"data-loc":"client/src/pages/CategoryPage.tsx:112",className:"mt-16 pt-10 border-t border-white/8",children:[f.jsx("h2",{"data-loc":"client/src/pages/CategoryPage.tsx:113",className:"text-xl font-black text-foreground mb-6",style:{fontFamily:"'Cairo', sans-serif"},children:"استكشف أقساماً أخرى"}),f.jsx("div",{"data-loc":"client/src/pages/CategoryPage.tsx:119",className:"flex flex-wrap gap-3",children:ps.filter(i=>i.slug!==n).map(i=>f.jsx(De,{"data-loc":"client/src/pages/CategoryPage.tsx:123",href:`/category/${i.slug}`,children:f.jsx("span",{"data-loc":"client/src/pages/CategoryPage.tsx:124",className:"category-badge cursor-pointer hover:opacity-80 transition-opacity px-4 py-2",style:{backgroundColor:i.color+"22",border:`1px solid ${i.color}44`,color:i.color,fontSize:"0.875rem"},children:i.name})},i.slug))})]})]})}):f.jsx("div",{"data-loc":"client/src/pages/CategoryPage.tsx:18",className:"min-h-screen flex items-center justify-center pt-16",children:f.jsxs("div",{"data-loc":"client/src/pages/CategoryPage.tsx:19",className:"text-center",children:[f.jsx("h1",{"data-loc":"client/src/pages/CategoryPage.tsx:20",className:"text-3xl font-black text-foreground mb-4",style:{fontFamily:"'Cairo', sans-serif"},children:"القسم غير موجود"}),f.jsx(De,{"data-loc":"client/src/pages/CategoryPage.tsx:26",href:"/",children:f.jsxs("button",{"data-loc":"client/src/pages/CategoryPage.tsx:27",className:"btn-primary",children:[f.jsx(Ua,{"data-loc":"client/src/pages/CategoryPage.tsx:28",size:16}),"العودة للرئيسية"]})})]})})}function A4(){return f.jsx("div",{"data-loc":"client/src/pages/AboutPage.tsx:6",className:"min-h-screen pt-24 pb-16",children:f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:7",className:"container max-w-4xl",children:[f.jsx(De,{"data-loc":"client/src/pages/AboutPage.tsx:8",href:"/",children:f.jsxs("button",{"data-loc":"client/src/pages/AboutPage.tsx:9",className:"flex items-center gap-2 text-muted-foreground hover:text-amber-400 transition-colors text-sm font-semibold mb-8",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(Ua,{"data-loc":"client/src/pages/AboutPage.tsx:13",size:16}),"العودة للرئيسية"]})}),f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:19",className:"text-center mb-14 relative",children:[f.jsx("div",{"data-loc":"client/src/pages/AboutPage.tsx:21",className:"absolute inset-0 -z-10 flex items-center justify-center",children:f.jsx("div",{"data-loc":"client/src/pages/AboutPage.tsx:22",className:"w-64 h-64 roun
949ded-full bg-amber-500/5 blur-3xl"})}),f.jsx("div",{"data-loc":"client/src/pages/AboutPage.tsx:24",className:"w-20 h-20 rounded-2xl bg-gradient-to-br from-amber-400 to-amber-600 flex items-center justify-center mx-auto mb-6 shadow-2xl shadow-amber-500/30",children:f.jsx("span",{"data-loc":"client/src/pages/AboutPage.tsx:25",className:"font-black text-slate-900 text-3xl",style:{fontFamily:"'Cairo', sans-serif"},children:"م"})}),f.jsxs("h1",{"data-loc":"client/src/pages/AboutPage.tsx:32",className:"text-3xl sm:text-4xl font-black text-foreground mb-4",style:{fontFamily:"'Cairo', sans-serif"},children:["عن ",f.jsx("span",{"data-loc":"client/src/pages/AboutPage.tsx:36",className:"text-golden-gradient",children:"مدونة المعرفة"})]}),f.jsx("div",{"data-loc":"client/src/pages/AboutPage.tsx:38",className:"gold-rule max-w-xs mx-auto mb-4"}),f.jsx("p",{"data-loc":"client/src/pages/AboutPage.tsx:39",className:"text-muted-foreground text-lg leading-relaxed max-w-2xl mx-auto",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:"مرجعك العربي الموثوق في الذكاء الاصطناعي، الربح من الإنترنت، والتسويق الرقمي. نُقدم محتوى عملياً ومُعمّقاً يساعدك على النجاح في العصر الرقمي."})]}),f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:48",className:"article-card rounded-2xl p-8 mb-8",children:[f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:49",className:"flex items-center gap-3 mb-4",children:[f.jsx(HA,{"data-loc":"client/src/pages/AboutPage.tsx:50",className:"text-amber-400",size:24}),f.jsx("h2",{"data-loc":"client/src/pages/AboutPage.tsx:51",className:"text-xl font-black text-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:"رسالتنا"})]}),f.jsx("p",{"data-loc":"client/src/pages/AboutPage.tsx:58",className:"text-muted-foreground leading-loose",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:"نؤمن بأن المعرفة الرقمية يجب أن تكون متاحة للجميع بالعربية. هدفنا تقديم محتوى عالي الجودة، موثوق، وعملي يُساعد القارئ العربي على الاستفادة من الثورة الرقمية وتحقيق دخل مستدام من الإنترنت."})]}),f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:67",className:"article-card rounded-2xl p-8 mb-8",children:[f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:68",className:"flex items-center gap-3 mb-6",children:[f.jsx(Dl,{"data-loc":"client/src/pages/AboutPage.tsx:69",className:"text-amber-400",size:24}),f.jsx("h2",{"data-loc":"client/src/pages/AboutPage.tsx:70",className:"text-xl font-black text-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:"ما نُغطيه"})]}),f.jsx("div",{"data-loc":"client/src/pages/AboutPage.tsx:77",className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[{title:"الذكاء الاصطناعي",desc:"أدوات AI، ChatGPT، وكيفية الربح منها"},{title:"الربح من الإنترنت",desc:"فريلانسر، دروبشيبينج، يوتيوب، مدونات"},{title:"التسويق الرقمي",desc:"SEO، سوشيال ميديا، إعلانات مدفوعة"},{title:"التطوير الشخصي",desc:"إنتاجية، عادات النجاح، تطوير الذات"},{title:"التقنية والبرمجة",desc:"لغات البرمجة، تطوير الويب، التطبيقات"},{title:"ريادة الأعمال",desc:"استثمار، مشاريع ناجحة، استراتيجيات نمو"}].map(n=>f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:86",className:"flex items-start gap-3 p-4 rounded-xl bg-white/3 border border-white/5",children:[f.jsx(Cx,{"data-loc":"client/src/pages/AboutPage.tsx:87",size:18,className:"text-amber-400 mt-0.5 shrink-0"}),f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:88",children:[f.jsx("div",{"data-loc":"client/src/pages/AboutPage.tsx:89",className:"font-bold text-foreground text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:n.title}),f.jsx("div",{"data-loc":"client/src/pages/AboutPage.tsx:95",className:"text-muted-foreground text-xs mt-0.5",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:n.desc})]})]},n.title))})]}),f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:108",className:"article-card rounded-2xl p-8 mb-8",children:[f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:109",className:"flex items-center gap-3 mb-6",children:[f.jsx(df,{"data-loc":"client/src/pages/AboutPage.tsx:110",className:"text-amber-400",size:24}),f.jsx("h2",{"data-loc":"client/src/pages/AboutPage.tsx:111",className:"text-xl font-black text-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:"لماذا تثق بنا؟"})]}),f.jsx("div",{"data-loc":"client/src/pages/AboutPage.tsx:118",className:"space-y-4",children:["محتوى مبني على بحث معمّق ومصادر موثوقة","معلومات عملية وقابلة للتطبيق الفوري","تحديث مستمر لمواكبة أحدث التطورات","أسلوب واضح وبسيط يناسب جميع المستويات","مراجع ومصادر مُدرجة في كل مقال"].map(n=>f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:126",className:"flex items-center gap-3",children:[f.jsx("span",{"data-loc":"client/src/pages/AboutPage.tsx:127",className:"w-2 h-2 rounded-full bg-amber-400 shrink-0"}),f.jsx("p",{"data-loc":"client/src/pages/AboutPage.tsx:128",className:"text-muted-foreground",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:n})]},n))})]}),f.jsxs("div",{"data-loc":"client/src/pages/AboutPage.tsx:140",className:"rounded-2xl p-6 bg-gradient-to-br from-amber-500/10 to-transparent border border-amber-500/20",children:[f.jsx("h3",{"data-loc":"client/src/pages/AboutPage.tsx:141",className:"font-black text-foreground mb-3",style:{fontFamily:"'Cairo', sans-serif"},children:"وعدنا لك كقارئ"}),f.jsx("p",{"data-loc":"client/src/pages/AboutPage.tsx:147",className:"text-muted-foreground leading-loose",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:"كل مقال ننشره يمر بمراجعة دقيقة للتأكد من صحة المعلومات وقابليتها للتطبيق. لن تجد هنا محتوى مُعاد تدويره أو نصائح نظرية فارغة — فقط معرفة عملية مُختبرة يمكنك تطبيقها اليوم قبل الغد."})]}),f.jsx("div",{"data-loc":"client/src/pages/AboutPage.tsx:155",className:"text-center mt-12",children:f.jsx(De,{"data-loc":"client/src/pages/AboutPage.tsx:156",href:"/",children:f.jsxs("button",{"data-loc":"client/src/pages/AboutPage.tsx:157",className:"btn-primary",children:[f.jsx(Dl,{"data-loc":"client/src/pages/AboutPage.tsx:158",size:16}),"ابدأ القراءة الآن"]})})})]})})}function N4(){const[n,s]=E.useState(!1),[l,i]=E.useState(!1),[c,d]=E.useState(!1),[m]=pf();return E.useEffect(()=>{const p=()=>s(window.scrollY>20);return window.addEventListener("scroll",p,{passive:!0}),()=>window.removeEventListener("scroll",p)},[]),E.useEffect(()=>{i(!1)},[m]),f.jsx("header",{"data-loc":"client/src/components/Header.tsx:23",className:`fixed top-0 right-0 left-0 z-50 transition-all duration-300 ${n?"navbar-glass shadow-lg shadow-black/20":"bg-transparent"}`,children:f.jsxs("div",{"data-loc":"client/src/components/Header.tsx:28",className:"container",children:[f.jsxs("div",{"data-loc":"client/src/components/Header.tsx:29",className:"flex items-center justify-between h-16 gap-4",children:[f.jsxs(De,{"data-loc":"client/src/components/Header.tsx:31",href:"/",className:"flex items-center gap-3 shrink-0",children:[f.jsx("div",{"data-loc":"client/src/components/Header.tsx:32",className:"w-9 h-9 rounded-xl bg-gradient-to-br from-amber-400 to-amber-600 flex items-center justify-center shadow-lg shadow-amber-500/30",children:f.jsx("img",{"data-loc":"client/src/components/Header.tsx:33",src:"/manus-storage/logo-icon_3ec255e1.png",alt:"م",className:"w-6 h-6 object-contain",onError:p=>{p.target.style.display="none",p.target.parentElement.innerHTML=`<span style="font-family:'Cairo',sans-serif;font-weight:900;font-size:1.1rem;color:#0A0E1A">م</span>`}})}),f.jsxs("div",{"data-loc":"client/src/components/Header.tsx:43",className:"hidden sm:block",children:[f.jsx("div",{"data-loc":"client/src/components/Header.tsx:44",className:"text-golden-gradient font-black leading-none",style:{fontFamily:"'Cairo', sans-serif",fontSize:"1.1rem"},children:"مدونة المعرفة"}),f.jsx("div",{"data-loc":"client/src/components/Header.tsx:50",className:"text-muted-foreground",style:{fontSize:"0.65rem"},children:"دليلك للنجاح الرقمي"})]})]}),f.jsxs("nav",{"data-loc":"client/src/components/Header.tsx:57",className:"hidden lg:flex items-center gap-1",children:[f.jsx(De,{"data-loc":"client/src/components/Header.tsx:58",href:"/",className:`px-3 py-2 rounded-lg text-sm font-semibold transition-colors duration-150 ${m==="/"?"text-amber-400 bg-amber-400/10":"text-muted-foreground hover:text-foreground hover:bg-white/5"}`,style:{fontFamily:"'Cairo', sans-serif"},children:"الرئيسية"}),ps.slice(0,4).map(p=>f.jsx(De,{"data-loc":"client/src/components/Header.tsx:70",href:`/category/${p.slug}`,className:"px-3 py-2 rounded-lg text-sm font-semibold text-muted-foreground hover:text-foreground hover:bg-white/5 transition-colors duration-150",style:{fontFamily:"'Cairo', sans-serif"},children:p.name},p.slug)),f.jsx(De,{"data-loc":"client/src/components/Header.tsx:79",href:"/analytics",className:`px-3 py-2 rounded-lg text-sm font-semibold transition-colors duration-150 ${m==="/analytics"?"text-amber-400 bg-amber-400/10":"text-muted-foreground hover:text-foreground hover:bg-white/5"}`,style:{fontFamily:"'Cairo', sans-serif"},children:"الإحصائيات"}),f.jsx(De,{"data-loc":"client/src/components/Header.tsx:90",href:"/about",className:"px-3 py-2 rounded-lg text-sm font-semibold text-muted-foreground hover:text-foreground hover:bg-white/5 transition-colors duration-150",style:{fontFamily:"'Cairo', sans-serif"},children:"عن المدونة"})]}),f.jsxs("div",{"data-loc":"client/src/components/Header.tsx:100",className:"flex items-center gap-2",children:[f.jsx("button",{"data-loc":"client/src/components/Header.tsx:101",onClick:()=>d(!c),className:"p-2 rounded-lg text-muted-foreground hover:text-foreground hover:bg-white/5 transition-colors","aria-label":"بحث",children:f.jsx(fy,{"data-loc":"client/src/components/Header.tsx:106",size:18})}),f.jsx("button",{"data-loc":"client/src/components/Header.tsx:108",className:"lg:hidden p-2 rounded-lg text-muted-foreground hover:text-foreground hover:bg-white/5 transition-colors",onClick:()=>i(!l),"aria-label":"القائمة",children:l?f.jsx(BA,{"data-loc":"client/src/components/Header.tsx:113",size:20}):f.jsx(_A,{"data-loc":"client/src/components/Header.tsx:113",size:20})})]})]}),c&&f.jsx("div",{"data-loc":"client/src/components/Header.tsx:120",className:"pb-3 animate-fade-in-up",children:f.jsxs("div",{"data-loc":"client/src/components/Header.tsx:121",className:"relative",children:[f.jsx(fy,{"data-loc":"client/src/components/Header.tsx:122",size:16,className:"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground"}),f.jsx("input",{"data-loc":"client/src/components/Header.tsx:126",type:"text",placeholder:"ابحث في المقالات...",autoFocus:!0,className:"w-full bg-white/5 border border-white/10 rounded-xl pr-10 pl-4 py-2.5 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-amber-400/50 focus:bg-white/8 transition-all",style:{fontFamily:"'Cairo', sans-serif"}})]})}),l&&f.jsx("div",{"data-loc":"client/src/components/Header.tsx:139",className:"lg:hidden pb-4 border-t border-white/5 pt-3 animate-fade-in-up",children:f.jsxs("nav",{"data-loc":"client/src/components/Header.tsx:140",className:"flex flex-col gap-1",children:[f.jsx(De,{"data-loc":"client/src/components/Header.tsx:141",href:"/",className:"px-3 py-2.5 rounded-lg text-sm font-semibold text-foreground hover:bg-white/5 transition-colors",style:{fontFamily:"'Cairo', sans-serif"},children:"الرئيسية"}),ps.map(p=>f.jsx(De,{"data-loc":"client/src/components/Header.tsx:149",href:`/category/${p.slug}`,className:"px-3 py-2.5 rounded-lg text-sm font-semibold text-muted-foreground hover:text-foreground hover:bg-white/5 transition-colors",style:{fontFamily:"'Cairo', sans-serif"},children:p.name},p.slug)),f.jsx(De,{"data-loc":"client/src/components/Header.tsx:158",href:"/about",className:"px-3 py-2.5 rounded-lg text-sm font-semibold text-muted-foreground hover:text-foreground hover:bg-white/5 transition-colors",style:{fontFamily:"'Cairo', sans-serif"},children:"عن المدونة"})]})})]})})}function E4(){return f.jsx("footer",{"data-loc":"client/src/components/Footer.tsx:6",className:"border-t border-white/8 mt-20",children:f.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:7",className:"container py-12",children:[f.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:8",className:"grid grid-cols-1 md:grid-cols-3 gap-10",children:[f.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:10",children:[f.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:11",className:"flex items-center gap-3 mb-4",children:[f.jsx("div",{"data-loc":"client/src/components/Footer.tsx:12",className:"w-10 h-10 rounded-xl bg-gradient-to-br from-amber-400 to-amber-600 flex items-center justify-center",children:f.jsx("span",{"data-loc":"client/src/components/Footer.tsx:13",className:"font-black text-slate-900 text-lg",style:{fontFamily:"'Cairo', sans-serif"},children:"م"})}),f.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:20",children:[f.jsx("div",{"data-loc":"client/src/components/Footer.tsx:21",className:"text-golden-gradient font-black",style:{fontFamily:"'Cairo', sans-serif",fontSize:"1.1rem"},children:"مدونة المعرفة"}),f.jsx("div",{"data-loc":"client/src/components/Footer.tsx:27",className:"text-muted-foreground text-xs",children:"دليلك للنجاح الرقمي"})]})]}),f.jsx("p",{"data-loc":"client/src/components/Footer.tsx:30",className:"text-muted-foreground text-sm leading-relaxed",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:"مرجعك العربي الموثوق في الذكاء الاصطناعي، الربح من الإنترنت، والتسويق الرقمي. نُقدم محتوى عملياً ومُعمّقاً يساعدك على النجاح في العصر الرقمي."})]}),f.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:39",children:[f.jsx("h3",{"data-loc":"client/src/components/Footer.tsx:40",className:"font-bold text-foreground mb-4 golden-u
949nderline",style:{fontFamily:"'Cairo', sans-serif"},children:"الأقسام"}),f.jsx("ul",{"data-loc":"client/src/components/Footer.tsx:46",className:"space-y-2",children:ps.map(n=>f.jsx("li",{"data-loc":"client/src/components/Footer.tsx:48",children:f.jsxs(De,{"data-loc":"client/src/components/Footer.tsx:49",href:`/category/${n.slug}`,className:"text-muted-foreground hover:text-amber-400 text-sm transition-colors duration-150 flex items-center gap-2",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx("span",{"data-loc":"client/src/components/Footer.tsx:54",className:"w-2 h-2 rounded-full shrink-0",style:{backgroundColor:n.color}}),n.name]})},n.slug))})]}),f.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:66",children:[f.jsx("h3",{"data-loc":"client/src/components/Footer.tsx:67",className:"font-bold text-foreground mb-4 golden-underline",style:{fontFamily:"'Cairo', sans-serif"},children:"روابط مهمة"}),f.jsx("ul",{"data-loc":"client/src/components/Footer.tsx:73",className:"space-y-2",children:[{label:"الرئيسية",href:"/"},{label:"عن المدونة",href:"/about"},{label:"سياسة الخصوصية",href:"/privacy"},{label:"تواصل معنا",href:"/contact"}].map(n=>f.jsx("li",{"data-loc":"client/src/components/Footer.tsx:80",children:f.jsx(De,{"data-loc":"client/src/components/Footer.tsx:81",href:n.href,className:"text-muted-foreground hover:text-amber-400 text-sm transition-colors duration-150",style:{fontFamily:"'Cairo', sans-serif"},children:n.label})},n.href))}),f.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:93",className:"mt-6 p-3 border border-dashed border-white/15 rounded-xl text-center",children:[f.jsx("p",{"data-loc":"client/src/components/Footer.tsx:94",className:"text-muted-foreground text-xs",style:{fontFamily:"'Cairo', sans-serif"},children:"مساحة إعلانية"}),f.jsx("p",{"data-loc":"client/src/components/Footer.tsx:97",className:"text-muted-foreground/50 text-xs mt-1",children:"Google AdSense"})]})]})]}),f.jsxs("div",{"data-loc":"client/src/components/Footer.tsx:102",className:"mt-10 pt-6 border-t border-white/8 flex flex-col sm:flex-row items-center justify-between gap-3",children:[f.jsxs("p",{"data-loc":"client/src/components/Footer.tsx:103",className:"text-muted-foreground text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:["© ",new Date().getFullYear()," مدونة المعرفة. جميع الحقوق محفوظة."]}),f.jsx("p",{"data-loc":"client/src/components/Footer.tsx:109",className:"text-muted-foreground/50 text-xs",style:{fontFamily:"'Cairo', sans-serif"},children:"محتوى موثوق • معلومات دقيقة • تحديث مستمر"})]})]})})}function O4(){const{data:n,isLoading:s}=At.analytics.today.useQuery(),{data:l,isLoading:i}=At.analytics.weekly.useQuery(),c=At.analytics.trackView.useMutation();E.useEffect(()=>{c.mutate({path:"/analytics"})},[]);const d=Math.max(...l?.days?.map(m=>Number(m.views))??[1],1);return f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:19",className:"min-h-screen pt-24 pb-16",dir:"rtl",children:f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:20",className:"container max-w-4xl",children:[f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:22",className:"mb-8",children:[f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:23",className:"flex items-center gap-2 text-sm text-muted-foreground mb-3",children:[f.jsx(De,{"data-loc":"client/src/pages/AnalyticsPage.tsx:24",href:"/",className:"hover:text-amber-400 transition-colors",style:{fontFamily:"'Cairo', sans-serif"},children:"الرئيسية"}),f.jsx(Ua,{"data-loc":"client/src/pages/AnalyticsPage.tsx:27",size:14}),f.jsx("span",{"data-loc":"client/src/pages/AnalyticsPage.tsx:28",style:{fontFamily:"'Cairo', sans-serif"},children:"الإحصائيات"})]}),f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:30",className:"flex items-center gap-3",children:[f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:31",className:"w-12 h-12 rounded-2xl bg-amber-400/10 border border-amber-400/20 flex items-center justify-center",children:f.jsx(NA,{"data-loc":"client/src/pages/AnalyticsPage.tsx:32",size:24,className:"text-amber-400"})}),f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:34",children:[f.jsx("h1",{"data-loc":"client/src/pages/AnalyticsPage.tsx:35",className:"text-3xl font-black text-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:"إحصائيات المدونة"}),f.jsxs("p",{"data-loc":"client/src/pages/AnalyticsPage.tsx:38",className:"text-muted-foreground text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:["تقرير يومي شامل • آخر تحديث: ",new Date().toLocaleDateString("ar-SA",{weekday:"long",year:"numeric",month:"long",day:"numeric"})]})]})]}),f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:43",className:"gold-rule mt-4"})]}),f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:47",className:"grid grid-cols-2 sm:grid-cols-4 gap-4 mb-8",children:[{label:"مشاهدات اليوم",value:s?"...":n?.totalViews??0,icon:uy,color:"text-amber-400",bg:"bg-amber-400/10"},{label:"زوار فريدون",value:s?"...":n?.uniqueVisitors??0,icon:LA,color:"text-blue-400",bg:"bg-blue-400/10"},{label:"إجمالي المقالات",value:s?"...":n?.totalArticles??
9490,icon:OA,color:"text-emerald-400",bg:"bg-emerald-400/10"},{label:"معدل التفاعل",value:s?"...":`${Math.min(100,Math.round((n?.uniqueVisitors??0)/Math.max(1,n?.totalViews??1)*100))}%`,icon:df,color:"text-purple-400",bg:"bg-purple-400/10"}].map(m=>f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:54",className:"article-card rounded-2xl p-4 text-center",children:[f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:55",className:`w-10 h-10 rounded-xl ${m.bg} flex items-center justify-center mx-auto mb-3`,children:f.jsx(m.icon,{"data-loc":"client/src/pages/AnalyticsPage.tsx:56",size:20,className:m.color})}),f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:58",className:`text-2xl font-black ${m.color} mb-1`,style:{fontFamily:"'Cairo', sans-serif"},children:m.value}),f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:61",className:"text-xs text-muted-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:m.label})]},m.label))}),f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:69",className:"article-card rounded-2xl p-6 mb-8",children:[f.jsx("h2",{"data-loc":"client/src/pages/AnalyticsPage.tsx:70",className:"text-lg font-black text-foreground mb-1",style:{fontFamily:"'Cairo', sans-serif"},children:"المشاهدات - آخر 7 أيام"}),f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:73",className:"gold-rule mb-5"}),i?f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:75",className:"h-32 flex items-center justify-center",children:f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:76",className:"w-8 h-8 border-2 border-amber-400 border-t-transparent rounded-full animate-spin"})}):l?.days?.length===0?f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:79",className:"h-32 flex items-center justify-center text-muted-foreground text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:"لا توجد بيانات بعد — ستظهر الإحصائيات بعد أول زيارة للموقع"}):f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:83",className:"flex items-end gap-2 h-32",children:l?.days?.map((m,p)=>{const h=Math.max(8,Number(m.views)/d*100);return f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:87",className:"flex-1 flex flex-col items-center gap-1",children:[f.jsx("span",{"data-loc":"client/src/pages/AnalyticsPage.tsx:88",className:"text-xs text-amber-400 font-bold",style:{fontFamily:"'Cairo', sans-serif"},children:m.views}),f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:89",className:"w-full rounded-t-lg bg-gradient-to-t from-amber-600 to-amber-400 transition-all duration-500",style:{height:`${h}%`}}),f.jsx("span",{"data-loc":"client/src/pages/AnalyticsPage.tsx:93",className:"text-xs text-muted-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:new Date(m.date).toLocaleDateString("ar-SA",{weekday:"short"})})]},p)})})]}),f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:104",className:"article-card rounded-2xl p-6",children:[f.jsx("h2",{"data-loc":"client/src/pages/AnalyticsPage.tsx:105",className:"text-lg font-black text-foreground mb-1",style:{fontFamily:"'Cairo', sans-serif"},children:"أكثر المقالات مشاهدةً"}),f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:108",className:"gold-rule mb-5"}),s?f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:110",className:"space-y-3",children:[1,2,3].map(m=>f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:112",className:"h-12 bg-white/5 rounded-xl animate-pulse"},m))}):(n?.topArticles?.length??0)===0?f.jsx("p",{"data-loc":"client/src/pages/AnalyticsPage.tsx:116",className:"text-muted-foreground text-sm text-center py-4",style:{fontFamily:"'Cairo', sans-serif"},children:"لا توجد بيانات بعد"}):f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:120",className:"space-y-3",children:n?.topArticles?.map((m,p)=>f.jsx(De,{"data-loc":"client/src/pages/AnalyticsPage.tsx:122",href:`/article/${m.slug}`,children:f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:123",className:"flex items-center gap-3 p-3 rounded-xl hover:bg-white/5 transition-colors group cursor-pointer",children:[f.jsx("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:124",className:`w-7 h-7 rounded-lg flex items-center justify-center text-sm font-black shrink-0 ${p===0?"bg-amber-400 text-black":p===1?"bg-white/20 text-foreground":"bg-white/10 text-muted-foreground"}`,style:{fontFamily:"'Cairo', sans-serif"},children:p+1}),f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:128",className:"flex-1 min-w-0",children:[f.jsx("p",{"data-loc":"client/src/pages/AnalyticsPage.tsx:129",className:"text-sm font-semibold text-foreground group-hover:text-amber-400 transition-colors truncate",style:{fontFamily:"'Cairo', sans-serif"},children:m.title}),f.jsx("p",{"data-loc":"client/src/pages/AnalyticsPage.tsx:132",className:"text-xs text-muted-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:m.category})]}),f.jsxs("div",{"data-loc":"client/src/pages/AnalyticsPage.tsx:134",className:"flex items-center gap-1 text-xs text-amber-400 font-bold shrink-0",children:[f.jsx(uy,{"data-loc":"client/src/pages/AnalyticsPage.tsx:135",size:12}),m.viewCount]})]})},m.slug))})]})]})})}function T4(){E.useEffect(()=>{window.scrollTo(0,0),document.title="سياسة الخصوصية - مدونة المعرفة"},[]);const n=[{title:"مقدمة",content:"مرحباً بك في مدونة المعرفة. نحن نحترم خصوصيتك ونلتزم بحماية بياناتك الشخصية. تشرح سياسة الخصوصية هذه كيفية جمع معلوماتك واستخدامها وحمايتها عند زيارة موقعنا arabicblog-fovp4qzh.manus.space."},{title:"المعلومات التي نجمعها",content:`نجمع أنواعاً مختلفة من المعلومات لتحسين تجربتك على موقعنا:
950      
951• **بيانات الاستخدام التلقائية:** عند زيارة موقعنا، نجمع تلقائياً معلومات مثل عنوان IP، نوع المتصفح، الصفحات التي زرتها، ووقت الزيارة.
952
953• **ملفات تعريف الارتباط (Cookies):** نستخدم ملفات الكوكيز لتحسين أداء الموقع وتخصيص تجربتك. يمكنك تعطيل الكوكيز من إعدادات متصفحك.
954
955• **التعليقات:** عند ترك تعليق، نجمع الاسم الذي تدخله والمحتوى الذي تكتبه.`},{title:"كيف نستخدم معلوماتك",content:`نستخدم المعلومات التي نجمعها للأغراض التالية:
956
957• تحسين محتوى الموقع وتجربة المستخدم
958• تحليل إحصائيات الزيارات لفهم اهتمامات القراء
959• الرد على تعليقاتك واستفساراتك
960• إرسال النشرة البريدية للمشتركين (بموافقتهم)
961• عرض إعلانات ملائمة عبر Google AdSense`},{title:"Google AdSense والإعلانات",content:`يستخدم موقعنا Google AdSense لعرض الإعلانات. قد يستخدم Google ملفات تعريف الارتباط لعرض إعلانات بناءً على زياراتك السابقة لهذا الموقع ومواقع أخرى.
962
963يمكنك إلغاء الاشتراك في الإعلانات المخصصة عبر زيارة: https://www.google.com/settings/ads
964
965لمزيد من المعلومات حول كيفية استخدام Google للبيانات، يرجى زيارة: https://policies.google.com/technologies/ads`},{title:"مشاركة البيانات مع أطراف ثالثة",content:`لا نبيع أو نتاجر أو ننقل معلوماتك الشخصية إلى أطراف خارجية، باستثناء:
966
967• **مزودي الخدمة:** نشارك البيانات مع شركاء موثوقين يساعدوننا في تشغيل الموقع (مثل Google Analytics وGoogle AdSense).
968• **المتطلبات القانونية:** قد نكشف عن معلوماتك إذا كان ذلك مطلوباً بموجب القانون.`},{title:"حماية البيانات",content:"نتخذ تدابير أمنية مناسبة لحماية معلوماتك من الوصول غير المصرح به أو الإفصاح أو التعديل أو الإتلاف. يتم تشفير جميع البيانات المنقولة باستخدام بروتوكول HTTPS."},{title:"حقوقك",content:`لديك الحقوق التالية فيما يتعلق ببياناتك الشخصية:
969
970• **حق الوصول:** يمكنك طلب نسخة من البيانات التي نحتفظ بها عنك.
971• **حق التصحيح:** يمكنك طلب تصحيح أي بيانات غير دقيقة.
972• **حق الحذف:** يمكنك طلب حذف بياناتك الشخصية.
973• **حق الاعتراض:** يمكنك الاعتراض على معالجة بياناتك لأغراض التسويق.`}
973,{title:"ملفات تعريف الارتباط (Cookies)",content:`نستخدم الأنواع التالية من الكوكيز:
974
975• **الكوكيز الضرورية:** ضرورية لعمل الموقع بشكل صحيح.
976• **كوكيز الأداء:** تساعدنا على فهم كيفية تفاعل الزوار مع الموقع.
977• **كوكيز الإعلانات:** تُستخدم من قِبل Google AdSense لعرض إعلانات ملائمة.
978
979يمكنك التحكم في إعدادات الكوكيز من خلال متصفحك.`},{title:"التغييرات على سياسة الخصوصية",content:'قد نقوم بتحديث سياسة الخصوصية هذه من وقت لآخر. سنخطرك بأي تغييرات جوهرية عبر نشر السياسة الجديدة على هذه الصفحة مع تحديث تاريخ "آخر تحديث".'},{title:"التواصل معنا",content:"إذا كان لديك أي أسئلة حول سياسة الخصوصية هذه، يمكنك التواصل معنا عبر صفحة الاتصال أو عبر البريد الإلكتروني."}];return f.jsxs("div",{"data-loc":"client/src/pages/PrivacyPage.tsx:85",className:"min-h-screen pt-20",children:[f.jsx("section",{"data-loc":"client/src/pages/PrivacyPage.tsx:87",className:"py-12 border-b border-white/8",children:f.jsxs("div",{"data-loc":"client/src/pages/PrivacyPage.tsx:88",className:"container max-w-4xl",children:[f.jsxs("div",{"data-loc":"client/src/pages/PrivacyPage.tsx:89",className:"flex items-center gap-3 mb-4",children:[f.jsx("div",{"data-loc":"client/src/pages/PrivacyPage.tsx:90",className:"w-12 h-12 rounded-2xl bg-amber-400/10 border border-amber-400/20 flex items-center justify-center",children:f.jsx(jx,{"data-loc":"client/src/pages/PrivacyPage.tsx:91",size:24,className:"text-amber-400"})}),f.jsxs("div",{"data-loc":"client/src/pages/PrivacyPage.tsx:93",children:[f.jsx("h1",{"data-loc":"client/src/pages/PrivacyPage.tsx:94",className:"text-3xl font-black text-foreground",style:{fontFamily:"'Cairo', sans-serif"},children:"سياسة الخصوصية"}),f.jsx("p",{"data-loc":"client/src/pages/PrivacyPage.tsx:100",className:"text-muted-foreground text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:"آخر تحديث: يناير 2025"})]})]}),f.jsx("p",{"data-loc":"client/src/pages/PrivacyPage.tsx:105",className:"text-muted-foreground leading-relaxed",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:"نحن في مدونة المعرفة نلتزم بحماية خصوصيتك وبياناتك الشخصية. اقرأ هذه السياسة بعناية لفهم كيفية تعاملنا مع معلوماتك."})]})}),f.jsxs("div",{"data-loc":"client/src/pages/PrivacyPage.tsx:115",className:"container max-w-4xl py-12",children:[f.jsx("div",{"data-loc":"client/src/pages/PrivacyPage.tsx:116",className:"space-y-10",children:n.map((s,l)=>f.jsxs("div",{"data-loc":"client/src/pages/PrivacyPage.tsx:118",className:"article-card rounded-2xl p-6",children:[f.jsxs("h2",{"data-loc":"client/src/pages/PrivacyPage.tsx:119",className:"text-xl font-black text-foreground mb-4 pb-3 border-b border-white/10",style:{fontFamily:"'Cairo', sans-serif"},children:[l+1,". ",s.title]}),f.jsx("div",{"data-loc":"client/src/pages/PrivacyPage.tsx:125",className:"text-muted-foreground leading-loose whitespace-pre-line",style:{fontFamily:"'Noto Sans Arabic', sans-serif",fontSize:"0.95rem"},dangerouslySetInnerHTML:{__html:s.content.replace(/\*\*(.*?)\*\*/g,'<strong style="color:oklch(0.97 0.005 90);font-weight:700">$1</strong>')}})]},l))}),f.jsxs("div",{"data-loc":"client/src/pages/PrivacyPage.tsx:137",className:"mt-10 flex items-center gap-4",children:[f.jsx(De,{"data-loc":"client/src/pages/PrivacyPage.tsx:138",href:"/",children:f.jsxs("button",{"data-loc":"client/src/pages/PrivacyPage.tsx:139",className:"flex items-center gap-2 text-muted-foreground hover:text-amber-400 transition-colors text-sm font-semibold",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(Ua,{"data-loc":"client/src/pages/PrivacyPage.tsx:143",size:16}),"العودة للرئيسية"]})}),f.jsx(De,{"data-loc":"client/src/pages/PrivacyPage.tsx:147",href:"/contact",children:f.jsx("button",{"data-loc":"client/src/pages/PrivacyPage.tsx:148",className:"btn-primary text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:"تواصل معنا"})})]})]})]})}function _4(){const[n,s]=E.useState(!1),[l,i]=E.useState({name:"",email:"",subject:"",message:""}),[c,d]=E.useState(null),m=At.contact.send.useMutation({onSuccess:()=>{s(!0),d(null)},onError:g=>{d(g.message||"حدث خطأ أثناء إرسال الرسالة. يرجى المحاولة مرة أخرى.")}});E.useEffect(()=>{window.scrollTo(0,0),document.title="تواصل معنا - مدونة المعرفة"},[]);const p=g=>{if(g.preventDefault(),d(null),!l.name.trim()||!l.email.trim()||!l.subject||!l.message.trim()){d("يرجى ملء جميع الحقول المطلوبة.");return}m.mutate({name:l.name.trim(),email:l.email.trim(),subject:l.subject,message:l.message.trim()})},h=[{icon:bl,title:"البريد الإلكتروني",value:"[email protected]",description:"نرد خلال 24 ساعة"},{icon:RA,title:"التعليقات",value:"أترك تعليقاً على أي مقال",description:"نرد على جميع التعليقات"}];return f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:57",className:"min-h-screen pt-20",children:[f.jsx("section",{"data-loc":"client/src/pages/ContactPage.tsx:59",className:"py-12 border-b border-white/8",children:f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:60",className:"container max-w-5xl",children:[f.jsx("h1",{"data-loc":"client/src/pages/ContactPage.tsx:61",className:"text-3xl font-black text-foreground mb-3",style:{fontFamily:"'Cairo', sans-serif"},children:"تواصل معنا"}),f.jsx("p",{"data-loc":"client/src/pages/ContactPage.tsx:67",className:"text-muted-foreground leading-relaxed max-w-2xl",style:{fontFamily:"'Noto Sans Arabic', sans-serif"},children:"هل لديك سؤال، اقتراح، أو تريد التعاون معنا؟ نحن هنا للمساعدة. أرسل لنا رسالتك وسنرد عليك في Ø£Ù
979‚رب وقت ممكن."})]})}),f.jsx("div",{"data-loc":"client/src/pages/ContactPage.tsx:76",className:"container max-w-5xl py-12",children:f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:77",className:"grid grid-cols-1 lg:grid-cols-3 gap-10",children:[f.jsx("div",{"data-loc":"client/src/pages/ContactPage.tsx:79",className:"lg:col-span-2",children:f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:80",className:"article-card rounded-2xl p-6",children:[f.jsx("h2",{"data-loc":"client/src/pages/ContactPage.tsx:81",className:"text-xl font-black text-foreground mb-6",style:{fontFamily:"'Cairo', sans-serif"},children:"أرسل لنا رسالة"}),n?f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:89",className:"text-center py-12",children:[f.jsx(Cx,{"data-loc":"client/src/pages/ContactPage.tsx:90",size:48,className:"text-green-400 mx-auto mb-4"}),f.jsx("h3",{"data-loc":"client/src/pages/ContactPage.tsx:91",className:"text-xl font-black text-foreground mb-2",style:{fontFamily:"'Cairo', sans-serif"},children:"تم إرسال رسالتك بنجاح!"}),f.jsx("p",{"data-loc":"client/src/pages/ContactPage.tsx:97",className:"text-muted-foreground mb-6",style:{fontFamily:"'Cairo', sans-serif"},children:"شكراً لتواصلك معنا. سنرد عليك خلال 24 ساعة."}),f.jsx("button",{"data-loc":"client/src/pages/ContactPage.tsx:103",onClick:()=>{s(!1),i({name:"",email:"",subject:"",message:""})},className:"btn-primary",style:{fontFamily:"'Cairo', sans-serif"},children:"إرسال رسالة أخرى"})]}):f.jsxs("form",{"data-loc":"client/src/pages/ContactPage.tsx:112",onSubmit:p,className:"space-y-5",children:[c&&f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:114",className:"flex items-center gap-2 p-3 rounded-xl bg-red-500/10 border border-red-500/20 text-red-400 text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(wx,{"data-loc":"client/src/pages/ContactPage.tsx:115",size:16}),c]}),f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:120",className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:121",children:[f.jsx("label",{"data-loc":"client/src/pages/ContactPage.tsx:122",className:"block text-sm font-semibold text-foreground mb-2",style:{fontFamily:"'Cairo', sans-serif"},children:"الاسم الكامل *"}),f.jsx("input",{"data-loc":"client/src/pages/ContactPage.tsx:128",type:"text",required:!0,value:l.name,onChange:g=>i({...l,name:g.target.value}),placeholder:"أدخل اسمك الكامل",className:"w-full px-4 py-3 rounded-xl bg-white/5 border border-white/10 text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-amber-400/50 focus:bg-amber-400/5 transition-all",style:{fontFamily:"'Cairo', sans-serif"}})]}),f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:138",children:[f.jsx("label",{"data-loc":"client/src/pages/ContactPage.tsx:139",className:"block text-sm font-semibold text-foreground mb-2",style:{fontFamily:"'Cairo', sans-serif"},children:"البريد الإلكتروني *"}),f.jsx("input",{"data-loc":"client/src/pages/ContactPage.tsx:145",type:"email",required:!0,value:l.email,onChange:g=>i({...l,email:g.target.value}),placeholder:"[email protected]",className:"w-full px-4 py-3 rounded-xl bg-white/5 border border-white/10 text-foreground placeholder:text-muted-foreground/50 focus:outline-none focus:border-amber-400/50 focus:bg-amber-400/5 transition-all",dir:"ltr"})]})]}),f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:157",children:[f.jsx("label",{"data-loc":"client/src/pages/ContactPage.tsx:158",className:"block text-sm font-semibold text-foreground mb-2",style:{fontFamily:"'Cairo', sans-serif"},children:"موضوع الرسالة *"}),f.jsxs("select",{"data-loc":"client/src/pages/ContactPage.tsx:164",required:!0,value:l.subject,onChange:g=>i({...l,subject:g.target.value}),className:"w-full px-4 py-3 rounded-xl bg-white/5 border border-white/10 text-foreground focus:outline-none focus:border-amber-400/50 focus:bg-amber-400/5 transition-all",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx("option",{"data-loc":"client/src/pages/ContactPage.tsx:171",value:"",className:"bg-slate-900",children:"اختر موضوع الرسالة"}),f.jsx("option",{"data-loc":"client/src/pages/ContactPage.tsx:172",value:"question",className:"bg-slate-900",children:"سؤال عام"}),f.jsx("option",{"data-loc":"client/src/pages/ContactPage.tsx:173",value:"suggestion",className:"bg-slate-900",children:"اقتراح أو ملاحظة"}),f.jsx("option",{"data-loc":"client/src/pages/ContactPage.tsx:174",value:"collaboration",className:"bg-slate-900",children:"طلب تعاون أو إعلان"}),f.jsx("option",{"data-loc":"client/src/pages/ContactPage.tsx:175",value:"correction",className:"bg-slate-900",children:"تصحيح معلومة"}),f.jsx("option",{"data-loc":"client/src/pages/ContactPage.tsx:176",value:"other",className:"bg-slate-900",children:"أخرى"})]})]}),f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:180",children:[f.jsx("label",{"data-loc":"client/src/pages/ContactPage.tsx:181",className:"block text-sm font-semibold text-foreground mb-2",style:{fontFamily:"'Cairo', sans-serif"},children:"نص الرسالة *"}),f.jsx("textarea",{"data-loc":"client/src/pages/ContactPage.tsx:187",required:!0,rows:6,value:l.message,onChange:g=>i({...l,message:g.target.value}),placeholder:"اكتب رسالتك هنا...",className:"w-full px-4 py-3 rounded-xl bg-white/5 border border-white/10 text-foreground placeholder:text-muted-foreground
979/50 focus:outline-none focus:border-amber-400/50 focus:bg-amber-400/5 transition-all resize-none",style:{fontFamily:"'Noto Sans Arabic', sans-serif"}})]}),f.jsx("button",{"data-loc":"client/src/pages/ContactPage.tsx:198",type:"submit",disabled:m.isPending,className:"btn-primary w-full justify-center disabled:opacity-60 disabled:cursor-not-allowed",style:{fontFamily:"'Cairo', sans-serif"},children:m.isPending?f.jsxs(f.Fragment,{children:[f.jsx("div",{"data-loc":"client/src/pages/ContactPage.tsx:206",className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),"جاري الإرسال..."]}):f.jsxs(f.Fragment,{children:[f.jsx(Bd,{"data-loc":"client/src/pages/ContactPage.tsx:211",size:16}),"إرسال الرسالة"]})})]})]})}),f.jsxs("aside",{"data-loc":"client/src/pages/ContactPage.tsx:222",className:"space-y-5",children:[f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:223",className:"article-card rounded-2xl p-5",children:[f.jsx("h3",{"data-loc":"client/src/pages/ContactPage.tsx:224",className:"font-black text-foreground mb-5 golden-underline",style:{fontFamily:"'Cairo', sans-serif"},children:"معلومات التواصل"}),f.jsx("div",{"data-loc":"client/src/pages/ContactPage.tsx:230",className:"space-y-5",children:h.map((g,v)=>f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:232",className:"flex items-start gap-3",children:[f.jsx("div",{"data-loc":"client/src/pages/ContactPage.tsx:233",className:"w-10 h-10 rounded-xl bg-amber-400/10 border border-amber-400/20 flex items-center justify-center shrink-0 mt-0.5",children:f.jsx(g.icon,{"data-loc":"client/src/pages/ContactPage.tsx:234",size:18,className:"text-amber-400"})}),f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:236",children:[f.jsx("p",{"data-loc":"client/src/pages/ContactPage.tsx:237",className:"font-bold text-foreground text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:g.title}),f.jsx("p",{"data-loc":"client/src/pages/ContactPage.tsx:243",className:"text-muted-foreground text-sm mt-0.5",style:{fontFamily:"'Cairo', sans-serif"},children:g.value}),f.jsx("p",{"data-loc":"client/src/pages/ContactPage.tsx:249",className:"text-muted-foreground/60 text-xs mt-0.5",style:{fontFamily:"'Cairo', sans-serif"},children:g.description})]})]},v))})]}),f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:262",className:"article-card rounded-2xl p-5",children:[f.jsx("h3",{"data-loc":"client/src/pages/ContactPage.tsx:263",className:"font-black text-foreground mb-4 golden-underline",style:{fontFamily:"'Cairo', sans-serif"},children:"أسئلة شائعة"}),f.jsx("div",{"data-loc":"client/src/pages/ContactPage.tsx:269",className:"space-y-4",children:[{q:"هل يمكنني نشر مقال ضيف؟",a:"نعم، نرحب بالمقالات الجيدة والمفيدة. تواصل معنا لمعرفة التفاصيل."},{q:"هل تقبلون الإعلانات؟",a:"نعم، نقبل الإعلانات ذات الصلة بمجال الموقع. أرسل لنا تفاصيل طلبك."},{q:"كيف أشترك في النشرة البريدية؟",a:"يمكنك الاشتراك من خلال نموذج الاشتراك في أسفل الصفحة الرئيسية."}].map((g,v)=>f.jsxs("div",{"data-loc":"client/src/pages/ContactPage.tsx:275",className:"border-b border-white/8 pb-4 last:border-0 last:pb-0",children:[f.jsx("p",{"data-loc":"client/src/pages/ContactPage.tsx:276",className:"font-bold text-foreground text-sm mb-1",style:{fontFamily:"'Cairo', sans-serif"},children:g.q}),f.jsx("p",{"data-loc":"client/src/pages/ContactPage.tsx:282",className:"text-muted-foreground text-sm",style:{fontFamily:"'Cairo', sans-serif"},children:g.a})]},v))})]}),f.jsx(De,{"data-loc":"client/src/pages/ContactPage.tsx:293",href:"/",children:f.jsxs("button",{"data-loc":"client/src/pages/ContactPage.tsx:294",className:"flex items-center gap-2 text-muted-foreground hover:text-amber-400 transition-colors text-sm font-semibold",style:{fontFamily:"'Cairo', sans-serif"},children:[f.jsx(Ua,{"data-loc":"client/src/pages/ContactPage.tsx:298",size:16}),"العودة للرئيسية"]})})]})]})})]})}function R4(){const[n]=pf(),s=At.analytics.trackView.useMutation(),l=(()=>{let i=localStorage.getItem("visitor_id");
979return i||(i=Math.random().toString(36).slice(2),localStorage.setItem("visitor_id",i)),i})();return E.useEffect(()=>{const i=n.startsWith("/article/")?n.replace("/article/",""):void 0;s.mutate({path:n,articleSlug:i,visitorId:l,referrer:document.referrer||void 0})},[n]),null}function M4(){return f.jsxs(f.Fragment,{children:[f.jsx(R4,{"data-loc":"client/src/App.tsx:39"}),f.jsx(N4,{"data-loc":"client/src/App.tsx:40"}),f.jsxs(u4,{"data-loc":"client/src/App.tsx:41",children:[f.jsx(Jn,{"data-loc":"client/src/App.tsx:42",path:"/",component:b4}),f.jsx(Jn,{"data-loc":"client/src/App.tsx:43",path:"/article/:slug",component:C4}),f.jsx(Jn,{"data-loc":"client/src/App.tsx:44",path:"/category/:slug",component:j4}),f.jsx(Jn,{"data-loc":"client/src/App.tsx:45",path:"/about",component:A4}),f.jsx(Jn,{"data-loc":"client/src/App.tsx:46",path:"/analytics",component:O4}),f.jsx(Jn,{"data-loc":"client/src/App.tsx:47",path:"/privacy",component:T4}),f.jsx(Jn,{"data-loc":"client/src/App.tsx:48",path:"/contact",component:_4}),f.jsx(Jn,{"data-loc":"client/src/App.tsx:49",path:"/404",component:by}),f.jsx(Jn,{"data-loc":"client/src/App.tsx:50",component:by})]}),f.jsx(E4,{"data-loc":"client/src/App.tsx:52"})]})}function z4(){return f.jsx(d4,{"data-loc":"client/src/App.tsx:59",children:f.jsx(m4,{"data-loc":"client/src/App.tsx:60",defaultTheme:"dark",children:f.jsxs(pA,{"data-loc":"client/src/App.tsx:61",children:[f.jsx(Nw,{"data-loc":"client/src/App.tsx:62"}),f.jsx(M4,{"data-loc":"client/src/App.tsx:63"})]})})})}const D4=()=>{const n="https://manus.im",s="FoVP4qzHHBHbedYJKz6KCA",l=`${window.location.origin}/api/oauth/callback`,i=crypto.randomUUID();document.cookie=`${iS}=${i}; Path=/; Max-Age=600; SameSite=None; Secure`;const c=oS({redirectUri:l,nonce:i}),d=new URL(`${n}/app-auth`);d.searchParams.set("appId",s),d.searchParams.set("redirectUri",l),d.searchParams.set("state",c),d.searchParams.set("type","signIn"),window.location.href=d.toString()},So=new w1,Dx=n=>{!(n instanceof Nl)||typeof window>"u"||!(n.message===lS)||D4()};So.getQueryCache().subscribe(n=>{if(n.type==="updated"&&n.action.type==="error"){const s=n.query.state.error;Dx(s),console.error("[API Query Error]",s)}});So.getMutationCache().subscribe(n=>{if(n.type==="updated"&&n.action.type==="error"){const s=n.mutation.state.error;Dx(s),console.error("[API Mutation Error]",s)}});const P4=At.createClient({links:[M2({url:"/api/trpc",transformer:na,headers(){try{const n=sessionStorage.getItem("manus-cookie");if(n){const s=`${rS}=`,i=n.split(";").find(c=>c.trim().startsWith(s))?.trim().slice(s.length);if(i)return{Authorization:`Bearer ${i}`}}}catch{}return{}},fetch(n,s){return globalThis.fetch(n,{...s??{},credentials:"include"})}})]});hS.createRoot(document.getElementById("root")).render(f.jsx(At.Provider,{"data-loc":"client/src/main.tsx:76",client:P4,queryClient:So,children:f.jsx(j1,{"data-loc":"client/src/main.tsx:77",client:So,children:f.jsx(z4,{"data-loc":"client/src/main.tsx:78"})})}));

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.