@getcredify/credify-insurance-widget 1.48.0 → 1.49.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/dist/{address-BEVwov8q-CtbG3tfj.js → address-BEVwov8q-CazC1JIl.js} +1 -1
- package/dist/{api-FFY6fre4.js → api-Bepbbwlb.js} +15 -15
- package/dist/{car-C4roRGIN.js → car-B21VP4YN.js} +1 -1
- package/dist/{check-5ywqVwF9.js → check-CwRR4vvM.js} +1 -1
- package/dist/{copy-applicant-offer-UApiJBeU-6X1OfCXd.js → copy-applicant-offer-B-BuqAOO-a4y-KPDr.js} +11 -11
- package/dist/{copy-from-record-DL503itm-B5M9p1aR.js → copy-from-record-DL503itm-2slKSwa4.js} +4 -4
- package/dist/{coverageDerivation-CV2ORogj-C4Tevu9q.js → coverageDerivation-CV2ORogj-BoLiDnjR.js} +1 -1
- package/dist/{fixtures-ijbZ16Zg-C7CkQCGW.js → fixtures-ijbZ16Zg-CwFDJNFI.js} +1 -1
- package/dist/{household-prefill-BwSS00qI-Bxr1Is5P.js → household-prefill-CdB4ZxsR-D4_lkTx8.js} +26 -26
- package/dist/{householdPrefill-DLm3pxFH-BcyrqxRq.js → householdPrefill-DLm3pxFH-dPJrX2ul.js} +1 -1
- package/dist/iframe/assets/{address-BEVwov8q-Bjv6MIfT.js → address-BEVwov8q-EtrExGBv.js} +1 -1
- package/dist/iframe/assets/{car-D1-bpPP6.js → car-lKtbZzIv.js} +1 -1
- package/dist/iframe/assets/{check-Dby5nO_M.js → check-DafU7JDn.js} +1 -1
- package/dist/iframe/assets/{copy-applicant-offer-UApiJBeU-D2hxv9k7.js → copy-applicant-offer-B-BuqAOO-CtFqk8YK.js} +1 -1
- package/dist/iframe/assets/{copy-from-record-DL503itm-KY0q_TtI.js → copy-from-record-DL503itm-BXJJYs1Y.js} +1 -1
- package/dist/iframe/assets/{coverageDerivation-CV2ORogj-DnNTue88.js → coverageDerivation-CV2ORogj-Dne34PDQ.js} +1 -1
- package/dist/iframe/assets/{dob-calendar-RIJ5S6YU-DDSHfA2t.js → dob-calendar-RIJ5S6YU-BfbUKPI9.js} +1 -1
- package/dist/iframe/assets/{fixtures-ijbZ16Zg-kEYhiItG.js → fixtures-ijbZ16Zg-D-3ehYX7.js} +1 -1
- package/dist/iframe/assets/{household-prefill-BwSS00qI-fvGXj4Ih.js → household-prefill-CdB4ZxsR-BPthWPX-.js} +1 -1
- package/dist/iframe/assets/{householdPrefill-DLm3pxFH-xdUCbCYH.js → householdPrefill-DLm3pxFH-jl-HbpRV.js} +1 -1
- package/dist/iframe/assets/iframe-ZamrsKm7.js +107 -0
- package/dist/iframe/assets/{index-CqjzcFiq.js → index-BeV6waqv.js} +1 -1
- package/dist/iframe/assets/intake-review-panel-BJRYQaBx-CIkJtRek.js +1 -0
- package/dist/iframe/assets/{mockJump-DCZoGtRl-36W1hR0W.js → mockJump-CKjCOGxR-tRN3Jwzq.js} +1 -1
- package/dist/iframe/assets/{payload-DurIYSZk-COUWlGbP.js → payload-BMtl8VDy-DSIXtfb-.js} +1 -1
- package/dist/iframe/assets/{question-list-CjN64tfw-DcMrD36l.js → question-list-BK2EN74l-8nbZZnvU.js} +3 -3
- package/dist/iframe/assets/{rates-panel-B1xVYtTQ-CL1y9CqV.js → rates-panel-BOaKRZ_Y-DspzIEmi.js} +3 -3
- package/dist/iframe/assets/{review-panel-DuzWoTKP-DSKT5yTF.js → review-panel-BQmrPgdC-Dh84GHcf.js} +2 -2
- package/dist/iframe/assets/{stage-CnucLiNn-BR-spl1Z.js → stage-zClSIgVN-CQ0m7lYx.js} +1 -1
- package/dist/iframe/assets/{validation-Db4WCn17-C0CXVR_C.js → validation-D9L1J71d-D-I9M7xX.js} +2 -2
- package/dist/iframe/assets/{vehicleCoverage-CDBtkdww-DXXIbGVV.js → vehicleCoverage-CgeEazR0-DlDAnkau.js} +1 -1
- package/dist/iframe/assets/{visibility-iwttXt0y-DkmB_m7Z.js → visibility-xQNTF1no-_O_ggMOv.js} +1 -1
- package/dist/iframe/assets/{waves-DIsSB_DU.js → waves-CGWFF4s2.js} +1 -1
- package/dist/iframe/iframe.html +1 -1
- package/dist/{index-CK3tklPT.js → index-DbadJytg.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +103 -103
- package/dist/intake-review-panel-BJRYQaBx-Bb4VAszN.js +224 -0
- package/dist/{mockJump-DCZoGtRl-BmpMdaSt.js → mockJump-CKjCOGxR-Boxby2dZ.js} +1 -1
- package/dist/{payload-DurIYSZk-C0uMF9Tq.js → payload-BMtl8VDy-maqSOQIZ.js} +20 -20
- package/dist/{question-list-CjN64tfw-DFqbiQWc.js → question-list-BK2EN74l-Cn9ka_Tm.js} +13 -13
- package/dist/{rates-panel-B1xVYtTQ-Cj9JDZXZ.js → rates-panel-BOaKRZ_Y-ciWr81fl.js} +47 -47
- package/dist/{review-panel-DuzWoTKP-BLy4wrtf.js → review-panel-BQmrPgdC-CXP39hws.js} +98 -98
- package/dist/{stage-CnucLiNn-B6xWk5jk.js → stage-zClSIgVN-CC_teHAO.js} +26 -26
- package/dist/{validation-Db4WCn17-TOMPypn_.js → validation-D9L1J71d-BF62B66y.js} +22 -17
- package/dist/{vehicleCoverage-CDBtkdww-VeL7TnDy.js → vehicleCoverage-CgeEazR0-C3ugp85r.js} +8 -8
- package/dist/{visibility-iwttXt0y-DOQ-bNNl.js → visibility-xQNTF1no-t9wamJ9M.js} +7 -7
- package/dist/{waves-Cx-ZZIde.js → waves-BpyYhsaC.js} +1 -1
- package/dist/{widget-DcTSEv8D.js → widget-fDShn8w9.js} +2873 -2849
- package/package.json +2 -2
- package/dist/iframe/assets/iframe-7bSlpZsw.js +0 -107
- package/dist/iframe/assets/intake-review-panel-CjiYTJXh-DDHj7c_F.js +0 -1
- package/dist/intake-review-panel-CjiYTJXh-7Uej_QY4.js +0 -186
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/stage-zClSIgVN-CQ0m7lYx.js","assets/types-LUGvo5ic-CB-wcgK3.js","assets/visibility-xQNTF1no-_O_ggMOv.js","assets/validation-D9L1J71d-D-I9M7xX.js","assets/vehicleCoverage-CgeEazR0-DlDAnkau.js","assets/payload-BMtl8VDy-DSIXtfb-.js","assets/address-BEVwov8q-EtrExGBv.js","assets/question-list-BK2EN74l-8nbZZnvU.js","assets/householdPrefill-DLm3pxFH-jl-HbpRV.js","assets/copy-from-record-DL503itm-BXJJYs1Y.js","assets/check-DafU7JDn.js","assets/coverageDerivation-CV2ORogj-Dne34PDQ.js","assets/index-BeV6waqv.js","assets/waves-CGWFF4s2.js","assets/car-lKtbZzIv.js","assets/household-prefill-CdB4ZxsR-BPthWPX-.js","assets/copy-applicant-offer-B-BuqAOO-CtFqk8YK.js","assets/review-panel-BQmrPgdC-Dh84GHcf.js","assets/intake-review-panel-BJRYQaBx-CIkJtRek.js","assets/rates-panel-BOaKRZ_Y-DspzIEmi.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
function xS(a,r){for(var l=0;l<r.length;l++){const s=r[l];if(typeof s!="string"&&!Array.isArray(s)){for(const c in s)if(c!=="default"&&!(c in a)){const f=Object.getOwnPropertyDescriptor(s,c);f&&Object.defineProperty(a,c,f.get?f:{enumerable:!0,get:()=>s[c]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))s(c);new MutationObserver(c=>{for(const f of c)if(f.type==="childList")for(const p of f.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&s(p)}).observe(document,{childList:!0,subtree:!0});function l(c){const f={};return c.integrity&&(f.integrity=c.integrity),c.referrerPolicy&&(f.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?f.credentials="include":c.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function s(c){if(c.ep)return;c.ep=!0;const f=l(c);fetch(c.href,f)}})();function kS(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Wc={exports:{}},yl={};/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-runtime.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var wy;function NS(){if(wy)return yl;wy=1;var a=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function l(s,c,f){var p=null;if(f!==void 0&&(p=""+f),c.key!==void 0&&(p=""+c.key),"key"in c){f={};for(var m in c)m!=="key"&&(f[m]=c[m])}else f=c;return c=f.ref,{$$typeof:a,type:s,key:p,ref:c!==void 0?c:null,props:f}}return yl.Fragment=r,yl.jsx=l,yl.jsxs=l,yl}var Oy;function LS(){return Oy||(Oy=1,Wc.exports=NS()),Wc.exports}var A=LS(),Kc={exports:{}},he={};/**
|
|
11
|
+
* @license React
|
|
12
|
+
* react.production.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/var Ry;function HS(){if(Ry)return he;Ry=1;var a=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),p=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),U=Symbol.iterator;function F(b){return b===null||typeof b!="object"?null:(b=U&&b[U]||b["@@iterator"],typeof b=="function"?b:null)}var I={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},K=Object.assign,V={};function ne(b,x,B){this.props=b,this.context=x,this.refs=V,this.updater=B||I}ne.prototype.isReactComponent={},ne.prototype.setState=function(b,x){if(typeof b!="object"&&typeof b!="function"&&b!=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,b,x,"setState")},ne.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function Se(){}Se.prototype=ne.prototype;function ae(b,x,B){this.props=b,this.context=x,this.refs=V,this.updater=B||I}var de=ae.prototype=new Se;de.constructor=ae,K(de,ne.prototype),de.isPureReactComponent=!0;var j=Array.isArray;function Ee(){}var $={H:null,A:null,T:null,S:null},Ue=Object.prototype.hasOwnProperty;function je(b,x,B){var Y=B.ref;return{$$typeof:a,type:b,key:x,ref:Y!==void 0?Y:null,props:B}}function rt(b,x){return je(b.type,x,b.props)}function se(b){return typeof b=="object"&&b!==null&&b.$$typeof===a}function Q(b){var x={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(B){return x[B]})}var Re=/\/+/g;function Qe(b,x){return typeof b=="object"&&b!==null&&b.key!=null?Q(""+b.key):x.toString(36)}function et(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(Ee,Ee):(b.status="pending",b.then(function(x){b.status==="pending"&&(b.status="fulfilled",b.value=x)},function(x){b.status==="pending"&&(b.status="rejected",b.reason=x)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function R(b,x,B,Y,ue){var ee=typeof b;(ee==="undefined"||ee==="boolean")&&(b=null);var ye=!1;if(b===null)ye=!0;else switch(ee){case"bigint":case"string":case"number":ye=!0;break;case"object":switch(b.$$typeof){case a:case r:ye=!0;break;case E:return ye=b._init,R(ye(b._payload),x,B,Y,ue)}}if(ye)return ue=ue(b),ye=Y===""?"."+Qe(b,0):Y,j(ue)?(B="",ye!=null&&(B=ye.replace(Re,"$&/")+"/"),R(ue,x,B,"",function(yt){return yt})):ue!=null&&(se(ue)&&(ue=rt(ue,B+(ue.key==null||b&&b.key===ue.key?"":(""+ue.key).replace(Re,"$&/")+"/")+ye)),x.push(ue)),1;ye=0;var Ie=Y===""?".":Y+":";if(j(b))for(var Ye=0;Ye<b.length;Ye++)Y=b[Ye],ee=Ie+Qe(Y,Ye),ye+=R(Y,x,B,ee,ue);else if(Ye=F(b),typeof Ye=="function")for(b=Ye.call(b),Ye=0;!(Y=b.next()).done;)Y=Y.value,ee=Ie+Qe(Y,Ye++),ye+=R(Y,x,B,ee,ue);else if(ee==="object"){if(typeof b.then=="function")return R(et(b),x,B,Y,ue);throw x=String(b),Error("Objects are not valid as a React child (found: "+(x==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":x)+"). If you meant to render a collection of children, use an array instead.")}return ye}function G(b,x,B){if(b==null)return b;var Y=[],ue=0;return R(b,Y,"","",function(ee){return x.call(B,ee,ue++)}),Y}function J(b){if(b._status===-1){var x=b._result;x=x(),x.then(function(B){(b._status===0||b._status===-1)&&(b._status=1,b._result=B)},function(B){(b._status===0||b._status===-1)&&(b._status=2,b._result=B)}),b._status===-1&&(b._status=0,b._result=x)}if(b._status===1)return b._result.default;throw b._result}var ge=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var x=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(x))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)},Me={map:G,forEach:function(b,x,B){G(b,function(){x.apply(this,arguments)},B)},count:function(b){var x=0;return G(b,function(){x++}),x},toArray:function(b){return G(b,function(x){return x})||[]},only:function(b){if(!se(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};return he.Activity=S,he.Children=Me,he.Component=ne,he.Fragment=l,he.Profiler=c,he.PureComponent=ae,he.StrictMode=s,he.Suspense=g,he.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,he.__COMPILER_RUNTIME={__proto__:null,c:function(b){return $.H.useMemoCache(b)}},he.cache=function(b){return function(){return b.apply(null,arguments)}},he.cacheSignal=function(){return null},he.cloneElement=function(b,x,B){if(b==null)throw Error("The argument must be a React element, but you passed "+b+".");var Y=K({},b.props),ue=b.key;if(x!=null)for(ee in x.key!==void 0&&(ue=""+x.key),x)!Ue.call(x,ee)||ee==="key"||ee==="__self"||ee==="__source"||ee==="ref"&&x.ref===void 0||(Y[ee]=x[ee]);var ee=arguments.length-2;if(ee===1)Y.children=B;else if(1<ee){for(var ye=Array(ee),Ie=0;Ie<ee;Ie++)ye[Ie]=arguments[Ie+2];Y.children=ye}return je(b.type,ue,Y)},he.createContext=function(b){return b={$$typeof:p,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:f,_context:b},b},he.createElement=function(b,x,B){var Y,ue={},ee=null;if(x!=null)for(Y in x.key!==void 0&&(ee=""+x.key),x)Ue.call(x,Y)&&Y!=="key"&&Y!=="__self"&&Y!=="__source"&&(ue[Y]=x[Y]);var ye=arguments.length-2;if(ye===1)ue.children=B;else if(1<ye){for(var Ie=Array(ye),Ye=0;Ye<ye;Ye++)Ie[Ye]=arguments[Ye+2];ue.children=Ie}if(b&&b.defaultProps)for(Y in ye=b.defaultProps,ye)ue[Y]===void 0&&(ue[Y]=ye[Y]);return je(b,ee,ue)},he.createRef=function(){return{current:null}},he.forwardRef=function(b){return{$$typeof:m,render:b}},he.isValidElement=se,he.lazy=function(b){return{$$typeof:E,_payload:{_status:-1,_result:b},_init:J}},he.memo=function(b,x){return{$$typeof:y,type:b,compare:x===void 0?null:x}},he.startTransition=function(b){var x=$.T,B={};$.T=B;try{var Y=b(),ue=$.S;ue!==null&&ue(B,Y),typeof Y=="object"&&Y!==null&&typeof Y.then=="function"&&Y.then(Ee,ge)}catch(ee){ge(ee)}finally{x!==null&&B.types!==null&&(x.types=B.types),$.T=x}},he.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},he.use=function(b){return $.H.use(b)},he.useActionState=function(b,x,B){return $.H.useActionState(b,x,B)},he.useCallback=function(b,x){return $.H.useCallback(b,x)},he.useContext=function(b){return $.H.useContext(b)},he.useDebugValue=function(){},he.useDeferredValue=function(b,x){return $.H.useDeferredValue(b,x)},he.useEffect=function(b,x){return $.H.useEffect(b,x)},he.useEffectEvent=function(b){return $.H.useEffectEvent(b)},he.useId=function(){return $.H.useId()},he.useImperativeHandle=function(b,x,B){return $.H.useImperativeHandle(b,x,B)},he.useInsertionEffect=function(b,x){return $.H.useInsertionEffect(b,x)},he.useLayoutEffect=function(b,x){return $.H.useLayoutEffect(b,x)},he.useMemo=function(b,x){return $.H.useMemo(b,x)},he.useOptimistic=function(b,x){return $.H.useOptimistic(b,x)},he.useReducer=function(b,x,B){return $.H.useReducer(b,x,B)},he.useRef=function(b){return $.H.useRef(b)},he.useState=function(b){return $.H.useState(b)},he.useSyncExternalStore=function(b,x,B){return $.H.useSyncExternalStore(b,x,B)},he.useTransition=function(){return $.H.useTransition()},he.version="19.2.7",he}var Dy;function ad(){return Dy||(Dy=1,Kc.exports=HS()),Kc.exports}var T=ad();const US=kS(T),zS=xS({__proto__:null,default:US},[T]);var Jc={exports:{}},gl={},ef={exports:{}},tf={};/**
|
|
19
|
+
* @license React
|
|
20
|
+
* scheduler.production.js
|
|
21
|
+
*
|
|
22
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the MIT license found in the
|
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/var xy;function BS(){return xy||(xy=1,(function(a){function r(R,G){var J=R.length;R.push(G);e:for(;0<J;){var ge=J-1>>>1,Me=R[ge];if(0<c(Me,G))R[ge]=G,R[J]=Me,J=ge;else break e}}function l(R){return R.length===0?null:R[0]}function s(R){if(R.length===0)return null;var G=R[0],J=R.pop();if(J!==G){R[0]=J;e:for(var ge=0,Me=R.length,b=Me>>>1;ge<b;){var x=2*(ge+1)-1,B=R[x],Y=x+1,ue=R[Y];if(0>c(B,J))Y<Me&&0>c(ue,B)?(R[ge]=ue,R[Y]=J,ge=Y):(R[ge]=B,R[x]=J,ge=x);else if(Y<Me&&0>c(ue,J))R[ge]=ue,R[Y]=J,ge=Y;else break e}}return G}function c(R,G){var J=R.sortIndex-G.sortIndex;return J!==0?J:R.id-G.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;a.unstable_now=function(){return f.now()}}else{var p=Date,m=p.now();a.unstable_now=function(){return p.now()-m}}var g=[],y=[],E=1,S=null,U=3,F=!1,I=!1,K=!1,V=!1,ne=typeof setTimeout=="function"?setTimeout:null,Se=typeof clearTimeout=="function"?clearTimeout:null,ae=typeof setImmediate<"u"?setImmediate:null;function de(R){for(var G=l(y);G!==null;){if(G.callback===null)s(y);else if(G.startTime<=R)s(y),G.sortIndex=G.expirationTime,r(g,G);else break;G=l(y)}}function j(R){if(K=!1,de(R),!I)if(l(g)!==null)I=!0,Ee||(Ee=!0,Q());else{var G=l(y);G!==null&&et(j,G.startTime-R)}}var Ee=!1,$=-1,Ue=5,je=-1;function rt(){return V?!0:!(a.unstable_now()-je<Ue)}function se(){if(V=!1,Ee){var R=a.unstable_now();je=R;var G=!0;try{e:{I=!1,K&&(K=!1,Se($),$=-1),F=!0;var J=U;try{t:{for(de(R),S=l(g);S!==null&&!(S.expirationTime>R&&rt());){var ge=S.callback;if(typeof ge=="function"){S.callback=null,U=S.priorityLevel;var Me=ge(S.expirationTime<=R);if(R=a.unstable_now(),typeof Me=="function"){S.callback=Me,de(R),G=!0;break t}S===l(g)&&s(g),de(R)}else s(g);S=l(g)}if(S!==null)G=!0;else{var b=l(y);b!==null&&et(j,b.startTime-R),G=!1}}break e}finally{S=null,U=J,F=!1}G=void 0}}finally{G?Q():Ee=!1}}}var Q;if(typeof ae=="function")Q=function(){ae(se)};else if(typeof MessageChannel<"u"){var Re=new MessageChannel,Qe=Re.port2;Re.port1.onmessage=se,Q=function(){Qe.postMessage(null)}}else Q=function(){ne(se,0)};function et(R,G){$=ne(function(){R(a.unstable_now())},G)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(R){R.callback=null},a.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ue=0<R?Math.floor(1e3/R):5},a.unstable_getCurrentPriorityLevel=function(){return U},a.unstable_next=function(R){switch(U){case 1:case 2:case 3:var G=3;break;default:G=U}var J=U;U=G;try{return R()}finally{U=J}},a.unstable_requestPaint=function(){V=!0},a.unstable_runWithPriority=function(R,G){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var J=U;U=R;try{return G()}finally{U=J}},a.unstable_scheduleCallback=function(R,G,J){var ge=a.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?ge+J:ge):J=ge,R){case 1:var Me=-1;break;case 2:Me=250;break;case 5:Me=1073741823;break;case 4:Me=1e4;break;default:Me=5e3}return Me=J+Me,R={id:E++,callback:G,priorityLevel:R,startTime:J,expirationTime:Me,sortIndex:-1},J>ge?(R.sortIndex=J,r(y,R),l(g)===null&&R===l(y)&&(K?(Se($),$=-1):K=!0,et(j,J-ge))):(R.sortIndex=Me,r(g,R),I||F||(I=!0,Ee||(Ee=!0,Q()))),R},a.unstable_shouldYield=rt,a.unstable_wrapCallback=function(R){var G=U;return function(){var J=U;U=G;try{return R.apply(this,arguments)}finally{U=J}}}})(tf)),tf}var ky;function jS(){return ky||(ky=1,ef.exports=BS()),ef.exports}var nf={exports:{}},Ot={};/**
|
|
27
|
+
* @license React
|
|
28
|
+
* react-dom.production.js
|
|
29
|
+
*
|
|
30
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
31
|
+
*
|
|
32
|
+
* This source code is licensed under the MIT license found in the
|
|
33
|
+
* LICENSE file in the root directory of this source tree.
|
|
34
|
+
*/var Ny;function IS(){if(Ny)return Ot;Ny=1;var a=ad();function r(g){var y="https://react.dev/errors/"+g;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var E=2;E<arguments.length;E++)y+="&args[]="+encodeURIComponent(arguments[E])}return"Minified React error #"+g+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var s={d:{f:l,r:function(){throw Error(r(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},c=Symbol.for("react.portal");function f(g,y,E){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:c,key:S==null?null:""+S,children:g,containerInfo:y,implementation:E}}var p=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(g,y){if(g==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return Ot.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Ot.createPortal=function(g,y){var E=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(r(299));return f(g,y,null,E)},Ot.flushSync=function(g){var y=p.T,E=s.p;try{if(p.T=null,s.p=2,g)return g()}finally{p.T=y,s.p=E,s.d.f()}},Ot.preconnect=function(g,y){typeof g=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,s.d.C(g,y))},Ot.prefetchDNS=function(g){typeof g=="string"&&s.d.D(g)},Ot.preinit=function(g,y){if(typeof g=="string"&&y&&typeof y.as=="string"){var E=y.as,S=m(E,y.crossOrigin),U=typeof y.integrity=="string"?y.integrity:void 0,F=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;E==="style"?s.d.S(g,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:S,integrity:U,fetchPriority:F}):E==="script"&&s.d.X(g,{crossOrigin:S,integrity:U,fetchPriority:F,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},Ot.preinitModule=function(g,y){if(typeof g=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var E=m(y.as,y.crossOrigin);s.d.M(g,{crossOrigin:E,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&s.d.M(g)},Ot.preload=function(g,y){if(typeof g=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var E=y.as,S=m(E,y.crossOrigin);s.d.L(g,E,{crossOrigin:S,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},Ot.preloadModule=function(g,y){if(typeof g=="string")if(y){var E=m(y.as,y.crossOrigin);s.d.m(g,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:E,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else s.d.m(g)},Ot.requestFormReset=function(g){s.d.r(g)},Ot.unstable_batchedUpdates=function(g,y){return g(y)},Ot.useFormState=function(g,y,E){return p.H.useFormState(g,y,E)},Ot.useFormStatus=function(){return p.H.useHostTransitionStatus()},Ot.version="19.2.7",Ot}var Ly;function qS(){if(Ly)return nf.exports;Ly=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(r){console.error(r)}}return a(),nf.exports=IS(),nf.exports}/**
|
|
35
|
+
* @license React
|
|
36
|
+
* react-dom-client.production.js
|
|
37
|
+
*
|
|
38
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the MIT license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/var Hy;function PS(){if(Hy)return gl;Hy=1;var a=jS(),r=ad(),l=qS();function s(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 c(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(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 p(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 m(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 g(e){if(f(e)!==e)throw Error(s(188))}function y(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(s(188));return t!==e?null:e}for(var n=e,i=t;;){var o=n.return;if(o===null)break;var u=o.alternate;if(u===null){if(i=o.return,i!==null){n=i;continue}break}if(o.child===u.child){for(u=o.child;u;){if(u===n)return g(o),e;if(u===i)return g(o),t;u=u.sibling}throw Error(s(188))}if(n.return!==i.return)n=o,i=u;else{for(var d=!1,h=o.child;h;){if(h===n){d=!0,n=o,i=u;break}if(h===i){d=!0,i=o,n=u;break}h=h.sibling}if(!d){for(h=u.child;h;){if(h===n){d=!0,n=u,i=o;break}if(h===i){d=!0,i=u,n=o;break}h=h.sibling}if(!d)throw Error(s(189))}}if(n.alternate!==i)throw Error(s(190))}if(n.tag!==3)throw Error(s(188));return n.stateNode.current===n?e:t}function E(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=E(e),t!==null)return t;e=e.sibling}return null}var S=Object.assign,U=Symbol.for("react.element"),F=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),K=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),ne=Symbol.for("react.profiler"),Se=Symbol.for("react.consumer"),ae=Symbol.for("react.context"),de=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),Ee=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),je=Symbol.for("react.activity"),rt=Symbol.for("react.memo_cache_sentinel"),se=Symbol.iterator;function Q(e){return e===null||typeof e!="object"?null:(e=se&&e[se]||e["@@iterator"],typeof e=="function"?e:null)}var Re=Symbol.for("react.client.reference");function Qe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Re?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case K:return"Fragment";case ne:return"Profiler";case V:return"StrictMode";case j:return"Suspense";case Ee:return"SuspenseList";case je:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case I:return"Portal";case ae:return e.displayName||"Context";case Se:return(e._context.displayName||"Context")+".Consumer";case de:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $:return t=e.displayName||null,t!==null?t:Qe(e.type)||"Memo";case Ue:t=e._payload,e=e._init;try{return Qe(e(t))}catch{}}return null}var et=Array.isArray,R=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ge=[],Me=-1;function b(e){return{current:e}}function x(e){0>Me||(e.current=ge[Me],ge[Me]=null,Me--)}function B(e,t){Me++,ge[Me]=e.current,e.current=t}var Y=b(null),ue=b(null),ee=b(null),ye=b(null);function Ie(e,t){switch(B(ee,t),B(ue,e),B(Y,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Xh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Xh(t),e=Wh(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}x(Y),B(Y,e)}function Ye(){x(Y),x(ue),x(ee)}function yt(e){e.memoizedState!==null&&B(ye,e);var t=Y.current,n=Wh(t,e.type);t!==n&&(B(ue,e),B(Y,n))}function re(e){ue.current===e&&(x(Y),x(ue)),ye.current===e&&(x(ye),dl._currentValue=J)}var Mt,ia;function bt(e){if(Mt===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Mt=t&&t[1]||"",ia=-1<n.stack.indexOf(`
|
|
43
|
+
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
44
|
+
`+Mt+e+ia}var wn=!1;function On(e,t){if(!e||wn)return"";wn=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(D){var O=D}Reflect.construct(e,[],H)}else{try{H.call()}catch(D){O=D}e.call(H.prototype)}}else{try{throw Error()}catch(D){O=D}(H=e())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(D){if(D&&O&&typeof D.stack=="string")return[D.stack,O.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=i.DetermineComponentFrameRoot(),d=u[0],h=u[1];if(d&&h){var v=d.split(`
|
|
45
|
+
`),w=h.split(`
|
|
46
|
+
`);for(o=i=0;i<v.length&&!v[i].includes("DetermineComponentFrameRoot");)i++;for(;o<w.length&&!w[o].includes("DetermineComponentFrameRoot");)o++;if(i===v.length||o===w.length)for(i=v.length-1,o=w.length-1;1<=i&&0<=o&&v[i]!==w[o];)o--;for(;1<=i&&0<=o;i--,o--)if(v[i]!==w[o]){if(i!==1||o!==1)do if(i--,o--,0>o||v[i]!==w[o]){var k=`
|
|
47
|
+
`+v[i].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=i&&0<=o);break}}}finally{wn=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?bt(n):""}function Ll(e,t){switch(e.tag){case 26:case 27:case 5:return bt(e.type);case 16:return bt("Lazy");case 13:return e.child!==t&&t!==null?bt("Suspense Fallback"):bt("Suspense");case 19:return bt("SuspenseList");case 0:case 15:return On(e.type,!1);case 11:return On(e.type.render,!1);case 1:return On(e.type,!0);case 31:return bt("Activity");default:return""}}function Si(e){try{var t="",n=null;do t+=Ll(e,n),n=e,e=e.return;while(e);return t}catch(i){return`
|
|
48
|
+
Error generating stack: `+i.message+`
|
|
49
|
+
`+i.stack}}var Ei=Object.prototype.hasOwnProperty,ft=a.unstable_scheduleCallback,Ci=a.unstable_cancelCallback,Ga=a.unstable_shouldYield,Rn=a.unstable_requestPaint,wt=a.unstable_now,Hl=a.unstable_getCurrentPriorityLevel,dt=a.unstable_ImmediatePriority,Dn=a.unstable_UserBlockingPriority,cn=a.unstable_NormalPriority,Ul=a.unstable_LowPriority,Ai=a.unstable_IdlePriority,zl=a.log,Bl=a.unstable_setDisableYieldValue,la=null,_t=null;function bn(e){if(typeof zl=="function"&&Bl(e),_t&&typeof _t.setStrictMode=="function")try{_t.setStrictMode(la,e)}catch{}}var Dt=Math.clz32?Math.clz32:Ps,Ti=Math.log,Fa=Math.LN2;function Ps(e){return e>>>=0,e===0?32:31-(Ti(e)/Fa|0)|0}var Er=256,xn=262144,Cr=4194304;function fn(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 Va(e,t,n){var i=e.pendingLanes;if(i===0)return 0;var o=0,u=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var h=i&134217727;return h!==0?(i=h&~u,i!==0?o=fn(i):(d&=h,d!==0?o=fn(d):n||(n=h&~e,n!==0&&(o=fn(n))))):(h=i&~u,h!==0?o=fn(h):d!==0?o=fn(d):n||(n=i&~e,n!==0&&(o=fn(n)))),o===0?0:t!==0&&t!==o&&(t&u)===0&&(u=o&-o,n=t&-t,u>=n||u===32&&(n&4194048)!==0)?t:o}function kn(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function jl(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 Mi(){var e=Cr;return Cr<<=1,(Cr&62914560)===0&&(Cr=4194304),e}function wi(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Nn(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Gs(e,t,n,i,o,u){var d=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 h=e.entanglements,v=e.expirationTimes,w=e.hiddenUpdates;for(n=d&~n;0<n;){var k=31-Dt(n),H=1<<k;h[k]=0,v[k]=-1;var O=w[k];if(O!==null)for(w[k]=null,k=0;k<O.length;k++){var D=O[k];D!==null&&(D.lane&=-536870913)}n&=~H}i!==0&&_n(e,i,0),u!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=u&~(d&~t))}function _n(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-Dt(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|n&261930}function L(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-Dt(n),o=1<<i;o&t|e[i]&t&&(e[i]|=t),n&=~o}}function z(e,t){var n=t&-t;return n=(n&42)!==0?1:P(n),(n&(e.suspendedLanes|t))!==0?0:n}function P(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 q(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Z(){var e=G.p;return e!==0?e:(e=window.event,e===void 0?32:_y(e.type))}function ce(e,t){var n=G.p;try{return G.p=e,t()}finally{G.p=n}}var pe=Math.random().toString(36).slice(2),ie="__reactFiber$"+pe,fe="__reactProps$"+pe,$e="__reactContainer$"+pe,pt="__reactEvents$"+pe,Je="__reactListeners$"+pe,Zt="__reactHandles$"+pe,xt="__reactResources$"+pe,oa="__reactMarker$"+pe;function Ar(e){delete e[ie],delete e[fe],delete e[pt],delete e[Je],delete e[Zt]}function Tr(e){var t=e[ie];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$e]||n[ie]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=ry(e);e!==null;){if(n=e[ie])return n;e=ry(e)}return t}e=n,n=e.parentNode}return null}function Mr(e){if(e=e[ie]||e[$e]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Oi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(s(33))}function wr(e){var t=e[xt];return t||(t=e[xt]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function gt(e){e[oa]=!0}var Bd=new Set,jd={};function Ya(e,t){Or(e,t),Or(e+"Capture",t)}function Or(e,t){for(jd[e]=t,e=0;e<t.length;e++)Bd.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]*$"),Id={},qd={};function Cb(e){return Ei.call(qd,e)?!0:Ei.call(Id,e)?!1:Eb.test(e)?qd[e]=!0:(Id[e]=!0,!1)}function Il(e,t,n){if(Cb(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function ql(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 Ln(e,t,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+i)}}function Xt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pd(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ab(e,t,n){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var o=i.get,u=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(d){n=""+d,u.call(this,d)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(d){n=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Fs(e){if(!e._valueTracker){var t=Pd(e)?"checked":"value";e._valueTracker=Ab(e,t,""+e[t])}}function Gd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=Pd(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function Pl(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 Tb=/[\n"\\]/g;function Wt(e){return e.replace(Tb,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Vs(e,t,n,i,o,u,d,h){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Xt(t)):e.value!==""+Xt(t)&&(e.value=""+Xt(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?Ys(e,d,Xt(t)):n!=null?Ys(e,d,Xt(n)):i!=null&&e.removeAttribute("value"),o==null&&u!=null&&(e.defaultChecked=!!u),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.name=""+Xt(h):e.removeAttribute("name")}function Fd(e,t,n,i,o,u,d,h){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Fs(e);return}n=n!=null?""+Xt(n):"",t=t!=null?""+Xt(t):n,h||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=h?e.checked:!!i,e.defaultChecked=!!i,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),Fs(e)}function Ys(e,t,n){t==="number"&&Pl(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Rr(e,t,n,i){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&i&&(e[n].defaultSelected=!0)}else{for(n=""+Xt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Vd(e,t,n){if(t!=null&&(t=""+Xt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Xt(n):""}function Yd(e,t,n,i){if(t==null){if(i!=null){if(n!=null)throw Error(s(92));if(et(i)){if(1<i.length)throw Error(s(93));i=i[0]}n=i}n==null&&(n=""),t=n}n=Xt(t),e.defaultValue=n,i=e.textContent,i===n&&i!==""&&i!==null&&(e.value=i),Fs(e)}function Dr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Mb=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 $d(e,t,n){var i=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,n):typeof n!="number"||n===0||Mb.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Qd(e,t,n){if(t!=null&&typeof t!="object")throw Error(s(62));if(e=e.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var o in t)i=t[o],t.hasOwnProperty(o)&&n[o]!==i&&$d(e,o,i)}else for(var u in t)t.hasOwnProperty(u)&&$d(e,u,t[u])}function $s(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 wb=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"]]),Ob=/^[\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 Gl(e){return Ob.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Hn(){}var Qs=null;function Zs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xr=null,kr=null;function Zd(e){var t=Mr(e);if(t&&(e=t.stateNode)){var n=e[fe]||null;e:switch(e=t.stateNode,t.type){case"input":if(Vs(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="'+Wt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=i[fe]||null;if(!o)throw Error(s(90));Vs(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)i=n[t],i.form===e.form&&Gd(i)}break e;case"textarea":Vd(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Rr(e,!!n.multiple,t,!1)}}}var Xs=!1;function Xd(e,t,n){if(Xs)return e(t,n);Xs=!0;try{var i=e(t);return i}finally{if(Xs=!1,(xr!==null||kr!==null)&&(xo(),xr&&(t=xr,e=kr,kr=xr=null,Zd(t),e)))for(t=0;t<e.length;t++)Zd(e[t])}}function Ri(e,t){var n=e.stateNode;if(n===null)return null;var i=n[fe]||null;if(i===null)return null;n=i[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":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(s(231,t,typeof n));return n}var Un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ws=!1;if(Un)try{var Di={};Object.defineProperty(Di,"passive",{get:function(){Ws=!0}}),window.addEventListener("test",Di,Di),window.removeEventListener("test",Di,Di)}catch{Ws=!1}var sa=null,Ks=null,Fl=null;function Wd(){if(Fl)return Fl;var e,t=Ks,n=t.length,i,o="value"in sa?sa.value:sa.textContent,u=o.length;for(e=0;e<n&&t[e]===o[e];e++);var d=n-e;for(i=1;i<=d&&t[n-i]===o[u-i];i++);return Fl=o.slice(e,1<i?1-i:void 0)}function Vl(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 Yl(){return!0}function Kd(){return!1}function Lt(e){function t(n,i,o,u,d){this._reactName=n,this._targetInst=o,this.type=i,this.nativeEvent=u,this.target=d,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(n=e[h],this[h]=n?n(u):u[h]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Yl:Kd,this.isPropagationStopped=Kd,this}return S(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=Yl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Yl)},persist:function(){},isPersistent:Yl}),t}var $a={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$l=Lt($a),xi=S({},$a,{view:0,detail:0}),Rb=Lt(xi),Js,eu,ki,Ql=S({},xi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:nu,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!==ki&&(ki&&e.type==="mousemove"?(Js=e.screenX-ki.screenX,eu=e.screenY-ki.screenY):eu=Js=0,ki=e),Js)},movementY:function(e){return"movementY"in e?e.movementY:eu}}),Jd=Lt(Ql),Db=S({},Ql,{dataTransfer:0}),xb=Lt(Db),kb=S({},xi,{relatedTarget:0}),tu=Lt(kb),Nb=S({},$a,{animationName:0,elapsedTime:0,pseudoElement:0}),Lb=Lt(Nb),Hb=S({},$a,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Ub=Lt(Hb),zb=S({},$a,{data:0}),ep=Lt(zb),Bb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},jb={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"},Ib={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function qb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ib[e])?!!t[e]:!1}function nu(){return qb}var Pb=S({},xi,{key:function(e){if(e.key){var t=Bb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Vl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?jb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:nu,charCode:function(e){return e.type==="keypress"?Vl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Vl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Gb=Lt(Pb),Fb=S({},Ql,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tp=Lt(Fb),Vb=S({},xi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:nu}),Yb=Lt(Vb),$b=S({},$a,{propertyName:0,elapsedTime:0,pseudoElement:0}),Qb=Lt($b),Zb=S({},Ql,{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}),Xb=Lt(Zb),Wb=S({},$a,{newState:0,oldState:0}),Kb=Lt(Wb),Jb=[9,13,27,32],au=Un&&"CompositionEvent"in window,Ni=null;Un&&"documentMode"in document&&(Ni=document.documentMode);var e_=Un&&"TextEvent"in window&&!Ni,np=Un&&(!au||Ni&&8<Ni&&11>=Ni),ap=" ",rp=!1;function ip(e,t){switch(e){case"keyup":return Jb.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function lp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nr=!1;function t_(e,t){switch(e){case"compositionend":return lp(t);case"keypress":return t.which!==32?null:(rp=!0,ap);case"textInput":return e=t.data,e===ap&&rp?null:e;default:return null}}function n_(e,t){if(Nr)return e==="compositionend"||!au&&ip(e,t)?(e=Wd(),Fl=Ks=sa=null,Nr=!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 np&&t.locale!=="ko"?null:t.data;default:return null}}var a_={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 op(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!a_[e.type]:t==="textarea"}function sp(e,t,n,i){xr?kr?kr.push(i):kr=[i]:xr=i,t=Bo(t,"onChange"),0<t.length&&(n=new $l("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var Li=null,Hi=null;function r_(e){Fh(e,0)}function Zl(e){var t=Oi(e);if(Gd(t))return e}function up(e,t){if(e==="change")return t}var cp=!1;if(Un){var ru;if(Un){var iu="oninput"in document;if(!iu){var fp=document.createElement("div");fp.setAttribute("oninput","return;"),iu=typeof fp.oninput=="function"}ru=iu}else ru=!1;cp=ru&&(!document.documentMode||9<document.documentMode)}function dp(){Li&&(Li.detachEvent("onpropertychange",pp),Hi=Li=null)}function pp(e){if(e.propertyName==="value"&&Zl(Hi)){var t=[];sp(t,Hi,e,Zs(e)),Xd(r_,t)}}function i_(e,t,n){e==="focusin"?(dp(),Li=t,Hi=n,Li.attachEvent("onpropertychange",pp)):e==="focusout"&&dp()}function l_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Zl(Hi)}function o_(e,t){if(e==="click")return Zl(t)}function s_(e,t){if(e==="input"||e==="change")return Zl(t)}function u_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var It=typeof Object.is=="function"?Object.is:u_;function Ui(e,t){if(It(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var o=n[i];if(!Ei.call(t,o)||!It(e[o],t[o]))return!1}return!0}function mp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hp(e,t){var n=mp(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=mp(n)}}function yp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Pl(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=Pl(e.document)}return t}function lu(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 c_=Un&&"documentMode"in document&&11>=document.documentMode,Lr=null,ou=null,zi=null,su=!1;function vp(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;su||Lr==null||Lr!==Pl(i)||(i=Lr,"selectionStart"in i&&lu(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),zi&&Ui(zi,i)||(zi=i,i=Bo(ou,"onSelect"),0<i.length&&(t=new $l("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=Lr)))}function Qa(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Hr={animationend:Qa("Animation","AnimationEnd"),animationiteration:Qa("Animation","AnimationIteration"),animationstart:Qa("Animation","AnimationStart"),transitionrun:Qa("Transition","TransitionRun"),transitionstart:Qa("Transition","TransitionStart"),transitioncancel:Qa("Transition","TransitionCancel"),transitionend:Qa("Transition","TransitionEnd")},uu={},bp={};Un&&(bp=document.createElement("div").style,"AnimationEvent"in window||(delete Hr.animationend.animation,delete Hr.animationiteration.animation,delete Hr.animationstart.animation),"TransitionEvent"in window||delete Hr.transitionend.transition);function Za(e){if(uu[e])return uu[e];if(!Hr[e])return e;var t=Hr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in bp)return uu[e]=t[n];return e}var _p=Za("animationend"),Sp=Za("animationiteration"),Ep=Za("animationstart"),f_=Za("transitionrun"),d_=Za("transitionstart"),p_=Za("transitioncancel"),Cp=Za("transitionend"),Ap=new Map,cu="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(" ");cu.push("scrollEnd");function dn(e,t){Ap.set(e,t),Ya(t,[e])}var Xl=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)},Kt=[],Ur=0,fu=0;function Wl(){for(var e=Ur,t=fu=Ur=0;t<e;){var n=Kt[t];Kt[t++]=null;var i=Kt[t];Kt[t++]=null;var o=Kt[t];Kt[t++]=null;var u=Kt[t];if(Kt[t++]=null,i!==null&&o!==null){var d=i.pending;d===null?o.next=o:(o.next=d.next,d.next=o),i.pending=o}u!==0&&Tp(n,o,u)}}function Kl(e,t,n,i){Kt[Ur++]=e,Kt[Ur++]=t,Kt[Ur++]=n,Kt[Ur++]=i,fu|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function du(e,t,n,i){return Kl(e,t,n,i),Jl(e)}function Xa(e,t){return Kl(e,null,null,t),Jl(e)}function Tp(e,t,n){e.lanes|=n;var i=e.alternate;i!==null&&(i.lanes|=n);for(var o=!1,u=e.return;u!==null;)u.childLanes|=n,i=u.alternate,i!==null&&(i.childLanes|=n),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(o=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,o&&t!==null&&(o=31-Dt(n),e=u.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=n|536870912),u):null}function Jl(e){if(50<il)throw il=0,Sc=null,Error(s(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var zr={};function m_(e,t,n,i){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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qt(e,t,n,i){return new m_(e,t,n,i)}function pu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zn(e,t){var n=e.alternate;return n===null?(n=qt(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 Mp(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 eo(e,t,n,i,o,u){var d=0;if(i=e,typeof e=="function")pu(e)&&(d=1);else if(typeof e=="string")d=bS(e,n,Y.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case je:return e=qt(31,n,t,o),e.elementType=je,e.lanes=u,e;case K:return Wa(n.children,o,u,t);case V:d=8,o|=24;break;case ne:return e=qt(12,n,t,o|2),e.elementType=ne,e.lanes=u,e;case j:return e=qt(13,n,t,o),e.elementType=j,e.lanes=u,e;case Ee:return e=qt(19,n,t,o),e.elementType=Ee,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ae:d=10;break e;case Se:d=9;break e;case de:d=11;break e;case $:d=14;break e;case Ue:d=16,i=null;break e}d=29,n=Error(s(130,e===null?"null":typeof e,"")),i=null}return t=qt(d,n,t,o),t.elementType=e,t.type=i,t.lanes=u,t}function Wa(e,t,n,i){return e=qt(7,e,i,t),e.lanes=n,e}function mu(e,t,n){return e=qt(6,e,null,t),e.lanes=n,e}function wp(e){var t=qt(18,null,null,0);return t.stateNode=e,t}function hu(e,t,n){return t=qt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Op=new WeakMap;function Jt(e,t){if(typeof e=="object"&&e!==null){var n=Op.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Si(t)},Op.set(e,t),t)}return{value:e,source:t,stack:Si(t)}}var Br=[],jr=0,to=null,Bi=0,en=[],tn=0,ua=null,Sn=1,En="";function Bn(e,t){Br[jr++]=Bi,Br[jr++]=to,to=e,Bi=t}function Rp(e,t,n){en[tn++]=Sn,en[tn++]=En,en[tn++]=ua,ua=e;var i=Sn;e=En;var o=32-Dt(i)-1;i&=~(1<<o),n+=1;var u=32-Dt(t)+o;if(30<u){var d=o-o%5;u=(i&(1<<d)-1).toString(32),i>>=d,o-=d,Sn=1<<32-Dt(t)+o|n<<o|i,En=u+e}else Sn=1<<u|n<<o|i,En=e}function yu(e){e.return!==null&&(Bn(e,1),Rp(e,1,0))}function gu(e){for(;e===to;)to=Br[--jr],Br[jr]=null,Bi=Br[--jr],Br[jr]=null;for(;e===ua;)ua=en[--tn],en[tn]=null,En=en[--tn],en[tn]=null,Sn=en[--tn],en[tn]=null}function Dp(e,t){en[tn++]=Sn,en[tn++]=En,en[tn++]=ua,Sn=t.id,En=t.overflow,ua=e}var St=null,Ze=null,De=!1,ca=null,nn=!1,vu=Error(s(519));function fa(e){var t=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ji(Jt(t,e)),vu}function xp(e){var t=e.stateNode,n=e.type,i=e.memoizedProps;switch(t[ie]=e,t[fe]=i,n){case"dialog":Te("cancel",t),Te("close",t);break;case"iframe":case"object":case"embed":Te("load",t);break;case"video":case"audio":for(n=0;n<ol.length;n++)Te(ol[n],t);break;case"source":Te("error",t);break;case"img":case"image":case"link":Te("error",t),Te("load",t);break;case"details":Te("toggle",t);break;case"input":Te("invalid",t),Fd(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Te("invalid",t);break;case"textarea":Te("invalid",t),Yd(t,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||i.suppressHydrationWarning===!0||Qh(t.textContent,n)?(i.popover!=null&&(Te("beforetoggle",t),Te("toggle",t)),i.onScroll!=null&&Te("scroll",t),i.onScrollEnd!=null&&Te("scrollend",t),i.onClick!=null&&(t.onclick=Hn),t=!0):t=!1,t||fa(e,!0)}function kp(e){for(St=e.return;St;)switch(St.tag){case 5:case 31:case 13:nn=!1;return;case 27:case 3:nn=!0;return;default:St=St.return}}function Ir(e){if(e!==St)return!1;if(!De)return kp(e),De=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Uc(e.type,e.memoizedProps)),n=!n),n&&Ze&&fa(e),kp(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));Ze=ay(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));Ze=ay(e)}else t===27?(t=Ze,Ta(e.type)?(e=qc,qc=null,Ze=e):Ze=t):Ze=St?rn(e.stateNode.nextSibling):null;return!0}function Ka(){Ze=St=null,De=!1}function bu(){var e=ca;return e!==null&&(Bt===null?Bt=e:Bt.push.apply(Bt,e),ca=null),e}function ji(e){ca===null?ca=[e]:ca.push(e)}var _u=b(null),Ja=null,jn=null;function da(e,t,n){B(_u,t._currentValue),t._currentValue=n}function In(e){e._currentValue=_u.current,x(_u)}function Su(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function Eu(e,t,n,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var u=o.dependencies;if(u!==null){var d=o.child;u=u.firstContext;e:for(;u!==null;){var h=u;u=o;for(var v=0;v<t.length;v++)if(h.context===t[v]){u.lanes|=n,h=u.alternate,h!==null&&(h.lanes|=n),Su(u.return,n,e),i||(d=null);break e}u=h.next}}else if(o.tag===18){if(d=o.return,d===null)throw Error(s(341));d.lanes|=n,u=d.alternate,u!==null&&(u.lanes|=n),Su(d,n,e),d=null}else d=o.child;if(d!==null)d.return=o;else for(d=o;d!==null;){if(d===e){d=null;break}if(o=d.sibling,o!==null){o.return=d.return,d=o;break}d=d.return}o=d}}function qr(e,t,n,i){e=null;for(var o=t,u=!1;o!==null;){if(!u){if((o.flags&524288)!==0)u=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var d=o.alternate;if(d===null)throw Error(s(387));if(d=d.memoizedProps,d!==null){var h=o.type;It(o.pendingProps.value,d.value)||(e!==null?e.push(h):e=[h])}}else if(o===ye.current){if(d=o.alternate,d===null)throw Error(s(387));d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(dl):e=[dl])}o=o.return}e!==null&&Eu(t,e,n,i),t.flags|=262144}function no(e){for(e=e.firstContext;e!==null;){if(!It(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function er(e){Ja=e,jn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Et(e){return Np(Ja,e)}function ao(e,t){return Ja===null&&er(e),Np(e,t)}function Np(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},jn===null){if(e===null)throw Error(s(308));jn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else jn=jn.next=t;return n}var h_=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},y_=a.unstable_scheduleCallback,g_=a.unstable_NormalPriority,ot={$$typeof:ae,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Cu(){return{controller:new h_,data:new Map,refCount:0}}function Ii(e){e.refCount--,e.refCount===0&&y_(g_,function(){e.controller.abort()})}var qi=null,Au=0,Pr=0,Gr=null;function v_(e,t){if(qi===null){var n=qi=[];Au=0,Pr=wc(),Gr={status:"pending",value:void 0,then:function(i){n.push(i)}}}return Au++,t.then(Lp,Lp),t}function Lp(){if(--Au===0&&qi!==null){Gr!==null&&(Gr.status="fulfilled");var e=qi;qi=null,Pr=0,Gr=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function b_(e,t){var n=[],i={status:"pending",value:null,reason:null,then:function(o){n.push(o)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var o=0;o<n.length;o++)(0,n[o])(t)},function(o){for(i.status="rejected",i.reason=o,o=0;o<n.length;o++)(0,n[o])(void 0)}),i}var Hp=R.S;R.S=function(e,t){vh=wt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&v_(e,t),Hp!==null&&Hp(e,t)};var tr=b(null);function Tu(){var e=tr.current;return e!==null?e:Ve.pooledCache}function ro(e,t){t===null?B(tr,tr.current):B(tr,t.pool)}function Up(){var e=Tu();return e===null?null:{parent:ot._currentValue,pool:e}}var Fr=Error(s(460)),Mu=Error(s(474)),io=Error(s(542)),lo={then:function(){}};function zp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Bp(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Hn,Hn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ip(e),e;default:if(typeof t.status=="string")t.then(Hn,Hn);else{if(e=Ve,e!==null&&100<e.shellSuspendCounter)throw Error(s(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=i}},function(i){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Ip(e),e}throw ar=t,Fr}}function nr(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(ar=n,Fr):n}}var ar=null;function jp(){if(ar===null)throw Error(s(459));var e=ar;return ar=null,e}function Ip(e){if(e===Fr||e===io)throw Error(s(483))}var Vr=null,Pi=0;function oo(e){var t=Pi;return Pi+=1,Vr===null&&(Vr=[]),Bp(Vr,e,t)}function Gi(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function so(e,t){throw t.$$typeof===U?Error(s(525)):(e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function qp(e){function t(C,_){if(e){var M=C.deletions;M===null?(C.deletions=[_],C.flags|=16):M.push(_)}}function n(C,_){if(!e)return null;for(;_!==null;)t(C,_),_=_.sibling;return null}function i(C){for(var _=new Map;C!==null;)C.key!==null?_.set(C.key,C):_.set(C.index,C),C=C.sibling;return _}function o(C,_){return C=zn(C,_),C.index=0,C.sibling=null,C}function u(C,_,M){return C.index=M,e?(M=C.alternate,M!==null?(M=M.index,M<_?(C.flags|=67108866,_):M):(C.flags|=67108866,_)):(C.flags|=1048576,_)}function d(C){return e&&C.alternate===null&&(C.flags|=67108866),C}function h(C,_,M,N){return _===null||_.tag!==6?(_=mu(M,C.mode,N),_.return=C,_):(_=o(_,M),_.return=C,_)}function v(C,_,M,N){var te=M.type;return te===K?k(C,_,M.props.children,N,M.key):_!==null&&(_.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===Ue&&nr(te)===_.type)?(_=o(_,M.props),Gi(_,M),_.return=C,_):(_=eo(M.type,M.key,M.props,null,C.mode,N),Gi(_,M),_.return=C,_)}function w(C,_,M,N){return _===null||_.tag!==4||_.stateNode.containerInfo!==M.containerInfo||_.stateNode.implementation!==M.implementation?(_=hu(M,C.mode,N),_.return=C,_):(_=o(_,M.children||[]),_.return=C,_)}function k(C,_,M,N,te){return _===null||_.tag!==7?(_=Wa(M,C.mode,N,te),_.return=C,_):(_=o(_,M),_.return=C,_)}function H(C,_,M){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=mu(""+_,C.mode,M),_.return=C,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case F:return M=eo(_.type,_.key,_.props,null,C.mode,M),Gi(M,_),M.return=C,M;case I:return _=hu(_,C.mode,M),_.return=C,_;case Ue:return _=nr(_),H(C,_,M)}if(et(_)||Q(_))return _=Wa(_,C.mode,M,null),_.return=C,_;if(typeof _.then=="function")return H(C,oo(_),M);if(_.$$typeof===ae)return H(C,ao(C,_),M);so(C,_)}return null}function O(C,_,M,N){var te=_!==null?_.key:null;if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return te!==null?null:h(C,_,""+M,N);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case F:return M.key===te?v(C,_,M,N):null;case I:return M.key===te?w(C,_,M,N):null;case Ue:return M=nr(M),O(C,_,M,N)}if(et(M)||Q(M))return te!==null?null:k(C,_,M,N,null);if(typeof M.then=="function")return O(C,_,oo(M),N);if(M.$$typeof===ae)return O(C,_,ao(C,M),N);so(C,M)}return null}function D(C,_,M,N,te){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return C=C.get(M)||null,h(_,C,""+N,te);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case F:return C=C.get(N.key===null?M:N.key)||null,v(_,C,N,te);case I:return C=C.get(N.key===null?M:N.key)||null,w(_,C,N,te);case Ue:return N=nr(N),D(C,_,M,N,te)}if(et(N)||Q(N))return C=C.get(M)||null,k(_,C,N,te,null);if(typeof N.then=="function")return D(C,_,M,oo(N),te);if(N.$$typeof===ae)return D(C,_,M,ao(_,N),te);so(_,N)}return null}function X(C,_,M,N){for(var te=null,xe=null,W=_,be=_=0,Oe=null;W!==null&&be<M.length;be++){W.index>be?(Oe=W,W=null):Oe=W.sibling;var ke=O(C,W,M[be],N);if(ke===null){W===null&&(W=Oe);break}e&&W&&ke.alternate===null&&t(C,W),_=u(ke,_,be),xe===null?te=ke:xe.sibling=ke,xe=ke,W=Oe}if(be===M.length)return n(C,W),De&&Bn(C,be),te;if(W===null){for(;be<M.length;be++)W=H(C,M[be],N),W!==null&&(_=u(W,_,be),xe===null?te=W:xe.sibling=W,xe=W);return De&&Bn(C,be),te}for(W=i(W);be<M.length;be++)Oe=D(W,C,be,M[be],N),Oe!==null&&(e&&Oe.alternate!==null&&W.delete(Oe.key===null?be:Oe.key),_=u(Oe,_,be),xe===null?te=Oe:xe.sibling=Oe,xe=Oe);return e&&W.forEach(function(Da){return t(C,Da)}),De&&Bn(C,be),te}function le(C,_,M,N){if(M==null)throw Error(s(151));for(var te=null,xe=null,W=_,be=_=0,Oe=null,ke=M.next();W!==null&&!ke.done;be++,ke=M.next()){W.index>be?(Oe=W,W=null):Oe=W.sibling;var Da=O(C,W,ke.value,N);if(Da===null){W===null&&(W=Oe);break}e&&W&&Da.alternate===null&&t(C,W),_=u(Da,_,be),xe===null?te=Da:xe.sibling=Da,xe=Da,W=Oe}if(ke.done)return n(C,W),De&&Bn(C,be),te;if(W===null){for(;!ke.done;be++,ke=M.next())ke=H(C,ke.value,N),ke!==null&&(_=u(ke,_,be),xe===null?te=ke:xe.sibling=ke,xe=ke);return De&&Bn(C,be),te}for(W=i(W);!ke.done;be++,ke=M.next())ke=D(W,C,be,ke.value,N),ke!==null&&(e&&ke.alternate!==null&&W.delete(ke.key===null?be:ke.key),_=u(ke,_,be),xe===null?te=ke:xe.sibling=ke,xe=ke);return e&&W.forEach(function(DS){return t(C,DS)}),De&&Bn(C,be),te}function Ge(C,_,M,N){if(typeof M=="object"&&M!==null&&M.type===K&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case F:e:{for(var te=M.key;_!==null;){if(_.key===te){if(te=M.type,te===K){if(_.tag===7){n(C,_.sibling),N=o(_,M.props.children),N.return=C,C=N;break e}}else if(_.elementType===te||typeof te=="object"&&te!==null&&te.$$typeof===Ue&&nr(te)===_.type){n(C,_.sibling),N=o(_,M.props),Gi(N,M),N.return=C,C=N;break e}n(C,_);break}else t(C,_);_=_.sibling}M.type===K?(N=Wa(M.props.children,C.mode,N,M.key),N.return=C,C=N):(N=eo(M.type,M.key,M.props,null,C.mode,N),Gi(N,M),N.return=C,C=N)}return d(C);case I:e:{for(te=M.key;_!==null;){if(_.key===te)if(_.tag===4&&_.stateNode.containerInfo===M.containerInfo&&_.stateNode.implementation===M.implementation){n(C,_.sibling),N=o(_,M.children||[]),N.return=C,C=N;break e}else{n(C,_);break}else t(C,_);_=_.sibling}N=hu(M,C.mode,N),N.return=C,C=N}return d(C);case Ue:return M=nr(M),Ge(C,_,M,N)}if(et(M))return X(C,_,M,N);if(Q(M)){if(te=Q(M),typeof te!="function")throw Error(s(150));return M=te.call(M),le(C,_,M,N)}if(typeof M.then=="function")return Ge(C,_,oo(M),N);if(M.$$typeof===ae)return Ge(C,_,ao(C,M),N);so(C,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,_!==null&&_.tag===6?(n(C,_.sibling),N=o(_,M),N.return=C,C=N):(n(C,_),N=mu(M,C.mode,N),N.return=C,C=N),d(C)):n(C,_)}return function(C,_,M,N){try{Pi=0;var te=Ge(C,_,M,N);return Vr=null,te}catch(W){if(W===Fr||W===io)throw W;var xe=qt(29,W,null,C.mode);return xe.lanes=N,xe.return=C,xe}finally{}}}var rr=qp(!0),Pp=qp(!1),pa=!1;function wu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ou(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ma(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function ha(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(Ne&2)!==0){var o=i.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=Jl(e),Tp(e,null,n),t}return Kl(e,i,t,n),Jl(e)}function Fi(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,L(e,n)}}function Ru(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var o=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};u===null?o=u=d:u=u.next=d,n=n.next}while(n!==null);u===null?o=u=t:u=u.next=t}else o=u=t;n={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:u,shared:i.shared,callbacks:i.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Du=!1;function Vi(){if(Du){var e=Gr;if(e!==null)throw e}}function Yi(e,t,n,i){Du=!1;var o=e.updateQueue;pa=!1;var u=o.firstBaseUpdate,d=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var v=h,w=v.next;v.next=null,d===null?u=w:d.next=w,d=v;var k=e.alternate;k!==null&&(k=k.updateQueue,h=k.lastBaseUpdate,h!==d&&(h===null?k.firstBaseUpdate=w:h.next=w,k.lastBaseUpdate=v))}if(u!==null){var H=o.baseState;d=0,k=w=v=null,h=u;do{var O=h.lane&-536870913,D=O!==h.lane;if(D?(we&O)===O:(i&O)===O){O!==0&&O===Pr&&(Du=!0),k!==null&&(k=k.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{var X=e,le=h;O=t;var Ge=n;switch(le.tag){case 1:if(X=le.payload,typeof X=="function"){H=X.call(Ge,H,O);break e}H=X;break e;case 3:X.flags=X.flags&-65537|128;case 0:if(X=le.payload,O=typeof X=="function"?X.call(Ge,H,O):X,O==null)break e;H=S({},H,O);break e;case 2:pa=!0}}O=h.callback,O!==null&&(e.flags|=64,D&&(e.flags|=8192),D=o.callbacks,D===null?o.callbacks=[O]:D.push(O))}else D={lane:O,tag:h.tag,payload:h.payload,callback:h.callback,next:null},k===null?(w=k=D,v=H):k=k.next=D,d|=O;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;D=h,h=D.next,D.next=null,o.lastBaseUpdate=D,o.shared.pending=null}}while(!0);k===null&&(v=H),o.baseState=v,o.firstBaseUpdate=w,o.lastBaseUpdate=k,u===null&&(o.shared.lanes=0),_a|=d,e.lanes=d,e.memoizedState=H}}function Gp(e,t){if(typeof e!="function")throw Error(s(191,e));e.call(t)}function Fp(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Gp(n[e],t)}var Yr=b(null),uo=b(0);function Vp(e,t){e=Zn,B(uo,e),B(Yr,t),Zn=e|t.baseLanes}function xu(){B(uo,Zn),B(Yr,Yr.current)}function ku(){Zn=uo.current,x(Yr),x(uo)}var Pt=b(null),an=null;function ya(e){var t=e.alternate;B(it,it.current&1),B(Pt,e),an===null&&(t===null||Yr.current!==null||t.memoizedState!==null)&&(an=e)}function Nu(e){B(it,it.current),B(Pt,e),an===null&&(an=e)}function Yp(e){e.tag===22?(B(it,it.current),B(Pt,e),an===null&&(an=e)):ga()}function ga(){B(it,it.current),B(Pt,Pt.current)}function Gt(e){x(Pt),an===e&&(an=null),x(it)}var it=b(0);function co(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||jc(n)||Ic(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 qn=0,ve=null,qe=null,st=null,fo=!1,$r=!1,ir=!1,po=0,$i=0,Qr=null,__=0;function tt(){throw Error(s(321))}function Lu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!It(e[n],t[n]))return!1;return!0}function Hu(e,t,n,i,o,u){return qn=u,ve=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=e===null||e.memoizedState===null?Rm:Xu,ir=!1,u=n(i,o),ir=!1,$r&&(u=Qp(t,n,i,o)),$p(e),u}function $p(e){R.H=Xi;var t=qe!==null&&qe.next!==null;if(qn=0,st=qe=ve=null,fo=!1,$i=0,Qr=null,t)throw Error(s(300));e===null||ut||(e=e.dependencies,e!==null&&no(e)&&(ut=!0))}function Qp(e,t,n,i){ve=e;var o=0;do{if($r&&(Qr=null),$i=0,$r=!1,25<=o)throw Error(s(301));if(o+=1,st=qe=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}R.H=Dm,u=t(n,i)}while($r);return u}function S_(){var e=R.H,t=e.useState()[0];return t=typeof t.then=="function"?Qi(t):t,e=e.useState()[0],(qe!==null?qe.memoizedState:null)!==e&&(ve.flags|=1024),t}function Uu(){var e=po!==0;return po=0,e}function zu(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Bu(e){if(fo){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}fo=!1}qn=0,st=qe=ve=null,$r=!1,$i=po=0,Qr=null}function kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return st===null?ve.memoizedState=st=e:st=st.next=e,st}function lt(){if(qe===null){var e=ve.alternate;e=e!==null?e.memoizedState:null}else e=qe.next;var t=st===null?ve.memoizedState:st.next;if(t!==null)st=t,qe=e;else{if(e===null)throw ve.alternate===null?Error(s(467)):Error(s(310));qe=e,e={memoizedState:qe.memoizedState,baseState:qe.baseState,baseQueue:qe.baseQueue,queue:qe.queue,next:null},st===null?ve.memoizedState=st=e:st=st.next=e}return st}function mo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Qi(e){var t=$i;return $i+=1,Qr===null&&(Qr=[]),e=Bp(Qr,e,t),t=ve,(st===null?t.memoizedState:st.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?Rm:Xu),e}function ho(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Qi(e);if(e.$$typeof===ae)return Et(e)}throw Error(s(438,String(e)))}function ju(e){var t=null,n=ve.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var i=ve.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=mo(),ve.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),i=0;i<e;i++)n[i]=rt;return t.index++,n}function Pn(e,t){return typeof t=="function"?t(e):t}function yo(e){var t=lt();return Iu(t,qe,e)}function Iu(e,t,n){var i=e.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=n;var o=e.baseQueue,u=i.pending;if(u!==null){if(o!==null){var d=o.next;o.next=u.next,u.next=d}t.baseQueue=o=u,i.pending=null}if(u=e.baseState,o===null)e.memoizedState=u;else{t=o.next;var h=d=null,v=null,w=t,k=!1;do{var H=w.lane&-536870913;if(H!==w.lane?(we&H)===H:(qn&H)===H){var O=w.revertLane;if(O===0)v!==null&&(v=v.next={lane:0,revertLane:0,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null}),H===Pr&&(k=!0);else if((qn&O)===O){w=w.next,O===Pr&&(k=!0);continue}else H={lane:0,revertLane:w.revertLane,gesture:null,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},v===null?(h=v=H,d=u):v=v.next=H,ve.lanes|=O,_a|=O;H=w.action,ir&&n(u,H),u=w.hasEagerState?w.eagerState:n(u,H)}else O={lane:H,revertLane:w.revertLane,gesture:w.gesture,action:w.action,hasEagerState:w.hasEagerState,eagerState:w.eagerState,next:null},v===null?(h=v=O,d=u):v=v.next=O,ve.lanes|=H,_a|=H;w=w.next}while(w!==null&&w!==t);if(v===null?d=u:v.next=h,!It(u,e.memoizedState)&&(ut=!0,k&&(n=Gr,n!==null)))throw n;e.memoizedState=u,e.baseState=d,e.baseQueue=v,i.lastRenderedState=u}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function qu(e){var t=lt(),n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,u=t.memoizedState;if(o!==null){n.pending=null;var d=o=o.next;do u=e(u,d.action),d=d.next;while(d!==o);It(u,t.memoizedState)||(ut=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),n.lastRenderedState=u}return[u,i]}function Zp(e,t,n){var i=ve,o=lt(),u=De;if(u){if(n===void 0)throw Error(s(407));n=n()}else n=t();var d=!It((qe||o).memoizedState,n);if(d&&(o.memoizedState=n,ut=!0),o=o.queue,Fu(Kp.bind(null,i,o,e),[e]),o.getSnapshot!==t||d||st!==null&&st.memoizedState.tag&1){if(i.flags|=2048,Zr(9,{destroy:void 0},Wp.bind(null,i,o,n,t),null),Ve===null)throw Error(s(349));u||(qn&127)!==0||Xp(i,t,n)}return n}function Xp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ve.updateQueue,t===null?(t=mo(),ve.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Wp(e,t,n,i){t.value=n,t.getSnapshot=i,Jp(t)&&em(e)}function Kp(e,t,n){return n(function(){Jp(t)&&em(e)})}function Jp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!It(e,n)}catch{return!0}}function em(e){var t=Xa(e,2);t!==null&&jt(t,e,2)}function Pu(e){var t=kt();if(typeof e=="function"){var n=e;if(e=n(),ir){bn(!0);try{n()}finally{bn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pn,lastRenderedState:e},t}function tm(e,t,n,i){return e.baseState=n,Iu(e,qe,typeof i=="function"?i:Pn)}function E_(e,t,n,i,o){if(bo(e))throw Error(s(485));if(e=t.action,e!==null){var u={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){u.listeners.push(d)}};R.T!==null?n(!0):u.isTransition=!1,i(u),n=t.pending,n===null?(u.next=t.pending=u,nm(t,u)):(u.next=n.next,t.pending=n.next=u)}}function nm(e,t){var n=t.action,i=t.payload,o=e.state;if(t.isTransition){var u=R.T,d={};R.T=d;try{var h=n(o,i),v=R.S;v!==null&&v(d,h),am(e,t,h)}catch(w){Gu(e,t,w)}finally{u!==null&&d.types!==null&&(u.types=d.types),R.T=u}}else try{u=n(o,i),am(e,t,u)}catch(w){Gu(e,t,w)}}function am(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){rm(e,t,i)},function(i){return Gu(e,t,i)}):rm(e,t,n)}function rm(e,t,n){t.status="fulfilled",t.value=n,im(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 Gu(e,t,n){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=n,im(t),t=t.next;while(t!==i)}e.action=null}function im(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function lm(e,t){return t}function om(e,t){if(De){var n=Ve.formState;if(n!==null){e:{var i=ve;if(De){if(Ze){t:{for(var o=Ze,u=nn;o.nodeType!==8;){if(!u){o=null;break t}if(o=rn(o.nextSibling),o===null){o=null;break t}}u=o.data,o=u==="F!"||u==="F"?o:null}if(o){Ze=rn(o.nextSibling),i=o.data==="F!";break e}}fa(i)}i=!1}i&&(t=n[0])}}return n=kt(),n.memoizedState=n.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:lm,lastRenderedState:t},n.queue=i,n=Mm.bind(null,ve,i),i.dispatch=n,i=Pu(!1),u=Zu.bind(null,ve,!1,i.queue),i=kt(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,n=E_.bind(null,ve,o,u,n),o.dispatch=n,i.memoizedState=e,[t,n,!1]}function sm(e){var t=lt();return um(t,qe,e)}function um(e,t,n){if(t=Iu(e,t,lm)[0],e=yo(Pn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=Qi(t)}catch(d){throw d===Fr?io:d}else i=t;t=lt();var o=t.queue,u=o.dispatch;return n!==t.memoizedState&&(ve.flags|=2048,Zr(9,{destroy:void 0},C_.bind(null,o,n),null)),[i,u,e]}function C_(e,t){e.action=t}function cm(e){var t=lt(),n=qe;if(n!==null)return um(t,n,e);lt(),t=t.memoizedState,n=lt();var i=n.queue.dispatch;return n.memoizedState=e,[t,i,!1]}function Zr(e,t,n,i){return e={tag:e,create:n,deps:i,inst:t,next:null},t=ve.updateQueue,t===null&&(t=mo(),ve.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function fm(){return lt().memoizedState}function go(e,t,n,i){var o=kt();ve.flags|=e,o.memoizedState=Zr(1|t,{destroy:void 0},n,i===void 0?null:i)}function vo(e,t,n,i){var o=lt();i=i===void 0?null:i;var u=o.memoizedState.inst;qe!==null&&i!==null&&Lu(i,qe.memoizedState.deps)?o.memoizedState=Zr(t,u,n,i):(ve.flags|=e,o.memoizedState=Zr(1|t,u,n,i))}function dm(e,t){go(8390656,8,e,t)}function Fu(e,t){vo(2048,8,e,t)}function A_(e){ve.flags|=4;var t=ve.updateQueue;if(t===null)t=mo(),ve.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function pm(e){var t=lt().memoizedState;return A_({ref:t,nextImpl:e}),function(){if((Ne&2)!==0)throw Error(s(440));return t.impl.apply(void 0,arguments)}}function mm(e,t){return vo(4,2,e,t)}function hm(e,t){return vo(4,4,e,t)}function ym(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 gm(e,t,n){n=n!=null?n.concat([e]):null,vo(4,4,ym.bind(null,t,e),n)}function Vu(){}function vm(e,t){var n=lt();t=t===void 0?null:t;var i=n.memoizedState;return t!==null&&Lu(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function bm(e,t){var n=lt();t=t===void 0?null:t;var i=n.memoizedState;if(t!==null&&Lu(t,i[1]))return i[0];if(i=e(),ir){bn(!0);try{e()}finally{bn(!1)}}return n.memoizedState=[i,t],i}function Yu(e,t,n){return n===void 0||(qn&1073741824)!==0&&(we&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=_h(),ve.lanes|=e,_a|=e,n)}function _m(e,t,n,i){return It(n,t)?n:Yr.current!==null?(e=Yu(e,n,i),It(e,t)||(ut=!0),e):(qn&42)===0||(qn&1073741824)!==0&&(we&261930)===0?(ut=!0,e.memoizedState=n):(e=_h(),ve.lanes|=e,_a|=e,t)}function Sm(e,t,n,i,o){var u=G.p;G.p=u!==0&&8>u?u:8;var d=R.T,h={};R.T=h,Zu(e,!1,t,n);try{var v=o(),w=R.S;if(w!==null&&w(h,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var k=b_(v,i);Zi(e,t,k,Yt(e))}else Zi(e,t,i,Yt(e))}catch(H){Zi(e,t,{then:function(){},status:"rejected",reason:H},Yt())}finally{G.p=u,d!==null&&h.types!==null&&(d.types=h.types),R.T=d}}function T_(){}function $u(e,t,n,i){if(e.tag!==5)throw Error(s(476));var o=Em(e).queue;Sm(e,o,t,J,n===null?T_:function(){return Cm(e),n(i)})}function Em(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pn,lastRenderedState:J},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Cm(e){var t=Em(e);t.next===null&&(t=e.alternate.memoizedState),Zi(e,t.next.queue,{},Yt())}function Qu(){return Et(dl)}function Am(){return lt().memoizedState}function Tm(){return lt().memoizedState}function M_(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=Yt();e=ma(n);var i=ha(t,e,n);i!==null&&(jt(i,t,n),Fi(i,t,n)),t={cache:Cu()},e.payload=t;return}t=t.return}}function w_(e,t,n){var i=Yt();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},bo(e)?wm(t,n):(n=du(e,t,n,i),n!==null&&(jt(n,e,i),Om(n,t,i)))}function Mm(e,t,n){var i=Yt();Zi(e,t,n,i)}function Zi(e,t,n,i){var o={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(bo(e))wm(t,o);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var d=t.lastRenderedState,h=u(d,n);if(o.hasEagerState=!0,o.eagerState=h,It(h,d))return Kl(e,t,o,0),Ve===null&&Wl(),!1}catch{}finally{}if(n=du(e,t,o,i),n!==null)return jt(n,e,i),Om(n,t,i),!0}return!1}function Zu(e,t,n,i){if(i={lane:2,revertLane:wc(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},bo(e)){if(t)throw Error(s(479))}else t=du(e,n,i,2),t!==null&&jt(t,e,2)}function bo(e){var t=e.alternate;return e===ve||t!==null&&t===ve}function wm(e,t){$r=fo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Om(e,t,n){if((n&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,L(e,n)}}var Xi={readContext:Et,use:ho,useCallback:tt,useContext:tt,useEffect:tt,useImperativeHandle:tt,useLayoutEffect:tt,useInsertionEffect:tt,useMemo:tt,useReducer:tt,useRef:tt,useState:tt,useDebugValue:tt,useDeferredValue:tt,useTransition:tt,useSyncExternalStore:tt,useId:tt,useHostTransitionStatus:tt,useFormState:tt,useActionState:tt,useOptimistic:tt,useMemoCache:tt,useCacheRefresh:tt};Xi.useEffectEvent=tt;var Rm={readContext:Et,use:ho,useCallback:function(e,t){return kt().memoizedState=[e,t===void 0?null:t],e},useContext:Et,useEffect:dm,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,go(4194308,4,ym.bind(null,t,e),n)},useLayoutEffect:function(e,t){return go(4194308,4,e,t)},useInsertionEffect:function(e,t){go(4,2,e,t)},useMemo:function(e,t){var n=kt();t=t===void 0?null:t;var i=e();if(ir){bn(!0);try{e()}finally{bn(!1)}}return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=kt();if(n!==void 0){var o=n(t);if(ir){bn(!0);try{n(t)}finally{bn(!1)}}}else o=t;return i.memoizedState=i.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},i.queue=e,e=e.dispatch=w_.bind(null,ve,e),[i.memoizedState,e]},useRef:function(e){var t=kt();return e={current:e},t.memoizedState=e},useState:function(e){e=Pu(e);var t=e.queue,n=Mm.bind(null,ve,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Vu,useDeferredValue:function(e,t){var n=kt();return Yu(n,e,t)},useTransition:function(){var e=Pu(!1);return e=Sm.bind(null,ve,e.queue,!0,!1),kt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=ve,o=kt();if(De){if(n===void 0)throw Error(s(407));n=n()}else{if(n=t(),Ve===null)throw Error(s(349));(we&127)!==0||Xp(i,t,n)}o.memoizedState=n;var u={value:n,getSnapshot:t};return o.queue=u,dm(Kp.bind(null,i,u,e),[e]),i.flags|=2048,Zr(9,{destroy:void 0},Wp.bind(null,i,u,n,t),null),n},useId:function(){var e=kt(),t=Ve.identifierPrefix;if(De){var n=En,i=Sn;n=(i&~(1<<32-Dt(i)-1)).toString(32)+n,t="_"+t+"R_"+n,n=po++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=__++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Qu,useFormState:om,useActionState:om,useOptimistic:function(e){var t=kt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Zu.bind(null,ve,!0,n),n.dispatch=t,[e,t]},useMemoCache:ju,useCacheRefresh:function(){return kt().memoizedState=M_.bind(null,ve)},useEffectEvent:function(e){var t=kt(),n={impl:e};return t.memoizedState=n,function(){if((Ne&2)!==0)throw Error(s(440));return n.impl.apply(void 0,arguments)}}},Xu={readContext:Et,use:ho,useCallback:vm,useContext:Et,useEffect:Fu,useImperativeHandle:gm,useInsertionEffect:mm,useLayoutEffect:hm,useMemo:bm,useReducer:yo,useRef:fm,useState:function(){return yo(Pn)},useDebugValue:Vu,useDeferredValue:function(e,t){var n=lt();return _m(n,qe.memoizedState,e,t)},useTransition:function(){var e=yo(Pn)[0],t=lt().memoizedState;return[typeof e=="boolean"?e:Qi(e),t]},useSyncExternalStore:Zp,useId:Am,useHostTransitionStatus:Qu,useFormState:sm,useActionState:sm,useOptimistic:function(e,t){var n=lt();return tm(n,qe,e,t)},useMemoCache:ju,useCacheRefresh:Tm};Xu.useEffectEvent=pm;var Dm={readContext:Et,use:ho,useCallback:vm,useContext:Et,useEffect:Fu,useImperativeHandle:gm,useInsertionEffect:mm,useLayoutEffect:hm,useMemo:bm,useReducer:qu,useRef:fm,useState:function(){return qu(Pn)},useDebugValue:Vu,useDeferredValue:function(e,t){var n=lt();return qe===null?Yu(n,e,t):_m(n,qe.memoizedState,e,t)},useTransition:function(){var e=qu(Pn)[0],t=lt().memoizedState;return[typeof e=="boolean"?e:Qi(e),t]},useSyncExternalStore:Zp,useId:Am,useHostTransitionStatus:Qu,useFormState:cm,useActionState:cm,useOptimistic:function(e,t){var n=lt();return qe!==null?tm(n,qe,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:ju,useCacheRefresh:Tm};Dm.useEffectEvent=pm;function Wu(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:S({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ku={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=Yt(),o=ma(i);o.payload=t,n!=null&&(o.callback=n),t=ha(e,o,i),t!==null&&(jt(t,e,i),Fi(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=Yt(),o=ma(i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=ha(e,o,i),t!==null&&(jt(t,e,i),Fi(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Yt(),i=ma(n);i.tag=2,t!=null&&(i.callback=t),t=ha(e,i,n),t!==null&&(jt(t,e,n),Fi(t,e,n))}};function xm(e,t,n,i,o,u,d){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,u,d):t.prototype&&t.prototype.isPureReactComponent?!Ui(n,i)||!Ui(o,u):!0}function km(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&Ku.enqueueReplaceState(t,t.state,null)}function lr(e,t){var n=t;if("ref"in t){n={};for(var i in t)i!=="ref"&&(n[i]=t[i])}if(e=e.defaultProps){n===t&&(n=S({},n));for(var o in e)n[o]===void 0&&(n[o]=e[o])}return n}function Nm(e){Xl(e)}function Lm(e){console.error(e)}function Hm(e){Xl(e)}function _o(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function Um(e,t,n){try{var i=e.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Ju(e,t,n){return n=ma(n),n.tag=3,n.payload={element:null},n.callback=function(){_o(e,t)},n}function zm(e){return e=ma(e),e.tag=3,e}function Bm(e,t,n,i){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var u=i.value;e.payload=function(){return o(u)},e.callback=function(){Um(t,n,i)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){Um(t,n,i),typeof o!="function"&&(Sa===null?Sa=new Set([this]):Sa.add(this));var h=i.stack;this.componentDidCatch(i.value,{componentStack:h!==null?h:""})})}function O_(e,t,n,i,o){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=n.alternate,t!==null&&qr(t,n,o,!0),n=Pt.current,n!==null){switch(n.tag){case 31:case 13:return an===null?ko():n.alternate===null&&nt===0&&(nt=3),n.flags&=-257,n.flags|=65536,n.lanes=o,i===lo?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([i]):t.add(i),Ac(e,i,o)),!1;case 22:return n.flags|=65536,i===lo?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([i]):n.add(i)),Ac(e,i,o)),!1}throw Error(s(435,n.tag))}return Ac(e,i,o),ko(),!1}if(De)return t=Pt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==vu&&(e=Error(s(422),{cause:i}),ji(Jt(e,n)))):(i!==vu&&(t=Error(s(423),{cause:i}),ji(Jt(t,n))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=Jt(i,n),o=Ju(e.stateNode,i,o),Ru(e,o),nt!==4&&(nt=2)),!1;var u=Error(s(520),{cause:i});if(u=Jt(u,n),rl===null?rl=[u]:rl.push(u),nt!==4&&(nt=2),t===null)return!0;i=Jt(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=Ju(n.stateNode,i,e),Ru(n,e),!1;case 1:if(t=n.type,u=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Sa===null||!Sa.has(u))))return n.flags|=65536,o&=-o,n.lanes|=o,o=zm(o),Bm(o,e,n,i),Ru(n,o),!1}n=n.return}while(n!==null);return!1}var ec=Error(s(461)),ut=!1;function Ct(e,t,n,i){t.child=e===null?Pp(t,null,n,i):rr(t,e.child,n,i)}function jm(e,t,n,i,o){n=n.render;var u=t.ref;if("ref"in i){var d={};for(var h in i)h!=="ref"&&(d[h]=i[h])}else d=i;return er(t),i=Hu(e,t,n,d,u,o),h=Uu(),e!==null&&!ut?(zu(e,t,o),Gn(e,t,o)):(De&&h&&yu(t),t.flags|=1,Ct(e,t,i,o),t.child)}function Im(e,t,n,i,o){if(e===null){var u=n.type;return typeof u=="function"&&!pu(u)&&u.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=u,qm(e,t,u,i,o)):(e=eo(n.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!sc(e,o)){var d=u.memoizedProps;if(n=n.compare,n=n!==null?n:Ui,n(d,i)&&e.ref===t.ref)return Gn(e,t,o)}return t.flags|=1,e=zn(u,i),e.ref=t.ref,e.return=t,t.child=e}function qm(e,t,n,i,o){if(e!==null){var u=e.memoizedProps;if(Ui(u,i)&&e.ref===t.ref)if(ut=!1,t.pendingProps=i=u,sc(e,o))(e.flags&131072)!==0&&(ut=!0);else return t.lanes=e.lanes,Gn(e,t,o)}return tc(e,t,n,i,o)}function Pm(e,t,n,i){var o=i.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|n:n,e!==null){for(i=t.child=e.child,o=0;i!==null;)o=o|i.lanes|i.childLanes,i=i.sibling;i=o&~u}else i=0,t.child=null;return Gm(e,t,u,n,i)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&ro(t,u!==null?u.cachePool:null),u!==null?Vp(t,u):xu(),Yp(t);else return i=t.lanes=536870912,Gm(e,t,u!==null?u.baseLanes|n:n,n,i)}else u!==null?(ro(t,u.cachePool),Vp(t,u),ga(),t.memoizedState=null):(e!==null&&ro(t,null),xu(),ga());return Ct(e,t,o,n),t.child}function Wi(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Gm(e,t,n,i,o){var u=Tu();return u=u===null?null:{parent:ot._currentValue,pool:u},t.memoizedState={baseLanes:n,cachePool:u},e!==null&&ro(t,null),xu(),Yp(t),e!==null&&qr(e,t,i,!0),t.childLanes=o,null}function So(e,t){return t=Co({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function Fm(e,t,n){return rr(t,e.child,null,n),e=So(t,t.pendingProps),e.flags|=2,Gt(t),t.memoizedState=null,e}function R_(e,t,n){var i=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(De){if(i.mode==="hidden")return e=So(t,i),t.lanes=536870912,Wi(null,e);if(Nu(t),(e=Ze)?(e=ny(e,nn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ua!==null?{id:Sn,overflow:En}:null,retryLane:536870912,hydrationErrors:null},n=wp(e),n.return=t,t.child=n,St=t,Ze=null)):e=null,e===null)throw fa(t);return t.lanes=536870912,null}return So(t,i)}var u=e.memoizedState;if(u!==null){var d=u.dehydrated;if(Nu(t),o)if(t.flags&256)t.flags&=-257,t=Fm(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(s(558));else if(ut||qr(e,t,n,!1),o=(n&e.childLanes)!==0,ut||o){if(i=Ve,i!==null&&(d=z(i,n),d!==0&&d!==u.retryLane))throw u.retryLane=d,Xa(e,d),jt(i,e,d),ec;ko(),t=Fm(e,t,n)}else e=u.treeContext,Ze=rn(d.nextSibling),St=t,De=!0,ca=null,nn=!1,e!==null&&Dp(t,e),t=So(t,i),t.flags|=4096;return t}return e=zn(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Eo(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(s(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function tc(e,t,n,i,o){return er(t),n=Hu(e,t,n,i,void 0,o),i=Uu(),e!==null&&!ut?(zu(e,t,o),Gn(e,t,o)):(De&&i&&yu(t),t.flags|=1,Ct(e,t,n,o),t.child)}function Vm(e,t,n,i,o,u){return er(t),t.updateQueue=null,n=Qp(t,i,n,o),$p(e),i=Uu(),e!==null&&!ut?(zu(e,t,u),Gn(e,t,u)):(De&&i&&yu(t),t.flags|=1,Ct(e,t,n,u),t.child)}function Ym(e,t,n,i,o){if(er(t),t.stateNode===null){var u=zr,d=n.contextType;typeof d=="object"&&d!==null&&(u=Et(d)),u=new n(i,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Ku,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=i,u.state=t.memoizedState,u.refs={},wu(t),d=n.contextType,u.context=typeof d=="object"&&d!==null?Et(d):zr,u.state=t.memoizedState,d=n.getDerivedStateFromProps,typeof d=="function"&&(Wu(t,n,d,i),u.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(d=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),d!==u.state&&Ku.enqueueReplaceState(u,u.state,null),Yi(t,i,u,o),Vi(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){u=t.stateNode;var h=t.memoizedProps,v=lr(n,h);u.props=v;var w=u.context,k=n.contextType;d=zr,typeof k=="object"&&k!==null&&(d=Et(k));var H=n.getDerivedStateFromProps;k=typeof H=="function"||typeof u.getSnapshotBeforeUpdate=="function",h=t.pendingProps!==h,k||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(h||w!==d)&&km(t,u,i,d),pa=!1;var O=t.memoizedState;u.state=O,Yi(t,i,u,o),Vi(),w=t.memoizedState,h||O!==w||pa?(typeof H=="function"&&(Wu(t,n,H,i),w=t.memoizedState),(v=pa||xm(t,n,v,i,O,w,d))?(k||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=w),u.props=i,u.state=w,u.context=d,i=v):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{u=t.stateNode,Ou(e,t),d=t.memoizedProps,k=lr(n,d),u.props=k,H=t.pendingProps,O=u.context,w=n.contextType,v=zr,typeof w=="object"&&w!==null&&(v=Et(w)),h=n.getDerivedStateFromProps,(w=typeof h=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(d!==H||O!==v)&&km(t,u,i,v),pa=!1,O=t.memoizedState,u.state=O,Yi(t,i,u,o),Vi();var D=t.memoizedState;d!==H||O!==D||pa||e!==null&&e.dependencies!==null&&no(e.dependencies)?(typeof h=="function"&&(Wu(t,n,h,i),D=t.memoizedState),(k=pa||xm(t,n,k,i,O,D,v)||e!==null&&e.dependencies!==null&&no(e.dependencies))?(w||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(i,D,v),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(i,D,v)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=D),u.props=i,u.state=D,u.context=v,i=k):(typeof u.componentDidUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&O===e.memoizedState||(t.flags|=1024),i=!1)}return u=i,Eo(e,t),i=(t.flags&128)!==0,u||i?(u=t.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&i?(t.child=rr(t,e.child,null,o),t.child=rr(t,null,n,o)):Ct(e,t,n,o),t.memoizedState=u.state,e=t.child):e=Gn(e,t,o),e}function $m(e,t,n,i){return Ka(),t.flags|=256,Ct(e,t,n,i),t.child}var nc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ac(e){return{baseLanes:e,cachePool:Up()}}function rc(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=Vt),e}function Qm(e,t,n){var i=t.pendingProps,o=!1,u=(t.flags&128)!==0,d;if((d=u)||(d=e!==null&&e.memoizedState===null?!1:(it.current&2)!==0),d&&(o=!0,t.flags&=-129),d=(t.flags&32)!==0,t.flags&=-33,e===null){if(De){if(o?ya(t):ga(),(e=Ze)?(e=ny(e,nn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ua!==null?{id:Sn,overflow:En}:null,retryLane:536870912,hydrationErrors:null},n=wp(e),n.return=t,t.child=n,St=t,Ze=null)):e=null,e===null)throw fa(t);return Ic(e)?t.lanes=32:t.lanes=536870912,null}var h=i.children;return i=i.fallback,o?(ga(),o=t.mode,h=Co({mode:"hidden",children:h},o),i=Wa(i,o,n,null),h.return=t,i.return=t,h.sibling=i,t.child=h,i=t.child,i.memoizedState=ac(n),i.childLanes=rc(e,d,n),t.memoizedState=nc,Wi(null,i)):(ya(t),ic(t,h))}var v=e.memoizedState;if(v!==null&&(h=v.dehydrated,h!==null)){if(u)t.flags&256?(ya(t),t.flags&=-257,t=lc(e,t,n)):t.memoizedState!==null?(ga(),t.child=e.child,t.flags|=128,t=null):(ga(),h=i.fallback,o=t.mode,i=Co({mode:"visible",children:i.children},o),h=Wa(h,o,n,null),h.flags|=2,i.return=t,h.return=t,i.sibling=h,t.child=i,rr(t,e.child,null,n),i=t.child,i.memoizedState=ac(n),i.childLanes=rc(e,d,n),t.memoizedState=nc,t=Wi(null,i));else if(ya(t),Ic(h)){if(d=h.nextSibling&&h.nextSibling.dataset,d)var w=d.dgst;d=w,i=Error(s(419)),i.stack="",i.digest=d,ji({value:i,source:null,stack:null}),t=lc(e,t,n)}else if(ut||qr(e,t,n,!1),d=(n&e.childLanes)!==0,ut||d){if(d=Ve,d!==null&&(i=z(d,n),i!==0&&i!==v.retryLane))throw v.retryLane=i,Xa(e,i),jt(d,e,i),ec;jc(h)||ko(),t=lc(e,t,n)}else jc(h)?(t.flags|=192,t.child=e.child,t=null):(e=v.treeContext,Ze=rn(h.nextSibling),St=t,De=!0,ca=null,nn=!1,e!==null&&Dp(t,e),t=ic(t,i.children),t.flags|=4096);return t}return o?(ga(),h=i.fallback,o=t.mode,v=e.child,w=v.sibling,i=zn(v,{mode:"hidden",children:i.children}),i.subtreeFlags=v.subtreeFlags&65011712,w!==null?h=zn(w,h):(h=Wa(h,o,n,null),h.flags|=2),h.return=t,i.return=t,i.sibling=h,t.child=i,Wi(null,i),i=t.child,h=e.child.memoizedState,h===null?h=ac(n):(o=h.cachePool,o!==null?(v=ot._currentValue,o=o.parent!==v?{parent:v,pool:v}:o):o=Up(),h={baseLanes:h.baseLanes|n,cachePool:o}),i.memoizedState=h,i.childLanes=rc(e,d,n),t.memoizedState=nc,Wi(e.child,i)):(ya(t),n=e.child,e=n.sibling,n=zn(n,{mode:"visible",children:i.children}),n.return=t,n.sibling=null,e!==null&&(d=t.deletions,d===null?(t.deletions=[e],t.flags|=16):d.push(e)),t.child=n,t.memoizedState=null,n)}function ic(e,t){return t=Co({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Co(e,t){return e=qt(22,e,null,t),e.lanes=0,e}function lc(e,t,n){return rr(t,e.child,null,n),e=ic(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Zm(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Su(e.return,t,n)}function oc(e,t,n,i,o,u){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o,treeForkCount:u}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=i,d.tail=n,d.tailMode=o,d.treeForkCount=u)}function Xm(e,t,n){var i=t.pendingProps,o=i.revealOrder,u=i.tail;i=i.children;var d=it.current,h=(d&2)!==0;if(h?(d=d&1|2,t.flags|=128):d&=1,B(it,d),Ct(e,t,i,n),i=De?Bi:0,!h&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Zm(e,n,t);else if(e.tag===19)Zm(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(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&co(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),oc(t,!1,o,n,u,i);break;case"backwards":case"unstable_legacy-backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&co(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}oc(t,!0,n,null,u,i);break;case"together":oc(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function Gn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),_a|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(qr(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,n=zn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=zn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function sc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&no(e)))}function D_(e,t,n){switch(t.tag){case 3:Ie(t,t.stateNode.containerInfo),da(t,ot,e.memoizedState.cache),Ka();break;case 27:case 5:yt(t);break;case 4:Ie(t,t.stateNode.containerInfo);break;case 10:da(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Nu(t),null;break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(ya(t),t.flags|=128,null):(n&t.child.childLanes)!==0?Qm(e,t,n):(ya(t),e=Gn(e,t,n),e!==null?e.sibling:null);ya(t);break;case 19:var o=(e.flags&128)!==0;if(i=(n&t.childLanes)!==0,i||(qr(e,t,n,!1),i=(n&t.childLanes)!==0),o){if(i)return Xm(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),B(it,it.current),i)break;return null;case 22:return t.lanes=0,Pm(e,t,n,t.pendingProps);case 24:da(t,ot,e.memoizedState.cache)}return Gn(e,t,n)}function Wm(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)ut=!0;else{if(!sc(e,n)&&(t.flags&128)===0)return ut=!1,D_(e,t,n);ut=(e.flags&131072)!==0}else ut=!1,De&&(t.flags&1048576)!==0&&Rp(t,Bi,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=nr(t.elementType),t.type=e,typeof e=="function")pu(e)?(i=lr(e,i),t.tag=1,t=Ym(null,t,e,i,n)):(t.tag=0,t=tc(null,t,e,i,n));else{if(e!=null){var o=e.$$typeof;if(o===de){t.tag=11,t=jm(null,t,e,i,n);break e}else if(o===$){t.tag=14,t=Im(null,t,e,i,n);break e}}throw t=Qe(e)||e,Error(s(306,t,""))}}return t;case 0:return tc(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,o=lr(i,t.pendingProps),Ym(e,t,i,o,n);case 3:e:{if(Ie(t,t.stateNode.containerInfo),e===null)throw Error(s(387));i=t.pendingProps;var u=t.memoizedState;o=u.element,Ou(e,t),Yi(t,i,null,n);var d=t.memoizedState;if(i=d.cache,da(t,ot,i),i!==u.cache&&Eu(t,[ot],n,!0),Vi(),i=d.element,u.isDehydrated)if(u={element:i,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=$m(e,t,i,n);break e}else if(i!==o){o=Jt(Error(s(424)),t),ji(o),t=$m(e,t,i,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(Ze=rn(e.firstChild),St=t,De=!0,ca=null,nn=!0,n=Pp(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Ka(),i===o){t=Gn(e,t,n);break e}Ct(e,t,i,n)}t=t.child}return t;case 26:return Eo(e,t),e===null?(n=sy(t.type,null,t.pendingProps,null))?t.memoizedState=n:De||(n=t.type,e=t.pendingProps,i=jo(ee.current).createElement(n),i[ie]=t,i[fe]=e,At(i,n,e),gt(i),t.stateNode=i):t.memoizedState=sy(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return yt(t),e===null&&De&&(i=t.stateNode=iy(t.type,t.pendingProps,ee.current),St=t,nn=!0,o=Ze,Ta(t.type)?(qc=o,Ze=rn(i.firstChild)):Ze=o),Ct(e,t,t.pendingProps.children,n),Eo(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&De&&((o=i=Ze)&&(i=lS(i,t.type,t.pendingProps,nn),i!==null?(t.stateNode=i,St=t,Ze=rn(i.firstChild),nn=!1,o=!0):o=!1),o||fa(t)),yt(t),o=t.type,u=t.pendingProps,d=e!==null?e.memoizedProps:null,i=u.children,Uc(o,u)?i=null:d!==null&&Uc(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=Hu(e,t,S_,null,null,n),dl._currentValue=o),Eo(e,t),Ct(e,t,i,n),t.child;case 6:return e===null&&De&&((e=n=Ze)&&(n=oS(n,t.pendingProps,nn),n!==null?(t.stateNode=n,St=t,Ze=null,e=!0):e=!1),e||fa(t)),null;case 13:return Qm(e,t,n);case 4:return Ie(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=rr(t,null,i,n):Ct(e,t,i,n),t.child;case 11:return jm(e,t,t.type,t.pendingProps,n);case 7:return Ct(e,t,t.pendingProps,n),t.child;case 8:return Ct(e,t,t.pendingProps.children,n),t.child;case 12:return Ct(e,t,t.pendingProps.children,n),t.child;case 10:return i=t.pendingProps,da(t,t.type,i.value),Ct(e,t,i.children,n),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,er(t),o=Et(o),i=i(o),t.flags|=1,Ct(e,t,i,n),t.child;case 14:return Im(e,t,t.type,t.pendingProps,n);case 15:return qm(e,t,t.type,t.pendingProps,n);case 19:return Xm(e,t,n);case 31:return R_(e,t,n);case 22:return Pm(e,t,n,t.pendingProps);case 24:return er(t),i=Et(ot),e===null?(o=Tu(),o===null&&(o=Ve,u=Cu(),o.pooledCache=u,u.refCount++,u!==null&&(o.pooledCacheLanes|=n),o=u),t.memoizedState={parent:i,cache:o},wu(t),da(t,ot,o)):((e.lanes&n)!==0&&(Ou(e,t),Yi(t,null,null,n),Vi()),o=e.memoizedState,u=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),da(t,ot,i)):(i=u.cache,da(t,ot,i),i!==o.cache&&Eu(t,[ot],n,!0))),Ct(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(s(156,t.tag))}function Fn(e){e.flags|=4}function uc(e,t,n,i,o){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(Ah())e.flags|=8192;else throw ar=lo,Mu}else e.flags&=-16777217}function Km(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!py(t))if(Ah())e.flags|=8192;else throw ar=lo,Mu}function Ao(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Mi():536870912,e.lanes|=t,Jr|=t)}function Ki(e,t){if(!De)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 i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Xe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function x_(e,t,n){var i=t.pendingProps;switch(gu(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xe(t),null;case 1:return Xe(t),null;case 3:return n=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),In(ot),Ye(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ir(t)?Fn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,bu())),Xe(t),null;case 26:var o=t.type,u=t.memoizedState;return e===null?(Fn(t),u!==null?(Xe(t),Km(t,u)):(Xe(t),uc(t,o,null,i,n))):u?u!==e.memoizedState?(Fn(t),Xe(t),Km(t,u)):(Xe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&Fn(t),Xe(t),uc(t,o,e,i,n)),null;case 27:if(re(t),n=ee.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Fn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return Xe(t),null}e=Y.current,Ir(t)?xp(t):(e=iy(o,i,n),t.stateNode=e,Fn(t))}return Xe(t),null;case 5:if(re(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Fn(t);else{if(!i){if(t.stateNode===null)throw Error(s(166));return Xe(t),null}if(u=Y.current,Ir(t))xp(t);else{var d=jo(ee.current);switch(u){case 1:u=d.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:u=d.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":u=d.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":u=d.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":u=d.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof i.is=="string"?d.createElement("select",{is:i.is}):d.createElement("select"),i.multiple?u.multiple=!0:i.size&&(u.size=i.size);break;default:u=typeof i.is=="string"?d.createElement(o,{is:i.is}):d.createElement(o)}}u[ie]=t,u[fe]=i;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)u.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=u;e:switch(At(u,o,i),o){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Fn(t)}}return Xe(t),uc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Fn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(s(166));if(e=ee.current,Ir(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,o=St,o!==null)switch(o.tag){case 27:case 5:i=o.memoizedProps}e[ie]=t,e=!!(e.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||Qh(e.nodeValue,n)),e||fa(t,!0)}else e=jo(e).createTextNode(i),e[ie]=t,t.stateNode=e}return Xe(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(i=Ir(t),n!==null){if(e===null){if(!i)throw Error(s(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[ie]=t}else Ka(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Xe(t),e=!1}else n=bu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Gt(t),t):(Gt(t),null);if((t.flags&128)!==0)throw Error(s(558))}return Xe(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Ir(t),i!==null&&i.dehydrated!==null){if(e===null){if(!o)throw Error(s(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(s(317));o[ie]=t}else Ka(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Xe(t),o=!1}else o=bu(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Gt(t),t):(Gt(t),null)}return Gt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=i!==null,e=e!==null&&e.memoizedState!==null,n&&(i=t.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),u=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),u!==o&&(i.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Ao(t,t.updateQueue),Xe(t),null);case 4:return Ye(),e===null&&xc(t.stateNode.containerInfo),Xe(t),null;case 10:return In(t.type),Xe(t),null;case 19:if(x(it),i=t.memoizedState,i===null)return Xe(t),null;if(o=(t.flags&128)!==0,u=i.rendering,u===null)if(o)Ki(i,!1);else{if(nt!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=co(e),u!==null){for(t.flags|=128,Ki(i,!1),e=u.updateQueue,t.updateQueue=e,Ao(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Mp(n,e),n=n.sibling;return B(it,it.current&1|2),De&&Bn(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&wt()>Ro&&(t.flags|=128,o=!0,Ki(i,!1),t.lanes=4194304)}else{if(!o)if(e=co(u),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,Ao(t,e),Ki(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!De)return Xe(t),null}else 2*wt()-i.renderingStartTime>Ro&&n!==536870912&&(t.flags|=128,o=!0,Ki(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(e=i.last,e!==null?e.sibling=u:t.child=u,i.last=u)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=wt(),e.sibling=null,n=it.current,B(it,o?n&1|2:n&1),De&&Bn(t,i.treeForkCount),e):(Xe(t),null);case 22:case 23:return Gt(t),ku(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(n&536870912)!==0&&(t.flags&128)===0&&(Xe(t),t.subtreeFlags&6&&(t.flags|=8192)):Xe(t),n=t.updateQueue,n!==null&&Ao(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),e!==null&&x(tr),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),In(ot),Xe(t),null;case 25:return null;case 30:return null}throw Error(s(156,t.tag))}function k_(e,t){switch(gu(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return In(ot),Ye(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return re(t),null;case 31:if(t.memoizedState!==null){if(Gt(t),t.alternate===null)throw Error(s(340));Ka()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Gt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Ka()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return x(it),null;case 4:return Ye(),null;case 10:return In(t.type),null;case 22:case 23:return Gt(t),ku(),e!==null&&x(tr),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return In(ot),null;case 25:return null;default:return null}}function Jm(e,t){switch(gu(t),t.tag){case 3:In(ot),Ye();break;case 26:case 27:case 5:re(t);break;case 4:Ye();break;case 31:t.memoizedState!==null&&Gt(t);break;case 13:Gt(t);break;case 19:x(it);break;case 10:In(t.type);break;case 22:case 23:Gt(t),ku(),e!==null&&x(tr);break;case 24:In(ot)}}function Ji(e,t){try{var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var o=i.next;n=o;do{if((n.tag&e)===e){i=void 0;var u=n.create,d=n.inst;i=u(),d.destroy=i}n=n.next}while(n!==o)}}catch(h){Be(t,t.return,h)}}function va(e,t,n){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var u=o.next;i=u;do{if((i.tag&e)===e){var d=i.inst,h=d.destroy;if(h!==void 0){d.destroy=void 0,o=t;var v=n,w=h;try{w()}catch(k){Be(o,v,k)}}}i=i.next}while(i!==u)}}catch(k){Be(t,t.return,k)}}function eh(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Fp(t,n)}catch(i){Be(e,e.return,i)}}}function th(e,t,n){n.props=lr(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(i){Be(e,t,i)}}function el(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof n=="function"?e.refCleanup=n(i):n.current=i}}catch(o){Be(e,t,o)}}function Cn(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(o){Be(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(o){Be(e,t,o)}else n.current=null}function nh(e){var t=e.type,n=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break e;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(o){Be(e,e.return,o)}}function cc(e,t,n){try{var i=e.stateNode;eS(i,e.type,n,t),i[fe]=t}catch(o){Be(e,e.return,o)}}function ah(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ta(e.type)||e.tag===4}function fc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ah(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&&Ta(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 dc(e,t,n){var i=e.tag;if(i===5||i===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=Hn));else if(i!==4&&(i===27&&Ta(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(dc(e,t,n),e=e.sibling;e!==null;)dc(e,t,n),e=e.sibling}function To(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(i===27&&Ta(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(To(e,t,n),e=e.sibling;e!==null;)To(e,t,n),e=e.sibling}function rh(e){var t=e.stateNode,n=e.memoizedProps;try{for(var i=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);At(t,i,n),t[ie]=e,t[fe]=n}catch(u){Be(e,e.return,u)}}var Vn=!1,ct=!1,pc=!1,ih=typeof WeakSet=="function"?WeakSet:Set,vt=null;function N_(e,t){if(e=e.containerInfo,Lc=Yo,e=gp(e),lu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var o=i.anchorOffset,u=i.focusNode;i=i.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var d=0,h=-1,v=-1,w=0,k=0,H=e,O=null;t:for(;;){for(var D;H!==n||o!==0&&H.nodeType!==3||(h=d+o),H!==u||i!==0&&H.nodeType!==3||(v=d+i),H.nodeType===3&&(d+=H.nodeValue.length),(D=H.firstChild)!==null;)O=H,H=D;for(;;){if(H===e)break t;if(O===n&&++w===o&&(h=d),O===u&&++k===i&&(v=d),(D=H.nextSibling)!==null)break;H=O,O=H.parentNode}H=D}n=h===-1||v===-1?null:{start:h,end:v}}else n=null}n=n||{start:0,end:0}}else n=null;for(Hc={focusedElem:e,selectionRange:n},Yo=!1,vt=t;vt!==null;)if(t=vt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,vt=e;else for(;vt!==null;){switch(t=vt,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)o=e[n],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,n=t,o=u.memoizedProps,u=u.memoizedState,i=n.stateNode;try{var X=lr(n.type,o);e=i.getSnapshotBeforeUpdate(X,u),i.__reactInternalSnapshotBeforeUpdate=e}catch(le){Be(n,n.return,le)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Bc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Bc(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(s(163))}if(e=t.sibling,e!==null){e.return=t.return,vt=e;break}vt=t.return}}function lh(e,t,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:$n(e,n),i&4&&Ji(5,n);break;case 1:if($n(e,n),i&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(d){Be(n,n.return,d)}else{var o=lr(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(d){Be(n,n.return,d)}}i&64&&eh(n),i&512&&el(n,n.return);break;case 3:if($n(e,n),i&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{Fp(e,t)}catch(d){Be(n,n.return,d)}}break;case 27:t===null&&i&4&&rh(n);case 26:case 5:$n(e,n),t===null&&i&4&&nh(n),i&512&&el(n,n.return);break;case 12:$n(e,n);break;case 31:$n(e,n),i&4&&uh(e,n);break;case 13:$n(e,n),i&4&&ch(e,n),i&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=P_.bind(null,n),sS(e,n))));break;case 22:if(i=n.memoizedState!==null||Vn,!i){t=t!==null&&t.memoizedState!==null||ct,o=Vn;var u=ct;Vn=i,(ct=t)&&!u?Qn(e,n,(n.subtreeFlags&8772)!==0):$n(e,n),Vn=o,ct=u}break;case 30:break;default:$n(e,n)}}function oh(e){var t=e.alternate;t!==null&&(e.alternate=null,oh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ar(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 Ke=null,Ht=!1;function Yn(e,t,n){for(n=n.child;n!==null;)sh(e,t,n),n=n.sibling}function sh(e,t,n){if(_t&&typeof _t.onCommitFiberUnmount=="function")try{_t.onCommitFiberUnmount(la,n)}catch{}switch(n.tag){case 26:ct||Cn(n,t),Yn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ct||Cn(n,t);var i=Ke,o=Ht;Ta(n.type)&&(Ke=n.stateNode,Ht=!1),Yn(e,t,n),ul(n.stateNode),Ke=i,Ht=o;break;case 5:ct||Cn(n,t);case 6:if(i=Ke,o=Ht,Ke=null,Yn(e,t,n),Ke=i,Ht=o,Ke!==null)if(Ht)try{(Ke.nodeType===9?Ke.body:Ke.nodeName==="HTML"?Ke.ownerDocument.body:Ke).removeChild(n.stateNode)}catch(u){Be(n,t,u)}else try{Ke.removeChild(n.stateNode)}catch(u){Be(n,t,u)}break;case 18:Ke!==null&&(Ht?(e=Ke,ey(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),oi(e)):ey(Ke,n.stateNode));break;case 4:i=Ke,o=Ht,Ke=n.stateNode.containerInfo,Ht=!0,Yn(e,t,n),Ke=i,Ht=o;break;case 0:case 11:case 14:case 15:va(2,n,t),ct||va(4,n,t),Yn(e,t,n);break;case 1:ct||(Cn(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"&&th(n,t,i)),Yn(e,t,n);break;case 21:Yn(e,t,n);break;case 22:ct=(i=ct)||n.memoizedState!==null,Yn(e,t,n),ct=i;break;default:Yn(e,t,n)}}function uh(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{oi(e)}catch(n){Be(t,t.return,n)}}}function ch(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{oi(e)}catch(n){Be(t,t.return,n)}}function L_(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new ih),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new ih),t;default:throw Error(s(435,e.tag))}}function Mo(e,t){var n=L_(e);t.forEach(function(i){if(!n.has(i)){n.add(i);var o=G_.bind(null,e,i);i.then(o,o)}})}function Ut(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var o=n[i],u=e,d=t,h=d;e:for(;h!==null;){switch(h.tag){case 27:if(Ta(h.type)){Ke=h.stateNode,Ht=!1;break e}break;case 5:Ke=h.stateNode,Ht=!1;break e;case 3:case 4:Ke=h.stateNode.containerInfo,Ht=!0;break e}h=h.return}if(Ke===null)throw Error(s(160));sh(u,d,o),Ke=null,Ht=!1,u=o.alternate,u!==null&&(u.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)fh(t,e),t=t.sibling}var pn=null;function fh(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Ut(t,e),zt(e),i&4&&(va(3,e,e.return),Ji(3,e),va(5,e,e.return));break;case 1:Ut(t,e),zt(e),i&512&&(ct||n===null||Cn(n,n.return)),i&64&&Vn&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?i:n.concat(i))));break;case 26:var o=pn;if(Ut(t,e),zt(e),i&512&&(ct||n===null||Cn(n,n.return)),i&4){var u=n!==null?n.memoizedState:null;if(i=e.memoizedState,n===null)if(i===null)if(e.stateNode===null){e:{i=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(i){case"title":u=o.getElementsByTagName("title")[0],(!u||u[oa]||u[ie]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=o.createElement(i),o.head.insertBefore(u,o.querySelector("head > title"))),At(u,i,n),u[ie]=e,gt(u),i=u;break e;case"link":var d=fy("link","href",o).get(i+(n.href||""));if(d){for(var h=0;h<d.length;h++)if(u=d[h],u.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&u.getAttribute("rel")===(n.rel==null?null:n.rel)&&u.getAttribute("title")===(n.title==null?null:n.title)&&u.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){d.splice(h,1);break t}}u=o.createElement(i),At(u,i,n),o.head.appendChild(u);break;case"meta":if(d=fy("meta","content",o).get(i+(n.content||""))){for(h=0;h<d.length;h++)if(u=d[h],u.getAttribute("content")===(n.content==null?null:""+n.content)&&u.getAttribute("name")===(n.name==null?null:n.name)&&u.getAttribute("property")===(n.property==null?null:n.property)&&u.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&u.getAttribute("charset")===(n.charSet==null?null:n.charSet)){d.splice(h,1);break t}}u=o.createElement(i),At(u,i,n),o.head.appendChild(u);break;default:throw Error(s(468,i))}u[ie]=e,gt(u),i=u}e.stateNode=i}else dy(o,e.type,e.stateNode);else e.stateNode=cy(o,i,e.memoizedProps);else u!==i?(u===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):u.count--,i===null?dy(o,e.type,e.stateNode):cy(o,i,e.memoizedProps)):i===null&&e.stateNode!==null&&cc(e,e.memoizedProps,n.memoizedProps)}break;case 27:Ut(t,e),zt(e),i&512&&(ct||n===null||Cn(n,n.return)),n!==null&&i&4&&cc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Ut(t,e),zt(e),i&512&&(ct||n===null||Cn(n,n.return)),e.flags&32){o=e.stateNode;try{Dr(o,"")}catch(X){Be(e,e.return,X)}}i&4&&e.stateNode!=null&&(o=e.memoizedProps,cc(e,o,n!==null?n.memoizedProps:o)),i&1024&&(pc=!0);break;case 6:if(Ut(t,e),zt(e),i&4){if(e.stateNode===null)throw Error(s(162));i=e.memoizedProps,n=e.stateNode;try{n.nodeValue=i}catch(X){Be(e,e.return,X)}}break;case 3:if(Po=null,o=pn,pn=Io(t.containerInfo),Ut(t,e),pn=o,zt(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{oi(t.containerInfo)}catch(X){Be(e,e.return,X)}pc&&(pc=!1,dh(e));break;case 4:i=pn,pn=Io(e.stateNode.containerInfo),Ut(t,e),zt(e),pn=i;break;case 12:Ut(t,e),zt(e);break;case 31:Ut(t,e),zt(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Mo(e,i)));break;case 13:Ut(t,e),zt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(Oo=wt()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Mo(e,i)));break;case 22:o=e.memoizedState!==null;var v=n!==null&&n.memoizedState!==null,w=Vn,k=ct;if(Vn=w||o,ct=k||v,Ut(t,e),ct=k,Vn=w,zt(e),i&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,o&&(n===null||v||Vn||ct||or(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){v=n=t;try{if(u=v.stateNode,o)d=u.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none";else{h=v.stateNode;var H=v.memoizedProps.style,O=H!=null&&H.hasOwnProperty("display")?H.display:null;h.style.display=O==null||typeof O=="boolean"?"":(""+O).trim()}}catch(X){Be(v,v.return,X)}}}else if(t.tag===6){if(n===null){v=t;try{v.stateNode.nodeValue=o?"":v.memoizedProps}catch(X){Be(v,v.return,X)}}}else if(t.tag===18){if(n===null){v=t;try{var D=v.stateNode;o?ty(D,!0):ty(v.stateNode,!1)}catch(X){Be(v,v.return,X)}}}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}i&4&&(i=e.updateQueue,i!==null&&(n=i.retryQueue,n!==null&&(i.retryQueue=null,Mo(e,n))));break;case 19:Ut(t,e),zt(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Mo(e,i)));break;case 30:break;case 21:break;default:Ut(t,e),zt(e)}}function zt(e){var t=e.flags;if(t&2){try{for(var n,i=e.return;i!==null;){if(ah(i)){n=i;break}i=i.return}if(n==null)throw Error(s(160));switch(n.tag){case 27:var o=n.stateNode,u=fc(e);To(e,u,o);break;case 5:var d=n.stateNode;n.flags&32&&(Dr(d,""),n.flags&=-33);var h=fc(e);To(e,h,d);break;case 3:case 4:var v=n.stateNode.containerInfo,w=fc(e);dc(e,w,v);break;default:throw Error(s(161))}}catch(k){Be(e,e.return,k)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function dh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;dh(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function $n(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)lh(e,t.alternate,t),t=t.sibling}function or(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:va(4,t,t.return),or(t);break;case 1:Cn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&th(t,t.return,n),or(t);break;case 27:ul(t.stateNode);case 26:case 5:Cn(t,t.return),or(t);break;case 22:t.memoizedState===null&&or(t);break;case 30:or(t);break;default:or(t)}e=e.sibling}}function Qn(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,o=e,u=t,d=u.flags;switch(u.tag){case 0:case 11:case 15:Qn(o,u,n),Ji(4,u);break;case 1:if(Qn(o,u,n),i=u,o=i.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(w){Be(i,i.return,w)}if(i=u,o=i.updateQueue,o!==null){var h=i.stateNode;try{var v=o.shared.hiddenCallbacks;if(v!==null)for(o.shared.hiddenCallbacks=null,o=0;o<v.length;o++)Gp(v[o],h)}catch(w){Be(i,i.return,w)}}n&&d&64&&eh(u),el(u,u.return);break;case 27:rh(u);case 26:case 5:Qn(o,u,n),n&&i===null&&d&4&&nh(u),el(u,u.return);break;case 12:Qn(o,u,n);break;case 31:Qn(o,u,n),n&&d&4&&uh(o,u);break;case 13:Qn(o,u,n),n&&d&4&&ch(o,u);break;case 22:u.memoizedState===null&&Qn(o,u,n),el(u,u.return);break;case 30:break;default:Qn(o,u,n)}t=t.sibling}}function mc(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&&Ii(n))}function hc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ii(e))}function mn(e,t,n,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ph(e,t,n,i),t=t.sibling}function ph(e,t,n,i){var o=t.flags;switch(t.tag){case 0:case 11:case 15:mn(e,t,n,i),o&2048&&Ji(9,t);break;case 1:mn(e,t,n,i);break;case 3:mn(e,t,n,i),o&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Ii(e)));break;case 12:if(o&2048){mn(e,t,n,i),e=t.stateNode;try{var u=t.memoizedProps,d=u.id,h=u.onPostCommit;typeof h=="function"&&h(d,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(v){Be(t,t.return,v)}}else mn(e,t,n,i);break;case 31:mn(e,t,n,i);break;case 13:mn(e,t,n,i);break;case 23:break;case 22:u=t.stateNode,d=t.alternate,t.memoizedState!==null?u._visibility&2?mn(e,t,n,i):tl(e,t):u._visibility&2?mn(e,t,n,i):(u._visibility|=2,Xr(e,t,n,i,(t.subtreeFlags&10256)!==0||!1)),o&2048&&mc(d,t);break;case 24:mn(e,t,n,i),o&2048&&hc(t.alternate,t);break;default:mn(e,t,n,i)}}function Xr(e,t,n,i,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,d=t,h=n,v=i,w=d.flags;switch(d.tag){case 0:case 11:case 15:Xr(u,d,h,v,o),Ji(8,d);break;case 23:break;case 22:var k=d.stateNode;d.memoizedState!==null?k._visibility&2?Xr(u,d,h,v,o):tl(u,d):(k._visibility|=2,Xr(u,d,h,v,o)),o&&w&2048&&mc(d.alternate,d);break;case 24:Xr(u,d,h,v,o),o&&w&2048&&hc(d.alternate,d);break;default:Xr(u,d,h,v,o)}t=t.sibling}}function tl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,i=t,o=i.flags;switch(i.tag){case 22:tl(n,i),o&2048&&mc(i.alternate,i);break;case 24:tl(n,i),o&2048&&hc(i.alternate,i);break;default:tl(n,i)}t=t.sibling}}var nl=8192;function Wr(e,t,n){if(e.subtreeFlags&nl)for(e=e.child;e!==null;)mh(e,t,n),e=e.sibling}function mh(e,t,n){switch(e.tag){case 26:Wr(e,t,n),e.flags&nl&&e.memoizedState!==null&&_S(n,pn,e.memoizedState,e.memoizedProps);break;case 5:Wr(e,t,n);break;case 3:case 4:var i=pn;pn=Io(e.stateNode.containerInfo),Wr(e,t,n),pn=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=nl,nl=16777216,Wr(e,t,n),nl=i):Wr(e,t,n));break;default:Wr(e,t,n)}}function hh(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function al(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];vt=i,gh(i,e)}hh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)yh(e),e=e.sibling}function yh(e){switch(e.tag){case 0:case 11:case 15:al(e),e.flags&2048&&va(9,e,e.return);break;case 3:al(e);break;case 12:al(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,wo(e)):al(e);break;default:al(e)}}function wo(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];vt=i,gh(i,e)}hh(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:va(8,t,t.return),wo(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,wo(t));break;default:wo(t)}e=e.sibling}}function gh(e,t){for(;vt!==null;){var n=vt;switch(n.tag){case 0:case 11:case 15:va(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Ii(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,vt=i;else e:for(n=e;vt!==null;){i=vt;var o=i.sibling,u=i.return;if(oh(i),i===n){vt=null;break e}if(o!==null){o.return=u,vt=o;break e}vt=u}}}var H_={getCacheForType:function(e){var t=Et(ot),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Et(ot).controller.signal}},U_=typeof WeakMap=="function"?WeakMap:Map,Ne=0,Ve=null,Ae=null,we=0,ze=0,Ft=null,ba=!1,Kr=!1,yc=!1,Zn=0,nt=0,_a=0,sr=0,gc=0,Vt=0,Jr=0,rl=null,Bt=null,vc=!1,Oo=0,vh=0,Ro=1/0,Do=null,Sa=null,mt=0,Ea=null,ei=null,Xn=0,bc=0,_c=null,bh=null,il=0,Sc=null;function Yt(){return(Ne&2)!==0&&we!==0?we&-we:R.T!==null?wc():Z()}function _h(){if(Vt===0)if((we&536870912)===0||De){var e=xn;xn<<=1,(xn&3932160)===0&&(xn=262144),Vt=e}else Vt=536870912;return e=Pt.current,e!==null&&(e.flags|=32),Vt}function jt(e,t,n){(e===Ve&&(ze===2||ze===9)||e.cancelPendingCommit!==null)&&(ti(e,0),Ca(e,we,Vt,!1)),Nn(e,n),((Ne&2)===0||e!==Ve)&&(e===Ve&&((Ne&2)===0&&(sr|=n),nt===4&&Ca(e,we,Vt,!1)),An(e))}function Sh(e,t,n){if((Ne&6)!==0)throw Error(s(327));var i=!n&&(t&127)===0&&(t&e.expiredLanes)===0||kn(e,t),o=i?j_(e,t):Cc(e,t,!0),u=i;do{if(o===0){Kr&&!i&&Ca(e,t,0,!1);break}else{if(n=e.current.alternate,u&&!z_(n)){o=Cc(e,t,!1),u=!1;continue}if(o===2){if(u=t,e.errorRecoveryDisabledLanes&u)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{var h=e;o=rl;var v=h.current.memoizedState.isDehydrated;if(v&&(ti(h,d).flags|=256),d=Cc(h,d,!1),d!==2){if(yc&&!v){h.errorRecoveryDisabledLanes|=u,sr|=u,o=4;break e}u=Bt,Bt=o,u!==null&&(Bt===null?Bt=u:Bt.push.apply(Bt,u))}o=d}if(u=!1,o!==2)continue}}if(o===1){ti(e,0),Ca(e,t,0,!0);break}e:{switch(i=e,u=o,u){case 0:case 1:throw Error(s(345));case 4:if((t&4194048)!==t)break;case 6:Ca(i,t,Vt,!ba);break e;case 2:Bt=null;break;case 3:case 5:break;default:throw Error(s(329))}if((t&62914560)===t&&(o=Oo+300-wt(),10<o)){if(Ca(i,t,Vt,!ba),Va(i,0,!0)!==0)break e;Xn=t,i.timeoutHandle=Kh(Eh.bind(null,i,n,Bt,Do,vc,t,Vt,sr,Jr,ba,u,"Throttled",-0,0),o);break e}Eh(i,n,Bt,Do,vc,t,Vt,sr,Jr,ba,u,null,-0,0)}}break}while(!0);An(e)}function Eh(e,t,n,i,o,u,d,h,v,w,k,H,O,D){if(e.timeoutHandle=-1,H=t.subtreeFlags,H&8192||(H&16785408)===16785408){H={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Hn},mh(t,u,H);var X=(u&62914560)===u?Oo-wt():(u&4194048)===u?vh-wt():0;if(X=SS(H,X),X!==null){Xn=u,e.cancelPendingCommit=X(Dh.bind(null,e,t,u,n,i,o,d,h,v,k,H,null,O,D)),Ca(e,u,d,!w);return}}Dh(e,t,u,n,i,o,d,h,v)}function z_(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 i=0;i<n.length;i++){var o=n[i],u=o.getSnapshot;o=o.value;try{if(!It(u(),o))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 Ca(e,t,n,i){t&=~gc,t&=~sr,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var u=31-Dt(o),d=1<<u;i[u]=-1,o&=~d}n!==0&&_n(e,n,t)}function xo(){return(Ne&6)===0?(ll(0),!1):!0}function Ec(){if(Ae!==null){if(ze===0)var e=Ae.return;else e=Ae,jn=Ja=null,Bu(e),Vr=null,Pi=0,e=Ae;for(;e!==null;)Jm(e.alternate,e),e=e.return;Ae=null}}function ti(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,aS(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Xn=0,Ec(),Ve=e,Ae=n=zn(e.current,null),we=t,ze=0,Ft=null,ba=!1,Kr=kn(e,t),yc=!1,Jr=Vt=gc=sr=_a=nt=0,Bt=rl=null,vc=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var o=31-Dt(i),u=1<<o;t|=e[o],i&=~u}return Zn=t,Wl(),n}function Ch(e,t){ve=null,R.H=Xi,t===Fr||t===io?(t=jp(),ze=3):t===Mu?(t=jp(),ze=4):ze=t===ec?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Ft=t,Ae===null&&(nt=1,_o(e,Jt(t,e.current)))}function Ah(){var e=Pt.current;return e===null?!0:(we&4194048)===we?an===null:(we&62914560)===we||(we&536870912)!==0?e===an:!1}function Th(){var e=R.H;return R.H=Xi,e===null?Xi:e}function Mh(){var e=R.A;return R.A=H_,e}function ko(){nt=4,ba||(we&4194048)!==we&&Pt.current!==null||(Kr=!0),(_a&134217727)===0&&(sr&134217727)===0||Ve===null||Ca(Ve,we,Vt,!1)}function Cc(e,t,n){var i=Ne;Ne|=2;var o=Th(),u=Mh();(Ve!==e||we!==t)&&(Do=null,ti(e,t)),t=!1;var d=nt;e:do try{if(ze!==0&&Ae!==null){var h=Ae,v=Ft;switch(ze){case 8:Ec(),d=6;break e;case 3:case 2:case 9:case 6:Pt.current===null&&(t=!0);var w=ze;if(ze=0,Ft=null,ni(e,h,v,w),n&&Kr){d=0;break e}break;default:w=ze,ze=0,Ft=null,ni(e,h,v,w)}}B_(),d=nt;break}catch(k){Ch(e,k)}while(!0);return t&&e.shellSuspendCounter++,jn=Ja=null,Ne=i,R.H=o,R.A=u,Ae===null&&(Ve=null,we=0,Wl()),d}function B_(){for(;Ae!==null;)wh(Ae)}function j_(e,t){var n=Ne;Ne|=2;var i=Th(),o=Mh();Ve!==e||we!==t?(Do=null,Ro=wt()+500,ti(e,t)):Kr=kn(e,t);e:do try{if(ze!==0&&Ae!==null){t=Ae;var u=Ft;t:switch(ze){case 1:ze=0,Ft=null,ni(e,t,u,1);break;case 2:case 9:if(zp(u)){ze=0,Ft=null,Oh(t);break}t=function(){ze!==2&&ze!==9||Ve!==e||(ze=7),An(e)},u.then(t,t);break e;case 3:ze=7;break e;case 4:ze=5;break e;case 7:zp(u)?(ze=0,Ft=null,Oh(t)):(ze=0,Ft=null,ni(e,t,u,7));break;case 5:var d=null;switch(Ae.tag){case 26:d=Ae.memoizedState;case 5:case 27:var h=Ae;if(d?py(d):h.stateNode.complete){ze=0,Ft=null;var v=h.sibling;if(v!==null)Ae=v;else{var w=h.return;w!==null?(Ae=w,No(w)):Ae=null}break t}}ze=0,Ft=null,ni(e,t,u,5);break;case 6:ze=0,Ft=null,ni(e,t,u,6);break;case 8:Ec(),nt=6;break e;default:throw Error(s(462))}}I_();break}catch(k){Ch(e,k)}while(!0);return jn=Ja=null,R.H=i,R.A=o,Ne=n,Ae!==null?0:(Ve=null,we=0,Wl(),nt)}function I_(){for(;Ae!==null&&!Ga();)wh(Ae)}function wh(e){var t=Wm(e.alternate,e,Zn);e.memoizedProps=e.pendingProps,t===null?No(e):Ae=t}function Oh(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Vm(n,t,t.pendingProps,t.type,void 0,we);break;case 11:t=Vm(n,t,t.pendingProps,t.type.render,t.ref,we);break;case 5:Bu(t);default:Jm(n,t),t=Ae=Mp(t,Zn),t=Wm(n,t,Zn)}e.memoizedProps=e.pendingProps,t===null?No(e):Ae=t}function ni(e,t,n,i){jn=Ja=null,Bu(t),Vr=null,Pi=0;var o=t.return;try{if(O_(e,o,t,n,we)){nt=1,_o(e,Jt(n,e.current)),Ae=null;return}}catch(u){if(o!==null)throw Ae=o,u;nt=1,_o(e,Jt(n,e.current)),Ae=null;return}t.flags&32768?(De||i===1?e=!0:Kr||(we&536870912)!==0?e=!1:(ba=e=!0,(i===2||i===9||i===3||i===6)&&(i=Pt.current,i!==null&&i.tag===13&&(i.flags|=16384))),Rh(t,e)):No(t)}function No(e){var t=e;do{if((t.flags&32768)!==0){Rh(t,ba);return}e=t.return;var n=x_(t.alternate,t,Zn);if(n!==null){Ae=n;return}if(t=t.sibling,t!==null){Ae=t;return}Ae=t=e}while(t!==null);nt===0&&(nt=5)}function Rh(e,t){do{var n=k_(e.alternate,e);if(n!==null){n.flags&=32767,Ae=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Ae=e;return}Ae=e=n}while(e!==null);nt=6,Ae=null}function Dh(e,t,n,i,o,u,d,h,v){e.cancelPendingCommit=null;do Lo();while(mt!==0);if((Ne&6)!==0)throw Error(s(327));if(t!==null){if(t===e.current)throw Error(s(177));if(u=t.lanes|t.childLanes,u|=fu,Gs(e,n,u,d,h,v),e===Ve&&(Ae=Ve=null,we=0),ei=t,Ea=e,Xn=n,bc=u,_c=o,bh=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,F_(cn,function(){return Hh(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=R.T,R.T=null,o=G.p,G.p=2,d=Ne,Ne|=4;try{N_(e,t,n)}finally{Ne=d,G.p=o,R.T=i}}mt=1,xh(),kh(),Nh()}}function xh(){if(mt===1){mt=0;var e=Ea,t=ei,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=R.T,R.T=null;var i=G.p;G.p=2;var o=Ne;Ne|=4;try{fh(t,e);var u=Hc,d=gp(e.containerInfo),h=u.focusedElem,v=u.selectionRange;if(d!==h&&h&&h.ownerDocument&&yp(h.ownerDocument.documentElement,h)){if(v!==null&&lu(h)){var w=v.start,k=v.end;if(k===void 0&&(k=w),"selectionStart"in h)h.selectionStart=w,h.selectionEnd=Math.min(k,h.value.length);else{var H=h.ownerDocument||document,O=H&&H.defaultView||window;if(O.getSelection){var D=O.getSelection(),X=h.textContent.length,le=Math.min(v.start,X),Ge=v.end===void 0?le:Math.min(v.end,X);!D.extend&&le>Ge&&(d=Ge,Ge=le,le=d);var C=hp(h,le),_=hp(h,Ge);if(C&&_&&(D.rangeCount!==1||D.anchorNode!==C.node||D.anchorOffset!==C.offset||D.focusNode!==_.node||D.focusOffset!==_.offset)){var M=H.createRange();M.setStart(C.node,C.offset),D.removeAllRanges(),le>Ge?(D.addRange(M),D.extend(_.node,_.offset)):(M.setEnd(_.node,_.offset),D.addRange(M))}}}}for(H=[],D=h;D=D.parentNode;)D.nodeType===1&&H.push({element:D,left:D.scrollLeft,top:D.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<H.length;h++){var N=H[h];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}Yo=!!Lc,Hc=Lc=null}finally{Ne=o,G.p=i,R.T=n}}e.current=t,mt=2}}function kh(){if(mt===2){mt=0;var e=Ea,t=ei,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=R.T,R.T=null;var i=G.p;G.p=2;var o=Ne;Ne|=4;try{lh(e,t.alternate,t)}finally{Ne=o,G.p=i,R.T=n}}mt=3}}function Nh(){if(mt===4||mt===3){mt=0,Rn();var e=Ea,t=ei,n=Xn,i=bh;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?mt=5:(mt=0,ei=Ea=null,Lh(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(Sa=null),q(n),t=t.stateNode,_t&&typeof _t.onCommitFiberRoot=="function")try{_t.onCommitFiberRoot(la,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=R.T,o=G.p,G.p=2,R.T=null;try{for(var u=e.onRecoverableError,d=0;d<i.length;d++){var h=i[d];u(h.value,{componentStack:h.stack})}}finally{R.T=t,G.p=o}}(Xn&3)!==0&&Lo(),An(e),o=e.pendingLanes,(n&261930)!==0&&(o&42)!==0?e===Sc?il++:(il=0,Sc=e):il=0,ll(0)}}function Lh(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Ii(t)))}function Lo(){return xh(),kh(),Nh(),Hh()}function Hh(){if(mt!==5)return!1;var e=Ea,t=bc;bc=0;var n=q(Xn),i=R.T,o=G.p;try{G.p=32>n?32:n,R.T=null,n=_c,_c=null;var u=Ea,d=Xn;if(mt=0,ei=Ea=null,Xn=0,(Ne&6)!==0)throw Error(s(331));var h=Ne;if(Ne|=4,yh(u.current),ph(u,u.current,d,n),Ne=h,ll(0,!1),_t&&typeof _t.onPostCommitFiberRoot=="function")try{_t.onPostCommitFiberRoot(la,u)}catch{}return!0}finally{G.p=o,R.T=i,Lh(e,t)}}function Uh(e,t,n){t=Jt(n,t),t=Ju(e.stateNode,t,2),e=ha(e,t,2),e!==null&&(Nn(e,2),An(e))}function Be(e,t,n){if(e.tag===3)Uh(e,e,n);else for(;t!==null;){if(t.tag===3){Uh(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Sa===null||!Sa.has(i))){e=Jt(n,e),n=zm(2),i=ha(t,n,2),i!==null&&(Bm(n,i,t,e),Nn(i,2),An(i));break}}t=t.return}}function Ac(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new U_;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(n)||(yc=!0,o.add(n),e=q_.bind(null,e,t,n),t.then(e,e))}function q_(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ve===e&&(we&n)===n&&(nt===4||nt===3&&(we&62914560)===we&&300>wt()-Oo?(Ne&2)===0&&ti(e,0):gc|=n,Jr===we&&(Jr=0)),An(e)}function zh(e,t){t===0&&(t=Mi()),e=Xa(e,t),e!==null&&(Nn(e,t),An(e))}function P_(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),zh(e,n)}function G_(e,t){var n=0;switch(e.tag){case 31:case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(s(314))}i!==null&&i.delete(t),zh(e,n)}function F_(e,t){return ft(e,t)}var Ho=null,ai=null,Tc=!1,Uo=!1,Mc=!1,Aa=0;function An(e){e!==ai&&e.next===null&&(ai===null?Ho=ai=e:ai=ai.next=e),Uo=!0,Tc||(Tc=!0,Y_())}function ll(e,t){if(!Mc&&Uo){Mc=!0;do for(var n=!1,i=Ho;i!==null;){if(e!==0){var o=i.pendingLanes;if(o===0)var u=0;else{var d=i.suspendedLanes,h=i.pingedLanes;u=(1<<31-Dt(42|e)+1)-1,u&=o&~(d&~h),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(n=!0,qh(i,u))}else u=we,u=Va(i,i===Ve?u:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(u&3)===0||kn(i,u)||(n=!0,qh(i,u));i=i.next}while(n);Mc=!1}}function V_(){Bh()}function Bh(){Uo=Tc=!1;var e=0;Aa!==0&&nS()&&(e=Aa);for(var t=wt(),n=null,i=Ho;i!==null;){var o=i.next,u=jh(i,t);u===0?(i.next=null,n===null?Ho=o:n.next=o,o===null&&(ai=n)):(n=i,(e!==0||(u&3)!==0)&&(Uo=!0)),i=o}mt!==0&&mt!==5||ll(e),Aa!==0&&(Aa=0)}function jh(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var d=31-Dt(u),h=1<<d,v=o[d];v===-1?((h&n)===0||(h&i)!==0)&&(o[d]=jl(h,t)):v<=t&&(e.expiredLanes|=h),u&=~h}if(t=Ve,n=we,n=Va(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,n===0||e===t&&(ze===2||ze===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&Ci(i),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||kn(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(i!==null&&Ci(i),q(n)){case 2:case 8:n=Dn;break;case 32:n=cn;break;case 268435456:n=Ai;break;default:n=cn}return i=Ih.bind(null,e),n=ft(n,i),e.callbackPriority=t,e.callbackNode=n,t}return i!==null&&i!==null&&Ci(i),e.callbackPriority=2,e.callbackNode=null,2}function Ih(e,t){if(mt!==0&&mt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Lo()&&e.callbackNode!==n)return null;var i=we;return i=Va(e,e===Ve?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(Sh(e,i,t),jh(e,wt()),e.callbackNode!=null&&e.callbackNode===n?Ih.bind(null,e):null)}function qh(e,t){if(Lo())return null;Sh(e,t,!0)}function Y_(){rS(function(){(Ne&6)!==0?ft(dt,V_):Bh()})}function wc(){if(Aa===0){var e=Pr;e===0&&(e=Er,Er<<=1,(Er&261888)===0&&(Er=256)),Aa=e}return Aa}function Ph(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Gl(""+e)}function Gh(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 $_(e,t,n,i,o){if(t==="submit"&&n&&n.stateNode===o){var u=Ph((o[fe]||null).action),d=i.submitter;d&&(t=(t=d[fe]||null)?Ph(t.formAction):d.getAttribute("formAction"),t!==null&&(u=t,d=null));var h=new $l("action","action",null,i,o);e.push({event:h,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Aa!==0){var v=d?Gh(o,d):new FormData(o);$u(n,{pending:!0,data:v,method:o.method,action:u},null,v)}}else typeof u=="function"&&(h.preventDefault(),v=d?Gh(o,d):new FormData(o),$u(n,{pending:!0,data:v,method:o.method,action:u},u,v))},currentTarget:o}]})}}for(var Oc=0;Oc<cu.length;Oc++){var Rc=cu[Oc],Q_=Rc.toLowerCase(),Z_=Rc[0].toUpperCase()+Rc.slice(1);dn(Q_,"on"+Z_)}dn(_p,"onAnimationEnd"),dn(Sp,"onAnimationIteration"),dn(Ep,"onAnimationStart"),dn("dblclick","onDoubleClick"),dn("focusin","onFocus"),dn("focusout","onBlur"),dn(f_,"onTransitionRun"),dn(d_,"onTransitionStart"),dn(p_,"onTransitionCancel"),dn(Cp,"onTransitionEnd"),Or("onMouseEnter",["mouseout","mouseover"]),Or("onMouseLeave",["mouseout","mouseover"]),Or("onPointerEnter",["pointerout","pointerover"]),Or("onPointerLeave",["pointerout","pointerover"]),Ya("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ya("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ya("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ya("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ya("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ya("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ol="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(" "),X_=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ol));function Fh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],o=i.event;i=i.listeners;e:{var u=void 0;if(t)for(var d=i.length-1;0<=d;d--){var h=i[d],v=h.instance,w=h.currentTarget;if(h=h.listener,v!==u&&o.isPropagationStopped())break e;u=h,o.currentTarget=w;try{u(o)}catch(k){Xl(k)}o.currentTarget=null,u=v}else for(d=0;d<i.length;d++){if(h=i[d],v=h.instance,w=h.currentTarget,h=h.listener,v!==u&&o.isPropagationStopped())break e;u=h,o.currentTarget=w;try{u(o)}catch(k){Xl(k)}o.currentTarget=null,u=v}}}}function Te(e,t){var n=t[pt];n===void 0&&(n=t[pt]=new Set);var i=e+"__bubble";n.has(i)||(Vh(t,e,2,!1),n.add(i))}function Dc(e,t,n){var i=0;t&&(i|=4),Vh(n,e,i,t)}var zo="_reactListening"+Math.random().toString(36).slice(2);function xc(e){if(!e[zo]){e[zo]=!0,Bd.forEach(function(n){n!=="selectionchange"&&(X_.has(n)||Dc(n,!1,e),Dc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[zo]||(t[zo]=!0,Dc("selectionchange",!1,t))}}function Vh(e,t,n,i){switch(_y(t)){case 2:var o=AS;break;case 8:o=TS;break;default:o=Yc}n=o.bind(null,t,n,e),o=void 0,!Ws||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function kc(e,t,n,i,o){var u=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var h=i.stateNode.containerInfo;if(h===o)break;if(d===4)for(d=i.return;d!==null;){var v=d.tag;if((v===3||v===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;h!==null;){if(d=Tr(h),d===null)return;if(v=d.tag,v===5||v===6||v===26||v===27){i=u=d;continue e}h=h.parentNode}}i=i.return}Xd(function(){var w=u,k=Zs(n),H=[];e:{var O=Ap.get(e);if(O!==void 0){var D=$l,X=e;switch(e){case"keypress":if(Vl(n)===0)break e;case"keydown":case"keyup":D=Gb;break;case"focusin":X="focus",D=tu;break;case"focusout":X="blur",D=tu;break;case"beforeblur":case"afterblur":D=tu;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":D=Jd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":D=xb;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":D=Yb;break;case _p:case Sp:case Ep:D=Lb;break;case Cp:D=Qb;break;case"scroll":case"scrollend":D=Rb;break;case"wheel":D=Xb;break;case"copy":case"cut":case"paste":D=Ub;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":D=tp;break;case"toggle":case"beforetoggle":D=Kb}var le=(t&4)!==0,Ge=!le&&(e==="scroll"||e==="scrollend"),C=le?O!==null?O+"Capture":null:O;le=[];for(var _=w,M;_!==null;){var N=_;if(M=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||M===null||C===null||(N=Ri(_,C),N!=null&&le.push(sl(_,N,M))),Ge)break;_=_.return}0<le.length&&(O=new D(O,X,null,n,k),H.push({event:O,listeners:le}))}}if((t&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",D=e==="mouseout"||e==="pointerout",O&&n!==Qs&&(X=n.relatedTarget||n.fromElement)&&(Tr(X)||X[$e]))break e;if((D||O)&&(O=k.window===k?k:(O=k.ownerDocument)?O.defaultView||O.parentWindow:window,D?(X=n.relatedTarget||n.toElement,D=w,X=X?Tr(X):null,X!==null&&(Ge=f(X),le=X.tag,X!==Ge||le!==5&&le!==27&&le!==6)&&(X=null)):(D=null,X=w),D!==X)){if(le=Jd,N="onMouseLeave",C="onMouseEnter",_="mouse",(e==="pointerout"||e==="pointerover")&&(le=tp,N="onPointerLeave",C="onPointerEnter",_="pointer"),Ge=D==null?O:Oi(D),M=X==null?O:Oi(X),O=new le(N,_+"leave",D,n,k),O.target=Ge,O.relatedTarget=M,N=null,Tr(k)===w&&(le=new le(C,_+"enter",X,n,k),le.target=M,le.relatedTarget=Ge,N=le),Ge=N,D&&X)t:{for(le=W_,C=D,_=X,M=0,N=C;N;N=le(N))M++;N=0;for(var te=_;te;te=le(te))N++;for(;0<M-N;)C=le(C),M--;for(;0<N-M;)_=le(_),N--;for(;M--;){if(C===_||_!==null&&C===_.alternate){le=C;break t}C=le(C),_=le(_)}le=null}else le=null;D!==null&&Yh(H,O,D,le,!1),X!==null&&Ge!==null&&Yh(H,Ge,X,le,!0)}}e:{if(O=w?Oi(w):window,D=O.nodeName&&O.nodeName.toLowerCase(),D==="select"||D==="input"&&O.type==="file")var xe=up;else if(op(O))if(cp)xe=s_;else{xe=l_;var W=i_}else D=O.nodeName,!D||D.toLowerCase()!=="input"||O.type!=="checkbox"&&O.type!=="radio"?w&&$s(w.elementType)&&(xe=up):xe=o_;if(xe&&(xe=xe(e,w))){sp(H,xe,n,k);break e}W&&W(e,O,w),e==="focusout"&&w&&O.type==="number"&&w.memoizedProps.value!=null&&Ys(O,"number",O.value)}switch(W=w?Oi(w):window,e){case"focusin":(op(W)||W.contentEditable==="true")&&(Lr=W,ou=w,zi=null);break;case"focusout":zi=ou=Lr=null;break;case"mousedown":su=!0;break;case"contextmenu":case"mouseup":case"dragend":su=!1,vp(H,n,k);break;case"selectionchange":if(c_)break;case"keydown":case"keyup":vp(H,n,k)}var be;if(au)e:{switch(e){case"compositionstart":var Oe="onCompositionStart";break e;case"compositionend":Oe="onCompositionEnd";break e;case"compositionupdate":Oe="onCompositionUpdate";break e}Oe=void 0}else Nr?ip(e,n)&&(Oe="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Oe="onCompositionStart");Oe&&(np&&n.locale!=="ko"&&(Nr||Oe!=="onCompositionStart"?Oe==="onCompositionEnd"&&Nr&&(be=Wd()):(sa=k,Ks="value"in sa?sa.value:sa.textContent,Nr=!0)),W=Bo(w,Oe),0<W.length&&(Oe=new ep(Oe,e,null,n,k),H.push({event:Oe,listeners:W}),be?Oe.data=be:(be=lp(n),be!==null&&(Oe.data=be)))),(be=e_?t_(e,n):n_(e,n))&&(Oe=Bo(w,"onBeforeInput"),0<Oe.length&&(W=new ep("onBeforeInput","beforeinput",null,n,k),H.push({event:W,listeners:Oe}),W.data=be)),$_(H,e,w,n,k)}Fh(H,t)})}function sl(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Bo(e,t){for(var n=t+"Capture",i=[];e!==null;){var o=e,u=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||u===null||(o=Ri(e,n),o!=null&&i.unshift(sl(e,o,u)),o=Ri(e,t),o!=null&&i.push(sl(e,o,u))),e.tag===3)return i;e=e.return}return[]}function W_(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Yh(e,t,n,i,o){for(var u=t._reactName,d=[];n!==null&&n!==i;){var h=n,v=h.alternate,w=h.stateNode;if(h=h.tag,v!==null&&v===i)break;h!==5&&h!==26&&h!==27||w===null||(v=w,o?(w=Ri(n,u),w!=null&&d.unshift(sl(n,w,v))):o||(w=Ri(n,u),w!=null&&d.push(sl(n,w,v)))),n=n.return}d.length!==0&&e.push({event:t,listeners:d})}var K_=/\r\n?/g,J_=/\u0000|\uFFFD/g;function $h(e){return(typeof e=="string"?e:""+e).replace(K_,`
|
|
50
|
+
`).replace(J_,"")}function Qh(e,t){return t=$h(t),$h(e)===t}function Pe(e,t,n,i,o,u){switch(n){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||Dr(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&Dr(e,""+i);break;case"className":ql(e,"class",i);break;case"tabIndex":ql(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":ql(e,n,i);break;case"style":Qd(e,i,u);break;case"data":if(t!=="object"){ql(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Gl(""+i),e.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="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 u=="function"&&(n==="formAction"?(t!=="input"&&Pe(e,t,"name",o.name,o,null),Pe(e,t,"formEncType",o.formEncType,o,null),Pe(e,t,"formMethod",o.formMethod,o,null),Pe(e,t,"formTarget",o.formTarget,o,null)):(Pe(e,t,"encType",o.encType,o,null),Pe(e,t,"method",o.method,o,null),Pe(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Gl(""+i),e.setAttribute(n,i);break;case"onClick":i!=null&&(e.onclick=Hn);break;case"onScroll":i!=null&&Te("scroll",e);break;case"onScrollEnd":i!=null&&Te("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(s(61));if(n=i.__html,n!=null){if(o.children!=null)throw Error(s(60));e.innerHTML=n}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}n=Gl(""+i),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":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""+i):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":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":i===!0?e.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,i):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(n,i):e.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(n):e.setAttribute(n,i);break;case"popover":Te("beforetoggle",e),Te("toggle",e),Il(e,"popover",i);break;case"xlinkActuate":Ln(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Ln(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Ln(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Ln(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Ln(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Ln(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Ln(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Ln(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Ln(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Il(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=wb.get(n)||n,Il(e,n,i))}}function Nc(e,t,n,i,o,u){switch(n){case"style":Qd(e,i,u);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(s(61));if(n=i.__html,n!=null){if(o.children!=null)throw Error(s(60));e.innerHTML=n}}break;case"children":typeof i=="string"?Dr(e,i):(typeof i=="number"||typeof i=="bigint")&&Dr(e,""+i);break;case"onScroll":i!=null&&Te("scroll",e);break;case"onScrollEnd":i!=null&&Te("scrollend",e);break;case"onClick":i!=null&&(e.onclick=Hn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!jd.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),u=e[fe]||null,u=u!=null?u[n]:null,typeof u=="function"&&e.removeEventListener(t,u,o),typeof i=="function")){typeof u!="function"&&u!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,i,o);break e}n in e?e[n]=i:i===!0?e.setAttribute(n,""):Il(e,n,i)}}}function At(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Te("error",e),Te("load",e);var i=!1,o=!1,u;for(u in n)if(n.hasOwnProperty(u)){var d=n[u];if(d!=null)switch(u){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Pe(e,t,u,d,n,null)}}o&&Pe(e,t,"srcSet",n.srcSet,n,null),i&&Pe(e,t,"src",n.src,n,null);return;case"input":Te("invalid",e);var h=u=d=o=null,v=null,w=null;for(i in n)if(n.hasOwnProperty(i)){var k=n[i];if(k!=null)switch(i){case"name":o=k;break;case"type":d=k;break;case"checked":v=k;break;case"defaultChecked":w=k;break;case"value":u=k;break;case"defaultValue":h=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(s(137,t));break;default:Pe(e,t,i,k,n,null)}}Fd(e,u,h,v,w,d,o,!1);return;case"select":Te("invalid",e),i=d=u=null;for(o in n)if(n.hasOwnProperty(o)&&(h=n[o],h!=null))switch(o){case"value":u=h;break;case"defaultValue":d=h;break;case"multiple":i=h;default:Pe(e,t,o,h,n,null)}t=u,n=d,e.multiple=!!i,t!=null?Rr(e,!!i,t,!1):n!=null&&Rr(e,!!i,n,!0);return;case"textarea":Te("invalid",e),u=o=i=null;for(d in n)if(n.hasOwnProperty(d)&&(h=n[d],h!=null))switch(d){case"value":i=h;break;case"defaultValue":o=h;break;case"children":u=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(s(91));break;default:Pe(e,t,d,h,n,null)}Yd(e,i,o,u);return;case"option":for(v in n)if(n.hasOwnProperty(v)&&(i=n[v],i!=null))switch(v){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:Pe(e,t,v,i,n,null)}return;case"dialog":Te("beforetoggle",e),Te("toggle",e),Te("cancel",e),Te("close",e);break;case"iframe":case"object":Te("load",e);break;case"video":case"audio":for(i=0;i<ol.length;i++)Te(ol[i],e);break;case"image":Te("error",e),Te("load",e);break;case"details":Te("toggle",e);break;case"embed":case"source":case"link":Te("error",e),Te("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(w in n)if(n.hasOwnProperty(w)&&(i=n[w],i!=null))switch(w){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,t));default:Pe(e,t,w,i,n,null)}return;default:if($s(t)){for(k in n)n.hasOwnProperty(k)&&(i=n[k],i!==void 0&&Nc(e,t,k,i,n,void 0));return}}for(h in n)n.hasOwnProperty(h)&&(i=n[h],i!=null&&Pe(e,t,h,i,n,null))}function eS(e,t,n,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,u=null,d=null,h=null,v=null,w=null,k=null;for(D in n){var H=n[D];if(n.hasOwnProperty(D)&&H!=null)switch(D){case"checked":break;case"value":break;case"defaultValue":v=H;default:i.hasOwnProperty(D)||Pe(e,t,D,null,i,H)}}for(var O in i){var D=i[O];if(H=n[O],i.hasOwnProperty(O)&&(D!=null||H!=null))switch(O){case"type":u=D;break;case"name":o=D;break;case"checked":w=D;break;case"defaultChecked":k=D;break;case"value":d=D;break;case"defaultValue":h=D;break;case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(s(137,t));break;default:D!==H&&Pe(e,t,O,D,i,H)}}Vs(e,d,h,v,w,k,u,o);return;case"select":D=d=h=O=null;for(u in n)if(v=n[u],n.hasOwnProperty(u)&&v!=null)switch(u){case"value":break;case"multiple":D=v;default:i.hasOwnProperty(u)||Pe(e,t,u,null,i,v)}for(o in i)if(u=i[o],v=n[o],i.hasOwnProperty(o)&&(u!=null||v!=null))switch(o){case"value":O=u;break;case"defaultValue":h=u;break;case"multiple":d=u;default:u!==v&&Pe(e,t,o,u,i,v)}t=h,n=d,i=D,O!=null?Rr(e,!!n,O,!1):!!i!=!!n&&(t!=null?Rr(e,!!n,t,!0):Rr(e,!!n,n?[]:"",!1));return;case"textarea":D=O=null;for(h in n)if(o=n[h],n.hasOwnProperty(h)&&o!=null&&!i.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:Pe(e,t,h,null,i,o)}for(d in i)if(o=i[d],u=n[d],i.hasOwnProperty(d)&&(o!=null||u!=null))switch(d){case"value":O=o;break;case"defaultValue":D=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(s(91));break;default:o!==u&&Pe(e,t,d,o,i,u)}Vd(e,O,D);return;case"option":for(var X in n)if(O=n[X],n.hasOwnProperty(X)&&O!=null&&!i.hasOwnProperty(X))switch(X){case"selected":e.selected=!1;break;default:Pe(e,t,X,null,i,O)}for(v in i)if(O=i[v],D=n[v],i.hasOwnProperty(v)&&O!==D&&(O!=null||D!=null))switch(v){case"selected":e.selected=O&&typeof O!="function"&&typeof O!="symbol";break;default:Pe(e,t,v,O,i,D)}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 le in n)O=n[le],n.hasOwnProperty(le)&&O!=null&&!i.hasOwnProperty(le)&&Pe(e,t,le,null,i,O);for(w in i)if(O=i[w],D=n[w],i.hasOwnProperty(w)&&O!==D&&(O!=null||D!=null))switch(w){case"children":case"dangerouslySetInnerHTML":if(O!=null)throw Error(s(137,t));break;default:Pe(e,t,w,O,i,D)}return;default:if($s(t)){for(var Ge in n)O=n[Ge],n.hasOwnProperty(Ge)&&O!==void 0&&!i.hasOwnProperty(Ge)&&Nc(e,t,Ge,void 0,i,O);for(k in i)O=i[k],D=n[k],!i.hasOwnProperty(k)||O===D||O===void 0&&D===void 0||Nc(e,t,k,O,i,D);return}}for(var C in n)O=n[C],n.hasOwnProperty(C)&&O!=null&&!i.hasOwnProperty(C)&&Pe(e,t,C,null,i,O);for(H in i)O=i[H],D=n[H],!i.hasOwnProperty(H)||O===D||O==null&&D==null||Pe(e,t,H,O,i,D)}function Zh(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function tS(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var o=n[i],u=o.transferSize,d=o.initiatorType,h=o.duration;if(u&&h&&Zh(d)){for(d=0,h=o.responseEnd,i+=1;i<n.length;i++){var v=n[i],w=v.startTime;if(w>h)break;var k=v.transferSize,H=v.initiatorType;k&&Zh(H)&&(v=v.responseEnd,d+=k*(v<h?1:(h-w)/(v-w)))}if(--i,t+=8*(u+d)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Lc=null,Hc=null;function jo(e){return e.nodeType===9?e:e.ownerDocument}function Xh(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 Wh(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 Uc(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 zc=null;function nS(){var e=window.event;return e&&e.type==="popstate"?e===zc?!1:(zc=e,!0):(zc=null,!1)}var Kh=typeof setTimeout=="function"?setTimeout:void 0,aS=typeof clearTimeout=="function"?clearTimeout:void 0,Jh=typeof Promise=="function"?Promise:void 0,rS=typeof queueMicrotask=="function"?queueMicrotask:typeof Jh<"u"?function(e){return Jh.resolve(null).then(e).catch(iS)}:Kh;function iS(e){setTimeout(function(){throw e})}function Ta(e){return e==="head"}function ey(e,t){var n=t,i=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"||n==="/&"){if(i===0){e.removeChild(o),oi(t);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")ul(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,ul(n);for(var u=n.firstChild;u;){var d=u.nextSibling,h=u.nodeName;u[oa]||h==="SCRIPT"||h==="STYLE"||h==="LINK"&&u.rel.toLowerCase()==="stylesheet"||n.removeChild(u),u=d}}else n==="body"&&ul(e.ownerDocument.body);n=o}while(n);oi(t)}function ty(e,t){var n=e;e=0;do{var i=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||""),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=i}while(n)}function Bc(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":Bc(n),Ar(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function lS(e,t,n,i){for(;e.nodeType===1;){var o=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[oa])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=rn(e.nextSibling),e===null)break}return null}function oS(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=rn(e.nextSibling),e===null))return null;return e}function ny(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=rn(e.nextSibling),e===null))return null;return e}function jc(e){return e.data==="$?"||e.data==="$~"}function Ic(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function sS(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var i=function(){t(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function rn(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 qc=null;function ay(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return rn(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function ry(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 iy(e,t,n){switch(t=jo(n),e){case"html":if(e=t.documentElement,!e)throw Error(s(452));return e;case"head":if(e=t.head,!e)throw Error(s(453));return e;case"body":if(e=t.body,!e)throw Error(s(454));return e;default:throw Error(s(451))}}function ul(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ar(e)}var ln=new Map,ly=new Set;function Io(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Wn=G.d;G.d={f:uS,r:cS,D:fS,C:dS,L:pS,m:mS,X:yS,S:hS,M:gS};function uS(){var e=Wn.f(),t=xo();return e||t}function cS(e){var t=Mr(e);t!==null&&t.tag===5&&t.type==="form"?Cm(t):Wn.r(e)}var ri=typeof document>"u"?null:document;function oy(e,t,n){var i=ri;if(i&&typeof t=="string"&&t){var o=Wt(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof n=="string"&&(o+='[crossorigin="'+n+'"]'),ly.has(o)||(ly.add(o),e={rel:e,crossOrigin:n,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),At(t,"link",e),gt(t),i.head.appendChild(t)))}}function fS(e){Wn.D(e),oy("dns-prefetch",e,null)}function dS(e,t){Wn.C(e,t),oy("preconnect",e,t)}function pS(e,t,n){Wn.L(e,t,n);var i=ri;if(i&&e&&t){var o='link[rel="preload"][as="'+Wt(t)+'"]';t==="image"&&n&&n.imageSrcSet?(o+='[imagesrcset="'+Wt(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(o+='[imagesizes="'+Wt(n.imageSizes)+'"]')):o+='[href="'+Wt(e)+'"]';var u=o;switch(t){case"style":u=ii(e);break;case"script":u=li(e)}ln.has(u)||(e=S({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),ln.set(u,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(cl(u))||t==="script"&&i.querySelector(fl(u))||(t=i.createElement("link"),At(t,"link",e),gt(t),i.head.appendChild(t)))}}function mS(e,t){Wn.m(e,t);var n=ri;if(n&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Wt(i)+'"][href="'+Wt(e)+'"]',u=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=li(e)}if(!ln.has(u)&&(e=S({rel:"modulepreload",href:e},t),ln.set(u,e),n.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(fl(u)))return}i=n.createElement("link"),At(i,"link",e),gt(i),n.head.appendChild(i)}}}function hS(e,t,n){Wn.S(e,t,n);var i=ri;if(i&&e){var o=wr(i).hoistableStyles,u=ii(e);t=t||"default";var d=o.get(u);if(!d){var h={loading:0,preload:null};if(d=i.querySelector(cl(u)))h.loading=5;else{e=S({rel:"stylesheet",href:e,"data-precedence":t},n),(n=ln.get(u))&&Pc(e,n);var v=d=i.createElement("link");gt(v),At(v,"link",e),v._p=new Promise(function(w,k){v.onload=w,v.onerror=k}),v.addEventListener("load",function(){h.loading|=1}),v.addEventListener("error",function(){h.loading|=2}),h.loading|=4,qo(d,t,i)}d={type:"stylesheet",instance:d,count:1,state:h},o.set(u,d)}}}function yS(e,t){Wn.X(e,t);var n=ri;if(n&&e){var i=wr(n).hoistableScripts,o=li(e),u=i.get(o);u||(u=n.querySelector(fl(o)),u||(e=S({src:e,async:!0},t),(t=ln.get(o))&&Gc(e,t),u=n.createElement("script"),gt(u),At(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(o,u))}}function gS(e,t){Wn.M(e,t);var n=ri;if(n&&e){var i=wr(n).hoistableScripts,o=li(e),u=i.get(o);u||(u=n.querySelector(fl(o)),u||(e=S({src:e,async:!0,type:"module"},t),(t=ln.get(o))&&Gc(e,t),u=n.createElement("script"),gt(u),At(u,"link",e),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},i.set(o,u))}}function sy(e,t,n,i){var o=(o=ee.current)?Io(o):null;if(!o)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=ii(n.href),n=wr(o).hoistableStyles,i=n.get(t),i||(i={type:"style",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ii(n.href);var u=wr(o).hoistableStyles,d=u.get(e);if(d||(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,d),(u=o.querySelector(cl(e)))&&!u._p&&(d.instance=u,d.state.loading=5),ln.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},ln.set(e,n),u||vS(o,e,n,d.state))),t&&i===null)throw Error(s(528,""));return d}if(t&&i!==null)throw Error(s(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=li(n),n=wr(o).hoistableScripts,i=n.get(t),i||(i={type:"script",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function ii(e){return'href="'+Wt(e)+'"'}function cl(e){return'link[rel="stylesheet"]['+e+"]"}function uy(e){return S({},e,{"data-precedence":e.precedence,precedence:null})}function vS(e,t,n,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),At(t,"link",n),gt(t),e.head.appendChild(t))}function li(e){return'[src="'+Wt(e)+'"]'}function fl(e){return"script[async]"+e}function cy(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Wt(n.href)+'"]');if(i)return t.instance=i,gt(i),i;var o=S({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),gt(i),At(i,"style",o),qo(i,n.precedence,e),t.instance=i;case"stylesheet":o=ii(n.href);var u=e.querySelector(cl(o));if(u)return t.state.loading|=4,t.instance=u,gt(u),u;i=uy(n),(o=ln.get(o))&&Pc(i,o),u=(e.ownerDocument||e).createElement("link"),gt(u);var d=u;return d._p=new Promise(function(h,v){d.onload=h,d.onerror=v}),At(u,"link",i),t.state.loading|=4,qo(u,n.precedence,e),t.instance=u;case"script":return u=li(n.src),(o=e.querySelector(fl(u)))?(t.instance=o,gt(o),o):(i=n,(o=ln.get(u))&&(i=S({},n),Gc(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),gt(o),At(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(s(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,qo(i,n.precedence,e));return t.instance}function qo(e,t,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,u=o,d=0;d<i.length;d++){var h=i[d];if(h.dataset.precedence===t)u=h;else if(u!==o)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Pc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Gc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Po=null;function fy(e,t,n){if(Po===null){var i=new Map,o=Po=new Map;o.set(n,i)}else o=Po,i=o.get(n),i||(i=new Map,o.set(n,i));if(i.has(e))return i;for(i.set(e,null),n=n.getElementsByTagName(e),o=0;o<n.length;o++){var u=n[o];if(!(u[oa]||u[ie]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var d=u.getAttribute(t)||"";d=e+d;var h=i.get(d);h?h.push(u):i.set(d,[u])}}return i}function dy(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function bS(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 py(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function _S(e,t,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var o=ii(i.href),u=t.querySelector(cl(o));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Go.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=u,gt(u);return}u=t.ownerDocument||t,i=uy(i),(o=ln.get(o))&&Pc(i,o),u=u.createElement("link"),gt(u);var d=u;d._p=new Promise(function(h,v){d.onload=h,d.onerror=v}),At(u,"link",i),n.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Go.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var Fc=0;function SS(e,t){return e.stylesheets&&e.count===0&&Vo(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var i=setTimeout(function(){if(e.stylesheets&&Vo(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&Fc===0&&(Fc=62500*tS());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Vo(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>Fc?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(o)}}:null}function Go(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Vo(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Fo=null;function Vo(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Fo=new Map,t.forEach(ES,e),Fo=null,Go.call(e))}function ES(e,t){if(!(t.state.loading&4)){var n=Fo.get(e);if(n)var i=n.get(null);else{n=new Map,Fo.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<o.length;u++){var d=o[u];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(n.set(d.dataset.precedence,d),i=d)}i&&n.set(null,i)}o=t.instance,d=o.getAttribute("data-precedence"),u=n.get(d)||i,u===i&&n.set(null,o),n.set(d,o),this.count++,i=Go.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),u?u.parentNode.insertBefore(o,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var dl={$$typeof:ae,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function CS(e,t,n,i,o,u,d,h,v){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=wi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=wi(0),this.hiddenUpdates=wi(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=u,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=v,this.incompleteTransitions=new Map}function my(e,t,n,i,o,u,d,h,v,w,k,H){return e=new CS(e,t,n,d,v,w,k,H,h),t=1,u===!0&&(t|=24),u=qt(3,null,null,t),e.current=u,u.stateNode=e,t=Cu(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:i,isDehydrated:n,cache:t},wu(u),e}function hy(e){return e?(e=zr,e):zr}function yy(e,t,n,i,o,u){o=hy(o),i.context===null?i.context=o:i.pendingContext=o,i=ma(t),i.payload={element:n},u=u===void 0?null:u,u!==null&&(i.callback=u),n=ha(e,i,t),n!==null&&(jt(n,e,t),Fi(n,e,t))}function gy(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Vc(e,t){gy(e,t),(e=e.alternate)&&gy(e,t)}function vy(e){if(e.tag===13||e.tag===31){var t=Xa(e,67108864);t!==null&&jt(t,e,67108864),Vc(e,67108864)}}function by(e){if(e.tag===13||e.tag===31){var t=Yt();t=P(t);var n=Xa(e,t);n!==null&&jt(n,e,t),Vc(e,t)}}var Yo=!0;function AS(e,t,n,i){var o=R.T;R.T=null;var u=G.p;try{G.p=2,Yc(e,t,n,i)}finally{G.p=u,R.T=o}}function TS(e,t,n,i){var o=R.T;R.T=null;var u=G.p;try{G.p=8,Yc(e,t,n,i)}finally{G.p=u,R.T=o}}function Yc(e,t,n,i){if(Yo){var o=$c(i);if(o===null)kc(e,t,i,$o,n),Sy(e,i);else if(wS(o,e,t,n,i))i.stopPropagation();else if(Sy(e,i),t&4&&-1<MS.indexOf(e)){for(;o!==null;){var u=Mr(o);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var d=fn(u.pendingLanes);if(d!==0){var h=u;for(h.pendingLanes|=2,h.entangledLanes|=2;d;){var v=1<<31-Dt(d);h.entanglements[1]|=v,d&=~v}An(u),(Ne&6)===0&&(Ro=wt()+500,ll(0))}}break;case 31:case 13:h=Xa(u,2),h!==null&&jt(h,u,2),xo(),Vc(u,2)}if(u=$c(i),u===null&&kc(e,t,i,$o,n),u===o)break;o=u}o!==null&&i.stopPropagation()}else kc(e,t,i,null,n)}}function $c(e){return e=Zs(e),Qc(e)}var $o=null;function Qc(e){if($o=null,e=Tr(e),e!==null){var t=f(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=p(t),e!==null)return e;e=null}else if(n===31){if(e=m(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 $o=e,null}function _y(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(Hl()){case dt:return 2;case Dn:return 8;case cn:case Ul:return 32;case Ai:return 268435456;default:return 32}default:return 32}}var Zc=!1,Ma=null,wa=null,Oa=null,pl=new Map,ml=new Map,Ra=[],MS="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 Sy(e,t){switch(e){case"focusin":case"focusout":Ma=null;break;case"dragenter":case"dragleave":wa=null;break;case"mouseover":case"mouseout":Oa=null;break;case"pointerover":case"pointerout":pl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ml.delete(t.pointerId)}}function hl(e,t,n,i,o,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:u,targetContainers:[o]},t!==null&&(t=Mr(t),t!==null&&vy(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function wS(e,t,n,i,o){switch(t){case"focusin":return Ma=hl(Ma,e,t,n,i,o),!0;case"dragenter":return wa=hl(wa,e,t,n,i,o),!0;case"mouseover":return Oa=hl(Oa,e,t,n,i,o),!0;case"pointerover":var u=o.pointerId;return pl.set(u,hl(pl.get(u)||null,e,t,n,i,o)),!0;case"gotpointercapture":return u=o.pointerId,ml.set(u,hl(ml.get(u)||null,e,t,n,i,o)),!0}return!1}function Ey(e){var t=Tr(e.target);if(t!==null){var n=f(t);if(n!==null){if(t=n.tag,t===13){if(t=p(n),t!==null){e.blockedOn=t,ce(e.priority,function(){by(n)});return}}else if(t===31){if(t=m(n),t!==null){e.blockedOn=t,ce(e.priority,function(){by(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 Qo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=$c(e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);Qs=i,n.target.dispatchEvent(i),Qs=null}else return t=Mr(n),t!==null&&vy(t),e.blockedOn=n,!1;t.shift()}return!0}function Cy(e,t,n){Qo(e)&&n.delete(t)}function OS(){Zc=!1,Ma!==null&&Qo(Ma)&&(Ma=null),wa!==null&&Qo(wa)&&(wa=null),Oa!==null&&Qo(Oa)&&(Oa=null),pl.forEach(Cy),ml.forEach(Cy)}function Zo(e,t){e.blockedOn===t&&(e.blockedOn=null,Zc||(Zc=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,OS)))}var Xo=null;function Ay(e){Xo!==e&&(Xo=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Xo===e&&(Xo=null);for(var t=0;t<e.length;t+=3){var n=e[t],i=e[t+1],o=e[t+2];if(typeof i!="function"){if(Qc(i||n)===null)continue;break}var u=Mr(n);u!==null&&(e.splice(t,3),t-=3,$u(u,{pending:!0,data:o,method:n.method,action:i},i,o))}}))}function oi(e){function t(v){return Zo(v,e)}Ma!==null&&Zo(Ma,e),wa!==null&&Zo(wa,e),Oa!==null&&Zo(Oa,e),pl.forEach(t),ml.forEach(t);for(var n=0;n<Ra.length;n++){var i=Ra[n];i.blockedOn===e&&(i.blockedOn=null)}for(;0<Ra.length&&(n=Ra[0],n.blockedOn===null);)Ey(n),n.blockedOn===null&&Ra.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var o=n[i],u=n[i+1],d=o[fe]||null;if(typeof u=="function")d||Ay(n);else if(d){var h=null;if(u&&u.hasAttribute("formAction")){if(o=u,d=u[fe]||null)h=d.formAction;else if(Qc(o)!==null)continue}else h=d.action;typeof h=="function"?n[i+1]=h:(n.splice(i,3),i-=3),Ay(n)}}}function Ty(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(d){return o=d})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function Xc(e){this._internalRoot=e}Wo.prototype.render=Xc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));var n=t.current,i=Yt();yy(n,i,e,t,null,null)},Wo.prototype.unmount=Xc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;yy(e.current,2,null,e,null,null),xo(),t[$e]=null}};function Wo(e){this._internalRoot=e}Wo.prototype.unstable_scheduleHydration=function(e){if(e){var t=Z();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ra.length&&t!==0&&t<Ra[n].priority;n++);Ra.splice(n,0,e),n===0&&Ey(e)}};var My=r.version;if(My!=="19.2.7")throw Error(s(527,My,"19.2.7"));G.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=y(t),e=e!==null?E(e):null,e=e===null?null:e.stateNode,e};var RS={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ko=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ko.isDisabled&&Ko.supportsFiber)try{la=Ko.inject(RS),_t=Ko}catch{}}return gl.createRoot=function(e,t){if(!c(e))throw Error(s(299));var n=!1,i="",o=Nm,u=Lm,d=Hm;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError)),t=my(e,1,!1,null,null,n,i,null,o,u,d,Ty),e[$e]=t.current,xc(e),new Xc(t)},gl.hydrateRoot=function(e,t,n){if(!c(e))throw Error(s(299));var i=!1,o="",u=Nm,d=Lm,h=Hm,v=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onUncaughtError!==void 0&&(u=n.onUncaughtError),n.onCaughtError!==void 0&&(d=n.onCaughtError),n.onRecoverableError!==void 0&&(h=n.onRecoverableError),n.formState!==void 0&&(v=n.formState)),t=my(e,1,!0,t,n??null,i,o,v,u,d,h,Ty),t.context=hy(null),n=t.current,i=Yt(),i=P(i),o=ma(i),o.callback=null,ha(n,o,i),n=i,t.current.lanes=n,Nn(t,n),An(t),e[$e]=t.current,xc(e),new Wo(t)},gl.version="19.2.7",gl}var Uy;function GS(){if(Uy)return Jc.exports;Uy=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(r){console.error(r)}}return a(),Jc.exports=PS(),Jc.exports}var FS=GS();const Fe=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Ha="8.55.2",Le=globalThis;function As(a,r,l){const s=l||Le,c=s.__SENTRY__=s.__SENTRY__||{},f=c[Ha]=c[Ha]||{};return f[a]||(f[a]=r())}const yr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,VS="Sentry Logger ",Cf=["debug","info","warn","error","log","assert","trace"],hs={};function gr(a){if(!("console"in Le))return a();const r=Le.console,l={},s=Object.keys(hs);s.forEach(c=>{const f=hs[c];l[c]=r[c],r[c]=f});try{return a()}finally{s.forEach(c=>{r[c]=l[c]})}}function YS(){let a=!1;const r={enable:()=>{a=!0},disable:()=>{a=!1},isEnabled:()=>a};return yr?Cf.forEach(l=>{r[l]=(...s)=>{a&&gr(()=>{Le.console[l](`${VS}[${l}]:`,...s)})}}):Cf.forEach(l=>{r[l]=()=>{}}),r}const oe=As("logger",YS),_0=50,cr="?",zy=/\(error: (.*)\)/,By=/captureMessage|captureException/;function S0(...a){const r=a.sort((l,s)=>l[0]-s[0]).map(l=>l[1]);return(l,s=0,c=0)=>{const f=[],p=l.split(`
|
|
51
|
+
`);for(let m=s;m<p.length;m++){const g=p[m];if(g.length>1024)continue;const y=zy.test(g)?g.replace(zy,"$1"):g;if(!y.match(/\S*Error: /)){for(const E of r){const S=E(y);if(S){f.push(S);break}}if(f.length>=_0+c)break}}return QS(f.slice(c))}}function $S(a){return Array.isArray(a)?S0(...a):a}function QS(a){if(!a.length)return[];const r=Array.from(a);return/sentryWrapped/.test(Jo(r).function||"")&&r.pop(),r.reverse(),By.test(Jo(r).function||"")&&(r.pop(),By.test(Jo(r).function||"")&&r.pop()),r.slice(0,_0).map(l=>({...l,filename:l.filename||Jo(r).filename,function:l.function||cr}))}function Jo(a){return a[a.length-1]||{}}const af="<anonymous>";function ja(a){try{return!a||typeof a!="function"?af:a.name||af}catch{return af}}function jy(a){const r=a.exception;if(r){const l=[];try{return r.values.forEach(s=>{s.stacktrace.frames&&l.push(...s.stacktrace.frames)}),l}catch{return}}}const ss={},Iy={};function vr(a,r){ss[a]=ss[a]||[],ss[a].push(r)}function br(a,r){if(!Iy[a]){Iy[a]=!0;try{r()}catch(l){yr&&oe.error(`Error while instrumenting ${a}`,l)}}}function yn(a,r){const l=a&&ss[a];if(l)for(const s of l)try{s(r)}catch(c){yr&&oe.error(`Error while triggering instrumentation handler.
|
|
52
|
+
Type: ${a}
|
|
53
|
+
Name: ${ja(s)}
|
|
54
|
+
Error:`,c)}}let rf=null;function ZS(a){const r="error";vr(r,a),br(r,XS)}function XS(){rf=Le.onerror,Le.onerror=function(a,r,l,s,c){return yn("error",{column:s,error:c,line:l,msg:a,url:r}),rf?rf.apply(this,arguments):!1},Le.onerror.__SENTRY_INSTRUMENTED__=!0}let lf=null;function WS(a){const r="unhandledrejection";vr(r,a),br(r,KS)}function KS(){lf=Le.onunhandledrejection,Le.onunhandledrejection=function(a){return yn("unhandledrejection",a),lf?lf.apply(this,arguments):!0},Le.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function Ts(){return rd(Le),Le}function rd(a){const r=a.__SENTRY__=a.__SENTRY__||{};return r.version=r.version||Ha,r[Ha]=r[Ha]||{}}const E0=Object.prototype.toString;function Ms(a){switch(E0.call(a)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return fr(a,Error)}}function vi(a,r){return E0.call(a)===`[object ${r}]`}function C0(a){return vi(a,"ErrorEvent")}function qy(a){return vi(a,"DOMError")}function JS(a){return vi(a,"DOMException")}function na(a){return vi(a,"String")}function id(a){return typeof a=="object"&&a!==null&&"__sentry_template_string__"in a&&"__sentry_template_values__"in a}function ld(a){return a===null||id(a)||typeof a!="object"&&typeof a!="function"}function fi(a){return vi(a,"Object")}function ws(a){return typeof Event<"u"&&fr(a,Event)}function eE(a){return typeof Element<"u"&&fr(a,Element)}function tE(a){return vi(a,"RegExp")}function Os(a){return!!(a&&a.then&&typeof a.then=="function")}function nE(a){return fi(a)&&"nativeEvent"in a&&"preventDefault"in a&&"stopPropagation"in a}function fr(a,r){try{return a instanceof r}catch{return!1}}function A0(a){return!!(typeof a=="object"&&a!==null&&(a.__isVue||a._isVue))}const od=Le,aE=80;function T0(a,r={}){if(!a)return"<unknown>";try{let l=a;const s=5,c=[];let f=0,p=0;const m=" > ",g=m.length;let y;const E=Array.isArray(r)?r:r.keyAttrs,S=!Array.isArray(r)&&r.maxStringLength||aE;for(;l&&f++<s&&(y=rE(l,E),!(y==="html"||f>1&&p+c.length*g+y.length>=S));)c.push(y),p+=y.length,l=l.parentNode;return c.reverse().join(m)}catch{return"<unknown>"}}function rE(a,r){const l=a,s=[];if(!l||!l.tagName)return"";if(od.HTMLElement&&l instanceof HTMLElement&&l.dataset){if(l.dataset.sentryComponent)return l.dataset.sentryComponent;if(l.dataset.sentryElement)return l.dataset.sentryElement}s.push(l.tagName.toLowerCase());const c=r&&r.length?r.filter(p=>l.getAttribute(p)).map(p=>[p,l.getAttribute(p)]):null;if(c&&c.length)c.forEach(p=>{s.push(`[${p[0]}="${p[1]}"]`)});else{l.id&&s.push(`#${l.id}`);const p=l.className;if(p&&na(p)){const m=p.split(/\s+/);for(const g of m)s.push(`.${g}`)}}const f=["aria-label","type","name","title","alt"];for(const p of f){const m=l.getAttribute(p);m&&s.push(`[${p}="${m}"]`)}return s.join("")}function iE(){try{return od.document.location.href}catch{return""}}function lE(a){if(!od.HTMLElement)return null;let r=a;const l=5;for(let s=0;s<l;s++){if(!r)return null;if(r instanceof HTMLElement){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}r=r.parentNode}return null}function ui(a,r=0){return typeof a!="string"||r===0||a.length<=r?a:`${a.slice(0,r)}...`}function Py(a,r){if(!Array.isArray(a))return"";const l=[];for(let s=0;s<a.length;s++){const c=a[s];try{A0(c)?l.push("[VueViewModel]"):l.push(String(c))}catch{l.push("[value cannot be serialized]")}}return l.join(r)}function oE(a,r,l=!1){return na(a)?tE(r)?r.test(a):na(r)?l?a===r:a.includes(r):!1:!1}function Rs(a,r=[],l=!1){return r.some(s=>oE(a,s,l))}function $t(a,r,l){if(!(r in a))return;const s=a[r],c=l(s);typeof c=="function"&&M0(c,s);try{a[r]=c}catch{yr&&oe.log(`Failed to replace method "${r}" in object`,a)}}function dr(a,r,l){try{Object.defineProperty(a,r,{value:l,writable:!0,configurable:!0})}catch{yr&&oe.log(`Failed to add non-enumerable property "${r}" to object`,a)}}function M0(a,r){try{const l=r.prototype||{};a.prototype=r.prototype=l,dr(a,"__sentry_original__",r)}catch{}}function sd(a){return a.__sentry_original__}function w0(a){if(Ms(a))return{message:a.message,name:a.name,stack:a.stack,...Fy(a)};if(ws(a)){const r={type:a.type,target:Gy(a.target),currentTarget:Gy(a.currentTarget),...Fy(a)};return typeof CustomEvent<"u"&&fr(a,CustomEvent)&&(r.detail=a.detail),r}else return a}function Gy(a){try{return eE(a)?T0(a):Object.prototype.toString.call(a)}catch{return"<unknown>"}}function Fy(a){if(typeof a=="object"&&a!==null){const r={};for(const l in a)Object.prototype.hasOwnProperty.call(a,l)&&(r[l]=a[l]);return r}else return{}}function sE(a,r=40){const l=Object.keys(w0(a));l.sort();const s=l[0];if(!s)return"[object has no keys]";if(s.length>=r)return ui(s,r);for(let c=l.length;c>0;c--){const f=l.slice(0,c).join(", ");if(!(f.length>r))return c===l.length?f:ui(f,r)}return""}function sn(a){return Af(a,new Map)}function Af(a,r){if(uE(a)){const l=r.get(a);if(l!==void 0)return l;const s={};r.set(a,s);for(const c of Object.getOwnPropertyNames(a))typeof a[c]<"u"&&(s[c]=Af(a[c],r));return s}if(Array.isArray(a)){const l=r.get(a);if(l!==void 0)return l;const s=[];return r.set(a,s),a.forEach(c=>{s.push(Af(c,r))}),s}return a}function uE(a){if(!fi(a))return!1;try{const r=Object.getPrototypeOf(a).constructor.name;return!r||r==="Object"}catch{return!0}}const O0=1e3;function Rl(){return Date.now()/O0}function cE(){const{performance:a}=Le;if(!a||!a.now)return Rl;const r=Date.now()-a.now(),l=a.timeOrigin==null?r:a.timeOrigin;return()=>(l+a.now())/O0}const aa=cE();(()=>{const{performance:a}=Le;if(!a||!a.now)return;const r=3600*1e3,l=a.now(),s=Date.now(),c=a.timeOrigin?Math.abs(a.timeOrigin+l-s):r,f=c<r,p=a.timing&&a.timing.navigationStart,g=typeof p=="number"?Math.abs(p+l-s):r,y=g<r;return f||y?c<=g?a.timeOrigin:p:s})();function un(){const a=Le,r=a.crypto||a.msCrypto;let l=()=>Math.random()*16;try{if(r&&r.randomUUID)return r.randomUUID().replace(/-/g,"");r&&r.getRandomValues&&(l=()=>{const s=new Uint8Array(1);return r.getRandomValues(s),s[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,s=>(s^(l()&15)>>s/4).toString(16))}function R0(a){return a.exception&&a.exception.values?a.exception.values[0]:void 0}function Na(a){const{message:r,event_id:l}=a;if(r)return r;const s=R0(a);return s?s.type&&s.value?`${s.type}: ${s.value}`:s.type||s.value||l||"<unknown>":l||"<unknown>"}function Tf(a,r,l){const s=a.exception=a.exception||{},c=s.values=s.values||[],f=c[0]=c[0]||{};f.value||(f.value=r||""),f.type||(f.type="Error")}function di(a,r){const l=R0(a);if(!l)return;const s={type:"generic",handled:!0},c=l.mechanism;if(l.mechanism={...s,...c,...r},r&&"data"in r){const f={...c&&c.data,...r.data};l.mechanism.data=f}}function Vy(a){if(fE(a))return!0;try{dr(a,"__sentry_captured__",!0)}catch{}return!1}function fE(a){try{return a.__sentry_captured__}catch{}}var ea;(function(a){a[a.PENDING=0]="PENDING";const l=1;a[a.RESOLVED=l]="RESOLVED";const s=2;a[a.REJECTED=s]="REJECTED"})(ea||(ea={}));function pr(a){return new on(r=>{r(a)})}function ys(a){return new on((r,l)=>{l(a)})}class on{constructor(r){on.prototype.__init.call(this),on.prototype.__init2.call(this),on.prototype.__init3.call(this),on.prototype.__init4.call(this),this._state=ea.PENDING,this._handlers=[];try{r(this._resolve,this._reject)}catch(l){this._reject(l)}}then(r,l){return new on((s,c)=>{this._handlers.push([!1,f=>{if(!r)s(f);else try{s(r(f))}catch(p){c(p)}},f=>{if(!l)c(f);else try{s(l(f))}catch(p){c(p)}}]),this._executeHandlers()})}catch(r){return this.then(l=>l,r)}finally(r){return new on((l,s)=>{let c,f;return this.then(p=>{f=!1,c=p,r&&r()},p=>{f=!0,c=p,r&&r()}).then(()=>{if(f){s(c);return}l(c)})})}__init(){this._resolve=r=>{this._setResult(ea.RESOLVED,r)}}__init2(){this._reject=r=>{this._setResult(ea.REJECTED,r)}}__init3(){this._setResult=(r,l)=>{if(this._state===ea.PENDING){if(Os(l)){l.then(this._resolve,this._reject);return}this._state=r,this._value=l,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===ea.PENDING)return;const r=this._handlers.slice();this._handlers=[],r.forEach(l=>{l[0]||(this._state===ea.RESOLVED&&l[1](this._value),this._state===ea.REJECTED&&l[2](this._value),l[0]=!0)})}}}function dE(a){const r=aa(),l={sid:un(),init:!0,timestamp:r,started:r,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>mE(l)};return a&&pi(l,a),l}function pi(a,r={}){if(r.user&&(!a.ipAddress&&r.user.ip_address&&(a.ipAddress=r.user.ip_address),!a.did&&!r.did&&(a.did=r.user.id||r.user.email||r.user.username)),a.timestamp=r.timestamp||aa(),r.abnormal_mechanism&&(a.abnormal_mechanism=r.abnormal_mechanism),r.ignoreDuration&&(a.ignoreDuration=r.ignoreDuration),r.sid&&(a.sid=r.sid.length===32?r.sid:un()),r.init!==void 0&&(a.init=r.init),!a.did&&r.did&&(a.did=`${r.did}`),typeof r.started=="number"&&(a.started=r.started),a.ignoreDuration)a.duration=void 0;else if(typeof r.duration=="number")a.duration=r.duration;else{const l=a.timestamp-a.started;a.duration=l>=0?l:0}r.release&&(a.release=r.release),r.environment&&(a.environment=r.environment),!a.ipAddress&&r.ipAddress&&(a.ipAddress=r.ipAddress),!a.userAgent&&r.userAgent&&(a.userAgent=r.userAgent),typeof r.errors=="number"&&(a.errors=r.errors),r.status&&(a.status=r.status)}function pE(a,r){let l={};a.status==="ok"&&(l={status:"exited"}),pi(a,l)}function mE(a){return sn({sid:`${a.sid}`,init:a.init,started:new Date(a.started*1e3).toISOString(),timestamp:new Date(a.timestamp*1e3).toISOString(),status:a.status,errors:a.errors,did:typeof a.did=="number"||typeof a.did=="string"?`${a.did}`:void 0,duration:a.duration,abnormal_mechanism:a.abnormal_mechanism,attrs:{release:a.release,environment:a.environment,ip_address:a.ipAddress,user_agent:a.userAgent}})}function Yy(){return un()}function Mf(){return un().substring(16)}function Ds(a,r,l=2){if(!r||typeof r!="object"||l<=0)return r;if(a&&r&&Object.keys(r).length===0)return a;const s={...a};for(const c in r)Object.prototype.hasOwnProperty.call(r,c)&&(s[c]=Ds(s[c],r[c],l-1));return s}const wf="_sentrySpan";function $y(a,r){r?dr(a,wf,r):delete a[wf]}function Qy(a){return a[wf]}const hE=100;class ud{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:Yy(),spanId:Mf()}}clone(){const r=new ud;return r._breadcrumbs=[...this._breadcrumbs],r._tags={...this._tags},r._extra={...this._extra},r._contexts={...this._contexts},this._contexts.flags&&(r._contexts.flags={values:[...this._contexts.flags.values]}),r._user=this._user,r._level=this._level,r._session=this._session,r._transactionName=this._transactionName,r._fingerprint=this._fingerprint,r._eventProcessors=[...this._eventProcessors],r._requestSession=this._requestSession,r._attachments=[...this._attachments],r._sdkProcessingMetadata={...this._sdkProcessingMetadata},r._propagationContext={...this._propagationContext},r._client=this._client,r._lastEventId=this._lastEventId,$y(r,Qy(this)),r}setClient(r){this._client=r}setLastEventId(r){this._lastEventId=r}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(r){this._scopeListeners.push(r)}addEventProcessor(r){return this._eventProcessors.push(r),this}setUser(r){return this._user=r||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&pi(this._session,{user:r}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(r){return this._requestSession=r,this}setTags(r){return this._tags={...this._tags,...r},this._notifyScopeListeners(),this}setTag(r,l){return this._tags={...this._tags,[r]:l},this._notifyScopeListeners(),this}setExtras(r){return this._extra={...this._extra,...r},this._notifyScopeListeners(),this}setExtra(r,l){return this._extra={...this._extra,[r]:l},this._notifyScopeListeners(),this}setFingerprint(r){return this._fingerprint=r,this._notifyScopeListeners(),this}setLevel(r){return this._level=r,this._notifyScopeListeners(),this}setTransactionName(r){return this._transactionName=r,this._notifyScopeListeners(),this}setContext(r,l){return l===null?delete this._contexts[r]:this._contexts[r]=l,this._notifyScopeListeners(),this}setSession(r){return r?this._session=r:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(r){if(!r)return this;const l=typeof r=="function"?r(this):r,[s,c]=l instanceof Ia?[l.getScopeData(),l.getRequestSession()]:fi(l)?[r,r.requestSession]:[],{tags:f,extra:p,user:m,contexts:g,level:y,fingerprint:E=[],propagationContext:S}=s||{};return this._tags={...this._tags,...f},this._extra={...this._extra,...p},this._contexts={...this._contexts,...g},m&&Object.keys(m).length&&(this._user=m),y&&(this._level=y),E.length&&(this._fingerprint=E),S&&(this._propagationContext=S),c&&(this._requestSession=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,$y(this,void 0),this._attachments=[],this.setPropagationContext({traceId:Yy()}),this._notifyScopeListeners(),this}addBreadcrumb(r,l){const s=typeof l=="number"?l:hE;if(s<=0)return this;const c={timestamp:Rl(),...r};return this._breadcrumbs.push(c),this._breadcrumbs.length>s&&(this._breadcrumbs=this._breadcrumbs.slice(-s),this._client&&this._client.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(r){return this._attachments.push(r),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:Qy(this)}}setSDKProcessingMetadata(r){return this._sdkProcessingMetadata=Ds(this._sdkProcessingMetadata,r,2),this}setPropagationContext(r){return this._propagationContext={spanId:Mf(),...r},this}getPropagationContext(){return this._propagationContext}captureException(r,l){const s=l&&l.event_id?l.event_id:un();if(!this._client)return oe.warn("No client configured on scope - will not capture exception!"),s;const c=new Error("Sentry syntheticException");return this._client.captureException(r,{originalException:r,syntheticException:c,...l,event_id:s},this),s}captureMessage(r,l,s){const c=s&&s.event_id?s.event_id:un();if(!this._client)return oe.warn("No client configured on scope - will not capture message!"),c;const f=new Error(r);return this._client.captureMessage(r,l,{originalException:r,syntheticException:f,...s,event_id:c},this),c}captureEvent(r,l){const s=l&&l.event_id?l.event_id:un();return this._client?(this._client.captureEvent(r,{...l,event_id:s},this),s):(oe.warn("No client configured on scope - will not capture event!"),s)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(r=>{r(this)}),this._notifyingListeners=!1)}}const Ia=ud;function yE(){return As("defaultCurrentScope",()=>new Ia)}function gE(){return As("defaultIsolationScope",()=>new Ia)}class vE{constructor(r,l){let s;r?s=r:s=new Ia;let c;l?c=l:c=new Ia,this._stack=[{scope:s}],this._isolationScope=c}withScope(r){const l=this._pushScope();let s;try{s=r(l)}catch(c){throw this._popScope(),c}return Os(s)?s.then(c=>(this._popScope(),c),c=>{throw this._popScope(),c}):(this._popScope(),s)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const r=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:r}),r}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function mi(){const a=Ts(),r=rd(a);return r.stack=r.stack||new vE(yE(),gE())}function bE(a){return mi().withScope(a)}function _E(a,r){const l=mi();return l.withScope(()=>(l.getStackTop().scope=a,r(a)))}function Zy(a){return mi().withScope(()=>a(mi().getIsolationScope()))}function SE(){return{withIsolationScope:Zy,withScope:bE,withSetScope:_E,withSetIsolationScope:(a,r)=>Zy(r),getCurrentScope:()=>mi().getScope(),getIsolationScope:()=>mi().getIsolationScope()}}function cd(a){const r=rd(a);return r.acs?r.acs:SE()}function gn(){const a=Ts();return cd(a).getCurrentScope()}function Pa(){const a=Ts();return cd(a).getIsolationScope()}function EE(){return As("globalScope",()=>new Ia)}function xs(...a){const r=Ts(),l=cd(r);if(a.length===2){const[s,c]=a;return s?l.withSetScope(s,c):l.withScope(c)}return l.withScope(a[0])}function ht(){return gn().getClient()}function CE(a){const r=a.getPropagationContext(),{traceId:l,spanId:s,parentSpanId:c}=r;return sn({trace_id:l,span_id:s,parent_span_id:c})}const AE="_sentryMetrics";function TE(a){const r=a[AE];if(!r)return;const l={};for(const[,[s,c]]of r)(l[s]||(l[s]=[])).push(sn(c));return l}const ME="sentry.source",wE="sentry.sample_rate",OE="sentry.op",RE="sentry.origin",DE=0,xE=1,kE="sentry-",NE=/^sentry-/;function LE(a){const r=HE(a);if(!r)return;const l=Object.entries(r).reduce((s,[c,f])=>{if(c.match(NE)){const p=c.slice(kE.length);s[p]=f}return s},{});if(Object.keys(l).length>0)return l}function HE(a){if(!(!a||!na(a)&&!Array.isArray(a)))return Array.isArray(a)?a.reduce((r,l)=>{const s=Xy(l);return Object.entries(s).forEach(([c,f])=>{r[c]=f}),r},{}):Xy(a)}function Xy(a){return a.split(",").map(r=>r.split("=").map(l=>decodeURIComponent(l.trim()))).reduce((r,[l,s])=>(l&&s&&(r[l]=s),r),{})}const UE=1;let Wy=!1;function zE(a){const{spanId:r,traceId:l,isRemote:s}=a.spanContext(),c=s?r:fd(a).parent_span_id,f=s?Mf():r;return sn({parent_span_id:c,span_id:f,trace_id:l})}function Ky(a){return typeof a=="number"?Jy(a):Array.isArray(a)?a[0]+a[1]/1e9:a instanceof Date?Jy(a.getTime()):aa()}function Jy(a){return a>9999999999?a/1e3:a}function fd(a){if(jE(a))return a.getSpanJSON();try{const{spanId:r,traceId:l}=a.spanContext();if(BE(a)){const{attributes:s,startTime:c,name:f,endTime:p,parentSpanId:m,status:g}=a;return sn({span_id:r,trace_id:l,data:s,description:f,parent_span_id:m,start_timestamp:Ky(c),timestamp:Ky(p)||void 0,status:qE(g),op:s[OE],origin:s[RE],_metrics_summary:TE(a)})}return{span_id:r,trace_id:l}}catch{return{}}}function BE(a){const r=a;return!!r.attributes&&!!r.startTime&&!!r.name&&!!r.endTime&&!!r.status}function jE(a){return typeof a.getSpanJSON=="function"}function IE(a){const{traceFlags:r}=a.spanContext();return r===UE}function qE(a){if(!(!a||a.code===DE))return a.code===xE?"ok":a.message||"unknown_error"}const PE="_sentryRootSpan";function D0(a){return a[PE]||a}function GE(){Wy||(gr(()=>{console.warn("[Sentry] Deprecation warning: Returning null from `beforeSendSpan` will be disallowed from SDK version 9.0.0 onwards. The callback will only support mutating spans. To drop certain spans, configure the respective integrations directly.")}),Wy=!0)}function FE(a){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const r=ht(),l=r&&r.getOptions();return!!l&&(l.enableTracing||"tracesSampleRate"in l||"tracesSampler"in l)}const dd="production",VE="_frozenDsc";function x0(a,r){const l=r.getOptions(),{publicKey:s}=r.getDsn()||{},c=sn({environment:l.environment||dd,release:l.release,public_key:s,trace_id:a});return r.emit("createDsc",c),c}function YE(a,r){const l=r.getPropagationContext();return l.dsc||x0(l.traceId,a)}function $E(a){const r=ht();if(!r)return{};const l=D0(a),s=l[VE];if(s)return s;const c=l.spanContext().traceState,f=c&&c.get("sentry.dsc"),p=f&&LE(f);if(p)return p;const m=x0(a.spanContext().traceId,r),g=fd(l),y=g.data||{},E=y[wE];E!=null&&(m.sample_rate=`${E}`);const S=y[ME],U=g.description;return S!=="url"&&U&&(m.transaction=U),FE()&&(m.sampled=String(IE(l))),r.emit("createDsc",m,l),m}function QE(a){if(typeof a=="boolean")return Number(a);const r=typeof a=="string"?parseFloat(a):a;if(typeof r!="number"||isNaN(r)||r<0||r>1){Fe&&oe.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(a)} of type ${JSON.stringify(typeof a)}.`);return}return r}const ZE=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function XE(a){return a==="http"||a==="https"}function Dl(a,r=!1){const{host:l,path:s,pass:c,port:f,projectId:p,protocol:m,publicKey:g}=a;return`${m}://${g}${r&&c?`:${c}`:""}@${l}${f?`:${f}`:""}/${s&&`${s}/`}${p}`}function WE(a){const r=ZE.exec(a);if(!r){gr(()=>{console.error(`Invalid Sentry Dsn: ${a}`)});return}const[l,s,c="",f="",p="",m=""]=r.slice(1);let g="",y=m;const E=y.split("/");if(E.length>1&&(g=E.slice(0,-1).join("/"),y=E.pop()),y){const S=y.match(/^\d+/);S&&(y=S[0])}return k0({host:f,pass:c,path:g,projectId:y,port:p,protocol:l,publicKey:s})}function k0(a){return{protocol:a.protocol,publicKey:a.publicKey||"",pass:a.pass||"",host:a.host,port:a.port||"",path:a.path||"",projectId:a.projectId}}function KE(a){if(!yr)return!0;const{port:r,projectId:l,protocol:s}=a;return["protocol","publicKey","host","projectId"].find(p=>a[p]?!1:(oe.error(`Invalid Sentry Dsn: ${p} missing`),!0))?!1:l.match(/^\d+$/)?XE(s)?r&&isNaN(parseInt(r,10))?(oe.error(`Invalid Sentry Dsn: Invalid port ${r}`),!1):!0:(oe.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),!1):(oe.error(`Invalid Sentry Dsn: Invalid projectId ${l}`),!1)}function N0(a){const r=typeof a=="string"?WE(a):k0(a);if(!(!r||!KE(r)))return r}function JE(){const a=typeof WeakSet=="function",r=a?new WeakSet:[];function l(c){if(a)return r.has(c)?!0:(r.add(c),!1);for(let f=0;f<r.length;f++)if(r[f]===c)return!0;return r.push(c),!1}function s(c){if(a)r.delete(c);else for(let f=0;f<r.length;f++)if(r[f]===c){r.splice(f,1);break}}return[l,s]}function ta(a,r=100,l=1/0){try{return Of("",a,r,l)}catch(s){return{ERROR:`**non-serializable** (${s})`}}}function L0(a,r=3,l=100*1024){const s=ta(a,r);return aC(s)>l?L0(a,r-1,l):s}function Of(a,r,l=1/0,s=1/0,c=JE()){const[f,p]=c;if(r==null||["boolean","string"].includes(typeof r)||typeof r=="number"&&Number.isFinite(r))return r;const m=eC(a,r);if(!m.startsWith("[object "))return m;if(r.__sentry_skip_normalization__)return r;const g=typeof r.__sentry_override_normalization_depth__=="number"?r.__sentry_override_normalization_depth__:l;if(g===0)return m.replace("object ","");if(f(r))return"[Circular ~]";const y=r;if(y&&typeof y.toJSON=="function")try{const F=y.toJSON();return Of("",F,g-1,s,c)}catch{}const E=Array.isArray(r)?[]:{};let S=0;const U=w0(r);for(const F in U){if(!Object.prototype.hasOwnProperty.call(U,F))continue;if(S>=s){E[F]="[MaxProperties ~]";break}const I=U[F];E[F]=Of(F,I,g-1,s,c),S++}return p(r),E}function eC(a,r){try{if(a==="domain"&&r&&typeof r=="object"&&r._events)return"[Domain]";if(a==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&r===global)return"[Global]";if(typeof window<"u"&&r===window)return"[Window]";if(typeof document<"u"&&r===document)return"[Document]";if(A0(r))return"[VueViewModel]";if(nE(r))return"[SyntheticEvent]";if(typeof r=="number"&&!Number.isFinite(r))return`[${r}]`;if(typeof r=="function")return`[Function: ${ja(r)}]`;if(typeof r=="symbol")return`[${String(r)}]`;if(typeof r=="bigint")return`[BigInt: ${String(r)}]`;const l=tC(r);return/^HTML(\w*)Element$/.test(l)?`[HTMLElement: ${l}]`:`[object ${l}]`}catch(l){return`**non-serializable** (${l})`}}function tC(a){const r=Object.getPrototypeOf(a);return r?r.constructor.name:"null prototype"}function nC(a){return~-encodeURI(a).split(/%..|./).length}function aC(a){return nC(JSON.stringify(a))}function xl(a,r=[]){return[a,r]}function rC(a,r){const[l,s]=a;return[l,[...s,r]]}function eg(a,r){const l=a[1];for(const s of l){const c=s[0].type;if(r(s,c))return!0}return!1}function Rf(a){return Le.__SENTRY__&&Le.__SENTRY__.encodePolyfill?Le.__SENTRY__.encodePolyfill(a):new TextEncoder().encode(a)}function iC(a){const[r,l]=a;let s=JSON.stringify(r);function c(f){typeof s=="string"?s=typeof f=="string"?s+f:[Rf(s),f]:s.push(typeof f=="string"?Rf(f):f)}for(const f of l){const[p,m]=f;if(c(`
|
|
55
|
+
${JSON.stringify(p)}
|
|
56
|
+
`),typeof m=="string"||m instanceof Uint8Array)c(m);else{let g;try{g=JSON.stringify(m)}catch{g=JSON.stringify(ta(m))}c(g)}}return typeof s=="string"?s:lC(s)}function lC(a){const r=a.reduce((c,f)=>c+f.length,0),l=new Uint8Array(r);let s=0;for(const c of a)l.set(c,s),s+=c.length;return l}function oC(a){const r=typeof a.data=="string"?Rf(a.data):a.data;return[sn({type:"attachment",length:r.length,filename:a.filename,content_type:a.contentType,attachment_type:a.attachmentType}),r]}const sC={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket",raw_security:"security"};function tg(a){return sC[a]}function H0(a){if(!a||!a.sdk)return;const{name:r,version:l}=a.sdk;return{name:r,version:l}}function uC(a,r,l,s){const c=a.sdkProcessingMetadata&&a.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:a.event_id,sent_at:new Date().toISOString(),...r&&{sdk:r},...!!l&&s&&{dsn:Dl(s)},...c&&{trace:sn({...c})}}}function cC(a,r){return r&&(a.sdk=a.sdk||{},a.sdk.name=a.sdk.name||r.name,a.sdk.version=a.sdk.version||r.version,a.sdk.integrations=[...a.sdk.integrations||[],...r.integrations||[]],a.sdk.packages=[...a.sdk.packages||[],...r.packages||[]]),a}function fC(a,r,l,s){const c=H0(l),f={sent_at:new Date().toISOString(),...c&&{sdk:c},...!!s&&r&&{dsn:Dl(r)}},p="aggregates"in a?[{type:"sessions"},a]:[{type:"session"},a.toJSON()];return xl(f,[p])}function dC(a,r,l,s){const c=H0(l),f=a.type&&a.type!=="replay_event"?a.type:"event";cC(a,l&&l.sdk);const p=uC(a,c,s,r);return delete a.sdkProcessingMetadata,xl(p,[[{type:f},a]])}function Df(a,r,l,s=0){return new on((c,f)=>{const p=a[s];if(r===null||typeof p!="function")c(r);else{const m=p({...r},l);Fe&&p.id&&m===null&&oe.log(`Event processor "${p.id}" dropped event`),Os(m)?m.then(g=>Df(a,g,l,s+1).then(c)).then(null,f):Df(a,m,l,s+1).then(c).then(null,f)}})}let es,ng,ts;function pC(a){const r=Le._sentryDebugIds;if(!r)return{};const l=Object.keys(r);return ts&&l.length===ng||(ng=l.length,ts=l.reduce((s,c)=>{es||(es={});const f=es[c];if(f)s[f[0]]=f[1];else{const p=a(c);for(let m=p.length-1;m>=0;m--){const g=p[m],y=g&&g.filename,E=r[c];if(y&&E){s[y]=E,es[c]=[y,E];break}}}return s},{})),ts}function mC(a,r){const{fingerprint:l,span:s,breadcrumbs:c,sdkProcessingMetadata:f}=r;hC(a,r),s&&vC(a,s),bC(a,l),yC(a,c),gC(a,f)}function ag(a,r){const{extra:l,tags:s,user:c,contexts:f,level:p,sdkProcessingMetadata:m,breadcrumbs:g,fingerprint:y,eventProcessors:E,attachments:S,propagationContext:U,transactionName:F,span:I}=r;ns(a,"extra",l),ns(a,"tags",s),ns(a,"user",c),ns(a,"contexts",f),a.sdkProcessingMetadata=Ds(a.sdkProcessingMetadata,m,2),p&&(a.level=p),F&&(a.transactionName=F),I&&(a.span=I),g.length&&(a.breadcrumbs=[...a.breadcrumbs,...g]),y.length&&(a.fingerprint=[...a.fingerprint,...y]),E.length&&(a.eventProcessors=[...a.eventProcessors,...E]),S.length&&(a.attachments=[...a.attachments,...S]),a.propagationContext={...a.propagationContext,...U}}function ns(a,r,l){a[r]=Ds(a[r],l,1)}function hC(a,r){const{extra:l,tags:s,user:c,contexts:f,level:p,transactionName:m}=r,g=sn(l);g&&Object.keys(g).length&&(a.extra={...g,...a.extra});const y=sn(s);y&&Object.keys(y).length&&(a.tags={...y,...a.tags});const E=sn(c);E&&Object.keys(E).length&&(a.user={...E,...a.user});const S=sn(f);S&&Object.keys(S).length&&(a.contexts={...S,...a.contexts}),p&&(a.level=p),m&&a.type!=="transaction"&&(a.transaction=m)}function yC(a,r){const l=[...a.breadcrumbs||[],...r];a.breadcrumbs=l.length?l:void 0}function gC(a,r){a.sdkProcessingMetadata={...a.sdkProcessingMetadata,...r}}function vC(a,r){a.contexts={trace:zE(r),...a.contexts},a.sdkProcessingMetadata={dynamicSamplingContext:$E(r),...a.sdkProcessingMetadata};const l=D0(r),s=fd(l).description;s&&!a.transaction&&a.type==="transaction"&&(a.transaction=s)}function bC(a,r){a.fingerprint=a.fingerprint?Array.isArray(a.fingerprint)?a.fingerprint:[a.fingerprint]:[],r&&(a.fingerprint=a.fingerprint.concat(r)),a.fingerprint&&!a.fingerprint.length&&delete a.fingerprint}function _C(a,r,l,s,c,f){const{normalizeDepth:p=3,normalizeMaxBreadth:m=1e3}=a,g={...r,event_id:r.event_id||l.event_id||un(),timestamp:r.timestamp||Rl()},y=l.integrations||a.integrations.map(V=>V.name);SC(g,a),AC(g,y),c&&c.emit("applyFrameMetadata",r),r.type===void 0&&EC(g,a.stackParser);const E=MC(s,l.captureContext);l.mechanism&&di(g,l.mechanism);const S=c?c.getEventProcessors():[],U=EE().getScopeData();if(f){const V=f.getScopeData();ag(U,V)}if(E){const V=E.getScopeData();ag(U,V)}const F=[...l.attachments||[],...U.attachments];F.length&&(l.attachments=F),mC(g,U);const I=[...S,...U.eventProcessors];return Df(I,g,l).then(V=>(V&&CC(V),typeof p=="number"&&p>0?TC(V,p,m):V))}function SC(a,r){const{environment:l,release:s,dist:c,maxValueLength:f=250}=r;a.environment=a.environment||l||dd,!a.release&&s&&(a.release=s),!a.dist&&c&&(a.dist=c),a.message&&(a.message=ui(a.message,f));const p=a.exception&&a.exception.values&&a.exception.values[0];p&&p.value&&(p.value=ui(p.value,f));const m=a.request;m&&m.url&&(m.url=ui(m.url,f))}function EC(a,r){const l=pC(r);try{a.exception.values.forEach(s=>{s.stacktrace.frames.forEach(c=>{l&&c.filename&&(c.debug_id=l[c.filename])})})}catch{}}function CC(a){const r={};try{a.exception.values.forEach(s=>{s.stacktrace.frames.forEach(c=>{c.debug_id&&(c.abs_path?r[c.abs_path]=c.debug_id:c.filename&&(r[c.filename]=c.debug_id),delete c.debug_id)})})}catch{}if(Object.keys(r).length===0)return;a.debug_meta=a.debug_meta||{},a.debug_meta.images=a.debug_meta.images||[];const l=a.debug_meta.images;Object.entries(r).forEach(([s,c])=>{l.push({type:"sourcemap",code_file:s,debug_id:c})})}function AC(a,r){r.length>0&&(a.sdk=a.sdk||{},a.sdk.integrations=[...a.sdk.integrations||[],...r])}function TC(a,r,l){if(!a)return null;const s={...a,...a.breadcrumbs&&{breadcrumbs:a.breadcrumbs.map(c=>({...c,...c.data&&{data:ta(c.data,r,l)}}))},...a.user&&{user:ta(a.user,r,l)},...a.contexts&&{contexts:ta(a.contexts,r,l)},...a.extra&&{extra:ta(a.extra,r,l)}};return a.contexts&&a.contexts.trace&&s.contexts&&(s.contexts.trace=a.contexts.trace,a.contexts.trace.data&&(s.contexts.trace.data=ta(a.contexts.trace.data,r,l))),a.spans&&(s.spans=a.spans.map(c=>({...c,...c.data&&{data:ta(c.data,r,l)}}))),a.contexts&&a.contexts.flags&&s.contexts&&(s.contexts.flags=ta(a.contexts.flags,3,l)),s}function MC(a,r){if(!r)return a;const l=a?a.clone():new Ia;return l.update(r),l}function wC(a){if(a)return OC(a)?{captureContext:a}:DC(a)?{captureContext:a}:a}function OC(a){return a instanceof Ia||typeof a=="function"}const RC=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function DC(a){return Object.keys(a).some(r=>RC.includes(r))}function _r(a,r){return gn().captureException(a,wC(r))}function xC(a,r){const s={captureContext:r};return gn().captureMessage(a,void 0,s)}function U0(a,r){return gn().captureEvent(a,r)}function kC(a,r){Pa().setContext(a,r)}function of(a,r){Pa().setTag(a,r)}function NC(){return Pa().lastEventId()}function rg(a){const r=ht(),l=Pa(),s=gn(),{release:c,environment:f=dd}=r&&r.getOptions()||{},{userAgent:p}=Le.navigator||{},m=dE({release:c,environment:f,user:s.getUser()||l.getUser(),...p&&{userAgent:p},...a}),g=l.getSession();return g&&g.status==="ok"&&pi(g,{status:"exited"}),z0(),l.setSession(m),s.setSession(m),m}function z0(){const a=Pa(),r=gn(),l=r.getSession()||a.getSession();l&&pE(l),B0(),a.setSession(),r.setSession()}function B0(){const a=Pa(),r=gn(),l=ht(),s=r.getSession()||a.getSession();s&&l&&l.captureSession(s)}function ig(a=!1){if(a){z0();return}B0()}const LC="7";function j0(a){const r=a.protocol?`${a.protocol}:`:"",l=a.port?`:${a.port}`:"";return`${r}//${a.host}${l}${a.path?`/${a.path}`:""}/api/`}function HC(a){return`${j0(a)}${a.projectId}/envelope/`}function UC(a,r){const l={sentry_version:LC};return a.publicKey&&(l.sentry_key=a.publicKey),r&&(l.sentry_client=`${r.name}/${r.version}`),new URLSearchParams(l).toString()}function zC(a,r,l){return r||`${HC(a)}?${UC(a,l)}`}function BC(a,r){const l=N0(a);if(!l)return"";const s=`${j0(l)}embed/error-page/`;let c=`dsn=${Dl(l)}`;for(const f in r)if(f!=="dsn"&&f!=="onClose")if(f==="user"){const p=r.user;if(!p)continue;p.name&&(c+=`&name=${encodeURIComponent(p.name)}`),p.email&&(c+=`&email=${encodeURIComponent(p.email)}`)}else c+=`&${encodeURIComponent(f)}=${encodeURIComponent(r[f])}`;return`${s}?${c}`}const lg=[];function jC(a){const r={};return a.forEach(l=>{const{name:s}=l,c=r[s];c&&!c.isDefaultInstance&&l.isDefaultInstance||(r[s]=l)}),Object.values(r)}function IC(a){const r=a.defaultIntegrations||[],l=a.integrations;r.forEach(p=>{p.isDefaultInstance=!0});let s;if(Array.isArray(l))s=[...r,...l];else if(typeof l=="function"){const p=l(r);s=Array.isArray(p)?p:[p]}else s=r;const c=jC(s),f=c.findIndex(p=>p.name==="Debug");if(f>-1){const[p]=c.splice(f,1);c.push(p)}return c}function qC(a,r){const l={};return r.forEach(s=>{s&&I0(a,s,l)}),l}function og(a,r){for(const l of r)l&&l.afterAllSetup&&l.afterAllSetup(a)}function I0(a,r,l){if(l[r.name]){Fe&&oe.log(`Integration skipped because it was already installed: ${r.name}`);return}if(l[r.name]=r,lg.indexOf(r.name)===-1&&typeof r.setupOnce=="function"&&(r.setupOnce(),lg.push(r.name)),r.setup&&typeof r.setup=="function"&&r.setup(a),typeof r.preprocessEvent=="function"){const s=r.preprocessEvent.bind(r);a.on("preprocessEvent",(c,f)=>s(c,f,a))}if(typeof r.processEvent=="function"){const s=r.processEvent.bind(r),c=Object.assign((f,p)=>s(f,p,a),{id:r.name});a.addEventProcessor(c)}Fe&&oe.log(`Integration installed: ${r.name}`)}function PC(a){const r=ht();if(!r){Fe&&oe.warn(`Cannot add integration "${a.name}" because no SDK Client is available.`);return}r.addIntegration(a)}function GC(a,r,l){const s=[{type:"client_report"},{timestamp:Rl(),discarded_events:a}];return xl(r?{dsn:r}:{},[s])}class hn extends Error{constructor(r,l="warn"){super(r),this.message=r,this.logLevel=l}}const sg="Not capturing exception because it's already been captured.";class FC{constructor(r){if(this._options=r,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],r.dsn?this._dsn=N0(r.dsn):Fe&&oe.warn("No DSN provided, client will not send events."),this._dsn){const c=zC(this._dsn,r.tunnel,r._metadata?r._metadata.sdk:void 0);this._transport=r.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...r.transportOptions,url:c})}const s=["enableTracing","tracesSampleRate","tracesSampler"].find(c=>c in r&&r[c]==null);s&&gr(()=>{console.warn(`[Sentry] Deprecation warning: \`${s}\` is set to undefined, which leads to tracing being enabled. In v9, a value of \`undefined\` will result in tracing being disabled.`)})}captureException(r,l,s){const c=un();if(Vy(r))return Fe&&oe.log(sg),c;const f={event_id:c,...l};return this._process(this.eventFromException(r,f).then(p=>this._captureEvent(p,f,s))),f.event_id}captureMessage(r,l,s,c){const f={event_id:un(),...s},p=id(r)?r:String(r),m=ld(r)?this.eventFromMessage(p,l,f):this.eventFromException(r,f);return this._process(m.then(g=>this._captureEvent(g,f,c))),f.event_id}captureEvent(r,l,s){const c=un();if(l&&l.originalException&&Vy(l.originalException))return Fe&&oe.log(sg),c;const f={event_id:c,...l},m=(r.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(r,f,m||s)),f.event_id}captureSession(r){typeof r.release!="string"?Fe&&oe.warn("Discarded session because of missing or non-string release"):(this.sendSession(r),pi(r,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(r){const l=this._transport;return l?(this.emit("flush"),this._isClientDoneProcessing(r).then(s=>l.flush(r).then(c=>s&&c))):pr(!0)}close(r){return this.flush(r).then(l=>(this.getOptions().enabled=!1,this.emit("close"),l))}getEventProcessors(){return this._eventProcessors}addEventProcessor(r){this._eventProcessors.push(r)}init(){(this._isEnabled()||this._options.integrations.some(({name:r})=>r.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(r){return this._integrations[r]}addIntegration(r){const l=this._integrations[r.name];I0(this,r,this._integrations),l||og(this,[r])}sendEvent(r,l={}){this.emit("beforeSendEvent",r,l);let s=dC(r,this._dsn,this._options._metadata,this._options.tunnel);for(const f of l.attachments||[])s=rC(s,oC(f));const c=this.sendEnvelope(s);c&&c.then(f=>this.emit("afterSendEvent",r,f),null)}sendSession(r){const l=fC(r,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(l)}recordDroppedEvent(r,l,s){if(this._options.sendClientReports){const c=typeof s=="number"?s:1,f=`${r}:${l}`;Fe&&oe.log(`Recording outcome: "${f}"${c>1?` (${c} times)`:""}`),this._outcomes[f]=(this._outcomes[f]||0)+c}}on(r,l){const s=this._hooks[r]=this._hooks[r]||[];return s.push(l),()=>{const c=s.indexOf(l);c>-1&&s.splice(c,1)}}emit(r,...l){const s=this._hooks[r];s&&s.forEach(c=>c(...l))}sendEnvelope(r){return this.emit("beforeEnvelope",r),this._isEnabled()&&this._transport?this._transport.send(r).then(null,l=>(Fe&&oe.error("Error while sending envelope:",l),l)):(Fe&&oe.error("Transport disabled"),pr({}))}_setupIntegrations(){const{integrations:r}=this._options;this._integrations=qC(this,r),og(this,r)}_updateSessionFromEvent(r,l){let s=l.level==="fatal",c=!1;const f=l.exception&&l.exception.values;if(f){c=!0;for(const g of f){const y=g.mechanism;if(y&&y.handled===!1){s=!0;break}}}const p=r.status==="ok";(p&&r.errors===0||p&&s)&&(pi(r,{...s&&{status:"crashed"},errors:r.errors||Number(c||s)}),this.captureSession(r))}_isClientDoneProcessing(r){return new on(l=>{let s=0;const c=1,f=setInterval(()=>{this._numProcessing==0?(clearInterval(f),l(!0)):(s+=c,r&&s>=r&&(clearInterval(f),l(!1)))},c)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(r,l,s=gn(),c=Pa()){const f=this.getOptions(),p=Object.keys(this._integrations);return!l.integrations&&p.length>0&&(l.integrations=p),this.emit("preprocessEvent",r,l),r.type||c.setLastEventId(r.event_id||l.event_id),_C(f,r,l,s,this,c).then(m=>{if(m===null)return m;m.contexts={trace:CE(s),...m.contexts};const g=YE(this,s);return m.sdkProcessingMetadata={dynamicSamplingContext:g,...m.sdkProcessingMetadata},m})}_captureEvent(r,l={},s){return this._processEvent(r,l,s).then(c=>c.event_id,c=>{Fe&&(c instanceof hn&&c.logLevel==="log"?oe.log(c.message):oe.warn(c))})}_processEvent(r,l,s){const c=this.getOptions(),{sampleRate:f}=c,p=P0(r),m=q0(r),g=r.type||"error",y=`before send for type \`${g}\``,E=typeof f>"u"?void 0:QE(f);if(m&&typeof E=="number"&&Math.random()>E)return this.recordDroppedEvent("sample_rate","error",r),ys(new hn(`Discarding event because it's not included in the random sample (sampling rate = ${f})`,"log"));const S=g==="replay_event"?"replay":g,F=(r.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(r,l,s,F).then(I=>{if(I===null)throw this.recordDroppedEvent("event_processor",S,r),new hn("An event processor returned `null`, will not send event.","log");if(l.data&&l.data.__sentry__===!0)return I;const V=YC(this,c,I,l);return VC(V,y)}).then(I=>{if(I===null){if(this.recordDroppedEvent("before_send",S,r),p){const Se=1+(r.spans||[]).length;this.recordDroppedEvent("before_send","span",Se)}throw new hn(`${y} returned \`null\`, will not send event.`,"log")}const K=s&&s.getSession();if(!p&&K&&this._updateSessionFromEvent(K,I),p){const ne=I.sdkProcessingMetadata&&I.sdkProcessingMetadata.spanCountBeforeProcessing||0,Se=I.spans?I.spans.length:0,ae=ne-Se;ae>0&&this.recordDroppedEvent("before_send","span",ae)}const V=I.transaction_info;if(p&&V&&I.transaction!==r.transaction){const ne="custom";I.transaction_info={...V,source:ne}}return this.sendEvent(I,l),I}).then(null,I=>{throw I instanceof hn?I:(this.captureException(I,{data:{__sentry__:!0},originalException:I}),new hn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
|
|
57
|
+
Reason: ${I}`))})}_process(r){this._numProcessing++,r.then(l=>(this._numProcessing--,l),l=>(this._numProcessing--,l))}_clearOutcomes(){const r=this._outcomes;return this._outcomes={},Object.entries(r).map(([l,s])=>{const[c,f]=l.split(":");return{reason:c,category:f,quantity:s}})}_flushOutcomes(){Fe&&oe.log("Flushing outcomes...");const r=this._clearOutcomes();if(r.length===0){Fe&&oe.log("No outcomes to send");return}if(!this._dsn){Fe&&oe.log("No dsn provided, will not send outcomes");return}Fe&&oe.log("Sending outcomes:",r);const l=GC(r,this._options.tunnel&&Dl(this._dsn));this.sendEnvelope(l)}}function VC(a,r){const l=`${r} must return \`null\` or a valid event.`;if(Os(a))return a.then(s=>{if(!fi(s)&&s!==null)throw new hn(l);return s},s=>{throw new hn(`${r} rejected with ${s}`)});if(!fi(a)&&a!==null)throw new hn(l);return a}function YC(a,r,l,s){const{beforeSend:c,beforeSendTransaction:f,beforeSendSpan:p}=r;if(q0(l)&&c)return c(l,s);if(P0(l)){if(l.spans&&p){const m=[];for(const g of l.spans){const y=p(g);y?m.push(y):(GE(),a.recordDroppedEvent("before_send","span"))}l.spans=m}if(f){if(l.spans){const m=l.spans.length;l.sdkProcessingMetadata={...l.sdkProcessingMetadata,spanCountBeforeProcessing:m}}return f(l,s)}}return l}function q0(a){return a.type===void 0}function P0(a){return a.type==="transaction"}function $C(a,r){r.debug===!0&&(Fe?oe.enable():gr(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),gn().update(r.initialScope);const s=new a(r);return QC(s),s.init(),s}function QC(a){gn().setClient(a)}function ZC(a){const r=[];function l(){return a===void 0||r.length<a}function s(p){return r.splice(r.indexOf(p),1)[0]||Promise.resolve(void 0)}function c(p){if(!l())return ys(new hn("Not adding Promise because buffer limit was reached."));const m=p();return r.indexOf(m)===-1&&r.push(m),m.then(()=>s(m)).then(null,()=>s(m).then(null,()=>{})),m}function f(p){return new on((m,g)=>{let y=r.length;if(!y)return m(!0);const E=setTimeout(()=>{p&&p>0&&m(!1)},p);r.forEach(S=>{pr(S).then(()=>{--y||(clearTimeout(E),m(!0))},g)})})}return{$:r,add:c,drain:f}}const XC=60*1e3;function WC(a,r=Date.now()){const l=parseInt(`${a}`,10);if(!isNaN(l))return l*1e3;const s=Date.parse(`${a}`);return isNaN(s)?XC:s-r}function KC(a,r){return a[r]||a.all||0}function JC(a,r,l=Date.now()){return KC(a,r)>l}function e1(a,{statusCode:r,headers:l},s=Date.now()){const c={...a},f=l&&l["x-sentry-rate-limits"],p=l&&l["retry-after"];if(f)for(const m of f.trim().split(",")){const[g,y,,,E]=m.split(":",5),S=parseInt(g,10),U=(isNaN(S)?60:S)*1e3;if(!y)c.all=s+U;else for(const F of y.split(";"))F==="metric_bucket"?(!E||E.split(";").includes("custom"))&&(c[F]=s+U):c[F]=s+U}else p?c.all=s+WC(p,s):r===429&&(c.all=s+60*1e3);return c}const t1=64;function n1(a,r,l=ZC(a.bufferSize||t1)){let s={};const c=p=>l.drain(p);function f(p){const m=[];if(eg(p,(S,U)=>{const F=tg(U);if(JC(s,F)){const I=ug(S,U);a.recordDroppedEvent("ratelimit_backoff",F,I)}else m.push(S)}),m.length===0)return pr({});const g=xl(p[0],m),y=S=>{eg(g,(U,F)=>{const I=ug(U,F);a.recordDroppedEvent(S,tg(F),I)})},E=()=>r({body:iC(g)}).then(S=>(S.statusCode!==void 0&&(S.statusCode<200||S.statusCode>=300)&&Fe&&oe.warn(`Sentry responded with status code ${S.statusCode} to sent event.`),s=e1(s,S),S),S=>{throw y("network_error"),S});return l.add(E).then(S=>S,S=>{if(S instanceof hn)return Fe&&oe.error("Skipped sending event because buffer is full."),y("queue_overflow"),pr({});throw S})}return{send:f,flush:c}}function ug(a,r){if(!(r!=="event"&&r!=="transaction"))return Array.isArray(a)?a[1]:void 0}function G0(a,r,l=[r],s="npm"){const c=a._metadata||{};c.sdk||(c.sdk={name:`sentry.javascript.${r}`,packages:l.map(f=>({name:`${s}:@sentry/${f}`,version:Ha})),version:Ha}),a._metadata=c}const a1=100;function qa(a,r){const l=ht(),s=Pa();if(!l)return;const{beforeBreadcrumb:c=null,maxBreadcrumbs:f=a1}=l.getOptions();if(f<=0)return;const m={timestamp:Rl(),...a},g=c?gr(()=>c(m,r)):m;g!==null&&(l.emit&&l.emit("beforeAddBreadcrumb",g,r),s.addBreadcrumb(g,f))}let cg;const r1="FunctionToString",fg=new WeakMap,i1=(()=>({name:r1,setupOnce(){cg=Function.prototype.toString;try{Function.prototype.toString=function(...a){const r=sd(this),l=fg.has(ht())&&r!==void 0?r:this;return cg.apply(l,a)}}catch{}},setup(a){fg.set(a,!0)}})),l1=i1,o1=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,"undefined is not an object (evaluating 'a.L')",`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],s1="InboundFilters",u1=((a={})=>({name:s1,processEvent(r,l,s){const c=s.getOptions(),f=f1(a,c);return d1(r,f)?null:r}})),c1=u1;function f1(a={},r={}){return{allowUrls:[...a.allowUrls||[],...r.allowUrls||[]],denyUrls:[...a.denyUrls||[],...r.denyUrls||[]],ignoreErrors:[...a.ignoreErrors||[],...r.ignoreErrors||[],...a.disableErrorDefaults?[]:o1],ignoreTransactions:[...a.ignoreTransactions||[],...r.ignoreTransactions||[]],ignoreInternal:a.ignoreInternal!==void 0?a.ignoreInternal:!0}}function d1(a,r){return r.ignoreInternal&&v1(a)?(Fe&&oe.warn(`Event dropped due to being internal Sentry Error.
|
|
58
|
+
Event: ${Na(a)}`),!0):p1(a,r.ignoreErrors)?(Fe&&oe.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
59
|
+
Event: ${Na(a)}`),!0):_1(a)?(Fe&&oe.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
60
|
+
Event: ${Na(a)}`),!0):m1(a,r.ignoreTransactions)?(Fe&&oe.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
61
|
+
Event: ${Na(a)}`),!0):h1(a,r.denyUrls)?(Fe&&oe.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
62
|
+
Event: ${Na(a)}.
|
|
63
|
+
Url: ${gs(a)}`),!0):y1(a,r.allowUrls)?!1:(Fe&&oe.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
64
|
+
Event: ${Na(a)}.
|
|
65
|
+
Url: ${gs(a)}`),!0)}function p1(a,r){return a.type||!r||!r.length?!1:g1(a).some(l=>Rs(l,r))}function m1(a,r){if(a.type!=="transaction"||!r||!r.length)return!1;const l=a.transaction;return l?Rs(l,r):!1}function h1(a,r){if(!r||!r.length)return!1;const l=gs(a);return l?Rs(l,r):!1}function y1(a,r){if(!r||!r.length)return!0;const l=gs(a);return l?Rs(l,r):!0}function g1(a){const r=[];a.message&&r.push(a.message);let l;try{l=a.exception.values[a.exception.values.length-1]}catch{}return l&&l.value&&(r.push(l.value),l.type&&r.push(`${l.type}: ${l.value}`)),r}function v1(a){try{return a.exception.values[0].type==="SentryError"}catch{}return!1}function b1(a=[]){for(let r=a.length-1;r>=0;r--){const l=a[r];if(l&&l.filename!=="<anonymous>"&&l.filename!=="[native code]")return l.filename||null}return null}function gs(a){try{let r;try{r=a.exception.values[0].stacktrace.frames}catch{}return r?b1(r):null}catch{return Fe&&oe.error(`Cannot extract url for event ${Na(a)}`),null}}function _1(a){return a.type||!a.exception||!a.exception.values||a.exception.values.length===0?!1:!a.message&&!a.exception.values.some(r=>r.stacktrace||r.type&&r.type!=="Error"||r.value)}function S1(a,r,l=250,s,c,f,p){if(!f.exception||!f.exception.values||!p||!fr(p.originalException,Error))return;const m=f.exception.values.length>0?f.exception.values[f.exception.values.length-1]:void 0;m&&(f.exception.values=E1(xf(a,r,c,p.originalException,s,f.exception.values,m,0),l))}function xf(a,r,l,s,c,f,p,m){if(f.length>=l+1)return f;let g=[...f];if(fr(s[c],Error)){dg(p,m);const y=a(r,s[c]),E=g.length;pg(y,c,E,m),g=xf(a,r,l,s[c],c,[y,...g],y,E)}return Array.isArray(s.errors)&&s.errors.forEach((y,E)=>{if(fr(y,Error)){dg(p,m);const S=a(r,y),U=g.length;pg(S,`errors[${E}]`,U,m),g=xf(a,r,l,y,c,[S,...g],S,U)}}),g}function dg(a,r){a.mechanism=a.mechanism||{type:"generic",handled:!0},a.mechanism={...a.mechanism,...a.type==="AggregateError"&&{is_exception_group:!0},exception_id:r}}function pg(a,r,l,s){a.mechanism=a.mechanism||{type:"generic",handled:!0},a.mechanism={...a.mechanism,type:"chained",source:r,exception_id:l,parent_id:s}}function E1(a,r){return a.map(l=>(l.value&&(l.value=ui(l.value,r)),l))}function sf(a){if(!a)return{};const r=a.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!r)return{};const l=r[6]||"",s=r[8]||"";return{host:r[4],path:r[5],protocol:r[2],search:l,hash:s,relative:r[5]+l+s}}function C1(a){const r="console";vr(r,a),br(r,A1)}function A1(){"console"in Le&&Cf.forEach(function(a){a in Le.console&&$t(Le.console,a,function(r){return hs[a]=r,function(...l){yn("console",{args:l,level:a});const c=hs[a];c&&c.apply(Le.console,l)}})})}function T1(a){return a==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(a)?a:"log"}const M1="Dedupe",w1=(()=>{let a;return{name:M1,processEvent(r){if(r.type)return r;try{if(R1(r,a))return Fe&&oe.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return a=r}}}),O1=w1;function R1(a,r){return r?!!(D1(a,r)||x1(a,r)):!1}function D1(a,r){const l=a.message,s=r.message;return!(!l&&!s||l&&!s||!l&&s||l!==s||!V0(a,r)||!F0(a,r))}function x1(a,r){const l=mg(r),s=mg(a);return!(!l||!s||l.type!==s.type||l.value!==s.value||!V0(a,r)||!F0(a,r))}function F0(a,r){let l=jy(a),s=jy(r);if(!l&&!s)return!0;if(l&&!s||!l&&s||(l=l,s=s,s.length!==l.length))return!1;for(let c=0;c<s.length;c++){const f=s[c],p=l[c];if(f.filename!==p.filename||f.lineno!==p.lineno||f.colno!==p.colno||f.function!==p.function)return!1}return!0}function V0(a,r){let l=a.fingerprint,s=r.fingerprint;if(!l&&!s)return!0;if(l&&!s||!l&&s)return!1;l=l,s=s;try{return l.join("")===s.join("")}catch{return!1}}function mg(a){return a.exception&&a.exception.values&&a.exception.values[0]}function Y0(a){if(a!==void 0)return a>=400&&a<500?"warning":a>=500?"error":void 0}const kf=Le;function $0(){if(!("fetch"in kf))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Nf(a){return a&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(a.toString())}function k1(){if(typeof EdgeRuntime=="string")return!0;if(!$0())return!1;if(Nf(kf.fetch))return!0;let a=!1;const r=kf.document;if(r&&typeof r.createElement=="function")try{const l=r.createElement("iframe");l.hidden=!0,r.head.appendChild(l),l.contentWindow&&l.contentWindow.fetch&&(a=Nf(l.contentWindow.fetch)),r.head.removeChild(l)}catch(l){yr&&oe.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",l)}return a}function N1(a,r){const l="fetch";vr(l,a),br(l,()=>L1(void 0,r))}function L1(a,r=!1){r&&!k1()||$t(Le,"fetch",function(l){return function(...s){const c=new Error,{method:f,url:p}=H1(s),m={args:s,fetchData:{method:f,url:p},startTimestamp:aa()*1e3,virtualError:c};return yn("fetch",{...m}),l.apply(Le,s).then(async g=>(yn("fetch",{...m,endTimestamp:aa()*1e3,response:g}),g),g=>{throw yn("fetch",{...m,endTimestamp:aa()*1e3,error:g}),Ms(g)&&g.stack===void 0&&(g.stack=c.stack,dr(g,"framesToPop",1)),g})}})}function Lf(a,r){return!!a&&typeof a=="object"&&!!a[r]}function hg(a){return typeof a=="string"?a:a?Lf(a,"url")?a.url:a.toString?a.toString():"":""}function H1(a){if(a.length===0)return{method:"GET",url:""};if(a.length===2){const[l,s]=a;return{url:hg(l),method:Lf(s,"method")?String(s.method).toUpperCase():"GET"}}const r=a[0];return{url:hg(r),method:Lf(r,"method")?String(r.method).toUpperCase():"GET"}}function U1(){return"npm"}const as=Le;function z1(){const a=as.chrome,r=a&&a.app&&a.app.runtime,l="history"in as&&!!as.history.pushState&&!!as.history.replaceState;return!r&&l}const Ce=Le;let Hf=0;function Q0(){return Hf>0}function B1(){Hf++,setTimeout(()=>{Hf--})}function hi(a,r={}){function l(c){return typeof c=="function"}if(!l(a))return a;try{const c=a.__sentry_wrapped__;if(c)return typeof c=="function"?c:a;if(sd(a))return a}catch{return a}const s=function(...c){try{const f=c.map(p=>hi(p,r));return a.apply(this,f)}catch(f){throw B1(),xs(p=>{p.addEventProcessor(m=>(r.mechanism&&(Tf(m,void 0),di(m,r.mechanism)),m.extra={...m.extra,arguments:c},m)),_r(f)}),f}};try{for(const c in a)Object.prototype.hasOwnProperty.call(a,c)&&(s[c]=a[c])}catch{}M0(s,a),dr(a,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get(){return a.name}})}catch{}return s}const Ua=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function pd(a,r){const l=md(a,r),s={type:G1(r),value:F1(r)};return l.length&&(s.stacktrace={frames:l}),s.type===void 0&&s.value===""&&(s.value="Unrecoverable error caught"),s}function j1(a,r,l,s){const c=ht(),f=c&&c.getOptions().normalizeDepth,p=Z1(r),m={__serialized__:L0(r,f)};if(p)return{exception:{values:[pd(a,p)]},extra:m};const g={exception:{values:[{type:ws(r)?r.constructor.name:s?"UnhandledRejection":"Error",value:$1(r,{isUnhandledRejection:s})}]},extra:m};if(l){const y=md(a,l);y.length&&(g.exception.values[0].stacktrace={frames:y})}return g}function uf(a,r){return{exception:{values:[pd(a,r)]}}}function md(a,r){const l=r.stacktrace||r.stack||"",s=q1(r),c=P1(r);try{return a(l,s,c)}catch{}return[]}const I1=/Minified React error #\d+;/i;function q1(a){return a&&I1.test(a.message)?1:0}function P1(a){return typeof a.framesToPop=="number"?a.framesToPop:0}function Z0(a){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?a instanceof WebAssembly.Exception:!1}function G1(a){const r=a&&a.name;return!r&&Z0(a)?a.message&&Array.isArray(a.message)&&a.message.length==2?a.message[0]:"WebAssembly.Exception":r}function F1(a){const r=a&&a.message;return r?r.error&&typeof r.error.message=="string"?r.error.message:Z0(a)&&Array.isArray(a.message)&&a.message.length==2?a.message[1]:r:"No error message"}function V1(a,r,l,s){const c=l&&l.syntheticException||void 0,f=hd(a,r,c,s);return di(f),f.level="error",l&&l.event_id&&(f.event_id=l.event_id),pr(f)}function Y1(a,r,l="info",s,c){const f=s&&s.syntheticException||void 0,p=Uf(a,r,f,c);return p.level=l,s&&s.event_id&&(p.event_id=s.event_id),pr(p)}function hd(a,r,l,s,c){let f;if(C0(r)&&r.error)return uf(a,r.error);if(qy(r)||JS(r)){const p=r;if("stack"in r)f=uf(a,r);else{const m=p.name||(qy(p)?"DOMError":"DOMException"),g=p.message?`${m}: ${p.message}`:m;f=Uf(a,g,l,s),Tf(f,g)}return"code"in p&&(f.tags={...f.tags,"DOMException.code":`${p.code}`}),f}return Ms(r)?uf(a,r):fi(r)||ws(r)?(f=j1(a,r,l,c),di(f,{synthetic:!0}),f):(f=Uf(a,r,l,s),Tf(f,`${r}`),di(f,{synthetic:!0}),f)}function Uf(a,r,l,s){const c={};if(s&&l){const f=md(a,l);f.length&&(c.exception={values:[{value:r,stacktrace:{frames:f}}]}),di(c,{synthetic:!0})}if(id(r)){const{__sentry_template_string__:f,__sentry_template_values__:p}=r;return c.logentry={message:f,params:p},c}return c.message=r,c}function $1(a,{isUnhandledRejection:r}){const l=sE(a),s=r?"promise rejection":"exception";return C0(a)?`Event \`ErrorEvent\` captured as ${s} with message \`${a.message}\``:ws(a)?`Event \`${Q1(a)}\` (type=${a.type}) captured as ${s}`:`Object captured as ${s} with keys: ${l}`}function Q1(a){try{const r=Object.getPrototypeOf(a);return r?r.constructor.name:void 0}catch{}}function Z1(a){for(const r in a)if(Object.prototype.hasOwnProperty.call(a,r)){const l=a[r];if(l instanceof Error)return l}}function X1(a,{metadata:r,tunnel:l,dsn:s}){const c={event_id:a.event_id,sent_at:new Date().toISOString(),...r&&r.sdk&&{sdk:{name:r.sdk.name,version:r.sdk.version}},...!!l&&!!s&&{dsn:Dl(s)}},f=W1(a);return xl(c,[f])}function W1(a){return[{type:"user_report"},a]}class K1 extends FC{constructor(r){const l={parentSpanIsAlwaysRootSpan:!0,...r},s=Ce.SENTRY_SDK_SOURCE||U1();G0(l,"browser",["browser"],s),super(l),l.sendClientReports&&Ce.document&&Ce.document.addEventListener("visibilitychange",()=>{Ce.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(r,l){return V1(this._options.stackParser,r,l,this._options.attachStacktrace)}eventFromMessage(r,l="info",s){return Y1(this._options.stackParser,r,l,s,this._options.attachStacktrace)}captureUserFeedback(r){if(!this._isEnabled()){Ua&&oe.warn("SDK not enabled, will not capture user feedback.");return}const l=X1(r,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(l)}_prepareEvent(r,l,s){return r.platform=r.platform||"javascript",super._prepareEvent(r,l,s)}}const J1=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Nt=Le,eA=1e3;let yg,zf,Bf;function tA(a){vr("dom",a),br("dom",nA)}function nA(){if(!Nt.document)return;const a=yn.bind(null,"dom"),r=gg(a,!0);Nt.document.addEventListener("click",r,!1),Nt.document.addEventListener("keypress",r,!1),["EventTarget","Node"].forEach(l=>{const c=Nt[l],f=c&&c.prototype;!f||!f.hasOwnProperty||!f.hasOwnProperty("addEventListener")||($t(f,"addEventListener",function(p){return function(m,g,y){if(m==="click"||m=="keypress")try{const E=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},S=E[m]=E[m]||{refCount:0};if(!S.handler){const U=gg(a);S.handler=U,p.call(this,m,U,y)}S.refCount++}catch{}return p.call(this,m,g,y)}}),$t(f,"removeEventListener",function(p){return function(m,g,y){if(m==="click"||m=="keypress")try{const E=this.__sentry_instrumentation_handlers__||{},S=E[m];S&&(S.refCount--,S.refCount<=0&&(p.call(this,m,S.handler,y),S.handler=void 0,delete E[m]),Object.keys(E).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return p.call(this,m,g,y)}}))})}function aA(a){if(a.type!==zf)return!1;try{if(!a.target||a.target._sentryId!==Bf)return!1}catch{}return!0}function rA(a,r){return a!=="keypress"?!1:!r||!r.tagName?!0:!(r.tagName==="INPUT"||r.tagName==="TEXTAREA"||r.isContentEditable)}function gg(a,r=!1){return l=>{if(!l||l._sentryCaptured)return;const s=iA(l);if(rA(l.type,s))return;dr(l,"_sentryCaptured",!0),s&&!s._sentryId&&dr(s,"_sentryId",un());const c=l.type==="keypress"?"input":l.type;aA(l)||(a({event:l,name:c,global:r}),zf=l.type,Bf=s?s._sentryId:void 0),clearTimeout(yg),yg=Nt.setTimeout(()=>{Bf=void 0,zf=void 0},eA)}}function iA(a){try{return a.target}catch{return null}}let rs;function X0(a){const r="history";vr(r,a),br(r,lA)}function lA(){if(!z1())return;const a=Nt.onpopstate;Nt.onpopstate=function(...l){const s=Nt.location.href,c=rs;if(rs=s,yn("history",{from:c,to:s}),a)try{return a.apply(this,l)}catch{}};function r(l){return function(...s){const c=s.length>2?s[2]:void 0;if(c){const f=rs,p=String(c);rs=p,yn("history",{from:f,to:p})}return l.apply(this,s)}}$t(Nt.history,"pushState",r),$t(Nt.history,"replaceState",r)}const us={};function oA(a){const r=us[a];if(r)return r;let l=Nt[a];if(Nf(l))return us[a]=l.bind(Nt);const s=Nt.document;if(s&&typeof s.createElement=="function")try{const c=s.createElement("iframe");c.hidden=!0,s.head.appendChild(c);const f=c.contentWindow;f&&f[a]&&(l=f[a]),s.head.removeChild(c)}catch(c){J1&&oe.warn(`Could not create sandbox iframe for ${a} check, bailing to window.${a}: `,c)}return l&&(us[a]=l.bind(Nt))}function vg(a){us[a]=void 0}const Sl="__sentry_xhr_v3__";function sA(a){vr("xhr",a),br("xhr",uA)}function uA(){if(!Nt.XMLHttpRequest)return;const a=XMLHttpRequest.prototype;a.open=new Proxy(a.open,{apply(r,l,s){const c=new Error,f=aa()*1e3,p=na(s[0])?s[0].toUpperCase():void 0,m=cA(s[1]);if(!p||!m)return r.apply(l,s);l[Sl]={method:p,url:m,request_headers:{}},p==="POST"&&m.match(/sentry_key/)&&(l.__sentry_own_request__=!0);const g=()=>{const y=l[Sl];if(y&&l.readyState===4){try{y.status_code=l.status}catch{}const E={endTimestamp:aa()*1e3,startTimestamp:f,xhr:l,virtualError:c};yn("xhr",E)}};return"onreadystatechange"in l&&typeof l.onreadystatechange=="function"?l.onreadystatechange=new Proxy(l.onreadystatechange,{apply(y,E,S){return g(),y.apply(E,S)}}):l.addEventListener("readystatechange",g),l.setRequestHeader=new Proxy(l.setRequestHeader,{apply(y,E,S){const[U,F]=S,I=E[Sl];return I&&na(U)&&na(F)&&(I.request_headers[U.toLowerCase()]=F),y.apply(E,S)}}),r.apply(l,s)}}),a.send=new Proxy(a.send,{apply(r,l,s){const c=l[Sl];if(!c)return r.apply(l,s);s[0]!==void 0&&(c.body=s[0]);const f={startTimestamp:aa()*1e3,xhr:l};return yn("xhr",f),r.apply(l,s)}})}function cA(a){if(na(a))return a;try{return a.toString()}catch{}}function fA(a,r=oA("fetch")){let l=0,s=0;function c(f){const p=f.body.length;l+=p,s++;const m={body:f.body,method:"POST",referrerPolicy:"origin",headers:a.headers,keepalive:l<=6e4&&s<15,...a.fetchOptions};if(!r)return vg("fetch"),ys("No fetch implementation available");try{return r(a.url,m).then(g=>(l-=p,s--,{statusCode:g.status,headers:{"x-sentry-rate-limits":g.headers.get("X-Sentry-Rate-Limits"),"retry-after":g.headers.get("Retry-After")}}))}catch(g){return vg("fetch"),l-=p,s--,ys(g)}}return n1(a,c)}const dA=30,pA=50;function jf(a,r,l,s){const c={filename:a,function:r==="<anonymous>"?cr:r,in_app:!0};return l!==void 0&&(c.lineno=l),s!==void 0&&(c.colno=s),c}const mA=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,hA=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,yA=/\((\S*)(?::(\d+))(?::(\d+))\)/,gA=a=>{const r=mA.exec(a);if(r){const[,s,c,f]=r;return jf(s,cr,+c,+f)}const l=hA.exec(a);if(l){if(l[2]&&l[2].indexOf("eval")===0){const p=yA.exec(l[2]);p&&(l[2]=p[1],l[3]=p[2],l[4]=p[3])}const[c,f]=W0(l[1]||cr,l[2]);return jf(f,c,l[3]?+l[3]:void 0,l[4]?+l[4]:void 0)}},vA=[dA,gA],bA=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,_A=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,SA=a=>{const r=bA.exec(a);if(r){if(r[3]&&r[3].indexOf(" > eval")>-1){const f=_A.exec(r[3]);f&&(r[1]=r[1]||"eval",r[3]=f[1],r[4]=f[2],r[5]="")}let s=r[3],c=r[1]||cr;return[c,s]=W0(c,s),jf(s,c,r[4]?+r[4]:void 0,r[5]?+r[5]:void 0)}},EA=[pA,SA],CA=[vA,EA],AA=S0(...CA),W0=(a,r)=>{const l=a.indexOf("safari-extension")!==-1,s=a.indexOf("safari-web-extension")!==-1;return l||s?[a.indexOf("@")!==-1?a.split("@")[0]:cr,l?`safari-extension:${r}`:`safari-web-extension:${r}`]:[a,r]},is=1024,TA="Breadcrumbs",MA=((a={})=>{const r={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...a};return{name:TA,setup(l){r.console&&C1(DA(l)),r.dom&&tA(RA(l,r.dom)),r.xhr&&sA(xA(l)),r.fetch&&N1(kA(l)),r.history&&X0(NA(l)),r.sentry&&l.on("beforeSendEvent",OA(l))}}}),wA=MA;function OA(a){return function(l){ht()===a&&qa({category:`sentry.${l.type==="transaction"?"transaction":"event"}`,event_id:l.event_id,level:l.level,message:Na(l)},{event:l})}}function RA(a,r){return function(s){if(ht()!==a)return;let c,f,p=typeof r=="object"?r.serializeAttribute:void 0,m=typeof r=="object"&&typeof r.maxStringLength=="number"?r.maxStringLength:void 0;m&&m>is&&(Ua&&oe.warn(`\`dom.maxStringLength\` cannot exceed ${is}, but a value of ${m} was configured. Sentry will use ${is} instead.`),m=is),typeof p=="string"&&(p=[p]);try{const y=s.event,E=LA(y)?y.target:y;c=T0(E,{keyAttrs:p,maxStringLength:m}),f=lE(E)}catch{c="<unknown>"}if(c.length===0)return;const g={category:`ui.${s.name}`,message:c};f&&(g.data={"ui.component_name":f}),qa(g,{event:s.event,name:s.name,global:s.global})}}function DA(a){return function(l){if(ht()!==a)return;const s={category:"console",data:{arguments:l.args,logger:"console"},level:T1(l.level),message:Py(l.args," ")};if(l.level==="assert")if(l.args[0]===!1)s.message=`Assertion failed: ${Py(l.args.slice(1)," ")||"console.assert"}`,s.data.arguments=l.args.slice(1);else return;qa(s,{input:l.args,level:l.level})}}function xA(a){return function(l){if(ht()!==a)return;const{startTimestamp:s,endTimestamp:c}=l,f=l.xhr[Sl];if(!s||!c||!f)return;const{method:p,url:m,status_code:g,body:y}=f,E={method:p,url:m,status_code:g},S={xhr:l.xhr,input:y,startTimestamp:s,endTimestamp:c},U=Y0(g);qa({category:"xhr",data:E,type:"http",level:U},S)}}function kA(a){return function(l){if(ht()!==a)return;const{startTimestamp:s,endTimestamp:c}=l;if(c&&!(l.fetchData.url.match(/sentry_key/)&&l.fetchData.method==="POST"))if(l.error){const f=l.fetchData,p={data:l.error,input:l.args,startTimestamp:s,endTimestamp:c};qa({category:"fetch",data:f,level:"error",type:"http"},p)}else{const f=l.response,p={...l.fetchData,status_code:f&&f.status},m={input:l.args,response:f,startTimestamp:s,endTimestamp:c},g=Y0(p.status_code);qa({category:"fetch",data:p,type:"http",level:g},m)}}}function NA(a){return function(l){if(ht()!==a)return;let s=l.from,c=l.to;const f=sf(Ce.location.href);let p=s?sf(s):void 0;const m=sf(c);(!p||!p.path)&&(p=f),f.protocol===m.protocol&&f.host===m.host&&(c=m.relative),f.protocol===p.protocol&&f.host===p.host&&(s=p.relative),qa({category:"navigation",data:{from:s,to:c}})}}function LA(a){return!!a&&!!a.target}const HA=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],UA="BrowserApiErrors",zA=((a={})=>{const r={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...a};return{name:UA,setupOnce(){r.setTimeout&&$t(Ce,"setTimeout",bg),r.setInterval&&$t(Ce,"setInterval",bg),r.requestAnimationFrame&&$t(Ce,"requestAnimationFrame",BA),r.XMLHttpRequest&&"XMLHttpRequest"in Ce&&$t(XMLHttpRequest.prototype,"send",jA);const l=r.eventTarget;l&&(Array.isArray(l)?l:HA).forEach(IA)}}}),K0=zA;function bg(a){return function(...r){const l=r[0];return r[0]=hi(l,{mechanism:{data:{function:ja(a)},handled:!1,type:"instrument"}}),a.apply(this,r)}}function BA(a){return function(r){return a.apply(this,[hi(r,{mechanism:{data:{function:"requestAnimationFrame",handler:ja(a)},handled:!1,type:"instrument"}})])}}function jA(a){return function(...r){const l=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(c=>{c in l&&typeof l[c]=="function"&&$t(l,c,function(f){const p={mechanism:{data:{function:c,handler:ja(f)},handled:!1,type:"instrument"}},m=sd(f);return m&&(p.mechanism.data.handler=ja(m)),hi(f,p)})}),a.apply(this,r)}}function IA(a){const l=Ce[a],s=l&&l.prototype;!s||!s.hasOwnProperty||!s.hasOwnProperty("addEventListener")||($t(s,"addEventListener",function(c){return function(f,p,m){try{qA(p)&&(p.handleEvent=hi(p.handleEvent,{mechanism:{data:{function:"handleEvent",handler:ja(p),target:a},handled:!1,type:"instrument"}}))}catch{}return c.apply(this,[f,hi(p,{mechanism:{data:{function:"addEventListener",handler:ja(p),target:a},handled:!1,type:"instrument"}}),m])}}),$t(s,"removeEventListener",function(c){return function(f,p,m){try{const g=p.__sentry_wrapped__;g&&c.call(this,f,g,m)}catch{}return c.call(this,f,p,m)}}))}function qA(a){return typeof a.handleEvent=="function"}const PA=()=>({name:"BrowserSession",setupOnce(){if(typeof Ce.document>"u"){Ua&&oe.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}rg({ignoreDuration:!0}),ig(),X0(({from:a,to:r})=>{a!==void 0&&a!==r&&(rg({ignoreDuration:!0}),ig())})}}),GA="GlobalHandlers",FA=((a={})=>{const r={onerror:!0,onunhandledrejection:!0,...a};return{name:GA,setupOnce(){Error.stackTraceLimit=50},setup(l){r.onerror&&(YA(l),_g("onerror")),r.onunhandledrejection&&($A(l),_g("onunhandledrejection"))}}}),VA=FA;function YA(a){ZS(r=>{const{stackParser:l,attachStacktrace:s}=J0();if(ht()!==a||Q0())return;const{msg:c,url:f,line:p,column:m,error:g}=r,y=XA(hd(l,g||c,void 0,s,!1),f,p,m);y.level="error",U0(y,{originalException:g,mechanism:{handled:!1,type:"onerror"}})})}function $A(a){WS(r=>{const{stackParser:l,attachStacktrace:s}=J0();if(ht()!==a||Q0())return;const c=QA(r),f=ld(c)?ZA(c):hd(l,c,void 0,s,!0);f.level="error",U0(f,{originalException:c,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function QA(a){if(ld(a))return a;try{if("reason"in a)return a.reason;if("detail"in a&&"reason"in a.detail)return a.detail.reason}catch{}return a}function ZA(a){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(a)}`}]}}}function XA(a,r,l,s){const c=a.exception=a.exception||{},f=c.values=c.values||[],p=f[0]=f[0]||{},m=p.stacktrace=p.stacktrace||{},g=m.frames=m.frames||[],y=s,E=l,S=na(r)&&r.length>0?r:iE();return g.length===0&&g.push({colno:y,filename:S,function:cr,in_app:!0,lineno:E}),a}function _g(a){Ua&&oe.log(`Global Handler attached: ${a}`)}function J0(){const a=ht();return a&&a.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const WA=()=>({name:"HttpContext",preprocessEvent(a){if(!Ce.navigator&&!Ce.location&&!Ce.document)return;const r=a.request&&a.request.url||Ce.location&&Ce.location.href,{referrer:l}=Ce.document||{},{userAgent:s}=Ce.navigator||{},c={...a.request&&a.request.headers,...l&&{Referer:l},...s&&{"User-Agent":s}},f={...a.request,...r&&{url:r},headers:c};a.request=f}}),KA="cause",JA=5,eT="LinkedErrors",tT=((a={})=>{const r=a.limit||JA,l=a.key||KA;return{name:eT,preprocessEvent(s,c,f){const p=f.getOptions();S1(pd,p.stackParser,p.maxValueLength,l,r,s,c)}}}),nT=tT;function aT(a){const r=[c1(),l1(),K0(),wA(),VA(),nT(),O1(),WA()];return a.autoSessionTracking!==!1&&r.push(PA()),r}function rT(a={}){const r={defaultIntegrations:aT(a),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Ce.SENTRY_RELEASE&&Ce.SENTRY_RELEASE.id?Ce.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return a.defaultIntegrations==null&&delete a.defaultIntegrations,{...r,...a}}function iT(){const a=typeof Ce.window<"u"&&Ce;if(!a)return!1;const r=a.chrome?"chrome":"browser",l=a[r],s=l&&l.runtime&&l.runtime.id,c=Ce.location&&Ce.location.href||"",f=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],p=!!s&&Ce===Ce.top&&f.some(g=>c.startsWith(`${g}//`)),m=typeof a.nw<"u";return!!s&&!p&&!m}function lT(a={}){const r=rT(a);if(!r.skipBrowserExtensionCheck&&iT()){gr(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}Ua&&($0()||oe.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const l={...r,stackParser:$S(r.stackParser||AA),integrations:IC(r),transport:r.transport||fA};return $C(K1,l)}function Sg(a={}){if(!Ce.document){Ua&&oe.error("Global document not defined in showReportDialog call");return}const r=gn(),l=r.getClient(),s=l&&l.getDsn();if(!s){Ua&&oe.error("DSN not configured for showReportDialog call");return}if(r&&(a.user={...r.getUser(),...a.user}),!a.eventId){const m=NC();m&&(a.eventId=m)}const c=Ce.document.createElement("script");c.async=!0,c.crossOrigin="anonymous",c.src=BC(s,a),a.onLoad&&(c.onload=a.onLoad);const{onClose:f}=a;if(f){const m=g=>{if(g.data==="__sentry_reportdialog_closed__")try{f()}finally{Ce.removeEventListener("message",m)}};Ce.addEventListener("message",m)}const p=Ce.document.head||Ce.document.body;p?p.appendChild(c):Ua&&oe.error("Not injecting report dialog. No injection point found in HTML")}const oT={replayIntegration:"replay",replayCanvasIntegration:"replay-canvas",feedbackIntegration:"feedback",feedbackModalIntegration:"feedback-modal",feedbackScreenshotIntegration:"feedback-screenshot",captureConsoleIntegration:"captureconsole",contextLinesIntegration:"contextlines",linkedErrorsIntegration:"linkederrors",debugIntegration:"debug",dedupeIntegration:"dedupe",extraErrorDataIntegration:"extraerrordata",httpClientIntegration:"httpclient",reportingObserverIntegration:"reportingobserver",rewriteFramesIntegration:"rewriteframes",sessionTimingIntegration:"sessiontiming",browserProfilingIntegration:"browserprofiling",moduleMetadataIntegration:"modulemetadata"},Eg=Ce;async function sT(a,r){const l=oT[a],s=Eg.Sentry=Eg.Sentry||{},c=s[a];if(typeof c=="function"&&!("_isShim"in c))return c;const f=uT(l),p=Ce.document.createElement("script");p.src=f,p.crossOrigin="anonymous",p.referrerPolicy="origin";const m=new Promise((S,U)=>{p.addEventListener("load",()=>S()),p.addEventListener("error",U)}),g=Ce.document.currentScript,y=Ce.document.body||Ce.document.head||g&&g.parentElement;if(y)y.appendChild(p);else throw new Error(`Could not find parent element to insert lazy-loaded ${a} script`);try{await m}catch{throw new Error(`Error when loading integration: ${a}`)}const E=s[a];if(typeof E!="function")throw new Error(`Could not load integration: ${a}`);return E}function uT(a){const r=ht(),l=r&&r.getOptions(),s=l&&l.cdnBaseUrl||"https://browser.sentry-cdn.com";return new URL(`/${Ha}/${a}.min.js`,s).toString()}function cT(a){const r={...a};return G0(r,"react"),kC("react",{version:T.version}),lT(r)}function fT(a){const r=a.match(/^([^.]+)/);return r!==null&&parseInt(r[0])>=17}function dT(a,r){const l=new WeakSet;function s(c,f){if(!l.has(c)){if(c.cause)return l.add(c),s(c.cause,f);c.cause=f}}s(a,r)}function pT(a,{componentStack:r},l){if(fT(T.version)&&Ms(a)&&r){const s=new Error(a.message);s.name=`React ErrorBoundary ${a.name}`,s.stack=r,dT(a,s)}return _r(a,{...l,captureContext:{contexts:{react:{componentStack:r}}}})}var cf={exports:{}},He={};/** @license React v16.13.1
|
|
66
|
+
* react-is.production.min.js
|
|
67
|
+
*
|
|
68
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
69
|
+
*
|
|
70
|
+
* This source code is licensed under the MIT license found in the
|
|
71
|
+
* LICENSE file in the root directory of this source tree.
|
|
72
|
+
*/var Cg;function mT(){if(Cg)return He;Cg=1;var a=typeof Symbol=="function"&&Symbol.for,r=a?Symbol.for("react.element"):60103,l=a?Symbol.for("react.portal"):60106,s=a?Symbol.for("react.fragment"):60107,c=a?Symbol.for("react.strict_mode"):60108,f=a?Symbol.for("react.profiler"):60114,p=a?Symbol.for("react.provider"):60109,m=a?Symbol.for("react.context"):60110,g=a?Symbol.for("react.async_mode"):60111,y=a?Symbol.for("react.concurrent_mode"):60111,E=a?Symbol.for("react.forward_ref"):60112,S=a?Symbol.for("react.suspense"):60113,U=a?Symbol.for("react.suspense_list"):60120,F=a?Symbol.for("react.memo"):60115,I=a?Symbol.for("react.lazy"):60116,K=a?Symbol.for("react.block"):60121,V=a?Symbol.for("react.fundamental"):60117,ne=a?Symbol.for("react.responder"):60118,Se=a?Symbol.for("react.scope"):60119;function ae(j){if(typeof j=="object"&&j!==null){var Ee=j.$$typeof;switch(Ee){case r:switch(j=j.type,j){case g:case y:case s:case f:case c:case S:return j;default:switch(j=j&&j.$$typeof,j){case m:case E:case I:case F:case p:return j;default:return Ee}}case l:return Ee}}}function de(j){return ae(j)===y}return He.AsyncMode=g,He.ConcurrentMode=y,He.ContextConsumer=m,He.ContextProvider=p,He.Element=r,He.ForwardRef=E,He.Fragment=s,He.Lazy=I,He.Memo=F,He.Portal=l,He.Profiler=f,He.StrictMode=c,He.Suspense=S,He.isAsyncMode=function(j){return de(j)||ae(j)===g},He.isConcurrentMode=de,He.isContextConsumer=function(j){return ae(j)===m},He.isContextProvider=function(j){return ae(j)===p},He.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===r},He.isForwardRef=function(j){return ae(j)===E},He.isFragment=function(j){return ae(j)===s},He.isLazy=function(j){return ae(j)===I},He.isMemo=function(j){return ae(j)===F},He.isPortal=function(j){return ae(j)===l},He.isProfiler=function(j){return ae(j)===f},He.isStrictMode=function(j){return ae(j)===c},He.isSuspense=function(j){return ae(j)===S},He.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===s||j===y||j===f||j===c||j===S||j===U||typeof j=="object"&&j!==null&&(j.$$typeof===I||j.$$typeof===F||j.$$typeof===p||j.$$typeof===m||j.$$typeof===E||j.$$typeof===V||j.$$typeof===ne||j.$$typeof===Se||j.$$typeof===K)},He.typeOf=ae,He}var Ag;function hT(){return Ag||(Ag=1,cf.exports=mT()),cf.exports}var ff,Tg;function yT(){if(Tg)return ff;Tg=1;var a=hT(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},f={};f[a.ForwardRef]=s,f[a.Memo]=c;function p(I){return a.isMemo(I)?c:f[I.$$typeof]||r}var m=Object.defineProperty,g=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,E=Object.getOwnPropertyDescriptor,S=Object.getPrototypeOf,U=Object.prototype;function F(I,K,V){if(typeof K!="string"){if(U){var ne=S(K);ne&&ne!==U&&F(I,ne,V)}var Se=g(K);y&&(Se=Se.concat(y(K)));for(var ae=p(I),de=p(K),j=0;j<Se.length;++j){var Ee=Se[j];if(!l[Ee]&&!(V&&V[Ee])&&!(de&&de[Ee])&&!(ae&&ae[Ee])){var $=E(K,Ee);try{m(I,Ee,$)}catch{}}}}return I}return ff=F,ff}yT();const gT=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,Mg={componentStack:null,error:null,eventId:null};class yd extends T.Component{constructor(r){super(r),yd.prototype.__init.call(this),this.state=Mg,this._openFallbackReportDialog=!0;const l=ht();l&&r.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=l.on("afterSendEvent",s=>{!s.type&&this._lastEventId&&s.event_id===this._lastEventId&&Sg({...r.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(r,l){const{componentStack:s}=l,c=s??void 0,{beforeCapture:f,onError:p,showDialog:m,dialogOptions:g}=this.props;xs(y=>{f&&f(y,r,c);const E=this.props.handled!=null?this.props.handled:!!this.props.fallback,S=pT(r,l,{mechanism:{handled:E}});p&&p(r,c,S),m&&(this._lastEventId=S,this._openFallbackReportDialog&&Sg({...g,eventId:S})),this.setState({error:r,componentStack:s,eventId:S})})}componentDidMount(){const{onMount:r}=this.props;r&&r()}componentWillUnmount(){const{error:r,componentStack:l,eventId:s}=this.state,{onUnmount:c}=this.props;c&&c(r,l,s),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}__init(){this.resetErrorBoundary=()=>{const{onReset:r}=this.props,{error:l,componentStack:s,eventId:c}=this.state;r&&r(l,s,c),this.setState(Mg)}}render(){const{fallback:r,children:l}=this.props,s=this.state;if(s.error){let c;return typeof r=="function"?c=T.createElement(r,{error:s.error,componentStack:s.componentStack,resetError:this.resetErrorBoundary,eventId:s.eventId}):c=r,T.isValidElement(c)?c:(r&&gT&&oe.warn("fallback did not produce a valid ReactElement"),null)}return typeof l=="function"?l():l}}var vT=Object.defineProperty,gd=(a,r)=>vT(a,"name",{value:r,configurable:!0});function If(a,r){if(typeof a=="function")return a(r);a!=null&&(a.current=r)}gd(If,"setRef");function ev(...a){return r=>{let l=!1;const s=a.map(c=>{const f=If(c,r);return!l&&typeof f=="function"&&(l=!0),f});if(l)return()=>{for(let c=0;c<s.length;c++){const f=s[c];typeof f=="function"?f():If(a[c],null)}}}}gd(ev,"composeRefs");function tv(...a){return T.useCallback(ev(...a),a)}gd(tv,"useComposedRefs");var bT=Object.defineProperty,vn=(a,r)=>bT(a,"name",{value:r,configurable:!0});function nv(a){const r=T.forwardRef((l,s)=>{let{children:c,...f}=l,p=null,m=!1;const g=[];qf(c)&&typeof ls=="function"&&(c=ls(c._payload)),T.Children.forEach(c,U=>{if(lv(U)){m=!0;const F=U;let I="child"in F.props?F.props.child:F.props.children;qf(I)&&typeof ls=="function"&&(I=ls(I._payload)),p=ET(F,I),g.push(p?.props?.children)}else g.push(U)}),p?p=T.cloneElement(p,void 0,g):!m&&T.Children.count(c)===1&&T.isValidElement(c)&&(p=c);const y=p?iv(p):void 0,E=tv(s,y);if(!p){if(c||c===0)throw new Error(m?TT(a):AT(a));return c}const S=rv(f,p.props??{});return p.type!==T.Fragment&&(S.ref=s?E:y),T.cloneElement(p,S)});return r.displayName=`${a}.Slot`,r}vn(nv,"createSlot");var _T=nv("Slot"),av=Symbol.for("radix.slottable");function ST(a){const r=vn(l=>"child"in l?l.children(l.child):l.children,"Slottable");return r.displayName=`${a}.Slottable`,r.__radixId=av,r}vn(ST,"createSlottable");var ET=vn((a,r)=>{if("child"in a.props){const l=a.props.child;return T.isValidElement(l)?T.cloneElement(l,void 0,a.props.children(l.props.children)):null}return T.isValidElement(r)?r:null},"getSlottableElementFromSlottable");function rv(a,r){const l={...r};for(const s in r){const c=a[s],f=r[s];/^on[A-Z]/.test(s)?c&&f?l[s]=(...m)=>{const g=f(...m);return c(...m),g}:c&&(l[s]=c):s==="style"?l[s]={...c,...f}:s==="className"&&(l[s]=[c,f].filter(Boolean).join(" "))}return{...a,...l}}vn(rv,"mergeProps");function iv(a){let r=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning;return l?a.ref:(r=Object.getOwnPropertyDescriptor(a,"ref")?.get,l=r&&"isReactWarning"in r&&r.isReactWarning,l?a.props.ref:a.props.ref||a.ref)}vn(iv,"getElementRef");function lv(a){return T.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===av}vn(lv,"isSlottable");var CT=Symbol.for("react.lazy");function qf(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===CT&&"_payload"in a&&ov(a._payload)}vn(qf,"isLazyComponent");function ov(a){return typeof a=="object"&&a!==null&&"then"in a}vn(ov,"isPromiseLike");var AT=vn(a=>`${a} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),TT=vn(a=>`${a} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),ls=zS[" use ".trim().toString()];function sv(a){var r,l,s="";if(typeof a=="string"||typeof a=="number")s+=a;else if(typeof a=="object")if(Array.isArray(a)){var c=a.length;for(r=0;r<c;r++)a[r]&&(l=sv(a[r]))&&(s&&(s+=" "),s+=l)}else for(l in a)a[l]&&(s&&(s+=" "),s+=l);return s}function uv(){for(var a,r,l=0,s="",c=arguments.length;l<c;l++)(a=arguments[l])&&(r=sv(a))&&(s&&(s+=" "),s+=r);return s}const wg=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,Og=uv,MT=(a,r)=>l=>{var s;if(r?.variants==null)return Og(a,l?.class,l?.className);const{variants:c,defaultVariants:f}=r,p=Object.keys(c).map(y=>{const E=l?.[y],S=f?.[y];if(E===null)return null;const U=wg(E)||wg(S);return c[y][U]}),m=l&&Object.entries(l).reduce((y,E)=>{let[S,U]=E;return U===void 0||(y[S]=U),y},{}),g=r==null||(s=r.compoundVariants)===null||s===void 0?void 0:s.reduce((y,E)=>{let{class:S,className:U,...F}=E;return Object.entries(F).every(I=>{let[K,V]=I;return Array.isArray(V)?V.includes({...f,...m}[K]):{...f,...m}[K]===V})?[...y,S,U]:y},[]);return Og(a,p,g,l?.class,l?.className)},vd="-",wT=a=>{const r=RT(a),{conflictingClassGroups:l,conflictingClassGroupModifiers:s}=a;return{getClassGroupId:p=>{const m=p.split(vd);return m[0]===""&&m.length!==1&&m.shift(),cv(m,r)||OT(p)},getConflictingClassGroupIds:(p,m)=>{const g=l[p]||[];return m&&s[p]?[...g,...s[p]]:g}}},cv=(a,r)=>{if(a.length===0)return r.classGroupId;const l=a[0],s=r.nextPart.get(l),c=s?cv(a.slice(1),s):void 0;if(c)return c;if(r.validators.length===0)return;const f=a.join(vd);return r.validators.find(({validator:p})=>p(f))?.classGroupId},Rg=/^\[(.+)\]$/,OT=a=>{if(Rg.test(a)){const r=Rg.exec(a)[1],l=r?.substring(0,r.indexOf(":"));if(l)return"arbitrary.."+l}},RT=a=>{const{theme:r,prefix:l}=a,s={nextPart:new Map,validators:[]};return xT(Object.entries(a.classGroups),l).forEach(([f,p])=>{Pf(p,s,f,r)}),s},Pf=(a,r,l,s)=>{a.forEach(c=>{if(typeof c=="string"){const f=c===""?r:Dg(r,c);f.classGroupId=l;return}if(typeof c=="function"){if(DT(c)){Pf(c(s),r,l,s);return}r.validators.push({validator:c,classGroupId:l});return}Object.entries(c).forEach(([f,p])=>{Pf(p,Dg(r,f),l,s)})})},Dg=(a,r)=>{let l=a;return r.split(vd).forEach(s=>{l.nextPart.has(s)||l.nextPart.set(s,{nextPart:new Map,validators:[]}),l=l.nextPart.get(s)}),l},DT=a=>a.isThemeGetter,xT=(a,r)=>r?a.map(([l,s])=>{const c=s.map(f=>typeof f=="string"?r+f:typeof f=="object"?Object.fromEntries(Object.entries(f).map(([p,m])=>[r+p,m])):f);return[l,c]}):a,kT=a=>{if(a<1)return{get:()=>{},set:()=>{}};let r=0,l=new Map,s=new Map;const c=(f,p)=>{l.set(f,p),r++,r>a&&(r=0,s=l,l=new Map)};return{get(f){let p=l.get(f);if(p!==void 0)return p;if((p=s.get(f))!==void 0)return c(f,p),p},set(f,p){l.has(f)?l.set(f,p):c(f,p)}}},fv="!",NT=a=>{const{separator:r,experimentalParseClassName:l}=a,s=r.length===1,c=r[0],f=r.length,p=m=>{const g=[];let y=0,E=0,S;for(let V=0;V<m.length;V++){let ne=m[V];if(y===0){if(ne===c&&(s||m.slice(V,V+f)===r)){g.push(m.slice(E,V)),E=V+f;continue}if(ne==="/"){S=V;continue}}ne==="["?y++:ne==="]"&&y--}const U=g.length===0?m:m.substring(E),F=U.startsWith(fv),I=F?U.substring(1):U,K=S&&S>E?S-E:void 0;return{modifiers:g,hasImportantModifier:F,baseClassName:I,maybePostfixModifierPosition:K}};return l?m=>l({className:m,parseClassName:p}):p},LT=a=>{if(a.length<=1)return a;const r=[];let l=[];return a.forEach(s=>{s[0]==="["?(r.push(...l.sort(),s),l=[]):l.push(s)}),r.push(...l.sort()),r},HT=a=>({cache:kT(a.cacheSize),parseClassName:NT(a),...wT(a)}),UT=/\s+/,zT=(a,r)=>{const{parseClassName:l,getClassGroupId:s,getConflictingClassGroupIds:c}=r,f=[],p=a.trim().split(UT);let m="";for(let g=p.length-1;g>=0;g-=1){const y=p[g],{modifiers:E,hasImportantModifier:S,baseClassName:U,maybePostfixModifierPosition:F}=l(y);let I=!!F,K=s(I?U.substring(0,F):U);if(!K){if(!I){m=y+(m.length>0?" "+m:m);continue}if(K=s(U),!K){m=y+(m.length>0?" "+m:m);continue}I=!1}const V=LT(E).join(":"),ne=S?V+fv:V,Se=ne+K;if(f.includes(Se))continue;f.push(Se);const ae=c(K,I);for(let de=0;de<ae.length;++de){const j=ae[de];f.push(ne+j)}m=y+(m.length>0?" "+m:m)}return m};function BT(){let a=0,r,l,s="";for(;a<arguments.length;)(r=arguments[a++])&&(l=dv(r))&&(s&&(s+=" "),s+=l);return s}const dv=a=>{if(typeof a=="string")return a;let r,l="";for(let s=0;s<a.length;s++)a[s]&&(r=dv(a[s]))&&(l&&(l+=" "),l+=r);return l};function xg(a,...r){let l,s,c,f=p;function p(g){const y=r.reduce((E,S)=>S(E),a());return l=HT(y),s=l.cache.get,c=l.cache.set,f=m,m(g)}function m(g){const y=s(g);if(y)return y;const E=zT(g,l);return c(g,E),E}return function(){return f(BT.apply(null,arguments))}}const We=a=>{const r=l=>l[a]||[];return r.isThemeGetter=!0,r},pv=/^\[(?:([a-z-]+):)?(.+)\]$/i,jT=/^\d+\/\d+$/,IT=new Set(["px","full","screen"]),qT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,PT=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,GT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,FT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,VT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Kn=a=>ci(a)||IT.has(a)||jT.test(a),xa=a=>bi(a,"length",JT),ci=a=>!!a&&!Number.isNaN(Number(a)),df=a=>bi(a,"number",ci),vl=a=>!!a&&Number.isInteger(Number(a)),YT=a=>a.endsWith("%")&&ci(a.slice(0,-1)),_e=a=>pv.test(a),ka=a=>qT.test(a),$T=new Set(["length","size","percentage"]),QT=a=>bi(a,$T,mv),ZT=a=>bi(a,"position",mv),XT=new Set(["image","url"]),WT=a=>bi(a,XT,tM),KT=a=>bi(a,"",eM),bl=()=>!0,bi=(a,r,l)=>{const s=pv.exec(a);return s?s[1]?typeof r=="string"?s[1]===r:r.has(s[1]):l(s[2]):!1},JT=a=>PT.test(a)&&!GT.test(a),mv=()=>!1,eM=a=>FT.test(a),tM=a=>VT.test(a),kg=()=>{const a=We("colors"),r=We("spacing"),l=We("blur"),s=We("brightness"),c=We("borderColor"),f=We("borderRadius"),p=We("borderSpacing"),m=We("borderWidth"),g=We("contrast"),y=We("grayscale"),E=We("hueRotate"),S=We("invert"),U=We("gap"),F=We("gradientColorStops"),I=We("gradientColorStopPositions"),K=We("inset"),V=We("margin"),ne=We("opacity"),Se=We("padding"),ae=We("saturate"),de=We("scale"),j=We("sepia"),Ee=We("skew"),$=We("space"),Ue=We("translate"),je=()=>["auto","contain","none"],rt=()=>["auto","hidden","clip","visible","scroll"],se=()=>["auto",_e,r],Q=()=>[_e,r],Re=()=>["",Kn,xa],Qe=()=>["auto",ci,_e],et=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],R=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],J=()=>["start","end","center","between","around","evenly","stretch"],ge=()=>["","0",_e],Me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>[ci,_e];return{cacheSize:500,separator:":",theme:{colors:[bl],spacing:[Kn,xa],blur:["none","",ka,_e],brightness:b(),borderColor:[a],borderRadius:["none","","full",ka,_e],borderSpacing:Q(),borderWidth:Re(),contrast:b(),grayscale:ge(),hueRotate:b(),invert:ge(),gap:Q(),gradientColorStops:[a],gradientColorStopPositions:[YT,xa],inset:se(),margin:se(),opacity:b(),padding:Q(),saturate:b(),scale:b(),sepia:ge(),skew:b(),space:Q(),translate:Q()},classGroups:{aspect:[{aspect:["auto","square","video",_e]}],container:["container"],columns:[{columns:[ka]}],"break-after":[{"break-after":Me()}],"break-before":[{"break-before":Me()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...et(),_e]}],overflow:[{overflow:rt()}],"overflow-x":[{"overflow-x":rt()}],"overflow-y":[{"overflow-y":rt()}],overscroll:[{overscroll:je()}],"overscroll-x":[{"overscroll-x":je()}],"overscroll-y":[{"overscroll-y":je()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[K]}],"inset-x":[{"inset-x":[K]}],"inset-y":[{"inset-y":[K]}],start:[{start:[K]}],end:[{end:[K]}],top:[{top:[K]}],right:[{right:[K]}],bottom:[{bottom:[K]}],left:[{left:[K]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",vl,_e]}],basis:[{basis:se()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_e]}],grow:[{grow:ge()}],shrink:[{shrink:ge()}],order:[{order:["first","last","none",vl,_e]}],"grid-cols":[{"grid-cols":[bl]}],"col-start-end":[{col:["auto",{span:["full",vl,_e]},_e]}],"col-start":[{"col-start":Qe()}],"col-end":[{"col-end":Qe()}],"grid-rows":[{"grid-rows":[bl]}],"row-start-end":[{row:["auto",{span:[vl,_e]},_e]}],"row-start":[{"row-start":Qe()}],"row-end":[{"row-end":Qe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",_e]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",_e]}],gap:[{gap:[U]}],"gap-x":[{"gap-x":[U]}],"gap-y":[{"gap-y":[U]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[Se]}],px:[{px:[Se]}],py:[{py:[Se]}],ps:[{ps:[Se]}],pe:[{pe:[Se]}],pt:[{pt:[Se]}],pr:[{pr:[Se]}],pb:[{pb:[Se]}],pl:[{pl:[Se]}],m:[{m:[V]}],mx:[{mx:[V]}],my:[{my:[V]}],ms:[{ms:[V]}],me:[{me:[V]}],mt:[{mt:[V]}],mr:[{mr:[V]}],mb:[{mb:[V]}],ml:[{ml:[V]}],"space-x":[{"space-x":[$]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[$]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",_e,r]}],"min-w":[{"min-w":[_e,r,"min","max","fit"]}],"max-w":[{"max-w":[_e,r,"none","full","min","max","fit","prose",{screen:[ka]},ka]}],h:[{h:[_e,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[_e,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[_e,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[_e,r,"auto","min","max","fit"]}],"font-size":[{text:["base",ka,xa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",df]}],"font-family":[{font:[bl]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",_e]}],"line-clamp":[{"line-clamp":["none",ci,df]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Kn,_e]}],"list-image":[{"list-image":["none",_e]}],"list-style-type":[{list:["none","disc","decimal",_e]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[a]}],"placeholder-opacity":[{"placeholder-opacity":[ne]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[a]}],"text-opacity":[{"text-opacity":[ne]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...R(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Kn,xa]}],"underline-offset":[{"underline-offset":["auto",Kn,_e]}],"text-decoration-color":[{decoration:[a]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_e]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_e]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[ne]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...et(),ZT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",QT]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},WT]}],"bg-color":[{bg:[a]}],"gradient-from-pos":[{from:[I]}],"gradient-via-pos":[{via:[I]}],"gradient-to-pos":[{to:[I]}],"gradient-from":[{from:[F]}],"gradient-via":[{via:[F]}],"gradient-to":[{to:[F]}],rounded:[{rounded:[f]}],"rounded-s":[{"rounded-s":[f]}],"rounded-e":[{"rounded-e":[f]}],"rounded-t":[{"rounded-t":[f]}],"rounded-r":[{"rounded-r":[f]}],"rounded-b":[{"rounded-b":[f]}],"rounded-l":[{"rounded-l":[f]}],"rounded-ss":[{"rounded-ss":[f]}],"rounded-se":[{"rounded-se":[f]}],"rounded-ee":[{"rounded-ee":[f]}],"rounded-es":[{"rounded-es":[f]}],"rounded-tl":[{"rounded-tl":[f]}],"rounded-tr":[{"rounded-tr":[f]}],"rounded-br":[{"rounded-br":[f]}],"rounded-bl":[{"rounded-bl":[f]}],"border-w":[{border:[m]}],"border-w-x":[{"border-x":[m]}],"border-w-y":[{"border-y":[m]}],"border-w-s":[{"border-s":[m]}],"border-w-e":[{"border-e":[m]}],"border-w-t":[{"border-t":[m]}],"border-w-r":[{"border-r":[m]}],"border-w-b":[{"border-b":[m]}],"border-w-l":[{"border-l":[m]}],"border-opacity":[{"border-opacity":[ne]}],"border-style":[{border:[...R(),"hidden"]}],"divide-x":[{"divide-x":[m]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[m]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[ne]}],"divide-style":[{divide:R()}],"border-color":[{border:[c]}],"border-color-x":[{"border-x":[c]}],"border-color-y":[{"border-y":[c]}],"border-color-s":[{"border-s":[c]}],"border-color-e":[{"border-e":[c]}],"border-color-t":[{"border-t":[c]}],"border-color-r":[{"border-r":[c]}],"border-color-b":[{"border-b":[c]}],"border-color-l":[{"border-l":[c]}],"divide-color":[{divide:[c]}],"outline-style":[{outline:["",...R()]}],"outline-offset":[{"outline-offset":[Kn,_e]}],"outline-w":[{outline:[Kn,xa]}],"outline-color":[{outline:[a]}],"ring-w":[{ring:Re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[a]}],"ring-opacity":[{"ring-opacity":[ne]}],"ring-offset-w":[{"ring-offset":[Kn,xa]}],"ring-offset-color":[{"ring-offset":[a]}],shadow:[{shadow:["","inner","none",ka,KT]}],"shadow-color":[{shadow:[bl]}],opacity:[{opacity:[ne]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[l]}],brightness:[{brightness:[s]}],contrast:[{contrast:[g]}],"drop-shadow":[{"drop-shadow":["","none",ka,_e]}],grayscale:[{grayscale:[y]}],"hue-rotate":[{"hue-rotate":[E]}],invert:[{invert:[S]}],saturate:[{saturate:[ae]}],sepia:[{sepia:[j]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[l]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[g]}],"backdrop-grayscale":[{"backdrop-grayscale":[y]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[E]}],"backdrop-invert":[{"backdrop-invert":[S]}],"backdrop-opacity":[{"backdrop-opacity":[ne]}],"backdrop-saturate":[{"backdrop-saturate":[ae]}],"backdrop-sepia":[{"backdrop-sepia":[j]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[p]}],"border-spacing-x":[{"border-spacing-x":[p]}],"border-spacing-y":[{"border-spacing-y":[p]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",_e]}],duration:[{duration:b()}],ease:[{ease:["linear","in","out","in-out",_e]}],delay:[{delay:b()}],animate:[{animate:["none","spin","ping","pulse","bounce",_e]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[de]}],"scale-x":[{"scale-x":[de]}],"scale-y":[{"scale-y":[de]}],rotate:[{rotate:[vl,_e]}],"translate-x":[{"translate-x":[Ue]}],"translate-y":[{"translate-y":[Ue]}],"skew-x":[{"skew-x":[Ee]}],"skew-y":[{"skew-y":[Ee]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_e]}],accent:[{accent:["auto",a]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",_e]}],"caret-color":[{caret:[a]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":Q()}],"scroll-mx":[{"scroll-mx":Q()}],"scroll-my":[{"scroll-my":Q()}],"scroll-ms":[{"scroll-ms":Q()}],"scroll-me":[{"scroll-me":Q()}],"scroll-mt":[{"scroll-mt":Q()}],"scroll-mr":[{"scroll-mr":Q()}],"scroll-mb":[{"scroll-mb":Q()}],"scroll-ml":[{"scroll-ml":Q()}],"scroll-p":[{"scroll-p":Q()}],"scroll-px":[{"scroll-px":Q()}],"scroll-py":[{"scroll-py":Q()}],"scroll-ps":[{"scroll-ps":Q()}],"scroll-pe":[{"scroll-pe":Q()}],"scroll-pt":[{"scroll-pt":Q()}],"scroll-pr":[{"scroll-pr":Q()}],"scroll-pb":[{"scroll-pb":Q()}],"scroll-pl":[{"scroll-pl":Q()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_e]}],fill:[{fill:[a,"none"]}],"stroke-w":[{stroke:[Kn,xa,df]}],stroke:[{stroke:[a,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},nM=(a,{cacheSize:r,prefix:l,separator:s,experimentalParseClassName:c,extend:f={},override:p={}})=>{El(a,"cacheSize",r),El(a,"prefix",l),El(a,"separator",s),El(a,"experimentalParseClassName",c);for(const m in p)aM(a[m],p[m]);for(const m in f)rM(a[m],f[m]);return a},El=(a,r,l)=>{l!==void 0&&(a[r]=l)},aM=(a,r)=>{if(r)for(const l in r)El(a,l,r[l])},rM=(a,r)=>{if(r)for(const l in r){const s=r[l];s!==void 0&&(a[l]=(a[l]||[]).concat(s))}},iM=(a,...r)=>typeof a=="function"?xg(kg,a,...r):xg(()=>nM(kg(),a),...r);var lM=iM({prefix:"cds-"});function ra(...a){return lM(uv(a))}var oM=MT("cds-inline-flex cds-items-center cds-justify-center cds-gap-2 cds-whitespace-nowrap cds-rounded-xl cds-text-sm cds-font-medium cds-transition-all cds-duration-300 focus-visible:cds-outline-none focus-visible:cds-ring-2 focus-visible:cds-ring-ring focus-visible:cds-ring-offset-2 focus-visible:cds-ring-offset-background disabled:cds-pointer-events-none disabled:cds-opacity-50 [&_svg]:cds-pointer-events-none [&_svg]:cds-size-4 [&_svg]:cds-shrink-0",{variants:{variant:{default:"cds-bg-primary cds-text-primary-foreground hover:cds-bg-primary/90 cds-shadow-md cds-shadow-primary/20",destructive:"cds-bg-destructive cds-text-destructive-foreground hover:cds-bg-destructive/90",outline:"cds-border cds-border-input cds-bg-background cds-text-fg hover:cds-bg-accent hover:cds-text-accent-foreground",surface:"cds-bg-surface cds-text-fg hover:cds-bg-surface/80",ghost:"cds-text-fg hover:cds-bg-accent hover:cds-text-accent-foreground",link:"cds-text-primary cds-underline-offset-4 hover:cds-underline",hero:"cds-bg-gradient-to-r cds-from-cta-from cds-to-cta-to cds-text-cta-foreground cds-font-semibold cds-shadow-lg cds-shadow-glow/25 hover:cds-shadow-xl hover:cds-shadow-glow/30 hover:cds-scale-[1.02] active:cds-scale-[0.98]",glass:"cds-bg-surface-elevated cds-border cds-border-glass-border cds-text-fg hover:cds-bg-surface-muted cds-shadow-sm"},size:{default:"cds-h-10 cds-px-4 cds-py-2",sm:"cds-h-9 cds-rounded-lg cds-px-3",lg:"cds-h-12 cds-rounded-xl cds-px-8 cds-text-base",xl:"cds-h-14 cds-rounded-2xl cds-px-10 cds-text-base",icon:"cds-h-10 cds-w-10"}},defaultVariants:{variant:"default",size:"default"}}),sM=T.forwardRef(({className:a,variant:r,size:l,asChild:s=!1,...c},f)=>{let p=ra(oM({variant:r,size:l}),a);return A.jsx(s?_T:"button",{className:p,ref:f,...c})});sM.displayName="Button";var uM="cds-w-full cds-rounded-lg cds-border cds-border-input cds-bg-background cds-px-3 cds-py-2.5 cds-text-base cds-text-fg placeholder:cds-text-fg-muted/70 focus:cds-border-primary focus:cds-outline-none focus:cds-ring-2 focus:cds-ring-ring/40 disabled:cds-cursor-not-allowed disabled:cds-opacity-50",mr="focus-visible:cds-outline-none focus-visible:cds-ring-2 focus-visible:cds-ring-ring focus-visible:cds-ring-offset-2 focus-visible:cds-ring-offset-background",bd=T.forwardRef(({className:a,...r},l)=>A.jsx("input",{ref:l,className:ra(uM,a),...r}));bd.displayName="Input";var hv=T.forwardRef(({className:a,...r},l)=>A.jsx("label",{ref:l,className:ra("cds-mb-1 cds-block cds-text-sm cds-font-semibold cds-text-fg",a),...r}));hv.displayName="Label";var cM=({onClick:a,disabled:r,children:l="Continue",className:s})=>A.jsx("button",{type:"button",disabled:r,onClick:a,className:ra("cds-mt-2 cds-w-full cds-rounded-xl cds-bg-accent cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-accent-foreground cds-transition-colors hover:cds-bg-accent/90 disabled:cds-cursor-not-allowed disabled:cds-opacity-50",mr,s),children:l}),Ng=({message:a})=>a?A.jsx("p",{role:"alert",className:"cds-mt-2 cds-text-sm cds-font-medium cds-text-destructive",children:a}):null,Gf="(512) 640-2609",yv="tel:+15126402609",gv=({label:a,hint:r,error:l,className:s,children:c})=>{let f=T.useId(),p=r?`${f}-hint`:void 0,m=l?`${f}-error`:void 0;return A.jsxs("div",{className:ra("cds-mb-4",s),children:[A.jsx(hv,{htmlFor:f,children:a}),c({id:f,hintId:p,errorId:m}),r?A.jsx("p",{id:p,className:"cds-mt-1 cds-text-xs cds-text-fg-muted",children:r}):null,l?A.jsx("p",{id:m,role:"alert",className:"cds-mt-1 cds-text-xs cds-font-medium cds-text-destructive",children:l}):null]})},fM=[[500,599,"NY"],[1e3,2799,"MA"],[2800,2999,"RI"],[3e3,3899,"NH"],[3900,4999,"ME"],[5e3,5999,"VT"],[6e3,6999,"CT"],[7e3,8999,"NJ"],[1e4,14999,"NY"],[15e3,19699,"PA"],[19700,19999,"DE"],[2e4,20599,"DC"],[20600,21999,"MD"],[22e3,24699,"VA"],[24700,26899,"WV"],[27e3,28999,"NC"],[29e3,29999,"SC"],[3e4,31999,"GA"],[32e3,34999,"FL"],[35e3,36999,"AL"],[37e3,38599,"TN"],[38600,39799,"MS"],[39800,39999,"GA"],[4e4,42799,"KY"],[43e3,45999,"OH"],[46e3,47999,"IN"],[48e3,49799,"MI"],[5e4,52899,"IA"],[53e3,54999,"WI"],[55e3,56799,"MN"],[57e3,57799,"SD"],[58e3,58899,"ND"],[59e3,59999,"MT"],[6e4,62999,"IL"],[63e3,65899,"MO"],[66e3,67999,"KS"],[68e3,69399,"NE"],[7e4,71499,"LA"],[71600,72999,"AR"],[73e3,73300,"OK"],[73301,73301,"TX"],[73302,74999,"OK"],[75e3,79999,"TX"],[8e4,81699,"CO"],[82e3,83199,"WY"],[83200,83899,"ID"],[84e3,84799,"UT"],[85e3,86599,"AZ"],[87e3,88499,"NM"],[88500,88599,"TX"],[88900,89899,"NV"],[9e4,96199,"CA"],[96700,96899,"HI"],[97e3,97999,"OR"],[98e3,99499,"WA"],[99500,99999,"AK"]],si=a=>{if(!/^\d{5}$/.test(a))return;let r=Number(a);return fM.find(([l,s])=>r>=l&&r<=s)?.[2]},Cl=a=>/^\d{5}$/.test(String(a??"").replace(/\D/g,"")),Ff=a=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(a??"").trim()),dM=({label:a,value:r,onChange:l,error:s,hint:c,className:f})=>A.jsx(gv,{label:a,error:s,hint:c,className:f,children:({id:p,hintId:m,errorId:g})=>A.jsx(bd,{id:p,type:"text",inputMode:"numeric",autoComplete:"postal-code",value:r,"aria-invalid":s?!0:void 0,"aria-describedby":[m,g].filter(Boolean).join(" ")||void 0,onChange:y=>l(y.target.value.replace(/\D/g,"").slice(0,5)),className:s?"cds-border-destructive":void 0})}),pM=({label:a,value:r,onChange:l,error:s,hint:c,className:f})=>A.jsx(gv,{label:a,error:s,hint:c,className:f,children:({id:p,hintId:m,errorId:g})=>A.jsx(bd,{id:p,type:"email",inputMode:"email",autoComplete:"email",placeholder:"you@example.com",value:r,"aria-invalid":s?!0:void 0,"aria-describedby":[m,g].filter(Boolean).join(" ")||void 0,onChange:y=>l(y.target.value),className:s?"cds-border-destructive":void 0})}),mM={h:222,s:47,l:6},hM=(a,r,l)=>Math.min(l,Math.max(r,a)),Lg=(a,r,l)=>{let s=a/255,c=r/255,f=l/255,p=Math.max(s,c,f),m=Math.min(s,c,f),g=p-m,y=(p+m)/2;if(g===0)return{h:0,s:0,l:y*100};let E=g/(1-Math.abs(2*y-1)),S;return S=p===s?(c-f)/g%6:p===c?(f-s)/g+2:(s-c)/g+4,S*=60,S<0&&(S+=360),{h:S,s:E*100,l:y*100}},yM=({h:a,s:r,l})=>{let s=r/100,c=l/100,f=(1-Math.abs(2*c-1))*s,p=(a%360+360)%360/60,m=f*(1-Math.abs(p%2-1)),g=c-f/2,y;return y=p<1?[f,m,0]:p<2?[m,f,0]:p<3?[0,f,m]:p<4?[0,m,f]:p<5?[m,0,f]:[f,0,m],[Math.round((y[0]+g)*255),Math.round((y[1]+g)*255),Math.round((y[2]+g)*255)]},gM=a=>{let r=a.trim().toLowerCase(),l=/^#([0-9a-f]{3}|[0-9a-f]{6})$/.exec(r);if(l?.[1]){let p=l[1],m=p.length===3?p.split("").map(y=>y+y).join(""):p,g=Number.parseInt(m,16);return Lg(g>>16&255,g>>8&255,g&255)}let s=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)/.exec(r);if(s?.[1]&&s[2]&&s[3])return Lg(Number(s[1]),Number(s[2]),Number(s[3]));let c=/^hsla?\(\s*([\d.]+)(?:deg)?[\s,]+([\d.]+)%[\s,]+([\d.]+)%/.exec(r);if(c?.[1]&&c[2]&&c[3])return{h:Number(c[1]),s:Number(c[2]),l:Number(c[3])};let f=/^([\d.]+)\s+([\d.]+)%\s+([\d.]+)%$/.exec(r);return f?.[1]&&f[2]&&f[3]?{h:Number(f[1]),s:Number(f[2]),l:Number(f[3])}:null},vM=({h:a,s:r,l})=>`${Math.round(a)} ${Math.round(r)}% ${Math.round(l)}%`,Hg=a=>{let[r,l,s]=yM(a),c=f=>{let p=f/255;return p<=.03928?p/12.92:((p+.055)/1.055)**2.4};return .2126*c(r)+.7152*c(l)+.0722*c(s)},Vf=(a,r)=>{let l=Hg(a),s=Hg(r),c=Math.max(l,s),f=Math.min(l,s);return(c+.05)/(f+.05)},bM=a=>{let r={h:a.h,s:Math.min(a.s,15),l:98},l={h:a.h,s:Math.min(a.s,40),l:12};return Vf(r,a)>=Vf(l,a)?r:l},_M=(a,r=3.2)=>{let l={h:a.h,s:hM(a.s*.9,0,100),l:a.l};for(;l.l<92&&Vf(l,mM)<r;)l.l+=2;return l},vs=(a,r)=>a?gM(a):null,pf=(a,r,l)=>{let s=vs(a);return{light:s,dark:vs(r)??(s?_M(s):null)}},os=(a,r,l)=>{l&&a.set(`--cds-${r}`,vM(l))},Ug=(a,r)=>{let l=new Map,s=(g,y)=>r==="light"?g:y;a.radius&&l.set("--cds-radius",a.radius);let c=pf(a.primary,a.primaryDark),f=pf(a.accent,a.accentDark),p=pf(a.destructive,a.destructiveDark);for(let[g,y]of[["primary",c],["accent",f],["destructive",p]]){let E=s(y.light,y.dark);os(l,g,E),E&&os(l,`${g}-foreground`,bM(E))}let m=[["background",a.background,a.backgroundDark],["surface",a.surface,a.surfaceDark],["text",a.text,a.textDark],["text-muted",a.textMuted,a.textMutedDark],["border",a.border,a.borderDark],["input",a.input,a.inputDark]];for(let[g,y,E]of m)os(l,g,vs(s(y,E)));return os(l,"ring",vs(s(a.ring,a.ringDark))??s(c.light,c.dark)),l},mf=(a,r,l="")=>r.size===0?"":`${l}${a} {
|
|
73
|
+
${[...r].map(([s,c])=>`${l} ${s}: ${c};`).join(`
|
|
74
|
+
`)}
|
|
75
|
+
${l}}
|
|
76
|
+
`,SM=(a,r)=>{let l=Ug(a,"light"),s=Ug(a,"dark"),c=[`${r}[data-cds-theme='dark']`,`.dark ${r}:not([data-cds-theme='light']):not([data-cds-theme='dark'])`].join(`,
|
|
77
|
+
`),f=mf(`${r}[data-cds-theme='auto']`,s," ");return[mf(r,l),mf(c,s),f?`@media (prefers-color-scheme: dark) {
|
|
78
|
+
${f}}
|
|
79
|
+
`:""].filter(Boolean).join(`
|
|
80
|
+
`)},zg="cds-theme-overrides",Bg=new WeakMap,Yf=new Map,$f=new Map,jg=0,EM=()=>{for(let[a,r]of $f){let l=r.deref();(!l||!l.isConnected)&&($f.delete(a),Yf.delete(a))}},CM=a=>{let r=a.getElementById(zg);if(r instanceof HTMLStyleElement)return r;let l=a.createElement("style");return l.id=zg,a.head.appendChild(l),l},AM=(a,r)=>{a.classList.add("credify-ui"),r.mode?a.setAttribute("data-cds-theme",r.mode):a.hasAttribute("data-cds-theme")||a.setAttribute("data-cds-theme","light");let l=Bg.get(a);l||(jg+=1,l=`cds-scope-${jg}`,Bg.set(a,l)),a.setAttribute("data-cds-scope",l),$f.set(l,new WeakRef(a)),EM(),Yf.set(l,SM(r,`[data-cds-scope='${l}']`)),CM(a.ownerDocument).textContent=[...Yf.values()].join(`
|
|
81
|
+
`)},vv=T.createContext({Link:"a",portalContainer:null}),OR=()=>T.useContext(vv).portalContainer,TM=({children:a,linkComponent:r="a",theme:l,mode:s,className:c,portalContainer:f=null})=>{let p=T.useRef(null),m=s??l?.mode??"light",g=l?JSON.stringify({...l,mode:m}):"",y=T.useRef(l);y.current=l,T.useEffect(()=>{let S=p.current,U=y.current;S&&U&&AM(S,{...U,mode:m})},[g]);let E=T.useMemo(()=>({Link:r,portalContainer:f}),[r,f]);return A.jsx(vv.Provider,{value:E,children:A.jsx("div",{ref:p,className:["credify-ui",c].filter(Boolean).join(" "),"data-cds-theme":m,children:a})})},bs={},MM=a=>{bs=a},Ig=new Set,cs=a=>{let r=`${a.code}:${a.detail??""}`;if(!Ig.has(r)){Ig.add(r);try{bs.onFailure?.(a)}catch{}}},qg=!1,hf,wM=()=>hf||(hf=new Promise(a=>{if(!bs.apiKey||typeof window>"u"){typeof window<"u"&&cs({code:"no_key"}),a(!1);return}if(window.google?.maps?.places){a(!0);return}if(qg){let s=Date.now(),c=()=>{window.google?.maps?.places?a(!0):Date.now()-s>8e3?a(!1):setTimeout(c,100)};c();return}qg=!0;let r=document.createElement("script");r.async=!0,r.src=`https://maps.googleapis.com/maps/api/js?key=${encodeURIComponent(bs.apiKey)}&libraries=places&loading=async&callback=credifyPlacesReady`,r.onerror=()=>{cs({code:"script_blocked"}),a(!1)};let l=window.gm_authFailure;window.gm_authFailure=()=>{cs({code:"auth_failed"}),l?.()},window.credifyPlacesReady=()=>a(!!window.google?.maps?.places),document.head.appendChild(r)}),hf),RR=async()=>{if(!await wM()||!window.google?.maps?.places)return null;let a=new window.google.maps.places.AutocompleteService;return r=>new Promise(l=>{a.getPlacePredictions({input:r,componentRestrictions:{country:"us"}},(s,c)=>{c&&c!=="OK"&&c!=="ZERO_RESULTS"&&cs({code:"request_denied",detail:c}),l((s??[]).slice(0,5))})})},Pg,DR=a=>new Promise(r=>{if(typeof window>"u"||!window.google?.maps?.places){r(null);return}Pg||=document.createElement("div"),new window.google.maps.places.PlacesService(Pg).getDetails({placeId:a,fields:["address_components"]},(l,s)=>{if(s!=="OK"||!l?.address_components){r(null);return}let c=l.address_components.find(f=>f.types.includes("postal_code"));r(c?.short_name??c?.long_name??null)})}),xR=a=>{let r=a.split(",").map(f=>f.trim()).filter(f=>f&&f.toUpperCase()!=="USA"),l=r[0]??"",s=r[r.length-1]??"",c=/^([A-Z]{2})(?:\s+(\d{5}))?$/.exec(s);return{line_1:l,city:(c?r[r.length-2]:r[1])??"",state:c?.[1]??"",postal_code:c?.[2]??""}},OM={Zip:{title:"Let's start with your ZIP code",subtitle:"It tells us which carriers can write a policy where you live.",short:"ZIP"},Email:{title:"Where should we send your quotes?",subtitle:"We email your quotes so you can come back to them later.",short:"Email"},Product:{title:"What's the address?",short:"Address"},Name:{title:"Who are we quoting?",subtitle:"Carriers need the name and date of birth on the policy.",short:"About you"},Home:{title:"Tell us about your home",subtitle:"We've filled in what public records show — correct anything that looks off.",short:"Your home"},HomePolicy:{title:"How much coverage do you need?",subtitle:"We've filled in typical amounts for a home like yours. Change anything — a licensed agent can fine-tune it with you later.",short:"Home coverage"},Vehicle:{title:"Which vehicles are we covering?",subtitle:"Add every vehicle you want on the policy.",short:"Vehicles"},Driver:{title:"Who drives them?",subtitle:"Include everyone in your household who drives these vehicles.",short:"Drivers"},AutoCurrentCarrier:{title:"Your current coverage, then your new one",subtitle:"Prior coverage history is one of the biggest factors in your rate.",short:"Auto coverage"},BundlePolicy:{title:"Your home and auto coverage",subtitle:"Set both sides of the bundle here.",short:"Coverage"},Demographics:{title:"About you, the applicant",subtitle:"These are your own details — the person the policy is issued to.",short:"Applicant info"},Ssn:{title:"Your Social Security number",subtitle:"Optional in most states, and it usually lowers your quote by improving the match.",short:"Applicant SSN"},Phone:{title:"Where can we reach you?",subtitle:"We'll text a code only when you choose a quote to move forward with.",short:"Phone"},SMSVerification:{title:"Verify your phone",subtitle:"Enter the 6-digit code we just texted you.",short:"Verify"}},RM=a=>({title:a.replace(/([a-z])([A-Z])/g,"$1 $2"),short:a.replace(/([a-z])([A-Z])/g,"$1 $2")}),DM={Home:{title:"What's your property address?",subtitle:"Carriers rate your home on its exact location.",short:"Address"},Auto:{title:"Where do you keep your vehicles?",subtitle:"Your garaging address drives most of your auto rate.",short:"Address"},Bundle:{title:"What's your property address?",subtitle:"We use it for both the home policy and where your vehicles are kept.",short:"Address"}},xM={Demographics:"These are your own details — the person the policy is issued to, not another driver.",Ssn:"The applicant's SSN, not a driver's. Optional in most states, and it usually lowers your quote by improving the match."},kM=new Set(["Auto","Bundle"]),NM=(a,r)=>{if(a==="Product"&&r)return DM[r];let l=OM[a]??RM(a),s=xM[a];return s&&r&&kM.has(r)?{...l,subtitle:s}:l},LM=new Set(["SMSVerification","Phone"]),HM={title:"Review your answers",subtitle:"Carriers price from exactly this — a quick check now avoids surprises later.",short:"Review"},UM={title:"Your quotes",short:"Quotes"},zM={Auto:{label:"Auto insurance",heading:"Compare real auto quotes",pageTitle:"Auto insurance quotes"},Home:{label:"Home insurance",heading:"Compare real home quotes",pageTitle:"Home insurance quotes"},Bundle:{label:"Home + auto bundle",heading:"Bundle home and auto",pageTitle:"Home and auto bundle quotes"}},BM=null,bv=()=>BM;const jM="modulepreload",IM=function(a){return"/iframe/"+a},Gg={},me=function(r,l,s){let c=Promise.resolve();if(l&&l.length>0){let g=function(y){return Promise.all(y.map(E=>Promise.resolve(E).then(S=>({status:"fulfilled",value:S}),S=>({status:"rejected",reason:S}))))};document.getElementsByTagName("link");const p=document.querySelector("meta[property=csp-nonce]"),m=p?.nonce||p?.getAttribute("nonce");c=g(l.map(y=>{if(y=IM(y),y in Gg)return;Gg[y]=!0;const E=y.endsWith(".css"),S=E?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${y}"]${S}`))return;const U=document.createElement("link");if(U.rel=E?"stylesheet":jM,E||(U.as="script"),U.crossOrigin="",U.href=y,m&&U.setAttribute("nonce",m),document.head.appendChild(U),E)return new Promise((F,I)=>{U.addEventListener("load",F),U.addEventListener("error",()=>I(new Error(`Unable to preload CSS for ${y}`)))})}))}function f(p){const m=new Event("vite:preloadError",{cancelable:!0});if(m.payload=p,window.dispatchEvent(m),!m.defaultPrevented)throw p}return c.then(p=>{for(const m of p||[])m.status==="rejected"&&f(m.reason);return r().catch(f)})};var Fg=Object.defineProperty,_v=(a,r)=>{let l={};for(var s in a)Fg(l,s,{get:a[s],enumerable:!0});return Fg(l,Symbol.toStringTag,{value:"Module"}),l};/**
|
|
82
|
+
* @license lucide-react v0.562.0 - ISC
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the ISC license.
|
|
85
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/const qM=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),PM=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,l,s)=>s?s.toUpperCase():l.toLowerCase()),Vg=a=>{const r=PM(a);return r.charAt(0).toUpperCase()+r.slice(1)},Sv=(...a)=>a.filter((r,l,s)=>!!r&&r.trim()!==""&&s.indexOf(r)===l).join(" ").trim(),GM=a=>{for(const r in a)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
|
|
87
|
+
* @license lucide-react v0.562.0 - ISC
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the ISC license.
|
|
90
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/var FM={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
92
|
+
* @license lucide-react v0.562.0 - ISC
|
|
93
|
+
*
|
|
94
|
+
* This source code is licensed under the ISC license.
|
|
95
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
+
*/const VM=T.forwardRef(({color:a="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:c="",children:f,iconNode:p,...m},g)=>T.createElement("svg",{ref:g,...FM,width:r,height:r,stroke:a,strokeWidth:s?Number(l)*24/Number(r):l,className:Sv("lucide",c),...!f&&!GM(m)&&{"aria-hidden":"true"},...m},[...p.map(([y,E])=>T.createElement(y,E)),...Array.isArray(f)?f:[f]]));/**
|
|
97
|
+
* @license lucide-react v0.562.0 - ISC
|
|
98
|
+
*
|
|
99
|
+
* This source code is licensed under the ISC license.
|
|
100
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
+
*/const YM=(a,r)=>{const l=T.forwardRef(({className:s,...c},f)=>T.createElement(VM,{ref:f,iconNode:r,className:Sv(`lucide-${qM(Vg(a))}`,`lucide-${a}`,s),...c}));return l.displayName=Vg(a),l};/**
|
|
102
|
+
* @license lucide-react v0.562.0 - ISC
|
|
103
|
+
*
|
|
104
|
+
* This source code is licensed under the ISC license.
|
|
105
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
+
*/const $M=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],QM=YM("triangle-alert",$M);var Ev=a=>{let r=a.replace(/\D/g,"").replace(/^1/,"").slice(0,10);return r.length<=3?r:r.length<=6?`(${r.slice(0,3)}) ${r.slice(3)}`:`(${r.slice(0,3)}) ${r.slice(3,6)}-${r.slice(6)}`},Cv=a=>{let r=String(a??"").replace(/\D/g,"");return(r.length===11&&r.startsWith("1")?r.slice(1):r).length===10},_d=a=>a.length<=3?a:a.length<=5?`${a.slice(0,3)}-${a.slice(3)}`:`${a.slice(0,3)}-${a.slice(3,5)}-${a.slice(5)}`,ZM=a=>_d(a.replace(/\D/g,"").slice(0,9)),XM="•",WM=5,KM=a=>{let r=a.replace(/\D/g,"").slice(0,9),l=Math.min(r.length,WM);return _d("•".repeat(l)+r.slice(l))},JM=(a,r)=>{let l=a.replace(/\D/g,""),s=r.split("•").length-1;return(l.slice(0,s)+r.replace(/\D/g,"")).slice(0,9)},Av={auto_prior_carrier_name:{NoPriorInsurance:"No Prior Insurance",TwentyFirstCentury:"21st Century",ACentral:"A.Central",AAA:"AAA",AARP:"AARP",Acadia:"Acadia",Ace:"Ace",Acuity:"Acuity",AdirondackInsExchange:"Adirondack Ins Exchange",Aegis:"Aegis",AIC:"AIC",AIG:"AIG",AlfaAlliance:"Alfa Alliance",Allied:"Allied",Allstate:"Allstate",AmericaFirst:"America First",AmericanCommerce:"American Commerce",AmericanFamily:"American Family",Amica:"Amica",ASILloyds:"ASI Lloyds",AustinMutual:"Austin Mutual",Autoone:"Autoone",AutoOwners:"Auto-Owners",BadgerMutual:"Badger Mutual",Balboa:"Balboa",Bankers:"Bankers",BeaconNational:"Beacon National",BrethernMutual:"Brethern Mutual",BristolWest:"Bristol West",CapitalInsuranceGroup:"Capital Insurance Group",Celina:"Celina",CentralMutualOfOH:"Central Mutual of OH",Chubb:"Chubb",Cincinnati:"Cincinnati",Clearcover:"Clearcover",CNA:"CNA",ColonialPenn:"Colonial Penn",ColoradoCasualty:"Colorado Casualty",Columbia:"Columbia",CommerceWest:"Commerce West",CommonwealthCasualty:"Commonwealth Casualty",Ameriprise:"CONNECT",ConstitutionalCasualty:"Constitutional Casualty",Cornerstone:"Cornerstone",Countrywide:"Countrywide",CSE:"CSE",Cumberland:"Cumberland",Dairyland:"Dairyland",Deerbrook:"Deerbrook",Direct:"Direct",Donegal:"Donegal",Drive:"Drive",Electric:"Electric",EMC:"EMC",Encompass:"Encompass",Erie:"Erie",Esurance:"Esurance",Explorer:"Explorer",FarmBureau:"Farm Bureau",Farmers:"Farmers",FiremansFund:"Firemans Fund",FirstAmerican:"First American",Foremost:"Foremost",Geico:"Geico",GeneralCasualty:"General Casualty",GermantownMutual:"Germantown Mutual",GMAC:"GMAC",Grange:"Grange",GreatAmerican:"Great American",Grinnell:"Grinnell",GuideOne:"Guide One",Hanover:"Hanover",Harbor:"Harbor",Harleysville:"Harleysville",HartfordOMNI:"Hartford OMNI",Hartford:"Hartford",HastingsMutual:"Hastings Mutual",HawkeyeSecurity:"Hawkeye Security",HDI:"HDI",HoraceMann:"Horace Mann",HoustonGeneral:"Houston General",IFA:"IFA",ImperialCasualty:"Imperial Casualty",IndianaFarmers:"Indiana Farmers",Indiana:"Indiana",Infinity:"Infinity",Insurequest:"Insurequest",Integon:"Integon",Integrity:"Integrity",Kemper:"Kemper",LibertyMutual:"Liberty Mutual",LibertyNorthwest:"Liberty Northwest",MainStreetAmerica:"Main Street America",Mapfre:"Mapfre",Mendota:"Mendota",MerchantsGroup:"Merchants Group",Mercury:"Mercury",Metlife:"MetLife",Metropolitan:"Metropolitan",MidContinent:"Mid-Continent",MidwesternIndemnity:"Midwestern Indemnity",Montgomery:"Montgomery",MSA:"MSA",MtWashington:"Mt. Washington",MutualBenefit:"Mutual Benefit",NationalGeneral:"National General",Nationwide:"Nationwide",NewYorkCentralMutual:"New York Central Mutual",NJManufacturers:"NJ Manufacturers",NJSkylands:"NJ Skylands",Northstar:"Northstar",Occidental:"Occidental",OhioCasualty:"Ohio Casualty",OmahaPC:"Omaha P/C",OneBeacon:"One Beacon",OregonMutual:"Oregon Mutual",Palisades:"Palisades",PeerlessMontgomery:"Peerless/Montgomery",Pekin:"Pekin",Pemco:"Pemco",PennNational:"Penn National",PlymouthRock:"Plymouth Rock",PreferredMutual:"Preferred Mutual",Proformance:"Proformance",Progressive:"Progressive",Prudential:"Prudential",Republic:"Republic",RockfordMutual:"Rockford Mutual",RoyalAndSunAlliance:"Royal and Sun Alliance",Safeco:"Safeco",SECURA:"SECURA",Selective:"Selective",SouthernCounty:"Southern County",SouthernMutual:"Southern Mutual",SouthernTrust:"Southern Trust",StPaulTravelers:"St. Paul/Travelers",StandardMutual:"Standard Mutual",StarCasualty:"Star Casualty",StateAuto:"State Auto",StateFarm:"State Farm",Fidelity:"Stillwater",Travelers:"Travelers",TWFG:"TWFG",Unigard:"Unigard",UnitedFireAndCasualty:"United Fire and Casualty",Unitrin:"Unitrin",Universal:"Universal",USAA:"USAA",UticaNational:"Utica National",Victoria:"Victoria",WestBend:"West Bend",WesternNational:"Western National",WesternReserveGroup:"Western Reserve Group",Westfield:"Westfield",WhiteMountains:"White Mountains",WilsonMutual:"Wilson Mutual",Windsor:"Windsor",Zurich:"Zurich",OtherStandard:"Other Standard",OtherNonStandard:"Other Non-Standard"},auto_prior_liability_limit:{Dontknow:"Don't Know",ThirtyToSixty:"30/60",FiftyToHundred:"50/100",HundredToHundred:"100/100",HundredToThreeHundred:"100/300",TwoHundredFiftyToFiveHundred:"250/500",ThreeHundredToThreeHundred:"300/300",FiveHundredToFiveHundred:"500/500",HundredCSL:"100CSL",ThreeHundredCSL:"300CSL",FiveHundredCSL:"500CSL"},auto_reason_for_no_insurance:{ActiveMilitaryDuty:"Active Military Duty",DrivingCompanyCar:"Driving A Company Car",DrivingCarOwnedByRelative:"Driving A Car Owned By A Relative",HasNotOwnedOrOperatedVehicle:"Has Not Owned Or Operated A Vehicle",OwnedVehParkedStoredOffRoadNotDriven:"Owned Veh Parked/Stored Off Road/Not Driven",NonPayment:"Non-Payment",Other:"Other"},residence_type:{OwnHome:"Own Home",OwnCondo:"Own Condo",RentHome:"Rent Home",RentCondo:"Rent Condo",RentApartment:"Rent Apartment",LiveWithParents:"Live With Parents"},home_prior_carrier_name:{TwentyFirstCentury:"21st Century",AAA:"AAA",Acuity:"Acuity",AdirondackInsExchange:"Adirondack Ins Exchange",AIG:"AIG",AlfaAlliance:"Alfa Alliance",AllianzOfAmerica:"Allianz of America",AllianzOfAmericaJefferson:"Allianz of America-Jefferson",Allied:"Allied",Allmerica:"Allmerica",Allstate:"Allstate",AmericaFirst:"America First",AmericanFamily:"American Family",AmericanCommerce:"American Commerce",Amica:"Amica",ASILloyds:"ASI Lloyds",Assurant:"Assurant",AtlasGeneralAgency:"Atlas General Agency",AustinMutual:"Austin Mutual",AutoOwners:"Auto-Owners",BadgerMutual:"Badger Mutual",Balboa:"Balboa",Bamboo:"Bamboo",BeaconNational:"Beacon National",BunkerHill:"Bunker Hill",CapitalInsuranceGroup:"Capital Insurance Group",CentralMutualOfOH:"Central Mutual of OH",ChubbInsurance:"Chubb",Cincinnati:"Cincinnati",Citizens:"Citizens",ColoradoCasualty:"Colorado Casualty",Ameriprise:"CONNECT",CSE:"CSE",Cumberland:"Cumberland",Cypress:"Cypress",Dairyland:"Dairyland",Donegal:"Donegal",Electric:"Electric",EMC:"EMC",Encompass:"Encompass",Erie:"Erie",Esurance:"Esurance",ExcelsiorInsuranceCompany:"Excelsior Insurance Company",FairPlan:"Fair Plan",FarmBureau:"Farm Bureau",Farmers:"Farmers",FiremansFund:"Firemans Fund",FirstAmerican:"First American",ForemostInsuranceCompany:"Foremost Insurance Company",Geico:"Geico",GeneralCasualty:"General Casualty",GermantownMutual:"Germantown Mutual",GMAC:"GMAC",Grange:"Grange",Grinnell:"Grinnell",GuideOne:"Guide One",Hanover:"Hanover",Harleysville:"Harleysville",Hartford:"Hartford",HartfordOMNI:"Hartford OMNI",HawkeyeSecurity:"Hawkeye Security",HippoInsuranceCompany:"Hippo Insurance Company",HomeownersOfAmerica:"Homeowners of America",Homesite:"Homesite",HoraceMann:"Horace Mann",HoustonGeneral:"Houston General",Indiana:"Indiana",IndianaFarmers:"Indiana Farmers",Integrity:"Integrity",Kemper:"Kemper",LibertyMutual:"Liberty Mutual",LibertyNorthwest:"Liberty Northwest",Lloyds:"Lloyds",MainStreetAmerica:"Main Street America",MarkelInsuranceCompany:"Markel Insurance Company",MerchantsGroup:"Merchants Group",Mercury:"Mercury",Metlife:"MetLife",MidwesternIndemnity:"Midwestern Indemnity",Montgomery:"Montgomery",MSA:"MSA",MutualBenefit:"Mutual Benefit",Tower:"National General",NatGenPremier:"NatGen Premier",Nationwide:"Nationwide",NationwideScottsdale:"Nationwide-Scottsdale",NewYorkCentralMutual:"New York Central Mutual",NJSkylands:"NJ Skylands",Northstar:"Northstar",OhioCasualty:"Ohio Casualty",OneBeacon:"One Beacon",OregonMutual:"Oregon Mutual",PeerlessMontgomery:"Peerless/Montgomery",Pekin:"Pekin",PennNational:"Penn National",PlymouthRock:"Plymouth Rock",PreferredMutual:"Preferred Mutual",Prudential:"Prudential",PureHighValue:"Pure High Value",Republic:"Republic",RoyalAndSunAlliance:"Royal and Sun Alliance",Safeco:"Safeco",SECURA:"SECURA",SouthernMutual:"Southern Mutual",SouthernTrust:"Southern Trust",StPaulTravelers:"St. Paul/Travelers",StandardMutual:"Standard Mutual",StateAuto:"State Auto",StateFarm:"State Farm",StateFarmFloridaInsuranceCompany:"State Farm Florida Insurance Company",Fidelity:"Stillwater",SunshineStateInsuranceCompany:"Sunshine State Insurance Company",Travelers:"Travelers",TWFG:"TWFG",Unigard:"Unigard",UnitedFireAndCasualty:"United Fire and Casualty",Unitrin:"Unitrin",Universal:"Universal",USAA:"USAA",UticaNational:"Utica National",Wellington:"Wellington",WestBend:"West Bend",WesternNational:"Western National",WesternReserveGroup:"Western Reserve Group",Westfield:"Westfield",WhiteMountains:"White Mountains",WilsonMutual:"Wilson Mutual",Zurich:"Zurich",Other:"Other",OtherNonStandard:"Other Non-Standard",OtherStandard:"Other Standard"},policy_bi:{Dontknow:"Don't Know",cov30to60:"30/60",cov35to70:"35/70",cov50to100:"50/100",cov100to100:"100/100",cov100to300:"100/300",cov250to500:"250/500",cov300to300:"300/300",cov500to500:"500/500",cov100CSL:"100 CSL",cov300CSL:"300 CSL",cov500CSL:"500 CSL"},policy_um:{Reject:"Reject",cov30to60:"30/60",cov35to70:"35/70",cov50to100:"50/100",cov100to100:"100/100",cov100to300:"100/300",cov250to500:"250/500",cov300to300:"300/300",cov500to500:"500/500",cov100CSL:"100 CSL",cov300CSL:"300 CSL",cov500CSL:"500 CSL"},policy_pd:{Dontknow:"Don't know",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000",cov250000:"250,000",cov500000:"500,000"},policy_mp:{None:"None",cov500:"500",cov1000:"1,000",cov2000:"2,000",cov2500:"2,500",cov5000:"5,000",cov10000:"10,000",cov15000:"15,000",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000"},policy_umpd:{cov25000:"25,000",cov35000:"35,000",cov50000:"50,000",cov100000:"100,000",cov200000:"200,000",cov250000:"250,000",cov300000:"300,000",cov500000:"500,000"},policy_pip:{cov15000:"15,000",cov2500:"2,500",cov5000:"5,000",cov10000:"10,000",cov25000:"25,000",cov50000:"50,000",cov100000:"100,000",cov250000:"250,000",cov75000:"75,000",cov150000:"150,000"},policy_auto_death_indemnity:{NoCoverage:"No Coverage",cov5000:"5,000",cov10000:"10,000"},vehicle_comp_deductible:{NoCoverage:"No Coverage",Zero:"0",Fifty:"50",Hundred:"100",TwoHunderd:"200",TwoHundredfifty:"250",FiveHundred:"500",SeventyFiveHundred:"750",Thousand:"1,000",TwoThousand:"2,000"},vehicle_coll_deductible:{NoCoverage:"No Coverage",Zero:"0",Fifty:"50",Hundred:"100",TwoHunderd:"200",TwoHundredfifty:"250",FiveHundred:"500",SeventyFiveHundred:"750",Thousand:"1,000",TwoThousand:"2,000"},vehicle_towing_and_labor:{NoCoverage:"No Coverage",TwentyFive:"25",Forty:"40",Fifty:"50",SeventyFive:"75",Eighty:"80",Hundred:"100",TwelveHundred:"120",TwoHundred:"200",Unlimited:"Unlimited"},vehicle_transportation_expense:{NoCoverage:"No Coverage",cov20to600:"20/600",cov25to750:"25/750",cov30to900:"30/900",cov40to1200:"40/1,200",cov50to1500:"50/1,500",cov100to3000:"100/3,000"},education_level:{NoHighSchoolDiploma:"No High School Diploma",HighSchoolDiploma:"High School Diploma",SomeCollegeNoDegree:"Some College - No Degree",VocationalTechnicalDegree:"Vocational Technical Degree",AssociatesDegree:"Associates Degree",Bachelors:"Bachelors",Masters:"Masters",Phd:"Phd",MedicalDegree:"Medical Degree",LawDegree:"Law Degree"},industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},occupation:{"Agr Inspect/Grader":"Agriculture Inspector/Grader",Arborist:"Arborist",Clerk:"Clerk","Equip. Operator":"Equipment Operator","Farm/Ranch Owner":"Farm/Ranch Owner","Farm/Ranch Worker":"Farm/Ranch Worker",Fisherman:"Fisherman",Florist:"Florist","Laborer/Worker":"Laborer/Worker","Landscape/NursryWkr":"Landscaper/Nursery Worker",Landscaper:"Landscaper",Logger:"Logger",Millworker:"Mill worker",Other:"Other",Ranger:"Ranger",Supervisor:"Supervisor","Timber Grader/Scale":"Timber Grader/Scale",Actor:"Actor","Admin Assist":"Administrative Assistant","Announcer/Broadcstr":"Announcer/Broadcaster","Artist/Animator":"Artist/Animator","Author/Writer":"Author/Writer","Choreography/Dancer":"Choreography/Dancer","Composer/Director":"Composer/Director",Curator:"Curator",Designer:"Designer",Editor:"Editor","Journalist/Reporter":"Journalist/Reporter","Musician/Singer":"Musician/Singer",Printer:"Printer",Producer:"Producer","Production Crew":"Production Crew",Projectionist:"Projectionist","Receptionist/Sec":"Receptionist/Secretary","Ticket Sales/Usher":"Ticket Sales/Usher","Accountant/Auditor":"Accountant/Auditor","Analyst/Broker":"Analyst/Broker",Bookkeeper:"Bookkeeper","Branch Manager":"Branch Manager",Collections:"Collections",Consultant:"Consultant",Controller:"Controller","CSR/Teller":"CSR/Teller","Director/Administr":"Director/Administrator",Executive:"Executive","Financial Advisor":"Financial Advisor","Investment Banker":"Investment Banker",Investor:"Investor","Loan/EscrowProcess":"Loan/Escrow Processor","Mgr-Credit/Loan":"Manager-Credit/Loan","Mgr-Portfolio/Prod.":"Manager-Portfolio/Production","Mgr-Property":"Manager-Property",Realtor:"Realtor","SalesAgt/Represent.":"Sales Agent/Representative","Trader,Finan Instru":"Trader, Financial Instruments",Underwriter:"Underwriter","Account Executive":"Account Executive",Buyer:"Buyer","Clerk-Office":"Clerk-Office",CSR:"Customer Service Representative","H.R. Representative":"H.R. Representative","Marketing Researchr":"Marketing Researcher","Messenger/Courier":"Messenger/Courier","Mgr - District":"Manager - District","Mgr - Finance":"Manager - Finance","Mgr-Dept/Store":"Manager - Department/Store","Mgr-General Opers":"Manager - General Operations","Mgr-H.R./PublicRel":"Manager - H.R./Public Relations","Mgr-Mkt/Sales":"Manager - Marketing/Sales","Mgr/Supervisr-Offic":"Manager/Supervisor - Office","Sales-Counter/Rentl":"Sales-Counter/Rental","Sales-Home Based":"Sales-Home Based","Sales-Mfg Rep":"Sales-Manufacture Rep","Sales-Retail/Whlsle":"Sales-Retail/Wholesale","Sales-Route/Vendor":"Sales-Route/Vendor","Boiler Oper/Maker":"Boiler Operator/Maker","Bricklayer/Mason":"Bricklayer/Mason",Carpenter:"Carpenter","Carpet Installer":"Carpet Installer","Concrete Worker":"Concrete Worker","Constrct Proj Mgr":"Construction - Project Manager",Contractor:"Contractor","Crane Operator":"Crane Operator","Electrician/Linesmn":"Electrician/Linesman","ElevatorTech/Instl":"Elevator Technician/Installer","FloorLayer/Finisher":"Floor Layer/Finisher","Foreman/Supervisor":"Foreman/Supervisor",Handyman:"Handyman","Heat/Air Technician":"Heat/Air Technician",Inspector:"Inspector",Metalworker:"Metalworker",Miner:"Miner","Oil/GasDril/RigOpr":"Oil/Gas Driller/Rig Operator",Painter:"Painter","Plstr/Drywall/Stuc":"Plaster/Drywall/Stucco",Plumber:"Plumber",Roofer:"Roofer",Disabled:"Disabled","Audio-Visual Tech.":"Audio-Visual Tech.","Child/DayCare Wrker":"Child/Daycare Worker",Counselor:"Counselor","Grad. Teaching/Asst":"Graduate Teaching Assistant","Instructor-Vocation":"Instructor-Vocation","Librarian/Curator":"Librarian/Curator","Professor, College":"Professor, College",Superintendent:"Superintendent","Teacher, College":"Teacher, College","Teacher, K-12":"Teacher, K-12","Teaching Asst/Aide":"Teaching Assistant/Aide",Tutor:"Tutor",Actuary:"Actuary",Analyst:"Analyst",Architect:"Architect","Clinical Data Coord.":"Clinical Data Coordinator",Drafter:"Drafter",Engineer:"Engineer","Manager-Project":"Manager-Project","Manager-R&D":"Manager-R&D",Mathematician:"Mathematician","Research Prog. Dir.":"Research Program Director",Researcher:"Researcher",Scientist:"Scientist",Sociologist:"Sociologist","Surveyor/Mapmaker":"Surveyor/Mapmaker",Technician:"Technician",Attorney:"Attorney","Chief Executive":"Chief Executive",Commissioner:"Commissioner","Council member":"Council member","Enlst Mil Prsnl E1-4":"Enlisted Military Personnel (E1-4)",Legislator:"Legislator","Mayor/City Manager":"Mayor/City Manager","Meter Reader":"Meter Reader","NCO (E5-9)":"NCO (E5-9)","Officer-Commissiond":"Officer-Commissioned","Officer-Warrant":"Officer-Warrant","Park Ranger":"Park Ranger",Planner:"Planner",Postmaster:"Postmaster",Regulator:"Regulator","US Postal Worker":"US Postal Worker","Homemaker/Houseprsn":"Homemaker/House person","Engineer-Hardware":"Engineer-Hardware","Engineer-Software":"Engineer-Software","Engineer-Systems":"Engineer-Systems","Manager-Systems":"Manager-Systems","Network Admin":"Network Administrator",Programmer:"Programmer","Project Coordinator":"Project Coordinator","Support Technician":"Support Technician","Systems Security":"Systems Security","Technical Writer":"Technical Writer","Web Developer":"Web Developer","Actuarial Clerk":"Actuarial Clerk","Agent/Broker":"Agent/Broker","Claims Adjuster":"Claims Adjuster","Product Manager":"Product Manager","Sales Rep":"Sales Representative","Airport Sec Ofcr":"Airport Security Officer","Animal Control Ofcr":"Animal Control Officer",Bailiff:"Bailiff","Corrections Officer":"Corrections Officer","Court Clrk/Reporter":"Court Clerk/Reporter","Deputy Sheriff":"Deputy Sheriff",Dispatcher:"Dispatcher",Examiner:"Examiner","Fed Agt/Marshall":"Federal Agent/Marshall","Fire Chief":"Fire Chief","Fire Fighter/Supv.":"Fire Fighter/Supervisor","Gaming Ofcr/Invest":"Gaming Officer/Investigator","Highway Patrol Ofcr":"Highway Patrol Officer","Judge/Hearing Ofcr":"Judge/Hearing Officer","Legal Asst./Sec":"Legal Assistant/Secretary","Paralegal/Law Clerk":"Paralegal/Law Clerk","Police Chief":"Police Chief","Police Det/Investgr":"Police Detective/Investigator","Police Offcr/Supvr":"Police Officer/Supervisor","Process Server":"Process Server","Prvt Invest/Detec.":"Private Investigator/Detective","Security Guard":"Security Guard",Sheriff:"Sheriff","Bldg Maint Engineer":"Building Maintenance Engineer","Custodian/Janitor":"Custodian/Janitor",Electrician:"Electrician","Field Service Tech.":"Field Service Technician","Heat/AirCond Repair":"Heat/Air Conditioner Repairman","Housekeeper/Maid":"Housekeeper/Maid","Lndscpe/Grnds Maint":"Landscape/Grounds Maintenance","Maint Mechanic":"Maintenance Mechanic",Mechanic:"Mechanic","Factory Worker":"Factory Worker","Furniture Finisher":"Furniture Finisher",Jeweler:"Jeweler","Machine Operator":"Machine Operator",Packer:"Packer","Plant Manager":"Plant Manager","Printer/Bookbinder":"Printer/Bookbinder","Quality Control":"Quality Control","Refining Operator":"Refining Operator",Shoemaker:"Shoemaker","Tailor/Custom Sewer":"Tailor/Custom Sewer","Textile Worker":"Textile Worker",Upholsterer:"Upholsterer","Assist-Med/Dent/Vet":"Assistant - Medic/Dent/Vet",Clergy:"Clergy","Client Care Worker":"Client Care Worker","Dental Hygenist":"Dental Hygienist",Dentist:"Dentist",Doctor:"Doctor","Hospice Volunteer":"Hospice Volunteer",Mortician:"Mortician","Nurse - C.N.A.":"Nurse - C.N.A.","Nurse - LPN":"Nurse - LPN","Nurse - RN":"Nurse - RN","Nurse Practitioner":"Nurse Practitioner",Optometrist:"Optometrist","Paramedic/EM Tech":"Paramedic/E.M. Technician",Pharmacist:"Pharmacist","Social Worker":"Social Worker","Support Services":"Support Services",Therapist:"Therapist",Veterinarian:"Veterinarian",Caregiver:"Caregiver","Dry Cleaner/Laundry":"Dry Cleaner/Laundry","Hair Stylist/Barber":"Hair Stylist/Barber",Housekeeper:"Housekeeper",Manicurist:"Manicurist",Masseuse:"Masseuse",Nanny:"Nanny","Pet Services":"Pet Services",Baker:"Baker",Bartender:"Bartender",Bellhop:"Bellhop","Bus Person":"Bus Person",Caterer:"Caterer",Chef:"Chef",Concessionaire:"Concessionaire",Concierge:"Concierge","Cook-Rest/Cafeteria":"Cook - Restaurant/Cafeteria","Cook/Wrkr-Fast Food":"Cook/Worker-Fast Food","Delivery Person":"Delivery Person","Desk Clerk":"Desk Clerk",Dishwasher:"Dishwasher","Food Prod/Packing":"Food Production/Packing","Host/Maitre d":"Host/Maitre d",Manager:"Manager",Valet:"Valet","Waiter/Waitress":"Waiter/Waitress","Wine Steward":"Wine Steward",Retired:"Retired","Activity/Recre.Asst":"Activity/Recreational Assistant",Agent:"Agent",Athlete:"Athlete","CampCounselor/Lead":"Camp Counselor/Lead",Coach:"Coach","Director, Program":"Director, Program","Event Mgr/Promoter":"Event Manager/Promoter","Life Guard":"Life Guard","Mgr - Fitness Club":"Manager - Fitness Club","Sales-Tkt/Mmbrshp":"Sales-Ticket/Membership","SportsBrdcstr/Journ":"Sports Broadcaster/Journalist","Trainer/Instructor":"Trainer/Instructor","Umpire/Referee":"Umpire/Referee","Graduate Student":"Graduate Student","High school":"High school",Undergraduate:"Undergraduate","Air Traffic Control":"Air Traffic Control","Airport Ops Crew":"Airport Operations Crew","Bellhop/Porter":"Bellhop/Porter","Crane Loader/Oper":"Crane Loader/Operator","Driver-Bus/Strcar":"Driver - Bus/Streetcar","Driver-Taxi/Limo":"Driver-Taxi/Limo","Driver-Truck/Delvry":"Driver-Truck/Delivery","Flight Attendant":"Flight Attendant","Forklift Operator":"Forklift Operator",Laborer:"Laborer",Longshoreman:"Longshoreman","Mate/Sailor":"Mate/Sailor","Mgr Warehse/Dist":"Manager - Warehouse/District","Parking Lot Attend":"Parking Lot Attendant","Pilot/Capt/Eng":"Pilot/Captain/Engineer","Railroad Worker":"Railroad Worker","Shipping/RecClk":"Shipping/Receiving Clerk","Subway/LgtRail Oper":"Subway/Light Rail Operator","Ticket Agent":"Ticket Agent","Transportation Spec":"Transportation Specialist",Unemployed:"Unemployed"},usage:{Business:"Business",Pleasure:"Pleasure",Farming:"Farming",To_FromWork:"To/From Work",To_FromSchool:"To/From School"},architectural_style:{TwoFamilyHome:"2-Family Home",American4square:"American 4-square",Basic:"Basic",BiLevel:"Bi-Level",Bungalow:"Bungalow",CapeCod:"Cape Cod",Colonial:"Colonial",ColonialSpanish:"Colonial - Spanish",CompletelyCustom:"Completely Custom",Contemporary:"Contemporary",ContractorModern:"Contractor Modern",Farmhouse:"Farmhouse",Folk:"Folk",Log:"Log",Mediterranean:"Mediterranean",Ranch:"Ranch",TriLevel:"Tri-Level",Tudor:"Tudor",Vernacular:"Vernacular",Victorian:"Victorian"},dwelling_type:{SingleFamilyHouse:"Single Family House",Townhouse:"Townhouse",Rowhouse:"Rowhouse",Duplex:"Duplex/Two Family Unit",Triplex:"Tri-plex/Three Family Unit",Fourplex:"Four-plex/Four Family Unit",MultFamily:"Multi-family (more than four units)"},occupancy_type:{OwnerPrimary:"Owner Primary",OwnerSecondary:"Owner Secondary",OwnerSeasonal:"Owner Seasonal"},construction_quality:{Basic:"Basic",Modest:"Modest",Average:"Average",AboveAverage:"Above Average",Expensive:"Expensive",VeryExpensive:"Very Expensive",Opulent:"Opulent"},construction_type:{Frame:"Frame",Masonry:"Masonry",MasonryVeneer:"Masonry Veneer",Log:"Log",Asbestos:"Asbestos",EFIS:"EFIS",HardiPlank:"HardiPlank",SuperiorFireResistive:"Superior Fire Resistive",SuperiorMasonryNonCombustible:"Superior Masonry Non Combustible",SuperiorNonCombustible:"Superior Non Combustible"},foundation_type:{Slab:"Slab",Basement:"Basement",CrawlSpace:"Crawl Space",PartialBasement:"Partial Basement",PiersPostsPiles:"Piers / Posts / Piles",Open:"Open"},located_over_water:{NotOverWater:"No",PartiallyOverWater:"Partially Over Water",FullyOrEntirelyOverWater:"Fully or Entirely Over Water"},number_of_stories:{One:"1",OneHalf:"1.5",Two:"2",TwoHalf:"2.5",Three:"3",ThreeHalf:"3.5",Four:"4",BiLevel:"Bi-Level",TriLevel:"Tri-Level"},exterior_wall_type:{VinylSiding:"Vinyl Siding",WoodFraming:"Wood Framing",BrickVeneer:"Brick Veneer",Stucco:"Stucco",AdobeBlock:"Adobe Block",AluminumSiding:"Aluminum Siding",CementFiberShingles:"Cement Fiber Shingles",Clapboard:"Clapboard",ConcreteBlock:"Concrete Block",HardboardSiding:"Hardboard Siding",InsulatedConcreteForms:"Insulated Concrete Forms",LightGaugeSteelFraming:"Light Gauge Steel Framing",LogsSolid:"Logs (Solid)",MasoniteSiding:"Masonite Siding",PreEngineeredMetal:"Pre-Engineered Metal",SolidBrickConstruction:"Solid Brick Construction",SolidConcrete:"Solid Concrete",StandardPoleFramed:"Standard Pole Framed",Stone:"Stone",StructuralInsulatedPanels:"Structural Insulated Panels",TimberFraming:"Timber Framing"},roof_material_type:{ASPHALT_SHINGLES:"Asphalt Shingles",ARCHITECTURAL_SHINGLES:"Architectural Shingles",METAL:"Metal",TILE_CONCRETE:"Tile (Concrete)",ASBESTOS:"Asbestos",BUILT_UP:"Built-Up",COMPOSITION:"Composition",CONCRETE:"Concrete",COPPER:"Copper",CORRUGATED_STEEL:"Corrugated Steel",FIBERGLASS:"Fiberglass",FOAM:"Foam",GRAVEL:"Gravel",MEMBRANE:"Membrane",MINERAL_FIBER_SHAKE:"Mineral Fiber Shake",PLASTIC:"Plastic",ROCK:"Rock",ROLLED_PAPER:"Rolled Paper",RUBBER:"Rubber",SLATE:"Slate",TAR:"Tar",TAR_GRAVEL:"Tar and Gravel",TILE_CLAY:"Tile (Clay)",TILE_MISSION:"Tile (Mission)",TILE_SPANISH:"Tile (Spanish)",TIN:"Tin",WOOD_FIBERGLASS_SHINGLES:"Wood/Fiberglass Shingles",WOOD_SHAKE:"Wood Shake",WOOD_SHINGLES:"Wood Shingles",OTHER:"Other"},roof_shape:{B_Gable:"Gable",C_Hip:"Hip",A_Flat:"Flat",D_Other:"Other"},roof_updated_type:{NotUpdated:"Not Updated",PartialUpdate:"Partial Update",CompleteUpdate:"Complete Update"},heating_type:{Electric:"Electric",Gas:"Gas",GasForcedAir:"Gas - Forced Air",GasHotWater:"Gas - Hot Water",Oil:"Oil",OilForcedAir:"Oil - Forced Air",OilHotWater:"Oil - Hot Water",SolidFuel:"Solid Fuel",HeatPump:"Heat Pump",Other:"Other"},oil_tank_location:{AboveGround:"Above Ground",BelowGround:"Below Ground"},basement_type:{Basement:"Below Grade Basement",SplitLevelBasement:"Split Level Basement",WalkoutBasement:"Walkout Basement"},plumbing_type:{EntirelyCopper:"Entirely Copper",EntirelyGalvanized:"Entirely Galvanized",EntirelyPEX:"Entirely PEX",EntirelyPVC:"Entirely PVC",Polybutylene:"Polybutylene"},personal_liability:{TwentyFive:"$25,000",Fifty:"$50,000",OneHundred:"$100,000",TwoHundred:"$200,000",ThreeHundred:"$300,000",FourHundred:"$400,000",FiveHundred:"$500,000"},dwelling_medical_payments:{cov1000:"$1,000",cov2000:"$2,000",cov3000:"$3,000",cov4000:"$4,000",cov5000:"$5,000"},all_perils_deductible:{TwoHundredFifty:"$250",FiveHundred:"$500",SevenHundredFifty:"$750",OneThousand:"$1,000",OneThousandFiveHundred:"$1,500",TwoThousand:"$2,000",TwoThousandFiveHundred:"$2,500",ThreeThousands:"$3,000",FourThousands:"$4,000",FiveThousands:"$5,000",OnePercent:"1%",TwoPercent:"2%",ThreePercent:"3%",FourPercent:"4%",FivePercent:"5%"},windstorm_deductible:{None:"None",OnePercent:"1%",TwoPercent:"2%",FivePercent:"5%",TenPercent:"10%"},distance_from_fire_hydrant_ft:{_0_500ft:"0-500 Feet",_501_1000ft:"501-1000 Feet",_1001ftAndGreater:"1001 Feet And Greater"},distance_from_fire_station_miles:{Lessthan5miles:"Less Than 5 Miles",Over5miles:"Over 5 Miles",NotAvailable:"Not Available"},employment_industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House Person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},marital_status:{Single:"Single",Married:"Married",Seperated:"Separated",Divorced:"Divorced",Widowed:"Widowed",DomesticPartner:"Domestic Partner"},gender:{Female:"Female",Male:"Male"},co_applicant_employment_industry:{"Agriclt/Forestry/Fish":"Agriculture/Forestry/Fishing","Art/Design/Media":"Art/Design/Media","Banking/Finance/RE":"Banking/Finance/Real Estate","Business/Sales/Offi":"Business/Sales/Office","Construct/EnrgyTrds":"Construction/Energy Trades",Disabled:"Disabled","Education/Library":"Education/Library","Engr/Archt/Sci/Math":"Engineer/Architect/Science/Math","Government/Military":"Government/Military","Homemaker/Houseprsn":"Homemaker/House Person","Info Tech":"Information Technology",Insurance:"Insurance","Lgl/Law Enfcmt/Sec":"Legal/Law Enforcement/Security","Maint/Rpr/Hsekeep":"Maintenance/Repair/Housekeeping","Mfg/Production":"Manufacturing/Production","Med/Soc Svcs/Relig":"Medical/Social Services/Religion",Other:"Other","Person.Care/Service":"Personal Care/Service","Rest/Hotel Services":"Restaurant/Hotel Services",Retired:"Retired","Sports/Recreation":"Sports/Recreation",Student:"Student","Trvl/Trnsprt/Warehs":"Travel/Transportation/Warehousing",Unemployed:"Unemployed"},co_applicant_marital_status:{Single:"Single",Married:"Married",Seperated:"Separated",Divorced:"Divorced",Widowed:"Widowed",DomesticPartner:"Domestic Partner"},co_applicant_gender:{Female:"Female",Male:"Male"},description:{CONTAMINATION:"Contamination",CREDITCARD:"Credit Card",DAMAGETOPROPERTYOFOTHERS:"Damage To Property Of Others",DOGBITELIABILITY:"Dog Bite",EARTHMOVEMENT:"Earth Movement",EARTHQUAKE:"Earthquake",EXTENDEDCOVERAGEPERILS:"Extended Coverage Perils",FIRE:"Fire",FLOOD:"Flood",FREEZINGWATERINCLUDINGBURSTPIPES:"Freezing Water",HAIL:"Hail",HURRICANE:"Hurricane",LIABILITYALLOTHER:"Liability",LIGHTNING:"Lightning",MEDICALPAYMENTS:"Medical Payments",MYSTERIOUSDISAPPEARANCE:"Mysterious Disappearance",MYSTERIOUSDISAPPEARANCESCHEDULEDPROPERTY:"Mysterious Disappearance - Scheduled Property",PHYSICALDAMAGEALLOTHER:"Physical Damage",SINKHOLE:"Sinkhole",SLIPFALLLIABILITY:"Slip/Fall",SMOKE:"Smoke",THEFTSCHEDULEDPROPERTY:"Theft - Scheduled Property",THEFTBURGLARY:"Theft - Burglary",TORNADO:"Tornado",VANDALISMMALICIOUSMISCHIEF:"Vandalism",WATERDAMAGE:"Water Damage",WIND:"Wind",WORKERSCOMPENSATION:"Workers Compensation",ALLOTHER:"All Other"},tort_threshold:{Verbal_Threshold:"Limited right to sue",Zero_Threshold:"Unlimited right to sue"},pip_coverage_type:{Primary:"Primary",Secondary:"Secondary"},extended_medical:{cov1000:"$1,000",cov10000:"$10,000"},additional_pip:{cov100_10400_LIMITED:"100 - 10,400/ LIMITED",cov125_13000_LIMITED:"125 - 13,000/ LIMITED",cov175_18200_LIMITED:"175 - 18,200/ LIMITED",cov250_26000_LIMITED:"250 - 26,000/ LIMITED",cov400_41600_LIMITED:"400 - 41,600/ LIMITED",cov500_52000_LIMITED:"500 - 52,000/ LIMITED",cov600_62400_LIMITED:"600 - 62,400/ LIMITED",cov700_72800_LIMITED:"700 - 72,800/ LIMITED",cov100_UNLIMITED:"100/UNLIMITED",cov125_UNLIMITED:"125/UNLIMITED",cov175_UNLIMITED:"175/UNLIMITED",cov250_UNLIMITED:"250/UNLIMITED",cov400_UNLIMITED:"400/UNLIMITED",cov500_UNLIMITED:"500/UNLIMITED",cov600_UNLIMITED:"600/UNLIMITED",cov700_UNLIMITED:"700/UNLIMITED"},policy_pip_deductible:{cov250:"$250",cov500:"$500",cov1000:"$1,000",cov2000:"$2,000",cov2500:"$2,500"}},ew={None:"None","30000/60000/25000":"30/60k","30000/60000/30000":"30/60k","50000/100000/30000":"50/100k","50000/100000/50000":"50/100k","100000/300000/50000":"100/300k","100000/300000/100000":"100/300k","250000/500000/100000":"250/500k","250000/500000/250000":"250/500k","300000/500000/250000":"300/500k","300000/500000/300000":"300/500k","500000/500000/300000":"500k CSL","500000/500000/500000":"500k CSL","500000/1000000/300000":"500k/1M","500000/1000000/500000":"500k/1M"},tw={"Agriclt/Forestry/Fish":["Agr Inspect/Grader","Arborist","Clerk","Equip. Operator","Farm/Ranch Owner","Farm/Ranch Worker","Fisherman","Florist","Laborer/Worker","Landscape/NursryWkr","Landscaper","Logger","Millworker","Other","Ranger","Supervisor","Timber Grader/Scale"],"Art/Design/Media":["Actor","Admin Assist","Announcer/Broadcstr","Artist/Animator","Author/Writer","Choreography/Dancer","Clerk","Composer/Director","Curator","Designer","Editor","Journalist/Reporter","Musician/Singer","Other","Printer","Producer","Production Crew","Projectionist","Receptionist/Sec","Ticket Sales/Usher"],"Banking/Finance/RE":["Accountant/Auditor","Admin Assist","Analyst/Broker","Bookkeeper","Branch Manager","Clerk","Collections","Consultant","Controller","CSR/Teller","Director/Administr","Executive","Financial Advisor","Investment Banker","Investor","Loan/EscrowProcess","Mgr-Credit/Loan","Mgr-Portfolio/Prod.","Mgr-Property","Other","Realtor","Receptionist/Sec","SalesAgt/Represent.","Trader,Finan Instru","Underwriter"],"Business/Sales/Offi":["Account Executive","Admin Assist","Buyer","Clerk-Office","Consultant","CSR","Director/Administr","Executive","H.R. Representative","Marketing Researchr","Messenger/Courier","Mgr - District","Mgr - Finance","Mgr-Dept/Store","Mgr-General Opers","Mgr-H.R./PublicRel","Mgr-Mkt/Sales","Mgr/Supervisr-Offic","Other","Receptionist/Sec","Sales-Counter/Rentl","Sales-Home Based","Sales-Mfg Rep","Sales-Retail/Whlsle","Sales-Route/Vendor"],"Construct/EnrgyTrds":["Boiler Oper/Maker","Bricklayer/Mason","Carpenter","Carpet Installer","Concrete Worker","Constrct Proj Mgr","Contractor","Crane Operator","Electrician/Linesmn","ElevatorTech/Instl","Equip. Operator","FloorLayer/Finisher","Foreman/Supervisor","Handyman","Heat/Air Technician","Inspector","Laborer/Worker","Metalworker","Miner","Oil/GasDril/RigOpr","Other","Painter","Plstr/Drywall/Stuc","Plumber","Roofer"],Disabled:["Disabled"],"Education/Library":["Admin Assist","Audio-Visual Tech.","Child/DayCare Wrker","Clerk","Counselor","Grad. Teaching/Asst","Instructor-Vocation","Librarian/Curator","Other","Professor, College","Receptionist/Sec","Superintendent","Teacher, College","Teacher, K-12","Teaching Asst/Aide","Tutor"],"Engr/Archt/Sci/Math":["Actuary","Admin Assist","Analyst","Architect","Clerk","Clinical Data Coord.","Drafter","Engineer","Manager-Project","Manager-R&D","Mathematician","Other","Receptionist/Sec","Research Prog. Dir.","Researcher","Scientist","Sociologist","Surveyor/Mapmaker","Technician"],"Government/Military":["Accountant/Auditor","Admin Assist","Analyst","Attorney","Chief Executive","Clerk","Commissioner","Council member","Director/Administr","Enlst Mil Prsnl E1-4","Legislator","Mayor/City Manager","Meter Reader","NCO (E5-9)","Officer-Commissiond","Officer-Warrant","Other","Park Ranger","Planner","Postmaster","Receptionist/Sec","Regulator","US Postal Worker"],"Homemaker/Houseprsn":["Homemaker/Houseprsn"],"Info Tech":["Admin Assist","Analyst","Clerk","Director/Administr","Engineer-Hardware","Engineer-Software","Engineer-Systems","Executive","Manager-Systems","Network Admin","Other","Programmer","Project Coordinator","Receptionist/Sec","Support Technician","Systems Security","Technical Writer","Web Developer"],Insurance:["Accountant/Auditor","Actuarial Clerk","Actuary","Admin Assist","Agent/Broker","Analyst","Attorney","Claims Adjuster","Clerk","Commissioner","CSR","Director/Administr","Executive","Other","Product Manager","Receptionist/Sec","Sales Rep","Underwriter"],"Lgl/Law Enfcmt/Sec":["Airport Sec Ofcr","Animal Control Ofcr","Attorney","Bailiff","Corrections Officer","Court Clrk/Reporter","Deputy Sheriff","Dispatcher","Examiner","Fed Agt/Marshall","Fire Chief","Fire Fighter/Supv.","Gaming Ofcr/Invest","Highway Patrol Ofcr","Judge/Hearing Ofcr","Legal Asst./Sec","Other","Paralegal/Law Clerk","Police Chief","Police Det/Investgr","Police Offcr/Supvr","Process Server","Prvt Invest/Detec.","Security Guard","Sheriff"],"Maint/Rpr/Hsekeep":["Bldg Maint Engineer","Custodian/Janitor","Electrician","Field Service Tech.","Handyman","Heat/AirCond Repair","Housekeeper/Maid","Lndscpe/Grnds Maint","Maint Mechanic","Mechanic","Other"],"Mfg/Production":["Admin Assist","Clerk","Factory Worker","Foreman/Supervisor","Furniture Finisher","Inspector","Jeweler","Machine Operator","Other","Packer","Plant Manager","Printer/Bookbinder","Quality Control","Receptionist/Sec","Refining Operator","Shoemaker","Tailor/Custom Sewer","Textile Worker","Upholsterer"],"Med/Soc Svcs/Relig":["Admin Assist","Assist-Med/Dent/Vet","Clergy","Clerk","Client Care Worker","Dental Hygenist","Dentist","Doctor","Hospice Volunteer","Mortician","Nurse - C.N.A.","Nurse - LPN","Nurse - RN","Nurse Practitioner","Optometrist","Other","Paramedic/EM Tech","Pharmacist","Receptionist/Sec","Social Worker","Support Services","Technician","Therapist","Veterinarian"],Other:["Other"],"Person.Care/Service":["Caregiver","Dry Cleaner/Laundry","Hair Stylist/Barber","Housekeeper","Manicurist","Masseuse","Nanny","Other","Pet Services","Receptionist/Sec"],"Rest/Hotel Services":["Baker","Bartender","Bellhop","Bus Person","Caterer","Chef","Concessionaire","Concierge","Cook-Rest/Cafeteria","Cook/Wrkr-Fast Food","Delivery Person","Desk Clerk","Dishwasher","Food Prod/Packing","Host/Maitre d","Housekeeper/Maid","Manager","Other","Valet","Waiter/Waitress","Wine Steward"],Retired:["Retired"],"Sports/Recreation":["Activity/Recre.Asst","Admin Assist","Agent","Athlete","CampCounselor/Lead","Clerk","Coach","Concessionaire","Director, Program","Event Mgr/Promoter","Life Guard","Mgr - Fitness Club","Other","Park Ranger","Receptionist/Sec","Sales-Tkt/Mmbrshp","SportsBrdcstr/Journ","Trainer/Instructor","Umpire/Referee"],Student:["Graduate Student","High school","Other","Undergraduate"],"Trvl/Trnsprt/Warehs":["Admin Assist","Air Traffic Control","Airport Ops Crew","Bellhop/Porter","Clerk","Crane Loader/Oper","Dispatcher","Driver-Bus/Strcar","Driver-Taxi/Limo","Driver-Truck/Delvry","Flight Attendant","Forklift Operator","Laborer","Longshoreman","Mate/Sailor","Mgr Warehse/Dist","Other","Parking Lot Attend","Pilot/Capt/Eng","Railroad Worker","Receptionist/Sec","Shipping/RecClk","Subway/LgtRail Oper","Ticket Agent","Transportation Spec"],Unemployed:["Unemployed"]},Tv={"Agr Inspect/Grader":"Agriculture Inspector/Grader",Arborist:"Arborist",Clerk:"Clerk","Equip. Operator":"Equipment Operator","Farm/Ranch Owner":"Farm/Ranch Owner","Farm/Ranch Worker":"Farm/Ranch Worker",Fisherman:"Fisherman",Florist:"Florist","Laborer/Worker":"Laborer/Worker","Landscape/NursryWkr":"Landscaper/Nursery Worker",Landscaper:"Landscaper",Logger:"Logger",Millworker:"Mill worker",Other:"Other",Ranger:"Ranger",Supervisor:"Supervisor","Timber Grader/Scale":"Timber Grader/Scale",Actor:"Actor","Admin Assist":"Administrative Assistant","Announcer/Broadcstr":"Announcer/Broadcaster","Artist/Animator":"Artist/Animator","Author/Writer":"Author/Writer","Choreography/Dancer":"Choreography/Dancer","Composer/Director":"Composer/Director",Curator:"Curator",Designer:"Designer",Editor:"Editor","Journalist/Reporter":"Journalist/Reporter","Musician/Singer":"Musician/Singer",Printer:"Printer",Producer:"Producer","Production Crew":"Production Crew",Projectionist:"Projectionist","Receptionist/Sec":"Receptionist/Secretary","Ticket Sales/Usher":"Ticket Sales/Usher","Accountant/Auditor":"Accountant/Auditor","Analyst/Broker":"Analyst/Broker",Bookkeeper:"Bookkeeper","Branch Manager":"Branch Manager",Collections:"Collections",Consultant:"Consultant",Controller:"Controller","CSR/Teller":"CSR/Teller","Director/Administr":"Director/Administrator",Executive:"Executive","Financial Advisor":"Financial Advisor","Investment Banker":"Investment Banker",Investor:"Investor","Loan/EscrowProcess":"Loan/Escrow Processor","Mgr-Credit/Loan":"Manager-Credit/Loan","Mgr-Portfolio/Prod.":"Manager-Portfolio/Production","Mgr-Property":"Manager-Property",Realtor:"Realtor","SalesAgt/Represent.":"Sales Agent/Representative","Trader,Finan Instru":"Trader, Financial Instruments",Underwriter:"Underwriter","Account Executive":"Account Executive",Buyer:"Buyer","Clerk-Office":"Clerk-Office",CSR:"Customer Service Representative","H.R. Representative":"H.R. Representative","Marketing Researchr":"Marketing Researcher","Messenger/Courier":"Messenger/Courier","Mgr - District":"Manager - District","Mgr - Finance":"Manager - Finance","Mgr-Dept/Store":"Manager - Department/Store","Mgr-General Opers":"Manager - General Operations","Mgr-H.R./PublicRel":"Manager - H.R./Public Relations","Mgr-Mkt/Sales":"Manager - Marketing/Sales","Mgr/Supervisr-Offic":"Manager/Supervisor - Office","Sales-Counter/Rentl":"Sales-Counter/Rental","Sales-Home Based":"Sales-Home Based","Sales-Mfg Rep":"Sales-Manufacture Rep","Sales-Retail/Whlsle":"Sales-Retail/Wholesale","Sales-Route/Vendor":"Sales-Route/Vendor","Boiler Oper/Maker":"Boiler Operator/Maker","Bricklayer/Mason":"Bricklayer/Mason",Carpenter:"Carpenter","Carpet Installer":"Carpet Installer","Concrete Worker":"Concrete Worker","Constrct Proj Mgr":"Construction - Project Manager",Contractor:"Contractor","Crane Operator":"Crane Operator","Electrician/Linesmn":"Electrician/Linesman","ElevatorTech/Instl":"Elevator Technician/Installer","FloorLayer/Finisher":"Floor Layer/Finisher","Foreman/Supervisor":"Foreman/Supervisor",Handyman:"Handyman","Heat/Air Technician":"Heat/Air Technician",Inspector:"Inspector",Metalworker:"Metalworker",Miner:"Miner","Oil/GasDril/RigOpr":"Oil/Gas Driller/Rig Operator",Painter:"Painter","Plstr/Drywall/Stuc":"Plaster/Drywall/Stucco",Plumber:"Plumber",Roofer:"Roofer",Disabled:"Disabled","Audio-Visual Tech.":"Audio-Visual Tech.","Child/DayCare Wrker":"Child/Daycare Worker",Counselor:"Counselor","Grad. Teaching/Asst":"Graduate Teaching Assistant","Instructor-Vocation":"Instructor-Vocation","Librarian/Curator":"Librarian/Curator","Professor, College":"Professor, College",Superintendent:"Superintendent","Teacher, College":"Teacher, College","Teacher, K-12":"Teacher, K-12","Teaching Asst/Aide":"Teaching Assistant/Aide",Tutor:"Tutor",Actuary:"Actuary",Analyst:"Analyst",Architect:"Architect","Clinical Data Coord.":"Clinical Data Coordinator",Drafter:"Drafter",Engineer:"Engineer","Manager-Project":"Manager-Project","Manager-R&D":"Manager-R&D",Mathematician:"Mathematician","Research Prog. Dir.":"Research Program Director",Researcher:"Researcher",Scientist:"Scientist",Sociologist:"Sociologist","Surveyor/Mapmaker":"Surveyor/Mapmaker",Technician:"Technician",Attorney:"Attorney","Chief Executive":"Chief Executive",Commissioner:"Commissioner","Council member":"Council member","Enlst Mil Prsnl E1-4":"Enlisted Military Personnel (E1-4)",Legislator:"Legislator","Mayor/City Manager":"Mayor/City Manager","Meter Reader":"Meter Reader","NCO (E5-9)":"NCO (E5-9)","Officer-Commissiond":"Officer-Commissioned","Officer-Warrant":"Officer-Warrant","Park Ranger":"Park Ranger",Planner:"Planner",Postmaster:"Postmaster",Regulator:"Regulator","US Postal Worker":"US Postal Worker","Homemaker/Houseprsn":"Homemaker/House person","Engineer-Hardware":"Engineer-Hardware","Engineer-Software":"Engineer-Software","Engineer-Systems":"Engineer-Systems","Manager-Systems":"Manager-Systems","Network Admin":"Network Administrator",Programmer:"Programmer","Project Coordinator":"Project Coordinator","Support Technician":"Support Technician","Systems Security":"Systems Security","Technical Writer":"Technical Writer","Web Developer":"Web Developer","Actuarial Clerk":"Actuarial Clerk","Agent/Broker":"Agent/Broker","Claims Adjuster":"Claims Adjuster","Product Manager":"Product Manager","Sales Rep":"Sales Representative","Airport Sec Ofcr":"Airport Security Officer","Animal Control Ofcr":"Animal Control Officer",Bailiff:"Bailiff","Corrections Officer":"Corrections Officer","Court Clrk/Reporter":"Court Clerk/Reporter","Deputy Sheriff":"Deputy Sheriff",Dispatcher:"Dispatcher",Examiner:"Examiner","Fed Agt/Marshall":"Federal Agent/Marshall","Fire Chief":"Fire Chief","Fire Fighter/Supv.":"Fire Fighter/Supervisor","Gaming Ofcr/Invest":"Gaming Officer/Investigator","Highway Patrol Ofcr":"Highway Patrol Officer","Judge/Hearing Ofcr":"Judge/Hearing Officer","Legal Asst./Sec":"Legal Assistant/Secretary","Paralegal/Law Clerk":"Paralegal/Law Clerk","Police Chief":"Police Chief","Police Det/Investgr":"Police Detective/Investigator","Police Offcr/Supvr":"Police Officer/Supervisor","Process Server":"Process Server","Prvt Invest/Detec.":"Private Investigator/Detective","Security Guard":"Security Guard",Sheriff:"Sheriff","Bldg Maint Engineer":"Building Maintenance Engineer","Custodian/Janitor":"Custodian/Janitor",Electrician:"Electrician","Field Service Tech.":"Field Service Technician","Heat/AirCond Repair":"Heat/Air Conditioner Repairman","Housekeeper/Maid":"Housekeeper/Maid","Lndscpe/Grnds Maint":"Landscape/Grounds Maintenance","Maint Mechanic":"Maintenance Mechanic",Mechanic:"Mechanic","Factory Worker":"Factory Worker","Furniture Finisher":"Furniture Finisher",Jeweler:"Jeweler","Machine Operator":"Machine Operator",Packer:"Packer","Plant Manager":"Plant Manager","Printer/Bookbinder":"Printer/Bookbinder","Quality Control":"Quality Control","Refining Operator":"Refining Operator",Shoemaker:"Shoemaker","Tailor/Custom Sewer":"Tailor/Custom Sewer","Textile Worker":"Textile Worker",Upholsterer:"Upholsterer","Assist-Med/Dent/Vet":"Assistant - Medic/Dent/Vet",Clergy:"Clergy","Client Care Worker":"Client Care Worker","Dental Hygenist":"Dental Hygienist",Dentist:"Dentist",Doctor:"Doctor","Hospice Volunteer":"Hospice Volunteer",Mortician:"Mortician","Nurse - C.N.A.":"Nurse - C.N.A.","Nurse - LPN":"Nurse - LPN","Nurse - RN":"Nurse - RN","Nurse Practitioner":"Nurse Practitioner",Optometrist:"Optometrist","Paramedic/EM Tech":"Paramedic/E.M. Technician",Pharmacist:"Pharmacist","Social Worker":"Social Worker","Support Services":"Support Services",Therapist:"Therapist",Veterinarian:"Veterinarian",Caregiver:"Caregiver","Dry Cleaner/Laundry":"Dry Cleaner/Laundry","Hair Stylist/Barber":"Hair Stylist/Barber",Housekeeper:"Housekeeper",Manicurist:"Manicurist",Masseuse:"Masseuse",Nanny:"Nanny","Pet Services":"Pet Services",Baker:"Baker",Bartender:"Bartender",Bellhop:"Bellhop","Bus Person":"Bus Person",Caterer:"Caterer",Chef:"Chef",Concessionaire:"Concessionaire",Concierge:"Concierge","Cook-Rest/Cafeteria":"Cook - Restaurant/Cafeteria","Cook/Wrkr-Fast Food":"Cook/Worker-Fast Food","Delivery Person":"Delivery Person","Desk Clerk":"Desk Clerk",Dishwasher:"Dishwasher","Food Prod/Packing":"Food Production/Packing","Host/Maitre d":"Host/Maitre d",Manager:"Manager",Valet:"Valet","Waiter/Waitress":"Waiter/Waitress","Wine Steward":"Wine Steward",Retired:"Retired","Activity/Recre.Asst":"Activity/Recreational Assistant",Agent:"Agent",Athlete:"Athlete","CampCounselor/Lead":"Camp Counselor/Lead",Coach:"Coach","Director, Program":"Director, Program","Event Mgr/Promoter":"Event Manager/Promoter","Life Guard":"Life Guard","Mgr - Fitness Club":"Manager - Fitness Club","Sales-Tkt/Mmbrshp":"Sales-Ticket/Membership","SportsBrdcstr/Journ":"Sports Broadcaster/Journalist","Trainer/Instructor":"Trainer/Instructor","Umpire/Referee":"Umpire/Referee","Graduate Student":"Graduate Student","High school":"High school",Undergraduate:"Undergraduate","Air Traffic Control":"Air Traffic Control","Airport Ops Crew":"Airport Operations Crew","Bellhop/Porter":"Bellhop/Porter","Crane Loader/Oper":"Crane Loader/Operator","Driver-Bus/Strcar":"Driver - Bus/Streetcar","Driver-Taxi/Limo":"Driver-Taxi/Limo","Driver-Truck/Delvry":"Driver-Truck/Delivery","Flight Attendant":"Flight Attendant","Forklift Operator":"Forklift Operator",Laborer:"Laborer",Longshoreman:"Longshoreman","Mate/Sailor":"Mate/Sailor","Mgr Warehse/Dist":"Manager - Warehouse/District","Parking Lot Attend":"Parking Lot Attendant","Pilot/Capt/Eng":"Pilot/Captain/Engineer","Railroad Worker":"Railroad Worker","Shipping/RecClk":"Shipping/Receiving Clerk","Subway/LgtRail Oper":"Subway/Light Rail Operator","Ticket Agent":"Ticket Agent","Transportation Spec":"Transportation Specialist",Unemployed:"Unemployed"},Mv=new Set(["Disabled","Retired","Unemployed","Other"]),Yg=new Set(["AAA","AARP","AIG","AIC","CNA","USAA","SR22","PIP","UM","UMPD","BI","PD","MP"]),nw=new Set,Ml=a=>{if(Yg.has(a)||/^[A-Z]{2}$/.test(a))return a;let r=a.replace(/^[A-Z]_(?=[A-Za-z])/,"");return/^[A-Z0-9_]+$/.test(r)?r.split("_").filter(Boolean).map(l=>Yg.has(l)?l:l.charAt(0)+l.slice(1).toLowerCase()).join(" "):r.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g,"$1 $2").replace(/_/g," ").trim()},wv=(a,r)=>Av[a]?.[r]||ew[r]||Ml(r),aw=(a,r)=>(r??[]).map(l=>({value:l,label:wv(a,l)})),rw=a=>{let r=String(a??"").trim();return!r||Mv.has(r)?null:tw[r]??null},iw=a=>Tv[a]??Ml(a),lw=()=>[...nw].sort(),Ov={CollDeductible:{key:"vehicle_coll_deductible",label:"Collision deductible",entity:"vehicle"},CompDeductible:{key:"vehicle_comp_deductible",label:"Comprehensive deductible",entity:"vehicle"},TowingAndLabor:{key:"vehicle_towing_and_labor",label:"Towing and labor",entity:"vehicle"},TransportationExpense:{key:"vehicle_transportation_expense",label:"Rental reimbursement",entity:"vehicle"},FullGlass:{key:"vehicle_full_glass",label:"Full glass coverage",entity:"vehicle"},LoanLease:{key:"vehicle_loan_lease",label:"Loan/lease payoff",entity:"vehicle"},AnyModifications:{key:"vehicle_has_modifications",label:"Vehicle modifications",entity:"vehicle"},AntiTheft:{key:"anti_theft_type",label:"Anti-theft device",entity:"vehicle"},AntiLockBrakes:{key:"anti_lock_brakes",label:"Anti-lock brakes",entity:"vehicle"},PassiveRestraints:{key:"passive_restraint_type",label:"Passive restraints",entity:"vehicle"},DaytimeRunningLights:{key:"daytime_running_lights",label:"Daytime running lights",entity:"vehicle"},BodyStyle:{key:"body_style",label:"Body style",entity:"vehicle"},NumberOfMiles:{key:"annual_mileage",label:"Annual mileage",entity:"vehicle"},MilesToWork:{key:"miles_to_work",label:"Miles to work",entity:"vehicle"},OwnershipType:{key:"ownership_type",label:"Own, finance, or lease",entity:"vehicle"},PrimeryUseOfVehicle:{key:"usage",label:"How the vehicle is used",entity:"vehicle"},WasTheCarNew:{key:"new_when_purchased",label:"New when purchased",entity:"vehicle"},GarageAddressDifferent:{key:"vehicle_garaged_at_residence",label:"Where the vehicle is parked",entity:"vehicle"},CostNewValue:{key:"cost_new_value_cents",label:"Original cost",entity:"vehicle"},PLYear:{key:"year",label:"Vehicle year",entity:"vehicle"},PLMake:{key:"make",label:"Vehicle make",entity:"vehicle"},PLModel:{key:"model",label:"Vehicle model",entity:"vehicle"},VIN:{key:"vin",label:"VIN",entity:"vehicle"},DOB:{key:"date_of_birth",label:"Date of birth",entity:"driver"},DriverDateLicensed:{key:"date_first_licensed",label:"Date first licensed",entity:"driver"},DriverLicenseNumber:{key:"license_number",label:"License number",entity:"driver"},DriverStateLicensed:{key:"license_state",label:"License state",entity:"driver"},DriverLicenseStatus:{key:"license_status",label:"License status",entity:"driver"},DriversLicenseBeenSuspendedOrRevoked:{key:"last_5_years_license_suspended_or_revoked",label:"License suspended or revoked",entity:"driver"},DriverOccupationStr:{key:"occupation",label:"Occupation",entity:"driver"},DriverEmploymentIndustry:{key:"industry",label:"Industry",entity:"driver"},DriverEducation:{key:"education_level",label:"Education",entity:"driver"},DriverRelationshipToDriver:{key:"relationship_to_insured",label:"Relationship to you",entity:"driver"},DriverSSN:{key:"social_security_number",label:"Social Security number",entity:"driver"},SR:{key:"sr22",label:"SR-22 filing",entity:"driver"},IsDefensiveDriver:{key:"accident_prevention_course",label:"Defensive driving course",entity:"driver"},DefensiveDriverCourseDate:{key:"accident_prevention_course_date",label:"Defensive driving course date",entity:"driver"},Gender:{key:"gender",label:"Gender",entity:"driver"},BI:{key:"policy_bi",label:"Bodily injury limit",entity:"coverage"},PD:{key:"policy_pd",label:"Property damage limit",entity:"coverage"},UM:{key:"policy_um",label:"Uninsured/underinsured motorist limit",entity:"coverage"},UMPD:{key:"policy_umpd",label:"Uninsured motorist property damage",entity:"coverage"},MP:{key:"policy_mp",label:"Medical payments",entity:"coverage"},PIP:{key:"policy_pip",label:"Personal injury protection",entity:"coverage"},PIPDeductible:{key:"policy_pip_deductible",label:"PIP deductible",entity:"coverage"},AdditionalPIP:{key:"additional_pip",label:"Additional PIP",entity:"coverage"},AutoDeathIndemnity:{key:"policy_auto_death_indemnity",label:"Death indemnity",entity:"coverage"},TortThreshold:{key:"tort_threshold",label:"Lawsuit (tort) option",entity:"coverage"},HealthCare:{key:"pip_coverage_type",label:"PIP coverage type",entity:"coverage"},ExtendedMedical:{key:"extended_medical",label:"Extended medical",entity:"coverage"},HealthInsCoversAutoAccident:{key:"has_health_insurance_auto_accident",label:"Health insurance covers auto accidents",entity:"coverage"},EffectiveDate:{key:"effective_date",label:"Policy start date",entity:"coverage"},PLAllPerilsDeductible:{key:"all_perils_deductible",label:"Deductible",entity:"coverage"},WindstormDeductible:{key:"windstorm_deductible",label:"Windstorm deductible",entity:"coverage"},PLPersonalLiability:{key:"personal_liability",label:"Personal liability",entity:"coverage"},PLPersonalProperty:{key:"personal_property_coverage",label:"Personal property coverage",entity:"coverage"},PLOtherStructures:{key:"other_structures_coverage",label:"Other structures coverage",entity:"coverage"},PersonalLineReplacementCost:{key:"dwelling_replacement_cost",label:"Dwelling replacement cost",entity:"coverage"},DwellingMedicalPayments:{key:"dwelling_medical_payments",label:"Medical payments to others",entity:"coverage"},LossOfUse:{key:"loss_of_use_coverage",label:"Loss of use coverage",entity:"coverage"},NumberOfMortgagees:{key:"number_of_mortgagees",label:"Number of mortgages",entity:"coverage"},PLYearBuilt:{key:"year_built",label:"Year built",entity:"home"},PLSquareFootage:{key:"total_area_sq_ft",label:"Square footage",entity:"home"},PLTypeOfDwelling:{key:"dwelling_type",label:"Dwelling type",entity:"home"},PLConstructionType:{key:"construction_type",label:"Construction type",entity:"home"},PLNumberOfStories:{key:"number_of_stories",label:"Number of stories",entity:"home"},PLNumberOfUnits:{key:"number_of_units",label:"Number of units",entity:"home"},PLNumberOfUnitsInFirewall:{key:"number_of_units_in_firewall",label:"Units in firewall",entity:"home"},PLHeatingType:{key:"heating_type",label:"Heating type",entity:"home"},RoofType:{key:"roof_material_type",label:"Roof material",entity:"home"},MitRoofShape:{key:"roof_shape",label:"Roof shape",entity:"home"},PLRoofUpdated:{key:"roof_updated_type",label:"Roof update",entity:"home"},RoofUpdatedYear:{key:"year_roof_updated",label:"Year the roof was updated",entity:"home"},TypeOfFoundation:{key:"foundation_type",label:"Foundation type",entity:"home"},ExteriorWallsConstruction:{key:"exterior_wall_type",label:"Exterior walls",entity:"home"},ArchitectureStyle:{key:"architectural_style",label:"Architectural style",entity:"home"},ConstructionQuality:{key:"construction_quality",label:"Construction quality",entity:"home"},BasementType:{key:"basement_type",label:"Basement type",entity:"home"},OccupancyType:{key:"occupancy_type",label:"Occupancy",entity:"home"},TypeOfResidence:{key:"residence_type",label:"Residence type",entity:"home"},PurchaseDate:{key:"move_in_date",label:"Move-in date",entity:"home"},PurchasePrice:{key:"sale_price_cents",label:"Purchase price",entity:"home"},DistanceToFireHydrant:{key:"distance_from_fire_hydrant_ft",label:"Distance to fire hydrant",entity:"home"},DistanceToFireStation:{key:"distance_from_fire_station_miles",label:"Distance to fire station",entity:"home"},NumberOfDogsOnPremises:{key:"number_of_dogs",label:"Dogs on the property",entity:"home"},ViciousExoticAnimals:{key:"has_vicious_animals",label:"Vicious or exotic animals",entity:"home"},ShortTermRental:{key:"short_term_rental",label:"Short-term rental use",entity:"home"},GatedOrLimited:{key:"gated_community_discount",label:"Gated community",entity:"home"},BuildingOverWater:{key:"located_over_water",label:"Built over water",entity:"home"},HomeUnderConstruction:{key:"under_construction",label:"Under construction",entity:"home"},BusinessOrDaycare:{key:"has_business_on_premises",label:"Business on the property",entity:"home"},SmokeDetector:{key:"smoke_detectors",label:"Smoke detectors",entity:"home"},BurglarAlarm:{key:"burglar_alarm_system",label:"Burglar alarm",entity:"home"},BurglarAlarmType:{key:"burglar_alarm_system_type",label:"Burglar alarm type",entity:"home"},FireDetection:{key:"fire_detection_system",label:"Fire detection system",entity:"home"},FireDetectionType:{key:"fire_detection_system_type",label:"Fire detection type",entity:"home"},FireExtinguisher:{key:"fire_extinguisher",label:"Fire extinguisher",entity:"home"},DeadBoltLocks:{key:"deadbolt_locks",label:"Deadbolt locks",entity:"home"},SprinklerSystem:{key:"sprinkler_system",label:"Sprinkler system",entity:"home"},SprinklerSystemType:{key:"sprinkler_system_type",label:"Sprinkler system type",entity:"home"},ElectricCircuitBreaker:{key:"electric_circuit_breaker",label:"Circuit breakers",entity:"home"},PlumbingType:{key:"plumbing_type",label:"Plumbing type",entity:"home"},OilTankLocation:{key:"oil_tank_location",label:"Oil tank location",entity:"home"},TypeGarageCarport:{key:"garage_type",label:"Garage type",entity:"home"},StormShutters:{key:"storm_shutters",label:"Storm shutters",entity:"home"},MitCreditForm:{key:"mit_credit_form",label:"Wind mitigation form",entity:"home"},HeatingUpdateYN:{key:"heating_update_yn",label:"Heating updated",entity:"home"},PLHeatingUpdate:{key:"heating_update_type",label:"Heating update type",entity:"home"},HeatingUpdateYear:{key:"heating_update_year",label:"Year heating was updated",entity:"home"},PlumbingUpdateYN:{key:"plumbing_update_yn",label:"Plumbing updated",entity:"home"},PLPlumbingUpdated:{key:"plumbing_update_type",label:"Plumbing update type",entity:"home"},PlumbingUpdatedYear:{key:"plumbing_update_year",label:"Year plumbing was updated",entity:"home"},ElectricalUpdateYN:{key:"electrical_update_yn",label:"Electrical updated",entity:"home"},PLElectircalUpdated:{key:"electrical_update_type",label:"Electrical update type",entity:"home"},ElectircalUpdatedYear:{key:"electrical_update_year",label:"Year electrical was updated",entity:"home"},FirstName:{key:"first_name",label:"First name",entity:"applicant"},MiddleName:{key:"middle_name",label:"Middle name",entity:"applicant"},LastName:{key:"last_name",label:"Last name",entity:"applicant"},DateOfBirth:{key:"date_of_birth",label:"Date of birth",entity:"applicant"},PersonalLineGender:{key:"gender",label:"Gender",entity:"applicant"},MaritalStatus:{key:"marital_status",label:"Marital status",entity:"applicant"},Email:{key:"email",label:"Email address",entity:"applicant"},PrimaryPhoneNumber:{key:"phone",label:"Phone number",entity:"applicant"},SSN:{key:"social_security_number",label:"Social Security number",entity:"applicant"},OccupationStr:{key:"occupation",label:"Occupation",entity:"applicant"},EmploymentIndustry:{key:"industry",label:"Industry",entity:"applicant"},YearsAtAddress:{key:"years_at_address",label:"Years at this address",entity:"applicant"},MonthsAtAddress:{key:"months_at_address",label:"Months at this address",entity:"applicant"},IsMailAddress:{key:"is_mailing_address_different",label:"Mailing address",entity:"applicant"},CreditCheckPermission:{key:"order_credit_authorized",label:"Credit check permission",entity:"applicant"},IssuedCorporationOrTrustInd:{key:"is_corporation",label:"Corporation or trust",entity:"applicant"},AnyAdditionalInsured:{key:"has_co_applicant",label:"Co-applicant",entity:"applicant"},CoFirstName:{key:"co_applicant_first_name",label:"Co-applicant's first name",entity:"applicant"},CoMiddleName:{key:"co_applicant_middle_name",label:"Co-applicant's middle name",entity:"applicant"},CoLastName:{key:"co_applicant_last_name",label:"Co-applicant's last name",entity:"applicant"},CoDateOfBirth:{key:"co_applicant_date_of_birth",label:"Co-applicant's date of birth",entity:"applicant"},CoPersonalLineGender:{key:"co_applicant_gender",label:"Co-applicant's gender",entity:"applicant"},CoMaritalStatus:{key:"co_applicant_marital_status",label:"Co-applicant's marital status",entity:"applicant"},CoOccupationStr:{key:"co_applicant_occupation",label:"Co-applicant's occupation",entity:"applicant"},CoEmploymentIndustry:{key:"co_applicant_employment_industry",label:"Co-applicant's industry",entity:"applicant"},SelectRelationshipToClient:{key:"co_applicant_relationship",label:"Relationship to co-applicant",entity:"applicant"},CurrentPersonalAutoCarrier:{key:"auto_prior_carrier_name",label:"Current auto carrier",entity:"history"},PriorInsuranceCarrier:{key:"auto_prior_carrier_name",label:"Current auto carrier",entity:"history"},CurrentPersonalHomeownerCarrier:{key:"home_prior_carrier_name",label:"Current home carrier",entity:"history"},YearsWithPriorCarrierAuto:{key:"auto_prior_years",label:"Years with your auto carrier",entity:"history"},MonthsWithPriorCarrierAuto:{key:"auto_prior_months",label:"Months with your auto carrier",entity:"history"},YearsWithPriorCarrierHome:{key:"home_prior_years",label:"Years with your home carrier",entity:"history"},YearsWithContinuousCoverageAuto:{key:"auto_continuous_coverage_years",label:"Years of continuous auto coverage",entity:"history"},YearsWithContinuousCoverageHome:{key:"home_continuous_coverage_years",label:"Years of continuous home coverage",entity:"history"},PriorCarrierExpirationDateAuto:{key:"auto_prior_expiration_date",label:"Auto policy expiration date",entity:"history"},PriorCarrierExperationDate:{key:"home_prior_expiration_date",label:"Home policy expiration date",entity:"history"},SelectPriorLiabilityLimitsAuto:{key:"auto_prior_liability_limit",label:"Current liability limits",entity:"history"},SelectReasonNoPriorAutoInsurance:{key:"auto_reason_for_no_insurance",label:"Reason for no prior insurance",entity:"history"},CurrentAutoAnnualPremium:{key:"auto_current_annual_premium_cents",label:"Current annual premium",entity:"history"},LapsInCoverage:{key:"lapse_in_coverage",label:"Lapse in coverage",entity:"history"},AutoInsuranceCancelled:{key:"auto_cancelled_declined_refused_to_renew",label:"Auto policy cancelled or non-renewed",entity:"history"},PropertyInsuranceCancelled:{key:"property_insurance_cancelled",label:"Home policy cancelled or non-renewed",entity:"history"},ForeclosureOrRepossessionOrBankruptcy:{key:"named_insured_foreclosure_repo_bankruptcy",label:"Foreclosure, repossession, or bankruptcy",entity:"history"},InsuranceFraud:{key:"named_insured_convicted_insurance_fraud",label:"Insurance fraud conviction",entity:"history"},HomeAutoInsurance:{key:"multi_policy_discount",label:"Bundling discount",entity:"history"},AutoHomeInsurance:{key:"multi_policy_discount",label:"Bundling discount",entity:"history"}},Qf={};for(let a of Object.values(Ov))a.key&&!Qf[a.key]&&(Qf[a.key]=a);var $g={PersonalVehicles:"vehicle",Vehicles:"vehicle",Drivers:"driver"},ow=/\[\?\([^)]*\)\]/g,sw=/\[\?\(@__id__\s*==\s*'([^']*)'\)\]/g,uw=new Set(["Id","SequenceNum","Assignments","IsDrv","DriverId","MainVehicleId"]),cw=a=>/^[a-z][a-z0-9_]*$/.test(a),Rv=a=>{let r=(a??"").trim();if(!r)return{raw:r,entity:"general",label:"",isOpaque:!0};if(cw(r)){let m=Qf[r];return{raw:r,entity:m?.entity??"general",key:r,label:m?.label??Ml(r),isOpaque:!m}}let l=[...r.matchAll(sw)].map(m=>m[1]),s=r.replace(ow,"").split(".").filter(Boolean),c=s[s.length-1]??r;if(uw.has(c))return{raw:r,entity:"general",label:"",isOpaque:!0};let f=s.find(m=>m in $g),p=Ov[c];return{raw:r,entity:(f?$g[f]:void 0)??p?.entity??"general",entityId:l[l.length-1],key:p?.key,label:p?.label??Ml(c),isOpaque:!p}},Sd=[{question:"What's your ZIP code?",inputType:"text",key:"postal_code",required:!0}],Dv="Zip|",xv=[{question:"What is your email address?",inputType:"email",key:"email",required:!0}],kv="Email|",Zf=new Set(["TX","NJ"]),_s={Auto:["Zip","Email","Product","Name","Phone","Vehicle","Driver","AutoCurrentCarrier","Demographics","Ssn"],Home:["Zip","Email","Product","Name","Phone","Home","HomePolicy","Demographics","Ssn"],Bundle:["Zip","Email","Product","Name","Phone","Home","Vehicle","Driver","BundlePolicy","Demographics","Ssn"]},_i={},Nv=a=>{_i=a},fw=()=>{_i={}},ks=a=>{try{a()}catch{}},Tn=(a,r)=>{ks(()=>_i.onQuoteFailure?.(a,r))},Lv=(a,r)=>{ks(()=>_i.onBreadcrumb?.(a,r))},wl=(a,r)=>{ks(()=>_i.onTrack?.(a,r))},Ns=a=>{ks(()=>_i.onContext?.(a))},Hv=a=>Ns({product:a}),Uv=a=>Ns({quoteId:a}),zv=a=>Ns({stage:a}),Jn=a=>{if(a&&typeof a=="object"&&"statusCode"in a){let r=a.statusCode;if(typeof r=="number")return r}},Ss=null,Ed=a=>{Ss=a},Qt=()=>{if(!Ss)throw Error("[credify-ui-kit] configureApi() must be called before using the API client.");return Ss},Bv=()=>{Ss=null},ur=()=>{try{return!!Qt().isMockActive?.()}catch{return!1}},Cd=()=>{try{return!!Qt().isTestActive?.()}catch{return!1}},Ls=()=>`${Qt().storagePrefix}quote_id`,Hs=()=>`${Qt().storagePrefix}auth_token`,jv=Ls,Iv=Hs,dw="__mock",yi=a=>Qt().isMockActive?.()?`${a}${dw}`:a,pw=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,qv=a=>{try{return localStorage.getItem(a)}catch{return null}},Pv=(a,r)=>{try{localStorage.setItem(a,r)}catch{}},Qg=a=>{try{localStorage.removeItem(a)}catch{}},hr=()=>{let a=qv(yi(Ls()));return a!==null&&!Qt().isMockActive?.()&&!pw.test(a)?(gi(),null):a},Us=a=>Pv(yi(Ls()),a),zs=()=>qv(yi(Hs())),Bs=a=>Pv(yi(Hs()),a),gi=()=>{Qg(yi(Ls())),Qg(yi(Hs()))},mw=_v({buildResumeUrl:()=>Ad,captureResumeTokenFromUrl:()=>js,consumeResumeToken:()=>kl,hasResumeToken:()=>Is}),Xf="credify_rt",hw=["mock"],Es=null,js=a=>{try{if(typeof window>"u")return;let r=new URL(window.location.href),l=r.searchParams.get(Xf);if(!l)return;Es=l,r.searchParams.delete(Xf),window.history.replaceState(window.history.state,"",r.toString())}catch(r){a?.(r)}},Is=()=>Es!==null,kl=()=>{let a=Es;return Es=null,a},Ad=a=>{let r=new URL(window.location.href),l=hw.map(s=>[s,r.searchParams.get(s)]).filter(s=>s[1]!==null);r.search="",r.hash="";for(let[s,c]of l)r.searchParams.set(s,c);return r.searchParams.set(Xf,a),r.toString()},Wf,Td=a=>{Wf=a},Zg=async a=>{try{let{ZIP_CITIES:r}=await me(async()=>{const{ZIP_CITIES:l}=await import("./zipCities-CU_i9iT--B1AIvNRh.js");return{ZIP_CITIES:l}},[]);return r[a]??null}catch{return null}},Al=async a=>{if(!/^\d{5}$/.test(a))return null;let r=!1;try{r=!!Qt().isMockActive?.()}catch{r=!1}if(r){let{MOCK_ZIP_CITIES:l}=await me(()=>import("./fixtures-ijbZ16Zg-D-3ehYX7.js"),[]).then(s=>s.f);return l[a]??null}if(!Wf)return Zg(a);try{return await Wf(a)}catch{return Zg(a)}},yw=({disabled:a=!1,busy:r=!1,onChoose:l})=>{let[s,c]=T.useState(!1);return A.jsxs("section",{className:"cds-mb-4 cds-rounded-xl cds-border cds-border-border cds-bg-surface-elevated cds-p-4",children:[A.jsx("h3",{className:"cds-mb-3 cds-text-sm cds-font-bold cds-uppercase cds-tracking-wide cds-text-fg",children:"Communications consent"}),A.jsxs("label",{className:"cds-flex cds-cursor-pointer cds-items-start cds-gap-2 cds-text-sm cds-text-fg-muted",children:[A.jsx("input",{type:"checkbox",checked:s,disabled:a||r,onChange:f=>c(f.target.checked),className:"cds-mt-1 cds-h-4 cds-w-4 cds-shrink-0 cds-accent-brand-accent"}),A.jsx("span",{children:"I consent to communications from Credify Corporation (licensed insurance agency) and my selected carrier(s) at the phone number and email address I provided. This covers: support (including AI agents), carrier quote and service contact, automated rate shopping at or before renewal, policy renewal notifications, claims management, and Credify’s newsletter (which we may send by email, or by text message with a link to read it)."})]}),A.jsxs("div",{className:"cds-mt-3 cds-space-y-2 cds-text-xs cds-leading-relaxed cds-text-fg-muted",children:[A.jsx("p",{children:"These may use automated systems, emails or texts. Message frequency varies. Message & data rates may apply. Reply STOP to opt out of SMS; Reply HELP for help."}),A.jsx("p",{children:"Consent is not required to receive quotes or purchase insurance."}),A.jsxs("p",{children:["Credify Corporation – Texas #3309669."," ",A.jsx("a",{href:"/privacy-policy",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Privacy Policy"})," ","|"," ",A.jsx("a",{href:"/terms-of-service",target:"_blank",rel:"noreferrer",className:"cds-font-semibold cds-text-fg cds-underline",children:"Terms of Service"})]})]}),A.jsxs("div",{className:"cds-mt-5 cds-grid cds-grid-cols-1 cds-gap-3 sm:cds-grid-cols-2",children:[A.jsx("button",{type:"button",disabled:!s||a||r,onClick:()=>l(!0),className:`cds-w-full cds-rounded-xl cds-bg-accent cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-primary-foreground cds-transition hover:cds-bg-accent disabled:cds-cursor-not-allowed disabled:cds-bg-border disabled:hover:cds-bg-border ${mr}`,children:r?"Submitting…":"I Consent"}),A.jsx("button",{type:"button",disabled:a||r,onClick:()=>l(!1),className:`cds-w-full cds-rounded-xl cds-border cds-border-input cds-bg-surface-elevated cds-px-6 cds-py-3.5 cds-text-base cds-font-bold cds-text-fg cds-transition hover:cds-bg-surface-muted disabled:cds-cursor-not-allowed disabled:cds-opacity-50 disabled:hover:cds-bg-surface-elevated ${mr}`,children:"I Do Not Consent"})]})]})},gw=a=>{if(typeof window>"u")return null;try{return new URLSearchParams(window.location.search).get(a)}catch{return null}},Xg=[{stage:"Zip",key:"postal_code",normalize:a=>a.replace(/\D/g,"").slice(0,5),isValid:Cl,fromUrl:()=>gw("zip")},{stage:"Email",key:"email",normalize:a=>a.trim(),isValid:Ff,fromUrl:()=>null},{stage:"Phone",key:"phone",normalize:Ev,isValid:Cv,fromUrl:()=>null}],vw=()=>{typeof document<"u"&&delete document.documentElement.dataset.credifyResuming},Wg=()=>({[Dv]:Sd,[kv]:xv}),yf=a=>[..._s[a]],bw=6,_w=1500,Sw=new Set(["HomePolicy","BundlePolicy"]),Gv="Review",Ew=new Set(["processing","completed","no_rates","failed"]),Cw="credify-auto-quote",Aw=a=>a.source===Cw?"lead":"call",Kg=(a,r)=>{if(!r)return 0;if(Ew.has(String(r.rates_status??"")))return a.length+1;if(r.current_stage===Gv)return a.length;let l=a.indexOf(r.current_stage);return l>0?l:0},Tw=()=>{if(typeof window>"u")return!1;let a=new URLSearchParams(window.location.search).get("credify_test");return a!==null&&(a===""||/^(1|true|yes)$/i.test(a.trim()))},Fv=()=>Cd()||Tw(),Mw=()=>Fv(),gf="78701",ww=()=>{let a=0;return r=>{r>bw||r<=a||(a=r,wl("quote_step_completed",{stepIndex:r}))}},Vv=(a,r)=>{let[l,s]=T.useState(null),[c,f]=T.useState({product:a}),[p,m]=T.useState(()=>yf(a)),[g,y]=T.useState(Wg),[E,S]=T.useState(0),[U,F]=T.useState(!1),[I,K]=T.useState(!1),[V,ne]=T.useState(!1),[Se,ae]=T.useState(!1),[de,j]=T.useState(!1),[Ee,$]=T.useState(),[Ue,je]=T.useState(!1),[rt,se]=T.useState(null),[Q,Re]=T.useState(!1),[Qe,et]=T.useState(!1),[R,G]=T.useState(!1),[J,ge]=T.useState(!1),[Me,b]=T.useState("call"),x=T.useRef(l),B=T.useRef(c),Y=T.useRef(r?.prefill);T.useEffect(()=>{x.current=l,B.current=c,Y.current=r?.prefill});let ue=T.useRef(ww()),ee=T.useRef(null),ye=T.useRef(null),Ie=T.useMemo(()=>[...p.map(L=>({kind:"stage",stage:L})),{kind:"terminal",screen:"review"},{kind:"terminal",screen:"rates"}],[p]),Ye=T.useMemo(()=>Math.max(p.length,_s[a]?.length??0)+1,[p.length,a]),yt=Ie[E],re=yt?.kind==="stage"?yt.stage:void 0,Mt=String(c.state??"");T.useEffect(()=>{Hv(a)},[a]),T.useEffect(()=>{zv(re),re&&Lv(`stage: ${re}`,{screenIndex:E})},[re,E]),T.useEffect(()=>{Uv(l)},[l]);let ia=T.useMemo(()=>{let L={};for(let z of p){let P=g[`${z}|${Mt}`];P&&(L[z]=P)}return L},[p,g,Mt]),bt=T.useMemo(()=>re?g[`${re}|${Mt}`]??g[`${re}|`]??[]:[],[re,g,Mt]),wn=!!(re&&(`${re}|${Mt}`in g||(re==="Zip"||re==="Email")&&`${re}|`in g)),On=T.useMemo(()=>({errorsByKey:{},itemErrors:[],issues:[],isValid:!0}),[]),[Ll,Si]=T.useState(On),Ei=T.useMemo(()=>re==="Zip"?Cl(c.postal_code)?On:{errorsByKey:{postal_code:"Enter a 5-digit ZIP code."},itemErrors:[],issues:["Enter a 5-digit ZIP code."],isValid:!1}:re==="Email"?Ff(c.email)?On:{errorsByKey:{email:"Enter a valid email address."},itemErrors:[],issues:["Enter a valid email address."],isValid:!1}:re?Ll:On,[re,c.postal_code,c.email,Ll,On]);T.useEffect(()=>{if(!re||re==="Zip"||re==="Email")return;let L=!1;return me(()=>import("./stage-zClSIgVN-CQ0m7lYx.js"),__vite__mapDeps([0,1,2,3,4])).then(z=>z.a).then(({validateStage:z})=>{L||Si(z({questions:bt,values:c,stageKey:re}))}),()=>{L=!0}},[re,bt,c]);let ft=T.useCallback(L=>{f(z=>{let P={...z,...L};return B.current=P,P})},[]),Ci=T.useCallback((L,z)=>{if(L.city||L.__address_city)return;let P=String(L.postal_code??"").trim();Cl(P)&&Al(P).then(q=>{if(!q||z())return;let Z=B.current;Z.city||Z.__address_city||ft({city:q,__address_city:q})})},[ft]),Ga=T.useCallback(async L=>{let{getStagesForQuote:z}=await me(async()=>{const{getStagesForQuote:Z}=await Promise.resolve().then(()=>Rt);return{getStagesForQuote:Z}},void 0),{stages:P}=await z(L??void 0),q=P.filter(Z=>Z!=="CanopyConnect");return m(q),q},[]),Rn=T.useCallback(async(L,z,P)=>{ae(!0);try{let{getQuestionsByStage:q}=await me(async()=>{const{getQuestionsByStage:ie}=await Promise.resolve().then(()=>Rt);return{getQuestionsByStage:ie}},void 0),{questions:Z}=await q(L,z??void 0),{ensureAutoCoverageSelections:ce}=await me(()=>import("./vehicleCoverage-CgeEazR0-DlDAnkau.js"),__vite__mapDeps([4,2,1,3])).then(ie=>ie.d),pe=ce(L,Z);return y(ie=>({...ie,[`${L}|${P}`]:pe})),pe}catch(q){return $("We could not load this step. Please try again."),Tn(q,{phase:"stage_load",product:a,stage:L,quoteId:z,endpoint:"/get-questions-by-stage",statusCode:Jn(q)}),[]}finally{ae(!1)}},[a]),wt=T.useCallback(async(L,z,P)=>{ge(!0);try{await Promise.all(L.map(q=>Rn(q,z,P)))}finally{ge(!1)}},[Rn]);T.useEffect(()=>{js(),wl("quote_flow_start");let L=!1;return(async()=>{try{let z=kl();if(z){K(!0);try{let{redeemResumeToken:ie}=await me(async()=>{const{redeemResumeToken:fe}=await Promise.resolve().then(()=>Rt);return{redeemResumeToken:fe}},void 0);await ie(z)}catch{L||$("That link has expired. Enter your ZIP code to pick up where you left off.")}}let P=hr();P&&(x.current=P,s(P),K(!0));let q=x.current,Z,ce=yf(a);if(q)try{let{getQuote:ie}=await me(async()=>{const{getQuote:$e}=await Promise.resolve().then(()=>Rt);return{getQuote:$e}},void 0),{quote:fe}=await ie(q);if(!L&&fe){Z=fe;let[{fromQuoteRecord:$e},{seedHomeCoverages:pt}]=await Promise.all([me(()=>import("./payload-BMtl8VDy-DSIXtfb-.js"),__vite__mapDeps([5,1,6])).then(Zt=>Zt.o),me(()=>import("./coverageDerivation-CV2ORogj-Dne34PDQ.js"),[]).then(Zt=>Zt.o)]),Je=$e(fe);f({...Je,...pt(Je),product:a}),Ci(Je,()=>L),ye.current||await Promise.resolve(),await ye.current?.(Je,q,()=>L)}}catch(ie){gi(),L||s(null),x.current=null,Tn(ie,{phase:"quote_resume",product:a,quoteId:q,endpoint:"/get-quote",statusCode:Jn(ie)})}if(x.current&&(ce=await Ga(x.current),!L&&ce.length))if(Z?.review_status==="pending_review")G(!0),b(Aw(Z)),ge(!0),S(ce.length);else{let ie=Kg(ce,Z);ie>0&&S(ie);let fe=ce[ie]??ce[0];fe&&fe!=="Zip"&&fe!=="Email"&&await Rn(fe,x.current,String(B.current.state??""))}let pe=L?null:(await me(async()=>{const{mockStepFromUrl:ie}=await import("./mockJump-CKjCOGxR-tRN3Jwzq.js");return{mockStepFromUrl:ie}},[])).mockStepFromUrl();pe!=null&&pe!==Kg(ce,Z)&&(ee.current||await Promise.resolve(),await ee.current?.(pe))}catch(z){L||$("We could not start your quote. Please refresh and try again."),Tn(z,{phase:"quote_start",product:a,quoteId:x.current,statusCode:Jn(z)})}finally{L||(K(!1),ne(!0),vw())}})(),()=>{L=!0}},[]);let Hl=T.useRef(new Set);T.useEffect(()=>{if(!R)return;let L=p.filter(z=>{let P=`${z}|${Mt}`;return!(P in g)&&!Hl.current.has(P)});if(!L.length){ge(!1);return}for(let z of L)Hl.current.add(`${z}|${Mt}`);wt(L,x.current,Mt)},[R,p,g,Mt,wt]),T.useEffect(()=>{!re||g[`${re}|${Mt}`]||(re==="Zip"||re==="Email")&&g[`${re}|`]||Rn(re,x.current,Mt)},[re,g,Mt,Rn]);let dt=T.useCallback(L=>{S(L),F(!1),$(void 0),ur()&&me(async()=>{const{writeMockStepHash:z}=await import("./mockJump-CKjCOGxR-tRN3Jwzq.js");return{writeMockStepHash:z}},[]).then(({writeMockStepHash:z})=>{z(L)}),window.scrollTo(0,0)},[]),Dn=T.useRef(null),cn=T.useCallback(async L=>{let z=x.current;if(z)return z;let P=(L??String(B.current.postal_code??"")).trim(),{createQuote:q}=await me(async()=>{const{createQuote:ce}=await Promise.resolve().then(()=>Rt);return{createQuote:ce}},void 0),Z=await q(P,Mw());return x.current=Z.quoteId,s(Z.quoteId),Z.quoteId},[]),Ul=T.useCallback(async L=>{let z=String(B.current.postal_code??"").trim();Al(z).then(ce=>{if(!ce)return;let pe=B.current;ft({city:ce,...pe.__address_city?{}:{__address_city:ce}})});let P=si(z);if(!P)return!0;ft({state:P,__address_state:B.current.__address_state??P});let{isSupportedState:q}=await me(async()=>{const{isSupportedState:ce}=await Promise.resolve().then(()=>Rt);return{isSupportedState:ce}},void 0),{isSupported:Z}=await q(P,L);return Z?!0:(je(!0),!1)},[ft]),Ai=T.useCallback(()=>(Dn.current||=(async()=>{let L=await cn();if(!await Ul(L))return L;let[{stageSlice:z},{toQuotePayload:P},{updateQuote:q}]=await Promise.all([me(()=>import("./stage-zClSIgVN-CQ0m7lYx.js"),__vite__mapDeps([0,1,2,3,4])).then(Z=>Z.a),me(()=>import("./payload-BMtl8VDy-DSIXtfb-.js"),__vite__mapDeps([5,1,6])).then(Z=>Z.o),me(()=>Promise.resolve().then(()=>Rt),void 0)]);return await q({...P(z(g["Zip|"]??Sd,B.current,"Zip")),current_stage:"Email"},!1,L),L})().catch(L=>{throw Dn.current=null,L}),Dn.current),[cn,Ul,g]),zl=T.useCallback(async L=>{let z=B.current,[{parseAddress:P,normalizeStateCode:q},{isSupportedState:Z}]=await Promise.all([me(()=>import("./address-BEVwov8q-EtrExGBv.js"),[]).then(fe=>fe.i),me(()=>Promise.resolve().then(()=>Rt),void 0)]),ce=P(String(z.address??"")),pe=q(String(z.__address_state??ce.state));if(!pe)return!0;ft({state:pe});let{isSupported:ie}=await Z(pe,L);return ie?!0:(je(!0),!1)},[ft]),Bl=T.useCallback(async L=>{if(a==="Auto"||Q)return;let z=B.current,[{parseAddress:P},{prefillProperty:q},{seedHomeCoverages:Z}]=await Promise.all([me(()=>import("./address-BEVwov8q-EtrExGBv.js"),[]).then($e=>$e.i),me(()=>Promise.resolve().then(()=>Rt),void 0),me(()=>import("./coverageDerivation-CV2ORogj-Dne34PDQ.js"),[]).then($e=>$e.o)]),ce=P(String(z.address??"")),pe={address_line_1:String(z.__address_line_1??ce.line_1).trim(),city:String(z.__address_city??ce.city).trim(),state:String(z.__address_state??ce.state).trim(),postal_code:String(z.__address_postal_code??ce.postal_code).trim()};if(!pe.address_line_1||!pe.city||!pe.state||!pe.postal_code)return;let ie=await q(L,pe),{property:fe}=ie;!ie.found||!fe||(f($e=>{let pt={...$e};for(let[Je,Zt]of Object.entries(fe)){if(Zt==null)continue;let xt=pt[Je];(xt===void 0||xt===""||xt===null)&&(pt[Je]=Zt)}return{...pt,...Z(pt)}}),Re(!0))},[a,Q]),la=T.useCallback(L=>{let z=p.indexOf(L);if(z>=0&&z+1<p.length)return p[z+1];let P=_s[a]??[],q=P.indexOf(L);return q>=0&&q+1<P.length?P[q+1]:void 0},[p,a]),_t=T.useCallback(async()=>{if(de||!re||!wn)return;if(re==="Zip"){if(!Cl(B.current.postal_code)){F(!0);return}let q=String(B.current.postal_code??"").trim(),Z=si(q);if(Z&&(ft({state:Z,__address_state:B.current.__address_state??Z}),!Zf.has(Z))){je(!0);return}ue.current(E+1),dt(E+1),Ai();return}let{stageSlice:L,validateStage:z}=await me(()=>import("./stage-zClSIgVN-CQ0m7lYx.js"),__vite__mapDeps([0,1,2,3,4])).then(q=>q.a),P=re==="Email"?Ff(B.current.email)?{isValid:!0}:{isValid:!1}:z({questions:bt,values:B.current,stageKey:re});if(!P.isValid){re!=="Email"&&"errorsByKey"in P&&Si(P),F(!0);return}j(!0),$(void 0);try{let q=Dn.current?await Dn.current:await cn();if(re==="Product"&&!await zl(q))return;let[{toQuotePayload:Z},{updateQuote:ce},{prefillSuggestions:pe},{seedHomeCoverages:ie}]=await Promise.all([me(()=>import("./payload-BMtl8VDy-DSIXtfb-.js"),__vite__mapDeps([5,1,6])).then(Je=>Je.o),me(()=>Promise.resolve().then(()=>Rt),void 0),me(()=>Promise.resolve().then(()=>Jg),void 0).then(Je=>Je.n),me(()=>import("./coverageDerivation-CV2ORogj-Dne34PDQ.js"),[]).then(Je=>Je.o)]),fe=L(bt,B.current,re);re==="Product"&&(fe.product=a),re==="Phone"&&(fe.suppress_verification_sms=!0);let $e=la(re),pt={...Z(fe),current_stage:$e??Gv};if(Object.keys(pt).length&&await ce(pt,!1,q),ue.current(E+1),re==="Phone"&&a!=="Home"&&pe.vehicle.prefetch(q),re==="Vehicle"&&pe.driver.prefetch(q),$e&&Sw.has($e)){let Je=ie(B.current);Object.keys(Je).length&&ft(Je)}if(re==="Product"){let Je=await Ga(q);await Bl(q);let Zt=Math.min(E+1,Je.length);dt(Zt);return}dt(E+1)}catch(q){let{CredifyApiError:Z}=await me(async()=>{const{CredifyApiError:pe}=await Promise.resolve().then(()=>Rt);return{CredifyApiError:pe}},void 0),ce=q instanceof Z&&q.statusCode===404?"Your quote session expired. Please start again.":"Something went wrong saving your answers. Please try again.";$(ce),Tn(q,{phase:"answer_save",product:a,stage:re,quoteId:x.current,endpoint:"/update-quote",statusCode:Jn(q)})}finally{j(!1)}},[de,re,wn,Ai,cn,zl,bt,a,E,Ga,la,Bl,dt,ft]),bn=T.useCallback(()=>{E>0&&dt(E-1)},[E,dt]),Dt=T.useCallback(L=>{let z=Ie.findIndex(P=>P.kind==="stage"&&P.stage===L);z>=0&&dt(z)},[Ie,dt]),Ti=T.useRef(!1),Fa=T.useCallback(async L=>{if(!(!ur()||Ti.current)){Ti.current=!0,et(!0),$(void 0);try{let z={...B.current,product:a},P=String(z.postal_code??"").trim(),q=/^\d{5}$/.test(P)?P:gf,Z=await cn(q),[{isSupportedState:ce,updateQuote:pe},{toQuotePayload:ie}]=await Promise.all([me(()=>Promise.resolve().then(()=>Rt),void 0),me(()=>import("./payload-BMtl8VDy-DSIXtfb-.js"),__vite__mapDeps([5,1,6])).then(xt=>xt.o)]),fe=si(q)??"";fe&&(await ce(fe,Z)).isSupported?z.postal_code=q:(z.postal_code=gf,fe=si(gf)??"TX",await ce(fe,Z)),z.state=fe,je(!1),await pe({product:a,postal_code:z.postal_code},!1,Z);let $e=await Ga(Z),pt=Math.max(0,Math.min(L,$e.length+1)),Je=bv()?.autofillStage;if(!Je)return;let{stageSlice:Zt}=await me(()=>import("./stage-zClSIgVN-CQ0m7lYx.js"),__vite__mapDeps([0,1,2,3,4])).then(xt=>xt.a);for(let xt of $e.slice(0,pt)){let oa=g[`${xt}|${fe}`]??await Rn(xt,Z,fe);z=Je(oa,z,xt);let Ar=ie(Zt(oa,z,xt));Object.keys(Ar).length&&await pe(Ar,!1,Z)}f(z),B.current=z,pt===$e.length+1&&await pe({},!0,Z),dt(pt)}catch{$("The mock jump could not seed this step. Reload and try again.")}finally{Ti.current=!1,et(!1)}}},[a,cn,Ga,Rn,g,dt]),Ps=T.useCallback(async()=>{ur()},[re,bt]);T.useEffect(()=>{ee.current=Fa},[Fa]),T.useEffect(()=>{if(!ur())return;let L=()=>{me(async()=>{const{mockStepFromUrl:z}=await import("./mockJump-CKjCOGxR-tRN3Jwzq.js");return{mockStepFromUrl:z}},[]).then(({mockStepFromUrl:z})=>{let P=z();P!=null&&P!==E&&Fa(P)})};return window.addEventListener("hashchange",L),()=>window.removeEventListener("hashchange",L)},[E,Fa]);let Er=T.useCallback(async L=>{if(de)return!1;let z=x.current;if(!z)return $("Your quote session expired. Please start again."),!1;j(!0),$(void 0);try{let P=typeof L=="boolean"?{communications_consent:L}:{},{updateQuote:q}=await me(async()=>{const{updateQuote:ce}=await Promise.resolve().then(()=>Rt);return{updateQuote:ce}},void 0),Z=await q(P,!0,z);return Z.status==="submission_failed"?($(Z.message||"We could not submit your quote for rating."),Tn(Error(Z.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:z,endpoint:"/update-quote"}),!1):(dt(Ie.length-1),!0)}catch(P){return $("We could not submit your quote for rating. Please try again."),Tn(P,{phase:"rating_submit",product:a,quoteId:z,endpoint:"/update-quote",statusCode:Jn(P)}),!1}finally{j(!1)}},[de,Ie.length,dt,a]),xn=T.useCallback(async()=>{let[{stageSlice:L},{toQuotePayload:z}]=await Promise.all([me(()=>import("./stage-zClSIgVN-CQ0m7lYx.js"),__vite__mapDeps([0,1,2,3,4])).then(q=>q.a),me(()=>import("./payload-BMtl8VDy-DSIXtfb-.js"),__vite__mapDeps([5,1,6])).then(q=>q.o)]),P={};for(let q of p){if(LM.has(q))continue;let Z=ia[q];Z?.length&&Object.assign(P,L(Z,B.current,q))}return z(P)},[p,ia]),Cr=T.useCallback(async()=>{if(de)return!1;let L=(P,q)=>wl("intake_review_submit_result",{origin:Me,result:P,...q}),z=x.current;if(!z)return $("Your quote session expired. Please start again."),L("failure",{reason:"session_expired"}),!1;j(!0),$(void 0);try{let{isSupportedState:P,updateQuote:q}=await me(async()=>{const{isSupportedState:pe,updateQuote:ie}=await Promise.resolve().then(()=>Rt);return{isSupportedState:pe,updateQuote:ie}},void 0),Z=String(B.current.state??"");if(Z){let{isSupported:pe}=await P(Z,z);if(!pe)return je(!0),L("failure",{reason:"unsupported_state"}),!1}let ce=await q({...await xn(),customer_review_confirmed:!0},!0,z);return ce.status==="submission_failed"?($(ce.message||"We could not submit your quote for rating."),Tn(Error(ce.message||"Rating submission refused"),{phase:"rating_submit",product:a,quoteId:z,endpoint:"/update-quote"}),L("failure",{reason:"submission_refused"}),!1):(L("success"),dt(Ie.length-1),!0)}catch(P){return $("We could not submit your quote. Please try again."),L("failure",{reason:"error",statusCode:Jn(P)??0}),Tn(P,{phase:"rating_submit",product:a,quoteId:z,endpoint:"/update-quote",statusCode:Jn(P)}),!1}finally{j(!1)}},[de,xn,Ie.length,dt,a,Me]),fn=T.useRef(!1),Va=T.useRef(xn);T.useEffect(()=>{Va.current=xn}),T.useEffect(()=>{if(!R)return;if(!fn.current){fn.current=!0;return}let L=x.current;if(!L)return;let z=window.setTimeout(()=>{(async()=>{try{let{updateQuote:P}=await me(async()=>{const{updateQuote:Z}=await Promise.resolve().then(()=>Rt);return{updateQuote:Z}},void 0),q=await Va.current();Object.keys(q).length&&await P(q,!1,L)}catch(P){Tn(P,{phase:"answer_save",product:a,quoteId:L,endpoint:"/update-quote",statusCode:Jn(P)})}})()},_w);return()=>window.clearTimeout(z)},[R,c,a]);let kn=T.useCallback(()=>{gi(),G(!1),b("call"),fn.current=!1,me(()=>Promise.resolve().then(()=>Jg),void 0).then(L=>L.n).then(({resetPrefillSuggestions:L})=>{L()}),Dn.current=null,s(null),x.current=null,f({product:a}),m(yf(a)),y(Wg()),je(!1),se(null),Re(!1),dt(0)},[a,dt]),jl=T.useCallback((L,z)=>{kn(),_n.current={seeded:new Set,advanced:new Set},se({from:L,to:z})},[kn]),Mi=T.useCallback(async(L,z,P)=>{let q=String(Y.current?.postal_code??"").replace(/\D/g,"").slice(0,5);if(!Cl(q))return;let Z=String(L.postal_code??"").trim();if(q===Z)return;let ce=String(L.state??"").trim().toUpperCase()||si(Z),pe=si(q);if(ce&&pe&&ce!==pe){if(!Zf.has(pe)){je(!0),_n.current.seeded.add("Zip");return}jl(ce,pe);return}let ie=await Al(q).catch(()=>null);if(P())return;let fe=!!String(L.address??"").trim();ft({postal_code:q,city:ie??"",__address_city:ie??"",...fe?{address:"",line_1:"",line_2:"",__address_line_1:"",__address_line_2:"",__address_postal_code:""}:{}}),fe&&Re(!1);let{updateQuote:$e}=await me(async()=>{const{updateQuote:pt}=await Promise.resolve().then(()=>Rt);return{updateQuote:pt}},void 0);await $e({postal_code:q,city:ie??null,...fe?{line_1:null,line_2:null,county:null}:{}},!1,z)},[ft,jl]);T.useEffect(()=>{ye.current=Mi},[Mi]);let wi=T.useCallback(()=>se(null),[]),Nn=T.useCallback(L=>{let z=P=>{for(let q of P){if(q.key===L)return q;for(let Z of q.conditionals??[]){let ce=z(Z.conditionalQuestions??[]);if(ce)return ce}}};for(let P of p){let q=z(ia[P]??[]);if(q)return{question:q,stage:P}}},[p,ia]),Gs=T.useCallback(L=>Nn(L)?.stage,[Nn]),_n=T.useRef({seeded:new Set,advanced:new Set});return T.useEffect(()=>{if(!V||I||yt?.kind!=="stage")return;let L=Xg.find(q=>q.stage===yt.stage);if(!L||_n.current.seeded.has(L.stage)||B.current[L.key])return;let z=Y.current?.[L.key]??L.fromUrl(),P=z?L.normalize(z):"";!P||!L.isValid(P)||(_n.current.seeded.add(L.stage),ft({[L.key]:P}))},[V,I,yt,ft]),T.useEffect(()=>{if(yt?.kind!=="stage")return;let L=Xg.find(z=>z.stage===yt.stage);L&&(!_n.current.seeded.has(L.stage)||_n.current.advanced.has(L.stage)||!wn||de||L.isValid(c[L.key])&&(bt.some(z=>z.key!==L.key&&z.required&&!c[z.key])||(_n.current.advanced.add(L.stage),_t())))},[yt,wn,de,bt,c,_t]),{product:a,quoteId:l,values:c,stages:p,questionsByStage:ia,stageForField:Gs,questionForField:Nn,screens:Ie,screenIndex:E,stepTotal:Ye,current:yt,questions:bt,validation:Ei,showErrors:U,booting:I,loadingQuestions:Se,questionsReady:wn,busy:de,error:Ee,unsupportedState:Ue,zipRestart:rt,dismissZipRestart:wi,prefillApplied:Q,patch:ft,continueFromStage:_t,back:bn,goToStage:Dt,submitForRates:Er,intakeReview:R,intakeReviewOrigin:Me,intakeQuestionsLoading:J,submitIntakeReview:Cr,resetSession:kn,mockJumping:Qe,mockJumpTo:Fa,mockAutofillStage:Ps}},Yv=()=>me(()=>import("./question-list-BK2EN74l-8nbZZnvU.js"),__vite__mapDeps([7,1,6,8,2,3,4,0,9,10,11,12,13,14])).then(a=>a.n),Ow=T.lazy(()=>Yv().then(a=>({default:a.QuestionList}))),Rw=T.lazy(()=>me(()=>import("./household-prefill-CdB4ZxsR-BPthWPX-.js"),__vite__mapDeps([15,8,1,2,14])).then(a=>a.n).then(a=>({default:a.HouseholdPrefill}))),Dw=T.lazy(()=>me(()=>import("./copy-applicant-offer-B-BuqAOO-CtFqk8YK.js"),__vite__mapDeps([16,2,1,9,3,10])).then(a=>a.n).then(a=>({default:a.CopyApplicantOffer}))),xw=T.lazy(()=>me(()=>import("./review-panel-BQmrPgdC-Dh84GHcf.js").then(a=>a.r),__vite__mapDeps([17,0,1,2,3,4,12])).then(a=>a.i).then(a=>({default:a.ReviewPanel}))),kw=T.lazy(()=>me(()=>import("./intake-review-panel-BJRYQaBx-CIkJtRek.js"),__vite__mapDeps([18,7,1,6,8,2,3,4,0,9,10,11,12,13,14,17])).then(a=>a.n).then(a=>({default:a.IntakeReviewPanel}))),Nw=T.lazy(()=>me(()=>import("./rates-panel-BOaKRZ_Y-DspzIEmi.js"),__vite__mapDeps([19,10,13,14])).then(a=>a.n).then(a=>({default:a.RatesPanel}))),Lw=new Set(["Demographics","Ssn"]),_l=({label:a})=>A.jsxs("div",{className:"cds-py-10 cds-text-center","aria-live":"polite",children:[A.jsx("div",{className:"cds-mx-auto cds-mb-3 cds-h-7 cds-w-7 cds-animate-spin cds-rounded-full cds-border-4 cds-border-accent cds-border-t-transparent","aria-hidden":"true"}),A.jsx("p",{className:"cds-text-sm cds-text-fg-muted",children:a})]}),Hw=({current:a,total:r,label:l})=>{let s=Math.round((a+1)/r*100);return A.jsxs("div",{className:"cds-mb-6",children:[A.jsxs("div",{className:"cds-mb-1.5 cds-flex cds-items-center cds-justify-between cds-text-xs cds-font-semibold cds-text-fg-muted",children:[A.jsx("span",{children:l}),A.jsxs("span",{children:["Step ",a+1," of ",r]})]}),A.jsx("div",{className:"cds-h-1.5 cds-w-full cds-overflow-hidden cds-rounded-full cds-bg-border",role:"progressbar","aria-valuenow":s,"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Quote progress",children:A.jsx("div",{className:"cds-h-full cds-rounded-full cds-bg-accent cds-transition-all",style:{width:`${s}%`}})})]})},Uw=()=>A.jsxs("div",{role:"note",className:"cds-mx-auto cds-mb-3 cds-flex cds-w-full cds-max-w-xl cds-items-center cds-gap-2 cds-rounded-lg cds-border cds-border-warning cds-bg-warning-surface cds-px-3 cds-py-2 cds-text-xs cds-text-warning-foreground",children:[A.jsx(QM,{"aria-hidden":"true",className:"cds-h-4 cds-w-4 cds-shrink-0 cds-text-warning"}),A.jsxs("span",{children:[A.jsx("span",{className:"cds-font-bold",children:"Test mode"})," — quotes started in this session are marked as tests and left out of reporting."]})]}),zw=({onRestart:a})=>A.jsxs("div",{className:"cds-py-8 cds-text-center",children:[A.jsx("h2",{className:"cds-mb-2 cds-text-2xl cds-font-bold cds-text-fg",children:"We're not in your state yet"}),A.jsx("p",{className:"cds-mb-6 cds-text-fg-muted",children:"We currently write policies in Texas and New Jersey. Give us a call and we'll point you to a licensed agent who can help."}),A.jsxs("a",{href:yv,onClick:()=>wl("phone_call_click",{placement:"quote_unsupported_state",phone:Gf}),className:ra("cds-inline-block cds-rounded-xl cds-bg-accent cds-px-8 cds-py-3.5 cds-text-base cds-font-bold cds-text-accent-foreground hover:cds-bg-accent/90",mr),children:["Call ",Gf]}),A.jsx("button",{type:"button",onClick:a,className:ra("cds-mt-4 cds-block cds-w-full cds-text-sm cds-font-semibold cds-text-fg cds-underline",mr),children:"Try a different ZIP code"})]}),Bw=new Set(["product"]),$v=({product:a,suppressedKeys:r=Bw,chrome:l=p=>A.jsx(A.Fragment,{children:p}),onScreenChange:s,onComplete:c,prefill:f})=>{let p=Vv(a,{prefill:f}),{booting:m,busy:g,current:y,error:E,intakeReview:S,intakeReviewOrigin:U,intakeQuestionsLoading:F,mockJumping:I,questionsReady:K,patch:V,questions:ne,questionsByStage:Se,quoteId:ae,screenIndex:de,showErrors:j,stepTotal:Ee,questionForField:$,stages:Ue,unsupportedState:je,validation:rt,values:se,zipRestart:Q}=p;T.useEffect(()=>{y?.kind==="stage"&&y.stage!=="Zip"&&Yv()},[y]);let Re=zM[a],Qe=T.useCallback(ee=>{let ye=$(ee);return ye?{label:ye.question.question,stage:ye.stage}:void 0},[$]),et=T.useCallback(ee=>{let ye=new Set;for(let Ie of ee){let{key:Ye}=Rv(Ie.field),yt=Ye?$(Ye)?.stage:void 0;yt&&ye.add(yt)}return Ue.find(Ie=>ye.has(Ie))},[$,Ue]),R=T.useMemo(()=>y?y.kind==="terminal"?y.screen==="review"?HM:UM:NM(y.stage,a):Re?{title:Re.heading,short:Re.label}:void 0,[y,Re,a]),G=T.useRef(null),J=T.useRef(!1);T.useEffect(()=>{!R||!y||(s?.(y,{title:R.title,index:de,total:Ee}),J.current&&G.current?.focus({preventScroll:!0}),J.current=!0)},[R,y,de,Ee]);let ge=bv()?.DevPanel,Me=ur()&&ge?A.jsx(ge,{product:a,stages:Ue,screenIndex:de,currentStage:y?.kind==="stage"?y.stage:void 0,busy:I,onJump:ee=>void p.mockJumpTo(ee),onAutofill:()=>void p.mockAutofillStage()}):null,[b]=T.useState(Fv),x=ee=>l(A.jsxs(A.Fragment,{children:[b?A.jsx(Uw,{}):null,A.jsx("div",{ref:G,tabIndex:-1,"data-credify-step-body":!0,className:"cds-rounded-2xl cds-bg-surface-elevated cds-p-5 cds-shadow-sm cds-outline-none sm:cds-p-7",children:ee}),Me]}));if(m||I)return x(A.jsxs("div",{className:"cds-py-12 cds-text-center","aria-live":"polite",children:[A.jsx("div",{className:"cds-mx-auto cds-mb-4 cds-h-8 cds-w-8 cds-animate-spin cds-rounded-full cds-border-4 cds-border-accent cds-border-t-transparent","aria-hidden":"true"}),A.jsx("p",{className:"cds-text-fg-muted",children:I?"Seeding mock answers…":"Loading your quote…"})]}));if(je)return x(A.jsx(zw,{onRestart:p.resetSession}));if(!y||!R)return x(A.jsxs("div",{className:"cds-py-8 cds-text-center",children:[A.jsx("h2",{className:"cds-mb-2 cds-text-xl cds-font-bold cds-text-fg",children:"We couldn't start your quote"}),A.jsx("p",{className:"cds-mb-6 cds-text-fg-muted",children:"Please refresh the page, or give us a call."}),A.jsx("a",{href:yv,className:"cds-font-semibold cds-text-fg cds-underline",children:Gf})]}));let B=y.kind==="terminal"&&y.screen==="rates",Y=S&&y.kind==="terminal"&&y.screen==="review",ue=!B&&!Y;return x(A.jsxs(A.Fragment,{children:[Q?A.jsx("div",{role:"status",className:"cds-mb-5 cds-rounded-xl cds-border cds-border-warning cds-bg-warning-surface cds-p-4",children:A.jsxs("div",{className:"cds-flex cds-items-start cds-gap-3",children:[A.jsxs("p",{className:"cds-flex-1 cds-text-sm cds-text-fg",children:[A.jsxs("span",{className:"cds-font-semibold",children:["Your saved quote was for ",Q.from,"."]})," ",Q.to," is a different state, so we've started a new quote — your ",Q.from," quote is still in your email."]}),A.jsx("button",{type:"button",onClick:p.dismissZipRestart,"aria-label":"Dismiss",className:ra("cds-shrink-0 cds-text-sm cds-font-semibold cds-text-fg hover:cds-underline",mr),children:"Got it"})]})}):null,ue?A.jsx(Hw,{current:de,total:Ee,label:Re.label}):null,de>0&&ue?A.jsxs("button",{type:"button",onClick:p.back,className:ra("cds-mb-3 cds-inline-flex cds-items-center cds-gap-1 cds-text-sm cds-font-semibold cds-text-fg hover:cds-underline",mr),children:[A.jsxs("svg",{"aria-hidden":"true",className:"cds-h-4 cds-w-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[A.jsx("path",{d:"m12 19-7-7 7-7"}),A.jsx("path",{d:"M19 12H5"})]}),"Back"]}):null,y.kind==="stage"?A.jsxs(A.Fragment,{children:[A.jsx("h1",{className:"cds-mb-1 cds-text-2xl cds-font-bold cds-text-fg",children:R.title}),R.subtitle?A.jsx("p",{className:"cds-mb-5 cds-text-sm cds-text-fg-muted",children:R.subtitle}):null,K?A.jsxs(A.Fragment,{children:[y.stage==="Vehicle"||y.stage==="Driver"?A.jsx(T.Suspense,{fallback:null,children:A.jsx(Rw,{kind:y.stage==="Vehicle"?"vehicle":"driver",quoteId:ae,values:se,onApply:V},y.stage)}):null,Lw.has(y.stage)?A.jsx(T.Suspense,{fallback:null,children:A.jsx(Dw,{stage:y.stage,questions:ne,values:se,onPatch:V},`copy-${y.stage}`)}):null,y.stage==="Zip"?A.jsx(dM,{label:ne[0]?.question??"What's your ZIP code?",value:String(se.postal_code??""),error:j?rt.errorsByKey.postal_code:void 0,onChange:ee=>V({postal_code:ee})}):y.stage==="Email"?A.jsx(pM,{label:ne[0]?.question??"What is your email address?",value:String(se.email??""),error:j?rt.errorsByKey.email:void 0,onChange:ee=>V({email:ee})}):A.jsx(T.Suspense,{fallback:A.jsx(_l,{label:"Loading this step…"}),children:A.jsx(Ow,{questions:ne,values:se,errors:j?rt.errorsByKey:{},itemErrors:j?rt.itemErrors:[],stageKey:y.stage,quoteId:ae,suppressedKeys:r,onPatch:V})}),j&&!rt.isValid?A.jsx(Ng,{message:"Please complete the highlighted questions."}):null,A.jsx(Ng,{message:E}),A.jsx(cM,{disabled:g,onClick:()=>void p.continueFromStage(),children:g?"Saving…":"Continue"})]}):A.jsx(_l,{label:"Loading this step…"})]}):y.screen==="review"?S?A.jsx(T.Suspense,{fallback:A.jsx(_l,{label:"Loading this step…"}),children:A.jsx(kw,{stages:Ue,questionsByStage:Se,values:se,quoteId:ae,origin:U,loading:F,busy:g,error:E,suppressedKeys:r,onPatch:V,onConfirm:()=>void p.submitIntakeReview()})}):A.jsx(T.Suspense,{fallback:A.jsx(_l,{label:"Loading this step…"}),children:A.jsx(xw,{stages:Ue,questionsByStage:Se,values:se,busy:g,error:E,suppressedKeys:r,onEditStage:p.goToStage,onConfirm:ee=>void p.submitForRates(ee)})}):A.jsx(T.Suspense,{fallback:A.jsx(_l,{label:"Loading this step…"}),children:A.jsx(Nw,{product:a,quoteId:ae,describeField:Qe,onFixAnswers:ee=>{let ye=et(ee);p.goToStage(ye??Ue[0])},onRetry:p.submitForRates,onBound:()=>c?.()})})]}))};const kR=Object.freeze(Object.defineProperty({__proto__:null,$:KM,A:Uv,B:Mv,C:Lv,D:fw,E:Tn,F:_s,G:wv,H:aw,I:Zf,J:Av,K:lw,L:Dv,M:wl,N:kv,O:Ns,P:xv,Q:Ev,R:Sd,S:Bv,T:Jn,U:iw,V:Ml,W:rw,X:_d,Y:XM,Z:Cv,_:Us,a:Td,b:ur,c:kl,d:Iv,et:ZM,f:jv,g:Bs,h:hr,i:Al,j:zv,k:Hv,l:Is,m:zs,n:Vv,o:Ad,p:gi,q:Tv,r:yw,s:js,t:$v,tt:JM,u:mw,v:Ed,w:Nv,x:Cd,y:Qt,z:Rv},Symbol.toStringTag,{value:"Module"}));var Nl=class extends Error{statusCode;retryAfterSeconds;constructor(r,l,s){super(r),this.name="CredifyApiError",this.statusCode=l,this.retryAfterSeconds=s}},jw=new Set(["/get-stages-for-quote","/get-questions-by-stage","/get-rates","/prefill-property","/get-vehicle-options"]),Iw=500,qw=a=>new Promise(r=>setTimeout(r,a)),at=async(a,r)=>{let l=Qt();if(l.mockTransport){let y=await l.mockTransport(a,r);if(y!=null)return y}let s={"Content-Type":"application/json"},c=zs();c&&(s.Authorization=`Bearer ${c}`);let f=l.fetchImpl??fetch,p=()=>f(`${l.baseUrl}${a}`,{method:"POST",headers:s,body:JSON.stringify(r)}),m=await p();!m.ok&&m.status>=500&&jw.has(a)&&(await qw(Iw),m=await p());let g={};try{g=await m.json()}catch{}if(!m.ok){let y=typeof g.error=="string"&&g.error||`Request failed with status ${m.status}`,E=m.status===429?typeof g.retryAfterSeconds=="number"?g.retryAfterSeconds:60:void 0;throw new Nl(y,m.status,E)}return g},Tt=(a,r)=>r&&!zs()?{...a,quoteId:r}:a,Pw=()=>Qt().source,Gw=()=>{let{partner:a}=Qt();return a?a.sub?{partner_id:a.id,sub_id:a.sub}:{partner_id:a.id}:{}},Fw=()=>{let a=Qt().utm?.();return a&&Object.keys(a).length?{utm:a}:{}},Qv=async(a,r=!1)=>{let l=await at("/create-quote",{postal_code:a,source:Pw(),...Gw(),...Fw(),...r?{is_test:!0}:{}});if(!l.quoteId)throw new Nl("Invalid createQuote response",0);return Us(l.quoteId),{quoteId:l.quoteId}},Zv=(a,r=!1,l)=>at("/update-quote",Tt({payload:a,getRates:r},l)).then(s=>s.status?s:{status:"success"}),Md=a=>at("/get-quote",Tt({},a)),Xv=(a,r)=>at("/is-supported-state",Tt({state:a},r)),Wv=(a,r)=>at("/verify-quote",{action:"send",quoteId:a,phone:r}),Kv=async(a,r)=>{let l=await at("/verify-quote",{quoteId:a,smsCode:r});return l.isVerified&&l.token&&Bs(l.token),{isVerified:!!l.isVerified}},Jv=a=>at("/get-rates",Tt({},a)),eb=async a=>{let r=await at("/verify-quote",Tt({action:"issue_resume_link"},a));if(!r.resumeToken)throw new Nl("Invalid issueResumeLink response",0);return{resumeToken:r.resumeToken,expiresAt:r.expiresAt??null}},wd=async a=>{gi();let r=await at("/verify-quote",{action:"resume",resumeToken:a});if(!r.quoteId)throw new Nl("Invalid resume response",0);return Us(r.quoteId),r.isVerified&&r.token&&Bs(r.token),{quoteId:r.quoteId}},tb=(a,r)=>{let l=Array.isArray(a)?a:[a];return at("/request-bind",{...l.length===1?{quoteRateId:l[0]}:{quoteRateIds:l},privacyNoticeAcknowledged:r}).then(s=>"success"in s?s:{success:!0})},nb=async(a,r)=>{try{return await at("/prefill-property",Tt({...r},a))}catch{return{found:!1}}},ab=a=>at("/get-stages-for-quote",Tt({},a)),rb=(a,r)=>at("/get-questions-by-stage",Tt({stage:a},r)),Od=(a,r)=>at("/get-vehicle-options",Tt({...a},r)),ib=(a,r)=>Od({action:"vinDecode",vin:a},r),Rd=async a=>{try{let{suggestions:r}=await at("/get-vehicle-options",Tt({action:"vehiclePrefillSuggestions"},a));return r??[]}catch{return[]}},lb=async(a,r)=>{try{let{items:l}=await at("/get-vehicle-options",Tt({action:"applyVehiclePrefill",selectedIds:a},r));return l??[]}catch{return[]}},ob=async a=>{try{await at("/get-vehicle-options",Tt({action:"dismissVehiclePrefill"},a))}catch{}},Dd=async a=>{try{let{suggestions:r}=await at("/get-vehicle-options",Tt({action:"driverPrefillSuggestions"},a));return r??[]}catch{return[]}},sb=async(a,r)=>{try{let{items:l}=await at("/get-vehicle-options",Tt({action:"applyDriverPrefill",selectedIds:a},r));return l??[]}catch{return[]}},ub=async a=>{try{await at("/get-vehicle-options",Tt({action:"dismissDriverPrefill"},a))}catch{}},Vw=_v({prefillSuggestions:()=>xd,resetPrefillSuggestions:()=>kd}),cb=a=>{let r=new Map,l=new Map,s=c=>{let f=r.get(c);if(f)return f;let p=a(c).then(m=>(l.set(c,m),m)).catch(()=>(r.get(c)===p&&r.delete(c),[]));return r.set(c,p),p};return{fetch:s,peek:c=>l.get(c),prefetch:c=>{s(c)},reset:()=>{r.clear(),l.clear()}}},fs=cb(Rd),ds=cb(Dd),xd={vehicle:{fetch:fs.fetch,peek:fs.peek,prefetch:fs.prefetch},driver:{fetch:ds.fetch,peek:ds.peek,prefetch:ds.prefetch}},kd=()=>{fs.reset(),ds.reset()};const Jg=Object.freeze(Object.defineProperty({__proto__:null,C:Zv,E:at,S:Wv,T:Tt,_:Xv,a:lb,b:wd,c:ub,d:Rd,f:rb,g:Od,h:ab,i:sb,l:ob,m:Jv,n:Vw,o:Qv,p:Md,r:kd,s:ib,t:xd,u:Dd,v:eb,w:Kv,x:tb,y:nb},Symbol.toStringTag,{value:"Module"}));var e0="credify_landing_utm",Yw=["source","medium","campaign","content","term"],fb=a=>{let r=new URLSearchParams(a),l={};for(let s of Yw){let c=r.get(`utm_${s}`)?.trim().slice(0,100);c&&(l[s]=c)}return r.has("fbclid")&&(l.fbclid=!0),Object.keys(l).length?l:null},$w=(a,r)=>{if(!a)return null;try{let l=new URL(a);return!/^https?:$/.test(l.protocol)||l.host===r?null:`${l.origin}${l.pathname==="/"?"":l.pathname}`.slice(0,200)}catch{return null}},Nd=()=>{if(typeof window>"u")return null;try{let a=fb(window.location.search),r=$w(document.referrer,window.location.host);if(a||r){let s={...a,...r?{referrer:r}:{}};return window.sessionStorage.setItem(e0,JSON.stringify(s)),s}let l=window.sessionStorage.getItem(e0);return l?JSON.parse(l):null}catch{return null}};const Rt=Object.freeze(Object.defineProperty({__proto__:null,AUTH_TOKEN_STORAGE_KEY:Iv,CredifyApiError:Nl,QUOTE_ID_STORAGE_KEY:jv,applyDriverPrefill:sb,applyVehiclePrefill:lb,bodyWithQuoteId:Tt,buildResumeUrl:Ad,captureLandingUtm:Nd,captureResumeTokenFromUrl:js,cityFromZip:Al,clearQuoteSession:gi,configureApi:Ed,configureZipCityLookup:Td,consumeResumeToken:kl,createQuote:Qv,decodeVin:ib,dismissDriverPrefill:ub,dismissVehiclePrefill:ob,fetchDriverPrefillSuggestions:Dd,fetchVehiclePrefillSuggestions:Rd,getApiConfig:Qt,getQuestionsByStage:rb,getQuote:Md,getRates:Jv,getStagesForQuote:ab,getVehicleOptions:Od,hasResumeToken:Is,isMockEnabled:ur,isSupportedState:Xv,isTestModeEnabled:Cd,issueResumeLink:eb,loadAuthToken:zs,loadQuoteId:hr,parseUtm:fb,post:at,prefillProperty:nb,prefillSuggestions:xd,redeemResumeToken:wd,requestBind:tb,resetApiConfig:Bv,resetPrefillSuggestions:kd,saveAuthToken:Bs,saveQuoteId:Us,sendSmsCode:Wv,updateQuote:Zv,verifySmsCode:Kv},Symbol.toStringTag,{value:"Module"}));var vf={};const Qw="https://api.getcredify.com",Zw=()=>{try{if(typeof vf<"u"&&vf?.baseUrl)return vf.baseUrl}catch{}return Qw},ps=Zw();var bf={};const Xw="mock";function Ww(){try{return typeof bf<"u"&&bf?.key?bf.key:void 0}catch{return}}function Kf(){const a=Ww();if(!a||typeof window>"u"||!window.location)return!1;try{return new URLSearchParams(window.location.search).get(Xw)===a}catch{return!1}}const Kw=()=>{const r=globalThis.process?.env?.NODE_ENV;return typeof r=="string"?r!=="production":!1};function Jw(a,r){try{Kw()&&console.error(`[credify-widget] ${a}:`,r),_r(r instanceof Error?r:new Error(String(r)),{tags:{source:a,failure_type:"side_effect"},level:"warning"})}catch{}}let eO=!1;function tO(){return eO}let nO;function aO(){return nO}const rO="credify-insurance-widget",iO="1.0",db=25,pb=64*1024,lO=`
|
|
107
|
+
…[truncated]`;let t0=!1,n0=null,a0="",mb=db,Jf=pb,Tl=[];function oO(a){return typeof a=="string"?a:a instanceof URL?a.href:a.url}function sO(a,r){return r?.method?r.method.toUpperCase():typeof a!="string"&&!(a instanceof URL)&&a.method?a.method.toUpperCase():"GET"}function r0(a){if(!a)return[];const r=[];if(Array.isArray(a))for(const[l,s]of a)r.push({name:l,value:String(s)});else if(typeof a.forEach=="function")a.forEach((l,s)=>r.push({name:s,value:l}));else for(const[l,s]of Object.entries(a))r.push({name:l,value:String(s)});return r}function uO(a){try{const r=[];return new URL(a).searchParams.forEach((l,s)=>r.push({name:s,value:l})),r}catch{return[]}}function cO(a,r){const l=r?.body;return typeof l!="string"||l.length===0?void 0:{mimeType:a.find(c=>c.name.toLowerCase()==="content-type")?.value??"application/json",text:l}}function fO(a){const r=a.length;return r<=Jf?{text:a,size:r}:{text:a.slice(0,Jf)+lO,size:r}}function dO(a){Tl.push(a),Tl.length>mb&&Tl.shift()}function pO(a){if(t0)return!0;if(typeof window>"u"||typeof window.fetch!="function")return!1;a0=a.baseUrl,mb=a.maxEntries??db,Jf=a.maxBodyBytes??pb,n0=window.fetch.bind(window);const r=n0;return window.fetch=async(l,s)=>{let c;try{c=oO(l)}catch{return r(l,s)}if(!c.startsWith(a0))return r(l,s);const f=r0(s?.headers??(typeof l!="string"&&!(l instanceof URL)?l.headers:void 0)),p={startedDateTime:new Date().toISOString(),time:-1,request:{method:sO(l,s),url:c,httpVersion:"HTTP/1.1",headers:f,queryString:uO(c),cookies:[],headersSize:-1,bodySize:typeof s?.body=="string"?s.body.length:-1,postData:cO(f,s)},response:mO(),cache:{},timings:{send:0,wait:-1,receive:0}};dO(p);const m=typeof performance<"u"?performance.now():0;let g;try{g=await r(l,s)}catch(E){const S=(typeof performance<"u"?performance.now():0)-m;throw p.time=Math.round(S),p.timings.wait=Math.round(S),p.response._error=E instanceof Error?E.message:String(E),E}const y=(typeof performance<"u"?performance.now():0)-m;p.time=Math.round(y),p.timings.wait=Math.round(y),p.response.status=g.status,p.response.statusText=g.statusText,p.response.headers=r0(g.headers),p.response.content.mimeType=typeof g.headers?.get=="function"&&g.headers.get("content-type")||"";try{g.clone().text().then(S=>{const{text:U,size:F}=fO(S);p.response.content.text=U,p.response.content.size=F,p.response.bodySize=F}).catch(()=>{})}catch{}return g},t0=!0,!0}function mO(){return{status:0,statusText:"",httpVersion:"HTTP/1.1",headers:[],cookies:[],content:{size:0,mimeType:""},redirectURL:"",headersSize:-1,bodySize:-1}}function hO(){return{log:{version:"1.2",creator:{name:rO,version:iO},entries:Tl.map(a=>({...a}))}}}function yO(){return Tl.length}const gO=[/ssn/i,/social.?security/i,/(driver.?licen[cs]e|^dln$|^dl$)/i,/(date.?of.?birth|^dob$)/i,/^vin$/i,/(sms.?code|^otp$|^code$|verification.?code)/i,/phone/i,/^email$/i,/(first.?name|last.?name|full.?name)/i,/(^address$|street|^zip$|postal)/i,/(jwt|^token$|authorization|^auth$|api.?key|secret|password|credential)/i,/cookie/i],vO=[/\b\d{3}-?\d{2}-?\d{4}\b/g,/\b[A-HJ-NPR-Z0-9]{17}\b/g,/eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/g,/\bsk_[A-Za-z0-9]{16,}\b/g,/\bBearer\s+[A-Za-z0-9._-]+/gi],za="[REDACTED]",bO=8;function qs(a){for(const r of gO)if(r.test(a))return!0;return!1}function Ba(a){let r=a;for(const l of vO)r=r.replace(l,za);return r}function La(a,r=0,l=new WeakSet){if(r>bO)return za;if(a==null)return a;if(typeof a=="string")return Ba(a);if(typeof a!="object")return a;if(l.has(a))return za;if(l.add(a),Array.isArray(a))return a.map(f=>La(f,r+1,l));const s=Object.getPrototypeOf(a);if(s!==null&&s!==Object.prototype)return a;const c={};for(const[f,p]of Object.entries(a)){if(qs(f)){c[f]=za;continue}c[f]=La(p,r+1,l)}return c}function i0(a){if(a.request&&(a.request.data!==void 0&&(a.request.data=La(a.request.data)),a.request.cookies!==void 0&&(a.request.cookies=za),a.request.headers)){const r=a.request.headers;for(const l of Object.keys(r))qs(l)&&(r[l]=za)}if(a.extra&&(a.extra=La(a.extra)),a.contexts&&(a.contexts=La(a.contexts)),a.tags&&(a.tags=La(a.tags)),a.user){const{id:r,email:l,username:s}=a.user;a.user={...typeof r=="string"?{id:r}:{},...typeof l=="string"?{email:l}:{},...typeof s=="string"?{username:s}:{}}}if(Array.isArray(a.breadcrumbs))for(const r of a.breadcrumbs)r.data!==void 0&&(r.data=La(r.data)),typeof r.message=="string"&&(r.message=Ba(r.message));return typeof a.message=="string"&&(a.message=Ba(a.message)),a}function l0(a){for(const r of a)r.value=qs(r.name)?za:Ba(r.value)}function o0(a){try{return JSON.stringify(La(JSON.parse(a)))}catch{return Ba(a)}}function _O(a){const r=JSON.parse(JSON.stringify(a));for(const l of r.log.entries){l0(l.request.headers),l0(l.response.headers);for(const s of l.request.queryString)s.value=qs(s.name)?za:Ba(s.value);l.request.postData?.text&&(l.request.postData.text=o0(l.request.postData.text)),l.response.content.text&&(l.response.content.text=o0(l.response.content.text)),l.request.url=Ba(l.request.url),l.response._error&&(l.response._error=Ba(l.response._error))}return r}function SO(a,r={}){try{xs(l=>{l.setTag("failure_type","quote"),r.product&&l.setTag("product",r.product),r.stage&&l.setTag("stage",r.stage),r.quoteId&&l.setTag("quote_id",r.quoteId),r.phase&&l.setTag("phase",r.phase),r.endpoint&&l.setTag("endpoint",r.endpoint),typeof r.statusCode=="number"&&l.setTag("status_code",String(r.statusCode)),r.failureCode&&l.setTag("failure_code",r.failureCode);try{yO()>0&&l.addAttachment({filename:"quote-failure.har",data:JSON.stringify(_O(hO())),contentType:"application/json"})}catch{}const s=a instanceof Error?a:new Error(r.message??"Quote failed");_r(s)})}catch{}}const EO=(a,r)=>{try{return a()}catch{return r}};function Ld(){return EO(()=>hr(),null)}const CO=["widgetOpened","widgetClosed","stageViewed","stageCompleted","flowCompleted","ratesViewed","ratesBack","submissionFailed","telemetry"],Cs={};function AO(a){let r=Cs[a];return r||(r=new Set,Cs[a]=r),r}function hb(a,r){AO(a).add(r)}function yb(a,r){Cs[a]?.delete(r)}function Sr(a,...r){const l=Cs[a];if(!l||l.size===0)return;const s=r[0],c={quoteId:Ld(),timestamp:Date.now()};for(const f of[...l])try{f(s,c)}catch(p){_r(p,{tags:{source:"widget-event-listener",event:a}})}}function TO(){Sr("widgetOpened")}function s0(){Sr("widgetClosed")}function MO(a){Sr("stageViewed",a)}function wO(a){Sr("stageCompleted",a)}function OO(){Sr("flowCompleted")}function RO(a){Sr("ratesViewed",a)}function Hd(a,r){Sr("telemetry",{event:a,properties:r})}let u0=!1;const DO=()=>{if(u0||typeof window>"u")return;u0=!0;const a=window.gm_authFailure;window.gm_authFailure=()=>{try{xs(r=>{r.setLevel("warning"),r.setTag("failure_type","places"),r.setTag("places_failure","auth_failed"),r.setExtra("origin",window.location.origin),xC("Google Places key rejected (gm_authFailure)")})}catch{}Hd("places_auth_failed",{origin:window.location.origin}),a?.()}};var c0={apiKey:""};const xO=()=>{try{return typeof c0<"u"?c0?.apiKey:void 0}catch{return}};let f0=!1;const kO=async(a,r)=>null,gb=()=>{f0||(f0=!0,Ed({baseUrl:ps,storagePrefix:"credify_",source:"widget",isMockActive:Kf,isTestActive:tO,partner:aO(),utm:Nd,mockTransport:(a,r)=>Kf()?kO():null}),Nv({onQuoteFailure:(a,r)=>SO(a,{...r,quoteId:r.quoteId??void 0}),onBreadcrumb:(a,r)=>{try{qa({category:"quote",message:a,data:r,level:"info"})}catch{}},onTrack:(a,r)=>Hd(a,r),onContext:a=>{try{a.product&&of("product",a.product),a.stage&&of("stage",a.stage),"quoteId"in a&&of("quote_id",a.quoteId??void 0)}catch{}}}),MM({apiKey:xO()}),DO(),Td(void 0))},d0="credify-widget-font",NO="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";function LO(){if(typeof document>"u"||document.getElementById(d0))return;const a=document.createElement("link");a.id=d0,a.rel="stylesheet",a.href=NO,document.head.appendChild(a)}const Ud=a=>A.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:a}),HO=Ud(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 10.5 12 3l9 7.5"}),A.jsx("path",{d:"M5 9.5V21h14V9.5"})]})),UO=Ud(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M4 16.5V13l1.8-4.5A2 2 0 0 1 7.7 7h8.6a2 2 0 0 1 1.9 1.5L20 13v3.5"}),A.jsx("path",{d:"M4 16.5h16M7 20v-3.5M17 20v-3.5"})]})),zO=Ud(A.jsxs(A.Fragment,{children:[A.jsx("path",{d:"M3 8.5 9 4l6 4.5"}),A.jsx("path",{d:"M4.5 7.8V19h9V7.8"}),A.jsx("path",{d:"M14 19v-6h6.5v6z"})]})),BO=[{product:"Home",label:"Home",detail:"Cover the place you live",glyph:HO},{product:"Auto",label:"Auto",detail:"Cover your vehicles",glyph:UO},{product:"Bundle",label:"Home + Auto",detail:"Quote both home and auto coverage",glyph:zO}],jO=({onChoose:a})=>A.jsxs("div",{className:"credify-widget-chooser",children:[A.jsx("h1",{children:"What would you like to insure?"}),A.jsx("p",{children:"We'll ask a few questions and show you real prices from our carriers."}),A.jsx("div",{role:"group","aria-label":"What would you like to insure?",className:"credify-widget-chooser-options",children:BO.map(({product:r,label:l,detail:s,glyph:c})=>A.jsxs("button",{type:"button",onClick:()=>a(r),className:"credify-widget-chooser-option",children:[c,A.jsx("span",{className:"credify-widget-chooser-label",children:l}),A.jsx("span",{className:"credify-widget-chooser-detail",children:s})]},r))})]}),IO=a=>!a&&(Is()||!!hr());var _f={blandWidgetId:"",cobrowseLicense:""};function qO(){try{return typeof _f<"u"&&_f?_f:{}}catch{return{}}}function PO(a){const r=qO(),l=r.blandWidgetId,s=r.cobrowseLicense;return{enabled:!!(l||s),blandWidgetId:l||void 0,cobrowseLicense:s||void 0,proactiveOnError:!0}}const Sf=new Map;function vb(a){if(typeof document>"u")return Promise.reject(new Error("loadScript called without a document"));const r=Sf.get(a);if(r)return r;if(document.querySelector(`script[src="${a}"]`))return Promise.resolve();const l=new Promise((s,c)=>{const f=document.createElement("script");f.src=a,f.async=!0,f.onload=()=>s(),f.onerror=()=>{Sf.delete(a),c(new Error(`Failed to load script: ${a}`))},document.head.appendChild(f)});return Sf.set(a,l),l}const bb="https://widget.bland.ai/loader.js",zd="bland-widget-host",GO="#bland-widget-root > button",FO=20,VO=100;let Ol=!1;function YO(){return typeof document>"u"?!1:!!window.blandSettings||!!document.querySelector(`script[src="${bb}"]`)||!!document.getElementById(zd)}function $O(){return document.getElementById(zd)?.shadowRoot?.querySelector(GO)??null}function QO(a,r){if(typeof window>"u"||YO())return;const l=Ld(),s=Nd();window.blandSettings={widget_id:a,request_data:{source:"credify-insurance-widget",entry_path:window.location.pathname,...l?{quote_id:l}:{},...s?.source?{utm_source:s.source}:{},...s?.campaign?{utm_campaign:s.campaign}:{},...r}},Ol=!0,vb(bb).catch(c=>{Ol=!1,_r(c,{tags:{source:"widget-bland-loader"}})})}async function _b(a,r){if(typeof window>"u")return!1;QO(a,r);for(let l=0;l<FO;l+=1){const s=$O();if(s){for(const c of["mousedown","mouseup","click"])s.dispatchEvent(new MouseEvent(c,{bubbles:!0,composed:!0}));return!0}await new Promise(c=>window.setTimeout(c,VO))}return _r(new Error("Bland launcher did not mount"),{tags:{source:"widget-bland-open",owned:String(Ol)}}),!1}function ZO(){typeof document>"u"||(Ol&&(document.getElementById(zd)?.remove(),delete window.blandSettings),Ol=!1)}const XO="https://js.cobrowse.io/CobrowseIO.js";let ed=!1;function WO(){return{quote_id:Ld()??void 0,device_name:"Credify Insurance Widget",surface:"consumer"}}async function KO(a){await vb(XO);const r=window.CobrowseIO;if(!r)return null;if(r.customData=WO(),!ed){r.license=a,r.redactedViews=["input","select","textarea","[data-credify-redact]"],r.confirmSession=()=>Promise.resolve(typeof window<"u"?window.confirm("Allow a Credify support agent to view your screen?"):!1);try{await r.client?.()}catch{}r.start?.(),ed=!0}return r}async function JO(a){if(typeof window>"u")return null;try{const r=await KO(a);return r?.createSessionCode?await r.createSessionCode():null}catch{return null}}function Sb(){try{window.CobrowseIO?.stop?.()}catch{}ed=!1}let Mn=null,ms=null,td=!1;function eR(a){iR();const r=PO();if(Mn=r,!!r.enabled&&r.proactiveOnError&&r.blandWidgetId){const l=s=>{td||(td=!0,_b(r.blandWidgetId,{last_quote_error:s?.reason??"unknown"}))};hb("submissionFailed",l),ms=l}}function tR(){return!Mn?.enabled||!Mn.blandWidgetId?Promise.resolve(!1):_b(Mn.blandWidgetId)}async function nR(){if(!Mn?.enabled||!Mn.cobrowseLicense)return null;const a=await JO(Mn.cobrowseLicense);return a&&Hd("screenShareStarted"),a}function aR(){Sb()}function rR(){return!!(Mn?.enabled&&Mn.cobrowseLicense)}function iR(){ms&&(yb("submissionFailed",ms),ms=null),ZO(),Sb(),td=!1,Mn=null}const lR=({label:a="Share my screen"})=>{const[r,l]=T.useState(null),[s,c]=T.useState(!1),[f,p]=T.useState(!1),m=T.useCallback(async()=>{c(!0),p(!1);try{const y=await nR();y?l(y):p(!0)}catch{p(!0)}finally{c(!1)}},[]),g=T.useCallback(()=>{aR(),l(null)},[]);return rR()?A.jsxs("span",{className:"credify-widget-share",children:[A.jsx("button",{type:"button",onClick:m,disabled:s||!!r,"aria-label":"Share your screen with an agent",className:"credify-widget-share-button",children:s?"Starting…":a}),r&&A.jsxs(A.Fragment,{children:[A.jsxs("span",{className:"credify-widget-share-code",children:["Read this code to your agent: ",A.jsx("strong",{children:r})]}),A.jsx("button",{type:"button",onClick:g,className:"credify-widget-share-button",children:"Stop sharing"})]}),f&&A.jsx("span",{role:"alert",className:"credify-widget-share-error",children:"Couldn't start screen sharing. Please call us instead."})]}):null},oR="https://assets.getcredify.com",sR=()=>{try{if(typeof __CREDIFY_ASSETS__<"u"&&__CREDIFY_ASSETS__?.baseUrl)return __CREDIFY_ASSETS__.baseUrl}catch{}return oR};sR();function uR(){return Promise.resolve(null)}let cR;function fR(){return cR}const dR=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","),pR=new Set(["product"]),mR=a=>a==="Home"||a==="Auto"||a==="Bundle";function hR({isOpen:a,onClose:r,product:l}){gb(),LO();const[s,c]=T.useState(null);T.useEffect(()=>{let se=!0;return uR().then(Q=>{se&&c(Q)}),()=>{se=!1}},[]);const f=T.useRef(null),[p,m]=T.useState(null),[g,y]=T.useState(),[E,S]=T.useState(()=>IO(l)),U=T.useRef(null),F=l??g,I=T.useRef(null),K=T.useRef(null),[V,ne]=T.useState(!1),[Se,ae]=T.useState(!1),de=T.useRef(null),j=T.useCallback((se,Q)=>{const Re=de.current,Qe=se.kind==="stage"?se.stage:void 0;Re&&Re.stage&&Q.index>Re.index&&wO({stageKey:Re.stage,stageTitle:Re.stage,stepIndex:Re.index,totalSteps:Q.total}),Qe&&MO({stageKey:Qe,stageTitle:Q.title,stepIndex:Q.index,totalSteps:Q.total}),se.kind==="terminal"&&se.screen==="rates"&&RO({rateCount:0}),de.current={stage:Qe,index:Q.index}},[]);T.useEffect(()=>{a&&TO()},[a]),T.useEffect(()=>{if(!a||l||g)return;if(!U.current){const Q=kl();Q&&(U.current=wd(Q))}if(!U.current&&!hr())return;let se=!1;return S(!0),(async()=>{try{await U.current;const{quote:Q}=await Md(hr()??void 0),Re=Q.product;!se&&mR(Re)&&y(Re)}catch{}finally{se||S(!1)}})(),()=>{se=!0}},[a,l,g]);const Ee=T.useCallback(()=>{if(Se){s0(),r();return}ne(!0)},[Se,r]),$=T.useCallback(()=>ne(!1),[]),Ue=T.useCallback(()=>{ne(!1),s0(),r()},[r]),je=T.useCallback(se=>{if(se.key==="Escape"){se.preventDefault(),V?$():Ee();return}if(se.key!=="Tab")return;const Q=V?I.current:f.current;if(!Q)return;const Re=Array.from(Q.querySelectorAll(dR)).filter(G=>G.offsetParent!==null||G===document.activeElement);if(Re.length===0)return;const Qe=Re[0],et=Re[Re.length-1],R=document.activeElement;se.shiftKey&&R===Qe?(se.preventDefault(),et.focus()):!se.shiftKey&&R===et&&(se.preventDefault(),Qe.focus())},[V,$,Ee]);T.useEffect(()=>{if(a)return window.addEventListener("keydown",je),()=>window.removeEventListener("keydown",je)},[a,je]),T.useEffect(()=>{if(!V)return;const se=window.setTimeout(()=>K.current?.focus(),0);return()=>window.clearTimeout(se)},[V]),T.useEffect(()=>{a||(ne(!1),ae(!1),y(void 0))},[a]);const rt=s?.logoUrl?A.jsx("img",{src:s.logoUrl,alt:s.firmName??"Partner logo"}):s?.firmName?A.jsx("span",{children:s.firmName}):null;return a?A.jsxs("div",{ref:f,className:"credify-widget-overlay",role:"dialog","aria-modal":"true","aria-labelledby":"insurance-modal-title",tabIndex:-1,children:[A.jsx("div",{className:"credify-widget-backdrop","aria-hidden":"true"}),A.jsxs("div",{ref:m,className:"credify-widget-panel",role:"document",children:[A.jsx("h2",{id:"insurance-modal-title",className:"credify-widget-sr-only",children:"Credify insurance quote"}),A.jsx("button",{onClick:Ee,className:"credify-widget-close","aria-label":"Close quote form",type:"button",children:A.jsx("span",{"aria-hidden":"true",children:"×"})}),rt&&A.jsx("div",{className:"credify-widget-co-brand",children:rt}),A.jsx(TM,{theme:{mode:"light",accent:s?.brandColour??void 0},className:"credify-widget-scope",portalContainer:p,children:E?A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame credify-widget-chooser","aria-live":"polite",children:A.jsx("p",{children:"Loading your quote…"})})}):F?A.jsx($v,{product:F,prefill:fR(),suppressedKeys:pR,onScreenChange:j,onComplete:()=>{ae(!0),OO()},chrome:se=>A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:se})})}):A.jsx("div",{className:"credify-widget-body",children:A.jsx("div",{className:"credify-widget-frame",children:A.jsx(jO,{onChoose:y})})})}),A.jsxs("div",{className:"credify-widget-footer",children:[A.jsx(lR,{label:"Need help? Share my screen"}),A.jsx("p",{children:"Insurance products offered through Credify Corporation, a licensed insurance agency."})]}),V&&A.jsx("div",{className:"credify-widget-confirm-backdrop",role:"presentation",children:A.jsxs("div",{ref:I,className:"credify-widget-confirm",role:"alertdialog","aria-modal":"true","aria-labelledby":"close-confirm-title","aria-describedby":"close-confirm-description",tabIndex:-1,children:[A.jsx("h3",{id:"close-confirm-title",children:"Close this window?"}),A.jsx("p",{id:"close-confirm-description",children:"You can reopen it from this page whenever you're ready."}),A.jsxs("div",{className:"credify-widget-confirm-actions",children:[A.jsx("button",{ref:K,type:"button",className:"credify-widget-confirm-cancel",onClick:$,children:"Keep editing"}),A.jsx("button",{type:"button",className:"credify-widget-confirm-danger",onClick:Ue,children:"Close window"})]})]})})]})]}):null}function yR({onClose:a}){return A.jsxs("div",{className:"credify-widget-overlay",role:"dialog","aria-modal":"true",children:[A.jsx("div",{className:"credify-widget-backdrop","aria-hidden":"true"}),A.jsx("div",{className:"credify-widget-panel",role:"document",style:{height:"auto",maxHeight:"none"},children:A.jsxs("div",{className:"credify-widget-body",style:{textAlign:"center"},children:[A.jsx("h2",{style:{margin:"0 0 0.5rem",fontSize:"1.25rem",fontWeight:700,color:"#10233f"},children:"Something went wrong"}),A.jsx("p",{style:{margin:"0 0 1.25rem",fontSize:"0.9375rem",color:"#42566e"},children:"We could not load your quote. Please close this and try again, or call us on (512) 640-2609."}),A.jsx("button",{type:"button",onClick:a,className:"credify-widget-confirm-cancel",style:{padding:"0.625rem 1.5rem",borderRadius:"0.5rem",fontWeight:700,cursor:"pointer"},children:"Close"})]})})]})}var Ef={dsn:"",environment:"production",release:"2c628979e436db3754802f23a982420b7a5c99e1"};function gR(){try{return typeof Ef<"u"&&Ef?Ef:{}}catch{return{}}}let p0=!1;function vR(a,r){if(!a)return r;const l=Number(a);return Number.isFinite(l)&&l>=0&&l<=1?l:r}function bR(a={}){if(p0)return!0;if(typeof window>"u")return!1;const r=gR(),l=a.dsn??r.dsn;return!l||a.enabled===!1?!1:(pO({baseUrl:ps}),cT({dsn:l,environment:a.environment??r.environment??"production",release:a.release??r.release,sendDefaultPii:!1,maxBreadcrumbs:50,tracesSampleRate:a.tracesSampleRate??vR(r.tracesSampleRate,.1),tracePropagationTargets:[ps],replaysSessionSampleRate:0,replaysOnErrorSampleRate:1,integrations:s=>[...s.filter(c=>c.name!=="BrowserApiErrors"),K0({eventTarget:!1})],ignoreErrors:[/Java object is gone/,/Error invoking postMessage/],denyUrls:[/navigation_performance_logger/,/^iabjs:/],beforeSend:s=>i0(s),beforeBreadcrumb:s=>s&&(i0({breadcrumbs:[s]}),s)}),p0=!0,sT("replayIntegration").then(s=>{try{PC(s({maskAllText:!0,maskAllInputs:!0,blockAllMedia:!0,networkDetailAllowUrls:[ps],networkCaptureBodies:!1}))}catch{}}).catch(()=>{}),!0)}const m0="credify_product",h0="credify_product",_R={home:"Home","home-insurance":"Home",homeowners:"Home",auto:"Auto","auto-insurance":"Auto",car:"Auto",vehicle:"Auto",bundle:"Bundle","bundle-insurance":"Bundle"};function y0(a){if(a)return _R[a.trim().toLowerCase()]}let nd,g0=!1;function SR(){try{if(typeof window>"u")return;nd=y0(window.sessionStorage?.getItem(h0)),g0=!1;const a=new URL(window.location.href),r=a.searchParams.get(m0);if(r===null)return;const l=y0(r);if(l){nd=l,g0=!0;try{window.sessionStorage?.setItem(h0,l)}catch{}}a.searchParams.delete(m0),window.history.replaceState(window.history.state,"",a.toString())}catch(a){Jw("widget-product-param",a)}}function v0(){return nd}function ER(){const[a,r]=T.useState(!1),[l,s]=T.useState(()=>(SR(),v0()));T.useEffect(()=>{gb(),bR(),eR()},[]);const c=T.useCallback(p=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:p,source:"credify-insurance-widget"},"*")},[]);T.useEffect(()=>{const p=(g,y,E)=>{window.parent&&window.parent!==window&&window.parent.postMessage({type:"event",source:"credify-insurance-widget",event:g,data:y,meta:E},"*")},m=CO.map(g=>{const y=(E,S)=>p(g,E,S);return hb(g,y),[g,y]});return()=>{for(const[g,y]of m)yb(g,y)}},[]),T.useEffect(()=>{const p=m=>{if(m.data?.source==="credify-insurance-widget")switch(m.data.type){case"open":r(!0),c("opened");break;case"close":r(!1),c("closed");break;case"init":m.data.product&&!v0()&&s(m.data.product),c("ready");break;case"support-open":tR();break}};return window.addEventListener("message",p),c("ready"),()=>{window.removeEventListener("message",p)}},[c]);const f=T.useCallback(()=>{r(!1),c("closed")},[c]);return A.jsx(yd,{fallback:A.jsx(yR,{onClose:f}),children:A.jsx(hR,{isOpen:a,onClose:f,product:l})})}var CR=new Set(["/create-quote","/update-quote","/get-quote","/get-stages-for-quote","/get-questions-by-stage","/get-vehicle-options","/is-supported-state","/verify-quote","/get-rates","/request-bind","/prefill-property"]);let b0=!1;function AR(a){try{if(typeof a=="string")return new URL(a,window.location.href).pathname;if(a instanceof URL)return a.pathname;if(a instanceof Request)return new URL(a.url,window.location.href).pathname}catch{return null}return null}async function TR(a,r){try{if(r?.body&&typeof r.body=="string")return JSON.parse(r.body);if(a instanceof Request){const l=await a.clone().text();return l?JSON.parse(l):{}}}catch{return{}}return{}}function MR(){try{if(typeof document>"u"||document.getElementById("credify-mock-badge"))return;const a=()=>{const r=document.createElement("div");r.id="credify-mock-badge",r.textContent="MOCK MODE",r.setAttribute("aria-hidden","true"),r.style.cssText=["position:fixed","bottom:12px","left:12px","z-index:2147483647","background:#b91c1c","color:#fff","font:600 11px/1 system-ui,sans-serif","letter-spacing:0.08em","padding:6px 10px","border-radius:9999px","box-shadow:0 1px 4px rgba(0,0,0,0.3)","pointer-events:none","user-select:none"].join(";"),document.body.appendChild(r)};document.body?a():document.addEventListener("DOMContentLoaded",a,{once:!0})}catch{}}function wR(){if(b0||typeof window>"u"||typeof window.fetch!="function"||!Kf())return;b0=!0;const a=window.fetch.bind(window);window.fetch=async(r,l)=>{const s=AR(r);return!s||!CR.has(s)||await TR(r,l),a(r,l)},MR(),typeof console<"u"&&console.info("[Credify] Mock mode active — all API calls are served from in-memory fixtures.")}wR();FS.createRoot(document.getElementById("root")).render(A.jsx(T.StrictMode,{children:A.jsx(ER,{})}));export{iw as $,ur as A,xd as B,Lv as C,Wv as D,tb as E,ub as F,Tn as G,Dv as H,tv as I,nv as J,Jn as K,yw as L,ob as M,qS as N,Av as O,sb as P,Cv as Q,zS as R,xR as S,QM as T,DR as U,Rv as V,gi as W,OR as X,gv as Y,RR as Z,me as _,A as a,aw as a0,KM as a1,ZM as a2,JM as a3,Ev as a4,Od as a5,ib as a6,US as a7,kR as a8,Rt as a9,NM as b,ra as c,Ng as d,cM as e,mr as f,wv as g,Sd as h,Mv as i,lb as j,LM as k,Tv as l,YM as m,Zv as n,Gf as o,yv as p,uM as q,T as r,Md as s,_v as t,rw as u,Kv as v,wl as w,Jv as x,_s as y,Nl as z};
|