PageSourceSearch

https://drmohamedtawfik.manus.space/treatment

html drmohamedtawfik.manus.space collected 2026-10-03 05:01:25 UTC 392,249 bytes, 131 lines download raw bytes

1<!doctype html>
2<html lang="ar" dir="rtl">
3
4  <head>
5    <meta charset="UTF-8" />
6    <meta
7      name="viewport"
8      content="width=device-width, initial-scale=1.0, maximum-scale=1" />
9    <meta name="language" content="Arabic" />
10    <meta name="google-site-verification" content="" />
11    <title>علاج التثدي في مصر: تقييم وخيارات العلاج | د. محمد عبد الله توفيق</title>
12<meta name="description" content="دليل تثقيفي حول تقييم التثدي وخيارات العلاج التي يناقشها الطبيب وفق الحالة الصحية والفحص المباشر في مصر.">
13<meta name="robots" content="index, follow">
14<link rel="canonical" href="https://drmohamedtawfik.manus.space/treatment">
15<meta property="og:site_name" content="عيادة د. محمد عبد الله توفيق">
16<meta property="og:locale" content="ar_EG">
17<meta property="og:type" content="website">
18<meta property="og:title" content="علاج التثدي في مصر: تقييم وخيارات العلاج | د. محمد عبد الله توفيق">
19<meta property="og:description" content="دليل تثقيفي حول تقييم التثدي وخيارات العلاج التي يناقشها الطبيب وفق الحالة الصحية والفحص المباشر في مصر.">
20<meta property="og:url" content="https://drmohamedtawfik.manus.space/treatment">
21<meta name="twitter:card" content="summary">
22<meta name="twitter:title" content="علاج التثدي في مصر: تقييم وخيارات العلاج | د. محمد عبد الله توفيق">
23<meta name="twitter:description" content="دليل تثقيفي حول تقييم التثدي وخيارات العلاج التي يناقشها الطبيب وفق الحالة الصحية والفحص المباشر في مصر.">
24<script id="route-schema-markup" type="application/ld+json">{"@context":"https://schema.org","@type":"MedicalWebPage","name":"علاج التثدي في مصر: تقييم وخيارات العلاج","description":"دليل تثقيفي حول تقييم التثدي وخيارات العلاج التي يناقشها الطبيب وفق الحالة الصحية والفحص المباشر في مصر.","url":"https://drmohamedtawfik.manus.space/treatment","inLanguage":"ar","about":{"@type":"MedicalCondition","name":"Gynecomastia"},"mainEntity":{"@type":"MedicalClinic","name":"عيادة د. محمد عبد الله توفيق","url":"https://drmohamedtawfik.manus.space"}}</script>
24
25    
26    <link rel="preconnect" href="https://fonts.googleapis.com" />
27    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
28    <link href="https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
29    
29<script type="module" crossorigin src="/assets/index-C0dyjQVY.js"></script>
29
30    <link rel="stylesheet" crossorigin href="/assets/index-BAE5YsEc.css">
31  <link rel="manifest" href="/__manus/pwa/manifest.webmanifest" crossorigin="use-credentials" /></head>
32
33  <body dir="rtl">
34    
vendor: 4,304 bytes, lines 34-51
34<script id="manus-runtime">window.__MANUS_HOST_DEV__ = false;
35(function(){"use strict";var Mr={exports:{}},Kn={};/**
36 * @license React
37 * react-jsx-runtime.production.js
38 *
39 * Copyright (c) Meta Platforms, Inc. and affiliates.
40 *
41 * This source code is licensed under the MIT license found in the
42 * LICENSE file in the root directory of this source tree.
43 */var $c;function um(){if($c)return Kn;$c=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function c(s,d,m){var x=null;if(m!==void 0&&(x=""+m),d.key!==void 0&&(x=""+d.key),"key"in d){m={};for(var R in d)R!=="key"&&(m[R]=d[R])}else m=d;return d=m.ref,{$$typeof:r,type:s,key:x,ref:d!==void 0?d:null,props:m}}return Kn.Fragment=i,Kn.jsx=c,Kn.jsxs=c,Kn}var Fc;function dm(){return Fc||(Fc=1,Mr.exports=um()),Mr.exports}var h=dm(),Ar={exports:{}},Pn={},Rr={exports:{}},Nr={};/**
44 * @license React
45 * scheduler.production.js
46 *
47 * Copyright (c) Meta Platforms, Inc. and affiliates.
48 *
49 * This source code is licensed under the MIT license found in the
50 * LICENSE file in the root directory of this source tree.
51 */var Ic;function fm(){return Ic||(Ic=1,function(r){function i(A,q){var B=A.length;A.push(q);t:for(;0<B;){var bt=B-1>>>1,p=A[bt];if(0<d(p,q))A[bt]=q,A[B]=p,B=bt;else break t}}function c(A){return A.length===0?null:A[0]}function s(A){if(A.length===0)return null;var q=A[0],B=A.pop();if(B!==q){A[0]=B;t:for(var bt=0,p=A.length,O=p>>>1;bt<O;){var X=2*(bt+1)-1,G=A[X],Z=X+1,st=A[Z];if(0>d(G,B))Z<p&&0>d(st,G)?(A[bt]=st,A[Z]=B,bt=Z):(A[bt]=G,A[X]=B,bt=X);else if(Z<p&&0>d(st,B))A[bt]=st,A[Z]=B,bt=Z;else break t}}return q}function d(A,q){var B=A.sortIndex-q.sortIndex;return B!==0?B:A.id-q.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;r.unstable_now=function(){return m.now()}}else{var x=Date,R=x.now();r.unstable_now=function(){return x.now()-R}}var C=[],v=[],D=1,j=null,J=3,at=!1,$=!1,nt=!1,ct=!1,ht=typeof setTimeout=="function"?setTimeout:null,St=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;function Y(A){for(var q=c(v);q!==null;){if(q.callback===null)s(v);else if(q.startTime<=A)s(v),q.sortIndex=q.expirationTime,i(C,q);else break;q=c(v)}}function H(A){if(nt=!1,Y(A),!$)if(c(C)!==null)$=!0,it||(it=!0,Bt());else{var q=c(v);q!==null&&Mt(H,q.startTime-A)}}var it=!1,rt=-1,V=5,xt=-1;function Be(){return ct?!0:!(r.unstable_now()-xt<V)}function te(){if(ct=!1,it){var A=r.unstable_now();xt=A;var q=!0;try{t:{$=!1,nt&&(nt=!1,St(rt),rt=-1),at=!0;var B=J;try{e:{for(Y(A),j=c(C);j!==null&&!(j.expirationTime>A&&Be());){var bt=j.callback;if(typeof bt=="function"){j.callback=null,J=j.priorityLevel;var p=bt(j.expirationTime<=A);if(A=r.unstable_now(),typeof p=="function"){j.callback=p,Y(A),q=!0;break e}j===c(C)&&s(C),Y(A)}else s(C);j=c(C)}if(j!==null)q=!0;else{var O=c(v);O!==null&&Mt(H,O.startTime-A),q=!1}}break t}finally{j=null,J=B,at=!1}q=void 0}}finally{q?Bt():it=!1}}}var Bt;if(typeof _=="function")Bt=function(){_(te)};else if(typeof MessageChannel<"u"){var me=new MessageChannel,Se=me.port2;me.port1.onmessage=te,Bt=function(){Se.postMessage(null)}}else Bt=function(){ht(te,0)};function Mt(A,q){rt=ht(function(){A(r.unstable_now())},q)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(A){A.callback=null},r.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<A?Math.floor(1e3/A):5},r.unstable_getCurrentPriorityLevel=function(){return J},r.unstable_next=function(A){switch(J){case 1:case 2:case 3:var q=3;break;default:q=J}var B=J;J=q;try{return A()}finally{J=B}},r.unstable_requestPaint=function(){ct=!0},r.unstable_runWithPriority=function(A,q){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var B=J;J=A;try{return q()}finally{J=B}},r.unstable_scheduleCallback=function(A,q,B){var bt=r.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?bt+B:bt):B=bt,A){case 1:var p=-1;break;case 2:p=250;break;case 5:p=1073741823;break;case 4:p=1e4;break;default:p=5e3}
vendor: 8,415 bytes, lines 51-59
51return p=B+p,A={id:D++,callback:q,priorityLevel:A,startTime:B,expirationTime:p,sortIndex:-1},B>bt?(A.sortIndex=B,i(v,A),c(C)===null&&A===c(v)&&(nt?(St(rt),rt=-1):nt=!0,Mt(H,B-bt))):(A.sortIndex=p,i(C,A),$||at||($=!0,it||(it=!0,Bt()))),A},r.unstable_shouldYield=Be,r.unstable_wrapCallback=function(A){var q=J;return function(){var B=J;J=q;try{return A.apply(this,arguments)}finally{J=B}}}}(Nr)),Nr}var tu;function hm(){return tu||(tu=1,Rr.exports=fm()),Rr.exports}var zr={exports:{}},ut={};/**
52 * @license React
53 * react.production.js
54 *
55 * Copyright (c) Meta Platforms, Inc. and affiliates.
56 *
57 * This source code is licensed under the MIT license found in the
58 * LICENSE file in the root directory of this source tree.
59 */var eu;function mm(){if(eu)return ut;eu=1;var r=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),x=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),j=Symbol.iterator;function J(p){return p===null||typeof p!="object"?null:(p=j&&p[j]||p["@@iterator"],typeof p=="function"?p:null)}var at={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$=Object.assign,nt={};function ct(p,O,X){this.props=p,this.context=O,this.refs=nt,this.updater=X||at}ct.prototype.isReactComponent={},ct.prototype.setState=function(p,O){if(typeof p!="object"&&typeof p!="function"&&p!=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,p,O,"setState")},ct.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};function ht(){}ht.prototype=ct.prototype;function St(p,O,X){this.props=p,this.context=O,this.refs=nt,this.updater=X||at}var _=St.prototype=new ht;_.constructor=St,$(_,ct.prototype),_.isPureReactComponent=!0;var Y=Array.isArray,H={H:null,A:null,T:null,S:null,V:null},it=Object.prototype.hasOwnProperty;function rt(p,O,X,G,Z,st){return X=st.ref,{$$typeof:r,type:p,key:O,ref:X!==void 0?X:null,props:st}}function V(p,O){return rt(p.type,O,void 0,void 0,void 0,p.props)}function xt(p){return typeof p=="object"&&p!==null&&p.$$typeof===r}function Be(p){var O={"=":"=0",":":"=2"};return"$"+p.replace(/[=:]/g,function(X){return O[X]})}var te=/\/+/g;function Bt(p,O){return typeof p=="object"&&p!==null&&p.key!=null?Be(""+p.key):O.toString(36)}function me(){}function Se(p){switch(p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:switch(typeof p.status=="string"?p.then(me,me):(p.status="pending",p.then(function(O){p.status==="pending"&&(p.status="fulfilled",p.value=O)},function(O){p.status==="pending"&&(p.status="rejected",p.reason=O)})),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason}}throw p}function Mt(p,O,X,G,Z){var st=typeof p;(st==="undefined"||st==="boolean")&&(p=null);var I=!1;if(p===null)I=!0;else switch(st){case"bigint":case"string":case"number":I=!0;break;case"object":switch(p.$$typeof){case r:case i:I=!0;break;case D:return I=p._init,Mt(I(p._payload),O,X,G,Z)}}if(I)return Z=Z(p),I=G===""?"."+Bt(p,0):G,Y(Z)?(X="",I!=null&&(X=I.replace(te,"$&/")+"/"),Mt(Z,O,X,"",function(Jt){return Jt})):Z!=null&&(xt(Z)&&(Z=V(Z,X+(Z.key==null||p&&p.key===Z.key?"":(""+Z.key).replace(te,"$&/")+"/")+I)),O.push(Z)),1;I=0;var gt=G===""?".":G+":";if(Y(p))for(var Tt=0;Tt<p.length;Tt++)G=p[Tt],st=gt+Bt(G,Tt),I+=Mt(G,O,X,st,Z);else if(Tt=J(p),typeof Tt=="function")for(p=Tt.call(p),Tt=0;!(G=p.next()).done;)G=G.value,st=gt+Bt(G,Tt++),I+=Mt(G,O,X,st,Z);else if(st==="object"){if(typeof p.then=="function")return Mt(Se(p),O,X,G,Z);throw O=String(p),Error("Objects are not valid as a React child (found: "+(O==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":O)+"). If you meant to render a collection of children, use an array instead.")}return I}function A(p,O,X){if(p==null)return p;var G=[],Z=0;return Mt(p,G,"","",function(st){return O.call(X,st,Z++)}),G}function q(p){if(p._status===-1){var O=p._result;O=O(),O.then(function(X){(p._status===0||p._status===-1)&&(p._status=1,p._result=X)},function(X){(p._status===0||p._status===-1)&&(p._status=2,p._result=X)}),p._status===-1&&(p._status=0,p._result=O)}if(p._status===1)return p._result.default;throw p._result}var B=typeof reportError=="function"?reportError:function(p){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var O=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof p=="object"&&p!==null&&typeof p.message=="string"?String(p.message):String(p),error:p});if(!window.dispatchEvent(O))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",p);return}console.error(p)};function bt(){}return ut.Children={map:A,forEach:function(p,O,X){A(p,function(){O.apply(this,arguments)},X)},count:function(p){var O=0;return A(p,function(){O++}),O},toArray:function(p){return A(p,function(O){return O})||[]},only:function(p){if(!xt(p))throw Error("React.Children.only expected to receive a single React element child.");return p}},ut.Component=ct,ut.Fragment=c,ut.Profiler=d,ut.PureComponent=St,ut.StrictMode=s,ut.Suspense=C,ut.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H,ut.__COMPILER_RUNTIME={__proto__:null,c:function(p){return H.H.useMemoCache(p)}},ut.cache=function(p){return function(){return p.apply(null,arguments)}},ut.cloneElement=function(p,O,X){if(p==null)throw Error("The argument must be a React element, but you passed "+p+".");var G=$({},p.props),Z=p.key,st=void 0;if(O!=null)for(I in O.ref!==void 0&&(st=void 0),O.key!==void 0&&(Z=""+O.key),O)!it.call(O,I)||I==="key"||I==="__self"||I==="__source"||I==="ref"&&O.ref===void 0||(G[I]=O[I]);var I=arguments.length-2;if(I===1)G.children=X;else if(1<I){for(var gt=Array(I),Tt=0;Tt<I;Tt++)gt[Tt]=arguments[Tt+2];G.children=gt}return rt(p.type,Z,void 0,void 0,st,G)},ut.createContext=function(p){return p={$$typeof:x,_currentValue:p,_currentValue2:p,_threadCount:0,Provider:null,Consumer:null},p.Provider=p,p.Consumer={$$typeof:m,_context:p},p},ut.createElement=function(p,O,X){var G,Z={},st=null;if(O!=null)for(G in O.key!==void 0&&(st=""+O.key),O)it.call(O,G)&&G!=="key"&&G!=="__self"&&G!=="__source"&&(Z[G]=O[G]);var I=arguments.length-2;if(I===1)Z.children=X;else if(1<I){for(var gt=Array(I),Tt=0;Tt<I;Tt++)gt[Tt]=arguments[Tt+2];Z.children=gt}if(p&&p.defaultProps)for(G in I=p.defaultProps,I)Z[G]===void 0&&(Z[G]=I[G]);return rt(p,st,void 0,void 0,null,Z)},ut.createRef=function(){return{current:null}},ut.forwardRef=function(p){return{$$typeof:R,render:p}},ut.isValidElement=xt,ut.lazy=function(p){return{$$typeof:D,_payload:{_status:-1,_result:p},_init:q}},ut.memo=function(p,O){return{$$typeof:v,type:p,compare:O===void 0?null:O}},ut.startTransition=function(p){var O=H.T,X={};H.T=X;try{var G=p(),Z=H.S;Z!==null&&Z(X,G),typeof G=="object"&&G!==null&&typeof G.then=="function"&&G.then(bt,B)}catch(st){B(st)}finally{H.T=O}},ut.unstable_useCacheRefresh=function(){return H.H.useCacheRefresh()},ut.use=function(p){return H.H.use(p)},ut.useActionState=function(p,O,X){return H.H.useActionState(p,O,X)},ut.useCallback=function(p,O){return H.H.useCallback(p,O)},ut.useContext=function(p){return H.H.useContext(p)},ut.useDebugValue=function(){},ut.useDeferredValue=function(p,O){return H.H.useDeferredValue(p,O)},ut.useEffect=function(p,O,X){var G=H.H;if(typeof X=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return G.useEffect(p,O)},ut.useId=function(){return H.H.useId()},ut.useImperativeHandle=function(p,O,X){return H.H.useImperativeHandle(p,O,X)},ut.useInsertionEffect=function(p,O){return H.H.useInsertionEffect(p,O)},ut.useLayoutEffect=function(p,O){return H.H.useLayoutEffect(p,O)},ut.useMemo=function(p,O){return H.H.useMemo(p,O)},ut.useOptimistic=function(p,O){return H.H.useOptimistic(p,O)},ut.useReducer=function(p,O,X){return H.H.useReducer(p,O,X)},ut.useRef=function(p){return H.H.useRef(p)},ut.useState=function(p){return H.H.useState(p)},ut.useSyncExternalStore=function(p,O,X){return H.H.useSyncExternalStore(p,O,X)},ut.useTransition=function(){return H.H.useTransition()},ut.version="19.1.1",ut}var lu;
vendor: 4,181 bytes, lines 59-75
59function _r(){return lu||(lu=1,zr.exports=mm()),zr.exports}var kr={exports:{}},he={};/**
60 * @license React
61 * react-dom.production.js
62 *
63 * Copyright (c) Meta Platforms, Inc. and affiliates.
64 *
65 * This source code is licensed under the MIT license found in the
66 * LICENSE file in the root directory of this source tree.
67 */var au;function gm(){if(au)return he;au=1;var r=_r();function i(C){var v="https://react.dev/errors/"+C;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var D=2;D<arguments.length;D++)v+="&args[]="+encodeURIComponent(arguments[D])}return"Minified React error #"+C+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var s={d:{f:c,r:function(){throw Error(i(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},d=Symbol.for("react.portal");function m(C,v,D){var j=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:j==null?null:""+j,children:C,containerInfo:v,implementation:D}}var x=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function R(C,v){if(C==="font")return"";if(typeof v=="string")return v==="use-credentials"?v:""}return he.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,he.createPortal=function(C,v){var D=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!v||v.nodeType!==1&&v.nodeType!==9&&v.nodeType!==11)throw Error(i(299));return m(C,v,null,D)},he.flushSync=function(C){var v=x.T,D=s.p;try{if(x.T=null,s.p=2,C)return C()}finally{x.T=v,s.p=D,s.d.f()}},he.preconnect=function(C,v){typeof C=="string"&&(v?(v=v.crossOrigin,v=typeof v=="string"?v==="use-credentials"?v:"":void 0):v=null,s.d.C(C,v))},he.prefetchDNS=function(C){typeof C=="string"&&s.d.D(C)},he.preinit=function(C,v){if(typeof C=="string"&&v&&typeof v.as=="string"){var D=v.as,j=R(D,v.crossOrigin),J=typeof v.integrity=="string"?v.integrity:void 0,at=typeof v.fetchPriority=="string"?v.fetchPriority:void 0;D==="style"?s.d.S(C,typeof v.precedence=="string"?v.precedence:void 0,{crossOrigin:j,integrity:J,fetchPriority:at}):D==="script"&&s.d.X(C,{crossOrigin:j,integrity:J,fetchPriority:at,nonce:typeof v.nonce=="string"?v.nonce:void 0})}},he.preinitModule=function(C,v){if(typeof C=="string")if(typeof v=="object"&&v!==null){if(v.as==null||v.as==="script"){var D=R(v.as,v.crossOrigin);s.d.M(C,{crossOrigin:D,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0})}}else v==null&&s.d.M(C)},he.preload=function(C,v){if(typeof C=="string"&&typeof v=="object"&&v!==null&&typeof v.as=="string"){var D=v.as,j=R(D,v.crossOrigin);s.d.L(C,D,{crossOrigin:j,integrity:typeof v.integrity=="string"?v.integrity:void 0,nonce:typeof v.nonce=="string"?v.nonce:void 0,type:typeof v.type=="string"?v.type:void 0,fetchPriority:typeof v.fetchPriority=="string"?v.fetchPriority:void 0,referrerPolicy:typeof v.referrerPolicy=="string"?v.referrerPolicy:void 0,imageSrcSet:typeof v.imageSrcSet=="string"?v.imageSrcSet:void 0,imageSizes:typeof v.imageSizes=="string"?v.imageSizes:void 0,media:typeof v.media=="string"?v.media:void 0})}},he.preloadModule=function(C,v){if(typeof C=="string")if(v){var D=R(v.as,v.crossOrigin);s.d.m(C,{as:typeof v.as=="string"&&v.as!=="script"?v.as:void 0,crossOrigin:D,integrity:typeof v.integrity=="string"?v.integrity:void 0})}else s.d.m(C)},he.requestFormReset=function(C){s.d.r(C)},he.unstable_batchedUpdates=function(C,v){return C(v)},he.useFormState=function(C,v,D){return x.H.useFormState(C,v,D)},he.useFormStatus=function(){return x.H.useHostTransitionStatus()},he.version="19.1.1",he}var nu;function pm(){if(nu)return kr.exports;nu=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),kr.exports=gm(),kr.exports}/**
68 * @license React
69 * react-dom-client.production.js
70 *
71 * Copyright (c) Meta Platforms, Inc. and affiliates.
72 *
73 * This source code is licensed under the MIT license found in the
74 * LICENSE file in the root directory of this source tree.
75 */var ou;
vendor: 17,912 bytes, lines 75-82
75function ym(){if(ou)return Pn;ou=1;var r=hm(),i=_r(),c=pm();function s(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function m(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function x(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function R(t){if(m(t)!==t)throw Error(s(188))}function C(t){var e=t.alternate;if(!e){if(e=m(t),e===null)throw Error(s(188));return e!==t?null:t}for(var l=t,a=e;;){var n=l.return;if(n===null)break;var o=n.alternate;if(o===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===o.child){for(o=n.child;o;){if(o===l)return R(n),t;if(o===a)return R(n),e;o=o.sibling}throw Error(s(188))}if(l.return!==a.return)l=n,a=o;else{for(var u=!1,f=n.child;f;){if(f===l){u=!0,l=n,a=o;break}if(f===a){u=!0,a=n,l=o;break}f=f.sibling}if(!u){for(f=o.child;f;){if(f===l){u=!0,l=o,a=n;break}if(f===a){u=!0,a=o,l=n;break}f=f.sibling}if(!u)throw Error(s(189))}}if(l.alternate!==a)throw Error(s(190))}if(l.tag!==3)throw Error(s(188));return l.stateNode.current===l?t:e}function v(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=v(t),e!==null)return e;t=t.sibling}return null}var D=Object.assign,j=Symbol.for("react.element"),J=Symbol.for("react.transitional.element"),at=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),nt=Symbol.for("react.strict_mode"),ct=Symbol.for("react.profiler"),ht=Symbol.for("react.provider"),St=Symbol.for("react.consumer"),_=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),it=Symbol.for("react.suspense_list"),rt=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),xt=Symbol.for("react.activity"),Be=Symbol.for("react.memo_cache_sentinel"),te=Symbol.iterator;function Bt(t){return t===null||typeof t!="object"?null:(t=te&&t[te]||t["@@iterator"],typeof t=="function"?t:null)}var me=Symbol.for("react.client.reference");function Se(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===me?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case $:return"Fragment";case ct:return"Profiler";case nt:return"StrictMode";case H:return"Suspense";case it:return"SuspenseList";case xt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case at:return"Portal";case _:return(t.displayName||"Context")+".Provider";case St:return(t._context.displayName||"Context")+".Consumer";case Y:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case rt:return e=t.displayName||null,e!==null?e:Se(t.type)||"Memo";case V:e=t._payload,t=t._init;try{return Se(t(e))}catch{}}return null}var Mt=Array.isArray,A=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B={pending:!1,data:null,method:null,action:null},bt=[],p=-1;function O(t){return{current:t}}function X(t){0>p||(t.current=bt[p],bt[p]=null,p--)}function G(t,e){p++,bt[p]=t.current,t.current=e}var Z=O(null),st=O(null),I=O(null),gt=O(null);function Tt(t,e){switch(G(I,e),G(st,t),G(Z,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Hh(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Hh(e),t=Uh(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}X(Z),G(Z,t)}function Jt(){X(Z),X(st),X(I)}function Ke(t){t.memoizedState!==null&&G(gt,t);var e=Z.current,l=Uh(e,t.type);e!==l&&(G(st,t),G(Z,l))}function Ce(t){st.current===t&&(X(Z),X(st)),gt.current===t&&(X(gt),Wo._currentValue=B)}var Pe=Object.prototype.hasOwnProperty,yl=r.unstable_scheduleCallback,sn=r.unstable_cancelCallback,Ca=r.unstable_shouldYield,ri=r.unstable_requestPaint,ge=r.unstable_now,si=r.unstable_getCurrentPriorityLevel,Ul=r.unstable_ImmediatePriority,Fn=r.unstable_UserBlockingPriority,nl=r.unstable_NormalPriority,ci=r.unstable_LowPriority,Gl=r.unstable_IdlePriority,ui=r.log,Ea=r.unstable_setDisableYieldValue,ql=null,Wt=null;function Je(t){if(typeof ui=="function"&&Ea(t),Wt&&typeof Wt.setStrictMode=="function")try{Wt.setStrictMode(ql,t)}catch{}}var $t=Math.clz32?Math.clz32:fi,di=Math.log,Ta=Math.LN2;function fi(t){return t>>>=0,t===0?32:31-(di(t)/Ta|0)|0}var L=256,cn=4194304;function vl(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function un(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var n=0,o=t.suspendedLanes,u=t.pingedLanes;t=t.warmLanes;var f=a&134217727;return f!==0?(a=f&~o,a!==0?n=vl(a):(u&=f,u!==0?n=vl(u):l||(l=f&~t,l!==0&&(n=vl(l))))):(f=a&~o,f!==0?n=vl(f):u!==0?n=vl(u):l||(l=a&~t,l!==0&&(n=vl(l)))),n===0?0:e!==0&&e!==n&&(e&o)===0&&(o=n&-n,l=e&-e,o>=l||o===32&&(l&4194048)!==0)?e:n}function Dt(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function In(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 to(){var t=L;return L<<=1,(L&4194048)===0&&(L=256),t}function hi(){var t=cn;return cn<<=1,(cn&62914560)===0&&(cn=4194304),t}function eo(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function Da(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Ir(t,e,l,a,n,o){var u=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var f=t.entanglements,g=t.expirationTimes,S=t.hiddenUpdates;for(l=u&~l;0<l;){var N=31-$t(l),k=1<<N;f[N]=0,g[N]=-1;var E=S[N];if(E!==null)for(S[N]=null,N=0;N<E.length;N++){var T=E[N];T!==null&&(T.lane&=-536870913)}l&=~k}a!==0&&mi(t,a,0),o!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=o&~(u&~e))}function mi(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-$t(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&4194090}function gi(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-$t(l),n=1<<a;n&e|t[a]&e&&(t[a]|=e),l&=~n}}function lo(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function ao(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function pi(){var t=q.p;return t!==0?t:(t=window.event,t===void 0?32:nm(t.type))}function ts(t,e){var l=q.p;try{return q.p=t,e()}finally{q.p=l}}var ol=Math.random().toString(36).slice(2),ee="__reactFiber$"+ol,pe="__reactProps$"+ol,Yl="__reactContainer$"+ol,no="__reactEvents$"+ol,es="__reactListeners$"+ol,ls="__reactHandles$"+ol,yi="__reactResources$"+ol,Ma="__reactMarker$"+ol;function oo(t){delete t[ee],delete t[pe],delete t[no],delete t[es],delete t[ls]}function Vl(t){var e=t[ee];if(e)return e;for(var l=t.parentNode;l;){if(e=l[Yl]||l[ee]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Vh(t);t!==null;){if(l=t[ee])return l;t=Vh(t)}return e}t=l,l=t.parentNode}return null}function Xl(t){if(t=t[ee]||t[Yl]){var e=t.tag;if(e===5||e===6||e===13||e===26||e===27||e===3)return t}return null}function Aa(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(s(33))}function Zl(t){var e=t[yi];return e||(e=t[yi]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Vt(t){t[Ma]=!0}var vi=new Set,bi={};function bl(t,e){We(t,e),We(t+"Capture",e)}function We(t,e){for(bi[t]=e,t=0;t<e.length;t++)vi.add(e[t])}var as=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]*$"),xi={},wi={};function Ra(t){return Pe.call(wi,t)?!0:Pe.call(xi,t)?!1:as.test(t)?wi[t]=!0:(xi[t]=!0,!1)}function M(t,e,l){if(Ra(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function tt(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function Ot(t,e,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+a)}}var le,Ee;function ae(t){if(le===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);le=e&&e[1]||"",Ee=-1<l.stack.indexOf(`
76    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
77`+le+t+Ee}var Le=!1;function He(t,e){if(!t||Le)return"";Le=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var k=function(){throw Error()};if(Object.defineProperty(k.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(k,[])}catch(T){var E=T}Reflect.construct(t,[],k)}else{try{k.call()}catch(T){E=T}t.call(k.prototype)}}else{try{throw Error()}catch(T){E=T}(k=t())&&typeof k.catch=="function"&&k.catch(function(){})}}catch(T){if(T&&E&&typeof T.stack=="string")return[T.stack,E.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=a.DetermineComponentFrameRoot(),u=o[0],f=o[1];if(u&&f){var g=u.split(`
78`),S=f.split(`
79`);for(n=a=0;a<g.length&&!g[a].includes("DetermineComponentFrameRoot");)a++;for(;n<S.length&&!S[n].includes("DetermineComponentFrameRoot");)n++;if(a===g.length||n===S.length)for(a=g.length-1,n=S.length-1;1<=a&&0<=n&&g[a]!==S[n];)n--;for(;1<=a&&0<=n;a--,n--)if(g[a]!==S[n]){if(a!==1||n!==1)do if(a--,n--,0>n||g[a]!==S[n]){var N=`
80`+g[a].replace(" at new "," at ");return t.displayName&&N.includes("<anonymous>")&&(N=N.replace("<anonymous>",t.displayName)),N}while(1<=a&&0<=n);break}}}finally{Le=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?ae(l):""}function Ql(t){switch(t.tag){case 26:case 27:case 5:return ae(t.type);case 16:return ae("Lazy");case 13:return ae("Suspense");case 19:return ae("SuspenseList");case 0:case 15:return He(t.type,!1);case 11:return He(t.type.render,!1);case 1:return He(t.type,!0);case 31:return ae("Activity");default:return""}}function xl(t){try{var e="";do e+=Ql(t),t=t.return;while(t);return e}catch(l){return`
81Error generating stack: `+l.message+`
82`+l.stack}}function Xt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function il(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function ve(t){var e=il(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,o=l.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(u){a=""+u,o.call(this,u)}}),Object.defineProperty(t,e,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(u){a=""+u},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function re(t){t._valueTracker||(t._valueTracker=ve(t))}function rl(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=il(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function wl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var dn=/[\n"\\]/g;function se(t){return t.replace(dn,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Kl(t,e,l,a,n,o,u,f){t.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?t.type=u:t.removeAttribute("type"),e!=null?u==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Xt(e)):t.value!==""+Xt(e)&&(t.value=""+Xt(e)):u!=="submit"&&u!=="reset"||t.removeAttribute("value"),e!=null?Pl(t,u,Xt(e)):l!=null?Pl(t,u,Xt(l)):a!=null&&t.removeAttribute("value"),n==null&&o!=null&&(t.defaultChecked=!!o),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.name=""+Xt(f):t.removeAttribute("name")}function Na(t,e,l,a,n,o,u,f){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(t.type=o),e!=null||l!=null){if(!(o!=="submit"&&o!=="reset"||e!=null))return;l=l!=null?""+Xt(l):"",e=e!=null?""+Xt(e):l,f||e===t.value||(t.value=e),t.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=f?t.checked:!!a,t.defaultChecked=!!a,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.name=u)}function Pl(t,e,l){e==="number"&&wl(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function $e(t,e,l,a){if(t=t.options,e){e={};for(var n=0;n<l.length;n++)e["$"+l[n]]=!0;for(l=0;l<t.length;l++)n=e.hasOwnProperty("$"+t[l].value),t[l].selected!==n&&(t[l].selected=n),n&&a&&(t[l].defaultSelected=!0)}else{for(l=""+Xt(l),e=null,n=0;n<t.length;n++){if(t[n].value===l){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function za(t,e,l){if(e!=null&&(e=""+Xt(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Xt(l):""}function _a(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(s(92));if(Mt(a)){if(1<a.length)throw Error(s(93));a=a[0]}l=a}l==null&&(l=""),e=l}l=Xt(e),t.defaultValue=l,a=t.textContent,a===l&&a!==""&&a!==null&&(t.value=a)}function Fe(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var fn=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 ka(t,e,l){var a=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,l):typeof l!="number"||l===0||fn.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function Oa(t,e,l){if(e!=null&&typeof e!="object")throw Error(s(62));if(t=t.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&l[n]!==a&&ka(t,n,a)}else for(var o in e)e.hasOwnProperty(o)&&ka(t,o,e[o])}function ja(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Si=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
82dering","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"]]),Ci=/^[\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 Ba(t){return Ci.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var hn=null;function mn(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Sl=null,Cl=null;function io(t){var e=Xl(t);if(e&&(t=e.stateNode)){var l=t[pe]||null;t:switch(t=e.stateNode,e.type){case"input":if(Kl(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+se(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[pe]||null;if(!n)throw Error(s(90));Kl(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<l.length;e++)a=l[e],a.form===t.form&&rl(a)}break t;case"textarea":za(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&$e(t,!!l.multiple,e,!1)}}}var gn=!1;function ro(t,e,l){if(gn)return t(e,l);gn=!0;try{var a=t(e);return a}finally{if(gn=!1,(Sl!==null||Cl!==null)&&(ir(),Sl&&(e=Sl,t=Cl,Cl=Sl=null,io(e),t)))for(e=0;e<t.length;e++)io(t[e])}}function Jl(t,e){var l=t.stateNode;if(l===null)return null;var a=l[pe]||null;if(a===null)return null;l=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(s(231,e,typeof l));return l}var Ue=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pn=!1;if(Ue)try{var Wl={};Object.defineProperty(Wl,"passive",{get:function(){pn=!0}}),window.addEventListener("test",Wl,Wl),window.removeEventListener("test",Wl,Wl)}catch{pn=!1}
vendor: 6,638 bytes, line 82
82var Ie=null,yn=null,La=null;function so(){if(La)return La;var t,e=yn,l=e.length,a,n="value"in Ie?Ie.value:Ie.textContent,o=n.length;for(t=0;t<l&&e[t]===n[t];t++);var u=l-t;for(a=1;a<=u&&e[l-a]===n[o-a];a++);return La=n.slice(t,1<a?1-a:void 0)}function Ha(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ua(){return!0}function co(){return!1}function ce(t){function e(l,a,n,o,u){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=o,this.target=u,this.currentTarget=null;for(var f in t)t.hasOwnProperty(f)&&(l=t[f],this[f]=l?l(o):o[f]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ua:co,this.isPropagationStopped=co,this}return D(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Ua)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Ua)},persist:function(){},isPersistent:Ua}),e}var sl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ga=ce(sl),$l=D({},sl,{view:0,detail:0}),Ei=ce($l),Ti,uo,fo,Di=D({},$l,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:os,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==fo&&(fo&&t.type==="mousemove"?(Ti=t.screenX-fo.screenX,uo=t.screenY-fo.screenY):uo=Ti=0,fo=t),Ti)},movementY:function(t){return"movementY"in t?t.movementY:uo}}),Vu=ce(Di),D0=D({},Di,{dataTransfer:0}),M0=ce(D0),A0=D({},$l,{relatedTarget:0}),ns=ce(A0),R0=D({},sl,{animationName:0,elapsedTime:0,pseudoElement:0}),N0=ce(R0),z0=D({},sl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),_0=ce(z0),k0=D({},sl,{data:0}),Xu=ce(k0),O0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},j0={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"},B0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function L0(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=B0[t])?!!e[t]:!1}function os(){return L0}var H0=D({},$l,{key:function(t){if(t.key){var e=O0[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ha(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?j0[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:os,charCode:function(t){return t.type==="keypress"?Ha(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ha(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),U0=ce(H0),G0=D({},Di,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zu=ce(G0),q0=D({},$l,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:os}),Y0=ce(q0),V0=D({},sl,{propertyName:0,elapsedTime:0,pseudoElement:0}),X0=ce(V0),Z0=D({},Di,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Q0=ce(Z0),K0=D({},sl,{newState:0,oldState:0}),P0=ce(K0),J0=[9,13,27,32],is=Ue&&"CompositionEvent"in window,ho=null;Ue&&"documentMode"in document&&(ho=document.documentMode);var W0=Ue&&"TextEvent"in window&&!ho,Qu=Ue&&(!is||ho&&8<ho&&11>=ho),Ku=" ",Pu=!1;function Ju(t,e){switch(t){case"keyup":return J0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wu(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var vn=!1;function $0(t,e){switch(t){case"compositionend":return Wu(e);case"keypress":return e.which!==32?null:(Pu=!0,Ku);case"textInput":return t=e.data,t===Ku&&Pu?null:t;default:return null}}function F0(t,e){if(vn)return t==="compositionend"||!is&&Ju(t,e)?(t=so(),La=yn=Ie=null,vn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Qu&&e.locale!=="ko"?null:e.data;default:return null}}var I0={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 $u(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!I0[t.type]:e==="textarea"}function Fu(t,e,l,a){Sl?Cl?Cl.push(a):Cl=[a]:Sl=a,e=fr(e,"onChange"),0<e.length&&(l=new Ga("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var mo=null,go=null;function t1(t){kh(t,0)}function Mi(t){var e=Aa(t);if(rl(e))return t}function Iu(t,e){if(t==="change")return e}var td=!1;if(Ue){var rs;if(Ue){var ss="oninput"in document;if(!ss){var ed=document.createElement("div");ed.setAttribute("oninput","return;"),ss=typeof ed.oninput=="function"}rs=ss}else rs=!1;td=rs&&(!document.documentMode||9<document.documentMode)}function ld(){mo&&(mo.detachEvent("onpropertychange",ad),go=mo=null)}function ad(t){if(t.propertyName==="value"&&Mi(go)){var e=[];Fu(e,go,t,mn(t)),ro(t1,e)}}function e1(t,e,l){t==="focusin"?(ld(),mo=e,go=l,mo.attachEvent("onpropertychange",ad)):t==="focusout"&&ld()}function l1(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Mi(go)}function a1(t,e){if(t==="click")return Mi(e)}function n1(t,e){if(t==="input"||t==="change")return Mi(e)}function o1(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var Re=typeof Object.is=="function"?Object.is:o1;function po(t,e){if(Re(t,e))return!0;
vendor: 4,880 bytes, line 82
82if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),a=Object.keys(e);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!Pe.call(e,n)||!Re(t[n],e[n]))return!1}return!0}function nd(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function od(t,e){var l=nd(t);t=0;for(var a;l;){if(l.nodeType===3){if(a=t+l.textContent.length,t<=e&&a>=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=nd(l)}}function id(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?id(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function rd(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=wl(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=wl(t.document)}return e}function cs(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var i1=Ue&&"documentMode"in document&&11>=document.documentMode,bn=null,us=null,yo=null,ds=!1;function sd(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;ds||bn==null||bn!==wl(a)||(a=bn,"selectionStart"in a&&cs(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),yo&&po(yo,a)||(yo=a,a=fr(us,"onSelect"),0<a.length&&(e=new Ga("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=bn)))}function qa(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var xn={animationend:qa("Animation","AnimationEnd"),animationiteration:qa("Animation","AnimationIteration"),animationstart:qa("Animation","AnimationStart"),transitionrun:qa("Transition","TransitionRun"),transitionstart:qa("Transition","TransitionStart"),transitioncancel:qa("Transition","TransitionCancel"),transitionend:qa("Transition","TransitionEnd")},fs={},cd={};Ue&&(cd=document.createElement("div").style,"AnimationEvent"in window||(delete xn.animationend.animation,delete xn.animationiteration.animation,delete xn.animationstart.animation),"TransitionEvent"in window||delete xn.transitionend.transition);function Ya(t){if(fs[t])return fs[t];if(!xn[t])return t;var e=xn[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in cd)return fs[t]=e[l];return t}var ud=Ya("animationend"),dd=Ya("animationiteration"),fd=Ya("animationstart"),r1=Ya("transitionrun"),s1=Ya("transitionstart"),c1=Ya("transitioncancel"),hd=Ya("transitionend"),md=new Map,hs="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(" ");hs.push("scrollEnd");function tl(t,e){md.set(t,e),bl(e,[t])}var gd=new WeakMap;function Ge(t,e){if(typeof t=="object"&&t!==null){var l=gd.get(t);return l!==void 0?l:(e={value:t,source:e,stack:xl(e)},gd.set(t,e),e)}return{value:t,source:e,stack:xl(e)}}var qe=[],wn=0,ms=0;function Ai(){for(var t=wn,e=ms=wn=0;e<t;){var l=qe[e];qe[e++]=null;var a=qe[e];qe[e++]=null;var n=qe[e];qe[e++]=null;var o=qe[e];if(qe[e++]=null,a!==null&&n!==null){var u=a.pending;u===null?n.next=n:(n.next=u.next,u.next=n),a.pending=n}o!==0&&pd(l,n,o)}}function Ri(t,e,l,a){qe[wn++]=t,qe[wn++]=e,qe[wn++]=l,qe[wn++]=a,ms|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function gs(t,e,l,a){return Ri(t,e,l,a),Ni(t)}function Sn(t,e){return Ri(t,null,null,e),Ni(t)}function pd(t,e,l){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l);for(var n=!1,o=t.return;o!==null;)o.childLanes|=l,a=o.alternate,a!==null&&(a.childLanes|=l),o.tag===22&&(t=o.stateNode,t===null||t._visibility&1||(n=!0)),t=o,o=o.return;return t.tag===3?(o=t.stateNode,n&&e!==null&&(n=31-$t(l),t=o.hiddenUpdates,a=t[n],a===null?t[n]=[e]:a.push(e),e.lane=l|536870912),o):null}function Ni(t){if(50<Yo)throw Yo=0,wc=null,Error(s(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Cn={};function u1(t,e,l,a){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 1,734 bytes, line 82
82ype=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ne(t,e,l,a){return new u1(t,e,l,a)}function ps(t){return t=t.prototype,!(!t||!t.isReactComponent)}function El(t,e){var l=t.alternate;return l===null?(l=Ne(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function yd(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function zi(t,e,l,a,n,o){var u=0;if(a=t,typeof t=="function")ps(t)&&(u=1);else if(typeof t=="string")u=fp(t,l,Z.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case xt:return t=Ne(31,l,e,n),t.elementType=xt,t.lanes=o,t;
vendor: 55,310 bytes, line 82
82case $:return Va(l.children,n,o,e);case nt:u=8,n|=24;break;case ct:return t=Ne(12,l,e,n|2),t.elementType=ct,t.lanes=o,t;case H:return t=Ne(13,l,e,n),t.elementType=H,t.lanes=o,t;case it:return t=Ne(19,l,e,n),t.elementType=it,t.lanes=o,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case ht:case _:u=10;break t;case St:u=9;break t;case Y:u=11;break t;case rt:u=14;break t;case V:u=16,a=null;break t}u=29,l=Error(s(130,t===null?"null":typeof t,"")),a=null}return e=Ne(u,l,e,n),e.elementType=t,e.type=a,e.lanes=o,e}function Va(t,e,l,a){return t=Ne(7,t,a,e),t.lanes=l,t}function ys(t,e,l){return t=Ne(6,t,null,e),t.lanes=l,t}function vs(t,e,l){return e=Ne(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var En=[],Tn=0,_i=null,ki=0,Ye=[],Ve=0,Xa=null,Tl=1,Dl="";function Za(t,e){En[Tn++]=ki,En[Tn++]=_i,_i=t,ki=e}function vd(t,e,l){Ye[Ve++]=Tl,Ye[Ve++]=Dl,Ye[Ve++]=Xa,Xa=t;var a=Tl;t=Dl;var n=32-$t(a)-1;a&=~(1<<n),l+=1;var o=32-$t(e)+n;if(30<o){var u=n-n%5;o=(a&(1<<u)-1).toString(32),a>>=u,n-=u,Tl=1<<32-$t(e)+n|l<<n|a,Dl=o+t}else Tl=1<<o|l<<n|a,Dl=t}function bs(t){t.return!==null&&(Za(t,1),vd(t,1,0))}function xs(t){for(;t===_i;)_i=En[--Tn],En[Tn]=null,ki=En[--Tn],En[Tn]=null;for(;t===Xa;)Xa=Ye[--Ve],Ye[Ve]=null,Dl=Ye[--Ve],Ye[Ve]=null,Tl=Ye[--Ve],Ye[Ve]=null}var be=null,Ut=null,Et=!1,Qa=null,cl=!1,ws=Error(s(519));function Ka(t){var e=Error(s(418,""));throw xo(Ge(e,t)),ws}function bd(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[ee]=t,e[pe]=a,l){case"dialog":vt("cancel",e),vt("close",e);break;case"iframe":case"object":case"embed":vt("load",e);break;case"video":case"audio":for(l=0;l<Xo.length;l++)vt(Xo[l],e);break;case"source":vt("error",e);break;case"img":case"image":case"link":vt("error",e),vt("load",e);break;case"details":vt("toggle",e);break;case"input":vt("invalid",e),Na(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),re(e);break;case"select":vt("invalid",e);break;case"textarea":vt("invalid",e),_a(e,a.value,a.defaultValue,a.children),re(e)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||Lh(e.textContent,l)?(a.popover!=null&&(vt("beforetoggle",e),vt("toggle",e)),a.onScroll!=null&&vt("scroll",e),a.onScrollEnd!=null&&vt("scrollend",e),a.onClick!=null&&(e.onclick=hr),e=!0):e=!1,e||Ka(t)}function xd(t){for(be=t.return;be;)switch(be.tag){case 5:case 13:cl=!1;return;case 27:case 3:cl=!0;return;default:be=be.return}}function vo(t){if(t!==be)return!1;if(!Et)return xd(t),Et=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Lc(t.type,t.memoizedProps)),l=!l),l&&Ut&&Ka(t),xd(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));t:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8)if(l=t.data,l==="/$"){if(e===0){Ut=ll(t.nextSibling);break t}e--}else l!=="$"&&l!=="$!"&&l!=="$?"||e++;t=t.nextSibling}Ut=null}}else e===27?(e=Ut,ha(t.type)?(t=qc,qc=null,Ut=t):Ut=e):Ut=be?ll(t.stateNode.nextSibling):null;return!0}function bo(){Ut=be=null,Et=!1}function wd(){var t=Qa;return t!==null&&(Me===null?Me=t:Me.push.apply(Me,t),Qa=null),t}function xo(t){Qa===null?Qa=[t]:Qa.push(t)}var Ss=O(null),Pa=null,Ml=null;function Fl(t,e,l){G(Ss,e._currentValue),e._currentValue=l}function Al(t){t._currentValue=Ss.current,X(Ss)}function Cs(t,e,l){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===l)break;t=t.return}}function Es(t,e,l,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var o=n.dependencies;if(o!==null){var u=n.child;o=o.firstContext;t:for(;o!==null;){var f=o;o=n;for(var g=0;g<e.length;g++)if(f.context===e[g]){o.lanes|=l,f=o.alternate,f!==null&&(f.lanes|=l),Cs(o.return,l,t),a||(u=null);break t}o=f.next}}else if(n.tag===18){if(u=n.return,u===null)throw Error(s(341));u.lanes|=l,o=u.alternate,o!==null&&(o.lanes|=l),Cs(u,l,t),u=null}else u=n.child;if(u!==null)u.return=n;else for(u=n;u!==null;){if(u===t){u=null;break}if(n=u.sibling,n!==null){n.return=u.return,u=n;break}u=u.return}n=u}}function wo(t,e,l,a){t=null;for(var n=e,o=!1;n!==null;){if(!o){if((n.flags&524288)!==0)o=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var u=n.alternate;if(u===null)throw Error(s(387));if(u=u.memoizedProps,u!==null){var f=n.type;Re(n.pendingProps.value,u.value)||(t!==null?t.push(f):t=[f])}}else if(n===gt.current){if(u=n.alternate,u===null)throw Error(s(387));u.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(Wo):t=[Wo])}n=n.return}t!==null&&Es(e,t,l,a),e.flags|=262144}function Oi(t){for(t=t.firstContext;t!==null;){if(!Re(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ja(t){Pa=t,Ml=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function ye(t){return Sd(Pa,t)}function ji(t,e){return Pa===null&&Ja(t),Sd(t,e)}function Sd(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Ml===null){if(t===null)throw Error(s(308));Ml=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Ml=Ml.next=e;return l}var d1=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},f1=r.unstable_scheduleCallback,h1=r.unstable_NormalPriority,Ft={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ts(){return{controller:new d1,data:new Map,refCount:0}}function So(t){t.refCount--,t.refCount===0&&f1(h1,function(){t.controller.abort()})}var Co=null,Ds=0,Dn=0,Mn=null;function m1(t,e){if(Co===null){var l=Co=[];Ds=0,Dn=Ac(),Mn={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Ds++,e.then(Cd,Cd),e}function Cd(){if(--Ds===0&&Co!==null){Mn!==null&&(Mn.status="fulfilled");var t=Co;Co=null,Dn=0,Mn=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function g1(t,e){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<l.length;n++)(0,l[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var Ed=A.S;A.S=function(t,e){typeof e=="object"&&e!==null&&typeof e.then=="function"&&m1(t,e),Ed!==null&&Ed(t,e)};var Wa=O(null);function Ms(){var t=Wa.current;return t!==null?t:jt.pooledCache}function Bi(t,e){e===null?G(Wa,Wa.current):G(Wa,e.pool)}function Td(){var t=Ms();return t===null?null:{parent:Ft._currentValue,pool:t}}var Eo=Error(s(460)),Dd=Error(s(474)),Li=Error(s(542)),As={then:function(){}};function Md(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Hi(){}function Ad(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(Hi,Hi),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Nd(t),t;default:if(typeof e.status=="string")e.then(Hi,Hi);else{if(t=jt,t!==null&&100<t.shellSuspendCounter)throw Error(s(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,Nd(t),t}throw To=e,Eo}}var To=null;function Rd(){if(To===null)throw Error(s(459));var t=To;return To=null,t}function Nd(t){if(t===Eo||t===Li)throw Error(s(483))}var Il=!1;function Rs(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ns(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function ta(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ea(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(At&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=Ni(t),pd(t,null,l),e}return Ri(t,a,e,l),Ni(t)}function Do(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,gi(t,l)}}function zs(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,o=null;if(l=l.firstBaseUpdate,l!==null){do{var u={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};o===null?n=o=u:o=o.next=u,l=l.next}while(l!==null);o===null?n=o=e:o=o.next=e}else n=o=e;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:o,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var _s=!1;function Mo(){if(_s){var t=Mn;if(t!==null)throw t}}function Ao(t,e,l,a){_s=!1;var n=t.updateQueue;Il=!1;var o=n.firstBaseUpdate,u=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var g=f,S=g.next;g.next=null,u===null?o=S:u.next=S,u=g;var N=t.alternate;N!==null&&(N=N.updateQueue,f=N.lastBaseUpdate,f!==u&&(f===null?N.firstBaseUpdate=S:f.next=S,N.lastBaseUpdate=g))}if(o!==null){var k=n.baseState;u=0,N=S=g=null,f=o;do{var E=f.lane&-536870913,T=E!==f.lane;if(T?(wt&E)===E:(a&E)===E){E!==0&&E===Dn&&(_s=!0),N!==null&&(N=N.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});t:{var lt=t,F=f;E=e;var _t=l;switch(F.tag){case 1:if(lt=F.payload,typeof lt=="function"){k=lt.call(_t,k,E);break t}k=lt;break t;case 3:lt.flags=lt.flags&-65537|128;case 0:if(lt=F.payload,E=typeof lt=="function"?lt.call(_t,k,E):lt,E==null)break t;k=D({},k,E);break t;case 2:Il=!0}}E=f.callback,E!==null&&(t.flags|=64,T&&(t.flags|=8192),T=n.callbacks,T===null?n.callbacks=[E]:T.push(E))}else T={lane:E,tag:f.tag,payload:f.payload,callback:f.callback,next:null},N===null?(S=N=T,g=k):N=N.next=T,u|=E;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;T=f,f=T.next,T.next=null,n.lastBaseUpdate=T,n.shared.pending=null}}while(!0);N===null&&(g=k),n.baseState=g,n.firstBaseUpdate=S,n.lastBaseUpdate=N,o===null&&(n.shared.lanes=0),ca|=u,t.lanes=u,t.memoizedState=k}}function zd(t,e){if(typeof t!="function")throw Error(s(191,t));t.call(e)}function _d(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)zd(l[t],e)}var An=O(null),Ui=O(0);function kd(t,e){t=jl,G(Ui,t),G(An,e),jl=t|e.baseLanes}function ks(){G(Ui,jl),G(An,An.current)}function Os(){jl=Ui.current,X(An),X(Ui)}var la=0,mt=null,Nt=null,Zt=null,Gi=!1,Rn=!1,$a=!1,qi=0,Ro=0,Nn=null,p1=0;function qt(){throw Error(s(321))}function js(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!Re(t[l],e[l]))return!1;return!0}function Bs(t,e,l,a,n,o){return la=o,mt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,A.H=t===null||t.memoizedState===null?yf:vf,$a=!1,o=l(a,n),$a=!1,Rn&&(o=jd(e,l,a,n)),Od(t),o}function Od(t){A.H=Ki;var e=Nt!==null&&Nt.next!==null;if(la=0,Zt=Nt=mt=null,Gi=!1,Ro=0,Nn=null,e)throw Error(s(300));t===null||ne||(t=t.dependencies,t!==null&&Oi(t)&&(ne=!0))}function jd(t,e,l,a){mt=t;var n=0;do{if(Rn&&(Nn=null),Ro=0,Rn=!1,25<=n)throw Error(s(301));if(n+=1,Zt=Nt=null,t.updateQueue!=null){var o=t.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}A.H=C1,o=e(l,a)}while(Rn);return o}function y1(){var t=A.H,e=t.useState()[0];return e=typeof e.then=="function"?No(e):e,t=t.useState()[0],(Nt!==null?Nt.memoizedState:null)!==t&&(mt.flags|=1024),e}function Ls(){var t=qi!==0;return qi=0,t}function Hs(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function Us(t){if(Gi){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}Gi=!1}la=0,Zt=Nt=mt=null,Rn=!1,Ro=qi=0,Nn=null}function Te(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Zt===null?mt.memoizedState=Zt=t:Zt=Zt.next=t,Zt}function Qt(){if(Nt===null){var t=mt.alternate;t=t!==null?t.memoizedState:null}else t=Nt.next;var e=Zt===null?mt.memoizedState:Zt.next;if(e!==null)Zt=e,Nt=t;else{if(t===null)throw mt.alternate===null?Error(s(467)):Error(s(310));Nt=t,t={memoizedState:Nt.memoizedState,baseState:Nt.baseState,baseQueue:Nt.baseQueue,queue:Nt.queue,next:null},Zt===null?mt.memoizedState=Zt=t:Zt=Zt.next=t}return Zt}function Gs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function No(t){var e=Ro;return Ro+=1,Nn===null&&(Nn=[]),t=Ad(Nn,t,e),e=mt,(Zt===null?e.memoizedState:Zt.next)===null&&(e=e.alternate,A.H=e===null||e.memoizedState===null?yf:vf),t}function Yi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return No(t);if(t.$$typeof===_)return ye(t)}throw Error(s(438,String(t)))}function qs(t){var e=null,l=mt.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=mt.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=Gs(),mt.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),a=0;a<t;a++)l[a]=Be;return e.index++,l}function Rl(t,e){return typeof e=="function"?e(t):e}function Vi(t){var e=Qt();return Ys(e,Nt,t)}function Ys(t,e,l){var a=t.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=l;var n=t.baseQueue,o=a.pending;if(o!==null){if(n!==null){var u=n.next;n.next=o.next,o.next=u}e.baseQueue=n=o,a.pending=null}if(o=t.baseState,n===null)t.memoizedState=o;else{e=n.next;var f=u=null,g=null,S=e,N=!1;do{var k=S.lane&-536870913;if(k!==S.lane?(wt&k)===k:(la&k)===k){var E=S.revertLane;if(E===0)g!==null&&(g=g.next={lane:0,revertLane:0,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null}),k===Dn&&(N=!0);else if((la&E)===E){S=S.next,E===Dn&&(N=!0);continue}else k={lane:0,revertLane:S.revertLane,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},g===null?(f=g=k,u=o):g=g.next=k,mt.lanes|=E,ca|=E;k=S.action,$a&&l(o,k),o=S.hasEagerState?S.eagerState:l(o,k)}else E={lane:k,revertLane:S.revertLane,action:S.action,hasEagerState:S.hasEagerState,eagerState:S.eagerState,next:null},g===null?(f=g=E,u=o):g=g.next=E,mt.lanes|=k,ca|=k;S=S.next}while(S!==null&&S!==e);if(g===null?u=o:g.next=f,!Re(o,t.memoizedState)&&(ne=!0,N&&(l=Mn,l!==null)))throw l;t.memoizedState=o,t.baseState=u,t.baseQueue=g,a.lastRenderedState=o}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function Vs(t){var e=Qt(),l=e.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=t;var a=l.dispatch,n=l.pending,o=e.memoizedState;if(n!==null){l.pending=null;var u=n=n.next;do o=t(o,u.action),u=u.next;while(u!==n);Re(o,e.memoizedState)||(ne=!0),e.memoizedState=o,e.baseQueue===null&&(e.baseState=o),l.lastRenderedState=o}return[o,a]}function Bd(t,e,l){var a=mt,n=Qt(),o=Et;if(o){if(l===void 0)throw Error(s(407));l=l()}else l=e();var u=!Re((Nt||n).memoizedState,l);u&&(n.memoizedState=l,ne=!0),n=n.queue;var f=Ud.bind(null,a,n,t);if(zo(2048,8,f,[t]),n.getSnapshot!==e||u||Zt!==null&&Zt.memoizedState.tag&1){if(a.flags|=2048,zn(9,Xi(),Hd.bind(null,a,n,l,e),null),jt===null)throw Error(s(349));o||(la&124)!==0||Ld(a,e,l)}return l}function Ld(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=mt.updateQueue,e===null?(e=Gs(),mt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function Hd(t,e,l,a){e.value=l,e.getSnapshot=a,Gd(e)&&qd(t)}function Ud(t,e,l){return l(function(){Gd(e)&&qd(t)})}function Gd(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!Re(t,l)}catch{return!0}}function qd(t){var e=Sn(t,2);e!==null&&je(e,t,2)}function Xs(t){var e=Te();if(typeof t=="function"){var l=t;if(t=l(),$a){Je(!0);try{l()}finally{Je(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rl,lastRenderedState:t},e}function Yd(t,e,l,a){return t.baseState=l,Ys(t,Nt,typeof a=="function"?a:Rl)}function v1(t,e,l,a,n){if(Qi(t))throw Error(s(485));if(t=e.action,t!==null){var o={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){o.listeners.push(u)}};A.T!==null?l(!0):o.isTransition=!1,a(o),l=e.pending,l===null?(o.next=e.pending=o,Vd(e,o)):(o.next=l.next,e.pending=l.next=o)}}function Vd(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var o=A.T,u={};A.T=u;try{var f=l(n,a),g=A.S;g!==null&&g(u,f),Xd(t,e,f)}catch(S){Zs(t,e,S)}finally{A.T=o}}else try{o=l(n,a),Xd(t,e,o)}catch(S){Zs(t,e,S)}}function Xd(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Zd(t,e,a)},function(a){return Zs(t,e,a)}):Zd(t,e,l)}function Zd(t,e,l){e.status="fulfilled",e.value=l,Qd(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,Vd(t,l)))}function Zs(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,Qd(e),e=e.next;while(e!==a)}t.action=null}function Qd(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Kd(t,e){return e}function Pd(t,e){if(Et){var l=jt.formState;if(l!==null){t:{var a=mt;if(Et){if(Ut){e:{for(var n=Ut,o=cl;n.nodeType!==8;){if(!o){n=null;break e}if(n=ll(n.nextSibling),n===null){n=null;break e}}o=n.data,n=o==="F!"||o==="F"?n:null}if(n){Ut=ll(n.nextSibling),a=n.data==="F!";break t}}Ka(a)}a=!1}a&&(e=l[0])}}return l=Te(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kd,lastRenderedState:e},l.queue=a,l=mf.bind(null,mt,a),a.dispatch=l,a=Xs(!1),o=Ws.bind(null,mt,!1,a.queue),a=Te(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=v1.bind(null,mt,n,o,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function Jd(t){var e=Qt();return Wd(e,Nt,t)}function Wd(t,e,l){if(e=Ys(t,e,Kd)[0],t=Vi(Rl)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=No(e)}catch(u){throw u===Eo?Li:u}else a=e;e=Qt();var n=e.queue,o=n.dispatch;return l!==e.memoizedState&&(mt.flags|=2048,zn(9,Xi(),b1.bind(null,n,l),null)),[a,o,t]}function b1(t,e){t.action=e}function $d(t){var e=Qt(),l=Nt;if(l!==null)return Wd(e,l,t);Qt(),e=e.memoizedState,l=Qt();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function zn(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=mt.updateQueue,e===null&&(e=Gs(),mt.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(a=l.next,l.next=t,t.next=a,e.lastEffect=t),t}function Xi(){return{destroy:void 0,resource:void 0}}function Fd(){return Qt().memoizedState}function Zi(t,e,l,a){var n=Te();a=a===void 0?null:a,mt.flags|=t,n.memoizedState=zn(1|e,Xi(),l,a)}function zo(t,e,l,a){var n=Qt();a=a===void 0?null:a;var o=n.memoizedState.inst;Nt!==null&&a!==null&&js(a,Nt.memoizedState.deps)?n.memoizedState=zn(e,o,l,a):(mt.flags|=t,n.memoizedState=zn(1|e,o,l,a))}function Id(t,e){Zi(8390656,8,t,e)}function tf(t,e){zo(2048,8,t,e)}function ef(t,e){return zo(4,2,t,e)}function lf(t,e){return zo(4,4,t,e)}function af(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function nf(t,e,l){l=l!=null?l.concat([t]):null,zo(4,4,af.bind(null,e,t),l)}function Qs(){}function of(t,e){var l=Qt();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&js(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function rf(t,e){var l=Qt();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&js(e,a[1]))return a[0];if(a=t(),$a){Je(!0);try{t()}finally{Je(!1)}}return l.memoizedState=[a,e],a}function Ks(t,e,l){return l===void 0||(la&1073741824)!==0?t.memoizedState=e:(t.memoizedState=l,t=uh(),mt.lanes|=t,ca|=t,l)}function sf(t,e,l,a){return Re(l,e)?l:An.current!==null?(t=Ks(t,l,a),Re(t,e)||(ne=!0),t):(la&42)===0?(ne=!0,t.memoizedState=l):(t=uh(),mt.lanes|=t,ca|=t,e)}function cf(t,e,l,a,n){var o=q.p;q.p=o!==0&&8>o?o:8;var u=A.T,f={};A.T=f,Ws(t,!1,e,l);try{var g=n(),S=A.S;if(S!==null&&S(f,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var N=g1(g,a);_o(t,e,N,Oe(t))}else _o(t,e,a,Oe(t))}catch(k){_o(t,e,{then:function(){},status:"rejected",reason:k},Oe())}finally{q.p=o,A.T=u}}function x1(){}function Ps(t,e,l,a){if(t.tag!==5)throw Error(s(476));var n=uf(t).queue;cf(t,n,e,B,l===null?x1:function(){return df(t),l(a)})}function uf(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:B,baseState:B,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rl,lastRenderedState:B},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rl,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function df(t){var e=uf(t).next.queue;_o(t,e,{},Oe())}function Js(){return ye(Wo)}function ff(){return Qt().memoizedState}function hf(){return Qt().memoizedState}function w1(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Oe();t=ta(l);var a=ea(e,t,l);a!==null&&(je(a,e,l),Do(a,e,l)),e={cache:Ts()},t.payload=e;return}e=e.return}}function S1(t,e,l){var a=Oe();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Qi(t)?gf(e,l):(l=gs(t,e,l,a),l!==null&&(je(l,t,a),pf(l,e,a)))}function mf(t,e,l){var a=Oe();_o(t,e,l,a)}function _o(t,e,l,a){var n={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Qi(t))gf(e,n);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var u=e.lastRenderedState,f=o(u,l);if(n.hasEagerState=!0,n.eagerState=f,Re(f,u))return Ri(t,e,n,0),jt===null&&Ai(),!1}catch{}finally{}if(l=gs(t,e,n,a),l!==null)return je(l,t,a),pf(l,e,a),!0}return!1}function Ws(t,e,l,a){if(a={lane:2,revertLane:Ac(),action:a,hasEagerState:!1,eagerState:null,next:null},Qi(t)){if(e)throw Error(s(479))}else e=gs(t,l,a,2),e!==null&&je(e,t,2)}function Qi(t){var e=t.alternate;return t===mt||e!==null&&e===mt}function gf(t,e){Rn=Gi=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function pf(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,gi(t,l)}}var Ki={readContext:ye,use:Yi,useCallback:qt,useContext:qt,useEffect:qt,useImperativeHandle:qt,useLayoutEffect:qt,useInsertionEffect:qt,useMemo:qt,useReducer:qt,useRef:qt,useState:qt,useDebugValue:qt,useDeferredValue:qt,useTransition:qt,useSyncExternalStore:qt,useId:qt,useHostTransitionStatus:qt,useFormState:qt,useActionState:qt,useOptimistic:qt,useMemoCache:qt,useCacheRefresh:qt},yf={readContext:ye,use:Yi,useCallback:function(t,e){return Te().memoizedState=[t,e===void 0?null:e],t},useContext:ye,useEffect:Id,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Zi(4194308,4,af.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Zi(4194308,4,t,e)},useInsertionEffect:function(t,e){Zi(4,2,t,e)},useMemo:function(t,e){var l=Te();e=e===void 0?null:e;var a=t();if($a){Je(!0);try{t()}finally{Je(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=Te();if(l!==void 0){var n=l(e);if($a){Je(!0);try{l(e)}finally{Je(!1)}}}else n=e;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=S1.bind(null,mt,t),[a.memoizedState,t]},useRef:function(t){var e=Te();return t={current:t},e.memoizedState=t},useState:function(t){t=Xs(t);var e=t.queue,l=mf.bind(null,mt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Qs,useDeferredValue:function(t,e){var l=Te();return Ks(l,t,e)},useTransition:function(){var t=Xs(!1);return t=cf.bind(null,mt,t.queue,!0,!1),Te().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=mt,n=Te();if(Et){if(l===void 0)throw Error(s(407));l=l()}else{if(l=e(),jt===null)throw Error(s(349));(wt&124)!==0||Ld(a,e,l)}n.memoizedState=l;var o={value:l,getSnapshot:e};return n.queue=o,Id(Ud.bind(null,a,o,t),[t]),a.flags|=2048,zn(9,Xi(),Hd.bind(null,a,o,l,e),null),l},useId:function(){var t=Te(),e=jt.identifierPrefix;if(Et){var l=Dl,a=Tl;l=(a&~(1<<32-$t(a)-1)).toString(32)+l,e="«"+e+"R"+l,l=qi++,0<l&&(e+="H"+l.toString(32)),e+="»"}else l=p1++,e="«"+e+"r"+l.toString(32)+"»";return t.memoizedState=e},useHostTransitionStatus:Js,useFormState:Pd,useActionState:Pd,useOptimistic:function(t){var e=Te();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Ws.bind(null,mt,!0,l),l.dispatch=e,[t,e]},useMemoCache:qs,useCacheRefresh:function(){return Te().memoizedState=w1.bind(null,mt)}},vf={readContext:ye,use:Yi,useCallback:of,useContext:ye,useEffect:tf,useImperativeHandle:nf,useInsertionEffect:ef,useLayoutEffect:lf,useMemo:rf,useReducer:Vi,useRef:Fd,useState:function(){return Vi(Rl)},useDebugValue:Qs,useDeferredValue:function(t,e){var l=Qt();return sf(l,Nt.memoizedState,t,e)},useTransition:function(){var t=Vi(Rl)[0],e=Qt().memoizedState;return[typeof t=="boolean"?t:No(t),e]},useSyncExternalStore:Bd,useId:ff,useHostTransitionStatus:Js,useFormState:Jd,useActionState:Jd,useOptimistic:function(t,e){var l=Qt();return Yd(l,Nt,t,e)},useMemoCache:qs,useCacheRefresh:hf},C1={readContext:ye,use:Yi,useCallback:of,useContext:ye,useEffect:tf,useImperativeHandle:nf,useInsertionEffect:ef,useLayoutEffect:lf,useMemo:rf,useReducer:Vs,useRef:Fd,useState:function(){return Vs(Rl)},useDebugValue:Qs,useDeferredValue:function(t,e){var l=Qt();return Nt===null?Ks(l,t,e):sf(l,Nt.memoizedState,t,e)},useTransition:function(){var t=Vs(Rl)[0],e=Qt().memoizedState;return[typeof t=="boolean"?t:No(t),e]},useSyncExternalStore:Bd,useId:ff,useHostTransitionStatus:Js,useFormState:$d,useActionState:$d,useOptimistic:function(t,e){var l=Qt();return Nt!==null?Yd(l,Nt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:qs,useCacheRefresh:hf},_n=null,ko=0;function Pi(t){var e=ko;return ko+=1,_n===null&&(_n=[]),Ad(_n,t,e)}function Oo(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Ji(t,e){throw e.$$typeof===j?Error(s(525)):(t=Object.prototype.toString.call(e),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function bf(t){var e=t._init;return e(t._payload)}function xf(t){function e(b,y){if(t){var w=b.deletions;w===null?(b.deletions=[y],b.flags|=16):w.push(y)}}function l(b,y){if(!t)return null;for(;y!==null;)e(b,y),y=y.sibling;return null}function a(b){for(var y=new Map;b!==null;)b.key!==null?y.set(b.key,b):y.set(b.index,b),b=b.sibling;return y}function n(b,y){return b=El(b,y),b.index=0,b.sibling=null,b}function o(b,y,w){return b.index=w,t?(w=b.alternate,w!==null?(w=w.index,w<y?(b.flags|=67108866,y):w):(b.flags|=67108866,y)):(b.flags|=1048576,y)}function u(b){return t&&b.alternate===null&&(b.flags|=67108866),b}function f(b,y,w,z){return y===null||y.tag!==6?(y=ys(w,b.mode,z),y.return=b,y):(y=n(y,w),y.return=b,y)}function g(b,y,w,z){var P=w.type;return P===$?N(b,y,w.props.children,z,w.key):y!==null&&(y.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===V&&bf(P)===y.type)?(y=n(y,w.props),Oo(y,w),y.return=b,y):(y=zi(w.type,w.key,w.props,null,b.mode,z),Oo(y,w),y.return=b,y)}function S(b,y,w,z){return y===null||y.tag!==4||y.stateNode.containerInfo!==w.containerInfo||y.stateNode.implementation!==w.implementation?(y=vs(w,b.mode,z),y.return=b,y):(y=n(y,w.children||[]),y.return=b,y)}function N(b,y,w,z,P){return y===null||y.tag!==7?(y=Va(w,b.mode,z,P),y.return=b,y):(y=n(y,w),y.return=b,y)}function k(b,y,w){if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return y=ys(""+y,b.mode,w),y.return=b,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case J:return w=zi(y.type,y.key,y.props,null,b.mode,w),Oo(w,y),w.return=b,w;case at:return y=vs(y,b.mode,w),y.return=b,y;case V:var z=y._init;return y=z(y._payload),k(b,y,w)}if(Mt(y)||Bt(y))return y=Va(y,b.mode,w,null),y.return=b,y;if(typeof y.then=="function")return k(b,Pi(y),w);if(y.$$typeof===_)return k(b,ji(b,y),w);Ji(b,y)}return null}function E(b,y,w,z){var P=y!==null?y.key:null;if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return P!==null?null:f(b,y,""+w,z);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case J:return w.key===P?g(b,y,w,z):null;case at:return w.key===P?S(b,y,w,z):null;case V:return P=w._init,w=P(w._payload),E(b,y,w,z)}if(Mt(w)||Bt(w))return P!==null?null:N(b,y,w,z,null);if(typeof w.then=="function")return E(b,y,Pi(w),z);if(w.$$typeof===_)return E(b,y,ji(b,w),z);Ji(b,w)}return null}function T(b,y,w,z,P){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return b=b.get(w)||null,f(y,b,""+z,P);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case J:return b=b.get(z.key===null?w:z.key)||null,g(y,b,z,P);case at:return b=b.get(z.key===null?w:z.key)||null,S(y,b,z,P);case V:var pt=z._init;return z=pt(z._payload),T(b,y,w,z,P)}if(Mt(z)||Bt(z))return b=b.get(w)||null,N(y,b,z,P,null);if(typeof z.then=="function")return T(b,y,w,Pi(z),P);if(z.$$typeof===_)return T(b,y,w,ji(y,z),P);Ji(y,z)}return null}function lt(b,y,w,z){for(var P=null,pt=null,W=y,et=y=0,ie=null;W!==null&&et<w.length;et++){W.index>et?(ie=W,W=null):ie=W.sibling;var Ct=E(b,W,w[et],z);if(Ct===null){W===null&&(W=ie);break}t&&W&&Ct.alternate===null&&e(b,W),y=o(Ct,y,et),pt===null?P=Ct:pt.sibling=Ct,pt=Ct,W=ie}if(et===w.length)return l(b,W),Et&&Za(b,et),P;if(W===null){for(;et<w.length;et++)W=k(b,w[et],z),W!==null&&(y=o(W,y,et),pt===null?P=W:pt.sibling=W,pt=W);return Et&&Za(b,et),P}for(W=a(W);et<w.length;et++)ie=T(W,b,et,w[et],z),ie!==null&&(t&&ie.alternate!==null&&W.delete(ie.key===null?et:ie.key),y=o(ie,y,et),pt===null?P=ie:pt.sibling=ie,pt=ie);return t&&W.forEach(function(va){return e(b,va)}),Et&&Za(b,et),P}function F(b,y,w,z){if(w==null)throw Error(s(151));for(var P=null,pt=null,W=y,et=y=0,ie=null,Ct=w.next();W!==null&&!Ct.done;et++,Ct=w.next()){W.index>et?(ie=W,W=null):ie=W.sibling;var va=E(b,W,Ct.value,z);if(va===null){W===null&&(W=ie);break}t&&W&&va.alternate===null&&e(b,W),y=o(va,y,et),pt===null?P=va:pt.sibling=va,pt=va,W=ie}if(Ct.done)return l(b,W),Et&&Za(b,et),P;if(W===null){for(;!Ct.done;et++,Ct=w.next())Ct=k(b,Ct.value,z),Ct!==null&&(y=o(Ct,y,et),pt===null?P=Ct:pt.sibling=Ct,pt=Ct);return Et&&Za(b,et),P}for(W=a(W);!Ct.done;et++,Ct=w.next())Ct=T(W,b,et,Ct.value,z),Ct!==null&&(t&&Ct.alternate!==null&&W.delete(Ct.key===null?et:Ct.key),y=o(Ct,y,et),pt===null?P=Ct:pt.sibling=Ct,pt=Ct);return t&&W.forEach(function(Ep){return e(b,Ep)}),Et&&Za(b,et),P}function _t(b,y,w,z){if(typeof w=="object"&&w!==null&&w.type===$&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case J:t:{for(var P=w.key;y!==null;){if(y.key===P){if(P=w.type,P===$){if(y.tag===7){l(b,y.sibling),z=n(y,w.props.children),z.return=b,b=z;break t}}else if(y.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===V&&bf(P)===y.type){l(b,y.sibling),z=n(y,w.props),Oo(z,w),z.return=b,b=z;break t}l(b,y);break}else e(b,y);y=y.sibling}w.type===$?(z=Va(w.props.children,b.mode,z,w.key),z.return=b,b=z):(z=zi(w.type,w.key,w.props,null,b.mode,z),Oo(z,w),z.return=b,b=z)}return u(b);case at:t:{for(P=w.key;y!==null;){if(y.key===P)if(y.tag===4&&y.stateNode.containerInfo===w.containerInfo&&y.stateNode.implementation===w.implementation){l(b,y.sibling),z=n(y,w.children||[]),z.return=b,b=z;break t}else{l(b,y);break}else e(b,y);y=y.sibling}z=vs(w,b.mode,z),z.return=b,b=z}return u(b);case V:return P=w._init,w=P(w._payload),_t(b,y,w,z)}if(Mt(w))return lt(b,y,w,z);if(Bt(w)){if(P=Bt(w),typeof P!="function")throw Error(s(150));return w=P.call(w),F(b,y,w,z)}if(typeof w.then=="function")return _t(b,y,Pi(w),z);if(w.$$typeof===_)return _t(b,y,ji(b,w),z);Ji(b,w)}return typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint"?(w=""+w,y!==null&&y.tag===6?(l(b,y.sibling),z=n(y,w),z.return=b,b=z):(l(b,y),z=ys(w,b.mode,z),z.return=b,b=z),u(b)):l(b,y)}return function(b,y,w,z){try{ko=0;var P=_t(b,y,w,z);return _n=null,P}catch(W){if(W===Eo||W===Li)throw W;var pt=Ne(29,W,null,b.mode);return pt.lanes=z,pt.return=b,pt}finally{}}}var kn=xf(!0),wf=xf(!1),Xe=O(null),ul=null;function aa(t){var e=t.alternate;G(It,It.current&1),G(Xe,t),ul===null&&(e===null||An.current!==null||e.memoizedState!==null)&&(ul=t)}function Sf(t){if(t.tag===22){if(G(It,It.current),G(Xe,t),ul===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(ul=t)}}else na()}function na(){G(It,It.current),G(Xe,Xe.current)}function Nl(t){X(Xe),ul===t&&(ul=null),X(It)}var It=O(0);function Wi(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||Gc(l)))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function $s(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:D({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Fs={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=Oe(),n=ta(a);n.payload=e,l!=null&&(n.callback=l),e=ea(t,n,a),e!==null&&(je(e,t,a),Do(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=Oe(),n=ta(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=ea(t,n,a),e!==null&&(je(e,t,a),Do(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=Oe(),a=ta(l);a.tag=2,e!=null&&(a.callback=e),e=ea(t,a,l),e!==null&&(je(e,t,l),Do(e,t,l))}};function Cf(t,e,l,a,n,o,u){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,o,u):e.prototype&&e.prototype.isPureReactComponent?!po(l,a)||!po(n,o):!0}function Ef(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&Fs.enqueueReplaceState(e,e.state,null)}function Fa(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=D({},l));for(var n in t)l[n]===void 0&&(l[n]=t[n])}return l}var $i=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Tf(t){$i(t)}function Df(t){console.error(t)}function Mf(t){$i(t)}function Fi(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function Af(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Is(t,e,l){return l=ta(l),l.tag=3,l.payload={element:null},l.callback=function(){Fi(t,e)},l}function Rf(t){return t=ta(t),t.tag=3,t}function Nf(t,e,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var o=a.value;t.payload=function(){return n(o)},t.callback=function(){Af(e,l,a)}}var u=l.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(t.callback=function(){Af(e,l,a),typeof n!="function"&&(ua===null?ua=new Set([this]):ua.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}function E1(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&wo(e,l,n,!0),l=Xe.current,l!==null){switch(l.tag){case 13:return ul===null?Cc():l.alternate===null&&Gt===0&&(Gt=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===As?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),Tc(t,a,n)),!1;case 22:return l.flags|=65536,a===As?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),Tc(t,a,n)),!1}throw Error(s(435,l.tag))}return Tc(t,a,n),Cc(),!1}if(Et)return e=Xe.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==ws&&(t=Error(s(422),{cause:a}),xo(Ge(t,l)))):(a!==ws&&(e=Error(s(423),{cause:a}),xo(Ge(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=Ge(a,l),n=Is(t.stateNode,a,n),zs(t,n),Gt!==4&&(Gt=2)),!1;var o=Error(s(520),{cause:a});if(o=Ge(o,l),qo===null?qo=[o]:qo.push(o),Gt!==4&&(Gt=2),e===null)return!0;a=Ge(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=Is(l.stateNode,a,t),zs(l,t),!1;case 1:if(e=l.type,o=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(ua===null||!ua.has(o))))return l.flags|=65536,n&=-n,l.lanes|=n,n=Rf(n),Nf(n,t,l,a),zs(l,n),!1}l=l.return}while(l!==null);return!1}var zf=Error(s(461)),ne=!1;function ue(t,e,l,a){e.child=t===null?wf(e,null,l,a):kn(e,t.child,l,a)}function _f(t,e,l,a,n){l=l.render;var o=e.ref;if("ref"in a){var u={};for(var f in a)f!=="ref"&&(u[f]=a[f])}else u=a;return Ja(e),a=Bs(t,e,l,u,o,n),f=Ls(),t!==null&&!ne?(Hs(t,e,n),zl(t,e,n)):(Et&&f&&bs(e),e.flags|=1,ue(t,e,a,n),e.child)}function kf(t,e,l,a,n){if(t===null){var o=l.type;return typeof o=="function"&&!ps(o)&&o.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=o,Of(t,e,o,a,n)):(t=zi(l.type,null,a,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!rc(t,n)){var u=o.memoizedProps;if(l=l.compare,l=l!==null?l:po,l(u,a)&&t.ref===e.ref)return zl(t,e,n)}return e.flags|=1,t=El(o,a),t.ref=e.ref,t.return=e,e.child=t}function Of(t,e,l,a,n){if(t!==null){var o=t.memoizedProps;if(po(o,a)&&t.ref===e.ref)if(ne=!1,e.pendingProps=a=o,rc(t,n))(t.flags&131072)!==0&&(ne=!0);else return e.lanes=t.lanes,zl(t,e,n)}return tc(t,e,l,a,n)}function jf(t,e,l){var a=e.pendingProps,n=a.children,o=t!==null?t.memoizedState:null;if(a.mode==="hidden"){if((e.flags&128)!==0){if(a=o!==null?o.baseLanes|l:l,t!==null){for(n=e.child=t.child,o=0;n!==null;)o=o|n.lanes|n.childLanes,n=n.sibling;e.childLanes=o&~a}else e.childLanes=0,e.child=null;return Bf(t,e,a,l)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Bi(e,o!==null?o.cachePool:null),o!==null?kd(e,o):ks(),Sf(e);else return e.lanes=e.childLanes=536870912,Bf(t,e,o!==null?o.baseLanes|l:l,l)}else o!==null?(Bi(e,o.cachePool),kd(e,o),na(),e.memoizedState=null):(t!==null&&Bi(e,null),ks(),na());return ue(t,e,n,l),e.child}function Bf(t,e,l,a){var n=Ms();return n=n===null?null:{parent:Ft._currentValue,pool:n},e.memoizedState={baseLanes:l,cachePool:n},t!==null&&Bi(e,null),ks(),Sf(e),t!==null&&wo(t,e,a,!0),null}function Ii(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(s(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function tc(t,e,l,a,n){return Ja(e),l=Bs(t,e,l,a,void 0,n),a=Ls(),t!==null&&!ne?(Hs(t,e,n),zl(t,e,n)):(Et&&a&&bs(e),e.flags|=1,ue(t,e,l,n),e.child)}function Lf(t,e,l,a,n,o){return Ja(e),e.updateQueue=null,l=jd(e,a,l,n),Od(t),a=Ls(),t!==null&&!ne?(Hs(t,e,o),zl(t,e,o)):(Et&&a&&bs(e),e.flags|=1,ue(t,e,l,o),e.child)}function Hf(t,e,l,a,n){if(Ja(e),e.stateNode===null){var o=Cn,u=l.contextType;typeof u=="object"&&u!==null&&(o=ye(u)),o=new l(a,o),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Fs,e.stateNode=o,o._reactInternals=e,o=e.stateNode,o.props=a,o.state=e.memoizedState,o.refs={},Rs(e),u=l.contextType,o.context=typeof u=="object"&&u!==null?ye(u):Cn,o.state=e.memoizedState,u=l.getDerivedStateFromProps,typeof u=="function"&&($s(e,l,u,a),o.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(u=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),u!==o.state&&Fs.enqueueReplaceState(o,o.state,null),Ao(e,a,o,n),Mo(),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){o=e.stateNode;var f=e.memoizedProps,g=Fa(l,f);o.props=g;var S=o.context,N=l.contextType;u=Cn,typeof N=="object"&&N!==null&&(u=ye(N));var k=l.getDerivedStateFromProps;N=typeof k=="function"||typeof o.getSnapshotBeforeUpdate=="function",f=e.pendingProps!==f,N||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(f||S!==u)&&Ef(e,o,a,u),Il=!1;var E=e.memoizedState;o.state=E,Ao(e,a,o,n),Mo(),S=e.memoizedState,f||E!==S||Il?(typeof k=="function"&&($s(e,l,k,a),S=e.memoizedState),(g=Il||Cf(e,l,g,a,E,S,u))?(N||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(e.flags|=4194308)):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=S),o.props=a,o.state=S,o.context=u,a=g):(typeof o.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{o=e.stateNode,Ns(t,e),u=e.memoizedProps,N=Fa(l,u),o.props=N,k=e.pendingProps,E=o.context,S=l.contextType,g=Cn,typeof S=="object"&&S!==null&&(g=ye(S)),f=l.getDerivedStateFromProps,(S=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==k||E!==g)&&Ef(e,o,a,g),Il=!1,E=e.memoizedState,o.state=E,Ao(e,a,o,n),Mo();var T=e.memoizedState;u!==k||E!==T||Il||t!==null&&t.dependencies!==null&&Oi(t.dependencies)?(typeof f=="function"&&($s(e,l,f,a),T=e.memoizedState),(N=Il||Cf(e,l,N,a,E,T,g)||t!==null&&t.dependencies!==null&&Oi(t.dependencies))?(S||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(a,T,g),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(a,T,g)),typeof o.componentDidUpdate=="function"&&(e.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===t.memoizedProps&&E===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&E===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=T),o.props=a,o.state=T,o.context=g,a=N):(typeof o.componentDidUpdate!="function"||u===t.memoizedProps&&E===t.memoizedState||(e.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===t.memoizedProps&&E===t.memoizedState||(e.flags|=1024),a=!1)}return o=a,Ii(t,e),a=(e.flags&128)!==0,o||a?(o=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:o.render(),e.flags|=1,t!==null&&a?(e.child=kn(e,t.child,null,n),e.child=kn(e,null,l,n)):ue(t,e,l,n),e.memoizedState=o.state,t=e.child):t=zl(t,e,n),t}function Uf(t,e,l,a){return bo(),e.flags|=256,ue(t,e,l,a),e.child}var ec={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function lc(t){return{baseLanes:t,cachePool:Td()}}function ac(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Ze),t}function Gf(t,e,l){var a=e.pendingProps,n=!1,o=(e.flags&128)!==0,u;if((u=o)||(u=t!==null&&t.memoizedState===null?!1:(It.current&2)!==0),u&&(n=!0,e.flags&=-129),u=(e.flags&32)!==0,e.flags&=-33,t===null){if(Et){if(n?aa(e):na(),Et){var f=Ut,g;if(g=f){t:{for(g=f,f=cl;g.nodeType!==8;){if(!f){f=null;break t}if(g=ll(g.nextSibling),g===null){f=null;break t}}f=g}f!==null?(e.memoizedState={dehydrated:f,treeContext:Xa!==null?{id:Tl,overflow:Dl}:null,retryLane:536870912,hydrationErrors:null},g=Ne(18,null,null,0),g.stateNode=f,g.return=e,e.child=g,be=e,Ut=null,g=!0):g=!1}g||Ka(e)}if(f=e.memoizedState,f!==null&&(f=f.dehydrated,f!==null))return Gc(f)?e.lanes=32:e.lanes=536870912,null;Nl(e)}return f=a.children,a=a.fallback,n?(na(),n=e.mode,f=tr({mode:"hidden",children:f},n),a=Va(a,n,l,null),f.return=e,a.return=e,f.sibling=a,e.child=f,n=e.child,n.memoizedState=lc(l),n.childLanes=ac(t,u,l),e.memoizedState=ec,a):(aa(e),nc(e,f))}if(g=t.memoizedState,g!==null&&(f=g.dehydrated,f!==null)){if(o)e.flags&256?(aa(e),e.flags&=-257,e=oc(t,e,l)):e.memoizedState!==null?(na(),e.child=t.child,e.flags|=128,e=null):(na(),n=a.fallback,f=e.mode,a=tr({mode:"visible",children:a.children},f),n=Va(n,f,l,null),n.flags|=2,a.return=e,n.return=e,a.sibling=n,e.child=a,kn(e,t.child,null,l),a=e.child,a.memoizedState=lc(l),a.childLanes=ac(t,u,l),e.memoizedState=ec,e=n);else if(aa(e),Gc(f)){if(u=f.nextSibling&&f.nextSibling.dataset,u)var S=u.dgst;u=S,a=Error(s(419)),a.stack="",a.digest=u,xo({value:a,source:null,stack:null}),e=oc(t,e,l)}else if(ne||wo(t,e,l,!1),u=(l&t.childLanes)!==0,ne||u){if(u=jt,u!==null&&(a=l&-l,a=(a&42)!==0?1:lo(a),a=(a&(u.suspendedLanes|l))!==0?0:a,a!==0&&a!==g.retryLane))throw g.retryLane=a,Sn(t,a),je(u,t,a),zf;f.data==="$?"||Cc(),e=oc(t,e,l)}else f.data==="$?"?(e.flags|=192,e.child=t.child,e=null):(t=g.treeContext,Ut=ll(f.nextSibling),be=e,Et=!0,Qa=null,cl=!1,t!==null&&(Ye[Ve++]=Tl,Ye[Ve++]=Dl,Ye[Ve++]=Xa,Tl=t.id,Dl=t.overflow,Xa=e),e=nc(e,a.children),e.flags|=4096);return e}return n?(na(),n=a.fallback,f=e.mode,g=t.child,S=g.sibling,a=El(g,{mode:"hidden",children:a.children}),a.subtreeFlags=g.subtreeFlags&65011712,S!==null?n=El(S,n):(n=Va(n,f,l,null),n.flags|=2),n.return=e,a.return=e,a.sibling=n,e.child=a,a=n,n=e.child,f=t.child.memoizedState,f===null?f=lc(l):(g=f.cachePool,g!==null?(S=Ft._currentValue,g=g.parent!==S?{parent:S,pool:S}:g):g=Td(),f={baseLanes:f.baseLanes|l,cachePool:g}),n.memoizedState=f,n.childLanes=ac(t,u,l),e.memoizedState=ec,a):(aa(e),l=t.child,t=l.sibling,l=El(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(u=e.deletions,u===null?(e.deletions=[t],e.flags|=16):u.push(t)),e.child=l,e.memoizedState=null,l)}function nc(t,e){return e=tr({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function tr(t,e){return t=Ne(22,t,null,e),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function oc(t,e,l){return kn(e,t.child,null,l),t=nc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function qf(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Cs(t.return,e,l)}function ic(t,e,l,a,n){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=l,o.tailMode=n)}function Yf(t,e,l){var a=e.pendingProps,n=a.revealOrder,o=a.tail;if(ue(t,e,a.children,l),a=It.current,(a&2)!==0)a=a&1|2,e.flags|=128;else{if(t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&qf(t,l,e);else if(t.tag===19)qf(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}a&=1}switch(G(It,a),n){case"forwards":for(l=e.child,n=null;l!==null;)t=l.alternate,t!==null&&Wi(t)===null&&(n=l),l=l.sibling;l=n,l===null?(n=e.child,e.child=null):(n=l.sibling,l.sibling=null),ic(e,!1,n,l,o);break;case"backwards":for(l=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&Wi(t)===null){e.child=n;break}t=n.sibling,n.sibling=l,l=n,n=t}ic(e,!0,l,null,o);break;case"together":ic(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function zl(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),ca|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(wo(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(s(153));if(e.child!==null){for(t=e.child,l=El(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=El(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function rc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Oi(t)))}function T1(t,e,l){switch(e.tag){case 3:Tt(e,e.stateNode.containerInfo),Fl(e,Ft,t.memoizedState.cache),bo();break;case 27:case 5:Ke(e);break;case 4:Tt(e,e.stateNode.containerInfo);break;case 10:Fl(e,e.type,e.memoizedProps.value);break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(aa(e),e.flags|=128,null):(l&e.child.childLanes)!==0?Gf(t,e,l):(aa(e),t=zl(t,e,l),t!==null?t.sibling:null);aa(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(wo(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return Yf(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),G(It,It.current),a)break;return null;case 22:case 23:return e.lanes=0,jf(t,e,l);case 24:Fl(e,Ft,t.memoizedState.cache)}return zl(t,e,l)}function Vf(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)ne=!0;else{if(!rc(t,l)&&(e.flags&128)===0)return ne=!1,T1(t,e,l);ne=(t.flags&131072)!==0}else ne=!1,Et&&(e.flags&1048576)!==0&&vd(e,ki,e.index);switch(e.lanes=0,e.tag){case 16:t:{t=e.pendingProps;var a=e.elementType,n=a._init;if(a=n(a._payload),e.type=a,typeof a=="function")ps(a)?(t=Fa(a,t),e.tag=1,e=Hf(null,e,a,t,l)):(e.tag=0,e=tc(null,e,a,t,l));else{if(a!=null){if(n=a.$$typeof,n===Y){e.tag=11,e=_f(null,e,a,t,l);break t}else if(n===rt){e.tag=14,e=kf(null,e,a,t,l);break t}}throw e=Se(a)||a,Error(s(306,e,""))}}return e;case 0:return tc(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=Fa(a,e.pendingProps),Hf(t,e,a,n,l);case 3:t:{if(Tt(e,e.stateNode.containerInfo),t===null)throw Error(s(387));a=e.pendingProps;var o=e.memoizedState;n=o.element,Ns(t,e),Ao(e,a,null,l);var u=e.memoizedState;if(a=u.cache,Fl(e,Ft,a),a!==o.cache&&Es(e,[Ft],l,!0),Mo(),a=u.element,o.isDehydrated)if(o={element:a,isDehydrated:!1,cache:u.cache},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){e=Uf(t,e,a,l);break t}else if(a!==n){n=Ge(Error(s(424)),e),xo(n),e=Uf(t,e,a,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Ut=ll(t.firstChild),be=e,Et=!0,Qa=null,cl=!0,l=wf(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(bo(),a===n){e=zl(t,e,l);break t}ue(t,e,a,l)}e=e.child}return e;case 26:return Ii(t,e),t===null?(l=Kh(e.type,null,e.pendingProps,null))?e.memoizedState=l:Et||(l=e.type,t=e.pendingProps,a=mr(I.current).createElement(l),a[ee]=e,a[pe]=t,fe(a,l,t),Vt(a),e.stateNode=a):e.memoizedState=Kh(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Ke(e),t===null&&Et&&(a=e.stateNode=Xh(e.type,e.pendingProps,I.current),be=e,cl=!0,n=Ut,ha(e.type)?(qc=n,Ut=ll(a.firstChild)):Ut=n),ue(t,e,e.pendingProps.children,l),Ii(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&Et&&((n=a=Ut)&&(a=I1(a,e.type,e.pendingProps,cl),a!==null?(e.stateNode=a,be=e,Ut=ll(a.firstChild),cl=!1,n=!0):n=!1),n||Ka(e)),Ke(e),n=e.type,o=e.pendingProps,u=t!==null?t.memoizedProps:null,a=o.children,Lc(n,o)?a=null:u!==null&&Lc(n,u)&&(e.flags|=32),e.memoizedState!==null&&(n=Bs(t,e,y1,null,null,l),Wo._currentValue=n),Ii(t,e),ue(t,e,a,l),e.child;case 6:return t===null&&Et&&((t=l=Ut)&&(l=tp(l,e.pendingProps,cl),l!==null?(e.stateNode=l,be=e,Ut=null,t=!0):t=!1),t||Ka(e)),null;case 13:return Gf(t,e,l);case 4:return Tt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=kn(e,null,a,l):ue(t,e,a,l),e.child;case 11:return _f(t,e,e.type,e.pendingProps,l);case 7:return ue(t,e,e.pendingProps,l),e.child;case 8:return ue(t,e,e.pendingProps.children,l),e.child;case 12:return ue(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,Fl(e,e.type,a.value),ue(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,Ja(e),n=ye(n),a=a(n),e.flags|=1,ue(t,e,a,l),e.child;case 14:return kf(t,e,e.type,e.pendingProps,l);case 15:return Of(t,e,e.type,e.pendingProps,l);case 19:return Yf(t,e,l);case 31:return a=e.pendingProps,l=e.mode,a={mode:a.mode,children:a.children},t===null?(l=tr(a,l),l.ref=e.ref,e.child=l,l.return=e,e=l):(l=El(t.child,a),l.ref=e.ref,e.child=l,l.return=e,e=l),e;case 22:return jf(t,e,l);case 24:return Ja(e),a=ye(Ft),t===null?(n=Ms(),n===null&&(n=jt,o=Ts(),n.pooledCache=o,o.refCount++,o!==null&&(n.pooledCacheLanes|=l),n=o),e.memoizedState={parent:a,cache:n},Rs(e),Fl(e,Ft,n)):((t.lanes&l)!==0&&(Ns(t,e),Ao(e,null,null,l),Mo()),n=t.memoizedState,o=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),Fl(e,Ft,a)):(a=o.cache,Fl(e,Ft,a),a!==n.cache&&Es(e,[Ft],l,!0))),ue(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(s(156,e.tag))}function _l(t){t.flags|=4}function Xf(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Fh(e)){if(e=Xe.current,e!==null&&((wt&4194048)===wt?ul!==null:(wt&62914560)!==wt&&(wt&536870912)===0||e!==ul))throw To=As,Dd;t.flags|=8192}}function er(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?hi():536870912,t.lanes|=e,Ln|=e)}function jo(t,e){if(!Et)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Ht(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function D1(t,e,l){var a=e.pendingProps;switch(xs(e),e.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ht(e),null;case 1:return Ht(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Al(Ft),Jt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(vo(e)?_l(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,wd())),Ht(e),null;case 26:return l=e.memoizedState,t===null?(_l(e),l!==null?(Ht(e),Xf(e,l)):(Ht(e),e.flags&=-16777217)):l?l!==t.memoizedState?(_l(e),Ht(e),Xf(e,l)):(Ht(e),e.flags&=-16777217):(t.memoizedProps!==a&&_l(e),Ht(e),e.flags&=-16777217),null;case 27:Ce(e),l=I.current;var n=e.type;if(t!==null&&e.stateNode!=null)t.memoizedProps!==a&&_l(e);else{if(!a){if(e.stateNode===null)throw Error(s(166));return Ht(e),null}t=Z.current,vo(e)?bd(e):(t=Xh(n,a,l),e.stateNode=t,_l(e))}return Ht(e),null;case 5:if(Ce(e),l=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&_l(e);else{if(!a){if(e.stateNode===null)throw Error(s(166));return Ht(e),null}if(t=Z.current,vo(e))bd(e);else{switch(n=mr(I.current),t){case 1:t=n.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:t=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":t=n.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":t=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":t=n.createElement("div"),t.innerHTML="
82<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?n.createElement("select",{is:a.is}):n.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?n.createElement(l,{is:a.is}):n.createElement(l)}}t[ee]=e,t[pe]=a;t:for(n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break t;for(;n.sibling===null;){if(n.return===null||n.return===e)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}e.stateNode=t;t:switch(fe(t,l,a),l){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&_l(e)}}return Ht(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&_l(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(s(166));if(t=I.current,vo(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,n=be,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[ee]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||Lh(t.nodeValue,l)),t||Ka(e)}else t=mr(t).createTextNode(a),t[ee]=e,e.stateNode=t}return Ht(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=vo(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(s(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));n[ee]=e}else bo(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ht(e),n=!1}else n=wd(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(Nl(e),e):(Nl(e),null)}if(Nl(e),(e.flags&128)!==0)return e.lanes=l,e;if(l=a!==null,t=t!==null&&t.memoizedState!==null,l){a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool);var o=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(o=a.memoizedState.cachePool.pool),o!==n&&(a.flags|=2048)}return l!==t&&l&&(e.child.flags|=8192),er(e,e.updateQueue),Ht(e),null;case 4:return Jt(),t===null&&_c(e.stateNode.containerInfo),Ht(e),null;case 10:return Al(e.type),Ht(e),null;case 19:if(X(It),n=e.memoizedState,n===null)return Ht(e),null;if(a=(e.flags&128)!==0,o=n.rendering,o===null)if(a)jo(n,!1);else{if(Gt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(o=Wi(t),o!==null){for(e.flags|=128,jo(n,!1),t=o.updateQueue,e.updateQueue=t,er(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)yd(l,t),l=l.sibling;return G(It,It.current&1|2),e.child}t=t.sibling}n.tail!==null&&ge()>nr&&(e.flags|=128,a=!0,jo(n,!1),e.lanes=4194304)}else{if(!a)if(t=Wi(o),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,er(e,t),jo(n,!0),n.tail===null&&n.tailMode==="hidden"&&!o.alternate&&!Et)return Ht(e),null}else 2*ge()-n.renderingStartTime>nr&&l!==536870912&&(e.flags|=128,a=!0,jo(n,!1),e.lanes=4194304);n.isBackwards?(o.sibling=e.child,e.child=o):(t=n.last,t!==null?t.sibling=o:e.child=o,n.last=o)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=ge(),e.sibling=null,t=It.current,G(It,a?t&1|2:t&1),e):(Ht(e),null);case 22:case 23:return Nl(e),Os(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(Ht(e),e.subtreeFlags&6&&(e.flags|=8192)):Ht(e),l=e.updateQueue,l!==null&&er(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&X(Wa),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Al(Ft),Ht(e),null;case 25:return null;case 30:return null}throw Error(s(156,e.tag))}function M1(t,e){switch(xs(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Al(Ft),Jt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Ce(e),null;case 13:if(Nl(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(s(340));bo()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return X(It),null;case 4:return Jt(),null;case 10:return Al(e.type),null;case 22:case 23:return Nl(e),Os(),t!==null&&X(Wa),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Al(Ft),null;case 25:return null;default:return null}}function Zf(t,e){switch(xs(e),e.tag){case 3:Al(Ft),Jt();break;case 26:case 27:case 5:Ce(e);break;case 4:Jt();break;case 13:Nl(e);break;case 19:X(It);break;case 10:Al(e.type);break;case 22:case 23:Nl(e),Os(),t!==null&&X(Wa);break;case 24:Al(Ft)}}function Bo(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&t)===t){a=void 0;var o=l.create,u=l.inst;a=o(),u.destroy=a}l=l.next}while(l!==n)}}catch(f){kt(e,e.return,f)}}function oa(t,e,l){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var o=n.next;a=o;do{if((a.tag&t)===t){var u=a.inst,f=u.destroy;if(f!==void 0){u.destroy=void 0,n=e;var g=l,S=f;try{S()}catch(N){kt(n,g,N)}}}a=a.next}while(a!==o)}}catch(N){kt(e,e.return,N)}}function Qf(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{_d(e,l)}catch(a){kt(t,t.return,a)}}}function Kf(t,e,l){l.props=Fa(t.type,t.memoizedProps),l.state=t.memoizedState;
vendor: 31,903 bytes, line 82
82try{l.componentWillUnmount()}catch(a){kt(t,e,a)}}function Lo(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof l=="function"?t.refCleanup=l(a):l.current=a}}catch(n){kt(t,e,n)}}function dl(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){kt(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){kt(t,e,n)}else l.current=null}function Pf(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){kt(t,t.return,n)}}function sc(t,e,l){try{var a=t.stateNode;P1(a,t.type,l,e),a[pe]=e}catch(n){kt(t,t.return,n)}}function Jf(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ha(t.type)||t.tag===4}function cc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Jf(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ha(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function uc(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=hr));else if(a!==4&&(a===27&&ha(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(uc(t,e,l),t=t.sibling;t!==null;)uc(t,e,l),t=t.sibling}function lr(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&ha(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(lr(t,e,l),t=t.sibling;t!==null;)lr(t,e,l),t=t.sibling}function Wf(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);fe(e,a,l),e[ee]=t,e[pe]=l}catch(o){kt(t,t.return,o)}}var kl=!1,Yt=!1,dc=!1,$f=typeof WeakSet=="function"?WeakSet:Set,oe=null;function A1(t,e){if(t=t.containerInfo,jc=xr,t=rd(t),cs(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,o=a.focusNode;a=a.focusOffset;try{l.nodeType,o.nodeType}catch{l=null;break t}var u=0,f=-1,g=-1,S=0,N=0,k=t,E=null;e:for(;;){for(var T;k!==l||n!==0&&k.nodeType!==3||(f=u+n),k!==o||a!==0&&k.nodeType!==3||(g=u+a),k.nodeType===3&&(u+=k.nodeValue.length),(T=k.firstChild)!==null;)E=k,k=T;for(;;){if(k===t)break e;if(E===l&&++S===n&&(f=u),E===o&&++N===a&&(g=u),(T=k.nextSibling)!==null)break;k=E,E=k.parentNode}k=T}l=f===-1||g===-1?null:{start:f,end:g}}else l=null}l=l||{start:0,end:0}}else l=null;for(Bc={focusedElem:t,selectionRange:l},xr=!1,oe=e;oe!==null;)if(e=oe,t=e.child,(e.subtreeFlags&1024)!==0&&t!==null)t.return=e,oe=t;else for(;oe!==null;){switch(e=oe,o=e.alternate,t=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&o!==null){t=void 0,l=e,n=o.memoizedProps,o=o.memoizedState,a=l.stateNode;try{var lt=Fa(l.type,n,l.elementType===l.type);t=a.getSnapshotBeforeUpdate(lt,o),a.__reactInternalSnapshotBeforeUpdate=t}catch(F){kt(l,l.return,F)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)Uc(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Uc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(s(163))}if(t=e.sibling,t!==null){t.return=e.return,oe=t;break}oe=e.return}}function Ff(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:ia(t,l),a&4&&Bo(5,l);break;case 1:if(ia(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(u){kt(l,l.return,u)}else{var n=Fa(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(u){kt(l,l.return,u)}}a&64&&Qf(l),a&512&&Lo(l,l.return);break;case 3:if(ia(t,l),a&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{_d(t,e)}catch(u){kt(l,l.return,u)}}break;case 27:e===null&&a&4&&Wf(l);case 26:case 5:ia(t,l),e===null&&a&4&&Pf(l),a&512&&Lo(l,l.return);break;case 12:ia(t,l);break;case 13:ia(t,l),a&4&&eh(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=L1.bind(null,l),ep(t,l))));break;case 22:if(a=l.memoizedState!==null||kl,!a){e=e!==null&&e.memoizedState!==null||Yt,n=kl;var o=Yt;kl=a,(Yt=e)&&!o?ra(t,l,(l.subtreeFlags&8772)!==0):ia(t,l),kl=n,Yt=o}break;case 30:break;default:ia(t,l)}}function If(t){var e=t.alternate;e!==null&&(t.alternate=null,If(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&oo(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Lt=null,De=!1;function Ol(t,e,l){for(l=l.child;l!==null;)th(t,e,l),l=l.sibling}function th(t,e,l){if(Wt&&typeof Wt.onCommitFiberUnmount=="function")try{Wt.onCommitFiberUnmount(ql,l)}catch{}switch(l.tag){case 26:Yt||dl(l,e),Ol(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Yt||dl(l,e);var a=Lt,n=De;ha(l.type)&&(Lt=l.stateNode,De=!1),Ol(t,e,l),Qo(l.stateNode),Lt=a,De=n;break;case 5:Yt||dl(l,e);case 6:if(a=Lt,n=De,Lt=null,Ol(t,e,l),Lt=a,De=n,Lt!==null)if(De)try{(Lt.nodeType===9?Lt.body:Lt.nodeName==="HTML"?Lt.ownerDocument.body:Lt).removeChild(l.stateNode)}catch(o){kt(l,e,o)}else try{Lt.removeChild(l.stateNode)}catch(o){kt(l,e,o)}break;case 18:Lt!==null&&(De?(t=Lt,Yh(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),ti(t)):Yh(Lt,l.stateNode));break;case 4:a=Lt,n=De,Lt=l.stateNode.containerInfo,De=!0,Ol(t,e,l),Lt=a,De=n;break;case 0:case 11:case 14:case 15:Yt||oa(2,l,e),Yt||oa(4,l,e),Ol(t,e,l);break;case 1:Yt||(dl(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Kf(l,e,a)),Ol(t,e,l);break;case 21:Ol(t,e,l);break;case 22:Yt=(a=Yt)||l.memoizedState!==null,Ol(t,e,l),Yt=a;break;default:Ol(t,e,l)}}function eh(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ti(t)}catch(l){kt(e,e.return,l)}}function R1(t){switch(t.tag){case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new $f),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new $f),e;default:throw Error(s(435,t.tag))}}function fc(t,e){var l=R1(t);e.forEach(function(a){var n=H1.bind(null,t,a);l.has(a)||(l.add(a),a.then(n,n))})}function ze(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],o=t,u=e,f=u;t:for(;f!==null;){switch(f.tag){case 27:if(ha(f.type)){Lt=f.stateNode,De=!1;break t}break;case 5:Lt=f.stateNode,De=!1;break t;case 3:case 4:Lt=f.stateNode.containerInfo,De=!0;break t}f=f.return}if(Lt===null)throw Error(s(160));th(o,u,n),Lt=null,De=!1,o=n.alternate,o!==null&&(o.return=null),n.return=null}if(e.subtreeFlags&13878)for(e=e.child;e!==null;)lh(e,t),e=e.sibling}var el=null;function lh(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ze(e,t),_e(t),a&4&&(oa(3,t,t.return),Bo(3,t),oa(5,t,t.return));break;case 1:ze(e,t),_e(t),a&512&&(Yt||l===null||dl(l,l.return)),a&64&&kl&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=el;if(ze(e,t),_e(t),a&512&&(Yt||l===null||dl(l,l.return)),a&4){var o=l!==null?l.memoizedState:null;if(a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null){t:{a=t.type,l=t.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":o=n.getElementsByTagName("title")[0],(!o||o[Ma]||o[ee]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=n.createElement(a),n.head.insertBefore(o,n.querySelector("head > title"))),fe(o,a,l),o[ee]=t,Vt(o),a=o;break t;case"link":var u=Wh("link","href",n).get(a+(l.href||""));if(u){for(var f=0;f<u.length;f++)if(o=u[f],o.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&o.getAttribute("rel")===(l.rel==null?null:l.rel)&&o.getAttribute("title")===(l.title==null?null:l.title)&&o.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){u.splice(f,1);break e}}o=n.createElement(a),fe(o,a,l),n.head.appendChild(o);break;case"meta":if(u=Wh("meta","content",n).get(a+(l.content||""))){for(f=0;f<u.length;f++)if(o=u[f],o.getAttribute("content")===(l.content==null?null:""+l.content)&&o.getAttribute("name")===(l.name==null?null:l.name)&&o.getAttribute("property")===(l.property==null?null:l.property)&&o.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&o.getAttribute("charset")===(l.charSet==null?null:l.charSet)){u.splice(f,1);break e}}o=n.createElement(a),fe(o,a,l),n.head.appendChild(o);break;default:throw Error(s(468,a))}o[ee]=t,Vt(o),a=o}t.stateNode=a}else $h(n,t.type,t.stateNode);else t.stateNode=Jh(n,a,t.memoizedProps);else o!==a?(o===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):o.count--,a===null?$h(n,t.type,t.stateNode):Jh(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&sc(t,t.memoizedProps,l.memoizedProps)}break;case 27:ze(e,t),_e(t),a&512&&(Yt||l===null||dl(l,l.return)),l!==null&&a&4&&sc(t,t.memoizedProps,l.memoizedProps);break;case 5:if(ze(e,t),_e(t),a&512&&(Yt||l===null||dl(l,l.return)),t.flags&32){n=t.stateNode;try{Fe(n,"")}catch(T){kt(t,t.return,T)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,sc(t,n,l!==null?l.memoizedProps:n)),a&1024&&(dc=!0);break;case 6:if(ze(e,t),_e(t),a&4){if(t.stateNode===null)throw Error(s(162));a=t.memoizedProps,l=t.stateNode;try{l.nodeValue=a}catch(T){kt(t,t.return,T)}}break;case 3:if(yr=null,n=el,el=gr(e.containerInfo),ze(e,t),el=n,_e(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{ti(e.containerInfo)}catch(T){kt(t,t.return,T)}dc&&(dc=!1,ah(t));break;case 4:a=el,el=gr(t.stateNode.containerInfo),ze(e,t),_e(t),el=a;break;case 12:ze(e,t),_e(t);break;case 13:ze(e,t),_e(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(vc=ge()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,fc(t,a)));break;case 22:n=t.memoizedState!==null;var g=l!==null&&l.memoizedState!==null,S=kl,N=Yt;if(kl=S||n,Yt=N||g,ze(e,t),Yt=N,kl=S,_e(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||g||kl||Yt||Ia(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){g=l=e;try{if(o=g.stateNode,n)u=o.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none";else{f=g.stateNode;var k=g.memoizedProps.style,E=k!=null&&k.hasOwnProperty("display")?k.display:null;f.style.display=E==null||typeof E=="boolean"?"":(""+E).trim()}}catch(T){kt(g,g.return,T)}}}else if(e.tag===6){if(l===null){g=e;try{g.stateNode.nodeValue=n?"":g.memoizedProps}catch(T){kt(g,g.return,T)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,fc(t,l))));break;case 19:ze(e,t),_e(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,fc(t,a)));break;case 30:break;case 21:break;default:ze(e,t),_e(t)}}function _e(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(Jf(a)){l=a;break}a=a.return}if(l==null)throw Error(s(160));switch(l.tag){case 27:var n=l.stateNode,o=cc(t);lr(t,o,n);break;case 5:var u=l.stateNode;l.flags&32&&(Fe(u,""),l.flags&=-33);var f=cc(t);lr(t,f,u);break;case 3:case 4:var g=l.stateNode.containerInfo,S=cc(t);uc(t,S,g);break;default:throw Error(s(161))}}catch(N){kt(t,t.return,N)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function ah(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;ah(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function ia(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Ff(t,e.alternate,e),e=e.sibling}function Ia(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:oa(4,e,e.return),Ia(e);break;case 1:dl(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&Kf(e,e.return,l),Ia(e);break;case 27:Qo(e.stateNode);case 26:case 5:dl(e,e.return),Ia(e);break;case 22:e.memoizedState===null&&Ia(e);break;case 30:Ia(e);break;default:Ia(e)}t=t.sibling}}function ra(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=t,o=e,u=o.flags;switch(o.tag){case 0:case 11:case 15:ra(n,o,l),Bo(4,o);break;case 1:if(ra(n,o,l),a=o,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(S){kt(a,a.return,S)}if(a=o,n=a.updateQueue,n!==null){var f=a.stateNode;try{var g=n.shared.hiddenCallbacks;if(g!==null)for(n.shared.hiddenCallbacks=null,n=0;n<g.length;n++)zd(g[n],f)}catch(S){kt(a,a.return,S)}}l&&u&64&&Qf(o),Lo(o,o.return);break;case 27:Wf(o);case 26:case 5:ra(n,o,l),l&&a===null&&u&4&&Pf(o),Lo(o,o.return);break;case 12:ra(n,o,l);break;case 13:ra(n,o,l),l&&u&4&&eh(n,o);break;case 22:o.memoizedState===null&&ra(n,o,l),Lo(o,o.return);break;case 30:break;default:ra(n,o,l)}e=e.sibling}}function hc(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&So(l))}function mc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&So(t))}function fl(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)nh(t,e,l,a),e=e.sibling}function nh(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:fl(t,e,l,a),n&2048&&Bo(9,e);break;case 1:fl(t,e,l,a);break;case 3:fl(t,e,l,a),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&So(t)));break;case 12:if(n&2048){fl(t,e,l,a),t=e.stateNode;try{var o=e.memoizedProps,u=o.id,f=o.onPostCommit;typeof f=="function"&&f(u,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(g){kt(e,e.return,g)}}else fl(t,e,l,a);break;case 13:fl(t,e,l,a);break;case 23:break;case 22:o=e.stateNode,u=e.alternate,e.memoizedState!==null?o._visibility&2?fl(t,e,l,a):Ho(t,e):o._visibility&2?fl(t,e,l,a):(o._visibility|=2,On(t,e,l,a,(e.subtreeFlags&10256)!==0)),n&2048&&hc(u,e);break;case 24:fl(t,e,l,a),n&2048&&mc(e.alternate,e);break;default:fl(t,e,l,a)}}function On(t,e,l,a,n){for(n=n&&(e.subtreeFlags&10256)!==0,e=e.child;e!==null;){var o=t,u=e,f=l,g=a,S=u.flags;switch(u.tag){case 0:case 11:case 15:On(o,u,f,g,n),Bo(8,u);break;case 23:break;case 22:var N=u.stateNode;u.memoizedState!==null?N._visibility&2?On(o,u,f,g,n):Ho(o,u):(N._visibility|=2,On(o,u,f,g,n)),n&&S&2048&&hc(u.alternate,u);break;case 24:On(o,u,f,g,n),n&&S&2048&&mc(u.alternate,u);break;default:On(o,u,f,g,n)}e=e.sibling}}function Ho(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,a=e,n=a.flags;switch(a.tag){case 22:Ho(l,a),n&2048&&hc(a.alternate,a);break;case 24:Ho(l,a),n&2048&&mc(a.alternate,a);break;default:Ho(l,a)}e=e.sibling}}var Uo=8192;function jn(t){if(t.subtreeFlags&Uo)for(t=t.child;t!==null;)oh(t),t=t.sibling}function oh(t){switch(t.tag){case 26:jn(t),t.flags&Uo&&t.memoizedState!==null&&mp(el,t.memoizedState,t.memoizedProps);break;case 5:jn(t);break;case 3:case 4:var e=el;el=gr(t.stateNode.containerInfo),jn(t),el=e;break;case 22:t.memoizedState===null&&(e=t.alternate,e!==null&&e.memoizedState!==null?(e=Uo,Uo=16777216,jn(t),Uo=e):jn(t));break;default:jn(t)}}function ih(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Go(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];oe=a,sh(a,t)}ih(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)rh(t),t=t.sibling}function rh(t){switch(t.tag){case 0:case 11:case 15:Go(t),t.flags&2048&&oa(9,t,t.return);break;case 3:Go(t);break;case 12:Go(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,ar(t)):Go(t);break;default:Go(t)}}function ar(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];oe=a,sh(a,t)}ih(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:oa(8,e,e.return),ar(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,ar(e));break;default:ar(e)}t=t.sibling}}function sh(t,e){for(;oe!==null;){var l=oe;switch(l.tag){case 0:case 11:case 15:oa(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:So(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,oe=a;else t:for(l=t;oe!==null;){a=oe;var n=a.sibling,o=a.return;if(If(a),a===l){oe=null;break t}if(n!==null){n.return=o,oe=n;break t}oe=o}}}var N1={getCacheForType:function(t){var e=ye(Ft),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l}},z1=typeof WeakMap=="function"?WeakMap:Map,At=0,jt=null,yt=null,wt=0,Rt=0,ke=null,sa=!1,Bn=!1,gc=!1,jl=0,Gt=0,ca=0,tn=0,pc=0,Ze=0,Ln=0,qo=null,Me=null,yc=!1,vc=0,nr=1/0,or=null,ua=null,de=0,da=null,Hn=null,Un=0,bc=0,xc=null,ch=null,Yo=0,wc=null;function Oe(){if((At&2)!==0&&wt!==0)return wt&-wt;if(A.T!==null){var t=Dn;return t!==0?t:Ac()}return pi()}function uh(){Ze===0&&(Ze=(wt&536870912)===0||Et?to():536870912);var t=Xe.current;return t!==null&&(t.flags|=32),Ze}function je(t,e,l){(t===jt&&(Rt===2||Rt===9)||t.cancelPendingCommit!==null)&&(Gn(t,0),fa(t,wt,Ze,!1)),Da(t,l),((At&2)===0||t!==jt)&&(t===jt&&((At&2)===0&&(tn|=l),Gt===4&&fa(t,wt,Ze,!1)),hl(t))}function dh(t,e,l){if((At&6)!==0)throw Error(s(327));var a=!l&&(e&124)===0&&(e&t.expiredLanes)===0||Dt(t,e),n=a?O1(t,e):Ec(t,e,!0),o=a;do{if(n===0){Bn&&!a&&fa(t,e,0,!1);break}else{if(l=t.current.alternate,o&&!_1(l)){n=Ec(t,e,!1),o=!1;continue}if(n===2){if(o=e,t.errorRecoveryDisabledLanes&o)var u=0;else u=t.pendingLanes&-536870913,u=u!==0?u:u&536870912?536870912:0;if(u!==0){e=u;t:{var f=t;n=qo;var g=f.current.memoizedState.isDehydrated;if(g&&(Gn(f,u).flags|=256),u=Ec(f,u,!1),u!==2){if(gc&&!g){f.errorRecoveryDisabledLanes|=o,tn|=o,n=4;break t}o=Me,Me=n,o!==null&&(Me===null?Me=o:Me.push.apply(Me,o))}n=u}if(o=!1,n!==2)continue}}if(n===1){Gn(t,0),fa(t,e,0,!0);break}t:{switch(a=t,o=n,o){case 0:case 1:throw Error(s(345));case 4:if((e&4194048)!==e)break;case 6:fa(a,e,Ze,!sa);break t;case 2:Me=null;break;case 3:case 5:break;default:throw Error(s(329))}if((e&62914560)===e&&(n=vc+300-ge(),10<n)){if(fa(a,e,Ze,!sa),un(a,0,!0)!==0)break t;a.timeoutHandle=Gh(fh.bind(null,a,l,Me,or,yc,e,Ze,tn,Ln,sa,o,2,-0,0),n);break t}fh(a,l,Me,or,yc,e,Ze,tn,Ln,sa,o,0,-0,0)}}break}while(!0);hl(t)}function fh(t,e,l,a,n,o,u,f,g,S,N,k,E,T){if(t.timeoutHandle=-1,k=e.subtreeFlags,(k&8192||(k&16785408)===16785408)&&(Jo={stylesheets:null,count:0,unsuspend:hp},oh(e),k=gp(),k!==null)){t.cancelPendingCommit=k(bh.bind(null,t,e,o,l,a,n,u,f,g,N,1,E,T)),fa(t,o,u,!S);return}bh(t,e,o,l,a,n,u,f,g)}function _1(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],o=n.getSnapshot;n=n.value;try{if(!Re(o(),n))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function fa(t,e,l,a){e&=~pc,e&=~tn,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var o=31-$t(n),u=1<<o;a[o]=-1,n&=~u}l!==0&&mi(t,l,e)}function ir(){return(At&6)===0?(Vo(0),!1):!0}function Sc(){if(yt!==null){if(Rt===0)var t=yt.return;else t=yt,Ml=Pa=null,Us(t),_n=null,ko=0,t=yt;for(;t!==null;)Zf(t.alternate,t),t=t.return;yt=null}}function Gn(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,W1(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),Sc(),jt=t,yt=l=El(t.current,null),wt=e,Rt=0,ke=null,sa=!1,Bn=Dt(t,e),gc=!1,Ln=Ze=pc=tn=ca=Gt=0,Me=qo=null,yc=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var n=31-$t(a),o=1<<n;e|=t[n],a&=~o}return jl=e,Ai(),l}function hh(t,e){mt=null,A.H=Ki,e===Eo||e===Li?(e=Rd(),Rt=3):e===Dd?(e=Rd(),Rt=4):Rt=e===zf?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ke=e,yt===null&&(Gt=1,Fi(t,Ge(e,t.current)))}function mh(){var t=A.H;return A.H=Ki,t===null?Ki:t}function gh(){var t=A.A;return A.A=N1,t}function Cc(){Gt=4,sa||(wt&4194048)!==wt&&Xe.current!==null||(Bn=!0),(ca&134217727)===0&&(tn&134217727)===0||jt===null||fa(jt,wt,Ze,!1)}function Ec(t,e,l){var a=At;At|=2;var n=mh(),o=gh();(jt!==t||wt!==e)&&(or=null,Gn(t,e)),e=!1;var u=Gt;t:do try{if(Rt!==0&&yt!==null){var f=yt,g=ke;switch(Rt){case 8:Sc(),u=6;break t;case 3:case 2:case 9:case 6:Xe.current===null&&(e=!0);var S=Rt;if(Rt=0,ke=null,qn(t,f,g,S),l&&Bn){u=0;break t}break;default:S=Rt,Rt=0,ke=null,qn(t,f,g,S)}}k1(),u=Gt;break}catch(N){hh(t,N)}while(!0);return e&&t.shellSuspendCounter++,Ml=Pa=null,At=a,A.H=n,A.A=o,yt===null&&(jt=null,wt=0,Ai()),u}function k1(){for(;yt!==null;)ph(yt)}function O1(t,e){var l=At;At|=2;var a=mh(),n=gh();jt!==t||wt!==e?(or=null,nr=ge()+500,Gn(t,e)):Bn=Dt(t,e);t:do try{if(Rt!==0&&yt!==null){e=yt;var o=ke;e:switch(Rt){case 1:Rt=0,ke=null,qn(t,e,o,1);break;case 2:case 9:if(Md(o)){Rt=0,ke=null,yh(e);break}e=function(){Rt!==2&&Rt!==9||jt!==t||(Rt=7),hl(t)},o.then(e,e);break t;case 3:Rt=7;break t;case 4:Rt=5;break t;case 7:Md(o)?(Rt=0,ke=null,yh(e)):(Rt=0,ke=null,qn(t,e,o,7));break;case 5:var u=null;switch(yt.tag){case 26:u=yt.memoizedState;case 5:case 27:var f=yt;if(!u||Fh(u)){Rt=0,ke=null;var g=f.sibling;if(g!==null)yt=g;else{var S=f.return;S!==null?(yt=S,rr(S)):yt=null}break e}}Rt=0,ke=null,qn(t,e,o,5);break;case 6:Rt=0,ke=null,qn(t,e,o,6);break;case 8:Sc(),Gt=6;break t;default:throw Error(s(462))}}j1();break}catch(N){hh(t,N)}while(!0);return Ml=Pa=null,A.H=a,A.A=n,At=l,yt!==null?0:(jt=null,wt=0,Ai(),Gt)}function j1(){for(;yt!==null&&!Ca();)ph(yt)}function ph(t){var e=Vf(t.alternate,t,jl);t.memoizedProps=t.pendingProps,e===null?rr(t):yt=e}function yh(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=Lf(l,e,e.pendingProps,e.type,void 0,wt);break;case 11:e=Lf(l,e,e.pendingProps,e.type.render,e.ref,wt);break;case 5:Us(e);default:Zf(l,e),e=yt=yd(e,jl),e=Vf(l,e,jl)}t.memoizedProps=t.pendingProps,e===null?rr(t):yt=e}function qn(t,e,l,a){Ml=Pa=null,Us(e),_n=null,ko=0;var n=e.return;try{if(E1(t,n,e,l,wt)){Gt=1,Fi(t,Ge(l,t.current)),yt=null;return}}catch(o){if(n!==null)throw yt=n,o;Gt=1,Fi(t,Ge(l,t.current)),yt=null;return}e.flags&32768?(Et||a===1?t=!0:Bn||(wt&536870912)!==0?t=!1:(sa=t=!0,(a===2||a===9||a===3||a===6)&&(a=Xe.current,a!==null&&a.tag===13&&(a.flags|=16384))),vh(e,t)):rr(e)}function rr(t){var e=t;do{if((e.flags&32768)!==0){vh(e,sa);return}t=e.return;var l=D1(e.alternate,e,jl);if(l!==null){yt=l;return}if(e=e.sibling,e!==null){yt=e;return}yt=e=t}while(e!==null);Gt===0&&(Gt=5)}function vh(t,e){do{var l=M1(t.alternate,t);if(l!==null){l.flags&=32767,yt=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){yt=t;return}yt=t=l}while(t!==null);Gt=6,yt=null}function bh(t,e,l,a,n,o,u,f,g){t.cancelPendingCommit=null;do sr();while(de!==0);if((At&6)!==0)throw Error(s(327));if(e!==null){if(e===t.current)throw Error(s(177));if(o=e.lanes|e.childLanes,o|=ms,Ir(t,l,o,u,f,g),t===jt&&(yt=jt=null,wt=0),Hn=e,da=t,Un=l,bc=o,xc=n,ch=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,U1(nl,function(){return Eh(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=A.T,A.T=null,n=q.p,q.p=2,u=At,At|=4;try{A1(t,e,l)}finally{At=u,q.p=n,A.T=a}}de=1,xh(),wh(),Sh()}}function xh(){if(de===1){de=0;var t=da,e=Hn,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=A.T,A.T=null;var a=q.p;q.p=2;var n=At;At|=4;try{lh(e,t);var o=Bc,u=rd(t.containerInfo),f=o.focusedElem,g=o.selectionRange;if(u!==f&&f&&f.ownerDocument&&id(f.ownerDocument.documentElement,f)){if(g!==null&&cs(f)){var S=g.start,N=g.end;if(N===void 0&&(N=S),"selectionStart"in f)f.selectionStart=S,f.selectionEnd=Math.min(N,f.value.length);else{var k=f.ownerDocument||document,E=k&&k.defaultView||window;if(E.getSelection){var T=E.getSelection(),lt=f.textContent.length,F=Math.min(g.start,lt),_t=g.end===void 0?F:Math.min(g.end,lt);!T.extend&&F>_t&&(u=_t,_t=F,F=u);var b=od(f,F),y=od(f,_t);if(b&&y&&(T.rangeCount!==1||T.anchorNode!==b.node||T.anchorOffset!==b.offset||T.focusNode!==y.node||T.focusOffset!==y.offset)){var w=k.createRange();w.setStart(b.node,b.offset),T.removeAllRanges(),F>_t?(T.addRange(w),T.extend(y.node,y.offset)):(w.setEnd(y.node,y.offset),T.addRange(w))}}}}for(k=[],T=f;T=T.parentNode;)T.nodeType===1&&k.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<k.length;f++){var z=k[f];z.element.scrollLeft=z.left,z.element.scrollTop=z.top}}xr=!!jc,Bc=jc=null}finally{At=n,q.p=a,A.T=l}}t.current=e,de=2}}function wh(){if(de===2){de=0;var t=da,e=Hn,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=A.T,A.T=null;var a=q.p;q.p=2;var n=At;At|=4;try{Ff(t,e.alternate,e)}finally{At=n,q.p=a,A.T=l}}de=3}}function Sh(){if(de===4||de===3){de=0,ri();var t=da,e=Hn,l=Un,a=ch;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?de=5:(de=0,Hn=da=null,Ch(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(ua=null),ao(l),e=e.stateNode,Wt&&typeof Wt.onCommitFiberRoot=="function")try{Wt.onCommitFiberRoot(ql,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=A.T,n=q.p,q.p=2,A.T=null;try{for(var o=t.onRecoverableError,u=0;u<a.length;u++){var f=a[u];o(f.value,{componentStack:f.stack})}}finally{A.T=e,q.p=n}}(Un&3)!==0&&sr(),hl(t),n=t.pendingLanes,(l&4194090)!==0&&(n&42)!==0?t===wc?Yo++:(Yo=0,wc=t):Yo=0,Vo(0)}}function Ch(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,So(e)))}function sr(t){return xh(),wh(),Sh(),Eh()}function Eh(){if(de!==5)return!1;var t=da,e=bc;bc=0;var l=ao(Un),a=A.T,n=q.p;try{q.p=32>l?32:l,A.T=null,l=xc,xc=null;var o=da,u=Un;if(de=0,Hn=da=null,Un=0,(At&6)!==0)throw Error(s(331));var f=At;if(At|=4,rh(o.current),nh(o,o.current,u,l),At=f,Vo(0,!1),Wt&&typeof Wt.onPostCommitFiberRoot=="function")try{Wt.onPostCommitFiberRoot(ql,o)}catch{}return!0}finally{q.p=n,A.T=a,Ch(t,e)}}function Th(t,e,l){e=Ge(l,e),e=Is(t.stateNode,e,2),t=ea(t,e,2),t!==null&&(Da(t,2),hl(t))}function kt(t,e,l){if(t.tag===3)Th(t,t,l);else for(;e!==null;){if(e.tag===3){Th(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ua===null||!ua.has(a))){t=Ge(l,t),l=Rf(2),a=ea(e,l,2),a!==null&&(Nf(l,a,e,t),Da(a,2),hl(a));break}}e=e.return}}function Tc(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new z1;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(l)||(gc=!0,n.add(l),t=B1.bind(null,t,e,l),e.then(t,t))}function B1(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,jt===t&&(wt&l)===l&&(Gt===4||Gt===3&&(wt&62914560)===wt&&300>ge()-vc?(At&2)===0&&Gn(t,0):pc|=l,Ln===wt&&(Ln=0)),hl(t)}function Dh(t,e){e===0&&(e=hi()),t=Sn(t,e),t!==null&&(Da(t,e),hl(t))}function L1(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),Dh(t,l)}function H1(t,e){var l=0;switch(t.tag){case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(e),Dh(t,l)}function U1(t,e){return yl(t,e)}var cr=null,Yn=null,Dc=!1,ur=!1,Mc=!1,en=0;function hl(t){t!==Yn&&t.next===null&&(Yn===null?cr=Yn=t:Yn=Yn.next=t),ur=!0,Dc||(Dc=!0,q1())}function Vo(t,e){if(!Mc&&ur){Mc=!0;do for(var l=!1,a=cr;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var o=0;else{var u=a.suspendedLanes,f=a.pingedLanes;o=(1<<31-$t(42|t)+1)-1,o&=n&~(u&~f),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(l=!0,Nh(a,o))}else o=wt,o=un(a,a===jt?o:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(o&3)===0||Dt(a,o)||(l=!0,Nh(a,o));a=a.next}while(l);Mc=!1}}function G1(){Mh()}function Mh(){ur=Dc=!1;var t=0;en!==0&&(J1()&&(t=en),en=0);for(var e=ge(),l=null,a=cr;a!==null;){var n=a.next,o=Ah(a,e);o===0?(a.next=null,l===null?cr=n:l.next=n,n===null&&(Yn=l)):(l=a,(t!==0||(o&3)!==0)&&(ur=!0)),a=n}Vo(t)}function Ah(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,o=t.pendingLanes&-62914561;0<o;){var u=31-$t(o),f=1<<u,g=n[u];g===-1?((f&l)===0||(f&a)!==0)&&(n[u]=In(f,e)):g<=e&&(t.expiredLanes|=f),o&=~f}if(e=jt,l=wt,l=un(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(Rt===2||Rt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&sn(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Dt(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&sn(a),ao(l)){case 2:case 8:l=Fn;break;case 32:l=nl;break;case 268435456:l=Gl;break;default:l=nl}return a=Rh.bind(null,t),l=yl(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&sn(a),t.callbackPriority=2,t.callbackNode=null,2}function Rh(t,e){if(de!==0&&de!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(sr()&&t.callbackNode!==l)return null;var a=wt;return a=un(t,t===jt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(dh(t,a,e),Ah(t,ge()),t.callbackNode!=null&&t.callbackNode===l?Rh.bind(null,t):null)}function Nh(t,e){if(sr())return null;dh(t,e,!0)}function q1(){$1(function(){(At&6)!==0?yl(Ul,G1):Mh()})}function Ac(){return en===0&&(en=to()),en}function zh(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ba(""+t)}function _h(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function Y1(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var o=zh((n[pe]||null).action),u=a.submitter;u&&(e=(e=u[pe]||null)?zh(e.formAction):u.getAttribute("formAction"),e!==null&&(o=e,u=null));var f=new Ga("action","action",null,a,n);t.push({event:f,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(en!==0){var g=u?_h(n,u):new FormData(n);Ps(l,{pending:!0,data:g,method:n.method,action:o},null,g)}}else typeof o=="function"&&(f.preventDefault(),g=u?_h(n,u):new FormData(n),Ps(l,{pending:!0,data:g,method:n.method,action:o},o,g))},currentTarget:n}]})}}for(var Rc=0;Rc<hs.length;Rc++){var Nc=hs[Rc],V1=Nc.toLowerCase(),X1=Nc[0].toUpperCase()+Nc.slice(1);tl(V1,"on"+X1)}tl(ud,"onAnimationEnd"),tl(dd,"onAnimationIteration"),tl(fd,"onAnimationStart"),tl("dblclick","onDoubleClick"),tl("focusin","onFocus"),tl("focusout","onBlur"),tl(r1,"onTransitionRun"),tl(s1,"onTransitionStart"),tl(c1,"onTransitionCancel"),tl(hd,"onTransitionEnd"),We("onMouseEnter",["mouseout","mouseover"]),We("onMouseLeave",["mouseout","mouseover"]),We("onPointerEnter",["pointerout","pointerover"]),We("onPointerLeave",["pointerout","pointerover"]),bl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),bl("onSelect","focusout contextmenu dragend focu
82sin keydown keyup mousedown mouseup selectionchange".split(" ")),bl("onBeforeInput",["compositionend","keypress","textInput","paste"]),bl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),bl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),bl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xo="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(" "),Z1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xo));function kh(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var a=t[l],n=a.event;a=a.listeners;t:{var o=void 0;if(e)for(var u=a.length-1;0<=u;u--){var f=a[u],g=f.instance,S=f.currentTarget;if(f=f.listener,g!==o&&n.isPropagationStopped())break t;o=f,n.currentTarget=S;try{o(n)}catch(N){$i(N)}n.currentTarget=null,o=g}else for(u=0;u<a.length;u++){if(f=a[u],g=f.instance,S=f.currentTarget,f=f.listener,g!==o&&n.isPropagationStopped())break t;o=f,n.currentTarget=S;try{o(n)}catch(N){$i(N)}n.currentTarget=null,o=g}}}}function vt(t,e){var l=e[no];l===void 0&&(l=e[no]=new Set);var a=t+"__bubble";l.has(a)||(Oh(e,t,2,!1),l.add(a))}function zc(t,e,l){var a=0;e&&(a|=4),Oh(l,t,a,e)}var dr="_reactListening"+Math.random().toString(36).slice(2);function _c(t){if(!t[dr]){t[dr]=!0,vi.forEach(function(l){l!=="selectionchange"&&(Z1.has(l)||zc(l,!1,t),zc(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[dr]||(e[dr]=!0,zc("selectionchange",!1,e))}}function Oh(t,e,l,a){switch(nm(e)){case 2:var n=vp;break;case 8:n=bp;break;default:n=Qc}l=n.bind(null,e,l,t),n=void 0,!pn||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(e,l,{capture:!0,passive:n}):t.addEventListener(e,l,!0):n!==void 0?t.addEventListener(e,l,{passive:n}):t.addEventListener(e,l,!1)}function kc(t,e,l,a,n){var o=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var u=a.tag;if(u===3||u===4){var f=a.stateNode.containerInfo;if(f===n)break;if(u===4)for(u=a.return;u!==null;){var g=u.tag;if((g===3||g===4)&&u.stateNode.containerInfo===n)return;u=u.return}for(;f!==null;){if(u=Vl(f),u===null)return;if(g=u.tag,g===5||g===6||g===26||g===27){a=o=u;continue t}f=f.parentNode}}a=a.return}ro(function(){var S=o,N=mn(l),k=[];t:{var E=md.get(t);if(E!==void 0){var T=Ga,lt=t;switch(t){case"keypress":if(Ha(l)===0)break t;case"keydown":case"keyup":T=U0;break;case"focusin":lt="focus",T=ns;break;case"focusout":lt="blur",T=ns;break;case"beforeblur":case"afterblur":T=ns;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":T=Vu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=M0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=Y0;break;case ud:case dd:case fd:T=N0;break;case hd:T=X0;break;case"scroll":case"scrollend":T=Ei;break;case"wheel":T=Q0;break;case"copy":case"cut":case"paste":T=_0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=Zu;break;case"toggle":case"beforetoggle":T=P0}var F=(e&4)!==0,_t=!F&&(t==="scroll"||t==="scrollend"),b=F?E!==null?E+"Capture":null:E;F=[];for(var y=S,w;y!==null;){var z=y;if(w=z.stateNode,z=z.tag,z!==5&&z!==26&&z!==27||w===null||b===null||(z=Jl(y,b),z!=null&&F.push(Zo(y,z,w))),_t)break;y=y.return}0<F.length&&(E=new T(E,lt,null,l,N),k.push({event:E,listeners:F}))}}if((e&7)===0){t:{if(E=t==="mouseover"||t==="pointerover",T=t==="mouseout"||t==="pointerout",E&&l!==hn&&(lt=l.relatedTarget||l.fromElement)&&(Vl(lt)||lt[Yl]))break t;if((T||E)&&(E=N.window===N?N:(E=N.ownerDocument)?E.defaultView||E.parentWindow:window,T?(lt=l.relatedTarget||l.toElement,T=S,lt=lt?Vl(lt):null,lt!==null&&(_t=m(lt),F=lt.tag,lt!==_t||F!==5&&F!==27&&F!==6)&&(lt=null)):(T=null,lt=S),T!==lt)){
vendor: 5,790 bytes, lines 82-83
82if(F=Vu,z="onMouseLeave",b="onMouseEnter",y="mouse",(t==="pointerout"||t==="pointerover")&&(F=Zu,z="onPointerLeave",b="onPointerEnter",y="pointer"),_t=T==null?E:Aa(T),w=lt==null?E:Aa(lt),E=new F(z,y+"leave",T,l,N),E.target=_t,E.relatedTarget=w,z=null,Vl(N)===S&&(F=new F(b,y+"enter",lt,l,N),F.target=w,F.relatedTarget=_t,z=F),_t=z,T&&lt)e:{for(F=T,b=lt,y=0,w=F;w;w=Vn(w))y++;for(w=0,z=b;z;z=Vn(z))w++;for(;0<y-w;)F=Vn(F),y--;for(;0<w-y;)b=Vn(b),w--;for(;y--;){if(F===b||b!==null&&F===b.alternate)break e;F=Vn(F),b=Vn(b)}F=null}else F=null;T!==null&&jh(k,E,T,F,!1),lt!==null&&_t!==null&&jh(k,_t,lt,F,!0)}}t:{if(E=S?Aa(S):window,T=E.nodeName&&E.nodeName.toLowerCase(),T==="select"||T==="input"&&E.type==="file")var P=Iu;else if($u(E))if(td)P=n1;else{P=l1;var pt=e1}else T=E.nodeName,!T||T.toLowerCase()!=="input"||E.type!=="checkbox"&&E.type!=="radio"?S&&ja(S.elementType)&&(P=Iu):P=a1;if(P&&(P=P(t,S))){Fu(k,P,l,N);break t}pt&&pt(t,E,S),t==="focusout"&&S&&E.type==="number"&&S.memoizedProps.value!=null&&Pl(E,"number",E.value)}switch(pt=S?Aa(S):window,t){case"focusin":($u(pt)||pt.contentEditable==="true")&&(bn=pt,us=S,yo=null);break;case"focusout":yo=us=bn=null;break;case"mousedown":ds=!0;break;case"contextmenu":case"mouseup":case"dragend":ds=!1,sd(k,l,N);break;case"selectionchange":if(i1)break;case"keydown":case"keyup":sd(k,l,N)}var W;if(is)t:{switch(t){case"compositionstart":var et="onCompositionStart";break t;case"compositionend":et="onCompositionEnd";break t;case"compositionupdate":et="onCompositionUpdate";break t}et=void 0}else vn?Ju(t,l)&&(et="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(et="onCompositionStart");et&&(Qu&&l.locale!=="ko"&&(vn||et!=="onCompositionStart"?et==="onCompositionEnd"&&vn&&(W=so()):(Ie=N,yn="value"in Ie?Ie.value:Ie.textContent,vn=!0)),pt=fr(S,et),0<pt.length&&(et=new Xu(et,t,null,l,N),k.push({event:et,listeners:pt}),W?et.data=W:(W=Wu(l),W!==null&&(et.data=W)))),(W=W0?$0(t,l):F0(t,l))&&(et=fr(S,"onBeforeInput"),0<et.length&&(pt=new Xu("onBeforeInput","beforeinput",null,l,N),k.push({event:pt,listeners:et}),pt.data=W)),Y1(k,t,S,l,N)}kh(k,e)})}function Zo(t,e,l){return{instance:t,listener:e,currentTarget:l}}function fr(t,e){for(var l=e+"Capture",a=[];t!==null;){var n=t,o=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||o===null||(n=Jl(t,l),n!=null&&a.unshift(Zo(t,n,o)),n=Jl(t,e),n!=null&&a.push(Zo(t,n,o))),t.tag===3)return a;t=t.return}return[]}function Vn(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function jh(t,e,l,a,n){for(var o=e._reactName,u=[];l!==null&&l!==a;){var f=l,g=f.alternate,S=f.stateNode;if(f=f.tag,g!==null&&g===a)break;f!==5&&f!==26&&f!==27||S===null||(g=S,n?(S=Jl(l,o),S!=null&&u.unshift(Zo(l,S,g))):n||(S=Jl(l,o),S!=null&&u.push(Zo(l,S,g)))),l=l.return}u.length!==0&&t.push({event:e,listeners:u})}var Q1=/\r\n?/g,K1=/\u0000|\uFFFD/g;function Bh(t){return(typeof t=="string"?t:""+t).replace(Q1,`
83`).replace(K1,"")}function Lh(t,e){return e=Bh(e),Bh(t)===e}function hr(){}function zt(t,e,l,a,n,o){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Fe(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Fe(t,""+a);break;case"className":tt(t,"class",a);break;case"tabIndex":tt(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":tt(t,l,a);break;case"style":Oa(t,a,o);break;case"data":if(e!=="object"){tt(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Ba(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"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 o=="function"&&(l==="formAction"?(e!=="input"&&zt(t,e,"name",n.name,n,null),zt(t,e,"formEncType",n.formEncType,n,null),zt(t,e,"formMethod",n.formMethod,n,null),zt(t,e,"formTarget",n.formTarget,n,null)):(zt(t,e,"encType",n.encType,n,null),zt(t,e,"method",n.method,n,null),zt(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Ba(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=hr);break;case"onScroll":a!=null&&vt("scroll",t);break;case"onScrollEnd":a!=null&&vt("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}l=Ba(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""+a):t.removeAttribute(l);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
83ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":vt("beforetoggle",t),vt("toggle",t),M(t,"popover",a);break;case"xlinkActuate":Ot(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ot(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ot(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ot(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ot(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ot(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ot(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ot(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ot(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":M(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Si.get(l)||l,M(t,l,a))}}function Oc(t,e,l,a,n,o){switch(l){case"style":Oa(t,a,o);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"children":typeof a=="string"?Fe(t,a):(typeof a=="number"||typeof a=="bigint")&&Fe(t,""+a);break;case"onScroll":a!=null&&vt("scroll",t);break;case"onScrollEnd":a!=null&&vt("scrollend",t);break;case"onClick":a!=null&&(t.onclick=hr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!bi.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),e=l.slice(2,n?l.length-7:void 0),o=t[pe]||null,o=o!=null?o[l]:null,typeof o=="function"&&t.removeEventListener(e,o,n),typeof a=="function")){typeof o!="function"&&o!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,n);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):M(t,l,a)}}}function fe(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":vt("error",t),vt("load",t);var a=!1,n=!1,o;for(o in l)if(l.hasOwnProperty(o)){var u=l[o];if(u!=null)switch(o){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:zt(t,e,o,u,l,null)}}n&&zt(t,e,"srcSet",l.srcSet,l,null),a&&zt(t,e,"src",l.src,l,null);return;case"input":vt("invalid",t);var f=o=u=n=null,g=null,S=null;for(a in l)if(l.hasOwnProperty(a)){var N=l[a];if(N!=null)switch(a){case"name":n=N;break;case"type":u=N;break;case"checked":g=N;break;case"defaultChecked":S=N;break;case"value":o=N;break;case"defaultValue":f=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(s(137,e));break;default:zt(t,e,a,N,l,null)}}Na(t,o,f,g,S,u,n,!1),re(t);return;case"select":vt("invalid",t),a=u=o=null;for(n in l)if(l.hasOwnProperty(n)&&(f=l[n],f!=null))switch(n){case"value":o=f;break;case"defaultValue":u=f;break;case"multiple":a=f;default:zt(t,e,n,f,l,null)}e=o,l=u,t.multiple=!!a,e!=null?$e(t,!!a,e,!1):l!=null&&$e(t,!!a,l,!0);return;case"textarea":vt("invalid",t),o=n=a=null;for(u in l)if(l.hasOwnProperty(u)&&(f=l[u],f!=null))switch(u){case"value":a=f;break;case"defaultValue":n=f;break;case"children":o=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(s(91));break;default:zt(t,e,u,f,l,null)}_a(t,a,n,o),re(t);return;case"option":for(g in l)if(l.hasOwnProperty(g)&&(a=l[g],a!=null))switch(g){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:zt(t,e,g,a,l,null)}return;case"dialog":vt("beforetoggle",t),vt("toggle",t),vt("cancel",t),vt("close",t);break;case"iframe":case"object":vt("load",t);break;case"video":case"audio":for(a=0;a<Xo.length;a++)vt(Xo[a],t);break;case"image":vt("error",t),vt("load",t);break;case"details":vt("toggle",t);break;case"embed":case"source":case"link":vt("error",t),vt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(S in l)if(l.hasOwnProperty(S)&&(a=l[S],a!=null))switch(S){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:zt(t,e,S,a,l,null)}return;default:if(ja(e)){for(N in l)l.hasOwnProperty(N)&&(a=l[N],a!==void 0&&Oc(t,e,N,a,l,void 0));return}}for(f in l)l.hasOwnProperty(f)&&(a=l[f],a!=null&&zt(t,e,f,a,l,null))}function P1(t,e,l,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,o=null,u=null,f=null,g=null,S=null,N=null;for(T in l){var k=l[T];if(l.hasOwnProperty(T)&&k!=null)switch(T){case"checked":break;case"value":break;case"defaultValue":g=k;default:a.hasOwnProperty(T)||zt(t,e,T,null,a,k)}}for(var E in a){var T=a[E];if(k=l[E],a.hasOwnProperty(E)&&(T!=null||k!=null))switch(E){case"type":o=T;break;case"name":n=T;break;case"checked":S=T;break;case"defaultChecked":N=T;break;case"value":u=T;break;case"defaultValue":f=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(s(137,e));break;default:T!==k&&zt(t,e,E,T,a,k)}}Kl(t,u,f,g,S,N,o,n);return;case"select":T=u=f=E=null;for(o in l)if(g=l[o],l.hasOwnProperty(o)&&g!=null)switch(o){case"value":break;case"multiple":T=g;default:a.hasOwnProperty(o)||zt(t,e,o,null,a,g)}
vendor: 6,917 bytes, line 83
83for(n in a)if(o=a[n],g=l[n],a.hasOwnProperty(n)&&(o!=null||g!=null))switch(n){case"value":E=o;break;case"defaultValue":f=o;break;case"multiple":u=o;default:o!==g&&zt(t,e,n,o,a,g)}e=f,l=u,a=T,E!=null?$e(t,!!l,E,!1):!!a!=!!l&&(e!=null?$e(t,!!l,e,!0):$e(t,!!l,l?[]:"",!1));return;case"textarea":T=E=null;for(f in l)if(n=l[f],l.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:zt(t,e,f,null,a,n)}for(u in a)if(n=a[u],o=l[u],a.hasOwnProperty(u)&&(n!=null||o!=null))switch(u){case"value":E=n;break;case"defaultValue":T=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(s(91));break;default:n!==o&&zt(t,e,u,n,a,o)}za(t,E,T);return;case"option":for(var lt in l)if(E=l[lt],l.hasOwnProperty(lt)&&E!=null&&!a.hasOwnProperty(lt))switch(lt){case"selected":t.selected=!1;break;default:zt(t,e,lt,null,a,E)}for(g in a)if(E=a[g],T=l[g],a.hasOwnProperty(g)&&E!==T&&(E!=null||T!=null))switch(g){case"selected":t.selected=E&&typeof E!="function"&&typeof E!="symbol";break;default:zt(t,e,g,E,a,T)}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 F in l)E=l[F],l.hasOwnProperty(F)&&E!=null&&!a.hasOwnProperty(F)&&zt(t,e,F,null,a,E);for(S in a)if(E=a[S],T=l[S],a.hasOwnProperty(S)&&E!==T&&(E!=null||T!=null))switch(S){case"children":case"dangerouslySetInnerHTML":if(E!=null)throw Error(s(137,e));break;default:zt(t,e,S,E,a,T)}return;default:if(ja(e)){for(var _t in l)E=l[_t],l.hasOwnProperty(_t)&&E!==void 0&&!a.hasOwnProperty(_t)&&Oc(t,e,_t,void 0,a,E);for(N in a)E=a[N],T=l[N],!a.hasOwnProperty(N)||E===T||E===void 0&&T===void 0||Oc(t,e,N,E,a,T);return}}for(var b in l)E=l[b],l.hasOwnProperty(b)&&E!=null&&!a.hasOwnProperty(b)&&zt(t,e,b,null,a,E);for(k in a)E=a[k],T=l[k],!a.hasOwnProperty(k)||E===T||E==null&&T==null||zt(t,e,k,E,a,T)}var jc=null,Bc=null;function mr(t){return t.nodeType===9?t:t.ownerDocument}function Hh(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Uh(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Lc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var Hc=null;function J1(){var t=window.event;return t&&t.type==="popstate"?t===Hc?!1:(Hc=t,!0):(Hc=null,!1)}var Gh=typeof setTimeout=="function"?setTimeout:void 0,W1=typeof clearTimeout=="function"?clearTimeout:void 0,qh=typeof Promise=="function"?Promise:void 0,$1=typeof queueMicrotask=="function"?queueMicrotask:typeof qh<"u"?function(t){return qh.resolve(null).then(t).catch(F1)}:Gh;function F1(t){setTimeout(function(){throw t})}function ha(t){return t==="head"}function Yh(t,e){var l=e,a=0,n=0;do{var o=l.nextSibling;if(t.removeChild(l),o&&o.nodeType===8)if(l=o.data,l==="/$"){if(0<a&&8>a){l=a;var u=t.ownerDocument;if(l&1&&Qo(u.documentElement),l&2&&Qo(u.body),l&4)for(l=u.head,Qo(l),u=l.firstChild;u;){var f=u.nextSibling,g=u.nodeName;u[Ma]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=f}}if(n===0){t.removeChild(o),ti(e);return}n--}else l==="$"||l==="$?"||l==="$!"?n++:a=l.charCodeAt(0)-48;else a=0;l=o}while(l);ti(e)}function Uc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Uc(l),oo(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function I1(t,e,l,a){for(;t.nodeType===1;){var n=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Ma])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(o=t.getAttribute("rel"),o==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(o!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(o=t.getAttribute("src"),(o!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&o&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var o=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===o)return t}else return t;if(t=ll(t.nextSibling),t===null)break}return null}function tp(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=ll(t.nextSibling),t===null))return null;return t}function Gc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function ep(t,e){var l=t.ownerDocument;if(t.data!=="$?"||l.readyState==="complete")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function ll(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="F!"||e==="F")break;if(e==="/$")return null}}return t}var qc=null;function Vh(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"){if(e===0)return t;e--}else l==="/$"&&e++}t=t.previousSibling}return null}function Xh(t,e,l){switch(e=mr(l),t){case"html":if(t=e.documentElement,!t)throw Error(s(452));return t;case"head":if(t=e.head,!t)throw Error(s(453));return t;case"body":if(t=e.body,!t)throw Error(s(454));return t;default:throw Error(s(451))}}function Qo(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);oo(t)}var Qe=new Map,Zh=new Set;function gr(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Bl=q.d;q.d={f:lp,r:ap,D:np,C:op,L:ip,m:rp,X:cp,S:sp,M:up};function lp(){var t=Bl.f(),e=ir();return t||e}function ap(t){var e=Xl(t);e!==null&&e.tag===5&&e.type==="form"?df(e):Bl.r(t)}var Xn=typeof document>"u"?null:document;function Qh(t,e,l){var a=Xn;if(a&&typeof e=="string"&&e){var n=se(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Zh.has(n)||(Zh.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),fe(e,"link",t),Vt(e),a.head.appendChild(e)))}}function np(t){Bl.D(t),Qh("dns-prefetch",t,null)}function op(t,e){Bl.C(t,e),Qh("preconnect",t,e)}function ip(t,e,l){Bl.L(t,e,l);var a=Xn;
vendor: 1,193 bytes, line 83
83if(a&&t&&e){var n='link[rel="preload"][as="'+se(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+se(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+se(l.imageSizes)+'"]')):n+='[href="'+se(t)+'"]';var o=n;switch(e){case"style":o=Zn(t);break;case"script":o=Qn(t)}Qe.has(o)||(t=D({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),Qe.set(o,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Ko(o))||e==="script"&&a.querySelector(Po(o))||(e=a.createElement("link"),fe(e,"link",t),Vt(e),a.head.appendChild(e)))}}function rp(t,e){Bl.m(t,e);var l=Xn;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+se(a)+'"][href="'+se(t)+'"]',o=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Qn(t)}if(!Qe.has(o)&&(t=D({rel:"modulepreload",href:t},e),Qe.set(o,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Po(o)))return}a=l.createElement("link"),fe(a,"link",t),Vt(a),l.head.appendChild(a)}}}function sp(t,e,l){Bl.S(t,e,l);var a=Xn;
vendor: 4,779 bytes, line 83
83if(a&&t){var n=Zl(a).hoistableStyles,o=Zn(t);e=e||"default";var u=n.get(o);if(!u){var f={loading:0,preload:null};if(u=a.querySelector(Ko(o)))f.loading=5;else{t=D({rel:"stylesheet",href:t,"data-precedence":e},l),(l=Qe.get(o))&&Yc(t,l);var g=u=a.createElement("link");Vt(g),fe(g,"link",t),g._p=new Promise(function(S,N){g.onload=S,g.onerror=N}),g.addEventListener("load",function(){f.loading|=1}),g.addEventListener("error",function(){f.loading|=2}),f.loading|=4,pr(u,e,a)}u={type:"stylesheet",instance:u,count:1,state:f},n.set(o,u)}}}function cp(t,e){Bl.X(t,e);var l=Xn;if(l&&t){var a=Zl(l).hoistableScripts,n=Qn(t),o=a.get(n);o||(o=l.querySelector(Po(n)),o||(t=D({src:t,async:!0},e),(e=Qe.get(n))&&Vc(t,e),o=l.createElement("script"),Vt(o),fe(o,"link",t),l.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(n,o))}}function up(t,e){Bl.M(t,e);var l=Xn;if(l&&t){var a=Zl(l).hoistableScripts,n=Qn(t),o=a.get(n);o||(o=l.querySelector(Po(n)),o||(t=D({src:t,async:!0,type:"module"},e),(e=Qe.get(n))&&Vc(t,e),o=l.createElement("script"),Vt(o),fe(o,"link",t),l.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},a.set(n,o))}}function Kh(t,e,l,a){var n=(n=I.current)?gr(n):null;if(!n)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Zn(l.href),l=Zl(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Zn(l.href);var o=Zl(n).hoistableStyles,u=o.get(t);if(u||(n=n.ownerDocument||n,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(t,u),(o=n.querySelector(Ko(t)))&&!o._p&&(u.instance=o,u.state.loading=5),Qe.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Qe.set(t,l),o||dp(n,t,l,u.state))),e&&a===null)throw Error(s(528,""));return u}if(e&&a!==null)throw Error(s(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Qn(l),l=Zl(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function Zn(t){return'href="'+se(t)+'"'}function Ko(t){return'link[rel="stylesheet"]['+t+"]"}function Ph(t){return D({},t,{"data-precedence":t.precedence,precedence:null})}function dp(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),fe(e,"link",l),Vt(e),t.head.appendChild(e))}function Qn(t){return'[src="'+se(t)+'"]'}function Po(t){return"script[async]"+t}function Jh(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+se(l.href)+'"]');if(a)return e.instance=a,Vt(a),a;var n=D({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Vt(a),fe(a,"style",n),pr(a,l.precedence,t),e.instance=a;case"stylesheet":n=Zn(l.href);var o=t.querySelector(Ko(n));if(o)return e.state.loading|=4,e.instance=o,Vt(o),o;a=Ph(l),(n=Qe.get(n))&&Yc(a,n),o=(t.ownerDocument||t).createElement("link"),Vt(o);var u=o;return u._p=new Promise(function(f,g){u.onload=f,u.onerror=g}),fe(o,"link",a),e.state.loading|=4,pr(o,l.precedence,t),e.instance=o;case"script":return o=Qn(l.src),(n=t.querySelector(Po(o)))?(e.instance=n,Vt(n),n):(a=l,(n=Qe.get(o))&&(a=D({},l),Vc(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Vt(n),fe(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(s(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,pr(a,l.precedence,t));return e.instance}function pr(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,o=n,u=0;u<a.length;u++){var f=a[u];if(f.dataset.precedence===e)o=f;else if(o!==n)break}o?o.parentNode.insertBefore(t,o.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function Yc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function Vc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var yr=null;
vendor: 13,586 bytes, line 83
83function Wh(t,e,l){if(yr===null){var a=new Map,n=yr=new Map;n.set(l,a)}else n=yr,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),n=0;n<l.length;n++){var o=l[n];if(!(o[Ma]||o[ee]||t==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var u=o.getAttribute(e)||"";u=t+u;var f=a.get(u);f?f.push(o):a.set(u,[o])}}return a}function $h(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function fp(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Fh(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Jo=null;function hp(){}function mp(t,e,l){if(Jo===null)throw Error(s(475));var a=Jo;if(e.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var n=Zn(l.href),o=t.querySelector(Ko(n));if(o){t=o._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=vr.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=o,Vt(o);return}o=t.ownerDocument||t,l=Ph(l),(n=Qe.get(n))&&Yc(l,n),o=o.createElement("link"),Vt(o);var u=o;u._p=new Promise(function(f,g){u.onload=f,u.onerror=g}),fe(o,"link",l),e.instance=o}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(a.count++,e=vr.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function gp(){if(Jo===null)throw Error(s(475));var t=Jo;return t.stylesheets&&t.count===0&&Xc(t,t.stylesheets),0<t.count?function(e){var l=setTimeout(function(){if(t.stylesheets&&Xc(t,t.stylesheets),t.unsuspend){var a=t.unsuspend;t.unsuspend=null,a()}},6e4);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(l)}}:null}function vr(){if(this.count--,this.count===0){if(this.stylesheets)Xc(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var br=null;function Xc(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,br=new Map,e.forEach(pp,t),br=null,vr.call(t))}function pp(t,e){if(!(e.state.loading&4)){var l=br.get(t);if(l)var a=l.get(null);else{l=new Map,br.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<n.length;o++){var u=n[o];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(l.set(u.dataset.precedence,u),a=u)}a&&l.set(null,a)}n=e.instance,u=n.getAttribute("data-precedence"),o=l.get(u)||a,o===a&&l.set(null,n),l.set(u,n),this.count++,a=vr.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),o?o.parentNode.insertBefore(n,o.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var Wo={$$typeof:_,Provider:null,Consumer:null,_currentValue:B,_currentValue2:B,_threadCount:0};function yp(t,e,l,a,n,o,u,f){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=eo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eo(0),this.hiddenUpdates=eo(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=o,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function Ih(t,e,l,a,n,o,u,f,g,S,N,k){return t=new yp(t,e,l,u,f,g,S,k),e=1,o===!0&&(e|=24),o=Ne(3,null,null,e),t.current=o,o.stateNode=t,e=Ts(),e.refCount++,t.pooledCache=e,e.refCount++,o.memoizedState={element:a,isDehydrated:l,cache:e},Rs(o),t}function tm(t){return t?(t=Cn,t):Cn}function em(t,e,l,a,n,o){n=tm(n),a.context===null?a.context=n:a.pendingContext=n,a=ta(e),a.payload={element:l},o=o===void 0?null:o,o!==null&&(a.callback=o),l=ea(t,a,e),l!==null&&(je(l,t,e),Do(l,t,e))}function lm(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Zc(t,e){lm(t,e),(t=t.alternate)&&lm(t,e)}function am(t){if(t.tag===13){var e=Sn(t,67108864);e!==null&&je(e,t,67108864),Zc(t,67108864)}}var xr=!0;function vp(t,e,l,a){var n=A.T;A.T=null;var o=q.p;try{q.p=2,Qc(t,e,l,a)}finally{q.p=o,A.T=n}}function bp(t,e,l,a){var n=A.T;A.T=null;var o=q.p;try{q.p=8,Qc(t,e,l,a)}finally{q.p=o,A.T=n}}function Qc(t,e,l,a){if(xr){var n=Kc(a);if(n===null)kc(t,e,a,wr,l),om(t,a);else if(wp(n,t,e,l,a))a.stopPropagation();else if(om(t,a),e&4&&-1<xp.indexOf(t)){for(;n!==null;){var o=Xl(n);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var u=vl(o.pendingLanes);if(u!==0){var f=o;for(f.pendingLanes|=2,f.entangledLanes|=2;u;){var g=1<<31-$t(u);f.entanglements[1]|=g,u&=~g}hl(o),(At&6)===0&&(nr=ge()+500,Vo(0))}}break;case 13:f=Sn(o,2),f!==null&&je(f,o,2),ir(),Zc(o,2)}if(o=Kc(a),o===null&&kc(t,e,a,wr,l),o===n)break;n=o}n!==null&&a.stopPropagation()}else kc(t,e,a,null,l)}}function Kc(t){return t=mn(t),Pc(t)}var wr=null;function Pc(t){if(wr=null,t=Vl(t),t!==null){var e=m(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=x(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return wr=t,null}function nm(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(si()){case Ul:return 2;case Fn:return 8;case nl:case ci:return 32;case Gl:return 268435456;default:return 32}default:return 32}}var Jc=!1,ma=null,ga=null,pa=null,$o=new Map,Fo=new Map,ya=[],xp="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 om(t,e){switch(t){case"focusin":case"focusout":ma=null;break;case"dragenter":case"dragleave":ga=null;break;case"mouseover":case"mouseout":pa=null;break;case"pointerover":case"pointerout":$o.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fo.delete(e.pointerId)}}function Io(t,e,l,a,n,o){return t===null||t.nativeEvent!==o?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:o,targetContainers:[n]},e!==null&&(e=Xl(e),e!==null&&am(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function wp(t,e,l,a,n){switch(e){case"focusin":return ma=Io(ma,t,e,l,a,n),!0;case"dragenter":return ga=Io(ga,t,e,l,a,n),!0;case"mouseover":return pa=Io(pa,t,e,l,a,n),!0;case"pointerover":var o=n.pointerId;return $o.set(o,Io($o.get(o)||null,t,e,l,a,n)),!0;case"gotpointercapture":return o=n.pointerId,Fo.set(o,Io(Fo.get(o)||null,t,e,l,a,n)),!0}return!1}function im(t){var e=Vl(t.target);if(e!==null){var l=m(e);if(l!==null){if(e=l.tag,e===13){if(e=x(l),e!==null){t.blockedOn=e,ts(t.priority,function(){if(l.tag===13){var a=Oe();a=lo(a);var n=Sn(l,a);n!==null&&je(n,l,a),Zc(l,a)}});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Sr(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Kc(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);hn=a,l.target.dispatchEvent(a),hn=null}else return e=Xl(l),e!==null&&am(e),t.blockedOn=l,!1;e.shift()}return!0}function rm(t,e,l){Sr(t)&&l.delete(e)}function Sp(){Jc=!1,ma!==null&&Sr(ma)&&(ma=null),ga!==null&&Sr(ga)&&(ga=null),pa!==null&&Sr(pa)&&(pa=null),$o.forEach(rm),Fo.forEach(rm)}function Cr(t,e){t.blockedOn===e&&(t.blockedOn=null,Jc||(Jc=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Sp)))}var Er=null;function sm(t){Er!==t&&(Er=t,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){Er===t&&(Er=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],n=t[e+2];if(typeof a!="function"){if(Pc(a||l)===null)continue;break}var o=Xl(l);o!==null&&(t.splice(e,3),e-=3,Ps(o,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function ti(t){function e(g){return Cr(g,t)}ma!==null&&Cr(ma,t),ga!==null&&Cr(ga,t),pa!==null&&Cr(pa,t),$o.forEach(e),Fo.forEach(e);for(var l=0;l<ya.length;l++){var a=ya[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<ya.length&&(l=ya[0],l.blockedOn===null);)im(l),l.blockedOn===null&&ya.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],o=l[a+1],u=n[pe]||null;if(typeof o=="function")u||sm(l);else if(u){var f=null;if(o&&o.hasAttribute("formAction")){if(n=o,u=o[pe]||null)f=u.formAction;else if(Pc(n)!==null)continue}else f=u.action;typeof f=="function"?l[a+1]=f:(l.splice(a,3),a-=3),sm(l)}}}function Wc(t){this._internalRoot=t}Tr.prototype.render=Wc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(s(409));var l=e.current,a=Oe();em(l,a,t,e,null,null)},Tr.prototype.unmount=Wc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;em(t.current,2,null,t,null,null),ir(),e[Yl]=null}};function Tr(t){this._internalRoot=t}Tr.prototype.unstable_scheduleHydration=function(t){if(t){var e=pi();t={blockedOn:null,target:t,priority:e};for(var l=0;l<ya.length&&e!==0&&e<ya[l].priority;l++);ya.splice(l,0,t),l===0&&im(t)}};var cm=i.version;if(cm!=="19.1.1")throw Error(s(527,cm,"19.1.1"));q.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(s(188)):(t=Object.keys(t).join(","),Error(s(268,t)));return t=C(e),t=t!==null?v(t):null,t=t===null?null:t.stateNode,t};var Cp={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:A,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Dr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Dr.isDisabled&&Dr.supportsFiber)try{ql=Dr.inject(Cp),Wt=Dr}catch{}}return Pn.createRoot=function(t,e){if(!d(t))throw Error(s(299));var l=!1,a="",n=Tf,o=Df,u=Mf,f=null;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(o=e.onCaughtError),e.onRecoverableError!==void 0&&(u=e.onRecoverableError),e.unstable_transitionCallbacks!==void 0&&(f=e.unstable_transitionCallbacks)),e=Ih(t,1,!1,null,null,l,a,n,o,u,f,null),t[Yl]=e.current,_c(t),new Wc(e)},Pn.hydrateRoot=function(t,e,l){if(!d(t))throw Error(s(299));var a=!1,n="",o=Tf,u=Df,f=Mf,g=null,S=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(o=l.onUncaughtError),l.onCaughtError!==void 0&&(u=l.onCaughtError),l.onRecoverableError!==void 0&&(f=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(g=l.unstable_transitionCallbacks),l.formState!==void 0&&(S=l.formState)),e=Ih(t,1,!0,e,l??null,a,n,o,u,f,g,S),e.context=tm(null),l=e.current,a=Oe(),a=lo(a),n=ta(a),n.callback=null,ea(l,n,a),l=a,e.current.lanes=l,Da(e,l),hl(e),t[Yl]=e.current,_c(t),new Tr(e)},Pn.version="19.1.1",Pn}var iu;function vm(){if(iu)return Ar.exports;iu=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}return r(),Ar.exports=ym(),Ar.exports}var Or=vm();const jr={root:"manus-previewer-root",contentRoot:"manus-previewer-content-root"};class bm{dialogRoot=null;setDialogRoot(i){this.dialogRoot=i}createOpener=(i,c)=>{const{singleton:s,closeWhenNextTrigger:d,closeBeforeDialog:m}=c||{};let x=[];const R=v=>{const D="single";if(s){const $=x.find(nt=>nt.id===D);if($)if(m)$.onDisposed();else return d&&$.onDisposed(),null}const j=document.createElement("div"),J=Or.createRoot(j);this.dialogRoot&&this.dialogRoot.append(j);const at=()=>{J.unmount(),j.remove(),x=x.filter($=>$.id!==D),v.onDisposed?.()};return x.push({id:D,onDisposed:at}
vendor: 9,412 bytes, line 83
83),J.render(h.jsx(i,{"data-loc":"src/helpers/dialogController.tsx:69",...v,onDisposed:at})),{dispose:at}};return v=>R({...v})}}const ei=new bm;var U=_r();function xm({size:r=18}){return h.jsx("svg",{"data-loc":"src/icons/PreviewIcon.tsx:3",width:r,height:r,viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsx("path",{"data-loc":"src/icons/PreviewIcon.tsx:10",d:"M15.75 2.75C15.75 2.33579 15.4142 2 15 2H3C2.58579 2 2.25 2.33579 2.25 2.75V10.25C2.25 10.6642 2.58579 11 3 11H15C15.4142 11 15.75 10.6642 15.75 10.25V2.75ZM8.25 7.85205L10.4517 6.49927L8.25 5.14795V7.85205ZM12.1223 6.5C12.1223 6.7243 12.0648 6.9451 11.9553 7.14087C11.8459 7.33651 11.6878 7.50104 11.4968 7.61841L8.74878 9.30591C8.54978 9.42791 8.32151 9.4947 8.08813 9.49927C7.85482 9.50383 7.62448 9.44634 7.4209 9.33228C7.21728 9.21816 7.04736 9.05178 6.92944 8.85034C6.81156 8.64892 6.74981 8.41942 6.75 8.18604V4.81104C6.75045 4.57796 6.81277 4.34911 6.93091 4.14819C7.04908 3.94724 7.21885 3.78142 7.42236 3.66772C7.62582 3.55406 7.85587 3.49678 8.08887 3.50146L8.17603 3.50586C8.34959 3.52093 8.51836 3.57062 8.67261 3.65161L8.74878 3.69482L11.4968 5.38159C11.6878 5.49896 11.8459 5.6635 11.9553 5.85913C12.0648 6.0549 12.1223 6.2757 12.1223 6.5ZM17.25 10.25C17.25 11.4926 16.2426 12.5 15 12.5H9.75V14H12C12.4142 14 12.75 14.3358 12.75 14.75C12.75 15.1642 12.4142 15.5 12 15.5H6C5.58579 15.5 5.25 15.1642 5.25 14.75C5.25 14.3358 5.58579 14 6 14H8.25V12.5H3C1.75736 12.5 0.75 11.4926 0.75 10.25V2.75C0.75 1.50736 1.75736 0.5 3 0.5H15C16.2426 0.5 17.25 1.50736 17.25 2.75V10.25Z",fill:"#34322D"})})}function ru(r){var i,c,s="";if(typeof r=="string"||typeof r=="number")s+=r;else if(typeof r=="object")if(Array.isArray(r)){var d=r.length;for(i=0;i<d;i++)r[i]&&(c=ru(r[i]))&&(s&&(s+=" "),s+=c)}else for(c in r)r[c]&&(s&&(s+=" "),s+=c);return s}function wm(){for(var r,i,c=0,s="",d=arguments.length;c<d;c++)(r=arguments[c])&&(i=ru(r))&&(s&&(s+=" "),s+=i);return s}const Br="-",Sm=r=>{const i=Em(r),{conflictingClassGroups:c,conflictingClassGroupModifiers:s}=r;return{getClassGroupId:x=>{const R=x.split(Br);return R[0]===""&&R.length!==1&&R.shift(),su(R,i)||Cm(x)},getConflictingClassGroupIds:(x,R)=>{const C=c[x]||[];return R&&s[x]?[...C,...s[x]]:C}}},su=(r,i)=>{if(r.length===0)return i.classGroupId;const c=r[0],s=i.nextPart.get(c),d=s?su(r.slice(1),s):void 0;if(d)return d;if(i.validators.length===0)return;const m=r.join(Br);return i.validators.find(({validator:x})=>x(m))?.classGroupId},cu=/^\[(.+)\]$/,Cm=r=>{if(cu.test(r)){const i=cu.exec(r)[1],c=i?.substring(0,i.indexOf(":"));if(c)return"arbitrary.."+c}},Em=r=>{const{theme:i,classGroups:c}=r,s={nextPart:new Map,validators:[]};for(const d in c)Lr(c[d],s,d,i);return s},Lr=(r,i,c,s)=>{r.forEach(d=>{if(typeof d=="string"){const m=d===""?i:uu(i,d);m.classGroupId=c;return}if(typeof d=="function"){if(Tm(d)){Lr(d(s),i,c,s);return}i.validators.push({validator:d,classGroupId:c});return}Object.entries(d).forEach(([m,x])=>{Lr(x,uu(i,m),c,s)})})},uu=(r,i)=>{let c=r;return i.split(Br).forEach(s=>{c.nextPart.has(s)||c.nextPart.set(s,{nextPart:new Map,validators:[]}),c=c.nextPart.get(s)}),c},Tm=r=>r.isThemeGetter,Dm=r=>{if(r<1)return{get:()=>{},set:()=>{}};let i=0,c=new Map,s=new Map;const d=(m,x)=>{c.set(m,x),i++,i>r&&(i=0,s=c,c=new Map)};return{get(m){let x=c.get(m);if(x!==void 0)return x;if((x=s.get(m))!==void 0)return d(m,x),x},set(m,x){c.has(m)?c.set(m,x):d(m,x)}}},Hr="!",Ur=":",Mm=Ur.length,Am=r=>{const{prefix:i,experimentalParseClassName:c}=r;let s=d=>{const m=[];let x=0,R=0,C=0,v;for(let $=0;$<d.length;$++){let nt=d[$];if(x===0&&R===0){if(nt===Ur){m.push(d.slice(C,$)),C=$+Mm;continue}if(nt==="/"){v=$;continue}}nt==="["?x++:nt==="]"?x--:nt==="("?R++:nt===")"&&R--}const D=m.length===0?d:d.substring(C),j=Rm(D),J=j!==D,at=v&&v>C?v-C:void 0;return{modifiers:m,hasImportantModifier:J,baseClassName:j,maybePostfixModifierPosition:at}};if(i){const d=i+Ur,m=s;s=x=>x.startsWith(d)?m(x.substring(d.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:x,maybePostfixModifierPosition:void 0}}if(c){const d=s;s=m=>c({className:m,parseClassName:d})}return s},Rm=r=>r.endsWith(Hr)?r.substring(0,r.length-1):r.startsWith(Hr)?r.substring(1):r,Nm=r=>{const i=Object.fromEntries(r.orderSensitiveModifiers.map(s=>[s,!0]));return s=>{if(s.length<=1)return s;const d=[];let m=[];return s.forEach(x=>{x[0]==="["||i[x]?(d.push(...m.sort(),x),m=[]):m.push(x)}),d.push(...m.sort()),d}},zm=r=>({cache:Dm(r.cacheSize),parseClassName:Am(r),sortModifiers:Nm(r),...Sm(r)}),_m=/\s+/,km=(r,i)=>{const{parseClassName:c,getClassGroupId:s,getConflictingClassGroupIds:d,sortModifiers:m}=i,x=[],R=r.trim().split(_m);let C="";for(let v=R.length-1;v>=0;v-=1){const D=R[v],{isExternal:j,modifiers:J,hasImportantModifier:at,baseClassName:$,maybePostfixModifierPosition:nt}=c(D);if(j){C=D+(C.length>0?" "+C:C);continue}let ct=!!nt,ht=s(ct?$.substring(0,nt):$);if(!ht){if(!ct){C=D+(C.length>0?" "+C:C);continue}if(ht=s($),!ht){C=D+(C.length>0?" "+C:C);continue}ct=!1}const St=m(J).join(":"),_=at?St+Hr:St,Y=_+ht;if(x.includes(Y))continue;x.push(Y);const H=d(ht,ct);for(let it=0;it<H.length;++it){const rt=H[it];x.push(_+rt)}C=D+(C.length>0?" "+C:C)}return C};function Om(){let r=0,i,c,s="";for(;r<arguments.length;)(i=arguments[r++])&&(c=du(i))&&(s&&(s+=" "),s+=c);return s}const du=r=>{if(typeof r=="string")return r;let i,c="";for(let s=0;s<r.length;s++)r[s]&&(i=du(r[s]))&&(c&&(c+=" "),c+=i);return c};function jm(r,...i){let c,s,d,m=x;function x(C){const v=i.reduce((D,j)=>j(D),r());return c=zm(v),s=c.cache.get,d=c.cache.set,m=R,R(C)}function R(C){const v=s(C);if(v)return v;const D=km(C,c);return d(C,D),D}return function(){return m(Om.apply(null,arguments))}}const Kt=r=>{const i=c=>c[r]||[];return i.isThemeGetter=!0,i},fu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,hu=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Bm=/^\d+\/\d+$/,Lm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hm=/\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$/,Um=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Gm=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ln=r=>Bm.test(r),dt=r=>!!r&&!Number.isNaN(Number(r)),Ll=r=>!!r&&Number.isInteger(Number(r)),Gr=r=>r.endsWith("%")&&dt(r.slice(0,-1)),ml=r=>Lm.test(r),Ym=()=>!0,Vm=r=>Hm.test(r)&&!Um.test(r),mu=()=>!1,Xm=r=>Gm.test(r),Zm=r=>qm.test(r),Qm=r=>!Q(r)&&!K(r),Km=r=>an(r,bu,mu),Q=r=>fu.test(r),ba=r=>an(r,xu,Vm),qr=r=>an(r,Fm,dt),gu=r=>an(r,yu,mu),Pm=r=>an(r,vu,Zm),li=r=>an(r,wu,Xm),K=r=>hu.test(r),Jn=r=>nn(r,xu),Jm=r=>nn(r,Im),pu=r=>nn(r,yu),Wm=r=>nn(r,bu),$m=r=>nn(r,vu),ai=r=>nn(r,wu,!0),an=(r,i,c)=>{const s=fu.exec(r);return s?s[1]?i(s[1]):c(s[2]):!1},nn=(r,i,c=!1)=>{const s=hu.exec(r);return s?s[1]?i(s[1]):c:!1},yu=r=>r==="position"||r==="percentage",vu=r=>r==="image"||r==="url",bu=r=>r==="length"||r==="size"||r==="bg-size",xu=r=>r==="length",Fm=r=>r==="number",Im=r=>r==="family-name",wu=r=>r==="shadow",tg=jm(()=>{const r=Kt("color"),i=Kt("font"),c=Kt("text"),s=Kt("font-weight"),d=Kt("tracking"),m=Kt("leading"),x=Kt("breakpoint"),R=Kt("container"),C=Kt("spacing"),v=Kt("radius"),D=Kt("shadow"),j=Kt("inset-shadow"),J=Kt("text-shadow"),at=Kt("drop-shadow"),$=Kt("blur"),nt=Kt("perspective"),ct=Kt("aspect"),ht=Kt("ease"),St=Kt("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],H=()=>[...Y(),K,Q],it=()=>["auto","hidden","clip","visible","scroll"],rt=()=>["auto","contain","none"],V=()=>[K,Q,C],xt=()=>[ln,"full","auto",...V()],Be=()=>[Ll,"none","subgrid",K,Q],te=()=>["auto",{span:["full",Ll,K,Q]},Ll,K,Q],Bt=()=>[Ll,"auto",K,Q],me=()=>["auto","min","max","fr",K,Q],Se=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Mt=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...V()],q=()=>[ln,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...V()],B=()=>[r,K,Q],bt=()=>[...Y(),pu,gu,{position:[K,Q]}],p=()=>["no-repeat",{repeat:["","x","y","space","round"]}],O=()=>["auto","cover","contain",Wm,Km,{size:[K,Q]}],X=()=>[Gr,Jn,ba],G=()=>["","none","full",v,K,Q],Z=()=>["",dt,Jn,ba],st=()=>["solid","dashed","dotted","double"],I=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],gt=()=>[dt,Gr,pu,gu],Tt=()=>["","none",$,K,Q],Jt=()=>["none",dt,K,Q],Ke=()=>["none",dt,K,Q],Ce=()=>[dt,K,Q],Pe=()=>[ln,"full",...V()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ml],breakpoint:[ml],color:[Ym],container:[ml],"drop-shadow":[ml],ease:["in","out","in-out"],font:[Qm],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ml],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ml],shadow:[ml],spacing:["px",dt],text:[ml],"text-shadow":[ml],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ln,Q,K,ct]}
vendor: 4,441 bytes, line 83
83],container:["container"],columns:[{columns:[dt,Q,K,R]}],"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:H()}],overflow:[{overflow:it()}],"overflow-x":[{"overflow-x":it()}],"overflow-y":[{"overflow-y":it()}],overscroll:[{overscroll:rt()}],"overscroll-x":[{"overscroll-x":rt()}],"overscroll-y":[{"overscroll-y":rt()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:xt()}],"inset-x":[{"inset-x":xt()}],"inset-y":[{"inset-y":xt()}],start:[{start:xt()}],end:[{end:xt()}],top:[{top:xt()}],right:[{right:xt()}],bottom:[{bottom:xt()}],left:[{left:xt()}],visibility:["visible","invisible","collapse"],z:[{z:[Ll,"auto",K,Q]}],basis:[{basis:[ln,"full","auto",R,...V()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[dt,ln,"auto","initial","none",Q]}],grow:[{grow:["",dt,K,Q]}],shrink:[{shrink:["",dt,K,Q]}],order:[{order:[Ll,"first","last","none",K,Q]}],"grid-cols":[{"grid-cols":Be()}],"col-start-end":[{col:te()}],"col-start":[{"col-start":Bt()}],"col-end":[{"col-end":Bt()}],"grid-rows":[{"grid-rows":Be()}],"row-start-end":[{row:te()}],"row-start":[{"row-start":Bt()}],"row-end":[{"row-end":Bt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":me()}],"auto-rows":[{"auto-rows":me()}],gap:[{gap:V()}],"gap-x":[{"gap-x":V()}],"gap-y":[{"gap-y":V()}],"justify-content":[{justify:[...Se(),"normal"]}],"justify-items":[{"justify-items":[...Mt(),"normal"]}],"justify-self":[{"justify-self":["auto",...Mt()]}],"align-content":[{content:["normal",...Se()]}],"align-items":[{items:[...Mt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Mt(),{baseline:["","last"]}]}],"place-content":[{"place-content":Se()}],"place-items":[{"place-items":[...Mt(),"baseline"]}],"place-self":[{"place-self":["auto",...Mt()]}],p:[{p:V()}],px:[{px:V()}],py:[{py:V()}],ps:[{ps:V()}],pe:[{pe:V()}],pt:[{pt:V()}],pr:[{pr:V()}],pb:[{pb:V()}],pl:[{pl:V()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":V()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":V()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],w:[{w:[R,"screen",...q()]}],"min-w":[{"min-w":[R,"screen","none",...q()]}],"max-w":[{"max-w":[R,"screen","none","prose",{screen:[x]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",c,Jn,ba]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,K,qr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Gr,Q]}],"font-family":[{font:[Jm,Q,i]}],"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:[d,K,Q]}],"line-clamp":[{"line-clamp":[dt,"none",K,qr]}],leading:[{leading:[m,...V()]}],"list-image":[{"list-image":["none",K,Q]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,Q]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...st(),"w
83avy"]}],"text-decoration-thickness":[{decoration:[dt,"from-font","auto",K,ba]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[dt,"auto",K,Q]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K,Q]}],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",K,Q]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:bt()}],"bg-repeat":[{bg:p()}],"bg-size":[{bg:O()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ll,K,Q],radial:["",K,Q],conic:[Ll,K,Q]},$m,Pm]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:X()}],"gradient-via-pos":[{via:X()}],"gradient-to-pos":[{to:X()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:Z()}],"border-w-x":[{"border-x":Z()}],"border-w-y":[{"border-y":Z()}],"border-w-s":[{"border-s":Z()}],"border-w-e":[{"border-e":Z()}],"border-w-t":[{"border-t":Z()}],"border-w-r":[{"border-r":Z()}],"border-w-b":[{"border-b":Z()}],"border-w-l":[{"border-l":Z()}],"divide-x":[{"divide-x":Z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...st(),"hidden","none"]}],"divide-style":[{divide:[...st(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}
vendor: 5,700 bytes, line 83
83],"divide-color":[{divide:B()}],"outline-style":[{outline:[...st(),"none","hidden"]}],"outline-offset":[{"outline-offset":[dt,K,Q]}],"outline-w":[{outline:["",dt,Jn,ba]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",D,ai,li]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",j,ai,li]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[dt,ba]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":Z()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",J,ai,li]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[dt,K,Q]}],"mix-blend":[{"mix-blend":[...I(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":I()}],"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":[dt]}],"mask-image-linear-from-pos":[{"mask-linear-from":gt()}],"mask-image-linear-to-pos":[{"mask-linear-to":gt()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":gt()}],"mask-image-t-to-pos":[{"mask-t-to":gt()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":gt()}],"mask-image-r-to-pos":[{"mask-r-to":gt()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":gt()}],"mask-image-b-to-pos":[{"mask-b-to":gt()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":gt()}],"mask-image-l-to-pos":[{"mask-l-to":gt()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":gt()}],"mask-image-x-to-pos":[{"mask-x-to":gt()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":gt()}],"mask-image-y-to-pos":[{"mask-y-to":gt()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[K,Q]}],"mask-image-radial-from-pos":[{"mask-radial-from":gt()}],"mask-image-radial-to-pos":[{"mask-radial-to":gt()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"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":Y()}],"mask-image-conic-pos":[{"mask-conic":[dt]}],"mask-image-conic-from-pos":[{"mask-conic-from":gt()}],"mask-image-conic-to-pos":[{"mask-conic-to":gt()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:bt()}],"mask-repeat":[{mask:p()}],"mask-size":[{mask:O()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,Q]}],filter:[{filter:["","none",K,Q]}],blur:[{blur:Tt()}],brightness:[{brightness:[dt,K,Q]}],contrast:[{contrast:[dt,K,Q]}],"drop-shadow":[{"drop-shadow":["","none",at,ai,li]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",dt,K,Q]}],"hue-rotate":[{"hue-rotate":[dt,K,Q]}],invert:[{invert:["",dt,K,Q]}],saturate:[{saturate:[dt,K,Q]}],sepia:[{sepia:["",dt,K,Q]}],"backdrop-filter":[{"backdrop-filter":["","none",K,Q]}],"backdrop-blur":[{"backdrop-blur":Tt()}],"backdrop-brightness":[{"backdrop-brightness":[dt,K,Q]}],"backdrop-contrast":[{"backdrop-contrast":[dt,K,Q]}],"backdrop-grayscale":[{"backdrop-grayscale":["",dt,K,Q]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dt,K,Q]}],"backdrop-invert":[{"backdrop-invert":["",dt,K,Q]}],"backdrop-opacity":[{"backdrop-opacity":[dt,K,Q]}],"backdrop-saturate":[{"backdrop-saturate":[dt,K,Q]}],"backdrop-sepia":[{"backdrop-sepia":["",dt,K,Q]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":V()}],"border-spacing-x":[{"border-spacing-x":V()}],"border-spacing-y":[{"border-spacing-y":V()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",K,Q]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[dt,"initial",K,Q]}],ease:[{ease:["linear","initial",ht,K,Q]}],delay:[{delay:[dt,K,Q]}],animate:[{animate:["none",St,K,Q]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[nt,K,Q]}],"perspective-origin":[{"perspective-origin":H()}],rotate:[{rotate:Jt()}],"rotate-x":[{"rotate-x":Jt()}],"rotate-y":[{"rotate-y":Jt()}],"rotate-z":[{"rotate-z":Jt()}],scale:[{scale:Ke()}],"scale-x":[{"scale-x":Ke()}],"scale-y":[{"scale-y":Ke()}],"scale-z":[{"scale-z":Ke()}],"scale-3d":["scale-3d"],skew:[{skew:Ce()}],"skew-x":[{"skew-x":Ce()}],"skew-y":[{"skew-y":Ce()}],transform:[{transform:[K,Q,"","none","gpu","cpu"]}],"transform-origin":[{origin:H()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Pe()}],"translate-x":[{"translate-x":Pe()}],"translate-y":[{"translate-y":Pe()}],"translate-z":[{"translate-z":Pe()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}
vendor: 4,534 bytes, line 83
83],"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",K,Q]}],"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":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"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",K,Q]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[dt,Jn,ba,qr]}],stroke:[{stroke:["none",...B()]}],"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"]}});class eg{cn(...i){return tg(wm(i))}createReadySource(){let i=!1,c=[];return{get ready(){return i},markReady:()=>
83{i||(i=!0,c.forEach(({resolve:s})=>s()),c=[])},waitReady:async()=>i?!0:new Promise((d,m)=>{c.push({resolve:d,reject:m})}),onReady(s){this.waitReady().then(s)},clear:()=>{i=!1,c.forEach(({reject:s})=>s()),c=[]},clearWithoutPromise:()=>{i=!1}}}onDOMReady(i){document.readyState==="loading"?document.addEventListener("DOMContentLoaded",i):i()}}const Ae=new eg;class lg{readySource=Ae.createReadySource();iframeElement=null;currentEndpoint=null;messageQueue=[];inited=!1;sendMessage(i){if(i.to!==this.currentEndpoint){if(i.to==="content"){if(!this.iframeElement?.contentWindow)return;this.iframeElement.contentWindow.postMessage(this.packMessage(i),"*")}i.to==="container"&&window.parent.postMessage(this.packMessage(i),"*")}}listenMessage(i){const c=s=>{this.sendMessage({type:"getMessage",to:"container",payload:{messageType:i.type}}),i.callback(s)};return this.messageQueue.push({type:i.type,callback:c}),()=>{this.messageQueue=this.messageQueue.filter(s=>s.callback!==c)}}updateIframeElement(i){this.iframeElement=i}init(i){this.inited||(this.inited=!0,this.currentEndpoint=i.currentEndpoint,window.addEventListener("message",c=>{const s=c.data;s.type==="SpacePreviewerChannel"&&this.messageQueue.forEach(d=>{d.type===s.payload.type&&s.payload.to===this.currentEndpoint&&d.callback(s.payload.payload)})}))}packMessage(i){return{type:"SpacePreviewerChannel",payload:{...i,from:this.currentEndpoint}}}}const Pt=new lg;function ag(){const r=()=>{const i=window.location.href;Pt.sendMessage({type:"reportNotfound",to:"container",payload:{url:i}})};return h.jsxs("button",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:16",id:"not-found-fix-button",onClick:r,style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",gap:"8px",background:"#1a1a19",color:"#fff",fontWeight:"500",fontSize:"14px",height:"36px",borderRadius:"10px",padding:"10px 12px"},children:[h.jsxs("svg",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:34",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",className:"w-4 h-4",children:[h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:46",d:"M12 2v4"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:47",d:"m16.2 7.8 2.9-2.9"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:48",d:"M18 12h4"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:49",d:"m16.2 16.2 2.9 2.9"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:50",d:"M12 18v4"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:51",d:"m4.9 19.1 2.9-2.9"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:52",d:"M2 12h4"}),h.jsx("path",{"data-loc":"src/modules/NotFoundButton/NotFoundButton.tsx:53",d:"m4.9 4.9 2.9 2.9"})]}),"Fix URL"]})}class ng{initialHref=!1;lastHref="";originalPushState;originalReplaceState;init(){this.initialHref||(this.initialHref=!0,window.addEventListener("popstate",()=>{this.notifyContainer()}),window.addEventListener("hashchange",()=>{this.notifyContainer()}),window.addEventListener("unload",()=>{Pt.sendMessage({type:"onUnload",to:"container",payload:{url:window.location.href}})}),this.originalPushState=window.history.pushState.bind(window.history),this.originalReplaceState=window.history.replaceState.bind(window.history),window.history.pushState=(...i)=>{this.originalPushState(...i),this.notifyContainer()},window.history.replaceState=(...i)=>{this.originalReplaceState(...i),this.notifyContainer()},Pt.listenMessage({type:"refresh",callback:i=>{const{path:c}=i;c?window.location.href=c:window.location.reload()}}),this.checkContentRoutesInited().then(()=>{this.notifyContainer()}))}checkContentRoutesInited(i=5e3){return new Promise(c=>{const s=Date.now(),d=setInterval(()=>{window.__WOUTER_ROUTES__?(clearInterval(d),c(!0)):Date.now()-s>=i&&(clearInterval(d),c(!1))},20)})}notifyContainer(){const i=window.location.href;if(this.lastHref===i)return;this.lastHref=i;const c=window.__WOUTER_ROUTES__||[],s=Array.isArray(c)?c:[];Pt.sendMessage({type:"urlChange",to:"container",payload:{href:i,allSupportedUrls:s}}),Pt.readySource.waitReady().then(()=>{this.checkIsNotfoundButtonGroup()})}checkIsNotfoundButtonGroup(){const i=document.getElementById("not-found-button-group");if(i){const c="not-found-button-container";if(document.getElementById(c))return;const s=document.createElement("div");s.id=c,i.appendChild(s),Or.createRoot(s).render(U.createElement(ag))}}}const Su=new ng;function og(){const r=window.__MANUS_HOST_DEV__??!1,i=window.location.hostname==="localhost"||window.location.hostname==="127.0.0.1",[c,s]=U.useState(!1),[d,m]=U.useState(!1);return U.useEffect(()=>{Pt.readySource.waitReady().then(()=>{s(!1)}),Su.checkContentRoutesInited().then(()=>{setTimeout(()=>{Pt.readySource.ready||s(!0)},1200)})},[]),!r||!c||i||d?null:h.jsxs("div",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:49",className:"fixed bottom-0 left-0 right-0 z-[999999] w-full py-2 px-2 pr-4 flex items-center gap-2 bg-[#fdf4e0]",children:[h.jsxs("div",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:50",className:"flex items-center justify-center gap-2 pointer-events-none flex-1",children:[h.jsxs("div",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:51",className:"px-2 py-1 bg-[rgba(239,162,1,0.12)] rounded-full items-center gap-2 hidden md:flex",children:[h.jsx("div",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:52",className:"w-[18px] h-[18px] text-[var(--icon-primary,#34322D)]",children:h.jsx(xm,{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:53",size:18})}),h.jsx("span",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:55",className:"text-sm font-medium leading-5 text-[var(--text-primary,#34322D)]",children:"Preview mode"})]}),h.jsx("span",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:59",className:"text-sm font-normal leading-5 text-[var(--text-primary,#34322D)]",children:"This page is not live and cannot be shared directly. Please publish to get a public link."})]}),h.jsx("button",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:64",className:"w-4 h-4 flex-shrink-0 cursor-pointer",onClick:()=>{m(!0)},children:h.jsx("svg",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:70",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.jsx("path",{"data-loc":"src/modules/Alert/PreviewerModeAlert.tsx:77",d:"M12 4L4 12M4 4L12 12",stroke:"var(--icon-tertiary, #858481)",strokeWidth:"1.5",strokeLinecap:"round"})})})]})}class Cu{emitter;event;handler;destroyed=!1;listenBy;constructor(i,c,s,d){this.event=i,this.handler=c,this.emitter=s,this.listenBy=d}unregister(){this.emitter.off(this.event,this),this._destroy()}_destroy(){return this.destroyed?!1:(this.handler=null,this.emitter=null,this.destroyed=!0,!0)}}class ig{_events={};on(i,c){if(!c)throw new TypeError("invalid handler! --EventEmitter");this._events[i]||(this._events[i]=[]);const s=new Cu(i,c,this,null);return this._events[i]?.push(s),s}listenBy(i,c,s){if(!s)throw new TypeError("invalid handler! --EventEmitter");this._events[c]||(this._events[c]=[]);const d=new Cu(c,s,this,i);return this._events[c]?.push(d),d}once(i,c){const s=this.on(i,d=>{c(d),s.unregister()});return s}emit(i,c=null){if(!this._events[i])return!1;for(const s of this._events[i])s.destroyed||s.handler.call(this,c);return!0}off(i,c){if(!this._events[i])return!1;if(c){for(let s=this._events[i],d=0;d<s.length;d++){const m=s[d];if(m===c)return this._events[i]=this._events[i]?.filter(x=>x!==m),this._events[i]?.length===0&&delete this._events[i],!0}return console.error(c,this),console.error(`Cannot find listener of ${i} --EventEmitter`),!1}for(let s=this._events[i],d=0;d<s.length;d++){const m=s[d];this._events[i][d]=null,m?._destroy()}return delete this._events[i],!0}stopListenBy(i){for(const c in this._events)this._events[c]=this._events[c]?.filter(s=>s.listenBy===i?(s._destroy(),!1):!0)}removeAllListeners(){for(const i in this._events){const c=this._events[i];if(c){for(let s=c,d=0;d<s.length;d++)c[d]=null;this._events[i]=null}}}}const rg="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let sg=r=>crypto.getRandomValues(new Uint8Array(r)),cg=(r,i,c)=>
83{let s=(2<<Math.log2(r.length-1))-1,d=-~(1.6*s*i/r.length);return(m=i)=>{let x="";for(;;){let R=c(d),C=d|0;for(;C--;)if(x+=r[R[C]&s]||"",x.length>=m)return x}}},ug=(r,i=21)=>cg(r,i|0,sg);function Eu(){const r=rg.replace(/[-_]/g,"");return ug(r,22)()}class dg{readySource=Ae.createReadySource();eventEmitter=new ig;init(){const i=console.error;console.error=(...c)=>{const s=this.parseConsoleError(...c),d=this.checkShouldIgnoreError(s);if(s&&!d){const R=new Error().stack?.split(`
84`)?.slice(2).join(`
85`);s.callStack=s.callStack||R,this.readySource.waitReady().then(()=>{this.eventEmitter.emit("caughtError",s)})}i(...c)},window.addEventListener("error",c=>{const s=this.parseWindowError(c),d=this.checkShouldIgnoreError(s);s&&!d&&this.readySource.waitReady().then(()=>{this.eventEmitter.emit("caughtError",s)})})}formatConsoleArgs(...i){const c={message:"",callStack:""};if(i.length===0)return c;const s=i[0];if(typeof s=="string"){let d=1;const m=/%[sdj%]/g;for(c.message=s.replace(m,x=>{if(x==="%%")return"%";if(d>=i.length)return x;const R=i[d++];switch(x){case"%s":return String(R);case"%d":return String(Number(R));case"%j":try{return JSON.stringify(R)}catch{return"[Circular]"}default:return x}});d<i.length;d++){const x=i[d];x instanceof Error?(c.callStack=c.callStack||x.stack||"",c.message+=" "+x.message):c.message+=" "+String(x)}}else for(const d of i)d instanceof Error?(c.callStack=c.callStack||d.stack||"",c.message+=(c.message?" ":"")+d.message):c.message+=(c.message?" ":"")+String(d);return c}parseConsoleError(...i){const{message:c,callStack:s}=this.formatConsoleArgs(...i);return{id:Eu(),from:"console",message:c.trim()||"Unknown error",callStack:s,time:new Date().toISOString(),timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}}parseWindowError(i){return{id:Eu(),from:"window",message:i.message||"Unknown error",callStack:i.error?.stack||`at ${i.filename}:${i.lineno}:${i.colno}`,time:new Date().toISOString(),timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone}}checkShouldIgnoreError(i){return!!(!i||i.message.includes("This will cause a hydration error.")||i.message.includes("validateDOMNesting"))}}function ot(r){const i=U.useRef(r);i.current=r;const c=U.useRef(null);return c.current||(c.current=function(...s){return i.current.apply(this,s)}),c.current}function Tu(r){return r.split(`
86`).filter(c=>c.trim()).map(c=>{const s=c.match(/at\s+(?:(.+?)\s+\()?(.+?):(\d+):(\d+)\)?$/);if(s){const[,d,m,x,R]=s;return{raw:c,functionName:d?.trim(),fileName:m?.trim(),lineNumber:parseInt(x,10),columnNumber:parseInt(R,10)}}return{raw:c}})}function fg(r){const i=r.split(`
87`),c=i[0]||r,s=[];for(let d=1;d<i.length;d++){const m=i[d].trim();if(m.startsWith("at "))s.push(m);else if(s.length>0)break}return s.length>0?{mainMessage:c,stackFrames:Tu(s.join(`
88`))}:{mainMessage:r,stackFrames:[]}}function hg(r){if(!r)return"";try{return new URL(r).pathname.split("/").pop()||r}catch{return r.split("/").pop()||r}}function mg({frames:r}){return h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:10",className:"px-4 pt-0 pb-3 space-y-1.5 text-sm",children:r.map((i,c)=>h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:12",className:"font-mono",children:i.fileName||i.functionName?h.jsxs(h.Fragment,{children:[h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:15",className:"text-gray-800",children:i.functionName||"(anonymous)"}),i.fileName&&h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:19",className:"text-gray-600",children:["@"," ",h.jsxs("a",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:21",href:i.fileName,target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:underline",children:[hg(i.fileName),i.lineNumber&&h.jsxs(h.Fragment,{children:[":",i.lineNumber,i.columnNumber&&`:${i.columnNumber}`]})]})]})]}):h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/StackView.tsx:39",className:"text-gray-600",children:i.raw})},c))})}function gg(){const[r,i]=U.useState(!1),[c,s]=U.useState([]),[d,m]=U.useState(0),[x,R]=U.useState(!1),[C,v]=U.useState("message"),D=c[d]||c[0],j=U.useMemo(()=>D?.message?fg(D.message):{mainMessage:"",stackFrames:[]},[D?.message]),J=U.useMemo(()=>{const _=[...j.stackFrames];if(D?.callStack){const Y=Tu(D.callStack);Y.length>0&&_.length!==Y.length?_.push(...Y):_.length===0&&_.push(...Y)}return _},[j.stackFrames,D?.callStack]),at=ot(()=>{s([]),m(0),R(!1)}),$=ot(()=>{R(!0)}),nt=ot(()=>{R(!1),v("message")}),ct=ot(()=>{m(_=>_===c.length-1?0:_+1)}),ht=ot(()=>{m(_=>_===0?c.length-1:_-1)}),St=ot(_=>{Pt.sendMessage({payload:{errorItems:_?[_]:c,url:window.location.href,userInfo:localStorage.getItem("manus-runtime-user-info")||void 0},to:"container",type:"reportError"}),at()});return U.useEffect(()=>{const _=Yr.eventEmitter.on("caughtError",Y=>{s(H=>[Y,...H])});return Pt.readySource.waitReady().then(()=>{i(!0)}),Yr.readySource.markReady(),()=>{_.unregister()}},[]),!D||!r?null:x?h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:118",className:"fixed inset-0 z-[999999] flex items-center justify-center bg-black/50",onClick:nt,children:h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:122",className:"bg-white rounded-xl max-w-[600px] w-[90%] max-h-[80vh] flex flex-col shadow-[0_4px_24px_rgba(0,0,0,0.15)]",onClick:_=>_.stopPropagation(),children:[h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:127",className:"flex items-start justify-between p-6 pb-4 shrink-0",children:[h.jsx("h3",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:128",className:"m-0 text-lg font-semibold text-black",children:D.from==="console"?"Console Error":"Uncaught Error"}),h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:133",onClick:nt,className:"bg-transparent border-none text-2xl cursor-pointer p-0 text-gray-400 leading-none hover:text-gray-600",children:"×"})]}),h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:142",className:"overflow-y-auto flex-1 min-h-0",children:h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:143",className:"px-4 py-0",children:h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:145",className:"rounded-lg overflow-hidden bg-red-50",children:[h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:147",className:"flex items-start gap-2 px-4 py-3 cursor-pointer hover:bg-red-100 transition-colors",onClick:()=>v(C==="message"?"stack":"message"),children:[h.jsx("span",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:153",className:"text-red-600 text-sm shrink-0 mt-0.5",children:C==="message"?"▼":"▶"}),h.jsx("p",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:156",className:"text-red-800 text-sm leading-relaxed font-medium break-words whitespace-pre-wrap m-0 flex-1",children:j.mainMessage})]}),C==="stack"&&J.length>0&&h.jsx(mg,{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:163",frames:J})]})})}),h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:170",className:Ae.cn("flex flex-col xs:flex-row items-stretch xs:items-center justify-between gap-3 p-4 xs:p-6 xs:pt-4 shrink-0"),children:c.length>1?h.jsxs(h.Fragment,{children:[h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:177",className:"flex items-center gap-3",children:[h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:178",onClick:ht,className:"bg-gray-100 border-none rounded-lg w-8 h-8 flex items-center justify-center cursor-pointer text-gray-600 text-lg hover:bg-gray-200",children:"‹"}),h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:184",onClick:ct,className:"bg-gray-100 border-none rounded-lg w-8 h-8 flex items-center justify-center cursor-pointer text-gray-600 text-lg hover:bg-gray-200",children:"›"}),h.jsxs("span",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:190",className:"text-sm text-gray-600 whitespace-nowrap",children:[d+1," of ",c.length," errors"]})]}),h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:194",className:"flex gap-2",children:[h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:195",onClick:()=>{St(D)},className:"bg-white text-gray-700 rounded-lg px-4 xs:px-5 py-2 border border-gray-300 cursor-pointer text-sm font-medium hover:bg-gray-50 flex-1 xs:flex-none",children:"Fix it"}),h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:203",onClick:()=>{St()},className:"bg-black text-white rounded-lg px-4 xs:px-5 py-2 border-none cursor-pointer text-sm font-medium hover:bg-gray-800 flex-1 xs:flex-none",children:"Fix All"})]})]}):h.jsxs(h.Fragment,{children:[h.jsx("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:215",className:"hidden xs:block"}),h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:216",onClick:()=>{St(D)},className:"bg-black text-white rounded-lg px-4 xs:px-5 py-2 border-none cursor-pointer text-sm font-medium hover:bg-gray-800 w-full xs:w-auto",children:"Fix it"})]})})]})}):h.jsxs("div",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:234",className:"fixed bottom-8 left-8 z-[999999] bg-red-500 text-white rounded-3xl px-5 py-3 flex items-center gap-3 shadow-[0_4px_12px_rgba(0,0,0,0.15)] cursor-pointer text-base font-medium",onClick:$,children:[h.jsx("span",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:238",className:"text-xl font-bold",children:"ⓘ"}),h.jsxs("span",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:239",children:[c.length," error",c.length>
881?"s":""]}),h.jsx("button",{"data-loc":"src/modules/ErrorCatcher/ErrorToast.tsx:242",onClick:_=>{_.stopPropagation(),at()},className:"bg-transparent border-none text-white text-xl cursor-pointer p-0 leading-none hover:opacity-80",children:"×"})]})}const Yr=new dg;function pg(){return h.jsxs("div",{"data-loc":"src/ContentRoot.tsx:8",id:jr.contentRoot,className:"z-[999999] relative",ref:r=>{r&&ei.setDialogRoot(r)},children:[h.jsx(og,{"data-loc":"src/ContentRoot.tsx:17"}),h.jsx(gg,{"data-loc":"src/ContentRoot.tsx:18"})]})}class yg{init(){Pt.listenMessage({type:"setCookie",callback:i=>{document.cookie=i.cookie}})}}const vg=new yg,bg=2147483646,Du="data-manus-selector-canvas",al="data-manus-selector-input",Mu=2.5,xg=[8,4],wg="#0081f2",Sg="rgba(0, 0, 0, 0)",Au="rgba(0, 122, 255, 0.08)",Cg=2;function Ru(){return Math.min(window.devicePixelRatio||1,Cg)}function ni(r,i){const c=r.match(/^([0-9.]+)/);if(!c||!c[1])return 0;const s=Number.parseFloat(c[1]),d=Math.min(i.width,i.height)/2;return r.includes("%")?Math.min(s/100*Math.min(i.width,i.height),d):/rem|em/.test(r)?Math.min(s*16,d):Math.min(s,d)}class Eg{hoverTarget=null;activeTarget=null;canvas=null;context=null;host=null;currentDpr=1;frameRequested=!1;resizeScheduled=!1;exclusionRects=new Map;handleResize=()=>{this.resizeScheduled||(this.resizeScheduled=!0,setTimeout(()=>{this.resizeScheduled=!1,!(!this.canvas||!this.context)&&(this.updateCanvasDimensions(),this.scheduleRender())}))};handleScroll=()=>{this.scheduleRender()};mount(){if(this.canvas)return;const i=document.createElement("div");i.setAttribute(Du,"true");const c=i.attachShadow({mode:"open"});c.innerHTML=`<canvas style="position:fixed;top:0;left:0;z-index:${bg};pointer-events:none" aria-hidden="true"></canvas>`;const s=c.querySelector("canvas");if(!s)return;const d=s.getContext("2d");d&&(this.host=i,this.canvas=s,this.context=d,document.documentElement.appendChild(i),this.updateCanvasDimensions(),window.addEventListener("resize",this.handleResize,{passive:!0}),window.addEventListener("scroll",this.handleScroll,{passive:!0}),this.scheduleRender())}unmount(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("scroll",this.handleScroll),this.clear(),this.host&&this.host.remove(),this.canvas=null,this.context=null,this.host=null}setHoverTarget(i){this.hoverTarget!==i&&(this.hoverTarget=i,this.scheduleRender())}setActiveTarget(i){this.activeTarget!==i&&(this.activeTarget=i,this.scheduleRender())}addExclusionRect(i,c){this.exclusionRects.set(i,c),this.scheduleRender()}removeExclusionRect(i){this.exclusionRects.delete(i),this.scheduleRender()}clear(){this.hoverTarget=null,this.activeTarget=null,this.scheduleRender()}scheduleRender(){!this.canvas||!this.context||this.frameRequested||(this.frameRequested=!0,requestAnimationFrame(()=>{this.frameRequested=!1,this.render()}))}updateCanvasDimensions(){if(!this.canvas||!this.context)return;const i=Ru(),{innerWidth:c,innerHeight:s}=window;this.canvas.style.width=`${c}px`,this.canvas.style.height=`${s}px`,this.canvas.width=c*i,this.canvas.height=s*i,typeof this.context.resetTransform=="function"?this.context.resetTransform():this.context.setTransform(1,0,0,1,0,0),this.context.scale(i,i),this.currentDpr=i}render(){if(!this.canvas||!this.context)return;const i=Ru();Math.abs(i-this.currentDpr)>.01&&this.updateCanvasDimensions();const c=this.context,s=this.canvas;c.clearRect(0,0,s.width,s.height),c.setLineDash([]);const d=this.getDrawableElement(this.activeTarget),m=this.getDrawableElement(this.hoverTarget);if(!(!d&&!m)){if(c.save(),this.exclusionRects.size>0){c.beginPath(),c.rect(0,0,s.width,s.height);for(const x of this.exclusionRects.values())c.rect(x.left,x.top,x.width,x.height);c.clip("evenodd")}d&&Nu(s,c,d,{fillColor:Sg}),m&&m!==d&&Nu(s,c,m,{lineDash:xg}),c.restore()}}getDrawableElement(i){if(!i)return null;const c=i.getBoundingClientRect();return c.width<=0||c.height<=0?null:i}}function Nu(r,i,c,s={lineWidth:Mu,fillColor:Au}){const d=s.rect??c.getBoundingClientRect();if(d.width<=0||d.height<=0)return;s.lineDash?i.setLineDash(s.lineDash):i.setLineDash([]);const m=window.getComputedStyle(c),{borderTopLeftRadius:x,borderTopRightRadius:R,borderBottomLeftRadius:C,borderBottomRightRadius:v}=m,D={top:{left:ni(x,d),right:ni(R,d)},bottom:{left:ni(C,d),right:ni(v,d)}};i.lineWidth=s.lineWidth??Mu,i.strokeStyle=wg,i.lineCap="round",i.lineJoin="round",i.beginPath(),D.top.left>0||D.top.right>0||D.bottom.right>0||D.bottom.left>0?(i.moveTo(d.left+D.top.left,d.top),i.lineTo(d.left+d.width-D.top.right,d.top),i.arcTo(d.left+d.width,d.top,d.left+d.width,d.top+D.top.right,D.top.right),i.lineTo(d.left+d.width,d.top+d.height-D.bottom.right),i.arcTo(d.left+d.width,d.top+d.height,d.left+d.width-D.bottom.right,d.top+d.height,D.bottom.right),i.lineTo(d.left+D.bottom.left,d.top+d.height),i.arcTo(d.left,d.top+d.height,d.left,d.top+d.height-D.bottom.left,D.bottom.left),i.lineTo(d.left,d.top+D.top.left),i.arcTo(d.left,d.top,d.left+D.top.left,d.top,D.top.left)):i.rect(
88d.left,d.top,d.width,d.height),i.fillStyle=s.fillColor??Au,i.fill(),i.shadowColor="rgba(0, 122, 255, 0.3)",i.shadowBlur=4,i.shadowOffsetX=0,i.shadowOffsetY=0,i.stroke(),i.shadowColor="transparent",i.shadowBlur=0,Tg(r,i,c,d)}function Tg(r,i,c,s){const d=c.tagName.toLowerCase(),m=8,x=4,R=10,C=8;i.font=`600 ${R}px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif`;const D=i.measureText(d).width,j={x:s.left,y:0,width:D+m*2,height:R+x*2+2};j.y=s.top-j.height-C,j.y<0&&(j.y=s.top+s.height+C),j.y>s.top+document.body.clientHeight-C&&(j.y=C),j.x<C?j.x=C:j.x+j.width>r.width-C&&(j.x=r.width-j.width-C),i.setLineDash([]),i.fillStyle="#0081f2",i.beginPath(),i.roundRect(j.x,j.y,j.width,j.height,6),i.fill(),i.shadowColor="transparent",i.shadowBlur=0,i.shadowOffsetX=0,i.shadowOffsetY=0,i.strokeStyle="rgba(0, 81, 213, 0.3)",i.lineWidth=1,i.stroke(),i.shadowColor="rgba(0, 0, 0, 0.25)",i.shadowBlur=2,i.shadowOffsetX=0,i.shadowOffsetY=1,i.fillStyle="#fff",i.textAlign="center",i.textBaseline="middle",i.fillText(d,j.x+j.width/2,j.y+j.height/2),i.shadowColor="transparent",i.shadowBlur=0,i.shadowOffsetX=0,i.shadowOffsetY=0}function Dg(r={}){const{onKeyDown:i,onCompositionStart:c,onCompositionEnd:s}=r,d=U.useRef(!1),m=U.useRef(null),x=U.useRef(null),R=ot(j=>{m.current&&(clearTimeout(m.current),m.current=null),x.current&&(clearTimeout(x.current),x.current=null),d.current=!0,c?.(j)}),C=ot(j=>{m.current=setTimeout(()=>{x.current=setTimeout(()=>{d.current=!1})}),s?.(j)}),v=ot(j=>{if(d.current&&(j.key==="Escape"||j.key==="Enter"&&!j.shiftKey)){j.stopPropagation();return}i?.(j)}),D=ot(()=>d.current);return{onCompositionStart:R,onCompositionEnd:C,onKeyDown:v,isComposing:D}}const Mg=new Set(["role","name","aria-label","rel","href"]);function Ag(r,i){let c=Mg.has(r);c||=r.startsWith("data-")&&Wn(r);let s=Wn(i)&&i.length<100;return s||=i.startsWith("#")&&Wn(i.slice(1)),c&&s}function Rg(r){return Wn(r)}function Ng(r){return Wn(r)}function zg(r){return!0}function Vr(r,i){if(r.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if(r.tagName.toLowerCase()==="html")return"html";const c={root:document.body,idName:Rg,className:Ng,tagName:zg,attr:Ag,timeoutMs:1e3,seedMinLength:3,optimizedMinLength:2,maxNumberOfPathChecks:1/0},s=new Date,d={...c,...i},m=Bg(d.root,c);let x,R=0;for(const v of _g(r,d,m)){if(new Date().getTime()-s.getTime()>d.timeoutMs||R>=d.maxNumberOfPathChecks){const j=Og(r,m);if(!j)throw new Error(`Timeout: Can't find a unique selector after ${d.timeoutMs}ms`);return $n(j)}if(R++,Qr(v,m)){x=v;break}}if(!x)throw new Error("Selector was not found.");const C=[...Ou(x,r,d,m,s)];return C.sort(Xr),C.length>0?$n(C[0]):$n(x)}function*_g(r,i,c){const s=[];let d=[],m=r,x=0;for(;m&&m!==c;){const R=kg(m,i);for(const C of R)C.level=x;if(s.push(R),m=m.parentElement,x++,d.push(...ku(s)),x>=i.seedMinLength){d.sort(Xr);for(const C of d)yield C;d=[]}}d.sort(Xr);for(const R of d)yield R}function Wn(r){if(/^[a-z\-]{3,}$/i.test(r)){const i=r.split(/-|[A-Z]/);for(const c of i)if(c.length<=2||/[^aeiou]{4,}/i.test(c))return!1;return!0}return!1}function kg(r,i){const c=[],s=r.getAttribute("id");s&&i.idName(s)&&c.push({name:"#"+CSS.escape(s),penalty:0});for(let x=0;x<r.classList.length;x++){const R=r.classList[x];i.className(R)&&c.push({name:"."+CSS.escape(R),penalty:1})}for(let x=0;x<r.attributes.length;x++){const R=r.attributes[x];i.attr(R.name,R.value)&&c.push({name:`[${CSS.escape(R.name)}="${CSS.escape(R.value)}"]`,penalty:2})}const d=r.tagName.toLowerCase();if(i.tagName(d)){c.push({name:d,penalty:5});const x=Zr(r,d);x!==void 0&&c.push({name:_u(d,x),penalty:10})}const m=Zr(r);return m!==void 0&&c.push({name:jg(d,m),penalty:50}),c}function $n(r){let i=r[0],c=i.name;for(let s=1;s<r.length;s++){const d=r[s].level||0;i.level===d-1?c=`${r[s].name} > ${c}`:c=`${r[s].name} ${c}`,i=r[s]}return c}function zu(r){return r.map(i=>i.penalty).reduce((i,c)=>i+c,0)}function Xr(r,i){return zu(r)-zu(i)}function Zr(r,i){const c=r.parentNode;if(!c)return;let s=c.firstChild;if(!s)return;let d=0;for(;s&&(s.nodeType===Node.ELEMENT_NODE&&(i===void 0||s.tagName.toLowerCase()===i)&&d++,s!==r);)s=s.nextSibling;return d}function Og(r,i){let c=0,s=r;const d=[];for(;s&&s!==i;){const m=s.tagName.toLowerCase(),x=Zr(s,m);
88if(x===void 0)return;d.push({name:_u(m,x),penalty:NaN,level:c}),s=s.parentElement,c++}if(Qr(d,i))return d}function jg(r,i){return r==="html"?"html":`${r}:nth-child(${i})`}function _u(r,i){return r==="html"?"html":`${r}:nth-of-type(${i})`}function*ku(r,i=[]){if(r.length>0)for(let c of r[0])yield*ku(r.slice(1,r.length),i.concat(c));else yield i}function Bg(r,i){return r.nodeType===Node.DOCUMENT_NODE?r:r===i.root?r.ownerDocument:r}function Qr(r,i){const c=$n(r);switch(i.querySelectorAll(c).length){case 0:throw new Error(`Can't select any node with this selector: ${c}`);case 1:return!0;default:return!1}}function*Ou(r,i,c,s,d){if(r.length>2&&r.length>c.optimizedMinLength)for(let m=1;m<r.length-1;m++){if(new Date().getTime()-d.getTime()>c.timeoutMs)return;const R=[...r];R.splice(m,1),Qr(R,s)&&s.querySelector($n(R))===i&&(yield R,yield*Ou(R,i,c,s,d))}}const Lg="#0c8ce9",Hl="data-manus-element-id",Hg=["app","root"],Ug=["P","H1","H2","H3","H4","H5","H6","A","LI","TD","TH","EM","SPAN","LABEL","SMALL","STRONG","BUTTON"];function Kr(r){return r instanceof HTMLElement||r instanceof SVGSVGElement}function Gg(r){if(!r)return!1;const i=r.getBoundingClientRect(),c=window.getComputedStyle(r);return i.width===0||i.height===0||c.opacity==="0"||c.display==="none"||c.visibility==="hidden"||r instanceof HTMLElement&&r.offsetParent===null}function qg(r){if(!r)return!1;const i=r.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.bottom<=window.innerHeight&&i.right<=window.innerWidth}function Yg(r){if(!r)return!0;const i=r.getBoundingClientRect();return i.bottom<0||i.top>window.innerHeight||i.right<0||i.left>window.innerWidth}function xa(r){if(r.nodeType===Node.TEXT_NODE)return!0;if(r.nodeType===Node.ELEMENT_NODE&&r instanceof HTMLElement){const i=getComputedStyle(r);if(r.childNodes.length){for(const c of Array.from(r.childNodes))if(c.nodeType===Node.TEXT_NODE&&c.textContent?.trim())return!0}return Ug.includes(r.tagName)||["inline","inline-block"].includes(i.display)}return!1}function Vg(){return[1e7,-1e3,-4e3,-8e3,-1e11].join("").replace(/[018]/g,r=>(parseInt(r)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>parseInt(r)/4).toString(16))}function Pr(r){return r?r.getAttribute(Hl)??"":""}function Jr(r){if(!r)return"";const i=Pr(r);if(i)return i;const c=Vg();return r.setAttribute(Hl,c),c}function Xg(r){const i=document.querySelector(`[${Hl}="${r.id}"]`);if(i)return i;try{const c=document.querySelector(r.selector);if(c)return c.setAttribute(Hl,r.id),c}catch(c){console.warn("Invalid selector in getElementByIdOrSelector:",r.selector,c)}return null}function ju(r,i){if(!(!r||!xa(r))&&r instanceof HTMLElement)if(i){if(r.isContentEditable)return;r.contentEditable="plaintext-only",r.style.setProperty("cursor","text","important"),r.style.setProperty("text-wrap","wrap","important"),r.style.setProperty("caret-color",Lg,"important"),r.focus()}else r.removeAttribute("contenteditable"),r.style.removeProperty("cursor"),r.style.removeProperty("text-wrap"),r.style.removeProperty("caret-color"),r.blur()}function gl(r,i){const c=r[i];return c?typeof c=="object"&&"baseVal"in c?c.baseVal||"":typeof c=="string"?c:i==="className"?r.getAttribute("class")||"":r.getAttribute(i)||"":""}function oi(r){r&&(r._srcOriginal=r._srcOriginal??gl(r,"src"),r._hrefOriginal=r._hrefOriginal??gl(r,"href"),r._innerHTMLOriginal=r._innerHTMLOriginal??r.innerHTML,r._textContentOriginal=r._textContentOriginal??r.textContent??"",r._classNameOriginal=r._classNameOriginal??gl(r,"className"),r._manusImportantProperties||(r._manusImportantProperties=new Set))}function Wr(r){if(r){if(["IMG","VIDEO"].includes(r.tagName)&&gl(r,"src")!==r._srcOriginal){const i=r._srcOriginal??"";r instanceof SVGElement?r.setAttribute("src",i):r.src=i}if(xa(r)&&r.textContent!==r._textContentOriginal&&(r.innerHTML=r._innerHTMLOriginal||""),"href"in r&&gl(r,"href")!==r._hrefOriginal){const i=r._hrefOriginal??"";r instanceof SVGElement?r.setAttribute("href",i):r.href=i}if(gl(r,"className")!==r._classNameOriginal){const i=r._classNameOriginal??"";r instanceof SVGElement?r.setAttribute("class",i):r instanceof HTMLElement&&(r.className=i)}if(r._manusImportantProperties?.size){for(const i of r._manusImportantProperties)r.style.removeProperty(i);r._manusImportantProperties.clear()}}}function Zg(r){const i=getComputedStyle(r);return{color:i.color,backgroundColor:i.backgroundColor,width:i.width,height:i.height,display:i.display,objectFit:i.objectFit,fontSize:i.fontSize,fontStyle:i.fontStyle,fontWeight:i.fontWeight,fontFamily:i.fontFamily,textAlign:i.textAlign,textDecoration:i.textDecoration,borderRadius:i.borderRadius,borderWidth:i.borderWidth,borderStyle:i.borderStyle,borderColor:i.borderColor,opacity:i.opacity,marginLeft:i.marginLeft,marginRight:i.marginRight,marginTop:i.marginTop,marginBottom:i.marginBottom,paddingLeft:i.paddingLeft,paddingRight:i.paddingRight,paddingTop:i.paddingTop,paddingBottom:i.paddingBottom}}function Qg(r,i,c){if(!r)return;const s=i.split(/(?=[A-Z])/).join("-").toLowerCase();c?(r.style.setProperty(s,c,"important"),i==="height"&&r.style.setProperty("min-height","auto","important"),r._manusImportantProperties||(r._manusImportantProperties=new Set),r._manusImportantProperties.add(s),i==="height"&&r._manusImportantProperties.add("min-height")):(r.style.removeProperty(s),r._manusImportantProperties?.delete(s),i==="height"&&(r.style.removeProperty("min-height"),r._manusImportantProperties?.delete("min-height")))}function $r(r){if(!r)throw new Error("Target element is required");return oi(r),Jr(r),{id:Pr(r),selector:Vr(r,{seedMinLength:3,optimizedMinLength:2}),tagName:r.tagName.toLowerCase(),isText:xa(r),isImage:r.tagName==="IMG",isVideo:r.tagName==="VIDEO",isCanvas:r.tagName==="CANVAS",isLink:r.tagName==="A",style:Zg(r),src:gl(r,"src"),href:gl(r,"href"),innerHTML:r.innerHTML,textContent:r.textContent||"",className:gl(r,"className"),comment:r._comment||"",window:{innerWidth:window.innerWidth,innerHeight:window.innerHeight},jsxLoc:r.getAttribute("data-loc")||void 0}}function Kg(r){r&&(qg(r)||r.scrollIntoView({behavior:"smooth",block:"center"}))}function Bu(r){const i=r.getBoundingClientRect();return{x:i.left+i.width/2,y:i.top+i.height/2}}function Pg(r,i,c){switch(c){case"up":return i.y<r.y-0;case"down":return i.y>r.y+0;case"left":return i.x<r.x-0;case"right":return i.x>r.x+0}}function Lu(r,i){return r.contains(i)&&r!==i}function Hu(r){let i=0,c=r.parentElement;for(;c;)i++,c=c.parentElement;return i}function Jg(r,i,c,s,d){const m=s.x-i.x,x=s.y-i.y,R=Math.sqrt(m*m+x*x);let C=0;switch(d){case"up":case"down":C=Math.abs(m);break;case"left":case"right":C=Math.abs(x);break}let v=0;Lu(c,r)&&(v+=1e4),Lu(r,c)&&(v+=5e3);const D=Math.abs(Hu(c)-Hu(r));return v+=D*100,R+C*1.5+v}function Wg(r,i){const c=document.querySelectorAll("*"),s=[];for(const d of Array.from(c))!(d instanceof HTMLElement)&&!(d instanceof SVGSVGElement)||r&&d===r||Kr(d)&&(Gg(d)||i&&d instanceof HTMLElement&&i(d)||["SCRIPT","STYLE"].includes(d.tagName)||s.push(d));return s}function $g(r,i,c){const s=Bu(r),d=Wg(r,c);let m=null,x=1/0;for(const R of d){const C=Bu(R);if(!Pg(s,C,i))continue;const v=Jg(r,s,R,C,i);v<x&&(x=v,m=R)}return m}function Fg(r){if(!r)return!1;const i=r.tagName;if(["HTML","BODY","HEAD"].includes(i))return!1;if(r instanceof HTMLElement){const c=r.id;if(Hg.includes(c))return!1}return!0}function Ig(r){if(!r.parentElement)return null;const i=r.parentElement,c=Jr(i),s=Vr(i,{seedMinLength:3,optimizedMinLength:2});let d=null,m=null;const x=r.nextElementSibling;return x&&(d=Jr(x),m=Vr(x,{seedMinLength:3,optimizedMinLength:2})),{parentId:c,parentSelector:s,nextSiblingId:d,nextSiblingSelector:m,outerHTML:r.outerHTML,comment:r._comment}}function Uu(r){let i=document.querySelector(`[${Hl}="${r.parentId}"]`);if(!i)try{i=document.querySelector(r.parentSelector),i&&i.setAttribute(Hl,r.parentId)}catch(m){return console.warn("Failed to find parent element for restoration:",m),null}if(!i)return console.warn("Parent element not found for restoration"),null;const c=document.createElement("div");c.innerHTML=r.outerHTML;const s=c.firstElementChild;if(!s)return console.warn("Failed to parse outerHTML for restoration"),null;let d=null;if(r.nextSiblingId&&(d=document.querySelector(`[${Hl}="${r.nextSiblingId}"]`),!d&&r.nextSiblingSelector))try{d=document.querySelector(r.nextSiblingSelector),d&&d.setAttribute(Hl,r.nextSiblingId)}catch(m){console.warn("Failed to find next sibling for restoration:",m)}return d&&d.parentElement===i?i.insertBefore(s,d):i.appendChild(s),r.comment&&(s._c
88omment=r.comment),s}const ft=r=>{const i=Number.parseInt(r);return Number.isNaN(i)?0:i},pl=r=>{if(!r||r==="transparent")return"transparent";const i=r.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)/);if(i){const c=Number.parseInt(i[1]).toString(16).padStart(2,"0"),s=Number.parseInt(i[2]).toString(16).padStart(2,"0"),d=Number.parseInt(i[3]).toString(16).padStart(2,"0");return`#${c}${s}${d}`}return r};function wa({label:r,children:i,isOpen:c,onToggle:s}){return h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:18",style:{borderBottom:"1px solid var(--border-main)"},className:"last:border-b-0",children:[h.jsxs("button",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:24",onClick:s,className:"w-full flex items-center justify-between py-2.5 px-3 hover:bg-[var(--fill-tsp-white-light)] active:opacity-80 transition-all",children:[h.jsx("span",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:28",className:"text-sm text-[var(--text-primary)]",children:r}),h.jsx("svg",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:29",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:Ae.cn("text-[var(--icon-tertiary)] transition-transform duration-200",c?"rotate-180":""),children:h.jsx("polyline",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:43",points:"6 9 12 15 18 9"})})]}),h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:46",className:"grid transition-all duration-200 ease-in-out overflow-hidden",style:{gridTemplateRows:c?"1fr":"0fr",opacity:c?1:0},children:h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:53",className:"min-h-0",children:h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/CollapsibleGroup.tsx:54",className:"px-3 pb-3 pt-0 space-y-2.5",children:i})})})]})}const t0={background:"var(--fill-tsp-white-main)",MozAppearance:"textfield"},e0="w-full text-sm px-2.5 py-1.5 rounded-[10px] border border-transparent text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all cursor-ew-resize [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none";function xe({value:r,onChange:i,placeholder:c="",min:s,step:d=1,className:m=e0,style:x=t0,leftLabel:R}){const[C,v]=U.useState(!1),[D,j]=U.useState(!1),J=U.useRef(0),at=U.useRef(0),$=U.useRef(null),nt=U.useRef(i),ct=U.useRef(d),ht=U.useRef(s);U.useEffect(()=>{nt.current=i,ct.current=d,ht.current=s},[i,d,s]);const St=Y=>{if(document.activeElement===$.current)return;j(!0),J.current=Y.clientX;const H=parseFloat(r)||0;at.current=H};U.useEffect(()=>{if(!D&&!C)return;const Y=it=>{if(!C&&D){Math.abs(it.clientX-J.current)>3&&(v(!0),j(!1),document.body.style.cursor="ew-resize",document.body.style.userSelect="none",$.current?.blur());return}if(C){const rt=it.clientX-J.current,V=Math.round(rt/2)*ct.current;let xt=at.current+V;ht.current!==void 0&&xt<ht.current&&(xt=ht.current),nt.current(String(xt))}},H=()=>{v(!1),j(!1),document.body.style.cursor="",document.body.style.userSelect=""};return document.addEventListener("mousemove",Y),document.addEventListener("mouseup",H),()=>{document.removeEventListener("mousemove",Y),document.removeEventListener("mouseup",H)}},[C,D]);const _=h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/DraggableInput.tsx:116",ref:$,type:"number",min:s,step:d,value:r,onChange:Y=>i(Y.target.value),onMouseDown:St,placeholder:c,style:x,className:R?`${m} pl-7`:m});return R?h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/DraggableInput.tsx:132",className:"relative",children:[h.jsx("span",{"data-loc":"src/modules/DomSelector/ControlPanel/DraggableInput.tsx:133",className:"absolute left-2.5 top-1/2 -translate-y-1/2 text-sm text-[var(--text-tertiary)] pointer-events-none",children:R}),_]}):_}function l0(r){const[i,c]=U.useState("padding"),s=d=>{c(m=>m===d?null:d)};return h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:39",style:{borderTop:"1px solid var(--border-main)"},children:[h.jsx(wa,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:44",label:"Padding",isOpen:i==="padding",onToggle:()=>s("padding"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:49",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:50",min:0,step:1,value:r.paddingTop,onChange:r.onPaddingTopChange,placeholder:"0",leftLabel:"T"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:58",min:0,step:1,value:r.paddingRight,onChange:r.onPaddingRightChange,placeholder:"0",leftLabel:"R"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:66",min:0,step:1,value:r.paddingBottom,onChange:r.onPaddingBottomChange,placeholder:"0",leftLabel:"B"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:74",min:0,step:1,value:r.paddingLeft,onChange:r.onPaddingLeftChange,placeholder:"0",leftLabel:"L"})]})}),h.jsx(wa,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:85",label:"Margin",isOpen:i==="margin",onToggle:()=>s("margin"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:90",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:91",step:1,value:r.marginTop,onChange:r.onMarginTopChange,placeholder:"0",leftLabel:"T"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:98",step:1,value:r.marginRight,onChange:r.onMarginRightChange,placeholder:"0",leftLabel:"R"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:105",step:1,value:r.marginBottom,onChange:r.onMarginBottomChange,placeholder:"0",leftLabel:"B"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:112",step:1,value:r.marginLeft,onChange:r.onMarginLeftChange,placeholder:"0",leftLabel:"L"})]})}),h.jsx(wa,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:122",label:"Dimensions",isOpen:i==="dimensions",onToggle:()=>s("dimensions"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:127",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:128",min:0,step:1,value:r.width,onChange:r.onWidthChange,placeholder:"0",leftLabel:"W"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/LayoutPanel.tsx:136",min:0,step:1,value:r.height,onChange:r.onHeightChange,placeholder:"0",leftLabel:"H"})]})})]})}function Fr({value:r,onChange:i}){const c=U.useRef(null),s=m=>
88!m||m==="transparent"?"#ffffff":m.startsWith("#")||m.startsWith("#")?m:"#ffffff",d=()=>{c.current?.click()};return h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ColorInput.tsx:25",className:"relative flex items-center",children:[h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/ColorInput.tsx:26",type:"text",value:r,onChange:m=>i(m.target.value),onClick:d,placeholder:"#000000",className:"w-full text-sm px-2.5 py-1.5 pl-10 rounded-[10px] border border-transparent bg-[var(--fill-tsp-white-main)] text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all cursor-pointer"}),h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ColorInput.tsx:34",className:"absolute left-2.5 pointer-events-none",children:h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ColorInput.tsx:35",className:"w-5 h-5 rounded border border-black/20 overflow-hidden shadow-sm",style:{backgroundColor:r,boxShadow:"inset 0 1px 2px rgba(0,0,0,0.1)"},children:h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/ColorInput.tsx:42",ref:c,type:"color",value:s(r),onChange:m=>i(m.target.value),className:"w-[150%] h-[150%] cursor-pointer border-0 -m-[25%] opacity-0 pointer-events-auto",title:"Pick a color"})})})]})}const a0={background:"var(--fill-tsp-white-main)"},n0="w-full text-sm px-2.5 py-1.5 rounded-[10px] border border-transparent text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all",on="w-full text-sm px-2.5 py-1.5 rounded-[10px] border border-transparent text-[var(--text-primary)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all cursor-pointer appearance-none",rn={background:"var(--fill-tsp-white-main)",backgroundImage:`url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E")`,backgroundPosition:"right 0.5rem center",backgroundSize:"16px 16px",backgroundRepeat:"no-repeat",paddingRight:"2rem"};function o0(r){const[i,c]=U.useState("colors"),s=d=>{c(m=>m===d?null:d)};return h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:70",style:{borderTop:"1px solid var(--border-main)"},children:[h.jsx(wa,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:75",label:"Colors",isOpen:i==="colors",onToggle:()=>s("colors"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:80",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[r.result.isText&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:82",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:83",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Text color"}),h.jsx(Fr,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:86",value:r.color,onChange:r.onColorChange})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:89",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:90",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Backgroun
88d"}),h.jsx(Fr,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:93",value:r.backgroundColor,onChange:r.onBackgroundColorChange})]})]})}),r.result.isText&&h.jsxs(wa,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:102",label:"Typography",isOpen:i==="typography",onToggle:()=>s("typography"),children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:107",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:108",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:109",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Font size"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:112",min:0,step:1,value:r.fontSize,onChange:r.onFontSizeChange,placeholder:"px"})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:120",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:121",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Font weight"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:124",value:r.fontWeight,onChange:d=>r.onFontWeightChange(d.target.value),style:rn,className:on,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:130",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:131",value:"100",children:"Thin (100)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:132",value:"200",children:"Extra Light (200)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:133",value:"300",children:"Light (300)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:134",value:"400",children:"Normal (400)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:135",value:"500",children:"Medium (500)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:136",value:"600",children:"Semi Bold (600)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:137",value:"700",children:"Bold (700)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:138",value:"800",children:"Extra Bold (800)"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:139",value:"900",children:"Black (900)"})]})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:143",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:144",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Font family"}),h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:147",type:"text",value:r.fontFamily,onChange:d=>r.onFontFamilyChange(d.target.value),placeholder:"e.g., Arial, sans-serif",style:a0,className:n0})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:156",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:157",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:158",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Text align"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:161",value:r.textAlign,onChange:d=>r.onTextAlignChange(d.target.value),style:rn,className:on,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:167",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:168",value:"left",children:"Left"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:169",value:"center",children:"Center"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:170",value:"right",children:"Right"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:171",value:"justify",children:"Justify"})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:174",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:175",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Text decoration"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:178",value:r.textDecoration,onChange:d=>r.onTextDecorationChange(d.target.value),style:rn,className:on,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:184",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:185",value:"none",children:"None"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:186",value:"underline",children:"Underline"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:187",value:"overline",children:"Overline"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:188",value:"line-through",children:"Line Through"})]})]})]})]}),h.jsx(wa,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:195",label:"Border",isOpen:i==="border",onToggle:()=>s("border"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:200",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:201",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:202",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Border color"}),h.jsx(Fr,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:205",value:r.borderColor,onChange:r.onBorderColorChange})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:210",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:211",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Radius"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:214",min:0,step:1,value:r.borderRadius,onChange:r.onBorderRadiusChange,placeholder:"px"})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:222",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:223",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Border style"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:226",value:r.borderStyle,onChange:d=>r.onBorderStyleChange(d.target.value),style:rn,className:on,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:232",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:233",value:"none",children:"None"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:234",value:"solid",children:"Solid"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:235",value:"dashed",children:"Dashed"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:236",value:"dotted",children:"Dotted"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:237",value:"double",children:"Double"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:238",value:"groove",children:"Groove"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:239",value:"ridge",children:"Ridge"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:240",value:"inset",children:"Inset"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:241",value:"outset",children:"Outset"})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:244",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:245",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Border weight"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:248",min:0,step:1,value:r.borderWidth,onChange:r.onBorderWidthChange,placeholder:"px"})]})]})}),h.jsx(wa,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:259",label:"Display",isOpen:i==="display",onToggle:()=>s("display"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:264",className:"grid grid-cols-2 gap-x-2 gap-y-3",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:265",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:266",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Behavior"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:269",value:r.display,onChange:d=>r.onDisplayChange(d.target.value),style:rn,className:on,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:275",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:276",value:"block",children:"Block"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:277",value:"inl
88ine",children:"Inline"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:278",value:"inline-block",children:"Inline Block"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:279",value:"flex",children:"Flex"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:280",value:"inline-flex",children:"Inline Flex"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:281",value:"grid",children:"Grid"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:282",value:"inline-grid",children:"Inline Grid"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:283",value:"none",children:"None (Hidden)"})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:286",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:287",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Opacity"}),h.jsx(xe,{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:290",min:0,step:.1,value:r.opacity,onChange:r.onOpacityChange,placeholder:"0-1"})]}),(r.result.isImage||r.result.isVideo)&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:299",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:300",className:"text-xs text-[var(--text-tertiary)] mb-1.5 block",children:"Object fit"}),h.jsxs("select",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:303",value:r.objectFit,onChange:d=>r.onObjectFitChange(d.target.value),style:rn,className:on,children:[h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:309",value:"",children:"Default"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:310",value:"contain",children:"Contain"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:311",value:"cover",children:"Cover"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:312",value:"fill",children:"Fill"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:313",value:"none",children:"None"}),h.jsx("option",{"data-loc":"src/modules/DomSelector/ControlPanel/StylesPanel.tsx:314",value:"scale-down",children:"Scale Down"})]})]})]})})]})}const ii=8,we=16,Sa=320,Gu=600;function i0(r){const i=U.useRef(null),c=U.useRef(null),s=U.useRef(null),d=U.useRef(!1),[m,x]=U.useState(0),[R,C]=U.useState(0),[v,D]=U.useState(!1),[j,J]=U.useState("styles"),[at,$]=U.useState(""),[nt,ct]=U.useState(""),[ht,St]=U.useState(""),[_,Y]=U.useState(""),[H,it]=U.useState(""),[rt,V]=U.useState(""),[xt,Be]=U.useState(""),[te,Bt]=U.useState(""),[me,Se]=U.useState(""),[Mt,A]=U.useState(""),[q,B]=U.useState(""),[bt,p]=U.useState(""),[O,X]=U.useState(""),[G,Z]=U.useState(""),[st,I]=U.useState(""),[gt,Tt]=U.useState(""),[Jt,Ke]=U.useState(""),[Ce,Pe]=U.useState(""),[yl,sn]=U.useState(""),[Ca,ri]=U.useState(""),[ge,si]=U.useState(""),[Ul,Fn]=U.useState(""),[nl,ci]=U.useState(""),[Gl,ui]=U.useState(""),[Ea,ql]=U.useState(""),[Wt,Je]=U.useState(""),[$t,di]=U.useState(""),[Ta,fi]=U.useState(""),L=U.useMemo(()=>$r(r.targetElement),[r.targetElement]),cn=ot(M=>{const tt=r.targetElement;tt&&(tt.textContent!==null&&(tt.textContent=M),r.highlighter.scheduleRender())}),vl=ot(M=>{const tt=r.targetElement;tt&&("src"in tt&&(tt instanceof SVGElement?tt.setAttribute("src",M):typeof tt.src=="string"&&(tt.src=M)),r.highlighter.scheduleRender())}),un=ot(M=>{const tt=r.targetElement;tt&&("href"in tt&&(tt instanceof SVGElement?tt.setAttribute("href",M):typeof tt.href=="string"&&(tt.href=M)),r.highlighter.scheduleRender())}),Dt=ot((M,tt)=>{const Ot=r.targetElement;if(!Ot)return;const le=M.split(/(?=[A-Z])/).join("-").toLowerCase();tt?Ot.style.setProperty(le,tt,"important"):Ot.style.removeProperty(le),r.highlighter.scheduleRender()}),In=ot(()=>{d.current=!0,Wr(r.targetElement),r.onDisposed()}),to=ot(()=>{r.onDisposed()}),hi=ot(async()=>{const M=at.trim(),tt=L.comment,Ot=nt!==L.textContent,le=ht!==L.src,Ee=_!==L.href,ae=M!==tt,Le=pl(L.style.color),He=pl(L.style.backgroundColor),Ql=ft(L.style.fontSize).toString(),xl=ft(L.style.borderRadius).toString(),Xt=ft(L.style.paddingTop).toString(),il=ft(L.style.paddingRight).toString(),ve=ft(L.style.paddingBottom).toString(),re=ft(L.style.paddingLeft).toString(),rl=ft(L.style.marginTop).toString(),wl=ft(L.style.marginRight).toString(),dn=ft(L.style.marginBottom).toString(),se=ft(L.style.marginLeft).toString(),Kl=ft(L.style.width).toString(),Na=ft(L.style.height).toString(),Pl=L.style.fontWeight,$e=L.style.fontFamily,za=L.style.textAlign,_a=L.style.textDecoration,Fe=L.style.display,fn=L.style.opacity,ka=L.style.objectFit,Oa=ft(L.style.borderWidth).toString(),ja=L.style.borderStyle,Si=pl(L.style.borderColor),Ci=H!==Le,Ba=rt!==He,hn=xt!==Ql,mn=te!==xl,Sl=me!==Xt,Cl=Mt!==il,io=q!==ve,gn=bt!==re,ro=O!==rl,Jl=G!==wl,Ue=st!==dn,pn=gt!==se,Wl=Jt!==Kl,Ie=Ce!==Na,yn=yl!==Pl,La=Ca!==$e,so=ge!==za,Ha=Ul!==_a,Ua=nl!==Fe,co=Gl!==fn,ce=Ea!==ka,sl=Wt!==Oa,Ga=$t!==ja,$l=Ta!==Si,Ei=Ci||Ba||hn||mn||Sl||Cl||io||gn||ro||Jl||Ue||pn||Wl||Ie||yn||La||so||Ha||Ua||co||ce||sl||Ga||$l;if(!(Ot||le||Ee||Ei||ae))return;const uo={textContent:Ot?{original:L.textContent,modified:nt}:void 0,src:le?{original:L.src,modified:ht}:void 0,href:Ee?{original:L.href,modified:_}:void 0,comment:ae?{original:tt,modified:M}:void 0,style:Ei?{...Ci&&{color:{original:Le,modified:H}},...Ba&&{backgroundColor:{original:He,modified:rt}},...hn&&{fontSize:{original:`${Ql}px`,modified:`${xt}px`}},...mn&&{borderRadius:{original:`${xl}px`,modified:`${te}px`}},...Sl&&{paddingTop:{original:`${Xt}px`,modified:`${me}px`}},...Cl&&{paddingRight:{original:`${il}px`,modified:`${Mt}px`}},...io&&{paddingBottom:{original:`${ve}px`,modified:`${q}px`}},...gn&&{paddingLeft:{original:`${re}px`,modified:`${bt}px`}},...ro&&{marginTop:{original:`${rl}px`,modified:`${O}px`}},...Jl&&{marginRight:{original:`${wl}px`,modified:`${G}px`}},...Ue&&{marginBottom:{original:`${dn}px`,modified:`${st}px`}},...pn&&{marginLeft:{original:`${se}px`,modified:`${gt}px`}},...Wl&&{width:{original:`${Kl}px`,modified:`${Jt}px`}},...Ie&&{height:{original:`${Na}px`,modified:`${Ce}px`}},...yn&&{fontWeight:{original:Pl,modified:yl}},...La&&{fontFamily:{original:$e,modified:Ca}},...so&&{textAlign:{original:za,modified:ge}},...Ha&&{textDecoration:{original:_a,modified:Ul}},...Ua&&{display:{original:Fe,modified:nl}}
88,...co&&{opacity:{original:fn,modified:Gl}},...ce&&{objectFit:{original:ka,modified:Ea}},...sl&&{borderWidth:{original:`${Oa}px`,modified:`${Wt}px`}},...Ga&&{borderStyle:{original:ja,modified:$t}},...$l&&{borderColor:{original:Si,modified:Ta}}}:void 0};M?r.targetElement._comment=M:r.targetElement._comment&&delete r.targetElement._comment,r.onSaveChanges({element:L,changes:uo,screenshot:null})}),eo=ot(M=>{ct(M),cn(M)}),Da=ot(M=>{St(M),vl(M)}),Ir=ot(M=>{Y(M),un(M)}),mi=ot(M=>{it(M),Dt("color",M)}),gi=ot(M=>{V(M),Dt("backgroundColor",M)}),lo=ot(M=>{Be(M),Dt("fontSize",M?`${M}px`:"")}),ao=ot(M=>{Bt(M),Dt("borderRadius",M?`${M}px`:"")}),pi=ot(M=>{Se(M),Dt("paddingTop",M?`${M}px`:"")}),ts=ot(M=>{B(M),Dt("paddingBottom",M?`${M}px`:"")}),ol=ot(M=>{A(M),Dt("paddingRight",M?`${M}px`:"")}),ee=ot(M=>{p(M),Dt("paddingLeft",M?`${M}px`:"")}),pe=ot(M=>{X(M),Dt("marginTop",M?`${M}px`:"")}),Yl=ot(M=>{Z(M),Dt("marginRight",M?`${M}px`:"")}),no=ot(M=>{I(M),Dt("marginBottom",M?`${M}px`:"")}),es=ot(M=>{Tt(M),Dt("marginLeft",M?`${M}px`:"")}),ls=ot(M=>{Ke(M),Dt("width",M?`${M}px`:"")}),yi=ot(M=>{Pe(M),Dt("height",M?`${M}px`:"")}),Ma=ot(M=>{sn(M),Dt("fontWeight",M)}),oo=ot(M=>{ri(M),Dt("fontFamily",M)}),Vl=ot(M=>{si(M),Dt("textAlign",M)}),Xl=ot(M=>{Fn(M),Dt("textDecoration",M)}),Aa=ot(M=>{ci(M),Dt("display",M)}),Zl=ot(M=>{ui(M),Dt("opacity",M)}),Vt=ot(M=>{ql(M),Dt("objectFit",M)}),vi=ot(M=>{Je(M),Dt("borderWidth",M?`${M}px`:"")}),bi=ot(M=>{di(M),Dt("borderStyle",M)}),bl=ot(M=>{fi(M),Dt("borderColor",M)}),We=U.useMemo(()=>
88{const M=nt!==L.textContent,tt=ht!==L.src,Ot=_!==L.href,le=at.trim()!==L.comment,Ee=pl(L.style.color),ae=pl(L.style.backgroundColor),Le=ft(L.style.fontSize).toString(),He=ft(L.style.borderRadius).toString(),Ql=ft(L.style.paddingTop).toString(),xl=ft(L.style.paddingRight).toString(),Xt=ft(L.style.paddingBottom).toString(),il=ft(L.style.paddingLeft).toString(),ve=ft(L.style.marginTop).toString(),re=ft(L.style.marginRight).toString(),rl=ft(L.style.marginBottom).toString(),wl=ft(L.style.marginLeft).toString(),dn=ft(L.style.width).toString(),se=ft(L.style.height).toString(),Kl=L.style.fontWeight,Na=L.style.fontFamily,Pl=L.style.textAlign,$e=L.style.textDecoration,za=L.style.display,_a=L.style.opacity,Fe=L.style.objectFit,fn=ft(L.style.borderWidth).toString(),ka=L.style.borderStyle,Oa=pl(L.style.borderColor);return M||tt||Ot||le||(H!==Ee||rt!==ae||xt!==Le||te!==He||me!==Ql||Mt!==xl||q!==Xt||bt!==il||O!==ve||G!==re||st!==rl||gt!==wl||Jt!==dn||Ce!==se||yl!==Kl||Ca!==Na||ge!==Pl||Ul!==$e||nl!==za||Gl!==_a||Ea!==Fe||Wt!==fn||$t!==ka||Ta!==Oa)},[L,nt,ht,_,H,rt,xt,te,me,Mt,q,bt,O,G,st,gt,Jt,Ce,yl,Ca,ge,Ul,nl,Gl,Ea,Wt,$t,Ta,r.targetElement,at]),{onCompositionEnd:as,onCompositionStart:xi,onKeyDown:wi}=Dg({onKeyDown:M=>{M.key==="Escape"?In():M.key==="Enter"&&!M.shiftKey&&(M.preventDefault(),to())}}),Ra=ot((M=!1)=>{if(!i.current)return;const tt=r.targetElement.getBoundingClientRect(),Ot=window.innerWidth,le=window.innerHeight,Ee=i.current.offsetHeight||0,ae=Ee>0?Ee:Gu;let Le=m,He=R;if(!M){const xl=(re,rl)=>re>=we&&re+Sa<=Ot-we&&rl>=we&&rl+ae<=le-we,Xt=()=>{const re=tt.top+tt.height/2-ae/2;return Math.max(we,Math.min(re,le-we-ae))},il=[{left:tt.right+ii,top:Xt(),name:"right"},{left:tt.left-Sa-ii,top:Xt(),name:"left"},{left:Math.max(we,Math.min(tt.left,Ot-we-Sa)),top:tt.bottom+ii,name:"below"},{left:Math.max(we,Math.min(tt.left,Ot-we-Sa)),top:tt.top-ae-ii,name:"above"}];let ve=il.find(re=>xl(re.left,re.top));ve||(ve=il[0],ve.left=Math.max(we,Math.min(ve.left,Ot-we-Sa)),ve.top=Math.max(we,Math.min(ve.top,le-we-ae))),Le=ve.left,He=ve.top,x(Le),C(He),D(!0)}const Ql=new DOMRect(Le,He,Sa,ae);r.highlighter.addExclusionRect("control-panel",Ql)});return U.useEffect(()=>{if(!i.current||!v)return;const M=new ResizeObserver(()=>{i.current&&Ra(!0)});return M.observe(i.current),()=>{M.disconnect()}},[v,Ra]),U.useEffect(()=>{s.current&&(s.current.style.height="auto",s.current.style.height=`${Math.min(s.current.scrollHeight,200)}px`)},[nt]),U.useEffect(()=>{$(L.comment),ct(r.targetElement.textContent||""),St(r.targetElement.src||""),Y(r.targetElement.href||""),it(pl(L.style.color)),V(pl(L.style.backgroundColor)),Be(ft(L.style.fontSize).toString()),Bt(ft(L.style.borderRadius).toString()),Se(ft(L.style.paddingTop).toString()),A(ft(L.style.paddingRight).toString()),B(ft(L.style.paddingBottom).toString()),p(ft(L.style.paddingLeft).toString()),X(ft(L.style.marginTop).toString()),Z(ft(L.style.marginRight).toString()),I(ft(L.style.marginBottom).toString()),Tt(ft(L.style.marginLeft).toString()),Ke(ft(L.style.width).toString()),Pe(ft(L.style.height).toString()),sn(L.style.fontWeight),ri(L.style.fontFamily),si(L.style.textAlign),Fn(L.style.textDecoration),ci(L.style.display),ui(L.style.opacity),ql(L.style.objectFit),Je(ft(L.style.borderWidth).toString()),di(L.style.borderStyle),fi(pl(L.style.borderColor));const M=()=>{const Ee=r.targetElement.textContent||"";ct(Ee)},tt=()=>{Ra()},Ot=Ee=>{Ee.key==="Escape"&&In()},le=()=>{Ra()};return Ra(),c.current?.focus(),L.isText&&r.targetElement.addEventListener("input",M),window.addEventListener("resize",tt),window.addEventListener("scroll",le,{passive:!0}),document.addEventListener("keydown",Ot),()=>{L.isText&&r.targetElement.removeEventListener("input",M),window.removeEventListener("resize",tt),window.removeEventListener("scroll",le),document.removeEventListener("keydown",Ot),r.highlighter.removeExclusionRect("control-panel"),d.current||hi()}},[]),h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1005",className:"fixed left-0 right-0 top-0 bottom-0 pointer-events-none",style:{zIndex:2147483645},children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1009",[al]:"true",onMouseDown:M=>M.stopPropagation(),ref:i,className:"absolute pointer-events-auto rounded-[20px] border border-[var(--border-main)] overflow-hidden bg-[var(--background-menu-gray)] shadow-[0px_8px_32px_0px_var(--shadow-S)] flex flex-col",style:{left:m,top:R,width:`${Sa}px`,maxHeight:`${Gu}px`,opacity:v?1:0,transform:v?"scale(1)":"scale(0.95)",transition:"opacity 0.2s, transform 0.2s"},children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1025",className:"flex flex-col flex-shrink-0",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1027",className:"flex items-end mx-2 pt-2.5 pb-1.5 pl-1 gap-1.5 border-b border-main",children:[h.jsx("textarea",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1028",ref:c,rows:1,className:"flex-1 text-sm py-1 bg-[var(--background-menu-gray)] text-[var(--text-primary)] placeholder:text-[var(--text-disable)] resize-none overflow-hidden",value:at,onChange:M=>$(M.target.value),onCompositionStart:xi,onCompositionEnd:as,onKeyDown:wi,placeholder:"Describe a change",onInput:M=>{const tt=M.target;tt.style.height="auto",tt.style.height=`${tt.scrollHeight}px`}}),h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1072",className:"w-px h-4 mb-[6px] bg-[var(--border-main)] flex-shrink-0"}),h.jsx("button",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1073",onClick:We?to:In,className:Ae.cn("flex items-center justify-center size-7 rounded-full transition-all active:opacity-80 outline-none flex-shrink-0",We?"bg-[var(--Button-primary-brand)] text-white hover:opacity-90 focus:opacity-90":"text-[var(--text-tertiary)] hover:bg-[var(--fill-tsp-white-main)] focus:bg-[var(--fill-tsp-white-main)]"),title:We?"Save and close":"Close",children:We?h.jsx("svg",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1084",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",children:h.jsx("path",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1090",d:"M6.92786 13.1812C6.59033 13.1812 6.31903 13.0723 6.11395 12.8544C5.90887 12.6407 5.80634 12.3566 5.80634 12.002V5.59973L5.9281 2.92731L6.54974 3.40796L4.92194 5.3562L3.4928 6.79175C3.39026 6.89429 3.27277 6.97974 3.14032 7.0481C3.01215 7.11646 2.86261 7.15063 2.69171 7.15063C2.39264 7.15063 2.14056 7.05237 1.93549 6.85583C1.73468 6.65503 1.63428 6.39655 1.63428 6.08038C1.63428 5.77704 1.74963 5.51001 1.98035 5.2793L6.10754 1.14569C6.20581 1.04315 6.32971 0.964111 6.47925 0.908569C6.62878 0.848755 6.77832 0.818848 6.92786 0.818848C7.07739 0.818848 7.22693 0.848755 7.37646 0.908569C7.526 0.964111 7.65204 1.04315 7.75458 1.14569L11.8818 5.2793C12.1125 5.51001 12.2278 5.77704 12.2278 6.08038C12.2278 6.39655 12.1253 6.65503 11.9202 6.85583C11.7194 7.05237 11.4695 7.15063 11.1704 7.15063C10.9995 7.15063 10.8478 7.11646 10.7154 7.0481C10.5872 6.97974 10.4719 6.89429 10.3693 6.79175L8.93378 5.3562L7.30597 3.40796L7.92761 2.92731L8.04297 5.59973V12.002C8.04297 12.3566 7.94043 12.6407 7.73535 12.8544C7.53027 13.0723 7.26111 13.1812 6.92786 13.1812Z",fill:"currentColor"})}):h.jsxs("svg",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1096",xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 14 14",fill:"none",strokeWidth:"1.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[h.jsx("line",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1107",x1:"14",y1:"0",x2:"0",y2:"14"}),h.jsx("line",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1108",x1:"0",y1:"0",x2:"14",y2:"14"})]})})]}),(L.isText||L.isImage||L.isLink)&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1116",className:"px-2.5 pt-3 flex flex-col gap-2",children:[L.isText&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1118",className:"flex flex-col gap-1.5",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1119",className:"text-xs text-[var(--text-tertiary)] px-0.5",children:"Text content"}),h.jsx("textarea",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1122",ref:s,style:{minHeight:"34px",maxHeight:"200px"},className:"w-full resize-y rounded-[10px] border border-transparent bg-[var(--fill-tsp-white-main)] px-2.5 py-1.5 text-sm text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] overflow-y-auto",value:nt,onChange:M=>eo(M.target.value),placeholder:"Edit text content...",onInput:M=>{const tt=M.target;tt.style.height="auto",tt.style.height=`${Math.min(tt.scrollHeight,200)}px`}})]}),L.isImage&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1142",className:"flex flex-col gap-1.5",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1143",className:"text-xs text-[var(--text-tertiary)] px-0.5",children:"Image source"}),h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:114
886",type:"text",className:"w-full text-sm px-2.5 py-1.5 rounded-[10px] border border-transparent bg-[var(--fill-tsp-white-main)] text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all",value:ht,onChange:M=>Da(M.target.value),placeholder:"Edit image source URL"})]}),L.isLink&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1156",className:"flex flex-col gap-1.5",children:[h.jsx("label",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1157",className:"text-xs text-[var(--text-tertiary)] px-0.5",children:"Link URL"}),h.jsx("input",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1160",type:"text",className:"w-full text-sm px-2.5 py-1.5 rounded-[10px] border border-transparent bg-[var(--fill-tsp-white-main)] text-[var(--text-primary)] placeholder:text-[var(--text-disable)] outline-none focus:ring-inset focus:ring-[1px] focus:ring-[var(--border-dark)] transition-all",value:_,onChange:M=>Ir(M.target.value),placeholder:"Edit link URL (href)"})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1173",className:"flex items-center gap-0 px-2 pt-1 pb-0",children:[h.jsxs("button",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1174",onClick:()=>J("styles"),className:Ae.cn("text-sm px-4 py-2 transition-all relative outline-none",j==="styles"?"text-[var(--text-primary)]":"text-[var(--text-tertiary)] hover:text-[var(--text-secondary)] focus:text-[var(--text-secondary)] active:opacity-80"),children:["Style",j==="styles"&&h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1185",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-[var(--text-primary)] rounded-full"})]}),h.jsxs("button",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1188",onClick:()=>J("spacing"),className:Ae.cn("text-sm px-4 py-2 transition-all relative outline-none",j==="spacing"?"text-[var(--text-primary)]":"text-[var(--text-tertiary)] hover:text-[var(--text-secondary)] focus:text-[var(--text-secondary)] active:opacity-80"),children:["Layout",j==="spacing"&&h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1199",className:"absolute bottom-0 left-0 right-0 h-0.5 bg-[var(--text-primary)] rounded-full"})]})]})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1206",className:"relative overflow-hidden flex-1",children:[h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1207",className:"transition-all duration-200 ease-in-out",style:{opacity:j==="styles"?1:0,transform:j==="styles"?"translateX(0)":"translateX(-20px)",position:j==="styles"?"relative":"absolute",width:"100%",pointerEvents:j==="styles"?"auto":"none",visibility:j==="styles"?"visible":"hidden"},children:h.jsx(o0,{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1221",result:L,color:H,backgroundColor:rt,onColorChange:mi,onBackgroundColorChange:gi,fontSize:xt,fontWeight:yl,fontFamily:Ca,textAlign:ge,textDecoration:Ul,onFontSizeChange:lo,onFontWeightChange:Ma,onFontFamilyChange:oo,onTextAlignChange:Vl,onTextDecorationChange:Xl,borderRadius:te,borderWidth:Wt,borderStyle:$t,borderColor:Ta,onBorderRadiusChange:ao,onBorderWidthChange:vi,onBorderStyleChange:bi,onBorderColorChange:bl,display:nl,opacity:Gl,objectFit:Ea,onDisplayChange:Aa,onOpacityChange:Zl,onObjectFitChange:Vt})}),h.jsx("div",{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1253",className:"transition-all duration-200 ease-in-out",style:{opacity:j==="spacing"?1:0,transform:j==="spacing"?"translateX(0)":"translateX(20px)",position:j==="spacing"?"relative":"absolute",width:"100%",pointerEvents:j==="spacing"?"auto":"none",visibility:j==="spacing"?"visible":"hidden"},children:h.jsx(l0,{"data-loc":"src/modules/DomSelector/ControlPanel/ControlPanel.tsx:1267",paddingTop:me,paddingRight:Mt,paddingBottom:q,paddingLeft:bt,onPaddingTopChange:pi,onPaddingRightChange:ol,onPaddingBottomChange:ts,onPaddingLeftChange:ee,marginTop:O,marginRight:G,marginBottom:st,marginLeft:gt,onMarginTopChange:pe,onMarginRightChange:Yl,onMarginBottomChange:no,onMarginLeftChange:es,width:Jt,height:Ce,onWidthChange:ls,onHeightChange:yi})})]})]})})}
88const r0=ei.createOpener(i0,{singleton:!0});class s0{history=[];currentIndex=-1;listeners=[];elementCache=new Map;addEdit(i){this.history=this.history.slice(0,this.currentIndex+1);const c=this.getCachedElement(i.targetData.id,i.targetData);c&&(oi(c),i.target=c),this.history.push(i),this.currentIndex=this.history.length-1,this.notifyListeners()}undo(){if(!this.canUndo())return null;const i=this.history[this.currentIndex],c=i.targetData.id;if(i.changes.deleted){const d=Uu(i.changes.deleted);d&&(this.elementCache.set(c,new WeakRef(d)),i.target=d)}this.currentIndex--;const s=this.rebuildElementState(c,i.targetData);return s&&(i.target=s),this.notifyListeners(),i}redo(){if(!this.canRedo())return null;this.currentIndex++;const i=this.history[this.currentIndex],c=this.rebuildElementState(i.targetData.id,i.targetData);return c&&(i.target=c),this.notifyListeners(),i}canUndo(){return this.currentIndex>=0}canRedo(){return this.currentIndex<this.history.length-1}getActiveEdits(){return this.history.slice(0,this.currentIndex+1)}hasEdits(){return this.currentIndex>=0}clear(){const i=this.getActiveEdits();for(let s=i.length-1;s>=0;s--){const d=i[s];if(d.changes.deleted){const m=Uu(d.changes.deleted);m&&(this.elementCache.set(d.targetData.id,new WeakRef(m)),d.target=m)}}const c=this.collectTargets();for(const s of c.values())Wr(s);this.history=[],this.currentIndex=-1,this.elementCache.clear(),this.notifyListeners()}clearComments(){const i=this.getActiveEdits(),c=new Set;for(const s of i)s.changes.comment&&c.add(s.targetData.id);for(const s of c){const d=this.getCachedElement(s,i.find(m=>m.targetData.id===s).targetData);d&&d._comment&&delete d._comment}this.history=this.history.map(s=>{if(!s.changes.comment)return s;const{comment:d,...m}=s.changes;return m.textContent||m.src||m.href||m.className||m.deleted||m.style&&Object.keys(m.style).length>0?{...s,changes:m}:null}).filter(s=>s!==null),this.currentIndex>=this.history.length&&(this.currentIndex=this.history.length-1),this.notifyListeners()}onChange(i){return this.listeners.push(i),()=>{this.listeners=this.listeners.filter(c=>c!==i)}}notifyListeners(){for(const i of this.listeners)i()}getCachedElement(i,c){const s=this.elementCache.get(i);if(s){const m=s.deref();if(m&&document.contains(m))return m;this.elementCache.delete(i)}const d=Xg(c);return d&&this.elementCache.set(i,new WeakRef(d)),d}rebuildElementState(i,c){const s=this.getCachedElement(i,c);if(!s)return null;if(oi(s),Wr(s),this.currentIndex<0)return s;for(let d=0;d<=this.currentIndex;d++){const m=this.history[d];m.targetData.id===i&&(m.target=s,this.applyChanges(s,m.changes))}return s}applyChanges(i,c){if(c.deleted){i.parentElement&&document.contains(i)&&i.parentElement.removeChild(i);return}if(c.textContent&&i.textContent!==null&&(i.textContent=c.textContent.modified),c.src&&"src"in i&&(i instanceof SVGElement?i.setAttribute("src",c.src.modified):i.src=c.src.modified),c.href&&"href"in i&&(i instanceof SVGElement?i.setAttribute("href",c.href.modified):i.href=c.href.modified),c.className&&(i instanceof SVGElement?i.setAttribute("class",c.className.modified):i instanceof HTMLElement&&(i.className=c.className.modified)),c.comment&&(i._comment=c.comment.modified),c.style){const s=Object.entries(c.style);for(const[d,m]of s)Qg(i,d,m.modified)}}collectTargets(){const i=new Map,c=this.currentIndex>=0?this.history.slice(0,this.currentIndex+1):[];for(const s of c){const d=s.targetData.id;if(i.has(d))continue;const m=this.getCachedElement(d,s.targetData);m&&(oi(m),s.target=m,i.set(d,m))}return i}}class c0{hoverTarget=null;activeTarget=null;pointerDown=!1;disposeSelectorInput=()=>{};highlighter=new Eg;cursorStyleElement=null;isDirectEditing=!1;removeEnterKeyListener=null;editHistory=new s0;disposeEditToolbar=null;disposeHistoryListener=null;disposeCommentMarkers=null;init(){Pt.listenMessage({type:"enableEditMode",callback:()=>{this.enable()}}),Pt.listenMessage({type:"disableEditMode",callback:i=>{this.disable(i.keepDomChanges),this.cancel(),this.disposeSelectorInput()}}),Pt.listenMessage({type:"hideEditToolBar",callback:()=>{this.hideEditToolbar()}})}enable(){this.highlighter.mount(),this.injectCursorStyle(),this.disposeHistoryListener?.(),this.disposeHistoryListener=this.editHistory.onChange(()=>{this.highlighter.scheduleRender()}),document.addEventListener("pointerover",this.handlePointerOver,!0),document.addEventListener("pointerdown",this.handlePointerDown,!0),document.addEventListener("pointerout",this.handlePointerOut,!0),document.addEventListener("click",this.handleClick,!0),document.addEventListener("keydown",this.handleArrowKeyNavigation,!0),document.addEventListener("keydown",this.handleUndoRedo,!0),document.addEventListener("keydown",this.handleDelete,!0),document.addEventListener("keydown",this.handleGlobalEscape,!0),window.addEventListener("scroll",this.handleScrollOutOfView,!0),this.showEditToolbarIfNeeded(),this.showCommentMarkersIfNeeded()}disable(i=!1){document.removeEventListener("pointerover",this.handlePointerOver,!0),document.removeEventListener("pointerdown",this.handlePointerDown,!0),document.removeEventListener("pointerout",this.handlePointerOut,!0),document.removeEventListener("click",this.handleClick,!0),document.removeEventListener("keydown",this.handleArrowKeyNavigation,!0),document.removeEventListener("keydown",this.handleUndoRedo,!0),document.removeEventListener("keydown",this.handleDelete,!0),document.removeEventListener("keydown",this.handleGlobalEscape,!0),window.removeEventListener("scroll",this.handleScrollOutOfView,!0),this.highlighter.unmount(),this.removeCursorStyle(),this.exitDirectEditMode(),this.hideEditToolbar(),i||this.editHistory.clear(),this.hideCommentMarkers(),this.disposeHistoryListener?.(),this.disposeHistoryListener=null,this.hoverTarget=null,this.activeTarget=null,this.pointerDown=!1}cancel(){this.exitDirectEditMode(),this.removeEnterKeyListener?.(),this.removeEnterKeyListener=null,this.pointerDown=!1,this.activeTarget=null,this.hoverTarget=null,this.highlighter.setActiveTarget(null),this.highlighter.setHoverTarget(null)}handlePointerOver=i=>{const c=i.target;if(!Kr(c)||!this.isSelectableElement(c)){this.hoverTarget=null,this.highlighter.setHoverTarget(null);return}if(this.isIgnoredElement(c)){this.hoverTarget=null,this.highlighter.setHoverTarget(null);return}this.hoverTarget=c,this.highlighter.setHoverTarget(this.hoverTarget)};handlePointerOut=i=>{i.target&&!this.isSelectableElement(i.target)||i.relatedTarget&&i.relatedTarget instanceof Node&&document.documentElement.contains(i.relatedTarget)||(this.hoverTarget=null,this.highlighter.setHoverTarget(null))};handleScrollOutOfView=()=>{!this.activeTarget||!this.pointerDown||this.isDirectEditing||Yg(this.activeTarget)&&(this.disposeSelectorInput(),this.exitDirectEditMode(),this.removeEnterKeyListener?.(),this.removeEnterKeyListener=null,this.pointerDown=!1,this.activeTarget=null,this.hoverTarget=null,this.highlighter.setActiveTarget(null),this.highlighter.setHoverTarget(null))};selectElement(i,c){if(this.activeTarget&&i===this.activeTarget&&xa(i)){this.enterDirectEditMode(i);return}this.pointerDown&&(this.disposeSelectorInput(),this.exitDirectEditMode(),this.removeEnterKeyListener?.(),this.removeEnterKeyListener=null),this.pointerDown=!0,this.activeTarget=i,this.hoverTarget=i,this.highlighter.setActiveTarget(this.activeTarget),this.highlighter.setHoverTarget(this.hoverTarget),xa(i)&&this.setupEnterKeyListener();const s=c||(()=>{const m=i.getBoundingClientRect();return new MouseEvent("click",{clientX:m.left+m.width/2,clientY:m.top+m.height/2,bubbles:!0,cancelable:!0})})(),d=r0({targetElement:this.activeTarget,mouseEvent:s,highlighter:this.highlighter,onSaveChanges:m=>{this.editHistory.addEdit({target:this.activeTarget,targetData:m.element,changes:m.changes,screenshot:m.screenshot}),this.showEditToolbarIfNeeded(),this.showCommentMarkersIfNeeded()},onDisposed:()=>{this.cancel()}});this.disposeSelectorInput=()=>{d?.dispose()}}handlePointerDown=i=>{const c=i.target;!Kr(c)||!this.isSelectableElement(c)||this.isIgnoredElement(c)||(i.preventDefault(),i.stopPropagation(),this.selectElement(c,i))};handleClick=i=>{const c=i.target;!(c instanceof HTMLElement)&&!(c instanceof SVGElement)||this.isIgnoredElement(c)||(i.preventDefault(),i.stopPropagation(),i.stopImmediatePropagation())};handleArrowKeyNavigation=i=>{if(this.isDirectEditing||!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(i.key))return;const c=i.target;if(c instanceof HTMLElement){const R=c.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(R)||c.isContentEditable)return}const s=document.activeElement;if(s instanceof HTMLElement){const R=s.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(R)||s.isContentEditable)return;let C=s;for(;C;){if(C.hasAttribute(al))return;C=C.parentElement}}if(!this.activeTarget)return;i.preventDefault(),i.stopPropagation();const m={ArrowUp:"up",ArrowDown:"down",ArrowLeft:"left",ArrowRight:"right"}[i.key];if(!m)return;const x=$g(this.activeTarget,m,R=>
88this.isIgnoredElement(R));x&&(Kg(x),this.selectElement(x))};setupEnterKeyListener(){const i=c=>{if(c.key==="Enter"&&!c.shiftKey&&!c.ctrlKey&&!c.metaKey){const s=document.activeElement;if(s instanceof HTMLElement){const d=s.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(d)||s.isContentEditable)return;let m=s;for(;m;){if(m.hasAttribute(al))return;m=m.parentElement}}!this.isDirectEditing&&this.activeTarget&&xa(this.activeTarget)&&(c.preventDefault(),c.stopPropagation(),this.enterDirectEditMode(this.activeTarget))}};document.addEventListener("keydown",i,!0),this.removeEnterKeyListener=()=>{document.removeEventListener("keydown",i,!0)}}enterDirectEditMode(i){if(this.isDirectEditing)return;this.isDirectEditing=!0,this.removeEnterKeyListener?.(),this.removeEnterKeyListener=null,ju(i,!0),i instanceof HTMLElement&&setTimeout(()=>{const m=document.createRange(),x=window.getSelection();m.selectNodeContents(i),x?.removeAllRanges(),x?.addRange(m)},0);const c=()=>{this.exitDirectEditMode()},s=m=>{m instanceof KeyboardEvent&&m.key==="Escape"&&this.exitDirectEditMode()},d=()=>{this.highlighter.scheduleRender()};i.addEventListener("blur",c,{once:!0}),i.addEventListener("keydown",s),i.addEventListener("input",d),i._editModeCleanup=()=>{i.removeEventListener("blur",c),i.removeEventListener("keydown",s),i.removeEventListener("input",d)}}exitDirectEditMode(){if(this.isDirectEditing&&(this.isDirectEditing=!1,this.activeTarget)){ju(this.activeTarget,!1);const i=this.activeTarget._editModeCleanup;i&&(i(),delete this.activeTarget._editModeCleanup),xa(this.activeTarget)&&this.setupEnterKeyListener()}}isIgnoredElement(i){const c=i.tagName;if(new Set(["SCRIPT","STYLE"]).has(c)||i.hasAttribute(Du))return!0;let s=i;for(;s;){if(s.hasAttribute(al))return!0;s=s.parentElement}return!1}isSelectableElement(i){return!!i&&(i instanceof HTMLElement||i instanceof SVGElement)}injectCursorStyle(){if(this.cursorStyleElement)return;const i=document.createElement("style");i.textContent=`
89      * { cursor: crosshair !important; }
90      [contenteditable="true"], [contenteditable="plaintext-only"] { cursor: text !important; }
91    `,document.head.appendChild(i),this.cursorStyleElement=i}removeCursorStyle(){this.cursorStyleElement&&(this.cursorStyleElement.remove(),this.cursorStyleElement=null)}handleUndoRedo=i=>{const c=i.key.toLowerCase(),s=(i.ctrlKey||i.metaKey)&&c==="z"&&!i.shiftKey,d=(i.ctrlKey||i.metaKey)&&(c==="z"&&i.shiftKey||c==="y");if(!s&&!d)return;const m=i.target;if(m instanceof HTMLElement){const C=m.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(C)||m.isContentEditable)return}const x=document.activeElement;if(x instanceof HTMLElement){const C=x.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(C)||x.isContentEditable)return;let v=x;for(;v;){if(v.hasAttribute(al))return;v=v.parentElement}}i.preventDefault(),i.stopPropagation();let R=null;s?(R=this.editHistory.undo(),this.highlighter.scheduleRender()):d&&(R=this.editHistory.redo(),this.highlighter.scheduleRender()),R&&R.target&&document.contains(R.target)&&(R.target.scrollIntoView({behavior:"smooth",block:"center"}),this.highlighter.setActiveTarget(R.target),setTimeout(()=>{this.highlighter.setActiveTarget(null)},1500))};handleDelete=i=>{if(i.key!=="Delete"&&i.key!=="Backspace"||this.isDirectEditing)return;const c=i.target;if(c instanceof HTMLElement){const R=c.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(R)||c.isContentEditable)return}const s=document.activeElement;if(s instanceof HTMLElement){const R=s.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(R)||s.isContentEditable)return;let C=s;for(;C;){if(C.hasAttribute(al))return;C=C.parentElement}}if(!this.activeTarget)return;if(!Fg(this.activeTarget)){console.warn("Cannot delete this element: it is a critical DOM element");return}i.preventDefault(),i.stopPropagation();const d=Ig(this.activeTarget);if(!d){console.warn("Cannot delete element: no parent found");return}const m=$r(this.activeTarget),x=this.activeTarget;this.disposeSelectorInput(),this.exitDirectEditMode(),this.removeEnterKeyListener?.(),this.removeEnterKeyListener=null,x.parentElement&&x.parentElement.removeChild(x),this.activeTarget=null,this.hoverTarget=null,this.pointerDown=!1,this.highlighter.setActiveTarget(null),this.highlighter.setHoverTarget(null),this.editHistory.addEdit({target:x,targetData:m,changes:{deleted:d},screenshot:null}),this.showEditToolbarIfNeeded(),this.showCommentMarkersIfNeeded()};showEditToolbarIfNeeded(){if(!this.editHistory.hasEdits()){this.hideEditToolbar();return}this.disposeEditToolbar||Promise.resolve().then(()=>w0).then(({openEditToolbar:i})=>{const c=i({editHistory:this.editHistory,highlighter:this.highlighter,onApply:()=>{this.handleApplyAll()},onDiscard:()=>{this.handleDiscardAll()}});this.disposeEditToolbar=()=>{c?.dispose(),this.disposeEditToolbar=null}}).catch(i=>{console.error("Failed to render EditToolbar:",i)})}hideEditToolbar(){this.disposeEditToolbar&&this.disposeEditToolbar()}handleApplyAll(){const i=this.editHistory.getActiveEdits();i.length!==0&&Pt.sendMessage({type:"edits",to:"container",payload:{edits:i.map(c=>({element:c.targetData,changes:c.changes,screenshot:c.screenshot}))}})}handleDiscardAll(){this.editHistory.clear(),this.hideEditToolbar(),this.hideCommentMarkers(),this.highlighter.scheduleRender()}showCommentMarkersIfNeeded(){if(!this.editHistory.hasEdits()){this.hideCommentMarkers();return}this.disposeCommentMarkers||Promise.resolve().then(()=>E0).then(({openCommentMarkers:i})=>{const c=i({editHistory:this.editHistory,highlighter:this.highlighter,getActiveElement:()=>this.activeTarget,onElementSelect:s=>{this.selectElement(s)}});this.disposeCommentMarkers=()=>{c?.dispose(),this.disposeCommentMarkers=null}}).catch(i=>{console.error("Failed to render CommentMarkers:",i)})}hideCommentMarkers(){this.disposeCommentMarkers&&this.disposeCommentMarkers(),this.editHistory.clearComments(),this.highlighter.scheduleRender()}handleGlobalEscape=i=>{if(i.key!=="Escape"||this.activeTarget)return;const c=i.target;if(c instanceof HTMLElement){const d=c.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(d)||c.isContentEditable)return}const s=document.activeElement;if(s instanceof HTMLElement){const d=s.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(d)||s.isContentEditable)return;let m=s;for(;m;){if(m.hasAttribute(al))return;m=m.parentElement}}this.editHistory.hasEdits()||(i.preventDefault(),i.stopPropagation(),this.disable(),Pt.sendMessage({type:"exitEditMode",to:"container",payload:{}}))}}const u0=new c0;class d0{wired=!1;
91init(){if(this.wired)return;this.wired=!0;const i=s=>{try{const m=new URL(s,window.location.href).hostname.toLowerCase();return!!(m==="stripe.com"||m.endsWith(".stripe.com")||m==="myshopify.com"||m.endsWith(".myshopify.com"))}catch{return!1}},c=(s,d)=>{Pt.sendMessage({type:"externalNavAttempt",to:"container",payload:{href:s,trigger:d}})};try{const s=window.open;window.open=(...d)=>{const m=d[0];return typeof m=="string"&&i(m)&&c(m,"window.open"),s.apply(window,d)}}catch{}try{const s=window.navigation;s&&typeof s.addEventListener=="function"&&s.addEventListener("navigate",d=>{const m=d?.destination?.url;typeof m=="string"&&i(m)&&c(m,"navigation")})}catch{}}}const f0=new d0;class h0{constructor(){this.init()}async init(){Pt.init({currentEndpoint:"content"}),Pt.listenMessage({type:"containerInited",callback:()=>{Pt.readySource.markReady()}}),Yr.init(),vg.init(),f0.init(),Su.init(),u0.init(),await this.renderRoot(),this.renderRootForDev()}renderRootForDev(){}async renderRoot(){if(document.getElementById(jr.root))return;const c=document.createElement("div");c.id=jr.root,c.setAttribute(al,"true"),document.documentElement.appendChild(c);const s=c.attachShadow({mode:"closed"}),d=document.createElement("style"),m=await Promise.resolve().then(()=>T0).then(x=>x.default);d.textContent=m,s.appendChild(d),Or.createRoot(s).render(h.jsx(pg,{"data-loc":"src/main.tsx:128"}))}}new h0;function m0({onDiscard:r,onApply:i,isApplying:c=!1,editCount:s}){const d=c||s===0;return h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:17",className:"flex items-center gap-2",children:[h.jsx("button",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:18",onClick:r,disabled:d,className:"px-3 py-1.5 text-sm font-medium text-[var(--text-white)] border-[var(--text-tertiary)] border-[1.5px] hover:bg-[#ffffff0f] focus:bg-[#ffffff0f] active:opacity-90 rounded-[12px] transition-all outline-none disabled:opacity-50 disabled:cursor-not-allowed",title:"Discard all changes",children:"Discard"}),h.jsxs("button",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:27",onClick:i,disabled:d,className:"flex items-center gap-2 px-4 py-1.5 text-sm font-medium bg-[var(--Button-primary-brand)] text-white border border-transparent hover:opacity-90 focus:opacity-90 active:opacity-90 rounded-[12px] transition-all outline-none disabled:opacity-50 disabled:cursor-not-allowed",title:"Save all changes",children:[c&&h.jsxs("svg",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:34",className:"animate-spin h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[h.jsx("circle",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:40",className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),h.jsx("path",{"data-loc":"src/modules/DomSelector/EditsToolBar/ActionButtons.tsx:48",className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Apply"]})]})}function g0({editCount:r,showEditPreviews:i,onClick:c}){return h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditCountBadge.tsx:15",onClick:c,tabIndex:0,role:"button",className:Ae.cn("flex items-center gap-2 px-3 py-1.5 rounded-[12px] cursor-pointer transition-all relative outline-none text-[var(--text-white)] border-[var(--text-tertiary)] border-[1.5px] active:opacity-90",i?"bg-[#ffffff0f]":"bg-transparent hover:bg-[#ffffff0f]"),children:[h.jsx("svg",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditCountBadge.tsx:26",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 16 16",fill:"currentColor",children:h.jsx("g",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditCountBadge.tsx:33",children:h.jsx("path",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditCountBadge.tsx:34",d:"M7.52881 7.52869C7.71733 7.34017 8 7.28198 8.24756 7.3809L14.9142 10.0476C15.1678 10.149 15.334 10.3949 15.3335 10.668C15.3329 10.9411 15.1656 11.1861 14.9116 11.2865L12.3133 12.3132L11.2866 14.9115C11.1862 15.1655 10.9412 15.3328 10.6681 15.3334C10.3951 15.3339 10.1491 15.1677 10.0477 14.9141L7.38102 8.24744C7.2821 7.99988 7.34029 7.71721 7.52881 7.52869ZM1.3335 12.6667C1.3335 12.2985 1.63197 12 2.00016 12C2.36835 12 2.66683 12.2985 2.66683 12.6667C2.66683 12.8435 2.73712 13.013 2.86214 13.1381C2.98717 13.2631 3.15669 13.3334 3.3335 13.3334C3.70169 13.3334 4.00016 13.6319 4.00016 14C4.00016 14.3682 3.70169 14.6667 3.3335 14.6667C2.80306 14.6667 2.29451 14.4558 1.91943 14.0808C1.54436 13.7057 1.3335 13.1971 1.3335 12.6667ZM7.3335 13.3334C7.70169 13.3334 8.00016 13.6319 8.00016 14C8.00016 14.3682 7.70169 14.6667 7.3335 14.6667H6.00016C5.63197 14.6667 5.3335 14.3682 5.3335 14C5.3335 13.6319 5.63197 13.3334 6.00016 13.3334H7.3335ZM10.6629 12.8627L11.1805 11.5547L11.2085 11.4922C11.2822 11.3506 11.405 11.2397 11.5549 11.1804L12.8628 10.6628L9.19678 9.19666L10.6629 12.8627ZM1.3335 10V9.33337C1.3335 8.96518 1.63197 8.66671 2.00016 8.66671C2.36835 8.66671 2.66683 8.96518 2.66683 9.33337V10C2.66683 10.3682 2.36835 10.6667 2.00016 10.6667C1.63197 10.6667 1.3335 10.3682 1.3335 10ZM13.3335 7.33337V6.00004C13.3335 5.63185 13.632 5.33337 14.0002 5.33337C14.3684 5.33337 14.6668 5.63185 14.6668 6.00004V7.33337C14.6668 7.70156 14.3
91684 8.00004 14.0002 8.00004C13.632 8.00004 13.3335 7.70156 13.3335 7.33337ZM1.3335 6.66671V6.00004C1.3335 5.63185 1.63197 5.33337 2.00016 5.33337C2.36835 5.33337 2.66683 5.63185 2.66683 6.00004V6.66671C2.66683 7.0349 2.36835 7.33337 2.00016 7.33337C1.63197 7.33337 1.3335 7.0349 1.3335 6.66671ZM1.3335 3.33337C1.3335 2.80294 1.54436 2.29438 1.91943 1.91931C2.29451 1.54424 2.80306 1.33337 3.3335 1.33337C3.70169 1.33337 4.00016 1.63185 4.00016 2.00004C4.00016 2.36823 3.70169 2.66671 3.3335 2.66671C3.15668 2.66671 2.98717 2.737 2.86214 2.86202C2.73712 2.98704 2.66683 3.15656 2.66683 3.33337C2.66683 3.70156 2.36835 4.00004 2.00016 4.00004C1.63197 4.00004 1.3335 3.70156 1.3335 3.33337ZM13.3335 3.33337C13.3335 3.15656 13.2632 2.98704 13.1382 2.86202C13.0132 2.737 12.8436 2.66671 12.6668 2.66671C12.2986 2.66671 12.0002 2.36823 12.0002 2.00004C12.0002 1.63185 12.2986 1.33337 12.6668 1.33337C13.1973 1.33337 13.7058 1.54424 14.0809 1.91931C14.456 2.29438 14.6668 2.80294 14.6668 3.33337C14.6668 3.70156 14.3684 4.00004 14.0002 4.00004C13.632 4.00004 13.3335 3.70156 13.3335 3.33337ZM6.66683 1.33337C7.03502 1.33337 7.3335 1.63185 7.3335 2.00004C7.3335 2.36823 7.03502 2.66671 6.66683 2.66671H6.00016C5.63197 2.66671 5.3335 2.36823 5.3335 2.00004C5.3335 1.63185 5.63197 1.33337 6.00016 1.33337H6.66683ZM10.0002 1.33337C10.3684 1.33337 10.6668 1.63185 10.6668 2.00004C10.6668 2.36823 10.3684 2.66671 10.0002 2.66671H9.3335C8.96531 2.66671 8.66683 2.36823 8.66683 2.00004C8.66683 1.63185 8.96531 1.33337 9.3335 1.33337H10.0002Z"})})}),h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditCountBadge.tsx:37",className:"text-sm font-medium tabular-nums",children:r})]})}function p0({activeEdits:r,hoveredEditIndex:i,highlighter:c,onCardClick:s,onCardHover:d,show:m}){const x=U.useRef(null),R=v=>{d(v)},C=()=>{d(null)};return U.useEffect(()=>{if(!m){c.removeExclusionRect("edit-preview-cards");return}const v=()=>{if(x.current&&m){const D=x.current.getBoundingClientRect();c.addExclusionRect("edit-preview-cards",D)}};return v(),window.addEventListener("resize",v),window.addEventListener("scroll",v,{passive:!0}),()=>{window.removeEventListener("resize",v),window.removeEventListener("scroll",v),c.removeExclusionRect("edit-preview-cards")}},[c,m]),h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:59",ref:x,className:"absolute bottom-full mb-2 left-0 right-0 transition-all duration-200 ease-out",style:{opacity:m?1:0,transform:m?"translateY(0) scale(1)":"translateY(8px) scale(0.98)",pointerEvents:m?"auto":"none",transitionTimingFunction:"cubic-bezier(0.16, 1, 0.3, 1)"},onMouseLeave:C,children:h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:72",className:"rounded-[14px] border border-[var(--border-main)] bg-[rgb(37,37,37)] shadow-[0px_8px_32px_0px_var(--shadow-S)] overflow-hidden",style:{maxHeight:"40vh"},children:h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:78",className:"overflow-y-auto",style:{maxHeight:"40vh"},children:r.map((v,D)=>{const j=i===D,J=!!v.screenshot;return h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:89",onClick:()=>s(D),onMouseEnter:()=>R(D),className:Ae.cn("px-4 cursor-pointer transition-all",j&&"bg-[#ffffff0f]"),children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:98",className:"flex items-center gap-2.5 py-2",style:{borderBottom:D!==r.length-1?"1px solid var(--icon-secondary)":"none"},children:[h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:108",className:Ae.cn("flex-shrink-0 size-5 rounded-full flex items-center justify-center transition-all text-[var(--background-card)] border-[var(--icon-secondary)] border",j&&"bg-[#ffffff0f]"),children:h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:114",className:"text-xs",children:D+1})}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:118",className:"flex-1 min-w-0",children:[h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:119",className:Ae.cn("text-sm text-white font-medium",v.changes.deleted&&"line-through"),children:v.targetData.tagName}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:129",className:"text-xs text-[var(--text-white-tsp)] pt-0.5 leading-none gap-1 flex flex-col",children:[v.changes.comment&&h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:131",className:"leading-snug",children:v.changes.comment.modified===""?"Removed comment":`Comment: "${v.changes.comment.modified.slice(0,30)}${v.changes.comment.modified.length>30?"...":""}"`}),v.changes.deleted&&h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:144",children:"Element deleted"}),v.changes.textContent&&h.jsxs("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:146",className:"leading-snug",children:['Text: "',v.changes.textContent.modified.slice(0,40),v.changes.textContent.modified.length>40?"...":"",'"']}),v.changes.src&&h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:155",children:"Image source updated"}),v.changes.href&&h.jsxs("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:157",className:"leading-snug",children:["Link: ",v.changes.href.modified.slice(0,30),"..."]}),v.changes.style&&h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:162",className:"flex flex-wrap gap-1",children:[Object.keys(v.changes.style).slice(0,3).map(at=>h.jsx("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:166",className:"px-1.5 py-0.5 text-xs bg-[#ffffff1a] text-white rounded-[8px]",children:at},at)),Object.keys(v.changes.style).length>3&&h.jsxs("span",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:174",className:"text-xs text-white",children:["+",Object.keys(v.changes.style).length-3," more"]})]}),J&&!v.changes.deleted&&(v.changes.textContent||v.changes.style||v.changes.comment)&&h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditPreviewCards.tsx:185",style:{backgroundImage:`url(${v.screenshot})`,backgroundSize:"cover",backgroundPosition:"top"},className:"h-12 mt-1 rounded border border-black/10"})]})]})]})},`${v.targetData.id}-${D}`)})})})})}function y0({canUndo:r,canRedo:i,onUndo:c,onRedo:s}){return h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:17",className:"flex items-center gap-1.5",children:[h.jsx("button",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:18",onClick:c,disabled:!r,className:Ae.cn("flex items-center justify-center p-1.5 rounded-full transition-all outline-none",r?"text-[var(--text-white)] hover:bg-[#ffffff0f] cursor-pointer":"bg-transparent text-[var(--text-disable)] cursor-not-allowed opacity-50"),title:"Undo (⌘Z)",children:h.jsx("svg",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:29",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 16 16",fill:"none",children:h.jsx("path",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:36",d:"M12.6666 9.66662C12.6666 9.27271 12.5888 8.88276 12.4381 8.51883C12.2873 8.15485 12.0663 7.8241 11.7877 7.54552C11.5091 7.26695 11.1784 7.0459 10.8144 6.89513C10.4505 6.74441 10.0605 6.66662 9.66662 6.66662H4.27599L6.4713 8.86193C6.73165 9.12228 6.73165 9.54429 6.4713 9.8
910464C6.21095 10.065 5.78894 10.065 5.5286 9.80464L2.19526 6.4713C1.93491 6.21095 1.93491 5.78894 2.19526 5.5286L5.5286 2.19526C5.78894 1.93491 6.21095 1.93491 6.4713 2.19526C6.73165 2.45561 6.73165 2.87762 6.4713 3.13797L4.27599 5.33328H9.66662C10.2357 5.33328 10.7991 5.44559 11.3248 5.66336C11.8506 5.88113 12.3287 6.19978 12.7311 6.60216C13.1335 7.00455 13.4521 7.48267 13.6699 8.00841C13.8876 8.53416 13.9999 9.09755 13.9999 9.66662C13.9999 10.2357 13.8876 10.7991 13.6699 11.3248C13.4521 11.8506 13.1335 12.3287 12.7311 12.7311C12.3287 13.1335 11.8506 13.4521 11.3248 13.6699C10.7991 13.8876 10.2357 13.9999 9.66662 13.9999H7.33328C6.96509 13.9999 6.66662 13.7015 6.66662 13.3333C6.66662 12.9651 6.96509 12.6666 7.33328 12.6666H9.66662C10.0605 12.6666 10.4505 12.5888 10.8144 12.4381C11.1784 12.2873 11.5091 12.0663 11.7877 11.7877C12.0663 11.5091 12.2873 11.1784 12.4381 10.8144C12.5888 10.4505 12.6666 10.0605 12.6666 9.66662Z",fill:"currentColor"})})}),h.jsx("button",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:43",onClick:s,disabled:!i,className:Ae.cn("flex items-center justify-center p-1.5 rounded-full transition-all outline-none",i?"text-[var(--text-white)] hover:bg-[#ffffff0f] cursor-pointer":"bg-transparent text-[var(--text-disable)] opacity-50 cursor-not-allowed"),title:"Redo (⌘⇧Z)",children:h.jsx("svg",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:54",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 16 16",fill:"none",children:h.jsx("path",{"data-loc":"src/modules/DomSelector/EditsToolBar/UndoRedoButtons.tsx:61",d:"M3.33338 9.66662C3.33338 9.27271 3.41118 8.88276 3.5619 8.51883C3.71266 8.15485 3.93371 7.8241 4.21229 7.54552C4.49086 7.26695 4.82162 7.0459 5.1856 6.89513C5.54953 6.74441 5.93948 6.66662 6.33338 6.66662H11.724L9.5287 8.86193C9.26835 9.12228 9.26835 9.54429 9.5287 9.80464C9.78905 10.065 10.2111 10.065 10.4714 9.80464L13.8047 6.4713C14.0651 6.21095 14.0651 5.78894 13.8047 5.5286L10.4714 2.19526C10.2111 1.93491 9.78905 1.93491 9.5287 2.19526C9.26835 2.45561 9.26835 2.87762 9.5287 3.13797L11.724 5.33328H6.33338C5.76432 5.33328 5.20092 5.44559 4.67518 5.66336C4.14944 5.88113 3.67132 6.19978 3.26893 6.60216C2.86654 7.00455 2.5479 7.48267 2.33013 8.00841C2.11236 8.53416 2.00005 9.09755 2.00005 9.66662C2.00005 10.2357 2.11236 10.7991 2.33013 11.3248C2.5479 11.8506 2.86654 12.3287 3.26893 12.7311C3.67132 13.1335 4.14944 13.4521 4.67518 13.6699C5.20092 13.8876 5.76432 13.9999 6.33338 13.9999H8.66672C9.03491 13.9999 9.33338 13.7015 9.33338 13.3333C9.33338 12.9651 9.03491 12.6666 8.66672 12.6666H6.33338C5.93948 12.6666 5.54953 12.5888 5.1856 12.4381C4.82162 12.2873 4.49086 12.0663 4.21229 11.7877C3.93371 11.5091 3.71266 11.1784 3.5619 10.8144C3.41118 10.4505 3.33338 10.0605 3.33338 9.66662Z",fill:"currentColor"})})})]})}function v0(r){const[i,c]=U.useState(r.canUndo()),[s,d]=U.useState(r.canRedo()),[m,x]=U.useState(r.getActiveEdits().length),[R,C]=U.useState([]);return U.useEffect(()=>{const v=r.onChange(()=>{c(r.canUndo()),d(r.canRedo());const D=r.getActiveEdits();x(D.length),C(D)});return C(r.getActiveEdits()),v},[r]),{canUndo:i,canRedo:s,editCount:m,activeEdits:R}}function b0(){const[r,i]=U.useState(!1);return{showEditPreviews:r,handleEditCountClick:()=>{i(!r)}}}function qu({editHistory:r,highlighter:i,onApply:c,onDiscard:s}){const d=U.useRef(null),[m,x]=U.useState(null),[R,C]=U.useState(!1),{canUndo:v,canRedo:D,editCount:j,activeEdits:J}=v0(r),{showEditPreviews:at,handleEditCountClick:$}=b0();U.useEffect(()=>{if(m!==null&&J[m]){const _=J[m];_.target&&document.contains(_.target)&&i.setHoverTarget(_.target)}else i.setHoverTarget(null)},[m,J,i]),U.useEffect(()=>{const _=()=>{if(d.current){const Y=d.current.getBoundingClientRect();i.addExclusionRect("edit-toolbar",Y)}};return _(),window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_),i.removeExclusionRect("edit-toolbar")}},[i]);const nt=()=>{const _=r.undo();i.scheduleRender(),_&&_.target&&document.contains(_.target)&&(_.target.scrollIntoView({behavior:"smooth",block:"center"}),i.setActiveTarget(_.target),setTimeout(()=>
91{i.setActiveTarget(null)},1500))},ct=()=>{const _=r.redo();i.scheduleRender(),_&&_.target&&document.contains(_.target)&&(_.target.scrollIntoView({behavior:"smooth",block:"center"}),i.setActiveTarget(_.target),setTimeout(()=>{i.setActiveTarget(null)},1500))},ht=_=>{const Y=J[_];Y.target&&document.contains(Y.target)&&(Y.target.scrollIntoView({behavior:"smooth",block:"center"}),i.setActiveTarget(Y.target),setTimeout(()=>{i.setActiveTarget(null)},1500))},St=()=>{C(!0),c()};return h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:127",className:"fixed left-0 right-0 top-0 bottom-0 pointer-events-none",style:{zIndex:2147483645},children:h.jsx("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:131",className:"absolute bottom-0 left-0 right-0 flex items-center justify-center pb-8",children:h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:132",ref:d,[al]:"true",onMouseDown:_=>_.stopPropagation(),className:"pointer-events-auto flex items-center gap-8 p-2 rounded-[14px] border border-[var(--border-main)] bg-[rgb(37,37,37)] shadow-[0px_8px_32px_0px_var(--shadow-S)] relative justify-between",children:[h.jsxs("div",{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:138",className:"flex items-center gap-3",children:[h.jsx(g0,{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:139",editCount:j,showEditPreviews:at,onClick:$}),h.jsx(y0,{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:145",canUndo:v,canRedo:D,onUndo:nt,onRedo:ct})]}),h.jsx(m0,{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:153",onDiscard:s,onApply:St,isApplying:R,editCount:j}),J.length>0&&h.jsx(p0,{"data-loc":"src/modules/DomSelector/EditsToolBar/EditToolbar.tsx:161",activeEdits:J,hoveredEditIndex:m,highlighter:i,onCardClick:ht,onCardHover:x,show:at})]})})})}const x0=ei.createOpener(qu,{singleton:!0}),w0=Object.freeze(Object.defineProperty({__proto__:null,EditToolbar:qu,openEditToolbar:x0},Symbol.toStringTag,{value:"Module"}));function S0({comment:r,elementRect:i,boxRef:c,onMouseEnter:s,onMouseLeave:d,onClick:m,onDelete:x,isHidden:R}){const C=U.useRef(null),v=U.useRef(null),[D,j]=U.useState({width:0,height:0});U.useLayoutEffect(()=>{if(!C.current)return;const it=C.current.getBoundingClientRect();j({width:it.width,height:it.height})},[r,x]);const J=window.innerWidth,at=window.innerHeight,$=30,nt=i.top+i.height/2;let ct=i.right+$,ht=nt-D.height/2;ct+D.width>J-20&&(ct=i.left-$-D.width),ct<20&&(ct=Math.min(i.left,J-D.width-20),ct=Math.max(20,ct),ht=i.bottom+$),ht<20?ht=20:ht+D.height>at-20&&(ht=Math.max(20,at-D.height-20));const St={x:ct,y:ht},_=St.y+D.height/2,Y=St.x>i.right?i.right:i.left;return R?null:h.jsxs(h.Fragment,{children:[h.jsxs("svg",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:80",className:"absolute inset-0 w-full h-full pointer-events-none z-[2147483643]",children:[h.jsx("line",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:81",x1:Y,y1:nt,x2:St.x,y2:_,stroke:"#0081f2",strokeWidth:1.5,strokeDasharray:"3 2"}),h.jsx("circle",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:90",cx:Y,cy:nt,r:3,fill:"#0081f2"})]}),h.jsxs("div",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:94",ref:v,className:"absolute group z-[2147483644]",style:{left:St.x,top:St.y},onMouseEnter:s,onMouseLeave:d,children:[h.jsx("div",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:105",ref:H=>{C.current=H,c(H)},className:"pointer-events-auto cursor-pointer rounded-[10px] px-2.5 py-1.5 bg-[#0081f2] max-w-[260px]",onClick:m,onMouseDown:H=>H.stopPropagation(),children:h.jsx("div",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:114",className:"flex items-start gap-1.5",children:h.jsx("p",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:115",className:"flex-1 text-xs break-words whitespace-pre-wrap text-[var(--text-white)]",children:r})})}),x&&h.jsx("button",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:123",onClick:H=>{H.stopPropagation(),x()},className:"absolute -top-1 right-0 pointer-events-auto flex items-center justify-center size-5 rounded-full bg-white shadow-md text-gray-600 hover:text-red-500 hover:bg-red-50 transition-all opacity-0 group-hover:opacity-100",title:"Delete comment",onMouseDown:H=>H.stopPropagation(),children:h.jsx("svg",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:132",xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 12 12",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",children:h.jsx("path",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentTooltip.tsx:142",d:"M9 3L3 9M3 3l6 6"})})})]})]})}function Yu({editHistory:r,highlighter:i,getActiveElement:c,onElementSelect:s}){const[d,m]=U.useState(null),[x,R]=U.useState(null),[C,v]=U.useState(0),D=U.useRef(new Map),j=U.useMemo(()=>{const _=r.getActiveEdits(),Y=new Map;for(const it of _){const rt=it.target;if(!document.contains(rt))continue;const V=Pr(rt);V&&Y.set(V,rt)}const H=[];for(const[it,rt]of Y.entries()){const V=rt._comment||"";if(!V.trim())continue;const xt=rt.getBoundingClientRect();xt.width===0||xt.height===0||H.push({id:it,element:rt,comment:V.trim(),position:{x:xt.left,y:xt.top}})}return H},[r,C,x]),J=()=>{for(const[_,Y]of D.current.entries()){const H=Y.getBoundingClientRect();i.addExclusionRect(`comment-box-${_}`,H)}},at=(_,Y)=>!(_.right<Y.left||_.left>Y.right||_.bottom<Y.top||_.top>Y.bottom);U.useEffect(()=>{const _=r.onChange(()=>
91{v(V=>V+1)});let Y=null,H=null;const it=()=>{Y===null&&(Y=requestAnimationFrame(()=>{Y=null,v(V=>V+1)}))},rt=()=>{H&&clearTimeout(H),H=setTimeout(()=>{v(V=>V+1)},100)};return window.addEventListener("scroll",it,{passive:!0}),window.addEventListener("resize",rt,{passive:!0}),()=>{_(),Y!==null&&cancelAnimationFrame(Y),H&&clearTimeout(H),window.removeEventListener("scroll",it),window.removeEventListener("resize",rt);for(const V of D.current.keys())i.removeExclusionRect(`comment-box-${V}`)}},[r,i]),U.useEffect(()=>{const _=()=>{const H=c();R(H)};_();const Y=setInterval(_,100);return()=>{clearInterval(Y)}},[c]),U.useEffect(()=>{const _=new Set(j.map(H=>H.id));for(const H of D.current.keys())_.has(H)||(i.removeExclusionRect(`comment-box-${H}`),D.current.delete(H));J();const Y=d?j.find(H=>H.id===d)?.element:null;Y&&document.contains(Y)?i.setHoverTarget(Y):i.setHoverTarget(null)},[j,d,i]);const $=_=>{m(_)},nt=()=>{m(null)},ct=_=>{const Y=j.find(H=>H.id===_);Y&&document.contains(Y.element)&&(Y.element.scrollIntoView({behavior:"smooth",block:"center"}),s(Y.element))},ht=_=>{const Y=j.find(H=>H.id===_);if(Y&&document.contains(Y.element)){const H=Y.element,it=H._comment||"",rt=$r(H);delete H._comment,r.addEdit({target:H,targetData:rt,changes:{comment:{original:it,modified:""}},screenshot:null}),v(V=>V+1)}},St=(_,Y)=>{if(Y){D.current.set(_,Y);const H=Y.getBoundingClientRect();i.addExclusionRect(`comment-box-${_}`,H)}else D.current.delete(_),i.removeExclusionRect(`comment-box-${_}`)};return h.jsx("div",{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentMarkers.tsx:229",className:"fixed inset-0 pointer-events-none",style:{zIndex:2147483642},[al]:"true",children:j.map(_=>{let H=x===_.element;if(!H&&x&&document.contains(x)){const it=D.current.get(_.id);if(it){const rt=x.getBoundingClientRect(),V=it.getBoundingClientRect();H=at(V,rt)}}return h.jsx(S0,{"data-loc":"src/modules/DomSelector/CommentMarkers/CommentMarkers.tsx:249",comment:_.comment,elementRect:_.element.getBoundingClientRect(),isHidden:H,onMouseEnter:()=>$(_.id),onMouseLeave:nt,onClick:()=>ct(_.id),onDelete:()=>ht(_.id),boxRef:it=>St(_.id,it)},_.id)})})}const C0=ei.createOpener(Yu,{singleton:!0}),E0=Object.freeze(Object.defineProperty({__proto__:null,CommentMarkers:Yu,openCommentMarkers:C0},Symbol.toStringTag,{value:"Module"})),T0=Object.freeze(Object.defineProperty({__proto__:null,default:'#manus-previewer-content-root{--background-gray-login: #f8f8f7;--background-selection: #b8d3f8;--background-tool-used: linear-gradient( 176deg, rgba(255, 255, 255, 0) 5.88%, rgba(255, 255, 255, .6) 51.28%, rgba(255, 255, 255, 0) 94.95% );--background-drag-overlay: #ffffff80;--background-thinking: linear-gradient( 90deg, var(--text-primary) 0%, #d9d8d8 50.48%, var(--text-primary) 99.04% );--background-app-banner: linear-gradient(180deg, #f7f7f7 0%, #ececec 100%);--background-share-header: linear-gradient( 0deg, rgba(248, 248, 247, 0) 0%, #f8f8f7 45.05% );--text-primary: #34322d;--text-secondary: #5e5e5b;--text-tertiary: #858481;--text-disable: #b9b9b7;--text-blue: #0081f2;--text-onblack: #ffffff;--text-white: #ffffff;--text-white-tsp: #ffffff99;--theme-text-primary: #262626;--logo-color: #34322d;--text-shining: #e5e5e5;--background-gray-main: #f8f8f7;--background-white-main: #ffffff;--background-menu-white: #ffffff;--background-menu-gray: #f8f8f7;--background-tsp-menu-white: #ffffff14;--background-tsp-card-gray: #37352f0a;--background-nav: #ebebeb;--background-card: #fafafa;--background-mask: #000000a6;--background-card-gray: #fafafa;--background-preview-mask: #000000d9;--border-main: #0000000f;--border-white: #ffffff33;--border-btn-main: #0000001f;--border-input-active: #0081f280;--border-light: #0000000a;--border-dark: #0000001f;--border-primary: #4f59661f;--icon-primary: #34322d;--icon-secondary: #5e5e5b;--icon-tertiary: #858481;--icon-disable: #b9b9b7;--icon-blue: #0081f2;--icon-onblack: #ffffff;--icon-white: #ffffff;--icon-white-tsp: #ffffff99;--function-error: #f25a5a;--function-success: #25ba3b;--function-warning: #efa201;--function-error-tsp: #f25a5a14;--function-warning-tsp: #efa2011f;--function-success-tsp: #25ba3b14;--fill-blue: #0081f214;--fill-tsp-white-main: #37352f0f;--fill-tsp-white-dark: #37352f14;--fill-tsp-white-light: #37352f0a;--fill-tsp-gray-dark: #37352f14;--fill-tsp-gray-main: #37352f0a;--fill-white: #ffffff;--fill-black: #28282973;--fill-gray: #f8f8f7;--Button-primary-black: #1a1a19;--Button-primary-white: #ffffff;--Button-primary-brand: #0081f2;--Button-primary-brand-disabled: #7cbdf5;--Button-secondary-brand: #0081f21a;--Button-secondary-error-border: #f25a5a80;--Button-secondary-error-fill: #ffffff;--Button-secondary-main: #ffffff;--Button-secondary-gray: #37352f0f;--tab-fill: rgba(0, 0, 0, .04);--tab-active-black: #1a1a19;--shadow-L: #0000003d;--shadow-M: #0000001f;--shadow-S: #00000014;--shadow-XS: #0000000f;--shadows-inner-0: #ffffff00;--shadows-inner-1: #16191d14;--shadows-inner-2: #16191d1f;--shadows-drop-1: #16191d08;
91--shadows-drop-2: #16191d0a;--shadows-drop-3: #16191d14;--shadows-drop-4: #16191d1f;--shadows-highlight-1: #cce5ff;--shadows-highlight-2: #1487fa;--shadows-danger-1: #fed7d7;--shadows-danger-2: #ee3a3a;--shadows-card-border: #16191d1f;--shadows-card-border-2: #16191d1f;--Tooltips-main: #000000e6;--gradual-white-0: #ffffff00;--gradual-gray-100: #ffffff00;--gradual-gray-0: #ffffff00;--gradual-dark-20: #00000033;--fill-input-chat: #ffffff;--gradient-bg-mask-gray-0: #eaeaeb00;--gradual-white-menu-0: #ffffff00}#manus-previewer-content-root.dark{--text-primary: #dadada;--text-secondary: #acacac;--text-tertiary: #7f7f7f;--text-disable: #5f5f5f;--text-blue: #1a93fe;--text-onblack: #000000e6;--text-white: #ffffff;--text-white-tsp: #ffffff99;--theme-text-primary: #dbdbdb;--logo-color: #dadada;--text-shining: #474747;--background-gray-main: #272728;--background-white-main: #161618;--background-menu-white: #383739;--background-menu-gray: #272728;--background-tsp-menu-white: #ffffff0f;--background-tsp-card-gray: #ffffff0f;--background-nav: #212122;--background-card: #383739;--background-mask-black: #000000a6;--background-mask-white: #272728a6;--background-card-gray: #383739;--background-preview-mask: #000000d9;--border-main: #ffffff14;--border-white: #00000014;--border-btn-main: #ffffff1a;--border-input-active: #1a93fe80;--border-light: #ffffff0f;--border-dark: #ffffff29;--border-primary: #56565f52;--icon-primary: #dadada;--icon-secondary: #acacac;--icon-tertiary: #7f7f7f;--icon-disable: #5f5f5f;--icon-blue: #1a93fe;--icon-onblack: #000000d9;--icon-white: #ffffff;--icon-white-tsp: #ffffff99;--function-error: #eb4d4d;--function-success: #5eb92d;--function-warning: #ffbf36;--function-error-tsp: #eb4d4d14;--function-warning-tsp: #ffbf361f;--function-success-tsp: #25ba3b1f;--fill-blue: #1a93fe1f;--fill-tsp-white-main: #ffffff0f;--fill-tsp-white-dark: #ffffff1f;--fill-tsp-white-light: #ffffff0a;--fill-tsp-gray-dark: #00000047;--fill-tsp-gray-main: #00000033;--fill-white: #3e3d3e;--fill-black: #28282973;--fill-gray: #444345;--Button-primary-black: #ffffff;--Button-primary-white: #ffffff14;--Button-primary-brand: #1a93fe;--Button-primary-brand-disabled: #215d93;--Button-secondary-brand: #1a93fe1f;--Button-secondary-error-border: #eb4d4d29;--Button-secondary-error-fill: #eb4d4d1f;--Button-secondary-main: #ffffff1f;--Button-secondary-gray: #ffffff0f;--tab-fill: rgba(255, 255, 255, .06);--tab-active-black: #ffffff;--shadow-L: #00000066;--shadow-M: #0000003d;--shadow-S: #00000029;--shadow-XS: #0000001f;--shadows-inner-0: #ffffff1f;--shadows-inner-1: #ffffff14;--shadows-inner-2: #ffffff1f;--shadows-drop-1: #0000001f;--shadows-drop-2: #00000033;--shadows-drop-3: #00000047;--shadows-drop-4: #0000005c;--shadows-highlight-1: #1b61a6;--shadows-highlight-2: #1487fa;--shadows-danger-1: #8f1919;--shadows-danger-2: #ee3a3a;--shadows-card-border: #ffffff1f;--shadows-card-border-2: #ffffff00;--Tooltips-main: #000000e6;--gradual-white-0: #27272800;--gradual-gray-100: #444345;--gradual-gray-0: #44434500;--gradual-dark-20: #ffffff33;--fill-input-chat: #363537;--gradient-bg-mask-gray-0: #1e1e1e00;--gradual-white-menu-0: #38373900}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;
vendor: 5,092 bytes, line 91
91--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 475px){.container{max-width:475px}}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-top-1{top:-.25rem}.bottom-0{bottom:0}.bottom-8{bottom:2rem}.bottom-full{bottom:100%}.left-0{left:0}.left-2\\.5{left:.625rem}.left-8{left:2rem}.right-0{right:0}.right-4{right:1rem}.top-0{top:0}.top-1\\/2{top:50%}.top-4{top:1rem}.top-full{top:100%}.z-50{z-index:50}.z-\\[-1\\]{z-index:-1}.z-\\[2147483643\\]{z-index:2147483643}.z-\\[2147483644\\]{z-index:2147483644}.z-\\[999999\\]{z-index:999999}.z-\\[9999\\]{z-index:9999}.-m-\\[25\\%\\]{margin:-25%}.m-0{margin:0}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-1\\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\\[6px\\]{margin-bottom:6px}.ml-1{margin-left:.25rem}.mr-1{margin-right:.25rem}.mt-0\\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}
91.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.inline-grid{display:inline-grid}.hidden{display:none}.size-5{width:1.25rem;height:1.25rem}.size-7{width:1.75rem;height:1.75rem}.h-0\\.5{height:.125rem}.h-12{height:3rem}.h-2{height:.5rem}.h-4{height:1rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[150\\%\\]{height:150%}.h-\\[18px\\]{height:18px}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:24rem}.max-h-\\[70vh\\]{max-height:70vh}.max-h-\\[80vh\\]{max-height:80vh}.min-h-0{min-height:0px}.min-h-screen{min-height:100vh}.w-2{width:.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-8{width:2rem}.w-80{width:20rem}.w-\\[150\\%\\]{width:150%}.w-\\[18px\\]{width:18px}.w-\\[90\\%\\]{width:90%}.w-full{width:100%}.w-px{width:1px}.min-w-0{min-width:0px}.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-7xl{max-width:80rem}.max-w-\\[260px\\]{max-width:260px}.max-w-\\[600px\\]{max-width:600px}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-ew-resize{cursor:ew-resize}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.resize-y{resize:vertical}.resize{resize:both}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-1\\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-y-3{row-gap:.75rem}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-2\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.625rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-3xl{border-radius:1.5rem}.rounded-\\[10px\\]{border-radius:10px}.rounded-\\[12px\\]{border-radius:12px}
91.rounded-\\[14px\\]{border-radius:14px}.rounded-\\[20px\\]{border-radius:20px}.rounded-\\[8px\\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-0{border-width:0px}.border-\\[1\\.5px\\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-none{border-style:none}.border-\\[var\\(--border-main\\)\\]{border-color:var(--border-main)}.border-\\[var\\(--icon-secondary\\)\\]{border-color:var(--icon-secondary)}.border-\\[var\\(--text-tertiary\\)\\]{border-color:var(--text-tertiary)}.border-black\\/10{border-color:#0000001a}.border-black\\/20{border-color:#0003}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.bg-\\[\\#0081f2\\]{--tw-bg-opacity: 1;background-color:rgb(0 129 242 / var(--tw-bg-opacity, 1))}.bg-\\[\\#fdf4e0\\]{--tw-bg-opacity: 1;background-color:rgb(253 244 224 / var(--tw-bg-opacity, 1))}.bg-\\[\\#ffffff0f\\]{background-color:#ffffff0f}.bg-\\[\\#ffffff1a\\]{background-color:#ffffff1a}.bg-\\[rgb\\(37\\,37\\,37\\)\\]{--tw-bg-opacity: 1;background-color:rgb(37 37 37 / var(--tw-bg-opacity, 1))}.bg-\\[rgba\\(239\\,162\\,1\\,0\\.12\\)\\]{background-color:#efa2011f}.bg-\\[var\\(--Button-primary-brand\\)\\]{background-color:var(--Button-primary-brand)}.bg-\\[var\\(--background-menu-gray\\)\\]{background-color:var(--background-menu-gray)}.bg-\\[var\\(--border-main\\)\\]{background-color:var(--border-main)}.bg-\\[var\\(--fill-tsp-white-main\\)\\]{background-color:var(--fill-tsp-white-main)}.bg-\\[var\\(--text-primary\\)\\]{background-color:var(--text-primary)}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-black\\/50{background-color:#00000080}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity, 1))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity, 1))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-75{--tw-bg-opacity: .75}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-50{--tw-gradient-from: #eff6ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-100{--tw-gradient-from: #f3e8ff var(--tw-gradient-from-position);--tw-gradient-to: rgb(243 232 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-purple-600{--tw-gradient-from: #9333ea var(--tw-gradient-from-position);--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-blue-100{--tw-gradient-to: #dbeafe var(--tw-gradient-to-position)}.to-blue-600{--tw-gradient-to: #2563eb var(--tw-gradient-to-position)}.to-indigo-100{--tw-gradient-to: #e0e7ff var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1\\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-0\\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-0{padding-bottom:0}.pb-1\\.5{padding-bottom:.375rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-8{padding-bottom:2rem}.pl-1{padding-left:.25rem}.pl-10{padding-left:2.5rem}.pl-7{padding-left:1.75rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-0\\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-2\\.5{padding-top:.625rem}.pt-3{padding-top:.75rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-5{line-height:1.25rem}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.text-\\[var\\(--background-card\\)\\]{color:var(--background-card)}.text-\\[var\\(--icon-primary\\,\\#34322D\\)\\]{color:var(--icon-primary,#34322D)}.text-\\[var\\(--icon-tertiary\\)\\]{color:var(--icon-tertiary)}.text-\\[var\\(--text-disable\\)\\]{color:var(--text-disable)}.text-\\[var\\(--text-primary\\)\\]{color:var(--text-primary)}.text-\\[var\\(--text-primary\\,\\#34322D\\)\\]{color:var(--text-primary,#34322D)}.text-\\[var\\(--text-tertiary\\)\\]{color:var(--text-tertiary)}.text-\\[var\\(--text-white\\)\\]{color:var(--text-white)}.text-\\[var\\(--text-white-tsp\\)\\]{color:var(--text-white-tsp)}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.text-purple-100{--tw-text-opacity: 1;color:rgb(243 232 255 / var(--tw-text-opacity, 1))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.line-through{text-decoration-line:line-through}.opacity-0{opacity:0}
91.opacity-25{opacity:.25}.opacity-50{opacity:.5}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0_4px_12px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow: 0 4px 12px rgba(0,0,0,.15);--tw-shadow-colored: 0 4px 12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0_4px_24px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow: 0 4px 24px rgba(0,0,0,.15);--tw-shadow-colored: 0 4px 24px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\\[0px_8px_32px_0px_var\\(--shadow-S\\)\\]{--tw-shadow: 0px 8px 32px 0px var(--shadow-S);--tw-shadow-colored: 0px 8px 32px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
91dow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-sha
91dow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}*{box-sizing:border-box;outline:none;margin:0;padding:0}#manus-previewer-content-root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI Variable Display,Segoe UI,Helvetica,"Apple Color Emoji",Arial,sans-serif,"Segoe UI Emoji",Segoe UI Symbol}::-webkit-scrollbar-thumb{background-color:transparent;cursor:pointer}*:hover::-webkit-scrollbar-thumb{background-color:#b9b9b7}::-webkit-scrollbar-thumb:hover{background-color:#858481}::-webkit-scrollbar-track{background-color:transparent}*{scrollbar-width:thin;scrollbar-color:transparent transparent}*:hover{scrollbar-color:#b9b9b7 transparent}@keyframes fadeInUp{0%{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes fadeInScale{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}.placeholder\\:text-\\[var\\(--text-disable\\)\\]::-moz-placeholder{color:var(--text-disable)}.placeholder\\:text-\\[var\\(--text-disable\\)\\]::placeholder{color:var(--text-disable)}.last\\:border-b-0:last-child{border-bottom-width:0px}.hover\\:bg-\\[\\#ffffff0f\\]:hover{background-color:#ffffff0f}.hover\\:bg-\\[var\\(--fill-tsp-white-light\\)\\]:hover{background-color:var(--fill-tsp-white-light)}.hover\\:bg-\\[var\\(--fill-tsp-white-main\\)\\]:hover{background-color:var(--fill-tsp-white-main)}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity, 1))}.hover\\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity, 1))}.hover\\:bg-purple-700:hover{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.hover\\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.hover\\:text-\\[var\\(--text-secondary\\)\\]:hover{color:var(--text-secondary)}.hover\\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.hover\\:text-indigo-600:hover{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity, 1))}.hover\\:text-indigo-700:hover{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity, 1))}.hover\\:text-purple-700:hover{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity, 1))}.hover\\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-80:hover{opacity:.8}.hover\\:opacity-90:hover{opacity:.9}
91.hover\\:shadow-xl:hover{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\\:bg-\\[\\#ffffff0f\\]:focus{background-color:#ffffff0f}.focus\\:bg-\\[var\\(--fill-tsp-white-main\\)\\]:focus{background-color:var(--fill-tsp-white-main)}.focus\\:text-\\[var\\(--text-secondary\\)\\]:focus{color:var(--text-secondary)}.focus\\:opacity-90:focus{opacity:.9}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-\\[1px\\]:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-sha
91dow, 0 0 #0000)}.focus\\:ring-inset:focus{--tw-ring-inset: inset}.focus\\:ring-\\[var\\(--border-dark\\)\\]:focus{--tw-ring-color: var(--border-dark)}.focus\\:ring-purple-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(168 85 247 / var(--tw-ring-opacity, 1))}.active\\:opacity-80:active{opacity:.8}.active\\:opacity-90:active{opacity:.9}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media (min-width: 475px){.xs\\:block{display:block}.xs\\:w-auto{width:auto}.xs\\:flex-none{flex:none}.xs\\:flex-row{flex-direction:row}.xs\\:items-center{align-items:center}.xs\\:p-6{padding:1.5rem}.xs\\:px-5{padding-left:1.25rem;padding-right:1.25rem}.xs\\:pt-4{padding-top:1rem}}@media (min-width: 768px){.md\\:flex{display:flex}.md\\:w-1\\/3{width:33.333333%}.md\\:w-2\\/3{width:66.666667%}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1024px){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\\[\\&\\:\\:-webkit-inner-spin-button\\]\\:appearance-none::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}.\\[\\&\\:\\:-webkit-outer-spin-button\\]\\:appearance-none::-webkit-outer-spin-button{-webkit-appearance:none;appearance:none}'},Symbol.toStringTag,{value:"Module"}))})();
92</script>
92
93
94    <div id="root"><link rel="preload" as="image" href="/manus-storage/clinic-logo_68c9df33.png"/>
94<script type="application/ld+json">{"@context":"https://schema.org","@type":"MedicalBusiness","name":"عيادة الدكتور محمد عبد الله توفيق","description":"عيادة تقدم معلومات واستشارات حول تقييم وخيارات علاج التثدي.","url":"https://drmohamedtawfik.manus.space","telephone":"+201129769006","medicalSpecialty":"جراحة التجميل","founder":{"@type":"Person","name":"دكتور محمد عبد الله توفيق","jobTitle":"جراح متخصص في علاج التثدي"},"sameAs":["https://www.instagram.com/drmohamedabdullahtawfik","https://wa.me/201129769006"]}</script>
94<script type="application/ld+json">{"@context":"https://schema.org","@type":"Person","name":"دكتور محمد عبد الله توفيق","jobTitle":"جراح متخصص في علاج التثدي","description":"يقدّم استشارات وتقييمات فردية لمناقشة خيارات علاج التثدي.","url":"https://drmohamedtawfik.manus.space","telephone":"+201129769006","medicalSpecialty":"جراحة التجميل"}</script>
94<section aria-label="Notifications alt+T" tabindex="-1" aria-live="polite" aria-relevant="additions text" aria-atomic="false"></section><div dir="rtl" class="min-h-screen bg-slate-50 text-slate-900"><header class="fixed top-0 left-0 right-0 z-50 border-b border-gray-200 bg-white/95 backdrop-blur-md"><div class="container mx-auto flex items-center justify-between px-4 py-4"><a href="/" aria-label="العودة إلى الصفحة الرئيسية" class="flex items-center gap-3 rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2"><img src="/manus-storage/clinic-logo_68c9df33.png" alt="عيادة الدكتور محمد" loading="eager" decoding="async" class="h-10 w-10"/><div class="hidden sm:block"><p class="text-lg font-bold text-primary">د. محمد توفيق</p><p class="text-xs text-gray-600">علاج التثدي</p></div></a><nav aria-label="التنقل الرئيسي" class="hidden items-center gap-8 md:flex"><a href="/" class="rounded-sm text-sm font-medium text-gray-700 transition-colors hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2">الرئيسية</a><a href="/treatment" class="rounded-sm text-sm font-medium text-gray-700 transition-colors hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2">علاج التثدي</a><a href="/techniques" class="rounded-sm text-sm font-medium text-gray-700 transition-colors hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2">التقنيات</a><a href="/recovery" class="rounded-sm text-sm font-medium text-gray-700 transition-colors hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2">التعافي</a><a href="/cases" class="rounded-sm text-sm font-medium text-gray-700 transition-colors hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2">قبل وبعد</a><a href="/blog" class="rounded-sm text-sm font-medium text-gray-700 transition-colors hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2">المدونة</a><a href="/instagram" class="rounded-sm text-sm font-medium text-gray-700 transition-colors hover:text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2">الانستجرام</a></nav><div class="hidden md:block"><a href="/booking" data-slot="button" class="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 [&amp;_svg]:pointer-events-none [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 shrink-0 [&amp;_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 h-9 px-4 py-2 has-[&gt;svg]:px-3 bg-primary text-white hover:bg-primary/90">احجز استشارة</a></div><button type="button" class="rounded-md p-2 text-primary transition-colors hover:bg-primary/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 md:hidden" aria-expanded="false" aria-controls="mobile-navigation" aria-label="فتح قائمة التنقل"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-menu"><line x1="4" x2="20" y1="12" y2="12"></line><line x1="4" x2="20" y1="6" y2="6"></line><line x1="4" x2="20" y1="18" y2="18"></line></svg></button></div></header><main><section class="bg-gradient-to-bl from-[#0b3971] via-[#0d4b8d] to-[#1c6f92] pb-16 pt-32 text-white md:pb-24 md:pt-40"><div class="container"><div class="max-w-4xl"><p class="mb-5 inline-flex items-center gap-2 rounded-full border border-white/20 bg-white/10 px-4 py-2 text-sm font-medium text-blue-50"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-stethoscope h-4 w-4" aria-hidden="true"><path d="M11 2v2"></path><path d="M5 2v2"></path><path d="M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1"></path><path d="M8 15a6 6 0 0 0 12 0v-3"></path><circle cx="20" cy="10" r="2"></circle></svg>محتوى تثقيفي عن علاج التثدي</p><h1 class="max-w-4xl text-4xl font-black leading-tight tracking-tight md:text-6xl">علاج التثدي في مصر: التقييم وخيارات العلاج</h1><p class="mt-7 max-w-3xl text-lg leading-8 text-blue-50 md:text-xl">التثدي هو تضخّم في نسيج الثدي لدى الرجال، وقد يرتبط بتغيرات هرمونية أو أدوية أو زيادة في الوزن أو أسباب طبية أخرى. لذلك تبدأ الخطة الصحيحة بتقييم طبي فردي، لا باختيار إجراء من الإنترنت.</p><div class="mt-9 flex flex-col gap-3 sm:flex-row"><a href="/booking" data-slot="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&amp;_svg]:pointer-events-none [&amp;_svg:not([class*=&#x27;
94size-&#x27;])]:size-4 shrink-0 [&amp;_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 h-10 rounded-md px-6 has-[&gt;svg]:px-4 bg-white text-[#0d4b8d] hover:bg-blue-50">احجز تقييمًا للحالة<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-calendar-check2 mr-2 h-5 w-5" aria-hidden="true"><path d="M8 2v4"></path><path d="M16 2v4"></path><path d="M21 14V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8"></path><path d="M3 10h18"></path><path d="m16 20 2 2 4-4"></path></svg></a><a href="/cases" data-slot="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&amp;_svg]:pointer-events-none [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 shrink-0 [&amp;_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 border shadow-xs dark:bg-transparent dark:border-input dark:hover:bg-input/50 h-10 rounded-md px-6 has-[&gt;svg]:px-4 border-white/80 bg-transparent text-white hover:bg-white/10 hover:text-white">شاهد ألبوم الحالات قبل وبعد</a></div></div></div></section><section class="border-b border-slate-200 bg-white py-10"><div class="container grid gap-4 md:grid-cols-3"><div class="flex items-start gap-3 rounded-2xl bg-blue-50/70 p-5"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-check mt-0.5 h-5 w-5 shrink-0 text-[#0d4b8d]" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="m9 12 2 2 4-4"></path></svg><p class="leading-7 text-slate-700">قد يساعد التقييم في التفريق بين زيادة الدهون وتضخم النسيج الغدي أو اجتماع الاثنين.</p></div><div class="flex items-start gap-3 rounded-2xl bg-blue-50/70 p-5"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-check mt-0.5 h-5 w-5 shrink-0 text-[#0d4b8d]" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="m9 12 2 2 4-4"></path></svg><p class="leading-7 text-slate-700">بعض الحالات قد تحتاج متابعة أو معالجة السبب، بينما قد يناقش الطبيب التدخل الجراحي في حالات أخرى.</p></div><div class="flex items-start gap-3 rounded-2xl bg-blue-50/70 p-5"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-check mt-0.5 h-5 w-5 shrink-0 text-[#0d4b8d]" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="m9 12 2 2 4-4"></path></svg><p class="leading-7 text-slate-700">إذا تقررت الجراحة، فقد تتضمن شفط الدهون أو استئصال النسيج الغدي أو الجمع بينهما، وفق تقييم الجراح.</p></div></div></section><section class="py-16 md:py-24"><div class="container grid gap-12 lg:grid-cols-[minmax(0,1fr)_300px]"><article class="space-y-12"><section class="rounded-3xl border border-slate-200 bg-white p-7 shadow-sm md:p-9"><div class="mb-5 flex items-center gap-4"><span class="flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-[#0d4b8d] text-sm font-bold text-white">1</span><h2 class="text-2xl font-bold text-[#0b3971] md:text-3xl">لماذا يبدأ الأمر بالتقييم؟</h2></div><div class="space-y-4 text-base leading-8 text-slate-700 md:text-lg"><p>لا يُفترض أن كل بروز في منطقة الصدر هو النوع نفسه من التثدي. يبدأ التقييم عادةً بمراجعة التاريخ الصحي والأدوية والأعراض، ثم الفحص السريري، وقد يقترح الطبيب فحوصات إضافية عندما تستدعي الحالة ذلك.</p><p>تساعد هذه الخطوة على فهم السبب المحتمل ووضع خطة واقعية تناسب الحالة الصحية والهدف التجميلي، بدلاً من تعميم إجراء واحد على الجميع.</p></div></section><section class="rounded-3xl border border-slate-200 bg-white p-7 shadow-sm md:p-9"><div class="mb-5 flex items-center gap-4"><span class="flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-[#0d4b8d] text-sm font-bold text-white">2</span><h2 class="text-2xl font-bold text-[#0b3971] md:text-3xl">ما خيارات العلاج التي قد تُناقش؟</h2></div><div class="space-y-4 text-base leading-8 text-slate-700 md:text-lg"><p>يعتمد العلاج على السبب ودرجة الأعراض وخصائص الجلد والأنسجة. في بعض الحالات قد تكون الملاحظة أو معالجة السبب أو تعديل دواء تحت إشراف الطبيب جزءًا من الخطة.</p><p>عندما يرى الجراح أن التدخل مناسب، قد يناقش شفط الدهون أو استئصال النسيج الغدي أو الجمع بينهما. لا يمكن تأكيد الخيار المناسب أو توقع النتيجة قبل الاستشارة والفحص.</p></div></section><section class="rounded-3xl border border-slate-200 bg-white p-7 shadow-sm md:p-9"><div class="mb-5 flex items-center gap-4"><span class="flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-[#0d4b8d] text-sm font-bold text-white">3</span><h2 class="text-2xl font-bold text-[#0b3971] md:text-3xl">متى يُفضّل طلب تقييم طبي؟</h2></div><div class="space-y-4 text-base leading-8 text-slate-700 md:text-lg"><p>ينبغي طلب تقييم طبي عند وجود كتلة مستمرة أو ألم أو تغيرات في الجلد أو الحلمة أو إفرازات أو نزف. هذه الأعراض لا تعني سببًا محددًا، لكنها تستحق تقييمًا مباشرًا.</p></div><ul class="mt-6 space-y-3 rounded-2xl bg-slate-50 p-5 text-slate-700"><li class="flex items-start gap-3 leading-7"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-check mt-1 h-4 w-4 shrink-0 text-[#0d4b8d]" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="m9 12 2 2 4-4"></path></svg><span>ظهور كتلة جديدة أو نمو سريع في أحد الجانبين.</span></li><li class="flex items-start gap-3 leading-7"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-check mt-1 h-4 w-4 shrink-0 text-[#0d4b8d]" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="m9 12 2 2 4-4"></path></svg><span>ألم مستمر أو تغير في الجلد أو الحلمة.</span></li><li class="flex items-start gap-3 leading-7"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-check mt-1 h-4 w-4 shrink-0 text-[#0d4b8d]" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="m9 12 2 2 4-4"></path></svg><span>إفرازات أو نزف من الحلمة.</span></li><li class="flex items-start gap-3 leading-7"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-check mt-1 h-4 w-4 shrink-0 text-[#0d4b8d]" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><path d="m9 12 2 2 4-4"></path></svg><span>وجود أمراض مزمنة أو أدوية يرغب المريض في مناقشة أثرها مع الطبيب.</span></li></ul></section><section class="rounded-3xl border border-slate-200 bg-white p-7 shadow-sm md:p-9"><div class="mb-5 flex items-center gap-4"><span class="flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-[#0d4b8d] text-sm font-bold text-white">4</span><h2 class="text-2xl font-bold text-[#0b3971] md:text-3xl">
94كيف تستعد للاستشارة؟</h2></div><div class="space-y-4 text-base leading-8 text-slate-700 md:text-lg"><p>اكتب الأعراض ومدتها، وأحضر قائمة بالأدوية والمكملات والحالات الصحية السابقة. تساعد هذه المعلومات الطبيب على إجراء تقييم أكثر دقة ومناقشة البدائل وخطة المتابعة بوضوح.</p></div></section></article><aside class="space-y-5 lg:sticky lg:top-28 lg:self-start"><div class="rounded-3xl bg-[#0b3971] p-7 text-white shadow-xl shadow-blue-950/15"><h2 class="text-xl font-bold">هل تريد مناقشة حالتك؟</h2><p class="mt-3 leading-7 text-blue-50">التقييم المباشر هو الطريقة المناسبة لفهم الحالة ومناقشة الخيارات الواقعية.</p><a href="/booking" data-slot="button" class="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 [&amp;_svg]:pointer-events-none [&amp;_svg:not([class*=&#x27;size-&#x27;])]:size-4 shrink-0 [&amp;_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 h-9 px-4 py-2 has-[&gt;svg]:px-3 mt-6 w-full bg-white text-[#0d4b8d] hover:bg-blue-50">ابدأ طلب الاستشارة</a></div><div class="rounded-3xl border border-amber-200 bg-amber-50 p-6"><div class="flex items-start gap-3"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-alert mt-0.5 h-5 w-5 shrink-0 text-amber-700" aria-hidden="true"><circle cx="12" cy="12" r="10"></circle><line x1="12" x2="12" y1="8" y2="12"></line><line x1="12" x2="12.01" y1="16" y2="16"></line></svg><div><h2 class="font-bold text-amber-950">تنبيه طبي</h2><p class="mt-2 text-sm leading-6 text-amber-900">هذا المحتوى للتثقيف العام. التشخيص والعلاج والنتائج المتوقعة تختلف بين الحالات ولا تُحدَّد إلا بعد تقييم طبي مباشر.</p></div></div></div><nav aria-label="صفحات ذات صلة" class="rounded-3xl border border-slate-200 bg-white p-6"><h2 class="font-bold text-[#0b3971]">اقرأ أيضًا</h2><ul class="mt-4 space-y-4"><li><a href="/techniques" class="group block rounded-xl p-3 transition-colors hover:bg-blue-50"><span class="flex items-center justify-between gap-2 font-semibold text-[#0d4b8d]">خيارات وتقنيات العلاج<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-left h-4 w-4 transition-transform group-hover:-translate-x-1" aria-hidden="true"><path d="m12 19-7-7 7-7"></path><path d="M19 12H5"></path></svg></span><span class="mt-1 block text-sm leading-6 text-slate-600">تعرف على العوامل التي تساعد الطبيب في اختيار النهج المناسب.</span></a></li><li><a href="/recovery" class="group block rounded-xl p-3 transition-colors hover:bg-blue-50"><span class="flex items-center justify-between gap-2 font-semibold text-[#0d4b8d]">دليل التعافي<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-left h-4 w-4 transition-transform group-hover:-translate-x-1" aria-hidden="true"><path d="m12 19-7-7 7-7"></path><path d="M19 12H5"></path></svg></span><span class="mt-1 block text-sm leading-6 text-slate-600">نظرة عامة على مراحل التعافي والمتابعة بعد الإجراء.</span></a></li><li><a href="/blog/what-is-gynecomastia" class="group block rounded-xl p-3 transition-colors hover:bg-blue-50"><span class="flex items-center justify-between gap-2 font-semibold text-[#0d4b8d]">ما هو التثدي؟<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-left h-4 w-4 transition-transform group-hover:-translate-x-1" aria-hidden="true"><path d="m12 19-7-7 7-7"></path><path d="M19 12H5"></path></svg></span><span class="mt-1 block text-sm leading-6 text-slate-600">مقالة طبية تفصيلية عن الأسباب والتقييم وخيارات العلاج.</span></a></li></ul></nav></aside></div></section></main><footer class="bg-slate-950 py-10 text-slate-300"><div class="container text-center"><p class="font-semibold text-white">عيادة د. محمد عبد الله توفيق</p><p class="mt-3 text-sm leading-6 text-slate-400">المحتوى المنشور للتثقيف العام ولا يُغني عن الاستشارة أو التقييم الطبي المباشر.<
94/p><p class="mt-4 text-xs text-slate-500">© <!-- -->2026<!-- --> جميع الحقوق محفوظة.</p></div></footer></div></div>
95    
95<script
96      defer
97      src="https://manus-analytics.com/umami"
98      data-website-id="0a33e2da-c0ef-42ac-9209-09facbc04aa3"></script>
98
99  <manus-content-root></manus-content-root>
99<script>
100			var __manus_space_editor_info = {
101			spaceId : 'bCNrR8q6Fj3Era37b8RCjS',
102			patchList : [],
103			hideBadge : false,
104			sessionId : '8zCkJAKQpVfncq1SCdnQBe',
105			isWebDev : true,
106			usageStatus : 'UsageStatus_Unknown',
107			};
108			var __manus__global_env = {
109				apiHost: 'https://api.manus.im',
110				host: 'https://manus.im',
111				amplitudeKey: '46ac3f9abb41dd2d17a5785e052bc6d3',
112			};
113			</script>
113<script src="https://files.manuscdn.com/manus-space-dispatcher/spaceEditor-Be_SD1Uu.js" async></script>
113<script
114			defer
115			data-domain="manus.space"
116			src="https://plausible.io/js/script.file-downloads.hash.outbound-links.pageview-props.revenue.tagged-events.js"
117		></script>
117
118		
118<script>
119			window.plausible =
120				window.plausible ||
121				function () {
122					(window.plausible.q = window.plausible.q || []).push(arguments);
123				};
124			plausible('custom-pageview', {
125			  props: {
126    			domain: window.location.host
127  			}
128			})
129		</script>
129</body>
130
131</html>

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.