fix fullstack playwright test features

This commit is contained in:
Evan Almloff committed 2024-02-05 15:04:49 -06:00
1 parent 1b7c31792e
commit b4f2a925c7
15 files changed
+93 -66

No files matched your search

Generated
-3
View File
@@ -2791,11 +2791,8 @@ dependencies = [
name = "dioxus-playwright-fullstack-test"
version = "0.1.0"
dependencies = [
"axum 0.6.20",
"dioxus",
"execute",
"serde",
"tokio",
]
[[package]]
+1 -1
View File
@@ -150,7 +150,7 @@ fullstack = ["dioxus/fullstack"]
axum = ["dioxus/axum"]
salvo = ["dioxus/salvo"]
rocket = ["dioxus/rocket"]
server = ["dioxus/server"]
server = ["dioxus/axum"]
default = ["dioxus/desktop"]
web = ["dioxus/web"]
collect-assets = ["manganis"]
+4 -5
View File
@@ -47,12 +47,11 @@ fullstack = ["dioxus-fullstack", "dioxus-config-macro/fullstack", "serde", "diox
desktop = ["dioxus-desktop", "dioxus-fullstack?/desktop", "dioxus-config-macro/desktop"]
mobile = ["dioxus-mobile", "dioxus-fullstack?/mobile", "dioxus-config-macro/mobile"]
web = ["dioxus-web", "dioxus-fullstack?/web", "dioxus-config-macro/web", "dioxus-router?/web"]
server = ["dioxus-fullstack?/server", "dioxus-config-macro/ssr", "dioxus-router?/ssr"]
ssr = ["dioxus-ssr"]
ssr = ["dioxus-ssr", "dioxus-router?/ssr", "dioxus-config-macro/ssr"]
liveview = ["dioxus-liveview", "dioxus-config-macro/liveview", "dioxus-router?/liveview"]
axum = ["dioxus-fullstack?/axum", "dioxus-liveview?/axum"]
salvo = ["dioxus-fullstack?/salvo", "dioxus-liveview?/salvo"]
warp = ["dioxus-fullstack?/warp", "dioxus-liveview?/warp"]
axum = ["dioxus-fullstack?/axum", "ssr", "dioxus-liveview?/axum"]
salvo = ["dioxus-fullstack?/salvo", "ssr", "dioxus-liveview?/salvo"]
warp = ["dioxus-fullstack?/warp", "ssr", "dioxus-liveview?/warp"]
rocket = ["dioxus-liveview?/rocket"]
tui = ["dioxus-tui", "dioxus-config-macro/tui"]
+1 -1
View File
@@ -78,6 +78,6 @@ mobile = ["dioxus-mobile"]
warp = ["dep:warp", "server"]
axum = ["dep:axum", "tower-http", "server"]
salvo = ["dep:salvo", "server", "http-body-util"]
server = ["server_fn/ssr", "dioxus_server_macro/ssr", "tokio", "tokio-util", "tokio-stream", "dioxus-ssr", "dioxus-ssr/incremental", "tower", "hyper", "http", "tower-layer", "anymap", "tracing-futures", "pin-project", "thiserror", "dioxus-cli-config"]
server = ["server_fn/ssr", "dioxus_server_macro/server", "tokio", "tokio-util", "tokio-stream", "dioxus-ssr", "dioxus-ssr/incremental", "tower", "hyper", "http", "tower-layer", "anymap", "tracing-futures", "pin-project", "thiserror", "dioxus-cli-config"]
default-tls = ["server_fn/default-tls"]
rustls = ["server_fn/rustls"]
@@ -2,7 +2,7 @@
//!
//! ```sh
//! dx build --features web
//! cargo run --features ssr
//! cargo run --features server
//! ```
#![allow(non_snake_case, unused)]
@@ -1,6 +1,6 @@
// Run with:
// ```bash
// cargo run --bin server --features ssr
// cargo run --bin server --features server
// ```
use axum_desktop::*;
@@ -2,7 +2,7 @@
//!
//! ```sh
//! dx build --features web --release
//! cargo run --features ssr
//! cargo run --features server
//! ```
#![allow(unused)]
@@ -1,2 +1,3 @@
.dioxus
dist
target
@@ -7,13 +7,10 @@ publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus = { workspace = true }
axum = { version = "0.6.12", optional = true }
tokio = { version = "1.27.0", features = ["full"], optional = true }
dioxus = { workspace = true, features = ["fullstack"] }
serde = "1.0.159"
execute = "0.2.12"
[features]
default = []
server = ["axum", "tokio", "dioxus/axum"]
server = ["dioxus/axum"]
web = ["dioxus/web"]
@@ -6,55 +6,18 @@
#![allow(non_snake_case)]
use dioxus::prelude::*;
use serde::{Deserialize, Serialize};
fn main() {
#[cfg(feature = "web")]
dioxus_web::launch_with_props(
app,
get_root_props_from_document().unwrap_or_default(),
dioxus_web::Config::new().hydrate(true),
);
#[cfg(feature = "ssr")]
{
// Start hot reloading
hot_reload_init!(dioxus_hot_reload::Config::new().with_rebuild_callback(|| {
execute::shell("dx build --features web")
.spawn()
.unwrap()
.wait()
.unwrap();
execute::shell("cargo run --features ssr").spawn().unwrap();
true
}));
tokio::runtime::Runtime::new()
.unwrap()
.block_on(async move {
let addr = std::net::SocketAddr::from(([127, 0, 0, 1], 3333));
axum::Server::bind(&addr)
.serve(
axum::Router::new()
.serve_dioxus_application(
"",
ServeConfigBuilder::new(app, AppProps { count: 12345 }).build(),
)
.into_make_service(),
)
.await
.unwrap();
});
}
}
#[derive(Props, PartialEq, Debug, Default, Serialize, Deserialize, Clone)]
struct AppProps {
count: i32,
LaunchBuilder::fullstack()
.with_cfg(ssr! {
dioxus::fullstack::Config::default().addr(std::net::SocketAddr::from(([127, 0, 0, 1], 3333)))
})
.launch(app);
}
#[allow(unused)]
fn app(props: AppProps) -> Element {
let mut count = use_signal(|| props.count);
fn app() -> Element {
let mut count = use_signal(|| 12345);
let mut text = use_signal(|| "...".to_string());
rsx! {
@@ -0,0 +1,69 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<meta name='color-scheme' content='dark light'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>Playwright Test Report</title>
<script type="module">var $0=Object.defineProperty;var eh=(e,t,n)=>t in e?$0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Tt=(e,t,n)=>(eh(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();var zn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rf={exports:{}},xs={},of={exports:{}},Q={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Jr=Symbol.for("react.element"),th=Symbol.for("react.portal"),nh=Symbol.for("react.fragment"),rh=Symbol.for("react.strict_mode"),oh=Symbol.for("react.profiler"),sh=Symbol.for("react.provider"),ih=Symbol.for("react.context"),lh=Symbol.for("react.forward_ref"),ch=Symbol.for("react.suspense"),ah=Symbol.for("react.memo"),uh=Symbol.for("react.lazy"),Yc=Symbol.iterator;function fh(e){return e===null||typeof e!="object"?null:(e=Yc&&e[Yc]||e["@@iterator"],typeof e=="function"?e:null)}var sf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lf=Object.assign,cf={};function er(e,t,n){this.props=e,this.context=t,this.refs=cf,this.updater=n||sf}er.prototype.isReactComponent={};er.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};er.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function af(){}af.prototype=er.prototype;function Nl(e,t,n){this.props=e,this.context=t,this.refs=cf,this.updater=n||sf}var Ol=Nl.prototype=new af;Ol.constructor=Nl;lf(Ol,er.prototype);Ol.isPureReactComponent=!0;var Gc=Array.isArray,uf=Object.prototype.hasOwnProperty,Pl={current:null},ff={key:!0,ref:!0,__self:!0,__source:!0};function df(e,t,n){var r,o={},s=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)uf.call(t,r)&&!ff.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:Jr,type:e,key:s,ref:i,props:o,_owner:Pl.current}}function dh(e,t){return{$$typeof:Jr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Ll(e){return typeof e=="object"&&e!==null&&e.$$typeof===Jr}function ph(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var zc=/\/+/g;function Vs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ph(""+e.key):t.toString(36)}function Io(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Jr:case th:i=!0}}if(i)return i=e,o=o(i),e=r===""?"."+Vs(i,0):r,Gc(o)?(n="",e!=null&&(n=e.replace(zc,"$&/")+"/"),Io(o,t,n,"",function(u){return u})):o!=null&&(Ll(o)&&(o=dh(o,n+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(zc,"$&/")+"/")+e)),t.push(o)),1;if(i=0,r=r===""?".":r+":",Gc(e))for(var l=0;l<e.length;l++){s=e[l];var c=r+Vs(s,l);i+=Io(s,t,n,c,o)}else if(c=fh(e),typeof c=="function")for(e=c.call(e),l=0;!(s=e.next()).done;)s=s.value,c=r+Vs(s,l++),i+=Io(s,t,n,c,o);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function oo(e,t,n){if(e==null)return e;var r=[],o=0;return Io(e,r,"","",function(s){return t.call(n,s,o++)}),r}function hh(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ke={current:null},No={transition:null},gh={ReactCurrentDispatcher:ke,ReactCurrentBatchConfig:No,ReactCurrentOwner:Pl};Q.Children={map:oo,forEach:function(e,t,n){oo(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return oo(e,function(){t++}),t},toArray:function(e){return oo(e,function(t){return t})||[]},only:function(e){if(!Ll(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Q.Component=er;Q.Fragment=nh;Q.Profiler=oh;Q.PureComponent=Nl;Q.StrictMode=rh;Q.Suspense=ch;Q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=gh;Q.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=lf({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=Pl.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)uf.call(t,c)&&!ff.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Jr,type:e.type,key:o,ref:s,props:r,_owner:i}};Q.createContext=function(e){return e={$$typeof:ih,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:sh,_context:e},e.Line truncated
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var mh=j,vh=Symbol.for("react.element"),yh=Symbol.for("react.fragment"),wh=Object.prototype.hasOwnProperty,Ah=mh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Eh={key:!0,ref:!0,__self:!0,__source:!0};function pf(e,t,n){var r,o={},s=null,i=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)wh.call(t,r)&&!Eh.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:vh,type:e,key:s,ref:i,props:o,_owner:Ah.current}}xs.Fragment=yh;xs.jsx=pf;xs.jsxs=pf;rf.exports=xs;var Hl=rf.exports;const $t=Hl.Fragment,A=Hl.jsx,L=Hl.jsxs,xh=15,V=0,At=1,Sh=2,De=-2,J=-3,Xc=-4,Et=-5,Pe=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],hf=1440,kh=0,Ch=4,Dh=9,Rh=5,Th=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],bh=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],Ih=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27Line truncated
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(b,M){var N=b.length;b.push(M);e:for(;0<N;){var z=N-1>>>1,F=b[z];if(0<o(F,M))b[z]=M,b[N]=F,N=z;else break e}}function n(b){return b.length===0?null:b[0]}function r(b){if(b.length===0)return null;var M=b[0],N=b.pop();if(N!==M){b[0]=N;e:for(var z=0,F=b.length,Y=F>>>1;z<Y;){var st=2*(z+1)-1,En=b[st],it=st+1,xn=b[it];if(0>o(En,N))it<F&&0>o(xn,En)?(b[z]=xn,b[it]=N,z=it):(b[z]=En,b[st]=N,z=st);else if(it<F&&0>o(xn,N))b[z]=xn,b[it]=N,z=it;else break e}}return M}function o(b,M){var N=b.sortIndex-M.sortIndex;return N!==0?N:b.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var c=[],u=[],h=1,v=null,p=3,x=!1,E=!1,m=!1,g=typeof setTimeout=="function"?setTimeout:null,a=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(b){for(var M=n(u);M!==null;){if(M.callback===null)r(u);else if(M.startTime<=b)r(u),M.sortIndex=M.expirationTime,t(c,M);else break;M=n(u)}}function w(b){if(m=!1,d(b),!E)if(n(c)!==null)E=!0,B(k);else{var M=n(u);M!==null&&G(w,M.startTime-b)}}function k(b,M){E=!1,m&&(m=!1,a(C),C=-1),x=!0;var N=p;try{for(d(M),v=n(c);v!==null&&(!(v.expirationTime>M)||b&&!T());){var z=v.callback;if(typeof z=="function"){v.callback=null,p=v.priorityLevel;var F=z(v.expirationTime<=M);M=e.unstable_now(),typeof F=="function"?v.callback=F:v===n(c)&&r(c),d(M)}else r(c);v=n(c)}if(v!==null)var Y=!0;else{var st=n(u);st!==null&&G(w,st.startTime-M),Y=!1}return Y}finally{v=null,p=N,x=!1}}var y=!1,S=null,C=-1,R=5,D=-1;function T(){return!(e.unstable_now()-D<R)}function H(){if(S!==null){var b=e.unstable_now();D=b;var M=!0;try{M=S(!0,b)}finally{M?O():(y=!1,S=null)}}else y=!1}var O;if(typeof f=="function")O=function(){f(H)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,U=q.port2;q.port1.onmessage=H,O=function(){U.postMessage(null)}}else O=function(){g(H,0)};function B(b){S=b,y||(y=!0,O())}function G(b,M){C=g(function(){b(e.unstable_now())},M)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(b){b.callback=null},e.unstable_continueExecution=function(){E||x||(E=!0,B(k))},e.unstable_forceFrameRate=function(b){0>b||125<b?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<b?Math.floor(1e3/b):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(b){switch(p){case 1:case 2:case 3:var M=3;break;default:M=p}var N=p;p=M;try{return b()}finally{p=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(b,M){switch(b){case 1:case 2:case 3:case 4:case 5:break;default:b=3}var N=p;p=b;try{return M()}finally{p=N}},e.unstable_scheduleCallback=function(b,M,N){var z=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?z+N:z):N=z,b){case 1:var F=-1;break;case 2:F=250;break;case 5:F=1073741823;break;case 4:F=1e4;break;default:F=5e3}return F=N+F,b={id:h++,callback:M,priorityLevel:b,startTime:N,expirationTime:F,sortIndex:-1},N>z?(b.sortIndex=N,t(u,b),n(c)===null&&b===n(u)&&(m?(a(C),C=-1):m=!0,G(w,N-z))):(b.sortIndex=F,t(c,b),E||x||(E=!0,B(k))),b},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(b){var M=p;return function(){var N=p;p=M;try{return b.apply(this,arguments)}finally{p=N}}}})(wd);yd.exports=wd;var Mm=yd.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ad=j,Me=Mm;function I(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ed=new Set,Or={};function wn(e,t){Xn(e,t),Xn(e+"Capture",t)}function Xn(e,t){for(Or[e]=t,e=0;e<t.length;e++)Ed.add(t[e])}var kt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Mi=Object.prototype.hasOwnProperty,Fm=/^[: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]*$/,Fa={},Ua={};function Um(e){return Mi.call(Ua,e)?!0:Mi.call(Fa,e)?!1:Fm.test(e)?Ua[e]=!0:(Fa[e]=!0,!1)}function qm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Qm(e,t,n,r){if(t===null||typeof t>"u"||qm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ce(e,t,n,r,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){me[e]=new Ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];me[t]=new Ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){me[e]=new Ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){me[e]=new Ce(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){me[e]=new Ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){me[e]=new Ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){me[e]=new Ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){me[e]=new Ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){me[e]=new Ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var zl=/[\-:]([a-z])/g;function Xl(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(zl,Xl);me[t]=new Ce(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(zl,Xl);me[t]=new Ce(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(zl,Xl);me[t]=new Ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){me[e]=new Ce(e,1,!1,e.toLowerCase(),null,!1,!1)});me.xlinkHref=new Ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){me[e]=new Ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function Kl(e,t,n,r){var o=me.hasOwnProperty(t)?me[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="Line truncated
`+$s+e}var ei=!1;function ti(e,t){if(!e||ei)return"";ei=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
`),s=r.stack.split(`
`),i=o.length-1,l=s.length-1;1<=i&&0<=l&&o[i]!==s[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==s[l]){if(i!==1||l!==1)do if(i--,l--,0>l||o[i]!==s[l]){var c=`
`+o[i].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=i&&0<=l);break}}}finally{ei=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?hr(e):""}function jm(e){switch(e.tag){case 5:return hr(e.type);case 16:return hr("Lazy");case 13:return hr("Suspense");case 19:return hr("SuspenseList");case 0:case 2:case 15:return e=ti(e.type,!1),e;case 11:return e=ti(e.type.render,!1),e;case 1:return e=ti(e.type,!0),e;default:return""}}function Qi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Tn:return"Fragment";case Rn:return"Portal";case Fi:return"Profiler";case Zl:return"StrictMode";case Ui:return"Suspense";case qi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Sd:return(e.displayName||"Context")+".Consumer";case xd:return(e._context.displayName||"Context")+".Provider";case Jl:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _l:return t=e.displayName||null,t!==null?t:Qi(e.type)||"Memo";case Mt:t=e._payload,e=e._init;try{return Qi(e(t))}catch{}}return null}function Vm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qi(t);case 8:return t===Zl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Zt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Cd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Wm(e){var t=Cd(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){r=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function fo(e){e._valueTracker||(e._valueTracker=Wm(e))}function Dd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Cd(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Zo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ji(e,t){var n=t.checked;return ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Qa(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Zt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Rd(e,t){t=t.checked,t!=null&&Kl(e,"checked",t,!1)}function Vi(e,t){Rd(e,t);var n=Zt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Wi(e,t.type,n):t.hasOwnProperty("defaultValue")&&Wi(e,t.type,Zt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ja(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Wi(e,t,n){(t!=="number"||Zo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var gr=Array.isArray;function Qn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Zt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Yi(e,t){if(t.danLine truncated
`).replace(ev,"")}function Ao(e,t,n){if(t=fu(t),fu(e)!==t&&n)throw Error(I(425))}function os(){}var ol=null,sl=null;function il(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ll=typeof setTimeout=="function"?setTimeout:void 0,tv=typeof clearTimeout=="function"?clearTimeout:void 0,du=typeof Promise=="function"?Promise:void 0,nv=typeof queueMicrotask=="function"?queueMicrotask:typeof du<"u"?function(e){return du.resolve(null).then(e).catch(rv)}:ll;function rv(e){setTimeout(function(){throw e})}function hi(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Mr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Mr(t)}function vt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function pu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var nr=Math.random().toString(36).slice(2),at="__reactFiber$"+nr,jr="__reactProps$"+nr,Ct="__reactContainer$"+nr,cl="__reactEvents$"+nr,ov="__reactListeners$"+nr,sv="__reactHandles$"+nr;function cn(e){var t=e[at];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ct]||n[at]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=pu(e);e!==null;){if(n=e[at])return n;e=pu(e)}return t}e=n,n=e.parentNode}return null}function no(e){return e=e[at]||e[Ct],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function On(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function bs(e){return e[jr]||null}var al=[],Pn=-1;function nn(e){return{current:e}}function _(e){0>Pn||(e.current=al[Pn],al[Pn]=null,Pn--)}function K(e,t){Pn++,al[Pn]=e.current,e.current=t}var Jt={},Ae=nn(Jt),Ie=nn(!1),hn=Jt;function Kn(e,t){var n=e.type.contextTypes;if(!n)return Jt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in n)o[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ne(e){return e=e.childContextTypes,e!=null}function ss(){_(Ie),_(Ae)}function hu(e,t,n){if(Ae.current!==Jt)throw Error(I(168));K(Ae,t),K(Ie,n)}function gp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(I(108,Vm(e)||"Unknown",o));return ne({},n,r)}function is(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Jt,hn=Ae.current,K(Ae,e),K(Ie,Ie.current),!0}function gu(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=gp(e,t,hn),r.__reactInternalMemoizedMergedChildContext=e,_(Ie),_(Ae),K(Ae,e)):_(Ie),K(Ie,n)}var mt=null,Is=!1,gi=!1;function mp(e){mt===null?mt=[e]:mt.push(e)}function iv(e){Is=!0,mp(e)}function rn(){if(!gi&&mt!==null){gi=!0;var e=0,t=X;try{var n=mt;for(X=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}mt=null,Is=!1}catch(o){throw mt!==null&&(mt=mt.slice(e+1)),Qd(ec,rn),o}finally{X=t,gi=!1}}return null}var lv=Rt.ReactCurrentBatchConfig;function Je(e,t){if(e&&e.defaultProps){t=ne({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var ls=nn(null),cs=null,Ln=null,ac=null;function uc(){ac=Ln=cs=null}function fc(e){var t=ls.current;_(ls),e._currentValue=t}function ul(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Yn(e,t){cs=e,ac=Ln=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(be=!0),e.firstContext=null)}function Xe(e){var t=e._currentValue;if(ac!==e)if(e={context:e,memoizedValue:t,next:null},Ln===null){if(cs===null)throw Error(I(308));Ln=e,cs.dependencies={lanes:0,firstContext:e}}else Ln=Ln.next=e;return t}var nt=null,Ft=!1;function dc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function vp(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function xt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function zt(e,t){var n=e.updateQueue;n!==null&&(n=n.shared,i0(e)?(e=n.interleaved,e===null?(t.next=t,nt===null?nt=[n]:nt.push(n)):(t.next=e.next,e.next=t),n.interleaved=t):(e=n.pending,e===null?t.next=t:(t.next=e.next,e.next=t),n.pending=t))}function Mo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanLine truncated
Error generating stack: `+s.message+`
`+s.stack}return{value:e,source:t,stack:o}}function gl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var gv=typeof WeakMap=="function"?WeakMap:Map;function Wp(e,t,n){n=xt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ms||(ms=!0,kl=r),gl(e,t)},n}function Yp(e,t,n){n=xt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){gl(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){gl(e,t),typeof r!="function"&&(Xt===null?Xt=new Set([this]):Xt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function Cu(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new gv;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Tv.bind(null,e,t,n),t.then(e,e))}function Du(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Ru(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=xt(-1,1),t.tag=2,zt(n,t))),n.lanes|=1),e)}var Gp,ml,zp,Xp;Gp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};ml=function(){};zp=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,an(pt.current);var s=null;switch(n){case"input":o=ji(e,o),r=ji(e,r),s=[];break;case"select":o=ne({},o,{value:void 0}),r=ne({},r,{value:void 0}),s=[];break;case"textarea":o=Yi(e,o),r=Yi(e,r),s=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=os)}zi(n,r);var i;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Or.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var c=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(c!=null||l!=null))if(u==="style")if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(s||(s=[]),s.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(s=s||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(s=s||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Or.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&Z("scroll",e),s||l===c||(s=[])):(s=s||[]).push(u,c))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Xp=function(e,t,n,r){n!==r&&(t.flags|=4)};function dr(e,t){if(!$)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ye(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function mv(e,t,n){var r=t.pendingProps;switch(hc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ye(t),null;case 1:return Ne(t.type)&&ss(),ye(t),null;case 3:return r=t.stateNode,_n(),_(Ie),_(Ae),yc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ur(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,et!==null&&(Rl(et),et=null))),ml(e,t),ye(t),null;case 5:vc(t);var o=an(Wr.current);if(n=t.type,e!==null&&t.stateNode!=null)zp(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(I(166));return ye(t),null}if(e=an(pt.current),ur(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[at]=t,r[jr]=s,e=(t.mode&1)!==0,n){case"dialog":Z("cancel",r),Z("close",r);break;case"iframe":case"object":case"embed":Z("load",r);break;case"video":case"audio":for(o=0;o<vr.length;o++)Z(vr[o],r);break;case"source":Z("error",r);break;case"img":case"image":case"link":Z("error",r),Z("load",r);break;case"details":Z("toggle",r);break;case"input":Qa(r,s),Z("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multLine truncated
linear-gradient(-45deg, #80808020 25%, transparent 25%),
linear-gradient(45deg, transparent 75%, #80808020 75%),
linear-gradient(-45deg, transparent 75%, #80808020 75%)`,backgroundSize:"20px 20px",backgroundPosition:"0 0, 0 10px, 10px -10px, -10px 0px",boxShadow:`rgb(0 0 0 / 10%) 0px 1.8px 1.9px,
rgb(0 0 0 / 15%) 0px 6.1px 6.3px,
rgb(0 0 0 / 10%) 0px -2px 4px,
rgb(0 0 0 / 15%) 0px -6.1px 12px,
rgb(0 0 0 / 25%) 0px 6px 12px`},cy=({diff:e})=>{const[t,n]=j.useState(e.diff?"diff":"actual"),[r,o]=j.useState(!1),[s,i]=j.useState(null),[l,c]=j.useState(null),[u,h]=j.useState(null),[v,p]=L0();j.useEffect(()=>{(async()=>{var k,y,S;i(await Si((k=e.expected)==null?void 0:k.attachment.path)),c(await Si((y=e.actual)==null?void 0:y.attachment.path)),h(await Si((S=e.diff)==null?void 0:S.attachment.path))})()},[e]);const x=s&&l&&u,E=x?Math.max(s.naturalWidth,l.naturalWidth,200):500,m=x?Math.max(s.naturalHeight,l.naturalHeight,200):500,g=Math.min(1,(v.width-30)/E),a=Math.min(1,(v.width-50)/E/2),f=E*g,d=m*g,w={flex:"none",margin:"0 10px",cursor:"pointer",userSelect:"none"};return A("div",{"data-testid":"test-result-image-mismatch",style:{display:"flex",flexDirection:"column",alignItems:"center",flex:"auto"},ref:p,children:x&&L($t,{children:[L("div",{"data-testid":"test-result-image-mismatch-tabs",style:{display:"flex",margin:"10px 0 20px"},children:[e.diff&&A("div",{style:{...w,fontWeight:t==="diff"?600:"initial"},onClick:()=>n("diff"),children:"Diff"}),A("div",{style:{...w,fontWeight:t==="actual"?600:"initial"},onClick:()=>n("actual"),children:"Actual"}),A("div",{style:{...w,fontWeight:t==="expected"?600:"initial"},onClick:()=>n("expected"),children:"Expected"}),A("div",{style:{...w,fontWeight:t==="sxs"?600:"initial"},onClick:()=>n("sxs"),children:"Side by side"}),A("div",{style:{...w,fontWeight:t==="slider"?600:"initial"},onClick:()=>n("slider"),children:"Slider"})]}),L("div",{style:{display:"flex",justifyContent:"center",flex:"auto",minHeight:d+60},children:[e.diff&&t==="diff"&&A(ht,{image:u,alt:"Diff",canvasWidth:f,canvasHeight:d,scale:g}),e.diff&&t==="actual"&&A(ht,{image:l,alt:"Actual",canvasWidth:f,canvasHeight:d,scale:g}),e.diff&&t==="expected"&&A(ht,{image:s,alt:"Expected",canvasWidth:f,canvasHeight:d,scale:g}),e.diff&&t==="slider"&&A(ay,{expectedImage:s,actualImage:l,canvasWidth:f,canvasHeight:d,scale:g}),e.diff&&t==="sxs"&&L("div",{style:{display:"flex"},children:[A(ht,{image:s,title:"Expected",canvasWidth:a*E,canvasHeight:a*m,scale:a}),A(ht,{image:r?u:l,title:r?"Diff":"Actual",onClick:()=>o(!r),canvasWidth:a*E,canvasHeight:a*m,scale:a})]}),!e.diff&&t==="actual"&&A(ht,{image:l,title:"Actual",canvasWidth:f,canvasHeight:d,scale:g}),!e.diff&&t==="expected"&&A(ht,{image:s,title:"Expected",canvasWidth:f,canvasHeight:d,scale:g}),!e.diff&&t==="sxs"&&L("div",{style:{display:"flex"},children:[A(ht,{image:s,title:"Expected",canvasWidth:a*E,canvasHeight:a*m,scale:a}),A(ht,{image:l,title:"Actual",canvasWidth:a*E,canvasHeight:a*m,scale:a})]})]}),L("div",{style:{alignSelf:"start",lineHeight:"18px"},children:[A("div",{children:e.diff&&A("a",{target:"_blank",href:e.diff.attachment.path,children:e.diff.attachment.name})}),A("div",{children:A("a",{target:"_blank",href:e.actual.attachment.path,children:e.actual.attachment.name})}),A("div",{children:A("a",{target:"_blank",href:e.expected.attachment.path,children:e.expected.attachment.name})})]})]})})},ay=({expectedImage:e,actualImage:t,canvasWidth:n,canvasHeight:r,scale:o})=>{const s={position:"absolute",top:0,left:0},[i,l]=j.useState(n/2),c=e.naturalWidth===t.naturalWidth&&e.naturalHeight===t.naturalHeight;return L("div",{style:{flex:"none",display:"flex",alignItems:"center",flexDirection:"column",userSelect:"none"},children:[L("div",{style:{margin:5},children:[!c&&A("span",{style:{flex:"none",margin:"0 5px"},children:"Expected "}),A("span",{children:e.naturalWidth}),A("span",{style:{flex:"none",margin:"0 5px"},children:"x"}),A("span",{children:e.naturalHeight}),!c&&A("span",{style:{flex:"none",margin:"0 5px 0 15px"},children:"Actual "}),!c&&A("span",{children:t.naturalWidth}),!c&&A("span",{style:{flex:"none",margin:"0 5px"},children:"x"}),!c&&A("span",{children:t.naturalHeight})]}),L("div",{style:{position:"relative",width:n,height:r,margin:15,...bl},children:[A(ly,{orientation:"horizontal",offsets:[i],setOffsets:u=>l(u[0]),resizerColor:"#57606a80",resizerWidth:6}),A("img",{alt:"Expected",style:{width:e.naturalWidth*o,height:e.naturalHeight*o},draggable:"false",src:e.src}),A("div",{style:{...s,bottom:0,overflow:"hidden",width:i,...bl},children:A("img",{alt:"Actual",style:{width:t.naturalWidth*o,height:t.naturalHeight*o},draggable:"false",src:t.src})})]})]})},ht=({image:e,title:t,alt:n,canvasWidth:r,canvasHeight:o,scale:s,onClick:i})=>L("div",{style:{flex:"none",display:"flex",alignItems:"center",flexDirection:"column"},children:[L("div",{style:{margin:5},children:[t&&A("span",{style:{flex:"none",margin:"0 5px"},children:t}),A("span",{children:e.naturalWidth}),A("span",{style:{flex:"none",margin:"0 5px"},children:"x"}),A("span",{children:e.naturalHeight})]}),A("div",{style:{display:"flex",flex:"none",width:r,height:o,margin:15,...bl},children:A("img",{width:e.naturalWidth*s,height:e.naturalHeight*s,alt:t||n,style:{cursor:i?"pointer":"initial"},draggable:"false",src:e.src,onClick:i})})]});var H0={},St={};const uy="Á",fy="á",dy="Ă",py="ă",hy="∾",gy="∿Line truncated
`,FN="∄",UN="∄",qN="𝔑",QN="𝔫",jN="≧̸",VN="≱",WN="≱",YN="≧̸",GN="⩾̸",zN="⩾̸",XN="⋙̸",KN="≵",ZN="≫⃒",JN="≯",_N="≯",$N="≫̸",eO="↮",tO="⇎",nO="⫲",rO="∋",oO="⋼",sO="⋺",iO="∋",lO="Њ",cO="њ",aO="↚",uO="⇍",fO="‥",dO="≦̸",pO="≰",hO="↚",gO="⇍",mO="↮",vO="⇎",yO="≰",wO="≦̸",AO="⩽̸",EO="⩽̸",xO="≮",SO="⋘̸",kO="≴",CO="≪⃒",DO="≮",RO="⋪",TO="⋬",bO="≪̸",IO="∤",NO="⁠",OO=" ",PO="𝕟",LO="ℕ",HO="⫬",BO="¬",MO="≢",FO="≭",UO="∦",qO="∉",QO="≠",jO="≂̸",VO="∄",WO="≯",YO="≱",GO="≧̸",zO="≫̸",XO="≹",KO="⩾̸",ZO="≵",JO="≎̸",_O="≏̸",$O="∉",eP="⋵̸",tP="⋹̸",nP="∉",rP="⋷",oP="⋶",sP="⧏̸",iP="⋪",lP="⋬",cP="≮",aP="≰",uP="≸",fP="≪̸",dP="⩽̸",pP="≴",hP="⪢̸",gP="⪡̸",mP="∌",vP="∌",yP="⋾",wP="⋽",AP="⊀",EP="⪯̸",xP="⋠",SP="∌",kP="⧐̸",CP="⋫",DP="⋭",RP="⊏̸",TP="⋢",bP="⊐̸",IP="⋣",NP="⊂⃒",OP="⊈",PP="⊁",LP="⪰̸",HP="⋡",BP="≿̸",MP="⊃⃒",FP="⊉",UP="≁",qP="≄",QP="≇",jP="≉",VP="∤",WP="∦",YP="∦",GP="⫽⃥",zP="∂̸",XP="⨔",KP="⊀",ZP="⋠",JP="⊀",_P="⪯̸",$P="⪯̸",eL="⤳̸",tL="↛",nL="⇏",rL="↝̸",oL="↛",sL="⇏",iL="⋫",lL="⋭",cL="⊁",aL="⋡",uL="⪰̸",fL="𝒩",dL="𝓃",pL="∤",hL="∦",gL="≁",mL="≄",vL="≄",yL="∤",wL="∦",AL="⋢",EL="⋣",xL="⊄",SL="⫅̸",kL="⊈",CL="⊂⃒",DL="⊈",RL="⫅̸",TL="⊁",bL="⪰̸",IL="⊅",NL="⫆̸",OL="⊉",PL="⊃⃒",LL="⊉",HL="⫆̸",BL="≹",ML="Ñ",FL="ñ",UL="≸",qL="⋪",QL="⋬",jL="⋫",VL="⋭",WL="Ν",YL="ν",GL="#",zL="№",XL=" ",KL="≍⃒",ZL="⊬",JL="⊭",_L="⊮",$L="⊯",e9="≥⃒",t9=">⃒",n9="⤄",r9="⧞",o9="⤂",s9="≤⃒",i9="<⃒",l9="⊴⃒",c9="⤃",a9="⊵⃒",u9="∼⃒",f9="⤣",d9="↖",p9="⇖",h9="↖",g9="⤧",m9="Ó",v9="ó",y9="⊛",w9="Ô",A9="ô",E9="⊚",x9="О",S9="о",k9="⊝",C9="Ő",D9="ő",R9="⨸",T9="⊙",b9="⦼",I9="Œ",N9="œ",O9="⦿",P9="𝔒",L9="𝔬",H9="˛",B9="Ò",M9="ò",F9="⧁",U9="⦵",q9="Ω",Q9="∮",j9="↺",V9="⦾",W9="⦻",Y9="‾",G9="⧀",z9="Ō",X9="ō",K9="Ω",Z9="ω",J9="Ο",_9="ο",$9="⦶",eH="⊖",tH="𝕆",nH="𝕠",rH="⦷",oH="“",sH="‘",iH="⦹",lH="⊕",cH="↻",aH="⩔",uH="∨",fH="⩝",dH="ℴ",pH="ℴ",hH="ª",gH="º",mH="⊶",vH="⩖",yH="⩗",wH="⩛",AH="Ⓢ",EH="𝒪",xH="ℴ",SH="Ø",kH="ø",CH="⊘",DH="Õ",RH="õ",TH="⨶",bH="⨷",IH="⊗",NH="Ö",OH="ö",PH="⌽",LH="‾",HH="⏞",BH="⎴",MH="⏜",FH="¶",UH="∥",qH="∥",QH="⫳",jH="⫽",VH="∂",WH="∂",YH="П",GH="п",zH="%",XH=".",KH="‰",ZH="⊥",JH="‱",_H="𝔓",$H="𝔭",eB="Φ",tB="φ",nB="ϕ",rB="ℳ",oB="☎",sB="Π",iB="π",lB="⋔",cB="ϖ",aB="ℏ",uB="ℎ",fB="ℏ",dB="⨣",pB="⊞",hB="⨢",gB="+",mB="∔",vB="⨥",yB="⩲",wB="±",AB="±",EB="⨦",xB="⨧",SB="±",kB="ℌ",CB="⨕",DB="𝕡",RB="ℙ",TB="£",bB="⪷",IB="⪻",NB="≺",OB="≼",PB="⪷",LB="≺",HB="≼",BB="≺",MB="⪯",FB="≼",UB="≾",qB="⪯",QB="⪹",jB="⪵",VB="⋨",WB="⪯",YB="⪳",GB="≾",zB="′",XB="″",KB="ℙ",ZB="⪹",JB="⪵",_B="⋨",$B="∏",eM="∏",tM="⌮",nM="⌒",rM="⌓",oM="∝",sM="∝",iM="∷",lM="∝",cM="≾",aM="⊰",uM="𝒫",fM="𝓅",dM="Ψ",pM="ψ",hM=" ",gM="𝔔",mM="𝔮",vM="⨌",yM="𝕢",wM="ℚ",AM="⁗",EM="𝒬",xM="𝓆",SM="ℍ",kM="⨖",CM="?",DM="≟",RM='"',TM='"',bM="⇛",IM="∽̱",NM="Ŕ",OM="ŕ",PM="√",LM="⦳",HM="⟩",BM="⟫",MM="⦒",FM="⦥",UM="⟩",qM="»",QM="⥵",jM="⇥",VM="⤠",WM="⤳",YM="→",GM="↠",zM="⇒",XM="⤞",KM="↪",ZM="↬",JM="⥅",_M="⥴",$M="⤖",eF="↣",tF="↝",nF="⤚",rF="⤜",oF="∶",sF="ℚ",iF="⤍",lF="⤏",cF="⤐",aF="❳",uF="}",fF="]",dF="⦌",pF="⦎",hF="⦐",gF="Ř",mF="ř",vF="Ŗ",yF="ŗ",wF="⌉",AF="}",EF="Р",xF="р",SF="⤷",kF="⥩",CF="”",DF="”",RF="↳",TF="ℜ",bF="ℛ",IF="ℜ",NF="ℝ",OF="ℜ",PF="▭",LF="®",HF="®",BF="∋",MF="⇋",FF="⥯",UF="⥽",qF="⌋",QF="𝔯",jF="ℜ",VF="⥤",WF="⇁",YF="⇀",GF="⥬",zF="Ρ",XF="ρ",KF="ϱ",ZF="⟩",JF="⇥",_F="→",$F="→",eU="⇒",tU="⇄",nU="↣",rU="⌉",oU="⟧",sU="⥝",iU="⥕",lU="⇂",cU="⌋",aU="⇁",uU="⇀",fU="⇄",dU="⇌",pU="⇉",hU="↝",gU="↦",mU="⊢",vU="⥛",yU="⋌",wU="⧐",AU="⊳",EU="⊵",xU="⥏",SU="⥜",kU="⥔",CU="↾",DU="⥓",RU="⇀",TU="˚",bU="≓",IU="⇄",NU="⇌",OU="‏",PU="⎱",LU="⎱",HU="⫮",BU="⟭",MU="⇾",FU="⟧",UU="⦆",qU="𝕣",QU="ℝ",jU="⨮",VU="⨵",WU="⥰",YU=")",GU="⦔",zU="⨒",XU="⇉",KU="⇛",ZU="›",JU="𝓇",_U="ℛ",$U="↱",eq="↱",tq="]",nq="’",rq="’",oq="⋌",sq="⋊",iq="▹",lq="⊵",cq="▸",aq="⧎",uq="⧴",fq="⥨",dq="℞",pq="Ś",hq="ś",gq="‚",mq="⪸",vq="Š",yq="š",wq="⪼",Aq="≻",Eq="≽",xq="⪰",Sq="⪴",kq="Ş",Cq="ş",Dq="Ŝ",Rq="ŝ",Tq="⪺",bq="⪶",Iq="⋩",Nq="⨓",Oq="≿",Pq="С",Lq="с",Hq="⊡",Bq="⋅",Mq="⩦",Fq="⤥",Uq="↘",qq="⇘",Qq="↘",jq="§",Vq=";",Wq="⤩",Yq="∖",Gq="∖",zq="✶",Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,i=!1,l;return{s:function(){n=n.call(e)},n:function(){var u=n.next();return s=u.done,u},e:function(u){i=!0,l=u},f:function(){try{!s&&n.return!=null&&n.return()}finally{if(i)throw l}}}}function zJ(e,t){if(e){if(typeof e=="string")return Ju(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ju(e,t)}}function Ju(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var XJ=H0,_u={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:KJ()};function KJ(){var e={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return bo(0,5).forEach(function(t){bo(0,5).forEach(function(n){bo(0,5).forEach(function(r){return ZJ(t,n,r,e)})})}),bo(0,23).forEach(function(t){var n=t+232,r=K0(t*10+8);e[n]="#"+r+r+r}),e}function ZJ(e,t,n,r){var o=16+e*36+t*6+n,s=e>0?e*40+55:0,i=t>0?t*40+55:0,l=n>0?n*40+55:0;r[o]=JJ([s,i,l])}function K0(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function JJ(e){var t=[],n=X0(e),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;t.push(K0(o))}}catch(s){n.e(s)}finally{n.f()}return"#"+t.join("")}function $u(e,t,n,r){var o;return t==="text"?o=t_(n,r):t==="display"?o=$J(e,n,r):t==="xterm256Foreground"?o=Wo(e,r.colors[n]):t==="xterm256Background"?o=Yo(e,r.colors[n]):t==="rgb"&&(o=_J(e,n)),o}function _J(e,t){t=t.substring(2).slice(0,-1);var n=+t.substr(0,2),r=t.substring(5).split(";"),o=r.map(function(s){return("0"+Number(s).toString(16)).substr(-2)}).join("");return Vo(e,(n===38?"color:#":"background-color:#")+o)}function $J(e,t,n){t=parseInt(t,10);var r={"-1":function(){return"<br/>"},0:function(){return e.length&&Z0(e)},1:function(){return Qt(e,"b")},3:function(){return Qt(e,"i")},4:function(){return Qt(e,"u")},8:function(){return Vo(e,"display:none")},9:function(){return Qt(e,"strike")},22:function(){return Vo(e,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return tf(e,"i")},24:function(){return tf(e,"u")},39:function(){return Wo(e,n.fg)},49:function(){return Yo(e,n.bg)},53:function(){return Vo(e,"text-decoration:overline")}},o;return r[t]?o=r[t]():4<t&&t<7?o=Qt(e,"blink"):29<t&&t<38?o=Wo(e,n.colors[t-30]):39<t&&t<48?o=Yo(e,n.colors[t-40]):89<t&&t<98?o=Wo(e,n.colors[8+(t-90)]):99<t&&t<108&&(o=Yo(e,n.colors[8+(t-100)])),o}function Z0(e){var t=e.slice(0);return e.length=0,t.reverse().map(function(n){return"</"+n+">"}).join("")}function bo(e,t){for(var n=[],r=e;r<=t;r++)n.push(r);return n}function e_(e){return function(t){return(e===null||t.category!==e)&&e!=="all"}}function ef(e){e=parseInt(e,10);var t=null;return e===0?t="all":e===1?t="bold":2<e&&e<5?t="underline":4<e&&e<7?t="blink":e===8?t="hide":e===9?t="strike":29<e&&e<38||e===39||89<e&&e<98?t="foreground-color":(39<e&&e<48||e===49||99<e&&e<108)&&(t="background-color"),t}function t_(e,t){return t.escapeXML?XJ.encodeXML(e):e}function Qt(e,t,n){return n||(n=""),e.push(t),"<".concat(t).concat(n?' style="'.concat(n,'"'):"",">")}function Vo(e,t){return Qt(e,"span",t)}function Wo(e,t){return Qt(e,"span","color:"+t)}function Yo(e,t){return Qt(e,"span","background-color:"+t)}function tf(e,t){var n;if(e.slice(-1)[0]===t&&(n=e.pop()),n)return"</"+t+">"}function n_(e,t,n){var r=!1,o=3;function s(){return""}function i(k,y){return n("xterm256Foreground",y),""}function l(k,y){return n("xterm256Background",y),""}function c(k){return t.newline?n("display",-1):n("text",k),""}function u(k,y){r=!0,y.trim().length===0&&(y="0"),y=y.trimRight(";").split(";");var S=X0(y),C;try{for(S.s();!(C=S.n()).done;){var R=C.value;n("display",R)}}catch(D){S.e(D)}finally{S.f()}return""}function h(k){return n("text",k),""}function v(k){return n("rgb",k),""}var p=[{pattern:/^\x08+/,sub:s},{pattern:/^\x1b\[[012]?K/,sub:s},{pattern:/^\x1b\[\(B/,sub:s},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:v},{pattern:/^\x1b\[38;5;(\d+)m/,sub:i},{pattern:/^\x1b\[48;5;(\d+)m/,sub:l},{pattern:/^\n/,sub:c},{pattern:/^\r+\n/,sub:c},{pattern:/^\r/,sub:c},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:u},{pattern:/^\x1b\[\d?J/,sub:s},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:s},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:s},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:h}];function x(k,y){y>o&&r||(r=!1,e=e.replace(k.pattern,k.sub))}var E=[],m=e,g=m.length;e:for(;g>0;){for(var a=0,f=0,d=p.length;f<d;a=++f){var w=p[a];if(x(w,a),e.length!==g){g=e.length;continue e}}if(e.length===g)break;E.push(0),g=e.length}return E}function r_(e,t,n){return t!=="text"&&(e=e.filter(e_(ef(n))),e.push({token:t,data:n,category:ef(n)})),e}var o_=function(){function e(t){YJ(this,e),t=t||{},t.colors&&(t.colors=Object.assign({},_u.colors,t.colors)),this.options=Object.assign({},_u,t),this.stack=[],this.stickyStackLine truncated
</script>
<style type='text/css'>:root{--color-canvas-default-transparent: rgba(255,255,255,0);--color-marketing-icon-primary: #218bff;--color-marketing-icon-secondary: #54aeff;--color-diff-blob-addition-num-text: #24292f;--color-diff-blob-addition-fg: #24292f;--color-diff-blob-addition-num-bg: #CCFFD8;--color-diff-blob-addition-line-bg: #E6FFEC;--color-diff-blob-addition-word-bg: #ABF2BC;--color-diff-blob-deletion-num-text: #24292f;--color-diff-blob-deletion-fg: #24292f;--color-diff-blob-deletion-num-bg: #FFD7D5;--color-diff-blob-deletion-line-bg: #FFEBE9;--color-diff-blob-deletion-word-bg: rgba(255,129,130,.4);--color-diff-blob-hunk-num-bg: rgba(84,174,255,.4);--color-diff-blob-expander-icon: #57606a;--color-diff-blob-selected-line-highlight-mix-blend-mode: multiply;--color-diffstat-deletion-border: rgba(27,31,36,.15);--color-diffstat-addition-border: rgba(27,31,36,.15);--color-diffstat-addition-bg: #2da44e;--color-search-keyword-hl: #fff8c5;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #FFEBE9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-codemirror-text: #24292f;--color-codemirror-bg: #ffffff;--color-codemirror-gutters-bg: #ffffff;--color-codemirror-guttermarker-text: #ffffff;--color-codemirror-guttermarker-subtle-text: #6e7781;--color-codemirror-linenumber-text: #57606a;--color-codemirror-cursor: #24292f;--color-codemirror-selection-bg: rgba(84,174,255,.4);--color-codemirror-activeline-bg: rgba(234,238,242,.5);--color-codemirror-matchingbracket-text: #24292f;--color-codemirror-lines-bg: #ffffff;--color-codemirror-syntax-comment: #24292f;--color-codemirror-syntax-constant: #0550ae;--color-codemirror-syntax-entity: #8250df;--color-codemirror-syntax-keyword: #cf222e;--color-codemirror-syntax-storage: #cf222e;--color-codemirror-syntax-string: #0a3069;--color-codemirror-syntax-support: #0550ae;--color-codemirror-syntax-variable: #953800;--color-checks-bg: #24292f;--color-checks-run-border-width: 0px;--color-checks-container-border-width: 0px;--color-checks-text-primary: #f6f8fa;--color-checks-text-secondary: #8c959f;--color-checks-text-link: #54aeff;--color-checks-btn-icon: #afb8c1;--color-checks-btn-hover-icon: #f6f8fa;--color-checks-btn-hover-bg: rgba(255,255,255,.125);--color-checks-input-text: #eaeef2;--color-checks-input-placeholder-text: #8c959f;--color-checks-input-focus-text: #8c959f;--color-checks-input-bg: #32383f;--color-checks-input-shadow: none;--color-checks-donut-error: #fa4549;--color-checks-donut-pending: #bf8700;--color-checks-donut-success: #2da44e;--color-checks-donut-neutral: #afb8c1;--color-checks-dropdown-text: #afb8c1;--color-checks-dropdown-bg: #32383f;--color-checks-dropdown-border: #424a53;--color-checks-dropdown-shadow: rgba(27,31,36,.3);--color-checks-dropdown-hover-text: #f6f8fa;--color-checks-dropdown-hover-bg: #424a53;--color-checks-dropdown-btn-hover-text: #f6f8fa;--color-checks-dropdown-btn-hover-bg: #32383f;--color-checks-scrollbar-thumb-bg: #57606a;--color-checks-header-label-text: #d0d7de;--color-checks-header-label-open-text: #f6f8fa;--color-checks-header-border: #32383f;--color-checks-header-icon: #8c959f;--color-checks-line-text: #d0d7de;--color-checks-line-num-text: rgba(140,149,159,.75);--color-checks-line-timestamp-text: #8c959f;--color-checks-line-hover-bg: #32383f;--color-checks-line-selected-bg: rgba(33,139,255,.15);--color-checks-line-selected-num-text: #54aeff;--color-checks-line-dt-fm-text: #24292f;--color-checks-line-dt-fm-bg: #9a6700;--color-checks-gate-bg: rgba(1Line truncated
</style>
</head>
<body>
<div id='root'></div>
</body>
</html>
<script>
window.playwrightReportBase64 = "data:application/zip;base64,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 truncated
@@ -90,7 +90,7 @@ module.exports = defineConfig({
},
{
cwd: path.join(process.cwd(), 'fullstack'),
command: 'cargo run --package dioxus-cli --release -- build --features web --release --skip-assets\ncargo run --release --features ssr',
command: 'cargo run --package dioxus-cli --release -- serve --platform fullstack --skip-assets',
port: 3333,
timeout: 20 * 60 * 1000,
reuseExistingServer: !process.env.CI,
+2 -1
View File
@@ -1 +1,2 @@
dist/
dist
target
+1 -1
View File
@@ -24,4 +24,4 @@ proc-macro = true
[features]
default = []
ssr = ["server_fn_macro/ssr"]
server = ["server_fn_macro/ssr"]
+1 -1
View File
@@ -123,7 +123,7 @@ pub fn server(args: proc_macro::TokenStream, s: TokenStream) -> TokenStream {
Err(e) => e.to_compile_error().into(),
Ok(tokens) => quote::quote! {
#tokens
#[cfg(feature = "ssr")]
#[cfg(feature = "server")]
#server_fn_path::inventory::submit! {
::dioxus::fullstack::prelude::ServerFnMiddleware {
prefix: #struct_name::PREFIX,