diff --git a/assets/i18n/nb_NO.toml b/assets/i18n/nb_NO.toml new file mode 100644 index 0000000000..67715f8d6e --- /dev/null +++ b/assets/i18n/nb_NO.toml @@ -0,0 +1,216 @@ +[header] +sessions = "Ladeøkter" +docs = "Dokumentasjon" +about = "Om evcc" +blog = "Blogg" +github = "GitHub" +login = "Kjøretøysinnlogginger" + +[header.theme] +auto = "Design: system" +light = "Design: lyst" +dark = "Design: mørkt" + +[footer.version] +availableShort = "Oppdater" +availableLong = "oppdatering tilgjengelig" +modalTitle = "Oppdatering tilgjengelig" +modalInstalledVersion = "Installert versjon" +modalUpdate = "Oppdater" +modalCancel = "Avbryt" +modalDownload = "Last ned" +modalUpdateStatusFailed = "Oppdatering mislyktes: " +modalUpdateStatusStart = "Oppdatering startet: " +modalUpdateNow = "Oppdater nå" +modalUpdateStarted = "Evcc vil starte på ny etter oppdateringen …" +modalNoReleaseNotes = "Ingen utgivelsesnotater tilgjengelig. Mer info om den nye versjonen er å finne her:" + +[footer.savings] +tabTitle = "Min data" +footerShort = "{percent}% solenergi" +footerLong = "{percent}% solcelleenergi" +modalTitle = "Oversikt over ladeenergi" +percentSelf = "{self} kWt sol" +percentGrid = "{self} kWh lysnett" +priceTitle = "Kraftpris" +priceGrid = "{gridPrice} lysnett" +priceFeedIn = "{feedInPrice} subsidiering" +savingsTotalEnergy = "{total} kWh ladet" +percentTitle = "Solenergi" +savingsTitle = "Besparelser" +since = "siden {since}" +savingsComparedToGrid = "sammenlignet med lysnett" + +[footer.community] +tabTitle = "Sanntidsgemenskap" +greenShareSub1 = "ladestrømmen kommer fra" +greenEnergy = "Solenergi" +greenShareSub2 = "Fotovoltaisk og batterilading" +powerSub2 = "lades nå" +greenShare = "Solcelleandel" +greenEnergySub1 = "ladet med evcc" +greenEnergySub2 = "siden Oktober 2022" +power = "Ladeeffekt" +powerSub1 = "{activeClients} av {totalClients} deltagere" + +[footer.telemetry] +optIn = "Jeg vil også bidra min data." +optInMoreDetails = "Flere detaljer tilgjengelig på {0}." +optInMoreDetailsLink = "her" +optInSponsorship = "Sponsing kreves." + +[main] +vehicles = "Parkering" + +[main.energyflow] +pvProduction = "Produksjon" +batteryDischarge = "Batteriutlading" +loadpoints = "Ladepunkt | Ladepunkt | {count} ladepunkter" +pvExport = "Lysnetteksport" +homePower = "Forbruk" +battery = "Batteri" +batteryCharge = "Batterilading" +gridImport = "Lysnettsimport" +selfConsumption = "Egenforbruk" +noEnergy = "Ingen telleverksdata" + +[main.mode] +now = "Raskt" +off = "Stopp" +minpv = "Min+fotovoltaisk" +pv = "Fotovoltaisk" + +[main.loadpointSettings] +currents = "Ladestrøm" +default = "forvalg" +disclaimerHint = "Merknad:" +disclaimerText = "Endringene er ikke lagret enda. De vil bli tilbakestilt når tjeneren startes på ny." +vehicle = "Kjøretøy" +title = 'Innstillinger "{0}"' + +[main.loadpointSettings.phasesConfigured] +label = "Faser" +phases_0 = "automatisk bytting" +phases_3 = "3-fas" +phases_1 = "1-fas" +phases_1_hint = "({min} til {max})" +phases_3_hint = "({min} til {max})" + +[main.loadpointSettings.minSoC] +description = 'Kurve for nødsfall. Kjøretøyet blir "hurtig"-ladet til {0}% i fotovoltaisk modus. Deretter fortsetter det på kun solcelleoverskudd."' +label = "Minimumsladestand" + +[main.loadpointSettings.maxCurrent] +label = "Maks. ladestrøm" + +[main.vehicle] +targetSoC = "Grense" +none = "Ingen kjøretøy" +changeVehicle = "Lad kjøretøy" +detectionActive = "Oppdager kjøretøy …" +vehicleSoC = "Ladestand" +fallbackName = "Kjøretøy" +unknown = "Gjestekjøretøy" + +[main.vehicleSoC] +disconnected = "frakoblet" +charging = "lader" +vehicleTarget = "Kjøretøygrense: {soc}%" +ready = "klar" +connected = "tilkoblet" + +[main.vehicleStatus] +waitForVehicle = "Klar. Venter på kjøretøy." +minCharge = "minimumslading til {soc}%." +charging = "Lader …" +targetChargePlanned = "Målladenivå planlagt. Starter {time}." +pvEnable = "Overskudd tilgjengelig. Starter om {remaining}." +scale1p = "Reduser til 1-fas om {remaining}." +targetChargeActive = "Målladenivå aktivt." +disconnected = "Frakoblet." +unknown = "" +connected = "Tilkoblet." +vehicleTargetReached = "Kjøretøygrense på {soc}% nådd." +pvDisable = "Ikke nok overskudd. Tar pause om {remaining}." +scale3p = "Øk til 3-fas om {remaining}." +targetChargeWaitForVehicle = "Målladenivå klart. Venter på kjøretøy …" + +[main.targetCharge] +inactiveLabel = "Mål-tid" +activeLabel = "{time}" +description = "Når skal kjøretøyet lades til {targetSoC}%?" +tomorrow = "i morgen" +experimentalLabel = "Eksperimentelt" +activate = "Aktiver" +experimentalText = "Funksjonen fungerer, men er ikke perfekt. Rapporter uventet oppførsel på" +title = "Mål-tid" +modalTitle = "Sett mål-tid" +setTargetTime = "ingen" +today = "i dag" +targetIsInThePast = "Valgt tidspunkt er i fortiden." + +[main.targetEnergy] +label = "Grense" +noLimit = "ingen" + +[startupError] +discussions = "GitHub-diskusjoner" +configFile = "Brukt oppsettsfil:" +lineErrorLink = "linje {0}" +restartButton = "Omstart" +lineError = "Feil i {0}" +fixAndRestart = "Fiks problemet og start tjeneren om igjen." +title = "Oppstartsfeil" +configuration = "Oppsett" +description = "Sjekk oppsettsfilen din. Hvis feilmeldingen ikke hjelper kan du ta en titt på {0}." +hint = "Merk: En annen grunn til at du ser denne meldingen kan være en skadet enhet (omformer, telleverk, …) Sjekk nettverkstilkoblingene dine." + +[sessions] +title = "Ladeøkter" +energy = "Oppladet" +downloadCsv = "Last ned som CSV" +vehicle = "Kjøretøy" +date = "Tidsrom" +loadpoint = "Ladepunkt" + +[sessions.csv] +odometer = "Kilometerstand" +identifier = "Identifikator" +chargedenergy = "Energi (kWh)" +created = "Opprettet" +finished = "Fullført" +meterstart = "Telleverksoppstart (kWt)" +meterstop = "Telleverksstopp (kWt)" +vehicle = "Kjøretøy" +loadpoint = "Ladepunkt" + +[offline] +message = "Ingen tilkobling til tjeneren." +reload = "Last inn igjen?" + +[notifications] +modalTitle = "Merknader" +dismissAll = "Forkast alle" + +[main.loadpoint] +duration = "Varighet" +charged = "Oppladet" +power = "Effekt" +fallbackName = "Ladepunkt" + +[footer.sponsor] +titleSponsor = "Du er en støttespiller" +titleNoSponsor = "Støtt oss" +becomeSponsor = "Bli sponsor" +confetti = "Klar for konfetti?" +sticker = "… eller evcc-klistremerker?" +thanks = "Takk for din støtte {sponsor}. Det hjelper videre utvikling." +confettiPromise = "Du vil få klistremerker og digital konfetti" +supportUs = "Vår mål: Å gjøre solcellelading til normalen. Hjelp til å kronerulle evcc." + +[main.loadpointSettings.minCurrent] +label = "Min. ladestrøm" + +[main.provider] +logout = "logg ut" +login = "logg inn" diff --git a/assets/js/i18n.js b/assets/js/i18n.js index b5f0b2dc80..e905a36c7c 100644 --- a/assets/js/i18n.js +++ b/assets/js/i18n.js @@ -5,6 +5,7 @@ import fr from "../i18n/fr.toml"; import it from "../i18n/it.toml"; import lt from "../i18n/lt.toml"; import nl from "../i18n/nl.toml"; +import nb_no from "../i18n/nb_NO.toml"; import pl from "../i18n/pl.toml"; import pt from "../i18n/pt.toml"; @@ -22,5 +23,5 @@ function getBrowserLocale() { export default createI18n({ locale: window.localStorage[PREFERRED_LOCALE_KEY] || getBrowserLocale(), fallbackLocale: "en", - messages: { de, en, fr, it, lt, nl, pl, pt }, + messages: { de, en, fr, it, lt, nb_no, nl, pl, pt }, }); diff --git a/dist/assets/index.69e0a026.js b/dist/assets/index.7be4e4cb.js similarity index 74% rename from dist/assets/index.69e0a026.js rename to dist/assets/index.7be4e4cb.js index 777343c7df..f524176e72 100644 --- a/dist/assets/index.69e0a026.js +++ b/dist/assets/index.7be4e4cb.js @@ -1,14 +1,14 @@ -var $v=Object.defineProperty;var Fv=(t,e,n)=>e in t?$v(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Vv=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var kr=(t,e,n)=>(Fv(t,typeof e!="symbol"?e+"":e,n),n);var OD=Vv((MD,co)=>{(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerpolicy&&(s.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?s.credentials="include":i.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var _t="top",Ft="bottom",Vt="right",vt="left",fa="auto",Ji=[_t,Ft,Vt,vt],Yr="start",Ni="end",Pm="clippingParents",Uc="viewport",hi="popper",Nm="reference",Bl=Ji.reduce(function(t,e){return t.concat([e+"-"+Yr,e+"-"+Ni])},[]),Wc=[].concat(Ji,[fa]).reduce(function(t,e){return t.concat([e,e+"-"+Yr,e+"-"+Ni])},[]),Om="beforeRead",Im="read",Mm="afterRead",Dm="beforeMain",Rm="main",$m="afterMain",Fm="beforeWrite",Vm="write",zm="afterWrite",Hm=[Om,Im,Mm,Dm,Rm,$m,Fm,Vm,zm];function xn(t){return t?(t.nodeName||"").toLowerCase():null}function rn(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function qr(t){var e=rn(t).Element;return t instanceof e||t instanceof Element}function Zt(t){var e=rn(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Kc(t){if(typeof ShadowRoot>"u")return!1;var e=rn(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function zv(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},s=e.elements[n];!Zt(s)||!xn(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function Hv(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],s=e.attributes[r]||{},o=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=o.reduce(function(l,c){return l[c]="",l},{});!Zt(i)||!xn(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}const Yc={name:"applyStyles",enabled:!0,phase:"write",fn:zv,effect:Hv,requires:["computeStyles"]};function Cn(t){return t.split("-")[0]}var Hr=Math.max,Wo=Math.min,Oi=Math.round;function Ul(){var t=navigator.userAgentData;return t!=null&&t.brands?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function jm(){return!/^((?!chrome|android).)*safari/i.test(Ul())}function Ii(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,s=1;e&&Zt(t)&&(i=t.offsetWidth>0&&Oi(r.width)/t.offsetWidth||1,s=t.offsetHeight>0&&Oi(r.height)/t.offsetHeight||1);var o=qr(t)?rn(t):window,a=o.visualViewport,l=!jm()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/i,u=(r.top+(l&&a?a.offsetTop:0))/s,f=r.width/i,d=r.height/s;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function qc(t){var e=Ii(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Bm(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Kc(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Bn(t){return rn(t).getComputedStyle(t)}function jv(t){return["table","td","th"].indexOf(xn(t))>=0}function br(t){return((qr(t)?t.ownerDocument:t.document)||window.document).documentElement}function ha(t){return xn(t)==="html"?t:t.assignedSlot||t.parentNode||(Kc(t)?t.host:null)||br(t)}function Td(t){return!Zt(t)||Bn(t).position==="fixed"?null:t.offsetParent}function Bv(t){var e=/firefox/i.test(Ul()),n=/Trident/i.test(Ul());if(n&&Zt(t)){var r=Bn(t);if(r.position==="fixed")return null}var i=ha(t);for(Kc(i)&&(i=i.host);Zt(i)&&["html","body"].indexOf(xn(i))<0;){var s=Bn(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function Zs(t){for(var e=rn(t),n=Td(t);n&&jv(n)&&Bn(n).position==="static";)n=Td(n);return n&&(xn(n)==="html"||xn(n)==="body"&&Bn(n).position==="static")?e:n||Bv(t)||e}function Gc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _s(t,e,n){return Hr(t,Wo(e,n))}function Uv(t,e,n){var r=_s(t,e,n);return r>n?n:r}function Um(){return{top:0,right:0,bottom:0,left:0}}function Wm(t){return Object.assign({},Um(),t)}function Km(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Wv=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Wm(typeof e!="number"?e:Km(e,Ji))};function Kv(t){var e,n=t.state,r=t.name,i=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Cn(n.placement),l=Gc(a),c=[vt,Vt].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!o)){var f=Wv(i.padding,n),d=qc(s),h=l==="y"?_t:vt,w=l==="y"?Ft:Vt,g=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],E=o[l]-n.rects.reference[l],_=Zs(s),T=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,S=g/2-E/2,v=f[h],b=T-d[u]-f[w],k=T/2-d[u]/2+S,x=_s(v,k,b),N=l;n.modifiersData[r]=(e={},e[N]=x,e.centerOffset=x-k,e)}}function Yv(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||!Bm(e.elements.popper,i)||(e.elements.arrow=i))}const Ym={name:"arrow",enabled:!0,phase:"main",fn:Kv,effect:Yv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Mi(t){return t.split("-")[1]}var qv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Gv(t){var e=t.x,n=t.y,r=window,i=r.devicePixelRatio||1;return{x:Oi(e*i)/i||0,y:Oi(n*i)/i||0}}function Cd(t){var e,n=t.popper,r=t.popperRect,i=t.placement,s=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,d=o.x,h=d===void 0?0:d,w=o.y,g=w===void 0?0:w,E=typeof u=="function"?u({x:h,y:g}):{x:h,y:g};h=E.x,g=E.y;var _=o.hasOwnProperty("x"),T=o.hasOwnProperty("y"),S=vt,v=_t,b=window;if(c){var k=Zs(n),x="clientHeight",N="clientWidth";if(k===rn(n)&&(k=br(n),Bn(k).position!=="static"&&a==="absolute"&&(x="scrollHeight",N="scrollWidth")),k=k,i===_t||(i===vt||i===Vt)&&s===Ni){v=Ft;var I=f&&k===b&&b.visualViewport?b.visualViewport.height:k[x];g-=I-r.height,g*=l?1:-1}if(i===vt||(i===_t||i===Ft)&&s===Ni){S=Vt;var B=f&&k===b&&b.visualViewport?b.visualViewport.width:k[N];h-=B-r.width,h*=l?1:-1}}var X=Object.assign({position:a},c&&qv),J=u===!0?Gv({x:h,y:g}):{x:h,y:g};if(h=J.x,g=J.y,l){var ne;return Object.assign({},X,(ne={},ne[v]=T?"0":"",ne[S]=_?"0":"",ne.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",ne))}return Object.assign({},X,(e={},e[v]=T?g+"px":"",e[S]=_?h+"px":"",e.transform="",e))}function Xv(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Cn(e.placement),variation:Mi(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Cd(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Cd(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Xc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Xv,data:{}};var fo={passive:!0};function Qv(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,s=i===void 0?!0:i,o=r.resize,a=o===void 0?!0:o,l=rn(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(u){u.addEventListener("scroll",n.update,fo)}),a&&l.addEventListener("resize",n.update,fo),function(){s&&c.forEach(function(u){u.removeEventListener("scroll",n.update,fo)}),a&&l.removeEventListener("resize",n.update,fo)}}const Qc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qv,data:{}};var Zv={left:"right",right:"left",bottom:"top",top:"bottom"};function Lo(t){return t.replace(/left|right|bottom|top/g,function(e){return Zv[e]})}var Jv={start:"end",end:"start"};function Sd(t){return t.replace(/start|end/g,function(e){return Jv[e]})}function Zc(t){var e=rn(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Jc(t){return Ii(br(t)).left+Zc(t).scrollLeft}function e0(t,e){var n=rn(t),r=br(t),i=n.visualViewport,s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;var c=jm();(c||!c&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a+Jc(t),y:l}}function t0(t){var e,n=br(t),r=Zc(t),i=(e=t.ownerDocument)==null?void 0:e.body,s=Hr(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Hr(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Jc(t),l=-r.scrollTop;return Bn(i||n).direction==="rtl"&&(a+=Hr(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function eu(t){var e=Bn(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function qm(t){return["html","body","#document"].indexOf(xn(t))>=0?t.ownerDocument.body:Zt(t)&&eu(t)?t:qm(ha(t))}function vs(t,e){var n;e===void 0&&(e=[]);var r=qm(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),s=rn(r),o=i?[s].concat(s.visualViewport||[],eu(r)?r:[]):r,a=e.concat(o);return i?a:a.concat(vs(ha(o)))}function Wl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function n0(t,e){var n=Ii(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Ad(t,e,n){return e===Uc?Wl(e0(t,n)):qr(e)?n0(e,n):Wl(t0(br(t)))}function r0(t){var e=vs(ha(t)),n=["absolute","fixed"].indexOf(Bn(t).position)>=0,r=n&&Zt(t)?Zs(t):t;return qr(r)?e.filter(function(i){return qr(i)&&Bm(i,r)&&xn(i)!=="body"}):[]}function i0(t,e,n,r){var i=e==="clippingParents"?r0(t):[].concat(e),s=[].concat(i,[n]),o=s[0],a=s.reduce(function(l,c){var u=Ad(t,c,r);return l.top=Hr(u.top,l.top),l.right=Wo(u.right,l.right),l.bottom=Wo(u.bottom,l.bottom),l.left=Hr(u.left,l.left),l},Ad(t,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Gm(t){var e=t.reference,n=t.element,r=t.placement,i=r?Cn(r):null,s=r?Mi(r):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case _t:l={x:o,y:e.y-n.height};break;case Ft:l={x:o,y:e.y+e.height};break;case Vt:l={x:e.x+e.width,y:a};break;case vt:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=i?Gc(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case Yr:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Ni:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Di(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,s=n.strategy,o=s===void 0?t.strategy:s,a=n.boundary,l=a===void 0?Pm:a,c=n.rootBoundary,u=c===void 0?Uc:c,f=n.elementContext,d=f===void 0?hi:f,h=n.altBoundary,w=h===void 0?!1:h,g=n.padding,E=g===void 0?0:g,_=Wm(typeof E!="number"?E:Km(E,Ji)),T=d===hi?Nm:hi,S=t.rects.popper,v=t.elements[w?T:d],b=i0(qr(v)?v:v.contextElement||br(t.elements.popper),l,u,o),k=Ii(t.elements.reference),x=Gm({reference:k,element:S,strategy:"absolute",placement:i}),N=Wl(Object.assign({},S,x)),I=d===hi?N:k,B={top:b.top-I.top+_.top,bottom:I.bottom-b.bottom+_.bottom,left:b.left-I.left+_.left,right:I.right-b.right+_.right},X=t.modifiersData.offset;if(d===hi&&X){var J=X[i];Object.keys(B).forEach(function(ne){var D=[Vt,Ft].indexOf(ne)>=0?1:-1,L=[_t,Ft].indexOf(ne)>=0?"y":"x";B[ne]+=J[L]*D})}return B}function s0(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Wc:l,u=Mi(r),f=u?a?Bl:Bl.filter(function(w){return Mi(w)===u}):Ji,d=f.filter(function(w){return c.indexOf(w)>=0});d.length===0&&(d=f);var h=d.reduce(function(w,g){return w[g]=Di(t,{placement:g,boundary:i,rootBoundary:s,padding:o})[Cn(g)],w},{});return Object.keys(h).sort(function(w,g){return h[w]-h[g]})}function o0(t){if(Cn(t)===fa)return[];var e=Lo(t);return[Sd(t),e,Sd(e)]}function a0(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,w=h===void 0?!0:h,g=n.allowedAutoPlacements,E=e.options.placement,_=Cn(E),T=_===E,S=l||(T||!w?[Lo(E)]:o0(E)),v=[E].concat(S).reduce(function(fe,$){return fe.concat(Cn($)===fa?s0(e,{placement:$,boundary:u,rootBoundary:f,padding:c,flipVariations:w,allowedAutoPlacements:g}):$)},[]),b=e.rects.reference,k=e.rects.popper,x=new Map,N=!0,I=v[0],B=0;B=0,L=D?"width":"height",Y=Di(e,{placement:X,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),W=D?ne?Vt:vt:ne?Ft:_t;b[L]>k[L]&&(W=Lo(W));var Z=Lo(W),oe=[];if(s&&oe.push(Y[J]<=0),a&&oe.push(Y[W]<=0,Y[Z]<=0),oe.every(function(fe){return fe})){I=X,N=!1;break}x.set(X,oe)}if(N)for(var le=w?3:1,ae=function($){var Q=v.find(function(j){var ee=x.get(j);if(ee)return ee.slice(0,$).every(function(me){return me})});if(Q)return I=Q,"break"},ce=le;ce>0;ce--){var Oe=ae(ce);if(Oe==="break")break}e.placement!==I&&(e.modifiersData[r]._skip=!0,e.placement=I,e.reset=!0)}}const Xm={name:"flip",enabled:!0,phase:"main",fn:a0,requiresIfExists:["offset"],data:{_skip:!1}};function kd(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function xd(t){return[_t,Vt,Ft,vt].some(function(e){return t[e]>=0})}function l0(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,s=e.modifiersData.preventOverflow,o=Di(e,{elementContext:"reference"}),a=Di(e,{altBoundary:!0}),l=kd(o,r),c=kd(a,i,s),u=xd(l),f=xd(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Qm={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:l0};function c0(t,e,n){var r=Cn(t),i=[vt,_t].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[vt,Vt].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function u0(t){var e=t.state,n=t.options,r=t.name,i=n.offset,s=i===void 0?[0,0]:i,o=Wc.reduce(function(u,f){return u[f]=c0(f,e.rects,s),u},{}),a=o[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=o}const Zm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:u0};function d0(t){var e=t.state,n=t.name;e.modifiersData[n]=Gm({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const tu={name:"popperOffsets",enabled:!0,phase:"read",fn:d0,data:{}};function f0(t){return t==="x"?"y":"x"}function h0(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,w=n.tetherOffset,g=w===void 0?0:w,E=Di(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),_=Cn(e.placement),T=Mi(e.placement),S=!T,v=Gc(_),b=f0(v),k=e.modifiersData.popperOffsets,x=e.rects.reference,N=e.rects.popper,I=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,B=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),X=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,J={x:0,y:0};if(!!k){if(s){var ne,D=v==="y"?_t:vt,L=v==="y"?Ft:Vt,Y=v==="y"?"height":"width",W=k[v],Z=W+E[D],oe=W-E[L],le=h?-N[Y]/2:0,ae=T===Yr?x[Y]:N[Y],ce=T===Yr?-N[Y]:-x[Y],Oe=e.elements.arrow,fe=h&&Oe?qc(Oe):{width:0,height:0},$=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Um(),Q=$[D],j=$[L],ee=_s(0,x[Y],fe[Y]),me=S?x[Y]/2-le-ee-Q-B.mainAxis:ae-ee-Q-B.mainAxis,ve=S?-x[Y]/2+le+ee+j+B.mainAxis:ce+ee+j+B.mainAxis,de=e.elements.arrow&&Zs(e.elements.arrow),C=de?v==="y"?de.clientTop||0:de.clientLeft||0:0,m=(ne=X==null?void 0:X[v])!=null?ne:0,p=W+me-m-C,A=W+ve-m,P=_s(h?Wo(Z,p):Z,W,h?Hr(oe,A):oe);k[v]=P,J[v]=P-W}if(a){var V,U=v==="x"?_t:vt,K=v==="x"?Ft:Vt,G=k[b],H=b==="y"?"height":"width",O=G+E[U],R=G-E[K],ie=[_t,vt].indexOf(_)!==-1,se=(V=X==null?void 0:X[b])!=null?V:0,ge=ie?O:G-x[H]-N[H]-se+B.altAxis,Ae=ie?G+x[H]+N[H]-se-B.altAxis:R,Ee=h&&ie?Uv(ge,G,Ae):_s(h?ge:O,G,h?Ae:R);k[b]=Ee,J[b]=Ee-G}e.modifiersData[r]=J}}const Jm={name:"preventOverflow",enabled:!0,phase:"main",fn:h0,requiresIfExists:["offset"]};function m0(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function p0(t){return t===rn(t)||!Zt(t)?Zc(t):m0(t)}function g0(t){var e=t.getBoundingClientRect(),n=Oi(e.width)/t.offsetWidth||1,r=Oi(e.height)/t.offsetHeight||1;return n!==1||r!==1}function _0(t,e,n){n===void 0&&(n=!1);var r=Zt(e),i=Zt(e)&&g0(e),s=br(e),o=Ii(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((xn(e)!=="body"||eu(s))&&(a=p0(e)),Zt(e)?(l=Ii(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=Jc(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function v0(t){var e=new Map,n=new Set,r=[];t.forEach(function(s){e.set(s.name,s)});function i(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),r.push(s)}return t.forEach(function(s){n.has(s.name)||i(s)}),r}function b0(t){var e=v0(t);return Hm.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function y0(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function w0(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Ld={placement:"bottom",modifiers:[],strategy:"absolute"};function Pd(){for(var t=arguments.length,e=new Array(t),n=0;ne in t?$v(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var Vv=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ar=(t,e,n)=>(Fv(t,typeof e!="symbol"?e+"":e,n),n);var ID=Vv((DD,co)=>{(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerpolicy&&(s.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?s.credentials="include":i.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var _t="top",Ft="bottom",Vt="right",vt="left",fa="auto",Ji=[_t,Ft,Vt,vt],Yr="start",Ni="end",Pm="clippingParents",Uc="viewport",hi="popper",Nm="reference",Bl=Ji.reduce(function(t,e){return t.concat([e+"-"+Yr,e+"-"+Ni])},[]),Wc=[].concat(Ji,[fa]).reduce(function(t,e){return t.concat([e,e+"-"+Yr,e+"-"+Ni])},[]),Om="beforeRead",Im="read",Mm="afterRead",Dm="beforeMain",Rm="main",$m="afterMain",Fm="beforeWrite",Vm="write",jm="afterWrite",zm=[Om,Im,Mm,Dm,Rm,$m,Fm,Vm,jm];function xn(t){return t?(t.nodeName||"").toLowerCase():null}function rn(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Gr(t){var e=rn(t).Element;return t instanceof e||t instanceof Element}function Zt(t){var e=rn(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function Kc(t){if(typeof ShadowRoot>"u")return!1;var e=rn(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function jv(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},s=e.elements[n];!Zt(s)||!xn(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function zv(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],s=e.attributes[r]||{},o=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=o.reduce(function(l,c){return l[c]="",l},{});!Zt(i)||!xn(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(l){i.removeAttribute(l)}))})}}const Yc={name:"applyStyles",enabled:!0,phase:"write",fn:jv,effect:zv,requires:["computeStyles"]};function Cn(t){return t.split("-")[0]}var zr=Math.max,Wo=Math.min,Oi=Math.round;function Ul(){var t=navigator.userAgentData;return t!=null&&t.brands?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Hm(){return!/^((?!chrome|android).)*safari/i.test(Ul())}function Ii(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,s=1;e&&Zt(t)&&(i=t.offsetWidth>0&&Oi(r.width)/t.offsetWidth||1,s=t.offsetHeight>0&&Oi(r.height)/t.offsetHeight||1);var o=Gr(t)?rn(t):window,a=o.visualViewport,l=!Hm()&&n,c=(r.left+(l&&a?a.offsetLeft:0))/i,u=(r.top+(l&&a?a.offsetTop:0))/s,f=r.width/i,d=r.height/s;return{width:f,height:d,top:u,right:c+f,bottom:u+d,left:c,x:c,y:u}}function Gc(t){var e=Ii(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Bm(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Kc(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Bn(t){return rn(t).getComputedStyle(t)}function Hv(t){return["table","td","th"].indexOf(xn(t))>=0}function br(t){return((Gr(t)?t.ownerDocument:t.document)||window.document).documentElement}function ha(t){return xn(t)==="html"?t:t.assignedSlot||t.parentNode||(Kc(t)?t.host:null)||br(t)}function Td(t){return!Zt(t)||Bn(t).position==="fixed"?null:t.offsetParent}function Bv(t){var e=/firefox/i.test(Ul()),n=/Trident/i.test(Ul());if(n&&Zt(t)){var r=Bn(t);if(r.position==="fixed")return null}var i=ha(t);for(Kc(i)&&(i=i.host);Zt(i)&&["html","body"].indexOf(xn(i))<0;){var s=Bn(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||e&&s.willChange==="filter"||e&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function Zs(t){for(var e=rn(t),n=Td(t);n&&Hv(n)&&Bn(n).position==="static";)n=Td(n);return n&&(xn(n)==="html"||xn(n)==="body"&&Bn(n).position==="static")?e:n||Bv(t)||e}function qc(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _s(t,e,n){return zr(t,Wo(e,n))}function Uv(t,e,n){var r=_s(t,e,n);return r>n?n:r}function Um(){return{top:0,right:0,bottom:0,left:0}}function Wm(t){return Object.assign({},Um(),t)}function Km(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Wv=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Wm(typeof e!="number"?e:Km(e,Ji))};function Kv(t){var e,n=t.state,r=t.name,i=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Cn(n.placement),l=qc(a),c=[vt,Vt].indexOf(a)>=0,u=c?"height":"width";if(!(!s||!o)){var f=Wv(i.padding,n),d=Gc(s),h=l==="y"?_t:vt,w=l==="y"?Ft:Vt,g=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],E=o[l]-n.rects.reference[l],_=Zs(s),T=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,S=g/2-E/2,v=f[h],b=T-d[u]-f[w],A=T/2-d[u]/2+S,x=_s(v,A,b),N=l;n.modifiersData[r]=(e={},e[N]=x,e.centerOffset=x-A,e)}}function Yv(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||!Bm(e.elements.popper,i)||(e.elements.arrow=i))}const Ym={name:"arrow",enabled:!0,phase:"main",fn:Kv,effect:Yv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Mi(t){return t.split("-")[1]}var Gv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qv(t){var e=t.x,n=t.y,r=window,i=r.devicePixelRatio||1;return{x:Oi(e*i)/i||0,y:Oi(n*i)/i||0}}function Cd(t){var e,n=t.popper,r=t.popperRect,i=t.placement,s=t.variation,o=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,d=o.x,h=d===void 0?0:d,w=o.y,g=w===void 0?0:w,E=typeof u=="function"?u({x:h,y:g}):{x:h,y:g};h=E.x,g=E.y;var _=o.hasOwnProperty("x"),T=o.hasOwnProperty("y"),S=vt,v=_t,b=window;if(c){var A=Zs(n),x="clientHeight",N="clientWidth";if(A===rn(n)&&(A=br(n),Bn(A).position!=="static"&&a==="absolute"&&(x="scrollHeight",N="scrollWidth")),A=A,i===_t||(i===vt||i===Vt)&&s===Ni){v=Ft;var I=f&&A===b&&b.visualViewport?b.visualViewport.height:A[x];g-=I-r.height,g*=l?1:-1}if(i===vt||(i===_t||i===Ft)&&s===Ni){S=Vt;var B=f&&A===b&&b.visualViewport?b.visualViewport.width:A[N];h-=B-r.width,h*=l?1:-1}}var X=Object.assign({position:a},c&&Gv),J=u===!0?qv({x:h,y:g}):{x:h,y:g};if(h=J.x,g=J.y,l){var ne;return Object.assign({},X,(ne={},ne[v]=T?"0":"",ne[S]=_?"0":"",ne.transform=(b.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",ne))}return Object.assign({},X,(e={},e[v]=T?g+"px":"",e[S]=_?h+"px":"",e.transform="",e))}function Xv(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Cn(e.placement),variation:Mi(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Cd(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Cd(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Xc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Xv,data:{}};var fo={passive:!0};function Qv(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,s=i===void 0?!0:i,o=r.resize,a=o===void 0?!0:o,l=rn(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&c.forEach(function(u){u.addEventListener("scroll",n.update,fo)}),a&&l.addEventListener("resize",n.update,fo),function(){s&&c.forEach(function(u){u.removeEventListener("scroll",n.update,fo)}),a&&l.removeEventListener("resize",n.update,fo)}}const Qc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Qv,data:{}};var Zv={left:"right",right:"left",bottom:"top",top:"bottom"};function Lo(t){return t.replace(/left|right|bottom|top/g,function(e){return Zv[e]})}var Jv={start:"end",end:"start"};function Sd(t){return t.replace(/start|end/g,function(e){return Jv[e]})}function Zc(t){var e=rn(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Jc(t){return Ii(br(t)).left+Zc(t).scrollLeft}function e0(t,e){var n=rn(t),r=br(t),i=n.visualViewport,s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;var c=Hm();(c||!c&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a+Jc(t),y:l}}function t0(t){var e,n=br(t),r=Zc(t),i=(e=t.ownerDocument)==null?void 0:e.body,s=zr(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=zr(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Jc(t),l=-r.scrollTop;return Bn(i||n).direction==="rtl"&&(a+=zr(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:l}}function eu(t){var e=Bn(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Gm(t){return["html","body","#document"].indexOf(xn(t))>=0?t.ownerDocument.body:Zt(t)&&eu(t)?t:Gm(ha(t))}function vs(t,e){var n;e===void 0&&(e=[]);var r=Gm(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),s=rn(r),o=i?[s].concat(s.visualViewport||[],eu(r)?r:[]):r,a=e.concat(o);return i?a:a.concat(vs(ha(o)))}function Wl(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function n0(t,e){var n=Ii(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function kd(t,e,n){return e===Uc?Wl(e0(t,n)):Gr(e)?n0(e,n):Wl(t0(br(t)))}function r0(t){var e=vs(ha(t)),n=["absolute","fixed"].indexOf(Bn(t).position)>=0,r=n&&Zt(t)?Zs(t):t;return Gr(r)?e.filter(function(i){return Gr(i)&&Bm(i,r)&&xn(i)!=="body"}):[]}function i0(t,e,n,r){var i=e==="clippingParents"?r0(t):[].concat(e),s=[].concat(i,[n]),o=s[0],a=s.reduce(function(l,c){var u=kd(t,c,r);return l.top=zr(u.top,l.top),l.right=Wo(u.right,l.right),l.bottom=Wo(u.bottom,l.bottom),l.left=zr(u.left,l.left),l},kd(t,o,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function qm(t){var e=t.reference,n=t.element,r=t.placement,i=r?Cn(r):null,s=r?Mi(r):null,o=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case _t:l={x:o,y:e.y-n.height};break;case Ft:l={x:o,y:e.y+e.height};break;case Vt:l={x:e.x+e.width,y:a};break;case vt:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=i?qc(i):null;if(c!=null){var u=c==="y"?"height":"width";switch(s){case Yr:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Ni:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Di(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,s=n.strategy,o=s===void 0?t.strategy:s,a=n.boundary,l=a===void 0?Pm:a,c=n.rootBoundary,u=c===void 0?Uc:c,f=n.elementContext,d=f===void 0?hi:f,h=n.altBoundary,w=h===void 0?!1:h,g=n.padding,E=g===void 0?0:g,_=Wm(typeof E!="number"?E:Km(E,Ji)),T=d===hi?Nm:hi,S=t.rects.popper,v=t.elements[w?T:d],b=i0(Gr(v)?v:v.contextElement||br(t.elements.popper),l,u,o),A=Ii(t.elements.reference),x=qm({reference:A,element:S,strategy:"absolute",placement:i}),N=Wl(Object.assign({},S,x)),I=d===hi?N:A,B={top:b.top-I.top+_.top,bottom:I.bottom-b.bottom+_.bottom,left:b.left-I.left+_.left,right:I.right-b.right+_.right},X=t.modifiersData.offset;if(d===hi&&X){var J=X[i];Object.keys(B).forEach(function(ne){var D=[Vt,Ft].indexOf(ne)>=0?1:-1,L=[_t,Ft].indexOf(ne)>=0?"y":"x";B[ne]+=J[L]*D})}return B}function s0(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Wc:l,u=Mi(r),f=u?a?Bl:Bl.filter(function(w){return Mi(w)===u}):Ji,d=f.filter(function(w){return c.indexOf(w)>=0});d.length===0&&(d=f);var h=d.reduce(function(w,g){return w[g]=Di(t,{placement:g,boundary:i,rootBoundary:s,padding:o})[Cn(g)],w},{});return Object.keys(h).sort(function(w,g){return h[w]-h[g]})}function o0(t){if(Cn(t)===fa)return[];var e=Lo(t);return[Sd(t),e,Sd(e)]}function a0(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!0:o,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,w=h===void 0?!0:h,g=n.allowedAutoPlacements,E=e.options.placement,_=Cn(E),T=_===E,S=l||(T||!w?[Lo(E)]:o0(E)),v=[E].concat(S).reduce(function(fe,$){return fe.concat(Cn($)===fa?s0(e,{placement:$,boundary:u,rootBoundary:f,padding:c,flipVariations:w,allowedAutoPlacements:g}):$)},[]),b=e.rects.reference,A=e.rects.popper,x=new Map,N=!0,I=v[0],B=0;B=0,L=D?"width":"height",Y=Di(e,{placement:X,boundary:u,rootBoundary:f,altBoundary:d,padding:c}),W=D?ne?Vt:vt:ne?Ft:_t;b[L]>A[L]&&(W=Lo(W));var Z=Lo(W),oe=[];if(s&&oe.push(Y[J]<=0),a&&oe.push(Y[W]<=0,Y[Z]<=0),oe.every(function(fe){return fe})){I=X,N=!1;break}x.set(X,oe)}if(N)for(var le=w?3:1,ae=function($){var Q=v.find(function(H){var ee=x.get(H);if(ee)return ee.slice(0,$).every(function(me){return me})});if(Q)return I=Q,"break"},ce=le;ce>0;ce--){var Oe=ae(ce);if(Oe==="break")break}e.placement!==I&&(e.modifiersData[r]._skip=!0,e.placement=I,e.reset=!0)}}const Xm={name:"flip",enabled:!0,phase:"main",fn:a0,requiresIfExists:["offset"],data:{_skip:!1}};function Ad(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function xd(t){return[_t,Vt,Ft,vt].some(function(e){return t[e]>=0})}function l0(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,s=e.modifiersData.preventOverflow,o=Di(e,{elementContext:"reference"}),a=Di(e,{altBoundary:!0}),l=Ad(o,r),c=Ad(a,i,s),u=xd(l),f=xd(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Qm={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:l0};function c0(t,e,n){var r=Cn(t),i=[vt,_t].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[vt,Vt].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function u0(t){var e=t.state,n=t.options,r=t.name,i=n.offset,s=i===void 0?[0,0]:i,o=Wc.reduce(function(u,f){return u[f]=c0(f,e.rects,s),u},{}),a=o[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=o}const Zm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:u0};function d0(t){var e=t.state,n=t.name;e.modifiersData[n]=qm({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const tu={name:"popperOffsets",enabled:!0,phase:"read",fn:d0,data:{}};function f0(t){return t==="x"?"y":"x"}function h0(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!1:o,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,w=n.tetherOffset,g=w===void 0?0:w,E=Di(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),_=Cn(e.placement),T=Mi(e.placement),S=!T,v=qc(_),b=f0(v),A=e.modifiersData.popperOffsets,x=e.rects.reference,N=e.rects.popper,I=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,B=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),X=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,J={x:0,y:0};if(!!A){if(s){var ne,D=v==="y"?_t:vt,L=v==="y"?Ft:Vt,Y=v==="y"?"height":"width",W=A[v],Z=W+E[D],oe=W-E[L],le=h?-N[Y]/2:0,ae=T===Yr?x[Y]:N[Y],ce=T===Yr?-N[Y]:-x[Y],Oe=e.elements.arrow,fe=h&&Oe?Gc(Oe):{width:0,height:0},$=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Um(),Q=$[D],H=$[L],ee=_s(0,x[Y],fe[Y]),me=S?x[Y]/2-le-ee-Q-B.mainAxis:ae-ee-Q-B.mainAxis,ve=S?-x[Y]/2+le+ee+H+B.mainAxis:ce+ee+H+B.mainAxis,de=e.elements.arrow&&Zs(e.elements.arrow),C=de?v==="y"?de.clientTop||0:de.clientLeft||0:0,m=(ne=X==null?void 0:X[v])!=null?ne:0,p=W+me-m-C,k=W+ve-m,P=_s(h?Wo(Z,p):Z,W,h?zr(oe,k):oe);A[v]=P,J[v]=P-W}if(a){var V,U=v==="x"?_t:vt,K=v==="x"?Ft:Vt,q=A[b],z=b==="y"?"height":"width",O=q+E[U],R=q-E[K],ie=[_t,vt].indexOf(_)!==-1,se=(V=X==null?void 0:X[b])!=null?V:0,ge=ie?O:q-x[z]-N[z]-se+B.altAxis,ke=ie?q+x[z]+N[z]-se-B.altAxis:R,Ee=h&&ie?Uv(ge,q,ke):_s(h?ge:O,q,h?ke:R);A[b]=Ee,J[b]=Ee-q}e.modifiersData[r]=J}}const Jm={name:"preventOverflow",enabled:!0,phase:"main",fn:h0,requiresIfExists:["offset"]};function m0(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function p0(t){return t===rn(t)||!Zt(t)?Zc(t):m0(t)}function g0(t){var e=t.getBoundingClientRect(),n=Oi(e.width)/t.offsetWidth||1,r=Oi(e.height)/t.offsetHeight||1;return n!==1||r!==1}function _0(t,e,n){n===void 0&&(n=!1);var r=Zt(e),i=Zt(e)&&g0(e),s=br(e),o=Ii(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((xn(e)!=="body"||eu(s))&&(a=p0(e)),Zt(e)?(l=Ii(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=Jc(s))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function v0(t){var e=new Map,n=new Set,r=[];t.forEach(function(s){e.set(s.name,s)});function i(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),r.push(s)}return t.forEach(function(s){n.has(s.name)||i(s)}),r}function b0(t){var e=v0(t);return zm.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function y0(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function w0(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var Ld={placement:"bottom",modifiers:[],strategy:"absolute"};function Pd(){for(var t=arguments.length,e=new Array(t),n=0;nt==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),L0=t=>{do t+=Math.floor(Math.random()*A0);while(document.getElementById(t));return t},tp=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?n.trim():null}return e},np=t=>{const e=tp(t);return e&&document.querySelector(e)?e:null},zn=t=>{const e=tp(t);return e?document.querySelector(e):null},P0=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const r=Number.parseFloat(e),i=Number.parseFloat(n);return!r&&!i?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*k0)},rp=t=>{t.dispatchEvent(new Event(Kl))},Hn=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),ur=t=>Hn(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(t):null,es=t=>{if(!Hn(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const r=t.closest("summary");if(r&&r.parentNode!==n||r===null)return!1}return e},dr=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",ip=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?ip(t.parentNode):null},Ko=()=>{},Js=t=>{t.offsetHeight},sp=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ya=[],N0=t=>{document.readyState==="loading"?(Ya.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ya)e()}),Ya.push(t)):t()},tn=()=>document.documentElement.dir==="rtl",sn=t=>{N0(()=>{const e=sp();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}})},$n=t=>{typeof t=="function"&&t()},op=(t,e,n=!0)=>{if(!n){$n(t);return}const r=5,i=P0(e)+r;let s=!1;const o=({target:a})=>{a===e&&(s=!0,e.removeEventListener(Kl,o),$n(t))};e.addEventListener(Kl,o),setTimeout(()=>{s||rp(e)},i)},ru=(t,e,n,r)=>{const i=t.length;let s=t.indexOf(e);return s===-1?!n&&r?t[i-1]:t[0]:(s+=n?1:-1,r&&(s=(s+i)%i),t[Math.max(0,Math.min(s,i-1))])},O0=/[^.]*(?=\..*)\.|.*/,I0=/\..*/,M0=/::\d+$/,qa={};let Nd=1;const ap={mouseenter:"mouseover",mouseleave:"mouseout"},D0=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function lp(t,e){return e&&`${e}::${Nd++}`||t.uidEvent||Nd++}function cp(t){const e=lp(t);return t.uidEvent=e,qa[e]=qa[e]||{},qa[e]}function R0(t,e){return function n(r){return iu(r,{delegateTarget:t}),n.oneOff&&q.off(t,r.type,e),e.apply(t,[r])}}function $0(t,e,n){return function r(i){const s=t.querySelectorAll(e);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return iu(i,{delegateTarget:o}),r.oneOff&&q.off(t,i.type,e,n),n.apply(o,[i])}}function up(t,e,n=null){return Object.values(t).find(r=>r.callable===e&&r.delegationSelector===n)}function dp(t,e,n){const r=typeof e=="string",i=r?n:e||n;let s=fp(t);return D0.has(s)||(s=t),[r,i,s]}function Od(t,e,n,r,i){if(typeof e!="string"||!t)return;let[s,o,a]=dp(e,n,r);e in ap&&(o=(w=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return w.call(this,g)})(o));const l=cp(t),c=l[a]||(l[a]={}),u=up(c,o,s?n:null);if(u){u.oneOff=u.oneOff&&i;return}const f=lp(o,e.replace(O0,"")),d=s?$0(t,n,o):R0(t,o);d.delegationSelector=s?n:null,d.callable=o,d.oneOff=i,d.uidEvent=f,c[f]=d,t.addEventListener(a,d,s)}function Yl(t,e,n,r,i){const s=up(e[n],r,i);!s||(t.removeEventListener(n,s,Boolean(i)),delete e[n][s.uidEvent])}function F0(t,e,n,r){const i=e[n]||{};for(const s of Object.keys(i))if(s.includes(r)){const o=i[s];Yl(t,e,n,o.callable,o.delegationSelector)}}function fp(t){return t=t.replace(I0,""),ap[t]||t}const q={on(t,e,n,r){Od(t,e,n,r,!1)},one(t,e,n,r){Od(t,e,n,r,!0)},off(t,e,n,r){if(typeof e!="string"||!t)return;const[i,s,o]=dp(e,n,r),a=o!==e,l=cp(t),c=l[o]||{},u=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(c).length)return;Yl(t,l,o,s,i?n:null);return}if(u)for(const f of Object.keys(l))F0(t,l,f,e.slice(1));for(const f of Object.keys(c)){const d=f.replace(M0,"");if(!a||e.includes(d)){const h=c[f];Yl(t,l,o,h.callable,h.delegationSelector)}}},trigger(t,e,n){if(typeof e!="string"||!t)return null;const r=sp(),i=fp(e),s=e!==i;let o=null,a=!0,l=!0,c=!1;s&&r&&(o=r.Event(e,n),r(t).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());let u=new Event(e,{bubbles:a,cancelable:!0});return u=iu(u,n),c&&u.preventDefault(),l&&t.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function iu(t,e){for(const[n,r]of Object.entries(e||{}))try{t[n]=r}catch{Object.defineProperty(t,n,{configurable:!0,get(){return r}})}return t}const Gn=new Map,Ga={set(t,e,n){Gn.has(t)||Gn.set(t,new Map);const r=Gn.get(t);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,n)},get(t,e){return Gn.has(t)&&Gn.get(t).get(e)||null},remove(t,e){if(!Gn.has(t))return;const n=Gn.get(t);n.delete(e),n.size===0&&Gn.delete(t)}};function Id(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function Xa(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const jn={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${Xa(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Xa(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of n){let i=r.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=Id(t.dataset[r])}return e},getDataAttribute(t,e){return Id(t.getAttribute(`data-bs-${Xa(e)}`))}};class eo{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,n){const r=Hn(n)?jn.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Hn(n)?jn.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const r of Object.keys(n)){const i=n[r],s=e[r],o=Hn(s)?"element":x0(s);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${i}".`)}}}const V0="5.2.2";class mn extends eo{constructor(e,n){super(),e=ur(e),e&&(this._element=e,this._config=this._getConfig(n),Ga.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ga.remove(this._element,this.constructor.DATA_KEY),q.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,r=!0){op(e,n,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ga.get(ur(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return V0}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const pa=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,r=t.NAME;q.on(document,n,`[data-bs-dismiss="${r}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),dr(this))return;const s=zn(this)||this.closest(`.${r}`);t.getOrCreateInstance(s)[e]()})},z0="alert",H0="bs.alert",hp=`.${H0}`,j0=`close${hp}`,B0=`closed${hp}`,U0="fade",W0="show";class ga extends mn{static get NAME(){return z0}close(){if(q.trigger(this._element,j0).defaultPrevented)return;this._element.classList.remove(W0);const n=this._element.classList.contains(U0);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),q.trigger(this._element,B0),this.dispose()}static jQueryInterface(e){return this.each(function(){const n=ga.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}pa(ga,"close");sn(ga);const K0="button",Y0="bs.button",q0=`.${Y0}`,G0=".data-api",X0="active",Md='[data-bs-toggle="button"]',Q0=`click${q0}${G0}`;class _a extends mn{static get NAME(){return K0}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(X0))}static jQueryInterface(e){return this.each(function(){const n=_a.getOrCreateInstance(this);e==="toggle"&&n[e]()})}}q.on(document,Q0,Md,t=>{t.preventDefault();const e=t.target.closest(Md);_a.getOrCreateInstance(e).toggle()});sn(_a);const ye={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){const n=[];let r=t.parentNode.closest(e);for(;r;)n.push(r),r=r.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!dr(n)&&es(n))}},Z0="swipe",ts=".bs.swipe",J0=`touchstart${ts}`,eb=`touchmove${ts}`,tb=`touchend${ts}`,nb=`pointerdown${ts}`,rb=`pointerup${ts}`,ib="touch",sb="pen",ob="pointer-event",ab=40,lb={endCallback:null,leftCallback:null,rightCallback:null},cb={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Yo extends eo{constructor(e,n){super(),this._element=e,!(!e||!Yo.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return lb}static get DefaultType(){return cb}static get NAME(){return Z0}dispose(){q.off(this._element,ts)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),$n(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=ab)return;const n=e/this._deltaX;this._deltaX=0,n&&$n(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(q.on(this._element,nb,e=>this._start(e)),q.on(this._element,rb,e=>this._end(e)),this._element.classList.add(ob)):(q.on(this._element,J0,e=>this._start(e)),q.on(this._element,eb,e=>this._move(e)),q.on(this._element,tb,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===sb||e.pointerType===ib)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const ub="carousel",db="bs.carousel",yr=`.${db}`,mp=".data-api",fb="ArrowLeft",hb="ArrowRight",mb=500,ls="next",ai="prev",mi="left",Po="right",pb=`slide${yr}`,Qa=`slid${yr}`,gb=`keydown${yr}`,_b=`mouseenter${yr}`,vb=`mouseleave${yr}`,bb=`dragstart${yr}`,yb=`load${yr}${mp}`,wb=`click${yr}${mp}`,pp="carousel",ho="active",Eb="slide",Tb="carousel-item-end",Cb="carousel-item-start",Sb="carousel-item-next",Ab="carousel-item-prev",gp=".active",_p=".carousel-item",kb=gp+_p,xb=".carousel-item img",Lb=".carousel-indicators",Pb="[data-bs-slide], [data-bs-slide-to]",Nb='[data-bs-ride="carousel"]',Ob={[fb]:Po,[hb]:mi},Ib={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Mb={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class to extends mn{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ye.findOne(Lb,this._element),this._addEventListeners(),this._config.ride===pp&&this.cycle()}static get Default(){return Ib}static get DefaultType(){return Mb}static get NAME(){return ub}next(){this._slide(ls)}nextWhenVisible(){!document.hidden&&es(this._element)&&this.next()}prev(){this._slide(ai)}pause(){this._isSliding&&rp(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(!!this._config.ride){if(this._isSliding){q.one(this._element,Qa,()=>this.cycle());return}this.cycle()}}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){q.one(this._element,Qa,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const i=e>r?ls:ai;this._slide(i,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&q.on(this._element,gb,e=>this._keydown(e)),this._config.pause==="hover"&&(q.on(this._element,_b,()=>this.pause()),q.on(this._element,vb,()=>this._maybeEnableCycle())),this._config.touch&&Yo.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ye.find(xb,this._element))q.on(r,bb,i=>i.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(mi)),rightCallback:()=>this._slide(this._directionToOrder(Po)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),mb+this._config.interval))}};this._swipeHelper=new Yo(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const n=Ob[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const n=ye.findOne(gp,this._indicatorsElement);n.classList.remove(ho),n.removeAttribute("aria-current");const r=ye.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(ho),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const r=this._getActive(),i=e===ls,s=n||ru(this._getItems(),r,i,this._config.wrap);if(s===r)return;const o=this._getItemIndex(s),a=h=>q.trigger(this._element,h,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:o});if(a(pb).defaultPrevented||!r||!s)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const u=i?Cb:Tb,f=i?Sb:Ab;s.classList.add(f),Js(s),r.classList.add(u),s.classList.add(u);const d=()=>{s.classList.remove(u,f),s.classList.add(ho),r.classList.remove(ho,f,u),this._isSliding=!1,a(Qa)};this._queueCallback(d,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(Eb)}_getActive(){return ye.findOne(kb,this._element)}_getItems(){return ye.find(_p,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return tn()?e===mi?ai:ls:e===mi?ls:ai}_orderToDirection(e){return tn()?e===ai?mi:Po:e===ai?Po:mi}static jQueryInterface(e){return this.each(function(){const n=to.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}q.on(document,wb,Pb,function(t){const e=zn(this);if(!e||!e.classList.contains(pp))return;t.preventDefault();const n=to.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){n.to(r),n._maybeEnableCycle();return}if(jn.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});q.on(window,yb,()=>{const t=ye.find(Nb);for(const e of t)to.getOrCreateInstance(e)});sn(to);const Db="collapse",Rb="bs.collapse",no=`.${Rb}`,$b=".data-api",Fb=`show${no}`,Vb=`shown${no}`,zb=`hide${no}`,Hb=`hidden${no}`,jb=`click${no}${$b}`,Za="show",vi="collapse",mo="collapsing",Bb="collapsed",Ub=`:scope .${vi} .${vi}`,Wb="collapse-horizontal",Kb="width",Yb="height",qb=".collapse.show, .collapse.collapsing",ql='[data-bs-toggle="collapse"]',Gb={parent:null,toggle:!0},Xb={parent:"(null|element)",toggle:"boolean"};class Is extends mn{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const r=ye.find(ql);for(const i of r){const s=np(i),o=ye.find(s).filter(a=>a===this._element);s!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Gb}static get DefaultType(){return Xb}static get NAME(){return Db}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(qb).filter(a=>a!==this._element).map(a=>Is.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||q.trigger(this._element,Fb).defaultPrevented)return;for(const a of e)a.hide();const r=this._getDimension();this._element.classList.remove(vi),this._element.classList.add(mo),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(vi,Za),this._element.style[r]="",q.trigger(this._element,Vb)},o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[r]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||q.trigger(this._element,zb).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Js(this._element),this._element.classList.add(mo),this._element.classList.remove(vi,Za);for(const i of this._triggerArray){const s=zn(i);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(vi),q.trigger(this._element,Hb)};this._element.style[n]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Za)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=ur(e.parent),e}_getDimension(){return this._element.classList.contains(Wb)?Kb:Yb}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ql);for(const n of e){const r=zn(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))}}_getFirstLevelChildren(e){const n=ye.find(Ub,this._config.parent);return ye.find(e,this._config.parent).filter(r=>!n.includes(r))}_addAriaAndCollapsedClass(e,n){if(!!e.length)for(const r of e)r.classList.toggle(Bb,!n),r.setAttribute("aria-expanded",n)}static jQueryInterface(e){const n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){const r=Is.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}q.on(document,jb,ql,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();const e=np(this),n=ye.find(e);for(const r of n)Is.getOrCreateInstance(r,{toggle:!1}).toggle()});sn(Is);const Dd="dropdown",Qb="bs.dropdown",Qr=`.${Qb}`,su=".data-api",Zb="Escape",Rd="Tab",Jb="ArrowUp",$d="ArrowDown",e1=2,t1=`hide${Qr}`,n1=`hidden${Qr}`,r1=`show${Qr}`,i1=`shown${Qr}`,vp=`click${Qr}${su}`,bp=`keydown${Qr}${su}`,s1=`keyup${Qr}${su}`,pi="show",o1="dropup",a1="dropend",l1="dropstart",c1="dropup-center",u1="dropdown-center",$r='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',d1=`${$r}.${pi}`,No=".dropdown-menu",f1=".navbar",h1=".navbar-nav",m1=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",p1=tn()?"top-end":"top-start",g1=tn()?"top-start":"top-end",_1=tn()?"bottom-end":"bottom-start",v1=tn()?"bottom-start":"bottom-end",b1=tn()?"left-start":"right-start",y1=tn()?"right-start":"left-start",w1="top",E1="bottom",T1={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},C1={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Sn extends mn{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=ye.next(this._element,No)[0]||ye.prev(this._element,No)[0]||ye.findOne(No,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return T1}static get DefaultType(){return C1}static get NAME(){return Dd}toggle(){return this._isShown()?this.hide():this.show()}show(){if(dr(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!q.trigger(this._element,r1,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(h1))for(const r of[].concat(...document.body.children))q.on(r,"mouseover",Ko);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(pi),this._element.classList.add(pi),q.trigger(this._element,i1,e)}}hide(){if(dr(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!q.trigger(this._element,t1,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))q.off(r,"mouseover",Ko);this._popper&&this._popper.destroy(),this._menu.classList.remove(pi),this._element.classList.remove(pi),this._element.setAttribute("aria-expanded","false"),jn.removeDataAttribute(this._menu,"popper"),q.trigger(this._element,n1,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Hn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Dd.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof ep>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Hn(this._config.reference)?e=ur(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=nu(e,this._menu,n)}_isShown(){return this._menu.classList.contains(pi)}_getPlacement(){const e=this._parent;if(e.classList.contains(a1))return b1;if(e.classList.contains(l1))return y1;if(e.classList.contains(c1))return w1;if(e.classList.contains(u1))return E1;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(o1)?n?g1:p1:n?v1:_1}_detectNavbar(){return this._element.closest(f1)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(jn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...typeof this._config.popperConfig=="function"?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:n}){const r=ye.find(m1,this._menu).filter(i=>es(i));!r.length||ru(r,n,e===$d,!r.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const n=Sn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===e1||e.type==="keyup"&&e.key!==Rd)return;const n=ye.find(d1);for(const r of n){const i=Sn.getInstance(r);if(!i||i._config.autoClose===!1)continue;const s=e.composedPath(),o=s.includes(i._menu);if(s.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Rd||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:i._element};e.type==="click"&&(a.clickEvent=e),i._completeHide(a)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),r=e.key===Zb,i=[Jb,$d].includes(e.key);if(!i&&!r||n&&!r)return;e.preventDefault();const s=this.matches($r)?this:ye.prev(this,$r)[0]||ye.next(this,$r)[0]||ye.findOne($r,e.delegateTarget.parentNode),o=Sn.getOrCreateInstance(s);if(i){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),s.focus())}}q.on(document,bp,$r,Sn.dataApiKeydownHandler);q.on(document,bp,No,Sn.dataApiKeydownHandler);q.on(document,vp,Sn.clearMenus);q.on(document,s1,Sn.clearMenus);q.on(document,vp,$r,function(t){t.preventDefault(),Sn.getOrCreateInstance(this).toggle()});sn(Sn);const Fd=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Vd=".sticky-top",po="padding-right",zd="margin-right";class Gl{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,po,n=>n+e),this._setElementAttributes(Fd,po,n=>n+e),this._setElementAttributes(Vd,zd,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,po),this._resetElementAttributes(Fd,po),this._resetElementAttributes(Vd,zd)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,r){const i=this.getWidth(),s=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${r(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,n){const r=e.style.getPropertyValue(n);r&&jn.setDataAttribute(e,n,r)}_resetElementAttributes(e,n){const r=i=>{const s=jn.getDataAttribute(i,n);if(s===null){i.style.removeProperty(n);return}jn.removeDataAttribute(i,n),i.style.setProperty(n,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,n){if(Hn(e)){n(e);return}for(const r of ye.find(e,this._element))n(r)}}const yp="backdrop",S1="fade",Hd="show",jd=`mousedown.bs.${yp}`,A1={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},k1={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class wp extends eo{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return A1}static get DefaultType(){return k1}static get NAME(){return yp}show(e){if(!this._config.isVisible){$n(e);return}this._append();const n=this._getElement();this._config.isAnimated&&Js(n),n.classList.add(Hd),this._emulateAnimation(()=>{$n(e)})}hide(e){if(!this._config.isVisible){$n(e);return}this._getElement().classList.remove(Hd),this._emulateAnimation(()=>{this.dispose(),$n(e)})}dispose(){!this._isAppended||(q.off(this._element,jd),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(S1),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=ur(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),q.on(e,jd,()=>{$n(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){op(e,this._getElement(),this._config.isAnimated)}}const x1="focustrap",L1="bs.focustrap",qo=`.${L1}`,P1=`focusin${qo}`,N1=`keydown.tab${qo}`,O1="Tab",I1="forward",Bd="backward",M1={autofocus:!0,trapElement:null},D1={autofocus:"boolean",trapElement:"element"};class Ep extends eo{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return M1}static get DefaultType(){return D1}static get NAME(){return x1}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),q.off(document,qo),q.on(document,P1,e=>this._handleFocusin(e)),q.on(document,N1,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){!this._isActive||(this._isActive=!1,q.off(document,qo))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const r=ye.focusableChildren(n);r.length===0?n.focus():this._lastTabNavDirection===Bd?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===O1&&(this._lastTabNavDirection=e.shiftKey?Bd:I1)}}const R1="modal",$1="bs.modal",pn=`.${$1}`,F1=".data-api",V1="Escape",z1=`hide${pn}`,H1=`hidePrevented${pn}`,Tp=`hidden${pn}`,Cp=`show${pn}`,j1=`shown${pn}`,B1=`resize${pn}`,U1=`click.dismiss${pn}`,W1=`mousedown.dismiss${pn}`,K1=`keydown.dismiss${pn}`,Y1=`click${pn}${F1}`,Ud="modal-open",q1="fade",Wd="show",Ja="modal-static",G1=".modal.show",X1=".modal-dialog",Q1=".modal-body",Z1='[data-bs-toggle="modal"]',J1={backdrop:!0,focus:!0,keyboard:!0},ey={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ri extends mn{constructor(e,n){super(e,n),this._dialog=ye.findOne(X1,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Gl,this._addEventListeners()}static get Default(){return J1}static get DefaultType(){return ey}static get NAME(){return R1}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||q.trigger(this._element,Cp,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ud),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||q.trigger(this._element,z1).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Wd),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(const e of[window,this._dialog])q.off(e,pn);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wp({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ep({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=ye.findOne(Q1,this._dialog);n&&(n.scrollTop=0),Js(this._element),this._element.classList.add(Wd);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,q.trigger(this._element,j1,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){q.on(this._element,K1,e=>{if(e.key===V1){if(this._config.keyboard){e.preventDefault(),this.hide();return}this._triggerBackdropTransition()}}),q.on(window,B1,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),q.on(this._element,W1,e=>{q.one(this._element,U1,n=>{if(!(this._element!==e.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ud),this._resetAdjustments(),this._scrollBar.reset(),q.trigger(this._element,Tp)})}_isAnimated(){return this._element.classList.contains(q1)}_triggerBackdropTransition(){if(q.trigger(this._element,H1).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Ja)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Ja),this._queueCallback(()=>{this._element.classList.remove(Ja),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;if(r&&!e){const i=tn()?"paddingLeft":"paddingRight";this._element.style[i]=`${n}px`}if(!r&&e){const i=tn()?"paddingRight":"paddingLeft";this._element.style[i]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){const r=Ri.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](n)}})}}q.on(document,Y1,Z1,function(t){const e=zn(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),q.one(e,Cp,i=>{i.defaultPrevented||q.one(e,Tp,()=>{es(this)&&this.focus()})});const n=ye.findOne(G1);n&&Ri.getInstance(n).hide(),Ri.getOrCreateInstance(e).toggle(this)});pa(Ri);sn(Ri);const ty="offcanvas",ny="bs.offcanvas",Yn=`.${ny}`,Sp=".data-api",ry=`load${Yn}${Sp}`,iy="Escape",Kd="show",Yd="showing",qd="hiding",sy="offcanvas-backdrop",Ap=".offcanvas.show",oy=`show${Yn}`,ay=`shown${Yn}`,ly=`hide${Yn}`,Gd=`hidePrevented${Yn}`,kp=`hidden${Yn}`,cy=`resize${Yn}`,uy=`click${Yn}${Sp}`,dy=`keydown.dismiss${Yn}`,fy='[data-bs-toggle="offcanvas"]',hy={backdrop:!0,keyboard:!0,scroll:!1},my={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class fr extends mn{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return hy}static get DefaultType(){return my}static get NAME(){return ty}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||q.trigger(this._element,oy,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Gl().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Yd);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Kd),this._element.classList.remove(Yd),q.trigger(this._element,ay,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||q.trigger(this._element,ly).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(qd),this._backdrop.hide();const n=()=>{this._element.classList.remove(Kd,qd),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Gl().reset(),q.trigger(this._element,kp)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){q.trigger(this._element,Gd);return}this.hide()},n=Boolean(this._config.backdrop);return new wp({className:sy,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new Ep({trapElement:this._element})}_addEventListeners(){q.on(this._element,dy,e=>{if(e.key===iy){if(!this._config.keyboard){q.trigger(this._element,Gd);return}this.hide()}})}static jQueryInterface(e){return this.each(function(){const n=fr.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}q.on(document,uy,fy,function(t){const e=zn(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),dr(this))return;q.one(e,kp,()=>{es(this)&&this.focus()});const n=ye.findOne(Ap);n&&n!==e&&fr.getInstance(n).hide(),fr.getOrCreateInstance(e).toggle(this)});q.on(window,ry,()=>{for(const t of ye.find(Ap))fr.getOrCreateInstance(t).show()});q.on(window,cy,()=>{for(const t of ye.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&fr.getOrCreateInstance(t).hide()});pa(fr);sn(fr);const py=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),gy=/^aria-[\w-]*$/i,_y=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,vy=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,by=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?py.has(n)?Boolean(_y.test(t.nodeValue)||vy.test(t.nodeValue)):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(n))},xp={"*":["class","dir","id","lang","role",gy],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function yy(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const i=new window.DOMParser().parseFromString(t,"text/html"),s=[].concat(...i.body.querySelectorAll("*"));for(const o of s){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),c=[].concat(e["*"]||[],e[a]||[]);for(const u of l)by(u,c)||o.removeAttribute(u.nodeName)}return i.body.innerHTML}const wy="TemplateFactory",Ey={allowList:xp,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Ty={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Cy={entry:"(string|element|function|null)",selector:"(string|element)"};class Sy extends eo{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ey}static get DefaultType(){return Ty}static get NAME(){return wy}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[i,s]of Object.entries(this._config.content))this._setContent(e,s,i);const n=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[n,r]of Object.entries(e))super._typeCheckConfig({selector:n,entry:r},Cy)}_setContent(e,n,r){const i=ye.findOne(r,e);if(!!i){if(n=this._resolvePossibleFunction(n),!n){i.remove();return}if(Hn(n)){this._putElementInTemplate(ur(n),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(n);return}i.textContent=n}}_maybeSanitize(e){return this._config.sanitize?yy(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return typeof e=="function"?e(this):e}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}}const Ay="tooltip",ky=new Set(["sanitize","allowList","sanitizeFn"]),el="fade",xy="modal",go="show",Ly=".tooltip-inner",Xd=`.${xy}`,Qd="hide.bs.modal",cs="hover",tl="focus",Py="click",Ny="manual",Oy="hide",Iy="hidden",My="show",Dy="shown",Ry="inserted",$y="click",Fy="focusin",Vy="focusout",zy="mouseenter",Hy="mouseleave",jy={AUTO:"auto",TOP:"top",RIGHT:tn()?"left":"right",BOTTOM:"bottom",LEFT:tn()?"right":"left"},By={allowList:xp,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Uy={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class wr extends mn{constructor(e,n){if(typeof ep>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return By}static get DefaultType(){return Uy}static get NAME(){return Ay}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(!!this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),q.off(this._element.closest(Xd),Qd,this._hideModalHandler),this.tip&&this.tip.remove(),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=q.trigger(this._element,this.constructor.eventName(My)),r=(ip(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this.tip&&(this.tip.remove(),this.tip=null);const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(i),q.trigger(this._element,this.constructor.eventName(Ry))),this._popper?this._popper.update():this._popper=this._createPopper(i),i.classList.add(go),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))q.on(a,"mouseover",Ko);const o=()=>{q.trigger(this._element,this.constructor.eventName(Dy)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||q.trigger(this._element,this.constructor.eventName(Oy)).defaultPrevented)return;const n=this._getTipElement();if(n.classList.remove(go),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))q.off(i,"mouseover",Ko);this._activeTrigger[Py]=!1,this._activeTrigger[tl]=!1,this._activeTrigger[cs]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||n.remove(),this._element.removeAttribute("aria-describedby"),q.trigger(this._element,this.constructor.eventName(Iy)),this._disposePopper())};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(el,go),n.classList.add(`bs-${this.constructor.NAME}-auto`);const r=L0(this.constructor.NAME).toString();return n.setAttribute("id",r),this._isAnimated()&&n.classList.add(el),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Sy({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ly]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(el)}_isShown(){return this.tip&&this.tip.classList.contains(go)}_createPopper(e){const n=typeof this._config.placement=="function"?this._config.placement.call(this,e,this._element):this._config.placement,r=jy[n.toUpperCase()];return nu(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return typeof e=="function"?e.call(this._element):e}_getPopperConfig(e){const n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...n,...typeof this._config.popperConfig=="function"?this._config.popperConfig(n):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const n of e)if(n==="click")q.on(this._element,this.constructor.eventName($y),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(n!==Ny){const r=n===cs?this.constructor.eventName(zy):this.constructor.eventName(Fy),i=n===cs?this.constructor.eventName(Hy):this.constructor.eventName(Vy);q.on(this._element,r,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusin"?tl:cs]=!0,o._enter()}),q.on(this._element,i,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusout"?tl:cs]=o._element.contains(s.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},q.on(this._element.closest(Xd),Qd,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");!e||(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const n=jn.getDataAttributes(this._element);for(const r of Object.keys(n))ky.has(r)&&delete n[r];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:ur(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const n in this._config)this.constructor.Default[n]!==this._config[n]&&(e[n]=this._config[n]);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const n=wr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}sn(wr);const Wy="popover",Ky=".popover-header",Yy=".popover-body",qy={...wr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Gy={...wr.DefaultType,content:"(null|string|element|function)"};class ou extends wr{static get Default(){return qy}static get DefaultType(){return Gy}static get NAME(){return Wy}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Ky]:this._getTitle(),[Yy]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const n=ou.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}sn(ou);const Xy="scrollspy",Qy="bs.scrollspy",au=`.${Qy}`,Zy=".data-api",Jy=`activate${au}`,Zd=`click${au}`,ew=`load${au}${Zy}`,tw="dropdown-item",li="active",nw='[data-bs-spy="scroll"]',nl="[href]",rw=".nav, .list-group",Jd=".nav-link",iw=".nav-item",sw=".list-group-item",ow=`${Jd}, ${iw} > ${Jd}, ${sw}`,aw=".dropdown",lw=".dropdown-toggle",cw={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},uw={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class va extends mn{constructor(e,n){super(e,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return cw}static get DefaultType(){return uw}static get NAME(){return Xy}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=ur(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){!this._config.smoothScroll||(q.off(this._config.target,Zd),q.on(this._config.target,Zd,nl,e=>{const n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();const r=this._rootElement||window,i=n.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:i,behavior:"smooth"});return}r.scrollTop=i}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){const n=o=>this._targetLinks.get(`#${o.target.id}`),r=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},i=(this._rootElement||document.documentElement).scrollTop,s=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&a){if(r(o),!i)return;continue}!s&&!a&&r(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=ye.find(nl,this._config.target);for(const n of e){if(!n.hash||dr(n))continue;const r=ye.findOne(n.hash,this._element);es(r)&&(this._targetLinks.set(n.hash,n),this._observableSections.set(n.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(li),this._activateParents(e),q.trigger(this._element,Jy,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(tw)){ye.findOne(lw,e.closest(aw)).classList.add(li);return}for(const n of ye.parents(e,rw))for(const r of ye.prev(n,ow))r.classList.add(li)}_clearActiveClass(e){e.classList.remove(li);const n=ye.find(`${nl}.${li}`,e);for(const r of n)r.classList.remove(li)}static jQueryInterface(e){return this.each(function(){const n=va.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}q.on(window,ew,()=>{for(const t of ye.find(nw))va.getOrCreateInstance(t)});sn(va);const dw="tab",fw="bs.tab",Zr=`.${fw}`,hw=`hide${Zr}`,mw=`hidden${Zr}`,pw=`show${Zr}`,gw=`shown${Zr}`,_w=`click${Zr}`,vw=`keydown${Zr}`,bw=`load${Zr}`,yw="ArrowLeft",ef="ArrowRight",ww="ArrowUp",tf="ArrowDown",Fr="active",nf="fade",rl="show",Ew="dropdown",Tw=".dropdown-toggle",Cw=".dropdown-menu",il=":not(.dropdown-toggle)",Sw='.list-group, .nav, [role="tablist"]',Aw=".nav-item, .list-group-item",kw=`.nav-link${il}, .list-group-item${il}, [role="tab"]${il}`,Lp='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',sl=`${kw}, ${Lp}`,xw=`.${Fr}[data-bs-toggle="tab"], .${Fr}[data-bs-toggle="pill"], .${Fr}[data-bs-toggle="list"]`;class $i extends mn{constructor(e){super(e),this._parent=this._element.closest(Sw),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),q.on(this._element,vw,n=>this._keydown(n)))}static get NAME(){return dw}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),r=n?q.trigger(n,hw,{relatedTarget:e}):null;q.trigger(e,pw,{relatedTarget:n}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(Fr),this._activate(zn(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(rl);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),q.trigger(e,gw,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(nf))}_deactivate(e,n){if(!e)return;e.classList.remove(Fr),e.blur(),this._deactivate(zn(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(rl);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),q.trigger(e,mw,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(nf))}_keydown(e){if(![yw,ef,ww,tf].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=[ef,tf].includes(e.key),r=ru(this._getChildren().filter(i=>!dr(i)),e.target,n,!0);r&&(r.focus({preventScroll:!0}),$i.getOrCreateInstance(r).show())}_getChildren(){return ye.find(sl,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(const r of n)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const n=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",n),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=zn(e);!n||(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,n){const r=this._getOuterElement(e);if(!r.classList.contains(Ew))return;const i=(s,o)=>{const a=ye.findOne(s,r);a&&a.classList.toggle(o,n)};i(Tw,Fr),i(Cw,rl),r.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,r){e.hasAttribute(n)||e.setAttribute(n,r)}_elemIsActive(e){return e.classList.contains(Fr)}_getInnerElement(e){return e.matches(sl)?e:ye.findOne(sl,e)}_getOuterElement(e){return e.closest(Aw)||e}static jQueryInterface(e){return this.each(function(){const n=$i.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}q.on(document,_w,Lp,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!dr(this)&&$i.getOrCreateInstance(this).show()});q.on(window,bw,()=>{for(const t of ye.find(xw))$i.getOrCreateInstance(t)});sn($i);const Lw="toast",Pw="bs.toast",Er=`.${Pw}`,Nw=`mouseover${Er}`,Ow=`mouseout${Er}`,Iw=`focusin${Er}`,Mw=`focusout${Er}`,Dw=`hide${Er}`,Rw=`hidden${Er}`,$w=`show${Er}`,Fw=`shown${Er}`,Vw="fade",rf="hide",_o="show",vo="showing",zw={animation:"boolean",autohide:"boolean",delay:"number"},Hw={animation:!0,autohide:!0,delay:5e3};class ba extends mn{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Hw}static get DefaultType(){return zw}static get NAME(){return Lw}show(){if(q.trigger(this._element,$w).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Vw);const n=()=>{this._element.classList.remove(vo),q.trigger(this._element,Fw),this._maybeScheduleHide()};this._element.classList.remove(rf),Js(this._element),this._element.classList.add(_o,vo),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||q.trigger(this._element,Dw).defaultPrevented)return;const n=()=>{this._element.classList.add(rf),this._element.classList.remove(vo,_o),q.trigger(this._element,Rw)};this._element.classList.add(vo),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(_o),super.dispose()}isShown(){return this._element.classList.contains(_o)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){q.on(this._element,Nw,e=>this._onInteraction(e,!0)),q.on(this._element,Ow,e=>this._onInteraction(e,!1)),q.on(this._element,Iw,e=>this._onInteraction(e,!0)),q.on(this._element,Mw,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const n=ba.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}pa(ba);sn(ba);function jw(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Pp={exports:{}};(function(t,e){(function(){function n(){var r=window,i=document;if("scrollBehavior"in i.documentElement.style&&r.__forceSmoothScrollPolyfill__!==!0)return;var s=r.HTMLElement||r.Element,o=468,a={scroll:r.scroll||r.scrollTo,scrollBy:r.scrollBy,elementScroll:s.prototype.scroll||f,scrollIntoView:s.prototype.scrollIntoView},l=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function c(v){var b=["MSIE ","Trident/","Edge/"];return new RegExp(b.join("|")).test(v)}var u=c(r.navigator.userAgent)?1:0;function f(v,b){this.scrollLeft=v,this.scrollTop=b}function d(v){return .5*(1-Math.cos(Math.PI*v))}function h(v){if(v===null||typeof v!="object"||v.behavior===void 0||v.behavior==="auto"||v.behavior==="instant")return!0;if(typeof v=="object"&&v.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+v.behavior+" is not a valid value for enumeration ScrollBehavior.")}function w(v,b){if(b==="Y")return v.clientHeight+u1?1:I,k=d(I),x=v.startX+(v.x-v.startX)*k,N=v.startY+(v.y-v.startY)*k,v.method.call(v.scrollable,x,N),(x!==v.x||N!==v.y)&&r.requestAnimationFrame(T.bind(r,v))}function S(v,b,k){var x,N,I,B,X=l();v===i.body?(x=r,N=r.scrollX||r.pageXOffset,I=r.scrollY||r.pageYOffset,B=a.scroll):(x=v,N=v.scrollLeft,I=v.scrollTop,B=f),T({scrollable:x,method:B,startTime:X,startX:N,startY:I,x:b,y:k})}r.scroll=r.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){a.scroll.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:r.scrollY||r.pageYOffset);return}S.call(r,i.body,arguments[0].left!==void 0?~~arguments[0].left:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?~~arguments[0].top:r.scrollY||r.pageYOffset)}},r.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])){a.scrollBy.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:0,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:0);return}S.call(r,i.body,~~arguments[0].left+(r.scrollX||r.pageXOffset),~~arguments[0].top+(r.scrollY||r.pageYOffset))}},s.prototype.scroll=s.prototype.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){if(typeof arguments[0]=="number"&&arguments[1]===void 0)throw new SyntaxError("Value could not be converted");a.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left:typeof arguments[0]!="object"?~~arguments[0]:this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top:arguments[1]!==void 0?~~arguments[1]:this.scrollTop);return}var v=arguments[0].left,b=arguments[0].top;S.call(this,this,typeof v>"u"?this.scrollLeft:~~v,typeof b>"u"?this.scrollTop:~~b)}},s.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){a.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},s.prototype.scrollIntoView=function(){if(h(arguments[0])===!0){a.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var v=_(this),b=v.getBoundingClientRect(),k=this.getBoundingClientRect();v!==i.body?(S.call(this,v,v.scrollLeft+k.left-b.left,v.scrollTop+k.top-b.top),r.getComputedStyle(v).position!=="fixed"&&r.scrollBy({left:b.left,top:b.top,behavior:"smooth"})):r.scrollBy({left:k.left,top:k.top,behavior:"smooth"})}}t.exports={polyfill:n}})()})(Pp);const Bw=Pp.exports;function lu(t,e){const n=Object.create(null),r=t.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}function Ct(t){if(he(t)){const e={};for(let n=0;n{if(n){const r=n.split(Ww);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Me(t){let e="";if(Ke(t))e=t;else if(he(t))for(let n=0;nGr(n,e))}const F=t=>Ke(t)?t:t==null?"":he(t)||Ve(t)&&(t.toString===Mp||!be(t.toString))?JSON.stringify(t,Op,2):String(t),Op=(t,e)=>e&&e.__v_isRef?Op(t,e.value):Ci(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:ns(e)?{[`Set(${e.size})`]:[...e.values()]}:Ve(e)&&!he(e)&&!Dp(e)?String(e):e,ze={},Ti=[],dn=()=>{},Qw=()=>!1,Zw=/^on[^a-z]/,ya=t=>Zw.test(t),uu=t=>t.startsWith("onUpdate:"),mt=Object.assign,du=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Jw=Object.prototype.hasOwnProperty,xe=(t,e)=>Jw.call(t,e),he=Array.isArray,Ci=t=>ro(t)==="[object Map]",ns=t=>ro(t)==="[object Set]",sf=t=>ro(t)==="[object Date]",be=t=>typeof t=="function",Ke=t=>typeof t=="string",Ms=t=>typeof t=="symbol",Ve=t=>t!==null&&typeof t=="object",Ip=t=>Ve(t)&&be(t.then)&&be(t.catch),Mp=Object.prototype.toString,ro=t=>Mp.call(t),eE=t=>ro(t).slice(8,-1),Dp=t=>ro(t)==="[object Object]",fu=t=>Ke(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Oo=lu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wa=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},tE=/-(\w)/g,Ln=wa(t=>t.replace(tE,(e,n)=>n?n.toUpperCase():"")),nE=/\B([A-Z])/g,rs=wa(t=>t.replace(nE,"-$1").toLowerCase()),Ea=wa(t=>t.charAt(0).toUpperCase()+t.slice(1)),ol=wa(t=>t?`on${Ea(t)}`:""),Ds=(t,e)=>!Object.is(t,e),Io=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Rs=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let of;const rE=()=>of||(of=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let bn;class Rp{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=bn,!e&&bn&&(this.index=(bn.scopes||(bn.scopes=[])).push(this)-1)}run(e){if(this.active){const n=bn;try{return bn=this,e()}finally{bn=n}}}on(){bn=this}off(){bn=this.parent}stop(e){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},$p=t=>(t.w&hr)>0,Fp=t=>(t.n&hr)>0,oE=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),e){case"add":he(t)?fu(n)&&a.push(o.get("length")):(a.push(o.get(jr)),Ci(t)&&a.push(o.get(Zl)));break;case"delete":he(t)||(a.push(o.get(jr)),Ci(t)&&a.push(o.get(Zl)));break;case"set":Ci(t)&&a.push(o.get(jr));break}if(a.length===1)a[0]&&Jl(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Jl(hu(l))}}function Jl(t,e){const n=he(t)?t:[...t];for(const r of n)r.computed&&lf(r);for(const r of n)r.computed||lf(r)}function lf(t,e){(t!==ln||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const lE=lu("__proto__,__v_isRef,__isVue"),Hp=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ms)),cE=pu(),uE=pu(!1,!0),dE=pu(!0),cf=fE();function fE(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=Ne(this);for(let s=0,o=this.length;s{t[e]=function(...n){is();const r=Ne(this)[e].apply(this,n);return ss(),r}}),t}function pu(t=!1,e=!1){return function(r,i,s){if(i==="__v_isReactive")return!t;if(i==="__v_isReadonly")return t;if(i==="__v_isShallow")return e;if(i==="__v_raw"&&s===(t?e?xE:Kp:e?Wp:Up).get(r))return r;const o=he(r);if(!t&&o&&xe(cf,i))return Reflect.get(cf,i,s);const a=Reflect.get(r,i,s);return(Ms(i)?Hp.has(i):lE(i))||(t||zt(r,"get",i),e)?a:lt(a)?o&&fu(i)?a:a.value:Ve(a)?t?Yp(a):Jr(a):a}}const hE=jp(),mE=jp(!0);function jp(t=!1){return function(n,r,i,s){let o=n[r];if(Fi(o)&<(o)&&!lt(i))return!1;if(!t&&(!Xo(i)&&!Fi(i)&&(o=Ne(o),i=Ne(i)),!he(n)&<(o)&&!lt(i)))return o.value=i,!0;const a=he(n)&&fu(r)?Number(r)t,Ta=t=>Reflect.getPrototypeOf(t);function bo(t,e,n=!1,r=!1){t=t.__v_raw;const i=Ne(t),s=Ne(e);n||(e!==s&&zt(i,"get",e),zt(i,"get",s));const{has:o}=Ta(i),a=r?gu:n?wu:$s;if(o.call(i,e))return a(t.get(e));if(o.call(i,s))return a(t.get(s));t!==i&&t.get(e)}function yo(t,e=!1){const n=this.__v_raw,r=Ne(n),i=Ne(t);return e||(t!==i&&zt(r,"has",t),zt(r,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function wo(t,e=!1){return t=t.__v_raw,!e&&zt(Ne(t),"iterate",jr),Reflect.get(t,"size",t)}function uf(t){t=Ne(t);const e=Ne(this);return Ta(e).has.call(e,t)||(e.add(t),Un(e,"add",t,t)),this}function df(t,e){e=Ne(e);const n=Ne(this),{has:r,get:i}=Ta(n);let s=r.call(n,t);s||(t=Ne(t),s=r.call(n,t));const o=i.call(n,t);return n.set(t,e),s?Ds(e,o)&&Un(n,"set",t,e):Un(n,"add",t,e),this}function ff(t){const e=Ne(this),{has:n,get:r}=Ta(e);let i=n.call(e,t);i||(t=Ne(t),i=n.call(e,t)),r&&r.call(e,t);const s=e.delete(t);return i&&Un(e,"delete",t,void 0),s}function hf(){const t=Ne(this),e=t.size!==0,n=t.clear();return e&&Un(t,"clear",void 0,void 0),n}function Eo(t,e){return function(r,i){const s=this,o=s.__v_raw,a=Ne(o),l=e?gu:t?wu:$s;return!t&&zt(a,"iterate",jr),o.forEach((c,u)=>r.call(i,l(c),l(u),s))}}function To(t,e,n){return function(...r){const i=this.__v_raw,s=Ne(i),o=Ci(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...r),u=n?gu:e?wu:$s;return!e&&zt(s,"iterate",l?Zl:jr),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Xn(t){return function(...e){return t==="delete"?!1:this}}function yE(){const t={get(s){return bo(this,s)},get size(){return wo(this)},has:yo,add:uf,set:df,delete:ff,clear:hf,forEach:Eo(!1,!1)},e={get(s){return bo(this,s,!1,!0)},get size(){return wo(this)},has:yo,add:uf,set:df,delete:ff,clear:hf,forEach:Eo(!1,!0)},n={get(s){return bo(this,s,!0)},get size(){return wo(this,!0)},has(s){return yo.call(this,s,!0)},add:Xn("add"),set:Xn("set"),delete:Xn("delete"),clear:Xn("clear"),forEach:Eo(!0,!1)},r={get(s){return bo(this,s,!0,!0)},get size(){return wo(this,!0)},has(s){return yo.call(this,s,!0)},add:Xn("add"),set:Xn("set"),delete:Xn("delete"),clear:Xn("clear"),forEach:Eo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=To(s,!1,!1),n[s]=To(s,!0,!1),e[s]=To(s,!1,!0),r[s]=To(s,!0,!0)}),[t,n,e,r]}const[wE,EE,TE,CE]=yE();function _u(t,e){const n=e?t?CE:TE:t?EE:wE;return(r,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?r:Reflect.get(xe(n,i)&&i in r?n:r,i,s)}const SE={get:_u(!1,!1)},AE={get:_u(!1,!0)},kE={get:_u(!0,!1)},Up=new WeakMap,Wp=new WeakMap,Kp=new WeakMap,xE=new WeakMap;function LE(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function PE(t){return t.__v_skip||!Object.isExtensible(t)?0:LE(eE(t))}function Jr(t){return Fi(t)?t:vu(t,!1,Bp,SE,Up)}function NE(t){return vu(t,!1,bE,AE,Wp)}function Yp(t){return vu(t,!0,vE,kE,Kp)}function vu(t,e,n,r,i){if(!Ve(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=i.get(t);if(s)return s;const o=PE(t);if(o===0)return t;const a=new Proxy(t,o===2?r:n);return i.set(t,a),a}function Si(t){return Fi(t)?Si(t.__v_raw):!!(t&&t.__v_isReactive)}function Fi(t){return!!(t&&t.__v_isReadonly)}function Xo(t){return!!(t&&t.__v_isShallow)}function bu(t){return Si(t)||Fi(t)}function Ne(t){const e=t&&t.__v_raw;return e?Ne(e):t}function yu(t){return Go(t,"__v_skip",!0),t}const $s=t=>Ve(t)?Jr(t):t,wu=t=>Ve(t)?Yp(t):t;function qp(t){sr&&ln&&(t=Ne(t),zp(t.dep||(t.dep=hu())))}function Gp(t,e){t=Ne(t),t.dep&&Jl(t.dep)}function lt(t){return!!(t&&t.__v_isRef===!0)}function cn(t){return Qp(t,!1)}function Xp(t){return Qp(t,!0)}function Qp(t,e){return lt(t)?t:new OE(t,e)}class OE{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Ne(e),this._value=n?e:$s(e)}get value(){return qp(this),this._value}set value(e){const n=this.__v_isShallow||Xo(e)||Fi(e);e=n?e:Ne(e),Ds(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:$s(e),Gp(this))}}function Ai(t){return lt(t)?t.value:t}const IE={get:(t,e,n)=>Ai(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return lt(i)&&!lt(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Zp(t){return Si(t)?t:new Proxy(t,IE)}var Jp;class ME{constructor(e,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Jp]=!1,this._dirty=!0,this.effect=new mu(e,()=>{this._dirty||(this._dirty=!0,Gp(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const e=Ne(this);return qp(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Jp="__v_isReadonly";function DE(t,e,n=!1){let r,i;const s=be(t);return s?(r=t,i=dn):(r=t.get,i=t.set),new ME(r,i,s||!i,n)}function or(t,e,n,r){let i;try{i=r?t(...r):t()}catch(s){Ca(s,e,n)}return i}function Jt(t,e,n,r){if(be(t)){const s=or(t,e,n,r);return s&&Ip(s)&&s.catch(o=>{Ca(o,e,n)}),s}const i=[];for(let s=0;s>>1;Vs(dt[r])En&&dt.splice(e,1)}function VE(t){he(t)?ki.push(...t):(!Mn||!Mn.includes(t,t.allowRecurse?Mr+1:Mr))&&ki.push(t),ng()}function mf(t,e=Fs?En+1:0){for(;eVs(n)-Vs(r)),Mr=0;Mrt.id==null?1/0:t.id,zE=(t,e)=>{const n=Vs(t)-Vs(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function ig(t){ec=!1,Fs=!0,dt.sort(zE);const e=dn;try{for(En=0;EnKe(h)?h.trim():h)),f&&(i=n.map(Rs))}let a,l=r[a=ol(e)]||r[a=ol(Ln(e))];!l&&s&&(l=r[a=ol(rs(e))]),l&&Jt(l,t,6,i);const c=r[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Jt(c,t,6,i)}}function sg(t,e,n=!1){const r=e.emitsCache,i=r.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!be(t)){const l=c=>{const u=sg(c,e,!0);u&&(a=!0,mt(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(Ve(t)&&r.set(t,null),null):(he(s)?s.forEach(l=>o[l]=null):mt(o,s),Ve(t)&&r.set(t,o),o)}function Sa(t,e){return!t||!ya(e)?!1:(e=e.slice(2).replace(/Once$/,""),xe(t,e[0].toLowerCase()+e.slice(1))||xe(t,rs(e))||xe(t,e))}let ct=null,Aa=null;function Qo(t){const e=ct;return ct=t,Aa=t&&t.type.__scopeId||null,e}function bt(t){Aa=t}function yt(){Aa=null}function Je(t,e=ct,n){if(!e||t._n)return t;const r=(...i)=>{r._d&&Sf(-1);const s=Qo(e);let o;try{o=t(...i)}finally{Qo(s),r._d&&Sf(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function al(t){const{type:e,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:w,inheritAttrs:g}=t;let E,_;const T=Qo(t);try{if(n.shapeFlag&4){const v=i||r;E=yn(u.call(v,v,f,s,h,d,w)),_=l}else{const v=e;E=yn(v.length>1?v(s,{attrs:l,slots:a,emit:c}):v(s,null)),_=e.props?l:jE(l)}}catch(v){Es.length=0,Ca(v,t,1),E=re(Rt)}let S=E;if(_&&g!==!1){const v=Object.keys(_),{shapeFlag:b}=S;v.length&&b&7&&(o&&v.some(uu)&&(_=BE(_,o)),S=mr(S,_))}return n.dirs&&(S=mr(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),E=S,Qo(T),E}const jE=t=>{let e;for(const n in t)(n==="class"||n==="style"||ya(n))&&((e||(e={}))[n]=t[n]);return e},BE=(t,e)=>{const n={};for(const r in t)(!uu(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function UE(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?pf(r,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let f=0;ft.__isSuspense;function YE(t,e){e&&e.pendingBranch?he(t)?e.effects.push(...t):e.effects.push(t):VE(t)}function Mo(t,e){if(rt){let n=rt.provides;const r=rt.parent&&rt.parent.provides;r===n&&(n=rt.provides=Object.create(r)),n[t]=e}}function An(t,e,n=!1){const r=rt||ct;if(r){const i=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&t in i)return i[t];if(arguments.length>1)return n&&be(e)?e.call(r.proxy):e}}const Co={};function ar(t,e,n){return og(t,e,n)}function og(t,e,{immediate:n,deep:r,flush:i,onTrack:s,onTrigger:o}=ze){const a=rt;let l,c=!1,u=!1;if(lt(t)?(l=()=>t.value,c=Xo(t)):Si(t)?(l=()=>t,r=!0):he(t)?(u=!0,c=t.some(S=>Si(S)||Xo(S)),l=()=>t.map(S=>{if(lt(S))return S.value;if(Si(S))return Vr(S);if(be(S))return or(S,a,2)})):be(t)?e?l=()=>or(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),Jt(t,a,3,[d])}:l=dn,e&&r){const S=l;l=()=>Vr(S())}let f,d=S=>{f=_.onStop=()=>{or(S,a,4)}},h;if(Hs)if(d=dn,e?n&&Jt(e,a,3,[l(),u?[]:void 0,d]):l(),i==="sync"){const S=FT();h=S.__watcherHandles||(S.__watcherHandles=[])}else return dn;let w=u?new Array(t.length).fill(Co):Co;const g=()=>{if(!!_.active)if(e){const S=_.run();(r||c||(u?S.some((v,b)=>Ds(v,w[b])):Ds(S,w)))&&(f&&f(),Jt(e,a,3,[S,w===Co?void 0:u&&w[0]===Co?[]:w,d]),w=S)}else _.run()};g.allowRecurse=!!e;let E;i==="sync"?E=g:i==="post"?E=()=>Et(g,a&&a.suspense):(g.pre=!0,a&&(g.id=a.uid),E=()=>Tu(g));const _=new mu(l,E);e?n?g():w=_.run():i==="post"?Et(_.run.bind(_),a&&a.suspense):_.run();const T=()=>{_.stop(),a&&a.scope&&du(a.scope.effects,_)};return h&&h.push(T),T}function qE(t,e,n){const r=this.proxy,i=Ke(t)?t.includes(".")?ag(r,t):()=>r[t]:t.bind(r,r);let s;be(e)?s=e:(s=e.handler,n=e);const o=rt;Vi(this);const a=og(i,s.bind(r),n);return o?Vi(o):Br(),a}function ag(t,e){const n=e.split(".");return()=>{let r=t;for(let i=0;i{Vr(n,e)});else if(Dp(t))for(const n in t)Vr(t[n],e);return t}function GE(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Su(()=>{t.isMounted=!0}),fg(()=>{t.isUnmounting=!0}),t}const Ut=[Function,Array],XE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ut,onEnter:Ut,onAfterEnter:Ut,onEnterCancelled:Ut,onBeforeLeave:Ut,onLeave:Ut,onAfterLeave:Ut,onLeaveCancelled:Ut,onBeforeAppear:Ut,onAppear:Ut,onAfterAppear:Ut,onAppearCancelled:Ut},setup(t,{slots:e}){const n=Pn(),r=GE();let i;return()=>{const s=e.default&&cg(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const g of s)if(g.type!==Rt){o=g;break}}const a=Ne(t),{mode:l}=a;if(r.isLeaving)return ll(o);const c=gf(o);if(!c)return ll(o);const u=tc(c,a,r,n);nc(c,u);const f=n.subTree,d=f&&gf(f);let h=!1;const{getTransitionKey:w}=c.type;if(w){const g=w();i===void 0?i=g:g!==i&&(i=g,h=!0)}if(d&&d.type!==Rt&&(!Dr(c,d)||h)){const g=tc(d,a,r,n);if(nc(d,g),l==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},ll(o);l==="in-out"&&c.type!==Rt&&(g.delayLeave=(E,_,T)=>{const S=lg(r,d);S[String(d.key)]=d,E._leaveCb=()=>{_(),E._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=T})}return o}}},QE=XE;function lg(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function tc(t,e,n,r){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:w,onBeforeAppear:g,onAppear:E,onAfterAppear:_,onAppearCancelled:T}=e,S=String(t.key),v=lg(n,t),b=(N,I)=>{N&&Jt(N,r,9,I)},k=(N,I)=>{const B=I[1];b(N,I),he(N)?N.every(X=>X.length<=1)&&B():N.length<=1&&B()},x={mode:s,persisted:o,beforeEnter(N){let I=a;if(!n.isMounted)if(i)I=g||a;else return;N._leaveCb&&N._leaveCb(!0);const B=v[S];B&&Dr(t,B)&&B.el._leaveCb&&B.el._leaveCb(),b(I,[N])},enter(N){let I=l,B=c,X=u;if(!n.isMounted)if(i)I=E||l,B=_||c,X=T||u;else return;let J=!1;const ne=N._enterCb=D=>{J||(J=!0,D?b(X,[N]):b(B,[N]),x.delayedLeave&&x.delayedLeave(),N._enterCb=void 0)};I?k(I,[N,ne]):ne()},leave(N,I){const B=String(t.key);if(N._enterCb&&N._enterCb(!0),n.isUnmounting)return I();b(f,[N]);let X=!1;const J=N._leaveCb=ne=>{X||(X=!0,I(),ne?b(w,[N]):b(h,[N]),N._leaveCb=void 0,v[B]===t&&delete v[B])};v[B]=t,d?k(d,[N,J]):J()},clone(N){return tc(N,e,n,r)}};return x}function ll(t){if(ka(t))return t=mr(t),t.children=null,t}function gf(t){return ka(t)?t.children?t.children[0]:void 0:t}function nc(t,e){t.shapeFlag&6&&t.component?nc(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function cg(t,e=!1,n){let r=[],i=0;for(let s=0;s1)for(let s=0;s!!t.type.__asyncLoader,ka=t=>t.type.__isKeepAlive;function ZE(t,e){ug(t,"a",e)}function JE(t,e){ug(t,"da",e)}function ug(t,e,n=rt){const r=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(xa(e,r,n),n){let i=n.parent;for(;i&&i.parent;)ka(i.parent.vnode)&&eT(r,e,n,i),i=i.parent}}function eT(t,e,n,r){const i=xa(e,t,r,!0);La(()=>{du(r[e],i)},n)}function xa(t,e,n=rt,r=!1){if(n){const i=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;is(),Vi(n);const a=Jt(e,n,t,o);return Br(),ss(),a});return r?i.unshift(s):i.push(s),s}}const qn=t=>(e,n=rt)=>(!Hs||t==="sp")&&xa(t,(...r)=>e(...r),n),dg=qn("bm"),Su=qn("m"),tT=qn("bu"),nT=qn("u"),fg=qn("bum"),La=qn("um"),rT=qn("sp"),iT=qn("rtg"),sT=qn("rtc");function oT(t,e=rt){xa("ec",t,e)}function qt(t,e){const n=ct;if(n===null)return t;const r=Na(n)||n.proxy,i=t.dirs||(t.dirs=[]);for(let s=0;se(o,a,void 0,s&&s[a]));else{const o=Object.keys(t);i=new Array(o.length);for(let a=0,l=o.length;aJo(e)?!(e.type===Rt||e.type===ke&&!pg(e.children)):!0)?t:null}const rc=t=>t?Ag(t)?Na(t)||t.proxy:rc(t.parent):null,ys=mt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>rc(t.parent),$root:t=>rc(t.root),$emit:t=>t.emit,$options:t=>Lu(t),$forceUpdate:t=>t.f||(t.f=()=>Tu(t.update)),$nextTick:t=>t.n||(t.n=tg.bind(t.proxy)),$watch:t=>qE.bind(t)}),cl=(t,e)=>t!==ze&&!t.__isScriptSetup&&xe(t,e),aT={get({_:t},e){const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return s[e]}else{if(cl(r,e))return o[e]=1,r[e];if(i!==ze&&xe(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&xe(c,e))return o[e]=3,s[e];if(n!==ze&&xe(n,e))return o[e]=4,n[e];ic&&(o[e]=0)}}const u=ys[e];let f,d;if(u)return e==="$attrs"&&zt(t,"get",e),u(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==ze&&xe(n,e))return o[e]=4,n[e];if(d=l.config.globalProperties,xe(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return cl(i,e)?(i[e]=n,!0):r!==ze&&xe(r,e)?(r[e]=n,!0):xe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||t!==ze&&xe(t,o)||cl(e,o)||(a=s[0])&&xe(a,o)||xe(r,o)||xe(ys,o)||xe(i.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:xe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let ic=!0;function lT(t){const e=Lu(t),n=t.proxy,r=t.ctx;ic=!1,e.beforeCreate&&vf(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:w,activated:g,deactivated:E,beforeDestroy:_,beforeUnmount:T,destroyed:S,unmounted:v,render:b,renderTracked:k,renderTriggered:x,errorCaptured:N,serverPrefetch:I,expose:B,inheritAttrs:X,components:J,directives:ne,filters:D}=e;if(c&&cT(c,r,null,t.appContext.config.unwrapInjectedRef),o)for(const W in o){const Z=o[W];be(Z)&&(r[W]=Z.bind(n))}if(i){const W=i.call(n,n);Ve(W)&&(t.data=Jr(W))}if(ic=!0,s)for(const W in s){const Z=s[W],oe=be(Z)?Z.bind(n,n):be(Z.get)?Z.get.bind(n,n):dn,le=!be(Z)&&be(Z.set)?Z.set.bind(n):dn,ae=je({get:oe,set:le});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>ae.value,set:ce=>ae.value=ce})}if(a)for(const W in a)gg(a[W],r,n,W);if(l){const W=be(l)?l.call(n):l;Reflect.ownKeys(W).forEach(Z=>{Mo(Z,W[Z])})}u&&vf(u,t,"c");function Y(W,Z){he(Z)?Z.forEach(oe=>W(oe.bind(n))):Z&&W(Z.bind(n))}if(Y(dg,f),Y(Su,d),Y(tT,h),Y(nT,w),Y(ZE,g),Y(JE,E),Y(oT,N),Y(sT,k),Y(iT,x),Y(fg,T),Y(La,v),Y(rT,I),he(B))if(B.length){const W=t.exposed||(t.exposed={});B.forEach(Z=>{Object.defineProperty(W,Z,{get:()=>n[Z],set:oe=>n[Z]=oe})})}else t.exposed||(t.exposed={});b&&t.render===dn&&(t.render=b),X!=null&&(t.inheritAttrs=X),J&&(t.components=J),ne&&(t.directives=ne)}function cT(t,e,n=dn,r=!1){he(t)&&(t=sc(t));for(const i in t){const s=t[i];let o;Ve(s)?"default"in s?o=An(s.from||i,s.default,!0):o=An(s.from||i):o=An(s),lt(o)&&r?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):e[i]=o}}function vf(t,e,n){Jt(he(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function gg(t,e,n,r){const i=r.includes(".")?ag(n,r):()=>n[r];if(Ke(t)){const s=e[t];be(s)&&ar(i,s)}else if(be(t))ar(i,t.bind(n));else if(Ve(t))if(he(t))t.forEach(s=>gg(s,e,n,r));else{const s=be(t.handler)?t.handler.bind(n):e[t.handler];be(s)&&ar(i,s,t)}}function Lu(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!n&&!r?l=e:(l={},i.length&&i.forEach(c=>Zo(l,c,o,!0)),Zo(l,e,o)),Ve(e)&&s.set(e,l),l}function Zo(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&Zo(t,s,n,!0),i&&i.forEach(o=>Zo(t,o,n,!0));for(const o in e)if(!(r&&o==="expose")){const a=uT[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const uT={data:bf,props:Or,emits:Or,methods:Or,computed:Or,beforeCreate:pt,created:pt,beforeMount:pt,mounted:pt,beforeUpdate:pt,updated:pt,beforeDestroy:pt,beforeUnmount:pt,destroyed:pt,unmounted:pt,activated:pt,deactivated:pt,errorCaptured:pt,serverPrefetch:pt,components:Or,directives:Or,watch:fT,provide:bf,inject:dT};function bf(t,e){return e?t?function(){return mt(be(t)?t.call(this,this):t,be(e)?e.call(this,this):e)}:e:t}function dT(t,e){return Or(sc(t),sc(e))}function sc(t){if(he(t)){const e={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,h]=vg(f,e,!0);mt(o,d),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return Ve(t)&&r.set(t,Ti),Ti;if(he(s))for(let u=0;u-1,h[1]=g<0||w-1||xe(h,"default"))&&a.push(f)}}}const c=[o,a];return Ve(t)&&r.set(t,c),c}function yf(t){return t[0]!=="$"}function wf(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function Ef(t,e){return wf(t)===wf(e)}function Tf(t,e){return he(e)?e.findIndex(n=>Ef(n,t)):be(e)&&Ef(e,t)?0:-1}const bg=t=>t[0]==="_"||t==="$stable",Pu=t=>he(t)?t.map(yn):[yn(t)],pT=(t,e,n)=>{if(e._n)return e;const r=Je((...i)=>Pu(e(...i)),n);return r._c=!1,r},yg=(t,e,n)=>{const r=t._ctx;for(const i in t){if(bg(i))continue;const s=t[i];if(be(s))e[i]=pT(i,s,r);else if(s!=null){const o=Pu(s);e[i]=()=>o}}},wg=(t,e)=>{const n=Pu(e);t.slots.default=()=>n},gT=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Ne(e),Go(e,"_",n)):yg(e,t.slots={})}else t.slots={},e&&wg(t,e);Go(t.slots,Pa,1)},_T=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,o=ze;if(r.shapeFlag&32){const a=e._;a?n&&a===1?s=!1:(mt(i,e),!n&&a===1&&delete i._):(s=!e.$stable,yg(e,i)),o=e}else e&&(wg(t,e),o={default:1});if(s)for(const a in i)!bg(a)&&!(a in o)&&delete i[a]};function Eg(){return{app:null,config:{isNativeTag:Qw,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let vT=0;function bT(t,e){return function(r,i=null){be(r)||(r=Object.assign({},r)),i!=null&&!Ve(i)&&(i=null);const s=Eg(),o=new Set;let a=!1;const l=s.app={_uid:vT++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:VT,get config(){return s.config},set config(c){},use(c,...u){return o.has(c)||(c&&be(c.install)?(o.add(c),c.install(l,...u)):be(c)&&(o.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,f){if(!a){const d=re(r,i);return d.appContext=s,u&&e?e(d,c):t(d,c,f),a=!0,l._container=c,c.__vue_app__=l,Na(d.component)||d.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l}};return l}}function ac(t,e,n,r,i=!1){if(he(t)){t.forEach((d,h)=>ac(d,e&&(he(e)?e[h]:e),n,r,i));return}if(bs(r)&&!i)return;const s=r.shapeFlag&4?Na(r.component)||r.component.proxy:r.el,o=i?null:s,{i:a,r:l}=t,c=e&&e.r,u=a.refs===ze?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ke(c)?(u[c]=null,xe(f,c)&&(f[c]=null)):lt(c)&&(c.value=null)),be(l))or(l,a,12,[o,u]);else{const d=Ke(l),h=lt(l);if(d||h){const w=()=>{if(t.f){const g=d?xe(f,l)?f[l]:u[l]:l.value;i?he(g)&&du(g,s):he(g)?g.includes(s)||g.push(s):d?(u[l]=[s],xe(f,l)&&(f[l]=u[l])):(l.value=[s],t.k&&(u[t.k]=l.value))}else d?(u[l]=o,xe(f,l)&&(f[l]=o)):h&&(l.value=o,t.k&&(u[t.k]=o))};o?(w.id=-1,Et(w,n)):w()}}}const Et=YE;function yT(t){return wT(t)}function wT(t,e){const n=rE();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=dn,insertStaticContent:w}=t,g=(C,m,p,A=null,P=null,V=null,U=!1,K=null,G=!!m.dynamicChildren)=>{if(C===m)return;C&&!Dr(C,m)&&(A=j(C),ce(C,P,V,!0),C=null),m.patchFlag===-2&&(G=!1,m.dynamicChildren=null);const{type:H,ref:O,shapeFlag:R}=m;switch(H){case so:E(C,m,p,A);break;case Rt:_(C,m,p,A);break;case ul:C==null&&T(m,p,A,U);break;case ke:J(C,m,p,A,P,V,U,K,G);break;default:R&1?b(C,m,p,A,P,V,U,K,G):R&6?ne(C,m,p,A,P,V,U,K,G):(R&64||R&128)&&H.process(C,m,p,A,P,V,U,K,G,me)}O!=null&&P&&ac(O,C&&C.ref,V,m||C,!m)},E=(C,m,p,A)=>{if(C==null)r(m.el=a(m.children),p,A);else{const P=m.el=C.el;m.children!==C.children&&c(P,m.children)}},_=(C,m,p,A)=>{C==null?r(m.el=l(m.children||""),p,A):m.el=C.el},T=(C,m,p,A)=>{[C.el,C.anchor]=w(C.children,m,p,A,C.el,C.anchor)},S=({el:C,anchor:m},p,A)=>{let P;for(;C&&C!==m;)P=d(C),r(C,p,A),C=P;r(m,p,A)},v=({el:C,anchor:m})=>{let p;for(;C&&C!==m;)p=d(C),i(C),C=p;i(m)},b=(C,m,p,A,P,V,U,K,G)=>{U=U||m.type==="svg",C==null?k(m,p,A,P,V,U,K,G):I(C,m,P,V,U,K,G)},k=(C,m,p,A,P,V,U,K)=>{let G,H;const{type:O,props:R,shapeFlag:ie,transition:se,dirs:ge}=C;if(G=C.el=o(C.type,V,R&&R.is,R),ie&8?u(G,C.children):ie&16&&N(C.children,G,null,A,P,V&&O!=="foreignObject",U,K),ge&&xr(C,null,A,"created"),R){for(const Ee in R)Ee!=="value"&&!Oo(Ee)&&s(G,Ee,null,R[Ee],V,C.children,A,P,Q);"value"in R&&s(G,"value",null,R.value),(H=R.onVnodeBeforeMount)&&_n(H,A,C)}x(G,C,C.scopeId,U,A),ge&&xr(C,null,A,"beforeMount");const Ae=(!P||P&&!P.pendingBranch)&&se&&!se.persisted;Ae&&se.beforeEnter(G),r(G,m,p),((H=R&&R.onVnodeMounted)||Ae||ge)&&Et(()=>{H&&_n(H,A,C),Ae&&se.enter(G),ge&&xr(C,null,A,"mounted")},P)},x=(C,m,p,A,P)=>{if(p&&h(C,p),A)for(let V=0;V{for(let H=G;H{const K=m.el=C.el;let{patchFlag:G,dynamicChildren:H,dirs:O}=m;G|=C.patchFlag&16;const R=C.props||ze,ie=m.props||ze;let se;p&&Lr(p,!1),(se=ie.onVnodeBeforeUpdate)&&_n(se,p,m,C),O&&xr(m,C,p,"beforeUpdate"),p&&Lr(p,!0);const ge=P&&m.type!=="foreignObject";if(H?B(C.dynamicChildren,H,K,p,A,ge,V):U||Z(C,m,K,null,p,A,ge,V,!1),G>0){if(G&16)X(K,m,R,ie,p,A,P);else if(G&2&&R.class!==ie.class&&s(K,"class",null,ie.class,P),G&4&&s(K,"style",R.style,ie.style,P),G&8){const Ae=m.dynamicProps;for(let Ee=0;Ee{se&&_n(se,p,m,C),O&&xr(m,C,p,"updated")},A)},B=(C,m,p,A,P,V,U)=>{for(let K=0;K{if(p!==A){if(p!==ze)for(const K in p)!Oo(K)&&!(K in A)&&s(C,K,p[K],null,U,m.children,P,V,Q);for(const K in A){if(Oo(K))continue;const G=A[K],H=p[K];G!==H&&K!=="value"&&s(C,K,H,G,U,m.children,P,V,Q)}"value"in A&&s(C,"value",p.value,A.value)}},J=(C,m,p,A,P,V,U,K,G)=>{const H=m.el=C?C.el:a(""),O=m.anchor=C?C.anchor:a("");let{patchFlag:R,dynamicChildren:ie,slotScopeIds:se}=m;se&&(K=K?K.concat(se):se),C==null?(r(H,p,A),r(O,p,A),N(m.children,p,O,P,V,U,K,G)):R>0&&R&64&&ie&&C.dynamicChildren?(B(C.dynamicChildren,ie,p,P,V,U,K),(m.key!=null||P&&m===P.subTree)&&Nu(C,m,!0)):Z(C,m,p,O,P,V,U,K,G)},ne=(C,m,p,A,P,V,U,K,G)=>{m.slotScopeIds=K,C==null?m.shapeFlag&512?P.ctx.activate(m,p,A,U,G):D(m,p,A,P,V,U,G):L(C,m,G)},D=(C,m,p,A,P,V,U)=>{const K=C.component=PT(C,A,P);if(ka(C)&&(K.ctx.renderer=me),NT(K),K.asyncDep){if(P&&P.registerDep(K,Y),!C.el){const G=K.subTree=re(Rt);_(null,G,m,p)}return}Y(K,C,m,p,P,V,U)},L=(C,m,p)=>{const A=m.component=C.component;if(UE(C,m,p))if(A.asyncDep&&!A.asyncResolved){W(A,m,p);return}else A.next=m,FE(A.update),A.update();else m.el=C.el,A.vnode=m},Y=(C,m,p,A,P,V,U)=>{const K=()=>{if(C.isMounted){let{next:O,bu:R,u:ie,parent:se,vnode:ge}=C,Ae=O,Ee;Lr(C,!1),O?(O.el=ge.el,W(C,O,U)):O=ge,R&&Io(R),(Ee=O.props&&O.props.onVnodeBeforeUpdate)&&_n(Ee,se,O,ge),Lr(C,!0);const Ue=al(C),Bt=C.subTree;C.subTree=Ue,g(Bt,Ue,f(Bt.el),j(Bt),C,P,V),O.el=Ue.el,Ae===null&&WE(C,Ue.el),ie&&Et(ie,P),(Ee=O.props&&O.props.onVnodeUpdated)&&Et(()=>_n(Ee,se,O,ge),P)}else{let O;const{el:R,props:ie}=m,{bm:se,m:ge,parent:Ae}=C,Ee=bs(m);if(Lr(C,!1),se&&Io(se),!Ee&&(O=ie&&ie.onVnodeBeforeMount)&&_n(O,Ae,m),Lr(C,!0),R&&de){const Ue=()=>{C.subTree=al(C),de(R,C.subTree,C,P,null)};Ee?m.type.__asyncLoader().then(()=>!C.isUnmounted&&Ue()):Ue()}else{const Ue=C.subTree=al(C);g(null,Ue,p,A,C,P,V),m.el=Ue.el}if(ge&&Et(ge,P),!Ee&&(O=ie&&ie.onVnodeMounted)){const Ue=m;Et(()=>_n(O,Ae,Ue),P)}(m.shapeFlag&256||Ae&&bs(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&C.a&&Et(C.a,P),C.isMounted=!0,m=p=A=null}},G=C.effect=new mu(K,()=>Tu(H),C.scope),H=C.update=()=>G.run();H.id=C.uid,Lr(C,!0),H()},W=(C,m,p)=>{m.component=C;const A=C.vnode.props;C.vnode=m,C.next=null,mT(C,m.props,A,p),_T(C,m.children,p),is(),mf(),ss()},Z=(C,m,p,A,P,V,U,K,G=!1)=>{const H=C&&C.children,O=C?C.shapeFlag:0,R=m.children,{patchFlag:ie,shapeFlag:se}=m;if(ie>0){if(ie&128){le(H,R,p,A,P,V,U,K,G);return}else if(ie&256){oe(H,R,p,A,P,V,U,K,G);return}}se&8?(O&16&&Q(H,P,V),R!==H&&u(p,R)):O&16?se&16?le(H,R,p,A,P,V,U,K,G):Q(H,P,V,!0):(O&8&&u(p,""),se&16&&N(R,p,A,P,V,U,K,G))},oe=(C,m,p,A,P,V,U,K,G)=>{C=C||Ti,m=m||Ti;const H=C.length,O=m.length,R=Math.min(H,O);let ie;for(ie=0;ieO?Q(C,P,V,!0,!1,R):N(m,p,A,P,V,U,K,G,R)},le=(C,m,p,A,P,V,U,K,G)=>{let H=0;const O=m.length;let R=C.length-1,ie=O-1;for(;H<=R&&H<=ie;){const se=C[H],ge=m[H]=G?Jn(m[H]):yn(m[H]);if(Dr(se,ge))g(se,ge,p,null,P,V,U,K,G);else break;H++}for(;H<=R&&H<=ie;){const se=C[R],ge=m[ie]=G?Jn(m[ie]):yn(m[ie]);if(Dr(se,ge))g(se,ge,p,null,P,V,U,K,G);else break;R--,ie--}if(H>R){if(H<=ie){const se=ie+1,ge=seie)for(;H<=R;)ce(C[H],P,V,!0),H++;else{const se=H,ge=H,Ae=new Map;for(H=ge;H<=ie;H++){const Nt=m[H]=G?Jn(m[H]):yn(m[H]);Nt.key!=null&&Ae.set(Nt.key,H)}let Ee,Ue=0;const Bt=ie-ge+1;let oi=!1,yd=0;const as=new Array(Bt);for(H=0;H=Bt){ce(Nt,P,V,!0);continue}let gn;if(Nt.key!=null)gn=Ae.get(Nt.key);else for(Ee=ge;Ee<=ie;Ee++)if(as[Ee-ge]===0&&Dr(Nt,m[Ee])){gn=Ee;break}gn===void 0?ce(Nt,P,V,!0):(as[gn-ge]=H+1,gn>=yd?yd=gn:oi=!0,g(Nt,m[gn],p,null,P,V,U,K,G),Ue++)}const wd=oi?ET(as):Ti;for(Ee=wd.length-1,H=Bt-1;H>=0;H--){const Nt=ge+H,gn=m[Nt],Ed=Nt+1{const{el:V,type:U,transition:K,children:G,shapeFlag:H}=C;if(H&6){ae(C.component.subTree,m,p,A);return}if(H&128){C.suspense.move(m,p,A);return}if(H&64){U.move(C,m,p,me);return}if(U===ke){r(V,m,p);for(let R=0;RK.enter(V),P);else{const{leave:R,delayLeave:ie,afterLeave:se}=K,ge=()=>r(V,m,p),Ae=()=>{R(V,()=>{ge(),se&&se()})};ie?ie(V,ge,Ae):Ae()}else r(V,m,p)},ce=(C,m,p,A=!1,P=!1)=>{const{type:V,props:U,ref:K,children:G,dynamicChildren:H,shapeFlag:O,patchFlag:R,dirs:ie}=C;if(K!=null&&ac(K,null,p,C,!0),O&256){m.ctx.deactivate(C);return}const se=O&1&&ie,ge=!bs(C);let Ae;if(ge&&(Ae=U&&U.onVnodeBeforeUnmount)&&_n(Ae,m,C),O&6)$(C.component,p,A);else{if(O&128){C.suspense.unmount(p,A);return}se&&xr(C,null,m,"beforeUnmount"),O&64?C.type.remove(C,m,p,P,me,A):H&&(V!==ke||R>0&&R&64)?Q(H,m,p,!1,!0):(V===ke&&R&384||!P&&O&16)&&Q(G,m,p),A&&Oe(C)}(ge&&(Ae=U&&U.onVnodeUnmounted)||se)&&Et(()=>{Ae&&_n(Ae,m,C),se&&xr(C,null,m,"unmounted")},p)},Oe=C=>{const{type:m,el:p,anchor:A,transition:P}=C;if(m===ke){fe(p,A);return}if(m===ul){v(C);return}const V=()=>{i(p),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(C.shapeFlag&1&&P&&!P.persisted){const{leave:U,delayLeave:K}=P,G=()=>U(p,V);K?K(C.el,V,G):G()}else V()},fe=(C,m)=>{let p;for(;C!==m;)p=d(C),i(C),C=p;i(m)},$=(C,m,p)=>{const{bum:A,scope:P,update:V,subTree:U,um:K}=C;A&&Io(A),P.stop(),V&&(V.active=!1,ce(U,C,m,p)),K&&Et(K,m),Et(()=>{C.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&C.asyncDep&&!C.asyncResolved&&C.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},Q=(C,m,p,A=!1,P=!1,V=0)=>{for(let U=V;UC.shapeFlag&6?j(C.component.subTree):C.shapeFlag&128?C.suspense.next():d(C.anchor||C.el),ee=(C,m,p)=>{C==null?m._vnode&&ce(m._vnode,null,null,!0):g(m._vnode||null,C,m,null,null,null,p),mf(),rg(),m._vnode=C},me={p:g,um:ce,m:ae,r:Oe,mt:D,mc:N,pc:Z,pbc:B,n:j,o:t};let ve,de;return e&&([ve,de]=e(me)),{render:ee,hydrate:ve,createApp:bT(ee,ve)}}function Lr({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Nu(t,e,n=!1){const r=t.children,i=e.children;if(he(r)&&he(i))for(let s=0;s>1,t[n[a]]0&&(e[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=e[o];return n}const TT=t=>t.__isTeleport,ws=t=>t&&(t.disabled||t.disabled===""),Cf=t=>typeof SVGElement<"u"&&t instanceof SVGElement,lc=(t,e)=>{const n=t&&t.to;return Ke(n)?e?e(n):null:n},CT={__isTeleport:!0,process(t,e,n,r,i,s,o,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:w,createText:g,createComment:E}}=c,_=ws(e.props);let{shapeFlag:T,children:S,dynamicChildren:v}=e;if(t==null){const b=e.el=g(""),k=e.anchor=g("");h(b,n,r),h(k,n,r);const x=e.target=lc(e.props,w),N=e.targetAnchor=g("");x&&(h(N,x),o=o||Cf(x));const I=(B,X)=>{T&16&&u(S,B,X,i,s,o,a,l)};_?I(n,k):x&&I(x,N)}else{e.el=t.el;const b=e.anchor=t.anchor,k=e.target=t.target,x=e.targetAnchor=t.targetAnchor,N=ws(t.props),I=N?n:k,B=N?b:x;if(o=o||Cf(k),v?(d(t.dynamicChildren,v,I,i,s,o,a),Nu(t,e,!0)):l||f(t,e,I,B,i,s,o,a,!1),_)N||So(e,n,b,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const X=e.target=lc(e.props,w);X&&So(e,X,null,c,0)}else N&&So(e,k,x,c,1)}Tg(e)},remove(t,e,n,r,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=t;if(f&&s(u),(o||!ws(d))&&(s(c),a&16))for(let h=0;h0?un||Ti:null,AT(),zs>0&&un&&un.push(t),t}function z(t,e,n,r,i,s){return Cg(y(t,e,n,r,i,s,!0))}function Te(t,e,n,r,i){return Cg(re(t,e,n,r,i,!0))}function Jo(t){return t?t.__v_isVNode===!0:!1}function Dr(t,e){return t.type===e.type&&t.key===e.key}const Pa="__vInternal",Sg=({key:t})=>t!=null?t:null,Do=({ref:t,ref_key:e,ref_for:n})=>t!=null?Ke(t)||lt(t)||be(t)?{i:ct,r:t,k:e,f:!!n}:t:null;function y(t,e=null,n=null,r=0,i=null,s=t===ke?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Sg(e),ref:e&&Do(e),scopeId:Aa,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ct};return a?(Ou(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=Ke(n)?8:16),zs>0&&!o&&un&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&un.push(l),l}const re=kT;function kT(t,e=null,n=null,r=0,i=null,s=!1){if((!t||t===hg)&&(t=Rt),Jo(t)){const a=mr(t,e,!0);return n&&Ou(a,n),zs>0&&!s&&un&&(a.shapeFlag&6?un[un.indexOf(t)]=a:un.push(a)),a.patchFlag|=-2,a}if(RT(t)&&(t=t.__vccOpts),e){e=Yt(e);let{class:a,style:l}=e;a&&!Ke(a)&&(e.class=Me(a)),Ve(l)&&(bu(l)&&!he(l)&&(l=mt({},l)),e.style=Ct(l))}const o=Ke(t)?1:KE(t)?128:TT(t)?64:Ve(t)?4:be(t)?2:0;return y(t,e,n,r,i,o,s,!0)}function Yt(t){return t?bu(t)||Pa in t?mt({},t):t:null}function mr(t,e,n=!1){const{props:r,ref:i,patchFlag:s,children:o}=t,a=e?Dt(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Sg(a),ref:e&&e.ref?n&&i?he(i)?i.concat(Do(e)):[i,Do(e)]:Do(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==ke?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&mr(t.ssContent),ssFallback:t.ssFallback&&mr(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx}}function Le(t=" ",e=0){return re(so,null,t,e)}function _e(t="",e=!1){return e?(M(),Te(Rt,null,t)):re(Rt,null,t)}function yn(t){return t==null||typeof t=="boolean"?re(Rt):he(t)?re(ke,null,t.slice()):typeof t=="object"?Jn(t):re(so,null,String(t))}function Jn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:mr(t)}function Ou(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(he(e))n=16;else if(typeof e=="object")if(r&65){const i=e.default;i&&(i._c&&(i._d=!1),Ou(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!(Pa in e)?e._ctx=ct:i===3&&ct&&(ct.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else be(e)?(e={default:e,_ctx:ct},n=32):(e=String(e),r&64?(n=16,e=[Le(e)]):n=8);t.children=e,t.shapeFlag|=n}function Dt(...t){const e={};for(let n=0;nrt||ct,Vi=t=>{rt=t,t.scope.on()},Br=()=>{rt&&rt.scope.off(),rt=null};function Ag(t){return t.vnode.shapeFlag&4}let Hs=!1;function NT(t,e=!1){Hs=e;const{props:n,children:r}=t.vnode,i=Ag(t);hT(t,n,i,e),gT(t,r);const s=i?OT(t,e):void 0;return Hs=!1,s}function OT(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=yu(new Proxy(t.ctx,aT));const{setup:r}=n;if(r){const i=t.setupContext=r.length>1?MT(t):null;Vi(t),is();const s=or(r,t,0,[t.props,i]);if(ss(),Br(),Ip(s)){if(s.then(Br,Br),e)return s.then(o=>{Af(t,o,e)}).catch(o=>{Ca(o,t,0)});t.asyncDep=s}else Af(t,s,e)}else kg(t,e)}function Af(t,e,n){be(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ve(e)&&(t.setupState=Zp(e)),kg(t,n)}let kf;function kg(t,e,n){const r=t.type;if(!t.render){if(!e&&kf&&!r.render){const i=r.template||Lu(t).template;if(i){const{isCustomElement:s,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=r,c=mt(mt({isCustomElement:s,delimiters:a},o),l);r.render=kf(i,c)}}t.render=r.render||dn}Vi(t),is(),lT(t),ss(),Br()}function IT(t){return new Proxy(t.attrs,{get(e,n){return zt(t,"get","$attrs"),e[n]}})}function MT(t){const e=r=>{t.exposed=r||{}};let n;return{get attrs(){return n||(n=IT(t))},slots:t.slots,emit:t.emit,expose:e}}function Na(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Zp(yu(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ys)return ys[n](t)},has(e,n){return n in e||n in ys}}))}function DT(t,e=!0){return be(t)?t.displayName||t.name:t.name||e&&t.__name}function RT(t){return be(t)&&"__vccOpts"in t}const je=(t,e)=>DE(t,e,Hs);function Tr(t,e,n){const r=arguments.length;return r===2?Ve(e)&&!he(e)?Jo(e)?re(t,null,[e]):re(t,e):re(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Jo(n)&&(n=[n]),re(t,e,n))}const $T=Symbol(""),FT=()=>An($T),VT="3.2.45",zT="http://www.w3.org/2000/svg",Rr=typeof document<"u"?document:null,xf=Rr&&Rr.createElement("template"),HT={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e?Rr.createElementNS(zT,t):Rr.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>Rr.createTextNode(t),createComment:t=>Rr.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Rr.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{xf.innerHTML=r?`${t}`:t;const a=xf.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function jT(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function BT(t,e,n){const r=t.style,i=Ke(n);if(n&&!i){for(const s in n)cc(r,s,n[s]);if(e&&!Ke(e))for(const s in e)n[s]==null&&cc(r,s,"")}else{const s=r.display;i?e!==n&&(r.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(r.display=s)}}const Lf=/\s*!important$/;function cc(t,e,n){if(he(n))n.forEach(r=>cc(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=UT(t,e);Lf.test(n)?t.setProperty(rs(r),n.replace(Lf,""),"important"):t[r]=n}}const Pf=["Webkit","Moz","ms"],dl={};function UT(t,e){const n=dl[e];if(n)return n;let r=Ln(e);if(r!=="filter"&&r in t)return dl[e]=r;r=Ea(r);for(let i=0;ifl||(XT.then(()=>fl=0),fl=Date.now());function ZT(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Jt(JT(r,n.value),e,5,[r])};return n.value=t,n.attached=QT(),n}function JT(t,e){if(he(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const If=/^on[a-z]/,eC=(t,e,n,r,i=!1,s,o,a,l)=>{e==="class"?jT(t,r,i):e==="style"?BT(t,n,r):ya(e)?uu(e)||qT(t,e,n,r,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):tC(t,e,r,i))?KT(t,e,r,s,o,a,l):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),WT(t,e,r,i))};function tC(t,e,n,r){return r?!!(e==="innerHTML"||e==="textContent"||e in t&&If.test(e)&&be(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||If.test(e)&&Ke(n)?!1:e in t}const nC={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};QE.props;const pr=t=>{const e=t.props["onUpdate:modelValue"]||!1;return he(e)?n=>Io(e,n):e};function rC(t){t.target.composing=!0}function Mf(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const iC={created(t,{modifiers:{lazy:e,trim:n,number:r}},i){t._assign=pr(i);const s=r||i.props&&i.props.type==="number";Fn(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),s&&(a=Rs(a)),t._assign(a)}),n&&Fn(t,"change",()=>{t.value=t.value.trim()}),e||(Fn(t,"compositionstart",rC),Fn(t,"compositionend",Mf),Fn(t,"change",Mf))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:r,number:i}},s){if(t._assign=pr(s),t.composing||document.activeElement===t&&t.type!=="range"&&(n||r&&t.value.trim()===e||(i||t.type==="number")&&Rs(t.value)===e))return;const o=e==null?"":e;t.value!==o&&(t.value=o)}},sC={deep:!0,created(t,e,n){t._assign=pr(n),Fn(t,"change",()=>{const r=t._modelValue,i=zi(t),s=t.checked,o=t._assign;if(he(r)){const a=cu(r,i),l=a!==-1;if(s&&!l)o(r.concat(i));else if(!s&&l){const c=[...r];c.splice(a,1),o(c)}}else if(ns(r)){const a=new Set(r);s?a.add(i):a.delete(i),o(a)}else o(xg(t,s))})},mounted:Df,beforeUpdate(t,e,n){t._assign=pr(n),Df(t,e,n)}};function Df(t,{value:e,oldValue:n},r){t._modelValue=e,he(e)?t.checked=cu(e,r.props.value)>-1:ns(e)?t.checked=e.has(r.props.value):e!==n&&(t.checked=Gr(e,xg(t,!0)))}const hl={created(t,{value:e},n){t.checked=Gr(e,n.props.value),t._assign=pr(n),Fn(t,"change",()=>{t._assign(zi(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t._assign=pr(r),e!==n&&(t.checked=Gr(e,r.props.value))}},Ro={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const i=ns(e);Fn(t,"change",()=>{const s=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?Rs(zi(o)):zi(o));t._assign(t.multiple?i?new Set(s):s:s[0])}),t._assign=pr(r)},mounted(t,{value:e}){Rf(t,e)},beforeUpdate(t,e,n){t._assign=pr(n)},updated(t,{value:e}){Rf(t,e)}};function Rf(t,e){const n=t.multiple;if(!(n&&!he(e)&&!ns(e))){for(let r=0,i=t.options.length;r-1:s.selected=e.has(o);else if(Gr(zi(s),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function zi(t){return"_value"in t?t._value:t.value}function xg(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const oC=["ctrl","shift","alt","meta"],aC={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>oC.some(n=>t[`${n}Key`]&&!e.includes(n))},js=(t,e)=>(n,...r)=>{for(let i=0;i{us(t,!1)}):us(t,e))},beforeUnmount(t,{value:e}){us(t,e)}};function us(t,e){t.style.display=e?t._vod:"none"}const lC=mt({patchProp:eC},HT);let $f;function cC(){return $f||($f=yT(lC))}const uC=(...t)=>{const e=cC().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=dC(r);if(!i)return;const s=e._component;!be(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function dC(t){return Ke(t)?document.querySelector(t):t}/** + */const k0=1e6,A0=1e3,Kl="transitionend",x0=t=>t==null?`${t}`:Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase(),L0=t=>{do t+=Math.floor(Math.random()*k0);while(document.getElementById(t));return t},tp=t=>{let e=t.getAttribute("data-bs-target");if(!e||e==="#"){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&n!=="#"?n.trim():null}return e},np=t=>{const e=tp(t);return e&&document.querySelector(e)?e:null},jn=t=>{const e=tp(t);return e?document.querySelector(e):null},P0=t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const r=Number.parseFloat(e),i=Number.parseFloat(n);return!r&&!i?0:(e=e.split(",")[0],n=n.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(n))*A0)},rp=t=>{t.dispatchEvent(new Event(Kl))},zn=t=>!t||typeof t!="object"?!1:(typeof t.jquery<"u"&&(t=t[0]),typeof t.nodeType<"u"),ur=t=>zn(t)?t.jquery?t[0]:t:typeof t=="string"&&t.length>0?document.querySelector(t):null,es=t=>{if(!zn(t)||t.getClientRects().length===0)return!1;const e=getComputedStyle(t).getPropertyValue("visibility")==="visible",n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const r=t.closest("summary");if(r&&r.parentNode!==n||r===null)return!1}return e},dr=t=>!t||t.nodeType!==Node.ELEMENT_NODE||t.classList.contains("disabled")?!0:typeof t.disabled<"u"?t.disabled:t.hasAttribute("disabled")&&t.getAttribute("disabled")!=="false",ip=t=>{if(!document.documentElement.attachShadow)return null;if(typeof t.getRootNode=="function"){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?ip(t.parentNode):null},Ko=()=>{},Js=t=>{t.offsetHeight},sp=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ya=[],N0=t=>{document.readyState==="loading"?(Ya.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ya)e()}),Ya.push(t)):t()},tn=()=>document.documentElement.dir==="rtl",sn=t=>{N0(()=>{const e=sp();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}})},$n=t=>{typeof t=="function"&&t()},op=(t,e,n=!0)=>{if(!n){$n(t);return}const r=5,i=P0(e)+r;let s=!1;const o=({target:a})=>{a===e&&(s=!0,e.removeEventListener(Kl,o),$n(t))};e.addEventListener(Kl,o),setTimeout(()=>{s||rp(e)},i)},ru=(t,e,n,r)=>{const i=t.length;let s=t.indexOf(e);return s===-1?!n&&r?t[i-1]:t[0]:(s+=n?1:-1,r&&(s=(s+i)%i),t[Math.max(0,Math.min(s,i-1))])},O0=/[^.]*(?=\..*)\.|.*/,I0=/\..*/,M0=/::\d+$/,Ga={};let Nd=1;const ap={mouseenter:"mouseover",mouseleave:"mouseout"},D0=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function lp(t,e){return e&&`${e}::${Nd++}`||t.uidEvent||Nd++}function cp(t){const e=lp(t);return t.uidEvent=e,Ga[e]=Ga[e]||{},Ga[e]}function R0(t,e){return function n(r){return iu(r,{delegateTarget:t}),n.oneOff&&G.off(t,r.type,e),e.apply(t,[r])}}function $0(t,e,n){return function r(i){const s=t.querySelectorAll(e);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const a of s)if(a===o)return iu(i,{delegateTarget:o}),r.oneOff&&G.off(t,i.type,e,n),n.apply(o,[i])}}function up(t,e,n=null){return Object.values(t).find(r=>r.callable===e&&r.delegationSelector===n)}function dp(t,e,n){const r=typeof e=="string",i=r?n:e||n;let s=fp(t);return D0.has(s)||(s=t),[r,i,s]}function Od(t,e,n,r,i){if(typeof e!="string"||!t)return;let[s,o,a]=dp(e,n,r);e in ap&&(o=(w=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return w.call(this,g)})(o));const l=cp(t),c=l[a]||(l[a]={}),u=up(c,o,s?n:null);if(u){u.oneOff=u.oneOff&&i;return}const f=lp(o,e.replace(O0,"")),d=s?$0(t,n,o):R0(t,o);d.delegationSelector=s?n:null,d.callable=o,d.oneOff=i,d.uidEvent=f,c[f]=d,t.addEventListener(a,d,s)}function Yl(t,e,n,r,i){const s=up(e[n],r,i);!s||(t.removeEventListener(n,s,Boolean(i)),delete e[n][s.uidEvent])}function F0(t,e,n,r){const i=e[n]||{};for(const s of Object.keys(i))if(s.includes(r)){const o=i[s];Yl(t,e,n,o.callable,o.delegationSelector)}}function fp(t){return t=t.replace(I0,""),ap[t]||t}const G={on(t,e,n,r){Od(t,e,n,r,!1)},one(t,e,n,r){Od(t,e,n,r,!0)},off(t,e,n,r){if(typeof e!="string"||!t)return;const[i,s,o]=dp(e,n,r),a=o!==e,l=cp(t),c=l[o]||{},u=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(c).length)return;Yl(t,l,o,s,i?n:null);return}if(u)for(const f of Object.keys(l))F0(t,l,f,e.slice(1));for(const f of Object.keys(c)){const d=f.replace(M0,"");if(!a||e.includes(d)){const h=c[f];Yl(t,l,o,h.callable,h.delegationSelector)}}},trigger(t,e,n){if(typeof e!="string"||!t)return null;const r=sp(),i=fp(e),s=e!==i;let o=null,a=!0,l=!0,c=!1;s&&r&&(o=r.Event(e,n),r(t).trigger(o),a=!o.isPropagationStopped(),l=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());let u=new Event(e,{bubbles:a,cancelable:!0});return u=iu(u,n),c&&u.preventDefault(),l&&t.dispatchEvent(u),u.defaultPrevented&&o&&o.preventDefault(),u}};function iu(t,e){for(const[n,r]of Object.entries(e||{}))try{t[n]=r}catch{Object.defineProperty(t,n,{configurable:!0,get(){return r}})}return t}const qn=new Map,qa={set(t,e,n){qn.has(t)||qn.set(t,new Map);const r=qn.get(t);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,n)},get(t,e){return qn.has(t)&&qn.get(t).get(e)||null},remove(t,e){if(!qn.has(t))return;const n=qn.get(t);n.delete(e),n.size===0&&qn.delete(t)}};function Id(t){if(t==="true")return!0;if(t==="false")return!1;if(t===Number(t).toString())return Number(t);if(t===""||t==="null")return null;if(typeof t!="string")return t;try{return JSON.parse(decodeURIComponent(t))}catch{return t}}function Xa(t){return t.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Hn={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${Xa(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${Xa(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of n){let i=r.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),e[i]=Id(t.dataset[r])}return e},getDataAttribute(t,e){return Id(t.getAttribute(`data-bs-${Xa(e)}`))}};class eo{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,n){const r=zn(n)?Hn.getDataAttribute(n,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...zn(n)?Hn.getDataAttributes(n):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,n=this.constructor.DefaultType){for(const r of Object.keys(n)){const i=n[r],s=e[r],o=zn(s)?"element":x0(s);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${i}".`)}}}const V0="5.2.2";class mn extends eo{constructor(e,n){super(),e=ur(e),e&&(this._element=e,this._config=this._getConfig(n),qa.set(this._element,this.constructor.DATA_KEY,this))}dispose(){qa.remove(this._element,this.constructor.DATA_KEY),G.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,n,r=!0){op(e,n,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return qa.get(ur(e),this.DATA_KEY)}static getOrCreateInstance(e,n={}){return this.getInstance(e)||new this(e,typeof n=="object"?n:null)}static get VERSION(){return V0}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const pa=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,r=t.NAME;G.on(document,n,`[data-bs-dismiss="${r}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),dr(this))return;const s=jn(this)||this.closest(`.${r}`);t.getOrCreateInstance(s)[e]()})},j0="alert",z0="bs.alert",hp=`.${z0}`,H0=`close${hp}`,B0=`closed${hp}`,U0="fade",W0="show";class ga extends mn{static get NAME(){return j0}close(){if(G.trigger(this._element,H0).defaultPrevented)return;this._element.classList.remove(W0);const n=this._element.classList.contains(U0);this._queueCallback(()=>this._destroyElement(),this._element,n)}_destroyElement(){this._element.remove(),G.trigger(this._element,B0),this.dispose()}static jQueryInterface(e){return this.each(function(){const n=ga.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}pa(ga,"close");sn(ga);const K0="button",Y0="bs.button",G0=`.${Y0}`,q0=".data-api",X0="active",Md='[data-bs-toggle="button"]',Q0=`click${G0}${q0}`;class _a extends mn{static get NAME(){return K0}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(X0))}static jQueryInterface(e){return this.each(function(){const n=_a.getOrCreateInstance(this);e==="toggle"&&n[e]()})}}G.on(document,Q0,Md,t=>{t.preventDefault();const e=t.target.closest(Md);_a.getOrCreateInstance(e).toggle()});sn(_a);const ye={find(t,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,t))},findOne(t,e=document.documentElement){return Element.prototype.querySelector.call(e,t)},children(t,e){return[].concat(...t.children).filter(n=>n.matches(e))},parents(t,e){const n=[];let r=t.parentNode.closest(e);for(;r;)n.push(r),r=r.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(n=>`${n}:not([tabindex^="-"])`).join(",");return this.find(e,t).filter(n=>!dr(n)&&es(n))}},Z0="swipe",ts=".bs.swipe",J0=`touchstart${ts}`,eb=`touchmove${ts}`,tb=`touchend${ts}`,nb=`pointerdown${ts}`,rb=`pointerup${ts}`,ib="touch",sb="pen",ob="pointer-event",ab=40,lb={endCallback:null,leftCallback:null,rightCallback:null},cb={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Yo extends eo{constructor(e,n){super(),this._element=e,!(!e||!Yo.isSupported())&&(this._config=this._getConfig(n),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return lb}static get DefaultType(){return cb}static get NAME(){return Z0}dispose(){G.off(this._element,ts)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),$n(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=ab)return;const n=e/this._deltaX;this._deltaX=0,n&&$n(n>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(G.on(this._element,nb,e=>this._start(e)),G.on(this._element,rb,e=>this._end(e)),this._element.classList.add(ob)):(G.on(this._element,J0,e=>this._start(e)),G.on(this._element,eb,e=>this._move(e)),G.on(this._element,tb,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===sb||e.pointerType===ib)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const ub="carousel",db="bs.carousel",yr=`.${db}`,mp=".data-api",fb="ArrowLeft",hb="ArrowRight",mb=500,ls="next",ai="prev",mi="left",Po="right",pb=`slide${yr}`,Qa=`slid${yr}`,gb=`keydown${yr}`,_b=`mouseenter${yr}`,vb=`mouseleave${yr}`,bb=`dragstart${yr}`,yb=`load${yr}${mp}`,wb=`click${yr}${mp}`,pp="carousel",ho="active",Eb="slide",Tb="carousel-item-end",Cb="carousel-item-start",Sb="carousel-item-next",kb="carousel-item-prev",gp=".active",_p=".carousel-item",Ab=gp+_p,xb=".carousel-item img",Lb=".carousel-indicators",Pb="[data-bs-slide], [data-bs-slide-to]",Nb='[data-bs-ride="carousel"]',Ob={[fb]:Po,[hb]:mi},Ib={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Mb={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class to extends mn{constructor(e,n){super(e,n),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ye.findOne(Lb,this._element),this._addEventListeners(),this._config.ride===pp&&this.cycle()}static get Default(){return Ib}static get DefaultType(){return Mb}static get NAME(){return ub}next(){this._slide(ls)}nextWhenVisible(){!document.hidden&&es(this._element)&&this.next()}prev(){this._slide(ai)}pause(){this._isSliding&&rp(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(!!this._config.ride){if(this._isSliding){G.one(this._element,Qa,()=>this.cycle());return}this.cycle()}}to(e){const n=this._getItems();if(e>n.length-1||e<0)return;if(this._isSliding){G.one(this._element,Qa,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const i=e>r?ls:ai;this._slide(i,n[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&G.on(this._element,gb,e=>this._keydown(e)),this._config.pause==="hover"&&(G.on(this._element,_b,()=>this.pause()),G.on(this._element,vb,()=>this._maybeEnableCycle())),this._config.touch&&Yo.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ye.find(xb,this._element))G.on(r,bb,i=>i.preventDefault());const n={leftCallback:()=>this._slide(this._directionToOrder(mi)),rightCallback:()=>this._slide(this._directionToOrder(Po)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),mb+this._config.interval))}};this._swipeHelper=new Yo(this._element,n)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const n=Ob[e.key];n&&(e.preventDefault(),this._slide(this._directionToOrder(n)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const n=ye.findOne(gp,this._indicatorsElement);n.classList.remove(ho),n.removeAttribute("aria-current");const r=ye.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(ho),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const n=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=n||this._config.defaultInterval}_slide(e,n=null){if(this._isSliding)return;const r=this._getActive(),i=e===ls,s=n||ru(this._getItems(),r,i,this._config.wrap);if(s===r)return;const o=this._getItemIndex(s),a=h=>G.trigger(this._element,h,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:o});if(a(pb).defaultPrevented||!r||!s)return;const c=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=s;const u=i?Cb:Tb,f=i?Sb:kb;s.classList.add(f),Js(s),r.classList.add(u),s.classList.add(u);const d=()=>{s.classList.remove(u,f),s.classList.add(ho),r.classList.remove(ho,f,u),this._isSliding=!1,a(Qa)};this._queueCallback(d,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(Eb)}_getActive(){return ye.findOne(Ab,this._element)}_getItems(){return ye.find(_p,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return tn()?e===mi?ai:ls:e===mi?ls:ai}_orderToDirection(e){return tn()?e===ai?mi:Po:e===ai?Po:mi}static jQueryInterface(e){return this.each(function(){const n=to.getOrCreateInstance(this,e);if(typeof e=="number"){n.to(e);return}if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}G.on(document,wb,Pb,function(t){const e=jn(this);if(!e||!e.classList.contains(pp))return;t.preventDefault();const n=to.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){n.to(r),n._maybeEnableCycle();return}if(Hn.getDataAttribute(this,"slide")==="next"){n.next(),n._maybeEnableCycle();return}n.prev(),n._maybeEnableCycle()});G.on(window,yb,()=>{const t=ye.find(Nb);for(const e of t)to.getOrCreateInstance(e)});sn(to);const Db="collapse",Rb="bs.collapse",no=`.${Rb}`,$b=".data-api",Fb=`show${no}`,Vb=`shown${no}`,jb=`hide${no}`,zb=`hidden${no}`,Hb=`click${no}${$b}`,Za="show",vi="collapse",mo="collapsing",Bb="collapsed",Ub=`:scope .${vi} .${vi}`,Wb="collapse-horizontal",Kb="width",Yb="height",Gb=".collapse.show, .collapse.collapsing",Gl='[data-bs-toggle="collapse"]',qb={parent:null,toggle:!0},Xb={parent:"(null|element)",toggle:"boolean"};class Is extends mn{constructor(e,n){super(e,n),this._isTransitioning=!1,this._triggerArray=[];const r=ye.find(Gl);for(const i of r){const s=np(i),o=ye.find(s).filter(a=>a===this._element);s!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return qb}static get DefaultType(){return Xb}static get NAME(){return Db}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Gb).filter(a=>a!==this._element).map(a=>Is.getOrCreateInstance(a,{toggle:!1}))),e.length&&e[0]._isTransitioning||G.trigger(this._element,Fb).defaultPrevented)return;for(const a of e)a.hide();const r=this._getDimension();this._element.classList.remove(vi),this._element.classList.add(mo),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(vi,Za),this._element.style[r]="",G.trigger(this._element,Vb)},o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[r]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||G.trigger(this._element,jb).defaultPrevented)return;const n=this._getDimension();this._element.style[n]=`${this._element.getBoundingClientRect()[n]}px`,Js(this._element),this._element.classList.add(mo),this._element.classList.remove(vi,Za);for(const i of this._triggerArray){const s=jn(i);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(mo),this._element.classList.add(vi),G.trigger(this._element,zb)};this._element.style[n]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Za)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=ur(e.parent),e}_getDimension(){return this._element.classList.contains(Wb)?Kb:Yb}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Gl);for(const n of e){const r=jn(n);r&&this._addAriaAndCollapsedClass([n],this._isShown(r))}}_getFirstLevelChildren(e){const n=ye.find(Ub,this._config.parent);return ye.find(e,this._config.parent).filter(r=>!n.includes(r))}_addAriaAndCollapsedClass(e,n){if(!!e.length)for(const r of e)r.classList.toggle(Bb,!n),r.setAttribute("aria-expanded",n)}static jQueryInterface(e){const n={};return typeof e=="string"&&/show|hide/.test(e)&&(n.toggle=!1),this.each(function(){const r=Is.getOrCreateInstance(this,n);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}G.on(document,Hb,Gl,function(t){(t.target.tagName==="A"||t.delegateTarget&&t.delegateTarget.tagName==="A")&&t.preventDefault();const e=np(this),n=ye.find(e);for(const r of n)Is.getOrCreateInstance(r,{toggle:!1}).toggle()});sn(Is);const Dd="dropdown",Qb="bs.dropdown",Qr=`.${Qb}`,su=".data-api",Zb="Escape",Rd="Tab",Jb="ArrowUp",$d="ArrowDown",e1=2,t1=`hide${Qr}`,n1=`hidden${Qr}`,r1=`show${Qr}`,i1=`shown${Qr}`,vp=`click${Qr}${su}`,bp=`keydown${Qr}${su}`,s1=`keyup${Qr}${su}`,pi="show",o1="dropup",a1="dropend",l1="dropstart",c1="dropup-center",u1="dropdown-center",$r='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',d1=`${$r}.${pi}`,No=".dropdown-menu",f1=".navbar",h1=".navbar-nav",m1=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",p1=tn()?"top-end":"top-start",g1=tn()?"top-start":"top-end",_1=tn()?"bottom-end":"bottom-start",v1=tn()?"bottom-start":"bottom-end",b1=tn()?"left-start":"right-start",y1=tn()?"right-start":"left-start",w1="top",E1="bottom",T1={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},C1={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Sn extends mn{constructor(e,n){super(e,n),this._popper=null,this._parent=this._element.parentNode,this._menu=ye.next(this._element,No)[0]||ye.prev(this._element,No)[0]||ye.findOne(No,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return T1}static get DefaultType(){return C1}static get NAME(){return Dd}toggle(){return this._isShown()?this.hide():this.show()}show(){if(dr(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!G.trigger(this._element,r1,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(h1))for(const r of[].concat(...document.body.children))G.on(r,"mouseover",Ko);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(pi),this._element.classList.add(pi),G.trigger(this._element,i1,e)}}hide(){if(dr(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!G.trigger(this._element,t1,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))G.off(r,"mouseover",Ko);this._popper&&this._popper.destroy(),this._menu.classList.remove(pi),this._element.classList.remove(pi),this._element.setAttribute("aria-expanded","false"),Hn.removeDataAttribute(this._menu,"popper"),G.trigger(this._element,n1,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!zn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Dd.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof ep>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:zn(this._config.reference)?e=ur(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const n=this._getPopperConfig();this._popper=nu(e,this._menu,n)}_isShown(){return this._menu.classList.contains(pi)}_getPlacement(){const e=this._parent;if(e.classList.contains(a1))return b1;if(e.classList.contains(l1))return y1;if(e.classList.contains(c1))return w1;if(e.classList.contains(u1))return E1;const n=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(o1)?n?g1:p1:n?v1:_1}_detectNavbar(){return this._element.closest(f1)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(Hn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...typeof this._config.popperConfig=="function"?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:n}){const r=ye.find(m1,this._menu).filter(i=>es(i));!r.length||ru(r,n,e===$d,!r.includes(n)).focus()}static jQueryInterface(e){return this.each(function(){const n=Sn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}static clearMenus(e){if(e.button===e1||e.type==="keyup"&&e.key!==Rd)return;const n=ye.find(d1);for(const r of n){const i=Sn.getInstance(r);if(!i||i._config.autoClose===!1)continue;const s=e.composedPath(),o=s.includes(i._menu);if(s.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Rd||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:i._element};e.type==="click"&&(a.clickEvent=e),i._completeHide(a)}}static dataApiKeydownHandler(e){const n=/input|textarea/i.test(e.target.tagName),r=e.key===Zb,i=[Jb,$d].includes(e.key);if(!i&&!r||n&&!r)return;e.preventDefault();const s=this.matches($r)?this:ye.prev(this,$r)[0]||ye.next(this,$r)[0]||ye.findOne($r,e.delegateTarget.parentNode),o=Sn.getOrCreateInstance(s);if(i){e.stopPropagation(),o.show(),o._selectMenuItem(e);return}o._isShown()&&(e.stopPropagation(),o.hide(),s.focus())}}G.on(document,bp,$r,Sn.dataApiKeydownHandler);G.on(document,bp,No,Sn.dataApiKeydownHandler);G.on(document,vp,Sn.clearMenus);G.on(document,s1,Sn.clearMenus);G.on(document,vp,$r,function(t){t.preventDefault(),Sn.getOrCreateInstance(this).toggle()});sn(Sn);const Fd=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Vd=".sticky-top",po="padding-right",jd="margin-right";class ql{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,po,n=>n+e),this._setElementAttributes(Fd,po,n=>n+e),this._setElementAttributes(Vd,jd,n=>n-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,po),this._resetElementAttributes(Fd,po),this._resetElementAttributes(Vd,jd)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,n,r){const i=this.getWidth(),s=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,n);const a=window.getComputedStyle(o).getPropertyValue(n);o.style.setProperty(n,`${r(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,n){const r=e.style.getPropertyValue(n);r&&Hn.setDataAttribute(e,n,r)}_resetElementAttributes(e,n){const r=i=>{const s=Hn.getDataAttribute(i,n);if(s===null){i.style.removeProperty(n);return}Hn.removeDataAttribute(i,n),i.style.setProperty(n,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,n){if(zn(e)){n(e);return}for(const r of ye.find(e,this._element))n(r)}}const yp="backdrop",S1="fade",zd="show",Hd=`mousedown.bs.${yp}`,k1={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},A1={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class wp extends eo{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return k1}static get DefaultType(){return A1}static get NAME(){return yp}show(e){if(!this._config.isVisible){$n(e);return}this._append();const n=this._getElement();this._config.isAnimated&&Js(n),n.classList.add(zd),this._emulateAnimation(()=>{$n(e)})}hide(e){if(!this._config.isVisible){$n(e);return}this._getElement().classList.remove(zd),this._emulateAnimation(()=>{this.dispose(),$n(e)})}dispose(){!this._isAppended||(G.off(this._element,Hd),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(S1),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=ur(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),G.on(e,Hd,()=>{$n(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){op(e,this._getElement(),this._config.isAnimated)}}const x1="focustrap",L1="bs.focustrap",Go=`.${L1}`,P1=`focusin${Go}`,N1=`keydown.tab${Go}`,O1="Tab",I1="forward",Bd="backward",M1={autofocus:!0,trapElement:null},D1={autofocus:"boolean",trapElement:"element"};class Ep extends eo{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return M1}static get DefaultType(){return D1}static get NAME(){return x1}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),G.off(document,Go),G.on(document,P1,e=>this._handleFocusin(e)),G.on(document,N1,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){!this._isActive||(this._isActive=!1,G.off(document,Go))}_handleFocusin(e){const{trapElement:n}=this._config;if(e.target===document||e.target===n||n.contains(e.target))return;const r=ye.focusableChildren(n);r.length===0?n.focus():this._lastTabNavDirection===Bd?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===O1&&(this._lastTabNavDirection=e.shiftKey?Bd:I1)}}const R1="modal",$1="bs.modal",pn=`.${$1}`,F1=".data-api",V1="Escape",j1=`hide${pn}`,z1=`hidePrevented${pn}`,Tp=`hidden${pn}`,Cp=`show${pn}`,H1=`shown${pn}`,B1=`resize${pn}`,U1=`click.dismiss${pn}`,W1=`mousedown.dismiss${pn}`,K1=`keydown.dismiss${pn}`,Y1=`click${pn}${F1}`,Ud="modal-open",G1="fade",Wd="show",Ja="modal-static",q1=".modal.show",X1=".modal-dialog",Q1=".modal-body",Z1='[data-bs-toggle="modal"]',J1={backdrop:!0,focus:!0,keyboard:!0},ey={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ri extends mn{constructor(e,n){super(e,n),this._dialog=ye.findOne(X1,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ql,this._addEventListeners()}static get Default(){return J1}static get DefaultType(){return ey}static get NAME(){return R1}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||G.trigger(this._element,Cp,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ud),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||G.trigger(this._element,j1).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Wd),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){for(const e of[window,this._dialog])G.off(e,pn);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wp({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ep({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const n=ye.findOne(Q1,this._dialog);n&&(n.scrollTop=0),Js(this._element),this._element.classList.add(Wd);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,G.trigger(this._element,H1,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){G.on(this._element,K1,e=>{if(e.key===V1){if(this._config.keyboard){e.preventDefault(),this.hide();return}this._triggerBackdropTransition()}}),G.on(window,B1,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),G.on(this._element,W1,e=>{G.one(this._element,U1,n=>{if(!(this._element!==e.target||this._element!==n.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ud),this._resetAdjustments(),this._scrollBar.reset(),G.trigger(this._element,Tp)})}_isAnimated(){return this._element.classList.contains(G1)}_triggerBackdropTransition(){if(G.trigger(this._element,z1).defaultPrevented)return;const n=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Ja)||(n||(this._element.style.overflowY="hidden"),this._element.classList.add(Ja),this._queueCallback(()=>{this._element.classList.remove(Ja),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,n=this._scrollBar.getWidth(),r=n>0;if(r&&!e){const i=tn()?"paddingLeft":"paddingRight";this._element.style[i]=`${n}px`}if(!r&&e){const i=tn()?"paddingRight":"paddingLeft";this._element.style[i]=`${n}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,n){return this.each(function(){const r=Ri.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](n)}})}}G.on(document,Y1,Z1,function(t){const e=jn(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),G.one(e,Cp,i=>{i.defaultPrevented||G.one(e,Tp,()=>{es(this)&&this.focus()})});const n=ye.findOne(q1);n&&Ri.getInstance(n).hide(),Ri.getOrCreateInstance(e).toggle(this)});pa(Ri);sn(Ri);const ty="offcanvas",ny="bs.offcanvas",Yn=`.${ny}`,Sp=".data-api",ry=`load${Yn}${Sp}`,iy="Escape",Kd="show",Yd="showing",Gd="hiding",sy="offcanvas-backdrop",kp=".offcanvas.show",oy=`show${Yn}`,ay=`shown${Yn}`,ly=`hide${Yn}`,qd=`hidePrevented${Yn}`,Ap=`hidden${Yn}`,cy=`resize${Yn}`,uy=`click${Yn}${Sp}`,dy=`keydown.dismiss${Yn}`,fy='[data-bs-toggle="offcanvas"]',hy={backdrop:!0,keyboard:!0,scroll:!1},my={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class fr extends mn{constructor(e,n){super(e,n),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return hy}static get DefaultType(){return my}static get NAME(){return ty}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||G.trigger(this._element,oy,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new ql().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Yd);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Kd),this._element.classList.remove(Yd),G.trigger(this._element,ay,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||G.trigger(this._element,ly).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Gd),this._backdrop.hide();const n=()=>{this._element.classList.remove(Kd,Gd),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new ql().reset(),G.trigger(this._element,Ap)};this._queueCallback(n,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){G.trigger(this._element,qd);return}this.hide()},n=Boolean(this._config.backdrop);return new wp({className:sy,isVisible:n,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:n?e:null})}_initializeFocusTrap(){return new Ep({trapElement:this._element})}_addEventListeners(){G.on(this._element,dy,e=>{if(e.key===iy){if(!this._config.keyboard){G.trigger(this._element,qd);return}this.hide()}})}static jQueryInterface(e){return this.each(function(){const n=fr.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}G.on(document,uy,fy,function(t){const e=jn(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),dr(this))return;G.one(e,Ap,()=>{es(this)&&this.focus()});const n=ye.findOne(kp);n&&n!==e&&fr.getInstance(n).hide(),fr.getOrCreateInstance(e).toggle(this)});G.on(window,ry,()=>{for(const t of ye.find(kp))fr.getOrCreateInstance(t).show()});G.on(window,cy,()=>{for(const t of ye.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(t).position!=="fixed"&&fr.getOrCreateInstance(t).hide()});pa(fr);sn(fr);const py=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),gy=/^aria-[\w-]*$/i,_y=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,vy=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,by=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?py.has(n)?Boolean(_y.test(t.nodeValue)||vy.test(t.nodeValue)):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(n))},xp={"*":["class","dir","id","lang","role",gy],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function yy(t,e,n){if(!t.length)return t;if(n&&typeof n=="function")return n(t);const i=new window.DOMParser().parseFromString(t,"text/html"),s=[].concat(...i.body.querySelectorAll("*"));for(const o of s){const a=o.nodeName.toLowerCase();if(!Object.keys(e).includes(a)){o.remove();continue}const l=[].concat(...o.attributes),c=[].concat(e["*"]||[],e[a]||[]);for(const u of l)by(u,c)||o.removeAttribute(u.nodeName)}return i.body.innerHTML}const wy="TemplateFactory",Ey={allowList:xp,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Ty={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Cy={entry:"(string|element|function|null)",selector:"(string|element)"};class Sy extends eo{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ey}static get DefaultType(){return Ty}static get NAME(){return wy}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[i,s]of Object.entries(this._config.content))this._setContent(e,s,i);const n=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&n.classList.add(...r.split(" ")),n}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[n,r]of Object.entries(e))super._typeCheckConfig({selector:n,entry:r},Cy)}_setContent(e,n,r){const i=ye.findOne(r,e);if(!!i){if(n=this._resolvePossibleFunction(n),!n){i.remove();return}if(zn(n)){this._putElementInTemplate(ur(n),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(n);return}i.textContent=n}}_maybeSanitize(e){return this._config.sanitize?yy(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return typeof e=="function"?e(this):e}_putElementInTemplate(e,n){if(this._config.html){n.innerHTML="",n.append(e);return}n.textContent=e.textContent}}const ky="tooltip",Ay=new Set(["sanitize","allowList","sanitizeFn"]),el="fade",xy="modal",go="show",Ly=".tooltip-inner",Xd=`.${xy}`,Qd="hide.bs.modal",cs="hover",tl="focus",Py="click",Ny="manual",Oy="hide",Iy="hidden",My="show",Dy="shown",Ry="inserted",$y="click",Fy="focusin",Vy="focusout",jy="mouseenter",zy="mouseleave",Hy={AUTO:"auto",TOP:"top",RIGHT:tn()?"left":"right",BOTTOM:"bottom",LEFT:tn()?"right":"left"},By={allowList:xp,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Uy={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class wr extends mn{constructor(e,n){if(typeof ep>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,n),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return By}static get DefaultType(){return Uy}static get NAME(){return ky}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(!!this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),G.off(this._element.closest(Xd),Qd,this._hideModalHandler),this.tip&&this.tip.remove(),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=G.trigger(this._element,this.constructor.eventName(My)),r=(ip(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this.tip&&(this.tip.remove(),this.tip=null);const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(i),G.trigger(this._element,this.constructor.eventName(Ry))),this._popper?this._popper.update():this._popper=this._createPopper(i),i.classList.add(go),"ontouchstart"in document.documentElement)for(const a of[].concat(...document.body.children))G.on(a,"mouseover",Ko);const o=()=>{G.trigger(this._element,this.constructor.eventName(Dy)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||G.trigger(this._element,this.constructor.eventName(Oy)).defaultPrevented)return;const n=this._getTipElement();if(n.classList.remove(go),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))G.off(i,"mouseover",Ko);this._activeTrigger[Py]=!1,this._activeTrigger[tl]=!1,this._activeTrigger[cs]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||n.remove(),this._element.removeAttribute("aria-describedby"),G.trigger(this._element,this.constructor.eventName(Iy)),this._disposePopper())};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const n=this._getTemplateFactory(e).toHtml();if(!n)return null;n.classList.remove(el,go),n.classList.add(`bs-${this.constructor.NAME}-auto`);const r=L0(this.constructor.NAME).toString();return n.setAttribute("id",r),this._isAnimated()&&n.classList.add(el),n}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Sy({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ly]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(el)}_isShown(){return this.tip&&this.tip.classList.contains(go)}_createPopper(e){const n=typeof this._config.placement=="function"?this._config.placement.call(this,e,this._element):this._config.placement,r=Hy[n.toUpperCase()];return nu(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(n=>Number.parseInt(n,10)):typeof e=="function"?n=>e(n,this._element):e}_resolvePossibleFunction(e){return typeof e=="function"?e.call(this._element):e}_getPopperConfig(e){const n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...n,...typeof this._config.popperConfig=="function"?this._config.popperConfig(n):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const n of e)if(n==="click")G.on(this._element,this.constructor.eventName($y),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(n!==Ny){const r=n===cs?this.constructor.eventName(jy):this.constructor.eventName(Fy),i=n===cs?this.constructor.eventName(zy):this.constructor.eventName(Vy);G.on(this._element,r,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusin"?tl:cs]=!0,o._enter()}),G.on(this._element,i,this._config.selector,s=>{const o=this._initializeOnDelegatedTarget(s);o._activeTrigger[s.type==="focusout"?tl:cs]=o._element.contains(s.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},G.on(this._element.closest(Xd),Qd,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");!e||(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,n){clearTimeout(this._timeout),this._timeout=setTimeout(e,n)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const n=Hn.getDataAttributes(this._element);for(const r of Object.keys(n))Ay.has(r)&&delete n[r];return e={...n,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:ur(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const n in this._config)this.constructor.Default[n]!==this._config[n]&&(e[n]=this._config[n]);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const n=wr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}sn(wr);const Wy="popover",Ky=".popover-header",Yy=".popover-body",Gy={...wr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},qy={...wr.DefaultType,content:"(null|string|element|function)"};class ou extends wr{static get Default(){return Gy}static get DefaultType(){return qy}static get NAME(){return Wy}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Ky]:this._getTitle(),[Yy]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const n=ou.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e]()}})}}sn(ou);const Xy="scrollspy",Qy="bs.scrollspy",au=`.${Qy}`,Zy=".data-api",Jy=`activate${au}`,Zd=`click${au}`,ew=`load${au}${Zy}`,tw="dropdown-item",li="active",nw='[data-bs-spy="scroll"]',nl="[href]",rw=".nav, .list-group",Jd=".nav-link",iw=".nav-item",sw=".list-group-item",ow=`${Jd}, ${iw} > ${Jd}, ${sw}`,aw=".dropdown",lw=".dropdown-toggle",cw={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},uw={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class va extends mn{constructor(e,n){super(e,n),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return cw}static get DefaultType(){return uw}static get NAME(){return Xy}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=ur(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(n=>Number.parseFloat(n))),e}_maybeEnableSmoothScroll(){!this._config.smoothScroll||(G.off(this._config.target,Zd),G.on(this._config.target,Zd,nl,e=>{const n=this._observableSections.get(e.target.hash);if(n){e.preventDefault();const r=this._rootElement||window,i=n.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:i,behavior:"smooth"});return}r.scrollTop=i}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(n=>this._observerCallback(n),e)}_observerCallback(e){const n=o=>this._targetLinks.get(`#${o.target.id}`),r=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(n(o))},i=(this._rootElement||document.documentElement).scrollTop,s=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of e){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(n(o));continue}const a=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&a){if(r(o),!i)return;continue}!s&&!a&&r(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=ye.find(nl,this._config.target);for(const n of e){if(!n.hash||dr(n))continue;const r=ye.findOne(n.hash,this._element);es(r)&&(this._targetLinks.set(n.hash,n),this._observableSections.set(n.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(li),this._activateParents(e),G.trigger(this._element,Jy,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(tw)){ye.findOne(lw,e.closest(aw)).classList.add(li);return}for(const n of ye.parents(e,rw))for(const r of ye.prev(n,ow))r.classList.add(li)}_clearActiveClass(e){e.classList.remove(li);const n=ye.find(`${nl}.${li}`,e);for(const r of n)r.classList.remove(li)}static jQueryInterface(e){return this.each(function(){const n=va.getOrCreateInstance(this,e);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}G.on(window,ew,()=>{for(const t of ye.find(nw))va.getOrCreateInstance(t)});sn(va);const dw="tab",fw="bs.tab",Zr=`.${fw}`,hw=`hide${Zr}`,mw=`hidden${Zr}`,pw=`show${Zr}`,gw=`shown${Zr}`,_w=`click${Zr}`,vw=`keydown${Zr}`,bw=`load${Zr}`,yw="ArrowLeft",ef="ArrowRight",ww="ArrowUp",tf="ArrowDown",Fr="active",nf="fade",rl="show",Ew="dropdown",Tw=".dropdown-toggle",Cw=".dropdown-menu",il=":not(.dropdown-toggle)",Sw='.list-group, .nav, [role="tablist"]',kw=".nav-item, .list-group-item",Aw=`.nav-link${il}, .list-group-item${il}, [role="tab"]${il}`,Lp='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',sl=`${Aw}, ${Lp}`,xw=`.${Fr}[data-bs-toggle="tab"], .${Fr}[data-bs-toggle="pill"], .${Fr}[data-bs-toggle="list"]`;class $i extends mn{constructor(e){super(e),this._parent=this._element.closest(Sw),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),G.on(this._element,vw,n=>this._keydown(n)))}static get NAME(){return dw}show(){const e=this._element;if(this._elemIsActive(e))return;const n=this._getActiveElem(),r=n?G.trigger(n,hw,{relatedTarget:e}):null;G.trigger(e,pw,{relatedTarget:n}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(n,e),this._activate(e,n))}_activate(e,n){if(!e)return;e.classList.add(Fr),this._activate(jn(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(rl);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),G.trigger(e,gw,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(nf))}_deactivate(e,n){if(!e)return;e.classList.remove(Fr),e.blur(),this._deactivate(jn(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(rl);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),G.trigger(e,mw,{relatedTarget:n})};this._queueCallback(r,e,e.classList.contains(nf))}_keydown(e){if(![yw,ef,ww,tf].includes(e.key))return;e.stopPropagation(),e.preventDefault();const n=[ef,tf].includes(e.key),r=ru(this._getChildren().filter(i=>!dr(i)),e.target,n,!0);r&&(r.focus({preventScroll:!0}),$i.getOrCreateInstance(r).show())}_getChildren(){return ye.find(sl,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,n){this._setAttributeIfNotExists(e,"role","tablist");for(const r of n)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const n=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",n),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),n||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const n=jn(e);!n||(this._setAttributeIfNotExists(n,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(n,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,n){const r=this._getOuterElement(e);if(!r.classList.contains(Ew))return;const i=(s,o)=>{const a=ye.findOne(s,r);a&&a.classList.toggle(o,n)};i(Tw,Fr),i(Cw,rl),r.setAttribute("aria-expanded",n)}_setAttributeIfNotExists(e,n,r){e.hasAttribute(n)||e.setAttribute(n,r)}_elemIsActive(e){return e.classList.contains(Fr)}_getInnerElement(e){return e.matches(sl)?e:ye.findOne(sl,e)}_getOuterElement(e){return e.closest(kw)||e}static jQueryInterface(e){return this.each(function(){const n=$i.getOrCreateInstance(this);if(typeof e=="string"){if(n[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);n[e]()}})}}G.on(document,_w,Lp,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),!dr(this)&&$i.getOrCreateInstance(this).show()});G.on(window,bw,()=>{for(const t of ye.find(xw))$i.getOrCreateInstance(t)});sn($i);const Lw="toast",Pw="bs.toast",Er=`.${Pw}`,Nw=`mouseover${Er}`,Ow=`mouseout${Er}`,Iw=`focusin${Er}`,Mw=`focusout${Er}`,Dw=`hide${Er}`,Rw=`hidden${Er}`,$w=`show${Er}`,Fw=`shown${Er}`,Vw="fade",rf="hide",_o="show",vo="showing",jw={animation:"boolean",autohide:"boolean",delay:"number"},zw={animation:!0,autohide:!0,delay:5e3};class ba extends mn{constructor(e,n){super(e,n),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return zw}static get DefaultType(){return jw}static get NAME(){return Lw}show(){if(G.trigger(this._element,$w).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Vw);const n=()=>{this._element.classList.remove(vo),G.trigger(this._element,Fw),this._maybeScheduleHide()};this._element.classList.remove(rf),Js(this._element),this._element.classList.add(_o,vo),this._queueCallback(n,this._element,this._config.animation)}hide(){if(!this.isShown()||G.trigger(this._element,Dw).defaultPrevented)return;const n=()=>{this._element.classList.add(rf),this._element.classList.remove(vo,_o),G.trigger(this._element,Rw)};this._element.classList.add(vo),this._queueCallback(n,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(_o),super.dispose()}isShown(){return this._element.classList.contains(_o)}_maybeScheduleHide(){!this._config.autohide||this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))}_onInteraction(e,n){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=n;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=n;break}}if(n){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){G.on(this._element,Nw,e=>this._onInteraction(e,!0)),G.on(this._element,Ow,e=>this._onInteraction(e,!1)),G.on(this._element,Iw,e=>this._onInteraction(e,!0)),G.on(this._element,Mw,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const n=ba.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof n[e]>"u")throw new TypeError(`No method named "${e}"`);n[e](this)}})}}pa(ba);sn(ba);function Hw(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Pp={exports:{}};(function(t,e){(function(){function n(){var r=window,i=document;if("scrollBehavior"in i.documentElement.style&&r.__forceSmoothScrollPolyfill__!==!0)return;var s=r.HTMLElement||r.Element,o=468,a={scroll:r.scroll||r.scrollTo,scrollBy:r.scrollBy,elementScroll:s.prototype.scroll||f,scrollIntoView:s.prototype.scrollIntoView},l=r.performance&&r.performance.now?r.performance.now.bind(r.performance):Date.now;function c(v){var b=["MSIE ","Trident/","Edge/"];return new RegExp(b.join("|")).test(v)}var u=c(r.navigator.userAgent)?1:0;function f(v,b){this.scrollLeft=v,this.scrollTop=b}function d(v){return .5*(1-Math.cos(Math.PI*v))}function h(v){if(v===null||typeof v!="object"||v.behavior===void 0||v.behavior==="auto"||v.behavior==="instant")return!0;if(typeof v=="object"&&v.behavior==="smooth")return!1;throw new TypeError("behavior member of ScrollOptions "+v.behavior+" is not a valid value for enumeration ScrollBehavior.")}function w(v,b){if(b==="Y")return v.clientHeight+u1?1:I,A=d(I),x=v.startX+(v.x-v.startX)*A,N=v.startY+(v.y-v.startY)*A,v.method.call(v.scrollable,x,N),(x!==v.x||N!==v.y)&&r.requestAnimationFrame(T.bind(r,v))}function S(v,b,A){var x,N,I,B,X=l();v===i.body?(x=r,N=r.scrollX||r.pageXOffset,I=r.scrollY||r.pageYOffset,B=a.scroll):(x=v,N=v.scrollLeft,I=v.scrollTop,B=f),T({scrollable:x,method:B,startTime:X,startX:N,startY:I,x:b,y:A})}r.scroll=r.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){a.scroll.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:r.scrollY||r.pageYOffset);return}S.call(r,i.body,arguments[0].left!==void 0?~~arguments[0].left:r.scrollX||r.pageXOffset,arguments[0].top!==void 0?~~arguments[0].top:r.scrollY||r.pageYOffset)}},r.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])){a.scrollBy.call(r,arguments[0].left!==void 0?arguments[0].left:typeof arguments[0]!="object"?arguments[0]:0,arguments[0].top!==void 0?arguments[0].top:arguments[1]!==void 0?arguments[1]:0);return}S.call(r,i.body,~~arguments[0].left+(r.scrollX||r.pageXOffset),~~arguments[0].top+(r.scrollY||r.pageYOffset))}},s.prototype.scroll=s.prototype.scrollTo=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){if(typeof arguments[0]=="number"&&arguments[1]===void 0)throw new SyntaxError("Value could not be converted");a.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left:typeof arguments[0]!="object"?~~arguments[0]:this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top:arguments[1]!==void 0?~~arguments[1]:this.scrollTop);return}var v=arguments[0].left,b=arguments[0].top;S.call(this,this,typeof v>"u"?this.scrollLeft:~~v,typeof b>"u"?this.scrollTop:~~b)}},s.prototype.scrollBy=function(){if(arguments[0]!==void 0){if(h(arguments[0])===!0){a.elementScroll.call(this,arguments[0].left!==void 0?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,arguments[0].top!==void 0?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);return}this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},s.prototype.scrollIntoView=function(){if(h(arguments[0])===!0){a.scrollIntoView.call(this,arguments[0]===void 0?!0:arguments[0]);return}var v=_(this),b=v.getBoundingClientRect(),A=this.getBoundingClientRect();v!==i.body?(S.call(this,v,v.scrollLeft+A.left-b.left,v.scrollTop+A.top-b.top),r.getComputedStyle(v).position!=="fixed"&&r.scrollBy({left:b.left,top:b.top,behavior:"smooth"})):r.scrollBy({left:A.left,top:A.top,behavior:"smooth"})}}t.exports={polyfill:n}})()})(Pp);const Bw=Pp.exports;function lu(t,e){const n=Object.create(null),r=t.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}function Ct(t){if(he(t)){const e={};for(let n=0;n{if(n){const r=n.split(Ww);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Me(t){let e="";if(Ke(t))e=t;else if(he(t))for(let n=0;nqr(n,e))}const F=t=>Ke(t)?t:t==null?"":he(t)||Ve(t)&&(t.toString===Mp||!be(t.toString))?JSON.stringify(t,Op,2):String(t),Op=(t,e)=>e&&e.__v_isRef?Op(t,e.value):Ci(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:ns(e)?{[`Set(${e.size})`]:[...e.values()]}:Ve(e)&&!he(e)&&!Dp(e)?String(e):e,je={},Ti=[],dn=()=>{},Qw=()=>!1,Zw=/^on[^a-z]/,ya=t=>Zw.test(t),uu=t=>t.startsWith("onUpdate:"),mt=Object.assign,du=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Jw=Object.prototype.hasOwnProperty,xe=(t,e)=>Jw.call(t,e),he=Array.isArray,Ci=t=>ro(t)==="[object Map]",ns=t=>ro(t)==="[object Set]",sf=t=>ro(t)==="[object Date]",be=t=>typeof t=="function",Ke=t=>typeof t=="string",Ms=t=>typeof t=="symbol",Ve=t=>t!==null&&typeof t=="object",Ip=t=>Ve(t)&&be(t.then)&&be(t.catch),Mp=Object.prototype.toString,ro=t=>Mp.call(t),eE=t=>ro(t).slice(8,-1),Dp=t=>ro(t)==="[object Object]",fu=t=>Ke(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Oo=lu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wa=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},tE=/-(\w)/g,Ln=wa(t=>t.replace(tE,(e,n)=>n?n.toUpperCase():"")),nE=/\B([A-Z])/g,rs=wa(t=>t.replace(nE,"-$1").toLowerCase()),Ea=wa(t=>t.charAt(0).toUpperCase()+t.slice(1)),ol=wa(t=>t?`on${Ea(t)}`:""),Ds=(t,e)=>!Object.is(t,e),Io=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Rs=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let of;const rE=()=>of||(of=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let bn;class Rp{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=bn,!e&&bn&&(this.index=(bn.scopes||(bn.scopes=[])).push(this)-1)}run(e){if(this.active){const n=bn;try{return bn=this,e()}finally{bn=n}}}on(){bn=this}off(){bn=this.parent}stop(e){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},$p=t=>(t.w&hr)>0,Fp=t=>(t.n&hr)>0,oE=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),e){case"add":he(t)?fu(n)&&a.push(o.get("length")):(a.push(o.get(Hr)),Ci(t)&&a.push(o.get(Zl)));break;case"delete":he(t)||(a.push(o.get(Hr)),Ci(t)&&a.push(o.get(Zl)));break;case"set":Ci(t)&&a.push(o.get(Hr));break}if(a.length===1)a[0]&&Jl(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Jl(hu(l))}}function Jl(t,e){const n=he(t)?t:[...t];for(const r of n)r.computed&&lf(r);for(const r of n)r.computed||lf(r)}function lf(t,e){(t!==ln||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const lE=lu("__proto__,__v_isRef,__isVue"),zp=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ms)),cE=pu(),uE=pu(!1,!0),dE=pu(!0),cf=fE();function fE(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=Ne(this);for(let s=0,o=this.length;s{t[e]=function(...n){is();const r=Ne(this)[e].apply(this,n);return ss(),r}}),t}function pu(t=!1,e=!1){return function(r,i,s){if(i==="__v_isReactive")return!t;if(i==="__v_isReadonly")return t;if(i==="__v_isShallow")return e;if(i==="__v_raw"&&s===(t?e?xE:Kp:e?Wp:Up).get(r))return r;const o=he(r);if(!t&&o&&xe(cf,i))return Reflect.get(cf,i,s);const a=Reflect.get(r,i,s);return(Ms(i)?zp.has(i):lE(i))||(t||jt(r,"get",i),e)?a:lt(a)?o&&fu(i)?a:a.value:Ve(a)?t?Yp(a):Jr(a):a}}const hE=Hp(),mE=Hp(!0);function Hp(t=!1){return function(n,r,i,s){let o=n[r];if(Fi(o)&<(o)&&!lt(i))return!1;if(!t&&(!Xo(i)&&!Fi(i)&&(o=Ne(o),i=Ne(i)),!he(n)&<(o)&&!lt(i)))return o.value=i,!0;const a=he(n)&&fu(r)?Number(r)t,Ta=t=>Reflect.getPrototypeOf(t);function bo(t,e,n=!1,r=!1){t=t.__v_raw;const i=Ne(t),s=Ne(e);n||(e!==s&&jt(i,"get",e),jt(i,"get",s));const{has:o}=Ta(i),a=r?gu:n?wu:$s;if(o.call(i,e))return a(t.get(e));if(o.call(i,s))return a(t.get(s));t!==i&&t.get(e)}function yo(t,e=!1){const n=this.__v_raw,r=Ne(n),i=Ne(t);return e||(t!==i&&jt(r,"has",t),jt(r,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function wo(t,e=!1){return t=t.__v_raw,!e&&jt(Ne(t),"iterate",Hr),Reflect.get(t,"size",t)}function uf(t){t=Ne(t);const e=Ne(this);return Ta(e).has.call(e,t)||(e.add(t),Un(e,"add",t,t)),this}function df(t,e){e=Ne(e);const n=Ne(this),{has:r,get:i}=Ta(n);let s=r.call(n,t);s||(t=Ne(t),s=r.call(n,t));const o=i.call(n,t);return n.set(t,e),s?Ds(e,o)&&Un(n,"set",t,e):Un(n,"add",t,e),this}function ff(t){const e=Ne(this),{has:n,get:r}=Ta(e);let i=n.call(e,t);i||(t=Ne(t),i=n.call(e,t)),r&&r.call(e,t);const s=e.delete(t);return i&&Un(e,"delete",t,void 0),s}function hf(){const t=Ne(this),e=t.size!==0,n=t.clear();return e&&Un(t,"clear",void 0,void 0),n}function Eo(t,e){return function(r,i){const s=this,o=s.__v_raw,a=Ne(o),l=e?gu:t?wu:$s;return!t&&jt(a,"iterate",Hr),o.forEach((c,u)=>r.call(i,l(c),l(u),s))}}function To(t,e,n){return function(...r){const i=this.__v_raw,s=Ne(i),o=Ci(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...r),u=n?gu:e?wu:$s;return!e&&jt(s,"iterate",l?Zl:Hr),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Xn(t){return function(...e){return t==="delete"?!1:this}}function yE(){const t={get(s){return bo(this,s)},get size(){return wo(this)},has:yo,add:uf,set:df,delete:ff,clear:hf,forEach:Eo(!1,!1)},e={get(s){return bo(this,s,!1,!0)},get size(){return wo(this)},has:yo,add:uf,set:df,delete:ff,clear:hf,forEach:Eo(!1,!0)},n={get(s){return bo(this,s,!0)},get size(){return wo(this,!0)},has(s){return yo.call(this,s,!0)},add:Xn("add"),set:Xn("set"),delete:Xn("delete"),clear:Xn("clear"),forEach:Eo(!0,!1)},r={get(s){return bo(this,s,!0,!0)},get size(){return wo(this,!0)},has(s){return yo.call(this,s,!0)},add:Xn("add"),set:Xn("set"),delete:Xn("delete"),clear:Xn("clear"),forEach:Eo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=To(s,!1,!1),n[s]=To(s,!0,!1),e[s]=To(s,!1,!0),r[s]=To(s,!0,!0)}),[t,n,e,r]}const[wE,EE,TE,CE]=yE();function _u(t,e){const n=e?t?CE:TE:t?EE:wE;return(r,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?r:Reflect.get(xe(n,i)&&i in r?n:r,i,s)}const SE={get:_u(!1,!1)},kE={get:_u(!1,!0)},AE={get:_u(!0,!1)},Up=new WeakMap,Wp=new WeakMap,Kp=new WeakMap,xE=new WeakMap;function LE(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function PE(t){return t.__v_skip||!Object.isExtensible(t)?0:LE(eE(t))}function Jr(t){return Fi(t)?t:vu(t,!1,Bp,SE,Up)}function NE(t){return vu(t,!1,bE,kE,Wp)}function Yp(t){return vu(t,!0,vE,AE,Kp)}function vu(t,e,n,r,i){if(!Ve(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=i.get(t);if(s)return s;const o=PE(t);if(o===0)return t;const a=new Proxy(t,o===2?r:n);return i.set(t,a),a}function Si(t){return Fi(t)?Si(t.__v_raw):!!(t&&t.__v_isReactive)}function Fi(t){return!!(t&&t.__v_isReadonly)}function Xo(t){return!!(t&&t.__v_isShallow)}function bu(t){return Si(t)||Fi(t)}function Ne(t){const e=t&&t.__v_raw;return e?Ne(e):t}function yu(t){return qo(t,"__v_skip",!0),t}const $s=t=>Ve(t)?Jr(t):t,wu=t=>Ve(t)?Yp(t):t;function Gp(t){sr&&ln&&(t=Ne(t),jp(t.dep||(t.dep=hu())))}function qp(t,e){t=Ne(t),t.dep&&Jl(t.dep)}function lt(t){return!!(t&&t.__v_isRef===!0)}function cn(t){return Qp(t,!1)}function Xp(t){return Qp(t,!0)}function Qp(t,e){return lt(t)?t:new OE(t,e)}class OE{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Ne(e),this._value=n?e:$s(e)}get value(){return Gp(this),this._value}set value(e){const n=this.__v_isShallow||Xo(e)||Fi(e);e=n?e:Ne(e),Ds(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:$s(e),qp(this))}}function ki(t){return lt(t)?t.value:t}const IE={get:(t,e,n)=>ki(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return lt(i)&&!lt(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Zp(t){return Si(t)?t:new Proxy(t,IE)}var Jp;class ME{constructor(e,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Jp]=!1,this._dirty=!0,this.effect=new mu(e,()=>{this._dirty||(this._dirty=!0,qp(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const e=Ne(this);return Gp(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Jp="__v_isReadonly";function DE(t,e,n=!1){let r,i;const s=be(t);return s?(r=t,i=dn):(r=t.get,i=t.set),new ME(r,i,s||!i,n)}function or(t,e,n,r){let i;try{i=r?t(...r):t()}catch(s){Ca(s,e,n)}return i}function Jt(t,e,n,r){if(be(t)){const s=or(t,e,n,r);return s&&Ip(s)&&s.catch(o=>{Ca(o,e,n)}),s}const i=[];for(let s=0;s>>1;Vs(dt[r])En&&dt.splice(e,1)}function VE(t){he(t)?Ai.push(...t):(!Mn||!Mn.includes(t,t.allowRecurse?Mr+1:Mr))&&Ai.push(t),ng()}function mf(t,e=Fs?En+1:0){for(;eVs(n)-Vs(r)),Mr=0;Mrt.id==null?1/0:t.id,jE=(t,e)=>{const n=Vs(t)-Vs(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function ig(t){ec=!1,Fs=!0,dt.sort(jE);const e=dn;try{for(En=0;EnKe(h)?h.trim():h)),f&&(i=n.map(Rs))}let a,l=r[a=ol(e)]||r[a=ol(Ln(e))];!l&&s&&(l=r[a=ol(rs(e))]),l&&Jt(l,t,6,i);const c=r[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Jt(c,t,6,i)}}function sg(t,e,n=!1){const r=e.emitsCache,i=r.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!be(t)){const l=c=>{const u=sg(c,e,!0);u&&(a=!0,mt(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(Ve(t)&&r.set(t,null),null):(he(s)?s.forEach(l=>o[l]=null):mt(o,s),Ve(t)&&r.set(t,o),o)}function Sa(t,e){return!t||!ya(e)?!1:(e=e.slice(2).replace(/Once$/,""),xe(t,e[0].toLowerCase()+e.slice(1))||xe(t,rs(e))||xe(t,e))}let ct=null,ka=null;function Qo(t){const e=ct;return ct=t,ka=t&&t.type.__scopeId||null,e}function bt(t){ka=t}function yt(){ka=null}function Je(t,e=ct,n){if(!e||t._n)return t;const r=(...i)=>{r._d&&Sf(-1);const s=Qo(e);let o;try{o=t(...i)}finally{Qo(s),r._d&&Sf(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function al(t){const{type:e,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:w,inheritAttrs:g}=t;let E,_;const T=Qo(t);try{if(n.shapeFlag&4){const v=i||r;E=yn(u.call(v,v,f,s,h,d,w)),_=l}else{const v=e;E=yn(v.length>1?v(s,{attrs:l,slots:a,emit:c}):v(s,null)),_=e.props?l:HE(l)}}catch(v){Es.length=0,Ca(v,t,1),E=re(Rt)}let S=E;if(_&&g!==!1){const v=Object.keys(_),{shapeFlag:b}=S;v.length&&b&7&&(o&&v.some(uu)&&(_=BE(_,o)),S=mr(S,_))}return n.dirs&&(S=mr(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),E=S,Qo(T),E}const HE=t=>{let e;for(const n in t)(n==="class"||n==="style"||ya(n))&&((e||(e={}))[n]=t[n]);return e},BE=(t,e)=>{const n={};for(const r in t)(!uu(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function UE(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?pf(r,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let f=0;ft.__isSuspense;function YE(t,e){e&&e.pendingBranch?he(t)?e.effects.push(...t):e.effects.push(t):VE(t)}function Mo(t,e){if(rt){let n=rt.provides;const r=rt.parent&&rt.parent.provides;r===n&&(n=rt.provides=Object.create(r)),n[t]=e}}function kn(t,e,n=!1){const r=rt||ct;if(r){const i=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&t in i)return i[t];if(arguments.length>1)return n&&be(e)?e.call(r.proxy):e}}const Co={};function ar(t,e,n){return og(t,e,n)}function og(t,e,{immediate:n,deep:r,flush:i,onTrack:s,onTrigger:o}=je){const a=rt;let l,c=!1,u=!1;if(lt(t)?(l=()=>t.value,c=Xo(t)):Si(t)?(l=()=>t,r=!0):he(t)?(u=!0,c=t.some(S=>Si(S)||Xo(S)),l=()=>t.map(S=>{if(lt(S))return S.value;if(Si(S))return Vr(S);if(be(S))return or(S,a,2)})):be(t)?e?l=()=>or(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),Jt(t,a,3,[d])}:l=dn,e&&r){const S=l;l=()=>Vr(S())}let f,d=S=>{f=_.onStop=()=>{or(S,a,4)}},h;if(zs)if(d=dn,e?n&&Jt(e,a,3,[l(),u?[]:void 0,d]):l(),i==="sync"){const S=FT();h=S.__watcherHandles||(S.__watcherHandles=[])}else return dn;let w=u?new Array(t.length).fill(Co):Co;const g=()=>{if(!!_.active)if(e){const S=_.run();(r||c||(u?S.some((v,b)=>Ds(v,w[b])):Ds(S,w)))&&(f&&f(),Jt(e,a,3,[S,w===Co?void 0:u&&w[0]===Co?[]:w,d]),w=S)}else _.run()};g.allowRecurse=!!e;let E;i==="sync"?E=g:i==="post"?E=()=>Et(g,a&&a.suspense):(g.pre=!0,a&&(g.id=a.uid),E=()=>Tu(g));const _=new mu(l,E);e?n?g():w=_.run():i==="post"?Et(_.run.bind(_),a&&a.suspense):_.run();const T=()=>{_.stop(),a&&a.scope&&du(a.scope.effects,_)};return h&&h.push(T),T}function GE(t,e,n){const r=this.proxy,i=Ke(t)?t.includes(".")?ag(r,t):()=>r[t]:t.bind(r,r);let s;be(e)?s=e:(s=e.handler,n=e);const o=rt;Vi(this);const a=og(i,s.bind(r),n);return o?Vi(o):Br(),a}function ag(t,e){const n=e.split(".");return()=>{let r=t;for(let i=0;i{Vr(n,e)});else if(Dp(t))for(const n in t)Vr(t[n],e);return t}function qE(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Su(()=>{t.isMounted=!0}),fg(()=>{t.isUnmounting=!0}),t}const Ut=[Function,Array],XE={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ut,onEnter:Ut,onAfterEnter:Ut,onEnterCancelled:Ut,onBeforeLeave:Ut,onLeave:Ut,onAfterLeave:Ut,onLeaveCancelled:Ut,onBeforeAppear:Ut,onAppear:Ut,onAfterAppear:Ut,onAppearCancelled:Ut},setup(t,{slots:e}){const n=Pn(),r=qE();let i;return()=>{const s=e.default&&cg(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const g of s)if(g.type!==Rt){o=g;break}}const a=Ne(t),{mode:l}=a;if(r.isLeaving)return ll(o);const c=gf(o);if(!c)return ll(o);const u=tc(c,a,r,n);nc(c,u);const f=n.subTree,d=f&&gf(f);let h=!1;const{getTransitionKey:w}=c.type;if(w){const g=w();i===void 0?i=g:g!==i&&(i=g,h=!0)}if(d&&d.type!==Rt&&(!Dr(c,d)||h)){const g=tc(d,a,r,n);if(nc(d,g),l==="out-in")return r.isLeaving=!0,g.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},ll(o);l==="in-out"&&c.type!==Rt&&(g.delayLeave=(E,_,T)=>{const S=lg(r,d);S[String(d.key)]=d,E._leaveCb=()=>{_(),E._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=T})}return o}}},QE=XE;function lg(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function tc(t,e,n,r){const{appear:i,mode:s,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:w,onBeforeAppear:g,onAppear:E,onAfterAppear:_,onAppearCancelled:T}=e,S=String(t.key),v=lg(n,t),b=(N,I)=>{N&&Jt(N,r,9,I)},A=(N,I)=>{const B=I[1];b(N,I),he(N)?N.every(X=>X.length<=1)&&B():N.length<=1&&B()},x={mode:s,persisted:o,beforeEnter(N){let I=a;if(!n.isMounted)if(i)I=g||a;else return;N._leaveCb&&N._leaveCb(!0);const B=v[S];B&&Dr(t,B)&&B.el._leaveCb&&B.el._leaveCb(),b(I,[N])},enter(N){let I=l,B=c,X=u;if(!n.isMounted)if(i)I=E||l,B=_||c,X=T||u;else return;let J=!1;const ne=N._enterCb=D=>{J||(J=!0,D?b(X,[N]):b(B,[N]),x.delayedLeave&&x.delayedLeave(),N._enterCb=void 0)};I?A(I,[N,ne]):ne()},leave(N,I){const B=String(t.key);if(N._enterCb&&N._enterCb(!0),n.isUnmounting)return I();b(f,[N]);let X=!1;const J=N._leaveCb=ne=>{X||(X=!0,I(),ne?b(w,[N]):b(h,[N]),N._leaveCb=void 0,v[B]===t&&delete v[B])};v[B]=t,d?A(d,[N,J]):J()},clone(N){return tc(N,e,n,r)}};return x}function ll(t){if(Aa(t))return t=mr(t),t.children=null,t}function gf(t){return Aa(t)?t.children?t.children[0]:void 0:t}function nc(t,e){t.shapeFlag&6&&t.component?nc(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function cg(t,e=!1,n){let r=[],i=0;for(let s=0;s1)for(let s=0;s!!t.type.__asyncLoader,Aa=t=>t.type.__isKeepAlive;function ZE(t,e){ug(t,"a",e)}function JE(t,e){ug(t,"da",e)}function ug(t,e,n=rt){const r=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(xa(e,r,n),n){let i=n.parent;for(;i&&i.parent;)Aa(i.parent.vnode)&&eT(r,e,n,i),i=i.parent}}function eT(t,e,n,r){const i=xa(e,t,r,!0);La(()=>{du(r[e],i)},n)}function xa(t,e,n=rt,r=!1){if(n){const i=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;is(),Vi(n);const a=Jt(e,n,t,o);return Br(),ss(),a});return r?i.unshift(s):i.push(s),s}}const Gn=t=>(e,n=rt)=>(!zs||t==="sp")&&xa(t,(...r)=>e(...r),n),dg=Gn("bm"),Su=Gn("m"),tT=Gn("bu"),nT=Gn("u"),fg=Gn("bum"),La=Gn("um"),rT=Gn("sp"),iT=Gn("rtg"),sT=Gn("rtc");function oT(t,e=rt){xa("ec",t,e)}function Gt(t,e){const n=ct;if(n===null)return t;const r=Na(n)||n.proxy,i=t.dirs||(t.dirs=[]);for(let s=0;se(o,a,void 0,s&&s[a]));else{const o=Object.keys(t);i=new Array(o.length);for(let a=0,l=o.length;aJo(e)?!(e.type===Rt||e.type===Ae&&!pg(e.children)):!0)?t:null}const rc=t=>t?kg(t)?Na(t)||t.proxy:rc(t.parent):null,ys=mt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>rc(t.parent),$root:t=>rc(t.root),$emit:t=>t.emit,$options:t=>Lu(t),$forceUpdate:t=>t.f||(t.f=()=>Tu(t.update)),$nextTick:t=>t.n||(t.n=tg.bind(t.proxy)),$watch:t=>GE.bind(t)}),cl=(t,e)=>t!==je&&!t.__isScriptSetup&&xe(t,e),aT={get({_:t},e){const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return s[e]}else{if(cl(r,e))return o[e]=1,r[e];if(i!==je&&xe(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&xe(c,e))return o[e]=3,s[e];if(n!==je&&xe(n,e))return o[e]=4,n[e];ic&&(o[e]=0)}}const u=ys[e];let f,d;if(u)return e==="$attrs"&&jt(t,"get",e),u(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==je&&xe(n,e))return o[e]=4,n[e];if(d=l.config.globalProperties,xe(d,e))return d[e]},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return cl(i,e)?(i[e]=n,!0):r!==je&&xe(r,e)?(r[e]=n,!0):xe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||t!==je&&xe(t,o)||cl(e,o)||(a=s[0])&&xe(a,o)||xe(r,o)||xe(ys,o)||xe(i.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:xe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let ic=!0;function lT(t){const e=Lu(t),n=t.proxy,r=t.ctx;ic=!1,e.beforeCreate&&vf(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:w,activated:g,deactivated:E,beforeDestroy:_,beforeUnmount:T,destroyed:S,unmounted:v,render:b,renderTracked:A,renderTriggered:x,errorCaptured:N,serverPrefetch:I,expose:B,inheritAttrs:X,components:J,directives:ne,filters:D}=e;if(c&&cT(c,r,null,t.appContext.config.unwrapInjectedRef),o)for(const W in o){const Z=o[W];be(Z)&&(r[W]=Z.bind(n))}if(i){const W=i.call(n,n);Ve(W)&&(t.data=Jr(W))}if(ic=!0,s)for(const W in s){const Z=s[W],oe=be(Z)?Z.bind(n,n):be(Z.get)?Z.get.bind(n,n):dn,le=!be(Z)&&be(Z.set)?Z.set.bind(n):dn,ae=He({get:oe,set:le});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>ae.value,set:ce=>ae.value=ce})}if(a)for(const W in a)gg(a[W],r,n,W);if(l){const W=be(l)?l.call(n):l;Reflect.ownKeys(W).forEach(Z=>{Mo(Z,W[Z])})}u&&vf(u,t,"c");function Y(W,Z){he(Z)?Z.forEach(oe=>W(oe.bind(n))):Z&&W(Z.bind(n))}if(Y(dg,f),Y(Su,d),Y(tT,h),Y(nT,w),Y(ZE,g),Y(JE,E),Y(oT,N),Y(sT,A),Y(iT,x),Y(fg,T),Y(La,v),Y(rT,I),he(B))if(B.length){const W=t.exposed||(t.exposed={});B.forEach(Z=>{Object.defineProperty(W,Z,{get:()=>n[Z],set:oe=>n[Z]=oe})})}else t.exposed||(t.exposed={});b&&t.render===dn&&(t.render=b),X!=null&&(t.inheritAttrs=X),J&&(t.components=J),ne&&(t.directives=ne)}function cT(t,e,n=dn,r=!1){he(t)&&(t=sc(t));for(const i in t){const s=t[i];let o;Ve(s)?"default"in s?o=kn(s.from||i,s.default,!0):o=kn(s.from||i):o=kn(s),lt(o)&&r?Object.defineProperty(e,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):e[i]=o}}function vf(t,e,n){Jt(he(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function gg(t,e,n,r){const i=r.includes(".")?ag(n,r):()=>n[r];if(Ke(t)){const s=e[t];be(s)&&ar(i,s)}else if(be(t))ar(i,t.bind(n));else if(Ve(t))if(he(t))t.forEach(s=>gg(s,e,n,r));else{const s=be(t.handler)?t.handler.bind(n):e[t.handler];be(s)&&ar(i,s,t)}}function Lu(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!n&&!r?l=e:(l={},i.length&&i.forEach(c=>Zo(l,c,o,!0)),Zo(l,e,o)),Ve(e)&&s.set(e,l),l}function Zo(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&Zo(t,s,n,!0),i&&i.forEach(o=>Zo(t,o,n,!0));for(const o in e)if(!(r&&o==="expose")){const a=uT[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const uT={data:bf,props:Or,emits:Or,methods:Or,computed:Or,beforeCreate:pt,created:pt,beforeMount:pt,mounted:pt,beforeUpdate:pt,updated:pt,beforeDestroy:pt,beforeUnmount:pt,destroyed:pt,unmounted:pt,activated:pt,deactivated:pt,errorCaptured:pt,serverPrefetch:pt,components:Or,directives:Or,watch:fT,provide:bf,inject:dT};function bf(t,e){return e?t?function(){return mt(be(t)?t.call(this,this):t,be(e)?e.call(this,this):e)}:e:t}function dT(t,e){return Or(sc(t),sc(e))}function sc(t){if(he(t)){const e={};for(let n=0;n0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,h]=vg(f,e,!0);mt(o,d),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return Ve(t)&&r.set(t,Ti),Ti;if(he(s))for(let u=0;u-1,h[1]=g<0||w-1||xe(h,"default"))&&a.push(f)}}}const c=[o,a];return Ve(t)&&r.set(t,c),c}function yf(t){return t[0]!=="$"}function wf(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:t===null?"null":""}function Ef(t,e){return wf(t)===wf(e)}function Tf(t,e){return he(e)?e.findIndex(n=>Ef(n,t)):be(e)&&Ef(e,t)?0:-1}const bg=t=>t[0]==="_"||t==="$stable",Pu=t=>he(t)?t.map(yn):[yn(t)],pT=(t,e,n)=>{if(e._n)return e;const r=Je((...i)=>Pu(e(...i)),n);return r._c=!1,r},yg=(t,e,n)=>{const r=t._ctx;for(const i in t){if(bg(i))continue;const s=t[i];if(be(s))e[i]=pT(i,s,r);else if(s!=null){const o=Pu(s);e[i]=()=>o}}},wg=(t,e)=>{const n=Pu(e);t.slots.default=()=>n},gT=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Ne(e),qo(e,"_",n)):yg(e,t.slots={})}else t.slots={},e&&wg(t,e);qo(t.slots,Pa,1)},_T=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,o=je;if(r.shapeFlag&32){const a=e._;a?n&&a===1?s=!1:(mt(i,e),!n&&a===1&&delete i._):(s=!e.$stable,yg(e,i)),o=e}else e&&(wg(t,e),o={default:1});if(s)for(const a in i)!bg(a)&&!(a in o)&&delete i[a]};function Eg(){return{app:null,config:{isNativeTag:Qw,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let vT=0;function bT(t,e){return function(r,i=null){be(r)||(r=Object.assign({},r)),i!=null&&!Ve(i)&&(i=null);const s=Eg(),o=new Set;let a=!1;const l=s.app={_uid:vT++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:VT,get config(){return s.config},set config(c){},use(c,...u){return o.has(c)||(c&&be(c.install)?(o.add(c),c.install(l,...u)):be(c)&&(o.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,f){if(!a){const d=re(r,i);return d.appContext=s,u&&e?e(d,c):t(d,c,f),a=!0,l._container=c,c.__vue_app__=l,Na(d.component)||d.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l}};return l}}function ac(t,e,n,r,i=!1){if(he(t)){t.forEach((d,h)=>ac(d,e&&(he(e)?e[h]:e),n,r,i));return}if(bs(r)&&!i)return;const s=r.shapeFlag&4?Na(r.component)||r.component.proxy:r.el,o=i?null:s,{i:a,r:l}=t,c=e&&e.r,u=a.refs===je?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ke(c)?(u[c]=null,xe(f,c)&&(f[c]=null)):lt(c)&&(c.value=null)),be(l))or(l,a,12,[o,u]);else{const d=Ke(l),h=lt(l);if(d||h){const w=()=>{if(t.f){const g=d?xe(f,l)?f[l]:u[l]:l.value;i?he(g)&&du(g,s):he(g)?g.includes(s)||g.push(s):d?(u[l]=[s],xe(f,l)&&(f[l]=u[l])):(l.value=[s],t.k&&(u[t.k]=l.value))}else d?(u[l]=o,xe(f,l)&&(f[l]=o)):h&&(l.value=o,t.k&&(u[t.k]=o))};o?(w.id=-1,Et(w,n)):w()}}}const Et=YE;function yT(t){return wT(t)}function wT(t,e){const n=rE();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=dn,insertStaticContent:w}=t,g=(C,m,p,k=null,P=null,V=null,U=!1,K=null,q=!!m.dynamicChildren)=>{if(C===m)return;C&&!Dr(C,m)&&(k=H(C),ce(C,P,V,!0),C=null),m.patchFlag===-2&&(q=!1,m.dynamicChildren=null);const{type:z,ref:O,shapeFlag:R}=m;switch(z){case so:E(C,m,p,k);break;case Rt:_(C,m,p,k);break;case ul:C==null&&T(m,p,k,U);break;case Ae:J(C,m,p,k,P,V,U,K,q);break;default:R&1?b(C,m,p,k,P,V,U,K,q):R&6?ne(C,m,p,k,P,V,U,K,q):(R&64||R&128)&&z.process(C,m,p,k,P,V,U,K,q,me)}O!=null&&P&&ac(O,C&&C.ref,V,m||C,!m)},E=(C,m,p,k)=>{if(C==null)r(m.el=a(m.children),p,k);else{const P=m.el=C.el;m.children!==C.children&&c(P,m.children)}},_=(C,m,p,k)=>{C==null?r(m.el=l(m.children||""),p,k):m.el=C.el},T=(C,m,p,k)=>{[C.el,C.anchor]=w(C.children,m,p,k,C.el,C.anchor)},S=({el:C,anchor:m},p,k)=>{let P;for(;C&&C!==m;)P=d(C),r(C,p,k),C=P;r(m,p,k)},v=({el:C,anchor:m})=>{let p;for(;C&&C!==m;)p=d(C),i(C),C=p;i(m)},b=(C,m,p,k,P,V,U,K,q)=>{U=U||m.type==="svg",C==null?A(m,p,k,P,V,U,K,q):I(C,m,P,V,U,K,q)},A=(C,m,p,k,P,V,U,K)=>{let q,z;const{type:O,props:R,shapeFlag:ie,transition:se,dirs:ge}=C;if(q=C.el=o(C.type,V,R&&R.is,R),ie&8?u(q,C.children):ie&16&&N(C.children,q,null,k,P,V&&O!=="foreignObject",U,K),ge&&xr(C,null,k,"created"),R){for(const Ee in R)Ee!=="value"&&!Oo(Ee)&&s(q,Ee,null,R[Ee],V,C.children,k,P,Q);"value"in R&&s(q,"value",null,R.value),(z=R.onVnodeBeforeMount)&&_n(z,k,C)}x(q,C,C.scopeId,U,k),ge&&xr(C,null,k,"beforeMount");const ke=(!P||P&&!P.pendingBranch)&&se&&!se.persisted;ke&&se.beforeEnter(q),r(q,m,p),((z=R&&R.onVnodeMounted)||ke||ge)&&Et(()=>{z&&_n(z,k,C),ke&&se.enter(q),ge&&xr(C,null,k,"mounted")},P)},x=(C,m,p,k,P)=>{if(p&&h(C,p),k)for(let V=0;V{for(let z=q;z{const K=m.el=C.el;let{patchFlag:q,dynamicChildren:z,dirs:O}=m;q|=C.patchFlag&16;const R=C.props||je,ie=m.props||je;let se;p&&Lr(p,!1),(se=ie.onVnodeBeforeUpdate)&&_n(se,p,m,C),O&&xr(m,C,p,"beforeUpdate"),p&&Lr(p,!0);const ge=P&&m.type!=="foreignObject";if(z?B(C.dynamicChildren,z,K,p,k,ge,V):U||Z(C,m,K,null,p,k,ge,V,!1),q>0){if(q&16)X(K,m,R,ie,p,k,P);else if(q&2&&R.class!==ie.class&&s(K,"class",null,ie.class,P),q&4&&s(K,"style",R.style,ie.style,P),q&8){const ke=m.dynamicProps;for(let Ee=0;Ee{se&&_n(se,p,m,C),O&&xr(m,C,p,"updated")},k)},B=(C,m,p,k,P,V,U)=>{for(let K=0;K{if(p!==k){if(p!==je)for(const K in p)!Oo(K)&&!(K in k)&&s(C,K,p[K],null,U,m.children,P,V,Q);for(const K in k){if(Oo(K))continue;const q=k[K],z=p[K];q!==z&&K!=="value"&&s(C,K,z,q,U,m.children,P,V,Q)}"value"in k&&s(C,"value",p.value,k.value)}},J=(C,m,p,k,P,V,U,K,q)=>{const z=m.el=C?C.el:a(""),O=m.anchor=C?C.anchor:a("");let{patchFlag:R,dynamicChildren:ie,slotScopeIds:se}=m;se&&(K=K?K.concat(se):se),C==null?(r(z,p,k),r(O,p,k),N(m.children,p,O,P,V,U,K,q)):R>0&&R&64&&ie&&C.dynamicChildren?(B(C.dynamicChildren,ie,p,P,V,U,K),(m.key!=null||P&&m===P.subTree)&&Nu(C,m,!0)):Z(C,m,p,O,P,V,U,K,q)},ne=(C,m,p,k,P,V,U,K,q)=>{m.slotScopeIds=K,C==null?m.shapeFlag&512?P.ctx.activate(m,p,k,U,q):D(m,p,k,P,V,U,q):L(C,m,q)},D=(C,m,p,k,P,V,U)=>{const K=C.component=PT(C,k,P);if(Aa(C)&&(K.ctx.renderer=me),NT(K),K.asyncDep){if(P&&P.registerDep(K,Y),!C.el){const q=K.subTree=re(Rt);_(null,q,m,p)}return}Y(K,C,m,p,P,V,U)},L=(C,m,p)=>{const k=m.component=C.component;if(UE(C,m,p))if(k.asyncDep&&!k.asyncResolved){W(k,m,p);return}else k.next=m,FE(k.update),k.update();else m.el=C.el,k.vnode=m},Y=(C,m,p,k,P,V,U)=>{const K=()=>{if(C.isMounted){let{next:O,bu:R,u:ie,parent:se,vnode:ge}=C,ke=O,Ee;Lr(C,!1),O?(O.el=ge.el,W(C,O,U)):O=ge,R&&Io(R),(Ee=O.props&&O.props.onVnodeBeforeUpdate)&&_n(Ee,se,O,ge),Lr(C,!0);const Ue=al(C),Bt=C.subTree;C.subTree=Ue,g(Bt,Ue,f(Bt.el),H(Bt),C,P,V),O.el=Ue.el,ke===null&&WE(C,Ue.el),ie&&Et(ie,P),(Ee=O.props&&O.props.onVnodeUpdated)&&Et(()=>_n(Ee,se,O,ge),P)}else{let O;const{el:R,props:ie}=m,{bm:se,m:ge,parent:ke}=C,Ee=bs(m);if(Lr(C,!1),se&&Io(se),!Ee&&(O=ie&&ie.onVnodeBeforeMount)&&_n(O,ke,m),Lr(C,!0),R&&de){const Ue=()=>{C.subTree=al(C),de(R,C.subTree,C,P,null)};Ee?m.type.__asyncLoader().then(()=>!C.isUnmounted&&Ue()):Ue()}else{const Ue=C.subTree=al(C);g(null,Ue,p,k,C,P,V),m.el=Ue.el}if(ge&&Et(ge,P),!Ee&&(O=ie&&ie.onVnodeMounted)){const Ue=m;Et(()=>_n(O,ke,Ue),P)}(m.shapeFlag&256||ke&&bs(ke.vnode)&&ke.vnode.shapeFlag&256)&&C.a&&Et(C.a,P),C.isMounted=!0,m=p=k=null}},q=C.effect=new mu(K,()=>Tu(z),C.scope),z=C.update=()=>q.run();z.id=C.uid,Lr(C,!0),z()},W=(C,m,p)=>{m.component=C;const k=C.vnode.props;C.vnode=m,C.next=null,mT(C,m.props,k,p),_T(C,m.children,p),is(),mf(),ss()},Z=(C,m,p,k,P,V,U,K,q=!1)=>{const z=C&&C.children,O=C?C.shapeFlag:0,R=m.children,{patchFlag:ie,shapeFlag:se}=m;if(ie>0){if(ie&128){le(z,R,p,k,P,V,U,K,q);return}else if(ie&256){oe(z,R,p,k,P,V,U,K,q);return}}se&8?(O&16&&Q(z,P,V),R!==z&&u(p,R)):O&16?se&16?le(z,R,p,k,P,V,U,K,q):Q(z,P,V,!0):(O&8&&u(p,""),se&16&&N(R,p,k,P,V,U,K,q))},oe=(C,m,p,k,P,V,U,K,q)=>{C=C||Ti,m=m||Ti;const z=C.length,O=m.length,R=Math.min(z,O);let ie;for(ie=0;ieO?Q(C,P,V,!0,!1,R):N(m,p,k,P,V,U,K,q,R)},le=(C,m,p,k,P,V,U,K,q)=>{let z=0;const O=m.length;let R=C.length-1,ie=O-1;for(;z<=R&&z<=ie;){const se=C[z],ge=m[z]=q?Jn(m[z]):yn(m[z]);if(Dr(se,ge))g(se,ge,p,null,P,V,U,K,q);else break;z++}for(;z<=R&&z<=ie;){const se=C[R],ge=m[ie]=q?Jn(m[ie]):yn(m[ie]);if(Dr(se,ge))g(se,ge,p,null,P,V,U,K,q);else break;R--,ie--}if(z>R){if(z<=ie){const se=ie+1,ge=seie)for(;z<=R;)ce(C[z],P,V,!0),z++;else{const se=z,ge=z,ke=new Map;for(z=ge;z<=ie;z++){const Nt=m[z]=q?Jn(m[z]):yn(m[z]);Nt.key!=null&&ke.set(Nt.key,z)}let Ee,Ue=0;const Bt=ie-ge+1;let oi=!1,yd=0;const as=new Array(Bt);for(z=0;z=Bt){ce(Nt,P,V,!0);continue}let gn;if(Nt.key!=null)gn=ke.get(Nt.key);else for(Ee=ge;Ee<=ie;Ee++)if(as[Ee-ge]===0&&Dr(Nt,m[Ee])){gn=Ee;break}gn===void 0?ce(Nt,P,V,!0):(as[gn-ge]=z+1,gn>=yd?yd=gn:oi=!0,g(Nt,m[gn],p,null,P,V,U,K,q),Ue++)}const wd=oi?ET(as):Ti;for(Ee=wd.length-1,z=Bt-1;z>=0;z--){const Nt=ge+z,gn=m[Nt],Ed=Nt+1{const{el:V,type:U,transition:K,children:q,shapeFlag:z}=C;if(z&6){ae(C.component.subTree,m,p,k);return}if(z&128){C.suspense.move(m,p,k);return}if(z&64){U.move(C,m,p,me);return}if(U===Ae){r(V,m,p);for(let R=0;RK.enter(V),P);else{const{leave:R,delayLeave:ie,afterLeave:se}=K,ge=()=>r(V,m,p),ke=()=>{R(V,()=>{ge(),se&&se()})};ie?ie(V,ge,ke):ke()}else r(V,m,p)},ce=(C,m,p,k=!1,P=!1)=>{const{type:V,props:U,ref:K,children:q,dynamicChildren:z,shapeFlag:O,patchFlag:R,dirs:ie}=C;if(K!=null&&ac(K,null,p,C,!0),O&256){m.ctx.deactivate(C);return}const se=O&1&&ie,ge=!bs(C);let ke;if(ge&&(ke=U&&U.onVnodeBeforeUnmount)&&_n(ke,m,C),O&6)$(C.component,p,k);else{if(O&128){C.suspense.unmount(p,k);return}se&&xr(C,null,m,"beforeUnmount"),O&64?C.type.remove(C,m,p,P,me,k):z&&(V!==Ae||R>0&&R&64)?Q(z,m,p,!1,!0):(V===Ae&&R&384||!P&&O&16)&&Q(q,m,p),k&&Oe(C)}(ge&&(ke=U&&U.onVnodeUnmounted)||se)&&Et(()=>{ke&&_n(ke,m,C),se&&xr(C,null,m,"unmounted")},p)},Oe=C=>{const{type:m,el:p,anchor:k,transition:P}=C;if(m===Ae){fe(p,k);return}if(m===ul){v(C);return}const V=()=>{i(p),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(C.shapeFlag&1&&P&&!P.persisted){const{leave:U,delayLeave:K}=P,q=()=>U(p,V);K?K(C.el,V,q):q()}else V()},fe=(C,m)=>{let p;for(;C!==m;)p=d(C),i(C),C=p;i(m)},$=(C,m,p)=>{const{bum:k,scope:P,update:V,subTree:U,um:K}=C;k&&Io(k),P.stop(),V&&(V.active=!1,ce(U,C,m,p)),K&&Et(K,m),Et(()=>{C.isUnmounted=!0},m),m&&m.pendingBranch&&!m.isUnmounted&&C.asyncDep&&!C.asyncResolved&&C.suspenseId===m.pendingId&&(m.deps--,m.deps===0&&m.resolve())},Q=(C,m,p,k=!1,P=!1,V=0)=>{for(let U=V;UC.shapeFlag&6?H(C.component.subTree):C.shapeFlag&128?C.suspense.next():d(C.anchor||C.el),ee=(C,m,p)=>{C==null?m._vnode&&ce(m._vnode,null,null,!0):g(m._vnode||null,C,m,null,null,null,p),mf(),rg(),m._vnode=C},me={p:g,um:ce,m:ae,r:Oe,mt:D,mc:N,pc:Z,pbc:B,n:H,o:t};let ve,de;return e&&([ve,de]=e(me)),{render:ee,hydrate:ve,createApp:bT(ee,ve)}}function Lr({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Nu(t,e,n=!1){const r=t.children,i=e.children;if(he(r)&&he(i))for(let s=0;s>1,t[n[a]]0&&(e[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=e[o];return n}const TT=t=>t.__isTeleport,ws=t=>t&&(t.disabled||t.disabled===""),Cf=t=>typeof SVGElement<"u"&&t instanceof SVGElement,lc=(t,e)=>{const n=t&&t.to;return Ke(n)?e?e(n):null:n},CT={__isTeleport:!0,process(t,e,n,r,i,s,o,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:w,createText:g,createComment:E}}=c,_=ws(e.props);let{shapeFlag:T,children:S,dynamicChildren:v}=e;if(t==null){const b=e.el=g(""),A=e.anchor=g("");h(b,n,r),h(A,n,r);const x=e.target=lc(e.props,w),N=e.targetAnchor=g("");x&&(h(N,x),o=o||Cf(x));const I=(B,X)=>{T&16&&u(S,B,X,i,s,o,a,l)};_?I(n,A):x&&I(x,N)}else{e.el=t.el;const b=e.anchor=t.anchor,A=e.target=t.target,x=e.targetAnchor=t.targetAnchor,N=ws(t.props),I=N?n:A,B=N?b:x;if(o=o||Cf(A),v?(d(t.dynamicChildren,v,I,i,s,o,a),Nu(t,e,!0)):l||f(t,e,I,B,i,s,o,a,!1),_)N||So(e,n,b,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const X=e.target=lc(e.props,w);X&&So(e,X,null,c,0)}else N&&So(e,A,x,c,1)}Tg(e)},remove(t,e,n,r,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=t;if(f&&s(u),(o||!ws(d))&&(s(c),a&16))for(let h=0;h0?un||Ti:null,kT(),js>0&&un&&un.push(t),t}function j(t,e,n,r,i,s){return Cg(y(t,e,n,r,i,s,!0))}function Te(t,e,n,r,i){return Cg(re(t,e,n,r,i,!0))}function Jo(t){return t?t.__v_isVNode===!0:!1}function Dr(t,e){return t.type===e.type&&t.key===e.key}const Pa="__vInternal",Sg=({key:t})=>t!=null?t:null,Do=({ref:t,ref_key:e,ref_for:n})=>t!=null?Ke(t)||lt(t)||be(t)?{i:ct,r:t,k:e,f:!!n}:t:null;function y(t,e=null,n=null,r=0,i=null,s=t===Ae?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Sg(e),ref:e&&Do(e),scopeId:ka,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ct};return a?(Ou(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=Ke(n)?8:16),js>0&&!o&&un&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&un.push(l),l}const re=AT;function AT(t,e=null,n=null,r=0,i=null,s=!1){if((!t||t===hg)&&(t=Rt),Jo(t)){const a=mr(t,e,!0);return n&&Ou(a,n),js>0&&!s&&un&&(a.shapeFlag&6?un[un.indexOf(t)]=a:un.push(a)),a.patchFlag|=-2,a}if(RT(t)&&(t=t.__vccOpts),e){e=Yt(e);let{class:a,style:l}=e;a&&!Ke(a)&&(e.class=Me(a)),Ve(l)&&(bu(l)&&!he(l)&&(l=mt({},l)),e.style=Ct(l))}const o=Ke(t)?1:KE(t)?128:TT(t)?64:Ve(t)?4:be(t)?2:0;return y(t,e,n,r,i,o,s,!0)}function Yt(t){return t?bu(t)||Pa in t?mt({},t):t:null}function mr(t,e,n=!1){const{props:r,ref:i,patchFlag:s,children:o}=t,a=e?Dt(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Sg(a),ref:e&&e.ref?n&&i?he(i)?i.concat(Do(e)):[i,Do(e)]:Do(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ae?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&mr(t.ssContent),ssFallback:t.ssFallback&&mr(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx}}function Le(t=" ",e=0){return re(so,null,t,e)}function _e(t="",e=!1){return e?(M(),Te(Rt,null,t)):re(Rt,null,t)}function yn(t){return t==null||typeof t=="boolean"?re(Rt):he(t)?re(Ae,null,t.slice()):typeof t=="object"?Jn(t):re(so,null,String(t))}function Jn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:mr(t)}function Ou(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(he(e))n=16;else if(typeof e=="object")if(r&65){const i=e.default;i&&(i._c&&(i._d=!1),Ou(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!(Pa in e)?e._ctx=ct:i===3&&ct&&(ct.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else be(e)?(e={default:e,_ctx:ct},n=32):(e=String(e),r&64?(n=16,e=[Le(e)]):n=8);t.children=e,t.shapeFlag|=n}function Dt(...t){const e={};for(let n=0;nrt||ct,Vi=t=>{rt=t,t.scope.on()},Br=()=>{rt&&rt.scope.off(),rt=null};function kg(t){return t.vnode.shapeFlag&4}let zs=!1;function NT(t,e=!1){zs=e;const{props:n,children:r}=t.vnode,i=kg(t);hT(t,n,i,e),gT(t,r);const s=i?OT(t,e):void 0;return zs=!1,s}function OT(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=yu(new Proxy(t.ctx,aT));const{setup:r}=n;if(r){const i=t.setupContext=r.length>1?MT(t):null;Vi(t),is();const s=or(r,t,0,[t.props,i]);if(ss(),Br(),Ip(s)){if(s.then(Br,Br),e)return s.then(o=>{kf(t,o,e)}).catch(o=>{Ca(o,t,0)});t.asyncDep=s}else kf(t,s,e)}else Ag(t,e)}function kf(t,e,n){be(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ve(e)&&(t.setupState=Zp(e)),Ag(t,n)}let Af;function Ag(t,e,n){const r=t.type;if(!t.render){if(!e&&Af&&!r.render){const i=r.template||Lu(t).template;if(i){const{isCustomElement:s,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=r,c=mt(mt({isCustomElement:s,delimiters:a},o),l);r.render=Af(i,c)}}t.render=r.render||dn}Vi(t),is(),lT(t),ss(),Br()}function IT(t){return new Proxy(t.attrs,{get(e,n){return jt(t,"get","$attrs"),e[n]}})}function MT(t){const e=r=>{t.exposed=r||{}};let n;return{get attrs(){return n||(n=IT(t))},slots:t.slots,emit:t.emit,expose:e}}function Na(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Zp(yu(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ys)return ys[n](t)},has(e,n){return n in e||n in ys}}))}function DT(t,e=!0){return be(t)?t.displayName||t.name:t.name||e&&t.__name}function RT(t){return be(t)&&"__vccOpts"in t}const He=(t,e)=>DE(t,e,zs);function Tr(t,e,n){const r=arguments.length;return r===2?Ve(e)&&!he(e)?Jo(e)?re(t,null,[e]):re(t,e):re(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Jo(n)&&(n=[n]),re(t,e,n))}const $T=Symbol(""),FT=()=>kn($T),VT="3.2.45",jT="http://www.w3.org/2000/svg",Rr=typeof document<"u"?document:null,xf=Rr&&Rr.createElement("template"),zT={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e?Rr.createElementNS(jT,t):Rr.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>Rr.createTextNode(t),createComment:t=>Rr.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Rr.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{xf.innerHTML=r?`${t}`:t;const a=xf.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function HT(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function BT(t,e,n){const r=t.style,i=Ke(n);if(n&&!i){for(const s in n)cc(r,s,n[s]);if(e&&!Ke(e))for(const s in e)n[s]==null&&cc(r,s,"")}else{const s=r.display;i?e!==n&&(r.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(r.display=s)}}const Lf=/\s*!important$/;function cc(t,e,n){if(he(n))n.forEach(r=>cc(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=UT(t,e);Lf.test(n)?t.setProperty(rs(r),n.replace(Lf,""),"important"):t[r]=n}}const Pf=["Webkit","Moz","ms"],dl={};function UT(t,e){const n=dl[e];if(n)return n;let r=Ln(e);if(r!=="filter"&&r in t)return dl[e]=r;r=Ea(r);for(let i=0;ifl||(XT.then(()=>fl=0),fl=Date.now());function ZT(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Jt(JT(r,n.value),e,5,[r])};return n.value=t,n.attached=QT(),n}function JT(t,e){if(he(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const If=/^on[a-z]/,eC=(t,e,n,r,i=!1,s,o,a,l)=>{e==="class"?HT(t,r,i):e==="style"?BT(t,n,r):ya(e)?uu(e)||GT(t,e,n,r,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):tC(t,e,r,i))?KT(t,e,r,s,o,a,l):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),WT(t,e,r,i))};function tC(t,e,n,r){return r?!!(e==="innerHTML"||e==="textContent"||e in t&&If.test(e)&&be(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||If.test(e)&&Ke(n)?!1:e in t}const nC={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};QE.props;const pr=t=>{const e=t.props["onUpdate:modelValue"]||!1;return he(e)?n=>Io(e,n):e};function rC(t){t.target.composing=!0}function Mf(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const iC={created(t,{modifiers:{lazy:e,trim:n,number:r}},i){t._assign=pr(i);const s=r||i.props&&i.props.type==="number";Fn(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),s&&(a=Rs(a)),t._assign(a)}),n&&Fn(t,"change",()=>{t.value=t.value.trim()}),e||(Fn(t,"compositionstart",rC),Fn(t,"compositionend",Mf),Fn(t,"change",Mf))},mounted(t,{value:e}){t.value=e==null?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:r,number:i}},s){if(t._assign=pr(s),t.composing||document.activeElement===t&&t.type!=="range"&&(n||r&&t.value.trim()===e||(i||t.type==="number")&&Rs(t.value)===e))return;const o=e==null?"":e;t.value!==o&&(t.value=o)}},sC={deep:!0,created(t,e,n){t._assign=pr(n),Fn(t,"change",()=>{const r=t._modelValue,i=ji(t),s=t.checked,o=t._assign;if(he(r)){const a=cu(r,i),l=a!==-1;if(s&&!l)o(r.concat(i));else if(!s&&l){const c=[...r];c.splice(a,1),o(c)}}else if(ns(r)){const a=new Set(r);s?a.add(i):a.delete(i),o(a)}else o(xg(t,s))})},mounted:Df,beforeUpdate(t,e,n){t._assign=pr(n),Df(t,e,n)}};function Df(t,{value:e,oldValue:n},r){t._modelValue=e,he(e)?t.checked=cu(e,r.props.value)>-1:ns(e)?t.checked=e.has(r.props.value):e!==n&&(t.checked=qr(e,xg(t,!0)))}const hl={created(t,{value:e},n){t.checked=qr(e,n.props.value),t._assign=pr(n),Fn(t,"change",()=>{t._assign(ji(t))})},beforeUpdate(t,{value:e,oldValue:n},r){t._assign=pr(r),e!==n&&(t.checked=qr(e,r.props.value))}},Ro={deep:!0,created(t,{value:e,modifiers:{number:n}},r){const i=ns(e);Fn(t,"change",()=>{const s=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?Rs(ji(o)):ji(o));t._assign(t.multiple?i?new Set(s):s:s[0])}),t._assign=pr(r)},mounted(t,{value:e}){Rf(t,e)},beforeUpdate(t,e,n){t._assign=pr(n)},updated(t,{value:e}){Rf(t,e)}};function Rf(t,e){const n=t.multiple;if(!(n&&!he(e)&&!ns(e))){for(let r=0,i=t.options.length;r-1:s.selected=e.has(o);else if(qr(ji(s),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function ji(t){return"_value"in t?t._value:t.value}function xg(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const oC=["ctrl","shift","alt","meta"],aC={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>oC.some(n=>t[`${n}Key`]&&!e.includes(n))},Hs=(t,e)=>(n,...r)=>{for(let i=0;i{us(t,!1)}):us(t,e))},beforeUnmount(t,{value:e}){us(t,e)}};function us(t,e){t.style.display=e?t._vod:"none"}const lC=mt({patchProp:eC},zT);let $f;function cC(){return $f||($f=yT(lC))}const uC=(...t)=>{const e=cC().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=dC(r);if(!i)return;const s=e._component;!be(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function dC(t){return Ke(t)?document.querySelector(t):t}/** * vue-meta v3.0.0-alpha.10 * (c) 2022 * - Pim (@pimlie) * - All the amazing contributors * @license MIT - */const fC=(t,e)=>(n,r)=>{let i=-1;if(r.reduce((s,o,a)=>{const l=t(s,o);return l!==s?(i=a,l):s},e),i>-1)return n[i]},hC=fC((t,e)=>{const{depth:n}=e;return!t||n>t?n:t});var mC=Object.freeze({__proto__:null,setup:t=>{let e=0;if(t.vm){let{vm:n}=t;do n.parent&&(e++,n=n.parent);while(n&&n.parent&&n!==n.root)}t.depth=e},resolve:hC});const pC={body:{tag:"script",to:"body"},base:{valueAttribute:"href"},charset:{tag:"meta",nameless:!0,valueAttribute:"charset"},description:{tag:"meta"},og:{group:!0,namespacedAttribute:!0,tag:"meta",keyAttribute:"property"},twitter:{group:!0,namespacedAttribute:!0,tag:"meta"},htmlAttrs:{attributesFor:"html"},headAttrs:{attributesFor:"head"},bodyAttrs:{attributesFor:"body"}},gC={title:{attributes:!1},base:{contentAsAttribute:!0,attributes:["href","target"]},meta:{contentAsAttribute:!0,keyAttribute:"name",attributes:["content","name","http-equiv","charset"]},link:{contentAsAttribute:!0,attributes:["href","crossorigin","rel","media","integrity","hreflang","type","referrerpolicy","sizes","imagesrcset","imagesizes","as","color"]},style:{attributes:["media"]},script:{attributes:["src","type","nomodule","async","defer","crossorigin","integrity","referrerpolicy"]},noscript:{attributes:!1}};Object.freeze({}),Object.freeze([]);const en=Array.isArray,Ts=t=>typeof t=="function",Ff=t=>typeof t=="string",Oa=t=>t!==null&&typeof t=="object",_C=Object.prototype.toString,Cs=t=>_C.call(t)==="[object Object]",Vf=Symbol("kIsProxy"),vC=Symbol("kProxySources"),Lg=Symbol("kProxyTarget"),gi=Symbol("kResolveContext");function Bs(t){if(en(t))return t.map(Bs);if(Oa(t)){const e={};for(const n in t)e[n]=n==="context"?t[n]:Bs(t[n]);return e}return t}const $o=(t,e,n)=>{const r=[];for(const i of t)i&&e in i&&(r.push(i[e]),n&&n(i));return r},ea=(t,e=[],n,r)=>{if(!n&&!r&&({active:n,sources:r}=t,e.length))for(let o=0;ol[a]).filter(Boolean)}if(!n||!r)return;const i=((o,...a)=>{const l=o?Object.keys(o):[];if(a){for(const c of a)if(c&&Oa(c))for(const u in c)l.includes(u)||l.push(u)}return l})(...r),s=Object.keys(n);for(const o of s)i.includes(o)||delete n[o];for(const o of i){let a=!1;for(let f=0;fl.push(f[gi]));let u=t.resolve(c,l,n[o],o,e);Cs(u)&&(u=Bs(u)),n[o]=u}},Pg=(t,e,n,r=[])=>{const i=bC(t,n,r),s=yu(new Proxy(e,i));return!r.length&&t.sources&&t.sources.push(s),s},bC=(t,e,n=[])=>({get:(r,i,s)=>{if(i===Vf)return!0;if(i===vC)return t.sources;if(i===Lg)return r;if(i===gi)return e;let o=Reflect.get(r,i,s);if(!Oa(o))return o;if(!o[Vf]){const a=[...n,i];o=Pg(t,o,e,a),Reflect.set(r,i,o)}return o},set:(r,i,s)=>{const o=Reflect.set(r,i,s);if(o){const a=en(r);let l,c=!1,{sources:u,active:f}=t,d=0;for(const E of n){if(u=$o(u,E),a&&d===n.length-1){l=E;break}en(f)&&(c=!0),f=f[E],d++}if(c)return ea(t),o;if(Cs(s))return ea(t,n),o;let h,w=[];a?(h=u,w=u.map(E=>E[gi])):h=$o(u,i,E=>w.push(E[gi]));let g=t.resolve(h,w,f,i,n);Cs(g)&&(g=Bs(g)),a&&l?f[l]=g:f[i]=g}return o},deleteProperty:(r,i)=>{const s=Reflect.deleteProperty(r,i);if(s){const o=en(r);let a,l=t.sources,c=t.active,u=0;for(const f of n){if(l=l.map(d=>d&&d[f]),o&&u===n.length-1){a=f;break}c=c[f],u++}if(l.some(f=>f&&i in f)){let f,d=[];o?(f=l,d=l.map(w=>w[gi])):f=$o(l,i,w=>d.push(w[gi]));let h=t.resolve(f,d,c,i,n);Cs(h)&&(h=Bs(h)),o&&a?c[a]=h:c[i]=h}else delete c[i]}return s}}),ml={};function yC(t,e,n,r){return"attributesFor"in r?function(i,s,o,a){const{attributesFor:l}=a;if(!l||!o)return;if(i.isSSR)return{to:"",vnode:Tr(`ssr-${l}`,o)};if(!ml[l]){const[d,h]=Array.from(document.querySelectorAll(l));if(!d)return void console.error("Could not find element for selector",l,", won't render attributes");h&&console.warn("Found multiple elements for selector",l),ml[l]={el:d,attrs:[]}}const{el:c,attrs:u}=ml[l];for(const d in o){let h=Fo(i,`${s}(${d})`,o[d],o);en(h)&&(h=h.join(",")),c.setAttribute(d,h||""),u.includes(d)||u.push(d)}const f=u.filter(d=>!o[d]);for(const d of f)c.removeAttribute(d)}(t,e,n,r):"group"in r?function(i,s,o,a){return en(o)?(console.warn("Specifying an array for group properties isnt supported"),[]):Object.keys(o).map(l=>{const c={group:s,data:o};if(a.namespaced)c.tagNamespace=a.namespaced===!0?s:a.namespaced;else if(a.namespacedAttribute){const u=a.namespacedAttribute===!0?s:a.namespacedAttribute;c.fullName=`${u}:${l}`,c.slotName=`${u}(${l})`}return ta(i,s,o[l],a,c)}).filter(Boolean).flat()}(t,e,n,r):ta(t,e,n,r)}function ta(t,e,n,r={},i){const s=["content","json","rawContent"],o=E=>function(_,T){for(const S of _){const v=gC[S];if(S&&v)return v[T]}}([a,r.tag],E);if(en(n))return n.map(E=>ta(t,e,E,r,i)).filter(Boolean).flat();const{tag:a=r.tag||e}=n;let l="",c=!1,u=!1;if(Ff(n))l=n;else if(n.children&&en(n.children))c=!0,l=n.children.map(E=>{const _=ta(t,e,E,r,i);return en(_)?_.map(({vnode:T})=>T):_&&_.vnode});else{let E=0;for(const _ of s){if(!l&&n[_]){l=E===1?JSON.stringify(n[_]):n[_],u=E>1;break}E++}}const f=i&&i.fullName||e,d=i&&i.slotName||e;let{attrs:h}=n;if(h||typeof n!="object")h||(h={});else{h={...n},delete h.tag,delete h.children,delete h.to;for(const E of s)delete h[E]}if(c)l=Fo(t,d,l,n);else{const E=!!o("contentAsAttribute");let{valueAttribute:_}=r;if(!_&&E){const[T]=o("attributes");_=Ff(E)?E:T}if(_){const{nameless:T}=r;if(!T){const S=r.keyAttribute||o("keyAttribute");S&&(h[S]=f)}h[_]=Fo(t,d,h[_]||l,i),l=""}else l=Fo(t,d,l,n)}const w=i&&i.tagNamespace?`${i.tagNamespace}:${a}`:a;if(w==="title"&&!t.isSSR)return void(document.title=l);u&&l&&(h.innerHTML=l);const g=Tr(w,h,l||void 0);return{to:n.to,vnode:g}}function Fo({metainfo:t,slots:e},n,r,i){const s=e&&e[n];if(!s||!Ts(s))return r;const o={content:r,metainfo:t};if(i&&i.group){const{group:l,data:c}=i;o[l]=c}const a=s(o);if(a&&a.length){const{children:l}=a[0];return l?l.toString():""}return r}const wC=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",EC=(t=>wC?Symbol("[vue-meta]: "+t):"[vue-meta]: "+t)("meta_active");function Ng(t,e,n){for(const r in e)r in n?Oa(t[r])?Ng(t[r],e[r],n[r]):e[r]!==n[r]&&(t[r]=e[r]):t[r]=e[r];for(const r in n)e&&r in e||delete t[r]}function Og(t){if(t||(t=Pn()||void 0),t)return t.appContext.config.globalProperties.$metaManager}function zf(t,e){const n=Pn()||void 0;if(!e&&n&&(e=Og(n)),!e)throw new Error("No manager or current instance");bu(t)&&(ar(t,(i,s)=>{Ng(r.meta,i,s)}),t=t.value);const r=e.addMeta(t,n);return r}const TC=Cu({name:"Metainfo",inheritAttrs:!1,setup:(t,{slots:e})=>()=>{const n=Og();if(n)return n.render({slots:e})}});function Hf(t,e,n,r){const i=en(r)?r:[r];t?n.endsWith("Attrs")||i.forEach(s=>{s.props||(s.props={}),s.props["data-vm-ssr"]=!0}):i.forEach((s,o)=>{s.type===Rt&&i.splice(o,1)}),e[n]||(e[n]=[]),e[n].push(...i)}const CC=(t=!1,e,n)=>Vo.create(t,e||pC,n||mC),bd=class{constructor(e,n,r,i){kr(this,"isSSR",!1);kr(this,"config");kr(this,"target");kr(this,"resolver");kr(this,"ssrCleanedUp",!1);this.isSSR=e,this.config=n,this.target=r,i&&"setup"in i&&Ts(i.setup)&&(this.resolver=i)}install(e){e.component("Metainfo",TC),e.config.globalProperties.$metaManager=this,e.provide(EC,this.target.context.active)}addMeta(e,n){n||(n=Pn()||void 0);const r={removed:[]},i={vm:n},{resolver:s}=this;s&&s.setup&&s.setup(i);const o=this.target.addSource(e,i,!0),a=l=>this.unmount(!!l,o,r,n);return n&&La(a),{meta:o,onRemoved:l=>r.removed.push(l),unmount:a}}unmount(e,n,r,i){if(i){const{$el:s}=i.proxy;if(s&&s.offsetParent){let o=new MutationObserver(a=>{for(const{removedNodes:l}of a)l&&l.forEach(c=>{c===s&&o&&(o.disconnect(),o=void 0,this.reallyUnmount(e,n,r))})});return void o.observe(s.parentNode,{childList:!0})}}this.reallyUnmount(e,n,r)}async reallyUnmount(e,n,r){this.target.delSource(n),!e&&r&&await Promise.all(r.removed.map(i=>i()))}render({slots:e}={}){const n=this.target.context.active,{isSSR:r}=this;if(!r&&!this.ssrCleanedUp){this.ssrCleanedUp=!0;const s=()=>{const o=document.querySelectorAll("[data-vm-ssr]");o&&o.length&&o.forEach(a=>a.parentNode&&a.parentNode.removeChild(a))};document.readyState==="loading"?window.addEventListener("DOMContentLoaded",s,{once:!0}):s()}const i={};for(const s in n){const o=this.config[s]||{};let a=yC({isSSR:r,metainfo:n,slots:e},s,n[s],o);if(!a)continue;en(a)||(a=[a]);let l=s!=="base"&&n[s].to;!l&&"to"in o&&(l=o.to),!l&&"attributesFor"in o&&(l=s);for(const{to:c,vnode:u}of a)Hf(this.isSSR,i,c||l||"head",u)}if(e)for(const s in e){const o=s==="default"?"head":s;if(o!=="head"&&o!=="body")continue;const a=e[s];Ts(a)&&Hf(this.isSSR,i,o,a({metainfo:n}))}return Object.keys(i).map(s=>Tr(io,{to:s},i[s]))}};let Vo=bd;kr(Vo,"create",(e,n,r)=>{const i=((s,o)=>{const a=[],l={active:o,resolve:s,sources:a},c=()=>ea(l);return{context:l,compute:c,addSource:(u,f,d=!1)=>{const h=Pg(l,u,f||{});return d&&c(),h},delSource:(u,f=!0)=>{const d=a.findIndex(h=>h===u||h[Lg]===u);return d>-1&&(a.splice(d,1),f&&c(),!0)}}})((s,o,a,l,c)=>Ts(r)?r(s,o,a,l,c):r.resolve(s,o,a,l,c),Jr({}));return new bd(e,n,i,r)});const SC={keyName:"metaInfo"},AC=t=>({created(){const e=Pn();if(!(e!=null&&e.type)||!(t.keyName in e.type))return;const n=e.type[t.keyName];Ts(n)?zf(je(n.bind(this))):zf(n)}}),kC=(t,e={})=>{const n=Object.assign({},SC,e);t.mixin(AC(n))};function Ig(t,e,n){const r=e.shift();if(t[r]||(t[r]={}),!e.length){n&&typeof n=="object"&&!Array.isArray(n)?t[r]={...t[r],...n}:t[r]=n;return}Ig(t[r],e,n)}const jf=Jr({loadpoints:[]}),uc={state:jf,update:function(t){Object.keys(t).forEach(function(e){typeof window.app[e]=="function"?window.app[e]({message:t[e]}):Ig(jf,e.split("."),t[e])})}},we=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},xC={name:"App",props:{notifications:Array,offline:Boolean},data:()=>({reconnectTimeout:null,ws:null}),mounted:function(){this.connect(),document.addEventListener("visibilitychange",this.pageVisibilityChanged,!1)},unmounted:function(){this.disconnect(),window.clearTimeout(this.reconnectTimeout),document.removeEventListener("visibilitychange",this.pageVisibilityChanged,!1)},methods:{pageVisibilityChanged:function(){document.hidden?(window.clearTimeout(this.reconnectTimeout),this.disconnect()):this.connect()},reconnect:function(){window.clearTimeout(this.reconnectTimeout),this.reconnectTimeout=window.setTimeout(()=>{this.disconnect(),this.connect()},2500)},disconnect:function(){console.log("websocket disconnecting"),this.ws&&(this.ws.onerror=null,this.ws.onopen=null,this.ws.onclose=null,this.ws.onmessage=null,this.ws.close(),this.ws=null)},connect:function(){if(console.log("websocket connect"),!("WebSocket"in window)){window.app.error({message:"Web sockets not supported. Please upgrade your browser."});return}if(this.ws){console.log("websocket already connected");return}const e=window.location,r=(e.protocol=="https:"?"wss:":"ws:")+"//"+e.hostname+(e.port?":"+e.port:"")+e.pathname+"ws";this.ws=new WebSocket(r),this.ws.onerror=()=>{console.error({message:"Websocket error. Trying to reconnect."}),this.ws.close()},this.ws.onopen=()=>{console.log("websocket connected"),window.app.setOnline()},this.ws.onclose=()=>{console.log("websocket disconnected"),window.app.setOffline(),this.reconnect()},this.ws.onmessage=i=>{try{var s=JSON.parse(i.data);uc.update(s)}catch(o){window.app.error({message:`Failed to parse web socket data: ${o.message} [${i.data}]`})}}},reload(){window.location.reload()}},metaInfo(){return{title:uc.state.siteTitle||""}}},LC={class:"app overflow-hidden"};function PC(t,e,n,r,i,s){const o=ue("metainfo"),a=ue("router-view");return M(),z("div",LC,[re(o,null,{title:Je(({content:l})=>[Le(F(l?`${l} | evcc`:"evcc"),1)]),_:1}),re(a,{notifications:n.notifications,offline:n.offline},null,8,["notifications","offline"])])}const NC=we(xC,[["render",PC],["__scopeId","data-v-8c56982e"]]);function Dn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mg(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*! + */const fC=(t,e)=>(n,r)=>{let i=-1;if(r.reduce((s,o,a)=>{const l=t(s,o);return l!==s?(i=a,l):s},e),i>-1)return n[i]},hC=fC((t,e)=>{const{depth:n}=e;return!t||n>t?n:t});var mC=Object.freeze({__proto__:null,setup:t=>{let e=0;if(t.vm){let{vm:n}=t;do n.parent&&(e++,n=n.parent);while(n&&n.parent&&n!==n.root)}t.depth=e},resolve:hC});const pC={body:{tag:"script",to:"body"},base:{valueAttribute:"href"},charset:{tag:"meta",nameless:!0,valueAttribute:"charset"},description:{tag:"meta"},og:{group:!0,namespacedAttribute:!0,tag:"meta",keyAttribute:"property"},twitter:{group:!0,namespacedAttribute:!0,tag:"meta"},htmlAttrs:{attributesFor:"html"},headAttrs:{attributesFor:"head"},bodyAttrs:{attributesFor:"body"}},gC={title:{attributes:!1},base:{contentAsAttribute:!0,attributes:["href","target"]},meta:{contentAsAttribute:!0,keyAttribute:"name",attributes:["content","name","http-equiv","charset"]},link:{contentAsAttribute:!0,attributes:["href","crossorigin","rel","media","integrity","hreflang","type","referrerpolicy","sizes","imagesrcset","imagesizes","as","color"]},style:{attributes:["media"]},script:{attributes:["src","type","nomodule","async","defer","crossorigin","integrity","referrerpolicy"]},noscript:{attributes:!1}};Object.freeze({}),Object.freeze([]);const en=Array.isArray,Ts=t=>typeof t=="function",Ff=t=>typeof t=="string",Oa=t=>t!==null&&typeof t=="object",_C=Object.prototype.toString,Cs=t=>_C.call(t)==="[object Object]",Vf=Symbol("kIsProxy"),vC=Symbol("kProxySources"),Lg=Symbol("kProxyTarget"),gi=Symbol("kResolveContext");function Bs(t){if(en(t))return t.map(Bs);if(Oa(t)){const e={};for(const n in t)e[n]=n==="context"?t[n]:Bs(t[n]);return e}return t}const $o=(t,e,n)=>{const r=[];for(const i of t)i&&e in i&&(r.push(i[e]),n&&n(i));return r},ea=(t,e=[],n,r)=>{if(!n&&!r&&({active:n,sources:r}=t,e.length))for(let o=0;ol[a]).filter(Boolean)}if(!n||!r)return;const i=((o,...a)=>{const l=o?Object.keys(o):[];if(a){for(const c of a)if(c&&Oa(c))for(const u in c)l.includes(u)||l.push(u)}return l})(...r),s=Object.keys(n);for(const o of s)i.includes(o)||delete n[o];for(const o of i){let a=!1;for(let f=0;fl.push(f[gi]));let u=t.resolve(c,l,n[o],o,e);Cs(u)&&(u=Bs(u)),n[o]=u}},Pg=(t,e,n,r=[])=>{const i=bC(t,n,r),s=yu(new Proxy(e,i));return!r.length&&t.sources&&t.sources.push(s),s},bC=(t,e,n=[])=>({get:(r,i,s)=>{if(i===Vf)return!0;if(i===vC)return t.sources;if(i===Lg)return r;if(i===gi)return e;let o=Reflect.get(r,i,s);if(!Oa(o))return o;if(!o[Vf]){const a=[...n,i];o=Pg(t,o,e,a),Reflect.set(r,i,o)}return o},set:(r,i,s)=>{const o=Reflect.set(r,i,s);if(o){const a=en(r);let l,c=!1,{sources:u,active:f}=t,d=0;for(const E of n){if(u=$o(u,E),a&&d===n.length-1){l=E;break}en(f)&&(c=!0),f=f[E],d++}if(c)return ea(t),o;if(Cs(s))return ea(t,n),o;let h,w=[];a?(h=u,w=u.map(E=>E[gi])):h=$o(u,i,E=>w.push(E[gi]));let g=t.resolve(h,w,f,i,n);Cs(g)&&(g=Bs(g)),a&&l?f[l]=g:f[i]=g}return o},deleteProperty:(r,i)=>{const s=Reflect.deleteProperty(r,i);if(s){const o=en(r);let a,l=t.sources,c=t.active,u=0;for(const f of n){if(l=l.map(d=>d&&d[f]),o&&u===n.length-1){a=f;break}c=c[f],u++}if(l.some(f=>f&&i in f)){let f,d=[];o?(f=l,d=l.map(w=>w[gi])):f=$o(l,i,w=>d.push(w[gi]));let h=t.resolve(f,d,c,i,n);Cs(h)&&(h=Bs(h)),o&&a?c[a]=h:c[i]=h}else delete c[i]}return s}}),ml={};function yC(t,e,n,r){return"attributesFor"in r?function(i,s,o,a){const{attributesFor:l}=a;if(!l||!o)return;if(i.isSSR)return{to:"",vnode:Tr(`ssr-${l}`,o)};if(!ml[l]){const[d,h]=Array.from(document.querySelectorAll(l));if(!d)return void console.error("Could not find element for selector",l,", won't render attributes");h&&console.warn("Found multiple elements for selector",l),ml[l]={el:d,attrs:[]}}const{el:c,attrs:u}=ml[l];for(const d in o){let h=Fo(i,`${s}(${d})`,o[d],o);en(h)&&(h=h.join(",")),c.setAttribute(d,h||""),u.includes(d)||u.push(d)}const f=u.filter(d=>!o[d]);for(const d of f)c.removeAttribute(d)}(t,e,n,r):"group"in r?function(i,s,o,a){return en(o)?(console.warn("Specifying an array for group properties isnt supported"),[]):Object.keys(o).map(l=>{const c={group:s,data:o};if(a.namespaced)c.tagNamespace=a.namespaced===!0?s:a.namespaced;else if(a.namespacedAttribute){const u=a.namespacedAttribute===!0?s:a.namespacedAttribute;c.fullName=`${u}:${l}`,c.slotName=`${u}(${l})`}return ta(i,s,o[l],a,c)}).filter(Boolean).flat()}(t,e,n,r):ta(t,e,n,r)}function ta(t,e,n,r={},i){const s=["content","json","rawContent"],o=E=>function(_,T){for(const S of _){const v=gC[S];if(S&&v)return v[T]}}([a,r.tag],E);if(en(n))return n.map(E=>ta(t,e,E,r,i)).filter(Boolean).flat();const{tag:a=r.tag||e}=n;let l="",c=!1,u=!1;if(Ff(n))l=n;else if(n.children&&en(n.children))c=!0,l=n.children.map(E=>{const _=ta(t,e,E,r,i);return en(_)?_.map(({vnode:T})=>T):_&&_.vnode});else{let E=0;for(const _ of s){if(!l&&n[_]){l=E===1?JSON.stringify(n[_]):n[_],u=E>1;break}E++}}const f=i&&i.fullName||e,d=i&&i.slotName||e;let{attrs:h}=n;if(h||typeof n!="object")h||(h={});else{h={...n},delete h.tag,delete h.children,delete h.to;for(const E of s)delete h[E]}if(c)l=Fo(t,d,l,n);else{const E=!!o("contentAsAttribute");let{valueAttribute:_}=r;if(!_&&E){const[T]=o("attributes");_=Ff(E)?E:T}if(_){const{nameless:T}=r;if(!T){const S=r.keyAttribute||o("keyAttribute");S&&(h[S]=f)}h[_]=Fo(t,d,h[_]||l,i),l=""}else l=Fo(t,d,l,n)}const w=i&&i.tagNamespace?`${i.tagNamespace}:${a}`:a;if(w==="title"&&!t.isSSR)return void(document.title=l);u&&l&&(h.innerHTML=l);const g=Tr(w,h,l||void 0);return{to:n.to,vnode:g}}function Fo({metainfo:t,slots:e},n,r,i){const s=e&&e[n];if(!s||!Ts(s))return r;const o={content:r,metainfo:t};if(i&&i.group){const{group:l,data:c}=i;o[l]=c}const a=s(o);if(a&&a.length){const{children:l}=a[0];return l?l.toString():""}return r}const wC=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",EC=(t=>wC?Symbol("[vue-meta]: "+t):"[vue-meta]: "+t)("meta_active");function Ng(t,e,n){for(const r in e)r in n?Oa(t[r])?Ng(t[r],e[r],n[r]):e[r]!==n[r]&&(t[r]=e[r]):t[r]=e[r];for(const r in n)e&&r in e||delete t[r]}function Og(t){if(t||(t=Pn()||void 0),t)return t.appContext.config.globalProperties.$metaManager}function jf(t,e){const n=Pn()||void 0;if(!e&&n&&(e=Og(n)),!e)throw new Error("No manager or current instance");bu(t)&&(ar(t,(i,s)=>{Ng(r.meta,i,s)}),t=t.value);const r=e.addMeta(t,n);return r}const TC=Cu({name:"Metainfo",inheritAttrs:!1,setup:(t,{slots:e})=>()=>{const n=Og();if(n)return n.render({slots:e})}});function zf(t,e,n,r){const i=en(r)?r:[r];t?n.endsWith("Attrs")||i.forEach(s=>{s.props||(s.props={}),s.props["data-vm-ssr"]=!0}):i.forEach((s,o)=>{s.type===Rt&&i.splice(o,1)}),e[n]||(e[n]=[]),e[n].push(...i)}const CC=(t=!1,e,n)=>Vo.create(t,e||pC,n||mC),bd=class{constructor(e,n,r,i){Ar(this,"isSSR",!1);Ar(this,"config");Ar(this,"target");Ar(this,"resolver");Ar(this,"ssrCleanedUp",!1);this.isSSR=e,this.config=n,this.target=r,i&&"setup"in i&&Ts(i.setup)&&(this.resolver=i)}install(e){e.component("Metainfo",TC),e.config.globalProperties.$metaManager=this,e.provide(EC,this.target.context.active)}addMeta(e,n){n||(n=Pn()||void 0);const r={removed:[]},i={vm:n},{resolver:s}=this;s&&s.setup&&s.setup(i);const o=this.target.addSource(e,i,!0),a=l=>this.unmount(!!l,o,r,n);return n&&La(a),{meta:o,onRemoved:l=>r.removed.push(l),unmount:a}}unmount(e,n,r,i){if(i){const{$el:s}=i.proxy;if(s&&s.offsetParent){let o=new MutationObserver(a=>{for(const{removedNodes:l}of a)l&&l.forEach(c=>{c===s&&o&&(o.disconnect(),o=void 0,this.reallyUnmount(e,n,r))})});return void o.observe(s.parentNode,{childList:!0})}}this.reallyUnmount(e,n,r)}async reallyUnmount(e,n,r){this.target.delSource(n),!e&&r&&await Promise.all(r.removed.map(i=>i()))}render({slots:e}={}){const n=this.target.context.active,{isSSR:r}=this;if(!r&&!this.ssrCleanedUp){this.ssrCleanedUp=!0;const s=()=>{const o=document.querySelectorAll("[data-vm-ssr]");o&&o.length&&o.forEach(a=>a.parentNode&&a.parentNode.removeChild(a))};document.readyState==="loading"?window.addEventListener("DOMContentLoaded",s,{once:!0}):s()}const i={};for(const s in n){const o=this.config[s]||{};let a=yC({isSSR:r,metainfo:n,slots:e},s,n[s],o);if(!a)continue;en(a)||(a=[a]);let l=s!=="base"&&n[s].to;!l&&"to"in o&&(l=o.to),!l&&"attributesFor"in o&&(l=s);for(const{to:c,vnode:u}of a)zf(this.isSSR,i,c||l||"head",u)}if(e)for(const s in e){const o=s==="default"?"head":s;if(o!=="head"&&o!=="body")continue;const a=e[s];Ts(a)&&zf(this.isSSR,i,o,a({metainfo:n}))}return Object.keys(i).map(s=>Tr(io,{to:s},i[s]))}};let Vo=bd;Ar(Vo,"create",(e,n,r)=>{const i=((s,o)=>{const a=[],l={active:o,resolve:s,sources:a},c=()=>ea(l);return{context:l,compute:c,addSource:(u,f,d=!1)=>{const h=Pg(l,u,f||{});return d&&c(),h},delSource:(u,f=!0)=>{const d=a.findIndex(h=>h===u||h[Lg]===u);return d>-1&&(a.splice(d,1),f&&c(),!0)}}})((s,o,a,l,c)=>Ts(r)?r(s,o,a,l,c):r.resolve(s,o,a,l,c),Jr({}));return new bd(e,n,i,r)});const SC={keyName:"metaInfo"},kC=t=>({created(){const e=Pn();if(!(e!=null&&e.type)||!(t.keyName in e.type))return;const n=e.type[t.keyName];Ts(n)?jf(He(n.bind(this))):jf(n)}}),AC=(t,e={})=>{const n=Object.assign({},SC,e);t.mixin(kC(n))};function Ig(t,e,n){const r=e.shift();if(t[r]||(t[r]={}),!e.length){n&&typeof n=="object"&&!Array.isArray(n)?t[r]={...t[r],...n}:t[r]=n;return}Ig(t[r],e,n)}const Hf=Jr({loadpoints:[]}),uc={state:Hf,update:function(t){Object.keys(t).forEach(function(e){typeof window.app[e]=="function"?window.app[e]({message:t[e]}):Ig(Hf,e.split("."),t[e])})}},we=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},xC={name:"App",props:{notifications:Array,offline:Boolean},data:()=>({reconnectTimeout:null,ws:null}),mounted:function(){this.connect(),document.addEventListener("visibilitychange",this.pageVisibilityChanged,!1)},unmounted:function(){this.disconnect(),window.clearTimeout(this.reconnectTimeout),document.removeEventListener("visibilitychange",this.pageVisibilityChanged,!1)},methods:{pageVisibilityChanged:function(){document.hidden?(window.clearTimeout(this.reconnectTimeout),this.disconnect()):this.connect()},reconnect:function(){window.clearTimeout(this.reconnectTimeout),this.reconnectTimeout=window.setTimeout(()=>{this.disconnect(),this.connect()},2500)},disconnect:function(){console.log("websocket disconnecting"),this.ws&&(this.ws.onerror=null,this.ws.onopen=null,this.ws.onclose=null,this.ws.onmessage=null,this.ws.close(),this.ws=null)},connect:function(){if(console.log("websocket connect"),!("WebSocket"in window)){window.app.error({message:"Web sockets not supported. Please upgrade your browser."});return}if(this.ws){console.log("websocket already connected");return}const e=window.location,r=(e.protocol=="https:"?"wss:":"ws:")+"//"+e.hostname+(e.port?":"+e.port:"")+e.pathname+"ws";this.ws=new WebSocket(r),this.ws.onerror=()=>{console.error({message:"Websocket error. Trying to reconnect."}),this.ws.close()},this.ws.onopen=()=>{console.log("websocket connected"),window.app.setOnline()},this.ws.onclose=()=>{console.log("websocket disconnected"),window.app.setOffline(),this.reconnect()},this.ws.onmessage=i=>{try{var s=JSON.parse(i.data);uc.update(s)}catch(o){window.app.error({message:`Failed to parse web socket data: ${o.message} [${i.data}]`})}}},reload(){window.location.reload()}},metaInfo(){return{title:uc.state.siteTitle||""}}},LC={class:"app overflow-hidden"};function PC(t,e,n,r,i,s){const o=ue("metainfo"),a=ue("router-view");return M(),j("div",LC,[re(o,null,{title:Je(({content:l})=>[Le(F(l?`${l} | evcc`:"evcc"),1)]),_:1}),re(a,{notifications:n.notifications,offline:n.offline},null,8,["notifications","offline"])])}const NC=we(xC,[["render",PC],["__scopeId","data-v-8c56982e"]]);function Dn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mg(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*! * GSAP 3.11.3 * https://greensock.com * @@ -16,7 +16,7 @@ var $v=Object.defineProperty;var Fv=(t,e,n)=>e in t?$v(t,e,{enumerable:!0,config * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com -*/var $t={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Hi={duration:.5,overwrite:!1,delay:0},Mu,St,Xe,Gt=1e8,De=1/Gt,dc=Math.PI*2,OC=dc/4,IC=0,Dg=Math.sqrt,MC=Math.cos,DC=Math.sin,st=function(e){return typeof e=="string"},We=function(e){return typeof e=="function"},Wn=function(e){return typeof e=="number"},Du=function(e){return typeof e>"u"},Nn=function(e){return typeof e=="object"},At=function(e){return e!==!1},Rg=function(){return typeof window<"u"},Ao=function(e){return We(e)||st(e)},$g=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ht=Array.isArray,fc=/(?:-?\.?\d|\.)+/gi,Fg=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,bi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,pl=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Vg=/[+-]=-?[.\d]+/,zg=/[^,'"\[\]\s]+/gi,RC=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,He,Kt,hc,Ru,Ht={},na={},Hg,jg=function(e){return(na=Xr(e,Ht))&&jt},$u=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},ra=function(e,n){return!n&&console.warn(e)},Bg=function(e,n){return e&&(Ht[e]=n)&&na&&(na[e]=n)||Ht},Us=function(){return 0},$C={suppressEvents:!0,isStart:!0,kill:!1},zo={suppressEvents:!0,kill:!1},FC={suppressEvents:!0},Fu={},lr=[],mc={},Ug,It={},gl={},Bf=30,Ho=[],Vu="",zu=function(e){var n=e[0],r,i;if(Nn(n)||We(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=Ho.length;i--&&!Ho[i].targetTest(n););r=Ho[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new f_(e[i],r)))||e.splice(i,1);return e},Ur=function(e){return e._gsap||zu(Xt(e))[0]._gsap},Wg=function(e,n,r){return(r=e[n])&&We(r)?e[n]():Du(r)&&e.getAttribute&&e.getAttribute(n)||r},kt=function(e,n){return(e=e.split(",")).forEach(n)||e},Ye=function(e){return Math.round(e*1e5)/1e5||0},at=function(e){return Math.round(e*1e7)/1e7||0},xi=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},VC=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++ia;)o=o._prev;return o?(n._next=o._next,o._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=o,n.parent=n._dp=e,n},Ia=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=n._prev,o=n._next;s?s._next=o:e[r]===n&&(e[r]=o),o?o._prev=s:e[i]===n&&(e[i]=s),n._next=n._prev=n.parent=null},gr=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove(e),e._act=0},Wr=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},jC=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},pc=function(e,n,r,i){return e._startAt&&(St?e._startAt.revert(zo):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},BC=function t(e){return!e||e._ts&&t(e.parent)},Wf=function(e){return e._repeat?ji(e._tTime,e=e.duration()+e._rDelay)*e:0},ji=function(e,n){var r=Math.floor(e/=n);return e&&r===e?r-1:r},oa=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Ma=function(e){return e._end=at(e._start+(e._tDur/Math.abs(e._ts||e._rts||De)||0))},Da=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=at(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),Ma(e),r._dirty||Wr(r,e)),e},Xg=function(e,n){var r;if((n._time||n._initted&&!n._dur)&&(r=oa(e.rawTime(),n),(!n._dur||oo(0,n.totalDuration(),r)-n._tTime>De)&&n.render(r,!0)),Wr(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-De}},Tn=function(e,n,r,i){return n.parent&&gr(n),n._start=at((Wn(r)?r:r||e!==He?Wt(e,r,n):e._time)+n._delay),n._end=at(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),Gg(e,n,"_first","_last",e._sort?"_start":0),gc(n)||(e._recent=n),i||Xg(e,n),e._ts<0&&Da(e,e._tTime),e},Qg=function(e,n){return(Ht.ScrollTrigger||$u("scrollTrigger",n))&&Ht.ScrollTrigger.create(n,e)},Zg=function(e,n,r,i,s){if(ju(e,n,s),!e._initted)return 1;if(!r&&e._pt&&!St&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Ug!==Mt.frame)return lr.push(e),e._lazy=[s,i],1},UC=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},gc=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},WC=function(e,n,r,i){var s=e.ratio,o=n<0||!n&&(!e._start&&UC(e)&&!(!e._initted&&gc(e))||(e._ts<0||e._dp._ts<0)&&!gc(e))?0:1,a=e._rDelay,l=0,c,u,f;if(a&&e._repeat&&(l=oo(0,e._tDur,n),u=ji(l,a),e._yoyo&&u&1&&(o=1-o),u!==ji(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||St||i||e._zTime===De||!n&&e._zTime){if(!e._initted&&Zg(e,n,i,r,l))return;for(f=e._zTime,e._zTime=n||(r?De:0),r||(r=n&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;n<0&&pc(e,n,r,!0),e._onUpdate&&!r&&Qt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&Qt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===o&&(o&&gr(e,1),!r&&!St&&(Qt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},KC=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start0&&!i&&Da(e,e._tTime=e._tDur*a),e.parent&&Ma(e),r||Wr(e.parent,e),e},Kf=function(e){return e instanceof Tt?Wr(e):Bi(e,e._dur)},YC={_start:0,endTime:Us,totalDuration:Us},Wt=function t(e,n,r){var i=e.labels,s=e._recent||YC,o=e.duration()>=Gt?s.endTime(!1):e._dur,a,l,c;return st(n)&&(isNaN(n)||n in i)?(l=n.charAt(0),c=n.substr(-1)==="%",a=n.indexOf("="),l==="<"||l===">"?(a>=0&&(n=n.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0)*(c?(a<0?s:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=o),i[n]):(l=parseFloat(n.charAt(a-1)+n.substr(a+1)),c&&r&&(l=l/100*(ht(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+l:o+l)):n==null?o:+n},As=function(e,n,r){var i=Wn(n[1]),s=(i?2:1)+(e<2?0:1),o=n[s],a,l;if(i&&(o.duration=n[1]),o.parent=r,e){for(a=o,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=At(l.vars.inherit)&&l.parent;o.immediateRender=At(a.immediateRender),e<2?o.runBackwards=1:o.startAt=n[s-1]}return new Ge(n[0],o,n[s+1])},Cr=function(e,n){return e||e===0?n(e):n},oo=function(e,n,r){return rn?n:r},ft=function(e,n){return!st(e)||!(n=RC.exec(e))?"":n[1]},qC=function(e,n,r){return Cr(r,function(i){return oo(e,n,i)})},_c=[].slice,Jg=function(e,n){return e&&Nn(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Nn(e[0]))&&!e.nodeType&&e!==Kt},GC=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return st(i)&&!n||Jg(i,1)?(s=r).push.apply(s,Xt(i)):r.push(i)})||r},Xt=function(e,n,r){return Xe&&!n&&Xe.selector?Xe.selector(e):st(e)&&!r&&(hc||!Ui())?_c.call((n||Ru).querySelectorAll(e),0):ht(e)?GC(e,r):Jg(e)?_c.call(e,0):e?[e]:[]},vc=function(e){return e=Xt(e)[0]||ra("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return Xt(n,r.querySelectorAll?r:r===e?ra("Invalid scope")||Ru.createElement("div"):e)}},e_=function(e){return e.sort(function(){return .5-Math.random()})},t_=function(e){if(We(e))return e;var n=Nn(e)?e:{each:e},r=Kr(n.ease),i=n.from||0,s=parseFloat(n.base)||0,o={},a=i>0&&i<1,l=isNaN(i)||a,c=n.axis,u=i,f=i;return st(i)?u=f={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(u=i[0],f=i[1]),function(d,h,w){var g=(w||n).length,E=o[g],_,T,S,v,b,k,x,N,I;if(!E){if(I=n.grid==="auto"?0:(n.grid||[1,Gt])[1],!I){for(x=-Gt;x<(x=w[I++].getBoundingClientRect().left)&&Ix&&(x=b),bg?g-1:c?c==="y"?g/I:I:Math.max(I,g/I))||0)*(i==="edges"?-1:1),E.b=g<0?s-g:s,E.u=ft(n.amount||n.each)||0,r=r&&g<0?c_(r):r}return g=(E[d]-E.min)/E.max||0,at(E.b+(r?r(g):g)*E.v)+E.u}},bc=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=at(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(Wn(r)?0:ft(r))}},n_=function(e,n){var r=ht(e),i,s;return!r&&Nn(e)&&(i=r=e.radius||Gt,e.values?(e=Xt(e.values),(s=!Wn(e[0]))&&(i*=i)):e=bc(e.increment)),Cr(n,r?We(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),c=Gt,u=0,f=e.length,d,h;f--;)s?(d=e[f].x-a,h=e[f].y-l,d=d*d+h*h):d=Math.abs(e[f]-a),di?s-o:o)})},Ws=function(e){for(var n=0,r="",i,s,o,a;~(i=e.indexOf("random(",n));)o=e.indexOf(")",i),a=e.charAt(i+7)==="[",s=e.substr(i+7,o-i-7).match(a?zg:fc),r+=e.substr(n,i-n)+r_(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),n=o+1;return r+e.substr(n,e.length-n)},s_=function(e,n,r,i,s){var o=n-e,a=i-r;return Cr(s,function(l){return r+((l-e)/o*a||0)})},tS=function t(e,n,r,i){var s=isNaN(e+n)?0:function(h){return(1-h)*e+h*n};if(!s){var o=st(e),a={},l,c,u,f,d;if(r===!0&&(i=1)&&(r=null),o)e={p:e},n={p:n};else if(ht(e)&&!ht(n)){for(u=[],f=e.length,d=f-2,c=1;c(a=Math.abs(a))&&(l=o,s=a);return l},Qt=function(e,n,r){var i=e.vars,s=i[n],o=Xe,a=e._ctx,l,c,u;if(!!s)return l=i[n+"Params"],c=i.callbackScope||e,r&&lr.length&&ia(),a&&(Xe=a),u=l?s.apply(c,l):s.call(c),Xe=o,u},ps=function(e){return gr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!St),e.progress()<1&&Qt(e,"onInterrupt"),e},yi,nS=function(e){e=!e.name&&e.default||e;var n=e.name,r=We(e),i=n&&!r&&e.init?function(){this._props=[]}:e,s={init:Us,render:Wu,add:Hu,kill:vS,modifier:_S,rawVars:0},o={targetTest:0,get:0,getSetter:Uu,aliases:{},register:0};if(Ui(),e!==i){if(It[n])return;nn(i,nn(sa(e,s),o)),Xr(i.prototype,Xr(s,sa(e,o))),It[i.prop=n]=i,e.targetTest&&(Ho.push(i),Fu[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Bg(n,i),e.register&&e.register(jt,i,xt)},Re=255,gs={aqua:[0,Re,Re],lime:[0,Re,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Re],navy:[0,0,128],white:[Re,Re,Re],olive:[128,128,0],yellow:[Re,Re,0],orange:[Re,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Re,0,0],pink:[Re,192,203],cyan:[0,Re,Re],transparent:[Re,Re,Re,0]},_l=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*Re+.5|0},o_=function(e,n,r){var i=e?Wn(e)?[e>>16,e>>8&Re,e&Re]:0:gs.black,s,o,a,l,c,u,f,d,h,w;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),gs[e])i=gs[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&Re,i&Re,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Re,e&Re]}else if(e.substr(0,3)==="hsl"){if(i=w=e.match(fc),!n)l=+i[0]%360/360,c=+i[1]/100,u=+i[2]/100,o=u<=.5?u*(c+1):u+c-u*c,s=u*2-o,i.length>3&&(i[3]*=1),i[0]=_l(l+1/3,s,o),i[1]=_l(l,s,o),i[2]=_l(l-1/3,s,o);else if(~e.indexOf("="))return i=e.match(Fg),r&&i.length<4&&(i[3]=1),i}else i=e.match(fc)||gs.transparent;i=i.map(Number)}return n&&!w&&(s=i[0]/Re,o=i[1]/Re,a=i[2]/Re,f=Math.max(s,o,a),d=Math.min(s,o,a),u=(f+d)/2,f===d?l=c=0:(h=f-d,c=u>.5?h/(2-f-d):h/(f+d),l=f===s?(o-a)/h+(oe&&(r+=_-n),i+=_,b=i-r,S=b-o,(S>0||T)&&(k=++f.frame,d=b-f.time*1e3,f.time=b=b/1e3,o+=S+(S>=s?4:s-S),v=1),T||(l=c(g)),v)for(h=0;h=_&&h--},_listeners:a},f}(),Ui=function(){return!Ks&&Mt.wake()},Se={},iS=/^[\d.\-M][\d.\-,\s]/,sS=/["']/g,oS=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,o=r.length,a,l,c;s1&&r.config?r.config.apply(null,~e.indexOf("{")?[oS(n[1])]:aS(e).split(",").map(Yg)):Se._CE&&iS.test(e)?Se._CE("",e):r},c_=function(e){return function(n){return 1-e(1-n)}},u_=function t(e,n){for(var r=e._first,i;r;)r instanceof Tt?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},Kr=function(e,n){return e&&(We(e)?e:Se[e]||lS(e))||n},ei=function(e,n,r,i){r===void 0&&(r=function(l){return 1-n(1-l)}),i===void 0&&(i=function(l){return l<.5?n(l*2)/2:1-n((1-l)*2)/2});var s={easeIn:n,easeOut:r,easeInOut:i},o;return kt(e,function(a){Se[a]=Ht[a]=s,Se[o=a.toLowerCase()]=r;for(var l in s)Se[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Se[a+"."+l]=s[l]}),s},d_=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},vl=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),o=s/dc*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*DC((u-o)*s)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:d_(a);return s=dc/s,l.config=function(c,u){return t(e,c,u)},l},bl=function t(e,n){n===void 0&&(n=1.70158);var r=function(o){return o?--o*o*((n+1)*o+n)+1:0},i=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:d_(r);return i.config=function(s){return t(e,s)},i};kt("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;ei(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})});Se.Linear.easeNone=Se.none=Se.Linear.easeIn;ei("Elastic",vl("in"),vl("out"),vl());(function(t,e){var n=1/e,r=2*n,i=2.5*n,s=function(a){return a0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Bi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Ui(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Da(this,r),!s._dp||s.parent||Xg(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r0||!this._tDur&&!r)&&Tn(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===De||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Kg(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Wf(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Wf(this),i):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(r,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,i):this._repeat?ji(this._tTime,s)+1:1},e.timeScale=function(r){if(!arguments.length)return this._rts===-De?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?oa(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-De?0:this._rts,this.totalTime(oo(-this._delay,this._tDur,i),!0),Ma(this),jC(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ui(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==De&&(this._tTime-=De)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Tn(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(At(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?oa(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=FC);var i=St;return St=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),St=i,this},e.globalTime=function(r){for(var i=this,s=arguments.length?r:i.rawTime();i;)s=i._start+s/(i._ts||1),i=i._dp;return!this.parent&&this.vars.immediateRender?-1:s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Kf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,Kf(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(Wt(this,r),At(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,At(i))},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-De:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-De,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=i&&s1?(i?(o[r]=i,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this;return new Promise(function(s){var o=We(r)?r:qg,a=function(){var c=i.then;i.then=null,We(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=c),s(o),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){ps(this)},t}();nn(Wi.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-De,_prom:0,_ps:!1,_rts:1});var Tt=function(t){Mg(e,t);function e(r,i){var s;return r===void 0&&(r={}),s=t.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=At(r.sortChildren),He&&Tn(r.parent||He,Dn(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Qg(Dn(s),r.scrollTrigger),s}var n=e.prototype;return n.to=function(i,s,o){return As(0,arguments,this),this},n.from=function(i,s,o){return As(1,arguments,this),this},n.fromTo=function(i,s,o,a){return As(2,arguments,this),this},n.set=function(i,s,o){return s.duration=0,s.parent=this,Ss(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Ge(i,s,Wt(this,o),1),this},n.call=function(i,s,o){return Tn(this,Ge.delayedCall(0,i,s),o)},n.staggerTo=function(i,s,o,a,l,c,u){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new Ge(i,o,Wt(this,l)),this},n.staggerFrom=function(i,s,o,a,l,c,u){return o.runBackwards=1,Ss(o).immediateRender=At(o.immediateRender),this.staggerTo(i,s,o,a,l,c,u)},n.staggerFromTo=function(i,s,o,a,l,c,u,f){return a.startAt=o,Ss(a).immediateRender=At(a.immediateRender),this.staggerTo(i,s,a,l,c,u,f)},n.render=function(i,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=i<=0?0:at(i),f=this._zTime<0!=i<0&&(this._initted||!c),d,h,w,g,E,_,T,S,v,b,k,x;if(this!==He&&u>l&&i>=0&&(u=l),u!==this._tTime||o||f){if(a!==this._time&&c&&(u+=this._time-a,i+=this._time-a),d=u,v=this._start,S=this._ts,_=!S,f&&(c||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(k=this._yoyo,E=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(E*100+i,s,o);if(d=at(u%E),u===l?(g=this._repeat,d=c):(g=~~(u/E),g&&g===u/E&&(d=c,g--),d>c&&(d=c)),b=ji(this._tTime,E),!a&&this._tTime&&b!==g&&(b=g),k&&g&1&&(d=c-d,x=1),g!==b&&!this._lock){var N=k&&b&1,I=N===(k&&g&1);if(g=a&&i>=0)for(h=this._first;h;){if(w=h._next,(h._act||d>=h._start)&&h._ts&&T!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(d-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(d-h._start)*h._ts,s,o),d!==this._time||!this._ts&&!_){T=0,w&&(u+=this._zTime=-De);break}}h=w}else{h=this._last;for(var B=i<0?i:d;h;){if(w=h._prev,(h._act||B<=h._end)&&h._ts&&T!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(B-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(B-h._start)*h._ts,s,o||St&&(h._initted||h._startAt)),d!==this._time||!this._ts&&!_){T=0,w&&(u+=this._zTime=B?-De:De);break}}h=w}}if(T&&!s&&(this.pause(),T.render(d>=a?0:-De)._zTime=d>=a?1:-1,this._ts))return this._start=v,Ma(this),this.render(i,s,o);this._onUpdate&&!s&&Qt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(v===this._start||Math.abs(S)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&gr(this,1),!s&&!(i<0&&!a)&&(u||a||!l)&&(Qt(this,u===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u0)&&this._prom())))}return this},n.add=function(i,s){var o=this;if(Wn(s)||(s=Wt(this,s,i)),!(i instanceof Wi)){if(ht(i))return i.forEach(function(a){return o.add(a,s)}),this;if(st(i))return this.addLabel(i,s);if(We(i))i=Ge.delayedCall(0,i);else return this}return this!==i?Tn(this,i,s):this},n.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-Gt);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof Ge?s&&l.push(c):(o&&l.push(c),i&&l.push.apply(l,c.getChildren(!0,s,o)))),c=c._next;return l},n.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},n.remove=function(i){return st(i)?this.removeLabel(i):We(i)?this.killTweensOf(i):(Ia(this,i),i===this._recent&&(this._recent=this._last),Wr(this))},n.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=at(Mt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},n.addLabel=function(i,s){return this.labels[i]=Wt(this,s),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,s,o){var a=Ge.delayedCall(0,s||Us,o);return a.data="isPause",this._hasPause=1,Tn(this,a,Wt(this,i))},n.removePause=function(i){var s=this._first;for(i=Wt(this,i);s;)s._start===i&&s.data==="isPause"&&gr(s),s=s._next},n.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),l=a.length;l--;)nr!==a[l]&&a[l].kill(i,s);return this},n.getTweensOf=function(i,s){for(var o=[],a=Xt(i),l=this._first,c=Wn(s),u;l;)l instanceof Ge?VC(l._targets,a)&&(c?(!nr||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(u=l.getTweensOf(a,s)).length&&o.push.apply(o,u),l=l._next;return o},n.tweenTo=function(i,s){s=s||{};var o=this,a=Wt(o,i),l=s,c=l.startAt,u=l.onStart,f=l.onStartParams,d=l.immediateRender,h,w=Ge.to(o,nn({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale())||De,onStart:function(){if(o.pause(),!h){var E=s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale());w._dur!==E&&Bi(w,E,0,1).render(w._time,!0,!0),h=1}u&&u.apply(w,f||[])}},s));return d?w.render(0):w},n.tweenFromTo=function(i,s,o){return this.tweenTo(s,nn({startAt:{time:Wt(this,i)}},o))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),Yf(this,Wt(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),Yf(this,Wt(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+De)},n.shiftChildren=function(i,s,o){o===void 0&&(o=0);for(var a=this._first,l=this.labels,c;a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(c in l)l[c]>=o&&(l[c]+=i);return Wr(this)},n.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Wr(this)},n.totalDuration=function(i){var s=0,o=this,a=o._last,l=Gt,c,u,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(f=o.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,Tn(o,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(s-=u,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=u/o._ts,o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),a._end>s&&a._ts&&(s=a._end),a=c;Bi(o,o===He&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(He._ts&&(Kg(He,oa(i,He)),Ug=Mt.frame),Mt.frame>=Bf){Bf+=$t.autoSleep||120;var s=He._first;if((!s||!s._ts)&&$t.autoSleep&&Mt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Mt.sleep()}}},e}(Wi);nn(Tt.prototype,{_lock:0,_hasPause:0,_forcing:0});var cS=function(e,n,r,i,s,o,a){var l=new xt(this._pt,e,n,0,1,v_,null,s),c=0,u=0,f,d,h,w,g,E,_,T;for(l.b=r,l.e=i,r+="",i+="",(_=~i.indexOf("random("))&&(i=Ws(i)),o&&(T=[r,i],o(T,e,n),r=T[0],i=T[1]),d=r.match(pl)||[];f=pl.exec(i);)w=f[0],g=i.substring(c,f.index),h?h=(h+1)%5:g.substr(-5)==="rgba("&&(h=1),w!==d[u++]&&(E=parseFloat(d[u-1])||0,l._pt={_next:l._pt,p:g||u===1?g:",",s:E,c:w.charAt(1)==="="?xi(E,w)-E:parseFloat(w)-E,m:h&&h<4?Math.round:0},c=pl.lastIndex);return l.c=c")}),v.duration();else{k={};for(N in w)N==="ease"||N==="easeEach"||hS(N,w[N],k,w.easeEach);for(N in k)for(ne=k[N].sort(function(Y,W){return Y.t-W.t}),J=0,b=0;bl-De&&!u?l:ic&&(d=c)),_=this._yoyo&&w&1,_&&(v=this._yEase,d=c-d),E=ji(this._tTime,g),d===a&&!o&&this._initted)return this._tTime=f,this;w!==E&&(S&&this._yEase&&u_(S,_),this.vars.repeatRefresh&&!_&&!this._lock&&(this._lock=o=1,this.render(at(g*w),!0).invalidate()._lock=0))}if(!this._initted){if(Zg(this,u?i:d,o,s,f))return this._tTime=0,this;if(a!==this._time)return this;if(c!==this._dur)return this.render(i,s,o)}if(this._tTime=f,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=T=(v||this._ease)(d/c),this._from&&(this.ratio=T=1-T),d&&!a&&!s&&(Qt(this,"onStart"),this._tTime!==f))return this;for(h=this._pt;h;)h.r(T,h.d),h=h._next;S&&S.render(i<0?i:!d&&_?-De:S._dur*S._ease(d/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(u&&pc(this,i,s,o),Qt(this,"onUpdate")),this._repeat&&w!==E&&this.vars.onRepeat&&!s&&this.parent&&Qt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&pc(this,i,!0,!0),(i||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&gr(this,1),!s&&!(u&&!a)&&(f||a||_)&&(Qt(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,s,o,a){Ks||Mt.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||ju(this,l),c=this._ease(l/this._dur),dS(this,i,s,o,a,c,l)?this.resetTo(i,s,o,a):(Da(this,0),this.parent||Gg(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?ps(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,nr&&nr.vars.overwrite!==!0)._first||ps(this),this.parent&&o!==this.timeline.totalDuration()&&Bi(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=i?Xt(i):a,c=this._ptLookup,u=this._pt,f,d,h,w,g,E,_;if((!s||s==="all")&&HC(a,l))return s==="all"&&(this._pt=0),ps(this);for(f=this._op=this._op||[],s!=="all"&&(st(s)&&(g={},kt(s,function(T){return g[T]=1}),s=g),s=fS(a,s)),_=a.length;_--;)if(~l.indexOf(a[_])){d=c[_],s==="all"?(f[_]=s,w=d,h={}):(h=f[_]=f[_]||{},w=s);for(g in w)E=d&&d[g],E&&((!("kill"in E.d)||E.d.kill(g)===!0)&&Ia(this,E,"_pt"),delete d[g]),h!=="all"&&(h[g]=1)}return this._initted&&!this._pt&&u&&ps(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return As(1,arguments)},e.delayedCall=function(i,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,s,o){return As(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,o){return He.killTweensOf(i,s,o)},e}(Wi);nn(Ge.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});kt("staggerTo,staggerFrom,staggerFromTo",function(t){Ge[t]=function(){var e=new Tt,n=_c.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Bu=function(e,n,r){return e[n]=r},g_=function(e,n,r){return e[n](r)},mS=function(e,n,r,i){return e[n](i.fp,r)},pS=function(e,n,r){return e.setAttribute(n,r)},Uu=function(e,n){return We(e[n])?g_:Du(e[n])&&e.setAttribute?pS:Bu},__=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},gS=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},v_=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},Wu=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},_S=function(e,n,r,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,n,r),s=o},vS=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?Ia(this,n,"_pt"):n.dep||(r=1),n=i;return!r},bS=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},b_=function(e){for(var n=e._pt,r,i,s,o;n;){for(r=n._next,i=s;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:o)?n._prev._next=n:s=n,(n._next=i)?i._prev=n:o=n,n=r}e._pt=s},xt=function(){function t(n,r,i,s,o,a,l,c,u){this.t=r,this.s=s,this.c=o,this.p=i,this.r=a||__,this.d=l||this,this.set=c||Bu,this.pr=u||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,s){this.mSet=this.mSet||this.set,this.set=bS,this.m=r,this.mt=s,this.tween=i},t}();kt(Vu+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return Fu[t]=1});Ht.TweenMax=Ht.TweenLite=Ge;Ht.TimelineLite=Ht.TimelineMax=Tt;He=new Tt({sortChildren:!1,defaults:Hi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});$t.stringFilter=l_;var Ki=[],jo={},yS=[],Gf=0,yl=function(e){return(jo[e]||yS).map(function(n){return n()})},wc=function(){var e=Date.now(),n=[];e-Gf>2&&(yl("matchMediaInit"),Ki.forEach(function(r){var i=r.queries,s=r.conditions,o,a,l,c;for(a in i)o=Kt.matchMedia(i[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,c=1);c&&(r.revert(),l&&n.push(r))}),yl("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r)}),Gf=e,yl("matchMedia"))},y_=function(){function t(n,r){this.selector=r&&vc(r),this.data=[],this._r=[],this.isReverted=!1,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,s){We(r)&&(s=i,i=r,r=We);var o=this,a=function(){var c=Xe,u=o.selector,f;return c&&c!==o&&c.data.push(o),s&&(o.selector=vc(s)),Xe=o,f=i.apply(o,arguments),We(f)&&o._r.push(f),Xe=c,o.selector=u,o.isReverted=!1,f};return o.last=a,r===We?a(o):r?o[r]=a:a},e.ignore=function(r){var i=Xe;Xe=null,r(this),Xe=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof Ge&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var s=this;if(r){var o=this.getTweens();this.data.forEach(function(l){l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(c){return o.splice(o.indexOf(c),1)}))}),o.map(function(l){return{g:l.globalTime(0),t:l}}).sort(function(l,c){return c.g-l.g||-1}).forEach(function(l){return l.t.revert(r)}),this.data.forEach(function(l){return!(l instanceof Wi)&&l.revert&&l.revert(r)}),this._r.forEach(function(l){return l(r,s)}),this.isReverted=!0}else this.data.forEach(function(l){return l.kill&&l.kill()});if(this.clear(),i){var a=Ki.indexOf(this);~a&&Ki.splice(a,1)}},e.revert=function(r){this.kill(r||{})},t}(),wS=function(){function t(n){this.contexts=[],this.scope=n}var e=t.prototype;return e.add=function(r,i,s){Nn(r)||(r={matches:r});var o=new y_(0,s||this.scope),a=o.conditions={},l,c,u;this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(c in r)c==="all"?u=1:(l=Kt.matchMedia(r[c]),l&&(Ki.indexOf(o)<0&&Ki.push(o),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(wc):l.addEventListener("change",wc)));return u&&i(o),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t}(),aa={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r1){var i=e.map(function(u){return jt.quickSetter(u,n,r)}),s=i.length;return function(u){for(var f=s;f--;)i[f](u)}}e=e[0]||{};var o=It[n],a=Ur(e),l=a.harness&&(a.harness.aliases||{})[n]||n,c=o?function(u){var f=new o;yi._pt=0,f.init(e,r?u+r:u,yi,0,[e]),f.render(1,f),yi._pt&&Wu(1,yi)}:a.set(e,l);return o?c:function(u){return c(e,l,r?u+r:u,a,1)}},quickTo:function(e,n,r){var i,s=jt.to(e,Xr((i={},i[n]="+=0.1",i.paused=!0,i),r||{})),o=function(l,c,u){return s.resetTo(n,l,c,u)};return o.tween=s,o},isTweening:function(e){return He.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Kr(e.ease,Hi.ease)),Uf(Hi,e||{})},config:function(e){return Uf($t,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!It[a]&&!Ht[a]&&ra(n+" effect requires "+a+" plugin.")}),gl[n]=function(a,l,c){return r(Xt(a),nn(l||{},s),c)},o&&(Tt.prototype[n]=function(a,l,c){return this.add(gl[n](a,Nn(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,n){Se[e]=Kr(n)},parseEase:function(e,n){return arguments.length?Kr(e,n):Se},getById:function(e){return He.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Tt(e),i,s;for(r.smoothChildTiming=At(e.smoothChildTiming),He.remove(r),r._dp=0,r._time=r._tTime=He._time,i=He._first;i;)s=i._next,(n||!(!i._dur&&i instanceof Ge&&i.vars.onComplete===i._targets[0]))&&Tn(r,i,i._start-i._delay),i=s;return Tn(He,r,0),r},context:function(e,n){return e?new y_(e,n):Xe},matchMedia:function(e){return new wS(e)},matchMediaRefresh:function(){return Ki.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||wc()},addEventListener:function(e,n){var r=jo[e]||(jo[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=jo[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:JC,wrapYoyo:eS,distribute:t_,random:r_,snap:n_,normalize:ZC,getUnit:ft,clamp:qC,splitColor:o_,toArray:Xt,selector:vc,mapRange:s_,pipe:XC,unitize:QC,interpolate:tS,shuffle:e_},install:jg,effects:gl,ticker:Mt,updateRoot:Tt.updateRoot,plugins:It,globalTimeline:He,core:{PropTween:xt,globals:Bg,Tween:Ge,Timeline:Tt,Animation:Wi,getCache:Ur,_removeLinkedListItem:Ia,reverting:function(){return St},context:function(e){return e&&Xe&&(Xe.data.push(e),e._ctx=Xe),Xe},suppressOverwrites:function(e){return Mu=e}}};kt("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return aa[t]=Ge[t]});Mt.add(Tt.updateRoot);yi=aa.to({},{duration:0});var ES=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},TS=function(e,n){var r=e._targets,i,s,o;for(i in n)for(s=r.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=ES(o,i)),o&&o.modifier&&o.modifier(n[i],e,r[s],i))},wl=function(e,n){return{name:e,rawVars:1,init:function(i,s,o){o._onInit=function(a){var l,c;if(st(s)&&(l={},kt(s,function(u){return l[u]=1}),s=l),n){l={};for(c in s)l[c]=n(s[c]);s=l}TS(a,s)}}}},jt=aa.registerPlugin({name:"attr",init:function(e,n,r,i,s){var o,a,l;this.tween=r;for(o in n)l=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(l||0)+"",n[o],i,s,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(e,n){for(var r=n._pt;r;)St?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},wl("roundProps",bc),wl("modifiers"),wl("snap",n_))||aa;Ge.version=Tt.version=jt.version="3.11.3";Hg=1;Rg()&&Ui();Se.Power0;Se.Power1;Se.Power2;Se.Power3;Se.Power4;Se.Linear;Se.Quad;Se.Cubic;Se.Quart;Se.Quint;Se.Strong;Se.Elastic;Se.Back;Se.SteppedEase;Se.Bounce;Se.Sine;Se.Expo;Se.Circ;/*! +*/var $t={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},zi={duration:.5,overwrite:!1,delay:0},Mu,St,Xe,qt=1e8,De=1/qt,dc=Math.PI*2,OC=dc/4,IC=0,Dg=Math.sqrt,MC=Math.cos,DC=Math.sin,st=function(e){return typeof e=="string"},We=function(e){return typeof e=="function"},Wn=function(e){return typeof e=="number"},Du=function(e){return typeof e>"u"},Nn=function(e){return typeof e=="object"},kt=function(e){return e!==!1},Rg=function(){return typeof window<"u"},ko=function(e){return We(e)||st(e)},$g=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ht=Array.isArray,fc=/(?:-?\.?\d|\.)+/gi,Fg=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,bi=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,pl=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Vg=/[+-]=-?[.\d]+/,jg=/[^,'"\[\]\s]+/gi,RC=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ze,Kt,hc,Ru,zt={},na={},zg,Hg=function(e){return(na=Xr(e,zt))&&Ht},$u=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},ra=function(e,n){return!n&&console.warn(e)},Bg=function(e,n){return e&&(zt[e]=n)&&na&&(na[e]=n)||zt},Us=function(){return 0},$C={suppressEvents:!0,isStart:!0,kill:!1},jo={suppressEvents:!0,kill:!1},FC={suppressEvents:!0},Fu={},lr=[],mc={},Ug,It={},gl={},Bf=30,zo=[],Vu="",ju=function(e){var n=e[0],r,i;if(Nn(n)||We(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=zo.length;i--&&!zo[i].targetTest(n););r=zo[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new f_(e[i],r)))||e.splice(i,1);return e},Ur=function(e){return e._gsap||ju(Xt(e))[0]._gsap},Wg=function(e,n,r){return(r=e[n])&&We(r)?e[n]():Du(r)&&e.getAttribute&&e.getAttribute(n)||r},At=function(e,n){return(e=e.split(",")).forEach(n)||e},Ye=function(e){return Math.round(e*1e5)/1e5||0},at=function(e){return Math.round(e*1e7)/1e7||0},xi=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},VC=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++ia;)o=o._prev;return o?(n._next=o._next,o._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=o,n.parent=n._dp=e,n},Ia=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=n._prev,o=n._next;s?s._next=o:e[r]===n&&(e[r]=o),o?o._prev=s:e[i]===n&&(e[i]=s),n._next=n._prev=n.parent=null},gr=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove(e),e._act=0},Wr=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},HC=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},pc=function(e,n,r,i){return e._startAt&&(St?e._startAt.revert(jo):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},BC=function t(e){return!e||e._ts&&t(e.parent)},Wf=function(e){return e._repeat?Hi(e._tTime,e=e.duration()+e._rDelay)*e:0},Hi=function(e,n){var r=Math.floor(e/=n);return e&&r===e?r-1:r},oa=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},Ma=function(e){return e._end=at(e._start+(e._tDur/Math.abs(e._ts||e._rts||De)||0))},Da=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=at(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),Ma(e),r._dirty||Wr(r,e)),e},Xg=function(e,n){var r;if((n._time||n._initted&&!n._dur)&&(r=oa(e.rawTime(),n),(!n._dur||oo(0,n.totalDuration(),r)-n._tTime>De)&&n.render(r,!0)),Wr(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-De}},Tn=function(e,n,r,i){return n.parent&&gr(n),n._start=at((Wn(r)?r:r||e!==ze?Wt(e,r,n):e._time)+n._delay),n._end=at(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),qg(e,n,"_first","_last",e._sort?"_start":0),gc(n)||(e._recent=n),i||Xg(e,n),e._ts<0&&Da(e,e._tTime),e},Qg=function(e,n){return(zt.ScrollTrigger||$u("scrollTrigger",n))&&zt.ScrollTrigger.create(n,e)},Zg=function(e,n,r,i,s){if(Hu(e,n,s),!e._initted)return 1;if(!r&&e._pt&&!St&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Ug!==Mt.frame)return lr.push(e),e._lazy=[s,i],1},UC=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},gc=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},WC=function(e,n,r,i){var s=e.ratio,o=n<0||!n&&(!e._start&&UC(e)&&!(!e._initted&&gc(e))||(e._ts<0||e._dp._ts<0)&&!gc(e))?0:1,a=e._rDelay,l=0,c,u,f;if(a&&e._repeat&&(l=oo(0,e._tDur,n),u=Hi(l,a),e._yoyo&&u&1&&(o=1-o),u!==Hi(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||St||i||e._zTime===De||!n&&e._zTime){if(!e._initted&&Zg(e,n,i,r,l))return;for(f=e._zTime,e._zTime=n||(r?De:0),r||(r=n&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;n<0&&pc(e,n,r,!0),e._onUpdate&&!r&&Qt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&Qt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===o&&(o&&gr(e,1),!r&&!St&&(Qt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},KC=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start0&&!i&&Da(e,e._tTime=e._tDur*a),e.parent&&Ma(e),r||Wr(e.parent,e),e},Kf=function(e){return e instanceof Tt?Wr(e):Bi(e,e._dur)},YC={_start:0,endTime:Us,totalDuration:Us},Wt=function t(e,n,r){var i=e.labels,s=e._recent||YC,o=e.duration()>=qt?s.endTime(!1):e._dur,a,l,c;return st(n)&&(isNaN(n)||n in i)?(l=n.charAt(0),c=n.substr(-1)==="%",a=n.indexOf("="),l==="<"||l===">"?(a>=0&&(n=n.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0)*(c?(a<0?s:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=o),i[n]):(l=parseFloat(n.charAt(a-1)+n.substr(a+1)),c&&r&&(l=l/100*(ht(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+l:o+l)):n==null?o:+n},ks=function(e,n,r){var i=Wn(n[1]),s=(i?2:1)+(e<2?0:1),o=n[s],a,l;if(i&&(o.duration=n[1]),o.parent=r,e){for(a=o,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=kt(l.vars.inherit)&&l.parent;o.immediateRender=kt(a.immediateRender),e<2?o.runBackwards=1:o.startAt=n[s-1]}return new qe(n[0],o,n[s+1])},Cr=function(e,n){return e||e===0?n(e):n},oo=function(e,n,r){return rn?n:r},ft=function(e,n){return!st(e)||!(n=RC.exec(e))?"":n[1]},GC=function(e,n,r){return Cr(r,function(i){return oo(e,n,i)})},_c=[].slice,Jg=function(e,n){return e&&Nn(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Nn(e[0]))&&!e.nodeType&&e!==Kt},qC=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return st(i)&&!n||Jg(i,1)?(s=r).push.apply(s,Xt(i)):r.push(i)})||r},Xt=function(e,n,r){return Xe&&!n&&Xe.selector?Xe.selector(e):st(e)&&!r&&(hc||!Ui())?_c.call((n||Ru).querySelectorAll(e),0):ht(e)?qC(e,r):Jg(e)?_c.call(e,0):e?[e]:[]},vc=function(e){return e=Xt(e)[0]||ra("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return Xt(n,r.querySelectorAll?r:r===e?ra("Invalid scope")||Ru.createElement("div"):e)}},e_=function(e){return e.sort(function(){return .5-Math.random()})},t_=function(e){if(We(e))return e;var n=Nn(e)?e:{each:e},r=Kr(n.ease),i=n.from||0,s=parseFloat(n.base)||0,o={},a=i>0&&i<1,l=isNaN(i)||a,c=n.axis,u=i,f=i;return st(i)?u=f={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(u=i[0],f=i[1]),function(d,h,w){var g=(w||n).length,E=o[g],_,T,S,v,b,A,x,N,I;if(!E){if(I=n.grid==="auto"?0:(n.grid||[1,qt])[1],!I){for(x=-qt;x<(x=w[I++].getBoundingClientRect().left)&&Ix&&(x=b),bg?g-1:c?c==="y"?g/I:I:Math.max(I,g/I))||0)*(i==="edges"?-1:1),E.b=g<0?s-g:s,E.u=ft(n.amount||n.each)||0,r=r&&g<0?c_(r):r}return g=(E[d]-E.min)/E.max||0,at(E.b+(r?r(g):g)*E.v)+E.u}},bc=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=at(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(Wn(r)?0:ft(r))}},n_=function(e,n){var r=ht(e),i,s;return!r&&Nn(e)&&(i=r=e.radius||qt,e.values?(e=Xt(e.values),(s=!Wn(e[0]))&&(i*=i)):e=bc(e.increment)),Cr(n,r?We(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),c=qt,u=0,f=e.length,d,h;f--;)s?(d=e[f].x-a,h=e[f].y-l,d=d*d+h*h):d=Math.abs(e[f]-a),di?s-o:o)})},Ws=function(e){for(var n=0,r="",i,s,o,a;~(i=e.indexOf("random(",n));)o=e.indexOf(")",i),a=e.charAt(i+7)==="[",s=e.substr(i+7,o-i-7).match(a?jg:fc),r+=e.substr(n,i-n)+r_(a?s:+s[0],a?0:+s[1],+s[2]||1e-5),n=o+1;return r+e.substr(n,e.length-n)},s_=function(e,n,r,i,s){var o=n-e,a=i-r;return Cr(s,function(l){return r+((l-e)/o*a||0)})},tS=function t(e,n,r,i){var s=isNaN(e+n)?0:function(h){return(1-h)*e+h*n};if(!s){var o=st(e),a={},l,c,u,f,d;if(r===!0&&(i=1)&&(r=null),o)e={p:e},n={p:n};else if(ht(e)&&!ht(n)){for(u=[],f=e.length,d=f-2,c=1;c(a=Math.abs(a))&&(l=o,s=a);return l},Qt=function(e,n,r){var i=e.vars,s=i[n],o=Xe,a=e._ctx,l,c,u;if(!!s)return l=i[n+"Params"],c=i.callbackScope||e,r&&lr.length&&ia(),a&&(Xe=a),u=l?s.apply(c,l):s.call(c),Xe=o,u},ps=function(e){return gr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!St),e.progress()<1&&Qt(e,"onInterrupt"),e},yi,nS=function(e){e=!e.name&&e.default||e;var n=e.name,r=We(e),i=n&&!r&&e.init?function(){this._props=[]}:e,s={init:Us,render:Wu,add:zu,kill:vS,modifier:_S,rawVars:0},o={targetTest:0,get:0,getSetter:Uu,aliases:{},register:0};if(Ui(),e!==i){if(It[n])return;nn(i,nn(sa(e,s),o)),Xr(i.prototype,Xr(s,sa(e,o))),It[i.prop=n]=i,e.targetTest&&(zo.push(i),Fu[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Bg(n,i),e.register&&e.register(Ht,i,xt)},Re=255,gs={aqua:[0,Re,Re],lime:[0,Re,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Re],navy:[0,0,128],white:[Re,Re,Re],olive:[128,128,0],yellow:[Re,Re,0],orange:[Re,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Re,0,0],pink:[Re,192,203],cyan:[0,Re,Re],transparent:[Re,Re,Re,0]},_l=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*Re+.5|0},o_=function(e,n,r){var i=e?Wn(e)?[e>>16,e>>8&Re,e&Re]:0:gs.black,s,o,a,l,c,u,f,d,h,w;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),gs[e])i=gs[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&Re,i&Re,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&Re,e&Re]}else if(e.substr(0,3)==="hsl"){if(i=w=e.match(fc),!n)l=+i[0]%360/360,c=+i[1]/100,u=+i[2]/100,o=u<=.5?u*(c+1):u+c-u*c,s=u*2-o,i.length>3&&(i[3]*=1),i[0]=_l(l+1/3,s,o),i[1]=_l(l,s,o),i[2]=_l(l-1/3,s,o);else if(~e.indexOf("="))return i=e.match(Fg),r&&i.length<4&&(i[3]=1),i}else i=e.match(fc)||gs.transparent;i=i.map(Number)}return n&&!w&&(s=i[0]/Re,o=i[1]/Re,a=i[2]/Re,f=Math.max(s,o,a),d=Math.min(s,o,a),u=(f+d)/2,f===d?l=c=0:(h=f-d,c=u>.5?h/(2-f-d):h/(f+d),l=f===s?(o-a)/h+(oe&&(r+=_-n),i+=_,b=i-r,S=b-o,(S>0||T)&&(A=++f.frame,d=b-f.time*1e3,f.time=b=b/1e3,o+=S+(S>=s?4:s-S),v=1),T||(l=c(g)),v)for(h=0;h=_&&h--},_listeners:a},f}(),Ui=function(){return!Ks&&Mt.wake()},Se={},iS=/^[\d.\-M][\d.\-,\s]/,sS=/["']/g,oS=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,o=r.length,a,l,c;s1&&r.config?r.config.apply(null,~e.indexOf("{")?[oS(n[1])]:aS(e).split(",").map(Yg)):Se._CE&&iS.test(e)?Se._CE("",e):r},c_=function(e){return function(n){return 1-e(1-n)}},u_=function t(e,n){for(var r=e._first,i;r;)r instanceof Tt?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},Kr=function(e,n){return e&&(We(e)?e:Se[e]||lS(e))||n},ei=function(e,n,r,i){r===void 0&&(r=function(l){return 1-n(1-l)}),i===void 0&&(i=function(l){return l<.5?n(l*2)/2:1-n((1-l)*2)/2});var s={easeIn:n,easeOut:r,easeInOut:i},o;return At(e,function(a){Se[a]=zt[a]=s,Se[o=a.toLowerCase()]=r;for(var l in s)Se[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=Se[a+"."+l]=s[l]}),s},d_=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},vl=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),o=s/dc*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*DC((u-o)*s)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:d_(a);return s=dc/s,l.config=function(c,u){return t(e,c,u)},l},bl=function t(e,n){n===void 0&&(n=1.70158);var r=function(o){return o?--o*o*((n+1)*o+n)+1:0},i=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:d_(r);return i.config=function(s){return t(e,s)},i};At("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;ei(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})});Se.Linear.easeNone=Se.none=Se.Linear.easeIn;ei("Elastic",vl("in"),vl("out"),vl());(function(t,e){var n=1/e,r=2*n,i=2.5*n,s=function(a){return a0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Bi(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Ui(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Da(this,r),!s._dp||s.parent||Xg(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r0||!this._tDur&&!r)&&Tn(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===De||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Kg(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Wf(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Wf(this),i):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(r,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,i):this._repeat?Hi(this._tTime,s)+1:1},e.timeScale=function(r){if(!arguments.length)return this._rts===-De?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?oa(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-De?0:this._rts,this.totalTime(oo(-this._delay,this._tDur,i),!0),Ma(this),HC(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ui(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==De&&(this._tTime-=De)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Tn(i,this,r-this._delay),this}return this._start},e.endTime=function(r){return this._start+(kt(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?oa(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=FC);var i=St;return St=r,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),St=i,this},e.globalTime=function(r){for(var i=this,s=arguments.length?r:i.rawTime();i;)s=i._start+s/(i._ts||1),i=i._dp;return!this.parent&&this.vars.immediateRender?-1:s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Kf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,Kf(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(Wt(this,r),kt(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,kt(i))},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-De:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-De,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=i&&s1?(i?(o[r]=i,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this;return new Promise(function(s){var o=We(r)?r:Gg,a=function(){var c=i.then;i.then=null,We(o)&&(o=o(i))&&(o.then||o===i)&&(i.then=c),s(o),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},e.kill=function(){ps(this)},t}();nn(Wi.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-De,_prom:0,_ps:!1,_rts:1});var Tt=function(t){Mg(e,t);function e(r,i){var s;return r===void 0&&(r={}),s=t.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=kt(r.sortChildren),ze&&Tn(r.parent||ze,Dn(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Qg(Dn(s),r.scrollTrigger),s}var n=e.prototype;return n.to=function(i,s,o){return ks(0,arguments,this),this},n.from=function(i,s,o){return ks(1,arguments,this),this},n.fromTo=function(i,s,o,a){return ks(2,arguments,this),this},n.set=function(i,s,o){return s.duration=0,s.parent=this,Ss(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new qe(i,s,Wt(this,o),1),this},n.call=function(i,s,o){return Tn(this,qe.delayedCall(0,i,s),o)},n.staggerTo=function(i,s,o,a,l,c,u){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new qe(i,o,Wt(this,l)),this},n.staggerFrom=function(i,s,o,a,l,c,u){return o.runBackwards=1,Ss(o).immediateRender=kt(o.immediateRender),this.staggerTo(i,s,o,a,l,c,u)},n.staggerFromTo=function(i,s,o,a,l,c,u,f){return a.startAt=o,Ss(a).immediateRender=kt(a.immediateRender),this.staggerTo(i,s,a,l,c,u,f)},n.render=function(i,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=i<=0?0:at(i),f=this._zTime<0!=i<0&&(this._initted||!c),d,h,w,g,E,_,T,S,v,b,A,x;if(this!==ze&&u>l&&i>=0&&(u=l),u!==this._tTime||o||f){if(a!==this._time&&c&&(u+=this._time-a,i+=this._time-a),d=u,v=this._start,S=this._ts,_=!S,f&&(c||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(A=this._yoyo,E=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(E*100+i,s,o);if(d=at(u%E),u===l?(g=this._repeat,d=c):(g=~~(u/E),g&&g===u/E&&(d=c,g--),d>c&&(d=c)),b=Hi(this._tTime,E),!a&&this._tTime&&b!==g&&(b=g),A&&g&1&&(d=c-d,x=1),g!==b&&!this._lock){var N=A&&b&1,I=N===(A&&g&1);if(g=a&&i>=0)for(h=this._first;h;){if(w=h._next,(h._act||d>=h._start)&&h._ts&&T!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(d-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(d-h._start)*h._ts,s,o),d!==this._time||!this._ts&&!_){T=0,w&&(u+=this._zTime=-De);break}}h=w}else{h=this._last;for(var B=i<0?i:d;h;){if(w=h._prev,(h._act||B<=h._end)&&h._ts&&T!==h){if(h.parent!==this)return this.render(i,s,o);if(h.render(h._ts>0?(B-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(B-h._start)*h._ts,s,o||St&&(h._initted||h._startAt)),d!==this._time||!this._ts&&!_){T=0,w&&(u+=this._zTime=B?-De:De);break}}h=w}}if(T&&!s&&(this.pause(),T.render(d>=a?0:-De)._zTime=d>=a?1:-1,this._ts))return this._start=v,Ma(this),this.render(i,s,o);this._onUpdate&&!s&&Qt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(v===this._start||Math.abs(S)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&gr(this,1),!s&&!(i<0&&!a)&&(u||a||!l)&&(Qt(this,u===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u0)&&this._prom())))}return this},n.add=function(i,s){var o=this;if(Wn(s)||(s=Wt(this,s,i)),!(i instanceof Wi)){if(ht(i))return i.forEach(function(a){return o.add(a,s)}),this;if(st(i))return this.addLabel(i,s);if(We(i))i=qe.delayedCall(0,i);else return this}return this!==i?Tn(this,i,s):this},n.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-qt);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof qe?s&&l.push(c):(o&&l.push(c),i&&l.push.apply(l,c.getChildren(!0,s,o)))),c=c._next;return l},n.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},n.remove=function(i){return st(i)?this.removeLabel(i):We(i)?this.killTweensOf(i):(Ia(this,i),i===this._recent&&(this._recent=this._last),Wr(this))},n.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=at(Mt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},n.addLabel=function(i,s){return this.labels[i]=Wt(this,s),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,s,o){var a=qe.delayedCall(0,s||Us,o);return a.data="isPause",this._hasPause=1,Tn(this,a,Wt(this,i))},n.removePause=function(i){var s=this._first;for(i=Wt(this,i);s;)s._start===i&&s.data==="isPause"&&gr(s),s=s._next},n.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),l=a.length;l--;)nr!==a[l]&&a[l].kill(i,s);return this},n.getTweensOf=function(i,s){for(var o=[],a=Xt(i),l=this._first,c=Wn(s),u;l;)l instanceof qe?VC(l._targets,a)&&(c?(!nr||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(u=l.getTweensOf(a,s)).length&&o.push.apply(o,u),l=l._next;return o},n.tweenTo=function(i,s){s=s||{};var o=this,a=Wt(o,i),l=s,c=l.startAt,u=l.onStart,f=l.onStartParams,d=l.immediateRender,h,w=qe.to(o,nn({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale())||De,onStart:function(){if(o.pause(),!h){var E=s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale());w._dur!==E&&Bi(w,E,0,1).render(w._time,!0,!0),h=1}u&&u.apply(w,f||[])}},s));return d?w.render(0):w},n.tweenFromTo=function(i,s,o){return this.tweenTo(s,nn({startAt:{time:Wt(this,i)}},o))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),Yf(this,Wt(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),Yf(this,Wt(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+De)},n.shiftChildren=function(i,s,o){o===void 0&&(o=0);for(var a=this._first,l=this.labels,c;a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(c in l)l[c]>=o&&(l[c]+=i);return Wr(this)},n.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Wr(this)},n.totalDuration=function(i){var s=0,o=this,a=o._last,l=qt,c,u,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(f=o.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,Tn(o,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(s-=u,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=u/o._ts,o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),a._end>s&&a._ts&&(s=a._end),a=c;Bi(o,o===ze&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(ze._ts&&(Kg(ze,oa(i,ze)),Ug=Mt.frame),Mt.frame>=Bf){Bf+=$t.autoSleep||120;var s=ze._first;if((!s||!s._ts)&&$t.autoSleep&&Mt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Mt.sleep()}}},e}(Wi);nn(Tt.prototype,{_lock:0,_hasPause:0,_forcing:0});var cS=function(e,n,r,i,s,o,a){var l=new xt(this._pt,e,n,0,1,v_,null,s),c=0,u=0,f,d,h,w,g,E,_,T;for(l.b=r,l.e=i,r+="",i+="",(_=~i.indexOf("random("))&&(i=Ws(i)),o&&(T=[r,i],o(T,e,n),r=T[0],i=T[1]),d=r.match(pl)||[];f=pl.exec(i);)w=f[0],g=i.substring(c,f.index),h?h=(h+1)%5:g.substr(-5)==="rgba("&&(h=1),w!==d[u++]&&(E=parseFloat(d[u-1])||0,l._pt={_next:l._pt,p:g||u===1?g:",",s:E,c:w.charAt(1)==="="?xi(E,w)-E:parseFloat(w)-E,m:h&&h<4?Math.round:0},c=pl.lastIndex);return l.c=c")}),v.duration();else{A={};for(N in w)N==="ease"||N==="easeEach"||hS(N,w[N],A,w.easeEach);for(N in A)for(ne=A[N].sort(function(Y,W){return Y.t-W.t}),J=0,b=0;bl-De&&!u?l:ic&&(d=c)),_=this._yoyo&&w&1,_&&(v=this._yEase,d=c-d),E=Hi(this._tTime,g),d===a&&!o&&this._initted)return this._tTime=f,this;w!==E&&(S&&this._yEase&&u_(S,_),this.vars.repeatRefresh&&!_&&!this._lock&&(this._lock=o=1,this.render(at(g*w),!0).invalidate()._lock=0))}if(!this._initted){if(Zg(this,u?i:d,o,s,f))return this._tTime=0,this;if(a!==this._time)return this;if(c!==this._dur)return this.render(i,s,o)}if(this._tTime=f,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=T=(v||this._ease)(d/c),this._from&&(this.ratio=T=1-T),d&&!a&&!s&&(Qt(this,"onStart"),this._tTime!==f))return this;for(h=this._pt;h;)h.r(T,h.d),h=h._next;S&&S.render(i<0?i:!d&&_?-De:S._dur*S._ease(d/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(u&&pc(this,i,s,o),Qt(this,"onUpdate")),this._repeat&&w!==E&&this.vars.onRepeat&&!s&&this.parent&&Qt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&pc(this,i,!0,!0),(i||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&gr(this,1),!s&&!(u&&!a)&&(f||a||_)&&(Qt(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,s,o,a){Ks||Mt.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||Hu(this,l),c=this._ease(l/this._dur),dS(this,i,s,o,a,c,l)?this.resetTo(i,s,o,a):(Da(this,0),this.parent||qg(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?ps(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,nr&&nr.vars.overwrite!==!0)._first||ps(this),this.parent&&o!==this.timeline.totalDuration()&&Bi(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=i?Xt(i):a,c=this._ptLookup,u=this._pt,f,d,h,w,g,E,_;if((!s||s==="all")&&zC(a,l))return s==="all"&&(this._pt=0),ps(this);for(f=this._op=this._op||[],s!=="all"&&(st(s)&&(g={},At(s,function(T){return g[T]=1}),s=g),s=fS(a,s)),_=a.length;_--;)if(~l.indexOf(a[_])){d=c[_],s==="all"?(f[_]=s,w=d,h={}):(h=f[_]=f[_]||{},w=s);for(g in w)E=d&&d[g],E&&((!("kill"in E.d)||E.d.kill(g)===!0)&&Ia(this,E,"_pt"),delete d[g]),h!=="all"&&(h[g]=1)}return this._initted&&!this._pt&&u&&ps(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return ks(1,arguments)},e.delayedCall=function(i,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,s,o){return ks(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,o){return ze.killTweensOf(i,s,o)},e}(Wi);nn(qe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});At("staggerTo,staggerFrom,staggerFromTo",function(t){qe[t]=function(){var e=new Tt,n=_c.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Bu=function(e,n,r){return e[n]=r},g_=function(e,n,r){return e[n](r)},mS=function(e,n,r,i){return e[n](i.fp,r)},pS=function(e,n,r){return e.setAttribute(n,r)},Uu=function(e,n){return We(e[n])?g_:Du(e[n])&&e.setAttribute?pS:Bu},__=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},gS=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},v_=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},Wu=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},_S=function(e,n,r,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,n,r),s=o},vS=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?Ia(this,n,"_pt"):n.dep||(r=1),n=i;return!r},bS=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},b_=function(e){for(var n=e._pt,r,i,s,o;n;){for(r=n._next,i=s;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:o)?n._prev._next=n:s=n,(n._next=i)?i._prev=n:o=n,n=r}e._pt=s},xt=function(){function t(n,r,i,s,o,a,l,c,u){this.t=r,this.s=s,this.c=o,this.p=i,this.r=a||__,this.d=l||this,this.set=c||Bu,this.pr=u||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,s){this.mSet=this.mSet||this.set,this.set=bS,this.m=r,this.mt=s,this.tween=i},t}();At(Vu+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return Fu[t]=1});zt.TweenMax=zt.TweenLite=qe;zt.TimelineLite=zt.TimelineMax=Tt;ze=new Tt({sortChildren:!1,defaults:zi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});$t.stringFilter=l_;var Ki=[],Ho={},yS=[],qf=0,yl=function(e){return(Ho[e]||yS).map(function(n){return n()})},wc=function(){var e=Date.now(),n=[];e-qf>2&&(yl("matchMediaInit"),Ki.forEach(function(r){var i=r.queries,s=r.conditions,o,a,l,c;for(a in i)o=Kt.matchMedia(i[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,c=1);c&&(r.revert(),l&&n.push(r))}),yl("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r)}),qf=e,yl("matchMedia"))},y_=function(){function t(n,r){this.selector=r&&vc(r),this.data=[],this._r=[],this.isReverted=!1,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,s){We(r)&&(s=i,i=r,r=We);var o=this,a=function(){var c=Xe,u=o.selector,f;return c&&c!==o&&c.data.push(o),s&&(o.selector=vc(s)),Xe=o,f=i.apply(o,arguments),We(f)&&o._r.push(f),Xe=c,o.selector=u,o.isReverted=!1,f};return o.last=a,r===We?a(o):r?o[r]=a:a},e.ignore=function(r){var i=Xe;Xe=null,r(this),Xe=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof qe&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var s=this;if(r){var o=this.getTweens();this.data.forEach(function(l){l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(c){return o.splice(o.indexOf(c),1)}))}),o.map(function(l){return{g:l.globalTime(0),t:l}}).sort(function(l,c){return c.g-l.g||-1}).forEach(function(l){return l.t.revert(r)}),this.data.forEach(function(l){return!(l instanceof Wi)&&l.revert&&l.revert(r)}),this._r.forEach(function(l){return l(r,s)}),this.isReverted=!0}else this.data.forEach(function(l){return l.kill&&l.kill()});if(this.clear(),i){var a=Ki.indexOf(this);~a&&Ki.splice(a,1)}},e.revert=function(r){this.kill(r||{})},t}(),wS=function(){function t(n){this.contexts=[],this.scope=n}var e=t.prototype;return e.add=function(r,i,s){Nn(r)||(r={matches:r});var o=new y_(0,s||this.scope),a=o.conditions={},l,c,u;this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(c in r)c==="all"?u=1:(l=Kt.matchMedia(r[c]),l&&(Ki.indexOf(o)<0&&Ki.push(o),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(wc):l.addEventListener("change",wc)));return u&&i(o),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t}(),aa={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r1){var i=e.map(function(u){return Ht.quickSetter(u,n,r)}),s=i.length;return function(u){for(var f=s;f--;)i[f](u)}}e=e[0]||{};var o=It[n],a=Ur(e),l=a.harness&&(a.harness.aliases||{})[n]||n,c=o?function(u){var f=new o;yi._pt=0,f.init(e,r?u+r:u,yi,0,[e]),f.render(1,f),yi._pt&&Wu(1,yi)}:a.set(e,l);return o?c:function(u){return c(e,l,r?u+r:u,a,1)}},quickTo:function(e,n,r){var i,s=Ht.to(e,Xr((i={},i[n]="+=0.1",i.paused=!0,i),r||{})),o=function(l,c,u){return s.resetTo(n,l,c,u)};return o.tween=s,o},isTweening:function(e){return ze.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Kr(e.ease,zi.ease)),Uf(zi,e||{})},config:function(e){return Uf($t,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!It[a]&&!zt[a]&&ra(n+" effect requires "+a+" plugin.")}),gl[n]=function(a,l,c){return r(Xt(a),nn(l||{},s),c)},o&&(Tt.prototype[n]=function(a,l,c){return this.add(gl[n](a,Nn(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,n){Se[e]=Kr(n)},parseEase:function(e,n){return arguments.length?Kr(e,n):Se},getById:function(e){return ze.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Tt(e),i,s;for(r.smoothChildTiming=kt(e.smoothChildTiming),ze.remove(r),r._dp=0,r._time=r._tTime=ze._time,i=ze._first;i;)s=i._next,(n||!(!i._dur&&i instanceof qe&&i.vars.onComplete===i._targets[0]))&&Tn(r,i,i._start-i._delay),i=s;return Tn(ze,r,0),r},context:function(e,n){return e?new y_(e,n):Xe},matchMedia:function(e){return new wS(e)},matchMediaRefresh:function(){return Ki.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||wc()},addEventListener:function(e,n){var r=Ho[e]||(Ho[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Ho[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:JC,wrapYoyo:eS,distribute:t_,random:r_,snap:n_,normalize:ZC,getUnit:ft,clamp:GC,splitColor:o_,toArray:Xt,selector:vc,mapRange:s_,pipe:XC,unitize:QC,interpolate:tS,shuffle:e_},install:Hg,effects:gl,ticker:Mt,updateRoot:Tt.updateRoot,plugins:It,globalTimeline:ze,core:{PropTween:xt,globals:Bg,Tween:qe,Timeline:Tt,Animation:Wi,getCache:Ur,_removeLinkedListItem:Ia,reverting:function(){return St},context:function(e){return e&&Xe&&(Xe.data.push(e),e._ctx=Xe),Xe},suppressOverwrites:function(e){return Mu=e}}};At("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return aa[t]=qe[t]});Mt.add(Tt.updateRoot);yi=aa.to({},{duration:0});var ES=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},TS=function(e,n){var r=e._targets,i,s,o;for(i in n)for(s=r.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=ES(o,i)),o&&o.modifier&&o.modifier(n[i],e,r[s],i))},wl=function(e,n){return{name:e,rawVars:1,init:function(i,s,o){o._onInit=function(a){var l,c;if(st(s)&&(l={},At(s,function(u){return l[u]=1}),s=l),n){l={};for(c in s)l[c]=n(s[c]);s=l}TS(a,s)}}}},Ht=aa.registerPlugin({name:"attr",init:function(e,n,r,i,s){var o,a,l;this.tween=r;for(o in n)l=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(l||0)+"",n[o],i,s,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(e,n){for(var r=n._pt;r;)St?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},wl("roundProps",bc),wl("modifiers"),wl("snap",n_))||aa;qe.version=Tt.version=Ht.version="3.11.3";zg=1;Rg()&&Ui();Se.Power0;Se.Power1;Se.Power2;Se.Power3;Se.Power4;Se.Linear;Se.Quad;Se.Cubic;Se.Quart;Se.Quint;Se.Strong;Se.Elastic;Se.Back;Se.SteppedEase;Se.Bounce;Se.Sine;Se.Expo;Se.Circ;/*! * CSSPlugin 3.11.3 * https://greensock.com * @@ -24,11 +24,11 @@ var $v=Object.defineProperty;var Fv=(t,e,n)=>e in t?$v(t,e,{enumerable:!0,config * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com -*/var Xf,rr,Li,Ku,zr,Qf,Yu,CS=function(){return typeof window<"u"},Kn={},Ir=180/Math.PI,Pi=Math.PI/180,ci=Math.atan2,Zf=1e8,qu=/([A-Z])/g,SS=/(left|right|width|margin|padding|x)/i,AS=/[\s,\(]\S/,Vn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ec=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},kS=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},xS=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},LS=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},w_=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},E_=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},PS=function(e,n,r){return e.style[n]=r},NS=function(e,n,r){return e.style.setProperty(n,r)},OS=function(e,n,r){return e._gsap[n]=r},IS=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},MS=function(e,n,r,i,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},DS=function(e,n,r,i,s){var o=e._gsap;o[n]=r,o.renderTransform(s,o)},Be="transform",fn=Be+"Origin",RS=function(e,n){var r=this,i=this.target,s=i.style;if(e in Kn){if(this.tfm=this.tfm||{},e!=="transform"&&(e=Vn[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=Rn(i,o)}):this.tfm[e]=i._gsap.x?i._gsap[e]:Rn(i,e)),this.props.indexOf(Be)>=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(fn,n,"")),e=Be}(s||n)&&this.props.push(e,n,s[e])},T_=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},$S=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,s,o;for(s=0;s=0?Jf[o]:"")+e},Cc=function(){CS()&&window.document&&(Xf=window,rr=Xf.document,Li=rr.documentElement,zr=Tc("div")||{style:{}},Tc("div"),Be=Yi(Be),fn=Be+"Origin",zr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",S_=!!Yi("perspective"),Yu=jt.core.reverting,Ku=1)},El=function t(e){var n=Tc("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,s=this.style.cssText,o;if(Li.appendChild(n),n.appendChild(this),this.style.display="block",e)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(o=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),Li.removeChild(n),this.style.cssText=s,o},eh=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},A_=function(e){var n;try{n=e.getBBox()}catch{n=El.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===El||(n=El.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+eh(e,["x","cx","x1"])||0,y:+eh(e,["y","cy","y1"])||0,width:0,height:0}:n},k_=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&A_(e))},Ys=function(e,n){if(n){var r=e.style;n in Kn&&n!==fn&&(n=Be),r.removeProperty?((n.substr(0,2)==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(n.replace(qu,"-$1").toLowerCase())):r.removeAttribute(n)}},ir=function(e,n,r,i,s,o){var a=new xt(e._pt,n,r,0,1,o?E_:w_);return e._pt=a,a.b=i,a.e=s,e._props.push(r),a},th={deg:1,rad:1,turn:1},FS={grid:1,flex:1},_r=function t(e,n,r,i){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=zr.style,l=SS.test(n),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,d=i==="px",h=i==="%",w,g,E,_;return i===o||!s||th[i]||th[o]?s:(o!=="px"&&!d&&(s=t(e,n,r,"px")),_=e.getCTM&&k_(e),(h||o==="%")&&(Kn[n]||~n.indexOf("adius"))?(w=_?e.getBBox()[l?"width":"height"]:e[u],Ye(h?s/w*f:s/100*w)):(a[l?"width":"height"]=f+(d?o:i),g=~n.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,_&&(g=(e.ownerSVGElement||{}).parentNode),(!g||g===rr||!g.appendChild)&&(g=rr.body),E=g._gsap,E&&h&&E.width&&l&&E.time===Mt.time&&!E.uncache?Ye(s/E.width*f):((h||o==="%")&&!FS[kn(g,"display")]&&(a.position=kn(e,"position")),g===e&&(a.position="static"),g.appendChild(zr),w=zr[u],g.removeChild(zr),a.position="absolute",l&&h&&(E=Ur(g),E.time=Mt.time,E.width=g[u]),Ye(d?w*s/f:w&&s?f/w*s:0))))},Rn=function(e,n,r,i){var s;return Ku||Cc(),n in Vn&&n!=="transform"&&(n=Vn[n],~n.indexOf(",")&&(n=n.split(",")[0])),Kn[n]&&n!=="transform"?(s=Gs(e,i),s=n!=="transformOrigin"?s[n]:s.svg?s.origin:ca(kn(e,fn))+" "+s.zOrigin+"px"):(s=e.style[n],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=la[n]&&la[n](e,n,r)||kn(e,n)||Wg(e,n)||(n==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?_r(e,n,s,r)+r:s},VS=function(e,n,r,i){if(!r||r==="none"){var s=Yi(n,e,1),o=s&&kn(e,s,1);o&&o!==r?(n=s,r=o):n==="borderColor"&&(r=kn(e,"borderTopColor"))}var a=new xt(this._pt,e.style,n,0,1,v_),l=0,c=0,u,f,d,h,w,g,E,_,T,S,v,b;if(a.b=r,a.e=i,r+="",i+="",i==="auto"&&(e.style[n]=i,i=kn(e,n)||i,e.style[n]=r),u=[r,i],l_(u),r=u[0],i=u[1],d=r.match(bi)||[],b=i.match(bi)||[],b.length){for(;f=bi.exec(i);)E=f[0],T=i.substring(l,f.index),w?w=(w+1)%5:(T.substr(-5)==="rgba("||T.substr(-5)==="hsla(")&&(w=1),E!==(g=d[c++]||"")&&(h=parseFloat(g)||0,v=g.substr((h+"").length),E.charAt(1)==="="&&(E=xi(h,E)+v),_=parseFloat(E),S=E.substr((_+"").length),l=bi.lastIndex-S.length,S||(S=S||$t.units[n]||v,l===i.length&&(i+=S,a.e+=S)),v!==S&&(h=_r(e,n,g,S)||0),a._pt={_next:a._pt,p:T||c===1?T:",",s:h,c:_-h,m:w&&w<4||n==="zIndex"?Math.round:0});a.c=l-1;)a=s[c],Kn[a]&&(l=1,a=a==="transformOrigin"?fn:Be),Ys(r,a);l&&(Ys(r,Be),o&&(o.svg&&r.removeAttribute("transform"),Gs(r,1),o.uncache=1,T_(i)))}},la={clearProps:function(e,n,r,i,s){if(s.data!=="isFromStart"){var o=e._pt=new xt(e._pt,n,r,0,0,HS);return o.u=i,o.pr=-10,o.tween=s,e._props.push(r),1}}},qs=[1,0,0,1,0,0],x_={},L_=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},rh=function(e){var n=kn(e,Be);return L_(n)?qs:n.substr(7).match(Fg).map(Ye)},Gu=function(e,n){var r=e._gsap||Ur(e),i=e.style,s=rh(e),o,a,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?qs:s):(s===qs&&!e.offsetParent&&e!==Li&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent)&&(c=1,a=e.nextElementSibling,Li.appendChild(e)),s=rh(e),l?i.display=l:Ys(e,"display"),c&&(a?o.insertBefore(e,a):o?o.appendChild(e):Li.removeChild(e))),n&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Sc=function(e,n,r,i,s,o){var a=e._gsap,l=s||Gu(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,d=a.yOffset||0,h=l[0],w=l[1],g=l[2],E=l[3],_=l[4],T=l[5],S=n.split(" "),v=parseFloat(S[0])||0,b=parseFloat(S[1])||0,k,x,N,I;r?l!==qs&&(x=h*E-w*g)&&(N=v*(E/x)+b*(-g/x)+(g*T-E*_)/x,I=v*(-w/x)+b*(h/x)-(h*T-w*_)/x,v=N,b=I):(k=A_(e),v=k.x+(~S[0].indexOf("%")?v/100*k.width:v),b=k.y+(~(S[1]||S[0]).indexOf("%")?b/100*k.height:b)),i||i!==!1&&a.smooth?(_=v-c,T=b-u,a.xOffset=f+(_*h+T*g)-_,a.yOffset=d+(_*w+T*E)-T):a.xOffset=a.yOffset=0,a.xOrigin=v,a.yOrigin=b,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!r,e.style[fn]="0px 0px",o&&(ir(o,a,"xOrigin",c,v),ir(o,a,"yOrigin",u,b),ir(o,a,"xOffset",f,a.xOffset),ir(o,a,"yOffset",d,a.yOffset)),e.setAttribute("data-svg-origin",v+" "+b)},Gs=function(e,n){var r=e._gsap||new f_(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,o="px",a="deg",l=getComputedStyle(e),c=kn(e,fn)||"0",u,f,d,h,w,g,E,_,T,S,v,b,k,x,N,I,B,X,J,ne,D,L,Y,W,Z,oe,le,ae,ce,Oe,fe,$;return u=f=d=g=E=_=T=S=v=0,h=w=1,r.svg=!!(e.getCTM&&k_(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[Be]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[Be]!=="none"?l[Be]:"")),i.scale=i.rotate=i.translate="none"),x=Gu(e,r.svg),r.svg&&(r.uncache?(Z=e.getBBox(),c=r.xOrigin-Z.x+"px "+(r.yOrigin-Z.y)+"px",W=""):W=!n&&e.getAttribute("data-svg-origin"),Sc(e,W||c,!!W||r.originIsAbsolute,r.smooth!==!1,x)),b=r.xOrigin||0,k=r.yOrigin||0,x!==qs&&(X=x[0],J=x[1],ne=x[2],D=x[3],u=L=x[4],f=Y=x[5],x.length===6?(h=Math.sqrt(X*X+J*J),w=Math.sqrt(D*D+ne*ne),g=X||J?ci(J,X)*Ir:0,T=ne||D?ci(ne,D)*Ir+g:0,T&&(w*=Math.abs(Math.cos(T*Pi))),r.svg&&(u-=b-(b*X+k*ne),f-=k-(b*J+k*D))):($=x[6],Oe=x[7],le=x[8],ae=x[9],ce=x[10],fe=x[11],u=x[12],f=x[13],d=x[14],N=ci($,ce),E=N*Ir,N&&(I=Math.cos(-N),B=Math.sin(-N),W=L*I+le*B,Z=Y*I+ae*B,oe=$*I+ce*B,le=L*-B+le*I,ae=Y*-B+ae*I,ce=$*-B+ce*I,fe=Oe*-B+fe*I,L=W,Y=Z,$=oe),N=ci(-ne,ce),_=N*Ir,N&&(I=Math.cos(-N),B=Math.sin(-N),W=X*I-le*B,Z=J*I-ae*B,oe=ne*I-ce*B,fe=D*B+fe*I,X=W,J=Z,ne=oe),N=ci(J,X),g=N*Ir,N&&(I=Math.cos(N),B=Math.sin(N),W=X*I+J*B,Z=L*I+Y*B,J=J*I-X*B,Y=Y*I-L*B,X=W,L=Z),E&&Math.abs(E)+Math.abs(g)>359.9&&(E=g=0,_=180-_),h=Ye(Math.sqrt(X*X+J*J+ne*ne)),w=Ye(Math.sqrt(Y*Y+$*$)),N=ci(L,Y),T=Math.abs(N)>2e-4?N*Ir:0,v=fe?1/(fe<0?-fe:fe):0),r.svg&&(W=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!L_(kn(e,Be)),W&&e.setAttribute("transform",W))),Math.abs(T)>90&&Math.abs(T)<270&&(s?(h*=-1,T+=g<=0?180:-180,g+=g<=0?180:-180):(w*=-1,T+=T<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=f-((r.yPercent=f&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=d+o,r.scaleX=Ye(h),r.scaleY=Ye(w),r.rotation=Ye(g)+a,r.rotationX=Ye(E)+a,r.rotationY=Ye(_)+a,r.skewX=T+a,r.skewY=S+a,r.transformPerspective=v+o,(r.zOrigin=parseFloat(c.split(" ")[2])||0)&&(i[fn]=ca(c)),r.xOffset=r.yOffset=0,r.force3D=$t.force3D,r.renderTransform=r.svg?BS:S_?P_:jS,r.uncache=0,r},ca=function(e){return(e=e.split(" "))[0]+" "+e[1]},Tl=function(e,n,r){var i=ft(n);return Ye(parseFloat(n)+parseFloat(_r(e,"x",r+"px",i)))+i},jS=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,P_(e,n)},Pr="0deg",ds="0px",Nr=") ",P_=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.z,c=r.rotation,u=r.rotationY,f=r.rotationX,d=r.skewX,h=r.skewY,w=r.scaleX,g=r.scaleY,E=r.transformPerspective,_=r.force3D,T=r.target,S=r.zOrigin,v="",b=_==="auto"&&e&&e!==1||_===!0;if(S&&(f!==Pr||u!==Pr)){var k=parseFloat(u)*Pi,x=Math.sin(k),N=Math.cos(k),I;k=parseFloat(f)*Pi,I=Math.cos(k),o=Tl(T,o,x*I*-S),a=Tl(T,a,-Math.sin(k)*-S),l=Tl(T,l,N*I*-S+S)}E!==ds&&(v+="perspective("+E+Nr),(i||s)&&(v+="translate("+i+"%, "+s+"%) "),(b||o!==ds||a!==ds||l!==ds)&&(v+=l!==ds||b?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+Nr),c!==Pr&&(v+="rotate("+c+Nr),u!==Pr&&(v+="rotateY("+u+Nr),f!==Pr&&(v+="rotateX("+f+Nr),(d!==Pr||h!==Pr)&&(v+="skew("+d+", "+h+Nr),(w!==1||g!==1)&&(v+="scale("+w+", "+g+Nr),T.style[Be]=v||"translate(0, 0)"},BS=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.rotation,c=r.skewX,u=r.skewY,f=r.scaleX,d=r.scaleY,h=r.target,w=r.xOrigin,g=r.yOrigin,E=r.xOffset,_=r.yOffset,T=r.forceCSS,S=parseFloat(o),v=parseFloat(a),b,k,x,N,I;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=Pi,c*=Pi,b=Math.cos(l)*f,k=Math.sin(l)*f,x=Math.sin(l-c)*-d,N=Math.cos(l-c)*d,c&&(u*=Pi,I=Math.tan(c-u),I=Math.sqrt(1+I*I),x*=I,N*=I,u&&(I=Math.tan(u),I=Math.sqrt(1+I*I),b*=I,k*=I)),b=Ye(b),k=Ye(k),x=Ye(x),N=Ye(N)):(b=f,N=d,k=x=0),(S&&!~(o+"").indexOf("px")||v&&!~(a+"").indexOf("px"))&&(S=_r(h,"x",o,"px"),v=_r(h,"y",a,"px")),(w||g||E||_)&&(S=Ye(S+w-(w*b+g*x)+E),v=Ye(v+g-(w*k+g*N)+_)),(i||s)&&(I=h.getBBox(),S=Ye(S+i/100*I.width),v=Ye(v+s/100*I.height)),I="matrix("+b+","+k+","+x+","+N+","+S+","+v+")",h.setAttribute("transform",I),T&&(h.style[Be]=I)},US=function(e,n,r,i,s){var o=360,a=st(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?Ir:1),c=l-i,u=i+c+"deg",f,d;return a&&(f=s.split("_")[1],f==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),f==="cw"&&c<0?c=(c+o*Zf)%o-~~(c/o)*o:f==="ccw"&&c>0&&(c=(c-o*Zf)%o-~~(c/o)*o)),e._pt=d=new xt(e._pt,n,r,i,c,kS),d.e=u,d.u="deg",e._props.push(r),d},ih=function(e,n){for(var r in n)e[r]=n[r];return e},WS=function(e,n,r){var i=ih({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,l,c,u,f,d,h,w;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[Be]=n,a=Gs(r,1),Ys(r,Be),r.setAttribute("transform",c)):(c=getComputedStyle(r)[Be],o[Be]=n,a=Gs(r,1),o[Be]=c);for(l in Kn)c=i[l],u=a[l],c!==u&&s.indexOf(l)<0&&(h=ft(c),w=ft(u),f=h!==w?_r(r,l,c,w):parseFloat(c),d=parseFloat(u),e._pt=new xt(e._pt,a,l,f,d-f,Ec),e._pt.u=w||0,e._props.push(l));ih(a,i)};kt("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",s="Left",o=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map(function(a){return e<2?t+a:"border"+a+t});la[e>1?"border"+t:t]=function(a,l,c,u,f){var d,h;if(arguments.length<4)return d=o.map(function(w){return Rn(a,w,c)}),h=d.join(" "),h.split(d[0]).length===5?d[0]:h;d=(u+"").split(" "),h={},o.forEach(function(w,g){return h[w]=d[g]=d[g]||d[(g-1)/2|0]}),a.init(l,h,f)}});var N_={name:"css",register:Cc,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,s){var o=this._props,a=e.style,l=r.vars.startAt,c,u,f,d,h,w,g,E,_,T,S,v,b,k,x,N;Ku||Cc(),this.styles=this.styles||C_(e),N=this.styles.props,this.tween=r;for(g in n)if(g!=="autoRound"&&(u=n[g],!(It[g]&&h_(g,n,r,i,e,s)))){if(h=typeof u,w=la[g],h==="function"&&(u=u.call(r,i,e,s),h=typeof u),h==="string"&&~u.indexOf("random(")&&(u=Ws(u)),w)w(this,e,g,u,r)&&(x=1);else if(g.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(g)+"").trim(),u+="",cr.lastIndex=0,cr.test(c)||(E=ft(c),_=ft(u)),_?E!==_&&(c=_r(e,g,c,_)+_):E&&(u+=E),this.add(a,"setProperty",c,u,i,s,0,0,g),o.push(g),N.push(g,0,a[g]);else if(h!=="undefined"){if(l&&g in l?(c=typeof l[g]=="function"?l[g].call(r,i,e,s):l[g],st(c)&&~c.indexOf("random(")&&(c=Ws(c)),ft(c+"")||(c+=$t.units[g]||ft(Rn(e,g))||""),(c+"").charAt(1)==="="&&(c=Rn(e,g))):c=Rn(e,g),d=parseFloat(c),T=h==="string"&&u.charAt(1)==="="&&u.substr(0,2),T&&(u=u.substr(2)),f=parseFloat(u),g in Vn&&(g==="autoAlpha"&&(d===1&&Rn(e,"visibility")==="hidden"&&f&&(d=0),N.push("visibility",0,a.visibility),ir(this,a,"visibility",d?"inherit":"hidden",f?"inherit":"hidden",!f)),g!=="scale"&&g!=="transform"&&(g=Vn[g],~g.indexOf(",")&&(g=g.split(",")[0]))),S=g in Kn,S){if(this.styles.save(g),v||(b=e._gsap,b.renderTransform&&!n.parseTransform||Gs(e,n.parseTransform),k=n.smoothOrigin!==!1&&b.smooth,v=this._pt=new xt(this._pt,a,Be,0,1,b.renderTransform,b,0,-1),v.dep=1),g==="scale")this._pt=new xt(this._pt,b,"scaleY",d,(T?xi(d,T+f):f)-d||0,Ec),this._pt.u=0,o.push("scaleY",g),g+="X";else if(g==="transformOrigin"){N.push(fn,0,a[fn]),u=zS(u),b.svg?Sc(e,u,0,k,0,this):(_=parseFloat(u.split(" ")[2])||0,_!==b.zOrigin&&ir(this,b,"zOrigin",b.zOrigin,_),ir(this,a,g,ca(c),ca(u)));continue}else if(g==="svgOrigin"){Sc(e,u,1,k,0,this);continue}else if(g in x_){US(this,b,g,d,T?xi(d,T+u):u);continue}else if(g==="smoothOrigin"){ir(this,b,"smooth",b.smooth,u);continue}else if(g==="force3D"){b[g]=u;continue}else if(g==="transform"){WS(this,u,e);continue}}else g in a||(g=Yi(g)||g);if(S||(f||f===0)&&(d||d===0)&&!AS.test(u)&&g in a)E=(c+"").substr((d+"").length),f||(f=0),_=ft(u)||(g in $t.units?$t.units[g]:E),E!==_&&(d=_r(e,g,c,_)),this._pt=new xt(this._pt,S?b:a,g,d,(T?xi(d,T+f):f)-d,!S&&(_==="px"||g==="zIndex")&&n.autoRound!==!1?LS:Ec),this._pt.u=_||0,E!==_&&_!=="%"&&(this._pt.b=c,this._pt.r=xS);else if(g in a)VS.call(this,e,g,c,T?T+u:u);else if(g in e)this.add(e,g,c||e[g],T?T+u:u,i,s);else{$u(g,u);continue}S||(g in a?N.push(g,0,a[g]):N.push(g,1,c||e[g])),o.push(g)}}x&&b_(this)},render:function(e,n){if(n.tween._time||!Yu())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:Rn,aliases:Vn,getSetter:function(e,n,r){var i=Vn[n];return i&&i.indexOf(",")<0&&(n=i),n in Kn&&n!==fn&&(e._gsap.x||Rn(e,"x"))?r&&Qf===r?n==="scale"?IS:OS:(Qf=r||{})&&(n==="scale"?MS:DS):e.style&&!Du(e.style[n])?PS:~n.indexOf("-")?NS:Uu(e,n)},core:{_removeProperty:Ys,_getMatrix:Gu}};jt.utils.checkPrefix=Yi;jt.core.getStyleSaver=C_;(function(t,e,n,r){var i=kt(t+","+e+","+n,function(s){Kn[s]=1});kt(e,function(s){$t.units[s]="deg",x_[s]=1}),Vn[i[13]]=t+","+e,kt(r,function(s){var o=s.split(":");Vn[o[1]]=i[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");kt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){$t.units[t]="px"});jt.registerPlugin(N_);var KS=jt.registerPlugin(N_)||jt;KS.core.Tween;const YS=t=>t.replace(/[^.]/g,"").length,qS={name:"number",props:{from:{type:[Number,String],default:0},to:{type:[Number,String],required:!0,default:0},format:{type:Function,default:t=>parseInt(t)},duration:{type:Number,default:1},easing:{type:String,default:"Power1.easeOut"},delay:{type:Number,default:0},tag:{type:String,default:"span"},animationPaused:Boolean},data(){return{fromProp:this.from}},computed:{tweenedNumber(){return this.format(this.fromProp)}},methods:{tween(t){const e=this,n=Ge.to(e.$data,e.duration,{fromProp:t,paused:e.animationPaused,ease:e.easeCheck(),onStart:()=>e.$emit("start"),onComplete:()=>e.$emit("complete"),onUpdate:()=>e.$emit("update"),delay:e.delay});e.tween.tLite=n},play(){this.tween.tLite.play()},pause(){this.tween.tLite.pause()},restart(){this.tween.tLite.restart()},easeCheck(){const t=this;if(YS(t.easing)!==1)throw new Error('Invalid ease type. (eg. easing="Power1.easeOut")');return t.easing}},watch:{to(t){this.tween(t)}},mounted(){this.tween(this.to)}};function GS(t,e,n,r,i,s){return M(),Te(ku(n.tag),null,{default:Je(()=>[Le(F(s.tweenedNumber),1)]),_:1})}const XS=we(qS,[["render",GS]]),O_={install:function(t){t.component("number",XS)}};typeof window<"u"&&window.Vue&&window.Vue.use(O_);/*! +*/var Xf,rr,Li,Ku,jr,Qf,Yu,CS=function(){return typeof window<"u"},Kn={},Ir=180/Math.PI,Pi=Math.PI/180,ci=Math.atan2,Zf=1e8,Gu=/([A-Z])/g,SS=/(left|right|width|margin|padding|x)/i,kS=/[\s,\(]\S/,Vn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ec=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},AS=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},xS=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},LS=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},w_=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},E_=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},PS=function(e,n,r){return e.style[n]=r},NS=function(e,n,r){return e.style.setProperty(n,r)},OS=function(e,n,r){return e._gsap[n]=r},IS=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},MS=function(e,n,r,i,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},DS=function(e,n,r,i,s){var o=e._gsap;o[n]=r,o.renderTransform(s,o)},Be="transform",fn=Be+"Origin",RS=function(e,n){var r=this,i=this.target,s=i.style;if(e in Kn){if(this.tfm=this.tfm||{},e!=="transform"&&(e=Vn[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return r.tfm[o]=Rn(i,o)}):this.tfm[e]=i._gsap.x?i._gsap[e]:Rn(i,e)),this.props.indexOf(Be)>=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(fn,n,"")),e=Be}(s||n)&&this.props.push(e,n,s[e])},T_=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},$S=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,s,o;for(s=0;s=0?Jf[o]:"")+e},Cc=function(){CS()&&window.document&&(Xf=window,rr=Xf.document,Li=rr.documentElement,jr=Tc("div")||{style:{}},Tc("div"),Be=Yi(Be),fn=Be+"Origin",jr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",S_=!!Yi("perspective"),Yu=Ht.core.reverting,Ku=1)},El=function t(e){var n=Tc("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,s=this.style.cssText,o;if(Li.appendChild(n),n.appendChild(this),this.style.display="block",e)try{o=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(o=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),Li.removeChild(n),this.style.cssText=s,o},eh=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},k_=function(e){var n;try{n=e.getBBox()}catch{n=El.call(e,!0)}return n&&(n.width||n.height)||e.getBBox===El||(n=El.call(e,!0)),n&&!n.width&&!n.x&&!n.y?{x:+eh(e,["x","cx","x1"])||0,y:+eh(e,["y","cy","y1"])||0,width:0,height:0}:n},A_=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&k_(e))},Ys=function(e,n){if(n){var r=e.style;n in Kn&&n!==fn&&(n=Be),r.removeProperty?((n.substr(0,2)==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(n.replace(Gu,"-$1").toLowerCase())):r.removeAttribute(n)}},ir=function(e,n,r,i,s,o){var a=new xt(e._pt,n,r,0,1,o?E_:w_);return e._pt=a,a.b=i,a.e=s,e._props.push(r),a},th={deg:1,rad:1,turn:1},FS={grid:1,flex:1},_r=function t(e,n,r,i){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=jr.style,l=SS.test(n),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,d=i==="px",h=i==="%",w,g,E,_;return i===o||!s||th[i]||th[o]?s:(o!=="px"&&!d&&(s=t(e,n,r,"px")),_=e.getCTM&&A_(e),(h||o==="%")&&(Kn[n]||~n.indexOf("adius"))?(w=_?e.getBBox()[l?"width":"height"]:e[u],Ye(h?s/w*f:s/100*w)):(a[l?"width":"height"]=f+(d?o:i),g=~n.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,_&&(g=(e.ownerSVGElement||{}).parentNode),(!g||g===rr||!g.appendChild)&&(g=rr.body),E=g._gsap,E&&h&&E.width&&l&&E.time===Mt.time&&!E.uncache?Ye(s/E.width*f):((h||o==="%")&&!FS[An(g,"display")]&&(a.position=An(e,"position")),g===e&&(a.position="static"),g.appendChild(jr),w=jr[u],g.removeChild(jr),a.position="absolute",l&&h&&(E=Ur(g),E.time=Mt.time,E.width=g[u]),Ye(d?w*s/f:w&&s?f/w*s:0))))},Rn=function(e,n,r,i){var s;return Ku||Cc(),n in Vn&&n!=="transform"&&(n=Vn[n],~n.indexOf(",")&&(n=n.split(",")[0])),Kn[n]&&n!=="transform"?(s=qs(e,i),s=n!=="transformOrigin"?s[n]:s.svg?s.origin:ca(An(e,fn))+" "+s.zOrigin+"px"):(s=e.style[n],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=la[n]&&la[n](e,n,r)||An(e,n)||Wg(e,n)||(n==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?_r(e,n,s,r)+r:s},VS=function(e,n,r,i){if(!r||r==="none"){var s=Yi(n,e,1),o=s&&An(e,s,1);o&&o!==r?(n=s,r=o):n==="borderColor"&&(r=An(e,"borderTopColor"))}var a=new xt(this._pt,e.style,n,0,1,v_),l=0,c=0,u,f,d,h,w,g,E,_,T,S,v,b;if(a.b=r,a.e=i,r+="",i+="",i==="auto"&&(e.style[n]=i,i=An(e,n)||i,e.style[n]=r),u=[r,i],l_(u),r=u[0],i=u[1],d=r.match(bi)||[],b=i.match(bi)||[],b.length){for(;f=bi.exec(i);)E=f[0],T=i.substring(l,f.index),w?w=(w+1)%5:(T.substr(-5)==="rgba("||T.substr(-5)==="hsla(")&&(w=1),E!==(g=d[c++]||"")&&(h=parseFloat(g)||0,v=g.substr((h+"").length),E.charAt(1)==="="&&(E=xi(h,E)+v),_=parseFloat(E),S=E.substr((_+"").length),l=bi.lastIndex-S.length,S||(S=S||$t.units[n]||v,l===i.length&&(i+=S,a.e+=S)),v!==S&&(h=_r(e,n,g,S)||0),a._pt={_next:a._pt,p:T||c===1?T:",",s:h,c:_-h,m:w&&w<4||n==="zIndex"?Math.round:0});a.c=l-1;)a=s[c],Kn[a]&&(l=1,a=a==="transformOrigin"?fn:Be),Ys(r,a);l&&(Ys(r,Be),o&&(o.svg&&r.removeAttribute("transform"),qs(r,1),o.uncache=1,T_(i)))}},la={clearProps:function(e,n,r,i,s){if(s.data!=="isFromStart"){var o=e._pt=new xt(e._pt,n,r,0,0,zS);return o.u=i,o.pr=-10,o.tween=s,e._props.push(r),1}}},Gs=[1,0,0,1,0,0],x_={},L_=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},rh=function(e){var n=An(e,Be);return L_(n)?Gs:n.substr(7).match(Fg).map(Ye)},qu=function(e,n){var r=e._gsap||Ur(e),i=e.style,s=rh(e),o,a,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?Gs:s):(s===Gs&&!e.offsetParent&&e!==Li&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent)&&(c=1,a=e.nextElementSibling,Li.appendChild(e)),s=rh(e),l?i.display=l:Ys(e,"display"),c&&(a?o.insertBefore(e,a):o?o.appendChild(e):Li.removeChild(e))),n&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Sc=function(e,n,r,i,s,o){var a=e._gsap,l=s||qu(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,d=a.yOffset||0,h=l[0],w=l[1],g=l[2],E=l[3],_=l[4],T=l[5],S=n.split(" "),v=parseFloat(S[0])||0,b=parseFloat(S[1])||0,A,x,N,I;r?l!==Gs&&(x=h*E-w*g)&&(N=v*(E/x)+b*(-g/x)+(g*T-E*_)/x,I=v*(-w/x)+b*(h/x)-(h*T-w*_)/x,v=N,b=I):(A=k_(e),v=A.x+(~S[0].indexOf("%")?v/100*A.width:v),b=A.y+(~(S[1]||S[0]).indexOf("%")?b/100*A.height:b)),i||i!==!1&&a.smooth?(_=v-c,T=b-u,a.xOffset=f+(_*h+T*g)-_,a.yOffset=d+(_*w+T*E)-T):a.xOffset=a.yOffset=0,a.xOrigin=v,a.yOrigin=b,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!r,e.style[fn]="0px 0px",o&&(ir(o,a,"xOrigin",c,v),ir(o,a,"yOrigin",u,b),ir(o,a,"xOffset",f,a.xOffset),ir(o,a,"yOffset",d,a.yOffset)),e.setAttribute("data-svg-origin",v+" "+b)},qs=function(e,n){var r=e._gsap||new f_(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,o="px",a="deg",l=getComputedStyle(e),c=An(e,fn)||"0",u,f,d,h,w,g,E,_,T,S,v,b,A,x,N,I,B,X,J,ne,D,L,Y,W,Z,oe,le,ae,ce,Oe,fe,$;return u=f=d=g=E=_=T=S=v=0,h=w=1,r.svg=!!(e.getCTM&&A_(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[Be]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[Be]!=="none"?l[Be]:"")),i.scale=i.rotate=i.translate="none"),x=qu(e,r.svg),r.svg&&(r.uncache?(Z=e.getBBox(),c=r.xOrigin-Z.x+"px "+(r.yOrigin-Z.y)+"px",W=""):W=!n&&e.getAttribute("data-svg-origin"),Sc(e,W||c,!!W||r.originIsAbsolute,r.smooth!==!1,x)),b=r.xOrigin||0,A=r.yOrigin||0,x!==Gs&&(X=x[0],J=x[1],ne=x[2],D=x[3],u=L=x[4],f=Y=x[5],x.length===6?(h=Math.sqrt(X*X+J*J),w=Math.sqrt(D*D+ne*ne),g=X||J?ci(J,X)*Ir:0,T=ne||D?ci(ne,D)*Ir+g:0,T&&(w*=Math.abs(Math.cos(T*Pi))),r.svg&&(u-=b-(b*X+A*ne),f-=A-(b*J+A*D))):($=x[6],Oe=x[7],le=x[8],ae=x[9],ce=x[10],fe=x[11],u=x[12],f=x[13],d=x[14],N=ci($,ce),E=N*Ir,N&&(I=Math.cos(-N),B=Math.sin(-N),W=L*I+le*B,Z=Y*I+ae*B,oe=$*I+ce*B,le=L*-B+le*I,ae=Y*-B+ae*I,ce=$*-B+ce*I,fe=Oe*-B+fe*I,L=W,Y=Z,$=oe),N=ci(-ne,ce),_=N*Ir,N&&(I=Math.cos(-N),B=Math.sin(-N),W=X*I-le*B,Z=J*I-ae*B,oe=ne*I-ce*B,fe=D*B+fe*I,X=W,J=Z,ne=oe),N=ci(J,X),g=N*Ir,N&&(I=Math.cos(N),B=Math.sin(N),W=X*I+J*B,Z=L*I+Y*B,J=J*I-X*B,Y=Y*I-L*B,X=W,L=Z),E&&Math.abs(E)+Math.abs(g)>359.9&&(E=g=0,_=180-_),h=Ye(Math.sqrt(X*X+J*J+ne*ne)),w=Ye(Math.sqrt(Y*Y+$*$)),N=ci(L,Y),T=Math.abs(N)>2e-4?N*Ir:0,v=fe?1/(fe<0?-fe:fe):0),r.svg&&(W=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!L_(An(e,Be)),W&&e.setAttribute("transform",W))),Math.abs(T)>90&&Math.abs(T)<270&&(s?(h*=-1,T+=g<=0?180:-180,g+=g<=0?180:-180):(w*=-1,T+=T<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=f-((r.yPercent=f&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=d+o,r.scaleX=Ye(h),r.scaleY=Ye(w),r.rotation=Ye(g)+a,r.rotationX=Ye(E)+a,r.rotationY=Ye(_)+a,r.skewX=T+a,r.skewY=S+a,r.transformPerspective=v+o,(r.zOrigin=parseFloat(c.split(" ")[2])||0)&&(i[fn]=ca(c)),r.xOffset=r.yOffset=0,r.force3D=$t.force3D,r.renderTransform=r.svg?BS:S_?P_:HS,r.uncache=0,r},ca=function(e){return(e=e.split(" "))[0]+" "+e[1]},Tl=function(e,n,r){var i=ft(n);return Ye(parseFloat(n)+parseFloat(_r(e,"x",r+"px",i)))+i},HS=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,P_(e,n)},Pr="0deg",ds="0px",Nr=") ",P_=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.z,c=r.rotation,u=r.rotationY,f=r.rotationX,d=r.skewX,h=r.skewY,w=r.scaleX,g=r.scaleY,E=r.transformPerspective,_=r.force3D,T=r.target,S=r.zOrigin,v="",b=_==="auto"&&e&&e!==1||_===!0;if(S&&(f!==Pr||u!==Pr)){var A=parseFloat(u)*Pi,x=Math.sin(A),N=Math.cos(A),I;A=parseFloat(f)*Pi,I=Math.cos(A),o=Tl(T,o,x*I*-S),a=Tl(T,a,-Math.sin(A)*-S),l=Tl(T,l,N*I*-S+S)}E!==ds&&(v+="perspective("+E+Nr),(i||s)&&(v+="translate("+i+"%, "+s+"%) "),(b||o!==ds||a!==ds||l!==ds)&&(v+=l!==ds||b?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+Nr),c!==Pr&&(v+="rotate("+c+Nr),u!==Pr&&(v+="rotateY("+u+Nr),f!==Pr&&(v+="rotateX("+f+Nr),(d!==Pr||h!==Pr)&&(v+="skew("+d+", "+h+Nr),(w!==1||g!==1)&&(v+="scale("+w+", "+g+Nr),T.style[Be]=v||"translate(0, 0)"},BS=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.rotation,c=r.skewX,u=r.skewY,f=r.scaleX,d=r.scaleY,h=r.target,w=r.xOrigin,g=r.yOrigin,E=r.xOffset,_=r.yOffset,T=r.forceCSS,S=parseFloat(o),v=parseFloat(a),b,A,x,N,I;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=Pi,c*=Pi,b=Math.cos(l)*f,A=Math.sin(l)*f,x=Math.sin(l-c)*-d,N=Math.cos(l-c)*d,c&&(u*=Pi,I=Math.tan(c-u),I=Math.sqrt(1+I*I),x*=I,N*=I,u&&(I=Math.tan(u),I=Math.sqrt(1+I*I),b*=I,A*=I)),b=Ye(b),A=Ye(A),x=Ye(x),N=Ye(N)):(b=f,N=d,A=x=0),(S&&!~(o+"").indexOf("px")||v&&!~(a+"").indexOf("px"))&&(S=_r(h,"x",o,"px"),v=_r(h,"y",a,"px")),(w||g||E||_)&&(S=Ye(S+w-(w*b+g*x)+E),v=Ye(v+g-(w*A+g*N)+_)),(i||s)&&(I=h.getBBox(),S=Ye(S+i/100*I.width),v=Ye(v+s/100*I.height)),I="matrix("+b+","+A+","+x+","+N+","+S+","+v+")",h.setAttribute("transform",I),T&&(h.style[Be]=I)},US=function(e,n,r,i,s){var o=360,a=st(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?Ir:1),c=l-i,u=i+c+"deg",f,d;return a&&(f=s.split("_")[1],f==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),f==="cw"&&c<0?c=(c+o*Zf)%o-~~(c/o)*o:f==="ccw"&&c>0&&(c=(c-o*Zf)%o-~~(c/o)*o)),e._pt=d=new xt(e._pt,n,r,i,c,AS),d.e=u,d.u="deg",e._props.push(r),d},ih=function(e,n){for(var r in n)e[r]=n[r];return e},WS=function(e,n,r){var i=ih({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,l,c,u,f,d,h,w;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[Be]=n,a=qs(r,1),Ys(r,Be),r.setAttribute("transform",c)):(c=getComputedStyle(r)[Be],o[Be]=n,a=qs(r,1),o[Be]=c);for(l in Kn)c=i[l],u=a[l],c!==u&&s.indexOf(l)<0&&(h=ft(c),w=ft(u),f=h!==w?_r(r,l,c,w):parseFloat(c),d=parseFloat(u),e._pt=new xt(e._pt,a,l,f,d-f,Ec),e._pt.u=w||0,e._props.push(l));ih(a,i)};At("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",s="Left",o=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map(function(a){return e<2?t+a:"border"+a+t});la[e>1?"border"+t:t]=function(a,l,c,u,f){var d,h;if(arguments.length<4)return d=o.map(function(w){return Rn(a,w,c)}),h=d.join(" "),h.split(d[0]).length===5?d[0]:h;d=(u+"").split(" "),h={},o.forEach(function(w,g){return h[w]=d[g]=d[g]||d[(g-1)/2|0]}),a.init(l,h,f)}});var N_={name:"css",register:Cc,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,s){var o=this._props,a=e.style,l=r.vars.startAt,c,u,f,d,h,w,g,E,_,T,S,v,b,A,x,N;Ku||Cc(),this.styles=this.styles||C_(e),N=this.styles.props,this.tween=r;for(g in n)if(g!=="autoRound"&&(u=n[g],!(It[g]&&h_(g,n,r,i,e,s)))){if(h=typeof u,w=la[g],h==="function"&&(u=u.call(r,i,e,s),h=typeof u),h==="string"&&~u.indexOf("random(")&&(u=Ws(u)),w)w(this,e,g,u,r)&&(x=1);else if(g.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(g)+"").trim(),u+="",cr.lastIndex=0,cr.test(c)||(E=ft(c),_=ft(u)),_?E!==_&&(c=_r(e,g,c,_)+_):E&&(u+=E),this.add(a,"setProperty",c,u,i,s,0,0,g),o.push(g),N.push(g,0,a[g]);else if(h!=="undefined"){if(l&&g in l?(c=typeof l[g]=="function"?l[g].call(r,i,e,s):l[g],st(c)&&~c.indexOf("random(")&&(c=Ws(c)),ft(c+"")||(c+=$t.units[g]||ft(Rn(e,g))||""),(c+"").charAt(1)==="="&&(c=Rn(e,g))):c=Rn(e,g),d=parseFloat(c),T=h==="string"&&u.charAt(1)==="="&&u.substr(0,2),T&&(u=u.substr(2)),f=parseFloat(u),g in Vn&&(g==="autoAlpha"&&(d===1&&Rn(e,"visibility")==="hidden"&&f&&(d=0),N.push("visibility",0,a.visibility),ir(this,a,"visibility",d?"inherit":"hidden",f?"inherit":"hidden",!f)),g!=="scale"&&g!=="transform"&&(g=Vn[g],~g.indexOf(",")&&(g=g.split(",")[0]))),S=g in Kn,S){if(this.styles.save(g),v||(b=e._gsap,b.renderTransform&&!n.parseTransform||qs(e,n.parseTransform),A=n.smoothOrigin!==!1&&b.smooth,v=this._pt=new xt(this._pt,a,Be,0,1,b.renderTransform,b,0,-1),v.dep=1),g==="scale")this._pt=new xt(this._pt,b,"scaleY",d,(T?xi(d,T+f):f)-d||0,Ec),this._pt.u=0,o.push("scaleY",g),g+="X";else if(g==="transformOrigin"){N.push(fn,0,a[fn]),u=jS(u),b.svg?Sc(e,u,0,A,0,this):(_=parseFloat(u.split(" ")[2])||0,_!==b.zOrigin&&ir(this,b,"zOrigin",b.zOrigin,_),ir(this,a,g,ca(c),ca(u)));continue}else if(g==="svgOrigin"){Sc(e,u,1,A,0,this);continue}else if(g in x_){US(this,b,g,d,T?xi(d,T+u):u);continue}else if(g==="smoothOrigin"){ir(this,b,"smooth",b.smooth,u);continue}else if(g==="force3D"){b[g]=u;continue}else if(g==="transform"){WS(this,u,e);continue}}else g in a||(g=Yi(g)||g);if(S||(f||f===0)&&(d||d===0)&&!kS.test(u)&&g in a)E=(c+"").substr((d+"").length),f||(f=0),_=ft(u)||(g in $t.units?$t.units[g]:E),E!==_&&(d=_r(e,g,c,_)),this._pt=new xt(this._pt,S?b:a,g,d,(T?xi(d,T+f):f)-d,!S&&(_==="px"||g==="zIndex")&&n.autoRound!==!1?LS:Ec),this._pt.u=_||0,E!==_&&_!=="%"&&(this._pt.b=c,this._pt.r=xS);else if(g in a)VS.call(this,e,g,c,T?T+u:u);else if(g in e)this.add(e,g,c||e[g],T?T+u:u,i,s);else{$u(g,u);continue}S||(g in a?N.push(g,0,a[g]):N.push(g,1,c||e[g])),o.push(g)}}x&&b_(this)},render:function(e,n){if(n.tween._time||!Yu())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:Rn,aliases:Vn,getSetter:function(e,n,r){var i=Vn[n];return i&&i.indexOf(",")<0&&(n=i),n in Kn&&n!==fn&&(e._gsap.x||Rn(e,"x"))?r&&Qf===r?n==="scale"?IS:OS:(Qf=r||{})&&(n==="scale"?MS:DS):e.style&&!Du(e.style[n])?PS:~n.indexOf("-")?NS:Uu(e,n)},core:{_removeProperty:Ys,_getMatrix:qu}};Ht.utils.checkPrefix=Yi;Ht.core.getStyleSaver=C_;(function(t,e,n,r){var i=At(t+","+e+","+n,function(s){Kn[s]=1});At(e,function(s){$t.units[s]="deg",x_[s]=1}),Vn[i[13]]=t+","+e,At(r,function(s){var o=s.split(":");Vn[o[1]]=i[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");At("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){$t.units[t]="px"});Ht.registerPlugin(N_);var KS=Ht.registerPlugin(N_)||Ht;KS.core.Tween;const YS=t=>t.replace(/[^.]/g,"").length,GS={name:"number",props:{from:{type:[Number,String],default:0},to:{type:[Number,String],required:!0,default:0},format:{type:Function,default:t=>parseInt(t)},duration:{type:Number,default:1},easing:{type:String,default:"Power1.easeOut"},delay:{type:Number,default:0},tag:{type:String,default:"span"},animationPaused:Boolean},data(){return{fromProp:this.from}},computed:{tweenedNumber(){return this.format(this.fromProp)}},methods:{tween(t){const e=this,n=qe.to(e.$data,e.duration,{fromProp:t,paused:e.animationPaused,ease:e.easeCheck(),onStart:()=>e.$emit("start"),onComplete:()=>e.$emit("complete"),onUpdate:()=>e.$emit("update"),delay:e.delay});e.tween.tLite=n},play(){this.tween.tLite.play()},pause(){this.tween.tLite.pause()},restart(){this.tween.tLite.restart()},easeCheck(){const t=this;if(YS(t.easing)!==1)throw new Error('Invalid ease type. (eg. easing="Power1.easeOut")');return t.easing}},watch:{to(t){this.tween(t)}},mounted(){this.tween(this.to)}};function qS(t,e,n,r,i,s){return M(),Te(Au(n.tag),null,{default:Je(()=>[Le(F(s.tweenedNumber),1)]),_:1})}const XS=we(GS,[["render",qS]]),O_={install:function(t){t.component("number",XS)}};typeof window<"u"&&window.Vue&&window.Vue.use(O_);/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const _i=typeof window<"u";function QS(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ie=Object.assign;function Cl(t,e){const n={};for(const r in e){const i=e[r];n[r]=hn(i)?i.map(t):t(i)}return n}const xs=()=>{},hn=Array.isArray,ZS=/\/$/,JS=t=>t.replace(ZS,"");function Sl(t,e,n="/"){let r,i={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(r=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),i=t(s)),a>-1&&(r=r||e.slice(0,a),o=e.slice(a,e.length)),r=r2(r!=null?r:e,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:o}}function e2(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function sh(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function t2(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&qi(e.matched[r],n.matched[i])&&I_(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function qi(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function I_(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!n2(t[n],e[n]))return!1;return!0}function n2(t,e){return hn(t)?oh(t,e):hn(e)?oh(e,t):t===e}function oh(t,e){return hn(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function r2(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let i=n.length-1,s,o;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Xs;(function(t){t.pop="pop",t.push="push"})(Xs||(Xs={}));var Ls;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Ls||(Ls={}));function i2(t){if(!t)if(_i){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),JS(t)}const s2=/^[^#]+#/;function o2(t,e){return t.replace(s2,"#")+e}function a2(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const Ra=()=>({left:window.pageXOffset,top:window.pageYOffset});function l2(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=a2(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function ah(t,e){return(history.state?history.state.position-e:-1)+t}const Ac=new Map;function c2(t,e){Ac.set(t,e)}function u2(t){const e=Ac.get(t);return Ac.delete(t),e}let d2=()=>location.protocol+"//"+location.host;function M_(t,e){const{pathname:n,search:r,hash:i}=e,s=t.indexOf("#");if(s>-1){let a=i.includes(t.slice(s))?t.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),sh(l,"")}return sh(n,t)+r+i}function f2(t,e,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const h=M_(t,location),w=n.value,g=e.value;let E=0;if(d){if(n.value=h,e.value=d,o&&o===w){o=null;return}E=g?d.position-g.position:0}else r(h);i.forEach(_=>{_(n.value,w,{delta:E,type:Xs.pop,direction:E?E>0?Ls.forward:Ls.back:Ls.unknown})})};function l(){o=n.value}function c(d){i.push(d);const h=()=>{const w=i.indexOf(d);w>-1&&i.splice(w,1)};return s.push(h),h}function u(){const{history:d}=window;!d.state||d.replaceState(Ie({},d.state,{scroll:Ra()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function lh(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?Ra():null}}function h2(t){const{history:e,location:n}=window,r={value:M_(t,n)},i={value:e.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=t.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+l:d2()+t+l;try{e[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function o(l,c){const u=Ie({},e.state,lh(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=Ie({},i.value,e.state,{forward:l,scroll:Ra()});s(u.current,u,!0);const f=Ie({},lh(r.value,l,null),{position:u.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:i,push:a,replace:o}}function m2(t){t=i2(t);const e=h2(t),n=f2(t,e.state,e.location,e.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=Ie({location:"",base:t,go:r,createHref:o2.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function p2(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),m2(t)}function g2(t){return typeof t=="string"||t&&typeof t=="object"}function D_(t){return typeof t=="string"||typeof t=="symbol"}const Qn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},R_=Symbol("");var ch;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(ch||(ch={}));function Gi(t,e){return Ie(new Error,{type:t,[R_]:!0},e)}function On(t,e){return t instanceof Error&&R_ in t&&(e==null||!!(t.type&e))}const uh="[^/]+?",_2={sensitive:!1,strict:!1,start:!0,end:!0},v2=/[.+*?^${}()[\]/\\]/g;function b2(t,e){const n=Ie({},_2,e),r=[];let i=n.start?"^":"";const s=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;fe.length?e.length===1&&e[0]===40+40?1:-1:0}function w2(t,e){let n=0;const r=t.score,i=e.score;for(;n0&&e[e.length-1]<0}const E2={type:0,value:""},T2=/[a-zA-Z0-9_]/;function C2(t){if(!t)return[[]];if(t==="/")return[[E2]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function f(){!c||(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{o(T)}:xs}function o(u){if(D_(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!$_(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!hh(u)&&r.set(u.record.name,u)}function c(u,f){let d,h={},w,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Gi(1,{location:u});g=d.record.name,h=Ie(fh(f.params,d.keys.filter(T=>!T.optional).map(T=>T.name)),u.params&&fh(u.params,d.keys.map(T=>T.name))),w=d.stringify(h)}else if("path"in u)w=u.path,d=n.find(T=>T.re.test(w)),d&&(h=d.parse(w),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(T=>T.re.test(f.path)),!d)throw Gi(1,{location:u,currentLocation:f});g=d.record.name,h=Ie({},f.params,u.params),w=d.stringify(h)}const E=[];let _=d;for(;_;)E.unshift(_.record),_=_.parent;return{name:g,path:w,params:h,matched:E,meta:L2(E)}}return t.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function fh(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function k2(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:x2(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function x2(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]=typeof n=="boolean"?n:n[r];return e}function hh(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function L2(t){return t.reduce((e,n)=>Ie(e,n.meta),{})}function mh(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function $_(t,e){return e.children.some(n=>n===t||$_(t,n))}const F_=/#/g,P2=/&/g,N2=/\//g,O2=/=/g,I2=/\?/g,V_=/\+/g,M2=/%5B/g,D2=/%5D/g,z_=/%5E/g,R2=/%60/g,H_=/%7B/g,$2=/%7C/g,j_=/%7D/g,F2=/%20/g;function Xu(t){return encodeURI(""+t).replace($2,"|").replace(M2,"[").replace(D2,"]")}function V2(t){return Xu(t).replace(H_,"{").replace(j_,"}").replace(z_,"^")}function kc(t){return Xu(t).replace(V_,"%2B").replace(F2,"+").replace(F_,"%23").replace(P2,"%26").replace(R2,"`").replace(H_,"{").replace(j_,"}").replace(z_,"^")}function z2(t){return kc(t).replace(O2,"%3D")}function H2(t){return Xu(t).replace(F_,"%23").replace(I2,"%3F")}function j2(t){return t==null?"":H2(t).replace(N2,"%2F")}function ua(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function B2(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;is&&kc(s)):[r&&kc(r)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+n,s!=null&&(e+="="+s))})}return e}function U2(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=hn(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return e}const W2=Symbol(""),gh=Symbol(""),Qu=Symbol(""),B_=Symbol(""),xc=Symbol("");function fs(){let t=[];function e(r){return t.push(r),()=>{const i=t.indexOf(r);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function er(t,e,n,r,i){const s=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const l=f=>{f===!1?a(Gi(4,{from:n,to:e})):f instanceof Error?a(f):g2(f)?a(Gi(2,{from:e,to:f})):(s&&r.enterCallbacks[i]===s&&typeof f=="function"&&s.push(f),o())},c=t.call(r&&r.instances[i],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Al(t,e,n,r){const i=[];for(const s of t)for(const o in s.components){let a=s.components[o];if(!(e!=="beforeRouteEnter"&&!s.instances[o]))if(K2(a)){const c=(a.__vccOpts||a)[e];c&&i.push(er(c,n,r,s,o))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const u=QS(c)?c.default:c;s.components[o]=u;const d=(u.__vccOpts||u)[e];return d&&er(d,n,r,s,o)()}))}}return i}function K2(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function _h(t){const e=An(Qu),n=An(B_),r=je(()=>e.resolve(Ai(t.to))),i=je(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(qi.bind(null,u));if(d>-1)return d;const h=vh(l[c-2]);return c>1&&vh(u)===h&&f[f.length-1].path!==h?f.findIndex(qi.bind(null,l[c-2])):d}),s=je(()=>i.value>-1&&X2(n.params,r.value.params)),o=je(()=>i.value>-1&&i.value===n.matched.length-1&&I_(n.params,r.value.params));function a(l={}){return G2(l)?e[Ai(t.replace)?"replace":"push"](Ai(t.to)).catch(xs):Promise.resolve()}return{route:r,href:je(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}const Y2=Cu({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:_h,setup(t,{slots:e}){const n=Jr(_h(t)),{options:r}=An(Qu),i=je(()=>({[bh(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[bh(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=e.default&&e.default(n);return t.custom?s:Tr("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),q2=Y2;function G2(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function X2(t,e){for(const n in e){const r=e[n],i=t[n];if(typeof r=="string"){if(r!==i)return!1}else if(!hn(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function vh(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const bh=(t,e,n)=>t!=null?t:e!=null?e:n,Q2=Cu({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=An(xc),i=je(()=>t.route||r.value),s=An(gh,0),o=je(()=>{let c=Ai(s);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=je(()=>i.value.matched[o.value]);Mo(gh,je(()=>o.value+1)),Mo(W2,a),Mo(xc,i);const l=cn();return ar(()=>[l.value,a.value,t.name],([c,u,f],[d,h,w])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!qi(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,f=a.value,d=f&&f.components[u];if(!d)return yh(n.default,{Component:d,route:c});const h=f.props[u],w=h?h===!0?c.params:typeof h=="function"?h(c):h:null,E=Tr(d,Ie({},w,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return yh(n.default,{Component:E,route:c})||E}}});function yh(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Z2=Q2;function J2(t){const e=A2(t.routes,t),n=t.parseQuery||B2,r=t.stringifyQuery||ph,i=t.history,s=fs(),o=fs(),a=fs(),l=Xp(Qn);let c=Qn;_i&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Cl.bind(null,$=>""+$),f=Cl.bind(null,j2),d=Cl.bind(null,ua);function h($,Q){let j,ee;return D_($)?(j=e.getRecordMatcher($),ee=Q):ee=$,e.addRoute(ee,j)}function w($){const Q=e.getRecordMatcher($);Q&&e.removeRoute(Q)}function g(){return e.getRoutes().map($=>$.record)}function E($){return!!e.getRecordMatcher($)}function _($,Q){if(Q=Ie({},Q||l.value),typeof $=="string"){const C=Sl(n,$,Q.path),m=e.resolve({path:C.path},Q),p=i.createHref(C.fullPath);return Ie(C,m,{params:d(m.params),hash:ua(C.hash),redirectedFrom:void 0,href:p})}let j;if("path"in $)j=Ie({},$,{path:Sl(n,$.path,Q.path).path});else{const C=Ie({},$.params);for(const m in C)C[m]==null&&delete C[m];j=Ie({},$,{params:f($.params)}),Q.params=f(Q.params)}const ee=e.resolve(j,Q),me=$.hash||"";ee.params=u(d(ee.params));const ve=e2(r,Ie({},$,{hash:V2(me),path:ee.path})),de=i.createHref(ve);return Ie({fullPath:ve,hash:me,query:r===ph?U2($.query):$.query||{}},ee,{redirectedFrom:void 0,href:de})}function T($){return typeof $=="string"?Sl(n,$,l.value.path):Ie({},$)}function S($,Q){if(c!==$)return Gi(8,{from:Q,to:$})}function v($){return x($)}function b($){return v(Ie(T($),{replace:!0}))}function k($){const Q=$.matched[$.matched.length-1];if(Q&&Q.redirect){const{redirect:j}=Q;let ee=typeof j=="function"?j($):j;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=T(ee):{path:ee},ee.params={}),Ie({query:$.query,hash:$.hash,params:"path"in ee?{}:$.params},ee)}}function x($,Q){const j=c=_($),ee=l.value,me=$.state,ve=$.force,de=$.replace===!0,C=k(j);if(C)return x(Ie(T(C),{state:typeof C=="object"?Ie({},me,C.state):me,force:ve,replace:de}),Q||j);const m=j;m.redirectedFrom=Q;let p;return!ve&&t2(r,ee,j)&&(p=Gi(16,{to:m,from:ee}),le(ee,ee,!0,!1)),(p?Promise.resolve(p):I(m,ee)).catch(A=>On(A)?On(A,2)?A:oe(A):W(A,m,ee)).then(A=>{if(A){if(On(A,2))return x(Ie({replace:de},T(A.to),{state:typeof A.to=="object"?Ie({},me,A.to.state):me,force:ve}),Q||m)}else A=X(m,ee,!0,de,me);return B(m,ee,A),A})}function N($,Q){const j=S($,Q);return j?Promise.reject(j):Promise.resolve()}function I($,Q){let j;const[ee,me,ve]=eA($,Q);j=Al(ee.reverse(),"beforeRouteLeave",$,Q);for(const C of ee)C.leaveGuards.forEach(m=>{j.push(er(m,$,Q))});const de=N.bind(null,$,Q);return j.push(de),ui(j).then(()=>{j=[];for(const C of s.list())j.push(er(C,$,Q));return j.push(de),ui(j)}).then(()=>{j=Al(me,"beforeRouteUpdate",$,Q);for(const C of me)C.updateGuards.forEach(m=>{j.push(er(m,$,Q))});return j.push(de),ui(j)}).then(()=>{j=[];for(const C of $.matched)if(C.beforeEnter&&!Q.matched.includes(C))if(hn(C.beforeEnter))for(const m of C.beforeEnter)j.push(er(m,$,Q));else j.push(er(C.beforeEnter,$,Q));return j.push(de),ui(j)}).then(()=>($.matched.forEach(C=>C.enterCallbacks={}),j=Al(ve,"beforeRouteEnter",$,Q),j.push(de),ui(j))).then(()=>{j=[];for(const C of o.list())j.push(er(C,$,Q));return j.push(de),ui(j)}).catch(C=>On(C,8)?C:Promise.reject(C))}function B($,Q,j){for(const ee of a.list())ee($,Q,j)}function X($,Q,j,ee,me){const ve=S($,Q);if(ve)return ve;const de=Q===Qn,C=_i?history.state:{};j&&(ee||de?i.replace($.fullPath,Ie({scroll:de&&C&&C.scroll},me)):i.push($.fullPath,me)),l.value=$,le($,Q,j,de),oe()}let J;function ne(){J||(J=i.listen(($,Q,j)=>{if(!fe.listening)return;const ee=_($),me=k(ee);if(me){x(Ie(me,{replace:!0}),ee).catch(xs);return}c=ee;const ve=l.value;_i&&c2(ah(ve.fullPath,j.delta),Ra()),I(ee,ve).catch(de=>On(de,12)?de:On(de,2)?(x(de.to,ee).then(C=>{On(C,20)&&!j.delta&&j.type===Xs.pop&&i.go(-1,!1)}).catch(xs),Promise.reject()):(j.delta&&i.go(-j.delta,!1),W(de,ee,ve))).then(de=>{de=de||X(ee,ve,!1),de&&(j.delta&&!On(de,8)?i.go(-j.delta,!1):j.type===Xs.pop&&On(de,20)&&i.go(-1,!1)),B(ee,ve,de)}).catch(xs)}))}let D=fs(),L=fs(),Y;function W($,Q,j){oe($);const ee=L.list();return ee.length?ee.forEach(me=>me($,Q,j)):console.error($),Promise.reject($)}function Z(){return Y&&l.value!==Qn?Promise.resolve():new Promise(($,Q)=>{D.add([$,Q])})}function oe($){return Y||(Y=!$,ne(),D.list().forEach(([Q,j])=>$?j($):Q()),D.reset()),$}function le($,Q,j,ee){const{scrollBehavior:me}=t;if(!_i||!me)return Promise.resolve();const ve=!j&&u2(ah($.fullPath,0))||(ee||!j)&&history.state&&history.state.scroll||null;return tg().then(()=>me($,Q,ve)).then(de=>de&&l2(de)).catch(de=>W(de,$,Q))}const ae=$=>i.go($);let ce;const Oe=new Set,fe={currentRoute:l,listening:!0,addRoute:h,removeRoute:w,hasRoute:E,getRoutes:g,resolve:_,options:t,push:v,replace:b,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:L.add,isReady:Z,install($){const Q=this;$.component("RouterLink",q2),$.component("RouterView",Z2),$.config.globalProperties.$router=Q,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>Ai(l)}),_i&&!ce&&l.value===Qn&&(ce=!0,v(i.location).catch(me=>{}));const j={};for(const me in Qn)j[me]=je(()=>l.value[me]);$.provide(Qu,Q),$.provide(B_,Jr(j)),$.provide(xc,l);const ee=$.unmount;Oe.add($),$.unmount=function(){Oe.delete($),Oe.size<1&&(c=Qn,J&&J(),J=null,l.value=Qn,ce=!1,Y=!1),ee()}}};return fe}function ui(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function eA(t,e){const n=[],r=[],i=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;oqi(c,a))?r.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>qi(c,l))||i.push(l))}return[n,r,i]}if(!document.querySelector("style[data-shopicon]")){const t=document.createElement("style");t.setAttribute("data-shopicon",!0),t.innerHTML=` + */const _i=typeof window<"u";function QS(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Ie=Object.assign;function Cl(t,e){const n={};for(const r in e){const i=e[r];n[r]=hn(i)?i.map(t):t(i)}return n}const xs=()=>{},hn=Array.isArray,ZS=/\/$/,JS=t=>t.replace(ZS,"");function Sl(t,e,n="/"){let r,i={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(r=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),i=t(s)),a>-1&&(r=r||e.slice(0,a),o=e.slice(a,e.length)),r=r2(r!=null?r:e,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:o}}function e2(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function sh(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function t2(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Gi(e.matched[r],n.matched[i])&&I_(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Gi(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function I_(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!n2(t[n],e[n]))return!1;return!0}function n2(t,e){return hn(t)?oh(t,e):hn(e)?oh(e,t):t===e}function oh(t,e){return hn(e)?t.length===e.length&&t.every((n,r)=>n===e[r]):t.length===1&&t[0]===e}function r2(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let i=n.length-1,s,o;for(s=0;s1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Xs;(function(t){t.pop="pop",t.push="push"})(Xs||(Xs={}));var Ls;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Ls||(Ls={}));function i2(t){if(!t)if(_i){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),JS(t)}const s2=/^[^#]+#/;function o2(t,e){return t.replace(s2,"#")+e}function a2(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const Ra=()=>({left:window.pageXOffset,top:window.pageYOffset});function l2(t){let e;if("el"in t){const n=t.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=a2(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function ah(t,e){return(history.state?history.state.position-e:-1)+t}const kc=new Map;function c2(t,e){kc.set(t,e)}function u2(t){const e=kc.get(t);return kc.delete(t),e}let d2=()=>location.protocol+"//"+location.host;function M_(t,e){const{pathname:n,search:r,hash:i}=e,s=t.indexOf("#");if(s>-1){let a=i.includes(t.slice(s))?t.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),sh(l,"")}return sh(n,t)+r+i}function f2(t,e,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const h=M_(t,location),w=n.value,g=e.value;let E=0;if(d){if(n.value=h,e.value=d,o&&o===w){o=null;return}E=g?d.position-g.position:0}else r(h);i.forEach(_=>{_(n.value,w,{delta:E,type:Xs.pop,direction:E?E>0?Ls.forward:Ls.back:Ls.unknown})})};function l(){o=n.value}function c(d){i.push(d);const h=()=>{const w=i.indexOf(d);w>-1&&i.splice(w,1)};return s.push(h),h}function u(){const{history:d}=window;!d.state||d.replaceState(Ie({},d.state,{scroll:Ra()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function lh(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?Ra():null}}function h2(t){const{history:e,location:n}=window,r={value:M_(t,n)},i={value:e.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=t.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+l:d2()+t+l;try{e[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function o(l,c){const u=Ie({},e.state,lh(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=Ie({},i.value,e.state,{forward:l,scroll:Ra()});s(u.current,u,!0);const f=Ie({},lh(r.value,l,null),{position:u.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:i,push:a,replace:o}}function m2(t){t=i2(t);const e=h2(t),n=f2(t,e.state,e.location,e.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=Ie({location:"",base:t,go:r,createHref:o2.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function p2(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),m2(t)}function g2(t){return typeof t=="string"||t&&typeof t=="object"}function D_(t){return typeof t=="string"||typeof t=="symbol"}const Qn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},R_=Symbol("");var ch;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(ch||(ch={}));function qi(t,e){return Ie(new Error,{type:t,[R_]:!0},e)}function On(t,e){return t instanceof Error&&R_ in t&&(e==null||!!(t.type&e))}const uh="[^/]+?",_2={sensitive:!1,strict:!1,start:!0,end:!0},v2=/[.+*?^${}()[\]/\\]/g;function b2(t,e){const n=Ie({},_2,e),r=[];let i=n.start?"^":"";const s=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;fe.length?e.length===1&&e[0]===40+40?1:-1:0}function w2(t,e){let n=0;const r=t.score,i=e.score;for(;n0&&e[e.length-1]<0}const E2={type:0,value:""},T2=/[a-zA-Z0-9_]/;function C2(t){if(!t)return[[]];if(t==="/")return[[E2]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function f(){!c||(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a{o(T)}:xs}function o(u){if(D_(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!$_(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!hh(u)&&r.set(u.record.name,u)}function c(u,f){let d,h={},w,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw qi(1,{location:u});g=d.record.name,h=Ie(fh(f.params,d.keys.filter(T=>!T.optional).map(T=>T.name)),u.params&&fh(u.params,d.keys.map(T=>T.name))),w=d.stringify(h)}else if("path"in u)w=u.path,d=n.find(T=>T.re.test(w)),d&&(h=d.parse(w),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(T=>T.re.test(f.path)),!d)throw qi(1,{location:u,currentLocation:f});g=d.record.name,h=Ie({},f.params,u.params),w=d.stringify(h)}const E=[];let _=d;for(;_;)E.unshift(_.record),_=_.parent;return{name:g,path:w,params:h,matched:E,meta:L2(E)}}return t.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function fh(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function A2(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:x2(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function x2(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]=typeof n=="boolean"?n:n[r];return e}function hh(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function L2(t){return t.reduce((e,n)=>Ie(e,n.meta),{})}function mh(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function $_(t,e){return e.children.some(n=>n===t||$_(t,n))}const F_=/#/g,P2=/&/g,N2=/\//g,O2=/=/g,I2=/\?/g,V_=/\+/g,M2=/%5B/g,D2=/%5D/g,j_=/%5E/g,R2=/%60/g,z_=/%7B/g,$2=/%7C/g,H_=/%7D/g,F2=/%20/g;function Xu(t){return encodeURI(""+t).replace($2,"|").replace(M2,"[").replace(D2,"]")}function V2(t){return Xu(t).replace(z_,"{").replace(H_,"}").replace(j_,"^")}function Ac(t){return Xu(t).replace(V_,"%2B").replace(F2,"+").replace(F_,"%23").replace(P2,"%26").replace(R2,"`").replace(z_,"{").replace(H_,"}").replace(j_,"^")}function j2(t){return Ac(t).replace(O2,"%3D")}function z2(t){return Xu(t).replace(F_,"%23").replace(I2,"%3F")}function H2(t){return t==null?"":z2(t).replace(N2,"%2F")}function ua(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function B2(t){const e={};if(t===""||t==="?")return e;const r=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;is&&Ac(s)):[r&&Ac(r)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+n,s!=null&&(e+="="+s))})}return e}function U2(t){const e={};for(const n in t){const r=t[n];r!==void 0&&(e[n]=hn(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return e}const W2=Symbol(""),gh=Symbol(""),Qu=Symbol(""),B_=Symbol(""),xc=Symbol("");function fs(){let t=[];function e(r){return t.push(r),()=>{const i=t.indexOf(r);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function er(t,e,n,r,i){const s=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((o,a)=>{const l=f=>{f===!1?a(qi(4,{from:n,to:e})):f instanceof Error?a(f):g2(f)?a(qi(2,{from:e,to:f})):(s&&r.enterCallbacks[i]===s&&typeof f=="function"&&s.push(f),o())},c=t.call(r&&r.instances[i],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function kl(t,e,n,r){const i=[];for(const s of t)for(const o in s.components){let a=s.components[o];if(!(e!=="beforeRouteEnter"&&!s.instances[o]))if(K2(a)){const c=(a.__vccOpts||a)[e];c&&i.push(er(c,n,r,s,o))}else{let l=a();i.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const u=QS(c)?c.default:c;s.components[o]=u;const d=(u.__vccOpts||u)[e];return d&&er(d,n,r,s,o)()}))}}return i}function K2(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function _h(t){const e=kn(Qu),n=kn(B_),r=He(()=>e.resolve(ki(t.to))),i=He(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Gi.bind(null,u));if(d>-1)return d;const h=vh(l[c-2]);return c>1&&vh(u)===h&&f[f.length-1].path!==h?f.findIndex(Gi.bind(null,l[c-2])):d}),s=He(()=>i.value>-1&&X2(n.params,r.value.params)),o=He(()=>i.value>-1&&i.value===n.matched.length-1&&I_(n.params,r.value.params));function a(l={}){return q2(l)?e[ki(t.replace)?"replace":"push"](ki(t.to)).catch(xs):Promise.resolve()}return{route:r,href:He(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}const Y2=Cu({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:_h,setup(t,{slots:e}){const n=Jr(_h(t)),{options:r}=kn(Qu),i=He(()=>({[bh(t.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[bh(t.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=e.default&&e.default(n);return t.custom?s:Tr("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),G2=Y2;function q2(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function X2(t,e){for(const n in e){const r=e[n],i=t[n];if(typeof r=="string"){if(r!==i)return!1}else if(!hn(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function vh(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const bh=(t,e,n)=>t!=null?t:e!=null?e:n,Q2=Cu({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const r=kn(xc),i=He(()=>t.route||r.value),s=kn(gh,0),o=He(()=>{let c=ki(s);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=He(()=>i.value.matched[o.value]);Mo(gh,He(()=>o.value+1)),Mo(W2,a),Mo(xc,i);const l=cn();return ar(()=>[l.value,a.value,t.name],([c,u,f],[d,h,w])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Gi(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,f=a.value,d=f&&f.components[u];if(!d)return yh(n.default,{Component:d,route:c});const h=f.props[u],w=h?h===!0?c.params:typeof h=="function"?h(c):h:null,E=Tr(d,Ie({},w,e,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return yh(n.default,{Component:E,route:c})||E}}});function yh(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Z2=Q2;function J2(t){const e=k2(t.routes,t),n=t.parseQuery||B2,r=t.stringifyQuery||ph,i=t.history,s=fs(),o=fs(),a=fs(),l=Xp(Qn);let c=Qn;_i&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Cl.bind(null,$=>""+$),f=Cl.bind(null,H2),d=Cl.bind(null,ua);function h($,Q){let H,ee;return D_($)?(H=e.getRecordMatcher($),ee=Q):ee=$,e.addRoute(ee,H)}function w($){const Q=e.getRecordMatcher($);Q&&e.removeRoute(Q)}function g(){return e.getRoutes().map($=>$.record)}function E($){return!!e.getRecordMatcher($)}function _($,Q){if(Q=Ie({},Q||l.value),typeof $=="string"){const C=Sl(n,$,Q.path),m=e.resolve({path:C.path},Q),p=i.createHref(C.fullPath);return Ie(C,m,{params:d(m.params),hash:ua(C.hash),redirectedFrom:void 0,href:p})}let H;if("path"in $)H=Ie({},$,{path:Sl(n,$.path,Q.path).path});else{const C=Ie({},$.params);for(const m in C)C[m]==null&&delete C[m];H=Ie({},$,{params:f($.params)}),Q.params=f(Q.params)}const ee=e.resolve(H,Q),me=$.hash||"";ee.params=u(d(ee.params));const ve=e2(r,Ie({},$,{hash:V2(me),path:ee.path})),de=i.createHref(ve);return Ie({fullPath:ve,hash:me,query:r===ph?U2($.query):$.query||{}},ee,{redirectedFrom:void 0,href:de})}function T($){return typeof $=="string"?Sl(n,$,l.value.path):Ie({},$)}function S($,Q){if(c!==$)return qi(8,{from:Q,to:$})}function v($){return x($)}function b($){return v(Ie(T($),{replace:!0}))}function A($){const Q=$.matched[$.matched.length-1];if(Q&&Q.redirect){const{redirect:H}=Q;let ee=typeof H=="function"?H($):H;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=T(ee):{path:ee},ee.params={}),Ie({query:$.query,hash:$.hash,params:"path"in ee?{}:$.params},ee)}}function x($,Q){const H=c=_($),ee=l.value,me=$.state,ve=$.force,de=$.replace===!0,C=A(H);if(C)return x(Ie(T(C),{state:typeof C=="object"?Ie({},me,C.state):me,force:ve,replace:de}),Q||H);const m=H;m.redirectedFrom=Q;let p;return!ve&&t2(r,ee,H)&&(p=qi(16,{to:m,from:ee}),le(ee,ee,!0,!1)),(p?Promise.resolve(p):I(m,ee)).catch(k=>On(k)?On(k,2)?k:oe(k):W(k,m,ee)).then(k=>{if(k){if(On(k,2))return x(Ie({replace:de},T(k.to),{state:typeof k.to=="object"?Ie({},me,k.to.state):me,force:ve}),Q||m)}else k=X(m,ee,!0,de,me);return B(m,ee,k),k})}function N($,Q){const H=S($,Q);return H?Promise.reject(H):Promise.resolve()}function I($,Q){let H;const[ee,me,ve]=ek($,Q);H=kl(ee.reverse(),"beforeRouteLeave",$,Q);for(const C of ee)C.leaveGuards.forEach(m=>{H.push(er(m,$,Q))});const de=N.bind(null,$,Q);return H.push(de),ui(H).then(()=>{H=[];for(const C of s.list())H.push(er(C,$,Q));return H.push(de),ui(H)}).then(()=>{H=kl(me,"beforeRouteUpdate",$,Q);for(const C of me)C.updateGuards.forEach(m=>{H.push(er(m,$,Q))});return H.push(de),ui(H)}).then(()=>{H=[];for(const C of $.matched)if(C.beforeEnter&&!Q.matched.includes(C))if(hn(C.beforeEnter))for(const m of C.beforeEnter)H.push(er(m,$,Q));else H.push(er(C.beforeEnter,$,Q));return H.push(de),ui(H)}).then(()=>($.matched.forEach(C=>C.enterCallbacks={}),H=kl(ve,"beforeRouteEnter",$,Q),H.push(de),ui(H))).then(()=>{H=[];for(const C of o.list())H.push(er(C,$,Q));return H.push(de),ui(H)}).catch(C=>On(C,8)?C:Promise.reject(C))}function B($,Q,H){for(const ee of a.list())ee($,Q,H)}function X($,Q,H,ee,me){const ve=S($,Q);if(ve)return ve;const de=Q===Qn,C=_i?history.state:{};H&&(ee||de?i.replace($.fullPath,Ie({scroll:de&&C&&C.scroll},me)):i.push($.fullPath,me)),l.value=$,le($,Q,H,de),oe()}let J;function ne(){J||(J=i.listen(($,Q,H)=>{if(!fe.listening)return;const ee=_($),me=A(ee);if(me){x(Ie(me,{replace:!0}),ee).catch(xs);return}c=ee;const ve=l.value;_i&&c2(ah(ve.fullPath,H.delta),Ra()),I(ee,ve).catch(de=>On(de,12)?de:On(de,2)?(x(de.to,ee).then(C=>{On(C,20)&&!H.delta&&H.type===Xs.pop&&i.go(-1,!1)}).catch(xs),Promise.reject()):(H.delta&&i.go(-H.delta,!1),W(de,ee,ve))).then(de=>{de=de||X(ee,ve,!1),de&&(H.delta&&!On(de,8)?i.go(-H.delta,!1):H.type===Xs.pop&&On(de,20)&&i.go(-1,!1)),B(ee,ve,de)}).catch(xs)}))}let D=fs(),L=fs(),Y;function W($,Q,H){oe($);const ee=L.list();return ee.length?ee.forEach(me=>me($,Q,H)):console.error($),Promise.reject($)}function Z(){return Y&&l.value!==Qn?Promise.resolve():new Promise(($,Q)=>{D.add([$,Q])})}function oe($){return Y||(Y=!$,ne(),D.list().forEach(([Q,H])=>$?H($):Q()),D.reset()),$}function le($,Q,H,ee){const{scrollBehavior:me}=t;if(!_i||!me)return Promise.resolve();const ve=!H&&u2(ah($.fullPath,0))||(ee||!H)&&history.state&&history.state.scroll||null;return tg().then(()=>me($,Q,ve)).then(de=>de&&l2(de)).catch(de=>W(de,$,Q))}const ae=$=>i.go($);let ce;const Oe=new Set,fe={currentRoute:l,listening:!0,addRoute:h,removeRoute:w,hasRoute:E,getRoutes:g,resolve:_,options:t,push:v,replace:b,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:L.add,isReady:Z,install($){const Q=this;$.component("RouterLink",G2),$.component("RouterView",Z2),$.config.globalProperties.$router=Q,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>ki(l)}),_i&&!ce&&l.value===Qn&&(ce=!0,v(i.location).catch(me=>{}));const H={};for(const me in Qn)H[me]=He(()=>l.value[me]);$.provide(Qu,Q),$.provide(B_,Jr(H)),$.provide(xc,l);const ee=$.unmount;Oe.add($),$.unmount=function(){Oe.delete($),Oe.size<1&&(c=Qn,J&&J(),J=null,l.value=Qn,ce=!1,Y=!1),ee()}}};return fe}function ui(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function ek(t,e){const n=[],r=[],i=[],s=Math.max(e.matched.length,t.matched.length);for(let o=0;oGi(c,a))?r.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>Gi(c,l))||i.push(l))}return[n,r,i]}if(!document.querySelector("style[data-shopicon]")){const t=document.createElement("style");t.setAttribute("data-shopicon",!0),t.innerHTML=` [data-shopicon] { display: block; width: 24px; aspect-ratio: 1; } [data-shopicon][size=m] { width: 32px; } [data-shopicon][size=l] { width: 48px; } @@ -38,24 +38,24 @@ var $v=Object.defineProperty;var Fv=(t,e,n)=>e in t?$v(t,e,{enumerable:!0,config [data-shopicon] path:not([fill]), [data-shopicon] polygon:not([fill]), [data-shopicon] rect:not([fill]) { fill: currentColor; } - `,document.head.appendChild(t)}var tA='';class nA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=tA}}window.customElements.define("shopicon-regular-arrowup",nA);var rA='';class iA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=rA}}window.customElements.define("shopicon-regular-menu",iA);var sA='';class oA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=sA}}window.customElements.define("shopicon-regular-newtab",oA);var U_={exports:{}},Zu={exports:{}},W_=function(e,n){return function(){for(var i=new Array(arguments.length),s=0;s"u"}function lA(t){return t!==null&&!da(t)&&t.constructor!==null&&!da(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}var K_=ti("ArrayBuffer");function cA(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&K_(t.buffer),e}function uA(t){return typeof t=="string"}function dA(t){return typeof t=="number"}function Y_(t){return t!==null&&typeof t=="object"}function Bo(t){if(ed(t)!=="object")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}var fA=ti("Date"),hA=ti("File"),mA=ti("Blob"),pA=ti("FileList");function nd(t){return Ju.call(t)==="[object Function]"}function gA(t){return Y_(t)&&nd(t.pipe)}function _A(t){var e="[object FormData]";return t&&(typeof FormData=="function"&&t instanceof FormData||Ju.call(t)===e||nd(t.toString)&&t.toString()===e)}var vA=ti("URLSearchParams");function bA(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function yA(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function rd(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),td(t))for(var n=0,r=t.length;n0;)s=r[i],o[s]||(e[s]=t[s],o[s]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e}function SA(t,e,n){t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;var r=t.indexOf(e,n);return r!==-1&&r===n}function AA(t){if(!t)return null;var e=t.length;if(da(e))return null;for(var n=new Array(e);e-- >0;)n[e]=t[e];return n}var kA=function(t){return function(e){return t&&e instanceof t}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),ut={isArray:td,isArrayBuffer:K_,isBuffer:lA,isFormData:_A,isArrayBufferView:cA,isString:uA,isNumber:dA,isObject:Y_,isPlainObject:Bo,isUndefined:da,isDate:fA,isFile:hA,isBlob:mA,isFunction:nd,isStream:gA,isURLSearchParams:vA,isStandardBrowserEnv:yA,forEach:rd,merge:Lc,extend:wA,trim:bA,stripBOM:EA,inherits:TA,toFlatObject:CA,kindOf:ed,kindOfTest:ti,endsWith:SA,toArray:AA,isTypedArray:kA,isFileList:pA},di=ut;function wh(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var q_=function(e,n,r){if(!n)return e;var i;if(r)i=r(n);else if(di.isURLSearchParams(n))i=n.toString();else{var s=[];di.forEach(n,function(l,c){l===null||typeof l>"u"||(di.isArray(l)?c=c+"[]":l=[l],di.forEach(l,function(f){di.isDate(f)?f=f.toISOString():di.isObject(f)&&(f=JSON.stringify(f)),s.push(wh(c)+"="+wh(f))}))}),i=s.join("&")}if(i){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e},xA=ut;function $a(){this.handlers=[]}$a.prototype.use=function(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};$a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};$a.prototype.forEach=function(e){xA.forEach(this.handlers,function(r){r!==null&&e(r)})};var LA=$a,PA=ut,NA=function(e,n){PA.forEach(e,function(i,s){s!==n&&s.toUpperCase()===n.toUpperCase()&&(e[n]=i,delete e[s])})},G_=ut;function Xi(t,e,n,r,i){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}G_.inherits(Xi,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var X_=Xi.prototype,Q_={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(t){Q_[t]={value:t}});Object.defineProperties(Xi,Q_);Object.defineProperty(X_,"isAxiosError",{value:!0});Xi.from=function(t,e,n,r,i,s){var o=Object.create(X_);return G_.toFlatObject(t,o,function(l){return l!==Error.prototype}),Xi.call(o,t.message,e,n,r,i),o.name=t.name,s&&Object.assign(o,s),o};var os=Xi,Z_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},on=ut;function OA(t,e){e=e||new FormData;var n=[];function r(s){return s===null?"":on.isDate(s)?s.toISOString():on.isArrayBuffer(s)||on.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function i(s,o){if(on.isPlainObject(s)||on.isArray(s)){if(n.indexOf(s)!==-1)throw Error("Circular reference detected in "+o);n.push(s),on.forEach(s,function(l,c){if(!on.isUndefined(l)){var u=o?o+"."+c:c,f;if(l&&!o&&typeof l=="object"){if(on.endsWith(c,"{}"))l=JSON.stringify(l);else if(on.endsWith(c,"[]")&&(f=on.toArray(l))){f.forEach(function(d){!on.isUndefined(d)&&e.append(u,r(d))});return}}i(l,u)}}),n.pop()}else e.append(o,r(s))}return i(t),e}var J_=OA,kl,Eh;function IA(){if(Eh)return kl;Eh=1;var t=os;return kl=function(n,r,i){var s=i.config.validateStatus;!i.status||!s||s(i.status)?n(i):r(new t("Request failed with status code "+i.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},kl}var xl,Th;function MA(){if(Th)return xl;Th=1;var t=ut;return xl=t.isStandardBrowserEnv()?function(){return{write:function(r,i,s,o,a,l){var c=[];c.push(r+"="+encodeURIComponent(i)),t.isNumber(s)&&c.push("expires="+new Date(s).toGMTString()),t.isString(o)&&c.push("path="+o),t.isString(a)&&c.push("domain="+a),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),xl}var DA=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},RA=function(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e},$A=DA,FA=RA,ev=function(e,n){return e&&!$A(n)?FA(e,n):n},Ll,Ch;function VA(){if(Ch)return Ll;Ch=1;var t=ut,e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Ll=function(r){var i={},s,o,a;return r&&t.forEach(r.split(` -`),function(c){if(a=c.indexOf(":"),s=t.trim(c.substr(0,a)).toLowerCase(),o=t.trim(c.substr(a+1)),s){if(i[s]&&e.indexOf(s)>=0)return;s==="set-cookie"?i[s]=(i[s]?i[s]:[]).concat([o]):i[s]=i[s]?i[s]+", "+o:o}}),i},Ll}var Pl,Sh;function zA(){if(Sh)return Pl;Sh=1;var t=ut;return Pl=t.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function s(o){var a=o;return n&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=s(window.location.href),function(a){var l=t.isString(a)?s(a):a;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),Pl}var Nl,Ah;function Fa(){if(Ah)return Nl;Ah=1;var t=os,e=ut;function n(r){t.call(this,r==null?"canceled":r,t.ERR_CANCELED),this.name="CanceledError"}return e.inherits(n,t,{__CANCEL__:!0}),Nl=n,Nl}var Ol,kh;function HA(){return kh||(kh=1,Ol=function(e){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}),Ol}var Il,xh;function Lh(){if(xh)return Il;xh=1;var t=ut,e=IA(),n=MA(),r=q_,i=ev,s=VA(),o=zA(),a=Z_,l=os,c=Fa(),u=HA();return Il=function(d){return new Promise(function(w,g){var E=d.data,_=d.headers,T=d.responseType,S;function v(){d.cancelToken&&d.cancelToken.unsubscribe(S),d.signal&&d.signal.removeEventListener("abort",S)}t.isFormData(E)&&t.isStandardBrowserEnv()&&delete _["Content-Type"];var b=new XMLHttpRequest;if(d.auth){var k=d.auth.username||"",x=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";_.Authorization="Basic "+btoa(k+":"+x)}var N=i(d.baseURL,d.url);b.open(d.method.toUpperCase(),r(N,d.params,d.paramsSerializer),!0),b.timeout=d.timeout;function I(){if(!!b){var J="getAllResponseHeaders"in b?s(b.getAllResponseHeaders()):null,ne=!T||T==="text"||T==="json"?b.responseText:b.response,D={data:ne,status:b.status,statusText:b.statusText,headers:J,config:d,request:b};e(function(Y){w(Y),v()},function(Y){g(Y),v()},D),b=null}}if("onloadend"in b?b.onloadend=I:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(I)},b.onabort=function(){!b||(g(new l("Request aborted",l.ECONNABORTED,d,b)),b=null)},b.onerror=function(){g(new l("Network Error",l.ERR_NETWORK,d,b,b)),b=null},b.ontimeout=function(){var ne=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",D=d.transitional||a;d.timeoutErrorMessage&&(ne=d.timeoutErrorMessage),g(new l(ne,D.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,d,b)),b=null},t.isStandardBrowserEnv()){var B=(d.withCredentials||o(N))&&d.xsrfCookieName?n.read(d.xsrfCookieName):void 0;B&&(_[d.xsrfHeaderName]=B)}"setRequestHeader"in b&&t.forEach(_,function(ne,D){typeof E>"u"&&D.toLowerCase()==="content-type"?delete _[D]:b.setRequestHeader(D,ne)}),t.isUndefined(d.withCredentials)||(b.withCredentials=!!d.withCredentials),T&&T!=="json"&&(b.responseType=d.responseType),typeof d.onDownloadProgress=="function"&&b.addEventListener("progress",d.onDownloadProgress),typeof d.onUploadProgress=="function"&&b.upload&&b.upload.addEventListener("progress",d.onUploadProgress),(d.cancelToken||d.signal)&&(S=function(J){!b||(g(!J||J&&J.type?new c:J),b.abort(),b=null)},d.cancelToken&&d.cancelToken.subscribe(S),d.signal&&(d.signal.aborted?S():d.signal.addEventListener("abort",S))),E||(E=null);var X=u(N);if(X&&["http","https","file"].indexOf(X)===-1){g(new l("Unsupported protocol "+X+":",l.ERR_BAD_REQUEST,d));return}b.send(E)})},Il}var Ml,Ph;function jA(){return Ph||(Ph=1,Ml=null),Ml}var nt=ut,Nh=NA,Oh=os,BA=Z_,UA=J_,WA={"Content-Type":"application/x-www-form-urlencoded"};function Ih(t,e){!nt.isUndefined(t)&&nt.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function KA(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=Lh()),t}function YA(t,e,n){if(nt.isString(t))try{return(e||JSON.parse)(t),nt.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}var Va={transitional:BA,adapter:KA(),transformRequest:[function(e,n){if(Nh(n,"Accept"),Nh(n,"Content-Type"),nt.isFormData(e)||nt.isArrayBuffer(e)||nt.isBuffer(e)||nt.isStream(e)||nt.isFile(e)||nt.isBlob(e))return e;if(nt.isArrayBufferView(e))return e.buffer;if(nt.isURLSearchParams(e))return Ih(n,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r=nt.isObject(e),i=n&&n["Content-Type"],s;if((s=nt.isFileList(e))||r&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return UA(s?{"files[]":e}:e,o&&new o)}else if(r||i==="application/json")return Ih(n,"application/json"),YA(e);return e}],transformResponse:[function(e){var n=this.transitional||Va.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,s=!r&&this.responseType==="json";if(s||i&&nt.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?Oh.from(o,Oh.ERR_BAD_RESPONSE,this,null,this.response):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:jA()},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};nt.forEach(["delete","get","head"],function(e){Va.headers[e]={}});nt.forEach(["post","put","patch"],function(e){Va.headers[e]=nt.merge(WA)});var id=Va,qA=ut,GA=id,XA=function(e,n,r){var i=this||GA;return qA.forEach(r,function(o){e=o.call(i,e,n)}),e},Dl,Mh;function tv(){return Mh||(Mh=1,Dl=function(e){return!!(e&&e.__CANCEL__)}),Dl}var Dh=ut,Rl=XA,QA=tv(),ZA=id,JA=Fa();function $l(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new JA}var ek=function(e){$l(e),e.headers=e.headers||{},e.data=Rl.call(e,e.data,e.headers,e.transformRequest),e.headers=Dh.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Dh.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var n=e.adapter||ZA.adapter;return n(e).then(function(i){return $l(e),i.data=Rl.call(e,i.data,i.headers,e.transformResponse),i},function(i){return QA(i)||($l(e),i&&i.response&&(i.response.data=Rl.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})},Ot=ut,nv=function(e,n){n=n||{};var r={};function i(u,f){return Ot.isPlainObject(u)&&Ot.isPlainObject(f)?Ot.merge(u,f):Ot.isPlainObject(f)?Ot.merge({},f):Ot.isArray(f)?f.slice():f}function s(u){if(Ot.isUndefined(n[u])){if(!Ot.isUndefined(e[u]))return i(void 0,e[u])}else return i(e[u],n[u])}function o(u){if(!Ot.isUndefined(n[u]))return i(void 0,n[u])}function a(u){if(Ot.isUndefined(n[u])){if(!Ot.isUndefined(e[u]))return i(void 0,e[u])}else return i(void 0,n[u])}function l(u){if(u in n)return i(e[u],n[u]);if(u in e)return i(void 0,e[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return Ot.forEach(Object.keys(e).concat(Object.keys(n)),function(f){var d=c[f]||s,h=d(f);Ot.isUndefined(h)&&d!==l||(r[f]=h)}),r},Fl,Rh;function rv(){return Rh||(Rh=1,Fl={version:"0.27.2"}),Fl}var tk=rv().version,tr=os,sd={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){sd[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});var $h={};sd.transitional=function(e,n,r){function i(s,o){return"[Axios v"+tk+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return function(s,o,a){if(e===!1)throw new tr(i(o," has been removed"+(n?" in "+n:"")),tr.ERR_DEPRECATED);return n&&!$h[o]&&($h[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,o,a):!0}};function nk(t,e,n){if(typeof t!="object")throw new tr("options must be an object",tr.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(t),i=r.length;i-- >0;){var s=r[i],o=e[s];if(o){var a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new tr("option "+s+" must be "+l,tr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new tr("Unknown option "+s,tr.ERR_BAD_OPTION)}}var rk={assertOptions:nk,validators:sd},iv=ut,ik=q_,Fh=LA,Vh=ek,za=nv,sk=ev,sv=rk,fi=sv.validators;function Qi(t){this.defaults=t,this.interceptors={request:new Fh,response:new Fh}}Qi.prototype.request=function(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=za(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&sv.assertOptions(r,{silentJSONParsing:fi.transitional(fi.boolean),forcedJSONParsing:fi.transitional(fi.boolean),clarifyTimeoutError:fi.transitional(fi.boolean)},!1);var i=[],s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(s=s&&h.synchronous,i.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var a;if(!s){var l=[Vh,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;i.length;){var u=i.shift(),f=i.shift();try{c=u(c)}catch(d){f(d);break}}try{a=Vh(c)}catch(d){return Promise.reject(d)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};Qi.prototype.getUri=function(e){e=za(this.defaults,e);var n=sk(e.baseURL,e.url);return ik(n,e.params,e.paramsSerializer)};iv.forEach(["delete","get","head","options"],function(e){Qi.prototype[e]=function(n,r){return this.request(za(r||{},{method:e,url:n,data:(r||{}).data}))}});iv.forEach(["post","put","patch"],function(e){function n(r){return function(s,o,a){return this.request(za(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}Qi.prototype[e]=n(),Qi.prototype[e+"Form"]=n(!0)});var ok=Qi,Vl,zh;function ak(){if(zh)return Vl;zh=1;var t=Fa();function e(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(o){r=o});var i=this;this.promise.then(function(s){if(!!i._listeners){var o,a=i._listeners.length;for(o=0;ot,t=>{const e=t.config.baseURL+t.config.url,n=`${t.message}: API request failed ${e}`;window.app.error({message:n})});const av=window.matchMedia("(prefers-color-scheme: dark)"),ad="auto",lv="light",Nc="dark",Ps=[ad,lv,Nc],cv="theme";function uv(){try{const t=window.localStorage[cv];if(Ps.includes(t))return t}catch(t){console.error("unable to read theme from localStorage",t)}return ad}function gk(t){if(console.log({theme:t}),!!Ps.includes(t))try{window.localStorage[cv]=t,Oc()}catch(e){console.error("unable to write theme to localStorage",e)}}function Oc(){let t=uv();t===ad&&(t=av.matches?Nc:lv);const e={light:"#f3f3f7",dark:"#020318"},n=document.querySelector("meta[name=theme-color]");n&&n.setAttribute("content",e[t]);const r=document.querySelector("html");r.classList.add("no-transitions"),r.classList.toggle("dark",t===Nc),window.requestAnimationFrame(function(){r.classList.remove("no-transitions")})}function _k(){av.addEventListener("change",Oc),Oc()}const vk={name:"TopNavigation",props:{vehicleLogins:{type:Object,default:()=>({})}},data:function(){return{theme:uv()}},computed:{logoutCount(){return this.providerLogins.filter(t=>!t.loggedIn).length},providerLogins(){return Object.entries(this.vehicleLogins).map(([t,e])=>({title:t,loggedIn:e.authenticated,loginPath:e.uri+"/login",logoutPath:e.uri+"/logout"}))}},methods:{toggleTheme:function(){const t=Ps.indexOf(this.theme),e=t(bt("data-v-5ac310b2"),t=t(),yt(),t),bk={type:"button","data-bs-toggle":"dropdown","data-bs-target":"#navbarNavAltMarkup","aria-controls":"navbarNavAltMarkup","aria-expanded":"false","aria-label":"Toggle navigation",class:"btn btn-sm btn-outline-secondary position-relative border-0 menu-button"},yk={key:0,class:"position-absolute top-0 start-100 translate-middle p-2 bg-danger border border-light rounded-circle"},wk=ni(()=>y("span",{class:"visually-hidden"},"login available",-1)),Ek=[wk],Tk=ni(()=>y("shopicon-regular-menu",null,null,-1)),Ck={class:"dropdown-menu dropdown-menu-end"},Sk=ni(()=>y("li",null,[y("hr",{class:"dropdown-divider"})],-1)),Ak={class:"dropdown-header"},kk=["onClick"],xk={key:0,class:"d-inline-block p-1 rounded-circle bg-danger border border-light rounded-circle"},Lk={class:"dropdown-item d-flex",href:"https://docs.evcc.io/blog/",target:"_blank"},Pk=ni(()=>y("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),Nk={class:"dropdown-item d-flex",href:"https://docs.evcc.io/docs/Home/",target:"_blank"},Ok=ni(()=>y("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),Ik={class:"dropdown-item d-flex",href:"https://github.com/evcc-io/evcc",target:"_blank"},Mk=ni(()=>y("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),Dk={class:"dropdown-item d-flex",href:"https://evcc.io/",target:"_blank"},Rk=ni(()=>y("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1));function $k(t,e,n,r,i,s){const o=ue("router-link");return M(),z("div",null,[y("button",bk,[s.logoutCount>0?(M(),z("span",yk,Ek)):_e("",!0),Tk]),y("ul",Ck,[y("li",null,[re(o,{class:"dropdown-item",to:"/sessions"},{default:Je(()=>[Le(F(t.$t("header.sessions")),1)]),_:1})]),y("li",null,[y("button",{type:"button",class:"dropdown-item",onClick:e[0]||(e[0]=js((...a)=>s.toggleTheme&&s.toggleTheme(...a),["stop"]))},F(t.$t(`header.theme.${t.theme}`)),1)]),s.providerLogins.length>0?(M(),z(ke,{key:0},[Sk,y("li",null,[y("h6",Ak,F(t.$t("header.login")),1)]),(M(!0),z(ke,null,Qe(s.providerLogins,a=>(M(),z("li",{key:a.title},[y("button",{type:"button",class:"dropdown-item",onClick:l=>s.handleProviderAuthorization(a)},[a.loggedIn?_e("",!0):(M(),z("span",xk)),Le(" "+F(a.title)+" "+F(t.$t(a.loggedIn?"main.provider.logout":"main.provider.login")),1)],8,kk)]))),128))],64)):_e("",!0),y("li",null,[y("a",Lk,[y("span",null,F(t.$t("header.blog")),1),Pk])]),y("li",null,[y("a",Nk,[y("span",null,F(t.$t("header.docs")),1),Ok])]),y("li",null,[y("a",Ik,[y("span",null,F(t.$t("header.github")),1),Mk])]),y("li",null,[y("a",Dk,[y("span",null,F(t.$t("header.about")),1),Rk])])])])}const dv=we(vk,[["render",$k],["__scopeId","data-v-5ac310b2"]]);var Fk='';class Vk extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Fk}}window.customElements.define("shopicon-regular-exclamationtriangle",Vk);const Pt={data:function(){return{fmtLimit:100,fmtDigits:1}},methods:{round:function(t,e){var n=10**e;return(Math.round(t*n)/n).toFixed(e)},fmt:function(t){return t==null?0:(t=Math.abs(t),t>=this.fmtLimit?this.round(t/1e3,this.fmtDigits):this.round(t,0))},fmtKw:function(t=0,e=!0,n=!0,r){r===void 0&&(r=e?1:0);const i=e?t/1e3:t;let s="";return n&&(s=e?" kW":" W"),`${new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",minimumFractionDigits:r,maximumFractionDigits:r}).format(i)}${s}`},fmtKWh:function(t,e,n,r){return this.fmtKw(t,e,n,r)+"h"},fmtNumber:function(t,e){return new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",minimumFractionDigits:e,maximumFractionDigits:e}).format(t)},fmtUnit:function(t){return Math.abs(t)>=this.fmtLimit?"k":""},fmtDuration:function(t){if(t<=0||t==null)return"\u2014";var e="0"+t%60,n="0"+Math.floor(t/60)%60,r=""+Math.floor(t/3600);return r.length<2&&(r="0"+r),r+":"+n.substr(-2)+":"+e.substr(-2)},fmtShortDuration:function(t=0,e=!1){if(t<=0)return"\u2014";var n=t%60,r=Math.floor(t/60)%60,i=Math.floor(t/3600),s="";return i>=1?s=i+":"+`${r}`.padStart(2,"0"):r>=1?s=r+":"+`${n}`.padStart(2,"0"):s=`${n}`,e&&(s+=this.fmtShortDurationUnit(t)),s},fmtShortDurationUnit:function(t=0){if(t<=0)return"";var e=Math.floor(t/60)%60,n=Math.floor(t/3600);return n>=1?"h":e>=1?"m":"s"},fmtDayString:function(t){const e=`${t.getFullYear()}`,n=`${t.getMonth()+1}`.padStart(2,"0"),r=`${t.getDate()}`.padStart(2,"0");return`${e}-${n}-${r}`},fmtTimeString:function(t){const e=`${t.getHours()}`.padStart(2,"0"),n=`${t.getMinutes()}`.padStart(2,"0");return`${e}:${n}`},isToday:function(t){return new Date().toDateString()===t.toDateString()},isTomorrow:function(t){const e=new Date;return e.setDate(e.getDate()+1),e.toDateString()===t.toDateString()},weekdayPrefix:function(t){const e=new Intl.RelativeTimeFormat(this.$i18n.locale,{numeric:"auto"});return this.isToday(t)?e.formatToParts(0,"day")[0].value:this.isTomorrow(t)?e.formatToParts(1,"day")[0].value:new Intl.DateTimeFormat(this.$i18n.locale,{weekday:"short"}).format(t)},fmtAbsoluteDate:function(t){const e=this.weekdayPrefix(t),n=new Intl.DateTimeFormat(this.$i18n.locale,{hour:"numeric",minute:"numeric"}).format(t);return`${e} ${n}`},fmtFullDateTime:function(t,e){return new Intl.DateTimeFormat(this.$i18n.locale,{weekday:e?void 0:"short",month:e?"numeric":"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(t)},fmtMonthYear:function(t){return new Intl.DateTimeFormat(this.$i18n.locale,{month:"long",year:"numeric"}).format(t)},fmtDayMonthYear:function(t){return new Intl.DateTimeFormat(this.$i18n.locale,{day:"numeric",month:"long",year:"numeric"}).format(t)},fmtMoney:function(t=0,e="EUR"){return new Intl.NumberFormat(this.$i18n.locale,{style:"currency",currency:e,currencyDisplay:"code"}).format(t).replace(e,"").trim()},fmtCurrencySymbol:function(t="EUR"){return{EUR:"\u20AC",USD:"$"}[t]||t},fmtPricePerKWh:function(t=0,e="EUR"){let n=e,r=t,i=3;return["EUR","USD"].includes(e)&&(r*=100,n="ct",i=1),`${new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",maximumFractionDigits:i}).format(r)} ${n}/kWh`},fmtTimeAgo:function(t){const e={day:864e5,hour:36e5,minute:6e4,second:1e3},n=new Intl.RelativeTimeFormat(this.$i18n.locale,{numeric:"auto"});for(var r in e)if(Math.abs(t)>e[r]||r=="second")return n.format(Math.round(t/e[r]),r)}}},zk={name:"Notifications",mixins:[Pt],props:{notifications:Array},computed:{iconVisible:function(){return this.notifications.length>0},iconClass:function(){return this.notifications.find(t=>t.type==="error")?"text-danger":"text-warning"}},created:function(){this.interval=setInterval(()=>{this.$forceUpdate()},10*1e3)},unmounted:function(){clearTimeout(this.interval)},methods:{clear:function(){window.app&&window.app.clear()}}},Hk={href:"#","data-bs-toggle":"modal","data-bs-target":"#notificationModal",class:"btn btn-sm btn-link text-decoration-none link-light text-nowrap"},jk={id:"notificationModal",class:"modal fade text-dark",tabindex:"-1",role:"dialog","aria-hidden":"true","data-bs-backdrop":"true"},Bk={class:"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable",role:"document"},Uk={class:"modal-content"},Wk={class:"modal-header"},Kk={class:"modal-title"},Yk=y("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),qk={class:"modal-body"},Gk=["title"],Xk={class:"d-flex align-items-baseline"},Qk={class:"flex-grow-1 px-2 py-1 text-break"},Zk={key:0,class:"badge rounded-pill bg-secondary"},Jk={class:"modal-footer"};function e4(t,e,n,r,i,s){return M(),z("div",null,[qt(y("button",Hk,[y("shopicon-regular-exclamationtriangle",{class:Me(s.iconClass)},null,2)],512),[[Iu,s.iconVisible]]),y("div",jk,[y("div",Bk,[y("div",Uk,[y("div",Wk,[y("h5",Kk,F(t.$t("notifications.modalTitle")),1),Yk]),y("div",qk,[(M(!0),z(ke,null,Qe(n.notifications,(o,a)=>(M(),z("div",{key:a},[y("small",{class:"d-flex justify-content-end mt-3",title:t.fmtAbsoluteDate(o.time)},F(t.fmtTimeAgo(o.time-new Date)),9,Gk),y("p",Xk,[y("shopicon-regular-exclamationtriangle",{class:Me([{"text-danger":o.type==="error","text-warning":o.type==="warn"},"flex-grow-0 flex-shrink-0 d-block"])},null,2),y("span",Qk,F(o.message),1),o.count>1?(M(),z("span",Zk,F(o.count),1)):_e("",!0)])]))),128))]),y("div",Jk,[y("button",{type:"button","data-bs-dismiss":"modal","aria-label":"Close",class:"btn btn-outline-secondary",onClick:e[0]||(e[0]=(...o)=>s.clear&&s.clear(...o))},F(t.$t("notifications.dismissAll")),1)])])])])])}const t4=we(zk,[["render",e4]]);var n4='';class r4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=n4}}window.customElements.define("shopicon-filled-square",r4);var i4='';class s4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=i4}}window.customElements.define("shopicon-regular-batteryfull",s4);var o4='';class a4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=o4}}window.customElements.define("shopicon-regular-batterythreequarters",a4);var l4='';class c4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=l4}}window.customElements.define("shopicon-regular-batteryhalf",c4);var u4='';class d4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=u4}}window.customElements.define("shopicon-regular-batteryquarter",d4);var f4='';class h4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=f4}}window.customElements.define("shopicon-regular-batteryempty",h4);const m4={name:"BatteryIcon",props:{soc:{type:Number,default:0}},computed:{icon:function(){return this.soc>80?"batteryfull":this.soc>60?"batterythreequarters":this.soc>40?"batteryhalf":this.soc>20?"batteryquarter":"batteryempty"}}};function p4(t,e,n,r,i,s){return M(),Te(ku(`shopicon-regular-${s.icon}`))}const fv=we(m4,[["render",p4]]),g4={name:"LabelBar",props:{value:{type:Number,default:0},hideIcon:{type:Boolean},top:{type:Boolean},bottom:{type:Boolean},first:{type:Boolean},last:{type:Boolean}}},_4={class:"label-bar-scale"},v4={class:"label-bar-icon"};function b4(t,e,n,r,i,s){return M(),z("div",{class:Me(["label-bar",{"label-bar--hide-icon":n.hideIcon,"label-bar--hidden":!n.value,"label-bar--top":n.top,"label-bar--bottom":n.bottom,"label-bar--first":n.first,"label-bar--last":n.last}])},[y("div",_4,[y("div",v4,[xu(t.$slots,"default",{},void 0,!0)])])],2)}const y4=we(g4,[["render",b4],["__scopeId","data-v-07ec7375"]]),w4=.5,E4={name:"AnimatedNumber",props:{to:{type:Number},format:{type:Function},noAnimation:{type:Boolean},duration:{type:Number,default:w4}},data(){return{activeDuration:0}},computed:{animationDuration(){return this.noAnimation?0:this.activeDuration}},watch:{to:function(){this.activeDuration=this.duration}}};function T4(t,e,n,r,i,s){const o=ue("number");return M(),Te(o,{to:n.to,format:n.format,duration:s.animationDuration},null,8,["to","format","duration"])}const ri=we(E4,[["render",T4]]);var C4='';class S4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=C4}}window.customElements.define("shopicon-regular-car3",S4);var A4='';class k4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=A4}}window.customElements.define("shopicon-regular-sun",k4);var x4='';class L4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=x4}}window.customElements.define("shopicon-regular-home",L4);const P4={name:"Visualization",components:{BatteryIcon:fv,LabelBar:y4,AnimatedNumber:ri},mixins:[Pt],props:{gridImport:{type:Number,default:0},selfConsumption:{type:Number,default:0},pvExport:{type:Number,default:0},loadpoints:{type:Number,default:0},batteryCharge:{type:Number,default:0},batteryDischarge:{type:Number,default:0},pvProduction:{type:Number,default:0},homePower:{type:Number,default:0},batterySoC:{type:Number,default:0},valuesInKw:{type:Boolean,default:!1}},data:function(){return{width:0,visualizationReady:!1}},computed:{gridExport:function(){return this.applyThreshold(this.pvExport)},totalRaw:function(){return this.gridImport+this.selfConsumption+this.pvExport},gridImportAdjusted:function(){return this.applyThreshold(this.gridImport)},selfConsumptionAdjusted:function(){return this.applyThreshold(this.selfConsumption)},pvExportAdjusted:function(){return this.applyThreshold(this.pvExport)},totalAdjusted:function(){return this.gridImportAdjusted+this.selfConsumptionAdjusted+this.pvExportAdjusted}},watch:{totalAdjusted:function(){!this.visualizationReady&&this.totalAdjusted>0&&setTimeout(()=>{this.visualizationReady=!0},500)}},mounted:function(){this.$nextTick(function(){window.addEventListener("resize",this.updateElementWidth),this.updateElementWidth()})},beforeUnmount(){window.removeEventListener("resize",this.updateElementWidth)},methods:{widthTotal:function(t){return this.totalAdjusted===0?"0%":100/this.totalAdjusted*t+"%"},fmtBarValue:function(t){const e=this.powerLabelEnoughSpace(t);return this.fmtKw(t,this.valuesInKw,e)},powerLabelAvailableSpace(t){if(this.totalAdjusted===0)return 0;const e=100/this.totalAdjusted*t;return this.width/100*e},powerLabelEnoughSpace(t){return this.powerLabelAvailableSpace(t)>60},powerLabelSomeSpace(t){return this.powerLabelAvailableSpace(t)>35},hideLabelIcon(t,e=32){if(this.totalAdjusted===0)return!0;const n=100/this.totalAdjusted*t;return this.width/100*n(bt("data-v-52aac8f3"),t=t(),yt(),t),N4={class:"label-scale d-flex"},O4={class:"d-flex justify-content-start flex-grow-1"},I4=ii(()=>y("shopicon-regular-sun",null,null,-1)),M4=ii(()=>y("shopicon-regular-powersupply",null,null,-1)),D4=ii(()=>y("div",{class:"label-scale-name"},"In",-1)),R4={ref:"site_progress",class:"site-progress"},$4={key:0,class:"site-progress-bar bg-light border no-wrap w-100 text-dark"},F4={class:"label-scale d-flex"},V4={class:"d-flex justify-content-start flex-grow-1"},z4=ii(()=>y("shopicon-regular-home",null,null,-1)),H4=ii(()=>y("shopicon-regular-car3",null,null,-1)),j4=ii(()=>y("shopicon-regular-powersupply",null,null,-1)),B4=ii(()=>y("div",{class:"label-scale-name"},"Out",-1));function U4(t,e,n,r,i,s){const o=ue("LabelBar"),a=ue("BatteryIcon"),l=ue("AnimatedNumber");return M(),z("div",{class:Me(["visualization",{"visualization--ready":t.visualizationReady}])},[y("div",N4,[y("div",O4,[re(o,an(Yt(s.labelBarProps("top","pvProduction"))),{default:Je(()=>[I4]),_:1},16),re(o,an(Yt(s.labelBarProps("top","batteryDischarge"))),{default:Je(()=>[re(a,{soc:n.batterySoC},null,8,["soc"])]),_:1},16),re(o,an(Yt(s.labelBarProps("top","gridImport"))),{default:Je(()=>[M4]),_:1},16)]),D4]),y("div",R4,[y("div",{class:"site-progress-bar self-consumption",style:Ct({width:s.widthTotal(s.selfConsumptionAdjusted)})},[n.selfConsumption?(M(),Te(l,{key:0,class:"power",to:n.selfConsumption,format:s.fmtBarValue},null,8,["to","format"])):_e("",!0)],4),y("div",{class:"site-progress-bar grid-import",style:Ct({width:s.widthTotal(s.gridImportAdjusted)})},[n.gridImport?(M(),Te(l,{key:0,class:"power",to:n.gridImport,format:s.fmtBarValue},null,8,["to","format"])):_e("",!0)],4),y("div",{class:"site-progress-bar pv-export",style:Ct({width:s.widthTotal(s.pvExportAdjusted)})},[n.pvExport?(M(),Te(l,{key:0,class:"power",to:n.pvExport,format:s.fmtBarValue},null,8,["to","format"])):_e("",!0)],4),s.totalAdjusted<=0?(M(),z("div",$4,[y("span",null,F(t.$t("main.energyflow.noEnergy")),1)])):_e("",!0)],512),y("div",F4,[y("div",V4,[re(o,an(Yt(s.labelBarProps("bottom","homePower"))),{default:Je(()=>[z4]),_:1},16),re(o,an(Yt(s.labelBarProps("bottom","loadpoints"))),{default:Je(()=>[H4]),_:1},16),re(o,an(Yt(s.labelBarProps("bottom","batteryCharge"))),{default:Je(()=>[re(a,{soc:n.batterySoC},null,8,["soc"])]),_:1},16),re(o,an(Yt(s.labelBarProps("bottom","gridExport"))),{default:Je(()=>[j4]),_:1},16)]),B4])],2)}const W4=we(P4,[["render",U4],["__scopeId","data-v-52aac8f3"]]);var K4='';class Y4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=K4}}window.customElements.define("shopicon-regular-powersupply",Y4);const q4={name:"EnergyflowEntry",components:{BatteryIcon:fv,AnimatedNumber:ri},mixins:[Pt],props:{name:{type:String},icon:{type:String},power:{type:Number},soc:{type:Number},valuesInKw:{type:Boolean}},computed:{active:function(){return this.power>10},isBattery:function(){return this.icon==="battery"},hasSoC:function(){return this.isBattery&&!isNaN(this.soc)}},methods:{kw:function(t){return this.fmtKw(t,this.valuesInKw)}}},G4={class:"d-flex flex-nowrap"},X4={class:"text-nowrap flex-grow-1 ms-3"},Q4={class:"text-end text-nowrap ps-1 fw-bold"},Z4={key:0};function J4(t,e,n,r,i,s){const o=ue("BatteryIcon"),a=ue("AnimatedNumber");return M(),z("div",{class:Me(["d-flex justify-content-between mb-2 entry",{"evcc-gray":!s.active}])},[y("span",G4,[s.isBattery?(M(),Te(o,{key:0,soc:n.soc},null,8,["soc"])):(M(),Te(ku(`shopicon-regular-${n.icon}`),{key:1}))]),y("span",X4,F(n.name),1),y("span",Q4,[s.hasSoC?(M(),z("span",Z4,F(n.soc)+"% / ",1)):_e("",!0),re(a,{to:n.power,format:s.kw},null,8,["to","format"])])],2)}const ex=we(q4,[["render",J4],["__scopeId","data-v-64ce0f8b"]]),tx={name:"Energyflow",components:{Visualization:W4,EnergyflowEntry:ex,AnimatedNumber:ri},mixins:[Pt],props:{gridConfigured:Boolean,gridPower:{type:Number,default:0},homePower:{type:Number,default:0},pvConfigured:Boolean,pvPower:{type:Number,default:0},loadpointsPower:{type:Number,default:0},activeLoadpointsCount:{type:Number,default:0},batteryConfigured:Boolean,batteryPower:{type:Number,default:0},batterySoC:{type:Number,default:0}},data:()=>({detailsOpen:!1,detailsCompleteHeight:null}),computed:{gridImport:function(){return Math.max(0,this.gridPower)},pvProduction:function(){return Math.abs(this.pvPower)},batteryPowerAdjusted:function(){return Math.abs(this.batteryPower)<50?0:this.batteryPower},batteryDischarge:function(){return Math.abs(Math.max(0,this.batteryPowerAdjusted))},batteryCharge:function(){return Math.abs(Math.min(0,this.batteryPowerAdjusted)*-1)},selfConsumption:function(){const t=this.batteryDischarge+this.pvProduction,e=this.homePower+this.batteryCharge+this.loadpointsPower;return Math.min(t,e)},pvExport:function(){return Math.max(0,this.gridPower*-1)},valuesInKw:function(){return this.gridImport+this.selfConsumption+this.pvExport>1e3},inPower:function(){return this.gridImport+this.pvProduction+this.batteryDischarge},outPower:function(){return this.homePower+this.loadpointsPower+this.pvExport+this.batteryCharge},detailsHeight:function(){return this.detailsOpen?this.detailsCompleteHeight+"px":0}},mounted(){window.addEventListener("resize",this.updateHeight)},unmounted(){window.removeEventListener("resize",this.updateHeight)},methods:{kw:function(t){return this.fmtKw(t,this.valuesInKw)},toggleDetails:function(){this.updateHeight(),this.detailsOpen=!this.detailsOpen},updateHeight:function(){this.detailsCompleteHeight=this.$refs.detailsInner.offsetHeight}}},ao=t=>(bt("data-v-a185934b"),t=t(),yt(),t),nx={class:"row"},rx={ref:"detailsInner",class:"details-inner row"},ix={class:"col-12 d-flex justify-content-between pt-2 mb-4"},sx={class:"d-flex flex-nowrap align-items-center"},ox=ao(()=>y("span",{class:"color-self me-2"},[y("shopicon-filled-square")],-1)),ax={key:0,class:"d-flex flex-nowrap align-items-center"},lx=ao(()=>y("span",{class:"color-grid ms-2"},[y("shopicon-filled-square")],-1)),cx={key:1,class:"d-flex flex-nowrap align-items-center"},ux=ao(()=>y("span",{class:"color-export ms-2"},[y("shopicon-filled-square")],-1)),dx={class:"col-12 col-md-6 pe-md-5 pb-4 d-flex flex-column justify-content-between"},fx={class:"d-flex justify-content-between align-items-end mb-4"},hx=ao(()=>y("h3",{class:"m-0"},"In",-1)),mx={class:"fw-bold"},px={class:"col-12 col-md-6 ps-md-5 pb-4 d-flex flex-column justify-content-between"},gx={class:"d-flex justify-content-between align-items-end mb-4"},_x=ao(()=>y("h3",{class:"m-0"},"Out",-1)),vx={class:"fw-bold"};function bx(t,e,n,r,i,s){const o=ue("Visualization"),a=ue("AnimatedNumber"),l=ue("EnergyflowEntry");return M(),z("div",{class:Me(["energyflow cursor-pointer position-relative",{"energyflow--open":t.detailsOpen}]),onClick:e[0]||(e[0]=(...c)=>s.toggleDetails&&s.toggleDetails(...c))},[y("div",nx,[re(o,{class:"col-12 mb-3 mb-md-4",gridImport:s.gridImport,selfConsumption:s.selfConsumption,loadpoints:n.loadpointsPower,pvExport:s.pvExport,batteryCharge:s.batteryCharge,batteryDischarge:s.batteryDischarge,pvProduction:s.pvProduction,homePower:n.homePower,batterySoC:n.batterySoC,valuesInKw:s.valuesInKw},null,8,["gridImport","selfConsumption","loadpoints","pvExport","batteryCharge","batteryDischarge","pvProduction","homePower","batterySoC","valuesInKw"])]),y("div",{class:"details",style:Ct({height:s.detailsHeight})},[y("div",rx,[y("div",ix,[y("div",sx,[ox,y("span",null,F(t.$t("main.energyflow.selfConsumption")),1)]),s.gridImport>0?(M(),z("div",ax,[y("span",null,F(t.$t("main.energyflow.gridImport")),1),lx])):(M(),z("div",cx,[y("span",null,F(t.$t("main.energyflow.pvExport")),1),ux]))]),y("div",dx,[y("div",fx,[hx,y("span",mx,[re(a,{to:s.inPower,format:s.kw},null,8,["to","format"])])]),y("div",null,[re(l,{name:t.$t("main.energyflow.pvProduction"),icon:"sun",power:s.pvProduction,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"]),n.batteryConfigured?(M(),Te(l,{key:0,name:t.$t("main.energyflow.batteryDischarge"),icon:"battery",soc:n.batterySoC,power:s.batteryDischarge,valuesInKw:s.valuesInKw},null,8,["name","soc","power","valuesInKw"])):_e("",!0),re(l,{name:t.$t("main.energyflow.gridImport"),icon:"powersupply",power:s.gridImport,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"])])]),y("div",px,[y("div",gx,[_x,y("span",vx,[re(a,{to:s.outPower,format:s.kw},null,8,["to","format"])])]),y("div",null,[re(l,{name:t.$t("main.energyflow.homePower"),icon:"home",power:n.homePower,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"]),re(l,{name:t.$tc("main.energyflow.loadpoints",n.activeLoadpointsCount,{count:n.activeLoadpointsCount}),icon:"car3",power:n.loadpointsPower,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"]),n.batteryConfigured?(M(),Te(l,{key:0,name:t.$t("main.energyflow.batteryCharge"),icon:"battery",soc:n.batterySoC,power:s.batteryCharge,valuesInKw:s.valuesInKw},null,8,["name","soc","power","valuesInKw"])):_e("",!0),re(l,{name:t.$t("main.energyflow.pvExport"),icon:"powersupply",power:s.pvExport,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"])])])],512)],4)],2)}const Wh=we(tx,[["render",bx],["__scopeId","data-v-a185934b"]]);var yx='';class wx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=yx}}window.customElements.define("shopicon-filled-circle",wx);var Ex='';class Tx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Ex}}window.customElements.define("shopicon-regular-lightning",Tx);var Cx='';class Sx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Cx}}window.customElements.define("shopicon-regular-adjust",Sx);const{protocol:Ax,hostname:kx,port:Kh,pathname:xx}=window.location,ot=od.create({baseURL:Ax+"//"+kx+(Kh?":"+Kh:"")+xx+"api/",headers:{Accept:"application/json"}});ot.interceptors.response.use(t=>t,t=>{const e=t.config.baseURL+t.config.url,n=`${t.message}: API request failed ${e}`;return window.app.error({message:n}),Promise.reject(t)});const Lx={name:"Mode",props:{mode:String},emits:["updated"],data(){return{modes:["off","pv","minpv","now"]}},methods:{isActive:function(t){return this.mode===t},setTargetMode:function(t){this.$emit("updated",t)}}},Px={class:"mode-group border d-inline-flex",role:"group"},Nx=["onClick"];function Ox(t,e,n,r,i,s){return M(),z("div",Px,[(M(!0),z(ke,null,Qe(i.modes,o=>(M(),z("button",{key:o,type:"button",class:Me(["btn flex-grow-1 flex-shrink-1",{active:s.isActive(o)}]),onClick:a=>s.setTargetMode(o)},F(t.$t(`main.mode.${o}`)),11,Nx))),128))])}const Ix=we(Lx,[["render",Ox],["__scopeId","data-v-fd0f9db5"]]),Ha={methods:{collectProps:function(t){let e={};for(var n in t.props)n in this&&(e[n]=this[n]);return e}}},Mx={name:"LabelAndValue",components:{AnimatedNumber:ri},props:{label:String,value:[Number,String],valueFmt:Function,extraValue:String,align:{type:String,default:"center"}},computed:{labelClass(){return`text-${this.align}`},valueClass(){return`justify-content-${this.align}`}}},Dx={class:"root"},Rx={key:1},$x={key:2,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function Fx(t,e,n,r,i,s){const o=ue("AnimatedNumber");return M(),z("div",Dx,[y("div",{class:Me(["mb-2 label",s.labelClass])},F(n.label),3),xu(t.$slots,"default",{},()=>[y("h3",{class:Me(["value m-0 d-block d-sm-flex align-items-baseline",s.valueClass])},[n.valueFmt?(M(),Te(o,{key:0,to:n.value,format:n.valueFmt},null,8,["to","format"])):(M(),z("span",Rx,F(n.value),1)),n.extraValue?(M(),z("div",$x,F(n.extraValue),1)):_e("",!0)],2)],!0)])}const lo=we(Mx,[["render",Fx],["__scopeId","data-v-2a1fddd7"]]);var Vx='';class zx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Vx}}window.customElements.define("shopicon-regular-refresh",zx);var Hx='';class jx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Hx}}window.customElements.define("shopicon-regular-cablecharge",jx);var Bx='';class Ux extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Bx}}window.customElements.define("shopicon-filled-options",Ux);const Wx={name:"VehicleOptions",props:{vehicles:Array,isUnknown:Boolean},emits:["change-vehicle","remove-vehicle"],methods:{changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")}}},Kx={role:"button",tabindex:"0","data-bs-toggle":"dropdown","data-bs-target":"#navbarNavAltMarkup","aria-controls":"navbarNavAltMarkup","aria-expanded":"false","aria-label":"Toggle navigation"},Yx={class:"dropdown-menu dropdown-menu-start"},qx={class:"dropdown-header"},Gx=["onClick"],Xx={key:0};function Qx(t,e,n,r,i,s){return M(),z("div",null,[y("div",Kx,[xu(t.$slots,"default")]),y("ul",Yx,[y("li",null,[y("h6",qx,F(t.$t("main.vehicle.changeVehicle")),1)]),(M(!0),z(ke,null,Qe(n.vehicles,o=>(M(),z("li",{key:o},[y("button",{type:"button",class:"dropdown-item",onClick:a=>s.changeVehicle(o.id)},F(o.title),9,Gx)]))),128)),n.isUnknown?_e("",!0):(M(),z("li",Xx,[y("button",{type:"button",class:"dropdown-item",onClick:e[0]||(e[0]=o=>s.removeVehicle())},F(t.$t("main.vehicle.unknown")),1)]))])])}const Zx=we(Wx,[["render",Qx]]),Jx={name:"VehicleTitle",components:{VehicleOptions:Zx},props:{vehiclePresent:Boolean,vehicleTitle:String,vehicleDetectionActive:Boolean,parked:Boolean,connected:Boolean,vehicles:{type:Array,default:()=>[]}},emits:["change-vehicle","remove-vehicle"],computed:{icon(){return this.vehicleDetectionActive?"refresh":this.connected||this.parked?"car":null},name(){return this.vehiclePresent||this.parked?this.vehicleTitle||this.$t("main.vehicle.fallbackName"):this.connected?this.$t("main.vehicle.unknown"):this.$t("main.vehicle.none")},isUnknown(){return!this.vehiclePresent},otherVehicles(){return this.vehicles.map((t,e)=>({id:e,title:t})).filter(t=>t.title!==this.vehicleTitle)},showOptions(){return!this.isUnknown||this.vehicles.length}},watch:{icon:function(){this.tooltip()}},mounted:function(){this.tooltip()},methods:{changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")},tooltip(){this.$nextTick(()=>{this.$refs.refresh&&new wr(this.$refs.refresh)})}}},eL={class:"d-flex justify-content-between mb-3 align-items-center"},tL={class:"d-flex align-items-center m-0 flex-grow-1 overflow-hidden"},nL=["title"],rL={key:1,class:"me-2 flex-shrink-0"},iL={key:2,class:"me-2 flex-shrink-0"},sL={class:"flex-grow-1 text-truncate vehicle-name"},oL={key:4,class:"flex-grow-1 text-truncate vehicle-name"};function aL(t,e,n,r,i,s){const o=ue("VehicleOptions");return M(),z("div",eL,[y("h4",tL,[s.icon==="refresh"?(M(),z("shopicon-regular-refresh",{key:0,ref:"refresh","data-bs-toggle":"tooltip",title:t.$t("main.vehicle.detectionActive"),class:"me-2 flex-shrink-0 spin"},null,8,nL)):s.icon==="car"?(M(),z("shopicon-regular-car3",rL)):(M(),z("shopicon-regular-cablecharge",iL)),s.showOptions?(M(),Te(o,{key:3,class:"options",vehicles:s.otherVehicles,"is-unknown":s.isUnknown,onChangeVehicle:s.changeVehicle,onRemoveVehicle:s.removeVehicle},{default:Je(()=>[y("span",sL,F(s.name),1)]),_:1},8,["vehicles","is-unknown","onChangeVehicle","onRemoveVehicle"])):(M(),z("span",oL,F(s.name),1))])])}const Yh=we(Jx,[["render",aL],["__scopeId","data-v-f52d1381"]]),lL={name:"VehicleSoc",props:{connected:Boolean,vehiclePresent:Boolean,vehicleSoC:Number,vehicleTargetSoC:Number,enabled:Boolean,charging:Boolean,minSoC:Number,targetSoC:Number,targetEnergy:Number,chargedEnergy:Number,socBasedCharging:Boolean},emits:["target-soc-drag","target-soc-updated"],data:function(){return{selectedTargetSoC:null,interactionStartScreenY:null,tooltip:null}},computed:{vehicleSoCDisplayWidth:function(){return this.socBasedCharging?this.vehicleSoC>=0?this.vehicleSoC:100:this.targetEnergy?100/this.targetEnergy*(this.chargedEnergy/1e3):100},vehicleTargetSoCActive:function(){return this.vehicleTargetSoC>0&&this.vehicleTargetSoC>this.vehicleSoC},targetSliderActive:function(){return!this.vehicleTargetSoC||this.visibleTargetSoC<=this.vehicleTargetSoC},progressColor:function(){return this.minSoCActive?"bg-danger":"bg-primary"},minSoCActive:function(){return this.minSoC>0&&this.vehicleSoCthis.vehicleSoC)return t-this.vehicleSoC}else return 100-this.vehicleSoCDisplayWidth;return null},visibleTargetSoC:function(){return Number(this.selectedTargetSoC||this.targetSoC)}},watch:{targetSoC:function(){this.selectedTargetSoC=this.targetSoC},vehicleTargetSoC:function(){this.updateTooltip()}},mounted:function(){this.updateTooltip()},methods:{changeTargetSoCStart:function(t){t.stopPropagation()},changeTargetSoCEnd:function(t){const e=parseInt(t.target.value,10);e!==this.targetSoC&&this.$emit("target-soc-updated",e)},movedTargetSoC:function(t){let e=parseInt(t.target.value,10);t.stopPropagation();const n=20;return e{this.tooltip&&this.tooltip.dispose(),this.tooltip=new wr(this.$refs.vehicleTargetSoC)})}}},cL={class:"vehicle-soc"},uL={class:"progress"},dL=["title"],fL={class:"target"},hL=["value"];function mL(t,e,n,r,i,s){return M(),z("div",cL,[y("div",uL,[n.connected?(M(),z("div",{key:0,class:Me(["progress-bar",{[s.progressColor]:!0,"progress-bar-striped":n.charging,"progress-bar-animated":n.charging}]),role:"progressbar",style:Ct({width:`${s.vehicleSoCDisplayWidth}%`})},null,6)):_e("",!0),s.remainingSoCWidth>0&&n.enabled&&n.connected?(M(),z("div",{key:1,class:Me(["progress-bar bg-muted",s.progressColor]),role:"progressbar",style:Ct({width:`${s.remainingSoCWidth}%`,transition:"none"})},null,6)):_e("",!0),qt(y("div",{ref:"vehicleTargetSoC",class:Me(["vehicle-target-soc",{"vehicle-target-soc--active":s.vehicleTargetSoCActive}]),"data-bs-toggle":"tooltip",title:t.$t("main.vehicleSoC.vehicleTarget",{soc:n.vehicleTargetSoC}),style:Ct({left:`${n.vehicleTargetSoC}%`})},null,14,dL),[[Iu,n.vehicleTargetSoC]])]),y("div",fL,[n.socBasedCharging&&n.connected?(M(),z("input",{key:0,type:"range",min:"0",max:"100",step:"5",value:s.visibleTargetSoC,class:Me(["target-slider",{"target-slider--active":s.targetSliderActive}]),onMousedown:e[0]||(e[0]=(...o)=>s.changeTargetSoCStart&&s.changeTargetSoCStart(...o)),onTouchstart:e[1]||(e[1]=(...o)=>s.changeTargetSoCStart&&s.changeTargetSoCStart(...o)),onInput:e[2]||(e[2]=(...o)=>s.movedTargetSoC&&s.movedTargetSoC(...o)),onMouseup:e[3]||(e[3]=(...o)=>s.changeTargetSoCEnd&&s.changeTargetSoCEnd(...o)),onTouchend:e[4]||(e[4]=(...o)=>s.changeTargetSoCEnd&&s.changeTargetSoCEnd(...o))},null,42,hL)):_e("",!0)])])}const qh=we(lL,[["render",mL],["__scopeId","data-v-15f37702"]]),pL={name:"VehicleStatus",mixins:[Pt],props:{vehicleSoC:Number,vehicleTargetSoC:Number,minSoC:Number,enabled:Boolean,connected:Boolean,charging:Boolean,targetTime:String,targetTimeProjectedStart:String,phaseAction:String,phaseRemainingInterpolated:Number,pvAction:String,pvRemainingInterpolated:Number},computed:{phaseTimerActive(){return this.charging&&this.phaseRemainingInterpolated>0&&["scale1p","scale3p"].includes(this.phaseAction)},pvTimerActive(){return this.pvRemainingInterpolated>0&&["enable","disable"].includes(this.pvAction)},message:function(){const t=(e,n)=>this.$t(`main.vehicleStatus.${e}`,n);if(!this.connected)return t("disconnected");if(this.minSoC>0&&this.vehicleSoC0&&this.vehicleSoC>=this.vehicleTargetSoC-1?t("vehicleTargetReached",{soc:this.vehicleTargetSoC}):t("waitForVehicle"):this.pvTimerActive&&this.charging&&this.pvAction==="disable"?t("pvDisable",{remaining:this.fmtShortDuration(this.pvRemainingInterpolated,!0)}):this.phaseTimerActive?t(this.phaseAction,{remaining:this.fmtShortDuration(this.phaseRemainingInterpolated,!0)}):this.charging?t("charging"):t("connected")}}},gL={class:"d-block evcc-gray"};function _L(t,e,n,r,i,s){return M(),z("div",gL,F(s.message)+"\xA0",1)}const Gh=we(pL,[["render",_L]]);var vL='';class bL extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=vL}}window.customElements.define("shopicon-filled-plus",bL);var yL='';class wL extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=yL}}window.customElements.define("shopicon-filled-edit",wL);const EL="7:00",Xh="last_target_time",TL={name:"TargetCharge",components:{LabelAndValue:lo},mixins:[Pt],props:{id:[String,Number],targetTime:String,targetTimeActive:Boolean,targetSoC:Number,disabled:Boolean},emits:["target-time-updated","target-time-removed"],data:function(){return{selectedDay:null,selectedTime:null}},computed:{targetChargeEnabled:function(){return this.targetTime},selectedTargetTimeValid:function(){return new Datenew Date;this.targetChargeEnabled&&e&&(t=new Date(this.targetTime)),this.selectedDay=this.fmtDayString(t),this.selectedTime=this.fmtTimeString(t)},dayOptions:function(){const t=[],e=new Date,n=[this.$t("main.targetCharge.today"),this.$t("main.targetCharge.tomorrow")];for(let r=0;r<7;r++){const i=e.toLocaleDateString("default",{month:"short",day:"numeric"}),s=n[r]||e.toLocaleDateString("default",{weekday:"long"});t.push({value:this.fmtDayString(e),name:`${i} (${s})`}),e.setDate(e.getDate()+1)}return t},setTargetTime:function(){try{const t=this.selectedTargetTime.getHours(),e=this.selectedTargetTime.getMinutes();window.localStorage[Xh]=`${t}:${e}`}catch(t){console.warn(t)}this.$emit("target-time-updated",this.selectedTargetTime)},removeTargetTime:function(){this.$emit("target-time-removed")}}},hv=t=>(bt("data-v-2ec7939a"),t=t(),yt(),t),CL=["data-bs-target","disabled"],SL={key:0},AL={key:1},kL=["id"],xL={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},LL={class:"modal-content"},PL={class:"modal-header"},NL={class:"modal-title"},OL=hv(()=>y("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),IL={class:"modal-body"},ML={class:"form-group"},DL={for:"targetTimeLabel",class:"mb-3"},RL={class:"d-flex justify-content-between",style:{"max-width":"350px"}},$L=["value"],FL={key:0,class:"text-danger mb-0"},VL={class:"small mt-3 text-muted mb-0"},zL={class:"text-evcc"},HL=hv(()=>y("a",{href:"https://github.com/evcc-io/evcc/discussions/1433",target:"_blank"},"GitHub Discussions",-1)),jL={class:"modal-footer d-flex justify-content-between"},BL=["disabled"];function UL(t,e,n,r,i,s){const o=ue("LabelAndValue");return M(),z("div",null,[re(o,{class:Me(["root flex-grow-1",n.disabled?"opacity-0":"opacity-1"]),label:t.$t("main.targetCharge.title")},{default:Je(()=>[y("button",{class:Me(["btn btn-link p-0 value text-center",s.targetChargeEnabled?"evcc-default-text":"text-gray"]),"data-bs-toggle":"modal","data-bs-target":`#${s.modalId}`,disabled:n.disabled},[s.targetChargeEnabled?(M(),z("strong",SL,F(s.targetTimeLabel()),1)):(M(),z("span",AL,F(t.$t("main.targetCharge.setTargetTime")),1))],10,CL)]),_:1},8,["label","class"]),(M(),Te(io,{to:"body"},[y("div",{id:s.modalId,class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},[y("div",xL,[y("div",LL,[y("div",PL,[y("h5",NL,F(t.$t("main.targetCharge.modalTitle")),1),OL]),y("form",{onSubmit:e[3]||(e[3]=js((...a)=>s.setTargetTime&&s.setTargetTime(...a),["prevent"]))},[y("div",IL,[y("div",ML,[y("label",DL,F(t.$t("main.targetCharge.description",{targetSoC:n.targetSoC})),1),y("div",RL,[qt(y("select",{"onUpdate:modelValue":e[0]||(e[0]=a=>t.selectedDay=a),class:"form-select me-2",style:{"flex-basis":"60%"}},[(M(!0),z(ke,null,Qe(s.dayOptions(),a=>(M(),z("option",{key:a.value,value:a.value},F(a.name),9,$L))),128))],512),[[Ro,t.selectedDay]]),qt(y("input",{"onUpdate:modelValue":e[1]||(e[1]=a=>t.selectedTime=a),type:"time",class:"form-control ms-2",style:{"flex-basis":"40%"},step:60*5,required:""},null,512),[[iC,t.selectedTime]])])]),s.selectedTargetTimeValid?_e("",!0):(M(),z("p",FL,F(t.$t("main.targetCharge.targetIsInThePast")),1)),y("p",VL,[y("strong",zL,F(t.$t("main.targetCharge.experimentalLabel"))+": ",1),Le(" "+F(t.$t("main.targetCharge.experimentalText"))+" ",1),HL,Le(". ")])]),y("div",jL,[y("button",{type:"button",class:"btn btn-outline-secondary","data-bs-dismiss":"modal",onClick:e[2]||(e[2]=(...a)=>s.removeTargetTime&&s.removeTargetTime(...a))},F(t.$t("main.targetCharge.remove")),1),y("button",{type:"submit",class:"btn btn-primary","data-bs-dismiss":"modal",disabled:!s.selectedTargetTimeValid},F(t.$t("main.targetCharge.activate")),9,BL)])],32)])])],8,kL)]))])}const Qh=we(TL,[["render",UL],["__scopeId","data-v-2ec7939a"]]),WL={name:"TargetSoCSelect",components:{LabelAndValue:lo,AnimatedNumber:ri},props:{targetSoc:Number,rangePerSoc:Number},emits:["target-soc-updated"],computed:{options:function(){const t=[];for(let e=20;e<=100;e+=5){let n=this.formatSoC(e);const r=this.estimatedRange(e);r&&(n+=` (${this.formatKm(r)})`),t.push({soc:e,text:n})}return t},estimatedTargetRange:function(){return this.estimatedRange(this.targetSoc)}},methods:{change:function(t){return this.$emit("target-soc-updated",parseInt(t.target.value,10))},estimatedRange:function(t){return this.rangePerSoc?Math.round(t*this.rangePerSoc):null},formatSoC:function(t){return`${Math.round(t)}%`},formatKm:function(t){return`${Math.round(t)} km`}}},KL={class:"value m-0 d-block d-sm-flex align-items-baseline justify-content-end"},YL={class:"position-relative"},qL=["value"],GL=["value"],XL={class:"text-decoration-underline"},QL={key:0,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function ZL(t,e,n,r,i,s){const o=ue("AnimatedNumber"),a=ue("LabelAndValue");return M(),Te(a,{class:"flex-grow-1",label:t.$t("main.vehicle.targetSoC"),align:"end"},{default:Je(()=>[y("h3",KL,[y("label",YL,[y("select",{value:n.targetSoc,class:"custom-select",onChange:e[0]||(e[0]=(...l)=>s.change&&s.change(...l))},[(M(!0),z(ke,null,Qe(s.options,({soc:l,text:c})=>(M(),z("option",{key:l,value:l},F(c),9,GL))),128))],40,qL),y("span",XL,[re(o,{to:n.targetSoc,format:s.formatSoC},null,8,["to","format"])])]),s.estimatedTargetRange?(M(),z("div",QL,[re(o,{to:s.estimatedTargetRange,format:s.formatKm},null,8,["to","format"])])):_e("",!0)])]),_:1},8,["label"])}const JL=we(WL,[["render",ZL],["__scopeId","data-v-c40d1ba1"]]),eP={name:"TargetEnergySelect",components:{LabelAndValue:lo,AnimatedNumber:ri},mixins:[Pt],props:{targetEnergy:Number,socPerKwh:Number,chargedEnergy:Number,vehicleCapacity:Number},emits:["target-energy-updated"],computed:{maxEnergy:function(){return this.vehicleCapacity||100},steps:function(){return this.maxEnergy<1?.05:this.maxEnergy<2?.1:this.maxEnergy<5?.25:this.maxEnergy<10?.5:this.maxEnergy<25?1:this.maxEnergy<50?2:5},options:function(){const t=[];for(let e=0;e<=this.maxEnergy;e+=this.steps){let n=this.fmtEnergy(e);const r=e=.1,n=e&&this.steps<1?1:0;return this.fmtKWh(t*1e3,e,!0,n)},fmtSoC:function(t){return`+${Math.round(t)}%`}}},tP={class:"value m-0 d-block d-sm-flex align-items-baseline justify-content-end"},nP={class:"position-relative"},rP=["value"],iP=["value","disabled"],sP={key:0,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function oP(t,e,n,r,i,s){const o=ue("AnimatedNumber"),a=ue("LabelAndValue");return M(),Te(a,{class:"flex-grow-1",label:t.$t("main.targetEnergy.label"),align:"end"},{default:Je(()=>[y("h3",tP,[y("label",nP,[y("select",{value:n.targetEnergy,class:"custom-select",onChange:e[0]||(e[0]=(...l)=>s.change&&s.change(...l))},[(M(!0),z(ke,null,Qe(s.options,({energy:l,text:c,disabled:u})=>(M(),z("option",{key:l,value:l,disabled:u},F(c),9,iP))),128))],40,rP),y("span",{class:Me(["text-decoration-underline",{"text-gray fw-normal":!n.targetEnergy}])},[re(o,{to:n.targetEnergy,format:s.fmtEnergy,"no-animation":!n.targetEnergy},null,8,["to","format","no-animation"])],2)]),s.estimatedTargetSoC?(M(),z("div",sP,[re(o,{to:s.estimatedTargetSoC,format:s.fmtSoC},null,8,["to","format"])])):_e("",!0)])]),_:1},8,["label"])}const aP=we(eP,[["render",oP],["__scopeId","data-v-12336233"]]),lP={name:"Vehicle",components:{VehicleTitle:Yh,VehicleSoc:qh,VehicleStatus:Gh,LabelAndValue:lo,TargetCharge:Qh,TargetSoCSelect:JL,TargetEnergySelect:aP},mixins:[Ha,Pt],props:{id:[String,Number],connected:Boolean,vehiclePresent:Boolean,vehicleSoC:Number,vehicleTargetSoC:Number,enabled:Boolean,charging:Boolean,minSoC:Number,vehicleDetectionActive:Boolean,vehicleRange:Number,vehicleTitle:String,vehicleCapacity:Number,socBasedCharging:Boolean,targetTimeActive:Boolean,targetTime:String,targetTimeProjectedStart:String,targetSoC:Number,targetEnergy:Number,chargedEnergy:Number,mode:String,phaseAction:String,phaseRemainingInterpolated:Number,pvAction:String,pvRemainingInterpolated:Number,parked:Boolean,vehicles:Array},emits:["target-time-removed","target-time-updated","target-soc-updated","target-energy-updated","change-vehicle","remove-vehicle"],data(){return{displayTargetSoC:this.targetSoC}},computed:{vehicleSocProps:function(){return this.collectProps(qh)},vehicleStatus:function(){return this.collectProps(Gh)},vehicleTitleProps:function(){return this.collectProps(Yh)},targetCharge:function(){return this.collectProps(Qh)},rangePerSoC:function(){return this.vehicleSoC>10&&this.vehicleRange?this.vehicleRange/this.vehicleSoC:null},socPerKwh:function(){return this.vehicleCapacity>0?100/this.vehicleCapacity:null},chargedSoC:function(){const t=this.socPerKwh*(this.chargedEnergy/1e3);return t>1?`+${Math.round(t)}%`:null},targetChargeDisabled:function(){return!this.connected||!["pv","minpv"].includes(this.mode)}},watch:{targetSoC:function(){this.displayTargetSoC=this.targetSoC}},methods:{targetSocDrag:function(t){this.displayTargetSoC=t},targetSocUpdated:function(t){this.displayTargetSoC=t,this.$emit("target-soc-updated",t)},targetEnergyUpdated:function(t){this.$emit("target-energy-updated",t)},setTargetTime:function(t){this.$emit("target-time-updated",t)},removeTargetTime:function(){this.$emit("target-time-removed")},changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")},fmtEnergy(t){const e=t==0||t>=1e3;return this.fmtKWh(t,e)}}},cP=t=>(bt("data-v-1c6bd0b3"),t=t(),yt(),t),uP={class:"vehicle pt-4"},dP={class:"details d-flex flex-wrap justify-content-between"},fP={key:1,class:"d-flex justify-content-start"},hP=cP(()=>y("small",null,"vor 5 Stunden",-1)),mP=[hP];function pP(t,e,n,r,i,s){const o=ue("VehicleTitle"),a=ue("VehicleStatus"),l=ue("VehicleSoc"),c=ue("LabelAndValue"),u=ue("TargetCharge"),f=ue("TargetSoCSelect"),d=ue("TargetEnergySelect");return M(),z("div",uP,[re(o,Dt(s.vehicleTitleProps,{onChangeVehicle:s.changeVehicle,onRemoveVehicle:s.removeVehicle}),null,16,["onChangeVehicle","onRemoveVehicle"]),n.parked?_e("",!0):(M(),Te(a,Dt({key:0},s.vehicleStatus,{class:"mb-2"}),null,16)),re(l,Dt(s.vehicleSocProps,{class:"mt-2 mb-4",onTargetSocUpdated:s.targetSocUpdated,onTargetSocDrag:s.targetSocDrag}),null,16,["onTargetSocUpdated","onTargetSocDrag"]),y("div",dP,[n.socBasedCharging?(M(),Te(c,{key:0,class:"flex-grow-1",label:t.$t("main.vehicle.vehicleSoC"),value:n.vehicleSoC?`${n.vehicleSoC}%`:"--",extraValue:n.vehicleRange?`${n.vehicleRange} km`:null,align:"start"},null,8,["label","value","extraValue"])):(M(),Te(c,{key:1,class:"flex-grow-1",label:t.$t("main.loadpoint.charged"),value:s.fmtEnergy(n.chargedEnergy),extraValue:s.chargedSoC,align:"start"},null,8,["label","value","extraValue"])),n.socBasedCharging?(M(),Te(u,Dt({key:2,class:"flex-grow-1 text-center target-charge"},s.targetCharge,{disabled:s.targetChargeDisabled,onTargetTimeUpdated:s.setTargetTime,onTargetTimeRemoved:s.removeTargetTime}),null,16,["disabled","onTargetTimeUpdated","onTargetTimeRemoved"])):_e("",!0),n.socBasedCharging?(M(),Te(f,{key:3,class:"flex-grow-1 text-end","target-soc":i.displayTargetSoC,"range-per-soc":s.rangePerSoC,onTargetSocUpdated:s.targetSocUpdated},null,8,["target-soc","range-per-soc","onTargetSocUpdated"])):(M(),Te(d,{key:4,class:"flex-grow-1 text-end","target-energy":n.targetEnergy,"soc-per-kwh":s.socPerKwh,"charged-energy":n.chargedEnergy,"vehicle-capacity":n.vehicleCapacity,onTargetEnergyUpdated:s.targetEnergyUpdated},null,8,["target-energy","soc-per-kwh","charged-energy","vehicle-capacity","onTargetEnergyUpdated"]))]),t.$hiddenFeatures?(M(),z("div",fP,mP)):_e("",!0)])}const Ic=we(lP,[["render",pP],["__scopeId","data-v-1c6bd0b3"]]),gP={name:"Phases",props:{chargeCurrent:{type:Number},chargeCurrents:{type:Array},phasesActive:{type:Number},minCurrent:{type:Number},maxCurrent:{type:Number}},methods:{inactive(t){return t>this.phasesActive},targetWidth(){let t=Math.min(Math.max(this.minCurrent,this.chargeCurrent),this.maxCurrent);return 100/this.maxCurrent*t},realWidth(t){if(this.chargeCurrents){const e=this.chargeCurrents[t-1]||0;return 100/this.maxCurrent*e}return this.targetWidth()}}},_P={class:"phases d-flex justify-content-between"};function vP(t,e,n,r,i,s){return M(),z("div",_P,[(M(),z(ke,null,Qe([1,2,3],o=>y("div",{key:o,class:Me(["phase me-1",{inactive:s.inactive(o)}])},[y("div",{class:"target",style:Ct({width:`${s.targetWidth()}%`})},null,4),y("div",{class:"real",style:Ct({width:`${s.realWidth(o)}%`})},null,4)],2)),64))])}const Zh=we(gP,[["render",vP],["__scopeId","data-v-0709e49e"]]),bP={name:"LoadpointSettingsButton",props:{id:[String,Number]}},yP=["data-bs-target"],wP=y("shopicon-regular-adjust",{size:"s"},null,-1),EP=[wP];function TP(t,e,n,r,i,s){return M(),z("button",{type:"button","data-bs-toggle":"modal","data-bs-target":`#loadpointSettingsModal_${n.id}`,class:"btn btn-sm btn-outline-secondary position-relative border-0 p-2 evcc-gray"},EP,8,yP)}const CP=we(bP,[["render",TP]]);var SP='';class AP extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=SP}}window.customElements.define("shopicon-bold-lightning",AP);var kP='';class xP extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=kP}}window.customElements.define("shopicon-bold-car3",xP);const ko=230,LP={name:"LoadpointSettingsModal",mixins:[Pt],props:{id:[String,Number],phasesConfigured:Number,minSoC:Number,maxCurrent:Number,minCurrent:Number,title:String},emits:["phasesconfigured-updated","maxcurrent-updated","mincurrent-updated","minsoc-updated"],data:function(){return{selectedMaxCurrent:this.maxCurrent,selectedMinCurrent:this.minCurrent,selectedPhases:this.phasesConfigured,selectedMinSoC:this.minSoC}},computed:{maxPower1p:function(){return this.fmtKw(this.maxCurrent*ko)},minPower1p:function(){return this.fmtKw(this.minCurrent*ko)},maxPower3p:function(){return this.fmtKw(this.maxCurrent*ko*3)},minPower3p:function(){return this.fmtKw(this.minCurrent*ko*3)},maxPower:function(){return this.phasesConfigured===1?this.maxPower1p:this.maxPower3p},minPower:function(){return this.phasesConfigured===3?this.minPower3p:this.minPower1p},showConfigurablePhases:function(){return[0,1,3].includes(this.phasesConfigured)},showCurrentSettings:function(){return this.$hiddenFeatures},showMinSoCSettings:function(){return this.$hiddenFeatures}},watch:{maxCurrent:function(t){this.selectedMaxCurrent=t},minCurrent:function(t){this.selectedMinCurrent=t},phasesConfigured:function(t){this.selectedPhases=t},minSoC:function(t){this.selectedMinSoC=t}},methods:{formId:function(t){return`loadpoint_${this.id}_${t}`},changeMaxCurrent:function(){this.$emit("maxcurrent-updated",this.selectedMaxCurrent)},changeMinCurrent:function(){this.$emit("mincurrent-updated",this.selectedMinCurrent)},changePhasesConfigured:function(){this.$emit("phasesconfigured-updated",this.selectedPhases)},changeMinSoC:function(){this.$emit("minsoc-updated",this.selectedMinSoC)},currentOptions:function(t,e=16){const n=[],r=t?32:this.maxCurrent,i=t?this.minCurrent:6;for(let s=r;s>=i;s--){let o=`${s} A`;s===e&&(o+=` (${this.$t("main.loadpointSettings.default")})`),n.push({value:s,name:o})}return n}}},ld=t=>(bt("data-v-c8fc2df3"),t=t(),yt(),t),PP=["id"],NP={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},OP={class:"modal-content"},IP={class:"modal-header"},MP={class:"modal-title"},DP=ld(()=>y("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),RP={class:"modal-body"},$P={class:"container"},FP={key:0,class:"d-flex align-items-center mb-3 mt-0 text-evcc"},VP=ld(()=>y("shopicon-bold-car3",{class:"ms-2"},null,-1)),zP={key:1,class:"mb-3 row"},HP=["for"],jP={class:"col-sm-8 pe-0"},BP=["id"],UP=["value"],WP={key:2,class:"d-flex align-items-center mb-3 mt-4 text-evcc"},KP=ld(()=>y("shopicon-bold-lightning",{class:"ms-1"},null,-1)),YP={key:3,class:"mb-3 row"},qP=["for"],GP={class:"col-sm-8 pe-0"},XP={class:"form-check"},QP=["id","name"],ZP=["for"],JP={class:"form-check"},eN=["id","name"],tN=["for"],nN={class:"form-check"},rN=["id","name"],iN=["for"],sN={key:4,class:"mb-3 row"},oN=["for"],aN={class:"col-sm-8 pe-0 d-flex align-items-center"},lN=["id"],cN=["value"],uN={class:"ms-3"},dN={key:5,class:"mb-3 row"},fN=["for"],hN={class:"col-sm-8 pe-0 d-flex align-items-center"},mN=["id"],pN=["value"],gN={class:"ms-3"},_N={class:"small mt-3 text-muted mb-0"},vN={class:"text-evcc"};function bN(t,e,n,r,i,s){return M(),Te(io,{to:"body"},[y("div",{id:`loadpointSettingsModal_${n.id}`,class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},[y("div",NP,[y("div",OP,[y("div",IP,[y("h5",MP,F(t.$t("main.loadpointSettings.title",[n.title])),1),DP]),y("div",RP,[y("div",$P,[s.showMinSoCSettings?(M(),z("h4",FP,[Le(F(t.$t("main.loadpointSettings.vehicle"))+" ",1),VP])):_e("",!0),s.showMinSoCSettings?(M(),z("div",zP,[y("label",{for:s.formId("minsoc"),class:"col-sm-4 col-form-label pt-0 pt-sm-1"},F(t.$t("main.loadpointSettings.minSoC.label")),9,HP),y("div",jP,[qt(y("select",{id:s.formId("minsoc"),"onUpdate:modelValue":e[0]||(e[0]=o=>t.selectedMinSoC=o),class:"form-select form-select-sm mb-2 w-50",onChange:e[1]||(e[1]=(...o)=>s.changeMinSoC&&s.changeMinSoC(...o))},[(M(),z(ke,null,Qe([0,5,10,15,20,25,30,35,40,45,50],o=>y("option",{key:o,value:o},F(o?`${o}%`:"--"),9,UP)),64))],40,BP),[[Ro,t.selectedMinSoC,void 0,{number:!0}]]),y("small",null,F(t.$t("main.loadpointSettings.minSoC.description",[t.selectedMinSoC||"x"])),1)])])):_e("",!0),s.showConfigurablePhases||s.showCurrentSettings?(M(),z("h4",WP,[Le(F(t.$t("main.loadpointSettings.currents"))+" ",1),KP])):_e("",!0),s.showConfigurablePhases?(M(),z("div",YP,[y("label",{for:s.formId("phases_0"),class:"col-sm-4 col-form-label pt-0"},F(t.$t("main.loadpointSettings.phasesConfigured.label")),9,qP),y("div",GP,[y("div",XP,[qt(y("input",{id:s.formId("phases_0"),"onUpdate:modelValue":e[2]||(e[2]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:0,onChange:e[3]||(e[3]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,QP),[[hl,t.selectedPhases,void 0,{number:!0}]]),y("label",{class:"form-check-label",for:s.formId("phases_0")},F(t.$t("main.loadpointSettings.phasesConfigured.phases_0")),9,ZP)]),y("div",JP,[qt(y("input",{id:s.formId("phases_1"),"onUpdate:modelValue":e[4]||(e[4]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:1,onChange:e[5]||(e[5]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,eN),[[hl,t.selectedPhases,void 0,{number:!0}]]),y("label",{class:"form-check-label",for:s.formId("phases_1")},[Le(F(t.$t("main.loadpointSettings.phasesConfigured.phases_1"))+" ",1),y("small",null,F(t.$t("main.loadpointSettings.phasesConfigured.phases_1_hint",{min:s.minPower1p,max:s.maxPower1p})),1)],8,tN)]),y("div",nN,[qt(y("input",{id:s.formId("phases_3"),"onUpdate:modelValue":e[6]||(e[6]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:3,onChange:e[7]||(e[7]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,rN),[[hl,t.selectedPhases,void 0,{number:!0}]]),y("label",{class:"form-check-label",for:s.formId("phases_3")},[Le(F(t.$t("main.loadpointSettings.phasesConfigured.phases_3"))+" ",1),y("small",null,F(t.$t("main.loadpointSettings.phasesConfigured.phases_3_hint",{min:s.minPower3p,max:s.maxPower3p})),1)],8,iN)])])])):_e("",!0),t.$hiddenFeatures?(M(),z("div",sN,[y("label",{for:s.formId("maxcurrent"),class:"col-sm-4 col-form-label pt-0 pt-sm-2"},F(t.$t("main.loadpointSettings.maxCurrent.label")),9,oN),y("div",aN,[qt(y("select",{id:s.formId("maxcurrent"),"onUpdate:modelValue":e[8]||(e[8]=o=>t.selectedMaxCurrent=o),class:"form-select form-select-sm w-50",onChange:e[9]||(e[9]=(...o)=>s.changeMaxCurrent&&s.changeMaxCurrent(...o))},[(M(!0),z(ke,null,Qe(s.currentOptions(!0,16),({value:o,name:a})=>(M(),z("option",{key:o,value:o},F(a),9,cN))),128))],40,lN),[[Ro,t.selectedMaxCurrent,void 0,{number:!0}]]),y("small",uN,"~ "+F(s.maxPower),1)])])):_e("",!0),t.$hiddenFeatures?(M(),z("div",dN,[y("label",{for:s.formId("mincurrent"),class:"col-sm-4 col-form-label pt-0 pt-sm-2"},F(t.$t("main.loadpointSettings.minCurrent.label")),9,fN),y("div",hN,[qt(y("select",{id:s.formId("mincurrent"),"onUpdate:modelValue":e[10]||(e[10]=o=>t.selectedMinCurrent=o),class:"form-select form-select-sm w-50",onChange:e[11]||(e[11]=(...o)=>s.changeMinCurrent&&s.changeMinCurrent(...o))},[(M(!0),z(ke,null,Qe(s.currentOptions(!1,6),({value:o,name:a})=>(M(),z("option",{key:o,value:o},F(a),9,pN))),128))],40,mN),[[Ro,t.selectedMinCurrent,void 0,{number:!0}]]),y("small",gN,"~ "+F(s.minPower),1)])])):_e("",!0)]),y("p",_N,[y("strong",vN,F(t.$t("main.loadpointSettings.disclaimerHint")),1),Le(" "+F(t.$t("main.loadpointSettings.disclaimerText")),1)])])])])],8,PP)])}const Jh=we(LP,[["render",bN],["__scopeId","data-v-c8fc2df3"]]),yN={name:"Loadpoint",components:{Mode:Ix,Vehicle:Ic,Phases:Zh,LabelAndValue:lo,LoadpointSettingsButton:CP,LoadpointSettingsModal:Jh},mixins:[Pt,Ha],props:{id:Number,single:Boolean,title:String,mode:String,targetSoC:Number,targetEnergy:Number,remoteDisabled:Boolean,remoteDisabledSource:String,chargeDuration:Number,charging:Boolean,connected:Boolean,enabled:Boolean,vehicleDetectionActive:Boolean,vehiclePresent:Boolean,vehicleRange:Number,vehicleSoC:Number,vehicleTitle:String,vehicleTargetSoC:Number,vehicleCapacity:Number,vehicleFeatureOffline:Boolean,vehicles:Array,minSoC:Number,targetTime:String,targetTimeActive:Boolean,targetTimeProjectedStart:String,vehicleProviderLoggedIn:Boolean,vehicleProviderLoginPath:String,vehicleProviderLogoutPath:String,chargePower:Number,chargedEnergy:Number,climater:String,chargeRemainingDuration:Number,phases:Number,phasesConfigured:Number,minCurrent:Number,maxCurrent:Number,phasesActive:Number,chargeCurrent:Number,connectedDuration:Number,chargeCurrents:Array,chargeConfigured:Boolean,chargeRemainingEnergy:Number,phaseAction:String,phaseRemaining:Number,pvRemaining:Number,pvAction:String},data(){return{tickerHandler:null,phaseRemainingInterpolated:this.phaseRemaining,pvRemainingInterpolated:this.pvRemaining,chargeDurationInterpolated:this.chargeDuration,chargeRemainingDurationInterpolated:this.chargeRemainingDuration}},computed:{phasesProps:function(){return this.collectProps(Zh)},settingsModal:function(){return this.collectProps(Jh)},settingsButtonVisible:function(){return this.$hiddenFeatures||[0,1,3].includes(this.phasesConfigured)},vehicle:function(){return this.collectProps(Ic)},showChargingIndicator:function(){return this.charging&&this.chargePower>0},socBasedCharging:function(){return!this.vehicleFeatureOffline&&this.vehiclePresent}},watch:{phaseRemaining(){this.phaseRemainingInterpolated=this.phaseRemaining},pvRemaining(){this.pvRemainingInterpolated=this.pvRemaining},chargeDuration(){this.chargeDurationInterpolated=this.chargeDuration},chargeRemainingDuration(){this.chargeRemainingDurationInterpolated=this.chargeRemainingDuration}},mounted(){this.tickerHandler=setInterval(this.tick,1e3)},unmounted(){clearInterval(this.tickerHandler)},methods:{tick(){this.phaseRemainingInterpolated>0&&this.phaseRemainingInterpolated--,this.pvRemainingInterpolated>0&&this.pvRemainingInterpolated--,this.chargeDurationInterpolated>0&&this.charging&&this.chargeDurationInterpolated++,this.chargeRemainingDurationInterpolated>0&&this.charging&&this.chargeRemainingDurationInterpolated--},apiPath:function(t){return"loadpoints/"+this.id+"/"+t},setTargetMode:function(t){ot.post(this.apiPath("mode")+"/"+t)},setTargetSoC:function(t){ot.post(this.apiPath("targetsoc")+"/"+t)},setTargetEnergy:function(t){ot.post(this.apiPath("targetenergy")+"/"+t)},setMaxCurrent:function(t){ot.post(this.apiPath("maxcurrent")+"/"+t)},setMinCurrent:function(t){ot.post(this.apiPath("mincurrent")+"/"+t)},setPhasesConfigured:function(t){ot.post(this.apiPath("phases")+"/"+t)},setMinSoC:function(t){ot.post(this.apiPath("minsoc")+"/"+t)},setTargetTime:function(t){ot.post(`${this.apiPath("targetcharge")}/${this.targetSoC}/${t.toISOString()}`)},removeTargetTime:function(){ot.delete(this.apiPath("targetcharge"))},changeVehicle(t){ot.post(this.apiPath("vehicle")+`/${t}`)},removeVehicle(){ot.delete(this.apiPath("vehicle"))},fmtPower(t){const e=t==0||t>=1e3;return this.fmtKw(t,e)},fmtEnergy(t){const e=t==0||t>=1e3;return this.fmtKWh(t,e)}}},wN=t=>(bt("data-v-ea58e76c"),t=t(),yt(),t),EN={class:"loadpoint pt-4 pb-2 px-3 px-sm-4 mx-2 mx-sm-0"},TN={class:"d-block d-sm-flex justify-content-between align-items-center mb-3"},CN={class:"d-flex justify-content-between align-items-center mb-3"},SN={class:"me-2 mb-0 text-truncate"},AN={class:"mb-3 d-flex align-items-center"},kN={class:"details d-flex align-items-start mb-3"},xN={class:"d-flex align-items-center"},LN=wN(()=>y("hr",{class:"divider"},null,-1));function PN(t,e,n,r,i,s){const o=ue("LoadpointSettingsButton"),a=ue("Mode"),l=ue("LoadpointSettingsModal"),c=ue("LabelAndValue"),u=ue("Phases"),f=ue("Vehicle");return M(),z("div",EN,[y("div",TN,[y("div",CN,[y("h3",SN,F(n.title||t.$t("main.loadpoint.fallbackName")),1),s.settingsButtonVisible?(M(),Te(o,{key:0,id:n.id,class:"d-block d-sm-none"},null,8,["id"])):_e("",!0)]),y("div",AN,[re(a,{class:"flex-grow-1",mode:n.mode,onUpdated:s.setTargetMode},null,8,["mode","onUpdated"]),s.settingsButtonVisible?(M(),Te(o,{key:0,id:n.id,class:"d-none d-sm-block ms-2"},null,8,["id"])):_e("",!0)])]),re(l,Dt(s.settingsModal,{onMaxcurrentUpdated:s.setMaxCurrent,onMincurrentUpdated:s.setMinCurrent,onPhasesconfiguredUpdated:s.setPhasesConfigured,onMinsocUpdated:s.setMinSoC}),null,16,["onMaxcurrentUpdated","onMincurrentUpdated","onPhasesconfiguredUpdated","onMinsocUpdated"]),n.remoteDisabled?(M(),z("div",{key:0,class:Me(["alert alert-warning my-4 py-2",`${n.remoteDisabled==="hard"?"alert-danger":"alert-warning"}`]),role:"alert"},F(t.$t(n.remoteDisabled==="hard"?"main.loadpoint.remoteDisabledHard":"main.loadpoint.remoteDisabledSoft",{source:n.remoteDisabledSource})),3)):_e("",!0),y("div",kN,[y("div",null,[y("div",xN,[re(c,{label:t.$t("main.loadpoint.power"),value:n.chargePower,valueFmt:s.fmtPower,class:"mb-2",align:"start"},null,8,["label","value","valueFmt"]),y("shopicon-regular-lightning",{class:Me(["text-evcc opacity-transiton",`opacity-${s.showChargingIndicator?"100":"0"}`]),size:"m"},null,2)]),re(u,Dt(s.phasesProps,{class:["opacity-transiton",`opacity-${s.showChargingIndicator?"100":"0"}`]}),null,16,["class"])]),qt(re(c,{label:t.$t("main.loadpoint.charged"),value:s.fmtEnergy(n.chargedEnergy),align:"center"},null,8,["label","value"]),[[Iu,s.socBasedCharging]]),i.chargeRemainingDurationInterpolated?(M(),Te(c,{key:0,label:t.$t("main.loadpoint.remaining"),value:` + `,document.head.appendChild(t)}var tk='';class nk extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=tk}}window.customElements.define("shopicon-regular-arrowup",nk);var rk='';class ik extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=rk}}window.customElements.define("shopicon-regular-menu",ik);var sk='';class ok extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=sk}}window.customElements.define("shopicon-regular-newtab",ok);var U_={exports:{}},Zu={exports:{}},W_=function(e,n){return function(){for(var i=new Array(arguments.length),s=0;s"u"}function lk(t){return t!==null&&!da(t)&&t.constructor!==null&&!da(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}var K_=ti("ArrayBuffer");function ck(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&K_(t.buffer),e}function uk(t){return typeof t=="string"}function dk(t){return typeof t=="number"}function Y_(t){return t!==null&&typeof t=="object"}function Bo(t){if(ed(t)!=="object")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}var fk=ti("Date"),hk=ti("File"),mk=ti("Blob"),pk=ti("FileList");function nd(t){return Ju.call(t)==="[object Function]"}function gk(t){return Y_(t)&&nd(t.pipe)}function _k(t){var e="[object FormData]";return t&&(typeof FormData=="function"&&t instanceof FormData||Ju.call(t)===e||nd(t.toString)&&t.toString()===e)}var vk=ti("URLSearchParams");function bk(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function yk(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function rd(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),td(t))for(var n=0,r=t.length;n0;)s=r[i],o[s]||(e[s]=t[s],o[s]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e}function Sk(t,e,n){t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;var r=t.indexOf(e,n);return r!==-1&&r===n}function kk(t){if(!t)return null;var e=t.length;if(da(e))return null;for(var n=new Array(e);e-- >0;)n[e]=t[e];return n}var Ak=function(t){return function(e){return t&&e instanceof t}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),ut={isArray:td,isArrayBuffer:K_,isBuffer:lk,isFormData:_k,isArrayBufferView:ck,isString:uk,isNumber:dk,isObject:Y_,isPlainObject:Bo,isUndefined:da,isDate:fk,isFile:hk,isBlob:mk,isFunction:nd,isStream:gk,isURLSearchParams:vk,isStandardBrowserEnv:yk,forEach:rd,merge:Lc,extend:wk,trim:bk,stripBOM:Ek,inherits:Tk,toFlatObject:Ck,kindOf:ed,kindOfTest:ti,endsWith:Sk,toArray:kk,isTypedArray:Ak,isFileList:pk},di=ut;function wh(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var G_=function(e,n,r){if(!n)return e;var i;if(r)i=r(n);else if(di.isURLSearchParams(n))i=n.toString();else{var s=[];di.forEach(n,function(l,c){l===null||typeof l>"u"||(di.isArray(l)?c=c+"[]":l=[l],di.forEach(l,function(f){di.isDate(f)?f=f.toISOString():di.isObject(f)&&(f=JSON.stringify(f)),s.push(wh(c)+"="+wh(f))}))}),i=s.join("&")}if(i){var o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e},xk=ut;function $a(){this.handlers=[]}$a.prototype.use=function(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};$a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};$a.prototype.forEach=function(e){xk.forEach(this.handlers,function(r){r!==null&&e(r)})};var Lk=$a,Pk=ut,Nk=function(e,n){Pk.forEach(e,function(i,s){s!==n&&s.toUpperCase()===n.toUpperCase()&&(e[n]=i,delete e[s])})},q_=ut;function Xi(t,e,n,r,i){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}q_.inherits(Xi,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var X_=Xi.prototype,Q_={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(t){Q_[t]={value:t}});Object.defineProperties(Xi,Q_);Object.defineProperty(X_,"isAxiosError",{value:!0});Xi.from=function(t,e,n,r,i,s){var o=Object.create(X_);return q_.toFlatObject(t,o,function(l){return l!==Error.prototype}),Xi.call(o,t.message,e,n,r,i),o.name=t.name,s&&Object.assign(o,s),o};var os=Xi,Z_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},on=ut;function Ok(t,e){e=e||new FormData;var n=[];function r(s){return s===null?"":on.isDate(s)?s.toISOString():on.isArrayBuffer(s)||on.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function i(s,o){if(on.isPlainObject(s)||on.isArray(s)){if(n.indexOf(s)!==-1)throw Error("Circular reference detected in "+o);n.push(s),on.forEach(s,function(l,c){if(!on.isUndefined(l)){var u=o?o+"."+c:c,f;if(l&&!o&&typeof l=="object"){if(on.endsWith(c,"{}"))l=JSON.stringify(l);else if(on.endsWith(c,"[]")&&(f=on.toArray(l))){f.forEach(function(d){!on.isUndefined(d)&&e.append(u,r(d))});return}}i(l,u)}}),n.pop()}else e.append(o,r(s))}return i(t),e}var J_=Ok,Al,Eh;function Ik(){if(Eh)return Al;Eh=1;var t=os;return Al=function(n,r,i){var s=i.config.validateStatus;!i.status||!s||s(i.status)?n(i):r(new t("Request failed with status code "+i.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))},Al}var xl,Th;function Mk(){if(Th)return xl;Th=1;var t=ut;return xl=t.isStandardBrowserEnv()?function(){return{write:function(r,i,s,o,a,l){var c=[];c.push(r+"="+encodeURIComponent(i)),t.isNumber(s)&&c.push("expires="+new Date(s).toGMTString()),t.isString(o)&&c.push("path="+o),t.isString(a)&&c.push("domain="+a),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(r){var i=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),xl}var Dk=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},Rk=function(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e},$k=Dk,Fk=Rk,ev=function(e,n){return e&&!$k(n)?Fk(e,n):n},Ll,Ch;function Vk(){if(Ch)return Ll;Ch=1;var t=ut,e=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return Ll=function(r){var i={},s,o,a;return r&&t.forEach(r.split(` +`),function(c){if(a=c.indexOf(":"),s=t.trim(c.substr(0,a)).toLowerCase(),o=t.trim(c.substr(a+1)),s){if(i[s]&&e.indexOf(s)>=0)return;s==="set-cookie"?i[s]=(i[s]?i[s]:[]).concat([o]):i[s]=i[s]?i[s]+", "+o:o}}),i},Ll}var Pl,Sh;function jk(){if(Sh)return Pl;Sh=1;var t=ut;return Pl=t.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),i;function s(o){var a=o;return n&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return i=s(window.location.href),function(a){var l=t.isString(a)?s(a):a;return l.protocol===i.protocol&&l.host===i.host}}():function(){return function(){return!0}}(),Pl}var Nl,kh;function Fa(){if(kh)return Nl;kh=1;var t=os,e=ut;function n(r){t.call(this,r==null?"canceled":r,t.ERR_CANCELED),this.name="CanceledError"}return e.inherits(n,t,{__CANCEL__:!0}),Nl=n,Nl}var Ol,Ah;function zk(){return Ah||(Ah=1,Ol=function(e){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}),Ol}var Il,xh;function Lh(){if(xh)return Il;xh=1;var t=ut,e=Ik(),n=Mk(),r=G_,i=ev,s=Vk(),o=jk(),a=Z_,l=os,c=Fa(),u=zk();return Il=function(d){return new Promise(function(w,g){var E=d.data,_=d.headers,T=d.responseType,S;function v(){d.cancelToken&&d.cancelToken.unsubscribe(S),d.signal&&d.signal.removeEventListener("abort",S)}t.isFormData(E)&&t.isStandardBrowserEnv()&&delete _["Content-Type"];var b=new XMLHttpRequest;if(d.auth){var A=d.auth.username||"",x=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";_.Authorization="Basic "+btoa(A+":"+x)}var N=i(d.baseURL,d.url);b.open(d.method.toUpperCase(),r(N,d.params,d.paramsSerializer),!0),b.timeout=d.timeout;function I(){if(!!b){var J="getAllResponseHeaders"in b?s(b.getAllResponseHeaders()):null,ne=!T||T==="text"||T==="json"?b.responseText:b.response,D={data:ne,status:b.status,statusText:b.statusText,headers:J,config:d,request:b};e(function(Y){w(Y),v()},function(Y){g(Y),v()},D),b=null}}if("onloadend"in b?b.onloadend=I:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(I)},b.onabort=function(){!b||(g(new l("Request aborted",l.ECONNABORTED,d,b)),b=null)},b.onerror=function(){g(new l("Network Error",l.ERR_NETWORK,d,b,b)),b=null},b.ontimeout=function(){var ne=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",D=d.transitional||a;d.timeoutErrorMessage&&(ne=d.timeoutErrorMessage),g(new l(ne,D.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,d,b)),b=null},t.isStandardBrowserEnv()){var B=(d.withCredentials||o(N))&&d.xsrfCookieName?n.read(d.xsrfCookieName):void 0;B&&(_[d.xsrfHeaderName]=B)}"setRequestHeader"in b&&t.forEach(_,function(ne,D){typeof E>"u"&&D.toLowerCase()==="content-type"?delete _[D]:b.setRequestHeader(D,ne)}),t.isUndefined(d.withCredentials)||(b.withCredentials=!!d.withCredentials),T&&T!=="json"&&(b.responseType=d.responseType),typeof d.onDownloadProgress=="function"&&b.addEventListener("progress",d.onDownloadProgress),typeof d.onUploadProgress=="function"&&b.upload&&b.upload.addEventListener("progress",d.onUploadProgress),(d.cancelToken||d.signal)&&(S=function(J){!b||(g(!J||J&&J.type?new c:J),b.abort(),b=null)},d.cancelToken&&d.cancelToken.subscribe(S),d.signal&&(d.signal.aborted?S():d.signal.addEventListener("abort",S))),E||(E=null);var X=u(N);if(X&&["http","https","file"].indexOf(X)===-1){g(new l("Unsupported protocol "+X+":",l.ERR_BAD_REQUEST,d));return}b.send(E)})},Il}var Ml,Ph;function Hk(){return Ph||(Ph=1,Ml=null),Ml}var nt=ut,Nh=Nk,Oh=os,Bk=Z_,Uk=J_,Wk={"Content-Type":"application/x-www-form-urlencoded"};function Ih(t,e){!nt.isUndefined(t)&&nt.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function Kk(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=Lh()),t}function Yk(t,e,n){if(nt.isString(t))try{return(e||JSON.parse)(t),nt.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}var Va={transitional:Bk,adapter:Kk(),transformRequest:[function(e,n){if(Nh(n,"Accept"),Nh(n,"Content-Type"),nt.isFormData(e)||nt.isArrayBuffer(e)||nt.isBuffer(e)||nt.isStream(e)||nt.isFile(e)||nt.isBlob(e))return e;if(nt.isArrayBufferView(e))return e.buffer;if(nt.isURLSearchParams(e))return Ih(n,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r=nt.isObject(e),i=n&&n["Content-Type"],s;if((s=nt.isFileList(e))||r&&i==="multipart/form-data"){var o=this.env&&this.env.FormData;return Uk(s?{"files[]":e}:e,o&&new o)}else if(r||i==="application/json")return Ih(n,"application/json"),Yk(e);return e}],transformResponse:[function(e){var n=this.transitional||Va.transitional,r=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,s=!r&&this.responseType==="json";if(s||i&&nt.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(s)throw o.name==="SyntaxError"?Oh.from(o,Oh.ERR_BAD_RESPONSE,this,null,this.response):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Hk()},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};nt.forEach(["delete","get","head"],function(e){Va.headers[e]={}});nt.forEach(["post","put","patch"],function(e){Va.headers[e]=nt.merge(Wk)});var id=Va,Gk=ut,qk=id,Xk=function(e,n,r){var i=this||qk;return Gk.forEach(r,function(o){e=o.call(i,e,n)}),e},Dl,Mh;function tv(){return Mh||(Mh=1,Dl=function(e){return!!(e&&e.__CANCEL__)}),Dl}var Dh=ut,Rl=Xk,Qk=tv(),Zk=id,Jk=Fa();function $l(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Jk}var eA=function(e){$l(e),e.headers=e.headers||{},e.data=Rl.call(e,e.data,e.headers,e.transformRequest),e.headers=Dh.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Dh.forEach(["delete","get","head","post","put","patch","common"],function(i){delete e.headers[i]});var n=e.adapter||Zk.adapter;return n(e).then(function(i){return $l(e),i.data=Rl.call(e,i.data,i.headers,e.transformResponse),i},function(i){return Qk(i)||($l(e),i&&i.response&&(i.response.data=Rl.call(e,i.response.data,i.response.headers,e.transformResponse))),Promise.reject(i)})},Ot=ut,nv=function(e,n){n=n||{};var r={};function i(u,f){return Ot.isPlainObject(u)&&Ot.isPlainObject(f)?Ot.merge(u,f):Ot.isPlainObject(f)?Ot.merge({},f):Ot.isArray(f)?f.slice():f}function s(u){if(Ot.isUndefined(n[u])){if(!Ot.isUndefined(e[u]))return i(void 0,e[u])}else return i(e[u],n[u])}function o(u){if(!Ot.isUndefined(n[u]))return i(void 0,n[u])}function a(u){if(Ot.isUndefined(n[u])){if(!Ot.isUndefined(e[u]))return i(void 0,e[u])}else return i(void 0,n[u])}function l(u){if(u in n)return i(e[u],n[u]);if(u in e)return i(void 0,e[u])}var c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return Ot.forEach(Object.keys(e).concat(Object.keys(n)),function(f){var d=c[f]||s,h=d(f);Ot.isUndefined(h)&&d!==l||(r[f]=h)}),r},Fl,Rh;function rv(){return Rh||(Rh=1,Fl={version:"0.27.2"}),Fl}var tA=rv().version,tr=os,sd={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){sd[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});var $h={};sd.transitional=function(e,n,r){function i(s,o){return"[Axios v"+tA+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return function(s,o,a){if(e===!1)throw new tr(i(o," has been removed"+(n?" in "+n:"")),tr.ERR_DEPRECATED);return n&&!$h[o]&&($h[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(s,o,a):!0}};function nA(t,e,n){if(typeof t!="object")throw new tr("options must be an object",tr.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(t),i=r.length;i-- >0;){var s=r[i],o=e[s];if(o){var a=t[s],l=a===void 0||o(a,s,t);if(l!==!0)throw new tr("option "+s+" must be "+l,tr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new tr("Unknown option "+s,tr.ERR_BAD_OPTION)}}var rA={assertOptions:nA,validators:sd},iv=ut,iA=G_,Fh=Lk,Vh=eA,ja=nv,sA=ev,sv=rA,fi=sv.validators;function Qi(t){this.defaults=t,this.interceptors={request:new Fh,response:new Fh}}Qi.prototype.request=function(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=ja(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&sv.assertOptions(r,{silentJSONParsing:fi.transitional(fi.boolean),forcedJSONParsing:fi.transitional(fi.boolean),clarifyTimeoutError:fi.transitional(fi.boolean)},!1);var i=[],s=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(s=s&&h.synchronous,i.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var a;if(!s){var l=[Vh,void 0];for(Array.prototype.unshift.apply(l,i),l=l.concat(o),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;i.length;){var u=i.shift(),f=i.shift();try{c=u(c)}catch(d){f(d);break}}try{a=Vh(c)}catch(d){return Promise.reject(d)}for(;o.length;)a=a.then(o.shift(),o.shift());return a};Qi.prototype.getUri=function(e){e=ja(this.defaults,e);var n=sA(e.baseURL,e.url);return iA(n,e.params,e.paramsSerializer)};iv.forEach(["delete","get","head","options"],function(e){Qi.prototype[e]=function(n,r){return this.request(ja(r||{},{method:e,url:n,data:(r||{}).data}))}});iv.forEach(["post","put","patch"],function(e){function n(r){return function(s,o,a){return this.request(ja(a||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:o}))}}Qi.prototype[e]=n(),Qi.prototype[e+"Form"]=n(!0)});var oA=Qi,Vl,jh;function aA(){if(jh)return Vl;jh=1;var t=Fa();function e(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(o){r=o});var i=this;this.promise.then(function(s){if(!!i._listeners){var o,a=i._listeners.length;for(o=0;ot,t=>{const e=t.config.baseURL+t.config.url,n=`${t.message}: API request failed ${e}`;window.app.error({message:n})});const av=window.matchMedia("(prefers-color-scheme: dark)"),ad="auto",lv="light",Nc="dark",Ps=[ad,lv,Nc],cv="theme";function uv(){try{const t=window.localStorage[cv];if(Ps.includes(t))return t}catch(t){console.error("unable to read theme from localStorage",t)}return ad}function gA(t){if(console.log({theme:t}),!!Ps.includes(t))try{window.localStorage[cv]=t,Oc()}catch(e){console.error("unable to write theme to localStorage",e)}}function Oc(){let t=uv();t===ad&&(t=av.matches?Nc:lv);const e={light:"#f3f3f7",dark:"#020318"},n=document.querySelector("meta[name=theme-color]");n&&n.setAttribute("content",e[t]);const r=document.querySelector("html");r.classList.add("no-transitions"),r.classList.toggle("dark",t===Nc),window.requestAnimationFrame(function(){r.classList.remove("no-transitions")})}function _A(){av.addEventListener("change",Oc),Oc()}const vA={name:"TopNavigation",props:{vehicleLogins:{type:Object,default:()=>({})}},data:function(){return{theme:uv()}},computed:{logoutCount(){return this.providerLogins.filter(t=>!t.loggedIn).length},providerLogins(){return Object.entries(this.vehicleLogins).map(([t,e])=>({title:t,loggedIn:e.authenticated,loginPath:e.uri+"/login",logoutPath:e.uri+"/logout"}))}},methods:{toggleTheme:function(){const t=Ps.indexOf(this.theme),e=t(bt("data-v-5ac310b2"),t=t(),yt(),t),bA={type:"button","data-bs-toggle":"dropdown","data-bs-target":"#navbarNavAltMarkup","aria-controls":"navbarNavAltMarkup","aria-expanded":"false","aria-label":"Toggle navigation",class:"btn btn-sm btn-outline-secondary position-relative border-0 menu-button"},yA={key:0,class:"position-absolute top-0 start-100 translate-middle p-2 bg-danger border border-light rounded-circle"},wA=ni(()=>y("span",{class:"visually-hidden"},"login available",-1)),EA=[wA],TA=ni(()=>y("shopicon-regular-menu",null,null,-1)),CA={class:"dropdown-menu dropdown-menu-end"},SA=ni(()=>y("li",null,[y("hr",{class:"dropdown-divider"})],-1)),kA={class:"dropdown-header"},AA=["onClick"],xA={key:0,class:"d-inline-block p-1 rounded-circle bg-danger border border-light rounded-circle"},LA={class:"dropdown-item d-flex",href:"https://docs.evcc.io/blog/",target:"_blank"},PA=ni(()=>y("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),NA={class:"dropdown-item d-flex",href:"https://docs.evcc.io/docs/Home/",target:"_blank"},OA=ni(()=>y("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),IA={class:"dropdown-item d-flex",href:"https://github.com/evcc-io/evcc",target:"_blank"},MA=ni(()=>y("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1)),DA={class:"dropdown-item d-flex",href:"https://evcc.io/",target:"_blank"},RA=ni(()=>y("shopicon-regular-newtab",{size:"s",class:"ms-2 external"},null,-1));function $A(t,e,n,r,i,s){const o=ue("router-link");return M(),j("div",null,[y("button",bA,[s.logoutCount>0?(M(),j("span",yA,EA)):_e("",!0),TA]),y("ul",CA,[y("li",null,[re(o,{class:"dropdown-item",to:"/sessions"},{default:Je(()=>[Le(F(t.$t("header.sessions")),1)]),_:1})]),y("li",null,[y("button",{type:"button",class:"dropdown-item",onClick:e[0]||(e[0]=Hs((...a)=>s.toggleTheme&&s.toggleTheme(...a),["stop"]))},F(t.$t(`header.theme.${t.theme}`)),1)]),s.providerLogins.length>0?(M(),j(Ae,{key:0},[SA,y("li",null,[y("h6",kA,F(t.$t("header.login")),1)]),(M(!0),j(Ae,null,Qe(s.providerLogins,a=>(M(),j("li",{key:a.title},[y("button",{type:"button",class:"dropdown-item",onClick:l=>s.handleProviderAuthorization(a)},[a.loggedIn?_e("",!0):(M(),j("span",xA)),Le(" "+F(a.title)+" "+F(t.$t(a.loggedIn?"main.provider.logout":"main.provider.login")),1)],8,AA)]))),128))],64)):_e("",!0),y("li",null,[y("a",LA,[y("span",null,F(t.$t("header.blog")),1),PA])]),y("li",null,[y("a",NA,[y("span",null,F(t.$t("header.docs")),1),OA])]),y("li",null,[y("a",IA,[y("span",null,F(t.$t("header.github")),1),MA])]),y("li",null,[y("a",DA,[y("span",null,F(t.$t("header.about")),1),RA])])])])}const dv=we(vA,[["render",$A],["__scopeId","data-v-5ac310b2"]]);var FA='';class VA extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=FA}}window.customElements.define("shopicon-regular-exclamationtriangle",VA);const Pt={data:function(){return{fmtLimit:100,fmtDigits:1}},methods:{round:function(t,e){var n=10**e;return(Math.round(t*n)/n).toFixed(e)},fmt:function(t){return t==null?0:(t=Math.abs(t),t>=this.fmtLimit?this.round(t/1e3,this.fmtDigits):this.round(t,0))},fmtKw:function(t=0,e=!0,n=!0,r){r===void 0&&(r=e?1:0);const i=e?t/1e3:t;let s="";return n&&(s=e?" kW":" W"),`${new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",minimumFractionDigits:r,maximumFractionDigits:r}).format(i)}${s}`},fmtKWh:function(t,e,n,r){return this.fmtKw(t,e,n,r)+"h"},fmtNumber:function(t,e){return new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",minimumFractionDigits:e,maximumFractionDigits:e}).format(t)},fmtUnit:function(t){return Math.abs(t)>=this.fmtLimit?"k":""},fmtDuration:function(t){if(t<=0||t==null)return"\u2014";var e="0"+t%60,n="0"+Math.floor(t/60)%60,r=""+Math.floor(t/3600);return r.length<2&&(r="0"+r),r+":"+n.substr(-2)+":"+e.substr(-2)},fmtShortDuration:function(t=0,e=!1){if(t<=0)return"\u2014";var n=t%60,r=Math.floor(t/60)%60,i=Math.floor(t/3600),s="";return i>=1?s=i+":"+`${r}`.padStart(2,"0"):r>=1?s=r+":"+`${n}`.padStart(2,"0"):s=`${n}`,e&&(s+=this.fmtShortDurationUnit(t)),s},fmtShortDurationUnit:function(t=0){if(t<=0)return"";var e=Math.floor(t/60)%60,n=Math.floor(t/3600);return n>=1?"h":e>=1?"m":"s"},fmtDayString:function(t){const e=`${t.getFullYear()}`,n=`${t.getMonth()+1}`.padStart(2,"0"),r=`${t.getDate()}`.padStart(2,"0");return`${e}-${n}-${r}`},fmtTimeString:function(t){const e=`${t.getHours()}`.padStart(2,"0"),n=`${t.getMinutes()}`.padStart(2,"0");return`${e}:${n}`},isToday:function(t){return new Date().toDateString()===t.toDateString()},isTomorrow:function(t){const e=new Date;return e.setDate(e.getDate()+1),e.toDateString()===t.toDateString()},weekdayPrefix:function(t){const e=new Intl.RelativeTimeFormat(this.$i18n.locale,{numeric:"auto"});return this.isToday(t)?e.formatToParts(0,"day")[0].value:this.isTomorrow(t)?e.formatToParts(1,"day")[0].value:new Intl.DateTimeFormat(this.$i18n.locale,{weekday:"short"}).format(t)},fmtAbsoluteDate:function(t){const e=this.weekdayPrefix(t),n=new Intl.DateTimeFormat(this.$i18n.locale,{hour:"numeric",minute:"numeric"}).format(t);return`${e} ${n}`},fmtFullDateTime:function(t,e){return new Intl.DateTimeFormat(this.$i18n.locale,{weekday:e?void 0:"short",month:e?"numeric":"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(t)},fmtMonthYear:function(t){return new Intl.DateTimeFormat(this.$i18n.locale,{month:"long",year:"numeric"}).format(t)},fmtDayMonthYear:function(t){return new Intl.DateTimeFormat(this.$i18n.locale,{day:"numeric",month:"long",year:"numeric"}).format(t)},fmtMoney:function(t=0,e="EUR"){return new Intl.NumberFormat(this.$i18n.locale,{style:"currency",currency:e,currencyDisplay:"code"}).format(t).replace(e,"").trim()},fmtCurrencySymbol:function(t="EUR"){return{EUR:"\u20AC",USD:"$"}[t]||t},fmtPricePerKWh:function(t=0,e="EUR"){let n=e,r=t,i=3;return["EUR","USD"].includes(e)&&(r*=100,n="ct",i=1),`${new Intl.NumberFormat(this.$i18n.locale,{style:"decimal",maximumFractionDigits:i}).format(r)} ${n}/kWh`},fmtTimeAgo:function(t){const e={day:864e5,hour:36e5,minute:6e4,second:1e3},n=new Intl.RelativeTimeFormat(this.$i18n.locale,{numeric:"auto"});for(var r in e)if(Math.abs(t)>e[r]||r=="second")return n.format(Math.round(t/e[r]),r)}}},jA={name:"Notifications",mixins:[Pt],props:{notifications:Array},computed:{iconVisible:function(){return this.notifications.length>0},iconClass:function(){return this.notifications.find(t=>t.type==="error")?"text-danger":"text-warning"}},created:function(){this.interval=setInterval(()=>{this.$forceUpdate()},10*1e3)},unmounted:function(){clearTimeout(this.interval)},methods:{clear:function(){window.app&&window.app.clear()}}},zA={href:"#","data-bs-toggle":"modal","data-bs-target":"#notificationModal",class:"btn btn-sm btn-link text-decoration-none link-light text-nowrap"},HA={id:"notificationModal",class:"modal fade text-dark",tabindex:"-1",role:"dialog","aria-hidden":"true","data-bs-backdrop":"true"},BA={class:"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable",role:"document"},UA={class:"modal-content"},WA={class:"modal-header"},KA={class:"modal-title"},YA=y("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),GA={class:"modal-body"},qA=["title"],XA={class:"d-flex align-items-baseline"},QA={class:"flex-grow-1 px-2 py-1 text-break"},ZA={key:0,class:"badge rounded-pill bg-secondary"},JA={class:"modal-footer"};function ex(t,e,n,r,i,s){return M(),j("div",null,[Gt(y("button",zA,[y("shopicon-regular-exclamationtriangle",{class:Me(s.iconClass)},null,2)],512),[[Iu,s.iconVisible]]),y("div",HA,[y("div",BA,[y("div",UA,[y("div",WA,[y("h5",KA,F(t.$t("notifications.modalTitle")),1),YA]),y("div",GA,[(M(!0),j(Ae,null,Qe(n.notifications,(o,a)=>(M(),j("div",{key:a},[y("small",{class:"d-flex justify-content-end mt-3",title:t.fmtAbsoluteDate(o.time)},F(t.fmtTimeAgo(o.time-new Date)),9,qA),y("p",XA,[y("shopicon-regular-exclamationtriangle",{class:Me([{"text-danger":o.type==="error","text-warning":o.type==="warn"},"flex-grow-0 flex-shrink-0 d-block"])},null,2),y("span",QA,F(o.message),1),o.count>1?(M(),j("span",ZA,F(o.count),1)):_e("",!0)])]))),128))]),y("div",JA,[y("button",{type:"button","data-bs-dismiss":"modal","aria-label":"Close",class:"btn btn-outline-secondary",onClick:e[0]||(e[0]=(...o)=>s.clear&&s.clear(...o))},F(t.$t("notifications.dismissAll")),1)])])])])])}const tx=we(jA,[["render",ex]]);var nx='';class rx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=nx}}window.customElements.define("shopicon-filled-square",rx);var ix='';class sx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=ix}}window.customElements.define("shopicon-regular-batteryfull",sx);var ox='';class ax extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=ox}}window.customElements.define("shopicon-regular-batterythreequarters",ax);var lx='';class cx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=lx}}window.customElements.define("shopicon-regular-batteryhalf",cx);var ux='';class dx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=ux}}window.customElements.define("shopicon-regular-batteryquarter",dx);var fx='';class hx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=fx}}window.customElements.define("shopicon-regular-batteryempty",hx);const mx={name:"BatteryIcon",props:{soc:{type:Number,default:0}},computed:{icon:function(){return this.soc>80?"batteryfull":this.soc>60?"batterythreequarters":this.soc>40?"batteryhalf":this.soc>20?"batteryquarter":"batteryempty"}}};function px(t,e,n,r,i,s){return M(),Te(Au(`shopicon-regular-${s.icon}`))}const fv=we(mx,[["render",px]]),gx={name:"LabelBar",props:{value:{type:Number,default:0},hideIcon:{type:Boolean},top:{type:Boolean},bottom:{type:Boolean},first:{type:Boolean},last:{type:Boolean}}},_x={class:"label-bar-scale"},vx={class:"label-bar-icon"};function bx(t,e,n,r,i,s){return M(),j("div",{class:Me(["label-bar",{"label-bar--hide-icon":n.hideIcon,"label-bar--hidden":!n.value,"label-bar--top":n.top,"label-bar--bottom":n.bottom,"label-bar--first":n.first,"label-bar--last":n.last}])},[y("div",_x,[y("div",vx,[xu(t.$slots,"default",{},void 0,!0)])])],2)}const yx=we(gx,[["render",bx],["__scopeId","data-v-07ec7375"]]),wx=.5,Ex={name:"AnimatedNumber",props:{to:{type:Number},format:{type:Function},noAnimation:{type:Boolean},duration:{type:Number,default:wx}},data(){return{activeDuration:0}},computed:{animationDuration(){return this.noAnimation?0:this.activeDuration}},watch:{to:function(){this.activeDuration=this.duration}}};function Tx(t,e,n,r,i,s){const o=ue("number");return M(),Te(o,{to:n.to,format:n.format,duration:s.animationDuration},null,8,["to","format","duration"])}const ri=we(Ex,[["render",Tx]]);var Cx='';class Sx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Cx}}window.customElements.define("shopicon-regular-car3",Sx);var kx='';class Ax extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=kx}}window.customElements.define("shopicon-regular-sun",Ax);var xx='';class Lx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=xx}}window.customElements.define("shopicon-regular-home",Lx);const Px={name:"Visualization",components:{BatteryIcon:fv,LabelBar:yx,AnimatedNumber:ri},mixins:[Pt],props:{gridImport:{type:Number,default:0},selfConsumption:{type:Number,default:0},pvExport:{type:Number,default:0},loadpoints:{type:Number,default:0},batteryCharge:{type:Number,default:0},batteryDischarge:{type:Number,default:0},pvProduction:{type:Number,default:0},homePower:{type:Number,default:0},batterySoC:{type:Number,default:0},valuesInKw:{type:Boolean,default:!1}},data:function(){return{width:0,visualizationReady:!1}},computed:{gridExport:function(){return this.applyThreshold(this.pvExport)},totalRaw:function(){return this.gridImport+this.selfConsumption+this.pvExport},gridImportAdjusted:function(){return this.applyThreshold(this.gridImport)},selfConsumptionAdjusted:function(){return this.applyThreshold(this.selfConsumption)},pvExportAdjusted:function(){return this.applyThreshold(this.pvExport)},totalAdjusted:function(){return this.gridImportAdjusted+this.selfConsumptionAdjusted+this.pvExportAdjusted}},watch:{totalAdjusted:function(){!this.visualizationReady&&this.totalAdjusted>0&&setTimeout(()=>{this.visualizationReady=!0},500)}},mounted:function(){this.$nextTick(function(){window.addEventListener("resize",this.updateElementWidth),this.updateElementWidth()})},beforeUnmount(){window.removeEventListener("resize",this.updateElementWidth)},methods:{widthTotal:function(t){return this.totalAdjusted===0?"0%":100/this.totalAdjusted*t+"%"},fmtBarValue:function(t){const e=this.powerLabelEnoughSpace(t);return this.fmtKw(t,this.valuesInKw,e)},powerLabelAvailableSpace(t){if(this.totalAdjusted===0)return 0;const e=100/this.totalAdjusted*t;return this.width/100*e},powerLabelEnoughSpace(t){return this.powerLabelAvailableSpace(t)>60},powerLabelSomeSpace(t){return this.powerLabelAvailableSpace(t)>35},hideLabelIcon(t,e=32){if(this.totalAdjusted===0)return!0;const n=100/this.totalAdjusted*t;return this.width/100*n(bt("data-v-52aac8f3"),t=t(),yt(),t),Nx={class:"label-scale d-flex"},Ox={class:"d-flex justify-content-start flex-grow-1"},Ix=ii(()=>y("shopicon-regular-sun",null,null,-1)),Mx=ii(()=>y("shopicon-regular-powersupply",null,null,-1)),Dx=ii(()=>y("div",{class:"label-scale-name"},"In",-1)),Rx={ref:"site_progress",class:"site-progress"},$x={key:0,class:"site-progress-bar bg-light border no-wrap w-100 text-dark"},Fx={class:"label-scale d-flex"},Vx={class:"d-flex justify-content-start flex-grow-1"},jx=ii(()=>y("shopicon-regular-home",null,null,-1)),zx=ii(()=>y("shopicon-regular-car3",null,null,-1)),Hx=ii(()=>y("shopicon-regular-powersupply",null,null,-1)),Bx=ii(()=>y("div",{class:"label-scale-name"},"Out",-1));function Ux(t,e,n,r,i,s){const o=ue("LabelBar"),a=ue("BatteryIcon"),l=ue("AnimatedNumber");return M(),j("div",{class:Me(["visualization",{"visualization--ready":t.visualizationReady}])},[y("div",Nx,[y("div",Ox,[re(o,an(Yt(s.labelBarProps("top","pvProduction"))),{default:Je(()=>[Ix]),_:1},16),re(o,an(Yt(s.labelBarProps("top","batteryDischarge"))),{default:Je(()=>[re(a,{soc:n.batterySoC},null,8,["soc"])]),_:1},16),re(o,an(Yt(s.labelBarProps("top","gridImport"))),{default:Je(()=>[Mx]),_:1},16)]),Dx]),y("div",Rx,[y("div",{class:"site-progress-bar self-consumption",style:Ct({width:s.widthTotal(s.selfConsumptionAdjusted)})},[n.selfConsumption?(M(),Te(l,{key:0,class:"power",to:n.selfConsumption,format:s.fmtBarValue},null,8,["to","format"])):_e("",!0)],4),y("div",{class:"site-progress-bar grid-import",style:Ct({width:s.widthTotal(s.gridImportAdjusted)})},[n.gridImport?(M(),Te(l,{key:0,class:"power",to:n.gridImport,format:s.fmtBarValue},null,8,["to","format"])):_e("",!0)],4),y("div",{class:"site-progress-bar pv-export",style:Ct({width:s.widthTotal(s.pvExportAdjusted)})},[n.pvExport?(M(),Te(l,{key:0,class:"power",to:n.pvExport,format:s.fmtBarValue},null,8,["to","format"])):_e("",!0)],4),s.totalAdjusted<=0?(M(),j("div",$x,[y("span",null,F(t.$t("main.energyflow.noEnergy")),1)])):_e("",!0)],512),y("div",Fx,[y("div",Vx,[re(o,an(Yt(s.labelBarProps("bottom","homePower"))),{default:Je(()=>[jx]),_:1},16),re(o,an(Yt(s.labelBarProps("bottom","loadpoints"))),{default:Je(()=>[zx]),_:1},16),re(o,an(Yt(s.labelBarProps("bottom","batteryCharge"))),{default:Je(()=>[re(a,{soc:n.batterySoC},null,8,["soc"])]),_:1},16),re(o,an(Yt(s.labelBarProps("bottom","gridExport"))),{default:Je(()=>[Hx]),_:1},16)]),Bx])],2)}const Wx=we(Px,[["render",Ux],["__scopeId","data-v-52aac8f3"]]);var Kx='';class Yx extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Kx}}window.customElements.define("shopicon-regular-powersupply",Yx);const Gx={name:"EnergyflowEntry",components:{BatteryIcon:fv,AnimatedNumber:ri},mixins:[Pt],props:{name:{type:String},icon:{type:String},power:{type:Number},soc:{type:Number},valuesInKw:{type:Boolean}},computed:{active:function(){return this.power>10},isBattery:function(){return this.icon==="battery"},hasSoC:function(){return this.isBattery&&!isNaN(this.soc)}},methods:{kw:function(t){return this.fmtKw(t,this.valuesInKw)}}},qx={class:"d-flex flex-nowrap"},Xx={class:"text-nowrap flex-grow-1 ms-3"},Qx={class:"text-end text-nowrap ps-1 fw-bold"},Zx={key:0};function Jx(t,e,n,r,i,s){const o=ue("BatteryIcon"),a=ue("AnimatedNumber");return M(),j("div",{class:Me(["d-flex justify-content-between mb-2 entry",{"evcc-gray":!s.active}])},[y("span",qx,[s.isBattery?(M(),Te(o,{key:0,soc:n.soc},null,8,["soc"])):(M(),Te(Au(`shopicon-regular-${n.icon}`),{key:1}))]),y("span",Xx,F(n.name),1),y("span",Qx,[s.hasSoC?(M(),j("span",Zx,F(n.soc)+"% / ",1)):_e("",!0),re(a,{to:n.power,format:s.kw},null,8,["to","format"])])],2)}const e4=we(Gx,[["render",Jx],["__scopeId","data-v-64ce0f8b"]]),t4={name:"Energyflow",components:{Visualization:Wx,EnergyflowEntry:e4,AnimatedNumber:ri},mixins:[Pt],props:{gridConfigured:Boolean,gridPower:{type:Number,default:0},homePower:{type:Number,default:0},pvConfigured:Boolean,pvPower:{type:Number,default:0},loadpointsPower:{type:Number,default:0},activeLoadpointsCount:{type:Number,default:0},batteryConfigured:Boolean,batteryPower:{type:Number,default:0},batterySoC:{type:Number,default:0}},data:()=>({detailsOpen:!1,detailsCompleteHeight:null}),computed:{gridImport:function(){return Math.max(0,this.gridPower)},pvProduction:function(){return Math.abs(this.pvPower)},batteryPowerAdjusted:function(){return Math.abs(this.batteryPower)<50?0:this.batteryPower},batteryDischarge:function(){return Math.abs(Math.max(0,this.batteryPowerAdjusted))},batteryCharge:function(){return Math.abs(Math.min(0,this.batteryPowerAdjusted)*-1)},selfConsumption:function(){const t=this.batteryDischarge+this.pvProduction,e=this.homePower+this.batteryCharge+this.loadpointsPower;return Math.min(t,e)},pvExport:function(){return Math.max(0,this.gridPower*-1)},valuesInKw:function(){return this.gridImport+this.selfConsumption+this.pvExport>1e3},inPower:function(){return this.gridImport+this.pvProduction+this.batteryDischarge},outPower:function(){return this.homePower+this.loadpointsPower+this.pvExport+this.batteryCharge},detailsHeight:function(){return this.detailsOpen?this.detailsCompleteHeight+"px":0}},mounted(){window.addEventListener("resize",this.updateHeight)},unmounted(){window.removeEventListener("resize",this.updateHeight)},methods:{kw:function(t){return this.fmtKw(t,this.valuesInKw)},toggleDetails:function(){this.updateHeight(),this.detailsOpen=!this.detailsOpen},updateHeight:function(){this.detailsCompleteHeight=this.$refs.detailsInner.offsetHeight}}},ao=t=>(bt("data-v-a185934b"),t=t(),yt(),t),n4={class:"row"},r4={ref:"detailsInner",class:"details-inner row"},i4={class:"col-12 d-flex justify-content-between pt-2 mb-4"},s4={class:"d-flex flex-nowrap align-items-center"},o4=ao(()=>y("span",{class:"color-self me-2"},[y("shopicon-filled-square")],-1)),a4={key:0,class:"d-flex flex-nowrap align-items-center"},l4=ao(()=>y("span",{class:"color-grid ms-2"},[y("shopicon-filled-square")],-1)),c4={key:1,class:"d-flex flex-nowrap align-items-center"},u4=ao(()=>y("span",{class:"color-export ms-2"},[y("shopicon-filled-square")],-1)),d4={class:"col-12 col-md-6 pe-md-5 pb-4 d-flex flex-column justify-content-between"},f4={class:"d-flex justify-content-between align-items-end mb-4"},h4=ao(()=>y("h3",{class:"m-0"},"In",-1)),m4={class:"fw-bold"},p4={class:"col-12 col-md-6 ps-md-5 pb-4 d-flex flex-column justify-content-between"},g4={class:"d-flex justify-content-between align-items-end mb-4"},_4=ao(()=>y("h3",{class:"m-0"},"Out",-1)),v4={class:"fw-bold"};function b4(t,e,n,r,i,s){const o=ue("Visualization"),a=ue("AnimatedNumber"),l=ue("EnergyflowEntry");return M(),j("div",{class:Me(["energyflow cursor-pointer position-relative",{"energyflow--open":t.detailsOpen}]),onClick:e[0]||(e[0]=(...c)=>s.toggleDetails&&s.toggleDetails(...c))},[y("div",n4,[re(o,{class:"col-12 mb-3 mb-md-4",gridImport:s.gridImport,selfConsumption:s.selfConsumption,loadpoints:n.loadpointsPower,pvExport:s.pvExport,batteryCharge:s.batteryCharge,batteryDischarge:s.batteryDischarge,pvProduction:s.pvProduction,homePower:n.homePower,batterySoC:n.batterySoC,valuesInKw:s.valuesInKw},null,8,["gridImport","selfConsumption","loadpoints","pvExport","batteryCharge","batteryDischarge","pvProduction","homePower","batterySoC","valuesInKw"])]),y("div",{class:"details",style:Ct({height:s.detailsHeight})},[y("div",r4,[y("div",i4,[y("div",s4,[o4,y("span",null,F(t.$t("main.energyflow.selfConsumption")),1)]),s.gridImport>0?(M(),j("div",a4,[y("span",null,F(t.$t("main.energyflow.gridImport")),1),l4])):(M(),j("div",c4,[y("span",null,F(t.$t("main.energyflow.pvExport")),1),u4]))]),y("div",d4,[y("div",f4,[h4,y("span",m4,[re(a,{to:s.inPower,format:s.kw},null,8,["to","format"])])]),y("div",null,[re(l,{name:t.$t("main.energyflow.pvProduction"),icon:"sun",power:s.pvProduction,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"]),n.batteryConfigured?(M(),Te(l,{key:0,name:t.$t("main.energyflow.batteryDischarge"),icon:"battery",soc:n.batterySoC,power:s.batteryDischarge,valuesInKw:s.valuesInKw},null,8,["name","soc","power","valuesInKw"])):_e("",!0),re(l,{name:t.$t("main.energyflow.gridImport"),icon:"powersupply",power:s.gridImport,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"])])]),y("div",p4,[y("div",g4,[_4,y("span",v4,[re(a,{to:s.outPower,format:s.kw},null,8,["to","format"])])]),y("div",null,[re(l,{name:t.$t("main.energyflow.homePower"),icon:"home",power:n.homePower,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"]),re(l,{name:t.$tc("main.energyflow.loadpoints",n.activeLoadpointsCount,{count:n.activeLoadpointsCount}),icon:"car3",power:n.loadpointsPower,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"]),n.batteryConfigured?(M(),Te(l,{key:0,name:t.$t("main.energyflow.batteryCharge"),icon:"battery",soc:n.batterySoC,power:s.batteryCharge,valuesInKw:s.valuesInKw},null,8,["name","soc","power","valuesInKw"])):_e("",!0),re(l,{name:t.$t("main.energyflow.pvExport"),icon:"powersupply",power:s.pvExport,valuesInKw:s.valuesInKw},null,8,["name","power","valuesInKw"])])])],512)],4)],2)}const Wh=we(t4,[["render",b4],["__scopeId","data-v-a185934b"]]);var y4='';class w4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=y4}}window.customElements.define("shopicon-filled-circle",w4);var E4='';class T4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=E4}}window.customElements.define("shopicon-regular-lightning",T4);var C4='';class S4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=C4}}window.customElements.define("shopicon-regular-adjust",S4);const{protocol:k4,hostname:A4,port:Kh,pathname:x4}=window.location,ot=od.create({baseURL:k4+"//"+A4+(Kh?":"+Kh:"")+x4+"api/",headers:{Accept:"application/json"}});ot.interceptors.response.use(t=>t,t=>{const e=t.config.baseURL+t.config.url,n=`${t.message}: API request failed ${e}`;return window.app.error({message:n}),Promise.reject(t)});const L4={name:"Mode",props:{mode:String},emits:["updated"],data(){return{modes:["off","pv","minpv","now"]}},methods:{isActive:function(t){return this.mode===t},setTargetMode:function(t){this.$emit("updated",t)}}},P4={class:"mode-group border d-inline-flex",role:"group"},N4=["onClick"];function O4(t,e,n,r,i,s){return M(),j("div",P4,[(M(!0),j(Ae,null,Qe(i.modes,o=>(M(),j("button",{key:o,type:"button",class:Me(["btn flex-grow-1 flex-shrink-1",{active:s.isActive(o)}]),onClick:a=>s.setTargetMode(o)},F(t.$t(`main.mode.${o}`)),11,N4))),128))])}const I4=we(L4,[["render",O4],["__scopeId","data-v-fd0f9db5"]]),za={methods:{collectProps:function(t){let e={};for(var n in t.props)n in this&&(e[n]=this[n]);return e}}},M4={name:"LabelAndValue",components:{AnimatedNumber:ri},props:{label:String,value:[Number,String],valueFmt:Function,extraValue:String,align:{type:String,default:"center"}},computed:{labelClass(){return`text-${this.align}`},valueClass(){return`justify-content-${this.align}`}}},D4={class:"root"},R4={key:1},$4={key:2,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function F4(t,e,n,r,i,s){const o=ue("AnimatedNumber");return M(),j("div",D4,[y("div",{class:Me(["mb-2 label",s.labelClass])},F(n.label),3),xu(t.$slots,"default",{},()=>[y("h3",{class:Me(["value m-0 d-block d-sm-flex align-items-baseline",s.valueClass])},[n.valueFmt?(M(),Te(o,{key:0,to:n.value,format:n.valueFmt},null,8,["to","format"])):(M(),j("span",R4,F(n.value),1)),n.extraValue?(M(),j("div",$4,F(n.extraValue),1)):_e("",!0)],2)],!0)])}const lo=we(M4,[["render",F4],["__scopeId","data-v-2a1fddd7"]]);var V4='';class j4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=V4}}window.customElements.define("shopicon-regular-refresh",j4);var z4='';class H4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=z4}}window.customElements.define("shopicon-regular-cablecharge",H4);var B4='';class U4 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=B4}}window.customElements.define("shopicon-filled-options",U4);const W4={name:"VehicleOptions",props:{vehicles:Array,isUnknown:Boolean},emits:["change-vehicle","remove-vehicle"],methods:{changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")}}},K4={role:"button",tabindex:"0","data-bs-toggle":"dropdown","data-bs-target":"#navbarNavAltMarkup","aria-controls":"navbarNavAltMarkup","aria-expanded":"false","aria-label":"Toggle navigation"},Y4={class:"dropdown-menu dropdown-menu-start"},G4={class:"dropdown-header"},q4=["onClick"],X4={key:0};function Q4(t,e,n,r,i,s){return M(),j("div",null,[y("div",K4,[xu(t.$slots,"default")]),y("ul",Y4,[y("li",null,[y("h6",G4,F(t.$t("main.vehicle.changeVehicle")),1)]),(M(!0),j(Ae,null,Qe(n.vehicles,o=>(M(),j("li",{key:o},[y("button",{type:"button",class:"dropdown-item",onClick:a=>s.changeVehicle(o.id)},F(o.title),9,q4)]))),128)),n.isUnknown?_e("",!0):(M(),j("li",X4,[y("button",{type:"button",class:"dropdown-item",onClick:e[0]||(e[0]=o=>s.removeVehicle())},F(t.$t("main.vehicle.unknown")),1)]))])])}const Z4=we(W4,[["render",Q4]]),J4={name:"VehicleTitle",components:{VehicleOptions:Z4},props:{vehiclePresent:Boolean,vehicleTitle:String,vehicleDetectionActive:Boolean,parked:Boolean,connected:Boolean,vehicles:{type:Array,default:()=>[]}},emits:["change-vehicle","remove-vehicle"],computed:{icon(){return this.vehicleDetectionActive?"refresh":this.connected||this.parked?"car":null},name(){return this.vehiclePresent||this.parked?this.vehicleTitle||this.$t("main.vehicle.fallbackName"):this.connected?this.$t("main.vehicle.unknown"):this.$t("main.vehicle.none")},isUnknown(){return!this.vehiclePresent},otherVehicles(){return this.vehicles.map((t,e)=>({id:e,title:t})).filter(t=>t.title!==this.vehicleTitle)},showOptions(){return!this.isUnknown||this.vehicles.length}},watch:{icon:function(){this.tooltip()}},mounted:function(){this.tooltip()},methods:{changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")},tooltip(){this.$nextTick(()=>{this.$refs.refresh&&new wr(this.$refs.refresh)})}}},eL={class:"d-flex justify-content-between mb-3 align-items-center"},tL={class:"d-flex align-items-center m-0 flex-grow-1 overflow-hidden"},nL=["title"],rL={key:1,class:"me-2 flex-shrink-0"},iL={key:2,class:"me-2 flex-shrink-0"},sL={class:"flex-grow-1 text-truncate vehicle-name"},oL={key:4,class:"flex-grow-1 text-truncate vehicle-name"};function aL(t,e,n,r,i,s){const o=ue("VehicleOptions");return M(),j("div",eL,[y("h4",tL,[s.icon==="refresh"?(M(),j("shopicon-regular-refresh",{key:0,ref:"refresh","data-bs-toggle":"tooltip",title:t.$t("main.vehicle.detectionActive"),class:"me-2 flex-shrink-0 spin"},null,8,nL)):s.icon==="car"?(M(),j("shopicon-regular-car3",rL)):(M(),j("shopicon-regular-cablecharge",iL)),s.showOptions?(M(),Te(o,{key:3,class:"options",vehicles:s.otherVehicles,"is-unknown":s.isUnknown,onChangeVehicle:s.changeVehicle,onRemoveVehicle:s.removeVehicle},{default:Je(()=>[y("span",sL,F(s.name),1)]),_:1},8,["vehicles","is-unknown","onChangeVehicle","onRemoveVehicle"])):(M(),j("span",oL,F(s.name),1))])])}const Yh=we(J4,[["render",aL],["__scopeId","data-v-f52d1381"]]),lL={name:"VehicleSoc",props:{connected:Boolean,vehiclePresent:Boolean,vehicleSoC:Number,vehicleTargetSoC:Number,enabled:Boolean,charging:Boolean,minSoC:Number,targetSoC:Number,targetEnergy:Number,chargedEnergy:Number,socBasedCharging:Boolean},emits:["target-soc-drag","target-soc-updated"],data:function(){return{selectedTargetSoC:null,interactionStartScreenY:null,tooltip:null}},computed:{vehicleSoCDisplayWidth:function(){return this.socBasedCharging?this.vehicleSoC>=0?this.vehicleSoC:100:this.targetEnergy?100/this.targetEnergy*(this.chargedEnergy/1e3):100},vehicleTargetSoCActive:function(){return this.vehicleTargetSoC>0&&this.vehicleTargetSoC>this.vehicleSoC},targetSliderActive:function(){return!this.vehicleTargetSoC||this.visibleTargetSoC<=this.vehicleTargetSoC},progressColor:function(){return this.minSoCActive?"bg-danger":"bg-primary"},minSoCActive:function(){return this.minSoC>0&&this.vehicleSoCthis.vehicleSoC)return t-this.vehicleSoC}else return 100-this.vehicleSoCDisplayWidth;return null},visibleTargetSoC:function(){return Number(this.selectedTargetSoC||this.targetSoC)}},watch:{targetSoC:function(){this.selectedTargetSoC=this.targetSoC},vehicleTargetSoC:function(){this.updateTooltip()}},mounted:function(){this.updateTooltip()},methods:{changeTargetSoCStart:function(t){t.stopPropagation()},changeTargetSoCEnd:function(t){const e=parseInt(t.target.value,10);e!==this.targetSoC&&this.$emit("target-soc-updated",e)},movedTargetSoC:function(t){let e=parseInt(t.target.value,10);t.stopPropagation();const n=20;return e{this.tooltip&&this.tooltip.dispose(),this.tooltip=new wr(this.$refs.vehicleTargetSoC)})}}},cL={class:"vehicle-soc"},uL={class:"progress"},dL=["title"],fL={class:"target"},hL=["value"];function mL(t,e,n,r,i,s){return M(),j("div",cL,[y("div",uL,[n.connected?(M(),j("div",{key:0,class:Me(["progress-bar",{[s.progressColor]:!0,"progress-bar-striped":n.charging,"progress-bar-animated":n.charging}]),role:"progressbar",style:Ct({width:`${s.vehicleSoCDisplayWidth}%`})},null,6)):_e("",!0),s.remainingSoCWidth>0&&n.enabled&&n.connected?(M(),j("div",{key:1,class:Me(["progress-bar bg-muted",s.progressColor]),role:"progressbar",style:Ct({width:`${s.remainingSoCWidth}%`,transition:"none"})},null,6)):_e("",!0),Gt(y("div",{ref:"vehicleTargetSoC",class:Me(["vehicle-target-soc",{"vehicle-target-soc--active":s.vehicleTargetSoCActive}]),"data-bs-toggle":"tooltip",title:t.$t("main.vehicleSoC.vehicleTarget",{soc:n.vehicleTargetSoC}),style:Ct({left:`${n.vehicleTargetSoC}%`})},null,14,dL),[[Iu,n.vehicleTargetSoC]])]),y("div",fL,[n.socBasedCharging&&n.connected?(M(),j("input",{key:0,type:"range",min:"0",max:"100",step:"5",value:s.visibleTargetSoC,class:Me(["target-slider",{"target-slider--active":s.targetSliderActive}]),onMousedown:e[0]||(e[0]=(...o)=>s.changeTargetSoCStart&&s.changeTargetSoCStart(...o)),onTouchstart:e[1]||(e[1]=(...o)=>s.changeTargetSoCStart&&s.changeTargetSoCStart(...o)),onInput:e[2]||(e[2]=(...o)=>s.movedTargetSoC&&s.movedTargetSoC(...o)),onMouseup:e[3]||(e[3]=(...o)=>s.changeTargetSoCEnd&&s.changeTargetSoCEnd(...o)),onTouchend:e[4]||(e[4]=(...o)=>s.changeTargetSoCEnd&&s.changeTargetSoCEnd(...o))},null,42,hL)):_e("",!0)])])}const Gh=we(lL,[["render",mL],["__scopeId","data-v-15f37702"]]),pL={name:"VehicleStatus",mixins:[Pt],props:{vehicleSoC:Number,vehicleTargetSoC:Number,minSoC:Number,enabled:Boolean,connected:Boolean,charging:Boolean,targetTime:String,targetTimeProjectedStart:String,phaseAction:String,phaseRemainingInterpolated:Number,pvAction:String,pvRemainingInterpolated:Number},computed:{phaseTimerActive(){return this.charging&&this.phaseRemainingInterpolated>0&&["scale1p","scale3p"].includes(this.phaseAction)},pvTimerActive(){return this.pvRemainingInterpolated>0&&["enable","disable"].includes(this.pvAction)},message:function(){const t=(e,n)=>this.$t(`main.vehicleStatus.${e}`,n);if(!this.connected)return t("disconnected");if(this.minSoC>0&&this.vehicleSoC0&&this.vehicleSoC>=this.vehicleTargetSoC-1?t("vehicleTargetReached",{soc:this.vehicleTargetSoC}):t("waitForVehicle"):this.pvTimerActive&&this.charging&&this.pvAction==="disable"?t("pvDisable",{remaining:this.fmtShortDuration(this.pvRemainingInterpolated,!0)}):this.phaseTimerActive?t(this.phaseAction,{remaining:this.fmtShortDuration(this.phaseRemainingInterpolated,!0)}):this.charging?t("charging"):t("connected")}}},gL={class:"d-block evcc-gray"};function _L(t,e,n,r,i,s){return M(),j("div",gL,F(s.message)+"\xA0",1)}const qh=we(pL,[["render",_L]]);var vL='';class bL extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=vL}}window.customElements.define("shopicon-filled-plus",bL);var yL='';class wL extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=yL}}window.customElements.define("shopicon-filled-edit",wL);const EL="7:00",Xh="last_target_time",TL={name:"TargetCharge",components:{LabelAndValue:lo},mixins:[Pt],props:{id:[String,Number],targetTime:String,targetTimeActive:Boolean,targetSoC:Number,disabled:Boolean},emits:["target-time-updated","target-time-removed"],data:function(){return{selectedDay:null,selectedTime:null}},computed:{targetChargeEnabled:function(){return this.targetTime},selectedTargetTimeValid:function(){return new Datenew Date;this.targetChargeEnabled&&e&&(t=new Date(this.targetTime)),this.selectedDay=this.fmtDayString(t),this.selectedTime=this.fmtTimeString(t)},dayOptions:function(){const t=[],e=new Date,n=[this.$t("main.targetCharge.today"),this.$t("main.targetCharge.tomorrow")];for(let r=0;r<7;r++){const i=e.toLocaleDateString("default",{month:"short",day:"numeric"}),s=n[r]||e.toLocaleDateString("default",{weekday:"long"});t.push({value:this.fmtDayString(e),name:`${i} (${s})`}),e.setDate(e.getDate()+1)}return t},setTargetTime:function(){try{const t=this.selectedTargetTime.getHours(),e=this.selectedTargetTime.getMinutes();window.localStorage[Xh]=`${t}:${e}`}catch(t){console.warn(t)}this.$emit("target-time-updated",this.selectedTargetTime)},removeTargetTime:function(){this.$emit("target-time-removed")}}},hv=t=>(bt("data-v-2ec7939a"),t=t(),yt(),t),CL=["data-bs-target","disabled"],SL={key:0},kL={key:1},AL=["id"],xL={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},LL={class:"modal-content"},PL={class:"modal-header"},NL={class:"modal-title"},OL=hv(()=>y("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),IL={class:"modal-body"},ML={class:"form-group"},DL={for:"targetTimeLabel",class:"mb-3"},RL={class:"d-flex justify-content-between",style:{"max-width":"350px"}},$L=["value"],FL={key:0,class:"text-danger mb-0"},VL={class:"small mt-3 text-muted mb-0"},jL={class:"text-evcc"},zL=hv(()=>y("a",{href:"https://github.com/evcc-io/evcc/discussions/1433",target:"_blank"},"GitHub Discussions",-1)),HL={class:"modal-footer d-flex justify-content-between"},BL=["disabled"];function UL(t,e,n,r,i,s){const o=ue("LabelAndValue");return M(),j("div",null,[re(o,{class:Me(["root flex-grow-1",n.disabled?"opacity-0":"opacity-1"]),label:t.$t("main.targetCharge.title")},{default:Je(()=>[y("button",{class:Me(["btn btn-link p-0 value text-center",s.targetChargeEnabled?"evcc-default-text":"text-gray"]),"data-bs-toggle":"modal","data-bs-target":`#${s.modalId}`,disabled:n.disabled},[s.targetChargeEnabled?(M(),j("strong",SL,F(s.targetTimeLabel()),1)):(M(),j("span",kL,F(t.$t("main.targetCharge.setTargetTime")),1))],10,CL)]),_:1},8,["label","class"]),(M(),Te(io,{to:"body"},[y("div",{id:s.modalId,class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},[y("div",xL,[y("div",LL,[y("div",PL,[y("h5",NL,F(t.$t("main.targetCharge.modalTitle")),1),OL]),y("form",{onSubmit:e[3]||(e[3]=Hs((...a)=>s.setTargetTime&&s.setTargetTime(...a),["prevent"]))},[y("div",IL,[y("div",ML,[y("label",DL,F(t.$t("main.targetCharge.description",{targetSoC:n.targetSoC})),1),y("div",RL,[Gt(y("select",{"onUpdate:modelValue":e[0]||(e[0]=a=>t.selectedDay=a),class:"form-select me-2",style:{"flex-basis":"60%"}},[(M(!0),j(Ae,null,Qe(s.dayOptions(),a=>(M(),j("option",{key:a.value,value:a.value},F(a.name),9,$L))),128))],512),[[Ro,t.selectedDay]]),Gt(y("input",{"onUpdate:modelValue":e[1]||(e[1]=a=>t.selectedTime=a),type:"time",class:"form-control ms-2",style:{"flex-basis":"40%"},step:60*5,required:""},null,512),[[iC,t.selectedTime]])])]),s.selectedTargetTimeValid?_e("",!0):(M(),j("p",FL,F(t.$t("main.targetCharge.targetIsInThePast")),1)),y("p",VL,[y("strong",jL,F(t.$t("main.targetCharge.experimentalLabel"))+": ",1),Le(" "+F(t.$t("main.targetCharge.experimentalText"))+" ",1),zL,Le(". ")])]),y("div",HL,[y("button",{type:"button",class:"btn btn-outline-secondary","data-bs-dismiss":"modal",onClick:e[2]||(e[2]=(...a)=>s.removeTargetTime&&s.removeTargetTime(...a))},F(t.$t("main.targetCharge.remove")),1),y("button",{type:"submit",class:"btn btn-primary","data-bs-dismiss":"modal",disabled:!s.selectedTargetTimeValid},F(t.$t("main.targetCharge.activate")),9,BL)])],32)])])],8,AL)]))])}const Qh=we(TL,[["render",UL],["__scopeId","data-v-2ec7939a"]]),WL={name:"TargetSoCSelect",components:{LabelAndValue:lo,AnimatedNumber:ri},props:{targetSoc:Number,rangePerSoc:Number},emits:["target-soc-updated"],computed:{options:function(){const t=[];for(let e=20;e<=100;e+=5){let n=this.formatSoC(e);const r=this.estimatedRange(e);r&&(n+=` (${this.formatKm(r)})`),t.push({soc:e,text:n})}return t},estimatedTargetRange:function(){return this.estimatedRange(this.targetSoc)}},methods:{change:function(t){return this.$emit("target-soc-updated",parseInt(t.target.value,10))},estimatedRange:function(t){return this.rangePerSoc?Math.round(t*this.rangePerSoc):null},formatSoC:function(t){return`${Math.round(t)}%`},formatKm:function(t){return`${Math.round(t)} km`}}},KL={class:"value m-0 d-block d-sm-flex align-items-baseline justify-content-end"},YL={class:"position-relative"},GL=["value"],qL=["value"],XL={class:"text-decoration-underline"},QL={key:0,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function ZL(t,e,n,r,i,s){const o=ue("AnimatedNumber"),a=ue("LabelAndValue");return M(),Te(a,{class:"flex-grow-1",label:t.$t("main.vehicle.targetSoC"),align:"end"},{default:Je(()=>[y("h3",KL,[y("label",YL,[y("select",{value:n.targetSoc,class:"custom-select",onChange:e[0]||(e[0]=(...l)=>s.change&&s.change(...l))},[(M(!0),j(Ae,null,Qe(s.options,({soc:l,text:c})=>(M(),j("option",{key:l,value:l},F(c),9,qL))),128))],40,GL),y("span",XL,[re(o,{to:n.targetSoc,format:s.formatSoC},null,8,["to","format"])])]),s.estimatedTargetRange?(M(),j("div",QL,[re(o,{to:s.estimatedTargetRange,format:s.formatKm},null,8,["to","format"])])):_e("",!0)])]),_:1},8,["label"])}const JL=we(WL,[["render",ZL],["__scopeId","data-v-c40d1ba1"]]),eP={name:"TargetEnergySelect",components:{LabelAndValue:lo,AnimatedNumber:ri},mixins:[Pt],props:{targetEnergy:Number,socPerKwh:Number,chargedEnergy:Number,vehicleCapacity:Number},emits:["target-energy-updated"],computed:{maxEnergy:function(){return this.vehicleCapacity||100},steps:function(){return this.maxEnergy<1?.05:this.maxEnergy<2?.1:this.maxEnergy<5?.25:this.maxEnergy<10?.5:this.maxEnergy<25?1:this.maxEnergy<50?2:5},options:function(){const t=[];for(let e=0;e<=this.maxEnergy;e+=this.steps){let n=this.fmtEnergy(e);const r=e=.1,n=e&&this.steps<1?1:0;return this.fmtKWh(t*1e3,e,!0,n)},fmtSoC:function(t){return`+${Math.round(t)}%`}}},tP={class:"value m-0 d-block d-sm-flex align-items-baseline justify-content-end"},nP={class:"position-relative"},rP=["value"],iP=["value","disabled"],sP={key:0,class:"extraValue ms-0 ms-sm-1 text-nowrap"};function oP(t,e,n,r,i,s){const o=ue("AnimatedNumber"),a=ue("LabelAndValue");return M(),Te(a,{class:"flex-grow-1",label:t.$t("main.targetEnergy.label"),align:"end"},{default:Je(()=>[y("h3",tP,[y("label",nP,[y("select",{value:n.targetEnergy,class:"custom-select",onChange:e[0]||(e[0]=(...l)=>s.change&&s.change(...l))},[(M(!0),j(Ae,null,Qe(s.options,({energy:l,text:c,disabled:u})=>(M(),j("option",{key:l,value:l,disabled:u},F(c),9,iP))),128))],40,rP),y("span",{class:Me(["text-decoration-underline",{"text-gray fw-normal":!n.targetEnergy}])},[re(o,{to:n.targetEnergy,format:s.fmtEnergy,"no-animation":!n.targetEnergy},null,8,["to","format","no-animation"])],2)]),s.estimatedTargetSoC?(M(),j("div",sP,[re(o,{to:s.estimatedTargetSoC,format:s.fmtSoC},null,8,["to","format"])])):_e("",!0)])]),_:1},8,["label"])}const aP=we(eP,[["render",oP],["__scopeId","data-v-12336233"]]),lP={name:"Vehicle",components:{VehicleTitle:Yh,VehicleSoc:Gh,VehicleStatus:qh,LabelAndValue:lo,TargetCharge:Qh,TargetSoCSelect:JL,TargetEnergySelect:aP},mixins:[za,Pt],props:{id:[String,Number],connected:Boolean,vehiclePresent:Boolean,vehicleSoC:Number,vehicleTargetSoC:Number,enabled:Boolean,charging:Boolean,minSoC:Number,vehicleDetectionActive:Boolean,vehicleRange:Number,vehicleTitle:String,vehicleCapacity:Number,socBasedCharging:Boolean,targetTimeActive:Boolean,targetTime:String,targetTimeProjectedStart:String,targetSoC:Number,targetEnergy:Number,chargedEnergy:Number,mode:String,phaseAction:String,phaseRemainingInterpolated:Number,pvAction:String,pvRemainingInterpolated:Number,parked:Boolean,vehicles:Array},emits:["target-time-removed","target-time-updated","target-soc-updated","target-energy-updated","change-vehicle","remove-vehicle"],data(){return{displayTargetSoC:this.targetSoC}},computed:{vehicleSocProps:function(){return this.collectProps(Gh)},vehicleStatus:function(){return this.collectProps(qh)},vehicleTitleProps:function(){return this.collectProps(Yh)},targetCharge:function(){return this.collectProps(Qh)},rangePerSoC:function(){return this.vehicleSoC>10&&this.vehicleRange?this.vehicleRange/this.vehicleSoC:null},socPerKwh:function(){return this.vehicleCapacity>0?100/this.vehicleCapacity:null},chargedSoC:function(){const t=this.socPerKwh*(this.chargedEnergy/1e3);return t>1?`+${Math.round(t)}%`:null},targetChargeDisabled:function(){return!this.connected||!["pv","minpv"].includes(this.mode)}},watch:{targetSoC:function(){this.displayTargetSoC=this.targetSoC}},methods:{targetSocDrag:function(t){this.displayTargetSoC=t},targetSocUpdated:function(t){this.displayTargetSoC=t,this.$emit("target-soc-updated",t)},targetEnergyUpdated:function(t){this.$emit("target-energy-updated",t)},setTargetTime:function(t){this.$emit("target-time-updated",t)},removeTargetTime:function(){this.$emit("target-time-removed")},changeVehicle(t){this.$emit("change-vehicle",t)},removeVehicle(){this.$emit("remove-vehicle")},fmtEnergy(t){const e=t==0||t>=1e3;return this.fmtKWh(t,e)}}},cP=t=>(bt("data-v-1c6bd0b3"),t=t(),yt(),t),uP={class:"vehicle pt-4"},dP={class:"details d-flex flex-wrap justify-content-between"},fP={key:1,class:"d-flex justify-content-start"},hP=cP(()=>y("small",null,"vor 5 Stunden",-1)),mP=[hP];function pP(t,e,n,r,i,s){const o=ue("VehicleTitle"),a=ue("VehicleStatus"),l=ue("VehicleSoc"),c=ue("LabelAndValue"),u=ue("TargetCharge"),f=ue("TargetSoCSelect"),d=ue("TargetEnergySelect");return M(),j("div",uP,[re(o,Dt(s.vehicleTitleProps,{onChangeVehicle:s.changeVehicle,onRemoveVehicle:s.removeVehicle}),null,16,["onChangeVehicle","onRemoveVehicle"]),n.parked?_e("",!0):(M(),Te(a,Dt({key:0},s.vehicleStatus,{class:"mb-2"}),null,16)),re(l,Dt(s.vehicleSocProps,{class:"mt-2 mb-4",onTargetSocUpdated:s.targetSocUpdated,onTargetSocDrag:s.targetSocDrag}),null,16,["onTargetSocUpdated","onTargetSocDrag"]),y("div",dP,[n.socBasedCharging?(M(),Te(c,{key:0,class:"flex-grow-1",label:t.$t("main.vehicle.vehicleSoC"),value:n.vehicleSoC?`${n.vehicleSoC}%`:"--",extraValue:n.vehicleRange?`${n.vehicleRange} km`:null,align:"start"},null,8,["label","value","extraValue"])):(M(),Te(c,{key:1,class:"flex-grow-1",label:t.$t("main.loadpoint.charged"),value:s.fmtEnergy(n.chargedEnergy),extraValue:s.chargedSoC,align:"start"},null,8,["label","value","extraValue"])),n.socBasedCharging?(M(),Te(u,Dt({key:2,class:"flex-grow-1 text-center target-charge"},s.targetCharge,{disabled:s.targetChargeDisabled,onTargetTimeUpdated:s.setTargetTime,onTargetTimeRemoved:s.removeTargetTime}),null,16,["disabled","onTargetTimeUpdated","onTargetTimeRemoved"])):_e("",!0),n.socBasedCharging?(M(),Te(f,{key:3,class:"flex-grow-1 text-end","target-soc":i.displayTargetSoC,"range-per-soc":s.rangePerSoC,onTargetSocUpdated:s.targetSocUpdated},null,8,["target-soc","range-per-soc","onTargetSocUpdated"])):(M(),Te(d,{key:4,class:"flex-grow-1 text-end","target-energy":n.targetEnergy,"soc-per-kwh":s.socPerKwh,"charged-energy":n.chargedEnergy,"vehicle-capacity":n.vehicleCapacity,onTargetEnergyUpdated:s.targetEnergyUpdated},null,8,["target-energy","soc-per-kwh","charged-energy","vehicle-capacity","onTargetEnergyUpdated"]))]),t.$hiddenFeatures?(M(),j("div",fP,mP)):_e("",!0)])}const Ic=we(lP,[["render",pP],["__scopeId","data-v-1c6bd0b3"]]),gP={name:"Phases",props:{chargeCurrent:{type:Number},chargeCurrents:{type:Array},phasesActive:{type:Number},minCurrent:{type:Number},maxCurrent:{type:Number}},methods:{inactive(t){return t>this.phasesActive},targetWidth(){let t=Math.min(Math.max(this.minCurrent,this.chargeCurrent),this.maxCurrent);return 100/this.maxCurrent*t},realWidth(t){if(this.chargeCurrents){const e=this.chargeCurrents[t-1]||0;return 100/this.maxCurrent*e}return this.targetWidth()}}},_P={class:"phases d-flex justify-content-between"};function vP(t,e,n,r,i,s){return M(),j("div",_P,[(M(),j(Ae,null,Qe([1,2,3],o=>y("div",{key:o,class:Me(["phase me-1",{inactive:s.inactive(o)}])},[y("div",{class:"target",style:Ct({width:`${s.targetWidth()}%`})},null,4),y("div",{class:"real",style:Ct({width:`${s.realWidth(o)}%`})},null,4)],2)),64))])}const Zh=we(gP,[["render",vP],["__scopeId","data-v-0709e49e"]]),bP={name:"LoadpointSettingsButton",props:{id:[String,Number]}},yP=["data-bs-target"],wP=y("shopicon-regular-adjust",{size:"s"},null,-1),EP=[wP];function TP(t,e,n,r,i,s){return M(),j("button",{type:"button","data-bs-toggle":"modal","data-bs-target":`#loadpointSettingsModal_${n.id}`,class:"btn btn-sm btn-outline-secondary position-relative border-0 p-2 evcc-gray"},EP,8,yP)}const CP=we(bP,[["render",TP]]);var SP='';class kP extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=SP}}window.customElements.define("shopicon-bold-lightning",kP);var AP='';class xP extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=AP}}window.customElements.define("shopicon-bold-car3",xP);const Ao=230,LP={name:"LoadpointSettingsModal",mixins:[Pt],props:{id:[String,Number],phasesConfigured:Number,minSoC:Number,maxCurrent:Number,minCurrent:Number,title:String},emits:["phasesconfigured-updated","maxcurrent-updated","mincurrent-updated","minsoc-updated"],data:function(){return{selectedMaxCurrent:this.maxCurrent,selectedMinCurrent:this.minCurrent,selectedPhases:this.phasesConfigured,selectedMinSoC:this.minSoC}},computed:{maxPower1p:function(){return this.fmtKw(this.maxCurrent*Ao)},minPower1p:function(){return this.fmtKw(this.minCurrent*Ao)},maxPower3p:function(){return this.fmtKw(this.maxCurrent*Ao*3)},minPower3p:function(){return this.fmtKw(this.minCurrent*Ao*3)},maxPower:function(){return this.phasesConfigured===1?this.maxPower1p:this.maxPower3p},minPower:function(){return this.phasesConfigured===3?this.minPower3p:this.minPower1p},showConfigurablePhases:function(){return[0,1,3].includes(this.phasesConfigured)},showCurrentSettings:function(){return this.$hiddenFeatures},showMinSoCSettings:function(){return this.$hiddenFeatures}},watch:{maxCurrent:function(t){this.selectedMaxCurrent=t},minCurrent:function(t){this.selectedMinCurrent=t},phasesConfigured:function(t){this.selectedPhases=t},minSoC:function(t){this.selectedMinSoC=t}},methods:{formId:function(t){return`loadpoint_${this.id}_${t}`},changeMaxCurrent:function(){this.$emit("maxcurrent-updated",this.selectedMaxCurrent)},changeMinCurrent:function(){this.$emit("mincurrent-updated",this.selectedMinCurrent)},changePhasesConfigured:function(){this.$emit("phasesconfigured-updated",this.selectedPhases)},changeMinSoC:function(){this.$emit("minsoc-updated",this.selectedMinSoC)},currentOptions:function(t,e=16){const n=[],r=t?32:this.maxCurrent,i=t?this.minCurrent:6;for(let s=r;s>=i;s--){let o=`${s} A`;s===e&&(o+=` (${this.$t("main.loadpointSettings.default")})`),n.push({value:s,name:o})}return n}}},ld=t=>(bt("data-v-c8fc2df3"),t=t(),yt(),t),PP=["id"],NP={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},OP={class:"modal-content"},IP={class:"modal-header"},MP={class:"modal-title"},DP=ld(()=>y("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),RP={class:"modal-body"},$P={class:"container"},FP={key:0,class:"d-flex align-items-center mb-3 mt-0 text-evcc"},VP=ld(()=>y("shopicon-bold-car3",{class:"ms-2"},null,-1)),jP={key:1,class:"mb-3 row"},zP=["for"],HP={class:"col-sm-8 pe-0"},BP=["id"],UP=["value"],WP={key:2,class:"d-flex align-items-center mb-3 mt-4 text-evcc"},KP=ld(()=>y("shopicon-bold-lightning",{class:"ms-1"},null,-1)),YP={key:3,class:"mb-3 row"},GP=["for"],qP={class:"col-sm-8 pe-0"},XP={class:"form-check"},QP=["id","name"],ZP=["for"],JP={class:"form-check"},eN=["id","name"],tN=["for"],nN={class:"form-check"},rN=["id","name"],iN=["for"],sN={key:4,class:"mb-3 row"},oN=["for"],aN={class:"col-sm-8 pe-0 d-flex align-items-center"},lN=["id"],cN=["value"],uN={class:"ms-3"},dN={key:5,class:"mb-3 row"},fN=["for"],hN={class:"col-sm-8 pe-0 d-flex align-items-center"},mN=["id"],pN=["value"],gN={class:"ms-3"},_N={class:"small mt-3 text-muted mb-0"},vN={class:"text-evcc"};function bN(t,e,n,r,i,s){return M(),Te(io,{to:"body"},[y("div",{id:`loadpointSettingsModal_${n.id}`,class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},[y("div",NP,[y("div",OP,[y("div",IP,[y("h5",MP,F(t.$t("main.loadpointSettings.title",[n.title])),1),DP]),y("div",RP,[y("div",$P,[s.showMinSoCSettings?(M(),j("h4",FP,[Le(F(t.$t("main.loadpointSettings.vehicle"))+" ",1),VP])):_e("",!0),s.showMinSoCSettings?(M(),j("div",jP,[y("label",{for:s.formId("minsoc"),class:"col-sm-4 col-form-label pt-0 pt-sm-1"},F(t.$t("main.loadpointSettings.minSoC.label")),9,zP),y("div",HP,[Gt(y("select",{id:s.formId("minsoc"),"onUpdate:modelValue":e[0]||(e[0]=o=>t.selectedMinSoC=o),class:"form-select form-select-sm mb-2 w-50",onChange:e[1]||(e[1]=(...o)=>s.changeMinSoC&&s.changeMinSoC(...o))},[(M(),j(Ae,null,Qe([0,5,10,15,20,25,30,35,40,45,50],o=>y("option",{key:o,value:o},F(o?`${o}%`:"--"),9,UP)),64))],40,BP),[[Ro,t.selectedMinSoC,void 0,{number:!0}]]),y("small",null,F(t.$t("main.loadpointSettings.minSoC.description",[t.selectedMinSoC||"x"])),1)])])):_e("",!0),s.showConfigurablePhases||s.showCurrentSettings?(M(),j("h4",WP,[Le(F(t.$t("main.loadpointSettings.currents"))+" ",1),KP])):_e("",!0),s.showConfigurablePhases?(M(),j("div",YP,[y("label",{for:s.formId("phases_0"),class:"col-sm-4 col-form-label pt-0"},F(t.$t("main.loadpointSettings.phasesConfigured.label")),9,GP),y("div",qP,[y("div",XP,[Gt(y("input",{id:s.formId("phases_0"),"onUpdate:modelValue":e[2]||(e[2]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:0,onChange:e[3]||(e[3]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,QP),[[hl,t.selectedPhases,void 0,{number:!0}]]),y("label",{class:"form-check-label",for:s.formId("phases_0")},F(t.$t("main.loadpointSettings.phasesConfigured.phases_0")),9,ZP)]),y("div",JP,[Gt(y("input",{id:s.formId("phases_1"),"onUpdate:modelValue":e[4]||(e[4]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:1,onChange:e[5]||(e[5]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,eN),[[hl,t.selectedPhases,void 0,{number:!0}]]),y("label",{class:"form-check-label",for:s.formId("phases_1")},[Le(F(t.$t("main.loadpointSettings.phasesConfigured.phases_1"))+" ",1),y("small",null,F(t.$t("main.loadpointSettings.phasesConfigured.phases_1_hint",{min:s.minPower1p,max:s.maxPower1p})),1)],8,tN)]),y("div",nN,[Gt(y("input",{id:s.formId("phases_3"),"onUpdate:modelValue":e[6]||(e[6]=o=>t.selectedPhases=o),class:"form-check-input",type:"radio",name:s.formId("phases"),value:3,onChange:e[7]||(e[7]=(...o)=>s.changePhasesConfigured&&s.changePhasesConfigured(...o))},null,40,rN),[[hl,t.selectedPhases,void 0,{number:!0}]]),y("label",{class:"form-check-label",for:s.formId("phases_3")},[Le(F(t.$t("main.loadpointSettings.phasesConfigured.phases_3"))+" ",1),y("small",null,F(t.$t("main.loadpointSettings.phasesConfigured.phases_3_hint",{min:s.minPower3p,max:s.maxPower3p})),1)],8,iN)])])])):_e("",!0),t.$hiddenFeatures?(M(),j("div",sN,[y("label",{for:s.formId("maxcurrent"),class:"col-sm-4 col-form-label pt-0 pt-sm-2"},F(t.$t("main.loadpointSettings.maxCurrent.label")),9,oN),y("div",aN,[Gt(y("select",{id:s.formId("maxcurrent"),"onUpdate:modelValue":e[8]||(e[8]=o=>t.selectedMaxCurrent=o),class:"form-select form-select-sm w-50",onChange:e[9]||(e[9]=(...o)=>s.changeMaxCurrent&&s.changeMaxCurrent(...o))},[(M(!0),j(Ae,null,Qe(s.currentOptions(!0,16),({value:o,name:a})=>(M(),j("option",{key:o,value:o},F(a),9,cN))),128))],40,lN),[[Ro,t.selectedMaxCurrent,void 0,{number:!0}]]),y("small",uN,"~ "+F(s.maxPower),1)])])):_e("",!0),t.$hiddenFeatures?(M(),j("div",dN,[y("label",{for:s.formId("mincurrent"),class:"col-sm-4 col-form-label pt-0 pt-sm-2"},F(t.$t("main.loadpointSettings.minCurrent.label")),9,fN),y("div",hN,[Gt(y("select",{id:s.formId("mincurrent"),"onUpdate:modelValue":e[10]||(e[10]=o=>t.selectedMinCurrent=o),class:"form-select form-select-sm w-50",onChange:e[11]||(e[11]=(...o)=>s.changeMinCurrent&&s.changeMinCurrent(...o))},[(M(!0),j(Ae,null,Qe(s.currentOptions(!1,6),({value:o,name:a})=>(M(),j("option",{key:o,value:o},F(a),9,pN))),128))],40,mN),[[Ro,t.selectedMinCurrent,void 0,{number:!0}]]),y("small",gN,"~ "+F(s.minPower),1)])])):_e("",!0)]),y("p",_N,[y("strong",vN,F(t.$t("main.loadpointSettings.disclaimerHint")),1),Le(" "+F(t.$t("main.loadpointSettings.disclaimerText")),1)])])])])],8,PP)])}const Jh=we(LP,[["render",bN],["__scopeId","data-v-c8fc2df3"]]),yN={name:"Loadpoint",components:{Mode:I4,Vehicle:Ic,Phases:Zh,LabelAndValue:lo,LoadpointSettingsButton:CP,LoadpointSettingsModal:Jh},mixins:[Pt,za],props:{id:Number,single:Boolean,title:String,mode:String,targetSoC:Number,targetEnergy:Number,remoteDisabled:Boolean,remoteDisabledSource:String,chargeDuration:Number,charging:Boolean,connected:Boolean,enabled:Boolean,vehicleDetectionActive:Boolean,vehiclePresent:Boolean,vehicleRange:Number,vehicleSoC:Number,vehicleTitle:String,vehicleTargetSoC:Number,vehicleCapacity:Number,vehicleFeatureOffline:Boolean,vehicles:Array,minSoC:Number,targetTime:String,targetTimeActive:Boolean,targetTimeProjectedStart:String,vehicleProviderLoggedIn:Boolean,vehicleProviderLoginPath:String,vehicleProviderLogoutPath:String,chargePower:Number,chargedEnergy:Number,climater:String,chargeRemainingDuration:Number,phases:Number,phasesConfigured:Number,minCurrent:Number,maxCurrent:Number,phasesActive:Number,chargeCurrent:Number,connectedDuration:Number,chargeCurrents:Array,chargeConfigured:Boolean,chargeRemainingEnergy:Number,phaseAction:String,phaseRemaining:Number,pvRemaining:Number,pvAction:String},data(){return{tickerHandler:null,phaseRemainingInterpolated:this.phaseRemaining,pvRemainingInterpolated:this.pvRemaining,chargeDurationInterpolated:this.chargeDuration,chargeRemainingDurationInterpolated:this.chargeRemainingDuration}},computed:{phasesProps:function(){return this.collectProps(Zh)},settingsModal:function(){return this.collectProps(Jh)},settingsButtonVisible:function(){return this.$hiddenFeatures||[0,1,3].includes(this.phasesConfigured)},vehicle:function(){return this.collectProps(Ic)},showChargingIndicator:function(){return this.charging&&this.chargePower>0},socBasedCharging:function(){return!this.vehicleFeatureOffline&&this.vehiclePresent}},watch:{phaseRemaining(){this.phaseRemainingInterpolated=this.phaseRemaining},pvRemaining(){this.pvRemainingInterpolated=this.pvRemaining},chargeDuration(){this.chargeDurationInterpolated=this.chargeDuration},chargeRemainingDuration(){this.chargeRemainingDurationInterpolated=this.chargeRemainingDuration}},mounted(){this.tickerHandler=setInterval(this.tick,1e3)},unmounted(){clearInterval(this.tickerHandler)},methods:{tick(){this.phaseRemainingInterpolated>0&&this.phaseRemainingInterpolated--,this.pvRemainingInterpolated>0&&this.pvRemainingInterpolated--,this.chargeDurationInterpolated>0&&this.charging&&this.chargeDurationInterpolated++,this.chargeRemainingDurationInterpolated>0&&this.charging&&this.chargeRemainingDurationInterpolated--},apiPath:function(t){return"loadpoints/"+this.id+"/"+t},setTargetMode:function(t){ot.post(this.apiPath("mode")+"/"+t)},setTargetSoC:function(t){ot.post(this.apiPath("targetsoc")+"/"+t)},setTargetEnergy:function(t){ot.post(this.apiPath("targetenergy")+"/"+t)},setMaxCurrent:function(t){ot.post(this.apiPath("maxcurrent")+"/"+t)},setMinCurrent:function(t){ot.post(this.apiPath("mincurrent")+"/"+t)},setPhasesConfigured:function(t){ot.post(this.apiPath("phases")+"/"+t)},setMinSoC:function(t){ot.post(this.apiPath("minsoc")+"/"+t)},setTargetTime:function(t){ot.post(`${this.apiPath("targetcharge")}/${this.targetSoC}/${t.toISOString()}`)},removeTargetTime:function(){ot.delete(this.apiPath("targetcharge"))},changeVehicle(t){ot.post(this.apiPath("vehicle")+`/${t}`)},removeVehicle(){ot.delete(this.apiPath("vehicle"))},fmtPower(t){const e=t==0||t>=1e3;return this.fmtKw(t,e)},fmtEnergy(t){const e=t==0||t>=1e3;return this.fmtKWh(t,e)}}},wN=t=>(bt("data-v-ea58e76c"),t=t(),yt(),t),EN={class:"loadpoint pt-4 pb-2 px-3 px-sm-4 mx-2 mx-sm-0"},TN={class:"d-block d-sm-flex justify-content-between align-items-center mb-3"},CN={class:"d-flex justify-content-between align-items-center mb-3"},SN={class:"me-2 mb-0 text-truncate"},kN={class:"mb-3 d-flex align-items-center"},AN={class:"details d-flex align-items-start mb-3"},xN={class:"d-flex align-items-center"},LN=wN(()=>y("hr",{class:"divider"},null,-1));function PN(t,e,n,r,i,s){const o=ue("LoadpointSettingsButton"),a=ue("Mode"),l=ue("LoadpointSettingsModal"),c=ue("LabelAndValue"),u=ue("Phases"),f=ue("Vehicle");return M(),j("div",EN,[y("div",TN,[y("div",CN,[y("h3",SN,F(n.title||t.$t("main.loadpoint.fallbackName")),1),s.settingsButtonVisible?(M(),Te(o,{key:0,id:n.id,class:"d-block d-sm-none"},null,8,["id"])):_e("",!0)]),y("div",kN,[re(a,{class:"flex-grow-1",mode:n.mode,onUpdated:s.setTargetMode},null,8,["mode","onUpdated"]),s.settingsButtonVisible?(M(),Te(o,{key:0,id:n.id,class:"d-none d-sm-block ms-2"},null,8,["id"])):_e("",!0)])]),re(l,Dt(s.settingsModal,{onMaxcurrentUpdated:s.setMaxCurrent,onMincurrentUpdated:s.setMinCurrent,onPhasesconfiguredUpdated:s.setPhasesConfigured,onMinsocUpdated:s.setMinSoC}),null,16,["onMaxcurrentUpdated","onMincurrentUpdated","onPhasesconfiguredUpdated","onMinsocUpdated"]),n.remoteDisabled?(M(),j("div",{key:0,class:Me(["alert alert-warning my-4 py-2",`${n.remoteDisabled==="hard"?"alert-danger":"alert-warning"}`]),role:"alert"},F(t.$t(n.remoteDisabled==="hard"?"main.loadpoint.remoteDisabledHard":"main.loadpoint.remoteDisabledSoft",{source:n.remoteDisabledSource})),3)):_e("",!0),y("div",AN,[y("div",null,[y("div",xN,[re(c,{label:t.$t("main.loadpoint.power"),value:n.chargePower,valueFmt:s.fmtPower,class:"mb-2",align:"start"},null,8,["label","value","valueFmt"]),y("shopicon-regular-lightning",{class:Me(["text-evcc opacity-transiton",`opacity-${s.showChargingIndicator?"100":"0"}`]),size:"m"},null,2)]),re(u,Dt(s.phasesProps,{class:["opacity-transiton",`opacity-${s.showChargingIndicator?"100":"0"}`]}),null,16,["class"])]),Gt(re(c,{label:t.$t("main.loadpoint.charged"),value:s.fmtEnergy(n.chargedEnergy),align:"center"},null,8,["label","value"]),[[Iu,s.socBasedCharging]]),i.chargeRemainingDurationInterpolated?(M(),Te(c,{key:0,label:t.$t("main.loadpoint.remaining"),value:` ${t.fmtShortDuration(i.chargeRemainingDurationInterpolated)} ${t.fmtShortDurationUnit(i.chargeRemainingDurationInterpolated,!0)}`,align:"end"},null,8,["label","value"])):(M(),Te(c,{key:1,label:t.$t("main.loadpoint.duration"),value:` ${t.fmtShortDuration(i.chargeDurationInterpolated)} - ${t.fmtShortDurationUnit(i.chargeDurationInterpolated)}`,align:"end"},null,8,["label","value"]))]),LN,re(f,Dt(s.vehicle,{onTargetSocUpdated:s.setTargetSoC,onTargetEnergyUpdated:s.setTargetEnergy,onTargetTimeUpdated:s.setTargetTime,onTargetTimeRemoved:s.removeTargetTime,onChangeVehicle:s.changeVehicle,onRemoveVehicle:s.removeVehicle}),null,16,["onTargetSocUpdated","onTargetEnergyUpdated","onTargetTimeUpdated","onTargetTimeRemoved","onChangeVehicle","onRemoveVehicle"])])}const NN=we(yN,[["render",PN],["__scopeId","data-v-ea58e76c"]]),ON={name:"Site",components:{Loadpoint:NN},props:{loadpoints:Array,vehicles:Array},data(){return{selectedIndex:0,snapTimeout:null}},mounted(){this.$refs.carousel.addEventListener("scroll",this.handleCarouselScroll,!1)},unmounted(){this.$refs.carousel&&this.$refs.carousel.removeEventListener("scroll",this.handleCarouselScroll)},methods:{handleCarouselScroll(){const{scrollLeft:t}=this.$refs.carousel,{offsetWidth:e}=this.$refs.carousel.children[0];this.selectedIndex=Math.round((t-7.5)/e)},selected(t){return this.selectedIndex===t},scrollTo(t){if(this.selectedIndex===t)return;this.selectedIndex=t;const e=this.$refs.carousel,n=e.children[0].offsetWidth;e.style.scrollSnapType="none",e.scrollTo({top:0,left:7.5+n*t,behavior:"smooth"}),clearTimeout(this.snapTimeout),this.snapTimeout=setTimeout(()=>{this.$refs.carousel.style.scrollSnapType="x mandatory"},1e3)}}},IN=t=>(bt("data-v-024a6ae6"),t=t(),yt(),t),MN={class:"container container--loadpoint px-0 mb-md-2 d-flex flex-column justify-content-center"},DN={ref:"carousel",class:"carousel d-lg-flex flex-wrap"},RN={key:0,class:"d-flex d-lg-none justify-content-center"},$N=["onClick"],FN=IN(()=>y("shopicon-filled-circle",{class:"indicator-icon"},null,-1)),VN=[FN];function zN(t,e,n,r,i,s){const o=ue("Loadpoint");return M(),z("div",MN,[y("div",DN,[(M(!0),z(ke,null,Qe(n.loadpoints,(a,l)=>(M(),z("div",{key:l,class:"flex-grow-1 mb-3 m-lg-0 p-lg-0"},[re(o,Dt(a,{id:l,vehicles:n.vehicles,class:["h-100",{"loadpoint-unselected":!s.selected(l)}],onClick:c=>s.scrollTo(l)}),null,16,["id","vehicles","class","onClick"])]))),128))],512),n.loadpoints.length>1?(M(),z("div",RN,[(M(!0),z(ke,null,Qe(n.loadpoints,(a,l)=>(M(),z("button",{key:l,class:Me(["btn btn-sm btn-link p-0 mx-1 indicator d-flex justify-content-center align-items-center evcc-default-text",{"indicator--selected":s.selected(l)}]),onClick:c=>s.scrollTo(l)},VN,10,$N))),128))])):_e("",!0)])}const HN=we(ON,[["render",zN],["__scopeId","data-v-024a6ae6"]]),jN={name:"Vehicles",components:{Vehicle:Ic},data(){return{refreshing:!1,vehicles:[{vehiclePresent:!0,vehicleTitle:"Ford Mustang Mach-E",vehicleSoC:46,vehicleRange:182,targetSoC:100},{vehiclePresent:!0,vehicleTitle:"Renault Twingo Electric",vehicleSoC:77,vehicleRange:98,targetSoC:90},{vehiclePresent:!0,vehicleTitle:"Blauer VW ID.4",vehicleSoC:16,vehicleRange:52,minSoC:35,targetSoC:60}]}},methods:{refresh(){this.refreshing=!0,window.setTimeout(()=>{this.refreshing=!1},5e3)}}},BN=t=>(bt("data-v-7430d6bb"),t=t(),yt(),t),UN={class:"container px-4 mb-3 mb-sm-4 d-flex justify-content-start align-items-center"},WN={class:"m-0"},KN=["disabled"],YN=BN(()=>y("shopicon-regular-refresh",{class:"refresh-icon"},null,-1)),qN=[YN];function GN(t,e,n,r,i,s){const o=ue("Vehicle");return M(),z("div",null,[y("div",UN,[y("h2",WN,F(t.$t("main.vehicles")),1),y("button",{class:Me(["btn btn-link d-flex evcc-default-text p-2 ms-1 refresh",{"refresh--in-progress":i.refreshing}]),disabled:i.refreshing,onClick:e[0]||(e[0]=(...a)=>s.refresh&&s.refresh(...a))},qN,10,KN)]),y("div",{class:Me(["container vehicles px-0 mb-5",`vehicles-${i.vehicles.length}`])},[(M(!0),z(ke,null,Qe(i.vehicles,(a,l)=>(M(),Te(o,Dt(a,{id:`vehicle_${l}`,key:l,class:"vehicle",parked:""}),null,16,["id"]))),128))],2)])}const XN=we(jN,[["render",GN],["__scopeId","data-v-7430d6bb"]]);var QN='';class ZN extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=QN}}window.customElements.define("shopicon-filled-testtube",ZN);const JN={name:"Logo"},cd=t=>(bt("data-v-9d6237eb"),t=t(),yt(),t),eO={viewBox:"0 0 122 35",xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2"},tO=cd(()=>y("path",{d:"M13.082 29.071a12.384 12.384 0 01-9-3.42 12.192 12.192 0 01-3.54-9.12v-.64a15.394 15.394 0 011.47-6.83 10.825 10.825 0 014.17-4.64 11.64 11.64 0 016.15-1.63 10.45 10.45 0 018.21 3.26c2 2.194 3 5.297 3 9.31v2.76H7.382a6.348 6.348 0 002 4 5.997 5.997 0 004.16 1.49 7.305 7.305 0 006.1-2.84l3.31 3.73a10 10 0 01-4.13 3.39 13.309 13.309 0 01-5.74 1.18zm-.77-20.84a4.216 4.216 0 00-3.26 1.37 7.141 7.141 0 00-1.6 3.91h9.39v-.55a5.005 5.005 0 00-1.22-3.49 4.304 4.304 0 00-3.31-1.24zM36.452 20.331l4.7-17.09h7l-8.48 25.36h-6.44l-8.52-25.36h7l4.74 17.09zM85.542 23.611a4.444 4.444 0 003-1 3.638 3.638 0 001.22-2.75h6.32a8.668 8.668 0 01-1.4 4.73 9.145 9.145 0 01-3.79 3.3 11.736 11.736 0 01-5.29 1.19 10.912 10.912 0 01-8.54-3.46c-2.087-2.3-3.13-5.483-3.13-9.55v-.45c0-3.9 1.033-7.016 3.1-9.35a10.868 10.868 0 018.51-3.5c2.791-.134 5.524.84 7.6 2.71a9.626 9.626 0 012.9 7.21h-6.3a4.663 4.663 0 00-1.2-3.22 4.005 4.005 0 00-3.08-1.24 4.068 4.068 0 00-3.56 1.73c-.8 1.15-1.2 3-1.2 5.6v.7c0 2.61.39 4.49 1.19 5.63a4.092 4.092 0 003.65 1.72zM110.422 23.611a4.454 4.454 0 003-1 3.63 3.63 0 001.21-2.75h6.33a8.668 8.668 0 01-1.4 4.73 9.143 9.143 0 01-3.73 3.3 11.76 11.76 0 01-5.29 1.18 10.912 10.912 0 01-8.54-3.46c-2.087-2.3-3.13-5.483-3.13-9.55v-.45c0-3.9 1.033-7.016 3.1-9.35a10.85 10.85 0 018.57-3.49 10.575 10.575 0 017.6 2.71 9.598 9.598 0 012.91 7.21h-6.33a4.651 4.651 0 00-1.21-3.22 4.492 4.492 0 00-6.64.49c-.8 1.15-1.21 3-1.21 5.6v.7c0 2.607.4 4.484 1.2 5.63a4.09 4.09 0 003.56 1.72z",fill:"#fff",class:"letter","fill-rule":"nonzero"},null,-1)),nO=cd(()=>y("path",{d:"M58.462.751h9.22l-6.14 12.3h6.15l-11.53 21.51 2.3-15.36h-7.68l7.68-18.45z",fill:"#0fdd42","fill-rule":"nonzero"},null,-1)),rO=cd(()=>y("path",{fill:"none",d:"M-24.458-22.109h170v76h-170z"},null,-1)),iO=[tO,nO,rO];function sO(t,e,n,r,i,s){return M(),z("svg",eO,iO)}const oO=we(JN,[["render",sO],["__scopeId","data-v-9d6237eb"]]);var aO='';class lO extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=aO}}window.customElements.define("shopicon-regular-gift",lO);var cO='';class uO extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=cO}}window.customElements.define("shopicon-regular-moonstars",uO);const dO={name:"Version",components:{Logo:oO},props:{installed:String,available:String,releaseNotes:String,commit:String,hasUpdater:Boolean,uploadMessage:String,uploadProgress:Number},data:function(){return{updateStarted:!1,updateStatus:""}},computed:{githubHashUrl:function(){return`https://github.com/evcc-io/evcc/commit/${this.commit}`},newVersionAvailable:function(){return this.available&&this.installed!="[[.Version]]"&&this.installed!="0.0.1-alpha"&&this.available!=this.installed}},methods:{update:async function(){try{await ot.post("update"),this.updateStatus=this.$t("footer.version.modalUpdateStatusStart"),this.updateStarted=!0}catch(t){this.updateStatus=this.$t("footer.version.modalUpdateStatusStart")+t}},releaseNotesUrl:function(t){return`https://github.com/evcc-io/evcc/releases/tag/${t}`}}},ja=t=>(bt("data-v-66915926"),t=t(),yt(),t),fO=["href"],hO=ja(()=>y("shopicon-regular-moonstars",{class:"ms-2 text-gray-light"},null,-1)),mO={key:1,href:"#","data-bs-toggle":"modal","data-bs-target":"#updateModal",class:"btn btn-link ps-0 text-decoration-none evcc-default-text text-nowrap d-flex align-items-end"},pO=ja(()=>y("shopicon-regular-gift",{class:"me-2"},null,-1)),gO={class:"ms-2 d-none d-xs-block d-sm-none text-decoration-underline"},_O={class:"ms-2 d-none d-sm-block text-gray-medium text-decoration-underline"},vO=["href"],bO={id:"updateModal",class:"modal fade text-dark",tabindex:"-1",role:"dialog","aria-hidden":"true"},yO={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},wO={class:"modal-content"},EO={class:"modal-header"},TO={class:"modal-title"},CO=ja(()=>y("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),SO={class:"modal-body"},AO={key:0},kO={class:"progress my-3"},xO={key:1},LO=["innerHTML"],PO={key:1},NO=["href"],OO={class:"modal-footer d-flex justify-content-between"},IO=["disabled"],MO=["disabled"],DO={key:0},RO=ja(()=>y("span",{class:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"},null,-1)),$O={key:1},FO=["href"];function VO(t,e,n,r,i,s){const o=ue("Logo");return M(),z("div",null,[n.commit?(M(),z("a",{key:0,href:s.githubHashUrl,target:"_blank",class:"btn btn-link ps-0 text-decoration-none evcc-default-text text-nowrap d-flex align-items-end"},[re(o,{class:"logo me-2"}),Le(" v"+F(n.installed)+" ",1),hO],8,fO)):s.newVersionAvailable?(M(),z("button",mO,[pO,Le(" v"+F(n.installed)+" ",1),y("span",gO,F(t.$t("footer.version.availableShort")),1),y("span",_O,F(t.$t("footer.version.availableLong")),1)])):(M(),z("a",{key:2,href:s.releaseNotesUrl(n.installed),target:"_blank",class:"btn btn-link evcc-default-text ps-0 text-decoration-none text-nowrap d-flex align-items-end"},[re(o,{class:"logo me-2"}),Le(" v"+F(n.installed),1)],8,vO)),(M(),Te(io,{to:"body"},[y("div",bO,[y("div",yO,[y("div",wO,[y("div",EO,[y("h5",TO,F(t.$t("footer.version.modalTitle")),1),CO]),y("div",SO,[t.updateStarted?(M(),z("div",AO,[y("p",null,F(t.$t("footer.version.modalUpdateStarted")),1),y("div",kO,[y("div",{class:"progress-bar progress-bar-striped progress-bar-animated",role:"progressbar",style:Ct({width:n.uploadProgress+"%"})},null,4)]),y("p",null,F(t.updateStatus)+F(n.uploadMessage),1)])):(M(),z("div",xO,[y("p",null,[y("small",null,F(t.$t("footer.version.modalInstalledVersion"))+": "+F(n.installed),1)]),n.releaseNotes?(M(),z("div",{key:0,innerHTML:n.releaseNotes},null,8,LO)):(M(),z("p",PO,[Le(F(t.$t("footer.version.modalNoReleaseNotes"))+" ",1),y("a",{href:s.releaseNotesUrl(n.available)},"GitHub",8,NO),Le(". ")]))]))]),y("div",OO,[y("button",{type:"button",class:"btn btn-outline-secondary",disabled:t.updateStarted,"data-bs-dismiss":"modal"},F(t.$t("footer.version.modalCancel")),9,IO),y("div",null,[n.hasUpdater?(M(),z("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.updateStarted,onClick:e[0]||(e[0]=(...a)=>s.update&&s.update(...a))},[t.updateStarted?(M(),z("span",DO,[RO,Le(" "+F(t.$t("footer.version.modalUpdate")),1)])):(M(),z("span",$O,F(t.$t("footer.version.modalUpdateNow")),1))],8,MO)):(M(),z("a",{key:1,href:s.releaseNotesUrl(n.available),class:"btn btn-primary"},F(t.$t("footer.version.modalDownload")),9,FO))])])])])])]))])}const zO=we(dO,[["render",VO],["__scopeId","data-v-66915926"]]);var co={};(function t(e,n,r,i){var s=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL);function o(){}function a(D){var L=n.exports.Promise,Y=L!==void 0?L:e.Promise;return typeof Y=="function"?new Y(D):(D(o,o),null)}var l=function(){var D=Math.floor(16.666666666666668),L,Y,W={},Z=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(L=function(oe){var le=Math.random();return W[le]=requestAnimationFrame(function ae(ce){Z===ce||Z+D-1(bt("data-v-d8707b23"),t=t(),yt(),t),YO={key:0},qO={class:"fw-bold mb-1 d-flex"},GO=ud(()=>y("shopicon-regular-heart",{class:"title-icon text-primary d-inline-block me-1"},null,-1)),XO={class:"mb-3"},QO={class:"d-flex justify-content-center align-items-center flex-column flex-lg-row align-items-lg-baseline justify-content-lg-start"},ZO=ud(()=>y("shopicon-regular-stars",{class:"me-1 d-inline-block"},null,-1)),JO={href:"https://evcc.io/sticker",target:"_blank",class:"small text-muted ms-lg-3"},e3={key:1},t3={class:"fw-bold mb-1"},n3={class:"mb-3"},r3={class:"d-flex justify-content-center align-items-center flex-column flex-lg-row align-items-lg-baseline justify-content-lg-start"},i3={target:"_blank",href:"https://github.com/sponsors/evcc-io",class:"btn btn-outline-primary mb-3 become-sponsor"},s3=ud(()=>y("shopicon-regular-heart",{class:"me-1 d-inline-block"},null,-1)),o3={class:"small text-muted text-center ms-lg-3"};function a3(t,e,n,r,i,s){return n.sponsor?(M(),z("div",YO,[y("p",qO,[GO,Le(" "+F(t.$t("footer.sponsor.titleSponsor")),1)]),y("p",XO,F(t.$t("footer.sponsor.thanks",{sponsor:n.sponsor})),1),y("div",QO,[y("button",{ref:"confetti",class:"btn btn btn-outline-primary mb-2 confetti-button bg-evcc rounded",onClick:e[0]||(e[0]=(...o)=>s.surprise&&s.surprise(...o))},[ZO,Le(" "+F(t.$t("footer.sponsor.confetti")),1)],512),y("a",JO,F(t.$t("footer.sponsor.sticker")),1)])])):(M(),z("div",e3,[y("p",t3,F(t.$t("footer.sponsor.titleNoSponsor")),1),y("p",n3,F(t.$t("footer.sponsor.supportUs")),1),y("div",r3,[y("a",i3,[s3,Le(" "+F(t.$t("footer.sponsor.becomeSponsor")),1)]),y("div",o3,F(t.$t("footer.sponsor.confettiPromise")),1)])]))}const l3=we(KO,[["render",a3],["__scopeId","data-v-d8707b23"]]);var c3='';class u3 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=c3}}window.customElements.define("shopicon-regular-coinjar",u3);var d3='';class f3 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=d3}}window.customElements.define("shopicon-regular-receivepayment",f3);var h3='';class m3 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=h3}}window.customElements.define("shopicon-regular-eco1",m3);const p3={name:"SavingsTile",components:{AnimatedNumber:ri},props:{title:String,icon:String,value:[String,Number],valueFmt:Function,animationDuration:Number,unit:String,sub1:String,sub2:String}},g3=t=>(bt("data-v-b7d590a3"),t=t(),yt(),t),_3={class:"flex-shrink-1 d-flex mb-4 mb-lg-0 align-items-center align-items-lg-start"},v3={key:0,class:"tile-icon"},b3={key:1,class:"tile-icon"},y3={key:2,class:"tile-icon"},w3={key:3,class:"tile-icon"},E3={key:4,class:"tile-icon"},T3={class:"ms-3 d-flex flex-grow-1 d-lg-block align-items-center justify-content-between"},C3={class:"my-0 fw-bold text-truncate"},S3={class:"d-flex align-items-baseline lh-sm"},A3={class:"fs-1"},k3={key:1},x3={class:"ms-1 unit"},L3={class:"d-block mt-0 ms-3 ms-lg-0 text-end text-lg-start"},P3=g3(()=>y("br",null,null,-1));function N3(t,e,n,r,i,s){const o=ue("AnimatedNumber");return M(),z("div",_3,[n.icon==="sun"?(M(),z("shopicon-regular-sun",v3)):_e("",!0),n.icon==="coinjar"?(M(),z("shopicon-regular-coinjar",b3)):_e("",!0),n.icon==="receivepayment"?(M(),z("shopicon-regular-receivepayment",y3)):_e("",!0),n.icon==="car"?(M(),z("shopicon-regular-car3",w3)):_e("",!0),n.icon==="eco"?(M(),z("shopicon-regular-eco1",E3)):_e("",!0),y("div",T3,[y("div",null,[y("p",C3,F(n.title),1),y("strong",S3,[y("span",A3,[n.valueFmt?(M(),Te(o,{key:0,to:n.value,format:n.valueFmt,duration:n.animationDuration},null,8,["to","format","duration"])):(M(),z("span",k3,F(n.value),1))]),y("span",x3,F(n.unit),1)])]),y("small",L3,[Le(F(n.sub1)+" ",1),P3,Le(" "+F(n.sub2),1)])])])}const mv=we(p3,[["render",N3],["__scopeId","data-v-b7d590a3"]]),pv=od.create({baseURL:"https://api.evcc.io/v1/",headers:{Accept:"application/json"}});pv.interceptors.response.use(t=>t,t=>{const e=t.config.baseURL+t.config.url,n=`${t.message}: API request failed ${e}`;return window.app.error({message:n}),Promise.reject(t)});const em=10,O3={name:"LiveCommunity",components:{SavingsTile:mv},mixins:[Pt],props:{},data(){return{refresh:null,result:{},animationDuration:.5}},computed:{totalClients(){return this.result.totalClients},activeClients(){return this.result.activeClients},chargePower(){const{chargePower:t=0}=this.result;return t/1e3},greenShare(){const{chargePower:t,greenPower:e}=this.result;return t?100/t*e:0},greenEnergyMWh(){const{greenEnergy:t=0}=this.result;return t/1e3}},async mounted(){this.refresh=setInterval(this.update,em*1e3),await this.update(),this.$nextTick(()=>{this.animationDuration=em})},unmounted(){clearInterval(this.refresh)},methods:{async update(){try{const t=await pv.get("total");this.result=t.data||{}}catch(t){console.error(t)}},numberAnimationFmt(t){return this.fmtNumber(t,1)}}},I3={class:"d-block d-lg-flex mb-2 justify-content-between"};function M3(t,e,n,r,i,s){const o=ue("SavingsTile");return M(),z("div",I3,[re(o,{class:"text-accent2",icon:"car",title:t.$t("footer.community.power"),value:s.chargePower,valueFmt:s.numberAnimationFmt,animationDuration:i.animationDuration,unit:"kW",sub1:t.$t("footer.community.powerSub1",{totalClients:s.totalClients,activeClients:s.activeClients}),sub2:t.$t("footer.community.powerSub2")},null,8,["title","value","valueFmt","animationDuration","sub1","sub2"]),re(o,{class:"text-accent1",icon:"sun",title:t.$t("footer.community.greenShare"),value:s.greenShare,valueFmt:s.numberAnimationFmt,animationDuration:i.animationDuration,unit:"%",sub1:t.$t("footer.community.greenShareSub1"),sub2:t.$t("footer.community.greenShareSub2")},null,8,["title","value","valueFmt","animationDuration","sub1","sub2"]),re(o,{class:"text-accent3",icon:"eco",title:t.$t("footer.community.greenEnergy"),value:s.greenEnergyMWh,valueFmt:s.numberAnimationFmt,animationDuration:i.animationDuration,unit:"MWh",sub1:t.$t("footer.community.greenEnergySub1"),sub2:t.$t("footer.community.greenEnergySub2")},null,8,["title","value","valueFmt","animationDuration","sub1","sub2"])])}const D3=we(O3,[["render",M3]]);function R3(t){return t.replace(/\*\*(.*)\*\*/gim,"$1").replace(/\*(.*)\*/gim,"$1").replace(/`(.*)`/gim,"
$1
").trim()}const $3={name:"TelemetrySettings",props:{sponsor:String},data(){return{enabled:!1,error:null}},async mounted(){await this.update()},methods:{async change(t){try{this.error=null;const e=await ot.post(`settings/telemetry/${t.target.checked}`);this.enabled=e.data.result}catch(e){e.response&&(this.error=R3("**Error:** "+e.response.data.error),this.enabled=!1)}},async update(){try{const t=await ot.get("settings/telemetry");this.enabled=t.data.result}catch(t){console.error(t)}}}},F3={class:"form-check form-switch my-3"},V3=["disabled"],z3={class:"form-check-label"},H3={for:"telemetryEnabled"},j3={href:"https://docs.evcc.io/docs/guides/setup/#telemetry--community-daten",target:"_blank"},B3={key:1},U3=["innerHTML"];function W3(t,e,n,r,i,s){const o=ue("i18n-t");return M(),z("div",F3,[qt(y("input",{id:"telemetryEnabled","onUpdate:modelValue":e[0]||(e[0]=a=>i.enabled=a),class:"form-check-input",type:"checkbox",role:"switch",disabled:!n.sponsor,onChange:e[1]||(e[1]=(...a)=>s.change&&s.change(...a))},null,40,V3),[[sC,i.enabled]]),y("div",z3,[y("label",H3,[Le(F(t.$t("footer.telemetry.optIn"))+" ",1),n.sponsor?(M(),Te(o,{key:0,tag:"span",keypath:"footer.telemetry.optInMoreDetails"},{default:Je(()=>[y("a",j3,F(t.$t("footer.telemetry.optInMoreDetailsLink")),1)]),_:1})):(M(),z("span",B3,F(t.$t("footer.telemetry.optInSponsorship")),1))]),i.error?(M(),z("div",{key:0,class:"errorMessage my-1 text-danger",innerHTML:i.error},null,8,U3)):_e("",!0)])])}const K3=we($3,[["render",W3],["__scopeId","data-v-af252ca6"]]),Y3={name:"Savings",components:{Sponsor:l3,SavingsTile:mv,LiveCommunity:D3,TelemetrySettings:K3},mixins:[Pt],props:{selfConsumptionPercent:Number,since:{type:Number,default:0},sponsor:String,amount:{type:Number,default:0},effectivePrice:{type:Number,default:0},totalCharged:{type:Number,default:0},gridCharged:{type:Number,default:0},selfConsumptionCharged:{type:Number,default:0},gridPrice:{type:Number},feedInPrice:{type:Number},currency:String},data(){return{communityView:!1,telemetryEnabled:!1}},computed:{percent(){return Math.round(this.selfConsumptionPercent)||0},effectivePriceFormatted(){const[t,e]=this.fmtPricePerKWh(this.effectivePrice,this.currency).split(" ");return{value:t,unit:e}},startDate(){return new Date(this.since*1e3)}},methods:{showCommunity(){this.communityView=!0},showMyData(){this.communityView=!1}}},q3={class:"btn btn-link pe-0 text-decoration-none evcc-default-text text-nowrap d-flex align-items-end","data-bs-toggle":"modal","data-bs-target":"#savingsModal"},G3={class:"d-inline d-sm-none"},X3={class:"d-none d-sm-inline"},Q3=y("shopicon-regular-sun",{class:"ms-2 text-evcc"},null,-1),Z3={id:"savingsModal",ref:"modal",class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},J3={class:"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable",role:"document"},e8={class:"modal-content"},t8={class:"modal-header"},n8={class:"modal-title"},r8=y("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),i8={class:"modal-body"},s8={class:"nav nav-tabs"},o8={class:"nav-item"},a8={class:"nav-item"},l8={key:0,class:"my-4"},c8={class:"d-block d-lg-flex mb-2 justify-content-between"},u8={class:"my-3 lh-2"},d8={key:1,class:"my-4"};function f8(t,e,n,r,i,s){const o=ue("SavingsTile"),a=ue("LiveCommunity"),l=ue("TelemetrySettings"),c=ue("Sponsor");return M(),z("div",null,[y("button",q3,[y("span",G3,F(t.$t("footer.savings.footerShort",{percent:s.percent})),1),y("span",X3,F(t.$t("footer.savings.footerLong",{percent:s.percent})),1),Q3]),(M(),Te(io,{to:"body"},[y("div",Z3,[y("div",J3,[y("div",e8,[y("div",t8,[y("h5",n8,F(t.$t("footer.savings.modalTitle")),1),r8]),y("div",i8,[y("ul",s8,[y("li",o8,[y("a",{class:Me(["nav-link",{active:!i.communityView}]),href:"#",onClick:e[0]||(e[0]=js((...u)=>s.showMyData&&s.showMyData(...u),["prevent"]))},F(t.$t("footer.savings.tabTitle")),3)]),y("li",a8,[y("a",{class:Me(["nav-link",{active:i.communityView}]),href:"#",onClick:e[1]||(e[1]=js((...u)=>s.showCommunity&&s.showCommunity(...u),["prevent"]))},F(t.$t("footer.community.tabTitle")),3)])]),i.communityView?(M(),z("div",d8,[re(a),re(l,{sponsor:n.sponsor},null,8,["sponsor"])])):(M(),z("div",l8,[y("div",c8,[re(o,{class:"text-accent1",icon:"sun",title:t.$t("footer.savings.percentTitle"),value:s.percent,unit:"%",sub1:t.$t("footer.savings.percentSelf",{self:t.fmtKw(n.selfConsumptionCharged*1e3,!0,!1)}),sub2:t.$t("footer.savings.percentGrid",{grid:t.fmtKw(n.gridCharged*1e3,!0,!1)})},null,8,["title","value","sub1","sub2"]),re(o,{class:"text-accent2",icon:"receivepayment",title:t.$t("footer.savings.priceTitle"),value:s.effectivePriceFormatted.value,unit:s.effectivePriceFormatted.unit,sub1:t.$t("footer.savings.priceFeedIn",{feedInPrice:t.fmtPricePerKWh(n.feedInPrice,n.currency)}),sub2:t.$t("footer.savings.priceGrid",{gridPrice:t.fmtPricePerKWh(n.gridPrice,n.currency)})},null,8,["title","value","unit","sub1","sub2"]),re(o,{class:"text-accent3",icon:"coinjar",title:t.$t("footer.savings.savingsTitle"),value:t.fmtMoney(n.amount,n.currency),unit:t.fmtCurrencySymbol(n.currency),sub1:t.$t("footer.savings.savingsComparedToGrid"),sub2:t.$t("footer.savings.savingsTotalEnergy",{total:t.fmtKw(n.totalCharged*1e3,!0,!1)})},null,8,["title","value","unit","sub1","sub2"])]),y("p",u8,[y("small",null,F(t.$t("footer.savings.since",{since:t.fmtDayMonthYear(s.startDate)})),1)])])),re(c,{sponsor:n.sponsor},null,8,["sponsor"])])])])],512)]))])}const h8=we(Y3,[["render",f8]]),m8={name:"Footer",components:{Version:zO,Savings:h8},props:{version:Object,sponsor:String,savings:Object},methods:{toggleHiddenFeatures(){const t=`\u{1F9EA} Experimentelle UI-Elemente ${this.$hiddenFeatures?"deaktivieren":"aktivieren"}`;window.confirm(t)&&(window.localStorage.hidden_features=!this.$hiddenFeatures,window.location.reload())}}},p8={class:"footer"},g8={class:"container py-2"},_8={class:"d-flex justify-content-between"};function v8(t,e,n,r,i,s){const o=ue("Version"),a=ue("Savings");return M(),z("footer",p8,[y("div",g8,[y("div",_8,[re(o,an(Yt(n.version)),null,16),re(a,Dt(n.savings,{sponsor:n.sponsor}),null,16,["sponsor"])])])])}const b8=we(m8,[["render",v8]]),y8={name:"Site",components:{Loadpoints:HN,Energyflow:Wh,Footer:b8,Notifications:t4,TopNavigation:dv,Vehicles:XN},mixins:[Pt,Ha],props:{loadpoints:Array,notifications:Array,offline:Boolean,gridConfigured:Boolean,gridPower:Number,homePower:Number,pvConfigured:Boolean,pvPower:Number,batteryConfigured:Boolean,batteryPower:Number,batterySoC:Number,gridCurrents:Array,prioritySoC:Number,siteTitle:String,vehicles:Array,auth:Object,currency:String,savingsAmount:Number,savingsEffectivePrice:Number,savingsGridCharged:Number,savingsSelfConsumptionCharged:Number,savingsSelfConsumptionPercent:Number,savingsSince:Number,savingsTotalCharged:Number,tariffFeedIn:Number,tariffGrid:Number,availableVersion:String,releaseNotes:String,hasUpdater:Boolean,uploadMessage:String,uploadProgress:Number,sponsor:String},computed:{energyflow:function(){return this.collectProps(Wh)},activeLoadpointsCount:function(){return this.loadpoints.filter(t=>t.chargePower>0).length},loadpointsPower:function(){return this.loadpoints.reduce((t,e)=>(t+=e.chargePower||0,t),0)},topNavigation:function(){return{vehicleLogins:this.auth?this.auth.vehicles:{}}},showParkingLot:function(){return!1},footer:function(){return{version:{installed:window.evcc.version,commit:window.evcc.commit,available:this.availableVersion,releaseNotes:this.releaseNotes,hasUpdater:this.hasUpdater,uploadMessage:this.uploadMessage,uploadProgress:this.uploadProgress},sponsor:this.sponsor,savings:{since:this.savingsSince,totalCharged:this.savingsTotalCharged,gridCharged:this.savingsGridCharged,selfConsumptionCharged:this.savingsSelfConsumptionCharged,amount:this.savingsAmount,effectivePrice:this.savingsEffectivePrice,selfConsumptionPercent:this.savingsSelfConsumptionPercent,gridPrice:this.tariffGrid,feedInPrice:this.tariffFeedIn,currency:this.currency}}}}},w8={class:"d-flex flex-column site"},E8={class:"container px-4 top-area"},T8={class:"d-flex justify-content-between align-items-center my-3"},C8={class:"d-block my-0"},S8={class:"d-flex"},A8={class:"d-flex flex-column justify-content-between content-area"};function k8(t,e,n,r,i,s){const o=ue("Notifications"),a=ue("TopNavigation"),l=ue("Energyflow"),c=ue("Loadpoints"),u=ue("Vehicles"),f=ue("Footer");return M(),z("div",w8,[y("div",E8,[y("div",T8,[y("h1",C8,F(n.siteTitle||"evcc"),1),y("div",S8,[re(o,{notifications:n.notifications,class:"me-2"},null,8,["notifications"]),re(a,an(Yt(s.topNavigation)),null,16)])]),re(l,an(Yt(s.energyflow)),null,16)]),y("div",A8,[re(c,{class:"mt-1 mt-sm-2 flex-grow-1",loadpoints:n.loadpoints,vehicles:n.vehicles},null,8,["loadpoints","vehicles"]),s.showParkingLot?(M(),Te(u,{key:0})):_e("",!0),re(f,an(Yt(s.footer)),null,16)])])}const x8=we(y8,[["render",k8],["__scopeId","data-v-48374674"]]);var L8='';class P8 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=L8}}window.customElements.define("shopicon-regular-car1",P8);const N8={name:"StartupError",mixins:[Ha],props:{fatal:Array,config:String,file:String,line:Number,offline:Boolean},computed:{errors(){return this.fatal||[]}},methods:{shutdown(){ot.post("shutdown")},scrollTo(t){const e=t.currentTarget.getAttribute("href").substring(1),n=document.getElementById(e);console.log({id:e,el:n}),n&&n.scrollIntoView({behavior:"smooth",block:"center"})}}},gv=t=>(bt("data-v-34002e97"),t=t(),yt(),t),O8={class:"container px-4"},I8={class:"d-flex justify-content-between align-items-center my-3"},M8={class:"d-block mt-0 d-flex"},D8=gv(()=>y("shopicon-regular-car1",{size:"m",class:"ms-2 icon"},null,-1)),R8={class:"row mb-4"},$8={class:"fs-6 mb-3"},F8={href:"https://github.com/evcc-io/evcc/discussions"},V8={class:"row mb-4"},z8={class:"mb-3"},H8={class:"d-md-flex justify-content-between"},j8={class:"me-md-4"},B8={class:"d-block"},U8=["href"],W8=["disabled"],K8={key:0},Y8=gv(()=>y("div",{class:"my-2"},null,-1)),q8={class:"py-2 text-muted config"},G8=["id"];function X8(t,e,n,r,i,s){const o=ue("i18n-t");return M(),z("div",O8,[y("div",I8,[y("h1",M8,[Le(F(t.$t("startupError.title"))+" ",1),D8])]),y("div",R8,[y("code",$8,[(M(!0),z(ke,null,Qe(s.errors,(a,l)=>(M(),z("div",{key:l},F(a),1))),128))]),re(o,{tag:"p",keypath:"startupError.description"},{default:Je(()=>[y("a",F8,F(t.$t("startupError.discussions")),1)]),_:1}),y("p",null,[y("em",null,F(t.$t("startupError.hint")),1)])]),y("div",V8,[y("h5",z8,F(t.$t("startupError.configuration")),1),y("div",H8,[y("p",j8,[y("span",B8,[Le(F(t.$t("startupError.configFile"))+" ",1),y("code",null,F(n.file),1)]),n.line?(M(),Te(o,{key:0,tag:"span",keypath:"startupError.lineError"},{default:Je(()=>[y("a",{href:`#line${n.line}`,onClick:e[0]||(e[0]=js((...a)=>s.scrollTo&&s.scrollTo(...a),["prevent"]))},F(t.$t("startupError.lineErrorLink",[n.line])),9,U8)]),_:1})):_e("",!0),Le(" "+F(t.$t("startupError.fixAndRestart")),1)]),y("p",null,[y("button",{class:"btn btn-primary text-nowrap",type:"button",disabled:n.offline,onClick:e[1]||(e[1]=(...a)=>s.shutdown&&s.shutdown(...a))},F(t.$t("startupError.restartButton")),9,W8)])]),n.config?(M(),z("code",K8,[Y8,y("div",q8,[(M(!0),z(ke,null,Qe(n.config.split(` -`),(a,l)=>(M(),z("div",{id:`line${l+1}`,key:l,class:Me(["m-0 px-2",{highlighted:n.line===l+1}])},F(a)+"\xA0 ",11,G8))),128))])])):_e("",!0)])])}const Q8=we(N8,[["render",X8],["__scopeId","data-v-34002e97"]]);var Z8='';class J8 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=Z8}}window.customElements.define("shopicon-regular-cloud",J8);const eI={name:"OfflineIndicator",methods:{reload(){window.location.reload()}}},tI={class:"fixed-bottom alert alert-secondary d-flex justify-content-center align-items-center mb-0 rounded-0",role:"alert"},nI=y("shopicon-regular-cloud",{class:"me-2"},null,-1);function rI(t,e,n,r,i,s){return M(),z("div",tI,[nI,Le(" "+F(t.$t("offline.message"))+" ",1),y("button",{class:"btn btn-sm btn-link text-dark",onClick:e[0]||(e[0]=(...o)=>s.reload&&s.reload(...o))},F(t.$t("offline.reload")),1)])}const iI=we(eI,[["render",rI]]),sI={name:"Main",components:{Site:x8,StartupError:Q8,OfflineIndicator:iI},props:{notifications:Array,offline:Boolean},data:function(){return uc},computed:{startupErrors:function(){var t;return((t=this.state.fatal)==null?void 0:t.length)>0}}};function oI(t,e,n,r,i,s){const o=ue("OfflineIndicator"),a=ue("StartupError"),l=ue("Site");return M(),z("div",null,[n.offline?(M(),Te(o,{key:0})):_e("",!0),s.startupErrors?(M(),Te(a,Dt({key:1},t.state,{offline:n.offline}),null,16,["offline"])):(M(),Te(l,Dt({key:2,notifications:n.notifications},t.state),null,16,["notifications"]))])}const aI=we(sI,[["render",oI]]);var lI='';class cI extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=lI}}window.customElements.define("shopicon-bold-arrowback",cI);const uI={name:"ChargingSessions",components:{TopNavigation:dv},mixins:[Pt],props:{notifications:Array},data(){return{sessions:[]}},computed:{sessionsByMonthAndLoadpoint(){const t=this.sessions.map(n=>{const r=n.loadpoint||this.$t("main.loadpoint.fallbackName"),i=n.vehicle||this.$t("main.vehicle.unknown");return{...n,loadpoint:r,vehicle:i}}),e=this.groupByMonth(t);return Object.entries(e).map(([n,r])=>{const i=Object.entries(this.groupByLoadpoint(r)).map(([s,o])=>{const a=this.totalKWh(o);return{name:s,total:a,sessions:o}});return{month:n,loadpoints:i}})}},mounted(){this.loadSessions()},methods:{async loadSessions(){var e;const t=await ot.get("sessions");this.sessions=(e=t.data)==null?void 0:e.result},groupByMonth(t){return t.reduce((e,n)=>{const r=new Date(n.finished),i=`${r.getFullYear()}.${r.getMonth()}`;return e[i]||(e[i]=[]),e[i].push(n),e},{})},groupByLoadpoint(t){return t.reduce((e,n)=>{const r=n.loadpoint;return e[r]||(e[r]=[]),e[r].push(n),e},{})},totalKWh(t){return t.reduce((e,n)=>e+n.chargedEnergy,0)*1e3},groupedKWh(t,e){const n=e.reduce((i,s)=>{const o=s[t];return i[o]||(i[o]=0),i[o]+=s.chargedEnergy*1e3,i},{}),r=Object.entries(n).map(([i,s])=>({name:i,energy:s}));return r.length>=2?r:[]},formatGroupHeadline(t){const e=new Date,[n,r]=t.split(".");return e.setMonth(r),e.setFullYear(n),this.fmtMonthYear(e)}}},dd=t=>(bt("data-v-c2d84bb6"),t=t(),yt(),t),dI={class:"container px-4"},fI={class:"d-flex justify-content-between align-items-center py-3"},hI={class:"mb-1 pt-1 d-flex text-nowrap"},mI=dd(()=>y("shopicon-bold-arrowback",{size:"s",class:"back"},null,-1)),pI={class:"row"},gI={class:"col-12"},_I={class:"mb-4"},vI={class:"btn btn-outline-secondary text-nowrap my-2",href:"./api/sessions?format=csv",download:"sessions.csv"},bI={class:"mx-2"},yI={class:"d-flex align-items-baseline my-5"},wI={class:"me-4 mb-0"},EI={class:"d-flex align-items-baseline mb-3"},TI={class:"me-4 mb-0"},CI={class:"large"},SI={class:"breakdown text-gray d-sm-flex flex-sm-wrap ps-0 mb-2"},AI={class:"table-responsive my-3"},kI={class:"table"},xI={scope:"col"},LI={scope:"col",class:"text-end ps-sm-4 pe-md-5"},PI={scope:"col",class:"ps-3 ps-md-4 ps-md-5"},NI={class:"text-nowrap text-end ps-sm-4 pe-md-5"},OI={class:"text-nowrap ps-3 ps-md-4 ps-md-5"},II={class:"d-block d-sm-none"},MI=dd(()=>y("br",null,null,-1)),DI={class:"d-none d-sm-block"},RI=dd(()=>y("br",null,null,-1));function $I(t,e,n,r,i,s){const o=ue("router-link"),a=ue("TopNavigation");return M(),z("div",dI,[y("header",fI,[y("h1",hI,[re(o,{class:"dropdown-item mx-2 me-2",to:"/"},{default:Je(()=>[mI]),_:1}),Le(" "+F(t.$t("sessions.title")),1)]),re(a)]),y("div",pI,[y("main",gI,[y("div",_I,[y("a",vI,F(t.$t("sessions.downloadCsv")),1)]),(M(!0),z(ke,null,Qe(s.sessionsByMonthAndLoadpoint,l=>(M(),z("div",{key:l.month},[y("div",bI,[y("div",yI,[y("h2",wI,F(s.formatGroupHeadline(l.month)),1)]),(M(!0),z(ke,null,Qe(l.loadpoints,c=>(M(),z("div",{key:c.name},[y("div",EI,[y("h3",TI,F(c.name),1),y("div",CI,F(t.fmtKWh(c.total)),1)]),y("ul",SI,[(M(!0),z(ke,null,Qe(s.groupedKWh("vehicle",c.sessions),(u,f)=>(M(),z("li",{key:f,class:"breakdown-item"},F(u.name)+": "+F(t.fmtKWh(u.energy)),1))),128))]),y("div",AI,[y("table",kI,[y("thead",null,[y("tr",null,[y("th",xI,F(t.$t("sessions.vehicle")),1),y("th",LI,F(t.$t("sessions.energy")),1),y("th",PI,F(t.$t("sessions.date")),1)])]),y("tbody",null,[(M(!0),z(ke,null,Qe(c.sessions,(u,f)=>(M(),z("tr",{key:f},[y("td",null,F(u.vehicle),1),y("td",NI,F(t.fmtKWh(u.chargedEnergy*1e3)),1),y("td",OI,[y("span",II,[Le(F(t.fmtFullDateTime(new Date(u.created),!0))+" ",1),MI,Le(" "+F(t.fmtFullDateTime(new Date(u.finished),!0)),1)]),y("span",DI,[Le(F(t.fmtFullDateTime(new Date(u.created),!1))+" ",1),RI,Le(" "+F(t.fmtFullDateTime(new Date(u.finished),!1)),1)])])]))),128))])])])]))),128))])]))),128))])])])}const FI=we(uI,[["render",$I],["__scopeId","data-v-c2d84bb6"]]),VI=J2({history:p2(),routes:[{path:"/",component:aI,props:!0},{path:"/sessions",component:FI,props:!0}]});/*! + ${t.fmtShortDurationUnit(i.chargeDurationInterpolated)}`,align:"end"},null,8,["label","value"]))]),LN,re(f,Dt(s.vehicle,{onTargetSocUpdated:s.setTargetSoC,onTargetEnergyUpdated:s.setTargetEnergy,onTargetTimeUpdated:s.setTargetTime,onTargetTimeRemoved:s.removeTargetTime,onChangeVehicle:s.changeVehicle,onRemoveVehicle:s.removeVehicle}),null,16,["onTargetSocUpdated","onTargetEnergyUpdated","onTargetTimeUpdated","onTargetTimeRemoved","onChangeVehicle","onRemoveVehicle"])])}const NN=we(yN,[["render",PN],["__scopeId","data-v-ea58e76c"]]),ON={name:"Site",components:{Loadpoint:NN},props:{loadpoints:Array,vehicles:Array},data(){return{selectedIndex:0,snapTimeout:null}},mounted(){this.$refs.carousel.addEventListener("scroll",this.handleCarouselScroll,!1)},unmounted(){this.$refs.carousel&&this.$refs.carousel.removeEventListener("scroll",this.handleCarouselScroll)},methods:{handleCarouselScroll(){const{scrollLeft:t}=this.$refs.carousel,{offsetWidth:e}=this.$refs.carousel.children[0];this.selectedIndex=Math.round((t-7.5)/e)},selected(t){return this.selectedIndex===t},scrollTo(t){if(this.selectedIndex===t)return;this.selectedIndex=t;const e=this.$refs.carousel,n=e.children[0].offsetWidth;e.style.scrollSnapType="none",e.scrollTo({top:0,left:7.5+n*t,behavior:"smooth"}),clearTimeout(this.snapTimeout),this.snapTimeout=setTimeout(()=>{this.$refs.carousel.style.scrollSnapType="x mandatory"},1e3)}}},IN=t=>(bt("data-v-024a6ae6"),t=t(),yt(),t),MN={class:"container container--loadpoint px-0 mb-md-2 d-flex flex-column justify-content-center"},DN={ref:"carousel",class:"carousel d-lg-flex flex-wrap"},RN={key:0,class:"d-flex d-lg-none justify-content-center"},$N=["onClick"],FN=IN(()=>y("shopicon-filled-circle",{class:"indicator-icon"},null,-1)),VN=[FN];function jN(t,e,n,r,i,s){const o=ue("Loadpoint");return M(),j("div",MN,[y("div",DN,[(M(!0),j(Ae,null,Qe(n.loadpoints,(a,l)=>(M(),j("div",{key:l,class:"flex-grow-1 mb-3 m-lg-0 p-lg-0"},[re(o,Dt(a,{id:l,vehicles:n.vehicles,class:["h-100",{"loadpoint-unselected":!s.selected(l)}],onClick:c=>s.scrollTo(l)}),null,16,["id","vehicles","class","onClick"])]))),128))],512),n.loadpoints.length>1?(M(),j("div",RN,[(M(!0),j(Ae,null,Qe(n.loadpoints,(a,l)=>(M(),j("button",{key:l,class:Me(["btn btn-sm btn-link p-0 mx-1 indicator d-flex justify-content-center align-items-center evcc-default-text",{"indicator--selected":s.selected(l)}]),onClick:c=>s.scrollTo(l)},VN,10,$N))),128))])):_e("",!0)])}const zN=we(ON,[["render",jN],["__scopeId","data-v-024a6ae6"]]),HN={name:"Vehicles",components:{Vehicle:Ic},data(){return{refreshing:!1,vehicles:[{vehiclePresent:!0,vehicleTitle:"Ford Mustang Mach-E",vehicleSoC:46,vehicleRange:182,targetSoC:100},{vehiclePresent:!0,vehicleTitle:"Renault Twingo Electric",vehicleSoC:77,vehicleRange:98,targetSoC:90},{vehiclePresent:!0,vehicleTitle:"Blauer VW ID.4",vehicleSoC:16,vehicleRange:52,minSoC:35,targetSoC:60}]}},methods:{refresh(){this.refreshing=!0,window.setTimeout(()=>{this.refreshing=!1},5e3)}}},BN=t=>(bt("data-v-7430d6bb"),t=t(),yt(),t),UN={class:"container px-4 mb-3 mb-sm-4 d-flex justify-content-start align-items-center"},WN={class:"m-0"},KN=["disabled"],YN=BN(()=>y("shopicon-regular-refresh",{class:"refresh-icon"},null,-1)),GN=[YN];function qN(t,e,n,r,i,s){const o=ue("Vehicle");return M(),j("div",null,[y("div",UN,[y("h2",WN,F(t.$t("main.vehicles")),1),y("button",{class:Me(["btn btn-link d-flex evcc-default-text p-2 ms-1 refresh",{"refresh--in-progress":i.refreshing}]),disabled:i.refreshing,onClick:e[0]||(e[0]=(...a)=>s.refresh&&s.refresh(...a))},GN,10,KN)]),y("div",{class:Me(["container vehicles px-0 mb-5",`vehicles-${i.vehicles.length}`])},[(M(!0),j(Ae,null,Qe(i.vehicles,(a,l)=>(M(),Te(o,Dt(a,{id:`vehicle_${l}`,key:l,class:"vehicle",parked:""}),null,16,["id"]))),128))],2)])}const XN=we(HN,[["render",qN],["__scopeId","data-v-7430d6bb"]]);var QN='';class ZN extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=QN}}window.customElements.define("shopicon-filled-testtube",ZN);const JN={name:"Logo"},cd=t=>(bt("data-v-9d6237eb"),t=t(),yt(),t),eO={viewBox:"0 0 122 35",xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2"},tO=cd(()=>y("path",{d:"M13.082 29.071a12.384 12.384 0 01-9-3.42 12.192 12.192 0 01-3.54-9.12v-.64a15.394 15.394 0 011.47-6.83 10.825 10.825 0 014.17-4.64 11.64 11.64 0 016.15-1.63 10.45 10.45 0 018.21 3.26c2 2.194 3 5.297 3 9.31v2.76H7.382a6.348 6.348 0 002 4 5.997 5.997 0 004.16 1.49 7.305 7.305 0 006.1-2.84l3.31 3.73a10 10 0 01-4.13 3.39 13.309 13.309 0 01-5.74 1.18zm-.77-20.84a4.216 4.216 0 00-3.26 1.37 7.141 7.141 0 00-1.6 3.91h9.39v-.55a5.005 5.005 0 00-1.22-3.49 4.304 4.304 0 00-3.31-1.24zM36.452 20.331l4.7-17.09h7l-8.48 25.36h-6.44l-8.52-25.36h7l4.74 17.09zM85.542 23.611a4.444 4.444 0 003-1 3.638 3.638 0 001.22-2.75h6.32a8.668 8.668 0 01-1.4 4.73 9.145 9.145 0 01-3.79 3.3 11.736 11.736 0 01-5.29 1.19 10.912 10.912 0 01-8.54-3.46c-2.087-2.3-3.13-5.483-3.13-9.55v-.45c0-3.9 1.033-7.016 3.1-9.35a10.868 10.868 0 018.51-3.5c2.791-.134 5.524.84 7.6 2.71a9.626 9.626 0 012.9 7.21h-6.3a4.663 4.663 0 00-1.2-3.22 4.005 4.005 0 00-3.08-1.24 4.068 4.068 0 00-3.56 1.73c-.8 1.15-1.2 3-1.2 5.6v.7c0 2.61.39 4.49 1.19 5.63a4.092 4.092 0 003.65 1.72zM110.422 23.611a4.454 4.454 0 003-1 3.63 3.63 0 001.21-2.75h6.33a8.668 8.668 0 01-1.4 4.73 9.143 9.143 0 01-3.73 3.3 11.76 11.76 0 01-5.29 1.18 10.912 10.912 0 01-8.54-3.46c-2.087-2.3-3.13-5.483-3.13-9.55v-.45c0-3.9 1.033-7.016 3.1-9.35a10.85 10.85 0 018.57-3.49 10.575 10.575 0 017.6 2.71 9.598 9.598 0 012.91 7.21h-6.33a4.651 4.651 0 00-1.21-3.22 4.492 4.492 0 00-6.64.49c-.8 1.15-1.21 3-1.21 5.6v.7c0 2.607.4 4.484 1.2 5.63a4.09 4.09 0 003.56 1.72z",fill:"#fff",class:"letter","fill-rule":"nonzero"},null,-1)),nO=cd(()=>y("path",{d:"M58.462.751h9.22l-6.14 12.3h6.15l-11.53 21.51 2.3-15.36h-7.68l7.68-18.45z",fill:"#0fdd42","fill-rule":"nonzero"},null,-1)),rO=cd(()=>y("path",{fill:"none",d:"M-24.458-22.109h170v76h-170z"},null,-1)),iO=[tO,nO,rO];function sO(t,e,n,r,i,s){return M(),j("svg",eO,iO)}const oO=we(JN,[["render",sO],["__scopeId","data-v-9d6237eb"]]);var aO='';class lO extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=aO}}window.customElements.define("shopicon-regular-gift",lO);var cO='';class uO extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=cO}}window.customElements.define("shopicon-regular-moonstars",uO);const dO={name:"Version",components:{Logo:oO},props:{installed:String,available:String,releaseNotes:String,commit:String,hasUpdater:Boolean,uploadMessage:String,uploadProgress:Number},data:function(){return{updateStarted:!1,updateStatus:""}},computed:{githubHashUrl:function(){return`https://github.com/evcc-io/evcc/commit/${this.commit}`},newVersionAvailable:function(){return this.available&&this.installed!="[[.Version]]"&&this.installed!="0.0.1-alpha"&&this.available!=this.installed}},methods:{update:async function(){try{await ot.post("update"),this.updateStatus=this.$t("footer.version.modalUpdateStatusStart"),this.updateStarted=!0}catch(t){this.updateStatus=this.$t("footer.version.modalUpdateStatusStart")+t}},releaseNotesUrl:function(t){return`https://github.com/evcc-io/evcc/releases/tag/${t}`}}},Ha=t=>(bt("data-v-66915926"),t=t(),yt(),t),fO=["href"],hO=Ha(()=>y("shopicon-regular-moonstars",{class:"ms-2 text-gray-light"},null,-1)),mO={key:1,href:"#","data-bs-toggle":"modal","data-bs-target":"#updateModal",class:"btn btn-link ps-0 text-decoration-none evcc-default-text text-nowrap d-flex align-items-end"},pO=Ha(()=>y("shopicon-regular-gift",{class:"me-2"},null,-1)),gO={class:"ms-2 d-none d-xs-block d-sm-none text-decoration-underline"},_O={class:"ms-2 d-none d-sm-block text-gray-medium text-decoration-underline"},vO=["href"],bO={id:"updateModal",class:"modal fade text-dark",tabindex:"-1",role:"dialog","aria-hidden":"true"},yO={class:"modal-dialog modal-dialog-centered modal-dialog-scrollable",role:"document"},wO={class:"modal-content"},EO={class:"modal-header"},TO={class:"modal-title"},CO=Ha(()=>y("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1)),SO={class:"modal-body"},kO={key:0},AO={class:"progress my-3"},xO={key:1},LO=["innerHTML"],PO={key:1},NO=["href"],OO={class:"modal-footer d-flex justify-content-between"},IO=["disabled"],MO=["disabled"],DO={key:0},RO=Ha(()=>y("span",{class:"spinner-border spinner-border-sm",role:"status","aria-hidden":"true"},null,-1)),$O={key:1},FO=["href"];function VO(t,e,n,r,i,s){const o=ue("Logo");return M(),j("div",null,[n.commit?(M(),j("a",{key:0,href:s.githubHashUrl,target:"_blank",class:"btn btn-link ps-0 text-decoration-none evcc-default-text text-nowrap d-flex align-items-end"},[re(o,{class:"logo me-2"}),Le(" v"+F(n.installed)+" ",1),hO],8,fO)):s.newVersionAvailable?(M(),j("button",mO,[pO,Le(" v"+F(n.installed)+" ",1),y("span",gO,F(t.$t("footer.version.availableShort")),1),y("span",_O,F(t.$t("footer.version.availableLong")),1)])):(M(),j("a",{key:2,href:s.releaseNotesUrl(n.installed),target:"_blank",class:"btn btn-link evcc-default-text ps-0 text-decoration-none text-nowrap d-flex align-items-end"},[re(o,{class:"logo me-2"}),Le(" v"+F(n.installed),1)],8,vO)),(M(),Te(io,{to:"body"},[y("div",bO,[y("div",yO,[y("div",wO,[y("div",EO,[y("h5",TO,F(t.$t("footer.version.modalTitle")),1),CO]),y("div",SO,[t.updateStarted?(M(),j("div",kO,[y("p",null,F(t.$t("footer.version.modalUpdateStarted")),1),y("div",AO,[y("div",{class:"progress-bar progress-bar-striped progress-bar-animated",role:"progressbar",style:Ct({width:n.uploadProgress+"%"})},null,4)]),y("p",null,F(t.updateStatus)+F(n.uploadMessage),1)])):(M(),j("div",xO,[y("p",null,[y("small",null,F(t.$t("footer.version.modalInstalledVersion"))+": "+F(n.installed),1)]),n.releaseNotes?(M(),j("div",{key:0,innerHTML:n.releaseNotes},null,8,LO)):(M(),j("p",PO,[Le(F(t.$t("footer.version.modalNoReleaseNotes"))+" ",1),y("a",{href:s.releaseNotesUrl(n.available)},"GitHub",8,NO),Le(". ")]))]))]),y("div",OO,[y("button",{type:"button",class:"btn btn-outline-secondary",disabled:t.updateStarted,"data-bs-dismiss":"modal"},F(t.$t("footer.version.modalCancel")),9,IO),y("div",null,[n.hasUpdater?(M(),j("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.updateStarted,onClick:e[0]||(e[0]=(...a)=>s.update&&s.update(...a))},[t.updateStarted?(M(),j("span",DO,[RO,Le(" "+F(t.$t("footer.version.modalUpdate")),1)])):(M(),j("span",$O,F(t.$t("footer.version.modalUpdateNow")),1))],8,MO)):(M(),j("a",{key:1,href:s.releaseNotesUrl(n.available),class:"btn btn-primary"},F(t.$t("footer.version.modalDownload")),9,FO))])])])])])]))])}const jO=we(dO,[["render",VO],["__scopeId","data-v-66915926"]]);var co={};(function t(e,n,r,i){var s=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL);function o(){}function a(D){var L=n.exports.Promise,Y=L!==void 0?L:e.Promise;return typeof Y=="function"?new Y(D):(D(o,o),null)}var l=function(){var D=Math.floor(16.666666666666668),L,Y,W={},Z=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(L=function(oe){var le=Math.random();return W[le]=requestAnimationFrame(function ae(ce){Z===ce||Z+D-1(bt("data-v-d8707b23"),t=t(),yt(),t),YO={key:0},GO={class:"fw-bold mb-1 d-flex"},qO=ud(()=>y("shopicon-regular-heart",{class:"title-icon text-primary d-inline-block me-1"},null,-1)),XO={class:"mb-3"},QO={class:"d-flex justify-content-center align-items-center flex-column flex-lg-row align-items-lg-baseline justify-content-lg-start"},ZO=ud(()=>y("shopicon-regular-stars",{class:"me-1 d-inline-block"},null,-1)),JO={href:"https://evcc.io/sticker",target:"_blank",class:"small text-muted ms-lg-3"},e3={key:1},t3={class:"fw-bold mb-1"},n3={class:"mb-3"},r3={class:"d-flex justify-content-center align-items-center flex-column flex-lg-row align-items-lg-baseline justify-content-lg-start"},i3={target:"_blank",href:"https://github.com/sponsors/evcc-io",class:"btn btn-outline-primary mb-3 become-sponsor"},s3=ud(()=>y("shopicon-regular-heart",{class:"me-1 d-inline-block"},null,-1)),o3={class:"small text-muted text-center ms-lg-3"};function a3(t,e,n,r,i,s){return n.sponsor?(M(),j("div",YO,[y("p",GO,[qO,Le(" "+F(t.$t("footer.sponsor.titleSponsor")),1)]),y("p",XO,F(t.$t("footer.sponsor.thanks",{sponsor:n.sponsor})),1),y("div",QO,[y("button",{ref:"confetti",class:"btn btn btn-outline-primary mb-2 confetti-button bg-evcc rounded",onClick:e[0]||(e[0]=(...o)=>s.surprise&&s.surprise(...o))},[ZO,Le(" "+F(t.$t("footer.sponsor.confetti")),1)],512),y("a",JO,F(t.$t("footer.sponsor.sticker")),1)])])):(M(),j("div",e3,[y("p",t3,F(t.$t("footer.sponsor.titleNoSponsor")),1),y("p",n3,F(t.$t("footer.sponsor.supportUs")),1),y("div",r3,[y("a",i3,[s3,Le(" "+F(t.$t("footer.sponsor.becomeSponsor")),1)]),y("div",o3,F(t.$t("footer.sponsor.confettiPromise")),1)])]))}const l3=we(KO,[["render",a3],["__scopeId","data-v-d8707b23"]]);var c3='';class u3 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=c3}}window.customElements.define("shopicon-regular-coinjar",u3);var d3='';class f3 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=d3}}window.customElements.define("shopicon-regular-receivepayment",f3);var h3='';class m3 extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=h3}}window.customElements.define("shopicon-regular-eco1",m3);const p3={name:"SavingsTile",components:{AnimatedNumber:ri},props:{title:String,icon:String,value:[String,Number],valueFmt:Function,animationDuration:Number,unit:String,sub1:String,sub2:String}},g3=t=>(bt("data-v-b7d590a3"),t=t(),yt(),t),_3={class:"flex-shrink-1 d-flex mb-4 mb-lg-0 align-items-center align-items-lg-start"},v3={key:0,class:"tile-icon"},b3={key:1,class:"tile-icon"},y3={key:2,class:"tile-icon"},w3={key:3,class:"tile-icon"},E3={key:4,class:"tile-icon"},T3={class:"ms-3 d-flex flex-grow-1 d-lg-block align-items-center justify-content-between"},C3={class:"my-0 fw-bold text-truncate"},S3={class:"d-flex align-items-baseline lh-sm"},k3={class:"fs-1"},A3={key:1},x3={class:"ms-1 unit"},L3={class:"d-block mt-0 ms-3 ms-lg-0 text-end text-lg-start"},P3=g3(()=>y("br",null,null,-1));function N3(t,e,n,r,i,s){const o=ue("AnimatedNumber");return M(),j("div",_3,[n.icon==="sun"?(M(),j("shopicon-regular-sun",v3)):_e("",!0),n.icon==="coinjar"?(M(),j("shopicon-regular-coinjar",b3)):_e("",!0),n.icon==="receivepayment"?(M(),j("shopicon-regular-receivepayment",y3)):_e("",!0),n.icon==="car"?(M(),j("shopicon-regular-car3",w3)):_e("",!0),n.icon==="eco"?(M(),j("shopicon-regular-eco1",E3)):_e("",!0),y("div",T3,[y("div",null,[y("p",C3,F(n.title),1),y("strong",S3,[y("span",k3,[n.valueFmt?(M(),Te(o,{key:0,to:n.value,format:n.valueFmt,duration:n.animationDuration},null,8,["to","format","duration"])):(M(),j("span",A3,F(n.value),1))]),y("span",x3,F(n.unit),1)])]),y("small",L3,[Le(F(n.sub1)+" ",1),P3,Le(" "+F(n.sub2),1)])])])}const mv=we(p3,[["render",N3],["__scopeId","data-v-b7d590a3"]]),pv=od.create({baseURL:"https://api.evcc.io/v1/",headers:{Accept:"application/json"}});pv.interceptors.response.use(t=>t,t=>{const e=t.config.baseURL+t.config.url,n=`${t.message}: API request failed ${e}`;return window.app.error({message:n}),Promise.reject(t)});const em=10,O3={name:"LiveCommunity",components:{SavingsTile:mv},mixins:[Pt],props:{},data(){return{refresh:null,result:{},animationDuration:.5}},computed:{totalClients(){return this.result.totalClients},activeClients(){return this.result.activeClients},chargePower(){const{chargePower:t=0}=this.result;return t/1e3},greenShare(){const{chargePower:t,greenPower:e}=this.result;return t?100/t*e:0},greenEnergyMWh(){const{greenEnergy:t=0}=this.result;return t/1e3}},async mounted(){this.refresh=setInterval(this.update,em*1e3),await this.update(),this.$nextTick(()=>{this.animationDuration=em})},unmounted(){clearInterval(this.refresh)},methods:{async update(){try{const t=await pv.get("total");this.result=t.data||{}}catch(t){console.error(t)}},numberAnimationFmt(t){return this.fmtNumber(t,1)}}},I3={class:"d-block d-lg-flex mb-2 justify-content-between"};function M3(t,e,n,r,i,s){const o=ue("SavingsTile");return M(),j("div",I3,[re(o,{class:"text-accent2",icon:"car",title:t.$t("footer.community.power"),value:s.chargePower,valueFmt:s.numberAnimationFmt,animationDuration:i.animationDuration,unit:"kW",sub1:t.$t("footer.community.powerSub1",{totalClients:s.totalClients,activeClients:s.activeClients}),sub2:t.$t("footer.community.powerSub2")},null,8,["title","value","valueFmt","animationDuration","sub1","sub2"]),re(o,{class:"text-accent1",icon:"sun",title:t.$t("footer.community.greenShare"),value:s.greenShare,valueFmt:s.numberAnimationFmt,animationDuration:i.animationDuration,unit:"%",sub1:t.$t("footer.community.greenShareSub1"),sub2:t.$t("footer.community.greenShareSub2")},null,8,["title","value","valueFmt","animationDuration","sub1","sub2"]),re(o,{class:"text-accent3",icon:"eco",title:t.$t("footer.community.greenEnergy"),value:s.greenEnergyMWh,valueFmt:s.numberAnimationFmt,animationDuration:i.animationDuration,unit:"MWh",sub1:t.$t("footer.community.greenEnergySub1"),sub2:t.$t("footer.community.greenEnergySub2")},null,8,["title","value","valueFmt","animationDuration","sub1","sub2"])])}const D3=we(O3,[["render",M3]]);function R3(t){return t.replace(/\*\*(.*)\*\*/gim,"$1").replace(/\*(.*)\*/gim,"$1").replace(/`(.*)`/gim,"
$1
").trim()}const $3={name:"TelemetrySettings",props:{sponsor:String},data(){return{enabled:!1,error:null}},async mounted(){await this.update()},methods:{async change(t){try{this.error=null;const e=await ot.post(`settings/telemetry/${t.target.checked}`);this.enabled=e.data.result}catch(e){e.response&&(this.error=R3("**Error:** "+e.response.data.error),this.enabled=!1)}},async update(){try{const t=await ot.get("settings/telemetry");this.enabled=t.data.result}catch(t){console.error(t)}}}},F3={class:"form-check form-switch my-3"},V3=["disabled"],j3={class:"form-check-label"},z3={for:"telemetryEnabled"},H3={href:"https://docs.evcc.io/docs/guides/setup/#telemetry--community-daten",target:"_blank"},B3={key:1},U3=["innerHTML"];function W3(t,e,n,r,i,s){const o=ue("i18n-t");return M(),j("div",F3,[Gt(y("input",{id:"telemetryEnabled","onUpdate:modelValue":e[0]||(e[0]=a=>i.enabled=a),class:"form-check-input",type:"checkbox",role:"switch",disabled:!n.sponsor,onChange:e[1]||(e[1]=(...a)=>s.change&&s.change(...a))},null,40,V3),[[sC,i.enabled]]),y("div",j3,[y("label",z3,[Le(F(t.$t("footer.telemetry.optIn"))+" ",1),n.sponsor?(M(),Te(o,{key:0,tag:"span",keypath:"footer.telemetry.optInMoreDetails"},{default:Je(()=>[y("a",H3,F(t.$t("footer.telemetry.optInMoreDetailsLink")),1)]),_:1})):(M(),j("span",B3,F(t.$t("footer.telemetry.optInSponsorship")),1))]),i.error?(M(),j("div",{key:0,class:"errorMessage my-1 text-danger",innerHTML:i.error},null,8,U3)):_e("",!0)])])}const K3=we($3,[["render",W3],["__scopeId","data-v-af252ca6"]]),Y3={name:"Savings",components:{Sponsor:l3,SavingsTile:mv,LiveCommunity:D3,TelemetrySettings:K3},mixins:[Pt],props:{selfConsumptionPercent:Number,since:{type:Number,default:0},sponsor:String,amount:{type:Number,default:0},effectivePrice:{type:Number,default:0},totalCharged:{type:Number,default:0},gridCharged:{type:Number,default:0},selfConsumptionCharged:{type:Number,default:0},gridPrice:{type:Number},feedInPrice:{type:Number},currency:String},data(){return{communityView:!1,telemetryEnabled:!1}},computed:{percent(){return Math.round(this.selfConsumptionPercent)||0},effectivePriceFormatted(){const[t,e]=this.fmtPricePerKWh(this.effectivePrice,this.currency).split(" ");return{value:t,unit:e}},startDate(){return new Date(this.since*1e3)}},methods:{showCommunity(){this.communityView=!0},showMyData(){this.communityView=!1}}},G3={class:"btn btn-link pe-0 text-decoration-none evcc-default-text text-nowrap d-flex align-items-end","data-bs-toggle":"modal","data-bs-target":"#savingsModal"},q3={class:"d-inline d-sm-none"},X3={class:"d-none d-sm-inline"},Q3=y("shopicon-regular-sun",{class:"ms-2 text-evcc"},null,-1),Z3={id:"savingsModal",ref:"modal",class:"modal fade text-dark","data-bs-backdrop":"true",tabindex:"-1",role:"dialog","aria-hidden":"true"},J3={class:"modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable",role:"document"},eI={class:"modal-content"},tI={class:"modal-header"},nI={class:"modal-title"},rI=y("button",{type:"button",class:"btn-close","data-bs-dismiss":"modal","aria-label":"Close"},null,-1),iI={class:"modal-body"},sI={class:"nav nav-tabs"},oI={class:"nav-item"},aI={class:"nav-item"},lI={key:0,class:"my-4"},cI={class:"d-block d-lg-flex mb-2 justify-content-between"},uI={class:"my-3 lh-2"},dI={key:1,class:"my-4"};function fI(t,e,n,r,i,s){const o=ue("SavingsTile"),a=ue("LiveCommunity"),l=ue("TelemetrySettings"),c=ue("Sponsor");return M(),j("div",null,[y("button",G3,[y("span",q3,F(t.$t("footer.savings.footerShort",{percent:s.percent})),1),y("span",X3,F(t.$t("footer.savings.footerLong",{percent:s.percent})),1),Q3]),(M(),Te(io,{to:"body"},[y("div",Z3,[y("div",J3,[y("div",eI,[y("div",tI,[y("h5",nI,F(t.$t("footer.savings.modalTitle")),1),rI]),y("div",iI,[y("ul",sI,[y("li",oI,[y("a",{class:Me(["nav-link",{active:!i.communityView}]),href:"#",onClick:e[0]||(e[0]=Hs((...u)=>s.showMyData&&s.showMyData(...u),["prevent"]))},F(t.$t("footer.savings.tabTitle")),3)]),y("li",aI,[y("a",{class:Me(["nav-link",{active:i.communityView}]),href:"#",onClick:e[1]||(e[1]=Hs((...u)=>s.showCommunity&&s.showCommunity(...u),["prevent"]))},F(t.$t("footer.community.tabTitle")),3)])]),i.communityView?(M(),j("div",dI,[re(a),re(l,{sponsor:n.sponsor},null,8,["sponsor"])])):(M(),j("div",lI,[y("div",cI,[re(o,{class:"text-accent1",icon:"sun",title:t.$t("footer.savings.percentTitle"),value:s.percent,unit:"%",sub1:t.$t("footer.savings.percentSelf",{self:t.fmtKw(n.selfConsumptionCharged*1e3,!0,!1)}),sub2:t.$t("footer.savings.percentGrid",{grid:t.fmtKw(n.gridCharged*1e3,!0,!1)})},null,8,["title","value","sub1","sub2"]),re(o,{class:"text-accent2",icon:"receivepayment",title:t.$t("footer.savings.priceTitle"),value:s.effectivePriceFormatted.value,unit:s.effectivePriceFormatted.unit,sub1:t.$t("footer.savings.priceFeedIn",{feedInPrice:t.fmtPricePerKWh(n.feedInPrice,n.currency)}),sub2:t.$t("footer.savings.priceGrid",{gridPrice:t.fmtPricePerKWh(n.gridPrice,n.currency)})},null,8,["title","value","unit","sub1","sub2"]),re(o,{class:"text-accent3",icon:"coinjar",title:t.$t("footer.savings.savingsTitle"),value:t.fmtMoney(n.amount,n.currency),unit:t.fmtCurrencySymbol(n.currency),sub1:t.$t("footer.savings.savingsComparedToGrid"),sub2:t.$t("footer.savings.savingsTotalEnergy",{total:t.fmtKw(n.totalCharged*1e3,!0,!1)})},null,8,["title","value","unit","sub1","sub2"])]),y("p",uI,[y("small",null,F(t.$t("footer.savings.since",{since:t.fmtDayMonthYear(s.startDate)})),1)])])),re(c,{sponsor:n.sponsor},null,8,["sponsor"])])])])],512)]))])}const hI=we(Y3,[["render",fI]]),mI={name:"Footer",components:{Version:jO,Savings:hI},props:{version:Object,sponsor:String,savings:Object},methods:{toggleHiddenFeatures(){const t=`\u{1F9EA} Experimentelle UI-Elemente ${this.$hiddenFeatures?"deaktivieren":"aktivieren"}`;window.confirm(t)&&(window.localStorage.hidden_features=!this.$hiddenFeatures,window.location.reload())}}},pI={class:"footer"},gI={class:"container py-2"},_I={class:"d-flex justify-content-between"};function vI(t,e,n,r,i,s){const o=ue("Version"),a=ue("Savings");return M(),j("footer",pI,[y("div",gI,[y("div",_I,[re(o,an(Yt(n.version)),null,16),re(a,Dt(n.savings,{sponsor:n.sponsor}),null,16,["sponsor"])])])])}const bI=we(mI,[["render",vI]]),yI={name:"Site",components:{Loadpoints:zN,Energyflow:Wh,Footer:bI,Notifications:tx,TopNavigation:dv,Vehicles:XN},mixins:[Pt,za],props:{loadpoints:Array,notifications:Array,offline:Boolean,gridConfigured:Boolean,gridPower:Number,homePower:Number,pvConfigured:Boolean,pvPower:Number,batteryConfigured:Boolean,batteryPower:Number,batterySoC:Number,gridCurrents:Array,prioritySoC:Number,siteTitle:String,vehicles:Array,auth:Object,currency:String,savingsAmount:Number,savingsEffectivePrice:Number,savingsGridCharged:Number,savingsSelfConsumptionCharged:Number,savingsSelfConsumptionPercent:Number,savingsSince:Number,savingsTotalCharged:Number,tariffFeedIn:Number,tariffGrid:Number,availableVersion:String,releaseNotes:String,hasUpdater:Boolean,uploadMessage:String,uploadProgress:Number,sponsor:String},computed:{energyflow:function(){return this.collectProps(Wh)},activeLoadpointsCount:function(){return this.loadpoints.filter(t=>t.chargePower>0).length},loadpointsPower:function(){return this.loadpoints.reduce((t,e)=>(t+=e.chargePower||0,t),0)},topNavigation:function(){return{vehicleLogins:this.auth?this.auth.vehicles:{}}},showParkingLot:function(){return!1},footer:function(){return{version:{installed:window.evcc.version,commit:window.evcc.commit,available:this.availableVersion,releaseNotes:this.releaseNotes,hasUpdater:this.hasUpdater,uploadMessage:this.uploadMessage,uploadProgress:this.uploadProgress},sponsor:this.sponsor,savings:{since:this.savingsSince,totalCharged:this.savingsTotalCharged,gridCharged:this.savingsGridCharged,selfConsumptionCharged:this.savingsSelfConsumptionCharged,amount:this.savingsAmount,effectivePrice:this.savingsEffectivePrice,selfConsumptionPercent:this.savingsSelfConsumptionPercent,gridPrice:this.tariffGrid,feedInPrice:this.tariffFeedIn,currency:this.currency}}}}},wI={class:"d-flex flex-column site"},EI={class:"container px-4 top-area"},TI={class:"d-flex justify-content-between align-items-center my-3"},CI={class:"d-block my-0"},SI={class:"d-flex"},kI={class:"d-flex flex-column justify-content-between content-area"};function AI(t,e,n,r,i,s){const o=ue("Notifications"),a=ue("TopNavigation"),l=ue("Energyflow"),c=ue("Loadpoints"),u=ue("Vehicles"),f=ue("Footer");return M(),j("div",wI,[y("div",EI,[y("div",TI,[y("h1",CI,F(n.siteTitle||"evcc"),1),y("div",SI,[re(o,{notifications:n.notifications,class:"me-2"},null,8,["notifications"]),re(a,an(Yt(s.topNavigation)),null,16)])]),re(l,an(Yt(s.energyflow)),null,16)]),y("div",kI,[re(c,{class:"mt-1 mt-sm-2 flex-grow-1",loadpoints:n.loadpoints,vehicles:n.vehicles},null,8,["loadpoints","vehicles"]),s.showParkingLot?(M(),Te(u,{key:0})):_e("",!0),re(f,an(Yt(s.footer)),null,16)])])}const xI=we(yI,[["render",AI],["__scopeId","data-v-48374674"]]);var LI='';class PI extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=LI}}window.customElements.define("shopicon-regular-car1",PI);const NI={name:"StartupError",mixins:[za],props:{fatal:Array,config:String,file:String,line:Number,offline:Boolean},computed:{errors(){return this.fatal||[]}},methods:{shutdown(){ot.post("shutdown")},scrollTo(t){const e=t.currentTarget.getAttribute("href").substring(1),n=document.getElementById(e);console.log({id:e,el:n}),n&&n.scrollIntoView({behavior:"smooth",block:"center"})}}},gv=t=>(bt("data-v-34002e97"),t=t(),yt(),t),OI={class:"container px-4"},II={class:"d-flex justify-content-between align-items-center my-3"},MI={class:"d-block mt-0 d-flex"},DI=gv(()=>y("shopicon-regular-car1",{size:"m",class:"ms-2 icon"},null,-1)),RI={class:"row mb-4"},$I={class:"fs-6 mb-3"},FI={href:"https://github.com/evcc-io/evcc/discussions"},VI={class:"row mb-4"},jI={class:"mb-3"},zI={class:"d-md-flex justify-content-between"},HI={class:"me-md-4"},BI={class:"d-block"},UI=["href"],WI=["disabled"],KI={key:0},YI=gv(()=>y("div",{class:"my-2"},null,-1)),GI={class:"py-2 text-muted config"},qI=["id"];function XI(t,e,n,r,i,s){const o=ue("i18n-t");return M(),j("div",OI,[y("div",II,[y("h1",MI,[Le(F(t.$t("startupError.title"))+" ",1),DI])]),y("div",RI,[y("code",$I,[(M(!0),j(Ae,null,Qe(s.errors,(a,l)=>(M(),j("div",{key:l},F(a),1))),128))]),re(o,{tag:"p",keypath:"startupError.description"},{default:Je(()=>[y("a",FI,F(t.$t("startupError.discussions")),1)]),_:1}),y("p",null,[y("em",null,F(t.$t("startupError.hint")),1)])]),y("div",VI,[y("h5",jI,F(t.$t("startupError.configuration")),1),y("div",zI,[y("p",HI,[y("span",BI,[Le(F(t.$t("startupError.configFile"))+" ",1),y("code",null,F(n.file),1)]),n.line?(M(),Te(o,{key:0,tag:"span",keypath:"startupError.lineError"},{default:Je(()=>[y("a",{href:`#line${n.line}`,onClick:e[0]||(e[0]=Hs((...a)=>s.scrollTo&&s.scrollTo(...a),["prevent"]))},F(t.$t("startupError.lineErrorLink",[n.line])),9,UI)]),_:1})):_e("",!0),Le(" "+F(t.$t("startupError.fixAndRestart")),1)]),y("p",null,[y("button",{class:"btn btn-primary text-nowrap",type:"button",disabled:n.offline,onClick:e[1]||(e[1]=(...a)=>s.shutdown&&s.shutdown(...a))},F(t.$t("startupError.restartButton")),9,WI)])]),n.config?(M(),j("code",KI,[YI,y("div",GI,[(M(!0),j(Ae,null,Qe(n.config.split(` +`),(a,l)=>(M(),j("div",{id:`line${l+1}`,key:l,class:Me(["m-0 px-2",{highlighted:n.line===l+1}])},F(a)+"\xA0 ",11,qI))),128))])])):_e("",!0)])])}const QI=we(NI,[["render",XI],["__scopeId","data-v-34002e97"]]);var ZI='';class JI extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=ZI}}window.customElements.define("shopicon-regular-cloud",JI);const eM={name:"OfflineIndicator",methods:{reload(){window.location.reload()}}},tM={class:"fixed-bottom alert alert-secondary d-flex justify-content-center align-items-center mb-0 rounded-0",role:"alert"},nM=y("shopicon-regular-cloud",{class:"me-2"},null,-1);function rM(t,e,n,r,i,s){return M(),j("div",tM,[nM,Le(" "+F(t.$t("offline.message"))+" ",1),y("button",{class:"btn btn-sm btn-link text-dark",onClick:e[0]||(e[0]=(...o)=>s.reload&&s.reload(...o))},F(t.$t("offline.reload")),1)])}const iM=we(eM,[["render",rM]]),sM={name:"Main",components:{Site:xI,StartupError:QI,OfflineIndicator:iM},props:{notifications:Array,offline:Boolean},data:function(){return uc},computed:{startupErrors:function(){var t;return((t=this.state.fatal)==null?void 0:t.length)>0}}};function oM(t,e,n,r,i,s){const o=ue("OfflineIndicator"),a=ue("StartupError"),l=ue("Site");return M(),j("div",null,[n.offline?(M(),Te(o,{key:0})):_e("",!0),s.startupErrors?(M(),Te(a,Dt({key:1},t.state,{offline:n.offline}),null,16,["offline"])):(M(),Te(l,Dt({key:2,notifications:n.notifications},t.state),null,16,["notifications"]))])}const aM=we(sM,[["render",oM]]);var lM='';class cM extends HTMLElement{connectedCallback(){this.setAttribute("data-shopicon",!0),this.innerHTML=lM}}window.customElements.define("shopicon-bold-arrowback",cM);const uM={name:"ChargingSessions",components:{TopNavigation:dv},mixins:[Pt],props:{notifications:Array},data(){return{sessions:[]}},computed:{sessionsByMonthAndLoadpoint(){const t=this.sessions.map(n=>{const r=n.loadpoint||this.$t("main.loadpoint.fallbackName"),i=n.vehicle||this.$t("main.vehicle.unknown");return{...n,loadpoint:r,vehicle:i}}),e=this.groupByMonth(t);return Object.entries(e).map(([n,r])=>{const i=Object.entries(this.groupByLoadpoint(r)).map(([s,o])=>{const a=this.totalKWh(o);return{name:s,total:a,sessions:o}});return{month:n,loadpoints:i}})}},mounted(){this.loadSessions()},methods:{async loadSessions(){var e;const t=await ot.get("sessions");this.sessions=(e=t.data)==null?void 0:e.result},groupByMonth(t){return t.reduce((e,n)=>{const r=new Date(n.finished),i=`${r.getFullYear()}.${r.getMonth()}`;return e[i]||(e[i]=[]),e[i].push(n),e},{})},groupByLoadpoint(t){return t.reduce((e,n)=>{const r=n.loadpoint;return e[r]||(e[r]=[]),e[r].push(n),e},{})},totalKWh(t){return t.reduce((e,n)=>e+n.chargedEnergy,0)*1e3},groupedKWh(t,e){const n=e.reduce((i,s)=>{const o=s[t];return i[o]||(i[o]=0),i[o]+=s.chargedEnergy*1e3,i},{}),r=Object.entries(n).map(([i,s])=>({name:i,energy:s}));return r.length>=2?r:[]},formatGroupHeadline(t){const e=new Date,[n,r]=t.split(".");return e.setMonth(r),e.setFullYear(n),this.fmtMonthYear(e)}}},dd=t=>(bt("data-v-c2d84bb6"),t=t(),yt(),t),dM={class:"container px-4"},fM={class:"d-flex justify-content-between align-items-center py-3"},hM={class:"mb-1 pt-1 d-flex text-nowrap"},mM=dd(()=>y("shopicon-bold-arrowback",{size:"s",class:"back"},null,-1)),pM={class:"row"},gM={class:"col-12"},_M={class:"mb-4"},vM={class:"btn btn-outline-secondary text-nowrap my-2",href:"./api/sessions?format=csv",download:"sessions.csv"},bM={class:"mx-2"},yM={class:"d-flex align-items-baseline my-5"},wM={class:"me-4 mb-0"},EM={class:"d-flex align-items-baseline mb-3"},TM={class:"me-4 mb-0"},CM={class:"large"},SM={class:"breakdown text-gray d-sm-flex flex-sm-wrap ps-0 mb-2"},kM={class:"table-responsive my-3"},AM={class:"table"},xM={scope:"col"},LM={scope:"col",class:"text-end ps-sm-4 pe-md-5"},PM={scope:"col",class:"ps-3 ps-md-4 ps-md-5"},NM={class:"text-nowrap text-end ps-sm-4 pe-md-5"},OM={class:"text-nowrap ps-3 ps-md-4 ps-md-5"},IM={class:"d-block d-sm-none"},MM=dd(()=>y("br",null,null,-1)),DM={class:"d-none d-sm-block"},RM=dd(()=>y("br",null,null,-1));function $M(t,e,n,r,i,s){const o=ue("router-link"),a=ue("TopNavigation");return M(),j("div",dM,[y("header",fM,[y("h1",hM,[re(o,{class:"dropdown-item mx-2 me-2",to:"/"},{default:Je(()=>[mM]),_:1}),Le(" "+F(t.$t("sessions.title")),1)]),re(a)]),y("div",pM,[y("main",gM,[y("div",_M,[y("a",vM,F(t.$t("sessions.downloadCsv")),1)]),(M(!0),j(Ae,null,Qe(s.sessionsByMonthAndLoadpoint,l=>(M(),j("div",{key:l.month},[y("div",bM,[y("div",yM,[y("h2",wM,F(s.formatGroupHeadline(l.month)),1)]),(M(!0),j(Ae,null,Qe(l.loadpoints,c=>(M(),j("div",{key:c.name},[y("div",EM,[y("h3",TM,F(c.name),1),y("div",CM,F(t.fmtKWh(c.total)),1)]),y("ul",SM,[(M(!0),j(Ae,null,Qe(s.groupedKWh("vehicle",c.sessions),(u,f)=>(M(),j("li",{key:f,class:"breakdown-item"},F(u.name)+": "+F(t.fmtKWh(u.energy)),1))),128))]),y("div",kM,[y("table",AM,[y("thead",null,[y("tr",null,[y("th",xM,F(t.$t("sessions.vehicle")),1),y("th",LM,F(t.$t("sessions.energy")),1),y("th",PM,F(t.$t("sessions.date")),1)])]),y("tbody",null,[(M(!0),j(Ae,null,Qe(c.sessions,(u,f)=>(M(),j("tr",{key:f},[y("td",null,F(u.vehicle),1),y("td",NM,F(t.fmtKWh(u.chargedEnergy*1e3)),1),y("td",OM,[y("span",IM,[Le(F(t.fmtFullDateTime(new Date(u.created),!0))+" ",1),MM,Le(" "+F(t.fmtFullDateTime(new Date(u.finished),!0)),1)]),y("span",DM,[Le(F(t.fmtFullDateTime(new Date(u.created),!1))+" ",1),RM,Le(" "+F(t.fmtFullDateTime(new Date(u.finished),!1)),1)])])]))),128))])])])]))),128))])]))),128))])])])}const FM=we(uM,[["render",$M],["__scopeId","data-v-c2d84bb6"]]),VM=J2({history:p2(),routes:[{path:"/",component:aM,props:!0},{path:"/sessions",component:FM,props:!0}]});/*! * shared v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const Mc=typeof window<"u",zI=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Sr=t=>zI?Symbol(t):t,HI=(t,e,n)=>jI({l:t,k:e,s:n}),jI=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),et=t=>typeof t=="number"&&isFinite(t),BI=t=>hd(t)==="[object Date]",vr=t=>hd(t)==="[object RegExp]",Ba=t=>pe(t)&&Object.keys(t).length===0;function UI(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const it=Object.assign;let tm;const Ns=()=>tm||(tm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nm(t){return t.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const WI=Object.prototype.hasOwnProperty;function fd(t,e){return WI.call(t,e)}const $e=Array.isArray,qe=t=>typeof t=="function",te=t=>typeof t=="string",Ce=t=>typeof t=="boolean",Fe=t=>t!==null&&typeof t=="object",_v=Object.prototype.toString,hd=t=>_v.call(t),pe=t=>hd(t)==="[object Object]",KI=t=>t==null?"":$e(t)||pe(t)&&t.toString===_v?JSON.stringify(t,null,2):String(t);/*! + */const Mc=typeof window<"u",jM=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Sr=t=>jM?Symbol(t):t,zM=(t,e,n)=>HM({l:t,k:e,s:n}),HM=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),et=t=>typeof t=="number"&&isFinite(t),BM=t=>hd(t)==="[object Date]",vr=t=>hd(t)==="[object RegExp]",Ba=t=>pe(t)&&Object.keys(t).length===0;function UM(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const it=Object.assign;let tm;const Ns=()=>tm||(tm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nm(t){return t.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const WM=Object.prototype.hasOwnProperty;function fd(t,e){return WM.call(t,e)}const $e=Array.isArray,Ge=t=>typeof t=="function",te=t=>typeof t=="string",Ce=t=>typeof t=="boolean",Fe=t=>t!==null&&typeof t=="object",_v=Object.prototype.toString,hd=t=>_v.call(t),pe=t=>hd(t)==="[object Object]",KM=t=>t==null?"":$e(t)||pe(t)&&t.toString===_v?JSON.stringify(t,null,2):String(t);/*! * message-compiler v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const Pe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function Ua(t,e,n={}){const{domain:r,messages:i,args:s}=n,o=t,a=new SyntaxError(String(o));return a.code=t,e&&(a.location=e),a.domain=r,a}function YI(t){throw t}function qI(t,e,n){return{line:t,column:e,offset:n}}function Dc(t,e,n){const r={start:t,end:e};return n!=null&&(r.source=n),r}const In=" ",GI="\r",gt=` -`,XI=String.fromCharCode(8232),QI=String.fromCharCode(8233);function ZI(t){const e=t;let n=0,r=1,i=1,s=0;const o=x=>e[x]===GI&&e[x+1]===gt,a=x=>e[x]===gt,l=x=>e[x]===QI,c=x=>e[x]===XI,u=x=>o(x)||a(x)||l(x)||c(x),f=()=>n,d=()=>r,h=()=>i,w=()=>s,g=x=>o(x)||l(x)||c(x)?gt:e[x],E=()=>g(n),_=()=>g(n+s);function T(){return s=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,e[n]}function S(){return o(n+s)&&s++,s++,e[n+s]}function v(){n=0,r=1,i=1,s=0}function b(x=0){s=x}function k(){const x=n+s;for(;x!==n;)T();s=0}return{index:f,line:d,column:h,peekOffset:w,charAt:g,currentChar:E,currentPeek:_,next:T,peek:S,reset:v,resetPeek:b,skipToPeek:k}}const Zn=void 0,rm="'",JI="tokenizer";function eM(t,e={}){const n=e.location!==!1,r=ZI(t),i=()=>r.index(),s=()=>qI(r.line(),r.column(),r.index()),o=s(),a=i(),l={currentType:14,offset:a,startLoc:o,endLoc:o,lastType:14,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=e;function f(m,p,A,...P){const V=c();if(p.column+=A,p.offset+=A,u){const U=Dc(V.startLoc,p),K=Ua(m,U,{domain:JI,args:P});u(K)}}function d(m,p,A){m.endLoc=s(),m.currentType=p;const P={type:p};return n&&(P.loc=Dc(m.startLoc,m.endLoc)),A!=null&&(P.value=A),P}const h=m=>d(m,14);function w(m,p){return m.currentChar()===p?(m.next(),p):(f(Pe.EXPECTED_TOKEN,s(),0,p),"")}function g(m){let p="";for(;m.currentPeek()===In||m.currentPeek()===gt;)p+=m.currentPeek(),m.peek();return p}function E(m){const p=g(m);return m.skipToPeek(),p}function _(m){if(m===Zn)return!1;const p=m.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function T(m){if(m===Zn)return!1;const p=m.charCodeAt(0);return p>=48&&p<=57}function S(m,p){const{currentType:A}=p;if(A!==2)return!1;g(m);const P=_(m.currentPeek());return m.resetPeek(),P}function v(m,p){const{currentType:A}=p;if(A!==2)return!1;g(m);const P=m.currentPeek()==="-"?m.peek():m.currentPeek(),V=T(P);return m.resetPeek(),V}function b(m,p){const{currentType:A}=p;if(A!==2)return!1;g(m);const P=m.currentPeek()===rm;return m.resetPeek(),P}function k(m,p){const{currentType:A}=p;if(A!==8)return!1;g(m);const P=m.currentPeek()===".";return m.resetPeek(),P}function x(m,p){const{currentType:A}=p;if(A!==9)return!1;g(m);const P=_(m.currentPeek());return m.resetPeek(),P}function N(m,p){const{currentType:A}=p;if(!(A===8||A===12))return!1;g(m);const P=m.currentPeek()===":";return m.resetPeek(),P}function I(m,p){const{currentType:A}=p;if(A!==10)return!1;const P=()=>{const U=m.currentPeek();return U==="{"?_(m.peek()):U==="@"||U==="%"||U==="|"||U===":"||U==="."||U===In||!U?!1:U===gt?(m.peek(),P()):_(U)},V=P();return m.resetPeek(),V}function B(m){g(m);const p=m.currentPeek()==="|";return m.resetPeek(),p}function X(m){const p=g(m),A=m.currentPeek()==="%"&&m.peek()==="{";return m.resetPeek(),{isModulo:A,hasSpace:p.length>0}}function J(m,p=!0){const A=(V=!1,U="",K=!1)=>{const G=m.currentPeek();return G==="{"?U==="%"?!1:V:G==="@"||!G?U==="%"?!0:V:G==="%"?(m.peek(),A(V,"%",!0)):G==="|"?U==="%"||K?!0:!(U===In||U===gt):G===In?(m.peek(),A(!0,In,K)):G===gt?(m.peek(),A(!0,gt,K)):!0},P=A();return p&&m.resetPeek(),P}function ne(m,p){const A=m.currentChar();return A===Zn?Zn:p(A)?(m.next(),A):null}function D(m){return ne(m,A=>{const P=A.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36})}function L(m){return ne(m,A=>{const P=A.charCodeAt(0);return P>=48&&P<=57})}function Y(m){return ne(m,A=>{const P=A.charCodeAt(0);return P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102})}function W(m){let p="",A="";for(;p=L(m);)A+=p;return A}function Z(m){E(m);const p=m.currentChar();return p!=="%"&&f(Pe.EXPECTED_TOKEN,s(),0,p),m.next(),"%"}function oe(m){let p="";for(;;){const A=m.currentChar();if(A==="{"||A==="}"||A==="@"||A==="|"||!A)break;if(A==="%")if(J(m))p+=A,m.next();else break;else if(A===In||A===gt)if(J(m))p+=A,m.next();else{if(B(m))break;p+=A,m.next()}else p+=A,m.next()}return p}function le(m){E(m);let p="",A="";for(;p=D(m);)A+=p;return m.currentChar()===Zn&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),A}function ae(m){E(m);let p="";return m.currentChar()==="-"?(m.next(),p+=`-${W(m)}`):p+=W(m),m.currentChar()===Zn&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),p}function ce(m){E(m),w(m,"'");let p="",A="";const P=U=>U!==rm&&U!==gt;for(;p=ne(m,P);)p==="\\"?A+=Oe(m):A+=p;const V=m.currentChar();return V===gt||V===Zn?(f(Pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),V===gt&&(m.next(),w(m,"'")),A):(w(m,"'"),A)}function Oe(m){const p=m.currentChar();switch(p){case"\\":case"'":return m.next(),`\\${p}`;case"u":return fe(m,p,4);case"U":return fe(m,p,6);default:return f(Pe.UNKNOWN_ESCAPE_SEQUENCE,s(),0,p),""}}function fe(m,p,A){w(m,p);let P="";for(let V=0;VV!=="{"&&V!=="}"&&V!==In&&V!==gt;for(;p=ne(m,P);)A+=p;return A}function Q(m){let p="",A="";for(;p=D(m);)A+=p;return A}function j(m){const p=(A=!1,P)=>{const V=m.currentChar();return V==="{"||V==="%"||V==="@"||V==="|"||!V||V===In?P:V===gt?(P+=V,m.next(),p(A,P)):(P+=V,m.next(),p(!0,P))};return p(!1,"")}function ee(m){E(m);const p=w(m,"|");return E(m),p}function me(m,p){let A=null;switch(m.currentChar()){case"{":return p.braceNest>=1&&f(Pe.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),m.next(),A=d(p,2,"{"),E(m),p.braceNest++,A;case"}":return p.braceNest>0&&p.currentType===2&&f(Pe.EMPTY_PLACEHOLDER,s(),0),m.next(),A=d(p,3,"}"),p.braceNest--,p.braceNest>0&&E(m),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),A;case"@":return p.braceNest>0&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),A=ve(m,p)||h(p),p.braceNest=0,A;default:let V=!0,U=!0,K=!0;if(B(m))return p.braceNest>0&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),A=d(p,1,ee(m)),p.braceNest=0,p.inLinked=!1,A;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),p.braceNest=0,de(m,p);if(V=S(m,p))return A=d(p,5,le(m)),E(m),A;if(U=v(m,p))return A=d(p,6,ae(m)),E(m),A;if(K=b(m,p))return A=d(p,7,ce(m)),E(m),A;if(!V&&!U&&!K)return A=d(p,13,$(m)),f(Pe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,A.value),E(m),A;break}return A}function ve(m,p){const{currentType:A}=p;let P=null;const V=m.currentChar();switch((A===8||A===9||A===12||A===10)&&(V===gt||V===In)&&f(Pe.INVALID_LINKED_FORMAT,s(),0),V){case"@":return m.next(),P=d(p,8,"@"),p.inLinked=!0,P;case".":return E(m),m.next(),d(p,9,".");case":":return E(m),m.next(),d(p,10,":");default:return B(m)?(P=d(p,1,ee(m)),p.braceNest=0,p.inLinked=!1,P):k(m,p)||N(m,p)?(E(m),ve(m,p)):x(m,p)?(E(m),d(p,12,Q(m))):I(m,p)?(E(m),V==="{"?me(m,p)||P:d(p,11,j(m))):(A===8&&f(Pe.INVALID_LINKED_FORMAT,s(),0),p.braceNest=0,p.inLinked=!1,de(m,p))}}function de(m,p){let A={type:14};if(p.braceNest>0)return me(m,p)||h(p);if(p.inLinked)return ve(m,p)||h(p);switch(m.currentChar()){case"{":return me(m,p)||h(p);case"}":return f(Pe.UNBALANCED_CLOSING_BRACE,s(),0),m.next(),d(p,3,"}");case"@":return ve(m,p)||h(p);default:if(B(m))return A=d(p,1,ee(m)),p.braceNest=0,p.inLinked=!1,A;const{isModulo:V,hasSpace:U}=X(m);if(V)return U?d(p,0,oe(m)):d(p,4,Z(m));if(J(m))return d(p,0,oe(m));break}return A}function C(){const{currentType:m,offset:p,startLoc:A,endLoc:P}=l;return l.lastType=m,l.lastOffset=p,l.lastStartLoc=A,l.lastEndLoc=P,l.offset=i(),l.startLoc=s(),r.currentChar()===Zn?d(l,14):de(r,l)}return{nextToken:C,currentOffset:i,currentPosition:s,context:c}}const tM="parser",nM=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function rM(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(e||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function iM(t={}){const e=t.location!==!1,{onError:n}=t;function r(_,T,S,v,...b){const k=_.currentPosition();if(k.offset+=v,k.column+=v,n){const x=Dc(S,k),N=Ua(T,x,{domain:tM,args:b});n(N)}}function i(_,T,S){const v={type:_,start:T,end:T};return e&&(v.loc={start:S,end:S}),v}function s(_,T,S,v){_.end=T,v&&(_.type=v),e&&_.loc&&(_.loc.end=S)}function o(_,T){const S=_.context(),v=i(3,S.offset,S.startLoc);return v.value=T,s(v,_.currentOffset(),_.currentPosition()),v}function a(_,T){const S=_.context(),{lastOffset:v,lastStartLoc:b}=S,k=i(5,v,b);return k.index=parseInt(T,10),_.nextToken(),s(k,_.currentOffset(),_.currentPosition()),k}function l(_,T){const S=_.context(),{lastOffset:v,lastStartLoc:b}=S,k=i(4,v,b);return k.key=T,_.nextToken(),s(k,_.currentOffset(),_.currentPosition()),k}function c(_,T){const S=_.context(),{lastOffset:v,lastStartLoc:b}=S,k=i(9,v,b);return k.value=T.replace(nM,rM),_.nextToken(),s(k,_.currentOffset(),_.currentPosition()),k}function u(_){const T=_.nextToken(),S=_.context(),{lastOffset:v,lastStartLoc:b}=S,k=i(8,v,b);return T.type!==12?(r(_,Pe.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),k.value="",s(k,v,b),{nextConsumeToken:T,node:k}):(T.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vn(T)),k.value=T.value||"",s(k,_.currentOffset(),_.currentPosition()),{node:k})}function f(_,T){const S=_.context(),v=i(7,S.offset,S.startLoc);return v.value=T,s(v,_.currentOffset(),_.currentPosition()),v}function d(_){const T=_.context(),S=i(6,T.offset,T.startLoc);let v=_.nextToken();if(v.type===9){const b=u(_);S.modifier=b.node,v=b.nextConsumeToken||_.nextToken()}switch(v.type!==10&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(v)),v=_.nextToken(),v.type===2&&(v=_.nextToken()),v.type){case 11:v.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(v)),S.key=f(_,v.value||"");break;case 5:v.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(v)),S.key=l(_,v.value||"");break;case 6:v.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(v)),S.key=a(_,v.value||"");break;case 7:v.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(v)),S.key=c(_,v.value||"");break;default:r(_,Pe.UNEXPECTED_EMPTY_LINKED_KEY,T.lastStartLoc,0);const b=_.context(),k=i(7,b.offset,b.startLoc);return k.value="",s(k,b.offset,b.startLoc),S.key=k,s(S,b.offset,b.startLoc),{nextConsumeToken:v,node:S}}return s(S,_.currentOffset(),_.currentPosition()),{node:S}}function h(_){const T=_.context(),S=T.currentType===1?_.currentOffset():T.offset,v=T.currentType===1?T.endLoc:T.startLoc,b=i(2,S,v);b.items=[];let k=null;do{const I=k||_.nextToken();switch(k=null,I.type){case 0:I.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(I)),b.items.push(o(_,I.value||""));break;case 6:I.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(I)),b.items.push(a(_,I.value||""));break;case 5:I.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(I)),b.items.push(l(_,I.value||""));break;case 7:I.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(I)),b.items.push(c(_,I.value||""));break;case 8:const B=d(_);b.items.push(B.node),k=B.nextConsumeToken||null;break}}while(T.currentType!==14&&T.currentType!==1);const x=T.currentType===1?T.lastOffset:_.currentOffset(),N=T.currentType===1?T.lastEndLoc:_.currentPosition();return s(b,x,N),b}function w(_,T,S,v){const b=_.context();let k=v.items.length===0;const x=i(1,T,S);x.cases=[],x.cases.push(v);do{const N=h(_);k||(k=N.items.length===0),x.cases.push(N)}while(b.currentType!==14);return k&&r(_,Pe.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),s(x,_.currentOffset(),_.currentPosition()),x}function g(_){const T=_.context(),{offset:S,startLoc:v}=T,b=h(_);return T.currentType===14?b:w(_,S,v,b)}function E(_){const T=eM(_,it({},t)),S=T.context(),v=i(0,S.offset,S.startLoc);return e&&v.loc&&(v.loc.source=_),v.body=g(T),S.currentType!==14&&r(T,Pe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,_[S.offset]||""),s(v,T.currentOffset(),T.currentPosition()),v}return{parse:E}}function vn(t){if(t.type===14)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"\u2026":e}function sM(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function im(t,e){for(let n=0;no;function l(g,E){o.code+=g}function c(g,E=!0){const _=E?i:"";l(s?_+" ".repeat(g):_)}function u(g=!0){const E=++o.indentLevel;g&&c(E)}function f(g=!0){const E=--o.indentLevel;g&&c(E)}function d(){c(o.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:g=>`_${g}`,needIndent:()=>o.needIndent}}function lM(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),Zi(t,e.key),e.modifier?(t.push(", "),Zi(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function cM(t,e){const{helper:n,needIndent:r}=t;t.push(`${n("normalize")}([`),t.indent(r());const i=e.items.length;for(let s=0;s1){t.push(`${n("plural")}([`),t.indent(r());const i=e.cases.length;for(let s=0;s{const n=te(e.mode)?e.mode:"normal",r=te(e.filename)?e.filename:"message.intl",i=!!e.sourceMap,s=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":` -`,o=e.needIndent?e.needIndent:n!=="arrow",a=t.helpers||[],l=aM(t,{mode:n,filename:r,sourceMap:i,breakLineCode:s,needIndent:o});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),a.length>0&&(l.push(`const { ${a.map(f=>`${f}: _${f}`).join(", ")} } = ctx`),l.newline()),l.push("return "),Zi(l,t),l.deindent(o),l.push("}");const{code:c,map:u}=l.context();return{ast:t,code:c,map:u?u.toJSON():void 0}};function hM(t,e={}){const n=it({},e),i=iM(n).parse(t);return oM(i,n),fM(i,n)}/*! + */const Pe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function Ua(t,e,n={}){const{domain:r,messages:i,args:s}=n,o=t,a=new SyntaxError(String(o));return a.code=t,e&&(a.location=e),a.domain=r,a}function YM(t){throw t}function GM(t,e,n){return{line:t,column:e,offset:n}}function Dc(t,e,n){const r={start:t,end:e};return n!=null&&(r.source=n),r}const In=" ",qM="\r",gt=` +`,XM=String.fromCharCode(8232),QM=String.fromCharCode(8233);function ZM(t){const e=t;let n=0,r=1,i=1,s=0;const o=x=>e[x]===qM&&e[x+1]===gt,a=x=>e[x]===gt,l=x=>e[x]===QM,c=x=>e[x]===XM,u=x=>o(x)||a(x)||l(x)||c(x),f=()=>n,d=()=>r,h=()=>i,w=()=>s,g=x=>o(x)||l(x)||c(x)?gt:e[x],E=()=>g(n),_=()=>g(n+s);function T(){return s=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,e[n]}function S(){return o(n+s)&&s++,s++,e[n+s]}function v(){n=0,r=1,i=1,s=0}function b(x=0){s=x}function A(){const x=n+s;for(;x!==n;)T();s=0}return{index:f,line:d,column:h,peekOffset:w,charAt:g,currentChar:E,currentPeek:_,next:T,peek:S,reset:v,resetPeek:b,skipToPeek:A}}const Zn=void 0,rm="'",JM="tokenizer";function e8(t,e={}){const n=e.location!==!1,r=ZM(t),i=()=>r.index(),s=()=>GM(r.line(),r.column(),r.index()),o=s(),a=i(),l={currentType:14,offset:a,startLoc:o,endLoc:o,lastType:14,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=e;function f(m,p,k,...P){const V=c();if(p.column+=k,p.offset+=k,u){const U=Dc(V.startLoc,p),K=Ua(m,U,{domain:JM,args:P});u(K)}}function d(m,p,k){m.endLoc=s(),m.currentType=p;const P={type:p};return n&&(P.loc=Dc(m.startLoc,m.endLoc)),k!=null&&(P.value=k),P}const h=m=>d(m,14);function w(m,p){return m.currentChar()===p?(m.next(),p):(f(Pe.EXPECTED_TOKEN,s(),0,p),"")}function g(m){let p="";for(;m.currentPeek()===In||m.currentPeek()===gt;)p+=m.currentPeek(),m.peek();return p}function E(m){const p=g(m);return m.skipToPeek(),p}function _(m){if(m===Zn)return!1;const p=m.charCodeAt(0);return p>=97&&p<=122||p>=65&&p<=90||p===95}function T(m){if(m===Zn)return!1;const p=m.charCodeAt(0);return p>=48&&p<=57}function S(m,p){const{currentType:k}=p;if(k!==2)return!1;g(m);const P=_(m.currentPeek());return m.resetPeek(),P}function v(m,p){const{currentType:k}=p;if(k!==2)return!1;g(m);const P=m.currentPeek()==="-"?m.peek():m.currentPeek(),V=T(P);return m.resetPeek(),V}function b(m,p){const{currentType:k}=p;if(k!==2)return!1;g(m);const P=m.currentPeek()===rm;return m.resetPeek(),P}function A(m,p){const{currentType:k}=p;if(k!==8)return!1;g(m);const P=m.currentPeek()===".";return m.resetPeek(),P}function x(m,p){const{currentType:k}=p;if(k!==9)return!1;g(m);const P=_(m.currentPeek());return m.resetPeek(),P}function N(m,p){const{currentType:k}=p;if(!(k===8||k===12))return!1;g(m);const P=m.currentPeek()===":";return m.resetPeek(),P}function I(m,p){const{currentType:k}=p;if(k!==10)return!1;const P=()=>{const U=m.currentPeek();return U==="{"?_(m.peek()):U==="@"||U==="%"||U==="|"||U===":"||U==="."||U===In||!U?!1:U===gt?(m.peek(),P()):_(U)},V=P();return m.resetPeek(),V}function B(m){g(m);const p=m.currentPeek()==="|";return m.resetPeek(),p}function X(m){const p=g(m),k=m.currentPeek()==="%"&&m.peek()==="{";return m.resetPeek(),{isModulo:k,hasSpace:p.length>0}}function J(m,p=!0){const k=(V=!1,U="",K=!1)=>{const q=m.currentPeek();return q==="{"?U==="%"?!1:V:q==="@"||!q?U==="%"?!0:V:q==="%"?(m.peek(),k(V,"%",!0)):q==="|"?U==="%"||K?!0:!(U===In||U===gt):q===In?(m.peek(),k(!0,In,K)):q===gt?(m.peek(),k(!0,gt,K)):!0},P=k();return p&&m.resetPeek(),P}function ne(m,p){const k=m.currentChar();return k===Zn?Zn:p(k)?(m.next(),k):null}function D(m){return ne(m,k=>{const P=k.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36})}function L(m){return ne(m,k=>{const P=k.charCodeAt(0);return P>=48&&P<=57})}function Y(m){return ne(m,k=>{const P=k.charCodeAt(0);return P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102})}function W(m){let p="",k="";for(;p=L(m);)k+=p;return k}function Z(m){E(m);const p=m.currentChar();return p!=="%"&&f(Pe.EXPECTED_TOKEN,s(),0,p),m.next(),"%"}function oe(m){let p="";for(;;){const k=m.currentChar();if(k==="{"||k==="}"||k==="@"||k==="|"||!k)break;if(k==="%")if(J(m))p+=k,m.next();else break;else if(k===In||k===gt)if(J(m))p+=k,m.next();else{if(B(m))break;p+=k,m.next()}else p+=k,m.next()}return p}function le(m){E(m);let p="",k="";for(;p=D(m);)k+=p;return m.currentChar()===Zn&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),k}function ae(m){E(m);let p="";return m.currentChar()==="-"?(m.next(),p+=`-${W(m)}`):p+=W(m),m.currentChar()===Zn&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),p}function ce(m){E(m),w(m,"'");let p="",k="";const P=U=>U!==rm&&U!==gt;for(;p=ne(m,P);)p==="\\"?k+=Oe(m):k+=p;const V=m.currentChar();return V===gt||V===Zn?(f(Pe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),V===gt&&(m.next(),w(m,"'")),k):(w(m,"'"),k)}function Oe(m){const p=m.currentChar();switch(p){case"\\":case"'":return m.next(),`\\${p}`;case"u":return fe(m,p,4);case"U":return fe(m,p,6);default:return f(Pe.UNKNOWN_ESCAPE_SEQUENCE,s(),0,p),""}}function fe(m,p,k){w(m,p);let P="";for(let V=0;VV!=="{"&&V!=="}"&&V!==In&&V!==gt;for(;p=ne(m,P);)k+=p;return k}function Q(m){let p="",k="";for(;p=D(m);)k+=p;return k}function H(m){const p=(k=!1,P)=>{const V=m.currentChar();return V==="{"||V==="%"||V==="@"||V==="|"||!V||V===In?P:V===gt?(P+=V,m.next(),p(k,P)):(P+=V,m.next(),p(!0,P))};return p(!1,"")}function ee(m){E(m);const p=w(m,"|");return E(m),p}function me(m,p){let k=null;switch(m.currentChar()){case"{":return p.braceNest>=1&&f(Pe.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),m.next(),k=d(p,2,"{"),E(m),p.braceNest++,k;case"}":return p.braceNest>0&&p.currentType===2&&f(Pe.EMPTY_PLACEHOLDER,s(),0),m.next(),k=d(p,3,"}"),p.braceNest--,p.braceNest>0&&E(m),p.inLinked&&p.braceNest===0&&(p.inLinked=!1),k;case"@":return p.braceNest>0&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),k=ve(m,p)||h(p),p.braceNest=0,k;default:let V=!0,U=!0,K=!0;if(B(m))return p.braceNest>0&&f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),k=d(p,1,ee(m)),p.braceNest=0,p.inLinked=!1,k;if(p.braceNest>0&&(p.currentType===5||p.currentType===6||p.currentType===7))return f(Pe.UNTERMINATED_CLOSING_BRACE,s(),0),p.braceNest=0,de(m,p);if(V=S(m,p))return k=d(p,5,le(m)),E(m),k;if(U=v(m,p))return k=d(p,6,ae(m)),E(m),k;if(K=b(m,p))return k=d(p,7,ce(m)),E(m),k;if(!V&&!U&&!K)return k=d(p,13,$(m)),f(Pe.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,k.value),E(m),k;break}return k}function ve(m,p){const{currentType:k}=p;let P=null;const V=m.currentChar();switch((k===8||k===9||k===12||k===10)&&(V===gt||V===In)&&f(Pe.INVALID_LINKED_FORMAT,s(),0),V){case"@":return m.next(),P=d(p,8,"@"),p.inLinked=!0,P;case".":return E(m),m.next(),d(p,9,".");case":":return E(m),m.next(),d(p,10,":");default:return B(m)?(P=d(p,1,ee(m)),p.braceNest=0,p.inLinked=!1,P):A(m,p)||N(m,p)?(E(m),ve(m,p)):x(m,p)?(E(m),d(p,12,Q(m))):I(m,p)?(E(m),V==="{"?me(m,p)||P:d(p,11,H(m))):(k===8&&f(Pe.INVALID_LINKED_FORMAT,s(),0),p.braceNest=0,p.inLinked=!1,de(m,p))}}function de(m,p){let k={type:14};if(p.braceNest>0)return me(m,p)||h(p);if(p.inLinked)return ve(m,p)||h(p);switch(m.currentChar()){case"{":return me(m,p)||h(p);case"}":return f(Pe.UNBALANCED_CLOSING_BRACE,s(),0),m.next(),d(p,3,"}");case"@":return ve(m,p)||h(p);default:if(B(m))return k=d(p,1,ee(m)),p.braceNest=0,p.inLinked=!1,k;const{isModulo:V,hasSpace:U}=X(m);if(V)return U?d(p,0,oe(m)):d(p,4,Z(m));if(J(m))return d(p,0,oe(m));break}return k}function C(){const{currentType:m,offset:p,startLoc:k,endLoc:P}=l;return l.lastType=m,l.lastOffset=p,l.lastStartLoc=k,l.lastEndLoc=P,l.offset=i(),l.startLoc=s(),r.currentChar()===Zn?d(l,14):de(r,l)}return{nextToken:C,currentOffset:i,currentPosition:s,context:c}}const t8="parser",n8=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function r8(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(e||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"\uFFFD"}}}function i8(t={}){const e=t.location!==!1,{onError:n}=t;function r(_,T,S,v,...b){const A=_.currentPosition();if(A.offset+=v,A.column+=v,n){const x=Dc(S,A),N=Ua(T,x,{domain:t8,args:b});n(N)}}function i(_,T,S){const v={type:_,start:T,end:T};return e&&(v.loc={start:S,end:S}),v}function s(_,T,S,v){_.end=T,v&&(_.type=v),e&&_.loc&&(_.loc.end=S)}function o(_,T){const S=_.context(),v=i(3,S.offset,S.startLoc);return v.value=T,s(v,_.currentOffset(),_.currentPosition()),v}function a(_,T){const S=_.context(),{lastOffset:v,lastStartLoc:b}=S,A=i(5,v,b);return A.index=parseInt(T,10),_.nextToken(),s(A,_.currentOffset(),_.currentPosition()),A}function l(_,T){const S=_.context(),{lastOffset:v,lastStartLoc:b}=S,A=i(4,v,b);return A.key=T,_.nextToken(),s(A,_.currentOffset(),_.currentPosition()),A}function c(_,T){const S=_.context(),{lastOffset:v,lastStartLoc:b}=S,A=i(9,v,b);return A.value=T.replace(n8,r8),_.nextToken(),s(A,_.currentOffset(),_.currentPosition()),A}function u(_){const T=_.nextToken(),S=_.context(),{lastOffset:v,lastStartLoc:b}=S,A=i(8,v,b);return T.type!==12?(r(_,Pe.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),A.value="",s(A,v,b),{nextConsumeToken:T,node:A}):(T.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,vn(T)),A.value=T.value||"",s(A,_.currentOffset(),_.currentPosition()),{node:A})}function f(_,T){const S=_.context(),v=i(7,S.offset,S.startLoc);return v.value=T,s(v,_.currentOffset(),_.currentPosition()),v}function d(_){const T=_.context(),S=i(6,T.offset,T.startLoc);let v=_.nextToken();if(v.type===9){const b=u(_);S.modifier=b.node,v=b.nextConsumeToken||_.nextToken()}switch(v.type!==10&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(v)),v=_.nextToken(),v.type===2&&(v=_.nextToken()),v.type){case 11:v.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(v)),S.key=f(_,v.value||"");break;case 5:v.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(v)),S.key=l(_,v.value||"");break;case 6:v.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(v)),S.key=a(_,v.value||"");break;case 7:v.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(v)),S.key=c(_,v.value||"");break;default:r(_,Pe.UNEXPECTED_EMPTY_LINKED_KEY,T.lastStartLoc,0);const b=_.context(),A=i(7,b.offset,b.startLoc);return A.value="",s(A,b.offset,b.startLoc),S.key=A,s(S,b.offset,b.startLoc),{nextConsumeToken:v,node:S}}return s(S,_.currentOffset(),_.currentPosition()),{node:S}}function h(_){const T=_.context(),S=T.currentType===1?_.currentOffset():T.offset,v=T.currentType===1?T.endLoc:T.startLoc,b=i(2,S,v);b.items=[];let A=null;do{const I=A||_.nextToken();switch(A=null,I.type){case 0:I.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(I)),b.items.push(o(_,I.value||""));break;case 6:I.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(I)),b.items.push(a(_,I.value||""));break;case 5:I.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(I)),b.items.push(l(_,I.value||""));break;case 7:I.value==null&&r(_,Pe.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,vn(I)),b.items.push(c(_,I.value||""));break;case 8:const B=d(_);b.items.push(B.node),A=B.nextConsumeToken||null;break}}while(T.currentType!==14&&T.currentType!==1);const x=T.currentType===1?T.lastOffset:_.currentOffset(),N=T.currentType===1?T.lastEndLoc:_.currentPosition();return s(b,x,N),b}function w(_,T,S,v){const b=_.context();let A=v.items.length===0;const x=i(1,T,S);x.cases=[],x.cases.push(v);do{const N=h(_);A||(A=N.items.length===0),x.cases.push(N)}while(b.currentType!==14);return A&&r(_,Pe.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),s(x,_.currentOffset(),_.currentPosition()),x}function g(_){const T=_.context(),{offset:S,startLoc:v}=T,b=h(_);return T.currentType===14?b:w(_,S,v,b)}function E(_){const T=e8(_,it({},t)),S=T.context(),v=i(0,S.offset,S.startLoc);return e&&v.loc&&(v.loc.source=_),v.body=g(T),S.currentType!==14&&r(T,Pe.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,_[S.offset]||""),s(v,T.currentOffset(),T.currentPosition()),v}return{parse:E}}function vn(t){if(t.type===14)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"\u2026":e}function s8(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function im(t,e){for(let n=0;no;function l(g,E){o.code+=g}function c(g,E=!0){const _=E?i:"";l(s?_+" ".repeat(g):_)}function u(g=!0){const E=++o.indentLevel;g&&c(E)}function f(g=!0){const E=--o.indentLevel;g&&c(E)}function d(){c(o.indentLevel)}return{context:a,push:l,indent:u,deindent:f,newline:d,helper:g=>`_${g}`,needIndent:()=>o.needIndent}}function l8(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),Zi(t,e.key),e.modifier?(t.push(", "),Zi(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function c8(t,e){const{helper:n,needIndent:r}=t;t.push(`${n("normalize")}([`),t.indent(r());const i=e.items.length;for(let s=0;s1){t.push(`${n("plural")}([`),t.indent(r());const i=e.cases.length;for(let s=0;s{const n=te(e.mode)?e.mode:"normal",r=te(e.filename)?e.filename:"message.intl",i=!!e.sourceMap,s=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":` +`,o=e.needIndent?e.needIndent:n!=="arrow",a=t.helpers||[],l=a8(t,{mode:n,filename:r,sourceMap:i,breakLineCode:s,needIndent:o});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),a.length>0&&(l.push(`const { ${a.map(f=>`${f}: _${f}`).join(", ")} } = ctx`),l.newline()),l.push("return "),Zi(l,t),l.deindent(o),l.push("}");const{code:c,map:u}=l.context();return{ast:t,code:c,map:u?u.toJSON():void 0}};function h8(t,e={}){const n=it({},e),i=i8(n).parse(t);return o8(i,n),f8(i,n)}/*! * devtools-if v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. @@ -63,8 +63,8 @@ var $v=Object.defineProperty;var Fv=(t,e,n)=>e in t?$v(t,e,{enumerable:!0,config * core-base v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const Ar=[];Ar[0]={w:[0],i:[3,0],["["]:[4],o:[7]};Ar[1]={w:[1],["."]:[2],["["]:[4],o:[7]};Ar[2]={w:[2],i:[3,0],[0]:[3,0]};Ar[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};Ar[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};Ar[5]={["'"]:[4,0],o:8,l:[5,0]};Ar[6]={['"']:[4,0],o:8,l:[6,0]};const mM=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function pM(t){return mM.test(t)}function gM(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function _M(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function vM(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:pM(e)?gM(e):"*"+e}function bM(t){const e=[];let n=-1,r=0,i=0,s,o,a,l,c,u,f;const d=[];d[0]=()=>{o===void 0?o=a:o+=a},d[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},d[2]=()=>{d[0](),i++},d[3]=()=>{if(i>0)i--,r=4,d[0]();else{if(i=0,o===void 0||(o=vM(o),o===!1))return!1;d[1]()}};function h(){const w=t[n+1];if(r===5&&w==="'"||r===6&&w==='"')return n++,a="\\"+w,d[0](),!0}for(;r!==null;)if(n++,s=t[n],!(s==="\\"&&h())){if(l=_M(s),f=Ar[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return e}}const sm=new Map;function yM(t,e){return Fe(t)?t[e]:null}function wM(t,e){if(!Fe(t))return null;let n=sm.get(e);if(n||(n=bM(e),n&&sm.set(e,n)),!n)return null;const r=n.length;let i=t,s=0;for(;st,TM=t=>"",CM="text",SM=t=>t.length===0?"":t.join(""),AM=KI;function om(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function kM(t){const e=et(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(et(t.named.count)||et(t.named.n))?et(t.named.count)?t.named.count:et(t.named.n)?t.named.n:e:e}function xM(t,e){e.count||(e.count=t),e.n||(e.n=t)}function LM(t={}){const e=t.locale,n=kM(t),r=Fe(t.pluralRules)&&te(e)&&qe(t.pluralRules[e])?t.pluralRules[e]:om,i=Fe(t.pluralRules)&&te(e)&&qe(t.pluralRules[e])?om:void 0,s=_=>_[r(n,_.length,i)],o=t.list||[],a=_=>o[_],l=t.named||{};et(t.pluralIndex)&&xM(n,l);const c=_=>l[_];function u(_){const T=qe(t.messages)?t.messages(_):Fe(t.messages)?t.messages[_]:!1;return T||(t.parent?t.parent.message(_):TM)}const f=_=>t.modifiers?t.modifiers[_]:EM,d=pe(t.processor)&&qe(t.processor.normalize)?t.processor.normalize:SM,h=pe(t.processor)&&qe(t.processor.interpolate)?t.processor.interpolate:AM,w=pe(t.processor)&&te(t.processor.type)?t.processor.type:CM,E={list:a,named:c,plural:s,linked:(_,...T)=>{const[S,v]=T;let b="text",k="";T.length===1?Fe(S)?(k=S.modifier||k,b=S.type||b):te(S)&&(k=S||k):T.length===2&&(te(S)&&(k=S||k),te(v)&&(b=v||b));let x=u(_)(E);return b==="vnode"&&$e(x)&&k&&(x=x[0]),k?f(k)(x,b):x},message:u,type:w,interpolate:h,normalize:d};return E}let Qs=null;function PM(t){Qs=t}function NM(t,e,n){Qs&&Qs.emit(vv.I18nInit,{timestamp:Date.now(),i18n:t,version:e,meta:n})}const OM=IM(vv.FunctionTranslate);function IM(t){return e=>Qs&&Qs.emit(t,e)}const MM={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};function DM(t,e,n){return[...new Set([n,...$e(e)?e:Fe(e)?Object.keys(e):te(e)?[e]:[n]])]}function bv(t,e,n){const r=te(n)?n:uo,i=t;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(r);if(!s){s=[];let o=[n];for(;$e(o);)o=am(s,o,e);const a=$e(e)||!pe(e)?e:e.default?e.default:null;o=te(a)?[a]:a,$e(o)&&am(s,o,!1),i.__localeChainCache.set(r,s)}return s}function am(t,e,n){let r=!0;for(let i=0;i`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function VM(){return{upper:(t,e)=>e==="text"&&te(t)?t.toUpperCase():e==="vnode"&&Fe(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&te(t)?t.toLowerCase():e==="vnode"&&Fe(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&te(t)?cm(t):e==="vnode"&&Fe(t)&&"__v_isVNode"in t?cm(t.children):t}}let yv;function zM(t){yv=t}let wv;function HM(t){wv=t}let Ev;function jM(t){Ev=t}let Tv=null;const um=t=>{Tv=t},BM=()=>Tv;let Cv=null;const dm=t=>{Cv=t},UM=()=>Cv;let fm=0;function WM(t={}){const e=te(t.version)?t.version:FM,n=te(t.locale)?t.locale:uo,r=$e(t.fallbackLocale)||pe(t.fallbackLocale)||te(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:n,i=pe(t.messages)?t.messages:{[n]:{}},s=pe(t.datetimeFormats)?t.datetimeFormats:{[n]:{}},o=pe(t.numberFormats)?t.numberFormats:{[n]:{}},a=it({},t.modifiers||{},VM()),l=t.pluralRules||{},c=qe(t.missing)?t.missing:null,u=Ce(t.missingWarn)||vr(t.missingWarn)?t.missingWarn:!0,f=Ce(t.fallbackWarn)||vr(t.fallbackWarn)?t.fallbackWarn:!0,d=!!t.fallbackFormat,h=!!t.unresolving,w=qe(t.postTranslation)?t.postTranslation:null,g=pe(t.processor)?t.processor:null,E=Ce(t.warnHtmlMessage)?t.warnHtmlMessage:!0,_=!!t.escapeParameter,T=qe(t.messageCompiler)?t.messageCompiler:yv,S=qe(t.messageResolver)?t.messageResolver:wv||yM,v=qe(t.localeFallbacker)?t.localeFallbacker:Ev||DM,b=Fe(t.fallbackContext)?t.fallbackContext:void 0,k=qe(t.onWarn)?t.onWarn:UI,x=t,N=Fe(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,I=Fe(x.__numberFormatters)?x.__numberFormatters:new Map,B=Fe(x.__meta)?x.__meta:{};fm++;const X={version:e,cid:fm,locale:n,fallbackLocale:r,messages:i,modifiers:a,pluralRules:l,missing:c,missingWarn:u,fallbackWarn:f,fallbackFormat:d,unresolving:h,postTranslation:w,processor:g,warnHtmlMessage:E,escapeParameter:_,messageCompiler:T,messageResolver:S,localeFallbacker:v,fallbackContext:b,onWarn:k,__meta:B};return X.datetimeFormats=s,X.numberFormats=o,X.__datetimeFormatters=N,X.__numberFormatters=I,__INTLIFY_PROD_DEVTOOLS__&&NM(X,e,B),X}function pd(t,e,n,r,i){const{missing:s,onWarn:o}=t;if(s!==null){const a=s(t,n,e,i);return te(a)?a:e}else return e}function hs(t,e,n){const r=t;r.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}const KM=t=>t;let hm=Object.create(null);function YM(t,e={}){{const r=(e.onCacheKey||KM)(t),i=hm[r];if(i)return i;let s=!1;const o=e.onError||YI;e.onError=c=>{s=!0,o(c)};const{code:a}=hM(t,e),l=new Function(`return ${a}`)();return s?l:hm[r]=l}}let Sv=Pe.__EXTEND_POINT__;const jl=()=>++Sv,wi={INVALID_ARGUMENT:Sv,INVALID_DATE_ARGUMENT:jl(),INVALID_ISO_DATE_ARGUMENT:jl(),__EXTEND_POINT__:jl()};function Ei(t){return Ua(t,null,void 0)}const mm=()=>"",wn=t=>qe(t);function pm(t,...e){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:s,fallbackLocale:o,messages:a}=t,[l,c]=Rc(...e),u=Ce(c.missingWarn)?c.missingWarn:t.missingWarn,f=Ce(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,d=Ce(c.escapeParameter)?c.escapeParameter:t.escapeParameter,h=!!c.resolvedMessage,w=te(c.default)||Ce(c.default)?Ce(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:"",g=n||w!=="",E=te(c.locale)?c.locale:t.locale;d&&qM(c);let[_,T,S]=h?[l,E,a[E]||{}]:Av(t,l,E,o,f,u),v=_,b=l;if(!h&&!(te(v)||wn(v))&&g&&(v=w,b=v),!h&&(!(te(v)||wn(v))||!te(T)))return i?Wa:l;let k=!1;const x=()=>{k=!0},N=wn(v)?v:kv(t,l,T,v,b,x);if(k)return v;const I=QM(t,T,S,c),B=LM(I),X=GM(t,N,B),J=r?r(X,l):X;if(__INTLIFY_PROD_DEVTOOLS__){const ne={timestamp:Date.now(),key:te(l)?l:wn(v)?v.key:"",locale:T||(wn(v)?v.locale:""),format:te(v)?v:wn(v)?v.source:"",message:J};ne.meta=it({},t.__meta,BM()||{}),OM(ne)}return J}function qM(t){$e(t.list)?t.list=t.list.map(e=>te(e)?nm(e):e):Fe(t.named)&&Object.keys(t.named).forEach(e=>{te(t.named[e])&&(t.named[e]=nm(t.named[e]))})}function Av(t,e,n,r,i,s){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:c}=t,u=c(t,r,n);let f={},d,h=null;const w="translate";for(let g=0;gr;return c.locale=n,c.key=e,c}const l=o(r,XM(t,n,i,r,a,s));return l.locale=n,l.key=e,l.source=r,l}function GM(t,e,n){return e(n)}function Rc(...t){const[e,n,r]=t,i={};if(!te(e)&&!et(e)&&!wn(e))throw Ei(wi.INVALID_ARGUMENT);const s=et(e)?String(e):(wn(e),e);return et(n)?i.plural=n:te(n)?i.default=n:pe(n)&&!Ba(n)?i.named=n:$e(n)&&(i.list=n),et(r)?i.plural=r:te(r)?i.default=r:pe(r)&&it(i,r),[s,i]}function XM(t,e,n,r,i,s){return{warnHtmlMessage:i,onError:o=>{throw s&&s(o),o},onCacheKey:o=>HI(e,n,o)}}function QM(t,e,n,r){const{modifiers:i,pluralRules:s,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=t,d={locale:e,modifiers:i,pluralRules:s,messages:h=>{let w=o(n,h);if(w==null&&u){const[,,g]=Av(u,h,e,a,l,c);w=o(g,h)}if(te(w)){let g=!1;const _=kv(t,h,e,w,h,()=>{g=!0});return g?mm:_}else return wn(w)?w:mm}};return t.processor&&(d.processor=t.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),et(r.plural)&&(d.pluralIndex=r.plural),d}function gm(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=t,{__datetimeFormatters:a}=t,[l,c,u,f]=$c(...e),d=Ce(u.missingWarn)?u.missingWarn:t.missingWarn;Ce(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,w=te(u.locale)?u.locale:t.locale,g=o(t,i,w);if(!te(l)||l==="")return new Intl.DateTimeFormat(w,f).format(c);let E={},_,T=null;const S="datetime format";for(let k=0;k{xv.includes(l)?o[l]=n[l]:s[l]=n[l]}),te(r)?s.locale=r:pe(r)&&(o=r),pe(i)&&(o=i),[s.key||"",a,s,o]}function _m(t,e,n){const r=t;for(const i in n){const s=`${e}__${i}`;!r.__datetimeFormatters.has(s)||r.__datetimeFormatters.delete(s)}}function vm(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=t,{__numberFormatters:a}=t,[l,c,u,f]=Fc(...e),d=Ce(u.missingWarn)?u.missingWarn:t.missingWarn;Ce(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,w=te(u.locale)?u.locale:t.locale,g=o(t,i,w);if(!te(l)||l==="")return new Intl.NumberFormat(w,f).format(c);let E={},_,T=null;const S="number format";for(let k=0;k{Lv.includes(l)?o[l]=n[l]:s[l]=n[l]}),te(r)?s.locale=r:pe(r)&&(o=r),pe(i)&&(o=i),[s.key||"",a,s,o]}function bm(t,e,n){const r=t;for(const i in n){const s=`${e}__${i}`;!r.__numberFormatters.has(s)||r.__numberFormatters.delete(s)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ns().__INTLIFY_PROD_DEVTOOLS__=!1);/*! + */const kr=[];kr[0]={w:[0],i:[3,0],["["]:[4],o:[7]};kr[1]={w:[1],["."]:[2],["["]:[4],o:[7]};kr[2]={w:[2],i:[3,0],[0]:[3,0]};kr[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};kr[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};kr[5]={["'"]:[4,0],o:8,l:[5,0]};kr[6]={['"']:[4,0],o:8,l:[6,0]};const m8=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function p8(t){return m8.test(t)}function g8(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function _8(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function v8(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:p8(e)?g8(e):"*"+e}function b8(t){const e=[];let n=-1,r=0,i=0,s,o,a,l,c,u,f;const d=[];d[0]=()=>{o===void 0?o=a:o+=a},d[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},d[2]=()=>{d[0](),i++},d[3]=()=>{if(i>0)i--,r=4,d[0]();else{if(i=0,o===void 0||(o=v8(o),o===!1))return!1;d[1]()}};function h(){const w=t[n+1];if(r===5&&w==="'"||r===6&&w==='"')return n++,a="\\"+w,d[0](),!0}for(;r!==null;)if(n++,s=t[n],!(s==="\\"&&h())){if(l=_8(s),f=kr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return e}}const sm=new Map;function y8(t,e){return Fe(t)?t[e]:null}function w8(t,e){if(!Fe(t))return null;let n=sm.get(e);if(n||(n=b8(e),n&&sm.set(e,n)),!n)return null;const r=n.length;let i=t,s=0;for(;st,T8=t=>"",C8="text",S8=t=>t.length===0?"":t.join(""),k8=KM;function om(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function A8(t){const e=et(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(et(t.named.count)||et(t.named.n))?et(t.named.count)?t.named.count:et(t.named.n)?t.named.n:e:e}function x8(t,e){e.count||(e.count=t),e.n||(e.n=t)}function L8(t={}){const e=t.locale,n=A8(t),r=Fe(t.pluralRules)&&te(e)&&Ge(t.pluralRules[e])?t.pluralRules[e]:om,i=Fe(t.pluralRules)&&te(e)&&Ge(t.pluralRules[e])?om:void 0,s=_=>_[r(n,_.length,i)],o=t.list||[],a=_=>o[_],l=t.named||{};et(t.pluralIndex)&&x8(n,l);const c=_=>l[_];function u(_){const T=Ge(t.messages)?t.messages(_):Fe(t.messages)?t.messages[_]:!1;return T||(t.parent?t.parent.message(_):T8)}const f=_=>t.modifiers?t.modifiers[_]:E8,d=pe(t.processor)&&Ge(t.processor.normalize)?t.processor.normalize:S8,h=pe(t.processor)&&Ge(t.processor.interpolate)?t.processor.interpolate:k8,w=pe(t.processor)&&te(t.processor.type)?t.processor.type:C8,E={list:a,named:c,plural:s,linked:(_,...T)=>{const[S,v]=T;let b="text",A="";T.length===1?Fe(S)?(A=S.modifier||A,b=S.type||b):te(S)&&(A=S||A):T.length===2&&(te(S)&&(A=S||A),te(v)&&(b=v||b));let x=u(_)(E);return b==="vnode"&&$e(x)&&A&&(x=x[0]),A?f(A)(x,b):x},message:u,type:w,interpolate:h,normalize:d};return E}let Qs=null;function P8(t){Qs=t}function N8(t,e,n){Qs&&Qs.emit(vv.I18nInit,{timestamp:Date.now(),i18n:t,version:e,meta:n})}const O8=I8(vv.FunctionTranslate);function I8(t){return e=>Qs&&Qs.emit(t,e)}const M8={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};function D8(t,e,n){return[...new Set([n,...$e(e)?e:Fe(e)?Object.keys(e):te(e)?[e]:[n]])]}function bv(t,e,n){const r=te(n)?n:uo,i=t;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(r);if(!s){s=[];let o=[n];for(;$e(o);)o=am(s,o,e);const a=$e(e)||!pe(e)?e:e.default?e.default:null;o=te(a)?[a]:a,$e(o)&&am(s,o,!1),i.__localeChainCache.set(r,s)}return s}function am(t,e,n){let r=!0;for(let i=0;i`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function V8(){return{upper:(t,e)=>e==="text"&&te(t)?t.toUpperCase():e==="vnode"&&Fe(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&te(t)?t.toLowerCase():e==="vnode"&&Fe(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&te(t)?cm(t):e==="vnode"&&Fe(t)&&"__v_isVNode"in t?cm(t.children):t}}let yv;function j8(t){yv=t}let wv;function z8(t){wv=t}let Ev;function H8(t){Ev=t}let Tv=null;const um=t=>{Tv=t},B8=()=>Tv;let Cv=null;const dm=t=>{Cv=t},U8=()=>Cv;let fm=0;function W8(t={}){const e=te(t.version)?t.version:F8,n=te(t.locale)?t.locale:uo,r=$e(t.fallbackLocale)||pe(t.fallbackLocale)||te(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:n,i=pe(t.messages)?t.messages:{[n]:{}},s=pe(t.datetimeFormats)?t.datetimeFormats:{[n]:{}},o=pe(t.numberFormats)?t.numberFormats:{[n]:{}},a=it({},t.modifiers||{},V8()),l=t.pluralRules||{},c=Ge(t.missing)?t.missing:null,u=Ce(t.missingWarn)||vr(t.missingWarn)?t.missingWarn:!0,f=Ce(t.fallbackWarn)||vr(t.fallbackWarn)?t.fallbackWarn:!0,d=!!t.fallbackFormat,h=!!t.unresolving,w=Ge(t.postTranslation)?t.postTranslation:null,g=pe(t.processor)?t.processor:null,E=Ce(t.warnHtmlMessage)?t.warnHtmlMessage:!0,_=!!t.escapeParameter,T=Ge(t.messageCompiler)?t.messageCompiler:yv,S=Ge(t.messageResolver)?t.messageResolver:wv||y8,v=Ge(t.localeFallbacker)?t.localeFallbacker:Ev||D8,b=Fe(t.fallbackContext)?t.fallbackContext:void 0,A=Ge(t.onWarn)?t.onWarn:UM,x=t,N=Fe(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,I=Fe(x.__numberFormatters)?x.__numberFormatters:new Map,B=Fe(x.__meta)?x.__meta:{};fm++;const X={version:e,cid:fm,locale:n,fallbackLocale:r,messages:i,modifiers:a,pluralRules:l,missing:c,missingWarn:u,fallbackWarn:f,fallbackFormat:d,unresolving:h,postTranslation:w,processor:g,warnHtmlMessage:E,escapeParameter:_,messageCompiler:T,messageResolver:S,localeFallbacker:v,fallbackContext:b,onWarn:A,__meta:B};return X.datetimeFormats=s,X.numberFormats=o,X.__datetimeFormatters=N,X.__numberFormatters=I,__INTLIFY_PROD_DEVTOOLS__&&N8(X,e,B),X}function pd(t,e,n,r,i){const{missing:s,onWarn:o}=t;if(s!==null){const a=s(t,n,e,i);return te(a)?a:e}else return e}function hs(t,e,n){const r=t;r.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}const K8=t=>t;let hm=Object.create(null);function Y8(t,e={}){{const r=(e.onCacheKey||K8)(t),i=hm[r];if(i)return i;let s=!1;const o=e.onError||YM;e.onError=c=>{s=!0,o(c)};const{code:a}=h8(t,e),l=new Function(`return ${a}`)();return s?l:hm[r]=l}}let Sv=Pe.__EXTEND_POINT__;const Hl=()=>++Sv,wi={INVALID_ARGUMENT:Sv,INVALID_DATE_ARGUMENT:Hl(),INVALID_ISO_DATE_ARGUMENT:Hl(),__EXTEND_POINT__:Hl()};function Ei(t){return Ua(t,null,void 0)}const mm=()=>"",wn=t=>Ge(t);function pm(t,...e){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:s,fallbackLocale:o,messages:a}=t,[l,c]=Rc(...e),u=Ce(c.missingWarn)?c.missingWarn:t.missingWarn,f=Ce(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,d=Ce(c.escapeParameter)?c.escapeParameter:t.escapeParameter,h=!!c.resolvedMessage,w=te(c.default)||Ce(c.default)?Ce(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:"",g=n||w!=="",E=te(c.locale)?c.locale:t.locale;d&&G8(c);let[_,T,S]=h?[l,E,a[E]||{}]:kv(t,l,E,o,f,u),v=_,b=l;if(!h&&!(te(v)||wn(v))&&g&&(v=w,b=v),!h&&(!(te(v)||wn(v))||!te(T)))return i?Wa:l;let A=!1;const x=()=>{A=!0},N=wn(v)?v:Av(t,l,T,v,b,x);if(A)return v;const I=Q8(t,T,S,c),B=L8(I),X=q8(t,N,B),J=r?r(X,l):X;if(__INTLIFY_PROD_DEVTOOLS__){const ne={timestamp:Date.now(),key:te(l)?l:wn(v)?v.key:"",locale:T||(wn(v)?v.locale:""),format:te(v)?v:wn(v)?v.source:"",message:J};ne.meta=it({},t.__meta,B8()||{}),O8(ne)}return J}function G8(t){$e(t.list)?t.list=t.list.map(e=>te(e)?nm(e):e):Fe(t.named)&&Object.keys(t.named).forEach(e=>{te(t.named[e])&&(t.named[e]=nm(t.named[e]))})}function kv(t,e,n,r,i,s){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:c}=t,u=c(t,r,n);let f={},d,h=null;const w="translate";for(let g=0;gr;return c.locale=n,c.key=e,c}const l=o(r,X8(t,n,i,r,a,s));return l.locale=n,l.key=e,l.source=r,l}function q8(t,e,n){return e(n)}function Rc(...t){const[e,n,r]=t,i={};if(!te(e)&&!et(e)&&!wn(e))throw Ei(wi.INVALID_ARGUMENT);const s=et(e)?String(e):(wn(e),e);return et(n)?i.plural=n:te(n)?i.default=n:pe(n)&&!Ba(n)?i.named=n:$e(n)&&(i.list=n),et(r)?i.plural=r:te(r)?i.default=r:pe(r)&&it(i,r),[s,i]}function X8(t,e,n,r,i,s){return{warnHtmlMessage:i,onError:o=>{throw s&&s(o),o},onCacheKey:o=>zM(e,n,o)}}function Q8(t,e,n,r){const{modifiers:i,pluralRules:s,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=t,d={locale:e,modifiers:i,pluralRules:s,messages:h=>{let w=o(n,h);if(w==null&&u){const[,,g]=kv(u,h,e,a,l,c);w=o(g,h)}if(te(w)){let g=!1;const _=Av(t,h,e,w,h,()=>{g=!0});return g?mm:_}else return wn(w)?w:mm}};return t.processor&&(d.processor=t.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),et(r.plural)&&(d.pluralIndex=r.plural),d}function gm(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=t,{__datetimeFormatters:a}=t,[l,c,u,f]=$c(...e),d=Ce(u.missingWarn)?u.missingWarn:t.missingWarn;Ce(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,w=te(u.locale)?u.locale:t.locale,g=o(t,i,w);if(!te(l)||l==="")return new Intl.DateTimeFormat(w,f).format(c);let E={},_,T=null;const S="datetime format";for(let A=0;A{xv.includes(l)?o[l]=n[l]:s[l]=n[l]}),te(r)?s.locale=r:pe(r)&&(o=r),pe(i)&&(o=i),[s.key||"",a,s,o]}function _m(t,e,n){const r=t;for(const i in n){const s=`${e}__${i}`;!r.__datetimeFormatters.has(s)||r.__datetimeFormatters.delete(s)}}function vm(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=t,{__numberFormatters:a}=t,[l,c,u,f]=Fc(...e),d=Ce(u.missingWarn)?u.missingWarn:t.missingWarn;Ce(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,w=te(u.locale)?u.locale:t.locale,g=o(t,i,w);if(!te(l)||l==="")return new Intl.NumberFormat(w,f).format(c);let E={},_,T=null;const S="number format";for(let A=0;A{Lv.includes(l)?o[l]=n[l]:s[l]=n[l]}),te(r)?s.locale=r:pe(r)&&(o=r),pe(i)&&(o=i),[s.key||"",a,s,o]}function bm(t,e,n){const r=t;for(const i in n){const s=`${e}__${i}`;!r.__numberFormatters.has(s)||r.__numberFormatters.delete(s)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ns().__INTLIFY_PROD_DEVTOOLS__=!1);/*! * vue-i18n v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const ZM="9.2.2";function JM(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ns().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ns().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ns().__INTLIFY_PROD_DEVTOOLS__=!1)}MM.__EXTEND_POINT__;let Pv=Pe.__EXTEND_POINT__;const wt=()=>++Pv,Ze={UNEXPECTED_RETURN_TYPE:Pv,INVALID_ARGUMENT:wt(),MUST_BE_CALL_SETUP_TOP:wt(),NOT_INSLALLED:wt(),NOT_AVAILABLE_IN_LEGACY_MODE:wt(),REQUIRED_VALUE:wt(),INVALID_VALUE:wt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:wt(),NOT_INSLALLED_WITH_PROVIDE:wt(),UNEXPECTED_ERROR:wt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:wt(),BRIDGE_SUPPORT_VUE_2_ONLY:wt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:wt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:wt(),__EXTEND_POINT__:wt()};function tt(t,...e){return Ua(t,null,void 0)}const Vc=Sr("__transrateVNode"),zc=Sr("__datetimeParts"),Hc=Sr("__numberParts"),Nv=Sr("__setPluralRules");Sr("__intlifyMeta");const Ov=Sr("__injectWithOption");function jc(t){if(!Fe(t))return t;for(const e in t)if(!!fd(t,e))if(!e.includes("."))Fe(t[e])&&jc(t[e]);else{const n=e.split("."),r=n.length-1;let i=t;for(let s=0;s{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||{},Os(c,o[l])):Os(c,o)}else te(a)&&Os(JSON.parse(a),o)}),i==null&&s)for(const a in o)fd(o,a)&&jc(o[a]);return o}const xo=t=>!Fe(t)||$e(t);function Os(t,e){if(xo(t)||xo(e))throw tt(Ze.INVALID_VALUE);for(const n in t)fd(t,n)&&(xo(t[n])||xo(e[n])?e[n]=t[n]:Os(t[n],e[n]))}function Iv(t){return t.type}function Mv(t,e,n){let r=Fe(e.messages)?e.messages:{};"__i18nGlobal"in n&&(r=Ka(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(s=>{t.mergeLocaleMessage(s,r[s])});{if(Fe(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(Fe(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function ym(t){return re(so,null,t,0)}const wm="__INTLIFY_META__";let Em=0;function Tm(t){return(e,n,r,i)=>t(n,r,Pn()||void 0,i)}const eD=()=>{const t=Pn();let e=null;return t&&(e=Iv(t)[wm])?{[wm]:e}:null};function gd(t={},e){const{__root:n}=t,r=n===void 0;let i=Ce(t.inheritLocale)?t.inheritLocale:!0;const s=cn(n&&i?n.locale.value:te(t.locale)?t.locale:uo),o=cn(n&&i?n.fallbackLocale.value:te(t.fallbackLocale)||$e(t.fallbackLocale)||pe(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),a=cn(Ka(s.value,t)),l=cn(pe(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),c=cn(pe(t.numberFormats)?t.numberFormats:{[s.value]:{}});let u=n?n.missingWarn:Ce(t.missingWarn)||vr(t.missingWarn)?t.missingWarn:!0,f=n?n.fallbackWarn:Ce(t.fallbackWarn)||vr(t.fallbackWarn)?t.fallbackWarn:!0,d=n?n.fallbackRoot:Ce(t.fallbackRoot)?t.fallbackRoot:!0,h=!!t.fallbackFormat,w=qe(t.missing)?t.missing:null,g=qe(t.missing)?Tm(t.missing):null,E=qe(t.postTranslation)?t.postTranslation:null,_=n?n.warnHtmlMessage:Ce(t.warnHtmlMessage)?t.warnHtmlMessage:!0,T=!!t.escapeParameter;const S=n?n.modifiers:pe(t.modifiers)?t.modifiers:{};let v=t.pluralRules||n&&n.pluralRules,b;b=(()=>{r&&dm(null);const O={version:ZM,locale:s.value,fallbackLocale:o.value,messages:a.value,modifiers:S,pluralRules:v,missing:g===null?void 0:g,missingWarn:u,fallbackWarn:f,fallbackFormat:h,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:_,escapeParameter:T,messageResolver:t.messageResolver,__meta:{framework:"vue"}};O.datetimeFormats=l.value,O.numberFormats=c.value,O.__datetimeFormatters=pe(b)?b.__datetimeFormatters:void 0,O.__numberFormatters=pe(b)?b.__numberFormatters:void 0;const R=WM(O);return r&&dm(R),R})(),hs(b,s.value,o.value);function x(){return[s.value,o.value,a.value,l.value,c.value]}const N=je({get:()=>s.value,set:O=>{s.value=O,b.locale=s.value}}),I=je({get:()=>o.value,set:O=>{o.value=O,b.fallbackLocale=o.value,hs(b,s.value,O)}}),B=je(()=>a.value),X=je(()=>l.value),J=je(()=>c.value);function ne(){return qe(E)?E:null}function D(O){E=O,b.postTranslation=O}function L(){return w}function Y(O){O!==null&&(g=Tm(O)),w=O,b.missing=g}const W=(O,R,ie,se,ge,Ae)=>{x();let Ee;if(__INTLIFY_PROD_DEVTOOLS__)try{um(eD()),r||(b.fallbackContext=n?UM():void 0),Ee=O(b)}finally{um(null),r||(b.fallbackContext=void 0)}else Ee=O(b);if(et(Ee)&&Ee===Wa){const[Ue,Bt]=R();return n&&d?se(n):ge(Ue)}else{if(Ae(Ee))return Ee;throw tt(Ze.UNEXPECTED_RETURN_TYPE)}};function Z(...O){return W(R=>Reflect.apply(pm,null,[R,...O]),()=>Rc(...O),"translate",R=>Reflect.apply(R.t,R,[...O]),R=>R,R=>te(R))}function oe(...O){const[R,ie,se]=O;if(se&&!Fe(se))throw tt(Ze.INVALID_ARGUMENT);return Z(R,ie,it({resolvedMessage:!0},se||{}))}function le(...O){return W(R=>Reflect.apply(gm,null,[R,...O]),()=>$c(...O),"datetime format",R=>Reflect.apply(R.d,R,[...O]),()=>lm,R=>te(R))}function ae(...O){return W(R=>Reflect.apply(vm,null,[R,...O]),()=>Fc(...O),"number format",R=>Reflect.apply(R.n,R,[...O]),()=>lm,R=>te(R))}function ce(O){return O.map(R=>te(R)||et(R)||Ce(R)?ym(String(R)):R)}const fe={normalize:ce,interpolate:O=>O,type:"vnode"};function $(...O){return W(R=>{let ie;const se=R;try{se.processor=fe,ie=Reflect.apply(pm,null,[se,...O])}finally{se.processor=null}return ie},()=>Rc(...O),"translate",R=>R[Vc](...O),R=>[ym(R)],R=>$e(R))}function Q(...O){return W(R=>Reflect.apply(vm,null,[R,...O]),()=>Fc(...O),"number format",R=>R[Hc](...O),()=>[],R=>te(R)||$e(R))}function j(...O){return W(R=>Reflect.apply(gm,null,[R,...O]),()=>$c(...O),"datetime format",R=>R[zc](...O),()=>[],R=>te(R)||$e(R))}function ee(O){v=O,b.pluralRules=v}function me(O,R){const ie=te(R)?R:s.value,se=C(ie);return b.messageResolver(se,O)!==null}function ve(O){let R=null;const ie=bv(b,o.value,s.value);for(let se=0;se{i&&(s.value=O,b.locale=O,hs(b,s.value,o.value))}),ar(n.fallbackLocale,O=>{i&&(o.value=O,b.fallbackLocale=O,hs(b,s.value,o.value))}));const H={id:Em,locale:N,fallbackLocale:I,get inheritLocale(){return i},set inheritLocale(O){i=O,O&&n&&(s.value=n.locale.value,o.value=n.fallbackLocale.value,hs(b,s.value,o.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:B,get modifiers(){return S},get pluralRules(){return v||{}},get isGlobal(){return r},get missingWarn(){return u},set missingWarn(O){u=O,b.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(O){f=O,b.fallbackWarn=f},get fallbackRoot(){return d},set fallbackRoot(O){d=O},get fallbackFormat(){return h},set fallbackFormat(O){h=O,b.fallbackFormat=h},get warnHtmlMessage(){return _},set warnHtmlMessage(O){_=O,b.warnHtmlMessage=O},get escapeParameter(){return T},set escapeParameter(O){T=O,b.escapeParameter=O},t:Z,getLocaleMessage:C,setLocaleMessage:m,mergeLocaleMessage:p,getPostTranslationHandler:ne,setPostTranslationHandler:D,getMissingHandler:L,setMissingHandler:Y,[Nv]:ee};return H.datetimeFormats=X,H.numberFormats=J,H.rt=oe,H.te=me,H.tm=de,H.d=le,H.n=ae,H.getDateTimeFormat=A,H.setDateTimeFormat=P,H.mergeDateTimeFormat=V,H.getNumberFormat=U,H.setNumberFormat=K,H.mergeNumberFormat=G,H[Ov]=t.__injectWithOption,H[Vc]=$,H[zc]=j,H[Hc]=Q,H}function tD(t){const e=te(t.locale)?t.locale:uo,n=te(t.fallbackLocale)||$e(t.fallbackLocale)||pe(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,r=qe(t.missing)?t.missing:void 0,i=Ce(t.silentTranslationWarn)||vr(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,s=Ce(t.silentFallbackWarn)||vr(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,o=Ce(t.fallbackRoot)?t.fallbackRoot:!0,a=!!t.formatFallbackMessages,l=pe(t.modifiers)?t.modifiers:{},c=t.pluralizationRules,u=qe(t.postTranslation)?t.postTranslation:void 0,f=te(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,d=!!t.escapeParameterHtml,h=Ce(t.sync)?t.sync:!0;let w=t.messages;if(pe(t.sharedMessages)){const b=t.sharedMessages;w=Object.keys(b).reduce((x,N)=>{const I=x[N]||(x[N]={});return it(I,b[N]),x},w||{})}const{__i18n:g,__root:E,__injectWithOption:_}=t,T=t.datetimeFormats,S=t.numberFormats,v=t.flatJson;return{locale:e,fallbackLocale:n,messages:w,flatJson:v,datetimeFormats:T,numberFormats:S,missing:r,missingWarn:i,fallbackWarn:s,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:t.messageResolver,inheritLocale:h,__i18n:g,__root:E,__injectWithOption:_}}function Bc(t={},e){{const n=gd(tD(t)),r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return Ce(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=Ce(i)?!i:i},get silentFallbackWarn(){return Ce(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=Ce(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[s,o,a]=i,l={};let c=null,u=null;if(!te(s))throw tt(Ze.INVALID_ARGUMENT);const f=s;return te(o)?l.locale=o:$e(o)?c=o:pe(o)&&(u=o),$e(a)?c=a:pe(a)&&(u=a),Reflect.apply(n.t,n,[f,c||u||{},l])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[s,o,a]=i,l={plural:1};let c=null,u=null;if(!te(s))throw tt(Ze.INVALID_ARGUMENT);const f=s;return te(o)?l.locale=o:et(o)?l.plural=o:$e(o)?c=o:pe(o)&&(u=o),te(a)?l.locale=a:$e(a)?c=a:pe(a)&&(u=a),Reflect.apply(n.t,n,[f,c||u||{},l])},te(i,s){return n.te(i,s)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,s){n.setLocaleMessage(i,s)},mergeLocaleMessage(i,s){n.mergeLocaleMessage(i,s)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,s){n.setDateTimeFormat(i,s)},mergeDateTimeFormat(i,s){n.mergeDateTimeFormat(i,s)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,s){n.setNumberFormat(i,s)},mergeNumberFormat(i,s){n.mergeNumberFormat(i,s)},getChoiceIndex(i,s){return-1},__onComponentInstanceCreated(i){const{componentInstanceCreatedListener:s}=t;s&&s(i,r)}};return r}}const _d={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function nD({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((r,i)=>r=[...r,...$e(i.children)?i.children:[i]],[]):e.reduce((n,r)=>{const i=t[r];return i&&(n[r]=i()),n},{})}function Dv(t){return ke}const Cm={name:"i18n-t",props:it({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>et(t)||!isNaN(t)}},_d),setup(t,e){const{slots:n,attrs:r}=e,i=t.i18n||vd({useScope:t.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),o={};t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=te(t.plural)?+t.plural:t.plural);const a=nD(e,s),l=i[Vc](t.keypath,a,o),c=it({},r),u=te(t.tag)||Fe(t.tag)?t.tag:Dv();return Tr(u,c,l)}}};function rD(t){return $e(t)&&!te(t[0])}function Rv(t,e,n,r){const{slots:i,attrs:s}=e;return()=>{const o={part:!0};let a={};t.locale&&(o.locale=t.locale),te(t.format)?o.key=t.format:Fe(t.format)&&(te(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((d,h)=>n.includes(h)?it({},d,{[h]:t.format[h]}):d,{}));const l=r(t.value,o,a);let c=[o.key];$e(l)?c=l.map((d,h)=>{const w=i[d.type],g=w?w({[d.type]:d.value,index:h,parts:l}):[d.value];return rD(g)&&(g[0].key=`${d.type}-${h}`),g}):te(l)&&(c=[l]);const u=it({},s),f=te(t.tag)||Fe(t.tag)?t.tag:Dv();return Tr(f,u,c)}}const Sm={name:"i18n-n",props:it({value:{type:Number,required:!0},format:{type:[String,Object]}},_d),setup(t,e){const n=t.i18n||vd({useScope:"parent",__useComponent:!0});return Rv(t,e,Lv,(...r)=>n[Hc](...r))}},Am={name:"i18n-d",props:it({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},_d),setup(t,e){const n=t.i18n||vd({useScope:"parent",__useComponent:!0});return Rv(t,e,xv,(...r)=>n[zc](...r))}};function iD(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return r!=null?r.__composer:t.global.__composer}}function sD(t){const e=o=>{const{instance:a,modifiers:l,value:c}=o;if(!a||!a.$)throw tt(Ze.UNEXPECTED_ERROR);const u=iD(t,a.$),f=km(c);return[Reflect.apply(u.t,u,[...xm(f)]),u]};return{created:(o,a)=>{const[l,c]=e(a);Mc&&t.global===c&&(o.__i18nWatcher=ar(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{Mc&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,c=km(a);o.textContent=Reflect.apply(l.t,l,[...xm(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function km(t){if(te(t))return{path:t};if(pe(t)){if(!("path"in t))throw tt(Ze.REQUIRED_VALUE,"path");return t}else throw tt(Ze.INVALID_VALUE)}function xm(t){const{path:e,locale:n,args:r,choice:i,plural:s}=t,o={},a=r||{};return te(n)&&(o.locale=n),et(i)&&(o.plural=i),et(s)&&(o.plural=s),[e,a,o]}function oD(t,e,...n){const r=pe(n[0])?n[0]:{},i=!!r.useI18nComponentName;(Ce(r.globalInstall)?r.globalInstall:!0)&&(t.component(i?"i18n":Cm.name,Cm),t.component(Sm.name,Sm),t.component(Am.name,Am)),t.directive("t",sD(e))}function aD(t,e,n){return{beforeCreate(){const r=Pn();if(!r)throw tt(Ze.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const s=i.i18n;i.__i18n&&(s.__i18n=i.__i18n),s.__root=e,this===this.$root?this.$i18n=Lm(t,s):(s.__injectWithOption=!0,this.$i18n=Bc(s))}else i.__i18n?this===this.$root?this.$i18n=Lm(t,i):this.$i18n=Bc({__i18n:i.__i18n,__injectWithOption:!0,__root:e}):this.$i18n=t;i.__i18nGlobal&&Mv(e,i,i),t.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,o)=>this.$i18n.te(s,o),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s)},mounted(){},unmounted(){const r=Pn();if(!r)throw tt(Ze.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(r),delete this.$i18n}}}function Lm(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[Nv](e.pluralizationRules||t.pluralizationRules);const n=Ka(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(r=>t.mergeLocaleMessage(r,n[r])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(r=>t.mergeDateTimeFormat(r,e.datetimeFormats[r])),e.numberFormats&&Object.keys(e.numberFormats).forEach(r=>t.mergeNumberFormat(r,e.numberFormats[r])),t}const lD=Sr("global-vue-i18n");function cD(t={},e){const n=__VUE_I18N_LEGACY_API__&&Ce(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,r=Ce(t.globalInjection)?t.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,s=new Map,[o,a]=uD(t,n),l=Sr("");function c(d){return s.get(d)||null}function u(d,h){s.set(d,h)}function f(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(h,...w){h.__VUE_I18N_SYMBOL__=l,h.provide(h.__VUE_I18N_SYMBOL__,d),!n&&r&&bD(h,d.global),__VUE_I18N_FULL_INSTALL__&&oD(h,d,...w),__VUE_I18N_LEGACY_API__&&n&&h.mixin(aD(a,a.__composer,d));const g=h.unmount;h.unmount=()=>{d.dispose(),g()}},get global(){return a},dispose(){o.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:f};return d}}function vd(t={}){const e=Pn();if(e==null)throw tt(Ze.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw tt(Ze.NOT_INSLALLED);const n=dD(e),r=hD(n),i=Iv(e),s=fD(t,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw tt(Ze.NOT_AVAILABLE_IN_LEGACY_MODE);return gD(e,s,r,t)}if(s==="global")return Mv(r,t,i),r;if(s==="parent"){let l=mD(n,e,t.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(e);if(a==null){const l=it({},t);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),a=gd(l),pD(o,e),o.__setInstance(e,a)}return a}function uD(t,e,n){const r=iE();{const i=__VUE_I18N_LEGACY_API__&&e?r.run(()=>Bc(t)):r.run(()=>gd(t));if(i==null)throw tt(Ze.UNEXPECTED_ERROR);return[r,i]}}function dD(t){{const e=An(t.isCE?lD:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw tt(t.isCE?Ze.NOT_INSLALLED_WITH_PROVIDE:Ze.UNEXPECTED_ERROR);return e}}function fD(t,e){return Ba(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function hD(t){return t.mode==="composition"?t.global:t.global.__composer}function mD(t,e,n=!1){let r=null;const i=e.root;let s=e.parent;for(;s!=null;){const o=t;if(t.mode==="composition")r=o.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[Ov]&&(r=null))}if(r!=null||i===s)break;s=s.parent}return r}function pD(t,e,n){Su(()=>{},e),La(()=>{t.__deleteInstance(e)},e)}function gD(t,e,n,r={}){const i=e==="local",s=Xp(null);if(i&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw tt(Ze.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=Ce(r.inheritLocale)?r.inheritLocale:!0,a=cn(i&&o?n.locale.value:te(r.locale)?r.locale:uo),l=cn(i&&o?n.fallbackLocale.value:te(r.fallbackLocale)||$e(r.fallbackLocale)||pe(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),c=cn(Ka(a.value,r)),u=cn(pe(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),f=cn(pe(r.numberFormats)?r.numberFormats:{[a.value]:{}}),d=i?n.missingWarn:Ce(r.missingWarn)||vr(r.missingWarn)?r.missingWarn:!0,h=i?n.fallbackWarn:Ce(r.fallbackWarn)||vr(r.fallbackWarn)?r.fallbackWarn:!0,w=i?n.fallbackRoot:Ce(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,E=qe(r.missing)?r.missing:null,_=qe(r.postTranslation)?r.postTranslation:null,T=i?n.warnHtmlMessage:Ce(r.warnHtmlMessage)?r.warnHtmlMessage:!0,S=!!r.escapeParameter,v=i?n.modifiers:pe(r.modifiers)?r.modifiers:{},b=r.pluralRules||i&&n.pluralRules;function k(){return[a.value,l.value,c.value,u.value,f.value]}const x=je({get:()=>s.value?s.value.locale.value:a.value,set:p=>{s.value&&(s.value.locale.value=p),a.value=p}}),N=je({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:p=>{s.value&&(s.value.fallbackLocale.value=p),l.value=p}}),I=je(()=>s.value?s.value.messages.value:c.value),B=je(()=>u.value),X=je(()=>f.value);function J(){return s.value?s.value.getPostTranslationHandler():_}function ne(p){s.value&&s.value.setPostTranslationHandler(p)}function D(){return s.value?s.value.getMissingHandler():E}function L(p){s.value&&s.value.setMissingHandler(p)}function Y(p){return k(),p()}function W(...p){return s.value?Y(()=>Reflect.apply(s.value.t,null,[...p])):Y(()=>"")}function Z(...p){return s.value?Reflect.apply(s.value.rt,null,[...p]):""}function oe(...p){return s.value?Y(()=>Reflect.apply(s.value.d,null,[...p])):Y(()=>"")}function le(...p){return s.value?Y(()=>Reflect.apply(s.value.n,null,[...p])):Y(()=>"")}function ae(p){return s.value?s.value.tm(p):{}}function ce(p,A){return s.value?s.value.te(p,A):!1}function Oe(p){return s.value?s.value.getLocaleMessage(p):{}}function fe(p,A){s.value&&(s.value.setLocaleMessage(p,A),c.value[p]=A)}function $(p,A){s.value&&s.value.mergeLocaleMessage(p,A)}function Q(p){return s.value?s.value.getDateTimeFormat(p):{}}function j(p,A){s.value&&(s.value.setDateTimeFormat(p,A),u.value[p]=A)}function ee(p,A){s.value&&s.value.mergeDateTimeFormat(p,A)}function me(p){return s.value?s.value.getNumberFormat(p):{}}function ve(p,A){s.value&&(s.value.setNumberFormat(p,A),f.value[p]=A)}function de(p,A){s.value&&s.value.mergeNumberFormat(p,A)}const C={get id(){return s.value?s.value.id:-1},locale:x,fallbackLocale:N,messages:I,datetimeFormats:B,numberFormats:X,get inheritLocale(){return s.value?s.value.inheritLocale:o},set inheritLocale(p){s.value&&(s.value.inheritLocale=p)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:v},get pluralRules(){return s.value?s.value.pluralRules:b},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(p){s.value&&(s.value.missingWarn=p)},get fallbackWarn(){return s.value?s.value.fallbackWarn:h},set fallbackWarn(p){s.value&&(s.value.missingWarn=p)},get fallbackRoot(){return s.value?s.value.fallbackRoot:w},set fallbackRoot(p){s.value&&(s.value.fallbackRoot=p)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(p){s.value&&(s.value.fallbackFormat=p)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:T},set warnHtmlMessage(p){s.value&&(s.value.warnHtmlMessage=p)},get escapeParameter(){return s.value?s.value.escapeParameter:S},set escapeParameter(p){s.value&&(s.value.escapeParameter=p)},t:W,getPostTranslationHandler:J,setPostTranslationHandler:ne,getMissingHandler:D,setMissingHandler:L,rt:Z,d:oe,n:le,tm:ae,te:ce,getLocaleMessage:Oe,setLocaleMessage:fe,mergeLocaleMessage:$,getDateTimeFormat:Q,setDateTimeFormat:j,mergeDateTimeFormat:ee,getNumberFormat:me,setNumberFormat:ve,mergeNumberFormat:de};function m(p){p.locale.value=a.value,p.fallbackLocale.value=l.value,Object.keys(c.value).forEach(A=>{p.mergeLocaleMessage(A,c.value[A])}),Object.keys(u.value).forEach(A=>{p.mergeDateTimeFormat(A,u.value[A])}),Object.keys(f.value).forEach(A=>{p.mergeNumberFormat(A,f.value[A])}),p.escapeParameter=S,p.fallbackFormat=g,p.fallbackRoot=w,p.fallbackWarn=h,p.missingWarn=d,p.warnHtmlMessage=T}return dg(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw tt(Ze.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const p=s.value=t.proxy.$i18n.__composer;e==="global"?(a.value=p.locale.value,l.value=p.fallbackLocale.value,c.value=p.messages.value,u.value=p.datetimeFormats.value,f.value=p.numberFormats.value):i&&m(p)}),C}const _D=["locale","fallbackLocale","availableLocales"],vD=["t","rt","d","n","tm"];function bD(t,e){const n=Object.create(null);_D.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i)throw tt(Ze.UNEXPECTED_ERROR);const s=lt(i.value)?{get(){return i.value.value},set(o){i.value.value=o}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,s)}),t.config.globalProperties.$i18n=n,vD.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i||!i.value)throw tt(Ze.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${r}`,i)})}zM(YM);HM(wM);jM(bv);JM();if(__INTLIFY_PROD_DEVTOOLS__){const t=Ns();t.__INTLIFY__=!0,PM(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const yD={header:{sessions:"Ladevorg\xE4nge",docs:"Doku",blog:"Blog",github:"GitHub",login:"Fahrzeug Logins",about:"\xDCber evcc",theme:{auto:"Design: System",light:"Design: Hell",dark:"Design: Dunkel"}},footer:{version:{availableShort:"Update",availableLong:"Update verf\xFCgbar",modalTitle:"Update verf\xFCgbar",modalUpdateStarted:"Nach der Aktualisierung wird evcc neu gestartet.",modalInstalledVersion:"Aktuell installierte Version",modalNoReleaseNotes:"Keine Releasenotes verf\xFCgbar. Mehr Informationen zur neuen Version findest du hier:",modalCancel:"Abbrechen",modalUpdate:"Aktualisieren",modalUpdateNow:"Jetzt aktualisieren",modalDownload:"Download",modalUpdateStatusStart:"Aktualisierung gestartet: ",modalUpdateStatusFailed:"Aktualisierung nicht m\xF6glich: "},savings:{tabTitle:"Meine Daten",footerShort:"{percent}% Sonne",footerLong:"{percent}% Sonnenenergie",modalTitle:"Auswertung Ladeenergie",since:"seit {since}",percentTitle:"Sonnenenergie",percentSelf:"{self} kWh Sonne",percentGrid:"{grid} kWh Netz",priceTitle:"Energiepreis",priceFeedIn:"{feedInPrice} Einspeisung",priceGrid:"{gridPrice} Netz",savingsTitle:"Ersparnis",savingsComparedToGrid:"gegen\xFCber Netzbezug",savingsTotalEnergy:"{total} kWh geladen"},community:{tabTitle:"Live-Community",power:"Ladeleistung",powerSub1:"{activeClients} von {totalClients} Nutzern",powerSub2:"laden mit evcc",greenShare:"Sonnenanteil",greenShareSub1:"der Leistung kommt",greenShareSub2:"aus PV & Hausakku",greenEnergy:"Sonnenenergie",greenEnergySub1:"\xFCber evcc geladen",greenEnergySub2:"seit Oktober 2022"},telemetry:{optIn:"Ich m\xF6chte meine Daten auch beisteuern.",optInMoreDetails:"Mehr Details gibts {0}.",optInMoreDetailsLink:"hier",optInSponsorship:"Sponsoring erforderlich."},sponsor:{titleSponsor:"Du bist Unterst\xFCtzer",titleNoSponsor:"Unterst\xFCtze uns",thanks:"Danke f\xFCr dein Sponsoring, {sponsor}! Das hilft uns bei der Weiterentwicklung.",confetti:"Lust auf Konfetti?",supportUs:"Unsere Mission: Sonne tanken zum Standard machen. Hilf uns und unterst\xFCtze evcc finanziell.",sticker:"...oder evcc Sticker?",confettiPromise:"Es gibt auch Sticker und digitales Konfetti ;)",becomeSponsor:"Sponsor werden"}},notifications:{modalTitle:"Meldungen",dismissAll:"Meldungen entfernen"},main:{vehicles:"Parkplatz",energyflow:{noEnergy:"Kein Messwerte",homePower:"Verbrauch",pvProduction:"Erzeugung",loadpoints:"Ladepunkt | Ladepunkt | {count} Ladepunkte",battery:"Batterie",batteryCharge:"Batterie laden",batteryDischarge:"Batterie entladen",gridImport:"Netzbezug",selfConsumption:"Eigenverbrauch",pvExport:"Einspeisung"},mode:{off:"Aus",minpv:"Min+PV",pv:"PV",now:"Schnell"},loadpoint:{fallbackName:"Ladepunkt",remoteDisabledSoft:"{source}: Adaptives PV-Laden deaktiviert",remoteDisabledHard:"{source}: Deaktiviert",power:"Leistung",charged:"Geladen",duration:"Dauer",remaining:"Restzeit"},loadpointSettings:{title:'Einstellungen "{0}"',vehicle:"Fahrzeug",currents:"Ladestrom",default:"default",disclaimerHint:"Hinweis:",disclaimerText:"\xC4nderungen sind aktuell noch nicht persistent und werden nach einem Serverneustart wieder zur\xFCckgesetzt.",minSoC:{label:"Mindestladestand",description:'Reichweite f\xFCr Notf\xE4lle. Fahrzeug wird im PV-Modus "schnell" auf {0}% geladen. Danach weiter mit PV-\xDCberschuss.'},phasesConfigured:{label:"Phasen",phases_0:"automatischer Wechsel",phases_1:"1-phasig",phases_1_hint:"({min} bis {max})",phases_3:"3-phasig",phases_3_hint:"({min} bis {max})"},maxCurrent:{label:"Max. Ladestrom"},minCurrent:{label:"Min. Ladestrom"}},vehicle:{fallbackName:"Fahrzeug",vehicleSoC:"Ladestand",targetSoC:"Ladeziel",none:"Kein Fahrzeug",unknown:"Gastfahrzeug",changeVehicle:"Fahrzeug \xE4ndern",detectionActive:"Fahrzeugerkennung l\xE4uft ..."},vehicleSoC:{disconnected:"getrennt",charging:"l\xE4dt",ready:"bereit",connected:"verbunden",vehicleTarget:"Fahrzeuglimit: {soc}%"},vehicleStatus:{minCharge:"Mindestladung bis {soc}%.",waitForVehicle:"Ladebereit. Warte auf Fahrzeug.",vehicleTargetReached:"Fahrzeuglimit {soc}% erreicht.",charging:"Ladevorgang aktiv.",targetChargePlanned:"Zielladen geplant. Ladung startet {time} Uhr.",targetChargeWaitForVehicle:"Zielladen bereit. Warte auf Fahrzeug.",targetChargeActive:"Zielladen aktiv.",connected:"Verbunden.",pvDisable:"Zu wenig \xDCberschuss. Pausiere in {remaining}.",pvEnable:"\xDCberschuss verf\xFCgbar. Starte in {remaining}.",scale1p:"Reduziere auf einphasig in {remaining}.",scale3p:"Erh\xF6he auf dreiphasig in {remaining}.",disconnected:"Nicht verbunden.",unknown:""},provider:{login:"anmelden",logout:"abmelden"},targetCharge:{title:"Zielzeit",inactiveLabel:"Zielzeit",activeLabel:"{time}",modalTitle:"Zielzeit festlegen",setTargetTime:"keine",description:"Wann soll das Fahrzeug auf {targetSoC}% geladen sein?",today:"heute",tomorrow:"morgen",targetIsInThePast:"Zeitpunkt liegt in der Vergangenheit.",remove:"Entfernen",activate:"Aktivieren",experimentalLabel:"Experimentell",experimentalText:"Dieses Feature funktioniert, ist aber noch nicht perfekt. Bitte melde unerwartetes Verhalten in unseren"},targetEnergy:{label:"Ladeziel",noLimit:"keins"}},startupError:{title:"Fehler beim Starten",description:"Bitte \xFCberpr\xFCfe deine Konfigurationsdatei. Sollte dir die Fehlermeldung nicht weiterhelfen, suche in unseren {0} nach einer L\xF6sung.",discussions:"GitHub Discussions",hint:"Hinweis: Ein weiterer Grund, warum du diese Meldung siehst, k\xF6nnte ein fehlerhaftes Ger\xE4t (Wechselrichter, Z\xE4hler, ...) sein. \xDCberpr\xFCfe deine Netzwerkverbindungen.",configuration:"Konfiguration",configFile:"Verwendete Konfigurationsdatei:",lineError:"In {0} wurde ein Fehler gefunden.",lineErrorLink:"Zeile {0}",fixAndRestart:"Behebe das Problem und starte den Server neu.",restartButton:"Neu starten"},sessions:{title:"Ladevorg\xE4nge",downloadCsv:"Als CSV herunterladen",loadpoint:"Ladepunkt",vehicle:"Fahrzeug",energy:"Geladen",date:"Zeitraum",csv:{loadpoint:"Ladepunkt",vehicle:"Fahrzeug",odometer:"Kilometerstand (km)",identifier:"Kennung",chargedenergy:"Energie (kWh)",meterstart:"Anfangsz\xE4hlerstand (kWh)",meterstop:"Endz\xE4hlerstand (kWh)",created:"Startzeit",finished:"Endzeit"}},offline:{message:"Keine Verbindung zum Server.",reload:"Reload?"}},wD={header:{sessions:"Charging sessions",docs:"Documentation",blog:"Blog",github:"GitHub",login:"Vehicle logins",about:"About evcc",theme:{auto:"Design: system",light:"Design: light",dark:"Design: dark"}},footer:{version:{availableShort:"update",availableLong:"update available",modalTitle:"Update available",modalUpdateStarted:"Evcc will restart after the update..",modalInstalledVersion:"Currently installed version",modalNoReleaseNotes:"No release notes available. More information about the new version can be found here:",modalCancel:"Cancel",modalUpdate:"Update",modalUpdateNow:"Update now",modalDownload:"Download",modalUpdateStatusStart:"Update started: ",modalUpdateStatusFailed:"Update failed: "},savings:{tabTitle:"My data",footerShort:"{percent}% solar",footerLong:"{percent}% solar energy",modalTitle:"Charge Energy Overview",since:"since {since}",percentTitle:"Solar Energy",percentSelf:"{self} kWh solar",percentGrid:"{grid} kWh grid",priceTitle:"Energy Price",priceFeedIn:"{feedInPrice} feed-in",priceGrid:"{gridPrice} grid",savingsTitle:"Savings",savingsComparedToGrid:"compared to grid",savingsTotalEnergy:"{total} kWh charged"},community:{tabTitle:"Live community",power:"Charging power",powerSub1:"{activeClients} of {totalClients} participants",powerSub2:"are charging right now",greenShare:"Solar share",greenShareSub1:"power is covered by",greenShareSub2:"PV & battery storage",greenEnergy:"Solar energy",greenEnergySub1:"charged with evcc",greenEnergySub2:"since October 2022"},telemetry:{optIn:"I want to contribute my data as well.",optInMoreDetails:"More details are available {0}.",optInMoreDetailsLink:"here",optInSponsorship:"Sponsoring required."},sponsor:{titleSponsor:"You are a supporter",titleNoSponsor:"Support us",thanks:"Thanks for your support, {sponsor}! It helps us with the further development.",confetti:"Ready for confetti?",supportUs:"Our mission: Make solar charging the standard. Help us and support evcc financially.",sticker:"...or evcc stickers?",confettiPromise:"There will be stickers and digital confetti ;)",becomeSponsor:"Become a Sponsor"}},notifications:{modalTitle:"Notifications",dismissAll:"Dismiss all"},main:{vehicles:"Parking",energyflow:{noEnergy:"No meter data",homePower:"Consumption",pvProduction:"Production",loadpoints:"Loadpoint | Loadpoint | {count} Loadpoints",battery:"Battery",batteryCharge:"Battery charge",batteryDischarge:"Battery discharge",gridImport:"Grid import",selfConsumption:"Self consumption",pvExport:"Grid export"},mode:{off:"Off",minpv:"Min+PV",pv:"PV",now:"Fast"},loadpoint:{fallbackName:"Loadpoint",remoteDisabledSoft:"{source}: adaptive PV charging disabled",remoteDisabledHard:"{source}: disabled",power:"Power",charged:"Charged",duration:"Duration",remaining:"Remaining"},loadpointSettings:{title:'Settings "{0}"',vehicle:"Vehicle",currents:"Charging",default:"default",disclaimerHint:"Note:",disclaimerText:"Changes are not persistent yet. They will be reset after server restart.",minSoC:{label:"Minimal SoC",description:'Range for emergencies. Vehicle gets "fast" charged to {0}% in PV mode. Then continues with PV surplus only.'},phasesConfigured:{label:"Phases",phases_0:"automatic switching",phases_1:"1 phase",phases_1_hint:"({min} to {max})",phases_3:"3 phases",phases_3_hint:"({min} to {max})"},maxCurrent:{label:"Max. Current"},minCurrent:{label:"Min. Current"}},vehicle:{fallbackName:"Vehicle",vehicleSoC:"SoC",targetSoC:"Limit",none:"No vehicle",unknown:"Guest vehicle",changeVehicle:"Change Vehicle",detectionActive:"Detecting vehicle ..."},vehicleSoC:{disconnected:"disconnected",charging:"charging",ready:"ready",connected:"connected",vehicleTarget:"Vehicle limit: {soc}%"},vehicleStatus:{minCharge:"minimum charging to {soc}%.",waitForVehicle:"Ready. Waiting for vehicle.",vehicleTargetReached:"Vehicle limit {soc}% reached.",charging:"Charging.",targetChargePlanned:"Target charge planned. Starting {time}.",targetChargeWaitForVehicle:"Target charge ready. Wait for vehicle.",targetChargeActive:"Target charge active.",connected:"Connected.",pvDisable:"Not enough surplus. Pausing in {remaining}.",pvEnable:"Surplus available. Starting in {remaining}.",scale1p:"Reduce to single phase in {remaining}.",scale3p:"Increase to three phase in {remaining}.",disconnected:"Disconnected.",unknown:""},provider:{login:"login",logout:"logout"},targetCharge:{title:"Target Time",inactiveLabel:"Target time",activeLabel:"{time}",modalTitle:"Set Target Time",setTargetTime:"none",description:"When should the vehicle be charged to {targetSoC}%?",today:"today",tomorrow:"tomorrow",targetIsInThePast:"The chosen time is in the past.",remove:"Remove",activate:"Activate",experimentalLabel:"Experimental",experimentalText:"This feature works but isn't perfect yet. Please report unexpected behaviour in our"},targetEnergy:{label:"Limit",noLimit:"none"}},startupError:{title:"Startup Error",description:"Please check your configuration file. If the error message does not help you, have a look at our {0}.",discussions:"GitHub Discussions",hint:"Note: Another reason why you see this message could be a faulty device (inverter, meter, ...). Check your network connections.",configuration:"Config",configFile:"Configuration file used:",lineError:"We found an error in {0}.",lineErrorLink:"line {0}",fixAndRestart:"Fix the problem and restart the server.",restartButton:"Restart"},sessions:{title:"Charging sessions",downloadCsv:"Download as CSV",loadpoint:"Loadpoint",vehicle:"Vehicle",energy:"Charged",date:"Period",csv:{loadpoint:"Loadpoint",vehicle:"Vehicle",odometer:"Mileage (km)",identifier:"Identifier",chargedenergy:"Energy (kWh)",meterstart:"Meter Start (kWh)",meterstop:"Meter Stop (kWh)",created:"Created",finished:"Finished"}},offline:{message:"No connection to server.",reload:"Reload?"}},ED={header:{sessions:"Op\xE9rations de chargement",docs:"Documentation",blog:"Blog",github:"GitHub",login:"Connexion v\xE9hicule",about:"Au sujet de evcc",theme:{auto:"D\xE9sign: Syst\xE8me",light:"D\xE9sign: Lumi\xE8re",dark:"D\xE9sign: Fonc\xE9"}},footer:{version:{availableShort:"Mise \xE0 jour",availableLong:"Mise \xE0 jour disponible",modalTitle:"Mise \xE0 jour disponible",modalUpdateStarted:"Evcc red\xE9marrera apr\xE8s la mise \xE0 jour.",modalInstalledVersion:"Version actuellement install\xE9e",modalNoReleaseNotes:"Aucune note de version disponible. Plus d'informations sur la nouvelle version peuvent \xEAtre trouv\xE9es ici:",modalCancel:"Annuler",modalUpdate:"R\xE9actualiser",modalUpdateNow:"Mettez \xE0 jour maintenant",modalDownload:"T\xE9l\xE9charger",modalUpdateStatusStart:"La mise \xE0 jour a commenc\xE9: ",modalUpdateStatusFailed:"Mise \xE0 jour a \xE9chou\xE9: "},savings:{tabTitle:"Mes donn\xE9es",footerShort:"{percent}% Solaire",footerLong:"{percent}% \xC9nergie Solaire",modalTitle:"Aper\xE7u de l'\xE9nergie de charge",since:"Puisque {since}",percentTitle:"\xC9nergie Solaire",percentSelf:"{self} kWh Solaire",percentGrid:"{grid} kWh R\xE9seau \xE9lectrique",priceTitle:"Prix de l'\xE9nergie",priceFeedIn:"{feedInPrice} Alimentation",priceGrid:"{gridPrice} R\xE9seau \xE9lectrique",savingsTitle:"Des \xE9conomies",savingsComparedToGrid:"Par rapport au r\xE9seau",savingsTotalEnergy:"{total} kWh charg\xE9"},community:{tabTitle:"Communaut\xE9 en ligne",power:"Puissance de charge",powerSub1:"{activeClients} de {totalClients} Participants",powerSub2:"Sont en train de charger",greenShare:"Part solaire",greenShareSub1:"La puissance est couverte par",greenShareSub2:"Du PV et de la batterie domestique",greenEnergy:"\xC9nergie Solaire",greenEnergySub1:"Charg\xE9 d'evcc",greenEnergySub2:"Depuis Octobre 2022"},telemetry:{optIn:"Je souhaite \xE9galement apporter mes donn\xE9es.",optInMoreDetails:"Plus de d\xE9tails sont disponibles {0}.",optInMoreDetailsLink:"Ici",optInSponsorship:"Parrainage requis."},sponsor:{titleSponsor:"Vous \xEAtes un supporter",titleNoSponsor:"Soutenez-nouss",thanks:"Merci pour votre aide, {sponsor}! Cela nous aide \xE0 poursuivre le d\xE9veloppement.",confetti:"Pr\xEAt pour les confettis?",supportUs:"Notre mission : Faire de la recharge solaire la norme. Aidez-nous et soutenez evcc financi\xE8rement.",sticker:"\u2026 Ou autocollants evcc?",confettiPromise:"Il y a des autocollants et des confettis num\xE9riques ;)",becomeSponsor:"Devenir parrain"}},notifications:{modalTitle:"Notifications",dismissAll:"Rejeter la totalit\xE9"},main:{vehicles:"Place de parking",energyflow:{noEnergy:"Aucune donn\xE9e de compteur",homePower:"Utilisation",pvProduction:"Production",loadpoints:"Point de chargement | Point de chargement | {count} Points de chargement",battery:"La batterie",batteryCharge:"Charge de la batterie",batteryDischarge:"D\xE9charge de la batterie",gridImport:"Import de grille",selfConsumption:"Consommation personnelle",pvExport:"Grille d'exportation"},mode:{off:"D\xE9sactiv\xE9",minpv:"Min+PV",pv:"PV",now:"Rapidement"},loadpoint:{fallbackName:"Point de chargement",remoteDisabledSoft:"{source}: Charge PV adaptative d\xE9sactiv\xE9e",remoteDisabledHard:"{source}: D\xE9sactiv\xE9",power:"\xC9nergie",charged:"Charg\xE9",duration:"Dur\xE9e",remaining:"Temps restant"},loadpointSettings:{title:'R\xE9glages "{0}"',vehicle:"V\xE9hicule",currents:"Courant de charge",default:"D\xE9faut",disclaimerHint:"A Noter:",disclaimerText:"Les changements ne sont pas encore persistants. Ils seront r\xE9initialis\xE9s apr\xE8s le red\xE9marrage du serveur.",minSoC:{label:"Min. \xC9tat de charge",description:'Port\xE9e pour les urgences. Le v\xE9hicule est charg\xE9 "rapidement" \xE0 {0}\xA0% en mode PV. Puis continue avec le surplus PV uniquement.'},phasesConfigured:{label:"Phases",phases_0:"Commutation automatique",phases_1:"1-phase",phases_1_hint:"({min} \xE1 {max})",phases_3:"3-phases",phases_3_hint:"({min} \xE1 {max})"},maxCurrent:{label:"Max. Courant de charge"},minCurrent:{label:"Min. Courant de charge"}},vehicle:{fallbackName:"V\xE9hicule",vehicleSoC:"\xC9tat de charge",targetSoC:"Cible de chargement",none:"Pas de v\xE9hicule",unknown:"V\xE9hicule invit\xE9",changeVehicle:"Changer de v\xE9hicule",detectionActive:"D\xE9tecter le v\xE9hicule ..."},vehicleSoC:{disconnected:"D\xE9tach\xE9",charging:"Mise en charge",ready:"Br\xEAt",connected:"Connect\xE9",vehicleTarget:"Limite de v\xE9hicule: {soc}%"},vehicleStatus:{minCharge:"Charge minimale \xE0 {soc}%.",waitForVehicle:"Pr\xEAt \xE0 charger. Attendre le v\xE9hicule.",vehicleTargetReached:"Limite de v\xE9hicule {soc}% atteint.",charging:"Charge active.",targetChargePlanned:"Magasin cible pr\xE9vu. La charge commence \xE0 {time} heures.",targetChargeWaitForVehicle:"Magasin cible pr\xEAt. Attendre le v\xE9hicule.",targetChargeActive:"Chargement cible actif.",connected:"Connect\xE9.",pvDisable:"Trop peu de surplus. Faire une pause {remaining}.",pvEnable:"Surplus disponible. Commencer dans {remaining}.",scale1p:"R\xE9duire en monophas\xE9 en {remaining}.",scale3p:"Passage \xE0 trois phases {remaining}.",disconnected:"Pas connect\xE9.",unknown:""},provider:{login:"Connexion",logout:"Se d\xE9connecter"},targetCharge:{title:"Temps vis\xE9",inactiveLabel:"Temps vis\xE9",activeLabel:"{time}",modalTitle:"D\xE9finir l'heure cible",setTargetTime:"Non",description:"Quand le v\xE9hicule doit-il \xEAtre recharg\xE9 \xE0 {targetSoC}%?",today:"Aujourd'hui",tomorrow:"Matin",targetIsInThePast:"Le temps est pass\xE9.",remove:"\xD4ter",activate:"Activer",experimentalLabel:"Exp\xE9rimental",experimentalText:"Cette fonctionnalit\xE9 fonctionne mais n'est pas encore parfaite. Veuillez signaler tout comportement inattendu dans notre"},targetEnergy:{label:"Cible de chargement",noLimit:"Non"}},startupError:{title:"Erreur au d\xE9marrage",description:"Veuillez v\xE9rifier votre fichier de configuration. Si le message d'erreur ne vous aide pas, consultez notre {0}.",discussions:"GitHub Discussions",hint:"Remarque : Une autre raison pour laquelle vous voyez ce message pourrait \xEAtre un appareil d\xE9fectueux (onduleur, compteur, ...). V\xE9rifiez vos connexions r\xE9seau.",configuration:"Configuration",configFile:"Fichier de configuration utilis\xE9:",lineError:"Nous avons trouv\xE9 une erreur dans {0}.",lineErrorLink:"Ligne {0}",fixAndRestart:"Corrigez le probl\xE8me et red\xE9marrez le serveur.",restartButton:"Red\xE9marrer"},sessions:{title:"Sessions de chargement",downloadCsv:"T\xE9l\xE9charger au format CSV",loadpoint:"Point de chargement",vehicle:"V\xE9hicule",energy:"Charg\xE9",date:"P\xE9riode",csv:{loadpoint:"Point de chargement",vehicle:"V\xE9hicule",odometer:"kilom\xE9trage (km)",identifier:"Identifiant",chargedenergy:"\xC9nergie (kWh)",meterstart:"D\xE9but du compteur (kWh)",meterstop:"Arr\xEAt du compteur (kWh)",created:"Heure de d\xE9but",finished:"Temps de fin"}},offline:{message:"Pas de connexion au serveur.",reload:"Recharger?"}},TD={header:{docs:"Documentazione",blog:"Blog",github:"GitHub",login:"Iscrizioni"},footer:{version:{availableShort:"aggiornamento",availableLong:"aggiornamento disponibile",modalTitle:"Aggiornamento disponibile",modalUpdateStarted:"Evcc ripartir\xE0 dopo l'aggiornamento..",modalInstalledVersion:"Versione correntemente installata",modalNoReleaseNotes:"Non ci sono note di rilascio disponibili. Altre informazioni circa la nuova versione si trovano qui:",modalCancel:"Cancella",modalUpdate:"Aggiorna",modalUpdateNow:"Aggiorna ora",modalDownload:"Download",modalUpdateStatusStart:"Aggiornamento iniziato: ",modalUpdateStatusFailed:"Aggiornamento fallito: "}},notifications:{modalTitle:"Notifiche",dismissAll:"Rimuovi tutte"},main:{energyflow:{noEnergy:"No Energyflow",homePower:"Consumption",pvProduction:"Produzione",battery:"Batteria",batteryCharge:"Battery charge",batteryDischarge:"Battery discharge",gridImport:"Grid import",selfConsumption:"Self consumption",pvExport:"Grid export"},mode:{off:"Stop",minpv:"Min+FV",pv:"FV",now:"Ora"},loadpoint:{fallbackName:"Punto di carica",remoteDisabledSoft:"{source}: Ricarica FV adattiva disabilitata",remoteDisabledHard:"{source}: Disabilitato"},vehicle:{fallbackName:"Veicolo"},vehicleSoC:{disconnected:"disconesso",charging:"carica",ready:"pronto",connected:"collegato"}}},CD={header:{sessions:"\u012Ekrovimo sesijos ",docs:"Dokumentacija (Vokie\u010Di\u0173 k.)",blog:"Tinklara\u0161tis",github:"GitHub",login:" Automobili\u0173 prisijungimai",about:"Apie EVCC",theme:{auto:"Dizainas: Sistemos",light:"Dizainas: \u0160viesus",dark:"Dizainas: Tamsus"}},footer:{version:{availableShort:"naujinimas",availableLong:"yra naujesn\u0117 versija",modalTitle:"Yra naujesn\u0117 versija",modalUpdateStarted:"Pasibaigus naujinimui EVCC startuos i\u0161 naujo..",modalInstalledVersion:"Dabartin\u0117 versija",modalNoReleaseNotes:"Naujinimo pastab\u0173 n\u0117ra. Daugiau informacijos apie nauj\u0105 versij\u0105 galite rasti rasite \u010Dia:",modalCancel:"At\u0161aukti",modalUpdate:"Naujinti",modalUpdateNow:"Naujinti dabar",modalDownload:"Atsisi\u0173sti",modalUpdateStatusStart:"Naujinimas prasid\u0117jo: ",modalUpdateStatusFailed:"Naujinimas nepavyko: "},savings:{tabTitle:"Mano duomenys",footerShort:"{percent}% saul\u0117s",footerLong:"{percent}% saul\u0117s energija",modalTitle:"\u012Ekrovimo energijos ap\u017Evalga",since:"nuo {since}",percentTitle:"Saul\u0117s energija",percentSelf:"{self} kWh saul\u0117s",percentGrid:"{grid} kWh tinklo",priceTitle:"Energijos kaina",priceFeedIn:"{feedInPrice} eksporto",priceGrid:"{gridPrice} tinklo",savingsTitle:"Sutaupyta",savingsComparedToGrid:"palyginus su tinklu",savingsTotalEnergy:"{total} kWh \u012Fkrauta"},community:{tabTitle:"Bendruomen\u0117s duomenys",power:"\u012Ekrovimo galia",powerSub1:"{activeClients} i\u0161 {totalClients} dalyvi\u0173",powerSub2:"\u012Fkrauna \u0161iuo metu",greenShare:"Saul\u0117s dalis",greenShareSub1:"galios tiekia Saul\u0117 ir",greenShareSub2:"energijos kaupikliai",greenEnergy:"Saul\u0117s energija",greenEnergySub1:"\u012Fkrauta su evcc",greenEnergySub2:"nuo 2022 Spalio"},telemetry:{optIn:"Noriu prisid\u0117ti savo duomenimis.",optInMoreDetails:"Daugiau informacijos rasite {0}.",optInMoreDetailsLink:"\u010Dia",optInSponsorship:"(Gali tik r\u0117m\u0117jai.)"},sponsor:{titleSponsor:"Esate r\u0117m\u0117jais",titleNoSponsor:"Paremkite mus",thanks:"A\u010Di\u016B, kad mus remiate {sponsor}! Taip prisidedate prie projekto vystymo.",confetti:"Norite konfeti?",supportUs:"M\u016Bs\u0173 misija: Siekiame, kad \u012Fkrovimas saul\u0117s energija tapt\u0173 standartu. Pad\u0117kite mums ir paremkite evcc finansi\u0161kai.",sticker:"... ar evcc lipduk\u0173?",confettiPromise:"Bus lipduk\u0173 ir skaitmenini\u0173 konfeti ;)",becomeSponsor:"Tapkite r\u0117m\u0117ju"}},notifications:{modalTitle:"Prane\u0161imai",dismissAll:"I\u0161valyti visus"},main:{vehicles:"Autoparkas",energyflow:{noEnergy:"N\u0117ra skaitikli\u0173 duomen\u0173",homePower:"Namo suvartojimas",pvProduction:"Gamyba",loadpoints:"\u012Ekroviklis | \u012Ekroviklis | {count} \u012Ekrovikliai",battery:"Baterija",batteryCharge:"Baterijos \u012Fkrovimas",batteryDischarge:"Baterijos i\u0161krovimas",gridImport:"Tinklo importas",selfConsumption:"Sunaudojama i\u0161kart",pvExport:"Tinklo eksportas"},mode:{off:"Stop",minpv:"Min+S",pv:"Saul\u0117s",now:"Greitas"},loadpoint:{fallbackName:"\u012Ekroviklis",remoteDisabledSoft:"{source}: adaptyvus Saul\u0117s \u012Fkrovimas i\u0161jungtas",remoteDisabledHard:"{source}: i\u0161jungtas",power:"Galia",charged:"\u012Ekrauta",duration:"Trukm\u0117",remaining:"Liko"},loadpointSettings:{title:'Nustatymai "{0}"',vehicle:"Automobilis",currents:"\u012Ekraunama",default:"standarti\u0161kai",disclaimerHint:"Pastaba:",disclaimerText:"\u0160ie pakeitimai nei\u0161lieka ir po EVCC serverio restarto pradings.",minSoC:{label:"Minimali \u012Fkrova",description:'Minimali \u012Fkrova. Automobilis \u012Fkraunamas "Greitai" iki {0}% nustatyme "Saul\u0117" . Toliau \u012Fkraunamas tik saul\u0117s energijos pertekliumi.'},phasesConfigured:{label:"Faz\u0117s",phases_0:"automatinis perjungimas",phases_1:"1 faz\u0117",phases_1_hint:"({min} to {max})",phases_3:"3 faz\u0117s",phases_3_hint:"({min} to {max})"},maxCurrent:{label:"Max. Srov\u0117"},minCurrent:{label:"Min. Srov\u0117"}},vehicle:{fallbackName:"Automobilis",vehicleSoC:"\u012Ekrova",targetSoC:"Limitas",none:"N\u0117ra automobilio",unknown:"Ne\u017Einomas automobilis",changeVehicle:"Pakeisti automobil\u012F",detectionActive:"Bandome atpa\u017Einti automobil\u012F ..."},vehicleSoC:{disconnected:"neprijungtas",charging:"vyksta \u012Fkrovimas",ready:"leid\u017Eiama \u012Fkrauti",connected:"automobilis prijungtas",vehicleTarget:"Automobilio limitas: {soc}%"},vehicleStatus:{minCharge:"minimalus \u012Fkrovimas iki {soc}%.",waitForVehicle:"\u012Ekrovimas leid\u017Eiamas. Laukiama automobilio signalo.",vehicleTargetReached:"Automobilio limitas {soc}% pasiektas.",charging:"\u012Ekraunama.",targetChargePlanned:"Suplanuotas \u012Fkrovimas, prasid\u0117s {time}.",targetChargeWaitForVehicle:"Suplanuotas \u012Fkrovimas leid\u017Eiamas. Laukiama automobilio signalo.",targetChargeActive:"Suplanuotas \u012Fkrovimas aktyvuotas.",connected:"Prijungtas.",pvDisable:"Tr\u016Bksta saul\u0117s, \u012Fkrovimo pauz\u0117 u\u017E {remaining}.",pvEnable:"Saul\u0117s u\u017Etenka, \u012Fkrovimas prasid\u0117s u\u017E {remaining}.",scale1p:"Suma\u017Einti \u012F vienfaz\u012F \u012Fkrovim\u0105 u\u017E {remaining}.",scale3p:"Padidinti \u012F trifaz\u012F \u012Fkrovim\u0105 u\u017E {remaining}.",disconnected:"Neprijungtas.",unknown:""},provider:{login:"prisijungti",logout:"atsijungti"},targetCharge:{title:"\u012Ekrauti iki",inactiveLabel:"\u012Ekrauti iki",activeLabel:"{time}",modalTitle:"Nustatyti \u012Fkrovimo pabaigos laik\u0105",setTargetTime:"nenustatytas",description:"Kada automobilis tur\u0117t\u0173 b\u016Bti \u012Fkrautas iki {targetSoC}%?",today:"\u0161iandien",tomorrow:"rytoj",targetIsInThePast:"Pasirinktas laikas yra praeityje.",remove:"Panaikinti",activate:"Aktyvuoti",experimentalLabel:"Eksperimentinis",experimentalText:"\u0160i funkcija veikia, bet dar n\u0117ra tobula. Apie netik\u0117t\u0105 elges\u012F prane\u0161kite m\u016Bs\u0173"},targetEnergy:{label:"Limitas",noLimit:"n\u0117ra"}},startupError:{title:"Klaida startuojant",description:"Patikrinkite konfig\u016Bracijos fail\u0105. Jei klaidos \u017Einut\u0117 jums nepad\u0117jo, atsakym\u0173 ie\u0161kokite m\u016Bs\u0173 {0}.",discussions:"GitHub Diskusijose",hint:"Pastaba: Gali b\u016Bti, kad prane\u0161im\u0105 apie klaid\u0105 matote d\u0117l neteisingai veikian\u010Dio \u012Frenginio (inverterio, skaitiklio, ...). Patikrinkite tiklo jungtis.",configuration:"Konfig\u016Bracija",configFile:"Naudojamas konfiguracijos failas:",lineError:"Radome klaid\u0105 \u010Dia {0}.",lineErrorLink:"eilut\u0117 {0}",fixAndRestart:"I\u0161taisykite klaid\u0105 ir restartuokite server\u012F.",restartButton:"Restartuoti"},sessions:{title:"\u012Ekrovimo sesijos",downloadCsv:"Atsisi\u0173sti CSV fail\u0105",loadpoint:"\u012Ekroviklis",vehicle:"Automobilis",energy:"\u012Ekrauta",date:"Laikotarpis",csv:{loadpoint:"\u012Ekroviklis",vehicle:"Automobilis",odometer:"Odometras (km)",identifier:"Identifikatorius",chargedenergy:"Energija (kWh)",meterstart:"Skaitiklis prad\u017Eioje (kWh)",meterstop:"Skaitiklis pabaigoje (kWh)",created:"Prad\u0117ta",finished:"Pabaigta"}},offline:{message:"N\u0117ra ry\u0161io su serveriu.",reload:"Perkrauti?"}},SD={header:{sessions:"Laadsessies",docs:"Documentatie",blog:"Blog",github:"GitHub",login:"Voertuig logins",about:"Over evcc",theme:{auto:"Design: systeem",light:"Design: licht",dark:"Design: donker"}},footer:{version:{availableShort:"update",availableLong:"update beschikbaar",modalTitle:"Update beschikbaar",modalUpdateStarted:"Evcc zal herstarten na de update..",modalInstalledVersion:"Huidige versie",modalNoReleaseNotes:"Geen release notes beschikbaar. Meer informatie over de nieuwe versie vind je hier:",modalCancel:"Annuleer",modalUpdate:"Update",modalUpdateNow:"Nu updaten",modalDownload:"Download",modalUpdateStatusStart:"Update gestart: ",modalUpdateStatusFailed:"Update mislukt: "},savings:{tabTitle:"Mijn data",footerShort:"{percent}% PV",footerLong:"{percent}% zonne-energie",modalTitle:"Energieoverzicht",since:"sinds {since}",percentTitle:"Zonne-energie",percentSelf:"{self} kWh PV",percentGrid:"{grid} kWh afgenomen",priceTitle:"Energieprijs",priceFeedIn:"{feedInPrice} injectie",priceGrid:"{gridPrice} afname",savingsTitle:"Besparing",savingsComparedToGrid:"i.v.m. netafname",savingsTotalEnergy:"{total} kWh geladen"},community:{tabTitle:"Live community",power:"Laadvermogen",powerSub1:"{activeClients} van {totalClients} deelnemers",powerSub2:"zijn nu aan het laden",greenShare:"Zonne-energie",greenShareSub1:"van de energie",greenShareSub2:"komt van PV & batterijopslag",greenEnergy:"Zonne-energie",greenEnergySub1:"geladen met evcc",greenEnergySub2:"sinds oktober 2022"},telemetry:{optIn:"Ik wil mijn data ook bijdragen.",optInMoreDetails:"Meer info is {0} beschikbaar.",optInMoreDetailsLink:"hier",optInSponsorship:"(Sponsoring nodig)"},sponsor:{titleSponsor:"Je bent een sponsor!",titleNoSponsor:"Sponsor ons",thanks:"Bedankt voor je hulp, {sponsor}! Je helpt ons bij de verdere ontwikkeling van evcc.",confetti:"Klaar voor confetti?",supportUs:"Onze missie: Van laden op zonne-energie de standaard maken. Help ons en draag financieel bij aan evcc.",sticker:"...of evcc stickers?",confettiPromise:"Er zullen stickers en digitale confetti zijn ;)",becomeSponsor:"Word sponsor"}},notifications:{modalTitle:"Notificaties",dismissAll:"Alles verwijderen"},main:{vehicles:"Parking",energyflow:{noEnergy:"Geen meter data",homePower:"Consumptie",pvProduction:"Productie",loadpoints:"Laadpunt | Laadpunt | {count} Laadpunten",battery:"Batterij",batteryCharge:"Batterij laden",batteryDischarge:"Batterij ontladen",gridImport:"Netafname",selfConsumption:"Zelfverbruik",pvExport:"Netinjectie"},mode:{off:"Uit",minpv:"Min+PV",pv:"PV",now:"Snel"},loadpoint:{fallbackName:"Laadpunt",remoteDisabledSoft:"{source}: adaptief PV-laden uitgeschakeld",remoteDisabledHard:"{source}: uitgeschakeld",power:"Snelheid",charged:"Geladen",duration:"Duur",remaining:"Resterend"},loadpointSettings:{title:'Instellingen "{0}"',vehicle:"Voertuig",currents:"Opladen",default:"standaard",disclaimerHint:"Letop:",disclaimerText:"Instellingen worden niet bijgehouden. Ze worden gereset bij het herstarten van de server.",minSoC:{label:"Min batterijniveau",description:'Noodbereik. Voertuig wordt "snel" geladen tot {0}% in PV mode. Daarna wordt enkel de PV-overschot gebruikt.'},phasesConfigured:{label:"Fasen",phases_0:"automatisch wisselend",phases_1:"1 fase",phases_1_hint:"({min} - {max})",phases_3:"3 fasen",phases_3_hint:"({min} - {max})"},maxCurrent:{label:"Max. vermogen"},minCurrent:{label:"Min. vermogen"}},vehicle:{fallbackName:"Voertuig",vehicleSoC:"Batterijniveau",targetSoC:"Limiet",none:"Geen voertuig",unknown:"Gast",changeVehicle:"Wijzig voertuig",detectionActive:"Voertuig detecteren ..."},vehicleSoC:{disconnected:"niet verbonden",charging:"laden",ready:"klaar",connected:"verbonden",vehicleTarget:"Voertuiglimiet: {soc}%"},vehicleStatus:{minCharge:"laden naar {soc}% minimum.",waitForVehicle:"Klaar. Wachten op voertuig.",vehicleTargetReached:"Voertuiglimiet {soc}% bereikt.",charging:"Laden.",targetChargePlanned:"Doel gepland. Starten op {time}.",targetChargeWaitForVehicle:"Doel gepland. Wachten op voertuig.",targetChargeActive:"Doelladen actief.",connected:"Verbonden.",pvDisable:"Onvoldoende PV overschot beschikbaar. Pauzeren over {remaining}.",pvEnable:"Voldoende PV overschot beschikbaar. Starten over {remaining}.",scale1p:"Wisselen naar 1 fase over {remaining}.",scale3p:"Wisselen naar 3 fasen over {remaining}.",disconnected:"Niet verbonden.",unknown:""},provider:{login:"aanmelden",logout:"afmelden"},targetCharge:{title:"Doel",inactiveLabel:"Ingestelde tijd",activeLabel:"{time}",modalTitle:"Stel tijd in",setTargetTime:"geen",description:"Tegen wanneer moet het voertuig geladen zijn naar {targetSoC}%?",today:"Vandaag",tomorrow:"Morgen",targetIsInThePast:"De ingestelde tijd ligt in het verleden",remove:"Verwijder",activate:"Activeer",experimentalLabel:"Experimenteel",experimentalText:"Deze feature werkt nog niet perfect. Rapporteer ongewenst gedrag op"},targetEnergy:{label:"Limiet",noLimit:"geen"}},startupError:{title:"Start Error",description:"Check je evcc configuratie. Helpt de foutboodschap je niet, bekijk dan de {0}.",discussions:"GitHub Discussions",hint:"Je kan deze boodschap ook krijgen bij een kapot toestel (inverter, meter, ...). Check je network connectie.",configuration:"Config",configFile:"Gebruikt configuratiebestand:",lineError:"Fout gedetecteerd op {0}.",lineErrorLink:"lijn {0}",fixAndRestart:"Verhelp het probleem en herstart de server.",restartButton:"Herstart"},sessions:{title:"Laadsessies",downloadCsv:"Download CSV",loadpoint:"Laadpunt",vehicle:"Voertuig",energy:"Geladen",date:"Periode",csv:{loadpoint:"Laadpunt",vehicle:"Voertuig",odometer:"kilometerstand (km)",identifier:"ID",chargedenergy:"Energie (kWh)",meterstart:"Meter Start (kWh)",meterstop:"Meter Stop (kWh)",created:"Gestart",finished:"Be\xEBindigd"}},offline:{message:"Geen verbinding met de server.",reload:"Opnieuw laden?"}},AD={header:{sessions:"Sesje \u0142adowania",docs:"Dokumentacja",blog:"Blog",github:"GitHub",login:"Dane logowania pojazdu",about:"O evcc",theme:{auto:"Wygl\u0105d: system",light:"Wygl\u0105d: \u015Bwiat\u0142y",dark:"Wygl\u0105d: ciemny"}},footer:{version:{availableShort:"aktualizacja",availableLong:"dost\u0119pna aktualizacja",modalTitle:"Dost\u0119pna aktualizacja",modalUpdateStarted:"Evcc uruchomi si\u0119 ponownie po aktualizacji..",modalInstalledVersion:"Obecnie zainstalowana wersja",modalNoReleaseNotes:"Brak dost\u0119pnych notatek. Wi\u0119cej informacji o nowej wersji mo\u017Cna znale\u017A\u0107 tutaj:",modalCancel:"Anuluj",modalUpdate:"Aktualizuj",modalUpdateNow:"Aktualizuj teraz",modalDownload:"Pobierz",modalUpdateStatusStart:"Aktualizacja rozpocz\u0119ta:",modalUpdateStatusFailed:"Aktualizacja nie powiod\u0142a si\u0119:"},savings:{tabTitle:"Moje dane",footerShort:"{percent}% s\u0142o\u0144ce",footerLong:"{percent}% energii s\u0142onecznej",modalTitle:"Przegl\u0105d energii \u0142adowania",since:"od {since}",percentTitle:"Energia s\u0142oneczna",percentSelf:"{self} kWh s\u0142o\u0144ce",percentGrid:"{grid} kWh sie\u0107",priceTitle:"Cena energii",priceFeedIn:"{feedInPrice} eksport",priceGrid:"{gridPrice} sie\u0107",savingsTitle:"Oszcz\u0119dno\u015Bci",savingsComparedToGrid:"w por\xF3wnaniu z sieci\u0105",savingsTotalEnergy:"{total} kWh na\u0142adowanych"},community:{tabTitle:"Aktualne dane spo\u0142eczno\u015Bci",power:"Moc \u0142adowania",powerSub1:"{activeClients} z {totalClients} uczestnik\xF3w",powerSub2:"\u0142aduj\u0105 si\u0119 teraz",greenShare:"Energii s\u0142onecznej",greenShareSub1:"zasilanie jest dostarczone przez",greenShareSub2:"s\u0142o\u0144ce i domowe akumulatory energii",greenEnergy:"Energia s\u0142oneczna",greenEnergySub1:"na\u0142adowany z evcc",greenEnergySub2:"od Pa\u017Adziernika 2022"},telemetry:{optIn:"Chc\u0119 te\u017C udost\u0119pni\u0107 swoje dane.",optInMoreDetails:"Wi\u0119cej szczeg\xF3\u0142\xF3w jest dost\u0119pnych {0}.",optInMoreDetailsLink:"tutaj",optInSponsorship:"Wymagany sponsoring."},sponsor:{titleSponsor:"Jeste\u015B sponsorem",titleNoSponsor:"Wesprzyj nas",thanks:"Dzi\u0119ki za wsparcie, {sponsor}! Pomaga nam to w dalszym rozwoju.",confetti:"Gotowy na konfetti?",supportUs:"Nasza misja: Spraw, aby \u0142adowanie s\u0142oneczne sta\u0142o si\u0119 standardem. Pom\xF3\u017C nam i wesprzyj evcc finansowo.",sticker:"...lub naklejki evcc?",confettiPromise:"B\u0119d\u0105 naklejki i cyfrowe konfetti ;)",becomeSponsor:"Zosta\u0144 sponsorem"}},notifications:{modalTitle:"Powiadomienia",dismissAll:"Odrzu\u0107 wszystkie"},main:{vehicles:"Gara\u017C",energyflow:{noEnergy:"Brak danych licznika",homePower:"Zu\u017Cycie",pvProduction:"Produkcja",loadpoints:"\u0141adowarka | \u0141adowarka | {count} \u0141adowarki",battery:"Bateria",batteryCharge:"\u0141adowanie baterii",batteryDischarge:"Roz\u0142adowanie baterii",gridImport:"Import z sieci",selfConsumption:"Konsumpcja w\u0142asna",pvExport:"Eksport na siec"},mode:{off:"Wy\u0142\u0105czony",minpv:"Min+S\u0142o\u0144ce",pv:"S\u0142o\u0144ce",now:"Szybko"},loadpoint:{fallbackName:"\u0141adowarka",remoteDisabledSoft:"{source}: adaptacyjne \u0142adowanie s\u0142onecznie wy\u0142\u0105czone",remoteDisabledHard:"{source}: wy\u0142\u0105czone",power:"Moc",charged:"Na\u0142adowano",duration:"Czas trwania",remaining:"Pozosta\u0142o"},loadpointSettings:{title:'Ustawienia "{0}"',vehicle:"Pojazd",currents:"\u0141adowanie",default:"domy\u015Blny",disclaimerHint:"Uwaga:",disclaimerText:"Zmiany nie s\u0105 jeszcze trwa\u0142e. Zostan\u0105 zresetowane po restarcie serwera.",minSoC:{label:"Minimalny SoC",description:'Zasi\u0119g w sytuacjach awaryjnych. Pojazd jest \u201Eszybko\u201D \u0142adowany do {0}% w trybie "S\u0142o\u0144ce". Nast\u0119pnie kontynuuje tylko z nadwy\u017Ck\u0105 fotowoltaiczn\u0105.'},phasesConfigured:{label:"Fazy",phases_0:"automatyczne prze\u0142\u0105czanie",phases_1:"1 faza",phases_1_hint:"({min} do {max})",phases_3:"3 fazy",phases_3_hint:"({min} do {max})"},maxCurrent:{label:"Maks. pr\u0105d"},minCurrent:{label:"Min. Pr\u0105d"}},vehicle:{fallbackName:"Pojazd",vehicleSoC:"SoC",targetSoC:"Ograniczenie",none:"Brak pojazdu",unknown:"Pojazd go\u015Bcia",changeVehicle:"Zmie\u0144 pojazd",detectionActive:"Wykrywanie pojazdu ..."},vehicleSoC:{disconnected:"od\u0142\u0105czony",charging:"\u0142aduje si\u0119",ready:"gotowy",connected:"po\u0142\u0105czony",vehicleTarget:"Limit pojazdu: {soc}%"},vehicleStatus:{minCharge:"minimalne \u0142adowanie do {soc}%.",waitForVehicle:"Gotowe. Czekam na pojazd.",vehicleTargetReached:"Osi\u0105gni\u0119to limit pojazdu {soc}%.",charging:"\u0141aduje si\u0119.",targetChargePlanned:"Zaplanowane \u0142adowanie. Zacznie si\u0119 {time}.",targetChargeWaitForVehicle:"Zaplanowane \u0142adowanie. Czekajem na pojazd.",targetChargeActive:"Zaplanowane \u0142adowanie aktywno.",connected:"Po\u0142\u0105czony.",pvDisable:"Za ma\u0142o nadwy\u017Cki. Pauza po {remaining}.",pvEnable:"Dost\u0119pna nadwy\u017Cka. Pocz\u0105wszy po {remaining}.",scale1p:"Zredukuje do jednej fazy po {remaining}.",scale3p:"Zwi\u0119kszie do trzech faz po {remaining}.",disconnected:"Roz\u0142\u0105czony.",unknown:""},provider:{login:"zaloguj si\u0119",logout:"wyloguj"},targetCharge:{title:"Czas Docelowy",inactiveLabel:"Czas docelowy",activeLabel:"{time}",modalTitle:"Ustaw docelowy czas",setTargetTime:"brak",description:"Kiedy pojazd powinien zosta\u0107 naladowany do {targetSoC}%?",today:"dzisiaj",tomorrow:"jutro",targetIsInThePast:"Wybrany czas jest w przesz\u0142o\u015Bci.",remove:"Usu\u0144",activate:"Aktywuj",experimentalLabel:"Eksperymentalna",experimentalText:"Ta funkcja dzia\u0142a, ale nie jest jeszcze doskona\u0142a. Zg\u0142o\u015B nieoczekiwane zachowanie do naszego"},targetEnergy:{label:"Ograniczenie",noLimit:"brak"}},startupError:{title:"B\u0142\u0105d uruchamiania",description:"Sprawd\u017A sw\xF3j plik konfiguracyjny. Je\u015Bli komunikat o b\u0142\u0119dzie nie pomo\u017Ce, zapoznaj si\u0119 z naszym {0}.",discussions:"Dyskusje GitHub",hint:"Uwaga: Inn\u0105 przyczyn\u0105 tego komunikatu mo\u017Ce by\u0107 wadliwe urz\u0105dzenie (inwerter, licznik, ...). Sprawd\u017A po\u0142\u0105czenia sieciowe.",configuration:"Konfiguracja",configFile:"U\u017Cywany plik konfiguracyjny:",lineError:"Znale\u017Ali\u015Bmy b\u0142\u0105d w {0}.",lineErrorLink:"wiersz {0}",fixAndRestart:"Napraw problem i zrestartuj serwer.",restartButton:"Restartuj"},sessions:{title:"Sesje \u0142adowania",downloadCsv:"Pobierz jako CSV",loadpoint:"\u0141adowarka",vehicle:"Pojazd",energy:"Na\u0142adowano",date:"Okres",csv:{loadpoint:"\u0141adowarka",vehicle:"Pojazd",odometer:"Przebieg (km)",identifier:"Identyfikator",chargedenergy:"Energia (kWh)",meterstart:"Pocz\u0105tek licznika (kWh)",meterstop:"Koniec licznika (kWh)",created:"Stworzony",finished:"Zako\u0144czony"}},offline:{message:"Brak po\u0142\u0105czenia z serwerem.",reload:"Prze\u0142adowa\u0107?"}},kD={header:{sessions:"Processos de carregamento",docs:"Documenta\xE7\xE3o",blog:"Blog",github:"GitHub",login:"Login de ve\xEDculo",about:"Sobre evcc",theme:{auto:"Design: Sistema",light:"Design: Claro",dark:"Design: Escuro"}},footer:{version:{availableShort:"Atualiza\xE7\xE3o",availableLong:"Atualiza\xE7\xE3o dispon\xEDvel",modalTitle:"Atualiza\xE7\xE3o dispon\xEDvel",modalUpdateStarted:"Ap\xF3s a atualiza\xE7\xE3o, o evcc ser\xE1 reiniciado.",modalInstalledVersion:"Vers\xE3o atualmente instalada",modalNoReleaseNotes:"Nenhuma nota de vers\xE3o dispon\xEDvel. Voc\xEA pode encontrar mais informa\xE7\xF5es sobre a nova vers\xE3o aqui:",modalCancel:"Cancelar",modalUpdate:"Atualizar",modalUpdateNow:"Atualizar agora",modalDownload:"Download",modalUpdateStatusStart:"Atualiza\xE7\xE3o iniciada: ",modalUpdateStatusFailed:"N\xE3o foi poss\xEDvel atualizar: "},savings:{tabTitle:"Meus dados",footerShort:"{percent}% Sol",footerLong:"{percent}% Energia solar",modalTitle:"Avalia\xE7\xE3o da energia de carregamento",since:"desde {since}",percentTitle:"Energia solar",percentSelf:"{self} kWh sol",percentGrid:"{grid} kWh rede",priceTitle:"pre\xE7o da energia",priceFeedIn:"{feedInPrice} alimenta\xE7\xE3o",priceGrid:"{gridPrice} rede",savingsTitle:"Poupan\xE7a",savingsComparedToGrid:"em rela\xE7\xE3o a rede",savingsTotalEnergy:"{total} kWh carregado"},community:{tabTitle:"Live-Community",power:"Poder de carregamento",powerSub1:"{activeClients} de {totalClients} utilizadores",powerSub2:"carregam com evcc",greenShare:"Parte solar",greenShareSub1:"do desempenho vem",greenShareSub2:"de fotovoltaico e bateria dom\xE9stica",greenEnergy:"Energia solar",greenEnergySub1:"desde Outubro 2022",greenEnergySub2:"carregado sobre evcc"},telemetry:{optIn:"Tamb\xE9m gostaria de contribuir com meus dados.",optInMoreDetails:"Mais detalhes h\xE1 {0}.",optInMoreDetailsLink:"aqui",optInSponsorship:"Requer patroc\xEDnio."},sponsor:{titleSponsor:"Voc\xEA \xE9 um apoiador",titleNoSponsor:"Apoie-nos",thanks:"Obrigado por seu patroc\xEDnio, {sponsor}! Isso nos ajuda em um maior desenvolvimento.",confetti:"Gosta de confete?",supportUs:"Nossa miss\xE3o: tornar carrega solar a norma. Ajude-nos e apoie financeiramente o evcc.",sticker:"...ou autocolantes do evcc?",confettiPromise:"Tamb\xE9m temos autocolantes e confete digital ;)",becomeSponsor:"Torne-se um patrocinador"}},notifications:{modalTitle:"Not\xEDcias",dismissAll:"Remover not\xEDcias"},main:{vehicles:"Estacionamento",energyflow:{noEnergy:"Sem leituras",homePower:"Consumo",pvProduction:"Produ\xE7\xE3o",loadpoints:"Ponto de carregamento | Ponto de carregamento | {count} pontos de carregamento",battery:"Bateria",batteryCharge:"Carrego de bateria",batteryDischarge:"Descarrego de bateria",gridImport:"Consumo de rede",selfConsumption:"Consumo pr\xF3prio",pvExport:"Alimenta\xE7\xE3o"},mode:{off:"Desligado",minpv:"M\xEDnimo e PV",pv:"PV",now:"R\xE1pido"},loadpoint:{fallbackName:"Ponto de carregamento",remoteDisabledSoft:"{source}:carregamento PV adapt\xE1vel desativado",remoteDisabledHard:"{source}: desativado",power:"Desempenho",charged:"Carregado",duration:"Dura\xE7\xE3o",remaining:"Tempo restante"},loadpointSettings:{title:'Configura\xE7\xF5es "{0}"',vehicle:"Ve\xEDculo",currents:"Corrente de carga",default:"predefinado",disclaimerHint:"Aviso:",disclaimerText:"As altera\xE7\xF5es n\xE3o s\xE3o persistentes no momento e ser\xE3o redefinidas ap\xF3s a reinicializa\xE7\xE3o do servidor.",minSoC:{label:"N\xEDvel m\xEDnimo de carga",description:'Alcance para emerg\xEAncias. O ve\xEDculo carrega at\xE9 {0}% no modo "R\xE1pido". Em seguida, continue com o modo "PV".'},phasesConfigured:{label:"Fases el\xE9tricas",phases_0:"mudan\xE7a autom\xE1tica",phases_1:"monof\xE1sico",phases_1_hint:"({min} a {max})",phases_3:"trif\xE1sico",phases_3_hint:"({min} a {max})"},maxCurrent:{label:"Corrente de carga m\xE1xima"},minCurrent:{label:"Corrente de carga m\xEDnima"}},vehicle:{fallbackName:"Ve\xEDculo",vehicleSoC:"N\xEDvel de carga",targetSoC:"Alvo de carregamento",none:"Nenhum ve\xEDculo",unknown:"Ve\xEDculo convidado",changeVehicle:"Troca de ve\xEDculo",detectionActive:"Detec\xE7\xE3o de ve\xEDculo em obra..."},vehicleSoC:{disconnected:"separado",charging:"a carregar",ready:"esperando",connected:"ligado",vehicleTarget:"Limite de ve\xEDculo: {soc}%"},vehicleStatus:{minCharge:"Carga m\xEDnima at\xE9 {soc}%",waitForVehicle:"Pronto para carregar. Esperando pelo ve\xEDculo.",vehicleTargetReached:"Limite de ve\xEDculo {soc}% atingido.",charging:"Carregando.",targetChargePlanned:"Carga programada. A carga come\xE7a \xE0s {time} horas.",targetChargeWaitForVehicle:"Carga programada pronta. Esperando pelo ve\xEDculo.",targetChargeActive:"Carga programada ativa.",connected:"Ligado.",pvDisable:"Excesso insuficiente. Pausa em {remaining}.",pvEnable:"Excesso dispon\xEDvel. Carga em {remaining}.",scale1p:"Reduzir para monof\xE1sico em {remaining}.",scale3p:"Aumente para trif\xE1sico em {remaining}.",disconnected:"N\xE3o conectado.",unknown:""},provider:{login:"entrar no sistema",logout:"sair do sistema"},targetCharge:{title:"Tempo alvo",inactiveLabel:"Tempo alvo",activeLabel:"{time}",modalTitle:"Definir hora-alvo",setTargetTime:"sem",description:"Quando o ve\xEDculo deve ser carregado para {targetSoC}%?",today:"hoje",tomorrow:"amanh\xE3",targetIsInThePast:"O ponto do tempo est\xE1 no passado.",remove:"Remover",activate:"Ativar",experimentalLabel:"Experimental",experimentalText:"Esta fun\xE7\xE3o est\xE1 a trabalhar, mas ainda n\xE3o est\xE1 perfeito. Relate um comportamento inesperado em nossos"},targetEnergy:{label:"Alvo de carregamento",noLimit:"sem"}},startupError:{title:"Erro ao iniciar",description:"Verifique seu ficheiro de configura\xE7\xE3o. Se a mensagem de erro n\xE3o ajudar, procure em nossas {0} uma solu\xE7\xE3o.",discussions:"GitHub Discussions",hint:"Nota: Outra raz\xE3o pela qual voc\xEA v\xEA esta mensagem pode ser um equipamento com defeito (inversor, medidor, ...). Verifique tambem suas conex\xF5es de rede.",configuration:"Configura\xE7\xE3o",configFile:"Ficheiro de configura\xE7\xE3o em uso:",lineError:"Foi encontrado um erro em {0}.",lineErrorLink:"linha {0}",fixAndRestart:"Corrija o problema e reinicie o servidor.",restartButton:"Iniciar de novo"},sessions:{title:"Processos de carregamento",downloadCsv:"Descarregar como CSV",loadpoint:"Ponto de carregamento",vehicle:"Ve\xEDculo",odometer:"Quilometragem",energy:"Carregado",date:"Per\xEDodo",csv:{loadpoint:"Ponto de carregamento",vehicle:"Ve\xEDculo",identifier:"Identificador",chargedenergy:"Energia (kWh)",meterstart:"Leitura inicial do contador (kWh)",meterstop:"Leitura final do contador (kWh)",created:"hora de in\xEDcio",finished:"hora final"}},offline:{message:"Sem conex\xE3o com o servidor.",reload:"Iniciar de novo?"}},xD="preferred_locale";function LD(){const t=navigator.languages!==void 0?navigator.languages[0]:navigator.language;if(!!t)return t.trim().split(/-|_/)[0]}const PD=cD({locale:window.localStorage[xD]||LD(),fallbackLocale:"en",messages:{de:yD,en:wD,fr:ED,it:TD,lt:CD,nl:SD,pl:AD,pt:kD}}),ND={install:t=>{t.config.globalProperties.$hiddenFeatures=window.localStorage.hidden_features==="true"}};Bw.polyfill();const si=uC({data(){return{notifications:[],offline:!1}},watch:{offline:function(t){console.log(`we are ${t?"offline":"online"}`)}},methods:{raise:function(t){console[t.type](t);const e=new Date,n=this.notifications[0];n&&n.message===t.message?(n.count++,n.time=e):this.notifications=[{...t,count:1,time:e},...this.notifications]},clear:function(){this.notifications=[]},error:function(t){t.type="error",this.raise(t)},setOnline:function(){this.offline=!1},setOffline:function(){this.offline=!0},warn:function(t){t.type="warn",this.raise(t)}},render:function(){return Tr(NC,{notifications:this.notifications,offline:this.offline})}});si.use(PD);si.use(VI);si.use(CC());si.use(kC);si.use(ND);si.use(O_);window.app=si.mount("#app");_k()});export default OD(); + */const Z8="9.2.2";function J8(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ns().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ns().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ns().__INTLIFY_PROD_DEVTOOLS__=!1)}M8.__EXTEND_POINT__;let Pv=Pe.__EXTEND_POINT__;const wt=()=>++Pv,Ze={UNEXPECTED_RETURN_TYPE:Pv,INVALID_ARGUMENT:wt(),MUST_BE_CALL_SETUP_TOP:wt(),NOT_INSLALLED:wt(),NOT_AVAILABLE_IN_LEGACY_MODE:wt(),REQUIRED_VALUE:wt(),INVALID_VALUE:wt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:wt(),NOT_INSLALLED_WITH_PROVIDE:wt(),UNEXPECTED_ERROR:wt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:wt(),BRIDGE_SUPPORT_VUE_2_ONLY:wt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:wt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:wt(),__EXTEND_POINT__:wt()};function tt(t,...e){return Ua(t,null,void 0)}const Vc=Sr("__transrateVNode"),jc=Sr("__datetimeParts"),zc=Sr("__numberParts"),Nv=Sr("__setPluralRules");Sr("__intlifyMeta");const Ov=Sr("__injectWithOption");function Hc(t){if(!Fe(t))return t;for(const e in t)if(!!fd(t,e))if(!e.includes("."))Fe(t[e])&&Hc(t[e]);else{const n=e.split("."),r=n.length-1;let i=t;for(let s=0;s{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||{},Os(c,o[l])):Os(c,o)}else te(a)&&Os(JSON.parse(a),o)}),i==null&&s)for(const a in o)fd(o,a)&&Hc(o[a]);return o}const xo=t=>!Fe(t)||$e(t);function Os(t,e){if(xo(t)||xo(e))throw tt(Ze.INVALID_VALUE);for(const n in t)fd(t,n)&&(xo(t[n])||xo(e[n])?e[n]=t[n]:Os(t[n],e[n]))}function Iv(t){return t.type}function Mv(t,e,n){let r=Fe(e.messages)?e.messages:{};"__i18nGlobal"in n&&(r=Ka(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(s=>{t.mergeLocaleMessage(s,r[s])});{if(Fe(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(Fe(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function ym(t){return re(so,null,t,0)}const wm="__INTLIFY_META__";let Em=0;function Tm(t){return(e,n,r,i)=>t(n,r,Pn()||void 0,i)}const eD=()=>{const t=Pn();let e=null;return t&&(e=Iv(t)[wm])?{[wm]:e}:null};function gd(t={},e){const{__root:n}=t,r=n===void 0;let i=Ce(t.inheritLocale)?t.inheritLocale:!0;const s=cn(n&&i?n.locale.value:te(t.locale)?t.locale:uo),o=cn(n&&i?n.fallbackLocale.value:te(t.fallbackLocale)||$e(t.fallbackLocale)||pe(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),a=cn(Ka(s.value,t)),l=cn(pe(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),c=cn(pe(t.numberFormats)?t.numberFormats:{[s.value]:{}});let u=n?n.missingWarn:Ce(t.missingWarn)||vr(t.missingWarn)?t.missingWarn:!0,f=n?n.fallbackWarn:Ce(t.fallbackWarn)||vr(t.fallbackWarn)?t.fallbackWarn:!0,d=n?n.fallbackRoot:Ce(t.fallbackRoot)?t.fallbackRoot:!0,h=!!t.fallbackFormat,w=Ge(t.missing)?t.missing:null,g=Ge(t.missing)?Tm(t.missing):null,E=Ge(t.postTranslation)?t.postTranslation:null,_=n?n.warnHtmlMessage:Ce(t.warnHtmlMessage)?t.warnHtmlMessage:!0,T=!!t.escapeParameter;const S=n?n.modifiers:pe(t.modifiers)?t.modifiers:{};let v=t.pluralRules||n&&n.pluralRules,b;b=(()=>{r&&dm(null);const O={version:Z8,locale:s.value,fallbackLocale:o.value,messages:a.value,modifiers:S,pluralRules:v,missing:g===null?void 0:g,missingWarn:u,fallbackWarn:f,fallbackFormat:h,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:_,escapeParameter:T,messageResolver:t.messageResolver,__meta:{framework:"vue"}};O.datetimeFormats=l.value,O.numberFormats=c.value,O.__datetimeFormatters=pe(b)?b.__datetimeFormatters:void 0,O.__numberFormatters=pe(b)?b.__numberFormatters:void 0;const R=W8(O);return r&&dm(R),R})(),hs(b,s.value,o.value);function x(){return[s.value,o.value,a.value,l.value,c.value]}const N=He({get:()=>s.value,set:O=>{s.value=O,b.locale=s.value}}),I=He({get:()=>o.value,set:O=>{o.value=O,b.fallbackLocale=o.value,hs(b,s.value,O)}}),B=He(()=>a.value),X=He(()=>l.value),J=He(()=>c.value);function ne(){return Ge(E)?E:null}function D(O){E=O,b.postTranslation=O}function L(){return w}function Y(O){O!==null&&(g=Tm(O)),w=O,b.missing=g}const W=(O,R,ie,se,ge,ke)=>{x();let Ee;if(__INTLIFY_PROD_DEVTOOLS__)try{um(eD()),r||(b.fallbackContext=n?U8():void 0),Ee=O(b)}finally{um(null),r||(b.fallbackContext=void 0)}else Ee=O(b);if(et(Ee)&&Ee===Wa){const[Ue,Bt]=R();return n&&d?se(n):ge(Ue)}else{if(ke(Ee))return Ee;throw tt(Ze.UNEXPECTED_RETURN_TYPE)}};function Z(...O){return W(R=>Reflect.apply(pm,null,[R,...O]),()=>Rc(...O),"translate",R=>Reflect.apply(R.t,R,[...O]),R=>R,R=>te(R))}function oe(...O){const[R,ie,se]=O;if(se&&!Fe(se))throw tt(Ze.INVALID_ARGUMENT);return Z(R,ie,it({resolvedMessage:!0},se||{}))}function le(...O){return W(R=>Reflect.apply(gm,null,[R,...O]),()=>$c(...O),"datetime format",R=>Reflect.apply(R.d,R,[...O]),()=>lm,R=>te(R))}function ae(...O){return W(R=>Reflect.apply(vm,null,[R,...O]),()=>Fc(...O),"number format",R=>Reflect.apply(R.n,R,[...O]),()=>lm,R=>te(R))}function ce(O){return O.map(R=>te(R)||et(R)||Ce(R)?ym(String(R)):R)}const fe={normalize:ce,interpolate:O=>O,type:"vnode"};function $(...O){return W(R=>{let ie;const se=R;try{se.processor=fe,ie=Reflect.apply(pm,null,[se,...O])}finally{se.processor=null}return ie},()=>Rc(...O),"translate",R=>R[Vc](...O),R=>[ym(R)],R=>$e(R))}function Q(...O){return W(R=>Reflect.apply(vm,null,[R,...O]),()=>Fc(...O),"number format",R=>R[zc](...O),()=>[],R=>te(R)||$e(R))}function H(...O){return W(R=>Reflect.apply(gm,null,[R,...O]),()=>$c(...O),"datetime format",R=>R[jc](...O),()=>[],R=>te(R)||$e(R))}function ee(O){v=O,b.pluralRules=v}function me(O,R){const ie=te(R)?R:s.value,se=C(ie);return b.messageResolver(se,O)!==null}function ve(O){let R=null;const ie=bv(b,o.value,s.value);for(let se=0;se{i&&(s.value=O,b.locale=O,hs(b,s.value,o.value))}),ar(n.fallbackLocale,O=>{i&&(o.value=O,b.fallbackLocale=O,hs(b,s.value,o.value))}));const z={id:Em,locale:N,fallbackLocale:I,get inheritLocale(){return i},set inheritLocale(O){i=O,O&&n&&(s.value=n.locale.value,o.value=n.fallbackLocale.value,hs(b,s.value,o.value))},get availableLocales(){return Object.keys(a.value).sort()},messages:B,get modifiers(){return S},get pluralRules(){return v||{}},get isGlobal(){return r},get missingWarn(){return u},set missingWarn(O){u=O,b.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(O){f=O,b.fallbackWarn=f},get fallbackRoot(){return d},set fallbackRoot(O){d=O},get fallbackFormat(){return h},set fallbackFormat(O){h=O,b.fallbackFormat=h},get warnHtmlMessage(){return _},set warnHtmlMessage(O){_=O,b.warnHtmlMessage=O},get escapeParameter(){return T},set escapeParameter(O){T=O,b.escapeParameter=O},t:Z,getLocaleMessage:C,setLocaleMessage:m,mergeLocaleMessage:p,getPostTranslationHandler:ne,setPostTranslationHandler:D,getMissingHandler:L,setMissingHandler:Y,[Nv]:ee};return z.datetimeFormats=X,z.numberFormats=J,z.rt=oe,z.te=me,z.tm=de,z.d=le,z.n=ae,z.getDateTimeFormat=k,z.setDateTimeFormat=P,z.mergeDateTimeFormat=V,z.getNumberFormat=U,z.setNumberFormat=K,z.mergeNumberFormat=q,z[Ov]=t.__injectWithOption,z[Vc]=$,z[jc]=H,z[zc]=Q,z}function tD(t){const e=te(t.locale)?t.locale:uo,n=te(t.fallbackLocale)||$e(t.fallbackLocale)||pe(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,r=Ge(t.missing)?t.missing:void 0,i=Ce(t.silentTranslationWarn)||vr(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,s=Ce(t.silentFallbackWarn)||vr(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,o=Ce(t.fallbackRoot)?t.fallbackRoot:!0,a=!!t.formatFallbackMessages,l=pe(t.modifiers)?t.modifiers:{},c=t.pluralizationRules,u=Ge(t.postTranslation)?t.postTranslation:void 0,f=te(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,d=!!t.escapeParameterHtml,h=Ce(t.sync)?t.sync:!0;let w=t.messages;if(pe(t.sharedMessages)){const b=t.sharedMessages;w=Object.keys(b).reduce((x,N)=>{const I=x[N]||(x[N]={});return it(I,b[N]),x},w||{})}const{__i18n:g,__root:E,__injectWithOption:_}=t,T=t.datetimeFormats,S=t.numberFormats,v=t.flatJson;return{locale:e,fallbackLocale:n,messages:w,flatJson:v,datetimeFormats:T,numberFormats:S,missing:r,missingWarn:i,fallbackWarn:s,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:t.messageResolver,inheritLocale:h,__i18n:g,__root:E,__injectWithOption:_}}function Bc(t={},e){{const n=gd(tD(t)),r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return Ce(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=Ce(i)?!i:i},get silentFallbackWarn(){return Ce(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=Ce(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[s,o,a]=i,l={};let c=null,u=null;if(!te(s))throw tt(Ze.INVALID_ARGUMENT);const f=s;return te(o)?l.locale=o:$e(o)?c=o:pe(o)&&(u=o),$e(a)?c=a:pe(a)&&(u=a),Reflect.apply(n.t,n,[f,c||u||{},l])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[s,o,a]=i,l={plural:1};let c=null,u=null;if(!te(s))throw tt(Ze.INVALID_ARGUMENT);const f=s;return te(o)?l.locale=o:et(o)?l.plural=o:$e(o)?c=o:pe(o)&&(u=o),te(a)?l.locale=a:$e(a)?c=a:pe(a)&&(u=a),Reflect.apply(n.t,n,[f,c||u||{},l])},te(i,s){return n.te(i,s)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,s){n.setLocaleMessage(i,s)},mergeLocaleMessage(i,s){n.mergeLocaleMessage(i,s)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,s){n.setDateTimeFormat(i,s)},mergeDateTimeFormat(i,s){n.mergeDateTimeFormat(i,s)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,s){n.setNumberFormat(i,s)},mergeNumberFormat(i,s){n.mergeNumberFormat(i,s)},getChoiceIndex(i,s){return-1},__onComponentInstanceCreated(i){const{componentInstanceCreatedListener:s}=t;s&&s(i,r)}};return r}}const _d={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function nD({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((r,i)=>r=[...r,...$e(i.children)?i.children:[i]],[]):e.reduce((n,r)=>{const i=t[r];return i&&(n[r]=i()),n},{})}function Dv(t){return Ae}const Cm={name:"i18n-t",props:it({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>et(t)||!isNaN(t)}},_d),setup(t,e){const{slots:n,attrs:r}=e,i=t.i18n||vd({useScope:t.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),o={};t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=te(t.plural)?+t.plural:t.plural);const a=nD(e,s),l=i[Vc](t.keypath,a,o),c=it({},r),u=te(t.tag)||Fe(t.tag)?t.tag:Dv();return Tr(u,c,l)}}};function rD(t){return $e(t)&&!te(t[0])}function Rv(t,e,n,r){const{slots:i,attrs:s}=e;return()=>{const o={part:!0};let a={};t.locale&&(o.locale=t.locale),te(t.format)?o.key=t.format:Fe(t.format)&&(te(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((d,h)=>n.includes(h)?it({},d,{[h]:t.format[h]}):d,{}));const l=r(t.value,o,a);let c=[o.key];$e(l)?c=l.map((d,h)=>{const w=i[d.type],g=w?w({[d.type]:d.value,index:h,parts:l}):[d.value];return rD(g)&&(g[0].key=`${d.type}-${h}`),g}):te(l)&&(c=[l]);const u=it({},s),f=te(t.tag)||Fe(t.tag)?t.tag:Dv();return Tr(f,u,c)}}const Sm={name:"i18n-n",props:it({value:{type:Number,required:!0},format:{type:[String,Object]}},_d),setup(t,e){const n=t.i18n||vd({useScope:"parent",__useComponent:!0});return Rv(t,e,Lv,(...r)=>n[zc](...r))}},km={name:"i18n-d",props:it({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},_d),setup(t,e){const n=t.i18n||vd({useScope:"parent",__useComponent:!0});return Rv(t,e,xv,(...r)=>n[jc](...r))}};function iD(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return r!=null?r.__composer:t.global.__composer}}function sD(t){const e=o=>{const{instance:a,modifiers:l,value:c}=o;if(!a||!a.$)throw tt(Ze.UNEXPECTED_ERROR);const u=iD(t,a.$),f=Am(c);return[Reflect.apply(u.t,u,[...xm(f)]),u]};return{created:(o,a)=>{const[l,c]=e(a);Mc&&t.global===c&&(o.__i18nWatcher=ar(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{Mc&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,c=Am(a);o.textContent=Reflect.apply(l.t,l,[...xm(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function Am(t){if(te(t))return{path:t};if(pe(t)){if(!("path"in t))throw tt(Ze.REQUIRED_VALUE,"path");return t}else throw tt(Ze.INVALID_VALUE)}function xm(t){const{path:e,locale:n,args:r,choice:i,plural:s}=t,o={},a=r||{};return te(n)&&(o.locale=n),et(i)&&(o.plural=i),et(s)&&(o.plural=s),[e,a,o]}function oD(t,e,...n){const r=pe(n[0])?n[0]:{},i=!!r.useI18nComponentName;(Ce(r.globalInstall)?r.globalInstall:!0)&&(t.component(i?"i18n":Cm.name,Cm),t.component(Sm.name,Sm),t.component(km.name,km)),t.directive("t",sD(e))}function aD(t,e,n){return{beforeCreate(){const r=Pn();if(!r)throw tt(Ze.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const s=i.i18n;i.__i18n&&(s.__i18n=i.__i18n),s.__root=e,this===this.$root?this.$i18n=Lm(t,s):(s.__injectWithOption=!0,this.$i18n=Bc(s))}else i.__i18n?this===this.$root?this.$i18n=Lm(t,i):this.$i18n=Bc({__i18n:i.__i18n,__injectWithOption:!0,__root:e}):this.$i18n=t;i.__i18nGlobal&&Mv(e,i,i),t.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,o)=>this.$i18n.te(s,o),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s)},mounted(){},unmounted(){const r=Pn();if(!r)throw tt(Ze.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(r),delete this.$i18n}}}function Lm(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[Nv](e.pluralizationRules||t.pluralizationRules);const n=Ka(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(r=>t.mergeLocaleMessage(r,n[r])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(r=>t.mergeDateTimeFormat(r,e.datetimeFormats[r])),e.numberFormats&&Object.keys(e.numberFormats).forEach(r=>t.mergeNumberFormat(r,e.numberFormats[r])),t}const lD=Sr("global-vue-i18n");function cD(t={},e){const n=__VUE_I18N_LEGACY_API__&&Ce(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,r=Ce(t.globalInjection)?t.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,s=new Map,[o,a]=uD(t,n),l=Sr("");function c(d){return s.get(d)||null}function u(d,h){s.set(d,h)}function f(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(h,...w){h.__VUE_I18N_SYMBOL__=l,h.provide(h.__VUE_I18N_SYMBOL__,d),!n&&r&&bD(h,d.global),__VUE_I18N_FULL_INSTALL__&&oD(h,d,...w),__VUE_I18N_LEGACY_API__&&n&&h.mixin(aD(a,a.__composer,d));const g=h.unmount;h.unmount=()=>{d.dispose(),g()}},get global(){return a},dispose(){o.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:f};return d}}function vd(t={}){const e=Pn();if(e==null)throw tt(Ze.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw tt(Ze.NOT_INSLALLED);const n=dD(e),r=hD(n),i=Iv(e),s=fD(t,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw tt(Ze.NOT_AVAILABLE_IN_LEGACY_MODE);return gD(e,s,r,t)}if(s==="global")return Mv(r,t,i),r;if(s==="parent"){let l=mD(n,e,t.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(e);if(a==null){const l=it({},t);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),a=gd(l),pD(o,e),o.__setInstance(e,a)}return a}function uD(t,e,n){const r=iE();{const i=__VUE_I18N_LEGACY_API__&&e?r.run(()=>Bc(t)):r.run(()=>gd(t));if(i==null)throw tt(Ze.UNEXPECTED_ERROR);return[r,i]}}function dD(t){{const e=kn(t.isCE?lD:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw tt(t.isCE?Ze.NOT_INSLALLED_WITH_PROVIDE:Ze.UNEXPECTED_ERROR);return e}}function fD(t,e){return Ba(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function hD(t){return t.mode==="composition"?t.global:t.global.__composer}function mD(t,e,n=!1){let r=null;const i=e.root;let s=e.parent;for(;s!=null;){const o=t;if(t.mode==="composition")r=o.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[Ov]&&(r=null))}if(r!=null||i===s)break;s=s.parent}return r}function pD(t,e,n){Su(()=>{},e),La(()=>{t.__deleteInstance(e)},e)}function gD(t,e,n,r={}){const i=e==="local",s=Xp(null);if(i&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw tt(Ze.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=Ce(r.inheritLocale)?r.inheritLocale:!0,a=cn(i&&o?n.locale.value:te(r.locale)?r.locale:uo),l=cn(i&&o?n.fallbackLocale.value:te(r.fallbackLocale)||$e(r.fallbackLocale)||pe(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),c=cn(Ka(a.value,r)),u=cn(pe(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),f=cn(pe(r.numberFormats)?r.numberFormats:{[a.value]:{}}),d=i?n.missingWarn:Ce(r.missingWarn)||vr(r.missingWarn)?r.missingWarn:!0,h=i?n.fallbackWarn:Ce(r.fallbackWarn)||vr(r.fallbackWarn)?r.fallbackWarn:!0,w=i?n.fallbackRoot:Ce(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,E=Ge(r.missing)?r.missing:null,_=Ge(r.postTranslation)?r.postTranslation:null,T=i?n.warnHtmlMessage:Ce(r.warnHtmlMessage)?r.warnHtmlMessage:!0,S=!!r.escapeParameter,v=i?n.modifiers:pe(r.modifiers)?r.modifiers:{},b=r.pluralRules||i&&n.pluralRules;function A(){return[a.value,l.value,c.value,u.value,f.value]}const x=He({get:()=>s.value?s.value.locale.value:a.value,set:p=>{s.value&&(s.value.locale.value=p),a.value=p}}),N=He({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:p=>{s.value&&(s.value.fallbackLocale.value=p),l.value=p}}),I=He(()=>s.value?s.value.messages.value:c.value),B=He(()=>u.value),X=He(()=>f.value);function J(){return s.value?s.value.getPostTranslationHandler():_}function ne(p){s.value&&s.value.setPostTranslationHandler(p)}function D(){return s.value?s.value.getMissingHandler():E}function L(p){s.value&&s.value.setMissingHandler(p)}function Y(p){return A(),p()}function W(...p){return s.value?Y(()=>Reflect.apply(s.value.t,null,[...p])):Y(()=>"")}function Z(...p){return s.value?Reflect.apply(s.value.rt,null,[...p]):""}function oe(...p){return s.value?Y(()=>Reflect.apply(s.value.d,null,[...p])):Y(()=>"")}function le(...p){return s.value?Y(()=>Reflect.apply(s.value.n,null,[...p])):Y(()=>"")}function ae(p){return s.value?s.value.tm(p):{}}function ce(p,k){return s.value?s.value.te(p,k):!1}function Oe(p){return s.value?s.value.getLocaleMessage(p):{}}function fe(p,k){s.value&&(s.value.setLocaleMessage(p,k),c.value[p]=k)}function $(p,k){s.value&&s.value.mergeLocaleMessage(p,k)}function Q(p){return s.value?s.value.getDateTimeFormat(p):{}}function H(p,k){s.value&&(s.value.setDateTimeFormat(p,k),u.value[p]=k)}function ee(p,k){s.value&&s.value.mergeDateTimeFormat(p,k)}function me(p){return s.value?s.value.getNumberFormat(p):{}}function ve(p,k){s.value&&(s.value.setNumberFormat(p,k),f.value[p]=k)}function de(p,k){s.value&&s.value.mergeNumberFormat(p,k)}const C={get id(){return s.value?s.value.id:-1},locale:x,fallbackLocale:N,messages:I,datetimeFormats:B,numberFormats:X,get inheritLocale(){return s.value?s.value.inheritLocale:o},set inheritLocale(p){s.value&&(s.value.inheritLocale=p)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:v},get pluralRules(){return s.value?s.value.pluralRules:b},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(p){s.value&&(s.value.missingWarn=p)},get fallbackWarn(){return s.value?s.value.fallbackWarn:h},set fallbackWarn(p){s.value&&(s.value.missingWarn=p)},get fallbackRoot(){return s.value?s.value.fallbackRoot:w},set fallbackRoot(p){s.value&&(s.value.fallbackRoot=p)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(p){s.value&&(s.value.fallbackFormat=p)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:T},set warnHtmlMessage(p){s.value&&(s.value.warnHtmlMessage=p)},get escapeParameter(){return s.value?s.value.escapeParameter:S},set escapeParameter(p){s.value&&(s.value.escapeParameter=p)},t:W,getPostTranslationHandler:J,setPostTranslationHandler:ne,getMissingHandler:D,setMissingHandler:L,rt:Z,d:oe,n:le,tm:ae,te:ce,getLocaleMessage:Oe,setLocaleMessage:fe,mergeLocaleMessage:$,getDateTimeFormat:Q,setDateTimeFormat:H,mergeDateTimeFormat:ee,getNumberFormat:me,setNumberFormat:ve,mergeNumberFormat:de};function m(p){p.locale.value=a.value,p.fallbackLocale.value=l.value,Object.keys(c.value).forEach(k=>{p.mergeLocaleMessage(k,c.value[k])}),Object.keys(u.value).forEach(k=>{p.mergeDateTimeFormat(k,u.value[k])}),Object.keys(f.value).forEach(k=>{p.mergeNumberFormat(k,f.value[k])}),p.escapeParameter=S,p.fallbackFormat=g,p.fallbackRoot=w,p.fallbackWarn=h,p.missingWarn=d,p.warnHtmlMessage=T}return dg(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw tt(Ze.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const p=s.value=t.proxy.$i18n.__composer;e==="global"?(a.value=p.locale.value,l.value=p.fallbackLocale.value,c.value=p.messages.value,u.value=p.datetimeFormats.value,f.value=p.numberFormats.value):i&&m(p)}),C}const _D=["locale","fallbackLocale","availableLocales"],vD=["t","rt","d","n","tm"];function bD(t,e){const n=Object.create(null);_D.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i)throw tt(Ze.UNEXPECTED_ERROR);const s=lt(i.value)?{get(){return i.value.value},set(o){i.value.value=o}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,s)}),t.config.globalProperties.$i18n=n,vD.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i||!i.value)throw tt(Ze.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${r}`,i)})}j8(Y8);z8(w8);H8(bv);J8();if(__INTLIFY_PROD_DEVTOOLS__){const t=Ns();t.__INTLIFY__=!0,P8(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const yD={header:{sessions:"Ladevorg\xE4nge",docs:"Doku",blog:"Blog",github:"GitHub",login:"Fahrzeug Logins",about:"\xDCber evcc",theme:{auto:"Design: System",light:"Design: Hell",dark:"Design: Dunkel"}},footer:{version:{availableShort:"Update",availableLong:"Update verf\xFCgbar",modalTitle:"Update verf\xFCgbar",modalUpdateStarted:"Nach der Aktualisierung wird evcc neu gestartet.",modalInstalledVersion:"Aktuell installierte Version",modalNoReleaseNotes:"Keine Releasenotes verf\xFCgbar. Mehr Informationen zur neuen Version findest du hier:",modalCancel:"Abbrechen",modalUpdate:"Aktualisieren",modalUpdateNow:"Jetzt aktualisieren",modalDownload:"Download",modalUpdateStatusStart:"Aktualisierung gestartet: ",modalUpdateStatusFailed:"Aktualisierung nicht m\xF6glich: "},savings:{tabTitle:"Meine Daten",footerShort:"{percent}% Sonne",footerLong:"{percent}% Sonnenenergie",modalTitle:"Auswertung Ladeenergie",since:"seit {since}",percentTitle:"Sonnenenergie",percentSelf:"{self} kWh Sonne",percentGrid:"{grid} kWh Netz",priceTitle:"Energiepreis",priceFeedIn:"{feedInPrice} Einspeisung",priceGrid:"{gridPrice} Netz",savingsTitle:"Ersparnis",savingsComparedToGrid:"gegen\xFCber Netzbezug",savingsTotalEnergy:"{total} kWh geladen"},community:{tabTitle:"Live-Community",power:"Ladeleistung",powerSub1:"{activeClients} von {totalClients} Nutzern",powerSub2:"laden mit evcc",greenShare:"Sonnenanteil",greenShareSub1:"der Leistung kommt",greenShareSub2:"aus PV & Hausakku",greenEnergy:"Sonnenenergie",greenEnergySub1:"\xFCber evcc geladen",greenEnergySub2:"seit Oktober 2022"},telemetry:{optIn:"Ich m\xF6chte meine Daten auch beisteuern.",optInMoreDetails:"Mehr Details gibts {0}.",optInMoreDetailsLink:"hier",optInSponsorship:"Sponsoring erforderlich."},sponsor:{titleSponsor:"Du bist Unterst\xFCtzer",titleNoSponsor:"Unterst\xFCtze uns",thanks:"Danke f\xFCr dein Sponsoring, {sponsor}! Das hilft uns bei der Weiterentwicklung.",confetti:"Lust auf Konfetti?",supportUs:"Unsere Mission: Sonne tanken zum Standard machen. Hilf uns und unterst\xFCtze evcc finanziell.",sticker:"...oder evcc Sticker?",confettiPromise:"Es gibt auch Sticker und digitales Konfetti ;)",becomeSponsor:"Sponsor werden"}},notifications:{modalTitle:"Meldungen",dismissAll:"Meldungen entfernen"},main:{vehicles:"Parkplatz",energyflow:{noEnergy:"Kein Messwerte",homePower:"Verbrauch",pvProduction:"Erzeugung",loadpoints:"Ladepunkt | Ladepunkt | {count} Ladepunkte",battery:"Batterie",batteryCharge:"Batterie laden",batteryDischarge:"Batterie entladen",gridImport:"Netzbezug",selfConsumption:"Eigenverbrauch",pvExport:"Einspeisung"},mode:{off:"Aus",minpv:"Min+PV",pv:"PV",now:"Schnell"},loadpoint:{fallbackName:"Ladepunkt",remoteDisabledSoft:"{source}: Adaptives PV-Laden deaktiviert",remoteDisabledHard:"{source}: Deaktiviert",power:"Leistung",charged:"Geladen",duration:"Dauer",remaining:"Restzeit"},loadpointSettings:{title:'Einstellungen "{0}"',vehicle:"Fahrzeug",currents:"Ladestrom",default:"default",disclaimerHint:"Hinweis:",disclaimerText:"\xC4nderungen sind aktuell noch nicht persistent und werden nach einem Serverneustart wieder zur\xFCckgesetzt.",minSoC:{label:"Mindestladestand",description:'Reichweite f\xFCr Notf\xE4lle. Fahrzeug wird im PV-Modus "schnell" auf {0}% geladen. Danach weiter mit PV-\xDCberschuss.'},phasesConfigured:{label:"Phasen",phases_0:"automatischer Wechsel",phases_1:"1-phasig",phases_1_hint:"({min} bis {max})",phases_3:"3-phasig",phases_3_hint:"({min} bis {max})"},maxCurrent:{label:"Max. Ladestrom"},minCurrent:{label:"Min. Ladestrom"}},vehicle:{fallbackName:"Fahrzeug",vehicleSoC:"Ladestand",targetSoC:"Ladeziel",none:"Kein Fahrzeug",unknown:"Gastfahrzeug",changeVehicle:"Fahrzeug \xE4ndern",detectionActive:"Fahrzeugerkennung l\xE4uft ..."},vehicleSoC:{disconnected:"getrennt",charging:"l\xE4dt",ready:"bereit",connected:"verbunden",vehicleTarget:"Fahrzeuglimit: {soc}%"},vehicleStatus:{minCharge:"Mindestladung bis {soc}%.",waitForVehicle:"Ladebereit. Warte auf Fahrzeug.",vehicleTargetReached:"Fahrzeuglimit {soc}% erreicht.",charging:"Ladevorgang aktiv.",targetChargePlanned:"Zielladen geplant. Ladung startet {time} Uhr.",targetChargeWaitForVehicle:"Zielladen bereit. Warte auf Fahrzeug.",targetChargeActive:"Zielladen aktiv.",connected:"Verbunden.",pvDisable:"Zu wenig \xDCberschuss. Pausiere in {remaining}.",pvEnable:"\xDCberschuss verf\xFCgbar. Starte in {remaining}.",scale1p:"Reduziere auf einphasig in {remaining}.",scale3p:"Erh\xF6he auf dreiphasig in {remaining}.",disconnected:"Nicht verbunden.",unknown:""},provider:{login:"anmelden",logout:"abmelden"},targetCharge:{title:"Zielzeit",inactiveLabel:"Zielzeit",activeLabel:"{time}",modalTitle:"Zielzeit festlegen",setTargetTime:"keine",description:"Wann soll das Fahrzeug auf {targetSoC}% geladen sein?",today:"heute",tomorrow:"morgen",targetIsInThePast:"Zeitpunkt liegt in der Vergangenheit.",remove:"Entfernen",activate:"Aktivieren",experimentalLabel:"Experimentell",experimentalText:"Dieses Feature funktioniert, ist aber noch nicht perfekt. Bitte melde unerwartetes Verhalten in unseren"},targetEnergy:{label:"Ladeziel",noLimit:"keins"}},startupError:{title:"Fehler beim Starten",description:"Bitte \xFCberpr\xFCfe deine Konfigurationsdatei. Sollte dir die Fehlermeldung nicht weiterhelfen, suche in unseren {0} nach einer L\xF6sung.",discussions:"GitHub Discussions",hint:"Hinweis: Ein weiterer Grund, warum du diese Meldung siehst, k\xF6nnte ein fehlerhaftes Ger\xE4t (Wechselrichter, Z\xE4hler, ...) sein. \xDCberpr\xFCfe deine Netzwerkverbindungen.",configuration:"Konfiguration",configFile:"Verwendete Konfigurationsdatei:",lineError:"In {0} wurde ein Fehler gefunden.",lineErrorLink:"Zeile {0}",fixAndRestart:"Behebe das Problem und starte den Server neu.",restartButton:"Neu starten"},sessions:{title:"Ladevorg\xE4nge",downloadCsv:"Als CSV herunterladen",loadpoint:"Ladepunkt",vehicle:"Fahrzeug",energy:"Geladen",date:"Zeitraum",csv:{loadpoint:"Ladepunkt",vehicle:"Fahrzeug",odometer:"Kilometerstand (km)",identifier:"Kennung",chargedenergy:"Energie (kWh)",meterstart:"Anfangsz\xE4hlerstand (kWh)",meterstop:"Endz\xE4hlerstand (kWh)",created:"Startzeit",finished:"Endzeit"}},offline:{message:"Keine Verbindung zum Server.",reload:"Reload?"}},wD={header:{sessions:"Charging sessions",docs:"Documentation",blog:"Blog",github:"GitHub",login:"Vehicle logins",about:"About evcc",theme:{auto:"Design: system",light:"Design: light",dark:"Design: dark"}},footer:{version:{availableShort:"update",availableLong:"update available",modalTitle:"Update available",modalUpdateStarted:"Evcc will restart after the update..",modalInstalledVersion:"Currently installed version",modalNoReleaseNotes:"No release notes available. More information about the new version can be found here:",modalCancel:"Cancel",modalUpdate:"Update",modalUpdateNow:"Update now",modalDownload:"Download",modalUpdateStatusStart:"Update started: ",modalUpdateStatusFailed:"Update failed: "},savings:{tabTitle:"My data",footerShort:"{percent}% solar",footerLong:"{percent}% solar energy",modalTitle:"Charge Energy Overview",since:"since {since}",percentTitle:"Solar Energy",percentSelf:"{self} kWh solar",percentGrid:"{grid} kWh grid",priceTitle:"Energy Price",priceFeedIn:"{feedInPrice} feed-in",priceGrid:"{gridPrice} grid",savingsTitle:"Savings",savingsComparedToGrid:"compared to grid",savingsTotalEnergy:"{total} kWh charged"},community:{tabTitle:"Live community",power:"Charging power",powerSub1:"{activeClients} of {totalClients} participants",powerSub2:"are charging right now",greenShare:"Solar share",greenShareSub1:"power is covered by",greenShareSub2:"PV & battery storage",greenEnergy:"Solar energy",greenEnergySub1:"charged with evcc",greenEnergySub2:"since October 2022"},telemetry:{optIn:"I want to contribute my data as well.",optInMoreDetails:"More details are available {0}.",optInMoreDetailsLink:"here",optInSponsorship:"Sponsoring required."},sponsor:{titleSponsor:"You are a supporter",titleNoSponsor:"Support us",thanks:"Thanks for your support, {sponsor}! It helps us with the further development.",confetti:"Ready for confetti?",supportUs:"Our mission: Make solar charging the standard. Help us and support evcc financially.",sticker:"...or evcc stickers?",confettiPromise:"There will be stickers and digital confetti ;)",becomeSponsor:"Become a Sponsor"}},notifications:{modalTitle:"Notifications",dismissAll:"Dismiss all"},main:{vehicles:"Parking",energyflow:{noEnergy:"No meter data",homePower:"Consumption",pvProduction:"Production",loadpoints:"Loadpoint | Loadpoint | {count} Loadpoints",battery:"Battery",batteryCharge:"Battery charge",batteryDischarge:"Battery discharge",gridImport:"Grid import",selfConsumption:"Self consumption",pvExport:"Grid export"},mode:{off:"Off",minpv:"Min+PV",pv:"PV",now:"Fast"},loadpoint:{fallbackName:"Loadpoint",remoteDisabledSoft:"{source}: adaptive PV charging disabled",remoteDisabledHard:"{source}: disabled",power:"Power",charged:"Charged",duration:"Duration",remaining:"Remaining"},loadpointSettings:{title:'Settings "{0}"',vehicle:"Vehicle",currents:"Charging",default:"default",disclaimerHint:"Note:",disclaimerText:"Changes are not persistent yet. They will be reset after server restart.",minSoC:{label:"Minimal SoC",description:'Range for emergencies. Vehicle gets "fast" charged to {0}% in PV mode. Then continues with PV surplus only.'},phasesConfigured:{label:"Phases",phases_0:"automatic switching",phases_1:"1 phase",phases_1_hint:"({min} to {max})",phases_3:"3 phases",phases_3_hint:"({min} to {max})"},maxCurrent:{label:"Max. Current"},minCurrent:{label:"Min. Current"}},vehicle:{fallbackName:"Vehicle",vehicleSoC:"SoC",targetSoC:"Limit",none:"No vehicle",unknown:"Guest vehicle",changeVehicle:"Change Vehicle",detectionActive:"Detecting vehicle ..."},vehicleSoC:{disconnected:"disconnected",charging:"charging",ready:"ready",connected:"connected",vehicleTarget:"Vehicle limit: {soc}%"},vehicleStatus:{minCharge:"minimum charging to {soc}%.",waitForVehicle:"Ready. Waiting for vehicle.",vehicleTargetReached:"Vehicle limit {soc}% reached.",charging:"Charging.",targetChargePlanned:"Target charge planned. Starting {time}.",targetChargeWaitForVehicle:"Target charge ready. Wait for vehicle.",targetChargeActive:"Target charge active.",connected:"Connected.",pvDisable:"Not enough surplus. Pausing in {remaining}.",pvEnable:"Surplus available. Starting in {remaining}.",scale1p:"Reduce to single phase in {remaining}.",scale3p:"Increase to three phase in {remaining}.",disconnected:"Disconnected.",unknown:""},provider:{login:"login",logout:"logout"},targetCharge:{title:"Target Time",inactiveLabel:"Target time",activeLabel:"{time}",modalTitle:"Set Target Time",setTargetTime:"none",description:"When should the vehicle be charged to {targetSoC}%?",today:"today",tomorrow:"tomorrow",targetIsInThePast:"The chosen time is in the past.",remove:"Remove",activate:"Activate",experimentalLabel:"Experimental",experimentalText:"This feature works but isn't perfect yet. Please report unexpected behaviour in our"},targetEnergy:{label:"Limit",noLimit:"none"}},startupError:{title:"Startup Error",description:"Please check your configuration file. If the error message does not help you, have a look at our {0}.",discussions:"GitHub Discussions",hint:"Note: Another reason why you see this message could be a faulty device (inverter, meter, ...). Check your network connections.",configuration:"Config",configFile:"Configuration file used:",lineError:"We found an error in {0}.",lineErrorLink:"line {0}",fixAndRestart:"Fix the problem and restart the server.",restartButton:"Restart"},sessions:{title:"Charging sessions",downloadCsv:"Download as CSV",loadpoint:"Loadpoint",vehicle:"Vehicle",energy:"Charged",date:"Period",csv:{loadpoint:"Loadpoint",vehicle:"Vehicle",odometer:"Mileage (km)",identifier:"Identifier",chargedenergy:"Energy (kWh)",meterstart:"Meter Start (kWh)",meterstop:"Meter Stop (kWh)",created:"Created",finished:"Finished"}},offline:{message:"No connection to server.",reload:"Reload?"}},ED={header:{sessions:"Op\xE9rations de chargement",docs:"Documentation",blog:"Blog",github:"GitHub",login:"Connexion v\xE9hicule",about:"Au sujet de evcc",theme:{auto:"D\xE9sign: Syst\xE8me",light:"D\xE9sign: Lumi\xE8re",dark:"D\xE9sign: Fonc\xE9"}},footer:{version:{availableShort:"Mise \xE0 jour",availableLong:"Mise \xE0 jour disponible",modalTitle:"Mise \xE0 jour disponible",modalUpdateStarted:"Evcc red\xE9marrera apr\xE8s la mise \xE0 jour.",modalInstalledVersion:"Version actuellement install\xE9e",modalNoReleaseNotes:"Aucune note de version disponible. Plus d'informations sur la nouvelle version peuvent \xEAtre trouv\xE9es ici:",modalCancel:"Annuler",modalUpdate:"R\xE9actualiser",modalUpdateNow:"Mettez \xE0 jour maintenant",modalDownload:"T\xE9l\xE9charger",modalUpdateStatusStart:"La mise \xE0 jour a commenc\xE9: ",modalUpdateStatusFailed:"Mise \xE0 jour a \xE9chou\xE9: "},savings:{tabTitle:"Mes donn\xE9es",footerShort:"{percent}% Solaire",footerLong:"{percent}% \xC9nergie Solaire",modalTitle:"Aper\xE7u de l'\xE9nergie de charge",since:"Puisque {since}",percentTitle:"\xC9nergie Solaire",percentSelf:"{self} kWh Solaire",percentGrid:"{grid} kWh R\xE9seau \xE9lectrique",priceTitle:"Prix de l'\xE9nergie",priceFeedIn:"{feedInPrice} Alimentation",priceGrid:"{gridPrice} R\xE9seau \xE9lectrique",savingsTitle:"Des \xE9conomies",savingsComparedToGrid:"Par rapport au r\xE9seau",savingsTotalEnergy:"{total} kWh charg\xE9"},community:{tabTitle:"Communaut\xE9 en ligne",power:"Puissance de charge",powerSub1:"{activeClients} de {totalClients} Participants",powerSub2:"Sont en train de charger",greenShare:"Part solaire",greenShareSub1:"La puissance est couverte par",greenShareSub2:"Du PV et de la batterie domestique",greenEnergy:"\xC9nergie Solaire",greenEnergySub1:"Charg\xE9 d'evcc",greenEnergySub2:"Depuis Octobre 2022"},telemetry:{optIn:"Je souhaite \xE9galement apporter mes donn\xE9es.",optInMoreDetails:"Plus de d\xE9tails sont disponibles {0}.",optInMoreDetailsLink:"Ici",optInSponsorship:"Parrainage requis."},sponsor:{titleSponsor:"Vous \xEAtes un supporter",titleNoSponsor:"Soutenez-nouss",thanks:"Merci pour votre aide, {sponsor}! Cela nous aide \xE0 poursuivre le d\xE9veloppement.",confetti:"Pr\xEAt pour les confettis?",supportUs:"Notre mission : Faire de la recharge solaire la norme. Aidez-nous et soutenez evcc financi\xE8rement.",sticker:"\u2026 Ou autocollants evcc?",confettiPromise:"Il y a des autocollants et des confettis num\xE9riques ;)",becomeSponsor:"Devenir parrain"}},notifications:{modalTitle:"Notifications",dismissAll:"Rejeter la totalit\xE9"},main:{vehicles:"Place de parking",energyflow:{noEnergy:"Aucune donn\xE9e de compteur",homePower:"Utilisation",pvProduction:"Production",loadpoints:"Point de chargement | Point de chargement | {count} Points de chargement",battery:"La batterie",batteryCharge:"Charge de la batterie",batteryDischarge:"D\xE9charge de la batterie",gridImport:"Import de grille",selfConsumption:"Consommation personnelle",pvExport:"Grille d'exportation"},mode:{off:"D\xE9sactiv\xE9",minpv:"Min+PV",pv:"PV",now:"Rapidement"},loadpoint:{fallbackName:"Point de chargement",remoteDisabledSoft:"{source}: Charge PV adaptative d\xE9sactiv\xE9e",remoteDisabledHard:"{source}: D\xE9sactiv\xE9",power:"\xC9nergie",charged:"Charg\xE9",duration:"Dur\xE9e",remaining:"Temps restant"},loadpointSettings:{title:'R\xE9glages "{0}"',vehicle:"V\xE9hicule",currents:"Courant de charge",default:"D\xE9faut",disclaimerHint:"A Noter:",disclaimerText:"Les changements ne sont pas encore persistants. Ils seront r\xE9initialis\xE9s apr\xE8s le red\xE9marrage du serveur.",minSoC:{label:"Min. \xC9tat de charge",description:'Port\xE9e pour les urgences. Le v\xE9hicule est charg\xE9 "rapidement" \xE0 {0}\xA0% en mode PV. Puis continue avec le surplus PV uniquement.'},phasesConfigured:{label:"Phases",phases_0:"Commutation automatique",phases_1:"1-phase",phases_1_hint:"({min} \xE1 {max})",phases_3:"3-phases",phases_3_hint:"({min} \xE1 {max})"},maxCurrent:{label:"Max. Courant de charge"},minCurrent:{label:"Min. Courant de charge"}},vehicle:{fallbackName:"V\xE9hicule",vehicleSoC:"\xC9tat de charge",targetSoC:"Cible de chargement",none:"Pas de v\xE9hicule",unknown:"V\xE9hicule invit\xE9",changeVehicle:"Changer de v\xE9hicule",detectionActive:"D\xE9tecter le v\xE9hicule ..."},vehicleSoC:{disconnected:"D\xE9tach\xE9",charging:"Mise en charge",ready:"Br\xEAt",connected:"Connect\xE9",vehicleTarget:"Limite de v\xE9hicule: {soc}%"},vehicleStatus:{minCharge:"Charge minimale \xE0 {soc}%.",waitForVehicle:"Pr\xEAt \xE0 charger. Attendre le v\xE9hicule.",vehicleTargetReached:"Limite de v\xE9hicule {soc}% atteint.",charging:"Charge active.",targetChargePlanned:"Magasin cible pr\xE9vu. La charge commence \xE0 {time} heures.",targetChargeWaitForVehicle:"Magasin cible pr\xEAt. Attendre le v\xE9hicule.",targetChargeActive:"Chargement cible actif.",connected:"Connect\xE9.",pvDisable:"Trop peu de surplus. Faire une pause {remaining}.",pvEnable:"Surplus disponible. Commencer dans {remaining}.",scale1p:"R\xE9duire en monophas\xE9 en {remaining}.",scale3p:"Passage \xE0 trois phases {remaining}.",disconnected:"Pas connect\xE9.",unknown:""},provider:{login:"Connexion",logout:"Se d\xE9connecter"},targetCharge:{title:"Temps vis\xE9",inactiveLabel:"Temps vis\xE9",activeLabel:"{time}",modalTitle:"D\xE9finir l'heure cible",setTargetTime:"Non",description:"Quand le v\xE9hicule doit-il \xEAtre recharg\xE9 \xE0 {targetSoC}%?",today:"Aujourd'hui",tomorrow:"Matin",targetIsInThePast:"Le temps est pass\xE9.",remove:"\xD4ter",activate:"Activer",experimentalLabel:"Exp\xE9rimental",experimentalText:"Cette fonctionnalit\xE9 fonctionne mais n'est pas encore parfaite. Veuillez signaler tout comportement inattendu dans notre"},targetEnergy:{label:"Cible de chargement",noLimit:"Non"}},startupError:{title:"Erreur au d\xE9marrage",description:"Veuillez v\xE9rifier votre fichier de configuration. Si le message d'erreur ne vous aide pas, consultez notre {0}.",discussions:"GitHub Discussions",hint:"Remarque : Une autre raison pour laquelle vous voyez ce message pourrait \xEAtre un appareil d\xE9fectueux (onduleur, compteur, ...). V\xE9rifiez vos connexions r\xE9seau.",configuration:"Configuration",configFile:"Fichier de configuration utilis\xE9:",lineError:"Nous avons trouv\xE9 une erreur dans {0}.",lineErrorLink:"Ligne {0}",fixAndRestart:"Corrigez le probl\xE8me et red\xE9marrez le serveur.",restartButton:"Red\xE9marrer"},sessions:{title:"Sessions de chargement",downloadCsv:"T\xE9l\xE9charger au format CSV",loadpoint:"Point de chargement",vehicle:"V\xE9hicule",energy:"Charg\xE9",date:"P\xE9riode",csv:{loadpoint:"Point de chargement",vehicle:"V\xE9hicule",odometer:"kilom\xE9trage (km)",identifier:"Identifiant",chargedenergy:"\xC9nergie (kWh)",meterstart:"D\xE9but du compteur (kWh)",meterstop:"Arr\xEAt du compteur (kWh)",created:"Heure de d\xE9but",finished:"Temps de fin"}},offline:{message:"Pas de connexion au serveur.",reload:"Recharger?"}},TD={header:{docs:"Documentazione",blog:"Blog",github:"GitHub",login:"Iscrizioni"},footer:{version:{availableShort:"aggiornamento",availableLong:"aggiornamento disponibile",modalTitle:"Aggiornamento disponibile",modalUpdateStarted:"Evcc ripartir\xE0 dopo l'aggiornamento..",modalInstalledVersion:"Versione correntemente installata",modalNoReleaseNotes:"Non ci sono note di rilascio disponibili. Altre informazioni circa la nuova versione si trovano qui:",modalCancel:"Cancella",modalUpdate:"Aggiorna",modalUpdateNow:"Aggiorna ora",modalDownload:"Download",modalUpdateStatusStart:"Aggiornamento iniziato: ",modalUpdateStatusFailed:"Aggiornamento fallito: "}},notifications:{modalTitle:"Notifiche",dismissAll:"Rimuovi tutte"},main:{energyflow:{noEnergy:"No Energyflow",homePower:"Consumption",pvProduction:"Produzione",battery:"Batteria",batteryCharge:"Battery charge",batteryDischarge:"Battery discharge",gridImport:"Grid import",selfConsumption:"Self consumption",pvExport:"Grid export"},mode:{off:"Stop",minpv:"Min+FV",pv:"FV",now:"Ora"},loadpoint:{fallbackName:"Punto di carica",remoteDisabledSoft:"{source}: Ricarica FV adattiva disabilitata",remoteDisabledHard:"{source}: Disabilitato"},vehicle:{fallbackName:"Veicolo"},vehicleSoC:{disconnected:"disconesso",charging:"carica",ready:"pronto",connected:"collegato"}}},CD={header:{sessions:"\u012Ekrovimo sesijos ",docs:"Dokumentacija (Vokie\u010Di\u0173 k.)",blog:"Tinklara\u0161tis",github:"GitHub",login:" Automobili\u0173 prisijungimai",about:"Apie EVCC",theme:{auto:"Dizainas: Sistemos",light:"Dizainas: \u0160viesus",dark:"Dizainas: Tamsus"}},footer:{version:{availableShort:"naujinimas",availableLong:"yra naujesn\u0117 versija",modalTitle:"Yra naujesn\u0117 versija",modalUpdateStarted:"Pasibaigus naujinimui EVCC startuos i\u0161 naujo..",modalInstalledVersion:"Dabartin\u0117 versija",modalNoReleaseNotes:"Naujinimo pastab\u0173 n\u0117ra. Daugiau informacijos apie nauj\u0105 versij\u0105 galite rasti rasite \u010Dia:",modalCancel:"At\u0161aukti",modalUpdate:"Naujinti",modalUpdateNow:"Naujinti dabar",modalDownload:"Atsisi\u0173sti",modalUpdateStatusStart:"Naujinimas prasid\u0117jo: ",modalUpdateStatusFailed:"Naujinimas nepavyko: "},savings:{tabTitle:"Mano duomenys",footerShort:"{percent}% saul\u0117s",footerLong:"{percent}% saul\u0117s energija",modalTitle:"\u012Ekrovimo energijos ap\u017Evalga",since:"nuo {since}",percentTitle:"Saul\u0117s energija",percentSelf:"{self} kWh saul\u0117s",percentGrid:"{grid} kWh tinklo",priceTitle:"Energijos kaina",priceFeedIn:"{feedInPrice} eksporto",priceGrid:"{gridPrice} tinklo",savingsTitle:"Sutaupyta",savingsComparedToGrid:"palyginus su tinklu",savingsTotalEnergy:"{total} kWh \u012Fkrauta"},community:{tabTitle:"Bendruomen\u0117s duomenys",power:"\u012Ekrovimo galia",powerSub1:"{activeClients} i\u0161 {totalClients} dalyvi\u0173",powerSub2:"\u012Fkrauna \u0161iuo metu",greenShare:"Saul\u0117s dalis",greenShareSub1:"galios tiekia Saul\u0117 ir",greenShareSub2:"energijos kaupikliai",greenEnergy:"Saul\u0117s energija",greenEnergySub1:"\u012Fkrauta su evcc",greenEnergySub2:"nuo 2022 Spalio"},telemetry:{optIn:"Noriu prisid\u0117ti savo duomenimis.",optInMoreDetails:"Daugiau informacijos rasite {0}.",optInMoreDetailsLink:"\u010Dia",optInSponsorship:"(Gali tik r\u0117m\u0117jai.)"},sponsor:{titleSponsor:"Esate r\u0117m\u0117jais",titleNoSponsor:"Paremkite mus",thanks:"A\u010Di\u016B, kad mus remiate {sponsor}! Taip prisidedate prie projekto vystymo.",confetti:"Norite konfeti?",supportUs:"M\u016Bs\u0173 misija: Siekiame, kad \u012Fkrovimas saul\u0117s energija tapt\u0173 standartu. Pad\u0117kite mums ir paremkite evcc finansi\u0161kai.",sticker:"... ar evcc lipduk\u0173?",confettiPromise:"Bus lipduk\u0173 ir skaitmenini\u0173 konfeti ;)",becomeSponsor:"Tapkite r\u0117m\u0117ju"}},notifications:{modalTitle:"Prane\u0161imai",dismissAll:"I\u0161valyti visus"},main:{vehicles:"Autoparkas",energyflow:{noEnergy:"N\u0117ra skaitikli\u0173 duomen\u0173",homePower:"Namo suvartojimas",pvProduction:"Gamyba",loadpoints:"\u012Ekroviklis | \u012Ekroviklis | {count} \u012Ekrovikliai",battery:"Baterija",batteryCharge:"Baterijos \u012Fkrovimas",batteryDischarge:"Baterijos i\u0161krovimas",gridImport:"Tinklo importas",selfConsumption:"Sunaudojama i\u0161kart",pvExport:"Tinklo eksportas"},mode:{off:"Stop",minpv:"Min+S",pv:"Saul\u0117s",now:"Greitas"},loadpoint:{fallbackName:"\u012Ekroviklis",remoteDisabledSoft:"{source}: adaptyvus Saul\u0117s \u012Fkrovimas i\u0161jungtas",remoteDisabledHard:"{source}: i\u0161jungtas",power:"Galia",charged:"\u012Ekrauta",duration:"Trukm\u0117",remaining:"Liko"},loadpointSettings:{title:'Nustatymai "{0}"',vehicle:"Automobilis",currents:"\u012Ekraunama",default:"standarti\u0161kai",disclaimerHint:"Pastaba:",disclaimerText:"\u0160ie pakeitimai nei\u0161lieka ir po EVCC serverio restarto pradings.",minSoC:{label:"Minimali \u012Fkrova",description:'Minimali \u012Fkrova. Automobilis \u012Fkraunamas "Greitai" iki {0}% nustatyme "Saul\u0117" . Toliau \u012Fkraunamas tik saul\u0117s energijos pertekliumi.'},phasesConfigured:{label:"Faz\u0117s",phases_0:"automatinis perjungimas",phases_1:"1 faz\u0117",phases_1_hint:"({min} to {max})",phases_3:"3 faz\u0117s",phases_3_hint:"({min} to {max})"},maxCurrent:{label:"Max. Srov\u0117"},minCurrent:{label:"Min. Srov\u0117"}},vehicle:{fallbackName:"Automobilis",vehicleSoC:"\u012Ekrova",targetSoC:"Limitas",none:"N\u0117ra automobilio",unknown:"Ne\u017Einomas automobilis",changeVehicle:"Pakeisti automobil\u012F",detectionActive:"Bandome atpa\u017Einti automobil\u012F ..."},vehicleSoC:{disconnected:"neprijungtas",charging:"vyksta \u012Fkrovimas",ready:"leid\u017Eiama \u012Fkrauti",connected:"automobilis prijungtas",vehicleTarget:"Automobilio limitas: {soc}%"},vehicleStatus:{minCharge:"minimalus \u012Fkrovimas iki {soc}%.",waitForVehicle:"\u012Ekrovimas leid\u017Eiamas. Laukiama automobilio signalo.",vehicleTargetReached:"Automobilio limitas {soc}% pasiektas.",charging:"\u012Ekraunama.",targetChargePlanned:"Suplanuotas \u012Fkrovimas, prasid\u0117s {time}.",targetChargeWaitForVehicle:"Suplanuotas \u012Fkrovimas leid\u017Eiamas. Laukiama automobilio signalo.",targetChargeActive:"Suplanuotas \u012Fkrovimas aktyvuotas.",connected:"Prijungtas.",pvDisable:"Tr\u016Bksta saul\u0117s, \u012Fkrovimo pauz\u0117 u\u017E {remaining}.",pvEnable:"Saul\u0117s u\u017Etenka, \u012Fkrovimas prasid\u0117s u\u017E {remaining}.",scale1p:"Suma\u017Einti \u012F vienfaz\u012F \u012Fkrovim\u0105 u\u017E {remaining}.",scale3p:"Padidinti \u012F trifaz\u012F \u012Fkrovim\u0105 u\u017E {remaining}.",disconnected:"Neprijungtas.",unknown:""},provider:{login:"prisijungti",logout:"atsijungti"},targetCharge:{title:"\u012Ekrauti iki",inactiveLabel:"\u012Ekrauti iki",activeLabel:"{time}",modalTitle:"Nustatyti \u012Fkrovimo pabaigos laik\u0105",setTargetTime:"nenustatytas",description:"Kada automobilis tur\u0117t\u0173 b\u016Bti \u012Fkrautas iki {targetSoC}%?",today:"\u0161iandien",tomorrow:"rytoj",targetIsInThePast:"Pasirinktas laikas yra praeityje.",remove:"Panaikinti",activate:"Aktyvuoti",experimentalLabel:"Eksperimentinis",experimentalText:"\u0160i funkcija veikia, bet dar n\u0117ra tobula. Apie netik\u0117t\u0105 elges\u012F prane\u0161kite m\u016Bs\u0173"},targetEnergy:{label:"Limitas",noLimit:"n\u0117ra"}},startupError:{title:"Klaida startuojant",description:"Patikrinkite konfig\u016Bracijos fail\u0105. Jei klaidos \u017Einut\u0117 jums nepad\u0117jo, atsakym\u0173 ie\u0161kokite m\u016Bs\u0173 {0}.",discussions:"GitHub Diskusijose",hint:"Pastaba: Gali b\u016Bti, kad prane\u0161im\u0105 apie klaid\u0105 matote d\u0117l neteisingai veikian\u010Dio \u012Frenginio (inverterio, skaitiklio, ...). Patikrinkite tiklo jungtis.",configuration:"Konfig\u016Bracija",configFile:"Naudojamas konfiguracijos failas:",lineError:"Radome klaid\u0105 \u010Dia {0}.",lineErrorLink:"eilut\u0117 {0}",fixAndRestart:"I\u0161taisykite klaid\u0105 ir restartuokite server\u012F.",restartButton:"Restartuoti"},sessions:{title:"\u012Ekrovimo sesijos",downloadCsv:"Atsisi\u0173sti CSV fail\u0105",loadpoint:"\u012Ekroviklis",vehicle:"Automobilis",energy:"\u012Ekrauta",date:"Laikotarpis",csv:{loadpoint:"\u012Ekroviklis",vehicle:"Automobilis",odometer:"Odometras (km)",identifier:"Identifikatorius",chargedenergy:"Energija (kWh)",meterstart:"Skaitiklis prad\u017Eioje (kWh)",meterstop:"Skaitiklis pabaigoje (kWh)",created:"Prad\u0117ta",finished:"Pabaigta"}},offline:{message:"N\u0117ra ry\u0161io su serveriu.",reload:"Perkrauti?"}},SD={header:{sessions:"Laadsessies",docs:"Documentatie",blog:"Blog",github:"GitHub",login:"Voertuig logins",about:"Over evcc",theme:{auto:"Design: systeem",light:"Design: licht",dark:"Design: donker"}},footer:{version:{availableShort:"update",availableLong:"update beschikbaar",modalTitle:"Update beschikbaar",modalUpdateStarted:"Evcc zal herstarten na de update..",modalInstalledVersion:"Huidige versie",modalNoReleaseNotes:"Geen release notes beschikbaar. Meer informatie over de nieuwe versie vind je hier:",modalCancel:"Annuleer",modalUpdate:"Update",modalUpdateNow:"Nu updaten",modalDownload:"Download",modalUpdateStatusStart:"Update gestart: ",modalUpdateStatusFailed:"Update mislukt: "},savings:{tabTitle:"Mijn data",footerShort:"{percent}% PV",footerLong:"{percent}% zonne-energie",modalTitle:"Energieoverzicht",since:"sinds {since}",percentTitle:"Zonne-energie",percentSelf:"{self} kWh PV",percentGrid:"{grid} kWh afgenomen",priceTitle:"Energieprijs",priceFeedIn:"{feedInPrice} injectie",priceGrid:"{gridPrice} afname",savingsTitle:"Besparing",savingsComparedToGrid:"i.v.m. netafname",savingsTotalEnergy:"{total} kWh geladen"},community:{tabTitle:"Live community",power:"Laadvermogen",powerSub1:"{activeClients} van {totalClients} deelnemers",powerSub2:"zijn nu aan het laden",greenShare:"Zonne-energie",greenShareSub1:"van de energie",greenShareSub2:"komt van PV & batterijopslag",greenEnergy:"Zonne-energie",greenEnergySub1:"geladen met evcc",greenEnergySub2:"sinds oktober 2022"},telemetry:{optIn:"Ik wil mijn data ook bijdragen.",optInMoreDetails:"Meer info is {0} beschikbaar.",optInMoreDetailsLink:"hier",optInSponsorship:"(Sponsoring nodig)"},sponsor:{titleSponsor:"Je bent een sponsor!",titleNoSponsor:"Sponsor ons",thanks:"Bedankt voor je hulp, {sponsor}! Je helpt ons bij de verdere ontwikkeling van evcc.",confetti:"Klaar voor confetti?",supportUs:"Onze missie: Van laden op zonne-energie de standaard maken. Help ons en draag financieel bij aan evcc.",sticker:"...of evcc stickers?",confettiPromise:"Er zullen stickers en digitale confetti zijn ;)",becomeSponsor:"Word sponsor"}},notifications:{modalTitle:"Notificaties",dismissAll:"Alles verwijderen"},main:{vehicles:"Parking",energyflow:{noEnergy:"Geen meter data",homePower:"Consumptie",pvProduction:"Productie",loadpoints:"Laadpunt | Laadpunt | {count} Laadpunten",battery:"Batterij",batteryCharge:"Batterij laden",batteryDischarge:"Batterij ontladen",gridImport:"Netafname",selfConsumption:"Zelfverbruik",pvExport:"Netinjectie"},mode:{off:"Uit",minpv:"Min+PV",pv:"PV",now:"Snel"},loadpoint:{fallbackName:"Laadpunt",remoteDisabledSoft:"{source}: adaptief PV-laden uitgeschakeld",remoteDisabledHard:"{source}: uitgeschakeld",power:"Snelheid",charged:"Geladen",duration:"Duur",remaining:"Resterend"},loadpointSettings:{title:'Instellingen "{0}"',vehicle:"Voertuig",currents:"Opladen",default:"standaard",disclaimerHint:"Letop:",disclaimerText:"Instellingen worden niet bijgehouden. Ze worden gereset bij het herstarten van de server.",minSoC:{label:"Min batterijniveau",description:'Noodbereik. Voertuig wordt "snel" geladen tot {0}% in PV mode. Daarna wordt enkel de PV-overschot gebruikt.'},phasesConfigured:{label:"Fasen",phases_0:"automatisch wisselend",phases_1:"1 fase",phases_1_hint:"({min} - {max})",phases_3:"3 fasen",phases_3_hint:"({min} - {max})"},maxCurrent:{label:"Max. vermogen"},minCurrent:{label:"Min. vermogen"}},vehicle:{fallbackName:"Voertuig",vehicleSoC:"Batterijniveau",targetSoC:"Limiet",none:"Geen voertuig",unknown:"Gast",changeVehicle:"Wijzig voertuig",detectionActive:"Voertuig detecteren ..."},vehicleSoC:{disconnected:"niet verbonden",charging:"laden",ready:"klaar",connected:"verbonden",vehicleTarget:"Voertuiglimiet: {soc}%"},vehicleStatus:{minCharge:"laden naar {soc}% minimum.",waitForVehicle:"Klaar. Wachten op voertuig.",vehicleTargetReached:"Voertuiglimiet {soc}% bereikt.",charging:"Laden.",targetChargePlanned:"Doel gepland. Starten op {time}.",targetChargeWaitForVehicle:"Doel gepland. Wachten op voertuig.",targetChargeActive:"Doelladen actief.",connected:"Verbonden.",pvDisable:"Onvoldoende PV overschot beschikbaar. Pauzeren over {remaining}.",pvEnable:"Voldoende PV overschot beschikbaar. Starten over {remaining}.",scale1p:"Wisselen naar 1 fase over {remaining}.",scale3p:"Wisselen naar 3 fasen over {remaining}.",disconnected:"Niet verbonden.",unknown:""},provider:{login:"aanmelden",logout:"afmelden"},targetCharge:{title:"Doel",inactiveLabel:"Ingestelde tijd",activeLabel:"{time}",modalTitle:"Stel tijd in",setTargetTime:"geen",description:"Tegen wanneer moet het voertuig geladen zijn naar {targetSoC}%?",today:"Vandaag",tomorrow:"Morgen",targetIsInThePast:"De ingestelde tijd ligt in het verleden",remove:"Verwijder",activate:"Activeer",experimentalLabel:"Experimenteel",experimentalText:"Deze feature werkt nog niet perfect. Rapporteer ongewenst gedrag op"},targetEnergy:{label:"Limiet",noLimit:"geen"}},startupError:{title:"Start Error",description:"Check je evcc configuratie. Helpt de foutboodschap je niet, bekijk dan de {0}.",discussions:"GitHub Discussions",hint:"Je kan deze boodschap ook krijgen bij een kapot toestel (inverter, meter, ...). Check je network connectie.",configuration:"Config",configFile:"Gebruikt configuratiebestand:",lineError:"Fout gedetecteerd op {0}.",lineErrorLink:"lijn {0}",fixAndRestart:"Verhelp het probleem en herstart de server.",restartButton:"Herstart"},sessions:{title:"Laadsessies",downloadCsv:"Download CSV",loadpoint:"Laadpunt",vehicle:"Voertuig",energy:"Geladen",date:"Periode",csv:{loadpoint:"Laadpunt",vehicle:"Voertuig",odometer:"kilometerstand (km)",identifier:"ID",chargedenergy:"Energie (kWh)",meterstart:"Meter Start (kWh)",meterstop:"Meter Stop (kWh)",created:"Gestart",finished:"Be\xEBindigd"}},offline:{message:"Geen verbinding met de server.",reload:"Opnieuw laden?"}},kD={header:{sessions:"Lade\xF8kter",docs:"Dokumentasjon",about:"Om evcc",blog:"Blogg",github:"GitHub",login:"Kj\xF8ret\xF8ysinnlogginger",theme:{auto:"Design: system",light:"Design: lyst",dark:"Design: m\xF8rkt"}},footer:{version:{availableShort:"Oppdater",availableLong:"oppdatering tilgjengelig",modalTitle:"Oppdatering tilgjengelig",modalInstalledVersion:"Installert versjon",modalUpdate:"Oppdater",modalCancel:"Avbryt",modalDownload:"Last ned",modalUpdateStatusFailed:"Oppdatering mislyktes: ",modalUpdateStatusStart:"Oppdatering startet: ",modalUpdateNow:"Oppdater n\xE5",modalUpdateStarted:"Evcc vil starte p\xE5 ny etter oppdateringen \u2026",modalNoReleaseNotes:"Ingen utgivelsesnotater tilgjengelig. Mer info om den nye versjonen er \xE5 finne her:"},savings:{tabTitle:"Min data",footerShort:"{percent}% solenergi",footerLong:"{percent}% solcelleenergi",modalTitle:"Oversikt over ladeenergi",percentSelf:"{self} kWt sol",percentGrid:"{self} kWh lysnett",priceTitle:"Kraftpris",priceGrid:"{gridPrice} lysnett",priceFeedIn:"{feedInPrice} subsidiering",savingsTotalEnergy:"{total} kWh ladet",percentTitle:"Solenergi",savingsTitle:"Besparelser",since:"siden {since}",savingsComparedToGrid:"sammenlignet med lysnett"},community:{tabTitle:"Sanntidsgemenskap",greenShareSub1:"ladestr\xF8mmen kommer fra",greenEnergy:"Solenergi",greenShareSub2:"Fotovoltaisk og batterilading",powerSub2:"lades n\xE5",greenShare:"Solcelleandel",greenEnergySub1:"ladet med evcc",greenEnergySub2:"siden Oktober 2022",power:"Ladeeffekt",powerSub1:"{activeClients} av {totalClients} deltagere"},telemetry:{optIn:"Jeg vil ogs\xE5 bidra min data.",optInMoreDetails:"Flere detaljer tilgjengelig p\xE5 {0}.",optInMoreDetailsLink:"her",optInSponsorship:"Sponsing kreves."},sponsor:{titleSponsor:"Du er en st\xF8ttespiller",titleNoSponsor:"St\xF8tt oss",becomeSponsor:"Bli sponsor",confetti:"Klar for konfetti?",sticker:"\u2026 eller evcc-klistremerker?",thanks:"Takk for din st\xF8tte {sponsor}. Det hjelper videre utvikling.",confettiPromise:"Du vil f\xE5 klistremerker og digital konfetti",supportUs:"V\xE5r m\xE5l: \xC5 gj\xF8re solcellelading til normalen. Hjelp til \xE5 kronerulle evcc."}},main:{vehicles:"Parkering",energyflow:{pvProduction:"Produksjon",batteryDischarge:"Batteriutlading",loadpoints:"Ladepunkt | Ladepunkt | {count} ladepunkter",pvExport:"Lysnetteksport",homePower:"Forbruk",battery:"Batteri",batteryCharge:"Batterilading",gridImport:"Lysnettsimport",selfConsumption:"Egenforbruk",noEnergy:"Ingen telleverksdata"},mode:{now:"Raskt",off:"Stopp",minpv:"Min+fotovoltaisk",pv:"Fotovoltaisk"},loadpointSettings:{currents:"Ladestr\xF8m",default:"forvalg",disclaimerHint:"Merknad:",disclaimerText:"Endringene er ikke lagret enda. De vil bli tilbakestilt n\xE5r tjeneren startes p\xE5 ny.",vehicle:"Kj\xF8ret\xF8y",title:'Innstillinger "{0}"',phasesConfigured:{label:"Faser",phases_0:"automatisk bytting",phases_3:"3-fas",phases_1:"1-fas",phases_1_hint:"({min} til {max})",phases_3_hint:"({min} til {max})"},minSoC:{description:'Kurve for n\xF8dsfall. Kj\xF8ret\xF8yet blir "hurtig"-ladet til {0}% i fotovoltaisk modus. Deretter fortsetter det p\xE5 kun solcelleoverskudd."',label:"Minimumsladestand"},maxCurrent:{label:"Maks. ladestr\xF8m"},minCurrent:{label:"Min. ladestr\xF8m"}},vehicle:{targetSoC:"Grense",none:"Ingen kj\xF8ret\xF8y",changeVehicle:"Lad kj\xF8ret\xF8y",detectionActive:"Oppdager kj\xF8ret\xF8y \u2026",vehicleSoC:"Ladestand",fallbackName:"Kj\xF8ret\xF8y",unknown:"Gjestekj\xF8ret\xF8y"},vehicleSoC:{disconnected:"frakoblet",charging:"lader",vehicleTarget:"Kj\xF8ret\xF8ygrense: {soc}%",ready:"klar",connected:"tilkoblet"},vehicleStatus:{waitForVehicle:"Klar. Venter p\xE5 kj\xF8ret\xF8y.",minCharge:"minimumslading til {soc}%.",charging:"Lader \u2026",targetChargePlanned:"M\xE5lladeniv\xE5 planlagt. Starter {time}.",pvEnable:"Overskudd tilgjengelig. Starter om {remaining}.",scale1p:"Reduser til 1-fas om {remaining}.",targetChargeActive:"M\xE5lladeniv\xE5 aktivt.",disconnected:"Frakoblet.",unknown:"",connected:"Tilkoblet.",vehicleTargetReached:"Kj\xF8ret\xF8ygrense p\xE5 {soc}% n\xE5dd.",pvDisable:"Ikke nok overskudd. Tar pause om {remaining}.",scale3p:"\xD8k til 3-fas om {remaining}.",targetChargeWaitForVehicle:"M\xE5lladeniv\xE5 klart. Venter p\xE5 kj\xF8ret\xF8y \u2026"},targetCharge:{inactiveLabel:"M\xE5l-tid",activeLabel:"{time}",description:"N\xE5r skal kj\xF8ret\xF8yet lades til {targetSoC}%?",tomorrow:"i morgen",experimentalLabel:"Eksperimentelt",activate:"Aktiver",experimentalText:"Funksjonen fungerer, men er ikke perfekt. Rapporter uventet oppf\xF8rsel p\xE5",title:"M\xE5l-tid",modalTitle:"Sett m\xE5l-tid",setTargetTime:"ingen",today:"i dag",targetIsInThePast:"Valgt tidspunkt er i fortiden."},targetEnergy:{label:"Grense",noLimit:"ingen"},loadpoint:{duration:"Varighet",charged:"Oppladet",power:"Effekt",fallbackName:"Ladepunkt"},provider:{logout:"logg ut",login:"logg inn"}},startupError:{discussions:"GitHub-diskusjoner",configFile:"Brukt oppsettsfil:",lineErrorLink:"linje {0}",restartButton:"Omstart",lineError:"Feil i {0}",fixAndRestart:"Fiks problemet og start tjeneren om igjen.",title:"Oppstartsfeil",configuration:"Oppsett",description:"Sjekk oppsettsfilen din. Hvis feilmeldingen ikke hjelper kan du ta en titt p\xE5 {0}.",hint:"Merk: En annen grunn til at du ser denne meldingen kan v\xE6re en skadet enhet (omformer, telleverk, \u2026) Sjekk nettverkstilkoblingene dine."},sessions:{title:"Lade\xF8kter",energy:"Oppladet",downloadCsv:"Last ned som CSV",vehicle:"Kj\xF8ret\xF8y",date:"Tidsrom",loadpoint:"Ladepunkt",csv:{odometer:"Kilometerstand",identifier:"Identifikator",chargedenergy:"Energi (kWh)",created:"Opprettet",finished:"Fullf\xF8rt",meterstart:"Telleverksoppstart (kWt)",meterstop:"Telleverksstopp (kWt)",vehicle:"Kj\xF8ret\xF8y",loadpoint:"Ladepunkt"}},offline:{message:"Ingen tilkobling til tjeneren.",reload:"Last inn igjen?"},notifications:{modalTitle:"Merknader",dismissAll:"Forkast alle"}},AD={header:{sessions:"Sesje \u0142adowania",docs:"Dokumentacja",blog:"Blog",github:"GitHub",login:"Dane logowania pojazdu",about:"O evcc",theme:{auto:"Wygl\u0105d: system",light:"Wygl\u0105d: \u015Bwiat\u0142y",dark:"Wygl\u0105d: ciemny"}},footer:{version:{availableShort:"aktualizacja",availableLong:"dost\u0119pna aktualizacja",modalTitle:"Dost\u0119pna aktualizacja",modalUpdateStarted:"Evcc uruchomi si\u0119 ponownie po aktualizacji..",modalInstalledVersion:"Obecnie zainstalowana wersja",modalNoReleaseNotes:"Brak dost\u0119pnych notatek. Wi\u0119cej informacji o nowej wersji mo\u017Cna znale\u017A\u0107 tutaj:",modalCancel:"Anuluj",modalUpdate:"Aktualizuj",modalUpdateNow:"Aktualizuj teraz",modalDownload:"Pobierz",modalUpdateStatusStart:"Aktualizacja rozpocz\u0119ta:",modalUpdateStatusFailed:"Aktualizacja nie powiod\u0142a si\u0119:"},savings:{tabTitle:"Moje dane",footerShort:"{percent}% s\u0142o\u0144ce",footerLong:"{percent}% energii s\u0142onecznej",modalTitle:"Przegl\u0105d energii \u0142adowania",since:"od {since}",percentTitle:"Energia s\u0142oneczna",percentSelf:"{self} kWh s\u0142o\u0144ce",percentGrid:"{grid} kWh sie\u0107",priceTitle:"Cena energii",priceFeedIn:"{feedInPrice} eksport",priceGrid:"{gridPrice} sie\u0107",savingsTitle:"Oszcz\u0119dno\u015Bci",savingsComparedToGrid:"w por\xF3wnaniu z sieci\u0105",savingsTotalEnergy:"{total} kWh na\u0142adowanych"},community:{tabTitle:"Aktualne dane spo\u0142eczno\u015Bci",power:"Moc \u0142adowania",powerSub1:"{activeClients} z {totalClients} uczestnik\xF3w",powerSub2:"\u0142aduj\u0105 si\u0119 teraz",greenShare:"Energii s\u0142onecznej",greenShareSub1:"zasilanie jest dostarczone przez",greenShareSub2:"s\u0142o\u0144ce i domowe akumulatory energii",greenEnergy:"Energia s\u0142oneczna",greenEnergySub1:"na\u0142adowany z evcc",greenEnergySub2:"od Pa\u017Adziernika 2022"},telemetry:{optIn:"Chc\u0119 te\u017C udost\u0119pni\u0107 swoje dane.",optInMoreDetails:"Wi\u0119cej szczeg\xF3\u0142\xF3w jest dost\u0119pnych {0}.",optInMoreDetailsLink:"tutaj",optInSponsorship:"Wymagany sponsoring."},sponsor:{titleSponsor:"Jeste\u015B sponsorem",titleNoSponsor:"Wesprzyj nas",thanks:"Dzi\u0119ki za wsparcie, {sponsor}! Pomaga nam to w dalszym rozwoju.",confetti:"Gotowy na konfetti?",supportUs:"Nasza misja: Spraw, aby \u0142adowanie s\u0142oneczne sta\u0142o si\u0119 standardem. Pom\xF3\u017C nam i wesprzyj evcc finansowo.",sticker:"...lub naklejki evcc?",confettiPromise:"B\u0119d\u0105 naklejki i cyfrowe konfetti ;)",becomeSponsor:"Zosta\u0144 sponsorem"}},notifications:{modalTitle:"Powiadomienia",dismissAll:"Odrzu\u0107 wszystkie"},main:{vehicles:"Gara\u017C",energyflow:{noEnergy:"Brak danych licznika",homePower:"Zu\u017Cycie",pvProduction:"Produkcja",loadpoints:"\u0141adowarka | \u0141adowarka | {count} \u0141adowarki",battery:"Bateria",batteryCharge:"\u0141adowanie baterii",batteryDischarge:"Roz\u0142adowanie baterii",gridImport:"Import z sieci",selfConsumption:"Konsumpcja w\u0142asna",pvExport:"Eksport na siec"},mode:{off:"Wy\u0142\u0105czony",minpv:"Min+S\u0142o\u0144ce",pv:"S\u0142o\u0144ce",now:"Szybko"},loadpoint:{fallbackName:"\u0141adowarka",remoteDisabledSoft:"{source}: adaptacyjne \u0142adowanie s\u0142onecznie wy\u0142\u0105czone",remoteDisabledHard:"{source}: wy\u0142\u0105czone",power:"Moc",charged:"Na\u0142adowano",duration:"Czas trwania",remaining:"Pozosta\u0142o"},loadpointSettings:{title:'Ustawienia "{0}"',vehicle:"Pojazd",currents:"\u0141adowanie",default:"domy\u015Blny",disclaimerHint:"Uwaga:",disclaimerText:"Zmiany nie s\u0105 jeszcze trwa\u0142e. Zostan\u0105 zresetowane po restarcie serwera.",minSoC:{label:"Minimalny SoC",description:'Zasi\u0119g w sytuacjach awaryjnych. Pojazd jest \u201Eszybko\u201D \u0142adowany do {0}% w trybie "S\u0142o\u0144ce". Nast\u0119pnie kontynuuje tylko z nadwy\u017Ck\u0105 fotowoltaiczn\u0105.'},phasesConfigured:{label:"Fazy",phases_0:"automatyczne prze\u0142\u0105czanie",phases_1:"1 faza",phases_1_hint:"({min} do {max})",phases_3:"3 fazy",phases_3_hint:"({min} do {max})"},maxCurrent:{label:"Maks. pr\u0105d"},minCurrent:{label:"Min. Pr\u0105d"}},vehicle:{fallbackName:"Pojazd",vehicleSoC:"SoC",targetSoC:"Ograniczenie",none:"Brak pojazdu",unknown:"Pojazd go\u015Bcia",changeVehicle:"Zmie\u0144 pojazd",detectionActive:"Wykrywanie pojazdu ..."},vehicleSoC:{disconnected:"od\u0142\u0105czony",charging:"\u0142aduje si\u0119",ready:"gotowy",connected:"po\u0142\u0105czony",vehicleTarget:"Limit pojazdu: {soc}%"},vehicleStatus:{minCharge:"minimalne \u0142adowanie do {soc}%.",waitForVehicle:"Gotowe. Czekam na pojazd.",vehicleTargetReached:"Osi\u0105gni\u0119to limit pojazdu {soc}%.",charging:"\u0141aduje si\u0119.",targetChargePlanned:"Zaplanowane \u0142adowanie. Zacznie si\u0119 {time}.",targetChargeWaitForVehicle:"Zaplanowane \u0142adowanie. Czekajem na pojazd.",targetChargeActive:"Zaplanowane \u0142adowanie aktywno.",connected:"Po\u0142\u0105czony.",pvDisable:"Za ma\u0142o nadwy\u017Cki. Pauza po {remaining}.",pvEnable:"Dost\u0119pna nadwy\u017Cka. Pocz\u0105wszy po {remaining}.",scale1p:"Zredukuje do jednej fazy po {remaining}.",scale3p:"Zwi\u0119kszie do trzech faz po {remaining}.",disconnected:"Roz\u0142\u0105czony.",unknown:""},provider:{login:"zaloguj si\u0119",logout:"wyloguj"},targetCharge:{title:"Czas Docelowy",inactiveLabel:"Czas docelowy",activeLabel:"{time}",modalTitle:"Ustaw docelowy czas",setTargetTime:"brak",description:"Kiedy pojazd powinien zosta\u0107 naladowany do {targetSoC}%?",today:"dzisiaj",tomorrow:"jutro",targetIsInThePast:"Wybrany czas jest w przesz\u0142o\u015Bci.",remove:"Usu\u0144",activate:"Aktywuj",experimentalLabel:"Eksperymentalna",experimentalText:"Ta funkcja dzia\u0142a, ale nie jest jeszcze doskona\u0142a. Zg\u0142o\u015B nieoczekiwane zachowanie do naszego"},targetEnergy:{label:"Ograniczenie",noLimit:"brak"}},startupError:{title:"B\u0142\u0105d uruchamiania",description:"Sprawd\u017A sw\xF3j plik konfiguracyjny. Je\u015Bli komunikat o b\u0142\u0119dzie nie pomo\u017Ce, zapoznaj si\u0119 z naszym {0}.",discussions:"Dyskusje GitHub",hint:"Uwaga: Inn\u0105 przyczyn\u0105 tego komunikatu mo\u017Ce by\u0107 wadliwe urz\u0105dzenie (inwerter, licznik, ...). Sprawd\u017A po\u0142\u0105czenia sieciowe.",configuration:"Konfiguracja",configFile:"U\u017Cywany plik konfiguracyjny:",lineError:"Znale\u017Ali\u015Bmy b\u0142\u0105d w {0}.",lineErrorLink:"wiersz {0}",fixAndRestart:"Napraw problem i zrestartuj serwer.",restartButton:"Restartuj"},sessions:{title:"Sesje \u0142adowania",downloadCsv:"Pobierz jako CSV",loadpoint:"\u0141adowarka",vehicle:"Pojazd",energy:"Na\u0142adowano",date:"Okres",csv:{loadpoint:"\u0141adowarka",vehicle:"Pojazd",odometer:"Przebieg (km)",identifier:"Identyfikator",chargedenergy:"Energia (kWh)",meterstart:"Pocz\u0105tek licznika (kWh)",meterstop:"Koniec licznika (kWh)",created:"Stworzony",finished:"Zako\u0144czony"}},offline:{message:"Brak po\u0142\u0105czenia z serwerem.",reload:"Prze\u0142adowa\u0107?"}},xD={header:{sessions:"Processos de carregamento",docs:"Documenta\xE7\xE3o",blog:"Blog",github:"GitHub",login:"Login de ve\xEDculo",about:"Sobre evcc",theme:{auto:"Design: Sistema",light:"Design: Claro",dark:"Design: Escuro"}},footer:{version:{availableShort:"Atualiza\xE7\xE3o",availableLong:"Atualiza\xE7\xE3o dispon\xEDvel",modalTitle:"Atualiza\xE7\xE3o dispon\xEDvel",modalUpdateStarted:"Ap\xF3s a atualiza\xE7\xE3o, o evcc ser\xE1 reiniciado.",modalInstalledVersion:"Vers\xE3o atualmente instalada",modalNoReleaseNotes:"Nenhuma nota de vers\xE3o dispon\xEDvel. Voc\xEA pode encontrar mais informa\xE7\xF5es sobre a nova vers\xE3o aqui:",modalCancel:"Cancelar",modalUpdate:"Atualizar",modalUpdateNow:"Atualizar agora",modalDownload:"Download",modalUpdateStatusStart:"Atualiza\xE7\xE3o iniciada: ",modalUpdateStatusFailed:"N\xE3o foi poss\xEDvel atualizar: "},savings:{tabTitle:"Meus dados",footerShort:"{percent}% Sol",footerLong:"{percent}% Energia solar",modalTitle:"Avalia\xE7\xE3o da energia de carregamento",since:"desde {since}",percentTitle:"Energia solar",percentSelf:"{self} kWh sol",percentGrid:"{grid} kWh rede",priceTitle:"pre\xE7o da energia",priceFeedIn:"{feedInPrice} alimenta\xE7\xE3o",priceGrid:"{gridPrice} rede",savingsTitle:"Poupan\xE7a",savingsComparedToGrid:"em rela\xE7\xE3o a rede",savingsTotalEnergy:"{total} kWh carregado"},community:{tabTitle:"Live-Community",power:"Poder de carregamento",powerSub1:"{activeClients} de {totalClients} utilizadores",powerSub2:"carregam com evcc",greenShare:"Parte solar",greenShareSub1:"do desempenho vem",greenShareSub2:"de fotovoltaico e bateria dom\xE9stica",greenEnergy:"Energia solar",greenEnergySub1:"desde Outubro 2022",greenEnergySub2:"carregado sobre evcc"},telemetry:{optIn:"Tamb\xE9m gostaria de contribuir com meus dados.",optInMoreDetails:"Mais detalhes h\xE1 {0}.",optInMoreDetailsLink:"aqui",optInSponsorship:"Requer patroc\xEDnio."},sponsor:{titleSponsor:"Voc\xEA \xE9 um apoiador",titleNoSponsor:"Apoie-nos",thanks:"Obrigado por seu patroc\xEDnio, {sponsor}! Isso nos ajuda em um maior desenvolvimento.",confetti:"Gosta de confete?",supportUs:"Nossa miss\xE3o: tornar carrega solar a norma. Ajude-nos e apoie financeiramente o evcc.",sticker:"...ou autocolantes do evcc?",confettiPromise:"Tamb\xE9m temos autocolantes e confete digital ;)",becomeSponsor:"Torne-se um patrocinador"}},notifications:{modalTitle:"Not\xEDcias",dismissAll:"Remover not\xEDcias"},main:{vehicles:"Estacionamento",energyflow:{noEnergy:"Sem leituras",homePower:"Consumo",pvProduction:"Produ\xE7\xE3o",loadpoints:"Ponto de carregamento | Ponto de carregamento | {count} pontos de carregamento",battery:"Bateria",batteryCharge:"Carrego de bateria",batteryDischarge:"Descarrego de bateria",gridImport:"Consumo de rede",selfConsumption:"Consumo pr\xF3prio",pvExport:"Alimenta\xE7\xE3o"},mode:{off:"Desligado",minpv:"M\xEDnimo e PV",pv:"PV",now:"R\xE1pido"},loadpoint:{fallbackName:"Ponto de carregamento",remoteDisabledSoft:"{source}:carregamento PV adapt\xE1vel desativado",remoteDisabledHard:"{source}: desativado",power:"Desempenho",charged:"Carregado",duration:"Dura\xE7\xE3o",remaining:"Tempo restante"},loadpointSettings:{title:'Configura\xE7\xF5es "{0}"',vehicle:"Ve\xEDculo",currents:"Corrente de carga",default:"predefinado",disclaimerHint:"Aviso:",disclaimerText:"As altera\xE7\xF5es n\xE3o s\xE3o persistentes no momento e ser\xE3o redefinidas ap\xF3s a reinicializa\xE7\xE3o do servidor.",minSoC:{label:"N\xEDvel m\xEDnimo de carga",description:'Alcance para emerg\xEAncias. O ve\xEDculo carrega at\xE9 {0}% no modo "R\xE1pido". Em seguida, continue com o modo "PV".'},phasesConfigured:{label:"Fases el\xE9tricas",phases_0:"mudan\xE7a autom\xE1tica",phases_1:"monof\xE1sico",phases_1_hint:"({min} a {max})",phases_3:"trif\xE1sico",phases_3_hint:"({min} a {max})"},maxCurrent:{label:"Corrente de carga m\xE1xima"},minCurrent:{label:"Corrente de carga m\xEDnima"}},vehicle:{fallbackName:"Ve\xEDculo",vehicleSoC:"N\xEDvel de carga",targetSoC:"Alvo de carregamento",none:"Nenhum ve\xEDculo",unknown:"Ve\xEDculo convidado",changeVehicle:"Troca de ve\xEDculo",detectionActive:"Detec\xE7\xE3o de ve\xEDculo em obra..."},vehicleSoC:{disconnected:"separado",charging:"a carregar",ready:"esperando",connected:"ligado",vehicleTarget:"Limite de ve\xEDculo: {soc}%"},vehicleStatus:{minCharge:"Carga m\xEDnima at\xE9 {soc}%",waitForVehicle:"Pronto para carregar. Esperando pelo ve\xEDculo.",vehicleTargetReached:"Limite de ve\xEDculo {soc}% atingido.",charging:"Carregando.",targetChargePlanned:"Carga programada. A carga come\xE7a \xE0s {time} horas.",targetChargeWaitForVehicle:"Carga programada pronta. Esperando pelo ve\xEDculo.",targetChargeActive:"Carga programada ativa.",connected:"Ligado.",pvDisable:"Excesso insuficiente. Pausa em {remaining}.",pvEnable:"Excesso dispon\xEDvel. Carga em {remaining}.",scale1p:"Reduzir para monof\xE1sico em {remaining}.",scale3p:"Aumente para trif\xE1sico em {remaining}.",disconnected:"N\xE3o conectado.",unknown:""},provider:{login:"entrar no sistema",logout:"sair do sistema"},targetCharge:{title:"Tempo alvo",inactiveLabel:"Tempo alvo",activeLabel:"{time}",modalTitle:"Definir hora-alvo",setTargetTime:"sem",description:"Quando o ve\xEDculo deve ser carregado para {targetSoC}%?",today:"hoje",tomorrow:"amanh\xE3",targetIsInThePast:"O ponto do tempo est\xE1 no passado.",remove:"Remover",activate:"Ativar",experimentalLabel:"Experimental",experimentalText:"Esta fun\xE7\xE3o est\xE1 a trabalhar, mas ainda n\xE3o est\xE1 perfeito. Relate um comportamento inesperado em nossos"},targetEnergy:{label:"Alvo de carregamento",noLimit:"sem"}},startupError:{title:"Erro ao iniciar",description:"Verifique seu ficheiro de configura\xE7\xE3o. Se a mensagem de erro n\xE3o ajudar, procure em nossas {0} uma solu\xE7\xE3o.",discussions:"GitHub Discussions",hint:"Nota: Outra raz\xE3o pela qual voc\xEA v\xEA esta mensagem pode ser um equipamento com defeito (inversor, medidor, ...). Verifique tambem suas conex\xF5es de rede.",configuration:"Configura\xE7\xE3o",configFile:"Ficheiro de configura\xE7\xE3o em uso:",lineError:"Foi encontrado um erro em {0}.",lineErrorLink:"linha {0}",fixAndRestart:"Corrija o problema e reinicie o servidor.",restartButton:"Iniciar de novo"},sessions:{title:"Processos de carregamento",downloadCsv:"Descarregar como CSV",loadpoint:"Ponto de carregamento",vehicle:"Ve\xEDculo",odometer:"Quilometragem",energy:"Carregado",date:"Per\xEDodo",csv:{loadpoint:"Ponto de carregamento",vehicle:"Ve\xEDculo",identifier:"Identificador",chargedenergy:"Energia (kWh)",meterstart:"Leitura inicial do contador (kWh)",meterstop:"Leitura final do contador (kWh)",created:"hora de in\xEDcio",finished:"hora final"}},offline:{message:"Sem conex\xE3o com o servidor.",reload:"Iniciar de novo?"}},LD="preferred_locale";function PD(){const t=navigator.languages!==void 0?navigator.languages[0]:navigator.language;if(!!t)return t.trim().split(/-|_/)[0]}const ND=cD({locale:window.localStorage[LD]||PD(),fallbackLocale:"en",messages:{de:yD,en:wD,fr:ED,it:TD,lt:CD,nb_no:kD,nl:SD,pl:AD,pt:xD}}),OD={install:t=>{t.config.globalProperties.$hiddenFeatures=window.localStorage.hidden_features==="true"}};Bw.polyfill();const si=uC({data(){return{notifications:[],offline:!1}},watch:{offline:function(t){console.log(`we are ${t?"offline":"online"}`)}},methods:{raise:function(t){console[t.type](t);const e=new Date,n=this.notifications[0];n&&n.message===t.message?(n.count++,n.time=e):this.notifications=[{...t,count:1,time:e},...this.notifications]},clear:function(){this.notifications=[]},error:function(t){t.type="error",this.raise(t)},setOnline:function(){this.offline=!1},setOffline:function(){this.offline=!0},warn:function(t){t.type="warn",this.raise(t)}},render:function(){return Tr(NC,{notifications:this.notifications,offline:this.offline})}});si.use(ND);si.use(VM);si.use(CC());si.use(AC);si.use(OD);si.use(O_);window.app=si.mount("#app");_A()});export default ID(); diff --git a/dist/index.html b/dist/index.html index 3921299b27..2f43225dec 100644 --- a/dist/index.html +++ b/dist/index.html @@ -20,7 +20,7 @@ evcc - +