vendor: 4,339 bytes, lines 1-9
1function rb(e,t){for(var n=0;n<t.length;n++){const o=t[n];if(typeof o!="string"&&!Array.isArray(o)){for(const l in o)if(l!=="default"&&!(l in e)){const a=Object.getOwnPropertyDescriptor(o,l);a&&Object.defineProperty(e,l,a.get?a:{enumerable:!0,get:()=>o[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))o(l);new MutationObserver(l=>{for(const a of l)if(a.type==="childList")for(const u of a.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function n(l){const a={};return l.integrity&&(a.integrity=l.integrity),l.referrerPolicy&&(a.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?a.credentials="include":l.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(l){if(l.ep)return;l.ep=!0;const a=n(l);fetch(l.href,a)}})();window.Vaadin=window.Vaadin||{};window.Vaadin.featureFlags=window.Vaadin.featureFlags||{};Object.keys(window.Vaadin.featureFlags).length===0&&(window.Vaadin.featureFlags.exampleFeatureFlag=!1,window.Vaadin.featureFlags.collaborationEngineBackend=!1,window.Vaadin.featureFlags.formFillerAddon=!1,window.Vaadin.featureFlags.hillaI18n=!1,window.Vaadin.featureFlags.fullstackSignals=!1,window.Vaadin.featureFlags.copilotExperimentalFeatures=!1,window.Vaadin.featureFlags.dashboardComponent=!1,window.Vaadin.featureFlags.cardComponent=!1,window.Vaadin.featureFlags.masterDetailLayoutComponent=!1,window.Vaadin.featureFlags.react19=!1,window.Vaadin.featureFlags.accessibleDisabledButtons=!1,window.Vaadin.featureFlags.layoutComponentImprovements=!1);if(window.Vaadin.featureFlagsUpdaters){const e=t=>window.Vaadin.featureFlags[t]=!0;window.Vaadin.featureFlagsUpdaters.forEach(t=>t(e)),delete window.Vaadin.featureFlagsUpdaters}function Os(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ic={exports:{}},He={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var Pm;function ib(){if(Pm)return He;Pm=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.iterator;function b(M){return M===null||typeof M!="object"?null:(M=v&&M[v]||M["@@iterator"],typeof M=="function"?M:null)}var x={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},T=Object.assign,R={};function A(M,K,E){this.props=M,this.context=K,this.refs=R,this.updater=E||x}A.prototype.isReactComponent={},A.prototype.setState=function(M,K){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,K,"setState")},A.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function P(){}P.prototype=A.prototype;function D(M,K,E){this.props=M,this.context=K,this.refs=R,this.updater=E||x}var O=D.prototype=new P;O.constructor=D,T(O,A.prototype),O.isPureReactComponent=!0;var X=Array.isArray,J=Object.prototype.hasOwnProperty,k={current:null},le={key:!0,ref:!0,__self:!0,__source:!0};function ye(M,K,E){var Te,ke={},Ae=null,Be=null;if(K!=null)for(Te in K.ref!==void 0&&(Be=K.ref),K.key!==void 0&&(Ae=""+K.key),K)J.call(K,Te)&&!le.hasOwnProperty(Te)&&(ke[Te]=K[Te]);var Y=arguments.length-2;if(Y===1)ke.children=E;else if(1<Y){for(var ee=Array(Y),me=0;me<Y;me++)ee[me]=arguments[me+2];ke.children=ee}if(M&&M.defaultProps)for(Te in Y=M.defaultProps,Y)ke[Te]===void 0&&(ke[Te]=Y[Te]);return{$$typeof:e,type:M,key:Ae,ref:Be,props:ke,_owner:k.current}}function fe(M,K){return{$$typeof:e,type:M.type,key:K,ref:M.ref,props:M.props,_owner:M._owner}}
vendor: 4,816 bytes, line 9
9function Se(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function ge(M){var K={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(E){return K[E]})}var q=/\/+/g;function Q(M,K){return typeof M=="object"&&M!==null&&M.key!=null?ge(""+M.key):K.toString(36)}function ue(M,K,E,Te,ke){var Ae=typeof M;(Ae==="undefined"||Ae==="boolean")&&(M=null);var Be=!1;if(M===null)Be=!0;else switch(Ae){case"string":case"number":Be=!0;break;case"object":switch(M.$$typeof){case e:case t:Be=!0}}if(Be)return Be=M,ke=ke(Be),M=Te===""?"."+Q(Be,0):Te,X(ke)?(E="",M!=null&&(E=M.replace(q,"$&/")+"/"),ue(ke,K,E,"",function(me){return me})):ke!=null&&(Se(ke)&&(ke=fe(ke,E+(!ke.key||Be&&Be.key===ke.key?"":(""+ke.key).replace(q,"$&/")+"/")+M)),K.push(ke)),1;if(Be=0,Te=Te===""?".":Te+":",X(M))for(var Y=0;Y<M.length;Y++){Ae=M[Y];var ee=Te+Q(Ae,Y);Be+=ue(Ae,K,E,ee,ke)}else if(ee=b(M),typeof ee=="function")for(M=ee.call(M),Y=0;!(Ae=M.next()).done;)Ae=Ae.value,ee=Te+Q(Ae,Y++),Be+=ue(Ae,K,E,ee,ke);else if(Ae==="object")throw K=String(M),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.");return Be}function pe(M,K,E){if(M==null)return M;var Te=[],ke=0;return ue(M,Te,"","",function(Ae){return K.call(E,Ae,ke++)}),Te}function xe(M){if(M._status===-1){var K=M._result;K=K(),K.then(function(E){(M._status===0||M._status===-1)&&(M._status=1,M._result=E)},function(E){(M._status===0||M._status===-1)&&(M._status=2,M._result=E)}),M._status===-1&&(M._status=0,M._result=K)}if(M._status===1)return M._result.default;throw M._result}var ve={current:null},ne={transition:null},he={ReactCurrentDispatcher:ve,ReactCurrentBatchConfig:ne,ReactCurrentOwner:k};function S(){throw Error("act(...) is not supported in production builds of React.")}return He.Children={map:pe,forEach:function(M,K,E){pe(M,function(){K.apply(this,arguments)},E)},count:function(M){var K=0;return pe(M,function(){K++}),K},toArray:function(M){return pe(M,function(K){return K})||[]},only:function(M){if(!Se(M))throw Error("React.Children.only expected to receive a single React element child.");return M}},He.Component=A,He.Fragment=n,He.Profiler=l,He.PureComponent=D,He.StrictMode=o,He.Suspense=c,He.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=he,He.act=S,He.cloneElement=function(M,K,E){if(M==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+M+".");var Te=T({},M.props),ke=M.key,Ae=M.ref,Be=M._owner;if(K!=null){if(K.ref!==void 0&&(Ae=K.ref,Be=k.current),K.key!==void 0&&(ke=""+K.key),M.type&&M.type.defaultProps)var Y=M.type.defaultProps;for(ee in K)J.call(K,ee)&&!le.hasOwnProperty(ee)&&(Te[ee]=K[ee]===void 0&&Y!==void 0?Y[ee]:K[ee])}var ee=arguments.length-2;if(ee===1)Te.children=E;else if(1<ee){Y=Array(ee);for(var me=0;me<ee;me++)Y[me]=arguments[me+2];Te.children=Y}return{$$typeof:e,type:M.type,key:ke,ref:Ae,props:Te,_owner:Be}},He.createContext=function(M){return M={$$typeof:u,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},M.Provider={$$typeof:a,_context:M},M.Consumer=M},He.createElement=ye,He.createFactory=function(M){var K=ye.bind(null,M);return K.type=M,K},He.createRef=function(){return{current:null}},He.forwardRef=function(M){return{$$typeof:d,render:M}},He.isValidElement=Se,He.lazy=function(M){return{$$typeof:m,_payload:{_status:-1,_result:M},_init:xe}},He.memo=function(M,K){return{$$typeof:p,type:M,compare:K===void 0?null:K}},He.startTransition=function(M){var K=ne.transition;ne.transition={};try{M()}finally{ne.transition=K}},He.unstable_act=S,He.useCallback=function(M,K){return ve.current.useCallback(M,K)},He.useContext=function(M){return ve.current.useContext(M)},He.useDebugValue=function(){},He.useDeferredValue=function(M){return ve.current.useDeferredValue(M)},He.useEffect=function(M,K){return ve.current.useEffect(M,K)},He.useId=function(){return ve.current.useId()},He.useImperativeHandle=function(M,K,E){return ve.current.useImperativeHandle(M,K,E)},He.useInsertionEffect=function(M,K){return ve.current.useInsertionEffect(M,K)},He.useLayoutEffect=function(M,K){return ve.current.useLayoutEffect(M,K)},He.useMemo=function(M,K){return ve.current.useMemo(M,K)},He.useReducer=function(M,K,E){return ve.current.useReducer(M,K,E)},He.useRef=function(M){return ve.current.useRef(M)},He.useState=function(M){return ve.current.useState(M)},He.useSyncExternalStore=function(M,K,E){return ve.current.useSyncExternalStore(M,K,E)},He.useTransition=function(){return ve.current.useTransition()},He.version="18.3.1",He}var Am;function zs(){return Am||(Am=1,Ic.exports=ib()),Ic.exports}var F=zs();const ob=Os(F),lb=rb({__proto__:null,default:ob},[F]);var Ka={}
vendor: 8,564 bytes, lines 9-25
9,Oc={exports:{}},un={},zc={exports:{}},Mc={};/** 10 * @license React 11 * scheduler.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var Rm;function ab(){return Rm||(Rm=1,(function(e){function t(ne,he){var S=ne.length;ne.push(he);e:for(;0<S;){var M=S-1>>>1,K=ne[M];if(0<l(K,he))ne[M]=he,ne[S]=K,S=M;else break e}}function n(ne){return ne.length===0?null:ne[0]}function o(ne){if(ne.length===0)return null;var he=ne[0],S=ne.pop();if(S!==he){ne[0]=S;e:for(var M=0,K=ne.length,E=K>>>1;M<E;){var Te=2*(M+1)-1,ke=ne[Te],Ae=Te+1,Be=ne[Ae];if(0>l(ke,S))Ae<K&&0>l(Be,ke)?(ne[M]=Be,ne[Ae]=S,M=Ae):(ne[M]=ke,ne[Te]=S,M=Te);else if(Ae<K&&0>l(Be,S))ne[M]=Be,ne[Ae]=S,M=Ae;else break e}}return he}function l(ne,he){var S=ne.sortIndex-he.sortIndex;return S!==0?S:ne.id-he.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var c=[],p=[],m=1,v=null,b=3,x=!1,T=!1,R=!1,A=typeof setTimeout=="function"?setTimeout:null,P=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(ne){for(var he=n(p);he!==null;){if(he.callback===null)o(p);else if(he.startTime<=ne)o(p),he.sortIndex=he.expirationTime,t(c,he);else break;he=n(p)}}function X(ne){if(R=!1,O(ne),!T)if(n(c)!==null)T=!0,xe(J);else{var he=n(p);he!==null&&ve(X,he.startTime-ne)}}function J(ne,he){T=!1,R&&(R=!1,P(ye),ye=-1),x=!0;var S=b;try{for(O(he),v=n(c);v!==null&&(!(v.expirationTime>he)||ne&&!ge());){var M=v.callback;if(typeof M=="function"){v.callback=null,b=v.priorityLevel;var K=M(v.expirationTime<=he);he=e.unstable_now(),typeof K=="function"?v.callback=K:v===n(c)&&o(c),O(he)}else o(c);v=n(c)}if(v!==null)var E=!0;else{var Te=n(p);Te!==null&&ve(X,Te.startTime-he),E=!1}return E}finally{v=null,b=S,x=!1}}var k=!1,le=null,ye=-1,fe=5,Se=-1;function ge(){return!(e.unstable_now()-Se<fe)}function q(){if(le!==null){var ne=e.unstable_now();Se=ne;var he=!0;try{he=le(!0,ne)}finally{he?Q():(k=!1,le=null)}}else k=!1}var Q;if(typeof D=="function")Q=function(){D(q)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,pe=ue.port2;ue.port1.onmessage=q,Q=function(){pe.postMessage(null)}}else Q=function(){A(q,0)};function xe(ne){le=ne,k||(k=!0,Q())}function ve(ne,he){ye=A(function(){ne(e.unstable_now())},he)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(ne){ne.callback=null},e.unstable_continueExecution=function(){T||x||(T=!0,xe(J))},e.unstable_forceFrameRate=function(ne){0>ne||125<ne?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):fe=0<ne?Math.floor(1e3/ne):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(ne){switch(b){case 1:case 2:case 3:var he=3;break;default:he=b}var S=b;b=he;try{return ne()}finally{b=S}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(ne,he){switch(ne){case 1:case 2:case 3:case 4:case 5:break;default:ne=3}var S=b;b=ne;try{return he()}finally{b=S}},e.unstable_scheduleCallback=function(ne,he,S){var M=e.unstable_now();switch(typeof S=="object"&&S!==null?(S=S.delay,S=typeof S=="number"&&0<S?M+S:M):S=M,ne){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=S+K,ne={id:m++,callback:he,priorityLevel:ne,startTime:S,expirationTime:K,sortIndex:-1},S>M?(ne.sortIndex=S,t(p,ne),n(c)===null&&ne===n(p)&&(R?(P(ye),ye=-1):R=!0,ve(X,S-M))):(ne.sortIndex=K,t(c,ne),T||x||(T=!0,xe(J))),ne},e.unstable_shouldYield=ge,e.unstable_wrapCallback=function(ne){var he=b;return function(){var S=b;b=he;try{return ne.apply(this,arguments)}finally{b=S}}}})(Mc)),Mc}var Nm;function sb(){return Nm||(Nm=1,zc.exports=ab()),zc.exports}/** 18 * @license React 19 * react-dom.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */var Lm;function ub(){if(Lm)return un;Lm=1;var e=zs(),t=sb();function n(r){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+r,s=1;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+r+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,l={};function a(r,i){u(r,i),u(r+"Capture",i)}function u(r,i){for(l[r]=i,r=0;r<i.length;r++)o.add(i[r])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),c=Object.prototype.hasOwnProperty,p=/^[: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]*$/,m={},v={};function b(r){return c.call(v,r)?!0:c.call(m,r)?!1:p.test(r)?v[r]=!0:(m[r]=!0,!1)}function x(r,i,s,f){if(s!==null&&s.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return f?!1:s!==null?!s.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function T(r,i,s,f){if(i===null||typeof i>"u"||x(r,i,s,f))return!0;if(f)return!1;if(s!==null)switch(s.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function R(r,i,s,f,h,g,_){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=f,this.attributeNamespace=h,this.mustUseProperty=s,this.propertyName=r,this.type=i,this.sanitizeURL=g,this.removeEmptyString=_}var A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){A[r]=new R(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var i=r[0];A[i]=new R(i,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){A[r]=new R(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){A[r]=new R(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){A[r]=new R(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){A[r]=new R(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){A[r]=new R(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){A[r]=new R(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){A[r]=new R(r,5,!1,r.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function D(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
25-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var i=r.replace(P,D);A[i]=new R(i,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var i=r.replace(P,D);A[i]=new R(i,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var i=r.replace(P,D);A[i]=new R(i,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){A[r]=new R(r,1,!1,r.toLowerCase(),null,!1,!1)}),A.xlinkHref=new R("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){A[r]=new R(r,1,!1,r.toLowerCase(),null,!0,!0)});function O(r,i,s,f){var h=A.hasOwnProperty(i)?A[i]:null;(h!==null?h.type!==0:f||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(T(i,s,h,f)&&(s=null),f||h===null?b(i)&&(s===null?r.removeAttribute(i):r.setAttribute(i,""+s)):h.mustUseProperty?r[h.propertyName]=s===null?h.type===3?!1:"":s:(i=h.attributeName,f=h.attributeNamespace,s===null?r.removeAttribute(i):(h=h.type,s=h===3||h===4&&s===!0?"":""+s,f?r.setAttributeNS(f,i,s):r.setAttribute(i,s))))}var X=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,J=Symbol.for("react.element"),k=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),ye=Symbol.for("react.strict_mode"),fe=Symbol.for("react.profiler"),Se=Symbol.for("react.provider"),ge=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),ue=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),xe=Symbol.for("react.lazy"),ve=Symbol.for("react.offscreen"),ne=Symbol.iterator;function he(r){return r===null||typeof r!="object"?null:(r=ne&&r[ne]||r["@@iterator"],typeof r=="function"?r:null)}var S=Object.assign,M;function K(r){if(M===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);M=i&&i[1]||""}return` 26`+M+r}var E=!1;function Te(r,i){if(!r||E)return"";E=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(V){var f=V}Reflect.construct(r,[],i)}else{try{i.call()}catch(V){f=V}r.call(i.prototype)}else{try{throw Error()}catch(V){f=V}r()}}catch(V){if(V&&f&&typeof V.stack=="string"){for(var h=V.stack.split(` 27`),g=f.stack.split(` 28`),_=h.length-1,C=g.length-1;1<=_&&0<=C&&h[_]!==g[C];)C--;for(;1<=_&&0<=C;_--,C--)if(h[_]!==g[C]){if(_!==1||C!==1)do if(_--,C--,0>C||h[_]!==g[C]){var I=` 29`+h[_].replace(" at new "," at ");return r.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",r.displayName)),I}while(1<=_&&0<=C);break}}}finally{E=!1,Error.prepareStackTrace=s}return(r=r?r.displayName||r.name:"")?K(r):""}function ke(r){switch(r.tag){case 5:return K(r.type);case 16:return K("Lazy");case 13:return K("Suspense");case 19:return K("SuspenseList");case 0:case 2:case 15:return r=Te(r.type,!1),r;case 11:return r=Te(r.type.render,!1),r;case 1:return r=Te(r.type,!0),r;default:return""}}function Ae(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case le:return"Fragment";case k:return"Portal";case fe:return"Profiler";case ye:return"StrictMode";case Q:return"Suspense";case ue:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case ge:return(r.displayName||"Context")+".Consumer";case Se:return(r._context.displayName||"Context")+".Provider";case q:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case pe:return i=r.displayName||null,i!==null?i:Ae(r.type)||"Memo";case xe:i=r._payload,r=r._init;try{return Ae(r(i))}catch{}}return null}function Be(r){var i=r.type;switch(r.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=i.render,r=r.displayName||r.name||"",i.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ae(i);case 8:return i===ye?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function Y(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function ee(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function me(r){var i=ee(r)?"checked":"value",s=Object.getOwnPropertyDescriptor(r.constructor.prototype,i
vendor: 5,851 bytes, line 29
29),f=""+r[i];if(!r.hasOwnProperty(i)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var h=s.get,g=s.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return h.call(this)},set:function(_){f=""+_,g.call(this,_)}}),Object.defineProperty(r,i,{enumerable:s.enumerable}),{getValue:function(){return f},setValue:function(_){f=""+_},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function Ye(r){r._valueTracker||(r._valueTracker=me(r))}function ut(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var s=i.getValue(),f="";return r&&(f=ee(r)?r.checked?"true":"false":r.value),r=f,r!==s?(i.setValue(r),!0):!1}function Ge(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function gt(r,i){var s=i.checked;return S({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??r._wrapperState.initialChecked})}function xt(r,i){var s=i.defaultValue==null?"":i.defaultValue,f=i.checked!=null?i.checked:i.defaultChecked;s=Y(i.value!=null?i.value:s),r._wrapperState={initialChecked:f,initialValue:s,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function jt(r,i){i=i.checked,i!=null&&O(r,"checked",i,!1)}function An(r,i){jt(r,i);var s=Y(i.value),f=i.type;if(s!=null)f==="number"?(s===0&&r.value===""||r.value!=s)&&(r.value=""+s):r.value!==""+s&&(r.value=""+s);else if(f==="submit"||f==="reset"){r.removeAttribute("value");return}i.hasOwnProperty("value")?Qt(r,i.type,s):i.hasOwnProperty("defaultValue")&&Qt(r,i.type,Y(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(r.defaultChecked=!!i.defaultChecked)}function mn(r,i,s){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var f=i.type;if(!(f!=="submit"&&f!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+r._wrapperState.initialValue,s||i===r.value||(r.value=i),r.defaultValue=i}s=r.name,s!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,s!==""&&(r.name=s)}function Qt(r,i,s){(i!=="number"||Ge(r.ownerDocument)!==r)&&(s==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+s&&(r.defaultValue=""+s))}var Ht=Array.isArray;function Rn(r,i,s,f){if(r=r.options,i){i={};for(var h=0;h<s.length;h++)i["$"+s[h]]=!0;for(s=0;s<r.length;s++)h=i.hasOwnProperty("$"+r[s].value),r[s].selected!==h&&(r[s].selected=h),h&&f&&(r[s].defaultSelected=!0)}else{for(s=""+Y(s),i=null,h=0;h<r.length;h++){if(r[h].value===s){r[h].selected=!0,f&&(r[h].defaultSelected=!0);return}i!==null||r[h].disabled||(i=r[h])}i!==null&&(i.selected=!0)}}function Et(r,i){if(i.dangerouslySetInnerHTML!=null)throw Error(n(91));return S({},i,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function gn(r,i){var s=i.value;if(s==null){if(s=i.children,i=i.defaultValue,s!=null){if(i!=null)throw Error(n(92));if(Ht(s)){if(1<s.length)throw Error(n(93));s=s[0]}i=s}i==null&&(i=""),s=i}r._wrapperState={initialValue:Y(s)}}function yr(r,i){var s=Y(i.value),f=Y(i.defaultValue);s!=null&&(s=""+s,s!==r.value&&(r.value=s),i.defaultValue==null&&r.defaultValue!==s&&(r.defaultValue=s)),f!=null&&(r.defaultValue=""+f)}function Vt(r){var i=r.textContent;i===r._wrapperState.initialValue&&i!==""&&i!==null&&(r.value=i)}function G(r){switch(r){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function se(r,i){return r==null||r==="http://www.w3.org/1999/xhtml"?G(i):r==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var Ne,Fe=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,s,f,h){MSApp.execUnsafeLocalFunction(function(){return r(i,s,f,h)})}:r})(function(r,i){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=i;else{for(Ne=Ne||document.createElement("div"),Ne.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=Ne.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;i.firstChild;)r.appendChild(i.firstChild)}});function Ue(r,i){if(i){var s=r.firstChild;if(s&&s===r.lastChild&&s.nodeType===3){s.nodeValue=i;return}}r.textContent=i}var rt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ct=["Webkit","ms","Moz","O"];Object.keys(rt).forEach(function(r){Ct.forEach(function(i){i=i+r.charAt(0).toUpperCase()+r.substring(1),rt[i]=rt[r]})});function Dt(r,i,s){return i==null||typeof i=="boolean"||i===""?"":s||typeof i!="number"||i===0||rt.hasOwnProperty(r)&&rt[r]?(""+i).trim():i+"px"}function vn(r,i){r=r.style;for(var s in i)if(i.hasOwnProperty(s)){var f=s.indexOf("--")===0,h=Dt(s,i[s],f);s==="float"&&(s="cssFloat"),f?r.setProperty(s,h):r[s]=h}}var jn=S({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ct(r,i){if(i){if(jn[r]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function Ft(r,i){if(r.indexOf("-")===-1)return typeof i.is=="str
29ing";switch(r){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 Rt=null;function or(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var xr=null,Hn=null,Vn=null;function Nn(r){if(r=Xo(r)){if(typeof xr!="function")throw Error(n(280));var i=r.stateNode;i&&(i=ua(i),xr(r.stateNode,r.type,i))}}function Wn(r){Hn?Vn?Vn.push(r):Vn=[r]:Hn=r}function Yn(){if(Hn){var r=Hn,i=Vn;if(Vn=Hn=null,Nn(r),i)for(r=0;r<i.length;r++)Nn(i[r])}}function si(r,i){return r(i)}function lr(){}var L=!1;function w(r,i,s){if(L)return r(i,s);L=!0;try{return si(r,i,s)}finally{L=!1,(Hn!==null||Vn!==null)&&(lr(),Yn())}}function y(r,i){var s=r.stateNode;if(s===null)return null;var f=ua(s);if(f===null)return null;s=f[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(r=r.type,f=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!f;break e;default:r=!1}if(r)return null;if(s&&typeof s!="function")throw Error(n(231,i,typeof s));return s}var N=!1;if(d)try{var B={};Object.defineProperty(B,"passive",{get:function(){N=!0}}),window.addEventListener("test",B,B),window.removeEventListener("test",B,B)}catch{N=!1}function W(r,i,s,f,h,g,_,C,I){var V=Array.prototype.slice.call(arguments,3);try{i.apply(s,V)}catch(oe){this.onError(oe)}}var U=!1,H=null,Z=!1,ie=null,te={onError:function(r){U=!0,H=r}};function be(r,i,s,f,h,g,_,C,I){U=!1,H=null,W.apply(te,arguments)}function _e(r,i,s,f,h,g,_,C,I){if(be.apply(this,arguments),U){if(U){var V=H;U=!1,H=null}else throw Error(n(198));Z||(Z=!0,ie=V)}}function ze(r){var i=r,s=r;if(r.alternate)for(;i.return;)i=i.return;else{r=i;do i=r,(i.flags&4098)!==0&&(s=i.return),r=i.return;while(r)}return i.tag===3?s:null}function je(r){if(r.tag===13){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function it(r){if(ze(r)!==r)throw Error(n(188))}function Jt(r){var i=r.alternate;if(!i){if(i=ze(r),i===null)throw Error(n(188));return i!==r?null:r}for(var s=r,f=i;;){var h=s.return;if(h===null)break;var g=h.alternate;if(g===null){if(f=h.return,f!==null){s=f;continue}break}if(h.child===g.child){for(g=h.child;g;){if(g===s)return it(h),r;if(g===f)return it(h),i;g=g.sibling}throw Error(n(188))}if(s.return!==f.return)s=h,f=g;else{for(var _=!1,C=h.child;C;){if(C===s){_=!0,s=h,f=g;break}if(C===f){_=!0,f=h,s=g;break}C=C.sibling}if(!_){for(C=g.child;C;){if(C===s){_=!0,s=g,f=h;break}if(C===f){_=!0,f=g,s=h;break}C=C.sibling}if(!_)throw Error(n(189))}}if(s.alternate!==f)throw Error(n(190))}if(s.tag!==3)throw Error(n(188));return s.stateNode.current===s?r:i}function Ke(r){return r=Jt(r),r!==null?Or(r):null}function Or(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var i=Or(r);if(i!==null)return i;r=r.sibling}return null}var ar=t.unstable_scheduleCallback,zr=t.unstable_cancelCallback,en=t.unstable_shouldYield,ui=t.unstable_requestPaint,ot=t.unstable_now,Ro=t.unstable_getCurrentPriorityLevel,Gn=t.unstable_ImmediatePriority,ci=t.unstable_UserBlockingPriority,Xe=t.unstable_NormalPriority,tn=t.unstable_LowPriority,Kn=t.unstable_IdlePriority,wr=null,nn=null;function vt(r){if(nn&&typeof nn.onCommitFiberRoot=="function")try{nn.onCommitFiberRoot(wr,r,void 0,(r.current.flags&128)===128)}catch{}}var Nt=Math.clz32?Math.clz32:bx,Vl=Math.log,Zs=Math.LN2;function bx(r){return r>>>=0,r===0?32:31-(Vl(r)/Zs|0)|0}var Wl=64,Yl=4194304;function No(r){switch(r&-r){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: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 r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Gl(r,i){var s=r.pendingLanes;if(s===0)return 0;var f=0,h=r.suspendedLanes,g=r.pingedLanes,_=s&268435455;if(_!==0){var C=_&~h;C!==0?f=No(C):(g&=_,g!==0&&(f=No(g)))}else _=s&~h,_!==0?f=No(_):g!==0&&(f=No(g));if(f===0)return 0;if(i!==0&&i!==f&&(i&h)===0&&(h=f&-f,g=i&-i,h>=g||h===16&&(g&4194240)!==0))return i;if((f&4)!==0&&(f|=s&16),i=r.entangledLanes,i!==0)for(r=r.entanglements,i&=f;0<i;)s=31-Nt(i),h=1<<s,f|=r[s],i&=~h;return f}function _x(r,i){switch(r){case 1:case 2:case 4:return i+250;case 8:case 16:case 32:case 64: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 i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Sx(r,i){for(var s=r.suspendedLanes,f=r.pingedLanes,h=r.expirationTimes,g=r.pendingLanes;0<g;){var _=31-Nt(g),C=1<<_,I=h[_];I===-1?((C&s)===0||(C&f)!==0)&&(h[_]=_x(C,i)):I<=i&&(r.expiredLanes|=C),g&=~C}}function eu(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function op(){var r=Wl;return Wl<<=1,(Wl&4194240)===0&&(Wl=64),r}function tu(r){for(var i=[],s=0;31>s;s++)i.push(r);return i}function Lo(r,i,s){r.pendingLanes|=i,i!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,i=31-Nt(i),r[i]=s}function kx(r,i){var s=r.pendingLanes&~i;r.pendingLanes=i,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=i,r.mutableReadLanes&=i,r.entangledLanes&=i,i=r.entanglements;var f=r.eventTimes;for(r=r.expirationTimes;0<s;){var h=31-Nt(s),g=1<<h;i[h]=0,f[h]=-1,r[h]=-1,s&=~g}}function nu(r,i){var s=r.entangledLanes|=i;for(r=r.entanglements;s;){var f=31-Nt(s),h=1<<f;
vendor: 16,282 bytes, line 29
29h&i|r[f]&i&&(r[f]|=i),s&=~h}}var nt=0;function lp(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var ap,ru,sp,up,cp,iu=!1,Kl=[],Mr=null,Dr=null,Fr=null,Io=new Map,Oo=new Map,$r=[],Ex="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 submit".split(" ");function dp(r,i){switch(r){case"focusin":case"focusout":Mr=null;break;case"dragenter":case"dragleave":Dr=null;break;case"mouseover":case"mouseout":Fr=null;break;case"pointerover":case"pointerout":Io.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Oo.delete(i.pointerId)}}function zo(r,i,s,f,h,g){return r===null||r.nativeEvent!==g?(r={blockedOn:i,domEventName:s,eventSystemFlags:f,nativeEvent:g,targetContainers:[h]},i!==null&&(i=Xo(i),i!==null&&ru(i)),r):(r.eventSystemFlags|=f,i=r.targetContainers,h!==null&&i.indexOf(h)===-1&&i.push(h),r)}function Cx(r,i,s,f,h){switch(i){case"focusin":return Mr=zo(Mr,r,i,s,f,h),!0;case"dragenter":return Dr=zo(Dr,r,i,s,f,h),!0;case"mouseover":return Fr=zo(Fr,r,i,s,f,h),!0;case"pointerover":var g=h.pointerId;return Io.set(g,zo(Io.get(g)||null,r,i,s,f,h)),!0;case"gotpointercapture":return g=h.pointerId,Oo.set(g,zo(Oo.get(g)||null,r,i,s,f,h)),!0}return!1}function fp(r){var i=di(r.target);if(i!==null){var s=ze(i);if(s!==null){if(i=s.tag,i===13){if(i=je(s),i!==null){r.blockedOn=i,cp(r.priority,function(){sp(s)});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){r.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Xl(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var s=lu(r.domEventName,r.eventSystemFlags,i[0],r.nativeEvent);if(s===null){s=r.nativeEvent;var f=new s.constructor(s.type,s);Rt=f,s.target.dispatchEvent(f),Rt=null}else return i=Xo(s),i!==null&&ru(i),r.blockedOn=s,!1;i.shift()}return!0}function pp(r,i,s){Xl(r)&&s.delete(i)}function Tx(){iu=!1,Mr!==null&&Xl(Mr)&&(Mr=null),Dr!==null&&Xl(Dr)&&(Dr=null),Fr!==null&&Xl(Fr)&&(Fr=null),Io.forEach(pp),Oo.forEach(pp)}function Mo(r,i){r.blockedOn===i&&(r.blockedOn=null,iu||(iu=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Tx)))}function Do(r){function i(h){return Mo(h,r)}if(0<Kl.length){Mo(Kl[0],r);for(var s=1;s<Kl.length;s++){var f=Kl[s];f.blockedOn===r&&(f.blockedOn=null)}}for(Mr!==null&&Mo(Mr,r),Dr!==null&&Mo(Dr,r),Fr!==null&&Mo(Fr,r),Io.forEach(i),Oo.forEach(i),s=0;s<$r.length;s++)f=$r[s],f.blockedOn===r&&(f.blockedOn=null);for(;0<$r.length&&(s=$r[0],s.blockedOn===null);)fp(s),s.blockedOn===null&&$r.shift()}var Bi=X.ReactCurrentBatchConfig,Ql=!0;function Px(r,i,s,f){var h=nt,g=Bi.transition;Bi.transition=null;try{nt=1,ou(r,i,s,f)}finally{nt=h,Bi.transition=g}}function Ax(r,i,s,f){var h=nt,g=Bi.transition;Bi.transition=null;try{nt=4,ou(r,i,s,f)}finally{nt=h,Bi.transition=g}}function ou(r,i,s,f){if(Ql){var h=lu(r,i,s,f);if(h===null)Su(r,i,f,Jl,s),dp(r,f);else if(Cx(h,r,i,s,f))f.stopPropagation();else if(dp(r,f),i&4&&-1<Ex.indexOf(r)){for(;h!==null;){var g=Xo(h);if(g!==null&&ap(g),g=lu(r,i,s,f),g===null&&Su(r,i,f,Jl,s),g===h)break;h=g}h!==null&&f.stopPropagation()}else Su(r,i,f,null,s)}}var Jl=null;function lu(r,i,s,f){if(Jl=null,r=or(f),r=di(r),r!==null)if(i=ze(r),i===null)r=null;else if(s=i.tag,s===13){if(r=je(i),r!==null)return r;r=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null);return Jl=r,null}function hp(r){switch(r){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ro()){case Gn:return 1;case ci:return 4;case Xe:case tn:return 16;case Kn:return 536870912;default:return 16}default:return 16}}var Br=null,au=null,ql=null;function mp(){if(ql)return ql;var r,i=au,s=i.length,f,h="value"in Br?Br.value:Br.textContent,g=h.length;for(r=0;r<s&&i[r]===h[r];r++);var _=s-r;for(f=1;f<=_&&i[s-f]===h[g-f];f++);return ql=h.slice(r,1<f?1-f:void 0)}function Zl(r){var i=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&i===13&&(r=13)):r=i,r===10&&(r=13),32<=r||r===13?r:0}function ea(){return!0}function gp(){return!1}function yn(r){function i(s,f,h,g,_){this._reactName=s,this._targetInst=h,this.type=f,this.nativeEvent=g,this.target=_,this.currentTarget=null;for(var C in r)r.hasOwnProperty(C)&&(s=r[C],this[C]=s?s(g):g[C]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?ea:gp,this.isPropagationStopped=gp,this}return S(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=ea)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=ea)},persist:function(){},isPersistent:ea}),i}var Ui={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},su=yn(Ui),Fo=S({},Ui,{view:0,detail:0}),Rx=yn(Fo),uu,cu,$o,ta=S({},Fo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:fu,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==$o&&($o&&r.type==="mousemove"?(uu=r.screenX-$o.screenX,cu=r.screenY-$o.screenY):cu=uu=0,$o=r),uu)},movementY:function(r){return"movementY"in r?r.movementY:cu}}),vp=yn(ta),Nx=S({},ta,{dataTransfer:0}),Lx=yn(Nx),Ix=S({},Fo,{relatedTarget:0}),du=yn(Ix),Ox=S({},Ui,{animationName:0,elapsedTime:0,pseudoElement:0}),zx=yn(Ox),Mx=S({},Ui,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Dx=yn(Mx),Fx=S({},Ui,{data:0}),yp=yn(Fx),$x={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bx={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"},Ux={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jx(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=Ux[r])?!!i[r]:!1}function fu(){return jx}var Hx=S({},Fo,{key:function(r){if(r.key){var i=$x[r.key]||r.key;if(i!=="Unidentified")return i}return r.type==="keypress"?(r=Zl(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Bx[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:fu,charCode:function(r){return r.type==="keypress"?Zl(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Zl(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),Vx=yn(Hx),Wx=S({},ta,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xp=yn(Wx),Yx=S({},Fo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:fu}),Gx=yn(Yx),Kx=S({},Ui,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xx=yn(Kx),Qx=S({},ta,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),Jx=yn(Qx),qx=[9,13,27,32],pu=d&&"CompositionEvent"in window,Bo=null;d&&"documentMode"in document&&(Bo=document.documentMode);var Zx=d&&"TextEvent"in window&&!Bo,wp=d&&(!pu||Bo&&8<Bo&&11>=Bo),bp=" ",_p=!1;function Sp(r,i){switch(r){case"keyup":return qx.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kp(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var ji=!1;function ew(r,i){switch(r){case"compositionend":return kp(i);case"keypress":return i.which!==32?null:(_p=!0,bp);case"textInput":return r=i.data,r===bp&&_p?null:r;default:return null}}function tw(r,i){if(ji)return r==="compositionend"||!pu&&Sp(r,i)?(r=mp(),ql=au=Br=null,ji=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return wp&&i.locale!=="ko"?null:i.data;default:return null}}var nw={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 Ep(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!nw[r.type]:i==="textarea"}function Cp(r,i,s,f){Wn(f),i=la(i,"onChange"),0<i.length&&(s=new su("onChange","change",null,s,f),r.push({event:s,listeners:i}))}var Uo=null,jo=null;function rw(r){Vp(r,0)}function na(r){var i=Gi(r);if(ut(i))return r}function iw(r,i){if(r==="change")return i}var Tp=!1;if(d){var hu;if(d){var mu="oninput"in document;if(!mu){var Pp=document.createElement("div");Pp.setAttribute("oninput","return;"),mu=typeof Pp.oninput=="function"}hu=mu}else hu=!1;Tp=hu&&(!document.documentMode||9<document.documentMode)}function Ap(){Uo&&(Uo.detachEvent("onpropertychange",Rp),jo=Uo=null)}function Rp(r){if(r.propertyName==="value"&&na(jo)){var i=[];Cp(i,jo,r,or(r)),w(rw,i)}}function ow(r,i,s){r==="focusin"?(Ap(),Uo=i,jo=s,Uo.attachEvent("onpropertychange",Rp)):r==="focusout"&&Ap()}function lw(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return na(jo)}function aw(r,i){if(r==="click")return na(i)}function sw(r,i){if(r==="input"||r==="change")return na(i)}function uw(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var Xn=typeof Object.is=="function"?Object.is:uw;function Ho(r,i){if(Xn(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var s=Object.keys(r),f=Object.keys(i);if(s.length!==f.length)return!1;for(f=0;f<s.length;f++){var h=s[f];if(!c.call(i,h)||!Xn(r[h],i[h]))return!1}return!0}function Np(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Lp(r,i){var s=Np(r);r=0;for(var f;s;){if(s.nodeType===3){if(f=r+s.textContent.length,r<=i&&f>=i)return{node:s,offset:i-r};r=f}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Np(s)}}function Ip(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?Ip(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function Op(){for(var r=window,i=Ge();i instanceof r.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)r=i.contentWindow;else break;i=Ge(r.document)}return i}function gu(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}function cw(r){var i=Op(),s=r.focusedElem,f=r.selectionRange;if(i!==s&&s&&s.ownerDocument&&Ip(s.ownerDocument.documentElement,s)){if(f!==null&&gu(s)){if(i=f.start,r=f.end,r===void 0&&(r=i),"selectionStart"in s)s.selectionStart=i,s.selectionEnd=Math.min(r,s.value.length);else if(r=(i=s.ownerDocument||document)&&i.defaultView||window,r.getSelection){r=r.getSelection();var h=s.textContent.length,g=Math.min(f.start,h);f=f.end===void 0?g:Math.min(f.end,h),!r.extend&&g>f&&(h=f,f=g,g=h),h=Lp(s,g);var _=Lp(s,f);h&&_&&(r.rangeCount!==1||r.anchorNode!==h.node||r.anchorOffset!==h.offset||r.focusNode!==_.node||r.focusOffset!==_.offset)&&(i=i.createRange(),i.setStart(h.node,h.offset),r.removeAllRanges(),g>f?(r.addRange(i),r.extend(_.node,_.offset)):(i.setEnd(_.node,_.offset),r.addRange(i)))}}for(i=[],r=s;r=r.parentNode;)r.nodeType===1&&i.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<i.length;s++)r=i[s],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var dw=d&&"documentMode"in document&&11>=document.documentMode,Hi=null,vu=null,Vo=null,yu=!1;function zp(r,i,s){var f=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;yu||Hi==null||Hi!==Ge(f)||(f=Hi,"selectionStart"in f&&gu(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),Vo&&Ho(Vo,f)||(Vo=f,f=la(vu,"onSelect"),0<f.length&&(i=new su("onSelect","select",null,i,s),r.push({event:i,listeners:f}),i.target=Hi)))}function ra(r,i){var s={};return s[r.toLowerCase()]=i.toLowerCase(),s["Webkit"+r]="webkit"+i,s["Moz"+r]="moz"+i,s}var Vi={animationend:ra("Animation","AnimationEnd"),animationiteration:ra("Animation","AnimationIteration"),animationstart:ra("Animation","AnimationStart"),transitionend:ra("Transition","TransitionEnd")},xu={},Mp={};d&&(Mp=document.createElement("div").style,"AnimationEvent"in window||(delete Vi.animationend.animation,delete Vi.animationiteration.animation,delete Vi.animationstart.animation),"TransitionEvent"in window||delete Vi.transitionend.transition);function ia(r){if(xu[r])return xu[r];if(!Vi[r])return r;var i=Vi[r],s;for(s in i)if(i.hasOwnProperty(s)&&s in Mp)return xu[r]=i[s];return r}var Dp=ia("animationend"),Fp=ia("animationiteration"),$p=ia("animationstart"),Bp=ia("transitionend"),Up=new Map,jp="abort auxClick 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(" ");function Ur(r,i){Up.set(r,i),a(i,[r])}for(var wu=0;wu<jp.length;wu++){var bu=jp[wu],fw=bu.toLowerCase(),pw=bu[0].toUpperCase()+bu.slice(1);Ur(fw,"on"+pw)}Ur(Dp,"onAnimationEnd"),Ur(Fp,"onAnimationIteration"),Ur($p,"onAnimationStart"),Ur("dblclick","onDoubleClick"),Ur("focusin","onFocus"),Ur("focusout","onBlur"),Ur(Bp,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focu
29sin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wo="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(" "),hw=new Set("cancel close invalid load scroll toggle".split(" ").concat(Wo));function Hp(r,i,s){var f=r.type||"unknown-event";r.currentTarget=s,_e(f,i,void 0,r),r.currentTarget=null}function Vp(r,i){i=(i&4)!==0;for(var s=0;s<r.length;s++){var f=r[s],h=f.event;f=f.listeners;e:{var g=void 0;if(i)for(var _=f.length-1;0<=_;_--){var C=f[_],I=C.instance,V=C.currentTarget;if(C=C.listener,I!==g&&h.isPropagationStopped())break e;Hp(h,C,V),g=I}else for(_=0;_<f.length;_++){if(C=f[_],I=C.instance,V=C.currentTarget,C=C.listener,I!==g&&h.isPropagationStopped())break e;Hp(h,C,V),g=I}}}if(Z)throw r=ie,Z=!1,ie=null,r}function dt(r,i){var s=i[Au];s===void 0&&(s=i[Au]=new Set);var f=r+"__bubble";s.has(f)||(Wp(i,r,2,!1),s.add(f))}function _u(r,i,s){var f=0;i&&(f|=4),Wp(s,r,f,i)}var oa="_reactListening"+Math.random().toString(36).slice(2);function Yo(r){if(!r[oa]){r[oa]=!0,o.forEach(function(s){s!=="selectionchange"&&(hw.has(s)||_u(s,!1,r),_u(s,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[oa]||(i[oa]=!0,_u("selectionchange",!1,i))}}function Wp(r,i,s,f){switch(hp(i)){case 1:var h=Px;break;case 4:h=Ax;break;default:h=ou}s=h.bind(null,i,s,r),h=void 0,!N||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(h=!0),f?h!==void 0?r.addEventListener(i,s,{capture:!0,passive:h}):r.addEventListener(i,s,!0):h!==void 0?r.addEventListener(i,s,{passive:h}):r.addEventListener(i,s,!1)}function Su(r,i,s,f,h){var g=f;if((i&1)===0&&(i&2)===0&&f!==null)e:for(;;){if(f===null)return;var _=f.tag;if(_===3||_===4){var C=f.stateNode.containerInfo;if(C===h||C.nodeType===8&&C.parentNode===h)break;if(_===4)for(_=f.return;_!==null;){var I=_.tag;if((I===3||I===4)&&(I=_.stateNode.containerInfo,I===h||I.nodeType===8&&I.parentNode===h))return;_=_.return}for(;C!==null;){if(_=di(C),_===null)return;if(I=_.tag,I===5||I===6){f=g=_;continue e}C=C.parentNode}}f=f.return}w(function(){var V=g,oe=or(s),ae=[];e:{var re=Up.get(r);if(re!==void 0){var we=su,Ce=r;switch(r){case"keypress":if(Zl(s)===0)break e;case"keydown":case"keyup":we=Vx;break;case"focusin":Ce="focus",we=du;break;case"focusout":Ce="blur",we=du;break;case"beforeblur":case"afterblur":we=du;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":we=vp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":we=Lx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":we=Gx;break;case Dp:case Fp:case $p:we=zx;break;case Bp:we=Xx;break;case"scroll":we=Rx;break;case"wheel":we=Jx;break;case"copy":case"cut":case"paste":we=Dx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":we=xp}var Pe=(i&4)!==0,wt=!Pe&&r==="scroll",$=Pe?re!==null?re+"Capture":null:re;Pe=[];for(var z=V,j;z!==null;){j=z;var de=j.stateNode;if(j.tag===5&&de!==null&&(j=de,$!==null&&(de=y(z,$),de!=null&&Pe.push(Go(z,de,j)))),wt)break;z=z.return}0<Pe.length&&(re=new we(re,Ce,null,s,oe),ae.push({event:re,listeners:Pe}))}}if((i&7)===0){e:{if(re=r==="mouseover"||r==="pointerover",we=r==="mouseout"||r==="pointerout",re&&s!==Rt&&(Ce=s.relatedTarget||s.fromElement)&&(di(Ce)||Ce[br]))break e;if((we||re)&&(re=oe.window===oe?oe:(re=oe.ownerDocument)?re.defaultView||re.parentWindow:window,we?(Ce=s.relatedTarget||s.toElement,we=V,Ce=Ce?di(Ce):null,Ce!==null&&(wt=ze(Ce),Ce!==wt||Ce.tag!==5&&Ce.tag!==6)&&(Ce=null)):(we=null,Ce=V),we!==Ce)){if(Pe=vp,de="onMouseLeave",$="onMouseEnter",z="mouse",(r==="pointerout"||r==="pointerover")&&(Pe=xp,de="onPointerLeave",$="onPointerEnter",z="pointer"),wt=we==null?re:Gi(we),j=Ce==null?re:Gi(Ce),re=ne
vendor: 8,809 bytes, lines 29-30
29w Pe(de,z+"leave",we,s,oe),re.target=wt,re.relatedTarget=j,de=null,di(oe)===V&&(Pe=new Pe($,z+"enter",Ce,s,oe),Pe.target=j,Pe.relatedTarget=wt,de=Pe),wt=de,we&&Ce)t:{for(Pe=we,$=Ce,z=0,j=Pe;j;j=Wi(j))z++;for(j=0,de=$;de;de=Wi(de))j++;for(;0<z-j;)Pe=Wi(Pe),z--;for(;0<j-z;)$=Wi($),j--;for(;z--;){if(Pe===$||$!==null&&Pe===$.alternate)break t;Pe=Wi(Pe),$=Wi($)}Pe=null}else Pe=null;we!==null&&Yp(ae,re,we,Pe,!1),Ce!==null&&wt!==null&&Yp(ae,wt,Ce,Pe,!0)}}e:{if(re=V?Gi(V):window,we=re.nodeName&&re.nodeName.toLowerCase(),we==="select"||we==="input"&&re.type==="file")var Re=iw;else if(Ep(re))if(Tp)Re=sw;else{Re=lw;var Ie=ow}else(we=re.nodeName)&&we.toLowerCase()==="input"&&(re.type==="checkbox"||re.type==="radio")&&(Re=aw);if(Re&&(Re=Re(r,V))){Cp(ae,Re,s,oe);break e}Ie&&Ie(r,re,V),r==="focusout"&&(Ie=re._wrapperState)&&Ie.controlled&&re.type==="number"&&Qt(re,"number",re.value)}switch(Ie=V?Gi(V):window,r){case"focusin":(Ep(Ie)||Ie.contentEditable==="true")&&(Hi=Ie,vu=V,Vo=null);break;case"focusout":Vo=vu=Hi=null;break;case"mousedown":yu=!0;break;case"contextmenu":case"mouseup":case"dragend":yu=!1,zp(ae,s,oe);break;case"selectionchange":if(dw)break;case"keydown":case"keyup":zp(ae,s,oe)}var Oe;if(pu)e:{switch(r){case"compositionstart":var Me="onCompositionStart";break e;case"compositionend":Me="onCompositionEnd";break e;case"compositionupdate":Me="onCompositionUpdate";break e}Me=void 0}else ji?Sp(r,s)&&(Me="onCompositionEnd"):r==="keydown"&&s.keyCode===229&&(Me="onCompositionStart");Me&&(wp&&s.locale!=="ko"&&(ji||Me!=="onCompositionStart"?Me==="onCompositionEnd"&&ji&&(Oe=mp()):(Br=oe,au="value"in Br?Br.value:Br.textContent,ji=!0)),Ie=la(V,Me),0<Ie.length&&(Me=new yp(Me,r,null,s,oe),ae.push({event:Me,listeners:Ie}),Oe?Me.data=Oe:(Oe=kp(s),Oe!==null&&(Me.data=Oe)))),(Oe=Zx?ew(r,s):tw(r,s))&&(V=la(V,"onBeforeInput"),0<V.length&&(oe=new yp("onBeforeInput","beforeinput",null,s,oe),ae.push({event:oe,listeners:V}),oe.data=Oe))}Vp(ae,i)})}function Go(r,i,s){return{instance:r,listener:i,currentTarget:s}}function la(r,i){for(var s=i+"Capture",f=[];r!==null;){var h=r,g=h.stateNode;h.tag===5&&g!==null&&(h=g,g=y(r,s),g!=null&&f.unshift(Go(r,g,h)),g=y(r,i),g!=null&&f.push(Go(r,g,h))),r=r.return}return f}function Wi(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function Yp(r,i,s,f,h){for(var g=i._reactName,_=[];s!==null&&s!==f;){var C=s,I=C.alternate,V=C.stateNode;if(I!==null&&I===f)break;C.tag===5&&V!==null&&(C=V,h?(I=y(s,g),I!=null&&_.unshift(Go(s,I,C))):h||(I=y(s,g),I!=null&&_.push(Go(s,I,C)))),s=s.return}_.length!==0&&r.push({event:i,listeners:_})}var mw=/\r\n?/g,gw=/\u0000|\uFFFD/g;function Gp(r){return(typeof r=="string"?r:""+r).replace(mw,` 30`).replace(gw,"")}function aa(r,i,s){if(i=Gp(i),Gp(r)!==i&&s)throw Error(n(425))}function sa(){}var ku=null,Eu=null;function Cu(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Tu=typeof setTimeout=="function"?setTimeout:void 0,vw=typeof clearTimeout=="function"?clearTimeout:void 0,Kp=typeof Promise=="function"?Promise:void 0,yw=typeof queueMicrotask=="function"?queueMicrotask:typeof Kp<"u"?function(r){return Kp.resolve(null).then(r).catch(xw)}:Tu;function xw(r){setTimeout(function(){throw r})}function Pu(r,i){var s=i,f=0;do{var h=s.nextSibling;if(r.removeChild(s),h&&h.nodeType===8)if(s=h.data,s==="/$"){if(f===0){r.removeChild(h),Do(i);return}f--}else s!=="$"&&s!=="$?"&&s!=="$!"||f++;s=h}while(s);Do(i)}function jr(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return r}function Xp(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var s=r.data;if(s==="$"||s==="$!"||s==="$?"){if(i===0)return r;i--}else s==="/$"&&i++}r=r.previousSibling}return null}var Yi=Math.random().toString(36).slice(2),sr="__reactFiber$"+Yi,Ko="__reactProps$"+Yi,br="__reactContainer$"+Yi,Au="__reactEvents$"+Yi,ww="__reactListeners$"+Yi,bw="__reactHandles$"+Yi;function di(r){var i=r[sr];if(i)return i;for(var s=r.parentNode;s;){if(i=s[br]||s[sr]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(r=Xp(r);r!==null;){if(s=r[sr])return s;r=Xp(r)}return i}r=s,s=r.parentNode}return null}function Xo(r){return r=r[sr]||r[br],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function Gi(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function ua(r){return r[Ko]||null}var Ru=[],Ki=-1;function Hr(r){return{current:r}}function ft(r){0>Ki||(r.current=Ru[Ki],Ru[Ki]=null,Ki--)}function lt(r,i){Ki++,Ru[Ki]=r.current,r.current=i}var Vr={},Wt=Hr(Vr),rn=Hr(!1),fi=Vr;function Xi(r,i){var s=r.type.contextTypes;if(!s)return Vr;var f=r.stateNode;if(f&&f.__reactInternalMemoizedUnmaskedChildContext===i)return f.__reactInternalMemoizedMaskedChildContext;var h={},g;for(g in s)h[g]=i[g];return f&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=i,r.__reactInternalMemoizedMaskedChildContext=h),h}function on(r){return r=r.childContextTypes,r!=null}function ca(){ft(rn),ft(Wt)}function Qp(r,i,s){if(Wt.current!==Vr)throw Error(n(168));lt(Wt,i),lt(rn,s)}function Jp(r,i,s){var f=r.stateNode;if(i=i.childContextTypes,typeof f.getChildContext!="function")return s;f=f.getChildContext();for(var h in f)if(!(h in i))throw Error(n(108,Be(r)||"Unknown",h));return S({},s,f)}function da(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Vr,fi=Wt.current,lt(Wt,r),lt(rn,rn.current),!0}function qp(r,i,s){var f=r.stateNode;if(!f)throw Error(n(169));s?(r=Jp(r,i,fi),f.__reactInternalMemoizedMergedChildContext=r,ft(rn),ft(Wt),lt(Wt,r)):ft(rn),lt(rn,s)}var _r=null,fa=!1,Nu=!1;function Zp(r){_r===null?_r=[r]:_r.push(r)}function _w(r){fa=!0,Zp(r)}function Wr(){if(!Nu&&_r!==null){Nu=!0;var r=0,i=nt;try{var s=_r;for(nt=1;r<s.length;r++){var f=s[r];do f=f(!0);while(f!==null)}_r=null,fa=!1}catch(h){throw _r!==null&&(_r=_r.slice(r+1)),ar(Gn,Wr),h}finally{nt=i,Nu=!1}}return null}var Qi=[],Ji=0,pa=null,ha=0,Ln=[],In=0,pi=null,Sr=1,kr="";function hi(r,i){Qi[Ji++]=ha,Qi[Ji++]=pa,pa=r,ha=i}function eh(r,i,s){Ln[In++]=Sr,Ln[In++]=kr,Ln[In++]=pi,pi=r;var f=Sr;r=kr;var h=32-Nt(f)-1;f&=~(1<<h),s+=1;var g=32-Nt(i)+h;if(30<g){var _=h-h%5;g=(f&(1<<_)-1).toString(32),f>>=_,h-=_,Sr=1<<32-Nt(i)+h|s<<h|f,kr=g+r}else Sr=1<<g|s<<h|f,kr=r}function Lu(r){r.return!==null&&(hi(r,1),eh(r,1,0))}function Iu(r){for(;r===pa;)pa=Qi[--Ji],Qi[Ji]=null,ha=Qi[--Ji],Qi[Ji]=null;for(;r===pi;)pi=Ln[--In],Ln[In]=null,kr=Ln[--In],Ln[In]=null,Sr=Ln[--In],Ln[In]=null}var xn=null,wn=null,pt=!1,Qn=null;function th(r,i){var s=Dn(5,null,null,0);s.elementType="DELETED",s.stateNode=i,s.return=r,i=r.deletions,i===null?(r.deletions=[s],r.flags|=16):i.push(s)}function nh(r,i){switch(r.tag){case 5:var s=r.type;return i=i.nodeType!==1||s.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(r.stateNode=i,xn=r,wn=jr(i.firstChild),!0):!1;case 6:return i=r.pendingProps===""||i.nodeType!==3?null:i,i!==null?(r.stateNode=i,xn=r,wn=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(s=pi!==null?{id:Sr,overflow:kr}:null,r.memoizedState={dehydrated:i,treeContext:s,retryLane:1073741824},s=Dn(18,null,null,0),s.stateNode=i,s.return=r,r.child=s,xn=r,wn=null,!0):!1;default:return!1}}function Ou(r){return(r.mode&1)!==0&&(r.flags&128)===0}function zu(r){if(pt){var i=wn;if(i){var s=i;if(!nh(r,i)){if(Ou(r))throw Error(n(418));i=jr(s.nextSibling);var f=xn;i&&nh(r,i)?th(f,s):(r.flags=r.flags&-4097|2,pt=!1,xn=r)}}else{if(Ou(r))throw Error(n(418));r.flags=r.flags&-4097|2,pt=!1,xn=r}}}function rh(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;xn=r}function ma(r){if(r!==xn)return!1;if(!pt)return rh(r),pt=!0,!1;var i;if((i=r.tag!==3)&&!(i=r.tag!==5)&&(i=r.type,i=i!=="head"&&i!=="body"&&!Cu(r.type,r.memoizedProps)),i&&(i=wn)){if(Ou(r))throw ih(),Error(n(418));for(;i;)th(r,i),i=jr(i.nextSibling)}if(rh(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,i=0;r;){if(r.nodeType===8){var s=r.data;if(s==="/$"){if(i===0){wn=jr(r.nextSibling);break e}i--}else s!=="$"&&s!=="$!"&&s!=="$?"||i++}r=r.nextSibling}wn=null}}else wn=xn?jr(r.stateNode.nextSibling):null;return!0}function ih(){for(var r=wn;r;)r=jr(r.nextSibling)}function qi(){wn=xn=null,pt=!1}function Mu(r){Qn===null?Qn=[r]:Qn.push(r)}var Sw=X.ReactCurrentBatchConfig;function Qo(r,i,s){if(r=s.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(n(309));var f=s.stateNode}if(!f)throw Error(n(147,r));var h=f,g=""+r;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===g?i.ref:(i=function(_){var
vendor: 7,541 bytes, line 30
30C=h.refs;_===null?delete C[g]:C[g]=_},i._stringRef=g,i)}if(typeof r!="string")throw Error(n(284));if(!s._owner)throw Error(n(290,r))}return r}function ga(r,i){throw r=Object.prototype.toString.call(i),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":r))}function oh(r){var i=r._init;return i(r._payload)}function lh(r){function i($,z){if(r){var j=$.deletions;j===null?($.deletions=[z],$.flags|=16):j.push(z)}}function s($,z){if(!r)return null;for(;z!==null;)i($,z),z=z.sibling;return null}function f($,z){for($=new Map;z!==null;)z.key!==null?$.set(z.key,z):$.set(z.index,z),z=z.sibling;return $}function h($,z){return $=Zr($,z),$.index=0,$.sibling=null,$}function g($,z,j){return $.index=j,r?(j=$.alternate,j!==null?(j=j.index,j<z?($.flags|=2,z):j):($.flags|=2,z)):($.flags|=1048576,z)}function _($){return r&&$.alternate===null&&($.flags|=2),$}function C($,z,j,de){return z===null||z.tag!==6?(z=Tc(j,$.mode,de),z.return=$,z):(z=h(z,j),z.return=$,z)}function I($,z,j,de){var Re=j.type;return Re===le?oe($,z,j.props.children,de,j.key):z!==null&&(z.elementType===Re||typeof Re=="object"&&Re!==null&&Re.$$typeof===xe&&oh(Re)===z.type)?(de=h(z,j.props),de.ref=Qo($,z,j),de.return=$,de):(de=Ba(j.type,j.key,j.props,null,$.mode,de),de.ref=Qo($,z,j),de.return=$,de)}function V($,z,j,de){return z===null||z.tag!==4||z.stateNode.containerInfo!==j.containerInfo||z.stateNode.implementation!==j.implementation?(z=Pc(j,$.mode,de),z.return=$,z):(z=h(z,j.children||[]),z.return=$,z)}function oe($,z,j,de,Re){return z===null||z.tag!==7?(z=_i(j,$.mode,de,Re),z.return=$,z):(z=h(z,j),z.return=$,z)}function ae($,z,j){if(typeof z=="string"&&z!==""||typeof z=="number")return z=Tc(""+z,$.mode,j),z.return=$,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case J:return j=Ba(z.type,z.key,z.props,null,$.mode,j),j.ref=Qo($,null,z),j.return=$,j;case k:return z=Pc(z,$.mode,j),z.return=$,z;case xe:var de=z._init;return ae($,de(z._payload),j)}if(Ht(z)||he(z))return z=_i(z,$.mode,j,null),z.return=$,z;ga($,z)}return null}function re($,z,j,de){var Re=z!==null?z.key:null;if(typeof j=="string"&&j!==""||typeof j=="number")return Re!==null?null:C($,z,""+j,de);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case J:return j.key===Re?I($,z,j,de):null;case k:return j.key===Re?V($,z,j,de):null;case xe:return Re=j._init,re($,z,Re(j._payload),de)}if(Ht(j)||he(j))return Re!==null?null:oe($,z,j,de,null);ga($,j)}return null}function we($,z,j,de,Re){if(typeof de=="string"&&de!==""||typeof de=="number")return $=$.get(j)||null,C(z,$,""+de,Re);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case J:return $=$.get(de.key===null?j:de.key)||null,I(z,$,de,Re);case k:return $=$.get(de.key===null?j:de.key)||null,V(z,$,de,Re);case xe:var Ie=de._init;return we($,z,j,Ie(de._payload),Re)}if(Ht(de)||he(de))return $=$.get(j)||null,oe(z,$,de,Re,null);ga(z,de)}return null}function Ce($,z,j,de){for(var Re=null,Ie=null,Oe=z,Me=z=0,Ot=null;Oe!==null&&Me<j.length;Me++){Oe.index>Me?(Ot=Oe,Oe=null):Ot=Oe.sibling;var Je=re($,Oe,j[Me],de);if(Je===null){Oe===null&&(Oe=Ot);break}r&&Oe&&Je.alternate===null&&i($,Oe),z=g(Je,z,Me),Ie===null?Re=Je:Ie.sibling=Je,Ie=Je,Oe=Ot}if(Me===j.length)return s($,Oe),pt&&hi($,Me),Re;if(Oe===null){for(;Me<j.length;Me++)Oe=ae($,j[Me],de),Oe!==null&&(z=g(Oe,z,Me),Ie===null?Re=Oe:Ie.sibling=Oe,Ie=Oe);return pt&&hi($,Me),Re}for(Oe=f($,Oe);Me<j.length;Me++)Ot=we(Oe,$,Me,j[Me],de),Ot!==null&&(r&&Ot.alternate!==null&&Oe.delete(Ot.key===null?Me:Ot.key),z=g(Ot,z,Me),Ie===null?Re=Ot:Ie.sibling=Ot,Ie=Ot);return r&&Oe.forEach(function(ei){return i($,ei)}),pt&&hi($,Me),Re}function Pe($,z,j,de){var Re=he(j);if(typeof Re!="function")throw Error(n(150));if(j=Re.call(j),j==null)throw Error(n(151));for(var Ie=Re=null,Oe=z,Me=z=0,Ot=null,Je=j.next();Oe!==null&&!Je.done;Me++,Je=j.next()){Oe.index>Me?(Ot=Oe,Oe=null):Ot=Oe.sibling;var ei=re($,Oe,Je.value,de);if(ei===null){Oe===null&&(Oe=Ot);break}r&&Oe&&ei.alternate===null&&i($,Oe),z=g(ei,z,Me),Ie===null?Re=ei:Ie.sibling=ei,Ie=ei,Oe=Ot}if(Je.done)return s($,Oe),pt&&hi($,Me),Re;if(Oe===null){for(;!Je.done;Me++,Je=j.next())Je=ae($,Je.value,de),Je!==null&&(z=g(Je,z,Me),Ie===null?Re=Je:Ie.sibling=Je,Ie=Je);return pt&&hi($,Me),Re}for(Oe=f($,Oe);!Je.done;Me++,Je=j.next())Je=we(Oe,$,Me,Je.value,de),Je!==null&&(r&&Je.alternate!==null&&Oe.delete(Je.key===null?Me:Je.key),z=g(Je,z,Me),Ie===null?Re=Je:Ie.sibling=Je,Ie=Je);return r&&Oe.forEach(function(nb){return i($,nb)}),pt&&hi($,Me),Re}function wt($,z,j,de){if(typeof j=="object"&&j!==null&&j.type===le&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case J:e:{for(var Re=j.key,Ie=z;Ie!==null;){if(Ie.key===Re){if(Re=j.type,Re===le){if(Ie.tag===7){s($,Ie.sibling),z=h(Ie,j.props.children),z.return=$,$=z;break e}}else if(Ie.elementType===Re||typeof Re=="object"&&Re!==null&&Re.$$typeof===xe&&oh(Re)===Ie.type){s($,Ie.sibling),z=h(Ie,j.props),z.ref=Qo($,Ie,j),z.return=$,$=z;break e}s($,Ie);break}else i($,Ie);Ie=Ie.sibling}j.type===le?(z=_i(j.props.children,$.mode,de,j.key),z.return=$,$=z):(de=Ba(j.type,j.key,j.props,null,$.mode,de),de.ref=Qo($,z,j),de.return=$,$=de)}return _($);case k:e:{for(Ie=j.key;z!==null;){if(z.key===Ie)if(z.tag===4&&z.stateNode.containerInfo===j.containerInfo&&z.stateNode.implementation===j.implementation){s($,z.sibling),z=h(z,j.children||[]),z.return=$,$=z;break e}else{s($,z);break}else i($,z);z=z.sibling}z=Pc(j,$.mode,de),z.return=$,$=z}return _($);case xe:return Ie=j._init,wt($,z,Ie(j._payload),de)}if(Ht(j))return Ce($,z,j,de);if(he(j))return Pe($,z,j,de);ga($,j)}return typeof j=="string"&&j!==""||typeof j=="number"?(j=""+j,z!==null&&z.tag===6?(s($,z.sibling),z=h(z,j),z.return=$,$=z):(s($,z),z=Tc(j,$.mode,de),z.return=$,$=z),_($)):s($,z)}return wt}var Zi=lh(!0),ah=lh(!1),va=Hr(null),ya=null,eo=null,Du=null;function Fu(){Du=eo=ya=null}function $u(r){var i=va.current;ft(va),r._currentValue=i}function Bu(r,i,s){for(;r!==null;){var f=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,f!==null&&(f.childLanes|=i)):f!==null&&(f.childLanes&i)!==i&&(f.childLanes|=i),r===s)break;r=r.return}}function to(r,i){ya=r,Du=eo=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&i)!==0&&(ln=!0),r.firstContext=null)}function On(r){var i=r._currentValue;if(Du!==r)if(r={context:r,memoizedValue:i,next:null},eo===null){if(ya===null)throw Error(n(308));eo=r,ya.dependencies={lanes:0,firstContext:r}}else eo=eo.next=r;return i}var mi=null;function Uu(r){mi===null?mi=[r]:mi.push(r)}function sh(r,i,s,f){var h=i.interleaved;return h===null?(s.next=s,Uu(i)):(s.next=h.next,h.next=s),i.interleaved=s,Er(r,f)}function Er(r,i){r.lanes|=i;var s=r.alternate;for(s!==null&&(s.lanes|=i),s=r,r=r.return;r!==null;)r.childLanes|=i,s=r.alternate,s!==null&&(s.childLanes|=i),s=r,r=r.return;return s.tag===3?s.stateNode:null}var Yr=!1;function ju(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function uh(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function Cr(r,i){return{eventTime:r,lane:i,tag:0,payload:null,callback:null,next:null}}function Gr(r,i,s){var f=r.updateQueue;if(f===null)return null;if(f=f.shared,(Qe&2)!==0){var h=f.pending;return h===null?i.next=i:(i.next=h.next,h.next=i),f.pending=i,Er(r,s)}return h=f.interleaved,h===null?(i.next=i,Uu(f)):(i.next=h.next,h.next=i),f.interleaved=i,Er(r,s)}
vendor: 2,583 bytes, line 30
30function xa(r,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194240)!==0)){var f=i.lanes;f&=r.pendingLanes,s|=f,i.lanes=s,nu(r,s)}}function ch(r,i){var s=r.updateQueue,f=r.alternate;if(f!==null&&(f=f.updateQueue,s===f)){var h=null,g=null;if(s=s.firstBaseUpdate,s!==null){do{var _={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};g===null?h=g=_:g=g.next=_,s=s.next}while(s!==null);g===null?h=g=i:g=g.next=i}else h=g=i;s={baseState:f.baseState,firstBaseUpdate:h,lastBaseUpdate:g,shared:f.shared,effects:f.effects},r.updateQueue=s;return}r=s.lastBaseUpdate,r===null?s.firstBaseUpdate=i:r.next=i,s.lastBaseUpdate=i}function wa(r,i,s,f){var h=r.updateQueue;Yr=!1;var g=h.firstBaseUpdate,_=h.lastBaseUpdate,C=h.shared.pending;if(C!==null){h.shared.pending=null;var I=C,V=I.next;I.next=null,_===null?g=V:_.next=V,_=I;var oe=r.alternate;oe!==null&&(oe=oe.updateQueue,C=oe.lastBaseUpdate,C!==_&&(C===null?oe.firstBaseUpdate=V:C.next=V,oe.lastBaseUpdate=I))}if(g!==null){var ae=h.baseState;_=0,oe=V=I=null,C=g;do{var re=C.lane,we=C.eventTime;if((f&re)===re){oe!==null&&(oe=oe.next={eventTime:we,lane:0,tag:C.tag,payload:C.payload,callback:C.callback,next:null});e:{var Ce=r,Pe=C;switch(re=i,we=s,Pe.tag){case 1:if(Ce=Pe.payload,typeof Ce=="function"){ae=Ce.call(we,ae,re);break e}ae=Ce;break e;case 3:Ce.flags=Ce.flags&-65537|128;case 0:if(Ce=Pe.payload,re=typeof Ce=="function"?Ce.call(we,ae,re):Ce,re==null)break e;ae=S({},ae,re);break e;case 2:Yr=!0}}C.callback!==null&&C.lane!==0&&(r.flags|=64,re=h.effects,re===null?h.effects=[C]:re.push(C))}else we={eventTime:we,lane:re,tag:C.tag,payload:C.payload,callback:C.callback,next:null},oe===null?(V=oe=we,I=ae):oe=oe.next=we,_|=re;if(C=C.next,C===null){if(C=h.shared.pending,C===null)break;re=C,C=re.next,re.next=null,h.lastBaseUpdate=re,h.shared.pending=null}}while(!0);if(oe===null&&(I=ae),h.baseState=I,h.firstBaseUpdate=V,h.lastBaseUpdate=oe,i=h.shared.interleaved,i!==null){h=i;do _|=h.lane,h=h.next;while(h!==i)}else g===null&&(h.shared.lanes=0);yi|=_,r.lanes=_,r.memoizedState=ae}}function dh(r,i,s){if(r=i.effects,i.effects=null,r!==null)for(i=0;i<r.length;i++){var f=r[i],h=f.callback;if(h!==null){if(f.callback=null,f=s,typeof h!="function")throw Error(n(191,h));h.call(f)}}}var Jo={},ur=Hr(Jo),qo=Hr(Jo),Zo=Hr(Jo);function gi(r){if(r===Jo)throw Error(n(174));return r}function Hu(r,i){switch(lt(Zo,i),lt(qo,r),lt(ur,Jo),r=i.nodeType,r){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:se(null,"");break;default:r=r===8?i.parentNode:i,i=r.namespaceURI||null,r=r.tagName,i=se(i,r)}
vendor: 4,507 bytes, line 30
30ft(ur),lt(ur,i)}function no(){ft(ur),ft(qo),ft(Zo)}function fh(r){gi(Zo.current);var i=gi(ur.current),s=se(i,r.type);i!==s&&(lt(qo,r),lt(ur,s))}function Vu(r){qo.current===r&&(ft(ur),ft(qo))}var ht=Hr(0);function ba(r){for(var i=r;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Wu=[];function Yu(){for(var r=0;r<Wu.length;r++)Wu[r]._workInProgressVersionPrimary=null;Wu.length=0}var _a=X.ReactCurrentDispatcher,Gu=X.ReactCurrentBatchConfig,vi=0,mt=null,Tt=null,Lt=null,Sa=!1,el=!1,tl=0,kw=0;function Yt(){throw Error(n(321))}function Ku(r,i){if(i===null)return!1;for(var s=0;s<i.length&&s<r.length;s++)if(!Xn(r[s],i[s]))return!1;return!0}function Xu(r,i,s,f,h,g){if(vi=g,mt=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,_a.current=r===null||r.memoizedState===null?Pw:Aw,r=s(f,h),el){g=0;do{if(el=!1,tl=0,25<=g)throw Error(n(301));g+=1,Lt=Tt=null,i.updateQueue=null,_a.current=Rw,r=s(f,h)}while(el)}if(_a.current=Ca,i=Tt!==null&&Tt.next!==null,vi=0,Lt=Tt=mt=null,Sa=!1,i)throw Error(n(300));return r}function Qu(){var r=tl!==0;return tl=0,r}function cr(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Lt===null?mt.memoizedState=Lt=r:Lt=Lt.next=r,Lt}function zn(){if(Tt===null){var r=mt.alternate;r=r!==null?r.memoizedState:null}else r=Tt.next;var i=Lt===null?mt.memoizedState:Lt.next;if(i!==null)Lt=i,Tt=r;else{if(r===null)throw Error(n(310));Tt=r,r={memoizedState:Tt.memoizedState,baseState:Tt.baseState,baseQueue:Tt.baseQueue,queue:Tt.queue,next:null},Lt===null?mt.memoizedState=Lt=r:Lt=Lt.next=r}return Lt}function nl(r,i){return typeof i=="function"?i(r):i}function Ju(r){var i=zn(),s=i.queue;if(s===null)throw Error(n(311));s.lastRenderedReducer=r;var f=Tt,h=f.baseQueue,g=s.pending;if(g!==null){if(h!==null){var _=h.next;h.next=g.next,g.next=_}f.baseQueue=h=g,s.pending=null}if(h!==null){g=h.next,f=f.baseState;var C=_=null,I=null,V=g;do{var oe=V.lane;if((vi&oe)===oe)I!==null&&(I=I.next={lane:0,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),f=V.hasEagerState?V.eagerState:r(f,V.action);else{var ae={lane:oe,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null};I===null?(C=I=ae,_=f):I=I.next=ae,mt.lanes|=oe,yi|=oe}V=V.next}while(V!==null&&V!==g);I===null?_=f:I.next=C,Xn(f,i.memoizedState)||(ln=!0),i.memoizedState=f,i.baseState=_,i.baseQueue=I,s.lastRenderedState=f}if(r=s.interleaved,r!==null){h=r;do g=h.lane,mt.lanes|=g,yi|=g,h=h.next;while(h!==r)}else h===null&&(s.lanes=0);return[i.memoizedState,s.dispatch]}function qu(r){var i=zn(),s=i.queue;if(s===null)throw Error(n(311));s.lastRenderedReducer=r;var f=s.dispatch,h=s.pending,g=i.memoizedState;if(h!==null){s.pending=null;var _=h=h.next;do g=r(g,_.action),_=_.next;while(_!==h);Xn(g,i.memoizedState)||(ln=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),s.lastRenderedState=g}return[g,f]}function ph(){}function hh(r,i){var s=mt,f=zn(),h=i(),g=!Xn(f.memoizedState,h);if(g&&(f.memoizedState=h,ln=!0),f=f.queue,Zu(vh.bind(null,s,f,r),[r]),f.getSnapshot!==i||g||Lt!==null&&Lt.memoizedState.tag&1){if(s.flags|=2048,rl(9,gh.bind(null,s,f,h,i),void 0,null),It===null)throw Error(n(349));(vi&30)!==0||mh(s,i,h)}return h}function mh(r,i,s){r.flags|=16384,r={getSnapshot:i,value:s},i=mt.updateQueue,i===null?(i={lastEffect:null,stores:null},mt.updateQueue=i,i.stores=[r]):(s=i.stores,s===null?i.stores=[r]:s.push(r))}function gh(r,i,s,f){i.value=s,i.getSnapshot=f,yh(i)&&xh(r)}function vh(r,i,s){return s(function(){yh(i)&&xh(r)})}function yh(r){var i=r.getSnapshot;r=r.value;try{var s=i();return!Xn(r,s)}catch{return!0}}function xh(r){var i=Er(r,1);i!==null&&er(i,r,1,-1)}function wh(r){var i=cr();return typeof r=="function"&&(r=r()),i.memoizedState=i.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:nl,lastRenderedState:r},i.queue=r,r=r.dispatch=Tw.bind(null,mt,r),[i.memoizedState,r]}function rl(r,i,s,f){return r={tag:r,create:i,destroy:s,deps:f,next:null},i=mt.updateQueue,i===null?(i={lastEffect:null,stores:null},mt.updateQueue=i,i.lastEffect=r.next=r):(s=i.lastEffect,s===null?i.lastEffect=r.next=r:(f=s.next,
vendor: 5,188 bytes, line 30
30s.next=r,r.next=f,i.lastEffect=r)),r}function bh(){return zn().memoizedState}function ka(r,i,s,f){var h=cr();mt.flags|=r,h.memoizedState=rl(1|i,s,void 0,f===void 0?null:f)}function Ea(r,i,s,f){var h=zn();f=f===void 0?null:f;var g=void 0;if(Tt!==null){var _=Tt.memoizedState;if(g=_.destroy,f!==null&&Ku(f,_.deps)){h.memoizedState=rl(i,s,g,f);return}}mt.flags|=r,h.memoizedState=rl(1|i,s,g,f)}function _h(r,i){return ka(8390656,8,r,i)}function Zu(r,i){return Ea(2048,8,r,i)}function Sh(r,i){return Ea(4,2,r,i)}function kh(r,i){return Ea(4,4,r,i)}function Eh(r,i){if(typeof i=="function")return r=r(),i(r),function(){i(null)};if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function Ch(r,i,s){return s=s!=null?s.concat([r]):null,Ea(4,4,Eh.bind(null,i,r),s)}function ec(){}function Th(r,i){var s=zn();i=i===void 0?null:i;var f=s.memoizedState;return f!==null&&i!==null&&Ku(i,f[1])?f[0]:(s.memoizedState=[r,i],r)}function Ph(r,i){var s=zn();i=i===void 0?null:i;var f=s.memoizedState;return f!==null&&i!==null&&Ku(i,f[1])?f[0]:(r=r(),s.memoizedState=[r,i],r)}function Ah(r,i,s){return(vi&21)===0?(r.baseState&&(r.baseState=!1,ln=!0),r.memoizedState=s):(Xn(s,i)||(s=op(),mt.lanes|=s,yi|=s,r.baseState=!0),i)}function Ew(r,i){var s=nt;nt=s!==0&&4>s?s:4,r(!0);var f=Gu.transition;Gu.transition={};try{r(!1),i()}finally{nt=s,Gu.transition=f}}function Rh(){return zn().memoizedState}function Cw(r,i,s){var f=Jr(r);if(s={lane:f,action:s,hasEagerState:!1,eagerState:null,next:null},Nh(r))Lh(i,s);else if(s=sh(r,i,s,f),s!==null){var h=Zt();er(s,r,f,h),Ih(s,i,f)}}function Tw(r,i,s){var f=Jr(r),h={lane:f,action:s,hasEagerState:!1,eagerState:null,next:null};if(Nh(r))Lh(i,h);else{var g=r.alternate;if(r.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var _=i.lastRenderedState,C=g(_,s);if(h.hasEagerState=!0,h.eagerState=C,Xn(C,_)){var I=i.interleaved;I===null?(h.next=h,Uu(i)):(h.next=I.next,I.next=h),i.interleaved=h;return}}catch{}finally{}s=sh(r,i,h,f),s!==null&&(h=Zt(),er(s,r,f,h),Ih(s,i,f))}}function Nh(r){var i=r.alternate;return r===mt||i!==null&&i===mt}function Lh(r,i){el=Sa=!0;var s=r.pending;s===null?i.next=i:(i.next=s.next,s.next=i),r.pending=i}function Ih(r,i,s){if((s&4194240)!==0){var f=i.lanes;f&=r.pendingLanes,s|=f,i.lanes=s,nu(r,s)}}var Ca={readContext:On,useCallback:Yt,useContext:Yt,useEffect:Yt,useImperativeHandle:Yt,useInsertionEffect:Yt,useLayoutEffect:Yt,useMemo:Yt,useReducer:Yt,useRef:Yt,useState:Yt,useDebugValue:Yt,useDeferredValue:Yt,useTransition:Yt,useMutableSource:Yt,useSyncExternalStore:Yt,useId:Yt,unstable_isNewReconciler:!1},Pw={readContext:On,useCallback:function(r,i){return cr().memoizedState=[r,i===void 0?null:i],r},useContext:On,useEffect:_h,useImperativeHandle:function(r,i,s){return s=s!=null?s.concat([r]):null,ka(4194308,4,Eh.bind(null,i,r),s)},useLayoutEffect:function(r,i){return ka(4194308,4,r,i)},useInsertionEffect:function(r,i){return ka(4,2,r,i)},useMemo:function(r,i){var s=cr();return i=i===void 0?null:i,r=r(),s.memoizedState=[r,i],r},useReducer:function(r,i,s){var f=cr();return i=s!==void 0?s(i):i,f.memoizedState=f.baseState=i,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:i},f.queue=r,r=r.dispatch=Cw.bind(null,mt,r),[f.memoizedState,r]},useRef:function(r){var i=cr();return r={current:r},i.memoizedState=r},useState:wh,useDebugValue:ec,useDeferredValue:function(r){return cr().memoizedState=r},useTransition:function(){var r=wh(!1),i=r[0];return r=Ew.bind(null,r[1]),cr().memoizedState=r,[i,r]},useMutableSource:function(){},useSyncExternalStore:function(r,i,s){var f=mt,h=cr();if(pt){if(s===void 0)throw Error(n(407));s=s()}else{if(s=i(),It===null)throw Error(n(349));(vi&30)!==0||mh(f,i,s)}h.memoizedState=s;var g={value:s,getSnapshot:i};return h.queue=g,_h(vh.bind(null,f,g,r),[r]),f.flags|=2048,rl(9,gh.bind(null,f,g,s,i),void 0,null),s},useId:function(){var r=cr(),i=It.identifierPrefix;if(pt){var s=kr,f=Sr;s=(f&~(1<<32-Nt(f)-1)).toString(32)+s,i=":"+i+"R"+s,s=tl++,0<s&&(i+="H"+s.toString(32)),i+=":"}else s=kw++,i=":"+i+"r"+s.toString(32)+":";return r.memoizedState=i},unstable_isNewReconciler:!1},Aw={readContext:On,useCallback:Th,useContext:On,useEffect:Zu,useImperativeHandle:Ch,useInsertionEffect:Sh,useLayoutEffect:kh,useMemo:Ph,useReducer:Ju,useRef:bh,useState:function(){return Ju(nl)},useDebugValue:ec,useDeferredValue:function(r){var i=zn();return Ah(i,Tt.memoizedState,r)},useTransition:function(){var r=Ju(nl)[0],i=zn().memoizedState;return[r,i]},useMutableSource:ph,useSyncExternalStore:hh,useId:Rh,unstable_isNewReconciler:!1},Rw={readContext:On,useCallback:Th,useContext:On,useEffect:Zu,useImperativeHandle:Ch,useInsertionEffect:Sh,useLayoutEffect:kh,useMemo:Ph,useReducer:qu,useRef:bh,useState:function(){return qu(nl)},useDebugValue:ec,useDeferredValue:function(r){var i=zn();return Tt===null?i.memoizedState=r:Ah(i,Tt.memoizedState,r)},useTransition:function(){var r=qu(nl)[0],i=zn().memoizedState;return[r,i]},useMutableSource:ph,useSyncExternalStore:hh,useId:Rh,unstable_isNewReconciler:!1};function Jn(r,i){if(r&&r.defaultProps){i=S({},i),r=r.defaultProps;for(var s in r)i[s]===void 0&&(i[s]=r[s]);return i}return i}
vendor: 4,366 bytes, lines 30-32
30function tc(r,i,s,f){i=r.memoizedState,s=s(f,i),s=s==null?i:S({},i,s),r.memoizedState=s,r.lanes===0&&(r.updateQueue.baseState=s)}var Ta={isMounted:function(r){return(r=r._reactInternals)?ze(r)===r:!1},enqueueSetState:function(r,i,s){r=r._reactInternals;var f=Zt(),h=Jr(r),g=Cr(f,h);g.payload=i,s!=null&&(g.callback=s),i=Gr(r,g,h),i!==null&&(er(i,r,h,f),xa(i,r,h))},enqueueReplaceState:function(r,i,s){r=r._reactInternals;var f=Zt(),h=Jr(r),g=Cr(f,h);g.tag=1,g.payload=i,s!=null&&(g.callback=s),i=Gr(r,g,h),i!==null&&(er(i,r,h,f),xa(i,r,h))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var s=Zt(),f=Jr(r),h=Cr(s,f);h.tag=2,i!=null&&(h.callback=i),i=Gr(r,h,f),i!==null&&(er(i,r,f,s),xa(i,r,f))}};function Oh(r,i,s,f,h,g,_){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(f,g,_):i.prototype&&i.prototype.isPureReactComponent?!Ho(s,f)||!Ho(h,g):!0}function zh(r,i,s){var f=!1,h=Vr,g=i.contextType;return typeof g=="object"&&g!==null?g=On(g):(h=on(i)?fi:Wt.current,f=i.contextTypes,g=(f=f!=null)?Xi(r,h):Vr),i=new i(s,g),r.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Ta,r.stateNode=i,i._reactInternals=r,f&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=h,r.__reactInternalMemoizedMaskedChildContext=g),i}function Mh(r,i,s,f){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,f),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,f),i.state!==r&&Ta.enqueueReplaceState(i,i.state,null)}function nc(r,i,s,f){var h=r.stateNode;h.props=s,h.state=r.memoizedState,h.refs={},ju(r);var g=i.contextType;typeof g=="object"&&g!==null?h.context=On(g):(g=on(i)?fi:Wt.current,h.context=Xi(r,g)),h.state=r.memoizedState,g=i.getDerivedStateFromProps,typeof g=="function"&&(tc(r,i,g,s),h.state=r.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(i=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),i!==h.state&&Ta.enqueueReplaceState(h,h.state,null),wa(r,s,h,f),h.state=r.memoizedState),typeof h.componentDidMount=="function"&&(r.flags|=4194308)}function ro(r,i){try{var s="",f=i;do s+=ke(f),f=f.return;while(f);var h=s}catch(g){h=` 31Error generating stack: `+g.message+` 32`+g.stack}return{value:r,source:i,stack:h,digest:null}}function rc(r,i,s){return{value:r,source:null,stack:s??null,digest:i??null}}function ic(r,i){try{console.error(i.value)}catch(s){setTimeout(function(){throw s})}}var Nw=typeof WeakMap=="function"?WeakMap:Map;function Dh(r,i,s){s=Cr(-1,s),s.tag=3,s.payload={element:null};var f=i.value;return s.callback=function(){Oa||(Oa=!0,xc=f),ic(r,i)},s}function Fh(r,i,s){s=Cr(-1,s),s.tag=3;var f=r.type.getDerivedStateFromError;if(typeof f=="function"){var h=i.value;s.payload=function(){return f(h)},s.callback=function(){ic(r,i)}}var g=r.stateNode;return g!==null&&typeof g.componentDidCatch=="function"&&(s.callback=function(){ic(r,i),typeof f!="function"&&(Xr===null?Xr=new Set([this]):Xr.add(this));var _=i.stack;this.componentDidCatch(i.value,{componentStack:_!==null?_:""})}),s}function $h(r,i,s){var f=r.pingCache;if(f===null){f=r.pingCache=new Nw;var h=new Set;f.set(i,h)}else h=f.get(i),h===void 0&&(h=new Set,f.set(i,h));h.has(s)||(h.add(s),r=Ww.bind(null,r,i,s),i.then(r,r))}function Bh(r){do{var i;if((i=r.tag===13)&&(i=r.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return r;r=r.return}while(r!==null);return null}function Uh(r,i,s,f,h){return(r.mode&1)===0?(r===i?r.flags|=65536:(r.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(i=Cr(-1,1),i.tag=2,Gr(s,i,1))),s.lanes|=1),r):(r.flags|=65536,r.lanes=h,r)}var Lw=X.ReactCurrentOwner,ln=!1;function qt(r,i,s,f){i.child=r===null?ah(i,null,s,f):Zi(i,r.child,s,f)}function jh(r,i,s,f,h){s=s.render;var g=i.ref;return to(i,h),f=Xu(r,i,s,f,g,h),s=Qu(),r!==null&&!ln?(i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~h,Tr(r,i,h)):(pt&&s&&Lu(i),i.flags|=1,qt(r,i,f,h),i.child)}function Hh(r,i,s,f,h){if(r===null){var g=s.type;return typeof g=="function"&&!Cc(g)&&g.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(i.tag=15,i.type=g,Vh(r,
vendor: 5,727 bytes, line 32
32i,g,f,h)):(r=Ba(s.type,null,f,i,i.mode,h),r.ref=i.ref,r.return=i,i.child=r)}if(g=r.child,(r.lanes&h)===0){var _=g.memoizedProps;if(s=s.compare,s=s!==null?s:Ho,s(_,f)&&r.ref===i.ref)return Tr(r,i,h)}return i.flags|=1,r=Zr(g,f),r.ref=i.ref,r.return=i,i.child=r}function Vh(r,i,s,f,h){if(r!==null){var g=r.memoizedProps;if(Ho(g,f)&&r.ref===i.ref)if(ln=!1,i.pendingProps=f=g,(r.lanes&h)!==0)(r.flags&131072)!==0&&(ln=!0);else return i.lanes=r.lanes,Tr(r,i,h)}return oc(r,i,s,f,h)}function Wh(r,i,s){var f=i.pendingProps,h=f.children,g=r!==null?r.memoizedState:null;if(f.mode==="hidden")if((i.mode&1)===0)i.memoizedState={baseLanes:0,cachePool:null,transitions:null},lt(oo,bn),bn|=s;else{if((s&1073741824)===0)return r=g!==null?g.baseLanes|s:s,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:r,cachePool:null,transitions:null},i.updateQueue=null,lt(oo,bn),bn|=r,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},f=g!==null?g.baseLanes:s,lt(oo,bn),bn|=f}else g!==null?(f=g.baseLanes|s,i.memoizedState=null):f=s,lt(oo,bn),bn|=f;return qt(r,i,h,s),i.child}function Yh(r,i){var s=i.ref;(r===null&&s!==null||r!==null&&r.ref!==s)&&(i.flags|=512,i.flags|=2097152)}function oc(r,i,s,f,h){var g=on(s)?fi:Wt.current;return g=Xi(i,g),to(i,h),s=Xu(r,i,s,f,g,h),f=Qu(),r!==null&&!ln?(i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~h,Tr(r,i,h)):(pt&&f&&Lu(i),i.flags|=1,qt(r,i,s,h),i.child)}function Gh(r,i,s,f,h){if(on(s)){var g=!0;da(i)}else g=!1;if(to(i,h),i.stateNode===null)Aa(r,i),zh(i,s,f),nc(i,s,f,h),f=!0;else if(r===null){var _=i.stateNode,C=i.memoizedProps;_.props=C;var I=_.context,V=s.contextType;typeof V=="object"&&V!==null?V=On(V):(V=on(s)?fi:Wt.current,V=Xi(i,V));var oe=s.getDerivedStateFromProps,ae=typeof oe=="function"||typeof _.getSnapshotBeforeUpdate=="function";ae||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(C!==f||I!==V)&&Mh(i,_,f,V),Yr=!1;var re=i.memoizedState;_.state=re,wa(i,f,_,h),I=i.memoizedState,C!==f||re!==I||rn.current||Yr?(typeof oe=="function"&&(tc(i,s,oe,f),I=i.memoizedState),(C=Yr||Oh(i,s,C,f,re,I,V))?(ae||typeof _.UNSAFE_componentWillMount!="function"&&typeof _.componentWillMount!="function"||(typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount()),typeof _.componentDidMount=="function"&&(i.flags|=4194308)):(typeof _.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=f,i.memoizedState=I),_.props=f,_.state=I,_.context=V,f=C):(typeof _.componentDidMount=="function"&&(i.flags|=4194308),f=!1)}else{_=i.stateNode,uh(r,i),C=i.memoizedProps,V=i.type===i.elementType?C:Jn(i.type,C),_.props=V,ae=i.pendingProps,re=_.context,I=s.contextType,typeof I=="object"&&I!==null?I=On(I):(I=on(s)?fi:Wt.current,I=Xi(i,I));var we=s.getDerivedStateFromProps;(oe=typeof we=="function"||typeof _.getSnapshotBeforeUpdate=="function")||typeof _.UNSAFE_componentWillReceiveProps!="function"&&typeof _.componentWillReceiveProps!="function"||(C!==ae||re!==I)&&Mh(i,_,f,I),Yr=!1,re=i.memoizedState,_.state=re,wa(i,f,_,h);var Ce=i.memoizedState;C!==ae||re!==Ce||rn.current||Yr?(typeof we=="function"&&(tc(i,s,we,f),Ce=i.memoizedState),(V=Yr||Oh(i,s,V,f,re,Ce,I)||!1)?(oe||typeof _.UNSAFE_componentWillUpdate!="function"&&typeof _.componentWillUpdate!="function"||(typeof _.componentWillUpdate=="function"&&_.componentWillUpdate(f,Ce,I),typeof _.UNSAFE_componentWillUpdate=="function"&&_.UNSAFE_componentWillUpdate(f,Ce,I)),typeof _.componentDidUpdate=="function"&&(i.flags|=4),typeof _.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof _.componentDidUpdate!="function"||C===r.memoizedProps&&re===r.memoizedState||(i.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||C===r.memoizedProps&&re===r.memoizedState||(i.flags|=1024),i.memoizedProps=f,i.memoizedState=Ce),_.props=f,_.state=Ce,_.context=I,f=V):(typeof _.componentDidUpdate!="function"||C===r.memoizedProps&&re===r.memoizedState||(i.flags|=4),typeof _.getSnapshotBeforeUpdate!="function"||C===r.memoizedProps&&re===r.memoizedState||(i.flags|=1024),f=!1)}return lc(r,i,s,f,g,h)}function lc(r,i,s,f,h,g){Yh(r,i);var _=(i.flags&128)!==0;if(!f&&!_)return h&&qp(i,s,!1),Tr(r,i,g);f=i.stateNode,Lw.current=i;var C=_&&typeof s.getDerivedStateFromError!="function"?null:f.render();return i.flags|=1,r!==null&&_?(i.child=Zi(i,r.child,null,g),i.child=Zi(i,null,C,g)):qt(r,i,C,g),i.memoizedState=f.state,h&&qp(i,s,!0),i.child}function Kh(r){var i=r.stateNode;i.pendingContext?Qp(r,i.pendingContext,i.pendingContext!==i.context):i.context&&Qp(r,i.context,!1),Hu(r,i.containerInfo)}function Xh(r,i,s,f,h){return qi(),Mu(h),i.flags|=256,qt(r,i,s,f),i.child}var ac={dehydrated:null,treeContext:null,retryLane:0};function sc(r){return{baseLanes:r,cachePool:null,transitions:null}}function Qh(r,i,s){var f=i.pendingProps,h=ht.current,g=!1,_=(i.flags&128)!==0,C;if((C=_)||(C=r!==null&&r.memoizedState===null?!1:(h&2)!==0),C?(g=!0,i.flags&=-129):(r===null||r.memoizedState!==null)&&(h|=1),lt(ht,h&1),r===null)return zu(i),r=i.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((i.mode&1)===0?i.lanes=1:r.data==="$!"?i.lanes=8:i.lanes=1073741824,null):(_=f.children,r=f.fallback,g?(f=i.mode,g=i.child,_={mode:"hidden",children:_},(f&1)===0&&g!==null?(g.childLanes=0,g.pendingProps=_):g=Ua(_,f,0,null),r=_i(r,f,s,null),g.return=i,r.return=i,g.sibling=r,i.child=g,i.child.memoizedState=sc(s),i.memoizedState=ac,r):uc(i,_));if(h=r.memoizedState,h!==null&&(C=h.dehydrated,C!==null))return Iw(r,i,_,f,C,h,s);if(g){g=f.fallback,_=i.mode,h=r.child,C=h.sibling;var I={mode:"hidden",children:f.children};return(_&1)===0&&i.child!==h?(f=i.child,f.childLanes=0,f.pendingProps=I,i.deleti
vendor: 6,703 bytes, line 32
32ons=null):(f=Zr(h,I),f.subtreeFlags=h.subtreeFlags&14680064),C!==null?g=Zr(C,g):(g=_i(g,_,s,null),g.flags|=2),g.return=i,f.return=i,f.sibling=g,i.child=f,f=g,g=i.child,_=r.child.memoizedState,_=_===null?sc(s):{baseLanes:_.baseLanes|s,cachePool:null,transitions:_.transitions},g.memoizedState=_,g.childLanes=r.childLanes&~s,i.memoizedState=ac,f}return g=r.child,r=g.sibling,f=Zr(g,{mode:"visible",children:f.children}),(i.mode&1)===0&&(f.lanes=s),f.return=i,f.sibling=null,r!==null&&(s=i.deletions,s===null?(i.deletions=[r],i.flags|=16):s.push(r)),i.child=f,i.memoizedState=null,f}function uc(r,i){return i=Ua({mode:"visible",children:i},r.mode,0,null),i.return=r,r.child=i}function Pa(r,i,s,f){return f!==null&&Mu(f),Zi(i,r.child,null,s),r=uc(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function Iw(r,i,s,f,h,g,_){if(s)return i.flags&256?(i.flags&=-257,f=rc(Error(n(422))),Pa(r,i,_,f)):i.memoizedState!==null?(i.child=r.child,i.flags|=128,null):(g=f.fallback,h=i.mode,f=Ua({mode:"visible",children:f.children},h,0,null),g=_i(g,h,_,null),g.flags|=2,f.return=i,g.return=i,f.sibling=g,i.child=f,(i.mode&1)!==0&&Zi(i,r.child,null,_),i.child.memoizedState=sc(_),i.memoizedState=ac,g);if((i.mode&1)===0)return Pa(r,i,_,null);if(h.data==="$!"){if(f=h.nextSibling&&h.nextSibling.dataset,f)var C=f.dgst;return f=C,g=Error(n(419)),f=rc(g,f,void 0),Pa(r,i,_,f)}if(C=(_&r.childLanes)!==0,ln||C){if(f=It,f!==null){switch(_&-_){case 4:h=2;break;case 16:h=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:h=32;break;case 536870912:h=268435456;break;default:h=0}h=(h&(f.suspendedLanes|_))!==0?0:h,h!==0&&h!==g.retryLane&&(g.retryLane=h,Er(r,h),er(f,r,h,-1))}return Ec(),f=rc(Error(n(421))),Pa(r,i,_,f)}return h.data==="$?"?(i.flags|=128,i.child=r.child,i=Yw.bind(null,r),h._reactRetry=i,null):(r=g.treeContext,wn=jr(h.nextSibling),xn=i,pt=!0,Qn=null,r!==null&&(Ln[In++]=Sr,Ln[In++]=kr,Ln[In++]=pi,Sr=r.id,kr=r.overflow,pi=i),i=uc(i,f.children),i.flags|=4096,i)}function Jh(r,i,s){r.lanes|=i;var f=r.alternate;f!==null&&(f.lanes|=i),Bu(r.return,i,s)}function cc(r,i,s,f,h){var g=r.memoizedState;g===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:f,tail:s,tailMode:h}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=f,g.tail=s,g.tailMode=h)}function qh(r,i,s){var f=i.pendingProps,h=f.revealOrder,g=f.tail;if(qt(r,i,f.children,s),f=ht.current,(f&2)!==0)f=f&1|2,i.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Jh(r,s,i);else if(r.tag===19)Jh(r,s,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}f&=1}if(lt(ht,f),(i.mode&1)===0)i.memoizedState=null;else switch(h){case"forwards":for(s=i.child,h=null;s!==null;)r=s.alternate,r!==null&&ba(r)===null&&(h=s),s=s.sibling;s=h,s===null?(h=i.child,i.child=null):(h=s.sibling,s.sibling=null),cc(i,!1,h,s,g);break;case"backwards":for(s=null,h=i.child,i.child=null;h!==null;){if(r=h.alternate,r!==null&&ba(r)===null){i.child=h;break}r=h.sibling,h.sibling=s,s=h,h=r}cc(i,!0,s,null,g);break;case"together":cc(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Aa(r,i){(i.mode&1)===0&&r!==null&&(r.alternate=null,i.alternate=null,i.flags|=2)}function Tr(r,i,s){if(r!==null&&(i.dependencies=r.dependencies),yi|=i.lanes,(s&i.childLanes)===0)return null;if(r!==null&&i.child!==r.child)throw Error(n(153));if(i.child!==null){for(r=i.child,s=Zr(r,r.pendingProps),i.child=s,s.return=i;r.sibling!==null;)r=r.sibling,s=s.sibling=Zr(r,r.pendingProps),s.return=i;s.sibling=null}return i.child}function Ow(r,i,s){switch(i.tag){case 3:Kh(i),qi();break;case 5:fh(i);break;case 1:on(i.type)&&da(i);break;case 4:Hu(i,i.stateNode.containerInfo);break;case 10:var f=i.type._context,h=i.memoizedProps.value;lt(va,f._currentValue),f._currentValue=h;break;case 13:if(f=i.memoizedState,f!==null)return f.dehydrated!==null?(lt(ht,ht.current&1),i.flags|=128,null):(s&i.child.childLanes)!==0?Qh(r,i,s):(lt(ht,ht.current&1),r=Tr(r,i,s),r!==null?r.sibling:null);lt(ht,ht.current&1);break;case 19:if(f=(s&i.childLanes)!==0,(r.flags&128)!==0){if(f)return qh(r,i,s);i.flags|=128}if(h=i.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),lt(ht,ht.current),f)break;return null;case 22:case 23:return i.lanes=0,Wh(r,i,s)}return Tr(r,i,s)}var Zh,dc,em,tm;Zh=function(r,i){for(var s=i.child;s!==null;){if(s.tag===5||s.tag===6)r.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},dc=function(){},em=function(r,i,s,f){var h=r.memoizedProps;if(h!==f){r=i.stateNode,gi(ur.current);var g=null;switch(s){case"input":h=gt(r,h),f=gt(r,f),g=[];break;case"select":h=S({},h,{value:void 0}),f=S({},f,{value:void 0}),g=[];break;case"textarea":h=Et(r,h),f=Et(r,f),g=[];break;default:typeof h.onClick!="function"&&typeof f.onClick=="function"&&(r.onclick=sa)}ct(s,f);var _;s=null;for(V in h)if(!f.hasOwnProperty(V)&&h.hasOwnProperty(V)&&h[V]!=null)if(V==="style"){var C=h[V];for(_ in C)C.hasOwnProperty(_)&&(s||(s={}),s[_]="")}else V!=="dangerouslySetInnerHTML"&&V!=="children"&&V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&V!=="autoFocus"&&(l.hasOwnProperty(V)?g||(g=[]):(g=g||[]).push(V,null));for(V in f){var I=f[V];if(C=h?.[V],f.hasOwnProperty(V)&&I!==C&&(I!=null||C!=null))if(V==="style")if(C){for(_ in C)!C.hasOwnProperty(_)||I&&I.hasOwnProperty(_)||(s||(s={}),s[_]="");for(_ in I)I.hasOwnProperty(_)&&C[_]!==I[_]&&(s||(s={}),s[_]=I[_])}else s||(g||(g=[]),g.push(V,s)),s=I;else V==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,C=C?C.__html:void 0,I!=null&&C!==I&&(g=g||[]).push(V,I)):V==="children"?typeof I!="string"&&typeof I!="number"||(g=g||[]).push(V,""+I):V!=="suppressContentEditableWarning"&&V!=="suppressHydrationWarning"&&(l.hasOwnProperty(V)?(I!=null&&V==="onScroll"&&dt("scroll",r),g||C===I||(g=[])):(g=g||[]).push(V,I))}s&&(g=g||[]).push("style",s);var V=g;(i.updateQueue=V)&&(i.flags|=4)}},tm=function(r,i,s,f){s!==f&&(i.flags|=4)};function il(r,i){if(!pt)switch(r.tailMode){case"hidden":i=r.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?r.tail=null:s.sibling=null;break;case"collapsed":s=r.tail;for(var f=null;s!==null;)s.alternate!==null&&(f=s),s=s.sibling;
vendor: 27,109 bytes, line 32
32f===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:f.sibling=null}}function Gt(r){var i=r.alternate!==null&&r.alternate.child===r.child,s=0,f=0;if(i)for(var h=r.child;h!==null;)s|=h.lanes|h.childLanes,f|=h.subtreeFlags&14680064,f|=h.flags&14680064,h.return=r,h=h.sibling;else for(h=r.child;h!==null;)s|=h.lanes|h.childLanes,f|=h.subtreeFlags,f|=h.flags,h.return=r,h=h.sibling;return r.subtreeFlags|=f,r.childLanes=s,i}function zw(r,i,s){var f=i.pendingProps;switch(Iu(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gt(i),null;case 1:return on(i.type)&&ca(),Gt(i),null;case 3:return f=i.stateNode,no(),ft(rn),ft(Wt),Yu(),f.pendingContext&&(f.context=f.pendingContext,f.pendingContext=null),(r===null||r.child===null)&&(ma(i)?i.flags|=4:r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Qn!==null&&(_c(Qn),Qn=null))),dc(r,i),Gt(i),null;case 5:Vu(i);var h=gi(Zo.current);if(s=i.type,r!==null&&i.stateNode!=null)em(r,i,s,f,h),r.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!f){if(i.stateNode===null)throw Error(n(166));return Gt(i),null}if(r=gi(ur.current),ma(i)){f=i.stateNode,s=i.type;var g=i.memoizedProps;switch(f[sr]=i,f[Ko]=g,r=(i.mode&1)!==0,s){case"dialog":dt("cancel",f),dt("close",f);break;case"iframe":case"object":case"embed":dt("load",f);break;case"video":case"audio":for(h=0;h<Wo.length;h++)dt(Wo[h],f);break;case"source":dt("error",f);break;case"img":case"image":case"link":dt("error",f),dt("load",f);break;case"details":dt("toggle",f);break;case"input":xt(f,g),dt("invalid",f);break;case"select":f._wrapperState={wasMultiple:!!g.multiple},dt("invalid",f);break;case"textarea":gn(f,g),dt("invalid",f)}ct(s,g),h=null;for(var _ in g)if(g.hasOwnProperty(_)){var C=g[_];_==="children"?typeof C=="string"?f.textContent!==C&&(g.suppressHydrationWarning!==!0&&aa(f.textContent,C,r),h=["children",C]):typeof C=="number"&&f.textContent!==""+C&&(g.suppressHydrationWarning!==!0&&aa(f.textContent,C,r),h=["children",""+C]):l.hasOwnProperty(_)&&C!=null&&_==="onScroll"&&dt("scroll",f)}switch(s){case"input":Ye(f),mn(f,g,!0);break;case"textarea":Ye(f),Vt(f);break;case"select":case"option":break;default:typeof g.onClick=="function"&&(f.onclick=sa)}f=h,i.updateQueue=f,f!==null&&(i.flags|=4)}else{_=h.nodeType===9?h:h.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=G(s)),r==="http://www.w3.org/1999/xhtml"?s==="script"?(r=_.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof f.is=="string"?r=_.createElement(s,{is:f.is}):(r=_.createElement(s),s==="select"&&(_=r,f.multiple?_.multiple=!0:f.size&&(_.size=f.size))):r=_.createElementNS(r,s),r[sr]=i,r[Ko]=f,Zh(r,i,!1,!1),i.stateNode=r;e:{switch(_=Ft(s,f),s){case"dialog":dt("cancel",r),dt("close",r),h=f;break;case"iframe":case"object":case"embed":dt("load",r),h=f;break;case"video":case"audio":for(h=0;h<Wo.length;h++)dt(Wo[h],r);h=f;break;case"source":dt("error",r),h=f;break;case"img":case"image":case"link":dt("error",r),dt("load",r),h=f;break;case"details":dt("toggle",r),h=f;break;case"input":xt(r,f),h=gt(r,f),dt("invalid",r);break;case"option":h=f;break;case"select":r._wrapperState={wasMultiple:!!f.multiple},h=S({},f,{value:void 0}),dt("invalid",r);break;case"textarea":gn(r,f),h=Et(r,f),dt("invalid",r);break;default:h=f}ct(s,h),C=h;for(g in C)if(C.hasOwnProperty(g)){var I=C[g];g==="style"?vn(r,I):g==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,I!=null&&Fe(r,I)):g==="children"?typeof I=="string"?(s!=="textarea"||I!=="")&&Ue(r,I):typeof I=="number"&&Ue(r,""+I):g!=="suppressContentEditableWarning"&&g!=="suppressHydrationWarning"&&g!=="autoFocus"&&(l.hasOwnProperty(g)?I!=null&&g==="onScroll"&&dt("scroll",r):I!=null&&O(r,g,I,_))}switch(s){case"input":Ye(r),mn(r,f,!1);break;case"textarea":Ye(r),Vt(r);break;case"option":f.value!=null&&r.setAttribute("value",""+Y(f.value));break;case"select":r.multiple=!!f.multiple,g=f.value,g!=null?Rn(r,!!f.multiple,g,!1):f.defaultValue!=null&&Rn(r,!!f.multiple,f.defaultValue,!0);break;default:typeof h.onClick=="function"&&(r.onclick=sa)}switch(s){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}}f&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return Gt(i),null;case 6:if(r&&i.stateNode!=null)tm(r,i,r.memoizedProps,f);else{if(typeof f!="string"&&i.stateNode===null)throw Error(n(166));if(s=gi(Zo.current),gi(ur.current),ma(i)){if(f=i.stateNode,s=i.memoizedProps,f[sr]=i,(g=f.nodeValue!==s)&&(r=xn,r!==null))switch(r.tag){case 3:aa(f.nodeValue,s,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&aa(f.nodeValue,s,(r.mode&1)!==0)}g&&(i.flags|=4)}else f=(s.nodeType===9?s:s.ownerDocument).createTextNode(f),f[sr]=i,i.stateNode=f}return Gt(i),null;case 13:if(ft(ht),f=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(pt&&wn!==null&&(i.mode&1)!==0&&(i.flags&128)===0)ih(),qi(),i.flags|=98560,g=!1;else if(g=ma(i),f!==null&&f.dehydrated!==null){if(r===null){if(!g)throw Error(n(318));if(g=i.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(n(317));g[sr]=i}else qi(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Gt(i),g=!1}else Qn!==null&&(_c(Qn),Qn=null),g=!0;if(!g)return i.flags&65536?i:null}return(i.flags&128)!==0?(i.lanes=s,i):(f=f!==null,f!==(r!==null&&r.memoizedState!==null)&&f&&(i.child.flags|=8192,(i.mode&1)!==0&&(r===null||(ht.current&1)!==0?Pt===0&&(Pt=3):Ec())),i.updateQueue!==null&&(i.flags|=4),Gt(i),null);case 4:return no(),dc(r,i),r===null&&Yo(i.stateNode.containerInfo),Gt(i),null;case 10:return $u(i.type._context),Gt(i),null;case 17:return on(i.type)&&ca(),Gt(i),null;case 19:if(ft(ht),g=i.memoizedState,g===null)return Gt(i),null;if(f=(i.flags&128)!==0,_=g.rendering,_===null)if(f)il(g,!1);else{if(Pt!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(_=ba(r),_!==null){for(i.flags|=128,il(g,!1),f=_.updateQueue,f!==null&&(i.updateQueue=f,i.flags|=4),i.subtreeFlags=0,f=s,s=i.child;s!==null;)g=s,r=f,g.flags&=14680066,_=g.alternate,_===null?(g.childLanes=0,g.lanes=r,g.child=null,g.subtreeFlags=0,g.memoizedProps=null,g.memoizedState=null,g.updateQueue=null,g.dependencies=null,g.stateNode=null):(g.childLanes=_.childLanes,g.lanes=_.lanes,g.child=_.child,g.subtreeFlags=0,g.deletions=null,g.memoizedProps=_.memoizedProps,g.memoizedState=_.memoizedState,g.updateQueue=_.updateQueue,g.type=_.type,r=_.dependencies,g.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),s=s.sibling;return lt(ht,ht.current&1|2),i.child}r=r.sibling}g.tail!==null&&ot()>lo&&(i.flags|=128,f=!0,il(g,!1),i.lanes=4194304)}else{if(!f)if(r=ba(_),r!==null){if(i.flags|=128,f=!0,s=r.updateQueue,s!==null&&(i.updateQueue=s,i.flags|=4),il(g,!0),g.tail===null&&g.tailMode==="hidden"&&!_.alternate&&!pt)return Gt(i),null}else 2*ot()-g.renderingStartTime>lo&&s!==1073741824&&(i.flags|=128,f=!0,il(g,!1),i.lanes=4194304);g.isBackwards?(_.sibling=i.child,i.child=_):(s=g.last,s!==null?s.sibling=_:i.child=_,g.last=_)}return g.tail!==null?(i=g.tail,g.rendering=i,g.tail=i.sibling,g.renderingStartTime=ot(),i.sibling=null,s=ht.current,lt(ht,f?s&1|2:s&1),i):(Gt(i),null);case 22:case 23:return kc(),f=i.memoizedState!==null,r!==null&&r.memoizedState!==null!==f&&(i.flags|=8192),f&&(i.mode&1)!==0?(bn&1073741824)!==0&&(Gt(i),i.subtreeFlags&6&&(i.flags|=8192)):Gt(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function Mw(r,i){switch(Iu(i),i.tag){case 1:return on(i.type)&&ca(),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return no(),ft(rn),ft(Wt),Yu(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 5:return Vu(i),null;case 13:if(ft(ht),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(n(340));qi()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return ft(ht),null;case 4:return no(),null;case 10:return $u(i.type._context),null;case 22:case 23:return kc(),null;case 24:return null;default:return null}}var Ra=!1,Kt=!1,Dw=typeof WeakSet=="function"?WeakSet:Set,Ee=null;function io(r,i){var s=r.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(f){yt(r,i,f)}else s.current=null}function fc(r,i,s){try{s()}catch(f){yt(r,i,f)}}var nm=!1;function Fw(r,i){if(ku=Ql,r=Op(),gu(r)){if("selectionStart"in r)var s={start:r.selectionStart,end:r.selectionEnd};else e:{s=(s=r.ownerDocument)&&s.defaultView||window;var f=s.getSelection&&s.getSelection();if(f&&f.rangeCount!==0){s=f.anchorNode;var h=f.anchorOffset,g=f.focusNode;f=f.focusOffset;try{s.nodeType,g.nodeType}catch{s=null;break e}var _=0,C=-1,I=-1,V=0,oe=0,ae=r,re=null;t:for(;;){for(var we;ae!==s||h!==0&&ae.nodeType!==3||(C=_+h),ae!==g||f!==0&&ae.nodeType!==3||(I=_+f),ae.nodeType===3&&(_+=ae.nodeValue.length),(we=ae.firstChild)!==null;)re=ae,ae=we;for(;;){if(ae===r)break t;if(re===s&&++V===h&&(C=_),re===g&&++oe===f&&(I=_),(we=ae.nextSibling)!==null)break;ae=re,re=ae.parentNode}ae=we}s=C===-1||I===-1?null:{start:C,end:I}}else s=null}s=s||{start:0,end:0}}else s=null;for(Eu={focusedElem:r,selectionRange:s},Ql=!1,Ee=i;Ee!==null;)if(i=Ee,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,Ee=r;else for(;Ee!==null;){i=Ee;try{var Ce=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(Ce!==null){var Pe=Ce.memoizedProps,wt=Ce.memoizedState,$=i.stateNode,z=$.getSnapshotBeforeUpdate(i.elementType===i.type?Pe:Jn(i.type,Pe),wt);$.__reactInternalSnapshotBeforeUpdate=z}break;case 3:var j=i.stateNode.containerInfo;j.nodeType===1?j.textContent="":j.nodeType===9&&j.documentElement&&j.removeChild(j.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(de){yt(i,i.return,de)}if(r=i.sibling,r!==null){r.return=i.return,Ee=r;break}Ee=i.return}return Ce=nm,nm=!1,Ce}function ol(r,i,s){var f=i.updateQueue;if(f=f!==null?f.lastEffect:null,f!==null){var h=f=f.next;do{if((h.tag&r)===r){var g=h.destroy;h.destroy=void 0,g!==void 0&&fc(i,s,g)}h=h.next}while(h!==f)}}function Na(r,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var s=i=i.next;do{if((s.tag&r)===r){var f=s.create;s.destroy=f()}s=s.next}while(s!==i)}}function pc(r){var i=r.ref;if(i!==null){var s=r.stateNode;switch(r.tag){case 5:r=s;break;default:r=s}typeof i=="function"?i(r):i.current=r}}function rm(r){var i=r.alternate;i!==null&&(r.alternate=null,rm(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&(delete i[sr],delete i[Ko],delete i[Au],delete i[ww],delete i[bw])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function im(r){return r.tag===5||r.tag===3||r.tag===4}function om(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||im(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function hc(r,i,s){var f=r.tag;if(f===5||f===6)r=r.stateNode,i?s.nodeType===8?s.parentNode.insertBefore(r,i):s.insertBefore(r,i):(s.nodeType===8?(i=s.parentNode,i.insertBefore(r,s)):(i=s,i.appendChild(r)),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=sa));else if(f!==4&&(r=r.child,r!==null))for(hc(r,i,s),r=r.sibling;r!==null;)hc(r,i,s),r=r.sibling}function mc(r,i,s){var f=r.tag;if(f===5||f===6)r=r.stateNode,i?s.insertBefore(r,i):s.appendChild(r);else if(f!==4&&(r=r.child,r!==null))for(mc(r,i,s),r=r.sibling;r!==null;)mc(r,i,s),r=r.sibling}var $t=null,qn=!1;function Kr(r,i,s){for(s=s.child;s!==null;)lm(r,i,s),s=s.sibling}function lm(r,i,s){if(nn&&typeof nn.onCommitFiberUnmount=="function")try{nn.onCommitFiberUnmount(wr,s)}catch{}switch(s.tag){case 5:Kt||io(s,i);case 6:var f=$t,h=qn;$t=null,Kr(r,i,s),$t=f,qn=h,$t!==null&&(qn?(r=$t,s=s.stateNode,r.nodeType===8?r.parentNode.removeChild(s):r.removeChild(s)):$t.removeChild(s.stateNode));break;case 18:$t!==null&&(qn?(r=$t,s=s.stateNode,r.nodeType===8?Pu(r.parentNode,s):r.nodeType===1&&Pu(r,s),Do(r)):Pu($t,s.stateNode));break;case 4:f=$t,h=qn,$t=s.stateNode.containerInfo,qn=!0,Kr(r,i,s),$t=f,qn=h;break;case 0:case 11:case 14:case 15:if(!Kt&&(f=s.updateQueue,f!==null&&(f=f.lastEffect,f!==null))){h=f=f.next;do{var g=h,_=g.destroy;g=g.tag,_!==void 0&&((g&2)!==0||(g&4)!==0)&&fc(s,i,_),h=h.next}while(h!==f)}Kr(r,i,s);break;case 1:if(!Kt&&(io(s,i),f=s.stateNode,typeof f.componentWillUnmount=="function"))try{f.props=s.memoizedProps,f.state=s.memoizedState,f.componentWillUnmount()}catch(C){yt(s,i,C)}Kr(r,i,s);break;case 21:Kr(r,i,s);break;case 22:s.mode&1?(Kt=(f=Kt)||s.memoizedState!==null,Kr(r,i,s),Kt=f):Kr(r,i,s);break;default:Kr(r,i,s)}}function am(r){var i=r.updateQueue;if(i!==null){r.updateQueue=null;var s=r.stateNode;s===null&&(s=r.stateNode=new Dw),i.forEach(function(f){var h=Gw.bind(null,r,f);s.has(f)||(s.add(f),f.then(h,h))})}}function Zn(r,i){var s=i.deletions;if(s!==null)for(var f=0;f<s.length;f++){var h=s[f];try{var g=r,_=i,C=_;e:for(;C!==null;){switch(C.tag){case 5:$t=C.stateNode,qn=!1;break e;case 3:$t=C.stateNode.containerInfo,qn=!0;break e;case 4:$t=C.stateNode.containerInfo,qn=!0;break e}C=C.return}if($t===null)throw Error(n(160));lm(g,_,h),$t=null,qn=!1;var I=h.alternate;I!==null&&(I.return=null),h.return=null}catch(V){yt(h,i,V)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)sm(i,r),i=i.sibling}function sm(r,i){var s=r.alternate,f=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(Zn(i,r),dr(r),f&4){try{ol(3,r,r.return),Na(3,r)}catch(Pe){yt(r,r.return,Pe)}try{ol(5,r,r.return)}catch(Pe){yt(r,r.return,Pe)}}break;case 1:Zn(i,r),dr(r),f&512&&s!==null&&io(s,s.return);break;case 5:if(Zn(i,r),dr(r),f&512&&s!==null&&io(s,s.return),r.flags&32){var h=r.stateNode;try{Ue(h,"")}catch(Pe){yt(r,r.return,Pe)}}if(f&4&&(h=r.stateNode,h!=null)){var g=r.memoizedProps,_=s!==null?s.memoizedProps:g,C=r.type,I=r.updateQueue;if(r.updateQueue=null,I!==null)try{C==="input"&&g.type==="radio"&&g.name!=null&&jt(h,g),Ft(C,_);var V=Ft(C,g);for(_=0;_<I.length;_+=2){var oe=I[_],ae=I[_+1];oe==="style"?vn(h,ae):oe==="dangerouslySetInnerHTML"?Fe(h,ae):oe==="children"?Ue(h,ae):O(h,oe,ae,V)}switch(C){case"input":An(h,g);break;case"textarea":yr(h,g);break;case"select":var re=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!g.multiple;var we=g.value;we!=null?Rn(h,!!g.multiple,we,!1):re!==!!g.multiple&&(g.defaultValue!=null?Rn(h,!!g.multiple,g.defaultValue,!0):Rn(h,!!g.multiple,g.multiple?[]:"",!1))}h[Ko]=g}catch(Pe){yt(r,r.return,Pe)}}break;case 6:if(Zn(i,r),dr(r),f&4){if(r.stateNode===null)throw Error(n(162));h=r.stateNode,g=r.memoizedProps;try{h.nodeValue=g}catch(Pe){yt(r,r.return,Pe)}}break;case 3:if(Zn(i,r),dr(r),f&4&&s!==null&&s.memoizedState.isDehydrated)try{Do(i.containerInfo)}catch(Pe){yt(r,r.return,Pe)}break;case 4:Zn(i,r),dr(r);break;case 13:Zn(i,r),dr(r),h=r.child,h.flags&8192&&(g=h.memoizedState!==null,h.stateNode.isHidden=g,!g||h.alternate!==null&&h.alternate.memoizedState!==null||(yc=ot())),f&4&&am(r);break;case 22:if(oe=s!==null&&s.memoizedState!==null,r.mode&1?(Kt=(V=Kt)||oe,Zn(i,r),Kt=V):Zn(i,r),dr(r),f&8192){if(V=r.memoizedState!==null,(r.stateNode.isHidden=V)&&!oe&&(r.mode&1)!==0)for(Ee=r,oe=r.child;oe!==null;){for(ae=Ee=oe;Ee!==null;){switch(re=Ee,we=re.child,re.tag){case 0:case 11:case 14:case 15:ol(4,re,re.return);break;case 1:io(re,re.return);var Ce=re.stateNode;if(typeof Ce.componentWillUnmount=="function"){f=re,s=re.return;try{i=f,Ce.props=i.memoizedProps,Ce.state=i.memoizedState,Ce.componentWillUnmount()}catch(Pe){yt(f,s,Pe)}}break;case 5:io(re,re.return);break;case 22:if(re.memoizedState!==null){dm(ae);continue}}we!==null?(we.return=re,Ee=we):dm(ae)}oe=oe.sibling}e:for(oe=null,ae=r;;){if(ae.tag===5){if(oe===null){oe=ae;try{h=ae.stateNode,V?(g=h.style,typeof g.setProperty=="function"?g.setProperty("display","none","important"):g.display="none"):(C=ae.stateNode,I=ae.memoizedProps.style,_=I!=null&&I.hasOwnProperty("display")?I.display:null,C.style.display=Dt("display",_))}catch(Pe){yt(r,r.return,Pe)}}}else if(ae.tag===6){if(oe===null)try{ae.stateNode.nodeValue=V?"":ae.memoizedProps}catch(Pe){yt(r,r.return,Pe)}}else if((ae.tag!==22&&ae.tag!==23||ae.memoizedState===null||ae===r)&&ae.child!==null){ae.child.return=ae,ae=ae.child;continue}if(ae===r)break e;for(;ae.sibling===null;){if(ae.return===null||ae.return===r)break e;oe===ae&&(oe=null),ae=ae.return}oe===ae&&(oe=null),ae.sibling.return=ae.return,ae=ae.sibling}}break;case 19:Zn(i,r),dr(r),f&4&&am(r);break;case 21:break;default:Zn(i,r),dr(r)}}function dr(r){var i=r.flags;if(i&2){try{e:{for(var s=r.return;s!==null;){if(im(s)){var f=s;break e}s=s.return}throw Error(n(160))}switch(f.tag){case 5:var h=f.stateNode;f.flags&32&&(Ue(h,""),f.flags&=-33);var g=om(r);mc(r,g,h);break;case 3:case 4:var _=f.stateNode.containerInfo,C=om(r);hc(r,C,_);break;default:throw Error(n(161))}}catch(I){yt(r,r.return,I)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function $w(r,i,s){Ee=r,um(r)}function um(r,i,s){for(var f=(r.mode&1)!==0;Ee!==null;){var h=Ee,g=h.child;if(h.tag===22&&f){var _=h.memoizedState!==null||Ra;if(!_){var C=h.alternate,I=C!==null&&C.memoizedState!==null||Kt;C=Ra;var V=Kt;if(Ra=_,(Kt=I)&&!V)for(Ee=h;Ee!==null;)_=Ee,I=_.child,_.tag===22&&_.memoizedState!==null?fm(h):I!==null?(I.return=_,Ee=I):fm(h);for(;g!==null;)Ee=g,um(g),g=g.sibling;Ee=h,Ra=C,Kt=V}cm(r)}else(h.subtreeFlags&8772)!==0&&g!==null?(g.return=h,Ee=g):cm(r)}}function cm(r){for(;Ee!==null;){var i=Ee;if((i.flags&8772)!==0){var s=i.alternate;try{if((i.flags&8772)!==0)switch(i.tag){case 0:case 11:case 15:Kt||Na(5,i);break;case 1:var f=i.stateNode;if(i.flags&4&&!Kt)if(s===null)f.componentDidMount();else{var h=i.elementType===i.type?s.memoizedProps:Jn(i.type,s.memoizedProps);f.componentDidUpdate(h,s.memoizedState,f.__reactInternalSnapshotBeforeUpdate)}var g=i.updateQueue;g!==null&&dh(i,g,f);break;case 3:var _=i.updateQueue;if(_!==null){if(s=null,i.child!==null)switch(i.child.tag){case 5:s=i.child.stateNode;break;case 1:s=i.child.stateNode}dh(i,_,s)}break;case 5:var C=i.stateNode;if(s===null&&i.flags&4){s=C;var I=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":I.autoFocus&&s.focus();break;case"img":I.src&&(s.src=I.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var V=i.alternate;if(V!==null){var oe=V.memoizedState;if(oe!==null){var ae=oe.dehydrated;ae!==null&&Do(ae)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}Kt||i.flags&512&&pc(i)}catch(re){yt(i,i.return,re)}}if(i===r){Ee=null;break}if(s=i.sibling,s!==null){s.return=i.return,Ee=s;break}Ee=i.return}}function dm(r){for(;Ee!==null;){var i=Ee;if(i===r){Ee=null;break}var s=i.sibling;if(s!==null){s.return=i.return,Ee=s;break}Ee=i.return}}function fm(r){for(;Ee!==null;){var i=Ee;try{switch(i.tag){case 0:case 11:case 15:var s=i.return;try{Na(4,i)}catch(I){yt(i,s,I)}break;case 1:var f=i.stateNode;if(typeof f.componentDidMount=="function"){var h=i.return;try{f.componentDidMount()}catch(I){yt(i,h,I)}}var g=i.return;try{pc(i)}catch(I){yt(i,g,I)}break;case 5:var _=i.return;try{pc(i)}catch(I){yt(i,_,I)}}}catch(I){yt(i,i.return,I)}if(i===r){Ee=null;break}var C=i.sibling;if(C!==null){C.return=i.return,Ee=C;break}Ee=i.return}}var Bw=Math.ceil,La=X.ReactCurrentDispatcher,gc=X.ReactCurrentOwner,Mn=X.ReactCurrentBatchConfig,Qe=0,It=null,St=null,Bt=0,bn=0,oo=Hr(0),Pt=0,ll=null,yi=0,Ia=0,vc=0,al=null,an=null,yc=0,lo=1/0,Pr=null,Oa=!1,xc=null,Xr=null,za=!1,Qr=null,Ma=0,sl=0,wc=null,Da=-1,Fa=0;function Zt(){return(Qe&6)!==0?ot():Da!==-1?Da:Da=ot()}function Jr(r){return(r.mode&1)===0?1:(Qe&2)!==0&&Bt!==0?Bt&-Bt:Sw.transition!==null?(Fa===0&&(Fa=op()),Fa):(r=nt,r!==0||(r=window.event,r=r===void 0?16:hp(r.type)),r)}function er(r,i,s,f){if(50<sl)throw sl=0,wc=null,Error(n(185));Lo(r,s,f),((Qe&2)===0||r!==It)&&(r===It&&((Qe&2)===0&&(Ia|=s),Pt===4&&qr(r,Bt)),sn(r,f),s===1&&Qe===0&&(i.mode&1)===0&&(lo=ot()+500,fa&&Wr()))}function sn(r,i){var s=r.callbackNode;Sx(r,i);var f=Gl(r,r===It?Bt:0);if(f===0)s!==null&&zr(s),r.callbackNode=null,r.callbackPriority=0;else if(i=f&-f,r.callbackPriority!==i){if(s!=null&&zr(s),i===1)r.tag===0?_w(hm.bind(null,r)):Zp(hm.bind(null,r)),yw(function(){(Qe&6)===0&&Wr()}),s=null;else{switch(lp(f)){case 1:s=Gn;break;case 4:s=ci;break;case 16:s=Xe;break;case 536870912:s=Kn;break;default:s=Xe}s=_m(s,pm.bind(null,r))}r.callbackPriority=i,r.callbackNode=s}}function pm(r,i){if(Da=-1,Fa=0,(Qe&6)!==0)throw Error(n(327));var s=r.callbackNode;if(ao()&&r.callbackNode!==s)return null;var f=Gl(r,r===It?Bt:0);if(f===0)return null;if((f&30)!==0||(f&r.expiredLanes)!==0||i)i=$a(r,f);else{i=f;var h=Qe;Qe|=2;var g=gm();(It!==r||Bt!==i)&&(Pr=null,lo=ot()+500,wi(r,i));do try{Hw();break}catch(C){mm(r,C)}while(!0);Fu(),La.current=g,Qe=h,St!==null?i=0:(It=null,Bt=0,i=Pt)}if(i!==0){if(i===2&&(h=eu(r),h!==0&&(f=h,i=bc(r,h))),i===1)throw s=ll,wi(r,0),qr(r,f),sn(r,ot()),s;if(i===6)qr(r,f);else{if(h=r.current.alternate,(f&30)===0&&!Uw(h)&&(i=$a(r,f),i===2&&(g=eu(r),g!==0&&(f=g,i=bc(r,g))),i===1))throw s=ll,wi(r,0),qr(r,f),sn(r,ot()),s;switch(r.finishedWork=h,r.finishedLanes=f,i){case 0:case 1:throw Error(n(345));case 2:bi(r,an,Pr);break;case 3:if(qr(r,f),(f&130023424)===f&&(i=yc+500-ot(),10<i)){if(Gl(r,0)!==0)break;if(h=r.suspendedLanes,(h&f)!==f){Zt(),r.pingedLanes|=r.suspendedLanes&h;break}r.timeoutHandle=Tu(bi.bind(null,r,an,Pr),i);break}bi(r,an,Pr);break;case 4:if(qr(r,f),(f&4194240)===f)break;for(i=r.eventTimes,h=-1;0<f;){var _=31-Nt(f);g=1<<_,_=i[_],_>h&&(h=_),f&=~g}if(f=h,f=ot()-f,f=(120>f?120:480>f?480:1080>f?1080:1920>f?1920:3e3>f?3e3:4320>f?4320:1960*Bw(f/1960))-f,10<f){r.timeoutHandle=Tu(bi.bind(null,r,an,Pr),f);break}bi(r,an,Pr);break;case 5:bi(r,an,Pr);break;default:throw Error(n(329))}}}return sn(r,ot()),r.callbackNode===s?pm.bind(null,r):null}function bc(r,i){var s=al;return r.current.memoizedState.isDehydrated&&(wi(r,i).flags|=256),r=$a(r,i),r!==2&&(i=an,an=s,i!==null&&_c(i)),r}function _c(r){an===null?an=r:an.push.apply(an,r)}function Uw(r){for(var i=r;;){if(i.flags&16384){var s=i.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var f=0;f<s.length;f++){var h=s[f],g=h.getSnapshot;h=h.value;try{if(!Xn(g(),h))return!1}catch{return!1}}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function qr(r,i){for(i&=~vc,i&=~Ia,r.suspendedLanes|=i,r.pingedLanes&=~i,r=r.expirationTimes;0<i;){var s=31-Nt(i),f=1<<s;r[s]=-1,i&=~f}}function hm(r){if((Qe&6)!==0)throw Error(n(327));ao();var i=Gl(r,0);if((i&1)===0)return sn(r,ot()),null;var s=$a(r,i);if(r.tag!==0&&s===2){var f=eu(r);f!==0&&(i=f,s=bc(r,f))}if(s===1)throw s=ll,wi(r,0),qr(r,i),sn(r,ot()),s;if(s===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=i,bi(r,an,Pr),sn(r,ot()),null}function Sc(r,i){var s=Qe;Qe|=1;try{return r(i)}finally{Qe=s,Qe===0&&(lo=ot()+500,fa&&Wr())}}function xi(r){Qr!==null&&Qr.tag===0&&(Qe&6)===0&&ao();var i=Qe;Qe|=1;var s=Mn.transition,f=nt;try{if(Mn.transition=null,nt=1,r)return r()}finally{nt=f,Mn.transition=s,Qe=i,(Qe&6)===0&&Wr()}}function kc(){bn=oo.current,ft(oo)}function wi(r,i){r.finishedWork=null,r.finishedLanes=0;var s=r.timeoutHandle;if(s!==-1&&(r.timeoutHandle=-1,vw(s)),St!==null)for(s=St.return;s!==null;){var f=s;switch(Iu(f),f.tag){case 1:f=f.type.childContextTypes,f!=null&&ca();break;case 3:no(),ft(rn),ft(Wt),Yu();break;case 5:Vu(f);break;case 4:no();break;case 13:ft(ht);break;case 19:ft(ht);break;case 10:$u(f.type._context);break;case 22:case 23:kc()}s=s.return}if(It=r,St=r=Zr(r.current,null),Bt=bn=i,Pt=0,ll=null,vc=Ia=yi=0,an=al=null,mi!==null){for(i=0;i<mi.length;i++)if(s=mi[i],f=s.interleaved,f!==null){s.interleaved=null;var h=f.next,g=s.pending;if(g!==null){var _=g.next;g.next=h,f.next=_}s.pending=f}mi=null}return r}function mm(r,i){do{var s=St;try{if(Fu(),_a.current=Ca,Sa){for(var f=mt.memoizedState;f!==null;){var h=f.queue;h!==null&&(h.pending=null),f=f.next}Sa=!1}if(vi=0,Lt=Tt=mt=null,el=!1,tl=0,gc.current=null,s===null||s.return===null){Pt=1,ll=i,St=null;break}e:{var g=r,_=s.return,C=s,I=i;if(i=Bt,C.flags|=32768,I!==null&&typeof I=="object"&&typeof I.then=="function"){var V=I,oe=C,ae=oe.tag;if((oe.mode&1)===0&&(ae===0||ae===11||ae===15)){var re=oe.alternate;re?(oe.updateQueue=re.updateQueue,oe.memoizedState=re.memoizedState,oe.lanes=re.lanes):(oe.updateQueue=null,oe.memoizedState=null)}var we=Bh(_);if(we!==null){we.flags&=-257,Uh(we,_,C,g,i),we.mode&1&&$h(g,V,i),i=we,I=V;var Ce=i.updateQueue;if(Ce===null){var Pe=new Set;Pe.add(I),i.updateQueue=Pe}else Ce.add(I);break e}else{if((i&1)===0){$h(g,V,i),Ec();break e}I=Error(n(426))}}else if(pt&&C.mode&1){var wt=Bh(_);if(wt!==null){(wt.flags&65536)===0&&(wt.flags|=256),Uh(wt,_,C,g,i),Mu(ro(I,C));break e}}g=I=ro(I,C),Pt!==4&&(Pt=2),al===null?al=[g]:al.push(g),g=_;do{switch(g.tag){case 3:g.flags|=65536,i&=-i,g.lanes|=i;var $=Dh(g,I,i);ch(g,$);break e;case 1:C=I;var z=g.type,j=g.stateNode;if((g.flags&128)===0&&(typeof z.getDerivedStateFromError=="function"||j!==null&&typeof j.componentDidCatch=="function"&&(Xr===null||!Xr.has(j)))){g.flags|=65536,i&=-i,g.lanes|=i;var de=Fh(g,C,i);ch(g,de);break e}}g=g.return}while(g!==null)}ym(s)}catch(Re){i=Re,St===s&&s!==null&&(St=s=s.return);continue}break}while(!0)}function gm(){var r=La.current;return La.current=Ca,r===null?Ca:r}function Ec(){(Pt===0||Pt===3||Pt===2)&&(Pt=4),It===null||(yi&268435455)===0&&(Ia&268435455)===0||qr(It,Bt)}function $a(r,i){var s=Qe;Qe|=2;var f=gm();(It!==r||Bt!==i)&&(Pr=null,wi(r,i));do try{jw();break}catch(h){mm(r,h)}while(!0);if(Fu(),Qe=s,La.current=f,St!==null)throw Error(n(261));return It=null,Bt=0,Pt}function jw(){for(;St!==null;)vm(St)}function Hw(){for(;St!==null&&!en();)vm(St)}function vm(r){var i=bm(r.alternate,r,bn);r.memoizedProps=r.pendingProps,i===null?ym(r):St=i,gc.current=null}function ym(r){var i=r;do{var s=i.alternate;if(r=i.return,(i.flags&32768)===0){if(s=zw(s,i,bn),s!==null){St=s;return}}else{if(s=Mw(s,i),s!==null){s.flags&=32767,St=s;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{Pt=6,St=null;return}}if(i=i.sibling,i!==null){St=i;return}St=i=r}while(i!==null);Pt===0&&(Pt=5)}function bi(r,i,s){var f=nt,h=Mn.transition;try{Mn.transition=null,nt=1,Vw(r,i,s,f)}finally{Mn.transition=h,nt=f}return null}function Vw(r,i,s,f){do ao();while(Qr!==null);if((Qe&6)!==0)throw Error(n(327));s=r.finishedWork;var h=r.finishedLanes;if(s===null)return null;if(r.finishedWork=null,r.finishedLanes=0,s===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var g=s.lanes|s.childLanes;if(kx(r,g),r===It&&(St=It=null,Bt=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||za||(za=!0,_m(Xe,function(){return ao(),null})),g=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||g){g=Mn.transition,Mn.transition=null;var _=nt;nt=1;var C=Qe;Qe|=4,gc.current=null,Fw(r,s),sm(s,r),cw(Eu),Ql=!!ku,Eu=ku=null,r.current=s,$w(s),ui(),Qe=C,nt=_,Mn.transition=g}else r.current=s;
vendor: 6,278 bytes, line 32
32if(za&&(za=!1,Qr=r,Ma=h),g=r.pendingLanes,g===0&&(Xr=null),vt(s.stateNode),sn(r,ot()),i!==null)for(f=r.onRecoverableError,s=0;s<i.length;s++)h=i[s],f(h.value,{componentStack:h.stack,digest:h.digest});if(Oa)throw Oa=!1,r=xc,xc=null,r;return(Ma&1)!==0&&r.tag!==0&&ao(),g=r.pendingLanes,(g&1)!==0?r===wc?sl++:(sl=0,wc=r):sl=0,Wr(),null}function ao(){if(Qr!==null){var r=lp(Ma),i=Mn.transition,s=nt;try{if(Mn.transition=null,nt=16>r?16:r,Qr===null)var f=!1;else{if(r=Qr,Qr=null,Ma=0,(Qe&6)!==0)throw Error(n(331));var h=Qe;for(Qe|=4,Ee=r.current;Ee!==null;){var g=Ee,_=g.child;if((Ee.flags&16)!==0){var C=g.deletions;if(C!==null){for(var I=0;I<C.length;I++){var V=C[I];for(Ee=V;Ee!==null;){var oe=Ee;switch(oe.tag){case 0:case 11:case 15:ol(8,oe,g)}var ae=oe.child;if(ae!==null)ae.return=oe,Ee=ae;else for(;Ee!==null;){oe=Ee;var re=oe.sibling,we=oe.return;if(rm(oe),oe===V){Ee=null;break}if(re!==null){re.return=we,Ee=re;break}Ee=we}}}var Ce=g.alternate;if(Ce!==null){var Pe=Ce.child;if(Pe!==null){Ce.child=null;do{var wt=Pe.sibling;Pe.sibling=null,Pe=wt}while(Pe!==null)}}Ee=g}}if((g.subtreeFlags&2064)!==0&&_!==null)_.return=g,Ee=_;else e:for(;Ee!==null;){if(g=Ee,(g.flags&2048)!==0)switch(g.tag){case 0:case 11:case 15:ol(9,g,g.return)}var $=g.sibling;if($!==null){$.return=g.return,Ee=$;break e}Ee=g.return}}var z=r.current;for(Ee=z;Ee!==null;){_=Ee;var j=_.child;if((_.subtreeFlags&2064)!==0&&j!==null)j.return=_,Ee=j;else e:for(_=z;Ee!==null;){if(C=Ee,(C.flags&2048)!==0)try{switch(C.tag){case 0:case 11:case 15:Na(9,C)}}catch(Re){yt(C,C.return,Re)}if(C===_){Ee=null;break e}var de=C.sibling;if(de!==null){de.return=C.return,Ee=de;break e}Ee=C.return}}if(Qe=h,Wr(),nn&&typeof nn.onPostCommitFiberRoot=="function")try{nn.onPostCommitFiberRoot(wr,r)}catch{}f=!0}return f}finally{nt=s,Mn.transition=i}}return!1}function xm(r,i,s){i=ro(s,i),i=Dh(r,i,1),r=Gr(r,i,1),i=Zt(),r!==null&&(Lo(r,1,i),sn(r,i))}function yt(r,i,s){if(r.tag===3)xm(r,r,s);else for(;i!==null;){if(i.tag===3){xm(i,r,s);break}else if(i.tag===1){var f=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(Xr===null||!Xr.has(f))){r=ro(s,r),r=Fh(i,r,1),i=Gr(i,r,1),r=Zt(),i!==null&&(Lo(i,1,r),sn(i,r));break}}i=i.return}}function Ww(r,i,s){var f=r.pingCache;f!==null&&f.delete(i),i=Zt(),r.pingedLanes|=r.suspendedLanes&s,It===r&&(Bt&s)===s&&(Pt===4||Pt===3&&(Bt&130023424)===Bt&&500>ot()-yc?wi(r,0):vc|=s),sn(r,i)}function wm(r,i){i===0&&((r.mode&1)===0?i=1:(i=Yl,Yl<<=1,(Yl&130023424)===0&&(Yl=4194304)));var s=Zt();r=Er(r,i),r!==null&&(Lo(r,i,s),sn(r,s))}function Yw(r){var i=r.memoizedState,s=0;i!==null&&(s=i.retryLane),wm(r,s)}function Gw(r,i){var s=0;switch(r.tag){case 13:var f=r.stateNode,h=r.memoizedState;h!==null&&(s=h.retryLane);break;case 19:f=r.stateNode;break;default:throw Error(n(314))}f!==null&&f.delete(i),wm(r,s)}var bm;bm=function(r,i,s){if(r!==null)if(r.memoizedProps!==i.pendingProps||rn.current)ln=!0;else{if((r.lanes&s)===0&&(i.flags&128)===0)return ln=!1,Ow(r,i,s);ln=(r.flags&131072)!==0}else ln=!1,pt&&(i.flags&1048576)!==0&&eh(i,ha,i.index);switch(i.lanes=0,i.tag){case 2:var f=i.type;Aa(r,i),r=i.pendingProps;var h=Xi(i,Wt.current);to(i,s),h=Xu(null,i,f,r,h,s);var g=Qu();return i.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,on(f)?(g=!0,da(i)):g=!1,i.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,ju(i),h.updater=Ta,i.stateNode=h,h._reactInternals=i,nc(i,f,r,s),i=lc(null,i,f,!0,g,s)):(i.tag=0,pt&&g&&Lu(i),qt(null,i,h,s),i=i.child),i;case 16:f=i.elementType;e:{switch(Aa(r,i),r=i.pendingProps,h=f._init,f=h(f._payload),i.type=f,h=i.tag=Xw(f),r=Jn(f,r),h){case 0:i=oc(null,i,f,r,s);break e;case 1:i=Gh(null,i,f,r,s);break e;case 11:i=jh(null,i,f,r,s);break e;case 14:i=Hh(null,i,f,Jn(f.type,r),s);break e}throw Error(n(306,f,""))}return i;case 0:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Jn(f,h),oc(r,i,f,h,s);case 1:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Jn(f,h),Gh(r,i,f,h,s);case 3:e:{if(Kh(i),r===null)throw Error(n(387));f=i.pendingProps,g=i.memoizedState,h=g.element,uh(r,i),wa(i,f,null,s);var _=i.memoizedState;if(f=_.element,g.isDehydrated)if(g={element:f,isDehydrated:!1,cache:_.cache,pendingSuspenseBoundaries:_.pendingSuspenseBoundaries,transitions:_.transitions},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){h=ro(Error(n(423)),i),i=Xh(r,i,f,s,h);break e}else if(f!==h){h=ro(Error(n(424)),i),i=Xh(r,i,f,s,h);break e}else for(wn=jr(i.stateNode.containerInfo.firstChild),xn=i,pt=!0,Qn=null,s=ah(i,null,f,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(qi(),f===h){i=Tr(r,i,s);break e}qt(r,i,f,s)}i=i.child}return i;case 5:return fh(i),r===null&&zu(i),f=i.type,h=i.pendingProps,g=r!==null?r.memoizedProps:null,_=h.children,Cu(f,h)?_=null:g!==null&&Cu(f,g)&&(i.flags|=32),Yh(r,i),qt(r,i,_,s),i.child;case 6:return r===null&&zu(i),null;case 13:return Qh(r,i,s);case 4:return Hu(i,i.stateNode.containerInfo),f=i.pendingProps,r===null?i.child=Zi(i,null,f,s):qt(r,i,f,s),i.child;case 11:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Jn(f,h),jh(r,i,f,h,s);case 7:return qt(r,i,i.pendingProps,s),i.child;case 8:return qt(r,i,i.pendingProps.children,s),i.child;case 12:return qt(r,i,i.pendingProps.children,s),i.child;case 10:e:{if(f=i.type._context,h=i.pendingProps,g=i.memoizedProps,_=h.value,lt(va,f._currentValue),f._currentValue=_,g!==null)if(Xn(g.value,_)){if(g.children===h.children&&!rn.current){i=Tr(r,i,s);break e}}else for(g=i.child,g!==null&&(g.return=i);g!==null;){var C=g.dependencies;if(C!==null){_=g.child;for(var I=C.firstContext;I!==null;){if(I.context===f){if(g.tag===1){I=Cr(-1,s&-s),I.tag=2;var V=g.updateQueue;if(V!==null){V=V.shared;var oe=V.pending;oe===null?I.next=I:(I.next=oe.next,oe.next=I),V.pending=I}}g.lanes|=s,I=g.alternate,I!==null&&(I.lanes|=s),Bu(g.return,s,i),C.lanes|=s;break}I=I.next}}else if(g.tag===10)_=g.type===i.type?null:g.child;else if(g.tag===18){if(_=g.return,_===null)throw Error(n(341));_.lanes|=s,C=_.alternate,C!==null&&(C.lanes|=s),Bu(_,s,i),_=g.sibling}else _=g.child;if(_!==null)_.return=g;else for(_=g;_!==null;){if(_===i){_=null;break}if(g=_.sibling,g!==null){g.return=_.return,_=g;break}_=_.return}g=_}
vendor: 7,763 bytes, line 32
32qt(r,i,h.children,s),i=i.child}return i;case 9:return h=i.type,f=i.pendingProps.children,to(i,s),h=On(h),f=f(h),i.flags|=1,qt(r,i,f,s),i.child;case 14:return f=i.type,h=Jn(f,i.pendingProps),h=Jn(f.type,h),Hh(r,i,f,h,s);case 15:return Vh(r,i,i.type,i.pendingProps,s);case 17:return f=i.type,h=i.pendingProps,h=i.elementType===f?h:Jn(f,h),Aa(r,i),i.tag=1,on(f)?(r=!0,da(i)):r=!1,to(i,s),zh(i,f,h),nc(i,f,h,s),lc(null,i,f,!0,r,s);case 19:return qh(r,i,s);case 22:return Wh(r,i,s)}throw Error(n(156,i.tag))};function _m(r,i){return ar(r,i)}function Kw(r,i,s,f){this.tag=r,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dn(r,i,s,f){return new Kw(r,i,s,f)}function Cc(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Xw(r){if(typeof r=="function")return Cc(r)?1:0;if(r!=null){if(r=r.$$typeof,r===q)return 11;if(r===pe)return 14}return 2}function Zr(r,i){var s=r.alternate;return s===null?(s=Dn(r.tag,i,r.key,r.mode),s.elementType=r.elementType,s.type=r.type,s.stateNode=r.stateNode,s.alternate=r,r.alternate=s):(s.pendingProps=i,s.type=r.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=r.flags&14680064,s.childLanes=r.childLanes,s.lanes=r.lanes,s.child=r.child,s.memoizedProps=r.memoizedProps,s.memoizedState=r.memoizedState,s.updateQueue=r.updateQueue,i=r.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=r.sibling,s.index=r.index,s.ref=r.ref,s}function Ba(r,i,s,f,h,g){var _=2;if(f=r,typeof r=="function")Cc(r)&&(_=1);else if(typeof r=="string")_=5;else e:switch(r){case le:return _i(s.children,h,g,i);case ye:_=8,h|=8;break;case fe:return r=Dn(12,s,i,h|2),r.elementType=fe,r.lanes=g,r;case Q:return r=Dn(13,s,i,h),r.elementType=Q,r.lanes=g,r;case ue:return r=Dn(19,s,i,h),r.elementType=ue,r.lanes=g,r;case ve:return Ua(s,h,g,i);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case Se:_=10;break e;case ge:_=9;break e;case q:_=11;break e;case pe:_=14;break e;case xe:_=16,f=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return i=Dn(_,s,i,h),i.elementType=r,i.type=f,i.lanes=g,i}function _i(r,i,s,f){return r=Dn(7,r,f,i),r.lanes=s,r}function Ua(r,i,s,f){return r=Dn(22,r,f,i),r.elementType=ve,r.lanes=s,r.stateNode={isHidden:!1},r}function Tc(r,i,s){return r=Dn(6,r,null,i),r.lanes=s,r}function Pc(r,i,s){return i=Dn(4,r.children!==null?r.children:[],r.key,i),i.lanes=s,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}function Qw(r,i,s,f,h){this.tag=i,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=tu(0),this.expirationTimes=tu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tu(0),this.identifierPrefix=f,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function Ac(r,i,s,f,h,g,_,C,I){return r=new Qw(r,i,s,C,I),i===1?(i=1,g===!0&&(i|=8)):i=0,g=Dn(3,null,null,i),r.current=g,g.stateNode=r,g.memoizedState={element:f,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},ju(g),r}function Jw(r,i,s){var f=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:k,key:f==null?null:""+f,children:r,containerInfo:i,implementation:s}}function Sm(r){if(!r)return Vr;r=r._reactInternals;e:{if(ze(r)!==r||r.tag!==1)throw Error(n(170));var i=r;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(on(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(n(171))}if(r.tag===1){var s=r.type;if(on(s))return Jp(r,s,i)}return i}function km(r,i,s,f,h,g,_,C,I){return r=Ac(s,f,!0,r,h,g,_,C,I),r.context=Sm(null),s=r.current,f=Zt(),h=Jr(s),g=Cr(f,h),g.callback=i??null,Gr(s,g,h),r.current.lanes=h,Lo(r,h,f),sn(r,f),r}function ja(r,i,s,f){var h=i.current,g=Zt(),_=Jr(h);return s=Sm(s),i.context===null?i.context=s:i.pendingContext=s,i=Cr(g,_),i.payload={element:r},f=f===void 0?null:f,f!==null&&(i.callback=f),r=Gr(h,i,_),r!==null&&(er(r,h,_,g),xa(r,h,_)),_}function Ha(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function Em(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var s=r.retryLane;r.retryLane=s!==0&&s<i?s:i}}function Rc(r,i){Em(r,i),(r=r.alternate)&&Em(r,i)}function qw(){return null}var Cm=typeof reportError=="function"?reportError:function(r){console.error(r)};function Nc(r){this._internalRoot=r}Va.prototype.render=Nc.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(n(409));ja(r,i,null,null)},Va.prototype.unmount=Nc.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;xi(function(){ja(null,r,null,null)}),i[br]=null}};function Va(r){this._internalRoot=r}Va.prototype.unstable_scheduleHydration=function(r){if(r){var i=up();r={blockedOn:null,target:r,priority:i};for(var s=0;s<$r.length&&i!==0&&i<$r[s].priority;s++);$r.splice(s,0,r),s===0&&fp(r)}};function Lc(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function Wa(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function Tm(){}function Zw(r,i,s,f,h){if(h){if(typeof f=="function"){var g=f;f=function(){var V=Ha(_);g.call(V)}}var _=km(i,f,r,0,null,!1,!1,"",Tm);return r._reactRootContainer=_,r[br]=_.current,Yo(r.nodeType===8?r.parentNode:r),xi(),_}for(;h=r.lastChild;)r.removeChild(h);if(typeof f=="function"){var C=f;f=function(){var V=Ha(I);C.call(V)}}var I=Ac(r,0,!1,null,null,!1,!1,"",Tm);return r._reactRootContainer=I,r[br]=I.current,Yo(r.nodeType===8?r.parentNode:r),xi(function(){ja(i,I,s,f)}),I}function Ya(r,i,s,f,h){var g=s._reactRootContainer;if(g){var _=g;if(typeof h=="function"){var C=h;h=function(){var I=Ha(_);C.call(I)}}ja(i,_,r,h)}else _=Zw(s,i,r,h,f);return Ha(_)}ap=function(r){switch(r.tag){case 3:var i=r.stateNode;if(i.current.memoizedState.isDehydrated){var s=No(i.pendingLanes);s!==0&&(nu(i,s|1),sn(i,ot()),(Qe&6)===0&&(lo=ot()+500,Wr()))}break;case 13:xi(function(){var f=Er(r,1);if(f!==null){var h=Zt();er(f,r,1,h)}}),Rc(r,1)}},ru=function(r){if(r.tag===13){var i=Er(r,134217728);if(i!==null){var s=Zt();er(i,r,134217728,s)}Rc(r,134217728)}},sp=function(r){if(r.tag===13){var i=Jr(r),s=Er(r,i);if(s!==null){var f=Zt();er(s,r,i,f)}Rc(r,i)}},up=function(){return nt},cp=function(r,i){var s=nt;try{return nt=r,i()}finally{nt=s}},xr=function(r,i,s){switch(i){case"input":if(An(r,s),i=s.name,s.type==="radio"&&i!=null){for(s=r;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<s.length;i++){var f=s[i];if(f!==r&&f.form===r.form){var h=ua(f);if(!h)throw Error(n(90));ut(f),An(f,h)}}}break;case"textarea":yr(r,s);break;case"select":i=s.value,i!=null&&Rn(r,!!s.multiple,i,!1)}},si=Sc,lr=xi;var eb={usingClientEntryPoint:!1,Events:[Xo,Gi,ua,Wn,Yn,Sc]},ul={findFiberByHostInstance:di,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},tb={bundleType:ul.bundleType,version:ul.version,rendererPackageName:ul.rendererPackageName,rendererConfig:ul.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overri
32dePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=Ke(r),r===null?null:r.stateNode},findFiberByHostInstance:ul.findFiberByHostInstance||qw,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ga=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ga.isDisabled&&Ga.supportsFiber)try{wr=Ga.inject(tb),nn=Ga}catch{}}return un.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eb,un.createPortal=function(r,i){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Lc(i))throw Error(n(200));return Jw(r,i,null,s)},un.createRoot=function(r,i){if(!Lc(r))throw Error(n(299));var s=!1,f="",h=Cm;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onRecoverableError!==void 0&&(h=i.onRecoverableError)),i=Ac(r,1,!1,null,null,s,!1,f,h),r[br]=i.current,Yo(r.nodeType===8?r.parentNode:r),new Nc(i)},un.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(n(188)):(r=Object.keys(r).join(","),Error(n(268,r)));return r=Ke(i),r=r===null?null:r.stateNode,r},un.flushSync=function(r){return xi(r)},un.hydrate=function(r,i,s){if(!Wa(i))throw Error(n(200));return Ya(null,r,i,!0,s)},un.hydrateRoot=function(r,i,s){if(!Lc(r))throw Error(n(405));var f=s!=null&&s.hydratedSources||null,h=!1,g="",_=Cm;if(s!=null&&(s.unstable_strictMode===!0&&(h=!0),s.identifierPrefix!==void 0&&(g=s.identifierPrefix),s.onRecoverableError!==void 0&&(_=s.onRecoverableError)),i=km(i,null,r,1,s??null,h,!1,g,_),r[br]=i.current,Yo(r),f)for(r=0;r<f.length;r++)s=f[r],h=s._getVersion,h=h(s._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[s,h]:i.mutableSourceEagerHydrationData.push(s,h);return new Va(i)},un.render=function(r,i,s){if(!Wa(i))throw Error(n(200));return Ya(null,r,i,!1,s)},un.unmountComponentAtNode=function(r){if(!Wa(r))throw Error(n(40));return r._reactRootContainer?(xi(function(){Ya(null,null,r,!1,function(){r._reactRootContainer=null,r[br]=null})}),!0):!1},un.unstable_batchedUpdates=Sc,un.unstable_renderSubtreeIntoContainer=function(r,i,s,f){if(!Wa(s))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return Ya(r,i,s,!1,f)},un.version="18.3.1-next-f1338f8080-20240426",un}var Im;function Hv(){if(Im)return Oc.exports;Im=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Oc.exports=ub(),Oc.exports}var Om;function cb(){if(Om)return Ka;Om=1;var e=Hv();return Ka.createRoot=e.createRoot,Ka.hydrateRoot=e.hydrateRoot,Ka}var db=cb();/** 33 * react-router v7.5.2 34 * 35 * Copyright (c) Remix Software Inc. 36 * 37 * This source code is licensed under the MIT license found in the 38 * LICENSE.md file in the root directory of this source tree. 39 * 40 * @license MIT 41 */var Vv=e=>{throw TypeError(e)},fb=(e,t,n)=>t.has(e)||Vv("Cannot "+n),Dc=(e,t,n)=>(fb(e,t,"read from private field"),n?n.call(e):t.get(e)),pb=(e,t,n)=>t.has(e)?Vv("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),zm="popstate";function hb(e={}){function t(o,l){let{pathname:a,search:u,hash:d}=o.location;return Al("",{pathname:a,search:u,hash:d},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function n(o,l){return typeof l=="string"?l:oi(l)}return gb(t,n,null,e)}function Ve(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function _t(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function mb(){return Math.random().toString(36).substring(2,10)}function Mm(e,t){return{usr:e.state,key:e.key,idx:t}}function Al(e,t,n=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?li(t):t,state:n,key:t&&t.key||o||mb()}}function oi({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function li(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let o=e.indexOf("?");o>=0&&(t.search=e.substring(o),e=e.substring(0,o)),e&&(t.pathname=e)}return t}function gb(e,t,n,o={}){let{window:l=document.defaultView,v5Compat:a=!1}=o,u=l.history,d="POP",c=null,p=m();
41p==null&&(p=0,u.replaceState({...u.state,idx:p},""));function m(){return(u.state||{idx:null}).idx}function v(){d="POP";let A=m(),P=A==null?null:A-p;p=A,c&&c({action:d,location:R.location,delta:P})}function b(A,P){d="PUSH";let D=Al(R.location,A,P);p=m()+1;let O=Mm(D,p),X=R.createHref(D);try{u.pushState(O,"",X)}catch(J){if(J instanceof DOMException&&J.name==="DataCloneError")throw J;l.location.assign(X)}a&&c&&c({action:d,location:R.location,delta:1})}function x(A,P){d="REPLACE";let D=Al(R.location,A,P);p=m();let O=Mm(D,p),X=R.createHref(D);u.replaceState(O,"",X),a&&c&&c({action:d,location:R.location,delta:0})}function T(A){let P=l.location.origin!=="null"?l.location.origin:l.location.href,D=typeof A=="string"?A:oi(A);return D=D.replace(/ $/,"%20"),Ve(P,`No window.location.(origin|href) available to create URL for href: ${D}`),new URL(D,P)}let R={get action(){return d},get location(){return e(l,u)},listen(A){if(c)throw new Error("A history only accepts one active listener");return l.addEventListener(zm,v),c=A,()=>{l.removeEventListener(zm,v),c=null}},createHref(A){return t(l,A)},createURL:T,encodeLocation(A){let P=T(A);return{pathname:P.pathname,search:P.search,hash:P.hash}},push:b,replace:x,go(A){return u.go(A)}};return R}var xl,Dm=class{constructor(e){if(pb(this,xl,new Map),e)for(let[t,n]of e)this.set(t,n)}get(e){if(Dc(this,xl).has(e))return Dc(this,xl).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){Dc(this,xl).set(e,t)}};xl=new WeakMap;var vb=new Set(["lazy","caseSensitive","path","id","index","children"]);function yb(e){return vb.has(e)}var xb=new Set(["lazy","caseSensitive","path","id","index","unstable_middleware","children"]);function wb(e){return xb.has(e)}function bb(e){return e.index===!0}function gs(e,t,n=[],o={}){return e.map((l,a)=>{let u=[...n,String(a)],d=typeof l.id=="string"?l.id:u.join("-");if(Ve(l.index!==!0||!l.children,"Cannot specify children on an index route"),Ve(!o[d],`Found a route id collision on i
41d "${d}". Route id's must be globally unique within Data Router usages`),bb(l)){let c={...l,...t(l),id:d};return o[d]=c,c}else{let c={...l,...t(l),id:d,children:void 0};return o[d]=c,l.children&&(c.children=gs(l.children,t,u,o)),c}})}function Lr(e,t,n="/"){return ss(e,t,n,!1)}function ss(e,t,n,o){let l=typeof t=="string"?li(t):t,a=pn(l.pathname||"/",n);if(a==null)return null;let u=Wv(e);Sb(u);let d=null;for(let c=0;d==null&&c<u.length;++c){let p=Ob(a);d=Lb(u[c],p,o)}return d}function _b(e,t){let{route:n,pathname:o,params:l}=e;return{id:n.id,pathname:o,params:l,data:t[n.id],handle:n.handle}}function Wv(e,t=[],n=[],o=""){let l=(a,u,d)=>{let c={relativePath:d===void 0?a.path||"":d,caseSensitive:a.caseSensitive===!0,childrenIndex:u,route:a};c.relativePath.startsWith("/")&&(Ve(c.relativePath.startsWith(o),`Absolute route path "${c.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(o.length));let p=hr([o,c.relativePath]),m=n.concat(c);a.children&&a.children.length>0&&(Ve(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),Wv(a.children,t,m,p)),!(a.path==null&&!a.index)&&t.push({path:p,score:Rb(p,a.index),routesMeta:m})};return e.forEach((a,u)=>{if(a.path===""||!a.path?.includes("?"))l(a,u);else for(let d of Yv(a.path))l(a,u,d)}),t}function Yv(e){let t=e.split("/");if(t.length===0)return[];let[n,...o]=t,l=n.endsWith("?"),a=n.replace(/\?$/,"");if(o.length===0)return l?[a,""]:[a];let u=Yv(o.join("/")),d=[];return d.push(...u.map(c=>c===""?a:[a,c].join("/"))),l&&d.push(...u),d.map(c=>e.startsWith("/")&&c===""?"/":c)}function Sb(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Nb(t.routesMeta.map(o=>o.childrenIndex),n.routesMeta.map(o=>o.childrenIndex)))}var kb=/^:[\w-]+$/,Eb=3,Cb=2,Tb=1,Pb=10,Ab=-2,Fm=e=>e==="*";function Rb(e,t){let n=e.split("/"),o=n.length;return n.some(Fm)&&(o+=Ab),t&&(o+=Cb),n.filter(l=>!Fm(l)).reduce((l,a)=>l+(kb.test(a)?Eb:a===""?Tb:Pb),o)}function Nb(e,t){return e.length===t.length&&e.slice(0,-1).every((o,l)=>o===t[l])?e[e.length-1]-t[t.length-1]:0}function Lb(e,t,n=!1){let{routesMeta:o}=e,l={},a="/",u=[];for(let d=0;d<o.length;++d){let c=o[d],p=d===o.length-1,m=a==="/"?t:t.slice(a.length)||"/",v=vs({path:c.relativePath,caseSensitive:c.caseSensitive,end:p},m),b=c.route;if(!v&&p&&n&&!o[o.length-1].route.index&&(v=vs({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},m)),!v)return null;
41Object.assign(l,v.params),u.push({params:l,pathname:hr([a,v.pathname]),pathnameBase:Db(hr([a,v.pathnameBase])),route:b}),v.pathnameBase!=="/"&&(a=hr([a,v.pathnameBase]))}return u}function vs(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,o]=Ib(e.path,e.caseSensitive,e.end),l=t.match(n);if(!l)return null;let a=l[0],u=a.replace(/(.)\/+$/,"$1"),d=l.slice(1);return{params:o.reduce((p,{paramName:m,isOptional:v},b)=>{if(m==="*"){let T=d[b]||"";u=a.slice(0,a.length-T.length).replace(/(.)\/+$/,"$1")}const x=d[b];return v&&!x?p[m]=void 0:p[m]=(x||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:u,pattern:e}}function Ib(e,t=!1,n=!0){_t(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,c)=>(o.push({paramName:d,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),o]}function Ob(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return _t(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function pn(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,o=e.charAt(n);return o&&o!=="/"?null:e.slice(n)||"/"}function zb(e,t="/"){let{pathname:n,search:o="",hash:l=""}=typeof e=="string"?li(e):e;return{pathname:n?n.startsWith("/")?n:Mb(n,t):t,search:Fb(o),hash:$b(l)}}function Mb(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function Fc(e,t,n,o){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Gv(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Ms(e){let t=Gv(e);return t.map((n,o)=>o===t.length-1?n.pathname:n.pathnameBase)}function Ds(e,t,n,o=!1){let l;typeof e=="string"?l=li(e):(l={...e},Ve(!l.pathname||!l.pathname.includes("?"),Fc("?","pathname","search",l)),Ve(!l.pathname||!l.pathname.includes("#"),Fc("#","pathname","hash",l)),Ve(!l.search||!l.search.includes("#"),Fc("#","search","hash",l)));let a=e===""||l.pathname==="",u=a?"/":l.pathname,d;if(u==null)d=n;else{let v=t.length-1;if(!o&&u.startsWith("..")){let b=u.split("/");for(;b[0]==="..";)b.shift(),v-=1;l.pathname=b.join("/")}d=v>=0?t[v]:"/"}let c=zb(l,d),p=u&&u!=="/"&&u.endsWith("/"),m=(a||u===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(p||m)&&(c.pathname+="/"),c}var hr=e=>e.join("/").replace(/\/\/+/g,"/"),Db=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Fb=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$b=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,ys=class{constructor(e,t,n,o=!1){this.status=e,this.statusText=t||"",this.internal=o,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function Rl(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var Kv=["POST","PUT","PATCH","DELETE"],Bb=new Set(Kv),Ub=["GET",...Kv],jb=new Set(Ub),Hb=new Set([301,302,303,307,308]),Vb=new Set([307,308]),$c={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Wb={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},po={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},rf=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Yb=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Xv="remix-router-transitions",Qv=Symbol("ResetLoaderData");function Gb(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";Ve(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let o=e.hydrationRouteProperties||[],l=e.mapRouteProperties||Yb,a={},u=gs(e.routes,l,void 0,a),d,c=e.basename||"/",p=e.dataStrategy||qb,m={unstable_middleware:!1,...e.future},v=null,b=new Set,x=null,T=null,R=null,A=e.hydrationData!=null,P=Lr(u,e.history.location,c),D=!1,O=null;if(P==null&&!e.patchRoutesOnNavigation){let L=$n(404,{pathname:e.history.location.pathname}),{matches:w,route:y}=Qm(u);P=w,O={[y.id]:L}}P&&!e.hydrationData&&Wn(P,u,e.history.location.pathname).active&&(P=null);let X;if(P)if(P.some(L=>L.route.lazy))X=!1;else if(!P.some(L=>L.route.loader))X=!0;else{let L=e.hydrationData?e.hydrationData.loaderData:null,w=e.hydrationData?e.hydrationData.errors:null;if(w){let y=P.findIndex(N=>w[N.route.id]!==void 0);X=P.slice(0,y+1).every(N=>!kd(N.route,L,w))}else X=P.every(y=>!kd(y.route,L,w))}else{X=!1,P=[];let L=Wn(null,u,e.history.location.pathname);L.active&&L.matches&&(D=!0,P=L.matches)}let J,k={historyAction:e.history.action,location:e.history.location,matches:P,initialized:X,navigation:$c,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||O,fetchers:new Map,blockers:new Map},le="POP",ye=!1,fe,Se=!1,ge=new Map,q=null,Q=!1,ue=!1,pe=new Set,xe=new Map,ve=0,ne=-1,he=new Map,S=new Set,M=new Map,K=new Map,E=new Set,Te=new Map,ke,Ae=null;function Be(){if(v=e.history.listen(({action:L,location:w,delta:y})=>{if(ke){ke(),ke=void 0;return}_t(Te.size===0||y!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let N=Rt({currentLocation:k.location,nextLocation:w,historyAction:L});if(N&&y!=null){let B=new Promise(W=>{ke=W});e.history.go(y*-1),Ft(N,{state:"blocked",location:w,proceed(){Ft(N,{state:"proceeding",proceed:void 0,reset:void 0,location:w}),B.then(()=>e.history.go(y))},reset(){let W=new Map(k.blockers);W.set(N,po),me({blockers:W})}});return}return gt(L,w)}),n){u_(t,ge);let L=()=>c_(t,ge);t.addEventListener("pagehide",L),q=()=>t.removeEventListener("pagehide",L)}return k.initialized||gt("POP",k.location,{initialHydration:!0}),J}function Y(){v&&v(),q&&q(),b.clear(),fe&&fe.abort(),k.fetchers.forEac
41h((L,w)=>Fe(w)),k.blockers.forEach((L,w)=>ct(w))}function ee(L){return b.add(L),()=>b.delete(L)}function me(L,w={}){k={...k,...L};let y=[],N=[];k.fetchers.forEach((B,W)=>{B.state==="idle"&&(E.has(W)?y.push(W):N.push(W))}),E.forEach(B=>{!k.fetchers.has(B)&&!xe.has(B)&&y.push(B)}),[...b].forEach(B=>B(k,{deletedFetchers:y,viewTransitionOpts:w.viewTransitionOpts,flushSync:w.flushSync===!0})),y.forEach(B=>Fe(B)),N.forEach(B=>k.fetchers.delete(B))}function Ye(L,w,{flushSync:y}={}){let N=k.actionData!=null&&k.navigation.formMethod!=null&&En(k.navigation.formMethod)&&k.navigation.state==="loading"&&L.state?._isRedirect!==!0,B;w.actionData?Object.keys(w.actionData).length>0?B=w.actionData:B=null:N?B=k.actionData:B=null;let W=w.loaderData?Km(k.loaderData,w.loaderData,w.matches||[],w.errors):k.loaderData,U=k.blockers;U.size>0&&(U=new Map(U),U.forEach((ie,te)=>U.set(te,po)));let H=ye===!0||k.navigation.formMethod!=null&&En(k.navigation.formMethod)&&L.state?._isRedirect!==!0;d&&(u=d,d=void 0),Q||le==="POP"||(le==="PUSH"?e.history.push(L,L.state):le==="REPLACE"&&e.history.replace(L,L.state));let Z;if(le==="POP"){let ie=ge.get(k.location.pathname);ie&&ie.has(L.pathname)?Z={currentLocation:k.location,nextLocation:L}:ge.has(L.pathname)&&(Z={currentLocation:L,nextLocation:k.location})}else if(Se){let ie=ge.get(k.location.pathname);ie?ie.add(L.pathname):(ie=new Set([L.pathname]),ge.set(k.location.pathname,ie)),Z={currentLocation:k.location,nextLocation:L}}me({...w,actionData:B,loaderData:W,historyAction:le,location:L,initialized:!0,navigation:$c,revalidation:"idle",restoreScrollPosition:Nn(L,w.matches||k.matches),preventScrollReset:H,blockers:U},{viewTransitionOpts:Z,flushSync:y===!0}),le="POP",ye=!1,Se=!1,Q=!1,ue=!1,Ae?.resolve(),Ae=null}async function ut(L,w){if(typeof L=="number"){e.history.go(L);return}let y=Sd(k.location,k.matches,c,L,w?.fromRouteId,w?.relative),{path:N,submission:B,error:W}=$m(!1,y,w),U=k.location,H=Al(k.location,N,w&&w.state);H={...H,...e.history.encodeLocation(H)};let Z=w&&w.replace!=null?w.replace:void 0,ie="PUSH";Z===!0?ie="REPLACE":Z===!1||B!=null&&En(B.formMethod)&&B.formAction===k.location.pathname+k.location.search&&(ie="REPLACE");let te=w&&"preventScrollReset"in w?w.preventScrollReset===!0:void 0,be=(w&&w.flushSync)===!0,_e=Rt({currentLocation:U,nextLocation:H,historyAction:ie});if(_e){Ft(_e,{state:"blocked",location:H,proceed(){Ft(_e,{state:"proceeding",proceed:void 0,reset:void 0,location:H}),ut(L,w)},reset(){let ze=new Map(k.blockers);ze.set(_e,po),me({blockers:ze})}});return}await gt(ie,H,{submission:B,pendingError:W,preventScrollReset:te,replace:w&&w.replace,enableViewTransition:w&&w.viewTransition,flushSync:be})}function Ge(){Ae||(Ae=d_()),Vt(),me({revalidation:"loading"});let L=Ae.promise;return k.navigation.state==="submitting"?L:k.navigation.state==="idle"?(gt(k.historyAction,k.location,{startUninterruptedRevalidation:!0}),L):(gt(le||k.historyAction,k.navigation.location,{overrideNavigation:k.navigation,enableViewTransition:Se===!0}),L)}async function gt(L,w,y){fe&&fe.abort(),fe=null,le=L,Q=(y&&y.startUninterruptedRevalidation)===!0,Vn(k.location,k.matches),ye=(y&&y.preventScrollReset)===!0,Se=(y&&y.enableViewTransition)===!0;let N=d||u,B=y&&y.overrideNavigation,W=y?.initialHydration&&k.matches&&k.matches.length>0&&!D?k.matches:Lr(N,w,c),U=(y&&y.flushSync)===!0;if(W&&k.initialized&&!ue&&i_(k.location,w)&&!(y&&y.submission&&En(y.submission.formMethod))){Ye(w,{matches:W},{flushSync:U});return}let H=Wn(W,N,w.pathname);if(H.active&&H.matches&&(W=H.matches),!W){let{error:it,notFoundMatches:Jt,route:Ke}=or(w.pathname);Ye(w,{matches:Jt,loaderData:{},errors:{[Ke.id]:it}},{flushSync:U});return}fe=new AbortController;let Z=ho(e.history,w,fe.signal,y&&y.submission),ie=new Dm(e.unstable_getContext?await e.unstable_getContext():void 0),te;if(y&&y.pendingError)te=[ki(W).route.id,{type:"error",error:y.pendingError}];else if(y&&y.submission&&En(y.submission.formMethod)){let it=await xt(Z,w,y.submission,W,ie,H.active,y&&y.initialHydration===!0,{replace:y.replace,flushSync:U});if(it.shortCircuited)return;if(it.pendingActionResult){let[Jt,Ke]=it.pendingActionResult;if(kn(Ke)&&Rl(Ke.error)&&Ke.error.status===404){fe=null,Ye(w,{matches:it.matches,loaderData:{},errors:{[Jt]:Ke.error}});return}}W=it.matches||W,te=it.pendingActionResult,B=Bc(w,y.submission),U=!1,H.active=!1,Z=ho(e.history,Z.url,Z.signal)}let{shortCircuited:be,matches:_e,loaderData:ze,errors:je}=await jt(Z,w,W,ie,H.active,B,y&&y.submission,y&&y.fetcherSubmission,y&&y.replace,y&&y.initialHydration===!0,U,te);be||(fe=null,Ye(w,{matches:_e||W,...Xm(te),loaderData:ze,errors:je}))}async function xt(L,w,y,N,B,W,U,H={}){Vt();let Z=a_(w,y);if(me({navigation:Z},{flushSync:H.flushSync===!0}),W){let be=await Yn(N,w.pathname,L.signal);if(be.type==="aborted")return{shortCircuited:!0};if(be.type==="error"){let _e=ki(be.partialMatches).route.id;return{matches:be.partialMatches,pendingActionResult:[_e,{type:"error",error:be.error}]}}else if(be.matches)N=be.matches;else{let{notFoundMatches:_e,error:ze,route:je}=or(w.pathname);return{matches:_e,pendingActionResult:[je.id,{type:"error",error:ze}]}}}let ie,te=wl(N,w);if(!te.route.action&&!te.route.lazy)ie={type:"error",error:$n(405,{method:L.method,pathname:w.pathname,routeId:te.route.id})};else{let be=vo(l,a,L,N,te,U?[]:o,B),_e=await gn(L,be,B,null);if(ie=_e[te.route.id],!ie){for(let ze of N)if(_e[ze.route.id]){ie=_e[ze.route.id];break}}if(L.signal.aborted)return{shortCircuited:!0}}if(Ei(ie)){let be;return H&&H.replace!=null?be=H.replace:be=Wm(ie.response.headers.get("Location"),new URL(L.url),c)===k.location.pathname+k.location.search,await Et(L,ie,!0,{submission:y,replace:be}),{shortCircuited:!0}}if(kn(ie)){let be=ki(N,te.route.id);return(H&&H.replace)!==!0&&(le="PUSH"),{matches:N,pendingActionResult:[be.route.id,ie]}}return{matches:N,pendingActionResult:[te.route.id,ie]}}async function jt(L,w,y,N,B,W,U,H,Z,ie,te,be){let _e=W||Bc(w,U),ze=U||H||qm(_e),je=!Q&&!ie;if(B){if(je){let tn=An(be);me({navigation:_e,...tn!==void 0?{actionData:tn}:{}},{flushSync:te})}let Xe=await Yn(y,w.pathname,L.signal);if(Xe.type==="aborted")return{shortCircuited:!0};if(Xe.type==="error"){let tn=ki(Xe.partialMatches).route.id;return{matches:Xe.partialMatches,loaderData:{},errors:{[tn]:Xe.error}}}else if(Xe.matches)y=Xe.matches;else{let{error:tn,notFoundMatches:Kn,route:wr}=or(w.pathname);return{matches:Kn,loaderData:{},errors:{[wr.id]:tn}}}}let it=d||u,{dsMatches:Jt,revalidatingFetchers:Ke}=Bm(L,N,l,a,e.history,k,y,ze,w,ie?[]:o,ie===!0,ue,pe,E,M,S,it,c,be);if(ne=++ve,!e.dataStrategy&&!Jt.some(Xe=>Xe.shouldLoad)&&Ke.length===0){let Xe=Dt();return Ye(w,{matches:y,loaderData:{},errors:be&&kn(be[1])?{[be[0]]:be[1].error}:null,...Xm(be),...Xe?{fetchers:new Map(k.fetchers)}:{}},{flushSync:te}),{shortCircuited:!0}}if(je){let Xe={};if(!B){Xe.navigation=_e;let tn=An(be);tn!==void 0&&(Xe.actionData=tn)}Ke.length>0&&(Xe.fetchers=mn(Ke)),me(Xe,{flushSync:te})}Ke.forEach(Xe=>{rt(Xe.key),Xe.controller&&xe.set(Xe.key,Xe.controller)});let Or=()=>Ke.forEach(Xe=>rt(Xe.key));fe&&fe.signal.addEventListener("abort",Or);let{loaderResults:ar,fetcherResults:zr}=await yr(Jt,Ke,L,N);if(L.signal.aborted)return{shortCircuited:!0};fe&&fe.signal.removeEventListener("abort",Or),Ke.forEach(Xe=>xe.delete(Xe.key));let en=Xa(ar);if(en)return await Et(L,en.result,!0,{replace:Z}),{shortCircuited:!0};if(en=Xa(zr),en)return S.add(en.key),await Et(L,en.result,!0,{replace:Z}),{shortCircuited:!0};let{loaderData:ui,errors:ot}=Gm(k,y,ar,be,Ke,zr);ie&&k.errors&&(ot={...k.errors,...ot});let Ro=Dt(),Gn=vn(ne),ci=Ro||Gn||Ke.length>0;return{matches:y,loaderData:ui,errors:ot,...ci?{fetchers:new Map(k.fetchers)}:{}}}function An(L){if(L&&!kn(L[1]))return{[L[0]]:L[1].data};if(k.actionData)return Object.keys(k.actionData).length===0?null:k.actionData}
vendor: 9,984 bytes, line 41
41function mn(L){return L.forEach(w=>{let y=k.fetchers.get(w.key),N=cl(void 0,y?y.data:void 0);k.fetchers.set(w.key,N)}),new Map(k.fetchers)}async function Qt(L,w,y,N){rt(L);let B=(N&&N.flushSync)===!0,W=d||u,U=Sd(k.location,k.matches,c,y,w,N?.relative),H=Lr(W,U,c),Z=Wn(H,W,U);if(Z.active&&Z.matches&&(H=Z.matches),!H){se(L,w,$n(404,{pathname:U}),{flushSync:B});return}let{path:ie,submission:te,error:be}=$m(!0,U,N);if(be){se(L,w,be,{flushSync:B});return}let _e=wl(H,ie),ze=new Dm(e.unstable_getContext?await e.unstable_getContext():void 0),je=(N&&N.preventScrollReset)===!0;if(te&&En(te.formMethod)){await Ht(L,w,ie,_e,H,ze,Z.active,B,je,te);return}M.set(L,{routeId:w,path:ie}),await Rn(L,w,ie,_e,H,ze,Z.active,B,je,te)}async function Ht(L,w,y,N,B,W,U,H,Z,ie){Vt(),M.delete(L);function te(vt){if(!vt.route.action&&!vt.route.lazy){let Nt=$n(405,{method:ie.formMethod,pathname:y,routeId:w});return se(L,w,Nt,{flushSync:H}),!0}return!1}if(!U&&te(N))return;let be=k.fetchers.get(L);G(L,s_(ie,be),{flushSync:H});let _e=new AbortController,ze=ho(e.history,y,_e.signal,ie);if(U){let vt=await Yn(B,y,ze.signal,L);if(vt.type==="aborted")return;if(vt.type==="error"){se(L,w,vt.error,{flushSync:H});return}else if(vt.matches){if(B=vt.matches,N=wl(B,y),te(N))return}else{se(L,w,$n(404,{pathname:y}),{flushSync:H});return}}xe.set(L,_e);let je=ve,it=vo(l,a,ze,B,N,o,W),Ke=(await gn(ze,it,W,L))[N.route.id];if(ze.signal.aborted){xe.get(L)===_e&&xe.delete(L);return}if(E.has(L)){if(Ei(Ke)||kn(Ke)){G(L,ni(void 0));return}}else{if(Ei(Ke))if(xe.delete(L),ne>je){G(L,ni(void 0));return}else return S.add(L),G(L,cl(ie)),Et(ze,Ke,!1,{fetcherSubmission:ie,preventScrollReset:Z});if(kn(Ke)){se(L,w,Ke.error);return}}let Or=k.navigation.location||k.location,ar=ho(e.history,Or,_e.signal),zr=d||u,en=k.navigation.state!=="idle"?Lr(zr,k.navigation.location,c):k.matches;Ve(en,"Didn't find any matches after fetcher action");let ui=++ve;he.set(L,ui);let ot=cl(ie,Ke.data);k.fetchers.set(L,ot);let{dsMatches:Ro,revalidatingFetchers:Gn}=Bm(ar,W,l,a,e.history,k,en,ie,Or,o,!1,ue,pe,E,M,S,zr,c,[N.route.id,Ke]);Gn.filter(vt=>vt.key!==L).forEach(vt=>{let Nt=vt.key,Vl=k.fetchers.get(Nt),Zs=cl(void 0,Vl?Vl.data:void 0);k.fetchers.set(Nt,Zs),rt(Nt),vt.controller&&xe.set(Nt,vt.controller)}),me({fetchers:new Map(k.fetchers)});let ci=()=>Gn.forEach(vt=>rt(vt.key));_e.signal.addEventListener("abort",ci);let{loaderResults:Xe,fetcherResults:tn}=await yr(Ro,Gn,ar,W);if(_e.signal.aborted)return;_e.signal.removeEventListener("abort",ci),he.delete(L),xe.delete(L),Gn.forEach(vt=>xe.delete(vt.key));let Kn=Xa(Xe);if(Kn)return Et(ar,Kn.result,!1,{preventScrollReset:Z});if(Kn=Xa(tn),Kn)return S.add(Kn.key),Et(ar,Kn.result,!1,{preventScrollReset:Z});let{loaderData:wr,errors:nn}=Gm(k,en,Xe,void 0,Gn,tn);if(k.fetchers.has(L)){let vt=ni(Ke.data);k.fetchers.set(L,vt)}vn(ui),k.navigation.state==="loading"&&ui>ne?(Ve(le,"Expected pending action"),fe&&fe.abort(),Ye(k.navigation.location,{matches:en,loaderData:wr,errors:nn,fetchers:new Map(k.fetchers)})):(me({errors:nn,loaderData:Km(k.loaderData,wr,en,nn),fetchers:new Map(k.fetchers)}),ue=!1)}async function Rn(L,w,y,N,B,W,U,H,Z,ie){let te=k.fetchers.get(L);G(L,cl(ie,te?te.data:void 0),{flushSync:H});let be=new AbortController,_e=ho(e.history,y,be.signal);if(U){let Ke=await Yn(B,y,_e.signal,L);if(Ke.type==="aborted")return;if(Ke.type==="error"){se(L,w,Ke.error,{flushSync:H});return}else if(Ke.matches)B=Ke.matches,N=wl(B,y);else{se(L,w,$n(404,{pathname:y}),{flushSync:H});return}}xe.set(L,be);let ze=ve,je=vo(l,a,_e,B,N,o,W),Jt=(await gn(_e,je,W,L))[N.route.id];if(xe.get(L)===be&&xe.delete(L),!_e.signal.aborted){if(E.has(L)){G(L,ni(void 0));return}if(Ei(Jt))if(ne>ze){G(L,ni(void 0));return}else{S.add(L),await Et(_e,Jt,!1,{preventScrollReset:Z});return}if(kn(Jt)){se(L,w,Jt.error);return}G(L,ni(Jt.data))}}async function Et(L,w,y,{submission:N,fetcherSubmission:B,preventScrollReset:W,replace:U}={}){w.response.headers.has("X-Remix-Revalidate")&&(ue=!0);let H=w.response.headers.get("Location");Ve(H,"Expected a Location header on the redirect Response"),H=Wm(H,new URL(L.url),c);let Z=Al(k.location,H,{_isRedirect:!0});if(n){let je=!1;if(w.response.headers.has("X-Remix-Reload-Document"))je=!0;else if(rf.test(H)){const it=e.history.createURL(H);je=it.origin!==t.location.origin||pn(it.pathname,c)==null}if(je){U?t.location.replace(H):t.location.assign(H);return}}fe=null;let ie=U===!0||w.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:te,formAction:be,formEncType:_e}=k.navigation;!N&&!B&&te&&be&&_e&&(N=qm(k.navigation));let ze=N||B;if(Vb.has(w.response.status)&&ze&&En(ze.formMethod))await gt(ie,Z,{submission:{...ze,formAction:H},preventScrollReset:W||ye,enableViewTransition:y?Se:void 0});else{let je=Bc(Z,N);await gt(ie,Z,{overrideNavigation:je,fetcherSubmission:B,preventScrollReset:W||ye,enableViewTransition:y?Se:void 0})}}async function gn(L,w,y,N){let B,W={};try{B=await Zb(p,L,w,N,y,!1)}catch(U){return w.filter(H=>H.shouldLoad).forEach(H=>{W[H.route.id]={type:"error",error:U}}),W}for(let[U,H]of Object.entries(B))if(o_(H)){let Z=H.result;W[U]={type:"redirect",response:n_(Z,L,U,w,c)}}else W[U]=await t_(H);return W}async function yr(L,w,y,N){let B=gn(y,L,N,null),W=Promise.all(w.map(async Z=>{if(Z.matches&&Z.match&&Z.request&&Z.controller){let te=(await gn(Z.request,Z.matches,N,Z.key))[Z.match.route.id];return{[Z.key]:te}}else return Promise.resolve({[Z.key]:{type:"error",error:$n(404,{pathname:Z.path})}})})),U=await B,H=(await W).reduce((Z,ie)=>Object.assign(Z,ie),{});return{loaderResults:U,fetcherResults:H}}function Vt(){ue=!0,M.forEach((L,w)=>{xe.has(w)&&pe.add(w),rt(w)})}function G(L,w,y={}){k.fetchers.set(L,w),me({fetchers:new Map(k.fetchers)},{flushSync:(y&&y.flushSync)===!0})}function se(L,w,y,N={}){let B=ki(k.matches,w);Fe(L),me({errors:{[B.route.id]:y},fetchers:new Map(k.fetchers)},{flushSync:(N&&N.flushSync)===!0})}function Ne(L){return K.set(L,(K.get(L)||0)+1),E.has(L)&&E.delete(L),k.fetchers.get(L)||Wb}function Fe(L){let w=k.fetchers.get(L);xe.has(L)&&!(w&&w.state==="loading"&&he.has(L))&&rt(L),M.delete(L),he.delete(L),S.delete(L),E.delete(L),pe.delete(L),k.fetchers.delete(L)}function Ue(L){let w=(K.get(L)||0)-1;w<=0?(K.delete(L),E.add(L)):K.set(L,w),me({fetchers:new Map(k.fetchers)})}function rt(L){let w=xe.get(L);w&&(w.abort(),xe.delete(L))}function Ct(L){for(let w of L){let y=Ne(w),N=ni(y.data);k.fetchers.set(w,N)}}function Dt(){let L=[],w=!1;for(let y of S){let N=k.fetchers.get(y);Ve(N,`Expected fetcher: ${y}`),N.state==="loading"&&(S.delete(y),L.push(y),w=!0)}return Ct(L),w}function vn(L){let w=[];for(let[y,N]of he)if(N<L){let B=k.fetchers.get(y);Ve(B,`Expected fetcher: ${y}`),B.state==="loading"&&(rt(y),he.delete(y),w.push(y))}return Ct(w),w.length>0}function jn(L,w){let y=k.blockers.get(L)||po;return Te.get(L)!==w&&Te.set(L,w),y}function ct(L){k.blockers.delete(L),Te.delete(L)}function Ft(L,w){let y=k.blockers.get(L)||po;Ve(y.state==="unblocked"&&w.state==="blocked"||y.state==="blocked"&&w.state==="blocked"||y.state==="blocked"&&w.state==="proceeding"||y.state==="blocked"&&w.state==="unblocked"||y.state==="proceeding"&&w.state==="unblocked",`Invalid blocker state transition: ${y.state} -> ${w.state}`);let N=new Map(k.blockers);N.set(L,w),me({blockers:N})}function Rt({currentLocation:L,nextLocation:w,historyAction:y}){if(Te.size===0)return;Te.size>1&&_t(!1,"A router only supports one blocker at a time");let N=Array.from(Te.entries()),[B,W]=N[N.length-1],U=k.blockers.get(B);if(!(U&&U.state==="proceeding")&&W({currentLocation:L,nextLocation:w,historyAction:y}))return B}function or(L){let w=$n(404,{pathname:L}),y=d||u,{matches:N,route:B}=Qm(y);return{notFoundMatches:N,route:B,error:w}}function xr(L,w,y){if(x=L,R=w,T=y||null,!A&&k.navigation===$c){A=!0;let N=Nn(k.location,k.matches);N!=null&&me({restoreScrollPosition:N})}return()=>{x=null,R=null,T=null}}function Hn(L,w){return T&&T(L,w.map(N=>_b(N,k.loaderData)))||L.key}function Vn(L,w){if(x&&R){let y=Hn(L,w);x[y]=R()}}function Nn(L,w){if(x){let y=Hn(L,w),N=x[y];if(typeof N=="number")return N}return null}function Wn(L,w,y){if(e.patchRoutesOnNavigation)if(L){if(Object.keys(L[0].params).length>0)return{active:!0,matches:ss(w,y,c,!0)}}else return{active:!0,matches:ss(w,y,c,!0)||[]};return{active:!1,matches:null}}async function Yn(L,w,y,N){if(!e.patchRoutesOnNavigation)return{type:"success",matches:L};let B=L;for(;;){let W=d==null,U=d||u,H=a;try{await e.patchRoutesOnNavigation({signal:y,path:w,matches:B,fetcherKey:N,patch:(te,be)=>{y.aborted||Um(te,be,U,H,l)}})}catch(te){return{type:"error",error:te,partialMatches:B}}finally{W&&!y.aborted&&(u=[...u])}if(y.aborted)return{type:"aborted"};let Z=Lr(U,w,c);if(Z)return{type:"success",matches:Z};let ie=ss(U,w,c,!0);if(!ie||B.length===ie.length&&B.every((te,be)=>te.route.id===ie[be].route.id))return{type:"success",matches:null};B=ie}}function si(L){a={},d=gs(L,l,void 0,a)}function lr(L,w){let y=d==null;Um(L,w,d||u,a,l),y&&(u=[...u],me({}))}return J={get basename(){return c},get future(){return m},get state(){return k},get routes(){return u},get window(){return t},initialize:Be,subscribe:ee,enableScrollRestoration:xr,navigate:ut,fetch:Qt,revalidate:Ge,createHref:L=>e.history.createHref(L),encodeLocation:L=>e.history.encodeLocation(L),getFetcher:Ne,deleteFetcher:Ue,dispose:Y,getBlocker:jn,deleteBlocker:ct,patchRoutes:lr,_internalFetchControllers:xe,_internalSetRoutes:si},J}function Kb(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Sd(e,t,n,o,l,a){let u,d;if(l){u=[];for(let p of t)if(u.push(p),p.route.id===l){d=p;break}}else u=t,d=t[t.length-1];let c=Ds(o||".",Ms(u),pn(e.pathname,n)||e.pathname,a==="path");if(o==null&&(c.search=e.search,c.hash=e.hash),(o==null||o===""||o===".")&&d){let p=of(c.search);if(d.route.index&&!p)c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index";else if(!d.route.index&&p){let m=new URLSearchParams(c.search),v=m.getAll("index");m.delete("index"),v.filter(x=>
41x).forEach(x=>m.append("index",x));let b=m.toString();c.search=b?`?${b}`:""}}return n!=="/"&&(c.pathname=c.pathname==="/"?n:hr([n,c.pathname])),oi(c)}function $m(e,t,n){if(!n||!Kb(n))return{path:t};if(n.formMethod&&!l_(n.formMethod))return{path:t,error:$n(405,{method:n.formMethod})};let o=()=>({path:t,error:$n(400,{type:"invalid-body"})}),a=(n.formMethod||"get").toUpperCase(),u=ny(t);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!En(a))return o();let v=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((b,[x,T])=>`${b}${x}=${T} 42`,""):String(n.body);return{path:t,submission:{formMethod:a,formAction:u,formEncType:n.formEncType,formData:void 0,json:void 0,text:v}}}else if(n.formEncType==="application/json"){if(!En(a))return o();try{let v=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:a,formAction:u,formEncType:n.formEncType,formData:void 0,json:v,text:void 0}}}catch{return o()}}}Ve(typeof FormData=="function","FormData is not available in this environment");let d,c;if(n.formData)d=Cd(n.formData),c=n.formData;else if(n.body instanceof FormData)d=Cd(n.body),c=n.body;else if(n.body instanceof URLSearchParams)d=n.body,c=Ym(d);else if(n.body==null)d=new URLSearchParams,c=new FormData;else try{d=new URLSearchParams(n.body),c=Ym(d)}catch{return o()}let p={formMethod:a,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:c,json:void 0,text:void 0};if(En(p.formMethod))return{path:t,submission:p};let m=li(t);return e&&m.search&&of(m.search)&&d.append("index",""),m.search=`?${d}`,{path:oi(m),submission:p}}function Bm(e,t,n,o,l,a,u,d,c,p,m,v,b,x,T,R,A,P,D){let O=D?kn(D[1])?D[1].error:D[1].data:void 0,X=l.createURL(a.location),J=l.createURL(c),k;if(m&&a.errors){let q=Object.keys(a.errors)[0];k=u.findIndex(Q=>Q.route.id===q)}else if(D&&kn(D[1])){let q=D[0];k=u.findIndex(Q=>Q.route.id===q)-1}let le=D?D[1].statusCode:void 0,ye=le&&le>=400,fe={currentUrl:X,currentParams:a.matches[0]?.params||{},nextUrl:J,nextParams:u[0].params,...d,actionResult:O,actionStatus:le},Se=u.map((q,Q)=>{let{route:ue}=q,pe=null;if(k!=null&&Q>k?pe=!1:ue.lazy?pe=!0:ue.loader==null?pe=!1:m?pe=kd(ue,a.loaderData,a.errors):Xb(a.loaderData,a.matches[Q],q)&&(pe=!0),pe!==null)return Ed(n,o,e,q,p,t,pe);let xe=ye?!1:v||X.pathname+X.search===J.pathname+J.search||X.search!==J.search||Qb(a.matches[Q],q),ve={...fe,defaultShouldRevalidate:xe},ne=xs(q,ve);return Ed(n,o,e,q,p,t,ne,ve)}),ge=[];return T.forEach((q,Q)=>{if(m||!u.some(S=>S.route.id===q.routeId)||x.has(Q))return;let ue=Lr(A,q.path,P);if(!ue){ge.push({key:Q,routeId:q.routeId,path:q.path,matches:null,match:null,request:null,controller:null});return}if(R.has(Q))return;let pe=a.fetchers.get(Q),xe=wl(ue,q.path),ve=new AbortController,ne=ho(l,q.path,ve.signal),he=null;if(b.has(Q))b.delete(Q),he=vo(n,o,ne,ue,xe,p,t);else if(pe&&pe.state!=="idle"&&pe.data===void 0)v&&(he=vo(n,o,ne,ue,xe,p,t));else{let S={...fe,defaultShouldRevalidate:ye?!1:v};xs(xe,S)&&(he=vo(n,o,ne,ue,xe,p,t,S))}he&&ge.push({key:Q,routeId:q.routeId,path:q.path,matches:he,match:xe,request:ne,controller:ve})}),{dsMatches:Se,revalidatingFetchers:ge}}function kd(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let o=t!=null&&t[e.id]!==void 0,l=n!=null&&n[e.id]!==void 0;return!o&&l?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!o&&!l}function Xb(e,t,n){let o=!t||n.route.id!==t.route.id,l=!e.hasOwnProperty(n.route.id);return o||l}function Qb(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function xs(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function Um(e,t,n,o,l){let a;if(e){let c=o[e];Ve(c,`No route found to patch children into: routeId = ${e}`),c.children||(c.children=[]),a=c.children}else a=n;let u=t.filter(c=>!a.some(p=>Jv(c,p))),d=gs(u,l,[e||"_","patch",String(a?.length||"0")],o);a.push(...d)}function Jv(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,o)=>t.children?.some(l=>Jv(n,l))):!1}var jm=new WeakMap,qv=({key:e,route:t,manifest:n,mapRouteProperties:o})=>{let l=n[t.id];if(Ve(l,"No route found in manifest"),!l.lazy||typeof l.lazy!="object")return;let a=l.lazy[e];if(!a)return;let u=jm.get(l);u||(u={},jm.set(l,u));let d=u[e];
42if(d)return d;let c=(async()=>{let p=yb(e),v=l[e]!==void 0&&e!=="hasErrorBoundary";if(p)_t(!p,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),u[e]=Promise.resolve();else if(v)_t(!1,`Route "${l.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let b=await a();b!=null&&(Object.assign(l,{[e]:b}),Object.assign(l,o(l)))}typeof l.lazy=="object"&&(l.lazy[e]=void 0,Object.values(l.lazy).every(b=>b===void 0)&&(l.lazy=void 0))})();return u[e]=c,c},Hm=new WeakMap;function Jb(e,t,n,o,l){let a=n[e.id];if(Ve(a,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let m=Hm.get(a);if(m)return{lazyRoutePromise:m,lazyHandlerPromise:m};let v=(async()=>{Ve(typeof e.lazy=="function","No lazy route function found");let b=await e.lazy(),x={};for(let T in b){let R=b[T];if(R===void 0)continue;let A=wb(T),D=a[T]!==void 0&&T!=="hasErrorBoundary";A?_t(!A,"Route property "+T+" is not a supported property to be returned from a lazy route function. This property will be ignored."):D?_t(!D,`Route "${a.id}" has a static property "${T}" defined but its lazy function is also returning a value for this property. The lazy route property "${T}" will be ignored.`):x[T]=R}Object.assign(a,x),Object.assign(a,{...o(a),lazy:void 0})})();return Hm.set(a,v),v.catch(()=>{}),{lazyRoutePromise:v,lazyHandlerPromise:v}}let u=Object.keys(e.lazy),d=[],c;for(let m of u){if(l&&l.includes(m))continue;let v=qv({key:m,route:e,manifest:n,mapRouteProperties:o});v&&(d.push(v),m===t&&(c=v))}let p=d.length>0?Promise.all(d).then(()=>{}):void 0;return p?.catch(()=>{}),c?.catch(()=>{}),{lazyRoutePromise:p,lazyHandlerPromise:c}}async function Vm(e){let t=e.matches.filter(l=>l.shouldLoad),n={};return(await Promise.all(t.map(l=>l.resolve()))).forEach((l,a)=>{n[t[a].route.id]=l}),n}async function qb(e){return e.matches.some(t=>t.route.unstable_middleware)?Zv(e,!1,()=>Vm(e),(t,n)=>({[n]:{type:"error",result:t}})):Vm(e)}async function Zv(e,t,n,o){let{matches:l,request:a,params:u,context:d}=e,c={handlerResult:void 0};try{let p=l.flatMap(v=>v.route.unstable_middleware?v.route.unstable_middleware.map(b=>[v.route.id,b]):[]),m=await ey({request:a,params:u,context:d},p,t,c,n);return t?m:c.handlerResult}catch(p){if(!c.middlewareError)throw p;let m=await o(c.middlewareError.error,c.middlewareError.routeId);return c.handlerResult?Object.assign(c.handlerResult,m):m}}async function ey(e,t,n,o,l,a=0){let{request:u}=e;if(u.signal.aborted)throw u.signal.reason?u.signal.reason:new Error(`Request aborted without an \`AbortSignal.reason\`: ${u.method} ${u.url}`);let d=t[a];if(!d)return o.handlerResult=await l(),o.handlerResult;let[c,p]=d,m=!1,v,b=async()=>{if(m)throw new Error("You may only call `next()` once per middleware");m=!0,await ey(e,t,n,o,l,a+1)};try{let x=await p({request:e.request,params:e.params,context:e.context},b);return m?x===void 0?v:x:b()}catch(x){throw o.middlewareError?o.middlewareError.error!==x&&(o.middlewareError={routeId:c,error:x}):o.middlewareError={routeId:c,error:x},x}}function ty(e,t,n,o,l){let a=qv({key:"unstable_middleware",route:o.route,manifest:t,mapRouteProperties:e}),u=Jb(o.route,En(n.method)?"action":"loader",t,e,l);return{middleware:a,route:u.lazyRoutePromise,handler:u.lazyHandlerPromise}}function Ed(e,t,n,o,l,a,u,d=null){let c=!1,p=ty(e,t,n,o,l);return{...o,_lazyPromises:p,shouldLoad:u,unstable_shouldRevalidateArgs:d,unstable_shouldCallHandler(m){return c=!0,d?typeof m=="boolean"?xs(o,{...d,defaultShouldRevalidate:m}):xs(o,d):u},resolve(m){return c||u||m&&n.method==="GET"&&(o.route.lazy||o.route.loader)?e_({request:n,match:o,lazyHandlerPromise:p?.handler,lazyRoutePromise:p?.route,handlerOverride:m,scopedContext:a}):Promise.resolve({type:"data",result:void 0})}}}function vo(e,t,n,o,l,a,u,d=null){return o.map(c=>c.route.id!==l.route.id?{...c,shouldLoad:!1,unstable_shouldRevalidateArgs:d,unstable_shouldCallHandler:()=>!1,_lazyPromises:ty(e,t,n,c,a),resolve:()=>Promise.resolve({type:"data",result:void 0})}:Ed(e,t,n,c,a,u,!0,d))}async function Zb(e,t,n,o,l,a){n.some(p=>p._lazyPromises?.middleware)&&await Promise.all(n.map(p=>p._lazyPromises?.middleware));let u={request:t,params:n[0].params,context:l,matches:n},c=await e({...u,fetcherKey:o,unstable_runClientMiddleware:p=>{let m=u;return Zv(m,!1,()=>p({...m,fetcherKey:o,unstable_runClientMiddleware:()=>{throw new Error("Cannot call `unstable_runClientMiddleware()` from within an `unstable_runClientMiddleware` handler")}}),(v,b)=>({[b]:{type:"error",result:v}}))}});try{await Promise.all(n.flatMap(p=>[p._lazyPromises?.handler,p._lazyPromises?.route]))}catch{}return c}async function e_({request:e,match:t,lazyHandlerPromise:n,lazyRoutePromise:o,handlerOverride:l,scopedContext:a}){let u,d,c=En(e.method),p=c?"action":"loader",m=v=>{let b,x=new Promise((A,P)=>b=P);d=()=>b(),e.signal.addEventListener("abort",d);let T=A=>typeof v!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${p}" [routeId: ${t.route.id}]`)):v({request:e,params:t.params,context:a},...A!==void 0?[A]:[]),R=(async()=>{try{return{type:"data",result:await(l?l(P=>T(P)):T())}}catch(A){return{type:"error",result:A}}})();return Promise.race([R,x])};try{let v=c?t.route.action:t.route.loader;if(n||o)if(v){let b,[x]=await Promise.all([m(v).catch(T=>{b=T}),n,o]);if(b!==void 0)throw b;u=x}else{await n;let b=c?t.route.action:t.route.loader;if(b)[u]=await Promise.all([m(b),o]);else if(p==="action"){let x=new URL(e.url),T=x.pathname+x.search;throw $n(405,{method:e.method,pathname:T,routeId:t.route.id})}else return{type:"data",result:void 0}}else if(v)u=await m(v);else{let b=new URL(e.url),x=b.pathname+b.search;throw $n(404,{pathname:x})}}catch(v){return{type:"error",result:v}}finally{d&&e.signal.removeEventListener("abort",d)}return u}async function t_(e){let{result:t,type:n}=e;if(ry(t)){let o;try{let l=t.headers.get("Content-Type");l&&/\bapplication\/json\b/.test(l)?t.body==null?o=null:o=await t.json():o=await t.text()}catch(l){return{type:"error",error:l}}return n==="error"?{type:"error",error:new ys(t.status,t.statusText,o),statusCode:t.status,headers:t.headers}:{type:"data",data:o,statusCode:t.status,headers:t.headers}}return n==="error"?Jm(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}
42:{type:"error",error:new ys(t.init?.status||500,void 0,t.data),statusCode:Rl(t)?t.status:void 0,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:Rl(t)?t.status:void 0}:Jm(t)?{type:"data",data:t.data,statusCode:t.init?.status,headers:t.init?.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function n_(e,t,n,o,l){let a=e.headers.get("Location");if(Ve(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!rf.test(a)){let u=o.slice(0,o.findIndex(d=>d.route.id===n)+1);a=Sd(new URL(t.url),u,l,a),e.headers.set("Location",a)}return e}function Wm(e,t,n){if(rf.test(e)){let o=e,l=o.startsWith("//")?new URL(t.protocol+o):new URL(o),a=pn(l.pathname,n)!=null;if(l.origin===t.origin&&a)return l.pathname+l.search+l.hash}return e}function ho(e,t,n,o){let l=e.createURL(ny(t)).toString(),a={signal:n};if(o&&En(o.formMethod)){let{formMethod:u,formEncType:d}=o;a.method=u.toUpperCase(),d==="application/json"?(a.headers=new Headers({"Content-Type":d}),a.body=JSON.stringify(o.json)):d==="text/plain"?a.body=o.text:d==="application/x-www-form-urlencoded"&&o.formData?a.body=Cd(o.formData):a.body=o.formData}return new Request(l,a)}function Cd(e){let t=new URLSearchParams;for(let[n,o]of e.entries())t.append(n,typeof o=="string"?o:o.name);return t}function Ym(e){let t=new FormData;for(let[n,o]of e.entries())t.append(n,o);return t}function r_(e,t,n,o=!1,l=!1){let a={},u=null,d,c=!1,p={},m=n&&kn(n[1])?n[1].error:void 0;return e.forEach(v=>{if(!(v.route.id in t))return;let b=v.route.id,x=t[b];if(Ve(!Ei(x),"Cannot handle redirect results in processLoaderData"),kn(x)){let T=x.error;if(m!==void 0&&(T=m,m=void 0),u=u||{},l)u[b]=T;else{let R=ki(e,b);u[R.route.id]==null&&(u[R.route.id]=T)}o||(a[b]=Qv),c||(c=!0,d=Rl(x.error)?x.error.status:500),x.headers&&(p[b]=x.headers)}else a[b]=x.data,x.statusCode&&x.statusCode!==200&&!c&&(d=x.statusCode),x.headers&&(p[b]=x.headers)}),m!==void 0&&n&&(u={[n[0]]:m},a[n[0]]=void 0),{loaderData:a,errors:u,statusCode:d||200,loaderHeaders:p}}function Gm(e,t,n,o,l,a){let{loaderData:u,errors:d}=r_(t,n,o);return l.filter(c=>!c.matches||c.matches.some(p=>p.shouldLoad)).forEach(c=>{let{key:p,match:m,controller:v}=c,b=a[p];if(Ve(b,"Did not find corresponding fetcher result"),!(v&&v.signal.aborted))if(kn(b)){let x=ki(e.matches,m?.route.id);d&&d[x.route.id]||(d={...d,[x.route.id]:b.error}),e.fetchers.delete(p)}else if(Ei(b))Ve(!1,"Unhandled fetcher revalidation redirect");else{let x=ni(b.data);e.fetchers.set(p,x)}}),{loaderData:u,errors:d}}function Km(e,t,n,o){let l=Object.entries(t).filter(([,a])=>a!==Qv).reduce((a,[u,d])=>(a[u]=d,a),{});for(let a of n){let u=a.route.id;if(!t.hasOwnProperty(u)&&e.hasOwnProperty(u)&&a.route.loader&&(l[u]=e[u]),o&&o.hasOwnProperty(u))break}return l}function Xm(e){return e?kn(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function ki(e,t){return(t?e.slice(0,e.findIndex(o=>o.route.id===t)+1):[...e]).reverse().find(o=>o.route.hasErrorBoundary===!0)||e[0]}function Qm(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function $n(e,{pathname:t,routeId:n,method:o,type:l,message:a}={}){let u="Unknown Server Error",d="Unknown @remix-run/router error";return e===400?(u="Bad Request",o&&t&&n?d=`You made a ${o} request to "${t}" but did not provide a \`loader\` for route "${n}", so there is no way to handle the request.`:l==="invalid-body"&&(d="Unable to encode submission body")):e===403?(u="Forbidden",d=`Route "${n}" does not match URL "${t}"`):e===404?(u="Not Found",d=`No route matches URL "${t}"`):e===405&&(u="Method Not Allowed",o&&t&&n?d=`You made a ${o.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${n}", so there is no way to handle the request.`:o&&(d=`Invalid request method "${o.toUpperCase()}"`)),new ys(e||500,u,new Error(d),!0)}function Xa(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[o,l]=t[n];if(Ei(l))return{key:o,result:l}}}function ny(e){let t=typeof e=="string"?li(e):e;return oi({...t,hash:""})}function i_(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function o_(e){return ry(e.result)&&Hb.has(e.result.status)}function kn(e){return e.type==="error"}function Ei(e){return(e&&e.type)==="redirect"}function Jm(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function ry(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function l_(e){return jb.has(e.toUpperCase())}function En(e){return Bb.has(e.toUpperCase())}function of(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function wl(e,t){let n=typeof t=="string"?li(t).search:t.search;if(e[e.length-1].route.index&&of(n||""))return e[e.length-1];let o=Gv(e);return o[o.length-1]}function qm(e){let{formMethod:t,formAction:n,formEncType:o,text:l,formData:a,json:u}=e;if(!(!t||!n||!o)){if(l!=null)return{formMethod:t,formAction:n,formEncType:o,formData:void 0,json:void 0,text:l};if(a!=null)return{formMethod:t,formAction:n,formEncType:o,formData:a,json:void 0,text:void 0};if(u!==void 0)return{formMethod:t,formAction:n,formEncType:o,formData:void 0,json:u,text:void 0}}}function Bc(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function a_(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function cl(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function s_(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function ni(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function u_(e,t){try{let n=e.sessionStorage.getItem(Xv);if(n){let o=JSON.parse(n);for(let[l,a]of Object.entries(o||{}))a&&Array.isArray(a)&&t.set(l,new Set(a||[]))}}catch{}}function c_(e,t){if(t.size>0){let n={};for(let[o,l]of t)n[o]=[...l];try{e.sessionStorage.setItem(Xv,JSON.stringify(n))}catch(o){_t(!1,`Failed to save applied view transitions in sessionStorage (${o}).`)}}}function d_(){let e,t,n=new Promise((o,l)=>{e=async a=>{o(a);try{await n}catch{}},t=async a=>{l(a);try{await n}catch{}}});return{promise:n,resolve:e,reject:t}}var Mi=F.createContext(null);Mi.displayName="DataRouter";var Fl=F.createContext(null);Fl.displayName="DataRouterState";var lf=F.createContext({isTransitioning:!1});
42lf.displayName="ViewTransition";var iy=F.createContext(new Map);iy.displayName="Fetchers";var f_=F.createContext(null);f_.displayName="Await";var rr=F.createContext(null);rr.displayName="Navigation";var Fs=F.createContext(null);Fs.displayName="Location";var ir=F.createContext({outlet:null,matches:[],isDataRoute:!1});ir.displayName="Route";var af=F.createContext(null);af.displayName="RouteError";function oy(e,{relative:t}={}){Ve(Eo(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:o}=F.useContext(rr),{hash:l,pathname:a,search:u}=$l(e,{relative:t}),d=a;return n!=="/"&&(d=a==="/"?n:hr([n,a])),o.createHref({pathname:d,search:u,hash:l})}function Eo(){return F.useContext(Fs)!=null}function gr(){return Ve(Eo(),"useLocation() may be used only in the context of a <Router> component."),F.useContext(Fs).location}var ly="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ay(e){F.useContext(rr).static||F.useLayoutEffect(e)}function $s(){let{isDataRoute:e}=F.useContext(ir);return e?T_():p_()}function p_(){Ve(Eo(),"useNavigate() may be used only in the context of a <Router> component.");let e=F.useContext(Mi),{basename:t,navigator:n}=F.useContext(rr),{matches:o}=F.useContext(ir),{pathname:l}=gr(),a=JSON.stringify(Ms(o)),u=F.useRef(!1);return ay(()=>{u.current=!0}),F.useCallback((c,p={})=>{if(_t(u.current,ly),!u.current)return;if(typeof c=="number"){n.go(c);return}let m=Ds(c,JSON.parse(a),l,p.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:hr([t,m.pathname])),(p.replace?n.replace:n.push)(m,p.state,p)},[t,n,a,l,e])}var h_=F.createContext(null);function m_(e){let t=F.useContext(ir).outlet;return t&&F.createElement(h_.Provider,{value:e},t)}function $l(e,{relative:t}={}){let{matches:n}=F.useContext(ir),{pathname:o}=gr(),l=JSON.stringify(Ms(n));return F.useMemo(()=>Ds(e,JSON.parse(l),o,t==="path"),[e,l,o,t])}function g_(e,t,n,o){Ve(Eo(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:l,static:a}=F.useContext(rr),{matches:u}=F.useContext(ir),d=u[u.length-1],c=d?d.params:{},p=d?d.pathname:"/",m=d?d.pathnameBase:"/",v=d&&d.route;{let D=v&&v.path||"";cy(p,!v||D.endsWith("*")||D.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${p}" (under <Route path="${D}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 43 44Please change the parent <Route path="${D}"> to <Route path="${D==="/"?"*":`${D}/*`}">.`)}let b=gr(),x;x=b;let T=x.pathname||"/",R=T;if(m!=="/"){let D=m.replace(/^\//,"").split("/");R="/"+T.replace(/^\//,"").split("/").slice(D.length).join("/")}let A=!a&&n&&n.matches&&n.matches.length>0?n.matches:Lr(e,{pathname:R});return _t(v||A!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),_t(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),b_(A&&A.map(D=>Object.assign({},D,{params:Object.assign({},c,D.params),pathname:hr([m,l.encodeLocation?l.encodeLocation(D.pathname).pathname:D.pathname]),pathnameBase:D.pathnameBase==="/"?m:hr([m,l.encodeLocation?l.encodeLocation(D.pathnameBase).pathname:D.pathnameBase])})),u,n,o)}function v_(){let e=k_(),t=Rl(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",l={padding:"0.5rem",backgroundColor:o},a={padding:"2px 4px",backgroundColor:o},u=null;return console.error("Error handled by React Router default ErrorBoundary:",e),u=F.createElement(F.Fragment,null,F.createElement("p",null,"💿 Hey developer 👋"),F.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",F.createElement("code",{style:a},"ErrorBoundary")," or"," ",F.createElement("code",{style:a},"errorElement")," prop on your route.")),F.createElement(F.Fragment,null,F.createElement("h2",null,"Unexpected Application
44Error!"),F.createElement("h3",{style:{fontStyle:"italic"}},t),n?F.createElement("pre",{style:l},n):null,u)}var y_=F.createElement(v_,null),x_=class extends F.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?F.createElement(ir.Provider,{value:this.props.routeContext},F.createElement(af.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function w_({routeContext:e,match:t,children:n}){let o=F.useContext(Mi);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),F.createElement(ir.Provider,{value:e},n)}function b_(e,t=[],n=null,o=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let l=e,a=n?.errors;if(a!=null){let c=l.findIndex(p=>p.route.id&&a?.[p.route.id]!==void 0);Ve(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),l=l.slice(0,Math.min(l.length,c+1))}let u=!1,d=-1;if(n)for(let c=0;c<l.length;c++){let p=l[c];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(d=c),p.route.id){let{loaderData:m,errors:v}=n,b=p.route.loader&&!m.hasOwnProperty(p.route.id)&&(!v||v[p.route.id]===void 0);if(p.route.lazy||b){u=!0,d>=0?l=l.slice(0,d+1):l=[l[0]];break}}}return l.reduceRight((c,p,m)=>{let v,b=!1,x=null,T=null;n&&(v=a&&p.route.id?a[p.route.id]:void 0,x=p.route.errorElement||y_,u&&(d<0&&m===0?(cy("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),b=!0,T=null):d===m&&(b=!0,T=p.route.hydrateFallbackElement||null)));let R=t.concat(l.slice(0,m+1)),A=()=>{let P;return v?P=x:b?P=T:p.route.Component?P=F.createElement(p.route.Component,null):p.route.element?P=p.route.element:P=c,F.createElement(w_,{match:p,routeContext:{outlet:c,matches:R,isDataRoute:n!=null},children:P})};return n&&(p.route.ErrorBoundary||p.route.errorElement||m===0)?F.createElement(x_,{location:n.location,revalidation:n.revalidation,component:x,error:v,children:A(),routeContext:{outlet:null,matches:R,isDataRoute:!0}}):A()},null)}function sf(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function sy(e){let t=F.useContext(Mi);return Ve(t,sf(e)),t}function uy(e){let t=F.useContext(Fl);return Ve(t,sf(e)),t}function __(e){let t=F.useContext(ir);return Ve(t,sf(e)),t}function uf(e){let t=__(e),n=t.matches[t.matches.length-1];return Ve(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function S_(){return uf("useRouteId")}function k_(){let e=F.useContext(af),t=uy("useRouteError"),n=uf("useRouteError");return e!==void 0?e:t.errors?.[n]}var E_=0;function C_(e){let{router:t,basename:n}=sy("useBlocker"),o=uy("useBlocker"),[l,a]=F.useState(""),u=F.useCallback(d=>{if(typeof e!="function")return!!e;if(n==="/")return e(d);let{currentLocation:c,nextLocation:p,historyAction:m}=d;return e({currentLocation:{...c,pathname:pn(c.pathname,n)||c.pathname},nextLocation:{...p,pathname:pn(p.pathname,n)||p.pathname},historyAction:m})},[n,e]);return F.useEffect(()=>{let d=String(++E_);return a(d),()=>t.deleteBlocker(d)},[t]),F.useEffect(()=>{l!==""&&t.getBlocker(l,u)},[t,l,u]),l&&o.blockers.has(l)?o.blockers.get(l):po}function T_(){let{router:e}=sy("useNavigate"),t=uf("useNavigate"),n=F.useRef(!1);return ay(()=>{n.current=!0}),F.useCallback(async(l,a={})=>{_t(n.current,ly),n.current&&(typeof l=="number"?e.navigate(l):await e.navigate(l,{fromRouteId:t,...a}))},[e,t])}var Zm={};function cy(e,t,n){!t&&!Zm[e]&&(Zm[e]=!0,_t(!1,n))}var eg={};function tg(e,t){!e&&!eg[t]&&(eg[t]=!0,console.warn(t))}function P_(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&_t(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:F.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&_t(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:F.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&_t(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:F.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var A_=["HydrateFallback","hydrateFallbackElement"],R_=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>
44{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",e(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",t(n))}})}};function N_({router:e,flushSync:t}){let[n,o]=F.useState(e.state),[l,a]=F.useState(),[u,d]=F.useState({isTransitioning:!1}),[c,p]=F.useState(),[m,v]=F.useState(),[b,x]=F.useState(),T=F.useRef(new Map),R=F.useCallback((O,{deletedFetchers:X,flushSync:J,viewTransitionOpts:k})=>{O.fetchers.forEach((ye,fe)=>{ye.data!==void 0&&T.current.set(fe,ye.data)}),X.forEach(ye=>T.current.delete(ye)),tg(J===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let le=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(tg(k==null||le,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!k||!le){t&&J?t(()=>o(O)):F.startTransition(()=>o(O));return}if(t&&J){t(()=>{m&&(c&&c.resolve(),m.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:k.currentLocation,nextLocation:k.nextLocation})});let ye=e.window.document.startViewTransition(()=>{t(()=>o(O))});ye.finished.finally(()=>{t(()=>{p(void 0),v(void 0),a(void 0),d({isTransitioning:!1})})}),t(()=>v(ye));return}m?(c&&c.resolve(),m.skipTransition(),x({state:O,currentLocation:k.currentLocation,nextLocation:k.nextLocation})):(a(O),d({isTransitioning:!0,flushSync:!1,currentLocation:k.currentLocation,nextLocation:k.nextLocation}))},[e.window,t,m,c]);F.useLayoutEffect(()=>e.subscribe(R),[e,R]),F.useEffect(()=>{u.isTransitioning&&!u.flushSync&&p(new R_)},[u]),F.useEffect(()=>{if(c&&l&&e.window){let O=l,X=c.promise,J=e.window.document.startViewTransition(async()=>{F.startTransition(()=>o(O)),await X});J.finished.finally(()=>{p(void 0),v(void 0),a(void 0),d({isTransitioning:!1})}),v(J)}},[l,c,e.window]),F.useEffect(()=>{c&&l&&n.location.key===l.location.key&&c.resolve()},[c,m,n.location,l]),F.useEffect(()=>{!u.isTransitioning&&b&&(a(b.state),d({isTransitioning:!0,flushSync:!1,currentLocation:b.currentLocation,nextLocation:b.nextLocation}),x(void 0))},[u.isTransitioning,b]);let A=F.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:O=>e.navigate(O),push:(O,X,J)=>e.navigate(O,{state:X,preventScrollReset:J?.preventScrollReset}),replace:(O,X,J)=>e.navigate(O,{replace:!0,state:X,preventScrollReset:J?.preventScrollReset})}),[e]),P=e.basename||"/",D=F.useMemo(()=>({router:e,navigator:A,static:!1,basename:P}),[e,A,P]);return F.createElement(F.Fragment,null,F.createElement(Mi.Provider,{value:D},F.createElement(Fl.Provider,{value:n},F.createElement(iy.Provider,{value:T.current},F.createElement(lf.Provider,{value:u},F.createElement(z_,{basename:P,location:n.location,navigationType:n.historyAction,navigator:A},F.createElement(L_,{routes:e.routes,future:e.future,state:n})))))),null)}var L_=F.memo(I_);function I_({routes:e,future:t,state:n}){return g_(e,void 0,n,t)}function O_({to:e,replace:t,state:n,relative:o}){Ve(Eo(),"<Navigate> may be used only in the context of a <Router> component.");let{static:l}=F.useContext(rr);_t(!l,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=F.useContext(ir),{pathname:u}=gr(),d=$s(),c=Ds(e,Ms(a),u,o==="path"),p=JSON.stringify(c);return F.useEffect(()=>{d(JSON.parse(p),{replace:t,state:n,relative:o})},[d,p,o,t,n]),null}function TN(e){return m_(e.context)}function z_({basename:e="/",children:t=null,location:n,navigationType:o="POP",navigator:l,static:a=!1}){Ve(!Eo(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),d=F.useMemo(()=>({basename:u,navigator:l,static:a,future:{}}),[u,l,a]);typeof n=="string"&&(n=li(n));
44let{pathname:c="/",search:p="",hash:m="",state:v=null,key:b="default"}=n,x=F.useMemo(()=>{let T=pn(c,u);return T==null?null:{location:{pathname:T,search:p,hash:m,state:v,key:b},navigationType:o}},[u,c,p,m,v,b,o]);return _t(x!=null,`<Router basename="${u}"> is not able to match the URL "${c}${p}${m}" because it does not start with the basename, so the <Router> won't render anything.`),x==null?null:F.createElement(rr.Provider,{value:d},F.createElement(Fs.Provider,{children:t,value:x}))}var us="get",cs="application/x-www-form-urlencoded";function Bs(e){return e!=null&&typeof e.tagName=="string"}function M_(e){return Bs(e)&&e.tagName.toLowerCase()==="button"}function D_(e){return Bs(e)&&e.tagName.toLowerCase()==="form"}function F_(e){return Bs(e)&&e.tagName.toLowerCase()==="input"}function $_(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function B_(e,t){return e.button===0&&(!t||t==="_self")&&!$_(e)}var Qa=null;function U_(){if(Qa===null)try{new FormData(document.createElement("form"),0),Qa=!1}catch{Qa=!0}return Qa}var j_=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Uc(e){return e!=null&&!j_.has(e)?(_t(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${cs}"`),null):e}function H_(e,t){let n,o,l,a,u;if(D_(e)){let d=e.getAttribute("action");o=d?pn(d,t):null,n=e.getAttribute("method")||us,l=Uc(e.getAttribute("enctype"))||cs,a=new FormData(e)}else if(M_(e)||F_(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let c=e.getAttribute("formaction")||d.getAttribute("action");if(o=c?pn(c,t):null,n=e.getAttribute("formmethod")||d.getAttribute("method")||us,l=Uc(e.getAttribute("formenctype"))||Uc(d.getAttribute("enctype"))||cs,a=new FormData(d,e),!U_()){let{name:p,type:m,value:v}=e;if(m==="image"){let b=p?`${p}.`:"";a.append(`${b}x`,"0"),a.append(`${b}y`,"0")}else p&&a.append(p,v)}}else{if(Bs(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=us,o=null,l=cs,u=e}return a&&l==="text/plain"&&(u=a,a=void 0),{action:o,method:n.toLowerCase(),encType:l,formData:a,body:u}}function cf(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function V_(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function W_(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Y_(e,t,n){let o=await Promise.all(e.map(async l=>{let a=t.routes[l.route.id];if(a){let u=await V_(a,n);return u.links?u.links():[]}return[]}));return Q_(o.flat(1).filter(W_).filter(l=>l.rel==="stylesheet"||l.rel==="preload").map(l=>l.rel==="stylesheet"?{...l,rel:"prefetch",as:"style"}:{...l,rel:"prefetch"}))}function ng(e,t,n,o,l,a){let u=(c,p)=>n[p]?c.route.id!==n[p].route.id:!0,d=(c,p)=>n[p].pathname!==c.pathname||n[p].route.path?.endsWith("*")&&n[p].params["*"]!==c.params["*"];return a==="assets"?t.filter((c,p)=>u(c,p)||d(c,p)):a==="data"?t.filter((c,p)=>{let m=o.routes[c.route.id];if(!m||!m.hasLoader)return!1;if(u(c,p)||d(c,p))return!0;if(c.route.shouldRevalidate){let v=c.route.shouldRevalidate({currentUrl:new URL(l.pathname+l.search+l.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:c.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function G_(e,t,{includeHydrateFallback:n}={}){return K_(e.map(o=>{let l=t.routes[o.route.id];if(!l)return[];let a=[l.module];return l.clientActionModule&&(a=a.concat(l.clientActionModule)),l.clientLoaderModule&&(a=a.concat(l.clientLoaderModule)),n&&l.hydrateFallbackModule&&(a=a.concat(l.hydrateFallbackModule)),l.imports&&(a=a.concat(l.imports)),a}).flat(1))}function K_(e){return[...new Set(e)]}function X_(e){let t={},n=Object.keys(e).sort();for(let o of n)t[o]=e[o];return t}function Q_(e,t){let n=new Set;return new Set(t),e.reduce((o,l)=>{let a=JSON.stringify(X_(l));return n.has(a)||(n.add(a),o.push({key:a,link:l})),o},[])}var J_=new Set([100,101,204,205]);function q_(e,t){let n=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n.pathname==="/"?n.pathname="_root.data":t&&pn(n.pathname,t)==="/"?n.pathname=`${t.replace(/\/$/,"")}/_root.data`:n.pathname=`${n.pathname.replace(/\/$/,"")}.data`,n}function dy(){let e=F.useContext(Mi);return cf(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Z_(){let e=F.useContext(Fl);return cf(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var df=F.createContext(void 0);df.displayName="FrameworkContext";function fy(){let e=F.useContext(df);return cf(e,"You must render this element inside a <HydratedRouter> element"),e}function e1(e,t){let n=F.useContext(df),[o,l]=F.useState(!1),[a,u]=F.useState(!1),{onFocus:d,onBlur:c,onMouseEnter:p,onMouseLeave:m,onTouchStart:v}=t,b=F.useRef(null);F.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let R=P=>{P.forEach(D=>{u(D.isIntersecting)})},A=new IntersectionObserver(R,{threshold:.5});return b.current&&A.observe(b.current),()=>{A.disconnect()}}},[e]),F.useEffect(()=>{if(o){let R=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(R)}}},[o]);let x=()=>{l(!0)},T=()=>{l(!1),u(!1)};return n?e!=="intent"?[a,b,{}]:[a,b,{onFocus:dl(d,x),onBlur:dl(c,T),onMouseEnter:dl(p,x),onMouseLeave:dl(m,T),onTouchStart:dl(v,x)}]:[!1,b,{}]}function dl(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function t1({page:e,...t}){let{router:n}=dy(),o=F.useMemo(()=>Lr(n.routes,e,n.basename),[n.routes,e,n.basename]);return o?F.createElement(r1,{page:e,matches:o,...t}):null}function n1(e){let{manifest:t,routeModules:n}=fy(),[o,l]=F.useState([]);return F.useEffect(()=>{let a=!1;return Y_(e,t,n).then(u=>{a||l(u)}),()=>{a=!0}},[e,t,n]),o}function r1({page:e,matches:t,...n}){let o=gr(),{manifest:l,routeModules:a}=fy(),{basename:u}=dy(),{loaderData:d,matches:c}=Z_(),p=F.useMemo(()=>ng(e,t,c,l,o,"data"),[e,t,c,l,o]),m=F.useMemo(()=>ng(e,t,c,l,o,"assets"),[e,t,c,l,o]),v=F.useMemo(()=>
44{if(e===o.pathname+o.search+o.hash)return[];let T=new Set,R=!1;if(t.forEach(P=>{let D=l.routes[P.route.id];!D||!D.hasLoader||(!p.some(O=>O.route.id===P.route.id)&&P.route.id in d&&a[P.route.id]?.shouldRevalidate||D.hasClientLoader?R=!0:T.add(P.route.id))}),T.size===0)return[];let A=q_(e,u);return R&&T.size>0&&A.searchParams.set("_routes",t.filter(P=>T.has(P.route.id)).map(P=>P.route.id).join(",")),[A.pathname+A.search]},[u,d,o,l,p,t,e,a]),b=F.useMemo(()=>G_(m,l),[m,l]),x=n1(m);return F.createElement(F.Fragment,null,v.map(T=>F.createElement("link",{key:T,rel:"prefetch",as:"fetch",href:T,...n})),b.map(T=>F.createElement("link",{key:T,rel:"modulepreload",href:T,...n})),x.map(({key:T,link:R})=>F.createElement("link",{key:T,...R})))}function i1(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var py=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{py&&(window.__reactRouterVersion="7.5.2")}catch{}function o1(e,t){return Gb({basename:t?.basename,unstable_getContext:t?.unstable_getContext,future:t?.future,history:hb({window:t?.window}),hydrationData:t?.hydrationData||l1(),routes:e,mapRouteProperties:P_,hydrationRouteProperties:A_,dataStrategy:t?.dataStrategy,patchRoutesOnNavigation:t?.patchRoutesOnNavigation,window:t?.window}).initialize()}function l1(){let e=window?.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:a1(e.errors)}),e}function a1(e){if(!e)return null;let t=Object.entries(e),n={};for(let[o,l]of t)if(l&&l.__type==="RouteErrorResponse")n[o]=new ys(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let a=window[l.__subType];if(typeof a=="function")try{let u=new a(l.message);u.stack="",n[o]=u}catch{}}if(n[o]==null){let a=new Error(l.message);a.stack="",n[o]=a}}else n[o]=l;return n}var hy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,my=F.forwardRef(function({onClick:t,discover:n="render",prefetch:o="none",relative:l,reloadDocument:a,replace:u,state:d,target:c,to:p,preventScrollReset:m,viewTransition:v,...b},x){let{basename:T}=F.useContext(rr),R=typeof p=="string"&&hy.test(p),A,P=!1;if(typeof p=="string"&&R&&(A=p,py))try{let fe=new URL(window.location.href),Se=p.startsWith("//")?new URL(fe.protocol+p):new URL(p),ge=pn(Se.pathname,T);Se.origin===fe.origin&&ge!=null?p=ge+Se.search+Se.hash:P=!0}catch{_t(!1,`<Link to="${p}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let D=oy(p,{relative:l}),[O,X,J]=e1(o,b),k=d1(p,{replace:u,state:d,target:c,preventScrollReset:m,relative:l,viewTransition:v});function le(fe){t&&t(fe),fe.defaultPrevented||k(fe)}let ye=F.createElement("a",{...b,...J,href:A||D,onClick:P||a?t:le,ref:i1(x,X),target:c,"data-discover":!R&&n==="render"?"true":void 0});return O&&!R?F.createElement(F.Fragment,null,ye,F.createElement(t1,{page:D})):ye});my.displayName="Link";var s1=F.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:o="",end:l=!1,style:a,to:u,viewTransition:d,children:c,...p},m){let v=$l(u,{relative:p.relative}),b=gr(),x=F.useContext(Fl),{navigator:T,basename:R}=F.useContext(rr),A=x!=null&&g1(v)&&d===!0,P=T.encodeLocation?T.encodeLocation(v).pathname:v.pathname,D=b.pathname,O=x&&x.navigation&&x.navigation.location?x.navigation.location.pathname:null;n||(D=D.toLowerCase(),O=O?O.toLowerCase():null,P=P.toLowerCase()),O&&R&&(O=pn(O,R)||O);const X=P!=="/"&&P.endsWith("/")?P.length-1:P.length;let J=D===P||!l&&D.startsWith(P)&&D.charAt(X)==="/",k=O!=null&&(O===P||!l&&O.startsWith(P)&&O.charAt(P.length)==="/"),le={isActive:J,isPending:k,isTransitioning:A},ye=J?t:void 0,fe;typeof o=="function"?fe=o(le):fe=[o,J?"active":null,k?"pending":null,A?"transitioning":null].filter(Boolean).join(" ");let Se=typeof a=="function"?a(le):a;return F.createElement(my,{...p,"aria-current":ye,className:fe,ref:m,style:Se,to:u,viewTransition:d},typeof c=="function"?c(le):c)});s1.displayName="NavLink";var u1=F.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:o,replace:l,state:a,method:u=us,action:d,onSubmit:c,relative:p,preventScrollReset:m,viewTransition:v,...b},x)=>{let T=h1(),R=m1(d,{relative:p}
44),A=u.toLowerCase()==="get"?"get":"post",P=typeof d=="string"&&hy.test(d),D=O=>{if(c&&c(O),O.defaultPrevented)return;O.preventDefault();let X=O.nativeEvent.submitter,J=X?.getAttribute("formmethod")||u;T(X||O.currentTarget,{fetcherKey:t,method:J,navigate:n,replace:l,state:a,relative:p,preventScrollReset:m,viewTransition:v})};return F.createElement("form",{ref:x,method:A,action:R,onSubmit:o?c:D,...b,"data-discover":!P&&e==="render"?"true":void 0})});u1.displayName="Form";function c1(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function gy(e){let t=F.useContext(Mi);return Ve(t,c1(e)),t}function d1(e,{target:t,replace:n,state:o,preventScrollReset:l,relative:a,viewTransition:u}={}){let d=$s(),c=gr(),p=$l(e,{relative:a});return F.useCallback(m=>{if(B_(m,t)){m.preventDefault();let v=n!==void 0?n:oi(c)===oi(p);d(e,{replace:v,state:o,preventScrollReset:l,relative:a,viewTransition:u})}},[c,d,p,n,o,t,e,l,a,u])}var f1=0,p1=()=>`__${String(++f1)}__`;function h1(){let{router:e}=gy("useSubmit"),{basename:t}=F.useContext(rr),n=S_();return F.useCallback(async(o,l={})=>{let{action:a,method:u,encType:d,formData:c,body:p}=H_(o,t);if(l.navigate===!1){let m=l.fetcherKey||p1();await e.fetch(m,n,l.action||a,{preventScrollReset:l.preventScrollReset,formData:c,body:p,formMethod:l.method||u,formEncType:l.encType||d,flushSync:l.flushSync})}else await e.navigate(l.action||a,{preventScrollReset:l.preventScrollReset,formData:c,body:p,formMethod:l.method||u,formEncType:l.encType||d,replace:l.replace,state:l.state,fromRouteId:n,flushSync:l.flushSync,viewTransition:l.viewTransition})},[e,t,n])}function m1(e,{relative:t}={}){let{basename:n}=F.useContext(rr),o=F.useContext(ir);Ve(o,"useFormAction must be used inside a RouteContext");let[l]=o.matches.slice(-1),a={...$l(e||".",{relative:t})},u=gr();if(e==null){a.search=u.search;let d=new URLSearchParams(a.search),c=d.getAll("index");if(c.some(m=>m==="")){d.delete("index"),c.filter(v=>v).forEach(v=>d.append("index",v));let m=d.toString();a.search=m?`?${m}`:""}}return(!e||e===".")&&l.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(a.pathname=a.pathname==="/"?n:hr([n,a.pathname])),oi(a)}function g1(e,t={}){let n=F.useContext(lf);Ve(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=gy("useViewTransitionState"),l=$l(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=pn(n.currentLocation.pathname,o)||n.currentLocation.pathname,u=pn(n.nextLocation.pathname,o)||n.nextLocation.pathname;return vs(l.pathname,u)!=null||vs(l.pathname,a)!=null}new TextEncoder;[...J_];function v1(e,t,n){let o;return Array.isArray(t)?n=t:o=t,{path:e,module:o,children:n}}/*! js-cookie v3.0.5 | MIT */function Ja(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}var y1={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Td(e,t){function n(l,a,u){if(!(typeof document>"u")){u=Ja({},t,u),typeof u.expires=="number"&&(u.expires=new Date(Date.now()+u.expires*864e5)),u.expires&&(u.expires=u.expires.toUTCString()),l=encodeURIComponent(l).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var d="";for(var c in u)u[c]&&(d+="; "+c,u[c]!==!0&&(d+="="+u[c].split(";")[0]));return document.cookie=l+"="+e.write(a,l)+d}}function o(l){if(!(typeof document>"u"||arguments.length&&!l)){for(var a=document.cookie?document.cookie.split("; "):[],u={},d=0;d<a.length;d++){var c=a[d].split("="),p=c.slice(1).join("=");try{var m=decodeURIComponent(c[0]);if(u[m]=e.read(p,m),l===m)break}catch{}}return l?u[l]:u}}return Object.create({set:n,get:o,remove:function(l,a){n(l,"",Ja({},a,{expires:-1}))},withAttributes:function(l){return Td(this.converter,Ja({},this.attributes,l))},withConverter:function(l){return Td(Ja({},this.converter,l),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var x1=Td(y1,{path:"/"});function w1({pathname:e}){return e.length>1&&e.endsWith("/")?e.slice(0,-1):e}const vy=x1.withAttributes({path:w1(new URL(globalThis.document?.baseURI??"/"))}),b1="X-CSRF-Token",_1="csrfToken",S1="XSRF-TOKEN";function jc(e,t){const n=e.head.querySelector(`meta[name="${t}"]`);if(n){const o=n.content;if(o&&o.toLowerCase()!=="undefined")return o}}function k1(e){let t=vy.get(S1);(!t||t.length===0)&&(t=jc(e,"_csrf"));const n=jc(e,"_csrf_header"),o={};if(t&&n){o._csrf=t,o._csrf_header=n;const l=jc(e,"_csrf_parameter");l&&(o._csrf_parameter=l)}return o}function yy(e){const t={},n=k1(e);return n._csrf&&n._csrf_header?t[n._csrf_header]=n._csrf:t[b1]=vy.get(_1)??"",t}var Hc,bt;(function(e){e.CONNECTED="connected",e.LOADING="loading",e.RECONNECTING="reconnecting",e.CONNECTION_LOST="connection-lost"})(bt||(bt={}));class E1{constructor(t){this.stateChangeListeners=new Set,this.loadingCount=0,this.connectionState=t,this.serviceWorkerMessageListener=this.serviceWorkerMessageListener.bind(this),navigator.serviceWorker&&(navigator.serviceWorker.addEventListener("message",this.serviceWorkerMessageListener),navigator.serviceWorker.ready.then(n=>{var o;(o=n.active)===null||o===void 0||o.postMessage({method:"Vaadin.ServiceWorker.isConnectionLost",id:"Vaadin.ServiceWorker.isConnectionLost"})}))}addStateChangeListener(t){this.stateChangeListeners.add(t)}removeStateChangeListener(t){this.stateChangeListeners.delete(t)}loadingStarted(){this.state=bt.LOADING,this.loadingCount+=1}loadingFinished(){this.decreaseLoadingCount(bt.CONNECTED)}loadingFailed(){this.decreaseLoadingCount(bt.CONNECTION_LOST)}decreaseLoadingCount(t){this.loadingCount>0&&(this.loadingCount-=1,this.loadingCount===0&&(this.state=t))}get state(){return this.connectionState}set state(t){if(t!==this.connectionState){const n=this.connectionState;this.connectionState=t,this.loadingCount=0;for(const o of this.stateChangeListeners)o(n,this.connectionState)}}get online(){return this.connectionState===bt.CONNECTED||this.connectionState===bt.LOADING}get offline(){return!this.online}serviceWorkerMessageListener(t){typeof t.data=="object"&&t.data.id==="Vaadin.ServiceWorker.isConnectionLost"&&(t.data.result===!0&&(this.state=bt.CONNECTION_LOST),navigator.serviceWorker.removeEventListener("message",this.serviceWorkerMessageListener))}}const C1=e=>!!(e==="localhost"||e==="[::1]"||/^127\.\d+\.\d+\.\d+$/u.exec(e)),qa=window;if(!(!((Hc=qa.Vaadin)===null||Hc===void 0)&&Hc.connectionState)){let e;C1(window.location.hostname)?e=!0:e=navigator.onLine,qa.Vaadin||(qa.Vaadin={}),qa.Vaadin.connectionState=new E1(e?bt.CONNECTED:bt.CONNECTION_LOST)}function Tn(e,t,n,o){var l=arguments.length,a=l<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,n):o,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,n,o);else for(var d=e.length-1;d>=0;d--)(u=e[d])&&(a=(l<3?u(a):l>3?u(t,n,a):u(t,n))||a);return l>3&&a&&Object.defineProperty(t,n,a),a}/** 45 * @license 46 * Copyright 2019 Google LLC 47 * SPDX-License-Identifier: BSD-3-Clause
vendor: 4,310 bytes, lines 48-52
48 */const ds=globalThis,ff=ds.ShadowRoot&&(ds.ShadyCSS===void 0||ds.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,pf=Symbol(),rg=new WeakMap;let hf=class{constructor(t,n,o){if(this._$cssResult$=!0,o!==pf)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=n}get styleSheet(){let t=this.o;const n=this.t;if(ff&&t===void 0){const o=n!==void 0&&n.length===1;o&&(t=rg.get(n)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&rg.set(n,t))}return t}toString(){return this.cssText}};const xy=e=>new hf(typeof e=="string"?e:e+"",void 0,pf),We=(e,...t)=>{const n=e.length===1?e[0]:t.reduce((o,l,a)=>o+(u=>{if(u._$cssResult$===!0)return u.cssText;if(typeof u=="number")return u;throw Error("Value passed to 'css' function must be a 'css' function result: "+u+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(l)+e[a+1],e[0]);return new hf(n,e,pf)},wy=(e,t)=>{if(ff)e.adoptedStyleSheets=t.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet);else for(const n of t){const o=document.createElement("style"),l=ds.litNonce;l!==void 0&&o.setAttribute("nonce",l),o.textContent=n.cssText,e.appendChild(o)}},ig=ff?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let n="";for(const o of t.cssRules)n+=o.cssText;return xy(n)})(e):e;/** 49 * @license 50 * Copyright 2017 Google LLC 51 * SPDX-License-Identifier: BSD-3-Clause 52 */const{is:T1,defineProperty:P1,getOwnPropertyDescriptor:A1,getOwnPropertyNames:R1,getOwnPropertySymbols:N1,getPrototypeOf:L1}=Object,Us=globalThis,og=Us.trustedTypes,I1=og?og.emptyScript:"",O1=Us.reactiveElementPolyfillSupport,Sl=(e,t)=>e,ws={toAttribute(e,t){switch(t){case Boolean:e=e?I1:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},mf=(e,t)=>!T1(e,t),lg={attribute:!0,type:String,converter:ws,reflect:!1,useDefault:!1,hasChanged:mf};Symbol.metadata??=Symbol("metadata"),Us.litPropertyMetadata??=new WeakMap;let mo=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,n=lg){if(n.state&&(n.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((n=Object.create(n)).wrapped=!0),this.elementProperties.set(t,n),!n.noAccessor){const o=Symbol(),l=this.getPropertyDescriptor(t,o,n);l!==void 0&&P1(this.prototype,t,l)}}static getPropertyDescriptor(t,n,o){const{get:l,set:a}=A1(this.prototype,t)??{get(){return this[n]},set(u){this[n]=u}};return{get:l,set(u){const d=l?.call(this);a?.call(this,u),this.requestUpdate(t,d,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??lg}static _$Ei(){if(this.hasOwnProperty(Sl("elementProperties")))return;const t=L1(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Sl("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Sl("properties"))){const n=this.properties,o=[...R1(n),...N1(n)];for(const l of o)this.createProperty(l,n[l])}const t=this[Symbol.metadata];if(t!==null){const n=litPropertyMetadata.get(t);if(n!==void 0)for(const[o,l]of n)this.elementProperties.set(o,l)}this._$Eh=new Map;for(const[n,o]of this.elementProperties){const l=this._$Eu(n,o);l!==void 0&&this._$Eh.set(l,n)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const n=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const l of o)n.unshift(ig(l))}else t!==void 0&&n.push(ig(t));return n}static _$Eu(t,n){const o=n.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}
vendor: 8,981 bytes, lines 52-58
52removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,n=this.constructor.elementProperties;for(const o of n.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return wy(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,n,o){this._$AK(t,o)}_$ET(t,n){const o=this.constructor.elementProperties.get(t),l=this.constructor._$Eu(t,o);if(l!==void 0&&o.reflect===!0){const a=(o.converter?.toAttribute!==void 0?o.converter:ws).toAttribute(n,o.type);this._$Em=t,a==null?this.removeAttribute(l):this.setAttribute(l,a),this._$Em=null}}_$AK(t,n){const o=this.constructor,l=o._$Eh.get(t);if(l!==void 0&&this._$Em!==l){const a=o.getPropertyOptions(l),u=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ws;this._$Em=l;const d=u.fromAttribute(n,a.type);this[l]=d??this._$Ej?.get(l)??d,this._$Em=null}}requestUpdate(t,n,o,l=!1,a){if(t!==void 0){const u=this.constructor;if(l===!1&&(a=this[t]),o??=u.getPropertyOptions(t),!((o.hasChanged??mf)(a,n)||o.useDefault&&o.reflect&&a===this._$Ej?.get(t)&&!this.hasAttribute(u._$Eu(t,o))))return;this.C(t,n,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,n,{useDefault:o,reflect:l,wrapped:a},u){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,u??n??this[t]),a!==!0||u!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(n=void 0),this._$AL.set(t,n)),l===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(n){Promise.reject(n)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[l,a]of this._$Ep)this[l]=a;this._$Ep=void 0}const o=this.constructor.elementProperties;if(o.size>0)for(const[l,a]of o){const{wrapped:u}=a,d=this[l];u!==!0||this._$AL.has(l)||d===void 0||this.C(l,void 0,a,d)}}let t=!1;const n=this._$AL;try{t=this.shouldUpdate(n),t?(this.willUpdate(n),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(n)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(n)}willUpdate(t){}_$AE(t){this._$EO?.forEach(n=>n.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(n=>this._$ET(n,this[n])),this._$EM()}updated(t){}firstUpdated(t){}};mo.elementStyles=[],mo.shadowRootOptions={mode:"open"},mo[Sl("elementProperties")]=new Map,mo[Sl("finalized")]=new Map,O1?.({ReactiveElement:mo}),(Us.reactiveElementVersions??=[]).push("2.1.2");/** 53 * @license 54 * Copyright 2017 Google LLC 55 * SPDX-License-Identifier: BSD-3-Clause 56 */const gf=globalThis,ag=e=>e,bs=gf.trustedTypes,sg=bs?bs.createPolicy("lit-html",{createHTML:e=>e}):void 0,by="$lit$",ri=`lit$${Math.random().toFixed(9).slice(2)}$`,_y="?"+ri,z1=`<${_y}>`,Oi=document,Nl=()=>Oi.createComment(""),Ll=e=>e===null||typeof e!="object"&&typeof e!="function",vf=Array.isArray,M1=e=>vf(e)||typeof e?.[Symbol.iterator]=="function",Vc=`[ 57\f\r]`,fl=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ug=/-->/g,cg=/>/g,Si=RegExp(`>|${Vc}(?:([^\\s"'>=/]+)(${Vc}*=${Vc}*(?:[^ 58\f\r"'\`<>=]|("|')|))|$)`,"g"),dg=/'/g,fg=/"/g,Sy=/^(?:script|style|textarea|title)$/i,ky=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),D1=ky(1),RN=ky(2),zi=Symbol.for("lit-noChange"),zt=Symbol.for("lit-nothing"),pg=new WeakMap,Ci=Oi.createTreeWalker(Oi,129);function Ey(e,t){if(!vf(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return sg!==void 0?sg.createHTML(t):t}const F1=(e,t)=>{const n=e.length-1,o=[];let l,a=t===2?"<svg>":t===3?"<math>":"",u=fl;for(let d=0;d<n;d++){const c=e[d];let p,m,v=-1,b=0;for(;b<c.length&&(u.lastIndex=b,m=u.exec(c),m!==null);)b=u.lastIndex,u===fl?m[1]==="!--"?u=ug:m[1]!==void 0?u=cg:m[2]!==void 0?(Sy.test(m[2])&&(l=RegExp("</"+m[2],"g")),u=Si):m[3]!==void 0&&(u=Si):u===Si?m[0]===">"?(u=l??fl,v=-1):m[1]===void 0?v=-2:(v=u.lastIndex-m[2].length,p=m[1],u=m[3]===void 0?Si:m[3]==='"'?fg:dg):u===fg||u===dg?u=Si:u===ug||u===cg?u=fl:(u=Si,l=void 0);const x=u===Si&&e[d+1].startsWith("/>")?" ":"";a+=u===fl?c+z1:v>=0?(o.push(p),c.slice(0,v)+by+c.slice(v)+ri+x):c+ri+(v===-2?d:x)}return[Ey(e,a+(e[n]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]};let Pd=class Cy{constructor({strings:t,_$litType$:n},o){let l;this.parts=[];let a=0,u=0;const d=t.length-1,c=this.parts,[p,m]=F1(t,n);if(this.el=Cy.createElement(p,o),Ci.currentNode=this.el.content,n===2||n===3){const v=this.el.content.firstChild;v.replaceWith(...v.childNodes)}for(;(l=Ci.nextNode())!==null&&c.length<d;){if(l.nodeType===1){if(l.hasAttributes())for(const v of l.getAttributeNames())if(v.endsWith(by)){const b=m[u++],x=l.getAttribute(v).split(ri),T=/([.?@])?(.*)/.exec(b);c.push({type:1,index:a,name:T[2],strings:x,ctor:T[1]==="."?B1:T[1]==="?"?U1:T[1]==="@"?j1:js}),l.removeAttribute(v)}else v.startsWith(ri)&&(c.push({type:6,index:a}),l.removeAttribute(v));if(Sy.test(l.tagName)){const v=l.textContent.split(ri),b=v.length-1;if(b>0){l.textContent=bs?bs.emptyScript:"";for(let x=0;x<b;x++)l.append(v[x],Nl()),Ci.nextNode(),c.push({type:2,index:++a});l.append(v[b],Nl())}}}else if(l.nodeType===8)if(l.data===_y)c.push({type:2,index:a});else{let v=-1;for(;(v=l.data.indexOf(ri,v+1))!==-1;)c.push({type:7,index:a}),v+=ri.length-1}a++}}static createElement(t,n){const o=Oi.createElement("template");return o.innerHTML=t,o}};function So(e,t,n=e,o){if(t===zi)return t;let l=o!==void 0?n._$Co?.[o]:n._$Cl;const a=Ll(t)?void 0:t._$litDirective$;return l?.constructor!==a&&(l?._$AO?.(!1),a===void 0?l=void 0:(l=new a(e),l._$AT(e,n,o)),o!==void 0?(n._$Co??=[])[o]=l:n._$Cl=l),l!==void 0&&(t=So(e,l._$AS(e,t.values),l,o)),t}class $1{constructor(t,n){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:n},parts:o}=this._$AD,l=(t?.creationScope??Oi).importNode(n,!0);Ci.currentNode=l;let a=Ci.nextNode(),u=0,d=0,c=o[0];for(;c!==void 0;){if(u===c.index){let p;c.type===2?p=new Bl(a,a.nextSibling,this,t):c.type===1?p=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(p=new H1(a,this,t)),this._$AV.push(p),c=o[++d]}u!==c?.index&&(a=Ci.nextNode(),u++)}return Ci.currentNode=Oi,l}p(t){let n=0;for(const o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,n),n+=o.strings.length-2):o._$AI(t[n])),n++}}class Bl{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,n,o,l){this.type=2,this._$AH=zt,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=o,this.options=l,this._$Cv=l?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const n=this._$AM;return n!==void 0&&t?.nodeType===11&&(t=n.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,n=this){t=So(this,t,n),Ll(t)?t===zt||t==null||t===""?(this._$AH!==zt&&this._$AR(),this._$AH=zt):t!==this._$AH&&t!==zi&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):M1(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==zt&&Ll(this._$AH)?this._$AA.nextSibling.data=t:this.T(Oi.createTextNode(t)),this._$AH=t}$(t){const{values:n,_$litType$:o}=t,l=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Pd.createElement(Ey(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===l)this._$AH.p(n);else{const a=new $1(l,this),u=a.u(this.options);a.p(n),this.T(u),this._$AH=a}}_$AC(t){let n=pg.get(t.strings);return n===void 0&&pg.set(t.strings,n=new Pd(t)),n}k(t){vf(this._$AH)||(this._$AH=[],this._$AR());const n=this._$AH;let o,l=0;for(const a of t)l===n.length?n.push(o=new Bl(this.O(Nl()),this.O(Nl()),this,this.options)):o=n[l],o._$AI(a),l++;l<n.length&&(this._$AR(o&&o._$AB.nextSibling,l),n.length=l)}_$AR(t=this._$AA.nextSibling,n){for(this._$AP?.(!1,!0,n);t!==this._$AB;){const o=ag(t).nextSibling;ag(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}}class js{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,n,o,l,a){this.type=1,this._$AH=zt,this._$AN=void 0,this.element=t,this.name=n,this._$AM=l,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=zt}_$AI(t,n=this,o,l){const a=this.strings;let u=!1;if(a===void 0)t=So(this,t,n,0),u=!Ll(t)||t!==this._$AH&&t!==zi,u&&(this._$AH=t);else{const d=t;
vendor: 4,267 bytes, lines 58-74
58let c,p;for(t=a[0],c=0;c<a.length-1;c++)p=So(this,d[o+c],n,c),p===zi&&(p=this._$AH[c]),u||=!Ll(p)||p!==this._$AH[c],p===zt?t=zt:t!==zt&&(t+=(p??"")+a[c+1]),this._$AH[c]=p}u&&!l&&this.j(t)}j(t){t===zt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class B1 extends js{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===zt?void 0:t}}class U1 extends js{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==zt)}}class j1 extends js{constructor(t,n,o,l,a){super(t,n,o,l,a),this.type=5}_$AI(t,n=this){if((t=So(this,t,n,0)??zt)===zi)return;const o=this._$AH,l=t===zt&&o!==zt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,a=t!==zt&&(o===zt||l);l&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class H1{constructor(t,n,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=n,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){So(this,t)}}const V1=gf.litHtmlPolyfillSupport;V1?.(Pd,Bl),(gf.litHtmlVersions??=[]).push("3.3.2");const W1=(e,t,n)=>{const o=n?.renderBefore??t;let l=o._$litPart$;if(l===void 0){const a=n?.renderBefore??null;o._$litPart$=l=new Bl(t.insertBefore(Nl(),a),a,void 0,n??{})}return l._$AI(e),l};/** 59 * @license 60 * Copyright 2017 Google LLC 61 * SPDX-License-Identifier: BSD-3-Clause 62 */const yf=globalThis;let Ri=class extends mo{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=W1(n,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return zi}};Ri._$litElement$=!0,Ri.finalized=!0,yf.litElementHydrateSupport?.({LitElement:Ri});const Y1=yf.litElementPolyfillSupport;Y1?.({LitElement:Ri});(yf.litElementVersions??=[]).push("4.2.2");/** 63 * @license 64 * Copyright 2017 Google LLC 65 * SPDX-License-Identifier: BSD-3-Clause 66 */const G1={attribute:!0,type:String,converter:ws,reflect:!1,hasChanged:mf},K1=(e=G1,t,n)=>{const{kind:o,metadata:l}=n;let a=globalThis.litPropertyMetadata.get(l);if(a===void 0&&globalThis.litPropertyMetadata.set(l,a=new Map),o==="setter"&&((e=Object.create(e)).wrapped=!0),a.set(n.name,e),o==="accessor"){const{name:u}=n;return{set(d){const c=t.get.call(this);t.set.call(this,d),this.requestUpdate(u,c,e,!0,d)},init(d){return d!==void 0&&this.C(u,void 0,e,d),d}}}if(o==="setter"){const{name:u}=n;return function(d){const c=this[u];t.call(this,d),this.requestUpdate(u,c,e,!0,d)}}throw Error("Unsupported decorator location: "+o)};function Pn(e){return(t,n)=>typeof n=="object"?K1(e,t,n):((o,l,a)=>{const u=l.hasOwnProperty(a);return l.constructor.createProperty(a,o),u?Object.getOwnPropertyDescriptor(l,a):void 0})(e,t,n)}/** 67 * @license 68 * Copyright 2017 Google LLC 69 * SPDX-License-Identifier: BSD-3-Clause 70 */const X1={ATTRIBUTE:1,CHILD:2},Q1=e=>(...t)=>({_$litDirective$:e,values:t});let J1=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,n,o){this._$Ct=t,this._$AM=n,this._$Ci=o}_$AS(t,n){return this.update(t,n)}update(t,n){return this.render(...n)}};/** 71 * @license 72 * Copyright 2018 Google LLC 73 * SPDX-License-Identifier: BSD-3-Clause 74 */const q1=Q1(class extends J1{constructor(e){if(super(e),e.type!==X1.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(const o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}const n=e.element.classList;for(const o of this.st)o in t||(n.remove(o),this.st.delete(o));for(const o in t){const l=!!t[o];
74l===this.st.has(o)||this.nt?.has(o)||(l?(n.add(o),this.st.add(o)):(n.remove(o),this.st.delete(o)))}return zi}}),Wc="css-loading-indicator";var tr;(function(e){e.IDLE="",e.FIRST="first",e.SECOND="second",e.THIRD="third"})(tr||(tr={}));class At extends Ri{static create(){var t,n;const o=window;return!((t=o.Vaadin)===null||t===void 0)&&t.connectionIndicator||(o.Vaadin||(o.Vaadin={}),o.Vaadin.connectionIndicator=document.createElement("vaadin-connection-indicator"),document.body.appendChild(o.Vaadin.connectionIndicator)),(n=o.Vaadin)===null||n===void 0?void 0:n.connectionIndicator}constructor(){super(),this.firstDelay=450,this.secondDelay=1500,this.thirdDelay=5e3,this.expandedDuration=2e3,this.onlineText="Online",this.offlineText="Connection lost",this.reconnectingText="Connection lost, trying to reconnect...",this.offline=!1,this.reconnecting=!1,this.expanded=!1,this.loading=!1,this.loadingBarState=tr.IDLE,this.applyDefaultThemeState=!0,this.firstTimeout=0,this.secondTimeout=0,this.thirdTimeout=0,this.expandedTimeout=0,this.lastMessageState=bt.CONNECTED,this.connectionStateListener=()=>{this.expanded=this.updateConnectionState(),this.expandedTimeout=this.timeoutFor(this.expandedTimeout,this.expanded,()=>{this.expanded=!1},this.expandedDuration)}}render(){return D1` 75 <div class="v-loading-indicator ${this.loadingBarState}" style=${this.getLoadingBarStyle()}></div> 76 77 <div 78 class="v-status-message ${q1({active:this.reconnecting})}" 79 > 80 <span class="text"> ${this.renderMessage()} </span> 81 </div> 82 `}connectedCallback(){var t;super.connectedCallback();const n=window;!((t=n.Vaadin)===null||t===void 0)&&t.connectionState&&(this.connectionStateStore=n.Vaadin.connectionState,this.connectionStateStore.addStateChangeListener(this.connectionStateListener),this.updateConnectionState()),this.updateTheme()}disconnectedCallback(){super.disconnectedCallback(),this.connectionStateStore&&this.connectionStateStore.removeStateChangeListener(this.connectionStateListener),this.updateTheme()}get applyDefaultTheme(){return this.applyDefaultThemeState}set applyDefaultTheme(t){t!==this.applyDefaultThemeState&&(this.applyDefaultThemeState=t,this.updateTheme())}createRenderRoot(){return this}updateConnectionState(){var t;const n=(t=this.connectionStateStore)===null||t===void 0?void 0:t.state;return this.offline=n===bt.CONNECTION_LOST,this.reconnecting=n===bt.RECONNECTING,this.updateLoading(n===bt.LOADING),this.loading?!1:n!==this.lastMessageState?(this.lastMessageState=n,!0):!1}updateLoading(t){this.loading=t,this.loadingBarState=tr.IDLE,this.firstTimeout=this.timeoutFor(this.firstTimeout,t,()=>{this.loadingBarState=tr.FIRST},this.firstDelay),this.secondTimeout=this.timeoutFor(this.secondTimeout,t,()=>{this.loadingBarState=tr.SECOND},this.secondDelay),this.thirdTimeout=this.timeoutFor(this.thirdTimeout,t,()=>{this.loadingBarState=tr.THIRD},this.thirdDelay)}renderMessage(){return this.reconnecting?this.reconnectingText:this.offline?this.offlineText:this.onlineText}updateTheme(){if(this.applyDefaultThemeState&&this.isConnected){if(!document.getElementById(Wc)){const t=document.createElement("style");t.id=Wc,t.textContent=this.getDefaultStyle(),document.head.appendChild(t)}}else{const t=document.getElementById(Wc);t&&document.head.removeChild(t)}}getDefaultStyle(){return` 83 @keyframes v-progress-start { 84 0% { 85 width: 0%; 86 } 87 100% { 88 width: 50%; 89 } 90 } 91 @keyframes v-progress-delay { 92 0% { 93 width: 50%; 94 } 95 100% { 96 width: 90%; 97 } 98 } 99 @keyframes v-progress-wait { 100 0% { 101 width: 90%; 102 height: 4px; 103 } 104 3% { 105 width: 91%; 106 height: 7px; 107 } 108 100% { 109 width: 96%; 110 height: 7px; 111 } 112 } 113 @keyframes v-progress-wait-pulse { 114 0% { 115 opacity: 1; 116 } 117 50% { 118 opacity: 0.1; 119 } 120 100% { 121 opacity: 1; 122 } 123 } 124 .v-loading-indicator, 125 .v-status-message { 126 position: fixed; 127 z-index: 251; 128 left: 0; 129 right: auto; 130 top: 0; 131 background-color: var(--lumo-primary-color, var(--material-primary-color, blue)); 132 transition: none; 133 } 134 .v-loading-indicator { 135 width: 50%; 136 height: 4px; 137 opacity: 1; 138 pointer-events: none; 139 animation: v-progress-start 1000ms 200ms both; 140 } 141 .v-loading-indicator[style*='none'] { 142 display: block !important; 143 width: 100%; 144 opacity: 0; 145 animation: none; 146 transition: opacity 500ms 300ms, width 300ms; 147 } 148 .v-loading-indicator.second { 149 width: 90%; 150 animation: v-progress-delay 3.8s forwards; 151 } 152 .v-loading-indicator.third { 153 width: 96%; 154 animation: v-progress-wait 5s forwards, v-progress-wait-pulse 1s 4s infinite backwards; 155 } 156 157 vaadin-connection-indicator[offline] .v-loading-indicator, 158 vaadin-connection-indicator[reconnecting] .v-loading-indicator { 159 display: none; 160 } 161 162 .v-status-message { 163 opacity: 0; 164 width: 100%; 165 max-height: var(--status-height-collapsed, 8px); 166 overflow: hidden; 167 background-color: var(--status-bg-color-online, var(--lumo-primary-color, var(--material-primary-color, blue))); 168 color: var( 169 --status-text-color-online, 170 var(--lumo-primary-contrast-color, var(--material-primary-contrast-color, #fff)) 171 ); 172 font-size: 0.75rem; 173 font-weight: 600; 174 line-height: 1; 175 transition: all 0.5s; 176 padding: 0 0.5em; 177 } 178 179 vaadin-connection-indicator[offline] .v-status-message, 180 vaadin-connection-indicator[reconnecting] .v-status-message { 181 opacity: 1; 182 background-color: var(--status-bg-color-offline, var(--lumo-shade, #333)); 183 color: var( 184 --status-text-color-offline, 185 var(--lumo-primary-contrast-color, var(--material-primary-contrast-color, #fff)) 186 ); 187 background-image: repeating-linear-gradient( 188 45deg, 189 rgba(255, 255, 255, 0), 190 rgba(255, 255, 255, 0) 10px, 191 rgba(255, 255, 255, 0.1) 10px, 192 rgba(255, 255, 255, 0.1) 20px 193 ); 194 } 195 196 vaadin-connection-indicator[reconnecting] .v-status-message { 197 animation: show-reconnecting-status 2s; 198 } 199 200 vaadin-connection-indicator[offline] .v-status-message:hover, 201 vaadin-connection-indicator[reconnecting] .v-status-message:hover, 202 vaadin-connection-indicator[expanded] .v-status-message { 203 max-height: var(--status-height, 1.75rem); 204 } 205 206 vaadin-connection-indicator[expanded] .v-status-message { 207 opacity: 1; 208 } 209 210 .v-status-message span { 211 display: flex; 212 align-items: center; 213 justify-content: center; 214 height: var(--status-height, 1.75rem); 215 } 216 217 vaadin-connection-indicator[reconnecting] .v-status-message span::before { 218 content: ''; 219 width: 1em; 220 height: 1em; 221 border-top: 2px solid 222 var(--status-spinner-color, var(--lumo-primary-color, var(--material-primary-color, blue))); 223 border-left: 2px solid 224 var(--status-spinner-color, var(--lumo-primary-color, var(--material-primary-color, blue))); 225 border-right: 2px solid transparent; 226 border-bottom: 2px solid transparent; 227 border-radius: 50%; 228 box-sizing: border-box; 229 animation: v-spin 0.4s linear infinite; 230 margin: 0 0.5em; 231 } 232 233 @keyframes v-spin { 234 100% { 235 transform: rotate(360deg); 236 } 237 } 238 `}getLoadingBarStyle(){switch(this.loadingBarState){case tr.IDLE:return"display: none";case tr.FIRST:case tr.SECOND:case tr.THIRD:return"display: block";default:return""}}timeoutFor(t,n,o,l){return t!==0&&window.clearTimeout(t),n?window.setTimeout(o,l):0}static get instance(){return At.create()}}Tn([Pn({type:Number})],At.prototype,"firstDelay",void 0);Tn([Pn({type:Number})],At.prototype,"secondDelay",void 0);Tn([Pn({type:Number})],At.prototype,"thirdDelay",void 0);Tn([Pn({type:Number})],At.prototype,"expandedDuration",void 0);Tn([Pn({type:String})],At.prototype,"onlineText",void 0);Tn([Pn({type:String})],At.prototype,"offlineText",void 0);Tn([Pn({type:String})],At.prototype,"reconnectingText",void 0);Tn([Pn({type:Boolean,reflect:!0})],At.prototype,"offline",void 0);Tn([Pn({type:Boolean,reflect:!0})],At.prototype,"reconnecting",void 0);Tn([Pn({type:Boolean,reflect:!0})],At.prototype,"expanded",void 0);Tn([Pn({type:Boolean,reflect:!0})],At.prototype,"loading",void 0);Tn([Pn({type:String})],At.prototype,"loadingBarState",void 0);Tn([Pn({type:Boolean})],At.prototype,"applyDefaultTheme",null);customElements.get("vaadin-connection-indicator")===void 0&&customElements.define("vaadin-connection-indicator",At);At.instance;var hg;const _s=window;_s.Vaadin||(_s.Vaadin={});(hg=_s.Vaadin).registrations||(hg.registrations=[]);
238_s.Vaadin.registrations.push({is:"@vaadin/common-frontend",version:"0.0.18"});class xf extends Error{detail;type;constructor(t,n,o){super(t),this.type=n,this.detail=o}}class Z1 extends xf{validationErrorData;validationErrorMessage;constructor(t,n,o){super(t,o,n),this.validationErrorMessage=t,this.detail=null,this.validationErrorData=n}}class wf extends xf{response;constructor(t,n){super(t,"EndpointResponseError",n),this.response=n}get status(){return this.response.status}}class eS extends wf{constructor(t,n){super(t,n),this.type="UnauthorizedResponseError"}}class tS extends wf{constructor(t,n){super(t,n),this.type="ForbiddenResponseError"}}var fs={exports:{}},nS=fs.exports,mg;function rS(){return mg||(mg=1,(function(e,t){(function(n,o){e.exports=o()})(nS,function(){var n={},o=!1,l=[],a=[],u=0;return n={version:"3.1.3-javascript",onError:function(d){},onClose:function(d){},onOpen:function(d){},onReopen:function(d){},onMessage:function(d){},onReconnect:function(d,c){},onMessagePublished:function(d){},onTransportFailure:function(d,c){},onLocalMessage:function(d){},onFailureToReconnect:function(d,c){},onClientTimeout:function(d){},onOpenAfterResume:function(d){},WebsocketApiAdapter:function(d){var c,p;return d.onMessage=function(m){p.onmessage({data:m.responseBody})},d.onMessagePublished=function(m){p.onmessage({data:m.responseBody})},d.onOpen=function(m){p.onopen(m)},p={close:function(){c.close()},send:function(m){c.push(m)},onmessage:function(m){},onopen:function(m){},onclose:function(m){},onerror:function(m){}},c=new n.subscribe(d),p},AtmosphereRequest:function(d){var c={timeout:3e5,method:"GET",headers:{},contentType:"",callback:null,url:"",data:"",suspend:!0,maxRequest:-1,reconnect:!0,maxStreamingLength:1e7,lastIndex:0,logLevel:"info",requestCount:0,fallbackMethod:"GET",fallbackTransport:"streaming",transport:"long-polling",webSocketImpl:null,webSocketBinaryType:null,dispatchUrl:null,webSocketPathDelimiter:"@@",enableXDR:!1,rewriteURL:!1,attachHeadersAsQueryString:!0,executeCallbackBeforeReconnect:!1,readyState:0,withCredentials:!1,trackMessageLength:!1,messageDelimiter:"|",connectTimeout:-1,reconnectInterval:0,dropHeaders:!0,uuid:0,shared:!1,readResponsesHeaders:!1,maxReconnectOnClose:5,enableProtocol:!0,disableDisconnect:!1,pollingInterval:0,heartbeat:{client:null,server:null},ackInterval:0,reconnectOnServerError:!0,handleOnlineOffline:!0,maxWebsocketErrorRetries:1,curWebsocketErrorRetries:0,unloadBackwardCompat:!navigator.sendBeacon,onError:function(w){},onClose:function(w){},onOpen:function(w){},onMessage:function(w){},onReopen:function(w,y){},onReconnect:function(w,y){},onMessagePublished:function(w){},onTransportFailure:function(w,y){},onLocalMessage:function(w){},onFailureToReconnect:function(w,y){},onClientTimeout:function(w){},onOpenAfterResume:function(w){}},p={status:200,reasonPhrase:"OK",responseBody:"",messages:[],headers:[],state:"messageReceived",transport:"polling",error:null,request:null,partialMessage:"",errorHandled:!1,closedByClientTimeout:!1,ffTryingReconnect:!1},m=null,v=null,b=null,x=null,T=null,R=!0,A=0,P=0,D="X",O=!1,X=null,J,k=null,le=n.util.now(),ye,fe;he(d);function Se(){R=!0,O=!1,A=0,m=null,v=null,b=null,x=null}function ge(){ve(),Se()}function q(w){return w=="debug"?c.logLevel==="debug":w=="info"?c.logLevel==="info"||c.logLevel==="debug":w=="warn"?c.logLevel==="warn"||c.logLevel==="info"||c.logLevel==="debug":w=="error"?c.logLevel==="error"||c.logLevel==="warn"||c.logLevel==="info"||c.logLevel==="debug":!1}function Q(w){q("debug")&&n.util.debug(new Date+" Atmosphere: "+w)}function ue(w,y){return p.partialMessage===""&&y.transport==="streaming"&&w.responseText.length>y.maxStreamingLength}function pe(){if(c.enableProtocol&&!c.disableDisconnect&&!c.firstMessage){var w="X-Atmosphere-Transport=close&X-Atmosphere-tracking-id="+c.uuid;n.util.each(c.headers,function(W,U){var H=n.util.isFunction(U)?U.call(this,c,c,p):U;H!=null&&(w+="&"+encodeURIComponent(W)+"="+encodeURIComponent(H))});var y=c.url.replace(/([?&])_=[^&]*/,w);y=y+(y===c.url?(/\?/.test(c.url)?"&":"?")+w:"");var N={connected:!1},B=new n.AtmosphereRequest(N);B.connectTimeout=c.connectTimeout,B.attachHeadersAsQueryString=!1,B.dropHeaders=!0,B.url=y,B.contentType="text/plain",B.transport="polling",B.method="GET",B.data="",B.heartbeat=null,c.enableXDR&&
238(B.enableXDR=c.enableXDR),Dt("",B)}}function xe(){Q("Closing (AtmosphereRequest._close() called)"),O=!0,c.reconnectId&&(clearTimeout(c.reconnectId),delete c.reconnectId),c.heartbeatTimer&&clearTimeout(c.heartbeatTimer),c.reconnect=!1,p.request=c,p.state="unsubscribe",p.responseBody="",p.status=408,p.partialMessage="",c.curWebsocketErrorRetries=0,L(),pe(),ve()}function ve(){p.partialMessage="",c.id&&clearTimeout(c.id),c.heartbeatTimer&&clearTimeout(c.heartbeatTimer),c.reconnectId&&(clearTimeout(c.reconnectId),delete c.reconnectId),x!=null&&(x.close(),x=null),T!=null&&(T.abort(),T=null),b!=null&&(b.abort(),b=null),m!=null&&(m.canSendMessage&&(Q("invoking .close() on WebSocket object"),m.close()),m=null),v!=null&&(v.close(),v=null),ne()}function ne(){J!=null&&(clearInterval(ye),document.cookie=fe+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/",J.signal("close",{reason:"",heir:O?(J.get("children")||[])[0]:le}),J.close()),k?.close()}function he(w){ge(),c=n.util.extend(c,w),c.mrequest=c.reconnect,c.reconnect||(c.reconnect=!0)}function S(){return c.webSocketImpl!=null||window.WebSocket||window.MozWebSocket}function M(){var w=n.util.getAbsoluteURL(c.url.toLowerCase()),y=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/.exec(w),N=!!(y&&(y[1]!=window.location.protocol||y[2]!=window.location.hostname||(y[3]||(y[1]==="http:"?80:443))!=(window.location.port||(window.location.protocol==="http:"?80:443))));return window.EventSource&&(!N||!n.util.browser.safari||n.util.browser.vmajor>=7)}function K(){if(c.shared){if(k=E(c),k!=null&&(q("debug")&&n.util.debug("Storage service available. All communication will be local"),k.open(c)))return;q("debug")&&n.util.debug("No Storage service available."),k=null}c.firstMessage=u==0,c.isOpen=!1,c.ctime=n.util.now(),c.uuid===0&&(c.uuid=u),p.closedByClientTimeout=!1,c.transport!=="websocket"&&c.transport!=="sse"?Et(c):c.transport==="websocket"?S()?Ye(!1):mn("Websocket is not supported, using request.fallbackTransport ("+c.fallbackTransport+")"):c.transport==="sse"&&(M()?me(!1):mn("Server Side Events(SSE) is not supported, using request.fallbackTransport ("+c.fallbackTransport+")"))}function E(w){var y,N,B,W="atmosphere-"+w.url,U={storage:function(){function te(je){je.key===W&&je.newValue&&Z(je.newValue)}if(n.util.storage){var be=window.localStorage,_e=function(je){var it=be.getItem(W+"-"+je);return it===null?[]:JSON.parse(it)},ze=function(je,it){be.setItem(W+"-"+je,JSON.stringify(it))};return{init:function(){return ze("children",_e("children").concat([le])),n.util.on(window,"storage",te),_e("opened")},signal:function(je,it){be.setItem(W,JSON.stringify({target:"p",type:je,data:it}))},close:function(){var je=_e("children");n.util.off(window,"storage",te),je&&H(je,w.id)&&ze("children",je)}}}},windowref:function(){var te=window.open("",W.replace(/\W/g,""));if(!(!te||te.closed||!te.callbacks))return{init:function(){return te.callbacks.push(Z),te.children.push(le),te.opened},signal:function(be,_e){!te.closed&&te.fire&&te.fire(JSON.stringify({target:"p",type:be,data:_e}))},close:function(){B||(H(te.callbacks,Z),H(te.children,le))}}}};function H(te,be){var _e,ze=te.length;for(_e=0;_e<ze;_e++)te[_e]===be&&te.splice(_e,1);return ze!==te.length}function Z(te){var be=JSON.parse(te),_e=be.data;if(be.target==="c")switch(be.type){case"open":ke("opening","local",c);break;case"close":B||(B=!0,_e.reason==="aborted"?xe():_e.heir===le?K():setTimeout(function(){K()},100));break;case"message":Nn(_e,"messageReceived",200,w.transport);break;case"localMessage":Vn(_e);break}}function ie(){var te=new RegExp("(?:^|; )("+encodeURIComponent(W)+")=([^;]*)").exec(document.cookie);if(te)return JSON.parse(decodeURIComponent(te[2]))}if(y=ie(),!(!y||n.util.now()-y.ts>1e3)&&(N=U.storage()||U.windowref(),!!N))return{open:function(){var te;return ye=setInterval(function(){var be=y;y=ie(),(!y||be.ts===y.ts)&&Z(JSON.stringify({target:"c",type:"close",data:{reason:"error",heir:be.heir}}))},1e3),te=N.init(),te&&setTimeout(function(){ke("opening","local",w)},50),te},send:function(te){N.signal("send",te)},localSend:function(te){N.signal("localSend",JSON.stringify({id:le,event:te}))},close:function(){O||(clearInterval(ye),N.signal("close"),N.close())}}}function Te(){var w,y="atmosphere-"+c.url,N={storage:function(){function U(Z){Z.key===y&&Z.newValue&&B(Z.newValue)}if(n.util.storage){var H=window.localStorage;return{init:function(){n.util.on(window,"storage",U)},signal:function(Z,ie){H.setItem(y,JSON.stringify({target:"c",type:Z,data:ie}))},get:function(Z){return JSON.parse(H.getItem(y+"-"+Z))},set:function(Z,ie){H.setItem(y+"-"+Z,JSON.stringify(ie))},close:function(){n.util.off(window,"storage",U),H.removeItem(y),H.removeItem(y+"-opened"),H.removeItem(y+"-children")}}}},windowref:function(){var U=y.replace(/\W/g,""),H=document.getElementById(U),Z;return H||(H=document.createElement("div"),H.id=U,H.style.display="none",H.innerHTML='<iframe name="'+U+'"></iframe>
238',document.body.appendChild(H)),Z=H.firstChild.contentWindow,{init:function(){Z.callbacks=[B],Z.fire=function(ie){var te;for(te=0;te<Z.callbacks.length;te++)Z.callbacks[te](ie)}},signal:function(ie,te){!Z.closed&&Z.fire&&Z.fire(JSON.stringify({target:"c",type:ie,data:te}))},get:function(ie){return Z.closed?null:Z[ie]},set:function(ie,te){Z.closed||(Z[ie]=te)},close:function(){}}}};function B(U){var H=JSON.parse(U),Z=H.data;if(H.target==="p")switch(H.type){case"send":Ct(Z);break;case"localSend":Vn(Z);break;case"close":xe();break}}X=function(H){w.signal("message",H)};function W(){document.cookie=fe+"="+encodeURIComponent(JSON.stringify({ts:n.util.now()+1,heir:(w.get("children")||[])[0]}))+"; path=/"}w=N.storage()||N.windowref(),w.init(),q("debug")&&n.util.debug("Installed StorageService "+w),w.set("children",[]),w.get("opened")!=null&&!w.get("opened")&&w.set("opened",!1),fe=encodeURIComponent(y),W(),ye=setInterval(W,1e3),J=w}function ke(w,y,N){if(c.shared&&y!=="local"&&Te(),J?.set("opened",!0),N.close=function(){xe()},A>0&&w==="re-connecting")N.isReopen=!0,G(p);else if(!p.error){p.request=N;var B=p.state;p.state=w;var W=p.transport;p.transport=y;var U=p.responseBody;L(),p.responseBody=U,p.state=B,p.transport=W}}function Ae(w){w.transport="jsonp";var y=c,N;w!=null&&typeof w<"u"&&(y=w),T={open:function(){var B="atmosphere"+ ++le;function W(){y.lastIndex=0,y.openId&&clearTimeout(y.openId),y.heartbeatTimer&&clearTimeout(y.heartbeatTimer),y.reconnect&&A++<y.maxReconnectOnClose?(ke("re-connecting",y.transport,y),Vt(T,y,w.reconnectInterval),y.openId=setTimeout(function(){Ht(y)},y.reconnectInterval+1e3)):xt(0,"maxReconnectOnClose reached")}function U(){var H=y.url;y.dispatchUrl!=null&&(H+=y.dispatchUrl);var Z=y.data;y.attachHeadersAsQueryString&&(H=Qt(y),Z!==""&&(H+="&X-Atmosphere-Post-Body="+encodeURIComponent(Z)),Z="");var ie=document.head||document.getElementsByTagName("head")[0]||document.documentElement;N=document.createElement("script"),N.src=H+"&jsonpTransport="+B,N.clean=function(){N.clean=N.onerror=N.onload=N.onreadystatechange=null,N.parentNode&&N.parentNode.removeChild(N),++w.scriptCount===2&&(w.scriptCount=1,W())},N.onload=N.onreadystatechange=function(){Q("jsonp.onload"),(!N.readyState||/loaded|complete/.test(N.readyState))&&N.clean()},N.onerror=function(){Q("jsonp.onerror"),w.scriptCount=1,N.clean()},ie.insertBefore(N,ie.firstChild)}window[B]=function(H){if(Q("jsonp.window"),w.scriptCount=0,y.reconnect&&y.maxRequest===-1||y.requestCount++<y.maxRequest){if(y.executeCallbackBeforeReconnect||Vt(T,y,y.pollingInterval),H!=null&&typeof H!="string")try{H=H.message}catch{}var Z=jt(H,y,p);Z||Nn(p.responseBody,"messageReceived",200,y.transport),y.executeCallbackBeforeReconnect&&Vt(T,y,y.pollingInterval),Ge(y)}else n.util.log(c.logLevel,["JSONP reconnect maximum try reached "+c.requestCount]),xt(0,"maxRequest reached")},setTimeout(function(){U()},50)},abort:function(){N&&N.clean&&N.clean()}},T.open()}function Be(w){return c.webSocketImpl!=null?c.webSocketImpl:window.WebSocket?new WebSocket(w):new MozWebSocket(w)}function Y(){return Qt(c,n.util.getAbsoluteURL(c.webSocketUrl||c.url)).replace(/^http/,"ws")}function ee(){var w=Qt(c);return w}function me(w){p.transport="sse";var y=ee();if(q("debug")&&(n.util.debug("Invoking executeSSE"),n.util.debug("Using URL: "+y)),w&&!c.reconnect){v!=null&&ve();return}try{v=new EventSource(y,{withCredentials:c.withCredentials})}catch(N){xt(0,N),mn("SSE failed. Downgrading to fallback transport and resending");return}c.connectTimeout>0&&(c.id=setTimeout(function(){w||ve()},c.connectTimeout)),v.onopen=function(){Q("sse.onopen"),Ge(c),q("debug")&&n.util.debug("SSE successfully opened"),c.enableProtocol?c.isReopen&&(c.isReopen=!1,ke("re-opening",c.transport,c)):ke(w?"re-opening":"opening","sse",c),w=!0,c.method==="POST"&&(p.state="messageReceived",Ct(c.data))},v.onmessage=function(N){if(Q("sse.onmessage"),Ge(c),!c.enableXDR&&window.location.host&&N.origin&&N.origin!==window.location.protocol+"//"+window.location.host){n.util.log(c.logLevel,["Origin was not "+window.location.protocol+"//"+window.location.host]);return}p.state="messageReceived",p.status=200,N=N.data;var B=jt(N,c,p);B||(L(),p.responseBody="",p.messages=[])},v.onerror=function(){if(Q("sse.onerror"),clearTimeout(c.id),c.heartbeatTimer&&clearTimeout(c.heartbeatTimer),!p.closedByClientTimeout){if(lr(w),ve(),O)n.util.log(c.logLevel,["SSE closed normally"]);else if(!w)mn("SSE failed. Downgrading to fallback transport and resending");else if(c.reconnect&&p.transport==="sse")if(A++<c.maxReconnectOnClose){if(ke("re-connecting",c.transport,c),c.reconnectInterval>0){var N=c.handleOnlineOffline;c.handleOnlineOffline=!1,c.reconnectId=setTimeout(function(){c.handleOnlineOffline=N,me(!0)},c.reconnectInterval)}else me(!0);p.responseBody="",p.messages=[]}else n.util.log(c.logLevel,["SSE reconnect maximum try reached "+A]),xt(0,"maxReconnectOnClose reached")}}}function Ye(w){p.transport="websocket";var y=Y(c.url);if(q("debug")&&n.util.debug("Invoking executeWebSocket, using URL: "+y),w&&!c.reconnect){m!=null&&ve();return}m=Be(y),c.webSocketBinaryType!=null&&(m.binaryType=c.webSocketBinaryType),c.connectTimeout>0&&(c.id=setTimeout(function(){if(!w){var W={code:1002,reason:"Connection timeout after "+c.connectTimeout+"ms.",wasClean:!1},U=m;try{ve()}catch{}U.onclose(W)}},c.connectTimeout)),m.onopen=function(){if(m==null){this.close(),c.transport=="websocket"&&xe();return}Q("websocket.onopen"),(!c.enableProtocol||c.connectTimeout<=0)&&Ge(c),o=!1,q("debug")&&n.util.debug("Websocket successfully opened");var W=w;m.canSendMessage=!0,c.enableProtocol||(w=!0,ke(W?"re-opening":"opening","websocket",c)),c.method==="POST"&&(p.state="messageReceived",m.send(c.data))},m.onmessage=function(W){if(m==null){this.close(),c.transport=="websocket"&&xe();return}Q("websocket.onmessage"),Ge(c),c.enableProtocol&&(w=!0),p.state="messageReceived",p.status=200,W=W.data;var U=typeof W=="string";if(U){var H=jt(W,c,p);H||(L(),p.responseBody="",p.messages=[])}else{if(W=ut(c,W),W==="")return;p.responseBody=W,L(),p.responseBody=null}},m.onerror=function(){Q("websocket.onerror"),clearTimeout(c.id),c.heartbeatTimer&&clearTimeout(c.heartbeatTimer),p.error=!0},m.onclose=function(W){if(Q("websocket.onclose"),p.transport==="websocket"&&(clearTimeout(c.id),p.state!=="closed")){var U=W.reason;if(U==="")switch(W.code){case 1e3:U="Normal closure; the connection successfully completed whatever purpose for which it was created.";break;case 1001:U="The endpoint is going away, either because of a server failure or because the browser is navigating away from the page that opened the connection.";break;case 1002:U="The endpoint is terminating the connection due to a protocol error.";break;case 1003:U="The connection is being terminated because the endpoint received data of a type it cannot accept (for example, a text-only endpoint received binary data).";break;case 1004:U="The endpoint is terminating the connection because a data frame was received that is too large.";break;case 1005:U="Unknown: no status code was provided even though one was expected.";break;case 1006:U="Connection was closed abnormally (that is, with no close frame being sent).";break}if(q("warn")&&n.util.warn("Websocket closed, reason: "+U+" - wasClean: "+W.wasClean),p.closedByClientTimeout||c.handleOnlineOffline&&o){c.reconnectId&&(clearTimeout(c.reconnectId),delete c.reconnectId);return}lr(w),p.state="closed",O?n.util.log(c.logLevel,["Websocket closed
238normally"]):p.error&&c.curWebsocketErrorRetries<c.maxWebsocketErrorRetries&&A+1<c.maxReconnectOnClose?(p.error=!1,c.curWebsocketErrorRetries++,An()):(p.error||!w||c.maxWebsocketErrorRetries===0)&&c.fallbackTransport!=="websocket"?(p.error=!1,mn("Websocket failed on first connection attempt. Downgrading to "+c.fallbackTransport+" and resending")):c.reconnect&&An()}};var N=navigator.userAgent.toLowerCase(),B=N.indexOf("android")>-1;B&&m.url===void 0&&m.onclose({reason:"Android 4.1 does not support websockets.",wasClean:!1})}function ut(w,y){var N=y;if(w.transport==="polling")return N;if(w.enableProtocol&&w.firstMessage&&n.util.trim(y).length!==0){var B=w.trackMessageLength?1:0,W=y.split(w.messageDelimiter);if(W.length<=B+1)return N;if(w.firstMessage=!1,w.uuid=n.util.trim(W[B]),W.length<=B+2&&n.util.log("error",["Protocol data not sent by the server. If you enable protocol on client side, be sure to install JavascriptProtocol interceptor on server side.Also note that atmosphere-runtime 2.2+ should be used."]),P=parseInt(n.util.trim(W[B+1]),10),D=W[B+2],w.transport!=="long-polling"&&Ht(w),u=w.uuid,N="",B=w.trackMessageLength?4:3,W.length>B+1)for(var U=B;U<W.length;U++)N+=W[U],U+1!==W.length&&(N+=w.messageDelimiter);w.ackInterval!==0&&setTimeout(function(){Ct("...ACK...")},w.ackInterval)}else w.enableProtocol&&w.firstMessage&&n.util.browser.msie&&+n.util.browser.version.split(".")[0]<10?n.util.log(c.logLevel,["Receiving unexpected data from IE"]):Ht(w);return N}function Ge(w){clearTimeout(w.id),w.timeout>0&&w.transport!=="polling"&&(w.id=setTimeout(function(){gt(),pe(),ve()},w.timeout))}function gt(w){p.closedByClientTimeout=!0,p.state="closedByClient",p.responseBody="",p.status=408,p.messages=[],L()}function xt(w,y){ve(),clearTimeout(c.id),p.state="error",p.reasonPhrase=y,p.responseBody="",p.status=w,p.messages=[],L()}function jt(w,y,N){if(w=ut(y,w),w.length===0)return!0;if(N.responseBody=w,y.trackMessageLength){w=N.partialMessage+w;var B=[],W=w.indexOf(y.messageDelimiter);if(W!=-1){for(;W!==-1;){var U=w.substring(0,W),H=+U;if(isNaN(H))throw N.partialMessage="",new Error('message length "'+U+'" is not a number');W+=y.messageDelimiter.length,W+H>w.length?W=-1:(B.push(w.substring(W,W+H)),w=w.substring(W+H,w.length),W=w.indexOf(y.messageDelimiter))}return N.partialMessage=w,B.length!==0?(N.responseBody=B.join(y.messageDelimiter),N.messages=B,!1):(N.responseBody="",N.messages=[],!0)}}return N.responseBody=w,N.messages=[w],!1}function An(){if(ve(),A++<c.maxReconnectOnClose)if(ke("re-connecting",c.transport,c),c.reconnectInterval>0){var w=c.handleOnlineOffline;c.handleOnlineOffline=!1,c.reconnectId=setTimeout(function(){c.handleOnlineOffline=w,p.responseBody="",p.messages=[],Ye(!0)},c.reconnectInterval)}else p.responseBody="",p.messages=[],Ye(!0);else n.util.log(c.logLevel,["Websocket reconnect maximum try reached "+A]),xt(0,"maxReconnectOnClose reached")}function mn(w){if(n.util.log(c.logLevel,[w]),ve(),typeof c.onTransportFailure<"u"?c.onTransportFailure(w,c):typeof n.util.onTransportFailure<"u"&&n.util.onTransportFailure(w,c),c.reconnect&&c.transport!=="none"||c.transport==null)if(c.transport=c.fallbackTransport,c.method=c.fallbackMethod,p.transport=c.fallbackTransport,p.state="",c.fallbackTransport="none",c.reconnectInterval>0){var y=c.handleOnlineOffline;c.handleOnlineOffline=!1,c.reconnectId=setTimeout(function(){c.handleOnlineOffline=y,K()},c.reconnectInterval)}else K();else xt(500,"Unable to reconnect with fallback transport")}function Qt(w,y){var N=c;return w!=null&&typeof w<"u"&&(N=w),y==null&&(y=N.url),!N.attachHeadersAsQueryString||y.indexOf("X-Atmosphere-Framework")!==-1||(y+=y.indexOf("?")!==-1?"&":"?",y+="X-Atmosphere-tracking-id="+N.uuid,y+="&X-Atmosphere-Framework="+n.version,y+="&X-Atmosphere-Transport="+N.transport,N.trackMessageLength&&(y+="&X-Atmosphere-TrackMessageSize=true"),N.heartbeat!==null&&N.heartbeat.server!==null&&(y+="&X-Heartbeat-Server="+N.heartbeat.server),N.contentType!==""&&(y+="&Content-Type="+(N.transport==="websocket"?N.contentType:encodeURIComponent(N.contentType))),N.enableProtocol&&(y+="&X-atmo-protocol=true"),n.util.each(N.headers,function(B,W){var U=n.util.isFunction(W)?W.call(this,N,w,p):W;U!=null&&(y+="&"+encodeURIComponent(B)+"="+encodeURIComponent(U))})),y}function Ht(w){if(!w.isOpen)w.isOpen=!0,ke("opening",w.transport,w);else if(w.isReopen)w.isReopen=!1,ke("re-opening",w.transport,w);else if(p.state==="messageReceived"&&(w.transport==="jsonp"||w.transport==="long-polling"))se(p);else return;Rn(w)}function Rn(w){if(w.heartbeatTimer!=null&&clearTimeout(w.heartbeatTimer),!isNaN(P)&&P>0){var y=function(){q("debug")&&n.util.debug("Sending heartbeat"),Ct(D),w.heartbeatTimer=setTimeout(y,P)};w.heartbeatTimer=setTimeout(y,P)}}function Et(w){var y=c;if((w!=null||typeof w<"u")&&(y=w),y.lastIndex=0,y.readyState=0,y.transport==="jsonp"||y.enableXDR&&n.util.checkCORSSupport()){Ae(y);return}if(n.util.browser.msie&&+n.util.browser.version.split(".")[0]<10){if(y.transport==="streaming"){y.enableXDR&&window.XDomainRequest?Ne(y):Ue(y);return}if(y.enableXDR&&window.XDomainRequest){Ne(y);return}}var N=function(H){if(y.lastIndex=0,A++,H||y.reconnect&&A<=y.maxReconnectOnClose){var Z=H?0:w.reconnectInterval;p.ffTryingReconnect=!0,ke("re-connecting",w.transport,w),Vt(U,y,Z)}else xt(0,"maxReconnectOnClose reached")},B=function(H){n._beforeUnloadState?(n.util.debug(new Date+" Atmosphere: reconnectF: execution delayed due to _beforeUnloadState flag"),setTimeout(function(){N(H)},5e3)):N(H)},W=function(){p.errorHandled=!0,ve(),B(!1)};if(y.force||y.reconnect&&(y.maxRequest===-1||y.requestCount++<y.maxRequest)){y.force=!1;var U=n.util.xhr();U.hasData=!1,yr(U,y,!0),y.suspend&&(b=U),y.transport!=="polling"&&(p.transport=y.transport,U.onabort=function(){Q("ajaxrequest.onabort"),lr(!0)},U.onerror=function(){Q("ajaxrequest.onerror"),p.error=!0,p.ffTryingReconnect=!0;try{p.status=XMLHttpRequest.status}catch{p.status=500}p.status||(p.status=500),p.errorHandled||(ve(),B(!1))}),U.onreadystatechange=function(){if(Q("ajaxRequest.onreadystatechange, new state: "+U.readyState),O){Q("onreadystatechange has been ignored due to _abortingConnection flag");return}p.error=!1;var H=!1,Z=!1;if(y.transport==="streaming"&&y.readyState>2&&U.readyState===4){ve(),B(!1);return}if(y.readyState=U.readyState,(y.transport==="streaming"&&U.readyState>=3||y.transport==="long-polling"&&U.readyState===4)&&(Z=!0),Ge(c),y.transport!=="polling"){var ie=200;if(U.readyState===4&&(ie=U.status>1e3?0:U.status),!y.reconnectOnServerError&&ie>=300&&ie<600){xt(ie,U.statusText);return}if(ie>=300||ie===0){!y.isOpen&&q("warn")&&n.util.warn(y.transport+" connection failed with status: "+ie+" "+(U.statusText||"Unable to connect")),W();return}(!y.enableProtocol||!w.firstMessage)&&(U.readyState===2||U.readyState>2&&!y.isOpen)&&(n.util.browser.mozilla&&p.ffTryingReconnect?(p.ffTryingReconnect=!1,setTimeout(function(){p.ffTryingReconnect||Ht(y)},500)):Ht(y))}else U.readyState===4&&(Z=!0);if(Z){var te=U.responseText;if(p.errorHandled=!1,y.transport==="long-polling"&&n.util.trim(te).length===0){U.hasData?U.hasData=!1:B(!0);return}if(U.hasData=!0,Wn(U,c),y.transport==="streaming")if(n.util.browser.opera)n.util.iterate(function(){if(p.status!==500&&U.responseText.length>y.lastIndex){try{p.status=U.status,p.headers=n.util.parseHeaders(U.getAllResponseHeaders()),Wn(U,c)}catch{p.status=404}Ge(c),p.state="messageReceived";var je=U.responseText.substring(y.lastIndex);if(y.lastIndex=U.responseText.length,H=jt(je,y,p),H||L(),ue(U,y)){gn(U,y);return}}else if(p.status>400)return y.lastIndex=U.responseText.length,!1},0);else{var be=te.substring(y.lastIndex,te.length);if(H=jt(be,y,p),y.lastIndex=te.length,H)return}else H=jt(te,y,p);var _e=ue(U,y);try{p.status=U.status,p.headers=n.util.parseHeaders(U.getAllResponseHeaders()),Wn(U,y)}catch{p.status=404}y.suspend?p.state=p.status===0?"closed":"messageReceived":p.state="messagePublished";var ze=!_e&&w.transport!=="streaming"&&w.transport!=="polling";ze&&!y.executeCallbackBeforeReconnect&&Vt(U,y,y.pollingInterval),p.responseBody.length!==0&&!H&&L(),ze&&y.executeCallbackBeforeReconnect&&Vt(U,y,y.pollingInterval),_e&&gn(U,y)}};try{U.send(y.data),R=!0}catch(H){n.util.log(y.logLevel,["Unable to connect to "+y.url]),xt(0,H)}}else y.logLevel==="debug"&&n.util.log(y.logLevel,["Max re-connection reached."]),xt(0,"maxRequest reached")}function gn(w,y){p.messages=[],y.isReopen=!0,xe(),O=!1,Vt(w,y,500)}function yr(w,y,N){var B=y.url;y.dispatchUrl!=null&&y.method==="POST"&&(B+=y.dispatchUrl),B=Qt(y,B),B=n.util.prepareURL(B),w.open(y.method,B,!0),y.connectTimeout>0&&(y.id=setTimeout(function(){y.requestCount===0&&(ve(),Nn("Connect timeout","closed",200,y.transport))},y.connectTimeout)),c.withCredentials&&c.transport!=="websocket"&&"withCredentials"in w&&(w.withCredentials=!0),c.dropHeaders||(w.setRequestHeader("X-Atmosphere-Framework",n.version),w.setRequestHeader("X-Atmosphere-Transport",y.transport),y.heartbeat!==null&&y.heartbeat.server!==null&&w.setRequestHeader("X-Heartbeat-Server",w.heartbeat.server),y.trackMessageLength&&w.setRequestHeader("X-Atmosphere-TrackMessageSize","true"),w.setRequestHeader("X-Atmosphere-tracking-id",y.uuid),n.util.each(y.headers,function(W,U){var H=n.util.isFunction(U)?U.call(this,w,y,N,p):U;H!=null&&w.setRequestHeader(W,H)})),y.contentType!==""&&w.setRequestHeader("Content-Type",y.contentType)}
238function Vt(w,y,N){if(!p.closedByClientTimeout&&(y.reconnect||y.suspend&&R)){var B=0;if(w&&w.readyState>1&&(B=w.status>1e3?0:w.status),p.status=B===0?204:B,p.reason=B===0?"Server resumed the connection or down.":"OK",clearTimeout(y.id),y.reconnectId&&(clearTimeout(y.reconnectId),delete y.reconnectId),N>0){var W=c.handleOnlineOffline;c.handleOnlineOffline=!1,c.reconnectId=setTimeout(function(){c.handleOnlineOffline=W,Et(y)},N)}else Et(y)}}function G(w){w.state="re-connecting",Yn(w)}function se(w){w.state="openAfterResume",Yn(w),w.state="messageReceived"}function Ne(w){w.transport!=="polling"?(x=Fe(w),x.open()):Fe(w).open()}function Fe(w){var y=c;w!=null&&typeof w<"u"&&(y=w);var N=y.transport,B=0,W=new window.XDomainRequest,U=function(){y.transport==="long-polling"&&y.reconnect&&(y.maxRequest===-1||y.requestCount++<y.maxRequest)&&(W.status=200,Ne(y))},H=y.rewriteURL||function(ie){var te=/(?:^|;\s*)(JSESSIONID|PHPSESSID)=([^;]*)/.exec(document.cookie);switch(te&&te[1]){case"JSESSIONID":return ie.replace(/;jsessionid=[^\?]*|(\?)|$/,";jsessionid="+te[2]+"$1");case"PHPSESSID":return ie.replace(/\?PHPSESSID=[^&]*&?|\?|$/,"?PHPSESSID="+te[2]+"&").replace(/&$/,"")}return ie};W.onprogress=function(){Z(W)},W.onerror=function(){y.transport!=="polling"&&(ve(),A++<y.maxReconnectOnClose?y.reconnectInterval>0?y.reconnectId=setTimeout(function(){ke("re-connecting",w.transport,w),Ne(y)},y.reconnectInterval):(ke("re-connecting",w.transport,w),Ne(y)):xt(0,"maxReconnectOnClose reached"))},W.onload=function(){};var Z=function(ie){clearTimeout(y.id);var te=ie.responseText;if(te=te.substring(B),B+=te.length,N!=="polling"){Ge(y);var be=jt(te,y,p);if(N==="long-polling"&&n.util.trim(te).length===0)return;y.executeCallbackBeforeReconnect&&U(),be||Nn(p.responseBody,"messageReceived",200,N),y.executeCallbackBeforeReconnect||U()}};return{open:function(){var ie=y.url;y.dispatchUrl!=null&&(ie+=y.dispatchUrl),ie=Qt(y,ie),W.open(y.method,H(ie)),y.method==="GET"?W.send():W.send(y.data),y.connectTimeout>0&&(y.id=setTimeout(function(){y.requestCount===0&&(ve(),Nn("Connect timeout","closed",200,y.transport))},y.connectTimeout))},close:function(){W.abort()}}}function Ue(w){x=rt(w),x.open()}function rt(w){var y=c;w!=null&&typeof w<"u"&&(y=w);var N,B=new window.ActiveXObject("htmlfile");B.open(),B.close();var W=y.url;return y.dispatchUrl!=null&&(W+=y.dispatchUrl),y.transport!=="polling"&&(p.transport=y.transport),{open:function(){var U=B.createElement("iframe");W=Qt(y),y.data!==""&&(W+="&X-Atmosphere-Post-Body="+encodeURIComponent(y.data)),W=n.util.prepareURL(W),U.src=W,B.body.appendChild(U);var H=U.contentDocument||U.contentWindow.document;N=n.util.iterate(function(){try{if(!H.firstChild)return;var Z=H.body?H.body.lastChild:H;Z.omgThisIsBroken;var ie=function(){var _e=Z.cloneNode(!0);_e.appendChild(H.createTextNode("."));var ze=_e.innerText;return ze=ze.substring(0,ze.length-1),ze};if(!H.body||!H.body.firstChild||H.body.firstChild.nodeName.toLowerCase()!=="pre"){var te=H.head||H.getElementsByTagName("head")[0]||H.documentElement||H,be=H.createElement("script");
238be.text="document.write('<plaintext>')",te.insertBefore(be,te.firstChild),te.removeChild(be),Z=H.body.lastChild}return y.closed&&(y.isReopen=!0),N=n.util.iterate(function(){var _e=ie();if(_e.length>y.lastIndex){Ge(c),p.status=200,p.error=!1,Z.innerText="";var ze=jt(_e,y,p);if(ze)return"";Nn(p.responseBody,"messageReceived",200,y.transport)}if(y.lastIndex=0,H.readyState==="complete")return lr(!0),ke("re-connecting",y.transport,y),y.reconnectInterval>0?y.reconnectId=setTimeout(function(){Ue(y)},y.reconnectInterval):Ue(y),!1},null),!1}catch{return p.error=!0,ke("re-connecting",y.transport,y),A++<y.maxReconnectOnClose?y.reconnectInterval>0?y.reconnectId=setTimeout(function(){Ue(y)},y.reconnectInterval):Ue(y):xt(0,"maxReconnectOnClose reached"),B.execCommand("Stop"),B.close(),!1}})},close:function(){N&&N(),B.execCommand("Stop"),lr(!0)}}}function Ct(w){k!=null?vn(w):b!=null||v!=null?ct(w):x!=null?Ft(w):T!=null?Rt(w):m!=null?Hn(w):(xt(0,"No suspended connection available"),n.util.error("No suspended connection available. Make sure atmosphere.subscribe has been called and request.onOpen invoked before trying to push data"))}function Dt(w,y){y||(y=xr(w)),y.transport="polling",y.method="GET",y.withCredentials=!1,y.reconnect=!1,y.force=!0,y.suspend=!1,y.timeout=1e3,c.unloadBackwardCompat?Et(y):navigator.sendBeacon(y.url,y.data)}function vn(w){k.send(w)}function jn(w){if(w.length!==0)try{k?k.localSend(w):J&&J.signal("localMessage",JSON.stringify({id:le,event:w}))}catch(y){n.util.error(y)}}function ct(w){var y=xr(w);Et(y)}function Ft(w){if(c.enableXDR&&n.util.checkCORSSupport()){var y=xr(w);y.reconnect=!1,Ae(y)}else ct(w)}function Rt(w){ct(w)}function or(w){var y=w;return typeof y=="object"&&(y=w.data),y}function xr(w){var y=or(w),N={connected:!1,timeout:6e4,method:"POST",url:c.url,contentType:c.contentType,headers:c.headers,reconnect:!0,callback:null,data:y,suspend:!1,maxRequest:-1,logLevel:"info",requestCount:0,withCredentials:c.withCredentials,transport:"polling",isOpen:!0,attachHeadersAsQueryString:!0,enableXDR:c.enableXDR,uuid:c.uuid,dispatchUrl:c.dispatchUrl,enableProtocol:!1,messageDelimiter:"|",trackMessageLength:c.trackMessageLength,maxReconnectOnClose:c.maxReconnectOnClose,heartbeatTimer:c.heartbeatTimer,heartbeat:c.heartbeat};return typeof w=="object"&&(N=n.util.extend(N,w)),N}function Hn(w){var y=n.util.isBinary(w)?w:or(w),N;try{if(c.dispatchUrl!=null?N=c.webSocketPathDelimiter+c.dispatchUrl+c.webSocketPathDelimiter+y:N=y,!m.canSendMessage){n.util.error("WebSocket not connected.");return}m.send(N)}catch{m.onclose=function(){},ve(),mn("Websocket failed. Downgrading to "+c.fallbackTransport+" and resending "+w),ct(w)}}function Vn(w){var y=JSON.parse(w);y.id!==le&&(typeof c.onLocalMessage<"u"?c.onLocalMessage(y.event):typeof n.util.onLocalMessage<"u"&&n.util.onLocalMessage(y.event))}function Nn(w,y,N,B){p.responseBody=w,p.transport=B,p.status=N,p.state=y,L()}function Wn(w,y){if(!y.readResponsesHeaders)y.enableProtocol||(y.uuid=le);else try{var N=w.getResponseHeader("X-Atmosphere-tracking-id");N&&N!=null&&(y.uuid=N.split(" ").pop())}catch{}}function Yn(w){si(w,c),si(w,n.util)}function si(w,y){switch(w.state){case"messageReceived":Q("Firing onMessage"),A=0,typeof y.onMessage<"u"&&y.onMessage(w),typeof y.onmessage<"u"&&y.onmessage(w);break;case"error":var N=typeof w.reasonPhrase<"u"?w.reasonPhrase:"n/a";Q("Firing onError, reasonPhrase: "+N),typeof y.onError<"u"&&y.onError(w),typeof y.onerror<"u"&&y.onerror(w);break;case"opening":delete c.closed,Q("Firing onOpen"),typeof y.onOpen<"u"&&y.onOpen(w),typeof y.onopen<"u"&&y.onopen(w);break;case"messagePublished":Q("Firing messagePublished"),typeof y.onMessagePublished<"u"&&y.onMessagePublished(w);break;case"re-connecting":Q("Firing onReconnect"),typeof y.onReconnect<"u"&&y.onReconnect(c,w);break;case"closedByClient":Q("Firing closedByClient"),typeof y.onClientTimeout<"u"&&y.onClientTimeout(c);break;case"re-opening":delete c.closed,Q("Firing onReopen"),typeof y.onReopen<"u"&&y.onReopen(c,w);break;case"fail-to-reconnect":Q("Firing onFailureToReconnect"),typeof y.onFailureToReconnect<"u"&&y.onFailureToReconnect(c,w);break;case"unsubscribe":case"closed":var B=typeof c.closed<"u"?c.closed:!1;B?Q("Request already closed, not firing onClose ("+w.state+" case)"):(Q("Firing onClose ("+w.state+" case)"),typeof y.onClose<"u"&&y.onClose(w),typeof y.onclose<"u"&&y.onclose(w)),c.closed=!0;break;case"openAfterResume":typeof y.onOpenAfterResume<"u"&&y.onOpenAfterResume(c);break}}function lr(w){p.state!=="closed"&&(p.state="closed",p.responseBody="",p.messages=[],p.status=w?200:501,L())}function L(){var w=function(W,U){U(p)};k==null&&X!=null&&X(p.responseBody),c.reconnect=c.mrequest;
238for(var y=typeof p.responseBody=="string",N=y&&c.trackMessageLength?p.messages.length>0?p.messages:[""]:new Array(p.responseBody),B=0;B<N.length;B++)if(!(N.length>1&&N[B].length===0)){if(p.responseBody=y?n.util.trim(N[B]):N[B],k==null&&X!=null&&X(p.responseBody),p.state==="messageReceived"){if(p.responseBody.length===0)continue;if(y&&D===p.responseBody){A=0;continue}}if(Yn(p),a.length>0){q("debug")&&n.util.debug("Invoking "+a.length+" global callbacks: "+p.state);try{n.util.each(a,w)}catch(W){n.util.log(c.logLevel,["Callback exception"+W])}}if(typeof c.callback=="function"){q("debug")&&n.util.debug("Invoking request callbacks");try{c.callback(p)}catch(W){n.util.log(c.logLevel,["Callback exception"+W])}}}}this.subscribe=function(w){he(w),K()},this.execute=function(){K()},this.close=function(){xe()},this.disconnect=function(){pe()},this.getUrl=function(){return c.url},this.push=function(w,y){if(y!=null){var N=c.dispatchUrl;c.dispatchUrl=y,Ct(w),c.dispatchUrl=N}else Ct(w)},this.getUUID=function(){return c.uuid},this.pushLocal=function(w){jn(w)},this.enableProtocol=function(){return c.enableProtocol},this.init=function(){Se()},this.request=c,this.response=p}},n.subscribe=function(d,c,p){typeof c=="function"&&n.addCallback(c),typeof d!="string"?p=d:p.url=d,u=typeof p<"u"&&typeof p.uuid<"u"?p.uuid:0;var m=new n.AtmosphereRequest(p);return m.execute(),l[l.length]=m,m},n.unsubscribe=function(){if(l.length>0)for(var d=[].concat(l),c=0;c<d.length;c++){var p=d[c];p.close(),clearTimeout(p.response.request.id),p.heartbeatTimer&&clearTimeout(p.heartbeatTimer)}l=[],a=[]},n.unsubscribeUrl=function(d){var c=-1;if(l.length>0)for(var p=0;p<l.length;p++){var m=l[p];if(m.getUrl()===d){m.close(),clearTimeout(m.response.request.id),m.heartbeatTimer&&clearTimeout(m.heartbeatTimer),c=p;break}}c>=0&&l.splice(c,1)},n.addCallback=function(d){n.util.inArray(d,a)===-1&&a.push(d)},n.removeCallback=function(d){var c=n.util.inArray(d,a);c!==-1&&a.splice(c,1)},n.util={browser:{},parseHeaders:function(d){for(var c,p=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,m={};c=p.exec(d);)m[c[1]]=c[2];return m},now:function(){return new Date().getTime()},isArray:function(d){return Object.prototype.toString.call(d)==="[object Array]"},inArray:function(d,c){if(!Array.prototype.indexOf){for(var p=c.length,m=0;m<p;++m)if(c[m]===d)return m;return-1}return c.indexOf(d)},isBinary:function(d){return/^\[object\s(?:Blob|ArrayBuffer|.+Array)\]$/.test(Object.prototype.toString.call(d))},isFunction:function(d){return Object.prototype.toString.call(d)==="[object Function]"},getAbsoluteURL:function(d){if(typeof document.createElement>"u")return d;var c=document.createElement("div");c.innerHTML='<a href="'+d+'"></a>';var p=window.navigator.userAgent;return p.indexOf("MSIE ")>0||p.indexOf("Trident/")>0||p.indexOf("Edge/")>0?n.util.fixedEncodeURI(decodeURI(c.firstChild.href)):c.firstChild.href},fixedEncodeURI:function(d){return encodeURI(d).replace(/%5B/g,"[").replace(/%5D/g,"]")},prepareURL:function(d){var c=n.util.now(),p=d.replace(/([?&])_=[^&]*/,"$1_="+c);return p+(p===d?(/\?/.test(d)?"&":"?")+"_="+c:"")},trim:function(d){return String.prototype.trim?d.toString().trim():d.toString().replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g,"").replace(/\s+/g," ")},param:function(d){var c,p=[];function m(b,x){x=n.util.isFunction(x)?x():x??"",p.push(encodeURIComponent(b)+"="+encodeURIComponent(x))}function v(b,x){var T;if(n.util.isArray(x))n.util.each(x,function(R,A){/\[\]$/.test(b)?m(b,A):v(b+"["+(typeof A=="object"?R:"")+"]",A)});else if(Object.prototype.toString.call(x)==="[object Object]")for(T in x)v(b+"["+T+"]",x[T]);else m(b,x)}for(c in d)v(c,d[c]);return p.join("&").replace(/%20/g,"+")},storage:function(){try{return!!(window.localStorage&&window.StorageEvent)}catch{return!1}},iterate:function(d,c){var p;return c=c||0,(function m(){p=setTimeout(function(){d()!==!1&&m()},c)})(),function(){clearTimeout(p)}},each:function(d,c,p){if(d){var m,v=0,b=d.length,x=n.util.isArray(d);if(p){if(x)for(;v<b&&(m=c.apply(d[v],p),m!==!1);v++);else for(v in d)if(m=c.apply(d[v],p),m===!1)break}else if(x)for(;v<b&&(m=c.call(d[v],v,d[v]),m!==!1);v++);else for(v in d)if(m=c.call(d[v],v,d[v]),m===!1)break;return d}},extend:function(d){var c,p,m;for(c=1;c<arguments.length;c++)if((p=arguments[c])!=null)for(m in p)d[m]=p[m];return d},on:function(d,c,p){d.addEventListener?d.addEventListener(c,p,!1):d.attachEvent&&d.attachEvent("on"+c,p)},off:function(d,c,p){d.removeEventListener?d.removeEventListener(c,p,!1):d.detachEvent&&d.detachEvent("on"+c,p)},log:function(d,c){if(window.console){var p=window.console[d];typeof p=="function"&&p.apply(window.console,c)}},warn:function(){n.util.log("warn",arguments)},info:function(){n.util.log("info",arguments)},debug:function(){n.util.log("debug",arguments)},error:function(){n.util.log("error",arguments)},xhr:function(){try{return new window.XMLHttpRequest}catch{try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch{}}},checkCORSSupport:function(){if(n.util.browser.msie&&!window.XDomainRequest&&+n.util.browser.version.split(".")[0]<11)return!0;
238if(n.util.browser.opera&&+n.util.browser.version.split(".")<12)return!0;if(n.util.trim(navigator.userAgent).slice(0,16)==="KreaTVWebKit/531")return!0;if(n.util.trim(navigator.userAgent).slice(-7).toLowerCase()==="kreatel")return!0;var d=navigator.userAgent.toLowerCase(),c=d.match(/.+android ([0-9]{1,2})/i),p=parseInt(c&&c[0]||-1,10);return!isNaN(p)&&p>-1&&p<3}},n.util.now(),(function(){var d=navigator.userAgent.toLowerCase(),c=/(chrome)[ \/]([\w.]+)/.exec(d)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(d)||/(msie) ([\w.]+)/.exec(d)||/(trident)(?:.*? rv:([\w.]+)|)/.exec(d)||d.indexOf("android")<0&&/version\/(.+) (safari)/.exec(d)||d.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(d)||[];c[2]==="safari"&&(c[2]=c[1],c[1]="safari"),n.util.browser[c[1]||""]=!0,n.util.browser.version=c[2]||"0",n.util.browser.vmajor=n.util.browser.version.split(".")[0],n.util.browser.trident&&(n.util.browser.msie=!0),(n.util.browser.msie||n.util.browser.mozilla&&+n.util.browser.version.split(".")[0]==1)&&(n.util.storage=!1)})(),n.callbacks={unload:function(){n.util.debug(new Date+" Atmosphere: unload event"),n.unsubscribe()},beforeUnload:function(){n.util.debug(new Date+" Atmosphere: beforeunload event"),n._beforeUnloadState=!0,setTimeout(function(){n.util.debug(new Date+" Atmosphere: beforeunload event timeout reached. Reset _beforeUnloadState flag"),n._beforeUnloadState=!1},5e3)},offline:function(){if(n.util.debug(new Date+" Atmosphere: offline event"),o=!0,l.length>0)for(var d=[].concat(l),c=0;c<d.length;c++){var p=d[c];p.request.handleOnlineOffline&&(p.close(),clearTimeout(p.response.request.id),p.heartbeatTimer&&clearTimeout(p.heartbeatTimer))}},online:function(){if(n.util.debug(new Date+" Atmosphere: online event"),l.length>0)for(var d=0;d<l.length;d++)l[d].request.handleOnlineOffline&&(l[d].init(),l[d].execute());o=!1}},n.bindEvents=function(){n.util.on(window,"unload",n.callbacks.unload),n.util.on(window,"beforeunload",n.callbacks.beforeUnload),n.util.on(window,"offline",n.callbacks.offline),n.util.on(window,"online",n.callbacks.online)},n.unbindEvents=function(){n.util.off(window,"unload",n.callbacks.unload),n.util.off(window,"beforeunload",n.callbacks.beforeUnload),n.util.off(window,"offline",n.callbacks.offline),n.util.off(window,"online",n.callbacks.online)},n.bindEvents(),n})})(fs)),fs.exports}var Yc,gg;function iS(){return gg||(gg=1,Yc=rS()),Yc}var oS=iS();const lS=Os(oS);function aS(e){return e!=null&&typeof e=="object"&&"@type"in e}let Fn=(function(e){return e.ACTIVE="active",e.INACTIVE="inactive",e.RECONNECTING="reconnecting",e})({}),sS=(function(e){return e.RESUBSCRIBE="resubscribe",e.REMOVE="remove",e})({}),so=(function(e){return e.CONNECTING="connecting",e.CONNECTED="connected",e.CLOSED="closed",e})({});class uS extends EventTarget{state=Fn.INACTIVE;wasClosed=!1;#e=new Map;#r=0;#a=new Map;#s=new Map;#u=new Map;#i=new Map;#t=new Map;#c=[];#d;constructor(t,n){super(),this.#m(t.replace(/connect$/u,""),n??{})}#f(){if(this.wasClosed){this.wasClosed=!1;const t=[];this.#e.forEach((n,o)=>{n.reconnect?.()===sS.RESUBSCRIBE?(this.#n(o,so.CONNECTING),this.#l({"@type":"subscribe",endpointName:n.endpointName,id:o,methodName:n.methodName,params:n.params})):t.push(o)}),t.forEach(n=>this.#o(n))}}subscribe(t,n,o){const l=this.#r.toString();this.#r+=1;const a=o??[],u={"@type":"subscribe",endpointName:t,id:l,methodName:n,params:a};this.#l(u),this.#e.set(l,{endpointName:t,methodName:n,params:a}),this.#n(l,so.CONNECTING);const d={cancel:()=>{if(!this.#e.has(l))return;const c={"@type":"unsubscribe",id:l};this.#l(c),this.#o(l)},context(c){return c.addController({hostDisconnected(){d.cancel()}}),d},onComplete:c=>(this.#a.set(l,c),d),onError:c=>(this.#s.set(l,c),d),onNext:c=>(this.#u.set(l,c),d),onSubscriptionLost:c=>(this.#e.has(l)?this.#e.get(l).reconnect=c:console.warn(`"onReconnect" value not set for subscription "${l}" because it was already canceled`),d),onConnectionStateChange:c=>(this.#i.set(l,c),c(new CustomEvent("subscription-state-change",{detail:{state:this.#t.get(l)}})),d)};return d}#m(t,n){const o=globalThis.document?yy(globalThis.document):{},l="HILLA/push",a=t.length===0?l:(t.endsWith("/")?t:`${t}/`)+l;this.#d=lS.subscribe?.({contentType:"application/json; charset=UTF-8",enableProtocol:!0,transport:"websocket",fallbackTransport:"websocket",headers:o,maxReconnectOnClose:1e7,reconnectInterval:5e3,timeout:-1,trackMessageLength:!0,url:a,onClose:()=>{this.wasClosed=!0,this.state!==Fn.INACTIVE&&(this.state=Fn.INACTIVE,this.dispatchEvent(new CustomEvent("state-changed",{detail:{active:!1}})))},onError:u=>{console.error("error in push communication",u)},onMessage:u=>{u.responseBody&&this.#p(JSON.parse(u.responseBody))},onMessagePublished:u=>{u?.responseBody&&this.#p(JSON.parse(u.responseBody))},onOpen:()=>{this.state!==Fn.ACTIVE&&(this.#f(),this.state=Fn.ACTIVE,this.dispatchEvent(new CustomEvent("state-changed",{detail:{active:!0}})),this.#h())},onReopen:()=>{this.state!==Fn.ACTIVE&&(this.#f(),this.state=Fn.ACTIVE,this.dispatchEvent(new CustomEvent("state-changed",{detail:{active:!0}})),this.#h())},onReconnect:()=>{this.state!==Fn.RECONNECTING&&(this.state=Fn.RECONNECTING,this.#e.forEach((u,d)=>{this.#n(d,so.CONNECTING)}))},onFailureToReconnect:()=>{this.state!==Fn.INACTIVE&&(this.state=Fn.INACTIVE,this.dispatchEvent(new CustomEvent("state-changed",{detail:{active:!1}})),this.#e.forEach((u,d)=>this.#n(d,so.CLOSED)))},...n})}#n(t,n){const o=this.#t.get(t);o?o!==n&&(this.#t.set(t,n),this.#i.get(t)?.(new CustomEvent("subscription-state-change",{detail:{state:this.#t.get(t)}}))):(this.#t.set(t,n),this.#i.get(t)?.(new CustomEvent("subscription-state-change",{detail:{state:this.#t.get(t)}})))}#p(t){if(aS(t)){const{id:n}=t,o=this.#e.get(n);if(t["@type"]==="update"){const l=this.#u.get(n);l&&l(t.item),this.#n(n,so.CONNECTED)}else if(t["@type"]==="complete")this.#a.get(n)?.(),this.#o(n);else{const l=this.#s.get(n);if(l&&l(t.message),this.#o(n),!l)throw new Error(o?`Error in ${o.endpointName}.${o.methodName}(${JSON.stringify(o.params)}): ${t.message}`:`Error in unknown subscription: ${t.message}`)}}else throw new Error(`Unknown message from server: ${String(t)}`)}
238#o(t){this.#n(t,so.CLOSED),this.#t.delete(t),this.#i.delete(t),this.#u.delete(t),this.#a.delete(t),this.#s.delete(t),this.#e.delete(t)}#l(t){this.state===Fn.INACTIVE?this.#c.push(t):this.#d?.push?.(JSON.stringify(t))}#h(){this.#c.forEach(t=>this.#l(t)),this.#c=[]}}const Ir=globalThis;Ir.Vaadin??={};Ir.Vaadin.registrations??=[];Ir.Vaadin.registrations.push({is:"endpoint"});const cS="hilla_body_part",dS=async e=>{if(!e.ok){const t=await e.text();let n;try{n=JSON.parse(t)}catch{n=null}const o=n?.message??(t.length>0?t:`expected "200 OK" response, but got ${e.status} ${e.statusText}`),l=n?.type;if(n?.validationErrorData)throw new Z1(o,n.validationErrorData,l);if(l)throw new xf(o,l,n?.detail);switch(e.status){case 401:throw new eS(o,e);case 403:throw new tS(o,e);default:throw new wf(o,e)}}};function vg(){return Ir.Vaadin?.Flow?.clients?.TypeScript!==void 0}function fS(e){const t=new Map;function n(o,l){return o!==null&&typeof o=="object"?o instanceof File?(t.set(l,o),null):Array.isArray(o)?o.map((a,u)=>n(a,`${l}/${u}`)):Object.entries(o).reduce((a,[u,d])=>{const c=`${l}/${u}`;return d instanceof File?t.set(c,d):a[u]=n(d,c),a},{}):o}return[n(e,""),t]}class pS{middlewares=[];prefix="/connect";atmosphereOptions={};#e;constructor(t={}){t.prefix&&(this.prefix=t.prefix),t.middlewares&&(this.middlewares=t.middlewares),t.atmosphereOptions&&(this.atmosphereOptions=t.atmosphereOptions),At.create(),addEventListener("online",()=>{!vg()&&Ir.Vaadin?.connectionState&&(Ir.Vaadin.connectionState.state=bt.CONNECTED)}),addEventListener("offline",()=>{!vg()&&Ir.Vaadin?.connectionState&&(Ir.Vaadin.connectionState.state=bt.CONNECTION_LOST)})}get fluxConnection(){return this.#e||(this.#e=new uS(this.prefix,this.atmosphereOptions)),this.#e}async call(t,n,o,l){if(arguments.length<2)throw new TypeError(`2 arguments required, but got only ${arguments.length}`);const u={Accept:"application/json",...globalThis.document?yy(globalThis.document):{}},[d,c]=fS(o??{});let p;if(c.size>0){p=new FormData,p.append(cS,JSON.stringify(d,(A,P)=>P===void 0?null:P));for(const[A,P]of c)p.append(A,P)}else u["Content-Type"]="application/json",o&&(p=JSON.stringify(o,(A,P)=>P===void 0?null:P));const m=new Request(`${this.prefix}/${t}/${n}`,{body:p,headers:u,method:"POST"}),v={endpoint:t,method:n,params:o,request:m};async function b(A,P){const D=await P(A);await dS(D);const O=await D.text();return JSON.parse(O,(X,J)=>J===null?void 0:J)}async function x(A){const P=l?.mute?void 0:Ir.Vaadin?.connectionState;P?.loadingStarted();try{const D=await fetch(A.request,{signal:l?.signal});return P?.loadingFinished(),D}catch(D){throw D instanceof Error&&D.name==="AbortError"?P?.loadingFinished():P?.loadingFailed(),D}}return[b,...this.middlewares].reduceRight((A,P)=>async D=>typeof P=="function"?P(D,A):P.invoke(D,A),x)(v)}subscribe(t,n,o){return this.fluxConnection.subscribe(t,n,o?Object.values(o):[])}}((e,t=window.Vaadin??={})=>{t.registrations??=[],t.registrations.push({is:"@vaadin/hilla-frontend",version:"24.7.4"})})();var Gc={exports:{}},pl={};/** 239 * @license React 240 * react-jsx-runtime.production.min.js 241 * 242 * Copyright (c) Facebook, Inc. and its affiliates. 243 * 244 * This source code is licensed under the MIT license found in the 245 * LICENSE file in the root directory of this source tree. 246 */var yg;function hS(){if(yg)return pl;yg=1;var e=zs(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function u(d,c,p){var m,v={},b=null,x=null;p!==void 0&&(b=""+p),c.key!==void 0&&(b=""+c.key),c.ref!==void 0&&(x=c.ref);for(m in c)o.call(c,m)&&!a.hasOwnProperty(m)&&(v[m]=c[m]);if(d&&d.defaultProps)for(m in c=d.defaultProps,c)v[m]===void 0&&(v[m]=c[m]);return{$$typeof:t,type:d,key:b,ref:x,props:v,_owner:l.current}}return pl.Fragment=n,pl.jsx=u,pl.jsxs=u,pl}var xg;function mS(){return xg||(xg=1,Gc.exports=hS()),Gc.exports}var Le=mS();const gS={initializing:!0,loading:!1},vS=F.createContext({state:gS,login(){throw new Error("AuthContext not initialized")},logout(){throw new Error("AuthContext not initialized")},hasAccess(){throw new Error("AuthContext not initialized")}});function Ty({redirectPath:e,access:t,element:n}){const{state:{initializing:o,loading:l},hasAccess:a}=F.useContext(vS),u=gr();return o||l?Le.jsx("div",{}):a(t)?n:Le.jsx(O_,{to:e,state:{from:u},replace:!0})}Ty.type="ProtectedRoute";function yS(e,t="/login"){const{handle:n}=e;return(n?.loginRequired??n?.requiresLogin??n?.rolesAllowed?.length)&&(e.element=Le.jsx(Ty,{redirectPath:t,access:n,element:e.element})),e}((e,t=window.Vaadin??={})=>{t.registrations??=[],t.registrations.push({is:"@vaadin/hilla-react-auth",version:"24.7.4"})})();const xS=/view/giu,wS=/(?=[A-Z])/gu;function bS(e){let t;return e&&(typeof e=="object"||typeof e=="function")&&"name"in e&&typeof e.name=="string"?{name:t}=e:t=String(e),t.replace(xS,"").split(wS).join(" ")}function ps(e,t,n){return n(e,(o,l=t)=>ps(o,l,n),t)}function _S(e){return"default"in e&&typeof e.default=="function"||"config"in e&&typeof e.config=="object"}function Za(e){return`${e.path??""}-${e.children?"n":"i"}`}var go=(function(e){return e.FLOW_LAYOUT="flowLayout",e.IGNORE_FALLBACK="ignoreFallback",e.SKIP_LAYOUTS="skipLayouts",e})(go||{});function Kc(e,t){if(typeof e.handle=="object"&&t in e.handle)return e.handle[t]}class SS{#e=[];withReactRoutes(t){return this.update(t)}withFileRoutes(t){return this.update(t,({original:n,overriding:o,children:l})=>
246{if(o){const{module:a,path:u,flowLayout:d}=o;if(a&&!_S(a))throw new Error(`The module for the "${u}" section doesn't have the React component exported by default or a ViewConfig object exported as "config"`);const c=a?.default?F.createElement(a.default):void 0,p={...a?.config,title:a?.config?.title??bS(a?.default),flowLayout:a?.config?.flowLayout??d};return u===""&&!l?{...n,element:c,handle:p,index:!0}:{...n,path:a?.config?.route??u,element:c,children:l,handle:p}}return n})}withFallback(t,n){this.withLayout(t);const o=[{path:"*",element:F.createElement(t),handle:n},{index:!0,element:F.createElement(t),handle:n}];return this.update(o,({original:l,overriding:a,children:u,dupe:d})=>{if(l&&!Kc(l,go.IGNORE_FALLBACK)&&!d){if(!u)return l;const c=[...o];return u.some(({path:p})=>p==="*")&&c.shift(),u.some(({index:p,path:m})=>p??m?.includes("?"))&&c.pop(),{...l,children:[...u,...c]}}return a}),this}withLayout(t){return this.#e.push(n=>{if(!n)return n;const o=ps(n,null,(l,a)=>l.reduce((u,d)=>{const{server:c,client:p,ambivalent:m}=a(d.children??[]),v=Kc(d,go.FLOW_LAYOUT);return v===!0?u.server.push({...d,children:d.children?[...c,...m]:void 0}):c.length>0&&u.server.push({...d,children:d.children?c:void 0}),(v===!1||p.length>0)&&u.client.push({...d,children:d.children?p:void 0}),v===void 0&&(u.server.every(({path:b})=>b!==d.path)||m.length>0)&&u.ambivalent.push({...d,children:d.children?m:void 0}),u},{server:[],client:[],ambivalent:[]}));return[...o.server.length?[{element:F.createElement(t),children:o.server,handle:{[go.IGNORE_FALLBACK]:!0}}]:[],...o.client,...o.ambivalent]}),this}protect(t){return this.update(void 0,({original:n,children:o})=>{const l=yS(n,t);return l.children=o,l}),this}update(t,n=({original:o,overriding:l,children:a})=>({...o,...l,children:a})){return this.#e.push(o=>ps([o,t],null,([l,a],u)=>{if(l&&a){const d=[],c=new Set([...l.map(Za),...a.map(Za)]);for(const p of c){const m=l.filter(x=>Za(x)===p),v=a.filter(x=>Za(x)===p);if(v.length>1)throw new Error("Adding multiple routes with the same path is not allowed");const b=v[0];if(m.length>0&&b)for(let x=0;x<m.length;x++)d.push(n({original:m[x],overriding:b,children:u([m[x].children,b.children]),dupe:x<m.length-1})??m[x]);else if(m.length>0)for(let x=0;x<m.length;x++)d.push(n({original:m[x],children:u([m[x].children,void 0]),dupe:x<m.length-1})??m[x]);else{const x=n({overriding:b,children:u([void 0,b.children]),dupe:!1});x&&d.push(x)}}return d.filter(p=>p!=null)}else{if(l)return l.map(d=>n({original:d,children:u([d.children,void 0]),dupe:!1})).filter(d=>d!=null);if(a)return a.map(d=>n({overriding:d,children:u([void 0,d.children]),dupe:!1})).filter(d=>d!=null)}})),this}build(t){this.#r();const n=this.#e.reduce((o,l)=>l(o)??o,void 0)??[];return{routes:n,router:o1([...n],{basename:new URL(document.baseURI).pathname,...t})}}#r(){return this.#e.push(t=>{if(!t)return t;const n=ps(t,null,(o,l)=>o.reduce((a,u)=>{if(Kc(u,go.SKIP_LAYOUTS))return a.skipped.push(u),a;if(!u.children?.length)return a.regular.push(u),a;const{skipped:d,regular:c}=l(u.children??[]);if(d.length>0){const{element:p,...m}=u;a.skipped.push({...m,children:d})}return c.length>0&&a.regular.push({...u,children:c}),a},{skipped:[],regular:[]}));return[...n.skipped.length?[{children:n.skipped,handle:{[go.IGNORE_FALLBACK]:!0}}]:[],...n.regular]}),this}}"withResolvers"in Promise||Object.defineProperty(Promise,"withResolvers",{configurable:!0,value(){let e,t;const n=new Promise((o,l)=>{e=o,t=l});return{resolve:e,reject:t,promise:n}}});var kS=Symbol.for("preact-signals");function bf(){if(Ni>1)Ni--;else{var e,t=!1;for((function(){var l=ks;for(ks=void 0;l!==void 0;)l.S.v===l.v&&(l.S.i=l.i),l=l.o})();kl!==void 0;){var n=kl;for(kl=void 0,Ss++;n!==void 0;){var o=n.u;if(n.u=void 0,n.f&=-3,!(8&n.f)&&Ry(n))try{n.c()}catch(l){t||(e=l,t=!0)}n=o}}if(Ss=0,Ni--,t)throw e}}var tt=void 0;function Py(e){var t=tt;tt=void 0;try{return e()}finally{tt=t}}var kl=void 0,Ni=0,Ss=0,wg=0,ks=void 0,Es=0;function Ay(e){if(tt!==void 0){var t=e.n;if(t===void 0||t.t!==tt)return t={i:0,S:e,p:tt.s,n:void 0,t:tt,e:void 0,x:void 0,r:t},tt.s!==void 0&&(tt.s.n=t),tt.s=t,e.n=t,32&tt.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=tt.s,t.n=void 0,tt.s.n=t,tt.s=t),t}}function Ut(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=t?.watched,this.Z=t?.unwatched,this.name=t?.name}Ut.prototype.brand=kS;Ut.prototype.h=function(){return!0};Ut.prototype.S=function(e){var t=this,n=this.t;n!==e&&e.e===void 0&&(e.x=n,this.t=e,n!==void 0?n.e=e:Py(function(){var o;(o=t.W)==null||o.call(t)}))};Ut.prototype.U=function(e){var t=this;if(this.t!==void 0){var n=e.e,o=e.x;n!==void 0&&(n.x=o,e.e=void 0),o!==void 0&&(o.e=n,e.x=void 0),e===this.t&&(this.t=o,o===void 0&&P
246y(function(){var l;(l=t.Z)==null||l.call(t)}))}};Ut.prototype.subscribe=function(e){var t=this;return Sf(function(){var n=t.value,o=tt;tt=void 0;try{e(n)}finally{tt=o}},{name:"sub"})};Ut.prototype.valueOf=function(){return this.value};Ut.prototype.toString=function(){return this.value+""};Ut.prototype.toJSON=function(){return this.value};Ut.prototype.peek=function(){var e=tt;tt=void 0;try{return this.value}finally{tt=e}};Object.defineProperty(Ut.prototype,"value",{get:function(){var e=Ay(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Ss>100)throw new Error("Cycle detected");(function(n){Ni!==0&&Ss===0&&n.l!==wg&&(n.l=wg,ks={S:n,v:n.v,i:n.i,o:ks})})(this),this.v=e,this.i++,Es++,Ni++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{bf()}}}});function ES(e,t){return new Ut(e,t)}function Ry(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function Ny(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function Ly(e){for(var t=e.s,n=void 0;t!==void 0;){var o=t.p;t.i===-1?(t.S.U(t),o!==void 0&&(o.n=t.n),t.n!==void 0&&(t.n.p=o)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=o}e.s=n}function Co(e,t){Ut.call(this,void 0),this.x=e,this.s=void 0,this.g=Es-1,this.f=4,this.W=t?.watched,this.Z=t?.unwatched,this.name=t?.name}Co.prototype=new Ut;Co.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Es))return!0;if(this.g=Es,this.f|=1,this.i>0&&!Ry(this))return this.f&=-2,!0;var e=tt;try{Ny(this),tt=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return tt=e,Ly(this),this.f&=-2,!0};Co.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}Ut.prototype.S.call(this,e)};Co.prototype.U=function(e){if(this.t!==void 0&&(Ut.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};Co.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(Co.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=Ay(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function Iy(e){var t=e.m;if(e.m=void 0,typeof t=="function"){Ni++;var n=tt;tt=void 0;try{t()}catch(o){throw e.f&=-2,e.f|=8,_f(e),o}finally{tt=n,bf()}}}function _f(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Iy(e)}function CS(e){if(tt!==this)throw new Error("Out-of-order effect");Ly(this),tt=e,this.f&=-2,8&this.f&&_f(this),bf()}function To(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=t?.name}To.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.m=t)}finally{e()}};To.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Iy(this),Ny(this),Ni++;var e=tt;return tt=this,CS.bind(this,e)};To.prototype.N=function(){2&this.f||(this.f|=2,this.u=kl,kl=this)};To.prototype.d=function(){this.f|=8,1&this.f||_f(this)};To.prototype.dispose=function(){this.d()};function Sf(e,t){var n=new To(e,t);try{n.c()}catch(l){throw n.d(),l}var o=n.d.bind(n);return o[Symbol.dispose]=o,o}var Xc={exports:{}},Qc={};/** 247 * @license React 248 * use-sync-external-store-shim.production.js 249 * 250 * Copyright (c) Meta Platforms, Inc. and affiliates. 251 * 252 * This source code is licensed under the MIT license found in the 253 * LICENSE file in the root directory of this source tree. 254 */var bg;function TS(){if(bg)return Qc;bg=1;var e=zs();function t(v,b){return v===b&&(v!==0||1/v===1/b)||v!==v&&b!==b}var n=typeof Object.is=="function"?Object.is:t,o=e.useState,l=e.useEffect,a=e.useLayoutEffect,u=e.useDebugValue;function d(v,b){var x=b(),T=o({inst:{value:x,getSnapshot:b}}),R=T[0].inst,A=T[1];return a(function(){R.value=x,R.getSnapshot=b,c(R)&&A({inst:R})},[v,x,b]),l(function(){return c(R)&&A({inst:R}),v(function(){c(R)&&A({inst:R})})},[v]),u(x),x}function c(v){var b=v.getSnapshot;v=v.value;try{var x=b();return!n(v,x)}catch{return!0}}function p(v,b){return b()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:d;return Qc.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,Qc}var _g;function PS(){return _g||(_g=1,Xc.exports=TS()),Xc.exports}var Oy=PS(),AS=F.version.split(".").map(Number)[0],RS=Symbol.for(AS>=19?"react.transitional.element":"react.element"),Ti,zy=Symbol.dispose||Symbol.for("Symbol.dispose");
254function Jc(e,t){var n=t.effect.S();return Ti=t,NS.bind(t,e,n)}function NS(e,t){t(),Ti=e}var Sg,Ad,kg=function(){},LS=((Sg={o:0,effect:{s:void 0,c:function(){},S:function(){return kg},d:function(){}},subscribe:function(){return kg},getSnapshot:function(){return 0},S:function(){},f:function(){}})[zy]=function(){},Sg),IS=Promise.prototype.then.bind(Promise.resolve());function OS(){Ad||(Ad=IS(zS))}function zS(){var e;Ad=void 0,(e=Ti)==null||e.f()}function MS(e){OS();var t=F.useRef();t.current==null&&(typeof window>"u"?t.current=LS:t.current=(function(o){var l,a,u,d,c=0,p=Sf(function(){a=this});return a.c=function(){c=c+1|0,d&&d()},(l={o,effect:a,subscribe:function(m){return d=m,function(){c=c+1|0,d=void 0,p()}},getSnapshot:function(){return c},S:function(){if(Ti!=null){var m=Ti.o,v=this.o;m==0&&v==0||m==0&&v==1?(Ti.f(),u=Jc(void 0,this)):m==1&&v==0||m==2&&v==0||(u=Jc(Ti,this))}else u=Jc(void 0,this)},f:function(){var m=u;u=void 0,m?.()}})[zy]=function(){this.f()},l})(e));var n=t.current;return Oy.useSyncExternalStore(n.subscribe,n.getSnapshot,n.getSnapshot),n.S(),n}Object.defineProperties(Ut.prototype,{$$typeof:{configurable:!0,value:RS},type:{configurable:!0,value:function(e){var t=e.data,n=MS(1);try{return t.value}finally{n.f()}}},props:{configurable:!0,get:function(){return{data:this}}},ref:{configurable:!0,value:null}});ES(window.Vaadin?.views);const DS="modulepreload",FS=function(e,t){return new URL(e,t).href},Eg={},Rd=function(t,n,o){let l=Promise.resolve();if(n&&n.length>0){let u=function(m){return Promise.all(m.map(v=>Promise.resolve(v).then(b=>({status:"fulfilled",value:b}),b=>({status:"rejected",reason:b}))))};const d=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),p=c?.nonce||c?.getAttribute("nonce");l=u(n.map(m=>{if(m=FS(m,o),m in Eg)return;Eg[m]=!0;const v=m.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(!!o)for(let R=d.length-1;R>=0;R--){const A=d[R];if(A.href===m&&(!v||A.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${m}"]${b}`))return;const T=document.createElement("link");if(T.rel=v?"stylesheet":DS,v||(T.as="script"),T.crossOrigin="",T.href=m,p&&T.setAttribute("nonce",p),document.head.appendChild(T),v)return new Promise((R,A)=>{T.addEventListener("load",R),T.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${m}`)))})}))}function a(u){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=u,window.dispatchEvent(d),!d.defaultPrevented)throw u}return l.then(u=>{for(const d of u||[])d.status==="rejected"&&a(d.reason);return t().catch(a)})};class Cg extends Error{}const qc=window.document.body,et=window,$S=1;function My(){return Object.keys(et.Vaadin.Flow.clients).filter(e=>e!=="TypeScript").map(e=>et.Vaadin.Flow.clients[e])}function Tg(e,t){My().forEach(n=>n.sendEventMessage($S,e,t))}let BS=class{constructor(t){this.response=void 0,this.pathname="",this.isActive=!1,this.baseRegex=/^\//,this.navigation="",qc.$=qc.$||[],this.config=t||{},et.Vaadin=et.Vaadin||{},et.Vaadin.Flow=et.Vaadin.Flow||{},et.Vaadin.Flow.clients={TypeScript:{isActive:()=>this.isActive}};const n=document.head.querySelector("base");this.baseRegex=new RegExp(`^${(document.baseURI||n&&n.href||"/").replace(/^https?:\/\/[^/]+/i,"")}`),this.appShellTitle=document.title,this.addConnectionIndicator()}get serverSideRoutes(){return[{path:"(.*)",action:this.action}]}loadingStarted(){this.isActive=!0,et.Vaadin.connectionState.loadingStarted()}loadingFinished(){this.isActive=!1,et.Vaadin.connectionState.loadingFinished(),!et.Vaadin.listener&&(et.Vaadin.listener={},document.addEventListener("click",t=>{t.target&&(t.target.hasAttribute("router-link")?this.navigation="link":t.composedPath().some(n=>n.nodeName==="A")&&(this.navigation="client"))},{capture:!0}))}get action(){return async t=>{if(this.pathname=t.pathname,et.Vaadin.connectionState.online)try{await this.flowInit()}catch(n){if(n instanceof Cg)return et.Vaadin.connectionState.state=bt.CONNECTION_LOST,this.offlineStubAction();throw n}else return this.offlineStubAction();return this.container.onBeforeEnter=(n,o)=>this.flowNavigate(n,o),this.container.onBeforeLeave=(n,o)=>this.flowLeave(n,o),this.container}}
254async flowLeave(t,n){const{connectionState:o}=et.Vaadin;return this.pathname===t.pathname||!this.isFlowClientLoaded()||o.offline?Promise.resolve({}):new Promise(l=>{this.loadingStarted(),this.container.serverConnected=a=>{var u;l(n&&a?n.prevent():(u=n?.continue)===null||u===void 0?void 0:u.call(n)),this.loadingFinished()},Tg("ui-leave-navigation",{route:this.getFlowRoutePath(t),query:this.getFlowRouteQuery(t)})})}async flowNavigate(t,n){return this.response?new Promise(o=>{this.loadingStarted(),this.container.serverConnected=(l,a)=>{var u;n&&l?o(n.prevent()):n&&n.redirect&&a?o(n.redirect(a.pathname)):((u=n?.continue)===null||u===void 0||u.call(n),this.container.style.display="",o(this.container)),this.loadingFinished()},this.container.serverPaused=()=>{this.loadingFinished()},Tg("ui-navigate",{route:this.getFlowRoutePath(t),query:this.getFlowRouteQuery(t),appShellTitle:this.appShellTitle,historyState:history.state,trigger:this.navigation}),this.navigation="history"}):Promise.resolve(this.container)}getFlowRoutePath(t){return decodeURIComponent(t.pathname).replace(this.baseRegex,"")}getFlowRouteQuery(t){return t.search&&t.search.substring(1)||""}async flowInit(){if(!this.isFlowClientLoaded()){et.Vaadin.Flow.nonce=this.findNonce(),this.loadingStarted(),this.response=await this.flowInitUi();const{pushScript:t,appConfig:n}=this.response;typeof t=="string"&&await this.loadScript(t);const{appId:o}=n,l=`flow-container-${o.toLowerCase()}`,a=document.querySelector(l);a?this.container=a:(this.container=document.createElement(l),this.container.id=o),qc.$[o]=this.container,(await Rd(()=>import("./FlowBootstrap-BRNFttkU.js"),[],import.meta.url)).init(this.response),typeof this.config.imports=="function"&&(this.injectAppIdScript(o),await this.config.imports());const d=await Rd(()=>import("./FlowClient-C12YGgMp.js"),[],import.meta.url);await this.flowInitClient(d),this.loadingFinished()}return this.container&&!this.container.isConnected&&(this.container.style.display="none",document.body.appendChild(this.container)),this.response}async loadScript(t){return new Promise((n,o)=>{const l=document.createElement("script");l.onload=()=>n(),l.onerror=o,l.src=t;const{nonce:a}=et.Vaadin.Flow;a!==void 0&&l.setAttribute("nonce",a),document.body.appendChild(l)})}findNonce(){let t;const n=document.head.getElementsByTagName("script");for(const o of n)if(o.nonce){t=o.nonce;break}return t}injectAppIdScript(t){const n=t.substring(0,t.lastIndexOf("-")),o=document.createElement("script");o.type="module",o.setAttribute("data-app-id",n);const{nonce:l}=et.Vaadin.Flow;l!==void 0&&o.setAttribute("nonce",l),document.body.append(o)}async flowInitClient(t){return t.init(),new Promise(n=>{const o=setInterval(()=>{My().reduce((a,u)=>a||u.isActive(),!1)||(clearInterval(o),n())},5)})}async flowInitUi(){const t=et.Vaadin&&et.Vaadin.TypeScript&&et.Vaadin.TypeScript.initial;return t?(et.Vaadin.TypeScript.initial=void 0,Promise.resolve(t)):new Promise((n,o)=>{const a=new XMLHttpRequest,u=`?v-r=init&location=${encodeURIComponent(this.getFlowRoutePath(location))}&query=${encodeURIComponent(this.getFlowRouteQuery(location))}`;a.open("GET",u),a.onerror=()=>o(new Cg(`Invalid server response when initializing Flow UI. 255 ${a.status} 256 ${a.responseText}`)),a.onload=()=>{const d=a.getResponseHeader("content-type");d&&d.indexOf("application/json")!==-1?n(JSON.parse(a.responseText)):a.onerror()},a.send()})}addConnectionIndicator(){At.create(),et.addEventListener("online",()=>{if(!this.isFlowClientLoaded()){et.Vaadin.connectionState.state=bt.RECONNECTING;const t=new XMLHttpRequest;t.open("HEAD","sw.js"),t.onload=()=>{et.Vaadin.connectionState.state=bt.CONNECTED},t.onerror=()=>{et.Vaadin.connectionState.state=bt.CONNECTION_LOST},setTimeout(()=>t.send(),50)}}),et.addEventListener("offline",()=>{this.isFlowClientLoaded()||(et.Vaadin.connectionState.state=bt.CONNECTION_LOST)})}async offlineStubAction(){const t=document.createElement("iframe");t.setAttribute("src","./offline-stub.html"),t.setAttribute("style","width: 100%; height: 100%; border: 0"),this.response=void 0;let o;const l=()=>{o!==void 0&&(et.Vaadin.connectionState.removeStateChangeListener(o),o=void 0)};return t.onBeforeEnter=(a,u,d)=>{o=()=>{et.Vaadin.connectionState.online&&(l(),d.render(a,!1))},et.Vaadin.connectionState.addStateChangeListener(o)},t.onBeforeLeave=(a,u,d)=>{l()},t}isFlowClientLoaded(){return this.response!==void 0}};var US=Hv(),jS=F.version.split(".").map(Number)[0],HS=Symbol.for(jS>=19?"react.transitional.element":"react.element"),VS=typeof window<"u"&&!!window.__PREACT_SIGNALS_DEVTOOLS__,Pi,Dy=Symbol.dispose||Symbol.for("Symbol.dispose");function Zc(e,t){var n=t.effect.S();return Pi=t,WS.bind(t,e,n)}function WS(e,t){t(),Pi=e}var Pg,Nd,Ag=function(){},YS=((Pg={u:0,effect:{s:void 0,c:function(){},S:function(){return Ag},d:function(){}},subscribe:function(){return Ag}
256,getSnapshot:function(){return 0},S:function(){},f:function(){}})[Dy]=function(){},Pg),GS=Promise.prototype.then.bind(Promise.resolve());function KS(){Nd||(Nd=GS(XS))}function XS(){var e;Nd=void 0,(e=Pi)==null||e.f()}function Fy(e,t){KS();var n=F.useRef();n.current==null&&(typeof window>"u"?n.current=YS:n.current=(function(l,a){var u,d,c,p,m=0,v=Sf(function(){d=this},{name:"Component"});return d.c=function(){if(m=m+1|0,VS){var b;(b=d.y)==null||b.call(d)}p&&p()},(u={u:l,effect:d,subscribe:function(b){return p=b,function(){m=m+1|0,p=void 0,v()}},getSnapshot:function(){return m},S:function(){if(Pi!=null){var b=Pi.u,x=this.u;b==0&&x==0||b==0&&x==1?(Pi.f(),c=Zc(void 0,this)):b==1&&x==0||b==2&&x==0||(c=Zc(Pi,this))}else c=Zc(void 0,this)},f:function(){var b=c;c=void 0,b?.()}})[Dy]=function(){this.f()},u})(e));var o=n.current;return Oy.useSyncExternalStore(o.subscribe,o.getSnapshot,o.getSnapshot),o.S(),o}Object.defineProperties(Ut.prototype,{$$typeof:{configurable:!0,value:HS},type:{configurable:!0,value:function(e){var t=e.data,n=Fy(1);try{return t.value}finally{n.f()}}},props:{configurable:!0,get:function(){var e=this;return{data:{get value(){return e.value}}}}},ref:{configurable:!0,value:null}});function Di(e,t){return Fy(e)}const QS=new BS({imports:()=>Rd(()=>import("./generated-flow-imports-DXp8Q6N6.js"),[],import.meta.url)}),ed={render(){return Promise.resolve()}},Ld={active:!1};function JS(e){const t=e.port,n=e.protocol,a=n==="http:"&&t==="80"||n==="https:"&&t==="443"?e.hostname:e.host;return`${n}//${a}`}function $y(e){if(e.href.startsWith(document.baseURI))return"/"+e.href.slice(document.baseURI.length)}function By(e){if(e.defaultPrevented||e.button!==0||e.shiftKey||e.ctrlKey||e.altKey||e.metaKey)return;let t=e.target;const n=e.composedPath?e.composedPath():e.path||[];for(let a=0;a<n.length;a++){const u=n[a];if(u.nodeName&&u.nodeName.toLowerCase()==="a"){t=u;break}}for(;t&&t.nodeName.toLowerCase()!=="a";)t=t.parentNode;if(!t||t.nodeName.toLowerCase()!=="a")return;const o=t;if(o.target&&o.target.toLowerCase()!=="_self"||o.hasAttribute("download")||o.hasAttribute("router-ignore"))return;if(o.pathname===window.location.pathname&&o.hash!==""){window.location.hash=o.hash;return}if((o.origin||JS(o))===window.location.origin)return new URL(o.href,o.baseURI)}function qS(e){const t=By(e);if(t)return $y(t)}const ZS=()=>{window.addEventListener("click",e=>{if(Ld.active)return;const t=By(e);if(!t||!t.href.startsWith(document.baseURI))return;e&&e.preventDefault&&e.preventDefault();const n=t.pathname+t.search+t.hash,o={...window.history.state};o.idx!==void 0&&(o.idx=o.idx+1),window.history.pushState(o,"",n),window.dispatchEvent(new PopStateEvent("popstate"))},{capture:!1})};function Rg(e,t){setTimeout(()=>{window.dispatchEvent(new CustomEvent("vaadin-navigated",{detail:{pathname:e,search:t}})),delete window.Vaadin.Flow.navigation})}function Uy(){}const Ng=()=>Uy;function ek({children:e,domNode:t,onRemove:n}){return F.useEffect(()=>{t.addEventListener("flow-portal-remove",o=>{o.preventDefault(),n()},{once:!0})},[]),US.createPortal(e,t)}const jy="ADD_FLOW_PORTAL";function tk(e){return{type:jy,portal:e}}const Hy="REMOVE_FLOW_PORTAL";function nk(e){return{type:Hy,key:e}}function rk(e,t){switch(t.type){case jy:return[...e,t.portal];case Hy:return e.filter(({key:n})=>n!==t.key);default:return e}}function ik(e,t){const n=$s(),o=F.useRef([]).current,[l,a]=F.useState(0),u=F.useCallback(()=>{const p=o.shift();if(p===void 0)return;(async()=>{e.current&&(await e.current,e.current=void 0),t.current=!p.callback,n(p.to,p.opts),a(o.length)})()},[n,a]),d=F.useCallback(()=>{queueMicrotask(u)},[u]),c=F.useCallback((p,m,v)=>{o.push({to:p,callback:m,opts:v}),a(o.length),o.length===1&&d()},[a,d]);return F.useEffect(()=>()=>{d()},[l,d]),c}function kf(){var e=Di(1);try{const t=F.useRef(null),n=$s(),o=C_(({currentLocation:O,nextLocation:X})=>(a.current=a.current||X.pathname===O.pathname&&X.search===O.search&&X.hash===O.hash,!0)),l=gr(),a=F.useRef(!1),u=F.useRef(!1),d=F.useRef(!1),c=F.useRef(void 0),p=F.useRef(void 0),m=ik(p,a),v=oy("/"),[b,x]=F.useReducer(rk,[]),T=F.useCallback(O=>{O.preventDefault();const X=Math.random().toString(36).slice(2);
256x(tk(Le.jsx(ek,{domNode:O.detail.domNode,onRemove:()=>x(nk(X)),children:O.detail.children},X)))},[x]),R=F.useCallback(O=>{const X=qS(O);X&&(O&&O.preventDefault&&O.preventDefault(),a.current=!1,d.current=!0,n(X),window.dispatchEvent(new CustomEvent("close-overlay-drawer")))},[n]),A=F.useCallback(O=>{const X=O.detail,J=$y(X);J&&(O.preventDefault(),n(J))},[n]),P=F.useCallback(O=>{window.Vaadin.Flow.navigation=!0;const X=O.detail.url.startsWith(document.baseURI)?"/"+O.detail.url.slice(document.baseURI.length):"/"+O.detail.url;d.current=!1,m(X,O.detail.callback,{state:O.detail.state,replace:O.detail.replace})},[n]),D=F.useCallback(O=>()=>{n(O,{replace:!0})},[n]);return F.useEffect(()=>(window.addEventListener("vaadin-router-go",A),window.addEventListener("vaadin-navigate",P),()=>{window.removeEventListener("vaadin-router-go",A),window.removeEventListener("vaadin-navigate",P)}),[A,P]),F.useEffect(()=>(window.addEventListener("click",R),Ld.active=!0,()=>{c.current?.parentNode?.removeChild(c.current),c.current?.removeEventListener("flow-portal-add",T),c.current=void 0,window.removeEventListener("click",R),Ld.active=!1}),[]),F.useEffect(()=>{if(o.state==="blocked"){if(u.current){const{pathname:ye,state:fe}=o.location,Se=ye.substring(v.length);m(Se.startsWith("/")?Se:"/"+Se,!0,{state:fe,replace:!0});return}u.current=!0;let O;if(p.current=new Promise((ye,fe)=>O={resolve:ye,reject:fe}),p.current.then(()=>u.current=!1,()=>u.current=!1),a.current&&!d.current){o.proceed(),O.resolve();return}d.current=!1;const{pathname:X,search:J}=o.location,k=window?.Vaadin?.routesConfig||[];let le=Lr(Array.from(k),X);le&&le.filter(ye=>ye.route?.element?.type?.name===kf.name).length!=0?(c.current?.onBeforeEnter?.call(c?.current,{pathname:X,search:J},{prevent(){o.reset(),O.resolve(),a.current=!1},redirect:D,continue(){o.proceed(),O.resolve()}},ed),a.current=!0):Promise.resolve(c.current?.onBeforeLeave?.call(c?.current,{pathname:X,search:J},{prevent:Ng},ed)).then(ye=>{ye===Uy&&c.current?c.current.serverConnected=fe=>{fe?(o.reset(),O.resolve()):(o.proceed(),O.resolve())}:(o.proceed(),O.resolve())})}},[o.state,o.location]),F.useEffect(()=>{if(o.state!=="blocked"){if(a.current){a.current=!1,Rg(l.pathname,l.search);return}QS.serverSideRoutes[0].action({pathname:l.pathname,search:l.search}).then(O=>{const X=t.current?.parentNode;return X&&X!==O.parentNode&&(X.append(O),O.addEventListener("flow-portal-add",T),c.current=O),O.onBeforeEnter?.call(O,{pathname:l.pathname,search:l.search},{prevent:Ng,redirect:D,continue(){Rg(l.pathname,l.search)}},ed)}).then(O=>{typeof O=="function"&&O()})}},[l]),Le.jsxs(Le.Fragment,{children:[Le.jsx("output",{ref:t,style:{display:"none"}}),b]})}finally{e.f()}}kf.type="FlowContainer";/** 257 * @license 258 * Copyright (c) 2021 - 2025 Vaadin Ltd. 259 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 260 */window.Vaadin||={};window.Vaadin.featureFlags||={};function ok(e){return e.replace(/-[a-z]/gu,t=>t[1].toUpperCase())}const Ar={};function Ul(e,t="24.7.6"){if(Object.defineProperty(e,"version",{get(){return t}}),e.experimental){const o=typeof e.experimental=="string"?e.experimental:`${ok(e.is.split("-").slice(1).join("-"))}Component`;if(!window.Vaadin.featureFlags[o]&&!Ar[o]){Ar[o]=new Set,Ar[o].add(e),Object.defineProperty(window.Vaadin.featureFlags,o,{get(){return Ar[o].size===0},set(l){l&&Ar[o].size>0&&(Ar[o].forEach(a=>{customElements.define(a.is,a)}),Ar[o].clear())}});return}else if(Ar[o]){Ar[o].add(e);return}}const n=customElements.get(e.is);if(!n)customElements.define(e.is,e);else{const o=n.version;o&&e.version&&o===e.version?console.warn(`The component ${e.is} has been loaded twice`):console.error(`Tried to define ${e.is} version ${e.version} when version ${n.version} is already in use. Something will probably break.`)}}/** 261 * @license 262 * Copyright (c) 2017 - 2025 Vaadin Ltd. 263 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 264 */class lk extends HTMLElement{static get is(){return"vaadin-lumo-styles"}}Ul(lk);/** 265 * @license 266 * Copyright (c) 2017 - 2025 Vaadin Ltd. 267 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 268 */const ak=e=>class extends e{static get properties(){return{_theme:{type:String,readOnly:!0}}}static get observedAttributes(){return[...super.observedAttributes,"theme"]}attributeChangedCallback(n,o,l){super.attributeChangedCallback(n,o,l),n==="theme"&&this._set_theme(l)}};/** 269 * @license 270 * Copyright (c) 2017 - 2025 Vaadin Ltd. 271 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 272 */const Vy=[],Id=new Set,Ef=new Set;function Wy(e){return e&&Object.prototype.hasOwnProperty.call(e,"__themes")}function sk(e){return Wy(customElements.get(e))}function uk(e=[]){return[e].flat(1/0).filter(t=>t instanceof hf?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function Yy(e,t){return(e||"").split(" ").some(n=>new RegExp(`^${n.split("*").join(".*")}$`,"u").test(t))}function Gy(e){return e.map(t=>t.cssText).join(` 273`)}const Cs="vaadin-themable-mixin-style";function ck(e,t){const n=document.createElement("style");n.id=Cs,n.textContent=Gy(e),t.content.appendChild(n)}function dk(e){if(!e.shadowRoot)return;const t=e.constructor;if(e instanceof Ri)[...e.shadowRoot.querySelectorAll("style")].forEac
273h(n=>n.remove()),wy(e.shadowRoot,t.elementStyles);else{const n=e.shadowRoot.getElementById(Cs),o=t.prototype._template;n.textContent=o.content.getElementById(Cs).textContent}}function fk(e){Id.forEach(t=>{const n=t.deref();n instanceof e?dk(n):n||Id.delete(t)})}function Ky(e){if(e.prototype instanceof Ri)e.elementStyles=e.finalizeStyles(e.styles);else{const t=e.prototype._template;t.content.getElementById(Cs).textContent=Gy(e.getStylesForThis())}Ef.forEach(t=>{const n=customElements.get(t);n!==e&&n.prototype instanceof e&&Ky(n)})}function pk(e,t){const n=e.__themes;return!n||!t?!1:n.some(o=>o.styles.some(l=>t.some(a=>a.cssText===l.cssText)))}function hn(e,t,n={}){t=uk(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(e,t,n):Vy.push({themeFor:e,styles:t,include:n.include,moduleId:n.moduleId}),e&&Ef.forEach(o=>{if(Yy(e,o)&&sk(o)){const l=customElements.get(o);pk(l,t)?console.warn(`Registering styles that already exist for ${o}`):(!window.Vaadin||!window.Vaadin.suppressPostFinalizeStylesWarning)&&console.warn(`The custom element definition for "${o}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`),Ky(l),fk(l)}})}function Od(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():Vy}function hk(e=""){let t=0;return e.startsWith("lumo-")||e.startsWith("material-")?t=1:e.startsWith("vaadin-")&&(t=2),t}function Xy(e){const t=[];return e.include&&[].concat(e.include).forEach(n=>{const o=Od().find(l=>l.moduleId===n);o?t.push(...Xy(o),...o.styles):console.warn(`Included moduleId ${n} not found in style registry`)},e.styles),t}function mk(e){const t=`${e}-default-theme`,n=Od().filter(o=>o.moduleId!==t&&Yy(o.themeFor,e)).map(o=>({...o,styles:[...Xy(o),...o.styles],includePriority:hk(o.moduleId)})).sort((o,l)=>l.includePriority-o.includePriority);return n.length>0?n:Od().filter(o=>o.moduleId===t)}const Hs=e=>class extends ak(e){constructor(){super(),Id.add(new WeakRef(this))}static finalize(){if(super.finalize(),this.is&&Ef.add(this.is),this.elementStyles)return;const n=this.prototype._template;!n||Wy(this)||ck(this.getStylesForThis(),n)}static finalizeStyles(n){const o=this.getStylesForThis();return n?[...[n].flat(1/0),...o]:o}static getStylesForThis(){const n=e.__themes||[],o=Object.getPrototypeOf(this.prototype),l=(o?o.constructor.__themes:[])||[];this.__themes=[...n,...l,...mk(this.is)];const a=this.__themes.flatMap(u=>u.styles);return a.filter((u,d)=>d===a.lastIndexOf(u))}};/** 274 * @license 275 * Copyright (c) 2017 - 2025 Vaadin Ltd. 276 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 277 */const gk=(e,...t)=>{const n=document.createElement("style");n.id=e,n.textContent=t.map(o=>o.toString()).join(` 278`).replace(":host","html"),document.head.insertAdjacentElement("afterbegin",n)},vr=(e,...t)=>{gk(`lumo-${e}`,t)};/** 279 * @license 280 * Copyright (c) 2017 - 2025 Vaadin Ltd. 281 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 282 */const vk=We` 283 :host { 284 /* Base (background) */ 285 --lumo-base-color: #fff; 286 287 /* Tint */ 288 --lumo-tint-5pct: hsla(0, 0%, 100%, 0.3); 289 --lumo-tint-10pct: hsla(0, 0%, 100%, 0.37); 290 --lumo-tint-20pct: hsla(0, 0%, 100%, 0.44); 291 --lumo-tint-30pct: hsla(0, 0%, 100%, 0.5); 292 --lumo-tint-40pct: hsla(0, 0%, 100%, 0.57); 293 --lumo-tint-50pct: hsla(0, 0%, 100%, 0.64); 294 --lumo-tint-60pct: hsla(0, 0%, 100%, 0.7); 295 --lumo-tint-70pct: hsla(0, 0%, 100%, 0.77); 296 --lumo-tint-80pct: hsla(0, 0%, 100%, 0.84); 297 --lumo-tint-90pct: hsla(0, 0%, 100%, 0.9); 298 --lumo-tint: #fff; 299 300 /* Shade */ 301 --lumo-shade-5pct: hsla(214, 61%, 25%, 0.05); 302 --lumo-shade-10pct: hsla(214, 57%, 24%, 0.1); 303 --lumo-shade-20pct: hsla(214, 53%, 23%, 0.16); 304 --lumo-shade-30pct: hsla(214, 50%, 22%, 0.26); 305 --lumo-shade-40pct: hsla(214, 47%, 21%, 0.38); 306 --lumo-shade-50pct: hsla(214, 45%, 20%, 0.52); 307 --lumo-shade-60pct: hsla(214, 43%, 19%, 0.6); 308 --lumo-shade-70pct: hsla(214, 42%, 18%, 0.69); 309 --lumo-shade-80pct: hsla(214, 41%, 17%, 0.83); 310 --lumo-shade-90pct: hsla(214, 40%, 16%, 0.94); 311 --lumo-shade: hsl(214, 35%, 15%); 312 313 /* Contrast */ 314 --lumo-contrast-5pct: var(--lumo-shade-5pct); 315 --lumo-contrast-10pct: var(--lumo-shade-10pct); 316 --lumo-contrast-20pct: var(--lumo-shade-20pct); 317 --lumo-contrast-30pct: var(--lumo-shade-30pct); 318 --lumo-contrast-40pct: var(--lumo-shade-40pct); 319 --lumo-contrast-50pct: var(--lumo-shade-50pct); 320 --lumo-contrast-60pct: var(--lumo-shade-60pct); 321 --lumo-contrast-70pct: var(--lumo-shade-70pct); 322 --lumo-contrast-80pct: var(--lumo-shade-80pct); 323 --lumo-contrast-90pct: var(--lumo-shade-90pct); 324 --lumo-contrast: var(--lumo-shade); 325 326 /* Text */ 327 --lumo-header-text-color: var(--lumo-contrast); 328 --lumo-body-text-color: var(--lumo-contrast-90pct); 329 --lumo-secondary-text-color: var(--lumo-contrast-70pct); 330 --lumo-tertiary-text-color: var(--lumo-contrast-50pct); 331 --lumo-disabled-text-color: var(--lumo-contrast-30pct); 332 333 /* Primary */ 334 --lumo-primary-color: hsl(214, 100%, 48%); 335 --lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76); 336 --lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
337 --lumo-primary-text-color: hsl(214, 100%, 43%); 338 --lumo-primary-contrast-color: #fff; 339 340 /* Error */ 341 --lumo-error-color: hsl(3, 85%, 48%); 342 --lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5); 343 --lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1); 344 --lumo-error-text-color: hsl(3, 89%, 42%); 345 --lumo-error-contrast-color: #fff; 346 347 /* Success */ 348 --lumo-success-color: hsl(145, 72%, 30%); 349 --lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5); 350 --lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1); 351 --lumo-success-text-color: hsl(145, 85%, 25%); 352 --lumo-success-contrast-color: #fff; 353 354 /* Warning */ 355 --lumo-warning-color: hsl(48, 100%, 50%); 356 --lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25); 357 --lumo-warning-text-color: hsl(32, 100%, 30%); 358 --lumo-warning-contrast-color: var(--lumo-shade-90pct); 359 } 360 361 /* forced-colors mode adjustments */ 362 @media (forced-colors: active) { 363 html { 364 --lumo-disabled-text-color: GrayText; 365 } 366 } 367`;vr("color-props",vk);const Cf=We` 368 [theme~='dark'] { 369 /* Base (background) */ 370 --lumo-base-color: hsl(214, 35%, 21%); 371 372 /* Tint */ 373 --lumo-tint-5pct: hsla(214, 65%, 85%, 0.06); 374 --lumo-tint-10pct: hsla(214, 60%, 80%, 0.14); 375 --lumo-tint-20pct: hsla(214, 64%, 82%, 0.23); 376 --lumo-tint-30pct: hsla(214, 69%, 84%, 0.32); 377 --lumo-tint-40pct: hsla(214, 73%, 86%, 0.41); 378 --lumo-tint-50pct: hsla(214, 78%, 88%, 0.5); 379 --lumo-tint-60pct: hsla(214, 82%, 90%, 0.58); 380 --lumo-tint-70pct: hsla(214, 87%, 92%, 0.69); 381 --lumo-tint-80pct: hsla(214, 91%, 94%, 0.8); 382 --lumo-tint-90pct: hsla(214, 96%, 96%, 0.9); 383 --lumo-tint: hsl(214, 100%, 98%); 384 385 /* Shade */ 386 --lumo-shade-5pct: hsla(214, 0%, 0%, 0.07); 387 --lumo-shade-10pct: hsla(214, 4%, 2%, 0.15); 388 --lumo-shade-20pct: hsla(214, 8%, 4%, 0.23); 389 --lumo-shade-30pct: hsla(214, 12%, 6%, 0.32); 390 --lumo-shade-40pct: hsla(214, 16%, 8%, 0.41); 391 --lumo-shade-50pct: hsla(214, 20%, 10%, 0.5); 392 --lumo-shade-60pct: hsla(214, 24%, 12%, 0.6); 393 --lumo-shade-70pct: hsla(214, 28%, 13%, 0.7); 394 --lumo-shade-80pct: hsla(214, 32%, 13%, 0.8); 395 --lumo-shade-90pct: hsla(214, 33%, 13%, 0.9); 396 --lumo-shade: hsl(214, 33%, 13%); 397 398 /* Contrast */ 399 --lumo-contrast-5pct: var(--lumo-tint-5pct); 400 --lumo-contrast-10pct: var(--lumo-tint-10pct); 401 --lumo-contrast-20pct: var(--lumo-tint-20pct); 402 --lumo-contrast-30pct: var(--lumo-tint-30pct); 403 --lumo-contrast-40pct: var(--lumo-tint-40pct); 404 --lumo-contrast-50pct: var(--lumo-tint-50pct); 405 --lumo-contrast-60pct: var(--lumo-tint-60pct); 406 --lumo-contrast-70pct: var(--lumo-tint-70pct); 407 --lumo-contrast-80pct: var(--lumo-tint-80pct); 408 --lumo-contrast-90pct: var(--lumo-tint-90pct); 409 --lumo-contrast: var(--lumo-tint); 410 411 /* Text */ 412 --lumo-header-text-color: var(--lumo-contrast); 413 --lumo-body-text-color: var(--lumo-contrast-90pct); 414 --lumo-secondary-text-color: var(--lumo-contrast-70pct); 415 --lumo-tertiary-text-color: var(--lumo-contrast-50pct); 416 --lumo-disabled-text-color: var(--lumo-contrast-30pct); 417 418 /* Primary */ 419 --lumo-primary-color: hsl(214, 90%, 48%); 420 --lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69); 421 --lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13); 422 --lumo-primary-text-color: hsl(214, 90%, 77%); 423 --lumo-primary-contrast-color: #fff; 424 425 /* Error */ 426 --lumo-error-color: hsl(3, 79%, 49%); 427 --lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5); 428 --lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14); 429 --lumo-error-text-color: hsl(3, 100%, 80%); 430 431 /* Success */ 432 --lumo-success-color: hsl(145, 72%, 30%); 433 --lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5); 434 --lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1); 435 --lumo-success-text-color: hsl(145, 85%, 46%); 436 437 /* Warning */ 438 --lumo-warning-color: hsl(43, 100%, 48%); 439 --lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2); 440 --lumo-warning-text-color: hsl(45, 100%, 60%); 441 --lumo-warning-contrast-color: var(--lumo-shade-90pct); 442 } 443 444 html { 445 color: var(--lumo-body-text-color); 446 background-color: var(--lumo-base-color); 447 color-scheme: light; 448 } 449 450 [theme~='dark'] { 451 color: var(--lumo-body-text-color); 452 background-color: var(--lumo-base-color); 453 color-scheme: dark; 454 } 455 456 h1, 457 h2, 458 h3, 459 h4, 460 h5, 461 h6 { 462 color: var(--lumo-header-text-color); 463 } 464 465 a:where(:any-link) { 466 color: var(--lumo-primary-text-color); 467 } 468 469 a:not(:any-link) { 470 color: var(--lumo-disabled-text-color); 471 } 472 473 blockquote { 474 color: var(--lumo-secondary-text-color); 475 } 476 477 code, 478 pre { 479 background-color: var(--lumo-contrast-10pct); 480 border-radius: var(--lumo-border-radius-m); 481 } 482 pre code { 483 background: transparent; 484 } 485`;hn("",Cf,{moduleId:"lumo-color"});/** 486 * @license 487 * Copyright (c) 2017 - 2025 Vaadin Ltd. 488 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 489 */const yk=We` 490 :host { 491 --lumo-size-xs: 1.625rem; 492 --lumo-size-s: 1.875rem; 493 --lumo-size-m: 2.25rem; 494 --lumo-size-l: 2.75rem; 495 --lumo-size-xl: 3.5rem; 496 497 /* Icons */ 498 --lumo-icon-size-s: 1.25em; 499 --lumo-icon-size-m: 1.5em; 500 --lumo-icon-size-l: 2.25em; 501 /* For backwards compatibility */ 502 --lumo-icon-size: var(--lumo-icon-size-m); 503 } 504`;vr("sizing-props",yk);/** 505 * @license 506 * Copyright (c) 2017 - 2025 Vaadin Ltd. 507 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 508 */const Qy=We` 509 :host { 510 /* Square */ 511 --lumo-space-xs: 0.25rem; 512 --lumo-space-s: 0.5rem; 513 --lumo-space-m: 1rem; 514 --lumo-space-l: 1.5rem; 515 --lumo-space-xl: 2.5rem; 516 517 /* Wide */ 518 --lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs); 519 --lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s); 520 --lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m); 521 --lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l); 522 --lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl); 523 524 /* Tall */ 525 --lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2); 526 --lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2); 527 --lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2); 528 --lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2); 529 --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2); 530 } 531`;vr("spacing-props",Qy);/** 532 * @license 533 * Copyright (c) 2017 - 2025 Vaadin Ltd. 534 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 535 */const xk=We` 536 :host { 537 /* Border radius */ 538 --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */ 539 --lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */ 540 --lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */ 541 542 /* Shadow */
543 --lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct); 544 --lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct); 545 --lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct); 546 --lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct); 547 --lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct); 548 549 /* Clickable element cursor */ 550 --lumo-clickable-cursor: default; 551 } 552`;We` 553 html { 554 /* Button */ 555 --vaadin-button-background: var(--lumo-contrast-5pct); 556 --vaadin-button-border: none; 557 --vaadin-button-border-radius: var(--lumo-border-radius-m); 558 --vaadin-button-font-size: var(--lumo-font-size-m); 559 --vaadin-button-font-weight: 500; 560 --vaadin-button-height: var(--lumo-size-m); 561 --vaadin-button-margin: var(--lumo-space-xs) 0; 562 --vaadin-button-min-width: calc(var(--vaadin-button-height) * 2); 563 --vaadin-button-padding: 0 calc(var(--vaadin-button-height) / 3 + var(--lumo-border-radius-m) / 2); 564 --vaadin-button-text-color: var(--lumo-primary-text-color); 565 --vaadin-button-primary-background: var(--lumo-primary-color); 566 --vaadin-button-primary-border: none; 567 --vaadin-button-primary-font-weight: 600; 568 --vaadin-button-primary-text-color: var(--lumo-primary-contrast-color); 569 --vaadin-button-tertiary-background: transparent !important; 570 --vaadin-button-tertiary-text-color: var(--lumo-primary-text-color); 571 --vaadin-button-tertiary-font-weight: 500; 572 --vaadin-button-tertiary-padding: 0 calc(var(--vaadin-button-height) / 6); 573 /* Checkbox */ 574 --vaadin-checkbox-background: var(--lumo-contrast-20pct); 575 --vaadin-checkbox-background-hover: var(--lumo-contrast-30pct); 576 --vaadin-checkbox-border-radius: var(--lumo-border-radius-s); 577 --vaadin-checkbox-checkmark-char: var(--lumo-icons-checkmark); 578 --vaadin-checkbox-checkmark-char-indeterminate: ''; 579 --vaadin-checkbox-checkmark-color: var(--lumo-primary-contrast-color); 580 --vaadin-checkbox-checkmark-size: calc(var(--vaadin-checkbox-size) + 2px); 581 --vaadin-checkbox-label-color: var(--lumo-body-text-color); 582 --vaadin-checkbox-label-font-size: var(--lumo-font-size-m); 583 --vaadin-checkbox-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs) var(--lumo-space-xs); 584 --vaadin-checkbox-size: calc(var(--lumo-size-m) / 2); 585 --vaadin-checkbox-disabled-checkmark-color: var(--lumo-contrast-30pct); 586 --vaadin-checkbox-disabled-background: var(--lumo-contrast-10pct); 587 /* Radio button */ 588 --vaadin-radio-button-background: var(--lumo-contrast-20pct); 589 --vaadin-radio-button-background-hover: var(--lumo-contrast-30pct); 590 --vaadin-radio-button-dot-color: var(--lumo-primary-contrast-color); 591 --vaadin-radio-button-dot-size: 3px; 592 --vaadin-radio-button-label-color: var(--lumo-body-text-color); 593 --vaadin-radio-button-label-font-size: var(--lumo-font-size-m); 594 --vaadin-radio-button-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs) 595 var(--lumo-space-xs); 596 --vaadin-radio-button-size: calc(var(--lumo-size-m) / 2); 597 --vaadin-radio-button-disabled-background: var(--lumo-contrast-10pct); 598 --vaadin-radio-button-disabled-dot-color: var(--lumo-contrast-30pct); 599 --vaadin-selection-color: var(--lumo-primary-color); 600 --vaadin-selection-color-text: var(--lumo-primary-text-color); 601 --vaadin-input-field-border-radius: var(--lumo-border-radius-m); 602 --vaadin-focus-ring-color: var(--lumo-primary-color-50pct); 603 --vaadin-focus-ring-width: 2px; 604 /* Label */ 605 --vaadin-input-field-label-color: var(--lumo-secondary-text-color); 606 --vaadin-input-field-focused-label-color: var(--lumo-primary-text-color); 607 --vaadin-input-field-hovered-label-color: var(--lumo-body-text-color); 608 --vaadin-input-field-label-font-size: var(--lumo-font-size-s); 609 --vaadin-input-field-label-font-weight: 500; 610 /* Helper */ 611 --vaadin-input-field-helper-color: var(--lumo-secondary-text-color);
612 --vaadin-input-field-helper-font-size: var(--lumo-font-size-xs); 613 --vaadin-input-field-helper-font-weight: 400; 614 --vaadin-input-field-helper-spacing: 0.4em; 615 /* Error message */ 616 --vaadin-input-field-error-color: var(--lumo-error-text-color); 617 --vaadin-input-field-error-font-size: var(--lumo-font-size-xs); 618 --vaadin-input-field-error-font-weight: 400; 619 /* Input field */ 620 --vaadin-input-field-background: var(--lumo-contrast-10pct); 621 --vaadin-input-field-icon-color: var(--lumo-contrast-60pct); 622 --vaadin-input-field-icon-size: var(--lumo-icon-size-m); 623 --vaadin-input-field-invalid-background: var(--lumo-error-color-10pct); 624 --vaadin-input-field-invalid-hover-highlight: var(--lumo-error-color-50pct); 625 --vaadin-input-field-disabled-background: var(--lumo-contrast-5pct); 626 --vaadin-input-field-disabled-value-color: var(--lumo-disabled-text-color); 627 --vaadin-input-field-height: var(--lumo-size-m); 628 --vaadin-input-field-hover-highlight: var(--lumo-contrast-50pct); 629 --vaadin-input-field-placeholder-color: var(--lumo-secondary-text-color); 630 --vaadin-input-field-readonly-border: 1px dashed var(--lumo-contrast-30pct); 631 --vaadin-input-field-value-color: var(--lumo-body-text-color); 632 --vaadin-input-field-value-font-size: var(--lumo-font-size-m); 633 --vaadin-input-field-value-font-weight: 500; 634 } 635`;vr("style-props",xk);/** 636 * @license 637 * Copyright (c) 2017 - 2025 Vaadin Ltd. 638 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 639 */const wk=We` 640 :host { 641 /* prettier-ignore */ 642 --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; 643 644 /* Font sizes */ 645 --lumo-font-size-xxs: 0.75rem; 646 --lumo-font-size-xs: 0.8125rem; 647 --lumo-font-size-s: 0.875rem; 648 --lumo-font-size-m: 1rem; 649 --lumo-font-size-l: 1.125rem; 650 --lumo-font-size-xl: 1.375rem; 651 --lumo-font-size-xxl: 1.75rem; 652 --lumo-font-size-xxxl: 2.5rem; 653 654 /* Line heights */ 655 --lumo-line-height-xs: 1.25; 656 --lumo-line-height-s: 1.375; 657 --lumo-line-height-m: 1.625; 658 } 659`,Tf=We` 660 body, 661 :host { 662 font-family: var(--lumo-font-family); 663 font-size: var(--lumo-font-size-m); 664 line-height: var(--lumo-line-height-m); 665 -webkit-text-size-adjust: 100%; 666 -webkit-font-smoothing: antialiased; 667 -moz-osx-font-smoothing: grayscale; 668 } 669 670 small, 671 [theme~='font-size-s'] { 672 font-size: var(--lumo-font-size-s); 673 line-height: var(--lumo-line-height-s); 674 } 675 676 [theme~='font-size-xs'] { 677 font-size: var(--lumo-font-size-xs); 678 line-height: var(--lumo-line-height-xs); 679 } 680 681 :where(h1, h2, h3, h4, h5, h6) { 682 font-weight: 600; 683 line-height: var(--lumo-line-height-xs); 684 margin-block: 0; 685 } 686 687 :where(h1) { 688 font-size: var(--lumo-font-size-xxxl); 689 } 690 691 :where(h2) { 692 font-size: var(--lumo-font-size-xxl); 693 } 694 695 :where(h3) { 696 font-size: var(--lumo-font-size-xl); 697 } 698 699 :where(h4) { 700 font-size: var(--lumo-font-size-l); 701 } 702 703 :where(h5) { 704 font-size: var(--lumo-font-size-m); 705 } 706 707 :where(h6) { 708 font-size: var(--lumo-font-size-xs); 709 text-transform: uppercase; 710 letter-spacing: 0.03em; 711 } 712 713 p, 714 blockquote { 715 margin-top: 0.5em; 716 margin-bottom: 0.75em; 717 } 718 719 a { 720 text-decoration: none; 721 } 722 723 a:where(:any-link):hover { 724 text-decoration: underline; 725 } 726 727 hr { 728 display: block; 729 align-self: stretch; 730 height: 1px; 731 border: 0; 732 padding: 0; 733 margin: var(--lumo-space-s) calc(var(--lumo-border-radius-m) / 2); 734 background-color: var(--lumo-contrast-10pct); 735 } 736 737 blockquote { 738 border-left: 2px solid var(--lumo-contrast-30pct); 739 } 740 741 b, 742 strong { 743 font-weight: 600; 744 } 745 746 /* RTL specific styles */ 747 blockquote[dir='rtl'] { 748 border-left: none; 749 border-right: 2px solid var(--lumo-contrast-30pct); 750 } 751`;hn("",Tf,{moduleId:"lumo-typography"});vr("typography-props",wk);const bk=We` 752 :host { 753 /* Sizing */ 754 --lumo-button-size: var(--lumo-size-m); 755 min-width: var(--vaadin-button-min-width, calc(var(--_button-size) * 2)); 756 height: var(--_button-size); 757 padding: var(--vaadin-button-padding, 0 calc(var(--_button-size) / 3 + var(--lumo-border-radius-m) / 2)); 758 margin: var(--vaadin-button-margin, var(--lumo-space-xs) 0); 759 box-sizing: border-box; 760 /* Style */ 761 font-family: var(--lumo-font-family); 762 font-size: var(--vaadin-button-font-size, var(--lumo-font-size-m)); 763 font-weight: var(--vaadin-button-font-weight, 500); 764 color: var(--_lumo-button-text-color); 765 background: var(--_lumo-button-background); 766 border: var(--vaadin-button-border, none); 767 border-radius: var(--vaadin-button-border-radius, var(--lumo-border-radius-m)); 768 cursor: var(--lumo-clickable-cursor); 769 -webkit-tap-highlight-color: transparent; 770 -webkit-font-smoothing: antialiased; 771 -moz-osx-font-smoothing: grayscale; 772 flex-shrink: 0; 773 --_button-size: var(--vaadin-button-height, var(--lumo-button-size)); 774 --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct)); 775 --_focus-ring-width: var(--vaadin-focus-ring-width, 2px); 776 /* Used by notification */ 777 --_lumo-button-background: var(--vaadin-button-background, var(--lumo-contrast-5pct)); 778 --_lumo-button-text-color: var(--vaadin-button-text-color, var(--lumo-primary-text-color)); 779 --_lumo-button-primary-background: var(--vaadin-button-primary-background, var(--lumo-primary-color)); 780 --_lumo-button-primary-text-color: var(--vaadin-button-primary-text-color, var(--lumo-primary-contrast-color)); 781 } 782 783 /* Set only for the internal parts so we don't affect the host vertical alignment */ 784 [part='label'], 785 [part='prefix'], 786 [part='suffix'] { 787 line-height: var(--lumo-line-height-xs); 788 } 789 790 [part='label'] { 791 padding: calc(var(--lumo-button-size) / 6) 0; 792 } 793 794 :host([theme~='small']) { 795 font-size: var(--lumo-font-size-s); 796 --lumo-button-size: var(--lumo-size-s); 797 } 798 799 :host([theme~='large']) { 800 font-size: var(--lumo-font-size-l); 801 --lumo-button-size: var(--lumo-size-l); 802 } 803 804 /* For interaction states */ 805 :host::before, 806 :host::after { 807 content: ''; 808 /* We rely on the host always being relative */ 809 position: absolute; 810 z-index: 1; 811 inset: 0; 812 background-color: currentColor; 813 border-radius: inherit; 814 opacity: 0; 815 pointer-events: none; 816 } 817 818 /* Hover */ 819 820 @media (any-hover: hover) { 821 :host(:not([disabled]):hover)::before { 822 opacity: 0.02; 823 } 824 } 825 826 /* Active */ 827 828 :host::after { 829 transition: 830 opacity 1.4s, 831 transform 0.1s; 832 filter: blur(8px); 833 } 834 835 :host([active])::before { 836 opacity: 0.05; 837 transition-duration: 0s; 838 } 839 840 :host([active])::after { 841 opacity: 0.1; 842 transition-duration: 0s, 0s; 843 transform: scale(0); 844 } 845 846 /* Keyboard focus */ 847 848 :host([focus-ring]) { 849 box-shadow: 850 0 0 0 calc(1px * var(--_focus-ring-gap-on, 0)) var(--_focus-ring-gap-color, var(--lumo-base-color)), 851 0 0 0 calc(var(--_focus-ring-width) + 1px * var(--_focus-ring-gap-on, 0)) var(--_focus-ring-color); 852 } 853 854 :host([theme~='primary'][focus-ring]) { 855 --_focus-ring-gap-on: 1; 856 } 857 858 /* Types (primary, tertiary, tertiary-inline */ 859 860 :host([theme~='tertiary']), 861 :host([theme~='tertiary-inline']) { 862 --_background: transparent !important; 863 background: var(--vaadin-button-tertiary-background, var(--_background)); 864 min-width: 0; 865 } 866 867 :host([theme~='tertiary']) { 868 border: var(--vaadin-button-tertiary-border, none); 869 color: var(--vaadin-button-tertiary-text-color, var(--lumo-primary-text-color)); 870 font-weight: var(--vaadin-button-tertiary-font-weight, 500); 871 padding: var(--vaadin-button-tertiary-padding, 0 calc(var(--_button-size) / 6)); 872 } 873 874 :host([theme~='tertiary-inline'])::before { 875 display: none; 876 } 877 878 :host([theme~='tertiary-inline']) { 879 margin: 0; 880 height: auto; 881 padding: 0; 882 line-height: inherit; 883 font-size: inherit; 884 } 885 886 :host([theme~='tertiary-inline']) [part='label'] { 887 padding: 0; 888 overflow: visible; 889 line-height: inherit; 890 } 891 892 :host([theme~='primary']) { 893 background: var(--_lumo-button-primary-background); 894 border: var(--vaadin-button-primary-border, none); 895 color: var(--_lumo-button-primary-text-color); 896 font-weight: var(--vaadin-button-primary-font-weight, 600); 897 min-width: calc(var(--lumo-button-size) * 2.5); 898 } 899 900 :host([theme~='primary'])::before { 901 background-color: black; 902 } 903 904 @media (any-hover: hover) { 905 :host([theme~='primary']:not([disabled]):hover)::before { 906 opacity: 0.05; 907 } 908 } 909 910 :host([theme~='primary'][active])::before { 911 opacity: 0.1; 912 } 913 914 :host([theme~='primary'][active])::after { 915 opacity: 0.2; 916 } 917 918 /* Colors (success, warning, error, contrast) */ 919 920 :host([theme~='success']) { 921 color: var(--lumo-success-text-color); 922 } 923 924 :host([theme~='success'][theme~='primary']) { 925 background-color: var(--lumo-success-color); 926 color: var(--lumo-success-contrast-color); 927 } 928 929 :host([theme~='warning']) { 930 color: var(--lumo-warning-text-color); 931 } 932 933 :host([theme~='warning'][theme~='primary']) { 934 background-color: var(--lumo-warning-color); 935 color: var(--lumo-warning-contrast-color); 936 } 937 938 :host([theme~='error']) { 939 color: var(--lumo-error-text-color); 940 } 941 942 :host([theme~='error'][theme~='primary']) { 943 background-color: var(--lumo-error-color); 944 color: var(--lumo-error-contrast-color); 945 } 946 947 :host([theme~='contrast']) { 948 color: var(--lumo-contrast); 949 } 950 951 :host([theme~='contrast'][theme~='primary']) { 952 background-color: var(--lumo-contrast); 953 color: var(--lumo-base-color); 954 } 955 956 /* Disabled state. Keep selectors after other color variants. */ 957 958 :host([disabled]) { 959 color: var(--lumo-disabled-text-color); 960 } 961 962 :host([theme~='primary'][disabled]) { 963 background-color: var(--lumo-contrast-30pct); 964 color: var(--lumo-base-color); 965 } 966 967 :host([theme~='primary'][disabled]) [part] { 968 opacity: 0.7; 969 } 970 971 /* Icons */ 972 973 [part] ::slotted(vaadin-icon) { 974 display: inline-block; 975 width: var(--lumo-icon-size-m); 976 height: var(--lumo-icon-size-m); 977 } 978 979 /* Vaadin icons are based on a 16x16 grid (unlike Lumo and Material icons with 24x24), so they look too big by default */ 980 [part] ::slotted(vaadin-icon[icon^='vaadin:']) { 981 padding: 0.25em; 982 box-sizing: border-box !important; 983 } 984 985 [part='prefix'] { 986 margin-left: -0.25em; 987 margin-right: 0.25em; 988 } 989 990 [part='suffix'] { 991 margin-left: 0.25em; 992 margin-right: -0.25em; 993 } 994 995 /* Icon-only */ 996 997 :host([theme~='icon']:not([theme~='tertiary-inline'])) { 998 min-width: var(--lumo-button-size); 999 padding-left: calc(var(--lumo-button-size) / 4); 1000 padding-right: calc(var(--lumo-button-size) / 4); 1001 } 1002 1003 :host([theme~='icon']) [part='prefix'], 1004 :host([theme~='icon']) [part='suffix'] { 1005 margin-left: 0; 1006 margin-right: 0; 1007 } 1008 1009 /* RTL specific styles */ 1010 1011 :host([dir='rtl']) [part='prefix'] { 1012 margin-left: 0.25em; 1013 margin-right: -0.25em; 1014 } 1015 1016 :host([dir='rtl']) [part='suffix'] { 1017 margin-left: -0.25em; 1018 margin-right: 0.25em; 1019 } 1020 1021 :host([dir='rtl'][theme~='icon']) [part='prefix'], 1022 :host([dir='rtl'][theme~='icon']) [part='suffix'] { 1023 margin-left: 0; 1024 margin-right: 0; 1025 } 1026`;hn("vaadin-button",bk,{moduleId:"lumo-button"});/** 1027@license 1028Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1029This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1030The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1031The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1032Code distributed by Google as part of the polymer project is also 1033subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1034*/window.JSCompiler_renameProperty=function(e,t){return e};/** 1035@license 1036Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1037This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1038The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1039The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1040Code distributed by Google as part of the polymer project is also 1041subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1042*/let _k=/(url\()([^)]*)(\))/g,Sk=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,es,_n;function El(e,t){if(e&&Sk.test(e)||e==="//")return e;if(es===void 0){es=!1;try{const n=new URL("b","http://a");n.pathname="c%20d",es=n.href==="http://a/c%20d"}catch{}}if(t||(t=document.baseURI||window.location.href),es)try{return new URL(e,t).href}catch{return e}return _n||(_n=document.implementation.createHTMLDocument("temp"),_n.base=_n.createElement("base"),_n.head.appendChild(_n.base),_n.anchor=_n.createElement("a"),_n.body.appendChild(_n.anchor)),_n.base.href=t,_n.anchor.href=e,_n.anchor.href||e}function Pf(e,t){return e.replace(_k,function(n,o,l,a){return o+"'"+El(l.replace(/["']/g,""),t)+"'"+a})}function Af(e){return e.substring(0,e.lastIndexOf("/")+1)}/** 1043@license 1044Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1045This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1046The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1047The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1048Code distributed by Google as part of the polymer project is also 1049subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1050*/const kk=!window.ShadyDOM||!window.ShadyDOM.inUse;!window.ShadyCSS||window.ShadyCSS.nativeCss;const Ek=kk&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const e=new CSSStyleSheet;e.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[e],t.shadowRoot.adoptedStyleSheets[0]===e}catch{return!1}})();let Ck=window.Polymer&&window.Polymer.rootPath||Af(document.baseURI||window.location.href),Ts=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let zd=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,T
vendor: 57,829 bytes, lines 1050-1354
1050k=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,Pk=window.Polymer&&window.Polymer.legacyOptimizations||!1,Ak=window.Polymer&&window.Polymer.legacyWarnings||!1,Rk=window.Polymer&&window.Polymer.syncInitialRender||!1,Md=window.Polymer&&window.Polymer.legacyUndefined||!1,Nk=window.Polymer&&window.Polymer.orderedComputed||!1,Lg=window.Polymer&&window.Polymer.removeNestedTemplates||!1,Lk=window.Polymer&&window.Polymer.fastDomIf||!1;window.Polymer&&window.Polymer.suppressTemplateNotifications;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let Ik=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;/** 1051@license 1052Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1053This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1054The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1055The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1056Code distributed by Google as part of the polymer project is also 1057subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1058*/let Ok=0;const Mt=function(e){let t=e.__mixinApplications;t||(t=new WeakMap,e.__mixinApplications=t);let n=Ok++;function o(l){let a=l.__mixinSet;if(a&&a[n])return l;let u=t,d=u.get(l);if(!d){d=e(l),u.set(l,d);let c=Object.create(d.__mixinSet||a||null);c[n]=!0,d.__mixinSet=c}return d}return o};/** 1059@license 1060Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1061This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1062The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1063The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1064Code distributed by Google as part of the polymer project is also 1065subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1066*/let Rf={},Jy={};function Ig(e,t){Rf[e]=Jy[e.toLowerCase()]=t}function Og(e){return Rf[e]||Jy[e.toLowerCase()]}function zk(e){e.querySelector("style")&&console.warn("dom-module %s has style outside template",e.id)}class Il extends HTMLElement{static get observedAttributes(){return["id"]}static import(t,n){if(t){let o=Og(t);return o&&n?o.querySelector(n):o}return null}attributeChangedCallback(t,n,o,l){n!==o&&this.register()}get assetpath(){if(!this.__assetpath){const t=window.HTMLImports&&HTMLImports.importForElement?HTMLImports.importForElement(this)||document:this.ownerDocument,n=El(this.getAttribute("assetpath")||"",t.baseURI);this.__assetpath=Af(n)}return this.__assetpath}register(t){if(t=t||this.id,t){if(zd&&Og(t)!==void 0)throw Ig(t,null),new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);this.id=t,Ig(t,this),zk(this)}}}Il.prototype.modules=Rf;customElements.define("dom-module",Il);/** 1067@license 1068Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1069This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1070The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1071The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1072Code distributed by Google as part of the polymer project is also 1073subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1074*/const Mk="link[rel=import][type~=css]",Dk="include",zg="shady-unscoped";function qy(e){return Il.import(e)}function Mg(e){let t=e.body?e.body:e;const n=Pf(t.textContent,e.baseURI),o=document.createElement("style");return o.textContent=n,o}function Fk(e){const t=e.trim().split(/\s+/),n=[];for(let o=0;o<t.length;o++)n.push(...$k(t[o]));return n}function $k(e){const t=qy(e);if(!t)return console.warn("Could not find style data in module named",e),[];if(t._styles===void 0){const n=[];n.push(...e0(t));const o=t.querySelector("template");o&&n.push(...Zy(o,t.assetpath)),t._styles=n}return t._styles}function Zy(e,t){if(!e._styles){const n=[],o=e.content.querySelectorAll("style");for(let l=0;l<o.length;l++){let a=o[l],u=a.getAttribute(Dk);u&&n.push(...Fk(u).filter(function(d,c,p){return p.indexOf(d)===c})),t&&(a.textContent=Pf(a.textContent,t)),n.push(a)}e._styles=n}return e._styles}function Bk(e){let t=qy(e);return t?e0(t):[]}function e0(e){const t=[],n=e.querySelectorAll(Mk);for(let o=0;o<n.length;o++){let l=n[o];if(l.import){const a=l.import,u=l.hasAttribute(zg);if(u&&!a._unscopedStyle){const d=Mg(a);d.setAttribute(zg,""),a._unscopedStyle=d}else a._style||(a._style=Mg(a));t.push(u?a._unscopedStyle:a._style)}}return t}/** 1075@license 1076Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1077This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1078The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1079The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1080Code distributed by Google as part of the polymer project is also 1081subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1082*/const Li=window.ShadyDOM&&window.ShadyDOM.noPatch&&window.ShadyDOM.wrap?window.ShadyDOM.wrap:window.ShadyDOM?e=>ShadyDOM.patch(e):e=>e;/** 1083@license 1084Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1085This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1086The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1087The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1088Code distributed by Google as part of the polymer project is also 1089subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1090*/function Dd(e){return e.indexOf(".")>=0}function Fi(e){let t=e.indexOf(".");return t===-1?e:e.slice(0,t)}function Uk(e,t){return e.indexOf(t+".")===0}function Ps(e,t){return t.indexOf(e+".")===0}function As(e,t,n){return t+n.slice(e.length)}function bl(e){if(Array.isArray(e)){let t=[];for(let n=0;n<e.length;n++){let o=e[n].toString().split(".");for(let l=0;l<o.length;l++)t.push(o[l])}return t.join(".")}else return e}function t0(e){return Array.isArray(e)?bl(e).split("."):e.toString().split(".")}function dn(e,t,n){let o=e,l=t0(t);for(let a=0;a<l.length;a++){if(!o)return;let u=l[a];o=o[u]}return n&&(n.path=l.join(".")),o}function Dg(e,t,n){let o=e,l=t0(t),a=l[l.length-1];if(l.length>1){for(let u=0;u<l.length-1;u++){let d=l[u];if(o=o[d],!o)return}o[a]=n}else o[t]=n;return l.join(".")}/** 1091@license 1092Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1093This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1094The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1095The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1096Code distributed by Google as part of the polymer project is also 1097subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1098*/const Rs={},jk=/-[a-z]/g,Hk=/([A-Z])/g;function n0(e){return Rs[e]||(Rs[e]=e.indexOf("-")<0?e:e.replace(jk,t=>t[1].toUpperCase()))}function Vs(e){return Rs[e]||(Rs[e]=e.replace(Hk,"-$1").toLowerCase())}/** 1099@license 1100Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1101This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1102The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1103The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1104Code distributed by Google as part of the polymer project is also 1105subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1106*/let Vk=0,r0=0,yo=[],Wk=0,Fd=!1,i0=document.createTextNode("");new window.MutationObserver(Yk).observe(i0,{characterData:!0});function Yk(){Fd=!1;const e=yo.length;for(let t=0;t<e;t++){let n=yo[t];if(n)try{n()}catch(o){setTimeout(()=>{throw o})}}yo.splice(0,e),r0+=e}const Gk={run(e){return Fd||(Fd=!0,i0.textContent=Wk++),yo.push(e),Vk++},cancel(e){const t=e-r0;if(t>=0){if(!yo[t])throw new Error("invalid async handle: "+e);yo[t]=null}}};/** 1107@license 1108Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1109This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1110The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1111The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1112Code distributed by Google as part of the polymer project is also 1113subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1114*/const Kk=Gk,o0=Mt(e=>{class t extends e{static createProperties(o){const l=this.prototype;for(let a in o)a in l||l._createPropertyAccessor(a)}static attributeNameForProperty(o){return o.toLowerCase()}static typeForProperty(o){}_createPropertyAccessor(o,l){this._addPropertyToAttributeMap(o),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[o]||(this.__dataHasAccessor[o]=!0,this._definePropertyAccessor(o,l))}_addPropertyToAttributeMap(o){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let l=this.__dataAttributes[o];return l||(l=this.constructor.attributeNameForProperty(o),this.__dataAttributes[l]=o),l}_definePropertyAccessor(o,l){Object.defineProperty(this,o,{get(){return this.__data[o]},set:l?function(){}:function(a){this._setPendingProperty(o,a,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let o in this.__dataHasAccessor)this.hasOwnProperty(o)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[o]=this[o],delete this[o])}_initializeInstanceProperties(o){Object.assign(this,o)}_setProperty(o,l){this._setPendingProperty(o,l)&&this._invalidateProperties()}_getProperty(o){return this.__data[o]}_setPendingProperty(o,l,a){let u=this.__data[o],d=this._shouldPropertyChange(o,l,u);return d&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(o in this.__dataOld)&&(this.__dataOld[o]=u),this.__data[o]=l,this.__dataPending[o]=l),d}_isPropertyPending(o){return!!(this.__dataPending&&this.__dataPending.hasOwnProperty(o))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Kk.run(()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())}))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const o=this.__data,l=this.__dataPending,a=this.__dataOld;this._shouldPropertiesChange(o,l,a)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(o,l,a)),this.__dataCounter--}_shouldPropertiesChange(o,l,a){return!!l}_propertiesChanged(o,l,a){}_shouldPropertyChange(o,l,a){return a!==l&&(a===a||l===l)}attributeChangedCallback(o,l,a,u){l!==a&&this._attributeToProperty(o,a),super.attributeChangedCallback&&super.attributeChangedCallback(o,l,a,u)}_attributeToProperty(o,l,a){if(!this.__serializing){const u=this.__dataAttributes,d=u&&u[o]||o;this[d]=this._deserializeValue(l,a||this.constructor.typeForProperty(d))}}_propertyToAttribute(o,l,a){this.__serializing=!0,a=arguments.length<3?this[o]:a,this._valueToNodeAttribute(this,a,l||this.constructor.attributeNameForProperty(o)),this.__serializing=!1}_valueToNodeAttribute(o,l,a){const u=this._serializeValue(l);(a==="class"||a==="name"||a==="slot")&&(o=Li(o)),u===void 0?o.removeAttribute(a):o.setAttribute(a,u===""&&window.trustedTypes?window.trustedTypes.emptyScript:u)}_serializeValue(o){switch(typeof o){case"boolean":return o?"":void 0;default:return o?.toString()}}_deserializeValue(o,l){switch(l){case Boolean:return o!==null;case Number:return Number(o);default:return o}}}return t});/** 1115@license 1116Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1117This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1118The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1119The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1120Code distributed by Google as part of the polymer project is also 1121subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1122*/const l0={};let ts=HTMLElement.prototype;for(;ts;){let e=Object.getOwnPropertyNames(ts);for(let t=0;t<e.length;t++)l0[e[t]]=!0;ts=Object.getPrototypeOf(ts)}const Xk=window.trustedTypes?e=>trustedTypes.isHTML(e)||trustedTypes.isScript(e)||trustedTypes.isScriptURL(e):()=>!1;function Qk(e,t){if(!l0[t]){let n=e[t];n!==void 0&&(e.__data?e._setPendingProperty(t,n):(e.__dataProto?e.hasOwnProperty(JSCompiler_renameProperty("__dataProto",e))||(e.__dataProto=Object.create(e.__dataProto)):e.__dataProto={},e.__dataProto[t]=n))}}const Jk=Mt(e=>{const t=o0(e);class n extends t{static createPropertiesForAttributes(){let l=this.observedAttributes;for(let a=0;a<l.length;a++)this.prototype._createPropertyAccessor(n0(l[a]))}static attributeNameForProperty(l){return Vs(l)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(l){for(let a in l)this._setProperty(a,l[a])}_ensureAttribute(l,a){const u=this;u.hasAttribute(l)||this._valueToNodeAttribute(u,a,l)}_serializeValue(l){switch(typeof l){case"object":if(l instanceof Date)return l.toString();if(l){if(Xk(l))return l;try{return JSON.stringify(l)}catch{return""}}default:return super._serializeValue(l)}}_deserializeValue(l,a){let u;switch(a){case Object:try{u=JSON.parse(l)}catch{u=l}break;case Array:try{u=JSON.parse(l)}catch{u=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${l}`)}break;case Date:u=isNaN(l)?String(l):Number(l),u=new Date(u);break;default:u=super._deserializeValue(l,a);break}return u}_definePropertyAccessor(l,a){Qk(this,l),super._definePropertyAccessor(l,a)}_hasAccessor(l){return this.__dataHasAccessor&&this.__dataHasAccessor[l]}_isPropertyPending(l){return!!(this.__dataPending&&l in this.__dataPending)}}return n});/** 1123@license 1124Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1125This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1126The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1127The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1128Code distributed by Google as part of the polymer project is also 1129subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1130*/const qk={"dom-if":!0,"dom-repeat":!0};let Fg=!1,$g=!1;function Zk(){if(!Fg){Fg=!0;const e=document.createElement("textarea");e.placeholder="a",$g=e.placeholder===e.textContent}return $g}function eE(e){Zk()&&e.localName==="textarea"&&e.placeholder&&e.placeholder===e.textContent&&(e.textContent=null)}const tE=(()=>{const e=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(t,n,o)=>{const l=n.getAttribute(o);if(e&&o.startsWith("on-")){t.setAttribute(o,e.createScript(l,o));return}t.setAttribute(o,l)}})();function nE(e){let t=e.getAttribute("is");if(t&&qk[t]){let n=e;for(n.removeAttribute("is"),e=n.ownerDocument.createElement(t),n.parentNode.replaceChild(e,n),e.appendChild(n);n.attributes.length;){const{name:o}=n.attributes[0];tE(e,n,o),n.removeAttribute(o)}}return e}function a0(e,t){let n=t.parentInfo&&a0(e,t.parentInfo);if(n){for(let o=n.firstChild,l=0;o;o=o.nextSibling)if(t.parentIndex===l++)return o}else return e}function rE(e,t,n,o){o.id&&(t[o.id]=n)}function iE(e,t,n){if(n.events&&n.events.length)for(let o=0,l=n.events,a;o<l.length&&(a=l[o]);o++)e._addMethodEventListenerToNode(t,a.name,a.value,e)}function oE(e,t,n,o){n.templateInfo&&(t._templateInfo=n.templateInfo,t._parentTemplateInfo=o)}function lE(e,t,n){return e=e._methodHost||e,function(l){e[n]?e[n](l,l.detail):console.warn("listener method `"+n+"` not defined")}}const aE=Mt(e=>{class t extends e{static _parseTemplate(o,l){if(!o._templateInfo){let a=o._templateInfo={};a.nodeInfoList=[],a.nestedTemplate=!!l,a.stripWhiteSpace=l&&l.stripWhiteSpace||o.hasAttribute&&o.hasAttribute("strip-whitespace"),this._parseTemplateContent(o,a,{parent:null})}return o._templateInfo}static _parseTemplateContent(o,l,a){return this._parseTemplateNode(o.content,l,a)}static _parseTemplateNode(o,l,a){let u=!1,d=o;return d.localName=="template"&&!d.hasAttribute("preserve-content")?u=this._parseTemplateNestedTemplate(d,l,a)||u:d.localName==="slot"&&(l.hasInsertionPoint=!0),eE(d),d.firstChild&&this._parseTemplateChildNodes(d,l,a),d.hasAttributes&&d.hasAttributes()&&(u=this._parseTemplateNodeAttributes(d,l,a)||u),u||a.noted}static _parseTemplateChildNodes(o,l,a){if(!(o.localName==="script"||o.localName==="style"))for(let u=o.firstChild,d=0,c;u;u=c){if(u.localName=="template"&&(u=nE(u)),c=u.nextSibling,u.nodeType===Node.TEXT_NODE){let m=c;for(;m&&m.nodeType===Node.TEXT_NODE;)u.textContent+=m.textContent,c=m.nextSibling,o.removeChild(m),m=c;if(l.stripWhiteSpace&&!u.textContent.trim()){o.removeChild(u);continue}}let p={parentIndex:d,parentInfo:a};this._parseTemplateNode(u,l,p)&&(p.infoIndex=l.nodeInfoList.push(p)-1),u.parentNode&&d++}}static _parseTemplateNestedTemplate(o,l,a){let u=o,d=this._parseTemplate(u,l);return(d.content=u.content.ownerDocument.createDocumentFragment()).appendChild(u.content),a.templateInfo=d,!0}static _parseTemplateNodeAttributes(o,l,a){let u=!1,d=Array.from(o.attributes);for(let c=d.length-1,p;p=d[c];c--)u=this._parseTemplateNodeAttribute(o,l,a,p.name,p.value)||u;return u}static _parseTemplateNodeAttribute(o,l,a,u,d){return u.slice(0,3)==="on-"?(o.removeAttribute(u),a.events=a.events||[],a.events.push({name:u.slice(3),value:d}),!0):u==="id"?(a.id=d,!0):!1}static _contentForTemplate(o){let l=o._templateInfo;return l&&l.content||o.content}_stampTemplate(o,l){o&&!o.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(o),l=l||this.constructor._parseTemplate(o);let a=l.nodeInfoList,u=l.content||o.content,d=document.importNode(u,!0);d.__noInsertionPoint=!l.hasInsertionPoint;let c=d.nodeList=new Array(a.length);d.$={};for(let p=0,m=a.length,v;p<m&&(v=a[p]);p++){let b=c[p]=a0(d,v);rE(this,d.$,b,v),oE(this,b,v,l),iE(this,b,v)}return d=d,d}_addMethodEventListenerToNode(o,l,a,u){u=u||o;let d=lE(u,l,a);return this._addEventListenerToNode(o,l,d),d}_addEventListenerToNode(o,l,a){o.addEventListener(l,a)}_removeEventListenerFromNode(o,l,a){o.removeEventListener(l,a)}}return t});/** 1131 * @fileoverview 1132 * @suppress {checkPrototypalTypes} 1133 * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1134 * This code may only be used under the BSD style license found at 1135 * http://polymer.github.io/LICENSE.txt The complete set of authors may be found 1136 * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may 1137 * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by 1138 * Google as part of the polymer project is also subject to an additional IP 1139 * rights grant found at http://polymer.github.io/PATENTS.txt 1140 */let Ol=0;const zl=[],qe={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},s0="__computeInfo",sE=/[A-Z]/;function td(e,t,n){let o=e[t];if(!o)o=e[t]={};else if(!e.hasOwnProperty(t)&&(o=e[t]=Object.create(e[t]),n))for(let l in o){let a=o[l],u=o[l]=Array(a.length);for(let d=0;d<a.length;d++)u[d]=a[d]}return o}function _l(e,t,n,o,l,a){if(t){let u=!1;const d=Ol++;for(let c in n){let p=l?Fi(c):c,m=t[p];if(m)for(let v=0,b=m.length,x;v<b&&(x=m[v]);v++)(!x.info||x.info.lastRun!==d)&&(!l||Nf(c,x.trigger))&&(x.info&&(x.info.lastRun=d),x.fn(e,c,n,o,x.info,l,a),u=!0)}return u}return!1}function uE(e,t,n,o,l,a,u,d){let c=!1,p=u?Fi(o):o,m=t[p];if(m)for(let v=0,b=m.length,x;v<b&&(x=m[v]);v++)(!x.info||x.info.lastRun!==n)&&(!u||Nf(o,x.trigger))&&(x.info&&(x.info.lastRun=n),x.fn(e,o,l,a,x.info,u,d),c=!0);return c}function Nf(e,t){if(t){let n=t.name;return n==e||!!(t.structured&&Uk(n,e))||!!(t.wildcard&&Ps(n,e))}else return!0}function Bg(e,t,n,o,l){let a=typeof l.method=="string"?e[l.method]:l.method,u=l.property;a?a.call(e,e.__data[u],o[u]):l.dynamicFn||console.warn("observer method `"+l.method+"` not defined")}function cE(e,t,n,o,l){let a=e[qe.NOTIFY],u,d=Ol++;for(let p in t)t[p]&&(a&&uE(e,a,d,p,n,o,l)||l&&dE(e,p,n))&&(u=!0);let c;u&&(c=e.__dataHost)&&c._invalidateProperties&&c._invalidateProperties()}function dE(e,t,n){let o=Fi(t);if(o!==t){let l=Vs(o)+"-changed";return u0(e,l,n[t],t),!0}return!1}function u0(e,t,n,o){let l={value:n,queueProperty:!0};o&&(l.path=o),Li(e).dispatchEvent(new CustomEvent(t,{detail:l}))}function fE(e,t,n,o,l,a){let d=(a?Fi(t):t)!=t?t:null,c=d?dn(e,d):e.__data[t];d&&c===void 0&&(c=n[t]),u0(e,l.eventName,c,d)}function pE(e,t,n,o,l){let a,u=e.detail,d=u&&u.path;d?(o=As(n,o,d),a=u&&u.value):a=e.currentTarget[n],a=l?!a:a,(!t[qe.READ_ONLY]||!t[qe.READ_ONLY][o])&&t._setPendingPropertyOrPath(o,a,!0,!!d)&&(!u||!u.queueProperty)&&t._invalidateProperties()}function hE(e,t,n,o,l){let a=e.__data[t];Ts&&(a=Ts(a,l.attrName,"attribute",e)),e._propertyToAttribute(t,l.attrName,a)}function mE(e,t,n,o){let l=e[qe.COMPUTE];if(l)if(Nk){Ol++;const a=vE(e),u=[];for(let c in t)Ug(c,l,u,a,o);let d;for(;d=u.shift();)c0(e,"",t,n,d)&&Ug(d.methodInfo,l,u,a,o);Object.assign(n,e.__dataOld),Object.assign(t,e.__dataPending),e.__dataPending=null}else{let a=t;for(;_l(e,l,a,n,o);)Object.assign(n,e.__dataOld),Object.assign(t,e.__dataPending),a=e.__dataPending,e.__dataPending=null}}const gE=(e,t,n)=>{let o=0,l=t.length-1,a=-1;for(;o<=l;){const u=o+l>>1,d=n.get(t[u].methodInfo)-n.get(e.methodInfo);if(d<0)o=u+1;else if(d>0)l=u-1;else{a=u;break}}a<0&&(a=l+1),t.splice(a,0,e)},Ug=(e,t,n,o,l)=>{const a=l?Fi(e):e,u=t[a];if(u)for(let d=0;d<u.length;d++){const c=u[d];c.info.lastRun!==Ol&&(!l||Nf(e,c.trigger))&&(c.info.lastRun=Ol,gE(c.info,n,o))}};function vE(e){let t=e.constructor.__orderedComputedDeps;if(!t){t=new Map;const n=e[qe.COMPUTE];let{counts:o,ready:l,total:a}=yE(e),u;for(;u=l.shift();){t.set(u,t.size);const d=n[u];d&&d.forEach(c=>{const p=c.info.methodInfo;--a,--o[p]===0&&l.push(p)})}a!==0&&console.warn(`Computed graph for ${e.localName} incomplete; circular?`),e.constructor.__orderedComputedDeps=t}return t}function yE(e){const t=e[s0],n={},o=e[qe.COMPUTE],l=[];let a=0;for(let u in t){const d=t[u];a+=n[u]=d.args.filter(c=>!c.literal).length+(d.dynamicFn?1:0)}for(let u in o)t[u]||l.push(u);return{counts:n,ready:l,total:a}}function c0(e,t,n,o,l){let a=$d(e,t,n,o,l);if(a===zl)return!1;let u=l.methodInfo;return e.__dataHasAccessor&&e.__dataHasAccessor[u]?e._setPendingProperty(u,a,!0):(e[u]=a,!1)}function xE(e,t,n){let o=e.__dataLinkedPaths;if(o){let l;for(let a in o){let u=o[a];Ps(a,t)?(l=As(a,u,t),e._setPendingPropertyOrPath(l,n,!0,!0)):Ps(u,t)&&(l=As(u,a,t),e._setPendingPropertyOrPath(l,n,!0,!0))}}}function nd(e,t,n,o,l,a,u){n.bindings=n.bindings||[];let d={kind:o,target:l,parts:a,literal:u,isCompound:a.length!==1};if(n.bindings.push(d),kE(d)){let{event:p,negate:m}=d.parts[0];d.listenerEvent=p||Vs(l)+"-changed",d.listenerNegate=m}let c=t.nodeInfoList.length;for(let p=0;p<d.parts.length;p++){let m=d.parts[p];m.compoundIndex=p,wE(e,t,d,m,c)}}function wE(e,t,n,o,l){if(!o.literal)if(n.kind==="attribute"&&n.target[0]==="-")console.warn("Cannot set attribute "+n.target+' because "-" is not a valid attribute starting character');else{let a=o.dependencies,u={index:l,binding:n,part:o,evaluator:e};for(let d=0;d<a.length;d++){let c=a[d];typeof c=="string"&&(c=f0(c),c.wildcard=!0),e._addTemplatePropertyEffect(t,c.rootProperty,{fn:bE,info:u,trigger:c})}}}function bE(e,t,n,o,l,a,u){let d=u[l.index],c=l.binding,p=l.part;if(a&&p.source&&t.length>p.source.length&&c.kind=="property"&&!c.isCompound&&d.__isPropertyEffectsClient&&d.__dataHasAccessor&&d.__dataHasAccessor[c.target]){let m=n[t];t=As(p.source,c.target,t),d._setPendingPropertyOrPath(t,m,!1,!0)&&e._enqueueClient(d)}else{let m=l.evaluator._evaluateBinding(e,p,t,n,o,a);m!==zl&&_E(e,d,c,p,m)}}function _E(e,t,n,o,l){if(l=SE(t,l,n,o),Ts&&(l=Ts(l,n.target,n.kind,t)),n.kind=="attribute")e._valueToNodeAttribute(t,l,n.target);else{let a=n.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[a]?(!t[qe.READ_ONLY]||!t[qe.READ_ONLY][a])&&t._setPendingProperty(a,l)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,a,l)}}function SE(e,t,n,o){if(n.isCompound){let l=e.__dataCompoundStorage[n.target];l[o.compoundIndex]=t,t=l.join("")}return n.kind!=="attribute"&&(n.target==="textContent"||n.target==="value"&&(e.localName==="input"||e.localName==="textarea"))&&(t=t??""),t}function kE(e){return!!e.target&&e.kind!="attribute"&&e.kind!="text"&&!e.isCompound&&e.parts[0].mode==="{"}function EE(e,t){let{nodeList:n,nodeInfoList:o}=t;if(o.length)for(let l=0;l<o.length;l++){let a=o[l],u=n[l],d=a.bindings;if(d)for(let c=0;c<d.length;c++){let p=d[c];CE(u,p),TE(u,e,p)}u.__dataHost=e}}function CE(e,t){if(t.isCompound){let n=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),o=t.parts,l=new Array(o.length);for(let u=0;u<o.length;u++)l[u]=o[u].literal;let a=t.target;n[a]=l,t.literal&&t.kind=="property"&&(a==="className"&&(e=Li(e)),e[a]=t.literal)}}function TE(e,t,n){if(n.listenerEvent){let o=n.parts[0];e.addEventListener(n.listenerEvent,function(l){pE(l,t,n.target,o.source,o.negate)})}}function jg(e,t,n,o,l,a){a=t.static||a&&(typeof a!="object"||a[t.methodName]);let u={methodName:t.methodName,args:t.args,methodInfo:l,dynamicFn:a};for(let d=0,c;d<t.args.length&&(c=t.args[d]);d++)c.literal||e._addPropertyEffect(c.rootProperty,n,{fn:o,info:u,trigger:c});return a&&e._addPropertyEffect(t.methodName,n,{fn:o,info:u}),u}function $d(e,t,n,o,l){let a=e._methodHost||e,u=a[l.methodName];if(u){let d=e._marshalArgs(l.args,t,n);return d===zl?zl:u.apply(a,d)}else l.dynamicFn||console.warn("method `"+l.methodName+"` not defined")}const PE=[],d0="(?:[a-zA-Z_$][\\w.:$\\-*]*)",AE="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",RE="(?:'(?:[^'\\\\]|\\\\.)*')",NE='(?:"(?:[^"\\\\]|\\\\.)*")',LE="(?:"+RE+"|"+NE+")",Hg="(?:("+d0+"|"+AE+"|"+LE+")\\s*)",IE="(?:"+Hg+"(?:,\\s*"+Hg+")*)",OE="(?:\\(\\s*(?:"+IE+"?)\\)\\s*)",zE="("+d0+"\\s*"+OE+"?)",ME="(\\[\\[|{{)\\s*",DE="(?:]]|}})",FE="(?:(!)\\s*)?",$E=ME+FE+zE+DE,Vg=new RegExp($E,"g");function Wg(e){let t="";for(let n=0;n<e.length;n++){let o=e[n].literal;t+=o||""}return t}function rd(e){let t=e.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let o={methodName:t[1],static:!0,args:PE};if(t[2].trim()){let l=t[2].replace(/\\,/g,",").split(",");return BE(l,o)}else return o}return null}function BE(e,t){return t.args=e.map(function(n){let o=f0(n);return o.literal||(t.static=!1),o},this),t}function f0(e){let t=e.trim().replace(/,/g,",").replace(/\\(.)/g,"$1"),n={name:t,value:"",literal:!1},o=t[0];switch(o==="-"&&(o=t[1]),o>="0"&&o<="9"&&(o="#"),o){case"'":case'"':n.value=t.slice(1,-1),n.literal=!0;break;case"#":n.value=Number(t),n.literal=!0;break}return n.literal||(n.rootProperty=Fi(t),n.structured=Dd(t),n.structured&&(n.wildcard=t.slice(-2)==".*",n.wildcard&&(n.name=t.slice(0,-2)))),n}function Yg(e,t,n){let o=dn(e,n);return o===void 0&&(o=t[n]),o}function p0(e,t,n,o){const l={indexSplices:o};Md&&!e._overrideLegacyUndefined&&(t.splices=l),e.notifyPath(n+".splices",l),e.notifyPath(n+".length",t.length),Md&&!e._overrideLegacyUndefined&&(l.indexSplices=[])}function hl(e,t,n,o,l,a){p0(e,t,n,[{index:o,addedCount:l,removed:a,object:t,type:"splice"}])}function UE(e){return e[0].toUpperCase()+e.substring(1)}const jE=Mt(e=>{const t=aE(Jk(e));class n extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return qe}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(ml.length){let l=ml[ml.length-1];l._enqueueClient(this),this.__dataHost=l}}_initializeProtoProperties(l){this.__data=Object.create(l),this.__dataPending=Object.create(l),this.__dataOld={}}_initializeInstanceProperties(l){let a=this[qe.READ_ONLY];for(let u in l)(!a||!a[u])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[u]=this.__dataPending[u]=l[u])}_addPropertyEffect(l,a,u){this._createPropertyAccessor(l,a==qe.READ_ONLY);let d=td(this,a,!0)[l];d||(d=this[a][l]=[]),d.push(u)}_removePropertyEffect(l,a,u){let d=td(this,a,!0)[l],c=d.indexOf(u);c>=0&&d.splice(c,1)}_hasPropertyEffect(l,a){let u=this[a];return!!(u&&u[l])}_hasReadOnlyEffect(l){return this._hasPropertyEffect(l,qe.READ_ONLY)}_hasNotifyEffect(l){return this._hasPropertyEffect(l,qe.NOTIFY)}_hasReflectEffect(l){return this._hasPropertyEffect(l,qe.REFLECT)}_hasComputedEffect(l){return this._hasPropertyEffect(l,qe.COMPUTE)}_setPendingPropertyOrPath(l,a,u,d){if(d||Fi(Array.isArray(l)?l[0]:l)!==l){if(!d){let c=dn(this,l);if(l=Dg(this,l,a),!l||!super._shouldPropertyChange(l,a,c))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(l,a,u))return xE(this,l,a),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[l])return this._setPendingProperty(l,a,u);this[l]=a}return!1}_setUnmanagedPropertyToNode(l,a,u){(u!==l[a]||typeof u=="object")&&(a==="className"&&(l=Li(l)),l[a]=u)}_setPendingProperty(l,a,u){let d=this.__dataHasPaths&&Dd(l),c=d?this.__dataTemp:this.__data;return this._shouldPropertyChange(l,a,c[l])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),l in this.__dataOld||(this.__dataOld[l]=this.__data[l]),d?this.__dataTemp[l]=a:this.__data[l]=a,this.__dataPending[l]=a,(d||this[qe.NOTIFY]&&this[qe.NOTIFY][l])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[l]=u),!0):!1}_setProperty(l,a){this._setPendingProperty(l,a,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(l){this.__dataPendingClients=this.__dataPendingClients||[],l!==this&&this.__dataPendingClients.push(l)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let l=this.__dataPendingClients;if(l){this.__dataPendingClients=null;for(let a=0;a<l.length;a++){let u=l[a];u.__dataEnabled?u.__dataPending&&u._flushProperties():u._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(l,a){for(let u in l)(a||!this[qe.READ_ONLY]||!this[qe.READ_ONLY][u])&&this._setPendingPropertyOrPath(u,l[u],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(l,a,u){let d=this.__dataHasPaths;this.__dataHasPaths=!1;let c;mE(this,a,u,d),c=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(a,u,d),this._flushClients(),_l(this,this[qe.REFLECT],a,u,d),_l(this,this[qe.OBSERVE],a,u,d),c&&cE(this,c,a,u,d),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(l,a,u){this[qe.PROPAGATE]&&_l(this,this[qe.PROPAGATE],l,a,u),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,l,a,u)}_runEffectsForTemplate(l,a,u,d){const c=(p,m)=>{_l(this,l.propertyEffects,p,u,m,l.nodeList);for(let v=l.firstChild;v;v=v.nextSibling)this._runEffectsForTemplate(v,p,u,m)};l.runEffects?l.runEffects(c,a,d):c(a,d)}linkPaths(l,a){l=bl(l),a=bl(a),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[l]=a}unlinkPaths(l){l=bl(l),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[l]}notifySplices(l,a){let u={path:""},d=dn(this,l,u);p0(this,d,u.path,a)}get(l,a){return dn(a||this,l)}set(l,a,u){u?Dg(u,l,a):(!this[qe.READ_ONLY]||!this[qe.READ_ONLY][l])&&this._setPendingPropertyOrPath(l,a,!0)&&this._invalidateProperties()}push(l,...a){let u={path:""},d=dn(this,l,u),c=d.length,p=d.push(...a);return a.length&&hl(this,d,u.path,c,a.length,[]),p}pop(l){let a={path:""},u=dn(this,l,a),d=!!u.length,c=u.pop();return d&&hl(this,u,a.path,u.length,0,[c]),c}splice(l,a,u,...d){let c={path:""},p=dn(this,l,c);a<0?a=p.length-Math.floor(-a):a&&(a=Math.floor(a));let m;return arguments.length===2?m=p.splice(a):m=p.splice(a,u,...d),(d.length||m.length)&&hl(this,p,c.path,a,d.length,m),m}shift(l){let a={path:""},u=dn(this,l,a),d=!!u.length,c=u.shift();return d&&hl(this,u,a.path,0,0,[c]),c}unshift(l,...a){let u={path:""},d=dn(this,l,u),c=d.unshift(...a);return a.length&&hl(this,d,u.path,0,a.length,[]),c}notifyPath(l,a){let u;if(arguments.length==1){let d={path:""};a=dn(this,l,d),u=d.path}else Array.isArray(l)?u=bl(l):u=l;this._setPendingPropertyOrPath(u,a,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(l,a){this._addPropertyEffect(l,qe.READ_ONLY),a&&(this["_set"+UE(l)]=function(u){this._setProperty(l,u)})}_createPropertyObserver(l,a,u){let d={property:l,method:a,dynamicFn:!!u};this._addPropertyEffect(l,qe.OBSERVE,{fn:Bg,info:d,trigger:{name:l}}),u&&this._addPropertyEffect(a,qe.OBSERVE,{fn:Bg,info:d,trigger:{name:a}})}_createMethodObserver(l,a){let u=rd(l);if(!u)throw new Error("Malformed observer expression '"+l+"'");jg(this,u,qe.OBSERVE,$d,null,a)}_createNotifyingProperty(l){this._addPropertyEffect(l,qe.NOTIFY,{fn:fE,info:{eventName:Vs(l)+"-changed",property:l}})}_createReflectedProperty(l){let a=this.constructor.attributeNameForProperty(l);a[0]==="-"?console.warn("Property "+l+" cannot be reflected to attribute "+a+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(l,qe.REFLECT,{fn:hE,info:{attrName:a}})}_createComputedProperty(l,a,u){let d=rd(a);if(!d)throw new Error("Malformed computed expression '"+a+"'");const c=jg(this,d,qe.COMPUTE,c0,l,u);td(this,s0)[l]=c}_marshalArgs(l,a,u){const d=this.__data,c=[];for(let p=0,m=l.length;p<m;p++){let{name:v,structured:b,wildcard:x,value:T,literal:R}=l[p];if(!R)if(x){const A=Ps(v,a),P=Yg(d,u,A?a:v);T={path:A?a:v,value:P,base:A?dn(d,v):P}}else T=b?Yg(d,u,v):d[v];if(Md&&!this._overrideLegacyUndefined&&T===void 0&&l.length>1)return zl;c[p]=T}return c}static addPropertyEffect(l,a,u){this.prototype._addPropertyEffect(l,a,u)}static createPropertyObserver(l,a,u){this.prototype._createPropertyObserver(l,a,u)}static createMethodObserver(l,a){this.prototype._createMethodObserver(l,a)}static createNotifyingProperty(l){this.prototype._createNotifyingProperty(l)}static createReadOnlyProperty(l,a){this.prototype._createReadOnlyProperty(l,a)}static createReflectedProperty(l){this.prototype._createReflectedProperty(l)}static createComputedProperty(l,a,u){this.prototype._createComputedProperty(l,a,u)}static bindTemplate(l){return this.prototype._bindTemplate(l)}_bindTemplate(l,a){let u=this.constructor._parseTemplate(l),d=this.__preBoundTemplateInfo==u;if(!d)for(let c in u.propertyEffects)this._createPropertyAccessor(c);if(a)if(u=Object.create(u),u.wasPreBound=d,!this.__templateInfo)this.__templateInfo=u;else{const c=l._parentTemplateInfo||this.__templateInfo,p=c.lastChild;u.parent=c,c.lastChild=u,u.previousSibling=p,p?p.nextSibling=u:c.firstChild=u}else this.__preBoundTemplateInfo=u;return u}static _addTemplatePropertyEffect(l,a,u){let d=l.hostProps=l.hostProps||{};d[a]=!0;let c=l.propertyEffects=l.propertyEffects||{};(c[a]=c[a]||[]).push(u)}_stampTemplate(l,a){a=a||this._bindTemplate(l,!0),ml.push(this);let u=super._stampTemplate(l,a);if(ml.pop(),a.nodeList=u.nodeList,!a.wasPreBound){let d=a.childNodes=[];for(let c=u.firstChild;c;c=c.nextSibling)d.push(c)}return u.templateInfo=a,EE(this,a),this.__dataClientsReady&&(this._runEffectsForTemplate(a,this.__data,null,!1),this._flushClients()),u}_removeBoundDom(l){const a=l.templateInfo,{previousSibling:u,nextSibling:d,parent:c}=a;u?u.nextSibling=d:c&&(c.firstChild=d),d?d.previousSibling=u:c&&(c.lastChild=u),a.nextSibling=a.previousSibling=null;let p=a.childNodes;for(let m=0;m<p.length;m++){let v=p[m];Li(Li(v).parentNode).removeChild(v)}}static _parseTemplateNode(l,a,u){let d=t._parseTemplateNode.call(this,l,a,u);if(l.nodeType===Node.TEXT_NODE){let c=this._parseBindings(l.textContent,a);c&&(l.textContent=Wg(c)||" ",nd(this,a,u,"text","textContent",c),d=!0)}return d}static _parseTemplateNodeAttribute(l,a,u,d,c){let p=this._parseBindings(c,a);if(p){let m=d,v="property";sE.test(d)?v="attribute":d[d.length-1]=="$"&&(d=d.slice(0,-1),v="attribute");let b=Wg(p);return b&&v=="attribute"&&(d=="class"&&l.hasAttribute("class")&&(b+=" "+l.getAttribute(d)),l.setAttribute(d,b)),v=="attribute"&&m=="disable-upgrade$"&&l.setAttribute(d,""),l.localName==="input"&&m==="value"&&l.setAttribute(m,""),l.removeAttribute(m),v==="property"&&(d=n0(d)),nd(this,a,u,v,d,p,b),!0}else return t._parseTemplateNodeAttribute.call(this,l,a,u,d,c)}static _parseTemplateNestedTemplate(l,a,u){let d=t._parseTemplateNestedTemplate.call(this,l,a,u);const c=l.parentNode,p=u.templateInfo,m=c.localName==="dom-if",v=c.localName==="dom-repeat";Lg&&(m||v)&&(c.removeChild(l),u=u.parentInfo,u.templateInfo=p,u.noted=!0,d=!1);let b=p.hostProps;if(Lk&&m)b&&(a.hostProps=Object.assign(a.hostProps||{},b),Lg||(u.parentInfo.noted=!0));else{let x="{";for(let T in b){let R=[{mode:x,source:T,dependencies:[T],hostProp:!0}];nd(this,a,u,"property","_host_"+T,R)}}return d}static _parseBindings(l,a){let u=[],d=0,c;for(;(c=Vg.exec(l))!==null;){c.index>d&&u.push({literal:l.slice(d,c.index)});let p=c[1][0],m=!!c[2],v=c[3].trim(),b=!1,x="",T=-1;p=="{"&&(T=v.indexOf("::"))>0&&(x=v.substring(T+2),v=v.substring(0,T),b=!0);let R=rd(v),A=[];if(R){let{args:P,methodName:D}=R;for(let X=0;X<P.length;X++){let J=P[X];J.literal||A.push(J)}let O=a.dynamicFns;(O&&O[D]||R.static)&&(A.push(D),R.dynamicFn=!0)}else A.push(v);u.push({source:v,mode:p,negate:m,customEvent:b,signature:R,dependencies:A,event:x}),d=Vg.lastIndex}if(d&&d<l.length){let p=l.substring(d);p&&u.push({literal:p})}return u.length?u:null}static _evaluateBinding(l,a,u,d,c,p){let m;return a.signature?m=$d(l,u,d,c,a.signature):u!=a.source?m=dn(l,a.source):p&&Dd(u)?m=dn(l,u):m=l.__data[u],a.negate&&(m=!m),m}}return n}),ml=[];/** 1141@license 1142Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1143This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1144The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1145The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1146Code distributed by Google as part of the polymer project is also 1147subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1148*//** 1149@license 1150Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1151This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1152The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1153The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1154Code distributed by Google as part of the polymer project is also 1155subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1156*/function HE(e){const t={};for(let n in e){const o=e[n];t[n]=typeof o=="function"?{type:o}:o}return t}const VE=Mt(e=>{const t=o0(e);function n(a){const u=Object.getPrototypeOf(a);return u.prototype instanceof l?u:null}function o(a){if(!a.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",a))){let u=null;if(a.hasOwnProperty(JSCompiler_renameProperty("properties",a))){const d=a.properties;d&&(u=HE(d))}a.__ownProperties=u}return a.__ownProperties}class l extends t{static get observedAttributes(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes",this))){this.prototype;const u=this._properties;this.__observedAttributes=u?Object.keys(u).map(d=>this.prototype._addPropertyToAttributeMap(d)):[]}return this.__observedAttributes}static finalize(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__finalized",this))){const u=n(this);u&&u.finalize(),this.__finalized=!0,this._finalizeClass()}}static _finalizeClass(){const u=o(this);u&&this.createProperties(u)}static get _properties(){if(!this.hasOwnProperty(JSCompiler_renameProperty("__properties",this))){const u=n(this);this.__properties=Object.assign({},u&&u._properties,o(this))}return this.__properties}static typeForProperty(u){const d=this._properties[u];return d&&d.type}_initializeProperties(){this.constructor.finalize(),super._initializeProperties()}connectedCallback(){super.connectedCallback&&super.connectedCallback(),this._enableProperties()}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback()}}return l});/** 1157 * @fileoverview 1158 * @suppress {checkPrototypalTypes} 1159 * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1160 * This code may only be used under the BSD style license found at 1161 * http://polymer.github.io/LICENSE.txt The complete set of authors may be found 1162 * at http://polymer.github.io/AUTHORS.txt The complete set of contributors may 1163 * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by 1164 * Google as part of the polymer project is also subject to an additional IP 1165 * rights grant found at http://polymer.github.io/PATENTS.txt 1166 */const WE="3.5.2",Gg=window.ShadyCSS&&window.ShadyCSS.cssBuild,YE=Mt(e=>{const t=VE(jE(e));function n(c){if(!c.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",c))){c.__propertyDefaults=null;let p=c._properties;for(let m in p){let v=p[m];"value"in v&&(c.__propertyDefaults=c.__propertyDefaults||{},c.__propertyDefaults[m]=v)}}return c.__propertyDefaults}function o(c){return c.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",c))||(c.__ownObservers=c.hasOwnProperty(JSCompiler_renameProperty("observers",c))?c.observers:null),c.__ownObservers}function l(c,p,m,v){m.computed&&(m.readOnly=!0),m.computed&&(c._hasReadOnlyEffect(p)?console.warn(`Cannot redefine computed property '${p}'.`):c._createComputedProperty(p,m.computed,v)),m.readOnly&&!c._hasReadOnlyEffect(p)?c._createReadOnlyProperty(p,!m.computed):m.readOnly===!1&&c._hasReadOnlyEffect(p)&&console.warn(`Cannot make readOnly property '${p}' non-readOnly.`),m.reflectToAttribute&&!c._hasReflectEffect(p)?c._createReflectedProperty(p):m.reflectToAttribute===!1&&c._hasReflectEffect(p)&&console.warn(`Cannot make reflected property '${p}' non-reflected.`),m.notify&&!c._hasNotifyEffect(p)?c._createNotifyingProperty(p):m.notify===!1&&c._hasNotifyEffect(p)&&console.warn(`Cannot make notify property '${p}' non-notify.`),m.observer&&c._createPropertyObserver(p,m.observer,v[m.observer]),c._addPropertyToAttributeMap(p)}function a(c,p,m,v){if(!Gg){const b=p.content.querySelectorAll("style"),x=Zy(p),T=Bk(m),R=p.content.firstElementChild;for(let P=0;P<T.length;P++){let D=T[P];D.textContent=c._processStyleText(D.textContent,v),p.content.insertBefore(D,R)}let A=0;for(let P=0;P<x.length;P++){let D=x[P],O=b[A];O!==D?(D=D.cloneNode(!0),O.parentNode.insertBefore(D,O)):A++,D.textContent=c._processStyleText(D.textContent,v)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(p,m),Ik&&Gg&&Ek){const b=p.content.querySelectorAll("style");if(b){let x="";Array.from(b).forEach(T=>{x+=T.textContent,T.parentNode.removeChild(T)}),c._styleSheet=new CSSStyleSheet,c._styleSheet.replaceSync(x)}}}function u(c){let p=null;if(c&&(!zd||Tk)&&(p=Il.import(c,"template"),zd&&!p))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${c}`);return p}class d extends t{static get polymerElementVersion(){return WE}static _finalizeClass(){t._finalizeClass.call(this);const p=o(this);p&&this.createObservers(p,this._properties),this._prepareTemplate()}static _prepareTemplate(){let p=this.template;p&&(typeof p=="string"?(console.error("template getter must return HTMLTemplateElement"),p=null):Pk||(p=p.cloneNode(!0))),this.prototype._template=p}static createProperties(p){for(let m in p)l(this.prototype,m,p[m],p)}static createObservers(p,m){const v=this.prototype;for(let b=0;b<p.length;b++)v._createMethodObserver(p[b],m)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let p=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof p=="function"&&(p=p()),this._template=p!==void 0?p:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&u(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(p){this._template=p}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const p=this.importMeta;if(p)this._importPath=Af(p.url);else{const m=Il.import(this.is);this._importPath=m&&m.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=Ck,this.importPath=this.constructor.importPath;let p=n(this.constructor);if(p)for(let m in p){let v=p[m];if(this._canApplyPropertyDefault(m)){let b=typeof v.value=="function"?v.value.call(this):v.value;this._hasAccessor(m)?this._setPendingProperty(m,b,!0):this[m]=b}}}_canApplyPropertyDefault(p){return!this.hasOwnProperty(p)}static _processStyleText(p,m){return Pf(p,m)}static _finalizeTemplate(p){const m=this.prototype._template;if(m&&!m.__polymerFinalized){m.__polymerFinalized=!0;const v=this.importPath,b=v?El(v):"";a(this,m,p,b),this.prototype._bindTemplate(m)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(p){const m=Li(this);if(m.attachShadow)return p?(m.shadowRoot||(m.attachShadow({mode:"open",shadyUpgradeFragment:p}),m.shadowRoot.appendChild(p),this.constructor._styleSheet&&(m.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),Rk&&window.ShadyDOM&&window.ShadyDOM.flushInitial(m.shadowRoot),m.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(p){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,p)}resolveUrl(p,m){return!m&&this.importPath&&(m=El(this.importPath)),El(p,m)}static _parseTemplateContent(p,m,v){return m.dynamicFns=m.dynamicFns||this._properties,t._parseTemplateContent.call(this,p,m,v)}static _addTemplatePropertyEffect(p,m,v){return Ak&&!(m in this._properties)&&!(v.info.part.signature&&v.info.part.signature.static)&&!v.info.part.hostProp&&!p.nestedTemplate&&console.warn(`Property '${m}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,p,m,v)}}return d});/** 1167@license 1168Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1169This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1170The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1171The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1172Code distributed by Google as part of the polymer project is also 1173subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1174*/const Kg=window.trustedTypes&&trustedTypes.createPolicy("polymer-html-literal",{createHTML:e=>e});class h0{constructor(t,n){g0(t,n);const o=n.reduce((l,a,u)=>l+m0(a)+t[u+1],t[0]);this.value=o.toString()}toString(){return this.value}}function m0(e){if(e instanceof h0)return e.value;throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${e}`)}function GE(e){if(e instanceof HTMLTemplateElement)return e.innerHTML;if(e instanceof h0)return m0(e);throw new Error(`non-template value passed to Polymer's html function: ${e}`)}const Ws=function(t,...n){g0(t,n);const o=document.createElement("template");let l=n.reduce((a,u,d)=>a+GE(u)+t[d+1],t[0]);return Kg&&(l=Kg.createHTML(l)),o.innerHTML=l,o},g0=(e,t)=>{if(!Array.isArray(e)||!Array.isArray(e.raw)||t.length!==e.length-1)throw new TypeError("Invalid call to the html template tag")};/** 1175@license 1176Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1177This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1178The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1179The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1180Code distributed by Google as part of the polymer project is also 1181subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1182*/const Ys=YE(HTMLElement);/** 1183 * @license 1184 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1185 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1186 */const Gs=Mt(e=>typeof e.prototype.addController=="function"?e:class extends e{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach(n=>{n.hostConnected&&n.hostConnected()})}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach(n=>{n.hostDisconnected&&n.hostDisconnected()})}addController(n){this.__controllers.add(n),this.$!==void 0&&this.isConnected&&n.hostConnected&&n.hostConnected()}removeController(n){this.__controllers.delete(n)}}),KE=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,hs=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function XE(){function e(){return!0}return v0(e)}function QE(){try{return JE()?!0:qE()?hs?!ZE():!XE():!1}catch{return!1}}function JE(){return localStorage.getItem("vaadin.developmentmode.force")}function qE(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function ZE(){return!!(hs&&Object.keys(hs).map(t=>hs[t]).filter(t=>t.productionMode).length>0)}function v0(e,t){if(typeof e!="function")return;const n=KE.exec(e.toString());if(n)try{e=new Function(n[1])}catch(o){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",o)}return e(t)}window.Vaadin=window.Vaadin||{};const Xg=function(e,t){if(window.Vaadin.developmentMode)return v0(e,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=QE());function eC(){/*! vaadin-dev-mode:start 1187 (function () { 1188'use strict'; 1189 1190var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { 1191 return typeof obj; 1192} : function (obj) { 1193 return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; 1194}; 1195 1196var classCallCheck = function (instance, Constructor) { 1197 if (!(instance instanceof Constructor)) { 1198 throw new TypeError("Cannot call a class as a function"); 1199 } 1200}; 1201 1202var createClass = function () { 1203 function defineProperties(target, props) { 1204 for (var i = 0; i < props.length; i++) { 1205 var descriptor = props[i]; 1206 descriptor.enumerable = descriptor.enumerable || false; 1207 descriptor.configurable = true; 1208 if ("value" in descriptor) descriptor.writable = true; 1209 Object.defineProperty(target, descriptor.key, descriptor); 1210 } 1211 } 1212 1213 return function (Constructor, protoProps, staticProps) { 1214 if (protoProps) defineProperties(Constructor.prototype, protoProps); 1215 if (staticProps) defineProperties(Constructor, staticProps); 1216 return Constructor; 1217 }; 1218}(); 1219 1220var getPolymerVersion = function getPolymerVersion() { 1221 return window.Polymer && window.Polymer.version; 1222}; 1223 1224var StatisticsGatherer = function () { 1225 function StatisticsGatherer(logger) { 1226 classCallCheck(this, StatisticsGatherer); 1227 1228 this.now = new Date().getTime(); 1229 this.logger = logger; 1230 } 1231 1232 createClass(StatisticsGatherer, [{ 1233 key: 'frameworkVersionDetectors', 1234 value: function frameworkVersionDetectors() { 1235 return { 1236 'Flow': function Flow() { 1237 if (window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients) { 1238 var flowVersions = Object.keys(window.Vaadin.Flow.clients).map(function (key) { 1239 return window.Vaadin.Flow.clients[key]; 1240 }).filter(function (client) { 1241 return client.getVersionInfo; 1242 }).map(function (client) { 1243 return client.getVersionInfo().flow; 1244 }); 1245 if (flowVersions.length > 0) { 1246 return flowVersions[0]; 1247 } 1248 } 1249 }, 1250 'Vaadin Framework': function VaadinFramework() { 1251 if (window.vaadin && window.vaadin.clients) { 1252 var frameworkVersions = Object.values(window.vaadin.clients).filter(function (client) { 1253 return client.getVersionInfo; 1254 }).map(function (client) { 1255 return client.getVersionInfo().vaadinVersion; 1256 }); 1257 if (frameworkVersions.length > 0) { 1258 return frameworkVersions[0]; 1259 } 1260 } 1261 }, 1262 'AngularJs': function AngularJs() { 1263 if (window.angular && window.angular.version && window.angular.version) { 1264 return window.angular.version.full; 1265 } 1266 }, 1267 'Angular': function Angular() { 1268 if (window.ng) { 1269 var tags = document.querySelectorAll("[ng-version]"); 1270 if (tags.length > 0) { 1271 return tags[0].getAttribute("ng-version"); 1272 } 1273 return "Unknown"; 1274 } 1275 }, 1276 'Backbone.js': function BackboneJs() { 1277 if (window.Backbone) { 1278 return window.Backbone.VERSION; 1279 } 1280 }, 1281 'React': function React() { 1282 var reactSelector = '[data-reactroot], [data-reactid]'; 1283 if (!!document.querySelector(reactSelector)) { 1284 // React does not publish the version by default 1285 return "unknown"; 1286 } 1287 }, 1288 'Ember': function Ember() { 1289 if (window.Em && window.Em.VERSION) { 1290 return window.Em.VERSION; 1291 } else if (window.Ember && window.Ember.VERSION) { 1292 return window.Ember.VERSION; 1293 } 1294 }, 1295 'jQuery': function (_jQuery) { 1296 function jQuery() { 1297 return _jQuery.apply(this, arguments); 1298 } 1299 1300 jQuery.toString = function () { 1301 return _jQuery.toString(); 1302 }; 1303 1304 return jQuery; 1305 }(function () { 1306 if (typeof jQuery === 'function' && jQuery.prototype.jquery !== undefined) { 1307 return jQuery.prototype.jquery; 1308 } 1309 }), 1310 'Polymer': function Polymer() { 1311 var version = getPolymerVersion(); 1312 if (version) { 1313 return version; 1314 } 1315 }, 1316 'LitElement': function LitElement() { 1317 var version = window.litElementVersions && window.litElementVersions[0]; 1318 if (version) { 1319 return version; 1320 } 1321 }, 1322 'LitHtml': function LitHtml() { 1323 var version = window.litHtmlVersions && window.litHtmlVersions[0]; 1324 if (version) { 1325 return version; 1326 } 1327 }, 1328 'Vue.js': function VueJs() { 1329 if (window.Vue) { 1330 return window.Vue.version; 1331 } 1332 } 1333 }; 1334 } 1335 }, { 1336 key: 'getUsedVaadinElements', 1337 value: function getUsedVaadinElements(elements) { 1338 var version = getPolymerVersion(); 1339 var elementClasses = void 0; 1340 // NOTE: In case you edit the code here, YOU MUST UPDATE any statistics reporting code in Flow. 1341 // Check all locations calling the method getEntries() in 1342 // https://github.com/vaadin/flow/blob/master/flow-server/src/main/java/com/vaadin/flow/internal/UsageStatistics.java#L106 1343 // Currently it is only used by BootstrapHandler. 1344 if (version && version.indexOf('2') === 0) { 1345 // Polymer 2: components classes are stored in window.Vaadin 1346 elementClasses = Object.keys(window.Vaadin).map(function (c) { 1347 return window.Vaadin[c]; 1348 }).filter(function (c) { 1349 return c.is; 1350 }); 1351 } else { 1352 // Polymer 3: components classes are stored in window.Vaadin.registrations 1353 elementClasses = window.Vaadin.registrations || []; 1354 }
1355 elementClasses.forEach(function (klass) { 1356 var version = klass.version ? klass.version : "0.0.0"; 1357 elements[klass.is] = { version: version }; 1358 }); 1359 } 1360 }, { 1361 key: 'getUsedVaadinThemes', 1362 value: function getUsedVaadinThemes(themes) { 1363 ['Lumo', 'Material'].forEach(function (themeName) { 1364 var theme; 1365 var version = getPolymerVersion(); 1366 if (version && version.indexOf('2') === 0) { 1367 // Polymer 2: themes are stored in window.Vaadin 1368 theme = window.Vaadin[themeName]; 1369 } else { 1370 // Polymer 3: themes are stored in custom element registry 1371 theme = customElements.get('vaadin-' + themeName.toLowerCase() + '-styles'); 1372 } 1373 if (theme && theme.version) { 1374 themes[themeName] = { version: theme.version }; 1375 } 1376 }); 1377 } 1378 }, { 1379 key: 'getFrameworks', 1380 value: function getFrameworks(frameworks) { 1381 var detectors = this.frameworkVersionDetectors(); 1382 Object.keys(detectors).forEach(function (framework) { 1383 var detector = detectors[framework]; 1384 try { 1385 var version = detector(); 1386 if (version) { 1387 frameworks[framework] = { version: version }; 1388 } 1389 } catch (e) {} 1390 }); 1391 } 1392 }, { 1393 key: 'gather', 1394 value: function gather(storage) { 1395 var storedStats = storage.read(); 1396 var gatheredStats = {}; 1397 var types = ["elements", "frameworks", "themes"]; 1398 1399 types.forEach(function (type) { 1400 gatheredStats[type] = {}; 1401 if (!storedStats[type]) { 1402 storedStats[type] = {}; 1403 } 1404 }); 1405 1406 var previousStats = JSON.stringify(storedStats); 1407 1408 this.getUsedVaadinElements(gatheredStats.elements); 1409 this.getFrameworks(gatheredStats.frameworks); 1410 this.getUsedVaadinThemes(gatheredStats.themes); 1411 1412 var now = this.now; 1413 types.forEach(function (type) { 1414 var keys = Object.keys(gatheredStats[type]); 1415 keys.forEach(function (key) { 1416 if (!storedStats[type][key] || _typeof(storedStats[type][key]) != _typeof({})) { 1417 storedStats[type][key] = { firstUsed: now }; 1418 } 1419 // Discards any previously logged version number 1420 storedStats[type][key].version = gatheredStats[type][key].version; 1421 storedStats[type][key].lastUsed = now; 1422 }); 1423 }); 1424 1425 var newStats = JSON.stringify(storedStats); 1426 storage.write(newStats); 1427 if (newStats != previousStats && Object.keys(storedStats).length > 0) { 1428 this.logger.debug("New stats: " + newStats); 1429 } 1430 } 1431 }]); 1432 return StatisticsGatherer; 1433}(); 1434 1435var StatisticsStorage = function () { 1436 function StatisticsStorage(key) { 1437 classCallCheck(this, StatisticsStorage); 1438 1439 this.key = key; 1440 } 1441 1442 createClass(StatisticsStorage, [{ 1443 key: 'read', 1444 value: function read() { 1445 var localStorageStatsString = localStorage.getItem(this.key); 1446 try { 1447 return JSON.parse(localStorageStatsString ? localStorageStatsString : '{}'); 1448 } catch (e) { 1449 return {}; 1450 } 1451 } 1452 }, { 1453 key: 'write', 1454 value: function write(data) { 1455 localStorage.setItem(this.key, data); 1456 } 1457 }, { 1458 key: 'clear', 1459 value: function clear() { 1460 localStorage.removeItem(this.key); 1461 } 1462 }, { 1463 key: 'isEmpty', 1464 value: function isEmpty() { 1465 var storedStats = this.read(); 1466 var empty = true; 1467 Object.keys(storedStats).forEach(function (key) { 1468 if (Object.keys(storedStats[key]).length > 0) { 1469 empty = false; 1470 } 1471 }); 1472 1473 return empty; 1474 } 1475 }]); 1476 return StatisticsStorage; 1477}(); 1478 1479var StatisticsSender = function () { 1480 function StatisticsSender(url, logger) { 1481 classCallCheck(this, StatisticsSender); 1482 1483 this.url = url; 1484 this.logger = logger; 1485 } 1486 1487 createClass(StatisticsSender, [{ 1488 key: 'send', 1489 value: function send(data, errorHandler) { 1490 var logger = this.logger; 1491 1492 if (navigator.onLine === false) { 1493 logger.debug("Offline, can't send"); 1494 errorHandler(); 1495 return; 1496 } 1497 logger.debug("Sending data to " + this.url); 1498 1499 var req = new XMLHttpRequest(); 1500 req.withCredentials = true; 1501 req.addEventListener("load", function () { 1502 // Stats sent, nothing more to do 1503 logger.debug("Response: " + req.responseText); 1504 }); 1505 req.addEventListener("error", function () { 1506 logger.debug("Send failed"); 1507 errorHandler(); 1508 }); 1509 req.addEventListener("abort", function () { 1510 logger.debug("Send aborted"); 1511 errorHandler(); 1512 }); 1513 req.open("POST", this.url); 1514 req.setRequestHeader("Content-Type", "application/json"); 1515 req.send(data); 1516 } 1517 }]); 1518 return StatisticsSender; 1519}(); 1520 1521var StatisticsLogger = function () { 1522 function StatisticsLogger(id) { 1523 classCallCheck(this, StatisticsLogger); 1524 1525 this.id = id; 1526 } 1527 1528 createClass(StatisticsLogger, [{ 1529 key: '_isDebug', 1530 value: function _isDebug() { 1531 return localStorage.getItem("vaadin." + this.id + ".debug"); 1532 } 1533 }, { 1534 key: 'debug', 1535 value: function debug(msg) { 1536 if (this._isDebug()) { 1537 console.info(this.id + ": " + msg); 1538 } 1539 } 1540 }]); 1541 return StatisticsLogger; 1542}(); 1543 1544var UsageStatistics = function () { 1545 function UsageStatistics() { 1546 classCallCheck(this, UsageStatistics); 1547 1548 this.now = new Date(); 1549 this.timeNow = this.now.getTime(); 1550 this.gatherDelay = 10; // Delay between loading this file and gathering stats 1551 this.initialDelay = 24 * 60 * 60; 1552 1553 this.logger = new StatisticsLogger("statistics"); 1554 this.storage = new StatisticsStorage("vaadin.statistics.basket"); 1555 this.gatherer = new StatisticsGatherer(this.logger);
1556 this.sender = new StatisticsSender("https://tools.vaadin.com/usage-stats/submit", this.logger); 1557 } 1558 1559 createClass(UsageStatistics, [{ 1560 key: 'maybeGatherAndSend', 1561 value: function maybeGatherAndSend() { 1562 var _this = this; 1563 1564 if (localStorage.getItem(UsageStatistics.optOutKey)) { 1565 return; 1566 } 1567 this.gatherer.gather(this.storage); 1568 setTimeout(function () { 1569 _this.maybeSend(); 1570 }, this.gatherDelay * 1000); 1571 } 1572 }, { 1573 key: 'lottery', 1574 value: function lottery() { 1575 return true; 1576 } 1577 }, { 1578 key: 'currentMonth', 1579 value: function currentMonth() { 1580 return this.now.getYear() * 12 + this.now.getMonth(); 1581 } 1582 }, { 1583 key: 'maybeSend', 1584 value: function maybeSend() { 1585 var firstUse = Number(localStorage.getItem(UsageStatistics.firstUseKey)); 1586 var monthProcessed = Number(localStorage.getItem(UsageStatistics.monthProcessedKey)); 1587 1588 if (!firstUse) { 1589 // Use a grace period to avoid interfering with tests, incognito mode etc 1590 firstUse = this.timeNow; 1591 localStorage.setItem(UsageStatistics.firstUseKey, firstUse); 1592 } 1593 1594 if (this.timeNow < firstUse + this.initialDelay * 1000) { 1595 this.logger.debug("No statistics will be sent until the initial delay of " + this.initialDelay + "s has passed"); 1596 return; 1597 } 1598 if (this.currentMonth() <= monthProcessed) { 1599 this.logger.debug("This month has already been processed"); 1600 return; 1601 } 1602 localStorage.setItem(UsageStatistics.monthProcessedKey, this.currentMonth()); 1603 // Use random sampling 1604 if (this.lottery()) { 1605 this.logger.debug("Congratulations, we have a winner!"); 1606 } else { 1607 this.logger.debug("Sorry, no stats from you this time"); 1608 return; 1609 } 1610 1611 this.send(); 1612 } 1613 }, { 1614 key: 'send', 1615 value: function send() { 1616 // Ensure we have the latest data 1617 this.gatherer.gather(this.storage); 1618 1619 // Read, send and clean up 1620 var data = this.storage.read(); 1621 data["firstUse"] = Number(localStorage.getItem(UsageStatistics.firstUseKey)); 1622 data["usageStatisticsVersion"] = UsageStatistics.version; 1623 var info = 'This request contains usage statistics gathered from the application running in development mode. \n\nStatistics gathering is automatically disabled and excluded from production builds.\n\nFor details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.\n\n\n\n'; 1624 var self = this; 1625 this.sender.send(info + JSON.stringify(data), function () { 1626 // Revert the 'month processed' flag 1627 localStorage.setItem(UsageStatistics.monthProcessedKey, self.currentMonth() - 1); 1628 }); 1629 } 1630 }], [{ 1631 key: 'version', 1632 get: function get$1() { 1633 return '2.1.2'; 1634 } 1635 }, { 1636 key: 'firstUseKey', 1637 get: function get$1() { 1638 return 'vaadin.statistics.firstuse'; 1639 } 1640 }, { 1641 key: 'monthProcessedKey', 1642 get: function get$1() { 1643 return 'vaadin.statistics.monthProcessed'; 1644 } 1645 }, { 1646 key: 'optOutKey', 1647 get: function get$1() { 1648 return 'vaadin.statistics.optout'; 1649 } 1650 }]); 1651 return UsageStatistics; 1652}(); 1653 1654try { 1655 window.Vaadin = window.Vaadin || {}; 1656 window.Vaadin.usageStatsChecker = window.Vaadin.usageStatsChecker || new UsageStatistics(); 1657 window.Vaadin.usageStatsChecker.maybeGatherAndSend(); 1658} catch (e) { 1659 // Intentionally ignored as this is not a problem in the app being developed 1660} 1661 1662}()); 1663 1664 vaadin-dev-mode:end **/}const tC=function(){if(typeof Xg=="function")return Xg(eC)};/** 1665 * @license 1666 * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1667 * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1668 * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1669 * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1670 * Code distributed by Google as part of the polymer project is also 1671 * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1672 */let Qg=0,y0=0;const xo=[];let Bd=!1;function nC(){Bd=!1;const e=xo.length;for(let t=0;t<e;t++){const n=xo[t];
vendor: 9,514 bytes, lines 1672-1708
1672if(n)try{n()}catch(o){setTimeout(()=>{throw o})}}xo.splice(0,e),y0+=e}const rC={after(e){return{run(t){return window.setTimeout(t,e)},cancel(t){window.clearTimeout(t)}}},run(e,t){return window.setTimeout(e,t)},cancel(e){window.clearTimeout(e)}},iC={run(e){return window.requestAnimationFrame(e)},cancel(e){window.cancelAnimationFrame(e)}},oC={run(e){return window.requestIdleCallback?window.requestIdleCallback(e):window.setTimeout(e,16)},cancel(e){window.cancelIdleCallback?window.cancelIdleCallback(e):window.clearTimeout(e)}},lC={run(e){Bd||(Bd=!0,queueMicrotask(()=>nC())),xo.push(e);const t=Qg;return Qg+=1,t},cancel(e){const t=e-y0;if(t>=0){if(!xo[t])throw new Error(`invalid async handle: ${e}`);xo[t]=null}}};/** 1673@license 1674Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1675This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1676The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1677The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1678Code distributed by Google as part of the polymer project is also 1679subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1680*/const Ud=new Set;class ko{static debounce(t,n,o){return t instanceof ko?t._cancelAsync():t=new ko,t.setConfig(n,o),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,n){this._asyncModule=t,this._callback=n,this._timer=this._asyncModule.run(()=>{this._timer=null,Ud.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),Ud.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return this._timer!=null}}function aC(e){Ud.add(e)}/** 1681 * @license 1682 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1683 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1684 */const Rr=[];function jd(e,t,n=e.getAttribute("dir")){t?e.setAttribute("dir",t):n!=null&&e.removeAttribute("dir")}function Hd(){return document.documentElement.getAttribute("dir")}function sC(){const e=Hd();Rr.forEach(t=>{jd(t,e)})}const uC=new MutationObserver(sC);uC.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const x0=e=>class extends e{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:n=>n||"",toAttribute:n=>n===""?null:n}}}}get __isRTL(){return this.getAttribute("dir")==="rtl"}connectedCallback(){super.connectedCallback(),(!this.hasAttribute("dir")||this.__restoreSubscription)&&(this.__subscribe(),jd(this,Hd(),null))}attributeChangedCallback(n,o,l){if(super.attributeChangedCallback(n,o,l),n!=="dir")return;const a=Hd(),u=l===a&&Rr.indexOf(this)===-1,d=!l&&o&&Rr.indexOf(this)===-1;u||d?(this.__subscribe(),jd(this,a,l)):l!==a&&o===a&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=Rr.includes(this),this.__unsubscribe()}_valueToNodeAttribute(n,o,l){l==="dir"&&o===""&&!n.hasAttribute("dir")||super._valueToNodeAttribute(n,o,l)}_attributeToProperty(n,o,l){n==="dir"&&!o?this.dir="":super._attributeToProperty(n,o,l)}__subscribe(){Rr.includes(this)||Rr.push(this)}__unsubscribe(){Rr.includes(this)&&Rr.splice(Rr.indexOf(this),1)}};/** 1685 * @license 1686 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1687 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1688 */window.Vaadin||(window.Vaadin={});window.Vaadin.registrations||(window.Vaadin.registrations=[]);window.Vaadin.developmentModeCallback||(window.Vaadin.developmentModeCallback={});window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]=function(){tC()};let id;const Jg=new Set,Lf=e=>class extends x0(e){static finalize(){super.finalize();const{is:n}=this;n&&!Jg.has(n)&&(window.Vaadin.registrations.push(this),Jg.add(n),window.Vaadin.developmentModeCallback&&(id=ko.debounce(id,oC,()=>{window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]()}),aC(id)))}constructor(){super(),document.doctype===null&&console.warn('Vaadin components require the "standards mode" declaration. Please add <!DOCTYPE html> to the HTML document.')}};/** 1689 * @license 1690 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1691 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1692 */function If(e){return e?new Set(e.split(" ")):new Set}function Ks(e){return e?[...e].join(" "):""}function w0(e,t,n){const o=If(e.getAttribute(t));o.add(n),e.setAttribute(t,Ks(o))}function cC(e,t,n){const o=If(e.getAttribute(t));if(o.delete(n),o.size===0){e.removeAttribute(t);return}e.setAttribute(t,Ks(o))}function dC(e){return e.nodeType===Node.TEXT_NODE&&e.textContent.trim()===""}/** 1693 * @license 1694 * Copyright (c) 2023 - 2025 Vaadin Ltd. 1695 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1696 */class fC{constructor(t,n){this.slot=t,this.callback=n,this._storedNodes=[],this._connected=!1,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){this.slot.addEventListener("slotchange",this._boundSchedule),this._connected=!0}disconnect(){this.slot.removeEventListener("slotchange",this._boundSchedule),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,queueMicrotask(()=>{this.flush()}))}flush(){this._connected&&(this._scheduled=!1,this._processNodes())}_processNodes(){const t=this.slot.assignedNodes({flatten:!0});let n=[];const o=[],l=[];t.length&&(n=t.filter(a=>!this._storedNodes.includes(a))),this._storedNodes.length&&this._storedNodes.forEach((a,u)=>{const d=t.indexOf(a);d===-1?o.push(a):d!==u&&l.push(a)}),(n.length||o.length||l.length)&&this.callback({addedNodes:n,currentNodes:t,movedNodes:l,removedNodes:o}),this._storedNodes=t}}/** 1697 * @license 1698 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1699 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1700 */let pC=0;function hC(){return pC++}/** 1701 * @license 1702 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1703 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1704 */class Ml extends EventTarget{static generateId(t,n="default"){return`${n}-${t.localName}-${hC()}`}constructor(t,n,o,l={}){super();const{initializer:a,multiple:u,observe:d,useUniqueId:c,uniqueIdPrefix:p}=l;this.host=t,this.slotName=n,this.tagName=o,this.observe=typeof d=="boolean"?d:!0,this.multiple=typeof u=="boolean"?u:!1,this.slotInitializer=a,u&&(this.nodes=[]),c&&(this.defaultId=this.constructor.generateId(t,p||n))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(t.length===0){const n=this.attachDefaultNode();n&&(this.nodes=[n],this.initNode(n))}else this.nodes=t,t.forEach(n=>{this.initAddedNode(n)})}attachDefaultNode(){const{host:t,slotName:n,tagName:o}=this;let l=this.defaultNode;return!l&&o&&(l=document.createElement(o),l instanceof Element&&(n!==""&&l.setAttribute("slot",n),this.defaultNode=l)),l&&(this.node=l,t.appendChild(l)),l}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter(n=>n.nodeType===Node.ELEMENT_NODE&&n.slot===t||n.nodeType===Node.TEXT_NODE&&n.textContent.trim()&&t==="")}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:n}=this;n&&n(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,n=t===""?"slot:not([name])":`slot[name=${t}]`,o=this.host.shadowRoot.querySelector(n);this.__slotObserver=new fC(o,({addedNodes:l,removedNodes:a})=>{const u=this.multiple?this.nodes:[this.node],d=l.filter(c=>!dC(c)&&!u.includes(c));a.length&&(this.nodes=u.filter(c=>!a.includes(c)),a.forEach(c=>{this.teardownNode(c)})),d&&d.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...u,...d].filter(c=>c!==this.defaultNode),d.forEach(c=>{this.initAddedNode(c)})):(this.node&&this.node.remove(),this.node=d[0],this.initAddedNode(this.node)))})}}/** 1705 * @license 1706 * Copyright (c) 2022 - 2025 Vaadin Ltd. 1707 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1708 */class Of extends Ml{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,this.ariaTarget!==void 0&&(t.ariaTarget=this.ariaTarget),this.context!==void 0&&(t.context=this.context),this.manual!==void 0&&(t.manual=this.manual),this.opened!==void 0&&(t.opened=this.opened),this.position!==void 0&&(t._position=this.position),this.shouldShow!==void 0&&(t.shouldShow=this.shouldShow),this.__notifyChange()}teardownNode(){this.__notifyChange()}setAriaTarget(t){this.ariaTarget=t;const n=this.node;n&&(n.ariaTarget=t)}setContext(t){this.context=t;const n=this.node;n&&(n.context=t)}setManual(t){this.manual=t;const n=this.node;n&&(n.manual=t)}setOpened(t){this.opened=t;const n=this.node;n&&(n.opened=t)}setPosition(t){this.position=t;const n=this.node;n&&(n._position=t)}setShouldShow(t){this.shouldShow=t;const n=this.node;n&&(n.shouldShow=t)}setTarget(t){this.target=t;const n=this.node;n&&(n.target=t)}
1708__notifyChange(){this.dispatchEvent(new CustomEvent("tooltip-changed",{detail:{node:this.node}}))}}/** 1709 * @license 1710 * Copyright (c) 2017 - 2025 Vaadin Ltd. 1711 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1712 */const mC=We` 1713 :host { 1714 display: inline-block; 1715 position: relative; 1716 outline: none; 1717 white-space: nowrap; 1718 -webkit-user-select: none; 1719 user-select: none; 1720 } 1721 1722 :host([hidden]) { 1723 display: none !important; 1724 } 1725 1726 :host([disabled]) { 1727 pointer-events: var(--_vaadin-button-disabled-pointer-events, none); 1728 cursor: not-allowed; 1729 } 1730 1731 /* Aligns the button with form fields when placed on the same line. 1732 Note, to make it work, the form fields should have the same "::before" pseudo-element. */ 1733 .vaadin-button-container::before { 1734 content: '\\2003'; 1735 display: inline-block; 1736 width: 0; 1737 max-height: 100%; 1738 } 1739 1740 .vaadin-button-container { 1741 display: inline-flex; 1742 align-items: center; 1743 justify-content: center; 1744 text-align: center; 1745 width: 100%; 1746 height: 100%; 1747 min-height: inherit; 1748 text-shadow: inherit; 1749 } 1750 1751 [part='prefix'], 1752 [part='suffix'] { 1753 flex: none; 1754 } 1755 1756 [part='label'] { 1757 white-space: nowrap; 1758 overflow: hidden; 1759 text-overflow: ellipsis; 1760 } 1761 1762 @media (forced-colors: active) { 1763 :host { 1764 outline: 1px solid; 1765 outline-offset: -1px; 1766 } 1767 1768 :host([focused]) { 1769 outline-width: 2px; 1770 } 1771 1772 :host([disabled]) { 1773 outline-color: GrayText; 1774 } 1775 } 1776`,gC=e=>e` 1777 <div class="vaadin-button-container"> 1778 <span part="prefix" aria-hidden="true"> 1779 <slot name="prefix"></slot> 1780 </span> 1781 <span part="label"> 1782 <slot></slot> 1783 </span> 1784 <span part="suffix" aria-hidden="true"> 1785 <slot name="suffix"></slot> 1786 </span> 1787 </div> 1788 <slot name="tooltip"></slot> 1789`;/** 1790@license 1791Copyright (c) 2017 The Polymer Project Authors. All rights reserved. 1792This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 1793The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 1794The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 1795Code distributed by Google as part of the polymer project is also 1796subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 1797*/const vC=e=>e,b0=typeof document.head.style.touchAction=="string",Vd="__polymerGestures",od="__polymerGesturesHandled",Wd="__polymerGesturesTouchAction",qg=25,Zg=5,yC=2,xC=["mousedown","mousemove","mouseup","click"],wC=[0,1,4,2],bC=(function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch{return!1}})();function zf(e){return xC.indexOf(e)>-1}let _C=!1;(function(){try{const e=Object.defineProperty({},"passive",{get(){_C=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch{}})();function SC(e){zf(e)}const kC=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),EC={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Ii(e){const t=e.type;if(!zf(t))return!1;if(t==="mousemove"){let o=e.buttons===void 0?1:e.buttons;return e instanceof window.MouseEvent&&!bC&&(o=wC[e.which]||0),!!(o&1)}return(e.button===void 0?0:e.button)===0}function CC(e){if(e.type==="click"){if(e.detail===0)return!0;const t=ii(e);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;const n=t.getBoundingClientRect(),o=e.pageX,l=e.pageY;return!(o>=n.left&&o<=n.right&&l>=n.top&&l<=n.bottom)}return!1}const Nr={touch:{x:0,y:0,id:-1,scrollDecided:!1}};function TC(e){let t="auto";const n=S0(e);for(let o=0,l;o<n.length;o++)if(l=n[o],l[Wd]){t=l[Wd];break}return t}function _0(e,t,n){e.movefn=t,e.upfn=n,document.addEventListener("mousemove",t),document.addEventListener("mouseup",n)}function wo(e){document.removeEventListener("mousemove",e.movefn),document.removeEventListener("mouseup",e.upfn),e.movefn=null,e.upfn=null}const S0=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:e=>e.composedPath&&e.composedPath()||[],Mf={},Ai=[];function PC(e,t){let n=document.elementFromPoint(e,t),o=n;for(;o&&o.shadowRoot&&!window.ShadyDOM;){const l=o;if(o=o.shadowRoot.elementFromPoint(e,t),l===o)break;o&&(n=o)}return n}function ii(e){const t=S0(e);return t.length>0?t[0]:e.target}function AC(e){const t=e.type,o=e.currentTarget[Vd];if(!o)return;const l=o[t];
1797if(!l)return;if(!e[od]&&(e[od]={},t.startsWith("touch"))){const u=e.changedTouches[0];if(t==="touchstart"&&e.touches.length===1&&(Nr.touch.id=u.identifier),Nr.touch.id!==u.identifier)return;b0||(t==="touchstart"||t==="touchmove")&&RC(e)}const a=e[od];if(!a.skip){for(let u=0,d;u<Ai.length;u++)d=Ai[u],l[d.name]&&!a[d.name]&&d.flow&&d.flow.start.indexOf(e.type)>-1&&d.reset&&d.reset();for(let u=0,d;u<Ai.length;u++)d=Ai[u],l[d.name]&&!a[d.name]&&(a[d.name]=!0,d[t](e))}}function RC(e){const t=e.changedTouches[0],n=e.type;if(n==="touchstart")Nr.touch.x=t.clientX,Nr.touch.y=t.clientY,Nr.touch.scrollDecided=!1;else if(n==="touchmove"){if(Nr.touch.scrollDecided)return;Nr.touch.scrollDecided=!0;const o=TC(e);let l=!1;const a=Math.abs(Nr.touch.x-t.clientX),u=Math.abs(Nr.touch.y-t.clientY);e.cancelable&&(o==="none"?l=!0:o==="pan-x"?l=u>a:o==="pan-y"&&(l=a>u)),l?e.preventDefault():Ns("track")}}function ev(e,t,n){return Mf[t]?(NC(e,t,n),!0):!1}function NC(e,t,n){const o=Mf[t],l=o.deps,a=o.name;let u=e[Vd];u||(e[Vd]=u={});for(let d=0,c,p;d<l.length;d++)c=l[d],!(kC&&zf(c)&&c!=="click")&&(p=u[c],p||(u[c]=p={_count:0}),p._count===0&&e.addEventListener(c,AC,SC(c)),p[a]=(p[a]||0)+1,p._count=(p._count||0)+1);e.addEventListener(t,n),o.touchAction&&IC(e,o.touchAction)}function Df(e){Ai.push(e),e.emits.forEach(t=>{Mf[t]=e})}function LC(e){for(let t=0,n;t<Ai.length;t++){n=Ai[t];for(let o=0,l;o<n.emits.length;o++)if(l=n.emits[o],l===e)return n}return null}function IC(e,t){b0&&e instanceof HTMLElement&&lC.run(()=>{e.style.touchAction=t}),e[Wd]=t}function Ff(e,t,n){const o=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(o.detail=n,vC(e).dispatchEvent(o),o.defaultPrevented){const l=n.preventer||n.sourceEvent;l&&l.preventDefault&&l.preventDefault()}}function Ns(e){const t=LC(e);t.info&&(t.info.prevent=!0)}Df({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){wo(this.info)},mousedown(e){if(!Ii(e))return;const t=ii(e),n=this,o=a=>{Ii(a)||(gl("up",t,a),wo(n.info))},l=a=>{Ii(a)&&gl("up",t,a),wo(n.info)};_0(this.info,o,l),gl("down",t,e)},touchstart(e){gl("down",ii(e),e.changedTouches[0],e)},touchend(e){gl("up",ii(e),e.changedTouches[0],e)}});function gl(e,t,n,o){t&&Ff(t,e,{x:n.clientX,y:n.clientY,sourceEvent:n,preventer:o,prevent(l){return Ns(l)}})}Df({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove(e){this.moves.length>yC&&this.moves.shift(),this.moves.push(e)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,wo(this.info)},mousedown(e){if(!Ii(e))return;const t=ii(e),n=this,o=a=>{const u=a.clientX,d=a.clientY;tv(n.info,u,d)&&(n.info.state=n.info.started?a.type==="mouseup"?"end":"track":"start",n.info.state==="start"&&Ns("tap"),n.info.addMove({x:u,y:d}),Ii(a)||(n.info.state="end",wo(n.info)),t&&ld(n.info,t,a),n.info.started=!0)},l=a=>{n.info.started&&o(a),wo(n.info)};_0(this.info,o,l),this.info.x=e.clientX,this.info.y=e.clientY},touchstart(e){const t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove(e){const t=ii(e),n=e.changedTouches[0],o=n.clientX,l=n.clientY;tv(this.info,o,l)&&(this.info.state==="start"&&Ns("tap"),this.info.addMove({x:o,y:l}),ld(this.info,t,n),this.info.state="track",this.info.started=!0)},touchend(e){const t=ii(e),n=e.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:n.clientX,y:n.clientY}),ld(this.info,t,n))}});function tv(e,t,n){if(e.prevent)return!1;if(e.started)return!0;const o=Math.abs(e.x-t),l=Math.abs(e.y-n);return o>=Zg||l>=Zg}function ld(e,t,n){if(!t)return;const o=e.moves[e.moves.length-2],l=e.moves[e.moves.length-1],a=l.x-e.x,u=l.y-e.y;let d,c=0;o&&(d=l.x-o.x,c=l.y-o.y),Ff(t,"track",{state:e.state,x:n.clientX,y:n.clientY,dx:a,dy:u,ddx:d,ddy:c,sourceEvent:n,hover(){return PC(n.clientX,n.clientY)}})}Df({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(e){Ii(e)&&(this.info.x=e.clientX,this.info.y=e.clientY)},click(e){Ii(e)&&nv(this.info,e)},touchstart(e){const t=e.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend(e){nv(this.info,e.changedTouches[0],e)}});function nv(e,t,n){const o=Math.abs(t.clientX-e.x),l=Math.abs(t.clientY-e.y),a=ii(n||t);!a||EC[a.localName]&&a.hasAttribute("disabled")||(isNaN(o)||isNaN(l)||o<=qg&&l<=qg||CC(t))&&(e.prevent||Ff(a,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:n}))}/** 1798 * @license 1799 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1800 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1801 */const k0=Mt(e=>class extends e{static get properties(){return{disabled:{type:Boolean,value:!1,observer:"_disabledChanged",reflectToAttribute:!0,sync:!0}}}_disabledChanged(n){this._setAriaDisabled(n)}_setAriaDisabled(n){n?this.setAttribute("aria-disabled","true"):this.removeAttribute("aria-disabled")}click(){this.disabled||super.click()}});/** 1802 * @license 1803 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1804 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1805 */const $f=Mt(e=>class extends e{ready(){super.ready(),this.addEventListener("keydown",n=>{this._onKeyDown(n)}),this.addEventListener("keyup",n=>{this._onKeyUp(n)})}_onKeyDown(n){switch(n.key){case"Enter":this._onEnter(n);break;case"Escape":this._onEscape(n);break}}_onKeyUp(n){}_onEnter(n){}_onEscape(n){}});/** 1806 * @license 1807 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1808 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1809 */const OC=e=>class extends k0($f(e)){get _activeKeys(){return[" "]}ready(){super.ready(),ev(this,"down",n=>{this._shouldSetActive(n)&&this._setActive(!0)}),ev(this,"up",()=>{this._setActive(!1)})}disconnectedCallback(){super.disconnectedCallback(),this._setActive(!1)}_shouldSetActive(n){return!this.disabled}_onKeyDown(n){super._onKeyDown(n),this._shouldSetActive(n)&&this._activeKeys.includes(n.key)&&(this._setActive(!0),document.addEventListener("keyup",o=>{this._activeKeys.includes(o.key)&&this._setActive(!1)},{once:!0}))}_setActive(n){this.toggleAttribute("active",n)}};/** 1810 * @license 1811 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1812 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1813 */let Bf=!1;window.addEventListener("keydown",()=>{Bf=!0},{capture:!0});window.addEventListener("mousedown",()=>{Bf=!1},{capture:!0});function zC(){return Bf}/** 1814 * @license 1815 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1816 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1817 */const E0=Mt(e=>class extends e{get _keyboardActive(){return zC()}ready(){this.addEventListener("focusin",n=>{this._shouldSetFocus(n)&&this._setFocused(!0)}),this.addEventListener("focusout",n=>{this._shouldRemoveFocus(n)&&this._setFocused(!1)}),super.ready()}disconnectedCallback(){super.disconnectedCallback(),this.hasAttribute("focused")&&this._setFocused(!1)}_setFocused(n){this.toggleAttribute("focused",n),this.toggleAttribute("focus-ring",n&&this._keyboardActive)}_shouldSetFocus(n){return!0}_shouldRemoveFocus(n){return!0}});/** 1818 * @license 1819 * Copyright (c) 2021 - 2025 Vaadin Ltd. 1820 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1821 */const C0=e=>class extends k0(e){static get properties(){return{tabindex:{type:Number,reflectToAttribute:!0,observer:"_tabindexChanged"},_lastTabIndex:{type:Number}}}_disabledChanged(n,o){super._disabledChanged(n,o),!this.__shouldAllowFocusWhenDisabled()&&(n?(this.tabindex!==void 0&&(this._lastTabIndex=this.tabindex),this.tabindex=-1):o&&(this.tabindex=this._lastTabIndex))}_tabindexChanged(n){this.__shouldAllowFocusWhenDisabled()||this.disabled&&n!==-1&&(this._lastTabIndex=n,this.tabindex=-1)}focus(){(!this.disabled||this.__shouldAllowFocusWhenDisabled())&&super.focus()}__shouldAllowFocusWhenDisabled(){return!1}};/** 1822 * @license 1823 * Copyright (c) 2017 - 2025 Vaadin Ltd. 1824 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1825 */const MC=["mousedown","mouseup","click","dblclick","keypress","keydown","keyup"],DC=e=>class extends OC(C0(E0(e))){constructor(){super(),this.__onInteractionEvent=this.__onInteractionEvent.bind(this),MC.forEach(n=>{this.addEventListener(n,this.__onInteractionEvent,!0)}),this.tabindex=0}get _activeKeys(){return["Enter"," "]}ready(){super.ready(),this.hasAttribute("role")||this.setAttribute("role","button"),this.__shouldAllowFocusWhenDisabled()&&this.style.setProperty("--_vaadin-button-disabled-pointer-events","auto")}_onKeyDown(n){super._onKeyDown(n),!(n.altKey||n.shiftKey||n.ctrlKey||n.metaKey)&&this._activeKeys.includes(n.key)&&(n.preventDefault(),this.click())}__onInteractionEvent(n){this.__shouldSuppressInteractionEvent(n)&&n.stopImmediatePropagation()}__shouldSuppressInteractionEvent(n){return this.disabled}};/** 1826 * @license 1827 * Copyright (c) 2017 - 2025 Vaadin Ltd. 1828 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 1829 */hn("vaadin-button",mC,{moduleId:"vaadin-button-styles"});
1829class FC extends DC(Lf(Hs(Gs(Ys)))){static get properties(){return{disabled:{type:Boolean,value:!1}}}static get is(){return"vaadin-button"}static get template(){return gC(Ws)}ready(){super.ready(),this._tooltipController=new Of(this),this.addController(this._tooltipController)}__shouldAllowFocusWhenDisabled(){return window.Vaadin.featureFlags.accessibleDisabledButtons}}Ul(FC);hn("vaadin-input-container",We` 1830 :host { 1831 background: var(--_background); 1832 padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px); 1833 font-weight: var(--vaadin-input-field-value-font-weight, 500); 1834 line-height: 1; 1835 position: relative; 1836 cursor: text; 1837 box-sizing: border-box; 1838 border-radius: 1839 /* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius#syntax */ 1840 var(--vaadin-input-field-top-start-radius, var(--_input-container-radius)) 1841 var(--vaadin-input-field-top-end-radius, var(--_input-container-radius)) 1842 var(--vaadin-input-field-bottom-end-radius, var(--_input-container-radius)) 1843 var(--vaadin-input-field-bottom-start-radius, var(--_input-container-radius)); 1844 /* Fallback */ 1845 --_input-container-radius: var(--vaadin-input-field-border-radius, var(--lumo-border-radius-m)); 1846 --_input-height: var(--lumo-text-field-size, var(--lumo-size-m)); 1847 /* Default values */ 1848 --_background: var(--vaadin-input-field-background, var(--lumo-contrast-10pct)); 1849 --_hover-highlight: var(--vaadin-input-field-hover-highlight, var(--lumo-contrast-50pct)); 1850 --_input-border-color: var(--vaadin-input-field-border-color, var(--lumo-contrast-50pct)); 1851 --_icon-color: var(--vaadin-input-field-icon-color, var(--lumo-contrast-60pct)); 1852 --_icon-size: var(--vaadin-input-field-icon-size, var(--lumo-icon-size-m));
1853 --_invalid-background: var(--vaadin-input-field-invalid-background, var(--lumo-error-color-10pct)); 1854 --_invalid-hover-highlight: var(--vaadin-input-field-invalid-hover-highlight, var(--lumo-error-color-50pct)); 1855 --_disabled-background: var(--vaadin-input-field-disabled-background, var(--lumo-contrast-5pct)); 1856 --_disabled-value-color: var(--vaadin-input-field-disabled-value-color, var(--lumo-disabled-text-color)); 1857 } 1858 1859 :host([dir='rtl']) { 1860 border-radius: 1861 /* Don't use logical props, see https://github.com/vaadin/vaadin-time-picker/issues/145 */ 1862 var(--vaadin-input-field-top-end-radius, var(--_input-container-radius)) 1863 var(--vaadin-input-field-top-start-radius, var(--_input-container-radius)) 1864 var(--vaadin-input-field-bottom-start-radius, var(--_input-container-radius)) 1865 var(--vaadin-input-field-bottom-end-radius, var(--_input-container-radius)); 1866 } 1867 1868 /* Used for hover and activation effects */ 1869 :host::after { 1870 content: ''; 1871 position: absolute; 1872 inset: 0; 1873 border-radius: inherit; 1874 pointer-events: none; 1875 background: var(--_hover-highlight); 1876 opacity: 0; 1877 transition: 1878 transform 0.15s, 1879 opacity 0.2s; 1880 transform-origin: 100% 0; 1881 } 1882 1883 ::slotted(:not([slot$='fix'])) { 1884 cursor: inherit; 1885 min-height: var(--vaadin-input-field-height, var(--_input-height)); 1886 padding: 0 0.25em; 1887 --_lumo-text-field-overflow-mask-image: linear-gradient(to left, transparent, #000 1.25em); 1888 -webkit-mask-image: var(--_lumo-text-field-overflow-mask-image); 1889 mask-image: var(--_lumo-text-field-overflow-mask-image); 1890 } 1891 1892 /* Read-only */ 1893 :host([readonly]) { 1894 color: var(--lumo-secondary-text-color); 1895 background-color: transparent; 1896 cursor: default; 1897 } 1898 1899 :host([readonly])::after { 1900 background-color: transparent; 1901 opacity: 1; 1902 border: var(--vaadin-input-field-readonly-border, 1px dashed var(--lumo-contrast-30pct)); 1903 } 1904 1905 /* Disabled */ 1906 :host([disabled]) { 1907 background: var(--_disabled-background); 1908 } 1909 1910 :host([disabled]) ::slotted(:not([slot$='fix'])) { 1911 -webkit-text-fill-color: var(--_disabled-value-color); 1912 color: var(--_disabled-value-color); 1913 } 1914 1915 /* Invalid */ 1916 :host([invalid]) { 1917 background: var(--_invalid-background); 1918 } 1919 1920 :host([invalid]:not([readonly]))::after { 1921 background: var(--_invalid-hover-highlight); 1922 } 1923 1924 /* Slotted icons */ 1925 ::slotted(vaadin-icon) { 1926 color: var(--_icon-color); 1927 width: var(--_icon-size); 1928 height: var(--_icon-size); 1929 } 1930 1931 /* Vaadin icons are based on a 16x16 grid (unlike Lumo and Material icons with 24x24), so they look too big by default */ 1932 ::slotted(vaadin-icon[icon^='vaadin:']) { 1933 padding: 0.25em; 1934 box-sizing: border-box !important; 1935 } 1936 1937 /* Text align */ 1938 :host([dir='rtl']) ::slotted(:not([slot$='fix'])) { 1939 --_lumo-text-field-overflow-mask-image: linear-gradient(to right, transparent, #000 1.25em); 1940 } 1941 1942 @-moz-document url-prefix() { 1943 :host([dir='rtl']) ::slotted(:not([slot$='fix'])) { 1944 mask-image: var(--_lumo-text-field-overflow-mask-image); 1945 } 1946 } 1947 1948 :host([theme~='align-left']) ::slotted(:not([slot$='fix'])) { 1949 text-align: start; 1950 --_lumo-text-field-overflow-mask-image: none; 1951 } 1952 1953 :host([theme~='align-center']) ::slotted(:not([slot$='fix'])) { 1954 text-align: center; 1955 --_lumo-text-field-overflow-mask-image: none; 1956 } 1957 1958 :host([theme~='align-right']) ::slotted(:not([slot$='fix'])) { 1959 text-align: end; 1960 --_lumo-text-field-overflow-mask-image: none; 1961 } 1962 1963 @-moz-document url-prefix() { 1964 /* Firefox is smart enough to align overflowing text to right */ 1965 :host([theme~='align-right']) ::slotted(:not([slot$='fix'])) { 1966 --_lumo-text-field-overflow-mask-image: linear-gradient(to right, transparent 0.25em, #000 1.5em); 1967 } 1968 } 1969 1970 @-moz-document url-prefix() { 1971 /* Firefox is smart enough to align overflowing text to right */ 1972 :host([theme~='align-left']) ::slotted(:not([slot$='fix'])) { 1973 --_lumo-text-field-overflow-mask-image: linear-gradient(to left, transparent 0.25em, #000 1.5em); 1974 } 1975 } 1976 1977 /* RTL specific styles */ 1978 :host([dir='rtl'])::after { 1979 transform-origin: 0% 0; 1980 } 1981 1982 :host([theme~='align-left'][dir='rtl']) ::slotted(:not([slot$='fix'])) { 1983 --_lumo-text-field-overflow-mask-image: none; 1984 } 1985 1986 :host([theme~='align-center'][dir='rtl']) ::slotted(:not([slot$='fix'])) { 1987 --_lumo-text-field-overflow-mask-image: none; 1988 } 1989 1990 :host([theme~='align-right'][dir='rtl']) ::slotted(:not([slot$='fix'])) { 1991 --_lumo-text-field-overflow-mask-image: none; 1992 } 1993 1994 @-moz-document url-prefix() { 1995 /* Firefox is smart enough to align overflowing text to right */ 1996 :host([theme~='align-right'][dir='rtl']) ::slotted(:not([slot$='fix'])) { 1997 --_lumo-text-field-overflow-mask-image: linear-gradient(to right, transparent 0.25em, #000 1.5em); 1998 } 1999 } 2000 2001 @-moz-document url-prefix() { 2002 /* Firefox is smart enough to align overflowing text to right */ 2003 :host([theme~='align-left'][dir='rtl']) ::slotted(:not([slot$='fix'])) { 2004 --_lumo-text-field-overflow-mask-image: linear-gradient(to left, transparent 0.25em, #000 1.5em); 2005 } 2006 } 2007 `,{moduleId:"lumo-input-container"});/** 2008 * @license 2009 * Copyright (c) 2017 - 2025 Vaadin Ltd. 2010 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2011 */const $C=We` 2012 @font-face { 2013 font-family: 'lumo-icons'; 2014 src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABHAAAsAAAAAI6AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuNY21hcAAAAYgAAAD+AAADymne8hxnbHlmAAACiAAAC+gAABioIzlOlWhlYWQAAA5wAAAAMAAAADZa
2014/6SsaGhlYQAADqAAAAAdAAAAJAbpA4BobXR4AAAOwAAAABAAAAC0q+AAAGxvY2EAAA7QAAAAXAAAAFyF7o1GbWF4cAAADywAAAAfAAAAIAFMAXBuYW1lAAAPTAAAATEAAAIuUUJZCHBvc3QAABCAAAABPQAAAgfdkltveJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+xDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mEO+p/FEMUcxDANKMwIkgMABvgMMAB4nO3SV26EMABF0UsZpjG9d6Y3FpgF5StLYxMTP16WEUvHV1gGIQzQAJKgDFKIfojQ+A6rUb2e0KnXU77qPanWq/LzCXOkOVyn9RyHvWl4YkaTFu1wX5ecHn0GDBkxZsKUGXMWLFmxZsOWHXsOFBw5cebClRt3Hjx58dZ7RRn/I9cUF39Xpb691acRG2piOtUqNZ1P1TCdeJUZatNQW4baNtSO6U+ouoaam96u6hlq31AHhjo01JGhjg11YqhTQ50Z6txQF4a6NNSVoa4NdWOoW0PdGereUA+GWhjq0VBPhno21IuhXg31Zqh3Q30Y6tNQX4b6NtTSKH8BOIRpQQAAeJy1WH1sW9UVv+fG9vPz+7Bf/N6zHcd2/J04jbP6s0lap4kDpB9JWzUUCqxNgaHxpTI6hNhUNLVr17HSISb2D2iAJrWb6FTWahNQdQxRvmHamAR0qibE1E18CG3QaVNFvJ17n+3YIf1AiMQ679x77j3v3HPPPed3H7ER/OsYpw8TmQRIiuQJ8RZK+WjO1B3xaCzla21orY10a+OQ6aHTHtP0zB31mBs1GZ6RNU2uXc7oPL+xdRS9R9X1oK4fVfijdsBqvqF6vd1eLzPrYrYZ57WteF7bPDIc5+ZcJnta+S9i2Vfhs4MaMwZNQmO0Vv7gF/MZcNsCcJp4sJFSwYyAmRuFCmTBDRBUkwGqnlViyjmVBpLqaXhNpt0J5V1JOqMkuqn8WkMHvZX+iOlImiqkBiFVYDrCqINulmkwKb8ry2fkZBBn7FcTlk4ZdfpRZ9MOesLSAakKt0N3g4p2jAL8eIEOOqom/U0lgQRXUl8LtXM7HFkojUIpF0ErVBhcZC1vtyjtpsqr83a8RVcSH+ool8LgcIMjNohmVCACuDs506BdO6WIQeXjUsh1XKZGRNpp9piv3+Givoh00OU6KEV81HUHTLtN093Q+YGlE3wLHWRtMNy9XWqdLm2HKbaNsGzhu+41eswFOjE6WKSk2/1Wpt+qHeM6phbohmVmj3GvpdcVkiy9zbXfzHVqKuDB0IR2P6ZpF+D7dy6YC/9svGmBE5hKB9+X2+hh4iYRMkhGyTqyFc9APmeGQHf043tWQKHkizmwaY5AroTNVJzJDc2SFzUu92kOLsdmKu77vByb8/IjtxmhkMFISRBFISO4XMLJlj4XgGuRXtaHw2FLyHifdSOpisIhJjgkiPBAyJh7lfXTkhEadwk1mUngrOC6MazX7mASeEAPV1FyjEumBOaEDu4DP/ogRDKkiLEV1woVyMeLLKJCEM+FwdCwL4XLcRgdbfkhbzS8BNvXDKzNQiAWgOzagTXF1Eyq+Ci6/TPm/JrNY/59p1epKN4jQFGe0fx+LTMwNVCrAU2VSqnaKYzIiGmWe2Rvp9KDJhncrjLaFce8VCUbyQ1kB9lNfkJ+To6R58mfyd/Ip9ABXohDHqqwEW7A2Mij1ehntLu+h8xMtocjUJcYwoLdtYafv/1Vjy8vjLaLtBfOt3/B931Rexa24e5zstgnyqvZHs69zuhq3vFgRpQVJyN7FuE++RLSeW4xMi+t6Zeo5sIK6S5dlGVRD2hWnGoB3j7OV3lesvNLic8tOnLRSRfRdOna63VJp/1WbYs5dFZjy1AqpGICQEWKmNI+CZNoVTJ7pNop+IZkRrBHgnEmqr3TrEsfw1Gi8LqE+S1aV0SNNwXVVVvuUoU3ld6TLwmditIpvKTU50zSzWwO1h0rL8awnulwTXMYrGDT4aQ1fb4GPkyv5vMEh5Vec6yw0AMXnfcx1l/rfVZaKLDi0W4j/HfeyGZuHOf1IUGW1udizU2leXY0OmLpVDpVKJfKpZzPRKHgEBzpXAUKWYipoIeBdl3JfLZVBizEqWun1i4ZGFiyduq3DebayXsmJ+95gBG4+Urm1a2SdpKV57lP2wZyZqI+FAlfUtO+NCmgdWhMOS1gDY+jHWnBhwjBQLMEXxmLbx6t9JXTWDLtsSxgisfErqvQMbbBoywZmeyLeWe8OWNydFDxzMx4lMGRtX0xN3YFJkeW+O0bascGNwwObtjCCOzrzAVWjSwN2K9cpyn9o5cZOXMmkAuM85EbNHnJyHhfLLCnPhxJYw9eoIMkyC3l+4ZuY5ig7lW2oYUynDgg+Xrk+++Xe3zSgRYetnyuy+KbfjiB+GAAtZ8HHXmtijZfFFgrujhmOs2qkXvuSV6WqA1WLYqhPHOfsa26rklKFqbAGL2dOIlGurB6LWFVFd/KoBBaYTFYVBs93hZRFlrG5Ex4NVFIJguJVvqnBW2kNNvFGx90YUcSEvyZSMDeZjc0xYlEYy8+hHcWx9YrZOaPPyCGepP5Q34aXnGBr8d1QhSf4yjtiebZqNJfEYl4SY6dDRb8WSguLZW9ZQtBpoW4hX0QMyB2KmsYcOh8HMQxBn288oZ6BXV0GOq/ClKsC6T8g9X3OFKZNkJrYkOx2lEk+KNDy953+wGHXuGGzhGZ+uLK8FVrQkbtKBv+9EztU2sgTCNpvXMdJjqJ4tkdw+x00dPKkZ1QR254x7GQoFmvfakSnL3gCc5nREly2mN2pyTLMacMipNT7YInGU7JzlN2p9N+yinXTirOKEvPUafSWMNDmCf9pIQYaG19DSxKGqvAQ+xg60iabEm5MheUU2n+HxO4TDDbjnw6xxK8QzfhbHXq8pWVqanKysun9s6ztdt7sivGqruqYyuyPS6Hw9XehGt6q+l0dT0jvaFMZjiTuTHo7+vdtHJTb58/2ML+IxHt9/n9vv5owiWKrrbWD+sakKxhKoYzxF5f7y9INxki42QNuYrVFDPfvqxyY83xWNMV+ZxPSMWb62W+wPSCJwkDDl1WZOGW84nAEo4A7HjB/uWmOdayRFnKjazi668u/ajJlUd87aPk048Crlu4j1Oh9gxdL3Z1inNPIt2xvKNlsU4hn54Z5Y6YbTDu9hHOvkcFAb35fU6hNovKOrtQmcvbNV9/Ntfv5xf4atDWOOTX6CSHZ08xujhPs51+f9zvf1YLIGoPPKvxVh0TSLAXzzUBFiXs7GJVB7vH5/PAXznd4+vx4a95h3qI/oYIpIdMkA1kC7kVLS3GhWI5bwj1fIaVKG/Ei5gXWOjhtcJbzFthaMQrwIcIRj0ppvO6yV95icu9j/YPDNySWp7w+kOr95R1RfGpfVlDVhS/2geJ5Umv2mn0rkxBvzvgdisndJXaVF1X5z5jdHGe2n/QnYo8+b2uaMivhowgjYcLnVqnrEpQezsieyVZ6ooETbdJO6ip+cORLpes6BL82/qg8VHbo45B/vch/YQeJX28QvEANR3sQhxh+TcMCEd4l8BKF7uID7KM05tRYlIHHXY63YIi2fXQyj5XSBbcMeewKLpttkJ2Syz33YJfDdJdSYkqHbYb3VHRJgTV8c0TAy67YHeK7htwOKWax5co7Do8Pfh1tKdx1g5j9o6TZeQyMo27FuW3vbYsbY/Op3AG06DMKionRlpgHzCEeMmLU5opRrCyS670RzppZeW5p/iT3jL3lB4O63QS6dzzh8SAtOqwGJK3bv+lGJTWbr++471wsVKMRJCEK5H+cLg/Qp+IDsdqs7HhKD7hMXyyrD/Li8RjRqimHhI7HP2vSDZn9brplySb0L9dgpURSwmSiBFhilrwB8OA9gZ29NkRO/669parW9e7XZDxwvgRu+SE7zgl+xG5p/HtRqJ3cdwSZwsbwTA1WT3jEdyPN0sWxvDGy+xovIzHosnwc9LePf9tywun0fMkWaFYZbB4oovRq8VyKYUBkMVXqVhBHSylQ0wanvla3+rQ1XbR8ZzstYOo2Mf7vjk8ftcGDWxdSdXx0cAVveHg1TZFtEOn8ntBBFs11V++vuLUQ5qz+U6d/oUjpGIdNjOQhJXNqn5YCS1Yy5PofLGEs6Js2yOKe2yyOLxtaGjbt7cNIURCEDdWfaQ6lurtRYbePCuItv1iUNxvE4Vdw2zQ0LZhdv2fxjHp5uAmdlBpopHXoJGU8e6BRc0yi+PztkaHTRRrW1m2hcfFLlEUzzD+DGczjEVCg9jEQZhFcdAL2DjD+DPiSWQzjM2I89g5RXdxfECS+CIWy1hTGmFs6EIbkv/pbtkfU3aPrZ+4c2Lizn07qufym/L5TTdtyuU2/We3HPeDsjtb3bGPSSfW31aX3LQpX/d9sL7fWYpRJPBbCJavYjrFjj0rT2GWCZjf6Ytffr8beXl/HYeyGwJiIK8FLDHbfo65xGz7YCSRqCQSkbbHI5eUU5X4sjj+zrU9aHnRlEnrd7YGptd0x2Jf/RbH9PAiovadckSnEsJ661OgPFuH9B4O6e202vIN0h9xHXSJh1wRP5Vqv1uI6Wn9Gxmrwzqrii1gqhEscJanuAlGas+s2/uzvetgS72NpHZ6aHbZstmh/wPq1seEeJxjYGRgYADi31ySEvH8Nl8ZuJlfAEUYalQ3NCLo/6+ZpzLdAnI5GJhAogAiBgraeJxjYGRgYA76nwUkXzAAAfNUBkYGVKALAFb4A3EAAAB4nGNgYGBgfjG0MAAMzihlAAAAAABOAJoA6AEKASwBTgFwAZoBxAHuAhoCnALoBJoEvATWBPIFDgUqBXoF0AX+BkQGlga4BwgHagfiCGoIpAi8CVAJmAoQCiwKVgqQCtYLGAtOC4gL6AwuDFR4nGNgZGBg0GVMYRBlAAEmIOYCQgaG/2A+AwAYygG+AHicbZE9TsMwGIbf9A/RSggEYmHxAgtq+jN2ZGj3Dt3T1GlTOXHkuBW9AyfgEByCgTNwCA7BW/NJlVBtyd/jx+8XKwmAa3whwnFE6Ib1OBq44O6Pm6Qb4Rb5QbiNHh6FO/RD4S6eMRHu4RaaT4halzR3eBVu4Apvwk36d+EW+UO4jXt8Cnfov4W7WOBHuIen6MXsCtvPU1vWc73emcSdxIkW2tW5LdUoHp7kTJfaJV6v1PKg6v167H2mMmcLNbWl18ZYVTm71amPN95Xk8EgEx+ntoDBDgUs+siRspaoMef7rukNEriziXNuwS7Hmoe9wggxv+e55IzJMqQTeNYV00scuNbY8+YxrUfGfcaMZb/CNPQe04bT0lThbEuT0sfYhK6K/23Amf3Lx+H24hcj4GScAAAAeJxtjuduwzAMhH2NnTqOk+6993TfSZFY24giGZTVon36eiRFf5SAiO/A05HBWtBXEvxfGdYwQIgIQ6wjxggJxkgxwRQb2MQWtrGDXexhHwc4xBGOcYJTnOEcF7jEFa5xg1vc4R4PeMQTnvGCV2R4C1Khy9xkkkxNnPRC03s97pHLvKgTYXJNmbKfZom9o8POEffsq0Qw28+ltcPe2uHS2rGvRjPBmSwE1+GMtI6l0GSU4JEsSM4XgudpQx9sTRf3K9rAyUr0962UryKprZwPpM0jyda5uP2qrVBjxSLPCmGUplixrdpBSKqsI2oO4gF9Udq8TJVOzDSpcEHGR4vSeJdaVsSkMl26OqoKa6jttQ0rLb6a5l3YjO2QqV01YXLlNy2XDR0JlkXojbJTb/5GDX3V+kPviIPgB9AUks0AAAA=) 2015 format('woff'); 2016 font-weight: normal; 2017 font-style: normal; 2018 } 2019 2020 html { 2021 --lumo-icons-align-center: '\\ea01'; 2022 --lumo-icons-align-left: '\\ea02'; 2023 --lumo-icons-align-right: '\\ea03'; 2024 --lumo-icons-angle-down: '\\ea04'; 2025 --lumo-icons-angle-left: '\\ea05'; 2026 --lumo-icons-angle-right: '\\ea06'; 2027 --lumo-icons-angle-up: '\\ea07'; 2028 --lumo-icons-arrow-down: '\\ea08'; 2029 --lumo-icons-arrow-left: '\\ea09'; 2030 --lumo-icons-arrow-right: '\\ea0a'; 2031 --lumo-icons-arrow-up: '\\ea0b'; 2032 --lumo-icons-bar-chart: '\\ea0c'; 2033 --lumo-icons-bell: '\\ea0d'; 2034 --lumo-icons-calendar: '\\ea0e'; 2035 --lumo-icons-checkmark: '\\ea0f'; 2036 --lumo-icons-chevron-down: '\\ea10'; 2037 --lumo-icons-chevron-left: '\\ea11'; 2038 --lumo-icons-chevron-right: '\\ea12'; 2039 --lumo-icons-chevron-up: '\\ea13'; 2040 --lumo-icons-clock: '\\ea14'; 2041 --lumo-icons-cog: '\\ea15'; 2042 --lumo-icons-cross: '\\ea16'; 2043 --lumo-icons-download: '\\ea17'; 2044 --lumo-icons-drag-handle: '\\ea18'; 2045 --lumo-icons-dropdown: '\\ea19'; 2046 --lumo-icons-edit: '\\ea1a'; 2047 --lumo-icons-error: '\\ea1b'; 2048 --lumo-icons-eye: '\\ea1c'; 2049 --lumo-icons-eye-disabled: '\\ea1d'; 2050 --lumo-icons-menu: '\\ea1e'; 2051 --lumo-icons-minus: '\\ea1f'; 2052 --lumo-icons-ordered-list: '\\ea20'; 2053 --lumo-icons-phone: '\\ea21'; 2054 --lumo-icons-photo: '\\ea22'; 2055 --lumo-icons-play: '\\ea23'; 2056 --lumo-icons-plus: '\\ea24'; 2057 --lumo-icons-redo: '\\ea25'; 2058 --lumo-icons-reload: '\\ea26'; 2059 --lumo-icons-resize-handle: '\\ea27'; 2060 --lumo-icons-search: '\\ea28'; 2061 --lumo-icons-undo: '\\ea29'; 2062 --lumo-icons-unordered-list: '\\ea2a'; 2063 --lumo-icons-upload: '\\ea2b'; 2064 --lumo-icons-user: '\\ea2c'; 2065 } 2066`;vr("font-icons",$C);/** 2067 * @license 2068 * Copyright (c) 2017 - 2025 Vaadin Ltd. 2069 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2070 */const T0=We` 2071 [part$='button'] { 2072 flex: none; 2073 width: 1em; 2074 height: 1em; 2075 line-height: 1; 2076 font-size: var(--lumo-icon-size-m); 2077 text-align: center; 2078 color: var(--lumo-contrast-60pct); 2079 transition: 0.2s color; 2080 cursor: var(--lumo-clickable-cursor); 2081 } 2082 2083 [part$='button']:hover { 2084 color: var(--lumo-contrast-90pct); 2085 } 2086 2087 :host([disabled]) [part$='button'], 2088 :host([readonly]) [part$='button'] { 2089 color: var(--lumo-contrast-20pct); 2090 cursor: default; 2091 } 2092 2093 [part$='button']::before { 2094 font-family: 'lumo-icons'; 2095 display: block; 2096 } 2097`;hn("",T0,{moduleId:"lumo-field-button"});/** 2098 * @license 2099 * Copyright (c) 2017 - 2025 Vaadin Ltd. 2100 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2101 */const BC=We` 2102 :host {
2103 --_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em); 2104 } 2105 2106 :host([has-helper]) [part='helper-text']::before { 2107 content: ''; 2108 display: block; 2109 height: var(--_helper-spacing); 2110 } 2111 2112 [part='helper-text'] { 2113 display: block; 2114 color: var(--vaadin-input-field-helper-color, var(--lumo-secondary-text-color)); 2115 font-size: var(--vaadin-input-field-helper-font-size, var(--lumo-font-size-xs)); 2116 line-height: var(--lumo-line-height-xs); 2117 font-weight: var(--vaadin-input-field-helper-font-weight, 400); 2118 margin-left: calc(var(--lumo-border-radius-m) / 4); 2119 transition: color 0.2s; 2120 } 2121 2122 :host(:hover:not([readonly])) [part='helper-text'] { 2123 color: var(--lumo-body-text-color); 2124 } 2125 2126 :host([disabled]) [part='helper-text'] { 2127 color: var(--lumo-disabled-text-color); 2128 -webkit-text-fill-color: var(--lumo-disabled-text-color); 2129 } 2130 2131 :host([has-helper][theme~='helper-above-field']) [part='helper-text']::before { 2132 display: none; 2133 } 2134 2135 :host([has-helper][theme~='helper-above-field']) [part='helper-text']::after { 2136 content: ''; 2137 display: block; 2138 height: var(--_helper-spacing); 2139 } 2140 2141 :host([has-helper][theme~='helper-above-field']) [part='label'] { 2142 order: 0; 2143 padding-bottom: var(--_helper-spacing); 2144 } 2145 2146 :host([has-helper][theme~='helper-above-field']) [part='helper-text'] { 2147 order: 1; 2148 } 2149 2150 :host([has-helper][theme~='helper-above-field']) [part='label'] + * { 2151 order: 2; 2152 } 2153 2154 :host([has-helper][theme~='helper-above-field']) [part='error-message'] { 2155 order: 3; 2156 } 2157`;/** 2158 * @license 2159 * Copyright (c) 2017 - 2025 Vaadin Ltd. 2160 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2161 */const P0=We` 2162 [part='label'] { 2163 align-self: flex-start; 2164 color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color)); 2165 font-weight: var(--vaadin-input-field-label-font-weight, 500); 2166 font-size: var(--vaadin-input-field-label-font-size, var(--lumo-font-size-s)); 2167 margin-left: calc(var(--lumo-border-radius-m) / 4); 2168 transition: color 0.2s; 2169 line-height: 1; 2170 padding-right: 1em; 2171 padding-bottom: 0.5em; 2172 /* As a workaround for diacritics being cut off, add a top padding and a 2173 negative margin to compensate */ 2174 padding-top: 0.25em; 2175 margin-top: -0.25em; 2176 overflow: hidden; 2177 white-space: nowrap; 2178 text-overflow: ellipsis; 2179 position: relative; 2180 max-width: 100%; 2181 box-sizing: border-box; 2182 } 2183 2184 :host([focused]:not([readonly])) [part='label'] { 2185 color: var(--vaadin-input-field-focused-label-color, var(--lumo-primary-text-color)); 2186 } 2187 2188 :host(:hover:not([readonly]):not([focused])) [part='label'] { 2189 color: var(--vaadin-input-field-hovered-label-color, var(--lumo-body-text-color)); 2190 } 2191 2192 /* Touch device adjustment */ 2193 @media (pointer: coarse) { 2194 :host(:hover:not([readonly]):not([focused])) [part='label'] { 2195 color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color)); 2196 } 2197 } 2198 2199 :host([has-label])::before { 2200 margin-top: calc(var(--lumo-font-size-s) * 1.5); 2201 } 2202 2203 :host([has-label][theme~='small'])::before { 2204 margin-top: calc(var(--lumo-font-size-xs) * 1.5); 2205 } 2206 2207 :host([has-label]) { 2208 padding-top: var(--lumo-space-m); 2209 } 2210 2211 :host([has-label]) ::slotted([slot='tooltip']) { 2212 --vaadin-tooltip-offset-bottom: calc((var(--lumo-space-m) - var(--lumo-space-xs)) * -1); 2213 } 2214 2215 :host([required]) [part='required-indicator']::after { 2216 content: var(--lumo-required-field-indicator, '\\2022'); 2217 transition: opacity 0.2s; 2218 color: var(--lumo-required-field-indicator-color, var(--lumo-primary-text-color)); 2219 position: absolute; 2220 right: 0; 2221 width: 1em; 2222 text-align: center; 2223 } 2224 2225 :host([invalid]) [part='required-indicator']::after { 2226 color: var(--lumo-required-field-indicator-color, var(--lumo-error-text-color)); 2227 } 2228 2229 [part='error-message'] { 2230 margin-left: calc(var(--lumo-border-radius-m) / 4); 2231 font-size: var(--vaadin-input-field-error-font-size, var(--lumo-font-size-xs)); 2232 line-height: var(--lumo-line-height-xs);
2233 font-weight: var(--vaadin-input-field-error-font-weight, 400); 2234 color: var(--vaadin-input-field-error-color, var(--lumo-error-text-color)); 2235 will-change: max-height; 2236 transition: 0.4s max-height; 2237 max-height: 5em; 2238 } 2239 2240 :host([has-error-message]) [part='error-message']::before, 2241 :host([has-error-message]) [part='error-message']::after { 2242 content: ''; 2243 display: block; 2244 height: 0.4em; 2245 } 2246 2247 :host(:not([invalid])) [part='error-message'] { 2248 max-height: 0; 2249 overflow: hidden; 2250 } 2251 2252 /* RTL specific styles */ 2253 2254 :host([dir='rtl']) [part='label'] { 2255 margin-left: 0; 2256 margin-right: calc(var(--lumo-border-radius-m) / 4); 2257 } 2258 2259 :host([dir='rtl']) [part='label'] { 2260 padding-left: 1em; 2261 padding-right: 0; 2262 } 2263 2264 :host([dir='rtl']) [part='required-indicator']::after { 2265 right: auto; 2266 left: 0; 2267 } 2268 2269 :host([dir='rtl']) [part='error-message'] { 2270 margin-left: 0; 2271 margin-right: calc(var(--lumo-border-radius-m) / 4); 2272 } 2273`;hn("",P0,{moduleId:"lumo-required-field"});/** 2274 * @license 2275 * Copyright (c) 2017 - 2025 Vaadin Ltd. 2276 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2277 */const UC=We` 2278 :host { 2279 --lumo-text-field-size: var(--lumo-size-m); 2280 color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color)); 2281 font-size: var(--vaadin-input-field-value-font-size, var(--lumo-font-size-m)); 2282 font-family: var(--lumo-font-family); 2283 -webkit-font-smoothing: antialiased; 2284 -moz-osx-font-smoothing: grayscale; 2285 -webkit-tap-highlight-color: transparent; 2286 padding: var(--lumo-space-xs) 0; 2287 --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct)); 2288 --_focus-ring-width: var(--vaadin-focus-ring-width, 2px); 2289 --_input-height: var(--vaadin-input-field-height, var(--lumo-text-field-size)); 2290 --_disabled-value-color: var(--vaadin-input-field-disabled-value-color, var(--lumo-disabled-text-color)); 2291 } 2292 2293 :host::before { 2294 height: var(--_input-height); 2295 box-sizing: border-box; 2296 display: inline-flex; 2297 align-items: center; 2298 } 2299 2300 :host([focused]) [part='input-field'] ::slotted(:is(input, textarea)) { 2301 -webkit-mask-image: none; 2302 mask-image: none; 2303 } 2304 2305 ::slotted(:is(input, textarea):placeholder-shown) { 2306 color: var(--vaadin-input-field-placeholder-color, var(--lumo-secondary-text-color)); 2307 } 2308 2309 /* Hover */ 2310 :host(:hover:not([readonly]):not([focused]):not([disabled])) [part='input-field']::after { 2311 opacity: var(--vaadin-input-field-hover-highlight-opacity, 0.1); 2312 } 2313 2314 /* Touch device adjustment */ 2315 @media (pointer: coarse) { 2316 :host(:hover:not([readonly]):not([focused]):not([disabled])) [part='input-field']::after { 2317 opacity: 0; 2318 } 2319 2320 :host(:active:not([readonly]):not([focused]):not([disabled])) [part='input-field']::after { 2321 opacity: 0.2; 2322 } 2323 } 2324 2325 /* Trigger when not focusing using the keyboard */ 2326 :host([focused]:not([focus-ring]):not([readonly])) [part='input-field']::after { 2327 transform: scaleX(0); 2328 transition-duration: 0.15s, 1s; 2329 } 2330 2331 /* Opt-in focus-ring when using pointer devices */ 2332 /* This applies a focus-ring as box-shadow when the element is focused, but 2333 the ring is only visible / has a width when the respective CSS property is 2334 "enabled" using a value of 1 */ 2335 :host([focused]) [part='input-field'] { 2336 /* Borders are implemented using box-shadows as well. To avoid overriding 2337 the border on focus, even if the pointer focus-ring is disabled, we need to: 2338 - Duplicate the border box shadow for this rule 2339 - Remove the border (by using width of 0) when the focus-ring is visible, 2340 which is the same behavior as for the keyboard focus-ring below 2341 - Apply the border when the focus ring is not visible 2342 */ 2343 --_pointer-focus-visible: clamp(0, var(--lumo-input-field-pointer-focus-visible, 0), 1); 2344 --_conditional-border-width: calc(calc(1 - var(--_pointer-focus-visible)) * var(--_input-border-width)); 2345 --_conditional-focus-ring-width: calc(var(--_pointer-focus-visible) * var(--_focus-ring-width)); 2346 box-shadow: 2347 inset 0 0 0 var(--_conditional-border-width) var(--_input-border-color), 2348 0 0 0 var(--_conditional-focus-ring-width) var(--_focus-ring-color); 2349 } 2350 2351 /* Focus-ring when using keyboard navigation */ 2352 :host([focus-ring]) [part='input-field'] { 2353 box-shadow: 0 0 0 var(--_focus-ring-width) var(--_focus-ring-color); 2354 } 2355 2356 /* Read-only and disabled */ 2357 :host(:is([readonly], [disabled])) ::slotted(:is(input, textarea):placeholder-shown) { 2358 opacity: 0; 2359 } 2360 2361 /* Read-only style */ 2362 :host([readonly]) { 2363 --vaadin-input-field-border-color: transparent; 2364 } 2365 2366 /* Disabled style */ 2367 :host([disabled]) { 2368 pointer-events: none; 2369 --vaadin-input-field-border-color: var(--lumo-contrast-20pct); 2370 } 2371 2372 :host([disabled]) [part='label'], 2373 :host([disabled]) [part='input-field'] ::slotted([slot$='fix']) { 2374 color: var(--lumo-disabled-text-color); 2375 -webkit-text-fill-color: var(--lumo-disabled-text-color); 2376 } 2377 2378 :host([disabled]) [part='input-field'] ::slotted(:not([slot$='fix'])) { 2379 color: var(--_disabled-value-color); 2380 -webkit-text-fill-color: var(--_disabled-value-color); 2381 } 2382 2383 /* Invalid style */ 2384 :host([invalid]) { 2385 --vaadin-input-field-border-color: var(--lumo-error-color); 2386 --_focus-ring-color: var(--lumo-error-color-50pct); 2387 } 2388 2389 :host([input-prevented]) [part='input-field'] { 2390 animation: shake 0.15s infinite; 2391 } 2392 2393 @keyframes shake { 2394 25% { 2395 transform: translateX(4px); 2396 } 2397 75% { 2398 transform: translateX(-4px); 2399 } 2400 } 2401 2402 /* Small theme */ 2403 :host([theme~='small']) { 2404 font-size: var(--lumo-font-size-s); 2405 --lumo-text-field-size: var(--lumo-size-s); 2406 } 2407 2408 :host([theme~='small']) [part='label'] { 2409 font-size: var(--lumo-font-size-xs); 2410 } 2411 2412 :host([theme~='small']) [part='error-message'] { 2413 font-size: var(--lumo-font-size-xxs); 2414 } 2415 2416 /* Slotted content */ 2417 [part='input-field'] ::slotted(:not(vaadin-icon):not(input):not(textarea)) { 2418 color: var(--lumo-secondary-text-color); 2419 font-weight: 400; 2420 } 2421 2422 [part='clear-button']::before { 2423 content: var(--lumo-icons-cross); 2424 } 2425`,A0=[P0,T0,BC,UC];hn("",A0,{moduleId:"lumo-input-field-shared-styles"});/** 2426 * @license 2427 * Copyright (c) 2017 - 2025 Vaadin Ltd. 2428 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2429 */const jC=We` 2430 [part='input-field'], 2431 [part='input-field'] ::slotted(textarea) { 2432 height: auto; 2433 box-sizing: border-box; 2434 min-height: 0; 2435 } 2436 2437 [part='input-field'] { 2438 /* Equal to the implicit padding in vaadin-text-field */ 2439 padding-top: calc((var(--lumo-text-field-size) - 1em * var(--lumo-line-height-s)) / 2); 2440 padding-bottom: calc((var(--lumo-text-field-size) - 1em * var(--lumo-line-height-s)) / 2); 2441 transition: background-color 0.1s; 2442 line-height: var(--lumo-line-height-s); 2443 } 2444 2445 :host(:not([readonly])) [part='input-field']::after { 2446 display: none; 2447 } 2448 2449 :host([readonly]) [part='input-field'] { 2450 border: var(--vaadin-input-field-readonly-border, 1px dashed var(--lumo-contrast-30pct)); 2451 } 2452 2453 :host([readonly]) [part='input-field']::after { 2454 border: none; 2455 } 2456
2457 :host(:hover:not([readonly]):not([focused]):not([invalid])) [part='input-field'] { 2458 background-color: var(--lumo-contrast-20pct); 2459 } 2460 2461 @media (pointer: coarse) { 2462 :host(:hover:not([readonly]):not([focused]):not([invalid])) [part='input-field'] { 2463 background-color: var(--lumo-contrast-10pct); 2464 } 2465 2466 :host(:active:not([readonly]):not([focused])) [part='input-field'] { 2467 background-color: var(--lumo-contrast-20pct); 2468 } 2469 } 2470 2471 [part='input-field'] ::slotted(textarea) { 2472 line-height: inherit; 2473 --_lumo-text-field-overflow-mask-image: none; 2474 } 2475 2476 /* Use sticky positioning to keep prefix/suffix/clear button visible when scrolling textarea container */ 2477 [part='input-field'] ::slotted([slot$='fix']), 2478 [part='clear-button'] { 2479 position: sticky; 2480 top: 0; 2481 align-self: flex-start; 2482 } 2483 2484 [part='input-field'] ::slotted(vaadin-icon[slot$='fix']), 2485 [part='clear-button'] { 2486 /* Vertically align icon prefix/suffix/clear button with the first line of text */ 2487 top: calc((var(--lumo-icon-size-m) - 1em * var(--lumo-line-height-s)) / -2); 2488 margin-top: calc((var(--lumo-icon-size-m) - 1em * var(--lumo-line-height-s)) / -2); 2489 /* Reduce effective height to match line height of native textarea, so icons don't increase component size when using single row */ 2490 margin-bottom: calc((var(--lumo-icon-size-m) - 1em * var(--lumo-line-height-s)) / -2); 2491 } 2492`;hn("vaadin-text-area",[A0,jC],{moduleId:"lumo-text-area"});/** 2493 * @license 2494 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2495 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2496 */const HC=e=>class extends e{static get properties(){return{disabled:{type:Boolean,reflectToAttribute:!0},readonly:{type:Boolean,reflectToAttribute:!0},invalid:{type:Boolean,reflectToAttribute:!0}}}ready(){super.ready(),this.addEventListener("pointerdown",n=>{n.target===this&&n.preventDefault()}),this.addEventListener("click",n=>{n.target===this&&this.shadowRoot.querySelector("slot:not([name])").assignedNodes({flatten:!0}).forEach(o=>o.focus&&o.focus())})}};/** 2497 * @license 2498 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2499 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2500 */const VC=We` 2501 :host { 2502 display: flex; 2503 align-items: center; 2504 flex: 0 1 auto; 2505 border-radius: 2506 /* See https://developer.mozilla.org/en-US/docs/Web/CSS/border-radius */ 2507 var(--vaadin-input-field-top-start-radius, var(--__border-radius)) 2508 var(--vaadin-input-field-top-end-radius, var(--__border-radius)) 2509 var(--vaadin-input-field-bottom-end-radius, var(--__border-radius)) 2510 var(--vaadin-input-field-bottom-start-radius, var(--__border-radius)); 2511 --_border-radius: var(--vaadin-input-field-border-radius, 0); 2512 --_input-border-width: var(--vaadin-input-field-border-width, 0px); 2513 --_input-border-color: var(--vaadin-input-field-border-color, transparent); 2514 /* stylelint-disable-next-line length-zero-no-unit */ 2515 box-shadow: inset 0 0 0 var(--_input-border-width, 0) var(--_input-border-color); 2516 } 2517 2518 :host([dir='rtl']) { 2519 border-radius: 2520 /* Don't use logical props, see https://github.com/vaadin/vaadin-time-picker/issues/145 */ 2521 var(--vaadin-input-field-top-end-radius, var(--_border-radius)) 2522 var(--vaadin-input-field-top-start-radius, var(--_border-radius)) 2523 var(--vaadin-input-field-bottom-start-radius, var(--_border-radius)) 2524 var(--vaadin-input-field-bottom-end-radius, var(--_border-radius)); 2525 } 2526 2527 :host([hidden]) { 2528 display: none !important; 2529 } 2530 2531 /* Reset the native input styles */ 2532 ::slotted(input) { 2533 -webkit-appearance: none; 2534 -moz-appearance: none; 2535 flex: auto; 2536 white-space: nowrap; 2537 overflow: hidden; 2538 width: 100%; 2539 height: 100%; 2540 outline: none; 2541 margin: 0; 2542 padding: 0; 2543 border: 0; 2544 border-radius: 0; 2545 min-width: 0; 2546 font: inherit; 2547 line-height: normal; 2548 color: inherit; 2549 background-color: transparent; 2550 /* Disable default invalid style in Firefox */ 2551 box-shadow: none; 2552 } 2553 2554 ::slotted(*) { 2555 flex: none; 2556 } 2557 2558 ::slotted(:is(input, textarea))::placeholder { 2559 /* Use ::slotted(input:placeholder-shown) in themes to style the placeholder. */ 2560 /* because ::slotted(...)::placeholder does not work in Safari. */ 2561 font: inherit; 2562 color: inherit; 2563 /* Override default opacity in Firefox */ 2564 opacity: 1; 2565 } 2566`;/** 2567 * @license 2568 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2569 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2570 */hn("vaadin-input-container",VC,{moduleId:"vaadin-input-container-styles"});class WC extends HC(Hs(x0(Ys))){static get is(){return"vaadin-input-container"}static get template(){return Ws` 2571 <slot name="prefix"></slot> 2572 <slot></slot> 2573 <slot name="suffix"></slot> 2574 `}}Ul(WC);/** 2575 * @license 2576 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2577 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2578 */const YC=We` 2579 [part='clear-button'] { 2580 display: none; 2581 cursor: default; 2582 } 2583 2584 [part='clear-button']::before { 2585 content: '\\2715'; 2586 } 2587 2588 :host([clear-button-visible][has-value]:not([disabled]):not([readonly])) [part='clear-button'] { 2589 display: block; 2590 } 2591`;/** 2592 * @license 2593 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2594 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2595 */const GC=We` 2596 :host { 2597 display: inline-flex; 2598 outline: none; 2599 } 2600 2601 :host::before { 2602 content: '\\2003'; 2603 width: 0; 2604 display: inline-block; 2605 /* Size and position this element on the same vertical position as the input-field element 2606 to make vertical align for the host element work as expected */ 2607 } 2608 2609 :host([hidden]) { 2610 display: none !important; 2611 } 2612 2613 :host(:not([has-label])) [part='label'] { 2614 display: none; 2615 } 2616 2617 @media (forced-colors: active) { 2618 :host(:not([readonly])) [part='input-field'] { 2619 outline: 1px solid; 2620 outline-offset: -1px; 2621 } 2622 :host([focused]) [part='input-field'] { 2623 outline-width: 2px; 2624 } 2625 :host([disabled]) [part='input-field'] { 2626 outline-color: GrayText; 2627 } 2628 } 2629`;/** 2630 * @license 2631 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2632 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2633 */const KC=We` 2634 [class$='container'] { 2635 display: flex; 2636 flex-direction: column; 2637 min-width: 100%; 2638 max-width: 100%; 2639 width: var(--vaadin-field-default-width, 12em); 2640 } 2641`;/** 2642 * @license 2643 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2644 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2645 */const XC=[GC,KC,YC];/** 2646 * @license 2647 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2648 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2649 */const ns=new ResizeObserver(e=>{setTimeout(()=>{e.forEach(t=>{t.target.isConnected&&(t.target.resizables?t.target.resizables.forEac
vendor: 20,059 bytes, lines 2649-2721
2649h(n=>{n._onResize(t.contentRect)}):t.target._onResize(t.contentRect))})})}),QC=Mt(e=>class extends e{get _observeParent(){return!1}connectedCallback(){if(super.connectedCallback(),ns.observe(this),this._observeParent){const n=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode;n.resizables||(n.resizables=new Set,ns.observe(n)),n.resizables.add(this),this.__parent=n}}disconnectedCallback(){super.disconnectedCallback(),ns.unobserve(this);const n=this.__parent;if(this._observeParent&&n){const o=n.resizables;o&&(o.delete(this),o.size===0&&ns.unobserve(n)),this.__parent=null}}_onResize(n){}});/** 2650 * @license 2651 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2652 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2653 */const JC=Mt(e=>class extends E0(C0(e)){static get properties(){return{autofocus:{type:Boolean},focusElement:{type:Object,readOnly:!0,observer:"_focusElementChanged"},_lastTabIndex:{value:0}}}constructor(){super(),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this)}ready(){super.ready(),this.autofocus&&!this.disabled&&requestAnimationFrame(()=>{this.focus(),this.setAttribute("focus-ring","")})}focus(){this.focusElement&&!this.disabled&&this.focusElement.focus()}blur(){this.focusElement&&this.focusElement.blur()}click(){this.focusElement&&!this.disabled&&this.focusElement.click()}_focusElementChanged(n,o){n?(n.disabled=this.disabled,this._addFocusListeners(n),this.__forwardTabIndex(this.tabindex)):o&&this._removeFocusListeners(o)}_addFocusListeners(n){n.addEventListener("blur",this._boundOnBlur),n.addEventListener("focus",this._boundOnFocus)}_removeFocusListeners(n){n.removeEventListener("blur",this._boundOnBlur),n.removeEventListener("focus",this._boundOnFocus)}_onFocus(n){n.stopPropagation(),this.dispatchEvent(new Event("focus"))}_onBlur(n){n.stopPropagation(),this.dispatchEvent(new Event("blur"))}_shouldSetFocus(n){return n.target===this.focusElement}_shouldRemoveFocus(n){return n.target===this.focusElement}_disabledChanged(n,o){super._disabledChanged(n,o),this.focusElement&&(this.focusElement.disabled=n),n&&this.blur()}_tabindexChanged(n){this.__forwardTabIndex(n)}__forwardTabIndex(n){n!==void 0&&this.focusElement&&(this.focusElement.tabIndex=n,n!==-1&&(this.tabindex=void 0)),this.disabled&&n&&(n!==-1&&(this._lastTabIndex=n),this.tabindex=void 0)}});/** 2654 * @license 2655 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2656 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2657 */const ad=new WeakMap;function qC(e){return ad.has(e)||ad.set(e,new Set),ad.get(e)}function ZC(e,t){const n=document.createElement("style");n.textContent=e,t===document?document.head.appendChild(n):t.insertBefore(n,t.firstChild)}const eT=Mt(e=>class extends e{get slotStyles(){return[]}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const n=this.getRootNode(),o=qC(n);this.slotStyles.forEach(l=>{o.has(l)||(ZC(l,n),o.add(l))})}});/** 2658 * @license 2659 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2660 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2661 */const Xs=e=>e.test(navigator.userAgent),Yd=e=>e.test(navigator.platform),tT=e=>e.test(navigator.vendor);Xs(/Android/u);Xs(/Chrome/u)&&tT(/Google Inc/u);Xs(/Firefox/u);Yd(/^iPad/u)||Yd(/^Mac/u)&&navigator.maxTouchPoints>1;Yd(/^iPhone/u);Xs(/^((?!chrome|android).)*safari/iu);const nT=(()=>{try{return document.createEvent("TouchEvent"),!0}catch{return!1}})();/** 2662 * @license 2663 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2664 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2665 */const R0=Mt(e=>class extends e{static get properties(){return{inputElement:{type:Object,readOnly:!0,observer:"_inputElementChanged",sync:!0},type:{type:String,readOnly:!0},value:{type:String,value:"",observer:"_valueChanged",notify:!0,sync:!0}}}constructor(){super(),this._boundOnInput=this._onInput.bind(this),this._boundOnChange=this._onChange.bind(this)}get _hasValue(){return this.value!=null&&this.value!==""}get _inputElementValueProperty(){return"value"}get _inputElementValue(){return this.inputElement?this.inputElement[this._inputElementValueProperty]:void 0}set _inputElementValue(n){this.inputElement&&(this.inputElement[this._inputElementValueProperty]=n)}clear(){this.value="",this._inputElementValue=""}_addInputListeners(n){n.addEventListener("input",this._boundOnInput),n.addEventListener("change",this._boundOnChange)}_removeInputListeners(n){n.removeEventListener("input",this._boundOnInput),n.removeEventListener("change",this._boundOnChange)}_forwardInputValue(n){this.inputElement&&(this._inputElementValue=n??"")}_inputElementChanged(n,o){n?this._addInputListeners(n):o&&this._removeInputListeners(o)}_onInput(n){const o=n.composedPath()[0];this.__userInput=n.isTrusted,this.value=o.value,this.__userInput=!1}_onChange(n){}_toggleHasValue(n){this.toggleAttribute("has-value",n)}_valueChanged(n,o){this._toggleHasValue(this._hasValue),!(n===""&&o===void 0)&&(this.__userInput||this._forwardInputValue(n))}});/** 2666 * @license 2667 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2668 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2669 */const rT=e=>class extends R0($f(e)){static get properties(){return{clearButtonVisible:{type:Boolean,reflectToAttribute:!0,value:!1}}}get clearElement(){return console.warn(`Please implement the 'clearElement' property in <${this.localName}>`),null}ready(){super.ready(),this.clearElement&&(this.clearElement.addEventListener("mousedown",n=>this._onClearButtonMouseDown(n)),this.clearElement.addEventListener("click",n=>this._onClearButtonClick(n)))}_onClearButtonClick(n){n.preventDefault(),this._onClearAction()}_onClearButtonMouseDown(n){n.preventDefault(),nT||this.inputElement.focus()}_onEscape(n){super._onEscape(n),this.clearButtonVisible&&this.value&&!this.readonly&&(n.stopPropagation(),this._onClearAction())}_onClearAction(){this._inputElementValue="",this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.inputElement.dispatchEvent(new Event("change",{bubbles:!0}))}};/** 2670 * @license 2671 * Copyright (c) 2023 - 2025 Vaadin Ltd. 2672 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2673 */const sd=new Map;function Uf(e){return sd.has(e)||sd.set(e,new WeakMap),sd.get(e)}function N0(e,t){e&&e.removeAttribute(t)}function L0(e,t){if(!e||!t)return;const n=Uf(t);if(n.has(e))return;const o=If(e.getAttribute(t));n.set(e,new Set(o))}function iT(e,t){if(!e||!t)return;const n=Uf(t),o=n.get(e);!o||o.size===0?e.removeAttribute(t):w0(e,t,Ks(o)),n.delete(e)}function ud(e,t,n={newId:null,oldId:null,fromUser:!1}){if(!e||!t)return;const{newId:o,oldId:l,fromUser:a}=n,u=Uf(t),d=u.get(e);if(!a&&d){l&&d.delete(l),o&&d.add(o);return}a&&(d?o||u.delete(e):L0(e,t),N0(e,t)),cC(e,t,l);const c=o||Ks(d);c&&w0(e,t,c)}function oT(e,t){L0(e,t),N0(e,t)}/** 2674 * @license 2675 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2676 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2677 */class lT{constructor(t){this.host=t,this.__required=!1}setTarget(t){this.__target=t,this.__setAriaRequiredAttribute(this.__required),this.__setLabelIdToAriaAttribute(this.__labelId,this.__labelId),this.__labelIdFromUser!=null&&this.__setLabelIdToAriaAttribute(this.__labelIdFromUser,this.__labelIdFromUser,!0),this.__setErrorIdToAriaAttribute(this.__errorId),this.__setHelperIdToAriaAttribute(this.__helperId),this.setAriaLabel(this.__label)}setRequired(t){this.__setAriaRequiredAttribute(t),this.__required=t}setAriaLabel(t){this.__setAriaLabelToAttribute(t),this.__label=t}setLabelId(t,n=!1){const o=n?this.__labelIdFromUser:this.__labelId;this.__setLabelIdToAriaAttribute(t,o,n),n?this.__labelIdFromUser=t:this.__labelId=t}setErrorId(t){this.__setErrorIdToAriaAttribute(t,this.__errorId),this.__errorId=t}setHelperId(t){this.__setHelperIdToAriaAttribute(t,this.__helperId),this.__helperId=t}__setAriaLabelToAttribute(t){this.__target&&(t?(oT(this.__target,"aria-labelledby"),this.__target.setAttribute("aria-label",t)):this.__label&&(iT(this.__target,"aria-labelledby"),this.__target.removeAttribute("aria-label")))}__setLabelIdToAriaAttribute(t,n,o){ud(this.__target,"aria-labelledby",{newId:t,oldId:n,fromUser:o})}__setErrorIdToAriaAttribute(t,n){ud(this.__target,"aria-describedby",{newId:t,oldId:n,fromUser:!1})}__setHelperIdToAriaAttribute(t,n){ud(this.__target,"aria-describedby",{newId:t,oldId:n,fromUser:!1})}__setAriaRequiredAttribute(t){this.__target&&(["input","textarea"].includes(this.__target.localName)||(t?this.__target.setAttribute("aria-required","true"):this.__target.removeAttribute("aria-required")))}}/** 2678 * @license 2679 * Copyright (c) 2022 - 2025 Vaadin Ltd. 2680 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2681 */const nr=document.createElement("div");nr.style.position="fixed";nr.style.clip="rect(0px, 0px, 0px, 0px)";nr.setAttribute("aria-live","polite");document.body.appendChild(nr);let rs;function aT(e,t={}){const n=t.mode||"polite",o=t.timeout===void 0?150:t.timeout;n==="alert"?(nr.removeAttribute("aria-live"),nr.removeAttribute("role"),rs=ko.debounce(rs,iC,()=>{nr.setAttribute("role","alert")})):(rs&&rs.cancel(),nr.removeAttribute("role"),nr.setAttribute("aria-live",n)),nr.textContent="",setTimeout(()=>{nr.textContent=e},o)}/** 2682 * @license 2683 * Copyright (c) 2022 - 2025 Vaadin Ltd. 2684 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2685 */class jf extends Ml{constructor(t,n,o,l={}){super(t,n,o,{...l,useUniqueId:!0})}initCustomNode(t){this.__updateNodeId(t),this.__notifyChange(t)}teardownNode(t){const n=this.getSlotChild();n&&n!==this.defaultNode?this.__notifyChange(n):(this.restoreDefaultNode(),this.updateDefaultNode(this.node))}attachDefaultNode(){const t=super.attachDefaultNode();return t&&this.__updateNodeId(t),t}restoreDefaultNode(){}updateDefaultNode(t){this.__notifyChange(t)}observeNode(t){this.__nodeObserver&&this.__nodeObserver.disconnect(),this.__nodeObserver=new MutationObserver(n=>{n.forEach(o=>{const l=o.target,a=l===this.node;o.type==="attributes"?a&&this.__updateNodeId(l):(a||l.parentElement===this.node)&&this.__notifyChange(this.node)})}),this.__nodeObserver.observe(t,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__hasContent(t){return t?t.nodeType===Node.ELEMENT_NODE&&(customElements.get(t.localName)||t.children.length>0)||t.textContent&&t.textContent.trim()!=="":!1}__notifyChange(t){this.dispatchEvent(new CustomEvent("slot-content-changed",{detail:{hasContent:this.__hasContent(t),node:t}}))}__updateNodeId(t){const n=!this.nodes||t===this.nodes[0];t.nodeType===Node.ELEMENT_NODE&&(!this.multiple||n)&&!t.id&&(t.id=this.defaultId)}}/** 2686 * @license 2687 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2688 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2689 */class sT extends jf{constructor(t){super(t,"error-message","div")}setErrorMessage(t){this.errorMessage=t,this.updateDefaultNode(this.node)}setInvalid(t){this.invalid=t,this.updateDefaultNode(this.node)}initAddedNode(t){t!==this.defaultNode&&this.initCustomNode(t)}initNode(t){this.updateDefaultNode(t)}initCustomNode(t){t.textContent&&!this.errorMessage&&(this.errorMessage=t.textContent.trim()),super.initCustomNode(t)}restoreDefaultNode(){this.attachDefaultNode()}updateDefaultNode(t){const{errorMessage:n,invalid:o}=this,l=!!(o&&n&&n.trim()!=="");t&&(t.textContent=l?n:"",t.hidden=!l,l&&aT(n,{mode:"assertive"})),super.updateDefaultNode(t)}}/** 2690 * @license 2691 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2692 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2693 */class uT extends jf{constructor(t){super(t,"helper",null)}setHelperText(t){this.helperText=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{helperText:t}=this;if(t&&t.trim()!==""){this.tagName="div";const n=this.attachDefaultNode();this.observeNode(n)}}updateDefaultNode(t){t&&(t.textContent=this.helperText),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/** 2694 * @license 2695 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2696 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2697 */class cT extends jf{constructor(t){super(t,"label","label")}setLabel(t){this.label=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{label:t}=this;if(t&&t.trim()!==""){const n=this.attachDefaultNode();this.observeNode(n)}}updateDefaultNode(t){t&&(t.textContent=this.label),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/** 2698 * @license 2699 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2700 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2701 */const dT=Mt(e=>class extends Gs(e){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}constructor(){super(),this._labelController=new cT(this),this._labelController.addEventListener("slot-content-changed",n=>{this.toggleAttribute("has-label",n.detail.hasContent)})}get _labelId(){const n=this._labelNode;return n&&n.id}get _labelNode(){return this._labelController.node}ready(){super.ready(),this.addController(this._labelController)}_labelChanged(n){this._labelController.setLabel(n)}});/** 2702 * @license 2703 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2704 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2705 */const I0=Mt(e=>class extends e{static get properties(){return{invalid:{type:Boolean,reflectToAttribute:!0,notify:!0,value:!1,sync:!0},manualValidation:{type:Boolean,value:!1},required:{type:Boolean,reflectToAttribute:!0,sync:!0}}}validate(){const n=this.checkValidity();return this._setInvalid(!n),this.dispatchEvent(new CustomEvent("validated",{detail:{valid:n}})),n}checkValidity(){return!this.required||!!this.value}_setInvalid(n){this._shouldSetInvalid(n)&&(this.invalid=n)}_shouldSetInvalid(n){return!0}_requestValidation(){this.manualValidation||this.validate()}});/** 2706 * @license 2707 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2708 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2709 */const fT=e=>class extends I0(dT(Gs(e))){static get properties(){return{ariaTarget:{type:Object,observer:"_ariaTargetChanged"},errorMessage:{type:String,observer:"_errorMessageChanged"},helperText:{type:String,observer:"_helperTextChanged"},accessibleName:{type:String,observer:"_accessibleNameChanged"},accessibleNameRef:{type:String,observer:"_accessibleNameRefChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}constructor(){super(),this._fieldAriaController=new lT(this),this._helperController=new uT(this),this._errorController=new sT(this),this._errorController.addEventListener("slot-content-changed",n=>{this.toggleAttribute("has-error-message",n.detail.hasContent)}),this._labelController.addEventListener("slot-content-changed",n=>{const{hasContent:o,node:l}=n.detail;this.__labelChanged(o,l)}),this._helperController.addEventListener("slot-content-changed",n=>{const{hasContent:o,node:l}=n.detail;this.toggleAttribute("has-helper",o),this.__helperChanged(o,l)})}get _errorNode(){return this._errorController.node}get _helperNode(){return this._helperController.node}ready(){super.ready(),this.addController(this._fieldAriaController),this.addController(this._helperController),this.addController(this._errorController)}__helperChanged(n,o){n?this._fieldAriaController.setHelperId(o.id):this._fieldAriaController.setHelperId(null)}_accessibleNameChanged(n){this._fieldAriaController.setAriaLabel(n)}_accessibleNameRefChanged(n){this._fieldAriaController.setLabelId(n,!0)}__labelChanged(n,o){n?this._fieldAriaController.setLabelId(o.id):this._fieldAriaController.setLabelId(null)}_errorMessageChanged(n){this._errorController.setErrorMessage(n)}_helperTextChanged(n){this._helperController.setHelperText(n)}_ariaTargetChanged(n){n&&this._fieldAriaController.setTarget(n)}_requiredChanged(n){this._fieldAriaController.setRequired(n)}_invalidChanged(n){this._errorController.setInvalid(n),setTimeout(()=>{if(n){const o=this._errorNode;this._fieldAriaController.setErrorId(o&&o.id)}else this._fieldAriaController.setErrorId(null)})}};/** 2710 * @license 2711 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2712 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2713 */const pT=Mt(e=>class extends e{static get properties(){return{stateTarget:{type:Object,observer:"_stateTargetChanged"}}}static get delegateAttrs(){return[]}static get delegateProps(){return[]}ready(){super.ready(),this._createDelegateAttrsObserver(),this._createDelegatePropsObserver()}_stateTargetChanged(n){n&&(this._ensureAttrsDelegated(),this._ensurePropsDelegated())}_createDelegateAttrsObserver(){this._createMethodObserver(`_delegateAttrsChanged(${this.constructor.delegateAttrs.join(", ")})`)}_createDelegatePropsObserver(){this._createMethodObserver(`_delegatePropsChanged(${this.constructor.delegateProps.join(", ")})`)}_ensureAttrsDelegated(){this.constructor.delegateAttrs.forEach(n=>{this._delegateAttribute(n,this[n])})}_ensurePropsDelegated(){this.constructor.delegateProps.forEach(n=>{this._delegateProperty(n,this[n])})}_delegateAttrsChanged(...n){this.constructor.delegateAttrs.forEach((o,l)=>{this._delegateAttribute(o,n[l])})}_delegatePropsChanged(...n){this.constructor.delegateProps.forEach((o,l)=>{this._delegateProperty(o,n[l])})}_delegateAttribute(n,o){this.stateTarget&&(n==="invalid"&&this._delegateAttribute("aria-invalid",o?"true":!1),typeof o=="boolean"?this.stateTarget.toggleAttribute(n,o):o?this.stateTarget.setAttribute(n,o):this.stateTarget.removeAttribute(n))}_delegateProperty(n,o){this.stateTarget&&(this.stateTarget[n]=o)}});/** 2714 * @license 2715 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2716 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2717 */const hT=Mt(e=>class extends pT(I0(R0(e))){static get constraints(){return["required"]}static get delegateAttrs(){return[...super.delegateAttrs,"required"]}ready(){super.ready(),this._createConstraintsObserver()}checkValidity(){return this.inputElement&&this._hasValidConstraints(this.constructor.constraints.map(n=>this[n]))?this.inputElement.checkValidity():!this.invalid}_hasValidConstraints(n){return n.some(o=>this.__isValidConstraint(o))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(n,...o){if(!n)return;const l=this._hasValidConstraints(o),a=this.__previousHasConstraints&&!l;(this._hasValue||this.invalid)&&l?this._requestValidation():a&&!this.manualValidation&&this._setInvalid(!1),this.__previousHasConstraints=l}_onChange(n){n.stopPropagation(),this._requestValidation(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:n},bubbles:n.bubbles,cancelable:n.cancelable}))}__isValidConstraint(n){return!!n||n===0}});/** 2718 * @license 2719 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2720 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2721 */const mT=e=>class extends eT(JC(hT(fT(rT($f(e)))))){static get properties(){return{allowedCharPattern:{type:String,observer:"_allowedCharPatternChanged"},autoselect:{type:Boolean,value:!1},name:{type:String,reflectToAttribute:!0},placeholder:{type:String,reflectToAttribute:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},title:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"name","type","placeholder","readonly","invali
2721d","title"]}constructor(){super(),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this)}get slotStyles(){return[` 2722 :is(input[slot='input'], textarea[slot='textarea'])::placeholder { 2723 font: inherit; 2724 color: inherit; 2725 } 2726 `]}_onFocus(n){super._onFocus(n),this.autoselect&&this.inputElement&&this.inputElement.select()}_addInputListeners(n){super._addInputListeners(n),n.addEventListener("paste",this._boundOnPaste),n.addEventListener("drop",this._boundOnDrop),n.addEventListener("beforeinput",this._boundOnBeforeInput)}_removeInputListeners(n){super._removeInputListeners(n),n.removeEventListener("paste",this._boundOnPaste),n.removeEventListener("drop",this._boundOnDrop),n.removeEventListener("beforeinput",this._boundOnBeforeInput)}_onKeyDown(n){super._onKeyDown(n),this.allowedCharPattern&&!this.__shouldAcceptKey(n)&&n.target===this.inputElement&&(n.preventDefault(),this._markInputPrevented())}_markInputPrevented(){this.setAttribute("input-prevented",""),this._preventInputDebouncer=ko.debounce(this._preventInputDebouncer,rC.after(200),()=>{this.removeAttribute("input-prevented")})}__shouldAcceptKey(n){return n.metaKey||n.ctrlKey||!n.key||n.key.length!==1||this.__allowedCharRegExp.test(n.key)}_onPaste(n){if(this.allowedCharPattern){const o=n.clipboardData.getData("text");this.__allowedTextRegExp.test(o)||(n.preventDefault(),this._markInputPrevented())}}_onDrop(n){if(this.allowedCharPattern){const o=n.dataTransfer.getData("text");this.__allowedTextRegExp.test(o)||(n.preventDefault(),this._markInputPrevented())}}_onBeforeInput(n){this.allowedCharPattern&&n.data&&!this.__allowedTextRegExp.test(n.data)&&(n.preventDefault(),this._markInputPrevented())}_allowedCharPatternChanged(n){if(n)try{this.__allowedCharRegExp=new RegExp(`^${n}$`,"u"),this.__allowedTextRegExp=new RegExp(`^${n}*$`,"u")}catch(o){console.error(o)}}};/** 2727 * @license 2728 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2729 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2730 */const gT=e=>class extends mT(e){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String,reflectToAttribute:!0},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(n){this.__dataValue=n}_inputElementChanged(n){super._inputElementChanged(n),n&&(n.value&&n.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),n.value=""),this.value&&(n.value=this.value))}_setFocused(n){super._setFocused(n),!n&&document.hasFocus()&&this._requestValidation()}_onInput(n){super._onInput(n),this.invalid&&this._requestValidation()}_valueChanged(n,o){super._valueChanged(n,o),o!==void 0&&this.invalid&&this._requestValidation()}};/** 2731 * @license 2732 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2733 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2734 */class vT{constructor(t,n){this.input=t,this.__preventDuplicateLabelClick=this.__preventDuplicateLabelClick.bind(this),n.addEventListener("slot-content-changed",o=>{this.__initLabel(o.detail.node)}),this.__initLabel(n.node)}__initLabel(t){t&&(t.addEventListener("click",this.__preventDuplicateLabelClick),this.input&&t.setAttribute("for",this.input.id))}__preventDuplicateLabelClick(){const t=n=>{n.stopImmediatePropagation(),this.input.removeEventListener("click",t)};this.input.addEventListener("click",t)}}/** 2735 * @license 2736 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2737 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2738 */class yT extends Ml{constructor(t,n){super(t,"textarea","textarea",{initializer:(o,l)=>{const a=l.getAttribute("value");a&&(o.value=a);const u=l.getAttribute("name");u&&o.setAttribute("name",u),o.id=this.defaultId,typeof n=="function"&&n(o)},useUniqueId:!0})}}/** 2739 * @license 2740 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2741 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2742 */const xT=e=>class extends QC(gT(e)){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String},minRows:{type:Number,value:2,observer:"__minRowsChanged"},maxRows:{type:Number}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}static get observers(){return["__updateMinHeight(minRows, inputElement)","__updateMaxHeight(maxRows, inputElement, _inputField)"]}get clearElement(){return this.$.clearButton}_onResize(){this._updateHeight(),this.__scrollPositionUpdated()}_onScroll(){this.__scrollPositionUpdated()}ready(){super.ready(),this.__textAreaController=new yT(this,n=>{this._setInputElement(n),this._setFocusElement(n),this.stateTarget=n,this.ariaTarget=n}),this.addController(this.__textAreaController),this.addController(new vT(this.inputElement,this._labelController)),this._inputField=this.shadowRoot.querySelector("[part=input-field]"),this._inputField.addEventListener("wheel",n=>{const o=this._inputField.scrollTop;this._inputField.scrollTop+=n.deltaY,o!==this._inputField.scrollTop&&(n.preventDefault(),this.__scrollPositionUpdated())}),this._updateHeight(),this.__scrollPositionUpdated()}__scrollPositionUpdated(){this._inputField.style.setProperty("--_text-area-vertical-scroll-position","0px"),this._inputField.style.setProperty("--_text-area-vertical-scroll-position",`${this._inputField.scrollTop}px`)}_valueChanged(n,o){super._valueChanged(n,o),this._updateHeight()}_updateHeight(){const n=this.inputElement,o=this._inputField;if(!n||!o)return;const l=o.scrollTop,a=this.value?this.value.length:0;if(this._oldValueLength>=a){const d=getComputedStyle(o).height,c=getComputedStyle(n).width;o.style.height=d,n.style.maxWidth=c,n.style.alignSelf="flex-start",n.style.height="auto"}this._oldValueLength=a;const u=n.scrollHeight;u>n.clientHeight&&(n.style.height=`${u}px`),n.style.removeProperty("max-width"),n.style.removeProperty("align-self"),o.style.removeProperty("height"),o.scrollTop=l,this.__updateMaxHeight(this.maxRows)}__updateMinHeight(n){this.inputElement&&this.inputElement===this.__textAreaController.defaultNode&&(this.inputElement.rows=Math.max(n,1))}__updateMaxHeight(n){if(!(!this._inputField||!this.inputElement))if(n){const o=getComputedStyle(this.inputElement),l=getComputedStyle(this._inputField),u=parseFloat(o.lineHeight)*n,d=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.marginTop)+parseFloat(o.marginBottom)+parseFloat(l.paddingTop)+parseFloat(l.paddingBottom),c=Math.ceil(u+d);this._inputField.style.setProperty("max-height",`${c}px`)}else this._inputField.style.removeProperty("max-height")}
2742__minRowsChanged(n){n<1&&console.warn("<vaadin-text-area> minRows must be at least 1.")}scrollToStart(){this._inputField.scrollTop=0}scrollToEnd(){this._inputField.scrollTop=this._inputField.scrollHeight}checkValidity(){if(!super.checkValidity())return!1;if(!this.pattern||!this.inputElement.value)return!0;try{const n=this.inputElement.value.match(this.pattern);return n?n[0]===n.input:!1}catch{return!0}}};/** 2743 * @license 2744 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2745 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2746 */const wT=We` 2747 .vaadin-text-area-container { 2748 flex: auto; 2749 } 2750 2751 /* The label, helper text and the error message should neither grow nor shrink. */ 2752 [part='label'], 2753 [part='helper-text'], 2754 [part='error-message'] { 2755 flex: none; 2756 } 2757 2758 [part='input-field'] { 2759 flex: auto; 2760 overflow: auto; 2761 -webkit-overflow-scrolling: touch; 2762 } 2763 2764 ::slotted(textarea) { 2765 -webkit-appearance: none; 2766 -moz-appearance: none; 2767 flex: auto; 2768 overflow: hidden; 2769 width: 100%; 2770 height: 100%; 2771 outline: none; 2772 resize: none; 2773 margin: 0; 2774 padding: 0 0.25em; 2775 border: 0; 2776 border-radius: 0; 2777 min-width: 0; 2778 font: inherit; 2779 font-size: 1em; 2780 line-height: normal; 2781 color: inherit; 2782 background-color: transparent; 2783 /* Disable default invalid style in Firefox */ 2784 box-shadow: none; 2785 } 2786 2787 /* Override styles from <vaadin-input-container> */ 2788 [part='input-field'] ::slotted(textarea) { 2789 align-self: stretch; 2790 white-space: pre-wrap; 2791 box-sizing: border-box; 2792 } 2793 2794 [part='input-field'] ::slotted(:not(textarea)) { 2795 align-self: flex-start; 2796 } 2797 2798 /* Workaround https://bugzilla.mozilla.org/show_bug.cgi?id=1739079 */ 2799 :host([disabled]) ::slotted(textarea) { 2800 user-select: none; 2801 } 2802`;/** 2803 * @license 2804 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2805 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2806 */hn("vaadin-text-area",[XC,wT],{moduleId:"vaadin-text-area-styles"});class bT extends xT(Hs(Lf(Ys))){static get is(){return"vaadin-text-area"}static get template(){return Ws` 2807 <div class="vaadin-text-area-container"> 2808 <div part="label"> 2809 <slot name="label"></slot> 2810 <span part="required-indicator" aria-hidden="true" on-click="focus"></span> 2811 </div> 2812 2813 <vaadin-input-container 2814 part="input-field" 2815 readonly="[[readonly]]" 2816 disabled="[[disabled]]" 2817 invalid="[[invalid]]" 2818 theme$="[[_theme]]" 2819 on-scroll="_onScroll" 2820 > 2821 <slot name="prefix" slot="prefix"></slot> 2822 <slot name="textarea"></slot> 2823 <slot name="suffix" slot="suffix"></slot> 2824 <div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div> 2825 </vaadin-input-container> 2826 2827 <div part="helper-text"> 2828 <slot name="helper"></slot> 2829 </div> 2830 2831 <div part="error-message"> 2832 <slot name="error-message"></slot> 2833 </div> 2834 </div> 2835 2836 <slot name="tooltip"></slot> 2837 `}ready(){super.ready(),this._tooltipController=new Of(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}Ul(bT);hn("vaadin-message-input",We` 2838 :host { 2839 padding: var(--lumo-space-s) var(--lumo-space-m); 2840 } 2841 2842 ::slotted([slot='textarea']) { 2843 margin-inline-end: var(--lumo-space-s); 2844 } 2845 `,{moduleId:"lumo-message-input"});/** 2846 * @license 2847 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2848 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2849 */const _T=e=>class extends Gs(e){static get properties(){return{value:{type:String,value:"",sync:!0},i18n:{type:Object,sync:!0,value:()=>({send:"Send",message:"Message"})},disabled:{type:Boolean,value:!1,reflectToAttribute:!0,sync:!0},_button:{type:Object,sync:!0},_textArea:{type:Object,sync:!0}}}static get observers(){return["__buttonPropsChanged(_button, disabled, i18n)","__textAreaPropsChanged(_textArea, disabled, i18n, value)"]}ready(){super.ready(),this._buttonController=new Ml(this,"button","vaadin-button",{initializer:n=>{n.setAttribute("theme","primary contained"),n.addEventListener("click",()=>{this.__submit()}),this._button=n}}),this.addController(this._buttonController),this._textAreaController=new Ml(this,"textarea","vaadin-text-area",{initializer:n=>{n.addEventListener("value-changed",o=>{this.value=o.detail.value}),n.addEventListener("keydown",o=>
2849{o.key==="Enter"&&!o.shiftKey&&(o.preventDefault(),o.stopImmediatePropagation(),this.__submit())}),n.minRows=1,this._textArea=n}}),this.addController(this._textAreaController),this._tooltipController=new Of(this),this.addController(this._tooltipController)}focus(){this._textArea&&this._textArea.focus()}__buttonPropsChanged(n,o,l){n&&(n.disabled=o,n.textContent=l.send)}__textAreaPropsChanged(n,o,l,a){if(n){n.disabled=o,n.value=a;const u=l.message;n.placeholder=u,n.accessibleName=u}}__submit(){this.value!==""&&(this.dispatchEvent(new CustomEvent("submit",{detail:{value:this.value}})),this.value=""),this._textArea.focus()}};/** 2850 * @license 2851 * Copyright (c) 2021 - 2025 Vaadin Ltd. 2852 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2853 */class O0 extends _T(Lf(Hs(Ys))){static get template(){return Ws` 2854 <style> 2855 :host { 2856 align-items: flex-start; 2857 box-sizing: border-box; 2858 display: flex; 2859 max-height: 50vh; 2860 overflow: hidden; 2861 flex-shrink: 0; 2862 } 2863 2864 :host([hidden]) { 2865 display: none !important; 2866 } 2867 2868 ::slotted([slot='button']) { 2869 flex-shrink: 0; 2870 } 2871 2872 ::slotted([slot='textarea']) { 2873 align-self: stretch; 2874 flex-grow: 1; 2875 } 2876 </style> 2877 <slot name="textarea"></slot> 2878 2879 <slot name="button"></slot> 2880 2881 <slot name="tooltip"></slot> 2882 `}static get is(){return"vaadin-message-input"}}Ul(O0);/** 2883 * @license 2884 * Copyright 2018 Google LLC 2885 * SPDX-License-Identifier: BSD-3-Clause 2886 */const ST=new Set(["children","localName","ref","style","className"]),rv=new WeakMap,iv=(e,t,n,o,l)=>{const a=l?.[t];a===void 0?(e[t]=n,n==null&&t in HTMLElement.prototype&&e.removeAttribute(t)):n!==o&&((u,d,c)=>{let p=rv.get(u);p===void 0&&rv.set(u,p=new Map);let m=p.get(d);c!==void 0?m===void 0?(p.set(d,m={handleEvent:c}),u.addEventListener(d,m)):m.handleEvent=c:m!==void 0&&(p.delete(d),u.removeEventListener(d,m))})(e,a,n)},kT=({react:e,tagName:t,elementClass:n,events:o,displayName:l})=>{const a=new Set(Object.keys(o??{})),u=e.forwardRef(((d,c)=>{const p=e.useRef(new Map),m=e.useRef(null),v={},b={};for(const[x,T]of Object.entries(d))ST.has(x)?v[x==="className"?"class":x]=T:a.has(x)||x in n.prototype?b[x]=T:v[x]=T;return e.useLayoutEffect((()=>{if(m.current===null)return;const x=new Map;for(const T in b)iv(m.current,T,d[T],p.current.get(T),o),p.current.delete(T),x.set(T,d[T]);for(const[T,R]of p.current)iv(m.current,T,void 0,R,o);p.current=x})),e.useLayoutEffect((()=>{m.current?.removeAttribute("defer-hydration")}),[]),v.suppressHydrationWarning=!0,e.createElement(t,{...v,ref:e.useCallback((x=>{m.current=x,typeof c=="function"?c(x):c!==null&&(c.current=x)}),[c])})}));return u.displayName=l??n.name,u};window.Vaadin??={},window.Vaadin.registrations??=[],window.Vaadin.registrations.push({is:"@vaadin/react-components",version:"24.7.6"});function ET(e){const{elementClass:t}=e;return kT("_properties"in t?{...e,elementClass:{name:t.name,prototype:{...t._properties,hidden:Boolean}}}:e)}var CT={onSubmit:"submit"},TT=ET({elementClass:O0,events:CT,react:lb,tagName:"vaadin-message-input"});function PT(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const AT=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,RT=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,NT={};function ov(e,t){return(NT.jsx?RT:AT).test(e)}const LT=/[ \t\n\f\r]/g;function IT(e){return typeof e=="object"?e.type==="text"?lv(e.value):!1:lv(e)}function lv(e){return e.replace(LT,"")===""}class jl{constructor(t,n,o){this.property=t,this.normal=n,o&&(this.space=o)}}jl.prototype.property={};jl.prototype.normal={};jl.prototype.space=null;function z0(e,t){const n={},o={};let l=-1;for(;++l<e.length;)Object.assign(n,e[l].property),Object.assign(o,e[l].normal);return new jl(n,o,t)}function Gd(e){return e.toLowerCase()}class Un{constructor(t,n){this.property=t,this.attribute=n}}Un.prototype.space=null;Un.prototype.boolean=!1;Un.prototype.booleanish=!1;Un.prototype.overloadedBoolean=!1;Un.prototype.number=!1;Un.prototype.commaSeparated=!1;Un.prototype.spaceSeparated=!1;Un.prototype.commaOrSpaceSeparated=!1;Un.prototype.mustUseProperty=!1;Un.prototype.defined=!1;let OT=0;const $e=$i(),kt=$i(),M0=$i(),ce=$i(),at=$i(),bo=$i(),Sn=$i();function $i(){return 2**++OT}const Kd=Object.freeze(Object.defineProperty({__proto__:null,boolean:$e,booleanish:kt,commaOrSpaceSeparated:Sn,commaSeparated:bo,number:ce,overloadedBoolean:M0,spaceSeparated:at},Symbol.toStringTag,{value:"Module"})),cd=Object.keys(Kd);class Hf extends Un{constructor(t,n,o,l){let a=-1;if(super(t,n),av(this,"space",l),typeof o=="number")for(;++a<cd.length;){const u=cd[a];av(this,cd[a],(o&Kd[u])===Kd[u])}}}Hf.prototype.defined=!0;function av(e,t,n){n&&(e[t]=n)}const zT={}.hasOwnProperty;function Po(e){const t={},n={};let o;for(o in e.properties)if(zT.call(e.properties,o)){const l=e.properties[o],a=new Hf(o,e.transform(e.attributes||{},o),l,e.space);e.mustUseProperty&&e.mustUseProperty.includes(o)&&(a.mustUseProperty=!0),t[o]=a,n[Gd(o)]=o,n[Gd(a.attribute)]=o}return new jl(t,n,e.space)}
vendor: 4,281 bytes, line 2886
2886const D0=Po({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),F0=Po({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function $0(e,t){return t in e?e[t]:t}function B0(e,t){return $0(e,t.toLowerCase())}const U0=Po({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:B0,properties:{xmlns:null,xmlnsXLink:null}}),j0=Po({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:kt,ariaAutoComplete:null,ariaBusy:kt,ariaChecked:kt,ariaColCount:ce,ariaColIndex:ce,ariaColSpan:ce,ariaControls:at,ariaCurrent:null,ariaDescribedBy:at,ariaDetails:null,ariaDisabled:kt,ariaDropEffect:at,ariaErrorMessage:null,ariaExpanded:kt,ariaFlowTo:at,ariaGrabbed:kt,ariaHasPopup:null,ariaHidden:kt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:at,ariaLevel:ce,ariaLive:null,ariaModal:kt,ariaMultiLine:kt,ariaMultiSelectable:kt,ariaOrientation:null,ariaOwns:at,ariaPlaceholder:null,ariaPosInSet:ce,ariaPressed:kt,ariaReadOnly:kt,ariaRelevant:null,ariaRequired:kt,ariaRoleDescription:at,ariaRowCount:ce,ariaRowIndex:ce,ariaRowSpan:ce,ariaSelected:kt,ariaSetSize:ce,ariaSort:null,ariaValueMax:ce,ariaValueMin:ce,ariaValueNow:ce,ariaValueText:null,role:null}}),MT=Po({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:B0,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:bo,acceptCharset:at,accessKey:at,action:null,allow:null,allowFullScreen:$e,allowPaymentRequest:$e,allowUserMedia:$e,alt:null,as:null,async:$e,autoCapitalize:null,autoComplete:at,autoFocus:$e,autoPlay:$e,blocking:at,capture:null,charSet:null,checked:$e,cite:null,className:at,cols:ce,colSpan:null,content:null,contentEditable:kt,controls:$e,controlsList:at,coords:ce|bo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$e,defer:$e,dir:null,dirName:null,disabled:$e,download:M0,draggable:kt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$e,formTarget:null,headers:at,height:ce,hidden:$e,high:ce,href:null,hrefLang:null,htmlFor:at,httpEquiv:at,id:null,imageSizes:null,imageSrcSet:null,inert:$e,inputMode:null,integrity:null,is:null,isMap:$e,itemId:null,itemProp:at,itemRef:at,itemScope:$e,itemType:at,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$e,low:ce,manifest:null,max:null,maxLength:ce,media:null,method:null,min:null,minLength:ce,multiple:$e,muted:$e,name:null,nonce:null,noModule:$e,noValidate:$e,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:$e,optimum:ce,pattern:null,ping:at,placeholder:null,playsInl
2886ine:$e,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:$e,referrerPolicy:null,rel:at,required:$e,reversed:$e,rows:ce,rowSpan:ce,sandbox:at,scope:null,scoped:$e,seamless:$e,selected:$e,shadowRootClonable:$e,shadowRootDelegatesFocus:$e,shadowRootMode:null,shape:null,size:ce,sizes:null,slot:null,span:ce,spellCheck:kt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ce,step:null,style:null,tabIndex:ce,target:null,title:null,translate:null,type:null,typeMustMatch:$e,useMap:null,value:kt,width:ce,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:at,axis:null,background:null,bgColor:null,border:ce,borderColor:null,bottomMargin:ce,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$e,declare:$e,event:null,face:null,frame:null,frameBorder:null,hSpace:ce,leftMargin:ce,link:null,longDesc:null,lowSrc:null,marginHeight:ce,marginWidth:ce,noResize:$e,noHref:$e,noShade:$e,noWrap:$e,object:null,profile:null,prompt:null,rev:null,rightMargin:ce,rules:null,scheme:null,scrolling:kt,standby:null,summary:null,text:null,topMargin:ce,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ce,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:$e,disableRemotePlayback:$e,prefix:null,property:null,results:ce,security:null,unselectable:null}}),DT=Po({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
2886-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:$0,properties:{about:Sn,accentHeight:ce,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ce,amplitude:ce,arabicForm:null,ascent:ce,attributeName:null,attributeType:null,azimuth:ce,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ce,by:null,calcMode:null,capHeight:ce,className:at,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ce,diffuseConstant:ce,direction:null,display:null,dur:null,divisor:ce,dominantBaseline:null,download:$e,dx:null,dy:null,edgeMode:null,editable:null,elevation:ce,enableBackground:null,end:null,event:null,exponent:ce,externalResourcesRequired:null,fill:null,fillOpacity:ce,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:bo,g2:bo,glyphName:bo,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ce,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ce,horizOriginX:ce,horizOriginY:ce,id:null,ideographic:ce,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ce,k:ce,k1:ce,k2:ce,k3:ce,k4:ce,kernelMatrix:Sn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ce,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ce,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 7,894 bytes, lines 2886-2887
2886Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ce,overlineThickness:ce,paintOrder:null,panose1:null,path:null,pathLength:ce,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:at,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ce,pointsAtY:ce,pointsAtZ:ce,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Sn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Sn,rev:Sn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Sn,requiredFeatures:Sn,requiredFonts:Sn,requiredFormats:Sn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ce,specularExponent:ce,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ce,strikethroughThickness:ce,string:null,stroke:null,strokeDashArray:Sn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ce,strokeOpacity:ce,strokeWidth:null,style:null,surfaceScale:ce,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Sn,tabIndex:ce,tableValues:null,target:null,targetX:ce,targetY:ce,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Sn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ce,underlineThickness:ce,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ce,values:null,vAlphabetic:ce,vMathematical:ce,vectorEffect:null,vHanging:ce,vIdeographic:ce,version:null,vertAdvY:ce,vertOriginX:ce,vertOriginY:ce,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ce,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),FT=/^data[-\w.:]+$/i,sv=/-[a-z]/g,$T=/[A-Z]/g;function BT(e,t){const n=Gd(t);let o=t,l=Un;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&FT.test(t)){if(t.charAt(4)==="-"){const a=t.slice(5).replace(sv,jT);o="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=t.slice(4);if(!sv.test(a)){let u=a.replace($T,UT);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}l=Hf}return new l(o,t)}function UT(e){return"-"+e.toLowerCase()}function jT(e){return e.charAt(1).toUpperCase()}const HT={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},VT=z0([F0,D0,U0,j0,MT],"html"),Vf=z0([F0,D0,U0,j0,DT],"svg");function WT(e){return e.join(" ").trim()}var uo={},dd,uv;function YT(){if(uv)return dd;uv=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,d=/^\s+|\s+$/g,c=` 2887`,p="/",m="*",v="",b="comment",x="declaration";dd=function(R,A){if(typeof R!="string")throw new TypeError("First argument must be a string");if(!R)return[];A=A||{};var P=1,D=1;function O(Q){var ue=Q.match(t);ue&&(P+=ue.length);var pe=Q.lastIndexOf(c);D=~pe?Q.length-pe:D+Q.length}function X(){var Q={line:P,column:D};return function(ue){return ue.position=new J(Q),ye(),ue}}function J(Q){this.start=Q,this.end={line:P,column:D},this.source=A.source}J.prototype.content=R;function k(Q){var ue=new Error(A.source+":"+P+":"+D+": "+Q);if(ue.reason=Q,ue.filename=A.source,ue.line=P,ue.column=D,ue.source=R,!A.silent)throw ue}function le(Q){var ue=Q.exec(R);if(ue){var pe=ue[0];return O(pe),R=R.slice(pe.length),ue}}function ye(){le(n)}function fe(Q){var ue;for(Q=Q||[];ue=Se();)ue!==!1&&Q.push(ue);return Q}function Se(){var Q=X();if(!(p!=R.charAt(0)||m!=R.charAt(1))){for(var ue=2;v!=R.charAt(ue)&&(m!=R.charAt(ue)||p!=R.charAt(ue+1));)++ue;if(ue+=2,v===R.charAt(ue-1))return k("End of comment missing");var pe=R.slice(2,ue-2);return D+=2,O(pe),R=R.slice(ue),D+=2,Q({type:b,comment:pe})}}function ge(){var Q=X(),ue=le(o);if(ue){if(Se(),!le(l))return k("property missing ':'");var pe=le(a),xe=Q({type:x,property:T(ue[0].replace(e,v)),value:pe?T(pe[0].replace(e,v)):v});return le(u),xe}}function q(){var Q=[];fe(Q);for(var ue;ue=ge();)ue!==!1&&(Q.push(ue),fe(Q));return Q}return ye(),q()};function T(R){return R?R.replace(d,v):v}return dd}var cv;function GT(){if(cv)return uo;cv=1;var e=uo&&uo.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(uo,"__esModule",{value:!0}),uo.default=n;var t=e(YT());function n(o,l){var a=null;if(!o||typeof o!="string")return a;var u=(0,t.default)(o),d=typeof l=="function";return u.forEach(function(c){if(c.type==="declaration"){var p=c.property,m=c.value;d?l(p,m,c):m&&(a=a||{},a[p]=m)}}),a}return uo}var KT=GT();const dv=Os(KT),XT=dv.default||dv,H0=V0("end"),Wf=V0("start");function V0(e){return t;function t(n){const o=n&&n.position&&n.position[e]||{};if(typeof o.line=="number"&&o.line>0&&typeof o.column=="number"&&o.column>0)return{line:o.line,column:o.column,offset:typeof o.offset=="number"&&o.offset>-1?o.offset:void 0}}}function QT(e){const t=Wf(e),n=H0(e);if(t&&n)return{start:t,end:n}}function Cl(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?fv(e.position):"start"in e||"end"in e?fv(e):"line"in e||"column"in e?Xd(e):""}function Xd(e){return pv(e&&e.line)+":"+pv(e&&e.column)}function fv(e){return Xd(e&&e.start)+"-"+Xd(e&&e.end)}function pv(e){return e&&typeof e=="number"?e:1}class Xt extends Error{constructor(t,n,o){super(),typeof n=="string"&&(o=n,n=void 0);let l="",a={},u=!1;if(n&&("line"in n&&"column"in n?a={place:n}:"start"in n&&"end"in n?a={place:n}:"type"in n?a={ancestors:[n],place:n.position}:a={...n}),typeof t=="string"?l=t:!a.cause&&t&&(u=!0,l=t.message,a.cause=t),!a.ruleId&&!a.source&&typeof o=="string"){const c=o.indexOf(":");c===-1?a.ruleId=o:(a.source=o.slice(0,c),a.ruleId=o.slice(c+1))}if(!a.place&&a.ancestors&&a.ancestors){const c=a.ancestors[a.ancestors.length-1];c&&(a.place=c.position)}const d=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file,this.message=l,this.line=d?d.line:void 0,this.name=Cl(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=u&&a.cause&&typeof a.cause.stack=="string"?a.cause.stack:"",this.actual,this.expected,this.note,this.url}}Xt.prototype.file="";Xt.prototype.name="";Xt.prototype.reason="";Xt.prototype.message="";Xt.prototype.stack="";Xt.prototype.column=void 0;Xt.prototype.line=void 0;Xt.prototype.ancestors=void 0;Xt.prototype.cause=void 0;Xt.prototype.fatal=void 0;Xt.prototype.place=void 0;Xt.prototype.ruleId=void 0;Xt.prototype.source=void 0;const Yf={}.hasOwnProperty,JT=new Map,qT=/[A-Z]/g,ZT=/-([a-z])/g,eP=new Set(["table","tbody","thead","tfoot","tr"]),tP=new Set(["td","th"]),W0="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function nP(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let o;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");o=cP(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 17,357 bytes, line 2887
2887if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");o=uP(n,t.jsx,t.jsxs)}const l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Vf:VT,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},a=Y0(l,e,void 0);return a&&typeof a!="string"?a:l.create(e,l.Fragment,{children:a||void 0},void 0)}function Y0(e,t,n){if(t.type==="element")return rP(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return iP(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return lP(e,t,n);if(t.type==="mdxjsEsm")return oP(e,t);if(t.type==="root")return aP(e,t,n);if(t.type==="text")return sP(e,t)}function rP(e,t,n){const o=e.schema;let l=o;t.tagName.toLowerCase()==="svg"&&o.space==="html"&&(l=Vf,e.schema=l),e.ancestors.push(t);const a=K0(e,t.tagName,!1),u=dP(e,t);let d=Kf(e,t);return eP.has(t.tagName)&&(d=d.filter(function(c){return typeof c=="string"?!IT(c):!0})),G0(e,u,a,t),Gf(u,d),e.ancestors.pop(),e.schema=o,e.create(t,a,u,n)}function iP(e,t){if(t.data&&t.data.estree&&e.evaluater){const o=t.data.estree.body[0];return o.type,e.evaluater.evaluateExpression(o.expression)}Dl(e,t.position)}function oP(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Dl(e,t.position)}function lP(e,t,n){const o=e.schema;let l=o;t.name==="svg"&&o.space==="html"&&(l=Vf,e.schema=l),e.ancestors.push(t);const a=t.name===null?e.Fragment:K0(e,t.name,!0),u=fP(e,t),d=Kf(e,t);return G0(e,u,a,t),Gf(u,d),e.ancestors.pop(),e.schema=o,e.create(t,a,u,n)}function aP(e,t,n){const o={};return Gf(o,Kf(e,t)),e.create(t,e.Fragment,o,n)}function sP(e,t){return t.value}function G0(e,t,n,o){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=o)}function Gf(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function uP(e,t,n){return o;function o(l,a,u,d){const p=Array.isArray(u.children)?n:t;return d?p(a,u,d):p(a,u)}}function cP(e,t){return n;function n(o,l,a,u){const d=Array.isArray(a.children),c=Wf(o);return t(l,a,u,d,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function dP(e,t){const n={};let o,l;for(l in t.properties)if(l!=="children"&&Yf.call(t.properties,l)){const a=pP(e,l,t.properties[l]);if(a){const[u,d]=a;e.tableCellAlignToStyle&&u==="align"&&typeof d=="string"&&tP.has(t.tagName)?o=d:n[u]=d}}if(o){const a=n.style||(n.style={});a[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=o}return n}function fP(e,t){const n={};for(const o of t.attributes)if(o.type==="mdxJsxExpressionAttribute")if(o.data&&o.data.estree&&e.evaluater){const a=o.data.estree.body[0];a.type;const u=a.expression;u.type;const d=u.properties[0];d.type,Object.assign(n,e.evaluater.evaluateExpression(d.argument))}else Dl(e,t.position);else{const l=o.name;let a;if(o.value&&typeof o.value=="object")if(o.value.data&&o.value.data.estree&&e.evaluater){const d=o.value.data.estree.body[0];d.type,a=e.evaluater.evaluateExpression(d.expression)}else Dl(e,t.position);else a=o.value===null?!0:o.value;n[l]=a}return n}function Kf(e,t){const n=[];let o=-1;const l=e.passKeys?new Map:JT;for(;++o<t.children.length;){const a=t.children[o];let u;if(e.passKeys){const c=a.type==="element"?a.tagName:a.type==="mdxJsxFlowElement"||a.type==="mdxJsxTextElement"?a.name:void 0;if(c){const p=l.get(c)||0;u=c+"-"+p,l.set(c,p+1)}}const d=Y0(e,a,u);d!==void 0&&n.push(d)}return n}function pP(e,t,n){const o=BT(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=o.commaSeparated?PT(n):WT(n)),o.property==="style"){let l=typeof n=="object"?n:hP(e,String(n));return e.stylePropertyNameCase==="css"&&(l=mP(l)),["style",l]}return[e.elementAttributeNameCase==="react"&&o.space?HT[o.property]||o.property:o.attribute,n]}}function hP(e,t){const n={};try{XT(t,o)}catch(l){if(!e.ignoreInvalidStyle){const a=l,u=new Xt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw u.file=e.filePath||void 0,u.url=W0+"#cannot-parse-style-attribute",u}}return n;function o(l,a){let u=l;u.slice(0,2)!=="--"&&(u.slice(0,4)==="-ms-"&&(u="ms-"+u.slice(4)),u=u.replace(ZT,vP)),n[u]=a}}function K0(e,t,n){let o;if(!n)o={type:"Literal",value:t};else if(t.includes(".")){const l=t.split(".");let a=-1,u;for(;++a<l.length;){const d=ov(l[a])?{type:"Identifier",name:l[a]}:{type:"Literal",value:l[a]};u=u?{type:"MemberExpression",object:u,property:d,computed:!!(a&&d.type==="Literal"),optional:!1}:d}o=u}else o=ov(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(o.type==="Literal"){const l=o.value;return Yf.call(e.components,l)?e.components[l]:l}if(e.evaluater)return e.evaluater.evaluateExpression(o);Dl(e)}function Dl(e,t){const n=new Xt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=W0+"#cannot-handle-mdx-estrees-without-createevaluater",n}function mP(e){const t={};let n;for(n in e)Yf.call(e,n)&&(t[gP(n)]=e[n]);return t}function gP(e){let t=e.replace(qT,yP);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function vP(e,t){return t.toUpperCase()}function yP(e){return"-"+e.toLowerCase()}const fd={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},xP={};function wP(e,t){const n=xP,o=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,l=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return X0(e,o,l)}function X0(e,t,n){if(bP(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return hv(e.children,t,n)}return Array.isArray(e)?hv(e,t,n):""}function hv(e,t,n){const o=[];let l=-1;for(;++l<e.length;)o[l]=X0(e[l],t,n);return o.join("")}function bP(e){return!!(e&&typeof e=="object")}const mv=document.createElement("i");function Xf(e){const t="&"+e+";";mv.innerHTML=t;const n=mv.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function mr(e,t,n,o){const l=e.length;let a=0,u;if(t<0?t=-t>l?0:l+t:t=t>l?l:t,n=n>0?n:0,o.length<1e4)u=Array.from(o),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);a<o.length;)u=o.slice(a,a+1e4),u.unshift(t,0),e.splice(...u),a+=1e4,t+=1e4}function Bn(e,t){return e.length>0?(mr(e,e.length,0,t),e):t}const gv={}.hasOwnProperty;function _P(e){const t={};let n=-1;for(;++n<e.length;)SP(t,e[n]);return t}function SP(e,t){let n;for(n in t){const l=(gv.call(e,n)?e[n]:void 0)||(e[n]={}),a=t[n];let u;if(a)for(u in a){gv.call(l,u)||(l[u]=[]);const d=a[u];kP(l[u],Array.isArray(d)?d:d?[d]:[])}}}function kP(e,t){let n=-1;const o=[];for(;++n<t.length;)(t[n].add==="after"?e:o).push(t[n]);mr(e,0,0,o)}function Q0(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function _o(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const pr=ai(/[A-Za-z]/),Cn=ai(/[\dA-Za-z]/),EP=ai(/[#-'*+\--9=?A-Z^-~]/);function Qd(e){return e!==null&&(e<32||e===127)}const Jd=ai(/\d/),CP=ai(/[\dA-Fa-f]/),TP=ai(/[!-/:-@[-`{-~]/);function De(e){return e!==null&&e<-2}function fn(e){return e!==null&&(e<0||e===32)}function Ze(e){return e===-2||e===-1||e===32}const PP=ai(new RegExp("\\p{P}|\\p{S}","u")),AP=ai(/\s/);function ai(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ao(e){const t=[];let n=-1,o=0,l=0;for(;++n<e.length;){const a=e.charCodeAt(n);let u="";if(a===37&&Cn(e.charCodeAt(n+1))&&Cn(e.charCodeAt(n+2)))l=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(u=String.fromCharCode(a));else if(a>55295&&a<57344){const d=e.charCodeAt(n+1);a<56320&&d>56319&&d<57344?(u=String.fromCharCode(a,d),l=1):u="�"}else u=String.fromCharCode(a);u&&(t.push(e.slice(o,n),encodeURIComponent(u)),o=n+l+1,u=""),l&&(n+=l,l=0)}return t.join("")+e.slice(o)}function st(e,t,n,o){const l=o?o-1:Number.POSITIVE_INFINITY;let a=0;return u;function u(c){return Ze(c)?(e.enter(n),d(c)):t(c)}function d(c){return Ze(c)&&a++<l?(e.consume(c),d):(e.exit(n),t(c))}}const RP={tokenize:NP};function NP(e){const t=e.attempt(this.parser.constructs.contentInitial,o,l);let n;return t;function o(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),st(e,t,"linePrefix")}function l(d){return e.enter("paragraph"),a(d)}function a(d){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,u(d)}function u(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}return De(d)?(e.consume(d),e.exit("chunkText"),a):(e.consume(d),u)}}const LP={tokenize:IP},vv={tokenize:OP};function IP(e){const t=this,n=[];let o=0,l,a,u;return d;function d(O){if(o<n.length){const X=n[o];return t.containerState=X[1],e.attempt(X[0].continuation,c,p)(O)}return p(O)}function c(O){if(o++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,l&&D();const X=t.events.length;let J=X,k;for(;J--;)if(t.events[J][0]==="exit"&&t.events[J][1].type==="chunkFlow"){k=t.events[J][1].end;break}P(o);let le=X;for(;le<t.events.length;)t.events[le][1].end={...k},le++;return mr(t.events,J+1,0,t.events.slice(X)),t.events.length=le,p(O)}return d(O)}function p(O){if(o===n.length){if(!l)return b(O);if(l.currentConstruct&&l.currentConstruct.concrete)return T(O);t.interrupt=!!(l.currentConstruct&&!l._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(vv,m,v)(O)}function m(O){return l&&D(),P(o),b(O)}function v(O){return t.parser.lazy[t.now().line]=o!==n.length,u=t.now().offset,T(O)}function b(O){return t.containerState={},e.attempt(vv,x,T)(O)}function x(O){return o++,n.push([t.currentConstruct,t.containerState]),b(O)}function T(O){if(O===null){l&&D(),P(0),e.consume(O);return}return l=l||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:l,contentType:"flow",previous:a}),R(O)}function R(O){if(O===null){A(e.exit("chunkFlow"),!0),P(0),e.consume(O);return}return De(O)?(e.consume(O),A(e.exit("chunkFlow")),o=0,t.interrupt=void 0,d):(e.consume(O),R)}function A(O,X){const J=t.sliceStream(O);if(X&&J.push(null),O.previous=a,a&&(a.next=O),a=O,l.defineSkip(O.start),l.write(J),t.parser.lazy[O.start.line]){let k=l.events.length;for(;k--;)if(l.events[k][1].start.offset<u&&(!l.events[k][1].end||l.events[k][1].end.offset>u))return;const le=t.events.length;let ye=le,fe,Se;for(;ye--;)if(t.events[ye][0]==="exit"&&t.events[ye][1].type==="chunkFlow"){if(fe){Se=t.events[ye][1].end;break}fe=!0}for(P(o),k=le;k<t.events.length;)t.events[k][1].end={...Se},k++;mr(t.events,ye+1,0,t.events.slice(le)),t.events.length=k}}function P(O){let X=n.length;for(;X-- >O;){const J=n[X];t.containerState=J[1],J[0].exit.call(t,e)}n.length=O}function D(){l.write([null]),a=void 0,l=void 0,t.containerState._closeFlow=void 0}}function OP(e,t,n){return st(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function yv(e){if(e===null||fn(e)||AP(e))return 1;if(PP(e))return 2}function Qf(e,t,n){const o=[];let l=-1;for(;++l<e.length;){const a=e[l].resolveAll;a&&!o.includes(a)&&(t=a(t,n),o.push(a))}return t}const qd={name:"attention",resolveAll:zP,tokenize:MP};function zP(e,t){let n=-1,o,l,a,u,d,c,p,m;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(o=n;o--;)if(e[o][0]==="exit"&&e[o][1].type==="attentionSequence"&&e[o][1]._open&&t.sliceSerialize(e[o][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[o][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[o][1].end.offset-e[o][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[o][1].end.offset-e[o][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const v={...e[o][1].end},b={...e[n][1].start};xv(v,-c),xv(b,c),u={type:c>1?"strongSequence":"emphasisSequence",start:v,end:{...e[o][1].end}},d={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:b},a={type:c>1?"strongText":"emphasisText",start:{...e[o][1].end},end:{...e[n][1].start}},l={type:c>1?"strong":"emphasis",start:{...u.start},end:{...d.end}},e[o][1].end={...u.start},e[n][1].start={...d.end},p=[],e[o][1].end.offset-e[o][1].start.offset&&(p=Bn(p,[["enter",e[o][1],t],["exit",e[o][1],t]])),p=Bn(p,[["enter",l,t],["enter",u,t],["exit",u,t],["enter",a,t]]),p=Bn(p,Qf(t.parser.constructs.insideSpan.null,e.slice(o+1,n),t)),p=Bn(p,[["exit",a,t],["enter",d,t],["exit",d,t],["exit",l,t]]),e[n][1].end.offset-e[n][1].start.offset?(m=2,p=Bn(p,[["enter",e[n][1],t],["exit",e[n][1],t]])):m=0,mr(e,o-1,n-o+3,p),n=o+p.length-m-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function MP(e,t){const n=this.parser.constructs.attentionMarkers.null,o=this.previous,l=yv(o);let a;return u;function u(c){return a=c,e.enter("attentionSequence"),d(c)}function d(c){if(c===a)return e.consume(c),d;const p=e.exit("attentionSequence"),m=yv(c),v=!m||m===2&&l||n.includes(c),b=!l||l===2&&m||n.includes(o);return p._open=!!(a===42?v:v&&(l||!b)),p._close=!!(a===42?b:b&&(m||!v)),t(c)}}function xv(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const DP={name:"autolink",tokenize:FP};function FP(e,t,n){let o=0;return l;function l(x){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(x){return pr(x)?(e.consume(x),u):x===64?n(x):p(x)}function u(x){return x===43||x===45||x===46||Cn(x)?(o=1,d(x)):p(x)}function d(x){return x===58?(e.consume(x),o=0,c):(x===43||x===45||x===46||Cn(x))&&o++<32?(e.consume(x),d):(o=0,p(x))}function c(x){return x===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.exit("autolink"),t):x===null||x===32||x===60||Qd(x)?n(x):(e.consume(x),c)}function p(x){return x===64?(e.consume(x),m):EP(x)?(e.consume(x),p):n(x)}function m(x){return Cn(x)?v(x):n(x)}function v(x){return x===46?(e.consume(x),o=0,m):x===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(x),e.exit("autolinkMarker"),e.exit("autolink"),t):b(x)}function b(x){if((x===45||Cn(x))&&o++<63){const T=x===45?b:v;return e.consume(x),T}return n(x)}}const Qs={partial:!0,tokenize:$P};function $P(e,t,n){return o;function o(a){return Ze(a)?st(e,l,"linePrefix")(a):l(a)}function l(a){return a===null||De(a)?t(a):n(a)}}const J0={continuation:{tokenize:UP},exit:jP,name:"blockQuote",tokenize:BP};function BP(e,t,n){const o=this;return l;function l(u){if(u===62){const d=o.containerState;return d.open||(e.enter("blockQuote",{_container:!0}),d.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),a}return n(u)}function a(u){return Ze(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function UP(e,t,n){const o=this;return l;function l(u){return Ze(u)?st(e,a,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):a(u)}function a(u){return e.attempt(J0,t,n)(u)}}function jP(e){e.exit("blockQuote")}const q0={name:"characterEscape",tokenize:HP};function HP(e,t,n){return o;function o(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),l}function l(a){return TP(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(a)}}const Z0={name:"characterReference",tokenize:VP};function VP(e,t,n){const o=this;let l=0,a,u;return d;function d(v){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(v),e.exit("characterReferenceMarker"),c}function c(v){return v===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(v),e.exit("characterReferenceMarkerNumeric"),p):(e.enter("characterReferenceValue"),a=31,u=Cn,m(v))}function p(v){return v===88||v===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(v),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,u=CP,m):(e.enter("characterReferenceValue"),a=7,u=Jd,m(v))}function m(v){if(v===59&&l){const b=e.exit("characterReferenceValue");return u===Cn&&!Xf(o.sliceSerialize(b))?n(v):(e.enter("characterReferenceMarker"),e.consume(v),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(v)&&l++<a?(e.consume(v),m):n(v)}}const wv={partial:!0,tokenize:YP},bv={concrete:!0,name:"codeFenced",tokenize:WP};function WP(e,t,n){const o=this,l={partial:!0,tokenize:J};let a=0,u=0,d;return c;function c(k){return p(k)}function p(k){const le=o.events[o.events.length-1];return a=le&&le[1].type==="linePrefix"?le[2].sliceSerialize(le[1],!0).length:0,d=k,e.enter("co
2887deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(k)}function m(k){return k===d?(u++,e.consume(k),m):u<3?n(k):(e.exit("codeFencedFenceSequence"),Ze(k)?st(e,v,"whitespace")(k):v(k))}function v(k){return k===null||De(k)?(e.exit("codeFencedFence"),o.interrupt?t(k):e.check(wv,R,X)(k)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(k))}function b(k){return k===null||De(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),v(k)):Ze(k)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),st(e,x,"whitespace")(k)):k===96&&k===d?n(k):(e.consume(k),b)}function x(k){return k===null||De(k)?v(k):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),T(k))}function T(k){return k===null||De(k)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),v(k)):k===96&&k===d?n(k):(e.consume(k),T)}function R(k){return e.attempt(l,X,A)(k)}function A(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),P}function P(k){return a>0&&Ze(k)?st(e,D,"linePrefix",a+1)(k):D(k)}function D(k){return k===null||De(k)?e.check(wv,R,X)(k):(e.enter("codeFlowValue"),O(k))}function O(k){return k===null||De(k)?(e.exit("codeFlowValue"),D(k)):(e.consume(k),O)}function X(k){return e.exit("codeFenced"),t(k)}function J(k,le,ye){let fe=0;return Se;function Se(pe){return k.enter("lineEnding"),k.consume(pe),k.exit("lineEnding"),ge}function ge(pe){return k.enter("codeFencedFence"),Ze(pe)?st(k,q,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(pe):q(pe)}function q(pe){return pe===d?(k.enter("codeFencedFenceSequence"),Q(pe)):ye(pe)}function Q(pe){return pe===d?(fe++,k.consume(pe),Q):fe>=u?(k.exit("codeFencedFenceSequence"),Ze(pe)?st(k,ue,"whitespace")(pe):ue(pe)):ye(pe)}function ue(pe){return pe===null||De(pe)?(k.exit("codeFencedFence"),le(pe)):ye(pe)}}}function YP(e,t,n){const o=this;return l;function l(u){return u===null?n(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a)}function a(u){return o.parser.lazy[o.now().line]?n(u):t(u)}}const pd={name:"codeIndented",tokenize:KP},GP={partial:!0,tokenize:XP};function KP(e,t,n){const o=this;return l;function l(p){return e.enter("codeIndented"),st(e,a,"linePrefix",5)(p)}function a(p){const m=o.events[o.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?u(p):n(p)}function u(p){return p===null?c(p):De(p)?e.attempt(GP,u,c)(p):(e.enter("codeFlowValue"),d(p))}function d(p){return p===null||De(p)?(e.exit("codeFlowValue"),u(p)):(e.consume(p),d)}function c(p){return e.exit("codeIndented"),t(p)}}function XP(e,t,n){const o=this;return l;function l(u){return o.parser.lazy[o.now().line]?n(u):De(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l):st(e,a,"linePrefix",5)(u)}function a(u){const d=o.events[o.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(u):De(u)?l(u):n(u)}}const QP={name:"codeText",previous:qP,resolve:JP,tokenize:ZP};function JP(e){let t=e.length-4,n=3,o,l;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(o=n;++o<t;)if(e[o][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(o=n-1,t++;++o<=t;)l===void 0?o!==t&&e[o][1].type!=="lineEnding"&&(l=o):(o===t||e[o][1].type==="lineEnding")&&(e[l][1].type="codeTextData",o!==l+2&&(e[l][1].end=e[o-1][1].end,e.splice(l+2,o-l-2),t-=o-l-2,o=l+2),l=void 0);return e}function qP(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ZP(e,t,n){let o=0,l,a;return u;function u(v){return e.enter("codeText"),e.enter("codeTextSequence"),d(v)}function d(v){return v===96?(e.consume(v),o++,d):(e.exit("codeTextSequence"),c(v))}function c(v){return v===null?n(v):v===32?(e.enter("space"),e.consume(v),e.exit("space"),c):v===96?(a=e.enter("codeTextSequence"),l=0,m(v)):De(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),c):(e.enter("codeTextData"),p(v))}function p(v){return v===null||v===32||v===96||De(v)?(e.exit("codeTextData"),c(v)):(e.consume(v),p)}function m(v){return v===96?(e.consume(v),l++,m):l===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(v)):(a.type="codeTextData",p(v))}}class eA{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const o=n??Number.POSITIVE_INFINITY;return o<this.left.length?this.left.slice(t,o):t>this.left.length?this.right.slice(this.right.length-o+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-o+this.left.length).reverse())}splice(t,n,o){const l=n||0;this.setCursor(Math.trunc(t));const a=this.right.splice(this.right.length-l,Number.POSITIVE_INFINITY);return o&&vl(this.left,o),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),vl(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),vl(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);vl(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);vl(this.left,n.reverse())}}}function vl(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function ex(e){const t={};let n=-1,o,l,a,u,d,c,p;const m=new eA(e);for(;++n<m.length;){for(;n in t;)n=t[n];if(o=m.get(n),n&&o[1].type==="chunkFlow"&&m.get(n-1)[1].type==="listItemPrefix"&&(c=o[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type==="lineEndingBlank"&&(a+=2),a<c.length&&c[a][1].type==="content"))for(;++a<c.length&&c[a][1].type!=="content";)c[a][1].type==="chunkText"&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(o[0]==="enter")o[1].contentType&&(Object.assign(t,tA(m,n)),n=t[n],p=!0);else if(o[1]._container){for(a=n,l=void 0;a--;)if(u=m.get(a),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(l&&(m.get(l)[1].type="lineEndingBlank"),u[1].type="lineEnding",l=a);else if(u[1].type!=="linePrefix")break;l&&(o[1].end={...m.get(l)[1].start},d=m.slice(l,n),d.unshift(o),m.splice(l,n-l+1,d))}}return mr(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!p}function tA(e,t){const n=e.get(t)[1],o=e.get(t)[2];let l=t-1;const a=[],u=n._tokenizer||o.parser[n.contentType](n.start),d=u.events,c=[],p={};let m,v,b=-1,x=n,T=0,R=0;const A=[R];for(;x;){for(;e.get(++l)[1]!==x;);a.push(l),x._tokenizer||(m=o.sliceStream(x),x.next||m.push(null),v&&u.defineSki
vendor: 19,336 bytes, line 2887
2887p(x.start),x._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(m),x._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),v=x,x=x.next}for(x=n;++b<d.length;)d[b][0]==="exit"&&d[b-1][0]==="enter"&&d[b][1].type===d[b-1][1].type&&d[b][1].start.line!==d[b][1].end.line&&(R=b+1,A.push(R),x._tokenizer=void 0,x.previous=void 0,x=x.next);for(u.events=[],x?(x._tokenizer=void 0,x.previous=void 0):A.pop(),b=A.length;b--;){const P=d.slice(A[b],A[b+1]),D=a.pop();c.push([D,D+P.length-1]),e.splice(D,2,P)}for(c.reverse(),b=-1;++b<c.length;)p[T+c[b][0]]=T+c[b][1],T+=c[b][1]-c[b][0]-1;return p}const nA={resolve:iA,tokenize:oA},rA={partial:!0,tokenize:lA};function iA(e){return ex(e),e}function oA(e,t){let n;return o;function o(d){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),l(d)}function l(d){return d===null?a(d):De(d)?e.check(rA,u,a)(d):(e.consume(d),l)}function a(d){return e.exit("chunkContent"),e.exit("content"),t(d)}function u(d){return e.consume(d),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,l}}function lA(e,t,n){const o=this;return l;function l(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),st(e,a,"linePrefix")}function a(u){if(u===null||De(u))return n(u);const d=o.events[o.events.length-1];return!o.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(u):e.interrupt(o.parser.constructs.flow,n,t)(u)}}function tx(e,t,n,o,l,a,u,d,c){const p=c||Number.POSITIVE_INFINITY;let m=0;return v;function v(P){return P===60?(e.enter(o),e.enter(l),e.enter(a),e.consume(P),e.exit(a),b):P===null||P===32||P===41||Qd(P)?n(P):(e.enter(o),e.enter(u),e.enter(d),e.enter("chunkString",{contentType:"string"}),R(P))}function b(P){return P===62?(e.enter(a),e.consume(P),e.exit(a),e.exit(l),e.exit(o),t):(e.enter(d),e.enter("chunkString",{contentType:"string"}),x(P))}function x(P){return P===62?(e.exit("chunkString"),e.exit(d),b(P)):P===null||P===60||De(P)?n(P):(e.consume(P),P===92?T:x)}function T(P){return P===60||P===62||P===92?(e.consume(P),x):x(P)}function R(P){return!m&&(P===null||P===41||fn(P))?(e.exit("chunkString"),e.exit(d),e.exit(u),e.exit(o),t(P)):m<p&&P===40?(e.consume(P),m++,R):P===41?(e.consume(P),m--,R):P===null||P===32||P===40||Qd(P)?n(P):(e.consume(P),P===92?A:R)}function A(P){return P===40||P===41||P===92?(e.consume(P),R):R(P)}}function nx(e,t,n,o,l,a){const u=this;let d=0,c;return p;function p(x){return e.enter(o),e.enter(l),e.consume(x),e.exit(l),e.enter(a),m}function m(x){return d>999||x===null||x===91||x===93&&!c||x===94&&!d&&"_hiddenFootnoteSupport"in u.parser.constructs?n(x):x===93?(e.exit(a),e.enter(l),e.consume(x),e.exit(l),e.exit(o),t):De(x)?(e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),v(x))}function v(x){return x===null||x===91||x===93||De(x)||d++>999?(e.exit("chunkString"),m(x)):(e.consume(x),c||(c=!Ze(x)),x===92?b:v)}function b(x){return x===91||x===92||x===93?(e.consume(x),d++,v):v(x)}}function rx(e,t,n,o,l,a){let u;return d;function d(b){return b===34||b===39||b===40?(e.enter(o),e.enter(l),e.consume(b),e.exit(l),u=b===40?41:b,c):n(b)}function c(b){return b===u?(e.enter(l),e.consume(b),e.exit(l),e.exit(o),t):(e.enter(a),p(b))}function p(b){return b===u?(e.exit(a),c(u)):b===null?n(b):De(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),st(e,p,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(b))}function m(b){return b===u||b===null||De(b)?(e.exit("chunkString"),p(b)):(e.consume(b),b===92?v:m)}function v(b){return b===u||b===92?(e.consume(b),m):m(b)}}function Tl(e,t){let n;return o;function o(l){return De(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n=!0,o):Ze(l)?st(e,o,n?"linePrefix":"lineSuffix")(l):t(l)}}const aA={name:"definition",tokenize:uA},sA={partial:!0,tokenize:cA};function uA(e,t,n){const o=this;let l;return a;function a(x){return e.enter("definition"),u(x)}function u(x){return nx.call(o,e,d,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(x)}function d(x){return l=_o(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)),x===58?(e.enter("definitionMarker"),e.consume(x),e.exit("definitionMarker"),c):n(x)}function c(x){return fn(x)?Tl(e,p)(x):p(x)}function p(x){return tx(e,m,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(x)}function m(x){return e.attempt(sA,v,v)(x)}function v(x){return Ze(x)?st(e,b,"whitespace")(x):b(x)}function b(x){return x===null||De(x)?(e.exit("definition"),o.parser.defined.push(l),t(x)):n(x)}}function cA(e,t,n){return o;function o(d){return fn(d)?Tl(e,l)(d):n(d)}function l(d){return rx(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function a(d){return Ze(d)?st(e,u,"whitespace")(d):u(d)}function u(d){return d===null||De(d)?t(d):n(d)}}const dA={name:"hardBreakEscape",tokenize:fA};function fA(e,t,n){return o;function o(a){return e.enter("hardBreakEscape"),e.consume(a),l}function l(a){return De(a)?(e.exit("hardBreakEscape"),t(a)):n(a)}}const pA={name:"headingAtx",resolve:hA,tokenize:mA};function hA(e,t){let n=e.length-2,o=3,l,a;return e[o][1].type==="whitespace"&&(o+=2),n-2>o&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(o===n-1||n-4>o&&e[n-2][1].type==="whitespace")&&(n-=o+1===n?2:4),n>o&&(l={type:"atxHeadingText",start:e[o][1].start,end:e[n][1].end},a={type:"chunkText",start:e[o][1].start,end:e[n][1].end,contentType:"text"},mr(e,o,n-o+1,[["enter",l,t],["enter",a,t],["exit",a,t],["exit",l,t]])),e}function mA(e,t,n){let o=0;return l;function l(m){return e.enter("atxHeading"),a(m)}function a(m){return e.enter("atxHeadingSequence"),u(m)}function u(m){return m===35&&o++<6?(e.consume(m),u):m===null||fn(m)?(e.exit("atxHeadingSequence"),d(m)):n(m)}function d(m){return m===35?(e.enter("atxHeadingSequence"),c(m)):m===null||De(m)?(e.exit("atxHeading"),t(m)):Ze(m)?st(e,d,"whitespace")(m):(e.enter("atxHeadingText"),p(m))}function c(m){return m===35?(e.consume(m),c):(e.exit("atxHeadingSequence"),d(m))}function p(m){return m===null||m===35||fn(m)?(e.exit("atxHeadingText"),d(m)):(e.consume(m),p)}}const gA=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],_v=["pre","script","style","textarea"],vA={concrete:!0,name:"htmlFlow",resolveTo:wA,tokenize:bA},yA={partial:!0,tokenize:SA},xA={partial:!0,tokenize:_A};function wA(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function bA(e,t,n){const o=this;let l,a,u,d,c;return p;function p(E){return m(E)}function m(E){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(E),v}function v(E){return E===33?(e.consume(E),b):E===47?(e.consume(E),a=!0,R):E===63?(e.consume(E),l=3,o.interrupt?t:S):pr(E)?(e.consume(E),u=String.fromCharCode(E),A):n(E)}function b(E){return E===45?(e.consume(E),l=2,x):E===91?(e.consume(E),l=5,d=0,T):pr(E)?(e.consume(E),l=4,o.interrupt?t:S):n(E)}function x(E){return E===45?(e.consume(E),o.interrupt?t:S):n(E)}function T(E){const Te="CDATA[";return E===Te.charCodeAt(d++)?(e.consume(E),d===Te.length?o.interrupt?t:q:T):n(E)}function R(E){return pr(E)?(e.consume(E),u=String.fromCharCode(E),A):n(E)}function A(E){if(E===null||E===47||E===62||fn(E)){const Te=E===47,ke=u.toLowerCase();return!Te&&!a&&_v.includes(ke)?(l=1,o.interrupt?t(E):q(E)):gA.includes(u.toLowerCase())?(l=6,Te?(e.consume(E),P):o.interrupt?t(E):q(E)):(l=7,o.interrupt&&!o.parser.lazy[o.now().line]?n(E):a?D(E):O(E))}return E===45||Cn(E)?(e.consume(E),u+=String.fromCharCode(E),A):n(E)}function P(E){return E===62?(e.consume(E),o.interrupt?t:q):n(E)}function D(E){return Ze(E)?(e.consume(E),D):Se(E)}function O(E){return E===47?(e.consume(E),Se):E===58||E===95||pr(E)?(e.consume(E),X):Ze(E)?(e.consume(E),O):Se(E)}function X(E){return E===45||E===46||E===58||E===95||Cn(E)?(e.consume(E),X):J(E)}function J(E){return E===61?(e.consume(E),k):Ze(E)?(e.consume(E),J):O(E)}function k(E){return E===null||E===60||E===61||E===62||E===96?n(E):E===34||E===39?(e.consume(E),c=E,le):Ze(E)?(e.consume(E),k):ye(E)}function le(E){return E===c?(e.consume(E),c=null,fe):E===null||De(E)?n(E):(e.consume(E),le)}function ye(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||fn(E)?J(E):(e.consume(E),ye)}function fe(E){return E===47||E===62||Ze(E)?O(E):n(E)}function Se(E){return E===62?(e.consume(E),ge):n(E)}function ge(E){return E===null||De(E)?q(E):Ze(E)?(e.consume(E),ge):n(E)}function q(E){return E===45&&l===2?(e.consume(E),xe):E===60&&l===1?(e.consume(E),ve):E===62&&l===4?(e.consume(E),M):E===63&&l===3?(e.consume(E),S):E===93&&l===5?(e.consume(E),he):De(E)&&(l===6||l===7)?(e.exit("htmlFlowData"),e.check(yA,K,Q)(E)):E===null||De(E)?(e.exit("htmlFlowData"),Q(E)):(e.consume(E),q)}function Q(E){return e.check(xA,ue,K)(E)}function ue(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),pe}function pe(E){return E===null||De(E)?Q(E):(e.enter("htmlFlowData"),q(E))}function xe(E){return E===45?(e.consume(E),S):q(E)}function ve(E){return E===47?(e.consume(E),u="",ne):q(E)}function ne(E){if(E===62){const Te=u.toLowerCase();return _v.includes(Te)?(e.consume(E),M):q(E)}return pr(E)&&u.length<8?(e.consume(E),u+=String.fromCharCode(E),ne):q(E)}function he(E){return E===93?(e.consume(E),S):q(E)}function S(E){return E===62?(e.consume(E),M):E===45&&l===2?(e.consume(E),S):q(E)}function M(E){return E===null||De(E)?(e.exit("htmlFlowData"),K(E)):(e.consume(E),M)}function K(E){return e.exit("htmlFlow"),t(E)}}function _A(e,t,n){const o=this;return l;function l(u){return De(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):n(u)}function a(u){return o.parser.lazy[o.now().line]?n(u):t(u)}}function SA(e,t,n){return o;function o(l){return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),e.attempt(Qs,t,n)}}const kA={name:"htmlText",tokenize:EA};function EA(e,t,n){const o=this;let l,a,u;return d;function d(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),c}function c(S){return S===33?(e.consume(S),p):S===47?(e.consume(S),J):S===63?(e.consume(S),O):pr(S)?(e.consume(S),ye):n(S)}function p(S){return S===45?(e.consume(S),m):S===91?(e.consume(S),a=0,T):pr(S)?(e.consume(S),D):n(S)}function m(S){return S===45?(e.consume(S),x):n(S)}function v(S){return S===null?n(S):S===45?(e.consume(S),b):De(S)?(u=v,ve(S)):(e.consume(S),v)}function b(S){return S===45?(e.consume(S),x):v(S)}function x(S){return S===62?xe(S):S===45?b(S):v(S)}function T(S){const M="CDATA[";return S===M.charCodeAt(a++)?(e.consume(S),a===M.length?R:T):n(S)}function R(S){return S===null?n(S):S===93?(e.consume(S),A):De(S)?(u=R,ve(S)):(e.consume(S),R)}function A(S){return S===93?(e.consume(S),P):R(S)}function P(S){return S===62?xe(S):S===93?(e.consume(S),P):R(S)}function D(S){return S===null||S===62?xe(S):De(S)?(u=D,ve(S)):(e.consume(S),D)}function O(S){return S===null?n(S):S===63?(e.consume(S),X):De(S)?(u=O,ve(S)):(e.consume(S),O)}function X(S){return S===62?xe(S):O(S)}function J(S){return pr(S)?(e.consume(S),k):n(S)}function k(S){return S===45||Cn(S)?(e.consume(S),k):le(S)}function le(S){return De(S)?(u=le,ve(S)):Ze(S)?(e.consume(S),le):xe(S)}function ye(S){return S===45||Cn(S)?(e.consume(S),ye):S===47||S===62||fn(S)?fe(S):n(S)}function fe(S){return S===47?(e.consume(S),xe):S===58||S===95||pr(S)?(e.consume(S),Se):De(S)?(u=fe,ve(S)):Ze(S)?(e.consume(S),fe):xe(S)}function Se(S){return S===45||S===46||S===58||S===95||Cn(S)?(e.consume(S),Se):ge(S)}function ge(S){return S===61?(e.consume(S),q):De(S)?(u=ge,ve(S)):Ze(S)?(e.consume(S),ge):fe(S)}function q(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),l=S,Q):De(S)?(u=q,ve(S)):Ze(S)?(e.consume(S),q):(e.consume(S),ue)}function Q(S){return S===l?(e.consume(S),l=void 0,pe):S===null?n(S):De(S)?(u=Q,ve(S)):(e.consume(S),Q)}function ue(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||fn(S)?fe(S):(e.consume(S),ue)}function pe(S){return S===47||S===62||fn(S)?fe(S):n(S)}function xe(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):n(S)}function ve(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),ne}function ne(S){return Ze(S)?st(e,he,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):he(S)}function he(S){return e.enter("htmlTextData"),u(S)}}const Jf={name:"labelEnd",resolveAll:AA,resolveTo:RA,tokenize:NA},CA={tokenize:LA},TA={tokenize:IA},PA={tokenize:OA};function AA(e){let t=-1;const n=[];for(;++t<e.length;){const o=e[t][1];if(n.push(e[t]),o.type==="labelImage"||o.type==="labelLink"||o.type==="labelEnd"){const l=o.type==="labelImage"?4:2;o.type="data",t+=l}}return e.length!==n.length&&mr(e,0,e.length,n),e}function RA(e,t){let n=e.length,o=0,l,a,u,d;for(;n--;)if(l=e[n][1],a){if(l.type==="link"||l.type==="labelLink"&&l._inactive)break;e[n][0]==="enter"&&l.type==="labelLink"&&(l._inactive=!0)}else if(u){if(e[n][0]==="enter"&&(l.type==="labelImage"||l.type==="labelLink")&&!l._balanced&&(a=n,l.type!=="labelLink")){o=2;break}}else l.type==="labelEnd"&&(u=n);const c={type:e[a][1].type==="labelLink"?"link":"image",start:{...e[a][1].start},end:{...e[e.length-1][1].end}},p={type:"label",start:{...e[a][1].start},end:{...e[u][1].end}},m={type:"labelText",start:{...e[a+o+2][1].end},end:{...e[u-2][1].start}};return d=[["enter",c,t],["enter",p,t]],d=Bn(d,e.slice(a+1,a+o+3)),d=Bn(d,[["enter",m,t]]),d=Bn(d,Qf(t.parser.constructs.insideSpan.null,e.slice(a+o+4,u-3),t)),d=Bn(d,[["exit",m,t],e[u-2],e[u-1],["exit",p,t]]),d=Bn(d,e.slice(u+1)),d=Bn(d,[["exit",c,t]]),mr(e,a,e.length,d),e}function NA(e,t,n){const o=this;let l=o.events.length,a,u;for(;l--;)if((o.events[l][1].type==="labelImage"||o.events[l][1].type==="labelLink")&&!o.events[l][1]._balanced){a=o.events[l][1];break}return d;function d(b){return a?a._inactive?v(b):(u=o.parser.defined.includes(_o(o.sliceSerialize({start:a.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),c):n(b)}function c(b){return b===40?e.attempt(CA,m,u?m:v)(b):b===91?e.attempt(TA,m,u?p:v)(b):u?m(b):v(b)}function p(b){return e.attempt(PA,m,v)(b)}function m(b){return t(b)}function v(b){return a._balanced=!0,n(b)}}function LA(e,t,n){return o;function o(v){return e.enter("resource"),e.enter("resourceMarker"),e.consume(v),e.exit("resourceMarker"),l}function l(v){return fn(v)?Tl(e,a)(v):a(v)}function a(v){return v===41?m(v):tx(e,u,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(v)}function u(v){return fn(v)?Tl(e,c)(v):m(v)}function d(v){return n(v)}function c(v){return v===34||v===39||v===40?rx(e,p,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(v):m(v)}function p(v){return fn(v)?Tl(e,m)(v):m(v)}function m(v){return v===41?(e.enter("resourceMarker"),e.consume(v),e.exit("resourceMarker"),e.exit("resource"),t):n(v)}}function IA(e,t,n){const o=this;return l;function l(d){return nx.call(o,e,a,u,"reference","referenceMarker","referenceString")(d)}function a(d){return o.parser.defined.includes(_o(o.sliceSerialize(o.events[o.events.length-1][1]).slice(1,-1)))?t(d):n(d)}function u(d){return n(d)}}function OA(e,t,n){return o;function o(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),l}function l(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):n(a)}}const zA={name:"labelStartImage",resolveAll:Jf.resolveAll,tokenize:MA};function MA(e,t,n){const o=this;return l;function l(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),a}function a(d){return d===91?(e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),u):n(d)}function u(d){return d===94&&"_hiddenFootnoteSupport"in o.parser.constructs?n(d):t(d)}}const DA={name:"labelStartLink",resolveAll:Jf.resolveAll,tokenize:FA};function FA(e,t,n){const o=this;return l;function l(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),a}function a(u){return u===94&&"_hiddenFootnoteSupport"in o.parser.constructs?n(u):t(u)}}const hd={name:"lineEnding",tokenize:$A};function $A(e,t){return n;function n(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),st(e,t,"linePrefix")}}const ms={name:"thematicBreak",tokenize:BA};function BA(e,t,n){let o=0,l;return a;function a(p){return e.enter("thematicBreak"),u(p)}function u(p){return l=p,d(p)}function d(p){return p===l?(e.enter("thematicBreakSequence"),c(p)):o>=3&&(p===null||De(p))?(e.exit("thematicBreak"),t(p)):n(p)}function c(p){return p===l?(e.consume(p),o++,c):(e.exit("thematicBreakSequence"),Ze(p)?st(e,d,"whitespace")(p):d(p))}}const cn={continuation:{tokenize:VA},exit:YA,name:"list",tokenize:HA},UA={partial:!0,tokenize:GA},jA={partial:!0,tokenize:WA};function HA(e,t,n){const o=this,l=o.events[o.events.length-1];let a=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,u=0;return d;function d(x){const T=o.containerState.type||(x===42||x===43||x===45?"listUnordered":"listOrdered");if(T==="listUnordered"?!o.containerState.marker||x===o.containerState.marker:Jd(x)){if(o.containerState.type||(o.containerState.type=T,e.enter(T,{_container:!0})),T==="listUnordered")return e.enter("listItemPrefix"),x===42||x===45?e.check(ms,n,p)(x):p(x);if(!o.interrupt||x===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(x)}return n(x)}function c(x){return Jd(x)&&++u<10?(e.consume(x),c):(!o.interrupt||u<2)&&(o.containerState.marker?x===o.containerState.marker:x===41||x===46)?(e.exit("listItemValue"),p(x)):n(x)}function p(x){return e.enter("listItemMarker"),e.consume(x),e.exit("listItemMarker"),o.containerState.marker=o.containerState.marker||x,e.check(Qs,o.interrupt?n:m,e.attempt(UA,b,v))}function m(x){return o.containerState.initialBlankLine=!0,a++,b(x)}function v(x){return Ze(x)?(e.enter("listItemPrefixWhitespace"),e.consume(x),e.exit("listItemPrefixWhitespace"),b):n(x)}function b(x){return o.containerState.size=a+o.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(x)}}function VA(e,t,n){const o=this;return o.containerState._closeFlow=void 0,e.check(Qs,l,a);function l(d){return o.containerState.furtherBlankLines=o.containerState.furtherBlankLines||o.containerState.initialBlankLine,st(e,t,"listItemIndent",o.containerState.size+1)(d)}function a(d){return o.containerState.furtherBlankLines||!Ze(d)?(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine
vendor: 4,612 bytes, line 2887
2887=void 0,u(d)):(o.containerState.furtherBlankLines=void 0,o.containerState.initialBlankLine=void 0,e.attempt(jA,t,u)(d))}function u(d){return o.containerState._closeFlow=!0,o.interrupt=void 0,st(e,e.attempt(cn,t,n),"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function WA(e,t,n){const o=this;return st(e,l,"listItemIndent",o.containerState.size+1);function l(a){const u=o.events[o.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===o.containerState.size?t(a):n(a)}}function YA(e){e.exit(this.containerState.type)}function GA(e,t,n){const o=this;return st(e,l,"listItemPrefixWhitespace",o.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function l(a){const u=o.events[o.events.length-1];return!Ze(a)&&u&&u[1].type==="listItemPrefixWhitespace"?t(a):n(a)}}const Sv={name:"setextUnderline",resolveTo:KA,tokenize:XA};function KA(e,t){let n=e.length,o,l,a;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){o=n;break}e[n][1].type==="paragraph"&&(l=n)}else e[n][1].type==="content"&&e.splice(n,1),!a&&e[n][1].type==="definition"&&(a=n);const u={type:"setextHeading",start:{...e[l][1].start},end:{...e[e.length-1][1].end}};return e[l][1].type="setextHeadingText",a?(e.splice(l,0,["enter",u,t]),e.splice(a+1,0,["exit",e[o][1],t]),e[o][1].end={...e[a][1].end}):e[o][1]=u,e.push(["exit",u,t]),e}function XA(e,t,n){const o=this;let l;return a;function a(p){let m=o.events.length,v;for(;m--;)if(o.events[m][1].type!=="lineEnding"&&o.events[m][1].type!=="linePrefix"&&o.events[m][1].type!=="content"){v=o.events[m][1].type==="paragraph";break}return!o.parser.lazy[o.now().line]&&(o.interrupt||v)?(e.enter("setextHeadingLine"),l=p,u(p)):n(p)}function u(p){return e.enter("setextHeadingLineSequence"),d(p)}function d(p){return p===l?(e.consume(p),d):(e.exit("setextHeadingLineSequence"),Ze(p)?st(e,c,"lineSuffix")(p):c(p))}function c(p){return p===null||De(p)?(e.exit("setextHeadingLine"),t(p)):n(p)}}const QA={tokenize:JA};function JA(e){const t=this,n=e.attempt(Qs,o,e.attempt(this.parser.constructs.flowInitial,l,st(e,e.attempt(this.parser.constructs.flow,l,e.attempt(nA,l)),"linePrefix")));return n;function o(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function l(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const qA={resolveAll:ox()},ZA=ix("string"),e2=ix("text");function ix(e){return{resolveAll:ox(e==="text"?t2:void 0),tokenize:t};function t(n){const o=this,l=this.parser.constructs[e],a=n.attempt(l,u,d);return u;function u(m){return p(m)?a(m):d(m)}function d(m){if(m===null){n.consume(m);return}return n.enter("data"),n.consume(m),c}function c(m){return p(m)?(n.exit("data"),a(m)):(n.consume(m),c)}function p(m){if(m===null)return!0;const v=l[m];let b=-1;if(v)for(;++b<v.length;){const x=v[b];if(!x.previous||x.previous.call(o,o.previous))return!0}return!1}}}function ox(e){return t;function t(n,o){let l=-1,a;for(;++l<=n.length;)a===void 0?n[l]&&n[l][1].type==="data"&&(a=l,l++):(!n[l]||n[l][1].type!=="data")&&(l!==a+2&&(n[a][1].end=n[l-1][1].end,n.splice(a+2,l-a-2),l=a+2),a=void 0);return e?e(n,o):n}}function t2(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const o=e[n-1][1],l=t.sliceStream(o);let a=l.length,u=-1,d=0,c;for(;a--;){const p=l[a];if(typeof p=="string"){for(u=p.length;p.charCodeAt(u-1)===32;)d++,u--;if(u)break;u=-1}else if(p===-2)c=!0,d++;else if(p!==-1){a++;break}}if(d){const p={type:n===e.length||c||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?u:o.start._bufferIndex+u,_index:o.start._index+a,line:o.end.line,column:o.end.column-d,offset:o.end.offset-d},end:{...o.end}};o.end={...p.start},o.start.offset===o.end.offset?Object.assign(o,p):(e.splice(n,0,["enter",p,t],["exit",p,t]),n+=2)}n++}return e}const n2={42:cn,43:cn,45:cn,48:cn,49:cn,50:cn,51:cn,52:cn,53:cn,54:cn,55:cn,56:cn,57:cn,62:J0},r2={91:aA},i2={[-2]:pd,[-1]:pd,32:pd},o2={35:pA,42:ms,45:[Sv,ms],60:vA,61:Sv,95:ms,96:bv,126:bv},l2={38:Z0,92:q0},a2={[-5]:hd,[-4]:hd,[-3]:hd,33:zA,38:Z0,42:qd,60:[DP,kA],91:DA,92:[dA,q0],93:Jf,95:qd,96:QP},s2={null:[qd,qA]},u2={null:[42,95]},c2={null:[]},d2=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:u2,contentInitial:r2,disable:c2,document:n2,flow:o2,flowInitial:i2,insideSpan:s2,string:l2,text:a2},Symbol.toStringTag,{value:"Module"}));function f2(e,t,n){let o={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 18,547 bytes, lines 2887-2891
2887olumn:n&&n.column||1,offset:n&&n.offset||0};const l={},a=[];let u=[],d=[];const c={attempt:le(J),check:le(k),consume:D,enter:O,exit:X,interrupt:le(k,{interrupt:!0})},p={code:null,containerState:{},defineSkip:R,events:[],now:T,parser:e,previous:null,sliceSerialize:b,sliceStream:x,write:v};let m=t.tokenize.call(p,c);return t.resolveAll&&a.push(t),p;function v(ge){return u=Bn(u,ge),A(),u[u.length-1]!==null?[]:(ye(t,0),p.events=Qf(a,p.events,p),p.events)}function b(ge,q){return h2(x(ge),q)}function x(ge){return p2(u,ge)}function T(){const{_bufferIndex:ge,_index:q,line:Q,column:ue,offset:pe}=o;return{_bufferIndex:ge,_index:q,line:Q,column:ue,offset:pe}}function R(ge){l[ge.line]=ge.column,Se()}function A(){let ge;for(;o._index<u.length;){const q=u[o._index];if(typeof q=="string")for(ge=o._index,o._bufferIndex<0&&(o._bufferIndex=0);o._index===ge&&o._bufferIndex<q.length;)P(q.charCodeAt(o._bufferIndex));else P(q)}}function P(ge){m=m(ge)}function D(ge){De(ge)?(o.line++,o.column=1,o.offset+=ge===-3?2:1,Se()):ge!==-1&&(o.column++,o.offset++),o._bufferIndex<0?o._index++:(o._bufferIndex++,o._bufferIndex===u[o._index].length&&(o._bufferIndex=-1,o._index++)),p.previous=ge}function O(ge,q){const Q=q||{};return Q.type=ge,Q.start=T(),p.events.push(["enter",Q,p]),d.push(Q),Q}function X(ge){const q=d.pop();return q.end=T(),p.events.push(["exit",q,p]),q}function J(ge,q){ye(ge,q.from)}function k(ge,q){q.restore()}function le(ge,q){return Q;function Q(ue,pe,xe){let ve,ne,he,S;return Array.isArray(ue)?K(ue):"tokenize"in ue?K([ue]):M(ue);function M(Ae){return Be;function Be(Y){const ee=Y!==null&&Ae[Y],me=Y!==null&&Ae.null,Ye=[...Array.isArray(ee)?ee:ee?[ee]:[],...Array.isArray(me)?me:me?[me]:[]];return K(Ye)(Y)}}function K(Ae){return ve=Ae,ne=0,Ae.length===0?xe:E(Ae[ne])}function E(Ae){return Be;function Be(Y){return S=fe(),he=Ae,Ae.partial||(p.currentConstruct=Ae),Ae.name&&p.parser.constructs.disable.null.includes(Ae.name)?ke():Ae.tokenize.call(q?Object.assign(Object.create(p),q):p,c,Te,ke)(Y)}}function Te(Ae){return ge(he,S),pe}function ke(Ae){return S.restore(),++ne<ve.length?E(ve[ne]):xe}}}function ye(ge,q){ge.resolveAll&&!a.includes(ge)&&a.push(ge),ge.resolve&&mr(p.events,q,p.events.length-q,ge.resolve(p.events.slice(q),p)),ge.resolveTo&&(p.events=ge.resolveTo(p.events,p))}function fe(){const ge=T(),q=p.previous,Q=p.currentConstruct,ue=p.events.length,pe=Array.from(d);return{from:ue,restore:xe};function xe(){o=ge,p.previous=q,p.currentConstruct=Q,p.events.length=ue,d=pe,Se()}}function Se(){o.line in l&&o.column<2&&(o.column=l[o.line],o.offset+=l[o.line]-1)}}function p2(e,t){const n=t.start._index,o=t.start._bufferIndex,l=t.end._index,a=t.end._bufferIndex;let u;if(n===l)u=[e[n].slice(o,a)];else{if(u=e.slice(n,l),o>-1){const d=u[0];typeof d=="string"?u[0]=d.slice(o):u.shift()}a>0&&u.push(e[l].slice(0,a))}return u}function h2(e,t){let n=-1;const o=[];let l;for(;++n<e.length;){const a=e[n];let u;if(typeof a=="string")u=a;else switch(a){case-5:{u="\r";break}case-4:{u=` 2888`;break}case-3:{u=`\r 2889`;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&l)continue;u=" ";break}default:u=String.fromCharCode(a)}l=a===-2,o.push(u)}return o.join("")}function m2(e){const o={constructs:_P([d2,...(e||{}).extensions||[]]),content:l(RP),defined:[],document:l(LP),flow:l(QA),lazy:{},string:l(ZA),text:l(e2)};return o;function l(a){return u;function u(d){return f2(o,a,d)}}}function g2(e){for(;!ex(e););return e}const kv=/[\0\t\n\r]/g;function v2(){let e=1,t="",n=!0,o;return l;function l(a,u,d){const c=[];let p,m,v,b,x;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(u||void 0).decode(a)),v=0,t="",n&&(a.charCodeAt(0)===65279&&v++,n=void 0);v<a.length;){if(kv.lastIndex=v,p=kv.exec(a),b=p&&p.index!==void 0?p.index:a.length,x=a.charCodeAt(b),!p){t=a.slice(v);break}if(x===10&&v===b&&o)c.push(-3),o=void 0;else switch(o&&(c.push(-5),o=void 0),v<b&&(c.push(a.slice(v,b)),e+=b-v),x){case 0:{c.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,c.push(-2);e++<m;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:o=!0,e=1}v=b+1}return d&&(o&&c.push(-5),t&&c.push(t),c.push(null)),c}}const y2=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function x2(e){return e.replace(y2,w2)}function w2(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const l=n.charCodeAt(1),a=l===120||l===88;return Q0(n.slice(a?2:1),a?16:10)}return Xf(n)||e}const lx={}.hasOwnProperty;function b2(e,t,n){return typeof t!="string"&&(n=t,t=void 0),_2(n)(g2(m2(n).document().write(v2()(e,t,!0))))}function _2(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(Qt),autolinkProtocol:fe,autolinkEmail:fe,atxHeading:a(xt),blockQuote:a(me),characterEscape:fe,characterReference:fe,codeFenced:a(Ye),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:a(Ye,u),codeText:a(ut,u),codeTextData:fe,data:fe,codeFlowValue:fe,definition:a(Ge),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:a(gt),hardBreakEscape:a(jt),hardBreakTrailing:a(jt),htmlFlow:a(An,u),htmlFlowData:fe,htmlText:a(An,u),htmlTextData:fe,image:a(mn),label:u,link:a(Qt),listItem:a(Rn),listItemValue:b,listOrdered:a(Ht,v),listUnordered:a(Ht),paragraph:a(Et),reference:E,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:a(xt),strong:a(gn),thematicBreak:a(Vt)},exit:{atxHeading:c(),atxHeadingSequence:J,autolink:c(),autolinkEmail:ee,autolinkProtocol:Y,blockQuote:c(),characterEscapeValue:Se,characterReferenceMarkerHexadecimal:ke,characterReferenceMarkerNumeric:ke,characterReferenceValue:Ae,characterReference:Be,codeFenced:c(A),codeFencedFence:R,codeFencedFenceInfo:x,codeFencedFenceMeta:T,codeFlowValue:Se,codeIndented:c(P),codeText:c(pe),codeTextData:Se,data:Se,definition:c(),definitionDestinationString:X,definitionLabelString:D,definitionTitleString:O,emphasis:c(),hardBreakEscape:c(q),hardBreakTrailing:c(q),htmlFlow:c(Q),htmlFlowData:Se,htmlText:c(ue),htmlTextData:Se,image:c(ve),label:he,labelText:ne,lineEnding:ge,link:c(xe),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:Te,resourceDestinationString:S,resourceTitleString:M,resource:K,setextHeading:c(ye),setextHeadingLineSequence:le,setextHeadingText:k,strong:c(),thematicBreak:c()}};ax(t,(e||{}).mdastExtensions||[]);const n={};return o;function o(G){let se={type:"root",children:[]};const Ne={stack:[se],tokenStack:[],config:t,enter:d,exit:p,buffer:u,resume:m,data:n},Fe=[];let Ue=-1;for(;++Ue<G.length;)if(G[Ue][1].type==="listOrdered"||G[Ue][1].type==="listUnordered")if(G[Ue][0]==="enter")Fe.push(Ue);else{const rt=Fe.pop();Ue=l(G,rt,Ue)}for(Ue=-1;++Ue<G.length;){const rt=t[G[Ue][0]];lx.call(rt,G[Ue][1].type)&&rt[G[Ue][1].type].call(Object.assign({sliceSerialize:G[Ue][2].sliceSerialize},Ne),G[Ue][1])}if(Ne.tokenStack.length>0){const rt=Ne.tokenStack[Ne.tokenStack.length-1];(rt[1]||Ev).call(Ne,void 0,rt[0])}for(se.position={start:ti(G.length>0?G[0][1].start:{line:1,column:1,offset:0}),end:ti(G.length>0?G[G.length-2][1].end:{line:1,column:1,offset:0})},Ue=-1;++Ue<t.transforms.length;)se=t.transforms[Ue](se)||se;return se}function l(G,se,Ne){let Fe=se-1,Ue=-1,rt=!1,Ct,Dt,vn,jn;for(;++Fe<=Ne;){const ct=G[Fe];switch(ct[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ct[0]==="enter"?Ue++:Ue--,jn=void 0;break}case"lineEndingBlank":{ct[0]==="enter"&&(Ct&&!jn&&!Ue&&!vn&&(vn=Fe),jn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:jn=void 0}if(!Ue&&ct[0]==="enter"&&ct[1].type==="listItemPrefix"||Ue===-1&&ct[0]==="exit"&&(ct[1].type==="listUnordered"||ct[1].type==="listOrdered")){if(Ct){let Ft=Fe;for(Dt=void 0;Ft--;){const Rt=G[Ft];if(Rt[1].type==="lineEnding"||Rt[1].type==="lineEndingBlank"){if(Rt[0]==="exit")continue;Dt&&(G[Dt][1].type="lineEndingBlank",rt=!0),Rt[1].type="lineEnding",Dt=Ft}else if(!(Rt[1].type==="linePrefix"||Rt[1].type==="blockQuotePrefix"||Rt[1].type==="blockQuotePrefixWhitespace"||Rt[1].type==="blockQuoteMarker"||Rt[1].type==="listItemIndent"))break}vn&&(!Dt||vn<Dt)&&(Ct._spread=!0),Ct.end=Object.assign({},Dt?G[Dt][1].start:ct[1].end),G.splice(Dt||Fe,0,["exit",Ct,ct[2]]),Fe++,Ne++}if(ct[1].type==="listItemPrefix"){const Ft={type:"listItem",_spread:!1,start:Object.assign({},ct[1].start),end:void 0};Ct=Ft,G.splice(Fe,0,["enter",Ft,ct[2]]),Fe++,Ne++,vn=void 0,jn=!0}}}return G[se][1]._spread=rt,Ne}function a(G,se){return Ne;function Ne(Fe){d.call(this,G(Fe),Fe),se&&se.call(this,Fe)}}function u(){this.stack.push({type:"fragment",children:[]})}function d(G,se,Ne){this.stack[this.stack.length-1].children.push(G),this.stack.push(G),this.tokenStack.push([se,Ne||void 0]),G.position={start:ti(se.start),end:void 0}}function c(G){return se;function se(Ne){G&&G.call(this,Ne),p.call(this,Ne)}}function p(G,se){const Ne=this.stack.pop(),Fe=this.tokenStack.pop();if(Fe)Fe[0].type!==G.type&&(se?se.call(this,G,Fe[0]):(Fe[1]||Ev).call(this,G,Fe[0]));else throw new Error("Cannot close `"+G.type+"` ("+Cl({start:G.start,end:G.end})+"): it’s not open");Ne.position.end=ti(G.end)}function m(){return wP(this.stack.pop())}function v(){this.data.expectingFirstListItemValue=!0}function b(G){if(this.data.expectingFirstListItemValue){const se=this.stack[this.stack.length-2];se.start=Number.parseInt(this.sliceSerialize(G),10),this.data.expectingFirstListItemValue=void 0}}function x(){const G=this.resume(),se=this.stack[this.stack.length-1];se.lang=G}function T(){const G=this.resume(),se=this.stack[this.stack.length-1];se.meta=G}function R(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const G=this.resume(),se=this.stack[this.stack.length-1];se.value=G.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function P(){const G=this.resume(),se=this.stack[this.stack.length-1];se.value=G.replace(/(\r?\n|\r)$/g,"")}function D(G){const se=this.resume(),Ne=this.stack[this.stack.length-1];Ne.label=se,Ne.identifier=_o(this.sliceSerialize(G)).toLowerCase()}function O(){const G=this.resume(),se=this.stack[this.stack.length-1];se.title=G}function X(){const G=this.resume(),se=this.stack[this.stack.length-1];se.url=G}function J(G){const se=this.stack[this.stack.length-1];if(!se.depth){const Ne=this.sliceSerialize(G).length;se.depth=Ne}}function k(){this.data.setextHeadingSlurpLineEnding=!0}function le(G){const se=this.stack[this.stack.length-1];se.depth=this.sliceSerialize(G).codePointAt(0)===61?1:2}function ye(){this.data.setextHeadingSlurpLineEnding=void 0}function fe(G){const Ne=this.stack[this.stack.length-1].children;let Fe=Ne[Ne.length-1];(!Fe||Fe.type!=="text")&&(Fe=yr(),Fe.position={start:ti(G.start),end:void 0},Ne.push(Fe)),this.stack.push(Fe)}function Se(G){const se=this.stack.pop();se.value+=this.sliceSerialize(G),se.position.end=ti(G.end)}function ge(G){const se=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ne=se.children[se.children.length-1];Ne.position.end=ti(G.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(se.type)&&(fe.call(this,G),Se.call(this,G))}function q(){this.data.atHardBreak=!0}function Q(){const G=this.resume(),se=this.stack[this.stack.length-1];se.value=G}function ue(){const G=this.resume(),se=this.stack[this.stack.length-1];se.value=G}function pe(){const G=this.resume(),se=this.stack[this.stack.length-1];se.value=G}function xe(){const G=this.stack[this.stack.length-1];if(this.data.inReference){const se=this.data.referenceType||"shortcut";G.type+="Reference",G.referenceType=se,delete G.url,delete G.title}else delete G.identifier,delete G.label;this.data.referenceType=void 0}function ve(){const G=this.stack[this.stack.length-1];if(this.data.inReference){const se=this.data.referenceType||"shortcut";G.type+="Reference",G.referenceType=se,delete G.url,delete G.title}else delete G.identifier,delete G.label;this.data.referenceType=void 0}function ne(G){const se=this.sliceSerialize(G),Ne=this.stack[this.stack.length-2];Ne.label=x2(se),Ne.identifier=_o(se).toLowerCase()}function he(){const G=this.stack[this.stack.length-1],se=this.resume(),Ne=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ne.type==="link"){const Fe=G.children;Ne.children=Fe}else Ne.alt=se}function S(){const G=this.resume(),se=this.stack[this.stack.length-1];se.url=G}function M(){const G=this.resume(),se=this.stack[this.stack.length-1];se.title=G}function K(){this.data.inReference=void 0}function E(){this.data.referenceType="collapsed"}function Te(G){const se=this.resume(),Ne=this.stack[this.stack.length-1];Ne.label=se,Ne.identifier=_o(this.sliceSerialize(G)).toLowerCase(),this.data.referenceType="full"}function ke(G){this.data.characterReferenceType=G.type}function Ae(G){const se=this.sliceSerialize(G),Ne=this.data.characterReferenceType;let Fe;Ne?(Fe=Q0(se,Ne==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Fe=Xf(se);const Ue=this.stack[this.stack.length-1];Ue.value+=Fe}function Be(G){const se=this.stack.pop();se.position.end=ti(G.end)}function Y(G){Se.call(this,G);const se=this.stack[this.stack.length-1];se.url=this.sliceSerialize(G)}function ee(G){Se.call(this,G);const se=this.stack[this.stack.length-1];se.url="mailto:"+this.sliceSerialize(G)}function me(){return{type:"blockquote",children:[]}}function Ye(){return{type:"code",lang:null,meta:null,value:""}}function ut(){return{type:"inlineCode",value:""}}function Ge(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function gt(){return{type:"emphasis",children:[]}}function xt(){return{type:"heading",depth:0,children:[]}}function jt(){return{type:"break"}}function An(){return{type:"html",value:""}}function mn(){return{type:"image",title:null,url:"",alt:null}}function Qt(){return{type:"link",title:null,url:"",children:[]}}function Ht(G){return{type:"list",ordered:G.type==="listOrdered",start:null,spread:G._spread,children:[]}}function Rn(G){return{type:"listItem",spread:G._spread,checked:null,children:[]}}function Et(){return{type:"paragraph",children:[]}}function gn(){return{type:"strong",children:[]}}function yr(){return{type:"text",value:""}}function Vt(){return{type:"thematicBreak"}}}function ti(e){return{line:e.line,column:e.column,offset:e.offset}}function ax(e,t){let n=-1;for(;++n<t.length;){const o=t[n];Array.isArray(o)?ax(e,o):S2(e,o)}}function S2(e,t){let n;for(n in t)if(lx.call(t,n))switch(n){case"canContainEols":{const o=t[n];o&&e[n].push(...o);break}case"transforms":{const o=t[n];o&&e[n].push(...o);break}case"enter":case"exit":{const o=t[n];o&&Object.assign(e[n],o);break}}}function Ev(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Cl({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Cl({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Cl({start:t.start,end:t.end})+") is still open")}function k2(e){const t=this;t.parser=n;function n(o){return b2(o,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function E2(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function C2(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 2890`}]}function T2(e,t){const n=t.value?t.value+` 2891`:"",o={};t.lang&&(o.className=["language-"+t.lang]);let l={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l=e.applyData(t,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(t,l),l}function P2(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function A2(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function R2(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",o=String(t.identifier).toUpperCase(),l=Ao(o.toLowerCase()),a=e.footnoteOrder.indexOf(o);let u,d=e.footnoteCounts.get(o);d===void 0?(d=0,e.footnoteOrder.push(o),u=e.footnoteOrder.length):u=a+1,d+=1,e.footnoteCounts.set(o,d);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+l,id:n+"fnref-"+l+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,c);const p={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,p),e.applyData(t,p)}function N2(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function L2(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function sx(e,t){const n=t.referenceType;let o="]";if(n==="collapsed"?o+="[]":n==="full"&&(o+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+o}];const l=e.all(t),a=l[0];a&&a.type==="text"?a.value="["+a.value:l.unshift({type:"text",value:"["});const u=l[l.length-1];return u&&u.type==="text"?u.value+=o:l.push({type:"text",value:o}),l}function I2(e,t){const n=String(t.identifier).toUpperCase(),o=e.definitionById.get(n);if(!o)return sx(e,t);const l={src:Ao(o.url||""),alt:t.alt};o.title!==null&&o.title!==void 0&&(l.title=o.title);const a={type:"element",tagName:"img",properties:l,children:[]};return e.patch(t,a),e.applyData(t,a)}function O2(e,t){const n={src:Ao(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const o={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,o),e.applyData(t,o)}function z2(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const o={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,o),e.applyData(t,o)}function M2(e,t){const n=String(t.identifier).toUpperCase(),o=e.definitionById.get(n);if(!o)return sx(e,t);const l={href:Ao(o.url||"")};o.title!==null&&o.title!==void 0&&(l.title=o.title);const a={type:"element",tagName:"a",properties:l,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function D2(e,t){const n={href:Ao(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const o={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function F2(e,t,n){const o=e.all(t),l=n?$2(n):ux(t),a={},u=[];
vendor: 6,834 bytes, lines 2891-2893
2891if(typeof t.checked=="boolean"){const m=o[0];let v;m&&m.type==="element"&&m.tagName==="p"?v=m:(v={type:"element",tagName:"p",properties:{},children:[]},o.unshift(v)),v.children.length>0&&v.children.unshift({type:"text",value:" "}),v.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let d=-1;for(;++d<o.length;){const m=o[d];(l||d!==0||m.type!=="element"||m.tagName!=="p")&&u.push({type:"text",value:` 2892`}),m.type==="element"&&m.tagName==="p"&&!l?u.push(...m.children):u.push(m)}const c=o[o.length-1];c&&(l||c.type!=="element"||c.tagName!=="p")&&u.push({type:"text",value:` 2893`});const p={type:"element",tagName:"li",properties:a,children:u};return e.patch(t,p),e.applyData(t,p)}function $2(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let o=-1;for(;!t&&++o<n.length;)t=ux(n[o])}return t}function ux(e){const t=e.spread;return t??e.children.length>1}function B2(e,t){const n={},o=e.all(t);let l=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++l<o.length;){const u=o[l];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(o,!0)};return e.patch(t,a),e.applyData(t,a)}function U2(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function j2(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function H2(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function V2(e,t){const n=e.all(t),o=n.shift(),l=[];if(o){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([o],!0)};e.patch(t.children[0],u),l.push(u)}if(n.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},d=Wf(t.children[1]),c=H0(t.children[t.children.length-1]);d&&c&&(u.position={start:d,end:c}),l.push(u)}const a={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(t,a),e.applyData(t,a)}function W2(e,t,n){const o=n?n.children:void 0,a=(o?o.indexOf(t):1)===0?"th":"td",u=n&&n.type==="table"?n.align:void 0,d=u?u.length:t.children.length;let c=-1;const p=[];for(;++c<d;){const v=t.children[c],b={},x=u?u[c]:void 0;x&&(b.align=x);let T={type:"element",tagName:a,properties:b,children:[]};v&&(T.children=e.all(v),e.patch(v,T),T=e.applyData(v,T)),p.push(T)}const m={type:"element",tagName:"tr",properties:{},children:e.wrap(p,!0)};return e.patch(t,m),e.applyData(t,m)}function Y2(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Cv=9,Tv=32;function G2(e){const t=String(e),n=/\r?\n|\r/g;let o=n.exec(t),l=0;const a=[];for(;o;)a.push(Pv(t.slice(l,o.index),l>0,!0),o[0]),l=o.index+o[0].length,o=n.exec(t);return a.push(Pv(t.slice(l),l>0,!1)),a.join("")}function Pv(e,t,n){let o=0,l=e.length;if(t){let a=e.codePointAt(o);for(;a===Cv||a===Tv;)o++,a=e.codePointAt(o)}if(n){let a=e.codePointAt(l-1);for(;a===Cv||a===Tv;)l--,a=e.codePointAt(l-1)}return l>o?e.slice(o,l):""}function K2(e,t){const n={type:"text",value:G2(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function X2(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Q2={blockquote:E2,break:C2,code:T2,delete:P2,emphasis:A2,footnoteReference:R2,heading:N2,html:L2,imageReference:I2,image:O2,inlineCode:z2,linkReference:M2,link:D2,listItem:F2,list:B2,paragraph:U2,root:j2,strong:H2,table:V2,tableCell:Y2,tableRow:W2,text:K2,thematicBreak:X2,toml:is,yaml:is,definition:is,footnoteDefinition:is};function is(){}const cx=-1,Js=0,Pl=1,Ls=2,qf=3,Zf=4,ep=5,tp=6,dx=7,fx=8,Av=typeof self=="object"?self:globalThis,J2=(e,t)=>{const n=(l,a)=>(e.set(a,l),l),o=l=>{if(e.has(l))return e.get(l);const[a,u]=t[l];switch(a){case Js:case cx:return n(u,l);case Pl:{const d=n([],l);for(const c of u)d.push(o(c));return d}case Ls:{const d=n({},l);for(const[c,p]of u)d[o(c)]=o(p);return d}case qf:return n(new Date(u),l);case Zf:{const{source:d,flags:c}=u;return n(new RegExp(d,c),l)}case ep:{const d=n(new Map,l);for(const[c,p]of u)d.set(o(c),o(p));return d}case tp:{const d=n(new Set,l);for(const c of u)d.add(o(c));return d}case dx:{const{name:d,message:c}=u;return n(new Av[d](c),l)}case fx:return n(BigInt(u),l);case"BigInt":return n(Object(BigInt(u)),l);case"ArrayBuffer":return n(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:d}=new Uint8Array(u);return n(new DataView(d),u)}}return n(new Av[a](u),l)};return o},Rv=e=>J2(new Map,e)(0),co="",{toString:q2}={},{keys:Z2}=Object,yl=e=>{const t=typeof e;if(t!=="object"||!e)return[Js,t];const n=q2.call(e).slice(8,-1);switch(n){case"Array":return[Pl,co];case"Object":return[Ls,co];case"Date":return[qf,co];case"RegExp":return[Zf,co];case"Map":return[ep,co];case"Set":return[tp,co];case"DataView":return[Pl,n]}return n.includes("Array")?[Pl,n]:n.includes("Error")?[dx,n]:[Ls,n]},os=([e,t])=>e===Js&&(t==="function"||t==="symbol"),eR=(e,t,n,o)=>{const l=(u,d)=>{const c=o.push(u)-1;return n.set(d,c),c},a=u=>{if(n.has(u))return n.get(u);let[d,c]=yl(u);switch(d){case Js:{let m=u;switch(c){case"bigint":d=fx,m=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);m=null;break;case"undefined":return l([cx],u)}return l([d,m],u)}case Pl:{if(c){let b=u;return c==="DataView"?b=new Uint8Array(u.buffer):c==="ArrayBuffer"&&(b=new Uint8Array(u)),l([c,[...b]],u)}const m=[],v=l([d,m],u);for(const b of u)m.push(a(b));return v}case Ls:{if(c)switch(c){case"BigInt":return l([c,u.toString()],u);case"Boolean":case"Number":case"String":return l([c,u.valueOf()],u)}if(t&&"toJSON"in u)return a(u.toJSON());const m=[],v=l([d,m],u);for(const b of Z2(u))(e||!os(yl(u[b])))&&m.push([a(b),a(u[b])]);return v}case qf:return l([d,u.toISOString()],u);case Zf:{const{source:m,flags:v}=u;return l([d,{source:m,flags:v}],u)}case ep:{const m=[],v=l([d,m],u);for(const[b,x]of u)(e||!(os(yl(b))||os(yl(x))))&&m.push([a(b),a(x)]);return v}case tp:{const m=[],v=l([d,m],u);for(const b of u)(e||!os(yl(b)))&&m.push(a(b));return v}}const{message:p}=u;return l([d,{name:c,message:p}],u)};return a},Nv=(e,{json:t,lossy:n}={})=>{const o=[];return eR(!(t||n),!!t,new Map,o)(e),o},Is=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Rv(Nv(e,t)):structuredClone(e):(e,t)=>Rv(Nv(e,t));function tR(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function nR(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}
vendor: 4,144 bytes, lines 2893-2895
2893function rR(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||tR,o=e.options.footnoteBackLabel||nR,l=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let c=-1;for(;++c<e.footnoteOrder.length;){const p=e.footnoteById.get(e.footnoteOrder[c]);if(!p)continue;const m=e.all(p),v=String(p.identifier).toUpperCase(),b=Ao(v.toLowerCase());let x=0;const T=[],R=e.footnoteCounts.get(v);for(;R!==void 0&&++x<=R;){T.length>0&&T.push({type:"text",value:" "});let D=typeof n=="string"?n:n(c,x);typeof D=="string"&&(D={type:"text",value:D}),T.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+b+(x>1?"-"+x:""),dataFootnoteBackref:"",ariaLabel:typeof o=="string"?o:o(c,x),className:["data-footnote-backref"]},children:Array.isArray(D)?D:[D]})}const A=m[m.length-1];if(A&&A.type==="element"&&A.tagName==="p"){const D=A.children[A.children.length-1];D&&D.type==="text"?D.value+=" ":A.children.push({type:"text",value:" "}),A.children.push(...T)}else m.push(...T);const P={type:"element",tagName:"li",properties:{id:t+"fn-"+b},children:e.wrap(m,!0)};e.patch(p,P),d.push(P)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...Is(u),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:` 2894`},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:` 2895`}]}}const px=(function(e){if(e==null)return aR;if(typeof e=="function")return qs(e);if(typeof e=="object")return Array.isArray(e)?iR(e):oR(e);if(typeof e=="string")return lR(e);throw new Error("Expected function, string, or object as test")});function iR(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=px(e[n]);return qs(o);function o(...l){let a=-1;for(;++a<t.length;)if(t[a].apply(this,l))return!0;return!1}}function oR(e){const t=e;return qs(n);function n(o){const l=o;let a;for(a in e)if(l[a]!==t[a])return!1;return!0}}function lR(e){return qs(t);function t(n){return n&&n.type===e}}function qs(e){return t;function t(n,o,l){return!!(sR(n)&&e.call(this,n,typeof o=="number"?o:void 0,l||void 0))}}function aR(){return!0}function sR(e){return e!==null&&typeof e=="object"&&"type"in e}const hx=[],uR=!0,Lv=!1,cR="skip";function dR(e,t,n,o){let l;typeof t=="function"&&typeof n!="function"?(o=n,n=t):l=t;const a=px(l),u=o?-1:1;d(e,void 0,[])();function d(c,p,m){const v=c&&typeof c=="object"?c:{};if(typeof v.type=="string"){const x=typeof v.tagName=="string"?v.tagName:typeof v.name=="string"?v.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(c.type+(x?"<"+x+">":""))+")"})}return b;function b(){let x=hx,T,R,A;if((!t||a(c,p,m[m.length-1]||void 0))&&(x=fR(n(c,m)),x[0]===Lv))return x;if("children"in c&&c.children){const P=c;if(P.children&&x[0]!==cR)for(R=(o?P.children.length:-1)+u,A=m.concat(P);R>-1&&R<P.children.length;){const D=P.children[R];if(T=d(D,R,A)(),T[0]===Lv)return T;R=typeof T[1]=="number"?T[1]:R+u}}return x}}}function fR(e){return Array.isArray(e)?e:typeof e=="number"?[uR,e]:e==null?hx:[e]}function mx(e,t,n,o){let l,a,u;typeof t=="function"&&typeof n!="function"?(a=void 0,u=t,l=n):(a=t,u=n,l=o),dR(e,a,d,l);function d(c,p){const m=p[p.length-1],v=m?m.children.indexOf(c):void 0;return u(c,v,m)}}const Zd={}.hasOwnProperty,pR={};function hR(e,t){const n=t||pR,o=new Map,l=new Map,a=new Map,u={...Q2,...n.handlers},d={all:p,applyData:gR,definitionById:o,footnoteById:l,footnoteCounts:a,footnoteOrder:[],handlers:u,one:c,options:n,patch:mR,wrap:yR};return mx(e,function(m){if(m.type==="definition"||m.type==="footnoteDefinition"){const v=m.type==="definition"?o:l,b=String(m.identifier).toUpperCase();v.has(b)||v.set(b,m)}}),d;function c(m,v){const b=m.type,x=d.handlers[b];if(Zd.call(d.handlers,b)&&x)return x(d,m,v);if(d.options.passThrough&&d.options.passThrough.includes(b)){if("children"in m){const{children:R,...A}=m,P=Is(A);return P.children=d.all(m),P}return Is(m)}return(d.options.unknownHandler||vR)(d,m,v)}function p(m){const v=[];
vendor: 10,835 bytes, lines 2895-2899
2895if("children"in m){const b=m.children;let x=-1;for(;++x<b.length;){const T=d.one(b[x],m);if(T){if(x&&b[x-1].type==="break"&&(!Array.isArray(T)&&T.type==="text"&&(T.value=Iv(T.value)),!Array.isArray(T)&&T.type==="element")){const R=T.children[0];R&&R.type==="text"&&(R.value=Iv(R.value))}Array.isArray(T)?v.push(...T):v.push(T)}}}return v}}function mR(e,t){e.position&&(t.position=QT(e))}function gR(e,t){let n=t;if(e&&e.data){const o=e.data.hName,l=e.data.hChildren,a=e.data.hProperties;if(typeof o=="string")if(n.type==="element")n.tagName=o;else{const u="children"in n?n.children:[n];n={type:"element",tagName:o,properties:{},children:u}}n.type==="element"&&a&&Object.assign(n.properties,Is(a)),"children"in n&&n.children&&l!==null&&l!==void 0&&(n.children=l)}return n}function vR(e,t){const n=t.data||{},o="value"in t&&!(Zd.call(n,"hProperties")||Zd.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function yR(e,t){const n=[];let o=-1;for(t&&n.push({type:"text",value:` 2896`});++o<e.length;)o&&n.push({type:"text",value:` 2897`}),n.push(e[o]);return t&&e.length>0&&n.push({type:"text",value:` 2898`}),n}function Iv(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Ov(e,t){const n=hR(e,t),o=n.one(e,void 0),l=rR(n),a=Array.isArray(o)?{type:"root",children:o}:o||{type:"root",children:[]};return l&&a.children.push({type:"text",value:` 2899`},l),a}function xR(e,t){return e&&"run"in e?async function(n,o){const l=Ov(n,{file:o,...t});await e.run(l,o)}:function(n,o){return Ov(n,{file:o,...e||t})}}function zv(e){if(e)throw e}var md,Mv;function wR(){if(Mv)return md;Mv=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,l=function(p){return typeof Array.isArray=="function"?Array.isArray(p):t.call(p)==="[object Array]"},a=function(p){if(!p||t.call(p)!=="[object Object]")return!1;var m=e.call(p,"constructor"),v=p.constructor&&p.constructor.prototype&&e.call(p.constructor.prototype,"isPrototypeOf");if(p.constructor&&!m&&!v)return!1;var b;for(b in p);return typeof b>"u"||e.call(p,b)},u=function(p,m){n&&m.name==="__proto__"?n(p,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):p[m.name]=m.newValue},d=function(p,m){if(m==="__proto__")if(e.call(p,m)){if(o)return o(p,m).value}else return;return p[m]};return md=function c(){var p,m,v,b,x,T,R=arguments[0],A=1,P=arguments.length,D=!1;for(typeof R=="boolean"&&(D=R,R=arguments[1]||{},A=2),(R==null||typeof R!="object"&&typeof R!="function")&&(R={});A<P;++A)if(p=arguments[A],p!=null)for(m in p)v=d(R,m),b=d(p,m),R!==b&&(D&&b&&(a(b)||(x=l(b)))?(x?(x=!1,T=v&&l(v)?v:[]):T=v&&a(v)?v:{},u(R,{name:m,newValue:c(D,T,b)})):typeof b<"u"&&u(R,{name:m,newValue:b}));return R},md}var bR=wR();const gd=Os(bR);function ef(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function _R(){const e=[],t={run:n,use:o};return t;function n(...l){let a=-1;const u=l.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);d(null,...l);function d(c,...p){const m=e[++a];let v=-1;if(c){u(c);return}for(;++v<l.length;)(p[v]===null||p[v]===void 0)&&(p[v]=l[v]);l=p,m?SR(m,d)(...p):u(null,...p)}}function o(l){if(typeof l!="function")throw new TypeError("Expected `middelware` to be a function, not "+l);return e.push(l),t}}function SR(e,t){let n;return o;function o(...u){const d=e.length>u.length;let c;d&&u.push(l);try{c=e.apply(this,u)}catch(p){const m=p;if(d&&n)throw m;return l(m)}d||(c&&c.then&&typeof c.then=="function"?c.then(a,l):c instanceof Error?l(c):a(c))}function l(u,...d){n||(n=!0,t(u,...d))}function a(u){l(null,u)}}const fr={basename:kR,dirname:ER,extname:CR,join:TR,sep:"/"};function kR(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Hl(e);let n=0,o=-1,l=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;l--;)if(e.codePointAt(l)===47){if(a){n=l+1;break}}else o<0&&(a=!0,o=l+1);return o<0?"":e.slice(n,o)}if(t===e)return"";let u=-1,d=t.length-1;for(;l--;)if(e.codePointAt(l)===47){if(a){n=l+1;break}}else u<0&&(a=!0,u=l+1),d>-1&&(e.codePointAt(l)===t.codePointAt(d--)?d<0&&(o=l):(d=-1,o=u));return n===o?o=u:o<0&&(o=e.length),e.slice(n,o)}function ER(e){if(Hl(e),e.length===0)return".";let t=-1,n=e.length,o;for(;--n;)if(e.codePointAt(n)===47){if(o){t=n;break}}else o||(o=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function CR(e){Hl(e);let t=e.length,n=-1,o=0,l=-1,a=0,u;for(;t--;){const d=e.codePointAt(t);if(d===47){if(u){o=t+1;break}continue}n<0&&(u=!0,n=t+1),d===46?l<0?l=t:a!==1&&(a=1):l>-1&&(a=-1)}return l<0||n<0||a===0||a===1&&l===n-1&&l===o+1?"":e.slice(l,n)}function TR(...e){let t=-1,n;for(;++t<e.length;)Hl(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":PR(n)}function PR(e){Hl(e);const t=e.codePointAt(0)===47;let n=AR(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function AR(e,t){let n="",o=0,l=-1,a=0,u=-1,d,c;for(;++u<=e.length;){if(u<e.length)d=e.codePointAt(u);else{if(d===47)break;d=47}if(d===47){if(!(l===u-1||a===1))if(l!==u-1&&a===2){if(n.length<2||o!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",o=0):(n=n.slice(0,c),o=n.length-1-n.lastIndexOf("/")),l=u,a=0;continue}}else if(n.length>0){n="",o=0,l=u,a=0;continue}}t&&(n=n.length>0?n+"/..":"..",o=2)}else n.length>0?n+="/"+e.slice(l+1,u):n=e.slice(l+1,u),o=u-l-1;l=u,a=0}else d===46&&a>-1?a++:a=-1}return n}function Hl(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const RR={cwd:NR};function NR(){return"/"}function tf(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function LR(e){if(typeof e=="string")e=new URL(e);else if(!tf(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return IR(e)}function IR(e){if(e.hostname!==""){const o=new TypeError('File URL host must be "localhost" or empty on darwin');throw o.code="ERR_INVALID_FILE_URL_HOST",o}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const o=t.codePointAt(n+2);if(o===70||o===102){const l=new TypeError("File URL path must not include encoded / characters");throw l.code="ERR_INVALID_FILE_URL_PATH",l}}return decodeURIComponent(t)}const vd=["history","path","basename","stem","extname","dirname"];class gx{constructor(t){let n;t?tf(t)?n={path:t}:typeof t=="string"||OR(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":RR.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let o=-1;for(;++o<vd.length;){const a=vd[o];a in n&&n[a]!==void 0&&n[a]!==null&&(this[a]=a==="history"?[...n[a]]:n[a])}let l;for(l in n)vd.includes(l)||(this[l]=n[l])}get basename(){return typeof this.path=="string"?fr.basename(this.path):void 0}set basename(t){xd(t,"basename"),yd(t,"basename"),this.path=fr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?fr.dirname(this.path):void 0}set dirname(t){Dv(this.basename,"dirname"),this.path=fr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?fr.extname(this.path):void 0}set extname(t){if(yd(t,"extname"),Dv(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=fr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){tf(t)&&(t=LR(t)),xd(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?fr.basename(this.path,this.extname):void 0}set stem(t){xd(t,"stem"),yd(t,"stem"),this.path=fr.join(this.dirname||"",t+(this.extname||""))}fail(t,n,o){const l=this.message(t,n,o);throw l.fatal=!0,l}info(t,n,o){const l=this.message(t,n,o);return l.fatal=void 0,l}message(t,n,o){const l=new Xt(t,n,o);return this.path&&(l.name=this.path+":"+l.name,l.file=this.path),l.fatal=!1,this.messages.push(l),l}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function yd(e,t){if(e&&e.includes(fr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+fr.sep+"`")}function xd(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Dv(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function OR(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const zR=(function(e){const o=this.constructor.prototype,l=o[e],a=function(){return l.apply(a,arguments)};return Object.setPrototypeOf(a,o),a}),MR={}.hasOwnProperty;class np extends zR{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=_R()}copy(){const t=new np;let n=-1;for(;++n<this.attachers.length;){const o=this.attachers[n];t.use(...o)}return t.data(gd(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(_d("data",this.frozen),this.namespace[t]=n,this):MR.call(this.namespace,t)&&this.namespace[t]||void 0:t?(_d("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...o]=this.attachers[this.freezeIndex];if(o[0]===!1)continue;o[0]===!0&&(o[0]=void 0);const l=n.call(t,...o);typeof l=="function"&&this.transformers.use(l)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=ls(t),o=this.parser||this.Parser;return wd("parse",o),o(String(n),n)}process(t,n){const o=this;return this.freeze(),wd("process",this.parser||this.Parser),bd("process",this.compiler||this.Compiler),n?l(void 0,n):new Promise(l);function l(a,u){const d=ls(t),c=o.parse(d);o.run(c,d,function(m,v,b){if(m||!v||!b)return p(m);const x=v,T=o.stringify(x,b);$R(T)?b.value=T:b.result=T,p(m,b)});function p(m,v){m||!v?u(m):a?a(v):n(void 0,v)}}}processSync(t){let n=!1,o;return this.freeze(),wd("processSync",this.parser||this.Parser),bd("processSync",this.compiler||this.Compiler),this.process(t,l),$v("processSync","process",n),o;function l(a,u){n=!0,zv(a),o=u}}
vendor: 4,140 bytes, line 2899
2899run(t,n,o){Fv(t),this.freeze();const l=this.transformers;return!o&&typeof n=="function"&&(o=n,n=void 0),o?a(void 0,o):new Promise(a);function a(u,d){const c=ls(n);l.run(t,c,p);function p(m,v,b){const x=v||t;m?d(m):u?u(x):o(void 0,x,b)}}}runSync(t,n){let o=!1,l;return this.run(t,n,a),$v("runSync","run",o),l;function a(u,d){zv(u),l=d,o=!0}}stringify(t,n){this.freeze();const o=ls(n),l=this.compiler||this.Compiler;return bd("stringify",l),Fv(t),l(t,o)}use(t,...n){const o=this.attachers,l=this.namespace;if(_d("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?d(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function a(p){if(typeof p=="function")c(p,[]);else if(typeof p=="object")if(Array.isArray(p)){const[m,...v]=p;c(m,v)}else u(p);else throw new TypeError("Expected usable value, not `"+p+"`")}function u(p){if(!("plugins"in p)&&!("settings"in p))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(p.plugins),p.settings&&(l.settings=gd(!0,l.settings,p.settings))}function d(p){let m=-1;if(p!=null)if(Array.isArray(p))for(;++m<p.length;){const v=p[m];a(v)}else throw new TypeError("Expected a list of plugins, not `"+p+"`")}function c(p,m){let v=-1,b=-1;for(;++v<o.length;)if(o[v][0]===p){b=v;break}if(b===-1)o.push([p,...m]);else if(m.length>0){let[x,...T]=m;const R=o[b][1];ef(R)&&ef(x)&&(x=gd(!0,R,x)),o[b]=[p,x,...T]}}}}const DR=new np().freeze();function wd(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function bd(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function _d(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Fv(e){if(!ef(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function $v(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function ls(e){return FR(e)?e:new gx(e)}function FR(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function $R(e){return typeof e=="string"||BR(e)}function BR(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const UR="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Bv=[],Uv={allowDangerousHtml:!0},jR=/^(https?|ircs?|mailto|xmpp)$/i,HR=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function VR(e){const t=e.allowedElements,n=e.allowElement,o=e.children||"",l=e.className,a=e.components,u=e.disallowedElements,d=e.rehypePlugins||Bv,c=e.remarkPlugins||Bv,p=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Uv}:Uv,m=e.skipHtml,v=e.unwrapDisallowed,b=e.urlTransform||WR,x=DR().use(k2).use(c).use(xR,p).use(d),T=new gx;typeof o=="string"&&(T.value=o);for(const D of HR)Object.hasOwn(e,D.from)&&(""+D.from+(D.to?"use `"+D.to+"` instead":"remove it")+UR+D.id,void 0);const R=x.parse(T);
2899let A=x.runSync(R,T);return l&&(A={type:"element",tagName:"div",properties:{className:l},children:A.type==="root"?A.children:[A]}),mx(A,P),nP(A,{Fragment:Le.Fragment,components:a,ignoreInvalidStyle:!0,jsx:Le.jsx,jsxs:Le.jsxs,passKeys:!0,passNode:!0});function P(D,O,X){if(D.type==="raw"&&X&&typeof O=="number")return m?X.children.splice(O,1):X.children[O]={type:"text",value:D.value},O;if(D.type==="element"){let J;for(J in fd)if(Object.hasOwn(fd,J)&&Object.hasOwn(D.properties,J)){const k=D.properties[J],le=fd[J];(le===null||le.includes(D.tagName))&&(D.properties[J]=b(String(k||""),J,D))}}if(D.type==="element"){let J=t?!t.includes(D.tagName):u?u.includes(D.tagName):!1;if(!J&&n&&typeof O=="number"&&(J=!n(D,O,X)),J&&X&&typeof O=="number")return v&&D.children?X.children.splice(O,1,...D.children):X.children.splice(O,1),O}}}function WR(e){const t=e.indexOf(":"),n=e.indexOf("?"),o=e.indexOf("#"),l=e.indexOf("/");return t===-1||l!==-1&&t>l||n!==-1&&t>n||o!==-1&&t>o||jR.test(e.slice(0,t))?e:""}const vx=""+new URL("logo-BQPaQ4-l.png",import.meta.url).href;function YR({message:e}){var t=Di(1);try{const n=e.role==="assistant";return Le.jsxs("div",{className:`chat-message ${e.role}`,children:[n&&Le.jsx("img",{src:vx,alt:"Bot",className:"bot-icon"}),Le.jsxs("div",{className:"message-content",children:[e.typing?Le.jsxs("div",{className:"typing-indicator",children:[Le.jsx("span",{}),Le.jsx("span",{}),Le.jsx("span",{})]}):Le.jsx(VR,{components:{a:({children:o,href:l,...a})=>Le.jsx("a",{href:l,target:"_blank",rel:"noopener noreferrer",...a,children:o})},children:e.content}),e.timestamp&&Le.jsx("div",{className:"message-time",children:e.timestamp})]})]})}finally{t.f()}}function GR({messages:e}){var t=Di(1);try{const n=F.useRef(null);return F.useEffect(()=>{n.current?.scrollIntoView({behavior:"smooth"})},[e]),Le.jsxs("div",{className:"chat-messages-scroll",children:[e.map((o,l)=>Le.jsx(YR,{message:o},l)),Le.jsx("div",{ref:n})]})}finally{t.f()}}const yx=new pS({prefix:"connect"});function KR(e,t){return yx.subscribe("MultiAgentService","chat",{chatId:e,message:t})}function XR(e){return yx.subscribe("MultiAgentService","welcomeMessage",{chatId:e})}const QR=()=>{var e=Di(1);try{return Le.jsxs("header",{className:"header",children:[Le.jsx("h1",{children:"Smartless AI"}),Le.jsx("h3",{children:"Confidently Wrong, Every Time"})]})}finally{e.f()}},JR=()=>{var e=Di(1);try{return Le.jsxs("footer",{className:"footer",children:[Le.jsxs("details",{children:[Le.jsx("summary",{children:"Disclaimer & Important Info"}),Le.jsxs("p",{children:["Smartless AI is a humor-based AI designed purely for entertainment. The responses provided are fictional, exaggerated, and often completely made up. While it may sound confident, it is"," ",Le.jsx("strong",{children:"not a source of factual information"})," or expert advice."]}),Le.jsxs("ul",{children:[Le.jsx("li",{children:"Nothing it says should be taken as fact or guidance."}),Le.jsx("li",{children:"It does not provide legal, medical, or financial advice."}),Le.jsx("li",{children:"Any resemblance to real facts is purely coincidental."}),Le.jsx("li",{children:"We are not liable for misinterpretations or bad decisions."})]}),Le.jsxs("p",{children:["If you want ",Le.jsx("strong",{children:"real"})," answers, consult actual experts or Google it. Otherwise, enjoy the nonsense!"]})]}),Le.jsxs("div",{className:"footer-links",children:[Le.jsx("a",{href:"legal.html",target:"_blank",rel:"noopener noreferrer",className:"privacy",children:"Legal/Privacy"}),Le.jsx("span",{className:"footer-sep",children:"·"}),Le.jsx("span",{className:"powered-by",children:"Powered by nonsense & GPT"})]})]})}finally{e.f()}};function as(){return new Date().toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}function xx(){var e=Di(1);try{const[t]=F.useState(()=>crypto.randomUUID()),[n,o]=F.useState([]),[l,a]=F.useState(!0),[u,d]=F.useState(!1),c=F.useRef(null),p=F.useCallback(()=>{setTimeout(()=>{const R=c.current;if(!R)return;const A=R.shadowRoot?.querySelector("vaadin-text-area")?.shadowRoot?.querySelector("textarea")??R.shadowRoot?.querySelector("input")??R.shadowRoot?.querySelector("textarea");A?A.focus():R.focus()},100)},[]);F.useEffect(()=>{p()},[p]),F.useEffect(()=>{l||p()},[l,p]);const m=F.useCallback(R=>{o(A=>[...A,R])},[]),v=F.useCallback(R=>{o(A=>{if(A.length===0)return A;const P=A[A.length-1],D={...P,content:P.content+R};return[...A.slice(0,-1),D]})},[]),b=F.useCallback(()=>{o(R=>R.filter(A=>!A.typing))},[]),x=F.useCallback((R,A)=>{m({role:"assistant",content:"",typing:!0,timestamp:as()});let P=!0;R.onNext(D=>{P?(b(),m({role:"assistant",content:D,timestamp:as()}),P=!1):v(D)}).onError(D=>{b(),A?.(D),a(!1)}).onComplete(()=>{a(!1)})},[m,v,b]);F.useEffect(()=>{a(!0),x(XR(t),()=>{d(!0)}),d(!0)},[t,x]);const T=F.useCallback((R,A=0)=>{R.trim()&&(a(!0),A===0&&m({role:"user",content:R,timestamp:as()}),x(KR(t,R),P=>{console.error("Chat error:",P),A<3?setTimeout(()=>T(R,A+1),5e3):m({role:"assistant",content:"Well, this is awkward… My connection just took a vacation after multiple failed attempts. Maybe it got tired of my genius. Try again later, or blame the internet gremlins.",timestamp:as()})}))},[t,m,x]);return Le.jsxs("div",{className:"app-container",children:[Le.jsx(QR,{}),Le.jsx("main",{className:"main-content",children:Le.jsxs("div",{className:"chat-container",children:[!u&&n.length===0?Le.jsxs("div",{className:"loading-skeleton",children:[Le.jsx("img",{src:vx,alt:"Loading",className:"bot-icon"}),Le.jsxs("div",{className:"typing-indicator",children:[Le.jsx("span",{}),Le.jsx("span",{}),Le.jsx("span",{})]})]}):Le.jsx(GR,{messages:n}),Le.jsx("div",{className:"chat-input",children:Le.jsx(TT,{ref:c,onSubmit:R=>T(R.detail.value),disabled:l,i18n:{send:"Send",message:"Ask me anything..."}})})]})}),Le.jsx(JR,{})]})}finally{e.f()}}Object.defineProperty(xx,"name",{value:"Index"});const qR=Object.freeze(Object.defineProperty({__proto__:null,default:xx},Symbol.toStringTag,{value:"Module"})),ZR=[v1("",qR)],{router:eN,routes:tN}=new SS().withFileRoutes(ZR).withFallback(kf).protect().build();function nN(){var e=Di(1);try{return Le.jsx(N_,{router:eN})}finally{e.f()}}const nf=document.getElementById("outlet");let wx=nf._root??db.createRoot(nf);nf._root=wx;wx.render(F.createElement(nN));window.Vaadin??={};window.Vaadin.routesConfig=tN;ZS();/** 2900 * @license 2901 * Copyright (c) 2017 - 2025 Vaadin Ltd. 2902 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2903 */const rN=We` 2904 ${xy(Tf.cssText.replace(/,\s*:host/su,""))} 2905`;vr("typography",rN);/** 2906 * @license 2907 * Copyright (c) 2017 - 2025 Vaadin Ltd. 2908 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2909 */vr("color",Cf);/** 2910 * @license 2911 * Copyright (c) 2017 - 2025 Vaadin Ltd. 2912 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 2913 */const rp=We` 2914 [theme~='badge'] { 2915 display: inline-flex; 2916 align-items: center; 2917 justify-content: center; 2918 box-sizing: border-box; 2919 padding: 0.4em calc(0.5em + var(--lumo-border-radius-s) / 4); 2920 color: var(--lumo-primary-text-color); 2921 background-color: var(--lumo-primary-color-10pct); 2922 border-radius: var(--lumo-border-radius-s); 2923 font-family: var(--lumo-font-family); 2924 font-size: var(--lumo-font-size-s); 2925 line-height: 1; 2926 font-weight: 500; 2927 text-transform: initial; 2928 letter-spacing: initial; 2929 min-width: calc(var(--lumo-line-height-xs) * 1em + 0.45em); 2930 flex-shrink: 0; 2931 } 2932 2933 /* Ensure proper vertical alignment */ 2934 [theme~='badge']::before { 2935 display: inline-block; 2936 content: '\\2003'; 2937 width: 0; 2938 } 2939 2940 [theme~='badge'][theme~='small'] { 2941 font-size: var(--lumo-font-size-xxs); 2942 line-height: 1; 2943 } 2944 2945 /* Colors */ 2946 2947 [theme~='badge'][theme~='success'] { 2948 color: var(--lumo-success-text-color); 2949 background-color: var(--lumo-success-color-10pct); 2950 } 2951 2952 [theme~='badge'][theme~='error'] { 2953 color: var(--lumo-error-text-color); 2954 background-color: var(--lumo-error-color-10pct); 2955 } 2956 2957 [theme~='badge'][theme~='warning'] { 2958 color: var(--lumo-warning-text-color); 2959 background-color: var(--lumo-warning-color-10pct); 2960 } 2961 2962 [theme~='badge'][theme~='contrast'] { 2963 color: var(--lumo-contrast-80pct); 2964 background-color: var(--lumo-contrast-5pct); 2965 } 2966 2967 /* Primary */ 2968 2969 [theme~='badge'][theme~='primary'] { 2970 color: var(--lumo-primary-contrast-color); 2971 background-color: var(--lumo-primary-color); 2972 } 2973 2974 [theme~='badge'][theme~='success'][theme~='primary'] { 2975 color: var(--lumo-success-contrast-color); 2976 background-color: var(--lumo-success-color); 2977 } 2978 2979 [theme~='badge'][theme~='error'][theme~='primary'] { 2980 color: var(--lumo-error-contrast-color); 2981 background-color: var(--lumo-error-color); 2982 } 2983 2984 [theme~='badge'][theme~='warning'][theme~='primary'] { 2985 color: var(--lumo-warning-contrast-color); 2986 background-color: var(--lumo-warning-color); 2987 } 2988 2989 [theme~='badge'][theme~='contrast'][theme~='primary'] { 2990 color: var(--lumo-base-color); 2991 background-color: var(--lumo-contrast); 2992 } 2993 2994 /* Links */ 2995 2996 [theme~='badge'][href]:hover { 2997 text-decoration: none; 2998 } 2999 3000 /* Icon */ 3001 3002 [theme~='badge'] > vaadin-icon { 3003 margin: -0.25em 0; 3004 } 3005 3006 [theme~='badge'] > vaadin-icon:first-child { 3007 margin-left: -0.375em; 3008 } 3009 3010 [theme~='badge'] > vaadin-icon:last-child { 3011 margin-right: -0.375em; 3012 } 3013 3014 vaadin-icon[theme~='badge'][icon] { 3015 min-width: 0; 3016 padding: 0; 3017 font-size: 1rem; 3018 width: var(--lumo-icon-size-m); 3019 height: var(--lumo-icon-size-m); 3020 } 3021 3022 vaadin-icon[theme~='badge'][icon][theme~='small'] { 3023 width: var(--lumo-icon-size-s); 3024 height: var(--lumo-icon-size-s); 3025 } 3026 3027 /* Empty */ 3028 3029 [theme~='badge']:not([icon]):empty { 3030 min-width: 0; 3031 width: 1em; 3032 height: 1em; 3033 padding: 0; 3034 border-radius: 50%; 3035 background-color: var(--lumo-primary-color); 3036 } 3037 3038 [theme~='badge'][theme~='small']:not([icon]):empty { 3039 width: 0.75em; 3040 height: 0.75em; 3041 } 3042 3043 [theme~='badge'][theme~='contrast']:not([icon]):empty { 3044 background-color: var(--lumo-contrast); 3045 } 3046 3047 [theme~='badge'][theme~='success']:not([icon]):empty { 3048 background-color: var(--lumo-success-color); 3049 } 3050 3051 [theme~='badge'][theme~='error']:not([icon]):empty { 3052 background-color: var(--lumo-error-color); 3053 } 3054 3055 [theme~='badge'][theme~='warning']:not([icon]):empty { 3056 background-color: var(--lumo-warning-color); 3057 } 3058 3059 /* Pill */ 3060 3061 [theme~='badge'][theme~='pill'] { 3062 --lumo-border-radius-s: 1em; 3063 } 3064 3065 /* RTL specific styles */ 3066 3067 [dir='rtl'][theme~='badge'] vaadin-icon:first-child { 3068 margin-right: -0.375em; 3069 margin-left: 0; 3070 } 3071 3072 [dir='rtl'][theme~='badge'] vaadin-icon:last-child { 3073 margin-left: -0.375em; 3074 margin-right: 0; 3075 } 3076`;hn("",rp,{moduleId:"lumo-badge"});/** 3077 * @license 3078 * Copyright (c) 2017 - 2025 Vaadin Ltd. 3079 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 3080 */vr("badge",rp);/** 3081 * @license 3082 * Copyright (c) 2017 - 2025 Vaadin Ltd. 3083 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 3084 */const iN=We` 3085 /* === Screen readers === */ 3086 .sr-only { 3087 border-width: 0; 3088 clip: rect(0, 0, 0, 0); 3089 height: 1px; 3090 margin: -1px; 3091 overflow: hidden; 3092 padding: 0; 3093 position: absolute; 3094 white-space: nowrap; 3095 width: 1px; 3096 } 3097`;/** 3098 * @license 3099 * Copyright (c) 2017 - 2025 Vaadin Ltd. 3100 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 3101 */const oN=We`
3102 /* === Background color === */ 3103 .bg-base { 3104 background-color: var(--lumo-base-color); 3105 } 3106 3107 .bg-transparent { 3108 background-color: transparent; 3109 } 3110 3111 .bg-tint { 3112 background-color: var(--lumo-tint); 3113 } 3114 .bg-tint-90 { 3115 background-color: var(--lumo-tint-90pct); 3116 } 3117 .bg-tint-80 { 3118 background-color: var(--lumo-tint-80pct); 3119 } 3120 .bg-tint-70 { 3121 background-color: var(--lumo-tint-70pct); 3122 } 3123 .bg-tint-60 { 3124 background-color: var(--lumo-tint-60pct); 3125 } 3126 .bg-tint-50 { 3127 background-color: var(--lumo-tint-50pct); 3128 } 3129 .bg-tint-40 { 3130 background-color: var(--lumo-tint-40pct); 3131 } 3132 .bg-tint-30 { 3133 background-color: var(--lumo-tint-30pct); 3134 } 3135 .bg-tint-20 { 3136 background-color: var(--lumo-tint-20pct); 3137 } 3138 .bg-tint-10 { 3139 background-color: var(--lumo-tint-10pct); 3140 } 3141 .bg-tint-5 { 3142 background-color: var(--lumo-tint-5pct); 3143 } 3144 3145 .bg-shade { 3146 background-color: var(--lumo-shade); 3147 } 3148 .bg-shade-90 { 3149 background-color: var(--lumo-shade-90pct); 3150 } 3151 .bg-shade-80 { 3152 background-color: var(--lumo-shade-80pct); 3153 } 3154 .bg-shade-70 { 3155 background-color: var(--lumo-shade-70pct); 3156 } 3157 .bg-shade-60 { 3158 background-color: var(--lumo-shade-60pct); 3159 } 3160 .bg-shade-50 { 3161 background-color: var(--lumo-shade-50pct); 3162 } 3163 .bg-shade-40 { 3164 background-color: var(--lumo-shade-40pct); 3165 } 3166 .bg-shade-30 { 3167 background-color: var(--lumo-shade-30pct); 3168 } 3169 .bg-shade-20 { 3170 background-color: var(--lumo-shade-20pct); 3171 } 3172 .bg-shade-10 { 3173 background-color: var(--lumo-shade-10pct); 3174 } 3175 .bg-shade-5 { 3176 background-color: var(--lumo-shade-5pct); 3177 } 3178 3179 .bg-contrast { 3180 background-color: var(--lumo-contrast); 3181 } 3182 .bg-contrast-90 { 3183 background-color: var(--lumo-contrast-90pct); 3184 } 3185 .bg-contrast-80 { 3186 background-color: var(--lumo-contrast-80pct); 3187 } 3188 .bg-contrast-70 { 3189 background-color: var(--lumo-contrast-70pct); 3190 } 3191 .bg-contrast-60 { 3192 background-color: var(--lumo-contrast-60pct); 3193 } 3194 .bg-contrast-50 { 3195 background-color: var(--lumo-contrast-50pct); 3196 } 3197 .bg-contrast-40 { 3198 background-color: var(--lumo-contrast-40pct); 3199 } 3200 .bg-contrast-30 { 3201 background-color: var(--lumo-contrast-30pct); 3202 } 3203 .bg-contrast-20 { 3204 background-color: var(--lumo-contrast-20pct); 3205 } 3206 .bg-contrast-10 { 3207 background-color: var(--lumo-contrast-10pct); 3208 } 3209 .bg-contrast-5 { 3210 background-color: var(--lumo-contrast-5pct); 3211 } 3212 3213 .bg-primary { 3214 background-color: var(--lumo-primary-color); 3215 } 3216 .bg-primary-50 { 3217 background-color: var(--lumo-primary-color-50pct); 3218 } 3219 .bg-primary-10 { 3220 background-color: var(--lumo-primary-color-10pct); 3221 } 3222 3223 .bg-error { 3224 background-color: var(--lumo-error-color); 3225 } 3226 .bg-error-50 { 3227 background-color: var(--lumo-error-color-50pct); 3228 } 3229 .bg-error-10 { 3230 background-color: var(--lumo-error-color-10pct); 3231 } 3232 3233 .bg-success { 3234 background-color: var(--lumo-success-color); 3235 } 3236 .bg-success-50 { 3237 background-color: var(--lumo-success-color-50pct); 3238 } 3239 .bg-success-10 { 3240 background-color: var(--lumo-success-color-10pct); 3241 } 3242 3243 .bg-warning { 3244 background-color: var(--lumo-warning-color); 3245 } 3246 .bg-warning-10 { 3247 background-color: var(--lumo-warning-color-10pct); 3248 } 3249`;/** 3250 * @license 3251 * Copyright (c) 2017 - 2025 Vaadin Ltd. 3252 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 3253 */const lN=We` 3254 /* === Border === */ 3255 .border-0 { 3256 border: none; 3257 } 3258 .border-dashed { 3259 --lumo-utility-border-style: dashed; 3260 } 3261 .border-dotted { 3262 --lumo-utility-border-style: dotted; 3263 } 3264 .border { 3265 border: 1px var(--lumo-utility-border-style, solid) var(--lumo-utility-border-color, var(--lumo-contrast-10pct)); 3266 } 3267 .border-b { 3268 border-bottom: 1px var(--lumo-utility-border-style, solid) 3269 var(--lumo-utility-border-color, var(--lumo-contrast-10pct)); 3270 } 3271 .border-e { 3272 border-inline-end: 1px var(--lumo-utility-border-style, solid) 3273 var(--lumo-utility-border-color, var(--lumo-contrast-10pct)); 3274 } 3275 .border-l { 3276 border-left: 1px var(--lumo-utility-border-style, solid) 3277 var(--lumo-utility-border-color, var(--lumo-contrast-10pct)); 3278 } 3279 .border-r { 3280 border-right: 1px var(--lumo-utility-border-style, solid) 3281 var(--lumo-utility-border-color, var(--lumo-contrast-10pct)); 3282 } 3283 .border-s { 3284 border-inline-start: 1px var(--lumo-utility-border-style, solid) 3285 var(--lumo-utility-border-color, var(--lumo-contrast-10pct)); 3286 } 3287 .border-t { 3288 border-top: 1px var(--lumo-utility-border-style, solid) var(--lumo-utility-border-color, var(--lumo-contrast-10pct)); 3289 } 3290 3291 /* === Border color === */ 3292 .border-contrast { 3293 --lumo-utility-border-color: var(--lumo-contrast); 3294 } 3295 .border-contrast-90 { 3296 --lumo-utility-border-color: var(--lumo-contrast-90pct); 3297 } 3298 .border-contrast-80 { 3299 --lumo-utility-border-color: var(--lumo-contrast-80pct); 3300 } 3301 .border-contrast-70 { 3302 --lumo-utility-border-color: var(--lumo-contrast-70pct); 3303 } 3304 .border-contrast-60 { 3305 --lumo-utility-border-color: var(--lumo-contrast-60pct); 3306 } 3307 .border-contrast-50 { 3308 --lumo-utility-border-color: var(--lumo-contrast-50pct); 3309 } 3310 .border-contrast-40 { 3311 --lumo-utility-border-color: var(--lumo-contrast-40pct); 3312 } 3313 .border-contrast-30 { 3314 --lumo-utility-border-color: var(--lumo-contrast-30pct); 3315 } 3316 .border-contrast-20 { 3317 --lumo-utility-border-color: var(--lumo-contrast-20pct); 3318 } 3319 .border-contrast-10 { 3320 --lumo-utility-border-color: var(--lumo-contrast-10pct); 3321 } 3322 .border-contrast-5 { 3323 --lumo-utility-border-color: var(--lumo-contrast-5pct); 3324 } 3325 3326 .border-primary { 3327 --lumo-utility-border-color: var(--lumo-primary-color); 3328 } 3329 .border-primary-50 { 3330 --lumo-utility-border-color: var(--lumo-primary-color-50pct); 3331 } 3332 .border-primary-10 { 3333 --lumo-utility-border-color: var(--lumo-primary-color-10pct); 3334 } 3335 3336 .border-error { 3337 --lumo-utility-border-color: var(--lumo-error-color); 3338 } 3339 .border-error-50 { 3340 --lumo-utility-border-color: var(--lumo-error-color-50pct); 3341 } 3342 .border-error-10 { 3343 --lumo-utility-border-color: var(--lumo-error-color-10pct); 3344 } 3345 3346 .border-success { 3347 --lumo-utility-border-color: var(--lumo-success-color); 3348 } 3349 .border-success-50 { 3350 --lumo-utility-border-color: var(--lumo-success-color-50pct); 3351 } 3352 .border-success-10 { 3353 --lumo-utility-border-color: var(--lumo-success-color-10pct); 3354 } 3355 3356 .border-warning { 3357 --lumo-utility-border-color: var(--lumo-warning-color); 3358 } 3359 .border-warning-strong { 3360 --lumo-utility-border-color: var(--lumo-warning-text-color); 3361 } 3362 .border-warning-10 { 3363 --lumo-utility-border-color: var(--lumo-warning-color-10pct); 3364 } 3365 3366 /* === Border radius === */ 3367 .rounded-none { 3368 border-radius: 0; 3369 } 3370 .rounded-s { 3371 border-radius: var(--lumo-border-radius-s); 3372 } 3373 .rounded-m { 3374 border-radius: var(--lumo-border-radius-m); 3375 } 3376 .rounded-l { 3377 border-radius: var(--lumo-border-radius-l); 3378 } 3379 .rounded-full { 3380 border-radius: 9999px; 3381 } 3382 3383 /* === Divide === */ 3384 .divide-x > * + * { 3385 border-inline-start: 1px var(--lumo-utility-border-style, solid) 3386 var(--lumo-utility-border-color, var(--lumo-contrast-10pct)); 3387 } 3388 .divide-y > * + * { 3389 border-block-start: 1px var(--lumo-utility-border-style, solid) 3390 var(--lumo-utility-border-color, var(--lumo-contrast-10pct)); 3391 } 3392`;/** 3393 * @license 3394 * Copyright (c) 2017 - 2025 Vaadin Ltd. 3395 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 3396 */const aN=We` 3397 /* === Backdrop filter === */ 3398 .backdrop-blur-none { 3399 backdrop-filter: blur(0); 3400 } 3401 .backdrop-blur-sm { 3402 backdrop-filter: blur(4px); 3403 } 3404 .backdrop-blur { 3405 backdrop-filter: blur(8px); 3406 } 3407 .backdrop-blur-md { 3408 backdrop-filter: blur(12px); 3409 } 3410 .backdrop-blur-lg { 3411 backdrop-filter: blur(16px); 3412 } 3413 .backdrop-blur-xl { 3414 backdrop-filter: blur(24px); 3415 } 3416 .backdrop-blur-2xl { 3417 backdrop-filter: blur(40px); 3418 } 3419 .backdrop-blur-3xl { 3420 backdrop-filter: blur(64px); 3421 } 3422`;/** 3423 * @license 3424 * Copyright (c) 2017 - 2025 Vaadin Ltd. 3425 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 3426 */const sN=We` 3427 /* === Align content === */ 3428 .content-center {
3429 align-content: center; 3430 } 3431 .content-end { 3432 align-content: flex-end; 3433 } 3434 .content-start { 3435 align-content: flex-start; 3436 } 3437 .content-around { 3438 align-content: space-around; 3439 } 3440 .content-between { 3441 align-content: space-between; 3442 } 3443 .content-evenly { 3444 align-content: space-evenly; 3445 } 3446 .content-stretch { 3447 align-content: stretch; 3448 } 3449 3450 /* === Align items === */ 3451 .items-baseline { 3452 align-items: baseline; 3453 } 3454 .items-center { 3455 align-items: center; 3456 } 3457 .items-end { 3458 align-items: flex-end; 3459 } 3460 .items-start { 3461 align-items: flex-start; 3462 } 3463 .items-stretch { 3464 align-items: stretch; 3465 } 3466 3467 /* === Align self === */ 3468 .self-auto { 3469 align-self: auto; 3470 } 3471 .self-baseline { 3472 align-self: baseline; 3473 } 3474 .self-center { 3475 align-self: center; 3476 } 3477 .self-end { 3478 align-self: flex-end; 3479 } 3480 .self-start { 3481 align-self: flex-start; 3482 } 3483 .self-stretch { 3484 align-self: stretch; 3485 } 3486 3487 /* === Flex === */ 3488 .flex-1 { 3489 flex: 1 1 0%; 3490 } 3491 .flex-auto { 3492 flex: 1 1 auto; 3493 } 3494 .flex-none { 3495 flex: none; 3496 } 3497 3498 /* === Flex direction === */ 3499 .flex-col { 3500 flex-direction: column; 3501 } 3502 .flex-col-reverse { 3503 flex-direction: column-reverse; 3504 } 3505 .flex-row { 3506 flex-direction: row; 3507 } 3508 .flex-row-reverse { 3509 flex-direction: row-reverse; 3510 } 3511 3512 /* === Flex grow === */ 3513 .flex-grow { 3514 flex-grow: 1; 3515 } 3516 .flex-grow-0 { 3517 flex-grow: 0; 3518 } 3519 3520 /* === Flex shrink === */ 3521 .flex-shrink { 3522 flex-shrink: 1; 3523 } 3524 .flex-shrink-0 { 3525 flex-shrink: 0; 3526 } 3527 3528 /* === Flex wrap === */ 3529 .flex-nowrap { 3530 flex-wrap: nowrap; 3531 } 3532 .flex-wrap { 3533 flex-wrap: wrap; 3534 } 3535 .flex-wrap-reverse { 3536 flex-wrap: wrap-reverse; 3537 } 3538 3539 /* === Gap === */ 3540 .gap-xs { 3541 gap: var(--lumo-space-xs); 3542 } 3543 .gap-s { 3544 gap: var(--lumo-space-s); 3545 } 3546 .gap-m { 3547 gap: var(--lumo-space-m); 3548 } 3549 .gap-l { 3550 gap: var(--lumo-space-l); 3551 } 3552 .gap-xl { 3553 gap: var(--lumo-space-xl); 3554 } 3555 3556 /* === Gap (column) === */ 3557 .gap-x-xs { 3558 column-gap: var(--lumo-space-xs); 3559 } 3560 .gap-x-s { 3561 column-gap: var(--lumo-space-s); 3562 } 3563 .gap-x-m { 3564 column-gap: var(--lumo-space-m); 3565 } 3566 .gap-x-l { 3567 column-gap: var(--lumo-space-l); 3568 } 3569 .gap-x-xl { 3570 column-gap: var(--lumo-space-xl); 3571 } 3572 3573 /* === Gap (row) === */ 3574 .gap-y-xs { 3575 row-gap: var(--lumo-space-xs); 3576 } 3577 .gap-y-s { 3578 row-gap: var(--lumo-space-s); 3579 } 3580 .gap-y-m { 3581 row-gap: var(--lumo-space-m); 3582 } 3583 .gap-y-l { 3584 row-gap: var(--lumo-space-l); 3585 } 3586 .gap-y-xl { 3587 row-gap: var(--lumo-space-xl); 3588 } 3589 3590 /* === Grid auto flow === */ 3591 .grid-flow-col { 3592 grid-auto-flow: column; 3593 } 3594 .grid-flow-row { 3595 grid-auto-flow: row; 3596 } 3597 3598 /* === Grid columns === */ 3599 .grid-cols-1 { 3600 grid-template-columns: repeat(1, minmax(0, 1fr)); 3601 } 3602 .grid-cols-2 { 3603 grid-template-columns: repeat(2, minmax(0, 1fr)); 3604 } 3605 .grid-cols-3 { 3606 grid-template-columns: repeat(3, minmax(0, 1fr)); 3607 } 3608 .grid-cols-4 { 3609 grid-template-columns: repeat(4, minmax(0, 1fr)); 3610 } 3611 .grid-cols-5 { 3612 grid-template-columns: repeat(5, minmax(0, 1fr)); 3613 } 3614 .grid-cols-6 { 3615 grid-template-columns: repeat(6, minmax(0, 1fr)); 3616 } 3617 .grid-cols-7 { 3618 grid-template-columns: repeat(7, minmax(0, 1fr)); 3619 } 3620 .grid-cols-8 { 3621 grid-template-columns: repeat(8, minmax(0, 1fr)); 3622 } 3623 .grid-cols-9 { 3624 grid-template-columns: repeat(9, minmax(0, 1fr)); 3625 } 3626 .grid-cols-10 { 3627 grid-template-columns: repeat(10, minmax(0, 1fr)); 3628 } 3629 .grid-cols-11 { 3630 grid-template-columns: repeat(11, minmax(0, 1fr)); 3631 } 3632 .grid-cols-12 { 3633 grid-template-columns: repeat(12, minmax(0, 1fr)); 3634 } 3635 3636 /* === Grid rows === */ 3637 .grid-rows-1 { 3638 grid-template-rows: repeat(1, minmax(0, 1fr)); 3639 } 3640 .grid-rows-2 { 3641 grid-template-rows: repeat(2, minmax(0, 1fr)); 3642 } 3643 .grid-rows-3 { 3644 grid-template-rows: repeat(3, minmax(0, 1fr)); 3645 } 3646 .grid-rows-4 { 3647 grid-template-rows: repeat(4, minmax(0, 1fr)); 3648 } 3649 .grid-rows-5 { 3650 grid-template-rows: repeat(5, minmax(0, 1fr)); 3651 } 3652 .grid-rows-6 { 3653 grid-template-rows: repeat(6, minmax(0, 1fr)); 3654 } 3655 3656 /* === Justify content === */ 3657 .justify-center { 3658 justify-content: center; 3659 } 3660 .justify-end { 3661 justify-content: flex-end; 3662 } 3663 .justify-start { 3664 justify-content: flex-start; 3665 } 3666 .justify-around { 3667 justify-content: space-around; 3668 } 3669 .justify-between { 3670 justify-content: space-between; 3671 } 3672 .justify-evenly { 3673 justify-content: space-evenly; 3674 } 3675 3676 /* === Span (column) === */ 3677 .col-span-1 { 3678 grid-column: span 1 / span 1; 3679 } 3680 .col-span-2 { 3681 grid-column: span 2 / span 2; 3682 } 3683 .col-span-3 { 3684 grid-column: span 3 / span 3; 3685 } 3686 .col-span-4 { 3687 grid-column: span 4 / span 4; 3688 } 3689 .col-span-5 { 3690 grid-column: span 5 / span 5; 3691 } 3692 .col-span-6 { 3693 grid-column: span 6 / span 6; 3694 } 3695 .col-span-7 { 3696 grid-column: span 7 / span 7; 3697 } 3698 .col-span-8 { 3699 grid-column: span 8 / span 8; 3700 } 3701 .col-span-9 { 3702 grid-column: span 9 / span 9; 3703 } 3704 .col-span-10 { 3705 grid-column: span 10 / span 10; 3706 } 3707 .col-span-11 { 3708 grid-column: span 11 / span 11; 3709 } 3710 .col-span-12 { 3711 grid-column: span 12 / span 12; 3712 } 3713 .col-span-full { 3714 grid-column: 1 / -1; 3715 } 3716 3717 /* === Span (row) === */ 3718 .row-span-1 {
3719 grid-row: span 1 / span 1; 3720 } 3721 .row-span-2 { 3722 grid-row: span 2 / span 2; 3723 } 3724 .row-span-3 { 3725 grid-row: span 3 / span 3; 3726 } 3727 .row-span-4 { 3728 grid-row: span 4 / span 4; 3729 } 3730 .row-span-5 { 3731 grid-row: span 5 / span 5; 3732 } 3733 .row-span-6 { 3734 grid-row: span 6 / span 6; 3735 } 3736 .row-span-full { 3737 grid-row: 1 / -1; 3738 } 3739 3740 /* === Responsive design === */ 3741 @media (min-width: 640px) { 3742 .sm\\:items-baseline { 3743 align-items: baseline; 3744 } 3745 .sm\\:items-center { 3746 align-items: center; 3747 } 3748 .sm\\:items-end { 3749 align-items: flex-end; 3750 } 3751 .sm\\:items-start { 3752 align-items: flex-start; 3753 } 3754 .sm\\:items-stretch { 3755 align-items: stretch; 3756 } 3757 .sm\\:flex-col { 3758 flex-direction: column; 3759 } 3760 .sm\\:flex-row { 3761 flex-direction: row; 3762 } 3763 .sm\\:grid-cols-1 { 3764 grid-template-columns: repeat(1, minmax(0, 1fr)); 3765 } 3766 .sm\\:grid-cols-2 { 3767 grid-template-columns: repeat(2, minmax(0, 1fr)); 3768 } 3769 .sm\\:grid-cols-3 { 3770 grid-template-columns: repeat(3, minmax(0, 1fr)); 3771 } 3772 .sm\\:grid-cols-4 { 3773 grid-template-columns: repeat(4, minmax(0, 1fr)); 3774 } 3775 .sm\\:grid-cols-5 { 3776 grid-template-columns: repeat(5, minmax(0, 1fr)); 3777 } 3778 .sm\\:grid-cols-6 { 3779 grid-template-columns: repeat(6, minmax(0, 1fr)); 3780 } 3781 .sm\\:grid-cols-7 { 3782 grid-template-columns: repeat(7, minmax(0, 1fr)); 3783 } 3784 .sm\\:grid-cols-8 { 3785 grid-template-columns: repeat(8, minmax(0, 1fr)); 3786 } 3787 .sm\\:grid-cols-9 { 3788 grid-template-columns: repeat(9, minmax(0, 1fr)); 3789 } 3790 .sm\\:grid-cols-10 { 3791 grid-template-columns: repeat(10, minmax(0, 1fr)); 3792 } 3793 .sm\\:grid-cols-11 { 3794 grid-template-columns: repeat(11, minmax(0, 1fr)); 3795 } 3796 .sm\\:grid-cols-12 { 3797 grid-template-columns: repeat(12, minmax(0, 1fr)); 3798 } 3799 } 3800 3801 @media (min-width: 768px) { 3802 .md\\:items-baseline { 3803 align-items: baseline; 3804 } 3805 .md\\:items-center { 3806 align-items: center; 3807 } 3808 .md\\:items-end { 3809 align-items: flex-end; 3810 } 3811 .md\\:items-start { 3812 align-items: flex-start; 3813 } 3814 .md\\:items-stretch { 3815 align-items: stretch; 3816 } 3817 .md\\:flex-col { 3818 flex-direction: column; 3819 } 3820 .md\\:flex-row { 3821 flex-direction: row; 3822 } 3823 .md\\:grid-cols-1 { 3824 grid-template-columns: repeat(1, minmax(0, 1fr)); 3825 } 3826 .md\\:grid-cols-2 { 3827 grid-template-columns: repeat(2, minmax(0, 1fr)); 3828 } 3829 .md\\:grid-cols-3 { 3830 grid-template-columns: repeat(3, minmax(0, 1fr)); 3831 } 3832 .md\\:grid-cols-4 { 3833 grid-template-columns: repeat(4, minmax(0, 1fr)); 3834 } 3835 .md\\:grid-cols-5 { 3836 grid-template-columns: repeat(5, minmax(0, 1fr)); 3837 } 3838 .md\\:grid-cols-6 { 3839 grid-template-columns: repeat(6, minmax(0, 1fr)); 3840 } 3841 .md\\:grid-cols-7 { 3842 grid-template-columns: repeat(7, minmax(0, 1fr)); 3843 } 3844 .md\\:grid-cols-8 { 3845 grid-template-columns: repeat(8, minmax(0, 1fr)); 3846 } 3847 .md\\:grid-cols-9 { 3848 grid-template-columns: repeat(9, minmax(0, 1fr)); 3849 } 3850 .md\\:grid-cols-10 { 3851 grid-template-columns: repeat(10, minmax(0, 1fr)); 3852 } 3853 .md\\:grid-cols-11 { 3854 grid-template-columns: repeat(11, minmax(0, 1fr)); 3855 } 3856 .md\\:grid-cols-12 { 3857 grid-template-columns: repeat(12, minmax(0, 1fr)); 3858 } 3859 } 3860 @media (min-width: 1024px) { 3861 .lg\\:items-baseline { 3862 align-items: baseline; 3863 } 3864 .lg\\:items-center { 3865 align-items: center; 3866 } 3867 .lg\\:items-end { 3868 align-items: flex-end; 3869 } 3870 .lg\\:items-start { 3871 align-items: flex-start; 3872 } 3873 .lg\\:items-stretch { 3874 align-items: stretch; 3875 } 3876 .lg\\:flex-col { 3877 flex-direction: column; 3878 } 3879 .lg\\:flex-row { 3880 flex-direction: row; 3881 } 3882 .lg\\:grid-cols-1 { 3883 grid-template-columns: repeat(1, minmax(0, 1fr)); 3884 } 3885 .lg\\:grid-cols-2 { 3886 grid-template-columns: repeat(2, minmax(0, 1fr)); 3887 } 3888 .lg\\:grid-cols-3 { 3889 grid-template-columns: repeat(3, minmax(0, 1fr)); 3890 } 3891 .lg\\:grid-cols-4 { 3892 grid-template-columns: repeat(4, minmax(0, 1fr)); 3893 } 3894 .lg\\:grid-cols-5 { 3895 grid-template-columns: repeat(5, minmax(0, 1fr)); 3896 } 3897 .lg\\:grid-cols-6 { 3898 grid-template-columns: repeat(6, minmax(0, 1fr)); 3899 } 3900 .lg\\:grid-cols-7 { 3901 grid-template-columns: repeat(7, minmax(0, 1fr)); 3902 } 3903 .lg\\:grid-cols-8 { 3904 grid-template-columns: repeat(8, minmax(0, 1fr)); 3905 } 3906 .lg\\:grid-cols-9 { 3907 grid-template-columns: repeat(9, minmax(0, 1fr)); 3908 } 3909 .lg\\:grid-cols-10 { 3910 grid-template-columns: repeat(10, minmax(0, 1fr)); 3911 } 3912 .lg\\:grid-cols-11 { 3913 grid-template-columns: repeat(11, minmax(0, 1fr)); 3914 } 3915 .lg\\:grid-cols-12 { 3916 grid-template-columns: repeat(12, minmax(0, 1fr)); 3917 } 3918 } 3919 @media (min-width: 1280px) { 3920 .xl\\:items-baseline { 3921 align-items: baseline; 3922 } 3923 .xl\\:items-center { 3924 align-items: center; 3925 } 3926 .xl\\:items-end { 3927 align-items: flex-end; 3928 } 3929 .xl\\:items-start { 3930 align-items: flex-start; 3931 } 3932 .xl\\:items-stretch { 3933 align-items: stretch; 3934 } 3935 .xl\\:flex-col { 3936 flex-direction: column; 3937 } 3938 .xl\\:flex-row { 3939 flex-direction: row; 3940 } 3941 .xl\\:grid-cols-1 { 3942 grid-template-columns: repeat(1, minmax(0, 1fr)); 3943 } 3944 .xl\\:grid-cols-2 { 3945 grid-template-columns: repeat(2, minmax(0, 1fr)); 3946 } 3947 .xl\\:grid-cols-3 { 3948 grid-template-columns: repeat(3, minmax(0, 1fr)); 3949 } 3950 .xl\\:grid-cols-4 { 3951 grid-template-columns: repeat(4, minmax(0, 1fr)); 3952 } 3953 .xl\\:grid-cols-5 { 3954 grid-template-columns: repeat(5, minmax(0, 1fr)); 3955 } 3956 .xl\\:grid-cols-6 { 3957 grid-template-columns: repeat(6, minmax(0, 1fr)); 3958 } 3959 .xl\\:grid-cols-7 { 3960 grid-template-columns: repeat(7, minmax(0, 1fr)); 3961 } 3962 .xl\\:grid-cols-8 { 3963 grid-template-columns: repeat(8, minmax(0, 1fr)); 3964 } 3965 .xl\\:grid-cols-9 { 3966 grid-template-columns: repeat(9, minmax(0, 1fr)); 3967 } 3968 .xl\\:grid-cols-10 { 3969 grid-template-columns: repeat(10, minmax(0, 1fr)); 3970 } 3971 .xl\\:grid-cols-11 { 3972 grid-template-columns: repeat(11, minmax(0, 1fr)); 3973 } 3974 .xl\\:grid-cols-12 { 3975 grid-template-columns: repeat(12, minmax(0, 1fr)); 3976 } 3977 } 3978 @media (min-width: 1536px) { 3979 .\\32xl\\:items-baseline { 3980 align-items: baseline; 3981 } 3982 .\\32xl\\:items-center { 3983 align-items: center; 3984 } 3985 .\\32xl\\:items-end { 3986 align-items: flex-end; 3987 } 3988 .\\32xl\\:items-start { 3989 align-items: flex-start; 3990 } 3991 .\\32xl\\:items-stretch { 3992 align-items: stretch; 3993 } 3994 .\\32xl\\:flex-col { 3995 flex-direction: column; 3996 } 3997 .\\32xl\\:flex-row { 3998 flex-direction: row; 3999 } 4000 .\\32xl\\:grid-cols-1 { 4001 grid-template-columns: repeat(1, minmax(0, 1fr)); 4002 } 4003 .\\32xl\\:grid-cols-2 { 4004 grid-template-columns: repeat(2, minmax(0, 1fr)); 4005 } 4006 .\\32xl\\:grid-cols-3 { 4007 grid-template-columns: repeat(3, minmax(0, 1fr)); 4008 } 4009 .\\32xl\\:grid-cols-4 { 4010 grid-template-columns: repeat(4, minmax(0, 1fr)); 4011 } 4012 .\\32xl\\:grid-cols-5 { 4013 grid-template-columns: repeat(5, minmax(0, 1fr)); 4014 } 4015 .\\32xl\\:grid-cols-6 { 4016 grid-template-columns: repeat(6, minmax(0, 1fr)); 4017 } 4018 .\\32xl\\:grid-cols-7 { 4019 grid-template-columns: repeat(7, minmax(0, 1fr)); 4020 } 4021 .\\32xl\\:grid-cols-8 { 4022 grid-template-columns: repeat(8, minmax(0, 1fr)); 4023 } 4024 .\\32xl\\:grid-cols-9 { 4025 grid-template-columns: repeat(9, minmax(0, 1fr)); 4026 } 4027 .\\32xl\\:grid-cols-10 { 4028 grid-template-columns: repeat(10, minmax(0, 1fr)); 4029 } 4030 .\\32xl\\:grid-cols-11 { 4031 grid-template-columns: repeat(11, minmax(0, 1fr)); 4032 } 4033 .\\32xl\\:grid-cols-12 { 4034 grid-template-columns: repeat(12, minmax(0, 1fr)); 4035 } 4036 } 4037`;/** 4038 * @license 4039 * Copyright (c) 2017 - 2025 Vaadin Ltd. 4040 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 4041 */const uN=We` 4042 /* === Aspect ratio === */ 4043 .aspect-square { 4044 aspect-ratio: 1 / 1; 4045 } 4046 .aspect-video { 4047 aspect-ratio: 16 / 9; 4048 } 4049 4050 /* === Box sizing === */ 4051 .box-border { 4052 box-sizing: border-box; 4053 } 4054 .box-content { 4055 box-sizing: content-box; 4056 } 4057 4058 /* === Display === */ 4059 .block { 4060 display: block; 4061 } 4062 .flex { 4063 display: flex; 4064 } 4065 .grid { 4066 display: grid; 4067 } 4068 .hidden { 4069 display: none; 4070 } 4071 .inline { 4072 display: inline; 4073 } 4074 .inline-block { 4075 display: inline-block; 4076 } 4077 .inline-flex { 4078 display: inline-flex; 4079 } 4080 .inline-grid { 4081 display: inline-grid; 4082 } 4083 4084 /* === Overflow === */ 4085 .overflow-auto { 4086 overflow: auto; 4087 } 4088 .overflow-hidden { 4089 overflow: hidden; 4090 } 4091 .overflow-scroll { 4092 overflow: scroll; 4093 } 4094 4095 /* === Position === */ 4096 .absolute { 4097 position: absolute; 4098 } 4099 .fixed { 4100 position: fixed; 4101 } 4102 .static { 4103 position: static; 4104 } 4105 .sticky { 4106 position: sticky; 4107 } 4108 .relative { 4109 position: relative; 4110 } 4111 4112 /* === Top, end, bottom, start === */ 4113 .-bottom-xs { 4114 bottom: calc(var(--lumo-space-xs) / -1); 4115 } 4116 .-bottom-s { 4117 bottom: calc(var(--lumo-space-s) / -1); 4118 } 4119 .-bottom-m { 4120 bottom: calc(var(--lumo-space-m) / -1); 4121 } 4122 .-bottom-l { 4123 bottom: calc(var(--lumo-space-l) / -1); 4124 } 4125 .-bottom-xl { 4126 bottom: calc(var(--lumo-space-xl) / -1); 4127 } 4128 .-bottom-full { 4129 bottom: -100%; 4130 } 4131 .bottom-0 { 4132 bottom: 0; 4133 } 4134 .bottom-xs { 4135 bottom: var(--lumo-space-xs); 4136 } 4137 .bottom-s { 4138 bottom: var(--lumo-space-s); 4139 } 4140 .bottom-m { 4141 bottom: var(--lumo-space-m); 4142 } 4143 .bottom-l { 4144 bottom: var(--lumo-space-l); 4145 } 4146 .bottom-xl { 4147 bottom: var(--lumo-space-xl); 4148 } 4149 .bottom-auto { 4150 bottom: auto; 4151 } 4152 .bottom-full { 4153 bottom: 100%; 4154 } 4155 4156 .-end-xs { 4157 inset-inline-end: calc(var(--lumo-space-xs) / -1); 4158 } 4159 .-end-s { 4160 inset-inline-end: calc(var(--lumo-space-s) / -1); 4161 } 4162 .-end-m { 4163 inset-inline-end: calc(var(--lumo-space-m) / -1); 4164 } 4165 .-end-l { 4166 inset-inline-end: calc(var(--lumo-space-l) / -1); 4167 } 4168 .-end-xl { 4169 inset-inline-end: calc(var(--lumo-space-xl) / -1); 4170 } 4171 .-end-full { 4172 inset-inline-end: -100%; 4173 } 4174 .end-0 { 4175 inset-inline-end: 0; 4176 } 4177 .end-xs { 4178 inset-inline-end: var(--lumo-space-xs); 4179 } 4180 .end-s { 4181 inset-inline-end: var(--lumo-space-s); 4182 } 4183 .end-m { 4184 inset-inline-end: var(--lumo-space-m); 4185 } 4186 .end-l { 4187 inset-inline-end: var(--lumo-space-l); 4188 } 4189 .end-xl { 4190 inset-inline-end: var(--lumo-space-xl); 4191 } 4192 .end-auto { 4193 inset-inline-end: auto; 4194 } 4195 .end-full { 4196 inset-inline-end: 100%; 4197 } 4198 4199 .-start-xs { 4200 inset-inline-start: calc(var(--lumo-space-xs) / -1); 4201 } 4202 .-start-s { 4203 inset-inline-start: calc(var(--lumo-space-s) / -1); 4204 } 4205 .-start-m { 4206 inset-inline-start: calc(var(--lumo-space-m) / -1); 4207 } 4208 .-start-l { 4209 inset-inline-start: calc(var(--lumo-space-l) / -1); 4210 } 4211 .-start-xl { 4212 inset-inline-start: calc(var(--lumo-space-xl) / -1); 4213 } 4214 .-start-full {
4215 inset-inline-start: -100%; 4216 } 4217 .start-0 { 4218 inset-inline-start: 0; 4219 } 4220 .start-xs { 4221 inset-inline-start: var(--lumo-space-xs); 4222 } 4223 .start-s { 4224 inset-inline-start: var(--lumo-space-s); 4225 } 4226 .start-m { 4227 inset-inline-start: var(--lumo-space-m); 4228 } 4229 .start-l { 4230 inset-inline-start: var(--lumo-space-l); 4231 } 4232 .start-xl { 4233 inset-inline-start: var(--lumo-space-xl); 4234 } 4235 .start-auto { 4236 inset-inline-start: auto; 4237 } 4238 .start-full { 4239 inset-inline-start: 100%; 4240 } 4241 4242 .-top-xs { 4243 top: calc(var(--lumo-space-xs) / -1); 4244 } 4245 .-top-s { 4246 top: calc(var(--lumo-space-s) / -1); 4247 } 4248 .-top-m { 4249 top: calc(var(--lumo-space-m) / -1); 4250 } 4251 .-top-l { 4252 top: calc(var(--lumo-space-l) / -1); 4253 } 4254 .-top-xl { 4255 top: calc(var(--lumo-space-xl) / -1); 4256 } 4257 .-top-full { 4258 top: -100%; 4259 } 4260 .top-0 { 4261 top: 0; 4262 } 4263 .top-xs { 4264 top: var(--lumo-space-xs); 4265 } 4266 .top-s { 4267 top: var(--lumo-space-s); 4268 } 4269 .top-m { 4270 top: var(--lumo-space-m); 4271 } 4272 .top-l { 4273 top: var(--lumo-space-l); 4274 } 4275 .top-xl { 4276 top: var(--lumo-space-xl); 4277 } 4278 .top-auto { 4279 top: auto; 4280 } 4281 .top-full { 4282 top: 100%; 4283 } 4284 4285 /* === Visibility === */ 4286 .invisible { 4287 visibility: hidden; 4288 } 4289 .visible { 4290 visibility: visible; 4291 } 4292 4293 /* === Z-index === */ 4294 .z-0 { 4295 z-index: 0; 4296 } 4297 .z-10 { 4298 z-index: 10; 4299 } 4300 .z-20 { 4301 z-index: 20; 4302 } 4303 .z-30 { 4304 z-index: 30; 4305 } 4306 .z-40 { 4307 z-index: 40; 4308 } 4309 .z-50 { 4310 z-index: 50; 4311 } 4312 .z-auto { 4313 z-index: auto; 4314 } 4315 4316 /* === Responsive design === */ 4317 @media (min-width: 640px) { 4318 /* Display */ 4319 .sm\\:block { 4320 display: block; 4321 } 4322 .sm\\:flex { 4323 display: flex; 4324 } 4325 .sm\\:grid { 4326 display: grid; 4327 } 4328 .sm\\:hidden { 4329 display: none; 4330 } 4331 .sm\\:inline { 4332 display: inline; 4333 } 4334 .sm\\:inline-block { 4335 display: inline-block; 4336 } 4337 .sm\\:inline-flex { 4338 display: inline-flex; 4339 } 4340 .sm\\:inline-grid { 4341 display: inline-grid; 4342 } 4343 4344 /* Position */ 4345 .sm\\:absolute { 4346 position: absolute; 4347 } 4348 .sm\\:fixed { 4349 position: fixed; 4350 } 4351 .sm\\:relative { 4352 position: relative; 4353 } 4354 .sm\\:static { 4355 position: static; 4356 } 4357 .sm\\:sticky { 4358 position: sticky; 4359 } 4360 } 4361 @media (min-width: 768px) { 4362 /* Display */ 4363 .md\\:block { 4364 display: block; 4365 } 4366 .md\\:flex { 4367 display: flex; 4368 } 4369 .md\\:grid { 4370 display: grid; 4371 } 4372 .md\\:hidden { 4373 display: none; 4374 } 4375 .md\\:inline { 4376 display: inline; 4377 } 4378 .md\\:inline-block { 4379 display: inline-block; 4380 } 4381 .md\\:inline-flex { 4382 display: inline-flex; 4383 } 4384 .md\\:inline-grid { 4385 display: inline-grid; 4386 } 4387 4388 /* Position */ 4389 .md\\:absolute { 4390 position: absolute; 4391 } 4392 .md\\:fixed { 4393 position: fixed; 4394 } 4395 .md\\:relative { 4396 position: relative; 4397 } 4398 .md\\:static { 4399 position: static; 4400 } 4401 .md\\:sticky { 4402 position: sticky; 4403 } 4404 } 4405 @media (min-width: 1024px) { 4406 /* Display */ 4407 .lg\\:block { 4408 display: block; 4409 } 4410 .lg\\:flex { 4411 display: flex; 4412 } 4413 .lg\\:grid { 4414 display: grid; 4415 } 4416 .lg\\:hidden { 4417 display: none; 4418 } 4419 .lg\\:inline { 4420 display: inline; 4421 } 4422 .lg\\:inline-block { 4423 display: inline-block; 4424 } 4425 .lg\\:inline-flex { 4426 display: inline-flex; 4427 } 4428 .lg\\:inline-grid { 4429 display: inline-grid; 4430 } 4431 4432 /* Position */ 4433 .lg\\:absolute { 4434 position: absolute; 4435 } 4436 .lg\\:fixed { 4437 position: fixed; 4438 } 4439 .lg\\:relative { 4440 position: relative; 4441 } 4442 .lg\\:static { 4443 position: static; 4444 } 4445 .lg\\:sticky { 4446 position: sticky; 4447 } 4448 } 4449 @media (min-width: 1280px) { 4450 /* Display */ 4451 .xl\\:block { 4452 display: block; 4453 } 4454 .xl\\:flex { 4455 display: flex; 4456 } 4457 .xl\\:grid { 4458 display: grid; 4459 } 4460 .xl\\:hidden { 4461 display: none; 4462 } 4463 .xl\\:inline { 4464 display: inline; 4465 } 4466 .xl\\:inline-block { 4467 display: inline-block; 4468 } 4469 .xl\\:inline-flex { 4470 display: inline-flex; 4471 } 4472 .xl\\:inline-grid { 4473 display: inline-grid; 4474 } 4475 4476 /* Position */ 4477 .xl\\:absolute { 4478 position: absolute; 4479 } 4480 .xl\\:fixed { 4481 position: fixed; 4482 } 4483 .xl\\:relative { 4484 position: relative; 4485 } 4486 .xl\\:static { 4487 position: static; 4488 } 4489 .xl\\:sticky { 4490 position: sticky; 4491 } 4492 } 4493 @media (min-width: 1536px) { 4494 /* Display */ 4495 .\\32xl\\:block { 4496 display: block; 4497 } 4498 .\\32xl\\:flex { 4499 display: flex; 4500 } 4501 .\\32xl\\:grid { 4502 display: grid; 4503 } 4504 .\\32xl\\:hidden { 4505 display: none; 4506 } 4507 .\\32xl\\:inline { 4508 display: inline; 4509 } 4510 .\\32xl\\:inline-block { 4511 display: inline-block; 4512 } 4513 .\\32xl\\:inline-flex { 4514 display: inline-flex; 4515 } 4516 .\\32xl\\:inline-grid { 4517 display: inline-grid; 4518 } 4519 4520 /* Position */ 4521 .\\32xl\\:absolute { 4522 position: absolute; 4523 } 4524 .\\32xl\\:fixed { 4525 position: fixed; 4526 } 4527 .\\32xl\\:relative { 4528 position: relative; 4529 } 4530 .\\32xl\\:static { 4531 position: static; 4532 } 4533 .\\32xl\\:sticky { 4534 position: sticky; 4535 } 4536 } 4537`;/** 4538 * @license 4539 * Copyright (c) 2017 - 2025 Vaadin Ltd. 4540 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 4541 */const cN=We` 4542 /* === Box shadow === */ 4543 .shadow-none { 4544 box-shadow: none; 4545 } 4546 .shadow-xs {
4547 box-shadow: var(--lumo-box-shadow-xs); 4548 } 4549 .shadow-s { 4550 box-shadow: var(--lumo-box-shadow-s); 4551 } 4552 .shadow-m { 4553 box-shadow: var(--lumo-box-shadow-m); 4554 } 4555 .shadow-l { 4556 box-shadow: var(--lumo-box-shadow-l); 4557 } 4558 .shadow-xl { 4559 box-shadow: var(--lumo-box-shadow-xl); 4560 } 4561`;/** 4562 * @license 4563 * Copyright (c) 2017 - 2025 Vaadin Ltd. 4564 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 4565 */const dN=We` 4566 /* === Height === */ 4567 .h-0 { 4568 height: 0; 4569 } 4570 .h-xs { 4571 height: var(--lumo-size-xs); 4572 } 4573 .h-s { 4574 height: var(--lumo-size-s); 4575 } 4576 .h-m { 4577 height: var(--lumo-size-m); 4578 } 4579 .h-l { 4580 height: var(--lumo-size-l); 4581 } 4582 .h-xl { 4583 height: var(--lumo-size-xl); 4584 } 4585 .h-auto { 4586 height: auto; 4587 } 4588 .h-full { 4589 height: 100%; 4590 } 4591 .h-screen { 4592 height: 100vh; 4593 } 4594 4595 /* === Height (max) === */ 4596 .max-h-full { 4597 max-height: 100%; 4598 } 4599 .max-h-screen { 4600 max-height: 100vh; 4601 } 4602 4603 /* === Height (min) === */ 4604 .min-h-0 { 4605 min-height: 0; 4606 } 4607 .min-h-full { 4608 min-height: 100%; 4609 } 4610 .min-h-screen { 4611 min-height: 100vh; 4612 } 4613 4614 /* === Icon sizing === */ 4615 .icon-s { 4616 height: var(--lumo-icon-size-s); 4617 width: var(--lumo-icon-size-s); 4618 } 4619 .icon-m { 4620 height: var(--lumo-icon-size-m); 4621 width: var(--lumo-icon-size-m); 4622 } 4623 .icon-l { 4624 height: var(--lumo-icon-size-l); 4625 width: var(--lumo-icon-size-l); 4626 } 4627 4628 /* === Width === */ 4629 .w-xs { 4630 width: var(--lumo-size-xs); 4631 } 4632 .w-s { 4633 width: var(--lumo-size-s); 4634 } 4635 .w-m { 4636 width: var(--lumo-size-m); 4637 } 4638 .w-l { 4639 width: var(--lumo-size-l); 4640 } 4641 .w-xl { 4642 width: var(--lumo-size-xl); 4643 } 4644 .w-auto { 4645 width: auto; 4646 } 4647 .w-full { 4648 width: 100%; 4649 } 4650 4651 /* === Width (max) === */ 4652 .max-w-full { 4653 max-width: 100%; 4654 } 4655 .max-w-screen-sm { 4656 max-width: 640px; 4657 } 4658 .max-w-screen-md { 4659 max-width: 768px; 4660 } 4661 .max-w-screen-lg { 4662 max-width: 1024px; 4663 } 4664 .max-w-screen-xl { 4665 max-width: 1280px; 4666 } 4667 .max-w-screen-2xl { 4668 max-width: 1536px; 4669 } 4670 4671 /* === Width (min) === */ 4672 .min-w-0 { 4673 min-width: 0; 4674 } 4675 .min-w-full { 4676 min-width: 100%; 4677 } 4678`;/** 4679 * @license 4680 * Copyright (c) 2017 - 2025 Vaadin Ltd. 4681 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 4682 */const fN=We` 4683 /* === Margin === */ 4684 .-m-xs { 4685 margin: calc(var(--lumo-space-xs) / -1); 4686 } 4687 .-m-s { 4688 margin: calc(var(--lumo-space-s) / -1); 4689 } 4690 .-m-m { 4691 margin: calc(var(--lumo-space-m) / -1); 4692 } 4693 .-m-l { 4694 margin: calc(var(--lumo-space-l) / -1); 4695 } 4696 .-m-xl { 4697 margin: calc(var(--lumo-space-xl) / -1); 4698 } 4699 .m-0 { 4700 margin: 0; 4701 } 4702 .m-xs { 4703 margin: var(--lumo-space-xs); 4704 } 4705 .m-s { 4706 margin: var(--lumo-space-s); 4707 } 4708 .m-m { 4709 margin: var(--lumo-space-m); 4710 } 4711 .m-l { 4712 margin: var(--lumo-space-l); 4713 } 4714 .m-xl { 4715 margin: var(--lumo-space-xl); 4716 } 4717 .m-auto { 4718 margin: auto; 4719 } 4720 4721 /* === Margin (bottom) === */ 4722 .-mb-xs { 4723 margin-bottom: calc(var(--lumo-space-xs) / -1); 4724 } 4725 .-mb-s { 4726 margin-bottom: calc(var(--lumo-space-s) / -1); 4727 } 4728 .-mb-m { 4729 margin-bottom: calc(var(--lumo-space-m) / -1); 4730 } 4731 .-mb-l { 4732 margin-bottom: calc(var(--lumo-space-l) / -1); 4733 } 4734 .-mb-xl { 4735 margin-bottom: calc(var(--lumo-space-xl) / -1); 4736 } 4737 .mb-0 { 4738 margin-bottom: 0; 4739 } 4740 .mb-xs { 4741 margin-bottom: var(--lumo-space-xs); 4742 } 4743 .mb-s { 4744 margin-bottom: var(--lumo-space-s); 4745 } 4746 .mb-m { 4747 margin-bottom: var(--lumo-space-m); 4748 } 4749 .mb-l { 4750 margin-bottom: var(--lumo-space-l); 4751 } 4752 .mb-xl { 4753 margin-bottom: var(--lumo-space-xl); 4754 } 4755 .mb-auto { 4756 margin-bottom: auto; 4757 } 4758 4759 /* === Margin (end) === */ 4760 .-me-xs { 4761 margin-inline-end: calc(var(--lumo-space-xs) / -1); 4762 } 4763 .-me-s { 4764 margin-inline-end: calc(var(--lumo-space-s) / -1); 4765 } 4766 .-me-m { 4767 margin-inline-end: calc(var(--lumo-space-m) / -1); 4768 } 4769 .-me-l { 4770 margin-inline-end: calc(var(--lumo-space-l) / -1); 4771 } 4772 .-me-xl { 4773 margin-inline-end: calc(var(--lumo-space-xl) / -1); 4774 } 4775 .me-0 { 4776 margin-inline-end: 0; 4777 } 4778 .me-xs { 4779 margin-inline-end: var(--lumo-space-xs); 4780 } 4781 .me-s { 4782 margin-inline-end: var(--lumo-space-s); 4783 } 4784 .me-m { 4785 margin-inline-end: var(--lumo-space-m); 4786 } 4787 .me-l { 4788 margin-inline-end: var(--lumo-space-l); 4789 } 4790 .me-xl { 4791 margin-inline-end: var(--lumo-space-xl); 4792 } 4793 .me-auto { 4794 margin-inline-end: auto; 4795 } 4796 4797 /* === Margin (horizontal) === */ 4798 .-mx-xs { 4799 margin-inline: calc(var(--lumo-space-xs) / -1); 4800 } 4801 .-mx-s { 4802 margin-inline: calc(var(--lumo-space-s) / -1); 4803 } 4804 .-mx-m { 4805 margin-inline: calc(var(--lumo-space-m) / -1); 4806 } 4807 .-mx-l { 4808 margin-inline: calc(var(--lumo-space-l) / -1); 4809 } 4810 .-mx-xl { 4811 margin-inline: calc(var(--lumo-space-xl) / -1); 4812 } 4813 .mx-0 { 4814 margin-inline: 0; 4815 } 4816 .mx-xs { 4817 margin-inline: var(--lumo-space-xs); 4818 } 4819 .mx-s { 4820 margin-inline: var(--lumo-space-s); 4821 } 4822 .mx-m { 4823 margin-inline: var(--lumo-space-m); 4824 } 4825 .mx-l { 4826 margin-inline: var(--lumo-space-l); 4827 } 4828 .mx-xl { 4829 margin-inline: var(--lumo-space-xl); 4830 } 4831 .mx-auto { 4832 margin-inline: auto; 4833 } 4834 4835 /* === Margin (left) === */ 4836 .-ml-xs { 4837 margin-left: calc(var(--lumo-space-xs) / -1); 4838 } 4839 .-ml-s { 4840 margin-left: calc(var(--lumo-space-s) / -1); 4841 } 4842 .-ml-m { 4843 margin-left: calc(var(--lumo-space-m) / -1); 4844 } 4845 .-ml-l { 4846 margin-left: calc(var(--lumo-space-l) / -1); 4847 } 4848 .-ml-xl { 4849 margin-left: calc(var(--lumo-space-xl) / -1); 4850 } 4851 .ml-0 { 4852 margin-left: 0; 4853 } 4854 .ml-xs { 4855 margin-left: var(--lumo-space-xs); 4856 } 4857 .ml-s { 4858 margin-left: var(--lumo-space-s); 4859 } 4860 .ml-m { 4861 margin-left: var(--lumo-space-m); 4862 } 4863 .ml-l { 4864 margin-left: var(--lumo-space-l); 4865 } 4866 .ml-xl { 4867 margin-left: var(--lumo-space-xl); 4868 } 4869 .ml-auto { 4870 margin-left: auto; 4871 } 4872 4873 /* === Margin (right) === */ 4874 .-mr-xs { 4875 margin-right: calc(var(--lumo-space-xs) / -1); 4876 } 4877 .-mr-s { 4878 margin-right: calc(var(--lumo-space-s) / -1); 4879 } 4880 .-mr-m { 4881 margin-right: calc(var(--lumo-space-m) / -1); 4882 } 4883 .-mr-l { 4884 margin-right: calc(var(--lumo-space-l) / -1); 4885 } 4886 .-mr-xl { 4887 margin-right: calc(var(--lumo-space-xl) / -1); 4888 } 4889 .mr-0 { 4890 margin-right: 0; 4891 } 4892 .mr-xs { 4893 margin-right: var(--lumo-space-xs); 4894 } 4895 .mr-s { 4896 margin-right: var(--lumo-space-s); 4897 } 4898 .mr-m { 4899 margin-right: var(--lumo-space-m); 4900 } 4901 .mr-l { 4902 margin-right: var(--lumo-space-l); 4903 } 4904 .mr-xl { 4905 margin-right: var(--lumo-space-xl); 4906 } 4907 .mr-auto { 4908 margin-right: auto; 4909 } 4910 4911 /* === Margin (start) === */ 4912 .-ms-xs { 4913 margin-inline-start: calc(var(--lumo-space-xs) / -1); 4914 } 4915 .-ms-s { 4916 margin-inline-start: calc(var(--lumo-space-s) / -1); 4917 } 4918 .-ms-m { 4919 margin-inline-start: calc(var(--lumo-space-m) / -1); 4920 } 4921 .-ms-l { 4922 margin-inline-start: calc(var(--lumo-space-l) / -1); 4923 } 4924 .-ms-xl { 4925 margin-inline-start: calc(var(--lumo-space-xl) / -1); 4926 } 4927 .ms-0 { 4928 margin-inline-start: 0; 4929 } 4930 .ms-xs { 4931 margin-inline-start: var(--lumo-space-xs); 4932 } 4933 .ms-s { 4934 margin-inline-start: var(--lumo-space-s); 4935 } 4936 .ms-m { 4937 margin-inline-start: var(--lumo-space-m); 4938 } 4939 .ms-l { 4940 margin-inline-start: var(--lumo-space-l); 4941 } 4942 .ms-xl { 4943 margin-inline-start: var(--lumo-space-xl); 4944 } 4945 .ms-auto { 4946 margin-inline-start: auto; 4947 } 4948 4949 /* === Margin (top) === */ 4950 .-mt-xs { 4951 margin-top: calc(var(--lumo-space-xs) / -1); 4952 } 4953 .-mt-s { 4954 margin-top: calc(var(--lumo-space-s) / -1); 4955 } 4956 .-mt-m { 4957 margin-top: calc(var(--lumo-space-m) / -1); 4958 } 4959 .-mt-l { 4960 margin-top: calc(var(--lumo-space-l) / -1); 4961 } 4962 .-mt-xl { 4963 margin-top: calc(var(--lumo-space-xl) / -1); 4964 } 4965 .mt-0 { 4966 margin-top: 0; 4967 } 4968 .mt-xs { 4969 margin-top: var(--lumo-space-xs); 4970 } 4971 .mt-s { 4972 margin-top: var(--lumo-space-s); 4973 } 4974 .mt-m { 4975 margin-top: var(--lumo-space-m); 4976 } 4977 .mt-l { 4978 margin-top: var(--lumo-space-l); 4979 } 4980 .mt-xl { 4981 margin-top: var(--lumo-space-xl); 4982 } 4983 .mt-auto { 4984 margin-top: auto; 4985 } 4986 4987 /* === Margin (vertical) === */ 4988 .-my-xs { 4989 margin-block: calc(var(--lumo-space-xs) / -1); 4990 } 4991 .-my-s { 4992 margin-block: calc(var(--lumo-space-s) / -1); 4993 } 4994 .-my-m { 4995 margin-block: calc(var(--lumo-space-m) / -1); 4996 } 4997 .-my-l { 4998 margin-block: calc(var(--lumo-space-l) / -1); 4999 } 5000 .-my-xl { 5001 margin-block: calc(var(--lumo-space-xl) / -1); 5002 } 5003 .my-0 { 5004 margin-block: 0; 5005 } 5006 .my-xs { 5007 margin-block: var(--lumo-space-xs); 5008 } 5009 .my-s { 5010 margin-block: var(--lumo-space-s); 5011 } 5012 .my-m { 5013 margin-block: var(--lumo-space-m); 5014 } 5015 .my-l { 5016 margin-block: var(--lumo-space-l); 5017 } 5018 .my-xl { 5019 margin-block: var(--lumo-space-xl); 5020 } 5021 .my-auto { 5022 margin-block: auto; 5023 } 5024 5025 /* === Padding === */ 5026 .p-0 { 5027 padding: 0; 5028 } 5029 .p-xs { 5030 padding: var(--lumo-space-xs); 5031 } 5032 .p-s { 5033 padding: var(--lumo-space-s); 5034 } 5035 .p-m { 5036 padding: var(--lumo-space-m); 5037 } 5038 .p-l { 5039 padding: var(--lumo-space-l); 5040 } 5041 .p-xl { 5042 padding: var(--lumo-space-xl); 5043 } 5044 5045 /* === Padding (bottom) === */ 5046 .pb-0 { 5047 padding-bottom: 0; 5048 } 5049 .pb-xs { 5050 padding-bottom: var(--lumo-space-xs); 5051 } 5052 .pb-s { 5053 padding-bottom: var(--lumo-space-s); 5054 } 5055 .pb-m { 5056 padding-bottom: var(--lumo-space-m); 5057 } 5058 .pb-l { 5059 padding-bottom: var(--lumo-space-l); 5060 } 5061 .pb-xl { 5062 padding-bottom: var(--lumo-space-xl); 5063 } 5064 5065 /* === Padding (end) === */ 5066 .pe-0 { 5067 padding-inline-end: 0; 5068 } 5069 .pe-xs { 5070 padding-inline-end: var(--lumo-space-xs); 5071 } 5072 .pe-s { 5073 padding-inline-end: var(--lumo-space-s); 5074 } 5075 .pe-m { 5076 padding-inline-end: var(--lumo-space-m); 5077 } 5078 .pe-l { 5079 padding-inline-end: var(--lumo-space-l); 5080 } 5081 .pe-xl { 5082 padding-inline-end: var(--lumo-space-xl); 5083 } 5084 5085 /* === Padding (horizontal) === */ 5086 .px-0 { 5087 padding-left: 0; 5088 padding-right: 0; 5089 } 5090 .px-xs { 5091 padding-left: var(--lumo-space-xs); 5092 padding-right: var(--lumo-space-xs); 5093 } 5094 .px-s { 5095 padding-left: var(--lumo-space-s); 5096 padding-right: var(--lumo-space-s); 5097 } 5098 .px-m { 5099 padding-left: var(--lumo-space-m); 5100 padding-right: var(--lumo-space-m); 5101 } 5102 .px-l { 5103 padding-left: var(--lumo-space-l); 5104 padding-right: var(--lumo-space-l); 5105 } 5106 .px-xl { 5107 padding-left: var(--lumo-space-xl); 5108 padding-right: var(--lumo-space-xl); 5109 } 5110 5111 /* === Padding (left) === */ 5112 .pl-0 { 5113 padding-left: 0; 5114 } 5115 .pl-xs { 5116 padding-left: var(--lumo-space-xs); 5117 } 5118 .pl-s { 5119 padding-left: var(--lumo-space-s); 5120 } 5121 .pl-m { 5122 padding-left: var(--lumo-space-m); 5123 } 5124 .pl-l { 5125 padding-left: var(--lumo-space-l); 5126 } 5127 .pl-xl { 5128 padding-left: var(--lumo-space-xl); 5129 } 5130 5131 /* === Padding (right) === */ 5132 .pr-0 { 5133 padding-right: 0; 5134 } 5135 .pr-xs { 5136 padding-right: var(--lumo-space-xs); 5137 } 5138 .pr-s { 5139 padding-right: var(--lumo-space-s); 5140 } 5141 .pr-m { 5142 padding-right: var(--lumo-space-m); 5143 } 5144 .pr-l { 5145 padding-right: var(--lumo-space-l); 5146 } 5147 .pr-xl { 5148 padding-right: var(--lumo-space-xl); 5149 } 5150 5151 /* === Padding (start) === */ 5152 .ps-0 { 5153 padding-inline-start: 0; 5154 } 5155 .ps-xs { 5156 padding-inline-start: var(--lumo-space-xs); 5157 } 5158 .ps-s { 5159 padding-inline-start: var(--lumo-space-s); 5160 } 5161 .ps-m { 5162 padding-inline-start: var(--lumo-space-m); 5163 } 5164 .ps-l { 5165 padding-inline-start: var(--lumo-space-l); 5166 } 5167 .ps-xl { 5168 padding-inline-start: var(--lumo-space-xl); 5169 } 5170 5171 /* === Padding (top) === */ 5172 .pt-0 { 5173 padding-top: 0; 5174 } 5175 .pt-xs { 5176 padding-top: var(--lumo-space-xs); 5177 } 5178 .pt-s { 5179 padding-top: var(--lumo-space-s); 5180 } 5181 .pt-m { 5182 padding-top: var(--lumo-space-m); 5183 } 5184 .pt-l { 5185 padding-top: var(--lumo-space-l); 5186 } 5187 .pt-xl { 5188 padding-top: var(--lumo-space-xl); 5189 } 5190 5191 /* === Padding (vertical) === */ 5192 .py-0 { 5193 padding-bottom: 0; 5194 padding-top: 0; 5195 } 5196 .py-xs { 5197 padding-bottom: var(--lumo-space-xs); 5198 padding-top: var(--lumo-space-xs); 5199 } 5200 .py-s { 5201 padding-bottom: var(--lumo-space-s); 5202 padding-top: var(--lumo-space-s); 5203 } 5204 .py-m { 5205 padding-bottom: var(--lumo-space-m); 5206 padding-top: var(--lumo-space-m); 5207 } 5208 .py-l { 5209 padding-bottom: var(--lumo-space-l); 5210 padding-top: var(--lumo-space-l); 5211 } 5212 .py-xl { 5213 padding-bottom: var(--lumo-space-xl); 5214 padding-top: var(--lumo-space-xl); 5215 } 5216`;/** 5217 * @license 5218 * Copyright (c) 2017 - 2025 Vaadin Ltd. 5219 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 5220 */const pN=We` 5221 .transition { 5222 transition-property: -webkit-backdrop-filter, backdrop-filter, background-color, border-color, box-shadow, color, 5223 fill, filter, opacity, rotate, scale, stroke, text-decoration-color, transform, translate; 5224 transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)); 5225 transition-duration: var(--lumo-utility-transition-duration, 150ms); 5226 } 5227 5228 .transition-all { 5229 transition-property: all; 5230 transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)); 5231 transition-duration: var(--lumo-utility-transition-duration, 150ms); 5232 } 5233 5234 .transition-colors { 5235 transition-property: background-color, border-color, color, fill, stroke, text-decoration-color; 5236 transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)); 5237 transition-duration: var(--lumo-utility-transition-duration, 150ms); 5238 } 5239 5240 .transition-opacity { 5241 transition-property: opacity; 5242 transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)); 5243 transition-duration: var(--lumo-utility-transition-duration, 150ms); 5244 } 5245 5246 .transition-shadow { 5247 transition-property: box-shadow; 5248 transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)); 5249 transition-duration: var(--lumo-utility-transition-duration, 150ms); 5250 } 5251 5252 .transition-transform { 5253 transition-property: rotate, scale, transform, translate; 5254 transition-timing-function: var(--lumo-utility-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)); 5255 transition-duration: var(--lumo-utility-transition-duration, 150ms); 5256 } 5257 5258 .transition-none { 5259 transition-property: none; 5260 } 5261`;/** 5262 * @license 5263 * Copyright (c) 2017 - 2025 Vaadin Ltd. 5264 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 5265 */const hN=We` 5266 /* === Font size === */ 5267 .text-2xs { 5268 font-size: var(--lumo-font-size-xxs); 5269 } 5270 .text-xs { 5271 font-size: var(--lumo-font-size-xs); 5272 } 5273 .text-s { 5274 font-size: var(--lumo-font-size-s); 5275 } 5276 .text-m { 5277 font-size: var(--lumo-font-size-m); 5278 } 5279 .text-l { 5280 font-size: var(--lumo-font-size-l); 5281 } 5282 .text-xl { 5283 font-size: var(--lumo-font-size-xl); 5284 } 5285 .text-2xl { 5286 font-size: var(--lumo-font-size-xxl); 5287 } 5288 .text-3xl { 5289 font-size: var(--lumo-font-size-xxxl); 5290 } 5291 5292 /* === Font weight === */ 5293 .font-thin { 5294 font-weight: 100; 5295 } 5296 .font-extralight { 5297 font-weight: 200; 5298 } 5299 .font-light { 5300 font-weight: 300; 5301 } 5302 .font-normal { 5303 font-weight: 400; 5304 } 5305 .font-medium { 5306 font-weight: 500; 5307 } 5308 .font-semibold { 5309 font-weight: 600; 5310 } 5311 .font-bold { 5312 font-weight: 700; 5313 } 5314 .font-extrabold { 5315 font-weight: 800; 5316 } 5317 .font-black { 5318 font-weight: 900; 5319 } 5320 5321 /* === Line clamp === */ 5322 [class*='line-clamp-'] { 5323 display: -webkit-box; 5324 overflow: hidden; 5325 -webkit-box-orient: vertical; 5326 } 5327 .line-clamp-1 { 5328 -webkit-line-clamp: 1; 5329 } 5330 .line-clamp-2 { 5331 -webkit-line-clamp: 2; 5332 } 5333 .line-clamp-3 { 5334 -webkit-line-clamp: 3; 5335 } 5336 .line-clamp-4 { 5337 -webkit-line-clamp: 4; 5338 } 5339 .line-clamp-5 { 5340 -webkit-line-clamp: 5; 5341 } 5342 .line-clamp-6 { 5343 -webkit-line-clamp: 6; 5344 } 5345 5346 /* === Line height === */ 5347 .leading-none { 5348 line-height: 1; 5349 } 5350 .leading-xs { 5351 line-height: var(--lumo-line-height-xs); 5352 } 5353 .leading-s { 5354 line-height: var(--lumo-line-height-s); 5355 } 5356 .leading-m { 5357 line-height: var(--lumo-line-height-m); 5358 } 5359 5360 /* === List style type === */ 5361 .list-none { 5362 list-style-type: none; 5363 } 5364 5365 /* === Text alignment === */ 5366 .text-left { 5367 text-align: left; 5368 } 5369 .text-center { 5370 text-align: center; 5371 } 5372 .text-right { 5373 text-align: right; 5374 } 5375 .text-justify { 5376 text-align: justify; 5377 } 5378 5379 /* === Text color === */ 5380 .text-header { 5381 color: var(--lumo-header-text
5381-color); 5382 } 5383 .text-body { 5384 color: var(--lumo-body-text-color); 5385 } 5386 .text-secondary { 5387 color: var(--lumo-secondary-text-color); 5388 } 5389 .text-tertiary { 5390 color: var(--lumo-tertiary-text-color); 5391 } 5392 .text-disabled { 5393 color: var(--lumo-disabled-text-color); 5394 } 5395 .text-primary { 5396 color: var(--lumo-primary-text-color); 5397 } 5398 .text-primary-contrast { 5399 color: var(--lumo-primary-contrast-color); 5400 } 5401 .text-error { 5402 color: var(--lumo-error-text-color); 5403 } 5404 .text-error-contrast { 5405 color: var(--lumo-error-contrast-color); 5406 } 5407 .text-success { 5408 color: var(--lumo-success-text-color); 5409 } 5410 .text-success-contrast { 5411 color: var(--lumo-success-contrast-color); 5412 } 5413 .text-warning { 5414 color: var(--lumo-warning-text-color); 5415 } 5416 .text-warning-contrast { 5417 color: var(--lumo-warning-contrast-color); 5418 } 5419 5420 /* == Text decoration === */ 5421 .line-through { 5422 text-decoration-line: line-through; 5423 } 5424 .no-underline { 5425 text-decoration-line: none; 5426 } 5427 .underline { 5428 text-decoration-line: underline; 5429 } 5430 5431 /* === Text overflow === */ 5432 .overflow-clip { 5433 text-overflow: clip; 5434 } 5435 .overflow-ellipsis { 5436 text-overflow: ellipsis; 5437 } 5438 5439 /* === Text transform === */ 5440 .capitalize { 5441 text-transform: capitalize; 5442 } 5443 .lowercase { 5444 text-transform: lowercase; 5445 } 5446 .uppercase { 5447 text-transform: uppercase; 5448 } 5449 5450 /* === Whitespace === */ 5451 .whitespace-normal { 5452 white-space: normal; 5453 } 5454 .whitespace-break-spaces { 5455 white-space: normal; 5456 } 5457 .whitespace-nowrap { 5458 white-space: nowrap; 5459 } 5460 .whitespace-pre { 5461 white-space: pre; 5462 } 5463 .whitespace-pre-line { 5464 white-space: pre-line; 5465 } 5466 .whitespace-pre-wrap { 5467 white-space: pre-wrap; 5468 } 5469 5470 /* === Responsive design === */ 5471 @media (min-width: 640px) { 5472 .sm\\:text-2xs { 5473 font-size: var(--lumo-font-size-xxs); 5474 } 5475 .sm\\:text-xs { 5476 font-size: var(--lumo-font-size-xs); 5477 } 5478 .sm\\:text-s { 5479 font-size: var(--lumo-font-size-s); 5480 } 5481 .sm\\:text-m { 5482 font-size: var(--lumo-font-size-m); 5483 } 5484 .sm\\:text-l { 5485 font-size: var(--lumo-font-size-l); 5486 } 5487 .sm\\:text-xl { 5488 font-size: var(--lumo-font-size-xl); 5489 } 5490 .sm\\:text-2xl { 5491 font-size: var(--lumo-font-size-xxl); 5492 } 5493 .sm\\:text-3xl { 5494 font-size: var(--lumo-font-size-xxxl); 5495 } 5496 } 5497 @media (min-width: 768px) { 5498 .md\\:text-2xs { 5499 font-size: var(--lumo-font-size-xxs); 5500 } 5501 .md\\:text-xs { 5502 font-size: var(--lumo-font-size-xs); 5503 } 5504 .md\\:text-s { 5505 font-size: var(--lumo-font-size-s); 5506 } 5507 .md\\:text-m { 5508 font-size: var(--lumo-font-size-m); 5509 } 5510 .md\\:text-l { 5511 font-size: var(--lumo-font-size-l); 5512 } 5513 .md\\:text-xl { 5514 font-size: var(--lumo-font-size-xl); 5515 } 5516 .md\\:text-2xl { 5517 font-size: var(--lumo-font-size-xxl); 5518 } 5519 .md\\:text-3xl { 5520 font-size: var(--lumo-font-size-xxxl); 5521 } 5522 } 5523 @media (min-width: 1024px) { 5524 .lg\\:text-2xs { 5525 font-size: var(--lumo-font-size-xxs); 5526 } 5527 .lg\\:text-xs { 5528 font-size: var(--lumo-font-size-xs); 5529 } 5530 .lg\\:text-s { 5531 font-size: var(--lumo-font-size-s); 5532 } 5533 .lg\\:text-m { 5534 font-size: var(--lumo-font-size-m); 5535 } 5536 .lg\\:text-l { 5537 font-size: var(--lumo-font-size-l); 5538 } 5539 .lg\\:text-xl { 5540 font-size: var(--lumo-font-size-xl); 5541 } 5542 .lg\\:text-2xl { 5543 font-size: var(--lumo-font-size-xxl); 5544 } 5545 .lg\\:text-3xl { 5546 font-size: var(--lumo-font-size-xxxl); 5547 } 5548 } 5549 @media (min-width: 1280px) { 5550 .xl\\:text-2xs { 5551 font-size: var(--lumo-font-size-xxs); 5552 } 5553 .xl\\:text-xs { 5554 font-size: var(--lumo-font-size-xs); 5555 } 5556 .xl\\:text-s { 5557 font-size: var(--lumo-font-size-s); 5558 } 5559 .xl\\:text-m { 5560 font-size: var(--lumo-font-size-m); 5561 } 5562 .xl\\:text-l { 5563 font-size: var(--lumo-font-size-l); 5564 } 5565 .xl\\:text-xl { 5566 font-size: var(--lumo-font-size-xl); 5567 } 5568 .xl\\:text-2xl { 5569 font-size: var(--lumo-font-size-xxl); 5570 } 5571 .xl\\:text-3xl { 5572 font-size: var(--lumo-font-size-xxxl); 5573 } 5574 } 5575 @media (min-width: 1536px) { 5576 .\\32xl\\:text-2xs { 5577 font-size: var(--lumo-font-size-xxs); 5578 } 5579 .\\32xl\\:text-xs { 5580 font-size: var(--lumo-font-size-xs); 5581 } 5582 .\\32xl\\:text-s { 5583 font-size: var(--lumo-font-size-s); 5584 } 5585 .\\32xl\\:text-m { 5586 font-size: var(--lumo-font-size-m); 5587 } 5588 .\\32xl\\:text-l { 5589 font-size: var(--lumo-font-size-l); 5590 } 5591 .\\32xl\\:text-xl { 5592 font-size: var(--lumo-font-size-xl); 5593 } 5594 .\\32xl\\:text-2xl { 5595 font-size: var(--lumo-font-size-xxl); 5596 } 5597 .\\32xl\\:text-3xl { 5598 font-size: var(--lumo-font-size-xxxl); 5599 } 5600 } 5601`;/** 5602 * @license 5603 * Copyright (c) 2017 - 2025 Vaadin Ltd. 5604 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 5605 */const ip=We` 5606${iN} 5607${oN} 5608${lN} 5609${aN} 5610${sN} 5611${uN} 5612${cN} 5613${dN} 5614${fN} 5615${pN} 5616${hN} 5617`;hn("",ip,{moduleId:"lumo-utility"});/** 5618 * @license 5619 * Copyright (c) 2017 - 2025 Vaadin Ltd. 5620 * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ 5621 */vr("utility",ip);(function(){if(typeof document>"u"||"adoptedStyleSheets"in document)return;var e="ShadyCSS"in window&&!ShadyCSS.nativeShadow,t=document.implementation.createHTMLDocument(""),n=new WeakMap,o=typeof DOMException=="object"?Error:DOMException,l=Object.defineProperty,a=Array.prototype.forEach,u=/@import.+?;?$/gm;function d(Y){var ee=Y.replace(u,"");return ee!==Y&&console.warn("@import rules are not allowed here. See https://github.com/WICG/construct-stylesheets/issues/119#issuecomment-588352418"),ee.trim()}function c(Y){return"isConnected"in Y?Y.isConnected:document.contains(Y)}function p(Y){return Y.filter(function(ee,me){return Y.indexOf(ee)===me})}function m(Y,ee){return Y.filter(function(me){return ee.indexOf(me)===-1})}function v(Y){Y.parentNode.removeChild(Y)}function b(Y){return Y.shadowRoot||n.get(Y)}var x=["addRule","deleteRule","insertRule","removeRule"],T=CSSStyleSheet,R=T.prototype;R.replace=function(){return Promise.reject(new o("Can't call replace on non-constructed CSSStyleSheets."))},R.replaceSync=function(){throw new o("Failed to execute 'replaceSync' on 'CSSStyleSheet': Can't
5621call replaceSync on non-constructed CSSStyleSheets.")};function A(Y){return typeof Y=="object"?q.isPrototypeOf(Y)||R.isPrototypeOf(Y):!1}function P(Y){return typeof Y=="object"?R.isPrototypeOf(Y):!1}var D=new WeakMap,O=new WeakMap,X=new WeakMap,J=new WeakMap;function k(Y,ee){var me=document.createElement("style");return X.get(Y).set(ee,me),O.get(Y).push(ee),me}function le(Y,ee){return X.get(Y).get(ee)}function ye(Y,ee){X.get(Y).delete(ee),O.set(Y,O.get(Y).filter(function(me){return me!==ee}))}function fe(Y,ee){requestAnimationFrame(function(){ee.textContent=D.get(Y).textContent,J.get(Y).forEach(function(me){return ee.sheet[me.method].apply(ee.sheet,me.args)})})}function Se(Y){if(!D.has(Y))throw new TypeError("Illegal invocation")}function ge(){var Y=this,ee=document.createElement("style");t.body.appendChild(ee),D.set(Y,ee),O.set(Y,[]),X.set(Y,new WeakMap),J.set(Y,[])}var q=ge.prototype;q.replace=function(ee){try{return this.replaceSync(ee),Promise.resolve(this)}catch(me){return Promise.reject(me)}},q.replaceSync=function(ee){if(Se(this),typeof ee=="string"){var me=this;D.get(me).textContent=d(ee),J.set(me,[]),O.get(me).forEach(function(Ye){Ye.isConnected()&&fe(me,le(me,Ye))})}},l(q,"cssRules",{configurable:!0,enumerable:!0,get:function(){return Se(this),D.get(this).sheet.cssRules}}),l(q,"media",{configurable:!0,enumerable:!0,get:function(){return Se(this),D.get(this).sheet.media}}),x.forEach(function(Y){q[Y]=function(){var ee=this;Se(ee);var me=arguments;J.get(ee).push({method:Y,args:me}),O.get(ee).forEach(function(ut){if(ut.isConnected()){var Ge=le(ee,ut).sheet;Ge[Y].apply(Ge,me)}});var Ye=D.get(ee).sheet;return Ye[Y].apply(Ye,me)}}),l(ge,Symbol.hasInstance,{configurable:!0,value:A});var Q={childList:!0,subtree:!0},ue=new WeakMap;function pe(Y){var ee=ue.get(Y);return ee||(ee=new Te(Y),ue.set(Y,ee)),ee}function xe(Y){l(Y.prototype,"adoptedStyleSheets",{configurable:!0,enumerable:!0,get:function(){return pe(this).sheets},set:function(ee){pe(this).update(ee)}})}function ve(Y,ee){for(var me=document.createNodeIterator(Y,NodeFilter.SHOW_ELEMENT,function(ut){return b(ut)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT},null,!1),Ye=void 0;Ye=me.nextNode();)ee(b(Ye))}var ne=new WeakMap,he=new WeakMap,S=new WeakMap;function M(Y,ee){return ee instanceof HTMLStyleElement&&he.get(Y).some(function(me){return le(me,Y)})}function K(Y){var ee=ne.get(Y);return ee instanceof Document?ee.body:ee}function E(Y){var ee=document.createDocumentFragment(),me=he.get(Y),Ye=S.get(Y),ut=K(Y);Ye.disconnect(),me.forEach(function(Ge){ee.appendChild(le(Ge,Y)||k(Ge,Y))}),ut.insertBefore(ee,null),Ye.observe(ut,Q),me.forEach(function(Ge){fe(Ge,le(Ge,Y))})}function Te(Y){var ee=this;ee.sheets=[],ne.set(ee,Y),he.set(ee,[]),S.set(ee,new MutationObserver(function(me,Ye){if(!document){Ye.disconnect();return}me.forEach(function(ut){e||a.call(ut.addedNodes,function(Ge){Ge instanceof Element&&ve(Ge,function(gt){pe(gt).connect()})}),a.call(ut.removedNodes,function(Ge){Ge instanceof Element&&(M(ee,Ge)&&E(ee),e||ve(Ge,function(gt){pe(gt).disconnect()}))})})}))}if(Te.prototype={isConnected:function(){var Y=ne.get(this);return Y instanceof Document?Y.readyState!=="loading":c(Y.host)},connect:function(){var Y=K(this);S.get(this).observe(Y,Q),he.get(this).length>0&&E(this),ve(Y,function(ee){pe(ee).connect()})},disconnect:function(){S.get(this).disconnect()},update:function(Y){var ee=this,me=ne.get(ee)===document?"Document":"ShadowRoot";if(!Array.isArray(Y))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+me+": Iterator getter is not callable.");if(!Y.every(A))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+me+": Failed to convert value to 'CSSStyleSheet'");if(Y.some(P))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+me+": Can't adopt non-constructed stylesheets");ee.sheets=Y;var Ye=he.get(ee),ut=p(Y),Ge=m(Ye,ut);Ge.forEach(function(gt){v(le(gt,ee)),ye(gt,ee)}),he.set(ee,ut),ee.isConnected()&&ut.length>0&&E(ee)}},window.CSSStyleSheet=ge,xe(Document),"ShadowRoot"in window){xe(ShadowRoot);var ke=Element.prototype,Ae=ke.attachShadow;ke.attachShadow=function(ee){var me=Ae.call(this,ee);return ee.mode==="closed"&&n.set(this,me),me}}var Be=pe(document);Be.isConnected()?Be.connect():document.addEventListener("DOMContentLoaded",Be.connect.bind(Be))})();const{toString:mN}=Object.prototype;function gN(e){return mN.call(e)==="[object RegExp]"}function vN(e,{preserve:t=!0,whitespace:n=!0,all:o}={}){if(o)throw new Error("The `all` option is no longer supported. Use the `preserve` option instead.");let l=t,a;typeof t=="function"?(l=!1,a=t):gN(t)&&(l=!1,a=m=>t.test(m));let u=!1,d="",c="",p="";for(let m=0;m<e.length;m++){if(d=e[m],e[m-1]!=="\\"&&(d==='"'||d==="'")&&(u===d?u=!1:u||(u=d)),!u&&d==="/"&&e[m+1]==="*"){const v=e[m+2]==="!";let b=m+2;for(;b<e.length;b++){if(e[b]==="*"&&e[b+1]==="/"){l&&v||a&&a(c)?p+=`/*${c}*/`:n||(e[b+2]===` 5622`?b++:e[b+2]+e[b+3]===`\r 5623`&&(b+=2)),c="";break}c+=e[b]}m=b+1;continue}p+=d}return p}const yN=CSSStyleSheet.toString().includes("document.createElement"),xN=(e,t)=>{const n=/(?:@media\s(.+?))?(?:\s{)?\@import\s*(?:url\(\s*['"]?(.+?)['"]?\s*\)|(["'])((?:\\.|[^\\])*?)\3)([^;]*);(?:})?/g;/\/\*(.|[\r\n])*?\*\//gm.exec(e)!=null&&(e=vN(e));for(var o,l=e;(o=n.exec(e))!==null;){l=l.replace(o[0],"");const a=document.createElement("link");a.rel="stylesheet",a.href=o[2]||o[4];const u=o[1]||o[5];u&&(a.media=u),t===document?document.head.appendChild(a):t.appendChild(a)}return l},wN=(e,t,n)=>(n?t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]:t.adoptedStyleSheets=[...t.adoptedStyleSheets,e],()=>{t.adoptedStyleSheets=t.adoptedStyleSheets.filter(o=>o!==e)}),bN=(e,t,n)=>{const o=new CSSStyleSheet;return o.replaceSync(e),yN?wN(o,t,n):(n?t.adoptedStyleSheets.splice(0,0,o):t.adoptedStyleSheets.push(o),()=>{t.adoptedStyleSheets.splice(t.adoptedStyleSheets.indexOf(o),1)})},_N=(e,t)=>{const n=document.createElement("style");return n.type="text/css",n.textContent=e,document.head.insertBefore(n,void 0),()=>{n.remove()}},fo=(e,t,n,o)=>
5623{if(n===document){const a=SN(e);if(window.Vaadin.theme.injectedGlobalCss.indexOf(a)!==-1)return;window.Vaadin.theme.injectedGlobalCss.push(a)}const l=xN(e,n);return n===document?_N(l):bN(l,n,o)};window.Vaadin=window.Vaadin||{};window.Vaadin.theme=window.Vaadin.theme||{};window.Vaadin.theme.injectedGlobalCss=[];function jv(e){let t,n,o=2166136261;for(t=0,n=e.length;t<n;t++)o^=e.charCodeAt(t),o+=(o<<1)+(o<<4)+(o<<7)+(o<<8)+(o<<24);return("0000000"+(o>>>0).toString(16)).substr(-8)}function SN(e){let t=jv(e);return t+jv(t+e)}document._vaadintheme_smartlessai_componentCss||(document._vaadintheme_smartlessai_componentCss=!0);const kN="html,body{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,sans-serif;background-color:#f9f9f9;color:#333}@media(prefers-color-scheme:dark){body{background-color:#1a1a2e;color:#e0e0e0}.header{background:linear-gradient(135deg,#4a5a8a,#6275b8);border-bottom-color:#2a2a4a}.footer{background-color:#1e1e36;border-top-color:#2a2a4a}.footer-links .privacy{color:#6db3d6}.footer-links .privacy:hover{color:#8ecfef}.footer-sep{color:#555}.powered-by{color:#777}.footer details summary{color:#ccc}.footer details p,.footer details li{color:#bbb}.chat-container{background:linear-gradient(180deg,#22223a,#1a1a30);box-shadow:0 4px 16px #0000004d}.chat-message:hover{box-shadow:0 4px 12px #0000004d}.chat-message.assistant{background-color:#2a2a4a;color:#e0e0e0}.chat-message.user{background-color:#3a6fa0}.message-time{color:#888!important}}.app-container{display:flex;flex-direction:column;height:100vh;overflow:hidden}.header{flex-shrink:0;background:linear-gradient(135deg,#6278c4,#8fa4f0);border-bottom:1px solid #e0e0e0;text-align:center;padding:16px 0;z-index:999}.header h1{margin:0;color:#fff;font-size:1.6rem;font-weight:600}.header h3{margin:4px 0 0;color:#ffffffd9;font-size:.9rem;font-weight:400}.footer{flex-shrink:0;background-color:#fff;border-top:1px solid #e0e0e0;text-align:center;padding:8px 16px;z-index:999}.footer-links{margin:4px 0 0;font-size:.85rem;font-weight:500;display:flex;align-items:center;justify-content:center;gap:8px}.footer-links .privacy{text-decoration:none;color:#0077b6;transition:color .3s ease}.footer-links .privacy:hover{color:#005f8d}.footer-sep{color:#ccc}.powered-by{font-size:.8rem;color:#999;font-style:italic}.footer details{font-size:.85rem;text-align:left;max-width:600px;margin:0 auto}.footer details summary{cursor:pointer;text-align:center;font-weight:600;color:#555;padding:4px 0}.footer details[open] summary{margin-bottom:8px}.footer details p{color:#555;line-height:1.6;margin:6px 0}.footer details ul{color:#555;line-height:1.6;margin:6px 0;padding-left:20px}.footer details li{margin:4px 0}.main-content{flex:1;display:flex;flex-direction:column;max-width:800px;width:100%;margin:0 auto;padding:16px;box-sizing:border-box;overflow:hidden;min-height:0}.chat-container{display:flex;flex-direction:column;flex:1;background:linear-gradient(180deg,#fff,#f4f7ff);border-radius:15px;padding:16px;box-shadow:0 4px 16px #00000014;overflow:hidden;min-height:0}.chat-messages-scroll{flex:1;overflow-y:auto;padding-bottom:8px}.chat-message{display:flex;align-items:flex-start;margin:8px 0;max-width:70%;padding:12px 16px;font-size:1rem;line-height:1.5;border-radius:20px;animation:messageIn .3s ease-out;transition:transform .2s ease,box-shadow .2s ease}.chat-message:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0000001a}@keyframes messageIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.chat-message.assistant{background-color:#eaf6ff;color:#333;margin-right:auto;border-top-left-radius:0}.chat-message.user{background-color:#0077b6;color:#fff;margin-left:auto;border-top-right-radius:0}.message-content{flex:1;min-width:0}.message-content p{margin:0}.message-time{font-size:.7rem;color:#999;margin-top:4px;opacity:.7}.chat-message.user .message-time{color:#fff9;text-align:right}.bot-icon{width:28px;height:28px;margin-right:8px;margin-top:2px;border-radius:50%;flex-shrink:0}.typing-indicator{display:flex;gap:4px;padding:4px 0}.typing-indicator span{width:8px;height:8px;border-radius:50%;background-color:#7590e8;animation:typingBounce 1.4s infinite ease-in-out}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typingBounce{0%,80%,to{transform:scale(.6);opacity:.4}40%{transform:scale(1);opacity:1}}.loading-skeleton{display:flex;align-items:center;justify-content:center;flex:1;
5623opacity:.5}.loading-skeleton .bot-icon{width:48px;height:48px;margin-right:12px;animation:pulse 2s infinite ease-in-out}@keyframes pulse{0%,to{opacity:.4}50%{opacity:.8}}.chat-input{flex-shrink:0;padding-top:8px}.chat-input vaadin-message-input{width:100%}vaadin-message-input::part(input){caret-color:currentColor}vaadin-message-input::part(button){background:linear-gradient(135deg,#6278c4,#8fa4f0);color:#fff;border:none;border-radius:12px;padding:8px 20px;font-weight:600;cursor:pointer;transition:opacity .2s ease,transform .15s ease}vaadin-message-input::part(button):hover{opacity:.9;transform:scale(1.03)}vaadin-message-input::part(button):active{transform:scale(.97)}@media(prefers-color-scheme:dark){vaadin-message-input{--vaadin-input-field-background: #2a2a4a;--vaadin-input-field-value-color: #e0e0e0;--lumo-contrast-10pct: rgba(255, 255, 255, .1);--lumo-body-text-color: #e0e0e0;caret-color:#e0e0e0}vaadin-message-input::part(input){color:#e0e0e0;caret-color:#e0e0e0}}@media(max-width:600px){.header{padding:12px 0}.header h1{font-size:1.3rem}.header h3{font-size:.8rem}.main-content{padding:8px}.chat-container{border-radius:10px;padding:10px}.chat-message{max-width:88%;padding:10px 14px;font-size:.95rem}.footer{padding:6px 12px}.footer details{font-size:.75rem}}",EN=e=>{const t=[];e!==document&&(t.push(fo(Tf.cssText,"",e,!0)),t.push(fo(Cf.cssText,"",e,!0)),t.push(fo(Qy.cssText,"",e,!0)),t.push(fo(rp.cssText,"",e,!0)),t.push(fo(ip.cssText,"",e,!0)),t.push(fo(kN.toString(),"",e)))},CN=EN;CN(document);export{zt as A,Il as D,zi as E,TN as O,X1 as a,F as b,db as c,Ul as d,Q1 as e,J1 as i,Le as j,xy as r,Zy as s,Vy as t,RN as w};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.