@variance-authority/tribunal 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +100 -0
- package/LICENSE +21 -0
- package/README.md +506 -0
- package/dist/__fixtures__/review.d.ts +47 -0
- package/dist/__fixtures__/review.js +145 -0
- package/dist/__fixtures__/review.js.map +1 -0
- package/dist/bindings.d.ts +134 -0
- package/dist/bindings.js +88 -0
- package/dist/bindings.js.map +1 -0
- package/dist/changelog.d.ts +132 -0
- package/dist/changelog.js +129 -0
- package/dist/changelog.js.map +1 -0
- package/dist/history-queries.d.ts +82 -0
- package/dist/history-queries.js +200 -0
- package/dist/history-queries.js.map +1 -0
- package/dist/history-rows.d.ts +42 -0
- package/dist/history-rows.js +148 -0
- package/dist/history-rows.js.map +1 -0
- package/dist/history.d.ts +40 -0
- package/dist/history.js +186 -0
- package/dist/history.js.map +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -0
- package/dist/migration-steps.d.ts +32 -0
- package/dist/migration-steps.js +303 -0
- package/dist/migration-steps.js.map +1 -0
- package/dist/migrations.d.ts +58 -0
- package/dist/migrations.js +283 -0
- package/dist/migrations.js.map +1 -0
- package/dist/next.d.ts +94 -0
- package/dist/next.js +44 -0
- package/dist/next.js.map +1 -0
- package/dist/node/bin.d.ts +120 -0
- package/dist/node/bin.js +337 -0
- package/dist/node/bin.js.map +1 -0
- package/dist/node/bucket.d.ts +58 -0
- package/dist/node/bucket.js +142 -0
- package/dist/node/bucket.js.map +1 -0
- package/dist/node/database.d.ts +33 -0
- package/dist/node/database.js +157 -0
- package/dist/node/database.js.map +1 -0
- package/dist/node/index.d.ts +43 -0
- package/dist/node/index.js +43 -0
- package/dist/node/index.js.map +1 -0
- package/dist/node/serve.d.ts +81 -0
- package/dist/node/serve.js +193 -0
- package/dist/node/serve.js.map +1 -0
- package/dist/node/ui-assets.d.ts +47 -0
- package/dist/node/ui-assets.js +60 -0
- package/dist/node/ui-assets.js.map +1 -0
- package/dist/review-ingest.d.ts +24 -0
- package/dist/review-ingest.js +184 -0
- package/dist/review-ingest.js.map +1 -0
- package/dist/review-read.d.ts +87 -0
- package/dist/review-read.js +361 -0
- package/dist/review-read.js.map +1 -0
- package/dist/review-rows.d.ts +30 -0
- package/dist/review-rows.js +67 -0
- package/dist/review-rows.js.map +1 -0
- package/dist/review-types.d.ts +414 -0
- package/dist/review-types.js +2 -0
- package/dist/review-types.js.map +1 -0
- package/dist/review-write.d.ts +35 -0
- package/dist/review-write.js +86 -0
- package/dist/review-write.js.map +1 -0
- package/dist/review.d.ts +53 -0
- package/dist/review.fixtures.d.ts +47 -0
- package/dist/review.fixtures.js +145 -0
- package/dist/review.fixtures.js.map +1 -0
- package/dist/review.js +245 -0
- package/dist/review.js.map +1 -0
- package/dist/schema.d.ts +36 -0
- package/dist/schema.js +39 -0
- package/dist/schema.js.map +1 -0
- package/dist/store.d.ts +58 -0
- package/dist/store.js +278 -0
- package/dist/store.js.map +1 -0
- package/dist/testing.d.ts +38 -0
- package/dist/testing.js +92 -0
- package/dist/testing.js.map +1 -0
- package/dist/ui/__probe.d.ts +3 -0
- package/dist/ui/__probe.js +5 -0
- package/dist/ui/__probe.js.map +1 -0
- package/dist/ui/attribution.d.ts +46 -0
- package/dist/ui/attribution.js +79 -0
- package/dist/ui/attribution.js.map +1 -0
- package/dist/ui/because.d.ts +51 -0
- package/dist/ui/because.js +52 -0
- package/dist/ui/because.js.map +1 -0
- package/dist/ui/browser-entry.d.ts +2 -0
- package/dist/ui/browser-entry.js +34 -0
- package/dist/ui/browser-entry.js.map +1 -0
- package/dist/ui/builds.d.ts +43 -0
- package/dist/ui/builds.js +79 -0
- package/dist/ui/builds.js.map +1 -0
- package/dist/ui/carried.d.ts +73 -0
- package/dist/ui/carried.js +63 -0
- package/dist/ui/carried.js.map +1 -0
- package/dist/ui/cause.d.ts +73 -0
- package/dist/ui/cause.js +133 -0
- package/dist/ui/cause.js.map +1 -0
- package/dist/ui/change-story.d.ts +153 -0
- package/dist/ui/change-story.js +253 -0
- package/dist/ui/change-story.js.map +1 -0
- package/dist/ui/change.d.ts +51 -0
- package/dist/ui/change.js +125 -0
- package/dist/ui/change.js.map +1 -0
- package/dist/ui/client.d.ts +74 -0
- package/dist/ui/client.js +88 -0
- package/dist/ui/client.js.map +1 -0
- package/dist/ui/consumers.d.ts +80 -0
- package/dist/ui/consumers.js +125 -0
- package/dist/ui/consumers.js.map +1 -0
- package/dist/ui/control.d.ts +63 -0
- package/dist/ui/control.js +39 -0
- package/dist/ui/control.js.map +1 -0
- package/dist/ui/crossing.d.ts +55 -0
- package/dist/ui/crossing.js +74 -0
- package/dist/ui/crossing.js.map +1 -0
- package/dist/ui/declarations.d.ts +36 -0
- package/dist/ui/declarations.js +73 -0
- package/dist/ui/declarations.js.map +1 -0
- package/dist/ui/distance.d.ts +154 -0
- package/dist/ui/distance.js +180 -0
- package/dist/ui/distance.js.map +1 -0
- package/dist/ui/divergence.d.ts +40 -0
- package/dist/ui/divergence.js +176 -0
- package/dist/ui/divergence.js.map +1 -0
- package/dist/ui/docket.d.ts +39 -0
- package/dist/ui/docket.js +172 -0
- package/dist/ui/docket.js.map +1 -0
- package/dist/ui/findings.d.ts +42 -0
- package/dist/ui/findings.js +110 -0
- package/dist/ui/findings.js.map +1 -0
- package/dist/ui/foreseen.d.ts +55 -0
- package/dist/ui/foreseen.js +91 -0
- package/dist/ui/foreseen.js.map +1 -0
- package/dist/ui/glance.d.ts +101 -0
- package/dist/ui/glance.js +101 -0
- package/dist/ui/glance.js.map +1 -0
- package/dist/ui/grouping.d.ts +158 -0
- package/dist/ui/grouping.js +187 -0
- package/dist/ui/grouping.js.map +1 -0
- package/dist/ui/handed.d.ts +60 -0
- package/dist/ui/handed.js +122 -0
- package/dist/ui/handed.js.map +1 -0
- package/dist/ui/history.d.ts +88 -0
- package/dist/ui/history.js +170 -0
- package/dist/ui/history.js.map +1 -0
- package/dist/ui/holding.d.ts +84 -0
- package/dist/ui/holding.js +90 -0
- package/dist/ui/holding.js.map +1 -0
- package/dist/ui/impact.d.ts +31 -0
- package/dist/ui/impact.js +132 -0
- package/dist/ui/impact.js.map +1 -0
- package/dist/ui/index.d.ts +21 -0
- package/dist/ui/index.js +21 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/lead.d.ts +35 -0
- package/dist/ui/lead.js +34 -0
- package/dist/ui/lead.js.map +1 -0
- package/dist/ui/look.d.ts +109 -0
- package/dist/ui/look.js +248 -0
- package/dist/ui/look.js.map +1 -0
- package/dist/ui/mark.d.ts +11 -0
- package/dist/ui/mark.js +13 -0
- package/dist/ui/mark.js.map +1 -0
- package/dist/ui/moved.d.ts +121 -0
- package/dist/ui/moved.js +143 -0
- package/dist/ui/moved.js.map +1 -0
- package/dist/ui/navigation.d.ts +26 -0
- package/dist/ui/navigation.js +53 -0
- package/dist/ui/navigation.js.map +1 -0
- package/dist/ui/order.d.ts +113 -0
- package/dist/ui/order.js +226 -0
- package/dist/ui/order.js.map +1 -0
- package/dist/ui/origins.d.ts +42 -0
- package/dist/ui/origins.js +149 -0
- package/dist/ui/origins.js.map +1 -0
- package/dist/ui/outcome.d.ts +93 -0
- package/dist/ui/outcome.js +162 -0
- package/dist/ui/outcome.js.map +1 -0
- package/dist/ui/parted.d.ts +68 -0
- package/dist/ui/parted.js +101 -0
- package/dist/ui/parted.js.map +1 -0
- package/dist/ui/rail.d.ts +31 -0
- package/dist/ui/rail.js +21 -0
- package/dist/ui/rail.js.map +1 -0
- package/dist/ui/reach.d.ts +66 -0
- package/dist/ui/reach.js +185 -0
- package/dist/ui/reach.js.map +1 -0
- package/dist/ui/regions.d.ts +82 -0
- package/dist/ui/regions.js +67 -0
- package/dist/ui/regions.js.map +1 -0
- package/dist/ui/review.bundle.js +69 -0
- package/dist/ui/review.d.ts +97 -0
- package/dist/ui/review.js +39 -0
- package/dist/ui/review.js.map +1 -0
- package/dist/ui/root.d.ts +72 -0
- package/dist/ui/root.js +102 -0
- package/dist/ui/root.js.map +1 -0
- package/dist/ui/route.d.ts +95 -0
- package/dist/ui/route.js +114 -0
- package/dist/ui/route.js.map +1 -0
- package/dist/ui/run.d.ts +26 -0
- package/dist/ui/run.js +12 -0
- package/dist/ui/run.js.map +1 -0
- package/dist/ui/sense.d.ts +187 -0
- package/dist/ui/sense.js +222 -0
- package/dist/ui/sense.js.map +1 -0
- package/dist/ui/settled.d.ts +43 -0
- package/dist/ui/settled.js +59 -0
- package/dist/ui/settled.js.map +1 -0
- package/dist/ui/shell.d.ts +76 -0
- package/dist/ui/shell.js +65 -0
- package/dist/ui/shell.js.map +1 -0
- package/dist/ui/shift.d.ts +52 -0
- package/dist/ui/shift.js +98 -0
- package/dist/ui/shift.js.map +1 -0
- package/dist/ui/styles-docket.d.ts +18 -0
- package/dist/ui/styles-docket.js +281 -0
- package/dist/ui/styles-docket.js.map +1 -0
- package/dist/ui/styles-stage.d.ts +18 -0
- package/dist/ui/styles-stage.js +92 -0
- package/dist/ui/styles-stage.js.map +1 -0
- package/dist/ui/styles.d.ts +12 -0
- package/dist/ui/styles.js +482 -0
- package/dist/ui/styles.js.map +1 -0
- package/dist/ui/subject.d.ts +36 -0
- package/dist/ui/subject.js +138 -0
- package/dist/ui/subject.js.map +1 -0
- package/dist/ui/text.d.ts +129 -0
- package/dist/ui/text.js +164 -0
- package/dist/ui/text.js.map +1 -0
- package/dist/ui/variations.d.ts +37 -0
- package/dist/ui/variations.js +60 -0
- package/dist/ui/variations.js.map +1 -0
- package/dist/ui/viewer.d.ts +67 -0
- package/dist/ui/viewer.js +246 -0
- package/dist/ui/viewer.js.map +1 -0
- package/dist/worker-auth.d.ts +48 -0
- package/dist/worker-auth.js +74 -0
- package/dist/worker-auth.js.map +1 -0
- package/dist/worker-entry.d.ts +58 -0
- package/dist/worker-entry.js +36 -0
- package/dist/worker-entry.js.map +1 -0
- package/dist/worker-http.d.ts +39 -0
- package/dist/worker-http.js +111 -0
- package/dist/worker-http.js.map +1 -0
- package/dist/worker-input.d.ts +81 -0
- package/dist/worker-input.js +296 -0
- package/dist/worker-input.js.map +1 -0
- package/dist/worker.d.ts +91 -0
- package/dist/worker.js +287 -0
- package/dist/worker.js.map +1 -0
- package/mark.svg +30 -0
- package/migrations/0001_initial.sql +193 -0
- package/migrations/0002_changelog.sql +30 -0
- package/migrations/0003_accessibility.sql +8 -0
- package/migrations/0004_variations.sql +19 -0
- package/migrations/0005_reach.sql +26 -0
- package/migrations/0006_baseline-size.sql +7 -0
- package/migrations/0007_declarations.sql +7 -0
- package/migrations/0008_green-because.sql +7 -0
- package/migrations/0009_moved-bands.sql +6 -0
- package/migrations/0010_composition.sql +15 -0
- package/migrations/0011_movements.sql +21 -0
- package/migrations/0012_control-size.sql +6 -0
- package/package.json +110 -0
- package/wrangler.jsonc +45 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
var Mv=Object.create;var dd=Object.defineProperty;var _v=Object.getOwnPropertyDescriptor;var Rv=Object.getOwnPropertyNames;var Cv=Object.getPrototypeOf,Dv=Object.prototype.hasOwnProperty;var Mt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Uv=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Rv(t))!Dv.call(e,i)&&i!==n&&dd(e,i,{get:()=>t[i],enumerable:!(a=_v(t,i))||a.enumerable});return e};var H=(e,t,n)=>(n=e!=null?Mv(Cv(e)):{},Uv(t||!e||!e.__esModule?dd(n,"default",{value:e,enumerable:!0}):n,e));var hd=Mt(zl=>{"use strict";var kv=Symbol.for("react.transitional.element"),Bv=Symbol.for("react.fragment");function fd(e,t,n){var a=null;if(n!==void 0&&(a=""+n),t.key!==void 0&&(a=""+t.key),"key"in t){n={};for(var i in t)i!=="key"&&(n[i]=t[i])}else n=t;return t=n.ref,{$$typeof:kv,type:e,key:a,ref:t!==void 0?t:null,props:n}}zl.Fragment=Bv;zl.jsx=fd;zl.jsxs=fd});var ee=Mt((VS,md)=>{"use strict";md.exports=hd()});var jd=Mt(L=>{"use strict";var Cr=Symbol.for("react.transitional.element"),Hv=Symbol.for("react.portal"),Lv=Symbol.for("react.fragment"),qv=Symbol.for("react.strict_mode"),Yv=Symbol.for("react.profiler"),Vv=Symbol.for("react.consumer"),Gv=Symbol.for("react.context"),Xv=Symbol.for("react.forward_ref"),Qv=Symbol.for("react.suspense"),Zv=Symbol.for("react.memo"),yd=Symbol.for("react.lazy"),Kv=Symbol.for("react.activity"),pd=Symbol.iterator;function Jv(e){return e===null||typeof e!="object"?null:(e=pd&&e[pd]||e["@@iterator"],typeof e=="function"?e:null)}var wd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},xd=Object.assign,Sd={};function ha(e,t,n){this.props=e,this.context=t,this.refs=Sd,this.updater=n||wd}ha.prototype.isReactComponent={};ha.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};ha.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Nd(){}Nd.prototype=ha.prototype;function Dr(e,t,n){this.props=e,this.context=t,this.refs=Sd,this.updater=n||wd}var Ur=Dr.prototype=new Nd;Ur.constructor=Dr;xd(Ur,ha.prototype);Ur.isPureReactComponent=!0;var gd=Array.isArray;function Rr(){}var me={H:null,A:null,T:null,S:null},Ed=Object.prototype.hasOwnProperty;function kr(e,t,n){var a=n.ref;return{$$typeof:Cr,type:e,key:t,ref:a!==void 0?a:null,props:n}}function Fv(e,t){return kr(e.type,t,e.props)}function Br(e){return typeof e=="object"&&e!==null&&e.$$typeof===Cr}function Wv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var vd=/\/+/g;function _r(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Wv(""+e.key):t.toString(36)}function Iv(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Rr,Rr):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function fa(e,t,n,a,i){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(l){case"bigint":case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Cr:case Hv:o=!0;break;case yd:return o=e._init,fa(o(e._payload),t,n,a,i)}}if(o)return i=i(e),o=a===""?"."+_r(e,0):a,gd(i)?(n="",o!=null&&(n=o.replace(vd,"$&/")+"/"),fa(i,t,n,"",function(c){return c})):i!=null&&(Br(i)&&(i=Fv(i,n+(i.key==null||e&&e.key===i.key?"":(""+i.key).replace(vd,"$&/")+"/")+o)),t.push(i)),1;o=0;var r=a===""?".":a+":";if(gd(e))for(var s=0;s<e.length;s++)a=e[s],l=r+_r(a,s),o+=fa(a,t,n,l,i);else if(s=Jv(e),typeof s=="function")for(e=s.call(e),s=0;!(a=e.next()).done;)a=a.value,l=r+_r(a,s++),o+=fa(a,t,n,l,i);else if(l==="object"){if(typeof e.then=="function")return fa(Iv(e),t,n,a,i);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 o}function Ml(e,t,n){if(e==null)return e;var a=[],i=0;return fa(e,a,"","",function(l){return t.call(n,l,i++)}),a}function Pv(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 bd=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},eb={map:Ml,forEach:function(e,t,n){Ml(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ml(e,function(){t++}),t},toArray:function(e){return Ml(e,function(t){return t})||[]},only:function(e){if(!Br(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};L.Activity=Kv;L.Children=eb;L.Component=ha;L.Fragment=Lv;L.Profiler=Yv;L.PureComponent=Dr;L.StrictMode=qv;L.Suspense=Qv;L.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=me;L.__COMPILER_RUNTIME={__proto__:null,c:function(e){return me.H.useMemoCache(e)}};L.cache=function(e){return function(){return e.apply(null,arguments)}};L.cacheSignal=function(){return null};L.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var a=xd({},e.props),i=e.key;if(t!=null)for(l in t.key!==void 0&&(i=""+t.key),t)!Ed.call(t,l)||l==="key"||l==="__self"||l==="__source"||l==="ref"&&t.ref===void 0||(a[l]=t[l]);var l=arguments.length-2;if(l===1)a.children=n;else if(1<l){for(var o=Array(l),r=0;r<l;r++)o[r]=arguments[r+2];a.children=o}return kr(e.type,i,a)};L.createContext=function(e){return e={$$typeof:Gv,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Vv,_context:e},e};L.createElement=function(e,t,n){var a,i={},l=null;if(t!=null)for(a in t.key!==void 0&&(l=""+t.key),t)Ed.call(t,a)&&a!=="key"&&a!=="__self"&&a!=="__source"&&(i[a]=t[a]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var r=Array(o),s=0;s<o;s++)r[s]=arguments[s+2];i.children=r}if(e&&e.defaultProps)for(a in o=e.defaultProps,o)i[a]===void 0&&(i[a]=o[a]);return kr(e,l,i)};L.createRef=function(){return{current:null}};L.forwardRef=function(e){return{$$typeof:Xv,render:e}};L.isValidElement=Br;L.lazy=function(e){return{$$typeof:yd,_payload:{_status:-1,_result:e},_init:Pv}};L.memo=function(e,t){return{$$typeof:Zv,type:e,compare:t===void 0?null:t}};L.startTransition=function(e){var t=me.T,n={};me.T=n;try{var a=e(),i=me.S;i!==null&&i(n,a),typeof a=="object"&&a!==null&&typeof a.then=="function"&&a.then(Rr,bd)}catch(l){bd(l)}finally{t!==null&&n.types!==null&&(t.types=n.types),me.T=t}};L.unstable_useCacheRefresh=function(){return me.H.useCacheRefresh()};L.use=function(e){return me.H.use(e)};L.useActionState=function(e,t,n){return me.H.useActionState(e,t,n)};L.useCallback=function(e,t){return me.H.useCallback(e,t)};L.useContext=function(e){return me.H.useContext(e)};L.useDebugValue=function(){};L.useDeferredValue=function(e,t){return me.H.useDeferredValue(e,t)};L.useEffect=function(e,t){return me.H.useEffect(e,t)};L.useEffectEvent=function(e){return me.H.useEffectEvent(e)};L.useId=function(){return me.H.useId()};L.useImperativeHandle=function(e,t,n){return me.H.useImperativeHandle(e,t,n)};L.useInsertionEffect=function(e,t){return me.H.useInsertionEffect(e,t)};L.useLayoutEffect=function(e,t){return me.H.useLayoutEffect(e,t)};L.useMemo=function(e,t){return me.H.useMemo(e,t)};L.useOptimistic=function(e,t){return me.H.useOptimistic(e,t)};L.useReducer=function(e,t,n){return me.H.useReducer(e,t,n)};L.useRef=function(e){return me.H.useRef(e)};L.useState=function(e){return me.H.useState(e)};L.useSyncExternalStore=function(e,t,n){return me.H.useSyncExternalStore(e,t,n)};L.useTransition=function(){return me.H.useTransition()};L.version="19.2.8"});var Xe=Mt((XS,Td)=>{"use strict";Td.exports=jd()});var Ud=Mt(be=>{"use strict";function Yr(e,t){var n=e.length;e.push(t);e:for(;0<n;){var a=n-1>>>1,i=e[a];if(0<_l(i,t))e[a]=t,e[n]=i,n=a;else break e}}function _t(e){return e.length===0?null:e[0]}function Cl(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var a=0,i=e.length,l=i>>>1;a<l;){var o=2*(a+1)-1,r=e[o],s=o+1,c=e[s];if(0>_l(r,n))s<i&&0>_l(c,r)?(e[a]=c,e[s]=n,a=s):(e[a]=r,e[o]=n,a=o);else if(s<i&&0>_l(c,n))e[a]=c,e[s]=n,a=s;else break e}}return t}function _l(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}be.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Od=performance,be.unstable_now=function(){return Od.now()}):(Hr=Date,Ad=Hr.now(),be.unstable_now=function(){return Hr.now()-Ad});var Od,Hr,Ad,Lt=[],dn=[],tb=1,ht=null,Qe=3,Vr=!1,fi=!1,hi=!1,Gr=!1,Md=typeof setTimeout=="function"?setTimeout:null,_d=typeof clearTimeout=="function"?clearTimeout:null,$d=typeof setImmediate<"u"?setImmediate:null;function Rl(e){for(var t=_t(dn);t!==null;){if(t.callback===null)Cl(dn);else if(t.startTime<=e)Cl(dn),t.sortIndex=t.expirationTime,Yr(Lt,t);else break;t=_t(dn)}}function Xr(e){if(hi=!1,Rl(e),!fi)if(_t(Lt)!==null)fi=!0,pa||(pa=!0,ma());else{var t=_t(dn);t!==null&&Qr(Xr,t.startTime-e)}}var pa=!1,mi=-1,Rd=5,Cd=-1;function Dd(){return Gr?!0:!(be.unstable_now()-Cd<Rd)}function Lr(){if(Gr=!1,pa){var e=be.unstable_now();Cd=e;var t=!0;try{e:{fi=!1,hi&&(hi=!1,_d(mi),mi=-1),Vr=!0;var n=Qe;try{t:{for(Rl(e),ht=_t(Lt);ht!==null&&!(ht.expirationTime>e&&Dd());){var a=ht.callback;if(typeof a=="function"){ht.callback=null,Qe=ht.priorityLevel;var i=a(ht.expirationTime<=e);if(e=be.unstable_now(),typeof i=="function"){ht.callback=i,Rl(e),t=!0;break t}ht===_t(Lt)&&Cl(Lt),Rl(e)}else Cl(Lt);ht=_t(Lt)}if(ht!==null)t=!0;else{var l=_t(dn);l!==null&&Qr(Xr,l.startTime-e),t=!1}}break e}finally{ht=null,Qe=n,Vr=!1}t=void 0}}finally{t?ma():pa=!1}}}var ma;typeof $d=="function"?ma=function(){$d(Lr)}:typeof MessageChannel<"u"?(qr=new MessageChannel,zd=qr.port2,qr.port1.onmessage=Lr,ma=function(){zd.postMessage(null)}):ma=function(){Md(Lr,0)};var qr,zd;function Qr(e,t){mi=Md(function(){e(be.unstable_now())},t)}be.unstable_IdlePriority=5;be.unstable_ImmediatePriority=1;be.unstable_LowPriority=4;be.unstable_NormalPriority=3;be.unstable_Profiling=null;be.unstable_UserBlockingPriority=2;be.unstable_cancelCallback=function(e){e.callback=null};be.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Rd=0<e?Math.floor(1e3/e):5};be.unstable_getCurrentPriorityLevel=function(){return Qe};be.unstable_next=function(e){switch(Qe){case 1:case 2:case 3:var t=3;break;default:t=Qe}var n=Qe;Qe=t;try{return e()}finally{Qe=n}};be.unstable_requestPaint=function(){Gr=!0};be.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=Qe;Qe=e;try{return t()}finally{Qe=n}};be.unstable_scheduleCallback=function(e,t,n){var a=be.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?a+n:a):n=a,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=n+i,e={id:tb++,callback:t,priorityLevel:e,startTime:n,expirationTime:i,sortIndex:-1},n>a?(e.sortIndex=n,Yr(dn,e),_t(Lt)===null&&e===_t(dn)&&(hi?(_d(mi),mi=-1):hi=!0,Qr(Xr,n-a))):(e.sortIndex=i,Yr(Lt,e),fi||Vr||(fi=!0,pa||(pa=!0,ma()))),e};be.unstable_shouldYield=Dd;be.unstable_wrapCallback=function(e){var t=Qe;return function(){var n=Qe;Qe=t;try{return e.apply(this,arguments)}finally{Qe=n}}}});var Bd=Mt((ZS,kd)=>{"use strict";kd.exports=Ud()});var Ld=Mt(Ke=>{"use strict";var nb=Xe();function Hd(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function fn(){}var Ze={d:{f:fn,r:function(){throw Error(Hd(522))},D:fn,C:fn,L:fn,m:fn,X:fn,S:fn,M:fn},p:0,findDOMNode:null},ab=Symbol.for("react.portal");function ib(e,t,n){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ab,key:a==null?null:""+a,children:e,containerInfo:t,implementation:n}}var pi=nb.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Dl(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Ke.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ze;Ke.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(Hd(299));return ib(e,t,null,n)};Ke.flushSync=function(e){var t=pi.T,n=Ze.p;try{if(pi.T=null,Ze.p=2,e)return e()}finally{pi.T=t,Ze.p=n,Ze.d.f()}};Ke.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Ze.d.C(e,t))};Ke.prefetchDNS=function(e){typeof e=="string"&&Ze.d.D(e)};Ke.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var n=t.as,a=Dl(n,t.crossOrigin),i=typeof t.integrity=="string"?t.integrity:void 0,l=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;n==="style"?Ze.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:a,integrity:i,fetchPriority:l}):n==="script"&&Ze.d.X(e,{crossOrigin:a,integrity:i,fetchPriority:l,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Ke.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var n=Dl(t.as,t.crossOrigin);Ze.d.M(e,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&Ze.d.M(e)};Ke.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var n=t.as,a=Dl(n,t.crossOrigin);Ze.d.L(e,n,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Ke.preloadModule=function(e,t){if(typeof e=="string")if(t){var n=Dl(t.as,t.crossOrigin);Ze.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else Ze.d.m(e)};Ke.requestFormReset=function(e){Ze.d.r(e)};Ke.unstable_batchedUpdates=function(e,t){return e(t)};Ke.useFormState=function(e,t,n){return pi.H.useFormState(e,t,n)};Ke.useFormStatus=function(){return pi.H.useHostTransitionStatus()};Ke.version="19.2.8"});var Vd=Mt((JS,Yd)=>{"use strict";function qd(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(qd)}catch(e){console.error(e)}}qd(),Yd.exports=Ld()});var ng=Mt(rr=>{"use strict";var _e=Bd(),gh=Xe(),lb=Vd();function b(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;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."}function vh(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function tl(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function bh(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function yh(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Gd(e){if(tl(e)!==e)throw Error(b(188))}function ob(e){var t=e.alternate;if(!t){if(t=tl(e),t===null)throw Error(b(188));return t!==e?null:e}for(var n=e,a=t;;){var i=n.return;if(i===null)break;var l=i.alternate;if(l===null){if(a=i.return,a!==null){n=a;continue}break}if(i.child===l.child){for(l=i.child;l;){if(l===n)return Gd(i),e;if(l===a)return Gd(i),t;l=l.sibling}throw Error(b(188))}if(n.return!==a.return)n=i,a=l;else{for(var o=!1,r=i.child;r;){if(r===n){o=!0,n=i,a=l;break}if(r===a){o=!0,a=i,n=l;break}r=r.sibling}if(!o){for(r=l.child;r;){if(r===n){o=!0,n=l,a=i;break}if(r===a){o=!0,a=l,n=i;break}r=r.sibling}if(!o)throw Error(b(189))}}if(n.alternate!==a)throw Error(b(190))}if(n.tag!==3)throw Error(b(188));return n.stateNode.current===n?e:t}function wh(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=wh(e),t!==null)return t;e=e.sibling}return null}var ve=Object.assign,rb=Symbol.for("react.element"),Ul=Symbol.for("react.transitional.element"),Ni=Symbol.for("react.portal"),xa=Symbol.for("react.fragment"),xh=Symbol.for("react.strict_mode"),Ts=Symbol.for("react.profiler"),Sh=Symbol.for("react.consumer"),Kt=Symbol.for("react.context"),xc=Symbol.for("react.forward_ref"),Os=Symbol.for("react.suspense"),As=Symbol.for("react.suspense_list"),Sc=Symbol.for("react.memo"),hn=Symbol.for("react.lazy");Symbol.for("react.scope");var $s=Symbol.for("react.activity");Symbol.for("react.legacy_hidden");Symbol.for("react.tracing_marker");var sb=Symbol.for("react.memo_cache_sentinel");Symbol.for("react.view_transition");var Xd=Symbol.iterator;function gi(e){return e===null||typeof e!="object"?null:(e=Xd&&e[Xd]||e["@@iterator"],typeof e=="function"?e:null)}var cb=Symbol.for("react.client.reference");function zs(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===cb?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case xa:return"Fragment";case Ts:return"Profiler";case xh:return"StrictMode";case Os:return"Suspense";case As:return"SuspenseList";case $s:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Ni:return"Portal";case Kt:return e.displayName||"Context";case Sh:return(e._context.displayName||"Context")+".Consumer";case xc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Sc:return t=e.displayName||null,t!==null?t:zs(e.type)||"Memo";case hn:t=e._payload,e=e._init;try{return zs(e(t))}catch{}}return null}var Ei=Array.isArray,M=gh.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=lb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Kn={pending:!1,data:null,method:null,action:null},Ms=[],Sa=-1;function kt(e){return{current:e}}function Ue(e){0>Sa||(e.current=Ms[Sa],Ms[Sa]=null,Sa--)}function de(e,t){Sa++,Ms[Sa]=e.current,e.current=t}var Ut=kt(null),qi=kt(null),En=kt(null),go=kt(null);function vo(e,t){switch(de(En,t),de(qi,e),de(Ut,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Pf(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Pf(t),e=Yp(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Ue(Ut),de(Ut,e)}function La(){Ue(Ut),Ue(qi),Ue(En)}function _s(e){e.memoizedState!==null&&de(go,e);var t=Ut.current,n=Yp(t,e.type);t!==n&&(de(qi,e),de(Ut,n))}function bo(e){qi.current===e&&(Ue(Ut),Ue(qi)),go.current===e&&(Ue(go),Ii._currentValue=Kn)}var Zr,Qd;function Gn(e){if(Zr===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Zr=t&&t[1]||"",Qd=-1<n.stack.indexOf(`
|
|
2
|
+
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
+
`+Zr+e+Qd}var Kr=!1;function Jr(e,t){if(!e||Kr)return"";Kr=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var p=function(){throw Error()};if(Object.defineProperty(p.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(p,[])}catch(h){var u=h}Reflect.construct(e,[],p)}else{try{p.call()}catch(h){u=h}e.call(p.prototype)}}else{try{throw Error()}catch(h){u=h}(p=e())&&typeof p.catch=="function"&&p.catch(function(){})}}catch(h){if(h&&u&&typeof h.stack=="string")return[h.stack,u.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var l=a.DetermineComponentFrameRoot(),o=l[0],r=l[1];if(o&&r){var s=o.split(`
|
|
4
|
+
`),c=r.split(`
|
|
5
|
+
`);for(i=a=0;a<s.length&&!s[a].includes("DetermineComponentFrameRoot");)a++;for(;i<c.length&&!c[i].includes("DetermineComponentFrameRoot");)i++;if(a===s.length||i===c.length)for(a=s.length-1,i=c.length-1;1<=a&&0<=i&&s[a]!==c[i];)i--;for(;1<=a&&0<=i;a--,i--)if(s[a]!==c[i]){if(a!==1||i!==1)do if(a--,i--,0>i||s[a]!==c[i]){var f=`
|
|
6
|
+
`+s[a].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),f}while(1<=a&&0<=i);break}}}finally{Kr=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Gn(n):""}function ub(e,t){switch(e.tag){case 26:case 27:case 5:return Gn(e.type);case 16:return Gn("Lazy");case 13:return e.child!==t&&t!==null?Gn("Suspense Fallback"):Gn("Suspense");case 19:return Gn("SuspenseList");case 0:case 15:return Jr(e.type,!1);case 11:return Jr(e.type.render,!1);case 1:return Jr(e.type,!0);case 31:return Gn("Activity");default:return""}}function Zd(e){try{var t="",n=null;do t+=ub(e,n),n=e,e=e.return;while(e);return t}catch(a){return`
|
|
7
|
+
Error generating stack: `+a.message+`
|
|
8
|
+
`+a.stack}}var Rs=Object.prototype.hasOwnProperty,Nc=_e.unstable_scheduleCallback,Fr=_e.unstable_cancelCallback,db=_e.unstable_shouldYield,fb=_e.unstable_requestPaint,rt=_e.unstable_now,hb=_e.unstable_getCurrentPriorityLevel,Nh=_e.unstable_ImmediatePriority,Eh=_e.unstable_UserBlockingPriority,yo=_e.unstable_NormalPriority,mb=_e.unstable_LowPriority,jh=_e.unstable_IdlePriority,pb=_e.log,gb=_e.unstable_setDisableYieldValue,nl=null,st=null;function yn(e){if(typeof pb=="function"&&gb(e),st&&typeof st.setStrictMode=="function")try{st.setStrictMode(nl,e)}catch{}}var ct=Math.clz32?Math.clz32:yb,vb=Math.log,bb=Math.LN2;function yb(e){return e>>>=0,e===0?32:31-(vb(e)/bb|0)|0}var kl=256,Bl=262144,Hl=4194304;function Xn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Xo(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var i=0,l=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var r=a&134217727;return r!==0?(a=r&~l,a!==0?i=Xn(a):(o&=r,o!==0?i=Xn(o):n||(n=r&~e,n!==0&&(i=Xn(n))))):(r=a&~l,r!==0?i=Xn(r):o!==0?i=Xn(o):n||(n=a&~e,n!==0&&(i=Xn(n)))),i===0?0:t!==0&&t!==i&&(t&l)===0&&(l=i&-i,n=t&-t,l>=n||l===32&&(n&4194048)!==0)?t:i}function al(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function wb(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Th(){var e=Hl;return Hl<<=1,(Hl&62914560)===0&&(Hl=4194304),e}function Wr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function il(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function xb(e,t,n,a,i,l){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var r=e.entanglements,s=e.expirationTimes,c=e.hiddenUpdates;for(n=o&~n;0<n;){var f=31-ct(n),p=1<<f;r[f]=0,s[f]=-1;var u=c[f];if(u!==null)for(c[f]=null,f=0;f<u.length;f++){var h=u[f];h!==null&&(h.lane&=-536870913)}n&=~p}a!==0&&Oh(e,a,0),l!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=l&~(o&~t))}function Oh(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-ct(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function Ah(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-ct(n),i=1<<a;i&t|e[a]&t&&(e[a]|=t),n&=~i}}function $h(e,t){var n=t&-t;return n=(n&42)!==0?1:Ec(n),(n&(e.suspendedLanes|t))!==0?0:n}function Ec(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function jc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function zh(){var e=ne.p;return e!==0?e:(e=window.event,e===void 0?32:Pp(e.type))}function Kd(e,t){var n=ne.p;try{return ne.p=e,t()}finally{ne.p=n}}var kn=Math.random().toString(36).slice(2),He="__reactFiber$"+kn,tt="__reactProps$"+kn,Wa="__reactContainer$"+kn,Cs="__reactEvents$"+kn,Sb="__reactListeners$"+kn,Nb="__reactHandles$"+kn,Jd="__reactResources$"+kn,ll="__reactMarker$"+kn;function Tc(e){delete e[He],delete e[tt],delete e[Cs],delete e[Sb],delete e[Nb]}function Na(e){var t=e[He];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Wa]||n[He]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ih(e);e!==null;){if(n=e[He])return n;e=ih(e)}return t}e=n,n=e.parentNode}return null}function Ia(e){if(e=e[He]||e[Wa]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ji(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(b(33))}function Ra(e){var t=e[Jd];return t||(t=e[Jd]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function De(e){e[ll]=!0}var Mh=new Set,_h={};function ia(e,t){qa(e,t),qa(e+"Capture",t)}function qa(e,t){for(_h[e]=t,e=0;e<t.length;e++)Mh.add(t[e])}var Eb=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]*$"),Fd={},Wd={};function jb(e){return Rs.call(Wd,e)?!0:Rs.call(Fd,e)?!1:Eb.test(e)?Wd[e]=!0:(Fd[e]=!0,!1)}function eo(e,t,n){if(jb(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Ll(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function qt(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}function pt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Tb(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var i=a.get,l=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,l.call(this,o)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ds(e){if(!e._valueTracker){var t=Rh(e)?"checked":"value";e._valueTracker=Tb(e,t,""+e[t])}}function Ch(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=Rh(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function wo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Ob=/[\n"\\]/g;function bt(e){return e.replace(Ob,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Us(e,t,n,a,i,l,o,r){e.name="",o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?e.type=o:e.removeAttribute("type"),t!=null?o==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+pt(t)):e.value!==""+pt(t)&&(e.value=""+pt(t)):o!=="submit"&&o!=="reset"||e.removeAttribute("value"),t!=null?ks(e,o,pt(t)):n!=null?ks(e,o,pt(n)):a!=null&&e.removeAttribute("value"),i==null&&l!=null&&(e.defaultChecked=!!l),i!=null&&(e.checked=i&&typeof i!="function"&&typeof i!="symbol"),r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?e.name=""+pt(r):e.removeAttribute("name")}function Dh(e,t,n,a,i,l,o,r){if(l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"&&(e.type=l),t!=null||n!=null){if(!(l!=="submit"&&l!=="reset"||t!=null)){Ds(e);return}n=n!=null?""+pt(n):"",t=t!=null?""+pt(t):n,r||t===e.value||(e.value=t),e.defaultValue=t}a=a??i,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=r?e.checked:!!a,e.defaultChecked=!!a,o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.name=o),Ds(e)}function ks(e,t,n){t==="number"&&wo(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Ca(e,t,n,a){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&a&&(e[n].defaultSelected=!0)}else{for(n=""+pt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,a&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Uh(e,t,n){if(t!=null&&(t=""+pt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+pt(n):""}function kh(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(b(92));if(Ei(a)){if(1<a.length)throw Error(b(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=pt(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),Ds(e)}function Ya(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ab=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 Id(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||Ab.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Bh(e,t,n){if(t!=null&&typeof t!="object")throw Error(b(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var i in t)a=t[i],t.hasOwnProperty(i)&&n[i]!==a&&Id(e,i,a)}else for(var l in t)t.hasOwnProperty(l)&&Id(e,l,t[l])}function Oc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var $b=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),zb=/^[\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 to(e){return zb.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Jt(){}var Bs=null;function Ac(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ea=null,Da=null;function Pd(e){var t=Ia(e);if(t&&(e=t.stateNode)){var n=e[tt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Us(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+bt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var i=a[tt]||null;if(!i)throw Error(b(90));Us(a,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&Ch(a)}break e;case"textarea":Uh(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ca(e,!!n.multiple,t,!1)}}}var Ir=!1;function Hh(e,t,n){if(Ir)return e(t,n);Ir=!0;try{var a=e(t);return a}finally{if(Ir=!1,(Ea!==null||Da!==null)&&(ar(),Ea&&(t=Ea,e=Da,Da=Ea=null,Pd(t),e)))for(t=0;t<e.length;t++)Pd(e[t])}}function Yi(e,t){var n=e.stateNode;if(n===null)return null;var a=n[tt]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(b(231,t,typeof n));return n}var en=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Hs=!1;if(en)try{ga={},Object.defineProperty(ga,"passive",{get:function(){Hs=!0}}),window.addEventListener("test",ga,ga),window.removeEventListener("test",ga,ga)}catch{Hs=!1}var ga,wn=null,$c=null,no=null;function Lh(){if(no)return no;var e,t=$c,n=t.length,a,i="value"in wn?wn.value:wn.textContent,l=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(a=1;a<=o&&t[n-a]===i[l-a];a++);return no=i.slice(e,1<a?1-a:void 0)}function ao(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ql(){return!0}function ef(){return!1}function nt(e){function t(n,a,i,l,o){this._reactName=n,this._targetInst=i,this.type=a,this.nativeEvent=l,this.target=o,this.currentTarget=null;for(var r in e)e.hasOwnProperty(r)&&(n=e[r],this[r]=n?n(l):l[r]);return this.isDefaultPrevented=(l.defaultPrevented!=null?l.defaultPrevented:l.returnValue===!1)?ql:ef,this.isPropagationStopped=ef,this}return ve(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=ql)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=ql)},persist:function(){},isPersistent:ql}),t}var la={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qo=nt(la),ol=ve({},la,{view:0,detail:0}),Mb=nt(ol),Pr,es,vi,Zo=ve({},ol,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==vi&&(vi&&e.type==="mousemove"?(Pr=e.screenX-vi.screenX,es=e.screenY-vi.screenY):es=Pr=0,vi=e),Pr)},movementY:function(e){return"movementY"in e?e.movementY:es}}),tf=nt(Zo),_b=ve({},Zo,{dataTransfer:0}),Rb=nt(_b),Cb=ve({},ol,{relatedTarget:0}),ts=nt(Cb),Db=ve({},la,{animationName:0,elapsedTime:0,pseudoElement:0}),Ub=nt(Db),kb=ve({},la,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Bb=nt(kb),Hb=ve({},la,{data:0}),nf=nt(Hb),Lb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qb={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"},Yb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Yb[e])?!!t[e]:!1}function zc(){return Vb}var Gb=ve({},ol,{key:function(e){if(e.key){var t=Lb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ao(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?qb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zc,charCode:function(e){return e.type==="keypress"?ao(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ao(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Xb=nt(Gb),Qb=ve({},Zo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),af=nt(Qb),Zb=ve({},ol,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zc}),Kb=nt(Zb),Jb=ve({},la,{propertyName:0,elapsedTime:0,pseudoElement:0}),Fb=nt(Jb),Wb=ve({},Zo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Ib=nt(Wb),Pb=ve({},la,{newState:0,oldState:0}),ey=nt(Pb),ty=[9,13,27,32],Mc=en&&"CompositionEvent"in window,Ai=null;en&&"documentMode"in document&&(Ai=document.documentMode);var ny=en&&"TextEvent"in window&&!Ai,qh=en&&(!Mc||Ai&&8<Ai&&11>=Ai),lf=" ",of=!1;function Yh(e,t){switch(e){case"keyup":return ty.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ja=!1;function ay(e,t){switch(e){case"compositionend":return Vh(t);case"keypress":return t.which!==32?null:(of=!0,lf);case"textInput":return e=t.data,e===lf&&of?null:e;default:return null}}function iy(e,t){if(ja)return e==="compositionend"||!Mc&&Yh(e,t)?(e=Lh(),no=$c=wn=null,ja=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return qh&&t.locale!=="ko"?null:t.data;default:return null}}var ly={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 rf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ly[e.type]:t==="textarea"}function Gh(e,t,n,a){Ea?Da?Da.push(a):Da=[a]:Ea=a,t=Bo(t,"onChange"),0<t.length&&(n=new Qo("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var $i=null,Vi=null;function oy(e){Hp(e,0)}function Ko(e){var t=ji(e);if(Ch(t))return e}function sf(e,t){if(e==="change")return t}var Xh=!1;en&&(en?(Vl="oninput"in document,Vl||(ns=document.createElement("div"),ns.setAttribute("oninput","return;"),Vl=typeof ns.oninput=="function"),Yl=Vl):Yl=!1,Xh=Yl&&(!document.documentMode||9<document.documentMode));var Yl,Vl,ns;function cf(){$i&&($i.detachEvent("onpropertychange",Qh),Vi=$i=null)}function Qh(e){if(e.propertyName==="value"&&Ko(Vi)){var t=[];Gh(t,Vi,e,Ac(e)),Hh(oy,t)}}function ry(e,t,n){e==="focusin"?(cf(),$i=t,Vi=n,$i.attachEvent("onpropertychange",Qh)):e==="focusout"&&cf()}function sy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ko(Vi)}function cy(e,t){if(e==="click")return Ko(t)}function uy(e,t){if(e==="input"||e==="change")return Ko(t)}function dy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dt=typeof Object.is=="function"?Object.is:dy;function Gi(e,t){if(dt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var i=n[a];if(!Rs.call(t,i)||!dt(e[i],t[i]))return!1}return!0}function uf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function df(e,t){var n=uf(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=uf(n)}}function Zh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Kh(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=wo(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=wo(e.document)}return t}function _c(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var fy=en&&"documentMode"in document&&11>=document.documentMode,Ta=null,Ls=null,zi=null,qs=!1;function ff(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;qs||Ta==null||Ta!==wo(a)||(a=Ta,"selectionStart"in a&&_c(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}),zi&&Gi(zi,a)||(zi=a,a=Bo(Ls,"onSelect"),0<a.length&&(t=new Qo("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Ta)))}function Vn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Oa={animationend:Vn("Animation","AnimationEnd"),animationiteration:Vn("Animation","AnimationIteration"),animationstart:Vn("Animation","AnimationStart"),transitionrun:Vn("Transition","TransitionRun"),transitionstart:Vn("Transition","TransitionStart"),transitioncancel:Vn("Transition","TransitionCancel"),transitionend:Vn("Transition","TransitionEnd")},as={},Jh={};en&&(Jh=document.createElement("div").style,"AnimationEvent"in window||(delete Oa.animationend.animation,delete Oa.animationiteration.animation,delete Oa.animationstart.animation),"TransitionEvent"in window||delete Oa.transitionend.transition);function oa(e){if(as[e])return as[e];if(!Oa[e])return e;var t=Oa[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Jh)return as[e]=t[n];return e}var Fh=oa("animationend"),Wh=oa("animationiteration"),Ih=oa("animationstart"),hy=oa("transitionrun"),my=oa("transitionstart"),py=oa("transitioncancel"),Ph=oa("transitionend"),em=new Map,Ys="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(" ");Ys.push("scrollEnd");function $t(e,t){em.set(e,t),ia(t,[e])}var xo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},mt=[],Aa=0,Rc=0;function Jo(){for(var e=Aa,t=Rc=Aa=0;t<e;){var n=mt[t];mt[t++]=null;var a=mt[t];mt[t++]=null;var i=mt[t];mt[t++]=null;var l=mt[t];if(mt[t++]=null,a!==null&&i!==null){var o=a.pending;o===null?i.next=i:(i.next=o.next,o.next=i),a.pending=i}l!==0&&tm(n,i,l)}}function Fo(e,t,n,a){mt[Aa++]=e,mt[Aa++]=t,mt[Aa++]=n,mt[Aa++]=a,Rc|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Cc(e,t,n,a){return Fo(e,t,n,a),So(e)}function ra(e,t){return Fo(e,null,null,t),So(e)}function tm(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var i=!1,l=e.return;l!==null;)l.childLanes|=n,a=l.alternate,a!==null&&(a.childLanes|=n),l.tag===22&&(e=l.stateNode,e===null||e._visibility&1||(i=!0)),e=l,l=l.return;return e.tag===3?(l=e.stateNode,i&&t!==null&&(i=31-ct(n),e=l.hiddenUpdates,a=e[i],a===null?e[i]=[t]:a.push(t),t.lane=n|536870912),l):null}function So(e){if(50<Hi)throw Hi=0,cc=null,Error(b(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var $a={};function gy(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function lt(e,t,n,a){return new gy(e,t,n,a)}function Dc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Wt(e,t){var n=e.alternate;return n===null?(n=lt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function nm(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function io(e,t,n,a,i,l){var o=0;if(a=e,typeof e=="function")Dc(e)&&(o=1);else if(typeof e=="string")o=y1(e,n,Ut.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case $s:return e=lt(31,n,t,i),e.elementType=$s,e.lanes=l,e;case xa:return Jn(n.children,i,l,t);case xh:o=8,i|=24;break;case Ts:return e=lt(12,n,t,i|2),e.elementType=Ts,e.lanes=l,e;case Os:return e=lt(13,n,t,i),e.elementType=Os,e.lanes=l,e;case As:return e=lt(19,n,t,i),e.elementType=As,e.lanes=l,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Kt:o=10;break e;case Sh:o=9;break e;case xc:o=11;break e;case Sc:o=14;break e;case hn:o=16,a=null;break e}o=29,n=Error(b(130,e===null?"null":typeof e,"")),a=null}return t=lt(o,n,t,i),t.elementType=e,t.type=a,t.lanes=l,t}function Jn(e,t,n,a){return e=lt(7,e,a,t),e.lanes=n,e}function is(e,t,n){return e=lt(6,e,null,t),e.lanes=n,e}function am(e){var t=lt(18,null,null,0);return t.stateNode=e,t}function ls(e,t,n){return t=lt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var hf=new WeakMap;function yt(e,t){if(typeof e=="object"&&e!==null){var n=hf.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Zd(t)},hf.set(e,t),t)}return{value:e,source:t,stack:Zd(t)}}var za=[],Ma=0,No=null,Xi=0,gt=[],vt=0,Rn=null,Rt=1,Ct="";function Qt(e,t){za[Ma++]=Xi,za[Ma++]=No,No=e,Xi=t}function im(e,t,n){gt[vt++]=Rt,gt[vt++]=Ct,gt[vt++]=Rn,Rn=e;var a=Rt;e=Ct;var i=32-ct(a)-1;a&=~(1<<i),n+=1;var l=32-ct(t)+i;if(30<l){var o=i-i%5;l=(a&(1<<o)-1).toString(32),a>>=o,i-=o,Rt=1<<32-ct(t)+i|n<<i|a,Ct=l+e}else Rt=1<<l|n<<i|a,Ct=e}function Uc(e){e.return!==null&&(Qt(e,1),im(e,1,0))}function kc(e){for(;e===No;)No=za[--Ma],za[Ma]=null,Xi=za[--Ma],za[Ma]=null;for(;e===Rn;)Rn=gt[--vt],gt[vt]=null,Ct=gt[--vt],gt[vt]=null,Rt=gt[--vt],gt[vt]=null}function lm(e,t){gt[vt++]=Rt,gt[vt++]=Ct,gt[vt++]=Rn,Rt=t.id,Ct=t.overflow,Rn=e}var Le=null,ge=null,W=!1,jn=null,wt=!1,Vs=Error(b(519));function Cn(e){var t=Error(b(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Qi(yt(t,e)),Vs}function mf(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[He]=e,t[tt]=a,n){case"dialog":Q("cancel",t),Q("close",t);break;case"iframe":case"object":case"embed":Q("load",t);break;case"video":case"audio":for(n=0;n<Fi.length;n++)Q(Fi[n],t);break;case"source":Q("error",t);break;case"img":case"image":case"link":Q("error",t),Q("load",t);break;case"details":Q("toggle",t);break;case"input":Q("invalid",t),Dh(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":Q("invalid",t);break;case"textarea":Q("invalid",t),kh(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||qp(t.textContent,n)?(a.popover!=null&&(Q("beforetoggle",t),Q("toggle",t)),a.onScroll!=null&&Q("scroll",t),a.onScrollEnd!=null&&Q("scrollend",t),a.onClick!=null&&(t.onclick=Jt),t=!0):t=!1,t||Cn(e,!0)}function pf(e){for(Le=e.return;Le;)switch(Le.tag){case 5:case 31:case 13:wt=!1;return;case 27:case 3:wt=!0;return;default:Le=Le.return}}function va(e){if(e!==Le)return!1;if(!W)return pf(e),W=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||mc(e.type,e.memoizedProps)),n=!n),n&&ge&&Cn(e),pf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(b(317));ge=ah(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(b(317));ge=ah(e)}else t===27?(t=ge,Bn(e.type)?(e=bc,bc=null,ge=e):ge=t):ge=Le?St(e.stateNode.nextSibling):null;return!0}function Pn(){ge=Le=null,W=!1}function os(){var e=jn;return e!==null&&(Pe===null?Pe=e:Pe.push.apply(Pe,e),jn=null),e}function Qi(e){jn===null?jn=[e]:jn.push(e)}var Gs=kt(null),sa=null,Ft=null;function pn(e,t,n){de(Gs,t._currentValue),t._currentValue=n}function It(e){e._currentValue=Gs.current,Ue(Gs)}function Xs(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function Qs(e,t,n,a){var i=e.child;for(i!==null&&(i.return=e);i!==null;){var l=i.dependencies;if(l!==null){var o=i.child;l=l.firstContext;e:for(;l!==null;){var r=l;l=i;for(var s=0;s<t.length;s++)if(r.context===t[s]){l.lanes|=n,r=l.alternate,r!==null&&(r.lanes|=n),Xs(l.return,n,e),a||(o=null);break e}l=r.next}}else if(i.tag===18){if(o=i.return,o===null)throw Error(b(341));o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Xs(o,n,e),o=null}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===e){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}}function Pa(e,t,n,a){e=null;for(var i=t,l=!1;i!==null;){if(!l){if((i.flags&524288)!==0)l=!0;else if((i.flags&262144)!==0)break}if(i.tag===10){var o=i.alternate;if(o===null)throw Error(b(387));if(o=o.memoizedProps,o!==null){var r=i.type;dt(i.pendingProps.value,o.value)||(e!==null?e.push(r):e=[r])}}else if(i===go.current){if(o=i.alternate,o===null)throw Error(b(387));o.memoizedState.memoizedState!==i.memoizedState.memoizedState&&(e!==null?e.push(Ii):e=[Ii])}i=i.return}e!==null&&Qs(t,e,n,a),t.flags|=262144}function Eo(e){for(e=e.firstContext;e!==null;){if(!dt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ea(e){sa=e,Ft=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function qe(e){return om(sa,e)}function Gl(e,t){return sa===null&&ea(e),om(e,t)}function om(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Ft===null){if(e===null)throw Error(b(308));Ft=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Ft=Ft.next=t;return n}var vy=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},by=_e.unstable_scheduleCallback,yy=_e.unstable_NormalPriority,Ae={$$typeof:Kt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Bc(){return{controller:new vy,data:new Map,refCount:0}}function rl(e){e.refCount--,e.refCount===0&&by(yy,function(){e.controller.abort()})}var Mi=null,Zs=0,Va=0,Ua=null;function wy(e,t){if(Mi===null){var n=Mi=[];Zs=0,Va=cu(),Ua={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Zs++,t.then(gf,gf),t}function gf(){if(--Zs===0&&Mi!==null){Ua!==null&&(Ua.status="fulfilled");var e=Mi;Mi=null,Va=0,Ua=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function xy(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(i){n.push(i)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var i=0;i<n.length;i++)(0,n[i])(t)},function(i){for(a.status="rejected",a.reason=i,i=0;i<n.length;i++)(0,n[i])(void 0)}),a}var vf=M.S;M.S=function(e,t){wp=rt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&wy(e,t),vf!==null&&vf(e,t)};var Fn=kt(null);function Hc(){var e=Fn.current;return e!==null?e:se.pooledCache}function lo(e,t){t===null?de(Fn,Fn.current):de(Fn,t.pool)}function rm(){var e=Hc();return e===null?null:{parent:Ae._currentValue,pool:e}}var ei=Error(b(460)),Lc=Error(b(474)),Wo=Error(b(542)),jo={then:function(){}};function bf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function sm(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Jt,Jt),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,wf(e),e;default:if(typeof t.status=="string")t.then(Jt,Jt);else{if(e=se,e!==null&&100<e.shellSuspendCounter)throw Error(b(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var i=t;i.status="fulfilled",i.value=a}},function(a){if(t.status==="pending"){var i=t;i.status="rejected",i.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,wf(e),e}throw Wn=t,ei}}function Qn(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Wn=n,ei):n}}var Wn=null;function yf(){if(Wn===null)throw Error(b(459));var e=Wn;return Wn=null,e}function wf(e){if(e===ei||e===Wo)throw Error(b(483))}var ka=null,Zi=0;function Xl(e){var t=Zi;return Zi+=1,ka===null&&(ka=[]),sm(ka,e,t)}function bi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ql(e,t){throw t.$$typeof===rb?Error(b(525)):(e=Object.prototype.toString.call(t),Error(b(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function cm(e){function t(m,d){if(e){var g=m.deletions;g===null?(m.deletions=[d],m.flags|=16):g.push(d)}}function n(m,d){if(!e)return null;for(;d!==null;)t(m,d),d=d.sibling;return null}function a(m){for(var d=new Map;m!==null;)m.key!==null?d.set(m.key,m):d.set(m.index,m),m=m.sibling;return d}function i(m,d){return m=Wt(m,d),m.index=0,m.sibling=null,m}function l(m,d,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<d?(m.flags|=67108866,d):g):(m.flags|=67108866,d)):(m.flags|=1048576,d)}function o(m){return e&&m.alternate===null&&(m.flags|=67108866),m}function r(m,d,g,v){return d===null||d.tag!==6?(d=is(g,m.mode,v),d.return=m,d):(d=i(d,g),d.return=m,d)}function s(m,d,g,v){var j=g.type;return j===xa?f(m,d,g.props.children,v,g.key):d!==null&&(d.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===hn&&Qn(j)===d.type)?(d=i(d,g.props),bi(d,g),d.return=m,d):(d=io(g.type,g.key,g.props,null,m.mode,v),bi(d,g),d.return=m,d)}function c(m,d,g,v){return d===null||d.tag!==4||d.stateNode.containerInfo!==g.containerInfo||d.stateNode.implementation!==g.implementation?(d=ls(g,m.mode,v),d.return=m,d):(d=i(d,g.children||[]),d.return=m,d)}function f(m,d,g,v,j){return d===null||d.tag!==7?(d=Jn(g,m.mode,v,j),d.return=m,d):(d=i(d,g),d.return=m,d)}function p(m,d,g){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=is(""+d,m.mode,g),d.return=m,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Ul:return g=io(d.type,d.key,d.props,null,m.mode,g),bi(g,d),g.return=m,g;case Ni:return d=ls(d,m.mode,g),d.return=m,d;case hn:return d=Qn(d),p(m,d,g)}if(Ei(d)||gi(d))return d=Jn(d,m.mode,g,null),d.return=m,d;if(typeof d.then=="function")return p(m,Xl(d),g);if(d.$$typeof===Kt)return p(m,Gl(m,d),g);Ql(m,d)}return null}function u(m,d,g,v){var j=d!==null?d.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return j!==null?null:r(m,d,""+g,v);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ul:return g.key===j?s(m,d,g,v):null;case Ni:return g.key===j?c(m,d,g,v):null;case hn:return g=Qn(g),u(m,d,g,v)}if(Ei(g)||gi(g))return j!==null?null:f(m,d,g,v,null);if(typeof g.then=="function")return u(m,d,Xl(g),v);if(g.$$typeof===Kt)return u(m,d,Gl(m,g),v);Ql(m,g)}return null}function h(m,d,g,v,j){if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return m=m.get(g)||null,r(d,m,""+v,j);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Ul:return m=m.get(v.key===null?g:v.key)||null,s(d,m,v,j);case Ni:return m=m.get(v.key===null?g:v.key)||null,c(d,m,v,j);case hn:return v=Qn(v),h(m,d,g,v,j)}if(Ei(v)||gi(v))return m=m.get(g)||null,f(d,m,v,j,null);if(typeof v.then=="function")return h(m,d,g,Xl(v),j);if(v.$$typeof===Kt)return h(m,d,g,Gl(d,v),j);Ql(d,v)}return null}function y(m,d,g,v){for(var j=null,V=null,T=d,B=d=0,G=null;T!==null&&B<g.length;B++){T.index>B?(G=T,T=null):G=T.sibling;var I=u(m,T,g[B],v);if(I===null){T===null&&(T=G);break}e&&T&&I.alternate===null&&t(m,T),d=l(I,d,B),V===null?j=I:V.sibling=I,V=I,T=G}if(B===g.length)return n(m,T),W&&Qt(m,B),j;if(T===null){for(;B<g.length;B++)T=p(m,g[B],v),T!==null&&(d=l(T,d,B),V===null?j=T:V.sibling=T,V=T);return W&&Qt(m,B),j}for(T=a(T);B<g.length;B++)G=h(T,m,B,g[B],v),G!==null&&(e&&G.alternate!==null&&T.delete(G.key===null?B:G.key),d=l(G,d,B),V===null?j=G:V.sibling=G,V=G);return e&&T.forEach(function(zt){return t(m,zt)}),W&&Qt(m,B),j}function N(m,d,g,v){if(g==null)throw Error(b(151));for(var j=null,V=null,T=d,B=d=0,G=null,I=g.next();T!==null&&!I.done;B++,I=g.next()){T.index>B?(G=T,T=null):G=T.sibling;var zt=u(m,T,I.value,v);if(zt===null){T===null&&(T=G);break}e&&T&&zt.alternate===null&&t(m,T),d=l(zt,d,B),V===null?j=zt:V.sibling=zt,V=zt,T=G}if(I.done)return n(m,T),W&&Qt(m,B),j;if(T===null){for(;!I.done;B++,I=g.next())I=p(m,I.value,v),I!==null&&(d=l(I,d,B),V===null?j=I:V.sibling=I,V=I);return W&&Qt(m,B),j}for(T=a(T);!I.done;B++,I=g.next())I=h(T,m,B,I.value,v),I!==null&&(e&&I.alternate!==null&&T.delete(I.key===null?B:I.key),d=l(I,d,B),V===null?j=I:V.sibling=I,V=I);return e&&T.forEach(function(J){return t(m,J)}),W&&Qt(m,B),j}function k(m,d,g,v){if(typeof g=="object"&&g!==null&&g.type===xa&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Ul:e:{for(var j=g.key;d!==null;){if(d.key===j){if(j=g.type,j===xa){if(d.tag===7){n(m,d.sibling),v=i(d,g.props.children),v.return=m,m=v;break e}}else if(d.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===hn&&Qn(j)===d.type){n(m,d.sibling),v=i(d,g.props),bi(v,g),v.return=m,m=v;break e}n(m,d);break}else t(m,d);d=d.sibling}g.type===xa?(v=Jn(g.props.children,m.mode,v,g.key),v.return=m,m=v):(v=io(g.type,g.key,g.props,null,m.mode,v),bi(v,g),v.return=m,m=v)}return o(m);case Ni:e:{for(j=g.key;d!==null;){if(d.key===j)if(d.tag===4&&d.stateNode.containerInfo===g.containerInfo&&d.stateNode.implementation===g.implementation){n(m,d.sibling),v=i(d,g.children||[]),v.return=m,m=v;break e}else{n(m,d);break}else t(m,d);d=d.sibling}v=ls(g,m.mode,v),v.return=m,m=v}return o(m);case hn:return g=Qn(g),k(m,d,g,v)}if(Ei(g))return y(m,d,g,v);if(gi(g)){if(j=gi(g),typeof j!="function")throw Error(b(150));return g=j.call(g),N(m,d,g,v)}if(typeof g.then=="function")return k(m,d,Xl(g),v);if(g.$$typeof===Kt)return k(m,d,Gl(m,g),v);Ql(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,d!==null&&d.tag===6?(n(m,d.sibling),v=i(d,g),v.return=m,m=v):(n(m,d),v=is(g,m.mode,v),v.return=m,m=v),o(m)):n(m,d)}return function(m,d,g,v){try{Zi=0;var j=k(m,d,g,v);return ka=null,j}catch(T){if(T===ei||T===Wo)throw T;var V=lt(29,T,null,m.mode);return V.lanes=v,V.return=m,V}finally{}}}var ta=cm(!0),um=cm(!1),mn=!1;function qc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ks(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Tn(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function On(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(te&2)!==0){var i=a.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),a.pending=t,t=So(e),tm(e,null,n),t}return Fo(e,a,t,n),So(e)}function _i(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ah(e,n)}}function rs(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var i=null,l=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};l===null?i=l=o:l=l.next=o,n=n.next}while(n!==null);l===null?i=l=t:l=l.next=t}else i=l=t;n={baseState:a.baseState,firstBaseUpdate:i,lastBaseUpdate:l,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Js=!1;function Ri(){if(Js){var e=Ua;if(e!==null)throw e}}function Ci(e,t,n,a){Js=!1;var i=e.updateQueue;mn=!1;var l=i.firstBaseUpdate,o=i.lastBaseUpdate,r=i.shared.pending;if(r!==null){i.shared.pending=null;var s=r,c=s.next;s.next=null,o===null?l=c:o.next=c,o=s;var f=e.alternate;f!==null&&(f=f.updateQueue,r=f.lastBaseUpdate,r!==o&&(r===null?f.firstBaseUpdate=c:r.next=c,f.lastBaseUpdate=s))}if(l!==null){var p=i.baseState;o=0,f=c=s=null,r=l;do{var u=r.lane&-536870913,h=u!==r.lane;if(h?(F&u)===u:(a&u)===u){u!==0&&u===Va&&(Js=!0),f!==null&&(f=f.next={lane:0,tag:r.tag,payload:r.payload,callback:null,next:null});e:{var y=e,N=r;u=t;var k=n;switch(N.tag){case 1:if(y=N.payload,typeof y=="function"){p=y.call(k,p,u);break e}p=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=N.payload,u=typeof y=="function"?y.call(k,p,u):y,u==null)break e;p=ve({},p,u);break e;case 2:mn=!0}}u=r.callback,u!==null&&(e.flags|=64,h&&(e.flags|=8192),h=i.callbacks,h===null?i.callbacks=[u]:h.push(u))}else h={lane:u,tag:r.tag,payload:r.payload,callback:r.callback,next:null},f===null?(c=f=h,s=p):f=f.next=h,o|=u;if(r=r.next,r===null){if(r=i.shared.pending,r===null)break;h=r,r=h.next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}while(!0);f===null&&(s=p),i.baseState=s,i.firstBaseUpdate=c,i.lastBaseUpdate=f,l===null&&(i.shared.lanes=0),Un|=o,e.lanes=o,e.memoizedState=p}}function dm(e,t){if(typeof e!="function")throw Error(b(191,e));e.call(t)}function fm(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)dm(n[e],t)}var Ga=kt(null),To=kt(0);function xf(e,t){e=ln,de(To,e),de(Ga,t),ln=e|t.baseLanes}function Fs(){de(To,ln),de(Ga,Ga.current)}function Yc(){ln=To.current,Ue(Ga),Ue(To)}var ft=kt(null),xt=null;function gn(e){var t=e.alternate;de(Ee,Ee.current&1),de(ft,e),xt===null&&(t===null||Ga.current!==null||t.memoizedState!==null)&&(xt=e)}function Ws(e){de(Ee,Ee.current),de(ft,e),xt===null&&(xt=e)}function hm(e){e.tag===22?(de(Ee,Ee.current),de(ft,e),xt===null&&(xt=e)):vn(e)}function vn(){de(Ee,Ee.current),de(ft,ft.current)}function it(e){Ue(ft),xt===e&&(xt=null),Ue(Ee)}var Ee=kt(0);function Oo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||gc(n)||vc(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var tn=0,Y=null,re=null,Te=null,Ao=!1,Ba=!1,na=!1,$o=0,Ki=0,Ha=null,Sy=0;function Se(){throw Error(b(321))}function Vc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!dt(e[n],t[n]))return!1;return!0}function Gc(e,t,n,a,i,l){return tn=l,Y=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,M.H=e===null||e.memoizedState===null?Gm:tu,na=!1,l=n(a,i),na=!1,Ba&&(l=pm(t,n,a,i)),mm(e),l}function mm(e){M.H=Ji;var t=re!==null&&re.next!==null;if(tn=0,Te=re=Y=null,Ao=!1,Ki=0,Ha=null,t)throw Error(b(300));e===null||$e||(e=e.dependencies,e!==null&&Eo(e)&&($e=!0))}function pm(e,t,n,a){Y=e;var i=0;do{if(Ba&&(Ha=null),Ki=0,Ba=!1,25<=i)throw Error(b(301));if(i+=1,Te=re=null,e.updateQueue!=null){var l=e.updateQueue;l.lastEffect=null,l.events=null,l.stores=null,l.memoCache!=null&&(l.memoCache.index=0)}M.H=Xm,l=t(n,a)}while(Ba);return l}function Ny(){var e=M.H,t=e.useState()[0];return t=typeof t.then=="function"?sl(t):t,e=e.useState()[0],(re!==null?re.memoizedState:null)!==e&&(Y.flags|=1024),t}function Xc(){var e=$o!==0;return $o=0,e}function Qc(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Zc(e){if(Ao){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Ao=!1}tn=0,Te=re=Y=null,Ba=!1,Ki=$o=0,Ha=null}function Je(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Te===null?Y.memoizedState=Te=e:Te=Te.next=e,Te}function je(){if(re===null){var e=Y.alternate;e=e!==null?e.memoizedState:null}else e=re.next;var t=Te===null?Y.memoizedState:Te.next;if(t!==null)Te=t,re=e;else{if(e===null)throw Y.alternate===null?Error(b(467)):Error(b(310));re=e,e={memoizedState:re.memoizedState,baseState:re.baseState,baseQueue:re.baseQueue,queue:re.queue,next:null},Te===null?Y.memoizedState=Te=e:Te=Te.next=e}return Te}function Io(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function sl(e){var t=Ki;return Ki+=1,Ha===null&&(Ha=[]),e=sm(Ha,e,t),t=Y,(Te===null?t.memoizedState:Te.next)===null&&(t=t.alternate,M.H=t===null||t.memoizedState===null?Gm:tu),e}function Po(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return sl(e);if(e.$$typeof===Kt)return qe(e)}throw Error(b(438,String(e)))}function Kc(e){var t=null,n=Y.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=Y.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(i){return i.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Io(),Y.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=sb;return t.index++,n}function nn(e,t){return typeof t=="function"?t(e):t}function oo(e){var t=je();return Jc(t,re,e)}function Jc(e,t,n){var a=e.queue;if(a===null)throw Error(b(311));a.lastRenderedReducer=n;var i=e.baseQueue,l=a.pending;if(l!==null){if(i!==null){var o=i.next;i.next=l.next,l.next=o}t.baseQueue=i=l,a.pending=null}if(l=e.baseState,i===null)e.memoizedState=l;else{t=i.next;var r=o=null,s=null,c=t,f=!1;do{var p=c.lane&-536870913;if(p!==c.lane?(F&p)===p:(tn&p)===p){var u=c.revertLane;if(u===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),p===Va&&(f=!0);else if((tn&u)===u){c=c.next,u===Va&&(f=!0);continue}else p={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},s===null?(r=s=p,o=l):s=s.next=p,Y.lanes|=u,Un|=u;p=c.action,na&&n(l,p),l=c.hasEagerState?c.eagerState:n(l,p)}else u={lane:p,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},s===null?(r=s=u,o=l):s=s.next=u,Y.lanes|=p,Un|=p;c=c.next}while(c!==null&&c!==t);if(s===null?o=l:s.next=r,!dt(l,e.memoizedState)&&($e=!0,f&&(n=Ua,n!==null)))throw n;e.memoizedState=l,e.baseState=o,e.baseQueue=s,a.lastRenderedState=l}return i===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function ss(e){var t=je(),n=t.queue;if(n===null)throw Error(b(311));n.lastRenderedReducer=e;var a=n.dispatch,i=n.pending,l=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do l=e(l,o.action),o=o.next;while(o!==i);dt(l,t.memoizedState)||($e=!0),t.memoizedState=l,t.baseQueue===null&&(t.baseState=l),n.lastRenderedState=l}return[l,a]}function gm(e,t,n){var a=Y,i=je(),l=W;if(l){if(n===void 0)throw Error(b(407));n=n()}else n=t();var o=!dt((re||i).memoizedState,n);if(o&&(i.memoizedState=n,$e=!0),i=i.queue,Fc(ym.bind(null,a,i,e),[e]),i.getSnapshot!==t||o||Te!==null&&Te.memoizedState.tag&1){if(a.flags|=2048,Xa(9,{destroy:void 0},bm.bind(null,a,i,n,t),null),se===null)throw Error(b(349));l||(tn&127)!==0||vm(a,t,n)}return n}function vm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Y.updateQueue,t===null?(t=Io(),Y.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function bm(e,t,n,a){t.value=n,t.getSnapshot=a,wm(t)&&xm(e)}function ym(e,t,n){return n(function(){wm(t)&&xm(e)})}function wm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!dt(e,n)}catch{return!0}}function xm(e){var t=ra(e,2);t!==null&&et(t,e,2)}function Is(e){var t=Je();if(typeof e=="function"){var n=e;if(e=n(),na){yn(!0);try{n()}finally{yn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:nn,lastRenderedState:e},t}function Sm(e,t,n,a){return e.baseState=n,Jc(e,re,typeof a=="function"?a:nn)}function Ey(e,t,n,a,i){if(tr(e))throw Error(b(485));if(e=t.action,e!==null){var l={payload:i,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(o){l.listeners.push(o)}};M.T!==null?n(!0):l.isTransition=!1,a(l),n=t.pending,n===null?(l.next=t.pending=l,Nm(t,l)):(l.next=n.next,t.pending=n.next=l)}}function Nm(e,t){var n=t.action,a=t.payload,i=e.state;if(t.isTransition){var l=M.T,o={};M.T=o;try{var r=n(i,a),s=M.S;s!==null&&s(o,r),Sf(e,t,r)}catch(c){Ps(e,t,c)}finally{l!==null&&o.types!==null&&(l.types=o.types),M.T=l}}else try{l=n(i,a),Sf(e,t,l)}catch(c){Ps(e,t,c)}}function Sf(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){Nf(e,t,a)},function(a){return Ps(e,t,a)}):Nf(e,t,n)}function Nf(e,t,n){t.status="fulfilled",t.value=n,Em(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Nm(e,n)))}function Ps(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,Em(t),t=t.next;while(t!==a)}e.action=null}function Em(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function jm(e,t){return t}function Ef(e,t){if(W){var n=se.formState;if(n!==null){e:{var a=Y;if(W){if(ge){t:{for(var i=ge,l=wt;i.nodeType!==8;){if(!l){i=null;break t}if(i=St(i.nextSibling),i===null){i=null;break t}}l=i.data,i=l==="F!"||l==="F"?i:null}if(i){ge=St(i.nextSibling),a=i.data==="F!";break e}}Cn(a)}a=!1}a&&(t=n[0])}}return n=Je(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jm,lastRenderedState:t},n.queue=a,n=qm.bind(null,Y,a),a.dispatch=n,a=Is(!1),l=eu.bind(null,Y,!1,a.queue),a=Je(),i={state:t,dispatch:null,action:e,pending:null},a.queue=i,n=Ey.bind(null,Y,i,l,n),i.dispatch=n,a.memoizedState=e,[t,n,!1]}function jf(e){var t=je();return Tm(t,re,e)}function Tm(e,t,n){if(t=Jc(e,t,jm)[0],e=oo(nn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=sl(t)}catch(o){throw o===ei?Wo:o}else a=t;t=je();var i=t.queue,l=i.dispatch;return n!==t.memoizedState&&(Y.flags|=2048,Xa(9,{destroy:void 0},jy.bind(null,i,n),null)),[a,l,e]}function jy(e,t){e.action=t}function Tf(e){var t=je(),n=re;if(n!==null)return Tm(t,n,e);je(),t=t.memoizedState,n=je();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function Xa(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=Y.updateQueue,t===null&&(t=Io(),Y.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Om(){return je().memoizedState}function ro(e,t,n,a){var i=Je();Y.flags|=e,i.memoizedState=Xa(1|t,{destroy:void 0},n,a===void 0?null:a)}function er(e,t,n,a){var i=je();a=a===void 0?null:a;var l=i.memoizedState.inst;re!==null&&a!==null&&Vc(a,re.memoizedState.deps)?i.memoizedState=Xa(t,l,n,a):(Y.flags|=e,i.memoizedState=Xa(1|t,l,n,a))}function Of(e,t){ro(8390656,8,e,t)}function Fc(e,t){er(2048,8,e,t)}function Ty(e){Y.flags|=4;var t=Y.updateQueue;if(t===null)t=Io(),Y.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Am(e){var t=je().memoizedState;return Ty({ref:t,nextImpl:e}),function(){if((te&2)!==0)throw Error(b(440));return t.impl.apply(void 0,arguments)}}function $m(e,t){return er(4,2,e,t)}function zm(e,t){return er(4,4,e,t)}function Mm(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function _m(e,t,n){n=n!=null?n.concat([e]):null,er(4,4,Mm.bind(null,t,e),n)}function Wc(){}function Rm(e,t){var n=je();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&Vc(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Cm(e,t){var n=je();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&Vc(t,a[1]))return a[0];if(a=e(),na){yn(!0);try{e()}finally{yn(!1)}}return n.memoizedState=[a,t],a}function Ic(e,t,n){return n===void 0||(tn&1073741824)!==0&&(F&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=Sp(),Y.lanes|=e,Un|=e,n)}function Dm(e,t,n,a){return dt(n,t)?n:Ga.current!==null?(e=Ic(e,n,a),dt(e,t)||($e=!0),e):(tn&42)===0||(tn&1073741824)!==0&&(F&261930)===0?($e=!0,e.memoizedState=n):(e=Sp(),Y.lanes|=e,Un|=e,t)}function Um(e,t,n,a,i){var l=ne.p;ne.p=l!==0&&8>l?l:8;var o=M.T,r={};M.T=r,eu(e,!1,t,n);try{var s=i(),c=M.S;if(c!==null&&c(r,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var f=xy(s,a);Di(e,t,f,ut(e))}else Di(e,t,a,ut(e))}catch(p){Di(e,t,{then:function(){},status:"rejected",reason:p},ut())}finally{ne.p=l,o!==null&&r.types!==null&&(o.types=r.types),M.T=o}}function Oy(){}function ec(e,t,n,a){if(e.tag!==5)throw Error(b(476));var i=km(e).queue;Um(e,i,t,Kn,n===null?Oy:function(){return Bm(e),n(a)})}function km(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Kn,baseState:Kn,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nn,lastRenderedState:Kn},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:nn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Bm(e){var t=km(e);t.next===null&&(t=e.alternate.memoizedState),Di(e,t.next.queue,{},ut())}function Pc(){return qe(Ii)}function Hm(){return je().memoizedState}function Lm(){return je().memoizedState}function Ay(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=ut();e=Tn(n);var a=On(t,e,n);a!==null&&(et(a,t,n),_i(a,t,n)),t={cache:Bc()},e.payload=t;return}t=t.return}}function $y(e,t,n){var a=ut();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},tr(e)?Ym(t,n):(n=Cc(e,t,n,a),n!==null&&(et(n,e,a),Vm(n,t,a)))}function qm(e,t,n){var a=ut();Di(e,t,n,a)}function Di(e,t,n,a){var i={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(tr(e))Ym(t,i);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var o=t.lastRenderedState,r=l(o,n);if(i.hasEagerState=!0,i.eagerState=r,dt(r,o))return Fo(e,t,i,0),se===null&&Jo(),!1}catch{}finally{}if(n=Cc(e,t,i,a),n!==null)return et(n,e,a),Vm(n,t,a),!0}return!1}function eu(e,t,n,a){if(a={lane:2,revertLane:cu(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},tr(e)){if(t)throw Error(b(479))}else t=Cc(e,n,a,2),t!==null&&et(t,e,2)}function tr(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function Ym(e,t){Ba=Ao=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Vm(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ah(e,n)}}var Ji={readContext:qe,use:Po,useCallback:Se,useContext:Se,useEffect:Se,useImperativeHandle:Se,useLayoutEffect:Se,useInsertionEffect:Se,useMemo:Se,useReducer:Se,useRef:Se,useState:Se,useDebugValue:Se,useDeferredValue:Se,useTransition:Se,useSyncExternalStore:Se,useId:Se,useHostTransitionStatus:Se,useFormState:Se,useActionState:Se,useOptimistic:Se,useMemoCache:Se,useCacheRefresh:Se};Ji.useEffectEvent=Se;var Gm={readContext:qe,use:Po,useCallback:function(e,t){return Je().memoizedState=[e,t===void 0?null:t],e},useContext:qe,useEffect:Of,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,ro(4194308,4,Mm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ro(4194308,4,e,t)},useInsertionEffect:function(e,t){ro(4,2,e,t)},useMemo:function(e,t){var n=Je();t=t===void 0?null:t;var a=e();if(na){yn(!0);try{e()}finally{yn(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=Je();if(n!==void 0){var i=n(t);if(na){yn(!0);try{n(t)}finally{yn(!1)}}}else i=t;return a.memoizedState=a.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},a.queue=e,e=e.dispatch=$y.bind(null,Y,e),[a.memoizedState,e]},useRef:function(e){var t=Je();return e={current:e},t.memoizedState=e},useState:function(e){e=Is(e);var t=e.queue,n=qm.bind(null,Y,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Wc,useDeferredValue:function(e,t){var n=Je();return Ic(n,e,t)},useTransition:function(){var e=Is(!1);return e=Um.bind(null,Y,e.queue,!0,!1),Je().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=Y,i=Je();if(W){if(n===void 0)throw Error(b(407));n=n()}else{if(n=t(),se===null)throw Error(b(349));(F&127)!==0||vm(a,t,n)}i.memoizedState=n;var l={value:n,getSnapshot:t};return i.queue=l,Of(ym.bind(null,a,l,e),[e]),a.flags|=2048,Xa(9,{destroy:void 0},bm.bind(null,a,l,n,t),null),n},useId:function(){var e=Je(),t=se.identifierPrefix;if(W){var n=Ct,a=Rt;n=(a&~(1<<32-ct(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=$o++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=Sy++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Pc,useFormState:Ef,useActionState:Ef,useOptimistic:function(e){var t=Je();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=eu.bind(null,Y,!0,n),n.dispatch=t,[e,t]},useMemoCache:Kc,useCacheRefresh:function(){return Je().memoizedState=Ay.bind(null,Y)},useEffectEvent:function(e){var t=Je(),n={impl:e};return t.memoizedState=n,function(){if((te&2)!==0)throw Error(b(440));return n.impl.apply(void 0,arguments)}}},tu={readContext:qe,use:Po,useCallback:Rm,useContext:qe,useEffect:Fc,useImperativeHandle:_m,useInsertionEffect:$m,useLayoutEffect:zm,useMemo:Cm,useReducer:oo,useRef:Om,useState:function(){return oo(nn)},useDebugValue:Wc,useDeferredValue:function(e,t){var n=je();return Dm(n,re.memoizedState,e,t)},useTransition:function(){var e=oo(nn)[0],t=je().memoizedState;return[typeof e=="boolean"?e:sl(e),t]},useSyncExternalStore:gm,useId:Hm,useHostTransitionStatus:Pc,useFormState:jf,useActionState:jf,useOptimistic:function(e,t){var n=je();return Sm(n,re,e,t)},useMemoCache:Kc,useCacheRefresh:Lm};tu.useEffectEvent=Am;var Xm={readContext:qe,use:Po,useCallback:Rm,useContext:qe,useEffect:Fc,useImperativeHandle:_m,useInsertionEffect:$m,useLayoutEffect:zm,useMemo:Cm,useReducer:ss,useRef:Om,useState:function(){return ss(nn)},useDebugValue:Wc,useDeferredValue:function(e,t){var n=je();return re===null?Ic(n,e,t):Dm(n,re.memoizedState,e,t)},useTransition:function(){var e=ss(nn)[0],t=je().memoizedState;return[typeof e=="boolean"?e:sl(e),t]},useSyncExternalStore:gm,useId:Hm,useHostTransitionStatus:Pc,useFormState:Tf,useActionState:Tf,useOptimistic:function(e,t){var n=je();return re!==null?Sm(n,re,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Kc,useCacheRefresh:Lm};Xm.useEffectEvent=Am;function cs(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:ve({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var tc={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=ut(),i=Tn(a);i.payload=t,n!=null&&(i.callback=n),t=On(e,i,a),t!==null&&(et(t,e,a),_i(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=ut(),i=Tn(a);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=On(e,i,a),t!==null&&(et(t,e,a),_i(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ut(),a=Tn(n);a.tag=2,t!=null&&(a.callback=t),t=On(e,a,n),t!==null&&(et(t,e,n),_i(t,e,n))}};function Af(e,t,n,a,i,l,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,l,o):t.prototype&&t.prototype.isPureReactComponent?!Gi(n,a)||!Gi(i,l):!0}function $f(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&tc.enqueueReplaceState(t,t.state,null)}function aa(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=ve({},n));for(var i in e)n[i]===void 0&&(n[i]=e[i])}return n}function Qm(e){xo(e)}function Zm(e){console.error(e)}function Km(e){xo(e)}function zo(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function zf(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(i){setTimeout(function(){throw i})}}function nc(e,t,n){return n=Tn(n),n.tag=3,n.payload={element:null},n.callback=function(){zo(e,t)},n}function Jm(e){return e=Tn(e),e.tag=3,e}function Fm(e,t,n,a){var i=n.type.getDerivedStateFromError;if(typeof i=="function"){var l=a.value;e.payload=function(){return i(l)},e.callback=function(){zf(t,n,a)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch=="function"&&(e.callback=function(){zf(t,n,a),typeof i!="function"&&(An===null?An=new Set([this]):An.add(this));var r=a.stack;this.componentDidCatch(a.value,{componentStack:r!==null?r:""})})}function zy(e,t,n,a,i){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Pa(t,n,i,!0),n=ft.current,n!==null){switch(n.tag){case 31:case 13:return xt===null?Do():n.alternate===null&&Ne===0&&(Ne=3),n.flags&=-257,n.flags|=65536,n.lanes=i,a===jo?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),ws(e,a,i)),!1;case 22:return n.flags|=65536,a===jo?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),ws(e,a,i)),!1}throw Error(b(435,n.tag))}return ws(e,a,i),Do(),!1}if(W)return t=ft.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=i,a!==Vs&&(e=Error(b(422),{cause:a}),Qi(yt(e,n)))):(a!==Vs&&(t=Error(b(423),{cause:a}),Qi(yt(t,n))),e=e.current.alternate,e.flags|=65536,i&=-i,e.lanes|=i,a=yt(a,n),i=nc(e.stateNode,a,i),rs(e,i),Ne!==4&&(Ne=2)),!1;var l=Error(b(520),{cause:a});if(l=yt(l,n),Bi===null?Bi=[l]:Bi.push(l),Ne!==4&&(Ne=2),t===null)return!0;a=yt(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=i&-i,n.lanes|=e,e=nc(n.stateNode,a,e),rs(n,e),!1;case 1:if(t=n.type,l=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||l!==null&&typeof l.componentDidCatch=="function"&&(An===null||!An.has(l))))return n.flags|=65536,i&=-i,n.lanes|=i,i=Jm(i),Fm(i,e,n,a),rs(n,i),!1}n=n.return}while(n!==null);return!1}var nu=Error(b(461)),$e=!1;function Be(e,t,n,a){t.child=e===null?um(t,null,n,a):ta(t,e.child,n,a)}function Mf(e,t,n,a,i){n=n.render;var l=t.ref;if("ref"in a){var o={};for(var r in a)r!=="ref"&&(o[r]=a[r])}else o=a;return ea(t),a=Gc(e,t,n,o,l,i),r=Xc(),e!==null&&!$e?(Qc(e,t,i),an(e,t,i)):(W&&r&&Uc(t),t.flags|=1,Be(e,t,a,i),t.child)}function _f(e,t,n,a,i){if(e===null){var l=n.type;return typeof l=="function"&&!Dc(l)&&l.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=l,Wm(e,t,l,a,i)):(e=io(n.type,null,a,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!au(e,i)){var o=l.memoizedProps;if(n=n.compare,n=n!==null?n:Gi,n(o,a)&&e.ref===t.ref)return an(e,t,i)}return t.flags|=1,e=Wt(l,a),e.ref=t.ref,e.return=t,t.child=e}function Wm(e,t,n,a,i){if(e!==null){var l=e.memoizedProps;if(Gi(l,a)&&e.ref===t.ref)if($e=!1,t.pendingProps=a=l,au(e,i))(e.flags&131072)!==0&&($e=!0);else return t.lanes=e.lanes,an(e,t,i)}return ac(e,t,n,a,i)}function Im(e,t,n,a){var i=a.children,l=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(l=l!==null?l.baseLanes|n:n,e!==null){for(a=t.child=e.child,i=0;a!==null;)i=i|a.lanes|a.childLanes,a=a.sibling;a=i&~l}else a=0,t.child=null;return Rf(e,t,l,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&lo(t,l!==null?l.cachePool:null),l!==null?xf(t,l):Fs(),hm(t);else return a=t.lanes=536870912,Rf(e,t,l!==null?l.baseLanes|n:n,n,a)}else l!==null?(lo(t,l.cachePool),xf(t,l),vn(t),t.memoizedState=null):(e!==null&&lo(t,null),Fs(),vn(t));return Be(e,t,i,n),t.child}function Ti(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Rf(e,t,n,a,i){var l=Hc();return l=l===null?null:{parent:Ae._currentValue,pool:l},t.memoizedState={baseLanes:n,cachePool:l},e!==null&&lo(t,null),Fs(),hm(t),e!==null&&Pa(e,t,a,!0),t.childLanes=i,null}function so(e,t){return t=Mo({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Cf(e,t,n){return ta(t,e.child,null,n),e=so(t,t.pendingProps),e.flags|=2,it(t),t.memoizedState=null,e}function My(e,t,n){var a=t.pendingProps,i=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(W){if(a.mode==="hidden")return e=so(t,a),t.lanes=536870912,Ti(null,e);if(Ws(t),(e=ge)?(e=Gp(e,wt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Rn!==null?{id:Rt,overflow:Ct}:null,retryLane:536870912,hydrationErrors:null},n=am(e),n.return=t,t.child=n,Le=t,ge=null)):e=null,e===null)throw Cn(t);return t.lanes=536870912,null}return so(t,a)}var l=e.memoizedState;if(l!==null){var o=l.dehydrated;if(Ws(t),i)if(t.flags&256)t.flags&=-257,t=Cf(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(b(558));else if($e||Pa(e,t,n,!1),i=(n&e.childLanes)!==0,$e||i){if(a=se,a!==null&&(o=$h(a,n),o!==0&&o!==l.retryLane))throw l.retryLane=o,ra(e,o),et(a,e,o),nu;Do(),t=Cf(e,t,n)}else e=l.treeContext,ge=St(o.nextSibling),Le=t,W=!0,jn=null,wt=!1,e!==null&&lm(t,e),t=so(t,a),t.flags|=4096;return t}return e=Wt(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function co(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(b(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function ac(e,t,n,a,i){return ea(t),n=Gc(e,t,n,a,void 0,i),a=Xc(),e!==null&&!$e?(Qc(e,t,i),an(e,t,i)):(W&&a&&Uc(t),t.flags|=1,Be(e,t,n,i),t.child)}function Df(e,t,n,a,i,l){return ea(t),t.updateQueue=null,n=pm(t,a,n,i),mm(e),a=Xc(),e!==null&&!$e?(Qc(e,t,l),an(e,t,l)):(W&&a&&Uc(t),t.flags|=1,Be(e,t,n,l),t.child)}function Uf(e,t,n,a,i){if(ea(t),t.stateNode===null){var l=$a,o=n.contextType;typeof o=="object"&&o!==null&&(l=qe(o)),l=new n(a,l),t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=tc,t.stateNode=l,l._reactInternals=t,l=t.stateNode,l.props=a,l.state=t.memoizedState,l.refs={},qc(t),o=n.contextType,l.context=typeof o=="object"&&o!==null?qe(o):$a,l.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o=="function"&&(cs(t,n,o,a),l.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(o=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),o!==l.state&&tc.enqueueReplaceState(l,l.state,null),Ci(t,a,l,i),Ri(),l.state=t.memoizedState),typeof l.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){l=t.stateNode;var r=t.memoizedProps,s=aa(n,r);l.props=s;var c=l.context,f=n.contextType;o=$a,typeof f=="object"&&f!==null&&(o=qe(f));var p=n.getDerivedStateFromProps;f=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function",r=t.pendingProps!==r,f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(r||c!==o)&&$f(t,l,a,o),mn=!1;var u=t.memoizedState;l.state=u,Ci(t,a,l,i),Ri(),c=t.memoizedState,r||u!==c||mn?(typeof p=="function"&&(cs(t,n,p,a),c=t.memoizedState),(s=mn||Af(t,n,s,a,u,c,o))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=c),l.props=a,l.state=c,l.context=o,a=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{l=t.stateNode,Ks(e,t),o=t.memoizedProps,f=aa(n,o),l.props=f,p=t.pendingProps,u=l.context,c=n.contextType,s=$a,typeof c=="object"&&c!==null&&(s=qe(c)),r=n.getDerivedStateFromProps,(c=typeof r=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(o!==p||u!==s)&&$f(t,l,a,s),mn=!1,u=t.memoizedState,l.state=u,Ci(t,a,l,i),Ri();var h=t.memoizedState;o!==p||u!==h||mn||e!==null&&e.dependencies!==null&&Eo(e.dependencies)?(typeof r=="function"&&(cs(t,n,r,a),h=t.memoizedState),(f=mn||Af(t,n,f,a,u,h,s)||e!==null&&e.dependencies!==null&&Eo(e.dependencies))?(c||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(a,h,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(a,h,s)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||o===e.memoizedProps&&u===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&u===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=h),l.props=a,l.state=h,l.context=s,a=f):(typeof l.componentDidUpdate!="function"||o===e.memoizedProps&&u===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&u===e.memoizedState||(t.flags|=1024),a=!1)}return l=a,co(e,t),a=(t.flags&128)!==0,l||a?(l=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:l.render(),t.flags|=1,e!==null&&a?(t.child=ta(t,e.child,null,i),t.child=ta(t,null,n,i)):Be(e,t,n,i),t.memoizedState=l.state,e=t.child):e=an(e,t,i),e}function kf(e,t,n,a){return Pn(),t.flags|=256,Be(e,t,n,a),t.child}var us={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ds(e){return{baseLanes:e,cachePool:rm()}}function fs(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=ot),e}function Pm(e,t,n){var a=t.pendingProps,i=!1,l=(t.flags&128)!==0,o;if((o=l)||(o=e!==null&&e.memoizedState===null?!1:(Ee.current&2)!==0),o&&(i=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(W){if(i?gn(t):vn(t),(e=ge)?(e=Gp(e,wt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Rn!==null?{id:Rt,overflow:Ct}:null,retryLane:536870912,hydrationErrors:null},n=am(e),n.return=t,t.child=n,Le=t,ge=null)):e=null,e===null)throw Cn(t);return vc(e)?t.lanes=32:t.lanes=536870912,null}var r=a.children;return a=a.fallback,i?(vn(t),i=t.mode,r=Mo({mode:"hidden",children:r},i),a=Jn(a,i,n,null),r.return=t,a.return=t,r.sibling=a,t.child=r,a=t.child,a.memoizedState=ds(n),a.childLanes=fs(e,o,n),t.memoizedState=us,Ti(null,a)):(gn(t),ic(t,r))}var s=e.memoizedState;if(s!==null&&(r=s.dehydrated,r!==null)){if(l)t.flags&256?(gn(t),t.flags&=-257,t=hs(e,t,n)):t.memoizedState!==null?(vn(t),t.child=e.child,t.flags|=128,t=null):(vn(t),r=a.fallback,i=t.mode,a=Mo({mode:"visible",children:a.children},i),r=Jn(r,i,n,null),r.flags|=2,a.return=t,r.return=t,a.sibling=r,t.child=a,ta(t,e.child,null,n),a=t.child,a.memoizedState=ds(n),a.childLanes=fs(e,o,n),t.memoizedState=us,t=Ti(null,a));else if(gn(t),vc(r)){if(o=r.nextSibling&&r.nextSibling.dataset,o)var c=o.dgst;o=c,a=Error(b(419)),a.stack="",a.digest=o,Qi({value:a,source:null,stack:null}),t=hs(e,t,n)}else if($e||Pa(e,t,n,!1),o=(n&e.childLanes)!==0,$e||o){if(o=se,o!==null&&(a=$h(o,n),a!==0&&a!==s.retryLane))throw s.retryLane=a,ra(e,a),et(o,e,a),nu;gc(r)||Do(),t=hs(e,t,n)}else gc(r)?(t.flags|=192,t.child=e.child,t=null):(e=s.treeContext,ge=St(r.nextSibling),Le=t,W=!0,jn=null,wt=!1,e!==null&&lm(t,e),t=ic(t,a.children),t.flags|=4096);return t}return i?(vn(t),r=a.fallback,i=t.mode,s=e.child,c=s.sibling,a=Wt(s,{mode:"hidden",children:a.children}),a.subtreeFlags=s.subtreeFlags&65011712,c!==null?r=Wt(c,r):(r=Jn(r,i,n,null),r.flags|=2),r.return=t,a.return=t,a.sibling=r,t.child=a,Ti(null,a),a=t.child,r=e.child.memoizedState,r===null?r=ds(n):(i=r.cachePool,i!==null?(s=Ae._currentValue,i=i.parent!==s?{parent:s,pool:s}:i):i=rm(),r={baseLanes:r.baseLanes|n,cachePool:i}),a.memoizedState=r,a.childLanes=fs(e,o,n),t.memoizedState=us,Ti(e.child,a)):(gn(t),n=e.child,e=n.sibling,n=Wt(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function ic(e,t){return t=Mo({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Mo(e,t){return e=lt(22,e,null,t),e.lanes=0,e}function hs(e,t,n){return ta(t,e.child,null,n),e=ic(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Bf(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Xs(e.return,t,n)}function ms(e,t,n,a,i,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:i,treeForkCount:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=n,o.tailMode=i,o.treeForkCount=l)}function ep(e,t,n){var a=t.pendingProps,i=a.revealOrder,l=a.tail;a=a.children;var o=Ee.current,r=(o&2)!==0;if(r?(o=o&1|2,t.flags|=128):o&=1,de(Ee,o),Be(e,t,a,n),a=W?Xi:0,!r&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Bf(e,n,t);else if(e.tag===19)Bf(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Oo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),ms(t,!1,i,n,l,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Oo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}ms(t,!0,n,null,l,a);break;case"together":ms(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function an(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Un|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Pa(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(b(153));if(t.child!==null){for(e=t.child,n=Wt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Wt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function au(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Eo(e)))}function _y(e,t,n){switch(t.tag){case 3:vo(t,t.stateNode.containerInfo),pn(t,Ae,e.memoizedState.cache),Pn();break;case 27:case 5:_s(t);break;case 4:vo(t,t.stateNode.containerInfo);break;case 10:pn(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Ws(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(gn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Pm(e,t,n):(gn(t),e=an(e,t,n),e!==null?e.sibling:null);gn(t);break;case 19:var i=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Pa(e,t,n,!1),a=(n&t.childLanes)!==0),i){if(a)return ep(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),de(Ee,Ee.current),a)break;return null;case 22:return t.lanes=0,Im(e,t,n,t.pendingProps);case 24:pn(t,Ae,e.memoizedState.cache)}return an(e,t,n)}function tp(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)$e=!0;else{if(!au(e,n)&&(t.flags&128)===0)return $e=!1,_y(e,t,n);$e=(e.flags&131072)!==0}else $e=!1,W&&(t.flags&1048576)!==0&&im(t,Xi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Qn(t.elementType),t.type=e,typeof e=="function")Dc(e)?(a=aa(e,a),t.tag=1,t=Uf(null,t,e,a,n)):(t.tag=0,t=ac(null,t,e,a,n));else{if(e!=null){var i=e.$$typeof;if(i===xc){t.tag=11,t=Mf(null,t,e,a,n);break e}else if(i===Sc){t.tag=14,t=_f(null,t,e,a,n);break e}}throw t=zs(e)||e,Error(b(306,t,""))}}return t;case 0:return ac(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,i=aa(a,t.pendingProps),Uf(e,t,a,i,n);case 3:e:{if(vo(t,t.stateNode.containerInfo),e===null)throw Error(b(387));a=t.pendingProps;var l=t.memoizedState;i=l.element,Ks(e,t),Ci(t,a,null,n);var o=t.memoizedState;if(a=o.cache,pn(t,Ae,a),a!==l.cache&&Qs(t,[Ae],n,!0),Ri(),a=o.element,l.isDehydrated)if(l={element:a,isDehydrated:!1,cache:o.cache},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){t=kf(e,t,a,n);break e}else if(a!==i){i=yt(Error(b(424)),t),Qi(i),t=kf(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(ge=St(e.firstChild),Le=t,W=!0,jn=null,wt=!0,n=um(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Pn(),a===i){t=an(e,t,n);break e}Be(e,t,a,n)}t=t.child}return t;case 26:return co(e,t),e===null?(n=oh(t.type,null,t.pendingProps,null))?t.memoizedState=n:W||(n=t.type,e=t.pendingProps,a=Ho(En.current).createElement(n),a[He]=t,a[tt]=e,Ye(a,n,e),De(a),t.stateNode=a):t.memoizedState=oh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return _s(t),e===null&&W&&(a=t.stateNode=Xp(t.type,t.pendingProps,En.current),Le=t,wt=!0,i=ge,Bn(t.type)?(bc=i,ge=St(a.firstChild)):ge=i),Be(e,t,t.pendingProps.children,n),co(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&W&&((i=a=ge)&&(a=o1(a,t.type,t.pendingProps,wt),a!==null?(t.stateNode=a,Le=t,ge=St(a.firstChild),wt=!1,i=!0):i=!1),i||Cn(t)),_s(t),i=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,a=l.children,mc(i,l)?a=null:o!==null&&mc(i,o)&&(t.flags|=32),t.memoizedState!==null&&(i=Gc(e,t,Ny,null,null,n),Ii._currentValue=i),co(e,t),Be(e,t,a,n),t.child;case 6:return e===null&&W&&((e=n=ge)&&(n=r1(n,t.pendingProps,wt),n!==null?(t.stateNode=n,Le=t,ge=null,e=!0):e=!1),e||Cn(t)),null;case 13:return Pm(e,t,n);case 4:return vo(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=ta(t,null,a,n):Be(e,t,a,n),t.child;case 11:return Mf(e,t,t.type,t.pendingProps,n);case 7:return Be(e,t,t.pendingProps,n),t.child;case 8:return Be(e,t,t.pendingProps.children,n),t.child;case 12:return Be(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,pn(t,t.type,a.value),Be(e,t,a.children,n),t.child;case 9:return i=t.type._context,a=t.pendingProps.children,ea(t),i=qe(i),a=a(i),t.flags|=1,Be(e,t,a,n),t.child;case 14:return _f(e,t,t.type,t.pendingProps,n);case 15:return Wm(e,t,t.type,t.pendingProps,n);case 19:return ep(e,t,n);case 31:return My(e,t,n);case 22:return Im(e,t,n,t.pendingProps);case 24:return ea(t),a=qe(Ae),e===null?(i=Hc(),i===null&&(i=se,l=Bc(),i.pooledCache=l,l.refCount++,l!==null&&(i.pooledCacheLanes|=n),i=l),t.memoizedState={parent:a,cache:i},qc(t),pn(t,Ae,i)):((e.lanes&n)!==0&&(Ks(e,t),Ci(t,null,null,n),Ri()),i=e.memoizedState,l=t.memoizedState,i.parent!==a?(i={parent:a,cache:a},t.memoizedState=i,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=i),pn(t,Ae,a)):(a=l.cache,pn(t,Ae,a),a!==i.cache&&Qs(t,[Ae],n,!0))),Be(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(b(156,t.tag))}function Yt(e){e.flags|=4}function ps(e,t,n,a,i){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(jp())e.flags|=8192;else throw Wn=jo,Lc}else e.flags&=-16777217}function Hf(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Kp(t))if(jp())e.flags|=8192;else throw Wn=jo,Lc}function Zl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Th():536870912,e.lanes|=t,Qa|=t)}function yi(e,t){if(!W)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 a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function pe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags&65011712,a|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,a|=i.subtreeFlags,a|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function Ry(e,t,n){var a=t.pendingProps;switch(kc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pe(t),null;case 1:return pe(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),It(Ae),La(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(va(t)?Yt(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,os())),pe(t),null;case 26:var i=t.type,l=t.memoizedState;return e===null?(Yt(t),l!==null?(pe(t),Hf(t,l)):(pe(t),ps(t,i,null,a,n))):l?l!==e.memoizedState?(Yt(t),pe(t),Hf(t,l)):(pe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&Yt(t),pe(t),ps(t,i,e,a,n)),null;case 27:if(bo(t),n=En.current,i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Yt(t);else{if(!a){if(t.stateNode===null)throw Error(b(166));return pe(t),null}e=Ut.current,va(t)?mf(t,e):(e=Xp(i,a,n),t.stateNode=e,Yt(t))}return pe(t),null;case 5:if(bo(t),i=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Yt(t);else{if(!a){if(t.stateNode===null)throw Error(b(166));return pe(t),null}if(l=Ut.current,va(t))mf(t,l);else{var o=Ho(En.current);switch(l){case 1:l=o.createElementNS("http://www.w3.org/2000/svg",i);break;case 2:l=o.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;default:switch(i){case"svg":l=o.createElementNS("http://www.w3.org/2000/svg",i);break;case"math":l=o.createElementNS("http://www.w3.org/1998/Math/MathML",i);break;case"script":l=o.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof a.is=="string"?o.createElement("select",{is:a.is}):o.createElement("select"),a.multiple?l.multiple=!0:a.size&&(l.size=a.size);break;default:l=typeof a.is=="string"?o.createElement(i,{is:a.is}):o.createElement(i)}}l[He]=t,l[tt]=a;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)l.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=l;e:switch(Ye(l,i,a),i){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Yt(t)}}return pe(t),ps(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Yt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(b(166));if(e=En.current,va(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,i=Le,i!==null)switch(i.tag){case 27:case 5:a=i.memoizedProps}e[He]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||qp(e.nodeValue,n)),e||Cn(t,!0)}else e=Ho(e).createTextNode(a),e[He]=t,t.stateNode=e}return pe(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=va(t),n!==null){if(e===null){if(!a)throw Error(b(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(b(557));e[He]=t}else Pn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;pe(t),e=!1}else n=os(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(it(t),t):(it(t),null);if((t.flags&128)!==0)throw Error(b(558))}return pe(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(i=va(t),a!==null&&a.dehydrated!==null){if(e===null){if(!i)throw Error(b(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(b(317));i[He]=t}else Pn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;pe(t),i=!1}else i=os(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),i=!0;if(!i)return t.flags&256?(it(t),t):(it(t),null)}return it(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,i=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(i=a.alternate.memoizedState.cachePool.pool),l=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),l!==i&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Zl(t,t.updateQueue),pe(t),null);case 4:return La(),e===null&&uu(t.stateNode.containerInfo),pe(t),null;case 10:return It(t.type),pe(t),null;case 19:if(Ue(Ee),a=t.memoizedState,a===null)return pe(t),null;if(i=(t.flags&128)!==0,l=a.rendering,l===null)if(i)yi(a,!1);else{if(Ne!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=Oo(e),l!==null){for(t.flags|=128,yi(a,!1),e=l.updateQueue,t.updateQueue=e,Zl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)nm(n,e),n=n.sibling;return de(Ee,Ee.current&1|2),W&&Qt(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&rt()>Ro&&(t.flags|=128,i=!0,yi(a,!1),t.lanes=4194304)}else{if(!i)if(e=Oo(l),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Zl(t,e),yi(a,!0),a.tail===null&&a.tailMode==="hidden"&&!l.alternate&&!W)return pe(t),null}else 2*rt()-a.renderingStartTime>Ro&&n!==536870912&&(t.flags|=128,i=!0,yi(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(e=a.last,e!==null?e.sibling=l:t.child=l,a.last=l)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=rt(),e.sibling=null,n=Ee.current,de(Ee,i?n&1|2:n&1),W&&Qt(t,a.treeForkCount),e):(pe(t),null);case 22:case 23:return it(t),Yc(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(pe(t),t.subtreeFlags&6&&(t.flags|=8192)):pe(t),n=t.updateQueue,n!==null&&Zl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&Ue(Fn),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),It(Ae),pe(t),null;case 25:return null;case 30:return null}throw Error(b(156,t.tag))}function Cy(e,t){switch(kc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return It(Ae),La(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return bo(t),null;case 31:if(t.memoizedState!==null){if(it(t),t.alternate===null)throw Error(b(340));Pn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(it(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(b(340));Pn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ue(Ee),null;case 4:return La(),null;case 10:return It(t.type),null;case 22:case 23:return it(t),Yc(),e!==null&&Ue(Fn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return It(Ae),null;case 25:return null;default:return null}}function np(e,t){switch(kc(t),t.tag){case 3:It(Ae),La();break;case 26:case 27:case 5:bo(t);break;case 4:La();break;case 31:t.memoizedState!==null&&it(t);break;case 13:it(t);break;case 19:Ue(Ee);break;case 10:It(t.type);break;case 22:case 23:it(t),Yc(),e!==null&&Ue(Fn);break;case 24:It(Ae)}}function cl(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var i=a.next;n=i;do{if((n.tag&e)===e){a=void 0;var l=n.create,o=n.inst;a=l(),o.destroy=a}n=n.next}while(n!==i)}}catch(r){le(t,t.return,r)}}function Dn(e,t,n){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var l=i.next;a=l;do{if((a.tag&e)===e){var o=a.inst,r=o.destroy;if(r!==void 0){o.destroy=void 0,i=t;var s=n,c=r;try{c()}catch(f){le(i,s,f)}}}a=a.next}while(a!==l)}}catch(f){le(t,t.return,f)}}function ap(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{fm(t,n)}catch(a){le(e,e.return,a)}}}function ip(e,t,n){n.props=aa(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){le(e,t,a)}}function Ui(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(i){le(e,t,i)}}function Dt(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(i){le(e,t,i)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(i){le(e,t,i)}else n.current=null}function lp(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(i){le(e,e.return,i)}}function gs(e,t,n){try{var a=e.stateNode;e1(a,e.type,n,t),a[tt]=t}catch(i){le(e,e.return,i)}}function op(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Bn(e.type)||e.tag===4}function vs(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||op(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Bn(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function lc(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Jt));else if(a!==4&&(a===27&&Bn(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(lc(e,t,n),e=e.sibling;e!==null;)lc(e,t,n),e=e.sibling}function _o(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Bn(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(_o(e,t,n),e=e.sibling;e!==null;)_o(e,t,n),e=e.sibling}function rp(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Ye(t,a,n),t[He]=e,t[tt]=n}catch(l){le(e,e.return,l)}}var Zt=!1,Oe=!1,bs=!1,Lf=typeof WeakSet=="function"?WeakSet:Set,Ce=null;function Dy(e,t){if(e=e.containerInfo,fc=Vo,e=Kh(e),_c(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var i=a.anchorOffset,l=a.focusNode;a=a.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o=0,r=-1,s=-1,c=0,f=0,p=e,u=null;t:for(;;){for(var h;p!==n||i!==0&&p.nodeType!==3||(r=o+i),p!==l||a!==0&&p.nodeType!==3||(s=o+a),p.nodeType===3&&(o+=p.nodeValue.length),(h=p.firstChild)!==null;)u=p,p=h;for(;;){if(p===e)break t;if(u===n&&++c===i&&(r=o),u===l&&++f===a&&(s=o),(h=p.nextSibling)!==null)break;p=u,u=p.parentNode}p=h}n=r===-1||s===-1?null:{start:r,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(hc={focusedElem:e,selectionRange:n},Vo=!1,Ce=t;Ce!==null;)if(t=Ce,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ce=e;else for(;Ce!==null;){switch(t=Ce,l=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)i=e[n],i.ref.impl=i.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&l!==null){e=void 0,n=t,i=l.memoizedProps,l=l.memoizedState,a=n.stateNode;try{var y=aa(n.type,i);e=a.getSnapshotBeforeUpdate(y,l),a.__reactInternalSnapshotBeforeUpdate=e}catch(N){le(n,n.return,N)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)pc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":pc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(b(163))}if(e=t.sibling,e!==null){e.return=t.return,Ce=e;break}Ce=t.return}}function sp(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:Gt(e,n),a&4&&cl(5,n);break;case 1:if(Gt(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(o){le(n,n.return,o)}else{var i=aa(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(o){le(n,n.return,o)}}a&64&&ap(n),a&512&&Ui(n,n.return);break;case 3:if(Gt(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{fm(e,t)}catch(o){le(n,n.return,o)}}break;case 27:t===null&&a&4&&rp(n);case 26:case 5:Gt(e,n),t===null&&a&4&&lp(n),a&512&&Ui(n,n.return);break;case 12:Gt(e,n);break;case 31:Gt(e,n),a&4&&dp(e,n);break;case 13:Gt(e,n),a&4&&fp(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Gy.bind(null,n),s1(e,n))));break;case 22:if(a=n.memoizedState!==null||Zt,!a){t=t!==null&&t.memoizedState!==null||Oe,i=Zt;var l=Oe;Zt=a,(Oe=t)&&!l?Xt(e,n,(n.subtreeFlags&8772)!==0):Gt(e,n),Zt=i,Oe=l}break;case 30:break;default:Gt(e,n)}}function cp(e){var t=e.alternate;t!==null&&(e.alternate=null,cp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Tc(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var ye=null,Ie=!1;function Vt(e,t,n){for(n=n.child;n!==null;)up(e,t,n),n=n.sibling}function up(e,t,n){if(st&&typeof st.onCommitFiberUnmount=="function")try{st.onCommitFiberUnmount(nl,n)}catch{}switch(n.tag){case 26:Oe||Dt(n,t),Vt(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Oe||Dt(n,t);var a=ye,i=Ie;Bn(n.type)&&(ye=n.stateNode,Ie=!1),Vt(e,t,n),Li(n.stateNode),ye=a,Ie=i;break;case 5:Oe||Dt(n,t);case 6:if(a=ye,i=Ie,ye=null,Vt(e,t,n),ye=a,Ie=i,ye!==null)if(Ie)try{(ye.nodeType===9?ye.body:ye.nodeName==="HTML"?ye.ownerDocument.body:ye).removeChild(n.stateNode)}catch(l){le(n,t,l)}else try{ye.removeChild(n.stateNode)}catch(l){le(n,t,l)}break;case 18:ye!==null&&(Ie?(e=ye,th(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),Fa(e)):th(ye,n.stateNode));break;case 4:a=ye,i=Ie,ye=n.stateNode.containerInfo,Ie=!0,Vt(e,t,n),ye=a,Ie=i;break;case 0:case 11:case 14:case 15:Dn(2,n,t),Oe||Dn(4,n,t),Vt(e,t,n);break;case 1:Oe||(Dt(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&ip(n,t,a)),Vt(e,t,n);break;case 21:Vt(e,t,n);break;case 22:Oe=(a=Oe)||n.memoizedState!==null,Vt(e,t,n),Oe=a;break;default:Vt(e,t,n)}}function dp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Fa(e)}catch(n){le(t,t.return,n)}}}function fp(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Fa(e)}catch(n){le(t,t.return,n)}}function Uy(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Lf),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Lf),t;default:throw Error(b(435,e.tag))}}function Kl(e,t){var n=Uy(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var i=Xy.bind(null,e,a);a.then(i,i)}})}function Fe(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var i=n[a],l=e,o=t,r=o;e:for(;r!==null;){switch(r.tag){case 27:if(Bn(r.type)){ye=r.stateNode,Ie=!1;break e}break;case 5:ye=r.stateNode,Ie=!1;break e;case 3:case 4:ye=r.stateNode.containerInfo,Ie=!0;break e}r=r.return}if(ye===null)throw Error(b(160));up(l,o,i),ye=null,Ie=!1,l=i.alternate,l!==null&&(l.return=null),i.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)hp(t,e),t=t.sibling}var At=null;function hp(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Fe(t,e),We(e),a&4&&(Dn(3,e,e.return),cl(3,e),Dn(5,e,e.return));break;case 1:Fe(t,e),We(e),a&512&&(Oe||n===null||Dt(n,n.return)),a&64&&Zt&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var i=At;if(Fe(t,e),We(e),a&512&&(Oe||n===null||Dt(n,n.return)),a&4){var l=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,i=i.ownerDocument||i;t:switch(a){case"title":l=i.getElementsByTagName("title")[0],(!l||l[ll]||l[He]||l.namespaceURI==="http://www.w3.org/2000/svg"||l.hasAttribute("itemprop"))&&(l=i.createElement(a),i.head.insertBefore(l,i.querySelector("head > title"))),Ye(l,a,n),l[He]=e,De(l),a=l;break e;case"link":var o=sh("link","href",i).get(a+(n.href||""));if(o){for(var r=0;r<o.length;r++)if(l=o[r],l.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&l.getAttribute("rel")===(n.rel==null?null:n.rel)&&l.getAttribute("title")===(n.title==null?null:n.title)&&l.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(r,1);break t}}l=i.createElement(a),Ye(l,a,n),i.head.appendChild(l);break;case"meta":if(o=sh("meta","content",i).get(a+(n.content||""))){for(r=0;r<o.length;r++)if(l=o[r],l.getAttribute("content")===(n.content==null?null:""+n.content)&&l.getAttribute("name")===(n.name==null?null:n.name)&&l.getAttribute("property")===(n.property==null?null:n.property)&&l.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&l.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(r,1);break t}}l=i.createElement(a),Ye(l,a,n),i.head.appendChild(l);break;default:throw Error(b(468,a))}l[He]=e,De(l),a=l}e.stateNode=a}else ch(i,e.type,e.stateNode);else e.stateNode=rh(i,a,e.memoizedProps);else l!==a?(l===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):l.count--,a===null?ch(i,e.type,e.stateNode):rh(i,a,e.memoizedProps)):a===null&&e.stateNode!==null&&gs(e,e.memoizedProps,n.memoizedProps)}break;case 27:Fe(t,e),We(e),a&512&&(Oe||n===null||Dt(n,n.return)),n!==null&&a&4&&gs(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Fe(t,e),We(e),a&512&&(Oe||n===null||Dt(n,n.return)),e.flags&32){i=e.stateNode;try{Ya(i,"")}catch(y){le(e,e.return,y)}}a&4&&e.stateNode!=null&&(i=e.memoizedProps,gs(e,i,n!==null?n.memoizedProps:i)),a&1024&&(bs=!0);break;case 6:if(Fe(t,e),We(e),a&4){if(e.stateNode===null)throw Error(b(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(y){le(e,e.return,y)}}break;case 3:if(ho=null,i=At,At=Lo(t.containerInfo),Fe(t,e),At=i,We(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{Fa(t.containerInfo)}catch(y){le(e,e.return,y)}bs&&(bs=!1,mp(e));break;case 4:a=At,At=Lo(e.stateNode.containerInfo),Fe(t,e),We(e),At=a;break;case 12:Fe(t,e),We(e);break;case 31:Fe(t,e),We(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Kl(e,a)));break;case 13:Fe(t,e),We(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(nr=rt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Kl(e,a)));break;case 22:i=e.memoizedState!==null;var s=n!==null&&n.memoizedState!==null,c=Zt,f=Oe;if(Zt=c||i,Oe=f||s,Fe(t,e),Oe=f,Zt=c,We(e),a&8192)e:for(t=e.stateNode,t._visibility=i?t._visibility&-2:t._visibility|1,i&&(n===null||s||Zt||Oe||Zn(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){s=n=t;try{if(l=s.stateNode,i)o=l.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none";else{r=s.stateNode;var p=s.memoizedProps.style,u=p!=null&&p.hasOwnProperty("display")?p.display:null;r.style.display=u==null||typeof u=="boolean"?"":(""+u).trim()}}catch(y){le(s,s.return,y)}}}else if(t.tag===6){if(n===null){s=t;try{s.stateNode.nodeValue=i?"":s.memoizedProps}catch(y){le(s,s.return,y)}}}else if(t.tag===18){if(n===null){s=t;try{var h=s.stateNode;i?nh(h,!0):nh(s.stateNode,!1)}catch(y){le(s,s.return,y)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,Kl(e,n))));break;case 19:Fe(t,e),We(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Kl(e,a)));break;case 30:break;case 21:break;default:Fe(t,e),We(e)}}function We(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(op(a)){n=a;break}a=a.return}if(n==null)throw Error(b(160));switch(n.tag){case 27:var i=n.stateNode,l=vs(e);_o(e,l,i);break;case 5:var o=n.stateNode;n.flags&32&&(Ya(o,""),n.flags&=-33);var r=vs(e);_o(e,r,o);break;case 3:case 4:var s=n.stateNode.containerInfo,c=vs(e);lc(e,c,s);break;default:throw Error(b(161))}}catch(f){le(e,e.return,f)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function mp(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;mp(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Gt(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)sp(e,t.alternate,t),t=t.sibling}function Zn(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Dn(4,t,t.return),Zn(t);break;case 1:Dt(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&ip(t,t.return,n),Zn(t);break;case 27:Li(t.stateNode);case 26:case 5:Dt(t,t.return),Zn(t);break;case 22:t.memoizedState===null&&Zn(t);break;case 30:Zn(t);break;default:Zn(t)}e=e.sibling}}function Xt(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,i=e,l=t,o=l.flags;switch(l.tag){case 0:case 11:case 15:Xt(i,l,n),cl(4,l);break;case 1:if(Xt(i,l,n),a=l,i=a.stateNode,typeof i.componentDidMount=="function")try{i.componentDidMount()}catch(c){le(a,a.return,c)}if(a=l,i=a.updateQueue,i!==null){var r=a.stateNode;try{var s=i.shared.hiddenCallbacks;if(s!==null)for(i.shared.hiddenCallbacks=null,i=0;i<s.length;i++)dm(s[i],r)}catch(c){le(a,a.return,c)}}n&&o&64&&ap(l),Ui(l,l.return);break;case 27:rp(l);case 26:case 5:Xt(i,l,n),n&&a===null&&o&4&&lp(l),Ui(l,l.return);break;case 12:Xt(i,l,n);break;case 31:Xt(i,l,n),n&&o&4&&dp(i,l);break;case 13:Xt(i,l,n),n&&o&4&&fp(i,l);break;case 22:l.memoizedState===null&&Xt(i,l,n),Ui(l,l.return);break;case 30:break;default:Xt(i,l,n)}t=t.sibling}}function iu(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&rl(n))}function lu(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&rl(e))}function Ot(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)pp(e,t,n,a),t=t.sibling}function pp(e,t,n,a){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Ot(e,t,n,a),i&2048&&cl(9,t);break;case 1:Ot(e,t,n,a);break;case 3:Ot(e,t,n,a),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&rl(e)));break;case 12:if(i&2048){Ot(e,t,n,a),e=t.stateNode;try{var l=t.memoizedProps,o=l.id,r=l.onPostCommit;typeof r=="function"&&r(o,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(s){le(t,t.return,s)}}else Ot(e,t,n,a);break;case 31:Ot(e,t,n,a);break;case 13:Ot(e,t,n,a);break;case 23:break;case 22:l=t.stateNode,o=t.alternate,t.memoizedState!==null?l._visibility&2?Ot(e,t,n,a):ki(e,t):l._visibility&2?Ot(e,t,n,a):(l._visibility|=2,ya(e,t,n,a,(t.subtreeFlags&10256)!==0||!1)),i&2048&&iu(o,t);break;case 24:Ot(e,t,n,a),i&2048&&lu(t.alternate,t);break;default:Ot(e,t,n,a)}}function ya(e,t,n,a,i){for(i=i&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var l=e,o=t,r=n,s=a,c=o.flags;switch(o.tag){case 0:case 11:case 15:ya(l,o,r,s,i),cl(8,o);break;case 23:break;case 22:var f=o.stateNode;o.memoizedState!==null?f._visibility&2?ya(l,o,r,s,i):ki(l,o):(f._visibility|=2,ya(l,o,r,s,i)),i&&c&2048&&iu(o.alternate,o);break;case 24:ya(l,o,r,s,i),i&&c&2048&&lu(o.alternate,o);break;default:ya(l,o,r,s,i)}t=t.sibling}}function ki(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,i=a.flags;switch(a.tag){case 22:ki(n,a),i&2048&&iu(a.alternate,a);break;case 24:ki(n,a),i&2048&&lu(a.alternate,a);break;default:ki(n,a)}t=t.sibling}}var Oi=8192;function ba(e,t,n){if(e.subtreeFlags&Oi)for(e=e.child;e!==null;)gp(e,t,n),e=e.sibling}function gp(e,t,n){switch(e.tag){case 26:ba(e,t,n),e.flags&Oi&&e.memoizedState!==null&&w1(n,At,e.memoizedState,e.memoizedProps);break;case 5:ba(e,t,n);break;case 3:case 4:var a=At;At=Lo(e.stateNode.containerInfo),ba(e,t,n),At=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=Oi,Oi=16777216,ba(e,t,n),Oi=a):ba(e,t,n));break;default:ba(e,t,n)}}function vp(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function wi(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];Ce=a,yp(a,e)}vp(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)bp(e),e=e.sibling}function bp(e){switch(e.tag){case 0:case 11:case 15:wi(e),e.flags&2048&&Dn(9,e,e.return);break;case 3:wi(e);break;case 12:wi(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,uo(e)):wi(e);break;default:wi(e)}}function uo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];Ce=a,yp(a,e)}vp(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Dn(8,t,t.return),uo(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,uo(t));break;default:uo(t)}e=e.sibling}}function yp(e,t){for(;Ce!==null;){var n=Ce;switch(n.tag){case 0:case 11:case 15:Dn(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:rl(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,Ce=a;else e:for(n=e;Ce!==null;){a=Ce;var i=a.sibling,l=a.return;if(cp(a),a===n){Ce=null;break e}if(i!==null){i.return=l,Ce=i;break e}Ce=l}}}var ky={getCacheForType:function(e){var t=qe(Ae),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return qe(Ae).controller.signal}},By=typeof WeakMap=="function"?WeakMap:Map,te=0,se=null,Z=null,F=0,ie=0,at=null,xn=!1,ti=!1,ou=!1,ln=0,Ne=0,Un=0,In=0,ru=0,ot=0,Qa=0,Bi=null,Pe=null,oc=!1,nr=0,wp=0,Ro=1/0,Co=null,An=null,Me=0,$n=null,Za=null,Pt=0,rc=0,sc=null,xp=null,Hi=0,cc=null;function ut(){return(te&2)!==0&&F!==0?F&-F:M.T!==null?cu():zh()}function Sp(){if(ot===0)if((F&536870912)===0||W){var e=Bl;Bl<<=1,(Bl&3932160)===0&&(Bl=262144),ot=e}else ot=536870912;return e=ft.current,e!==null&&(e.flags|=32),ot}function et(e,t,n){(e===se&&(ie===2||ie===9)||e.cancelPendingCommit!==null)&&(Ka(e,0),Sn(e,F,ot,!1)),il(e,n),((te&2)===0||e!==se)&&(e===se&&((te&2)===0&&(In|=n),Ne===4&&Sn(e,F,ot,!1)),Bt(e))}function Np(e,t,n){if((te&6)!==0)throw Error(b(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||al(e,t),i=a?qy(e,t):ys(e,t,!0),l=a;do{if(i===0){ti&&!a&&Sn(e,t,0,!1);break}else{if(n=e.current.alternate,l&&!Hy(n)){i=ys(e,t,!1),l=!1;continue}if(i===2){if(l=t,e.errorRecoveryDisabledLanes&l)var o=0;else o=e.pendingLanes&-536870913,o=o!==0?o:o&536870912?536870912:0;if(o!==0){t=o;e:{var r=e;i=Bi;var s=r.current.memoizedState.isDehydrated;if(s&&(Ka(r,o).flags|=256),o=ys(r,o,!1),o!==2){if(ou&&!s){r.errorRecoveryDisabledLanes|=l,In|=l,i=4;break e}l=Pe,Pe=i,l!==null&&(Pe===null?Pe=l:Pe.push.apply(Pe,l))}i=o}if(l=!1,i!==2)continue}}if(i===1){Ka(e,0),Sn(e,t,0,!0);break}e:{switch(a=e,l=i,l){case 0:case 1:throw Error(b(345));case 4:if((t&4194048)!==t)break;case 6:Sn(a,t,ot,!xn);break e;case 2:Pe=null;break;case 3:case 5:break;default:throw Error(b(329))}if((t&62914560)===t&&(i=nr+300-rt(),10<i)){if(Sn(a,t,ot,!xn),Xo(a,0,!0)!==0)break e;Pt=t,a.timeoutHandle=Vp(qf.bind(null,a,n,Pe,Co,oc,t,ot,In,Qa,xn,l,"Throttled",-0,0),i);break e}qf(a,n,Pe,Co,oc,t,ot,In,Qa,xn,l,null,-0,0)}}break}while(!0);Bt(e)}function qf(e,t,n,a,i,l,o,r,s,c,f,p,u,h){if(e.timeoutHandle=-1,p=t.subtreeFlags,p&8192||(p&16785408)===16785408){p={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Jt},gp(t,l,p);var y=(l&62914560)===l?nr-rt():(l&4194048)===l?wp-rt():0;if(y=x1(p,y),y!==null){Pt=l,e.cancelPendingCommit=y(Vf.bind(null,e,t,l,n,a,i,o,r,s,f,p,null,u,h)),Sn(e,l,o,!c);return}}Vf(e,t,l,n,a,i,o,r,s)}function Hy(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var i=n[a],l=i.getSnapshot;i=i.value;try{if(!dt(l(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Sn(e,t,n,a){t&=~ru,t&=~In,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var i=t;0<i;){var l=31-ct(i),o=1<<l;a[l]=-1,i&=~o}n!==0&&Oh(e,n,t)}function ar(){return(te&6)===0?(ul(0,!1),!1):!0}function su(){if(Z!==null){if(ie===0)var e=Z.return;else e=Z,Ft=sa=null,Zc(e),ka=null,Zi=0,e=Z;for(;e!==null;)np(e.alternate,e),e=e.return;Z=null}}function Ka(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,a1(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Pt=0,su(),se=e,Z=n=Wt(e.current,null),F=t,ie=0,at=null,xn=!1,ti=al(e,t),ou=!1,Qa=ot=ru=In=Un=Ne=0,Pe=Bi=null,oc=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var i=31-ct(a),l=1<<i;t|=e[i],a&=~l}return ln=t,Jo(),n}function Ep(e,t){Y=null,M.H=Ji,t===ei||t===Wo?(t=yf(),ie=3):t===Lc?(t=yf(),ie=4):ie=t===nu?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,at=t,Z===null&&(Ne=1,zo(e,yt(t,e.current)))}function jp(){var e=ft.current;return e===null?!0:(F&4194048)===F?xt===null:(F&62914560)===F||(F&536870912)!==0?e===xt:!1}function Tp(){var e=M.H;return M.H=Ji,e===null?Ji:e}function Op(){var e=M.A;return M.A=ky,e}function Do(){Ne=4,xn||(F&4194048)!==F&&ft.current!==null||(ti=!0),(Un&134217727)===0&&(In&134217727)===0||se===null||Sn(se,F,ot,!1)}function ys(e,t,n){var a=te;te|=2;var i=Tp(),l=Op();(se!==e||F!==t)&&(Co=null,Ka(e,t)),t=!1;var o=Ne;e:do try{if(ie!==0&&Z!==null){var r=Z,s=at;switch(ie){case 8:su(),o=6;break e;case 3:case 2:case 9:case 6:ft.current===null&&(t=!0);var c=ie;if(ie=0,at=null,_a(e,r,s,c),n&&ti){o=0;break e}break;default:c=ie,ie=0,at=null,_a(e,r,s,c)}}Ly(),o=Ne;break}catch(f){Ep(e,f)}while(!0);return t&&e.shellSuspendCounter++,Ft=sa=null,te=a,M.H=i,M.A=l,Z===null&&(se=null,F=0,Jo()),o}function Ly(){for(;Z!==null;)Ap(Z)}function qy(e,t){var n=te;te|=2;var a=Tp(),i=Op();se!==e||F!==t?(Co=null,Ro=rt()+500,Ka(e,t)):ti=al(e,t);e:do try{if(ie!==0&&Z!==null){t=Z;var l=at;t:switch(ie){case 1:ie=0,at=null,_a(e,t,l,1);break;case 2:case 9:if(bf(l)){ie=0,at=null,Yf(t);break}t=function(){ie!==2&&ie!==9||se!==e||(ie=7),Bt(e)},l.then(t,t);break e;case 3:ie=7;break e;case 4:ie=5;break e;case 7:bf(l)?(ie=0,at=null,Yf(t)):(ie=0,at=null,_a(e,t,l,7));break;case 5:var o=null;switch(Z.tag){case 26:o=Z.memoizedState;case 5:case 27:var r=Z;if(o?Kp(o):r.stateNode.complete){ie=0,at=null;var s=r.sibling;if(s!==null)Z=s;else{var c=r.return;c!==null?(Z=c,ir(c)):Z=null}break t}}ie=0,at=null,_a(e,t,l,5);break;case 6:ie=0,at=null,_a(e,t,l,6);break;case 8:su(),Ne=6;break e;default:throw Error(b(462))}}Yy();break}catch(f){Ep(e,f)}while(!0);return Ft=sa=null,M.H=a,M.A=i,te=n,Z!==null?0:(se=null,F=0,Jo(),Ne)}function Yy(){for(;Z!==null&&!db();)Ap(Z)}function Ap(e){var t=tp(e.alternate,e,ln);e.memoizedProps=e.pendingProps,t===null?ir(e):Z=t}function Yf(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Df(n,t,t.pendingProps,t.type,void 0,F);break;case 11:t=Df(n,t,t.pendingProps,t.type.render,t.ref,F);break;case 5:Zc(t);default:np(n,t),t=Z=nm(t,ln),t=tp(n,t,ln)}e.memoizedProps=e.pendingProps,t===null?ir(e):Z=t}function _a(e,t,n,a){Ft=sa=null,Zc(t),ka=null,Zi=0;var i=t.return;try{if(zy(e,i,t,n,F)){Ne=1,zo(e,yt(n,e.current)),Z=null;return}}catch(l){if(i!==null)throw Z=i,l;Ne=1,zo(e,yt(n,e.current)),Z=null;return}t.flags&32768?(W||a===1?e=!0:ti||(F&536870912)!==0?e=!1:(xn=e=!0,(a===2||a===9||a===3||a===6)&&(a=ft.current,a!==null&&a.tag===13&&(a.flags|=16384))),$p(t,e)):ir(t)}function ir(e){var t=e;do{if((t.flags&32768)!==0){$p(t,xn);return}e=t.return;var n=Ry(t.alternate,t,ln);if(n!==null){Z=n;return}if(t=t.sibling,t!==null){Z=t;return}Z=t=e}while(t!==null);Ne===0&&(Ne=5)}function $p(e,t){do{var n=Cy(e.alternate,e);if(n!==null){n.flags&=32767,Z=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Z=e;return}Z=e=n}while(e!==null);Ne=6,Z=null}function Vf(e,t,n,a,i,l,o,r,s){e.cancelPendingCommit=null;do lr();while(Me!==0);if((te&6)!==0)throw Error(b(327));if(t!==null){if(t===e.current)throw Error(b(177));if(l=t.lanes|t.childLanes,l|=Rc,xb(e,n,l,o,r,s),e===se&&(Z=se=null,F=0),Za=t,$n=e,Pt=n,rc=l,sc=i,xp=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Qy(yo,function(){return Cp(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=M.T,M.T=null,i=ne.p,ne.p=2,o=te,te|=4;try{Dy(e,t,n)}finally{te=o,ne.p=i,M.T=a}}Me=1,zp(),Mp(),_p()}}function zp(){if(Me===1){Me=0;var e=$n,t=Za,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=M.T,M.T=null;var a=ne.p;ne.p=2;var i=te;te|=4;try{hp(t,e);var l=hc,o=Kh(e.containerInfo),r=l.focusedElem,s=l.selectionRange;if(o!==r&&r&&r.ownerDocument&&Zh(r.ownerDocument.documentElement,r)){if(s!==null&&_c(r)){var c=s.start,f=s.end;if(f===void 0&&(f=c),"selectionStart"in r)r.selectionStart=c,r.selectionEnd=Math.min(f,r.value.length);else{var p=r.ownerDocument||document,u=p&&p.defaultView||window;if(u.getSelection){var h=u.getSelection(),y=r.textContent.length,N=Math.min(s.start,y),k=s.end===void 0?N:Math.min(s.end,y);!h.extend&&N>k&&(o=k,k=N,N=o);var m=df(r,N),d=df(r,k);if(m&&d&&(h.rangeCount!==1||h.anchorNode!==m.node||h.anchorOffset!==m.offset||h.focusNode!==d.node||h.focusOffset!==d.offset)){var g=p.createRange();g.setStart(m.node,m.offset),h.removeAllRanges(),N>k?(h.addRange(g),h.extend(d.node,d.offset)):(g.setEnd(d.node,d.offset),h.addRange(g))}}}}for(p=[],h=r;h=h.parentNode;)h.nodeType===1&&p.push({element:h,left:h.scrollLeft,top:h.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<p.length;r++){var v=p[r];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}Vo=!!fc,hc=fc=null}finally{te=i,ne.p=a,M.T=n}}e.current=t,Me=2}}function Mp(){if(Me===2){Me=0;var e=$n,t=Za,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=M.T,M.T=null;var a=ne.p;ne.p=2;var i=te;te|=4;try{sp(e,t.alternate,t)}finally{te=i,ne.p=a,M.T=n}}Me=3}}function _p(){if(Me===4||Me===3){Me=0,fb();var e=$n,t=Za,n=Pt,a=xp;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Me=5:(Me=0,Za=$n=null,Rp(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(An=null),jc(n),t=t.stateNode,st&&typeof st.onCommitFiberRoot=="function")try{st.onCommitFiberRoot(nl,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=M.T,i=ne.p,ne.p=2,M.T=null;try{for(var l=e.onRecoverableError,o=0;o<a.length;o++){var r=a[o];l(r.value,{componentStack:r.stack})}}finally{M.T=t,ne.p=i}}(Pt&3)!==0&&lr(),Bt(e),i=e.pendingLanes,(n&261930)!==0&&(i&42)!==0?e===cc?Hi++:(Hi=0,cc=e):Hi=0,ul(0,!1)}}function Rp(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,rl(t)))}function lr(){return zp(),Mp(),_p(),Cp()}function Cp(){if(Me!==5)return!1;var e=$n,t=rc;rc=0;var n=jc(Pt),a=M.T,i=ne.p;try{ne.p=32>n?32:n,M.T=null,n=sc,sc=null;var l=$n,o=Pt;if(Me=0,Za=$n=null,Pt=0,(te&6)!==0)throw Error(b(331));var r=te;if(te|=4,bp(l.current),pp(l,l.current,o,n),te=r,ul(0,!1),st&&typeof st.onPostCommitFiberRoot=="function")try{st.onPostCommitFiberRoot(nl,l)}catch{}return!0}finally{ne.p=i,M.T=a,Rp(e,t)}}function Gf(e,t,n){t=yt(n,t),t=nc(e.stateNode,t,2),e=On(e,t,2),e!==null&&(il(e,2),Bt(e))}function le(e,t,n){if(e.tag===3)Gf(e,e,n);else for(;t!==null;){if(t.tag===3){Gf(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(An===null||!An.has(a))){e=yt(n,e),n=Jm(2),a=On(t,n,2),a!==null&&(Fm(n,a,t,e),il(a,2),Bt(a));break}}t=t.return}}function ws(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new By;var i=new Set;a.set(t,i)}else i=a.get(t),i===void 0&&(i=new Set,a.set(t,i));i.has(n)||(ou=!0,i.add(n),e=Vy.bind(null,e,t,n),t.then(e,e))}function Vy(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,se===e&&(F&n)===n&&(Ne===4||Ne===3&&(F&62914560)===F&&300>rt()-nr?(te&2)===0&&Ka(e,0):ru|=n,Qa===F&&(Qa=0)),Bt(e)}function Dp(e,t){t===0&&(t=Th()),e=ra(e,t),e!==null&&(il(e,t),Bt(e))}function Gy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Dp(e,n)}function Xy(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(b(314))}a!==null&&a.delete(t),Dp(e,n)}function Qy(e,t){return Nc(e,t)}var Uo=null,wa=null,uc=!1,ko=!1,xs=!1,Nn=0;function Bt(e){e!==wa&&e.next===null&&(wa===null?Uo=wa=e:wa=wa.next=e),ko=!0,uc||(uc=!0,Ky())}function ul(e,t){if(!xs&&ko){xs=!0;do for(var n=!1,a=Uo;a!==null;){if(!t)if(e!==0){var i=a.pendingLanes;if(i===0)var l=0;else{var o=a.suspendedLanes,r=a.pingedLanes;l=(1<<31-ct(42|e)+1)-1,l&=i&~(o&~r),l=l&201326741?l&201326741|1:l?l|2:0}l!==0&&(n=!0,Xf(a,l))}else l=F,l=Xo(a,a===se?l:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(l&3)===0||al(a,l)||(n=!0,Xf(a,l));a=a.next}while(n);xs=!1}}function Zy(){Up()}function Up(){ko=uc=!1;var e=0;Nn!==0&&n1()&&(e=Nn);for(var t=rt(),n=null,a=Uo;a!==null;){var i=a.next,l=kp(a,t);l===0?(a.next=null,n===null?Uo=i:n.next=i,i===null&&(wa=n)):(n=a,(e!==0||(l&3)!==0)&&(ko=!0)),a=i}Me!==0&&Me!==5||ul(e,!1),Nn!==0&&(Nn=0)}function kp(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,i=e.expirationTimes,l=e.pendingLanes&-62914561;0<l;){var o=31-ct(l),r=1<<o,s=i[o];s===-1?((r&n)===0||(r&a)!==0)&&(i[o]=wb(r,t)):s<=t&&(e.expiredLanes|=r),l&=~r}if(t=se,n=F,n=Xo(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(ie===2||ie===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Fr(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||al(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&Fr(a),jc(n)){case 2:case 8:n=Eh;break;case 32:n=yo;break;case 268435456:n=jh;break;default:n=yo}return a=Bp.bind(null,e),n=Nc(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&Fr(a),e.callbackPriority=2,e.callbackNode=null,2}function Bp(e,t){if(Me!==0&&Me!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(lr()&&e.callbackNode!==n)return null;var a=F;return a=Xo(e,e===se?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Np(e,a,t),kp(e,rt()),e.callbackNode!=null&&e.callbackNode===n?Bp.bind(null,e):null)}function Xf(e,t){if(lr())return null;Np(e,t,!0)}function Ky(){i1(function(){(te&6)!==0?Nc(Nh,Zy):Up()})}function cu(){if(Nn===0){var e=Va;e===0&&(e=kl,kl<<=1,(kl&261888)===0&&(kl=256)),Nn=e}return Nn}function Qf(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:to(""+e)}function Zf(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function Jy(e,t,n,a,i){if(t==="submit"&&n&&n.stateNode===i){var l=Qf((i[tt]||null).action),o=a.submitter;o&&(t=(t=o[tt]||null)?Qf(t.formAction):o.getAttribute("formAction"),t!==null&&(l=t,o=null));var r=new Qo("action","action",null,a,i);e.push({event:r,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Nn!==0){var s=o?Zf(i,o):new FormData(i);ec(n,{pending:!0,data:s,method:i.method,action:l},null,s)}}else typeof l=="function"&&(r.preventDefault(),s=o?Zf(i,o):new FormData(i),ec(n,{pending:!0,data:s,method:i.method,action:l},l,s))},currentTarget:i}]})}}for(Jl=0;Jl<Ys.length;Jl++)Fl=Ys[Jl],Kf=Fl.toLowerCase(),Jf=Fl[0].toUpperCase()+Fl.slice(1),$t(Kf,"on"+Jf);var Fl,Kf,Jf,Jl;$t(Fh,"onAnimationEnd");$t(Wh,"onAnimationIteration");$t(Ih,"onAnimationStart");$t("dblclick","onDoubleClick");$t("focusin","onFocus");$t("focusout","onBlur");$t(hy,"onTransitionRun");$t(my,"onTransitionStart");$t(py,"onTransitionCancel");$t(Ph,"onTransitionEnd");qa("onMouseEnter",["mouseout","mouseover"]);qa("onMouseLeave",["mouseout","mouseover"]);qa("onPointerEnter",["pointerout","pointerover"]);qa("onPointerLeave",["pointerout","pointerover"]);ia("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ia("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ia("onBeforeInput",["compositionend","keypress","textInput","paste"]);ia("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ia("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ia("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fi="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(" "),Fy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Fi));function Hp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],i=a.event;a=a.listeners;e:{var l=void 0;if(t)for(var o=a.length-1;0<=o;o--){var r=a[o],s=r.instance,c=r.currentTarget;if(r=r.listener,s!==l&&i.isPropagationStopped())break e;l=r,i.currentTarget=c;try{l(i)}catch(f){xo(f)}i.currentTarget=null,l=s}else for(o=0;o<a.length;o++){if(r=a[o],s=r.instance,c=r.currentTarget,r=r.listener,s!==l&&i.isPropagationStopped())break e;l=r,i.currentTarget=c;try{l(i)}catch(f){xo(f)}i.currentTarget=null,l=s}}}}function Q(e,t){var n=t[Cs];n===void 0&&(n=t[Cs]=new Set);var a=e+"__bubble";n.has(a)||(Lp(t,e,2,!1),n.add(a))}function Ss(e,t,n){var a=0;t&&(a|=4),Lp(n,e,a,t)}var Wl="_reactListening"+Math.random().toString(36).slice(2);function uu(e){if(!e[Wl]){e[Wl]=!0,Mh.forEach(function(n){n!=="selectionchange"&&(Fy.has(n)||Ss(n,!1,e),Ss(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Wl]||(t[Wl]=!0,Ss("selectionchange",!1,t))}}function Lp(e,t,n,a){switch(Pp(t)){case 2:var i=E1;break;case 8:i=j1;break;default:i=mu}n=i.bind(null,t,n,e),i=void 0,!Hs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),a?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ns(e,t,n,a,i){var l=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var o=a.tag;if(o===3||o===4){var r=a.stateNode.containerInfo;if(r===i)break;if(o===4)for(o=a.return;o!==null;){var s=o.tag;if((s===3||s===4)&&o.stateNode.containerInfo===i)return;o=o.return}for(;r!==null;){if(o=Na(r),o===null)return;if(s=o.tag,s===5||s===6||s===26||s===27){a=l=o;continue e}r=r.parentNode}}a=a.return}Hh(function(){var c=l,f=Ac(n),p=[];e:{var u=em.get(e);if(u!==void 0){var h=Qo,y=e;switch(e){case"keypress":if(ao(n)===0)break e;case"keydown":case"keyup":h=Xb;break;case"focusin":y="focus",h=ts;break;case"focusout":y="blur",h=ts;break;case"beforeblur":case"afterblur":h=ts;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=tf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Rb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Kb;break;case Fh:case Wh:case Ih:h=Ub;break;case Ph:h=Fb;break;case"scroll":case"scrollend":h=Mb;break;case"wheel":h=Ib;break;case"copy":case"cut":case"paste":h=Bb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=af;break;case"toggle":case"beforetoggle":h=ey}var N=(t&4)!==0,k=!N&&(e==="scroll"||e==="scrollend"),m=N?u!==null?u+"Capture":null:u;N=[];for(var d=c,g;d!==null;){var v=d;if(g=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||g===null||m===null||(v=Yi(d,m),v!=null&&N.push(Wi(d,v,g))),k)break;d=d.return}0<N.length&&(u=new h(u,y,null,n,f),p.push({event:u,listeners:N}))}}if((t&7)===0){e:{if(u=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",u&&n!==Bs&&(y=n.relatedTarget||n.fromElement)&&(Na(y)||y[Wa]))break e;if((h||u)&&(u=f.window===f?f:(u=f.ownerDocument)?u.defaultView||u.parentWindow:window,h?(y=n.relatedTarget||n.toElement,h=c,y=y?Na(y):null,y!==null&&(k=tl(y),N=y.tag,y!==k||N!==5&&N!==27&&N!==6)&&(y=null)):(h=null,y=c),h!==y)){if(N=tf,v="onMouseLeave",m="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(N=af,v="onPointerLeave",m="onPointerEnter",d="pointer"),k=h==null?u:ji(h),g=y==null?u:ji(y),u=new N(v,d+"leave",h,n,f),u.target=k,u.relatedTarget=g,v=null,Na(f)===c&&(N=new N(m,d+"enter",y,n,f),N.target=g,N.relatedTarget=k,v=N),k=v,h&&y)t:{for(N=Wy,m=h,d=y,g=0,v=m;v;v=N(v))g++;v=0;for(var j=d;j;j=N(j))v++;for(;0<g-v;)m=N(m),g--;for(;0<v-g;)d=N(d),v--;for(;g--;){if(m===d||d!==null&&m===d.alternate){N=m;break t}m=N(m),d=N(d)}N=null}else N=null;h!==null&&Ff(p,u,h,N,!1),y!==null&&k!==null&&Ff(p,k,y,N,!0)}}e:{if(u=c?ji(c):window,h=u.nodeName&&u.nodeName.toLowerCase(),h==="select"||h==="input"&&u.type==="file")var V=sf;else if(rf(u))if(Xh)V=uy;else{V=sy;var T=ry}else h=u.nodeName,!h||h.toLowerCase()!=="input"||u.type!=="checkbox"&&u.type!=="radio"?c&&Oc(c.elementType)&&(V=sf):V=cy;if(V&&(V=V(e,c))){Gh(p,V,n,f);break e}T&&T(e,u,c),e==="focusout"&&c&&u.type==="number"&&c.memoizedProps.value!=null&&ks(u,"number",u.value)}switch(T=c?ji(c):window,e){case"focusin":(rf(T)||T.contentEditable==="true")&&(Ta=T,Ls=c,zi=null);break;case"focusout":zi=Ls=Ta=null;break;case"mousedown":qs=!0;break;case"contextmenu":case"mouseup":case"dragend":qs=!1,ff(p,n,f);break;case"selectionchange":if(fy)break;case"keydown":case"keyup":ff(p,n,f)}var B;if(Mc)e:{switch(e){case"compositionstart":var G="onCompositionStart";break e;case"compositionend":G="onCompositionEnd";break e;case"compositionupdate":G="onCompositionUpdate";break e}G=void 0}else ja?Yh(e,n)&&(G="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(G="onCompositionStart");G&&(qh&&n.locale!=="ko"&&(ja||G!=="onCompositionStart"?G==="onCompositionEnd"&&ja&&(B=Lh()):(wn=f,$c="value"in wn?wn.value:wn.textContent,ja=!0)),T=Bo(c,G),0<T.length&&(G=new nf(G,e,null,n,f),p.push({event:G,listeners:T}),B?G.data=B:(B=Vh(n),B!==null&&(G.data=B)))),(B=ny?ay(e,n):iy(e,n))&&(G=Bo(c,"onBeforeInput"),0<G.length&&(T=new nf("onBeforeInput","beforeinput",null,n,f),p.push({event:T,listeners:G}),T.data=B)),Jy(p,e,c,n,f)}Hp(p,t)})}function Wi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Bo(e,t){for(var n=t+"Capture",a=[];e!==null;){var i=e,l=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||l===null||(i=Yi(e,n),i!=null&&a.unshift(Wi(e,i,l)),i=Yi(e,t),i!=null&&a.push(Wi(e,i,l))),e.tag===3)return a;e=e.return}return[]}function Wy(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ff(e,t,n,a,i){for(var l=t._reactName,o=[];n!==null&&n!==a;){var r=n,s=r.alternate,c=r.stateNode;if(r=r.tag,s!==null&&s===a)break;r!==5&&r!==26&&r!==27||c===null||(s=c,i?(c=Yi(n,l),c!=null&&o.unshift(Wi(n,c,s))):i||(c=Yi(n,l),c!=null&&o.push(Wi(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var Iy=/\r\n?/g,Py=/\u0000|\uFFFD/g;function Wf(e){return(typeof e=="string"?e:""+e).replace(Iy,`
|
|
9
|
+
`).replace(Py,"")}function qp(e,t){return t=Wf(t),Wf(e)===t}function oe(e,t,n,a,i,l){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Ya(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Ya(e,""+a);break;case"className":Ll(e,"class",a);break;case"tabIndex":Ll(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Ll(e,n,a);break;case"style":Bh(e,a,l);break;case"data":if(t!=="object"){Ll(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=to(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(n,"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 l=="function"&&(n==="formAction"?(t!=="input"&&oe(e,t,"name",i.name,i,null),oe(e,t,"formEncType",i.formEncType,i,null),oe(e,t,"formMethod",i.formMethod,i,null),oe(e,t,"formTarget",i.formTarget,i,null)):(oe(e,t,"encType",i.encType,i,null),oe(e,t,"method",i.method,i,null),oe(e,t,"target",i.target,i,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=to(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=Jt);break;case"onScroll":a!=null&&Q("scroll",e);break;case"onScrollEnd":a!=null&&Q("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(b(61));if(n=a.__html,n!=null){if(i.children!=null)throw Error(b(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.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"){e.removeAttribute("xlink:href");break}n=to(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);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"?e.setAttribute(n,""+a):e.removeAttribute(n);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"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":Q("beforetoggle",e),Q("toggle",e),eo(e,"popover",a);break;case"xlinkActuate":qt(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":qt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":qt(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":qt(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":qt(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":qt(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":qt(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":qt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":qt(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":eo(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=$b.get(n)||n,eo(e,n,a))}}function dc(e,t,n,a,i,l){switch(n){case"style":Bh(e,a,l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(b(61));if(n=a.__html,n!=null){if(i.children!=null)throw Error(b(60));e.innerHTML=n}}break;case"children":typeof a=="string"?Ya(e,a):(typeof a=="number"||typeof a=="bigint")&&Ya(e,""+a);break;case"onScroll":a!=null&&Q("scroll",e);break;case"onScrollEnd":a!=null&&Q("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Jt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!_h.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(i=n.endsWith("Capture"),t=n.slice(2,i?n.length-7:void 0),l=e[tt]||null,l=l!=null?l[n]:null,typeof l=="function"&&e.removeEventListener(t,l,i),typeof a=="function")){typeof l!="function"&&l!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,i);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):eo(e,n,a)}}}function Ye(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Q("error",e),Q("load",e);var a=!1,i=!1,l;for(l in n)if(n.hasOwnProperty(l)){var o=n[l];if(o!=null)switch(l){case"src":a=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(b(137,t));default:oe(e,t,l,o,n,null)}}i&&oe(e,t,"srcSet",n.srcSet,n,null),a&&oe(e,t,"src",n.src,n,null);return;case"input":Q("invalid",e);var r=l=o=i=null,s=null,c=null;for(a in n)if(n.hasOwnProperty(a)){var f=n[a];if(f!=null)switch(a){case"name":i=f;break;case"type":o=f;break;case"checked":s=f;break;case"defaultChecked":c=f;break;case"value":l=f;break;case"defaultValue":r=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(b(137,t));break;default:oe(e,t,a,f,n,null)}}Dh(e,l,r,s,c,o,i,!1);return;case"select":Q("invalid",e),a=o=l=null;for(i in n)if(n.hasOwnProperty(i)&&(r=n[i],r!=null))switch(i){case"value":l=r;break;case"defaultValue":o=r;break;case"multiple":a=r;default:oe(e,t,i,r,n,null)}t=l,n=o,e.multiple=!!a,t!=null?Ca(e,!!a,t,!1):n!=null&&Ca(e,!!a,n,!0);return;case"textarea":Q("invalid",e),l=i=a=null;for(o in n)if(n.hasOwnProperty(o)&&(r=n[o],r!=null))switch(o){case"value":a=r;break;case"defaultValue":i=r;break;case"children":l=r;break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(b(91));break;default:oe(e,t,o,r,n,null)}kh(e,a,i,l);return;case"option":for(s in n)if(n.hasOwnProperty(s)&&(a=n[s],a!=null))switch(s){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:oe(e,t,s,a,n,null)}return;case"dialog":Q("beforetoggle",e),Q("toggle",e),Q("cancel",e),Q("close",e);break;case"iframe":case"object":Q("load",e);break;case"video":case"audio":for(a=0;a<Fi.length;a++)Q(Fi[a],e);break;case"image":Q("error",e),Q("load",e);break;case"details":Q("toggle",e);break;case"embed":case"source":case"link":Q("error",e),Q("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&(a=n[c],a!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(b(137,t));default:oe(e,t,c,a,n,null)}return;default:if(Oc(t)){for(f in n)n.hasOwnProperty(f)&&(a=n[f],a!==void 0&&dc(e,t,f,a,n,void 0));return}}for(r in n)n.hasOwnProperty(r)&&(a=n[r],a!=null&&oe(e,t,r,a,n,null))}function e1(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var i=null,l=null,o=null,r=null,s=null,c=null,f=null;for(h in n){var p=n[h];if(n.hasOwnProperty(h)&&p!=null)switch(h){case"checked":break;case"value":break;case"defaultValue":s=p;default:a.hasOwnProperty(h)||oe(e,t,h,null,a,p)}}for(var u in a){var h=a[u];if(p=n[u],a.hasOwnProperty(u)&&(h!=null||p!=null))switch(u){case"type":l=h;break;case"name":i=h;break;case"checked":c=h;break;case"defaultChecked":f=h;break;case"value":o=h;break;case"defaultValue":r=h;break;case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(b(137,t));break;default:h!==p&&oe(e,t,u,h,a,p)}}Us(e,o,r,s,c,f,l,i);return;case"select":h=o=r=u=null;for(l in n)if(s=n[l],n.hasOwnProperty(l)&&s!=null)switch(l){case"value":break;case"multiple":h=s;default:a.hasOwnProperty(l)||oe(e,t,l,null,a,s)}for(i in a)if(l=a[i],s=n[i],a.hasOwnProperty(i)&&(l!=null||s!=null))switch(i){case"value":u=l;break;case"defaultValue":r=l;break;case"multiple":o=l;default:l!==s&&oe(e,t,i,l,a,s)}t=r,n=o,a=h,u!=null?Ca(e,!!n,u,!1):!!a!=!!n&&(t!=null?Ca(e,!!n,t,!0):Ca(e,!!n,n?[]:"",!1));return;case"textarea":h=u=null;for(r in n)if(i=n[r],n.hasOwnProperty(r)&&i!=null&&!a.hasOwnProperty(r))switch(r){case"value":break;case"children":break;default:oe(e,t,r,null,a,i)}for(o in a)if(i=a[o],l=n[o],a.hasOwnProperty(o)&&(i!=null||l!=null))switch(o){case"value":u=i;break;case"defaultValue":h=i;break;case"children":break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(b(91));break;default:i!==l&&oe(e,t,o,i,a,l)}Uh(e,u,h);return;case"option":for(var y in n)if(u=n[y],n.hasOwnProperty(y)&&u!=null&&!a.hasOwnProperty(y))switch(y){case"selected":e.selected=!1;break;default:oe(e,t,y,null,a,u)}for(s in a)if(u=a[s],h=n[s],a.hasOwnProperty(s)&&u!==h&&(u!=null||h!=null))switch(s){case"selected":e.selected=u&&typeof u!="function"&&typeof u!="symbol";break;default:oe(e,t,s,u,a,h)}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 N in n)u=n[N],n.hasOwnProperty(N)&&u!=null&&!a.hasOwnProperty(N)&&oe(e,t,N,null,a,u);for(c in a)if(u=a[c],h=n[c],a.hasOwnProperty(c)&&u!==h&&(u!=null||h!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(u!=null)throw Error(b(137,t));break;default:oe(e,t,c,u,a,h)}return;default:if(Oc(t)){for(var k in n)u=n[k],n.hasOwnProperty(k)&&u!==void 0&&!a.hasOwnProperty(k)&&dc(e,t,k,void 0,a,u);for(f in a)u=a[f],h=n[f],!a.hasOwnProperty(f)||u===h||u===void 0&&h===void 0||dc(e,t,f,u,a,h);return}}for(var m in n)u=n[m],n.hasOwnProperty(m)&&u!=null&&!a.hasOwnProperty(m)&&oe(e,t,m,null,a,u);for(p in a)u=a[p],h=n[p],!a.hasOwnProperty(p)||u===h||u==null&&h==null||oe(e,t,p,u,a,h)}function If(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function t1(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var i=n[a],l=i.transferSize,o=i.initiatorType,r=i.duration;if(l&&r&&If(o)){for(o=0,r=i.responseEnd,a+=1;a<n.length;a++){var s=n[a],c=s.startTime;if(c>r)break;var f=s.transferSize,p=s.initiatorType;f&&If(p)&&(s=s.responseEnd,o+=f*(s<r?1:(r-c)/(s-c)))}if(--a,t+=8*(l+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var fc=null,hc=null;function Ho(e){return e.nodeType===9?e:e.ownerDocument}function Pf(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Yp(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function mc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Es=null;function n1(){var e=window.event;return e&&e.type==="popstate"?e===Es?!1:(Es=e,!0):(Es=null,!1)}var Vp=typeof setTimeout=="function"?setTimeout:void 0,a1=typeof clearTimeout=="function"?clearTimeout:void 0,eh=typeof Promise=="function"?Promise:void 0,i1=typeof queueMicrotask=="function"?queueMicrotask:typeof eh<"u"?function(e){return eh.resolve(null).then(e).catch(l1)}:Vp;function l1(e){setTimeout(function(){throw e})}function Bn(e){return e==="head"}function th(e,t){var n=t,a=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"||n==="/&"){if(a===0){e.removeChild(i),Fa(t);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")Li(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,Li(n);for(var l=n.firstChild;l;){var o=l.nextSibling,r=l.nodeName;l[ll]||r==="SCRIPT"||r==="STYLE"||r==="LINK"&&l.rel.toLowerCase()==="stylesheet"||n.removeChild(l),l=o}}else n==="body"&&Li(e.ownerDocument.body);n=i}while(n);Fa(t)}function nh(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=a}while(n)}function pc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":pc(n),Tc(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function o1(e,t,n,a){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[ll])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(l=e.getAttribute("rel"),l==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(l!==i.rel||e.getAttribute("href")!==(i.href==null||i.href===""?null:i.href)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute("title")!==(i.title==null?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(l=e.getAttribute("src"),(l!==(i.src==null?null:i.src)||e.getAttribute("type")!==(i.type==null?null:i.type)||e.getAttribute("crossorigin")!==(i.crossOrigin==null?null:i.crossOrigin))&&l&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var l=i.name==null?null:""+i.name;if(i.type==="hidden"&&e.getAttribute("name")===l)return e}else return e;if(e=St(e.nextSibling),e===null)break}return null}function r1(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=St(e.nextSibling),e===null))return null;return e}function Gp(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=St(e.nextSibling),e===null))return null;return e}function gc(e){return e.data==="$?"||e.data==="$~"}function vc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function s1(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function St(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var bc=null;function ah(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return St(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function ih(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function Xp(e,t,n){switch(t=Ho(n),e){case"html":if(e=t.documentElement,!e)throw Error(b(452));return e;case"head":if(e=t.head,!e)throw Error(b(453));return e;case"body":if(e=t.body,!e)throw Error(b(454));return e;default:throw Error(b(451))}}function Li(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Tc(e)}var Nt=new Map,lh=new Set;function Lo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var on=ne.d;ne.d={f:c1,r:u1,D:d1,C:f1,L:h1,m:m1,X:g1,S:p1,M:v1};function c1(){var e=on.f(),t=ar();return e||t}function u1(e){var t=Ia(e);t!==null&&t.tag===5&&t.type==="form"?Bm(t):on.r(e)}var ni=typeof document>"u"?null:document;function Qp(e,t,n){var a=ni;if(a&&typeof t=="string"&&t){var i=bt(t);i='link[rel="'+e+'"][href="'+i+'"]',typeof n=="string"&&(i+='[crossorigin="'+n+'"]'),lh.has(i)||(lh.add(i),e={rel:e,crossOrigin:n,href:t},a.querySelector(i)===null&&(t=a.createElement("link"),Ye(t,"link",e),De(t),a.head.appendChild(t)))}}function d1(e){on.D(e),Qp("dns-prefetch",e,null)}function f1(e,t){on.C(e,t),Qp("preconnect",e,t)}function h1(e,t,n){on.L(e,t,n);var a=ni;if(a&&e&&t){var i='link[rel="preload"][as="'+bt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(i+='[imagesrcset="'+bt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(i+='[imagesizes="'+bt(n.imageSizes)+'"]')):i+='[href="'+bt(e)+'"]';var l=i;switch(t){case"style":l=Ja(e);break;case"script":l=ai(e)}Nt.has(l)||(e=ve({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Nt.set(l,e),a.querySelector(i)!==null||t==="style"&&a.querySelector(dl(l))||t==="script"&&a.querySelector(fl(l))||(t=a.createElement("link"),Ye(t,"link",e),De(t),a.head.appendChild(t)))}}function m1(e,t){on.m(e,t);var n=ni;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",i='link[rel="modulepreload"][as="'+bt(a)+'"][href="'+bt(e)+'"]',l=i;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":l=ai(e)}if(!Nt.has(l)&&(e=ve({rel:"modulepreload",href:e},t),Nt.set(l,e),n.querySelector(i)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(fl(l)))return}a=n.createElement("link"),Ye(a,"link",e),De(a),n.head.appendChild(a)}}}function p1(e,t,n){on.S(e,t,n);var a=ni;if(a&&e){var i=Ra(a).hoistableStyles,l=Ja(e);t=t||"default";var o=i.get(l);if(!o){var r={loading:0,preload:null};if(o=a.querySelector(dl(l)))r.loading=5;else{e=ve({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Nt.get(l))&&du(e,n);var s=o=a.createElement("link");De(s),Ye(s,"link",e),s._p=new Promise(function(c,f){s.onload=c,s.onerror=f}),s.addEventListener("load",function(){r.loading|=1}),s.addEventListener("error",function(){r.loading|=2}),r.loading|=4,fo(o,t,a)}o={type:"stylesheet",instance:o,count:1,state:r},i.set(l,o)}}}function g1(e,t){on.X(e,t);var n=ni;if(n&&e){var a=Ra(n).hoistableScripts,i=ai(e),l=a.get(i);l||(l=n.querySelector(fl(i)),l||(e=ve({src:e,async:!0},t),(t=Nt.get(i))&&fu(e,t),l=n.createElement("script"),De(l),Ye(l,"link",e),n.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},a.set(i,l))}}function v1(e,t){on.M(e,t);var n=ni;if(n&&e){var a=Ra(n).hoistableScripts,i=ai(e),l=a.get(i);l||(l=n.querySelector(fl(i)),l||(e=ve({src:e,async:!0,type:"module"},t),(t=Nt.get(i))&&fu(e,t),l=n.createElement("script"),De(l),Ye(l,"link",e),n.head.appendChild(l)),l={type:"script",instance:l,count:1,state:null},a.set(i,l))}}function oh(e,t,n,a){var i=(i=En.current)?Lo(i):null;if(!i)throw Error(b(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=Ja(n.href),n=Ra(i).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=Ja(n.href);var l=Ra(i).hoistableStyles,o=l.get(e);if(o||(i=i.ownerDocument||i,o={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},l.set(e,o),(l=i.querySelector(dl(e)))&&!l._p&&(o.instance=l,o.state.loading=5),Nt.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Nt.set(e,n),l||b1(i,e,n,o.state))),t&&a===null)throw Error(b(528,""));return o}if(t&&a!==null)throw Error(b(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ai(n),n=Ra(i).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(b(444,e))}}function Ja(e){return'href="'+bt(e)+'"'}function dl(e){return'link[rel="stylesheet"]['+e+"]"}function Zp(e){return ve({},e,{"data-precedence":e.precedence,precedence:null})}function b1(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Ye(t,"link",n),De(t),e.head.appendChild(t))}function ai(e){return'[src="'+bt(e)+'"]'}function fl(e){return"script[async]"+e}function rh(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+bt(n.href)+'"]');if(a)return t.instance=a,De(a),a;var i=ve({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),De(a),Ye(a,"style",i),fo(a,n.precedence,e),t.instance=a;case"stylesheet":i=Ja(n.href);var l=e.querySelector(dl(i));if(l)return t.state.loading|=4,t.instance=l,De(l),l;a=Zp(n),(i=Nt.get(i))&&du(a,i),l=(e.ownerDocument||e).createElement("link"),De(l);var o=l;return o._p=new Promise(function(r,s){o.onload=r,o.onerror=s}),Ye(l,"link",a),t.state.loading|=4,fo(l,n.precedence,e),t.instance=l;case"script":return l=ai(n.src),(i=e.querySelector(fl(l)))?(t.instance=i,De(i),i):(a=n,(i=Nt.get(l))&&(a=ve({},n),fu(a,i)),e=e.ownerDocument||e,i=e.createElement("script"),De(i),Ye(i,"link",a),e.head.appendChild(i),t.instance=i);case"void":return null;default:throw Error(b(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,fo(a,n.precedence,e));return t.instance}function fo(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=a.length?a[a.length-1]:null,l=i,o=0;o<a.length;o++){var r=a[o];if(r.dataset.precedence===t)l=r;else if(l!==i)break}l?l.parentNode.insertBefore(e,l.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function du(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function fu(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var ho=null;function sh(e,t,n){if(ho===null){var a=new Map,i=ho=new Map;i.set(n,a)}else i=ho,a=i.get(n),a||(a=new Map,i.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var l=n[i];if(!(l[ll]||l[He]||e==="link"&&l.getAttribute("rel")==="stylesheet")&&l.namespaceURI!=="http://www.w3.org/2000/svg"){var o=l.getAttribute(t)||"";o=e+o;var r=a.get(o);r?r.push(l):a.set(o,[l])}}return a}function ch(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function y1(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Kp(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function w1(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var i=Ja(a.href),l=t.querySelector(dl(i));if(l){t=l._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=qo.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=l,De(l);return}l=t.ownerDocument||t,a=Zp(a),(i=Nt.get(i))&&du(a,i),l=l.createElement("link"),De(l);var o=l;o._p=new Promise(function(r,s){o.onload=r,o.onerror=s}),Ye(l,"link",a),n.instance=l}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=qo.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var js=0;function x1(e,t){return e.stylesheets&&e.count===0&&mo(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&mo(e,e.stylesheets),e.unsuspend){var l=e.unsuspend;e.unsuspend=null,l()}},6e4+t);0<e.imgBytes&&js===0&&(js=62500*t1());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&mo(e,e.stylesheets),e.unsuspend)){var l=e.unsuspend;e.unsuspend=null,l()}},(e.imgBytes>js?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(i)}}:null}function qo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)mo(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Yo=null;function mo(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Yo=new Map,t.forEach(S1,e),Yo=null,qo.call(e))}function S1(e,t){if(!(t.state.loading&4)){var n=Yo.get(e);if(n)var a=n.get(null);else{n=new Map,Yo.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),l=0;l<i.length;l++){var o=i[l];(o.nodeName==="LINK"||o.getAttribute("media")!=="not all")&&(n.set(o.dataset.precedence,o),a=o)}a&&n.set(null,a)}i=t.instance,o=i.getAttribute("data-precedence"),l=n.get(o)||a,l===a&&n.set(null,i),n.set(o,i),this.count++,a=qo.bind(this),i.addEventListener("load",a),i.addEventListener("error",a),l?l.parentNode.insertBefore(i,l.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var Ii={$$typeof:Kt,Provider:null,Consumer:null,_currentValue:Kn,_currentValue2:Kn,_threadCount:0};function N1(e,t,n,a,i,l,o,r,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Wr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wr(0),this.hiddenUpdates=Wr(null),this.identifierPrefix=a,this.onUncaughtError=i,this.onCaughtError=l,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Jp(e,t,n,a,i,l,o,r,s,c,f,p){return e=new N1(e,t,n,o,s,c,f,p,r),t=1,l===!0&&(t|=24),l=lt(3,null,null,t),e.current=l,l.stateNode=e,t=Bc(),t.refCount++,e.pooledCache=t,t.refCount++,l.memoizedState={element:a,isDehydrated:n,cache:t},qc(l),e}function Fp(e){return e?(e=$a,e):$a}function Wp(e,t,n,a,i,l){i=Fp(i),a.context===null?a.context=i:a.pendingContext=i,a=Tn(t),a.payload={element:n},l=l===void 0?null:l,l!==null&&(a.callback=l),n=On(e,a,t),n!==null&&(et(n,e,t),_i(n,e,t))}function uh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function hu(e,t){uh(e,t),(e=e.alternate)&&uh(e,t)}function Ip(e){if(e.tag===13||e.tag===31){var t=ra(e,67108864);t!==null&&et(t,e,67108864),hu(e,67108864)}}function dh(e){if(e.tag===13||e.tag===31){var t=ut();t=Ec(t);var n=ra(e,t);n!==null&&et(n,e,t),hu(e,t)}}var Vo=!0;function E1(e,t,n,a){var i=M.T;M.T=null;var l=ne.p;try{ne.p=2,mu(e,t,n,a)}finally{ne.p=l,M.T=i}}function j1(e,t,n,a){var i=M.T;M.T=null;var l=ne.p;try{ne.p=8,mu(e,t,n,a)}finally{ne.p=l,M.T=i}}function mu(e,t,n,a){if(Vo){var i=yc(a);if(i===null)Ns(e,t,a,Go,n),fh(e,a);else if(O1(i,e,t,n,a))a.stopPropagation();else if(fh(e,a),t&4&&-1<T1.indexOf(e)){for(;i!==null;){var l=Ia(i);if(l!==null)switch(l.tag){case 3:if(l=l.stateNode,l.current.memoizedState.isDehydrated){var o=Xn(l.pendingLanes);if(o!==0){var r=l;for(r.pendingLanes|=2,r.entangledLanes|=2;o;){var s=1<<31-ct(o);r.entanglements[1]|=s,o&=~s}Bt(l),(te&6)===0&&(Ro=rt()+500,ul(0,!1))}}break;case 31:case 13:r=ra(l,2),r!==null&&et(r,l,2),ar(),hu(l,2)}if(l=yc(a),l===null&&Ns(e,t,a,Go,n),l===i)break;i=l}i!==null&&a.stopPropagation()}else Ns(e,t,a,null,n)}}function yc(e){return e=Ac(e),pu(e)}var Go=null;function pu(e){if(Go=null,e=Na(e),e!==null){var t=tl(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=bh(t),e!==null)return e;e=null}else if(n===31){if(e=yh(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Go=e,null}function Pp(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(hb()){case Nh:return 2;case Eh:return 8;case yo:case mb:return 32;case jh:return 268435456;default:return 32}default:return 32}}var wc=!1,zn=null,Mn=null,_n=null,Pi=new Map,el=new Map,bn=[],T1="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 fh(e,t){switch(e){case"focusin":case"focusout":zn=null;break;case"dragenter":case"dragleave":Mn=null;break;case"mouseover":case"mouseout":_n=null;break;case"pointerover":case"pointerout":Pi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":el.delete(t.pointerId)}}function xi(e,t,n,a,i,l){return e===null||e.nativeEvent!==l?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:l,targetContainers:[i]},t!==null&&(t=Ia(t),t!==null&&Ip(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function O1(e,t,n,a,i){switch(t){case"focusin":return zn=xi(zn,e,t,n,a,i),!0;case"dragenter":return Mn=xi(Mn,e,t,n,a,i),!0;case"mouseover":return _n=xi(_n,e,t,n,a,i),!0;case"pointerover":var l=i.pointerId;return Pi.set(l,xi(Pi.get(l)||null,e,t,n,a,i)),!0;case"gotpointercapture":return l=i.pointerId,el.set(l,xi(el.get(l)||null,e,t,n,a,i)),!0}return!1}function eg(e){var t=Na(e.target);if(t!==null){var n=tl(t);if(n!==null){if(t=n.tag,t===13){if(t=bh(n),t!==null){e.blockedOn=t,Kd(e.priority,function(){dh(n)});return}}else if(t===31){if(t=yh(n),t!==null){e.blockedOn=t,Kd(e.priority,function(){dh(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function po(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=yc(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);Bs=a,n.target.dispatchEvent(a),Bs=null}else return t=Ia(n),t!==null&&Ip(t),e.blockedOn=n,!1;t.shift()}return!0}function hh(e,t,n){po(e)&&n.delete(t)}function A1(){wc=!1,zn!==null&&po(zn)&&(zn=null),Mn!==null&&po(Mn)&&(Mn=null),_n!==null&&po(_n)&&(_n=null),Pi.forEach(hh),el.forEach(hh)}function Il(e,t){e.blockedOn===t&&(e.blockedOn=null,wc||(wc=!0,_e.unstable_scheduleCallback(_e.unstable_NormalPriority,A1)))}var Pl=null;function mh(e){Pl!==e&&(Pl=e,_e.unstable_scheduleCallback(_e.unstable_NormalPriority,function(){Pl===e&&(Pl=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],i=e[t+2];if(typeof a!="function"){if(pu(a||n)===null)continue;break}var l=Ia(n);l!==null&&(e.splice(t,3),t-=3,ec(l,{pending:!0,data:i,method:n.method,action:a},a,i))}}))}function Fa(e){function t(s){return Il(s,e)}zn!==null&&Il(zn,e),Mn!==null&&Il(Mn,e),_n!==null&&Il(_n,e),Pi.forEach(t),el.forEach(t);for(var n=0;n<bn.length;n++){var a=bn[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<bn.length&&(n=bn[0],n.blockedOn===null);)eg(n),n.blockedOn===null&&bn.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var i=n[a],l=n[a+1],o=i[tt]||null;if(typeof l=="function")o||mh(n);else if(o){var r=null;if(l&&l.hasAttribute("formAction")){if(i=l,o=l[tt]||null)r=o.formAction;else if(pu(i)!==null)continue}else r=o.action;typeof r=="function"?n[a+1]=r:(n.splice(a,3),a-=3),mh(n)}}}function tg(){function e(l){l.canIntercept&&l.info==="react-transition"&&l.intercept({handler:function(){return new Promise(function(o){return i=o})},focusReset:"manual",scroll:"manual"})}function t(){i!==null&&(i(),i=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var l=navigation.currentEntry;l&&l.url!=null&&navigation.navigate(l.url,{state:l.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,i=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),i!==null&&(i(),i=null)}}}function gu(e){this._internalRoot=e}or.prototype.render=gu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(b(409));var n=t.current,a=ut();Wp(n,a,e,t,null,null)};or.prototype.unmount=gu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Wp(e.current,2,null,e,null,null),ar(),t[Wa]=null}};function or(e){this._internalRoot=e}or.prototype.unstable_scheduleHydration=function(e){if(e){var t=zh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<bn.length&&t!==0&&t<bn[n].priority;n++);bn.splice(n,0,e),n===0&&eg(e)}};var ph=gh.version;if(ph!=="19.2.8")throw Error(b(527,ph,"19.2.8"));ne.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(b(188)):(e=Object.keys(e).join(","),Error(b(268,e)));return e=ob(t),e=e!==null?wh(e):null,e=e===null?null:e.stateNode,e};var $1={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Si=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Si.isDisabled&&Si.supportsFiber))try{nl=Si.inject($1),st=Si}catch{}var Si;rr.createRoot=function(e,t){if(!vh(e))throw Error(b(299));var n=!1,a="",i=Qm,l=Zm,o=Km;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(l=t.onCaughtError),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Jp(e,1,!1,null,null,n,a,null,i,l,o,tg),e[Wa]=t.current,uu(e),new gu(t)};rr.hydrateRoot=function(e,t,n){if(!vh(e))throw Error(b(299));var a=!1,i="",l=Qm,o=Zm,r=Km,s=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onUncaughtError!==void 0&&(l=n.onUncaughtError),n.onCaughtError!==void 0&&(o=n.onCaughtError),n.onRecoverableError!==void 0&&(r=n.onRecoverableError),n.formState!==void 0&&(s=n.formState)),t=Jp(e,1,!0,t,n??null,a,i,s,l,o,r,tg),t.context=Fp(null),n=t.current,a=ut(),a=Ec(a),i=Tn(a),i.callback=null,On(n,i,a),n=a,t.current.lanes=n,il(t,n),Bt(t),e[Wa]=t.current,uu(e),new or(t)};rr.version="19.2.8"});var lg=Mt((WS,ig)=>{"use strict";function ag(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ag)}catch(e){console.error(e)}}ag(),ig.exports=ng()});var cd=H(ee(),1),Ov=H(Xe(),1),Av=H(lg(),1);var l2=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),o2=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]);var cg={id:"hold-animations",trick:"hold",needs:"layout",governs:"animations",because:"animations settled by the browser: finite fast-forwarded, infinite reset",screenshot:{animations:"disabled"}};var ug={id:"hide-caret",trick:"support",needs:"raster",governs:"caret",because:"text caret hidden, because it blinks on its own schedule",screenshot:{caret:"hide"}},dg={id:"hide-scrollbars",trick:"support",needs:"layout",governs:"scrollbars",because:"scrollbars hidden, removing a platform and preference difference \u2014 and their width",css:`*{scrollbar-width:none !important}
|
|
10
|
+
*::-webkit-scrollbar{display:none !important}`};var fg={id:"wait-for-fonts",trick:"wait",needs:"layout",governs:"fonts",because:"waited for web fonts, whose advances change every metric on the page",settle:async e=>{await e.evaluate(async()=>{await globalThis.document.fonts?.ready})}},hg={id:"wait-for-images",trick:"wait",needs:"layout",governs:"images",because:"waited for images to decode, since their intrinsic size participates in layout, and asked for the ones the browser had deferred",settle:async e=>{await e.evaluate(async()=>{let t=globalThis,n=Array.from(t.document.images).filter(r=>!r.complete),a=Promise.all(n.map(r=>new Promise(s=>{r.addEventListener("load",()=>s(),{once:!0}),r.addEventListener("error",()=>s(),{once:!0})}))),i=n.map(r=>r.loading);for(let r of n)r.loading="eager";let l,o=new Promise((r,s)=>{l=t.setTimeout(()=>{let c=n.filter(f=>!f.complete);s(new Error(`${c.length} image(s) had not loaded after 15000ms, and neither answered nor failed: ${c.map(f=>f.currentSrc||f.src).join(", ")}`))},15e3)});try{await Promise.race([a,o])}finally{t.clearTimeout(l);for(let r=0;r<n.length;r+=1)n[r].loading=i[r]}})}};var mg=[cg,dg,fg,hg],z1=[...mg,ug];var M1=Symbol.for("@variance-authority/jsx-source");var pg=["display","position","top","right","bottom","left","float","clear","width","height","min-width","min-height","max-width","max-height","margin-top","margin-right","margin-bottom","margin-left","padding-top","padding-right","padding-bottom","padding-left","box-sizing","overflow-x","overflow-y","z-index","aspect-ratio","flex-direction","flex-wrap","flex-grow","flex-shrink","flex-basis","justify-content","align-items","align-self","align-content","order","grid-template-columns","grid-template-rows","grid-template-areas","grid-auto-columns","grid-auto-rows","grid-auto-flow","grid-column-start","grid-column-end","grid-row-start","grid-row-end","row-gap","column-gap","font-family","font-size","font-weight","font-style","font-variant","font-stretch","line-height","letter-spacing","word-spacing","text-align","text-indent","text-transform","text-overflow","text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-thickness","white-space","word-break","overflow-wrap","vertical-align","writing-mode","direction","color","opacity","background-color","background-image","accent-color","-webkit-text-stroke-width","background-position","background-size","background-repeat","background-clip","background-origin","border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-color","border-right-color","border-bottom-color","border-left-color","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","outline-width","outline-style","outline-color","outline-offset","box-shadow","text-shadow","filter","backdrop-filter","mix-blend-mode","visibility","content-visibility","transform","transform-origin","object-fit","object-position","table-layout","border-collapse","border-spacing","caption-side"],vN=new Set(pg);var gg=["type","value","checked","disabled","readonly","required","multiple","placeholder","name","href","target","rel","src","alt","title","for","form","list","headers","colspan","rowspan","scope","lang","dir","hidden","open","selected","download","min","max","step","pattern","maxlength","minlength","autocomplete","role","tabindex","draggable","contenteditable","width","height","loading","decoding","srcset","sizes","poster","controls"],bN=new Set(gg);var hl=["id","for","form","list","headers","aria-labelledby","aria-describedby","aria-controls","aria-owns","aria-activedescendant","aria-details","aria-errormessage","aria-flowto"],ml=["headers","aria-labelledby","aria-describedby","aria-controls","aria-owns","aria-flowto"];var xN=new Set(ml),SN=new Set(hl);var $N={px:1,pt:96/72,pc:16,in:96,cm:96/2.54,mm:96/25.4,q:96/101.6},zN={deg:1,grad:.9,rad:180/Math.PI,turn:360};var vu=["color","font-family","font-size","font-weight","font-style","font-variant","font-stretch","line-height","letter-spacing","word-spacing","text-align","text-indent","text-transform","white-space","word-break","overflow-wrap","visibility","direction","writing-mode","caption-side","border-collapse","border-spacing"],kN=new Set(vu);var W1=["display","position","top","right","bottom","left","float","clear","width","height","min-width","min-height","max-width","max-height","margin-top","margin-right","margin-bottom","margin-left","padding-top","padding-right","padding-bottom","padding-left","box-sizing","overflow-x","overflow-y","aspect-ratio","flex-direction","flex-wrap","flex-grow","flex-shrink","flex-basis","justify-content","align-items","align-self","align-content","order","grid-template-columns","grid-template-rows","grid-template-areas","grid-auto-columns","grid-auto-rows","grid-auto-flow","grid-column-start","grid-column-end","grid-row-start","grid-row-end","row-gap","column-gap","font-family","font-size","font-weight","font-style","font-stretch","font-variant","line-height","letter-spacing","word-spacing","text-align","text-indent","text-transform","white-space","word-break","overflow-wrap","text-overflow","vertical-align","writing-mode","direction","border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-style","border-right-style","border-bottom-style","border-left-style","table-layout","border-collapse","border-spacing","caption-side","content-visibility"],I1=["color","background-color","background-image","background-position","background-size","background-repeat","background-clip","background-origin","border-top-color","border-right-color","border-bottom-color","border-left-color","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","box-shadow","text-shadow","text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-thickness","object-fit","object-position","outline-width","outline-style","outline-color","outline-offset","visibility"],P1=["transform","transform-origin","opacity","filter","backdrop-filter","mix-blend-mode","z-index"],sE=new Map([...W1.map(e=>[e,"layout"]),...I1.map(e=>[e,"paint"]),...P1.map(e=>[e,"composite"])]);var Og="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",dw=new Int8Array(128).fill(-1);for(let e=0;e<Og.length;e+=1)dw[Og.charCodeAt(e)]=e;var Cj=globalThis.URL;var Xj=new Set(hl),Qj=new Set(ml);var Nu="/v1/last-changed",Eu="/v1/churn",ju="/v1/flakiness";var Tu="/v1/reach";var Ou=class extends Error{status;name="ReviewRequestError";constructor(t,n){super(t),this.status=n}};function $g(e){let t=e.endpoint.replace(/\/$/,""),n=e.fetch??globalThis.fetch.bind(globalThis);async function a(l,o){let r={"content-type":"application/json"};e.token!==void 0&&(r.authorization=`Bearer ${e.token}`);let s=await n(`${t}${l}`,{...o,headers:r});if(!s.ok)throw new Ou(`${o?.method??"GET"} ${l} answered ${s.status}: ${await Yw(s)}`,s.status);return await s.json()}let i=l=>encodeURIComponent(l);return{async builds(l){return(await a(`/review/builds${l===void 0?"":`?limit=${l}`}`)).builds},build:l=>a(`/review/builds/${i(l)}`),changelog:(l={})=>a(`/review/changelog${vl({component:l.component,subject:l.subject,since:l.since,limit:l.limit})}`),churn:(l,o)=>a(`${Eu}${vl({component:l,...o})}`),reach:(l,o)=>a(`${Tu}${vl({component:l,...o})}`),flakiness:(l,o)=>a(`${ju}${vl({subject:l,...o})}`),async lastChanged(l,o){return(await a(`${Nu}${vl({subject:l,component:o})}`)).observation},decide:(l,o,r,s,c)=>a(`/review/builds/${i(l)}/subjects/${i(o)}/decision`,{method:"POST",body:JSON.stringify({decision:r,by:s,...c===void 0?{}:{note:c}})}),sweep:l=>a(`/review/sweep${l===void 0?"":`?days=${l}`}`,{method:"POST"}),imageUrl:(l,o,r)=>`${t}/review/builds/${i(l)}/subjects/${i(o)}/${r}.png`}}function vl(e){let t=new URLSearchParams;for(let[a,i]of Object.entries(e))i!==void 0&&t.set(a,String(i));let n=t.toString();return n===""?"":`?${n}`}async function Yw(e){try{let t=await e.text();return t.trim()===""?"<no body>":t.slice(0,500)}catch{return"<body could not be read>"}}var di=H(ee(),1);var X=H(ee(),1),ii=H(Xe(),1);var fe=H(ee(),1),Au=H(Xe(),1);var ua=H(ee(),1);function zg(){return(0,ua.jsxs)("svg",{className:"va-brand",viewBox:"0 0 512 320",width:"34",height:"21","aria-hidden":"true",children:[(0,ua.jsx)("path",{fill:"currentColor",d:"M64 54H159L256 266H160Z"}),(0,ua.jsx)("path",{fill:"currentColor",d:"M331 28H419L494 266H397Z"}),(0,ua.jsx)("path",{fill:"#ff4a19",d:"M256 266L202 152L283 28H376L301 165Z"}),(0,ua.jsx)("path",{fill:"#d83a13",d:"M202 152L256 266L301 165L264 103Z"})]})}var Vw=[{page:"builds",at:/^\/(?:index\.html)?$/,parts:[]},{page:"changelog",at:/^\/changelog$/,parts:[]},{page:"run",at:/^\/builds\/([^/]+)\/run$/,parts:["build"]},{page:"change",at:/^\/builds\/([^/]+)\/changes\/([^/]+)$/,parts:["build","change"]},{page:"subject",at:/^\/builds\/([^/]+)\/subjects\/([^/]+)$/,parts:["build","subject"]},{page:"build",at:/^\/builds\/([^/]+)$/,parts:["build"]}],Gw=["story","name","size","places"];function Mg(e){let t=new URL(e,"http://route.invalid");for(let n of Vw){let a=n.at.exec(t.pathname);if(a===null)continue;let i={};if(n.parts.forEach((r,s)=>{i[r]=decodeURIComponent(a[s+1]??"")}),n.page!=="build")return{page:n.page,...i};let l=t.searchParams.get("order"),o=Gw.find(r=>r===l);return{page:"build",build:i.build??"",...o===void 0?{}:{order:o}}}}function bl(e){let t=n=>encodeURIComponent(n);switch(e.page){case"builds":return"/";case"build":return e.order===void 0||e.order==="story"?`/builds/${t(e.build)}`:`/builds/${t(e.build)}?order=${e.order}`;case"change":return`/builds/${t(e.build)}/changes/${t(e.change)}`;case"subject":return`/builds/${t(e.build)}/subjects/${t(e.subject)}`;case"run":return`/builds/${t(e.build)}/run`;case"changelog":return"/changelog"}}function w(e,t,n){return`${x(e)} ${e===1?t:n??`${t}s`}`}function x(e){return e.toLocaleString("en-US")}function _g(e){return Xw[e]??`${e.slice(0,1).toUpperCase()}${e.slice(1).replace(/-/g," ")}`}var Xw={"control-without-name":"Nothing announces this control","image-without-alt":"An image with nothing to read","heading-level-skipped":"The heading outline skips a level","nested-interactive":"A control inside another control","dangling-reference":"A reference that points at nothing","label-mismatch":"The name and the visible words disagree","duplicate-landmark":"Two landmarks nothing tells apart","table-without-headers":"A table with no header cells","positive-tabindex":"Focus order forced out of document order",untranslated:"The same string in two locales","overflows-container":"A box outside the box that contains it"};function Rg(e){return e?.split("\u2192").at(-1)?.trim()}function Cg(e){let t=e.trim(),n=/[.!?]$/.test(t)?t:`${t}.`;return`${n.slice(0,1).toUpperCase()}${n.slice(1)}`}function rn(e){let t=new Date(e);if(Number.isNaN(t.getTime()))return e;let n=t.toLocaleDateString("en-GB",{day:"numeric",month:"short",timeZone:"UTC",year:"numeric"}),a=t.toLocaleTimeString("en-GB",{hour:"2-digit",minute:"2-digit",timeZone:"UTC"});return`${n}, ${a} UTC`}function Dg(e){let t=e.split("`");return t.length%2===0?[{text:e,code:!1}]:t.map((n,a)=>({text:n,code:a%2===1})).filter(n=>n.text!=="")}function Ug(e){let t=new Set(e.regions.map(n=>n.fingerprint).filter(n=>n!==void 0));return{...t.size===0?{}:{changes:t.size},regions:e.regions.length,unshaped:e.regions.filter(n=>n.fingerprint===void 0).length,areas:e.regions.map(n=>n.pixels??0).sort((n,a)=>a-n),total:e.changedPixels}}var Qw=3;function dr(e){let t=Ug(e);if(t.regions===0)return`${w(t.total,"pixel")} differ, in regions this run did not record`;let n=t.changes===void 0?w(t.regions,"region"):`${w(t.changes,"change")} over ${w(t.regions,"region")}`,a=t.areas.slice(0,Qw),i=t.areas.length-a.length,l=`${a.map(x).join(", ")} ${a[0]===1&&a.length===1?"pixel":"pixels"}${i===0?"":` and ${x(i)} smaller`}`,o=a.reduce((c,f)=>c+f,0),r=i===0&&o===t.total?"":` \xB7 ${x(t.total)} in all`,s=t.changes===void 0||t.unshaped===0?"":` \xB7 ${w(t.unshaped,"region")} the run recorded no shape for`;return`${n}: ${l}${r}${s}`}function fr(e){let t=Ug(e);return t.regions===0?w(t.total,"pixel"):t.changes===void 0?`${w(t.regions,"region")} \xB7 ${x(t.total)}px`:`${w(t.changes,"change")} \xB7 ${w(t.regions,"region")} \xB7 ${x(t.total)}px`}function hr({why:e,retry:t}){return(0,fe.jsxs)("p",{className:"va-failure",children:[e," ",(0,fe.jsx)("button",{type:"button",onClick:t,children:"retry"})]})}function yl({text:e}){return(0,fe.jsx)(fe.Fragment,{children:Dg(e).map((t,n)=>t.code?(0,fe.jsx)("code",{children:t.text},`${String(n)}-${t.text}`):(0,fe.jsx)(Au.Fragment,{children:t.text},`${String(n)}-${t.text}`))})}function ae({to:e,go:t,className:n,title:a,children:i}){return(0,fe.jsx)("a",{href:bl(e),className:n,...a===void 0?{}:{title:a},onClick:l=>{l.metaKey||l.ctrlKey||l.shiftKey||l.altKey||l.button!==0||(l.preventDefault(),t(e))},children:i})}function wl({crumbs:e,go:t,title:n,subtitle:a,children:i}){return(0,fe.jsxs)("header",{className:"va-topbar",children:[(0,fe.jsx)(zg,{}),(0,fe.jsx)("nav",{className:"va-crumbs",children:e.map(l=>(0,fe.jsxs)(Au.Fragment,{children:[(0,fe.jsx)(ae,{to:l.at,go:t,className:"va-crumb",children:l.say}),(0,fe.jsx)("span",{className:"va-crumb-sep",children:"/"})]},bl(l.at)))}),(0,fe.jsxs)("span",{className:"va-topbar-title",children:[(0,fe.jsx)("strong",{children:n}),a===void 0?null:(0,fe.jsx)("span",{className:"va-topbar-sub",children:a})]}),i]})}function kg({go:e}){return(0,fe.jsxs)("div",{className:"va-app",children:[(0,fe.jsx)(wl,{crumbs:[],go:e,title:"No page at this address"}),(0,fe.jsx)("div",{className:"va-body va-scroll",children:(0,fe.jsxs)("div",{className:"va-page",children:[(0,fe.jsx)("p",{className:"va-note",children:"This service answers the build list, a build, a change, a subject, a run and the changelog. Whatever this link pointed at, it is not one of them \u2014 a link from a later version of the surface, or one that has been edited."}),(0,fe.jsx)("p",{children:(0,fe.jsx)(ae,{to:{page:"builds"},go:e,className:"va-mode",children:"Go to the builds"})})]})})]})}function sn(e){return e instanceof Error?e.message:String(e)}function Bg({client:e,limit:t,go:n}){let[a,i]=(0,ii.useState)({state:"loading"}),l=(0,ii.useCallback)(async()=>{i({state:"loading"});try{i({state:"ready",value:await e.builds(t)})}catch(o){i({state:"failed",why:sn(o)})}},[e,t]);return(0,ii.useEffect)(()=>{l()},[l]),(0,X.jsxs)("div",{className:"va-app",children:[(0,X.jsx)(wl,{crumbs:[],go:n,title:"Variance Authority",subtitle:a.state==="ready"?a.value[0]?.project??"review":"review",children:(0,X.jsx)("nav",{className:"va-nav va-topbar-meta",children:(0,X.jsx)(ae,{to:{page:"changelog"},go:n,className:"va-mode",children:"Changelog"})})}),(0,X.jsx)("div",{className:"va-body va-scroll",children:(0,X.jsxs)("div",{className:"va-page",children:[a.state==="loading"?(0,X.jsx)("p",{className:"va-note",children:"Loading builds\u2026"}):null,a.state==="failed"?(0,X.jsx)(hr,{why:a.why,retry:l}):null,a.state==="ready"?(0,X.jsx)(Hg,{builds:a.value,go:n}):null]})})]})}function Hg({builds:e,go:t}){return e.length===0?(0,X.jsx)("p",{className:"va-note",children:"No builds have been posted yet."}):(0,X.jsx)("ol",{className:"va-builds",children:e.map(n=>(0,X.jsxs)("li",{className:"va-build",children:[(0,X.jsxs)("p",{className:"va-build-head",children:[(0,X.jsxs)(ae,{to:{page:"build",build:n.build},go:t,className:"va-build-open",children:[(0,X.jsx)("span",{className:"va-build-id",children:n.build}),(0,X.jsx)("span",{className:"va-build-go",children:"Review \u2192"})]}),(0,X.jsx)("code",{className:"va-commit",children:n.commit.slice(0,8)}),n.branch===void 0?null:(0,X.jsx)("span",{className:"va-branch",children:n.branch}),(0,X.jsx)("span",{className:"va-when",children:rn(n.at)})]}),(0,X.jsx)(Zw,{build:n}),(0,X.jsx)(mr,{build:n})]},n.build))})}function Zw({build:e}){return(0,X.jsxs)("p",{className:"va-verdicts",children:[(0,X.jsx)("span",{className:e.pending>0?"va-pending":"va-settled",children:e.pending>0?`${x(e.pending)} awaiting review`:"nothing awaiting review"}),(0,X.jsxs)("span",{className:"va-counts",children:[e.verdicts.changed," changed \xB7 ",e.verdicts.new," new \xB7"," ",e.verdicts.incomparable," incomparable \xB7 ",e.verdicts.ignored," ignored \xB7"," ",e.verdicts.unchanged," unchanged"]})]})}function mr({build:e}){let{coverage:t}=e;if(!t.stated)return(0,X.jsx)("p",{className:"va-coverage va-unknown",children:"This report did not say which subjects it skipped, so its coverage is unknown \u2014 not clean."});let n=Object.values(e.verdicts).reduce((i,l)=>i+l,0),a=n+t.failed+t.excluded+t.unreached;return(0,X.jsxs)("p",{className:t.failed>0?"va-coverage va-incomplete":"va-coverage",children:[(0,X.jsx)("span",{className:"va-num",children:n})," of ",(0,X.jsx)("span",{className:"va-num",children:a})," observed",t.unreached===0?null:(0,X.jsxs)(X.Fragment,{children:[" \xB7 ",(0,X.jsx)("span",{className:"va-num",children:t.unreached})," not reached by this change"]}),t.failed===0?null:(0,X.jsxs)(X.Fragment,{children:[" \xB7 ",t.failed," failed to render"]}),t.excluded===0?null:(0,X.jsxs)(X.Fragment,{children:[" \xB7 ",t.excluded," excluded by configuration"]})]})}var D=H(ee(),1),ci=H(Xe(),1);var _=H(ee(),1),jl=H(Xe(),1);var O=H(ee(),1),ri=H(Xe(),1);var Kw=[];function pr(e){let t=new Map,n=new Map;for(let a of e.movements){t.set(Lg(a.component,a.subject),a);let i=n.get(a.component);i===void 0?n.set(a.component,[a]):i.push(a)}return{at:(a,i)=>t.get(Lg(a,i)),about:a=>n.get(a)??Kw}}var Jw="\0";function Lg(e,t){return`${e}${Jw}${t}`}var qg=["edited","token","upstream","contradicted","unexplained"];function Yg(e){let t;for(let n of e)(t===void 0||qg.indexOf(n.cause)<qg.indexOf(t))&&(t=n.cause);return t}function Hn(e){return e.regions.find(t=>t.cause===!0)}function Ln(e){return Hn(e)?.component}function $u(e){return Hn(e)?.fingerprint}function qn(e){let t=new Map(e.causes.map(r=>[r.component,r.file])),n=pr(e),a=new Map,i=[];for(let r of e.subjects){if(r.verdict!=="changed")continue;let s=Hn(r);if(s?.component===void 0){i.push(r);continue}let c=a.get(s.component)??{pixels:0,where:[]};c.pixels+=s.pixels;let f=n.at(s.component,r.subject);c.where.push({subject:r,pixels:s.pixels,...s.fingerprint===void 0?{}:{shape:s.fingerprint},...f===void 0?{}:{movement:f},alongside:[...new Set(r.regions.map(p=>p.component).filter(p=>p!==void 0&&p!==s.component))].sort()}),a.set(s.component,c)}let l=e.reach!==null&&e.reach.whole===void 0?e.reach:null;return{origins:[...a.entries()].map(([r,s])=>{let c=t.get(r),f=l?.components.find(u=>u.component===r),p=Yg(s.where.flatMap(u=>u.movement??[]));return{component:r,pixels:s.pixels,appearances:s.where,...p===void 0?{}:{cause:p},...c===void 0?{}:{file:c},...l===null?{}:{reached:f!==void 0,...Fw(l,s.where)},...f===void 0?{}:{trail:f.trail}}}).sort((r,s)=>s.pixels===r.pixels?r.component.localeCompare(s.component):s.pixels-r.pixels),unattributed:i}}function Fw(e,t){let n=new Set,a=[],i=[];for(let{subject:l}of t){let o=e.subjects?.[l.subject];if(o===void 0)i.push(l.subject);else if(o.reached)for(let r of o.through)n.add(r);else a.push(l.subject)}return{through:[...n].sort(),stranded:a,unlisted:i}}function Vg(e){let t=new Set;for(let{movement:n}of e.appearances)if(n!==void 0){if(n.cause==="edited"&&n.file!==void 0&&t.add(n.file),n.cause==="token")for(let a of n.tokens??[])t.add(a);n.cause==="upstream"&&n.upstream!==void 0&&t.add([n.upstream,...n.through??[]].join(" \u2192 "))}return t.size===0&&e.file!==void 0&&t.add(e.file),[...t].sort()}function gr(e){let t=new Map;for(let n of e)n.shape!==void 0&&t.set(n.shape,(t.get(n.shape)??0)+1);return t}function Gg(e){let t=new Map,n=[];for(let l of e.appearances){if(l.shape===void 0){n.push(l.subject.subject);continue}t.set(l.shape,[...t.get(l.shape)??[],l])}let a=[...t].map(([l,o])=>{let r=o.map(s=>s.pixels);return{shape:l,renders:o.map(s=>s.subject.subject).sort(),least:Math.min(...r),most:Math.max(...r)}});return{shapes:a.map(l=>{let o=Ww(l.renders,a.filter(r=>r.shape!==l.shape).flatMap(r=>r.renders));return o===void 0?l:{...l,only:o}}).sort((l,o)=>o.most-l.most||l.shape.localeCompare(o.shape)),unshaped:n.sort()}}var zu=new Set(["/","@",":","-",".","_"]);function Ww(e,t){if(e.length<2)return;let[n="",...a]=e,i=n.length;for(let o of a){let r=0;for(;r<i&&r<o.length&&o[r]===n[r];)r+=1;i=r}if(!e.every(o=>o.length===i||zu.has(o[i]??"")))for(;i>0&&!zu.has(n[i-1]??"");)i-=1;for(;i>0&&zu.has(n[i-1]??"");)i-=1;let l=n.slice(0,i);if(l!=="")return t.some(o=>o.startsWith(l))?void 0:l}var S=H(ee(),1),jt=H(Xe(),1);function Mu({client:e,onBack:t}){let[n,a]=(0,jt.useState)(""),[i,l]=(0,jt.useState)(""),[o,r]=(0,jt.useState)({state:"loading"}),s=(0,jt.useCallback)(async()=>{r({state:"loading"});try{r({state:"ready",value:await e.changelog(i===""?{}:{component:i})})}catch(c){r({state:"failed",why:Zg(c)})}},[e,i]);return(0,jt.useEffect)(()=>{s()},[s]),(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("header",{className:"va-topbar",children:[(0,S.jsx)("button",{type:"button",className:"va-back",onClick:t,children:"\u2190"}),(0,S.jsxs)("span",{className:"va-topbar-title",children:[(0,S.jsx)("strong",{children:"Changelog"}),(0,S.jsx)("span",{className:"va-topbar-sub",children:"every approval on record"})]})]}),(0,S.jsx)("div",{className:"va-body va-scroll",children:(0,S.jsxs)("article",{className:"va-page va-changelog",children:[(0,S.jsx)("p",{className:"va-subtitle",children:"Why the baselines are what they are: every approval, grouped by the shape that was approved."}),(0,S.jsxs)("form",{className:"va-filter",onSubmit:c=>{c.preventDefault(),l(n.trim())},children:[(0,S.jsx)("label",{htmlFor:"va-changelog-component",children:"component"}),(0,S.jsx)("input",{id:"va-changelog-component",value:n,placeholder:"any component",onChange:c=>a(c.target.value)}),(0,S.jsx)("button",{type:"submit",children:"Filter"}),i===""?null:(0,S.jsx)("button",{type:"button",onClick:()=>{a(""),l("")},children:"Clear"})]}),o.state==="loading"?(0,S.jsx)("p",{className:"va-note",children:"Loading the changelog\u2026"}):null,o.state==="failed"?(0,S.jsx)(Qg,{why:o.why,retry:s}):null,o.state==="ready"?(0,S.jsx)(Xg,{log:o.value,...i===""?{}:{filter:i}}):null]})})]})}function Xg({log:e,filter:t}){return e.changes.length===0&&e.ungrouped.length===0?(0,S.jsx)("p",{className:"va-note",children:t===void 0?"Nothing has been approved in this project yet.":`No approval matched \u201C${t}\u201D. The project may still have approvals under other components.`}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("ol",{className:"va-changes",children:e.changes.map(n=>(0,S.jsx)(Iw,{change:n},n.fingerprint))}),e.ungrouped.length===0?null:(0,S.jsxs)("section",{className:"va-ungrouped",children:[(0,S.jsxs)("h2",{children:[e.ungrouped.length," approved without an attributed shape"]}),(0,S.jsx)("p",{className:"va-note",children:"These runs kept no region attribution \u2014 an ephemeral or raster-only path \u2014 so nothing names what changed in them. Listed rather than dropped: they are approvals, and a total that omits them is not a total."}),(0,S.jsx)("ul",{children:e.ungrouped.map(n=>(0,S.jsxs)("li",{children:[(0,S.jsx)("strong",{children:n.subject})," \u2014 ",n.by," \xB7 ",(0,S.jsx)("code",{children:n.commit.slice(0,8)})," \xB7"," ",rn(n.at)]},`${n.build}/${n.subject}`))})]})]})}function Iw({change:e}){return(0,S.jsxs)("li",{className:"va-change",children:[(0,S.jsxs)("h3",{children:[e.component??"an unnamed component",e.file===void 0?null:(0,S.jsxs)(S.Fragment,{children:[" ",(0,S.jsx)("code",{children:e.file})]})]}),(0,S.jsxs)("p",{className:"va-change-meta",children:[e.subjects.length," subject",e.subjects.length===1?"":"s"," \xB7"," ",e.builds.length," build",e.builds.length===1?"":"s"," \xB7 approved by"," ",e.by.join(", ")," \xB7 ",rn(e.at)]}),e.intent===void 0?null:(0,S.jsxs)("p",{className:"va-intent",children:["Declared intent: ",(0,S.jsx)("em",{children:e.intent})]}),e.note===void 0?null:(0,S.jsx)("p",{className:"va-change-note",children:e.note}),(0,S.jsxs)("details",{children:[(0,S.jsx)("summary",{children:"subjects"}),(0,S.jsx)("ul",{className:"va-change-subjects",children:e.subjects.map(t=>(0,S.jsx)("li",{children:t},t))})]}),(0,S.jsxs)("p",{className:"va-fingerprint",children:["shape ",(0,S.jsx)("code",{children:e.fingerprint.slice(0,12)})," \u2014 the identity the grouping is computed from, so a shape approved across three sessions reads as one change."]})]})}function _u({client:e,subject:t}){let n=Ln(t),[a,i]=(0,jt.useState)(!1),[l,o]=(0,jt.useState)({state:"loading"}),r=(0,jt.useCallback)(async()=>{o({state:"loading"});try{let[s,c,f]=await Promise.all([e.flakiness(t.subject),n===void 0?void 0:e.churn(n),n===void 0?void 0:e.reach(n)]);o({state:"ready",flakiness:s,...c===void 0?{}:{churn:c},...f===void 0?{}:{reach:f}})}catch(s){o({state:"failed",why:Zg(s)})}},[e,t.subject,n]);return(0,jt.useEffect)(()=>{a&&r()},[a,r]),a?l.state==="loading"?(0,S.jsx)("p",{className:"va-note",children:"Reading the record\u2026"}):l.state==="failed"?(0,S.jsx)(Qg,{why:l.why,retry:r}):(0,S.jsxs)("section",{className:"va-history",children:[(0,S.jsx)(vr,{flakiness:l.flakiness}),l.churn===void 0||n===void 0?(0,S.jsx)("p",{className:"va-note",children:"No component was named as the cause of this difference, so there is nothing to ask the record about. The regions came from a run that attributed nothing."}):(0,S.jsx)(br,{component:n,churn:l.churn,...l.reach===void 0?{}:{reach:l.reach}})]}):(0,S.jsx)("p",{className:"va-history",children:(0,S.jsx)("button",{type:"button",className:"va-ask",onClick:()=>i(!0),children:"Has this changed before?"})})}function vr({flakiness:e}){return e.sweeps===0?(0,S.jsx)("p",{className:"va-stability va-unknown",children:"Nothing has read this subject twice in the recorded window, so how stable it is is unknown \u2014 not stable. A rate needs a run that swept."}):e.occurrences===0?(0,S.jsxs)("p",{className:"va-stability",children:["Read twice in ",e.sweeps," run",e.sweeps===1?"":"s"," and never disagreed with itself."]}):(0,S.jsxs)("p",{className:"va-stability va-flaky",children:["Read differently in ",e.occurrences," of ",e.sweeps," sweeps",e.rate===void 0?null:(0,S.jsxs)(S.Fragment,{children:[" (",Math.round(e.rate*100),"%)"]}),e.sweepsSince===0?", most recently in the latest sweep":`, none in the last ${e.sweepsSince} sweep${e.sweepsSince===1?"":"s"}`,".",e.causes.length===0?null:(0,S.jsxs)(S.Fragment,{children:[" ","Loudest cause: ",(0,S.jsx)("strong",{children:e.causes[0]?.component??"unnamed"}),e.causes[0]?.band===void 0?null:(0,S.jsxs)(S.Fragment,{children:[" (",e.causes[0].band,")"]}),"."]}),e.absorbedRuns===0?null:(0,S.jsxs)(S.Fragment,{children:[" ",w(e.absorbedRuns,"further run")," moved only in bands this subject declared it does not assert on."]})]})}function br({component:e,churn:t,reach:n}){return t.runs===0?(0,S.jsxs)("p",{className:"va-churn va-unknown",children:["No recorded run carries ",(0,S.jsx)("strong",{children:e}),", so how often it changes is unknown \u2014 not none."]}):(0,S.jsxs)("p",{className:"va-churn",children:[(0,S.jsx)("strong",{children:e})," caused an approved change in ",t.changedRuns," of ",t.runs," ","recorded run",t.runs===1?"":"s",t.lastAt===void 0?null:(0,S.jsxs)(S.Fragment,{children:[", most recently ",t.lastAt]}),".",t.collateralRuns===0?null:(0,S.jsxs)(S.Fragment,{children:[" It was displaced without changing in ",t.collateralRuns," more."]}),t.rejectedRuns===0?null:(0,S.jsxs)(S.Fragment,{children:[" ",t.rejectedRuns," change to it was rejected."]}),n===void 0?null:(0,S.jsxs)(S.Fragment,{children:[" ","It is observed in ",n.subjects.length," subject",n.subjects.length===1?"":"s",n.arrived.length===0?null:(0,S.jsxs)(S.Fragment,{children:[", having arrived in ",n.arrived.length," of them in this window"]}),"."]})]})}function Qg({why:e,retry:t}){return(0,S.jsxs)("p",{className:"va-failure",children:[e," ",(0,S.jsx)("button",{type:"button",onClick:t,children:"retry"})]})}function Zg(e){return e instanceof Error?e.message:String(e)}function xl(e){return Pw[e]??e}var Pw={a11y:"what it announces",geometry:"its layout",token:"its style values",content:"its text",texture:"its texture"};function oi(e){let t=e.map(xl);return t.length<=1?t[0]??"":`${t.slice(0,-1).join(", ")} and ${t[t.length-1]??""}`}function Sl(e){let t=new Set(e.regions.map(i=>i.component).filter(i=>i!==void 0)),n=(e.moved??[]).map(i=>({...i,drawn:t.has(i.component)})),a=new Set(n.map(i=>i.component));return{measured:e.moved!==void 0,moved:n,missed:n.filter(i=>i.cause&&!i.drawn),pushed:e.moved===void 0?[]:[...t].filter(i=>!a.has(i)).sort()}}function Kg(e,t){let n=new Set,a=[],i=[],l=new Map;for(let{subject:o}of t){let r=Sl(o);if(!r.measured){i.push(o.subject);continue}for(let s of r.moved){if(s.component===e){for(let f of s.bands)n.add(f);s.drawn||a.push(o.subject);continue}let c=l.get(s.component)??new Set;for(let f of s.bands)c.add(f);l.set(s.component,c)}}return{measured:t.length-i.length,bands:li(n),missedIn:a,unmeasured:i,alongside:[...l.entries()].map(([o,r])=>({component:o,bands:li(r)})).sort((o,r)=>o.component.localeCompare(r.component))}}var yr=["a11y","geometry","token","content","texture"];function li(e){let t=new Set(e),n=yr.filter(i=>t.has(i)),a=[...t].filter(i=>!yr.includes(i)).sort();return[...n,...a]}function Jg(e,t,n){let a=[];for(let i of t){if(i.verdict!=="changed"||n.has(i.subject)||!(i.moved??[]).some(r=>r.component===e&&r.cause))continue;let o=Ln(i);a.push({subject:i.subject,...o===void 0?{}:{filedUnder:o},drawn:i.regions.some(r=>r.component===e)})}return a}var Fg={a11y:"the role, name and state of every node in it",geometry:"its nodes\u2019 boxes, and the layout properties they compute to",token:"the style properties it declares, and the tokens behind them",content:"the text its nodes carry",texture:"the pixels themselves, after the other four agreed"};function Pg({origin:e,elsewhere:t,open:n}){let a=gr(e.appearances).size,i=e.appearances.length+t;return(0,O.jsxs)("p",{className:"va-tally",children:[(0,O.jsxs)("span",{title:"Every render this component moved in, wherever the docket filed it.",children:[(0,O.jsx)("strong",{children:w(i,"render")})," to know about"]}),(0,O.jsx)("span",{title:"Distinct shapes among the renders on this page \u2014 how many pictures there are to look at, rather than how many renders carry them.",children:a===0?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("strong",{children:"no shape"})," was recorded, so nothing says whether these moved the same way"]}):(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("strong",{children:w(a,"difference")})," to review"]})}),(0,O.jsx)("span",{title:"Renders on this page that are open and approvable \u2014 what pressing approve settles.",children:n===0?(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("strong",{children:"nothing"})," left to accept"]}):(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("strong",{children:w(n,"render")})," to accept"]})}),(0,O.jsxs)("span",{className:"va-note",children:[x(e.pixels)," px"]})]})}function e0({file:e,sourced:t}){return e!==void 0?(0,O.jsx)("code",{className:"va-file",children:e}):(0,O.jsx)("span",{className:"va-note",title:t?"This run resolved files for other components in this build, so this is a name its source index does not declare \u2014 a component out of a dependency, or one produced at build time.":"This run resolved no source files at all, so nothing here says where any of these components are declared.",children:t?"not in the scanned source":"no source index"})}function t0({origin:e}){if(e.reached===void 0)return null;if(e.reached){let i=e.trail;return(0,O.jsx)("p",{className:"va-reaches va-reached",children:i===void 0?"This commit reaches it.":(0,O.jsxs)(O.Fragment,{children:["This commit reaches it:"," ",i.map((l,o)=>(0,O.jsxs)("span",{children:[o===0?null:(0,O.jsx)("span",{className:"va-arrow",children:"\u2192"}),o===i.length-1?(0,O.jsx)("strong",{children:l}):(0,O.jsx)("code",{children:l})]},l))]})})}let t=e.stranded??[],n=e.unlisted??[],a=e.through??[];return t.length>0?(0,O.jsxs)("p",{className:"va-reaches va-alarm",children:["This commit reaches nothing at all in ",w(t.length,"render")," it moved in \u2014"," ",t.slice(0,3).join(", "),t.length>3?`, and ${w(t.length-3,"other")}`:"",". Something changed there that the diff cannot account for."]}):e.cause!==void 0?n.length===0?null:(0,O.jsx)("p",{className:"va-reaches va-unnamed",children:(0,O.jsx)(Wg,{renders:n.length})}):(0,O.jsxs)("p",{className:"va-reaches va-unnamed",children:["The commit reaches nothing called ",(0,O.jsx)("strong",{children:e.component})," \u2014 the file graph carries no such name, which is what a component out of a dependency looks like from here."," ",a.length===0?"It does reach every render this moved in, without naming a component in any of them.":`It does reach every render this moved in, through ${a.slice(0,4).join(", ")}${a.length>4?` and ${w(a.length-4,"other")}`:""} \u2014 so either one of those drew this node, or something reaches it that the graph does not model.`,n.length===0?null:(0,O.jsxs)(O.Fragment,{children:[" ",(0,O.jsx)(Wg,{renders:n.length})]})]})}function Wg({renders:e}){return(0,O.jsxs)(O.Fragment,{children:[w(e,"render")," it moved in ",e===1?"has":"have"," no reach recorded at all, so nothing the commit reaches was ever weighed against"," ",e===1?"it":"them","."]})}function n0({crossing:e,origin:t}){if(e.state!=="ready")return null;let n=t.appearances.map(({subject:c})=>e.of(c.subject)).filter(c=>c!==void 0);if(n.length===0)return null;let a=`build ${e.earlier.build}`,i=n.filter(c=>c.shift==="again"),l=i.filter(c=>c.earlier?.decision==null).length,o=n.filter(c=>c.shift==="differently").length,r=n.filter(c=>c.shift==="first").length,s=n.filter(c=>c.shift==="new").length;return i.length===0&&o===0&&r===0&&s===0?null:(0,O.jsxs)("p",{className:i.length>0?"va-since va-known":"va-since",children:[i.length===0?null:(0,O.jsxs)(O.Fragment,{children:[i.length===n.length?"Every one of these":w(i.length,"of these")," ","carried the same difference in ",a,l===0?", and every one was decided there.":l===i.length?", and none of them was decided there.":`, and ${x(l)} of them went undecided there.`," "]}),o===0?null:(0,O.jsxs)(O.Fragment,{children:[w(o,"render")," differed in ",a," too, but not in the same way: the difference itself changed between the two builds."," "]}),r===0?null:(0,O.jsxs)(O.Fragment,{children:[w(r,"render")," moved for the first time; ",a," compared"," ",r===1?"it":"them"," and found nothing."," "]}),s===0?null:(0,O.jsxs)(O.Fragment,{children:[w(s,"render")," did not exist in ",a,"."]})]})}function Ig(e){return e.length<=14?e:`${e.slice(0,14)}\u2026`}function a0({origin:e}){let{shapes:t,unshaped:n}=Gg(e);if(t.length===0)return null;let a=t.length===1&&n.length===0?t[0]:void 0;return a!==void 0?(0,O.jsxs)("p",{className:"va-note",children:["The same difference in every one of the ",w(e.appearances.length,"render"),"."," ",(0,O.jsxs)("code",{title:a.shape,children:["variance accept --shape ",Ig(a.shape)]})," takes exactly this set."]}):(0,O.jsxs)("section",{className:"va-parted",children:[(0,O.jsxs)("h2",{children:[w(t.length,"shape")," over ",w(e.appearances.length,"render")]}),(0,O.jsx)("ul",{children:t.map(i=>(0,O.jsxs)("li",{children:[(0,O.jsxs)("p",{className:"va-parted-head",children:[(0,O.jsxs)("span",{className:"va-num",children:[ex(i.least,i.most)," px"]}),i.only===void 0?null:(0,O.jsx)("span",{className:"va-parted-only",children:i.only}),(0,O.jsxs)("code",{className:"va-parted-take",title:i.shape,children:["--shape ",Ig(i.shape)]})]}),(0,O.jsx)("p",{className:"va-parted-in va-note",children:i.renders.join(", ")})]},i.shape))}),n.length===0?null:(0,O.jsxs)("p",{className:"va-note",children:[w(n.length,"render")," recorded no shape, so they are not known to match anything here: ",n.join(", "),"."]})]})}function ex(e,t){return e===t?x(e):`${x(e)}\u2013${x(t)}`}function i0({client:e,component:t}){let[n,a]=(0,ri.useState)(null),i=(0,ri.useCallback)(async()=>{try{a(await e.churn(t))}catch{a(null)}},[e,t]);return(0,ri.useEffect)(()=>{i()},[i]),n===null||n.runs===0?null:(0,O.jsx)(br,{component:t,churn:n})}function l0({build:e}){let t=e.causes[0]?.collateralPixels;return t===void 0||t===0?null:(0,O.jsxs)("p",{className:"va-note va-collateral-note",children:[w(t,"collateral pixel")," moved in this build alongside the changes \u2014 regions that shifted because something else did. Counted for the build, never split between the changes."]})}function o0(){return(0,O.jsxs)("p",{className:"va-evidence",children:["Each band is a digest comparison \u2014"," ",yr.filter(e=>e!=="texture").map((e,t)=>(0,O.jsxs)("span",{children:[t===0?"":"; ",(0,O.jsx)("em",{children:xl(e)})," over ",Fg[e]]},e)),". The baseline keeps the digests and not the values, so a band names which of them differ and not what they became."]})}var Re=H(ee(),1);function r0({origin:e,build:t,changes:n,go:a}){let i=e.appearances.flatMap(({movement:l})=>l??[]);return i.length===0?null:(0,Re.jsx)(Re.Fragment,{children:tx(i).map(({movement:l,renders:o})=>(0,Re.jsxs)("p",{className:`va-attributed va-attributed-${l.cause}`,children:[(0,Re.jsx)(nx,{movement:l,build:t,changes:n,go:a}),o===e.appearances.length?null:(0,Re.jsxs)("span",{className:"va-note",children:[" ","\u2014 in ",w(o,"render")," of ",x(e.appearances.length),"."]})]},l.because))})}function tx(e){let t=new Map;for(let n of e){let a=t.get(n.because);a===void 0?t.set(n.because,{movement:n,renders:1}):a.renders+=1}return[...t.values()].sort((n,a)=>a.renders-n.renders)}function nx({movement:e,build:t,changes:n,go:a}){let i=e.upstream,l=i!==void 0&&n.has(i);return(0,Re.jsxs)(Re.Fragment,{children:[(0,Re.jsx)(Ru,{say:e.because}),e.standing===void 0?null:(0,Re.jsx)("span",{className:e.standing==="flake"?" va-mark va-alarm":" va-mark va-note",children:e.standing==="flake"?"this render already failed to read the same way twice":"nobody has read this render twice yet"}),l?(0,Re.jsxs)(Re.Fragment,{children:[" ",(0,Re.jsxs)(ae,{to:{page:"change",build:t,change:i},go:a,className:"va-attributed-go",title:`The decision belongs to ${i}, which is a change on this build`,children:["Decide it under ",i]})]}):null]})}function Ru({say:e}){return(0,Re.jsx)(Re.Fragment,{children:e.split("`").map((t,n)=>n%2===0?(0,Re.jsx)("span",{children:t},n):(0,Re.jsx)("code",{children:t},n))})}var K=H(ee(),1);function s0(e,t){let n=e.reach?.subjects;if(n===void 0)return null;let a=new Set((e.reach?.components??[]).filter(f=>f.trail[0]===t).map(f=>f.component));if(a.size===0)return null;let i=new Map(e.subjects.map(f=>[f.subject,f.verdict])),l=[],o=[],r=[],s=0,c=0;for(let[f,p]of Object.entries(n))if(!(!p.reached||!(p.through??[]).some(u=>a.has(u))))switch(s+=1,i.get(f)){case"changed":c+=1;break;case"unchanged":l.push(f);break;case"ignored":o.push(f);break;default:r.push(f)}return{reached:s,moved:c,still:l.sort(),excluded:o.sort(),uncompared:r.sort()}}function c0(e){let t=e.reach?.subjects;return t===void 0?null:e.subjects.filter(n=>n.verdict==="changed"&&t[n.subject]?.reached!==!0).map(n=>n.subject).sort()}function d0(e,t){let n=ix(t),a=new Map,i=[];for(let o of e){let r=new Map;for(let{movement:s}of o.appearances)for(let c of ax(s,n))r.set(c,(r.get(c)??0)+1);if(r.size===0){i.push(o);continue}for(let[s,c]of r){let[f,p]=lx(s),u=a.get(s)??{kind:f,name:p,changes:[]};u.changes.push({origin:o,...c===o.appearances.length?{}:{of:c}}),a.set(s,u)}}return{roots:[...a.values()].map(o=>({...o,changes:[...o.changes].sort((r,s)=>r.origin.component.localeCompare(s.origin.component)),renders:o.changes.reduce((r,{origin:s,of:c})=>r+(c??s.appearances.length),0)})).sort((o,r)=>u0.indexOf(o.kind)-u0.indexOf(r.kind)||o.name.localeCompare(r.name)),loose:i}}var u0=["file","token","component"];function ax(e,t){if(e===void 0)return[];switch(e.cause){case"edited":return e.file===void 0?[]:[wr("file",e.file)];case"token":return(e.tokens??[]).map(n=>wr("token",n));case"upstream":{let n=e.upstream;if(n===void 0)return[];let a=t.get(n);return[a===void 0?wr("component",n):wr("file",a)]}default:return[]}}function ix(e){let t=new Set(e.reach?.changed??[]),n=new Map;for(let a of e.reach?.components??[]){let i=a.trail[0];i!==void 0&&t.has(i)&&n.set(a.component,i)}for(let a of e.causes)a.file!==void 0&&t.has(a.file)&&n.set(a.component,a.file);return n}var f0="\0";function wr(e,t){return`${e}${f0}${t}`}function lx(e){let t=e.indexOf(f0);return[e.slice(0,t),e.slice(t+1)]}var ox=[{lane:"stranded",title:"Nothing reaches these"},{lane:"reached",title:"Edited"},{lane:"contradicted",title:"Same props, two renderings"},{lane:"unexplained",title:"Nothing explains these"},{lane:"upstream",title:"Owner edited"},{lane:"token",title:"Token moved"},{lane:"unnamed",title:"Not in the diff"},{lane:"unread",title:"No diff read"},{lane:"decided",title:"Already decided"}];function h0(e){if(e.appearances.every(({subject:t})=>t.decision!==null))return"decided";if(e.reached===void 0)return"unread";if(e.reached)return"reached";if((e.stranded??[]).length>0)return"stranded";switch(e.cause){case"unexplained":return"unexplained";case"contradicted":return"contradicted";case"upstream":return"upstream";case"token":return"token";default:return"unnamed"}}function m0(e){return e.appearances.length}var rx={story:(e,t)=>e.component.localeCompare(t.component),name:(e,t)=>e.component.localeCompare(t.component),size:(e,t)=>t.pixels-e.pixels||e.component.localeCompare(t.component),places:(e,t)=>m0(t)-m0(e)||e.component.localeCompare(t.component)},xr={name:{title:"Every change, by component",why:"The alphabet, and nothing else. For when you know the name you are looking for."},size:{title:"Every change, largest first",why:"By the pixels the component\u2019s own regions moved. Useful for auditing a restyle, and misleading as a default: the biggest number on a page belongs to whatever reflowed furthest, not to what was edited."},places:{title:"Every change, widest first",why:"By how many renders each showed up in. This is blast radius, not severity \u2014 one token can be the widest change in a build and the least interesting one."}},v0=[{order:"story",label:"Story",why:"Banded by what it costs to be wrong: what the commit reaches nothing in, then what it declares, then what the diff cannot name."},{order:"name",label:"A\u2013Z",why:xr.name.why},{order:"size",label:"Largest",why:xr.size.why},{order:"places",label:"Widest",why:xr.places.why}];function Sr(e,t,n){let a=[...t].sort(rx[n]);if(n!=="story"){let u=xr[n];return a.length===0?[]:[{lane:"reached",title:u.title,changes:a.map(h=>({origin:h}))}]}let i=a.filter(u=>p0.has(h0(u))),{roots:l,loose:o}=d0(i,e),r=new Set(o),s=ox.map(u=>({...u,changes:a.filter(h=>h0(h)===u.lane).filter(h=>!p0.has(u.lane)||r.has(h)).map(h=>({origin:h}))})),c=l.map(u=>({lane:sx[u.kind],title:u.name,changes:u.changes,root:u})),f=s.filter(u=>g0.has(u.lane)),p=s.filter(u=>!g0.has(u.lane));return[...f,...c,...p].filter(u=>u.changes.length>0)}var p0=new Set(["reached","upstream","token"]),g0=new Set(["stranded","contradicted","unexplained"]),sx={file:"reached",token:"token",component:"upstream"};function b0({group:e,detail:t,go:n}){return e.root===void 0?(0,K.jsxs)("h3",{children:[e.title," ",(0,K.jsx)("span",{className:"va-num",children:x(e.changes.length)})]}):(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)("h3",{className:`va-root va-root-${e.root.kind}`,title:e.title,children:[(0,K.jsx)(y0,{root:e.root}),(0,K.jsx)("span",{className:"va-num",children:x(e.root.renders)})]}),e.root.kind!=="file"?null:(0,K.jsx)(cx,{detail:t,file:e.root.name,go:n})]})}function cx({detail:e,file:t,go:n}){let a=s0(e,t);if(a===null||a.reached===0)return null;let i=[["still",a.still],["excluded",a.excluded],["never compared",a.uncompared]].filter(([,l])=>l.length>0);return(0,K.jsxs)("p",{className:"va-foreseen va-note",children:[(0,K.jsx)("span",{className:"va-num",children:x(a.reached)})," reached",i.length===0?(0,K.jsx)(K.Fragment,{children:" \xB7 all moved"}):null,i.map(([l,o])=>(0,K.jsxs)("span",{children:[" \xB7 ",(0,K.jsx)("span",{className:"va-num",children:x(o.length)})," ",l,":"," ",(0,K.jsx)(ux,{subjects:o,build:e.build,go:n})]},l))]})}function ux({subjects:e,build:t,go:n}){let a=e.slice(0,3);return(0,K.jsxs)(K.Fragment,{children:[a.map((i,l)=>(0,K.jsxs)("span",{children:[l===0?"":", ",(0,K.jsx)(ae,{to:{page:"subject",build:t,subject:i},go:n,className:"va-from-go",children:i})]},i)),e.length>a.length?` and ${x(e.length-a.length)} more`:""]})}function y0({root:e,at:t}){let n=t??e.name,a=e.kind==="file"?n.lastIndexOf("/")+1:0;return(0,K.jsxs)(K.Fragment,{children:[a===0?null:(0,K.jsx)("span",{className:"va-root-in",children:n.slice(0,a)}),(0,K.jsx)("span",{className:"va-root-name",children:n.slice(a)})]})}function w0(e,t){if(e===void 0||!e.startsWith(t))return;let n=e.slice(t.length);return n===""||n.startsWith(":")?e:void 0}function x0(e,t){return Sr(e,qn(e).origins,"story").filter(n=>n.root!==void 0&&n.changes.some(({origin:a})=>a.component===t.component))}function S0(e,t){return e.some(n=>n.root!==void 0&&w0(t,n.root.name)!==void 0)}function N0({bands:e,component:t,declared:n,build:a,go:i}){return e.length===0?null:(0,K.jsx)(K.Fragment,{children:e.map(l=>(0,K.jsxs)("p",{className:"va-from",children:[(0,K.jsx)("span",{className:"va-from-mark",children:"from"})," ",(0,K.jsx)("span",{className:`va-root va-root-${l.root?.kind??"file"}`,title:l.title,children:l.root===void 0?l.title:(0,K.jsx)(y0,{root:l.root,at:w0(n,l.root.name)})}),(0,K.jsx)(dx,{group:l,component:t,build:a,go:i})]},l.title))})}function dx({group:e,component:t,build:n,go:a}){let i=e.changes.filter(({origin:l})=>l.component!==t);return i.length===0?null:(0,K.jsxs)("span",{className:"va-note",children:[" ","\u2014 which also moved"," ",i.map(({origin:l,of:o},r)=>(0,K.jsxs)("span",{children:[r===0?"":", ",(0,K.jsx)(ae,{to:{page:"change",build:n,change:l.component},go:a,className:"va-from-go",children:l.component})," ",(0,K.jsx)("span",{className:"va-num",children:w(o??l.appearances.length,"render")})]},l.component))]})}var Tt=H(ee(),1);function E0(e,t,n){let a=new Map(e.subjects.map(c=>[c.subject,c.moved])),i=new Map,l=[],o=[],r=[],s=new Map;for(let c of n){let f=a.get(c);if(f===void 0){r.push(c);continue}let p=f.filter(u=>u.cause&&u.component!==t).map(u=>u.component).sort();s.set(c,p),p.length===0?l.push(c):o.push(c);for(let u of p){let h=i.get(u);h===void 0?i.set(u,[c]):h.push(c)}}return{others:[...i.entries()].map(([c,f])=>({component:c,subjects:f})).sort((c,f)=>f.subjects.length-c.subjects.length||c.component.localeCompare(f.component)),alone:l,shared:o,unread:r,at:c=>s.get(c)??[]}}function j0({carrying:e,renders:t,build:n,changes:a,go:i}){return e.others.length===0&&e.unread.length===0?null:(0,Tt.jsxs)("p",{className:"va-carries",children:[e.others.length===0?null:(0,Tt.jsxs)(Tt.Fragment,{children:[(0,Tt.jsxs)("strong",{children:[x(e.shared.length)," of ",w(t,"render")]})," ","also carry"," ",e.others.map((l,o)=>(0,Tt.jsxs)("span",{children:[o===0?"":o===e.others.length-1?" and ":", ",a.has(l.component)?(0,Tt.jsx)(ae,{to:{page:"change",build:n,change:l.component},go:i,className:"va-carries-go",children:l.component}):(0,Tt.jsx)("strong",{children:l.component}),(0,Tt.jsxs)("span",{className:"va-note",children:[" (",x(l.subjects.length),")"]})]},l.component)),". A decision is taken on the whole picture, so approving here accepts those in the same renders \u2014 before anyone opened their page."," "]}),e.unread.length===0?null:(0,Tt.jsxs)("span",{className:"va-note",children:[w(e.unread.length,"render")," compared against a baseline with no component hashes, so nothing says what else is in ",e.unread.length===1?"it":"them","."]})]})}var he=H(ee(),1);var T0=[];function O0(e){let t=e.composition;if(t===null)return()=>T0;let n=new Map(t.map(i=>[i.component,i])),a=new Map(e.subjects.map(i=>[i.subject,i]));return i=>{let l=n.get(i);if(l===void 0)return T0;let o=new Set(l.subjects);return[...l.within.flatMap(s=>fx(s,n.get(s),o,a))].sort(hx)}}function fx(e,t,n,a){if(t===void 0)return[];let i=new Set,l=0,o=0,r=0,s=0,c=0;for(let f of t.subjects){if(!n.has(f))continue;let p=a.get(f);if(p===void 0)continue;if(p.moved===void 0){c+=1;continue}l+=1;let u=p.moved.find(h=>h.component===e);if(u===void 0)o+=1;else if(!u.cause)r+=1;else{s+=1;for(let h of u.bands)i.add(h)}}return l===0&&c===0?[]:[{component:e,renders:l,still:o,pushed:r,moved:s,bands:li(i),unread:c}]}function hx(e,t){let n=a=>a.moved>0?0:a.pushed>0?1:2;return n(e)-n(t)||e.component.localeCompare(t.component)}var A0=8;function $0({found:e,build:t,changes:n,go:a}){if(e.length===0)return null;let i=e.filter(s=>s.moved>0),l=e.filter(s=>s.moved===0&&s.pushed>0),o=e.filter(s=>s.moved===0&&s.pushed===0&&s.renders>0),r=e.filter(s=>s.renders===0);return(0,he.jsxs)("section",{className:"va-consumers",children:[(0,he.jsx)("h2",{children:"Consumers"}),(0,he.jsx)("p",{className:"va-consumers-tally",children:i.length===0?(0,he.jsxs)("strong",{children:["Nothing of the ",w(e.length,"component")," that draw it moved on its own."]}):(0,he.jsxs)("strong",{className:"va-consumers-own",children:[px(i)," moved in ",i.length===1?"a way":"ways"," this change does not explain."]})}),i.length===0?null:(0,he.jsx)("ul",{className:"va-consumers-list",children:i.map(s=>(0,he.jsxs)("li",{className:"va-consumer-moved",children:[(0,he.jsx)(mx,{each:s,build:t,changes:n,go:a}),(0,he.jsxs)("span",{className:"va-note",children:[(0,he.jsx)("em",{children:oi(s.bands)})," \u2014 ",x(s.moved)," of ",x(s.renders),s.unread===0?null:(0,he.jsxs)(he.Fragment,{children:[" \xB7 ",x(s.unread)," not read"]})]})]},s.component))}),(0,he.jsxs)("p",{className:"va-consumers-rest",children:[l.length===0?null:(0,he.jsxs)("span",{children:["Only their box moved: ",(0,he.jsx)(Cu,{of:l}),"."," "]}),o.length===0?null:(0,he.jsxs)("span",{children:["Unchanged: ",(0,he.jsx)(Cu,{of:o}),"."," "]}),r.length===0?null:(0,he.jsxs)("span",{className:"va-alarm-text",children:["Nothing compared hashes for ",(0,he.jsx)(Cu,{of:r,unread:!1}),", so no render says what ",r.length===1?"it":"they"," did."]})]})]})}function mx({each:e,build:t,changes:n,go:a}){return n.has(e.component)?(0,he.jsx)(ae,{to:{page:"change",build:t,change:e.component},go:a,className:"va-consumer-name",title:`${e.component} is a change on this build, with a decision of its own`,children:e.component}):(0,he.jsx)("span",{className:"va-consumer-name",children:e.component})}function Cu({of:e,unread:t=!0}){let n=e.slice(0,A0),a=e.length-n.length;return(0,he.jsxs)("span",{title:e.map(i=>i.component).join(", "),children:[n.map((i,l)=>(0,he.jsxs)("span",{children:[l===0?"":", ",i.component,!t||i.unread===0?null:` (${x(i.unread)} not read)`]},i.component)),a===0?null:` and ${x(a)} more`]})}function px(e){let t=e.slice(0,A0).map(a=>a.component),n=e.length-t.length;return n>0?`${t.join(", ")} and ${x(n)} more`:t.length===1?t[0]??"":`${t.slice(0,-1).join(", ")} and ${t[t.length-1]??""}`}var cn=H(ee(),1);function z0(e){let t=[],n=new Set,a=0,i;for(let{movement:l}of e.appearances)if(l!==void 0){l.held.length>0&&(a+=1),l.compared!==void 0&&(i===void 0||l.compared>i)&&(i=l.compared);for(let o of l.held)n.has(o)||(n.add(o),t.push(o))}return{held:t,of:a,renders:e.appearances.length,...i===void 0?{}:{compared:i}}}function M0({controls:e,build:t,go:n}){return e.held.length===0?e.compared===void 0||e.compared===0?null:(0,cn.jsxs)("p",{className:"va-held va-held-none",children:[(0,cn.jsx)("span",{className:"va-held-mark",children:"Held nowhere"})," \u2014 the same component under the same props was read in ",w(e.compared,"other render")," and moved in every one. Nothing under these props escaped the change."]}):(0,cn.jsxs)("p",{className:"va-held",children:[(0,cn.jsx)("span",{className:"va-held-mark",children:"Held still"})," in ",w(e.held.length,"render")," \u2014 same component, same props, hashes read and unmoved:"," ",e.held.map((a,i)=>(0,cn.jsxs)("span",{children:[i===0?null:", ",(0,cn.jsx)(ae,{to:{page:"subject",build:t,subject:a},go:n,className:"va-held-go",children:a})]},a)),".",e.of===e.renders?null:(0,cn.jsxs)("span",{className:"va-note",children:[" ","\u2014 a control for ",e.of," of ",e.renders," renders of this change."]})]})}function gx(e){return e.replace(/:\d+(?::\d+)?$/,"")}function Nr(e,t){let n=e.reach!==null&&e.reach.whole===void 0?e.reach:null;if(n===null)return()=>({kind:"unknown"});let a=new Map(n.components.map(c=>[c.component,c.trail])),i=new Map(e.causes.flatMap(c=>c.file===void 0?[]:[[c.component,gx(c.file)]])),l=new Set(n.changed),o=c=>a.get(c)?.at(-2)??i.get(c),r=a.get(t),s=o(t);return c=>{let f=o(c);if(f!==void 0&&f===s)return{kind:"same-file"};let p=a.get(c);if(p===void 0)return f===void 0?{kind:"unreached"}:{kind:"declared",file:f,edited:l.has(f)};if(r===void 0||s===void 0)return{kind:"apart"};let u=p.indexOf(s);if(u>=0)return{kind:"importer",hops:p.length-2-u};let h=f===void 0?-1:r.indexOf(f);return h>=0?{kind:"imported",hops:r.length-2-h}:{kind:"apart"}}}function R0(e){return e.kind!=="unreached"&&e.kind!=="unknown"}function C0(e){switch(e.kind){case"same-file":return"same file";case"importer":return e.hops===1?"imports it":`imports it, ${String(e.hops)} files out`;case"imported":return e.hops===1?"imported by it":`imported by it, ${String(e.hops)} files out`;case"apart":return"reached by a separate path";case"declared":return e.edited?`${_0(e.file)}, which this commit changed`:`${_0(e.file)}, untouched by this commit`;case"unreached":case"unknown":return}}function _0(e){return e.slice(e.lastIndexOf("/")+1)}function D0(e){let t=e.reach!==null&&e.reach.whole===void 0?e.reach:null;if(t===null)return null;let n=new Map,a=(r,s)=>{let c=n.get(r);c===void 0?n.set(r,[s]):c.includes(s)||c.push(s)};for(let r of e.subjects)if(r.verdict==="changed"){for(let s of r.moved??[])s.cause&&a(s.component,r.subject);for(let s of r.regions)s.cause===!0&&s.component!==void 0&&a(s.component,r.subject)}let i=new Map,l=0;for(let r of t.components){if(r.throughUnread!==void 0){l+=1;continue}let s=Math.max(r.trail.length-2,0),c=i.get(s)??{reached:0,moved:0};c.reached+=1,n.has(r.component)&&(c.moved+=1),i.set(s,c)}let o=new Set(t.components.map(r=>r.component));return{rungs:[...i.entries()].map(([r,s])=>({depth:r,...s})).sort((r,s)=>r.depth-s.depth),undeclared:[...n].filter(([r])=>!o.has(r)).map(([r,s])=>({component:r,subjects:s})).sort((r,s)=>r.component.localeCompare(s.component)),throughUnread:l}}var Er=[];function U0(e){let t=e.composition,n=e.reach!==null&&e.reach.whole===void 0?e.reach:null;if(t===null||n===null)return()=>Er;let a=new Map(t.map(o=>[o.component,o])),i=new Set(n.components.map(o=>o.component)),l=e.subjects.filter(o=>o.moved!==void 0);return o=>{let r=a.get(o);if(r===void 0)return Er;let s=new Set(r.subjects),c=new Map;for(let u of l){if(!s.has(u.subject))continue;let h=(u.moved??[]).find(y=>y.component===o);c.set(u.subject,new Set(h?.bands??[]))}if(c.size===0)return Er;let f=vx(o,a).filter(u=>i.has(u));if(f.length===0)return Er;let p=[];for(let u of li(new Set([...c.values()].flatMap(h=>[...h])))){let h=[],y=[];for(let[k,m]of c)(m.has(u)?h:y).push(k);if(y.length===0)continue;let N=f.filter(k=>{let m=new Set(a.get(k)?.subjects??[]);return y.some(d=>m.has(d))?!1:h.every(d=>m.has(d))});N.length!==0&&p.push({band:u,holders:[...N].sort(),moved:h.length,held:y.length})}return p}}function vx(e,t){let n=new Set,a=[...t.get(e)?.within??[]],i=new Set([e]);for(;a.length>0;){let l=a.pop();l===void 0||i.has(l)||(i.add(l),n.add(l),a.push(...t.get(l)?.within??[]))}return[...n].sort()}var xe=H(ee(),1),El=H(Xe(),1);var U=H(ee(),1),Ve=H(Xe(),1);var ce=H(ee(),1);function jr({subject:e,box:t,focus:n,onFocus:a}){let i=t??e.size;return i===void 0||e.regions.length===0?null:(0,ce.jsx)("div",{className:"va-regions",children:e.regions.map((l,o)=>(0,ce.jsx)("span",{className:["va-region",l.cause?"va-cause":"va-collateral",n===o?"va-lit":""].filter(Boolean).join(" "),onPointerEnter:()=>a?.(o),onPointerLeave:()=>a?.(null),style:{left:`${String(l.x/i.width*100)}%`,top:`${String(l.y/i.height*100)}%`,width:`${String(l.width/i.width*100)}%`,height:`${String(l.height/i.height*100)}%`},children:(0,ce.jsxs)("span",{className:"va-region-label",children:[String(o+1),l.cause||n===o?(0,ce.jsxs)(ce.Fragment,{children:[" \xB7 ",l.component??"unattributed",l.cause?"":" (collateral)",l.where===void 0?"":` \u2014 ${l.where}`]}):null]})},k0(l,o)))})}function Tr({subject:e,sourced:t,focus:n,onFocus:a,onJump:i}){if(e.regions.length===0)return null;let l=t??e.regions.some(o=>o.file!==void 0);return(0,ce.jsxs)("table",{className:"va-region-table",children:[(0,ce.jsx)("thead",{children:(0,ce.jsxs)("tr",{children:[(0,ce.jsx)("th",{children:"region"}),(0,ce.jsx)("th",{children:"component"}),(0,ce.jsx)("th",{children:"declared in"}),(0,ce.jsx)("th",{className:"va-num-col",children:"pixels"})]})}),(0,ce.jsx)("tbody",{children:e.regions.map((o,r)=>(0,ce.jsxs)("tr",{className:n===r?"va-lit":void 0,onPointerEnter:()=>a(r),onPointerLeave:()=>a(null),children:[(0,ce.jsx)("td",{children:(0,ce.jsxs)("button",{type:"button",className:"va-region-jump",onClick:()=>i(r),children:[(0,ce.jsx)("span",{className:o.cause?"va-dot va-cause":"va-dot va-collateral"}),String(r+1),(0,ce.jsxs)("span",{className:"va-region-where",children:[o.cause?"cause":"collateral",o.where===void 0?"":` \xB7 ${o.where}`]})]})}),(0,ce.jsx)("td",{children:o.component??(0,ce.jsx)("span",{className:"va-note",children:"unattributed"})}),(0,ce.jsx)("td",{children:o.file===void 0?(0,ce.jsx)("span",{className:"va-note",title:l?"This run resolved files for other components, so this is a name its source index does not declare \u2014 a component out of a dependency, or one produced at build time.":"This run resolved no source files at all, so nothing here says where any of these components are declared.",children:l?"not in the scanned source":"no source index"}):(0,ce.jsx)("code",{children:o.file})}),(0,ce.jsx)("td",{className:"va-num va-num-col",children:x(o.pixels)})]},k0(o,r)))})]})}function k0(e,t){return`${String(e.x)}-${String(e.y)}-${String(t)}`}var bx=["fit",1,2,4],yx={regions:"regions",wipe:"wipe",blend:"blend",blink:"blink","side-by-side":"side by side",difference:"difference"},wx=700;function Du({client:e,build:t,subject:n,sourced:a}){let i=(0,Ve.useMemo)(()=>H0(n),[n]),[l,o]=(0,Ve.useState)(i[0]??"regions"),[r,s]=(0,Ve.useState)(50),[c,f]=(0,Ve.useState)(50),[p,u]=(0,Ve.useState)("fit"),[h,y]=(0,Ve.useState)(null),[N,k]=(0,Ve.useState)(!0),[m,d]=(0,Ve.useState)(0),[g]=(0,Ve.useState)(Sx),v=(0,Ve.useRef)(null),j=Uu(n.size,n.baseline);if((0,Ve.useEffect)(()=>{if(l!=="blink"||g)return;let J=setInterval(()=>k(un=>!un),wx);return()=>clearInterval(J)},[l,g]),(0,Ve.useEffect)(()=>{y(null),d(0),o(J=>i.includes(J)?J:i[0]??"regions"),v.current?.scrollTo({left:0,top:0})},[i]),(0,Ve.useEffect)(()=>{if(m===0||h===null)return;let J=n.regions[h],un=v.current;if(J===void 0||un===null)return;let ud=p==="fit"?1:p;un.scrollTo({left:Math.max(0,(J.x+J.width/2)*ud-un.clientWidth/2),top:Math.max(0,(J.y+J.height/2)*ud-un.clientHeight/2),behavior:g?"auto":"smooth"})},[m]),i.length===0)return(0,U.jsx)("p",{className:"va-note",children:"This run kept no images for this subject."});let V=n.size,T=J=>e.imageUrl(t,n.subject,J),B=J=>{n.regions[J]===void 0||j===void 0||(y(J),p==="fit"&&u(1),d(un=>un+1))},G=j!==void 0,I=j===void 0?{}:{aspectRatio:`${String(j.width)} / ${String(j.height)}`,...p==="fit"?{maxWidth:`${String(j.width)}px`}:{width:`${String(j.width*p)}px`}},zt=l==="side-by-side"?null:(0,U.jsx)(jr,{subject:n,box:j,focus:h,onFocus:y});return(0,U.jsxs)("div",{className:"va-viewer",children:[(0,U.jsxs)("div",{className:"va-viewer-bar",children:[(0,U.jsxs)("div",{className:"va-viewer-controls",children:[(0,U.jsx)("p",{className:"va-modes",children:i.map(J=>(0,U.jsx)("button",{type:"button",className:J===l?"va-mode va-current":"va-mode","aria-pressed":J===l,onClick:()=>o(J),children:yx[J]},J))}),G?(0,U.jsx)("p",{className:"va-zooms",children:bx.map(J=>(0,U.jsx)("button",{type:"button",className:J===p?"va-mode va-current":"va-mode","aria-pressed":J===p,onClick:()=>u(J),children:J==="fit"?"fit":`${String(J)}\xD7`},String(J)))}):null]}),(0,U.jsxs)("div",{className:"va-viewer-readout",children:[(0,U.jsx)("p",{className:"va-showing",children:Nx(l,{seam:r,blend:c,flip:N})}),V===void 0?null:(0,U.jsxs)("p",{className:"va-measure",title:"the candidate\u2019s own pixels, which 1\xD7 draws one for one",children:[x(V.width)," \xD7 ",x(V.height),n.baseline===void 0||n.baseline.width===V.width&&n.baseline.height===V.height?"":(0,U.jsxs)("span",{className:"va-resized",children:[" ","\xB7 was ",x(n.baseline.width)," \xD7 ",x(n.baseline.height)]})]}),n.regions.length>0?(0,U.jsxs)("p",{className:"va-steps",children:[(0,U.jsx)("button",{type:"button",onClick:()=>B(B0(h,n.regions.length,-1)),children:"\u2039"}),(0,U.jsxs)("span",{className:"va-num",children:[h===null?"\u2014":String(h+1)," / ",String(n.regions.length)]}),(0,U.jsx)("button",{type:"button",onClick:()=>B(B0(h,n.regions.length,1)),children:"\u203A"})]}):null]})]}),l==="side-by-side"?(0,U.jsxs)("div",{className:"va-side-by-side",children:[(0,U.jsxs)("figure",{children:[(0,U.jsx)("figcaption",{children:"baseline"}),(0,U.jsx)(Nl,{src:T("before"),alt:`${n.subject} baseline`})]}),(0,U.jsxs)("figure",{children:[(0,U.jsx)("figcaption",{children:"this build"}),(0,U.jsx)(Nl,{src:T("after"),alt:`${n.subject} candidate`,size:V})]})]}):(0,U.jsx)("div",{className:"va-loupe",ref:v,children:(0,U.jsxs)("div",{className:j===void 0?"va-plate":"va-plate va-boxed",style:I,children:[l==="wipe"?(0,U.jsx)("input",{type:"range",className:"va-seam",min:0,max:100,value:r,"aria-label":"wipe between baseline and candidate",onChange:J=>s(Number(J.target.value))}):null,l==="difference"?(0,U.jsx)(Nl,{src:T("diff"),alt:`${n.subject} difference mask`}):(0,U.jsxs)(U.Fragment,{children:[n.has.before?(0,U.jsx)(Nl,{className:"va-under",src:T("before"),alt:`${n.subject} baseline`,style:Or(n.baseline,j)}):null,(0,U.jsx)(Nl,{src:T("after"),alt:`${n.subject} candidate`,size:V,style:{...Or(V,j),...xx(l,{seam:r,blend:c,flip:N})}})]}),zt,l==="wipe"?(0,U.jsx)("span",{className:"va-seam-line","aria-hidden":"true",style:{left:`${String(r)}%`}}):null]})}),l==="blink"&&g?(0,U.jsxs)("p",{className:"va-note",children:["This display asked for reduced motion, so the two readings do not alternate on their own."," ",(0,U.jsxs)("button",{type:"button",className:"va-mode",onClick:()=>k(J=>!J),children:["show ",N?"the baseline":"this build"]})]}):null,l==="blend"?(0,U.jsx)("input",{type:"range",className:"va-blend",min:0,max:100,value:c,"aria-label":"fade between baseline and candidate",onChange:J=>f(Number(J.target.value))}):null,(0,U.jsxs)("p",{className:"va-pixels",children:[dr(n),n.truncated===void 0?null:(0,U.jsxs)(U.Fragment,{children:[" ","\xB7 ",w(n.truncated.regions,"further region")," (",x(n.truncated.pixels),"px) were not recorded"]}),n.missingFonts===void 0||n.missingFonts.length===0?null:(0,U.jsxs)(U.Fragment,{children:[" \xB7 fonts missing at render: ",n.missingFonts.join(", ")]})]}),(0,U.jsx)(Tr,{subject:n,sourced:a,focus:h,onFocus:y,onJump:B})]})}function xx(e,t){return e==="wipe"?{clipPath:`inset(0 0 0 ${String(t.seam)}%)`}:e==="blend"?{opacity:t.blend/100}:e==="blink"?{opacity:t.flip?1:0}:{}}function Uu(e,t){return e===void 0?t:t===void 0?e:{width:Math.max(e.width,t.width),height:Math.max(e.height,t.height)}}function Or(e,t){if(!(e===void 0||t===void 0||e.width===t.width))return{width:`${String(e.width/t.width*100)}%`}}function Sx(){return globalThis.matchMedia?.("(prefers-reduced-motion: reduce)").matches===!0}function Nx(e,t){return e==="wipe"?`baseline \u25C0 ${String(Math.round(t.seam))}% \u25B6 this build`:e==="blend"?`${String(Math.round(t.blend))}% this build`:e==="blink"?t.flip?"this build":"baseline":e==="difference"?"difference mask":"this build"}function B0(e,t,n){return e===null?n===1?0:t-1:(e+n+t)%t}function Nl({src:e,alt:t,size:n,className:a,style:i}){return(0,U.jsx)("img",{src:e,alt:t,loading:"lazy",decoding:"async",...n===void 0?{}:{width:n.width,height:n.height},...a===void 0?{}:{className:a},...i===void 0?{}:{style:i}})}function H0(e){let t=[];return e.has.after&&e.size!==void 0&&e.regions.length>0&&t.push("regions"),e.has.before&&e.has.after&&t.push("wipe","blend","blink","side-by-side"),e.has.diff&&t.push("difference"),t.length===0&&e.has.after&&t.push("regions"),t}var Ar={width:264,height:176},L0=20,Ex=.25,jx=8,Bu=["diff","after","before"],Y0={diff:"difference",after:"this build",before:"baseline"};function V0(e,t,n){let a=Math.min(n.width/(e.width+L0*2),n.height/(e.height+L0*2)),i=Math.min(jx,Math.max(Ex,a));return{scale:i,left:q0(e.x+e.width/2,t.width,n.width,i),top:q0(e.y+e.height/2,t.height,n.height,i),whole:e.width*i<=n.width&&e.height*i<=n.height}}function q0(e,t,n,a){let i=t*a;return i<=n?(n-i)/2:Math.min(0,Math.max(n-i,n/2-e*a))}function G0(e){let t=new Set,n=[];for(let a of e){let i=Hn(a.subject);if(i!==void 0){if(a.shape!==void 0){if(t.has(a.shape))continue;t.add(a.shape)}n.push({appearance:a,at:i,shared:a.shape===void 0?1:e.filter(l=>l.shape===a.shape).length})}}return n}function Hu({client:e,build:t,component:n,appearances:a,onOpen:i}){let[l,o]=(0,El.useState)([]),r=G0(a).filter(({appearance:h})=>Bu.some(y=>h.subject.has[y])),s=Bu.filter(h=>r.some(({appearance:y})=>y.subject.has[h])),c=s[0];if(c===void 0)return null;let f=l[0]??c,p=new Set([c,...l]),u=h=>o(y=>[h,...y.filter(N=>N!==h)]);return(0,xe.jsxs)(xe.Fragment,{children:[s.length===1?null:(0,xe.jsx)("p",{className:"va-origin-look",children:(0,xe.jsx)("span",{className:"va-modes",children:s.map(h=>(0,xe.jsx)("button",{type:"button",className:h===f?"va-mode va-current":"va-mode","aria-pressed":h===f,onClick:()=>u(h),children:Y0[h]},h))})}),(0,xe.jsx)("div",{className:"va-look",children:r.map(h=>(0,xe.jsx)(Tx,{client:e,build:t,component:n,sighting:h,showing:f,mounted:p,onOpen:i},h.appearance.subject.subject))})]})}function Tx({client:e,build:t,component:n,sighting:a,showing:i,mounted:l,onOpen:o}){let{appearance:r,at:s,shared:c}=a,f=r.subject,p=(0,xe.jsx)(Ax,{client:e,build:t,subject:f,at:s,showing:i,mounted:l}),u=(0,xe.jsxs)("span",{className:"va-sight-note",children:[f.subject," \xB7 ",x(r.pixels)," px",c===1?"":` \xB7 ${w(c,"place")}`]});return o===void 0?(0,xe.jsxs)("span",{className:"va-sight",children:[p,u]}):(0,xe.jsxs)("button",{type:"button",className:"va-sight",onClick:()=>o(f.subject),title:`Open ${f.subject} \u2014 ${n} at ${x(s.x)}, ${x(s.y)}`,children:[p,u]})}function Ox(){let[e,t]=(0,El.useState)(()=>typeof IntersectionObserver>"u");return[(0,El.useCallback)(a=>{if(a===null||typeof IntersectionObserver>"u")return;let i=new IntersectionObserver(l=>{l.some(o=>o.isIntersecting)&&t(!0)},{rootMargin:"600px"});return i.observe(a),()=>i.disconnect()},[]),e]}function Ax({client:e,build:t,subject:n,at:a,showing:i,mounted:l}){let[o,r]=Ox(),s=Uu(n.size,n.baseline);if(s===void 0)return(0,xe.jsx)("span",{className:"va-crop va-crop-unplaced",style:ku(Ar),children:(0,xe.jsx)("span",{className:"va-note",children:"This run did not record the capture\u2019s size."})});if(!n.has[i])return(0,xe.jsx)("span",{className:"va-crop va-crop-unplaced",style:ku(Ar),children:(0,xe.jsxs)("span",{className:"va-note",children:["No ",Y0[i]," was kept for this render."]})});let c=V0(a,s,Ar),f={height:`${String(s.height*c.scale)}px`,left:`${String(c.left)}px`,top:`${String(c.top)}px`,width:`${String(s.width*c.scale)}px`};return(0,xe.jsxs)("span",{className:"va-crop",style:ku(Ar),ref:o,children:[(0,xe.jsxs)("span",{className:"va-crop-plate",style:f,children:[r?Bu.filter(p=>l.has(p)&&n.has[p]).map(p=>(0,xe.jsx)("img",{src:e.imageUrl(t,n.subject,p),alt:"",decoding:"async",style:{...$x(p,n,s),opacity:p===i?1:0}},p)):null,(0,xe.jsx)("span",{className:"va-crop-box",style:{height:`${String(a.height/s.height*100)}%`,left:`${String(a.x/s.width*100)}%`,top:`${String(a.y/s.height*100)}%`,width:`${String(a.width/s.width*100)}%`}})]}),c.whole?null:(0,xe.jsx)("span",{className:"va-crop-part",children:"part of it"})]})}function $x(e,t,n){if(e!=="diff")return Or(e==="after"?t.size:t.baseline,n)}function ku(e){return{height:`${String(e.height)}px`,width:`${String(e.width)}px`}}var A=H(ee(),1);var zx=4;function Q0({component:e,across:t,handed:n}){let a=new Set(n.map(l=>l.band)),i=t.bands.filter(l=>!a.has(l));return i.length>0?(0,A.jsxs)("p",{className:"va-decide-lead",children:[(0,A.jsx)("strong",{children:e})," moved in ",(0,A.jsx)("em",{children:oi(i)}),"."]}):t.measured===0?null:a.size>0?(0,A.jsxs)("p",{className:"va-decide-lead",children:["Nothing of ",(0,A.jsx)("strong",{children:e}),"\u2019s own moved."]}):(0,A.jsxs)("p",{className:"va-decide-lead",children:["Nothing in ",(0,A.jsx)("strong",{children:e}),"\u2019s own hashes moved: every render here was pushed by something else on the page."]})}function Z0({handed:e,build:t,changes:n,go:a}){return e.length===0?null:(0,A.jsx)(A.Fragment,{children:e.map(({band:i,holders:l,moved:o,held:r})=>(0,A.jsxs)("p",{className:"va-handed",children:[(0,A.jsx)("em",{children:xl(i)})," is"," ",l.map((s,c)=>(0,A.jsxs)("span",{children:[c===0?null:" and ",n.has(s)?(0,A.jsx)(ae,{to:{page:"change",build:t,change:s},go:a,className:"va-handed-go",title:`The decision belongs to ${s}, which is a change on this build`,children:s}):(0,A.jsx)("strong",{children:s})]},s)),"\u2019s."," ",(0,A.jsxs)("span",{className:"va-note",children:["Moved in ",w(o,"render")," ",l.length===1?"it draws":"they draw",", still in the other ",r,"."]})]},i))})}function K0({component:e,across:t,far:n,except:a}){let i=t.alongside.filter(o=>a?.has(o.component)!==!0);return t.missedIn.length===0&&i.length===0&&t.unmeasured.length===0?null:(0,A.jsxs)("section",{className:"va-moved",children:[(0,A.jsx)("h2",{children:"What moved with it"}),t.missedIn.length===0?null:(0,A.jsxs)("p",{className:"va-moved-lost",children:["In ",w(t.missedIn.length,"render")," no region carries"," ",(0,A.jsx)("strong",{children:e})," \u2014 the difference merged into a larger area and resolved elsewhere, so the picture there is not a picture of this."," ",(0,A.jsx)(X0,{subjects:t.missedIn})]}),i.length===0?null:(0,A.jsxs)(A.Fragment,{children:[t.missedIn.length===0?null:(0,A.jsx)("h3",{children:"Moving beside it"}),(0,A.jsx)("ul",{className:"va-moved-with",children:i.map(o=>(0,A.jsxs)("li",{children:[(0,A.jsx)("span",{className:"va-moved-name",children:o.component})," ",(0,A.jsx)("span",{className:"va-note",children:oi(o.bands)}),(0,A.jsx)(W0,{component:o.component,far:n})]},o.component))}),(0,A.jsx)(I0,{anchor:e,components:i.map(o=>o.component),far:n})]}),t.unmeasured.length===0?null:(0,A.jsxs)("p",{className:"va-note",children:[w(t.unmeasured.length,"render")," compared against a baseline carrying no component hashes, so nothing above was measured there."," ",(0,A.jsx)(X0,{subjects:t.unmeasured})]})]})}function J0({subject:e,anchor:t,far:n}){let a=Sl(e);return a.measured?a.moved.length===0?(0,A.jsx)("p",{className:"va-note",children:"Both revisions were read and every component hash matched. Whatever differs here is beneath the semantic tier, or belongs to a part of the page the walk assigned no component to."}):(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("ul",{className:"va-moved-list",children:a.moved.map(i=>(0,A.jsx)(Mx,{entry:i,anchor:t,far:n},i.component))}),t===void 0?null:(0,A.jsx)(I0,{anchor:t,components:a.moved.map(i=>i.component),far:n}),a.pushed.length===0?null:(0,A.jsxs)("p",{className:"va-note",children:["A region names ",a.pushed.join(", "),", whose own hashes held still: pushed by something else, not edited."]})]}):(0,A.jsx)("p",{className:"va-note",children:"This render was compared against a baseline carrying no component hashes, so nothing says which components moved \u2014 only where the pixels differ."})}function Mx({entry:e,anchor:t,far:n}){return(0,A.jsxs)("li",{className:e.cause?"va-moved-row":"va-moved-row va-moved-passenger",children:[(0,A.jsx)("span",{className:"va-moved-name",children:e.component}),(0,A.jsx)("span",{className:"va-note",children:e.presence===void 0?oi(e.bands):e.presence}),e.component===t?null:(0,A.jsx)(W0,{component:e.component,far:n}),e.drawn?null:(0,A.jsx)("span",{className:"va-mark va-alarm",title:"The hashes say this component moved, and no region in this render carries its name \u2014 the difference merged into a larger area and resolved elsewhere.",children:"no region"})]})}function X0({subjects:e}){let t=e.slice(0,zx),n=e.length-t.length;return(0,A.jsxs)("span",{className:"va-note",title:e.join(", "),children:[t.join(", "),n===0?"":` and ${w(n,"other")}`]})}function F0({component:e,found:t,build:n,go:a}){return t.length===0?null:(0,A.jsxs)("section",{className:"va-moved",children:[(0,A.jsx)("h2",{children:"Also moved, filed elsewhere"}),(0,A.jsxs)("p",{className:"va-moved-lost",children:[(0,A.jsx)("strong",{children:e}),"\u2019s hashes moved in ",w(t.length,"further render"),", where a larger difference took the name. Deciding this change does not decide them."]}),(0,A.jsx)("ul",{className:"va-moved-list",children:t.map(i=>(0,A.jsxs)("li",{className:"va-moved-row",children:[(0,A.jsx)(ae,{to:{page:"subject",build:n,subject:i.subject},go:a,className:"va-moved-name",children:i.subject}),(0,A.jsx)("span",{className:"va-note",children:i.filedUnder===void 0?"no component named the cause":`under ${i.filedUnder}`}),i.drawn?null:(0,A.jsx)("span",{className:"va-mark va-alarm",title:"No region in that render carries this component either, so its picture is not a picture of this change.",children:"no region"})]},i.subject))})]})}function W0({component:e,far:t}){let n=_x(t,e);return n===void 0?null:(0,A.jsx)("span",{className:"va-moved-far",children:n})}function _x(e,t){let n=e?.(t);return n===void 0?void 0:C0(n)}function I0({anchor:e,components:t,far:n}){if(n===void 0)return null;let a=t.map(o=>n(o)),i=a.filter(o=>o.kind==="unreached").length;if(i===0)return null;let l=a.some(o=>R0(o));return(0,A.jsxs)("p",{className:"va-note",children:["Nothing the commit walked arrives at ",l?w(i,"other"):"any of these",", and no file is recorded for them either, so how far they are from ",(0,A.jsx)("strong",{children:e})," is not something this build measured."]})}function P0({client:e,reviewer:t,build:n,origin:a,crossing:i,changes:l,go:o,onDecided:r}){let s=n.causes.some(d=>d.file!==void 0),c=Kg(a.component,a.appearances),f=U0(n)(a.component),p=O0(n)(a.component),u=E0(n,a.component,a.appearances.map(({subject:d})=>d.subject)),h=Nr(n,a.component),y=Jg(a.component,n.subjects,new Set(a.appearances.map(({subject:d})=>d.subject))),N=x0(n,a),k=a.appearances.filter(({subject:d})=>d.decision!==null).length,m=a.appearances.filter(({subject:d})=>d.decision===null&&d.approvable);return(0,_.jsx)("div",{className:"va-stage va-scroll",children:(0,_.jsxs)("div",{className:"va-page va-decide",children:[(0,_.jsxs)("header",{className:"va-decide-head",children:[(0,_.jsxs)("div",{children:[(0,_.jsx)("h1",{children:a.component}),(0,_.jsx)(N0,{bands:N,component:a.component,...a.file===void 0?{}:{declared:a.file},build:n.build,go:o}),S0(N,a.file)?null:(0,_.jsx)(e0,{file:a.file,sourced:s})]}),(0,_.jsx)(Cx,{client:e,reviewer:t,build:n.build,origin:a,open:m,settled:k,onDecided:r})]}),(0,_.jsx)(Q0,{component:a.component,across:c,handed:f}),(0,_.jsx)(Pg,{origin:a,elsewhere:y.length,open:m.length}),(0,_.jsx)(j0,{carrying:u,renders:a.appearances.length,build:n.build,changes:l,go:o}),(0,_.jsx)(Z0,{handed:f,build:n.build,changes:l,go:o}),(0,_.jsx)(Hu,{client:e,build:n.build,component:a.component,appearances:a.appearances,onOpen:d=>o({page:"subject",build:n.build,subject:d})}),(0,_.jsx)($0,{found:p,build:n.build,changes:l,go:o}),(0,_.jsx)(r0,{origin:a,build:n.build,changes:l,go:o}),(0,_.jsx)(M0,{controls:z0(a),build:n.build,go:o}),(0,_.jsx)(t0,{origin:a}),(0,_.jsx)(K0,{component:a.component,across:c,far:h,except:new Set(p.map(d=>d.component))}),(0,_.jsx)(F0,{component:a.component,found:y,build:n.build,go:o}),(0,_.jsx)(n0,{crossing:i,origin:a}),(0,_.jsx)(i0,{client:e,component:a.component}),(0,_.jsx)(a0,{origin:a}),(0,_.jsx)("h2",{children:"Where it showed up"}),(0,_.jsx)("ul",{className:"va-where",children:a.appearances.map(d=>(0,_.jsx)(Rx,{client:e,reviewer:t,build:n.build,appearance:d,apart:d.movement!==void 0&&d.movement.cause!==a.cause,also:u.at(d.subject.subject),was:i.state==="ready"?i.of(d.subject.subject):void 0,against:i.state==="ready"?i.earlier.build:void 0,go:o,onDecided:r},d.subject.subject))}),(0,_.jsx)(l0,{build:n}),(0,_.jsx)(o0,{})]})})}function Rx({client:e,reviewer:t,build:n,appearance:a,apart:i,also:l,was:o,against:r,go:s,onDecided:c}){let{subject:f,pixels:p}=a,u=a.alongside.filter(d=>!l.includes(d)),[h,y]=(0,jl.useState)(!1),[N,k]=(0,jl.useState)(void 0),m=async d=>{y(!0),k(void 0);try{await e.decide(n,f.subject,d,t),c()}catch(g){k(sn(g))}finally{y(!1)}};return(0,_.jsxs)("li",{className:"va-where-row",children:[(0,_.jsx)(ae,{to:{page:"subject",build:n,subject:f.subject},go:s,className:"va-where-subject",children:f.subject}),(0,_.jsxs)("span",{className:"va-where-size va-num va-note",children:[x(p)," px"]}),l.length===0?null:(0,_.jsxs)("span",{className:"va-mark va-carries-mark",title:"Approving this render accepts these here too",children:["also ",l.join(", ")]}),i&&a.movement!==void 0?(0,_.jsx)("span",{className:"va-mark va-note",title:a.movement.because,children:a.movement.upstream===void 0?a.movement.cause:`from ${a.movement.upstream}`}):null,o===void 0||o.shift!=="again"?null:(0,_.jsxs)("span",{className:"va-mark va-known",children:["same as ",r===void 0?"the last run":`build ${r}`,o.earlier?.decision==null?", undecided":""]}),u.length===0?null:(0,_.jsxs)("span",{className:"va-where-with va-note",title:u.join(", "),children:["alongside ",u.slice(0,3).join(", "),u.length>3?` and ${w(u.length-3,"other")}`:""]}),f.decision===null?(0,_.jsxs)("span",{className:"va-where-act",children:[(0,_.jsx)("button",{type:"button",className:"va-approve",disabled:h||!f.approvable,onClick:()=>void m("approved"),title:f.approvable?"Promote this render\u2019s candidate, and no others":"This run kept no candidate image for this subject, so there is nothing to promote.",children:"\u2713"}),(0,_.jsx)("button",{type:"button",disabled:h,onClick:()=>void m("rejected"),children:"\u2715"})]}):(0,_.jsxs)("span",{className:`va-mark va-${f.decision.decision}`,children:[f.decision.decision==="approved"?"\u2713":"\u2715"," ",f.decision.by]}),N===void 0?null:(0,_.jsx)("span",{className:"va-failure",children:N})]})}function Cx({client:e,reviewer:t,build:n,origin:a,open:i,settled:l,onDecided:o}){let[r,s]=(0,jl.useState)(!1),[c,f]=(0,jl.useState)(void 0),p=a.appearances.length-i.length-l,u=async h=>{s(!0),f(void 0);try{for(let{subject:y}of i)await e.decide(n,y.subject,h,t,`${h} as one change in ${a.component}`);o()}catch(y){f(sn(y))}finally{s(!1)}};return(0,_.jsxs)("div",{className:"va-decide-act",children:[(0,_.jsxs)("button",{type:"button",className:"va-approve",disabled:r||i.length===0,onClick:()=>void u("approved"),title:`Promote the candidate in every render ${a.component} moved`,children:["Approve this change",i.length===0?"":` (${x(i.length)})`]}),(0,_.jsx)("button",{type:"button",disabled:r||i.length===0,onClick:()=>void u("rejected"),children:"Reject"}),l===0?null:(0,_.jsxs)("span",{className:"va-note",children:[x(l)," already decided"]}),p===0?null:(0,_.jsxs)("span",{className:"va-note",children:[w(p,"render")," kept no candidate and cannot be approved here"]}),c===void 0?null:(0,_.jsx)("p",{className:"va-failure",children:c})]})}var Yn=H(Xe(),1);function tv(e,t){let n=new Map(t.subjects.map(l=>[l.subject,l])),a=[],i=0;for(let l of e.subjects){let o=n.get(l.subject);n.delete(l.subject);let r=Dx(l,o);r==="held"?i+=1:a.push({subject:l.subject,shift:r,now:l,...o===void 0?{}:{earlier:o}})}for(let l of n.values())a.push({subject:l.subject,shift:"dropped",earlier:l});return{shifts:a,held:i}}function ev(e){return e.verdict==="changed"||e.verdict==="unchanged"||e.verdict==="ignored"}function Dx(e,t){if(t===void 0)return"new";if(!ev(e))return"uncompared";if(!ev(t))return"unplaced";if(e.verdict==="ignored")return t.verdict==="ignored"?"declared":"absorbed";if(t.verdict==="ignored")return e.verdict==="unchanged"?"settled":"unmasked";if(e.verdict==="unchanged")return t.verdict==="unchanged"?"held":"settled";if(t.verdict==="unchanged")return"first";let n=$u(e),a=$u(t);return n===void 0||a===void 0?"unsaid":n===a?"again":"differently"}function Lu(e,t){let[n,a]=(0,Yn.useState)({state:"loading"}),i=t.build,l=(0,Yn.useCallback)(async()=>{try{let r=Ux(await e.builds(),i);if(r===void 0){a({state:"none"});return}a({state:"ready",value:await e.build(r.build)})}catch(r){a({state:"failed",why:r instanceof Error?r.message:String(r)})}},[e,i]);(0,Yn.useEffect)(()=>{l()},[l]);let o=n.state==="ready"?n.value:void 0;return(0,Yn.useMemo)(()=>{if(o===void 0)return n;let r=tv(t,o),s=new Map(r.shifts.map(c=>[c.subject,c]));return{state:"ready",earlier:o,divergence:r,of:c=>s.get(c)}},[t,o,n])}function Ux(e,t){let n=e.findIndex(a=>a.build===t);return n===-1?void 0:e[n+1]}var q=H(ee(),1);function nv(e){let t=e.composition;if(t===null)return()=>({kind:"unrecorded"});let n=new Map(t.map(l=>[l.component,l])),a=e.reach!==null&&e.reach.whole===void 0?e.reach:null,i=new Set(a?.components.map(l=>l.component)??[]);return(l,o)=>{let r=n.get(l);if(r===void 0)return{kind:"unlisted"};if(r.within.length===0)return{kind:"outermost"};let s=new Set(o),c=h=>{let y=n.get(h);return y===void 0?!1:s.size===0||y.subjects.some(N=>s.has(N))},f=new Set([l]),p=(h,y)=>{let N=[];for(let k of y)f.has(k)||!c(k)||(f.add(k),N.push({holder:k,through:h===null?[]:[h.holder,...h.through]}));return N},u=p(null,r.within);for(;u.length>0;){let h=u.filter(y=>i.has(y.holder));if(h.length>0)return{kind:"through",by:[...h].sort((y,N)=>y.holder.localeCompare(N.holder))};u=u.flatMap(y=>p(y,n.get(y.holder)?.within??[]))}return{kind:a===null?"unmeasured":"enclosed",within:r.within}}}var kx=10;function av({build:e,crossing:t}){let n=t.state==="ready"?t.earlier:void 0,a=n?.commit===e.commit?void 0:n;return(0,q.jsxs)("section",{className:"va-impact",children:[(0,q.jsxs)("p",{className:"va-impact-commit",children:[a===void 0?null:(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)("code",{className:"va-commit",children:a.commit.slice(0,8)}),(0,q.jsx)("span",{className:"va-note",children:" \u2026 "})]}),(0,q.jsx)("code",{className:"va-commit",children:e.commit.slice(0,8)}),e.branch===void 0?null:(0,q.jsxs)("span",{className:"va-note",children:[" on ",e.branch]}),a===void 0?null:(0,q.jsxs)("span",{className:"va-note",children:[" ","\u2014 everything since build ",a.build,", not one commit"]})]}),(0,q.jsx)(Bx,{build:e}),(0,q.jsx)(Hx,{build:e})]})}function Bx({build:e}){let{reach:t}=e;if(t===null)return(0,q.jsx)("p",{className:"va-note",children:"No diff was read for this build, so nothing here can say which files it came from."});if(t.whole!==void 0)return(0,q.jsxs)("p",{className:"va-note",children:["The diff against ",(0,q.jsx)("code",{children:t.against})," could not be attributed: ",t.whole]});let n=t.changed.slice(0,kx),a=t.changed.length-n.length;return(0,q.jsxs)("div",{className:"va-impact-files",children:[(0,q.jsxs)("p",{className:"va-note",children:[w(t.changed.length,"file")," changed against ",(0,q.jsx)("code",{children:t.against})]}),(0,q.jsxs)("ul",{title:t.changed.join(`
|
|
11
|
+
`),children:[n.map(i=>(0,q.jsx)("li",{children:(0,q.jsx)("code",{children:i})},i)),a===0?null:(0,q.jsxs)("li",{className:"va-note",children:["and ",w(a,"more file")]})]})]})}function Hx({build:e}){let t=D0(e);if(t===null||t.rungs.length===0)return null;let n=[...t.rungs].reverse().find(i=>i.moved>0),a=Math.max(...t.rungs.map(i=>i.reached));return(0,q.jsxs)("div",{className:"va-impact-depth",children:[(0,q.jsx)("h2",{children:"How far the edit landed"}),(0,q.jsx)("p",{className:"va-note",children:n===void 0?"Nothing the commit declares moved.":n.depth===0?"Movement in what the commit declares stops at the files it changed.":`Movement reaches ${w(n.depth,"import")} out from an edited file.`}),(0,q.jsx)("ul",{className:"va-rungs",children:t.rungs.map(i=>(0,q.jsx)(Vx,{rung:i,widest:a},i.depth))}),(0,q.jsx)(Lx,{build:e,moved:t.undeclared}),t.throughUnread===0?null:(0,q.jsxs)("p",{className:"va-note",children:[w(t.throughUnread,"component")," reached only through a file the scan could not read, so their depth is measured from the blind spot rather than from the edit \u2014 they are not counted above."]})]})}function Lx({build:e,moved:t}){if(t.length===0)return null;let n=nv(e),a=pr(e);return(0,q.jsxs)("div",{className:"va-unheld",children:[(0,q.jsxs)("p",{children:[w(t.length,"component")," no file in this commit declares \u2014 not in the bars above:"]}),(0,q.jsx)("ul",{children:t.map(i=>{let l=a.about(i.component)[0];return(0,q.jsxs)("li",{title:i.subjects.join(`
|
|
12
|
+
`),children:[(0,q.jsx)("span",{className:"va-unheld-name",children:i.component}),(0,q.jsx)("span",{className:"va-unheld-why",children:l===void 0?qx(n(i.component,i.subjects)):(0,q.jsx)(Ru,{say:l.because})})]},i.component)})})]})}function qx(e){switch(e.kind){case"unrecorded":return"this run recorded no composition, so nothing here knows what draws it";case"unlisted":return"the run drew no boundary under this name, so nothing here knows what draws it";case"outermost":return"nothing in the suite draws it \u2014 wherever it appears, it is the outermost component";case"enclosed":return`drawn by ${qu(e.within)}, and the commit reaches none of them`;case"unmeasured":return`drawn by ${qu(e.within)}, and no diff was read to place them against`;case"through":return Yx(e.by)}}function Yx(e){let t=new Map;for(let n of e){let a=t.get(n.through.join(" > "))??{through:n.through,holders:[]};a.holders.push(n.holder),t.set(n.through.join(" > "),a)}return[...t.values()].map(({through:n,holders:a})=>{let i=a.length===1?"draws":"draw",[l,...o]=[...n,"it"],r=o.map(s=>`which draws ${s}`).join(", ");return`${qu(a)} ${i} ${l??"it"}${r===""?"":`, ${r}`}`}).join("; ")}function qu(e,t=3){return e.length>t?`${e.slice(0,t).join(", ")} and ${w(e.length-t,"other")}`:e.length<=1?e.join(""):`${e.slice(0,-1).join(", ")} and ${e[e.length-1]??""}`}function Vx({rung:e,widest:t}){let n=e.depth===0?"in a changed file":`${w(e.depth,"import")} out`;return(0,q.jsxs)("li",{className:"va-rung",children:[(0,q.jsx)("span",{className:"va-rung-at va-note",children:n}),(0,q.jsx)("span",{className:"va-rung-bar",style:{width:`${String(e.reached/t*100)}%`},children:(0,q.jsx)("span",{className:"va-rung-moved",style:{width:`${String(e.moved/e.reached*100)}%`}})}),(0,q.jsxs)("span",{className:"va-rung-num va-num",children:[x(e.moved),"/",x(e.reached)]})]})}var R=H(ee(),1);function Yu({build:e,crossing:t,order:n,selected:a,go:i}){let{origins:l,unattributed:o}=qn(e),r=l.reduce((s,c)=>s+c.appearances.length,0);return l.length===0&&o.length===0?(0,R.jsx)("div",{className:"va-rail-empty va-note",children:"Nothing in this build changed, so there is nothing to approve."}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)("div",{className:"va-rail-head",children:[(0,R.jsxs)("p",{className:"va-rail-tally",children:[w(l.length,"change")," \xB7 ",w(r,"render")]}),(0,R.jsx)(Xx,{order:n,build:e.build,go:i})]}),(0,R.jsx)(Gx,{build:e,go:i}),(0,R.jsxs)("div",{className:"va-rail-list va-scroll",children:[Sr(e,l,n).map(s=>(0,R.jsx)(Qx,{group:s,detail:e,build:e.build,crossing:t,selected:a,go:i},s.lane+s.title)),o.length===0?null:(0,R.jsx)(Fx,{subjects:o,build:e.build,go:i})]})]})}function Gx({build:e,go:t}){let n=c0(e);return n===null?null:n.length===0?(0,R.jsx)("p",{className:"va-foreseen va-note",children:"Everything that moved is under a file this commit changed."}):(0,R.jsxs)("p",{className:"va-foreseen va-note va-foreseen-off",children:[(0,R.jsx)("span",{className:"va-num",children:x(n.length)})," moved with nothing in this commit above"," ",n.slice(0,3).map((a,i)=>(0,R.jsxs)("span",{children:[i===0?"\u2014 ":", ",(0,R.jsx)(ae,{to:{page:"subject",build:e.build,subject:a},go:t,className:"va-from-go",children:a})]},a)),n.length>3?` and ${x(n.length-3)} more`:""]})}function Xx({order:e,build:t,go:n}){return(0,R.jsx)("div",{className:"va-sorting",role:"group","aria-label":"Order the changes",children:v0.map(({order:a,label:i,why:l})=>(0,R.jsx)(ae,{to:{page:"build",build:t,order:a},go:n,className:a===e?"va-sort va-on":"va-sort",title:l,children:i},a))})}function Qx({group:e,detail:t,build:n,crossing:a,selected:i,go:l}){return(0,R.jsxs)("section",{className:`va-band va-band-${e.lane}`,children:[(0,R.jsx)(b0,{group:e,detail:t,go:l}),(0,R.jsx)("ul",{children:e.changes.map(({origin:o,of:r})=>(0,R.jsx)(Zx,{origin:o,...r===void 0?{}:{of:r},...e.root===void 0?{}:{from:e.root.name},build:n,crossing:a,open:o.component===i,go:l},o.component))})]})}function Zx({origin:e,of:t,from:n,build:a,crossing:i,open:l,go:o}){let r=gr(e.appearances).size,s=e.appearances.filter(({subject:c})=>c.decision!==null).length;return(0,R.jsx)("li",{className:l?"va-row va-here":"va-row",children:(0,R.jsxs)(ae,{to:{page:"change",build:a,change:e.component},go:o,className:"va-row-link",title:e.file??e.component,children:[(0,R.jsx)("span",{className:"va-row-name",children:e.component}),(0,R.jsxs)("span",{className:"va-row-spread va-note",children:[t===void 0?w(e.appearances.length,"render"):`${x(t)} of ${w(e.appearances.length,"render")}`,r>1?` \xB7 ${w(r,"shape")}`:""]}),(0,R.jsxs)("span",{className:"va-row-size va-num",children:[x(e.pixels)," px"]}),(0,R.jsx)(Jx,{origin:e,crossing:i,decided:s}),(0,R.jsx)(Kx,{origin:e,...n===void 0?{}:{from:n}})]})})}function Kx({origin:e,from:t}){let n=Vg(e).filter(i=>i!==t);if(n.length===0)return null;let a=n.join(", ");return(0,R.jsx)("span",{className:"va-row-from",title:a,children:a})}function Jx({origin:e,crossing:t,decided:n}){return n===e.appearances.length?(0,R.jsx)("span",{className:"va-mark va-approved",children:"decided"}):t.state==="ready"&&e.appearances.filter(({subject:i})=>t.of(i.subject)?.shift==="again").length===e.appearances.length?(0,R.jsxs)("span",{className:"va-mark va-known",title:`Every render of this was in build ${t.earlier.build} too, with the same difference`,children:["seen in ",t.earlier.build]}):(e.stranded??[]).length>0?(0,R.jsx)("span",{className:"va-mark va-alarm",title:"The commit reaches nothing at all in some of these renders",children:"unreached"}):n>0?(0,R.jsxs)("span",{className:"va-mark va-note",children:[x(n),"/",x(e.appearances.length)]}):null}function Fx({subjects:e,build:t,go:n}){return(0,R.jsxs)("section",{className:"va-band va-band-orphan",children:[(0,R.jsxs)("h3",{children:["No region named these ",(0,R.jsx)("span",{className:"va-num",children:x(e.length)})]}),(0,R.jsx)("ul",{children:e.map(a=>(0,R.jsx)("li",{className:"va-row",children:(0,R.jsxs)(ae,{to:{page:"subject",build:t,subject:a.subject},go:n,className:"va-row-link",title:dr(a),children:[(0,R.jsx)("span",{className:"va-row-name",children:a.subject}),(0,R.jsx)(Wx,{subject:a}),(0,R.jsxs)("span",{className:"va-row-size va-num",children:[x(a.changedPixels)," px"]})]})},a.subject))})]})}function Wx({subject:e}){let n=Sl(e).moved.filter(a=>a.cause).map(a=>a.component);return n.length===0?(0,R.jsx)("span",{className:"va-row-spread va-note",children:w(e.regions.length,"region")}):(0,R.jsxs)("span",{className:"va-row-spread va-note",title:n.join(", "),children:["hashes name ",n.slice(0,2).join(", "),n.length>2?` +${String(n.length-2)}`:""]})}var ke=H(ee(),1);function iv({subjects:e,causes:t,variations:n,selected:a,onSelect:i}){let l=[...new Set(e.map(o=>o.verdict))];return(0,ke.jsxs)("div",{className:"va-rail-list va-scroll",children:[(0,ke.jsx)("button",{type:"button",className:a===null?"va-rail-item va-current":"va-rail-item",onClick:()=>i(null),children:(0,ke.jsxs)("span",{className:"va-rail-body",children:[(0,ke.jsx)("span",{className:"va-rail-name",children:"The docket"}),(0,ke.jsxs)("span",{className:"va-rail-note",children:[w(t,"cause")," \xB7 ",w(n,"variation")]})]})}),l.map(o=>{let r=e.filter(s=>s.verdict===o).sort((s,c)=>c.changedPixels-s.changedPixels);return(0,ke.jsxs)("section",{children:[(0,ke.jsxs)("h2",{className:"va-rail-group",children:[o,(0,ke.jsx)("span",{className:"va-rail-count va-num",children:r.length})]}),(0,ke.jsx)("ul",{children:r.map(s=>(0,ke.jsx)("li",{children:(0,ke.jsxs)("button",{type:"button",className:s.subject===a?"va-rail-item va-current":"va-rail-item",onClick:()=>i(s.subject),children:[(0,ke.jsx)("span",{className:`va-dot va-${s.verdict}`}),(0,ke.jsxs)("span",{className:"va-rail-body",children:[(0,ke.jsx)("span",{className:"va-rail-name",children:s.subject}),(0,ke.jsxs)("span",{className:"va-rail-note",children:[Ln(s)??"no component named",s.changedPixels>0?` \xB7 ${fr(s)}`:""]})]}),s.decision===null?null:(0,ke.jsx)("span",{className:`va-mark va-${s.decision.decision}`,children:s.decision.decision==="approved"?"\u2713":"\u2717"})]})},s.subject))})]},o)})]})}var ue=H(ee(),1);var $=H(ee(),1);function $r(e){return e.expired?"expired":e.unwornTags.length>0?"unworn":e.unresolved?"unresolved":e.pixels===0?e.comparedIn===0?"untested":"dead":"live"}function zr(e){return e.unscoped?"unscoped":e.absorbed.length===0?"dead":"live"}function Tl(e){return e!=="live"&&e!=="untested"}function Vu(e,t){switch($r(e)){case"expired":return"Past its date. The differences it absorbed are being reported again.";case"unworn":{let n=t.vocabulary.length===0?"":` Tags worn in this run: ${t.vocabulary.join(", ")}.`;return`No subject in this run wears ${e.unwornTags.join(", ")}, so the rule applied nowhere.${n}`}case"unresolved":return"Its selector matched nothing in any subject. Either it is no longer needed, or it stopped matching and something you believe is silenced is being reported.";case"untested":return`It excluded a subtree in ${String(e.subjects)} subject(s), none of which was compared this run. Nothing here says whether it is still needed.`;case"dead":return`It excluded a subtree in ${String(e.subjects)} subject(s), ${String(e.comparedIn)} of them compared, and absorbed nothing.`;default:return`Absorbed ${String(e.pixels)} pixel(s) across ${String(e.subjects)} subject(s).`}}function Gu(e){let t=[`${e.totalPixels.toLocaleString("en-US")} pixel(s) absorbed by ${lv(e)}`];return e.fullyIgnored.length>0&&t.push(`${String(e.fullyIgnored.length)} subject(s) differed only there`),t.push(e.vocabulary.length===0?"no subject in this run declared a tag, so no tag was checked":`checked against ${String(e.vocabulary.length)} declared tag(s)`),t.join(" \xB7 ")}function Xu(e){switch(zr(e)){case"unscoped":return"It matched no subject this run planned. Check the subjects and tags it names \u2014 this is a typo rather than a policy that has outlived its cause.";case"dead":return`It was in scope for ${String(e.scoped)} subject(s) and decided none of them. Nothing here needed relaxing.`;default:return`It decided ${String(e.absorbed.length)} of ${String(e.scoped)} subject(s) in scope.`}}function Qu(e){return`${String(e.totalAbsorbed)} subject(s) not asserted on in full, by ${ov(e)}`}function lv(e){return rv(e.rules.filter(t=>t.pixels>0).length,e.rules.length)}function ov(e){return rv(e.rules.filter(t=>t.absorbed.length>0).length,e.rules.length)}function rv(e,t){return e===t?`${String(e)} rule(s)`:`${String(e)} of ${String(t)} rule(s)`}function Zu(e){return e.absorbed.length===0?[]:e.bands.length===0?void 0:e.bands}function Ol(e){if(e.verdict!=="ignored"){let n=e.ignored?.boxes??0;return n===0?{kind:"measured"}:{kind:"masked",boxes:n}}if(e.relaxed!==void 0){let{rule:n,level:a,bands:i}=e.relaxed;return{kind:"relaxed",rule:n,level:a,bands:i}}let t=Object.entries(e.ignored?.byRule??{}).filter(([,n])=>n>0).map(([n])=>n);return t.length===0?{kind:"unsaid"}:{kind:"absorbed",rules:t,pixels:e.ignored?.pixels??0}}var cv={a11y:"Accessibility",geometry:"Layout",token:"Style",content:"Content",texture:"Rendering"},sv=Object.keys(cv);function Ku(e){return e===void 0?"Unclassified":cv[e]??e}function Ht(e){return e.standing===void 0?"undated":e.standing?"standing":"new"}var Ju={new:"arrived with this change",standing:"already in the baseline",undated:"not dated"},Mr={new:"The baseline recorded what was found in it, and this was not among it.",standing:"The baseline carried this defect too. Approving this change does not approve the defect, and fixing it is separate work.",undated:"Nothing recorded what the baseline contained \u2014 there is no baseline yet, or it was written before findings were kept beside it. This is not a claim that the defect is new."};function Fu(e){let t=new Map;for(let i of e){let l=i.band??void 0;t.set(l,[...t.get(l)??[],i])}let n=sv.filter(i=>t.has(i)).map(i=>({band:i,title:Ku(i),findings:t.get(i)??[]})),a=[...t.entries()].filter(([i])=>i===void 0||!sv.includes(i)).map(([i,l])=>({band:i,title:Ku(i),findings:l}));return[...n,...a]}function Al(e){return{arrived:e.filter(t=>Ht(t)==="new"),rest:e.filter(t=>Ht(t)!=="new"),dated:e.some(t=>Ht(t)!=="undated")}}function Wu(e){let{arrived:t,dated:n}=Al(e);return t.length>0?`${uv(t.length,"defect")} arrived with this change`:n?"Nothing here arrived with this change":"Nothing recorded what the baseline held, so none of them can be dated to this change"}function Iu(e){let{rest:t,dated:n}=Al(e);if(!n||t.length===0)return;let a=t.filter(l=>Ht(l)==="standing").length,i=t.length-a;return[a===0?void 0:`${String(a)} already in the baseline`,i===0?void 0:`${String(i)} the baseline does not account for`].filter(l=>l!==void 0).join(", ")}function Pu(e){return`${uv(e.length,"defect")} read from this render, with no baseline compared`}function ed(e){return new Set(e.map(Ht)).size>1}function uv(e,t){return`${String(e)} ${t}${e===1?"":"s"}`}function fv({declarations:e}){let{ignores:t,sensitivities:n}=e,a=t!==null&&t.rules.length>0,i=n!==null&&n.rules.length>0;return!a&&!i?(0,$.jsx)("p",{className:"va-note",children:"This build carried no declaration ledger. Either its config named no ignores and no sensitivities, or it was recorded before this service kept them \u2014 one absence on the wire, and neither of them is an audit that came back clean."}):(0,$.jsxs)($.Fragment,{children:[a?(0,$.jsx)(Ix,{ledger:t}):null,i?(0,$.jsx)(eS,{ledger:n}):null]})}function Ix({ledger:e}){return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)("h3",{className:"va-ledger-head",children:["Ignores ",(0,$.jsx)("span",{className:"va-note",children:"what each rule absorbed, and what it did not"})]}),(0,$.jsx)("table",{className:"va-region-table va-ledger",children:(0,$.jsx)("tbody",{children:e.rules.map(t=>{let n=$r(t);return(0,$.jsxs)("tr",{className:Tl(n)?"va-spent":"",children:[(0,$.jsx)("td",{children:(0,$.jsx)("code",{children:t.rule})}),(0,$.jsx)("td",{children:(0,$.jsx)(hv,{state:n,says:Vu(t,e)})}),(0,$.jsx)("td",{className:"va-num-col",children:t.pixels===0?(0,$.jsx)("span",{className:"va-none",children:"none"}):`${x(t.pixels)} px`}),(0,$.jsx)("td",{className:"va-num-col",children:(0,$.jsx)(Px,{entry:t})}),(0,$.jsx)("td",{className:"va-ledger-why",children:t.reason})]},t.rule)})})}),(0,$.jsx)("p",{className:"va-note",children:Gu(e)})]})}function Px({entry:e}){return e.subjects===0?(0,$.jsx)("span",{className:"va-none",children:"nowhere"}):(0,$.jsxs)($.Fragment,{children:[x(e.subjects)," ",(0,$.jsx)("em",{children:"subj"}),e.comparedIn===e.subjects?null:(0,$.jsxs)("span",{className:"va-none",children:[" ",x(e.comparedIn)," compared"]})]})}function eS({ledger:e}){return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)("h3",{className:"va-ledger-head",children:["Sensitivities ",(0,$.jsx)("span",{className:"va-note",children:"what each rule relaxed, and what it did not"})]}),(0,$.jsx)("table",{className:"va-region-table va-ledger",children:(0,$.jsx)("tbody",{children:e.rules.map(t=>{let n=zr(t);return(0,$.jsxs)("tr",{className:Tl(n)?"va-spent":"",children:[(0,$.jsx)("td",{children:(0,$.jsx)("code",{children:t.rule})}),(0,$.jsx)("td",{children:(0,$.jsx)(hv,{state:n,says:Xu(t)})}),(0,$.jsx)("td",{children:(0,$.jsxs)("span",{className:"va-tag",children:["asserts on ",t.level]})}),(0,$.jsx)("td",{className:"va-num-col",children:t.scoped===0?(0,$.jsx)("span",{className:"va-none",children:"nowhere"}):(0,$.jsxs)($.Fragment,{children:[x(t.absorbed.length)," ",(0,$.jsx)("em",{children:"of"})," ",x(t.scoped)]})}),(0,$.jsxs)("td",{className:"va-ledger-why",children:[(0,$.jsx)(tS,{entry:t}),t.reason]})]},t.rule)})})}),(0,$.jsx)("p",{className:"va-note",children:Qu(e)})]})}function tS({entry:e}){let t=Zu(e);return t===void 0?(0,$.jsx)("span",{className:"va-tag",title:"This report did not record which bands were absorbed.",children:"bands not recorded"}):t.length===0?null:(0,$.jsx)($.Fragment,{children:t.map(n=>(0,$.jsx)("span",{className:"va-tag",children:n},n))})}function hv({state:e,says:t}){return(0,$.jsx)("span",{className:Tl(e)?"va-tag va-warn":"va-tag",title:t,children:e})}var C=H(ee(),1);var nS=[{shift:"differently",title:"Moved again, and not the same way",tone:"va-shift-alarm",say:e=>`These differed in ${e} too, but not in the same way: the difference itself changed between the two runs, so neither reading has settled.`},{shift:"unsaid",title:"Moved again; nothing recorded says whether it is the same",tone:"va-shift-ask",say:e=>`Both runs found a difference, and at least one of them localised no shape for it. Nothing here may call these identical to ${e}, or different from it.`},{shift:"first",title:"Moved for the first time",tone:"va-shift-alarm",say:e=>`${e} compared these and found nothing. This run found a difference.`},{shift:"unmasked",title:"A rule stopped absorbing these",tone:"va-shift-alarm",say:e=>`${e} reported these green because a declaration absorbed their difference, and this run reports one. Either the rule stopped matching, or something moved outside what it covers \u2014 and the second is what a mask over a real regression looks like from the outside.`},{shift:"absorbed",title:"A rule now decides these",tone:"va-shift-ask",say:e=>`${e} put these in front of a reviewer and this run does not: a declaration in the config now takes their difference. That is the intended effect of writing one, and it is also how a subject leaves review without anybody deciding it.`},{shift:"new",title:"New to this run",tone:"va-shift-quiet",say:e=>`${e} had no such subject, so there is nothing to place these against.`},{shift:"again",title:"The same difference, again",tone:"va-shift-known",say:e=>`The shape ${e} already carried, unchanged. Deciding it there would have settled it here.`},{shift:"settled",title:"No longer moving",tone:"va-shift-good",say:e=>`${e} found a difference in these. This run agrees with the baseline.`},{shift:"declared",title:"Green because a rule says so",tone:"va-shift-known",say:()=>"Compared, found to differ, and decided by a declaration this config names. Nothing is awaiting review here; what is worth reading is the ledger below, which says what each rule absorbed and what it no longer does."},{shift:"unplaced",title:"The earlier run never compared these",tone:"va-shift-quiet",say:e=>`${e} recorded no comparison for them \u2014 no baseline, or nothing to compare \u2014 so this run's reading stands alone.`},{shift:"uncompared",title:"This run did not compare these",tone:"va-shift-quiet",say:()=>"No baseline was put beside them here, so nothing about their history applies yet."},{shift:"dropped",title:"Gone since the earlier run",tone:"va-shift-ask",say:e=>`${e} carried these and this run does not. The suite lost them.`}],td=6;function mv({crossing:e}){return e.state==="loading"?null:e.state==="none"?(0,C.jsxs)("section",{className:"va-card",children:[(0,C.jsx)("h2",{children:"Since the last run"}),(0,C.jsx)("p",{className:"va-note",children:"There is no earlier run of this project to place this one against. Everything here is being read for the first time."})]}):e.state==="failed"?(0,C.jsxs)("section",{className:"va-card",children:[(0,C.jsx)("h2",{children:"Since the last run"}),(0,C.jsxs)("p",{className:"va-failure",children:["The earlier run could not be read, so nothing on this page says which of these differences you have already seen: ",e.why]})]}):(0,C.jsx)(aS,{earlier:e.earlier,divergence:e.divergence})}function aS({earlier:e,divergence:t}){let{shifts:n,held:a}=t,i=`build ${e.build}`,l=n.filter(r=>r.shift==="again").length,o=n.filter(r=>["differently","first","new","unmasked"].includes(r.shift)).length;return(0,C.jsxs)("section",{className:"va-card va-divergence",children:[(0,C.jsx)("h2",{children:"Since the last run"}),(0,C.jsxs)("p",{className:"va-subtitle",children:["Against ",(0,C.jsxs)("strong",{children:["build ",e.build]})," ",(0,C.jsx)("code",{className:"va-commit",children:e.commit.slice(0,8)}),e.branch===void 0?null:(0,C.jsxs)("span",{className:"va-note",children:[" on ",e.branch]}),", ",rn(e.at),"."," ",n.length===0?"Every subject read the same way in both runs.":`${o===0?"Nothing here is something that run did not show you":`${w(o,"subject")} here ${o===1?"is":"are"} something that run did not show you`}; ${w(l,"subject")} ${l===1?"carries":"carry"} a difference it already had.`]}),nS.map(r=>{let s=n.filter(c=>c.shift===r.shift);return s.length===0?null:(0,C.jsxs)("div",{className:`va-shift ${r.tone}`,children:[(0,C.jsxs)("p",{className:"va-shift-head",children:[(0,C.jsx)("span",{className:"va-shift-title",children:r.title}),(0,C.jsx)("span",{className:"va-shift-count va-num",children:x(s.length)})]}),(0,C.jsx)("p",{className:"va-note",children:r.say(i)}),(0,C.jsx)("ul",{className:"va-shift-list",children:s.slice(0,td).map(c=>(0,C.jsx)(iS,{shifted:c,against:i},c.subject))}),s.length>td?(0,C.jsxs)("p",{className:"va-note",children:["and ",x(s.length-td)," more, in the rail."]}):null]},r.shift)}),a===0?null:(0,C.jsxs)("p",{className:"va-note va-shift-held",children:[w(a,"subject")," read the same in both runs and neither found a difference."]})]})}function iS({shifted:e,against:t}){let{now:n,earlier:a}=e;return(0,C.jsxs)("li",{className:"va-shift-row",children:[(0,C.jsx)("span",{className:"va-shift-subject",children:e.subject}),e.shift==="differently"&&n!==void 0&&a!==void 0?(0,C.jsxs)("span",{className:"va-note va-num",children:[x(a.changedPixels)," px \u2192 ",x(n.changedPixels)," px"]}):null,e.shift==="again"?(0,C.jsx)(oS,{earlier:a,against:t}):null,e.shift==="first"&&n!==void 0?(0,C.jsxs)("span",{className:"va-note va-num",children:[x(n.changedPixels)," px"]}):null,e.shift==="unmasked"&&n!==void 0?(0,C.jsxs)("span",{className:"va-note va-num",children:[x(n.changedPixels)," px, reported"]}):null,e.shift==="absorbed"?(0,C.jsx)(lS,{now:n,earlier:a}):null]})}function lS({now:e,earlier:t}){let n=e===void 0?void 0:Ol(e),a=t===void 0?null:(0,C.jsxs)("span",{className:"va-note va-num",children:[x(t.changedPixels)," px before"]});return n===void 0||n.kind==="unsaid"?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("span",{className:"va-note",children:"this build does not record which rule"}),a]}):n.kind==="relaxed"?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsxs)("span",{className:"va-mark va-ignored",children:[n.rule," \xB7 asserted on ",n.level]}),a]}):n.kind==="absorbed"?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)("span",{className:"va-mark va-ignored",children:n.rules.join(", ")}),(0,C.jsxs)("span",{className:"va-note va-num",children:[x(n.pixels)," px absorbed"]})]}):(0,C.jsx)(C.Fragment,{children:a})}function oS({earlier:e,against:t}){let n=e?.decision;return n==null?(0,C.jsxs)("span",{className:"va-note",children:["undecided in ",t]}):(0,C.jsxs)("span",{className:n.decision==="approved"?"va-mark va-approved":"va-mark va-rejected",children:[n.decision," in ",t," by ",n.by]})}var E=H(ee(),1),si=H(Xe(),1);var we=H(ee(),1);function rS(e){let t=e.reach;if(t===null||t.whole!==void 0||t.subjects===void 0)return null;let n=sS(e.subjects,t),a=new Set,i=t.changed.map(r=>{let s=t.components.filter(c=>c.throughUnread===void 0&&c.trail[0]===r).map(c=>({component:c.component,trail:c.trail,renders:n.get(c.component)??[]}));for(let c of s)a.add(c.component);return{file:r,arrivals:s,...uS(s)}}),l=t.components.filter(r=>!a.has(r.component)).map(r=>({component:r.component,trail:r.trail,...r.throughUnread===void 0?{}:{throughUnread:r.throughUnread},renders:n.get(r.component)??[]})),o=e.subjects.filter(r=>r.verdict==="changed"&&t.subjects?.[r.subject]?.reached===!1).length;return{edits:i,aside:l,unreached:o}}function sS(e,t){let n=new Map;for(let a of e){let i=t.subjects?.[a.subject];if(i!==void 0)for(let l of i.through){let o=n.get(l)??[];o.push({subject:a,landing:cS(a,l)}),n.set(l,o)}}return n}function cS(e,t){return e.verdict==="unchanged"?"still":e.verdict!=="changed"?"uncompared":e.regions.some(n=>n.cause===!0&&n.component===t)?"caused":"moved"}function uS(e){let t=e.flatMap(a=>a.renders),n=new Set(t.filter(a=>a.landing==="caused").map(a=>a.subject.subject)).size;return e.length===0?{effect:"unreaching",caused:0}:n>0?{effect:"caused",caused:n}:t.length===0?{effect:"uncaptured",caused:0}:t.some(a=>a.landing==="moved")?{effect:"present",caused:0}:{effect:"still",caused:0}}var dS={caused:{tone:"va-effect-cause",say:e=>`the cause in ${w(e.caused,"render")}`},present:{tone:"va-effect-quiet",say:()=>"present, never the cause"},still:{tone:"va-effect-ask",say:()=>"nothing it reaches moved"},uncaptured:{tone:"va-effect-ask",say:()=>"nothing renders what it reaches"},unreaching:{tone:"va-effect-quiet",say:()=>"reaches no component"}};function pv({build:e}){let t=rS(e);return t===null?null:(0,we.jsxs)("div",{className:"va-map",children:[(0,we.jsx)("ol",{className:"va-edits",children:t.edits.map(n=>(0,we.jsx)(fS,{edit:n},n.file))}),t.aside.length===0?null:(0,we.jsxs)("div",{className:"va-map-aside",children:[(0,we.jsxs)("p",{className:"va-map-note",children:[w(t.aside.length,"component")," reached by a chain that does not open at a changed file. The traversal seeds every file it could not read, so these were reached by the scan\u2019s blind spot rather than by the commit."]}),(0,we.jsx)("ul",{className:"va-arrivals",children:t.aside.map(n=>(0,we.jsx)(gv,{arrival:n},n.component))})]}),t.unreached===0?null:(0,we.jsxs)("p",{className:"va-map-note va-map-alarm",children:[w(t.unreached,"render")," moved with no edge on this map \u2014 nothing in the commit arrives there. They are counted below, with their record."]})]})}function fS({edit:e}){let t=dS[e.effect];return(0,we.jsxs)("li",{className:"va-edit",children:[(0,we.jsxs)("p",{className:"va-edit-head",children:[(0,we.jsx)("code",{className:"va-edit-file",children:e.file}),(0,we.jsx)("span",{className:`va-effect ${t.tone}`,children:t.say(e)})]}),e.arrivals.length===0?null:(0,we.jsx)("ul",{className:"va-arrivals",children:e.arrivals.map(n=>(0,we.jsx)(gv,{arrival:n},n.component))})]})}function gv({arrival:e}){let t={caused:e.renders.filter(a=>a.landing==="caused").length,moved:e.renders.filter(a=>a.landing==="moved").length,still:e.renders.filter(a=>a.landing==="still").length,uncompared:e.renders.filter(a=>a.landing==="uncompared").length},n=e.trail.slice(1,-1);return(0,we.jsxs)("li",{className:"va-arrival",children:[(0,we.jsx)("span",{className:"va-arrival-name",children:e.component}),n.length===0?null:(0,we.jsxs)("span",{className:"va-arrival-through",title:e.trail.join(" \u2192 "),children:["through ",n.length===1?n[0]:w(n.length,"file")]}),e.throughUnread===void 0?null:(0,we.jsx)("span",{className:"va-arrival-through",title:e.throughUnread,children:"from an unread file"}),(0,we.jsx)(hS,{tally:t}),(0,we.jsx)("span",{className:"va-arrival-tally va-num",children:mS(t)})]})}function hS({tally:e}){return e.caused+e.moved+e.still+e.uncompared===0?null:(0,we.jsx)("span",{className:"va-bar","aria-hidden":"true",children:["caused","moved","still","uncompared"].map(n=>e[n]===0?null:(0,we.jsx)("span",{className:`va-bar-part va-bar-${n}`,style:{flexGrow:e[n]}},n))})}function mS(e){let t=e.caused+e.moved+e.still+e.uncompared;if(t===0)return"no render draws it";let n=[e.caused===0?void 0:`${x(e.caused)} caused`,e.moved===0?void 0:`${x(e.moved)} moved`,e.still===0?void 0:`${x(e.still)} still`,e.uncompared===0?void 0:`${x(e.uncompared)} not compared`].filter(a=>a!==void 0);return`${w(t,"render")} \xB7 ${n.join(" \xB7 ")}`}function bv(e,t,n=[]){let a=t.subjects,i=[],l=[],o=[],r=0,s=0,c=0;for(let f of e){let p=a?.[f.subject];p===void 0?s+=1:f.verdict==="changed"?(p.reached?i:o).push(f):f.verdict==="unchanged"?p.reached?l.push(f):r+=1:c+=1}return{reachedMoved:i,reachedStill:l,unreachedMoved:o,unreachedStill:r,unreachedSkipped:n.filter(f=>f.kind==="unreached").length,unplaced:s,incomparable:c}}var nd=5,pS=8;function ad({client:e,build:t}){let n=t.reach;return n===null?null:(0,E.jsxs)("section",{className:"va-card va-reach",children:[(0,E.jsx)("h2",{children:"What this commit reaches"}),(0,E.jsxs)("p",{className:"va-subtitle",children:[w(n.changed.length,"file")," changed against ",(0,E.jsx)("code",{children:n.against}),". The import graph carries them to ",w(n.components.length,"component"),"; the baselines say which subjects render those."]}),(0,E.jsx)(pv,{build:t}),n.whole===void 0?(0,E.jsx)(gS,{client:e,build:t,reach:n}):(0,E.jsxs)("p",{className:"va-refusal",children:["This diff was not attributed, so nothing here may be called unreached: ",n.whole,"."]}),(0,E.jsx)(yS,{reach:n})]})}function gS({client:e,build:t,reach:n}){let a=bv(t.subjects,n,t.notObserved);return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)("div",{className:"va-quad",children:[(0,E.jsx)($l,{tone:"va-expected",n:a.reachedMoved.length,title:"reached, and moved",note:"The commit arrives and the render changed. What the edit was for."}),(0,E.jsx)($l,{tone:"va-alarm",n:a.unreachedMoved.length,title:"moved, unreached",note:"Nothing in this commit arrives here. It moved anyway."}),(0,E.jsx)($l,{tone:"va-inert",n:a.reachedStill.length,title:"reached, and still",note:"The commit arrives and changed no pixel of it."}),a.unreachedSkipped===0?(0,E.jsx)($l,{tone:"va-quiet",n:a.unreachedStill,title:"untouched, and still",note:"Out of the commit's reach, and unchanged."}):(0,E.jsx)($l,{tone:"va-quiet",n:a.unreachedSkipped,title:"untouched, not rendered",note:"Out of the commit's reach, so this run never opened them."})]}),a.unreachedMoved.length===0?null:(0,E.jsxs)("section",{className:"va-band va-alarm",children:[(0,E.jsx)("h3",{children:"Moved with nothing reaching it"}),(0,E.jsx)("p",{className:"va-note",children:"The graph placed every changed file and none of them arrives here. Either this run read the subject differently from the last, something outside the repository moved, or the scan has a hole in it \u2014 and the record is what tells those apart."}),(0,E.jsx)("ul",{className:"va-reach-list",children:a.unreachedMoved.map((i,l)=>(0,E.jsxs)("li",{children:[(0,E.jsx)("strong",{children:i.subject})," ",(0,E.jsxs)("span",{className:"va-note",children:[fr(i)," moved"]}),l<nd?(0,E.jsx)(xS,{client:e,subject:i.subject}):null]},i.subject))}),a.unreachedMoved.length<=nd?null:(0,E.jsxs)("p",{className:"va-note",children:["The record was read for the first ",x(nd),". Open the rest from the rail."]})]}),a.reachedStill.length===0?null:(0,E.jsxs)("section",{className:"va-band va-inert",children:[(0,E.jsx)("h3",{children:"Reached, and did not move"}),(0,E.jsx)("p",{className:"va-note",children:"The commit arrives at these and the render is identical to the baseline. Nothing else on this page says anything at all about a green subject."}),(0,E.jsx)("ul",{className:"va-reach-list va-columns",children:a.reachedStill.map(i=>(0,E.jsxs)("li",{children:[(0,E.jsx)("strong",{children:i.subject})," ",(0,E.jsx)(wS,{through:n.subjects?.[i.subject]?.through??[]})]},i.subject))})]}),(0,E.jsx)(vS,{reach:n}),(0,E.jsx)(bS,{crossing:a})]})}function $l({tone:e,n:t,title:n,note:a}){return(0,E.jsxs)("div",{className:t===0?`va-cell ${e} va-zero`:`va-cell ${e}`,children:[(0,E.jsx)("span",{className:"va-cell-n va-num",children:x(t)}),(0,E.jsx)("span",{className:"va-cell-title",children:n}),(0,E.jsx)("span",{className:"va-cell-note",children:a})]})}function vS({reach:e}){if(e.components.length===0)return null;let t=e.components.slice(0,pS);return(0,E.jsxs)("section",{className:"va-band",children:[(0,E.jsx)("h3",{children:"How the diff arrives"}),(0,E.jsx)("ul",{className:"va-trails",children:t.map(n=>(0,E.jsxs)("li",{children:[n.trail.map((a,i)=>(0,E.jsxs)("span",{children:[i===0?null:(0,E.jsx)("span",{className:"va-arrow",children:"\u2192"}),i===n.trail.length-1?(0,E.jsx)("strong",{children:a}):(0,E.jsx)("code",{children:a})]},a)),n.throughUnread===void 0?null:(0,E.jsx)("span",{className:"va-axis va-unread",children:"begins at a file the scan could not read"})]},n.component))}),e.components.length<=t.length?null:(0,E.jsxs)("p",{className:"va-note",children:[w(e.components.length-t.length,"further component")," reached, not listed."]})]})}function bS({crossing:e}){return e.unplaced+e.incomparable===0?null:(0,E.jsxs)("p",{className:"va-note va-reach-note",children:[e.unplaced===0?null:(0,E.jsxs)(E.Fragment,{children:[w(e.unplaced,"subject")," could not be placed on either axis, because"," ",e.unplaced===1?"its baseline records":"their baselines record"," no component list."," "]}),e.incomparable===0?null:(0,E.jsxs)(E.Fragment,{children:[w(e.incomparable,"subject")," ",e.incomparable===1?"was":"were"," new or could not be compared, so there is no moved-or-still to cross."]})]})}function yS({reach:e}){return e.unscanned===void 0&&e.opaque===void 0?null:(0,E.jsxs)("p",{className:"va-note va-reach-note",children:[e.unscanned===void 0?null:(0,E.jsxs)(E.Fragment,{children:[w(e.unscanned.length,"changed file")," under the scanned roots"," ",e.unscanned.length===1?"is":"are"," not in the graph:"," ",(0,E.jsx)(vv,{names:e.unscanned}),"."," "]}),e.opaque===void 0?null:(0,E.jsxs)(E.Fragment,{children:[w(e.opaque.length,"file")," was walked as changed because its own imports could not be read: ",(0,E.jsx)(vv,{names:e.opaque.map(t=>t.file)}),"."]})]})}function wS({through:e}){return e.length===0?null:(0,E.jsxs)("span",{className:"va-note",children:["via ",e.join(", ")]})}function vv({names:e}){return(0,E.jsx)(E.Fragment,{children:e.map((t,n)=>(0,E.jsxs)("span",{children:[n===0?null:", ",(0,E.jsx)("code",{children:t})]},t))})}function xS({client:e,subject:t}){let[n,a]=(0,si.useState)({state:"reading"}),i=(0,si.useCallback)(async()=>{try{a({state:"read",flakiness:await e.flakiness(t)})}catch(l){a({state:"failed",why:l instanceof Error?l.message:String(l)})}},[e,t]);return(0,si.useEffect)(()=>{i()},[i]),n.state==="reading"?(0,E.jsx)("p",{className:"va-note",children:"Reading the record\u2026"}):n.state==="failed"?(0,E.jsxs)("p",{className:"va-note va-lost",children:["The record could not be read: ",n.why]}):(0,E.jsx)(vr,{flakiness:n.flakiness})}var Ge=H(ee(),1);var SS=["ignored","unchanged"];function id(e){return e!=="unchanged"&&e!=="ignored"}function yv({subjects:e,ignores:t}){let n=e.filter(i=>!id(i.verdict));if(n.length===0)return null;let a=n.filter(i=>i.verdict==="ignored");return(0,Ge.jsxs)("details",{className:"va-settled",children:[(0,Ge.jsxs)("summary",{children:[w(n.length-a.length,"subject")," unchanged",a.length===0?"":` \xB7 ${w(a.length,"subject")} green because a rule absorbed the difference`]}),SS.map(i=>{let l=n.filter(o=>o.verdict===i);return l.length===0?null:(0,Ge.jsx)("ul",{className:"va-settled-list",children:l.map(o=>(0,Ge.jsxs)("li",{children:[(0,Ge.jsx)("span",{className:`va-dot va-${o.verdict}`}),(0,Ge.jsx)("strong",{children:o.subject}),(0,Ge.jsx)("span",{className:"va-note",children:o.because}),(0,Ge.jsx)(NS,{subject:o})]},o.subject))},i)}),a.length>0&&t===null?(0,Ge.jsx)("p",{className:"va-note",children:"This build carried no ignore ledger, so which rule absorbed each of these \u2014 and whether it absorbed anything anywhere else \u2014 is not recorded here."}):null]})}function NS({subject:e}){let t=Ol(e);switch(t.kind){case"measured":return null;case"masked":return(0,Ge.jsxs)("span",{className:"va-note",children:["masked in ",w(t.boxes,"place"),", and nothing differed under them"]});case"relaxed":return(0,Ge.jsxs)("span",{className:"va-mark va-ignored",children:["asserted on ",t.level," \xB7 ",(0,Ge.jsx)("code",{children:t.rule})," absorbed ",t.bands.join(", ")]});case"unsaid":return(0,Ge.jsx)("span",{className:"va-note",children:"this build does not record which rule absorbed it"});default:return(0,Ge.jsxs)("span",{className:"va-mark va-ignored",children:["absorbed by ",(0,Ge.jsx)("code",{children:t.rules.join(", ")})," \xB7 ",x(t.pixels)," px"]})}}var ze=H(ee(),1);function od({variations:e}){if(e.length===0)return null;let t=[...e].sort((n,a)=>{let i=ld(n)-ld(a);return i!==0?i:n.subject<a.subject?-1:n.subject>a.subject?1:0});return(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)("h2",{children:"Variations"}),(0,ze.jsx)("p",{className:"va-note",style:{marginBottom:"0.6rem"},children:"Subjects read against the subject they vary from, in this run. Not verdicts \u2014 a variation is a difference somebody meant. What is worth reading is a variation that turns out to be no difference at all."}),(0,ze.jsx)("ul",{className:"va-variation-list",children:t.map(n=>(0,ze.jsxs)("li",{className:`va-variation ${ES[ld(n)]??""}`,children:[(0,ze.jsxs)("p",{className:"va-variation-head",children:[(0,ze.jsx)("span",{className:"va-axis",children:jS(n)}),(0,ze.jsx)("strong",{children:n.subject}),n.parent===void 0?null:(0,ze.jsxs)(ze.Fragment,{children:["from ",(0,ze.jsx)("strong",{children:n.parent})]}),n.how===void 0?(0,ze.jsx)("span",{className:"va-how",children:"how this pair was found is unstated"}):(0,ze.jsx)("span",{className:"va-how",children:n.how}),n.unobserved===void 0||n.unobserved.length===0?null:(0,ze.jsxs)("span",{className:"va-how",children:["undecided in ",n.unobserved.join(", ")]})]}),(0,ze.jsx)("p",{className:"va-because",children:(0,ze.jsx)(yl,{text:n.because})})]},n.subject))})]})}var ES=["va-inert","va-unlinked",""];function ld(e){return e.identical===!0?0:e.identical===void 0?1:2}function jS(e){if(e.identical===void 0)return"not compared";if(e.identical)return"reaches nothing";let t=e.bands??[];return t.length===0?"differs":t.join(" \xB7 ")}function wv({client:e,build:t,crossing:n}){return(0,ue.jsx)("div",{className:"va-stage va-scroll",children:(0,ue.jsxs)("div",{className:"va-page",children:[(0,ue.jsx)("h1",{children:"What this run read"}),(0,ue.jsx)("p",{className:"va-subtitle",children:"The whole reading, in the order it was made: what the commit reaches, what has changed since the last run, what was compared without a baseline, and what nothing looked at. The decisions are on the changes."}),t.intent===void 0?null:(0,ue.jsxs)("p",{className:"va-intent",children:["Declared intent: ",(0,ue.jsx)("em",{children:t.intent})]}),(0,ue.jsx)(mr,{build:t}),(0,ue.jsx)("section",{className:"va-card",children:(0,ue.jsx)(ad,{client:e,build:t})}),(0,ue.jsx)("section",{className:"va-card",children:(0,ue.jsx)(mv,{crossing:n})}),t.variations.length===0?null:(0,ue.jsx)("section",{className:"va-card",children:(0,ue.jsx)(od,{variations:t.variations})}),(0,ue.jsxs)("section",{className:"va-card",children:[(0,ue.jsx)("h2",{children:"Settled"}),(0,ue.jsx)(yv,{subjects:t.subjects,ignores:t.declarations.ignores})]}),(0,ue.jsxs)("section",{className:"va-card",children:[(0,ue.jsx)("h2",{children:"Declarations"}),(0,ue.jsx)(fv,{declarations:t.declarations})]}),t.notObserved.length===0?null:(0,ue.jsxs)("section",{className:"va-card",children:[(0,ue.jsx)("h2",{children:"Not observed"}),(0,ue.jsx)("ul",{className:"va-not-observed",children:t.notObserved.map(a=>(0,ue.jsxs)("li",{className:a.kind==="failed"?"va-failed":"",children:[(0,ue.jsx)("strong",{children:a.subject})," \u2014 ",(0,ue.jsx)(yl,{text:a.because})]},a.subject))})]})]})})}var z=H(ee(),1),da=H(Xe(),1);var P=H(ee(),1);function xv({subject:e}){if(e.findings===void 0)return(0,P.jsx)("p",{className:"va-note",children:"This render was not inspected, so no defect list applies."});if(e.findings.length===0)return(0,P.jsx)("p",{className:"va-note",children:"Inspected, and nothing to report."});let{arrived:t,rest:n,dated:a}=Al(e.findings),i=Iu(e.findings);return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("p",{className:t.length>0?"va-findings-lead va-findings-mine":"va-findings-lead",children:Wu(e.findings)}),t.length===0?null:(0,P.jsx)(rd,{findings:t}),a?null:(0,P.jsx)(rd,{findings:n}),i===void 0?null:(0,P.jsxs)("details",{className:"va-findings-rest",children:[(0,P.jsx)("summary",{children:i}),(0,P.jsx)("p",{className:"va-note",children:Mr[n.some(l=>Ht(l)==="standing")?"standing":"undated"]}),(0,P.jsx)(rd,{findings:n})]}),(0,P.jsx)("p",{className:"va-note va-findings-why",children:Pu(e.findings)})]})}function rd({findings:e}){let t=ed(e);return(0,P.jsx)(P.Fragment,{children:Fu(e).map(n=>(0,P.jsxs)("section",{className:"va-findings-band",children:[(0,P.jsx)("h3",{className:"va-band-head",children:n.title}),(0,P.jsx)("ul",{className:"va-findings",children:OS(n.findings).map(({key:a,finding:i,times:l})=>(0,P.jsx)(TS,{finding:i,times:l,dated:t},a))})]},n.title))})}function TS({finding:e,times:t,dated:n}){let a=Ht(e);return(0,P.jsxs)("li",{className:`va-finding va-finding-${a}`,children:[(0,P.jsxs)("p",{className:"va-finding-title",children:[(0,P.jsx)("span",{className:"va-finding-said",children:_g(e.rule)}),(0,P.jsxs)("span",{className:"va-finding-marks",children:[t>1?(0,P.jsxs)("span",{className:"va-times",children:[x(t)," places"]}):null,n?(0,P.jsx)("span",{className:`va-age va-age-${a}`,title:Mr[a],children:Ju[a]}):null]})]}),(0,P.jsx)("p",{className:"va-finding-where",children:Rg(e.where)??e.path}),(0,P.jsx)("p",{className:"va-finding-what",children:Cg(e.what)}),(0,P.jsxs)("p",{className:"va-finding-owner",children:[e.component===void 0?null:(0,P.jsx)("span",{className:"va-tag",children:e.component}),e.file===void 0?null:(0,P.jsx)("code",{className:"va-tag",children:e.file}),(0,P.jsx)("span",{className:"va-tag va-rule",children:e.rule})]})]})}function OS(e){let t=new Map;for(let n of e){let a=[n.rule,n.component??"",n.file??"",n.where??"",n.what,Ht(n)].join(" \xB7 "),i=t.get(a);i===void 0?t.set(a,{key:a,finding:n,times:1}):i.times+=1}return[...t.values()]}function Sv(e){let t=e.moved,n=(t??[]).filter(o=>o.cause).map(o=>({component:o.component,bands:o.bands,drawn:e.regions.some(r=>r.component===o.component),...o.presence===void 0?{}:{presence:o.presence},...o.grew===void 0?{}:{grew:o.grew}})).sort((o,r)=>r.bands.length-o.bands.length||o.component.localeCompare(r.component)),a=Hn(e)??e.regions[0],i=a?.component!==void 0&&!n.some(o=>o.component===a.component)?a.component:void 0,l=AS(e);return{blamed:n,measured:t!==void 0,...l===void 0?{}:{grew:l},pixels:e.changedPixels,regions:e.regions.length,...i===void 0?{}:{landedIn:i}}}function AS(e){let t=e.size,n=e.baseline;if(t===void 0||n===void 0)return;let a=t.height-n.height,i=t.width-n.width;return a===0&&i===0?void 0:{axis:a!==0&&i!==0?"resized":a>0?"taller":a<0?"shorter":i>0?"wider":"narrower",by:Math.max(Math.abs(a),Math.abs(i)),from:n,to:t}}function sd({client:e,reviewer:t,build:n,subject:a,anchor:i,far:l,sourced:o,onDecided:r}){let[s,c]=(0,da.useState)(!1),[f,p]=(0,da.useState)(null),u=(0,da.useRef)(null);(0,da.useEffect)(()=>{c(!1),p(null),u.current?.scrollTo({top:0})},[a.subject]);let h=async y=>{c(!0),p(null);try{await e.decide(n,a.subject,y,t),r()}catch(N){p(sn(N))}finally{c(!1)}};return(0,z.jsxs)("section",{className:"va-subject",children:[(0,z.jsx)("div",{className:"va-stage va-scroll",ref:u,children:(0,z.jsxs)("div",{className:"va-page",children:[(0,z.jsxs)("header",{className:"va-subject-head",children:[(0,z.jsx)("h3",{children:a.subject}),(0,z.jsx)("span",{className:`va-verdict va-${a.verdict}`,children:a.verdict})]}),(0,z.jsx)($S,{subject:a}),(0,z.jsx)("p",{className:"va-said",children:a.because}),(0,z.jsx)(Du,{client:e,build:n,subject:a,sourced:o})]})}),(0,z.jsxs)("aside",{className:"va-aside va-scroll",children:[(0,z.jsxs)("section",{className:"va-card",children:[(0,z.jsx)("h2",{children:"Decision"}),a.decision===null?null:(0,z.jsxs)("p",{className:"va-decision",children:[a.decision.decision," by ",a.decision.by," \xB7 ",rn(a.decision.at),a.decision.note===void 0?null:(0,z.jsxs)(z.Fragment,{children:[" \u2014 ",a.decision.note]})]}),f===null?null:(0,z.jsx)("p",{className:"va-failure",children:f}),(0,z.jsxs)("p",{className:"va-actions",children:[(0,z.jsx)("button",{type:"button",className:"va-approve",disabled:s||!a.approvable,onClick:()=>void h("approved"),title:a.approvable?"Make this build\u2019s candidate the baseline":"This run kept no candidate image, so there is nothing to promote. Approving would mean rendering one now, which is recording rather than promoting.",children:"Approve"}),(0,z.jsx)("button",{type:"button",disabled:s,onClick:()=>void h("rejected"),children:"Reject"})]}),a.approvable?null:(0,z.jsx)("p",{className:"va-note",style:{marginTop:"0.5rem"},children:"No candidate was uploaded for this subject, so it cannot be approved here."})]}),(0,z.jsxs)("section",{className:"va-card",children:[(0,z.jsx)("h2",{children:"What moved"}),(0,z.jsx)(J0,{subject:a,anchor:i,far:l})]}),(0,z.jsxs)("section",{className:"va-card",children:[(0,z.jsx)("h2",{children:"Findings"}),(0,z.jsx)(xv,{subject:a})]}),(0,z.jsxs)("section",{className:"va-card",children:[(0,z.jsx)("h2",{children:"The record"}),(0,z.jsx)(_u,{client:e,subject:a})]})]})]})}function $S({subject:e}){let t=Sv(e);return t.pixels===0&&t.grew===void 0&&t.blamed.length===0?null:(0,z.jsxs)("div",{className:"va-glance",children:[(0,z.jsx)(zS,{at:t}),t.grew===void 0?null:(0,z.jsxs)("p",{className:"va-glance-cell",children:[(0,z.jsxs)("b",{children:[t.grew.by>0?"+":"",x(t.grew.by)," px"]}),(0,z.jsx)("span",{children:t.grew.axis}),(0,z.jsxs)("small",{children:[x(t.grew.from.width),"\xD7",x(t.grew.from.height)," \u2192"," ",x(t.grew.to.width),"\xD7",x(t.grew.to.height)]})]}),t.pixels===0?null:(0,z.jsxs)("p",{className:"va-glance-cell",children:[(0,z.jsxs)("b",{children:[x(t.pixels)," px"]}),(0,z.jsx)("span",{children:w(t.regions,"region")}),t.landedIn===void 0?null:(0,z.jsxs)("small",{children:["drawn over ",t.landedIn]})]})]})}function zS({at:e}){if(!e.measured)return null;if(e.blamed.length===0)return(0,z.jsxs)("p",{className:"va-glance-cell va-glance-none",children:[(0,z.jsx)("b",{children:"nothing owned it"}),(0,z.jsx)("span",{children:"every digest matched"})]});let t=e.blamed.slice(0,2);return(0,z.jsxs)("p",{className:"va-glance-cell va-glance-cause",children:[(0,z.jsxs)("b",{children:[t.map(n=>n.component).join(", "),e.blamed.length>t.length?` +${x(e.blamed.length-t.length)}`:""]}),(0,z.jsx)("span",{children:_S(t)}),t[0]?.grew===void 0||t.length>1?null:(0,z.jsx)("small",{children:MS(t[0].grew)}),t.every(n=>n.drawn)?null:(0,z.jsx)("small",{className:"va-glance-off",title:"the hashes name it; no region does",children:"no region carries it"})]})}function MS({width:e,height:t}){let n=`${e>0?"+":""}${x(e)}`,a=`${t>0?"+":""}${x(t)}`;return e===0?`${a} px tall`:t===0?`${n} px wide`:`${n} \xD7 ${a} px`}function _S(e){let t=[...new Set(e.map(n=>n.presence).filter(Boolean))];return t.length>0?t.join(", "):[...new Set(e.flatMap(n=>n.bands))].join(" \xB7 ")}function Nv({client:e,reviewer:t,route:n,go:a}){let[i,l]=(0,ci.useState)({state:"loading"}),o=(0,ci.useCallback)(async()=>{try{l({state:"ready",value:await e.build(n.build)})}catch(r){l({state:"failed",why:sn(r)})}},[e,n.build]);return(0,ci.useEffect)(()=>{o()},[o]),i.state==="loading"?(0,D.jsx)("div",{className:"va-app",children:(0,D.jsxs)("p",{className:"va-note",children:["Loading ",n.build,"\u2026"]})}):i.state==="failed"?(0,D.jsx)("div",{className:"va-app",children:(0,D.jsx)(hr,{why:i.why,retry:o})}):(0,D.jsx)(RS,{client:e,reviewer:t,build:i.value,route:n,go:a,reload:o})}function RS({client:e,reviewer:t,build:n,route:a,go:i,reload:l}){let o=Lu(e,n),r=(a.page==="build"?a.order:void 0)??"story",{origins:s}=qn(n),c=n.subjects.filter(h=>id(h.verdict)),f=a.page==="change"?s.find(h=>h.component===a.change):void 0,p=a.page==="subject"?n.subjects.find(h=>h.subject===a.subject):void 0,u=p===void 0?void 0:Ln(p);return(0,D.jsxs)("div",{className:"va-app",children:[(0,D.jsxs)(wl,{crumbs:[{at:{page:"builds"},say:"Builds"}],go:i,title:`Build ${n.build}`,subtitle:n.project,children:[(0,D.jsx)("span",{className:n.pending>0?"va-pill va-warn":"va-pill va-good",children:n.pending>0?`${x(n.pending)} awaiting review`:"settled"}),(0,D.jsxs)("span",{className:"va-topbar-meta",children:[(0,D.jsx)("code",{className:"va-commit",children:n.commit.slice(0,8)}),n.branch===void 0?null:(0,D.jsx)("span",{children:n.branch}),(0,D.jsx)("span",{children:n.identity.engine}),(0,D.jsx)(ae,{to:{page:"run",build:n.build},go:i,className:"va-mode",children:"The run"})]})]}),a.page==="run"?(0,D.jsx)("div",{className:"va-body",children:(0,D.jsx)(wv,{client:e,build:n,crossing:o})}):(0,D.jsxs)("div",{className:"va-body",children:[(0,D.jsxs)("nav",{className:"va-rail",children:[(0,D.jsx)(CS,{build:n.build,order:r,subjects:c,route:a,go:i}),a.page==="subject"?(0,D.jsx)(iv,{subjects:c,causes:n.causes.length,variations:n.variations.length,selected:a.subject,onSelect:h=>i(h===null?{page:"build",build:n.build}:{page:"subject",build:n.build,subject:h})}):(0,D.jsx)(Yu,{build:n,crossing:o,order:r,selected:f?.component,go:i})]}),p!==void 0?(0,D.jsx)(sd,{client:e,reviewer:t,build:n.build,subject:p,...u===void 0?{}:{anchor:u,far:Nr(n,u)},sourced:n.causes.some(h=>h.file!==void 0),onDecided:l}):f!==void 0?(0,D.jsx)(P0,{client:e,reviewer:t,build:n,origin:f,crossing:o,changes:new Set(s.map(h=>h.component)),go:i,onDecided:l}):(0,D.jsx)(DS,{build:n,crossing:o,route:a,go:i})]})]})}function CS({build:e,order:t,subjects:n,route:a,go:i}){let l=n[0]?.subject;return(0,D.jsxs)("div",{className:"va-switch",role:"group","aria-label":"What to work through",children:[(0,D.jsx)(ae,{to:{page:"build",build:e,order:t},go:i,className:a.page==="subject"?"va-mode":"va-mode va-on",title:"One row per change: a component and everywhere it moved",children:"Changes"}),l===void 0?(0,D.jsx)("span",{className:"va-mode va-off",title:"Nothing in this build is awaiting a decision",children:"Subjects"}):(0,D.jsx)(ae,{to:{page:"subject",build:e,subject:a.page==="subject"?a.subject:l},go:i,className:a.page==="subject"?"va-mode va-on":"va-mode",title:"One row per render, which is what the run measured",children:"Subjects"})]})}function DS({build:e,crossing:t,route:n,go:a}){let{origins:i,unattributed:l}=qn(e),o=n.page==="change"?n.change:void 0;return(0,D.jsx)("div",{className:"va-stage va-scroll",children:(0,D.jsxs)("div",{className:"va-page va-opening",children:[o===void 0?null:(0,D.jsxs)("p",{className:"va-failure",children:["This build has no change under ",(0,D.jsx)("strong",{children:o}),". It may have been decided and the baseline promoted, or the link may be from another build."]}),(0,D.jsx)("h1",{children:i.length===0?"Nothing in this build changed":`${w(i.length,"change")} to work through`}),i.length===0?(0,D.jsx)(US,{verdicts:e.verdicts}):null,l.length===0?null:(0,D.jsxs)("p",{className:"va-note",children:[w(l.length,"render")," moved with no component named as the cause by a region."]}),(0,D.jsx)(kS,{crossing:t}),(0,D.jsx)(av,{build:e,crossing:t}),(0,D.jsxs)("p",{className:"va-opening-links",children:[(0,D.jsx)(ae,{to:{page:"run",build:e.build},go:a,className:"va-mode",children:"What this run read \u2192"}),(0,D.jsx)("span",{className:"va-note",children:"Reach, the crossing in full, the variation lattice, and what nothing looked at."})]})]})})}function US({verdicts:e}){let t=[e.unchanged===0?void 0:`${x(e.unchanged)} unchanged`,e.ignored===0?void 0:`${x(e.ignored)} settled by a rule`,e.new===0?void 0:`${w(e.new,"new subject")}`,e.incomparable===0?void 0:`${w(e.incomparable,"incomparable")}`].filter(n=>n!==void 0);return t.length===0?null:(0,D.jsx)("p",{className:"va-subtitle",children:t.join(" \xB7 ")})}function kS({crossing:e}){if(e.state==="loading")return(0,D.jsx)("p",{className:"va-note",children:"Reading the previous run\u2026"});if(e.state==="none")return(0,D.jsx)("p",{className:"va-note",children:"There is no earlier run to place this one against."});if(e.state==="failed")return(0,D.jsxs)("p",{className:"va-failure",children:["The previous run could not be read, so nothing here says what has changed since it."," ",e.why]});let{shifts:t,held:n}=e.divergence,a=t.filter(o=>o.shift==="again").length,i=t.filter(o=>o.shift==="new"||o.shift==="first").length,l=[a===0?void 0:`${w(a,"subject")} ${a===1?"carries a difference it":"carry a difference they"} already had`,i===0?void 0:`${w(i,"subject")} moved for the first time`,n===0?void 0:`${w(n,"subject")} held still in both`].filter(o=>o!==void 0);return l.length===0?(0,D.jsxs)("p",{className:"va-since",children:["Against build ",e.earlier.build,": nothing here is a difference it also carried, and nothing held still in both. Every subject reads some other way than it did."]}):(0,D.jsxs)("p",{className:"va-since",children:["Against build ",e.earlier.build,": ",BS(l),".",a===0?"":" You have seen those."]})}function BS(e){return e.length===1?e[0]??"":`${e.slice(0,-1).join(", ")} and ${e[e.length-1]??""}`}var ui=H(Xe(),1);function Ev(){return typeof window>"u"?{page:"builds"}:Mg(`${window.location.pathname}${window.location.search}`)}function jv(e,t){let n=e!==void 0&&t!==void 0,[a,i]=(0,ui.useState)(Ev);(0,ui.useEffect)(()=>{if(n||typeof window>"u")return;let o=()=>i(Ev());return window.addEventListener("popstate",o),()=>window.removeEventListener("popstate",o)},[n]);let l=(0,ui.useCallback)(o=>{typeof window<"u"&&(window.history.pushState(null,"",bl(o)),window.scrollTo({top:0})),i(o)},[]);return n?[e,t]:[a,l]}function Tv({client:e,reviewer:t,limit:n,route:a,onNavigate:i}){let[l,o]=jv(a,i);return l===void 0?(0,di.jsx)(kg,{go:o}):l.page==="builds"?(0,di.jsx)(Bg,{client:e,limit:n,go:o}):l.page==="changelog"?(0,di.jsx)("div",{className:"va-app",children:(0,di.jsx)(Mu,{client:e,onBack:()=>o({page:"builds"})})}):(0,di.jsx)(Nv,{client:e,reviewer:t,route:l,go:o})}var $v=document.getElementById("variance-review"),zv=document.getElementById("variance-config");if($v===null)throw new Error("the review page has no #variance-review element to mount into");if(zv===null)throw new Error("the review page has no #variance-config script to read its endpoint from");var{endpoint:HS,reviewer:LS}=JSON.parse(zv.textContent??"{}");(0,Av.createRoot)($v).render((0,cd.jsx)(Ov.StrictMode,{children:(0,cd.jsx)(Tv,{client:$g({endpoint:HS??""}),reviewer:LS??"reviewer"})}));
|
|
13
|
+
/*! Bundled license information:
|
|
14
|
+
|
|
15
|
+
react/cjs/react-jsx-runtime.production.js:
|
|
16
|
+
(**
|
|
17
|
+
* @license React
|
|
18
|
+
* react-jsx-runtime.production.js
|
|
19
|
+
*
|
|
20
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
21
|
+
*
|
|
22
|
+
* This source code is licensed under the MIT license found in the
|
|
23
|
+
* LICENSE file in the root directory of this source tree.
|
|
24
|
+
*)
|
|
25
|
+
|
|
26
|
+
react/cjs/react.production.js:
|
|
27
|
+
(**
|
|
28
|
+
* @license React
|
|
29
|
+
* react.production.js
|
|
30
|
+
*
|
|
31
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
32
|
+
*
|
|
33
|
+
* This source code is licensed under the MIT license found in the
|
|
34
|
+
* LICENSE file in the root directory of this source tree.
|
|
35
|
+
*)
|
|
36
|
+
|
|
37
|
+
scheduler/cjs/scheduler.production.js:
|
|
38
|
+
(**
|
|
39
|
+
* @license React
|
|
40
|
+
* scheduler.production.js
|
|
41
|
+
*
|
|
42
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
43
|
+
*
|
|
44
|
+
* This source code is licensed under the MIT license found in the
|
|
45
|
+
* LICENSE file in the root directory of this source tree.
|
|
46
|
+
*)
|
|
47
|
+
|
|
48
|
+
react-dom/cjs/react-dom.production.js:
|
|
49
|
+
(**
|
|
50
|
+
* @license React
|
|
51
|
+
* react-dom.production.js
|
|
52
|
+
*
|
|
53
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
54
|
+
*
|
|
55
|
+
* This source code is licensed under the MIT license found in the
|
|
56
|
+
* LICENSE file in the root directory of this source tree.
|
|
57
|
+
*)
|
|
58
|
+
|
|
59
|
+
react-dom/cjs/react-dom-client.production.js:
|
|
60
|
+
(**
|
|
61
|
+
* @license React
|
|
62
|
+
* react-dom-client.production.js
|
|
63
|
+
*
|
|
64
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
65
|
+
*
|
|
66
|
+
* This source code is licensed under the MIT license found in the
|
|
67
|
+
* LICENSE file in the root directory of this source tree.
|
|
68
|
+
*)
|
|
69
|
+
*/
|